/* ============================================================
   Lenis smooth-scroll — scoped & fully reversible.
   Neutralises native `scroll-behavior:smooth` ONLY while Lenis
   is active (it fights JS-driven scrolling). Existing CSS in
   homepage-base.css is left untouched.
   To remove smooth scroll entirely: delete this file's <link>,
   the two Lenis <script> tags, and script/smooth-scroll.js.
   ============================================================ */

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

/* Inner scroll areas (modals, dropdowns, menus) keep their own
   native scroll when tagged with data-lenis-prevent. */
html.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

/* Used when Lenis is programmatically stopped (e.g. menu open). */
html.lenis-stopped {
    overflow: hidden;
}

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