/* ===================================================================
   MakeAKid Foundation — stylesheet
   Wholesome children's-charity aesthetic. Calm, airy, sincere.
   The horror is entirely in the copy.
   =================================================================== */

:root {
  --bg: #fffdf8;
  --bg-tint: #f4f6f0;
  --ink: #20251f;
  --ink-soft: #5e6b5c;
  --line: #e6e6dc;
  --green: #2e7d5b;          /* hopeful charity green */
  --green-dark: #205c41;
  --green-soft: #e3f0e7;
  --coral: #ef6b4d;          /* warm accent */
  --coral-soft: #fbe6df;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(32,37,31,.05), 0 4px 14px rgba(32,37,31,.05);
  --shadow-md: 0 14px 40px rgba(32,37,31,.10);
  --shadow-lg: 0 24px 60px rgba(32,37,31,.16);
  --maxw: 1140px;
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
sup { font-size: .6em; color: var(--coral); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: .85em; --pad-x: 1.4em;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font); font-weight: 600; font-size: 1rem;
  padding: var(--pad-y) var(--pad-x); border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s, color .2s, border-color .2s;
  white-space: nowrap; line-height: 1;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-sm { font-size: .92rem; --pad-y: .65em; --pad-x: 1.15em; }
.btn-lg { font-size: 1.06rem; --pad-y: .95em; --pad-x: 1.8em; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(46,125,91,.30); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(46,125,91,.36); }
.btn-outline { background: transparent; color: var(--ink); border-color: #d6d6c8; }
.btn-outline:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { color: var(--ink); }

/* ---------- Cookie / compliance banner ---------- */
.cookie-banner {
  position: fixed; bottom: 18px; left: 18px; right: 18px; z-index: 350;
  max-width: 560px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 18px 20px;
  display: flex; flex-direction: column; gap: 12px;
  transform: translateY(160%); transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { font-size: .9rem; color: var(--ink-soft); }
.cookie-fine { display: block; font-size: .78rem; opacity: .7; margin-top: 4px; }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ---------- Top charity bar ---------- */
.topbar { background: var(--green-dark); color: #eaf4ee; font-size: .82rem; }
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 8px 16px; }
.topbar strong { color: #fff; }
.topbar-sep { opacity: .5; }

/* ---------- LIVE news ticker ---------- */
.ticker { display: flex; align-items: center; background: #1b2419; color: #eaf4ee; font-size: .84rem; height: 34px; overflow: hidden; position: relative; }
.ticker-tag { flex: 0 0 auto; background: var(--coral); color: #fff; font-weight: 800; font-size: .7rem; letter-spacing: .08em; padding: 0 12px; height: 100%; display: flex; align-items: center; gap: 6px; z-index: 2; }
.ticker-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse-red 1.4s infinite; }
@keyframes pulse-red { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.ticker-track { display: flex; gap: 54px; white-space: nowrap; padding-left: 54px; animation: scroll-x 46s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span::before { content: "●"; color: var(--coral); margin-right: 54px; font-size: .55rem; vertical-align: middle; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,253,248,.85); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; }
.brand-mark { font-size: 1.4rem; line-height: 1; transition: transform .3s; }
.brand:hover .brand-mark { transform: scale(1.2) rotate(-8deg); }
.brand-tm { color: var(--green); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { font-size: .94rem; font-weight: 500; color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: 4px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 64px; position: relative; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.pill {
  display: inline-block; background: var(--green-soft); color: var(--green-dark);
  border-radius: 999px; padding: 7px 15px; font-size: .82rem; font-weight: 600; margin-bottom: 22px;
}
.hero-title { font-family: var(--serif); font-weight: 600; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.04; letter-spacing: -.02em; }
.hero-lead { font-size: 1.22rem; color: var(--ink-soft); margin: 22px 0 30px; max-width: 520px; }
.hero-lead strong { color: var(--ink); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions.center { justify-content: center; }
.hero-note { margin-top: 24px; font-size: .92rem; color: var(--green); font-weight: 500; }

.hero-visual { position: relative; }
.hero-photo {
  background: linear-gradient(150deg, var(--green-soft), var(--coral-soft));
  border-radius: var(--radius-lg); aspect-ratio: 4/3; display: grid; place-items: center;
  position: relative; box-shadow: var(--shadow-md); overflow: hidden;
}
.hero-emoji { font-size: clamp(5rem, 14vw, 8rem); filter: drop-shadow(0 8px 16px rgba(0,0,0,.12)); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-caption {
  position: absolute; bottom: 14px; left: 14px; right: 14px; background: rgba(255,255,255,.9);
  backdrop-filter: blur(4px); border-radius: 12px; padding: 9px 14px; font-size: .82rem; color: var(--ink-soft); text-align: center;
}
.hero-stat-chip {
  position: absolute; top: -16px; right: -8px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 12px 18px; box-shadow: var(--shadow-md); text-align: center;
}
.hero-stat-chip strong { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--green); }
.hero-stat-chip span { font-size: .76rem; color: var(--ink-soft); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-tint { background: var(--bg-tint); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--coral); margin-bottom: 14px; }
.section-title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.12; letter-spacing: -.015em; }
.lead { font-size: 1.14rem; color: var(--ink-soft); margin-top: 14px; }
.lead.center { max-width: 620px; margin-left: auto; margin-right: auto; }
.muted { color: var(--ink-soft); }
.footnote { font-size: .82rem; color: var(--ink-soft); opacity: .8; margin-top: 22px; }
.micro { font-size: .8rem; color: var(--ink-soft); opacity: .7; margin-top: 16px; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }

/* ---------- Mission ---------- */
.mission { padding: 96px 0; }
.mission-statement { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.3; letter-spacing: -.01em; margin-top: 6px; }
.mission-statement em { color: var(--green); font-style: italic; }
.mission-sub { font-size: 1.1rem; color: var(--ink-soft); margin-top: 26px; max-width: 600px; margin-left: auto; margin-right: auto; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.badges.center-badges { justify-content: center; }
.badge { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px; font-size: .88rem; font-weight: 500; box-shadow: var(--shadow-sm); }

/* ---------- Trust strip ---------- */
.trust-strip { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-label { text-align: center; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 16px; }
.trust-logos { display: flex; flex-wrap: wrap; gap: 14px 38px; justify-content: center; align-items: center; }
.trust-logos span { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: #b4b8a8; transition: color .2s, transform .2s; cursor: default; }
.trust-logos span:hover { color: var(--ink); transform: translateY(-2px); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 28px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); font-family: var(--serif); font-weight: 700; font-size: 1.2rem; margin-bottom: 18px; }
.step h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }
.step p { color: var(--ink-soft); margin-top: 10px; font-size: .98rem; }

/* ---------- Cards (Programs) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.cards-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-featured { border-color: var(--green); box-shadow: 0 16px 40px rgba(46,125,91,.18); }
.card-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--green); color: #fff; font-size: .74rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.card h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1.2; }
.kaas { color: var(--coral); }
.card-desc { color: var(--coral); font-weight: 600; font-size: .88rem; margin-top: 6px; min-height: 38px; }
.card-body { color: var(--ink-soft); margin: 16px 0 26px; font-size: .98rem; flex: 1; }
.card-feats { list-style: none; margin: 16px 0 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-feats li { position: relative; padding-left: 24px; font-size: .92rem; color: var(--ink-soft); }
.card-feats li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; }
.card-feats li.warn::before { content: "⚠"; color: var(--coral); }

/* ---------- Impact ---------- */
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.impact-tile { text-align: center; padding: 34px 18px; background: var(--green-soft); border-radius: var(--radius); transition: transform .2s; }
.impact-tile:nth-child(even) { background: var(--coral-soft); }
.impact-tile:hover { transform: translateY(-4px); }
.impact-num { display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--green-dark); line-height: 1; }
.impact-tile:nth-child(even) .impact-num { color: var(--coral); }
.impact-cap { display: block; margin-top: 10px; color: var(--ink-soft); font-size: .92rem; }

/* ---------- Stories ---------- */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.story { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.story:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.story blockquote { font-size: 1.04rem; line-height: 1.55; }
.story figcaption { margin-top: 14px; font-size: .85rem; color: var(--ink-soft); font-weight: 600; }
.story-lead { grid-column: span 3; background: var(--green); color: #fff; border-color: var(--green); }
.story-lead blockquote { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 500; line-height: 1.35; }
.story-lead figcaption { color: rgba(255,255,255,.8); }

/* ---------- Team ---------- */
/* ---------- Team teaser (index) ---------- */
.team-teaser { background: linear-gradient(150deg, var(--green-soft), var(--coral-soft)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 54px 30px; text-align: center; box-shadow: var(--shadow-sm); }
.team-teaser .section-title { max-width: 760px; margin: 8px auto 0; }
.team-teaser .lead { max-width: 620px; margin-left: auto; margin-right: auto; }
.team-teaser .btn { margin-top: 26px; white-space: normal; max-width: 100%; text-align: center; }
.team-teaser .count-up { color: var(--coral); }

/* ---------- Team page hero ---------- */
.team-hero { padding: 120px 0 50px; text-align: center; background: radial-gradient(900px 360px at 50% -40px, var(--green-soft), transparent 70%); }
.back-link { display: inline-block; color: var(--ink-soft); font-size: .85rem; font-weight: 600; margin-bottom: 14px; transition: color .2s; }
.back-link:hover { color: var(--green); }
.team-hero-title { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.08; max-width: 880px; margin: 6px auto 16px; }
.team-hero .lead { max-width: 700px; margin: 0 auto; }
.team-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.team-stats div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 22px; box-shadow: var(--shadow-sm); min-width: 130px; }
.team-stats strong { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--green); line-height: 1; }
.team-stats span { font-size: .78rem; color: var(--ink-soft); }

/* ---------- Leadership profiles ---------- */
.profiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.profile { display: flex; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.profile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.profile-photo { flex: 0 0 132px; }
.profile-photo img { width: 132px; height: 168px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); background: var(--bg-tint); }
.profile-body h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.profile-role { color: var(--green); font-weight: 700; font-size: .85rem; margin-top: 2px; }
.profile-bio { color: var(--ink-soft); font-size: .9rem; margin-top: 11px; }
.profile-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.profile-tags li { font-size: .72rem; font-weight: 600; color: var(--green-dark); background: var(--green-soft); border-radius: 999px; padding: 3px 11px; }

/* ---------- Org chart ---------- */
.org-list { list-style: none; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.org-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 22px; border-bottom: 1px solid var(--line); font-size: .96rem; }
.org-list li:last-child { border-bottom: 0; }
.org-list li span:first-child { font-weight: 600; }
.org-list li span:last-child { color: var(--coral); font-weight: 700; text-align: right; }

/* ---------- Active nav link ---------- */
.nav-links a.active { color: var(--green); font-weight: 700; }

/* ---------- Employee of the Year popup ---------- */
.award-pop { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 22px; background: rgba(20,25,20,.55); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.award-pop.show { opacity: 1; }
.award-card { position: relative; width: 100%; max-width: 460px; background: var(--bg); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-lg); text-align: center; transform: scale(.92) translateY(14px); transition: transform .3s; max-height: 92vh; overflow-y: auto; }
.award-pop.show .award-card { transform: scale(1) translateY(0); }
.award-close { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border: 0; background: var(--bg-tint); border-radius: 50%; font-size: 1.4rem; line-height: 1; color: var(--ink-soft); cursor: pointer; transition: background .2s; }
.award-close:hover { background: var(--line); }
.award-tag { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--coral); margin-bottom: 14px; }
.award-img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.award-title { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }
.award-body { color: var(--ink-soft); font-size: .92rem; margin: 10px 0 18px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2px 24px; box-shadow: var(--shadow-sm); transition: border-color .2s; }
.faq-item[open] { border-color: var(--green); }
.faq-item summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 1.06rem; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--green); transition: transform .25s; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 0 20px; color: var(--ink-soft); }

/* ---------- Donate CTA ---------- */
.donate-cta { background: radial-gradient(80% 130% at 50% 0%, var(--green-soft) 0%, transparent 65%); }

/* ---------- Footer ---------- */
.footer { background: #1b2419; color: #c4cdbf; padding: 60px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; padding-bottom: 44px; }
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-tm { color: #8fd3b6; }
.footer-brand .brand { font-size: 1.3rem; }
.footer-tag { margin-top: 14px; font-size: .92rem; color: #8b9686; max-width: 280px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-cols h4 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-cols a { display: block; font-size: .92rem; color: #9aa491; padding: 5px 0; transition: color .2s, padding-left .2s; }
.footer-cols a:hover { color: #fff; padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .8rem; color: #7c8674; }
.footer-fine { max-width: 580px; opacity: .85; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 160%);
  background: #1b2419; color: #fff; padding: 14px 22px; border-radius: 999px;
  font-size: .92rem; font-weight: 500; box-shadow: var(--shadow-lg); z-index: 300;
  transition: transform .4s cubic-bezier(.16,1,.3,1); max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- Apply / Donate modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 400; background: rgba(20,28,18,.55); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  position: relative; background: var(--bg); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  width: 100%; max-width: 480px; max-height: calc(100vh - 40px); overflow-y: auto;
  padding: 34px 32px; transform: translateY(20px) scale(.97); transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.modal-overlay.open .modal { transform: none; }
.modal-close { position: absolute; top: 14px; right: 16px; background: none; border: 0; font-size: 1.7rem; line-height: 1; color: var(--ink-soft); cursor: pointer; transition: color .2s; }
.modal-close:hover { color: var(--ink); }
.modal-title { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; line-height: 1.15; margin-top: 4px; }
.modal-sub { color: var(--ink-soft); font-size: .95rem; margin-top: 8px; }
.modal-view { animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Form */
.aform { display: flex; flex-direction: column; gap: 16px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 7px; border: 0; padding: 0; margin: 0; }
.field > span, .field legend { font-size: .9rem; font-weight: 600; color: var(--ink); }
.field input[type="text"], .field select {
  font-family: var(--font); font-size: .95rem; padding: 11px 14px; border: 1.5px solid var(--line);
  border-radius: 12px; background: #fff; color: var(--ink); outline: none; transition: border-color .2s; width: 100%;
}
.field input[type="text"]:focus, .field select:focus { border-color: var(--green); }
.field input[type="range"] { width: 100%; accent-color: var(--green); }
.radio { display: flex; align-items: center; gap: 9px; font-size: .92rem; color: var(--ink-soft); cursor: pointer; padding: 4px 0; font-weight: 400; }
.radio input { accent-color: var(--green); width: 16px; height: 16px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; color: var(--ink-soft); cursor: pointer; line-height: 1.4; }
.check input { accent-color: var(--green); width: 17px; height: 17px; margin-top: 1px; flex: 0 0 auto; }
.check.invalid { color: var(--coral); animation: shake .4s; }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.aform-fine { font-size: .78rem; color: var(--ink-soft); opacity: .7; text-align: center; margin-top: 2px; }
.form-section { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin: 10px 0 -2px; padding-top: 12px; border-top: 1px dashed var(--line); }
.form-section:first-child { border-top: 0; padding-top: 0; }

/* Processing */
.modal-view[data-view="processing"], .modal-view[data-view="done"] { text-align: center; }
.proc-spinner { width: 54px; height: 54px; margin: 8px auto 22px; border: 4px solid var(--green-soft); border-top-color: var(--green); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.proc-log { list-style: none; margin: 22px auto 0; max-width: 320px; text-align: left; display: flex; flex-direction: column; gap: 10px; }
.proc-log li { font-size: .92rem; color: var(--ink-soft); display: flex; align-items: center; gap: 9px; opacity: 0; transform: translateX(-6px); animation: logIn .3s forwards; }
.proc-log li::before { content: "✓"; color: var(--green); font-weight: 800; }
.proc-log li.pending::before { content: "…"; color: var(--coral); }
@keyframes logIn { to { opacity: 1; transform: none; } }

/* Done */
.done-emoji { font-size: 3.4rem; margin: 4px 0 6px; animation: pop .5s cubic-bezier(.16,1.4,.5,1); }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.done-body { color: var(--ink-soft); font-size: .96rem; margin: 16px 0 24px; }

/* ---------- Track Your Child ---------- */
.track-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.track-form input {
  flex: 1; font-family: var(--font); font-size: 1rem; padding: 12px 16px; border: 1.5px solid var(--line);
  border-radius: 999px; background: #fff; color: var(--ink); outline: none; transition: border-color .2s; text-align: center; letter-spacing: .04em; font-weight: 600;
}
.track-form input:focus { border-color: var(--green); }
.track-result { max-width: 520px; margin: 28px auto 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 26px 28px; }
.track-status { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; text-align: center; margin-bottom: 18px; color: var(--green-dark); }
.track-steps { list-style: none; display: flex; flex-direction: column; gap: 0; position: relative; }
.track-steps li {
  position: relative; padding: 0 0 22px 32px; font-size: .94rem; color: var(--ink-soft);
  opacity: 0; transform: translateX(-6px); animation: logIn .35s forwards;
}
.track-steps li::before { content: ""; position: absolute; left: 6px; top: 4px; width: 11px; height: 11px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.track-steps li::after { content: ""; position: absolute; left: 11px; top: 14px; bottom: 0; width: 2px; background: var(--line); }
.track-steps li:last-child { padding-bottom: 0; }
.track-steps li:last-child::after { display: none; }
.track-steps li:last-child::before { background: var(--coral); box-shadow: 0 0 0 4px var(--coral-soft); }
.track-steps li strong { color: var(--ink); }

/* ---------- Child of the Month ---------- */
.cotm { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: center; }
.cotm-photo { aspect-ratio: 1; border-radius: var(--radius-lg); background: linear-gradient(145deg, var(--green-soft), var(--coral-soft)); display: grid; place-items: center; box-shadow: var(--shadow-md); overflow: hidden; }
.cotm-photo span { font-size: 7rem; filter: drop-shadow(0 8px 16px rgba(0,0,0,.12)); }
.cotm-photo img { width: 100%; height: 100%; object-fit: cover; }
.cotm-body .btn { margin-top: 18px; }

/* ---------- "I'd rather not" link ---------- */
.flee-btn {
  margin-top: 18px; background: none; border: 0; color: var(--ink-soft); font-family: var(--font);
  font-size: .85rem; text-decoration: underline; cursor: pointer; opacity: .6; transition: opacity .2s;
}
.flee-btn:hover { opacity: .9; }

/* ---------- Us vs Them comparison ---------- */
.vs-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); background: #fff; -webkit-overflow-scrolling: touch; }
.vs { width: 100%; border-collapse: collapse; min-width: 680px; }
.vs th, .vs td { padding: 15px 16px; text-align: center; font-size: .92rem; border-bottom: 1px solid var(--line); }
.vs thead th { font-family: var(--serif); font-weight: 600; font-size: .98rem; background: var(--bg-tint); color: var(--ink); vertical-align: bottom; line-height: 1.2; }
.vs tbody td:first-child, .vs thead th:first-child { text-align: left; font-weight: 600; color: var(--ink); }
.vs tbody td { color: var(--ink-soft); }
.vs .vs-us { background: var(--green-soft); color: var(--green-dark); font-weight: 700; }
.vs thead .vs-us { background: var(--green); color: #fff; border-radius: 12px 12px 0 0; }
.vs tbody tr:last-child td { border-bottom: 0; }

/* ---------- Social proof popup ---------- */
.social-pop {
  position: fixed; bottom: 22px; left: 22px; z-index: 240;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 12px 16px; display: flex; align-items: center; gap: 12px; max-width: 310px;
  transform: translateX(-130%); transition: transform .5s cubic-bezier(.16,1,.3,1); pointer-events: none;
}
.social-pop.show { transform: translateX(0); }
.sp-emoji { font-size: 1.6rem; }
.sp-body { display: flex; flex-direction: column; line-height: 1.3; }
.sp-body strong { font-size: .88rem; }
.sp-body span { font-size: .76rem; color: var(--ink-soft); }

/* ---------- Support chat ---------- */
.chat-bubble {
  position: fixed; bottom: 22px; right: 22px; z-index: 250;
  width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--green); color: #fff; box-shadow: 0 10px 26px rgba(46,125,91,.42);
  display: grid; place-items: center; font-size: 1.5rem; transition: transform .2s;
}
.chat-bubble:hover { transform: scale(1.08); }
.chat-bubble.hidden { transform: scale(0); pointer-events: none; }
.chat-badge {
  position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--coral); color: #fff; font-size: .72rem; font-weight: 800; border-radius: 999px;
  display: grid; place-items: center; border: 2px solid var(--bg); animation: badge-pop .3s;
}
@keyframes badge-pop { from { transform: scale(0); } to { transform: scale(1); } }
.chat-nudge {
  position: fixed; bottom: 90px; right: 22px; z-index: 249; max-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; border-bottom-right-radius: 4px;
  box-shadow: var(--shadow-lg); padding: 12px 34px 12px 14px; font-size: .86rem; color: var(--ink);
  opacity: 0; transform: translateY(10px) scale(.95); transform-origin: bottom right; pointer-events: none;
  transition: opacity .35s, transform .35s cubic-bezier(.16,1,.3,1);
}
.chat-nudge.show { opacity: 1; transform: none; pointer-events: auto; }
.chat-nudge-close { position: absolute; top: 6px; right: 8px; background: none; border: 0; font-size: 1.1rem; line-height: 1; color: var(--ink-soft); cursor: pointer; }
.chat-window {
  position: fixed; bottom: 22px; right: 22px; z-index: 251;
  width: min(360px, calc(100vw - 32px)); height: 460px; max-height: calc(100vh - 44px);
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(20px) scale(.96); opacity: 0; pointer-events: none;
  transition: transform .3s cubic-bezier(.16,1,.3,1), opacity .3s;
}
.chat-window.open { transform: none; opacity: 1; pointer-events: auto; }
.chat-header { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--green-dark); color: #fff; }
.chat-avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; font-size: 1.2rem; }
.chat-header strong { display: block; font-size: .95rem; }
.chat-status { font-size: .74rem; color: #c8e3d3; display: flex; align-items: center; gap: 5px; }
.chat-dot { width: 7px; height: 7px; border-radius: 50%; background: #8fd3b6; display: inline-block; }
.chat-close { margin-left: auto; background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; line-height: 1; opacity: .8; }
.chat-close:hover { opacity: 1; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-tint); }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: .88rem; line-height: 1.45; }
.msg.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.user { background: var(--green); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg.typing { display: flex; gap: 4px; align-items: center; }
.msg.typing span { width: 6px; height: 6px; background: var(--ink-soft); border-radius: 50%; animation: typing 1.2s infinite; }
.msg.typing span:nth-child(2) { animation-delay: .2s; }
.msg.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%,60%,100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.chat-input input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font-family: var(--font); font-size: .9rem; outline: none; }
.chat-input input:focus { border-color: var(--green); }
.chat-input button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--green); color: #fff; cursor: pointer; font-size: 1rem; transition: background .2s; flex: 0 0 auto; }
.chat-input button:hover { background: var(--green-dark); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Konami / chaos mode ---------- */
body.chaos { animation: hue 4s linear infinite; }
@keyframes hue { to { filter: hue-rotate(360deg); } }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 460px; }
  .hero-stat-chip { right: 8px; }
  .steps, .cards, .team, .stories { grid-template-columns: 1fr 1fr; }
  .story-lead { grid-column: span 2; }
  .profiles { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .cotm { grid-template-columns: 1fr; gap: 24px; }
  .cotm-photo { max-width: 260px; margin: 0 auto; }
}

@media (max-width: 600px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 66px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 16px 22px; gap: 14px; box-shadow: var(--shadow-md);
  }
  .hero { padding: 48px 0 40px; }
  .section { padding: 56px 0; }
  .mission { padding: 64px 0; }
  .section-head { margin-bottom: 38px; }
  .steps, .cards, .team, .stories, .impact-grid { grid-template-columns: 1fr; }
  .story-lead { grid-column: span 1; }
  .team-hero { padding: 96px 0 40px; }
  .team-teaser { padding: 40px 22px; }
  .profile { flex-direction: column; align-items: center; text-align: center; }
  .profile-photo { flex: 0 0 auto; }
  .profile-photo img { width: 150px; height: 188px; }
  .profile-tags { justify-content: center; }
  .org-list li { font-size: .88rem; padding: 13px 16px; }
  .topbar-inner { font-size: .76rem; }
  .topbar-sep { display: none; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .hero-stat-chip { top: auto; bottom: 10px; right: 10px; padding: 9px 13px; }
  .hero-stat-chip strong { font-size: 1.05rem; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; }
}

@media (max-width: 380px) {
  .footer-cols { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
