/*
 * Heading scale — canonical (clamp + tokens generation).
 *
 * The fleet's max(<px floor>, <vw>) formula, upgraded to clamp() with the
 * ramp defined once as tokens (the laurelton --lrl-* / miramar --lp-*
 * pattern, promoted). !important beats Salient's Redux typography output.
 *
 * Per-site tuning = edit :root only. Floors keep mobile legible, ceilings
 * stop 4K blowouts (the old max() had no ceiling).
 */

:root {
  --cph-h1: clamp(38px, 3.4vw, 64px);
  --cph-h2: clamp(28px, 2.4vw, 44px);
  --cph-h3: clamp(22px, 1.8vw, 32px);
  --cph-h4: clamp(18px, 1.5vw, 24px);
  --cph-h5: clamp(15px, 1.2vw, 19px);
  --cph-h6: clamp(12px, 1.004vw, 15px); /* 1.004vw: the fleet fingerprint, kept for continuity */
  --cph-heading-lh: 1.15;
}

h1 { font-size: var(--cph-h1) !important; line-height: var(--cph-heading-lh) !important; }
h2 { font-size: var(--cph-h2) !important; line-height: var(--cph-heading-lh) !important; }
h3 { font-size: var(--cph-h3) !important; line-height: 1.2 !important; }
h4 { font-size: var(--cph-h4) !important; line-height: 1.25 !important; }
h5 { font-size: var(--cph-h5) !important; line-height: 1.3 !important; }
h6 { font-size: var(--cph-h6) !important; line-height: 1.3 !important; }
