/* ============================================================
   TYPOGRAPHY — Chiptuningfile Design System
   ============================================================ */
:root {
  /* --- Families --- */
  --font-display: 'Orbitron', 'Saira Condensed', 'Arial Narrow', sans-serif;
  --font-sans:    'Archivo', system-ui, -apple-system, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;

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

  /* --- Fluid type scale (clamped) --- */
  --text-2xs: 0.6875rem;  /* 11px — micro labels, table meta */
  --text-xs:  0.75rem;    /* 12px */
  --text-sm:  0.875rem;   /* 14px */
  --text-md:  1rem;       /* 16px — base body */
  --text-lg:  1.125rem;   /* 18px */
  --text-xl:  1.375rem;   /* 22px */
  --text-2xl: 1.75rem;    /* 28px */
  --text-3xl: clamp(2rem, 5vw, 3rem);        /* 32→48 */
  --text-4xl: clamp(2.75rem, 7vw, 4.5rem);   /* 44→72 */
  --text-5xl: clamp(3.5rem, 9vw, 6.5rem);    /* 56→104 — hero */

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

  /* --- Tracking --- */
  --ls-tight:   -0.02em; /* @kind other */
  --ls-normal:  0; /* @kind other */
  --ls-wide:    0.04em; /* @kind other */
  --ls-label:   0.12em;   /* @kind other */
  --ls-mono:    0.02em; /* @kind other */
}

/* --- Optional helper utility classes (foundation specimens / cards) --- */
.ds-display { font-family: var(--font-display); font-weight: var(--fw-bold); line-height: var(--lh-tight); letter-spacing: var(--ls-tight); text-transform: uppercase; }
.ds-eyebrow { font-family: var(--font-mono); font-size: var(--text-xs); font-weight: var(--fw-medium); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--accent-text); }
.ds-body    { font-family: var(--font-sans); font-size: var(--text-md); line-height: var(--lh-relaxed); color: var(--text); }
.ds-mono    { font-family: var(--font-mono); letter-spacing: var(--ls-mono); }
