/* ==============================
   Opening Video — full-screen intro shown on arrival
   ============================== */

body.intro-playing {
    overflow: hidden;
}

.intro {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.intro.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.intro__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000 url('../photos/opening-poster.jpg') center / cover no-repeat;
}

/* Wide screens (laptops): show the whole vertical video instead of cropping it */
@media (min-aspect-ratio: 3/4) {
    .intro__video {
        object-fit: contain;
        background-size: contain;
    }
}

.intro__play {
    position: absolute;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 26px;
    padding-left: 6px;
    cursor: pointer;
}

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