@media (max-width: 1120px) {
  .desktop-nav { display: none; }
  .header-actions { margin-left: auto; }
  .menu-button { display: inline-grid; }
  .path-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 210px minmax(0,1fr); }
  .source-panel { position: static; grid-column: 2; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .source-card + .source-card { margin-top: 0; }
}

@media (max-width: 1000px) {
  .home-page .path-card:nth-child(n) { grid-column: auto; grid-row: auto; min-height: 220px; }
  .contact-details-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) { .home-page .hero h1 { font-size: clamp(2.6rem, 7.5vw, 4.2rem); font-weight: 600; letter-spacing: -.045em; } }
@media (max-width: 620px) { .home-page .hero h1 { font-size: clamp(2.2rem, 11vw, 3.3rem); line-height: .96; } .home-page .hero h1 em { white-space: nowrap; } .page-hero h1 { font-size: clamp(2.15rem, 9vw, 3.1rem); font-weight: 600; letter-spacing: -.045em; } }

@media (max-width: 767px) {
  .home-page .path-card:nth-child(n) { min-height: 190px; }
  .home-page .path-card:nth-child(n) .path-icon { width: 58px; height: 58px; }
}
@media (max-width: 620px) { .page-hero h1 { font-size: clamp(2rem, 8.5vw, 2.9rem); font-weight: 600; letter-spacing: -.025em; } }
@media (max-width: 620px) { .page-hero h1 { font-size: clamp(2rem, 8.5vw, 2.9rem); font-weight: 600; letter-spacing: -.025em; } }

@media (max-width: 860px) {
  .header-row { min-height: 68px; }
  .header-actions .btn { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; padding: 50px 0; }
  .hero-aside { max-width: 620px; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid, .update-grid { grid-template-columns: repeat(2, 1fr); }
  .tracker-row { grid-template-columns: 1fr auto; }
  .tracker-row p { grid-column: 1 / -1; }
  .resource-split { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .source-panel { grid-column: auto; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .filter-bar .field:first-child { grid-column: 1 / -1; }
  .directory-item { grid-template-columns: 1fr auto; }
  .directory-item p { grid-column: 1 / -1; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  body { padding-bottom: 68px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .notice-inner { padding: 9px 0; align-items: flex-start; line-height: 1.4; }
  .brand-copy small { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .header-actions .icon-button { display: none; }
  h1 { font-size: 2.45rem; }
  .hero-inner { padding: 42px 0; }
  .hero-lede { font-size: 1.02rem; }
  .hero-actions .btn { width: 100%; }
  .search-box { display: grid; }
  .section { padding: 54px 0; }
  .section-header { align-items: flex-start; flex-direction: column; }
  .path-grid, .card-grid, .card-grid.four, .update-grid { grid-template-columns: 1fr; }
  .path-card { min-height: 118px; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact { padding: 20px; }
  .tracker-row { padding: 16px; gap: 12px; }
  .tracker-row .btn { grid-column: 1 / -1; }
  .research-cta { padding: 28px 22px; }
  .page-hero { padding: 36px 0 32px; }
  .page-hero h1 { font-size: 2.25rem; }
  .source-panel { grid-template-columns: 1fr; }
  .legacy-diagram-grid { grid-template-columns: 1fr; }
  .filter-bar, .form-grid { grid-template-columns: 1fr; }
  .filter-bar .field:first-child { grid-column: auto; }
  .field-wide { grid-column: auto; }
  .directory-item { grid-template-columns: 1fr; }
  .directory-item .btn { width: 100%; }
  .timeline::before { left: 18px; }
  .timeline-item { grid-template-columns: 1fr; gap: 4px; padding-left: 48px; }
  .timeline-item::before { left: 12px; }
  .map-dialog { padding: 8px; }
  .map-dialog-head { align-items: flex-start; }
  .map-controls { flex-wrap: wrap; justify-content: flex-end; }
  .footer-grid { grid-template-columns: 1fr; }
  .bottom-nav {
    position: fixed;
    z-index: 180;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 64px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 5px max(5px, env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(5px, env(safe-area-inset-left));
    background: rgba(255,255,255,.98);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 16px rgba(16,42,67,.06);
  }
  .bottom-nav a, .bottom-nav button { min-width: 0; min-height: 52px; display: grid; place-items: center; gap: 1px; padding: 4px; color: var(--muted); background: transparent; border: 0; text-decoration: none; font-size: .68rem; font-weight: 700; }
  .bottom-nav .nav-glyph { color: var(--navy-900); font-size: 1.1rem; line-height: 1; }
  .whatsapp-float { display: none; }
  .mobile-contact-actions { position: fixed; z-index: 179; left: 12px; right: 12px; bottom: 73px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 7px; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 8px 24px rgba(16,42,67,.1); backdrop-filter: blur(14px); }
  .mobile-contact-actions a { min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--navy-900); background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: .7rem; font-weight: 700; text-decoration: none; }
  .mobile-contact-actions a:nth-child(2) { color: #087b55; background: #effaf4; border-color: #c8e7d7; }
  .mobile-contact-actions svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
}

/* Premium responsive refinements */
@media (max-width: 1180px) {
  .header-row { min-height: 74px; }
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: minmax(0,1fr) minmax(330px,.78fr); gap: 3rem; }
  .article-layout { grid-template-columns: 210px minmax(0,1fr); }
  .source-panel { grid-column: 2; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-block: 4.6rem; }
  .hero-inner > div:first-child { max-width: 760px; }
  .hero-aside { max-width: 720px; }
  .region-visual { min-height: 245px; }
  .tracker-row { grid-template-columns: 1fr auto; }
  .tracker-row p { grid-column: 1 / -1; }
  .tracker-row .btn { justify-self: start; }
  .article-layout { grid-template-columns: 1fr; }
  .source-panel { grid-column: auto; }
}

@media (max-width: 700px) {
  :root { --section-space: 4.4rem; }
  .container { width: min(calc(100% - 32px), var(--container)); }
  .notice-inner { min-height: 0; padding-block: 9px; font-size: .72rem; }
  .notice-label { margin-top: 1px; }
  .header-row { min-height: 66px; }
  .brand-mark { width: 39px; height: 39px; border-radius: 11px 3px 11px 3px; }
  .brand-copy strong { font-size: .92rem; }
  .hero-inner { padding-block: 3.8rem; gap: 2.5rem; }
  .hero h1 { font-size: clamp(2.65rem, 12vw, 3.65rem); }
  .hero-lede { font-size: 1.03rem; }
  .hero-aside { padding: 16px; border-radius: 23px 23px 23px 7px; }
  .region-visual { min-height: 214px; }
  .region-node { min-width: 78px; padding: 7px 8px; font-size: .6rem; }
  .region-node strong { font-size: .69rem; }
  .region-node-a { left: 6%; }
  .region-node-b { right: 5%; }
  .region-node-c { left: 22%; }
  .region-node-d { right: 8%; }
  .section-header h2 { font-size: clamp(1.9rem, 9vw, 2.55rem); }
  .path-card { min-height: 138px; }
  .facts-grid { gap: 10px; }
  .fact, .fact:first-child, .fact:last-child { min-height: 0; border: 1px solid var(--line); border-radius: 16px 16px 16px 5px; }
  .fact + .fact { border-left: 1px solid var(--line); }
  .tracker-row { padding: 18px; }
  .tracker-row::before { display: none; }
  .page-hero { padding-block: 3rem; }
  .page-hero h1 { font-size: clamp(2.35rem, 11vw, 3.3rem); }
  .page-meta span { width: fit-content; }
  .page-article .article h2 { font-size: 1.55rem; }
  .toc { padding: 18px; }
  .timeline::before { left: 19px; }
  .timeline-item { padding-left: 50px; }
  .timeline-item::before { left: 11px; }
  .research-cta { border-radius: 24px 24px 24px 7px; }
  .site-footer { padding-bottom: 100px; }
  .bottom-nav { background: rgba(255,255,255,.94); backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 -4px 18px rgba(6,31,45,.06); }
  .bottom-nav a, .bottom-nav button { border-radius: 10px; }
  .bottom-nav a.is-active { color: var(--teal-700); background: #eaf7f5; }
  .bottom-nav a.is-active .nav-glyph { color: var(--teal-700); }
  .map-dialog-head { gap: 10px; }
}

@media (max-width: 420px) {
  .container { width: min(calc(100% - 26px), var(--container)); }
  .brand-logo { width: min(218px, calc(100vw - 100px)); }
  .notice-label { display: none; }
  .brand-copy strong { font-size: .86rem; }
  .hero h1 { font-size: 2.55rem; }
  .hero-actions .btn { min-height: 50px; }
  .region-node-b { top: 12%; }
  .region-node-c { left: 15%; bottom: 9%; }
  .region-node-d { right: 5%; bottom: 11%; }
  .section { padding-block: 4rem; }
  .page-hero h1 { font-size: 2.4rem; }
  .filter-bar, .card-body, .update-card, .download-card { padding: 20px; }
  .map-controls button { width: 40px; height: 40px; padding: 0; }
}

/* Home precision-atlas responsive system */
@media (max-width: 1100px) {
  .home-page .hero-inner { grid-template-columns: minmax(0,1fr) minmax(340px,.78fr); gap: 3rem; }
  .home-page .hero h1 { font-size: clamp(2.8rem, 6.6vw, 4.8rem); }
  .hero-system { min-height: 480px; padding: 20px; }
  .system-orbit { min-height: 360px; }
  .orbit-ring-one { width: 250px; height: 250px; }
  .orbit-ring-two { width: 340px; height: 340px; }
  .hero-command { grid-template-columns: minmax(170px,.65fr) minmax(350px,1.35fr); }
  .hero-command > a { grid-column: 1 / -1; justify-self: end; margin-top: 0; }
}

@media (max-width: 860px) {
  .home-page .hero-inner { grid-template-columns: 1fr; padding: 5.4rem 0 4rem; }
  .home-page .hero-copy { max-width: 690px; }
  .home-page .hero h1 { font-size: clamp(3.2rem, 9vw, 5.2rem); }
  .hero-system { min-height: 520px; }
  .system-orbit { min-height: 395px; }
  .orbit-ring-one { width: 290px; height: 290px; }
  .orbit-ring-two { width: 390px; height: 390px; }
  .hero-command { grid-template-columns: 1fr; gap: 15px; margin-bottom: 3.5rem; padding: 24px; }
  .hero-command > a { grid-column: auto; justify-self: start; margin-top: 0; }
}

@media (max-width: 620px) {
  .home-page .hero-inner { padding: 4.2rem 0 3.4rem; gap: 3.2rem; }
  .hero-proof { gap: 8px; font-size: .62rem; letter-spacing: .075em; }
  .proof-rule { width: 18px; }
  .home-page .hero h1 { margin-block: 22px 24px; font-size: clamp(2.5rem, 12vw, 3.8rem); line-height: .91; }
  .home-page .hero-lede { margin-bottom: 28px; font-size: 1rem; line-height: 1.68; }
  .home-page .hero-actions { align-items: flex-start; gap: 20px; }
  .home-page .hero-actions .btn-primary { width: auto; }
  .hero-index { margin-top: 36px; row-gap: 12px; }
  .hero-index span { padding-inline: 12px; }
  .hero-index span:first-child { padding-left: 0; }
  .hero-system { min-height: 430px; padding: 17px; border-radius: 2px 28px 2px 28px; }
  .system-orbit { min-height: 330px; }
  .orbit-ring-one { width: 218px; height: 218px; }
  .orbit-ring-two { width: 300px; height: 300px; }
  .orbit-center { width: 112px; height: 112px; }
  .orbit-center strong { font-size: 2.7rem; }
  .orbit-node { min-width: 82px; padding: 8px 9px; }
  .orbit-node span { font-size: .56rem; }
  .orbit-node-a { top: 16%; }
  .orbit-node-b { top: 19%; }
  .orbit-node-c { bottom: 12%; }
  .orbit-node-d { bottom: 10%; }
  .system-legend { font-size: .59rem; }
  .hero-command { margin-bottom: 3rem; padding: 20px; border-radius: 2px 18px 2px 18px; }
  .hero-command .search-box { grid-template-columns: 1fr; }
  .hero-command .search-box .btn { width: 100%; }
}

@media (max-width: 390px) {
  .hero-proof span:last-child, .hero-proof .proof-rule { display: none; }
  .home-page .hero h1 { font-size: 2.4rem; }
  .hero-index span { display: grid; gap: 0; padding-inline: 10px; }
  .hero-index span { font-size: .62rem; }
  .hero-system { min-height: 410px; }
  .system-orbit { min-height: 310px; }
  .orbit-ring-two { width: 278px; height: 278px; }
  .orbit-node { min-width: 74px; }
  .orbit-node strong { font-size: .88rem; }
}

@media (max-width: 1000px) {
  .home-page .path-grid { grid-template-columns: repeat(2,1fr); grid-auto-rows: auto; }
  .home-page .path-card:nth-child(n) { grid-column: auto; grid-row: auto; min-height: 210px; }
  .home-page .path-card:nth-child(1) { grid-column: 1 / -1; min-height: 250px; }
  .home-page .card-grid.four { grid-template-columns: repeat(2,1fr); }
  .home-page .card-grid.four .map-card:nth-child(n) { grid-column: auto; }
  .resource-desk-head { grid-template-columns: 1fr minmax(260px,.65fr); gap: 2rem; }
  .resource-board { grid-template-columns: repeat(2,1fr); grid-template-rows: auto; }
  .resource-tile-primary, .resource-tile-secondary, .resource-guide { grid-column: auto; grid-row: auto; }
  .resource-tile-primary { min-height: 360px; }
  .resource-tile-secondary { min-height: 260px; }
  .resource-guide { min-height: 215px; }
  .home-infrastructure .tracker-row { grid-template-columns: 54px minmax(0,1fr) auto; gap: 16px; }
  .home-infrastructure .tracker-row p { grid-column: 2 / -1; }
  .home-infrastructure .tracker-row .btn { grid-column: 3; grid-row: 1; }
}

@media (max-width: 700px) {
  .home-paths { padding-top: 4.75rem; }
  .home-paths .section-header { align-items: flex-start; }
  .home-page .path-grid { grid-template-columns: 1fr; }
  .home-page .path-card:nth-child(1) { grid-column: auto; min-height: 230px; }
  .home-page .path-card:nth-child(n+2) { min-height: 184px; }
  .home-facts .facts-grid { grid-template-columns: 1fr; }
  .home-facts .fact, .home-facts .fact:first-child, .home-facts .fact:last-child { min-height: 280px; }
  .home-facts .fact-icon { width: 58px; height: 58px; }
  .home-facts .fact-icon svg { width: 44px; height: 44px; }
  .home-page .card-grid.four { grid-template-columns: 1fr; }
  .resource-desk-head { grid-template-columns: 1fr; gap: 1.2rem; margin-bottom: 30px; }
  .resource-desk-head h2 { font-size: clamp(2.45rem, 12vw, 3.5rem); }
  .resource-desk-head > p { max-width: 320px; margin: 0; }
  .resource-board { grid-template-columns: 1fr; }
  .resource-tile { padding: 22px; }
  .resource-tile-primary { min-height: 315px; }
  .resource-tile-secondary { min-height: 250px; }
  .resource-guide { min-height: 205px; }
  .resource-year { font-size: 4rem; }
  .resource-tile-secondary .resource-year { font-size: 3.5rem; }
  .home-infrastructure .tracker::before { left: 23px; }
  .home-infrastructure .tracker-row { grid-template-columns: 46px minmax(0,1fr); gap: 14px; padding-block: 22px; }
  .tracker-icon { width: 46px; height: 46px; }
  .home-infrastructure .tracker-row .badge { grid-column: 2; justify-self: start; }
  .home-infrastructure .tracker-row p { grid-column: 2; }
  .home-infrastructure .tracker-row .btn { grid-column: 2; grid-row: auto; justify-self: end; margin-top: -56px; }
}

/* Corridor cinema responsive refinements */
@media (max-width: 860px) {
  .home-page .home-hero { min-height: auto; }
  .home-page .hero-inner { padding-top: 4.8rem; }
  .home-page .hero-system { background: rgba(2,28,33,.8); }
}

@media (max-width: 620px) {
  .home-page .home-hero::after { background-size: 48px 48px; }
  .hero-photo { inset: -3% -28%; background-position: 58% center; }
  .hero-photo-aerial { background-position: 54% center; }
  .hero-photo-road { background-position: 62% center; }
  .home-page .hero h1 { font-size: clamp(2.2rem, 11vw, 3.3rem); line-height: .96; } .home-page .hero h1 em { white-space: nowrap; }
  .home-page .hero-lede { max-width: 34rem; color: #d8ebe6; }
  .home-page .hero-index { margin-top: 30px; }
  .home-page .hero-system { min-height: 350px; }
  .system-orbit { min-height: 265px; }
  .orbit-ring-one { width: 190px; height: 190px; }
  .orbit-ring-two { width: 250px; height: 250px; }
  .orbit-center { width: 102px; height: 102px; }
  .orbit-center strong { font-size: 2.45rem; }
  .orbit-node { min-width: 72px; padding: 7px 8px; }
  .hero-command { margin-bottom: 2.6rem; }
  .page-hero { padding-block: 2.7rem 2.8rem; }
  .page-hero h1 { font-size: clamp(1.78rem, 7.4vw, 2.55rem); font-weight: 600; letter-spacing: -.025em; }
}

@media (max-width: 1000px) {
  .home-page .path-card:nth-child(n) { grid-column: auto; grid-row: auto; min-height: 220px; }
  .contact-details-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .home-page .path-card:nth-child(n) { min-height: 190px; }
  .home-page .path-card:nth-child(n) .path-icon { width: 58px; height: 58px; }
}



