:root {
  --terracotta: #b8563c;
  --terracotta-dark: #8a3f2a;
  --forest: #3d6b4f;
  --sand: #f5f0eb;
  --sand-warm: #ede6de;
  --ivory: #faf8f5;
  --earth: #8b7355;
  --foreground: #2c2420;
  --muted: #7a6e68;
  --border: #e8e2db;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: Georgia, "Times New Roman", serif;
  background: var(--ivory);
  color: var(--foreground);
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

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

a { color: var(--terracotta); text-decoration: none; }
a:hover { color: var(--terracotta-dark); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.site-header {
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: system-ui, sans-serif;
  font-weight: 700;
  color: var(--foreground);
  font-size: 1.05rem;
}
.brand img { width: 42px; height: 42px; border-radius: 50%; object-fit: contain; }
.nav-links { display: flex; gap: 0.25rem; align-items: center; list-style: none; }
.nav-links a {
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--foreground); background: var(--sand); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-family: system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-dark); color: #fff; }
.btn-outline {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
}
.btn-outline:hover { background: rgba(255,255,255,0.22); color: #fff; }
.btn-ghost { background: var(--sand); color: var(--foreground); }
.btn-ghost:hover { background: var(--sand-warm); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--foreground);
}

@media (max-width: 768px) {
  .brand img { width: 42px; height: 42px; border-radius: 50%; object-fit: contain; }
.nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--ivory); border-bottom: 1px solid var(--border); padding: 0.75rem 1.25rem; }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(0,0,0,0.65), rgba(0,0,0,0.35), transparent), url("assets/hero-children.jpg");
  background-size: cover;
  background-position: center;
}
.hero .container { position: relative; z-index: 1; padding-top: 3rem; padding-bottom: 3rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); max-width: 620px; }
.hero p { margin-top: 1rem; max-width: 560px; font-size: 1.1rem; }
.hero-actions { margin-top: 1.5rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Sections */
section { padding: 4rem 0; }
.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}
.eyebrow {
  color: var(--terracotta);
  font-family: system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.section-title h2 { margin-top: 0.5rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-title p { margin: 1rem auto 0; max-width: 640px; color: var(--muted); }

.mission { text-align: center; max-width: 720px; margin: 0 auto; }
.mission p { margin-top: 1rem; color: var(--muted); font-size: 1.05rem; }

/* Stats */
.stats { background: var(--sand); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 3rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 720px; margin: 0 auto; text-align: center; }
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-number { font-family: system-ui, sans-serif; font-size: 2.25rem; font-weight: 700; color: var(--terracotta); }
.stat-label { color: var(--muted); font-size: 0.9rem; margin-top: 0.25rem; }

/* Card grid */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); transform: translateY(-2px); }
.card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card-body { padding: 1.25rem; }
.card-body h3 { font-size: 1.15rem; }
.card-body p { color: var(--muted); font-size: 0.95rem; margin-top: 0.5rem; }

.center { text-align: center; margin-top: 2rem; }

/* CTA */
.cta { background: var(--terracotta); color: #fff; text-align: center; }
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta p { margin: 1rem auto 0; max-width: 620px; opacity: 0.95; }
.cta-actions { margin-top: 2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta .btn-primary { background: #fff; color: var(--terracotta); }
.cta .btn-primary:hover { background: rgba(255,255,255,0.9); }

/* Content pages */
.page-header { background: var(--sand); padding: 3rem 0; text-align: center; }
.page-header h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
.page-header p { margin-top: 0.75rem; color: var(--muted); max-width: 640px; margin-left: auto; margin-right: auto; }

.prose p { color: var(--muted); margin-top: 1rem; }
.prose h2 { margin-top: 2rem; font-size: 1.5rem; }
.prose ul { margin-top: 1rem; padding-left: 1.25rem; color: var(--muted); }
.prose li { margin-top: 0.5rem; }

/* Sponsor tiers */
.tier {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.2s;
}
.tier.featured { border-color: var(--terracotta); border-width: 2px; position: relative; }
.tier .price { font-family: system-ui, sans-serif; font-size: 2.5rem; font-weight: 700; color: var(--terracotta); }
.tier .price small { font-size: 0.9rem; color: var(--muted); font-weight: 400; }
.tier h3 { margin-top: 0.5rem; }
.tier ul { list-style: none; margin: 1.25rem 0; text-align: left; }
.tier li { padding: 0.4rem 0; color: var(--muted); font-size: 0.95rem; }
.tier li::before { content: "✓ "; color: var(--forest); font-weight: bold; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1.3fr; } }
.contact-info { background: var(--sand); padding: 2rem; border-radius: 12px; }
.contact-info h3 { margin-bottom: 1rem; }
.contact-info p { color: var(--muted); margin-top: 0.5rem; }

.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-family: system-ui, sans-serif; font-size: 0.9rem; font-weight: 500; margin-bottom: 0.35rem; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}
.form-group input:focus, .form-group textarea:focus { outline: 2px solid var(--terracotta); outline-offset: 1px; border-color: var(--terracotta); }
.form-message { margin-top: 1rem; padding: 0.75rem; border-radius: 8px; background: #e8f0ea; color: var(--forest); display: none; }
.form-message.show { display: block; }

/* Footer */
.site-footer { background: var(--sand); border-top: 1px solid var(--border); padding: 3rem 0 1.5rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-grid h4 { font-size: 1rem; margin-bottom: 0.75rem; }
.footer-grid p, .footer-grid li { color: var(--muted); font-size: 0.9rem; }
.footer-grid ul { list-style: none; }
.footer-grid li { padding: 0.25rem 0; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--foreground); }
.copyright { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }

@media (max-width: 480px) { .brand span { max-width: 210px; line-height: 1.15; } }
