/* ============================================================
   PAMPLEMOUSSE — TYPOGRAPHY TOKENS
   Display: Cormorant Garamond (editorial serif, high contrast)
   Mono:    Space Mono (labels, data, technical chrome)
   Sans:    Space Grotesk (dense UI / table body)
   ============================================================ */
:root {
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-mono: 'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --font-sans: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;

  /* Display / editorial scale (serif) — big, tight, expressive */
  --fs-display: 4.5rem;   /* 72 — hero */
  --fs-h1: 3.25rem;       /* 52 */
  --fs-h2: 2.25rem;       /* 36 */
  --fs-h3: 1.625rem;      /* 26 */
  --fs-h4: 1.25rem;       /* 20 */

  /* UI / body scale */
  --fs-lead: 1.125rem;    /* 18 — intro paragraphs (sans) */
  --fs-body: 0.9375rem;   /* 15 */
  --fs-sm: 0.8125rem;     /* 13 */
  --fs-xs: 0.75rem;       /* 12 */
  --fs-label: 0.6875rem;  /* 11 — mono all-caps labels */

  --lh-tight: 1.05;   /* @kind other */
  --lh-snug: 1.2;     /* @kind other */
  --lh-normal: 1.5;   /* @kind other */
  --lh-relaxed: 1.65; /* @kind other */

  --tracking-label: 0.16em;   /* @kind other */
  --tracking-mono: 0.02em;    /* @kind other */
  --tracking-tight: -0.01em;  /* @kind other */
  --tracking-display: -0.015em; /* @kind other */

  --fw-reg: 400;   /* @kind other */
  --fw-med: 500;   /* @kind other */
  --fw-semi: 600;  /* @kind other */
  --fw-bold: 700;  /* @kind other */
}

/* ---- Reusable text roles (opt-in utility classes) ---- */
.pm-display {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: var(--fw-semi);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-display);
}
.pm-h1 { font-family: var(--font-display); font-size: var(--fs-h1); font-weight: var(--fw-semi); line-height: 1.08; letter-spacing: var(--tracking-display); }
.pm-h2 { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: var(--fw-semi); line-height: 1.12; letter-spacing: var(--tracking-display); }
.pm-h3 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: var(--fw-semi); line-height: 1.18; }
.pm-serif-italic { font-family: var(--font-display); font-style: italic; font-weight: var(--fw-med); }

.pm-lead { font-family: var(--font-sans); font-size: var(--fs-lead); line-height: var(--lh-relaxed); color: var(--text-secondary); }
.pm-body { font-family: var(--font-sans); font-size: var(--fs-body); line-height: var(--lh-normal); }
.pm-mono { font-family: var(--font-mono); font-size: var(--fs-sm); letter-spacing: var(--tracking-mono); }

.pm-label {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: var(--fw-reg);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-muted);
}
