.video-banner {
    position: relative;
    background-color: transparent;
    padding: 0 2rem;

    @media (max-width: 767px) {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Stage — video + headline + tab buttons
       ====================================================================== */

    & .video-banner__stage {
        position: relative;
        min-height: 600px;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        background-color: var(--color-dark_green);
        background-size: cover;
        background-position: center;
        border-radius: 0 0 25px 25px;
    }

    & .video-banner__overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1;
    }

    /* iframe scales to cover the stage like object-fit: cover
       ====================================================================== */

    & .video-banner__video-wrap {
        position: absolute;
        inset: 0;
        z-index: 0;
        pointer-events: none;

        & .video-banner__iframe {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 100vw;
            height: 56.25vw; /* 16:9 */
            min-height: 100%;
            min-width: 177.78vh; /* 16:9 inverted */
            transform: translate(-50%, -50%);
            border: none;
        }

        /* Desktop iframe: visible on desktop, hidden on mobile */
        & .video-banner__iframe--desktop {
            @media (max-width: 767px) {
                display: none;
            }
        }

        /* Mobile iframe: visible on mobile, hidden on desktop */
        & .video-banner__iframe--mobile {
            /* Portrait 9:16 sizing on mobile */
            @media (max-width: 767px) {
                width: 177.78vh;
                height: 100vh;
                min-height: 100%;
                min-width: 100%;
            }

            @media (min-width: 768px) {
                display: none;
            }
        }
    }

    /* Stage content — headline centred, buttons pinned to bottom
       ====================================================================== */

    & .video-banner__stage-content {
        position: relative;
        z-index: 2;
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        padding: 4rem 2rem 4rem;
        text-align: center;
        gap: 2rem;

        @media (max-width: 767px) {
            padding-bottom: 2rem;
        }
    }

    & .video-banner__title {
        font-size: clamp(2rem, 5vw, 3.5rem);
        font-weight: 700;
        color: var(--color-white);
        margin: 0 auto;
        max-width: 600px;
        line-height: 1.15;
    }

    /* Toggle tab buttons — on the dark video background
       ====================================================================== */

    & .video-banner__tabs {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    & .video-banner__tab-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.625rem;
        padding: 1rem 1.75rem;
        border-radius: 15px;
        font-family: 'Work Sans', sans-serif;
        font-size: 0.9rem;
        font-weight: 600;
        cursor: pointer;
        white-space: nowrap;
        border-top: 0;
        border-left: 0;
        transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;

        /* Inactive — white bg, dark green text, no visible border */
        background-color: var(--color-white);
        color: var(--color-dark_green);
        border-right: 5px solid var(--color-white);
        border-bottom: 5px solid var(--color-white);

        /* Arrow — points right by default, down when active */
        & .video-banner__tab-arrow {
            display: inline-block;
            flex-shrink: 0;
            color: var(--color-blue);
            transition: transform 0.2s ease-in-out;
        }

        &.is-active {
            background-color: var(--color-dark_green);
            color: var(--color-white);
            border-right-color: var(--color-white);
            border-bottom-color: var(--color-white);
            cursor: default;

            & .video-banner__tab-arrow {
                transform: rotate(90deg);
            }
        }

        &:hover:not(.is-active) {
            background-color: rgba(255, 255, 255, 0.85);
        }

        &:focus-visible {
            outline: 3px solid var(--color-maroon);
            outline-offset: 2px;
        }
    }

    /* Content panels — below the stage, card pulls up
       ====================================================================== */

    & .video-banner__panels {
        background-color: transparent;
        padding: 0 0 4rem;
        position: relative;
        z-index: 10;
    }

    & .video-banner__panel {
        display: none;

        &.is-active {
            display: block;
        }
    }

    & .video-banner__content-inner {
        max-width: 675px;
        margin: -3rem auto 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.88);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        padding: 2.5rem 3rem;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
        text-align: center;

        @media (max-width: 767px) {
            padding: 1.5rem;
            margin-top: 1.5rem;
        }
    }

    & .video-banner__subhead {
        font-size: 18px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        color: var(--color-maroon);
        margin: 0;
    }

    & .video-banner__headline {
        font-size: clamp(1.75rem, 3vw, 2.5rem);
        font-weight: 700;
        color: var(--color-dark_green);
        margin: 0;
        line-height: 1.2;
    }

    & .video-banner__copy {
        font-size: 0.95rem;
        line-height: 1.75;
        color: var(--color-copy);
        text-align: center;
        width: 100%;

        & p:first-child { margin-top: 0; }
        & p:last-child  { margin-bottom: 0; }
    }

    & .video-banner__arrow-link {
        display: inline-flex;
        align-items: center;
        color: var(--color-maroon);
        text-decoration: none;
        padding: 5px;
        border-radius: 6px;
        background-color: transparent;
        transition: color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;

        &:hover {
            color: var(--color-white);
            transform: translateX(4px);
            background-color: var(--color-maroon);
        }
    }
}
