.hero-gallery{position:absolute;inset:0;pointer-events:none;background:var(--navy)}
.hero-slide{position:absolute;inset:0;opacity:0;transition:opacity .9s ease}
.hero-slide.is-active{opacity:1}
/* Keep the outgoing image at the final scale throughout its crossfade. */
.hero-slide .hero-img{position:absolute;inset:0;transform:scale(1.08);transform-origin:55% 50%}
.hero-slide.is-active .hero-img{animation:hero-zoom 4s linear both;will-change:transform}
.hero.is-motion-paused .hero-slide.is-active .hero-img{animation-play-state:paused}
@keyframes hero-zoom{from{transform:scale(1)}to{transform:scale(1.08)}}
/* Shade the copy side while leaving the architecture brighter across the frame. */
.hero:after{background:linear-gradient(90deg,#0c122599,#0c12254d 55%,#0c122508),linear-gradient(0deg,#0c122570,transparent 30%)}
.ar .hero:after{background:linear-gradient(270deg,#0c122599,#0c12254d 55%,#0c122508),linear-gradient(0deg,#0c122570,transparent 30%)}
.hero-content{padding-bottom:135px;text-shadow:0 2px 14px #0c122570}
.hero h1{font-size:clamp(3rem,5.4vw,5.3rem);max-width:870px}
.hero p{color:#fff;text-shadow:0 1px 8px #0c1225cc}
.hero .actions{text-shadow:none}
.hero .btn.ghost{background:#0c122538}
.hero-controls-shell{position:absolute;inset-inline:0;bottom:22px;z-index:3}
.hero-controls{display:flex;color:#fff}
.hero-slide-caption{line-height:1.4;max-width:460px;text-shadow:0 1px 8px #0c1225cc}
.hero-slide-caption>span{display:block;font-size:.95rem;letter-spacing:.015em}

@media(max-width:800px){.hero h1{font-size:clamp(2.9rem,7.1vw,4.1rem)}.hero-slide-caption>span{font-size:.85rem}}
@media(max-width:1024px){.hero:after,.ar .hero:after{background:linear-gradient(0deg,#0c122580,#0c12258f 30%,#0c12258f 65%,#0c12254d)}.hero-slide-caption{max-width:none}}
@media(max-width:520px){.ar .hero h1{font-size:2.4rem}}
@media(prefers-reduced-motion:reduce){.hero-slide{transition:none}.hero-slide .hero-img{animation:none!important;transform:none}}
