/* ============================================================
   Northern Indiana Community Foundation
   Redesign — "Where Giving Grows"
   ============================================================ */

:root {
  --green: #1d5a3b;
  --green-deep: #123c27;
  --green-mid: #2b7450;
  --green-soft: #e8efe4;
  --tulip: #c4105c;
  --blue: #2e7fb8;
  --cream: #faf6ed;
  --paper: #ffffff;
  --ink: #15211a;
  --muted: #5b6860;
  --line: rgba(21, 33, 26, 0.12);
  --radius: 14px;
  --wrap: 1180px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 22px 50px -28px rgba(18, 60, 39, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

section[id], #contact { scroll-margin-top: 96px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--tulip); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--green-deep);
  font-variation-settings: "SOFT" 0, "WONK" 0;
}

h1 { font-size: clamp(2.9rem, 6vw, 4.9rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green-deep);
  color: #fff;
  padding: 12px 18px;
  z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn-lg { padding: 15px 28px; font-size: 0.95rem; }

.btn-solid {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn-solid:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  border-color: rgba(21, 33, 26, 0.25);
  color: var(--green-deep);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--green);
  background: #fff;
  color: var(--green-deep);
}

.btn-ghost {
  color: var(--green-deep);
  padding: 12px 14px;
  background: transparent;
}
.btn-ghost:hover { color: var(--tulip); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 237, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(250, 246, 237, 0.97);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--green-deep);
}
.brand:hover { color: var(--green-deep); }

.brand-mark { width: 38px; height: auto; }

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--tulip);
  transition: width 0.25s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 6px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--green-deep);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  padding: clamp(48px, 7vw, 92px) 0 clamp(56px, 7vw, 96px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -140px;
  top: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(196, 16, 92, 0.09), rgba(196, 16, 92, 0) 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
  position: relative;
}

.eyebrow,
.kicker {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tulip);
  display: inline-block;
}

.hero h1 em {
  font-style: italic;
  color: var(--tulip);
}

.lede {
  font-size: clamp(1.03rem, 1.35vw, 1.18rem);
  color: #35443b;
  max-width: 33em;
  margin-bottom: 30px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-note {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin: 0;
}

.hero-media { position: relative; }
.hero-media > img {
  width: 100%;
  height: clamp(340px, 44vw, 500px);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card {
  position: absolute;
  left: -22px;
  bottom: -26px;
  background: var(--paper);
  border-radius: 12px;
  padding: 20px 24px 18px;
  max-width: 265px;
  box-shadow: 0 18px 40px -22px rgba(18, 60, 39, 0.45);
  border-left: 3px solid var(--tulip);
}
.hero-card-num {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--green-deep);
  margin: 0 0 6px;
}
.hero-card-label {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
  margin: 0;
}

/* ---------- Impact band ---------- */

.impact-band {
  background: var(--green-deep);
  color: #eef3ea;
  padding: clamp(56px, 6vw, 84px) 0;
  position: relative;
  overflow: hidden;
}
.impact-band::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -260px;
  width: 900px;
  height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}
.impact-band .wrap { position: relative; }

.impact-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: end;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  margin-bottom: 38px;
}
.impact-head h2 { color: #fdfaf3; margin-bottom: 0; }
.impact-head p {
  color: rgba(238, 243, 234, 0.78);
  font-size: 0.97rem;
  margin: 0;
  max-width: 40em;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.4vw, 2.9rem);
  line-height: 1;
  color: #fff;
}
.stat-label {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(238, 243, 234, 0.72);
  max-width: 20em;
}

/* ---------- Sections ---------- */

.section { padding: clamp(64px, 8vw, 110px) 0; }

.section-head {
  max-width: 620px;
  margin-bottom: clamp(38px, 5vw, 56px);
}
.section-sub { color: var(--muted); font-size: 1.02rem; margin: 0; }

/* ---------- How it works ---------- */

.how { background: var(--paper); }

.how-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}
.how-copy p { color: #3d4a42; max-width: 35em; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--green);
  border-bottom: 1px solid rgba(29, 90, 59, 0.25);
  padding-bottom: 2px;
}
.text-link:hover { border-bottom-color: var(--tulip); }

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.compare-col {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 24px;
}
.compare-col--alt {
  background: var(--green);
  border-color: var(--green);
  color: #eef3ea;
  box-shadow: var(--shadow);
}
.compare-tag {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}
.compare-col--alt .compare-tag { color: rgba(238, 243, 234, 0.65); }
.compare-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--green-deep);
  margin-bottom: 16px;
}
.compare-col--alt .compare-title { color: #fff; }
.compare-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.compare-col li {
  font-size: 0.86rem;
  line-height: 1.45;
  padding-left: 20px;
  position: relative;
  color: #44524a;
}
.compare-col--alt li { color: rgba(238, 243, 234, 0.85); }
.compare-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(21, 33, 26, 0.22);
}
.compare-col--alt li::before { background: rgba(255, 255, 255, 0.55); }

/* ---------- Get started paths ---------- */

.start {
  background: linear-gradient(180deg, var(--cream) 0%, #f4efe2 100%);
}

.paths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.path {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 32px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.path:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(29, 90, 59, 0.2);
}
.path-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--tulip);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.path h3 { margin-bottom: 8px; }
.path > p { font-size: 0.92rem; color: var(--muted); margin-bottom: 18px; }
.path ol {
  margin: 0 0 22px;
  padding-left: 18px;
  font-size: 0.87rem;
  color: #3f4c44;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.path ol li::marker { color: var(--green-mid); font-weight: 600; }
.path-link {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green);
  display: inline-flex;
  gap: 7px;
  align-items: center;
}
.path-link:hover { gap: 11px; color: var(--tulip); transition: gap 0.2s ease; }

.start-help {
  margin-top: 26px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px dashed rgba(29, 90, 59, 0.28);
  border-radius: 12px;
  padding: 20px 26px;
}
.start-help p { margin: 0; font-size: 0.92rem; color: #3f4c44; }
.start-help a { font-weight: 600; border-bottom: 1px solid rgba(196, 16, 92, 0.35); color: var(--green-deep); }

/* ---------- Counties ---------- */

.counties { background: var(--paper); }

.county-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.county {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 30px 30px 28px;
  border-top: 3px solid transparent;
  transition: border-color 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.county:nth-child(1) { border-top-color: var(--blue); }
.county:nth-child(2) { border-top-color: var(--tulip); }
.county:nth-child(3) { border-top-color: var(--green-mid); }
.county:hover { transform: translateY(-3px); }

.county-tag {
  font-size: 0.64rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 10px;
}
.county h3 { font-size: 1.55rem; margin-bottom: 16px; }
.county-person { font-size: 0.9rem; font-weight: 600; margin-bottom: 14px; color: var(--ink); }
.county-person span { font-weight: 400; color: var(--muted); }
.county-addr { font-size: 0.85rem; color: var(--muted); margin-bottom: 14px; }
.county a { font-size: 0.87rem; font-weight: 500; margin-bottom: 4px; }
.county a:hover { color: var(--tulip); }

/* ---------- Stories ---------- */

.stories-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.stories-media img {
  border-radius: var(--radius);
  height: clamp(330px, 40vw, 460px);
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.caption {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 12px 0 0;
}
.stories-copy p { color: #3d4a42; max-width: 37em; }

.story-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.story-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.92rem;
  color: #3d4a42;
  line-height: 1.5;
}
.story-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--tulip);
}
.story-list strong { color: var(--green-deep); }

.quote {
  border-left: 3px solid var(--tulip);
  padding-left: 20px;
}
.quote p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--green-deep);
  margin: 0 0 6px;
  font-style: italic;
}
.quote cite {
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ---------- Ways to give ---------- */

.ways { background: var(--paper); }

.ways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.way {
  padding: 28px 26px 28px 0;
  border-bottom: 1px solid var(--line);
}
.way:nth-child(3n + 2) { padding-left: 26px; border-left: 1px solid var(--line); padding-right: 26px; }
.way:nth-child(3n) { padding-left: 26px; }
.way h3 { font-size: 1.15rem; margin-bottom: 8px; }
.way p { font-size: 0.88rem; color: var(--muted); margin: 0; }
.way:hover h3 { color: var(--green-mid); }

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.about p { color: #3d4a42; max-width: 36em; }

.about-card {
  background: var(--paper);
  border-radius: 12px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  margin-bottom: 20px;
}
.about-card-title {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 14px;
}
.about-card p { font-size: 0.9rem; margin-bottom: 12px; color: #3d4a42; }
.about-card-foot { color: var(--muted); margin: 0; font-size: 0.85rem !important; }

/* ---------- Contact ---------- */

.contact {
  background: var(--green-deep);
  color: #eef3ea;
  padding: clamp(60px, 7vw, 96px) 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.contact h2 { color: #fff; }
.contact p { color: rgba(238, 243, 234, 0.78); max-width: 32em; }
.contact-direct {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.92rem;
  margin-top: 22px;
  color: rgba(238, 243, 234, 0.5);
}
.contact-direct a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.contact-direct a:hover { color: #ffc9dd; border-bottom-color: #ffc9dd; }

.signup {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  display: grid;
  gap: 6px;
}
.signup label {
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(238, 243, 234, 0.65);
  margin-top: 8px;
}
.signup input,
.signup select {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  padding: 11px 13px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.signup select {
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23eef3ea' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.signup option { color: var(--ink); }
.signup input::placeholder { color: rgba(255, 255, 255, 0.4); }
.signup input:focus,
.signup select:focus {
  outline: 2px solid rgba(196, 16, 92, 0.7);
  outline-offset: 2px;
  border-color: transparent;
}
.signup .btn { margin-top: 16px; background: #fff; color: var(--green-deep); border-color: #fff; }
.signup .btn:hover { background: #f2ece0; border-color: #f2ece0; color: var(--green-deep); }
.form-note { font-size: 0.72rem; color: rgba(238, 243, 234, 0.5); margin: 10px 0 0; }

/* ---------- Footer ---------- */

.site-footer {
  background: #0e2f1e;
  color: rgba(238, 243, 234, 0.72);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 48px;
}
.footer-logo {
  width: 170px;
  background: #fff;
  padding: 14px 14px 10px;
  border-radius: 8px;
  margin-bottom: 16px;
}
.footer-tag {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: #f3ede1;
  margin-bottom: 16px;
}
.socials { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.82rem; }
.socials a { color: rgba(238, 243, 234, 0.72); }
.socials a:hover { color: #fff; }

.footer-head {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(238, 243, 234, 0.45);
  margin-bottom: 14px;
}
.footer-col { display: flex; flex-direction: column; gap: 8px; font-size: 0.87rem; }
.footer-col a { color: rgba(238, 243, 234, 0.78); }
.footer-col a:hover { color: #fff; }
.footer-col p { margin: 0 0 4px; line-height: 1.55; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  padding-bottom: 26px;
  font-size: 0.76rem;
  color: rgba(238, 243, 234, 0.45);
}
.footer-bottom p { margin: 0; }

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .nav { gap: 22px; }
  .brand-sub { font-size: 0.62rem; }
  .hero-card { left: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .ways-grid { grid-template-columns: repeat(2, 1fr); }
  .way:nth-child(3n + 2) { padding-left: 0; border-left: 0; }
  .way:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .header-actions .btn-ghost { display: none; }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 8px 28px 18px;
    display: none;
    box-shadow: 0 20px 30px -24px rgba(18, 60, 39, 0.4);
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
    white-space: normal;
  }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { margin-bottom: 26px; }
  .hero-card { left: auto; right: 14px; bottom: -22px; }

  .impact-head { grid-template-columns: 1fr; gap: 14px; }
  .how-grid, .stories-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .stories-media { order: 2; }
  .stories-copy { order: 1; }
  .about-side { margin-top: 8px; }
}

@media (max-width: 680px) {
  .wrap { padding: 0 20px; }
  .header-inner { min-height: 72px; }
  .brand-mark { width: 32px; }
  .brand-name { font-size: 0.98rem; }

  .paths { grid-template-columns: 1fr; }
  .county-grid { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .ways-grid { grid-template-columns: 1fr; }
  .way { padding: 24px 0 !important; border-left: 0 !important; }
  .stats { grid-template-columns: 1fr; row-gap: 26px; }
  .stat { border-bottom: 1px solid rgba(255, 255, 255, 0.12); padding-bottom: 22px; }
  .stat:last-child { border-bottom: 0; padding-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .path { padding: 26px 22px; }
}

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

/* ============================================================
   Interactive layer
   ============================================================ */

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 200;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--green-mid), var(--tulip));
}

.link-row { display: flex; flex-wrap: wrap; gap: 10px 26px; }

.nav a.is-active { color: var(--green-deep); }
.nav a.is-active::after { width: 100%; background: var(--tulip); }

.stat-num { font-variant-numeric: tabular-nums; }

.hero-media { transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); will-change: transform; }

/* ---------- Cards: pointer spotlight ---------- */

.path, .county, .way { --mx: 50%; --my: 0%; }
.path::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx) var(--my), rgba(29, 90, 59, 0.075), transparent 62%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.path:hover::before { opacity: 1; }
.path.is-focus {
  border-color: rgba(196, 16, 92, 0.55);
  box-shadow: 0 0 0 3px rgba(196, 16, 92, 0.1), var(--shadow);
}
.path.is-dim { opacity: 0.45; filter: saturate(0.65); }
.path.is-dim:hover { opacity: 0.75; }

/* ---------- Grow calculator ---------- */

.grow { background: var(--cream); }

.calc {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(24px, 4vw, 48px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(24px, 3.2vw, 40px);
  box-shadow: 0 30px 60px -50px rgba(18, 60, 39, 0.55);
  align-items: start;
}

.field { margin-bottom: 26px; }
.field-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.field label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.field output {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--green-deep);
  font-variant-numeric: tabular-nums;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 99px;
  margin: 16px 0 8px;
  background: linear-gradient(90deg, var(--green-mid) var(--fill, 50%), rgba(21, 33, 26, 0.13) var(--fill, 50%));
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--green);
  box-shadow: 0 3px 8px rgba(18, 60, 39, 0.28);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.09); border-color: var(--tulip); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.02); }
input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--green);
  box-shadow: 0 3px 8px rgba(18, 60, 39, 0.28);
}
input[type="range"]:focus-visible { outline: 2px solid var(--tulip); outline-offset: 8px; }

.scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--muted);
}

.calc-results {
  display: grid;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.calc-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.calc-stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  line-height: 1.1;
  color: var(--green-deep);
  margin: 0;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.calc-stat--accent .calc-stat-num { color: var(--tulip); }
.calc-stat-label {
  font-size: 0.79rem;
  line-height: 1.35;
  color: var(--muted);
  margin: 0;
  text-align: right;
  max-width: 12em;
}
.calc-note {
  font-size: 0.73rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.calc-chart svg { width: 100%; height: auto; overflow: visible; }
.chart-grid line { stroke: rgba(21, 33, 26, 0.1); }
.chart-tick {
  font-family: var(--font-body);
  font-size: 11px;
  fill: rgba(21, 33, 26, 0.42);
  letter-spacing: 0.02em;
}
.chart-tick--x { fill: rgba(21, 33, 26, 0.5); }
.chart-line { fill: none; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.chart-line--bal { stroke: var(--green); }
.chart-line--cum { stroke: var(--tulip); stroke-dasharray: 5 5; }
.chart-area { fill: url(#growFill); }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 12px;
  font-size: 0.76rem;
  color: var(--muted);
}
.legend span { display: inline-flex; align-items: center; }
.legend i { width: 9px; height: 9px; border-radius: 2px; margin-right: 7px; }

/* ---------- Path finder ---------- */

.finder {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 28px;
  box-shadow: 0 20px 44px -40px rgba(18, 60, 39, 0.5);
  position: relative;
  overflow: hidden;
}
.finder::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 16, 92, 0.07), transparent 68%);
  pointer-events: none;
}
.finder-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.finder-title { margin: 0; font-size: 0.95rem; font-weight: 600; color: var(--green-deep); }
.finder-reset {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.8rem;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.finder-reset:hover { color: var(--tulip); }
.finder-q {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--green-deep);
  margin: 0 0 14px;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1px solid rgba(21, 33, 26, 0.18);
  background: var(--cream);
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--green-deep);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.chip:hover { background: #fff; border-color: var(--green); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.chip:focus-visible { outline: 2px solid var(--tulip); outline-offset: 2px; }

.finder-step[hidden] { display: none; }
.finder-result {
  margin-top: 22px;
  border-left: 3px solid var(--tulip);
  padding-left: 20px;
  animation: resultIn 0.35s ease both;
}
@keyframes resultIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.finder-result[hidden] { display: none; }
.finder-result-kicker {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--tulip);
  margin: 0 0 6px;
}
.finder-result h3 { font-size: 1.25rem; margin-bottom: 8px; }
.finder-result p { font-size: 0.9rem; color: #3f4c44; margin-bottom: 14px; max-width: 46em; }
.finder-contact { font-size: 0.82rem !important; color: var(--muted) !important; margin: 14px 0 0 !important; }
.finder-contact a { font-weight: 600; }

/* ---------- FAQ ---------- */

.faq-section { background: var(--cream); }
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}
.faq-grid p { color: var(--muted); max-width: 30em; }
.faq-grid a { font-weight: 600; border-bottom: 1px solid rgba(196, 16, 92, 0.35); color: var(--green-deep); }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  padding: 21px 44px 21px 0;
  margin: 0;
  position: relative;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.35;
  color: var(--green-deep);
  cursor: pointer;
  transition: color 0.2s ease;
}
.faq-q:hover { color: var(--green-mid); }
.faq-q:focus-visible { outline: 2px solid var(--tulip); outline-offset: 4px; border-radius: 4px; }
.faq-q::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 1.6px solid var(--green-mid);
  border-bottom: 1.6px solid var(--green-mid);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.28s ease;
}
.faq-q[aria-expanded="true"]::after { transform: translateY(-25%) rotate(-135deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.33s ease;
}
.faq-a > div { overflow: hidden; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a p { font-size: 0.9rem; line-height: 1.65; color: var(--muted); margin: 0 0 22px; max-width: 46em; }

/* ---------- Signup success ---------- */

.signup-fields { display: grid; gap: 6px; }
.signup.is-sent .signup-fields { display: none; }
.signup-success {
  display: none;
  outline: none;
  animation: resultIn 0.4s ease both;
}
.signup.is-sent .signup-success { display: block; }
.signup-success .check { width: 46px; height: 46px; margin-bottom: 14px; }
.signup-success .check circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 2;
}
.signup-success .check path {
  fill: none;
  stroke: #a9e7bf;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: drawCheck 0.6s 0.15s ease forwards;
}
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.signup-success-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  margin: 0 0 8px;
}
.signup-success-text { font-size: 0.9rem; color: rgba(238, 243, 234, 0.8); margin: 0 0 18px; }
.signup-again {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.signup-again:hover { color: #fff; }

/* ---------- Back to top ---------- */

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--green-deep);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
  box-shadow: 0 12px 24px -12px rgba(18, 60, 39, 0.7);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--green); }
.to-top:focus-visible { outline: 2px solid var(--tulip); outline-offset: 3px; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .nav a { font-size: 0.84rem; }
}

@media (max-width: 980px) {
  .calc { grid-template-columns: 1fr; }
  .calc-chart { order: -1; }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .finder { padding: 22px 20px; }
  .finder-head { flex-wrap: wrap; }
  .chip { font-size: 0.83rem; padding: 9px 15px; }
  .calc { padding: 22px 20px; }
  .calc-stat { flex-direction: column; gap: 2px; }
  .calc-stat-label { text-align: left; max-width: none; }
  .field output { font-size: 1.35rem; }
  .to-top { right: 14px; bottom: 14px; width: 42px; height: 42px; }
  .faq-q { font-size: 1.02rem; padding-right: 34px; }
  .legend { font-size: 0.72rem; }
}

@media (prefers-reduced-motion: reduce) {
  .signup-success .check path { stroke-dashoffset: 0; animation: none; }
  .finder-result, .signup-success { animation: none; }
}

.nav a { white-space: nowrap; }
@media (max-width: 1200px) and (min-width: 1081px) {
  .nav { gap: 16px; }
  .nav a { font-size: 0.82rem; }
}

@media (max-width: 560px) {
  .brand-sub { display: none; }
  .brand-name { white-space: nowrap; font-size: 1rem; }
  .brand-mark { width: 30px; }
}

.nav-donate { display: none; }

@media (max-width: 560px) {
  .header-actions .btn-solid { display: none; }
  .nav-donate { display: block; font-weight: 600; color: var(--tulip) !important; }
  .eyebrow { font-size: 0.66rem; letter-spacing: 0.11em; line-height: 1.5; }
  .hero::before { display: none; }
}
