/* Keep navigation reachable while the mobile hero video loads or scrolls. */
@media (max-width: 1024px) {
    .studio-header, .flight-study-page .studio-header {
        top: 12px;
        top: max(12px, env(safe-area-inset-top));
        height: 68px;
        width: calc(100% - 24px);
        padding: 0 12px;
        gap: 8px;
        overflow: visible;
        z-index: 1000
    }

    .flight-study-page .studio-header {
        opacity: 1;
        pointer-events: auto
    }

    .studio-header .studio-brand {
        flex: 0 0 auto;
        min-width: 0
    }

    .studio-header .astrea-original-logo {
        width: 78px;
        height: 46px;
        visibility: visible !important
    }

    .flight-study-page.flight-single-logo .studio-header .astrea-original-logo {
        visibility: visible !important
    }

    .studio-header .header-controls {
        position: static !important;
        transform: none !important;
        width: auto;
        min-width: 0;
        margin-left: auto;
        gap: 8px
    }

    .studio-header .header-tools {
        gap: 8px
    }

    .studio-header .theme-switch button {
        width: 32px;
        height: 36px
    }

    .studio-header .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        background: transparent;
        border: 0;
        padding: 8px;
        color: var(--ink)
    }

    .studio-header .menu-toggle > span {
        display: block;
        width: 24px;
        height: 2px;
        background: currentColor
    }

    .studio-header .studio-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 8px);
        margin: 0;
        padding: 10px;
        flex-direction: column;
        gap: 4px;
        background: var(--solid);
        border: 1px solid var(--line);
        border-radius: 18px;
        box-shadow: var(--shadow);
        max-height: calc(100vh - 110px);
        max-height: calc(100dvh - 110px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch
    }

    .studio-header.menu-open .studio-nav {
        display: flex
    }

    .studio-header .studio-nav > a {
        display: block;
        min-height: 44px;
        padding: 12px 16px;
        font-size: 15px !important
    }

    .flight-study-page .flight-intro-controls {
        top: 96px
    }
}
