/* ==========================================================================
   home.css — styles used only on the Home page (enqueued via is_front_page())
   ========================================================================== */

.hero-video-container {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    isolation: isolate;
}

.hero-video {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    pointer-events: none;
}

@media (max-width: 767px) {
    .hero-video-container {
        min-height: max(620px, calc(100svh - 5rem));
        height: auto;
        aspect-ratio: auto;
        align-items: stretch;
    }

    .hero-video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
        object-fit: cover;
        object-position: 52% 28%;
    }

    .hero-content {
        position: relative;
        inset: auto;
        width: 100%;
        min-height: inherit;
        padding: clamp(52px, 9svh, 88px) 20px clamp(48px, 8svh, 72px);
        justify-content: center;
        overflow: visible;
    }

    .hero-eyebrow {
        font-size: 11px;
        line-height: 16px;
        margin-bottom: 18px;
    }

    .hero-title {
        max-width: 100%;
        font-size: clamp(38px, 11vw, 54px);
        line-height: 1.08;
        margin-bottom: 24px;
    }

    .hero-description {
        max-width: 36rem;
        font-size: clamp(15px, 4.2vw, 19px);
        line-height: 1.5;
        margin-bottom: 30px;
    }

    .hero-actions {
        width: min(100%, 390px);
        flex-direction: column;
        gap: 14px;
        justify-content: center;
    }

    .hero-action {
        width: 100%;
        flex: none;
        min-height: 52px;
        padding: 15px 20px;
        font-size: 15px;
        line-height: 1.25;
    }

    .hero-scroll {
        display: none;
    }
}

@media (max-width: 767px) and (max-height: 680px) {
    .hero-video-container {
        min-height: 590px;
    }

    .hero-content {
        padding-top: 38px;
        padding-bottom: 38px;
    }

    .hero-eyebrow {
        margin-bottom: 12px;
    }

    .hero-title {
        font-size: clamp(34px, 10vw, 44px);
        margin-bottom: 16px;
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 20px;
    }
}
