/* ===== JLA Site Styles ===== */

:root {
  --color-navy: #0f2847;
  --color-navy-dark: #081b30;
  --color-royal: #1e4d8b;
  --color-royal-dark: #163a68;
  --color-royal-light: #6f9fd6;
  --color-steel: #3d5c7a;
  --color-steel-light: #9db3c9;
  --color-accent: #2f6fb0;
  --color-accent-light: #8fb8e3;
  --color-gold: #c8963f;
  --color-gold-light: #e8c377;
  --color-gold-dark: #96701f;
  --color-green: #4fa38c;
  --color-green-light: #bfe9d9;
  --color-green-dark: #1f4f45;
  --color-bg: #f0f1f3;
  --color-bg-alt: #e6e9ed;
  --color-tint-blue: #e7f0f9;
  --color-surface: #ffffff;
  --color-ink: #16202c;
  --color-muted: #4f5b68;
  --color-on-dark-muted: rgba(255, 255, 255, 0.78);
  --color-border: #dbe4ee;
  --shadow-sm: 0 1px 2px rgba(10, 20, 35, 0.07), 0 2px 8px rgba(10, 20, 35, 0.05);
  --shadow-md: 0 6px 20px rgba(10, 20, 35, 0.12), 0 2px 6px rgba(10, 20, 35, 0.08);
  --gradient-navy: linear-gradient(180deg, var(--color-navy) 0%, var(--color-navy-dark) 40%, var(--color-royal) 100%);
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--color-navy);
}

p {
  margin: 0 0 1em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75em;
}

/* ===== Header / Nav ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: none;
  display: block;
}

.brand-mark .bar-1 { fill: var(--color-green); }
.brand-mark .bar-2 { fill: var(--color-accent); }
.brand-mark .bar-3 { fill: var(--color-navy); }
.brand-mark .peak-star { fill: var(--color-gold); }

.brand-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-navy);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-navy);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.nav-cta {
  display: inline-block;
  background: var(--color-navy);
  color: #fff !important;
  padding: 10px 18px !important;
  border-radius: 4px;
  border: 2px solid transparent;
  border-bottom: none !important;
  min-width: 112px;
  text-align: center;
}

.nav-cta:hover {
  background: var(--color-navy-dark);
  border-bottom-color: transparent !important;
  color: #fff !important;
}

.nav-secondary {
  display: inline-block;
  background: transparent;
  color: var(--color-navy) !important;
  padding: 10px 18px !important;
  border-radius: 4px;
  border: 2px solid var(--color-navy);
  border-bottom: 2px solid var(--color-navy) !important;
  min-width: 112px;
  text-align: center;
}

.nav-secondary:hover {
  background: var(--color-navy);
  color: #fff !important;
}

/* ===== Nav dropdowns ===== */

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  font-family: inherit;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-navy);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle[aria-current="page"] {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.nav-caret {
  font-size: 1.1em;
  transition: transform 0.15s ease;
}

.nav-dropdown-menu {
  list-style: none;
  margin: 8px 0 0;
  padding: 8px;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  border-bottom: none !important;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--color-navy);
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a[aria-current="page"] {
  background: var(--color-bg-alt);
  color: var(--color-accent);
}

.nav-dropdown-menu--grouped {
  display: flex;
  gap: 24px;
  min-width: 460px;
  padding: 16px 24px;
  left: 50%;
  transform: translate(-50%, -6px);
}

.nav-dropdown:hover .nav-dropdown-menu--grouped,
.nav-dropdown:focus-within .nav-dropdown-menu--grouped {
  transform: translate(-50%, 0);
}

.nav-dropdown-group {
  flex: 1;
  min-width: 0;
}

.nav-dropdown-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-dropdown-group-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  padding: 4px 12px 8px;
}

.nav-dropdown-divider {
  flex: none;
  width: 1px;
  background: var(--color-border);
  align-self: stretch;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  margin: 5px 0;
}

/* ===== Buttons ===== */

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-primary {
  background: var(--color-navy);
  color: var(--color-bg);
  border-color: var(--color-navy);
}

.btn-primary:hover {
  background: var(--color-navy-dark);
  border-color: var(--color-navy-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn-secondary:hover {
  background: var(--color-navy);
  color: var(--color-bg);
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-navy-dark);
  border-color: var(--color-gold);
}

.btn-gold:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
}

.btn-navy {
  background: var(--color-navy);
  color: #fff;
  border-color: var(--color-navy);
}

.btn-navy:hover {
  background: var(--color-navy-dark);
  border-color: var(--color-navy-dark);
}

.btn-teal {
  background: var(--color-green);
  color: #fff;
  border-color: var(--color-green);
}

.btn-teal:hover {
  background: var(--color-green-dark);
  border-color: var(--color-green-dark);
}

.btn-blue {
  background: var(--color-accent-light);
  color: var(--color-navy-dark);
  border-color: var(--color-accent-light);
}

.btn-blue:hover {
  background: #fff;
  border-color: #fff;
}

.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Hero ===== */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-navy);
  color: var(--color-bg);
  padding: 96px 0 120px;
}

.hero .container {
  max-width: 780px;
  text-align: center;
}

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

.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 0.4em;
}

.hero p.lead {
  font-size: 1.2rem;
  color: #dfe3ec;
  max-width: 620px;
  margin: 0 auto 2em;
}

.hero .btn-row {
  justify-content: center;
}

.hero .btn-secondary {
  color: var(--color-bg);
  border-color: rgba(250, 247, 240, 0.5);
}

.hero .btn-secondary:hover {
  background: rgba(250, 247, 240, 0.12);
  color: var(--color-bg);
}

/* ===== Sections ===== */

section {
  padding: 80px 0;
}

section.alt {
  background: var(--color-bg-alt);
}

/* Bold, full-bleed color sections */
.section-navy,
.section-teal,
.section-green {
  color: #fff;
}

.section-navy {
  background: var(--color-navy);
}

.section-teal {
  position: relative;
  overflow: hidden;
  background: var(--color-navy);
}

.section-green {
  background: linear-gradient(180deg, var(--color-green-light) 0%, var(--color-green) 42%, var(--color-navy) 100%);
}

.section-navy h2,
.section-teal h2,
.section-green h2 {
  color: #fff;
}

.section-navy .eyebrow,
.section-teal .eyebrow,
.section-green .eyebrow {
  color: var(--color-accent-light);
}

.section-teal .eyebrow {
  color: #fff;
}

.section-green .eyebrow {
  color: var(--color-navy-dark);
}

.section-navy .section-head p,
.section-teal .section-head p,
.section-green .section-head p {
  color: var(--color-on-dark-muted);
}

/* Light, tinted panels */
.tint-teal {
  background: var(--color-tint-blue);
}

.section-story {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-story::before,
.section-story::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.section-story::before {
  width: 420px;
  height: 420px;
  top: -160px;
  right: -120px;
  background: radial-gradient(circle at 32% 32%, var(--color-royal-light) 0%, transparent 72%);
  opacity: 0.3;
}

.section-story::after {
  width: 280px;
  height: 280px;
  bottom: -120px;
  left: -80px;
  background: radial-gradient(circle at 65% 65%, var(--color-steel-light) 0%, transparent 70%);
  opacity: 0.35;
}

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

/* ===== Story / Values split (Home) ===== */

.split-panel-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  background: var(--color-tint-blue);
  color: var(--color-royal);
}

.split-panel-icon svg {
  width: 28px;
  height: 28px;
}

.section-story .split-panel-icon {
  margin: 0 0 24px;
}

/* ===== Our Values (Home, spread-out statements) ===== */

.value-statements {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 620px;
  margin: 56px auto 0;
  text-align: center;
}

.value-statement {
  padding: 0 8px;
}

.value-statement .split-panel-icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-accent-light);
}

.value-statement h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.4;
}

.value-statement p {
  color: var(--color-on-dark-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 720px) {
  .value-statements {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
}

.section-head p {
  color: var(--color-muted);
  font-size: 1.08rem;
  margin-bottom: 0;
}

/* ===== Split content grid ===== */

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.problem-grid .copy p {
  color: var(--color-muted);
  font-size: 1.05rem;
}

.pull-quote {
  background: var(--color-navy);
  padding: 32px 36px;
  border-radius: 10px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.45;
  color: #fff;
  box-shadow: var(--shadow-md);
}

.pull-quote.navy {
  background: var(--color-navy);
}

.pull-quote.blue {
  background: linear-gradient(135deg, var(--color-steel) 0%, var(--color-navy) 100%);
}

/* ===== Cards / grids ===== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ===== How It Works (Home) ===== */

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.how-it-works-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: inherit;
  text-decoration: none;
  padding: 8px;
  border-radius: 10px;
  transition: transform 0.2s ease;
}

.how-it-works-item:hover {
  transform: translateY(-4px);
}

.how-it-works-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-royal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.how-it-works-item:nth-child(1) .how-it-works-icon {
  background: rgba(30, 77, 139, 0.08);
  border-color: rgba(30, 77, 139, 0.25);
  color: var(--color-royal);
}

.how-it-works-item:nth-child(2) .how-it-works-icon {
  background: rgba(200, 150, 63, 0.14);
  border-color: rgba(200, 150, 63, 0.3);
  color: var(--color-gold-dark);
}

.how-it-works-item:nth-child(3) .how-it-works-icon {
  background: rgba(61, 92, 122, 0.1);
  border-color: rgba(61, 92, 122, 0.28);
  color: var(--color-steel);
}

.how-it-works-item:nth-child(4) .how-it-works-icon {
  background: rgba(47, 111, 176, 0.1);
  border-color: rgba(47, 111, 176, 0.28);
  color: var(--color-accent);
}

.how-it-works-icon svg {
  width: 32px;
  height: 32px;
}

.how-it-works-item h3 {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 6px;
}

.how-it-works-item p {
  color: var(--color-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 720px) {
  .how-it-works-grid {
    grid-template-columns: 1fr;
  }
}

.card-image {
  margin: -32px -28px 20px;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  aspect-ratio: 2.4 / 1;
  display: block;
}

.card-image svg,
.card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.card {
  display: block;
  color: inherit;
  text-decoration: none;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  border-radius: 8px;
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-top-color 0.15s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card:nth-child(2) {
  border-top-color: var(--color-royal-light);
}

.card:nth-child(3) {
  border-top-color: var(--color-steel);
}

.card:nth-child(4) {
  border-top-color: var(--color-royal);
}

.card .num {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  display: block;
}

.card:nth-child(2) .num {
  color: var(--color-royal-light);
}

.card:nth-child(3) .num {
  color: var(--color-steel);
}

.card:nth-child(4) .num {
  color: var(--color-royal);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4em;
}

.card p {
  color: var(--color-muted);
  font-size: 0.98rem;
  margin-bottom: 0;
}

/* ===== Fellows gain (flowing) ===== */

.fellows-gain {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.fellows-gain p {
  margin: 0;
  padding-left: 24px;
  border-left: 3px solid var(--color-navy);
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--color-ink);
}

.fellows-gain p:nth-child(2) {
  border-left-color: var(--color-green);
}

.fellows-gain p:nth-child(3) {
  border-left-color: var(--color-gold);
}

.fellows-gain p:nth-child(4) {
  border-left-color: var(--color-accent);
}

/* ===== Eligibility criteria list ===== */

.criteria-list {
  max-width: 700px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.criteria-list li {
  position: relative;
  padding-left: 32px;
  color: var(--color-ink);
  font-size: 1.02rem;
  line-height: 1.6;
}

.criteria-list li a {
  color: var(--color-royal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.criteria-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-royal);
}

.criteria-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* ===== Goals list ===== */

.goals-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
}

.goals-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}

.goals-list .bullet {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.goals-list li:nth-child(4n+2) .bullet {
  background: var(--color-green);
}

.goals-list li:nth-child(4n+3) .bullet {
  background: var(--color-gold);
}

.goals-list li:nth-child(4n+4) .bullet {
  background: var(--color-accent);
}

.goals-list p {
  margin: 0;
  color: var(--color-ink);
  font-size: 0.98rem;
}

/* ===== Stats strip ===== */

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat {
  padding: 12px;
}

.stat .figure {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  display: block;
}

.stat .label {
  color: var(--color-on-dark-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-green .stat:nth-child(2) .figure {
  color: var(--color-gold-light);
}

.section-green .stat:nth-child(3) .figure {
  color: var(--color-accent-light);
}

.section-green .stat:nth-child(4) .figure {
  color: var(--color-green-light);
}

/* ===== Approach step nav (About page, scroll + click) ===== */

.approach-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 32px;
}

.approach-nav {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 2px solid var(--color-border);
}

.approach-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  margin: 0;
  padding: 10px 0 10px 18px;
  margin-left: -2px;
  border-left: 2px solid transparent;
  text-align: left;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.approach-nav-num {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-muted);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.approach-nav-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.approach-nav-item[aria-current="true"] {
  border-left-color: var(--color-royal);
}

.approach-nav-item[aria-current="true"] .approach-nav-num {
  background: var(--color-royal);
  color: #fff;
}

.approach-nav-item[aria-current="true"] .approach-nav-label {
  color: var(--color-navy);
}

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

  .approach-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    border-left: none;
    gap: 8px;
    margin-bottom: 8px;
  }

  .approach-nav-item {
    border-left: none;
    margin-left: 0;
    padding: 6px 12px 6px 6px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: var(--color-surface);
  }

  .approach-nav-item[aria-current="true"] {
    border-color: var(--color-royal);
  }

  .approach-nav-label {
    font-size: 0.85rem;
  }
}

/* ===== Program detail blocks (About page) ===== */

.detail-block {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
  scroll-margin-top: 96px;
}

.approach-details .detail-block[hidden] {
  display: none;
}

.detail-block:first-of-type {
  border-top: none;
  padding-top: 0;
}

.detail-block .label-col .eyebrow {
  margin-bottom: 6px;
}

.detail-block:nth-of-type(2) .label-col .eyebrow {
  color: var(--color-royal);
}

.detail-block:nth-of-type(3) .label-col .eyebrow {
  color: var(--color-steel);
}

.detail-block .label-col h3 {
  font-size: 1.35rem;
  margin-bottom: 0;
}

.detail-block .body-col p {
  color: var(--color-muted);
}

.detail-block .body-col ul {
  color: var(--color-muted);
  padding-left: 1.2em;
}

.detail-block .body-col li {
  margin-bottom: 0.5em;
}

/* ===== Appendix table ===== */

.appendix-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.appendix-table th,
.appendix-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.98rem;
}

.appendix-table th {
  width: 220px;
  color: var(--color-navy);
  font-family: var(--font-serif);
  font-weight: 700;
}

.appendix-table tr:last-child th,
.appendix-table tr:last-child td {
  border-bottom: none;
}

.appendix-table tr.highlight-row th,
.appendix-table tr.highlight-row td {
  background: var(--color-tint-blue);
}

/* ===== Theory of change ===== */

.toc-chart {
  max-width: 980px;
  margin: 0 auto;
}

.toc-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 4px;
}

.toc-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.toc-timing {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.toc-box {
  width: 100%;
  background: var(--color-tint-blue);
  border: 1.5px solid var(--color-accent);
  border-radius: 10px;
  padding: 18px 12px;
}

.toc-box h3 {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 4px;
}

.toc-box p {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  margin: 0;
}

.toc-arrow {
  width: 20px;
  height: 22px;
  margin-top: 10px;
  color: var(--color-steel);
}

.toc-goals {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.toc-goal {
  background: var(--color-navy);
  border-radius: 12px;
  padding: 26px 24px;
  text-align: left;
}

.toc-goals .toc-goal:nth-child(2) {
  background: var(--color-green-dark);
}

.toc-goals .toc-goal:nth-child(3) {
  background: var(--color-gold-dark);
}

.toc-goals .toc-goal:nth-child(4) {
  background: var(--color-royal);
}

.toc-goal h3 {
  font-family: var(--font-sans);
  color: var(--color-accent-light);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
}

.toc-goals .toc-goal:nth-child(2) h3 {
  color: var(--color-green-light);
}

.toc-goals .toc-goal:nth-child(3) h3 {
  color: var(--color-gold-light);
}

.toc-goals .toc-goal:nth-child(4) h3 {
  color: var(--color-royal-light);
}

.toc-goal p {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 720px) {
  .toc-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }

  .toc-goals {
    grid-template-columns: 1fr;
  }
}

/* ===== Team ===== */

.team-group-head {
  margin-bottom: 32px;
}

.team-group-head h2 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.team-group-head p {
  color: var(--color-muted);
  margin-bottom: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.person-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.person-avatar {
  width: 160px;
  height: 160px;
  border-radius: 14px;
  background: var(--color-bg-alt);
  border: 1px dashed var(--color-border);
  color: var(--color-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  overflow: hidden;
}

.person-avatar.photo {
  border-style: solid;
  border-width: 3px;
  box-shadow: var(--shadow-md);
}

.person-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Leadership section: larger feature treatment */
.team-group-head--feature .eyebrow {
  font-size: 0.95rem;
}

.team-group-head--feature h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
}

.team-grid-feature .person-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  text-align: left;
  overflow: hidden;
}

.team-grid-feature .person-avatar {
  float: left;
  width: 96px;
  height: 96px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  margin: 0 18px 12px 0;
}

.team-grid-feature .person-avatar.photo {
  border-width: 0;
  box-shadow: none;
}

.team-grid-feature .person-card h4 {
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}

.team-grid-feature .person-card .role {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 14px;
}

.team-grid-feature .person-card .bio {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--color-muted);
}

.team-grid-feature .person-card .bio + .bio {
  margin-top: 14px;
}

.tint-teal .person-avatar {
  color: var(--color-gold-dark);
  background: #fff;
}

.person-card h4 {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 2px;
}

.person-card .role {
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.person-card .bio {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.bio a {
  color: var(--color-royal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bio a:hover {
  opacity: 0.75;
}

.bio a.link-shade-2 {
  color: var(--color-accent);
}

.bio a.link-shade-3 {
  color: var(--color-steel);
}

.bio a.link-shade-4 {
  color: var(--color-navy);
}

/* ===== Team photo grid + bio modal ===== */

.team-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.team-photo-grid-compact .team-photo {
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.team-photo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: center;
  cursor: pointer;
}

.team-photo {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  margin-bottom: 18px;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-photo-card:hover .team-photo,
.team-photo-card:focus-visible .team-photo {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(10, 20, 35, 0.2);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-photo .placeholder-text {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--color-gold-dark);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
}

.team-photo::after {
  content: "View Bio";
  position: absolute;
  inset: 0;
  background: rgba(15, 40, 71, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.team-photo-card:hover .team-photo::after,
.team-photo-card:focus-visible .team-photo::after {
  opacity: 1;
}

.team-photo-card h4 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 2px;
}

.team-photo-card .role {
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.view-bio-hint {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-royal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.team-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 40, 71, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
}

.team-modal-overlay[hidden] {
  display: none;
}

.team-modal {
  position: relative;
  background: var(--color-surface);
  border-radius: 14px;
  width: 100%;
  max-width: 760px;
  max-height: 85vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 36px;
  box-shadow: 0 24px 64px rgba(10, 20, 35, 0.35);
}

.team-modal-photo {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--color-bg-alt);
  height: fit-content;
}

.team-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-modal-photo .placeholder-text {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  color: var(--color-gold-dark);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
}

.team-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--color-bg-alt);
  color: var(--color-navy);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-modal-close:hover {
  background: var(--color-border);
}

.team-modal-name {
  margin-bottom: 2px;
}

.team-modal-role {
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.team-modal-bio p {
  color: var(--color-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.team-modal-bio p:last-child {
  margin-bottom: 0;
}

/* ===== CTA band ===== */

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--gradient-navy);
  color: var(--color-bg);
  text-align: center;
  padding: 72px 0;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: #dfe3ec;
  max-width: 560px;
  margin: 0 auto 2em;
}

.cta-band .btn-row {
  justify-content: center;
}

.cta-band .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-band .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ===== Placeholder / stub pages ===== */

.stub-hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 100px;
  text-align: center;
  background: var(--gradient-navy);
  color: #fff;
}

.stub-hero.navy-only,
.hero.navy-only {
  background: linear-gradient(180deg, var(--color-navy) 0%, var(--color-navy-dark) 40%, var(--color-royal) 100%);
}

.stub-hero.navy-only::after,
.hero.navy-only::after {
  background: radial-gradient(circle at 65% 65%, var(--color-accent-light) 0%, transparent 70%);
}

.hero.navy-only::after {
  background: radial-gradient(circle at 65% 65%, var(--color-accent-light) 0%, transparent 70%);
}

/* ===== Full-screen scroll story (About page) ===== */

html.scroll-story-page {
  scroll-snap-type: y proximity;
  scroll-behavior: auto;
}

.stub-hero.fullscreen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  scroll-snap-align: start;
  scroll-margin-top: 67px;
}

.stub-hero.fullscreen .container {
  max-width: 780px;
}

.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-on-dark-muted);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  animation: scrollCueBounce 2s ease-in-out infinite;
}

.scroll-cue svg {
  width: 22px;
  height: 22px;
}

@keyframes scrollCueBounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue {
    animation: none;
  }
}

.story-panel {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding-top: 14vh;
  scroll-snap-align: start;
  scroll-margin-top: 67px;
}

.story-mission {
  background: var(--color-bg);
}

.story-mission .story-copy {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.story-mission h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 0.5em;
  background: linear-gradient(120deg, var(--color-navy) 0%, var(--color-green) 50%, var(--color-navy) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: missionGradient 6s ease-in-out infinite;
}

.story-mission .story-copy p {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--color-muted);
}

@keyframes missionGradient {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

@media (prefers-reduced-motion: reduce) {
  .story-mission h2 {
    animation: none;
  }
}

.story-vision {
  background: linear-gradient(180deg, var(--color-tint-blue) 0%, var(--color-tint-blue) 60%, var(--color-navy) 100%);
  color: var(--color-navy);
  text-align: center;
}

.story-vision .story-copy {
  max-width: 800px;
  margin: 0 auto;
}

.story-vision-text {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

.story-vision .story-copy .eyebrow {
  font-size: 0.95rem;
}

.story-vision .story-copy p:not(.story-vision-text) {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
}

/* ===== About hero + Mission, side by side ===== */

.about-mission-band {
  background: linear-gradient(180deg, var(--color-tint-blue) 0%, var(--color-tint-blue) 70%, var(--color-steel-light) 100%);
  color: var(--color-navy);
  padding: 96px 0;
}

.about-mission-band .story-vision-text {
  color: var(--color-navy);
  margin: 0;
}

.story-panel .reveal {
  transform: translateY(28px) scale(0.92);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.story-panel .reveal.is-visible {
  transform: translateY(0) scale(1);
}

@media (max-width: 720px) {
  .stub-hero.fullscreen,
  .story-panel {
    min-height: 100svh;
  }
}

.stub-hero::before,
.stub-hero::after,
.hero::before,
.hero::after,
.section-teal::before,
.section-teal::after,
.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.stub-hero::before,
.hero::before,
.section-teal::before,
.cta-band::before {
  width: 460px;
  height: 460px;
  top: -180px;
  right: -140px;
  background: radial-gradient(circle at 32% 32%, var(--color-royal) 0%, transparent 72%);
  opacity: 0.55;
  animation: driftA 22s ease-in-out infinite;
}

.stub-hero::after,
.hero::after,
.section-teal::after,
.cta-band::after {
  width: 300px;
  height: 300px;
  bottom: -140px;
  left: -90px;
  background: radial-gradient(circle at 65% 65%, var(--color-accent-light) 0%, transparent 70%);
  opacity: 0.5;
  animation: driftB 18s ease-in-out infinite;
}

@keyframes driftA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-24px, 26px) scale(1.06); }
}

@keyframes driftB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -18px) scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  .stub-hero::before,
  .stub-hero::after,
  .hero::before,
  .hero::after,
  .section-teal::before,
  .section-teal::after,
  .cta-band::before,
  .cta-band::after {
    animation: none;
  }
}

.stub-hero .container,
.hero .container,
.section-teal .container,
.cta-band .container {
  position: relative;
  z-index: 1;
}

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

.stub-hero .badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-accent-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 1.2em;
}

.stub-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 2.8rem);
}

.stub-hero p {
  max-width: 560px;
  margin: 0 auto 1.6em;
  color: var(--color-on-dark-muted);
  font-size: 1.08rem;
}

.stub-hero .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.stub-hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ===== FAQ ===== */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  background: none;
  border: none;
  margin: 0;
  padding: 22px 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
  text-align: left;
  cursor: pointer;
}

.faq-item:first-child .faq-question {
  padding-top: 0;
}

.faq-icon {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--color-green);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.faq-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.faq-icon::after {
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-item.open .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 600px;
}

.faq-answer p {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin: 0 0 22px;
}

/* ===== Value cards (expandable, on dark backgrounds) ===== */

.value-cards {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.value-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 26px 28px;
}

.value-card h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.4;
}

.value-card p {
  color: var(--color-on-dark-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0;
}

.value-card-toggle {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: none;
  border: none;
  margin: 0;
  padding: 0;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.value-card-toggle h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.35;
}

.value-card-icon {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.value-card-icon::before,
.value-card-icon::after {
  content: "";
  position: absolute;
  background: var(--color-accent-light);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.value-card-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.value-card-icon::after {
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.value-card.open .value-card-icon::after {
  transform: translateX(-50%) rotate(90deg);
}

.value-card-teaser {
  color: var(--color-on-dark-muted);
  font-size: 0.98rem;
  margin: 12px 0 0;
}

.value-card-more {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.value-card.open .value-card-more {
  max-height: 300px;
}

.value-card-more p {
  color: var(--color-on-dark-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 14px 0 0;
}

@media (max-width: 720px) {
  .value-cards {
    grid-template-columns: 1fr;
  }
}

/* ===== Forms ===== */

.form-note {
  background: var(--color-tint-blue);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 0.92rem;
  color: var(--color-ink);
  margin-bottom: 36px;
}

.form-note a {
  color: var(--color-accent);
  font-weight: 600;
}

.site-form {
  max-width: 640px;
  margin: 0 auto;
}

.luma-embed-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.luma-embed-wrap iframe {
  display: block;
}

.form-section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 36px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.site-form .form-section-label:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

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

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.form-field .req {
  color: var(--color-accent);
}

.form-field .hint {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 6px;
}

.hint-inline {
  font-weight: 400;
  color: var(--color-muted);
  font-size: 0.85em;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-ink);
  background: var(--color-surface);
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.5;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
  border-color: var(--color-accent);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-form .btn {
  width: 100%;
  border: none;
  cursor: pointer;
  margin-top: 8px;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .team-photo-grid {
    grid-template-columns: 1fr !important;
    max-width: 280px;
    margin: 0 auto;
  }
}

/* ===== Footer ===== */

.site-footer {
  background: var(--color-navy-dark);
  color: #b9c0d1;
  padding: 56px 0 32px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-name {
  color: #fff;
}

.footer-brand p {
  color: #99a1b5;
  max-width: 320px;
  font-size: 0.92rem;
  margin-top: 10px;
}

.footer-links {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-col h4 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  text-decoration: none;
  color: #b9c0d1;
  font-size: 0.94rem;
}

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

.footer-bottom {
  padding-top: 24px;
  font-size: 0.85rem;
  color: #7b8299;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== Section divider ===== */

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 6px 24px;
  background: var(--color-bg);
}

.section-divider .line {
  width: 64px;
  height: 1px;
  background: var(--color-border);
}

.section-divider .mark {
  flex: none;
  width: 9px;
  height: 9px;
  background: var(--color-accent);
  border-radius: 2px;
  transform: rotate(45deg);
}

/* ===== Scroll reveal ===== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.problem-grid .reveal {
  transform: translateY(28px) scale(0.92);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.problem-grid .reveal.is-visible {
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.card-grid .card:nth-child(1) { transition-delay: 0ms; }
.card-grid .card:nth-child(2) { transition-delay: 100ms; }
.card-grid .card:nth-child(3) { transition-delay: 200ms; }

.stats-strip .stat:nth-child(1) { transition-delay: 0ms; }
.stats-strip .stat:nth-child(2) { transition-delay: 100ms; }
.stats-strip .stat:nth-child(3) { transition-delay: 200ms; }
.stats-strip .stat:nth-child(4) { transition-delay: 300ms; }

.goals-list li:nth-child(1) { transition-delay: 0ms; }
.goals-list li:nth-child(2) { transition-delay: 80ms; }
.goals-list li:nth-child(3) { transition-delay: 160ms; }
.goals-list li:nth-child(4) { transition-delay: 240ms; }
.goals-list li:nth-child(5) { transition-delay: 320ms; }
.goals-list li:nth-child(6) { transition-delay: 400ms; }

.fellows-gain p:nth-child(1) { transition-delay: 0ms; }
.fellows-gain p:nth-child(2) { transition-delay: 120ms; }
.fellows-gain p:nth-child(3) { transition-delay: 240ms; }
.fellows-gain p:nth-child(4) { transition-delay: 360ms; }

.team-grid .person-card:nth-child(1) { transition-delay: 0ms; }
.team-grid .person-card:nth-child(2) { transition-delay: 100ms; }
.team-grid .person-card:nth-child(3) { transition-delay: 200ms; }

/* ===== Responsive ===== */

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

  .card-grid {
    grid-template-columns: 1fr !important;
  }

  .goals-list {
    grid-template-columns: 1fr;
  }

  .toc-goals {
    grid-template-columns: 1fr 1fr;
  }

  .team-photo-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .team-modal {
    grid-template-columns: 1fr;
  }

  .team-modal-photo {
    max-width: 200px;
    margin: 0 auto;
  }

  .stats-strip {
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }

  .detail-block {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .appendix-table th {
    width: 150px;
  }
}

@media (max-width: 940px) {
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.18s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    width: 100%;
  }

  .nav-cta {
    display: inline-block;
    margin-top: 8px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    min-width: 0;
  }

  .nav-links li {
    min-width: 0;
    max-width: 100%;
  }

  .nav-dropdown {
    width: 100%;
    min-width: 0;
  }

  .nav-dropdown-toggle {
    width: 100%;
    min-width: 0;
    justify-content: space-between;
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: none;
    min-width: 0;
    margin: 2px 0 6px;
    padding: 0 0 0 16px;
  }

  .nav-dropdown-menu a {
    padding: 6px 0;
    width: 100%;
    white-space: normal;
  }

  .nav-dropdown-menu--grouped {
    flex-direction: column;
    min-width: 0;
    gap: 4px;
    padding: 0;
  }

  .nav-dropdown-divider {
    width: 100%;
    height: 1px;
    margin: 4px 0;
  }

  .hero {
    padding: 64px 0 96px;
  }

  section {
    padding: 56px 0;
  }
}
