/* Golden Eclipse design tokens. Every page loads this first.
   Gold #DCA62D is sampled from the logo artwork (median of its gold pixels).
   --pop is the one accent colour, the third colour beside black and gold: a
   bright sea-green, far louder than either, so it is used little. It marks what
   is live or new, and nothing else. Every place it shows:
     - the count on the cart, when something is in it (base.css);
     - the tip of the progress line while the wallet is taken apart (explode.css);
     - the title on the transit pass, the highest of the four cards (js/cards.js);
     - the "coming soon" tags (shop.css);
     - the sparkle on the opening eclipse, at part strength (hero.css, js/hero.js);
     - the ring round whatever has the keyboard's focus, and a dark tint of it
       under selected text (base.css, shop.css, cart.css).
   Never a large area, and never more than two marks in view at once: the one
   the page itself shows there, and the count on the cart. (That is why the dot
   under the navigation link of the part in view is gold, and why selected text
   gets a tint, not the colour itself.) The one exception is for a visitor who
   uses the keyboard: the ring round whatever has the focus comes on top of
   those two, because it must always be seen. */
@font-face {
  font-family: "Jost";
  src: url("../assets/fonts/jost-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;

  --bg: #0a0a0b;            /* page background, near black */
  --bg-raised: #121214;     /* cards, drawers */
  --bg-raised-2: #19191c;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #f3efe6;          /* warm white */
  --text-muted: #8f8b83;
  --text-dim: #5d5a55;

  --gold: #dca62d;          /* brand gold, from the logo */
  --gold-light: #f0c75e;
  --gold-deep: #a8761a;
  --gold-gradient: linear-gradient(135deg, #f0c75e 0%, #dca62d 45%, #a8761a 100%);

  --pop: #01f9c6;           /* the "pop" colour, a bright sea-green: the rare accent */

  --font: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --tracking-wide: 0.32em;  /* wordmark, eyebrows */
  --tracking-mid: 0.12em;

  --radius: 999px;          /* buttons are pills */
  --radius-card: 18px;
  --gutter: clamp(16px, 5vw, 96px);
  --max: 1280px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* The site is dark by design in both OS themes (see color-scheme above). */
