/**
 * STINA Home Motion — Lenis + GSAP helpers
 */

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

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

html.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

html.lenis.lenis-stopped {
    overflow: hidden;
}

/* GSAP owns entrance — disable conflicting CSS load animations */
html.has-motion:not(.motion-reduced) .hero-future__reveal,
html.has-motion:not(.motion-reduced) .hero-future__chamber {
    transition: none !important;
}

html.has-motion:not(.motion-reduced) .brand-portal__pillar,
html.has-motion:not(.motion-reduced) .quality-lab__node,
html.has-motion:not(.motion-reduced) .process-3d__step {
    animation: none !important;
}

html.has-motion:not(.motion-reduced) .home-refs__card {
    opacity: 0;
}

.home-refs {
    background: var(--home-surface);
}

html.motion-reduced .hero-future__reveal,
html.motion-reduced .hero-future__chamber {
    opacity: 1 !important;
    transform: none !important;
}

html.motion-reduced .brand-portal__pillar,
html.motion-reduced .quality-lab__node,
html.motion-reduced .process-3d__step,
html.motion-reduced .home-refs__card {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
    html.lenis.lenis-smooth {
        scroll-behavior: smooth !important;
    }
}
