/* Shared heading language across the storefront. Scoped to headings, not brand artwork. */
:root {
  --heading-family: var(--font-serif);
  --heading-weight: 400;
  --heading-page-size: clamp(2.2rem, 4.2vw, 4rem);
  --heading-section-size: clamp(1.85rem, 3.1vw, 2.75rem);
  --heading-card-size: clamp(1.2rem, 1.8vw, 1.5rem);
}
/* Important declarations intentionally unify existing inline and module heading styles. */
body :is(h1,h2,h3,h4,h5,h6) {
  font-family: var(--heading-family) !important;
  font-weight: var(--heading-weight) !important;
  font-style: normal !important;
  letter-spacing: -.035em !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  text-wrap: balance;
}
body :is(h1,h2,h3,h4,h5,h6) :is(em,strong,b,span) {
  font-family: inherit !important;
  font-weight: inherit !important;
  font-style: normal !important;
  color: inherit !important;
}
.site-main h1 { font-size: var(--heading-page-size) !important; }
.site-main h2 { font-size: var(--heading-section-size) !important; }
.site-main h3 { font-size: var(--heading-card-size) !important; }
.site-main h4 { font-size: 1.1rem !important; }
.site-main :is(h1,h2) { text-shadow: none !important; }
/* Retain the section's light/dark contrast while using a single heading treatment. */
.at-hero h1,.at-team-story h2 { color:#fff9ef; }
@media(max-width:700px) {
  :root { --heading-page-size:clamp(2rem,7.8vw,2.6rem); }
}
/* All slides share the hero scale, including those using semantic H2 headings. */
.site-main .hero-carousel-title { font-size:var(--heading-page-size) !important; }
