/* V19 — depth from the existing key art, not a light effect over the picture. */
.hero.hero-approved{--hero-x:0;--hero-y:0}
.hero-depth{position:absolute;top:0;left:50%;width:100%;max-width:1680px;aspect-ratio:1672/650;transform:translateX(-50%);overflow:hidden;isolation:isolate;opacity:0;pointer-events:none}
.hero-depth .depth-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}
.hero-depth .depth-layer{position:absolute;left:var(--layer-x);top:var(--layer-y);width:var(--layer-w);height:var(--layer-h);transform:translate3d(0,0,0);will-change:auto}
.depth-layer img{display:block;width:100%;height:100%;object-fit:fill}
.depth-left{z-index:2;transform-origin:left bottom}
.depth-right{z-index:2;transform-origin:right bottom}
.depth-logo{z-index:1;transform-origin:center 46%}
.hero-depth-ready .hero-depth{opacity:1}
.hero-depth-ready .approved-art{opacity:0}
.hero-depth-ready .hero-depth:after{content:'';position:absolute;inset:auto 0 0;height:18%;background:linear-gradient(transparent,#080b17);z-index:4;pointer-events:none}
.hero-depth-ready.hero-depth-active .depth-layer{will-change:transform}
.hero-depth-active .depth-left{transform:translate3d(calc(var(--hero-x) * -4px),calc(var(--hero-y) * 2px),0)}
.hero-depth-active .depth-right{transform:translate3d(calc(var(--hero-x) * 4px),calc(var(--hero-y) * 2px),0)}
.hero-depth-active .depth-logo{transform:translate3d(calc(var(--hero-x) * 2px),calc(var(--hero-y) * -2px),0)}
.hero-depth-active .depth-left img{animation:depth-left-idle 7.5s ease-in-out infinite}
.hero-depth-active .depth-right img{animation:depth-right-idle 8.5s ease-in-out -2.7s infinite}
.hero-depth-active .depth-logo img{animation:depth-logo-idle 6.8s ease-in-out infinite}
.depth-logo-sheen{position:absolute;inset:0;pointer-events:none;mask-image:url('art/hero-layers/logo.webp');mask-size:100% 100%;mask-mode:alpha;overflow:hidden}
.depth-logo-sheen:before{content:'';position:absolute;inset:0;background:linear-gradient(115deg,transparent 37%,#fff5b900 44%,#fff9d050 50%,#fff5c800 57%,transparent 64%);transform:translateX(-115%);mix-blend-mode:screen;opacity:.65}
.hero-depth-active .depth-logo-sheen:before{animation:depth-metal 9s 2s ease-in-out infinite}
@keyframes depth-left-idle{0%,100%{transform:translate(0,0)}50%{transform:translate(2px,-2px)}}
@keyframes depth-right-idle{0%,100%{transform:translate(0,0)}50%{transform:translate(-2px,-2px)}}
@keyframes depth-logo-idle{0%,100%{transform:scale(1)}50%{transform:scale(1.007)}}
@keyframes depth-metal{0%,65%{transform:translateX(-115%)}88%,100%{transform:translateX(115%)}}
.show-trailer-ring{display:none!important}
.hero-action-film.show-active img{animation:none}
.hero-action-film .fx-button-sweep:before{animation-duration:9s}
@media(max-width:800px){.hero-depth-ready .hero-depth:after{height:12%}.hero-depth-active .depth-left,.hero-depth-active .depth-right,.hero-depth-active .depth-logo{transform:none}.hero-depth-active .depth-left img,.hero-depth-active .depth-right img{animation:none}.hero-depth-active .depth-logo img{animation-duration:8s}}
@media(prefers-reduced-motion:reduce){.hero-depth{display:none!important}.hero-depth-ready .approved-art{opacity:1!important}.depth-layer,.depth-layer img,.depth-logo-sheen:before{animation:none!important;transform:none!important}}

/* Geometry in the stylesheet so the preview CSP permits every layer. */
.hero-depth .depth-left{--layer-x:0.0%;--layer-y:2.0%;--layer-w:33.433014%;--layer-h:98.0%;}
.hero-depth .depth-right{--layer-x:65.07177%;--layer-y:7.076923%;--layer-w:34.92823%;--layer-h:92.923077%;}
.hero-depth .depth-logo{--layer-x:30.203349%;--layer-y:1.076923%;--layer-w:39.772727%;--layer-h:64.307692%;}

/* V20: two original brand energies, sharp transparent glass, no violet or blur. */
.knowledge-body .civic-card{--fx-accent:#00D4FF;--fx-rgb:0,87,255;--civic-accent:#00D4FF;--civic-rgb:0,87,255;--mk-energy:#00D4FF;border-color:#00A6FF;background:radial-gradient(ellipse at 50% 30%,#0057FF30,transparent 72%),linear-gradient(145deg,#0057FF24,#07142790 80%);box-shadow:inset 0 1px 5px #00D4FF55,inset 0 -12px 25px #0057FF22,0 0 18px #0057FF55,0 9px 24px #0007;backdrop-filter:none!important}
.knowledge-body .civic-quotes{--fx-accent:#FF0038;--fx-rgb:255,0,56;--civic-accent:#FF0038;--civic-rgb:255,0,56;--mk-energy:#FF0038;border-color:#FF0038;background:radial-gradient(ellipse at 50% 30%,#FF003832,transparent 72%),linear-gradient(145deg,#FF003820,#20091390 80%);box-shadow:inset 0 1px 5px #FF637E55,inset 0 -12px 25px #FF003822,0 0 18px #FF003855,0 9px 24px #0007}
.knowledge-body .civic-quotes .fx-orbit{color:#FF315C}
.knowledge-body .civic-card .show-ion{background:linear-gradient(90deg,transparent,var(--fx-accent),#fff,var(--fx-accent),transparent)}
.civic-question.quiz{--mk-energy:#00D4FF;border-color:#0057FF;background:radial-gradient(ellipse at 0% 0%,#0057FF24,transparent 65%),radial-gradient(ellipse at 100% 100%,#FF00381C,transparent 55%),linear-gradient(145deg,#112647A8,#080F1CDA);box-shadow:inset 0 1px 5px #00D4FF33,0 0 17px #0057FF55;backdrop-filter:none!important}
.hero-approved .hero-action-gold .fx-button-sweep,.gold-art-action .fx-button-sweep{inset:5% 3%;clip-path:polygon(15% 5%,94% 5%,100% 24%,91% 95%,9% 95%,4% 74%)}

/* V21: keep idle motion out of the one-shot cinematic accents. */
.hero-depth{contain:layout paint;backface-visibility:hidden}
.hero-intro-running .depth-layer img,.hero-intro-running .hero-action img{animation:none!important}
.hero-intro-running .depth-logo-sheen:before{animation:none!important}
.hero-intro-running .depth-layer,.hero-intro-running .hero-action img{will-change:transform,opacity}
.hero-depth-ready:not(.hero-depth-active) .depth-layer{will-change:auto}
.depth-left img{transform-origin:0 100%}
.depth-right img{transform-origin:100% 100%}
.depth-logo img{transform-origin:50% 46%}
.hero-intro-running .depth-layer{transform:none}
