html,
body {
    overflow-x: clip;
}

/* ========================================
   SK RESORTS — SCROLL ANIMATIONS
======================================== */

/* Default: fade + slide up */
html.js-animations .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 1.2s ease,
        transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Default visible state */
html.js-animations .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   VARIANT 1 — SLIDE FROM LEFT
======================================== */

html.js-animations .reveal.reveal-left {
    transform: translateX(-22px);
}

html.js-animations .reveal.reveal-left.is-visible {
    transform: translateX(0);
}

/* ========================================
   VARIANT 2 — SLIDE FROM RIGHT
======================================== */

html.js-animations .reveal.reveal-right {
    transform: translateX(22px);
}

html.js-animations .reveal.reveal-right.is-visible {
    transform: translateX(0);
}

/* ========================================
   VARIANT 3 — SOFT ZOOM
======================================== */

html.js-animations .reveal.reveal-zoom {
    transform: scale(0.97);
}

html.js-animations .reveal.reveal-zoom.is-visible {
    transform: scale(1);
}

/* ========================================
   VARIANT 4 — SOFT BLUR
======================================== */

html.js-animations .reveal.reveal-blur {
    filter: blur(5px);
    transform: translateY(10px);
}

html.js-animations .reveal.reveal-blur.is-visible {
    filter: blur(0);
    transform: translateY(0);
}

/* ========================================
   STAGGERED IMAGE GRIDS
======================================== */

html.js-animations .reveal-stagger > * {
    opacity: 0;
    transform: translateY(16px) scale(0.99);
    transition:
        opacity 1s ease,
        transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js-animations .reveal-stagger.is-visible > * {
    opacity: 1;
    transform: translateY(0) scale(1);
}

html.js-animations .reveal-stagger.is-visible > *:nth-child(1) {
    transition-delay: 0.1s;
}

html.js-animations .reveal-stagger.is-visible > *:nth-child(2) {
    transition-delay: 0.3s;
}

html.js-animations .reveal-stagger.is-visible > *:nth-child(3) {
    transition-delay: 0.5s;
}

/* ========================================
   ACCESSIBILITY
======================================== */

@media (prefers-reduced-motion: reduce) {
    html.js-animations .reveal,
    html.js-animations .reveal-stagger > * {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
        transition-delay: 0s;
    }
}
