/* ============================================================
   SHERYL R. PARK — WALLA WALLA COUNTY AUDITOR
   Presidential red · white · blue + antique gold · accountability
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Presidential core */
  --red:        #9e1b2e;   /* muted old-glory crimson */
  --red-dark:   #7c1424;
  --blue:       #2f5488;   /* muted colonial steel blue */
  --blue-light: #6f93c0;

  /* Deep navy / atmosphere */
  --navy:       #0b2447;   /* deep presidential navy */
  --navy-deep:  #07182f;
  --navy-soft:  #14345e;
  --sky-mid:    #2a5980;
  --sky-warm:   #c6a04e;
  --sun:        #c8a24c;   /* antique GOLD accent (this is THE gold) */

  /* Neutrals */
  --snow:       #f6f2e9;   /* warm parchment */
  --mist:       #e8e1d3;   /* warm sand */
  --white:      #ffffff;
  --ink:        #1a2233;
  --ink-muted:  #5d6678;
  --pine:       #2f4a3a;

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-slab:    'Zilla Slab', Georgia, serif;
  --font-body:    'Public Sans', system-ui, sans-serif;

  --transition: 0.3s ease;
  --shadow:     0 6px 26px rgba(10,35,66,0.12);
  --shadow-lg:  0 16px 50px rgba(6,24,47,0.28);
  --maxw: 1180px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ---- PRELOADER ---- */
#preloader {
  position: fixed; inset: 0; z-index: 99999;
  background: radial-gradient(120% 120% at 50% 30%, var(--navy-soft), var(--navy-deep));
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-peak { width: 90px; height: 68px; margin: 0 auto 0.9rem; display: block; }
.pl-draw {
  stroke-dasharray: 200; stroke-dashoffset: 200;
  animation: drawPeak 1.4s ease-in-out infinite alternate;
}
@keyframes drawPeak { to { stroke-dashoffset: 0; } }
.preloader-name {
  font-family: var(--font-display); font-weight: 600;
  color: #fff; font-size: 1.15rem; letter-spacing: 0.22em; text-transform: uppercase;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.05rem; letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.8em 2em; border-radius: 6px; cursor: pointer; border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition), color var(--transition);
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(158,27,46,0.32); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(158,27,46,0.42); }
.btn-ghost {
  background: rgba(255,255,255,0.08); color: #fff;
  border: 1.5px solid rgba(255,255,255,0.7); backdrop-filter: blur(2px);
}
.btn-ghost:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }
.btn-donate {
  display: block; width: 100%; max-width: 340px; margin: 1.6rem auto 0;
  background: var(--sun); color: var(--navy-deep);
  font-size: 1.2rem; text-align: center; padding: 0.95em 2em;
  box-shadow: 0 8px 24px rgba(200,162,76,0.4);
}
.btn-donate:hover { background: #ffd472; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(200,162,76,0.5); }
.full-width { width: 100%; text-align: center; }

/* ---- NAVBAR ---- */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent; transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
#navbar.scrolled { background: rgba(6,24,47,0.95); box-shadow: 0 2px 18px rgba(0,0,0,0.4); }
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 1rem 2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav-logo { display: flex; align-items: center; gap: 0.7rem; }
.nav-mark { width: 36px; height: 36px; color: #fff; flex-shrink: 0; }
.nav-mark svg { width: 100%; height: 100%; }
.nav-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: #fff; letter-spacing: 0.02em; }
.logo-sub { font-size: 0.66rem; color: var(--sun); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 0.15rem; }

.nav-links { list-style: none; display: flex; align-items: center; gap: 1.8rem; }
.nav-links a {
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.95rem; color: #fff; letter-spacing: 0.06em; text-transform: uppercase;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--sun); }
.nav-donate {
  background: var(--red) !important; color: #fff !important;
  padding: 0.45em 1.2em !important; border-radius: 5px;
}
.nav-donate:hover { background: var(--red-dark) !important; color: #fff !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: all var(--transition); }

/* ============================================================
   HERO — CAMPAIGN SIGN (navy · stars · stripes · high-desert farmland)
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; padding: 6rem 1.5rem 4rem;
}
.hero-sky {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(55% 42% at 50% 73%, rgba(206, 162, 76, 0.34) 0%, rgba(206, 162, 76, 0) 60%),
    radial-gradient(125% 95% at 50% 16%, #223761 0%, #16284a 46%, #0b1a36 100%);
}
/* Stars cluster — top-left, like the sign's flag canton */
.hero-stars {
  position: absolute; top: clamp(1rem, 4vh, 3.2rem); left: clamp(1rem, 4vw, 3.2rem);
  z-index: 1; width: min(42%, 360px); pointer-events: none;
}
.hero-stars svg { width: 100%; height: auto; display: block; }
.hero-stars use { fill: #eef3fb; }
/* Flag stripes — top-right, fading into the navy */
.hero-stripes {
  position: absolute; top: 0; right: 0; z-index: 1;
  width: min(48%, 640px); height: 38%;
  background: repeating-linear-gradient(180deg, #9e1b2e 0, #9e1b2e 13px, #fbfbfb 13px, #fbfbfb 26px);
  -webkit-mask-image: linear-gradient(250deg, #000 26%, transparent 72%);
          mask-image: linear-gradient(250deg, #000 26%, transparent 72%);
  opacity: 0.9; pointer-events: none;
}
.hero-ranges { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-ranges .range {
  position: absolute; left: -2%; right: -2%; width: 104%; bottom: -3px;
  will-change: transform;
}
.range-4 { height: 50%; }
.range-3 { height: 43%; }
.range-2 { height: 35%; }
.range-1 { height: 27%; }
.hero-ranges .range path {
  stroke: var(--snow); stroke-width: 3; stroke-linejoin: round; paint-order: stroke;
}
.range-4 path { fill: #3f5e86; }   /* Blue Mountains (back)         */
.range-3 path { fill: #7c8356; }   /* high-desert foothills (sage)  */
.range-2 path { fill: #c19a45; }   /* golden wheat farmland         */
.range-1 path { fill: #966c2c; }   /* harvested field (front)       */

/* Sun rising behind the Blue Mountains (parallaxed by script.js) */
.hero-sun {
  position: absolute; z-index: 1; top: 64%; left: 50%;
  width: clamp(120px, 18vw, 240px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #efd693 0%, #dcbb64 44%, rgba(216, 182, 94, 0) 72%);
  transform: translate(-50%, -50%); pointer-events: none; will-change: transform;
}
/* Foreground props — red tractor (left) + barn & silo (right) */
.hero-tractor, .hero-farm {
  position: absolute; z-index: 3; pointer-events: none; will-change: transform;
}
.hero-tractor { bottom: 5.5%; left: clamp(0.5rem, 6vw, 7rem); width: clamp(112px, 15vw, 205px); }
.hero-farm    { bottom: 12%;  right: clamp(0.5rem, 7vw, 8rem); width: clamp(74px, 9vw, 132px); }
.hero-tractor svg, .hero-farm svg {
  width: 100%; height: auto; display: block; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.35));
}
@media (max-width: 600px) {
  .hero-farm { display: none; }              /* keep mobile uncluttered */
  .hero-stars { top: 4.4rem; width: 33%; }   /* drop the stars below the nav logo */
  .hero-stripes { width: 42%; height: 26%; } /* keep clear of the menu button */
  .nav-toggle span { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); } /* contrast over stripes */
  /* let the office line wrap instead of clipping on the smallest phones */
  .hero-office { display: block; line-height: 1.12; }
  .ho-for { top: 0; }
}

.hero-inner { position: relative; z-index: 5; max-width: 960px; }
.hero-name {
  display: flex; flex-direction: column; align-items: center;
  font-family: 'Anton', var(--font-display); font-weight: 400;
  text-transform: uppercase; color: #fff; line-height: 0.84;
  text-shadow: 0 6px 34px rgba(0,0,0,0.5); margin-bottom: 0.7rem;
  animation: heroRise 1s cubic-bezier(0.2,0.8,0.3,1) both;
}
.hn-first { font-size: clamp(1.5rem, 5vw, 3.3rem); letter-spacing: 0.18em; padding-left: 0.18em; }
.hn-last  { font-size: clamp(3.4rem, 13.5vw, 9.2rem); letter-spacing: 0.005em; }
.hero-office {
  font-family: 'Anton', var(--font-display); text-transform: uppercase; color: #fff;
  font-size: clamp(1.05rem, 3.4vw, 2.1rem); letter-spacing: 0.06em; line-height: 1;
  display: inline-flex; align-items: baseline; justify-content: center; gap: 0.45rem;
  margin-bottom: 1.3rem; text-shadow: 0 3px 20px rgba(0,0,0,0.45);
  animation: heroRise 1s 0.1s cubic-bezier(0.2,0.8,0.3,1) both;
}
.ho-for {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  color: var(--sun); font-size: 0.6em; letter-spacing: 0.28em;
  line-height: 1; position: relative; top: -0.12em;
}
.hero-tagline {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.05rem, 2.5vw, 1.6rem); color: rgba(255,255,255,0.9);
  letter-spacing: 0.04em; text-shadow: 0 2px 16px rgba(0,0,0,0.45);
  margin-bottom: 2.1rem; animation: heroRise 1s 0.2s cubic-bezier(0.2,0.8,0.3,1) both;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; animation: heroRise 1s 0.32s cubic-bezier(0.2,0.8,0.3,1) both; }
@keyframes heroRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }

.hero-scroll {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 6;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.85); font-family: var(--font-display); font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600;
}
.scroll-dot {
  width: 22px; height: 34px; border: 2px solid rgba(255,255,255,0.5); border-radius: 12px; position: relative;
}
.scroll-dot::after {
  content: ''; position: absolute; left: 50%; top: 7px; width: 4px; height: 6px;
  background: #fff; border-radius: 2px; transform: translateX(-50%);
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,12px)} 100%{opacity:0} }

/* ============================================================
   SHARED SECTION PRIMITIVES
   ============================================================ */
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.section-eyebrow {
  font-family: var(--font-display); font-weight: 700;
  font-size: 0.82rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--red); margin-bottom: 0.7rem; display: inline-flex; align-items: center; gap: 0.6rem;
}
.section-eyebrow::before { content: ''; width: 1.8rem; height: 2px; background: var(--red); display: inline-block; }
.section-eyebrow.center { display: flex; justify-content: center; }
.section-eyebrow.light { color: var(--sun); }
.section-eyebrow.light::before { background: var(--sun); }
.section-title {
  font-family: var(--font-slab); font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.08; color: var(--navy);
  margin-bottom: 1.1rem;
}
.section-title.light { color: #fff; }
.section-title.center { text-align: center; }
.section-intro { max-width: 680px; color: var(--ink-muted); font-size: 1.06rem; margin-bottom: 2.6rem; }
.section-intro.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-intro.light { color: rgba(255,255,255,0.78); }

/* ============================================================
   RIDGE CREDENTIAL STRIP
   ============================================================ */
.ridge { position: relative; background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); padding: 3.4rem 1.5rem 3rem; }
.ridge-edge { position: absolute; top: -1px; left: 0; width: 100%; height: 60px; display: block; }
.ridge-edge path { fill: var(--navy); }
.ridge-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center;
}
.ridge-item { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; padding: 0 0.5rem; position: relative; }
.ridge-item + .ridge-item::before {
  content: ''; position: absolute; left: -0.75rem; top: 12%; height: 76%; width: 1px; background: rgba(255,255,255,0.12);
}
.ridge-icon { font-size: 1.7rem; color: var(--sun); margin-bottom: 0.3rem; }
.ridge-item strong { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; }
.ridge-item span { font-size: 0.84rem; color: rgba(255,255,255,0.6); line-height: 1.4; }

/* ============================================================
   ENDORSEMENT BANNER
   ============================================================ */
.endorse-banner {
  background:
    linear-gradient(110deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff; text-align: center; padding: 3rem 1.5rem; position: relative; overflow: hidden;
}
.endorse-banner::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 14px, transparent 14px 28px);
  pointer-events: none;
}
.eb-inner { position: relative; max-width: 760px; margin: 0 auto; }
.eb-seal { font-size: 2.4rem; color: var(--sun); margin-bottom: 0.6rem; }
.eb-eyebrow { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.78rem; color: rgba(255,255,255,0.8); margin-bottom: 0.5rem; }
.eb-headline { font-family: var(--font-slab); font-weight: 600; font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.18; margin-bottom: 0.8rem; }
.eb-sub { font-size: 1.02rem; color: rgba(255,255,255,0.9); }
.eb-sub a { color: #fff; font-weight: 700; border-bottom: 2px solid var(--sun); }
.eb-sub a:hover { color: var(--snow); }

/* ============================================================
   WHY I'M RUNNING / STATEMENT
   ============================================================ */
.statement { background: var(--snow); padding: 5.5rem 1.5rem; }
.statement-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.statement-quote {
  font-family: var(--font-slab); font-weight: 600; font-style: italic;
  font-size: clamp(1.45rem, 3.2vw, 2.1rem); line-height: 1.36; color: var(--navy);
  margin: 1.2rem auto 2rem; max-width: 760px; position: relative;
}
.statement-quote::before {
  content: '\201C'; display: block; font-family: Georgia, serif; font-size: 4.4rem;
  line-height: 0.5; color: var(--red); margin-bottom: 0.6rem;
}
.statement-body { text-align: left; color: var(--ink-muted); font-size: 1.05rem; line-height: 1.85; margin-bottom: 1.2rem; }
.statement-body strong { color: var(--ink); }
.statement-signoff { font-family: var(--font-slab); font-weight: 600; font-size: 1.3rem; color: var(--red); margin-top: 1.4rem; }

/* ============================================================
   ABOUT — EDITORIAL
   ============================================================ */
.about { background: #fff; padding: 6rem 1.5rem; }
.about-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 4rem; align-items: center;
}
.about-photo { position: relative; }
.about-photo-frame {
  position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 4;
  border: 5px solid #fff; box-shadow: var(--shadow-lg);
  background: linear-gradient(160deg, var(--navy-soft), var(--navy-deep));
}
.about-photo-frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,35,66,0.45) 100%);
}
.about-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.about-photo-badge {
  position: absolute; bottom: -18px; right: -14px; z-index: 3;
  background: var(--red); color: #fff; border-radius: 10px; padding: 0.7rem 1rem;
  display: flex; flex-direction: column; align-items: center; line-height: 1;
  box-shadow: 0 10px 26px rgba(158,27,46,0.4); transform: rotate(-3deg);
}
.apb-top { font-family: var(--font-slab); font-weight: 700; font-size: 1.9rem; }
.apb-bot { font-family: var(--font-display); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; }

.about-lead { font-family: var(--font-slab); font-weight: 500; font-size: 1.3rem; line-height: 1.5; color: var(--navy); margin-bottom: 1.4rem; }
.about-para { color: var(--ink-muted); font-size: 1.02rem; line-height: 1.85; margin-bottom: 1.2rem; }
.about-para strong { color: var(--ink); font-weight: 700; }
.about-facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1.5rem; margin-top: 1.6rem; }
.about-facts li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.92rem; color: var(--ink); font-weight: 500; }
.about-facts i { color: var(--red); width: 20px; text-align: center; flex-shrink: 0; }

/* ============================================================
   ACCOUNTABILITY — THE PATH TO ACCOUNTABILITY
   ============================================================ */
.trail {
  position: relative; padding: 5.5rem 1.5rem 6rem;
  background:
    radial-gradient(120% 80% at 50% 0%, #163a63 0%, var(--navy) 45%, var(--navy-deep) 100%);
  overflow: hidden;
}
.trail-head { max-width: 760px; margin: 0 auto 3.5rem; }
.trail-note { display: block; font-size: 0.82rem; color: rgba(255,255,255,0.45); font-style: italic; margin-top: 0.5rem; letter-spacing: 0; }

.trail-map { position: relative; max-width: 940px; margin: 0 auto; }
.trail-line { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 200px; height: 100%; z-index: 1; }
.trail-base { stroke: rgba(255,255,255,0.14); stroke-width: 4; stroke-dasharray: 2 14; stroke-linecap: round; }
.trail-progress {
  stroke: var(--sun); stroke-width: 4; stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(200,162,76,0.6));
}

/* The traveling gold coin — rides the leading tip of the drawn path.
   The outer element is positioned (left/top set in script.js) and centered;
   the inner element does the wobble, so the two transforms don't collide. */
.trail-dog {
  position: absolute; top: 0; left: 50%; z-index: 4;
  width: 38px; height: 38px;
  transform: translate(-50%, -50%);
  opacity: 0; transition: opacity 0.4s ease;
  pointer-events: none; will-change: left, top;
}
.trail-dog.is-visible { opacity: 1; }
.trail-dog-inner {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #163a63 0%, var(--navy) 75%);
  border: 2.5px solid var(--sun); color: var(--sun); font-size: 1rem;
  box-shadow: 0 0 0 5px rgba(200,162,76,0.16), 0 8px 18px rgba(0,0,0,0.45);
  transform-origin: 50% 70%;
  animation: dogWobble 0.95s ease-in-out infinite;
}
@keyframes dogWobble {
  0%, 100% { transform: rotate(-9deg) translateY(0); }
  25%      { transform: rotate(7deg)  translateY(-2px); }
  50%      { transform: rotate(-5deg) translateY(0); }
  75%      { transform: rotate(9deg)  translateY(-2px); }
}

.trail-stops { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 2.5rem; }
.trail-stop { position: relative; width: 50%; display: flex; }
.trail-stop.left { justify-content: flex-end; padding-right: 3.2rem; margin-right: auto; }
.trail-stop.right { justify-content: flex-start; padding-left: 3.2rem; margin-left: auto; }

.ts-marker {
  position: absolute; top: 1.6rem; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); border: 3px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center; z-index: 3;
  transition: border-color 0.4s ease, background 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}
.ts-marker span { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: rgba(255,255,255,0.5); transition: color 0.4s ease; }
.trail-stop.left .ts-marker { right: -23px; }
.trail-stop.right .ts-marker { left: -23px; }
.trail-stop.active .ts-marker { background: var(--red); border-color: var(--sun); transform: scale(1.12); box-shadow: 0 0 0 6px rgba(158,27,46,0.18); }
.trail-stop.active .ts-marker span { color: #fff; }

.ts-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 1.8rem 1.7rem; max-width: 400px;
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease, background 0.3s ease, border-color 0.3s ease;
}
.trail-stop.active .ts-card { opacity: 1; transform: translateY(0); background: rgba(255,255,255,0.08); border-color: rgba(200,162,76,0.4); }
.ts-icon { font-size: 1.9rem; color: var(--sun); margin-bottom: 0.9rem; }
.ts-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: 0.02em; color: #fff; margin-bottom: 0.7rem; }
.ts-card p { font-size: 0.96rem; color: rgba(255,255,255,0.72); line-height: 1.75; }

.trail-track { position: relative; }

.trail-summit {
  position: relative; z-index: 3; margin: 1.3rem auto 0; width: max-content;
  display: flex; justify-content: center;
  opacity: 0; transform: translateY(20px) scale(0.92); transition: opacity 0.6s ease, transform 0.6s ease;
}
.trail-summit.active { opacity: 1; transform: translateY(0) scale(1); }
.capitol {
  width: 96px; height: 96px; border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #14345e 0%, #0b2447 72%);
  border: 3px solid rgba(200,162,76,0.4);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 8px rgba(200,162,76,0.12), 0 14px 34px rgba(0,0,0,0.5);
}
.capitol svg { width: 80%; height: 80%; display: block; filter: drop-shadow(0 1px 1px rgba(0,0,0,0.35)); }

.trail-caption {
  position: relative; z-index: 3; text-align: center; margin-top: 0.9rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  letter-spacing: 0.24em; text-transform: uppercase; color: #fff;
}
.trail-caption::after {
  content: ''; display: block; width: 34px; height: 2px; background: var(--sun);
  margin: 0.55rem auto 0; border-radius: 2px;
}
.trail-cta { text-align: center; margin-top: 3rem; position: relative; z-index: 3; }
.trail-cta .btn i { margin-left: 0.5rem; transition: transform var(--transition); }
.trail-cta .btn:hover i { transform: translateX(4px); }

/* ============================================================
   WALLA WALLA COUNTY
   ============================================================ */
.district { background: var(--snow); padding: 6rem 1.5rem; }
.district-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: center; }
.district-towns { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; margin-top: 1.6rem; }
.district-towns span { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.03em; color: var(--navy); background: #fff; border: 1px solid var(--mist); border-radius: 100px; padding: 0.4em 1em; }
.district-towns i { color: var(--red); margin-right: 0.35rem; }
.district-stats { display: flex; flex-direction: column; gap: 1rem; }
.dstat { background: var(--navy); color: #fff; border-radius: 12px; padding: 1.6rem 1.8rem; display: flex; align-items: center; gap: 1.4rem; box-shadow: var(--shadow); border-left: 5px solid var(--red); }
.dstat-num { font-family: var(--font-slab); font-weight: 700; font-size: 2.8rem; line-height: 1; color: var(--sun); min-width: 90px; }
.dstat-label { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255,255,255,0.85); line-height: 1.3; }

/* ============================================================
   ENDORSEMENTS
   ============================================================ */
.endorsements { background: #fff; padding: 6rem 1.5rem; text-align: center; }
.endorse-grid { display: grid; grid-template-columns: 1fr; gap: 1.8rem; margin-top: 1rem; max-width: 920px; margin-left: auto; margin-right: auto; }
@media (min-width: 720px) { .endorse-grid { grid-template-columns: 1fr 1fr; } } /* balanced 2x2 for the endorsement cards */
.endorse-card {
  background: var(--snow); border-radius: 14px; padding: 2.2rem 1.8rem; text-align: left;
  border-top: 4px solid var(--blue); box-shadow: var(--shadow);
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow var(--transition);
}
.endorse-card.visible { opacity: 1; transform: translateY(0); }
.endorse-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.endorse-card.featured { border-top-color: var(--red); background: linear-gradient(160deg, #fff 0%, #fff5f6 100%); }
.endorse-mark { font-size: 1.8rem; color: var(--red); margin-bottom: 1rem; }
.endorse-card.featured .endorse-mark { color: var(--red); }
.endorse-quote { font-family: var(--font-slab); font-style: italic; font-size: 1.08rem; line-height: 1.55; color: var(--navy); margin-bottom: 1.2rem; }
.endorse-name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy); }
.endorse-title { display: block; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); font-weight: 600; margin-top: 0.2rem; }

/* ============================================================
   EVENTS  (rendered live from the portal by events.js)
   ============================================================ */
.events { background: #fff; padding: 5.5rem 1.5rem 6rem; text-align: center; }
.events .section-intro a { color: var(--red); font-weight: 700; border-bottom: 2px solid rgba(158,27,46,0.3); }
.events-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.8rem; margin-top: 1rem; text-align: left;
}
.event-card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--mist); border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow); opacity: 0; transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow var(--transition);
}
.events-grid.ready .event-card { opacity: 1; transform: none; }
.events-grid.ready .event-card:nth-child(2) { transition-delay: 0.08s; }
.events-grid.ready .event-card:nth-child(3) { transition-delay: 0.16s; }
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.event-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(160deg, var(--navy-soft), var(--navy-deep)); }
.event-media img { width: 100%; height: 100%; object-fit: cover; }
.event-media-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(200,162,76,0.55); font-size: 2.6rem; }
.event-datechip {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--red); color: #fff; border-radius: 10px; padding: 0.4rem 0.6rem;
  text-align: center; line-height: 1; min-width: 52px; box-shadow: 0 6px 16px rgba(158,27,46,0.42);
}
.event-datechip .ec-month { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em; }
.event-datechip .ec-day { display: block; font-family: var(--font-slab); font-weight: 700; font-size: 1.5rem; margin-top: 0.1rem; }

.event-body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.event-subtitle { font-family: var(--font-display); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); }
.event-title { font-family: var(--font-slab); font-weight: 700; font-size: 1.35rem; line-height: 1.2; color: var(--navy); }
.event-meta { display: flex; flex-direction: column; gap: 0.3rem; margin: 0.1rem 0; }
.event-meta-row { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.92rem; color: var(--ink-muted); }
.event-meta-row i { color: var(--red); width: 16px; text-align: center; margin-top: 0.22rem; flex-shrink: 0; }
.event-desc { font-size: 0.96rem; color: var(--ink-muted); line-height: 1.65; }
.event-actions { margin-top: auto; padding-top: 0.95rem; border-top: 1px solid var(--mist); display: flex; flex-direction: column; gap: 0.6rem; }
.event-action-group { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.event-action-label { font-family: var(--font-display); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.event-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.03em;
  padding: 0.42em 0.85em; border-radius: 6px; background: var(--snow);
  border: 1px solid var(--mist); color: var(--navy); transition: all var(--transition);
}
.event-link:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-1px); }
.event-link i { font-size: 0.95rem; }

.events-empty {
  grid-column: 1 / -1; text-align: center; color: var(--ink-muted);
  background: var(--snow); border: 1px dashed var(--mist); border-radius: 14px; padding: 3rem 1.5rem;
}
.events-empty i { font-size: 2.4rem; color: var(--red); margin-bottom: 0.6rem; display: block; }
.events-empty h3 { font-family: var(--font-slab); font-weight: 700; color: var(--navy); font-size: 1.4rem; margin-bottom: 0.4rem; }
.events-empty a { color: var(--red); font-weight: 700; }

/* ============================================================
   TESTIMONIALS  (template — avatar bubbles)
   ============================================================ */
.testimonials { background: var(--snow); padding: 5.5rem 1.5rem 6rem; text-align: center; }
.tmpl-note { display: block; font-size: 0.82rem; color: var(--ink-muted); font-style: italic; margin-top: 0.45rem; letter-spacing: 0; }
.tstmnl-stack { max-width: 900px; margin: 2.4rem auto 0; display: flex; flex-direction: column; gap: 1.8rem; }
.tstmnl {
  display: flex; align-items: center; gap: 1.5rem; text-align: left;
  background: var(--white); border-radius: 14px; padding: 1.5rem 1.8rem;
  box-shadow: var(--shadow); border-left: 4px solid var(--red); max-width: 680px;
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow var(--transition);
}
.tstmnl.visible { opacity: 1; transform: translateY(0); }
.tstmnl:hover { box-shadow: var(--shadow-lg); }
.tstmnl-lead { margin-right: auto; }
.tstmnl-trail { margin-left: auto; flex-direction: row-reverse; border-left: none; border-right: 4px solid var(--sun); }
.tstmnl-avatar {
  flex-shrink: 0; width: 84px; height: 84px; border-radius: 50%; overflow: hidden;
  border: 3px solid var(--navy); background: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.tstmnl-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tstmnl-avatar span { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.04em; color: var(--sun); }
.tstmnl-bubble { flex: 1; }
.tstmnl-bubble p { font-family: var(--font-slab); font-style: italic; font-size: 1.04rem; line-height: 1.55; color: var(--navy); margin-bottom: 0.7rem; }
.tstmnl-bubble p::before { content: '\201C'; font-family: Georgia, serif; font-size: 2.2rem; line-height: 0; color: var(--red); margin-right: 0.12em; vertical-align: -0.35em; }
.tstmnl-name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--navy); }
.tstmnl-title { display: block; font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); font-weight: 600; margin-top: 0.15rem; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { background: var(--snow); padding: 6rem 0 0; text-align: center; }
.gallery .section-inner { padding: 0 1.5rem; }
.gallery-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 2.6rem; }
.gallery-item { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--navy-soft); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(10,35,66,0.4) 100%); }

/* ============================================================
   DONATE
   ============================================================ */
.donate { position: relative; padding: 6rem 1.5rem; text-align: center; overflow: hidden; background: var(--navy-deep); }
.donate-sky {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(80% 60% at 50% 120%, rgba(200,162,76,0.28) 0%, transparent 60%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 60%, #14233f 100%);
}
.donate-inner { position: relative; z-index: 1; max-width: 660px; margin: 0 auto; }
.donate-sub { color: rgba(255,255,255,0.78); font-size: 1.06rem; margin-bottom: 2.2rem; }
.donate-amounts { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; }
.amount-btn {
  background: rgba(255,255,255,0.08); border: 2px solid rgba(255,255,255,0.25); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; letter-spacing: 0.04em;
  padding: 0.55em 1.5em; border-radius: 6px; cursor: pointer; transition: all var(--transition);
}
.amount-btn:hover, .amount-btn.active { background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.amount-btn.other { border-style: dashed; }
.donate-mail { margin-top: 2rem; background: rgba(255,255,255,0.06); border-radius: 8px; padding: 1.1rem 1.4rem; font-size: 0.92rem; color: rgba(255,255,255,0.72); }
.donate-mail strong { color: var(--sun); }
.donate-mail em { font-style: normal; color: #fff; }
.donate-legal { font-size: 0.74rem; color: rgba(255,255,255,0.42); line-height: 1.6; margin-top: 1.4rem; }

/* ============================================================
   GET INVOLVED
   ============================================================ */
.connect { background: var(--snow); padding: 6rem 1.5rem; }
.connect-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.connect-text p { color: var(--ink-muted); margin-bottom: 1.4rem; }
.connect-list { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; margin-bottom: 1.8rem; }
.connect-list li { display: flex; align-items: center; gap: 0.6rem; color: var(--ink-muted); font-size: 0.96rem; }
.connect-list li::before { content: ''; width: 8px; height: 8px; background: var(--red); border-radius: 50%; flex-shrink: 0; }
.connect-contact { display: flex; flex-direction: column; gap: 0.6rem; }
.connect-contact a { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 600; color: var(--navy); font-size: 0.96rem; }
.connect-contact i { color: var(--red); width: 18px; }
.connect-contact a:hover { color: var(--red); }

.connect-form { background: #fff; border-radius: 14px; padding: 2.3rem 2.1rem; box-shadow: var(--shadow); border-top: 5px solid var(--blue); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; margin-bottom: 1.1rem; }
.form-group label { font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); margin-bottom: 0.35rem; }
.form-group input[type="text"], .form-group input[type="email"] {
  padding: 0.75em 1em; border: 2px solid var(--mist); border-radius: 6px; font-size: 0.95rem;
  font-family: var(--font-body); transition: border-color var(--transition); outline: none;
}
.form-group input:focus { border-color: var(--red); }
.checkbox-group label { flex-direction: row !important; align-items: flex-start; gap: 0.6rem; text-transform: none !important; letter-spacing: 0 !important; font-size: 0.88rem !important; color: var(--ink-muted) !important; cursor: pointer; font-weight: 400 !important; font-family: var(--font-body) !important; }
.checkbox-group input[type="checkbox"] { margin-top: 3px; accent-color: var(--red); flex-shrink: 0; }
.form-legal { font-size: 0.74rem; color: var(--ink-muted); margin-top: 0.8rem; line-height: 1.5; }
.form-success { margin-top: 1rem; padding: 0.9rem 1rem; background: rgba(42,100,176,0.1); border: 1px solid var(--blue); border-radius: 8px; color: var(--navy); font-weight: 600; font-size: 0.92rem; text-align: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-deep); padding: 0 1.5rem 2rem; position: relative; }
.footer-ridge { line-height: 0; margin: 0 -1.5rem 2.6rem; }
.footer-ridge svg { width: 100%; height: 70px; display: block; }
.footer-ridge path { fill: var(--navy); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: 2rem 3rem; align-items: start; }
.footer-brand { display: flex; flex-direction: column; gap: 0.25rem; }
.footer-mark { width: 34px; height: 34px; color: #fff; margin-bottom: 0.3rem; }
.footer-mark svg { width: 100%; height: 100%; }
.footer-name { font-family: var(--font-slab); font-weight: 700; font-size: 1.35rem; color: #fff; }
.footer-tagline { font-size: 0.84rem; color: var(--sun); font-style: italic; }
.footer-office { font-size: 0.72rem; color: rgba(255,255,255,0.45); letter-spacing: 0.04em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: center; justify-content: center; }
.footer-links a { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; color: rgba(255,255,255,0.6); letter-spacing: 0.05em; text-transform: uppercase; transition: color var(--transition); }
.footer-links a:hover { color: var(--sun); }
.footer-social { display: flex; gap: 0.7rem; }
.social-btn { width: 38px; height: 38px; background: rgba(255,255,255,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); transition: background var(--transition), color var(--transition), transform var(--transition); }
.social-btn:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.footer-legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; margin-top: 0.5rem; display: flex; flex-direction: column; gap: 0.35rem; }
.footer-legal p { font-size: 0.74rem; color: rgba(255,255,255,0.4); line-height: 1.5; }
.footer-legal strong { color: rgba(255,255,255,0.65); }

/* ============================================================
   PLATFORM PAGE (platform.html)
   ============================================================ */
.platform-hero {
  position: relative; text-align: center; color: #fff; overflow: hidden;
  padding: 9rem 1.5rem 4.5rem;
  background: radial-gradient(125% 95% at 50% 0%, #223761 0%, #16284a 50%, #0b1a36 100%);
}
.platform-hero .section-eyebrow { color: var(--sun); justify-content: center; }
.platform-hero .section-eyebrow::before { background: var(--sun); }
.platform-hero h1 {
  font-family: var(--font-slab); font-weight: 700; line-height: 1.05; color: #fff;
  font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: 0.9rem;
}
.platform-hero p { max-width: 680px; margin: 0 auto; color: rgba(255,255,255,0.82); font-size: 1.08rem; }

.platform-block { padding: 4.5rem 1.5rem; }
.platform-block.alt { background: var(--snow); }
.platform-block + .platform-block { border-top: 1px solid var(--mist); }
.platform-inner { max-width: 800px; margin: 0 auto; }
.platform-head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.3rem; }
.pb-icon {
  width: 56px; height: 56px; flex-shrink: 0; border-radius: 13px;
  background: var(--navy); color: var(--sun);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  box-shadow: var(--shadow);
}
.pb-eyebrow { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); margin-bottom: 0.2rem; }
.platform-head h2 { font-family: var(--font-slab); font-weight: 700; font-size: clamp(1.6rem, 3.6vw, 2.3rem); line-height: 1.12; color: var(--navy); }

.platform-cta { text-align: center; padding: 4.5rem 1.5rem 5rem; background: var(--navy-deep); color: #fff; }
.platform-cta h2 { font-family: var(--font-slab); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.6rem); color: #fff; margin-bottom: 0.8rem; }
.platform-cta p { max-width: 560px; margin: 0 auto 1.8rem; color: rgba(255,255,255,0.8); }
.platform-cta .hero-actions { margin-top: 0.4rem; }

@media (max-width: 600px) {
  .platform-head { flex-direction: column; align-items: flex-start; gap: 0.7rem; }
}

/* ============================================================
   SCROLL-IN ANIMATION HELPER
   ============================================================ */
.animate-in { opacity: 0; transform: translateY(30px); }
.animate-in.visible { opacity: 1; transform: translateY(0); transition: opacity 0.6s ease, transform 0.6s ease; }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .ts-card, .trail-summit, .endorse-card, .animate-in, .event-card, .tstmnl { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   TOUCH TARGETS
   ============================================================ */
@media (pointer: coarse) {
  .btn { min-height: 46px; }
  .amount-btn { min-height: 46px; }
  .nav-toggle { min-width: 44px; min-height: 44px; justify-content: center; }
  .social-btn { width: 44px; height: 44px; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Tighten the (now 7-item) desktop nav in the band before the mobile menu kicks in */
@media (max-width: 980px) and (min-width: 761px) {
  .nav-links { gap: 1.05rem; }
  .nav-links a { font-size: 0.86rem; }
}

@media (max-width: 980px) {
  .about-inner { grid-template-columns: 1fr; gap: 2.5rem; max-width: 560px; }
  .about-photo { max-width: 380px; margin: 0 auto; }
  .district-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .connect-inner { grid-template-columns: 1fr; gap: 2.2rem; }
  .ridge-inner { grid-template-columns: 1fr 1fr; gap: 1.8rem 1rem; }
  .ridge-item:nth-child(3)::before, .ridge-item:nth-child(odd)::before { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 760px) {
  /* Mobile nav */
  .nav-links {
    display: none; position: fixed; inset: 0; background: var(--navy-deep);
    flex-direction: column; justify-content: center; align-items: center; gap: 2rem; z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.3rem; }
  .nav-toggle { display: flex; z-index: 1001; position: relative; }

  /* Trail collapses to a single left rail */
  .trail-line { left: 24px; transform: none; width: 60px; }
  .trail-dog { width: 32px; height: 32px; }
  .trail-dog-inner { font-size: 0.85rem; }
  .trail-stops { gap: 1.6rem; }
  .trail-stop { width: 100%; }
  .trail-stop.left, .trail-stop.right { justify-content: flex-start; padding-left: 3.4rem; padding-right: 0; margin: 0; }
  .trail-stop.left .ts-marker, .trail-stop.right .ts-marker { left: 1px; right: auto; }
  .ts-card { max-width: 100%; }
  .trail-summit { margin: 1.2rem 0 0 6px; justify-content: flex-start; }
  .trail-caption { text-align: left; margin-left: 8px; }
  .trail-caption::after { margin-left: 0; }

  .gallery-strip { grid-template-columns: 1fr 1fr; gap: 4px; }
  .about-facts { grid-template-columns: 1fr; }
  .dstat-num { font-size: 2.2rem; min-width: 70px; }

  .statement, .about, .district, .endorsements, .donate, .connect, .events, .testimonials { padding-left: 1.3rem; padding-right: 1.3rem; }
  .statement-body { font-size: 0.98rem; }

  /* Testimonials stack vertically + centered on mobile */
  .tstmnl, .tstmnl-trail { flex-direction: column !important; text-align: center; max-width: 100%; gap: 1rem; padding: 1.4rem 1.2rem; }
  .tstmnl-trail { border-right: none; border-left: 4px solid var(--sun); }
}

@media (max-width: 480px) {
  .nav-inner { padding: 0.8rem 1.1rem; }
  .logo-name { font-size: 1.1rem; }
  .hn-last { font-size: clamp(3rem, 17vw, 4.2rem); }
  .ridge-inner { grid-template-columns: 1fr; }
  .ridge-item + .ridge-item::before { display: none; }
  .ridge-item { padding-bottom: 1.1rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .ridge-item:last-child { border-bottom: none; padding-bottom: 0; }
  .gallery-strip { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .dstat { flex-direction: column; align-items: flex-start; gap: 0.4rem; text-align: left; }
  .about-photo-badge { right: 8px; }
  .hero-actions .btn { width: 100%; max-width: 300px; }
}

/* ============================================================
   DONATE QR + YARD-SIGN CALLOUT (added assets)
   ============================================================ */
.donate-qr {
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.55rem; margin-top: 1.8rem;
}
.donate-qr img {
  width: 150px; height: 150px; background: #fff; border: 5px solid #fff;
  border-radius: 12px; box-shadow: var(--shadow-lg);
}
.donate-qr span {
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82);
}
.connect-sign { display: block; max-width: 360px; margin-top: 1.9rem; }
.connect-sign img {
  width: 100%; display: block; border: 4px solid #fff; border-radius: 12px; box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.connect-sign:hover img { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.connect-sign span { display: block; margin-top: 0.7rem; font-size: 0.95rem; color: var(--ink-muted); }
.connect-sign strong { color: var(--red); font-weight: 700; }
.connect-sign:hover strong { text-decoration: underline; }

/* Featured (real) testimonial — e.g., a fellow County Auditor's endorsement */
.tstmnl-featured {
  max-width: 100%; margin: 0 auto 0.4rem; border-left: 5px solid var(--sun);
  background: linear-gradient(160deg, #fff 0%, #fbf6ea 100%); box-shadow: var(--shadow-lg);
}
.tstmnl-featured .tstmnl-avatar { border-color: var(--sun); background: var(--navy); }
.tstmnl-featured .tstmnl-avatar span { color: var(--sun); }
.tstmnl-featured .tstmnl-bubble p { font-size: 1.12rem; }
.tstmnl-featured .tstmnl-title { color: var(--blue); }

/* Expired event — chip + dimmed card (public "Upcoming Events") */
.event-expired {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  font-family: var(--font-display); font-weight: 700; font-size: 0.66rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: #fff;
  background: rgba(20, 28, 45, 0.82); padding: 0.25rem 0.6rem; border-radius: 100px;
}
.event-card.is-expired { opacity: 0.72; }
.event-card.is-expired:hover { opacity: 0.92; }
.event-card.is-expired .event-media img { filter: grayscale(0.45); }
.event-card.is-expired .event-datechip { background: var(--ink-muted); }

/* "On the Trail" — fun tilted polaroid snapshot with a handwritten caption */
.snapshot { background: var(--snow); padding: 4.5rem 1.5rem 5rem; text-align: center; }
.snapshot-card {
  display: inline-block; background: #fff; padding: 16px 16px 0; margin-top: 2.4rem;
  border-radius: 3px; box-shadow: 0 20px 44px rgba(6, 24, 47, 0.22);
  transform: rotate(-2.2deg); transition: transform 0.35s ease, box-shadow 0.35s ease;
  max-width: min(360px, 84vw); position: relative;
}
.snapshot-card::before { /* gold washi tape */
  content: ''; position: absolute; top: -15px; left: 50%; width: 120px; height: 32px;
  transform: translateX(-50%) rotate(-3deg);
  background: repeating-linear-gradient(45deg, rgba(200, 162, 76, 0.6) 0 9px, rgba(200, 162, 76, 0.38) 9px 18px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
}
.snapshot-card img { width: 100%; display: block; }
.snapshot-caption {
  font-family: 'Caveat', cursive; font-weight: 700; color: var(--navy);
  font-size: clamp(1.5rem, 5vw, 2rem); line-height: 1.1; padding: 0.7rem 0.5rem 1.05rem;
}
.snapshot-card:hover { transform: rotate(0deg) scale(1.015); box-shadow: var(--shadow-lg); }
@media (prefers-reduced-motion: reduce) { .snapshot-card { transform: none; } }

/* Event photos: cropped uniformly in the card, click for the full image (lightbox) */
.event-photo { cursor: zoom-in; }
.event-zoom {
  position: absolute; bottom: 10px; right: 10px; z-index: 2; pointer-events: none;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(7, 24, 47, 0.6); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem;
  opacity: 0; transition: opacity 0.25s ease;
}
.event-card:hover .event-zoom { opacity: 1; }
@media (pointer: coarse) { .event-zoom { opacity: 1; } }

.lightbox {
  position: fixed; inset: 0; z-index: 2000; display: none;
  align-items: center; justify-content: center; padding: 1.5rem;
  background: rgba(7, 18, 36, 0.92); cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 94vw; max-height: 88vh; object-fit: contain;
  border-radius: 6px; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55); cursor: default;
}
.lightbox-close {
  position: absolute; top: 0.8rem; right: 1.2rem;
  background: none; border: none; color: #fff; font-size: 2.6rem; line-height: 1;
  cursor: pointer; padding: 0.2rem 0.6rem;
}
.lightbox-close:hover { color: var(--sun); }
