/* NYI hero: a single photographic frame, aligned to the existing page grid. */
.hero-slideshow{position:relative;margin:28px 0 32px;isolation:isolate}
.hero-stage{position:relative;aspect-ratio:2;overflow:hidden;background:var(--background);touch-action:pan-y}
.hero-slide{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity .85s ease,visibility .85s;pointer-events:none}
.hero-slide.is-active{opacity:1;visibility:visible;z-index:1}
.hero-slide img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.hero-slide:nth-child(2) img{object-position:center top}
.hero-slide--intro img{object-fit:contain;width:100%;height:auto;max-height:100%}
.hero-slide--portrait img{object-fit:contain;background:var(--background)}
.hero-stage:after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.22),transparent 26%,transparent 70%,rgba(0,0,0,.65));opacity:0;transition:opacity .85s ease}
.is-showing-photo .hero-stage:after{opacity:1}
.hero-tag{position:absolute;z-index:3;right:24px;top:22px;width:clamp(108px,12vw,156px);opacity:0;visibility:hidden;transition:opacity .85s ease,visibility .85s;pointer-events:none;filter:drop-shadow(0 2px 4px rgba(0,0,0,.7))}
.hero-tag img{display:block;width:100%;height:auto}
.hero-slideshow.is-showing-photo .hero-tag{opacity:1;visibility:visible}
.hero-slide-toolbar{position:absolute;z-index:4;left:24px;right:20px;bottom:16px;display:flex;justify-content:space-between;align-items:center;gap:16px;pointer-events:none}
.hero-slide-toolbar[hidden]{display:none}
.hero-slide-count{font-size:12px;line-height:24px;font-variant-numeric:tabular-nums;color:#fff;letter-spacing:.06em}
.hero-slide-controls{display:flex;gap:4px;pointer-events:auto}
.hero-slide-controls button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin:0;padding:0;border:1px solid rgba(255,255,255,.35);border-radius:0;background:rgba(0,0,0,.55);color:#fff;cursor:pointer;transition:background .18s,color .18s,border-color .18s}
.hero-slide-controls button:hover{background:var(--primary);border-color:var(--primary);color:var(--background)}
.hero-slide-controls button:focus-visible{outline:3px solid var(--accent);outline-offset:3px;position:relative;z-index:5}
.hero-slide-controls svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hero-slide-controls .hero-play-icon{display:none}
.hero-slide-controls [aria-pressed="true"] .hero-play-icon{display:block}
.hero-slide-controls [aria-pressed="true"] .hero-pause-icon{display:none}
.hero-slideshow:not(.is-showing-photo) .hero-slide-count{visibility:hidden}
.hero-slideshow:not(.is-showing-photo) .hero-slide-controls button{background:transparent;border-color:transparent}
.hero:has(.hero-slideshow) .hero-bottom{max-width:none;gap:24px}
@media(max-width:1000px){.hero:has(.hero-slideshow) .hero-bottom{align-items:flex-start;flex-direction:column}.hero-stage{aspect-ratio:1.8}}
@media(max-width:700px){
 .hero-slideshow{margin:24px -6.82% 28px}
 .hero-stage{aspect-ratio:1.5}
 .hero-slide--intro img{width:94%}
 .hero-slide img{object-fit:contain}
 .hero-tag{right:16px;top:18px;width:104px}
 .hero-slide-toolbar{left:18px;right:14px;bottom:10px}
 .hero-slide-count{font-size:11px}
 .hero-slide-controls{gap:3px}
 .hero-slide-controls button{width:44px;height:44px}
}
@media(prefers-reduced-motion:reduce){.hero-slide,.hero-tag,.hero-stage:after,.hero-slide-controls button{transition:none}}

/* Full-bleed photographic hero; the source landscape frame is preserved. */
body:has(.hero-slideshow) > header{position:absolute;z-index:10;top:0;left:0;right:0;max-width:none;padding:24px 5%;border-bottom:1px solid rgba(255,255,255,.22);background:linear-gradient(rgba(0,0,0,.6),rgba(0,0,0,.1))}
.hero:has(.hero-slideshow){position:relative;max-width:none;padding:0}
.hero:has(.hero-slideshow) .hero-topline{display:none}
.hero-slideshow{margin:0}
.hero-stage{aspect-ratio:3/2}
.hero-slide img{object-fit:contain}
.hero-slide--intro{background:var(--background)}
.hero-slide--intro .hero-intro-backdrop{position:absolute;inset:0;width:100%;height:100%;max-height:none;opacity:.55}
.hero-intro-logo{position:relative;width:min(88%,1320px);z-index:1}
.hero-intro-logo img{width:100%;height:auto}
.hero-stage:after{background:linear-gradient(180deg,rgba(0,0,0,.22),transparent 20%,transparent 65%,rgba(0,0,0,.86));opacity:1}
.hero-tag{top:118px;right:5%;width:clamp(112px,12vw,180px)}
.hero:has(.hero-slideshow) .hero-bottom{position:absolute;z-index:5;left:5%;right:5%;bottom:96px;align-items:flex-end;flex-direction:row;pointer-events:none}
.hero:has(.hero-slideshow) .hero-bottom .description{color:#fff;text-shadow:0 1px 4px #000}
.hero:has(.hero-slideshow) .hero-actions{pointer-events:auto}
.hero-slide-toolbar{left:5%;right:5%;bottom:24px}
.hero:has(.hero-slideshow) .scroll-cue{display:none}
@media(max-width:1100px) and (min-width:701px){
 .hero:has(.hero-slideshow) .hero-bottom{bottom:82px;gap:16px}
 .hero:has(.hero-slideshow) .hero-bottom .description{font-size:14px}
 .hero:has(.hero-slideshow) .hero-actions{max-width:320px;gap:8px}
 .hero:has(.hero-slideshow) .hero-actions .button{padding:12px 16px;font-size:13px}
}
@media(max-width:700px){
 body:has(.hero-slideshow) > header{position:relative;padding:20px 6%;background:var(--background)}
 .hero-stage{aspect-ratio:3/2}
 .hero-tag{top:14px;right:16px;width:104px}
 .hero-stage:after{background:linear-gradient(180deg,rgba(0,0,0,.12),transparent 30%,transparent 65%,rgba(0,0,0,.6))}
 .hero:has(.hero-slideshow) .hero-bottom{position:static;padding:24px 6% 32px;flex-direction:column;align-items:stretch;gap:24px;pointer-events:auto}
 .hero-slide-toolbar{bottom:12px;left:16px;right:16px}
 .hero-intro-logo{width:92%}
}
