:root {
  --bg: #faf6ef;
  --paper: #fffbf4;
  --ink: #1e1b16;
  --ink-soft: #5c5347;
  --line: #e4d8c3;
  --brand: #0d7a6b;
  --brand-dark: #095e53;
  --accent: #e8941e;
  --accent-soft: #fff0d4;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(30,27,22,0.06);
  --shadow-md: 0 8px 28px rgba(30,27,22,0.09);
  --shadow-lg: 0 16px 48px rgba(30,27,22,0.12);
  --max-w: 1120px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--brand-dark); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3, h4 {
  font-family: "DM Serif Display", Georgia, serif;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p { color: var(--ink-soft); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.container { width: min(var(--max-w), calc(100% - 2rem)); margin-inline: auto; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,246,239,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 72px;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand-logo { height: 48px; width: auto; object-fit: contain; }

.site-nav { display: flex; gap: 0.25rem; align-items: center; }
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.site-nav a:hover, .site-nav a.active { color: var(--ink); background: rgba(13,122,107,0.08); }

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 10px;
  width: 42px;
  height: 38px;
  font-size: 1.15rem;
  cursor: pointer;
  color: var(--ink);
}

.header-cta { white-space: nowrap; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.72rem 1.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.2s, background 0.2s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 14px rgba(13,122,107,0.25);
}
.btn-primary:hover { background: var(--brand-dark); box-shadow: 0 6px 20px rgba(13,122,107,0.3); }

.btn-secondary {
  background: var(--paper);
  border: 1.5px solid var(--line);
  color: var(--ink);
}
.btn-secondary:hover { border-color: var(--brand); color: var(--brand-dark); }

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(232,148,30,0.3);
}
.btn-accent:hover { background: #d4850f; }

.btn-sm { padding: 0.52rem 1rem; font-size: 0.84rem; }

/* ── Sections ── */
.section { padding: 5rem 0; }
.section-alt { background: var(--paper); }
.section-tight { padding: 3.5rem 0; }

.kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  margin-bottom: 1rem;
  max-width: 48ch;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 60ch;
  margin-bottom: 2rem;
}

/* ── Hero ── */
.hero {
  padding: 5rem 0 4rem;
  background:
    radial-gradient(ellipse at 70% 10%, rgba(13,122,107,0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 80%, rgba(232,148,30,0.06) 0%, transparent 50%),
    var(--bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 1.2rem;
}

.hero-text p { font-size: 1.08rem; max-width: 54ch; margin-bottom: 1.5rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }

.hero-visual {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-img {
  width: 100%;
  max-width: 420px;
  height: auto;
}

/* ── Problem ── */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.problem-card {
  padding: 1.5rem;
  border-left: 4px solid var(--accent);
  background: var(--paper);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.problem-card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }

/* ── Who We Are ── */
.who-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.who-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.who-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.who-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ── Impact ── */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.impact-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.impact-number {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--brand);
  display: block;
  margin-bottom: 0.3rem;
}

.impact-card p { font-size: 0.92rem; margin: 0; }

/* ── Projects ── */
.project-grid { display: grid; gap: 1rem; margin-top: 2rem; }

.project-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}
.project-row:hover { box-shadow: var(--shadow-md); }

.project-row h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.project-row p { margin: 0; font-size: 0.93rem; }

/* ── Involve ── */
.involve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.involve-card {
  padding: 1.3rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.involve-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.involve-card p { font-size: 0.9rem; flex-grow: 1; }
.involve-card a { font-size: 0.88rem; font-weight: 700; margin-top: 0.8rem; }

/* ── Testimonials ── */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-card {
  padding: 1.3rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--brand);
}

.testimonial-card p { font-style: italic; font-size: 0.95rem; }
.testimonial-card .t-source {
  display: block;
  margin-top: 0.6rem;
  font-style: normal;
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--brand-dark);
}

/* ── Transparency ── */
.transparency-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.transparency-card dl {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0.5rem 1rem;
}

.transparency-card dt { font-weight: 700; color: var(--ink); }
.transparency-card dd { color: var(--ink-soft); }

/* ── CTA Band ── */
.cta-band {
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 60%, #1aac96 100%);
  color: #fff;
  text-align: center;
}

.cta-band .section-title { color: #fff; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 50ch; margin-inline: auto; margin-bottom: 1.5rem; }
.cta-band .hero-actions { justify-content: center; }
.cta-band .btn-secondary { background: #fff; border-color: transparent; color: var(--brand-dark); }

/* ── Page Hero (project pages) ── */
.page-hero { padding: 5rem 0 2rem; }

.page-hero-inner {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.page-hero-inner h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
.page-hero-inner p { font-size: 1.05rem; max-width: 72ch; }

/* ── Process ── */
.process-steps { display: grid; gap: 1rem; margin-top: 1.5rem; }

.step {
  padding: 1rem 1rem 1rem 1.2rem;
  border-left: 4px solid var(--accent);
  background: var(--paper);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.step h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }

/* ── Donation Cards ── */
.donation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.donation-card {
  padding: 1.2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.donation-card h3 {
  font-size: 1.15rem;
  color: var(--brand);
  margin-bottom: 0.4rem;
}

.donation-notes { margin-top: 1rem; font-size: 0.9rem; color: var(--ink-soft); }

/* ── Two Column ── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.card h2 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }

.clean-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.clean-list li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--ink-soft);
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ── Stripe ── */
.stripe-wrap { display: grid; gap: 0.8rem; margin-top: 1rem; }

/* ── Bank Table ── */
.bank-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.bank-table th, .bank-table td {
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line);
  text-align: left;
  font-size: 0.92rem;
}
.bank-table th {
  background: #f5f0e6;
  font-weight: 700;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.contact-list li {
  padding: 0.7rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
}

.contact-list li strong { display: block; font-size: 0.82rem; color: var(--ink); margin-bottom: 0.15rem; }

.contact-form { display: grid; gap: 0.8rem; }
.contact-form label { font-weight: 700; font-size: 0.9rem; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
}
.contact-form textarea { min-height: 120px; resize: vertical; }

/* ── About Page ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.value-tag {
  padding: 0.7rem 1rem;
  background: var(--accent-soft);
  border: 1px solid #f0d9a8;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  color: #6b4e14;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.team-member {
  padding: 1.2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-align: center;
}

.team-member .name {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.2rem;
}

.team-member .role { font-size: 0.84rem; color: var(--brand); font-weight: 600; }

/* ── Footer ── */
.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: #f0e8d8;
  padding: 2rem 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
}

.footer-inner p { font-size: 0.9rem; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 0.8rem; }
.footer-nav a { text-decoration: none; font-weight: 600; font-size: 0.88rem; }

.note { font-size: 0.84rem; color: var(--ink-soft); }

/* ── Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.show { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .site-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 0.1rem;
    padding: 0.8rem 1rem;
    transform: translateY(-120%);
    transition: transform 0.25s ease;
    box-shadow: var(--shadow-md);
  }
  .site-nav.open { transform: translateY(0); }
  .menu-toggle { display: inline-grid; place-items: center; }
  .header-cta { display: none; }
  .hero-inner, .problem-grid, .grid-2, .contact-grid, .footer-inner { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .involve-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .transparency-card dl { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .donation-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .brand-logo { height: 40px; }
  .hero { padding: 3.5rem 0 3rem; }
  .hero h1 { font-size: 1.8rem; }
  .section { padding: 3.5rem 0; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .involve-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .page-hero-inner { padding: 1.5rem; }
  .cta-band { padding: 1.8rem 1.2rem; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}
