/* Motion V4 | InvesCore Bonds | motion perceptible at normal reading distance. */
/* The original premium layout and static colour palette remain unchanged. */
.screen{--v3-alpha:1}
#particles{opacity:1;z-index:-1;filter:drop-shadow(0 0 1px rgba(192,239,255,.12))}
.world-grid{opacity:.69}
.bloom{animation:v3Bloom 9s ease-in-out infinite alternate}
.orbit-one{animation:v3OrbitDriftOne 24s ease-in-out infinite alternate}
.orbit-two{animation:v3OrbitDriftTwo 29s ease-in-out infinite alternate-reverse}
.orbit-three{animation:v3OrbitDriftThree 33s ease-in-out infinite alternate}
/* A slightly brighter moving filament crosses the established diagonal line. */
.motion-ray{opacity:.9}
.motion-ray::before{width:clamp(140px,19vw,335px);opacity:.95;animation:v3LightSweep 8.7s linear infinite;filter:drop-shadow(0 0 6px rgba(185,236,251,.62))}
.motion-ray::after{width:clamp(95px,12vw,190px);animation:v3LightSweep 12.3s -4.6s linear infinite;opacity:.42}
/* A luminous bead visibly orbits the 3/3 composition. */
.motion-orbit-marker{animation:markerRotation 17s linear infinite}
.motion-orbit-marker.marker-secondary{animation:markerRotation 23s linear infinite reverse;opacity:.83}
.motion-orbit-marker::before{width:7px;height:7px;box-shadow:0 0 0 5px rgba(195,231,250,.065),0 0 20px 3px rgba(188,231,249,.8)}
.motion-orbit-marker.marker-secondary::before{width:5px;height:5px;box-shadow:0 0 0 4px rgba(231,35,59,.13),0 0 24px 3px rgba(240,46,73,.65)}
.status-arc{animation:v3ArcMove 11s ease-in-out infinite alternate;border-top-color:rgba(224,245,252,.45)}
.status-halo{animation:v3Halo 5.3s ease-in-out infinite alternate}
.ring-total{animation:v3NumberLight 5.3s ease-in-out infinite alternate}
/* Timeline: completed line remains filled; a scanner repeatedly travels across it. */
.progress-track::after{animation:trace 1.85s .2s cubic-bezier(.22,.68,.2,1) both}
.progress-track .motion-trace-head{left:0;top:2px;width:12px;height:12px;animation:v3ProgressScanner 9s 1s linear infinite;opacity:0;background:#fff;box-shadow:0 0 0 4px rgba(225,29,50,.48),0 0 13px 5px rgba(236,49,66,.74),0 0 27px 8px rgba(230,45,67,.26)}
.step-dot{animation:none;background:#e31e31;border-color:#fff;box-shadow:0 0 0 5px rgba(225,29,49,.12),0 0 14px rgba(231,40,56,.27)}
.step:nth-of-type(1) .step-dot{animation:v3DotPulse 9s 1.0s ease-out infinite}
.step:nth-of-type(2) .step-dot{animation:v3DotPulse 9s 2.55s ease-out infinite}
.step:nth-of-type(3) .step-dot{animation:v3DotPulse 9s 4.05s ease-out infinite}
/* Slow ambient lines continue moving independently of pointer input. */
.global-sweep{animation:v3SweepShift 15s ease-in-out infinite alternate}
@keyframes v3Bloom {from{opacity:.72;transform:translate3d(-16px,6px,0) scale(.97)}to{opacity:1;transform:translate3d(12px,-6px,0) scale(1.06)}}
@keyframes v3OrbitDriftOne{from{transform:translate3d(-18px,12px,0)}to{transform:translate3d(24px,-18px,0) scale(1.015)}}
@keyframes v3OrbitDriftTwo{from{transform:translate3d(19px,-11px,0)}to{transform:translate3d(-22px,21px,0) scale(.99)}}
@keyframes v3OrbitDriftThree{from{transform:translate3d(-14px,9px,0)}to{transform:translate3d(16px,-14px,0) scale(1.022)}}
@keyframes v3LightSweep{0%{transform:translateX(-160%);opacity:0}7%{opacity:.95}73%{opacity:.95}89%,100%{transform:translateX(800%);opacity:0}}
@keyframes v3ArcMove{from{transform:rotate(6deg) scaleX(1.14);opacity:.55}to{transform:rotate(67deg) scaleX(1.16);opacity:1}}
@keyframes v3Halo{from{transform:scale(.92);opacity:.53}to{transform:scale(1.09);opacity:1}}
@keyframes v3NumberLight{from{filter:drop-shadow(0 0 1px rgba(137,222,250,.04))}to{filter:drop-shadow(0 0 22px rgba(137,222,250,.21))}}
@keyframes v3SweepShift{from{opacity:.48;transform:translateY(-13px) rotate(-12deg)}to{opacity:.95;transform:translateY(16px) rotate(-11.7deg)}}
@keyframes v3ProgressScanner{0%{left:0;opacity:0;transform:scale(.65)}5%{opacity:1;transform:scale(1)}46%{left:calc(100% - 12px);opacity:1;transform:scale(1.12)}50%{opacity:0;transform:scale(.7)}51%,100%{left:calc(100% - 12px);opacity:0}}
@keyframes v3DotPulse{0%,8%,100%{transform:scale(1);box-shadow:0 0 0 5px rgba(225,29,49,.12),0 0 14px rgba(231,40,56,.28)}12%{transform:scale(1.28);box-shadow:0 0 0 11px rgba(225,29,49,.13),0 0 29px rgba(231,40,56,.74)}20%{transform:scale(1);box-shadow:0 0 0 16px rgba(225,29,49,0),0 0 15px rgba(231,40,56,.32)}}
@media(max-width:800px){.motion-orbit-marker{animation-duration:21s}.motion-orbit-marker.marker-secondary{animation-duration:27s}.motion-ray::before{width:130px;animation-duration:10s}.status-halo{animation-duration:7s}}

/* Motion V4: motion is progressive enhancement and starts without user input. */
#particles{opacity:1;transform:translateZ(0)}
.motion-orbit-marker{animation-duration:12s}
.motion-orbit-marker.marker-secondary{animation-duration:19s}
.motion-ray::before{animation-duration:6.8s}
.motion-ray::after{animation-duration:11s}
.progress-track .motion-trace-head{animation-duration:8.2s}
.step:nth-of-type(1) .step-dot{animation-duration:8.2s}
.step:nth-of-type(2) .step-dot{animation-duration:8.2s}
.step:nth-of-type(3) .step-dot{animation-duration:8.2s}

/* Reduced motion is a user preference, not an application error.
   Keep slow twinkling light and an opacity-only sequence of settled tranche
   markers; remove large transforms, rotating orbits and sweeping scanners. */
@media(prefers-reduced-motion:reduce){
 #particles{opacity:.9}
 .bloom{animation:v4QuietBreath 8s ease-in-out infinite alternate}
 .orbit-one,.orbit-two,.orbit-three,.global-sweep,.status-arc,.status-halo,.ring-total,.visual::before{animation:none!important;transform:none!important}
 .motion-orbit-marker{animation:none!important}
 .motion-ray::before,.motion-ray::after,.progress-track .motion-trace-head{display:none!important}
 .progress-track::after{animation:none!important;transform:scaleX(1)!important}
 .step-dot{transform:none!important;animation:v4QuietDot 8.2s linear infinite!important}
 .step:nth-of-type(1) .step-dot{animation-delay:0s!important}
 .step:nth-of-type(2) .step-dot{animation-delay:2.7s!important}
 .step:nth-of-type(3) .step-dot{animation-delay:5.4s!important}
 .sparks .spark{animation:v4QuietSpark 6s ease-in-out infinite alternate}
 .ring-total{filter:none!important}
}
@keyframes v4QuietDot{
 0%,14%,100%{opacity:.72;box-shadow:0 0 0 4px rgba(225,29,49,.10),0 0 9px rgba(231,40,56,.16)}
 16%,24%{opacity:1;box-shadow:0 0 0 5px rgba(225,29,49,.16),0 0 15px rgba(231,40,56,.48)}
}
@keyframes v4QuietBreath{from{opacity:.52}to{opacity:.8}}
@keyframes v4QuietSpark{from{opacity:.40}to{opacity:.95}}
@media(max-width:680px){
 .motion-orbit-marker{animation-duration:23s}
 .motion-ray::before{animation-duration:10s}
}
