/* JB Education — Design System */
:root {
  --navy: #1a2f5c;
  --navy-deep: #0f1d38;
  --blue: #243976;
  --blue-light: #3d5a9e;
  --gold: #c9a227;
  --gold-light: #e8c547;
  --cream: #f8f6f1;
  --white: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --success: #059669;
  --shadow: 0 4px 24px rgba(15, 29, 56, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 29, 56, 0.12);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --img-texture: url("../assets/images/jbe-texture-navy-gold.jpg");
  --img-accent-cream: url("../assets/images/jbe-accent-education-cream.jpg");
  --img-glow: url("../assets/images/jbe-glow-gold-navy.jpg");
  --img-landscape: url("../assets/images/jbe-landscape-privacy.jpg");
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --max-width: 1200px;
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 17.5px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.nav-open {
  overflow: hidden;
}
html { overflow-x: clip; }
body { overflow-x: clip; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--img-texture) center / cover no-repeat;
  opacity: 0.025;
  pointer-events: none;
  z-index: -1;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy-deep);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.lead { font-size: 1.125rem; color: var(--text-muted); max-width: 42rem; }
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
  border-radius: 0;
}

.site-header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo img { height: 56px; width: auto; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}

.nav-desktop a:hover,
.nav-desktop a.active { color: var(--blue); }

.nav-cta { margin-left: 0.5rem; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: 0.3s;
}

.nav-mobile {
  display: none;
  /* Absolute to the fixed header: its backdrop-filter makes it the containing
     block, so position:fixed + inset collapsed the menu to ~0 height. */
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: var(--white);
  padding: 2rem;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 999;
  overflow-y: auto;
}

.nav-mobile.open {
  display: flex;
  animation: navSlide 0.22s ease;
}
@keyframes navSlide { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nav-mobile.open { animation: none; } }
@media (max-width: 1080px) {
  .nav-mobile a { min-height: 48px; display: flex; align-items: center; }
  .nav-mobile .btn { justify-content: center; margin-top: 0.5rem; }
}
.nav-mobile a {
  font-size: 1.125rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--blue) 55%, #2a4a7a 100%);
  color: var(--white);
  overflow: hidden;
}


/* Privacy-safe still hero with Ken Burns motion (no stock video) */
.hero--still {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero-still-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-still {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04) translateZ(0);
  animation: jbeKenBurns 42s ease-in-out infinite alternate;
  will-change: transform;
  backface-visibility: hidden;
}
.hero--still .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15,29,56,0.88) 0%, rgba(15,29,56,0.62) 48%, rgba(15,29,56,0.45) 100%);
  z-index: 1;
}
.hero--still .hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 4.5rem;
  padding-top: 7rem;
}
@keyframes jbeKenBurns {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.09) translate3d(-0.6%, -0.4%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-still { animation: none; transform: scale(1.05); }
}

.hero--video {
  min-height: 88vh;
  min-height: 88svh;
  max-height: 920px;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(15, 29, 56, 0.88) 0%, rgba(15, 29, 56, 0.55) 45%, rgba(36, 57, 118, 0.45) 100%),
    linear-gradient(to top, rgba(15, 29, 56, 0.75) 0%, transparent 40%);
  pointer-events: none;
}

.hero:not(.hero--video)::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(201,162,39,0.15) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* Home page — larger header logo */
body.home-page {
  --header-h: 96px;
}

body.home-page .logo img {
  height: 80px;
}

/* Transparent header over video hero */
body.home-page .site-header {
  background: rgba(15, 29, 56, 0.35);
  backdrop-filter: blur(8px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.home-page .site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
}

body.home-page .site-header:not(.scrolled) .nav-desktop a,
body.home-page .site-header:not(.scrolled) .logo img {
  color: var(--white);
}

body.home-page .site-header:not(.scrolled) .nav-desktop a {
  color: rgba(255, 255, 255, 0.92);
}

body.home-page .site-header:not(.scrolled) .nav-desktop a:hover,
body.home-page .site-header:not(.scrolled) .nav-desktop a.active {
  color: var(--gold-light);
}

body.home-page .site-header:not(.scrolled) .menu-toggle span {
  background: var(--white);
}

/* Mobile menu — visible, scrollable, above content */
body.home-page .site-header.menu-is-open {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}
body.home-page header.site-header.menu-is-open .menu-toggle span {
  background: var(--navy);
}
body.home-page header.site-header.menu-is-open .logo img {
  filter: none;
}
.nav-mobile a:focus-visible,
.nav-desktop a:focus-visible,
.menu-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.menu-toggle { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; position: relative; z-index: 1001; }

body.home-page .site-header:not(.scrolled) .logo img {
  filter: brightness(0) invert(1);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
}

.hero .eyebrow { color: var(--gold-light); }

.hero h1 {
  color: var(--white);
  margin: 1rem 0 1.5rem;
  max-width: 14ch;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stats > div {
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  margin-top: 0.5rem;
}

/* Sections */
section {
  padding: 5.5rem 0;
  position: relative;
}

section.alt {
  background: linear-gradient(180deg, var(--cream) 0%, #f3f0e8 100%);
}

section.alt::before {
  content: "";
  position: absolute;
  right: -6%;
  bottom: -12%;
  width: min(400px, 50vw);
  height: min(400px, 50vw);
  background: var(--img-accent-cream) center / contain no-repeat;
  opacity: 0.14;
  pointer-events: none;
}

section.alt > .container {
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3.5rem;
}

.section-header h2 { margin-bottom: 1rem; }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--blue-light));
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-card h3 { margin-bottom: 0.75rem; }
.service-card p { color: var(--text-muted); font-size: 0.9375rem; }
.service-card a {
  display: inline-flex;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--blue);
}

/* Home offerings */
.home-offerings {
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.offering-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.offering-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 162, 39, 0.45);
}

.offering-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.offering-card__link:hover {
  color: inherit;
}

.offering-card__media {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-deep);
}

.offering-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.offering-card__media--book img {
  object-fit: contain;
  object-position: center;
}

.offering-card:hover .offering-card__media img {
  transform: scale(1.04);
}

.offering-card:hover .offering-card__media--book img {
  transform: scale(1.02);
}

.offering-card__body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.offering-card__body .eyebrow {
  margin-bottom: 0.35rem;
}

.offering-card__body h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.offering-card__body p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  flex: 1;
}

.offering-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
}

.offering-card__cta::after {
  content: "→";
  transition: transform 0.2s ease;
}

.offering-card:hover .offering-card__cta {
  color: var(--navy-deep);
}

.offering-card:hover .offering-card__cta::after {
  transform: translateX(4px);
}

.offering-card--featured {
  margin-top: 0;
}

.offering-card--featured .offering-card__link {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
}

.offering-card--featured .offering-card__media {
  aspect-ratio: auto;
  min-height: 280px;
}

.offering-card--featured .offering-card__body {
  padding: 2.25rem 2.5rem;
  justify-content: center;
}

.offering-card--featured .offering-card__body h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-bottom: 0.75rem;
}

.offering-card--featured .offering-card__body p {
  font-size: 1rem;
  max-width: 36rem;
}

.offerings-more {
  text-align: center;
  margin-top: 2.5rem;
}

.offerings-more a {
  font-weight: 600;
  color: var(--blue);
  font-size: 0.9375rem;
}

.offerings-more a:hover {
  color: var(--navy-deep);
  text-decoration: underline;
}

/* Impact banner */
.impact-banner {
  background:
    var(--img-texture) center / cover no-repeat,
    linear-gradient(135deg, var(--navy-deep) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  margin: 2rem 1rem;
  max-width: calc(var(--max-width) + 2rem);
  margin-inline: auto;
}

.impact-banner::before {
  content: "";
  position: absolute;
  left: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: min(360px, 45vw);
  height: min(360px, 45vw);
  background: var(--img-glow) center / contain no-repeat;
  opacity: 0.25;
  pointer-events: none;
  mix-blend-mode: screen;
}

.impact-banner .container {
  position: relative;
  z-index: 1;
}

.impact-banner h2 { color: var(--white); margin-bottom: 1rem; }
.impact-banner p { color: rgba(255,255,255,0.8); max-width: 36rem; margin: 0 auto 2rem; }

/* Project cards */
.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.project-card-header {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  padding: 1.5rem 2rem;
}

.project-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(201,162,39,0.25);
  color: var(--gold-light);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.project-card-body { padding: 2rem; }
.project-metric {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 1rem 0;
  padding: 1rem;
  background: var(--cream);
  border-radius: var(--radius);
}

.project-metric .from { color: var(--text-muted); font-size: 0.875rem; }
.project-metric .arrow { color: var(--gold); font-weight: 700; }
.project-metric .to {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--success);
}

/* About page */
.about-hero {
  background: linear-gradient(160deg, var(--cream) 0%, #eef2f8 100%);
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: "";
  position: absolute;
  right: -6%;
  top: 10%;
  width: min(360px, 40vw);
  height: min(360px, 40vw);
  background: var(--img-glow) center / contain no-repeat;
  opacity: 0.14;
  pointer-events: none;
}

.about-hero-layout {
  display: grid;
  grid-template-columns: 1fr min(46%, 480px);
  gap: 3rem 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-hero-layout h1 { color: var(--navy-deep); }
.about-hero-layout .lead { color: var(--text-muted); max-width: none; }

.about-hero-visual {
  margin: 0;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(26, 47, 92, 0.08);
  aspect-ratio: 16 / 9;
  background: var(--white);
}

.about-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-story {
  padding: 4.5rem 0;
}

.about-story-layout {
  display: grid;
  grid-template-columns: min(42%, 400px) 1fr;
  gap: 3rem 4rem;
  align-items: start;
}

.about-story-visual {
  margin: 0;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(26, 47, 92, 0.08);
  aspect-ratio: 4 / 3;
  background: var(--cream);
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.about-story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-story-content h2 {
  margin: 0.5rem 0 1.25rem;
}

.about-story-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 1.25rem;
}

.about-story-content p:first-of-type {
  margin-top: 0;
  font-size: 1.0625rem;
  color: var(--text);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.about-stat {
  padding: 1.5rem 1.25rem;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
}

.about-stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.1;
}

.about-stat__label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Direction / next phase */
.direction-intro {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.direction-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.35rem;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s;
}

.direction-card:hover {
  border-color: rgba(201, 162, 39, 0.45);
  transform: translateY(-2px);
}

.direction-card--navy {
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 100%);
  border-color: transparent;
  color: rgba(255, 255, 255, 0.88);
}

.direction-card--navy h3,
.direction-card--navy .direction-card__phase {
  color: var(--white);
}

.direction-card--navy p {
  color: rgba(255, 255, 255, 0.78);
}

.direction-card__phase {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.direction-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.direction-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.identity-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.identity-pill {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem;
  border-left: 3px solid var(--gold);
}

.identity-pill strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy-deep);
  margin-bottom: 0.35rem;
}

.identity-pill span {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.roadmap-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.roadmap-step {
  padding: 1.25rem 1rem 1.25rem 1.15rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.roadmap-step__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.roadmap-step h4 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: var(--navy-deep);
}

.roadmap-step p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.about-leadership-intro {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.about-leadership-banner {
  margin: 0;
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(26, 47, 92, 0.08);
  aspect-ratio: 21 / 8;
  background: var(--navy-deep);
}

.about-leadership-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-leadership-banner__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem 2.5rem;
  background: linear-gradient(0deg, rgba(15, 29, 56, 0.92) 0%, rgba(15, 29, 56, 0.4) 70%, transparent 100%);
  color: var(--white);
}

.about-leadership-banner__caption p:last-child {
  margin-top: 0.5rem;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  font-size: 1rem;
}

.breadcrumb--dark {
  color: var(--text-muted);
}

.breadcrumb--dark a {
  color: var(--blue);
}

.breadcrumb--dark a:hover {
  color: var(--navy-deep);
}

/* Directors */
.director-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 920px;
  margin: 0 auto;
}

.director-card {
  text-align: center;
  padding: 2.5rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow);
}

.director-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-light);
  font-weight: 600;
}

.director-role {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* CSI highlight */
.csi-hero {
  background: linear-gradient(160deg, var(--cream) 0%, #eef2f8 100%);
  padding: calc(var(--header-h) + 4rem) 0 4rem;
  position: relative;
  overflow: hidden;
}

.csi-hero::before {
  content: "";
  position: absolute;
  left: -4%;
  top: 20%;
  width: min(380px, 42vw);
  height: min(380px, 42vw);
  background: var(--img-accent-cream) center / contain no-repeat;
  opacity: 0.18;
  pointer-events: none;
}

.csi-hero .container {
  position: relative;
  z-index: 1;
}

.csi-hero-layout {
  display: grid;
  grid-template-columns: 1fr min(420px, 42%);
  gap: 3rem;
  align-items: center;
}

.csi-hero-visual {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(26, 47, 92, 0.08);
  aspect-ratio: 4 / 3;
}

.csi-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.jbe-visual-panel {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.jbe-visual-panel img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.csi-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.csi-split-aside {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Services page — image + copy rows */
.service-row {
  display: grid;
  grid-template-columns: 1fr min(44%, 420px);
  gap: 3rem 4rem;
  align-items: center;
  max-width: 100%;
}

.service-row--reverse {
  grid-template-columns: min(44%, 420px) 1fr;
}

.service-row--reverse .service-row-content {
  order: 2;
}

.service-row--reverse .service-row-visual {
  order: 1;
}

.service-row-content {
  min-width: 0;
}

.service-row-visual {
  margin: 0;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(26, 47, 92, 0.08);
  aspect-ratio: 4 / 3;
  background: var(--cream);
}

.service-row-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-row-visual--book {
  aspect-ratio: 4 / 3;
  background: transparent;
  padding: 0;
  display: block;
}

.service-row-visual--book img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
}

.csi-highlight-box {
  background: var(--white);
  border-left: 4px solid var(--gold);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* Strategy / funding lists */
.strategy-section { margin-bottom: 3rem; }
.strategy-section h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--cream);
}

.strategy-list {
  display: grid;
  gap: 1rem;
}

.strategy-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.strategy-item:hover { border-color: var(--gold); }

.strategy-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.strategy-item h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.strategy-item p { font-size: 0.9375rem; color: var(--text-muted); }

/* Contact page */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-hero {
  position: relative;
  min-height: min(48vh, 400px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 2.5rem) 0 3.5rem;
  overflow: hidden;
  border-radius: 0;
}

.contact-hero__media {
  position: absolute;
  inset: 0;
}

.contact-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.contact-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(15, 29, 56, 0.92) 0%, rgba(15, 29, 56, 0.72) 42%, rgba(36, 57, 118, 0.55) 100%),
    linear-gradient(to top, rgba(15, 29, 56, 0.85) 0%, transparent 45%),
    radial-gradient(ellipse 60% 50% at 85% 25%, rgba(201, 162, 39, 0.18) 0%, transparent 55%);
}

.contact-hero__content {
  position: relative;
  z-index: 2;
  max-width: 42rem;
}

.contact-hero .eyebrow {
  color: var(--gold-light);
}

.contact-hero h1 {
  color: var(--white);
  margin: 0.75rem 0 1.25rem;
  max-width: none;
}

.contact-hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.contact-hero .lead {
  color: rgba(255, 255, 255, 0.88);
  max-width: 36rem;
}

.reach {
  padding: 3.5rem 0 6rem;
}

.reach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.reach-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 15.5rem;
  padding: 1.75rem 1.6rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.reach-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: var(--shadow-lg);
}

.reach-tile__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.reach-tile__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.45rem;
}

.reach-tile__value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy-deep);
  line-height: 1.35;
  margin-bottom: auto;
}

.reach-tile__action {
  margin-top: 1.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue);
}

.contact-panel {
  display: grid;
  grid-template-columns: min(36%, 380px) 1fr;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(26, 47, 92, 0.1);
}

.contact-panel__aside {
  padding: 2.75rem 2.5rem;
  background:
    var(--img-texture) center / cover no-repeat,
    linear-gradient(165deg, var(--navy-deep) 0%, var(--blue) 100%);
  color: rgba(255, 255, 255, 0.9);
  position: relative;
}

.contact-panel__aside::before {
  content: "";
  position: absolute;
  right: -15%;
  bottom: -10%;
  width: 55%;
  height: 55%;
  background: var(--img-glow) center / contain no-repeat;
  opacity: 0.35;
  pointer-events: none;
  mix-blend-mode: screen;
}

.contact-panel__aside > * {
  position: relative;
  z-index: 1;
}

.contact-panel__aside .eyebrow {
  color: var(--gold-light);
}

.contact-panel__aside h2 {
  color: var(--white);
  font-size: 1.75rem;
  margin: 0.5rem 0 1rem;
}

.contact-panel__intro {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.contact-channel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-channel {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-channel__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(201, 162, 39, 0.15);
  border: 1px solid rgba(201, 162, 39, 0.35);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-channel__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
}

.contact-channel__value {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--white);
}

a.contact-channel__value:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

.contact-panel__directors {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.contact-panel__directors-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}

.contact-panel__directors p + p {
  margin-top: 0.35rem;
}

.contact-panel__directors strong {
  color: var(--white);
}

.contact-panel__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 2rem;
}

.contact-panel__links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-light);
}

.contact-panel__links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.contact-panel__form-wrap {
  background: var(--cream);
  padding: 2.75rem 2.5rem;
}

.contact-form .eyebrow {
  margin-bottom: 0.5rem;
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-form__intro {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.contact-enquiry-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 1.75rem;
}

.contact-enquiry-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.contact-enquiry-btn {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.contact-enquiry-btn:hover {
  border-color: var(--blue-light);
  color: var(--blue);
}

.contact-enquiry-btn.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.contact-enquiry-select-wrap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  margin: -1px;
}

.contact-form__submit {
  width: 100%;
  margin-top: 0.25rem;
}

.contact-form__hint {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
  text-align: center;
}

.impact-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(36,57,118,0.12);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Page hero (inner pages) */
.page-hero {
  padding: calc(var(--header-h) + 4rem) 0 3.5rem;
  background:
    var(--img-texture) center / cover no-repeat,
    linear-gradient(135deg, var(--navy-deep), var(--blue));
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  margin-bottom: 0;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 5%;
  bottom: -20%;
  width: min(320px, 40vw);
  height: min(320px, 40vw);
  background: var(--img-glow) center / contain no-repeat;
  opacity: 0.35;
  pointer-events: none;
  mix-blend-mode: screen;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 { color: var(--white); }
.page-hero .lead { color: rgba(255,255,255,0.85); margin: 1rem auto 0; }





/* Partners logo grid — equal slots, HTML wordmarks (always visible) */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  align-items: stretch;
  margin-top: 0.5rem;
}
.partner-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 96px;
  padding: 1.25rem 1rem;
  background: var(--cream, #f8f6f1);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
}
.partner-wordmark {
  font-family: var(--font-body, "DM Sans", system-ui, sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-deep, #0f1d38);
  line-height: 1.2;
}
.partner-wordmark--sm {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}
.partner-sub {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted, #64748b);
  line-height: 1.3;
}
@media (max-width: 900px) {
  .partners-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Contact page: reach tiles + enquiry form */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: start;
}

.contact-layout__reach {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-layout__reach .reach-tile {
  width: 100%;
}

.contact-form__status {
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  line-height: 1.5;
  background: rgba(36, 57, 118, 0.08);
  color: var(--navy);
}

.contact-form__status.is-success {
  background: rgba(46, 125, 50, 0.12);
  color: #1b5e20;
}

.contact-form__status.is-error {
  background: rgba(183, 28, 28, 0.1);
  color: #b71c1c;
}

.service-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.site-footer {
  background:
    var(--img-texture) center / cover no-repeat,
    var(--navy-deep);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
  position: relative;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  margin-top: 2rem;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 29, 56, 0.85) 0%, var(--navy-deep) 100%);
  border-radius: inherit;
  pointer-events: none;
}

.site-footer > .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img { height: 44px; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand p { font-size: 0.9375rem; line-height: 1.7; }

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  font-size: 0.9375rem;
  padding: 0.35rem 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.75);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom a:hover { color: var(--gold-light); }

.prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
}

.prose p,
.prose ul {
  color: var(--text-muted);
  line-height: 1.75;
}

.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.prose a { color: var(--navy); }

.social-links { display: flex; gap: 1rem; }
.social-links a:hover { color: var(--gold-light); }

/* Breadcrumb */
.breadcrumb {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
}
.breadcrumb a:hover { color: var(--gold-light); }

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; }
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero--video {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--blue) 55%, #2a4a7a 100%),
      url("https://images.pexels.com/videos/6168921/pexels-photo-6168921.jpeg?auto=compress&cs=tinysrgb&w=1920") center / cover no-repeat;
  }
}

/* Responsive */
/* Nav: hamburger up to 1080px (7 links + CTA wrap to 2–3 lines below ~1100px) */
.nav-desktop a { white-space: nowrap; }
@media (max-width: 1080px) {
  .nav-desktop, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
}
@media (min-width: 1081px) and (max-width: 1260px) {
  .nav-desktop { gap: 1.25rem; }
  .nav-desktop a { font-size: 0.95rem; }
}
@media (max-width: 900px) {
  .about-hero-layout,
  .about-story-layout,
  .about-stats { grid-template-columns: 1fr; }
  .about-story-visual { position: static; order: -1; }
  .about-leadership-banner { aspect-ratio: 16 / 10; }
  .about-leadership-banner__caption { padding: 1.5rem; }
  .direction-grid,
  .identity-strip { grid-template-columns: 1fr; }
  .roadmap-row { grid-template-columns: 1fr 1fr; }
  .director-grid { grid-template-columns: 1fr; }
  .offerings-grid { grid-template-columns: repeat(2, 1fr); }
  .offering-card--featured .offering-card__link { grid-template-columns: 1fr; }
  .offering-card--featured .offering-card__media { min-height: 220px; aspect-ratio: 16 / 9; }
  .contact-panel { grid-template-columns: 1fr; }
  .reach-grid { grid-template-columns: 1fr; }
  .csi-split, .csi-hero-layout,
  .service-row, .service-row--reverse { grid-template-columns: 1fr; }
  .service-row--reverse .service-row-content,
  .service-row--reverse .service-row-visual { order: unset; }
  .service-row-visual { max-width: 100%; }
  .csi-hero-visual { order: -1; }
  .impact-banner { margin: 1rem; border-radius: var(--radius-xl); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .offerings-grid { grid-template-columns: 1fr; }
  .contact-hero { min-height: auto; padding-bottom: 6rem; }
  .contact-hero h1 { max-width: none; }
  .hero-stats { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-video { object-position: center 40%; }
  .hero--video { min-height: 88vh; }
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 3.5rem 0; }
  .roadmap-row { grid-template-columns: 1fr; }
}

/* ——— Impact page (sponsor → school → results) ——— */
.impact-intro {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.impact-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.impact-filter-btn {
  padding: 0.5rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}

.impact-filter-btn:hover,
.impact-filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.impact-featured {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  margin-bottom: 3.5rem;
  background: var(--white);
}

.impact-featured-sponsor {
  background: linear-gradient(160deg, var(--navy-deep), var(--blue));
  color: var(--white);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.impact-featured-sponsor .sponsor-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.impact-featured-sponsor .sponsor-name {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.impact-featured-sponsor .school-name {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 0.25rem;
}

.impact-featured-sponsor .programme-period {
  font-size: 0.875rem;
  opacity: 0.7;
}

.impact-featured-results {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.impact-featured-results h2 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.impact-result-hero {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.impact-result-block {
  text-align: center;
  min-width: 5rem;
}

.impact-result-block .value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--navy-deep);
}

.impact-result-block .value--muted {
  color: var(--text-muted);
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.impact-result-block .label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.impact-result-arrow {
  font-size: 2rem;
  color: var(--gold);
  font-weight: 700;
}

.impact-result-delta {
  display: inline-block;
  background: rgba(5, 150, 105, 0.12);
  color: var(--success);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.impact-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.impact-pill {
  font-size: 0.8125rem;
  padding: 0.35rem 0.75rem;
  background: var(--cream);
  border-radius: 999px;
  color: var(--text-muted);
}

.impact-case-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.impact-case {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.impact-case.is-hidden { display: none; }

.impact-case-top {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--cream);
}

.impact-case-sponsor strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--navy-deep);
  margin-bottom: 0.25rem;
}

.impact-case-sponsor span {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.impact-case-school h3 {
  font-size: 1.375rem;
  margin-bottom: 0.35rem;
}

.impact-case-school p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.impact-case-metric {
  text-align: right;
  min-width: 10rem;
}

.impact-case-metric .metric-main {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--success);
}

.impact-case-metric .metric-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.impact-case-body {
  padding: 1.75rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.impact-case-body h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.impact-case-body ul {
  list-style: none;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.impact-case-body li {
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.impact-case-body li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.impact-case-award {
  grid-column: 1 / -1;
  padding: 1rem 1.25rem;
  background: linear-gradient(90deg, rgba(201,162,39,0.12), transparent);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  border-left: 3px solid var(--gold);
}

.badge-current {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--success);
  color: var(--white);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* Partner process page */
.partner-steps {
  display: grid;
  gap: 1.5rem;
  max-width: 48rem;
  margin: 0 auto 3rem;
}

.partner-step {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.partner-step-num {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
}

.partner-packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.partner-package {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  text-align: center;
}

.partner-package.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.partner-package.featured::before {
  content: "Most popular";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.partner-package h3 { margin: 0.5rem 0 1rem; font-size: 1.25rem; }
.partner-package ul { text-align: left; font-size: 0.9375rem; color: var(--text-muted); }
.partner-package li { padding: 0.4rem 0; padding-left: 1.1rem; position: relative; list-style: none; }
.partner-package li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 700; }

@media (max-width: 900px) {
  .impact-featured { grid-template-columns: 1fr; }
  .impact-case-top { grid-template-columns: 1fr; text-align: left; }
  .impact-case-metric { text-align: left; }
  .impact-case-body { grid-template-columns: 1fr; }
  .partner-packages { grid-template-columns: 1fr; }
}

/* CSI engagement steps */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.step-card {
  background: var(--white, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow, 0 4px 24px rgba(15, 29, 56, 0.06));
}
.step-num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold, #c9a227);
  margin-bottom: 0.75rem;
}
.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.step-card p {
  color: var(--text-muted, #64748b);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}
.btn-text {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--white, #fff);
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 0.75rem 0.5rem;
  background: transparent;
  border: none;
}
.hero .btn-text { color: rgba(255,255,255,0.92); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; }
@media (max-width: 768px) {
  .steps-row { grid-template-columns: 1fr; }
}


/* --- Discreet FAQ (home / CSI) --- */
.faq-block { padding-block: 3.5rem; }
.faq-list { max-width: 720px; margin: 0 auto; display: grid; gap: 0.75rem; }
.faq-item {
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px;
  background: var(--surface, #fff);
  padding: 0.85rem 1.1rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy, #1a2f5c);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  float: right;
  font-weight: 400;
  color: var(--gold, #c9a227);
}
.faq-item[open] summary::after { content: '–'; }
.faq-item p {
  margin: 0.75rem 0 0.15rem;
  color: var(--muted, #64748b);
  font-size: 0.95rem;
  line-height: 1.55;
}
