/* ============================================================
   JT ROBY FOR NELSON COUNTY JUDGE/EXECUTIVE — Campaign Stylesheet
   Design: Modern, energetic, youth-focused. Navy + Democratic
   blue + bright accents. Animated, bold, scroll-triggered.
   Target: Young voters who don't currently vote.
   ============================================================ */

:root {
  /* Core Democratic palette */
  --navy: #0a2342;
  --navy-light: #1a3a5c;
  --navy-deep: #061a33;
  --blue: #1c5d99;
  --blue-bright: #00aeef;
  --blue-dem: #00aef3;
  --blue-glow: #17c0f5;
  --red: #c8102e;
  --red-light: #e63946;
  --cream: #faf8f3;
  --cream-dark: #f0ebe0;
  --white: #ffffff;
  --ink: #1a1a2e;
  --muted: #6b7280;
  --muted-light: #9ca3af;
  --line: rgba(10,35,66,.12);
  --line-light: rgba(10,35,66,.06);

  /* Youth accent colors — energetic, modern */
  --accent-gold: #fbbf24;
  --accent-green: #10b981;
  --accent-purple: #8b5cf6;
  --accent-orange: #f97316;

  --shadow-sm: 0 2px 8px rgba(10,35,66,.08);
  --shadow-md: 0 8px 24px rgba(10,35,66,.12);
  --shadow-lg: 0 20px 60px rgba(10,35,66,.18);
  --shadow-glow: 0 0 40px rgba(0,174,243,.25);
  --radius: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --max-width: 1180px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.6s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}

a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-bright); }

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

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.text-center { text-align: center; }

/* ============================================================
   NAVIGATION — Sticky, navy, with animated underline
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,35,66,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(10,35,66,.4);
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(6,26,51,0.98);
  box-shadow: 0 4px 30px rgba(10,35,66,.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: "Playfair Display", serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav-logo .logo-mark {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--blue-dem), var(--blue-bright));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(0,174,243,.3);
  flex-shrink: 0;
}

.nav-logo .logo-text { line-height: 1.1; }
.nav-logo .logo-text small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--blue-dem);
  font-family: "Inter", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.nav-links a {
  color: rgba(255,255,255,.85);
  font-size: 15px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  position: relative;
  transition: all var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,.08);
}

.nav-cta {
  background: linear-gradient(135deg, var(--blue-dem), var(--blue-bright));
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 30px;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(0,174,243,.35);
  transition: all var(--transition);
}
.nav-cta:hover {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-glow)) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,174,243,.5);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 26px;
  cursor: pointer;
  padding: 4px;
}

/* ============================================================
   HERO — Full viewport, animated gradient, bold
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, rgba(6,26,51,.92) 0%, rgba(10,35,66,.88) 40%, rgba(26,58,92,.85) 100%), url('../images/nelson-county-farmland.jpg') center/cover no-repeat;
  color: var(--white);
  overflow: hidden;
  padding: 100px 0 60px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(0,174,243,.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(139,92,246,.12) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-text h1 .highlight {
  background: linear-gradient(120deg, var(--blue-dem), var(--blue-glow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-tagline {
  font-size: 1.25rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 28px;
  line-height: 1.5;
  font-weight: 400;
  max-width: 520px;
}

.hero-tagline strong { color: var(--blue-dem); font-weight: 600; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.hero-badge {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(0,174,243,.3);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-badge .badge-icon { font-size: 16px; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-dem), var(--blue-bright));
  color: var(--white);
  box-shadow: 0 8px 30px rgba(0,174,243,.4);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,174,243,.55);
  color: var(--white);
}

.btn-secondary {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border: 2px solid rgba(255,255,255,.25);
}
.btn-secondary:hover {
  background: rgba(255,255,255,.18);
  border-color: var(--blue-dem);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
}
.btn-light:hover {
  background: var(--cream);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--navy-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg { padding: 18px 40px; font-size: 18px; }

/* Hero visual card */
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.hero-card .candidate-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 24px;
  display: block;
  border: 4px solid rgba(255,255,255,.2);
  box-shadow: 0 0 50px rgba(0,174,243,.3);
}

.hero-card .candidate-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-dem), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  font-weight: 800;
  color: var(--white);
  font-family: "Playfair Display", serif;
  margin: 0 auto 24px;
  border: 4px solid rgba(255,255,255,.2);
  box-shadow: 0 0 50px rgba(0,174,243,.3);
}

.hero-card h3 {
  color: var(--white);
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.hero-card .card-role {
  text-align: center;
  color: var(--blue-dem);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.hero-card .card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hero-card .stat {
  background: rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}

.hero-card .stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  font-family: "Playfair Display", serif;
  line-height: 1;
}

.hero-card .stat-label {
  font-size: 11px;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 6px;
}

/* Election countdown */
.countdown-bar {
  position: relative;
  z-index: 2;
  background: rgba(0,174,243,.1);
  border: 1px solid rgba(0,174,243,.3);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.countdown-label {
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
}
.countdown-label strong { color: var(--blue-dem); }

.countdown-timer {
  display: flex;
  gap: 12px;
}

.countdown-unit {
  text-align: center;
  min-width: 52px;
}

.countdown-unit .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  font-family: "Playfair Display", serif;
  line-height: 1;
}

.countdown-unit .lbl {
  font-size: 10px;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-header .eyebrow {
  display: inline-block;
  color: var(--blue-dem);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  padding: 6px 16px;
  background: rgba(0,174,243,.08);
  border-radius: 30px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================================
   PILLARS — 4 platform pillars cards
   ============================================================ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--line);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.pillar-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--pillar-color, var(--blue-dem));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.pillar-card:hover::before { transform: scaleX(1); }

.pillar-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 22px;
  background: var(--pillar-bg, rgba(0,174,243,.08));
  color: var(--pillar-color, var(--blue-dem));
}

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

.pillar-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.pillar-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  font-size: 14px;
  color: var(--pillar-color, var(--blue-dem));
  text-decoration: none;
  transition: gap var(--transition-fast);
}

.pillar-card:hover .pillar-link {
  text-decoration: underline;
}

.pillar-num {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--line-light);
  font-family: "Playfair Display", serif;
  line-height: 1;
}

/* ============================================================
   QUOTE BANNER
   ============================================================ */
.video-section {
  background: var(--cream);
}

.video-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.quote-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.quote-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,174,243,.1) 0%, transparent 70%);
}

.quote-banner .container { position: relative; z-index: 1; }

.big-quote {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  max-width: 900px;
  margin: 0 auto;
  color: var(--white);
  letter-spacing: -0.01em;
}

.big-quote .accent { color: var(--blue-dem); }

.quote-attr {
  text-align: center;
  color: rgba(255,255,255,.5);
  margin-top: 24px;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   YOUNG VOTER CTA — Special section
   ============================================================ */
.young-voter {
  background: var(--cream);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.young-voter::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,174,243,.1) 0%, transparent 70%);
  border-radius: 50%;
}

.young-voter::after {
  content: "";
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(139,92,246,.08) 0%, transparent 70%);
  border-radius: 50%;
}

.young-voter .container { position: relative; z-index: 1; }

.yv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.yv-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 20px;
}

.yv-text .yv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent-purple), var(--blue-dem));
  color: var(--white);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.yv-text p {
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.7;
}

.yv-text p strong { color: var(--navy); }

.yv-features {
  list-style: none;
  margin: 24px 0;
}

.yv-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 1.02rem;
  color: var(--ink);
}

.yv-features li .check {
  width: 26px; height: 26px;
  background: var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.yv-visual {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-xl);
  padding: 48px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.yv-image {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  display: block;
}

.yv-visual::before {
  content: "🗳️";
  position: absolute;
  font-size: 280px;
  opacity: 0.05;
  bottom: -40px;
  right: -30px;
  line-height: 1;
}

.yv-visual h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.yv-visual .yv-stat-big {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--blue-dem);
  font-family: "Playfair Display", serif;
  line-height: 1;
  margin: 16px 0 8px;
}

.yv-visual .yv-stat-sub {
  color: rgba(255,255,255,.7);
  font-size: 14px;
  margin-bottom: 28px;
}

.yv-visual .yv-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}

/* ============================================================
   TIMELINE — JT's journey
   ============================================================ */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 40px;
}

.bio-image-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 auto 40px;
  max-width: 900px;
}

.bio-image-bar img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 12px; top: 8px; bottom: 8px;
  width: 3px;
  background: linear-gradient(180deg, var(--blue-dem), var(--navy-light));
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
  padding-left: 28px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -33px; top: 4px;
  width: 18px; height: 18px;
  background: var(--blue-dem);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(0,174,243,.2);
}

.timeline-year {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-dem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

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

.timeline-item p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ============================================================
   PLATFORM EXPANDABLE SECTIONS
   ============================================================ */
.platform-accordion {
  max-width: 820px;
  margin: 0 auto;
}

.platform-item {
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all var(--transition);
}

.platform-item:hover { border-color: var(--blue-dem); }
.platform-item.open { border-color: var(--blue-dem); box-shadow: var(--shadow-md); }

.platform-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  cursor: pointer;
  user-select: none;
  transition: background var(--transition);
}

.platform-header:hover { background: rgba(0,174,243,.03); }

.platform-header .p-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: var(--p-bg, rgba(0,174,243,.08));
  color: var(--p-color, var(--blue-dem));
  flex-shrink: 0;
}

.platform-header .p-title-wrap { flex: 1; }
.platform-header .p-title { font-size: 1.3rem; margin-bottom: 2px; }
.platform-header .p-sub { font-size: 14px; color: var(--muted); font-weight: 400; }

.platform-header .p-chevron {
  font-size: 24px;
  color: var(--muted);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.platform-item.open .p-chevron { transform: rotate(180deg); color: var(--blue-dem); }

.platform-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.platform-body-inner {
  padding: 0 28px 28px 100px;
}

.platform-body p {
  color: var(--ink);
  line-height: 1.75;
  margin-bottom: 14px;
  font-size: 16px;
}

.platform-body ul {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.platform-body ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}

.platform-body ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--blue-dem);
  font-weight: 800;
}

.platform-body .quote-callout {
  background: var(--cream);
  border-left: 4px solid var(--blue-dem);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--navy);
  margin: 16px 0;
  font-size: 15px;
}

/* ============================================================
   ABOUT PAGE — Bio layout
   ============================================================ */
.bio-hero {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-light) 100%);
  color: var(--white);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.bio-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(0,174,243,.12) 0%, transparent 60%);
}

.bio-hero .container { position: relative; z-index: 1; }

.bio-hero-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.bio-portrait {
  text-align: center;
}

.bio-portrait .portrait-photo {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 24px;
  display: block;
  border: 6px solid rgba(255,255,255,.15);
  box-shadow: 0 0 60px rgba(0,174,243,.3);
}

.bio-portrait .avatar-large {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-dem), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 88px;
  font-weight: 800;
  color: var(--white);
  font-family: "Playfair Display", serif;
  margin: 0 auto 24px;
  border: 6px solid rgba(255,255,255,.15);
  box-shadow: 0 0 60px rgba(0,174,243,.3);
}

.bio-portrait .portrait-name {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 4px;
}

.bio-inline-image {
  width: 100%;
  max-width: 760px;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin: 16px 0 24px;
  box-shadow: var(--shadow-md);
}

.bio-video-wrapper {
  position: relative;
  max-width: 760px;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin: 20px 0;
}

.bio-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.bio-portrait .portrait-title {
  color: var(--blue-dem);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bio-hero-text h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}

.bio-hero-text .bio-intro {
  font-size: 1.15rem;
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  margin-bottom: 24px;
}

.bio-quick-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.bio-fact {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 14px 18px;
}

.bio-fact .fact-label {
  font-size: 11px;
  color: var(--blue-dem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 4px;
}

.bio-fact .fact-value {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
}

/* Bio content sections */
.bio-content {
  padding: 80px 0;
}

.bio-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 50px;
}

.bio-main h2 {
  font-size: 2rem;
  margin: 40px 0 16px;
  letter-spacing: -0.01em;
}
.bio-main h2:first-child { margin-top: 0; }

.bio-main p {
  margin-bottom: 18px;
  line-height: 1.8;
  font-size: 17px;
  color: var(--ink);
}

.bio-main .pullquote {
  background: var(--cream);
  border-left: 5px solid var(--blue-dem);
  padding: 24px 28px;
  border-radius: 0 16px 16px 0;
  margin: 28px 0;
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.5;
}

.bio-main .pullquote .attrib {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-style: normal;
  color: var(--muted);
  font-family: "Inter", sans-serif;
}

.bio-sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
}

.bio-sidebar .sidebar-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
}

.bio-sidebar .sidebar-card h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--navy);
}

.bio-sidebar .info-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.bio-sidebar .info-row:last-child { border-bottom: none; }
.bio-sidebar .info-row .ir-label { color: var(--muted); }
.bio-sidebar .info-row .ir-value { font-weight: 600; color: var(--navy); text-align: right; }

.bio-sidebar .social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bio-sidebar .social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition);
}
.bio-sidebar .social-link:hover {
  border-color: var(--blue-dem);
  background: rgba(0,174,243,.04);
  transform: translateX(4px);
  color: var(--navy);
}
.bio-sidebar .social-link .sl-icon { font-size: 18px; }

/* ============================================================
   GET INVOLVED CARDS
   ============================================================ */
.involve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.involve-card {
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
}

.involve-card:hover {
  border-color: var(--blue-dem);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.involve-card .iv-icon {
  width: 72px; height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  margin: 0 auto 20px;
  background: rgba(0,174,243,.08);
}

.involve-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.involve-card p { color: var(--muted); font-size: 15px; margin-bottom: 20px; line-height: 1.6; }

/* ============================================================
   VOTE PAGE
   ============================================================ */
.vote-hero {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--blue-dem) 100%);
  color: var(--white);
  padding: 100px 0 70px;
  text-align: center;
}

.vote-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 16px; }
.vote-hero p { font-size: 1.2rem; color: rgba(255,255,255,.9); max-width: 640px; margin: 0 auto; }

.vote-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.vote-step {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--line);
  position: relative;
  transition: all var(--transition);
}

.vote-step:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.vote-step .step-num {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--blue-dem), var(--blue-bright));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  font-family: "Playfair Display", serif;
  margin: 0 auto 18px;
}

.vote-step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.vote-step p { color: var(--muted); font-size: 15px; line-height: 1.6; margin-bottom: 16px; }

.vote-info-box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  margin: 40px auto;
  max-width: 600px;
}

.vote-info-box h3 { color: var(--white); font-size: 1.6rem; margin-bottom: 12px; }
.vote-info-box .vote-date {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue-dem);
  font-family: "Playfair Display", serif;
  margin: 16px 0;
}
.vote-info-box p { color: rgba(255,255,255,.8); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item:hover { border-color: rgba(0,174,243,.3); }
.faq-item.open { border-color: var(--blue-dem); box-shadow: var(--shadow-sm); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  user-select: none;
  transition: background var(--transition);
}

.faq-q:hover { background: rgba(0,174,243,.02); }

.faq-q .faq-plus {
  font-size: 22px;
  color: var(--blue-dem);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-plus { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-a-inner {
  padding: 0 26px 24px;
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
}

.faq-a-inner p { margin-bottom: 12px; }
.faq-a-inner p:last-child { margin-bottom: 0; }

/* ============================================================
   CHATBOT
   ============================================================ */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.chat-toggle {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--blue-dem), var(--blue-bright));
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(0,174,243,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--white);
}

.chat-toggle:hover { transform: scale(1.08); box-shadow: 0 12px 40px rgba(0,174,243,.55); }

.chat-toggle .chat-icon { font-size: 28px; }
.chat-toggle .chat-close { display: none; font-size: 24px; }
.chat-widget.open .chat-toggle .chat-icon { display: none; }
.chat-widget.open .chat-toggle .chat-close { display: block; }

.chat-panel {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 360px;
  max-width: calc(100vw - 48px);
  height: 480px;
  max-height: calc(100vh - 120px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(10,35,66,.25);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-widget.open .chat-panel { display: flex; }

.chat-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-header .chat-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-dem), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800;
  flex-shrink: 0;
}

.chat-header .chat-title { font-size: 15px; font-weight: 700; }
.chat-header .chat-sub { font-size: 12px; color: rgba(255,255,255,.6); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--cream);
}

.chat-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
}

.chat-msg.bot {
  background: var(--white);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.chat-msg.user {
  background: linear-gradient(135deg, var(--blue-dem), var(--blue-bright));
  color: var(--white);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 16px 4px;
  background: var(--cream);
}

.chat-sugg {
  background: var(--white);
  border: 1px solid var(--blue-dem);
  color: var(--blue-dem);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.chat-sugg:hover { background: var(--blue-dem); color: var(--white); }

.chat-input-area {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.chat-input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 10px 16px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border var(--transition);
}
.chat-input:focus { border-color: var(--blue-dem); }

.chat-send {
  background: var(--blue-dem);
  color: var(--white);
  border: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}
.chat-send:hover { background: var(--blue-bright); transform: scale(1.05); }

/* ============================================================
   DONATION SECTION
   ============================================================ */
.donate-section {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.donate-section h2 { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 16px; }
.donate-section p { color: rgba(255,255,255,.8); max-width: 580px; margin: 0 auto 32px; font-size: 1.1rem; }

.donate-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
}

.donate-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: var(--white);
  display: block;
}

.donate-card:hover {
  background: rgba(0,174,243,.12);
  border-color: var(--blue-dem);
  transform: translateY(-4px);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(0,174,243,.2);
}

.donate-card .dc-icon { font-size: 36px; margin-bottom: 14px; }
.donate-card h4 { color: var(--white); font-size: 1.2rem; margin-bottom: 6px; }
.donate-card p { color: rgba(255,255,255,.6); font-size: 13px; margin: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.footer-brand p { font-size: 14px; line-height: 1.6; max-width: 300px; }

.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: rgba(255,255,255,.6);
  font-size: 14px;
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--blue-dem); }

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

.footer-bottom .paid-by {
  font-size: 11px;
  color: rgba(255,255,255,.4);
  font-style: italic;
}

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */
.page-header {
  background: linear-gradient(160deg, rgba(6,26,51,.93) 0%, rgba(10,35,66,.88) 100%), url('../images/bardstown-main-street.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,174,243,.1) 0%, transparent 70%);
}

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

.page-header .eyebrow {
  display: inline-block;
  color: var(--blue-dem);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.page-header h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.page-header p {
  font-size: 1.15rem;
  color: rgba(255,255,255,.8);
  max-width: 640px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--blue-dem); }
.breadcrumb .sep { color: rgba(255,255,255,.3); }

/* ============================================================
   ANIMATIONS — Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,174,243,.4); }
  50% { box-shadow: 0 0 0 16px rgba(0,174,243,0); }
}

.pulse { animation: pulse-glow 2s infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float { animation: float 3s ease-in-out infinite; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .yv-grid { grid-template-columns: 1fr; }
  .bio-hero-grid { grid-template-columns: 1fr; }
  .bio-layout { grid-template-columns: 1fr; }
  .bio-sidebar { position: static; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .involve-grid { grid-template-columns: repeat(2, 1fr); }
  .vote-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    box-shadow: 0 12px 30px rgba(0,0,0,.3);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 16px; border-radius: 10px; width: 100%; }
  .nav-toggle { display: block; }

  .hero { min-height: auto; padding: 80px 0 50px; }
  .hero-card { padding: 28px; }
  .countdown-bar { flex-direction: column; text-align: center; }
  .countdown-timer { justify-content: center; }

  .pillars-grid { grid-template-columns: 1fr; }
  .involve-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .bio-image-bar { grid-template-columns: 1fr; }
  .bio-image-bar img { height: 220px; }

  .platform-body-inner { padding: 0 20px 24px 20px; }
  .platform-header { padding: 20px; gap: 14px; }
  .platform-header .p-icon { width: 48px; height: 48px; font-size: 22px; }

  .bio-quick-facts { grid-template-columns: 1fr; }
  .section { padding: 50px 0; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .hero-text h1 { font-size: 2.2rem; }
  .big-quote { font-size: 1.5rem; }
  .chat-panel { width: 100%; right: -12px; }
}
