/* Design tokens — SIGNAL / Newsprint theme.
   Paper-white broadcast index: warm off-white paper, warm ink, signal-red
   accent. Two type families: Newsreader (content voice) + IBM Plex Mono
   (chrome voice — labels, data, controls). Light-first; the current app's
   vintage walnut/amber is deliberately left behind. */

:root {
  /* ---- Paper band (warm, hue ~70) ---------------------------------------- */
  --color-paper:    oklch(96.4% 0.009 75);
  --color-paper-2:  oklch(93.2% 0.011 75);
  --color-paper-3:  oklch(89.6% 0.013 72);

  /* ---- Ink (warm near-black, hue ~55) ------------------------------------ */
  --color-ink:      oklch(21% 0.012 55);
  --color-ink-2:    oklch(33% 0.012 55);
  --color-muted:    oklch(47% 0.012 60);

  /* ---- Hairline rules ----------------------------------------------------- */
  --color-rule:     oklch(81% 0.012 65);
  --color-rule-2:   oklch(70% 0.012 60);

  /* ---- Accent — signal red (ON AIR) -------------------------------------- */
  --color-accent:      oklch(50% 0.185 27);
  --color-accent-deep: oklch(41% 0.155 27);
  --color-accent-ink:  oklch(96.8% 0.008 75); /* text on accent fill */
  --color-focus:       oklch(48% 0.19 27);

  /* ---- Typography --------------------------------------------------------- */
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body:    "Newsreader", Georgia, "Times New Roman", serif;
  --font-mono:    "IBM Plex Mono", "SFMono-Regular", ui-monospace, monospace;

  /* Type scale — major third (1.25) */
  --text-xs:   0.64rem;
  --text-sm:   0.8rem;
  --text-base: 1rem;
  --text-md:   1.25rem;
  --text-lg:   1.5625rem;
  --text-xl:   1.9531rem;
  --text-2xl:  2.4414rem;
  --text-display:   clamp(2.25rem, 4.5vw + 0.75rem, 4.25rem);
  --text-display-s: clamp(1.8rem, 3vw + 0.75rem, 2.75rem);

  /* ---- Spacing (4pt base) ------------------------------------------------- */
  --space-3xs: 0.125rem;
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* ---- Page layout -------------------------------------------------------- */
  --page-gutters: clamp(1.25rem, 4vw, 3.5rem);
  --page-max: 1320px;
  --measure: 62ch;

  /* ---- Rules + radii (print: hairlines, sharp corners) -------------------- */
  --rule-hair: 1px;
  --rule-medium: 2px;
  --rule-heavy: 3px;
  --radius-sm: 2px;
  --radius-none: 0;

  /* ---- Motion (Newsprint: near-zero; functional only) --------------------- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:  cubic-bezier(0.7, 0, 0.84, 0);
  --dur-micro: 100ms;
  --dur-short: 180ms;

  /* ---- Z-index (named, six levels) ---------------------------------------- */
  --z-base: 1;
  --z-raised: 10;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 400;
  --z-toast: 500;
}
