/* River Road Park — advocacy site */
:root {
  --green-900: #16301f;
  --green-700: #24513a;
  --green-500: #3e7a54;
  --green-100: #e8f1ea;
  --river: #2e6f8e;
  --sand: #f7f4ec;
  --ink: #1d241f;
  --ink-soft: #4c584f;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(22, 48, 31, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--green-900); margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--green-900); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled { background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); box-shadow: 0 2px 16px rgba(0,0,0,0.08); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0.9rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  color: var(--white); text-decoration: none; transition: color 0.3s;
}
.nav-logo span { color: #9fd6b4; }
.nav.scrolled .nav-logo { color: var(--green-900); }
.nav.scrolled .nav-logo span { color: var(--green-500); }
.nav-links { display: flex; gap: 1.4rem; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.9); text-decoration: none; font-size: 0.92rem; font-weight: 500;
  transition: color 0.2s;
}
.nav.scrolled .nav-links a { color: var(--ink-soft); }
.nav-links a:hover { color: #9fd6b4; }
.nav.scrolled .nav-links a:hover { color: var(--green-500); }
.nav-cta {
  background: var(--green-500); color: var(--white) !important;
  padding: 0.5rem 1.1rem; border-radius: 999px;
}
.nav-cta:hover { background: var(--green-700); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; color: var(--white); }
.nav.scrolled .nav-toggle span { color: var(--green-900); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  background-color: var(--green-700);
  transform: scale(1.05);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,32,21,0.55) 0%, rgba(15,32,21,0.35) 50%, rgba(15,32,21,0.75) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 850px; padding: 6rem 1.5rem 4rem; }
.hero-kicker {
  color: #9fd6b4; text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.8rem; font-weight: 600; margin-bottom: 1.2rem;
}
.hero h1 {
  color: var(--white); font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 700;
  margin-bottom: 1.2rem;
}
.hero-sub {
  color: rgba(255,255,255,0.88); font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 640px; margin: 0 auto 2rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2; }
.hero-scroll span {
  display: block; width: 22px; height: 36px; border: 2px solid rgba(255,255,255,0.6);
  border-radius: 12px; position: relative;
}
.hero-scroll span::after {
  content: ""; position: absolute; top: 6px; left: 50%; width: 4px; height: 8px;
  background: rgba(255,255,255,0.8); border-radius: 2px; transform: translateX(-50%);
  animation: scrollHint 1.8s infinite;
}
@keyframes scrollHint { 0% { opacity: 1; top: 6px; } 70% { opacity: 0; top: 18px; } 100% { opacity: 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 0.85rem 1.8rem; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: all 0.25s; font-family: var(--font-body);
}
.btn-primary { background: var(--green-500); color: var(--white); }
.btn-primary:hover { background: var(--green-700); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-outline { border-color: var(--green-500); color: var(--green-700); }
.btn-outline:hover { background: var(--green-500); color: var(--white); }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px; background: var(--green-100);
  border-bottom: 1px solid var(--green-100);
}
.stat { background: var(--white); padding: 2.5rem 2rem; text-align: center; }
.stat strong {
  display: block; font-family: var(--font-display); font-size: 2.2rem;
  color: var(--green-700); margin-bottom: 0.4rem;
}
.stat span { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 1.5rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-kicker {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem;
  font-weight: 700; color: var(--green-500); margin-bottom: 0.8rem;
}
.section-lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 720px; margin-bottom: 2.5rem; }
.section--alt { background: var(--white); }
.section--dark { background: var(--green-900); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark .section-kicker { color: #9fd6b4; }
.section--dark p { color: rgba(255,255,255,0.82); }

/* ---------- Timeline ---------- */
.timeline { margin-top: 2.5rem; position: relative; padding-left: 2rem; }
.timeline::before {
  content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px;
  width: 2px; background: var(--green-100);
}
.timeline-item { position: relative; padding: 0 0 2.5rem 1.5rem; }
.timeline-item::before {
  content: ""; position: absolute; left: -2rem; top: 6px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--green-500); border: 3px solid var(--sand);
  transform: translateX(0.5px);
}
.timeline-item--now::before { background: var(--river); animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46,111,142,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(46,111,142,0); }
}
.timeline-year {
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  color: var(--green-500); margin-bottom: 0.3rem;
}
.timeline-body p { color: var(--ink-soft); max-width: 680px; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-top: 2rem; }
.split-text p { margin-bottom: 1rem; color: var(--ink-soft); }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split-media figcaption { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.6rem; font-style: italic; }
.checklist { list-style: none; margin-top: 1.4rem; }
.checklist li {
  padding: 0.45rem 0 0.45rem 2rem; position: relative; font-weight: 500;
}
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0.4rem;
  width: 22px; height: 22px; border-radius: 50%; background: var(--green-100);
  color: var(--green-700); font-size: 0.8rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Cards ---------- */
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem; margin-top: 2.5rem;
}
.card {
  background: var(--white); border-radius: var(--radius); padding: 2rem;
  box-shadow: 0 2px 12px rgba(22,48,31,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid var(--green-100);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-icon { font-size: 2rem; margin-bottom: 0.9rem; }
.card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Why grid ---------- */
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem; margin-top: 2.5rem;
}
.why-item {
  border-left: 3px solid var(--green-500); padding-left: 1.4rem;
}
.why-item h3 { font-size: 1.35rem; }
.why-item p { font-size: 0.97rem; }

.pullquote {
  margin-top: 3.5rem; padding: 2rem 2.5rem; border-left: 4px solid #9fd6b4;
  background: rgba(255,255,255,0.06); border-radius: 0 var(--radius) var(--radius) 0;
}
.pullquote p {
  font-family: var(--font-display); font-size: 1.35rem; line-height: 1.45;
  color: var(--white) !important; margin-bottom: 0.8rem;
}
.pullquote cite { font-style: normal; font-size: 0.88rem; color: #9fd6b4; font-weight: 600; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem; margin-top: 1rem;
}
.gallery-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.gallery-item img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption { padding: 0.9rem 1.1rem; font-size: 0.88rem; color: var(--ink-soft); }
.gallery-note { margin-top: 1.5rem; font-size: 0.85rem; color: var(--ink-soft); font-style: italic; }
.map-cta {
  margin-top: 2.5rem; background: var(--green-100); border-radius: var(--radius);
  padding: 2.2rem; text-align: center;
}
.map-cta p { color: var(--ink-soft); max-width: 560px; margin: 0.5rem auto 1.4rem; }

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem; margin-top: 2.5rem;
}
.testimonial {
  background: var(--sand); border-radius: var(--radius); padding: 1.8rem;
  border: 1px solid var(--green-100); position: relative;
}
.testimonial::before {
  content: "\201C"; font-family: var(--font-display); font-size: 3.5rem;
  color: var(--green-500); opacity: 0.35; position: absolute; top: 0.4rem; left: 1.1rem;
  line-height: 1;
}
.testimonial p { position: relative; z-index: 1; color: var(--ink); font-size: 0.97rem; margin-bottom: 0.9rem; }
.testimonial cite { font-style: normal; font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; }

.submit-voice {
  margin-top: 3rem; background: var(--green-100); border-radius: var(--radius);
  padding: 2.5rem;
}
.submit-voice p { color: var(--ink-soft); margin-bottom: 1.4rem; max-width: 560px; }
.voice-form { display: flex; flex-direction: column; gap: 1rem; max-width: 640px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.voice-form input, .voice-form textarea {
  font-family: var(--font-body); font-size: 0.95rem; padding: 0.85rem 1rem;
  border: 1px solid #cadfd0; border-radius: 10px; background: var(--white);
  color: var(--ink); resize: vertical;
}
.voice-form input:focus, .voice-form textarea:focus {
  outline: 2px solid var(--green-500); border-color: transparent;
}
.voice-form .btn { align-self: flex-start; border: none; }
.form-note { font-size: 0.85rem; color: var(--green-700); font-weight: 600; }

/* ---------- Act ---------- */
.section--act { background: linear-gradient(180deg, var(--white) 0%, var(--green-100) 100%); }
.act-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; margin-top: 2.5rem;
}
.act-item {
  background: var(--white); border-radius: var(--radius); padding: 2.2rem;
  box-shadow: 0 2px 12px rgba(22,48,31,0.06); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
}
.act-item p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1rem; }
.act-item .btn { margin-top: auto; }

/* ---------- Footer ---------- */
.footer { background: var(--green-900); padding: 3rem 1.5rem; text-align: center; }
.footer p { color: rgba(255,255,255,0.85); }
.footer-small { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 0.7rem; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .nav-toggle { display: block; z-index: 102; }
  .nav-links {
    position: fixed; inset: 0; background: var(--green-900);
    flex-direction: column; justify-content: center; gap: 2rem;
    transform: translateX(100%); transition: transform 0.3s; z-index: 101;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: var(--white) !important; font-size: 1.2rem; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 1.25rem; }
}
