
@media (max-width: 900px) {
    .container {
        width: min(100% - 36px, 720px);
    }

    .nav-wrapper {
        min-height: 76px;
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1002;
    }

    .main-navigation {
        position: fixed;
        inset: 0;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 0;
        padding: 95px 35px 35px;
        overflow-y: auto;
        background: var(--warm-white);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity .2s ease, transform .2s ease, visibility .2s;
    }

    .main-navigation.open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .main-navigation > a {
        padding: 15px 0;
        border-bottom: 1px solid var(--border);
        font-size: 17px;
    }

    .main-navigation > a.active:not(.nav-cta)::after {
        display: none;
    }

    .main-navigation > .nav-cta {
        margin-top: 20px;
        padding: 15px 18px;
        text-align: center;
    }

    .footer-grid {
        gap: 35px;
    }
}

@media (max-width: 560px) {
    .container {
        width: calc(100% - 32px);
    }

    .topbar-inner {
        min-height: 42px;
        justify-content: center;
        text-align: center;
    }

    .topbar-inner > span {
        font-size: 10px;
    }

    .topbar-inner > a {
        display: none;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
    }

    .brand-copy strong {
        font-size: 16px;
    }

    .brand-copy small {
        font-size: 8px;
        letter-spacing: 1.5px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 45px;
        padding-bottom: 40px;
    }

    .footer-bottom-inner {
        min-height: 85px;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
