/* V6.0.1 — home motion V2: visible, premium, GPU-friendly. */
.home-motion-on .app{position:relative;z-index:2}
.home-ambient{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.home-ambient span{position:absolute;pointer-events:none;will-change:transform,opacity}
.home-ambient .wave-a{width:78vw;height:28vw;min-width:420px;min-height:150px;top:4%;right:-34vw;border-radius:50%;background:radial-gradient(ellipse at center,rgba(22,129,150,.16) 0,rgba(22,129,150,.055) 46%,transparent 72%);transform:rotate(-18deg);animation:homeWaveA 9s cubic-bezier(.45,0,.55,1) infinite alternate}
.home-ambient .wave-b{width:72vw;height:30vw;min-width:390px;min-height:160px;bottom:8%;left:-34vw;border-radius:50%;background:radial-gradient(ellipse at center,rgba(155,68,63,.11) 0,rgba(155,68,63,.035) 48%,transparent 73%);transform:rotate(17deg);animation:homeWaveB 11s cubic-bezier(.45,0,.55,1) infinite alternate}
.home-ambient .glow-dot{width:190px;height:190px;top:42%;right:-80px;border-radius:50%;background:radial-gradient(circle,rgba(23,111,125,.11),transparent 69%);animation:homeGlowDrift 8s ease-in-out infinite alternate}

.home-motion-on .home-motion-item{animation:homeSpringIn .62s cubic-bezier(.16,.9,.28,1.08) both;animation-delay:var(--home-delay,0ms)}
.home-motion-on .header .logo{animation:homeLogoArrive .72s cubic-bezier(.16,.9,.28,1.12) both}
.home-motion-on .hero{isolation:isolate;transform:translateZ(0)}
.home-motion-on .hero-top,.home-motion-on .hero-actions{position:relative;z-index:3}

.home-hero-aurora{position:absolute;inset:0;z-index:1;overflow:hidden;border-radius:inherit;pointer-events:none}
.home-hero-aurora i{position:absolute;display:block;border-radius:50%;will-change:transform,opacity}
.home-hero-aurora .aurora-a{width:210px;height:210px;right:-56px;top:-76px;background:radial-gradient(circle at 42% 42%,rgba(255,255,255,.22),rgba(255,255,255,.045) 52%,transparent 72%);animation:heroAuroraA 6.5s ease-in-out infinite alternate}
.home-hero-aurora .aurora-b{width:180px;height:180px;left:-62px;bottom:-86px;background:radial-gradient(circle at 58% 40%,rgba(255,255,255,.16),rgba(255,255,255,.03) 55%,transparent 73%);animation:heroAuroraB 7.8s ease-in-out infinite alternate}
.home-hero-aurora .scan{width:38%;height:180%;top:-42%;left:112%;border-radius:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.12),rgba(255,255,255,.025),transparent);transform:rotate(13deg);animation:heroScan 5.6s cubic-bezier(.5,0,.25,1) 1.2s infinite}

.home-motion-on .ring.home-ready-pulse{animation:homeReadyPulse .72s cubic-bezier(.18,.85,.25,1.15) both}
.home-motion-on .ring::before{content:"";position:absolute;inset:-4px;border-radius:50%;border:1px solid rgba(255,255,255,.0);pointer-events:none}
.home-motion-on .ring.home-ready-pulse::before{animation:homeRingHalo .9s ease-out both}

.home-motion-on .hero-actions a,
.home-motion-on .focus-switch button,
.home-motion-on .exam-card,
.home-motion-on .tool,
.home-motion-on .home-resume-card,
.home-motion-on .mission-controls button{transition:transform .15s cubic-bezier(.2,.8,.2,1),box-shadow .18s ease,opacity .18s ease}
.home-motion-on .hero-actions a:active,
.home-motion-on .focus-switch button:active,
.home-motion-on .exam-card:active,
.home-motion-on .tool:active,
.home-motion-on .home-resume-card:active,
.home-motion-on .mission-controls button:active{transform:scale(.968)}

.home-motion-on .hero-primary{position:relative;overflow:hidden}
.home-motion-on .hero-primary::after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 30%,rgba(23,63,72,.08) 48%,transparent 65%);transform:translateX(115%);animation:homePrimarySweep 4.8s ease-in-out 2s infinite;pointer-events:none}
.home-motion-on .focus-switch button.active{position:relative;overflow:hidden}
.home-motion-on .focus-switch button.active::after{content:"";position:absolute;right:22%;left:22%;bottom:5px;height:2px;border-radius:999px;background:currentColor;opacity:.35;animation:homeActiveLine .46s cubic-bezier(.2,.8,.2,1) both}
.home-motion-on .tool i{transition:transform .18s cubic-bezier(.2,.8,.2,1)}
.home-motion-on .tool:active i{transform:scale(1.15) rotate(-5deg)}
.home-motion-on .home-resume-go{display:inline-block;animation:homeArrowNudge 2.6s ease-in-out 1.3s infinite}

@keyframes homeSpringIn{0%{opacity:0;transform:translateY(18px) scale(.972)}72%{opacity:1;transform:translateY(-2px) scale(1.004)}100%{opacity:1;transform:none}}
@keyframes homeLogoArrive{0%{opacity:0;transform:scale(.76) rotate(7deg)}68%{opacity:1;transform:scale(1.05) rotate(-2deg)}100%{opacity:1;transform:none}}
@keyframes homeWaveA{from{transform:translate3d(0,0,0) rotate(-18deg) scale(1)}to{transform:translate3d(-46px,34px,0) rotate(-12deg) scale(1.08)}}
@keyframes homeWaveB{from{transform:translate3d(0,0,0) rotate(17deg) scale(1)}to{transform:translate3d(48px,-30px,0) rotate(11deg) scale(1.06)}}
@keyframes homeGlowDrift{from{transform:translate3d(0,0,0) scale(.96);opacity:.62}to{transform:translate3d(-26px,-34px,0) scale(1.1);opacity:1}}
@keyframes heroAuroraA{from{transform:translate3d(0,0,0) scale(.9);opacity:.65}to{transform:translate3d(-28px,24px,0) scale(1.12);opacity:1}}
@keyframes heroAuroraB{from{transform:translate3d(0,0,0) scale(1);opacity:.5}to{transform:translate3d(30px,-22px,0) scale(1.13);opacity:.92}}
@keyframes heroScan{0%,54%{transform:translateX(0) rotate(13deg);opacity:0}61%{opacity:.8}82%{opacity:.45}100%{transform:translateX(-430%) rotate(13deg);opacity:0}}
@keyframes homeReadyPulse{0%{transform:scale(.88);opacity:.72}55%{transform:scale(1.06);opacity:1}100%{transform:scale(1);opacity:1}}
@keyframes homeRingHalo{0%{inset:-3px;border-color:rgba(255,255,255,.5);opacity:.8}100%{inset:-13px;border-color:rgba(255,255,255,0);opacity:0}}
@keyframes homePrimarySweep{0%,62%{transform:translateX(115%)}82%,100%{transform:translateX(-115%)}}
@keyframes homeActiveLine{from{transform:scaleX(.35);opacity:0}to{transform:scaleX(1);opacity:.35}}
@keyframes homeArrowNudge{0%,72%,100%{transform:translateX(0)}82%{transform:translateX(-4px)}90%{transform:translateX(0)}}

@media(hover:hover) and (pointer:fine){
  .home-motion-on .exam-card:hover,.home-motion-on .tool:hover,.home-motion-on .home-resume-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(23,50,58,.11)}
}
@media(max-width:520px){
  .home-ambient .wave-a{right:-62vw}.home-ambient .wave-b{left:-62vw}
  .home-hero-aurora .aurora-a{width:170px;height:170px}.home-hero-aurora .aurora-b{width:145px;height:145px}
}
@media(prefers-reduced-motion:reduce){
  .home-ambient{display:none!important}
  .home-motion-on .home-motion-item,.home-motion-on .header .logo,.home-hero-aurora i,.home-motion-on .ring.home-ready-pulse,.home-motion-on .ring.home-ready-pulse::before,.home-motion-on .hero-primary::after,.home-motion-on .focus-switch button.active::after,.home-motion-on .home-resume-go{animation:none!important}
  .home-motion-on .hero-actions a,.home-motion-on .focus-switch button,.home-motion-on .exam-card,.home-motion-on .tool,.home-motion-on .home-resume-card,.home-motion-on .mission-controls button{transition:none!important}
}
