/* A single quiet image glitch, timed from the logo's actual playback start. */
.hero-glitch-slice{position:absolute;inset:0;background-image:inherit;background-size:inherit;background-position:inherit;background-repeat:no-repeat;pointer-events:none;opacity:0}
.hero-glitch-once{animation:hero-glitch-nudge 420ms steps(1,end) 320ms}
.hero-glitch-once .hero-glitch-cyan{filter:drop-shadow(2.90px 0 #74dde1);animation:hero-glitch-cyan 420ms steps(1,end) 320ms}
.hero-glitch-once .hero-glitch-warm{filter:drop-shadow(-2.90px 0 #dc8fa2);animation:hero-glitch-warm 420ms steps(1,end) 320ms}
@keyframes hero-glitch-nudge{0%,24%,55%,100%{transform:none}12%{transform:translateX(2.90px)}37%{transform:translateX(-2.90px)}68%{transform:translateX(1.45px)}82%{transform:none}}
@keyframes hero-glitch-cyan{0%,24%,55%,100%{opacity:0}12%{opacity:0.880;clip-path:inset(24% 0 71%);transform:translateX(7.26px)}37%{opacity:0.678;clip-path:inset(63% 0 33%);transform:translateX(-5.81px)}68%{opacity:0.475;clip-path:inset(42% 0 55%);transform:translateX(4.36px)}82%{opacity:0}}
@keyframes hero-glitch-warm{0%,24%,55%,100%{opacity:0}12%{opacity:0.542;clip-path:inset(66% 0 31%);transform:translateX(-5.81px)}37%{opacity:0.609;clip-path:inset(29% 0 68%);transform:translateX(5.81px)}68%{opacity:0.339;clip-path:inset(76% 0 22%);transform:translateX(-2.90px)}82%{opacity:0}}
.hero-glitch-once .hero-glitch-upper{animation:hero-glitch-upper 420ms steps(1,end) 320ms}
.hero-glitch-once .hero-glitch-artifacts{background-image:repeating-linear-gradient(0deg,transparent 0 3.60px,#74dde180 3.60px 4.80px,transparent 4.80px 9.60px),linear-gradient(90deg,#0b0019 0 17%,transparent 17% 32%,#f3f3f3 32% 40%,transparent 40% 71%,#74dde1 71% 84%,transparent 84%);background-size:100% 100%;mix-blend-mode:screen;animation:hero-glitch-artifacts 420ms steps(1,end) 320ms}
@keyframes hero-glitch-upper{0%,24%,55%,100%{opacity:0}12%{opacity:0.678;transform:translateX(-7.92px);clip-path:polygon(7% 7%,26% 7%,26% 8.5%,7% 8.5%,7% 7%,52% 13%,86% 13%,86% 16%,52% 16%,52% 13%)}37%{opacity:0.616;transform:translateX(9.24px);clip-path:polygon(15% 18%,43% 18%,43% 20%,15% 20%,15% 18%,67% 5%,94% 5%,94% 6.5%,67% 6.5%,67% 5%)}68%{opacity:0.370;transform:translateX(-3.96px);clip-path:inset(11% 8% 88% 36%)}82%{opacity:0}}
@keyframes hero-glitch-artifacts{0%,24%,55%,100%{opacity:0}12%{opacity:0.246;clip-path:polygon(11% 8%,28% 8%,28% 9%,11% 9%,11% 8%,61% 16%,88% 16%,88% 17%,61% 17%,61% 16%)}37%{opacity:0.209;clip-path:polygon(34% 6%,47% 6%,47% 7%,34% 7%,34% 6%,73% 20%,91% 20%,91% 21.5%,73% 21.5%,73% 20%)}68%{opacity:0.123;clip-path:inset(12% 38% 87% 9%)}82%{opacity:0}}
@media(prefers-reduced-motion:reduce){.hero-glitch-once,.hero-glitch-once .hero-glitch-slice{animation:none}.hero-glitch-slice{display:none}}
/* Mobile camera move starts with the logo/glitch and eases into the approved crop. */
@media(max-width:600px) and (prefers-reduced-motion:no-preference){
 .home .hero-art.hero-pan-pending{background-position:100% center}
 .home .hero-art.hero-glitch-once{background-position:14% center;animation:hero-glitch-nudge 420ms steps(1,end) 320ms,hero-mobile-pan calc(var(--hero-pan-duration,3s) - .9s) cubic-bezier(.22,1,.36,1) 900ms backwards}
}
@keyframes hero-mobile-pan{from{background-position:100% center}to{background-position:14% center}}
@media(prefers-reduced-motion:reduce){.home .hero-art.hero-pan-pending{background-position:14% center}}
