/* Performance layer: loaded last, overrides heavy effects on each page */
/* 1. Frosted glass is the main cause of scroll jank: remove it everywhere, nav switches to an opaque white background */
*,*::before,*::after{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.nav{background:rgba(255,255,255,.97)!important}
/* 2. Pause animations in sections outside the viewport (flagged by perf.js) */
[data-off],[data-off] *,[data-off] *::before,[data-off] *::after{animation-play-state:paused!important}
html.page-hidden *,html.page-hidden *::before,html.page-hidden *::after{animation-play-state:paused!important}
/* 3. (content-visibility removed: fast scrolling caused blank areas and layout jumps) */
/* 4. Large blurred glow spots get their own layer to avoid repaints during scrolling */
.o1,.o2,.orb,.cta-aurora,svg[class*="-bg"],[class*="-orbs"],[class*="aurora"]{will-change:transform;transform:translateZ(0)}
/* 5. Hero glow spots: recomputing SVG blur every frame is expensive. Spots stay static; the whole layer runs a composited animation (transform only) */
g.hs{animation:none!important}
svg:has(> g.hs),svg:has(> g > g.hs){will-change:transform;animation:perfDrift 16s ease-in-out infinite alternate}
@keyframes perfDrift{from{transform:translate3d(-1.5%,0,0) scale(1.04)}to{transform:translate3d(1.5%,-1%,0) scale(1.08)}}
@media (prefers-reduced-motion:reduce){svg:has(> g.hs){animation:none}}
