/* Smooth scrolling (Lenis) + site-wide performance overrides. Loaded on every page with smooth.js. */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* The old mouse spotlight re-positions a 600px layer on every mouse move; the cards' own glow replaces it */
.mouse-spotlight { display: none !important; }

/* Backdrop blur on every eyebrow badge is re-computed while scrolling; the badge background is enough */
.eyebrow-badge { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }

/* Keep the fixed background grid on its own compositor layer so scrolling doesn't repaint it */
body::before { transform: translateZ(0); will-change: transform; }

/* Looping animations pause while their section is off screen (class toggled by smooth.js) */
.is-offscreen, .is-offscreen * { animation-play-state: paused !important; }
