:root {
  --gold: #C8973A;
  --gold-light: #F5E6C8;
  --gold-dark: #8B6420;
  --earth: #3D2B1F;
  --earth-mid: #6B4423;
  --cream: #FAF7F2;
  --green: #2D5A3D;
  --green-light: #E8F2EC;
  --text: #1A1208;
  --text-mid: #5C4A30;
  --text-light: #9C8060;
  --white: #FFFFFF;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ─── NAV ─────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,247,242,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200,151,58,0.2);
  padding: 0 6%;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  background: var(--earth);
  border-radius: 12px;
  padding: 4px 10px 4px 4px;
  gap: 8px;
}
.nav-logo-img {
  height: 44px;
  width: 44px;
  object-fit: contain;
}
.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
}
.nav-logo-text span { color: var(--gold); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--text-mid);
  font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold);
  color: var(--white);
  padding: 0.5rem 1.4rem;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.9rem; font-weight: 500;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--gold-dark); transform: translateY(-1px); }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--earth); margin: 5px 0; transition: 0.3s; }

/* ─── HERO ─────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--earth) 0%, var(--earth-mid) 55%, #8B6420 100%);
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 100px 6% 60px;
  position: relative;
  overflow: hidden;
}
.hero-pattern {
  position: absolute; inset: 0; opacity: 0.04;
  background-image:
    radial-gradient(circle at 20% 50%, var(--gold) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, var(--gold) 1px, transparent 1px),
    radial-gradient(circle at 60% 80%, var(--gold) 1px, transparent 1px);
  background-size: 40px 40px, 60px 60px, 50px 50px;
  pointer-events: none;
}
.hero-accent {
  position: absolute; top: 0; right: 0;
  width: 45%; height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 600"><polygon points="0,0 400,0 400,600 100,600" fill="%23C8973A" opacity="0.08"/><polygon points="0,100 400,0 400,300 0,400" fill="%23C8973A" opacity="0.05"/></svg>') no-repeat right center;
  background-size: cover;
  pointer-events: none;
}
.hero-tag {
  display: inline-block;
  background: rgba(200,151,58,0.2);
  border: 1px solid rgba(200,151,58,0.4);
  color: var(--gold-light);
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.8rem;
  animation: fadeUp 0.8s ease both;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  max-width: 700px;
  margin-bottom: 1.6rem;
  animation: fadeUp 0.8s 0.15s ease both;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p {
  font-size: 1.1rem; font-weight: 300; line-height: 1.75;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s 0.3s ease both;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeUp 0.8s 0.45s ease both;
}
.hero-stats {
  display: flex; gap: 3rem; flex-wrap: wrap;
  margin-top: 4rem; padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: fadeUp 0.8s 0.6s ease both;
}
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 700;
  color: var(--gold);
  display: block;
}
.hero-stat-label {
  font-size: 0.85rem; color: rgba(255,255,255,0.55);
  font-weight: 300; letter-spacing: 0.05em;
}

/* ─── BUTTONS ──────────────────────────────────────── */
.btn-primary {
  background: var(--gold); color: var(--white);
  padding: 0.85rem 2rem; border-radius: 100px;
  text-decoration: none; font-weight: 500; font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn-secondary {
  background: transparent; color: rgba(255,255,255,0.85);
  padding: 0.85rem 2rem; border-radius: 100px;
  text-decoration: none; font-weight: 500; font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.3);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.6); color: white; transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--gold);
  padding: 0.75rem 1.8rem; border-radius: 100px;
  text-decoration: none; font-weight: 500; font-size: 0.95rem;
  border: 1.5px solid var(--gold);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-outline:hover { background: var(--gold); color: var(--white); transform: translateY(-2px); }

/* ─── SECTION COMMONS ──────────────────────────────── */
section { padding: 90px 6%; }
.section-label {
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.15;
  color: var(--earth);
}
.section-title em { font-style: italic; color: var(--gold); }

/* ─── STORY ────────────────────────────────────────── */
.story {
  background: var(--white);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.story-text p {
  font-size: 1.05rem; line-height: 1.85;
  color: var(--text-mid); margin-top: 1.5rem;
}
.story-visual {
  background: linear-gradient(135deg, var(--earth) 0%, var(--earth-mid) 100%);
  border-radius: 20px; padding: 3rem;
  position: relative; overflow: hidden;
}
.story-visual::before {
  content: '';
  position: absolute; top: -30px; right: -30px;
  width: 150px; height: 150px;
  background: rgba(200,151,58,0.15);
  border-radius: 50%;
}
.story-visual-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-style: italic;
  color: var(--white); line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
}
.story-visual-quote::before {
  content: '\201C';
  font-size: 5rem; color: var(--gold);
  line-height: 0.5; display: block; margin-bottom: 0.5rem;
}
.story-visual-attr { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.story-visual-attr strong { color: var(--gold); display: block; }

/* ─── NEEDS ────────────────────────────────────────── */
.needs { background: var(--cream); }
.needs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 3rem;
}
.need-card {
  background: var(--white);
  border-radius: 16px; padding: 2rem;
  border: 1px solid rgba(200,151,58,0.15);
  transition: transform 0.25s, box-shadow 0.25s;
}
.need-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(61,43,31,0.08); }
.need-icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.2rem;
}
.need-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 600;
  color: var(--earth); margin-bottom: 0.5rem;
}
.need-card p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.65; }
.need-cost {
  margin-top: 1.2rem; padding-top: 1rem;
  border-top: 1px solid rgba(200,151,58,0.2);
  display: flex; justify-content: space-between; align-items: baseline;
}
.need-cost-per { font-size: 0.78rem; color: var(--text-light); }
.need-cost-amt {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700; color: var(--gold);
}

/* ─── BUDGET ───────────────────────────────────────── */
.budget { background: var(--earth); color: var(--white); }
.budget .section-title { color: var(--white); }
.budget-intro { font-size: 1.05rem; color: rgba(255,255,255,0.65); margin-top: 1.2rem; max-width: 580px; }
.budget-bars { margin-top: 3rem; display: flex; flex-direction: column; gap: 1rem; }
.budget-bar-item { display: grid; grid-template-columns: 160px 1fr 80px; align-items: center; gap: 1rem; }
.budget-bar-label { font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.budget-bar-track {
  height: 8px; background: rgba(255,255,255,0.1); border-radius: 100px; overflow: hidden;
}
.budget-bar-fill {
  height: 100%; background: var(--gold); border-radius: 100px;
  transition: width 1s ease;
}
.budget-bar-amt { font-size: 0.9rem; font-weight: 500; color: var(--gold); text-align: right; }
.budget-total {
  margin-top: 2.5rem; padding: 2rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(200,151,58,0.3);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.budget-total-text { font-size: 1rem; color: rgba(255,255,255,0.65); }
.budget-total-text strong { display: block; font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--gold); }
.budget-gap {
  background: rgba(200,151,58,0.12); border: 1px solid rgba(200,151,58,0.3);
  border-radius: 12px; padding: 1rem 1.5rem; text-align: center;
}
.budget-gap-label { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-bottom: 0.3rem; }
.budget-gap-val { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: #FF9F73; font-weight: 700; }

/* ─── HOW TO HELP ──────────────────────────────────── */
.help { background: var(--white); }
.help-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; margin-top: 3rem;
}
.help-card {
  padding: 2rem; border-radius: 16px;
  border: 1px solid rgba(200,151,58,0.15);
  transition: transform 0.25s;
}
.help-card:hover { transform: translateY(-3px); }
.help-card-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; font-weight: 700;
  color: var(--gold-light); line-height: 1;
  margin-bottom: 1rem;
}
.help-card h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 600; color: var(--earth); margin-bottom: 0.6rem; }
.help-card p { font-size: 0.92rem; color: var(--text-mid); line-height: 1.65; }
.help-card-link {
  display: inline-block; margin-top: 1.2rem;
  font-size: 0.88rem; font-weight: 500; color: var(--gold);
  text-decoration: none;
  transition: gap 0.2s, color 0.2s;
}
.help-card-link:hover { color: var(--gold-dark); }

/* ─── DONATE TIERS ─────────────────────────────────── */
.donate { background: var(--green-light); }
.donate .section-title { color: var(--green); }
.donate .section-label { color: var(--green); }
.tiers-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 3rem;
}
.tier {
  background: var(--white);
  border-radius: 20px; padding: 2.2rem;
  border: 2px solid transparent;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  text-align: center;
}
.tier:hover,
.tier.featured { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(200,151,58,0.15); }
.tier.featured { background: linear-gradient(160deg, #FFF8EE 0%, var(--white) 100%); }
.tier-badge {
  display: inline-block; background: var(--gold); color: var(--white);
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.3rem 0.9rem; border-radius: 100px;
  margin-bottom: 1rem;
}
.tier-amount {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; font-weight: 700; color: var(--earth); line-height: 1;
}
.tier-period { font-size: 0.85rem; color: var(--text-light); margin: 0.3rem 0 1.5rem; }
.tier-impact {
  background: var(--green-light); border-radius: 10px; padding: 1rem;
  margin-bottom: 1.5rem; font-size: 0.9rem; color: var(--green); line-height: 1.5;
}
.tier-link {
  display: block; background: var(--gold); color: var(--white);
  padding: 0.75rem; border-radius: 100px;
  text-decoration: none; font-weight: 500; font-size: 0.95rem;
  transition: background 0.2s;
}
.tier-link:hover { background: var(--gold-dark); }
.tier:not(.featured) .tier-link { background: transparent; color: var(--gold); border: 1.5px solid var(--gold); }
.tier:not(.featured) .tier-link:hover { background: var(--gold-light); }

/* ─── SAMUEL ───────────────────────────────────────── */
.samuel {
  background: var(--cream);
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 5rem;
  align-items: start;
}
.samuel-photo {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(61,43,31,0.18);
  width: 380px;
  height: 500px;
}
.samuel-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.samuel-content .section-label { margin-top: 0; }
.samuel-content p { font-size: 1.02rem; color: var(--text-mid); line-height: 1.82; margin-top: 1.2rem; }
.contact-list { list-style: none; margin-top: 2rem; display: flex; flex-direction: column; gap: 0.8rem; }
.contact-list li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; color: var(--text-mid); }
.contact-list a { color: var(--gold); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--gold-light); display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}

/* ─── FOOTER ───────────────────────────────────────── */
footer {
  background: var(--earth);
  color: rgba(255,255,255,0.5);
  padding: 3rem 6%;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-logo-img { height: 80px; width: 80px; object-fit: contain; }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.45); max-width: 220px; }
footer a { color: var(--gold); text-decoration: none; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; }

/* ─── ANIMATIONS ───────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 900px) {
  .needs-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(250,247,242,0.98); flex-direction: column;
    padding: 1.5rem 6%; gap: 1rem;
    border-bottom: 1px solid rgba(200,151,58,0.2);
  }
  .nav-links.open { display: flex; }
  .nav-cta { display: none; }
  .story { grid-template-columns: 1fr; gap: 2.5rem; }
  .help-grid { grid-template-columns: 1fr; }
  .tiers-grid { grid-template-columns: 1fr; }
  .samuel { grid-template-columns: 1fr; gap: 2rem; }
  .samuel-photo { width: 100%; max-width: 340px; height: 420px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .needs-grid { grid-template-columns: 1fr; }
  .budget-bar-item { grid-template-columns: 1fr; gap: 0.3rem; }
}
