:root {
  --blue-950: #082449;
  --blue-900: #0b3268;
  --blue-800: #104a91;
  --blue-700: #1260b8;
  --blue-100: #dcecff;
  --blue-50: #f2f7ff;
  --yellow: #f6c744;
  --yellow-soft: #fff3bd;
  --white: #ffffff;
  --ink: #132238;
  --muted: #5c6878;
  --line: #dce3ed;
  --page: #ffffff;
  --shadow-soft: 0 20px 55px rgb(8 36 73 / 12%);
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
}

main { transition: opacity 160ms ease, transform 160ms ease; }
html.is-navigating main { opacity: 0.35; pointer-events: none; transform: translateY(4px); }
main[tabindex="-1"] { outline: none; }

::selection { background: var(--yellow); color: var(--blue-950); }

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

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { width: 1.5rem; height: 1.5rem; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

h1 { font-size: clamp(3.4rem, 6.5vw, 6.9rem); }
h2 { font-size: clamp(2.35rem, 4.4vw, 4.6rem); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--yellow);
  color: var(--blue-950);
  font-weight: 850;
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.brand-ribbon {
  display: grid;
  grid-template-columns: 2.3fr 1fr;
  height: 7px;
  background: var(--blue-800);
}

.brand-ribbon span { background: var(--yellow); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 90px;
  padding: 0 max(24px, calc((100% - 1240px) / 2));
  border-bottom: 1px solid rgb(16 74 145 / 14%);
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(14px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.brand-mark {
  display: grid;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border: 2px solid var(--blue-100);
  border-radius: 50%;
  background: var(--white);
  place-items: center;
  transition: border-color 180ms ease, transform 180ms ease;
}

.brand:hover .brand-mark { border-color: var(--yellow); transform: rotate(-3deg); }

.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-copy, .footer-brand > span:last-child { display: grid; line-height: 1.1; }

.brand strong,
.footer-brand strong {
  color: var(--blue-950);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.brand small,
.footer-brand small {
  margin-top: 5px;
  color: var(--blue-700);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 34px); }

.desktop-nav a {
  position: relative;
  padding: 30px 0;
  color: #263b58;
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  height: 3px;
  background: var(--yellow);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a.is-active::after { transform: scaleX(1); }

body:has(.about-main-hero) .desktop-nav a[href="/about"]::after,
body:has(.program-section) .desktop-nav a[href="/learning"]::after,
body:has(.gallery-section) .desktop-nav a[href="/activities"]::after,
body:has(.graduates-section) .desktop-nav a[href="/graduates"]::after,
body:has(.needs-section) .desktop-nav a[href="/support"]::after {
  transform: scaleX(1);
}

.header-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  min-height: 42px;
  padding: 0 18px;
  background: var(--blue-800);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 800;
}

.header-cta::after {
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 100%;
  height: 100%;
  border-right: 3px solid var(--yellow);
  border-bottom: 3px solid var(--yellow);
  content: "";
  pointer-events: none;
}

.mobile-menu { display: none; justify-self: end; }

.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  gap: clamp(54px, 7vw, 100px);
  align-items: center;
  min-height: 690px;
  padding: clamp(74px, 8vw, 118px) max(24px, calc((100% - 1240px) / 2)) 104px;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 49.8%, var(--blue-50) 49.8%),
    var(--white);
}

.hero-brand-code {
  position: absolute;
  bottom: -74px;
  left: max(24px, calc((100% - 1390px) / 2));
  color: rgb(16 74 145 / 4.5%);
  font-family: var(--font-body);
  font-size: clamp(10rem, 22vw, 22rem);
  font-weight: 950;
  letter-spacing: -0.1em;
  line-height: 0.72;
  user-select: none;
}

.home-hero-copy { position: relative; z-index: 2; max-width: 680px; }

.eyebrow,
.section-kicker {
  margin: 0 0 20px;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 32px;
  height: 4px;
  margin: 0 10px 3px 0;
  background: var(--yellow);
  content: "";
}

.home-hero h1 { max-width: 700px; margin-bottom: 26px; color: var(--blue-950); }

.title-emphasis {
  position: relative;
  z-index: 0;
  display: inline-block;
  color: var(--blue-800);
}

.title-emphasis::after {
  position: absolute;
  right: -0.03em;
  bottom: 0.08em;
  left: -0.03em;
  z-index: -1;
  height: 0.18em;
  background: var(--yellow);
  content: "";
  transform: rotate(-1deg);
}

.hero-intro {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.button-row { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 850;
  box-shadow: 0 0 0 rgb(8 36 73 / 0%);
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.button:hover { box-shadow: 0 9px 22px rgb(8 36 73 / 15%); transform: translateY(-3px); }
.button svg { transition: transform 160ms ease; }
.button:hover svg { transform: translateX(3px); }
.button-blue { background: var(--blue-800); color: var(--white); }
.button-blue:hover { background: var(--blue-950); }
.button-yellow { background: var(--yellow); color: var(--blue-950); }
.button-outline { border-color: var(--blue-800); color: var(--blue-800); }
.button-outline:hover { background: var(--blue-800); color: var(--white); }

.button-link,
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue-800);
  font-size: 0.9rem;
  font-weight: 850;
}

.button-link { border-bottom: 3px solid var(--yellow); }
.arrow-link svg { transition: transform 160ms ease; }
.arrow-link:hover svg { transform: translateX(3px); }

.home-hero-media { position: relative; z-index: 2; min-height: 520px; }

@keyframes gentle-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes gentle-settle {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}

.home-hero-copy > * {
  animation: gentle-rise 540ms both;
}

.home-hero-copy > :nth-child(2) { animation-delay: 70ms; }
.home-hero-copy > :nth-child(3) { animation-delay: 130ms; }
.home-hero-copy > :nth-child(4) { animation-delay: 190ms; }
.home-hero-media { animation: gentle-settle 650ms 120ms both; }

.hero-image-frame {
  position: absolute;
  inset: 24px 0 0 26px;
  overflow: hidden;
  border: 10px solid var(--white);
  box-shadow: var(--shadow-soft);
}

.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; }

.yellow-block {
  position: absolute;
  top: 0;
  left: 0;
  width: 44%;
  height: 46%;
  background: var(--yellow);
}

.hero-badge {
  position: absolute;
  right: -18px;
  bottom: -22px;
  display: grid;
  width: min(290px, 72%);
  padding: 21px 24px;
  border-left: 6px solid var(--yellow);
  background: var(--blue-950);
  color: var(--white);
}

.school-seal {
  position: absolute;
  bottom: 28px;
  left: -18px;
  z-index: 3;
  display: grid;
  width: 106px;
  height: 106px;
  border: 2px solid var(--blue-800);
  border-radius: 50%;
  background: var(--white);
  color: var(--blue-950);
  box-shadow: 0 12px 30px rgb(8 36 73 / 18%);
  text-align: center;
  place-content: center;
  transform: rotate(-7deg);
}

.school-seal::before {
  position: absolute;
  inset: 6px;
  border: 1px dashed var(--yellow);
  border-radius: 50%;
  content: "";
}

.school-seal strong { font-family: var(--font-display); font-size: 1.75rem; line-height: 1; }
.school-seal span { margin-top: 6px; color: var(--blue-700); font-size: 0.58rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }

.hero-badge span {
  margin-bottom: 5px;
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-badge strong { font-family: var(--font-display); font-size: 1.18rem; line-height: 1.25; }

.impact-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 max(24px, calc((100% - 1240px) / 2));
  background: var(--blue-800);
  color: var(--white);
}

.impact-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 130px;
  border-right: 1px solid rgb(255 255 255 / 20%);
  transition: background 170ms ease;
}

.impact-stat:hover { background: rgb(255 255 255 / 6%); }

.impact-stat:last-child { border-right: 0; }
.impact-stat svg { color: var(--yellow); }
.impact-stat p { display: grid; margin: 0; line-height: 1; }
.impact-stat strong { font-family: var(--font-display); font-size: clamp(2rem, 3vw, 3rem); }

.impact-stat span {
  margin-top: 9px;
  color: rgb(255 255 255 / 72%);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-shell { position: relative; padding: clamp(86px, 10vw, 144px) max(24px, calc((100% - 1140px) / 2)); }

.home-story { background: var(--white); }
.section-kicker { display: flex; align-items: center; gap: 14px; }
.section-kicker::after { width: 58px; height: 1px; background: var(--blue-100); content: ""; }

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: clamp(60px, 10vw, 150px);
  align-items: end;
}

.story-layout h2 { margin-bottom: 0; color: var(--blue-950); }
.story-layout > div > p { margin-bottom: 26px; color: var(--muted); }

.learning-preview { background: var(--blue-50); }

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}

.section-heading-row h2 { margin-bottom: 0; color: var(--blue-950); }

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #b9cde8;
}

.pathway-grid article { padding: 34px 30px 18px 0; border-right: 1px solid #b9cde8; }
.pathway-grid article + article { padding-left: 30px; }
.pathway-grid article:last-child { border-right: 0; }

.pathway-grid span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 35px;
  background: var(--yellow);
  color: var(--blue-950);
  font-size: 0.77rem;
  font-weight: 900;
  place-items: center;
}

.pathway-grid h3 { margin-bottom: 13px; color: var(--blue-950); font-family: var(--font-display); font-size: 1.5rem; }
.pathway-grid p { margin-bottom: 0; color: var(--muted); }

.pathway-grid article { transition: background 180ms ease, transform 180ms ease; }
.pathway-grid article:hover { background: rgb(255 255 255 / 58%); transform: translateY(-4px); }

.activity-preview { background: var(--white); }

.photo-grid {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  grid-template-rows: repeat(2, 255px);
  gap: 18px;
}

.photo-grid figure { position: relative; margin: 0; overflow: hidden; background: var(--blue-100); }
.photo-grid .photo-featured { grid-row: 1 / 3; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
.photo-grid figure:hover img { transform: scale(1.035); }

.photo-grid figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 12px 16px;
  background: var(--blue-950);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
}

.graduate-preview {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(60px, 10vw, 150px);
  align-items: center;
  background: var(--blue-950);
  color: var(--white);
}

.graduate-number {
  display: grid;
  min-height: 310px;
  padding: 38px;
  background: var(--yellow);
  color: var(--blue-950);
}

.graduate-number svg { justify-self: end; }
.graduate-number strong { align-self: end; font-family: var(--font-display); font-size: clamp(6rem, 11vw, 10rem); line-height: 0.8; }
.graduate-number span { align-self: end; max-width: 210px; font-size: 0.83rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.graduate-preview h2 { margin-bottom: 24px; }
.graduate-preview > div:last-child > p:not(.eyebrow) { max-width: 610px; margin-bottom: 30px; color: rgb(255 255 255 / 72%); }
.eyebrow-yellow { color: var(--yellow); }

.support-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 34px;
  align-items: center;
  background: var(--yellow-soft);
}

.support-cta > svg { color: var(--blue-800); }
.support-cta .eyebrow { margin-bottom: 10px; }
.support-cta h2 { margin-bottom: 0; color: var(--blue-950); font-size: clamp(2rem, 3.5vw, 3.45rem); }

.site-footer { padding: 78px max(24px, calc((100% - 1140px) / 2)) 28px; background: var(--blue-950); color: var(--white); }
.site-footer { position: relative; }
.site-footer::before { position: absolute; top: 0; right: 0; left: 0; height: 7px; background: linear-gradient(90deg, var(--yellow) 0 28%, var(--blue-700) 28% 100%); content: ""; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.55fr 1fr;
  gap: clamp(46px, 8vw, 110px);
  padding-bottom: 58px;
}

.brand-mark-footer { width: 48px; height: 48px; border-color: rgb(255 255 255 / 22%); }
.footer-brand strong { color: var(--white); }
.footer-brand small { color: var(--yellow); }
.footer-intro > p { max-width: 430px; margin: 26px 0 0; color: rgb(255 255 255 / 66%); }
.footer-label { margin-bottom: 18px; color: var(--yellow); font-size: 0.75rem; font-weight: 850; letter-spacing: 0.15em; text-transform: uppercase; }
.footer-links, .footer-contact { display: grid; align-content: start; gap: 10px; }
.footer-links a, .footer-contact a { color: rgb(255 255 255 / 72%); font-size: 0.9rem; }
.footer-links a:hover, .footer-contact a:hover { color: var(--white); }
.footer-contact a { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact svg { flex: 0 0 auto; margin-top: 4px; color: var(--yellow); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 15%);
  color: rgb(255 255 255 / 48%);
  font-size: 0.78rem;
}

.footer-bottom p { margin: 0; }
.footer-motto { display: inline-flex; align-items: center; gap: 8px; }
.footer-motto span { color: var(--yellow); font-size: 0.55rem; }

.page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(60px, 9vw, 130px);
  align-items: end;
  min-height: 440px;
  padding: clamp(86px, 9vw, 126px) max(24px, calc((100% - 1140px) / 2));
  overflow: hidden;
  border-bottom: 12px solid var(--yellow);
  background:
    linear-gradient(90deg, transparent 0 96%, rgb(16 74 145 / 5%) 96% 100%),
    var(--blue-50);
  background-size: 54px 54px;
}

.page-hero h1 { max-width: 840px; margin-bottom: 0; color: var(--blue-950); font-size: clamp(3.2rem, 6vw, 6rem); }

.page-hero-intro {
  position: relative;
  z-index: 2;
  margin: 0;
  padding-left: 26px;
  border-left: 5px solid var(--yellow);
  color: var(--muted);
  font-size: 1.06rem;
}

.page-hero-mark {
  position: absolute;
  right: max(24px, calc((100% - 1360px) / 2));
  bottom: -42px;
  color: rgb(16 74 145 / 6%);
  font-family: var(--font-body);
  font-size: clamp(11rem, 24vw, 20rem);
  font-weight: 950;
  line-height: 0.8;
}

.about-main-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 12px solid var(--yellow);
  background: var(--blue-950);
}

.about-main-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 22%;
  height: 12px;
  background: var(--blue-700);
  content: "";
}

.about-main-hero img {
  width: 100%;
  height: auto;
  filter: none;
  box-shadow: none;
}

.about-main-hero { box-shadow: inset 0 -1px 0 rgb(8 36 73 / 18%); }

.content-section { padding: clamp(82px, 9vw, 132px) max(24px, calc((100% - 1140px) / 2)); }

.two-column-story {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: clamp(60px, 10vw, 150px);
  align-items: start;
}

.two-column-story h2, .gallery-intro h2, .graduates-heading h2 { margin-bottom: 0; color: var(--blue-950); }
.body-copy { color: var(--muted); }
.body-copy p:last-child { margin-bottom: 0; }

.timeline-section { background: var(--blue-950); color: var(--white); }
.timeline-section .section-kicker { color: var(--yellow); }

.timeline-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgb(255 255 255 / 22%); }

.timeline-row article { position: relative; padding: 34px 30px 0 0; border-right: 1px solid rgb(255 255 255 / 22%); }
.timeline-row article + article { padding-left: 30px; }
.timeline-row article:last-child { border-right: 0; }
.timeline-row article::before { position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--yellow); content: ""; }
.timeline-row strong { display: block; margin-bottom: 14px; color: var(--yellow); font-family: var(--font-display); font-size: 3.1rem; line-height: 1; }
.timeline-row span { display: block; margin-bottom: 10px; font-weight: 850; }
.timeline-row p { margin-bottom: 0; color: rgb(255 255 255 / 65%); font-size: 0.9rem; }

.values-section { background: var(--white); }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.value-grid article { padding: 36px 30px 10px 0; border-right: 1px solid var(--line); }
.value-grid article + article { padding-left: 30px; }
.value-grid article:last-child { border-right: 0; }
.value-grid svg { margin-bottom: 38px; color: var(--blue-700); }
.value-grid h3, .subject-grid h3, .needs-grid h3 { margin-bottom: 10px; color: var(--blue-950); font-family: var(--font-display); font-size: 1.55rem; }
.value-grid p, .subject-grid p, .needs-grid p { margin-bottom: 0; color: var(--muted); }

.page-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  background: var(--yellow-soft);
}

.page-cta h2 { margin-bottom: 0; color: var(--blue-950); }

.program-section { background: var(--white); }
.program-band { display: grid; grid-template-columns: 1fr auto 1fr; background: var(--blue-800); color: var(--white); }
.program-band article { min-height: 330px; padding: clamp(34px, 5vw, 58px); }
.program-band article:first-child { background: var(--blue-950); }
.program-band span { display: block; margin-bottom: 70px; color: var(--yellow); font-size: 0.76rem; font-weight: 850; letter-spacing: 0.14em; text-transform: uppercase; }
.program-band strong { display: block; margin-bottom: 16px; font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1.1; }
.program-band p { max-width: 440px; margin-bottom: 0; color: rgb(255 255 255 / 69%); }
.program-arrow { display: grid; width: 70px; background: var(--yellow); color: var(--blue-950); place-items: center; }

.learning-pathway-heading { margin-bottom: 46px; }

.learning-stage-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr) 54px minmax(0, 1fr);
  background: var(--blue-950);
  color: var(--white);
}

.learning-stage-band article { min-height: 320px; padding: clamp(30px, 4vw, 48px); }
.learning-stage-band article:nth-of-type(2) { background: var(--blue-800); }
.learning-stage-band article:nth-of-type(3) { background: #1456a0; }

.learning-stage-band article > span {
  display: block;
  margin-bottom: 62px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.learning-stage-band strong {
  display: block;
  margin-bottom: 15px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.7vw, 2.6rem);
  line-height: 1.1;
}

.learning-stage-band p { margin: 0; color: rgb(255 255 255 / 72%); }

.learning-stage-arrow {
  display: grid;
  background: var(--yellow);
  color: var(--blue-950);
  font-size: 1.45rem;
  font-weight: 900;
  place-items: center;
}

.learning-roadmap { background: var(--blue-950); color: var(--white); }

.learning-roadmap-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 30px clamp(50px, 9vw, 140px);
  align-items: end;
  margin-bottom: 58px;
}

.learning-roadmap-intro .eyebrow { grid-column: 1 / -1; margin-bottom: -10px; }
.learning-roadmap-intro h2 { margin: 0; }
.learning-roadmap-intro > p:last-child { margin: 0; color: rgb(255 255 255 / 67%); }

.learning-step-list { margin: 0; padding: 0; list-style: none; }

.learning-step-list li {
  display: grid;
  grid-template-columns: 72px minmax(180px, 0.44fr) minmax(0, 1fr);
  gap: 26px clamp(24px, 5vw, 72px);
  align-items: start;
  padding: 34px 28px 34px 0;
  border-top: 1px solid rgb(255 255 255 / 19%);
}

.learning-step-list li:last-child { border-bottom: 1px solid rgb(255 255 255 / 19%); }
.learning-step-list li.is-transition-step { background: linear-gradient(90deg, rgb(255 193 45 / 10%), transparent 68%); }
.learning-step-list li.is-final-step { background: linear-gradient(90deg, rgb(29 103 190 / 38%), transparent 75%); }

.learning-step-number {
  display: grid;
  width: 54px;
  height: 54px;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 900;
  place-items: center;
}

.learning-step-stage > span {
  display: block;
  margin: 4px 0 7px;
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.learning-step-stage strong { font-family: var(--font-display); font-size: 1.55rem; line-height: 1.15; }
.learning-step-list h3 { margin: 2px 0 9px; font-family: var(--font-display); font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
.learning-step-list p { max-width: 720px; margin: 0; color: rgb(255 255 255 / 66%); }

.subjects-section { background: var(--blue-50); }
.heading-note { max-width: 430px; margin: 0; color: var(--muted); }
.subject-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #b9cde8; }
.subject-grid article { padding: 32px 24px 10px 0; border-right: 1px solid #b9cde8; }
.subject-grid article + article { padding-left: 24px; }
.subject-grid article:last-child { border-right: 0; }
.subject-grid svg { margin-bottom: 42px; color: var(--blue-700); }

.guidance-section {
  display: grid;
  grid-template-columns: auto minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: start;
  background: var(--blue-950);
  color: var(--white);
}

.guidance-section > svg { color: var(--yellow); }
.guidance-section h2 { margin-bottom: 0; }
.guidance-section .body-copy { color: rgb(255 255 255 / 68%); }
.guidance-section .button { margin-top: 18px; }

.gallery-section { background: var(--white); }
.gallery-intro { max-width: 700px; margin-bottom: 56px; }

.activity-tabs-list {
  display: flex;
  gap: 8px;
  margin-bottom: 48px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}

.activity-year-button {
  flex: 0 0 auto;
  min-width: 92px;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  color: var(--blue-800);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 850;
  text-align: center;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease, transform 150ms ease;
}

.activity-year-button:hover { border-color: var(--blue-700); background: var(--blue-50); transform: translateY(-2px); }
.activity-year-button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.activity-year-button.is-active { border-color: var(--blue-800); background: var(--blue-800); color: var(--white); }
.activity-year-panel { animation: graduate-panel-in 180ms ease both; }
.activity-year-panel[hidden] { display: none !important; }

.activity-story { padding: 44px 0 64px; border-top: 1px solid var(--line); }
.activity-story:first-child { padding-top: 0; border-top: 0; }
.activity-story:last-child { padding-bottom: 0; }

.activity-story-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 40px;
  align-items: end;
  margin-bottom: 26px;
}

.activity-story-heading h3 { margin: 0; color: var(--blue-950); font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.5rem); }
.activity-story-heading > span { padding: 8px 12px; background: var(--yellow-soft); color: var(--blue-800); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.activity-story-heading > p { grid-column: 1 / -1; max-width: 720px; margin: 0; color: var(--muted); }

.activity-story-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 270px;
  gap: 14px;
}

.activity-story-photo { margin: 0; overflow: hidden; background: var(--blue-100); cursor: default; }
.activity-story-photo.is-featured { grid-column: span 2; grid-row: span 2; }
.activity-story-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 320ms ease; }
.activity-story-photo:hover img { transform: scale(1.025); }

.activity-gallery { display: grid; grid-template-columns: 1.15fr 0.85fr; grid-auto-rows: 300px; gap: 18px; }
.gallery-item { position: relative; margin: 0; overflow: hidden; background: var(--blue-100); }
.gallery-item-1, .gallery-item-4 { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 320ms ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item figcaption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; gap: 14px; align-items: center; padding: 18px 20px; background: linear-gradient(0deg, rgb(8 36 73 / 91%), rgb(8 36 73 / 0%)); color: var(--white); font-size: 0.9rem; font-weight: 850; }
.gallery-item figcaption span { color: var(--yellow); font-size: 0.73rem; letter-spacing: 0.1em; }

.activity-list-section { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(60px, 10vw, 150px); background: var(--blue-50); }
.activity-list-section h2 { margin-bottom: 0; color: var(--blue-950); }
.activity-name-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #b9cde8; }
.activity-name-grid div { display: flex; gap: 16px; align-items: center; min-height: 65px; border-bottom: 1px solid #b9cde8; }
.activity-name-grid div:nth-child(odd) { border-right: 1px solid #b9cde8; }
.activity-name-grid span { color: var(--blue-700); font-size: 0.72rem; font-weight: 850; }
.activity-name-grid strong { font-size: 0.9rem; }

.graduates-section { background: var(--white); }
.graduates-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 54px; }
.graduate-total { display: flex; align-items: center; gap: 14px; padding-left: 24px; border-left: 5px solid var(--yellow); }
.graduate-total svg { color: var(--blue-700); }
.graduate-total strong { color: var(--blue-950); font-family: var(--font-display); font-size: 3.1rem; line-height: 0.9; }
.graduate-total span { color: var(--muted); font-size: 0.74rem; font-weight: 800; line-height: 1.4; text-transform: uppercase; }

.graduate-tabs-list { display: flex !important; width: 100% !important; height: auto !important; justify-content: flex-start !important; gap: 8px !important; margin-bottom: 36px; padding: 0 0 15px !important; border-bottom: 1px solid var(--line); border-radius: 0 !important; background: transparent !important; overflow-x: auto; }
.graduate-year-button { flex: 0 0 auto; min-width: 92px; min-height: 46px; padding: 0 22px; border: 1px solid var(--line); border-radius: 2px; background: var(--white); color: var(--blue-800); cursor: pointer; font: inherit; font-size: 0.9rem; font-weight: 850; transition: border-color 150ms ease, background 150ms ease, color 150ms ease, transform 150ms ease; }
.graduate-year-button:hover { border-color: var(--blue-700); background: var(--blue-50); transform: translateY(-2px); }
.graduate-year-button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.graduate-year-button.is-active { border-color: var(--blue-800); background: var(--blue-800); color: var(--white); }
.graduate-tab-panel { font-size: 1rem !important; animation: graduate-panel-in 180ms ease both; }
.graduate-tab-panel[hidden] { display: none !important; }

@keyframes graduate-panel-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
.cohort-summary { display: grid; grid-template-columns: 1fr 1fr; background: var(--blue-950); color: var(--white); }
.cohort-summary > div { display: grid; gap: 8px; padding: 28px 32px; border-right: 1px solid rgb(255 255 255 / 18%); }
.cohort-summary > div:last-child { border-right: 0; }
.cohort-summary span { color: var(--yellow); font-size: 0.73rem; font-weight: 850; letter-spacing: 0.13em; text-transform: uppercase; }
.cohort-summary strong { font-family: var(--font-display); font-size: 2rem; }
.graduate-table { border: 1px solid var(--line); }
.graduate-table [data-slot="table-head"] { height: 48px; padding: 0 22px; border-bottom: 1px solid var(--line); color: var(--blue-950); font-size: 0.75rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.graduate-empty { padding: 52px 22px !important; text-align: center; white-space: normal !important; }
.graduate-empty strong, .graduate-empty span { display: block; }
.graduate-empty strong { margin-bottom: 8px; color: var(--blue-950); font-family: var(--font-display); font-size: 1.35rem; }
.graduate-empty span { color: var(--muted); }

.graduate-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.graduate-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 0 0 rgb(8 36 73 / 0%);
  cursor: default;
  transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.graduate-card:hover { border-color: #a9c3e2; box-shadow: var(--shadow-soft); transform: translateY(-5px); }

.graduate-photo {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--blue-100);
  place-items: center;
}

.graduate-photo img { width: 100%; height: 100%; object-fit: cover; }

.graduate-photo > span {
  color: var(--blue-700);
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
}

.graduate-photo > strong {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 9px 13px;
  background: var(--yellow);
  color: var(--blue-950);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.graduate-card-copy { padding: 20px; }
.graduate-card-copy h3 { margin-bottom: 5px; color: var(--blue-950); font-family: var(--font-display); font-size: 1.35rem; }
.graduate-card-copy p { margin-bottom: 12px; color: var(--muted); font-size: 0.88rem; }
.graduate-card-copy > span { color: var(--blue-700); font-size: 0.74rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }

.graduate-empty-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 34px;
  align-items: center;
  margin-top: 28px;
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--blue-50);
}

.empty-photo-frame {
  display: grid;
  aspect-ratio: 4 / 5;
  border: 2px dashed #a8bfdc;
  background: var(--white);
  color: var(--blue-700);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  place-items: center;
}

.graduate-empty-card > div:last-child { display: grid; }
.graduate-empty-card span { margin-bottom: 9px; color: var(--blue-700); font-size: 0.74rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.graduate-empty-card strong { margin-bottom: 10px; color: var(--blue-950); font-family: var(--font-display); font-size: 1.65rem; }
.graduate-empty-card p { max-width: 610px; margin-bottom: 0; color: var(--muted); }

.needs-section { background: var(--white); }
.needs-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.needs-grid article { display: flex; min-height: 330px; padding: 30px 24px 12px 0; border-right: 1px solid var(--line); flex-direction: column; }
.needs-grid article + article { padding-left: 24px; }
.needs-grid article:last-child { border-right: 0; }
.needs-grid article > span { color: var(--blue-700); font-size: 0.74rem; font-weight: 850; }
.needs-grid svg { margin-top: auto; margin-bottom: 28px; color: var(--blue-700); }

.support-contact { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr); gap: clamp(60px, 10vw, 150px); background: var(--blue-950); color: var(--white); }
.support-contact h2 { margin-bottom: 0; }
.support-contact > div:last-child p { margin-bottom: 28px; color: rgb(255 255 255 / 68%); }

.contact-section { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr); gap: clamp(60px, 10vw, 140px); background: var(--white); }
.contact-cards { display: grid; border-top: 1px solid var(--line); }
.contact-cards a { display: grid; grid-template-columns: 46px 90px 1fr; gap: 18px; align-items: center; min-height: 104px; border-bottom: 1px solid var(--line); }
.contact-cards a { transition: color 160ms ease, padding 160ms ease, background 160ms ease; }
.contact-cards a:hover { padding-inline: 14px; background: var(--blue-50); }
.contact-cards svg { color: var(--blue-700); }
.contact-cards span { color: var(--blue-700); font-size: 0.76rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.contact-cards strong { color: var(--blue-950); font-size: 0.95rem; }
.contact-note { align-self: start; padding: 42px; border-top: 8px solid var(--yellow); background: var(--blue-50); }
.contact-note h2 { color: var(--blue-950); font-size: clamp(2rem, 3.6vw, 3.4rem); }
.contact-note > p:last-child { margin-bottom: 0; color: var(--muted); }

.public-empty {
  padding: clamp(34px, 6vw, 64px);
  border: 2px dashed #b9cde8;
  background: var(--blue-50);
  text-align: center;
}

.public-empty strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-950);
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.public-empty p { margin: 0; color: var(--muted); }

.news-preview { background: var(--white); }
.news-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.news-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.news-card:hover { border-color: #a9c3e2; box-shadow: var(--shadow-soft); transform: translateY(-5px); }
.news-card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.news-card > div { padding: 25px; }
.news-card > div > span { color: var(--blue-700); font-size: 0.75rem; font-weight: 850; letter-spacing: 0.09em; text-transform: uppercase; }
.news-card h3, .news-card h2 { margin: 10px 0 12px; color: var(--blue-950); font-family: var(--font-display); font-size: 1.55rem; line-height: 1.14; }
.news-card h2 { font-size: 1.8rem; }
.news-card h3 a:hover, .news-card h2 a:hover { color: var(--blue-700); }
.news-card p { margin-bottom: 18px; color: var(--muted); }
.news-index { background: var(--blue-50); }

.pagination { margin-top: 48px; }
.pagination nav { display: flex; justify-content: center; }
.pagination nav > div:first-child { display: none; }
.pagination nav > div:last-child { display: flex; width: 100%; justify-content: space-between; gap: 24px; align-items: center; }
.pagination nav span[aria-current="page"] > span { background: var(--blue-800); color: var(--white); }
.pagination nav a, .pagination nav span > span { display: inline-flex; min-width: 42px; min-height: 42px; align-items: center; justify-content: center; border: 1px solid var(--line); background: var(--white); }

.story-page { background: var(--white); }
.story-page .story-header { padding-bottom: 74px; background: var(--blue-50); }
.story-header h1 { max-width: 920px; margin-bottom: 24px; color: var(--blue-950); font-size: clamp(3rem, 6vw, 6rem); }
.story-header .eyebrow { margin-top: 60px; }
.story-back { color: var(--blue-800); font-size: 0.9rem; font-weight: 850; }
.story-back:hover { color: var(--blue-950); }
.story-intro, .story-header .hero-intro { max-width: 720px; }
.story-cover { max-width: 1140px; margin: -34px auto 0; padding: 0 24px; }
.story-cover img { width: 100%; max-height: 660px; object-fit: cover; box-shadow: var(--shadow-soft); }
.story-page .story-body { max-width: 820px; color: #344359; font-size: 1.08rem; }
.story-body h2, .story-body h3 { margin: 2.1em 0 0.6em; color: var(--blue-950); }
.story-body h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.story-body h3 { font-family: var(--font-display); font-size: 1.55rem; }
.story-body a { color: var(--blue-700); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.story-body img { margin: 34px 0; }
.story-body blockquote { margin: 34px 0; padding: 10px 0 10px 28px; border-left: 5px solid var(--yellow); color: var(--blue-950); font-family: var(--font-display); font-size: 1.4rem; }

.staff-pass-page {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 760px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgb(246 199 68 / 18%) 0 86px, transparent 87px),
    radial-gradient(circle at 91% 88%, rgb(18 96 184 / 10%) 0 160px, transparent 161px),
    var(--blue-50);
}

.staff-pass-page::before {
  position: absolute;
  top: 64px;
  left: -76px;
  width: 190px;
  height: 190px;
  border: 1px solid rgb(16 74 145 / 14%);
  border-radius: 50%;
  content: "";
}

.staff-pass {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  overflow: hidden;
  border: 1px solid #b9cde8;
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 32px 90px rgb(8 36 73 / 16%);
}

.staff-pass-stripe {
  height: 12px;
  background: linear-gradient(90deg, var(--blue-950) 0 32%, var(--blue-700) 32% 77%, var(--yellow) 77% 100%);
}

.staff-pass.is-inactive .staff-pass-stripe { background: linear-gradient(90deg, #4a5565 0 72%, #c3362b 72% 100%); }

.staff-pass-header {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}

.staff-pass-school { display: flex; gap: 13px; align-items: center; }
.staff-pass-school img { width: 62px; height: 62px; border: 1px solid var(--blue-100); border-radius: 50%; object-fit: cover; }
.staff-pass-school div { display: grid; line-height: 1.2; }
.staff-pass-school strong { color: var(--blue-950); font-family: var(--font-display); font-size: 1.05rem; }
.staff-pass-school span { color: var(--muted); font-size: 0.72rem; }

.staff-pass-status { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border: 1px solid #bce1cd; border-radius: 999px; background: #effaf4; color: #12643e; }
.staff-pass-status > span:last-child { display: grid; line-height: 1.15; }
.staff-pass-status small { margin-bottom: 3px; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.staff-pass-status strong { font-size: 0.78rem; white-space: nowrap; }
.staff-pass-status-icon { display: grid; width: 30px; height: 30px; border-radius: 50%; background: #d5f2e2; place-items: center; }
.staff-pass-status-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.4; }
.staff-pass.is-inactive .staff-pass-status { border-color: #f1c2be; background: #fff1f0; color: #a82b22; }
.staff-pass.is-inactive .staff-pass-status-icon { background: #f9d8d5; }

.staff-pass-inactive-notice { display: grid; grid-template-columns: 36px 1fr; gap: 14px; margin: 22px 28px 0; padding: 16px 18px; border: 1px solid #efb9b4; border-radius: 15px; background: #fff5f4; color: #8f241d; }
.staff-pass-inactive-notice svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.staff-pass-inactive-notice strong, .staff-pass-inactive-notice span { display: block; }
.staff-pass-inactive-notice strong { margin-bottom: 2px; font-size: 0.9rem; }
.staff-pass-inactive-notice span { color: #77413d; font-size: 0.78rem; line-height: 1.5; }

.staff-pass-identity { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 28px; align-items: center; padding: 32px 28px; background: linear-gradient(110deg, #edf5ff 0 63%, #fff8db 63% 100%); }
.staff-pass.is-inactive .staff-pass-identity { background: linear-gradient(110deg, #f1f3f5 0 63%, #f8e9e8 63% 100%); }
.staff-pass-photo-wrap { position: relative; width: 160px; }
.staff-pass-photo { display: grid; width: 160px; aspect-ratio: 4 / 5; overflow: hidden; border: 5px solid var(--white); border-radius: 18px; background: var(--blue-100); color: var(--blue-700); box-shadow: 0 12px 32px rgb(8 36 73 / 15%); font-family: var(--font-display); font-size: 5rem; place-items: center; }
.staff-pass-photo img { width: 100%; height: 100%; object-fit: cover; }
.staff-pass.is-inactive .staff-pass-photo img { filter: grayscale(1); }
.staff-pass-photo-state { position: absolute; right: -10px; bottom: 12px; padding: 7px 10px; border-radius: 999px; background: var(--blue-950); color: var(--white); font-size: 0.64rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.staff-pass.is-inactive .staff-pass-photo-state { background: #9f2e26; }
.staff-pass-name { min-width: 0; }
.staff-pass-name > p { margin-bottom: 6px; color: var(--blue-700); font-size: 0.69rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.staff-pass-name h2 { width: 100%; max-width: 100%; margin-bottom: 6px; overflow-wrap: anywhere; color: var(--blue-950); font-size: clamp(1.8rem, 2.8vw, 2.8rem); line-height: 1; }
.staff-pass-local-name { display: block; margin-bottom: 18px; color: var(--muted); font-size: 0.9rem; }
.staff-pass-role { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.staff-pass-role strong, .staff-pass-role span { padding: 6px 9px; border-radius: 7px; font-size: 0.74rem; }
.staff-pass-role strong { background: var(--blue-950); color: var(--white); }
.staff-pass-role span { border: 1px solid #aac1dc; background: rgb(255 255 255 / 72%); color: var(--blue-900); font-weight: 750; }

.staff-pass-record { padding: 28px; }
.staff-pass-record-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.staff-pass-record-heading span { color: var(--blue-700); font-size: 0.65rem; font-weight: 900; letter-spacing: 0.11em; text-transform: uppercase; }
.staff-pass-record-heading h3 { margin: 2px 0 0; color: var(--blue-950); font-family: var(--font-display); font-size: 1.7rem; }
.staff-pass-record-heading > svg { width: 38px; height: 38px; color: var(--blue-700); fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.4; }
.staff-pass.is-inactive .staff-pass-record-heading > svg { color: #9f2e26; }

.staff-pass-details { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.staff-pass-details div { min-width: 0; padding: 13px 15px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.staff-pass-details dt { margin-bottom: 3px; color: var(--muted); font-size: 0.67rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.staff-pass-details dd { margin: 0; overflow-wrap: anywhere; color: var(--blue-950); font-size: 0.9rem; font-weight: 800; }
.staff-pass-details dd small { display: block; color: var(--muted); font-size: 0.63rem; font-weight: 600; }

.staff-pass-assignments { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0 28px 28px; padding: 20px; border-radius: 14px; background: var(--blue-50); }
.staff-pass-assignments span { display: block; margin-bottom: 5px; color: var(--blue-700); font-size: 0.65rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.staff-pass-assignments p { margin: 0; color: var(--blue-950); font-size: 0.82rem; font-weight: 750; line-height: 1.5; }

.staff-pass-footer { display: grid; grid-template-columns: 50px 1fr auto; gap: 15px; align-items: center; padding: 20px 28px; background: var(--blue-950); color: var(--white); }
.staff-pass-footer > span { display: grid; width: 48px; height: 48px; border: 1px solid rgb(255 255 255 / 28%); border-radius: 50%; color: var(--yellow); font-family: var(--font-display); font-weight: 800; place-items: center; }
.staff-pass-footer p { margin: 0; color: rgb(255 255 255 / 64%); font-size: 0.7rem; line-height: 1.45; }
.staff-pass-footer p strong { color: var(--white); font-size: 0.78rem; }
.staff-pass-footer small { color: rgb(255 255 255 / 62%); font-size: 0.68rem; text-align: right; }
.staff-pass.is-inactive .staff-pass-footer { background: #343e4b; }

@media (max-width: 1040px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav, .header-cta { display: none; }
  .mobile-menu { position: relative; display: block; }
  .mobile-menu summary { display: grid; width: 46px; height: 46px; cursor: pointer; list-style: none; place-items: center; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu nav { position: absolute; top: 52px; right: 0; display: grid; width: 230px; padding: 12px; border-top: 4px solid var(--yellow); background: var(--white); box-shadow: 0 18px 50px rgb(8 36 73 / 18%); }
  .mobile-menu nav a { padding: 10px 12px; color: var(--blue-950); font-size: 0.92rem; font-weight: 750; }
  body:has(.about-main-hero) .mobile-menu a[href="/about"],
  body:has(.program-section) .mobile-menu a[href="/learning"],
  body:has(.gallery-section) .mobile-menu a[href="/activities"],
  body:has(.graduates-section) .mobile-menu a[href="/graduates"],
  body:has(.needs-section) .mobile-menu a[href="/support"] { background: var(--yellow-soft); color: var(--blue-950); }
  .home-hero { grid-template-columns: 1fr; background: linear-gradient(180deg, var(--white) 55%, var(--blue-50) 55%); }
  .home-hero-media { min-height: 520px; }
  .story-layout, .graduate-preview { grid-template-columns: 1fr; }
  .page-hero, .two-column-story, .activity-list-section, .support-contact, .contact-section { grid-template-columns: 1fr; }
  .staff-pass { max-width: 760px; }
  .timeline-row, .subject-grid, .needs-grid { grid-template-columns: 1fr 1fr; }
  .graduate-card-grid { grid-template-columns: repeat(3, 1fr); }
  .activity-story-gallery { grid-template-columns: 1fr 1fr; }
  .news-card-grid { grid-template-columns: 1fr 1fr; }
  .timeline-row article:nth-child(2), .subject-grid article:nth-child(2), .needs-grid article:nth-child(2) { border-right: 0; }
  .timeline-row article:nth-child(-n + 2), .subject-grid article:nth-child(-n + 2), .needs-grid article:nth-child(-n + 2) { border-bottom: 1px solid rgb(255 255 255 / 22%); }
  .subject-grid article:nth-child(-n + 2), .needs-grid article:nth-child(-n + 2) { border-bottom-color: var(--line); }
  .guidance-section { grid-template-columns: auto 1fr; }
  .guidance-section .body-copy { grid-column: 2; }
  .support-cta { grid-template-columns: auto 1fr; }
  .support-cta .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 760px) {
  .impact-band { grid-template-columns: 1fr 1fr; padding: 0; }
  .impact-stat:nth-child(2) { border-right: 0; }
  .impact-stat:nth-child(-n + 2) { border-bottom: 1px solid rgb(255 255 255 / 20%); }
  .section-heading-row { align-items: flex-start; flex-direction: column; margin-bottom: 44px; }
  .pathway-grid { grid-template-columns: 1fr; }
  .pathway-grid article, .pathway-grid article + article { padding: 28px 0; border-right: 0; border-bottom: 1px solid #b9cde8; }
  .pathway-grid article:last-child { border-bottom: 0; }
  .pathway-grid span { margin-bottom: 18px; }
  .photo-grid { grid-template-columns: 1fr; grid-template-rows: 340px 240px 240px; }
  .photo-grid .photo-featured { grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-intro { grid-column: 1 / 3; }
  .graduate-card-grid { grid-template-columns: 1fr 1fr; }
  .news-card-grid { grid-template-columns: 1fr; }
  .page-hero { min-height: 0; }
  .page-hero-intro { max-width: 620px; }
  .timeline-row, .value-grid, .subject-grid, .needs-grid { grid-template-columns: 1fr; }
  .timeline-row article, .timeline-row article + article, .value-grid article, .value-grid article + article, .subject-grid article, .subject-grid article + article, .needs-grid article, .needs-grid article + article { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .timeline-row article { border-bottom-color: rgb(255 255 255 / 22%); }
  .program-band { grid-template-columns: 1fr; }
  .program-arrow { width: 100%; height: 64px; }
  .program-arrow svg { transform: rotate(90deg); }
  .learning-stage-band { grid-template-columns: 1fr; }
  .learning-stage-band article { min-height: 0; }
  .learning-stage-band article > span { margin-bottom: 28px; }
  .learning-stage-arrow { width: 100%; height: 54px; transform: none; }
  .learning-stage-arrow { font-size: 0; }
  .learning-stage-arrow::after { font-size: 1.45rem; content: "↓"; }
  .learning-roadmap-intro { grid-template-columns: 1fr; }
  .learning-roadmap-intro .eyebrow { grid-column: auto; margin-bottom: -12px; }
  .learning-step-list li { grid-template-columns: 58px minmax(0, 1fr); gap: 18px 22px; padding-right: 0; }
  .learning-step-list li > div:last-child { grid-column: 2; }
  .guidance-section { grid-template-columns: 1fr; }
  .guidance-section .body-copy { grid-column: 1; }
  .activity-gallery { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .gallery-item-1, .gallery-item-4 { grid-row: span 1; }
  .activity-story-gallery { grid-auto-rows: 230px; }
  .activity-story-photo.is-featured { grid-column: span 2; grid-row: span 2; }
  .graduates-heading { align-items: flex-start; flex-direction: column; }
  .page-cta { grid-template-columns: 1fr; }
  .staff-pass-header { align-items: flex-start; flex-direction: column; }
  .staff-pass-details, .staff-pass-assignments { grid-template-columns: 1fr; }
  .staff-pass-footer { grid-template-columns: 50px 1fr; }
  .staff-pass-footer small { grid-column: 2; text-align: left; }
}

@media (max-width: 560px) {
  .site-header { min-height: 76px; }
  .brand-mark { width: 44px; height: 44px; }
  .brand strong { font-size: 0.96rem; }
  .brand small { font-size: 0.62rem; }
  .home-hero { min-height: 0; padding-top: 62px; padding-bottom: 80px; }
  h1 { font-size: clamp(3rem, 15vw, 4.35rem); }
  .home-hero-media { min-height: 380px; }
  .school-seal { bottom: 18px; left: -8px; width: 86px; height: 86px; }
  .school-seal strong { font-size: 1.4rem; }
  .staff-pass-page { padding-inline: 16px; }
  .staff-pass { border-radius: 20px; }
  .staff-pass-header, .staff-pass-identity, .staff-pass-record { padding: 22px; }
  .staff-pass-inactive-notice { margin: 18px 22px 0; }
  .staff-pass-page { min-height: 0; }
  .staff-pass-identity { grid-template-columns: 96px minmax(0, 1fr); gap: 17px; }
  .staff-pass-photo-wrap, .staff-pass-photo { width: 96px; }
  .staff-pass-photo { border-width: 4px; border-radius: 14px; font-size: 3.4rem; }
  .staff-pass-photo-state { right: -7px; padding: 5px 7px; font-size: 0.55rem; }
  .staff-pass-name h2 { font-size: clamp(1.55rem, 7vw, 2.35rem); }
  .staff-pass-assignments { margin: 0 22px 22px; }
  .staff-pass-footer { padding: 19px 22px; }
  .hero-image-frame { inset: 18px 0 0 14px; border-width: 7px; }
  .hero-badge { right: -8px; bottom: -26px; }
  .impact-stat { align-items: flex-start; flex-direction: column; gap: 8px; min-height: 142px; padding: 22px; }
  .photo-grid { grid-template-rows: 270px 210px 210px; }
  .support-cta { grid-template-columns: 1fr; }
  .support-cta .button { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-intro { grid-column: auto; }
  .activity-story-heading { grid-template-columns: 1fr; align-items: start; }
  .activity-story-heading > p { grid-column: auto; }
  .activity-story-heading > span { justify-self: start; }
  .activity-story-gallery { grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .activity-story-photo.is-featured { grid-column: auto; grid-row: auto; }
  .footer-bottom { flex-direction: column; }
  .activity-name-grid { grid-template-columns: 1fr; }
  .activity-name-grid div:nth-child(odd) { border-right: 0; }
  .cohort-summary { grid-template-columns: 1fr; }
  .cohort-summary > div { border-right: 0; border-bottom: 1px solid rgb(255 255 255 / 18%); }
  .contact-cards a { grid-template-columns: 38px 1fr; gap: 10px; padding: 18px 0; }
  .contact-cards strong { grid-column: 2; }
  .graduate-card-grid { grid-template-columns: 1fr; }
  .graduate-empty-card { grid-template-columns: 100px 1fr; gap: 20px; padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
}
