/* ============================================================
   Spado Sport — Typography tokens
   Display: Saira Condensed (athletic, condensed, uppercase)
   Body/UI: Hanken Grotesk
   Script:  Yellowtail (brush accent — sparingly)
   Data:    Spline Sans Mono (timers, distances, results)
   ============================================================ */

:root {
  --font-display: 'Saira Condensed', 'Arial Narrow', sans-serif;
  --font-sans:    'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-script:  'Yellowtail', cursive;
  --font-mono:    'Spline Sans Mono', ui-monospace, 'SF Mono', monospace;

  /* Type scale — athletic, big jumps for display */
  --text-display-2xl: 5.5rem;   /* 88 — hero numerals / event names */
  --text-display-xl:  4rem;     /* 64 */
  --text-display-lg:  3rem;     /* 48 */
  --text-display-md:  2.25rem;  /* 36 */
  --text-display-sm:  1.75rem;  /* 28 */

  --text-2xl: 1.5rem;    /* 24 */
  --text-xl:  1.25rem;   /* 20 */
  --text-lg:  1.125rem;  /* 18 */
  --text-md:  1rem;      /* 16 — base */
  --text-sm:  0.875rem;  /* 14 */
  --text-xs:  0.75rem;   /* 12 */

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

  /* Line heights */
  --lh-tight:   1.02; /* @kind other */
  --lh-snug:    1.15; /* @kind other */
  --lh-normal:  1.5; /* @kind other */
  --lh-relaxed: 1.65; /* @kind other */

  /* Letter spacing — condensed display loves tracking on caps */
  --ls-display: -0.01em; /* @kind other */
  --ls-eyebrow: 0.16em; /* @kind other */
  --ls-wide:    0.04em; /* @kind other */
  --ls-tight:   -0.015em; /* @kind other */

  /* ---- Semantic roles ---- */
  --type-eyebrow-size: var(--text-xs);
  --type-body-size:    var(--text-md);
}

/* ------------------------------------------------------------
   Optional helper classes — components may also just use vars.
   ------------------------------------------------------------ */
.sp-display {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
}
.sp-eyebrow {
  font-family: var(--font-sans);
  font-weight: var(--fw-bold);
  font-size: var(--text-xs);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
}
.sp-script {
  font-family: var(--font-script);
  font-weight: 400;
  line-height: 1.1;
}
.sp-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}
