/* ═══════════════════════════════════════════════════════════════════════
   Hope on the Block — site design system ("Organic")
   Fonts: Caprasimo (headings) + Figtree (body)
   Palette: warm cream / terracotta / sage
   One file shared by every page — edit tokens here, whole site follows.
   ═══════════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Caprasimo&family=Figtree:wght@400;600;700&display=swap');

:root {
  --color-bg: #f5ead8;
  --color-surface: #ebddc5;
  --color-text: #201e1d;
  --color-accent: #c67139;
  --color-accent-2: #7a8a5e;
  --color-divider: color-mix(in srgb, #201e1d 16%, transparent);

  --color-neutral-100: #f9f4ed;
  --color-neutral-200: #eee7db;
  --color-neutral-300: #dcd3c4;
  --color-neutral-600: #82796a;
  --color-neutral-700: #645c50;
  --color-neutral-800: #474238;
  --color-neutral-900: #2e2b25;

  --color-accent-100: #fff2eb;
  --color-accent-200: #ffe1d0;
  --color-accent-600: #b2622d;
  --color-accent-700: #8c491a;
  --color-accent-800: #643312;

  --color-accent-2-100: #f0fae1;
  --color-accent-2-200: #e1eecc;
  --color-accent-2-300: #ccdbb2;
  --color-accent-2-700: #56633f;
  --color-accent-2-800: #3d472b;

  --font-heading: "Caprasimo", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;

  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px color-mix(in srgb, #2e2b25 14%, transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb, #2e2b25 16%, transparent);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--color-bg); color: var(--color-text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: var(--color-accent-700); text-underline-offset: 3px; }
a:hover { color: var(--color-accent-600); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

h1, h2, h3, h4 {
  font-family: var(--font-heading); font-weight: 400;
  line-height: 1.12; letter-spacing: -0.015em; margin: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--color-accent); color: var(--color-bg);
  padding: 10px 18px; border-radius: 0 0 12px 0; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* Soft, consistent photo treatment (review item 9) */
.washed { filter: saturate(0.72) contrast(0.88) brightness(1.08); }

/* — layout — */
.wrap {
  max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 72px);
  display: flex; flex-direction: column; gap: clamp(64px, 8vw, 104px);
}
.kicker {
  font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  font-weight: 600; color: var(--color-accent-700);
}
.kicker.sage { color: var(--color-accent-2-700); }
.section-head { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.section-head h2 { font-size: clamp(30px, 3.2vw, 42px); margin-left: -0.028em; text-wrap: pretty; }
.lede { margin: 0; font-size: 17px; line-height: 1.65; max-width: 56ch; color: var(--color-neutral-800); }

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: 400;
  font-size: 15px; line-height: 1.2; color: var(--color-text);
  background: transparent; border: 1px solid transparent;
  padding: 12px 22px; min-height: 44px; border-radius: 999px;
}
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); color: var(--color-bg); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary { border-color: var(--color-divider); color: var(--color-text); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); color: var(--color-text); }
.btn-ghost { color: var(--color-accent-700); }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.btn-block { width: 100%; }

/* — nav — */
.nav {
  display: flex; align-items: center; gap: clamp(14px, 2.5vw, 26px);
  padding: 18px clamp(20px, 4vw, 40px); position: relative;
}
.nav-brand {
  font-family: var(--font-heading); font-size: 24px; margin-right: auto;
  color: var(--color-text); text-decoration: none;
}
.nav a:not(.btn):not(.nav-brand) { color: inherit; text-decoration: none; font-size: 15px; }
.nav a:not(.btn):not(.nav-brand):hover,
.nav a[aria-current="page"] { color: var(--color-accent-700); }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 10px;
  color: var(--color-text);
}
@media (max-width: 760px) {
  .nav { flex-wrap: wrap; }
  .nav-toggle { display: block; order: 2; }
  .nav .btn { order: 1; margin-left: auto; }
  .nav-brand { order: 0; }
  .nav-links {
    display: none; flex-direction: column; align-items: flex-start; gap: 4px;
    width: 100%; order: 3; padding-top: 10px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 4px; font-size: 17px !important; width: 100%; }
}
@media (min-width: 761px) {
  .nav-links { display: contents; }
}

/* — hero — */
.hero { position: relative; padding-top: clamp(36px, 6vw, 84px); }
.hero-blob {
  position: absolute; right: -140px; top: -170px; width: 400px; height: 400px;
  border-radius: 50%; background: var(--color-accent-2-200);
  z-index: -1; pointer-events: none;
}
.hero h1 {
  font-size: clamp(40px, 5.4vw, 72px); line-height: 1.06;
  margin-left: -0.028em; text-wrap: pretty;
}
.hero-grid {
  position: relative; z-index: 1; display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.hero-photo {
  border-radius: 50% 50% 46% 54% / 46% 54% 50% 50%;
  overflow: hidden; aspect-ratio: 1 / 1.06; box-shadow: var(--shadow-md);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { max-width: 420px; }
}

/* — stat circles — */
.stats { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.stat {
  width: 190px; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-content: center; text-align: center; padding: 24px;
}
.stat .num { font-family: var(--font-heading); font-size: 42px; line-height: 1; margin: 0; }
.stat .lbl {
  font-size: 13px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600;
  margin: 10px auto 0; max-width: 15ch; text-wrap: balance;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
}
.stat.a1 { background: var(--color-accent-100); } .stat.a1 .num { color: var(--color-accent-700); }
.stat.a2 { background: var(--color-accent-2-300); } .stat.a2 .num { color: var(--color-accent-2-800); }
.stat.a3 { background: var(--color-accent-200); } .stat.a3 .num { color: var(--color-accent-700); }
.stat.a4 { background: var(--color-accent-2-100); } .stat.a4 .num { color: var(--color-accent-2-700); }
@media (min-width: 900px) {
  .stat.a2 { transform: translateY(26px); }
  .stat.a4 { transform: translateY(16px); }
}
@media (max-width: 899px) { .stats { justify-content: center; } .stat { width: 160px; } }

/* — split section (photo + copy) — */
.split {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 80px); align-items: center;
}
.split.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split-photo { border-radius: calc(2 * var(--radius-lg)); overflow: hidden; aspect-ratio: 4 / 4.6; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.split-copy h2 { font-size: clamp(30px, 3.2vw, 42px); margin-left: -0.028em; text-wrap: pretty; }
.split-copy p { margin: 0; font-size: 16px; line-height: 1.65; max-width: 58ch; color: var(--color-neutral-800); }
@media (max-width: 860px) {
  .split, .split.flip { grid-template-columns: 1fr; }
  .split-photo { aspect-ratio: 4 / 3; }
}

/* — card grids — */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card {
  background: var(--color-neutral-100); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 28px;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
}
.card.tint { background: var(--color-accent-2-100); box-shadow: none; }
.card h3 { font-size: 21px; }
.card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--color-neutral-700); flex: 1; }
.card.tint p { color: var(--color-neutral-800); }
.card .more { font-weight: 700; font-size: 14.5px; text-decoration: none; }

/* — drawn icon chips (replaces emoji — review item 5) — */
.ic {
  width: 48px; height: 48px; border-radius: 999px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-accent-100); color: var(--color-accent-700);
}
.ic.sage { background: var(--color-accent-2-100); color: var(--color-accent-2-700); }
.ic.on-tint { background: var(--color-bg); color: var(--color-accent-2-700); }
.ic svg { display: block; }

/* — numbered steps — */
.steps { display: flex; flex-direction: column; gap: 18px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  width: 34px; height: 34px; border-radius: 999px; flex: 0 0 auto;
  background: var(--color-accent-100); color: var(--color-accent-800);
  font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.step p { margin: 0; font-size: 15.5px; line-height: 1.6; }
.step h3 { font-size: 20px; margin-bottom: 4px; }

/* — quote — */
.pull-quote {
  font-family: var(--font-heading); font-weight: 400;
  font-size: clamp(24px, 2.6vw, 32px); line-height: 1.35; max-width: 34ch;
  margin: 0; text-indent: -0.45em;
}

/* — photo gallery — */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.gallery figure { display: flex; flex-direction: column; gap: 10px; }
.gallery .ph { display: block; border-radius: 40px; overflow: hidden; aspect-ratio: 1 / 1; }
.gallery .ph img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption {
  font-size: 13px; line-height: 1.5;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
}

/* — big CTA band — */
.cta-band {
  background: var(--color-accent-2-100); border-radius: calc(2 * var(--radius-lg));
  padding: clamp(32px, 5vw, 60px);
  display: flex; flex-direction: column; gap: 22px; align-items: flex-start;
}
.cta-band h2 {
  font-size: clamp(28px, 3vw, 38px); line-height: 1.15;
  margin-left: -0.028em; max-width: 24ch; text-wrap: pretty;
}
.cta-band p { margin: 0; font-size: 16px; line-height: 1.65; max-width: 56ch; color: var(--color-neutral-800); }
.btn-row { display: flex; gap: 13px; flex-wrap: wrap; }

/* — email signup — */
.signup { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; width: 100%; max-width: 480px; }
.signup-row { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.input {
  flex: 1; min-width: 200px; min-height: 44px; padding: 8px 16px; font: inherit;
  font-size: 15px; color: var(--color-text); caret-color: var(--color-accent);
  background: var(--color-neutral-100);
  border: 1px solid var(--color-divider); border-radius: 999px;
}
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }

/* — FAQ (native details) — */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 780px; }
.faq details {
  background: var(--color-neutral-100); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 6px 26px;
}
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 16px; padding: 16px 0;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-heading); font-size: 22px;
  color: var(--color-accent-700); flex: 0 0 auto;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; font-size: 15px; line-height: 1.65; color: var(--color-neutral-800); }

/* — info panel / checklists — */
.panel {
  background: var(--color-accent-2-100); border-radius: var(--radius-lg);
  padding: 24px 28px; display: flex; flex-direction: column; gap: 10px;
}
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.6; }
.check-list svg { flex: 0 0 auto; margin-top: 4px; color: var(--color-accent-2-700); }

/* — tags — */
.tag {
  display: inline-flex; align-items: center; font-size: 12px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px;
}
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-sage { background: var(--color-accent-2-200); color: var(--color-accent-2-800); }

/* — footer (review item 3: the site's trust seal) — */
.site-footer {
  display: flex; flex-direction: column; gap: 36px;
  padding-bottom: 56px; border-top: 1px solid var(--color-divider);
  padding-top: clamp(36px, 5vw, 56px);
}
.footer-cols { display: flex; gap: clamp(32px, 6vw, 88px); flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; flex: 1 1 280px; align-items: flex-start; }
.footer-brand .brand { font-family: var(--font-heading); font-size: 22px; }
.footer-brand p { margin: 0; font-size: 14px; line-height: 1.6; max-width: 34ch; color: var(--color-neutral-700); }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 44px; height: 44px; border-radius: 999px;
  background: var(--color-accent-100); color: var(--color-accent-700);
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { background: var(--color-accent-200); }
.footer-col { display: flex; flex-direction: column; gap: 12px; flex: 1 1 220px; }
.footer-col.slim { flex: 0 1 170px; }
.footer-col p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--color-neutral-700); }
.footer-col p strong { color: var(--color-text); }
.footer-col a { font-size: 14px; text-decoration: none; padding: 2px 0; }
.legal {
  margin: 0; font-size: 13px; line-height: 1.6;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
}

/* — donate page — */
.donate-grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 72px); align-items: start;
}
@media (max-width: 900px) { .donate-grid { grid-template-columns: 1fr; } }
.donate-card {
  background: var(--color-neutral-100); border-radius: calc(2 * var(--radius-lg));
  box-shadow: var(--shadow-md); padding: clamp(20px, 3vw, 32px);
  display: flex; flex-direction: column; gap: 16px;
}
.impact-row { display: flex; gap: 16px; align-items: flex-start; }
.impact-row p { margin: 0; font-size: 15.5px; line-height: 1.6; }
.impact-row p span { color: var(--color-neutral-700); }
.zeffy-frame { position: relative; overflow: hidden; height: 620px; width: 100%; border-radius: var(--radius-lg); }
.zeffy-frame iframe { position: absolute; border: 0; inset: 0; width: 100%; height: 100%; }
@media (max-width: 640px) { .zeffy-frame { height: 680px; } }
.fine-print { margin: 0; font-size: 13px; line-height: 1.55; color: var(--color-neutral-700); text-align: center; }

/* — page hero (inner pages) — */
.page-hero { position: relative; padding-top: clamp(36px, 5vw, 72px); }
.page-hero h1 {
  font-size: clamp(38px, 5vw, 64px); line-height: 1.06;
  margin-left: -0.028em; text-wrap: pretty; max-width: 20ch;
}
.page-hero .inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }

/* — timeline — */
.timeline { display: flex; flex-direction: column; gap: 0; max-width: 720px; }
.tl-item { display: grid; grid-template-columns: 150px 24px 1fr; gap: 0 18px; }
.tl-when {
  font-size: 13px; letter-spacing: .05em; text-transform: uppercase; font-weight: 700;
  color: var(--color-accent-700); text-align: right; padding-top: 3px;
}
.tl-rail { display: flex; flex-direction: column; align-items: center; }
.tl-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--color-accent); flex: 0 0 auto; margin-top: 5px; }
.tl-line { width: 2px; flex: 1; background: var(--color-divider); }
.tl-body { padding-bottom: 30px; }
.tl-body h3 { font-size: 19px; margin-bottom: 6px; }
.tl-body p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--color-neutral-800); }
@media (max-width: 640px) {
  .tl-item { grid-template-columns: 24px 1fr; }
  .tl-when { grid-column: 2; text-align: left; padding-bottom: 4px; }
  .tl-rail { grid-row: 2; }
  .tl-body { grid-column: 2; }
}
