:root {
  --bg: #FFF9F3;
  --bg-soft: #F8F0FF;
  --ink: #241B2F;
  --muted: #6F6177;
  --primary: #7C3AED;
  --primary-dark: #5B21B6;
  --accent: #F59E0B;
  --rose: #FCE7F3;
  --white: #FFFFFF;
  --line: rgba(36, 27, 47, 0.11);
  --shadow: 0 22px 60px rgba(56, 30, 90, 0.16);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section-pad { padding: 96px 0; }
.section-pad.compact { padding: 72px 0; }
.soft-bg { background: linear-gradient(180deg, #FFF9F3 0%, #F8F0FF 100%); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 249, 243, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.navbar {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--white);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), #EC4899);
  box-shadow: 0 12px 26px rgba(124, 58, 237, 0.28);
}
.brand-text { display: grid; line-height: 1.15; }
.brand-text strong { font-size: 1rem; }
.brand-text small { color: var(--muted); font-size: .78rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: .94rem;
  font-weight: 600;
  color: #4A3A57;
}
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  padding: 10px 16px;
  border: 1px solid rgba(124, 58, 237, .18);
  border-radius: 999px;
  background: var(--white);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(36, 27, 47, .08);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 4px auto;
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(236, 72, 153, .18), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(245, 158, 11, .22), transparent 25%),
    radial-gradient(circle at 65% 88%, rgba(124, 58, 237, .18), transparent 31%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.07fr .93fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 800;
}
h1, h2, h3 { line-height: 1.08; margin: 0; }
h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3rem, 7vw, 6rem);
  letter-spacing: -0.055em;
  max-width: 840px;
}
h1 span { color: var(--primary); }
h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.045em;
}
h3 { font-size: 1.22rem; letter-spacing: -0.02em; }
.hero-lead {
  margin: 24px 0 0;
  font-size: 1.18rem;
  color: #493956;
  max-width: 720px;
}
.hero-actions, .contact-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), #EC4899);
  box-shadow: 0 15px 30px rgba(124, 58, 237, .25);
}
.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
}
.btn-ghost.light { color: var(--white); border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.12); }
.hero-note {
  margin-top: 28px;
  padding: 14px 16px;
  border: 1px solid rgba(124, 58, 237, .18);
  background: rgba(255,255,255,.58);
  color: var(--muted);
  border-radius: var(--radius-md);
  max-width: 640px;
}
.hero-note span { color: var(--ink); font-weight: 800; }

.hero-card {
  padding: 22px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: var(--shadow);
}
.impact-card {
  padding: 26px;
  border-radius: 26px;
  background: var(--white);
  border: 1px solid var(--line);
}
.main-impact {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #FFFFFF, #F7E9FF);
}
.impact-icon { font-size: 2.2rem; }
.impact-card h2 {
  margin-top: 8px;
  font-size: 5.2rem;
  color: var(--primary);
}
.impact-card p { margin: 4px 0 0; color: var(--muted); font-weight: 600; }
.mini-impact-grid { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo-placeholder {
  margin-top: 14px;
  min-height: 190px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(245,158,11,.15), rgba(236,72,153,.15));
  border: 1px dashed rgba(124,58,237,.35);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 22px;
  color: var(--muted);
  font-weight: 700;
}
.placeholder-shape {
  width: 84px;
  height: 84px;
  border-radius: 30% 70% 64% 36% / 40% 45% 55% 60%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  opacity: .78;
}

.two-col, .story-grid, .donate-grid, .transparency-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.section-heading { position: sticky; top: 112px; }
.text-block p, .story-copy p, .donate-copy p, .section-title p, .contact-card p, .transparency-cards p {
  color: var(--muted);
  font-size: 1.02rem;
}
.text-block p:first-child { margin-top: 0; }
.center { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.section-title { margin-bottom: 40px; max-width: 820px; }
.section-title.center { margin-bottom: 52px; }

.needs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.need-card {
  padding: 28px;
  min-height: 260px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(36, 27, 47, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.need-card:hover { transform: translateY(-5px); box-shadow: 0 22px 42px rgba(36, 27, 47, .1); }
.need-icon { font-size: 2rem; display: inline-block; margin-bottom: 18px; }
.need-card p { color: var(--muted); margin-bottom: 0; }

.story-media, .video-frame {
  border-radius: var(--radius-xl);
}
.story-media {
  background: var(--white);
  padding: 14px;
  box-shadow: var(--shadow);
}
.video-frame {
  overflow: hidden;
  background: #21172D;
  aspect-ratio: 16/10;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.caption { margin: 12px 8px 4px; color: var(--muted); font-size: .9rem; }
.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  position: relative;
  padding-left: 34px;
  font-weight: 650;
  color: #3B2E45;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--primary);
  font-size: .85rem;
}

.donate-section {
  color: var(--white);
  background:
    radial-gradient(circle at 20% 20%, rgba(245,158,11,.22), transparent 28%),
    linear-gradient(135deg, #351959, #7C3AED 62%, #EC4899);
}
.donate-section .eyebrow { color: #FDE68A; }
.donate-section p { color: rgba(255,255,255,.78); }
.donation-uses {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.donation-uses span {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  font-weight: 750;
}
.donation-panel {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.96);
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(0,0,0,.18);
}
.donation-panel h3 { margin-bottom: 20px; }
.donation-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  display: grid;
  gap: 8px;
  background: #FFFDFC;
}
.donation-item span { color: var(--muted); font-size: .9rem; font-weight: 750; }
.donation-item strong { font-size: 1.28rem; }
.copy-btn {
  width: fit-content;
  border: 0;
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--white);
  background: var(--primary);
  cursor: pointer;
  font-weight: 800;
}
.small-note { font-size: .88rem; color: var(--muted) !important; margin: 12px 0 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-card {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(36, 27, 47, .07);
}
.gallery-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-card figcaption { padding: 16px 18px; font-weight: 800; }

.transparency-cards {
  display: grid;
  gap: 14px;
}
.transparency-cards article {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--white);
}
.transparency-cards p { margin-bottom: 0; }

.contact-section { padding-top: 40px; }
.contact-card {
  padding: 42px;
  border-radius: var(--radius-xl);
  background: #21172D;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--shadow);
}
.contact-card h2 { color: var(--white); }
.contact-card p { color: rgba(255,255,255,.76); max-width: 650px; }
.contact-card .eyebrow { color: #FDE68A; }

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  background: #150D1E;
  color: rgba(255,255,255,.76);
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-grid strong { color: var(--white); }
.footer-grid p { margin: 4px 0 0; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 24px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 16px;
  color: var(--white);
  background: #21172D;
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: opacity .22s ease, transform .22s ease;
  z-index: 80;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .menu-toggle { display: inline-block; }
  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 86px;
    padding: 18px;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .hero-grid, .two-col, .story-grid, .donate-grid, .transparency-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .section-heading { position: static; }
  .needs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .container, .navbar { width: min(100% - 28px, var(--max)); }
  .section-pad { padding: 68px 0; }
  .hero { min-height: auto; }
  .brand-text small { display: none; }
  .hero-actions, .contact-actions { flex-direction: column; }
  .btn { width: 100%; }
  .mini-impact-grid, .needs-grid, .gallery-grid { grid-template-columns: 1fr; }
  .contact-card, .footer-grid { flex-direction: column; align-items: flex-start; }
  .contact-card { padding: 28px; }
  .impact-card h2 { font-size: 4.3rem; }
}
