@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --ink: #172536;
  --navy: #24364f;
  --navy-deep: #142235;
  --red: #bf3127;
  --red-dark: #92251e;
  --sand: #f2ede4;
  --paper: #fbfaf7;
  --white: #fff;
  --line: #dbdad5;
  --line-strong: #c5c6c2;
  --muted: #5b6671;
  --soft-blue: #e8edf3;
  --shadow: 0 18px 55px rgba(20, 34, 53, .08);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Poppins, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--navy-deep); line-height: 1.14; letter-spacing: -.025em; }
h1 { max-width: 790px; margin-bottom: 20px; font-size: clamp(2.65rem, 5.2vw, 5.25rem); font-weight: 600; }
h2 { margin-bottom: 14px; font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 600; }
h3 { margin-bottom: 10px; font-size: 1.25rem; }
p { margin-bottom: 16px; }
[hidden] { display: none !important; }

.skip-link { position: fixed; z-index: 100; top: -100px; left: 18px; padding: 11px 16px; background: white; color: var(--navy); box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid #efc84b; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.site-header { position: sticky; z-index: 40; top: 0; border-bottom: 1px solid var(--line); background: rgba(251,250,247,.96); backdrop-filter: blur(14px); }
.header-inner { width: min(var(--max), calc(100% - 48px)); height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; margin: 0 auto; }
.brand { width: max-content; display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-mark { width: 76px; height: 40px; display: grid; place-items: center; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.brand-mark img { width: 100%; height: 26px; object-fit: contain; }
.brand-name { color: var(--navy-deep); font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.primary-nav { display: flex; align-items: center; gap: 6px; }
.primary-nav a, .mobile-nav a { position: relative; border-radius: 7px; color: var(--muted); font-size: 14px; font-weight: 500; text-decoration: none; }
.primary-nav a { padding: 10px 16px; }
.primary-nav a:hover, .mobile-nav a:hover { color: var(--navy); }
.primary-nav a[aria-current="page"] { background: var(--soft-blue); color: var(--navy-deep); }
.header-meta { justify-self: end; display: flex; align-items: center; gap: 14px; }
.phase-label { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.member-avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: white; font-size: 12px; font-weight: 700; }
.menu-toggle { justify-self: end; width: 44px; height: 44px; display: none; place-content: center; gap: 4px; border: 1px solid var(--line-strong); border-radius: 8px; background: white; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { width: 18px; height: 2px; display: block; background: var(--navy); }
.mobile-nav { width: min(var(--max), calc(100% - 36px)); display: grid; gap: 4px; margin: 0 auto; padding: 5px 0 16px; }
.mobile-nav a { padding: 11px 13px; }
.mobile-nav a[aria-current="page"] { background: var(--soft-blue); color: var(--navy-deep); }

main { min-height: calc(100vh - 174px); }
main:focus { outline: none; }
.view-root { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 62px 0 96px; }
.view-header { max-width: 850px; margin-bottom: 42px; }
.view-header.compact { margin-bottom: 30px; }
.eyebrow { margin-bottom: 11px; color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.view-header > p:last-child, .hero-copy > p:last-child { max-width: 68ch; color: var(--muted); font-size: 17px; line-height: 1.7; }
.text-link, .back-link, .card-link { color: var(--red-dark); font-size: 13px; font-weight: 700; text-decoration: none; }
.text-link:hover, .back-link:hover, .card-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.back-link { display: inline-flex; margin-bottom: 28px; }
.primary-button, .secondary-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; padding: 11px 18px; font-size: 14px; font-weight: 600; text-decoration: none; }
.primary-button { border: 1px solid var(--red); background: var(--red); color: white; }
.primary-button:hover { border-color: var(--red-dark); background: var(--red-dark); }
.secondary-button { border: 1px solid var(--line-strong); background: transparent; color: var(--navy); }
.secondary-button:hover { border-color: var(--navy); background: white; }

.overview-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: 56px; align-items: end; padding: 26px 0 56px; }
.overview-hero h1 { max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.snapshot-card { min-height: 310px; display: flex; flex-direction: column; justify-content: space-between; padding: 30px; border-radius: var(--radius); background: var(--navy-deep); color: white; box-shadow: var(--shadow); }
.snapshot-card .eyebrow { color: #ffaaa4; }
.snapshot-card h2 { max-width: 360px; color: white; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.snapshot-card > p { color: #cbd4de; font-size: 14px; }
.snapshot-meta { display: grid; grid-template-columns: repeat(2, 1fr); margin: 16px 0 0; }
.snapshot-meta div { padding: 14px 12px 0 0; border-top: 1px solid rgba(255,255,255,.16); }
.snapshot-meta dt { color: #aebac7; font-size: 12px; }
.snapshot-meta dd { margin: 3px 0 0; color: white; font-size: 14px; font-weight: 600; }

.at-a-glance { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 62px; border: 1px solid var(--line); border-radius: 14px; background: white; overflow: hidden; }
.glance-item { display: flex; align-items: center; gap: 16px; padding: 23px 26px; border-right: 1px solid var(--line); }
.glance-item:last-child { border-right: 0; }
.glance-item strong { color: var(--red); font-size: 2rem; line-height: 1; }
.glance-item span { color: var(--muted); font-size: 13px; line-height: 1.45; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 25px; }
.section-head > div { max-width: 700px; }
.section-head h2 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); }
.section-head p { margin-bottom: 0; color: var(--muted); font-size: 15px; }
.journey-section { margin-bottom: 68px; }
.journey-track { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: 14px; background: white; overflow: hidden; }
.journey-step { min-height: 168px; padding: 22px; border-right: 1px solid var(--line); }
.journey-step:last-child { border-right: 0; }
.journey-step.current { background: var(--sand); }
.journey-number { display: block; margin-bottom: 28px; color: var(--red); font-size: 12px; font-weight: 700; }
.journey-step strong { display: block; color: var(--navy-deep); font-size: 14px; }
.journey-step small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.overview-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
.overview-panel { min-height: 285px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.overview-panel.primary { background: var(--sand); }
.overview-panel h3 { max-width: 520px; font-size: 1.55rem; }
.overview-panel > p:not(.eyebrow) { max-width: 56ch; color: var(--muted); font-size: 14px; }
.action-list { display: grid; margin-top: 22px; border-top: 1px solid var(--line); }
.action-list a { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 0; color: var(--navy); font-size: 14px; font-weight: 600; text-decoration: none; }
.action-list a + a { border-top: 1px solid var(--line); }
.action-list span { color: var(--red); }

.module-tabs { display: flex; gap: 7px; margin: 0 0 30px; padding-bottom: 5px; overflow-x: auto; scrollbar-width: thin; }
.module-tabs a { flex: 0 0 auto; border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 13px; color: var(--muted); font-size: 12px; font-weight: 600; text-decoration: none; }
.module-tabs a:hover, .module-tabs a[aria-current="page"] { border-color: var(--navy); background: var(--navy); color: white; }
.academy-tools { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.search { width: min(390px, 100%); display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 9px; padding: 0 14px; background: white; }
.search input { width: 100%; min-height: 48px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 14px; }
.search-mark { color: var(--red); font-size: 18px; }
.academy-count { color: var(--muted); font-size: 13px; }
.academy-count strong { color: var(--ink); }
.module-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.module-card { min-height: 310px; grid-column: span 2; display: flex; flex-direction: column; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: white; text-decoration: none; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.module-card:nth-child(4), .module-card:nth-child(5) { grid-column: span 3; }
.module-card:hover { transform: translateY(-2px); border-color: #b9bab6; box-shadow: var(--shadow); }
.module-index { display: block; margin-bottom: 42px; color: var(--red); font-size: 12px; font-weight: 700; }
.module-card h2 { font-size: 1.55rem; }
.module-card p { color: var(--muted); font-size: 14px; }
.module-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.module-card-footer span:last-child { color: var(--red); font-weight: 700; }
.module-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px; align-items: end; margin-bottom: 30px; }
.module-header > div { max-width: 760px; }
.module-header p:last-child { color: var(--muted); font-size: 16px; }
.module-stat { min-width: 132px; padding-left: 19px; border-left: 2px solid var(--red); }
.module-stat strong { display: block; color: var(--navy); font-size: 2.2rem; line-height: 1; }
.module-stat span { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.resource-list { border-top: 1px solid var(--line-strong); }
.resource-row { width: 100%; display: grid; grid-template-columns: 46px minmax(0, 1fr) minmax(160px, 240px) 22px; gap: 18px; align-items: center; border: 0; border-bottom: 1px solid var(--line); padding: 21px 8px; background: transparent; text-align: left; cursor: pointer; }
.resource-row:hover { background: rgba(255,255,255,.7); }
.resource-number { color: var(--red); font-size: 12px; font-weight: 700; }
.resource-title { display: block; color: var(--navy-deep); font-size: 15px; font-weight: 600; }
.resource-description { display: block; max-width: 70ch; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.resource-owner { color: var(--muted); overflow-wrap: anywhere; font-size: 12px; }
.resource-arrow { justify-self: end; color: var(--red); font-size: 18px; }
.search-results { margin-top: 32px; }
.search-results-head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 12px; color: var(--muted); font-size: 13px; }
.empty-state { padding: 46px 24px; border: 1px solid var(--line); border-radius: 14px; background: white; text-align: center; }
.empty-state h2 { font-size: 1.4rem; }
.empty-state p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

.directory-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: 46px; align-items: end; margin-bottom: 38px; }
.directory-intro p:last-child { max-width: 66ch; color: var(--muted); font-size: 17px; }
.network-summary { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); border-radius: 14px; background: white; overflow: hidden; }
.network-summary > div { display: grid; grid-template-columns: 40px 1fr; gap: 2px 12px; align-items: center; padding: 18px; }
.network-summary > div + div { border-left: 1px solid var(--line); }
.network-symbol { grid-row: 1 / 3; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: white; font-size: 12px; font-weight: 700; }
.network-symbol.frontier { background: var(--navy); }
.network-summary strong { color: var(--navy-deep); font-size: 13px; }
.network-summary small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.directory-browser { margin-bottom: 30px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.directory-type-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.directory-type-filters button { min-height: 38px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 13px; background: white; color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer; }
.directory-type-filters button[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: white; }
.directory-tools { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(180px, .55fr) minmax(170px, .45fr); gap: 10px; }
.directory-search { width: 100%; }
.directory-tools label:not(.search) { display: flex; }
.directory-tools select { width: 100%; min-height: 48px; border: 1px solid var(--line-strong); border-radius: 9px; padding: 0 38px 0 13px; background: white; color: var(--ink); font-size: 14px; }
.network-empty { min-height: 330px; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 38px; align-items: center; padding: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg, white 0%, #f4f1ea 100%); }
.network-empty > div:nth-child(2) { max-width: 610px; }
.network-empty h2 { margin-bottom: 12px; }
.network-empty p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 15px; }
.network-orbit { position: relative; width: 150px; height: 150px; border: 1px solid var(--line-strong); border-radius: 50%; }
.network-orbit::before { content: ''; position: absolute; inset: 27px; border: 1px dashed var(--line-strong); border-radius: 50%; }
.network-orbit span { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border: 4px solid white; border-radius: 50%; background: var(--navy); color: white; font-size: 12px; font-weight: 700; box-shadow: var(--shadow); }
.network-orbit span:nth-child(1) { top: -4px; left: 51px; background: var(--red); }
.network-orbit span:nth-child(2) { top: 80px; right: -2px; }
.network-orbit span:nth-child(3) { top: 82px; left: 3px; background: #6d7b88; }
.network-promises { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.network-promises span { border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; background: rgba(255,255,255,.76); color: var(--navy); font-size: 12px; font-weight: 600; }
.people-group + .people-group { margin-top: 52px; }
.people-group-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.people-group-heading h2 { margin-bottom: 5px; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.people-group-heading p:last-child { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.people-group-heading > span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--soft-blue); color: var(--navy); font-size: 13px; font-weight: 700; }
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.person-card { min-height: 300px; display: flex; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.person-avatar, .person-monogram { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 50%; background: var(--soft-blue); color: var(--navy); object-fit: cover; font-size: 14px; font-weight: 700; }
.person-type { margin-bottom: 5px; color: var(--red) !important; font-size: 12px !important; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.person-card h3 { overflow-wrap: anywhere; font-size: 1.25rem; }
.person-role, .person-location { margin-bottom: 5px; color: var(--muted); font-size: 13px; }
.person-card button { width: max-content; margin-top: auto; border: 0; padding: 0; background: transparent; color: var(--red-dark); font-size: 13px; font-weight: 700; cursor: pointer; }
.person-detail-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.person-detail-heading h2 { margin-bottom: 4px; }
.person-detail-heading p:last-child { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.person-detail-avatar { width: 70px; height: 70px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--soft-blue); color: var(--navy); object-fit: cover; font-size: 16px; font-weight: 700; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-actions a { min-height: 42px; display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px 14px; color: var(--navy); font-size: 13px; font-weight: 700; text-decoration: none; }
.contact-actions a:hover { border-color: var(--navy); background: var(--soft-blue); }

.guide-launcher { position: fixed; z-index: 55; right: max(22px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); min-height: 48px; display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 7px 16px 7px 8px; background: var(--navy-deep); color: white; box-shadow: 0 14px 36px rgba(20,34,53,.24); font-size: 13px; font-weight: 600; cursor: pointer; }
.guide-launcher:hover { background: var(--navy); }
.guide-launcher-mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: white; font-size: 15px; font-weight: 700; }
.guide-panel { position: fixed; z-index: 60; right: max(22px, env(safe-area-inset-right)); bottom: calc(max(20px, env(safe-area-inset-bottom)) + 60px); width: min(380px, calc(100vw - 30px)); max-height: min(620px, calc(100vh - 118px)); border: 1px solid var(--line-strong); border-radius: 18px; background: white; box-shadow: 0 24px 74px rgba(20,34,53,.24); overflow: hidden; }
.guide-header { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); padding: 9px 10px 9px 16px; background: var(--paper); }
.guide-header > div { display: flex; align-items: center; gap: 9px; }
.guide-header strong { color: var(--navy-deep); font-size: 14px; }
.guide-status { width: 9px; height: 9px; border-radius: 50%; background: #5c916b; box-shadow: 0 0 0 4px rgba(92,145,107,.12); }
.guide-header-actions { gap: 4px !important; }
.guide-header-actions button, .guide-footer button { border: 0; border-radius: 7px; padding: 7px 9px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 600; cursor: pointer; }
.guide-header-actions button:hover, .guide-footer button:hover:not(:disabled) { background: var(--soft-blue); color: var(--navy); }
.guide-header-actions button:last-child { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; font-size: 22px; line-height: 1; }
.guide-body { max-height: min(470px, calc(100vh - 230px)); padding: 20px; overflow-y: auto; overscroll-behavior: contain; }
.guide-message { margin: 0 24px 16px 0; border-radius: 5px 14px 14px 14px; padding: 13px 14px; background: var(--soft-blue); color: var(--navy-deep); font-size: 14px; line-height: 1.55; }
.guide-message:focus { outline: none; }
.guide-choices { display: grid; gap: 7px; }
.guide-choice { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; background: white; color: var(--navy); font-size: 13px; font-weight: 600; line-height: 1.4; text-align: left; text-decoration: none; cursor: pointer; }
.guide-choice:hover { border-color: var(--navy); background: var(--paper); }
.guide-choice span { flex: 0 0 auto; color: var(--red); }
.guide-footer { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding: 7px 12px; background: var(--paper); }
.guide-footer button:disabled { opacity: .42; cursor: default; }
.guide-footer span { color: var(--muted); font-size: 12px; }

.detail-dialog { width: min(720px, calc(100vw - 34px)); max-height: calc(100vh - 48px); border: 0; border-radius: 18px; padding: 0; background: white; color: var(--ink); box-shadow: 0 28px 90px rgba(0,0,0,.3); }
.detail-dialog::backdrop { background: rgba(9,17,27,.68); backdrop-filter: blur(3px); }
.detail-shell { position: relative; padding: clamp(30px, 6vw, 52px); }
.detail-close { position: absolute; top: 17px; right: 19px; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; background: white; color: var(--navy); font-size: 24px; line-height: 1; cursor: pointer; }
.detail-shell h2 { padding-right: 42px; }
.detail-lead { max-width: 62ch; color: var(--muted); font-size: 16px; }
.detail-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; }
.detail-meta div { padding-top: 12px; border-top: 1px solid var(--line); }
.detail-meta dt { color: var(--muted); font-size: 12px; }
.detail-meta dd { margin: 4px 0 0; color: var(--navy-deep); overflow-wrap: anywhere; font-size: 14px; font-weight: 600; }
.detail-section { padding-top: 24px; border-top: 1px solid var(--line); }
.detail-section h3 { font-size: 1.05rem; }
.detail-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.detail-links a { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; border: 1px solid var(--line); border-radius: 9px; padding: 11px 12px; color: var(--navy); font-size: 13px; font-weight: 600; line-height: 1.4; text-decoration: none; }
.detail-links a span { flex: 0 0 auto; color: var(--red); }

.site-footer { width: min(var(--max), calc(100% - 48px)); min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 auto; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.site-footer div { display: flex; align-items: center; gap: 15px; }
.site-footer img { width: 76px; height: 30px; object-fit: contain; }
.site-footer a { color: var(--navy); font-weight: 600; text-decoration: none; }

@media (max-width: 960px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .primary-nav, .header-meta { display: none; }
  .menu-toggle { display: grid; }
  .overview-hero { grid-template-columns: 1fr; gap: 28px; }
  .snapshot-card { min-height: 270px; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .module-card, .module-card:nth-child(4), .module-card:nth-child(5) { grid-column: span 1; }
  .module-card:last-child { grid-column: 1 / -1; }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .directory-intro { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 720px) {
  .header-inner, .view-root, .site-footer { width: min(100% - 36px, var(--max)); }
  .header-inner { height: 68px; }
  .brand-mark { width: 62px; height: 36px; }
  .brand-name { font-size: 16px; }
  .view-root { padding: 42px 0 70px; }
  h1 { font-size: clamp(2.45rem, 12vw, 3.6rem); }
  .overview-hero { padding: 10px 0 38px; }
  .at-a-glance { grid-template-columns: 1fr; }
  .glance-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .glance-item:last-child { border-bottom: 0; }
  .journey-track { grid-template-columns: 1fr; }
  .journey-step { min-height: 0; display: grid; grid-template-columns: 36px 1fr; gap: 10px; border-right: 0; border-bottom: 1px solid var(--line); padding: 17px 19px; }
  .journey-step:last-child { border-bottom: 0; }
  .journey-number { grid-row: 1 / 3; margin: 1px 0 0; }
  .overview-grid { grid-template-columns: 1fr; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .academy-tools { align-items: flex-start; flex-direction: column; }
  .search { width: 100%; }
  .module-grid, .people-grid { grid-template-columns: 1fr; }
  .module-card, .module-card:nth-child(4), .module-card:nth-child(5), .module-card:last-child { grid-column: auto; min-height: 270px; }
  .module-header { grid-template-columns: 1fr; gap: 10px; }
  .module-stat { border-left: 0; padding: 0; }
  .module-stat strong, .module-stat span { display: inline; }
  .module-stat span { margin-left: 5px; }
  .resource-row { grid-template-columns: 34px minmax(0, 1fr) 18px; gap: 10px; padding: 18px 4px; }
  .resource-owner { grid-column: 2; }
  .resource-arrow { grid-column: 3; grid-row: 1 / 3; }
  .network-summary, .directory-tools { grid-template-columns: 1fr; }
  .network-summary > div + div { border-top: 1px solid var(--line); border-left: 0; }
  .network-empty { grid-template-columns: 1fr; gap: 22px; padding: 28px; }
  .network-orbit { width: 130px; height: 130px; }
  .network-orbit span:nth-child(1) { left: 41px; }
  .network-orbit span:nth-child(2) { top: 69px; }
  .network-orbit span:nth-child(3) { top: 70px; }
  .network-promises { grid-column: 1; }
  .directory-tools input, .directory-tools select { font-size: 16px; }
  .detail-meta, .detail-links { grid-template-columns: 1fr; }
  .site-footer { align-items: flex-start; flex-direction: column; padding: 26px 0; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
  .header-inner, .view-root, .site-footer { width: calc(100% - 30px); }
  .brand { gap: 9px; }
  .brand-mark { width: 54px; padding: 5px; }
  .brand-name { font-size: 15px; }
  .view-root { padding-top: 34px; }
  .snapshot-card, .overview-panel, .module-card, .person-card { padding: 22px; }
  .snapshot-meta { grid-template-columns: 1fr; }
  .snapshot-meta div + div { margin-top: 8px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .primary-button, .secondary-button { width: 100%; }
  .resource-number { font-size: 12px; }
  .detail-shell { padding: 30px 23px; }
  .directory-intro { grid-template-columns: 1fr; }
  .directory-type-filters { display: grid; grid-template-columns: 1fr 1fr; }
  .directory-type-filters button:first-child { grid-column: 1 / -1; }
  .guide-launcher { right: 15px; bottom: max(12px, env(safe-area-inset-bottom)); min-height: 46px; padding-right: 13px; }
  .guide-panel { right: 15px; bottom: calc(max(12px, env(safe-area-inset-bottom)) + 58px); width: calc(100vw - 30px); max-height: calc(100dvh - 86px); }
  .guide-body { max-height: calc(100dvh - 202px); padding: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
