/*
 * Hero video overlay — hotfix, see app/Services/HeroVideoAssetService.php.
 * Layers a muted looping video over the existing hero photo (.hero-slide__bg
 * img) without touching that image's own markup, so the commerce photo still
 * renders first and paints immediately whether or not a video ever loads.
 *
 * Fully removable: delete this file, its two <link> references
 * (Front\MenuController::menuStyles(), Front\HomeController::menuStyles()),
 * public/assets/front/js/hero-video.js, and the <video data-hero-video>
 * blocks in Views/front/menu.php + Views/front/home.php.
 */
.hero-slide__bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 900ms ease;
}

.hero-slide__bg-video.is-ready {
    opacity: 1;
}

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