@media (max-width: 1380px) {
    .site-header { grid-template-columns: 1fr auto; }
    .primary-nav { gap: 20px; padding-inline: 22px 10px; }
    .primary-nav__link { font-size: 13px; }
    .stat-item { padding-inline: 12px; }
    .stat-item img { width: 44px; }
    .statsbar h2 { font-size: 27px; }
    .history-card__body { grid-template-columns: 82px 1fr; }
    .history-card__body > img { display: none; }
}

@media (max-width: 1120px) {
    .site-shell { padding-inline: 12px; }
    .site-header { grid-template-columns: 1fr auto; }
    .primary-nav { gap: 13px; padding-left: 18px; }
    .primary-nav__link { font-size: 12px; }
    .statsbar { grid-template-columns: 1.4fr repeat(2, 1fr); }
    .statsbar__intro { grid-row: span 2; }
    .stat-item { min-height: 44px; }
    .home-grid--primary > * { grid-column: span 6; }
    .home-grid--secondary > *:nth-child(n) { grid-column: span 6; }
    .panel { min-height: 300px; }
    .archive-paper, .history-card, .basics-card { min-height: 196px; }
    .history-card__body { grid-template-columns: 92px 1fr 118px; }
    .history-card__body > img { display: block; }
    .site-footer { grid-template-columns: 1fr auto; padding-block: 10px; }
    .site-footer nav { grid-column: 1 / -1; grid-row: 1; }
}

@media (max-width: 900px) {
    :root { --site-gap: 10px; }
    .site-header { grid-template-columns: auto 1fr; }
    .header-tools { justify-self: end; }
    .menu-toggle {
        display: grid;
        width: 44px;
        height: 44px;
        padding: 10px;
        gap: 5px;
        border: 1px solid var(--accent-ui-dim);
        background: rgba(8,12,10,.9);
        cursor: pointer;
    }
    .menu-toggle span:not(.sr-only) { display: block; height: 1px; background: var(--accent-ui-bright); }
    .primary-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        display: none;
        height: auto;
        padding: 8px;
        border: 1px solid var(--border-green);
        background: rgba(3,6,5,.98);
        box-shadow: 0 20px 45px rgba(0,0,0,.68);
    }
    .primary-nav.is-open { display: grid; grid-template-columns: repeat(2, 1fr); }
    .primary-nav__link { justify-content: flex-start; min-height: 44px; padding: 0 12px; font-size: 14px; }
    .primary-nav__link::after { right: 12px; left: 12px; }
    .nav-dropdown { align-self: auto; }
    .nav-dropdown__menu { position: static; grid-column: 1 / -1; margin-bottom: 4px; }
    .header-search { right: 4px; }
    .hero { min-height: 340px; }
    .hero__content { width: 62%; padding-top: 35px; }
    .hero__dossier-stack { width: 210px; }
    .hero__stamp { top: 103px; font-size: 24px; }
    .hero__seal { display: none; }
    .statsbar { grid-template-columns: repeat(2, 1fr); }
    .statsbar__intro { grid-column: 1 / -1; grid-row: auto; min-height: 75px; }
    .stat-item { min-height: 62px; }
    .stat-item:nth-child(2n) { border-left: 0; }
    .site-footer nav { flex-wrap: wrap; gap: 8px 0; }
}

@media (max-width: 650px) {
    body { font-size: 13px; }
    .site-shell { padding: 8px 8px 0; }
    .site-header { grid-template-columns: auto 1fr; height: 62px; gap: 7px; }
    .header-tools { gap: 5px; padding: 0; }
    .header-tool--profile { display: none; }
    .primary-nav.is-open { grid-template-columns: 1fr; max-height: calc(100vh - 80px); overflow: auto; }
    .hero { min-height: 430px; }
    .hero__shade { background: linear-gradient(90deg, rgba(2,4,3,.94), rgba(2,4,3,.55) 72%, rgba(2,3,2,.3)), linear-gradient(0deg, rgba(1,2,1,.8), transparent 42%); }
    .hero__content { width: 100%; padding: 27px 20px; }
    .hero h1 { font-size: clamp(48px, 16vw, 68px); }
    .hero__description { max-width: 320px; font-size: 13px; }
    .hero__dossier-stack { top: auto; right: 15px; bottom: 16px; width: 205px; opacity: .82; }
    .hero__stamp { top: auto; right: auto; bottom: 35px; left: 17px; font-size: 20px; }
    .statsbar { grid-template-columns: 1fr 1fr; }
    .statsbar__intro { padding-inline: 5px; }
    .statsbar h2 { font-size: 23px; }
    .statsbar p { font-size: 13px; }
    .stat-item { display: grid; grid-template-columns: 38px 1fr; gap: 8px; min-height: 79px; padding: 8px; }
    .stat-item img { width: 36px; }
    .stat-item span { font-size: 10px; white-space: normal; }
    .stat-item strong { font-size: clamp(19px, 6vw, 25px); letter-spacing: .02em; }
    .stat-item small { font-size: 9px; }
    .home-grid--primary > *, .home-grid--secondary > *:nth-child(n) { grid-column: 1 / -1; }
    .panel { min-height: 0; }
    .map-visual img { height: auto; }
    .archive-paper, .history-card, .basics-card { min-height: 205px; }
    .quote-card { min-height: 205px; padding: 48px 72px 34px 50px; }
    .history-card__body { grid-template-columns: 82px 1fr; }
    .history-card__body > img { display: none; }
    .social-card { min-height: 184px; }
    .social-links { gap: 8px; }
    .social-links a { width: 36px; height: 36px; }
    .site-footer { display: flex; flex-direction: column; gap: 12px; padding: 15px 0; text-align: center; }
    .site-footer nav { gap: 10px; }
    .site-footer nav a { padding: 0 9px; }
    .site-footer p { white-space: normal; }
    .archive-page { padding: 8px; }
    .archive-page__heading { align-items: start; flex-direction: column; }
    .archive-search-form { grid-template-columns: 1fr; }
}
