/* ==========================================================================
   DAAKHLA — Shared stylesheet
   Editorial / stark. Navy + cream + sand from the official logo.
   ========================================================================== */

/* Brand sans — Inter (uploaded variable fonts) */
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-VariableFont_opsz_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Italic-VariableFont_opsz_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* Lock every element to Inter — including buttons, eyebrows, inputs, anything with an inline font-family */
html, body, input, textarea, select, button, .btn, .eyebrow, .mono, .serif, .display-1, .display-2, .display-3, .h-sm, .lede, .body-l, [class*="display-"] {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}

:root {
  /* Palette — derived from the official Daakhla logo */
  --navy:        #1F3A5F;
  --navy-deep:   #14283F;
  --ink:         #0E1B2C;
  --ink-soft:    #2A3848;
  --cream:       #F5F1E8;
  --bone:        #FAF7F0;
  --paper:       #FFFFFF;
  --sand:        #E5D5B8;
  --sand-soft:   #EFE3CC;
  --stone:       #6B7280;
  --stone-soft:  #94A3B8;
  --line:        rgba(20, 40, 63, 0.12);
  --line-soft:   rgba(20, 40, 63, 0.06);
  --clay:        #B8543A;   /* terracotta accent — sparingly */
  --clay-deep:   #963F26;
  --moss:        #4A6B4F;

  /* Tweakable */
  --accent:      var(--clay);
  --bg:          var(--cream);

  /* Type — Inter is the brand sans, used universally (display, body, mono labels, all buttons) */
  --sans:  'Inter', system-ui, sans-serif;
  --mono:  'Inter', ui-monospace, monospace;
  --serif: 'Inter', system-ui, sans-serif;
  --display-font: 'Inter', system-ui, sans-serif;
  --urdu:  'Noto Nastaliq Urdu', serif;

  /* Layout */
  --gutter: clamp(20px, 4vw, 56px);
  --maxw:   1280px;
  --maxw-text: 720px;
}

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

html, body { background: var(--bg); color: var(--ink); }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}

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

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; }

::selection { background: var(--navy); color: var(--bone); }

/* ─── Typography utilities ─────────────────────────────────────────── */
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.mono  { font-family: var(--mono);  font-weight: 400; }
.urdu  { font-family: var(--urdu);  direction: rtl;   }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 500;
}
.eyebrow.on-dark { color: var(--sand); opacity: 0.85; }
.eyebrow .dot { color: var(--clay); margin: 0 4px; }

.display-1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 144px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  text-wrap: balance;
  padding-bottom: 0.14em;
}
.display-2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 96px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
  padding-bottom: 0.16em;
}
.display-3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.018em;
  text-wrap: balance;
  padding-bottom: 0.12em;
}

/* Display headings need breathing room — descenders on "y" / "g" extend below the line box */
.display-1 + *, .display-2 + *, .display-3 + * { margin-top: 0.3em; }
.display-1 + p.lede, .display-2 + p.lede, .display-3 + p.lede { margin-top: 28px; }
.h-sm {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.005em;
}
.lede {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 60ch;
  text-wrap: pretty;
}
.body-l { font-size: 17px; line-height: 1.65; color: var(--ink-soft); }

em { font-style: italic; }
.serif em { color: var(--navy); }

/* ─── Layout ───────────────────────────────────────────────────────── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 960px; margin: 0 auto; padding: 0 var(--gutter); }

section { padding: clamp(72px, 10vw, 140px) 0; }
section.tight { padding: clamp(48px, 7vw, 96px) 0; }

.row { display: flex; gap: 24px; }
.col { display: flex; flex-direction: column; }
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }

/* ─── NAV ──────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand-mark { height: 36px; width: auto; display: block; }
.nav-brand-name {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
}
.nav-links {
  display: flex; gap: 28px; list-style: none;
  font-size: 14px;
}
.nav-links a {
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--clay);
}
.nav-cta { display: flex; align-items: center; gap: 14px; }

/* ─── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 0;
  border: 1px solid transparent;
  transition: transform 0.15s, background 0.15s, color 0.15s;
  cursor: pointer;
}
.btn-primary { background: var(--navy); color: var(--bone); }
.btn-primary:hover { background: var(--ink); }
.btn-accent { background: var(--clay); color: #fff; }
.btn-accent:hover { background: var(--clay-deep); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bone); }
.btn-ghost-light { background: transparent; border-color: rgba(245,241,232,0.4); color: var(--bone); }
.btn-ghost-light:hover { background: var(--bone); color: var(--navy-deep); border-color: var(--bone); }
.btn-sm { padding: 10px 16px; font-size: 11px; }
.btn-lg { padding: 18px 28px; font-size: 14px; }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Link styles */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.link-arrow .arrow { transition: transform 0.2s; }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ─── Hero ─────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(64px, 8vw, 120px) 0 clamp(48px, 7vw, 96px);
}
.hero-eyebrow-row {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: clamp(40px, 6vw, 72px);
}
.hero-eyebrow-row .urdu {
  font-size: 18px; color: var(--navy); opacity: 0.7;
}

/* ─── Footer ───────────────────────────────────────────────────────── */
.foot {
  background: var(--navy-deep);
  color: var(--bone);
  padding: 80px var(--gutter) 32px;
  margin-top: 0;
}
.foot-inner { max-width: var(--maxw); margin: 0 auto; }
.foot-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(245,241,232,0.15);
}
.foot-brand .nav-brand-name { color: var(--bone); }
.foot-brand p {
  font-size: 14px; line-height: 1.6;
  color: rgba(245,241,232,0.6);
  margin-top: 16px;
  max-width: 32ch;
}
.foot-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 18px;
  font-weight: 500;
}
.foot-col ul { list-style: none; display: grid; gap: 10px; }
.foot-col a {
  font-size: 14px;
  color: rgba(245,241,232,0.75);
  transition: color 0.15s;
}
.foot-col a:hover { color: var(--bone); }
.foot-bottom {
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,241,232,0.4);
  gap: 24px;
  flex-wrap: wrap;
}
.foot-urdu {
  font-family: var(--urdu);
  font-size: 22px;
  color: var(--sand);
  opacity: 0.5;
  letter-spacing: normal;
  text-transform: none;
}

/* ─── Sections common ──────────────────────────────────────────────── */
.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(24px, 4vw, 80px);
  margin-bottom: clamp(40px, 6vw, 72px);
  align-items: end;
}
.section-head .left .eyebrow { margin-bottom: 16px; }
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; }
}

.rule {
  height: 1px; background: var(--ink);
  width: 100%;
}
.rule-soft { height: 1px; background: var(--line); width: 100%; }

/* ─── Image slot container styling ─────────────────────────────────── */
.img-block {
  background: var(--sand-soft);
  position: relative;
  overflow: hidden;
}
.img-block image-slot {
  width: 100%; height: 100%; display: block;
  --is-bg: var(--sand-soft);
  --is-fg: var(--navy);
}

/* ─── Cards ────────────────────────────────────────────────────────── */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -20px rgba(20,40,63,0.25);
}
.card .num {
  font-family: var(--serif);
  font-size: 48px;
  color: var(--clay);
  line-height: 1;
}

/* ─── Stat strip ───────────────────────────────────────────────────── */
.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.stat {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(48px, 5.5vw, 84px);
  line-height: 0.95;
  color: var(--navy);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.stat-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--stone);
  margin-top: 8px;
}
@media (max-width: 800px) {
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
}

/* ─── Pill / tag ───────────────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 6px 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--sand-soft);
  color: var(--navy-deep);
  border-radius: 999px;
}
.tag.dark { background: var(--navy-deep); color: var(--sand); }
.tag.clay { background: var(--clay); color: #fff; }

/* ─── Forms ────────────────────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 500;
}
.field label .req { color: var(--clay); }
.field input,
.field textarea,
.field select {
  font-family: var(--sans);
  font-size: 16px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-bottom-color: var(--navy);
}
.field input::placeholder, .field textarea::placeholder { color: var(--stone-soft); }
.field textarea { resize: vertical; min-height: 96px; }
.field-group {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
@media (max-width: 700px) { .field-group { grid-template-columns: 1fr; } }

/* ─── Decorative ───────────────────────────────────────────────────── */
.urdu-watermark {
  font-family: var(--urdu);
  color: var(--navy);
  opacity: 0.08;
  position: absolute;
  font-size: clamp(180px, 28vw, 420px);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  direction: rtl;
}

.marker-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--clay);
  border-radius: 50%;
  vertical-align: middle;
  margin: 0 6px;
}

/* dark section override */
.dark-section {
  background: var(--ink);
  color: var(--bone);
}
.dark-section .display-1,
.dark-section .display-2,
.dark-section .display-3 { color: var(--bone); }
.dark-section .lede { color: rgba(245,241,232,0.7); }
.dark-section .rule { background: rgba(245,241,232,0.4); }
.dark-section .eyebrow { color: var(--sand); }
.dark-section .hero-eyebrow-row { border-bottom-color: rgba(245,241,232,0.3); }
.dark-section .stat-num { color: var(--sand); }
.dark-section .stat-strip { border-color: rgba(245,241,232,0.3); }
.dark-section .stat { border-right-color: rgba(245,241,232,0.15); }
.dark-section .stat-label { color: rgba(245,241,232,0.5); }
.dark-section em.serif-em,
.dark-section .serif em { color: var(--clay); }

/* sand section */
.sand-section {
  background: var(--sand-soft);
}

/* small util */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }

.flex { display: flex; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }

/* ─── Mobile hamburger menu ────────────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  z-index: 200;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--cream);
  z-index: 100;
  flex-direction: column;
  padding: 100px var(--gutter) 60px;
  overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 40px;
}
.nav-mobile ul a {
  display: block;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.15s, padding-left 0.15s;
}
.nav-mobile ul a:hover { color: var(--navy); padding-left: 8px; }
.nav-mobile-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ─── Smooth section transitions ──────────────────────────────────── */
.card, article, .stat { transition: transform 0.2s ease, box-shadow 0.2s ease; }

/* ─── Hero responsive ──────────────────────────────────────────────── */
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr !important; }
  .hero-photo { display: none !important; }
}

/* ─── Footer responsive ────────────────────────────────────────────── */
@media (max-width: 800px) {
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .foot-top { grid-template-columns: 1fr; }
}

/* ─── Scroll-reveal ────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity  0.55s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left  { transform: translateX(-20px); }
.reveal-left.is-visible { transform: translateX(0); }

.stagger > .reveal:nth-child(1) { transition-delay: 0.00s; }
.stagger > .reveal:nth-child(2) { transition-delay: 0.07s; }
.stagger > .reveal:nth-child(3) { transition-delay: 0.14s; }
.stagger > .reveal:nth-child(4) { transition-delay: 0.21s; }
.stagger > .reveal:nth-child(5) { transition-delay: 0.28s; }
.stagger > .reveal:nth-child(6) { transition-delay: 0.35s; }

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

/* ─── Nav scroll shadow ────────────────────────────────────────────── */
.nav--scrolled {
  box-shadow: 0 1px 0 var(--line), 0 4px 16px rgba(14, 27, 44, 0.06);
}

/* ─── Timeline (about.html) ────────────────────────────────────────── */
.timeline {
  list-style: none;
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}
.timeline-item {
  position: relative;
  padding-bottom: 48px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--line);
  transition: border-color 0.2s, background 0.2s;
}
.timeline-item.is-current::before {
  background: var(--clay);
  border-color: var(--clay);
  animation: tl-pulse 2s ease-in-out infinite;
}
@keyframes tl-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184,84,58,0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(184,84,58,0); }
}
.timeline-date {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 6px;
}
.timeline-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.timeline-desc {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ─── Founder quote decoration ─────────────────────────────────────── */
.quote-block {
  position: relative;
}
.quote-mark {
  position: absolute;
  top: -20px;
  left: -8px;
  font-size: 96px;
  line-height: 1;
  color: var(--clay);
  opacity: 0.12;
  font-style: normal;
  pointer-events: none;
  user-select: none;
  font-weight: 700;
}

/* ─── Get-involved card hover (replaces inline JS) ─────────────────── */
.involve-card {
  background: transparent;
  border: 1px solid rgba(245,241,232,0.2);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.2s ease, border-color 0.2s ease;
  min-height: 280px;
  text-decoration: none;
  color: inherit;
}
.involve-card--student:hover  { background: rgba(184,84,58,0.12); border-color: var(--clay); }
.involve-card--mentor:hover   { background: rgba(74,107,79,0.18);  border-color: var(--moss); }
.involve-card--supporter      { background: var(--clay); border-color: var(--clay); color: #fff; }
.involve-card--supporter:hover { background: var(--clay-deep); }
.involve-card .link-arrow { margin-top: auto; }

/* ─── Focus-visible (global, was missing) ─────────────────────────── */
:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}
.btn:focus-visible { outline-offset: 2px; }

/* ─── Callout box (programs.html) ─────────────────────────────────── */
.callout-aid {
  background: var(--sand-soft);
  border-left: 3px solid var(--clay);
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ─── FAQ Accordion ────────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, border-left-color 0.15s;
  border-left: 3px solid transparent;
}
.faq-item.active {
  border-left-color: var(--navy);
  background: rgba(245, 241, 232, 0.55);
}
.faq-item.active .faq-question { color: var(--navy); }

.faq-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 20px 22px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}
.faq-toggle:focus-visible { outline: 2px solid var(--clay); outline-offset: -2px; }

.faq-question {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.4;
  transition: color 0.15s;
}
.faq-icon {
  font-size: 24px;
  font-weight: 300;
  color: var(--stone);
  flex-shrink: 0;
  transition: transform 0.25s ease;
  line-height: 1;
  width: 24px;
  text-align: center;
}
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--navy); }

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.active .faq-content { max-height: 400px; }

.faq-body {
  padding: 0 20px 24px 20px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 70ch;
}

@media (prefers-reduced-motion: reduce) {
  .faq-content, .faq-item, .faq-icon { transition: none; }
}

/* ─── Application process steps ───────────────────────────────────── */
.process-steps { display: grid; gap: 0; }

.process-step {
  position: relative;
  display: flex;
  gap: 32px;
  padding-bottom: 48px;
}
.process-step:last-child { padding-bottom: 0; }

.process-step::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 52px;
  bottom: 0;
  width: 1px;
  background: rgba(250, 247, 240, 0.12);
}
.process-step:last-child::before { display: none; }

.process-num {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 300;
  color: var(--clay);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
  background: var(--ink);
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}
.process-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--bone);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.process-desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(250, 247, 240, 0.65);
}

/* ─── Pricing comparison grid responsive ──────────────────────────── */
@media (max-width: 700px) {
  [data-screen-label="Home › Pricing"] .stagger {
    grid-template-columns: 1fr !important;
  }
  [data-screen-label="Home › Pricing"] .stagger > div {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

/* ─── Larger stat numbers on desktop (design-heavy update) ─────────── */
.stat-num {
  font-size: clamp(48px, 5.5vw, 96px);
}

/* ─── Image slot fills .img-block fully ────────────────────────────── */
.img-block {
  position: relative;
}
.img-block image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* ─── Program alternating rows — responsive ────────────────────────── */
@media (max-width: 800px) {
  .program-row {
    grid-template-columns: 1fr !important;
  }
  .program-row .img-block {
    min-height: 300px !important;
    aspect-ratio: 16/9 !important;
  }
  /* Image always renders first (top) on mobile */
  .program-row .img-block:last-child {
    order: -1;
  }
}

/* ─── Problem section image-text split — responsive ────────────────── */
@media (max-width: 800px) {
  .problem-split {
    grid-template-columns: 1fr !important;
  }
  .problem-split .img-block {
    aspect-ratio: 16/9 !important;
  }
}

/* ─── How it works — 4-step responsive ─────────────────────────────── */
@media (max-width: 800px) {
  [data-screen-label="Home › Process"] .stagger {
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (max-width: 500px) {
  [data-screen-label="Home › Process"] .stagger {
    grid-template-columns: 1fr !important;
  }
}

/* ─── Who we work with — 3-card responsive ──────────────────────────── */
@media (max-width: 800px) {
  [data-screen-label="Home › Community"] .stagger {
    grid-template-columns: 1fr !important;
  }
}

/* ─── Beliefs grid — responsive ────────────────────────────────────── */
@media (max-width: 800px) {
  [data-screen-label="Home › Beliefs"] .stagger {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
  }
}

/* ─── Stat strip — 5-col mobile fallback ───────────────────────────── */
@media (max-width: 800px) {
  .stat-strip {
    grid-template-columns: 1fr 1fr !important;
  }
  .stat:nth-child(2), .stat:nth-child(4) {
    border-right: none;
  }
  .stat:nth-child(5) {
    grid-column: span 2;
    border-right: none;
    text-align: center;
  }
}

/* ─── Reveal right ──────────────────────────────────────────────────── */
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.is-visible { opacity: 1; transform: none; }

/* ─── Full-bleed photo strip ────────────────────────────────────────── */
.photo-strip {
  width: 100%;
  height: clamp(280px, 45vw, 560px);
  overflow: hidden;
  position: relative;
  background: var(--sand-soft);
}
.photo-strip image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* ─── Image-text split rows ─────────────────────────────────────────── */
.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.split-row--reverse { direction: rtl; }
.split-row--reverse > * { direction: ltr; }
.split-media {
  overflow: hidden;
  position: relative;
  background: var(--sand-soft);
}
.split-media image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.split-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
  gap: 20px;
}
@media (max-width: 768px) {
  .split-row,
  .split-row--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .split-row--reverse > * { direction: ltr; }
  .split-media { height: 280px; }
}

/* ─── Massive stat callout ──────────────────────────────────────────── */
.stat-callout {
  background: var(--navy);
  color: var(--cream);
  padding: clamp(3rem, 7vw, 6rem) var(--gutter);
  text-align: center;
}
.stat-callout__number {
  font-size: clamp(4rem, 15vw, 10rem);
  font-weight: 700;
  line-height: 1;
  color: var(--clay);
  display: block;
  letter-spacing: -0.03em;
}
.stat-callout__label {
  font-family: var(--mono);
  font-size: clamp(0.75rem, 1.8vw, 1rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 1rem;
  display: block;
}
.stat-callout--row {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 8vw, 8rem);
  flex-wrap: wrap;
  align-items: flex-start;
}

/* ─── Involve grid ──────────────────────────────────────────────────── */
.involve-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* ─── About page: timeline 4-col + vision 2-col responsive ─────────── */
@media (max-width: 800px) {
  [data-screen-label="About › Timeline"] .stagger {
    grid-template-columns: 1fr 1fr !important;
  }
  [data-screen-label="About › Vision"] > .wrap > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 500px) {
  [data-screen-label="About › Timeline"] .stagger {
    grid-template-columns: 1fr !important;
  }
}

/* ─── Volunteer 3-step process responsive ───────────────────────────── */
@media (max-width: 700px) {
  [data-screen-label="Volunteer › Sign up"] div[style*="repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

/* ─── Contact offices 3-col responsive ─────────────────────────────── */
@media (max-width: 700px) {
  [data-screen-label="Contact › Offices"] div[style*="repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }
}
