/* The Youth Movement — modern nonprofit layout */

:root {
  /* Ivy palette — The Commencement Palette */
  --ivy-navy: #16294c;
  --ivy-navy-deep: #0e1b33;
  --ivy-navy-mid: #1e3a5f;
  --ivy-navy-light: #2a4a72;
  --ivy-navy-rgb: 22, 41, 76;
  --ivy-navy-ink-rgb: 14, 27, 51;

  --laurel-gold: #b78d3c;
  --laurel-gold-light: #c9a04e;
  --laurel-gold-dark: #9a7530;
  --laurel-gold-rgb: 183, 141, 60;

  --quad-green: #24503b;
  --quad-green-light: #2e6a4f;
  --quad-green-dark: #1a3d2c;
  --quad-green-rgb: 36, 80, 59;

  --crest-crimson: #7c1e2b;
  --crest-crimson-light: #9a2838;
  --crest-crimson-dark: #5e1720;
  --crest-crimson-rgb: 124, 30, 43;

  --parchment: #f4eee2;
  --aged-vellum: #e8dfcc;
  --ink: #1a1c20;
  --slate: #5b6a81;
  --deep-oxford: #0e1b33;

  /* Baby blue — light mode (tinted from Ivy Navy) */
  --baby-blue: #c5daf2;
  --baby-blue-light: #dce8f8;
  --baby-blue-soft: #e8f0fa;
  --baby-blue-mid: #6a8fbf;
  --baby-blue-deep: #4a72a8;
  --baby-blue-rich: #5a82b0;

  --text-white: #ffffff;
  --text-white-muted: #ffffff;
  --text-white-soft: rgba(255, 255, 255, 0.96);

  --brand: var(--ivy-navy);
  --brand-hover: #112038;
  --brand-light: var(--ivy-navy-light);
  --brand-bright: #3d628e;
  --brand-pale: var(--aged-vellum);
  --brand-soft: var(--parchment);
  --brand-ink: var(--ivy-navy-deep);
  --brand-deep: var(--ivy-navy-deep);
  --brand-mid: var(--ivy-navy-mid);
  --brand-surface: var(--ivy-navy);
  --brand-rgb: var(--ivy-navy-rgb);
  --brand-ink-rgb: var(--ivy-navy-ink-rgb);

  --gold: var(--laurel-gold);
  --gold-light: var(--laurel-gold-light);
  --gold-dark: var(--laurel-gold-dark);
  --gold-rgb: var(--laurel-gold-rgb);
  --glow-gold: 0 0 20px rgba(183, 141, 60, 0.32);

  --green: var(--quad-green);
  --green-light: var(--quad-green-light);
  --green-dark: var(--quad-green-dark);
  --green-rgb: var(--quad-green-rgb);
  --glow-green: 0 0 20px rgba(36, 80, 59, 0.32);
  --info-border-green: rgba(36, 80, 59, 0.58);
  --info-border-green-strong: rgba(26, 61, 44, 0.82);
  --info-shadow-green: 0 0 0 1px rgba(26, 61, 44, 0.35), 0 8px 28px rgba(36, 80, 59, 0.2);

  --crimson: var(--crest-crimson);
  --crimson-light: var(--crest-crimson-light);
  --crimson-dark: var(--crest-crimson-dark);
  --crimson-rgb: var(--crest-crimson-rgb);
  --glow-crimson: 0 0 20px rgba(124, 30, 43, 0.35);
  --info-border-crimson: rgba(124, 30, 43, 0.58);
  --info-border-crimson-strong: rgba(94, 23, 32, 0.82);
  --info-shadow-crimson: 0 0 0 1px rgba(94, 23, 32, 0.35), 0 8px 28px rgba(124, 30, 43, 0.22);

  --info-border-gold: rgba(183, 141, 60, 0.52);
  --info-border-gold-strong: rgba(154, 117, 48, 0.78);
  --info-shadow-gold: 0 0 0 1px rgba(154, 117, 48, 0.28), 0 8px 28px rgba(183, 141, 60, 0.16);

  --info-border-vellum: rgba(232, 223, 204, 0.72);
  --info-border-vellum-strong: rgba(244, 238, 226, 0.88);
  --info-shadow-vellum: 0 0 0 1px rgba(232, 223, 204, 0.42), 0 8px 28px rgba(244, 238, 226, 0.08);

  --solid-navy: var(--ivy-navy);
  --solid-navy-deep: var(--ivy-navy-deep);
  --solid-green: var(--quad-green);
  --solid-green-deep: var(--quad-green-dark);
  --solid-parchment: var(--parchment);
  --solid-vellum: var(--aged-vellum);

  --solid-blue: var(--solid-navy);
  --solid-blue-deep: var(--solid-navy-deep);
  --solid-white: var(--solid-parchment);
  --warm-cream: var(--parchment);
  --warm-sand: var(--aged-vellum);
  --warm-bg: var(--ivy-navy);

  --accent: var(--brand);
  --accent-hover: var(--brand-hover);
  --cyan: var(--ivy-navy-light);
  --cyan-dark: var(--ivy-navy);
  --purple: var(--ivy-navy-light);
  --pink: var(--laurel-gold-light);

  --font-display: "Teko", Impact, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --header-height: 4.75rem;
  --section-pad: clamp(3.5rem, 8vw, 6rem);
  --content-max: 82rem;
  --rail-gap: 1rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: dark;
}

:root,
[data-theme="dark"] {
  --bg-page: transparent;
  --bg-panel: #16294c;
  --bg-elevated: #1e3a5f;
  --section-scrim: rgba(14, 27, 51, 0.94);
  --solid-parchment: var(--ivy-navy-mid);
  --solid-vellum: rgba(232, 223, 204, 0.1);
  --text: var(--text-white);
  --text-muted: var(--text-white-muted);
  --text-inverse: var(--text-white);
  --border: rgba(183, 141, 60, 0.32);
  --info-border: rgba(22, 41, 76, 0.72);
  --info-border-strong: rgba(183, 141, 60, 0.62);
  --info-shadow: 0 0 0 1px rgba(183, 141, 60, 0.22), 0 8px 28px rgba(14, 27, 51, 0.35);
  --header-bg: transparent;
  --header-bg-scrolled: rgba(14, 27, 51, 0.96);
  --nav-link: #ffffff;
  --nav-link-scrolled: #ffffff;
  --logo-color: var(--text-white);
  --logo-color-scrolled: var(--text-white);
  --toggle-bar: var(--text-white);
  --toggle-bar-scrolled: var(--text-white);
  --hero-overlay:
    linear-gradient(to top, rgba(14, 27, 51, 0.96) 0%, rgba(22, 41, 76, 0.72) 42%, rgba(183, 141, 60, 0.06) 100%),
    linear-gradient(to right, rgba(14, 27, 51, 0.88) 0%, transparent 58%);
  --tile-overlay: linear-gradient(to top, rgba(14, 27, 51, 0.96) 0%, rgba(22, 41, 76, 0.45) 50%, transparent 100%);
  --footer-bg: rgba(14, 27, 51, 0.96);
  --footer-text: #ffffff;
  --mobile-nav-bg: rgba(14, 27, 51, 0.98);
  --input-bg: #1e3558;
  --glow-accent: 0 0 24px rgba(22, 41, 76, 0.45);
  --glow-cyan: 0 0 20px rgba(183, 141, 60, 0.22);
  --shadow-panel: 0 20px 60px rgba(14, 27, 51, 0.5);
  --link-color: var(--text-white);
  --tile-heading: var(--text-white);
  --theme-toggle-bg: rgba(183, 141, 60, 0.12);
  --theme-toggle-border: rgba(183, 141, 60, 0.32);
  --hero-text: var(--text-white);
  --hero-text-muted: var(--text-white-muted);
  --text-on-accent: var(--text-white);
  --text-on-light: var(--text-white);
  --text-muted-on-light: var(--text-white-muted);
}

[data-theme="light"] {
  --bg-page: transparent;
  --bg-panel: #16294c;
  --bg-elevated: #1e3a5f;
  --section-scrim: rgba(22, 41, 76, 0.92);
  --solid-navy: var(--ivy-navy);
  --solid-navy-deep: var(--ivy-navy-deep);
  --solid-green: var(--quad-green);
  --solid-green-deep: var(--quad-green-dark);
  --solid-parchment: var(--baby-blue-mid);
  --solid-vellum: var(--baby-blue-deep);
  --solid-blue: var(--solid-navy);
  --solid-blue-deep: var(--solid-navy-deep);
  --solid-white: var(--baby-blue-rich);
  --text: var(--text-white);
  --text-muted: var(--text-white-muted);
  --text-inverse: var(--text-white);
  --border: rgba(255, 255, 255, 0.28);
  --info-border: rgba(255, 255, 255, 0.32);
  --info-border-strong: rgba(255, 255, 255, 0.52);
  --info-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 8px 24px rgba(22, 41, 76, 0.16);
  --header-bg: transparent;
  --header-bg-scrolled: rgba(14, 27, 51, 0.98);
  --nav-link: #ffffff;
  --nav-link-scrolled: var(--text-white);
  --logo-color: var(--text-white);
  --logo-color-scrolled: var(--text-white);
  --toggle-bar: var(--text-white);
  --toggle-bar-scrolled: var(--text-white);
  --hero-overlay:
    linear-gradient(to top, rgba(22, 41, 76, 0.92) 0%, rgba(74, 114, 168, 0.78) 40%, rgba(197, 218, 242, 0.35) 100%),
    linear-gradient(to right, rgba(22, 41, 76, 0.72) 0%, transparent 55%);
  --tile-overlay: linear-gradient(to top, rgba(14, 27, 51, 0.92) 0%, rgba(22, 41, 76, 0.45) 50%, transparent 100%);
  --footer-bg: var(--ivy-navy);
  --footer-text: #ffffff;
  --mobile-nav-bg: rgba(74, 114, 168, 0.98);
  --input-bg: rgba(22, 41, 76, 0.35);
  --glow-accent: 0 4px 24px rgba(22, 41, 76, 0.22);
  --glow-cyan: 0 4px 20px rgba(255, 255, 255, 0.12);
  --shadow-panel: 0 16px 48px rgba(22, 41, 76, 0.18);
  --link-color: var(--text-white);
  --tile-heading: var(--text-white);
  --theme-toggle-bg: rgba(255, 255, 255, 0.12);
  --theme-toggle-border: rgba(255, 255, 255, 0.28);
  --hero-text: var(--text-white);
  --hero-text-muted: var(--text-white-muted);
  --text-on-accent: var(--text-white);
  --text-on-light: var(--text-white);
  --text-muted-on-light: var(--text-white-muted);
  color-scheme: light;
}

[data-theme="dark"] .mission-section,
[data-theme="dark"] .stories-section,
[data-theme="dark"] .contact-section,
[data-theme="dark"] .courses-section,
[data-theme="dark"] .stats-band,
[data-theme="dark"] .spotlight,
[data-theme="dark"] .founder-section,
[data-theme="dark"] .cta-section,
[data-theme="dark"] .hero {
  --text: var(--text-white);
  --text-muted: var(--text-white-muted);
  --link-color: var(--text-white);
}

[data-theme="light"] .mission-section,
[data-theme="light"] .stories-section,
[data-theme="light"] .contact-section,
[data-theme="light"] .spotlight,
[data-theme="light"] .founder-section,
[data-theme="light"] .cta-section,
[data-theme="light"] .hero,
[data-theme="light"] .stats-band,
[data-theme="light"] .courses-section,
[data-theme="light"] .community-videos {
  --text: var(--text-white);
  --text-muted: var(--text-white-muted);
  --link-color: var(--text-white);
  --hero-text: var(--text-white);
  --hero-text-muted: var(--text-white-muted);
}

[data-theme="light"] .site-header.is-scrolled {
  --nav-link-scrolled: var(--text-white);
  --logo-color-scrolled: var(--text-white);
  --toggle-bar-scrolled: var(--text-white);
  --theme-toggle-bg: rgba(255, 255, 255, 0.12);
  --theme-toggle-border: rgba(255, 255, 255, 0.28);
}

[data-theme="light"] .mission-section .btn-outline-light,
[data-theme="light"] .contact-section .btn-outline-light,
[data-theme="light"] .courses-section .btn-outline-light {
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.45);
}

[data-theme="light"] .mission-section .btn-outline-light:hover,
[data-theme="light"] .contact-section .btn-outline-light:hover,
[data-theme="light"] .courses-section .btn-outline-light:hover {
  border-color: var(--laurel-gold-light);
  color: var(--text-white);
}

[data-theme="light"] .btn-outline {
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.45);
}

[data-theme="light"] .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--laurel-gold-light);
  color: var(--text-white);
}

html[data-theme="light"] { color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body.is-nav-open {
  overflow: hidden;
}

body {
  position: relative;
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: #ffffff;
  background: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  hyphens: none;
  -webkit-hyphens: none;
  overflow-x: clip;
  width: 100%;
  min-width: 0;
  min-height: 100vh;
}

/* Bright, readable white text across the site */
p,
li,
dd,
.section-desc,
.stat-label,
.stats-note,
.footer-tagline,
.footer-nav a,
.footer-legal a,
.footer-social-label,
.footer-bottom p,
.footer-legal-inline a,
.contact-info p,
.mission-content p,
.mission-list li,
.course-tile p,
.spotlight-copy p:not(.section-eyebrow),
.cta-panel p,
.courses-cta p,
.course-rail-hint,
.community-videos-desc,
.founder-title,
.founder-body p,
.founder-bio-label,
.story-role,
.stories-section .section-desc,
.form-note,
.contact-form label span,
.hero-lead,
.video-card figcaption,
.legal-wrap p,
.legal-wrap li,
.legal-updated,
.legal-notice,
.legal-nav a,
.course-lead,
.course-content p,
.course-content li,
.course-notify-panel > p,
.course-session dd,
.course-notify-form label span,
.course-notify-consent span {
  color: #ffffff;
  font-weight: 500;
}

h1,
h2,
h3,
h4,
.hero-content,
.section-header-text,
.stat-number,
.founder-pullquote p,
.founder-letter p,
.story-quote,
.story-card cite {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 22%, rgba(183, 141, 60, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 20% 15%, rgba(36, 80, 59, 0.1) 0%, transparent 42%),
    linear-gradient(
      145deg,
      rgba(14, 27, 51, 0.96) 0%,
      rgba(22, 41, 76, 0.24) 45%,
      rgba(14, 27, 51, 0.92) 100%
    );
  pointer-events: none;
}

[data-theme="light"] body::before {
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.45) 0%, transparent 42%),
    radial-gradient(circle at 18% 82%, rgba(22, 41, 76, 0.08) 0%, transparent 48%),
    linear-gradient(
      105deg,
      var(--baby-blue-light) 0%,
      var(--baby-blue) 38%,
      var(--baby-blue-mid) 72%,
      var(--baby-blue-deep) 100%
    );
}

[data-theme="light"] .site-brand-backdrop {
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.18) 0%, transparent 55%),
    linear-gradient(160deg, var(--baby-blue-light) 0%, var(--baby-blue) 42%, var(--baby-blue-mid) 100%);
}

[data-theme="light"] .site-brand-backdrop img {
  opacity: 0.14;
}

.site-brand-backdrop {
  position: fixed;
  inset: 0;
  z-index: -3;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at center, rgba(183, 141, 60, 0.08) 0%, transparent 55%),
    linear-gradient(160deg, #0e1b33 0%, #16294c 100%);
  pointer-events: none;
}

.site-brand-backdrop img {
  width: min(92vw, 56rem);
  height: min(92vh, 56rem);
  object-fit: contain;
  opacity: 0.22;
}

.site-gallery-backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.58;
}

.site-gallery-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(183, 141, 60, 0.06) 0%, transparent 50%),
    rgba(14, 27, 51, 0.58);
}

.site-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: clamp(0.5rem, 1.5vw, 1rem);
  min-height: 100%;
  padding: clamp(0.5rem, 1.5vw, 1rem);
  transform: scale(1.04);
  align-items: start;
}

.site-gallery-brand {
  grid-column: 1 / -1;
  width: 100%;
  height: clamp(12rem, 32vh, 22rem);
  object-fit: contain;
  object-position: center;
  background:
    radial-gradient(circle at center, rgba(183, 141, 60, 0.08) 0%, transparent 65%),
    linear-gradient(160deg, rgba(14, 27, 51, 0.88) 0%, rgba(22, 41, 76, 0.78) 100%);
  border-radius: 0.5rem;
}

.site-gallery-grid img:not(.site-gallery-brand) {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center center;
  border-radius: 0.375rem;
  border: 1px solid rgba(183, 141, 60, 0.22);
  box-shadow: 0 12px 40px rgba(14, 27, 51, 0.28);
}

[data-theme="dark"] .site-gallery-grid img {
  border-color: rgba(183, 141, 60, 0.18);
  box-shadow: 0 12px 40px rgba(14, 27, 51, 0.45);
}

#main {
  overflow-x: clip;
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #ffffff;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  transition: color 0.2s var(--ease-out);
}

a:hover { color: var(--laurel-gold-light); }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.05;
  font-weight: 600;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

h1 { font-size: clamp(2.75rem, 8vw, 5.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.25rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }

p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: var(--text-on-accent);
  border-radius: 0 0 0.5rem 0.5rem;
  text-decoration: none;
}

.skip-link:focus { top: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
}

.btn:hover { box-shadow: var(--glow-accent); }
.btn:active { box-shadow: none; }

.btn-accent {
  background: linear-gradient(135deg, var(--ivy-navy) 0%, var(--brand-hover) 100%);
  color: var(--text-on-accent);
  border-color: var(--info-border-strong);
  box-shadow: var(--info-shadow), var(--glow-accent);
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--ivy-navy-light) 0%, var(--ivy-navy) 100%);
  border-color: var(--laurel-gold);
  color: var(--text-on-accent);
}

.btn-crimson {
  background: linear-gradient(135deg, var(--crest-crimson) 0%, var(--crest-crimson-dark) 100%);
  color: var(--parchment);
  border-color: var(--info-border-crimson-strong);
  box-shadow: var(--info-shadow-crimson), var(--glow-crimson);
}

.btn-crimson:hover {
  background: linear-gradient(135deg, var(--crest-crimson-light) 0%, var(--crest-crimson) 100%);
  border-color: var(--crest-crimson-light);
  color: var(--parchment);
  box-shadow: var(--info-shadow-crimson), var(--glow-crimson);
}

.btn-outline {
  background: transparent;
  color: var(--parchment);
  border-color: rgba(244, 238, 226, 0.45);
}

.btn-outline:hover {
  background: rgba(22, 41, 76, 0.18);
  border-color: var(--laurel-gold);
  color: var(--parchment);
}

.btn-outline-light {
  background: transparent;
  color: var(--text);
  border-color: rgba(183, 141, 60, 0.35);
}

.btn-outline-light:hover {
  border-color: var(--laurel-gold);
  color: var(--laurel-gold-light);
  box-shadow: var(--glow-gold);
}

.btn-ghost-light {
  background: transparent;
  color: var(--text);
  border-color: transparent;
  text-decoration: underline;
  box-shadow: none;
}

.btn-ghost-light:hover {
  color: var(--gold-light);
  transform: none;
}

.btn-lg { padding: 0.9375rem 2rem; font-size: 1rem; }
.btn-nav { padding: 0.5rem 1.25rem; font-size: 0.875rem; }

/* Theme toggle */
.theme-toggle {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  flex-shrink: 0;
  background: var(--theme-toggle-bg);
  border: 1px solid var(--theme-toggle-border);
  border-radius: 0.25rem;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.theme-toggle:hover {
  background: rgba(183, 141, 60, 0.12);
  border-color: var(--laurel-gold);
}

.theme-icon { display: none; }

[data-theme="dark"] .theme-icon-sun { display: block; }
[data-theme="light"] .theme-icon-moon { display: block; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: calc(var(--header-height) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  transition: background 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.site-header.is-scrolled {
  background: var(--header-bg-scrolled);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 0 0 var(--laurel-gold);
}

.site-header:not(.is-scrolled) .logo,
.site-header:not(.is-scrolled) .nav-list a,
.site-header:not(.is-scrolled) .theme-toggle {
  text-shadow: 0 1px 10px rgba(14, 27, 51, 0.9);
}

.site-header.is-scrolled .logo {
  color: var(--logo-color-scrolled);
}

.site-header.is-scrolled .nav-list a {
  color: #ffffff !important;
}

.site-header.is-scrolled .nav-list a:hover {
  color: var(--laurel-gold-light);
}

.site-header.is-scrolled .nav-toggle-bar {
  background: var(--toggle-bar-scrolled);
}

.header-end {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  height: 100%;
  min-width: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--logo-color);
  transition: color 0.35s var(--ease-out);
  min-width: 0;
  flex-shrink: 1;
}

.logo-img {
  display: block;
  width: auto;
  height: clamp(3.25rem, 7vw, 4.5rem);
  max-width: 5.25rem;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 10px rgba(14, 27, 51, 0.5));
}

.logo-img--footer {
  height: clamp(2.75rem, 6vw, 3.5rem);
  max-width: 4.25rem;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-hover) 100%);
  color: var(--text-on-accent);
  border: 1px solid rgba(183, 141, 60, 0.45);
  border-radius: 0.375rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: var(--glow-accent), var(--glow-gold);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.logo-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(0.9rem, 2.2vw, 1.15rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.logo-tagline {
  font-family: var(--font-body);
  font-size: clamp(0.62rem, 1.8vw, 0.78rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--laurel-gold-light);
  max-width: 13rem;
}

.logo--footer .logo-tagline {
  max-width: 11rem;
}

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

.nav-list {
  display: flex;
  list-style: none;
  gap: 1.75rem;
}

.nav-list a {
  color: #ffffff !important;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
  transition: color 0.2s;
}

.nav-list a:hover { color: var(--gold-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--toggle-bar);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, background 0.35s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  padding: calc(var(--header-height) + 1.5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
}

.hero-media {
  grid-row: 1;
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  background: var(--solid-blue);
}

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

.hero-img--brand {
  width: auto;
  height: auto;
  max-width: min(92vw, 26rem);
  max-height: min(46svh, 26rem);
  object-fit: contain;
  object-position: center center;
  padding: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  grid-row: 1 / -1;
  background:
    linear-gradient(to top, rgba(14, 27, 51, 0.92) 0%, rgba(22, 41, 76, 0.55) 40%, rgba(183, 141, 60, 0.06) 100%),
    linear-gradient(to right, rgba(14, 27, 51, 0.82) 0%, rgba(22, 41, 76, 0.2) 55%, transparent 100%);
}

[data-theme="light"] .hero-overlay {
  background: var(--hero-overlay);
}

.hero-content {
  grid-row: 2;
  position: relative;
  z-index: 2;
  max-width: var(--content-max);
  width: 100%;
  margin: 0 auto;
  color: var(--hero-text);
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  border: 2px solid var(--laurel-gold);
  border-radius: 999px;
  color: var(--laurel-gold-light);
}

.hero-lead {
  max-width: 32rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #ffffff;
  margin-bottom: 2rem;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

[data-theme="light"] .hero .btn-outline {
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.45);
}

[data-theme="light"] .hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--laurel-gold-light);
  color: var(--text-white);
}

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

/* Spotlight featured block */
.spotlight {
  padding: var(--section-pad) clamp(1.25rem, 4vw, 2.5rem);
  margin-top: 0;
  position: relative;
  z-index: 3;
  overflow: hidden;
  max-width: 100%;
  background: var(--solid-blue);
  border-top: 2px solid var(--info-border);
  border-bottom: 2px solid var(--info-border);
}

.spotlight-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-panel);
}

.spotlight-copy {
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-panel);
}

.spotlight-copy p:not(.section-eyebrow) {
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.spotlight-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(20rem, 38vh, 26rem);
  padding: clamp(1rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 50% 40%, rgba(183, 141, 60, 0.1) 0%, transparent 55%),
    linear-gradient(160deg, #0e1b33 0%, #16294c 100%);
}

.spotlight-media--photo {
  padding: 0;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 2px solid rgba(183, 141, 60, 0.35);
  min-height: clamp(14rem, 30vh, 20rem);
}

.spotlight-media--photo img {
  width: 100%;
  height: 100%;
  min-height: clamp(14rem, 30vh, 20rem);
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center 38%;
}

/* Sections */
.section {
  padding: var(--section-pad) clamp(1.25rem, 4vw, 2.5rem);
  max-width: 100%;
  overflow-x: clip;
}

.section--scrim {
  background: var(--section-scrim);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--laurel-gold-light);
  border-bottom: 2px solid var(--laurel-gold);
  padding-bottom: 0.35rem;
}

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

.section-desc {
  max-width: 36rem;
  color: #ffffff;
  margin-bottom: 0;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  max-width: var(--content-max);
  margin: 0 auto 2rem;
}

/* Ivy section grounds — navy with gold accents (green removed from large surfaces) */
.stats-band,
.courses-section {
  background: var(--solid-navy);
}

.courses-section {
  position: relative;
  z-index: 3;
  border-top: 2px solid var(--info-border-gold);
  border-bottom: 2px solid var(--info-border-gold);
}

.stats-band {
  padding: var(--section-pad) clamp(1.25rem, 4vw, 2.5rem);
  position: relative;
  z-index: 3;
  border-top: 2px solid var(--info-border-gold);
  border-bottom: 2px solid var(--info-border-gold);
  overflow: hidden;
  max-width: 100%;
}

.contact-section {
  position: relative;
  z-index: 3;
  background: var(--solid-vellum);
  border-top: 2px solid var(--info-border-gold);
  --text: var(--text-on-light);
  --text-muted: var(--text-muted-on-light);
  --link-color: var(--text-on-light);
  color: var(--text);
}

.courses-section .btn-outline-light {
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.45);
}

.courses-section .btn-outline-light:hover {
  border-color: var(--laurel-gold-light);
  color: var(--text-white);
}

.course-rail-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  max-width: var(--content-max);
  margin: 0 auto 0.75rem;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #ffffff;
  transition: opacity 0.3s var(--ease-out);
}

@media (min-width: 901px) {
  .course-rail-hint {
    display: none;
  }
}

.course-rail-hint-icon {
  display: inline-block;
  animation: rail-hint-nudge 1.6s ease-in-out infinite;
}

@keyframes rail-hint-nudge {
  0%, 100% { transform: translateX(0); opacity: 0.7; }
  50% { transform: translateX(6px); opacity: 1; }
}

.course-rail-hint.is-hidden {
  opacity: 0;
  visibility: hidden;
  height: 0;
  margin: 0;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .course-rail-hint-icon {
    animation: none;
  }
}

.course-rail-wrap {
  position: relative;
  max-width: 100%;
}

.course-rail,
.stories-rail {
  display: flex;
  gap: var(--rail-gap);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  padding: 0.5rem clamp(1.25rem, 4vw, 2.5rem) 1.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
  max-width: 100%;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
}

.course-rail::-webkit-scrollbar,
.stories-rail::-webkit-scrollbar { height: 4px; }

.course-rail::-webkit-scrollbar-thumb,
.stories-rail::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 999px;
}

.course-rail {
  padding-right: 0.5rem;
}

/* Course tiles */
.course-rail .course-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 min(82%, 19.5rem);
  height: auto;
  min-height: 26rem;
  scroll-snap-align: start;
  container-type: scroll-state;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  text-align: left;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
  touch-action: manipulation;
}

.course-rail .course-tile--featured {
  flex-basis: min(84%, 21rem);
  min-height: 28rem;
}

.course-tile-media {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 4 / 5;
  min-height: 11.5rem;
  overflow: hidden;
  background: var(--ivy-navy-deep);
}

.course-tile-bg,
.course-tile-overlay {
  pointer-events: none;
}

.course-tile-media .badge {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  margin-bottom: 0;
}

.course-tile-content {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1.15rem 1.25rem 1.35rem;
  background: var(--solid-navy);
  border-top: 2px solid rgba(183, 141, 60, 0.35);
  z-index: 2;
}

.course-tile-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 0.85rem;
  font-size: 0.8125rem;
}

@media (min-width: 901px) {
  .courses-section .rail-controls {
    display: none;
  }

  .courses-section .course-rail-hint {
    display: none;
  }

  .course-rail-wrap {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  }

  .course-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.15rem, 2.2vw, 1.75rem);
    overflow: visible;
    scroll-snap-type: none;
    padding: 0;
    max-width: 100%;
    align-items: start;
  }

  .course-rail .course-tile,
  .course-rail .course-tile--featured {
    flex: none;
    width: 100%;
    max-width: none;
    min-height: auto;
    height: auto;
  }

  .course-tile-media {
    aspect-ratio: 1 / 1;
    min-height: 13rem;
    max-height: none;
  }

  .course-rail-dots {
    display: none;
  }
}

@media (min-width: 1200px) {
  .course-tile-media {
    aspect-ratio: 4 / 5;
    min-height: 15rem;
  }

  .course-tile-content {
    padding: 1.35rem 1.5rem 1.5rem;
  }
}

.course-rail-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: var(--content-max);
  margin: 1rem auto 0;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.course-rail-dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--border);
  cursor: pointer;
  transition: width 0.25s var(--ease-out), background 0.25s var(--ease-out);
}

.course-rail-dot.is-active {
  width: 1.75rem;
  background: var(--accent);
}

.course-rail-dot:hover {
  background: var(--cyan);
}

.course-tile:hover {
  transform: translateY(-4px) scale(1.01);
}

.course-tile-bg {
  position: absolute;
  inset: 0;
}

.course-tile-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.course-tile-bg--finance {
  background: linear-gradient(135deg, #0e1b33 0%, #1e3a5f 100%);
}

.course-tile-bg--rap {
  background: linear-gradient(135deg, #16294c 0%, #2a4a72 100%);
}

.course-tile-bg--pitch {
  background: linear-gradient(135deg, #112038 0%, #16294c 100%);
}

.course-tile-bg--ai {
  background: linear-gradient(135deg, #112038 0%, #2a4a72 100%);
}

.course-tile-bg--kid {
  background: linear-gradient(135deg, #16294c 0%, #1e3a5f 100%);
}

.course-tile-media .course-tile-overlay {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(14, 27, 51, 0.55) 0%, rgba(14, 27, 51, 0.08) 45%, transparent 100%);
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0.2rem;
}

.badge-soon {
  background: var(--ivy-navy);
  color: var(--laurel-gold-light);
  border: 2px solid var(--laurel-gold);
  box-shadow: none;
}

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

.course-tile h3 {
  margin-bottom: 0.45rem;
  color: var(--tile-heading);
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  line-height: 1.1;
}

.course-tile p {
  font-size: 0.9rem;
  color: #ffffff;
  margin: 0;
  line-height: 1.5;
}

@media (prefers-reduced-motion: no-preference) {
  @supports (container-type: scroll-state) {
    @container scroll-state(snapped: x) {
      .course-tile {
        transform: scale(1.02);
        border-color: rgba(22, 41, 76, 0.5);
        box-shadow: var(--glow-accent);
      }
    }
  }
}

.courses-cta {
  max-width: var(--content-max);
  margin: 2rem auto 0;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.courses-cta p {
  margin: 0;
  color: #ffffff;
}

.rail-controls {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.rail-btn {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.rail-btn:hover:not(:disabled) {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-on-accent);
}

.rail-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Mission */
.mission-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  z-index: 3;
  background: var(--solid-parchment);
  border-top: 2px solid var(--info-border-gold);
  border-bottom: 2px solid var(--info-border-gold);
  --text: #ffffff;
  --text-muted: #ffffff;
  --link-color: #ffffff;
  color: #ffffff !important;
}

.mission-section .section-eyebrow {
  color: var(--laurel-gold-light);
  border-bottom-color: var(--laurel-gold);
}

.mission-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  max-width: var(--content-max);
  margin: 0 auto;
  align-items: center;
}

.mission-media {
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-panel);
  backdrop-filter: blur(12px);
}

.mission-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 40%;
}

.mission-content p { color: #ffffff !important; font-weight: 600; }

.mission-list {
  list-style: none;
  margin: 1.5rem 0 2rem;
  color: #ffffff;
}

.mission-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  font-weight: 600;
  opacity: 1;
}

.mission-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* Founder */
.founder-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  z-index: 3;
  background: var(--solid-blue);
  border-top: 2px solid var(--info-border);
  border-bottom: 2px solid var(--info-border);
}

.founder-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: min(100%, 22rem) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  max-width: var(--content-max);
  margin: 0 auto;
  align-items: start;
}

.founder-aside {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.founder-portrait {
  aspect-ratio: 1;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(22, 41, 76, 0.2) 0%, rgba(36, 80, 59, 0.12) 100%),
    var(--bg-elevated);
  border: 1px solid rgba(183, 141, 60, 0.22);
  border-radius: 0.5rem;
  max-width: 100%;
  box-shadow: var(--glow-accent);
}

.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.founder-card {
  padding: 1.25rem 1.5rem;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
}

.founder-label {
  margin: 0 0 0.25rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.founder-card h3 {
  margin: 0 0 0.15rem;
  font-size: 2rem;
  color: #ffffff;
}

.founder-title {
  margin: 0;
  font-size: 0.9375rem;
  color: #ffffff;
  font-weight: 500;
}

.founder-pullquote {
  margin: 0;
  padding: 1.25rem 1.5rem;
  background: rgba(183, 141, 60, 0.1);
  border-left: 3px solid var(--laurel-gold);
  border-radius: 0 0.5rem 0.5rem 0;
  box-shadow: var(--glow-gold);
  backdrop-filter: blur(10px);
}

[data-theme="dark"] .founder-pullquote {
  background: rgba(183, 141, 60, 0.12);
}

.founder-pullquote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--text);
}

.founder-story h2 {
  margin-bottom: 1.25rem;
}

.founder-letter {
  margin: 0 0 2.5rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: 0.5rem;
  background: var(--bg-elevated);
}

.founder-letter-label {
  margin: 0 0 1.25rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.founder-letter p {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #ffffff;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.founder-letter p:last-of-type {
  margin-bottom: 1.5rem;
}

.founder-letter footer {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--gold-light);
}

.founder-bio-label {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.founder-story-more .founder-bio-label {
  margin-top: 1.5rem;
}

.founder-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.founder-body p {
  margin: 0;
  color: #ffffff;
}

.founder-body strong {
  color: var(--text);
}

.founder-closing {
  margin: 2rem 0 0;
  padding: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(36, 80, 59, 0.14) 0%, rgba(22, 41, 76, 0.08) 100%),
    var(--bg-elevated);
  border-radius: 0.5rem;
  backdrop-filter: blur(12px);
}

.founder-read-more {
  display: inline-flex;
  width: auto;
  margin-top: 1.25rem;
}

.founder-photo-gallery {
  position: relative;
  z-index: 1;
  max-width: min(58rem, 94%);
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--border);
}

.founder-gallery-label {
  margin: 0 0 0.85rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.founder-photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.5rem, 1.5vw, 0.85rem);
  align-items: stretch;
  width: 100%;
}

.founder-gallery-frame {
  margin: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid rgba(183, 141, 60, 0.28);
  background: var(--ivy-navy-deep);
  box-shadow: var(--shadow-panel);
  backdrop-filter: blur(10px);
}

.founder-gallery-frame img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.35s var(--ease-out);
}

.founder-gallery-frame--featured {
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 2 / 1;
  max-height: none;
}

.founder-gallery-frame--featured img {
  object-position: center 38%;
}

.founder-gallery-frame--presenting img {
  object-position: center 12%;
}

.founder-gallery-frame--landscape img {
  object-position: center 32%;
}

.founder-gallery-frame:hover img {
  transform: scale(1.04);
}

.community-videos {
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--border);
}

.community-videos-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.community-videos-desc {
  max-width: 40rem;
  margin: 0 0 1.75rem;
  color: #ffffff;
}

.video-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
  align-items: stretch;
}

.video-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 2px solid var(--info-border);
  background: var(--bg-panel);
  box-shadow: var(--shadow-panel);
}

.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  flex: 0 0 auto;
  object-fit: cover;
  object-position: center center;
  vertical-align: middle;
  background: #000;
  touch-action: manipulation;
}

.video-card--vertical video {
  object-position: center 42%;
}

.video-card figcaption {
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #ffffff !important;
  font-weight: 600;
  border-top: 2px solid var(--info-border-gold);
  margin-top: auto;
  min-height: 4.5rem;
  display: flex;
  align-items: center;
}

@media (max-width: 900px) {
  .video-gallery-grid {
    grid-template-columns: 1fr;
    max-width: min(36rem, 100%);
    margin-inline: auto;
  }
}

.founder-story-more {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.45s var(--ease-out),
    opacity 0.35s var(--ease-out);
}

.founder-story-more.is-expanded {
  max-height: 4000px;
  opacity: 1;
}

@media (max-width: 900px) {
  .courses-section .rail-controls {
    display: flex;
  }

  .course-rail {
    display: flex;
    align-items: stretch;
  }

  .course-rail .course-tile,
  .course-rail .course-tile--featured {
    flex: 0 0 min(86%, 20rem);
    min-height: auto;
  }

  .course-tile-media {
    aspect-ratio: 16 / 10;
    min-height: 12.5rem;
  }
}

@media (max-width: 768px) {
  .founder-read-more {
    width: 100%;
  }

  .founder-photo-gallery {
    max-width: 100%;
    width: 100%;
    padding-inline: 0;
    margin-top: clamp(1.5rem, 4vw, 2.5rem);
  }

  .founder-photo-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    width: 100%;
  }

  .founder-gallery-frame {
    aspect-ratio: 4 / 5;
  }

  .founder-gallery-frame--featured {
    grid-column: 1 / -1;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: none;
  }

  .founder-gallery-frame--featured img {
    object-position: center 36%;
  }

  .founder-gallery-frame--presenting {
    max-width: none;
    margin-inline: 0;
  }

  .founder-gallery-frame--presenting img {
    object-position: center 14%;
  }

  .founder-gallery-frame--landscape img {
    object-position: center 28%;
  }

  .site-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    padding: 0.45rem;
    transform: none;
  }

  .site-gallery-brand {
    height: clamp(8rem, 22vh, 12rem);
  }

  .site-gallery-grid img:not(.site-gallery-brand) {
    aspect-ratio: 16 / 10;
  }

  .site-brand-backdrop img {
    width: min(88vw, 24rem);
    height: auto;
    max-height: 50vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .founder-story-more {
    transition: none;
  }

  .founder-gallery-frame img {
    transition: none;
  }
}

/* Stats band */
.stats-band-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.stats-note {
  color: #ffffff;
  font-size: 0.9rem;
  margin: 0;
}

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

.stat-item {
  padding: 1.5rem 1rem;
  text-align: center;
  background: var(--bg-panel);
  border-radius: 0.5rem;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.25rem;
  text-shadow: var(--glow-gold);
}

.stat-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #ffffff;
}

/* Stories */
.stories-section {
  position: relative;
  z-index: 3;
  background: var(--solid-parchment);
  border-top: 2px solid var(--info-border-gold);
  border-bottom: 2px solid var(--info-border-gold);
  --text: var(--text-on-light);
  --text-muted: var(--text-muted-on-light);
  --link-color: var(--text-on-light);
  color: var(--text);
}

.stories-section .section-eyebrow {
  color: var(--laurel-gold-light);
  border-bottom-color: var(--laurel-gold);
}

.stories-section h2,
.stories-section .section-desc {
  color: #ffffff;
}

.stories-section h2 {
  color: var(--text);
}

.stories-section .story-quote,
.stories-section .story-card cite {
  color: var(--text);
}

.stories-section .story-role {
  color: var(--laurel-gold-light);
}

.story-card {
  flex: 0 0 min(calc(100vw - 3rem), 20rem);
  scroll-snap-align: start;
  margin: 0;
  padding: 1.5rem;
  background: var(--bg-panel);
  border: 1px solid var(--info-border-gold);
  border-radius: 0.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.story-card--featured {
  flex-basis: min(calc(100vw - 3rem), 27rem);
  border-color: rgba(183, 141, 60, 0.55);
}

.story-card-photo {
  margin: -1.5rem -1.5rem 1rem;
  overflow: hidden;
  border-bottom: 2px solid rgba(183, 141, 60, 0.35);
  flex-shrink: 0;
}

.story-card-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 15%;
}

.story-card-photo--gala img {
  object-position: center 62%;
}

.story-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.story-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(183, 141, 60, 0.28);
}

.story-quote {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
}

.story-quote p {
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
  line-height: 1.68;
  color: inherit;
}

.story-quote p:last-child {
  margin-bottom: 0;
}

.story-quote-more {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.45s var(--ease-out),
    opacity 0.35s var(--ease-out);
}

.story-quote-more.is-expanded {
  max-height: 4000px;
  opacity: 1;
}

.story-quote-more p:first-child {
  margin-top: 0.85rem;
}

.story-read-more {
  display: inline-flex;
  width: auto;
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
}

.story-card cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--text);
}

.story-role {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--laurel-gold-light);
  margin-top: 0.35rem;
}

.story-role-tagline {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  margin-top: 0.3rem;
  text-transform: none;
}

/* CTA */
.cta-section {
  padding: var(--section-pad) clamp(1.25rem, 4vw, 2.5rem);
  position: relative;
  z-index: 3;
  background: var(--solid-blue);
  border-top: 2px solid var(--info-border);
}

.cta-panel {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  background: var(--bg-panel);
  border-radius: 0.5rem;
}

.cta-panel .btn-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

.cta-panel .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--laurel-gold);
  color: #ffffff;
  box-shadow: var(--glow-gold);
}

.cta-panel p {
  max-width: 32rem;
  margin: 0 auto 2rem;
  color: #ffffff;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.contact-grid {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-info {
  min-width: 0;
}

.contact-info p { color: #ffffff; }

.contact-details {
  font-style: normal;
  margin-top: 1.5rem;
}

.contact-details p { margin-bottom: 0.5rem; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  min-width: 0;
  padding: 2rem;
  background: var(--bg-panel);
  border-radius: 0.5rem;
}

.form-note {
  font-size: 0.8125rem;
  color: #ffffff;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.contact-form-botcheck {
  display: none !important;
}

.contact-form-status {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  line-height: 1.45;
}

.contact-form-status.is-success {
  color: var(--laurel-gold-light);
}

.contact-form-status.is-error {
  color: var(--crest-crimson-light);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
}

.contact-form label span {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  border: 2px solid var(--info-border);
  border-radius: 0.25rem;
  background: var(--input-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form label:nth-of-type(1) input {
  border-color: var(--info-border);
  box-shadow: var(--info-shadow);
}

.contact-form label:nth-of-type(2) input {
  border-color: var(--info-border-gold);
  box-shadow: var(--info-shadow-gold);
}

.contact-form label:nth-of-type(3) textarea {
  border-color: var(--info-border-vellum);
  box-shadow: var(--info-shadow-vellum);
}

.contact-form textarea {
  resize: vertical;
  min-height: 7rem;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
}

.contact-form label:nth-of-type(1) input:focus {
  border-color: var(--brand-light);
  box-shadow: var(--info-shadow), var(--glow-accent);
}

.contact-form label:nth-of-type(2) input:focus {
  border-color: var(--laurel-gold-light);
  box-shadow: var(--info-shadow-gold), var(--glow-gold);
}

.contact-form label:nth-of-type(3) textarea:focus {
  border-color: var(--info-border-vellum-strong);
  box-shadow: var(--info-shadow-vellum);
}

/* Info panels — navy, gold, vellum border cycle */
.spotlight-inner,
.founder-card,
.stat-item,
.story-card,
.contact-form,
.mission-media,
.founder-gallery-frame,
.founder-portrait,
.founder-letter,
.founder-closing,
.cta-panel,
.legal-notice,
.course-rail .course-tile {
  border-width: 2px;
  border-style: solid;
}

.spotlight-inner,
.cta-panel,
.stat-item:nth-child(3n + 1),
.story-card:nth-child(3n + 1),
.founder-gallery-frame:nth-child(3n + 1),
.course-rail .course-tile:nth-child(3n + 1) {
  border-color: var(--info-border);
  box-shadow: var(--info-shadow);
}

.mission-media,
.contact-form,
.founder-letter,
.founder-closing,
.stat-item:nth-child(3n + 2),
.story-card:nth-child(3n + 2),
.founder-gallery-frame:nth-child(3n + 2),
.course-rail .course-tile:nth-child(3n + 2) {
  border-color: var(--info-border-gold);
  box-shadow: var(--info-shadow-gold);
}

.founder-card,
.founder-portrait,
.stat-item:nth-child(3n + 3),
.story-card:nth-child(3n + 3),
.founder-gallery-frame:nth-child(3n + 3),
.course-rail .course-tile:nth-child(3n + 3) {
  border-color: var(--info-border-vellum);
  box-shadow: var(--info-shadow-vellum);
}

.course-rail .course-tile:nth-child(3n + 1):hover {
  border-color: var(--brand-light);
  box-shadow: var(--info-shadow), var(--glow-accent);
}

.course-rail .course-tile:nth-child(3n + 2):hover {
  border-color: var(--laurel-gold-light);
  box-shadow: var(--info-shadow-gold), var(--glow-gold);
}

.course-rail .course-tile:nth-child(3n + 3):hover {
  border-color: var(--info-border-vellum-strong);
  box-shadow: var(--info-shadow-vellum);
}

.stat-item:nth-child(3n + 1) .stat-number {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35), var(--glow-accent);
}

.stat-item:nth-child(3n + 2) .stat-number {
  color: var(--laurel-gold-light);
  text-shadow: var(--glow-gold);
}

.stat-item:nth-child(3n + 3) .stat-number {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

/* Ivy section accents */
.spotlight .section-eyebrow,
.stats-band .section-eyebrow,
.courses-section .section-eyebrow,
.cta-section .section-eyebrow,
.founder-section .section-eyebrow {
  color: var(--laurel-gold-light);
}

.contact-section .section-eyebrow,
.mission-section .section-eyebrow,
.stories-section .section-eyebrow {
  color: var(--laurel-gold-light);
}

.founder-letter {
  background: var(--bg-elevated);
}

.founder-letter-label,
.founder-letter footer {
  color: var(--laurel-gold-light);
}

.mission-list li::before {
  color: var(--laurel-gold);
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 3rem clamp(1.25rem, 4vw, 2.5rem) 0;
  border-top: 1px solid var(--border);
  overflow-x: clip;
  max-width: 100%;
  backdrop-filter: blur(16px);
}

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.logo--footer { color: #ffffff; margin-bottom: 0.75rem; }

.footer-tagline {
  font-size: 0.9375rem;
  margin: 0;
}

.footer-nav ul,
.footer-legal ul,
.social-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a,
.footer-legal a,
.social-links a {
  text-decoration: none;
  font-family: var(--font-body);
  letter-spacing: 0;
  font-size: 0.9375rem;
}

.footer-nav a:hover,
.footer-legal a:hover,
.social-links a:hover { color: var(--laurel-gold-light); }

.footer-social-label {
  font-size: 0.8125rem;
  margin-bottom: 0.75rem;
}

.social-links {
  flex-direction: row;
  gap: 0.75rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 0.5rem;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.social-icon:hover {
  transform: translateY(-1px);
}

.social-icon--instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow:
    0 0 16px rgba(225, 48, 108, 0.45),
    0 0 32px rgba(188, 24, 136, 0.25);
}

.social-icon--instagram:hover {
  box-shadow:
    0 0 22px rgba(225, 48, 108, 0.6),
    0 0 44px rgba(188, 24, 136, 0.35);
}

.social-icon--linkedin {
  background: var(--ivy-navy);
  box-shadow:
    0 0 16px rgba(22, 41, 76, 0.45),
    0 0 32px rgba(14, 27, 51, 0.22);
}

.social-icon--linkedin:hover {
  background: var(--brand-hover);
  box-shadow:
    0 0 22px rgba(22, 41, 76, 0.6),
    0 0 44px rgba(14, 27, 51, 0.35);
}

.social-icon-svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.footer-bottom {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 1.5rem 0 calc(1.5rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
}

.footer-legal-inline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1rem;
}

.footer-legal-inline a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.8125rem;
}

.footer-legal-inline a:hover {
  color: var(--laurel-gold-light);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8125rem;
  color: #ffffff;
}

/* Legal pages */
.legal-main {
  padding: calc(var(--header-height) + 3rem) clamp(1.25rem, 4vw, 2.5rem) var(--section-pad);
  background: var(--section-scrim);
  backdrop-filter: blur(12px);
}

.legal-wrap {
  max-width: 44rem;
  margin: 0 auto;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-nav a {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
}

.legal-nav a:hover,
.legal-nav a[aria-current="page"] {
  color: var(--laurel-gold-light);
}

.legal-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-wrap h1 {
  margin-bottom: 0.5rem;
}

.legal-updated {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  color: #ffffff;
}

.legal-notice {
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #ffffff;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
}

.legal-wrap h2 {
  font-size: 1.65rem;
  margin-top: 2rem;
}

.legal-wrap p,
.legal-wrap li {
  color: #ffffff;
}

.legal-wrap ul,
.legal-wrap ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

.legal-wrap li {
  margin-bottom: 0.5rem;
}

.legal-wrap a {
  word-break: break-word;
}

.legal-wrap code {
  padding: 0.15rem 0.4rem;
  font-size: 0.875em;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 0.2rem;
}

.site-header.is-legal {
  background: var(--header-bg-scrolled);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.site-header.is-legal .logo {
  color: var(--logo-color-scrolled);
}

.site-header.is-legal .nav-list a {
  color: var(--nav-link-scrolled);
}

.site-header.is-legal .nav-toggle-bar {
  background: var(--toggle-bar-scrolled);
}

.site-header.is-legal .theme-toggle {
  background: var(--theme-toggle-bg);
  border-color: var(--theme-toggle-border);
}

/* Responsive */
@media (max-width: 900px) {
  .spotlight-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .founder-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mission-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mission-media {
    width: 100%;
    max-width: 22rem;
    margin: 0 auto;
  }

  .mission-content {
    text-align: center;
  }

  .mission-list {
    text-align: left;
    max-width: 24rem;
    margin-inline: auto;
  }

  .mission-content .btn {
    width: 100%;
    max-width: 20rem;
  }

  .stats-band-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: stretch;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .founder-aside {
    position: static;
    display: grid;
    grid-template-columns: min(9.5rem, 34vw) 1fr;
    grid-template-areas:
      "portrait card"
      "quote quote";
    gap: 1rem 1.25rem;
    align-items: start;
  }

  .founder-aside > .founder-portrait {
    grid-area: portrait;
    width: 100%;
    margin: 0;
  }

  .founder-aside > .founder-card {
    grid-area: card;
    align-self: center;
    padding: 1rem 1.25rem;
  }

  .founder-aside > .founder-card h3 {
    font-size: clamp(1.35rem, 4vw, 1.75rem);
  }

  .founder-aside > .founder-pullquote {
    grid-area: quote;
    grid-column: auto;
  }

  .rail-controls {
    display: flex;
  }

  .course-rail-hint {
    display: flex;
  }
}

@media (max-width: 768px) {
  body::before {
    background:
      linear-gradient(
        105deg,
        rgba(14, 27, 51, 0.97) 0%,
        rgba(22, 41, 76, 0.14) 42%,
        rgba(14, 27, 51, 0.96) 100%
      );
  }

  .site-gallery-backdrop {
    opacity: 0.42;
  }

  .site-gallery-backdrop::after {
    background:
      linear-gradient(135deg, rgba(183, 141, 60, 0.08) 0%, transparent 50%),
      rgba(14, 27, 51, 0.62);
  }

  [data-theme="light"] body::before {
    background:
      linear-gradient(
        105deg,
        var(--baby-blue-light) 0%,
        var(--baby-blue) 42%,
        var(--baby-blue-mid) 100%
      );
  }

  [data-theme="light"] .site-header {
    background: rgba(14, 27, 51, 0.98);
    backdrop-filter: blur(16px);
    box-shadow: 0 2px 0 0 var(--laurel-gold);
  }

  [data-theme="light"] .site-header .logo {
    color: var(--logo-color-scrolled);
  }

  [data-theme="light"] .site-header .nav-toggle-bar {
    background: var(--toggle-bar-scrolled);
  }

  [data-theme="light"] .site-header .theme-toggle {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
  }

  .nav-toggle { display: flex; }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .header-inner {
    padding-inline: 1rem;
  }

  .logo-name {
    font-size: clamp(0.72rem, 3.2vw, 0.9rem);
  }

  .logo-tagline {
    font-size: clamp(0.58rem, 2.6vw, 0.68rem);
    max-width: 9.5rem;
  }

  .logo-img {
    height: clamp(2.85rem, 10vw, 3.5rem);
    max-width: 4rem;
  }

  .logo-img--footer {
    height: 2.5rem;
    max-width: 3.5rem;
  }

  .logo-mark {
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
  }

  .hero {
    padding-inline: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .spotlight {
    padding-inline: 1rem;
  }

  .section {
    padding-inline: 1rem;
  }

  .mission-media {
    max-width: 100%;
  }

  .mission-content {
    text-align: left;
  }

  .mission-list {
    max-width: none;
  }

  .mission-content .btn {
    max-width: none;
  }

  .course-rail,
  .stories-rail {
    margin-inline: -1rem;
    padding-inline: 1rem;
    scroll-padding-inline: 1rem;
    width: calc(100% + 2rem);
    max-width: 100vw;
  }

  .course-rail .course-tile {
    flex: 0 0 88%;
    max-width: none;
    min-height: auto;
  }

  .course-rail .course-tile--featured {
    flex-basis: 90%;
    max-width: none;
    min-height: auto;
  }

  .course-tile-media {
    aspect-ratio: 4 / 5;
    min-height: 14rem;
  }

  .course-rail-hint {
    font-size: 0.9rem;
    padding-inline: 1rem;
  }

  .story-card {
    flex: 0 0 min(calc(100vw - 2.5rem), 22rem);
    max-width: none;
    padding: 1.25rem;
  }

  .story-card--featured {
    flex-basis: min(calc(100vw - 2.5rem), 24rem);
  }

  .story-card-photo {
    margin: -1.25rem -1.25rem 0.85rem;
  }

  .story-quote p {
    font-size: 0.9375rem;
    line-height: 1.62;
  }

  .founder-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .founder-aside {
    grid-template-columns: min(10rem, 38vw) 1fr;
    gap: 1rem 1rem;
  }

  .founder-aside > .founder-card h3 {
    font-size: 1.35rem;
  }

  .founder-pullquote {
    padding: 1rem 1.25rem;
  }

  .founder-pullquote p {
    font-size: 1.25rem;
  }

  .founder-letter {
    padding: 1.25rem;
  }

  .contact-form {
    padding: 1.25rem;
  }

  .contact-details p {
    word-break: break-word;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .courses-cta {
    flex-direction: column;
    align-items: stretch;
    padding-inline: 0;
  }

  .courses-cta .btn {
    width: 100%;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-height) + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 2rem;
    padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
    background: var(--mobile-nav-bg);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s var(--ease-out), opacity 0.35s, visibility 0.35s;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    gap: 0.25rem;
  }

  .nav-list a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1.2rem;
    color: var(--nav-link-scrolled);
  }

  .btn-nav { width: 100%; text-align: center; }

  .site-header.is-nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.is-nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }

  .site-header.is-nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .stats-intro {
    text-align: center;
  }

  .stats-intro h2 {
    margin-bottom: 0.35rem;
  }

  .stats-note {
    max-width: 24rem;
    margin-inline: auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .stat-item {
    padding: 1.25rem 0.75rem;
  }

  .stat-number {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .community-videos {
    padding-inline: 0;
  }

  .community-videos-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .site-nav {
    max-height: calc(100dvh - var(--header-height) - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .founder-photo-gallery-grid {
    gap: 0.45rem;
  }

  .founder-gallery-frame--featured {
    aspect-ratio: 16 / 10;
  }

  .site-gallery-backdrop {
    opacity: 0.32;
  }

  .site-gallery-grid {
    grid-template-columns: 1fr;
  }

  .site-gallery-grid img:not(.site-gallery-brand) {
    aspect-ratio: 16 / 9;
  }

  .founder-aside {
    grid-template-columns: 1fr;
    grid-template-areas:
      "portrait"
      "card"
      "quote";
    gap: 0.875rem;
  }

  .founder-aside > .founder-portrait {
    width: min(100%, 13rem);
    margin: 0 auto;
  }

  .founder-aside > .founder-card {
    text-align: center;
  }

  .founder-aside > .founder-card h3 {
    font-size: 1.5rem;
  }
}

@media (hover: none) {
  .course-tile:hover {
    transform: none;
  }

  .btn:hover {
    transform: none;
  }
}

/* Course detail pages */
a.course-tile,
button.course-tile {
  text-decoration: none;
  color: inherit;
  display: block;
}

button.course-tile {
  appearance: none;
  border: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  width: 100%;
}

a.course-tile:focus-visible,
button.course-tile:focus-visible {
  outline: 2px solid var(--laurel-gold-light);
  outline-offset: 4px;
}

.course-tile-link {
  display: inline-block;
}

body.is-modal-open {
  overflow: hidden;
}

.course-modal {
  border: none;
  padding: 0;
  margin: auto;
  max-width: min(62rem, calc(100vw - 1.5rem));
  width: 100%;
  max-height: calc(100dvh - 1.5rem);
  background: transparent;
  color: #ffffff;
}

.course-modal::backdrop {
  background: rgba(8, 14, 28, 0.88);
  backdrop-filter: blur(6px);
}

.course-modal-panel {
  position: relative;
  max-height: calc(100dvh - 1.5rem);
  background: linear-gradient(145deg, var(--solid-blue) 0%, #122240 100%);
  border: 2px solid rgba(183, 141, 60, 0.45);
  border-radius: 0.75rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(201, 160, 78, 0.12);
  overflow: hidden;
}

.course-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(183, 141, 60, 0.45);
  border-radius: 999px;
  background: rgba(14, 27, 51, 0.92);
  color: var(--laurel-gold-light);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.course-modal-close:hover {
  border-color: var(--laurel-gold-light);
  color: var(--laurel-gold-light);
}

.course-modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) min(100%, 19rem);
  gap: 0;
  max-height: calc(100dvh - 1.5rem);
}

.course-modal-main {
  overflow-y: auto;
  padding: clamp(1.75rem, 4vw, 2.25rem);
  padding-right: clamp(2.5rem, 5vw, 3rem);
  max-height: calc(100dvh - 1.5rem);
}

.course-modal-sidebar {
  overflow-y: auto;
  padding: clamp(1.75rem, 4vw, 2.25rem);
  padding-top: 3.25rem;
  background: rgba(0, 0, 0, 0.22);
  border-left: 1px solid rgba(183, 141, 60, 0.22);
  max-height: calc(100dvh - 1.5rem);
}

.course-modal-sidebar .course-notify-panel h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  margin: 0 0 0.65rem;
  padding-right: 2.5rem;
  color: #ffffff !important;
}

.course-modal-sidebar .course-notify-panel {
  background: transparent;
  border: none;
  padding: 0;
  backdrop-filter: none;
}

.course-modal-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 1rem;
  max-width: none;
  line-height: 1.05;
}

.course-tile-bg--pitch,
.course-tile-bg--kid,
.course-tile-bg--finance {
  background: var(--ivy-navy-deep);
}

.course-modal-cover {
  margin: -0.25rem 0 1.15rem;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(183, 141, 60, 0.35);
  aspect-ratio: 16 / 9;
  max-height: 11rem;
}

.course-modal-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.course-modal-header {
  margin-bottom: 0.25rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(183, 141, 60, 0.22);
}

.course-modal-main .section-eyebrow {
  margin-bottom: 0.85rem;
}

.course-modal-main .course-lead {
  margin-bottom: 1.35rem;
  line-height: 1.65;
}

.course-modal-highlights {
  margin-top: 0.15rem;
}

.course-modal-highlights-label {
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--laurel-gold-light) !important;
  -webkit-text-fill-color: var(--laurel-gold-light);
  text-shadow: none;
}

.course-modal-main .course-meta {
  gap: 0.55rem 0.65rem;
  margin-bottom: 0;
}

.course-modal-main .course-meta-pill {
  color: var(--laurel-gold-light) !important;
  -webkit-text-fill-color: var(--laurel-gold-light);
  border: 1px solid rgba(201, 160, 78, 0.62);
  background: linear-gradient(180deg, rgba(183, 141, 60, 0.18) 0%, rgba(183, 141, 60, 0.08) 100%);
  box-shadow: inset 0 1px 0 rgba(201, 160, 78, 0.2);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: none;
  padding: 0.45rem 0.95rem;
}

.course-modal-body {
  margin-top: 1.5rem;
  padding-top: 0.25rem;
}

.course-modal-body h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  margin: 0 0 0.75rem;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}

.course-modal-body .course-toc {
  margin-top: 1.25rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(183, 141, 60, 0.28);
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.15);
}

.course-modal-body p,
.course-modal-body li {
  color: #ffffff;
}

.course-modal-body ol {
  margin: 0;
  padding-left: 1.25rem;
}

.course-modal-pdf {
  display: inline-flex;
  margin-top: 1.25rem;
}

@media (max-width: 820px) {
  .course-modal-layout {
    grid-template-columns: 1fr;
  }

  .course-modal-sidebar {
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .course-modal-main,
  .course-modal-sidebar {
    max-height: none;
    overflow: visible;
  }

  .course-modal-panel {
    max-height: calc(100dvh - 1.5rem);
    overflow-y: auto;
  }
}

.course-main {
  padding-top: calc(var(--header-height) + 0.75rem);
}

.course-hero {
  position: relative;
  z-index: 3;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 2.5rem);
  background: var(--solid-blue);
  border-bottom: 2px solid var(--info-border);
}

.course-hero-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.course-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.875rem;
  color: #ffffff;
}

.course-breadcrumb a {
  color: #ffffff;
  text-decoration: none;
}

.course-breadcrumb a:hover {
  color: var(--laurel-gold-light);
}

.course-breadcrumb-sep {
  opacity: 0.6;
  user-select: none;
}

.course-breadcrumb [aria-current="page"] {
  font-weight: 600;
}

.course-hero h1 {
  max-width: 18ch;
  margin-bottom: 0.75rem;
}

.course-lead {
  max-width: 42rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.course-meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.course-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.course-layout {
  position: relative;
  z-index: 3;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem) var(--section-pad);
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(100%, 22rem);
  gap: clamp(2rem, 5vw, 3rem);
  align-items: start;
}

.course-content section {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.course-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.course-content h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.course-content p,
.course-content li {
  color: #ffffff;
}

.course-content ul,
.course-content ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.course-content li {
  margin-bottom: 0.45rem;
}

.course-toc {
  padding: 1.25rem 1.5rem;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  backdrop-filter: blur(12px);
}

.course-toc h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.course-toc ol {
  margin: 0;
  padding-left: 1.25rem;
}

.course-session {
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--laurel-gold);
  border-radius: 0.5rem;
}

.course-session-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.5rem;
}

.course-session-number {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--laurel-gold-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.course-session h3 {
  margin: 0;
  font-size: 1.35rem;
}

.course-session-tagline {
  font-size: 0.9375rem;
  font-style: italic;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.course-session dl {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}

.course-session dt {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--laurel-gold-light);
}

.course-session dd {
  margin: 0.15rem 0 0;
  color: #ffffff;
}

.course-callout {
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(183, 141, 60, 0.12);
  border: 1px solid var(--info-border-gold);
  border-radius: 0.5rem;
}

.course-callout p:last-child {
  margin-bottom: 0;
}

.course-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 1.25rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.course-notify-panel,
.course-related-panel {
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 2px solid var(--info-border-gold);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-panel);
  backdrop-filter: blur(14px);
}

.course-notify-panel h2 {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.course-notify-panel > p {
  font-size: 0.9375rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.course-notify-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.course-notify-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.course-notify-form label span {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
}

.course-notify-form input[type="email"],
.course-notify-form input[type="text"] {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  border: 2px solid var(--info-border);
  border-radius: 0.25rem;
  background: var(--input-bg);
}

.course-notify-consent {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.65rem !important;
}

.course-notify-consent input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.course-notify-consent span {
  font-size: 0.8125rem !important;
  font-weight: 400 !important;
  line-height: 1.45;
}

.course-notify-status {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
}

.course-notify-status.is-success {
  color: var(--laurel-gold-light);
}

.course-notify-status.is-error {
  color: var(--crest-crimson-light);
}

.course-download-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.course-related-panel h2 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.course-related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.course-related-list a {
  display: block;
  padding: 0.65rem 0.85rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s, background 0.2s;
}

.course-related-list a:hover {
  border-color: var(--laurel-gold);
  background: rgba(183, 141, 60, 0.08);
}

.course-content-section {
  position: relative;
  z-index: 3;
  background: var(--section-scrim);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
}

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

  .course-sidebar {
    position: static;
    order: -1;
  }
}

/* Readability — solid navy panels + bright white text in both themes */
.spotlight-inner,
.founder-card,
.founder-letter,
.founder-pullquote,
.cta-panel,
.contact-form,
.story-card,
.stat-item,
.video-card,
.mission-media,
.course-notify-panel,
.course-related-panel,
.course-toc,
.course-session,
.legal-notice {
  backdrop-filter: none !important;
}

[data-theme="light"] .site-header,
[data-theme="light"] .site-header.is-scrolled,
[data-theme="light"] .site-header.is-legal {
  background: rgba(14, 27, 51, 0.98) !important;
}

[data-theme="light"] .spotlight-inner,
[data-theme="light"] .founder-card,
[data-theme="light"] .founder-letter,
[data-theme="light"] .cta-panel,
[data-theme="light"] .contact-form,
[data-theme="light"] .story-card,
[data-theme="light"] .video-card,
[data-theme="light"] .course-notify-panel,
[data-theme="light"] .legal-notice {
  background: #16294c !important;
}

main p,
main li,
main .section-desc,
main figcaption,
.founder-body p,
.founder-pullquote p,
.spotlight-copy p:not(.section-eyebrow),
.mission-content p,
.mission-list li,
.contact-info p,
.story-quote,
.story-card cite,
.video-card figcaption,
.cta-panel p,
.courses-cta p,
.course-rail-hint,
.community-videos-desc,
.founder-title,
.hero-lead,
.legal-wrap p,
.legal-wrap li,
.course-content p,
.course-content li,
.course-lead,
.course-notify-panel > p,
.course-modal-body p,
.course-modal-body li,
.course-modal-body h3,
.course-modal-title,
.course-modal-sidebar .course-notify-panel > p {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.42);
  font-weight: 600;
}

main h1,
main h2,
main h3,
main h4,
.founder-story h2,
.community-videos-title {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  font-weight: 600;
}

/* Site-wide readable white text — wins over section-specific overrides */
.mission-section,
.mission-section .mission-content,
.mission-section .mission-list,
.spotlight,
.spotlight-inner,
.spotlight-copy,
.founder-section,
.founder-story,
.founder-body,
.stats-band,
.stories-section,
.contact-section,
.courses-section,
.cta-section,
.hero-content,
.site-footer,
.legal-main,
.course-main,
.course-content-section,
.course-modal,
.course-modal-panel {
  color: #ffffff !important;
}

.mission-section p:not(.section-eyebrow),
.mission-section li,
.spotlight-copy p:not(.section-eyebrow),
.founder-body p,
.founder-body li,
.founder-title,
.founder-letter p,
.stats-note,
.stats-band p,
.stats-band li,
.stories-section p,
.stories-section li,
.contact-section p,
.contact-section li,
.contact-section label span,
.courses-section p,
.courses-section .section-desc,
.cta-panel p,
.hero-lead,
.section p:not(.section-eyebrow),
.section li,
.site-nav a,
.footer-nav a,
.footer-legal a,
.footer-tagline,
.footer-bottom p,
.nav-list a {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  opacity: 1 !important;
  font-weight: 600;
}

/* Dedicated testimonials page */
.testimonials-main {
  padding: calc(var(--header-h, 5.5rem) + 2rem) 0 4rem;
  min-height: 70vh;
}

.testimonials-wrap {
  max-width: min(58rem, calc(100% - 2.5rem));
  margin: 0 auto;
}

.testimonials-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.testimonials-breadcrumb a {
  color: var(--laurel-gold-light);
  text-decoration: none;
}

.testimonials-breadcrumb a:hover,
.testimonials-breadcrumb a:focus-visible {
  text-decoration: underline;
}

.testimonials-intro {
  margin-bottom: 2.75rem;
}

.testimonials-intro h1 {
  font-family: "Teko", sans-serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin: 0.35rem 0 0.85rem;
  color: #fff;
}

.testimonials-intro > p {
  max-width: 40rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #fff;
  font-weight: 600;
}

.testimonials-list {
  display: grid;
  gap: 2.5rem;
}

.testimonial-feature {
  display: grid;
  grid-template-columns: minmax(10rem, 14rem) 1fr;
  gap: 1.75rem;
  align-items: start;
  padding: 1.5rem;
  background: color-mix(in srgb, var(--solid-navy) 88%, transparent);
  border: 1px solid color-mix(in srgb, var(--laurel-gold) 35%, transparent);
  content-visibility: auto;
  contain-intrinsic-size: auto 420px;
}

.testimonial-feature-photo {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #0a1424;
}

.testimonial-feature-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.testimonial-feature-photo--gala img {
  object-position: center 20%;
}

.testimonial-feature-body h2 {
  font-family: "Teko", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 0.25rem;
  color: #fff;
}

.testimonial-feature-quote {
  margin: 1.15rem 0 0;
  padding: 0;
  border: 0;
}

.testimonial-feature-quote p {
  margin: 0 0 1rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #fff;
  font-weight: 600;
}

.testimonial-feature-quote p:last-child {
  margin-bottom: 0;
}

.testimonials-cta {
  margin-top: 3.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
  background: color-mix(in srgb, var(--solid-navy) 90%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
}

.testimonials-cta h2 {
  font-family: "Teko", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 0.65rem;
  color: #fff;
}

.testimonials-cta p {
  max-width: 34rem;
  margin: 0 auto 1.35rem;
  color: #fff;
  font-weight: 600;
}

.testimonials-cta .cta-actions {
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .testimonials-wrap {
    max-width: calc(100% - 1.5rem);
  }

  .testimonial-feature {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    padding: 1.15rem;
  }

  .testimonial-feature-photo {
    max-width: 16rem;
    margin-inline: auto;
  }

  .testimonials-cta .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
