/* Shared H1-H4 scale. Components own layout, never heading fonts or sizes. */
:root {
  --heading-font: var(--body-font);
  --heading-weight: 400;
  --heading-leading: 1.3;
  --heading-tracking: .005em;
  --h1-size: clamp(39px,4.4vw,64px);
  --h2-size: clamp(24px,2.2vw,30px);
  --h3-size: clamp(18px,1.65vw,24px);
  --h3-compact-size: 14px;
  --heading-display-size: clamp(36px,4.4vw,64px);
  --h4-size: 15px;
}
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  line-height: var(--heading-leading);
  letter-spacing: var(--heading-tracking);
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 {
  font-size: var(--h1-size);
  line-height: 1.08;
  letter-spacing: -.025em;
}
h2 {
  font-size: var(--h2-size);
}
h3 { font-size: var(--h3-size); }
h3.heading-compact { font-size: var(--h3-compact-size); line-height: 1.5; }
.heading-display { font-size: var(--heading-display-size); line-height: 1.12; letter-spacing: -.025em; }
h4 {
  font-size: var(--h4-size);
  font-weight: 500;
  line-height: 1.5;
}
/* Button labels share one casing rule; stored copy remains unchanged. */
button, .button, .header-cta, .contact-links a { text-transform: uppercase; }
@media(max-width:900px) {
  :root { --h3-size: 20px; }
}
@media(max-width:360px) {
  :root { --h3-compact-size: 12px; }
}
