:root {
  --ink: #241f1a;
  --muted: #6f6258;
  --soft: #efe8dc;
  --soft-2: #e0d2bf;
  --paper: #fffdf8;
  --line: #d7c9b7;
  --green: #2f473b;
  --green-2: #3f604f;
  --gold: #9a6838;
  --blue: #375f70;
  --shadow: 0 12px 30px rgba(35, 39, 34, 0.075);
  --radius: 22px;
  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fffdf8 0%, #fbf7ef 54%, #f2eadf 100%);
  font-family: var(--font);
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  background: var(--green);
  color: #fff;
  padding: .75rem 1rem;
  border-radius: 999px;
  z-index: 99;
}
.skip-link:focus { left: 16px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 250, 241, .93);
  border-bottom: 1px solid rgba(199, 177, 149, .55);
}
.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: .9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: -.025em;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f473b 0 45%, #9a6838 46% 62%, #375f70 63% 100%);
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.75);
}
.brand span:last-child { display: block; line-height: 1.1; }
.nav-links {
  display: flex;
  align-items: center;
  gap: .45rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 660;
  padding: .56rem .82rem;
  border-radius: 999px;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--green); background: var(--soft); }
.menu-toggle { display: none; }
.button, button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border: 0;
  border-radius: 999px;
  padding: .78rem 1.05rem;
  min-height: 44px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 760;
  box-shadow: 0 8px 18px rgba(39, 72, 59, .14);
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}
.button:hover { transform: translateY(-1px); background: var(--green-2); box-shadow: 0 10px 22px rgba(39,72,59,.17); }
.button.secondary { background: transparent; color: var(--green); box-shadow: inset 0 0 0 1px var(--line); }
.button.secondary:hover { background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.hero-grid > *, .split > *, .contact-panel > *, .final-cta > * { min-width: 0; }
.hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 4.35rem;
  background: linear-gradient(135deg, #efe8dc 0%, #fffdf8 54%, #eef2ef 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(47,71,59,.055) 1px, transparent 1px), linear-gradient(180deg, rgba(55,95,112,.055) 1px, transparent 1px); background-size: 44px 44px, 44px 44px;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .96fr);
  gap: clamp(2rem, 4vw, 3.2rem);
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--green);
  background: rgba(39,72,59,.08);
  border: 1px solid rgba(39,72,59,.13);
  border-radius: 999px;
  padding: .35rem .75rem;
  font-size: .86rem;
  font-weight: 760;
}
h1, h2, h3 { line-height: 1.08; letter-spacing: -.043em; margin: 0 0 1rem; text-wrap: balance; }
h1 { font-size: clamp(2.55rem, 7vw, 5.35rem); max-width: 850px; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.65rem); letter-spacing: -.03em; }
p { margin: 0 0 1rem; }
.lede { font-size: clamp(1.12rem, 2vw, 1.38rem); color: var(--muted); max-width: 690px; }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.7rem; }
.hero-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: rgba(255,253,248,.94);
  border: 1px solid rgba(180,166,145,.72);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-card picture { display: block; position: relative; background: #eadfce; }
.hero-card picture::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(255,253,248,.08), rgba(47,71,59,.08)); }
.hero-card picture img { aspect-ratio: 16 / 11; width: 100%; object-fit: cover; filter: saturate(.86) contrast(.94) brightness(1.02); }
.hero-card-content { padding: 1.1rem 1.2rem 1.25rem; min-width: 0; }
.hero-card-content h3, .hero-card-content p { max-width: 100%; overflow-wrap: anywhere; }
.caption { color: var(--muted); font-size: .92rem; }
.section { padding: 4.75rem 0; }
.section.soft { background: linear-gradient(180deg, #f1eadf, #f7f2ea); }
.story-panel { position: relative; }
.story-panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(49,76,59,.025) 0 1px, transparent 1px 44px); }
.story-panel > .container { position: relative; }
.section.tight { padding: 3.25rem 0; }
.split {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(320px, 1.18fr);
  gap: clamp(2rem, 4vw, 3.1rem);
  align-items: start;
}
.eyebrow { color: var(--gold); font-size: .78rem; font-weight: 820; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .75rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card, .notice, .quote-card {
  background: rgba(255,253,248,.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(44,35,25,.065);
}
.card { padding: 1.55rem; }
.card p { color: var(--muted); }
.icon {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: var(--soft-2);
  display: grid;
  place-items: center;
  color: var(--green);
  font-weight: 900;
  margin-bottom: 1rem;
}
.list-clean { padding-left: 1.15rem; color: var(--muted); }
.list-clean li { margin: .46rem 0; }
.simple-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.simple-donation-section { background: linear-gradient(180deg, #fffdf8, #f6efe5); }
.contribution-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: stretch;
}
.contribution-panel-large { align-items: center; }
.contribution-action-card {
  background: linear-gradient(180deg, rgba(255,253,248,.98), rgba(244,238,228,.96));
  border: 1px solid rgba(154,104,56,.22);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(44,35,25,.06);
  padding: clamp(1.45rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.contribution-action-card-large { min-height: 280px; }
.support-label {
  display: inline-flex;
  align-self: flex-start;
  border-radius: 999px;
  padding: .28rem .68rem;
  background: rgba(47,71,59,.08);
  color: var(--green);
  font-size: .78rem;
  font-weight: 820;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}
.contribution-action-card h3 { margin-bottom: .65rem; }
.contribution-action-card p { color: var(--muted); }
.support-button { margin-top: 1rem; align-self: flex-start; text-align: center; line-height: 1.15; white-space: normal; }
.secure-note { margin: .8rem 0 0; }
.notice { padding: 1.2rem 1.35rem; color: var(--muted); }
.notice strong { color: var(--ink); }
.quote-card { padding: 2rem; font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.35; color: var(--green); background: #fffdf8; border-left: 6px solid rgba(55,95,112,.42); }
.page-hero { padding: 4.4rem 0 3.25rem; background: linear-gradient(135deg, #efe8dc, #fffdf8); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); max-width: 920px; }
.content-narrow { max-width: 820px; }
.timeline { display: grid; gap: 1rem; }
.timeline-item { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: start; }
.timeline-marker { width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: white; display: grid; place-items: center; font-weight: 820; }
.contact-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr); gap: 1rem; }
.contact-box { padding: clamp(1.45rem, 3vw, 1.9rem); background: rgba(255,253,248,.94); border: 1px solid rgba(215,201,183,.82); border-radius: var(--radius); box-shadow: 0 6px 18px rgba(44,35,25,.045); }
.email-link { font-weight: 780; color: var(--green); overflow-wrap: anywhere; }
.final-cta {
  background: var(--green);
  color: #fff;
  border-radius: 32px;
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}
.final-cta p { color: rgba(255,255,255,.78); max-width: 690px; }
.final-cta .button { background: #fff; color: var(--green); box-shadow: none; }
.site-footer { padding: 3.35rem 0; border-top: 1px solid rgba(215,201,183,.9); background: #f2eadf; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.footer-links { display: flex; flex-wrap: wrap; gap: .45rem 1rem; justify-content: flex-end; align-content: start; }
.footer-links a { text-decoration: none; font-weight: 700; padding: .2rem 0; }
.legal-small { font-size: .88rem; line-height: 1.58; margin-top: 1rem; max-width: 720px; }
.attribution { font-size: .78rem; color: #7f8b85; margin-top: .6rem; }
@media (max-width: 1040px) and (min-width: 861px) {
  .contribution-panel { grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr); }
}
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .6rem .82rem; font-weight: 780; }
  .nav-links { display: none; position: absolute; left: 1rem; right: 1rem; top: 74px; padding: .8rem; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,253,248,.98); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .nav-links a { text-align: center; }
  .hero { padding: 3.8rem 0 3.4rem; }
  .hero-grid, .split, .contact-panel, .final-cta, .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.2rem, 7.5vw, 3.6rem); max-width: 100%; text-wrap: auto; overflow-wrap: normal; }
  .hero .lede { max-width: 22rem; font-size: 1.04rem; text-wrap: auto; overflow-wrap: anywhere; }
  .hero-actions { max-width: 22rem; width: 100%; }
  .hero-actions .button { width: 100%; max-width: 100%; }
  .card-grid, .simple-card-grid, .contribution-panel { grid-template-columns: 1fr; }
  .support-button { width: 100%; align-self: stretch; }
  .final-cta { border-radius: 24px; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .nav-wrap { padding: .8rem 1rem; }
  .brand-mark { width: 36px; height: 36px; }
  .brand span:last-child { font-size: .95rem; }
  .section { padding: 3.7rem 0; overflow-x: hidden; }
  .container { width: 100%; max-width: 100%; padding-left: 1rem; padding-right: 1rem; overflow-x: hidden; }
  .page-hero, .support-intro-section, .hero-grid, .split, .contribution-panel, .contact-panel, .final-cta, .footer-grid { width: 100%; max-width: 100%; overflow-x: hidden; }
  .page-hero h1, .section h2, .contribution-action-card h3, .contribution-action-card p, .notice { max-width: 100%; overflow-wrap: anywhere; text-wrap: auto; }
  .contribution-action-card { width: 100%; max-width: 100%; }
  .support-button { min-width: 0; overflow-wrap: anywhere; }
  .hero-card { width: min(100%, calc(100vw - 2rem)); max-width: calc(100vw - 2rem); justify-self: start; }
  .hero-card-content { padding: 1rem; }
  .hero-card-content h3 { font-size: 1.12rem; line-height: 1.18; }
  .hero-card-content p { font-size: .95rem; line-height: 1.55; }
  h1 { font-size: clamp(2rem, 8.7vw, 2.35rem); letter-spacing: -.04em; max-width: 100%; overflow-wrap: normal; text-wrap: auto; }
  .hero h1 { font-size: clamp(1.95rem, 8.4vw, 2.22rem); max-width: 20.75rem; }
  .page-hero h1 { font-size: clamp(2rem, 8.7vw, 2.45rem); }
  .lede { font-size: 1.04rem; max-width: 100%; overflow-wrap: anywhere; text-wrap: auto; }
  .hero-actions, .cta-actions { width: 100%; }
  .hero-actions .button, .cta-actions .button { width: 100%; max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
