:root {
  /* ANCHOR — the constant. Deep violet holds the whole site. */
  --plum-900: #2A1338;
  --plum-800: #3C1A52;
  --plum-700: #54246C;
  --plum-500: #7A4A96;
  --plum-100: #EFE7F2;

  /* RISING — action only. This warm gradient = "do something". */
  --flame-from: #E2541F;
  --flame-to: #E2367F;
  --gold: #E68A1E;
  --gold-light: #F4B860;

  /* CELEBRATION — jewel spectrum, reserved for the Four Pillars only. */
  --jewel-rose: #E2367F;
  --jewel-teal: #0A8282;
  --jewel-gold: #E68A1E;
  --jewel-blue: #3A52B4;

  /* NEUTRALS — one cream, one sand. No more. */
  --ink: #2D1F3D;
  --ink-soft: #5F5269;
  --cream: #FBF6F1;
  --sand: #F3EAE2;
  --white: #FFFFFF;
  --line: #EADDD3;

  /* SYSTEM */
  --container: 1160px;
  --space: clamp(64px, 9vw, 112px);
  --radius: 24px;
  --radius-sm: 16px;
  --card-shadow: 0 4px 24px rgba(42, 19, 56, 0.07);
  --card-shadow-lift: 0 18px 48px rgba(42, 19, 56, 0.14);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); }

/* ============ SHARED SECTION SYSTEM ============ */
.section { padding: var(--space) 0; }
.section.sand { background: var(--sand); }
.section.dark {
  background: linear-gradient(165deg, var(--plum-800) 0%, var(--plum-700) 55%, #6A3888 100%);
  color: white;
}

/* one section-header pattern everywhere */
.head { max-width: 640px; margin: 0 auto clamp(40px, 5vw, 56px); text-align: center; }
.head.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--flame-to); margin-bottom: 16px;
}
.dark .eyebrow { color: var(--gold-light); }
.eyebrow svg { width: 18px; height: 14px; }
.head h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  color: var(--plum-800);
}
.dark .head h2 { color: white; }
.head .lead {
  font-size: 1.08rem; color: var(--ink-soft); margin-top: 14px;
}
.dark .head .lead { color: rgba(255,255,255,0.82); }

/* ============ BUTTONS — one action language ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 0.95rem;
  padding: 14px 28px; border-radius: 100px; text-decoration: none;
  border: none; cursor: pointer; transition: all 0.25s var(--ease-spring);
}
.btn-primary {
  background: linear-gradient(135deg, var(--flame-from) 0%, var(--flame-to) 100%);
  color: white; box-shadow: 0 8px 24px rgba(226, 84, 31, 0.28);
}
.btn-primary:hover { transform: translateY(-2px) scale(1.015); box-shadow: 0 12px 32px rgba(226, 84, 31, 0.38); }
.btn-white { background: white; color: var(--plum-800); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.18); }
.btn-ghost { background: transparent; color: var(--plum-700); border: 2px solid var(--plum-100); }
.btn-ghost:hover { border-color: var(--plum-500); background: var(--white); transform: translateY(-2px); }
.dark .btn-ghost,
.hero-int .btn-ghost,
.cta-band .btn-ghost,
.hero .btn-ghost,
.section.dark .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.dark .btn-ghost:hover,
.hero-int .btn-ghost:hover,
.cta-band .btn-ghost:hover,
.hero .btn-ghost:hover,
.section.dark .btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}

/* link with arrow — same everywhere (also used as modal <button>) */
.arrow-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: 0.92rem; text-decoration: none;
  color: var(--flame-from); transition: gap 0.2s;
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: inherit; text-align: left; appearance: none;
}
.arrow-link:hover { gap: 11px; }

/* ============ reveal animation — progressive enhancement ============
   Content is visible by default. Only hidden once JS confirms it can
   animate it back in — so a no-JS render (e.g. import snapshot) shows all. */
.reveal { transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.js .reveal { opacity: 0; transform: translateY(28px); }
.reveal.in { opacity: 1; transform: translateY(0); }
.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; }
}

/* ============ unified card ============ */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-out);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-lift); }

/* ============ HEADER ============ */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line), 0 2px 16px rgba(42, 19, 56, 0.05);
}
nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px 0; }
.logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo img { height: 54px; width: auto; }
.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links li { list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; font-weight: 600; font-size: 0.92rem; color: var(--ink);
  position: relative; transition: color 0.2s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px;
  background: var(--flame-to); border-radius: 2px; transition: width 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--plum-700); }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  font-size: 0.82rem; font-weight: 700; color: var(--plum-700); text-decoration: none;
  padding: 6px 12px; border: 2px solid var(--line); border-radius: 100px; transition: all 0.2s;
  cursor: pointer; user-select: none;
}
a.lang-toggle:hover { border-color: var(--plum-500); color: var(--plum-900); background: var(--cream); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2.5px; background: var(--plum-800); border-radius: 3px; margin: 5px 0; }
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-right .btn { padding: 10px 18px; font-size: 0.85rem; }
  .menu-toggle { display: block; }
}

/* ============ HERO (preserved look) ============ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: 74px; overflow: hidden;
  background: linear-gradient(165deg, var(--plum-800) 0%, #4A2268 25%, #5A3078 50%, #6A3888 75%, var(--wine, #7A2057) 100%);
}
.hero-blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; animation: float 22s ease-in-out infinite; }
.hero-blob-1 { width: 60vw; height: 60vw; background: radial-gradient(circle, var(--jewel-teal) 0%, transparent 70%); top: -20%; right: -20%; }
.hero-blob-2 { width: 50vw; height: 50vw; background: radial-gradient(circle, var(--jewel-rose) 0%, transparent 70%); bottom: -10%; left: -15%; animation-delay: -7s; }
.hero-blob-3 { width: 40vw; height: 40vw; background: radial-gradient(circle, var(--gold) 0%, transparent 70%); top: 30%; left: 20%; animation-delay: -14s; }
@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-30px) scale(1.05); }
  66% { transform: translate(-20px,20px) scale(0.95); }
}
#butterfly-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-content { position: relative; z-index: 10; width: 100%; padding: 70px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .hero-text { order: 1; }
  .hero-photo-wrapper { order: 2; }
}
.hero-text { color: white; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 24px;
}
.hero-eyebrow::before { content: ''; width: 32px; height: 3px; background: var(--gold-light); border-radius: 3px; }
@media (max-width: 900px) { .hero-eyebrow { justify-content: center; } }
.hero-title {
  font-size: clamp(2.8rem, 6.5vw, 5rem); font-weight: 400; color: white; margin-bottom: 28px;
}
.hero-title em {
  font-style: italic; font-weight: 500;
  background: linear-gradient(135deg, var(--gold-light) 0%, #F4894A 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.32rem); color: rgba(255,255,255,0.85);
  max-width: 540px; margin-bottom: 40px; line-height: 1.7;
}
@media (max-width: 900px) { .hero-subtitle { margin-left: auto; margin-right: auto; } }
.hero-location {
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin: -24px 0 36px;
}
@media (max-width: 900px) { .hero-location { text-align: center; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
/* Entrance motion only when JS is available — content stays visible without JS / paused CSS. */
.js .hero-eyebrow { opacity: 0; animation: fadeUp 0.8s var(--ease-out) 0.2s forwards; }
.js .hero-title { opacity: 0; animation: fadeUp 0.8s var(--ease-out) 0.4s forwards; }
.js .hero-subtitle { opacity: 0; animation: fadeUp 0.8s var(--ease-out) 0.6s forwards; }
.js .hero-location { opacity: 0; animation: fadeUp 0.8s var(--ease-out) 0.7s forwards; }

.pathways { display: flex; flex-direction: column; gap: 14px; max-width: 480px; }
.js .pathways { opacity: 0; animation: fadeUp 0.8s var(--ease-out) 0.8s forwards; }
@media (max-width: 900px) { .pathways { max-width: 420px; margin: 0 auto; } }
.pathway {
  display: flex; align-items: center; gap: 18px; padding: 18px 22px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); border-radius: 18px;
  text-decoration: none; color: white; transition: all 0.3s var(--ease-out); backdrop-filter: blur(8px);
}
.pathway:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.35); transform: translateX(8px); }
@media (max-width: 900px) { .pathway:hover { transform: translateY(-4px); } }
.pathway-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pathway-icon svg { width: 24px; height: 24px; }
.pathway-icon.parent { background: linear-gradient(135deg, var(--jewel-rose) 0%, #7A2057 100%); }
.pathway-icon.donor { background: linear-gradient(135deg, var(--gold) 0%, var(--flame-from) 100%); }
.pathway-icon.school { background: linear-gradient(135deg, var(--jewel-teal) 0%, var(--jewel-blue) 100%); }
.pathway-text { flex: 1; }
.pathway-text b { display: block; font-family: 'Fraunces', serif; font-size: 1.15rem; font-weight: 500; margin-bottom: 3px; }
.pathway-text span { font-size: 0.88rem; color: rgba(255,255,255,0.7); }
.pathway-arrow { font-size: 1.3rem; color: var(--gold-light); transition: transform 0.3s var(--ease-spring); }
.pathway:hover .pathway-arrow { transform: translateX(6px); }
.hero-photo-wrapper { position: relative; }
.js .hero-photo-wrapper { opacity: 0; animation: fadeUp 1s var(--ease-out) 0.5s forwards; }
@media (prefers-reduced-motion: reduce) {
  .js .hero-eyebrow, .js .hero-title, .js .hero-subtitle, .js .hero-location, .js .pathways, .js .hero-photo-wrapper {
    opacity: 1; animation: none;
  }
}
.hero-photo { position: relative; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.1); }
.hero-photo img { width: 100%; height: auto; display: block; aspect-ratio: 4/5; object-fit: cover; }
.hero-photo::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 35%; background: linear-gradient(0deg, rgba(60,26,82,0.4) 0%, transparent 100%); pointer-events: none; }

/* ============ WHY WE EXIST — quiet, centered ============ */
.why { text-align: center; }
.why .quote {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 400;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.4; color: var(--plum-800);
  max-width: 880px; margin: 0 auto;
}
.why .quote mark {
  background: linear-gradient(135deg, var(--flame-from) 0%, var(--flame-to) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 500;
}
.why .butterfly-divider { margin: 0 auto 28px; width: 46px; height: 34px; color: var(--flame-to); }

/* ============ IMPACT — unified violet stat cards ============ */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .stat-grid { grid-template-columns: 1fr; } }
.stat {
  position: relative; overflow: hidden; text-align: center; color: white;
  padding: 36px 24px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--plum-700) 0%, var(--plum-800) 100%);
  box-shadow: var(--card-shadow); transition: transform 0.3s var(--ease-spring);
}
.stat:hover { transform: translateY(-6px); }
.stat .watermark { position: absolute; right: -14px; bottom: -14px; width: 96px; height: 96px; opacity: 0.12; }
.stat .num { font-family: 'Fraunces', serif; font-size: clamp(2.6rem, 4.6vw, 3.4rem); font-weight: 600; line-height: 1; color: var(--gold-light); }
.stat .lbl { font-size: 0.9rem; color: rgba(255,255,255,0.85); margin-top: 8px; line-height: 1.4; position: relative; }

/* ============ WHO WE ARE ============ */
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .who-grid { grid-template-columns: 1fr; gap: 44px; } }
.who-content h2 { font-size: clamp(1.9rem, 3.8vw, 2.5rem); color: var(--plum-800); margin-bottom: 20px; }
.who-content p { font-size: 1.05rem; color: var(--ink); margin-bottom: 16px; line-height: 1.7; }
.who-content p:last-of-type { margin-bottom: 28px; }
.naming-cards { display: flex; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.naming-card {
  flex: 1; min-width: 160px; display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--card-shadow);
  transition: transform 0.3s var(--ease-out);
}
.naming-card:hover { transform: translateY(-3px); }
.naming-card svg { width: 40px; height: 40px; flex-shrink: 0; }
.naming-card b { font-family: 'Fraunces', serif; font-size: 1.1rem; color: var(--plum-800); display: block; }
.naming-card span { font-size: 0.82rem; color: var(--ink-soft); }
.oath-card {
  position: relative; padding: 38px; border-radius: var(--radius); overflow: hidden; color: white;
  background: linear-gradient(155deg, var(--plum-700) 0%, var(--plum-800) 55%, var(--plum-900) 100%);
  box-shadow: var(--card-shadow-lift);
}
.oath-card::before { content: ''; position: absolute; top: -40%; right: -25%; width: 320px; height: 320px; background: radial-gradient(circle, var(--jewel-rose) 0%, transparent 70%); opacity: 0.22; }
.oath-card .eyebrow { color: var(--gold-light); position: relative; }
.oath-text { position: relative; font-family: 'Fraunces', serif; font-style: italic; font-size: 1.04rem; line-height: 1.7; color: rgba(255,255,255,0.92); margin-bottom: 20px; }
.oath-affirmation { position: relative; font-family: 'Fraunces', serif; font-size: 1.4rem; font-weight: 500; color: var(--gold-light); }

/* ============ PILLARS — the ONE place the jewel spectrum lives ============ */
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .pillars-grid { grid-template-columns: 1fr; } }
.pillar { position: relative; padding: 28px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--card-shadow); overflow: hidden; transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-out); }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-lift); }
.pillar::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; }
.pillar.p1::before { background: var(--jewel-rose); }
.pillar.p2::before { background: var(--jewel-teal); }
.pillar.p3::before { background: var(--jewel-gold); }
.pillar.p4::before { background: var(--jewel-blue); }
.pillar .pillar-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.pillar .pillar-icon svg { width: 24px; height: 24px; stroke-width: 2; }
.pillar.p1 .pillar-icon { background: rgba(226,54,127,0.12); color: var(--jewel-rose); }
.pillar.p2 .pillar-icon { background: rgba(10,130,130,0.12); color: var(--jewel-teal); }
.pillar.p3 .pillar-icon { background: rgba(230,138,30,0.12); color: var(--jewel-gold); }
.pillar.p4 .pillar-icon { background: rgba(58,82,180,0.12); color: var(--jewel-blue); }
.pillar h3 { font-size: 1.12rem; color: var(--plum-800); margin-bottom: 8px; }
.pillar p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.55; }

/* ============ PROGRAMS ============ */
.programs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .programs-grid { grid-template-columns: 1fr; } }
.program { overflow: hidden; display: flex; flex-direction: column; }
.program .visual { position: relative; height: 190px; overflow: hidden; background: var(--plum-100); }
.program .visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.program .visual .photo-slot {
  min-height: 0;
  height: 100%;
  border-radius: 0;
  border: 0;
  border-bottom: 2px dashed var(--plum-500);
}
.program .visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(42,19,56,0.25) 0%, transparent 60%); pointer-events: none; }
.program .body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.program h3 { font-size: 1.3rem; color: var(--plum-800); margin-bottom: 10px; }
.program p { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 18px; line-height: 1.6; flex: 1; }

/* ============ STORY — dark emotional peak ============ */
.story { position: relative; min-height: 520px; display: flex; align-items: flex-end; overflow: hidden; }
.story-bg { position: absolute; inset: 0; }
.story-bg img { width: 100%; height: 100%; object-fit: cover; }
.story-overlay { position: relative; width: 100%; background: linear-gradient(0deg, rgba(42,19,56,0.96) 0%, rgba(42,19,56,0.6) 65%, transparent 100%); padding: 140px 0 56px; color: white; }
.story-content { max-width: 660px; }
.story-quote { font-family: 'Fraunces', serif; font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.35; margin-bottom: 20px; }
.story-quote::before { content: '\201C'; font-size: 3.4rem; color: var(--gold-light); line-height: 0; display: block; margin-bottom: 14px; }
.story-attribution { font-size: 0.95rem; color: rgba(255,255,255,0.72); }

/* ============ TESTIMONIAL ============ */
.testimonial-card { max-width: 800px; margin: 0 auto; text-align: center; }
.testimonial-mark { font-family: 'Fraunces', serif; font-size: 4rem; color: var(--flame-to); line-height: 0.5; margin-bottom: 22px; }
.testimonial-quote { font-family: 'Fraunces', serif; font-style: italic; font-weight: 400; font-size: clamp(1.3rem, 2.6vw, 1.85rem); line-height: 1.45; color: var(--plum-800); margin-bottom: 26px; }
/* Callouts (no author) — drop the author-spacing margin so section padding isn't doubled */
.testimonial-card > .testimonial-quote:last-child { margin-bottom: 0; }
.testimonial-author { font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.testimonial-role { font-size: 0.9rem; color: var(--ink-soft); }

/* ============ CLOSING — "Find your place": closes the hero loop ============ */
.closing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 44px; }
@media (max-width: 900px) { .closing-cards { grid-template-columns: 1fr; } }
.closing-card {
  position: relative; padding: 32px 28px; border-radius: var(--radius);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(8px); transition: all 0.3s var(--ease-out); display: flex; flex-direction: column;
}
.closing-card:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.32); transform: translateY(-6px); }
.closing-card .cc-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.closing-card .cc-icon svg { width: 26px; height: 26px; }
.closing-card.parent .cc-icon { background: linear-gradient(135deg, var(--jewel-rose) 0%, #7A2057 100%); }
.closing-card.donor .cc-icon { background: linear-gradient(135deg, var(--gold) 0%, var(--flame-from) 100%); }
.closing-card.school .cc-icon { background: linear-gradient(135deg, var(--jewel-teal) 0%, var(--jewel-blue) 100%); }
.closing-card h3 { font-size: 1.3rem; color: white; margin-bottom: 8px; }
.closing-card p { font-size: 0.95rem; color: rgba(255,255,255,0.78); line-height: 1.55; margin-bottom: 20px; flex: 1; }
.closing-card .cc-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 0.92rem; color: var(--gold-light); text-decoration: none; transition: gap 0.2s; }
.closing-card .cc-link:hover { gap: 11px; }

/* easy-yes newsletter band — photo + overlay + balanced copy/form */
.easy-yes {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-top: clamp(36px, 5vw, 56px);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--plum-800);
  box-shadow: var(--card-shadow-lift);
}
.easy-yes__media,
.easy-yes__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.easy-yes__media { z-index: 0; }
.easy-yes__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.easy-yes__placeholder {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 28px;
  background:
    radial-gradient(circle at 18% 20%, rgba(226, 54, 127, 0.28), transparent 42%),
    radial-gradient(circle at 82% 70%, rgba(10, 130, 130, 0.22), transparent 46%),
    linear-gradient(145deg, var(--plum-700) 0%, var(--plum-900) 100%);
  border: 0;
}
.easy-yes__placeholder small {
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.easy-yes__placeholder span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 36ch;
  line-height: 1.5;
}
.easy-yes__overlay {
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(42, 19, 56, 0.94) 0%, rgba(42, 19, 56, 0.82) 42%, rgba(42, 19, 56, 0.58) 100%),
    linear-gradient(180deg, transparent 40%, rgba(42, 19, 56, 0.35) 100%);
}
.easy-yes.has-photo .easy-yes__overlay {
  background:
    linear-gradient(105deg, rgba(42, 19, 56, 0.92) 0%, rgba(42, 19, 56, 0.72) 48%, rgba(42, 19, 56, 0.5) 100%),
    linear-gradient(180deg, rgba(42, 19, 56, 0.15) 0%, rgba(42, 19, 56, 0.4) 100%);
}
.easy-yes__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  padding: clamp(32px, 5vw, 52px);
}
@media (max-width: 900px) {
  .easy-yes__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
.easy-yes__copy .eyebrow {
  color: var(--gold-light);
  margin-bottom: 12px;
}
.easy-yes__copy h3 {
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  line-height: 1.15;
  color: white;
  margin: 0 0 12px;
  max-width: 16ch;
}
.easy-yes__copy p {
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  max-width: 34ch;
}
.easy-yes__form.form-slot {
  padding: clamp(22px, 3vw, 28px);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(20, 8, 30, 0.28);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  white-space: normal;
  min-width: 0;
}
@media (max-width: 900px) {
  .easy-yes__copy {
    text-align: center;
  }
  .easy-yes__copy h3,
  .easy-yes__copy p {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============ FOOTER ============ */
footer { background: var(--plum-900); color: rgba(255,255,255,0.8); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 44px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .footer-wordmark { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.3rem; line-height: 1.15; color: white; display: block; margin-bottom: 14px; }
.footer-brand > p:not(.socials-label) { font-size: 0.9rem; margin-bottom: 18px; color: rgba(255,255,255,0.66); max-width: 30ch; }
.socials-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin: 0 0 10px; max-width: none; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a,
.socials span.social-link {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.socials a:hover,
.socials a:focus-visible,
.socials span.social-link:hover {
  background: var(--flame-from); border-color: var(--flame-from); color: #fff; transform: translateY(-2px);
}
.socials a:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.socials a.is-placeholder,
.socials span.social-link.is-placeholder { cursor: default; opacity: 0.55; }
.socials a.is-placeholder:hover,
.socials span.social-link.is-placeholder:hover { transform: none; background: transparent; }
.socials svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.footer-col h4 { font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: white; margin-bottom: 16px; }
.footer-col a, .footer-col p, .footer-col span.is-coming-soon { display: block; font-size: 0.9rem; color: rgba(255,255,255,0.7); text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.footer-col span.is-coming-soon { cursor: default; opacity: 0.55; }
.footer-col a:hover { color: white; }
.footer-bottom { padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.5); }


/* ================================================================
   INTERIOR-PAGE EXTENSIONS — written in the v4 idiom
   (everything above this line is the approved v4 CSS, verbatim)
   ================================================================ */

/* interior hero — same gradient family as the homepage hero, scaled down */
.hero-int {
  position: relative; overflow: hidden; padding: 74px 0 0;
  background: linear-gradient(165deg, var(--plum-800) 0%, #4A2268 30%, #5A3078 60%, #6A3888 100%);
  color: white;
}
.hero-int .hero-content { position: relative; z-index: 10; padding: clamp(56px, 8vw, 92px) 0 clamp(48px, 6vw, 76px); }
.hero-int .hero-eyebrow { animation: none; opacity: 1; }
.hero-int h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); font-weight: 400; color: white; max-width: 18ch; }
.hero-int h1 em { font-style: italic; font-weight: 500; background: linear-gradient(135deg, var(--gold-light) 0%, #F4894A 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-int .hero-subtitle { animation: none; opacity: 1; margin-bottom: 0; margin-top: 20px; }
.hero-int .hero-blob { opacity: 0.4; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

/* anchor chips inside interior hero */
.anchor-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.anchor-nav a {
  font-size: 0.85rem; font-weight: 700; text-decoration: none; color: white;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px; padding: 9px 18px; backdrop-filter: blur(8px); transition: all 0.25s var(--ease-out);
}
.anchor-nav a:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }

/* photo placeholder — dashed slot carrying its image brief */
.photo-slot {
  width: 100%; height: 100%; min-height: 260px; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 24px; border-radius: var(--radius);
  background: linear-gradient(150deg, var(--plum-100) 0%, var(--sand) 55%, #F8E9DC 100%);
  border: 2px dashed var(--plum-500);
  box-sizing: border-box;
}
.photo-slot small { font-weight: 700; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--plum-500); }
.photo-slot span { font-size: 0.9rem; color: var(--ink-soft); margin-top: 4px; line-height: 1.5; }
.dark .photo-slot, .section.dark .photo-slot { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.4); }
.dark .photo-slot small { color: var(--gold-light); }
.dark .photo-slot span { color: rgba(255,255,255,0.75); }

/* story beat — two-column, reuses .who-grid rhythm */
.who-grid.flip > *:first-child { order: 2; }
@media (max-width: 900px) { .who-grid.flip > *:first-child { order: 0; } }
/* Crop box for split / story photos — real images cover the same frame as placeholders */
.who-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow-lift);
  aspect-ratio: 4 / 5;
  width: 100%;
  background: var(--plum-100);
  align-self: start;
}
.who-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.who-media > .photo-slot {
  min-height: 0;
  aspect-ratio: auto;
}

/* generic content cards on the .card base */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
  align-items: stretch;
}
.card-grid > .card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.card .body { padding: 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; min-height: 0; }
.card .body .card-text { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.6; flex: 1 1 auto; }
.card .body .card-text p { margin: 0; color: inherit; }
.card .visual {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--plum-100);
}
.card .visual img,
.card .visual .photo-slot {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  display: block;
}
.card .visual .photo-slot {
  border-radius: 0;
  border-bottom: 2px dashed var(--plum-500);
}
.card .tag { align-self: flex-start; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: white; background: var(--plum-700); border-radius: 100px; padding: 5px 13px; }
.card .tag.t-rose { background: var(--jewel-rose); } .card .tag.t-teal { background: var(--jewel-teal); }
.card .tag.t-gold { background: var(--jewel-gold); } .card .tag.t-blue { background: var(--jewel-blue); }
.card h3 { font-size: 1.22rem; color: var(--plum-800); }
.card .body > p { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.6; flex: 1; }
/* Pin CTAs to the bottom so pills align across a stretched card row */
.card .body > .btn,
.card .body > .arrow-link,
.card .body > a.btn,
.card .body > button.btn {
  margin-top: auto;
  align-self: flex-start;
}

/* DRAGONFLY — scoped: appears ONLY on Dragonfly-specific content */
:root { --dragonfly-green: #008037; --dragonfly-sage: #88C3A1; }
.dragonfly-scope { border: 2px solid var(--dragonfly-sage) !important; }
.dragonfly-scope .tag, .dragonfly-scope summary::after { background: var(--dragonfly-green); }
.faq details.dragonfly-scope summary { color: var(--dragonfly-green); }

/* timeline */
.timeline { max-width: 820px; margin: 0 auto; }
.tl-item { display: grid; grid-template-columns: 22px 1fr; gap: 20px; padding-bottom: 30px; position: relative; }
.tl-item::before { content: ''; position: absolute; left: 10px; top: 26px; bottom: 0; width: 2px; background: var(--line); }
.tl-item:last-child::before { display: none; }
.tl-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 5px solid var(--flame-from); margin-top: 4px; z-index: 1; }
.tl-item h4 { font-size: 1.08rem; color: var(--plum-800); margin-bottom: 4px; }
.tl-item p { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.6; }

/* FAQ accordion (no-JS) */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--card-shadow); overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 1.02rem; color: var(--plum-800); padding: 20px 56px 20px 24px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 22px; top: 13px; font-family: 'Fraunces', serif; font-size: 1.6rem; color: var(--flame-from); transition: transform 0.25s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p,
.faq details > .faq-answer { padding: 0 24px 22px; color: var(--ink-soft); font-size: 0.96rem; line-height: 1.6; }

/* Shirt hierarchy (Earned Shirt / leadership pathway) */
.shirt-hierarchy { margin-top: 36px; }
.shirt-hierarchy__heading,
.shirt-roles__heading {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: #fff;
  margin: 0 0 16px;
}
.ladder--pathway {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 12px 10px;
}
.ladder-start {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex: 1 1 280px;
  max-width: 420px;
}
.ladder-arrow {
  align-self: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  background: no-repeat center / 18px 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.65)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}
.rung {
  border-radius: var(--radius-sm);
  padding: 16px 14px;
  text-align: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex: 1 1 150px;
  max-width: 200px;
  min-width: 140px;
}
.ladder-start .rung { max-width: none; min-width: 0; }
.rung-swatch {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.55);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
  background: rgba(255,255,255,0.25);
  flex: 0 0 auto;
}
.rung-color,
.shirt-role .rung-color {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.rung b,
.shirt-role b {
  display: block;
  font-family: 'Fraunces', serif;
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.25;
}
.rung-note,
.shirt-role .rung-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.35;
}
.shirt-roles { margin-top: 40px; }
.shirt-roles__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.shirt-role {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
}
.shirt-role__copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rung[data-color="navy-blue"] .rung-swatch,
.shirt-role[data-color="navy-blue"] .rung-swatch { background: #1b2a4a; }
.rung[data-color="purple"] .rung-swatch,
.shirt-role[data-color="purple"] .rung-swatch { background: #6b3fa0; }
.rung[data-color="yellow"] .rung-swatch,
.rung[data-color="gold-yellow"] .rung-swatch,
.shirt-role[data-color="gold-yellow"] .rung-swatch { background: #f0c43a; }
.rung[data-color="royal-blue"] .rung-swatch,
.shirt-role[data-color="royal-blue"] .rung-swatch { background: #2f5fbf; }
.rung[data-color="red"] .rung-swatch,
.shirt-role[data-color="red"] .rung-swatch { background: #c62828; }
.rung[data-color="pink"] .rung-swatch,
.shirt-role[data-color="pink"] .rung-swatch { background: #e85a8c; }
.rung[data-color="black"] .rung-swatch,
.shirt-role[data-color="black"] .rung-swatch { background: #1a1a1a; border-color: rgba(255,255,255,0.35); }
.shirt-role[data-color="burgundy"] .rung-swatch { background: #6e1f36; }
.shirt-role[data-color="dark-green"] .rung-swatch { background: #1f5c3a; }
.shirt-role[data-color="white"] .rung-swatch { background: #f4f0ea; border-color: rgba(255,255,255,0.75); }
@media (max-width: 760px) {
  .ladder--pathway { flex-direction: column; align-items: stretch; }
  .ladder-start { max-width: none; }
  .ladder-arrow {
    transform: rotate(90deg);
    align-self: center;
  }
  .rung { max-width: none; }
}

/* form embed placeholder */
.form-slot-block {
  max-width: 760px; margin: 0 auto; background: var(--white); border: 2px dashed var(--plum-500);
  border-radius: var(--radius); padding: clamp(30px, 5vw, 50px); text-align: center;
}
.form-slot-block .tag { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: white; background: var(--plum-700); border-radius: 100px; padding: 6px 14px; margin-bottom: 14px; }
.form-slot-block h3 { color: var(--plum-800); font-size: 1.4rem; margin-bottom: 8px; }
.form-slot-block p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; }
.form-slot-block a { color: var(--flame-from); font-weight: 700; }

/* values grid — text cards set row height; photo cards fill & crop to match */
.values-grid,
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .values-grid,
  .values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .values-grid,
  .values { grid-template-columns: 1fr; }
}
.value {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 26px;
  box-shadow: var(--card-shadow);
  height: auto;
  min-height: 0;
}
.value b { font-family: 'Fraunces', serif; font-size: 1.1rem; color: var(--plum-800); display: block; margin-bottom: 6px; }
.value p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.6; margin: 0; }
.stat-note { max-width: 820px; margin: 28px auto 0; text-align: center; font-size: 0.98rem; color: var(--ink-soft); line-height: 1.65; }
.section.dark .stat-note { color: rgba(255, 255, 255, 0.8); }

/* closing CTA band — same visual family as homepage closing */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius); color: white; text-align: center;
  background: linear-gradient(155deg, var(--plum-700) 0%, var(--plum-800) 55%, var(--plum-900) 100%);
  box-shadow: var(--card-shadow-lift); padding: clamp(44px, 7vw, 72px) clamp(24px, 5vw, 64px);
}
.cta-band::before { content: ''; position: absolute; top: -40%; right: -20%; width: 340px; height: 340px; background: radial-gradient(circle, var(--jewel-rose) 0%, transparent 70%); opacity: 0.22; }
.cta-band h2 { position: relative; font-size: clamp(1.7rem, 3.6vw, 2.5rem); max-width: 24ch; margin: 0 auto; }
.cta-band p { position: relative; color: rgba(255,255,255,0.85); margin-top: 12px; }
.cta-band .btn-row { position: relative; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
/* <button> CTAs must match <a class="btn"> — do not zero border (ghost needs it) or reset font weight */
.cta-band .btn-row button.btn {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  text-decoration: none;
  box-sizing: border-box;
}
.cta-band .btn-row .btn-ghost {
  border-width: 2px;
  border-style: solid;
}

/* Engagement modals — newsletter signup + Follow Along */
html.bep-modal-open { overflow: hidden; }
.bep-modal[hidden] { display: none !important; }
.bep-modal {
  position: fixed; inset: 0; z-index: 1200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.bep-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(42, 19, 56, 0.62);
  opacity: 0; transition: opacity 0.28s var(--ease-out, ease);
}
.bep-modal__dialog {
  position: relative; z-index: 1;
  width: min(100%, 440px);
  max-height: min(88vh, 640px); overflow: auto;
  background: var(--cream, #FBF6F1);
  color: var(--ink, #2D1F3D);
  border-radius: var(--radius, 18px);
  box-shadow: 0 28px 64px rgba(42, 19, 56, 0.28);
  padding: clamp(28px, 5vw, 40px) clamp(22px, 4vw, 36px) clamp(26px, 4vw, 34px);
  transform: translateY(14px) scale(0.98);
  opacity: 0;
  transition: transform 0.32s var(--ease-out, ease), opacity 0.28s var(--ease-out, ease);
}
.bep-modal__dialog--wide {
  width: min(100%, 560px);
  max-height: min(90vh, 760px);
}
.bep-modal__dialog--calendar {
  width: min(100%, 640px);
  max-height: min(92vh, 860px);
  padding-top: clamp(22px, 3vw, 28px);
  background:
    linear-gradient(180deg, rgba(243, 234, 226, 0.95) 0%, var(--cream, #FBF6F1) 120px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.bep-modal__cal-hero {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--flame-from, #E2541F) 0%, var(--jewel-rose, #C45B8A) 45%, var(--plum-700, #5A2A72) 100%);
  border-radius: var(--radius, 18px) var(--radius, 18px) 0 0;
}
.bep-modal__dialog--calendar .bep-modal__lead {
  margin-bottom: 16px;
}
.bep-modal__dialog--calendar .bep-modal__embed--calendar {
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(60, 26, 82, 0.12);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 14px 36px rgba(42, 19, 56, 0.08);
  background: var(--sand, #F3EAE2);
}
.bep-modal__embed--calendar iframe {
  min-height: min(52vh, 520px);
  height: min(52vh, 520px);
  border-radius: 0;
  background: var(--sand, #F3EAE2);
}
.bep-modal__cal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 18px;
  padding-top: 4px;
}
.bep-modal__cal-actions .btn-ghost {
  border-color: rgba(60, 26, 82, 0.18);
}
@media (max-width: 640px) {
  .bep-modal__dialog--calendar {
    width: 100%;
    max-height: 92vh;
    padding-left: 18px;
    padding-right: 18px;
  }
  .bep-modal__embed--calendar iframe {
    min-height: 46vh;
    height: 46vh;
  }
}
.bep-howto-steps {
  list-style: none; margin: 0 0 22px; padding: 0;
  display: grid; gap: 14px; counter-reset: bep-step;
}
.bep-howto-steps li {
  position: relative;
  padding: 14px 16px 14px 54px;
  background: var(--white, #fff);
  border: 1px solid var(--line, #EADDD3);
  border-radius: 14px;
  counter-increment: bep-step;
}
.bep-howto-steps li::before {
  content: counter(bep-step);
  position: absolute; left: 14px; top: 14px;
  width: 28px; height: 28px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--flame-from) 0%, var(--flame-to) 100%);
  color: #fff; font-size: 0.85rem; font-weight: 700;
}
.bep-howto-steps strong {
  display: block; color: var(--plum-800, #3C1A52);
  font-size: 0.98rem; margin-bottom: 4px;
}
.bep-howto-steps span {
  display: block; color: var(--ink-soft, #5F5269);
  font-size: 0.92rem; line-height: 1.55;
}
.bep-howto-tips {
  background: rgba(60, 26, 82, 0.04);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 22px;
}
.bep-howto-tips__title {
  margin: 0 0 8px; font-weight: 700; color: var(--plum-800, #3C1A52); font-size: 0.92rem;
}
.bep-howto-tips ul {
  margin: 0; padding-left: 1.1em; color: var(--ink-soft, #5F5269);
  font-size: 0.9rem; line-height: 1.55;
}
.bep-howto-tips li + li { margin-top: 6px; }
.bep-howto-actions {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
.bep-howto-actions .btn { width: 100%; justify-content: center; text-align: center; }
.bep-modal.is-open .bep-modal__backdrop { opacity: 1; }
.bep-modal.is-open .bep-modal__dialog { transform: none; opacity: 1; }
.bep-modal__close {
  position: absolute; top: 12px; right: 14px;
  width: 40px; height: 40px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink-soft, #5F5269);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.bep-modal__close:hover { color: var(--plum-800, #3C1A52); background: rgba(60, 26, 82, 0.06); }
.bep-modal .eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--flame-from, #E2541F); margin: 0 0 8px;
}
.bep-modal__dialog h2 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 500;
  font-size: clamp(1.55rem, 3.2vw, 1.9rem); color: var(--plum-800, #3C1A52);
  margin: 0 0 10px; line-height: 1.2;
}
.bep-modal__lead {
  margin: 0 0 22px; color: var(--ink-soft, #5F5269); line-height: 1.6; font-size: 0.98rem;
}
.bep-modal__form { margin-top: 4px; }
.bep-modal__embed {
  margin-top: 8px;
  min-height: 120px;
}
.bep-modal__embed iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 8px;
  background: #fff;
}
.bep-modal__content {
  margin-top: 8px;
}
.bep-modal__content > *:first-child { margin-top: 0; }
.bep-social-modal-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 10px;
}
.bep-social-modal-link {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 14px;
  background: var(--white, #fff); border: 1px solid var(--line, #EADDD3);
  color: var(--plum-800, #3C1A52); text-decoration: none; font-weight: 600;
  transition: transform 0.2s var(--ease-out, ease), border-color 0.2s ease, box-shadow 0.2s ease;
}
.bep-social-modal-link:hover {
  transform: translateY(-2px);
  border-color: rgba(60, 26, 82, 0.22);
  box-shadow: 0 10px 22px rgba(42, 19, 56, 0.08);
}
.bep-social-modal-link.is-placeholder { opacity: 0.55; pointer-events: none; }
.bep-social-modal-icon {
  width: 42px; height: 42px; border-radius: 999px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: var(--sand, #F3EAE2); color: var(--plum-800, #3C1A52);
}
.bep-social-modal-icon svg { width: 20px; height: 20px; fill: currentColor; }
.bep-social-modal-label { font-size: 1rem; }

/* campaign feature (rotating template) */
.campaign { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 0; align-items: stretch; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--card-shadow-lift); overflow: hidden; }
@media (max-width: 760px) { .campaign { grid-template-columns: 1fr; } }
.campaign .c-body { padding: clamp(28px, 4vw, 48px); }
.campaign .c-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--flame-to); }
.campaign h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--plum-800); margin: 8px 0 10px; }
.campaign p { color: var(--ink-soft); line-height: 1.6; }
.campaign .c-art {
  position: relative;
  min-height: 200px;
  align-self: stretch;
  background: linear-gradient(150deg, var(--flame-from), var(--flame-to));
  overflow: hidden;
}
.campaign .c-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.campaign .c-art--placeholder {
  display: grid;
  place-items: center;
  padding: 24px;
}
.campaign .c-art__brief {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.85rem;
  line-height: 1.45;
  text-align: center;
  max-width: 16em;
  text-shadow: 0 1px 2px rgba(42, 19, 56, 0.25);
}
@media (max-width: 760px) {
  .campaign .c-art { min-height: 220px; }
}

/* mobile menu open state */
@media (max-width: 960px) {
  .nav-links.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 4px; background: var(--white); padding: 16px clamp(20px, 5vw, 40px) 20px; box-shadow: 0 16px 32px rgba(42,19,56,0.12); border-top: 1px solid var(--line); }
  .nav-links.open a { padding: 10px 0; width: 100%; border-bottom: 1px solid var(--line); }
}

/* ================================================================
   FIX ROUND 1 (Andrew review, staging v1)
   ================================================================ */
/* 1a. dark-section readability — story blocks inherit light-page colors */
.section.dark .who-content h2 { color: #fff; }
.section.dark .who-content p { color: rgba(255,255,255,0.86); }
.section.dark .who-content strong { color: #fff; }
.section.dark .who-content .arrow-link { color: var(--gold-light); }
/* 1b. ghost buttons on the CTA band (dark gradient but not .dark) */
/* 2. balanced four-card rows: 4-across desktop, 2x2 tablet, stacked mobile */
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .card-grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px)  { .card-grid.four { grid-template-columns: 1fr; } }

/* footer callout — Impact & Accountability pill, centered below the link columns */
.footer-callout {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 12px; margin: 8px 0 36px; text-align: center;
}
.footer-callout__pill,
.footer-callout a {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-weight: 700; font-size: 0.9rem; line-height: 1.2;
  color: var(--gold-light); text-decoration: none; text-align: center;
  padding: 12px 26px; border: 1.5px solid rgba(244,184,96,0.45); border-radius: 100px;
  background: transparent; cursor: pointer;
  transition: all 0.25s var(--ease-out);
}
.footer-callout__pill:hover,
.footer-callout a:hover {
  background: rgba(244,184,96,0.12); border-color: var(--gold-light); transform: translateY(-2px);
}
@media (max-width: 720px) {
  .footer-callout { flex-direction: column; }
}

/* ================================================================
   FIX ROUND 2 (Andrew review, staging v1.2)
   ================================================================ */
/* 1. closing CTA sections: balanced breathing room above and below the band */
.cta-section { padding: clamp(40px, 6vw, 76px) 0 var(--space); }
/* 2. money-figure cards: the number IS the callout — big Fraunces figure, not a pill */
.card .figure {
  font-family: 'Fraunces', Georgia, serif; font-weight: 600; line-height: 1;
  font-size: clamp(2rem, 3.4vw, 2.7rem); color: var(--flame-from); letter-spacing: -0.02em;
}
.card .figure.figure-compact { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.card .figure small { display: block; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin-top: 6px; }
.stat-grid--follow { margin-top: 20px; }

/* ================================================================
   FIX ROUND 3 (Andrew review, staging v1.3)
   ================================================================ */
/* 1. brand prominence: larger header logo */
.logo img { height: 68px; }
@media (max-width: 640px) { .logo img { height: 54px; } }
/* 2. FAQ dragonfly plus-sign: color the glyph, never box it */
.faq details.dragonfly-scope summary::after { background: transparent !important; color: var(--dragonfly-green); }
/* 3. centering safety: feature boxes always centered in their block */
.testimonial-card, .form-slot-block, .campaign, .oath-card { margin-left: auto; margin-right: auto; }
/* 4. brand placements */
.brand-moment { text-align: center; margin-bottom: clamp(32px, 5vw, 48px); }
.brand-moment img { width: min(240px, 55vw); height: auto; margin: 0 auto; }
.brand-chip { display: flex; align-items: center; gap: 16px; margin-top: 22px; padding: 14px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--card-shadow); max-width: 420px; }
.brand-chip img { width: 84px; height: auto; flex: none; }
.brand-chip span { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.45; }
.brand-chip b { color: var(--plum-800); }
.faq .df-logo { float: right; width: 110px; height: auto; margin: 0 0 10px 16px; }
.seal-inline { width: 74px; height: auto; vertical-align: middle; margin-left: 12px; }
.value .seal-img { float: right; width: 88px; height: auto; margin: 0 0 8px 12px; }

/* ================================================================
   FIX ROUND 4 (Andrew review, staging v1.4) — photo journey + footer trust
   ================================================================ */
/* wide photo band — placeholder and real image share the same crop frame */
.photo-band {
	margin-top: clamp(28px, 5vw, 48px);
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 21 / 7;
	background: var(--plum-100);
	box-shadow: var(--card-shadow);
}
.photo-band--flush { margin-top: 0; }
.photo-band > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}
.photo-band .photo-slot {
	min-height: 0;
	height: 100%;
	aspect-ratio: auto;
	justify-content: flex-end;
	padding: 20px 24px;
	border-radius: 0;
}
.photo-band .photo-slot span { display: block; }
@media (max-width: 640px) { .photo-band { aspect-ratio: 16 / 9; } }
/* Standalone photo-band blocks without a section header — avoid double section padding */
.section.photo-only {
	padding-block: clamp(20px, 3vw, 36px);
}
/* Adjacent sand bands (e.g. ways-to-serve + volunteer form) read as one section */
.section.sand + .section.sand {
	padding-top: 0;
}
/* photo-only cards — image is abspos so it never dictates card/row height */
.card.photo-card {
	padding: 0;
	border: none;
	box-shadow: none;
	background: var(--plum-100);
	overflow: hidden;
	position: relative;
	width: 100%;
	min-height: 0;
}
.card.photo-card > img,
.card.photo-card > .photo-slot {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	max-width: none;
	min-height: 0;
	object-fit: cover;
	object-position: center;
	border-radius: var(--radius);
	display: block;
}
.card.photo-card > .photo-slot {
	border-radius: var(--radius);
}
/* In standard card grids, stretch photo cards to the row height set by content cards */
.card-grid .card.photo-card {
	aspect-ratio: auto;
	align-self: stretch;
	height: 100%;
	min-height: 260px;
}
/*
 * Values grids: photo cards must NOT set row height (abspos image = no intrinsic size).
 * They stretch to the text-card row height and cover-crop inside it.
 */
.values-grid .card.photo-card,
.values .card.photo-card {
	aspect-ratio: auto;
	align-self: stretch;
	height: auto;
	min-height: 0;
	/* allow shrinking below image intrinsic size in grid sizing */
	overflow: hidden;
	border-radius: var(--radius-sm);
}
.values-grid .card.photo-card > img,
.values-grid .card.photo-card > .photo-slot,
.values .card.photo-card > img,
.values .card.photo-card > .photo-slot {
	border-radius: var(--radius-sm);
}
.faq .faq-answer p { margin: 0; }
/* footer trust line + linked seal */
.footer-trust { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.footer-trust a.candid-link { color: var(--gold-light); font-weight: 700; text-decoration: none; }
.footer-trust a.candid-link:hover { text-decoration: underline; }
.footer-trust .seal a { display: inline-block; background: #fff; border-radius: 8px; padding: 4px; line-height: 0; }
.footer-trust .seal img { width: 72px; height: auto; }


/* Prose section body (block-assembled interior pages) */
.prose-body { max-width: 820px; margin-left: auto; margin-right: auto; }
.prose-body > * + * { margin-top: 1em; }
.head.left + .prose-body { max-width: none; margin-left: 0; margin-right: 0; }
.prose-body:has(.who-grid),
.prose-body:has(.story-stack),
.prose-body:has(.values-grid),
.prose-body:has(.values),
.prose-body:has(.timeline),
.prose-body:has(.oath-card) { max-width: none; }
.prose-body .values, .prose-body .rungs { display: grid; gap: 14px; margin-top: 8px; }
/* Guard against accidental nested .wrap inside prose body HTML */
.prose-body > .wrap {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
}
.prose-body > .timeline,
.prose-body > .values-grid,
.prose-body > .values,
.prose-body > .story-stack { margin-top: 0; }
/* About story beats — one section, stacked who-grids (matches locked design) */
.story-stack { display: grid; gap: clamp(48px, 7vw, 84px); }
.story-stack > * + * { margin-top: 0; }
.prose-body .who-content .eyebrow { margin-bottom: 8px; }
.prose-body .who-content h2 { margin-top: 0; }

/* Theme shell tweaks (WordPress) */
main#content { display: block; }
.logo .custom-logo-link { display: flex; align-items: center; line-height: 0; }
.logo .custom-logo { height: 54px; width: auto; }
.bep-embed { margin-top: 18px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .card-grid.three { grid-template-columns: 1fr; } }


span.arrow-link.is-coming-soon,
span.btn.is-coming-soon {
  cursor: default;
  opacity: 0.65;
  pointer-events: none;
}
