/* ===========================================================
   Boundless Smiles — Editorial Stylesheet
   A printed-annual-report feel: serif headlines, thin rules,
   numerals, pull-quotes. No icon-badges, no gradient blobs.
   =========================================================== */

:root {
  --cream: #F7F6FB;
  --paper: #FFFFFF;
  --ink: #1E1E29;
  --forest: #003399;
  --forest-dark: #00265E;
  --clay: #980996;
  --clay-dark: #74077A;
  --sand: #EEE9F7;
  --line: #DFD9EC;
  --muted: #5C5A6B;
  --max-width: 1120px;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Work Sans', Arial, Helvetica, sans-serif;
}

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

/* The [hidden] attribute should always win, even on elements whose class
   also sets `display` (e.g. .form-grid-2's display:grid) — same
   specificity as the browser's own [hidden]{display:none} rule means
   cascade order would otherwise let the class declaration show through. */
[hidden] { display: none !important; }

/* Brand name emphasis — applied wherever "Boundless Smiles" appears in
   running text. Excluded from the nav wordmark lockup (already its own
   icon+type treatment) and from dark-background spots like the chat
   header and the Request a Program page-header, where navy-on-navy
   would be unreadable. */
.brand-mention { font-weight: 700; color: var(--forest); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Kicker (replaces pill badges) ---------- */
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay-dark);
  margin-bottom: 18px;
}
.kicker::before {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  background: var(--clay);
}
.kicker.on-dark { color: var(--sand); }
.kicker.on-dark::before { background: rgba(255,255,255,0.55); }
.kicker.center { justify-content: center; }

/* ---------- Accessibility: skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--forest);
  color: #fff;
  padding: 12px 20px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  /* Clears the notch/status bar when launched standalone from a home screen. */
  padding-top: env(safe-area-inset-top);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink);
  flex-shrink: 1;
  min-width: 0;
}

.brand-mark { flex-shrink: 0; color: var(--forest); }
.brand-mark svg { display: block; }

.brand-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand small {
  display: block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay-dark);
  margin-top: 3px;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

nav.main-nav a {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

nav.main-nav a.active,
nav.main-nav a:hover {
  border-bottom-color: var(--clay);
}

.nav-cta {
  font-weight: 600;
  color: var(--paper) !important;
  background: var(--forest);
  padding: 9px 20px;
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--forest-dark); border-bottom: none; }

/* Quiet secondary path for schools/facilities — plain underlined text,
   same weight as the site's existing link-arrow micro-CTAs, no box. */
nav.main-nav a.nav-request {
  font-weight: 600;
  border-bottom-color: var(--ink);
}
nav.main-nav a.nav-request:hover {
  color: var(--clay-dark);
  border-bottom-color: var(--clay-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  margin-left: auto;
}
.nav-toggle span { width: 24px; height: 1px; background: var(--ink); }

/* ---------- In-page quick jump (wayfinding for long content pages) ---------- */
.quick-jump {
  position: sticky;
  top: 75px;
  z-index: 90;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.quick-jump-inner {
  display: flex;
  gap: 30px;
  padding: 14px 28px;
  max-width: var(--max-width);
  margin: 0 auto;
  overflow-x: auto;
}
.quick-jump a {
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.quick-jump a:hover { color: var(--ink); }
.quick-jump a.active { color: var(--forest); border-color: var(--clay); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary { background: var(--forest); color: var(--paper); }
.btn-primary:hover { background: var(--forest-dark); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,38,94,0.28); }

.btn-outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

.btn-clay { background: var(--clay); color: #fff; }
.btn-clay:hover { background: var(--clay-dark); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(116,7,122,0.32); }

.link-arrow {
  font-weight: 600;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease, padding-left 0.15s ease;
}
.link-arrow:hover { color: var(--clay-dark); border-color: var(--clay-dark); padding-left: 3px; }

.btn-row { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }

/* ---------- Hero ---------- */
.hero {
  background: var(--forest);
  color: var(--paper);
  padding: 86px 0 76px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  top: -18%;
  right: -6%;
  width: 520px;
  height: 520px;
  background: url('mark.png') no-repeat center / contain;
  opacity: 0.08;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr;
  gap: 60px;
  align-items: end;
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: #fff;
  font-size: 2.9rem;
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 22px;
}

.hero p.lead {
  font-size: 1.1rem;
  color: rgba(247,246,251,0.82);
  max-width: 520px;
  margin-bottom: 32px;
  font-family: var(--sans);
}

.hero .num { font-family: var(--serif); }

/* ledger-style stat block replacing glass card */
.ledger {
  border-top: 1px solid rgba(255,255,255,0.3);
}
.ledger-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  gap: 20px;
}
.ledger-row .num {
  font-size: 2rem;
  font-weight: 600;
  color: var(--sand);
  flex-shrink: 0;
}
.ledger-row .label {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: rgba(247,246,251,0.78);
  text-align: right;
}

/* ---------- Sections ---------- */
section { padding: 92px 0; }
section.tint {
  background: var(--sand);
  position: relative;
  overflow: hidden;
}
section.tint::after {
  content: "";
  position: absolute;
  bottom: -22%;
  right: -6%;
  width: 460px;
  height: 460px;
  background: url('mark.png') no-repeat center / contain;
  opacity: 0.07;
  pointer-events: none;
}
section.tint .container { position: relative; z-index: 1; }
section.paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 700px; margin-bottom: 52px; }
.section-head h2 { font-size: 2.1rem; font-size: clamp(1.8rem, 3.4vw, 2.65rem); margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.05rem; max-width: 620px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.right { margin-left: auto; text-align: right; }

/* ---------- Numbered rows (replaces icon-card grids) ---------- */
.num-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 28px;
  padding: 36px 28px;
  margin: 0 -28px;
  border-top: 1px solid var(--line);
  transition: background 0.2s ease;
}
.num-row:hover { background: var(--paper); }
.num-row:last-child { border-bottom: 1px solid var(--line); }
.num-row .idx {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--clay);
  line-height: 1;
}
.num-row h3 { font-size: 1.25rem; margin-bottom: 10px; }
.num-row p { color: var(--muted); font-size: 0.98rem; max-width: 640px; }

/* ---------- Program feature (full-width spec sheet) ---------- */
.program-section { padding: 56px 0; scroll-margin-top: 130px; }

/* ---------- Program overview (expandable tile cards) ---------- */
.program-overview { padding: 56px 0 92px; }

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.program-card {
  border: 1px solid var(--line);
  background: var(--paper);
  scroll-margin-top: 130px;
}
.program-card.is-open { grid-column: 1 / -1; }
.program-card summary { list-style: none; cursor: pointer; }
.program-card summary::-webkit-details-marker { display: none; }
.program-card summary::marker { content: ""; }

.program-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 24px;
}
.program-summary .feature-head { margin-bottom: 0; }
.program-card .idx { font-size: 2.4rem; }

.program-toggle {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  position: relative;
  transition: border-color 0.15s ease;
}
.program-toggle::before,
.program-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--ink);
  transition: transform 0.15s ease;
}
.program-toggle::before { width: 12px; height: 1px; transform: translate(-50%, -50%); }
.program-toggle::after { width: 1px; height: 12px; transform: translate(-50%, -50%); }
.program-card.is-open .program-toggle { border-color: var(--clay); }
.program-card.is-open .program-toggle::after { transform: translate(-50%, -50%) rotate(90deg) scale(0); }

.program-body { padding: 0 24px 32px; }

.feature-head {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 28px;
}
.feature .idx {
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: 600;
  color: rgba(30, 30, 41, 0.12);
  line-height: 1;
  flex-shrink: 0;
}
.feature .tag {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-dark);
  margin-bottom: 10px;
}
.feature h3 { font-size: 1.9rem; margin-bottom: 0; }
.feature .lead { color: var(--muted); font-size: 1.02rem; margin-bottom: 8px; }

.feature .cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 28px;
}
.feature .cols h4 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 14px;
}

.ruled-list { list-style: none; }
.ruled-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.96rem;
  color: var(--ink);
}
.ruled-list li:first-child { padding-top: 0; }
.ruled-list li:last-child { border-bottom: none; }

.tag-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
}
.tag-line span {
  font-size: 0.92rem;
  color: var(--ink);
}
.tag-line span:not(:last-child)::after {
  content: "  /  ";
  color: var(--clay);
}

/* ---------- Pull quote ---------- */
.pull-quote {
  max-width: 780px;
  position: relative;
  padding-left: 8px;
}
.pull-quote::before {
  content: "";
  position: absolute;
  top: -34%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: url('mark.png') no-repeat center / contain;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
.pull-quote .mark {
  font-family: var(--serif);
  font-size: 4.5rem;
  color: var(--clay);
  line-height: 0.5;
  display: block;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.pull-quote p {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.pull-quote .who {
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
  z-index: 1;
}

/* ---------- Values list ---------- */
.values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 56px;
}
.value-row {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
}
.value-row:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.value-row h4 { font-size: 1.05rem; font-family: var(--serif); }
.value-row p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Give / ledger cards ---------- */
.give-list { border-top: 1px solid var(--line); }
.give-row {
  display: grid;
  grid-template-columns: 1.4fr 2fr auto;
  gap: 32px;
  align-items: center;
  padding: 32px 28px;
  margin: 0 -28px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}
.give-row:hover { background: var(--paper); }
.give-row h3 { font-size: 1.2rem; }
.give-row p { color: var(--muted); font-size: 0.94rem; }
.give-row .featured-mark {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay-dark);
  margin-top: 6px;
}
.js-donate-btn { cursor: pointer; }

/* ---------- Donation modal (Stripe embedded checkout) ---------- */
.donate-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(30,30,41,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.donate-modal-overlay[hidden] { display: none; }
.donate-modal {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(30,30,41,0.32);
  width: 100%;
  max-width: 460px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
}
.donate-modal-header {
  background: var(--forest);
  color: #fff;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}
.donate-modal-header h3 { font-family: var(--serif); font-size: 1.2rem; color: #fff; margin: 0; }
.donate-modal-close {
  background: none; border: none; color: #fff; cursor: pointer;
  font-size: 1.5rem; line-height: 1; padding: 2px 4px; flex-shrink: 0;
}
.donate-modal-body { padding: 24px 22px 26px; overflow-y: auto; }

.donate-amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.donate-amount-btn {
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 14px 6px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.donate-amount-btn:hover { border-color: var(--clay); }
.donate-amount-btn.is-active { background: var(--forest); border-color: var(--forest); color: #fff; }
.donate-amount-btn { text-align: center; }
.donate-amount-btn:focus-visible,
.donate-freq-btn:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }

.donate-custom-row { margin-bottom: 20px; }
.donate-custom-row label {
  display: block;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 10px;
}
.donate-custom-input-wrap {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.donate-dollar-sign { font-family: var(--sans); font-weight: 600; color: var(--muted); padding: 10px 4px 10px 2px; }
.donate-custom-input-wrap input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 2px;
  font-family: var(--sans);
  font-size: 1.05rem;
  color: var(--ink);
  outline: none;
}

.donate-recurring-row { margin-bottom: 22px; }
.donate-recurring-row[hidden] { display: none; }
.donate-recurring-label {
  display: block;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 10px;
}
.donate-recurring-toggle { display: flex; border: 1px solid var(--line); }
.donate-freq-btn {
  flex: 1;
  background: var(--paper);
  border: none;
  padding: 12px 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.donate-freq-btn:first-child { border-right: 1px solid var(--line); }
.donate-freq-btn.is-active { background: var(--forest); color: #fff; }

.donate-modal-error {
  color: var(--clay-dark);
  font-size: 0.88rem;
  border-left: 2px solid var(--clay);
  padding-left: 14px;
  margin-bottom: 18px;
}
.donate-modal-error[hidden] { display: none; }

.donate-modal-note { color: var(--muted); font-size: 0.8rem; margin-top: 14px; text-align: center; }

.donate-back-btn {
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 16px;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--forest);
  cursor: pointer;
}
#donate-checkout-container { min-height: 420px; }

.donate-success-icon {
  width: 48px;
  height: 48px;
  border: 2px solid var(--forest);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 18px;
}
#donate-step-success { text-align: center; }
#donate-step-success h4 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 10px; }
#donate-step-success p { color: var(--muted); font-size: 0.95rem; margin-bottom: 22px; }

/* ---------- Contact form (editorial, flat-line fields) ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.7fr; gap: 64px; }
.contact-form { max-width: 700px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.form-grid-3 { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr; gap: 28px; }
.form-section-title {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-bottom: 26px;
}
.contact-form > .form-section-title:first-child { border-top: none; padding-top: 0; }
.form-row { margin-bottom: 30px; }
.form-row label {
  display: block;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 10px;
}
.form-row .optional {
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.76rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  background-color: transparent;
  border-radius: 0;
  padding: 11px 2px;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  outline: none;
}
/* Animated focus underline: a 2px line grows left-to-right over the
   static gray border, using a background-size transition (works on
   real form controls, unlike ::after which inputs don't support). */
.form-row input,
.form-row textarea {
  background-image: linear-gradient(var(--forest), var(--forest));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 2px;
  transition: background-size 0.25s ease, border-color 0.15s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  background-size: 100% 2px;
}
.form-row select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235C5A6B' stroke-width='1.4' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E"), linear-gradient(var(--forest), var(--forest));
  background-repeat: no-repeat, no-repeat;
  background-position: right 2px center, left bottom;
  background-size: auto, 0% 2px;
  transition: background-size 0.25s ease;
}
.form-row select:focus { background-size: auto, 100% 2px; }
.form-row textarea { resize: vertical; min-height: 130px; padding-top: 11px; }
.char-count { text-align: right; font-size: 0.78rem; color: var(--muted); margin-top: 6px; }
.form-note { color: var(--muted); font-size: 0.86rem; margin-bottom: 40px; }
.form-note .req { color: var(--clay-dark); }
.hp-field { position: absolute; left: -9999px; top: -9999px; }
.form-actions { margin-top: 44px; }
.form-error {
  color: var(--clay-dark);
  font-size: 0.9rem;
  border-left: 2px solid var(--clay);
  padding-left: 14px;
  margin-top: 24px;
}
.form-callout {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
  border-left: 2px solid var(--forest);
  padding-left: 14px;
  margin-bottom: 30px;
}
.form-callout a { color: var(--forest); }
#cf-submit[disabled] { opacity: 0.55; cursor: not-allowed; }
#cf-submit[disabled]:hover { transform: none; box-shadow: none; }

.form-success {
  border-top: 1px solid var(--line);
  padding-top: 32px;
  max-width: 480px;
}
.form-success h3 { font-size: 1.5rem; margin-bottom: 12px; }
.form-success p { color: var(--muted); font-size: 1rem; }

/* ---------- Address verification (autocomplete + confirm) ---------- */
.addr-field-wrap { position: relative; }
.addr-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(30,30,41,0.16);
  margin-top: 2px;
  max-height: 260px;
  overflow-y: auto;
  list-style: none;
}
.addr-suggestions li {
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
  border-bottom: 1px solid var(--line);
}
.addr-suggestions li:last-child { border-bottom: none; }
.addr-suggestions li:hover,
.addr-suggestions li.is-active { background: var(--sand); }
.addr-verify-row { display: flex; align-items: center; gap: 16px; margin-top: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.btn-sm { padding: 9px 18px; font-size: 0.8rem; }
.addr-verify-status { font-family: var(--sans); font-size: 0.85rem; }
.addr-verify-status.is-checking { color: var(--muted); }
.addr-verify-status.is-verified { color: var(--forest); font-weight: 600; }
.addr-verify-status.is-unverified { color: var(--clay-dark); }
.addr-attrib { font-size: 0.74rem; margin-top: 0; margin-bottom: 30px; }

/* ---------- FAQ accordion (native details/summary, plus/minus toggle) ---------- */
.faq-list { border-top: 1px solid var(--line); max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item .faq-toggle { flex-shrink: 0; width: 18px; height: 18px; position: relative; }
.faq-item .faq-toggle::before,
.faq-item .faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--forest);
  transition: transform 0.2s ease;
}
.faq-item .faq-toggle::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-item .faq-toggle::after { top: 0; left: 8px; width: 2px; height: 18px; }
.faq-item[open] .faq-toggle::after { transform: scaleY(0); }
.faq-item .faq-body { padding: 0 0 26px; color: var(--muted); max-width: 700px; line-height: 1.7; }

/* ---------- Direct-contact layout: info + map ---------- */
.direct-layout { display: flex; gap: 64px; align-items: flex-start; }
.direct-layout > div { flex: 1 1 0; min-width: 0; }
/* Plain block-flow rows (label above value) — used instead of the .spec
   grid here since this list sits in a narrower half-width column. */
.info-list { border-top: 1px solid var(--line); }
.info-row { padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-list.is-compact .info-row { padding: 12px 0; }
.info-list.is-compact .info-row .field-label { margin-bottom: 4px; }
.info-row .field-label {
  display: block;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 8px;
}
.info-row p { color: var(--ink); font-size: 0.96rem; }
.map-frame {
  aspect-ratio: 4 / 3;
  min-height: 300px;
  border: 1px solid var(--line);
  overflow: hidden;
  filter: grayscale(0.85) contrast(1.05);
}
.map-frame iframe { width: 100%; height: 100%; display: block; }

/* ---------- Scheduling embeds (Cal.com) ---------- */
.embed-frame {
  border: 1px solid var(--line);
  min-height: 720px;
  background: var(--paper);
  margin-top: 12px;
}
.embed-target, .embed-target iframe { width: 100%; height: 100%; min-height: 720px; display: block; }
.embed-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 720px;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
  padding: 0 32px;
}
section.tint .embed-frame { background: var(--paper); }

/* Before the mini contact form is complete, the embed frame collapses
   to a short "waiting" strip instead of reserving the full calendar
   height — avoids a large empty box while nothing has loaded yet. */
.embed-frame.is-waiting { min-height: 120px; }
.embed-frame.is-waiting .embed-placeholder,
.embed-frame.is-waiting .embed-target { height: 120px; min-height: 120px; }

/* ---------- Schedule page: category picker ---------- */
.sched-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.sched-option {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--line);
  padding: 26px 24px;
  cursor: pointer;
  font-family: var(--sans);
  transition: border-color 0.15s ease;
}
.sched-option:hover { border-top-color: var(--clay); }
.sched-option.is-selected { border-top-color: var(--forest); }
.sched-option:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.sched-option-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay-dark);
  margin-bottom: 10px;
}
.sched-option-title {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 10px;
}
.sched-option-desc {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}
.sched-option-cta {
  display: block;
  margin-top: 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--forest);
}
.sched-option.is-selected .sched-option-cta::after { content: " ✓ Selected"; }
.sched-option:not(.is-selected) .sched-option-cta::after { content: " →"; }

.sched-change {
  margin-bottom: 24px;
}
.sched-change button {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--forest);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sched-mini-form { max-width: 640px; margin-top: 8px; }
.sched-mini-form .form-row { margin-bottom: 24px; }
.sched-mini-hint {
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: -6px;
  margin-bottom: 26px;
}

/* ---------- Process strip (numbered, reuses .num-row visual language) ---------- */
.process-row .idx { color: var(--forest); }

.impact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.impact-cell {
  padding: 34px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}
.impact-cell:hover { background: var(--paper); }
.impact-cell h3 { font-size: 1.1rem; margin-bottom: 10px; }
.impact-cell p { color: var(--muted); font-size: 0.92rem; }
.impact-cell .idx { font-family: var(--serif); font-size: 1.6rem; color: var(--clay); margin-bottom: 14px; display: block; }

/* ---------- Nonprofit verification badge ---------- */
.nonprofit-verify {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.nonprofit-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.nonprofit-badge:hover { transform: translateY(-2px); }
.nonprofit-badge svg { width: 148px; height: auto; display: block; }
.nonprofit-badge-caption {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--clay-dark);
  border-bottom: 1px solid var(--clay);
}
.nonprofit-badge:hover .nonprofit-badge-caption { border-color: var(--clay-dark); }
.nonprofit-verify-text { color: var(--muted); font-size: 0.92rem; max-width: 480px; }
.nonprofit-verify-text strong { color: var(--ink); font-weight: 600; }
.nonprofit-verify-text a { color: var(--clay-dark); text-decoration: underline; }
.footer-badge { align-items: flex-start; gap: 6px; margin-top: 16px; }
.footer-badge svg { width: 96px; }
.footer-badge .nonprofit-badge-caption { font-size: 0.68rem; }

@media (max-width: 620px) {
  .nonprofit-verify { flex-direction: column; align-items: flex-start; gap: 24px; }
}

/* ---------- Partner chips (editorial) ---------- */
.partners-line { display: flex; flex-wrap: wrap; gap: 10px 0; margin-top: 4px; }
.partners-line span {
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 500;
}
.partners-line span:not(:last-child)::after { content: " · "; color: var(--clay); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: var(--cream);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 340px;
  height: 340px;
  background: url('mark.png') no-repeat center / contain;
  opacity: 0.06;
  filter: brightness(0) invert(1);
  pointer-events: none;
}
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-band h2 { color: #fff; max-width: 480px; }
.cta-band .btn-row { flex-shrink: 0; }
/* Dark band — brand-mention's navy is unreadable here, so match the
   surrounding link/heading color instead of overriding it. */
.cta-band .brand-mention { color: inherit; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: auto 1.3fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.footer-badge-col { display: flex; align-items: flex-start; }
.footer-badge-col .footer-badge { margin-top: 0; }
.footer-grid h4 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.footer-grid p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; max-width: 260px; }
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 11px; font-size: 0.9rem; }
.footer-grid ul a:hover { color: var(--clay-dark); }

/* Footer link groups: plain always-open columns on desktop (the <details>
   ships with the "open" attribute in the HTML, so it's correct even
   without CSS/JS), collapsible accordion rows on mobile only — script.js
   removes the "open" attribute at load time on narrow viewports. Browsers
   ignore CSS attempts to force-show closed <details> content, so the
   "open" state has to live in the markup/JS, not a CSS override. */
.footer-group { border: none; margin: 0; padding: 0; }
.footer-group summary {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
  list-style: none;
  cursor: default;
  pointer-events: none;
}
.footer-group summary::-webkit-details-marker { display: none; }
.footer-group summary::marker { content: ""; }
.footer-group .footer-caret { display: none; }
.footer-group > ul { margin: 0; padding: 0; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Page header (interior pages) ---------- */
.page-header {
  background: var(--forest);
  color: #fff;
  padding: 78px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: "";
  position: absolute;
  top: -25%;
  right: -4%;
  width: 380px;
  height: 380px;
  background: url('mark.png') no-repeat center / contain;
  opacity: 0.08;
  filter: brightness(0) invert(1);
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; }
.page-header .kicker { color: var(--sand); }
.page-header .kicker::before { background: rgba(255,255,255,0.55); }
.page-header h1 { color: #fff; margin-bottom: 16px; max-width: 760px; }
.page-header p { color: rgba(247,246,251,0.82); max-width: 640px; font-size: 1.05rem; }

/* ---------- Founder split ---------- */
.founder-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
}
.founder-photo {
  background: var(--forest);
  color: var(--paper);
  padding: 56px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.founder-photo::after {
  content: "";
  position: absolute;
  bottom: -12%;
  right: -20%;
  width: 260px;
  height: 260px;
  background: url('mark.png') no-repeat center / contain;
  opacity: 0.08;
  filter: brightness(0) invert(1);
  pointer-events: none;
}
.founder-photo > * { position: relative; z-index: 1; }
.founder-photo .initial {
  font-family: var(--serif);
  font-size: 4.5rem;
  color: var(--sand);
  border: 1px solid rgba(255,255,255,0.35);
  width: 96px; height: 96px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
}
.founder-photo h3 { color: #fff; font-size: 1.3rem; margin-bottom: 6px; }
.founder-photo .role { font-size: 0.9rem; color: rgba(247,246,251,0.75); margin-bottom: 14px; }
.founder-photo .founder-linkedin {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sand);
  border-bottom: 1px solid rgba(255,255,255,0.5);
  padding-bottom: 2px;
  margin-bottom: 30px;
}
.founder-photo .founder-linkedin:hover { color: #fff; border-color: #fff; }
.founder-photo .aside { font-family: var(--serif); font-style: italic; font-size: 0.98rem; color: rgba(247,246,251,0.85); border-top: 1px solid rgba(255,255,255,0.3); padding-top: 20px; }

.founder-text { padding: 56px 48px; background: var(--paper); }
.founder-text p { margin-bottom: 18px; color: var(--ink); font-size: 1rem; }
.founder-text p:last-child { margin-bottom: 0; }

/* ---------- Program spec rows ---------- */
.spec {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 8px 40px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.spec:first-child { border-top: none; padding-top: 0; }
.spec .field-label {
  display: block;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
  padding-top: 3px;
  margin-bottom: 0;
  position: sticky;
  top: 112px;
}
.spec p { color: var(--ink); font-size: 0.96rem; max-width: 640px; }
.source-note {
  font-size: 0.86rem;
  color: var(--muted);
  border-left: 2px solid var(--clay);
  padding-left: 14px;
  margin: 18px 0;
  max-width: 640px;
}
.source-note a { text-decoration: underline; color: var(--clay-dark); }

/* ---------- Legal / prose pages ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 44px; margin-bottom: 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink); font-size: 0.98rem; margin-bottom: 16px; }
.prose ul { margin: 0 0 16px 22px; color: var(--ink); font-size: 0.98rem; }
.prose li { margin-bottom: 8px; }
.prose .updated { color: var(--muted); font-size: 0.86rem; font-style: italic; margin-bottom: 40px; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .direct-layout { flex-direction: column; gap: 36px; }
  .form-grid-2 { grid-template-columns: 1fr; gap: 0; }
  .form-grid-3 { grid-template-columns: 1fr; gap: 0; }
  .embed-frame, .embed-target, .embed-target iframe { min-height: 600px; }
  .embed-placeholder { height: 600px; }
  .donate-modal-overlay { padding: 0; align-items: flex-end; }
  .donate-modal { max-width: none; max-height: 92vh; }
  .donate-amount-grid { grid-template-columns: repeat(2, 1fr); }
  .embed-frame.is-waiting { min-height: 120px; }
  .embed-frame.is-waiting .embed-placeholder,
  .embed-frame.is-waiting .embed-target { height: 120px; min-height: 120px; }
  .sched-picker { grid-template-columns: 1fr; gap: 14px; }
  .spec { grid-template-columns: 1fr; gap: 6px; }
  .spec .field-label { position: static; top: auto; }
  .feature .cols { grid-template-columns: 1fr; }
  .quick-jump { top: 62px; }
  .quick-jump-inner { gap: 22px; padding: 12px 20px; }
  .program-section { scroll-margin-top: 108px; }
  .programs-grid { grid-template-columns: 1fr; }
  .program-card { scroll-margin-top: 108px; }
  .founder-split { grid-template-columns: 1fr; }
  .values-list { grid-template-columns: 1fr; }
  .impact-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .give-row { grid-template-columns: 1fr; text-align: left; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

/* Nav collapses to a hamburger earlier than the content breakpoints below,
   so the desktop link row never gets cramped/overflows in the tablet /
   narrow-laptop zone (roughly 900-1024px) before it has room to breathe. */
@media (max-width: 1024px) {
  nav.main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 28px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    display: none;
    white-space: normal;
  }
  nav.main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
}

@media (max-width: 900px) {
  .brand small { display: none; }
  .brand-icon { width: 38px; height: 38px; }
  .nav-wrap { padding: 12px 20px; }
  .container { padding: 0 20px; }
  .num-row { grid-template-columns: 1fr; padding: 32px 20px; margin: 0 -20px; }
  .value-row { grid-template-columns: 1fr; gap: 6px; }
  .footer-grid { grid-template-columns: 1fr auto; row-gap: 22px; }
  .footer-org { order: 1; grid-column: 1; grid-row: 1; }
  .footer-badge-col { order: 1; grid-column: 2; grid-row: 1; margin-top: 0; align-self: start; }
  .footer-badge-col .footer-badge { align-items: flex-end; }
  .footer-group { order: 2; grid-column: 1 / 3; }
  .footer-badge svg { width: 80px; }
  .footer-badge { gap: 6px; }
  .footer-badge .nonprofit-badge-caption { font-size: 0.66rem; }
  .give-row { grid-template-columns: 1fr; padding: 32px 20px; margin: 0 -20px; }

  /* Dark, collapsible footer on mobile only — desktop keeps the plain
     light columns above. Matches the accordion pattern already used for
     the Programs page tiles (native <details>, no JS). */
  footer.site-footer { background: var(--ink); border-top-color: rgba(255,255,255,0.14); }
  .footer-grid { border-bottom-color: rgba(255,255,255,0.14); }
  .footer-org p { color: rgba(247,246,251,0.62); }
  .footer-org p a { color: rgba(247,246,251,0.88); }
  .footer-badge-col .nonprofit-badge-caption { color: var(--sand); border-bottom-color: rgba(238,233,247,0.5); white-space: nowrap; }
  /* Dark footer bg — keep the org heading white and let brand-mention
     inherit that instead of applying its navy (unreadable on dark ink). */
  .footer-org h4 { color: #fff; }
  .footer-org h4 .brand-mention,
  .footer-bottom .brand-mention { color: inherit; }

  .footer-group {
    border: 1px solid rgba(255,255,255,0.18);
    padding: 0 20px;
    margin-bottom: 14px;
  }
  .footer-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    margin-bottom: 0;
    color: #fff;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    cursor: pointer;
    pointer-events: auto;
  }
  .footer-group .footer-caret {
    display: block;
    width: 0;
    height: 0;
    flex-shrink: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid rgba(255,255,255,0.65);
    transition: transform 0.2s ease;
  }
  .footer-group[open] .footer-caret { transform: rotate(180deg); }
  .footer-group > ul {
    margin: 0;
    padding: 0 0 22px;
  }
  .footer-group ul li { margin-bottom: 13px; }
  .footer-group ul a { color: rgba(247,246,251,0.8); }
  .footer-group ul a:hover { color: #fff; }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: rgba(247,246,251,0.5);
  }
}

@media (max-width: 560px) {
  .hero { padding: 48px 0 56px; }
  .hero h1 { font-size: 1.9rem; }
  section { padding: 56px 0; }
  .page-header { padding: 48px 0 40px; }
  .page-header h1 { font-size: 1.7rem; }
  .founder-photo, .founder-text { padding: 32px 24px; }
  .feature .idx { font-size: 2.2rem; }
  .feature-head { gap: 16px; margin-bottom: 24px; }
  .feature h3 { font-size: 1.5rem; }
  .program-summary { padding: 22px 18px; gap: 12px; }
  .program-body { padding: 0 18px 26px; }
  .program-toggle { width: 26px; height: 26px; }
  .cta-band { padding: 44px 0; }
  .cta-band h2 { font-size: 1.5rem; }
  .impact-cell { padding: 24px 20px; }
  .give-row { gap: 14px; padding: 24px 20px; margin: 0 -20px; }
  .num-row { padding: 28px 20px; margin: 0 -20px; }
  .pull-quote p { font-size: 1.2rem; }
  .btn, .btn-row .link-arrow { width: 100%; justify-content: center; text-align: center; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .cw-panel { right: 12px; left: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); width: auto; max-height: 76vh; }
  .cw-launcher { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
}

/* ---------- Chat widget ---------- */
.cw-launcher {
  position: fixed;
  right: 28px;
  bottom: calc(28px + env(safe-area-inset-bottom));
  z-index: 400;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--forest);
  color: #fff;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.94rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0,38,94,0.32);
  transition: background 0.15s ease, transform 0.15s ease;
}
.cw-launcher:hover { background: var(--forest-dark); transform: translateY(-2px); }
.cw-launcher .cw-dot {
  width: 8px; height: 8px;
  background: var(--clay);
  flex-shrink: 0;
}
.cw-launcher[aria-expanded="true"] { display: none; }

.cw-panel {
  position: fixed;
  right: 28px;
  bottom: calc(28px + env(safe-area-inset-bottom));
  z-index: 401;
  width: 380px;
  max-height: 74vh;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(30,30,41,0.22);
  display: flex;
  flex-direction: column;
}
.cw-panel[hidden] { display: none; }

.cw-header {
  background: var(--forest);
  color: #fff;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}
.cw-title { font-family: var(--serif); font-weight: 600; font-size: 1.08rem; }
.cw-sub { font-family: var(--sans); font-size: 0.8rem; color: rgba(247,246,251,0.78); margin-top: 4px; }
.cw-close {
  background: none; border: none; color: #fff; cursor: pointer;
  font-size: 1.3rem; line-height: 1; padding: 2px 4px; flex-shrink: 0;
}

.cw-body { flex: 1 1 auto; overflow-y: auto; padding: 18px 20px; min-height: 0; }
.cw-messages { display: flex; flex-direction: column; gap: 14px; }
.cw-msg { font-family: var(--sans); font-size: 0.92rem; line-height: 1.55; max-width: 88%; padding: 10px 14px; }
.cw-msg-bot { background: var(--cream); color: var(--ink); align-self: flex-start; border: 1px solid var(--line); }
.cw-msg-user { background: var(--forest); color: #fff; align-self: flex-end; }
.cw-msg-error { background: var(--sand); color: var(--clay-dark); align-self: flex-start; border: 1px solid var(--line); }
.cw-msg-bot a { color: var(--clay-dark); text-decoration: underline; }
.cw-msg-bot a:hover { color: var(--forest); }
.cw-msg-action {
  align-self: flex-start;
  margin-top: -6px;
  background: var(--paper);
}
.cw-typing { display: flex; gap: 5px; align-self: flex-start; padding: 10px 14px; }
.cw-typing span { width: 6px; height: 6px; background: var(--muted); opacity: 0.5; animation: cw-blink 1.2s infinite ease-in-out; }
.cw-typing span:nth-child(2) { animation-delay: 0.2s; }
.cw-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes cw-blink { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 0.9; } }
@media (prefers-reduced-motion: reduce) { .cw-typing span { animation: none; opacity: 0.6; } }

.cw-quick { padding: 0 20px 14px; flex-shrink: 0; }
.cw-quick-btn {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clay-dark);
  background: none;
  border: 1px solid var(--line);
  padding: 8px 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.cw-quick-btn:hover { border-color: var(--clay); }

.cw-callback-form { padding: 0 20px 18px; border-top: 1px solid var(--line); padding-top: 16px; flex-shrink: 0; }
.cw-callback-form[hidden] { display: none; }
.cw-callback-row { margin-bottom: 14px; }
.cw-callback-row label {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 6px;
}
.cw-callback-row input,
.cw-callback-row select {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 8px 2px;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
}
.cw-callback-row input:focus,
.cw-callback-row select:focus { border-bottom-color: var(--forest); }
.cw-callback-success { padding: 16px 20px; border-top: 1px solid var(--line); color: var(--ink); font-size: 0.9rem; flex-shrink: 0; }
.cw-callback-success[hidden] { display: none; }

.cw-input-row {
  display: flex;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}
.cw-input-row input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 8px 2px;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--ink);
  outline: none;
}
.cw-input-row input:focus { border-bottom-color: var(--forest); }
.cw-input-row input:disabled { opacity: 0.5; }
.cw-send {
  flex-shrink: 0;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.86rem;
  color: #fff;
  background: var(--forest);
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.cw-send:hover { background: var(--forest-dark); }
.cw-send:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===========================================================
   Schedule page v2 — simplified booking flow
   (choose -> calendar -> confirmation; no pre-form)
   =========================================================== */

/* Draft placeholders: text still to be confirmed before launch */
.tbd {
  background: #FFF4CC;
  border-bottom: 1px dashed #B58900;
  padding: 0 4px;
  color: #6B5200;
  font-weight: 600;
}

/* How-it-works strip */
.sched-how-wrap { padding: 28px 0 0; }
.sched-how {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--paper);
}
.sched-how li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  position: relative;
}
.sched-how li:last-child { border-right: none; }
.sched-how-num {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1rem;
  color: var(--muted);
}
.sched-how-text { display: flex; flex-direction: column; line-height: 1.3; }
.sched-how-text strong { color: var(--ink); font-size: 0.95rem; }
.sched-how-text span { font-size: 0.8rem; }
.sched-how li.is-current { box-shadow: inset 0 -3px 0 var(--forest); }
.sched-how li.is-current .sched-how-num { background: var(--forest); border-color: var(--forest); color: #fff; }
.sched-how li.is-done .sched-how-num { background: var(--sand); border-color: var(--forest); color: var(--forest); font-size: 0; }
.sched-how li.is-done .sched-how-num::after { content: "✓"; font-size: 1rem; }

/* Option cards (now real <button>s) */
.sched-choose { padding-top: 56px; }
.sched-option {
  font: inherit;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.sched-option:hover { border-top-color: var(--clay); box-shadow: 0 10px 24px rgba(0, 38, 94, 0.08); }
.sched-option-desc { flex-grow: 1; }
.sched-option-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--ink);
}
.sched-option-meta .meta-label {
  display: inline-block;
  min-width: 58px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.sched-option-cta {
  margin-top: 20px;
  display: inline-block;
  align-self: flex-start;
  background: var(--forest);
  color: #fff;
  padding: 10px 18px;
  font-size: 0.86rem;
  transition: background 0.15s ease;
}
.sched-option:hover .sched-option-cta { background: var(--forest-dark); }
.sched-option.is-selected .sched-option-cta::after,
.sched-option:not(.is-selected) .sched-option-cta::after { content: " →"; }

/* Step 2: summary bar */
.sched-flow:focus { outline: none; }
/* overflow:clip (not hidden) so scrollIntoView can't scroll the section's
   own contents and swallow its top padding */
section.tint.sched-flow { overflow: clip; }
.sched-summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 22px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.sched-summary-title { font-size: 1.6rem; margin-top: 6px; }
.sched-summary-title span { color: var(--forest); }
.sched-summary-meta { color: var(--muted); font-size: 0.95rem; margin-top: 6px; }
.sched-switch {
  flex-shrink: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 10px 16px;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--forest);
  cursor: pointer;
}
.sched-switch:hover { border-color: var(--forest); }

/* Step 2: full-width calendar so Cal.com can use its roomy
   three-column layout (details | month | time slots) */
.sched-layout { display: flex; flex-direction: column; gap: 22px; }
.sched-layout > .sched-aside-note { margin: 0; }
.sched-flow .embed-frame { margin-top: 0; position: relative; }
.embed-status {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
  padding: 0 32px;
  background: var(--paper);
  z-index: 1;
}
.embed-status a { color: var(--forest); font-weight: 600; text-decoration: underline; }
.embed-frame.is-loading .embed-status { display: flex; }
.embed-spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--sand);
  border-top-color: var(--forest);
  border-radius: 50%;
  animation: sched-spin 0.9s linear infinite;
}
.embed-frame.is-slow .embed-spinner { display: none; }
@keyframes sched-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .embed-spinner { animation-duration: 3s; } }

.sched-fallback { margin-top: 12px; font-size: 0.84rem; color: var(--muted); }
.sched-fallback a { color: var(--forest); font-weight: 600; }

.sched-aside-note {
  padding: 12px 16px;
  background: var(--paper);
  border-left: 3px solid var(--clay);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink);
}
.sched-aside-note a, .sched-aside-help a { color: var(--forest); font-weight: 600; text-decoration: underline; }

.sched-expect {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 26px 28px 22px;
}
.sched-expect h3 { font-size: 1.1rem; margin-bottom: 16px; }
.sched-expect-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sched-expect-steps li { display: flex; gap: 12px; align-items: flex-start; }
.sched-expect-num {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--forest);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
}
.sched-expect-steps strong { display: block; font-size: 0.92rem; color: var(--ink); }
.sched-expect-steps span:not(.sched-expect-num) { display: block; font-size: 0.85rem; color: var(--muted); line-height: 1.5; margin-top: 2px; }
.sched-aside-help {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--muted);
}

/* Step 3: confirmation */
.sched-done {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--forest);
  padding: 44px 40px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.sched-done .btn-row { justify-content: center; }
.sched-done:focus { outline: none; }
.sched-done h2 { font-size: 2rem; margin: 8px 0 12px; }
.sched-done-when { font-family: var(--serif); font-size: 1.2rem; color: var(--forest); margin-bottom: 12px; }
.sched-done p { color: var(--muted); }
.sched-done .btn-row { margin-top: 28px; }

@media (max-width: 900px) {
  .sched-expect-steps { grid-template-columns: 1fr; gap: 16px; }
  .sched-summary { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .sched-how { grid-template-columns: 1fr; }
  .sched-how li { border-right: none; border-bottom: 1px solid var(--line); padding: 12px 16px; }
  .sched-how li:last-child { border-bottom: none; }
  .sched-done { padding: 30px 22px; }
}

@media (max-width: 640px) {
  .sched-expect { padding: 22px 18px 18px; }
}

/* Step 2 calendar sizing: let Cal.com size its own iframe to its content.
   The older .embed-* rules force a 720px minimum, which left a tall empty
   band under the calendar. Keep a modest height only while loading. */
.sched-flow .embed-frame,
.sched-flow .embed-target,
.sched-flow .embed-target iframe { min-height: 0; height: auto; }
.sched-flow .embed-frame.is-loading { min-height: 420px; }
.sched-flow .embed-frame:not(.is-loading) { border: none; background: transparent; }
.sched-flow .embed-target iframe { width: 100%; }
/* Tighter vertical rhythm around the booking step */
section.sched-flow { padding: 48px 0 64px; }
.sched-flow .sched-summary { margin-bottom: 20px; padding-bottom: 18px; }
.sched-layout { gap: 16px; }
.sched-choose { padding-bottom: 64px; }
@media (max-width: 640px) { section.sched-flow { padding: 32px 0 48px; } }

/* ===========================================================
   Programs page — overview cards + in-place program details
   (matches the site's editorial style: square corners, thin rules,
   a colored top rule instead of drop shadows)
   =========================================================== */
.pcards-section { padding: 72px 0 0; }
.pcards-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.pcards-rule { display: block; width: 44px; height: 2px; background: var(--clay); margin: 0 auto 18px; }
.pcards-head h2 { font-size: 2.2rem; margin-bottom: 14px; }
.pcards-head p { color: var(--muted); font-size: 1.02rem; }

.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pcard {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--line);
  padding: 28px 26px 24px;
  transition: border-color 0.15s ease;
}
.pcard:hover { border-top-color: var(--clay); }
.pcard.is-active { border-top-color: var(--forest); }

.pcard-top { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.pcard-icon {
  flex-shrink: 0;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--forest);
  display: flex; align-items: center; justify-content: center;
}
.pcard-tag {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay-dark);
  margin-bottom: 6px;
}
.pcard h3 { font-size: 1.6rem; line-height: 1.15; }
.pcard-desc { color: var(--muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }

.pcard-chips { list-style: none; margin-bottom: 22px; border-top: 1px solid var(--line); }
.pcard-chips li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink);
}
.pcard-chip-icon { color: var(--clay); display: flex; }

.pcard-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--forest);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 13px 18px;
  transition: background 0.15s ease;
}
.pcard-cta:hover { background: var(--forest-dark); }
.pcard-cta:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.pcard.is-active .pcard-cta { background: var(--paper); color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }

/* Details: one program open at a time, shown in place under the cards.
   Closed programs (and their summary rows) stay hidden, so nothing repeats. */
.program-overview { padding: 0 0 92px; }
.programs-grid { grid-template-columns: 1fr; gap: 0; }
.program-card:not([open]) { display: none; }
.program-card > summary.program-summary { display: none; }
.program-card[open] {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--forest);
  scroll-margin-top: 120px;
}
.program-card .program-body { padding: 30px 32px 34px; }
.pdetail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 8px;
}
.pdetail-head h3 { font-size: 1.7rem; margin-top: 6px; }
.pdetail-close {
  flex-shrink: 0;
  background: none;
  border: 1px solid var(--line);
  padding: 8px 14px;
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.pdetail-close:hover { border-color: var(--forest); color: var(--forest); }

@media (max-width: 900px) {
  .pcards { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .pcards-head h2 { font-size: 1.8rem; }
  .program-card .program-body { padding: 22px 18px 26px; }
  .pdetail-head h3 { font-size: 1.35rem; }
}

/* ===========================================================
   Request a Program — guided 4-step form panel
   =========================================================== */
.rp-section { padding: 64px 0 92px; scroll-margin-top: 70px; }
.rp-wrap { max-width: 820px; margin: 0 auto; }
.rp-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--forest);
  padding: 40px 44px 36px;
}
.rp-panel-head { padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.rp-panel-head h2 { font-size: 1.9rem; margin: 6px 0 6px; }
.rp-panel-head p { color: var(--muted); font-size: 0.92rem; }

.rp-step { border: none; padding: 30px 0 6px; min-width: 0; margin: 0; border-bottom: 1px solid var(--line); }
.rp-step:last-of-type { border-bottom: none; }
.rp-step-head {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 18px;
  padding: 0;
  float: left;
  width: 100%;
}
.rp-step-head + * { clear: both; }
.rp-step > :nth-child(2) { margin-top: 0; }
.rp-step::after { content: ""; display: block; clear: both; }
.rp-step-num {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.rp-step.is-complete .rp-step-num { background: var(--sand); color: var(--forest); font-size: 0; box-shadow: inset 0 0 0 2px var(--forest); }
.rp-step.is-complete .rp-step-num::after { content: "✓"; font-size: 1rem; }

.rp-hint { font-size: 0.86rem; color: var(--muted); margin: 6px 0 24px; }
.rp-hint a { color: var(--forest); font-weight: 600; }
.rp-hint-top { margin: -4px 0 20px; }

/* Program choice cards (radio buttons) */
.rp-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rp-choice { position: relative; cursor: pointer; display: block; }
.rp-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rp-choice-box {
  display: block;
  height: 100%;
  border: 1px solid var(--line);
  padding: 16px 18px 16px 48px;
  position: relative;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.rp-choice-box::before {
  content: "";
  position: absolute;
  left: 18px; top: 19px;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--paper);
}
.rp-choice:hover .rp-choice-box { border-color: var(--forest); }
.rp-choice input:checked + .rp-choice-box { border-color: var(--forest); background: #F1F4FC; box-shadow: inset 0 0 0 1px var(--forest); }
.rp-choice input:checked + .rp-choice-box::before { border-color: var(--forest); background: radial-gradient(circle, var(--forest) 0 4px, var(--paper) 5px); }
.rp-choice input:focus-visible + .rp-choice-box { outline: 2px solid var(--forest); outline-offset: 2px; }
.rp-choice-title { display: block; font-weight: 700; font-size: 0.98rem; color: var(--ink); margin-bottom: 3px; }
.rp-choice-desc { display: block; font-size: 0.84rem; color: var(--muted); line-height: 1.45; }

/* Boxed inputs inside the panel so the fields are unmistakably fillable */
.rp-panel .form-row { margin-bottom: 22px; }
.rp-panel .form-row label { margin-bottom: 8px; }
.rp-panel .form-row input,
.rp-panel .form-row select,
.rp-panel .form-row textarea {
  border: 1px solid #C9C2DC;
  background-color: var(--paper);
  background-image: none;
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.rp-panel .form-row select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235C5A6B' stroke-width='1.4' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: auto;
  padding-right: 38px;
}
.rp-panel .form-row textarea { min-height: 120px; resize: vertical; }
.rp-panel .form-row input:focus,
.rp-panel .form-row select:focus,
.rp-panel .form-row textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(0, 51, 153, 0.12); }
.rp-panel .form-row input::placeholder,
.rp-panel .form-row textarea::placeholder { color: #9A97A8; }

/* Missing-field highlighting */
.rp-panel .form-row.is-invalid input,
.rp-panel .form-row.is-invalid textarea { border-color: var(--clay); box-shadow: 0 0 0 3px rgba(152, 9, 150, 0.12); }
.rp-panel .form-row.is-invalid label { color: var(--clay-dark); }
.rp-choices.is-invalid .rp-choice-box { border-color: var(--clay); }

.rp-submit-row { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
.rp-submit-row .btn { width: 100%; justify-content: center; font-size: 1rem; padding: 16px 24px; }
.rp-submit-row p { margin-top: 12px; font-size: 0.84rem; color: var(--muted); text-align: center; }
.rp-panel .form-error { margin-top: 18px; }

.rp-success { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--forest); padding: 40px 44px; }
.rp-alt { margin-top: 24px; text-align: center; font-size: 0.9rem; color: var(--muted); }
.rp-alt .link-arrow { margin: 0 4px; }
.rp-alt-or { margin: 0 6px; }

@media (max-width: 700px) {
  .rp-section { padding: 36px 0 64px; }
  .rp-panel { padding: 28px 18px 26px; }
  .rp-success { padding: 30px 20px; }
  .rp-choices { grid-template-columns: 1fr; }
  .rp-panel-head h2 { font-size: 1.55rem; }
  .rp-step-head { font-size: 1.15rem; }
  .rp-alt .link-arrow { display: inline-block; margin: 6px 4px; }
}

/* ---------- Request a Program: "What happens next" timeline ---------- */
.rp-next { padding: 80px 0; }
.rp-next-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.rp-next-head .kicker { justify-content: center; }
.rp-next-head h2 { font-size: 2rem; margin: 8px 0 10px; }
.rp-next-head p { color: var(--muted); }
.rp-timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
/* connector line running behind the step numbers */
.rp-timeline::before {
  content: "";
  position: absolute;
  top: 46px;
  left: 16.6%;
  right: 16.6%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--forest) 0 8px, transparent 8px 14px);
  opacity: 0.35;
}
.rp-timeline li {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 26px 26px 28px;
  text-align: center;
}
.rp-tl-num {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--paper);
}
.rp-tl-when {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay-dark);
  background: #F6E7F6;
  padding: 4px 10px;
  margin-bottom: 14px;
}
.rp-timeline h3 { font-size: 1.2rem; margin-bottom: 8px; }
.rp-timeline p { color: var(--muted); font-size: 0.92rem; line-height: 1.6; }

/* ---------- Request a Program: FAQ ---------- */
.rp-faq { padding: 88px 0; }
.rp-faq-layout { max-width: 820px; margin: 0 auto; }
.rp-faq-intro { text-align: center; margin-bottom: 36px; }
.rp-faq-intro .kicker { justify-content: center; }
.rp-faq-intro h2 { font-size: 2rem; margin: 8px 0 10px; }
.rp-faq-intro > p { color: var(--muted); }
.rp-faq-help {
  margin-top: 28px;
  padding: 22px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--clay);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.rp-faq-help h3 { font-size: 1.15rem; margin-bottom: 4px; }
.rp-faq-help p { font-size: 0.92rem; color: var(--muted); }
.rp-faq-help a { color: var(--forest); font-weight: 600; text-decoration: underline; }

.rp-faq-list { border-top: none; max-width: none; display: flex; flex-direction: column; gap: 12px; }
.rp-faq-list .faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  transition: border-color 0.15s ease;
}
.rp-faq-list .faq-item:hover { border-color: #C9C2DC; }
.rp-faq-list .faq-item[open] { border-color: var(--forest); box-shadow: inset 3px 0 0 var(--forest); }
.rp-faq-list .faq-item summary { padding: 20px 24px; }
.rp-faq-list .faq-item .faq-body { padding: 0 24px 22px; color: var(--ink); opacity: 0.85; }

@media (max-width: 900px) {
  .rp-timeline { grid-template-columns: 1fr; gap: 14px; }
  .rp-timeline::before { top: 0; bottom: 0; left: 50%; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--forest) 0 8px, transparent 8px 14px); }
}
@media (max-width: 640px) {
  .rp-next, .rp-faq { padding: 56px 0; }
  .rp-next-head h2, .rp-faq-intro h2 { font-size: 1.6rem; }
  .rp-faq-list .faq-item summary { padding: 18px 18px; font-size: 1rem; }
  .rp-faq-list .faq-item .faq-body { padding: 0 18px 20px; }
}

/* ===========================================================
   Donate page — quick-give header, program cards, mobile give bar
   =========================================================== */
.give-hero { padding-bottom: 72px; }
.give-hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.give-hero-copy p { max-width: 520px; }
.give-hero-points { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.give-hero-points li { color: rgba(255,255,255,0.88); font-size: 0.95rem; padding-left: 26px; position: relative; }
.give-hero-points li::before { content: "✓"; position: absolute; left: 0; color: #F3C7F2; font-weight: 700; }

.give-box {
  background: var(--paper);
  color: var(--ink);
  padding: 28px 28px 22px;
  border-top: 4px solid var(--clay);
  box-shadow: 0 18px 40px rgba(0, 20, 70, 0.28);
  position: relative;
  z-index: 1;
}
.give-freq { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); margin-bottom: 18px; }
.give-freq-btn {
  font-family: var(--sans); font-size: 0.9rem; font-weight: 600;
  padding: 11px 10px; border: none; background: var(--paper); color: var(--muted); cursor: pointer;
}
.give-freq-btn.is-active { background: var(--forest); color: #fff; }
.give-amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.give-amt {
  font-family: var(--sans); font-size: 1.05rem; font-weight: 700;
  padding: 13px 4px; border: 1px solid #C9C2DC; background: var(--paper); color: var(--ink); cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.give-amt:hover { border-color: var(--forest); }
.give-amt.is-active { border-color: var(--forest); background: #EEF2FC; color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }
.give-freq-btn:focus-visible, .give-amt:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }

.give-other label, .give-dest label {
  display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.give-other { margin-bottom: 14px; }
.give-other-wrap { display: flex; align-items: center; border: 1px solid #C9C2DC; background: var(--paper); }
.give-other-wrap span { padding: 0 4px 0 14px; color: var(--muted); font-weight: 600; }
.give-other-wrap input { flex: 1; border: none; padding: 11px 12px 11px 4px; font-family: var(--sans); font-size: 1rem; outline: none; background: transparent; min-width: 0; }
.give-other-wrap:focus-within { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(0,51,153,0.12); }
.give-dest { margin-bottom: 18px; }
.give-dest select {
  width: 100%; appearance: none; -webkit-appearance: none;
  border: 1px solid #C9C2DC; background: var(--paper); padding: 11px 38px 11px 14px;
  font-family: var(--sans); font-size: 0.95rem; color: var(--ink); border-radius: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235C5A6B' stroke-width='1.4' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.give-dest select:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(0,51,153,0.12); }
.give-submit { width: 100%; justify-content: center; font-size: 1.05rem; padding: 16px 20px; }
.give-error { color: var(--clay-dark); font-size: 0.86rem; margin-bottom: 10px; }
.give-trust { margin-top: 12px; text-align: center; font-size: 0.78rem; color: var(--muted); line-height: 1.6; }

/* Program cards */
.give-programs { padding: 88px 0 80px; }
.give-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.give-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--line);
  padding: 28px 26px; transition: border-color 0.15s ease;
}
.give-card:hover { border-top-color: var(--clay); }
.give-card-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clay-dark); margin-bottom: 8px; }
.give-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.give-card p { color: var(--muted); font-size: 0.94rem; line-height: 1.6; flex-grow: 1; margin-bottom: 22px; }
.give-card .btn { width: 100%; justify-content: center; }

.give-monthly {
  margin-top: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--sand); border: 1px solid var(--line); border-left: 3px solid var(--forest);
  padding: 24px 28px;
}
.give-monthly h3 { font-size: 1.3rem; margin-bottom: 4px; }
.give-monthly p { color: var(--muted); font-size: 0.94rem; }

/* Mobile sticky give bar */
.give-bar { display: none; }
@media (max-width: 900px) {
  .give-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .give-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .give-hero { padding-bottom: 48px; }
  .give-box { padding: 22px 18px 18px; }
  .give-amounts { grid-template-columns: repeat(2, 1fr); }
  .give-programs { padding: 56px 0; }
  .give-monthly { padding: 20px 18px; }
  .give-monthly .btn { width: 100%; justify-content: center; }
  .give-bar:not([hidden]) {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    background: var(--paper); border-top: 1px solid var(--line);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 18px rgba(30,30,41,0.08);
  }
  .give-bar span { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
  .give-bar .btn { padding: 10px 22px; width: auto; }
  body.has-give-bar .cw-launcher { bottom: calc(76px + env(safe-area-inset-bottom)); }
  body.has-give-bar .site-footer { padding-bottom: 80px; }
}
.page-header .give-box p.give-trust { color: var(--muted); }
.page-header .give-box p.give-error { color: var(--clay-dark); }
.page-header .give-box label { color: var(--muted); }
.page-header .give-box p.give-trust { font-size: 0.78rem; margin-bottom: 0; }
.page-header .give-box p.give-error { font-size: 0.86rem; }

/* ===========================================================
   Contact page — quick routes, direct-contact card, boxed form
   =========================================================== */
.ct-routes-section { padding: 64px 0 8px; }
.ct-routes-head { margin-bottom: 24px; }
.ct-routes-head h2 { font-size: 1.6rem; margin-bottom: 6px; }
.ct-routes-head p { color: var(--muted); }
.ct-routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ct-route {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--line);
  padding: 20px 20px 20px 18px;
  transition: border-color 0.15s ease;
}
.ct-route:hover { border-top-color: var(--clay); border-color: #C9C2DC; }
.ct-route:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.ct-route-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--sand); color: var(--forest);
  display: flex; align-items: center; justify-content: center;
}
.ct-route-text { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.ct-route-text strong { font-size: 1rem; color: var(--ink); }
.ct-route-text span { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }
.ct-route-arrow { color: var(--forest); font-weight: 700; margin-top: 2px; transition: transform 0.15s ease; }
.ct-route:hover .ct-route-arrow { transform: translateX(3px); }

.ct-main { padding-top: 56px; }
.ct-main .contact-layout { grid-template-columns: 0.85fr 1.4fr; gap: 48px; align-items: start; }

.ct-direct {
  margin-top: 28px;
  background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--clay);
  padding: 22px 22px 8px;
}
.ct-direct h3 { font-size: 1.15rem; margin-bottom: 8px; }
.ct-direct ul { list-style: none; }
.ct-direct li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 0.94rem; color: var(--ink); }
.ct-direct li:first-child { border-top: none; }
.ct-direct-icon { flex-shrink: 0; color: var(--forest); margin-top: 2px; }
.ct-direct-label {
  display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 3px;
}
.ct-direct a { color: var(--forest); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.ct-panel { max-width: none; }
.ct-panel-head { padding-bottom: 18px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.ct-panel-head h3 { font-size: 1.5rem; margin-bottom: 4px; }
.ct-panel-head p { color: var(--muted); font-size: 0.9rem; }
.ct-panel .form-callout { margin-bottom: 22px; }

@media (max-width: 900px) {
  .ct-routes { grid-template-columns: 1fr; }
  .ct-main .contact-layout { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .ct-routes-section { padding-top: 40px; }
  .ct-main { padding-top: 40px; }
}
.ct-panel-note { color: var(--muted); font-size: 0.86rem; margin-bottom: 22px; }
.ct-phone-line { display: block; }
.ct-direct-note { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 4px; }

/* ===========================================================
   About page — credential line, RDHAP note, values grid, partners
   =========================================================== */
.founder-photo .aside.founder-also { font-family: var(--sans); font-style: normal; font-size: 0.92rem; line-height: 1.55; }
.founder-also span {
  display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #F3C7F2; margin-bottom: 6px;
}
.rdhap-note {
  margin-top: 26px; padding: 18px 20px;
  background: var(--sand); border-left: 3px solid var(--clay);
}
.rdhap-note h4 { font-size: 1rem; margin-bottom: 6px; }
.founder-text .rdhap-note p { font-size: 0.92rem; color: var(--ink); margin: 0; line-height: 1.6; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value-card {
  background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--line);
  padding: 22px 20px 24px; transition: border-color 0.15s ease;
}
.value-card:hover { border-top-color: var(--clay); }
.value-num { display: block; font-family: var(--serif); font-size: 0.95rem; color: var(--clay); margin-bottom: 10px; }
.value-card h4 { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.55; }

.about-partners-head { margin-bottom: 28px; }
.partner-block { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); }
.partner-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.partner-names { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 40px; }
.partner-names li { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--forest); }
.partner-types { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.partner-types li { background: var(--paper); border: 1px solid var(--line); padding: 6px 12px; font-size: 0.86rem; color: var(--ink); }

.partner-invite {
  margin-top: 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--forest);
  padding: 26px 28px;
}
.partner-invite h3 { font-size: 1.4rem; margin-bottom: 4px; }
.partner-invite p { color: var(--muted); font-size: 0.95rem; max-width: 520px; }

@media (max-width: 1000px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .values-grid { grid-template-columns: 1fr; }
  .partner-block { grid-template-columns: 1fr; gap: 10px; }
  .partner-names li { font-size: 1.2rem; }
  .partner-invite { padding: 22px 18px; }
}
/* 7 values: center the second row instead of leaving an empty slot */
.values-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.value-card { flex: 0 1 calc(25% - 12px); }
@media (max-width: 1000px) { .value-card { flex-basis: calc(50% - 8px); } }
@media (max-width: 640px) { .value-card { flex-basis: 100%; } }

/* Partners: two matching cards instead of mixed big text + pills */
.partner-cards { display: grid; grid-template-columns: 1fr 1.6fr; gap: 20px; align-items: stretch; }
.partner-card { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--clay); padding: 24px 26px; }
.partner-card .partner-label { display: block; margin-bottom: 14px; }
.partner-list { list-style: none; }
.partner-list li {
  position: relative; padding: 10px 0 10px 22px; border-top: 1px solid var(--line);
  font-size: 0.96rem; color: var(--ink);
}
.partner-list li::before {
  content: ""; position: absolute; left: 2px; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border-radius: 50%; background: var(--clay);
}
.partner-list-named li { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--forest); }
.partner-list-named li::before { background: var(--forest); }
.partner-list-cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.partner-invite { margin-top: 20px; }
@media (max-width: 900px) {
  .partner-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .partner-list-cols { grid-template-columns: 1fr; }
  .partner-card { padding: 20px 18px; }
}

/* Partners v3: grouped by program, CTA in the section header */
.partners-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 36px; }
.partners-top h2 { font-size: 2.2rem; margin: 8px 0 10px; }
.partners-top p { color: var(--muted); max-width: 560px; }
.partners-top-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.partner-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.partner-col { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--line); padding: 24px 24px 18px; transition: border-color .15s ease; }
.partner-col:hover { border-top-color: var(--clay); }
.partner-col-head { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.partner-col-icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--sand); color: var(--forest); display: flex; align-items: center; justify-content: center; }
.partner-col-prog { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.partner-col .partner-label { display: block; margin-top: 3px; }
.partner-col ul { list-style: none; }
.partner-col li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.93rem; color: var(--ink); }
.partner-col li:last-child { border-bottom: none; }


@media (max-width: 900px) { .partner-cols { grid-template-columns: 1fr; } .partners-top { align-items: flex-start; } }
@media (max-width: 640px) { .partners-top h2 { font-size: 1.7rem; } .partners-top-cta { width: 100%; } }
.partner-col { display: flex; flex-direction: column; }
.partner-col-note { margin-top: auto; padding: 16px 18px; background: var(--sand); border-left: 3px solid var(--clay); }
.partner-col-note p { font-size: 0.88rem; color: var(--ink); line-height: 1.55; margin-bottom: 10px; }
.partner-col-note .link-arrow { font-size: 0.86rem; }
.partner-col ul { margin-bottom: 18px; }

/* ===========================================================
   Homepage — trust strip, program cards, how it works,
   mission + founder, partners, get involved
   =========================================================== */
.home-trust { padding: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.home-trust-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.home-trust-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 22px 18px; font-size: 0.88rem; font-weight: 600; color: var(--ink); line-height: 1.35;
  border-left: 1px solid var(--line);
}
.home-trust-list li:first-child { border-left: none; padding-left: 0; }
.home-trust-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--sand); color: var(--forest); display: flex; align-items: center; justify-content: center; }

.home-programs { padding: 88px 0 80px; }
.home-programs-foot { margin-top: 30px; text-align: center; font-size: 0.96rem; color: var(--muted); }

.home-how { padding: 88px 0; }
.home-how-cta { display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 36px; }

.home-mission { padding: 96px 0; }
.home-mission-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.home-mission-grid h2 { font-size: 2rem; line-height: 1.25; margin: 10px 0 18px; }
.home-mission-grid > div > p { color: var(--muted); font-size: 1.02rem; margin-bottom: 22px; max-width: 560px; }
.home-founder {
  margin: 0; position: relative;
  background: var(--forest); color: #fff;
  padding: 44px 36px 32px;
  overflow: hidden;
}
.home-founder::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px;
  background: url('mark.png') no-repeat center / contain; opacity: 0.08; pointer-events: none;
}
.home-founder-mark { position: absolute; top: 4px; left: 26px; font-family: var(--serif); font-size: 5rem; line-height: 1; color: #F3C7F2; opacity: 0.7; }
.home-founder blockquote { margin: 0 0 26px; font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.55; position: relative; z-index: 1; }
.home-founder .brand-mention { color: #fff; }
.home-founder figcaption { display: flex; align-items: center; gap: 14px; font-size: 0.86rem; color: rgba(255,255,255,0.8); border-top: 1px solid rgba(255,255,255,0.25); padding-top: 18px; position: relative; z-index: 1; }
.home-founder figcaption strong { color: #fff; font-weight: 600; }
.home-founder-initials { flex-shrink: 0; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,0.5); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.2rem; color: #fff; }

.home-partners { padding: 0; }
.home-partners-inner {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.home-partners ul { list-style: none; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 36px; }
.home-partners li { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.home-partners li.home-partners-more { font-family: var(--sans); font-size: 0.9rem; font-weight: 500; color: var(--muted); }

.home-involve { padding: 96px 0; background: #1E1E29; color: #fff; position: relative; overflow: hidden; }
.home-involve-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.home-involve-head h2 { color: #fff; font-size: 2.1rem; margin-bottom: 10px; }
.home-involve-head p { color: rgba(255,255,255,0.72); }
.home-involve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.home-involve-card {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); border-top: 3px solid var(--clay);
  padding: 28px 26px; color: #fff;
  transition: background 0.15s ease, transform 0.15s ease;
}
.home-involve-card:hover { background: rgba(255,255,255,0.09); transform: translateY(-2px); }
.home-involve-card:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.home-involve-icon { width: 48px; height: 48px; border-radius: 50%; background: rgba(243,199,242,0.15); color: #F3C7F2; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.home-involve-card h3 { color: #fff; font-size: 1.35rem; margin-bottom: 8px; }
.home-involve-card p { color: rgba(255,255,255,0.72); font-size: 0.94rem; line-height: 1.6; flex-grow: 1; margin-bottom: 18px; }
.home-involve-link { font-weight: 700; font-size: 0.9rem; color: #F3C7F2; }

@media (max-width: 1000px) {
  .home-trust-list { grid-template-columns: repeat(2, 1fr); }
  .home-trust-list li:nth-child(3) { border-left: none; padding-left: 0; }
  .home-trust-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .home-mission-grid { grid-template-columns: 1fr; gap: 36px; }
  .home-involve-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .home-trust-list { grid-template-columns: 1fr; }
  .home-trust-list li { border-left: none; padding: 14px 0; border-top: 1px solid var(--line); }
  .home-trust-list li:first-child { border-top: none; }
  .home-programs, .home-how, .home-mission, .home-involve { padding: 60px 0; }
  .home-mission-grid h2 { font-size: 1.55rem; }
  .home-founder { padding: 40px 22px 26px; }
  .home-founder blockquote { font-size: 1.05rem; }
  .home-involve-head h2 { font-size: 1.6rem; }
  .home-partners li { font-size: 1.1rem; }
}
/* Mission now sits right after the trust strip: lighter founder card so it
   doesn't compete with the blue hero directly above it */
.home-mission { padding: 88px 0 24px; }
.home-founder { background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-left: 3px solid var(--clay); }
.home-founder::after { opacity: 0.05; }
.home-founder-mark { color: var(--clay); opacity: 0.35; }
.home-founder blockquote { color: var(--ink); }
.home-founder .brand-mention { color: var(--forest); }
.home-founder figcaption { color: var(--muted); border-top-color: var(--line); }
.home-founder figcaption strong { color: var(--ink); }
.home-founder-initials { border-color: var(--line); background: var(--sand); color: var(--forest); }
.home-programs { padding-top: 72px; }
.home-founder::after { display: none; }

/* ===========================================================
   Footer refresh: labeled contact details, smaller badge,
   same light look on phones as on desktop
   =========================================================== */
.footer-grid { grid-template-columns: auto 1.6fr 1fr 1fr 0.9fr; }
.footer-badge svg { width: 78px; }
.footer-org p { max-width: 300px; }
.footer-contact { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.footer-grid .footer-contact li { margin: 0; font-size: 0.86rem; color: var(--ink); line-height: 1.55; display: grid; grid-template-columns: 56px 1fr; gap: 10px; }
.footer-contact-label { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.footer-contact a { color: var(--forest); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.footer-contact-note { font-size: 0.78rem; color: var(--muted); }

@media (max-width: 900px) {
  /* Light footer on phones too (it used to switch to dark, which merged
     with the dark call-to-action band above it) */
  footer.site-footer { background: var(--cream); border-top-color: var(--line); }
  .footer-grid { border-bottom-color: var(--line); }
  .footer-org p { color: var(--muted); }
  .footer-org h4 { color: var(--muted); }
  .footer-org h4 .brand-mention { color: var(--forest); }
  .footer-bottom .brand-mention { color: var(--forest); }
  .footer-badge-col .nonprofit-badge-caption { color: var(--clay-dark); border-bottom-color: var(--clay-dark); }
  .footer-group { border: 1px solid var(--line); background: var(--paper); }
  .footer-group summary { color: var(--ink); }
  .footer-group .footer-caret { border-top-color: var(--muted); }
  .footer-group > ul a { color: var(--ink); }
  .footer-badge svg { width: 72px; }
}
@media (max-width: 900px) {
  .footer-group ul a { color: var(--ink); }
  .footer-group ul a:hover { color: var(--clay-dark); }
  .footer-bottom { color: var(--muted); }
  .footer-grid .footer-contact li { grid-template-columns: 52px 1fr; }
}
.footer-org { min-width: 0; }
.footer-contact-val { min-width: 0; }
.footer-contact-note { margin-left: 4px; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) auto; }
  .footer-group { min-width: 0; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-org { grid-column: 1; grid-row: 1; }
  .footer-badge-col { grid-column: 1; grid-row: 2; }
  .footer-badge-col .footer-badge { flex-direction: row; align-items: center; gap: 14px; }
  .footer-group { grid-column: 1; }
}

/* Compact footer: legal links moved into the bottom bar */
footer.site-footer { padding: 44px 0 22px; }
.footer-grid { grid-template-columns: auto 1.7fr 1fr 1fr; gap: 32px; padding-bottom: 26px; }
.footer-contact { margin-top: 14px; gap: 6px; }
.footer-grid ul li { margin-bottom: 8px; }
.footer-group summary { margin-bottom: 12px; }
.footer-bottom { padding-top: 18px; align-items: center; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal a:hover { color: var(--clay-dark); }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-group { margin-bottom: 10px; }
  .footer-group summary { padding: 16px 0; margin-bottom: 0; }
  .footer-bottom { gap: 8px; }
}
@media (max-width: 640px) {
  .footer-grid { row-gap: 14px; }
  .footer-group { margin-bottom: 0; }
  .footer-badge-col { margin: 4px 0 8px; }
}

/* Footer v3: brand + contact | Explore links (2 columns) | bottom bar */
.footer-grid { grid-template-columns: auto 1.4fr 1fr; align-items: start; }
.footer-links h4 { margin-bottom: 12px; }
.footer-links ul { list-style: none; columns: 2; column-gap: 32px; }
.footer-links li { break-inside: avoid; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) auto; }
  .footer-links { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { grid-column: 1; }
  .footer-links h4 { display: none; }
  .footer-links ul { columns: auto; display: flex; flex-wrap: wrap; gap: 6px 18px; }
  .footer-grid .footer-links ul li { margin: 0; }
  .footer-links a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
}
/* Footer v4: badge | about | contact | explore — fills the row evenly */
.footer-grid { grid-template-columns: auto 1.3fr 1fr 1.1fr; gap: 40px; }
.footer-contact-col h4 { margin-bottom: 12px; }
.footer-contact-col .footer-contact { margin-top: 0; gap: 10px; }
.footer-grid .footer-contact li { grid-template-columns: 1fr; gap: 0; }
.footer-contact-label { padding-top: 0; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .footer-badge-col { grid-column: 1 / -1; grid-row: auto; }
  .footer-org { grid-column: 1 / -1; grid-row: auto; }
  .footer-contact-col, .footer-links { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-contact-col h4 { display: none; }
  .footer-contact { flex-direction: row; flex-wrap: wrap; gap: 8px 28px; }
  .footer-badge-col { order: 3; }
  .footer-org { order: 1; } .footer-contact-col { order: 2; } .footer-links { order: 4; }
}
.footer-grid { grid-template-columns: auto 1.25fr 0.85fr 1.25fr; }
.footer-links li { white-space: nowrap; }
.footer-links ul { column-gap: 28px; }
@media (max-width: 640px) {
  .footer-grid { row-gap: 20px; }
  .footer-badge-col { margin: 0; }
  .footer-links li { white-space: normal; }
}

/* Nav: "Request a Program" as a small outlined button beside Donate Now,
   so only the current page gets the underline */
nav.main-nav a.nav-request {
  font-weight: 600;
  color: var(--forest);
  border: 1px solid var(--forest);
  padding: 8px 16px;
  margin-right: -10px;
  transition: background 0.15s ease, color 0.15s ease;
}
nav.main-nav a.nav-request:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
nav.main-nav a.nav-request.active { background: #EEF2FC; }
@media (max-width: 1024px) {
  nav.main-nav a.nav-request { margin-right: 0; }
}
nav.main-nav a.nav-cta { padding: 9px 18px; border: 1px solid var(--forest) !important; }
nav.main-nav a.nav-request { padding: 9px 18px; margin-right: -12px; }

/* ===========================================================
   Thank you / 404 — next-step cards; legal pages — table of contents
   =========================================================== */
.misc-section { padding: 64px 0 88px; }
.misc-card {
  display: flex; gap: 22px; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--forest);
  padding: 32px 34px; max-width: 820px; margin-bottom: 48px;
}
.misc-check {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%;
  background: var(--forest); color: #fff; font-size: 1.4rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.misc-card h2 { font-size: 1.5rem; margin-bottom: 14px; }
.misc-steps { padding-left: 20px; display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 0.95rem; }
.misc-steps strong { color: var(--ink); }
.misc-note { margin-top: 18px; font-size: 0.9rem; color: var(--muted); }
.misc-note a { color: var(--forest); font-weight: 600; text-decoration: underline; }
.misc-note-center { text-align: center; margin-top: 28px; }
.misc-subhead { font-size: 1.25rem; margin-bottom: 18px; }
.misc-subhead-lg { font-size: 1.6rem; margin-bottom: 22px; }

.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: 104px; border-left: 2px solid var(--line); padding-left: 18px; }
.legal-toc-label { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.legal-toc ol { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.legal-toc a { font-size: 0.88rem; color: var(--ink); }
.legal-toc a:hover { color: var(--clay-dark); text-decoration: underline; }
.legal-toc-help { margin-top: 20px; font-size: 0.82rem; color: var(--muted); }
.legal-toc-help a { color: var(--forest); font-weight: 600; text-decoration: underline; word-break: break-word; }
.legal-article { max-width: 720px; margin: 0; background: var(--paper); border: 1px solid var(--line); padding: 40px 44px; }
.legal-article h2 { scroll-margin-top: 100px; }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc { position: static; border-left: none; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); }
  .legal-toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
}
@media (max-width: 640px) {
  .misc-card { flex-direction: column; padding: 24px 20px; }
  .legal-article { padding: 26px 20px; }
  .legal-toc ol { grid-template-columns: 1fr; }
}

/* Request a Program — one step at a time */
.rp-progress { margin: 6px 0 4px; padding: 18px 0 6px; }
.rp-progress-text { display: flex; justify-content: space-between; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
#rp-progress-name { color: var(--forest); }
.rp-progress-bar { height: 6px; background: var(--sand); overflow: hidden; }
#rp-progress-fill { display: block; height: 100%; width: 25%; background: var(--forest); transition: width 0.3s ease; }
.rp-progress-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 12px; }
.rp-progress-steps li { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--muted); }
.rp-progress-steps li span {
  width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper);
  display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700;
}
.rp-progress-steps li.is-current { color: var(--ink); font-weight: 700; }
.rp-progress-steps li.is-current span { background: var(--forest); border-color: var(--forest); color: #fff; }
.rp-progress-steps li.is-done span { background: var(--sand); border-color: var(--forest); color: var(--forest); font-size: 0; }
.rp-progress-steps li.is-done span::after { content: "✓"; font-size: 0.72rem; }

.rp-form.is-wizard .rp-step, form.is-wizard .rp-step { border-bottom: none; }
.rp-step-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--line); clear: both; }
.rp-step-nav .rp-step-next { margin-left: auto; }
.rp-back { background: none; border: none; padding: 8px 0; font-family: var(--sans); font-size: 0.92rem; font-weight: 600; color: var(--forest); cursor: pointer; }
.rp-back:hover { text-decoration: underline; }
.rp-submit-row .rp-step-nav { border-top: none; padding-top: 0; margin: 0 0 16px; }
form.is-wizard .rp-submit-row { margin-top: 8px; }
form.is-wizard .rp-step legend:focus { outline: none; }
@media (max-width: 640px) {
  .rp-progress-steps li { font-size: 0; gap: 0; justify-content: center; }
  .rp-step-nav .rp-step-next { width: auto; }
}
