/* ============================================================
   Touching Lives Welfare Trust — Site Stylesheet v2
   Refined, warm, professional
   ============================================================ */

:root {
  --amber: #F2A900;
  --amber-deep: #D99000;
  --amber-soft: #FFF4DC;
  --amber-100: #FBEECB;
  --ink: #191612;
  --ink-80: #33302A;
  --ink-60: #5C574D;
  --cream: #FBF8F2;
  --white: #FFFFFF;
  --terra: #C4502F;
  --forest: #2E5E4E;
  --line: rgba(25, 22, 18, 0.09);
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(25,22,18,0.05), 0 4px 12px rgba(25,22,18,0.05);
  --shadow-md: 0 2px 6px rgba(25,22,18,0.05), 0 16px 40px rgba(25,22,18,0.10);
  --shadow-lg: 0 8px 20px rgba(25,22,18,0.08), 0 32px 80px rgba(25,22,18,0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Aliases for legacy names used in inline styles */
  --yellow: var(--amber);
  --yellow-bright: var(--amber);
  --yellow-soft: var(--amber-soft);
  --ink-soft: var(--ink-60);
  --coral: var(--terra);
  --teal: var(--forest);
}

.tag { border: none !important; }

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', Georgia, serif;
  line-height: 1.12;
  font-weight: 560;
  letter-spacing: -0.015em;
}

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

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

section { padding: 96px 0; }

::selection { background: var(--amber-100); }

/* ---------- Eyebrow + headings ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin-bottom: 20px;
  background: none !important;
  padding: 0;
  border: 0;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
}

.section-title { font-size: clamp(30px, 4vw, 44px); margin-bottom: 20px; }
.section-lead { max-width: 680px; color: var(--ink-60); font-size: 18.5px; line-height: 1.75; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 242, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

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

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { flex-shrink: 0; border-radius: 12px; }
.brand-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: block;
  line-height: 1.2;
}
.brand-sub {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-60);
}

.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-80);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:not(.btn):hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ink); }

.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 13px 30px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  box-shadow: none;
}
.btn:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(242, 169, 0, 0.35);
}
.nav-links .btn { padding: 10px 24px; color: var(--white); }
.nav-links .btn:hover { color: var(--ink); }
.nav-links .btn::after { display: none; }

.btn.btn-dark { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn.btn-dark:hover { background: var(--white); border-color: var(--white); }
.btn.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(25,22,18,0.25);
}
.btn.btn-ghost:hover {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: none;
}
.btn.btn-coral { background: var(--terra); border-color: var(--terra); color: var(--white); }
.btn.btn-coral:hover { background: var(--ink); border-color: var(--ink); color: var(--white); box-shadow: 0 10px 24px rgba(25,22,18,0.25); }
.btn.btn-lg { padding: 16px 38px; font-size: 16px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 7px 12px;
  font-size: 19px;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- Hero ---------- */
.hero { padding: 88px 0 100px; overflow: hidden; position: relative; }
.hero::before {
  content: "";
  position: absolute;
  top: -220px; right: -180px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(242,169,0,0.14) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
  position: relative;
}
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); margin-bottom: 26px; font-weight: 520; }
.hero h1 em {
  font-style: italic;
  font-weight: 600;
  color: var(--amber-deep);
  background: none;
}
.hero p { font-size: 19px; color: var(--ink-60); max-width: 520px; margin-bottom: 36px; line-height: 1.75; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.hero-photo { position: relative; }
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 28px -28px -28px 28px;
  background: linear-gradient(135deg, var(--amber-100), rgba(242,169,0,0.25));
  border-radius: var(--radius-lg);
  z-index: 0;
}
.hero-photo img {
  position: relative;
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/4.3;
  object-fit: cover;
  width: 100%;
  z-index: 1;
}
.hero-badge {
  position: absolute;
  bottom: 26px;
  left: -30px;
  z-index: 2;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border: none;
  border-radius: 14px;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-md);
  transform: none;
}

/* ---------- Stat band ---------- */
.stat-band {
  background: linear-gradient(160deg, #1D1A14 0%, #26221A 100%);
  color: var(--white);
  padding: 72px 0;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: left;
}
.stat-grid > div { border-left: 1px solid rgba(255,255,255,0.14); padding-left: 28px; }
.stat-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(36px, 4.2vw, 52px);
  font-weight: 500;
  color: var(--amber);
  line-height: 1.1;
  margin-bottom: 6px;
}
.stat-label { font-size: 14.5px; opacity: 0.72; font-weight: 500; letter-spacing: 0.01em; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 56px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card img {
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
  border: none;
  transition: transform 0.6s var(--ease);
}
.card:hover img { transform: scale(1.03); }
.card > img { overflow: hidden; }
.card-body { padding: 30px; flex: 1; }
.card h3 { font-size: 22px; margin-bottom: 12px; }
.card p { color: var(--ink-60); font-size: 15.5px; }
.card .tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  border: none !important;
}
.tag.t-yellow { background: var(--amber-soft); color: var(--amber-deep); }
.tag.t-coral { background: #F9E5DE; color: var(--terra); }
.tag.t-teal { background: #E2EDE8; color: var(--forest); }

.card-link {
  font-weight: 700;
  text-decoration: none;
  color: var(--amber-deep);
  border-bottom: none;
  transition: gap 0.2s;
}
.card-link:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- Quote ---------- */
.quote-block {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.quote-block::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 220px;
  line-height: 1;
  color: var(--amber-100);
  pointer-events: none;
}
.quote-block blockquote {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(25px, 3.4vw, 38px);
  font-weight: 480;
  font-style: italic;
  max-width: 880px;
  margin: 0 auto 26px;
  line-height: 1.4;
  position: relative;
}
.quote-block cite {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-60);
}

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-photo { position: relative; }
.split-photo img {
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: var(--shadow-md);
  object-fit: cover;
  width: 100%;
  aspect-ratio: 4/3.4;
}
.split-photo::after {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border-radius: var(--radius-lg);
  z-index: -1;
  background: var(--amber-soft);
}
.split-photo.teal::after { background: #E2EDE8; }
.split-photo.yellow::after { background: var(--amber-100); }
.split h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 20px; }
.split p { color: var(--ink-60); margin-bottom: 16px; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; margin: 22px 0 32px; }
.checklist li {
  padding-left: 36px;
  position: relative;
  margin-bottom: 14px;
  font-weight: 500;
  color: var(--ink-80);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: var(--amber-soft);
  border: none;
}
.checklist li::after {
  content: "✓";
  position: absolute;
  left: 5px; top: 0px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--amber-deep);
}

/* ---------- Timeline ---------- */
.timeline { margin-top: 48px; position: relative; padding-left: 38px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 1.5px;
  background: linear-gradient(to bottom, var(--amber), var(--line));
  border-radius: 3px;
}
.tl-item { position: relative; padding-bottom: 38px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -36px; top: 7px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--amber);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 1.5px var(--amber);
}
.tl-year {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 4px;
}
.tl-item p { color: var(--ink-60); max-width: 620px; font-size: 15.5px; }

/* ---------- Program tracks ---------- */
.tracks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 48px; }
.track {
  background: var(--white);
  border: none;
  border-radius: 16px;
  padding: 28px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.track::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--amber);
  opacity: 0;
  transition: opacity 0.3s;
}
.track:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.track:hover::before { opacity: 1; }
.track .t-name { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 20px; }
.track .t-age {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-60);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
}
.track:nth-child(odd) { background: var(--white); }

/* ---------- Story cards ---------- */
.story {
  background: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 36px;
  margin-top: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.story:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.story h3 { font-size: 23px; margin-bottom: 6px; }
.story .story-tag {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--terra);
}
.story p { color: var(--ink-60); margin-top: 12px; font-size: 15.5px; }

/* ---------- Partner strip ---------- */
.partner-strip { text-align: center; }
.partner-strip .eyebrow { justify-content: center; }
.partner-strip .eyebrow::before { display: none; }
.partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}
.partners span {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 26px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-80);
  box-shadow: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.partners span:hover { border-color: var(--amber); box-shadow: var(--shadow-sm); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(150deg, #1D1A14 0%, #2B2519 90%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 72px 64px;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: -160px; right: -120px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(242,169,0,0.22) 0%, transparent 65%);
  pointer-events: none;
}
.cta-banner h2 { color: var(--white); font-size: clamp(27px, 3.4vw, 40px); margin-bottom: 16px; font-weight: 520; }
.cta-banner p { opacity: 0.78; font-size: 16.5px; }
.cta-banner .btn-area { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; position: relative; }
.cta-banner .stat-num { color: var(--amber); }
.cta-banner .btn-ghost { color: var(--white) !important; border-color: rgba(255,255,255,0.35) !important; }
.cta-banner .btn-ghost:hover { border-color: var(--white) !important; }
.cta-banner .btn:not(.btn-ghost):not(.btn-coral) { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.cta-banner .btn:not(.btn-ghost):not(.btn-coral):hover { background: var(--white); border-color: var(--white); }

/* ---------- Info boxes ---------- */
.info-box {
  background: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.info-box h3 { font-size: 23px; margin-bottom: 12px; }
.note {
  background: var(--amber-soft);
  border: none;
  border-left: 3px solid var(--amber);
  border-radius: 10px;
  padding: 18px 22px;
  font-size: 14.5px;
  font-weight: 500;
  margin-top: 20px;
  color: var(--ink-80);
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 40px; }
.contact-item { display: flex; gap: 18px; margin-bottom: 30px; align-items: flex-start; }
.contact-icon {
  width: 50px; height: 50px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--amber-soft);
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 21px;
}
.contact-item h4 { font-size: 16px; margin-bottom: 3px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; }
.contact-item p, .contact-item a { color: var(--ink-60); font-size: 15.5px; }

.map-embed {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 340px;
  box-shadow: var(--shadow-md);
}
.map-embed iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: #16130E;
  color: rgba(255,255,255,0.72);
  padding: 76px 0 36px;
  margin-top: 60px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.1fr 1fr; gap: 40px; }
.site-footer h4 {
  color: var(--amber);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 11px; font-size: 15px; }
.site-footer a { color: rgba(255,255,255,0.72); text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--amber); }
.footer-brand { font-family: 'Fraunces', Georgia, serif; font-size: 26px; color: var(--white); margin-bottom: 14px; }
.footer-tagline { font-size: 15px; max-width: 300px; font-style: italic; opacity: 0.85; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 52px;
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  opacity: 0.55;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(ellipse at 85% -20%, rgba(242,169,0,0.18) 0%, transparent 55%),
    var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 88px 0 76px;
}
.page-hero .eyebrow { color: var(--amber-deep); }
.page-hero h1 { font-size: clamp(34px, 4.8vw, 58px); margin-bottom: 20px; font-weight: 520; }
.page-hero p { max-width: 720px; font-size: 19px; font-weight: 400; color: var(--ink-60); line-height: 1.75; }

/* ---------- Values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 56px; }
.value-card {
  border: none;
  border-radius: var(--radius);
  padding: 38px 32px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card .v-icon {
  font-size: 26px;
  margin-bottom: 18px;
  width: 58px; height: 58px;
  background: var(--amber-soft);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-card h3 { font-size: 20px; margin-bottom: 10px; }
.value-card p { font-size: 15px; color: var(--ink-60); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.gallery img {
  border-radius: var(--radius);
  border: none;
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.gallery img:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

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

/* ---------- Dropdown navigation ---------- */
.nav-links > li { position: relative; }
.has-sub > a .caret {
  display: inline-block;
  font-size: 9px;
  margin-left: 5px;
  transform: translateY(-1px);
  opacity: 0.55;
}
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: -14px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  padding: 10px;
  min-width: 240px;
  list-style: none;
  z-index: 60;
}
.has-sub:hover .submenu,
.has-sub:focus-within .submenu { display: block; }
.submenu a {
  display: block;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-80);
}
.submenu a::after { display: none !important; }
.submenu a:hover { background: var(--amber-soft); color: var(--ink); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 52px; }
.member {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.member img, .member .avatar {
  width: 128px; height: 128px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px;
  box-shadow: 0 0 0 4px var(--amber-soft), 0 0 0 5px rgba(242,169,0,0.35);
}
.member .avatar {
  display: flex; align-items: center; justify-content: center;
  background: var(--amber-soft);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 40px;
  color: var(--amber-deep);
}
.member h3 { font-size: 21px; margin-bottom: 4px; }
.member .role {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber-deep);
  margin-bottom: 14px;
}
.member p { font-size: 14.5px; color: var(--ink-60); }
.member .quote {
  font-style: italic;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 15px;
  color: var(--ink-80);
  margin-bottom: 12px;
}

/* ---------- Program overview cards ---------- */
.program-hero-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 34px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.program-hero-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.program-hero-card img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.program-hero-card .phc-body { padding: 44px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.program-hero-card h3 { font-size: clamp(23px, 2.6vw, 30px); margin-bottom: 12px; }
.program-hero-card p { color: var(--ink-60); margin-bottom: 18px; }

@media (max-width: 960px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
  .program-hero-card { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .team-grid { grid-template-columns: 1fr; }
  .submenu {
    display: block;
    position: static;
    box-shadow: none;
    border: none;
    background: none;
    padding: 4px 0 4px 18px;
    min-width: 0;
  }
  .has-sub > a .caret { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  section { padding: 72px 0; }
  .hero { padding: 56px 0 80px; }
  .hero-grid, .split, .contact-grid, .cta-banner { grid-template-columns: 1fr; }
  .cta-banner { padding: 52px 36px; }
  .card-grid, .values-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .tracks { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split.reverse { direction: ltr; }
  .hero-photo::before, .split-photo::after { display: none; }
  .hero-badge { left: 16px; }
}

@media (max-width: 640px) {
  section { padding: 56px 0; }
  .card-grid, .card-grid.two, .values-grid, .gallery { grid-template-columns: 1fr; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    padding: 24px 28px;
    gap: 18px;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero-badge { position: static; margin-top: 18px; display: inline-block; }
  .quote-block { padding: 80px 0; }
  .stat-grid > div { border-left: none; padding-left: 0; text-align: center; }
}


/* ---------- Two-up team grid (e.g. Advisors) ---------- */
.team-grid.duo { grid-template-columns: repeat(2, 1fr); max-width: 680px; margin-left: auto; margin-right: auto; }
@media (max-width: 640px) { .team-grid.duo { grid-template-columns: 1fr; } }

/* brand-sub colour experiment (v16): black title + amber subline */
.brand-sub { color: var(--amber-deep); }

/* mobile menu scroll fix (v17; v37: use dynamic viewport height so the last item, Donate, is never hidden behind the phone browser toolbar) */
@media (max-width: 640px) {
  .nav-links.open {
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 72px;
  }
}

/* ---------- Mailchimp campaign archive list (v21) ---------- */
.display_archive { list-style:none; margin:0; padding:0; display:grid; gap:12px; }
.display_archive .campaign {
  margin:0; padding:16px 22px; background:var(--white);
  border:1px solid var(--line); border-left:3px solid var(--amber);
  border-radius:14px; box-shadow:var(--shadow-sm);
  transition:transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.display_archive .campaign:hover { transform:translateY(-2px); box-shadow:var(--shadow-md); }
.display_archive .campaign a {
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  color:var(--ink); font-weight:600; font-size:17px; text-decoration:none;
  font-family:'Fraunces', Georgia, serif; line-height:1.3;
}
.display_archive .campaign a::after {
  content:"Read →"; font-family:'Plus Jakarta Sans', sans-serif;
  font-weight:700; font-size:12px; letter-spacing:0.05em; text-transform:uppercase;
  color:var(--amber-deep); white-space:nowrap;
}
.display_archive .campaign a:hover { color:var(--amber-deep); }
@media (min-width:760px){ .mc-full .display_archive { grid-template-columns:1fr 1fr; } }

/* ---- Before / After story images (v27) ---- */
.before-after{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.before-after figure{margin:0;}
.before-after img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:var(--radius-lg);box-shadow:var(--shadow-md);display:block;}
.before-after figcaption{text-align:center;font-size:13px;color:var(--ink-60);margin-top:8px;font-weight:600;}
.before-after.stack{grid-template-columns:1fr;gap:16px;}
.before-after.stack img{aspect-ratio:auto;height:320px;object-fit:cover;object-position:center 28%;}

/* ---- Compact quote + FAQ lists (v28) ---- */
.quote-block.compact { padding: 72px 0; }
.quote-block.compact::before { font-size: 150px; top: 4px; }
.quote-block.compact blockquote { font-size: clamp(19px, 2vw, 25px); font-weight: 500; line-height: 1.55; max-width: 820px; }
.faq details ul.do-list, .faq details ul.dont-list { list-style: none; padding: 0; margin: 4px 0 20px; }
.faq details ul.do-list li, .faq details ul.dont-list li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--ink-80); }
.faq details ul.do-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--amber-deep); font-weight: 800; }
.faq details ul.dont-list li::before { content: "\00D7"; position: absolute; left: 0; color: var(--terra); font-weight: 800; font-size: 18px; line-height: 1; }
