/* ============================================================
   DEMOCRATS UNITED TO FREE DC
   Premium Editorial Campaign Stylesheet
   ============================================================ */

:root {
  /* PALETTE */
  --navy:       #0b1f3a;
  --navy-deep:  #060f1e;
  --blue:       #1a56db;
  --blue-mid:   #1e40af;
  --blue-light: #3b82f6;
  --red:        #b91c1c;
  --red-vivid:  #dc2626;
  --white:      #ffffff;
  --cream:      #f8f7f4;
  --warm-gray:  #ede9e0;
  --ink:        #111827;
  --slate:      #4b5563;
  --muted:      #9ca3af;
  --gold:       #d97706;

  /* TYPOGRAPHY */
  --font-display:  'Bebas Neue', sans-serif;
  --font-body:     'DM Sans', sans-serif;
  --font-serif:    'Libre Baskerville', serif;

  /* LAYOUT */
  --max-w:    1200px;
  --nav-h:    72px;
  --sp:       clamp(60px, 8vw, 100px);
  --radius:   6px;
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===================== UTILITIES ===================== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.section { padding: var(--sp) 0; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--blue);
  flex-shrink: 0;
}
.section-eyebrow.light { color: rgba(255,255,255,0.6); }
.section-eyebrow.light::before { background: rgba(255,255,255,0.4); }

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.0;
  letter-spacing: 0.02em;
  color: var(--navy);
  margin-bottom: 28px;
}
.section-heading em { font-style: normal; color: var(--blue); }
.section-heading.light { color: var(--white); }
.section-heading.light em { color: rgba(255,255,255,0.55); }

/* CTAs */
.cta-primary {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--blue-mid);
  padding: 14px 34px;
  border-radius: 2px;
  transition: background 0.25s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.cta-primary:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 86, 219, 0.40);
}
.cta-ghost {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 13px 34px;
  border-radius: 2px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.cta-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* ===================== ANNOUNCE BAR ===================== */
.announce-bar {
  background: var(--blue-mid);
  color: var(--white);
  text-align: center;
  padding: 9px 48px;
  position: relative;
  z-index: 200;
}
.announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.07em;
}
.announce-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--white);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.announce-close {
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  padding: 4px 8px;
  transition: color 0.2s;
}
.announce-close:hover { color: var(--white); }

/* ===================== NAV ===================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: box-shadow 0.3s var(--ease);
}
.site-nav.elevated { box-shadow: 0 4px 30px rgba(0,0,0,0.5); }

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark {
  width: 38px; height: 38px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-top {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  letter-spacing: 0.02em;
}
.brand-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  padding: 8px 16px;
  border-radius: 2px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-vote {
  color: var(--white) !important;
  background: var(--blue-mid) !important;
  margin-left: 8px;
  padding: 10px 22px !important;
  font-size: 0.88rem !important;
}
.nav-vote:hover { background: var(--blue) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: rgba(255,255,255,0.7);
  transition: all 0.3s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 580px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-video-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#vimeo-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
#vimeo-bg iframe {
  position: absolute;
  top: 50%; left: 50%;
  width: 177.8vh;
  min-width: 100%;
  height: 56.25vw;
  min-height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6, 15, 30, 0.97) 0%,
    rgba(6, 15, 30, 0.75) 35%,
    rgba(6, 15, 30, 0.30) 70%,
    rgba(6, 15, 30, 0.15) 100%
  );
}

.hero-body {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  padding-bottom: clamp(60px, 8vh, 100px);
}

.hero-overline {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s forwards;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 10rem);
  line-height: 0.92;
  letter-spacing: 0.015em;
  color: var(--white);
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
}
.hero-headline .line-reveal {
  display: block;
  overflow: hidden;
  opacity: 0;
  animation: lineUp 0.9s cubic-bezier(0.16,1,0.3,1) forwards;
}
.hero-headline .d1 { animation-delay: 0.15s; }
.hero-headline .d2 { animation-delay: 0.28s; }
.accent-line { color: var(--blue-light); }

.hero-descriptor {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.7s 0.6s forwards;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s 0.75s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes lineUp {
  from { opacity: 0; transform: translateY(100%); }
  to   { opacity: 1; transform: translateY(0); }
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  right: clamp(20px, 4vw, 48px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scroll-line-anim {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ===================== MARQUEE ===================== */
.marquee-strip {
  background: var(--navy);
  border-top: 2px solid var(--blue-mid);
  border-bottom: 2px solid var(--blue-mid);
  overflow: hidden;
  padding: 13px 0;
}
.marquee-track { overflow: hidden; }
.marquee-content {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.marquee-content span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  padding: 0 20px;
}
.marquee-content .msep { color: var(--blue-light); padding: 0 4px; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===================== ABOUT ===================== */
.about-section { background: var(--cream); }

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.about-left .section-heading { font-size: clamp(2.4rem, 4vw, 3.8rem); }

.about-lead {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 18px;
}
.about-body {
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--slate);
  margin-bottom: 32px;
}

.about-right { display: flex; flex-direction: column; gap: 0; }

.pillar {
  padding: 28px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 0 20px;
  align-items: start;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.pillar.visible { opacity: 1; transform: translateY(0); }
.pillar:first-child { border-top: 1px solid rgba(0,0,0,0.08); }
.pillar-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--blue);
  line-height: 1;
  letter-spacing: 0.02em;
  padding-top: 4px;
}
.pillar h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: var(--navy);
  margin-bottom: 8px;
  grid-column: 2;
}
.pillar p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--slate);
  grid-column: 2;
}

/* ===================== SLATE GROUP PHOTO ===================== */
.slate-photo-section {
  /* No padding — fully edge-to-edge */
  background: var(--navy-deep);
  line-height: 0; /* eliminates any inline-block gap */
}

.slate-photo-wrap {
  position: relative;
  width: 100%;
  /* Fixed cinematic height — tall enough to be impactful */
  height: clamp(400px, 55vw, 720px);
  overflow: hidden;
}

.slate-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Anchor on the crowd/faces — slightly above center */
  object-position: center 35%;
  display: block;
  filter: brightness(0.88) saturate(1.08);
  transition: transform 8s ease;
}

/* Subtle Ken Burns on scroll into view */
.slate-photo-wrap.in-view .slate-photo-img {
  transform: scale(1.04);
}

/* Gradient overlay — dark at bottom for caption legibility */
.slate-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6,15,30,0.08) 0%,
    rgba(6,15,30,0.10) 50%,
    rgba(6,15,30,0.72) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: clamp(24px, 4vw, 56px) clamp(24px, 6vw, 80px);
}

.slate-photo-caption {
  line-height: 1.2;
}

.slate-photo-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.slate-photo-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--blue);
  flex-shrink: 0;
}

.slate-photo-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 4rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.05;
  text-shadow: 0 2px 24px rgba(6,15,30,0.5);
}

@media (max-width: 640px) {
  .slate-photo-wrap {
    height: clamp(280px, 70vw, 420px);
  }
  .slate-photo-headline {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }
}

/* ===================== PLATFORM ===================== */
.platform-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.platform-section::before {
  content: '';
  position: absolute;
  right: -200px; top: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,86,219,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.platform-header {
  margin-bottom: clamp(40px, 5vw, 60px);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-left: 1px solid rgba(255,255,255,0.1);
}
.platform-item {
  padding: 36px 32px;
  border-right: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
  transition: background 0.3s var(--ease);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), background 0.3s var(--ease);
}
.platform-item.visible { opacity: 1; transform: translateY(0); }
.platform-item:hover { background: rgba(255,255,255,0.04); }

.platform-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: rgba(255,255,255,0.55);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.platform-rule {
  width: 28px;
  height: 2px;
  background: var(--blue);
  margin-bottom: 16px;
}
.platform-item h3 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.97rem;
  line-height: 1.4;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.platform-item p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
}

/* ===================== CANDIDATES ===================== */
.candidates-section { background: var(--white); }

.candidates-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto clamp(36px, 5vw, 56px);
}
.candidates-sub {
  font-size: 0.97rem;
  color: var(--slate);
  line-height: 1.6;
}

/* Filter */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 44px;
}
.filter-btn {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 2px;
  color: var(--slate);
  background: var(--cream);
  border: 1.5px solid transparent;
  transition: all 0.2s var(--ease);
}
.filter-btn:hover { color: var(--navy); border-color: var(--navy); background: transparent; }
.filter-btn.active {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

/* Cards */
.candidate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 20px;
}
.c-card {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: default;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.c-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(11,31,58,0.12); }
.c-card.hidden { display: none; }

.c-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: var(--navy);
  overflow: hidden;
}
.c-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.2);
  background: linear-gradient(145deg, var(--navy-deep), var(--blue-mid));
}

.c-badge {
  position: absolute;
  bottom: 8px; left: 8px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 1px;
  color: var(--white);
}
.c-badge.national { background: var(--gold); color: var(--ink); }
.c-badge.atlarge  { background: var(--blue-mid); }
.c-badge.ward     { background: var(--blue-mid); }

.c-details { padding: 14px 16px 16px; }
.c-details h4 {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 3px;
  line-height: 1.3;
}
.c-details p {
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.photo-notice {
  text-align: center;
  margin-top: 44px;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  padding: 14px;
  border: 1px dashed var(--warm-gray);
  border-radius: var(--radius);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* ===================== ELECTION ===================== */
.election-section {
  background: var(--navy-deep);
  padding: 0;
}
.election-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}
.election-left {
  padding: var(--sp) clamp(30px, 6vw, 80px);
  border-right: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.election-right {
  padding: var(--sp) clamp(30px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
}

.edate-block { margin-bottom: 32px; display: flex; flex-direction: column; gap: 0; }
.edate-item { padding: 20px 0; }
.edate-rule { height: 1px; background: rgba(255,255,255,0.08); }
.edate-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
}
.edate-value {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: 0.03em;
  color: var(--white);
}
.edate-sub { font-size: 0.82rem; color: rgba(255,255,255,0.4); margin-top: 4px; }

.election-note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  border-left: 2px solid var(--blue);
  padding-left: 16px;
}

/* Countdown */
.countdown-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  padding: 28px;
}
.cd-heading {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.countdown-display {
  display: flex;
  align-items: center;
  gap: 4px;
}
.cd-unit {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 3px;
}
.cd-unit span {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1;
}
.cd-unit small {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-top: 5px;
}
.cd-colon {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: rgba(255,255,255,0.2);
  padding: 0 2px;
  margin-bottom: 14px;
}

/* Vote Steps */
.vote-how h3 {
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 18px;
}
.vote-steps { display: flex; flex-direction: column; gap: 12px; }
.vote-steps li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.step-num {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vote-steps a { color: var(--blue-light); text-decoration: underline; }

/* ===================== GET INVOLVED ===================== */
.involved-section { background: var(--cream); }

.involved-header {
  max-width: 480px;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.involved-sub {
  font-size: 0.97rem;
  color: var(--slate);
  line-height: 1.65;
  margin-top: 8px;
}

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

.involved-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  padding: 32px 24px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.involved-card.visible { opacity: 1; transform: translateY(0); }
.involved-card:hover {
  box-shadow: 0 8px 30px rgba(11,31,58,0.1);
  border-color: rgba(26,86,219,0.2);
}

.inv-icon {
  width: 44px; height: 44px;
  color: var(--blue);
  margin-bottom: 20px;
}
.inv-icon svg { width: 100%; height: 100%; }

.involved-card h3 {
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.involved-card p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--slate);
  flex: 1;
  margin-bottom: 24px;
}
.inv-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  border: none;
  background: none;
  padding: 0;
  transition: gap 0.2s var(--ease), color 0.2s;
  cursor: pointer;
  font-family: var(--font-body);
}
.inv-link:hover { gap: 10px; color: var(--navy); }

/* ===================== CONTACT ===================== */
.contact-section { background: var(--navy); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-body {
  font-size: 0.97rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 36px;
}

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.cinfo-item {}
.cinfo-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 4px;
}
.cinfo-val {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
}
.cinfo-val[href] { color: var(--blue-light); text-decoration: underline; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.93rem;
  padding: 13px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
}
.form-field select option { background: var(--navy); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue-light);
  background: rgba(255,255,255,0.09);
}
.form-field textarea { resize: vertical; min-height: 100px; }

.form-success {
  display: none;
  font-size: 0.88rem;
  color: #6ee7b7;
  padding: 12px 16px;
  background: rgba(110,231,183,0.1);
  border: 1px solid rgba(110,231,183,0.25);
  border-radius: 3px;
}
/* Captcha field */
.form-captcha {
  margin-top: 4px;
}
.form-captcha label {
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}
.form-captcha input {
  width: 140px;
  -moz-appearance: textfield;
}
.form-captcha input::-webkit-outer-spin-button,
.form-captcha input::-webkit-inner-spin-button { -webkit-appearance: none; }
.captcha-error {
  display: none;
  color: #f87171;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 6px;
  letter-spacing: 0.03em;
}
.captcha-error.visible { display: block; }


/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--navy-deep);
  padding: clamp(48px, 6vw, 80px) 0 clamp(32px, 4vw, 48px);
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: clamp(36px, 5vw, 56px);
  padding-bottom: clamp(36px, 5vw, 56px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand-col p {
  font-size: 0.83rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.35);
  max-width: 260px;
}

.footer-nav { display: flex; gap: 48px; }
.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fnav-head {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 6px;
}
.footer-nav-col a,
.footer-nav-col span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-nav-col a:hover { color: rgba(255,255,255,0.9); }

.footer-legal { display: flex; flex-direction: column; gap: 4px; }
.footer-legal p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

/* ===================== SCROLL REVEAL ===================== */
.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal-item.visible { opacity: 1; transform: translateY(0); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .involved-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .about-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-duo { grid-template-columns: 1fr; }
  .election-inner { grid-template-columns: 1fr; min-height: auto; }
  .election-left { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .footer-layout { flex-direction: column; }
  .footer-nav { flex-direction: column; gap: 28px; }
}

@media (max-width: 680px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    z-index: 99;
  }
  .nav-menu.open { display: flex; }
  .nav-link { padding: 14px 24px; border-radius: 0; font-size: 0.9rem; }
  .nav-vote { margin-left: 0; border-radius: 0; }
  .hamburger { display: flex; }
  .platform-grid { grid-template-columns: 1fr; }
  .involved-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: clamp(3.8rem, 14vw, 6rem); }
  .candidate-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-bar { gap: 6px; }
  .filter-btn { font-size: 0.7rem; padding: 7px 14px; }
  .brand-text { display: none; }
}

/* ===================== CANDIDATE CARDS — PHOTO + BIO EXPAND ===================== */

/* Portrait 3:4 photo */
.c-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--navy);
  overflow: hidden;
}
.c-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s var(--ease);
}
.c-card:hover .c-photo img { transform: scale(1.04); }

/* Bio toggle button */
.c-bio-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: none;
  border: none;
  padding: 0;
  margin-top: 10px;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}
.c-bio-toggle:hover { color: var(--navy); }

.bio-chevron {
  width: 16px; height: 16px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
/* Bio toggle — modal version, chevron always shows */
.c-bio-toggle:hover .bio-chevron {
  transform: translateX(3px);
}

/* Bio expandable panel */
.c-bio-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--navy);
}
.c-bio-wrap.open {
  max-height: 400px;
}
.c-bio-inner {
  padding: 18px 20px 20px;
  border-top: 2px solid var(--blue);
}
.c-bio-inner p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
}

/* c-title styling */
.c-title {
  font-size: 0.72rem !important;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted) !important;
}

/* ===================== CANDIDATE CARD — IMAGE POP HOVER ===================== */

/*
  The card itself needs overflow:visible so the zoomed image
  can break out of its bounds. We isolate the effect using
  a wrapper that stays clipped, but the card lifts as a whole.
*/
.candidate-grid {
  /* Give cards room to pop without clipping against the grid edges */
  padding: 12px 8px;
}

/* Card — lifts on hover, z-index ensures it floats above neighbors */
.c-card {
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
              z-index 0s;
  position: relative;
  z-index: 1;
}
.c-card:hover {
  transform: translateY(-10px) scale(1.06);
  box-shadow:
    0 24px 48px rgba(11, 31, 58, 0.22),
    0 6px 16px rgba(11, 31, 58, 0.14);
  z-index: 10;
}

/* Subtle image zoom inside the card on hover */
.c-photo img {
  transition: transform 0.5s cubic-bezier(0.34, 1.2, 0.64, 1);
  transform-origin: center top;
}
.c-card:hover .c-photo img {
  transform: scale(1.07);
}

/* Name highlight on hover */
.c-card:hover .c-details h4 {
  color: var(--blue);
  transition: color 0.25s ease;
}

/* Thin blue top-border accent that slides in on hover */
.c-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  border-radius: 2px 2px 0 0;
}
.c-card:hover::before {
  transform: scaleX(1);
}

/* Prevent grid from clipping popped cards */
.candidate-grid {
  overflow: visible;
}

/* ===================== HERO OVERLINE — LARGER ===================== */
.hero-overline {
  font-size: 1rem !important;
  letter-spacing: 0.28em !important;
  font-weight: 600 !important;
  color: rgba(255,255,255,0.7) !important;
}

/* ===================== HERO TENT ICON ===================== */
.hero-tent {
  display: inline-block;
  font-size: 1.05em;
  /* Force a vivid blue tint using hue-rotate + saturate on the emoji */
  filter: hue-rotate(190deg) saturate(3) brightness(1.1);
  margin: 0 4px;
  vertical-align: middle;
  position: relative;
  top: -2px;
}

/* ===================== CHAIRMAN BADGE ===================== */
.c-badge-chairman {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 1px;
  color: var(--navy-deep);
  background: var(--gold);
  z-index: 2;
}

/* ===================== HERO TENT — SVG ICON ===================== */
.hero-tent {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  position: relative;
  top: -3px;
  margin: 0 4px;
  filter: none; /* remove old hue-rotate hack */
}
.hero-tent svg {
  width: 32px;
  height: 28px;
  display: block;
}

/* ===================== BIO MODAL ===================== */
.bio-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6, 15, 30, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.bio-modal-overlay:not([hidden]) {
  opacity: 1;
}
.bio-modal-overlay[hidden] {
  display: none !important;
}

.bio-modal {
  background: var(--white);
  border-radius: 8px;
  width: 100%;
  max-width: 820px;
  /* No fixed height — grows naturally with content */
  /* Constrain to viewport so it never overflows screen */
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
  box-shadow:
    0 32px 80px rgba(6,15,30,0.5),
    0 8px 24px rgba(6,15,30,0.3);
}
.bio-modal-overlay:not([hidden]) .bio-modal {
  transform: translateY(0) scale(1);
}

/* Close button */
.bio-modal-close {
  position: sticky;
  top: 16px;
  float: right;
  margin: 16px 16px 0 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cream);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}
.bio-modal-close:hover {
  background: var(--warm-gray);
  transform: rotate(90deg);
}
.bio-modal-close svg {
  width: 18px; height: 18px;
  color: var(--navy);
}

/* Modal inner layout */
.bio-modal-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  clear: both;
}

/* Photo column */
.bio-modal-photo-col {
  background: linear-gradient(160deg, #0b1f3a 0%, #060f1e 100%);
  border-radius: 8px 0 0 8px;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bio-modal-photo {
  width: 100%;
  height: 100%;
  min-height: 320px;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bio-modal-photo img {
  width: 100%;
  height: 100%;
  /* contain = full photo always visible, no face cropping */
  object-fit: contain;
  object-position: center center;
  display: block;
}
.bio-modal-photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 3.5rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.2);
  background: linear-gradient(145deg, var(--navy-deep), var(--blue-mid));
}
.bio-modal-badge {
  position: absolute;
  bottom: 14px; left: 14px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 1px;
  color: var(--white);
}
.bio-modal-badge.national { background: var(--gold); color: var(--ink); }
.bio-modal-badge.atlarge  { background: var(--blue-mid); }
.bio-modal-badge.ward     { background: var(--blue-mid); }

/* Content column */
.bio-modal-content {
  padding: 36px 36px 40px 36px;
  display: flex;
  flex-direction: column;
  /* Let this column grow as tall as the bio needs */
  min-height: 320px;
}
.bio-modal-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bio-modal-eyebrow::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--blue);
  flex-shrink: 0;
}
.bio-modal-name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: 0.03em;
  color: var(--navy);
  line-height: 1.05;
  margin-bottom: 6px;
}
.bio-modal-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.bio-modal-rule {
  width: 40px; height: 2px;
  background: var(--blue);
  margin-bottom: 22px;
  flex-shrink: 0;
}
.bio-modal-text {
  font-size: 0.96rem;
  line-height: 1.8;
  color: var(--slate);
  flex: 1;
}
.bio-modal-text.coming-soon {
  font-style: italic;
  color: var(--muted);
}
.bio-modal-text ul {
  margin: 0.75em 0 0 1.4em;
  padding: 0;
  list-style: disc;
}
.bio-modal-text ul li {
  margin-bottom: 0.35em;
  line-height: 1.6;
}

/* Chairman badge inside modal */
.bio-modal-chairman {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 3px 10px;
  border-radius: 1px;
  margin-bottom: 14px;
  width: fit-content;
}

/* Responsive modal */
@media (max-width: 640px) {
  .bio-modal-inner {
    grid-template-columns: 1fr;
  }
  .bio-modal-photo-col {
    border-radius: 8px 8px 0 0;
    min-height: 340px;
    max-height: 400px;
  }
  .bio-modal-photo { min-height: 340px; }
  .bio-modal-photo-placeholder { min-height: 340px; }
  .bio-modal-content { padding: 28px 24px 32px; }
  .bio-modal-overlay { padding: 16px; }
}

/* ===================== HERO VIDEO — MOBILE FALLBACK ===================== */

/* Mobile animated gradient background — shown when video can't autoplay */
.hero-mobile-bg {
  display: block; /* Always visible initially — JS hides once video plays */
  position: absolute;
  inset: 0;
  z-index: 0;
  background: 
    linear-gradient(135deg,
      #060f1e 0%,
      #0b1f3a 30%,
      #0e2a52 55%,
      #0b1f3a 75%,
      #060f1e 100%
    );
  background-size: 400% 400%;
  animation: heroGradientShift 12s ease infinite;
}

/* Subtle diagonal light sweep overlay on mobile */
.hero-mobile-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(26, 86, 219, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.10) 0%, transparent 50%);
  animation: heroGlowPulse 8s ease-in-out infinite alternate;
}

@keyframes heroGradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes heroGlowPulse {
  0%   { opacity: 0.6; }
  100% { opacity: 1; }
}

/* When mobile fallback is active, ensure scrim still works */
.hero-video-container.mobile-fallback .hero-scrim {
  background: linear-gradient(
    to top,
    rgba(6, 15, 30, 0.92) 0%,
    rgba(6, 15, 30, 0.55) 40%,
    rgba(6, 15, 30, 0.20) 100%
  );
}

/* ===================== HERO CTA OVERRIDES ===================== */
/* Vote button — larger and more prominent in hero */
.cta-vote-hero {
  font-size: 1rem !important;
  padding: 18px 44px !important;
  letter-spacing: 0.1em !important;
  background: var(--blue) !important;
  box-shadow: 0 4px 20px rgba(26, 86, 219, 0.45) !important;
}
.cta-vote-hero:hover {
  background: var(--blue-mid) !important;
  box-shadow: 0 8px 32px rgba(26, 86, 219, 0.55) !important;
  transform: translateY(-3px) !important;
}

/* Meet the Slate — ghost in hero, sized to match */
.cta-slate-hero {
  font-size: 1rem !important;
  padding: 17px 44px !important;
  letter-spacing: 0.1em !important;
  border-color: rgba(255,255,255,0.55) !important;
}
.cta-slate-hero:hover {
  border-color: var(--white) !important;
  background: rgba(255,255,255,0.1) !important;
}

/* ===================== BACK TO TOP BUTTON ===================== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 500;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(26, 86, 219, 0.45);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease),
              transform 0.3s var(--ease),
              background 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--blue-mid);
  box-shadow: 0 8px 28px rgba(26, 86, 219, 0.6);
  transform: translateY(-3px);
}
.back-to-top:active {
  transform: translateY(0);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
  color: var(--white);
  flex-shrink: 0;
}

@media (max-width: 680px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

/* ===================== POLLING PLACE HERO BUTTON ===================== */
.cta-polling-hero {
  font-size: 1rem !important;
  padding: 17px 44px !important;
  letter-spacing: 0.1em !important;
  border-color: rgba(255,255,255,0.55) !important;
}
.cta-polling-hero:hover {
  border-color: var(--white) !important;
  background: rgba(255,255,255,0.1) !important;
}

/* On mobile, stack buttons and let polling button go full width */
@media (max-width: 560px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-slate-hero,
  .cta-vote-hero,
  .cta-polling-hero {
    width: 100%;
    text-align: center;
  }
}

/* ===================== LOGO INTEGRATION ===================== */

/* NAV LOGO */
.nav-logo {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
  /* Subtle brightness boost so white elements pop on dark nav */
  filter: brightness(1.05);
  transition: opacity 0.2s ease;
}
.nav-brand:hover .nav-logo {
  opacity: 0.88;
}

/* Remove old brand-mark / brand-text rules interference */
.brand-mark, .brand-text { display: none; }

/* ABOUT SECTION LOGO */
.about-logo-wrap {
  margin-bottom: 28px;
}
.about-logo-img {
  height: 110px;
  width: auto;
  display: block;
  object-fit: contain;
  /* On the cream background the blue logo reads perfectly */
}

/* FOOTER LOGO */
.footer-logo {
  /* Override old text styles */
  font-family: unset;
  font-size: unset;
  letter-spacing: unset;
  color: unset;
  margin-bottom: 14px;
}
.footer-logo-img {
  height: 96px;
  width: auto;
  display: block;
  object-fit: contain;
  /* On dark navy footer, invert the black "FREE" text to white
     so the whole logo reads cleanly — the blue stays blue */
  /* White-FREE logo works natively on dark navy — no filter needed */
}

/* Mobile adjustments */
@media (max-width: 680px) {
  .nav-logo {
    height: 44px;
  }
  .about-logo-img {
    height: 80px;
  }
}

/* ===================== DONATE NAV BUTTON ===================== */
.nav-donate {
  color: #0ff4ff !important;
  background: transparent !important;
  border: 2px solid #0ff4ff !important;
  border-radius: 2px !important;
  padding: 6px 16px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-shadow: 0 0 12px rgba(0,244,255,0.6) !important;
  box-shadow: 0 0 10px rgba(0,244,255,0.25), inset 0 0 10px rgba(0,244,255,0.05) !important;
  transition: all 0.2s ease !important;
}
.nav-donate:hover {
  color: var(--navy) !important;
  background: #0ff4ff !important;
  border-color: #0ff4ff !important;
  text-shadow: none !important;
  box-shadow: 0 0 20px rgba(0,244,255,0.55), 0 4px 16px rgba(0,244,255,0.35) !important;
  transform: translateY(-1px) !important;
}

/* ===================== DONATE SECTION ===================== */
.donate-section {
  background: var(--navy);
  padding: 100px 0;
}

.donate-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* LEFT COPY */
.donate-intro {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.7);
  margin: 20px 0 28px;
}
.donate-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.donate-bullets li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 10px;
}
.donate-check {
  color: var(--blue-light);
  font-weight: 700;
  font-size: 1rem;
}
.donate-legal {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
}
.donate-section .section-heading { color: var(--white); }
.donate-section .section-eyebrow { color: var(--blue-light); }

/* RIGHT CARD */
.donate-card {
  background: var(--white);
  border-radius: 10px;
  padding: 32px 28px 28px;
  box-shadow:
    0 24px 60px rgba(0,0,0,0.4),
    0 4px 16px rgba(0,0,0,0.2);
}

.donate-card-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}
.donate-card-org {
  display: block;
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.donate-card-sub {
  font-size: 0.8rem;
  color: #6b7280;
}

.donate-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
}

/* Amount buttons */
.donate-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.donate-amt-btn {
  background: #f3f4f6;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  padding: 12px 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.15s ease;
}
.donate-amt-btn:hover {
  border-color: var(--blue);
  background: #eff6ff;
  color: var(--blue);
}
.donate-amt-selected {
  background: var(--navy) !important;
  border-color: var(--navy) !important;
  color: var(--white) !important;
}

/* Custom amount */
.donate-custom-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #f3f4f6;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  padding: 0 10px;
  transition: border-color 0.15s;
}
.donate-custom-wrap:focus-within {
  border-color: var(--blue);
  background: #eff6ff;
}
.donate-dollar {
  font-weight: 700;
  color: #9ca3af;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.donate-custom-input {
  border: none;
  background: transparent;
  padding: 11px 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  width: 100%;
  outline: none;
  -moz-appearance: textfield;
}
.donate-custom-input::-webkit-inner-spin-button,
.donate-custom-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.donate-custom-input::placeholder { color: #9ca3af; font-weight: 500; }

/* Frequency */
.donate-frequency {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}
.donate-freq-btn {
  background: #f3f4f6;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  padding: 11px 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.donate-freq-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.donate-freq-selected {
  background: var(--navy) !important;
  border-color: var(--navy) !important;
  color: var(--white) !important;
}
.freq-icon { font-size: 1rem; }

/* Submit button */
.donate-submit-btn {
  width: 100%;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 16px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(26,86,219,0.35);
}
.donate-submit-btn:hover {
  background: var(--blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,86,219,0.45);
}
.donate-submit-btn:active { transform: translateY(0); }

/* Or divider */
.donate-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: #9ca3af;
  font-size: 0.78rem;
}
.donate-or::before, .donate-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

/* Alt payment buttons */
.donate-alt-methods {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.donate-alt-btn {
  border-radius: 6px;
  padding: 11px 8px;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s, transform 0.15s;
}
.donate-alt-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.donate-paypal { background: #ffc439; }
.donate-gpay   { background: #fff; border: 1.5px solid #e5e7eb !important; }
.donate-venmo  { background: #008cff; }

/* Secure note */
.donate-secure-note {
  font-size: 0.72rem;
  color: #9ca3af;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 0;
}

/* Responsive */
@media (max-width: 860px) {
  .donate-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 480px) {
  .donate-amounts {
    grid-template-columns: repeat(3, 1fr);
  }
  .donate-custom-wrap {
    grid-column: span 3;
  }
  .donate-card { padding: 24px 18px; }
}

/* ===================== HERO DONATE BUTTON ===================== */
.cta-hero-donate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 1rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase;
  text-decoration: none;
  padding: 17px 44px !important;
  border-radius: 2px;
  border: 2px solid #0ff4ff;
  color: #0ff4ff;
  background: transparent;
  text-shadow: 0 0 12px rgba(0,244,255,0.6);
  box-shadow: 0 0 14px rgba(0,244,255,0.25), inset 0 0 10px rgba(0,244,255,0.05);
  transition: all 0.22s ease;
  cursor: pointer;
  white-space: nowrap;
}
.cta-hero-donate:hover {
  color: var(--navy);
  background: #0ff4ff;
  border-color: #0ff4ff;
  text-shadow: none;
  box-shadow: 0 0 28px rgba(0,244,255,0.55), 0 6px 20px rgba(0,244,255,0.3);
  transform: translateY(-2px);
}
.cta-hero-donate:active {
  transform: translateY(0);
}

/* Stack all 4 hero buttons cleanly on mobile */
@media (max-width: 680px) {
  .cta-hero-donate {
    width: 100%;
    text-align: center;
  }
}
