/* White space illuminated by stained-glass light; scroll-driven depth and reduced-motion support. */
.hero-immersive{height:210svh;min-height:0;max-height:none;padding:0;overflow:visible;--hero-p:0;--hero-scale:1.035;--hero-y:0%;--hero-copy-y:0px;--hero-copy-opacity:1}
.hero-immersive .hero-pin{position:sticky;top:0;height:100svh;min-height:600px;overflow:hidden;isolation:isolate;padding:120px 7% 90px;background:#f8f8f7}
.hero-immersive .hero-visual{inset:0;z-index:-2;mix-blend-mode:normal;transform:none;container-type:size}
/* Match script.js's p=0 cover geometry before the first script executes.
   The query container is the full-bleed visual, not the padded hero content. */
.hero-immersive .hero-visual img{--initial-image-width:max(100cqw,calc(100cqh * 1672 / 941));--initial-image-height:max(100cqh,calc(100cqw * 941 / 1672));--initial-image-x:calc((100cqw - var(--initial-image-width) * 1.035) * .62);--initial-image-y:calc((100cqh - var(--initial-image-height) * 1.035) * .46);display:block;position:absolute;left:0;top:0;width:var(--hero-image-width,var(--initial-image-width));height:var(--hero-image-height,var(--initial-image-height));max-width:none;object-fit:cover;object-position:62% 43%;transform-origin:0 0;transform:translate3d(var(--hero-image-x,var(--initial-image-x)),var(--hero-image-y,var(--initial-image-y)),0) scale(var(--hero-scale));will-change:transform}
@media(max-width:760px){.hero-immersive .hero-visual img{--initial-image-x:calc((100cqw - var(--initial-image-width) * 1.035) * .68)}}
.hero-immersive .hero-pin::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(255,255,255,.38),rgba(255,255,255,.10) 43%,rgba(255,255,255,0) 75%),linear-gradient(0deg,rgba(255,255,255,.20),transparent 24%);opacity:calc(1 - var(--hero-p)*.4)}
.hero-immersive .hero-copy{margin-top:clamp(35px,7svh,80px);max-width:650px;transform:translate3d(0,var(--hero-copy-y),0);opacity:var(--hero-copy-opacity);will-change:transform,opacity}
.hero-immersive h1{font-size:clamp(45px,4.9vw,72px);line-height:1.4;text-shadow:0 1px 28px #ffffff5c}
.hero-immersive .hero-description{color:#363e42;text-shadow:0 1px 15px #ffffff75}
.hero-immersive .hero-topline{color:#3e494e;font-size:12px}
.hero-immersive .hero-bottom{z-index:3;left:7%;right:7%;color:#354148;bottom:30px}
.hero-immersive .hero-bottom i{border-color:#697c8570}
/* A constant full-width separator at every section boundary, including the footer. */
main>section{border-bottom:3px solid var(--orange)}
.hero-depth-progress{display:none}
.header-over-hero{background:rgba(247,250,251,.16);backdrop-filter:blur(7px);border-bottom-color:#ffffff42}
@media(min-width:1600px){.hero-immersive{min-height:0;max-height:none}.hero-immersive .hero-copy{margin-top:clamp(55px,9svh,125px)}}
@media(max-width:760px){.hero-immersive{height:190svh;min-height:0;padding:0}.hero-immersive .hero-pin{height:100svh;min-height:600px;padding:105px 7% 75px}.hero-immersive .hero-copy{margin-top:42px}.hero-immersive h1{font-size:clamp(39px,9.2vw,56px);line-height:1.45;margin:18px 0 22px}.hero-immersive .hero-visual{inset:0;transform-origin:59% 45%}.hero-immersive .hero-visual img{object-position:59% 45%}.hero-immersive .hero-pin::after{background:linear-gradient(90deg,rgba(246,249,250,.60),rgba(246,249,250,.26) 70%,rgba(246,249,250,.06)),linear-gradient(0deg,rgba(246,249,250,.28),transparent 30%)}.hero-immersive .hero-description{font-size:14px;line-height:2}.hero-immersive .hero-topline{font-size:10px}.hero-immersive .hero-bottom{font-size:9px;bottom:26px}.hero-immersive .text-link{font-size:12px;background:none;border-color:#56666e}}
@media(max-height:740px){.hero-immersive .hero-pin{padding-top:104px}.hero-immersive .hero-copy{margin-top:25px}.hero-immersive h1{font-size:clamp(37px,4.5vw,56px);margin:14px 0 20px}.hero-immersive .text-link{margin-top:12px}}
@media(max-width:760px) and (max-height:740px){.hero-immersive h1{font-size:39px}.hero-immersive .hero-description{font-size:13px}}
@media(prefers-reduced-motion:reduce){.hero-immersive{height:auto}.hero-immersive .hero-pin{position:relative}.hero-immersive .hero-visual{transform:none!important}.hero-immersive .hero-copy{transform:none!important;opacity:1!important}.hero-depth-progress{display:none}}

/* Enter the stained-glass doorway, then join the next section in white light. */
.hero-immersive h1{font-size:clamp(32px,3.8vw,58px);line-height:1.55;letter-spacing:-.06em}
.hero-headline-line{display:block}
.hero-immersive .hero-description{font-size:16px;line-height:2}
.hero-immersive .hero-bottom{justify-content:center}
.hero-immersive .hero-bottom .hero-scroll-label{display:block}
@media(max-width:760px){.hero-immersive h1{font-size:clamp(24px,7vw,48px);letter-spacing:-.055em}.hero-immersive .hero-description br{display:none}.hero-immersive .hero-description{max-width:34em}}
.hero-immersive{height:250svh;--hero-white:0;--hero-meta-opacity:1;border-bottom:0;background:#fff}
.hero-immersive .hero-visual img{transition:transform var(--hero-transition-duration,0ms) cubic-bezier(.2,.65,.3,1)}
.hero-light{position:absolute;inset:0;z-index:5;background:#fff;opacity:var(--hero-white);pointer-events:none;transition:opacity var(--hero-transition-duration,0ms) ease-out}
.hero-immersive .hero-topline,.hero-immersive .hero-bottom{opacity:var(--hero-meta-opacity);transition:opacity var(--hero-transition-duration,0ms) ease-out}
.hero-immersive .hero-copy{transition:opacity var(--hero-transition-duration,0ms) ease-out,transform var(--hero-transition-duration,0ms) ease-out}
.header{transition:opacity 160ms ease-out}
.hero-immersive+.introduction{position:relative;z-index:6;margin-top:-24svh;border-top:3px solid var(--orange)}
@media(prefers-reduced-motion:reduce){
  .hero-immersive{height:auto}
  .hero-light{display:none}
  .hero-immersive+.introduction{margin-top:0}
  .hero-immersive .hero-topline,.hero-immersive .hero-bottom,.header{opacity:1!important}
}
