/* ============================================================
   M5 MARKETING — TYPOGRAPHY
   Display: Sora (≈ Code Bold) · Body: Barlow (≈ Bahnschrift)
   NOTE: The manual specifies Code Bold + Bahnschrift (not web-served).
   Sora / Barlow are the closest clean free matches — see README "Caveats".
   ============================================================ */

500;600;700;800&family=Barlow:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* ---- Families ------------------------------------------- */
  --font-display: 'Sora', 'Barlow', system-ui, sans-serif;
  --font-body:    'Barlow', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  /* ---- Type scale (clamp, fluid) -------------------------- */
  --text-display: clamp(3rem, calc(1.5rem + 6vw), 6.5rem); /* @kind font */
  --text-h1:      clamp(2.4rem, calc(1.4rem + 3.6vw), 4rem); /* @kind font */
  --text-h2:      clamp(1.9rem, calc(1.3rem + 2.2vw), 2.85rem); /* @kind font */
  --text-h3:      clamp(1.45rem, calc(1.1rem + 1.2vw), 1.9rem); /* @kind font */
  --text-h4:      1.3rem; /* @kind font */
  --text-lead:    clamp(1.1rem, calc(1rem + 0.5vw), 1.375rem); /* @kind font */
  --text-body-lg: 1.125rem;   /* @kind font */
  --text-body-md: 1rem;       /* @kind font */
  --text-body-sm: 0.875rem;   /* @kind font */
  --text-eyebrow: 0.78rem;    /* @kind font */
  --text-micro:   0.7rem;     /* @kind font */

  /* ---- Weights -------------------------------------------- */
  --fw-regular:  400; /* @kind font */
  --fw-medium:   500; /* @kind font */
  --fw-semibold: 600; /* @kind font */
  --fw-bold:     700; /* @kind font */
  --fw-black:    800; /* @kind font */

  /* ---- Line height ---------------------------------------- */
  --lh-tight:   0.98; /* @kind other */
  --lh-snug:    1.12; /* @kind other */
  --lh-heading: 1.06; /* @kind other */
  --lh-body:    1.6;  /* @kind other */
  --lh-relaxed: 1.75; /* @kind other */

  /* ---- Letter spacing ------------------------------------- */
  --ls-tight:   -0.03em; /* @kind other */
  --ls-display: -0.04em; /* @kind other */
  --ls-normal:  0;       /* @kind other */
  --ls-eyebrow: 0.22em;  /* @kind other */
  --ls-mono:    0.04em;  /* @kind other */
}
