/* ============================================================
   AMAN BHUTANI DESIGN SYSTEM — TYPOGRAPHY TOKENS (v4)
   Fonts: Fraunces (display/editorial) + Geist (UI/body) + Geist Mono (labels)
   Loaded via <link rel="preconnect"> + <link> in <head> — see styles.css note.

   Why Fraunces, not Bodoni Moda / Playfair:
   Fraunces is a high-contrast display serif with a warmer, more
   idiosyncratic personality than Bodoni's didone precision — soft
   terminals and a slight wonk give the editorial/"considered" quality
   more character while staying just as distinct from the ubiquitous
   Playfair default. Variable opsz axis (9–144) means it sharpens up at
   hero display sizes and stays comfortable at smaller heading sizes.
   Geist is the sans of the agentic AI web-tooling world this practice works
   in day to day; still highly legible, but far less ubiquitous than Inter.
   Geist Mono pairs natively with Geist for eyebrows/labels instead of the
   default Fira Code.
   ============================================================ */

:root {
  /* ── Font Families ────────────────────────────────────── */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif; /* @kind font */
  --font-body:    'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif; /* @kind font */
  --font-mono:    'Geist Mono', 'SF Mono', 'Roboto Mono', 'Cascadia Code', monospace; /* @kind font */

  /* ── Font Weights ─────────────────────────────────────── */
  --weight-light:    300; /* @kind other */
  --weight-regular:  400; /* @kind other */
  --weight-medium:   500; /* @kind other */
  --weight-semibold: 600; /* @kind other */
  --weight-bold:     700; /* @kind other */

  /* ── Type Scale (fluid) ───────────────────────────────── */
  --text-hero:        clamp(2.75rem, 7vw, 5.5rem);
  --text-display-xl:  clamp(2.4rem, 5vw, 4rem);
  --text-display-lg:  clamp(2rem, 4vw, 3.25rem);
  --text-display-md:  clamp(1.75rem, 3.5vw, 2.5rem);
  --text-display-sm:  clamp(1.25rem, 2vw, 1.5rem);
  --text-xl:    1.25rem;
  --text-lg:    1.125rem;
  --text-base:  1rem;
  --text-sm:    0.9375rem;
  --text-ui:    0.875rem;
  --text-xs:    0.8125rem;
  --text-xxs:   0.75rem;
  --text-label: 0.6875rem;

  /* ── Line Heights ─────────────────────────────────────── */
  --leading-tight:   1.08; /* @kind other */
  --leading-heading: 1.15; /* @kind other */
  --leading-snug:    1.3;  /* @kind other */
  --leading-body:    1.6;  /* @kind other */
  --leading-relaxed: 1.7;  /* @kind other */
  --leading-loose:   1.8;  /* @kind other */

  /* ── Letter Spacing ───────────────────────────────────── */
  --tracking-tight:   -0.03em; /* @kind other */
  --tracking-heading: -0.02em; /* @kind other */
  --tracking-snug:    -0.01em; /* @kind other */
  --tracking-normal:   0em;    /* @kind other */
  --tracking-wide:     0.01em; /* @kind other */
  --tracking-wider:    0.04em; /* @kind other */
  --tracking-label:    0.10em; /* @kind other */
  --tracking-caps:     0.14em; /* @kind other */

  /* ── Base Rendering ───────────────────────────────────── */
  --font-smoothing: antialiased; /* @kind other */
}
