/* Colour and type for the whole site, in one place.
   Change a concept's look here; nothing else names a colour or a typeface. */

@font-face { font-family: "Oswald"; src: url("../fonts/oswald-latin-wght-normal.woff2") format("woff2"); font-weight: 200 700; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-hyperlegible-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* measured from his own pieces. On his profile picture the wine runs from #29010e to #764057;
     wine and mulberry sit inside that range. His emblem and signature are pure white. */
  --night: #0b0709;
  --wine: #3c0b1c;
  --mulberry: #763b51;
  --white: #fff;
  --bone: #efe6e1;
  --sun: #ffa20a; /* the gold of "Catching the Sun", kept for the one live date */

  /* roles */
  --bg: var(--night);
  --ink: var(--bone);
  --ink-dim: color-mix(in srgb, var(--bone) 68%, var(--night)); /* 7:1 on night */
  --thread: var(--mulberry); /* the drip line; wine and mulberry are for shapes, never small text */
  --live: var(--sun);

  /* Oswald stands in for the condensed capitals on his covers (light and spaced on Digital Entropy,
     Water and Tiny Things; heavy on the Bicycle Day mix). Atkinson Hyperlegible is for reading. */
  --font-head: "Oswald", "Arial Narrow", "Helvetica Neue", system-ui, sans-serif;
  --font-text: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;

  color-scheme: dark;
}
