/* Aerodynamic motion: a deliberate entrance, quiet idle, responsive interaction. */
.aero-scene{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;opacity:.7;transition:opacity .6s;mask-image:linear-gradient(90deg,transparent 25%,#000 57%);}
.aero-scene>svg{position:absolute;width:100%;height:100%;overflow:visible;fill:none;}
.aero-track{stroke:#96dce5;stroke-width:.65;opacity:.12;}
.aero-packet{stroke:#9eeff8;stroke-width:1.35;stroke-linecap:round;stroke-dasharray:3 97;opacity:.6;animation:aero-stream var(--lane-time,8s) linear var(--lane-delay,0s) infinite;animation-play-state:paused;}
.aero-halo{position:absolute;width:45%;aspect-ratio:1;left:55%;top:27%;border-radius:50%;background:radial-gradient(ellipse,#48c6e21c,transparent 66%);animation:aero-breathe 7s ease-in-out infinite;animation-play-state:paused;}
.motion-inview .aero-packet,.motion-inview .aero-halo{animation-play-state:running;}
.gallery.studying .aero-scene{opacity:0;}

/* Animate word wrappers, never the glyph transform used by text-airflow.js. */
.cinema-entering:not(.cinema-still) .cinema-word{animation:cinema-word-in .85s cubic-bezier(.16,1,.3,1) var(--word-delay,0ms) both;}
.cinema-entering:not(.cinema-still) .gallery-copy>.eyebrow{animation:cinema-copy-in .85s .08s both;}
.cinema-entering:not(.cinema-still) :is(.hero-sub,.product-intro){animation:cinema-copy-in .9s .5s both;}
.cinema-entering:not(.cinema-still) :is(.gallery-copy,.product-copy)>.text-cta{animation:cinema-copy-in .9s .65s both;}
.cinema-mounted .product-copy,.cinema-mounted .product-visual{animation:none;}
.cinema-entering:not(.cinema-still) .product-visual{animation:cinema-panel-in 1.2s .18s cubic-bezier(.16,1,.3,1) both;}
.cinema-entering:not(.cinema-still) .object-label{animation:cinema-label-in .8s .85s both;}
.cinema-entering:not(.cinema-still) [data-object=helmet] .object-label{animation-delay:1s;}
.cinema-entering:not(.cinema-still) [data-object=frame] .object-label{animation-delay:1.15s;}
.cinema-entering:not(.cinema-still) [data-object=bottle] .object-label{animation-delay:1.3s;}

.kinetic-panel{isolation:isolate;perspective:1000px;transition:border-color .4s,box-shadow .4s;}
.kinetic-panel canvas{position:relative;z-index:1;transform:rotateX(var(--panel-rx,0deg)) rotateY(var(--panel-ry,0deg));transition:transform .65s cubic-bezier(.16,1,.3,1);}
.kinetic-panel.panel-tracking{border-color:#a0e9f480;box-shadow:var(--glass-shadow),0 0 35px #76d4e512;}
.panel-light{position:absolute;inset:0;z-index:2;pointer-events:none;opacity:0;background:radial-gradient(circle at var(--panel-x,50%) var(--panel-y,50%),#a9f2ff20,transparent 50%);transition:opacity .45s;}
.panel-tracking .panel-light{opacity:1;}
.instrument-orbit{position:absolute;inset:9%;pointer-events:none;display:grid;place-items:center;z-index:0;opacity:.5;}
.instrument-orbit i{position:absolute;width:82%;aspect-ratio:1;border:1px solid #94e3ee28;border-radius:50%;animation:instrument-turn 36s linear infinite;animation-play-state:paused;}
.instrument-orbit i::before{content:"";position:absolute;width:6px;height:6px;left:50%;top:-3px;border-radius:50%;background:#a9f4f0;box-shadow:0 0 12px #a9f4f060;}
.instrument-orbit i:nth-child(2){width:65%;border-style:dashed;opacity:.6;animation-direction:reverse;animation-duration:52s;}
.instrument-orbit i:nth-child(2)::before{width:4px;height:4px;background:#e8ac86;box-shadow:0 0 12px #e8ac8640;}
.motion-inview .instrument-orbit i{animation-play-state:running;}
.kinetic-panel::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:2;background:linear-gradient(115deg,transparent 35%,#d0f8ff10 48%,#a9f3ff20 50%,transparent 54%);transform:translateX(-130%);animation:instrument-sweep 10s ease-in-out infinite;animation-play-state:paused;}
.kinetic-panel.motion-inview::before{animation-play-state:running;}
/* Replace the old vertical scan on these panels with the softer diagonal pass. */
.kinetic-panel.portal-art::after{display:none;}

.cinema-reveal{opacity:1;}
.cinema-mounted:not(.cinema-still) .cinema-reveal:not(.cinema-visible){opacity:0;translate:0 22px;}
.cinema-mounted .cinema-reveal{transition:opacity .7s var(--entry-delay,0ms),translate .8s cubic-bezier(.16,1,.3,1) var(--entry-delay,0ms),border-color .3s,box-shadow .3s;}
.product-feature{position:relative;}
.product-feature::after{content:"";position:absolute;left:32px;right:32px;top:0;height:1px;background:linear-gradient(90deg,transparent,#94edee,transparent);scale:0 1;transform-origin:left;transition:scale .65s cubic-bezier(.16,1,.3,1);}
.product-feature:hover::after,.product-feature:focus-within::after{scale:1 1;}
.product-feature:hover{border-color:#8fdce36b;box-shadow:var(--glass-shadow),0 12px 30px #020d1926;}

/* A single restrained moving highlight over the primary call to action. */
.cinema-mounted :is(.gallery-copy,.product-copy)>.text-cta{position:relative;overflow:hidden;isolation:isolate;}
.cinema-mounted :is(.gallery-copy,.product-copy)>.text-cta::after{content:"";position:absolute;inset:-50% -40%;pointer-events:none;background:linear-gradient(115deg,transparent 44%,#d6ffff20 50%,transparent 56%);transform:translateX(-110%);animation:instrument-sweep 7s 1.8s ease-in-out infinite;animation-play-state:paused;}
.cinema-mounted :is(.gallery-copy,.product-copy)>.text-cta.motion-inview::after{animation-play-state:running;}
html[data-theme=light] .aero-track,html[data-theme=light] .aero-packet{stroke:#137e9c;}
html[data-theme=light] .instrument-orbit i{border-color:#187d9940;}
html[data-theme=light] .instrument-orbit i::before{background:#148ba6;}

@keyframes aero-stream{from{stroke-dashoffset:100;}to{stroke-dashoffset:0;}}
@keyframes aero-breathe{0%,100%{opacity:.5;transform:scale(.94);}50%{opacity:1;transform:scale(1.06);}}
@keyframes cinema-word-in{from{opacity:0;translate:0 .48em;filter:blur(5px);}to{opacity:1;translate:0 0;filter:blur(0);}}
@keyframes cinema-copy-in{from{opacity:0;translate:0 12px;}to{opacity:1;translate:0 0;}}
@keyframes cinema-panel-in{from{opacity:0;translate:0 22px;scale:.97;}to{opacity:1;translate:0 0;scale:1;}}
@keyframes cinema-label-in{from{opacity:0;filter:blur(4px);}to{opacity:1;filter:blur(0);}}
@keyframes instrument-turn{to{transform:rotate(360deg);}}
@keyframes instrument-sweep{0%,55%{transform:translateX(-130%);}85%,100%{transform:translateX(130%);}}
@media(max-width:700px){
 .aero-scene{mask-image:linear-gradient(transparent 35%,#000 65%);opacity:.45;}
 .aero-halo{width:100%;left:0;top:45%;}
 .aero-packet:nth-of-type(4n){display:none;}
 .instrument-orbit{opacity:.35;}
 .instrument-orbit i:nth-child(2){display:none;}
 .product-feature::after{left:25px;right:25px;}
}
/* Pause is immediate; text never remains hidden midway through an entrance. */
html body.cinema-still :is(.cinema-word,.product-visual,.object-label,.hero-sub,.product-intro,.gallery-copy>.eyebrow,.gallery-copy>.text-cta,.product-copy>.text-cta){animation:none;}
html body.cinema-still .cinema-reveal{opacity:1;translate:none;transition:none;}
html body.cinema-still .kinetic-panel canvas{transform:none;transition:none;}
html body.cinema-still :is(.aero-packet,.aero-halo,.instrument-orbit i),html body.cinema-still .kinetic-panel::before,html body.cinema-still :is(.gallery-copy,.product-copy)>.text-cta::after{animation-play-state:paused;}
html body.cinema-suspended *,html body.cinema-suspended *::before,html body.cinema-suspended *::after{animation-play-state:paused!important;}
@media(prefers-reduced-motion:reduce){
 .cinema-word,.aero-packet,.aero-halo,.instrument-orbit i,.kinetic-panel::before{animation:none!important;}
 html body .cinema-reveal{opacity:1!important;translate:none!important;transition:none!important;}
 .kinetic-panel canvas{transform:none!important;}
 .cinema-mounted :is(.gallery-copy,.product-copy)>.text-cta::after{display:none;}
}
