.home-slider {
    background: #1b2327;
    position: relative;
}

.home-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100vh;
    isolation: isolate;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 40%);
    z-index: 1;
    pointer-events: none;
}

.home-hero .link {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.home-hero .textcontainer {
    position: relative;
    width: 100%;
    margin-top: 18vh;
    z-index: 2;
}

.home-hero h2,
.home-hero p {
    color: #fff;
    font-weight: 700;
    margin: 0;
}

.home-hero h2 {
    font-size: clamp(1.5rem, 7vw, 6.25rem);
    line-height: 1;
    letter-spacing: 0.01em;
}

.home-hero h2.bg-black,
.home-hero p.bg-black {
    width: fit-content;
}

.home-hero p {
    font-size: clamp(0.75rem, 3vw, 1.5rem);
    line-height: 1.1;
}

.home-hero-media,
.home-hero-media picture,
.home-hero-media img,
.bolero-hero-video,
.bolero-youtube-hero {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-hero-media img,
.bolero-hero-video {
    object-fit: cover;
}

.bolero-youtube-hero {
    display: grid;
    place-items: center;
    overflow: hidden;
    container-type: size;
    pointer-events: none;
}

.bolero-youtube-hero .video-foreground {
    width: max(100%, 177.78cqh);
    height: max(100%, 56.25cqw);
}

.bolero-youtube-hero iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.bolero-youtube-hero[hidden],
.bolero-hero-video[hidden] {
    display: none;
}

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

/* The homepage uses four of the animations in the full AOS stylesheet. */
@media (prefers-reduced-motion: no-preference) {
    .home [data-aos].aos-init {
        opacity: 0;
        transition: opacity 800ms ease, transform 800ms ease;
    }
    .home [data-aos="fade-up"].aos-init { transform: translateY(100px); }
    .home [data-aos="fade-right"].aos-init { transform: translateX(-100px); }
    .home [data-aos="fade-left"].aos-init { transform: translateX(100px); }
    .home [data-aos].aos-animate { opacity: 1; transform: none; }
    .home [data-aos].aos-animate[data-aos-delay="100"] { transition-delay: 100ms; }
    .home [data-aos].aos-animate[data-aos-delay="200"] { transition-delay: 200ms; }
    .home [data-aos].aos-animate[data-aos-delay="300"] { transition-delay: 300ms; }
    .home [data-aos].aos-animate[data-aos-delay="400"] { transition-delay: 400ms; }
    .home [data-aos].aos-animate[data-aos-delay="500"] { transition-delay: 500ms; }
}
