/* ==========================================================================
   Re-Elect Larry Dunaway — Mayor of Nashville, Arkansas
   Palette pulled from the campaign mark (navy + campaign red) and grounded
   in the city's own colors: orchard cream, Howard County clay, seal orange.
   ========================================================================== */

:root {
  --navy-900: #08182f;
  --navy-800: #0e2848;
  --navy-700: #143a67;
  --navy-600: #1c4d8a;
  --navy-400: #4a7bb5;

  --red-600: #c1172c;
  --red-700: #9c0f22;
  --red-300: #ef6d7d;

  --amber: #e0842a;
  --amber-soft: #f5c98f;

  --cream: #f8f2e7;
  --cream-2: #fdfaf4;
  --paper: #ffffff;

  --ink: #16202c;
  --ink-soft: #43505f;
  --muted: #6c7885;
  --line: #e2d9c9;

  --shadow-sm: 0 1px 2px rgba(8, 24, 47, .06), 0 4px 12px rgba(8, 24, 47, .05);
  --shadow-md: 0 2px 6px rgba(8, 24, 47, .07), 0 18px 40px -14px rgba(8, 24, 47, .22);
  --shadow-lg: 0 30px 70px -24px rgba(8, 24, 47, .38);

  --wrap: 1200px;
  --gut: clamp(1.25rem, 4vw, 3rem);

  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-body: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
}

/* --- reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: clamp(1rem, .96rem + .18vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream-2);
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 96;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-600); }

::selection { background: var(--amber-soft); color: var(--navy-900); }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 3px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy-900); color: #fff; padding: .8rem 1.2rem;
  font-weight: 600; text-decoration: none;
}
.skip:focus { left: 0; }

.wrap {
  width: min(var(--wrap), 100% - var(--gut) * 2);
  margin-inline: auto;
}

/* --- buttons -------------------------------------------------------------- */
.btn {
  --btn-bg: var(--navy-700);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: .55em;
  padding: .78em 1.5em;
  font-family: var(--f-body);
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 2px solid var(--btn-bg);
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn i { font-size: .95em; }

.btn-red   { --btn-bg: var(--red-600); }
.btn-red:hover { --btn-bg: var(--red-700); }
.btn-navy  { --btn-bg: var(--navy-800); }
.btn-ghost {
  --btn-bg: transparent; --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .45);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }

.btn-lg { padding: .95em 1.9em; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* --- shared section bits -------------------------------------------------- */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }

.kicker {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red-600);
  margin: 0 0 .9rem;
  display: flex; align-items: center; gap: .7rem;
}
.kicker::after {
  content: ""; height: 2px; flex: 0 0 42px; background: var(--amber);
}
.kicker-light { color: var(--amber-soft); }
.kicker-light::after { background: var(--red-300); }

.sec-head { max-width: 58ch; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.sec-head h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); }
.sec-head-center { margin-inline: auto; text-align: center; }
.sec-head-center .kicker { justify-content: center; }
.sec-lede {
  font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 54ch;
}
.sec-head-center .sec-lede { margin-inline: auto; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 250, 244, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}
.site-head.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 22px -12px rgba(8, 24, 47, .28);
}

.head-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: .6rem 0;
}

.brand img {
  width: clamp(140px, 15vw, 188px); height: auto;
  transition: transform .25s ease;
}
.brand:hover img { transform: scale(1.03); }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); }
.nav > a:not(.btn) {
  font-size: .9375rem; font-weight: 600; color: var(--navy-800);
  text-decoration: none; position: relative; padding: .25rem 0;
}
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--red-600);
  transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.nav > a:not(.btn):hover::after,
.nav > a.is-active::after { transform: scaleX(1); }
.nav > a.is-active { color: var(--red-600); }
.nav-cta { padding: .6em 1.15em; font-size: .875rem; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--paper); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle-bars { display: grid; gap: 5px; }
.nav-toggle-bars i {
  display: block; width: 20px; height: 2px; background: var(--navy-800);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: .5rem var(--gut) 1.5rem;
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .3s ease, visibility .3s;
  }
  .nav.is-open { max-height: 26rem; visibility: visible; }
  .nav > a:not(.btn) { padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav > a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 1.1rem; justify-content: center; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(28, 77, 138, .55) 0%, rgba(8, 24, 47, 0) 62%),
    linear-gradient(168deg, var(--navy-800) 0%, var(--navy-900) 68%);
  color: #fff;
  padding: clamp(3.5rem, 7vw, 6rem) 0 0;
}

.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg::before {
  /* faint film grain so the navy doesn't read flat */
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .16) .5px, transparent .5px);
  background-size: 3px 3px;
  opacity: .35;
}
.hills { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(120px, 22vw, 260px); }
.hill { fill: #fff; }
.hill-3 { opacity: .05; }
.hill-2 { opacity: .07; }
.hill-1 { opacity: .1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber-soft);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  padding: .5rem 1.05rem;
  margin: 0 0 1.6rem;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--red-300);
  box-shadow: 0 0 0 0 rgba(239, 109, 125, .7);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(239, 109, 125, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 109, 125, 0); }
}

.hero-title {
  font-size: clamp(2.7rem, 1.4rem + 5.4vw, 5.1rem);
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 144;
  font-weight: 800;
  letter-spacing: -.028em;
  margin: 0 0 1.2rem;
  color: #fff;
}
.hero-title em {
  font-style: italic;
  font-variation-settings: "SOFT" 60, "WONK" 1, "opsz" 144;
  color: var(--amber-soft);
  position: relative;
  white-space: nowrap;
}
.hero-title em::after {
  content: "";
  position: absolute; left: 2%; right: 2%; bottom: .06em;
  height: .07em; background: var(--red-600); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  animation: swipe 1s .5s cubic-bezier(.2, .8, .2, 1) forwards;
}
@keyframes swipe { to { transform: scaleX(1); } }

.hero-lede {
  font-size: clamp(1.05rem, 1rem + .45vw, 1.3rem);
  color: rgba(255, 255, 255, .82);
  max-width: 44ch;
  margin-bottom: 2rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.75rem; }

.countdown {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(1.2rem, 3vw, 2.4rem);
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  max-width: 30rem;
}
.cd-unit { display: flex; flex-direction: column; }
.cd-num {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 30, "WONK" 0, "opsz" 96;
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem);
  font-weight: 800; line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.cd-lab {
  font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255, 255, 255, .55); margin-top: .45rem;
}
.cd-note {
  grid-column: 1 / -1;
  margin: .3rem 0 0;
  font-size: .85rem;
  color: rgba(255, 255, 255, .6);
}

/* portrait */
.hero-figure { position: relative; justify-self: center; width: 100%; max-width: 460px; }
.portrait-frame {
  position: relative;
  border-radius: 260px 260px var(--r-lg) var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid rgba(255, 255, 255, .1);
  background: var(--navy-700);
}
.portrait-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8, 24, 47, .55) 0%, rgba(8, 24, 47, 0) 42%);
}
.portrait-frame img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 22%; }

.hero-seal {
  position: absolute; left: clamp(-3rem, -4vw, -2rem); bottom: -1.25rem;
  background: var(--paper);
  border-radius: var(--r-md);
  padding: .7rem .9rem;
  box-shadow: var(--shadow-lg);
  transform: rotate(-3deg);
}
.hero-seal img { width: clamp(110px, 12vw, 150px); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 320px; margin-bottom: 2.25rem; }
  .hero-seal { left: auto; right: -.75rem; bottom: -1.75rem; }
  .hero-seal img { width: 120px; }
  .countdown { max-width: none; }
}

/* ==========================================================================
   STAT BAND
   ========================================================================== */
.stats {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.stat { position: relative; padding-left: 1.2rem; }
.stat::before {
  content: ""; position: absolute; left: 0; top: .35rem; bottom: .35rem;
  width: 3px; border-radius: 2px;
  background: linear-gradient(to bottom, var(--red-600), var(--amber));
}
.stat-num {
  display: block;
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 30, "WONK" 1, "opsz" 144;
  font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.25rem);
  font-weight: 800; line-height: 1;
  color: var(--navy-800);
  font-variant-numeric: tabular-nums;
  margin-bottom: .5rem;
}
.stat-lab {
  display: block;
  font-size: .9rem; line-height: 1.45; color: var(--ink-soft);
  max-width: 22ch;
}
@media (max-width: 860px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .stats-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   PULL QUOTE
   ========================================================================== */
.pullquote {
  background: var(--navy-800);
  color: #fff;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  position: relative; overflow: hidden;
}
.pullquote::before {
  content: "\201C";
  position: absolute; left: 2%; top: -.18em;
  font-family: var(--f-display); font-weight: 900;
  font-size: 22rem; line-height: 1;
  color: rgba(255, 255, 255, .05);
  pointer-events: none;
}
.pullquote blockquote { margin: 0; max-width: 46ch; position: relative; }
.pullquote p {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 60, "WONK" 1, "opsz" 144;
  font-style: italic;
  font-size: clamp(1.4rem, 1.05rem + 1.9vw, 2.4rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -.012em;
  margin-bottom: 1.3rem;
}
.pullquote cite {
  font-family: var(--f-body); font-style: normal;
  font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber-soft);
  display: flex; align-items: center; gap: .8rem;
}
.pullquote cite::before { content: ""; width: 34px; height: 2px; background: var(--red-600); }

/* ==========================================================================
   RECORD CARDS
   ========================================================================== */
.record { background: var(--cream-2); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  gap: clamp(1.25rem, 2.4vw, 1.9rem);
}
@media (min-width: 1080px) { .cards { grid-template-columns: repeat(2, 1fr); } }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 2.6vw, 2.2rem);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--red-600), var(--amber));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }

.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  color: var(--amber-soft);
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}
.card h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); color: var(--navy-900); }
.card p { color: var(--ink-soft); font-size: .96rem; }
.card strong { color: var(--navy-800); }

.card-quote {
  margin-top: 1.2rem; padding-top: 1.1rem;
  border-top: 1px dashed var(--line);
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 60, "WONK" 1, "opsz" 48;
  font-style: italic;
  font-size: 1.02rem !important;
  color: var(--navy-700) !important;
}

/* ==========================================================================
   BIO
   ========================================================================== */
.bio { background: var(--cream); border-block: 1px solid var(--line); }
.bio-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.bio-figure { position: sticky; top: 6.5rem; }
.bio-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover; object-position: 50% 18%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  border: 8px solid var(--paper);
}
.fig-cap {
  margin-top: 1rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
.bio-copy h2 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.1rem); color: var(--navy-900); }
.bio-copy p { color: var(--ink-soft); }
.bio-copy strong { color: var(--navy-800); }

.inline-quote {
  margin: 2rem 0;
  padding: 1.4rem 0 1.4rem 1.7rem;
  border-left: 4px solid var(--red-600);
}
.inline-quote p {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 60, "WONK" 1, "opsz" 72;
  font-style: italic;
  font-size: clamp(1.1rem, 1rem + .6vw, 1.4rem);
  line-height: 1.4;
  color: var(--navy-800) !important;
  margin: 0;
}

.cred-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .8rem; }
.cred-list li {
  display: flex; align-items: flex-start; gap: .8rem;
  font-size: .95rem; color: var(--ink-soft);
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--line);
}
.cred-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.cred-list i {
  flex: 0 0 22px; height: 22px; margin-top: .18rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy-700); color: #fff; border-radius: 50%;
  font-size: .62rem;
}

@media (max-width: 900px) {
  .bio-grid { grid-template-columns: 1fr; }
  .bio-figure { position: static; max-width: 420px; }
}

/* ==========================================================================
   VIDEO
   ========================================================================== */
.watch { background: var(--cream-2); }
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: clamp(1.1rem, 2.2vw, 1.75rem);
}
.video-card {
  position: relative; display: block;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--navy-900);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform .28s ease, box-shadow .28s ease;
}
.video-card img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .3s ease;
  opacity: .88;
}
.video-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8, 24, 47, .88) 0%, rgba(8, 24, 47, .1) 55%);
}
.video-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.video-card:hover img { transform: scale(1.05); opacity: 1; }

.video-card .play {
  position: absolute; z-index: 2;
  top: 42%; left: 50%; transform: translate(-50%, -50%);
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red-600); color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 10px 30px -8px rgba(193, 23, 44, .8);
  transition: transform .28s ease, background-color .28s ease;
}
.video-card .play i { margin-left: 3px; }
.video-card:hover .play { transform: translate(-50%, -50%) scale(1.1); background: var(--red-700); }

.video-meta {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  padding: 1.3rem 1.4rem;
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
}
.video-title {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 72;
  font-weight: 700; font-size: 1.2rem; color: #fff;
}
.video-time {
  font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  color: var(--amber-soft); font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   PRIORITIES
   ========================================================================== */
.priorities { background: var(--cream); border-block: 1px solid var(--line); }
.prio-list {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  gap: clamp(1.5rem, 3vw, 2.6rem) clamp(2rem, 4vw, 4rem);
  counter-reset: prio;
}
.prio-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem;
  padding-top: 1.6rem;
  border-top: 2px solid var(--navy-800);
}
.prio-num {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 30, "WONK" 1, "opsz" 96;
  font-size: 1.7rem; font-weight: 800; line-height: 1;
  color: var(--red-600);
  font-variant-numeric: tabular-nums;
}
.prio-list h3 { font-size: 1.3rem; color: var(--navy-900); margin-bottom: .55rem; }
.prio-list p { font-size: .95rem; color: var(--ink-soft); }
.prio-list strong { color: var(--navy-800); }

/* ==========================================================================
   VOTE
   ========================================================================== */
.vote {
  background:
    radial-gradient(100% 100% at 0% 0%, rgba(28, 77, 138, .5) 0%, rgba(8, 24, 47, 0) 60%),
    linear-gradient(150deg, var(--navy-800), var(--navy-900));
  color: #fff;
}
.vote-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.vote-copy h2 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.1rem); color: #fff; }
.vote-copy p { color: rgba(255, 255, 255, .78); max-width: 50ch; }
.vote-copy strong { color: #fff; }

.vote-dates { display: grid; gap: 1rem; margin: 2rem 0 1.5rem; max-width: 34rem; }
.vote-date {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-md);
  padding: 1.1rem 1.4rem;
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem;
}
.vote-date-primary {
  background: var(--red-600);
  border-color: var(--red-600);
  box-shadow: 0 18px 40px -18px rgba(193, 23, 44, .9);
}
.vd-kicker {
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.vote-date-primary .vd-kicker { color: rgba(255, 255, 255, .85); }
.vd-main {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 72;
  font-size: clamp(1.05rem, .95rem + .6vw, 1.4rem); font-weight: 700; color: #fff;
}
.vote-fine { font-size: .87rem; color: rgba(255, 255, 255, .58) !important; }

.vote-figure img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 32%;
  border-radius: var(--r-lg);
  border: 6px solid rgba(255, 255, 255, .1);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 900px) {
  .vote-grid { grid-template-columns: 1fr; }
  .vote-figure { order: -1; }
}

/* ==========================================================================
   JOIN + FORM
   ========================================================================== */
.join { background: var(--cream-2); }
.join-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.join-copy h2 { font-size: clamp(1.8rem, 1.3rem + 2.3vw, 2.9rem); color: var(--navy-900); }
.join-copy > p { color: var(--ink-soft); max-width: 44ch; }

.join-ways { list-style: none; margin: 1.8rem 0; padding: 0; display: grid; gap: 1rem; }
.join-ways li {
  display: flex; align-items: flex-start; gap: .95rem;
  font-size: .96rem; color: var(--ink-soft);
}
.join-ways strong { color: var(--navy-800); }
.join-ways i {
  flex: 0 0 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cream); border: 1px solid var(--line);
  color: var(--red-600); border-radius: 11px; font-size: .95rem;
}

.join-direct { display: flex; flex-wrap: wrap; gap: .75rem; }

.join-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md);
}
.form-title {
  font-size: 1.5rem; color: var(--navy-900);
  margin-bottom: 1.4rem; padding-bottom: 1rem;
  border-bottom: 2px solid var(--red-600);
}

/* Cognito Forms embed (Chameleon style) — scoped overrides so it reads as
   part of the page rather than a foreign widget. See includes/form.php. */
#join-cognito-form {
  font-family: inherit;
}
#join-cognito-form .cog-header h1 { display: none; } /* we render our own .form-title above it */

#join-cognito-form .cog-section__heading {
  font-family: inherit;
  font-size: 1rem; font-weight: 700; color: var(--navy-800);
}

#join-cognito-form .cog-label {
  font-family: inherit;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy-800);
}

#join-cognito-form .el-input__inner,
#join-cognito-form .el-textarea__inner,
#join-cognito-form select.el-input__inner {
  width: 100%;
  font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--cream-2);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: .78rem .95rem;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
#join-cognito-form .el-input__inner:focus,
#join-cognito-form .el-textarea__inner:focus {
  outline: none;
  background: var(--paper);
  border-color: var(--navy-600);
  box-shadow: 0 0 0 4px rgba(28, 77, 138, .12);
}

#join-cognito-form .el-radio__inner,
#join-cognito-form .el-checkbox__inner {
  accent-color: var(--red-600);
}

#join-cognito-form .cog-field.is-error .el-input__inner,
#join-cognito-form .cog-field.is-error .el-textarea__inner {
  border-color: var(--red-600);
}
#join-cognito-form .cog-error-message { color: var(--red-700); font-size: .82rem; }
#join-cognito-form .cog-helptext { color: var(--muted); font-size: .82rem; }

#join-cognito-form .cog-button--primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  width: 100%;
  font-family: inherit; font-weight: 700; font-size: 1rem;
  color: #fff; background: var(--red-600); border: 1px solid var(--red-600);
  border-radius: var(--r-sm);
  padding: .9rem 1.4rem;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
#join-cognito-form .cog-button--primary:hover {
  background: var(--red-700); border-color: var(--red-700);
}

#join-cognito-form .cog-confirmation__message {
  font-size: .95rem; color: #1f5b2c;
  background: #ecf7ee; border: 1px solid #bfe3c6;
  border-radius: var(--r-sm);
  padding: .9rem 1.1rem;
}

@media (max-width: 900px) { .join-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-foot { background: var(--navy-900); color: rgba(255, 255, 255, .68); }
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .7fr) minmax(0, .9fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
}
.foot-brand img {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: .8rem 1rem;
  width: clamp(180px, 20vw, 230px);
}
.foot-motto {
  margin-top: 1.2rem;
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 60, "WONK" 1, "opsz" 48;
  font-style: italic; font-size: 1.05rem;
  color: var(--amber-soft);
  max-width: 30ch;
}

.site-foot h3 {
  font-family: var(--f-body);
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #fff; margin-bottom: 1.1rem;
}
.foot-links { display: flex; flex-direction: column; gap: .65rem; align-items: flex-start; }
.foot-links a, .foot-contact a {
  color: rgba(255, 255, 255, .68); text-decoration: none; font-size: .93rem;
  transition: color .18s ease;
}
.foot-links a:hover, .foot-contact a:hover { color: var(--amber-soft); }
.foot-contact p { line-height: 2.1; font-size: .93rem; }
.foot-contact i { width: 1.2em; color: var(--red-300); margin-right: .35rem; }
.foot-addr { color: rgba(255, 255, 255, .55); }

.foot-social {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; margin-top: 1rem;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%;
  color: #fff !important;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.foot-social:hover { background: var(--red-600); border-color: var(--red-600); transform: translateY(-2px); }

.foot-legal {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .75rem 2rem;
  padding: 1.4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.foot-legal p { margin: 0; font-size: .8rem; }
.paid-for {
  font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
}
.copy { color: rgba(255, 255, 255, .45); }

@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   REVEAL ON SCROLL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* --- VenoBox tweaks ------------------------------------------------------- */
.vbox-container { --vbox-bg: rgba(8, 24, 47, .96); }
.vbox-overlay { background-color: rgba(8, 24, 47, .96) !important; }
.vbox-title { font-family: var(--f-body) !important; font-weight: 600 !important; letter-spacing: .04em; }
