/* ============================================================
   Digidoktor - Typography tokens
   Hanken Grotesk for everything visible - display, body and data.
   Data/numerals use the same family with tabular figures (--font-data
   + .dd-tnum). Tight, confident display; calm, legible body.
   ============================================================ */

:root {
  /* ---- Families ---- */
  --font-display: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-data:    'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif; /* numerals; pair with tabular-nums */
  --font-mono:    var(--font-data); /* legacy alias - data now uses the brand sans, not a monospace */

  /* ---- 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 */

  /* ---- Fluid display sizes (clamp: mobile → desktop) ---- */
  --text-hero:    clamp(2.75rem, 6vw, 5rem); /* @kind font */
  --text-display: clamp(2.25rem, 4.5vw, 3.5rem); /* @kind font */
  --text-h1:      clamp(1.875rem, 3.4vw, 2.75rem); /* @kind font */
  --text-h2:      clamp(1.5rem, 2.4vw, 2rem); /* @kind font */
  --text-h3:      1.5rem;    /* 24 */
  --text-h4:      1.25rem;   /* 20 */

  /* ---- Static UI / body sizes ---- */
  --text-lg:    1.125rem;  /* 18 - lead paragraph */
  --text-base:  1rem;      /* 16 - body default */
  --text-sm:    0.875rem;  /* 14 - secondary, labels */
  --text-xs:    0.75rem;   /* 12 - captions, legal */

  /* ---- Line heights ---- */
  --lh-tight:   1.04; /* @kind font */
  --lh-snug:    1.18; /* @kind font */
  --lh-normal:  1.5; /* @kind font */
  --lh-relaxed: 1.65; /* @kind font */

  /* ---- Letter spacing ---- */
  --ls-tight:   -0.03em; /* @kind font */
  --ls-snug:    -0.015em; /* @kind font */
  --ls-normal:  0; /* @kind font */
  --ls-wide:    0.04em; /* @kind font */
  --ls-caps:    0.08em; /* @kind font */
}
