/* Tangent — "Journal, with a statement cover" (A + C blend).
   Every value used in site.css comes from here. */
:root {
  /* Type: two families. Newsreader (display, statements), Inter Tight (text, labels). */
  --ff-serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --ff-sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;

  /* Five sizes, fluid between 375 and 1440 */
  --fs-label: 0.8125rem;                                  /* 13  labels, captions, margin notes */
  --fs-body: clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);    /* 16–17 body, form fields */
  --fs-lead: clamp(1.25rem, 1.05rem + 0.85vw, 1.5rem);    /* 20–24 abstract, path titles */
  --fs-h2: clamp(2rem, 1.45rem + 2.3vw, 2.75rem);         /* 32–44 section titles, principle */
  --fs-h1: clamp(2.5rem, 1.35rem + 5.2vw, 6.25rem);       /* 40–100 cover statement; "The right materials" fits one line at 375 */

  --lh-display: 0.94;
  --lh-snug: 1.18;
  --lh-body: 1.55;
  --tr-display: -0.03em;
  --tr-h2: -0.02em;
  --tr-label: 0.07em;
  --fw-regular: 400;
  --fw-medium: 500;

  /* Colour */
  --paper: #F6F4EE;        /* journal paper */
  --ink: #1A1A17;          /* warm near-black */
  --grey: #636159;         /* secondary text, 5.6:1 on paper */
  --rule: rgba(26, 26, 23, 0.14);
  --rule-strong: rgba(26, 26, 23, 0.32);
  --field: #FBFAF6;
  --cover: #0C1A17;        /* green-black cover */
  --bone: #ECEAE3;         /* text on cover */
  --bone-grey: #A3ADA8;    /* secondary on cover, 7.6:1 */
  --cover-rule: rgba(236, 234, 227, 0.16);
  --green: #1B5E52;        /* Tangent green: section numbers + links only */
  --error: #A3362A;        /* form error text, 6:1 on paper */

  /* Space (4px base) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px; --s-11: 176px;
  --gutter: clamp(20px, 4vw, 48px);
  --max: 1320px;
  --measure: 62ch;

  /* Shape */
  --radius: 2px;
  --hair: 1px;
  --mark: 34px;
  --node: 14px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .1, 1);
  --t-ui: 200ms;
  --t-reveal: 800ms;
  --stagger: 140ms;
  --t-draw: 1200ms;
}
