/* ==========================================================================
   Winter Haven School Fund — style.css
   Warm, trustworthy, hand-built · no frameworks · 2026
   ========================================================================== */

:root {
  --paper: #faf6ef;
  --cream: #f3ecdf;
  --ink: #21302a;
  --green: #1d5c41;
  --green-deep: #143f2d;
  --sun: #e9b44c;
  --sun-deep: #d09a2e;
  --text: #3c4a44;
  --muted: #6b7a72;
  --line: rgba(29, 92, 65, 0.15);
  --serif: "Lora", Georgia, serif;
  --sans: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1100px;
  --r: 14px;
  --shadow: 0 18px 44px -18px rgba(20, 63, 45, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); transition: color 0.25s var(--ease); }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); line-height: 1.12; font-weight: 600; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--cream { background: var(--cream); }
.section--green { background: var(--green-deep); }
.section--green h2, .section--green h3 { color: #fff; }
.section--green p { color: #cfe0d6; }

.eyebrow {
  display: block; font-size: 12px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--sun-deep); margin-bottom: 14px;
}
.section--green .eyebrow { color: var(--sun); }
.section-head { max-width: 680px; margin: 0 auto 54px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 44px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 18px; }

/* buttons */
.btn {
  display: inline-block; font-size: 15px; font-weight: 600;
  letter-spacing: 0.02em; padding: 15px 34px;
  border-radius: 999px; text-decoration: none;
  transition: all 0.3s var(--ease); border: 2px solid transparent;
}
.btn--donate { background: var(--sun); color: var(--green-deep); }
.btn--donate:hover { background: var(--sun-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline { border-color: var(--green); color: var(--green); }
.btn--outline:hover { background: var(--green); color: #fff; }
.btn--light { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn--light:hover { background: #fff; color: var(--green-deep); }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 239, 0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 38px; height: 38px; flex: 0 0 auto; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--ink); line-height: 1.15; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--green); }
.nav .btn { padding: 10px 22px; font-size: 14px; }

/* hero */
.hero { padding: 90px 0 80px; text-align: center; position: relative; overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; z-index: 0; opacity: 0.55;
}
.hero::before { width: 420px; height: 420px; background: radial-gradient(circle, rgba(233,180,76,0.35), transparent 70%); top: -120px; left: -120px; }
.hero::after { width: 520px; height: 520px; background: radial-gradient(circle, rgba(29,92,65,0.18), transparent 70%); bottom: -200px; right: -160px; }
.hero > .container { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); max-width: 800px; margin: 0 auto 20px; }
.hero h1 em { font-style: italic; color: var(--green); }
.hero p { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 620px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }

/* stats band */
.stats-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--cream); }
.stats-inner { display: flex; justify-content: center; flex-wrap: wrap; }
.stat { padding: 30px 46px; text-align: center; }
.stat-num { font-family: var(--serif); font-size: 38px; font-weight: 700; color: var(--green); line-height: 1.1; }
.stat-label { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* impact */
.impact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.impact-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.impact-photos img { border-radius: var(--r); box-shadow: var(--shadow); aspect-ratio: 1/1; object-fit: cover; }
.impact-photos img:last-child { margin-top: 34px; }
.impact-content h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 18px; }
.impact-content p { margin-bottom: 16px; color: var(--muted); }
.impact-tag {
  display: inline-block; background: rgba(29,92,65,0.1); color: var(--green);
  font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}

/* campaigns */
.camp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 920px; margin: 0 auto; }
.camp-card {
  background: #fff; border-radius: var(--r); padding: 40px 36px;
  border: 1px solid var(--line); box-shadow: 0 8px 30px -18px rgba(20,63,45,0.25);
  display: flex; flex-direction: column; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.camp-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.camp-card h3 { font-size: 24px; margin: 10px 0 14px; }
.camp-card p { color: var(--muted); font-size: 15.5px; margin-bottom: 14px; }
.camp-goal { font-family: var(--serif); font-size: 34px; font-weight: 700; color: var(--green); margin: 6px 0 18px; }
.camp-goal small { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; display: block; }
.camp-card .btn { margin-top: auto; align-self: flex-start; }
.camp-cta { text-align: center; margin-top: 40px; }
.camp-note { font-size: 13.5px; color: var(--muted); margin-top: 12px; }

/* transparency */
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 960px; margin: 0 auto; }
.promise { text-align: center; padding: 10px 18px; }
.promise svg { width: 44px; height: 44px; stroke: var(--sun); margin: 0 auto 16px; }
.promise h3 { color: #fff; font-size: 20px; margin-bottom: 10px; }
.promise p { font-size: 15px; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 22px 4px; text-align: left;
  font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--ink);
}
.faq-q:hover { color: var(--green); }
.faq-q span { color: var(--sun-deep); font-size: 22px; line-height: 1; transition: transform 0.3s var(--ease); }
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a p { padding: 0 4px 22px; color: var(--muted); }

/* CTA + footer */
.cta { text-align: center; }
.cta h2 { font-size: clamp(30px, 4.5vw, 46px); margin-bottom: 14px; }
.cta p { max-width: 560px; margin: 0 auto 30px; }
.site-footer { background: var(--green-deep); color: #cfe0d6; padding: 44px 0; text-align: center; font-size: 14.5px; }
.site-footer a { color: var(--sun); text-decoration: none; }
.site-footer p + p { margin-top: 8px; }
.footer-fine { font-size: 12.5px; color: rgba(207, 224, 214, 0.65); max-width: 560px; margin: 14px auto 0; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* responsive */
@media (max-width: 900px) {
  .impact-grid, .camp-grid { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: 1fr; gap: 36px; }
  .nav a:not(.btn) { display: none; }
  .section { padding: 70px 0; }
  .impact-photos img:last-child { margin-top: 0; }
}
