/* ============================================================
   DOUGLAS — TYPOGRAPHY TOKENS
   Typeface: Avenir Next (Manrope substitute). Regular is the
   default brand style. Headlines may be ALL-CAPS with wide
   tracking; body copy is ALWAYS mixed case (never all-caps).
   Max two sizes + two weights per headline; max 3 lines.
   ============================================================ */
:root {
  --font-brand: "Manrope", "Avenir Next", "Avenir", system-ui, sans-serif;

  /* Weights (Avenir Next roles) */
  --fw-thin: 300;       /* @kind font */ /* only for large headlines */
  --fw-regular: 400;    /* @kind font */ /* primary brand style */
  --fw-medium: 500;     /* @kind font */ /* fallback for Regular */
  --fw-demibold: 600;   /* @kind font */ /* highlights, sparingly */
  --fw-bold: 700;       /* @kind font */ /* strong emphasis, sparingly */

  /* Type scale (px) */
  --fs-display: 76px;
  --fs-h1: 54px;
  --fs-h2: 40px;
  --fs-h3: 30px;
  --fs-h4: 23px;
  --fs-body-lg: 19px;
  --fs-body: 16px;
  --fs-body-sm: 14px;
  --fs-caption: 12px;

  /* Line heights — the smaller the size, the looser the leading */
  --lh-tight: 1.05;     /* @kind other */ /* big headlines */
  --lh-snug: 1.2;       /* @kind other */
  --lh-normal: 1.4;     /* @kind other */
  --lh-relaxed: 1.5;    /* @kind other */ /* body max */

  /* Letter spacing — headlines track wide, body near-optical */
  --ls-headline: 0.06em;   /* @kind other */ /* optical +50 to +100 */
  --ls-headline-tight: 0.02em; /* @kind other */
  --ls-body: 0.005em;      /* @kind other */ /* optical +10 to +50 */
  --ls-eyebrow: 0.16em;    /* @kind other */

  /* Semantic roles */
  --text-display: var(--fw-thin) var(--fs-display)/var(--lh-tight) var(--font-brand);
  --text-h1: var(--fw-regular) var(--fs-h1)/var(--lh-tight) var(--font-brand);
  --text-h2: var(--fw-regular) var(--fs-h2)/var(--lh-snug) var(--font-brand);
  --text-h3: var(--fw-regular) var(--fs-h3)/var(--lh-snug) var(--font-brand);
  --text-body: var(--fw-regular) var(--fs-body)/var(--lh-relaxed) var(--font-brand);
  --text-body-lg: var(--fw-regular) var(--fs-body-lg)/var(--lh-relaxed) var(--font-brand);
  --text-caption: var(--fw-medium) var(--fs-caption)/var(--lh-normal) var(--font-brand);
}
