/* Opaque fallback imagery stays useful when script is unavailable. */
#scene-stage{display:none}
html{background:#18181b!important}
body{position:relative;isolation:isolate}
#captain-story .chapter-visual img{object-fit:cover;object-position:right center}
@media(max-width:700px){#captain-story .chapter-visual img{object-fit:contain}}
.has-scenes #scene-stage{position:fixed;display:block;inset:0;overflow:hidden;isolation:isolate;z-index:-1;pointer-events:none;background:#18181b}
#scene-stage .scene-layer{position:absolute;inset:0;opacity:0;z-index:0;overflow:hidden}
#scene-stage .scene-layer.is-current{opacity:1;z-index:1}
#scene-stage .scene-layer.is-outgoing{z-index:2;animation:backdrop-out .74s ease-out both}
@keyframes backdrop-out{from{opacity:1}to{opacity:0}}
#scene-stage .scene-image,#scene-stage .wo-scene{position:absolute;inset:0;display:block;width:100%;height:100%;z-index:0;object-fit:cover;object-position:center}
#scene-stage .scene-layer::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#101014e8 0%,#10101498 40%,#10101420 81%),linear-gradient(0deg,#101014c4 0%,transparent 67%);z-index:1}
#scene-stage [data-for="film-salon"]::after,#scene-stage [data-for="film-captain"]::after{background:linear-gradient(0deg,#111115ed 0%,#11111578 35%,#11111516 70%)}
#scene-stage [data-for="captain-story"] :is(.scene-image,video){object-position:100% 0%}
#scene-stage :is([data-for="registration"],[data-for="academy"],[data-for="contact"])::after{background:linear-gradient(90deg,#111114dd 0%,#11111488 78%),linear-gradient(0deg,#101014c2,transparent 95%)}
#scene-stage [data-for="academy"] .scene-image{object-position:75% 46%}
#scene-stage [data-for="contact"] .scene-image{object-position:86% 50%}
html.has-scenes body,.has-scenes :is(.wo-film,.become-story,.chapter,.chapter-captain,.panel,footer){background:transparent!important}
.has-scenes .chapter-visual,.has-scenes .wo-film::after,.has-scenes .chapter::after{display:none}
.has-scenes .story-intro{min-height:clamp(485px,81svh,780px);display:flex;align-items:start;justify-content:center;flex-direction:column}
.has-scenes .chapter-captain{margin:0;min-height:clamp(470px,70svh,690px);width:100%;display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:'copy';border:0;border-radius:0;align-items:end}
.has-scenes .chapter-captain .chapter-copy{align-self:end;padding:clamp(35px,7vw,105px) max(24px,calc((100% - 76rem)/2))}
.has-scenes .chapter-captain :is(h3,p){max-width:min(650px,48vw)}
.has-scenes :is(#registration,#academy,#contact){min-height:clamp(430px,70svh,710px);display:grid;align-content:center;border-top:1px solid #fff2}
.has-scenes #contact{justify-items:start}
.has-scenes #contact .kicker{display:block}
.has-scenes .group .card{background:#1c1c22d6!important}
.has-scenes #access-dialog{background:linear-gradient(110deg,#1c1b20f5,#242226ed),url('/brand/media/academy-tools.webp') center/cover!important}
.has-scenes #access-dialog .entry-card{background:#27262de6}
.has-scenes footer{border-color:#fff4!important}
@media(max-width:700px){
  #scene-stage [data-for="film-salon"] video{object-position:82% center}
  #scene-stage [data-for="film-captain"] video{object-position:53% center}
  #scene-stage .scene-layer::after{background:linear-gradient(0deg,#101014fb 0%,#101014e1 23%,#10101437 64%,#10101429 100%)}
  #scene-stage [data-for="captain-story"] .scene-image{object-position:52% 30%}
  .has-scenes .chapter-captain{min-height:clamp(485px,80svh,660px)}
  .has-scenes .chapter-captain :is(h3,p){max-width:100%}
  .has-scenes :is(#registration,#academy,#contact){min-height:430px}
}
@media(prefers-reduced-motion:reduce){#scene-stage .scene-layer.is-outgoing{animation:none!important;opacity:0}}
