
/* === DRAFT BANNER — remove this entire block before public launch === */
.draft-banner {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fdf3e8;
  border-bottom: 1px solid #e8d5b9;
  color: #5a4036;
  font-size: 0.82rem;
  padding: 0.65rem 1.5rem;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  line-height: 1.4;
}
.draft-banner strong { color: #b85420; font-weight: 600; }
.draft-banner-dot {
  width: 7px; height: 7px;
  background: #b85420;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@media (max-width: 600px) {
  .draft-banner { font-size: 0.75rem; padding: 0.5rem 1rem; }
}
/* === END DRAFT BANNER === */

/* ========================================================
   SMILE SUPPLY FOUNDATION — Shared site stylesheet
   v1.0 · 2026
   ======================================================== */

:root {
  --umber-900: #2a1a14;
  --umber-700: #3d2820;
  --umber-600: #5a4036;
  --umber-400: #8a6b5e;
  --terracotta: #b85420;
  --terracotta-dark: #8f3f15;
  --saffron: #f5a623;
  --saffron-light: #ffc961;
  --ivory: #fff8ec;
  --sand: #fbf3e8;
  --sand-dark: #f0e6d2;
  --line: rgba(42,26,20,0.12);
  --line-strong: rgba(42,26,20,0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--sand);
  color: var(--umber-900);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(42,26,20,0.05) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
main { position: relative; z-index: 1; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* ============ NAV ============ */
nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 243, 232, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 2rem;
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--umber-900);
}
.logo-text {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  line-height: 1;
}
.logo-text em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 500;
}
.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--umber-700);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--terracotta); }
.nav-links a.active { color: var(--terracotta); }
.donate-btn {
  background: var(--terracotta) !important;
  color: var(--ivory) !important;
  padding: 0.6rem 1.3rem;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: all 0.2s !important;
  font-size: 0.9rem !important;
}
.donate-btn:hover {
  background: var(--terracotta-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(184, 84, 32, 0.3);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--umber-900);
}

/* ============ PAGE HEADER (sub-pages) ============ */
.page-header {
  padding: 5rem 2rem 4rem;
  position: relative;
}
.page-header-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(184, 84, 32, 0.1);
  color: var(--terracotta-dark);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 2rem;
}
.page-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--terracotta);
  border-radius: 50%;
}
.page-header h1 {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: var(--umber-900);
  margin-bottom: 1.5rem;
  max-width: 900px;
}
.page-header h1 em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 400;
}
.page-header-lede {
  font-size: 1.18rem;
  color: var(--umber-600);
  max-width: 680px;
  line-height: 1.6;
}

/* ============ SECTIONS (general) ============ */
.section {
  padding: 5rem 2rem;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-inner-narrow {
  max-width: 900px;
  margin: 0 auto;
}
.section-dark {
  background: var(--umber-900);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute;
  top: -200px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,166,35,0.15) 0%, transparent 65%);
}
.section-light {
  background: var(--ivory);
}
.section-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}
.section-dark .section-eyebrow { color: var(--saffron); }
.section h2 {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: var(--umber-900);
  margin-bottom: 1.5rem;
}
.section-dark h2 { color: var(--ivory); }
.section h2 em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 400;
}
.section-dark h2 em { color: var(--saffron); }
.section-lede {
  font-size: 1.08rem;
  color: var(--umber-600);
  line-height: 1.65;
  max-width: 680px;
  margin-bottom: 2.5rem;
}
.section-dark .section-lede { color: rgba(255, 248, 236, 0.78); }

/* Body text */
.prose p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--umber-700);
  margin-bottom: 1.25rem;
}
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--umber-900); font-weight: 600; }
.section-dark .prose p { color: rgba(255, 248, 236, 0.82); }
.section-dark .prose strong { color: var(--ivory); }

/* ============ CTAs ============ */
.cta-primary {
  background: var(--terracotta);
  color: var(--ivory);
  padding: 1rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
}
.cta-primary:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(184, 84, 32, 0.3);
}
.cta-secondary {
  color: var(--umber-900);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 1rem 0.5rem;
  border-bottom: 1.5px solid var(--umber-900);
  transition: opacity 0.2s;
}
.cta-secondary:hover { opacity: 0.6; }
.cta-link {
  color: var(--umber-900);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1.5px solid var(--umber-900);
  padding-bottom: 2px;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.cta-link:hover { color: var(--terracotta); border-color: var(--terracotta); }
.section-dark .cta-link { color: var(--ivory); border-color: var(--ivory); }
.section-dark .cta-link:hover { color: var(--saffron); border-color: var(--saffron); }

/* ============ CARDS ============ */
.card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.25s;
}
.card-hover:hover {
  transform: translateY(-4px);
  border-color: var(--terracotta);
  box-shadow: 0 12px 32px rgba(42, 26, 20, 0.1);
}
.card h3 {
  font-family: 'Source Serif 4', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--umber-900);
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
}
.card h3 em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 500;
}
.card p {
  font-size: 0.95rem;
  color: var(--umber-600);
  line-height: 1.6;
}

/* Stats / counters */
.counter-num {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--umber-900);
}
.counter-num .accent {
  color: var(--terracotta);
  font-style: italic;
  font-weight: 400;
}
.section-dark .counter-num { color: var(--ivory); }
.section-dark .counter-num .accent { color: var(--saffron); }

/* ============ FOOTER ============ */
footer.site-footer {
  padding: 4rem 2rem 2rem;
  background: var(--umber-900);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
footer.site-footer::before {
  content: '';
  position: absolute;
  top: -200px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,166,35,0.12) 0%, transparent 65%);
}
.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 248, 236, 0.15);
}
.footer-brand .logo-link {
  color: var(--ivory);
  margin-bottom: 1.2rem;
}
.footer-brand .logo-text { color: var(--ivory); }
.footer-brand .logo-text em { color: var(--saffron); }
.footer-brand p {
  font-size: 0.92rem;
  opacity: 0.75;
  line-height: 1.65;
  max-width: 340px;
}
.footer-col h4 {
  font-family: 'Source Serif 4', serif;
  font-size: 0.98rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--saffron);
  font-style: italic;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.65rem; }
.footer-col a {
  color: var(--ivory);
  opacity: 0.7;
  text-decoration: none;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}
.footer-col a:hover { opacity: 1; color: var(--saffron); }
.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  opacity: 0.55;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom a {
  color: inherit;
  text-decoration: none;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; }
  .nav-mobile-cta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
  }
  .section { padding: 3rem 1.5rem; }
  .page-header { padding: 3rem 1.5rem 2.5rem; }
  nav.site-nav { padding: 0.9rem 1.5rem; }
  footer.site-footer { padding: 3rem 1.5rem 2rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
}
