/* The image establishes slide height. Text overlays only on wide screens. */
#top>.hero{height:auto;min-height:0;max-height:none;display:block;position:relative;isolation:isolate;background:#0b2d43;overflow:hidden}
#top>.hero:before{display:none}
#top>.hero .hs{position:relative;inset:auto!important;width:100%;height:auto;background:none!important;z-index:0;display:block}
#top>.hero .hs[hidden]{display:none}
#top>.hero .hs:before{display:none}
#top>.hero .hs .hero-slide{position:absolute;inset:0;opacity:0;pointer-events:none;background:none;transition:opacity .5s ease}
#top>.hero .hs .hero-slide.on{position:relative;opacity:1}
#top>.hero .hs img{display:block;width:100%;height:auto;max-height:none;object-fit:cover}
#top>.hero .hs:after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(2,18,30,var(--a,.45)),rgba(2,18,30,calc(var(--a,.45)*.55)) 55%,rgba(2,18,30,calc(var(--a,.45)*.15)));opacity:1}
#top>.hero>.wrap{position:absolute;inset:0;display:flex;align-items:center;z-index:2;height:100%;pointer-events:none}
#top>.hero .hero-copy{width:100%;max-width:760px;padding:28px 0;pointer-events:auto}
#top>.hero h1{font-size:clamp(30px,3.4vw,54px);line-height:1.06}
#top>.hero .lead{margin-top:16px;max-width:600px}
#top>.hero .cta{margin-top:20px}
#top>.hero .hero-arrow{top:calc(var(--hero-image-height,400px)/2);transform:translateY(-50%);z-index:4}
#top>.hero .hd{top:calc(var(--hero-image-height,400px) - 35px);bottom:auto;z-index:4}
#top>.hero.hero-empty>.wrap{position:relative;padding-block:20px}
#top>.hero.hero-empty .exterior-placeholder{display:none}
#top>.hero [hidden]{display:none!important}
.hero-admin-preview{position:relative;max-width:620px;margin:16px 0;background:#0b2d43;border-radius:8px;overflow:hidden}
.hero-admin-preview img{display:block;width:100%;height:auto}
.hero-admin-preview:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(2,18,30,var(--a,.45)),rgba(2,18,30,calc(var(--a,.45)*.55)) 55%,rgba(2,18,30,calc(var(--a,.45)*.15)))}
#hm output{font-weight:700;margin-left:8px}
@media(max-width:1100px){
 #top>.hero>.wrap{position:relative;height:auto;inset:auto;padding-block:26px}
 #top>.hero .hero-copy{max-width:none;padding:0}
 #top>.hero h1{font-size:clamp(27px,5vw,38px);max-width:none}
 
 #top>.hero .lead{font-size:14px;max-width:none}
 #top>.hero .hero-arrow{width:32px;height:32px;font-size:22px}
}
@media(prefers-reduced-motion:reduce){#top>.hero .hs .hero-slide{transition:none}}


/* First slide defines a shared canvas; cover fills the shared area without blank margins. */
#top>.hero .hs{aspect-ratio:2.34;height:auto;background:#0b2d43!important}
#top>.hero .hs .hero-slide,#top>.hero .hs .hero-slide.on{position:absolute;inset:0;width:100%;height:100%}
#top>.hero .hs img{width:100%;height:100%;object-fit:cover;object-position:center}
