/* ============================================================
   TYPE TOKENS
   Display: Averia Serif Libre (warm, hand-finished serif - statement headlines)
   Body:    Zen Kaku Gothic New (clean geometric gothic - case study copy)
   Mono:    IBM Plex Mono (eyebrows, meta, nav labels, system chrome)
   ============================================================ */
/* The Google Fonts @import lives in styles.css (for the gallery and specimens); pages link the fonts in their helmet. */

:root {
  --font-display: 'Averia Serif Libre', Georgia, serif;
  --font-body: 'Zen Kaku Gothic New', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', Consolas, monospace;

  /* type scale */
  --text-xs: 12px;
  --text-sm: 13px;
  --text-ui: 15px;     /* homepage UI text: nav, field labels, year card, status lines */
  --text-base: 16px;
  --text-md: 18px;
  --text-lg: 22px;
  --text-xl: 30px;
  --text-2xl: 42px;
  --text-3xl: 60px;
  --text-4xl: 88px;
  --text-5xl: 128px;

  /* Fluid display steps - what actually ships. Display type is never a fixed
     px value in a page; use these so headings breathe from 375px to 1440px. */
  --display-hero: clamp(52px, 6.2vw, 92px);     /* case study hero H1 */
  --display-section: clamp(30px, 3.4vw, 50px);  /* section headline */
  --display-row: clamp(34px, 3.4vw, 52px);      /* project row name */
  --display-ghost: clamp(80px, 13vw, 190px);    /* background chapter numeral */

  /* Reading + label defaults (audited, see guidelines/accessibility.md) */
  --prose-size: 16px;      /* floor for paragraphs, in --sand-200 */
  --prose-leading: 1.72;
  --label-size: 11px;      /* mono eyebrow / meta / nav index */
  --label-size-lg: 12px;   /* mono nav label */

  --leading-tight: 1.02;
  --leading-snug: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.7;

  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.06em;
  --tracking-widest: 0.16em; /* mono eyebrow / label style */

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 700; /* Averia Serif Libre has no 600 - 700 is next step */
  --weight-bold: 700;
  --weight-black: 900;
}
