/* Consolidated, scoped subpage heading system. Homepage is excluded. */
:root{--subpage-heading-gradient:linear-gradient(100deg,#67e8f9 0%,#60a5fa 45%,#c084fc 100%)}
body:not(.home) h1,body:not(.home) h2,body:not(.home) .section-title,body:not(.home) .page-title{background:var(--subpage-heading-gradient);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
/* Hero titles: controlled size, balanced wrapping, no viewport overflow. */
body:not(.home) .story-hero h1,body:not(.home) .page-hero h1,body:not(.home) .hero h1,body:not(.home) header.hero h1,body:not(.home) main h1{font-size:clamp(2rem,4vw,3.8rem)!important;line-height:1.08!important;letter-spacing:-.035em!important;max-width:min(20ch,100%)!important;overflow-wrap:anywhere!important;word-break:normal!important;text-wrap:balance!important}
body:not(.home) .story-hero,body:not(.home) .page-hero,body:not(.home) .hero{overflow-wrap:anywhere}
@media(max-width:767px){body:not(.home) .story-hero h1,body:not(.home) .page-hero h1,body:not(.home) .hero h1,body:not(.home) header.hero h1,body:not(.home) main h1{font-size:clamp(1.85rem,7vw,2.65rem)!important;line-height:1.12!important;letter-spacing:-.03em!important;max-width:100%!important}}
