/* Void Helm — typography tokens.
   Four families (app/layout.tsx): JetBrains Mono (labels/meta, ALWAYS
   uppercase + wide tracking), Space Grotesk (display, tight -0.02em),
   Instrument Sans (body), Newsreader italic (serif accent / pull quotes). */

:root {
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
  --font-serif: 'Newsreader', ui-serif, Georgia, serif;

  /* display scale (Space Grotesk, weight 500, tracking -0.02em) */
  --text-display-hero: clamp(2.25rem, 6vw, 3.5rem);   /* lh 1.12 */
  --text-display-xl: clamp(1.9rem, 4vw, 2.5rem);      /* lh 1.15 */
  --text-display-lg: 1.5rem;                          /* 1.75rem ≥640px, lh 1.375 */
  --text-display-md: 1.25rem;

  /* body scale (Instrument Sans) */
  --text-lead: 1.05rem;      /* lh 1.8, fg-soft */
  --text-body: 0.9375rem;    /* lh 1.75, fg-dim */
  --text-small: 13px;
  --text-hint: 12px;

  /* serif accent (Newsreader italic) */
  --text-serif: 1.35rem;     /* lh 1.6, fg-soft */

  /* mono meta scale (always uppercase) */
  --text-mono-eyebrow: 11px;   /* tracking 0.24em, accent */
  --text-mono-label: 10px;     /* tracking 0.16em */
  --text-mono-micro: 9px;      /* tracking 0.1–0.16em */
  --text-mono-nano: 8px;       /* tracking 0.16–0.18em, rail labels */

  /* tracking */
  --track-display: -0.02em;
  --track-eyebrow: 0.24em;
  --track-label: 0.16em;
  --track-chip: 0.14em;
  --track-wordmark: 0.28em;
}
