/* ---------------------------------------------------------------------
   Vanilla-JS replacement for the Next.js/Framer-Motion driven scroll
   animations. These wrapper classes come from the original component
   library (FadeIn, FadeInUp, HeroFadeIn, FadeInRotate, MaskInUp,
   LineByLine, Parallax, grid items). The CSS below only sets up the
   transition; the actual reveal is triggered by assets/animations.js
   toggling the .is-visible class via IntersectionObserver.
   --------------------------------------------------------------------- */

/* Safety net: if JS fails to load for any reason, everything must still
   be fully visible (never rely on JS to merely "unhide" content). */
.FadeInRotate_container__QE9u9 {
    opacity: 1 !important;
}
@media (min-width: 850px) {
    .HeroFadeIn_container___NgC6 {
        color: inherit !important;
    }
}

.js-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0s);
}
.js-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.js-reveal-rotate {
    opacity: 0;
    transform: scale(0.8) rotate(-8deg);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--reveal-delay, 0s);
}
.js-reveal-rotate.is-visible {
    opacity: 1;
    transform: none;
}

.js-reveal-mask {
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0s);
}
.js-reveal-mask.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .js-reveal,
    .js-reveal-rotate,
    .js-reveal-mask {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
