/* ===================================================
   Wildcat Flow Trail — Advocacy Site Styles
   =================================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green-900: #2f4312;
  --green-700: #42591a;
  --green-600: #4e6e1e;
  --green-400: #8fb85a;
  --green-300: #bddaa2;
  --green-100: #dcebc8;
  --green-50:  #f3f8ec;

  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;

  --white: #ffffff;
  --black: #000000;

  --font-body: 'Gill Sans Nova', 'Gill Sans', 'Gill Sans MT', 'Cabin', 'Trebuchet MS', system-ui, sans-serif;
  --font-heading: 'Gill Sans Nova', 'Gill Sans', 'Gill Sans MT', 'Cabin', 'Trebuchet MS', system-ui, sans-serif;

  --nav-height: 72px;
  --max-width: 1200px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.12);
  --shadow-xl: 0 20px 50px rgba(0,0,0,.18);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  color: var(--slate-800);
  line-height: 1.7;
  font-size: 17px;
  background: var(--slate-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-600); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-700); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--slate-900);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p + p { margin-top: 1em; }

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

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--slate-200);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-900);
  text-decoration: none;
}

.nav-brand svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-prefix {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--green-600);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-700);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green-700);
  background: var(--green-50);
}

.nav-cta {
  background: var(--green-600) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  border-radius: var(--radius-md) !important;
  padding: 10px 20px !important;
}

.nav-cta:hover {
  background: var(--green-700) !important;
  color: var(--white) !important;
}

.nav-lang {
  font-size: 0.8rem;
  color: var(--slate-400);
  padding: 0 8px 0 16px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 3px;
}

/* Language links sit tighter than the page tabs — the cluster reads as one
   compact unit, not four more tabs. Mobile menu restores full touch height. */
.nav-lang a {
  color: var(--slate-400);
  text-decoration: none;
  padding: 6px 4px;
}

.nav-lang a:hover {
  color: var(--green-600);
}

.nav-lang strong {
  color: var(--green-600);
}

/* Social icons: brand colors so they read at a glance (Rebecca missed the
   white ones). Compact in the desktop nav, full row in the mobile menu. */
.nav-social {
  display: flex;
  align-items: center;
  gap: 2px;
  padding-left: 6px;
}

.nav-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  transition: background var(--transition), transform var(--transition);
}

.nav-social a.ig { color: #E4405F; }
.nav-social a.li { color: #0A66C2; }

.nav-social a:hover {
  background: var(--green-50);
  transform: translateY(-1px);
}

.hero-social a {
  background: #fff;
  border: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.hero-social a.ig { color: #E4405F; }
.hero-social a.li { color: #0A66C2; }

.hero-social a:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate-800);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow: hidden;
  padding-bottom: 60px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    rgba(6,78,59,0.82) 0%,
    rgba(15,23,42,0.75) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 850px;
}

.hero-content h1 {
  color: var(--white);
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
  color: var(--green-300);
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-text {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--green-600);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(5,150,105,0.35);
}

.btn-primary:hover {
  background: var(--green-700);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5,150,105,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--green-700);
  border: 2px solid var(--green-600);
}

.btn-outline-dark:hover {
  background: var(--green-600);
  color: var(--white);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* ---------- Sections ---------- */
section {
  padding: 100px 0;
  background: var(--white);
}

.section-dark {
  background: var(--slate-900);
  color: var(--slate-300);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-light {
  background: var(--slate-50);
}

.section-green {
  background: var(--green-900);
  color: var(--green-100);
}

.section-green h2,
.section-green h3 {
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .label {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-600);
  background: var(--green-100);
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-dark .section-header .label {
  background: rgba(52,211,153,0.12);
  color: var(--green-400);
}

.section-green .section-header .label {
  background: rgba(255,255,255,0.12);
  color: var(--green-300);
}

.section-header p {
  max-width: 640px;
  margin: 16px auto 0;
  color: var(--slate-500);
  font-size: 1.1rem;
}

.section-dark .section-header p {
  color: var(--slate-400);
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--green-700);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.stat {
  background: var(--green-900);
  padding: 40px 24px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--green-400);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--green-100);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--green-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--green-700);
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.card p {
  color: var(--slate-500);
  line-height: 1.7;
}

/* Dark card variant */
.card-dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}

.card-dark:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
}

.card-dark .card-icon {
  background: rgba(52,211,153,0.1);
  color: var(--green-400);
}

.card-dark h3 { color: var(--white); }
.card-dark p { color: var(--slate-400); }

/* ---------- Image Section ---------- */
.image-text-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.image-text-section.reverse {
  direction: rtl;
}

.image-text-section.reverse > * {
  direction: ltr;
}

.image-block {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
}

.text-block h2 {
  margin-bottom: 20px;
}

.text-block .label {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-600);
  background: var(--green-100);
  border-radius: 100px;
  margin-bottom: 16px;
}

.text-block p {
  color: var(--slate-500);
  margin-bottom: 12px;
}

.text-block ul {
  list-style: none;
  margin: 20px 0 32px;
}

.text-block ul li {
  padding: 6px 0;
  padding-left: 28px;
  position: relative;
  color: var(--slate-700);
}

.text-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 16px;
  background: var(--green-400);
  border-radius: 50%;
  opacity: 0.6;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 48px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--green-400), var(--green-700));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding: 28px 32px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -41px;
  top: 32px;
  width: 14px;
  height: 14px;
  background: var(--green-500, var(--green-600));
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.timeline-item.current::before {
  background: var(--green-400);
  box-shadow: 0 0 0 4px rgba(52,211,153,0.3);
}

.timeline-item.future {
  opacity: 0.6;
  border-style: dashed;
}

.timeline-date {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--green-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.timeline-item h3,
.timeline-item h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--slate-500);
  font-size: 0.95rem;
}

/* -- New-entry highlight (Cort's research additions) -- */
.timeline-item.new-entry {
  border-left: 3px solid #f59e0b;
}

.timeline-item.new-entry::before {
  background: #f59e0b;
}

/* -- Source / video links inside timeline cards -- */
.timeline-item .source-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green-600);
  transition: color var(--transition);
}

.timeline-item .source-link:hover {
  color: var(--green-700);
}

.timeline-item .source-link svg {
  width: 14px;
  height: 14px;
}

/* -- Collapsed / expandable timeline items -- */
.timeline-item.collapsed {
  display: none;
}

.timeline-item.collapsed.show {
  display: block;
  animation: timelineFadeSlideIn 0.4s ease forwards;
}

@keyframes timelineFadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -- Timeline toggle button -- */
.timeline-toggle-wrap {
  text-align: center;
  margin-top: 48px;
}

.btn-timeline-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  background: var(--green-600);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(5,150,105,0.35);
  transition: all var(--transition);
}

.btn-timeline-toggle:hover {
  background: var(--green-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5,150,105,0.45);
}

.btn-timeline-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.btn-timeline-toggle.expanded svg {
  transform: rotate(180deg);
}

/* ---------- FAQ (Accordion) ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--slate-200);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--slate-800);
  line-height: 1.5;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--green-700);
}

.faq-link-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 4px 6px;
  margin-left: auto;
  margin-right: 4px;
  border-radius: var(--radius-sm);
  opacity: 0.5;
  transition: opacity var(--transition);
  flex-shrink: 0;
}

.faq-link-btn:hover {
  opacity: 1;
}

.section-link-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  opacity: 0.5;
  transition: opacity var(--transition);
  vertical-align: middle;
  /* Absolute with auto offsets: the pill hovers at its natural spot after
     the heading's last word but leaves the text flow — a full heading line
     can no longer wrap it onto its own tall empty line. */
  position: absolute;
  margin-left: 10px;
  margin-top: 0.35em;
}

.section-link-btn:hover {
  opacity: 1;
}

.faq-question svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--slate-400);
  transition: transform var(--transition), color var(--transition);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
  color: var(--green-600);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 5000px;
  padding-bottom: 24px;
}

.faq-answer-inner {
  color: var(--slate-500);
  line-height: 1.8;
  padding-right: 48px;
}

.faq-answer-inner a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--green-200, var(--green-300));
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

/* ---------- Endorsements ---------- */
.endorsement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.endorsement {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: background var(--transition), border-color var(--transition);
}

.endorsement:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

.endorsement h3,
.endorsement h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.endorsement p {
  color: var(--slate-400);
  font-size: 0.9rem;
}

/* ---------- Involved / Contact ---------- */
.involved-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.involved-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
}

.involved-card h3 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.involved-card p {
  color: var(--slate-500);
  margin-bottom: 16px;
}

.involved-card ul {
  list-style: none;
  margin-bottom: 24px;
}

.involved-card ul li {
  padding: 8px 0;
  color: var(--slate-600);
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.95rem;
}

.involved-card ul li:last-child {
  border-bottom: none;
}

.involved-card ul li strong {
  color: var(--slate-800);
}

.involved-card ul li a {
  word-break: break-all;
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  position: relative;
  padding: 160px 0 80px;
  background-size: cover;
  background-position: center;
  text-align: center;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    rgba(6,78,59,0.88) 0%,
    rgba(15,23,42,0.82) 100%
  );
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-header p {
  color: var(--green-300);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Project Specs ---------- */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.spec-item {
  text-align: center;
  padding: 32px 16px;
  background: var(--green-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--green-100);
}

.spec-item .spec-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--green-700);
  line-height: 1.2;
  margin-bottom: 8px;
}

.spec-item .spec-name {
  font-size: 0.85rem;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* ---------- Trail Features List ---------- */
.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--green-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-700);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-item h3,
.feature-item h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 4px;
}

.feature-item p {
  color: var(--slate-500);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---------- Content Prose ---------- */
.prose {
  max-width: 720px;
  margin: 0 auto;
}

.prose h2 {
  margin-top: 48px;
  margin-bottom: 20px;
}

.prose h3 {
  margin-top: 36px;
  margin-bottom: 16px;
}

.prose p {
  margin-bottom: 16px;
  color: var(--slate-600);
}

.prose ul, .prose ol {
  margin: 16px 0 24px 24px;
  color: var(--slate-600);
}

.prose li {
  margin-bottom: 8px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px 32px;
  margin-bottom: 48px;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.footer h3,
.footer h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a {
  color: var(--slate-400);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.footer ul a:hover {
  color: var(--green-400);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--green-400);
}

.photo-note {
  font-style: italic;
  color: var(--slate-500);
  font-size: 0.8rem;
}

/* ---------- Scroll Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Badge / Pill ---------- */
.badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 100px;
}

.badge-green {
  background: var(--green-100);
  color: var(--green-700);
}

.badge-yellow {
  background: #fef3c7;
  color: #92400e;
}

.badge-blue {
  background: #dbeafe;
  color: #1e40af;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .image-text-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .image-text-section.reverse {
    direction: ltr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 16px;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
    gap: 4px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  /* Keep 44px touch targets for the language links inside the mobile menu */
  .nav-lang {
    padding: 0 8px;
  }

  .nav-lang a {
    padding: 12px 8px;
  }

  .nav-social {
    justify-content: center;
    padding: 10px 0 4px;
    gap: 10px;
  }

  .nav-social a {
    width: 48px;
    height: 48px;
    background: var(--green-50);
  }
}

@media (max-width: 768px) {
  section {
    padding: 64px 0;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    background-attachment: scroll;
  }

  .hero-content {
    padding: 100px 20px 60px;
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .timeline {
    padding-left: 40px;
  }

  .timeline-item {
    padding: 20px 24px;
  }

  .timeline-item::before {
    left: -30px;
  }

  .faq-answer-inner {
    padding-right: 0;
  }

  .involved-grid {
    grid-template-columns: 1fr;
  }

  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .project-maps-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Supporter Callout ---------- */
.supporter-callout {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  padding: 16px 24px;
  font-size: 0.92rem;
  color: var(--slate-500);
  line-height: 1.6;
}

.supporter-callout strong {
  color: var(--green-700);
  font-weight: 600;
}

.cta-banner .supporter-callout {
  color: var(--green-200, var(--green-300));
  margin-top: 8px;
}

.cta-banner .supporter-callout strong {
  color: var(--white);
}

/* ---------- Back to Top Button ---------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-600);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--green-700);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

/* Responsive background images (2026-07-04 perf pass) — full-size on desktop, -800 variants on phones */
.bg-cattle-grazing-bay-view-wide { background-image: url('../images/cattle-grazing-bay-view-wide.webp'); }
.bg-family-bay-overlook { background-image: url('../images/family-bay-overlook.webp'); }
.bg-fullface-rider-trail { background-image: url('../images/fullface-rider-trail.webp'); }
.bg-kids-bay-sunset { background-image: url('../images/kids-bay-sunset.webp'); }
.bg-kids-riding-trail { background-image: url('../images/kids-riding-trail.webp'); }
.bg-kids-trail-bay-vista { background-image: url('../images/kids-trail-bay-vista.webp'); }
.bg-rider-tall-grass { background-image: url('../images/rider-tall-grass.webp'); }
@media (max-width: 820px) {
  .bg-cattle-grazing-bay-view-wide { background-image: url('../images/cattle-grazing-bay-view-wide-800.webp'); }
  .bg-family-bay-overlook { background-image: url('../images/family-bay-overlook-800.webp'); }
  .bg-fullface-rider-trail { background-image: url('../images/fullface-rider-trail-800.webp'); }
  .bg-kids-bay-sunset { background-image: url('../images/kids-bay-sunset-800.webp'); }
  .bg-kids-riding-trail { background-image: url('../images/kids-riding-trail-800.webp'); }
  .bg-kids-trail-bay-vista { background-image: url('../images/kids-trail-bay-vista-800.webp'); }
  .bg-rider-tall-grass { background-image: url('../images/rider-tall-grass-800.webp'); }
}

/* ---------- Rebecca-specific additions ---------- */
.rainbow-stripe {
  position: absolute; left: 0; right: 0; bottom: 0; height: 8px; display: flex;
}
.rainbow-stripe::before { content: ''; flex: 1; background: linear-gradient(to right,
  #fe0000 0 14.28%, #ff8000 0 28.56%, #ffe600 0 42.84%, #0f7a20 0 57.12%,
  #1439f5 0 71.4%, #8000ff 0 85.68%, #fe0000 0 100%); }
.hero-rebecca {
  background: linear-gradient(160deg, #42591a 0%, #4e6e1e 55%, #5c7f28 100%);
  position: relative;
}
.hero-split {
  display: flex; align-items: center; gap: 48px; flex-wrap: wrap; justify-content: center;
  text-align: left;
}
.hero-copy { max-width: 560px; }
.hero-portrait { margin: 0; flex: 0 1 380px; }
.hero-portrait img {
  width: 100%; height: auto; border-radius: 16px; display: block;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  border: 4px solid rgba(255,255,255,.85);
}
.bg-rebecca-portrait { background-image: url('../images/hiking-bay-vista.webp'); background-position: center 35%; }
.bg-trail-work { background-image: url('../images/trail-work-crew.webp'); background-position: center; }
.bg-dog-portrait { background-image: url('../images/dog-portrait.webp'); background-position: center 45%; }

/* ---------- Election page: map figure + social buttons ---------- */
.map-figure {
  margin: 0 auto;
  max-width: 820px;
}

.map-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
}

.map-figure figcaption {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--slate-500);
  text-align: center;
}

.social-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  min-height: 48px;
  border-radius: 999px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  color: var(--green-700);
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}

.social-btn:hover {
  background: var(--green-600);
  color: var(--white);
}

/* Home hero: compact social pills under the CTAs */
.hero-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.hero-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  transition: background var(--transition);
}

.hero-social a:hover {
  background: rgba(255,255,255,0.3);
  color: var(--white);
}
@media (max-width: 820px) {
  .bg-rebecca-portrait { background-image: url('../images/hiking-bay-vista-800.webp'); }
  .bg-trail-work { background-image: url('../images/trail-work-crew-800.webp'); }
  .bg-dog-portrait { background-image: url('../images/dog-portrait-800.webp'); }
}
@media (max-width: 820px) {
  .hero-split { text-align: center; }
  .hero-copy .btn-group { justify-content: center; }
  .hero-portrait { flex-basis: 300px; }
}

/* Q&A page structure */
.faq-category { margin-bottom: 40px; }
.faq-category-title {
  font-family: var(--font-heading);
  font-size: 1.6rem; color: var(--green-900);
  border-bottom: 3px solid var(--green-300);
  padding-bottom: 8px; margin-bottom: 18px;
}
.faq-search-wrap input {
  width: 100%; padding: 14px 48px 14px 18px; font-size: 16px;
  border: 2px solid #d8e0d8; border-radius: 10px; font-family: inherit; background: #fff;
}
#faq-search::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
#faq-search-count { margin-top: 8px; font-size: 14px; color: var(--slate-500); }

/* Hero fixes for the Gill Sans identity (template's clamp was sized for Bebas Neue) */
.hero-rebecca::before { display: none; }
.hero-rebecca { min-height: 82vh; }
.hero-rebecca .hero-content { max-width: 1100px; }
.hero-rebecca .hero-content h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-transform: none;
  font-weight: 600;
}
.hero-rebecca .hero-subtitle { letter-spacing: 0.14em; }
.hero-rebecca .btn-primary {
  background: var(--white); color: var(--green-900); border-color: var(--white);
}
.hero-rebecca .btn-primary:hover { background: var(--green-100); color: var(--green-900); }
/* Light body: unloaded/fade-in gaps flash light, not navy (template body was slate-900) */
body { background: var(--slate-50); }

/* ============ Differentiation pass (Martin 8/26: distinct layout + icons vs wildcat) ============ */
/* Cards: flat sage panels with olive rule, no floating shadow, no icon circles */
.card {
  background: var(--green-50);
  border: 1px solid var(--green-300);
  border-radius: 0;
  box-shadow: none;
}
.card:hover { transform: none; box-shadow: 0 4px 14px rgba(47,67,18,.12); }
.card-icon { display: none; }
.card-num {
  font-family: var(--font-heading);
  font-size: 2.4rem; font-weight: 700; line-height: 1;
  color: var(--green-600);
  margin-bottom: 10px;
}
.card-num::after {
  content: ''; display: block; width: 44px; height: 5px; margin-top: 8px;
  background: linear-gradient(to right, #fe0000 0 16.6%, #ff8000 0 33.3%, #ffe600 0 50%, #0f7a20 0 66.6%, #1439f5 0 83.3%, #8000ff 0 100%);
  border-radius: 3px;
}
/* Stats: flat olive band, not floating white cards */
.stats-bar {
  background: var(--green-700);
  border-radius: 14px;
  box-shadow: none;
}
.stats-bar .stat-number { color: var(--white); }
.stats-bar .stat-label { color: var(--green-100); }
/* Pill buttons (wildcat uses small radius) */
.btn { border-radius: 100px; }
/* Footer: deep olive, not slate navy */
.footer { background: var(--green-900); }
.footer-bottom { border-top-color: rgba(255,255,255,.15); }
/* Section labels: rainbow underline inset to the pill's flat span (Martin 8/28) */
.section-header .label, .text-block .label { position: relative; }
.section-header .label::after, .text-block .label::after {
  content: ''; position: absolute;
  left: 16px; right: 16px; bottom: -6px; height: 4px; border-radius: 2px;
  background: linear-gradient(to right, #fe0000 0 16.6%, #ff8000 0 33.3%, #ffe600 0 50%, #0f7a20 0 66.6%, #1439f5 0 83.3%, #8000ff 0 100%);
}
/* Funding strip (no wildcat equivalent) */
.funding-strip {
  background: var(--green-100);
  border-top: 1px solid var(--green-300);
  border-bottom: 1px solid var(--green-300);
  padding: 28px 0; text-align: center;
}
.funding-strip p { max-width: 760px; margin: 0 auto; color: var(--green-900); font-size: 1.05rem; }
.funding-strip strong { color: var(--green-700); }
/* Headings in olive, not template slate */
.section-header h2, .text-block h2, .faq-page h2 { color: var(--green-900); }

/* ===== Q&A affordance redesign (Martin 8/26: copy + open icons) ===== */
/* Toggle: circled plus in sage/olive, rotates to x when open */
.faq-question svg.qa-toggle {
  width: 28px; height: 28px;
  color: var(--green-600);
  stroke: var(--green-600);
}
.qa-toggle-ring {
  fill: var(--green-100);
  stroke: var(--green-300);
  stroke-width: 1.4;
}
.faq-item.open .faq-question svg.qa-toggle {
  transform: rotate(45deg);
  color: var(--white); stroke: var(--white);
}
.faq-item.open .qa-toggle-ring {
  fill: var(--green-600);
  stroke: var(--green-600);
}
/* Copy-link: sage pill with drawn link icon, olive on hover-fill */
.faq-link-btn, .section-link-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: 50%;
  color: var(--green-700);
  opacity: 0.75;
}
.faq-link-btn:hover, .section-link-btn:hover {
  background: var(--green-600);
  border-color: var(--green-600);
  color: var(--white);
  opacity: 1;
}
.section-link-btn { width: 26px; height: 26px; }

/* Hero facts: frosted credential tiles, one accent color each */
.hero-facts {
  margin-top: 26px; width: 100%;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.hero-facts .fact {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 10px;
  padding: 9px 14px 8px;
}
.hero-facts .fact::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 4px;
}
.hero-facts .fact:nth-of-type(1)::before { background: #F2994A; }
.hero-facts .fact:nth-of-type(2)::before { background: #F2C94C; }
.hero-facts .fact:nth-of-type(3)::before { background: #6FB1E8; }
.hero-facts .fact:nth-of-type(4)::before { background: #C08BE0; }
.hero-facts .fact b {
  font-size: 21px; line-height: 1.05; font-weight: 700; color: var(--white);
  white-space: nowrap;
}
.hero-facts .fact small {
  font-size: 10px; letter-spacing: .11em; text-transform: uppercase;
  color: rgba(255,255,255,.78); line-height: 1.3; white-space: nowrap;
}
@media (max-width: 820px) {
  .hero-facts .fact { align-items: center; }
  .hero-facts .fact::before { top: auto; left: 0; right: 0; bottom: 0; width: auto; height: 3px; }
}}

/* Experience page: timeline headings at human scale (template h3 was 32px caps, spans inherited it) */
.timeline-entry h3 {
  font-size: 19px; line-height: 1.3; letter-spacing: .02em; margin-bottom: 2px;
}
.timeline-entry h3 span {
  display: block; font-size: 13px; letter-spacing: .01em;
  text-transform: none; margin-top: 2px;
}
.hero-portrait-sm { flex: 0 1 300px; }
.hero-portrait-sm img { border-radius: 14px; }
