/* ==========================================================================
   LENIS — required styles for the smooth-scroll module (js/smooth-scroll.js).

   Lenis puts these classes on <html> itself, and only while it is active. That
   matters for `scroll-behavior`: base.css keeps `scroll-behavior: smooth` so
   native smooth scrolling still works if Lenis fails to load from the CDN, and
   the override below only kicks in once Lenis is actually running (the two
   fight each other otherwise).
   ========================================================================== */

html.lenis,
html.lenis body { height: auto; }

.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* Opt an inner scroller out of Lenis with data-lenis-prevent. */
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

/* Applied while lenis.stop() is in effect — i.e. an overlay is open. */
.lenis.lenis-stopped { overflow: hidden; }

.lenis.lenis-smooth iframe { pointer-events: none; }
