/* ─── VICTORIA PYTEL — SCALE LAYER ───
   The only place sizes and spaces are decided. No colors, no fonts, no reset:
   safe to load on every page, including the ones on the legacy palette.

   TYPE — strict 4px grid, fixed sizes, two breakpoints (1040 / 620).
     Eight roles. If a size isn't a role, it doesn't ship.
     Oct 2026: hero + mega merged into display, title into heading (one size per job).
     The three old roles live on only in ds-scale-legacy.css, for the frozen explorations.
   SPACE — 8pt grid with two 4px half-steps: 4 8 12 16 24 32 40 48 64 96 128.
     Eleven steps. --s-1 … --s-11, small to large. */

:root{
  /* ── type roles ── */
  --t-colossal:280px; /* the name on the cover, the Archive wordmark — one per page, decorative */
  --t-display:72px;   /* the page's big line: hero lines, "Let's talk", project names, doc h1, loader */
  --t-figure:56px;    /* a case's big numbers, the name lockup */
  --t-heading:32px;   /* chapter + section titles, statements, pull quotes */
  --t-subhead:24px;   /* card names, sub-heads, ledes */
  --t-lede:20px;      /* brand mark, hero subtitle, small headings */
  --t-body:16px;      /* body, nav, buttons, tables, meta — all interface text */
  --t-cap:12px;       /* caps labels, chips, indices, badges */

  /* ── line height ── */
  --lh-solid:1;       /* display 40px and up */
  --lh-display:1.1;   /* 24–32px */
  --lh-title:1.25;    /* headings that wrap */
  --lh-body:1.5;      /* 16px × 1.5 = 24px — body sits on the grid */

  /* ── tracking ── */
  --tr-tight:-.03em;  /* ≥40px */
  --tr-snug:-.02em;   /* 20–32px */
  --tr-cap:.12em;     /* uppercase labels */

  /* ── space: 8pt grid ── */
  --s-1:4px;--s-2:8px;--s-3:12px;--s-4:16px;--s-5:24px;--s-6:32px;
  --s-7:40px;--s-8:48px;--s-9:64px;--s-10:96px;--s-11:128px;

  /* ── radius (4px grid, plus the pill and the arch) ── */
  --r-pill:999px;--r-card:16px;--r-frame:12px;--r-thumb:8px;--r-focus:4px;--r-cut:160px;
}

/* Display roles step down together — the ramp shifts, the relationships hold. */
@media (max-width:1040px){
  :root{--t-colossal:160px;--t-display:56px;--t-figure:40px;--t-heading:24px;--t-subhead:20px}
}
@media (max-width:620px){
  :root{--t-colossal:88px;--t-display:40px;--t-figure:32px;--t-heading:20px;--t-subhead:20px;--t-lede:16px}
}
