/* =========================================================================
   HANNING 2026 — DESIGN SYSTEM
   Palette and type from the existing HANNING / Wagoner County / District 1
   logo lockup. Modern-bold discipline, conservative register.
   ========================================================================= */

:root {
  /* Core palette — pulled from the new HANNING / Wagoner County logo + mailers.
     Brighter, more American-flag red. Gold dropped from accents in favor of
     cream/white/navy for a cleaner red-white-blue patriotic register. */
  --red:        #DC2828;  /* HANNING red — brighter, mailer-matched */
  --red-dark:   #B81E1E;  /* hover / deeper */
  --navy:       #1F2C4A;  /* Wagoner County navy */
  --navy-dark:  #14203A;
  --gold:       #E8B04B;  /* kept defined for legacy use but minimized */
  --gold-dark:  #C9932E;
  --cream:      #FAF6EE;  /* primary background */
  --cream-deep: #F2EADB;  /* card / section alt */
  --ink:        #1A1A1A;
  --body:       #2D3142;
  --muted:      #6B6F7D;
  --line:       rgba(26,26,26,0.10);
  --white:      #FFFFFF;

  /* Typography */
  --font-head:  'Fraunces', Georgia, 'Times New Roman', serif;
  --font-script:'Dancing Script', 'Brush Script MT', cursive;
  --font-body:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing scale */
  --s1: 4px;
  --s2: 8px;
  --s3: 16px;
  --s4: 24px;
  --s5: 32px;
  --s6: 48px;
  --s7: 64px;
  --s8: 96px;
  --s9: 128px;

  --radius: 4px;
  --radius-lg: 8px;

  --container: 1200px;
  --container-narrow: 880px;

  --shadow-sm: 0 2px 6px rgba(26,26,26,0.06);
  --shadow-md: 0 8px 24px rgba(26,26,26,0.10);
  --shadow-lg: 0 16px 48px rgba(26,26,26,0.14);

  --transition: 160ms ease;
}

/* -----  Reset  ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-dark); }

/* -----  Typography  ----- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 var(--s3);
}
h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.3rem); }
h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
h4 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 var(--s3); }
.lead { font-size: 1.2rem; color: var(--body); }
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--red);
  margin: 0 0 var(--s3);
}

/* Editorial chapter / priority section marker — replaces the all-caps eyebrow on long-form pages */
.chapter-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 var(--s4);
  line-height: 1;
}
.chapter-mark .chapter-num {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(28px, 4.5vw, 40px);
  color: var(--red);
  line-height: 1;
  letter-spacing: -0.01em;
}
.chapter-mark .chapter-rule {
  display: inline-block;
  width: 38px;
  height: 1px;
  background: var(--navy-dark);
  opacity: 0.35;
  flex-shrink: 0;
}
.chapter-mark .chapter-label {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--navy-dark);
  opacity: 0.78;
  text-transform: lowercase;
}
.subhead {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--body);
}

/* -----  Layout primitives  ----- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--s4); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--s4); }
.section { padding: var(--s8) 0; }
.section-sm { padding: var(--s6) 0; }
.bg-cream { background: var(--cream); }
.bg-cream-deep { background: var(--cream-deep); }
.bg-navy { background: var(--navy-dark); color: var(--cream); }
.bg-red { background: var(--red); color: var(--cream); }
.bg-white { background: var(--white); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-red h1, .bg-red h2, .bg-red h3 { color: var(--cream); }

/* -----  Buttons  ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 16px 28px;
  border-radius: var(--radius);
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
  min-height: 48px;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary { background: var(--red); color: var(--cream); }
.btn-primary:hover { background: var(--red-dark); color: var(--cream); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-navy { background: var(--navy-dark); color: var(--cream); }
.btn-navy:hover { background: var(--ink); color: var(--cream); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--navy-dark); border: 2px solid var(--navy-dark); }
.btn-outline:hover { background: var(--navy-dark); color: var(--cream); }
.btn-ghost { background: transparent; color: var(--cream); border: 2px solid rgba(250,246,238,0.3); }
.btn-ghost:hover { background: rgba(250,246,238,0.12); color: var(--cream); border-color: var(--cream); }
/* btn-gold retained as alias for btn-primary — gold is deprecated */
.btn-gold { background: var(--red); color: var(--cream); }
.btn-gold:hover { background: var(--red-dark); color: var(--cream); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-lg { padding: 20px 36px; font-size: 17px; }

/* -----  Brand logo (HTML + CSS composition matching new logo) ----- */
.brand {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-decoration: none;
  line-height: 1;
  text-align: left;
  padding: 4px 0;
  color: inherit;
  gap: 0 !important;
}
.brand-james {
  display: block;
  font-family: 'Dancing Script', 'Brush Script MT', cursive;
  font-size: 16px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: -3px;
  margin-left: 3px;
  letter-spacing: 0.5px;
  line-height: 1;
}
.brand-name {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: 1.5px;
  line-height: 0.9;
}
.brand-tagline {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--navy-dark);
  margin-top: 4px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.brand-district {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-dark);
  letter-spacing: 0.04em;
  margin-top: 1px;
}

/* Larger footer variant */
.brand--footer .brand-james    { font-size: 18px; }
.brand--footer .brand-name     { font-size: 44px; letter-spacing: 2px; }
.brand--footer .brand-tagline  { font-size: 12px; color: rgba(250,246,238,0.85); }
.brand--footer .brand-district { font-size: 14px; color: var(--cream); }

/* -----  Navigation  ----- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(8px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s3) var(--s4);
  max-width: var(--container);
  margin: 0 auto;
  gap: var(--s4);
}
.nav-logo { display: flex; align-items: center; gap: var(--s3); text-decoration: none; }
.nav-logo img { height: 68px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: var(--s5); }
.nav-links a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 0;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: var(--s2); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--ink);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

/* -----  Countdown (massive, corner)  ----- */
.countdown {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  background: var(--red);
  color: var(--cream);
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 18px;
  border: 3px solid var(--cream);
  max-width: calc(100vw - 48px);
  transition: transform var(--transition);
}
.countdown:hover { transform: translateY(-2px); }
.countdown-label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.9;
  line-height: 1.2;
}
.countdown-label strong {
  display: block;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: none;
  margin-top: 2px;
  font-weight: 700;
}
.countdown-values {
  display: flex;
  gap: 14px;
}
.countdown-values div {
  text-align: center;
  min-width: 44px;
}
.countdown-values .num {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  display: block;
  color: var(--cream);
}
.countdown-values .unit {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.85;
  display: block;
  margin-top: 4px;
}

/* Election-day / post-primary state */
.countdown.is-past { background: var(--navy-dark); }

/* -----  Hero  ----- */
.hero {
  padding-top: var(--s7);
  padding-bottom: var(--s8);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--s7);
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--navy);
  padding: 6px 12px;
  background: rgba(31,44,74,0.08);
  border-radius: 999px;
  margin-bottom: var(--s4);
}
.hero-eyebrow .dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; }
.hero-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(3rem, 7.5vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s3);
  color: var(--ink);
}
.hero-title .accent-red { color: var(--red); }
.hero-title .accent-navy { color: var(--navy-dark); font-style: italic; }
.hero-tagline {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.35;
  color: var(--body);
  margin: 0 0 var(--s5);
  max-width: 540px;
  font-style: italic;
  font-weight: 500;
}
.hero-tagline strong {
  color: var(--cream);
  font-style: normal;
  font-weight: 700;
  background: var(--red);
  padding: 2px 8px;
  border-radius: 3px;
  margin: 0 2px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-bottom: var(--s5);
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: var(--s4);
  font-size: 14px;
  color: var(--muted);
}
.hero-meta strong { color: var(--navy-dark); font-weight: 700; }
.hero-photo {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 6;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-badge {
  position: absolute;
  left: -6px;
  bottom: 24px;
  background: var(--red);
  color: var(--cream);
  padding: 10px 18px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
}

/* -----  Numbers / Record proof  ----- */
.record {
  background: var(--navy-dark);
  color: var(--cream);
  padding: var(--s8) 0;
  position: relative;
}
.record::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 33%, var(--cream) 33%, var(--cream) 66%, var(--navy) 66%, var(--navy) 100%);
}
.record-head {
  text-align: center;
  margin-bottom: var(--s7);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.record .eyebrow { color: var(--cream); opacity: 0.9; }
.record h2 { color: var(--cream); margin-bottom: var(--s3); }
.record-lead { color: rgba(250,246,238,0.8); font-size: 1.15rem; margin: 0; }
.record-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s5);
}
.stat-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  line-height: 0.9;
  color: var(--cream);
  margin-bottom: var(--s2);
  letter-spacing: -0.02em;
}
.stat-num sub { color: rgba(250,246,238,0.6); }
.stat-num sub {
  font-size: 0.4em;
  font-weight: 700;
  margin-left: 4px;
  color: var(--cream);
  vertical-align: baseline;
}
.stat-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: var(--s2);
}
.stat-detail {
  font-size: 14px;
  color: rgba(250,246,238,0.7);
  line-height: 1.5;
}

/* -----  The Receipts (overwhelming-with-proof scroll)  ----- */
.receipts {
  background: var(--navy-dark);
  color: var(--cream);
  padding: var(--s8) 0;
  position: relative;
  overflow: hidden;
}
.receipts::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 50%, var(--cream) 50%, var(--cream) 100%);
}
.receipts h2 { color: var(--cream); }
.receipts .eyebrow { color: var(--cream); opacity: 0.85; }
.receipts .record-lead { color: rgba(250,246,238,0.78); margin: 0; font-size: 1.1rem; }

/* Marquee — auto-scrolling pill ticker */
.marquee {
  margin: var(--s7) -32px var(--s6);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.receipt-pill {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 10px 18px;
  background: rgba(250,246,238,0.06);
  border: 1px solid rgba(250,246,238,0.22);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--cream);
  letter-spacing: 0.01em;
  flex: 0 0 auto;
}

/* Reduced-motion preference still gets the marquee, just slower
   (the proof points are content, not decoration — disabling them entirely
   removes the scrolling experience the design requires). */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation-duration: 120s; }
}

/* Receipts grid (dense list of accomplishments) */
.receipts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
  margin-top: var(--s4);
}
.receipts-col-head {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 var(--s3);
  padding-bottom: var(--s2);
  border-bottom: 2px solid var(--red);
}
.receipts-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s4);
}
.receipts-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(250,246,238,0.92);
  border-bottom: 1px solid rgba(250,246,238,0.06);
}
.receipts-list li:last-child { border-bottom: 0; }
.receipts-list li::before {
  content: '★';
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  color: var(--cream);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.receipts-list strong { color: var(--cream); font-weight: 700; }
.receipts-foot {
  text-align: center;
  margin: var(--s6) 0 0;
  color: rgba(250,246,238,0.7);
  font-size: 14px;
}
.receipts-foot a { color: var(--cream); font-weight: 700; border-bottom: 1px solid var(--red); padding-bottom: 1px; }
.receipts-foot a:hover { color: var(--red); border-color: var(--cream); }

/* -----  Pillars / priorities  ----- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s3);
}
.pillar-card {
  background: var(--white);
  padding: var(--s5) var(--s4);
  border-radius: var(--radius);
  border-top: 4px solid var(--red);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar-num {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: var(--s2);
  letter-spacing: 2px;
}
.pillar-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--s2);
  line-height: 1.15;
}
.pillar-body { font-size: 15px; color: var(--body); margin: 0; }

/* Priority cards (no image, more padding, stat at bottom) */
.pillar-card-priority {
  padding: var(--s5) var(--s4) var(--s4);
  display: flex;
  flex-direction: column;
}
.pillar-card-priority .pillar-body { flex: 1; }
.pillar-stat {
  margin-top: var(--s4);
  padding-top: var(--s3);
  border-top: 1px solid var(--line);
  font-family: var(--font-head);
  font-style: italic;
  font-size: 13px;
  font-weight: 600;
  color: var(--red-dark);
  line-height: 1.3;
}

.priority-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s4);
}
.priority-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.priority-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.priority-img {
  aspect-ratio: 16 / 9;
  background: var(--cream-deep);
  overflow: hidden;
}
.priority-img img { width: 100%; height: 100%; object-fit: cover; }
.priority-body { padding: var(--s5); flex: 1; display: flex; flex-direction: column; }
.priority-body h3 { margin-bottom: var(--s3); }
.priority-body p { flex: 1; }
.priority-body .pillar-num { margin-bottom: var(--s2); }

/* -----  Testimonials  ----- */
.testimonials {
  background: var(--cream-deep);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}
.quote {
  background: var(--cream);
  padding: var(--s5);
  border-radius: var(--radius);
  position: relative;
  border-left: 4px solid var(--red);
  box-shadow: var(--shadow-sm);
}
.quote::before {
  content: '"';
  position: absolute;
  top: 14px;
  right: 24px;
  font-family: var(--font-head);
  font-size: 120px;
  line-height: 1;
  color: var(--red);
  opacity: 0.12;
  pointer-events: none;
}
.quote-body {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 var(--s4);
  position: relative;
  z-index: 1;
}
.quote-attr {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: 14px;
  color: var(--muted);
}
.quote-attr strong { color: var(--navy-dark); font-weight: 700; }

/* -----  Dates / timeline bar  ----- */
.dates-bar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.date-slot {
  padding: var(--s4);
  border-right: 1px solid var(--line);
  text-align: center;
}
.date-slot:last-child { border-right: 0; }
.date-slot.is-primary { background: var(--red); color: var(--cream); }
.date-slot.is-primary .date-value { color: var(--cream); }
.date-slot.is-primary .date-label { color: rgba(250,246,238,0.9); }
.date-value {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: var(--s1);
}
.date-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

/* -----  CTA section  ----- */
.cta-band {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--cream);
  text-align: center;
  padding: var(--s8) var(--s4);
  border-radius: var(--radius-lg);
}
.cta-band h2 { color: var(--cream); }
.cta-band .lead { color: rgba(250,246,238,0.85); max-width: 600px; margin: 0 auto var(--s5); }
.cta-band .btn-row { display: flex; gap: var(--s3); justify-content: center; flex-wrap: wrap; }

/* -----  Forms  ----- */
.form-card {
  background: var(--white);
  padding: var(--s6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-top: 6px solid var(--red);
}
.form-card h2 { margin-top: 0; }
.form-group { margin-bottom: var(--s4); }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  color: var(--navy-dark);
  margin-bottom: var(--s2);
  letter-spacing: 0.02em;
}
.form-group label .req { color: var(--red); margin-left: 4px; }
.form-control {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  outline: 0;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(193,39,45,0.12);
}
textarea.form-control { min-height: 120px; resize: vertical; }

.checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s2);
}
.check {
  display: flex;
  align-items: flex-start;
  gap: var(--s2);
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--cream);
  transition: border-color var(--transition), background var(--transition);
  font-size: 14px;
  font-weight: 500;
}
.check input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--red);
  margin-top: 1px;
  flex: 0 0 auto;
}
.check:hover { border-color: var(--red); }
.check input:checked ~ span { color: var(--red-dark); }
.check:has(input:checked) { border-color: var(--red); background: rgba(193,39,45,0.04); }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }

/* honeypot */
.hp { position: absolute !important; left: -9999px; }

.form-status {
  display: none;
  margin-top: var(--s3);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
}
.form-status.is-success { display: block; background: rgba(31,44,74,0.08); color: var(--navy-dark); border-left: 4px solid var(--navy-dark); }
.form-status.is-error { display: block; background: rgba(193,39,45,0.08); color: var(--red-dark); border-left: 4px solid var(--red); }

/* -----  About / content pages  ----- */
.page-head {
  padding: var(--s8) 0 var(--s7);
  background: var(--cream-deep);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { margin-bottom: var(--s3); }
.prose { max-width: 760px; margin: 0 auto; font-size: 17px; }
.prose h2 { margin-top: var(--s7); }
.prose h3 { margin-top: var(--s6); }
.prose ul, .prose ol { margin: 0 0 var(--s4) var(--s4); }
.prose li { margin-bottom: var(--s2); }
.prose strong { color: var(--ink); }
.prose blockquote {
  margin: var(--s5) 0;
  padding: var(--s4) var(--s5);
  background: var(--cream-deep);
  border-left: 4px solid var(--red);
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink);
}
.prose img { margin: var(--s5) 0; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

.two-col {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--s7);
  align-items: stretch;          /* photos fit text height — see .aside-frame below */
}
.two-col.is-flipped { grid-template-columns: 1fr 1.3fr; }
.two-col.is-centered { align-items: center; }

/* The aside is a flex column so multiple frames inside split the height,
   and a single frame fills the column. */
.two-col aside {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  align-self: stretch;
  min-height: 100%;
}

/* Photo frame — fills whatever height the grid cell ends up.
   Min-height prevents collapse when the prose is very short.
   Max-height prevents portrait photos from overgrowing on long-prose sections. */
.aside-frame {
  position: relative;
  width: 100%;
  flex: 1 1 0;
  min-height: 240px;
  /* No max-height — flex stretch fills the prose column for all sections */
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--cream-deep);
}
.aside-frame:first-child { box-shadow: var(--shadow-md); }

/* Optional aspect-ratio modifiers — used in a few places where we want a
   specific shape regardless of column height. Padding-bottom hack still
   works because the explicit modifiers override flex sizing. */
.aside-frame.is-fixed-43   { flex: 0 0 auto; height: 0; padding-bottom: 75%;     min-height: 0; max-height: none; }
.aside-frame.is-fixed-wide { flex: 0 0 auto; height: 0; padding-bottom: 62.5%;   min-height: 0; max-height: none; }
.aside-frame.is-fixed-tall { flex: 0 0 auto; height: 0; padding-bottom: 133.33%; min-height: 0; max-height: none; }

/* Legacy aliases kept so existing markup doesn't break — but they map to
   the flex stretch behavior so older pages still look right. */
.aside-frame.is-tall, .aside-frame.is-wide, .aside-frame.is-square { /* no-op now */ }

.aside-frame > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Backwards-compatible alias for any leftover .aside-img refs */
.aside-img { width: 100%; height: auto; display: block; border-radius: var(--radius); margin: 0 0 var(--s3); box-shadow: var(--shadow-sm); }

/* -----  Footer  ----- */
.footer {
  background: var(--ink);
  color: rgba(250,246,238,0.8);
  padding: var(--s7) 0 var(--s5);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s5);
  margin-bottom: var(--s5);
}
.footer a { color: var(--cream); border-bottom: 1px solid rgba(220,40,40,0.5); padding-bottom: 1px; }
.footer a:hover { color: var(--red); border-color: var(--cream); }
.footer h5 {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: var(--s3);
}
.footer-logo { height: 72px; width: auto; display: block; margin-bottom: var(--s3); filter: brightness(1.15); }
.footer .brand-james { color: var(--red); }
.footer .brand-name { color: var(--red); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: var(--s2); }
.footer-bottom {
  border-top: 1px solid rgba(250,246,238,0.12);
  padding-top: var(--s4);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s3);
  font-size: 12px;
  color: rgba(250,246,238,0.5);
}
.disclaimer {
  font-size: 11px;
  letter-spacing: 0.5px;
  color: rgba(250,246,238,0.5);
  max-width: 800px;
  line-height: 1.6;
}

/* -----  Phone banner (Take Action page)  ----- */
.phone-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--s5);
  margin-top: var(--s5);
  padding: var(--s5) var(--s6);
  background: var(--navy-dark);
  color: var(--cream);
  border-radius: var(--radius-lg);
  text-decoration: none;
  border: 2px solid var(--navy-dark);
  transition: all var(--transition);
}
.phone-banner:hover {
  background: var(--ink);
  border-color: var(--red);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.phone-banner-body { line-height: 1.4; }
.phone-banner-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(250,246,238,0.85);
  margin-bottom: var(--s2);
}
.phone-banner-number {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 800;
  color: var(--cream);
  line-height: 1;
  margin-bottom: var(--s2);
}
.phone-banner-note {
  font-size: 14px;
  color: rgba(250,246,238,0.78);
  max-width: 520px;
}
.phone-banner-cta {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 14px 22px;
  background: var(--red);
  color: var(--cream);
  border-radius: var(--radius);
  white-space: nowrap;
}

/* -----  Mobile sticky CTA bar  ----- */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: none;
  background: var(--cream);
  border-top: 2px solid var(--red);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  gap: 6px;
  box-shadow: 0 -8px 24px rgba(26,26,26,0.10);
}
.mobile-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 12px 6px;
  border-radius: 4px;
  min-height: 48px;
  white-space: nowrap;
  text-decoration: none;
  text-align: center;
  line-height: 1.1;
  transition: background var(--transition);
}
.mobile-cta a.cta-volunteer { background: var(--red); color: var(--cream); }
.mobile-cta a.cta-volunteer:hover { background: var(--red-dark); color: var(--cream); }
.mobile-cta a.cta-donate { background: var(--navy-dark); color: var(--cream); }
.mobile-cta a.cta-donate:hover { background: var(--ink); color: var(--cream); }
.mobile-cta a.cta-yard { background: var(--navy-dark); color: var(--cream); }
.mobile-cta a.cta-yard:hover { background: var(--ink); color: var(--cream); }

/* -----  Utility  ----- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-3 { margin-bottom: var(--s3); }
.mb-5 { margin-bottom: var(--s5); }
.mb-7 { margin-bottom: var(--s7); }

/* -----  Responsive  ----- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 4 / 3; order: -1; max-width: 460px; margin: 0 auto; }
  .record-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s6) var(--s5); }
  .receipts-grid { grid-template-columns: 1fr 1fr; gap: var(--s5); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .priority-cards { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .dates-bar { grid-template-columns: repeat(2, 1fr); }
  .date-slot:nth-child(2) { border-right: 0; }
  .date-slot:nth-child(1), .date-slot:nth-child(2) { border-bottom: 1px solid var(--line); }
  .two-col, .two-col.is-flipped { grid-template-columns: 1fr; gap: var(--s5); }
  /* On mobile, photos always lead the section regardless of HTML order \u2014
     gives every section a consistent visual hook before the text. */
  .two-col aside { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .section { padding: var(--s6) 0; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--cream); padding: var(--s3); gap: var(--s2); border-bottom: 1px solid var(--line); align-items: stretch; }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 8px; }
  .nav-toggle { display: flex; }
  .nav-cta .btn { padding: 10px 16px; font-size: 13px; min-height: auto; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .record-grid { grid-template-columns: 1fr; gap: var(--s5); text-align: center; }
  .receipts-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .pillars-grid { grid-template-columns: 1fr; }
  .dates-bar { grid-template-columns: 1fr; }
  .date-slot { border-right: 0; border-bottom: 1px solid var(--line); }
  .date-slot:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .form-card { padding: var(--s4); }

  .phone-banner { grid-template-columns: 1fr; gap: var(--s4); padding: var(--s4); }
  .phone-banner-cta { justify-self: start; padding: 12px 18px; }

  /* Mobile sticky CTA bar visible — site content gets bottom padding so it isn't hidden */
  .mobile-cta { display: flex; }
  body { padding-bottom: 84px; }

  /* Hide the floating desktop countdown on mobile — it overlaps mid-content.
     Urgency is carried by the sticky CTA bar + page copy + the inline mobile countdown pill. */
  .countdown { display: none !important; }

  /* Give mobile containers a slightly more generous gutter so headlines breathe */
  .container, .container-narrow { padding-left: 22px; padding-right: 22px; }
  .hero { padding-top: var(--s5); padding-bottom: var(--s6); }
  .page-head { padding: var(--s6) 0 var(--s5); }
}

/* Inline mobile countdown pill — sits inside hero on mobile only, doesn't float */
.countdown-pill {
  display: none;
  margin: var(--s4) 0 0;
  padding: 10px 14px;
  background: var(--red);
  color: var(--cream);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  align-self: flex-start;
}
.countdown-pill .num { font-family: var(--font-head); font-size: 18px; font-weight: 900; margin-right: 4px; }
@media (max-width: 768px) {
  .countdown-pill { display: inline-block; }
}
