:root {
  --navy-950: #071b2e;
  --navy-900: #0b2d4d;
  --navy-800: #123f68;
  --blue-600: #1d6fb8;
  --teal-600: #0f8177;
  --teal-100: #dff4f0;
  --gold-500: #e5ad32;
  --coral-500: #e66d57;
  --ink: #172033;
  --muted: #5b677a;
  --canvas: #f7fafc;
  --surface: #ffffff;
  --line: #d9e2ec;
  --shadow-sm: 0 10px 30px rgba(7, 27, 46, 0.08);
  --shadow-lg: 0 24px 70px rgba(7, 27, 46, 0.18);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --container: min(1180px, calc(100% - 40px));
  --transition: 220ms cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: white;
  background: var(--navy-950);
  border-radius: 10px;
  transform: translateY(-150%);
  transition: transform var(--transition);
}

.skip-link:focus { transform: none; }
.container { width: var(--container); margin-inline: auto; }
.section { padding: 96px 0; }
.section.compact { padding: 68px 0; }
.section.alt { background: #edf5f8; }
.section.dark { color: white; background: var(--navy-950); }
.section.gold-wash { background: linear-gradient(135deg, #fff8e8, #fff); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--teal-600);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.dark .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: #84e0d4; }

h1, h2, h3, h4 {
  margin: 0 0 18px;
  color: var(--navy-950);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
  text-wrap: balance;
}

h1 { font-size: clamp(2.7rem, 5.2vw, 5.1rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.2rem, 4vw, 3.9rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.65rem); }
h4 { font-size: 1.05rem; }
.dark h2, .dark h3, .dark h4, .page-hero h1, .hero h1 { color: white; }

p { margin: 0 0 18px; }
.lead { max-width: 760px; color: #445268; font-size: clamp(1.08rem, 1.8vw, 1.28rem); }
.dark .lead, .page-hero .lead { color: #dbe7f1; }
.muted { color: var(--muted); }
.kicker { color: var(--teal-600); font-weight: 800; }
.section-head { display: grid; grid-template-columns: 1fr minmax(280px, 520px); gap: 40px; align-items: end; margin-bottom: 48px; }
.section-head p { margin: 0; color: var(--muted); }
.section-head.center { display: block; max-width: 760px; margin: 0 auto 48px; text-align: center; }

.topbar {
  color: #dce8f2;
  background: var(--navy-950);
  font-size: .82rem;
}

.topbar-inner { min-height: 38px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.topbar-links { display: flex; gap: 22px; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: white; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(11, 45, 77, .08);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(18px);
}

.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; text-decoration: none; }
.brand-mark { width: 56px; height: 56px; flex: 0 0 56px; display: block; overflow: hidden; border: 1px solid #dce5e9; border-radius: 14px; background: white url('../images/nps-logo.jpg') center / contain no-repeat; box-shadow: var(--shadow-sm); font-size: 0; color: transparent; }
.brand-copy { line-height: 1.1; }
.brand-copy strong { display: block; color: var(--navy-950); font-family: Georgia, serif; font-size: 1rem; }
.brand-copy span { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 3px; }
.site-nav a { padding: 12px 11px; color: #27384c; border-radius: 10px; font-size: .9rem; font-weight: 700; text-decoration: none; transition: color var(--transition), background var(--transition); }
.site-nav a:hover, .site-nav a.active { color: var(--navy-950); background: #eaf2f6; }
.site-nav .nav-cta { margin-left: 8px; color: white; background: var(--navy-900); }
.site-nav .nav-cta:hover, .site-nav .nav-cta.active { color: white; background: var(--teal-600); }

.menu-button { display: none; width: 48px; height: 48px; padding: 0; border: 0; color: var(--navy-950); background: #eaf2f6; border-radius: 12px; cursor: pointer; }
.menu-button svg { width: 24px; height: 24px; }

.hero { position: relative; min-height: clamp(580px, calc(100dvh - 122px), 700px); display: grid; align-items: center; overflow: clip; color: white; background: var(--navy-950); }
.hero-media, .hero::after { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.hero::after { content: ""; background: linear-gradient(90deg, rgba(7, 27, 46, .92) 0%, rgba(7, 27, 46, .68) 52%, rgba(7, 27, 46, .18) 100%), linear-gradient(0deg, rgba(7, 27, 46, .72), transparent 55%); }
.hero-content { position: relative; z-index: 1; max-width: none; padding: 64px 0 66px; }
.hero h1 { max-width: 760px; font-size: clamp(3rem, 5.2vw, 5rem); }
.hero .lead { max-width: 680px; color: #e6eff6; font-size: clamp(1.05rem, 1.5vw, 1.24rem); }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; border: 1px solid transparent; border-radius: 12px; color: white; background: var(--navy-900); font-weight: 800; text-decoration: none; cursor: pointer; transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); background: var(--teal-600); }
.btn-light { color: var(--navy-950); background: white; }
.btn-light:hover { color: white; background: var(--teal-600); }
.btn-outline { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.btn-outline:hover { border-color: white; background: rgba(255,255,255,.18); }
.btn-text { color: var(--navy-900); background: transparent; padding-inline: 0; }
.btn-text:hover { color: var(--teal-600); background: transparent; box-shadow: none; }
.arrow { transition: transform var(--transition); }
.btn:hover .arrow, .card-link:hover .arrow { transform: translateX(4px); }

.fact-strip { position: relative; z-index: 2; margin-top: -34px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); color: white; background: var(--navy-900); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); overflow: hidden; }
.fact { min-height: 128px; padding: 27px; border-right: 1px solid rgba(255,255,255,.12); }
.fact:last-child { border: 0; }
.fact strong { display: block; margin-bottom: 4px; font-family: Georgia, serif; font-size: 1.38rem; }
.fact span { color: #bdd1e3; font-size: .9rem; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 1px 0 rgba(7,27,46,.02); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.card:hover { transform: translateY(-5px); border-color: #b7c9d8; box-shadow: var(--shadow-sm); }
.card-body { padding: 28px; }
.card-body p:last-child { margin-bottom: 0; }
.card-image { aspect-ratio: 16 / 10; overflow: hidden; background: #dfe8ee; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.2,.8,.2,1); }
.dark .framework-card h3 { color: var(--navy-950); }
.dark .framework-card p { color: var(--muted); }
.framework-card .card-image { aspect-ratio: 16 / 9; }
.facility-study-card { overflow: hidden; padding: 0; }
.facility-study-card .card-image { aspect-ratio: 4 / 3; }
.facility-study-card .card-body { padding: 1.25rem; }
.dark .facility-study-card h3 { color: var(--navy-950); }
.dark .facility-study-card p { color: var(--muted); }

.program-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.program-card { overflow: hidden; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.program-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.program-band { min-height: 118px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 24px 26px; color: white; }
.program-band svg { width: 43px; height: 43px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.program-band span { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.program-card.blue .program-band { background: linear-gradient(135deg, #2867e8, #253b9e); }
.program-card.green .program-band { background: linear-gradient(135deg, #16a45a, #146b35); }
.program-card.purple .program-band { background: linear-gradient(135deg, #a52be3, #6620a0); }
.program-card.teal .program-band { background: linear-gradient(135deg, #159ab4, #126276); }
.program-body { padding: 26px; }
.program-body h3 { margin-bottom: 12px; }
.program-body p { color: var(--muted); }
.program-list { display: grid; gap: 9px; margin: 20px 0 0; padding: 0; list-style: none; color: #34445a; font-size: .9rem; }
.program-list li { position: relative; padding-left: 20px; }
.program-list li::before { content: ""; position: absolute; top: .58em; left: 0; width: 8px; height: 8px; border: 2px solid #20b96d; border-radius: 50%; transform: translateY(-50%); }
.card:hover .card-image img { transform: scale(1.045); }
.card-link { display: inline-flex; align-items: center; gap: 8px; color: var(--navy-900); font-weight: 800; text-decoration: none; }
.tag { display: inline-flex; padding: 6px 10px; margin-bottom: 12px; color: #0b5f57; background: var(--teal-100); border-radius: 999px; font-size: .76rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.tag.gold { color: #6a4810; background: #fff0c7; }
.tag.coral { color: #7d2f23; background: #ffe6df; }

.feature-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; }
.feature-large { min-height: 570px; display: flex; align-items: flex-end; color: white; border: 0; background-size: cover; background-position: center; }
.feature-large::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,27,46,.9), transparent 70%); }
.feature-large .card-body { position: relative; z-index: 1; max-width: 680px; }
.feature-large h3 { color: white; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.feature-stack { display: grid; gap: 28px; }
.feature-stack .card { min-height: 271px; display: flex; align-items: flex-end; color: white; border: 0; background-size: cover; background-position: center; }
.feature-stack .card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,27,46,.9), rgba(7,27,46,.08)); }
.feature-stack .card-body { position: relative; z-index: 1; }
.feature-stack h3 { color: white; }

.split { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(40px, 7vw, 90px); align-items: center; }
.split.reverse { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.image-note { position: absolute; right: -18px; bottom: 24px; max-width: 230px; padding: 18px; color: white; background: var(--navy-900); border-radius: 16px; box-shadow: var(--shadow-sm); font-weight: 700; }

.principal-card { display: grid; grid-template-columns: 330px 1fr; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.principal-photo { min-height: 420px; display: grid; place-items: center; color: #537083; background: linear-gradient(145deg, #e8f2f4, #dbe8ee); text-align: center; }
.principal-photo svg { width: 90px; margin: 0 auto 14px; }
.principal-content { padding: clamp(34px, 6vw, 72px); }
.quote { position: relative; font-family: Georgia, serif; font-size: clamp(1.35rem, 2.5vw, 2rem); line-height: 1.4; }
.quote::before { content: "“"; position: absolute; top: -30px; left: -18px; color: var(--gold-500); font-size: 5rem; line-height: 1; opacity: .55; }

.page-hero { position: relative; min-height: 380px; display: grid; align-items: end; overflow: hidden; color: white; background: var(--navy-950); }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .48; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,27,46,.95), rgba(7,27,46,.55) 65%, rgba(7,27,46,.28)); }
.page-hero-content { position: relative; z-index: 1; max-width: none; padding: 62px 0 54px; }
.page-hero h1 { font-size: clamp(2.5rem, 4.4vw, 4rem); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; color: #d6e6f2; font-size: .86rem; }
.breadcrumbs a { text-decoration: none; }

.icon-card { padding: 28px; }
.icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 20px; color: var(--teal-600); background: var(--teal-100); border-radius: 14px; }
.icon svg { width: 25px; height: 25px; }

.timeline { position: relative; max-width: 880px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 20px; width: 2px; background: #b8cbd6; }
.timeline-item { position: relative; padding: 0 0 42px 68px; }
.timeline-item::before { content: ""; position: absolute; top: 6px; left: 11px; width: 20px; height: 20px; background: var(--gold-500); border: 5px solid white; border-radius: 50%; box-shadow: 0 0 0 2px var(--gold-500); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item h3 { margin-bottom: 8px; }
.history-note { margin-top: 24px; padding: 18px 20px; border-left: 4px solid var(--gold-500); color: #4d6174; background: #fff8e8; border-radius: 0 12px 12px 0; font-size: .93rem; }

.list-check { margin: 22px 0 0; padding: 0; list-style: none; }
.list-check li { position: relative; padding: 8px 0 8px 30px; }
.list-check li::before { content: ""; position: absolute; top: 14px; left: 0; width: 14px; height: 8px; border-bottom: 3px solid var(--teal-600); border-left: 3px solid var(--teal-600); transform: rotate(-45deg); }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.gallery-item { position: relative; grid-column: span 4; min-height: 270px; padding: 0; overflow: hidden; border: 0; border-radius: 18px; background: #dfe8ee; cursor: zoom-in; }
.gallery-item.wide { grid-column: span 8; }
.gallery-item.tall { min-height: 556px; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(.2,.8,.2,1); }
.gallery-item::after { content: attr(data-caption); position: absolute; right: 0; bottom: 0; left: 0; padding: 48px 18px 16px; color: white; background: linear-gradient(transparent, rgba(7,27,46,.9)); font-weight: 700; text-align: left; opacity: 0; transition: opacity var(--transition); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }

.lightbox { width: min(1040px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 20px; background: var(--navy-950); box-shadow: var(--shadow-lg); }
.lightbox::backdrop { background: rgba(2, 12, 22, .84); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; }
.lightbox-bar { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 14px 10px 20px; color: white; }
.lightbox-close { min-width: 72px; height: 42px; padding: 0 16px; border: 0; color: white; background: rgba(255,255,255,.12); border-radius: 999px; cursor: pointer; font: inherit; font-weight: 700; }

.detail-card { color: inherit; text-decoration: none; cursor: pointer; }
.detail-card .card-body { display: flex; min-height: 300px; flex-direction: column; align-items: flex-start; }
.detail-card .detail-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 20px; color: var(--teal-600); font-weight: 800; }
.detail-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.detail-card:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 4px; }

.detail-hero { position: relative; min-height: 460px; display: grid; align-items: end; overflow: hidden; color: white; background: var(--navy-950); }
.detail-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.detail-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,27,46,.96), rgba(7,27,46,.67) 58%, rgba(7,27,46,.25)); }
.detail-hero-content { position: relative; z-index: 1; max-width: none; padding: 74px 0 58px; }
.detail-hero h1 { max-width: 850px; color: white; font-size: clamp(2.7rem, 5vw, 4.6rem); }
.detail-hero .lead { color: #e6eff6; }
.detail-meta { display: grid; gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: var(--shadow-sm); }
.detail-meta div { padding: 22px 24px; border-bottom: 1px solid var(--line); }
.detail-meta div:last-child { border-bottom: 0; }
.detail-meta strong, .detail-meta span { display: block; }
.detail-meta span { color: var(--muted); font-size: .9rem; }
.detail-gallery .gallery-item { min-height: 280px; }
.detail-gallery .gallery-item:nth-child(7n+2) { min-height: 390px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--teal-600); font-weight: 800; text-decoration: none; }
.back-link:hover { color: var(--navy-900); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: white; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: white; background: var(--navy-900); font-size: .86rem; letter-spacing: .03em; }
tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #f4f8fa; }

.event-date { display: inline-grid; place-items: center; width: 66px; height: 66px; margin-bottom: 18px; color: white; background: var(--navy-900); border-radius: 16px; text-align: center; line-height: 1.05; }
.event-date strong { display: block; font-size: 1.45rem; }
.event-date span { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.cta-band { position: relative; overflow: hidden; padding: 72px 0; color: white; background: var(--navy-900); }
.cta-band::before { content: ""; position: absolute; width: 360px; height: 360px; top: -220px; right: 5%; border: 70px solid rgba(255,255,255,.06); border-radius: 50%; }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { max-width: 720px; margin: 0; color: white; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; }
.contact-list { display: grid; gap: 14px; }
.contact-item { padding: 22px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.contact-item strong { display: block; margin-bottom: 5px; color: var(--navy-950); }
.contact-item a { color: var(--teal-600); overflow-wrap: anywhere; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--navy-950); font-weight: 800; }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: 12px 14px; color: var(--ink); background: white; border: 1px solid #b8c8d4; border-radius: 10px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--teal-600); outline: 3px solid rgba(15,129,119,.18); }
.form-note { margin-top: 16px; color: var(--muted); font-size: .9rem; }
.form-status { min-height: 24px; margin: 16px 0 0; color: #0b5f57; font-weight: 800; }

.site-footer { color: #d5e1eb; background: var(--navy-950); }
.footer-main { display: grid; grid-template-columns: 1.2fr .8fr .8fr 1fr; gap: 42px; padding: 76px 0 55px; }
.footer-main h3 { margin-bottom: 18px; color: white; font-family: inherit; font-size: 1rem; }
.footer-brand p { max-width: 360px; color: #9eb4c6; }
.footer-brand .brand-copy span { color: #9eb4c6; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: #c5d5e1; text-decoration: none; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); color: #91a8ba; font-size: .85rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 650ms ease, transform 650ms cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 80ms; }
.delay-2 { transition-delay: 160ms; }
.delay-3 { transition-delay: 240ms; }

@media (max-width: 1080px) {
  .topbar { display: none; }
  .menu-button { display: grid; place-items: center; }
  .site-nav { position: absolute; z-index: 110; top: 100%; right: 0; left: 0; max-height: calc(100vh - 84px); display: grid; align-content: start; gap: 4px; padding: 24px 20px 40px; background: white; box-shadow: var(--shadow-lg); transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none; transition: transform var(--transition), opacity var(--transition), visibility var(--transition); overflow-y: auto; }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .site-nav a { min-height: 48px; display: flex; align-items: center; padding-inline: 16px; font-size: 1rem; }
  .site-nav .nav-cta { margin: 10px 0 0; justify-content: center; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .program-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  :root { --container: min(100% - 28px, 680px); }
  .section { padding: 72px 0; }
  .section-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 34px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .feature-grid, .split, .split.reverse, .principal-card, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .feature-large { min-height: 460px; }
  .principal-photo { min-height: 320px; }
  .gallery-item, .gallery-item.wide { grid-column: span 6; }
  .gallery-item.tall { min-height: 420px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .image-note { right: 12px; }
}

@media (max-width: 580px) {
  .brand-mark { width: 48px; height: 48px; flex-basis: 48px; border-radius: 12px; }
  .brand-copy strong { max-width: 210px; font-size: .86rem; }
  .brand-copy span { display: none; }
  .hero { min-height: 620px; }
  .hero-content { padding: 62px 0 52px; }
  .hero h1 { font-size: clamp(2.6rem, 10.5vw, 3.6rem); }
  .hero::after { background: linear-gradient(0deg, rgba(7,27,46,.94), rgba(7,27,46,.42)); }
  .facts { grid-template-columns: 1fr; }
  .fact { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .grid-4 { grid-template-columns: 1fr; }
  .program-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-item, .gallery-item.wide { grid-column: auto; min-height: 260px; }
  .gallery-item.tall { min-height: 380px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .page-hero { min-height: 350px; }
  .page-hero h1 { font-size: clamp(2.35rem, 10vw, 3.3rem); }
  .detail-hero { min-height: 430px; }
  .detail-hero-content { padding: 60px 0 48px; }
  .detail-hero h1 { font-size: clamp(2.4rem, 10vw, 3.4rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .hero-actions, .cta-band, .site-footer, .menu-button { display: none !important; }
  body { color: #000; background: #fff; }
  .section { padding: 30px 0; }
  .page-hero { min-height: auto; color: #000; background: #fff; }
  .page-hero img, .page-hero::after { display: none; }
  .page-hero h1 { color: #000; }
}
