/* ==============================
   Hero Video – Play Once + Scroll Cue
   ============================== */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

    /* Video */
    .hero video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
        object-position: center center;
    }

/* Dark overlay 
    .hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 1;
    }*/

/* Scroll indicator (DEFAULT: hidden, no animation) */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    opacity: 0; /* hidden */
    pointer-events: none;
}




/* Fade in animation */
@keyframes fadeInScroll {
    from {
        opacity: 0;
        transform: translate(-50%, 8px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Active state (added by JS when video ends) */
.hero.show-scroll .scroll-indicator {
    animation-delay: 0.2s;
}

/* Mobile viewport fix */
@media (max-width: 768px) {
    .hero {
        height: 100svh;
    }

    .scroll-indicator {
        font-size: 0.60rem;
        letter-spacing: 0.3em;
    }
}

/* Only animate AFTER JS toggles the class */
.hero.show-scroll .scroll-indicator {
    animation: fadeInScroll 1.6s ease forwards;
}
