/* Full-screen video hero */

.hero-video-banner {
    position: relative;
    width: 100%;
    min-height: calc(100svh - var(--header-height, 0px));
    overflow: hidden;
    isolation: isolate;
    background: #090909;
}

.hero-video {
    position: absolute;
    inset: 0;
    z-index: -3;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-video-shade {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.72) 0%,
            rgba(0, 0, 0, 0.46) 38%,
            rgba(0, 0, 0, 0.14) 72%,
            rgba(0, 0, 0, 0.08) 100%
        ),
        linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.42) 0%,
            rgba(0, 0, 0, 0.04) 48%,
            rgba(0, 0, 0, 0.22) 100%
        );
}

.hero-video-content {
    display: flex;
    width: min(calc(100% - 80px), 1460px);
    min-height: calc(100svh - var(--header-height, 0px));
    align-items: center;
    margin: 0 auto;
    padding: 13vh 0 130px;
}

.hero-video-copy {
    max-width: 920px;
}

.hero-video-kicker {
    display: inline-block;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.76rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-video-title {
    max-width: 900px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(3.8rem, 7.2vw, 7.8rem);
    line-height: 0.92;
    font-weight: 500;
    letter-spacing: -0.065em;
    text-wrap: balance;
}

.hero-video-button {
    display: inline-flex;
    min-width: 180px;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 38px;
    padding: 14px 26px;
    border: 1px solid #ffffff;
    border-radius: 4px;
    background: #ffffff;
    color: #111111;
    font-size: 0.86rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        gap 0.2s ease,
        transform 0.2s ease;
}

.hero-video-button:hover {
    gap: 17px;
    background: transparent;
    color: #ffffff;
    transform: translateY(-2px);
}

.hero-video-scroll {
    position: absolute;
    right: max(40px, calc((100vw - 1460px) / 2));
    bottom: 34px;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.68rem;
    line-height: 1;
    font-weight: 650;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.hero-video-scroll:hover {
    color: #ffffff;
    transform: translateY(3px);
}

@media (max-width: 1199.98px) {
    .hero-video-content {
        width: calc(100% - 64px);
    }

    .hero-video-scroll {
        right: 32px;
    }
}

@media (max-width: 767.98px) {
    .hero-video-banner,
    .hero-video-content {
        min-height: calc(100svh - var(--header-height, 0px));
    }

    .hero-video {
        object-position: 58% center;
    }

    .hero-video-shade {
        background:
            linear-gradient(
                0deg,
                rgba(0, 0, 0, 0.90) 0%,
                rgba(0, 0, 0, 0.56) 46%,
                rgba(0, 0, 0, 0.12) 82%
            );
    }

    .hero-video-content {
        width: calc(100% - 36px);
        align-items: flex-end;
        padding: 110px 0 92px;
    }

    .hero-video-kicker {
        margin-bottom: 14px;
        font-size: 0.68rem;
    }

    .hero-video-title {
        max-width: 620px;
        font-size: clamp(3rem, 14vw, 4.8rem);
        line-height: 0.94;
    }

    .hero-video-button {
        min-width: 160px;
        min-height: 50px;
        margin-top: 28px;
        padding: 13px 22px;
    }

    .hero-video-scroll {
        display: none;
    }
}

@media (max-width: 479.98px) {
    .hero-video-content {
        width: calc(100% - 28px);
    }

    .hero-video-title {
        font-size: clamp(2.8rem, 15vw, 4rem);
    }

    .hero-video-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }

    .hero-video-banner {
        background:
            linear-gradient(rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.52)),
            url("/img/hero-video-poster.jpg") center / cover no-repeat;
    }

    .hero-video-button,
    .hero-video-scroll {
        transition: none;
    }
}
