/* ============================================================
   TYPE — two voices.
   SERIF (Spectral): the human voice — running prose, headings,
     pull-quotes. Set with a literary measure and generous leading.
   MONO (IBM Plex Mono): marginalia — eyebrows, labels, metadata,
     nav, buttons, code. ALWAYS tracked + uppercase for chrome;
     natural case only inside code.
   ============================================================ */
:root{
  --font-serif: "Spectral", Georgia, "Times New Roman", serif; /* @kind font */
  --font-mono:  "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace; /* @kind font */

  /* fluid type scale (perfect-fourth-ish, clamped) — font-size lengths */
  --step--2: clamp(0.69rem, 0.66rem + 0.14vw, 0.75rem); /* @kind spacing */
  --step--1: clamp(0.80rem, 0.76rem + 0.20vw, 0.88rem); /* @kind spacing */
  --step-0:  clamp(1.00rem, 0.95rem + 0.25vw, 1.13rem); /* @kind spacing */
  --step-1:  clamp(1.20rem, 1.11rem + 0.45vw, 1.50rem); /* @kind spacing */
  --step-2:  clamp(1.44rem, 1.28rem + 0.80vw, 2.05rem); /* @kind spacing */
  --step-3:  clamp(1.73rem, 1.46rem + 1.35vw, 2.85rem); /* @kind spacing */
  --step-4:  clamp(2.07rem, 1.63rem + 2.20vw, 3.95rem); /* @kind spacing */
  --step-5:  clamp(2.49rem, 1.75rem + 3.70vw, 5.50rem); /* @kind spacing */

  /* weights — one token per SHIPPED face (tokens/fonts.css). There is no
     --wt-light: the 300 token was referenced by no rule in the theme, so the
     Spectral 300 face it named could never be selected and rode along as dead
     zip weight. Adding a weight here means adding the face too. */
  --wt-book:  400; /* @kind other */
  --wt-med:   500; /* @kind other */
  --wt-semi:  600; /* @kind other */
  --wt-bold:  700; /* @kind other */

  /* leading */
  --leading-tight:  0.9; /* @kind other */
  --leading-snug:   1.2; /* @kind other */
  --leading-body:   1.6; /* @kind other */
  --leading-mono:   1.5; /* @kind other */

  /* tracking — mono chrome is heavily tracked */
  --track-eyebrow: 0.26em; /* @kind other */
  --track-label:   0.12em; /* @kind other */
  --track-button:  0.08em; /* @kind other */
  --track-tight:  -0.02em; /* @kind other */

  /* measure (line length) for long-form reading */
  --measure-prose: 34rem; /* @kind spacing */
  --measure-wide:  50.5rem; /* @kind spacing — 46rem in the design source; grew a tenth with the note measure (screen.css) so plates keep standing outside the text column */
}
