/* Explain: Styles for the rotating hero video background on the homepage. */
/* ---- Homepage rotating hero video background ---- */
.hero-video-stage {
    overflow: hidden;
    background: var(--background-color);
}

.hero-video {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    filter: brightness(1.35) contrast(1.06) saturate(1.1);
    transition: opacity 1.2s ease;
}

.hero-video.is-active {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .hero-video {
        transition: none;
    }
}