/* ============================================================
   Tasman Cluster — Typography tokens
   Two families only. A literary serif for register and reading;
   an institutional sans for labels, navigation and data. Labels
   are uppercase with wide tracking — a "filing / document" voice.
   ============================================================ */

:root {
  /* ---- Families ------------------------------------------ */
  --tc-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif; /* @kind font */
  --tc-sans:  'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; /* @kind font */

  --font-display: var(--tc-serif);   /* headlines, hero, numerals */
  --font-body:    var(--tc-serif);   /* running prose */
  --font-ui:      var(--tc-sans);    /* nav, buttons, labels, forms, data */

  /* ---- Weights ------------------------------------------- */
  --tc-w-regular:  400; /* @kind font */
  --tc-w-medium:   500; /* @kind font */
  --tc-w-semibold: 600; /* @kind font */
  --tc-w-bold:     700; /* @kind font */

  /* ---- Type scale (clamped, fluid headings) -------------- */
  --tc-text-hero:    clamp(1.9rem, 4.4vw, 3.3rem);  /* hero h1, serif 400 */
  --tc-text-h2:      clamp(1.4rem, 2.8vw, 1.9rem);  /* section h2, serif 600 */
  --tc-text-h2-sans: clamp(1.5rem, 3.2vw, 2.3rem);  /* preparedness h2, sans 700 */
  --tc-text-h3:      1.45rem;   /* panel titles */
  --tc-text-num:     clamp(2.2rem, 4.6vw, 3.2rem);  /* counters / big figures */
  --tc-text-lede:    1.05rem;   /* standfirst, intros */
  --tc-text-body:    18px;      /* base reading size */
  --tc-text-ui:      0.88rem;   /* default UI / button text */
  --tc-text-sm:      0.82rem;   /* nav, small UI */
  --tc-text-label:   0.72rem;   /* uppercase labels (tabs) */
  --tc-text-marginal:11px;      /* marginal tasking labels */
  --tc-text-micro:   0.64rem;   /* form labels, status chips */

  /* ---- Line heights -------------------------------------- */
  --tc-leading-tight: 1.15;
  --tc-leading-snug:  1.3;
  --tc-leading-body:  1.6;

  /* ---- Letter-spacing (tracking) ------------------------- */
  --tc-track-tight:  -0.01em;   /* large serif headlines */
  --tc-track-normal: 0; /* @kind font */
  --tc-track-ui:     0.05em;    /* buttons */
  --tc-track-label:  0.12em;    /* uppercase labels */
  --tc-track-wide:   0.18em;    /* subtaglines, micro labels */
  --tc-track-mark:   0.22em;    /* widest — wordmark sub, identity */

  /* ---- Reading measure ----------------------------------- */
  --tc-measure:      68ch;
  --tc-measure-narrow: 58ch;

  /* ---- Semantic aliases ---------------------------------- */
  --text-heading-weight: var(--tc-w-semibold);
  --leading-prose:       var(--tc-leading-body);
}
