/* The camera owns the image plane; native page scrolling remains untouched. */
html[data-cinematic=on] .scene-camera{position:absolute;inset:0;transform-origin:50% 50%;backface-visibility:hidden}
html[data-cinematic=on] .scene-camera>img,html[data-cinematic=on] .scene-camera>#journey-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:none}
html[data-cinematic=on] .world-layer{overflow:hidden;contain:paint}
html[data-cinematic=on] .camera-light{position:absolute;inset:-12% -35%;z-index:5;pointer-events:none;opacity:0;background:linear-gradient(100deg,transparent 35%,#fff6e2a6 50%,#e3344538 52%,transparent 68%);mix-blend-mode:screen}
html[data-cinematic=on][data-motion=on] .scene-content[data-copy=cinematic]{transform:translate3d(0,var(--copy-y,0px),0);opacity:var(--copy-opacity,1)}
html[data-cinematic=on][data-motion=on] .scene-content[data-copy=cinematic]>.eyebrow{transform:translate3d(0,calc((1 - var(--copy-reveal,1))*-9px),0)}
html[data-cinematic=on][data-motion=on] .scene-content[data-copy=cinematic]>.actions{transform:translate3d(0,calc((1 - var(--copy-reveal,1))*16px),0)}
html[data-cinematic=on][data-motion=on] .scene-content:focus-within{opacity:1!important;transform:none!important}
html[data-cinematic=on] .scene-content[data-copy=steady]{opacity:1;transform:none}
html[data-cinematic=on][data-motion=off] .still img{transform:scale(1.025)}
html[data-cinematic=on][data-motion=off] .scene-content{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){html[data-cinematic=on] .world{display:none!important}html[data-cinematic=on] .scene-content,html[data-cinematic=on] .scene-content>*{opacity:1!important;transform:none!important}}

/* Compact performer walks on top of the actual phone glyphs. */
.robot-stage{transform-origin:0 0;z-index:6}.phone-glyph{display:inline-block;white-space:pre}.robot-stage[data-action=perch] .robot-rig{animation:digit-balance 1.8s ease-in-out infinite}.robot-stage[data-action=jump] .robot-rig{animation:none}
@keyframes digit-balance{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(2deg)}}
@media(prefers-reduced-motion:reduce){.robot-stage[data-action=perch] .robot-rig{animation:none}}

/* One viewport scrim avoids horizontal bands where flow sections meet. */
html[data-cinematic=on][data-motion=on] .scene{background:transparent}
html[data-cinematic=on][data-motion=on] .scene-scrim,html[data-cinematic=on][data-motion=on] .scene:after,html[data-cinematic=on][data-motion=on] .space-depth{display:none}
html[data-cinematic=on][data-motion=on] .world:after{content:'';position:absolute;inset:0;z-index:6;pointer-events:none;background:linear-gradient(90deg,#fffdf9e0 0,#fffdf9ba 25%,#fffdf93b 49%,transparent 72%)}
html[data-cinematic=on][data-motion=off] .scene{background:transparent}
html[data-cinematic=on][data-motion=off] .still{z-index:0}
html[data-cinematic=on][data-motion=off] .space-depth{z-index:1}
html[data-cinematic=on][data-motion=off] .scene-scrim{z-index:2}
@media(max-width:700px){html[data-cinematic=on][data-motion=on] .world:after{background:linear-gradient(180deg,transparent 16%,#fffdf909 35%,#fffdf9d9 68%,#fffdf9f2 100%)}}

html[data-cinematic=on][data-motion=off] .still>img{position:absolute;inset:0;z-index:0}
