.hero[data-home-hero] .hero__cover { background: #302321; }
.hero[data-home-hero] .home-hero-movie { opacity: 0; }
.hero[data-home-hero] .home-hero-movie.is-playing { opacity: 1; }
.home-hero-controls {
    position: absolute;
    z-index: 2;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    color: white;
}
.home-hero-controls[hidden] { display: none; }
.home-hero-controls button {
    position: relative;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: inherit;
    background: transparent;
    cursor: pointer;
}
.home-hero-controls button:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }
.home-hero-controls [data-hero-index]::after {
    content: '';
    width: 28px;
    height: 3px;
    border-radius: 3px;
    background: currentColor;
    opacity: .5;
    box-shadow: 0 1px 2px rgb(0 0 0 / 65%);
}
.home-hero-controls [aria-pressed="true"]::after { opacity: 1; }
.home-hero-controls [data-hero-playback]::after {
    content: '';
    box-sizing: border-box;
    width: 9px;
    height: 12px;
    border-inline: 3px solid currentColor;
    filter: drop-shadow(0 1px 1px #333);
}
.home-hero-controls [data-paused="true"]::after {
    width: 0;
    height: 0;
    border: solid transparent;
    border-width: 6px 0 6px 9px;
    border-left-color: currentColor;
}
@media (min-width: 768px) {
    .hero[data-home-hero="0"] .hero__cover::before {
        background: linear-gradient(to top, rgb(0 0 0 / 48%), rgb(0 0 0 / 14%) 60%);
    }
}

/* Keep the banner stable when the address bar moves during touch scrolling. */
@media (max-width: 767.98px), (max-width: 1199.98px) and (pointer: coarse) {
    .hero[data-home-hero] { height: calc(100svh - var(--info-bar-height)); }
}
