:root {
  --ink: #071827;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #dbe5ef;
  --paper: #ffffff;
  --mist: #f4f8fb;
  --blue: #045eb8;
  --blue-dark: #063b75;
  --gold: #f4b321;
  --green: #11845b;
  --red: #b42318;
  --shadow: 0 24px 70px rgba(7, 24, 39, .14);
  --radius: 8px;
  --container: min(1180px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 28px;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; color: var(--ink-soft); }
h1, h2, h3 {
  margin: 0;
  font-family: Manrope, Inter, system-ui, sans-serif;
  letter-spacing: 0;
  font-weight: 700;
}
h1 { font-size: 40px; line-height: 40px; }
h2 { font-size: 36px; line-height: 40px; }
h3 { font-size: 24px; line-height: 32px; }
.sr-only, .skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--gold);
  color: var(--ink);
}
.container { width: var(--container); margin: 0 auto; }
.narrow { max-width: 850px; }
.panel-container { width: min(1180px, calc(100vw - 72px)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(219, 229, 239, .9);
}
.notice-bar {
  display: flex;
  justify-content: center;
  gap: 18px;
  align-items: center;
  padding: 8px 20px;
  background: var(--blue-dark);
  color: #eaf4ff;
  font-size: 12px;
  line-height: 20px;
  font-weight: 400;
}
.notice-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.navbar {
  width: var(--container);
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 228px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(4, 94, 184, .28);
}
.brand-logo {
  display: block;
  flex: 0 0 auto;
  width: 54px;
  height: 58px;
  object-fit: contain;
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 16px; line-height: 24px; font-weight: 700; }
.brand small { color: var(--muted); font-weight: 400; font-size: 12px; line-height: 20px; margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a,
.nav-item > a {
  padding: 10px 12px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  border-radius: 8px;
}
.nav-links a:hover,
.nav-links a.active,
.nav-item.active > a,
.nav-item:hover > a,
.nav-item:focus-within > a { color: var(--blue); background: #edf6ff; }
.nav-links .nav-cta {
  margin-left: 8px;
  color: #fff;
  background: var(--ink);
}
.nav-links .nav-cta:hover { color: #fff; background: var(--blue); }
.nav-item { position: relative; }
.has-mega::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -28px;
  width: calc(100% + 56px);
  height: 32px;
}
.mega-menu {
  position: fixed;
  left: 50%;
  top: 126px;
  z-index: 120;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
  gap: 36px;
  width: min(1176px, calc(100vw - 64px));
  padding: 34px 40px 38px;
  background: var(--blue-dark);
  border-top: 4px solid var(--gold);
  box-shadow: 0 30px 80px rgba(7, 24, 39, .30);
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu,
.has-mega.submenu-open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-intro {
  color: #fff;
}
.mega-intro .brand-mark {
  margin-bottom: 16px;
  background: #fff;
  color: var(--blue-dark);
  box-shadow: none;
}
.mega-intro .brand-logo {
  width: 66px;
  height: 71px;
  margin-bottom: 16px;
}
.mega-intro h2 {
  margin-bottom: 24px;
  color: #fff;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
}
.mega-intro p {
  max-width: 280px;
  color: #dcecff;
  font-size: 16px;
  line-height: 28px;
  font-weight: 300;
}
.mega-button {
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  padding: 12px 18px !important;
  color: var(--blue-dark) !important;
  background: #fff !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
}
.mega-column > span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 12px;
  line-height: 20px;
  font-weight: 500;
}
.mega-column a {
  display: block;
  padding: 12px 2px !important;
  color: #f5f9ff !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(255,255,255,.18);
  border-radius: 0 !important;
  font-size: 16px !important;
  line-height: 24px !important;
  font-weight: 500 !important;
}
.mega-column a:hover,
.mega-column a:focus {
  color: #fff !important;
  border-bottom-color: rgba(255,255,255,.55);
}
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}
.hero-media, .hero-overlay { position: absolute; inset: 0; z-index: -2; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 24, 44, .82), rgba(4, 24, 44, .46) 48%, rgba(4, 24, 44, .1)),
    linear-gradient(0deg, rgba(4, 24, 44, .68), transparent 45%);
}
.hero-content {
  position: relative;
  padding: 90px 0 120px;
  color: #fff;
}
.hero-message { display: none; max-width: 940px; }
.hero-message.active {
  display: block;
  animation: hero-message-in .55s ease both;
}
@keyframes hero-message-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-carousel-controls {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 48px;
  z-index: 3;
  display: flex;
  gap: 14px;
  align-items: center;
}
.hero-carousel-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0 0 4px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  color: #fff;
  background: rgba(4,24,44,.48);
  font: inherit;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}
.hero-carousel-arrow:hover,
.hero-carousel-arrow:focus-visible { background: var(--gold); border-color: var(--gold); }
.hero-carousel-dots { display: flex; gap: 9px; align-items: center; }
.hero-carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.hero-carousel-dots button.active { background: var(--gold); border-color: var(--gold); }
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-message.active { transition: none; animation: none; }
}
.eyebrow {
  margin-bottom: 14px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 12px;
  line-height: 20px;
  font-weight: 500;
}
.hero .eyebrow { color: #bfe0ff; }
.hero h1 { max-width: 920px; color: #fff; }
.hero-copy {
  max-width: 620px;
  margin-top: 24px;
  color: #e9f3ff;
  font-size: 20px;
  line-height: 28px;
  font-weight: 300;
}
.hero-actions, .section-heading, .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.hero-actions { justify-content: flex-start; margin-top: 34px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  border: 1px solid transparent;
}
.button.primary { background: var(--gold); color: #111827; }
.button.secondary { color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .08); }
.impact-panel {
  position: relative;
  z-index: 4;
  margin-top: 0;
  padding: 24px 0;
  background: #11223f;
}
.impact-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  align-items: center;
}
.impact-stats article {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 60px;
  color: #fff;
}
.stat-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: #ff5b1a;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
}
.impact-stats article:nth-child(even) .stat-icon,
.impact-stats article:nth-child(even) strong { color: #12a4da; }
.stat-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.impact-stats strong { display: block; color: #ff5b1a; font-size: 26px; line-height: 30px; font-weight: 600; }
.impact-stats span:not(.stat-icon) { display: block; margin-top: 3px; color: #fff; font-size: 14px; line-height: 20px; font-weight: 400; }

.quick-panel { position: relative; z-index: 3; background: #fff; padding: 26px 0 30px; }
.quick-heading { margin-bottom: 16px; text-align: center; }
.quick-heading h2 { font-size: 28px; line-height: 34px; font-weight: 600; }
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.redesigned-quick-grid { max-width: 1120px; }
.quick-grid a {
  display: flex;
  min-height: 132px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  text-align: center;
  transition: transform .2s ease;
}
.quick-grid a:hover { transform: translateY(-5px); }
.quick-grid .quick-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 14px;
}
.quick-grid .quick-icon img { width: 62px; height: 62px; object-fit: contain; }
.quick-grid strong { display: block; color: var(--ink); font-size: 15px; line-height: 20px; font-weight: 600; }

.section { padding: 96px 0; }
.section.muted, .muted { background: var(--mist); }
.split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 80px;
  align-items: start;
}
.section-copy { display: grid; gap: 18px; font-size: 16px; line-height: 28px; font-weight: 300; }
.feature-grid, .school-grid, .news-grid, .value-grid, .lifestyle-grid {
  display: grid;
  gap: 22px;
  margin-top: 38px;
}
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.feature-card, .news-card, .value-grid article, .lifestyle-grid article, .post-card, .contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
}
.feature-card { border-top: 6px solid var(--blue); min-height: 210px; }
.feature-card h3, .school-card h3 { margin-bottom: 14px; }
.accent-gold { border-top-color: var(--gold); }
.accent-green { border-top-color: var(--green); }
.school-grid { grid-template-columns: repeat(4, 1fr); }
.school-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(7, 24, 39, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.school-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(7, 24, 39, .12);
}
.school-card > img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}
.school-card-body {
  position: relative;
  padding: 28px;
}
.school-card span, .school-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: -54px 0 22px;
  border: 4px solid #fff;
  border-radius: 14px;
  background: #e8f3ff;
  color: var(--blue);
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
}
.home-schools .school-grid { gap: 26px; }
.home-schools .school-card {
  display: flex;
  min-height: 0;
  aspect-ratio: 1 / 1.12;
  flex-direction: column;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(7,24,39,.12);
}
.home-schools .school-card > img { height: 44%; flex: 0 0 44%; }
.home-schools .school-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 20px 20px;
}
.home-schools .school-card .school-card-body {
  color: #fff;
  background: #087f78;
}
.home-schools .school-card h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 25px;
  font-weight: 600;
}
.home-schools .school-card p { font-size: 14px; line-height: 22px; }
.home-schools .school-card h3,
.home-schools .school-card p { color: #fff; }
.text-link { color: var(--blue); font-size: 16px; line-height: 24px; font-weight: 700; }
.video-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 56px;
  align-items: center;
}
.video-copy p:not(.eyebrow) { margin: 20px 0 28px; font-size: 16px; line-height: 28px; font-weight: 300; }
.video-card, .video-embed {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--blue-dark), var(--green));
}
.video-card img { width: 100%; height: 430px; object-fit: cover; }
.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 24, 39, .55), transparent);
}
.play-button {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 12px;
  line-height: 20px;
  font-weight: 500;
  text-transform: uppercase;
}
.moringa-video-section {
  background: #fff;
}
.moringa-video-section.muted {
  background: var(--mist);
}
.moringa-video-heading {
  text-align: center;
  margin-bottom: 44px;
}
.moringa-video-heading .eyebrow {
  color: var(--blue);
}
.moringa-video-heading h2 {
  color: #ff5b1a;
  font-size: 40px;
  line-height: 40px;
  font-weight: 700;
}
.moringa-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}
.moringa-video-card {
  position: relative;
  display: block;
  min-height: 350px;
  overflow: hidden;
  border-radius: 4px;
  background: #11223f;
}
.moringa-video-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}
.moringa-video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 34, 63, .9), rgba(17, 34, 63, .22));
}
.moringa-video-launch {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.moringa-video-card.is-playing::after { display: none; }
.moringa-video-card iframe {
  display: block;
  width: 100%;
  height: 350px;
  border: 0;
}
.moringa-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ff5b1a;
  transform: translate(-50%, -50%);
  box-shadow: 0 16px 34px rgba(17, 34, 63, .28);
}
.moringa-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 17px solid #fff;
}
.moringa-video-card:hover .moringa-play,
.moringa-video-launch:focus-visible .moringa-play {
  transform: translate(-50%, -50%) scale(1.06);
}
.news-grid { grid-template-columns: 1.4fr .8fr; }
.news-card.large { grid-row: span 2; padding: 0; overflow: hidden; }
.news-card.large img { width: 100%; height: 315px; object-fit: cover; }
.news-card.large div { padding: 28px; }
.news-card h3, .news-card h2, .post-card h2 { margin: 10px 0 12px; font-size: 24px; line-height: 32px; font-weight: 700; }
.news-card a, .post-card a, .academic-list a { color: var(--blue); font-size: 16px; line-height: 24px; font-weight: 700; margin-top: 16px; display: inline-block; }
.home-news-section { background: #fff; }
.interactive-news-grid {
  grid-template-columns: 1.4fr .8fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.interactive-news-grid .interactive-news-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(7,24,39,.09);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.interactive-news-grid .interactive-news-card:first-child {
  grid-row: 1 / span 2;
  min-height: 520px;
}
.interactive-news-grid .interactive-news-card:first-child .news-card-content {
  flex: 0 1 auto;
  padding: 24px 26px 20px;
}
.interactive-news-grid .interactive-news-card:first-child .news-card-media {
  height: 350px;
  flex: 1 1 350px;
  min-height: 350px;
}
.interactive-news-grid .interactive-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(7,24,39,.14);
  border-color: rgba(6, 97, 188, .28);
}
.news-card-content { flex: 1; padding: 28px 26px 24px; }
.interactive-news-grid .news-card-content h3 {
  margin: 10px 0 12px;
  font-size: 22px;
  line-height: 29px;
  font-weight: 600;
}
.interactive-news-grid .news-card-content p { font-size: 15px; line-height: 25px; }
.news-card-media {
  position: relative;
  height: 205px;
  flex: 0 0 205px;
  overflow: hidden;
  margin: 0 14px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.interactive-news-grid .interactive-news-card:not(:first-child) .news-card-content {
  flex: 0 0 145px;
  height: 145px;
  overflow: hidden;
  padding: 16px 22px 14px;
}
.interactive-news-grid .interactive-news-card:not(:first-child) .news-card-content h3 {
  margin: 7px 0 8px;
  font-size: 19px;
  line-height: 25px;
}
.interactive-news-grid .interactive-news-card:not(:first-child) .news-card-content p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.interactive-news-grid .interactive-news-card:not(:first-child) .news-card-media {
  height: 160px;
  flex: 1 1 160px;
  min-height: 150px;
}
.news-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6,59,117,.16);
  transition: background .2s ease;
}
.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.interactive-news-card:hover .news-card-media img,
.interactive-news-card:focus-within .news-card-media img { transform: scale(1.04); }
.interactive-news-card:hover .news-card-media::after,
.interactive-news-card:focus-within .news-card-media::after { background: rgba(6,59,117,.42); }
.interactive-news-grid .news-card-reveal {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  transform: translate(-50%, -50%);
}
@media (hover: hover) {
  .interactive-news-grid .news-card-reveal { opacity: 0; transform: translate(-50%, -42%); transition: opacity .2s ease, transform .2s ease; }
  .interactive-news-card:hover .news-card-reveal,
  .interactive-news-card:focus-within .news-card-reveal { opacity: 1; transform: translate(-50%, -50%); }
}

.page-hero { padding: 84px 0; background: var(--mist); }
.page-hero-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 54px;
  align-items: center;
}
.page-hero p:not(.eyebrow) { margin-top: 20px; font-size: 20px; line-height: 28px; font-weight: 300; }
.page-hero img { width: 100%; height: 450px; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); }
.simple { text-align: center; }
.simple .eyebrow { margin-left: auto; margin-right: auto; }

.about-story-section {
  padding: 96px 0 80px;
  background: #fff;
}
.about-story-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.about-story-copy h1 {
  margin-bottom: 24px;
  color: var(--ink);
}
.about-story-copy p:not(.eyebrow) {
  margin-bottom: 18px;
  max-width: 560px;
  font-size: 16px;
  line-height: 28px;
  font-weight: 300;
}
.about-story-media {
  position: relative;
  min-height: 460px;
}
.about-story-media img {
  position: absolute;
  width: 72%;
  height: 330px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(7, 24, 39, .16);
}
.about-story-media img:first-child {
  top: 0;
  right: 0;
}
.about-story-media img:last-child {
  left: 0;
  bottom: 0;
  border: 10px solid #fff;
}
.about-image-band img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 8px;
}
.about-section-title {
  margin-top: 48px;
  margin-bottom: 28px;
}
.about-section-title h2,
.about-team-intro h2 {
  font-size: 36px;
  line-height: 40px;
  font-weight: 700;
}
.about-difference-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.about-difference-grid article {
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}
.about-difference-grid h3,
.about-values-grid h3,
.about-choose-grid h3,
.about-milestone-list h3,
.about-team-grid h3 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
}
.about-difference-grid p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 300;
}
.about-vision-mission {
  background: #11223f;
  color: #fff;
}
.about-vm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 46px;
}
.about-vm-grid article {
  padding: 36px;
  border-left: 3px solid var(--gold);
  background: rgba(255,255,255,.05);
  border-radius: 8px;
}
.about-vm-grid article:nth-child(2) { border-left-color: #12a4da; }
.about-vm-grid h2 { color: #fff; font-size: 28px; line-height: 36px; }
.about-vm-grid p:not(.eyebrow) {
  margin-top: 18px;
  color: #dbeafe;
  font-size: 16px;
  line-height: 28px;
  font-weight: 300;
}
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.about-values-grid article {
  min-height: 210px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: center;
}
.about-values-grid span {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  color: var(--blue);
  background: var(--mist);
  border-radius: 50%;
  font-size: 36px;
  line-height: 40px;
  font-weight: 700;
}
.about-values-grid span img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.about-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.about-choose-grid article {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}
.about-choose-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.about-choose-grid h3 { padding: 22px; }
.about-milestone-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.about-milestone-list article {
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.about-milestone-list p {
  margin-top: 10px;
  max-width: 790px;
}
.about-milestone-list time {
  color: var(--blue);
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  text-align: right;
}
.about-team-intro {
  max-width: 850px;
}
.about-team-intro p {
  margin-top: 18px;
}
.about-team-tabs {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}
.about-team-tabs a {
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}
.about-team-tabs a.active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}
.about-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.about-team-grid article {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.team-avatar {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #11223f;
  color: #fff;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
}
.about-team-grid p {
  margin-top: 8px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
}
.about-team-grid a {
  display: inline-block;
  margin-top: 18px;
  color: var(--blue);
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
}
.about-join-section {
  padding: 90px 0;
  background: #fff;
}
.about-join-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  padding: 44px;
  border-radius: 8px;
  background: #11223f;
}
.about-join-card h2 { color: #fff; }
.about-join-card p:not(.eyebrow) {
  margin-top: 16px;
  max-width: 720px;
  color: #dbeafe;
}
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pillars article { padding: 38px; background: var(--ink); color: #fff; border-radius: 8px; }
.pillars span { color: var(--gold); font-size: 12px; line-height: 20px; font-weight: 500; text-transform: uppercase; }
.pillars h2 { margin-top: 14px; font-size: 28px; line-height: 36px; color: #fff; }
.value-grid { grid-template-columns: repeat(3, 1fr); }
.value-grid h3, .lifestyle-grid h2 { margin-bottom: 12px; }
.timeline { margin: 0; padding: 0; list-style: none; border-left: 3px solid var(--blue); }
.timeline li { position: relative; padding: 0 0 38px 28px; }
.timeline li::before { content: ""; position: absolute; left: -10px; top: 0; width: 17px; height: 17px; border-radius: 50%; background: var(--gold); border: 3px solid #fff; }
.timeline span { color: var(--blue); font-size: 12px; line-height: 20px; font-weight: 500; }
.timeline strong { display: block; margin: 6px 0; font-size: 20px; line-height: 28px; font-weight: 700; }

.academic-list { display: grid; gap: 18px; }
.academic-list article {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.academic-list h2 { font-size: 24px; line-height: 32px; margin-bottom: 8px; }
.school-catalog-section { background: #f6f9fc; }
.school-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.school-catalog-card {
  display: flex;
  min-height: 490px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(7, 24, 39, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.school-catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(7, 24, 39, .13);
}
.school-catalog-card > img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.school-catalog-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
}
.school-catalog-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: #e8f3ff;
  color: var(--blue);
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
}
.school-catalog-body h2 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 31px;
  font-weight: 600;
}
.school-catalog-body p { margin-bottom: 22px; }
.school-catalog-body a {
  display: inline-block;
  margin-top: auto;
  color: var(--blue);
  font-size: 15px;
  line-height: 24px;
  font-weight: 600;
}
.school-catalog-body a::after { content: " \2192"; }
.lifestyle-grid { grid-template-columns: repeat(4, 1fr); }
.lifestyle-grid span { color: var(--gold); font-size: 12px; line-height: 20px; font-weight: 500; }
.lifestyle-grid h2 { margin-top: 14px; font-size: 24px; line-height: 32px; }
.blog-layout { display: grid; grid-template-columns: 290px 1fr; gap: 34px; align-items: start; }
.blog-sidebar {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.blog-sidebar h2 { font-size: 20px; line-height: 28px; }
.blog-sidebar a { color: var(--ink-soft); font-size: 16px; line-height: 24px; font-weight: 400; }
.blog-sidebar label { margin-top: 18px; color: var(--ink); font-size: 13px; line-height: 21px; font-weight: 400; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.post-list { display: grid; gap: 22px; }
.featured-post { display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; padding: 0; overflow: hidden; }
.featured-post img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.featured-post div { padding: 28px; }
.events-teaser { background: #fff; }
.event-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.teaser-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}
.event-card {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 20px;
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(7, 24, 39, .08);
}
.event-card-date {
  display: grid;
  align-content: center;
  justify-items: center;
  width: 72px;
  height: 86px;
  border-radius: 8px;
  background: var(--mist);
  border: 1px solid var(--line);
}
.event-card-date span {
  color: var(--ink);
  font-size: 36px;
  line-height: 40px;
  font-weight: 700;
}
.event-card-date strong {
  margin-top: 7px;
  color: var(--blue);
  font-size: 12px;
  line-height: 20px;
  font-weight: 500;
  text-transform: uppercase;
}
.event-card-body h2,
.event-card-body h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
}
.event-card-body p {
  color: var(--ink);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}
.event-card-body time {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
  font-weight: 300;
}
.event-card-body a {
  display: inline-block;
  margin-top: 18px;
  color: var(--blue);
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
}
.events-heading { margin-bottom: 34px; text-align: center; }
.events-heading h2 { font-size: 36px; line-height: 42px; font-weight: 600; }
.events-carousel-shell { position: relative; }
.events-carousel-shell .event-carousel {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  padding: 8px 6px 28px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.events-carousel-shell .event-carousel::-webkit-scrollbar { display: none; }
.event-carousel .event-card {
  display: flex;
  flex: 0 0 calc((100% - 52px) / 3);
  min-width: 0;
  min-height: 500px;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
  scroll-snap-align: start;
  border-radius: 8px;
}
.event-card-media { position: relative; height: 210px; flex: 0 0 210px; }
.event-card-media > img { width: 100%; height: 100%; object-fit: cover; }
.event-carousel .event-card-date {
  position: absolute;
  right: 24px;
  bottom: -38px;
  width: 78px;
  height: 78px;
  border: 4px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 8px 22px rgba(7,24,39,.18);
}
.event-carousel .event-card-date span,
.event-carousel .event-card-date strong,
.event-carousel .event-card-date small { color: #fff; line-height: 18px; }
.event-carousel .event-card-date span { font-size: 20px; line-height: 22px; font-weight: 600; }
.event-carousel .event-card-date strong { margin: 0; font-size: 11px; }
.event-carousel .event-card-date small { font-size: 10px; }
.event-carousel .event-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 56px 26px 26px;
}
.event-carousel .event-card-body h2 { font-size: 20px; line-height: 28px; font-weight: 600; }
.event-carousel .event-card-body p { margin-top: 8px; color: var(--muted); }
.event-carousel .event-card-body time { margin-top: 16px; color: var(--ink); }
.event-carousel .event-card-body a {
  margin-top: auto;
  padding: 9px 20px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}
.events-carousel-button {
  position: absolute;
  top: 44%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0 0 4px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--blue-dark);
  box-shadow: 0 12px 30px rgba(7,24,39,.2);
  font: inherit;
  font-size: 34px;
  cursor: pointer;
}
.events-carousel-button:hover,
.events-carousel-button:focus-visible { background: var(--gold); color: var(--ink); }
.events-carousel-prev { left: -25px; }
.events-carousel-next { right: -25px; }
.event-search {
  display: grid;
  gap: 10px;
  max-width: 560px;
  margin-top: 40px;
}
.event-search label {
  color: var(--muted);
  font-size: 13px;
  line-height: 21px;
  font-weight: 400;
}
.video-embed { display: grid; place-items: center; color: #fff; text-align: center; }
.video-embed p { max-width: 320px; color: #fff; font-size: 24px; line-height: 32px; font-weight: 700; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: start; }
.contact-card h2 { margin-bottom: 18px; }
.contact-card p { margin-bottom: 12px; }
.office-hours { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.office-hours span, .office-hours strong { display: block; }
.office-hours span { color: var(--muted); font-size: 14px; line-height: 20px; font-weight: 300; }
.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.contact-form label { display: grid; gap: 8px; color: var(--ink); font-size: 16px; line-height: 24px; font-weight: 500; }
.contact-form .button { border: 0; cursor: pointer; justify-self: start; }

.site-footer { padding: 58px 0 28px; background: #061827; color: #d8e6f2; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .75fr .75fr 1fr; gap: 34px; }
.footer-grid p { color: #afc2d3; margin-top: 14px; }
.footer-grid h2 { margin-bottom: 14px; color: #fff; font-size: 20px; line-height: 28px; }
.footer-grid a { display: block; color: #d8e6f2; margin-bottom: 10px; font-size: 16px; line-height: 26px; font-weight: 300; }
.footer-brand .brand-mark { background: var(--gold); color: var(--ink); }
.footer-brand .brand-logo { width: 62px; height: 67px; }
.footer-brand strong { color: #fff; }
.footer-brand small { color: #afc2d3; }
.footer-bottom { margin-top: 42px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); color: #afc2d3; font-size: 16px; line-height: 26px; font-weight: 300; }

@media (max-width: 980px) {
  :root { --container: min(100vw - 28px, 760px); }
  .notice-bar { justify-content: flex-start; overflow: auto; white-space: nowrap; }
  .panel-container { width: var(--container); }
  .navbar { min-height: 70px; }
  .menu-toggle {
    display: inline-grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }
  .menu-toggle span:not(.sr-only) { display: block; width: 20px; height: 2px; background: var(--ink); }
  .nav-links {
    position: fixed;
    top: 111px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .compact .nav-links { top: 111px; }
  .nav-links.open { display: flex; }
  .nav-item { position: static; }
  .has-mega::after { display: none; }
  .nav-item > a { display: block; }
  .mega-menu {
    position: static;
    display: none;
    width: 100%;
    max-height: 55vh;
    overflow: auto;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 8px;
    padding: 18px;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
  }
  .has-mega:hover .mega-menu,
  .has-mega:focus-within .mega-menu,
  .has-mega.submenu-open .mega-menu { display: grid; transform: none; }
  .mega-intro p { max-width: none; }
  .nav-links .nav-cta { margin-left: 0; text-align: center; }
  .hero { min-height: 720px; }
  .hero-content { padding: 70px 0 76px; }
  .hero-carousel-controls { right: 24px; bottom: 22px; }
  .impact-stats, .quick-grid, .feature-grid, .school-grid, .news-grid, .value-grid, .lifestyle-grid, .footer-grid, .pillars { grid-template-columns: 1fr 1fr; }
  .impact-panel { padding: 28px 0; }
  .quick-grid { box-shadow: none; border-left: 0; border-right: 0; width: 100%; }
  .split, .video-layout, .page-hero-grid, .blog-layout, .contact-grid, .about-story-grid, .about-vm-grid, .about-join-card { grid-template-columns: 1fr; gap: 34px; }
  .about-difference-grid, .about-values-grid, .about-choose-grid, .about-team-grid { grid-template-columns: 1fr 1fr; }
  .about-story-media { min-height: 390px; }
  .event-card-grid, .teaser-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-carousel .event-card { flex-basis: calc((100% - 26px) / 2); }
  .blog-sidebar { position: static; }
  .academic-list article { grid-template-columns: auto 1fr; }
  .academic-list article a { grid-column: 2; }
  .school-catalog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  h1 { font-size: 40px; line-height: 40px; }
  h2 { font-size: 36px; line-height: 40px; }
  .brand { min-width: 0; }
  .brand-logo { width: 44px; height: 47px; }
  .brand small { display: none; }
  .hero { min-height: 790px; }
  .hero-overlay { background: linear-gradient(0deg, rgba(4, 24, 44, .82), rgba(4, 24, 44, .3)); }
  .impact-stats, .quick-grid, .feature-grid, .school-grid, .news-grid, .value-grid, .lifestyle-grid, .footer-grid, .pillars { grid-template-columns: 1fr; }
  .hero-content { padding-bottom: 70px; }
  .hero-carousel-arrow { width: 40px; height: 40px; }
  .impact-stats article { min-height: auto; }
  .quick-grid a { padding: 22px; min-height: auto; }
  .section { padding: 68px 0; }
  .section-heading, .hero-actions, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .page-hero { padding: 62px 0; }
  .page-hero img { height: 320px; }
  .about-story-section { padding: 68px 0 54px; }
  .about-story-media { min-height: auto; display: grid; gap: 16px; }
  .about-story-media img { position: static; width: 100%; height: 260px; border: 0; }
  .about-image-band img { height: 290px; }
  .about-difference-grid, .about-values-grid, .about-choose-grid, .about-team-grid { grid-template-columns: 1fr; }
  .about-milestone-list article { grid-template-columns: 1fr; gap: 8px; }
  .about-milestone-list time { text-align: left; }
  .about-team-tabs { flex-direction: column; }
  .about-join-card { padding: 28px; }
  .featured-post { grid-template-columns: 1fr; }
  .moringa-video-grid { grid-template-columns: 1fr; }
  .moringa-video-heading h2 { font-size: 36px; line-height: 40px; }
  .event-card-grid, .teaser-grid { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 66px 1fr; gap: 16px; padding: 20px; }
  .event-card-date { width: 64px; height: 78px; }
  .event-carousel .event-card { flex-basis: 86%; min-height: 480px; padding: 0; }
  .events-carousel-button { width: 44px; height: 44px; top: 46%; }
  .events-carousel-prev { left: -8px; }
  .events-carousel-next { right: -8px; }
  .video-card, .video-embed, .video-card img { min-height: 330px; height: 330px; }
  .academic-list article { grid-template-columns: 1fr; }
  .academic-list article a { grid-column: auto; }
  .school-catalog-card { min-height: 0; }
  .school-catalog-card > img { height: 210px; }
  .school-catalog-body { padding: 26px; }
}

/* Dedicated academic information pages */
.academic-detail-hero {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #edf6ff, #f8fbfe);
}
.academic-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 54px;
  align-items: center;
}
.academic-hero-image {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.academic-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.button.outline {
  color: var(--blue-dark);
  border-color: #aac7e3;
  background: #fff;
}
.button.outline:hover,
.button.outline:focus {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}
.academic-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.academic-detail-grid article {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  min-height: 230px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(7, 24, 39, .1);
  transition: transform .2s ease, box-shadow .2s ease;
}
.academic-detail-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(7, 24, 39, .14);
}
.academic-detail-grid article > span {
  display: grid;
  grid-row: 1 / -1;
  place-items: center;
  width: 100%;
  height: 100%;
  margin: 0;
  color: #fff;
  background: var(--blue-dark);
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
}
.academic-detail-grid article:nth-child(2) > span { background: var(--green); }
.academic-detail-grid article:nth-child(3) > span { color: var(--ink); background: var(--gold); }
.academic-detail-grid h3 {
  grid-column: 2;
  margin: 0;
  padding: 34px 28px 10px;
  font-size: 23px;
  line-height: 30px;
  font-weight: 600;
}
.academic-detail-grid article > p {
  grid-column: 2;
  margin: 0;
  padding: 0 28px 32px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 26px;
}
.academic-guide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  gap: 64px;
  align-items: start;
}
.academic-checklist {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.academic-checklist li {
  position: relative;
  padding: 18px 20px 18px 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-soft);
}
.academic-checklist li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 23px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(244, 179, 33, .18);
}
.mega-column a.current {
  color: var(--gold) !important;
  border-bottom-color: rgba(244, 179, 33, .72);
}

@media (max-width: 980px) {
  .academic-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .academic-hero-image { height: 320px; }
  .academic-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .academic-guide { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 640px) {
  .academic-hero-image { height: 230px; }
  .academic-page-actions { flex-direction: column; align-items: stretch; }
  .academic-page-actions .button { justify-content: center; }
  .academic-detail-grid { grid-template-columns: 1fr; }
  .academic-detail-grid article { min-height: 190px; grid-template-columns: 62px minmax(0, 1fr); }
  .academic-detail-grid h3 { padding: 28px 22px 8px; font-size: 21px; line-height: 28px; }
  .academic-detail-grid article > p { padding: 0 22px 26px; }
}

/* Community article */
.community-article-hero { padding: 70px 0 0; background: #f1f7fb; }
.community-article-heading { max-width: 980px; }
.article-breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
}
.article-breadcrumb a { color: var(--blue); }
.community-article-heading h1 { max-width: 940px; font-size: 58px; line-height: 64px; }
.article-intro {
  max-width: 780px;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 31px;
}
.article-meta { display: flex; gap: 14px; align-items: center; margin-top: 30px; }
.article-author-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 13px;
  font-weight: 600;
}
.article-meta strong,
.article-meta time { display: block; }
.article-meta strong { font-size: 14px; line-height: 21px; font-weight: 600; }
.article-meta time { margin-top: 2px; color: var(--muted); font-size: 13px; line-height: 20px; }
.community-article-cover { margin-top: 48px; }
.community-article-cover img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}
.community-reading-section { padding: 82px 0 94px; }
.community-article-layout {
  display: grid;
  grid-template-columns: 170px minmax(0, 720px);
  gap: 62px;
  justify-content: center;
  align-items: start;
}
.article-contents {
  position: sticky;
  top: 130px;
  display: grid;
  gap: 10px;
  padding-top: 8px;
  border-top: 3px solid var(--gold);
}
.article-contents strong { margin-bottom: 8px; font-size: 14px; line-height: 21px; font-weight: 600; }
.article-contents a { color: var(--muted); font-size: 13px; line-height: 21px; }
.article-contents a:hover { color: var(--blue); }
.article-body { color: var(--ink-soft); font-size: 17px; line-height: 30px; }
.article-body > * + * { margin-top: 22px; }
.article-body .article-lead { color: var(--ink); font-size: 21px; line-height: 34px; }
.article-body h2 {
  margin-top: 52px;
  color: var(--ink);
  font-size: 32px;
  line-height: 40px;
  font-weight: 600;
}
.article-inline-image { margin: 42px 0; }
.article-inline-image img { width: 100%; height: 390px; object-fit: cover; border-radius: 8px; }
.article-inline-image figcaption { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 21px; }
.article-feature-list { display: grid; gap: 0; margin: 30px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.article-feature-list li { display: grid; grid-template-columns: 180px 1fr; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.article-feature-list strong { color: var(--ink); font-weight: 600; }
.article-body blockquote {
  margin: 38px 0;
  padding: 22px 0 22px 28px;
  border-left: 4px solid var(--gold);
  color: var(--blue-dark);
  font-size: 23px;
  line-height: 35px;
  font-weight: 500;
}
.article-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.community-latest { background: var(--mist); }
.community-story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 36px; }
.community-story-grid article { overflow: hidden; border-radius: 8px; background: #fff; box-shadow: 0 14px 34px rgba(7,24,39,.08); }
.community-story-grid img { width: 100%; height: 210px; object-fit: cover; }
.community-story-grid article > div { padding: 24px; }
.community-story-grid span { color: var(--blue); font-size: 12px; line-height: 20px; font-weight: 600; text-transform: uppercase; }
.community-story-grid h3 { margin: 10px 0 12px; font-size: 21px; line-height: 29px; font-weight: 600; }
.community-story-grid p { font-size: 15px; line-height: 25px; }
.community-story-grid a { display: inline-block; margin-top: 18px; color: var(--blue); font-size: 14px; line-height: 22px; font-weight: 600; }

@media (max-width: 980px) {
  .community-article-heading h1 { font-size: 48px; line-height: 54px; }
  .community-article-cover img { height: 430px; }
  .community-article-layout { grid-template-columns: 1fr; max-width: 760px; gap: 34px; }
  .article-contents { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-contents strong { grid-column: 1 / -1; }
  .community-story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .community-article-hero { padding-top: 48px; }
  .article-breadcrumb { flex-wrap: wrap; margin-bottom: 28px; }
  .community-article-heading h1 { font-size: 40px; line-height: 44px; }
  .article-intro { font-size: 17px; line-height: 28px; }
  .community-article-cover { margin-top: 34px; padding: 0; }
  .community-article-cover img { height: 300px; border-radius: 0; }
  .community-reading-section { padding: 58px 0 68px; }
  .article-contents { grid-template-columns: 1fr; }
  .article-contents strong { grid-column: auto; }
  .article-body { font-size: 16px; line-height: 28px; }
  .article-body .article-lead { font-size: 19px; line-height: 31px; }
  .article-body h2 { margin-top: 42px; font-size: 28px; line-height: 35px; }
  .article-inline-image img { height: 270px; }
  .article-feature-list li { grid-template-columns: 1fr; gap: 6px; }
  .article-body blockquote { font-size: 20px; line-height: 31px; }
  .community-story-grid { grid-template-columns: 1fr; }
}

/* Image event cards used on the Community Blog */
.events-teaser { background: #f5f8fb; }
.image-event-grid { gap: 28px; }
.image-event-grid .visual-event-card {
  display: flex;
  min-height: 470px;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(7,24,39,.12);
}
.image-event-grid .event-card-media { height: 220px; flex-basis: 220px; }
.image-event-grid .event-card-date {
  position: absolute;
  right: 28px;
  bottom: -36px;
  width: 74px;
  height: 74px;
  border: 5px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: #ff5b1a;
  box-shadow: 0 8px 22px rgba(7,24,39,.18);
}
.image-event-grid .event-card-date span,
.image-event-grid .event-card-date strong { color: #fff; }
.image-event-grid .event-card-date span { font-size: 19px; line-height: 23px; font-weight: 600; }
.image-event-grid .event-card-date strong { margin-top: 0; font-size: 11px; line-height: 17px; }
.image-event-grid .event-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 52px 26px 26px;
}
.image-event-grid .event-card-body h3 { font-size: 20px; line-height: 28px; font-weight: 600; }
.image-event-grid .event-card-body p { margin-top: 10px; color: var(--muted); }
.image-event-grid .event-card-body time { margin-top: 16px; color: var(--ink); font-size: 14px; line-height: 22px; }
.image-event-grid .event-card-body a {
  margin-top: auto;
  padding: 9px 20px;
  border-radius: 8px;
  color: #fff;
  background: #ff5b1a;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

@media (max-width: 640px) {
  .image-event-grid .visual-event-card { min-height: 450px; padding: 0; }
  .image-event-grid .event-card-media { height: 200px; flex-basis: 200px; }
  .image-event-grid .event-card-body { padding: 50px 22px 24px; }
  .interactive-news-grid { grid-template-rows: auto; }
  .interactive-news-grid .interactive-news-card,
  .interactive-news-grid .interactive-news-card:first-child { grid-row: auto; min-height: 430px; }
  .interactive-news-grid .news-card-content,
  .interactive-news-grid .interactive-news-card:first-child .news-card-content { padding: 24px 22px 20px; }
  .interactive-news-grid .interactive-news-card:not(:first-child) .news-card-content { padding: 24px 22px 20px; }
  .interactive-news-grid .interactive-news-card:not(:first-child) .news-card-content {
    flex: 0 1 auto;
    height: auto;
    overflow: visible;
  }
  .interactive-news-grid .interactive-news-card:not(:first-child) .news-card-content h3 { margin: 10px 0 12px; font-size: 22px; line-height: 29px; }
  .interactive-news-grid .interactive-news-card:not(:first-child) .news-card-content p { display: block; overflow: visible; }
  .interactive-news-grid .news-card-media,
  .interactive-news-grid .interactive-news-card:first-child .news-card-media,
  .interactive-news-grid .interactive-news-card:not(:first-child) .news-card-media {
    height: 230px;
    min-height: 230px;
    flex-basis: 230px;
  }
}

/* Editorial story template for narrative academic pages */
.story-page-hero { padding: 54px 0 84px; background: #fff; }
.story-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 46px; color: var(--muted); font-size: 13px; line-height: 20px; }
.story-breadcrumb a { color: var(--blue); }
.story-page-heading { display: grid; grid-template-columns: .65fr 1.35fr; gap: 44px 80px; align-items: end; }
.story-page-heading .eyebrow { grid-column: 1; align-self: start; }
.story-page-heading h1 { grid-column: 1 / -1; max-width: 900px; font-size: 60px; line-height: 66px; font-weight: 600; }
.story-page-heading > p:last-child { grid-column: 2; max-width: 720px; font-size: 19px; line-height: 31px; color: var(--muted); }
.story-lead-image { margin-top: 52px; overflow: hidden; border-radius: 8px; }
.story-lead-image img { width: 100%; height: 510px; object-fit: cover; }
.story-editorial-section { padding: 88px 0; background: #fff; }
.story-editorial-muted { background: var(--mist); }
.story-editorial-row { display: grid; grid-template-columns: .85fr 1.15fr; gap: 76px; align-items: center; }
.story-editorial-reverse .story-editorial-copy { order: 2; }
.story-editorial-reverse .story-editorial-image { order: 1; }
.story-editorial-copy h2 { max-width: 560px; margin: 14px 0 24px; font-size: 40px; line-height: 48px; font-weight: 600; }
.story-editorial-copy > p:not(.eyebrow) { max-width: 610px; margin-top: 14px; color: var(--muted); font-size: 16px; line-height: 28px; }
.story-editorial-copy .text-link { display: inline-block; margin-top: 28px; }
.story-editorial-image { margin: 0; }
.story-editorial-image img { width: 100%; height: 430px; object-fit: cover; border-radius: 8px; box-shadow: 0 18px 42px rgba(7,24,39,.12); }
.story-editorial-image figcaption { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 21px; }
.story-principles { display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.story-principles li { position: relative; padding: 15px 0 15px 30px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 15px; line-height: 23px; }
.story-principles li::before { content: ""; position: absolute; top: 22px; left: 2px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.story-resources-section { background: #fff; }
.story-resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 38px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.story-resource-grid article { min-height: 290px; padding: 30px; border-right: 1px solid var(--line); background: #fff; }
.story-resource-grid article:last-child { border-right: 0; }
.story-resource-grid span { color: var(--blue); font-size: 13px; line-height: 20px; font-weight: 600; }
.story-resource-grid h3 { margin: 34px 0 14px; font-size: 24px; line-height: 31px; font-weight: 600; }
.story-resource-grid p { color: var(--muted); font-size: 15px; line-height: 25px; }
.story-resource-grid a { display: inline-block; margin-top: 24px; color: var(--blue); font-size: 14px; line-height: 22px; font-weight: 600; }
.story-contact-band { padding: 58px 0; border-top: 1px solid rgba(255,255,255,.14); background: #0c2441; }
.story-contact-band .container { display: flex; justify-content: space-between; gap: 36px; align-items: center; }
.story-contact-band .eyebrow { color: var(--gold); }
.story-contact-band h2 { max-width: 720px; margin-top: 8px; color: #fff; font-size: 34px; line-height: 42px; font-weight: 600; }

@media (max-width: 980px) {
  .story-page-heading { grid-template-columns: 1fr; gap: 18px; }
  .story-page-heading .eyebrow,
  .story-page-heading h1,
  .story-page-heading > p:last-child { grid-column: 1; }
  .story-page-heading h1 { font-size: 52px; line-height: 58px; }
  .story-lead-image img { height: 430px; }
  .story-editorial-row { grid-template-columns: 1fr; gap: 38px; }
  .story-editorial-reverse .story-editorial-copy,
  .story-editorial-reverse .story-editorial-image { order: initial; }
  .story-resource-grid { grid-template-columns: 1fr; }
  .story-resource-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .story-resource-grid article:last-child { border-bottom: 0; }
}

@media (max-width: 640px) {
  .story-page-hero { padding: 38px 0 58px; }
  .story-breadcrumb { margin-bottom: 32px; }
  .story-page-heading h1 { font-size: 40px; line-height: 45px; }
  .story-page-heading > p:last-child { font-size: 17px; line-height: 28px; }
  .story-lead-image { margin-top: 34px; }
  .story-lead-image img { height: 290px; }
  .story-editorial-section { padding: 62px 0; }
  .story-editorial-copy h2 { font-size: 32px; line-height: 39px; }
  .story-editorial-image img { height: 290px; }
  .story-contact-band .container { flex-direction: column; align-items: flex-start; }
  .story-contact-band h2 { font-size: 29px; line-height: 36px; }
}

/* Distinct content systems for academic submenu pages */
.academic-overview-body h2,
.degree-pathway-section h2,
.health-sequence-section h2,
.workshop-section h2,
.funding-routes-section h2,
.application-flow-section h2,
.library-services-section h2,
.staff-practice-section h2 { margin-top: 10px; }
.academic-overview-mosaic { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; margin-top: 38px; }
.academic-overview-mosaic article { padding: 30px; border: 1px solid var(--line); background: #fff; }
.academic-overview-mosaic article:first-child { grid-row: 1 / span 2; display: flex; min-height: 350px; flex-direction: column; justify-content: flex-end; background: #0c2441; }
.academic-overview-mosaic article:first-child h3,
.academic-overview-mosaic article:first-child p { color: #fff; }
.academic-overview-mosaic span { color: var(--gold); font-size: 13px; font-weight: 600; }
.academic-overview-mosaic h3 { margin: 18px 0 10px; font-size: 23px; line-height: 30px; }
.academic-route-band { padding: 72px 0; background: #eaf3f8; }
.academic-route-band .container { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; }
.academic-route-band h2 { margin: 10px 0 18px; }
.academic-route-band ol { border-top: 1px solid var(--line); }
.academic-route-band li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.academic-route-band li span { color: var(--blue); font-size: 13px; font-weight: 600; }

.degree-pathway-row {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.degree-pathway-row article {
  position: relative;
  min-height: 195px;
  padding: 28px 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform .22s ease, box-shadow .22s ease;
}
.degree-pathway-row article:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(7,24,39,.1); }
.degree-pathway-row article:first-child {
  display: flex;
  grid-row: 1 / span 2;
  min-height: 408px;
  flex-direction: column;
  justify-content: center;
  border-color: #0c2441;
  background: #0c2441;
}
.degree-pathway-row article:first-child::after {
  content: "";
  position: absolute;
  top: 28px;
  right: 28px;
  width: 54px;
  height: 5px;
  background: var(--gold);
}
.degree-pathway-row article:nth-child(2) { border-left: 7px solid var(--green); background: #eef8f3; }
.degree-pathway-row article:nth-child(3) { border-left: 7px solid var(--gold); background: #fff8e7; }
.degree-pathway-row span { color: var(--green); font-size: 13px; font-weight: 600; }
.degree-pathway-row article:first-child span { color: var(--gold); }
.degree-pathway-row h3 { margin: 28px 0 12px; font-size: 24px; line-height: 31px; }
.degree-pathway-row article:first-child h3 { color: #fff; font-size: 32px; line-height: 39px; }
.degree-pathway-row article:first-child p { max-width: 520px; color: #c6d6e5; font-size: 17px; line-height: 29px; }
.entry-roadmap { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.entry-roadmap h2 { margin: 10px 0 18px; }
.entry-roadmap > div:last-child p { display: grid; grid-template-columns: 52px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.entry-roadmap strong { color: var(--blue); }

.computing-focus-section { background: #0c2441; }
.computing-focus-heading { display: grid; grid-template-columns: .5fr 1.5fr; align-items: end; }
.computing-focus-heading .eyebrow { color: var(--gold); }
.computing-focus-heading h2 { color: #fff; }
.computing-focus-list { margin-top: 44px; border-top: 1px solid rgba(255,255,255,.2); }
.computing-focus-list article { display: grid; grid-template-columns: 80px .65fr 1.35fr; gap: 24px; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.2); align-items: center; }
.computing-focus-list span { color: var(--gold); }
.computing-focus-list h3 { color: #fff; font-size: 22px; }
.computing-focus-list p { color: #c6d6e5; }
.portfolio-brief-section { background: #eaf6f1; }
.portfolio-brief { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; }
.portfolio-brief h2 { margin: 10px 0 18px; }
.portfolio-brief li { padding: 16px 0; border-bottom: 1px solid #bbd8ca; }

.health-sequence { display: grid; gap: 18px; margin-top: 38px; }
.health-sequence article { display: grid; grid-template-columns: 110px 1fr; max-width: 920px; padding: 26px 30px; border-left: 5px solid var(--green); background: #f1f8f5; }
.health-sequence article:nth-child(2) { margin-left: 110px; border-left-color: var(--gold); }
.health-sequence article:nth-child(3) { margin-left: 220px; border-left-color: var(--blue); }
.health-sequence span { color: var(--green); font-weight: 600; }
.health-sequence h3 { margin-bottom: 8px; font-size: 22px; }
.health-standards-band { padding: 72px 0; background: #0c2441; }
.health-standards-band .container { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.health-standards-band .eyebrow { color: var(--gold); }
.health-standards-band h2,
.health-standards-band p { color: #fff; }
.health-standards-band h2 { margin: 10px 0 18px; }
.health-standards-band .container > div:last-child p { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.2); }

.business-learning-section { background: #f5f8fb; }
.business-learning-title { display: grid; grid-template-columns: .55fr 1fr; gap: 12px 70px; align-items: end; }
.business-learning-title .eyebrow { grid-column: 1; }
.business-learning-title h2 { grid-column: 1 / -1; max-width: 760px; }
.business-learning-title > p:last-child { grid-column: 2; max-width: 650px; color: var(--muted); font-size: 16px; line-height: 27px; }
.business-case-layout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 42px; }
.business-case-layout article {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 6px solid var(--blue);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(7,24,39,.07);
  transition: transform .22s ease, box-shadow .22s ease;
}
.business-case-layout article:nth-child(2) { border-top-color: var(--green); }
.business-case-layout article:nth-child(3) { border-top-color: var(--gold); }
.business-case-layout article:hover { transform: translateY(-4px); box-shadow: 0 20px 42px rgba(7,24,39,.12); }
.business-case-layout span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 8px; color: #fff; background: var(--blue); font-size: 13px; font-weight: 600; }
.business-case-layout article:nth-child(2) span { background: var(--green); }
.business-case-layout article:nth-child(3) span { color: var(--ink); background: var(--gold); }
.business-case-layout h3 { margin: 34px 0 12px; font-size: 23px; line-height: 30px; }
.business-case-layout p { color: var(--muted); font-size: 15px; line-height: 25px; }
.business-case-layout a { margin-top: auto; padding-top: 24px; color: var(--blue); font-size: 14px; line-height: 22px; font-weight: 600; }
.business-practice-section .container { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.business-practice-section h2 { margin: 10px 0 18px; }
.business-practice-section ol { counter-reset: practice; }
.business-practice-section li { padding: 18px 0; border-bottom: 1px solid var(--line); }

.workshop-steps { display: grid; gap: 16px; margin-top: 38px; }
.workshop-steps article { display: grid; grid-template-columns: 110px 1fr; padding: 24px 30px; border: 1px solid var(--line); background: #fff; box-shadow: 0 10px 24px rgba(7,24,39,.06); }
.workshop-steps article:nth-child(2) { border-left: 8px solid var(--green); }
.workshop-steps article:nth-child(3) { border-left: 8px solid var(--gold); }
.workshop-steps span { color: var(--blue); font-weight: 600; }
.workshop-steps h3 { margin-bottom: 8px; font-size: 22px; }
.route-check-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.route-check-panel h2 { margin: 10px 0 18px; }
.route-check-panel li { padding: 16px 20px; border-bottom: 1px solid var(--line); background: #fff; }

.postgraduate-chapters { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; }
.postgraduate-chapters header { position: sticky; top: 150px; align-self: start; }
.postgraduate-chapters h2 { margin-top: 10px; }
.postgraduate-chapters article { display: grid; grid-template-columns: 65px 1fr; gap: 20px; min-height: 175px; padding: 26px 0; border-top: 1px solid var(--line); }
.postgraduate-chapters article:last-child { border-bottom: 1px solid var(--line); }
.postgraduate-chapters article span { color: var(--blue); font-weight: 600; }
.postgraduate-chapters h3 { margin-bottom: 10px; font-size: 24px; }
.postgraduate-application-band { padding: 72px 0; background: #eaf3f8; }
.postgraduate-application-band .container { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.postgraduate-application-band h2 { margin: 10px 0 18px; }
.postgraduate-application-band li { padding: 16px 0; border-bottom: 1px solid var(--line); }

.funding-directory { margin-top: 38px; border-top: 1px solid var(--line); }
.funding-directory article { display: grid; grid-template-columns: 70px .6fr 1fr auto; gap: 28px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.funding-directory span { color: var(--gold); font-weight: 600; }
.funding-directory h3 { font-size: 22px; }
.funding-directory a { color: var(--blue); font-weight: 600; }
.scholarship-prep-section { background: #fff8e7; }
.scholarship-prep { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.scholarship-prep h2 { margin: 10px 0 18px; }
.scholarship-prep li { display: grid; grid-template-columns: 48px 1fr; padding: 16px 0; border-bottom: 1px solid #e6d5a7; }
.scholarship-prep li span { color: #a66d00; font-weight: 600; }

.application-timeline { position: relative; display: grid; gap: 0; max-width: 900px; margin: 40px auto 0; }
.application-timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 35px; width: 2px; background: var(--line); }
.application-timeline article { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 28px; padding: 0 0 42px; }
.application-timeline article > span { z-index: 1; display: grid; width: 72px; height: 72px; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); }
.application-timeline article:nth-child(2) > span { background: var(--green); }
.application-timeline article:nth-child(3) > span { color: var(--ink); background: var(--gold); }
.application-timeline h3 { margin: 8px 0 10px; font-size: 24px; }
.application-after-band { padding: 72px 0; background: #0c2441; }
.application-after-band .container { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.application-after-band .eyebrow { color: var(--gold); }
.application-after-band h2,
.application-after-band p { color: #fff; }
.application-after-band h2 { margin: 10px 0 18px; }
.application-after-band .container > div:last-child p { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.2); }

.fee-plan { display: grid; grid-template-columns: .65fr 1.35fr; gap: 80px; }
.fee-plan header { align-self: start; }
.fee-plan h2 { margin-top: 10px; }
.fee-plan article { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.fee-plan article:last-child { border-bottom: 1px solid var(--line); }
.fee-plan span { color: var(--green); font-weight: 600; }
.fee-plan h3 { margin-bottom: 8px; font-size: 22px; }
.payment-safety-section { background: #fff8e7; }
.payment-safety { display: grid; grid-template-columns: 1fr .9fr; gap: 70px; }
.payment-safety h2 { margin: 10px 0 18px; }
.payment-safety li { position: relative; padding: 15px 0 15px 26px; border-bottom: 1px solid #e6d5a7; }
.payment-safety li::before { content: ""; position: absolute; top: 22px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

.library-service-list { margin-top: 38px; border-top: 1px solid var(--line); }
.library-service-list article { display: grid; grid-template-columns: 80px .7fr 1.3fr; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: center; }
.library-service-list span { color: var(--blue); font-weight: 600; }
.library-service-list h3 { font-size: 22px; }
.literacy-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; }
.literacy-layout h2 { margin: 10px 0 18px; }
.literacy-layout article { display: grid; grid-template-columns: 55px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.literacy-layout strong { color: var(--blue); }

.student-hub-heading { display: grid; grid-template-columns: .6fr 1.4fr; align-items: end; }
.student-service-hub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.student-service-hub article { min-height: 300px; padding: 28px; border-top: 6px solid var(--blue); background: #f5f8fb; }
.student-service-hub article:nth-child(2) { border-color: var(--green); }
.student-service-hub article:nth-child(3) { border-color: var(--gold); }
.student-service-hub span { color: var(--blue); font-weight: 600; }
.student-service-hub h3 { margin: 54px 0 12px; font-size: 23px; }
.student-notice-band { padding: 72px 0; background: #eaf6f1; }
.student-notice-band .container { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.student-notice-band h2 { margin: 10px 0 18px; }
.student-notice-band li { padding: 16px 0; border-bottom: 1px solid #bbd8ca; }

.staff-practice-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 38px; border: 1px solid var(--line); }
.staff-practice-columns article { min-height: 310px; padding: 30px; border-right: 1px solid var(--line); }
.staff-practice-columns article:last-child { border-right: 0; }
.staff-practice-columns span { color: var(--green); font-weight: 600; }
.staff-practice-columns h3 { margin: 54px 0 12px; font-size: 23px; }
.staff-essentials-section .container { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.staff-essentials-section h2 { margin: 10px 0 18px; }
.staff-essentials-section li { padding: 16px 0; border-bottom: 1px solid var(--line); }

@media (max-width: 980px) {
  .academic-overview-mosaic,
  .academic-route-band .container,
  .entry-roadmap,
  .portfolio-brief,
  .health-standards-band .container,
  .business-learning-title,
  .business-case-layout,
  .business-practice-section .container,
  .route-check-panel,
  .postgraduate-chapters,
  .postgraduate-application-band .container,
  .scholarship-prep,
  .application-after-band .container,
  .fee-plan,
  .payment-safety,
  .literacy-layout,
  .student-notice-band .container,
  .staff-essentials-section .container { grid-template-columns: 1fr; gap: 38px; }
  .academic-overview-mosaic article:first-child { grid-row: auto; }
  .business-learning-title .eyebrow,
  .business-learning-title h2,
  .business-learning-title > p:last-child { grid-column: 1; }
  .degree-pathway-row,
  .student-service-hub,
  .staff-practice-columns { grid-template-columns: 1fr; }
  .degree-pathway-row article,
  .staff-practice-columns article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .computing-focus-heading,
  .student-hub-heading { grid-template-columns: 1fr; gap: 14px; }
  .health-sequence article:nth-child(2),
  .health-sequence article:nth-child(3) { margin-left: 0; }
  .funding-directory article,
  .library-service-list article { grid-template-columns: 60px 1fr; }
  .funding-directory article p,
  .funding-directory article a,
  .library-service-list article p { grid-column: 2; }
  .postgraduate-chapters header { position: static; }
  .degree-pathway-row { grid-template-rows: auto; }
  .degree-pathway-row article:first-child { grid-row: auto; min-height: 300px; }
}

@media (max-width: 640px) {
  .computing-focus-list article { grid-template-columns: 48px 1fr; }
  .computing-focus-list article p { grid-column: 2; }
  .health-sequence article,
  .workshop-steps article { grid-template-columns: 54px 1fr; padding: 22px 18px; }
  .business-learning-title { display: block; }
  .funding-directory article,
  .library-service-list article { grid-template-columns: 44px 1fr; gap: 14px; }
  .application-timeline article { grid-template-columns: 58px 1fr; gap: 18px; }
  .application-timeline::before { left: 28px; }
  .application-timeline article > span { width: 58px; height: 58px; }
  .fee-plan article { grid-template-columns: 48px 1fr; }
}

/* =========================================================
   Global typography system — shared across every PHP page
   ========================================================= */
:root {
  --font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text-size: 16px;
  --text-line: 1.7;
  --h1-size: clamp(2.25rem, 4vw, 2.75rem);
  --h2-size: clamp(1.75rem, 3vw, 2rem);
  --h3-size: 1.375rem;
  --heading-line: 1.2;
}

html, body, button, input, select, textarea {
  font-family: var(--font-family);
}

body {
  font-size: var(--text-size);
  line-height: var(--text-line);
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  font-weight: 700;
  line-height: var(--heading-line);
  letter-spacing: -0.015em;
}

h1 { font-size: var(--h1-size); }
h2 { font-size: var(--h2-size); }
h3 { font-size: var(--h3-size); }

main p,
main li,
main label,
main input,
main select,
main textarea,
main button,
main .button {
  font-size: var(--text-size);
  line-height: var(--text-line);
}

/* Prevent individual content components from drifting to unrelated typefaces. */
main *,
.site-header *,
.site-footer * {
  font-family: inherit;
}

/* Contact-form feedback and anti-spam field */
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { padding: .9rem 1rem; border: 1px solid currentColor; border-radius: .65rem; margin-bottom: 1rem; }
.form-status.success { background: rgba(22, 101, 52, .08); }
.form-status.error { background: rgba(153, 27, 27, .08); }
