/* Hallmark · tokens — Katiedu Drivers
 * theme: Almanac (encyclopaedic · cool pale paper · slate accent)
 * axes: light paper (94%) / grotesk-sans display / cool accent (250°)
 * Every colour and font in styles.css references a token from this file.
 */

:root {
  /* ── Paper → ink ─────────────────────────────────────────── */
  --color-paper:      oklch(94%  0.008 245);
  --color-paper-2:    oklch(91%  0.010 245);
  --color-paper-3:    oklch(86%  0.012 240);
  --color-rule:       oklch(74%  0.012 240);
  --color-rule-2:     oklch(38%  0.018 240);
  --color-muted:      oklch(46%  0.014 245);
  --color-neutral:    oklch(28%  0.016 245);
  --color-ink-2:      oklch(20%  0.018 245);
  --color-ink:        oklch(16%  0.020 245);

  /* ── Accent — slate blue, used at < 3% of any viewport ────── */
  --color-accent:     oklch(38%  0.135 250);
  --color-accent-ink: oklch(40%  0.130 250);
  --color-focus:      oklch(38%  0.135 250);

  /* Notice band — for the "prices need confirming" strip.
     Warm counterweight to the cool paper; never used elsewhere. */
  --color-notice:     oklch(88%  0.055  75);
  --color-notice-ink: oklch(34%  0.070  55);

  /* ── Type — 3 families, the 2+1 ceiling ──────────────────── */
  --font-display: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-serif:   "Newsreader", ui-serif, Georgia, serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, monospace;

  --display-weight: 700;
  --body-weight:    400;

  --text-xs:   0.6875rem;
  --text-sm:   0.8125rem;
  --text-base: 1rem;
  --text-md:   1.0625rem;
  --text-lg:   1.25rem;
  --text-xl:   1.5rem;
  --text-2xl:  1.875rem;
  --text-3xl:  2.375rem;
  --text-display:   clamp(2.25rem, 3.5vw + 1rem, 3.75rem);
  --text-display-s: clamp(1.5rem, 2vw + 1rem, 2.25rem);

  --tracking-display: -0.014em;
  --tracking-tight:   -0.005em;
  --tracking-label:    0.09em;

  --lh-tight:   1.1;
  --lh-snug:    1.22;
  --lh-normal:  1.5;
  --lh-relaxed: 1.62;

  /* ── Space — 4pt scale ───────────────────────────────────── */
  --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:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-4xl: 7rem;

  --section-gap:  5.5rem;
  --page-max:     84rem;
  --measure:      64ch;
  --page-gutter:  clamp(1.25rem, 4vw, 3rem);

  --rule-hair: 0.5px;
  --rule-fine: 1px;

  --radius-card:  0;
  --radius-pill:  0;
  --radius-input: 0;

  /* ── Motion ──────────────────────────────────────────────── */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms;
  --dur-short: 220ms;
  --dur-long:  420ms;

  /* ── Z scale ─────────────────────────────────────────────── */
  --z-base:       1;
  --z-raised:     10;
  --z-sticky:     200;
  --z-sticky-nav: 300;
  --z-modal:      400;
}
