/* Keep the cinematic 21:9 frame at normal desktop widths, then stop the
   hero growing on wide monitors so the next section stays in view. */
.hero {
    width: 100%;
    height: min(42.857vw, 620px);
    min-height: 0;
    max-height: 620px;
    aspect-ratio: auto;
    padding: 0;
    border-bottom: 0;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 2px;
    background: var(--blue);
    z-index: 20;
    pointer-events: none;
}

.hero-video-wrap video {
    object-fit: cover;
    object-position: 50% 50%;
}

.hero-video-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(0deg, rgba(0, 0, 0, .68), transparent 54%),
        linear-gradient(90deg, rgba(0, 0, 0, .26), transparent 48%);
}

.hero .hero-title-overlay {
    inset: auto auto 30px clamp(26px, 5vw, 72px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 7px;
    max-width: calc(100% - 52px);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(44px, 5vw, 72px);
    font-weight: 900;
    font-style: italic;
    line-height: .9;
    letter-spacing: -.015em;
    color: #fff;
    -webkit-text-stroke: 0;
    text-shadow: 0 4px 30px rgba(0, 0, 0, .62);
    z-index: 10;
}

.hero .hero-title-overlay::before { content: none; }

.hero-slash {
    background: transparent;
    pointer-events: none;
}

@media (max-width: 768px) {
    .hero {
        height: auto !important;
        max-height: none !important;
        min-height: 0 !important;
        aspect-ratio: 21 / 9 !important;
    }

    .hero .hero-title-overlay {
        left: 20px;
        bottom: 20px;
        font-size: clamp(34px, 8vw, 52px);
        max-width: calc(100% - 40px);
        gap: 5px;
    }

    .hero .hero-title-overlay::before {
        font-size: 8px;
    }
}
