@charset "UTF-8";
/* ============================================================
   The Adaptive Foundation - site styles
   Palette: navy #182241, slate #536c7c, cream #fff5d9, gold #c98a1e
   ============================================================ */

:root {
  --navy: #182241;
  --navy-2: #22305a;
  --slate: #536c7c;
  --slate-soft: #e6edf1;
  --cream: #fff5d9;
  --cream-soft: #fffaea;
  --paper: #fffdf7;
  --gold: #c98a1e;
  --gold-dark: #a8711a;
  --gold-soft: #fbf0d6;
  --white: #ffffff;
  --text: #1f2a44;
  --muted: #5b6577;
  --line: #e9e4d6;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(24, 34, 65, 0.10);
  --max: 1120px;
  --font-head: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-body: "Almarai", "Segoe UI", Arial, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.7; color: var(--text); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--slate); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; margin: 0 0 0.5em; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tight { padding: clamp(36px, 5vw, 56px) 0; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-navy { background: var(--navy); color: rgba(255,255,255,0.88); }
.section-navy h1, .section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.85); }
.section-navy a { color: var(--cream); }
.eyebrow { display: inline-block; font-family: var(--font-body); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.section-navy .eyebrow { color: #f0c96b; }
.lead { font-size: 1.15rem; color: var(--muted); }
.section-navy .lead { color: rgba(255,255,255,0.8); }
.center { text-align: center; }
.narrow { max-width: 760px; margin-inline: auto; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a, button { -webkit-tap-highlight-color: transparent; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; border: 2px solid transparent; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dark); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; transition: min-height 0.2s ease; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--cream); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--navy); white-space: nowrap; }
.brand-tag { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); font-weight: 700; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { color: var(--navy); font-weight: 700; font-size: 0.92rem; padding: 10px 13px; border-radius: 8px; white-space: nowrap; }
.nav a:hover { background: var(--cream); text-decoration: none; }
.nav a.active { color: var(--gold-dark); }
.nav-actions { display: flex; gap: 8px; margin-left: 10px; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); cursor: pointer; width: 44px; height: 44px; border-radius: 8px; }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-head, .nav-backdrop { display: none; }
.nav-backdrop[hidden] { display: none !important; }

/* ---------- Hero ---------- */
.hero { background: var(--cream); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(201,138,30,0.18), transparent 65%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: clamp(56px, 8vw, 104px) 0; }
.hero h1 { color: var(--navy); }
.hero h1 em { font-style: italic; color: var(--gold-dark); }
.hero p { font-size: 1.12rem; color: var(--text); max-width: 560px; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-media::before { content: ""; position: absolute; inset: 20px -20px -20px 20px; border: 3px solid var(--gold); border-radius: var(--radius); z-index: -1; opacity: 0.6; }

/* ---------- Stages strip ---------- */
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stage { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.stage strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1.05rem; margin-bottom: 4px; }
.stage span { color: var(--muted); font-size: 0.93rem; }

/* ---------- Section heads ---------- */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-head p { margin: 0; }

/* ---------- Program cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; border: 1px solid var(--line); min-width: 0; }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--slate-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.card-body ul { margin: 4px 0 0; padding-left: 18px; color: var(--text); font-size: 0.93rem; display: grid; gap: 4px; }
.card-actions { margin-top: auto; padding-top: 12px; }

/* ---------- Event rows ---------- */
.event { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line); }
.event:first-child { border-top: 0; }
.event:nth-child(even) > :first-child { order: 2; }
.event img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.event-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tag { display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-dark); }
.tag-navy { background: var(--navy); color: var(--white); }
.event p { color: var(--text); }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.value { background: var(--white); border-radius: var(--radius); padding: 28px; border-left: 5px solid var(--gold); box-shadow: var(--shadow); }
.value h3 { margin-bottom: 6px; }
.value p { margin: 0; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; position: relative; color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-body); font-weight: 700; }
.faq-item[open] summary::after { content: "–"; background: var(--navy); }
.faq-answer { padding: 0 22px 20px; color: var(--muted); }
.faq-answer p { margin: 0 0 10px; }
.faq-answer ul { margin: 0 0 10px; padding-left: 22px; }

/* ---------- Two-path (get involved) ---------- */
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.path { border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 10px; }
.path-support { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.path-give { background: var(--navy); color: rgba(255,255,255,0.88); }
.path-give h2, .path-give h3 { color: var(--white); }
.path ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.path .btn-group { margin-top: auto; padding-top: 12px; }
.ein-box { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--gold-soft); border-radius: 12px; color: var(--text); }
.ein-box svg { width: 24px; height: 24px; color: var(--gold-dark); flex: none; margin-top: 2px; }
.ein-box strong { color: var(--navy); }

/* ---------- Forms ---------- */
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-weight: 700; font-size: 0.85rem; color: var(--navy); }
.field .req { color: var(--gold-dark); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--text); padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; background: var(--white); width: 100%; min-height: 48px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,138,30,0.2); }
.field .hint { font-size: 0.82rem; color: var(--muted); }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.form-actions .btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.form-status { padding: 14px 16px; border-radius: 10px; font-weight: 700; margin-top: 16px; }
.form-status-success { background: #e8f5ec; color: #1f6b35; border: 1px solid #bfe3c9; }
.form-status-error { background: #fdecec; color: #a12525; border: 1px solid #f5c2c2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-top: 16px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--gold); color: var(--white); }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.94); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band .btn-navy { background: var(--navy); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--cream); padding: clamp(48px, 7vw, 84px) 0; }
.page-hero h1 { margin-bottom: 8px; }
.page-hero p { max-width: 700px; margin: 0; font-size: 1.1rem; color: var(--text); }

/* ---------- Prose ---------- */
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 22px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split.reverse > :first-child { order: 2; }

/* ---------- Contact ---------- */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list svg { width: 22px; height: 22px; color: var(--gold-dark); flex: none; margin-top: 3px; }
.info-list strong { display: block; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.social-row a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--white); }
.social-row a:hover { background: var(--gold); text-decoration: none; }
.social-row svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.8); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #f0c96b; font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: #f0c96b; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand .brand-mark { width: 52px; height: 52px; background: var(--cream); color: var(--navy); font-size: 1.2rem; margin-bottom: 14px; }
.footer-brand p { font-size: 0.95rem; }
.footer-ein { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 12px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.site-footer .social-row a { background: rgba(255,255,255,0.08); }
.empty-note { padding: 24px; background: var(--white); border-radius: var(--radius); color: var(--muted); text-align: center; }

/* ---------- Bottom bar (phones) ---------- */
.mobile-bar { display: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-header.compact .header-inner { min-height: 58px; }
  .nav-backdrop { display: block; position: fixed; inset: 0; background: rgba(24, 34, 65, 0.5); z-index: 60; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
  .nav-backdrop.show { opacity: 1; pointer-events: auto; }
  .nav { display: flex; position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(340px, 86vw); flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); padding: 0 18px calc(24px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; box-shadow: -20px 0 50px rgba(24,34,65,0.3); transform: translateX(105%); visibility: hidden; transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.3s; }
  .nav.open { transform: translateX(0); visibility: visible; transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s; }
  .nav-head { display: flex; align-items: center; gap: 10px; padding: 14px 0; margin-bottom: 6px; border-bottom: 1px solid var(--line); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.8rem; color: var(--slate); }
  .nav-close { margin-left: auto; background: var(--cream); border: 0; color: var(--navy); width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
  .nav-close svg { width: 22px; height: 22px; }
  .nav a { padding: 15px 4px; font-size: 1.02rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a.active { border-left: 3px solid var(--gold); padding-left: 12px; }
  .nav-actions { flex-direction: column; margin: 18px 0 0; gap: 10px; }
  .nav-actions .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .event, .paths { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse > :first-child, .event:nth-child(even) > :first-child { order: 0; }
}
@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  .section { padding: 44px 0; }
  .section-tight { padding: 32px 0; }
  h2 { font-size: 1.55rem; }
  .lead { font-size: 1rem; }
  .btn { min-height: 48px; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; }
  .header-inner { min-height: 64px; gap: 8px; }
  .site-header.compact .header-inner { min-height: 52px; }
  .brand { gap: 8px; }
  .brand-mark { width: 40px; height: 40px; font-size: 0.95rem; }
  .brand-name { font-size: 0.98rem; white-space: normal; line-height: 1.05; }
  .brand-tag { font-size: 0.58rem; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
  .brand-text { overflow: hidden; }
  .hero-inner { padding: 24px 0 36px; gap: 26px; }
  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 4 / 3; }
  .hero-media::before { display: none; }
  .hero h1 { font-size: 1.85rem; }
  .hero p { font-size: 1rem; }
  .stages { gap: 12px; }
  .stage { padding: 16px 14px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 20px; }
  .section-head .btn { width: 100%; }
  .grid-3, .grid-2, .values { grid-template-columns: 1fr; }
  .card-body { padding: 18px 18px 20px; }
  .event { padding: 24px 0; gap: 18px; }
  .event img { aspect-ratio: 4 / 3; max-height: 280px; }
  .split img { order: -1; max-height: 260px; }
  .page-hero { padding: 32px 0 34px; }
  .page-hero h1 { font-size: 1.8rem; }
  .page-hero p { font-size: 1rem; }
  .faq-item summary { padding: 15px 46px 15px 16px; font-size: 0.98rem; }
  .faq-answer { padding: 0 16px 16px; font-size: 0.95rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .cta-inner { flex-direction: column; align-items: stretch; text-align: center; gap: 18px; }
  .cta-band .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
  .site-footer { padding: 40px 0 24px; }
  .mobile-bar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(24, 34, 65, 0.97); backdrop-filter: blur(8px); border-top: 1px solid rgba(255,255,255,0.1); }
  .mobile-bar .btn { flex: 1; min-height: 46px; padding: 10px 12px; font-size: 0.9rem; }
  body.nav-open .mobile-bar { display: none; }
}
@media (max-width: 640px) { .brand-tag { display: none; } }
