/* ═══════════════════════════════════════════════════════════
   EIDA — Shared Design Tokens
   Single source of truth for typography and spacing scale.

   TYPE SCALE — fluid clamp() values
   All sizes are calibrated for correct rendering without zoom.
   Formula: original_design_px × 0.77 = intended rendered size.

   To resize the entire site's type: adjust the values here.
   Never hard-code font-size px values in page CSS — use these.
   ═══════════════════════════════════════════════════════════ */

:root {
  /* ── Micro ── tags, indexes, watermarks ── */
  --t-xs:      clamp(9px,  0.65vw, 11px);

  /* ── Small ── captions, metadata, footnotes ── */
  --t-sm:      clamp(10px, 0.78vw, 12px);

  /* ── Base ── body copy, descriptions ── */
  --t-base:    clamp(11px, 0.88vw, 13px);

  /* ── Medium ── UI labels, secondary text ── */
  --t-md:      clamp(12px, 0.97vw, 14px);

  /* ── UI ── tabs, buttons, nav items ── */
  --t-ui:      clamp(13px, 1.05vw, 15px);

  /* ── Card ── card titles, prominent UI ── */
  --t-card:    clamp(14px, 1.15vw, 17px);

  /* ── Sub ── sub-headings, stat labels ── */
  --t-sub:     clamp(17px, 1.55vw, 22px);

  /* ── H3 ── section sub-headings, stat values ── */
  --t-h3:      clamp(22px, 2.1vw,  30px);

  /* ── H2 ── section headings ── */
  --t-h2:      clamp(28px, 2.7vw,  38px);

  /* ── H1 ── page headings ── */
  --t-h1:      clamp(36px, 3.6vw,  52px);

  /* ── Display ── hero headline ── */
  --t-display: clamp(40px, 4.5vw,  72px);
}
