/* Mobile-critical rules — loaded directly (no Vite) so layout works even if main CSS is delayed */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
    margin: 0;
}

img:not(.video-bg-el), svg {
    max-width: 100%;
    height: auto;
}

@media (max-width: 1023px) {
    .header-nav {
        display: none !important;
    }

    .header-menu-btn {
        display: inline-flex !important;
    }

    .mobile-drawer:not(.is-open) {
        display: none !important;
    }
}

@media (min-width: 1024px) {
    .header-menu-btn {
        display: none !important;
    }

    .mobile-drawer {
        display: none !important;
    }
}
