.jaguar{--px:0;--py:0;--scene-image:url('/assets/missions/am4zonia/hero.jpg')}
.world{perspective:1100px;perspective-origin:58% 54%;transform-style:preserve-3d}
.room,.foreground,.landscape{will-change:transform,opacity}
.jaguar[data-entered="true"][data-scene="0"] .room--far{transform:translate3d(calc(var(--px)*-4px),calc(var(--py)*-3px),-55px) scale(1.11)}
.jaguar[data-entered="true"][data-scene="0"] .room--mid{transform:translate3d(calc(var(--px)*-11px),calc(var(--py)*-7px),18px) scale(1.05)}
.jaguar[data-entered="true"][data-scene="0"] .room--canopy{transform:translate3d(calc(var(--px)*-18px),calc(var(--py)*-12px),42px) scale(1.07)}
.jaguar[data-entered="true"][data-scene="0"] .room--left{transform:translate3d(calc(var(--px)*-25px),calc(var(--py)*-13px),70px) scale(1.08);filter:saturate(.63) contrast(1.38) brightness(.11) blur(.3px)}
.jaguar[data-entered="true"][data-scene="0"] .room--right{transform:translate3d(calc(var(--px)*-28px),calc(var(--py)*-14px),78px) scale(1.09);filter:saturate(.61) contrast(1.39) brightness(.105) blur(.45px)}
.jaguar[data-entered="true"][data-scene="0"] .room--fog{transform:translate3d(calc(var(--px)*-8px),calc(var(--py)*-4px),26px);opacity:.42}
.jaguar[data-entered="true"][data-scene="0"] .room--shafts{transform:translate3d(calc(var(--px)*-5px),calc(var(--py)*-3px),8px);opacity:.58}
.jaguar[data-entered="true"][data-scene="0"] .foreground--left{transform:translate3d(calc(var(--px)*-34px),calc(var(--py)*-18px),0) scale(1.07)}
.jaguar[data-entered="true"][data-scene="0"] .foreground--right{transform:translate3d(calc(var(--px)*-39px),calc(var(--py)*-20px),0) scale(1.08)}
.jaguar[data-entered="true"][data-scene="0"] .room--floor{background:radial-gradient(ellipse 42% 10% at 59% 77%,rgba(133,184,139,.105),transparent 72%),linear-gradient(180deg,transparent 0 61%,rgba(2,12,6,.12) 69%,rgba(0,5,2,.88) 100%)}
.jaguar[data-entered="true"][data-scene="0"] .ground-contact{opacity:.92;transform:translate(-50%,-50%) perspective(700px) rotateX(66deg) scale(1.12);transform-origin:center;background:radial-gradient(ellipse,rgba(0,0,0,.8) 0 20%,rgba(0,0,0,.48) 43%,transparent 73%)}
.jaguar[data-jaguar3d="idle"] .loading{opacity:0}
.jaguar[data-jaguar3d="loading"] .loading{opacity:1}
.jaguar[data-jaguar3d="ready"] .loading{opacity:0!important;pointer-events:none}
.jaguar[data-jaguar3d="ready"] .photo-fallback{opacity:0!important;visibility:hidden}
.jaguar[data-jaguar3d="ready"] .three-stage{display:block!important;filter:drop-shadow(0 22px 36px rgba(0,0,0,.46))}
.jaguar[data-jaguar3d="ready"] .controls{display:flex!important;opacity:1;pointer-events:auto}
.jaguar[data-jaguar3d="failed"] .loading{display:none}
.jaguar[data-jaguar3d="failed"] .photo-fallback{opacity:.96}
.jaguar[data-scene]:not([data-scene="0"]) .landscape--a{background-image:var(--scene-image)!important;background-position:center!important;opacity:1!important;filter:saturate(.78) contrast(1.12) brightness(.42);transform:scale(1.025)}
.jaguar[data-scene]:not([data-scene="0"]) .landscape--b{opacity:0!important}
.jaguar[data-scene]:not([data-scene="0"]) .world-vignette{background:radial-gradient(ellipse 72% 72% at 58% 48%,transparent 0 29%,rgba(0,4,2,.22) 61%,rgba(0,3,1,.82) 100%),linear-gradient(90deg,rgba(0,4,2,.8),transparent 36% 78%,rgba(0,4,2,.58))}
.jaguar[data-scene]:not([data-scene="0"]) .chapter{backdrop-filter:blur(10px)}
.jaguar[data-scene]:not([data-scene="0"]) .chapter__copy{max-width:760px}
.jaguar[data-scene]:not([data-scene="0"]) .chapter h2{font-size:clamp(28px,3.5vw,56px)}
.jaguar[data-scene]:not([data-scene="0"]) .chapter p{font-size:13px;max-width:650px;line-height:1.45}
.controls span{max-width:150px;text-align:right;line-height:1.45}
.three-stage canvas{touch-action:none}
@media(max-width:760px){
 .world{perspective:850px;perspective-origin:50% 48%}
 .jaguar[data-entered="true"][data-scene="0"] .room--mid{transform:translate3d(calc(var(--px)*-5px),calc(var(--py)*-3px),10px) scale(1.03)}
 .jaguar[data-entered="true"][data-scene="0"] .room--canopy{transform:translate3d(calc(var(--px)*-8px),calc(var(--py)*-5px),24px) scale(1.04)}
 .jaguar[data-entered="true"][data-scene="0"] .room--left,.jaguar[data-entered="true"][data-scene="0"] .room--right{transform:none}
 .jaguar[data-entered="true"][data-scene="0"] .foreground--left{transform:translate3d(calc(var(--px)*-8px),0,0) scale(1.03)}
 .jaguar[data-entered="true"][data-scene="0"] .foreground--right{transform:translate3d(calc(var(--px)*-10px),0,0) scale(1.03)}
 .jaguar[data-scene]:not([data-scene="0"]) .landscape--a{background-position:50% 45%!important;filter:saturate(.76) contrast(1.12) brightness(.35)}
 .jaguar[data-scene]:not([data-scene="0"]) .chapter h2{font-size:clamp(25px,8vw,36px)}
 .jaguar[data-jaguar3d="ready"] .three-stage{filter:drop-shadow(0 14px 24px rgba(0,0,0,.42))}
}
@media(prefers-reduced-motion:reduce){.room,.foreground,.landscape{transform:none!important;transition-duration:.01ms!important}.jaguar[data-jaguar3d="ready"] .three-stage{filter:none}}
