/* ════════════════════════════════════════════════════════════
   01-tokens.css — The Compositor's Garden
   Custom properties only. No selectors except :root.
   Every other stylesheet layer references these values.
   ════════════════════════════════════════════════════════════ */

:root {

  /* ── Type scale (ratio ≈ 1.3, base 16px / 10pt print) ──────── */
  --text-xs:     0.72rem;   /* 11.5px / 7.2pt  — footnotes, labels    */
  --text-sm:     0.85rem;   /* 13.6px / 8.5pt  — captions, secondary  */
  --text-base:   1.175rem;  /* 18.8px / 11.75pt — body text (anchor)  */
  --text-md:     1.32rem;   /* 21.1px / 13.2pt  — intro, dek          */
  --text-lg:     1.65rem;   /* 26.4px / 16.5pt  — subheadings (h2)    */
  --text-xl:     2rem;      /* 32px   / 20pt    — section headings     */
  --text-2xl:    2.8rem;    /* 44.8px / 28pt    — chapter titles       */
  --text-3xl:    3.75rem;   /* 60px   / 37.5pt  — part / display       */

  /* ── Spacing system (derived from body line-height ≈ 2.07rem) ── */
  --space-xs:    0.4rem;    /* tight — between label and heading       */
  --space-sm:    0.75rem;   /* close — below heading, above body       */
  --space-md:    1.25rem;   /* standard — indent equivalent            */
  --space-lg:    2rem;      /* generous — between sections             */
  --space-xl:    3rem;      /* open — above chapter headings           */
  --space-2xl:   5rem;      /* very open — chapter opener margin       */

  /* ── Typefaces ──────────────────────────────────────────────── */
  --font-body:   'EB Garamond', Charter, 'Bitstream Charter', Georgia, serif;
  --font-ui:     'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:   'SFMono-Regular', 'Fira Code', 'Cascadia Code', monospace;

  /* ── Color palette ──────────────────────────────────────────── */
  --paper:       hsl(35, 20%, 97%);   /* warm off-white background     */
  --ink:         hsl(30, 8%, 11%);    /* near-black body text          */
  --ink-mid:     hsl(28, 6%, 28%);    /* secondary text                */
  --ink-faint:   hsl(25, 5%, 58%);    /* tertiary / labels             */
  --rule:        hsl(30, 12%, 86%);   /* dividers                      */
  --accent:      hsl(25, 42%, 30%);   /* warm amber — decorative use   */
  --highlight:   hsl(35, 25%, 93%);   /* tinted backgrounds            */

  /* ── Line heights ───────────────────────────────────────────── */
  --lh-body:     1.76;   /* body text — unitless for proper inheritance */
  --lh-heading:  1.1;    /* display / chapter titles                    */
  --lh-caption:  1.55;   /* captions, secondary text                    */

  /* ── Column / measure ───────────────────────────────────────── */
  --col:         66ch;   /* max-width for prose columns                 */

}
