/* CMCEO Group — front-end design system (hand-written, no build step) */
:root {
  --paper:      #F6F5F1;
  --surface:    #FFFFFF;
  --surface-2:  #FBFAF7;
  --ink:        #1B2A33;
  --muted:      #5F6E76;
  --line:       #E5E2D9;
  --green:      #2E9E78;
  --green-ink:  #1F7A5C;
  --green-soft: #E7F3EC;
  --navy:       #16283A;
  --yellow:     #E9BE0A;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-ink); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

.eyebrow {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--green-ink);
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
}
.eyebrow::before { content:""; width: 22px; height: 2px; background: var(--green); }
.eyebrow.light { color: #6FDBB4; }
.eyebrow.light::before { background: #6FDBB4; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem;
  padding: 12px 22px; border-radius: 100px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--green); color: #fff; }
.btn.primary:hover { background: var(--green-ink); }
.btn.ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); color: #fff; }
.btn.dark { background: var(--navy); color: #fff; }
.btn.login { background: transparent; border-color: var(--line); color: var(--ink); }
.btn.login:hover { border-color: var(--green); color: var(--green-ink); background: var(--green-soft); }
@media (max-width: 480px){ .site-header .hactions .btn.login { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.site-header .brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--ink); }
.site-header .brand img { height: 40px; width: auto; }
.site-header nav { display: flex; gap: 26px; }
.site-header nav a { color: var(--ink); font-size: 0.94rem; font-weight: 500; }
.site-header nav a:hover { color: var(--green-ink); }
.site-header .hactions { display: flex; align-items: center; gap: 14px; }
@media (max-width: 900px){ .site-header nav { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; color: #fff; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero .overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 100% at 15% 0%, rgba(22,40,58,.55), transparent 60%),
    linear-gradient(180deg, rgba(11,20,29,.55) 0%, rgba(11,20,29,.72) 100%);
}
.hero .hero-inner { position: relative; z-index: 2; padding-block: 120px; max-width: 760px; }
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); color: #fff; margin: 0 0 20px; }
.hero p.lead { font-size: 1.2rem; color: #DCE7E8; max-width: 54ch; margin: 0 0 30px; }
.hero .hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .hero-stat { display: flex; align-items: center; gap: 14px; margin-top: 38px; }
.hero .hero-stat .avs { display: flex; }
.hero .hero-stat .avs img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); margin-left: -12px; object-fit: cover; }
.hero .hero-stat .avs img:first-child { margin-left: 0; }
.hero .hero-stat .num { font-family: var(--serif); font-size: 1.7rem; color: #fff; }
.hero .hero-stat .lab { font-size: 0.85rem; color: #B7C9CE; }

/* ---------- Section shell ---------- */
section.block { padding-block: clamp(64px, 9vw, 110px); }
.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0 0 14px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* ---------- Stats ---------- */
.stats { background: var(--navy); color: #fff; }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stats .stat { text-align: center; padding: 14px; }
.stats .stat .v { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.4rem); color: #fff; line-height: 1; }
.stats .stat .v span { color: var(--yellow); }
.stats .stat .l { color: #A9BEC4; font-size: 0.92rem; margin-top: 8px; }
@media (max-width: 720px){ .stats .grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Programs ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px){ .cards { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .cards { grid-template-columns: 1fr; } }
.program {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.program:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -26px rgba(16,28,38,.4); }
.program .pimg { aspect-ratio: 16/10; overflow: hidden; }
.program .pimg img { width: 100%; height: 100%; object-fit: cover; }
.program .pbody { padding: 22px 22px 24px; }
.program .picon { font-size: 1.6rem; }
.program h3 { font-size: 1.22rem; margin: 10px 0 8px; }
.program p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- Testimonials ---------- */
.testi { background: var(--surface-2); }
.testi .grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 760px){ .testi .grid { grid-template-columns: 1fr; } }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.quote .mark { font-family: var(--serif); font-size: 2.6rem; color: var(--green); line-height: .6; }
.quote p { font-size: 1.02rem; color: var(--ink); margin: 12px 0 18px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.quote .who b { display: block; font-family: var(--sans); }
.quote .who span { font-size: 0.85rem; color: var(--muted); }

/* ---------- News ---------- */
.news .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px){ .news .grid { grid-template-columns: 1fr; } }
.post { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.post .pimg { aspect-ratio: 16/9; overflow: hidden; }
.post .pimg img { width: 100%; height: 100%; object-fit: cover; }
.post .pbody { padding: 22px; }
.post .cat { font-family: var(--mono); font-size: 0.68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green-ink); }
.post h3 { font-size: 1.14rem; margin: 10px 0 8px; }
.post .date { font-size: 0.82rem; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(150deg, #1A2F42, #0E1D2B); color: #fff; }
.cta .wrap { text-align: center; }
.cta h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); color: #fff; margin: 0 0 14px; }
.cta p { color: #B7C9CE; max-width: 52ch; margin: 0 auto 26px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #C3D4D8; padding-block: 60px 30px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px){ .site-footer .cols { grid-template-columns: 1fr; gap: 28px; } }
.site-footer h4 { color: #fff; font-family: var(--mono); font-size: 0.74rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; }
.site-footer a { color: #C3D4D8; display: block; margin-bottom: 8px; font-size: 0.94rem; }
.site-footer a:hover { color: #6FDBB4; }
.site-footer .brand { font-family: var(--serif); font-size: 1.4rem; color: #fff; margin-bottom: 12px; }
.site-footer .bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 0.82rem; color: #8FA9B6; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Video modal ---------- */
.vmodal { position: fixed; inset: 0; z-index: 100; background: rgba(6,12,18,.9); display: none; align-items: center; justify-content: center; padding: 24px; }
.vmodal.show { display: flex; }
.vmodal video { width: min(960px, 100%); border-radius: 12px; }
.vmodal .close { position: absolute; top: 22px; right: 26px; color: #fff; font-size: 2rem; background: none; border: none; cursor: pointer; }

@media (prefers-reduced-motion: reduce){ * { scroll-behavior: auto !important; } .program:hover, .btn:hover { transform: none; } }

/* ---------- Header active link ---------- */
.site-header nav a.is-active { color: var(--green-ink); }
.site-header nav a.is-active::after { content:""; display:block; height:2px; background:var(--green); border-radius:2px; margin-top:3px; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner { background: linear-gradient(150deg, #1A2F42, #0E1D2B); color: #fff; padding-block: clamp(56px, 9vw, 96px); }
.page-banner .crumb { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: #8FB5AE; margin-bottom: 14px; }
.page-banner .crumb a { color: #8FB5AE; }
.page-banner h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); color:#fff; margin: 0 0 14px; }
.page-banner p { color: #B7C9CE; max-width: 60ch; margin: 0; font-size: 1.08rem; }

/* ---------- Prose ---------- */
.prose { max-width: 72ch; }
.prose p { margin: 0 0 1.1em; color: var(--ink); }
.prose h2 { font-size: 1.7rem; margin: 1.6em 0 .5em; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 820px){ .split { grid-template-columns: 1fr; gap: 28px; } }
.split img { border-radius: 16px; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 900px){ .team-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .team-grid { grid-template-columns: 1fr; } }
.member { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; text-align: center; }
.member .ph { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 14px; background: var(--green-soft); display:flex; align-items:center; justify-content:center; font-family: var(--serif); font-size: 1.8rem; color: var(--green-ink); overflow:hidden; }
.member .ph img { width:100%; height:100%; object-fit:cover; }
.member h3 { font-size: 1.1rem; margin: 0 0 4px; }
.member .role { color: var(--green-ink); font-size: .86rem; font-weight: 600; }
.member .bio { color: var(--muted); font-size: .88rem; margin-top: 8px; }

/* ---------- Program detail ---------- */
.detail-hero-img { width:100%; max-height: 420px; object-fit: cover; border-radius: 16px; margin-bottom: 32px; }

/* ---------- Article ---------- */
.article-cover { width:100%; max-height: 440px; object-fit: cover; border-radius: 16px; margin: 0 0 32px; }
.article-meta { display:flex; gap: 16px; align-items:center; color: var(--muted); font-size: .9rem; margin-bottom: 22px; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px; }
.field { margin-bottom: 18px; }
.field label { display:block; font-size: .86rem; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--sans); font-size: 1rem; background: var(--surface-2); color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.field .err { color: #C0453B; font-size: .82rem; margin-top: 6px; }
.form-ok { background: var(--green-soft); border: 1px solid var(--green); color: var(--green-ink); border-radius: 12px; padding: 16px 18px; margin-bottom: 20px; font-size: .95rem; }

/* Donation amount chooser */
.amounts { display:flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.amount-opt { border: 1.5px solid var(--line); background: var(--surface-2); border-radius: 100px; padding: 10px 20px; font-weight: 600; cursor: pointer; font-family: var(--sans); font-size: .95rem; color: var(--ink); }
.amount-opt.active { border-color: var(--green); background: var(--green-soft); color: var(--green-ink); }
.freq-toggle { display:flex; gap: 8px; margin-bottom: 16px; }
.freq-toggle button { flex:1; border:1.5px solid var(--line); background: var(--surface-2); padding: 10px; border-radius: 10px; cursor:pointer; font-weight:600; font-family:var(--sans); color:var(--ink); }
.freq-toggle button.active { border-color: var(--green); background: var(--green-soft); color: var(--green-ink); }

/* Two-column page layout */
.page-cols { display:grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items:start; }
@media (max-width: 860px){ .page-cols { grid-template-columns: 1fr; gap: 30px; } }
.info-list { list-style:none; padding:0; margin: 18px 0 0; }
.info-list li { display:flex; gap: 12px; margin-bottom: 16px; }
.info-list .ic { color: var(--green); font-size: 1.1rem; }
.info-list b { display:block; }
.info-list span { color: var(--muted); font-size: .92rem; }

/* Empty state */
.empty { text-align:center; color: var(--muted); padding: 40px; border: 1px dashed var(--line); border-radius: 14px; }

/* ---------- Who We Are (home) ---------- */
.checklist { list-style:none; padding:0; margin: 22px 0 26px; display:grid; gap:14px; }
.checklist li { display:flex; gap:12px; align-items:flex-start; font-size:.98rem; }
.checklist .ck { color:#fff; background:var(--green); width:22px; height:22px; min-width:22px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:.75rem; margin-top:2px; }
.checklist b { color: var(--ink); }
.checklist span { color: var(--muted); }
.img-badge { position:relative; }
.img-badge .badge { position:absolute; left:22px; bottom:-22px; background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:16px 22px; box-shadow:0 18px 30px -20px rgba(16,28,38,.4); }
.img-badge .badge .n { font-family:var(--serif); font-size:1.9rem; color:var(--green-ink); line-height:1; }
.img-badge .badge .t { font-size:.82rem; color:var(--muted); }

/* ---------- Ways to help ---------- */
.ways { display:grid; grid-template-columns: repeat(3,1fr); gap:24px; }
@media (max-width:820px){ .ways { grid-template-columns:1fr; } }
.way { background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:34px 28px; text-align:center; transition: transform .18s ease, box-shadow .18s ease; }
.way:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -26px rgba(16,28,38,.4); }
.way .wi { width:66px; height:66px; border-radius:50%; background:var(--green-soft); display:flex; align-items:center; justify-content:center; font-size:1.9rem; margin:0 auto 18px; }
.way h3 { font-size:1.28rem; margin:0 0 10px; }
.way p { color:var(--muted); font-size:.95rem; margin:0 0 20px; }

/* ---------- Event teaser ---------- */
.event-teaser { background: var(--navy); border-radius: 20px; overflow:hidden; display:grid; grid-template-columns: 1fr 1fr; align-items:stretch; }
@media (max-width:820px){ .event-teaser { grid-template-columns:1fr; } }
.event-teaser .et-img { min-height: 260px; background-size:cover; background-position:center; }
.event-teaser .et-body { padding: clamp(28px,4vw,48px); color:#fff; display:flex; flex-direction:column; justify-content:center; }
.event-teaser .et-date { font-family:var(--mono); font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; color:#6FDBB4; margin-bottom:12px; }
.event-teaser h3 { color:#fff; font-size:1.9rem; margin:0 0 12px; }
.event-teaser p { color:#B7C9CE; margin:0 0 22px; }
.event-teaser .et-meta { font-size:.9rem; color:#8FB5AE; margin-bottom:20px; }

/* ==========================================================================
   MODERN REFINEMENTS  (loaded last — intentionally overrides earlier rules)
   ========================================================================== */
:root {
  --paper: #F7F7F4;
  --line: #ECEAE3;
  --shadow-sm: 0 1px 2px rgba(16,28,38,.04), 0 8px 24px -16px rgba(16,28,38,.16);
  --shadow-md: 0 2px 4px rgba(16,28,38,.04), 0 24px 48px -24px rgba(16,28,38,.24);
  --r: 20px;
}
body { font-size: 17.5px; letter-spacing: -0.003em; }

/* Airier sections + confident headings */
section.block { padding-block: clamp(72px, 10vw, 132px); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2rem, 4.3vw, 3.05rem); letter-spacing: -0.02em; }
.section-head p { font-size: 1.14rem; line-height: 1.6; }
.eyebrow { margin-bottom: 18px; }

/* Cleaner buttons */
.btn { padding: 13px 26px; border-radius: 100px; font-size: .96rem; box-shadow: none; }
.btn.primary { box-shadow: 0 10px 24px -12px rgba(46,158,120,.7); }

/* Softer, modern cards across the whole site */
.program, .post, .quote, .way, .member, .form-card, .info-card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}
.program { overflow: hidden; }
.program:hover, .post:hover, .way:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.program .pbody, .post .pbody { padding: 26px 26px 28px; }
.program h3, .post h3 { letter-spacing: -0.01em; }

/* Program icon as a clean chip */
.program .picon, .way .wi { }
.program .picon {
  width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--green-soft); border-radius: 14px; font-size: 1.5rem; margin-bottom: 4px;
}

/* Refined hero: elegant bottom-weighted gradient, crisper type */
.hero { min-height: min(92vh, 860px); }
.hero .overlay {
  background:
    linear-gradient(180deg, rgba(11,20,29,.30) 0%, rgba(11,20,29,.34) 42%, rgba(11,20,29,.82) 100%),
    radial-gradient(80% 60% at 18% 30%, rgba(22,40,58,.35), transparent 70%);
}
.hero .hero-inner { padding-block: 140px; }
.hero h1 { font-size: clamp(2.7rem, 6.6vw, 5rem); letter-spacing: -0.025em; line-height: 1.04; }
.hero p.lead { font-size: 1.28rem; line-height: 1.55; color: #E6EEEE; }

/* Focus/trust strip under hero */
.focus-bar { background: var(--surface); border-bottom: 1px solid var(--line); }
.focus-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 34px; padding-block: 26px; }
.focus-bar .fitem { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .98rem; color: var(--ink); }
.focus-bar .fitem .d { color: var(--green); font-size: 1.1rem; }
.focus-bar .sep { color: var(--line); }
@media (max-width: 680px){ .focus-bar .sep { display:none; } }

/* Stats: cleaner, tabular */
.stats .stat .v { font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.stats { padding-block: clamp(56px, 7vw, 92px); }

/* Section head centering helper keeps eyebrow centered */
.section-head.center .eyebrow { justify-content: center; }

/* Testimonials cards a touch larger */
.quote { padding: 34px; }
.quote p { font-size: 1.05rem; line-height: 1.6; }

/* ==========================================================================
   SVG ICONS + ALIGNMENT PASS
   ========================================================================== */
.ic { display: inline-block; vertical-align: -0.14em; flex: none; }
.btn .ic { vertical-align: middle; }

/* Section background helper */
.block.soft { background: var(--surface-2); }

/* Consistent section heads */
.section-head.center { margin-inline: auto; text-align: center; }
.h2-lg { font-size: clamp(1.9rem, 4vw, 2.7rem); letter-spacing: -0.02em; margin: 0 0 16px; }
.lead-muted { color: var(--muted); font-size: 1.1rem; line-height: 1.6; }
.section-cta { text-align: center; margin-top: 48px; }
.center-flex { justify-content: center; }

/* Program + post cards: equal height, CTA pinned to the bottom */
.cards, .ways, .news .grid { align-items: stretch; }
.program, .post { display: flex; flex-direction: column; }
.program .pbody, .post .pbody { display: flex; flex-direction: column; flex: 1 1 auto; }
.program h3, .post h3 { margin: 12px 0 8px; }
.program p, .post .post-excerpt { color: var(--muted); font-size: .95rem; margin: 0; }
.card-link { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--green-ink); }
.post h3 a { color: inherit; }
.post .date { margin-top: 12px; color: var(--muted); font-size: .85rem; }

/* Program icon chip holds the SVG cleanly */
.program .picon { color: var(--green-ink); }
.program .picon .ic { vertical-align: -0.02em; }

/* Focus strip icon */
.focus-bar .fitem { gap: 9px; }
.focus-bar .d { color: var(--green); display: inline-flex; }

/* Who-we-are */
.rounded-img { border-radius: var(--r); width: 100%; }
.checklist .ck { font-size: .78rem; }

/* Ways: equal height, button at the bottom, icon centered in disc */
.way { display: flex; flex-direction: column; align-items: center; }
.way p { flex: 1 1 auto; }
.way .btn { margin-top: 4px; }
.way .wi { color: var(--green-ink); }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 760px){ .testi-grid { grid-template-columns: 1fr; } }
.quote { display: flex; flex-direction: column; }
.quote-mark { font-family: var(--serif); font-size: 2.6rem; color: var(--green); line-height: .6; }
.quote p { flex: 1 1 auto; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.quote .who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.quote .who b { font-family: var(--sans); }
.who-role { display: block; font-size: .85rem; color: var(--muted); }

/* Event meta rows align icons with text */
.event-teaser .et-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.event-teaser .et-meta span { display: inline-flex; align-items: center; gap: 7px; }
.event-teaser .et-meta .ic { color: #6FDBB4; }

/* Contact / info list icons */
.info-list .ic, .info-list .li-ic .ic { color: var(--green); }
.info-list .li-ic { color: var(--green); display: inline-flex; }

/* ==========================================================================
   CTA + FOOTER + STATS  (UI polish)
   ========================================================================== */

/* Donate CTA: green so it is clearly distinct from the navy footer */
.cta { background: linear-gradient(145deg, #34A985 0%, var(--green-ink) 100%); }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.9); }
.cta .eyebrow.light { color: rgba(255,255,255,.95); }
.cta .eyebrow.light::before { background: rgba(255,255,255,.8); }
.cta .btn.primary { background: #fff; color: var(--green-ink); box-shadow: 0 12px 26px -12px rgba(0,0,0,.45); }
.cta .btn.primary:hover { background: #fff; color: var(--navy); }

/* Impact stats: cleaner cells with an accent underline */
.stats { padding-block: clamp(64px, 8vw, 104px); }
.stats .grid { gap: 0; }
.stats .stat { padding: 18px 26px; border-left: 1px solid rgba(255,255,255,.13); }
.stats .stat:first-child { border-left: none; }
@media (max-width: 720px){
    .stats .stat { border-left: none; border-top: 1px solid rgba(255,255,255,.13); padding-block: 26px; }
    .stats .stat:first-child { border-top: none; }
}
.stats .stat .v { font-size: clamp(2.6rem, 5.5vw, 3.7rem); line-height: 1; }
.stats .stat .v span { color: var(--yellow); }
.stats .stat .v::after { content: ""; display: block; width: 34px; height: 3px; background: var(--green); border-radius: 3px; margin: 16px auto 0; }
.stats .stat .l { text-transform: uppercase; letter-spacing: .09em; font-size: .78rem; color: #9BB4BC; margin-top: 14px; }

/* Rebuilt footer */
.site-footer { background: var(--navy); color: #B7C9CE; padding-block: 66px 28px; }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 44px; }
@media (max-width: 900px){ .foot-grid { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 560px){ .foot-grid { grid-template-columns: 1fr; gap: 30px; } }
.foot-logo { height: 52px; width: auto; max-width: 100%; margin-bottom: 18px; filter: brightness(0) invert(1); }
.foot-tag { max-width: 34ch; color: #A4BAC1; font-size: .95rem; margin: 0; }
.foot-contact { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.foot-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: #B7C9CE; }
.foot-contact .ic { color: #6FDBB4; margin-top: .15em; flex: none; }
.foot-contact a { color: #B7C9CE; }
.foot-contact a:hover { color: #6FDBB4; }
.foot-col h4 { color: #fff; font-family: var(--mono); font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 18px; }
.foot-col a { display: block; color: #B7C9CE; margin-bottom: 11px; font-size: .94rem; }
.foot-col a:hover { color: #6FDBB4; padding-left: 3px; transition: padding .15s ease; }
.foot-support p { color: #A4BAC1; font-size: .92rem; margin: 0 0 18px; max-width: 26ch; }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: #8FA9B6; }

/* Stats section heading on the navy band */
.stats-head { margin-bottom: 48px; }
.stats-head h2 { color: #fff; }
.stats-head .eyebrow.light { color: #6FDBB4; }

/* Rich-text (RichEditor) output on the front-end */
.rich { line-height: 1.7; }
.rich > *:first-child { margin-top: 0; }
.rich p { margin: 0 0 1.1em; }
.rich h2 { font-size: 1.6rem; margin: 1.5em 0 .5em; }
.rich h3 { font-size: 1.3rem; margin: 1.3em 0 .4em; }
.rich ul, .rich ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.rich li { margin-bottom: .4em; }
.rich blockquote { border-left: 3px solid var(--green); padding-left: 1em; margin: 1.2em 0; color: var(--muted); font-style: italic; }
.rich a { color: var(--green-ink); text-decoration: underline; }
.rich img { border-radius: 12px; margin: 1.2em 0; max-width: 100%; }

/* ==========================================================================
   AUTH PAGES (OTP password reset)
   ========================================================================== */
.auth-body { background: var(--paper); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.auth-wrap { width: 100%; max-width: 430px; }
.auth-logo { display: block; text-align: center; margin-bottom: 24px; }
.auth-logo img { height: 48px; width: auto; display: inline-block; max-width: 90%; }
.auth-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 36px; box-shadow: var(--shadow-md); }
.auth-title { font-size: 1.55rem; letter-spacing: -0.01em; margin: 0 0 8px; text-align: center; }
.auth-sub { color: var(--muted); font-size: .96rem; margin: 0 0 26px; text-align: center; line-height: 1.55; }
.auth-btn { width: 100%; justify-content: center; margin-top: 4px; }
.auth-foot { text-align: center; margin-top: 20px; font-size: .9rem; }
.auth-resend { text-align: center; margin: 18px 0 0; font-size: .88rem; }
.otp-input { letter-spacing: .4em; font-size: 1.25rem; text-align: center; font-weight: 600; }
.auth-ok-icon { width: 58px; height: 58px; border-radius: 50%; background: var(--green-soft); color: var(--green-ink); display: flex; align-items: center; justify-content: center; font-size: 1.7rem; margin: 0 auto 18px; }
