/* Automatic image sequences; the first image remains visible without JS. */
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--navbar-height,112px) + 24px)}
.scroll-banner{position:relative;isolation:isolate;overflow:hidden}
.automatic-banner{position:relative;isolation:isolate;overflow:hidden}
.banner.scroll-banner,.coral.scroll-banner{background:none}
.scroll-banner-media{position:absolute;inset:-8% 0;z-index:-2;pointer-events:none;transform:translateY(0)}
.scroll-banner-media img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;opacity:0}
.scroll-banner-media img:first-child{opacity:1}
.scroll-banner.scroll-in-view .scroll-banner-media{will-change:transform}
.scroll-banner.scroll-in-view .scroll-banner-media img{will-change:opacity}
.scroll-banner>*:not(.scroll-banner-media){position:relative;z-index:1}
.coral.scroll-banner::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(#3c130520,#260b0550)}
[data-section='5'].banner{place-items:center start;text-align:left}
[data-section='5'] .banner-statement{margin:0;color:var(--white);font-size:clamp(44px,5.2vw,84px);line-height:1.1;text-shadow:0 2px 30px #0004}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .scroll-banner-media{transform:none!important;will-change:auto!important}
  .scroll-banner-media img{will-change:auto!important}
}

/* Extra image coverage belongs only to the three requested parallax sections. */
@media (min-width:1001px) and (pointer:fine){
  .hero>.hero-media{inset:-28% 0}
  [data-section='3']>.scroll-banner-media,[data-section='5']>.scroll-banner-media{inset:-24% 0}
}
[data-section='5'].parallax-ready{background-image:none!important}
@media(max-width:700px),(max-width:1000px) and (max-height:500px) and (pointer:coarse){
  [data-section='3'].has-mobile-sequence>.mobile-banner-media,[data-section='5'].has-mobile-sequence>.mobile-banner-media{inset:-10% 0;will-change:transform}
}
@media(prefers-reduced-motion:reduce){
  [data-section='3'].has-mobile-sequence>.mobile-banner-media,[data-section='5'].has-mobile-sequence>.mobile-banner-media{will-change:auto}
}
