/* === Tokens === */
:root {
  --navy: #1E2A5E;
  --navy-800: #17214a;
  --navy-700: #223173;
  --green: #6FCF97;
  --green-600: #4fb57e;
  --white: #ffffff;
  --gray: #F5F7FA;
  --gray-300: #e3e7ee;
  --ink: #1E2A5E;
  --text: #333333;
  --muted: #5d6478;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(10,20,60,.06);
  --shadow: 0 10px 30px rgba(10,20,60,.12);

  --container: 1120px;
  --pad: clamp(20px, 5vw, 40px);

  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

/* === Reset === */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
h1,h2,h3 { margin: 0 0 .4em; color: var(--ink); line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

/* === Nav === */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--pad);
  background: rgba(30, 42, 94, .96);
  backdrop-filter: saturate(140%) blur(8px);
  color: #fff;
}
.nav-brand {
  font-weight: 800;
  letter-spacing: .02em;
  font-size: 17px;
}
.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
}
.nav-links a {
  font-size: 15px;
  color: rgba(255,255,255,.82);
  transition: color .15s ease;
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: var(--green);
  color: var(--navy) !important;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
}
.nav-cta:hover { background: var(--green-600); }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px auto;
  transition: transform .2s ease, opacity .2s ease;
}

/* === Hero === */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-800) 100%);
  color: #fff;
  padding: clamp(48px, 8vw, 96px) var(--pad) clamp(56px, 9vw, 120px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 60%;
  padding-bottom: 60%;
  background: radial-gradient(circle at center, rgba(111,207,151,.18), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  position: relative;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 16px;
}
.hero-name {
  font-size: clamp(56px, 10vw, 112px);
  line-height: .95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 12px;
}
.hero-sub {
  font-size: clamp(20px, 2.4vw, 26px);
  color: rgba(255,255,255,.9);
  font-weight: 500;
  margin: 0 0 10px;
}
.hero-ballot {
  font-size: 15px;
  color: rgba(255,255,255,.7);
  margin: 0 0 28px;
}
.hero-ballot strong { color: #fff; }
.vote-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  background: var(--green);
  color: var(--navy);
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: var(--shadow);
  transition: transform .15s ease, background .15s ease;
}
.vote-badge:hover { transform: translateY(-1px); background: var(--green-600); }
.vote-badge-label {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 13px;
}
.vote-badge-date {
  font-size: 18px;
}
.hero-photo {
  position: relative;
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.08);
}

/* === Sections === */
.section {
  padding: clamp(64px, 9vw, 112px) var(--pad);
}
.section-light { background: var(--gray); color: var(--text); }
.section-white { background: #fff; color: var(--text); }
.section-dark  { background: var(--navy); color: rgba(255,255,255,.88); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-green { background: var(--green); color: var(--navy); }
.container { max-width: var(--container); margin: 0 auto; }

.section-title {
  font-size: clamp(30px, 4.4vw, 44px);
  margin: 0 0 18px;
}
.section-lede {
  font-size: 18px;
  color: rgba(255,255,255,.72);
  margin: 0 0 40px;
  max-width: 64ch;
}
.section-light .section-lede,
.section-lede-dark { color: var(--muted); }
.eyebrow-dark { color: var(--green-600); }
.prose {
  max-width: 68ch;
  font-size: 18px;
  line-height: 1.7;
}
.prose p { margin-bottom: 1.1em; }

.quote {
  margin: 28px 0;
  padding: 22px 26px;
  background: #fff;
  border-left: 4px solid var(--green);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.quote p {
  font-size: 18px;
  font-style: italic;
  color: var(--navy);
  margin: 0 0 10px;
  line-height: 1.5;
}
.quote cite {
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
}
.source-note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 18px;
}
.source-note a {
  color: var(--navy);
  border-bottom: 1px solid var(--green);
  font-weight: 600;
}
.source-note a:hover { color: var(--navy-700); }

/* === Why grid (copy + family photo) === */
.why-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.why-photo {
  margin: 0;
  position: relative;
}
.why-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 6px solid #fff;
}
.why-photo figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  font-style: italic;
}

/* === Community grid === */
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
  align-items: start;
}
.community-photo {
  margin: 0;
  min-width: 0;
}
.community-photo-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-300);
  background: var(--gray);
}
.community-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.community-photo-frame .img-parade {
  transform: scale(1.55);
  transform-origin: 68% 58%;
}
.community-photo-frame .img-popcorn {
  object-position: center 35%;
}
.community-photo figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

/* === Badges === */
.badges {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.badges li {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--gray-300);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
}

/* === About bio === */
.bio {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-300);
  max-width: 72ch;
}
.bio-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.bio-heading::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
}
.bio p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

/* === Record cards === */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,.07);
  border-color: rgba(111,207,151,.35);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(111,207,151,.15);
  color: var(--green);
  margin-bottom: 16px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 18px; margin-bottom: 6px; }
.card p {
  font-size: 15px;
  color: rgba(255,255,255,.72);
  margin: 0;
  line-height: 1.55;
}

/* === Fiscal stats === */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 48px;
}
.stat {
  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.stat-number {
  font-size: clamp(40px, 5.2vw, 60px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-unit { font-size: .55em; color: var(--muted); margin-left: 2px; }
.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-top: 10px;
}
.stat-accent {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.stat-accent .stat-number { color: var(--green); }
.stat-accent .stat-unit { color: rgba(255,255,255,.6); }
.stat-accent .stat-label { color: rgba(255,255,255,.7); }

/* === Bar chart === */
.bar-chart {
  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 28px;
  margin: 0 0 40px;
  box-shadow: var(--shadow-sm);
}
.bar-row { margin-bottom: 18px; }
.bar-row:last-of-type { margin-bottom: 8px; }
.bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.bar-label span { color: var(--muted); font-weight: 700; }
.bar-track {
  height: 14px;
  background: var(--gray);
  border-radius: 999px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: var(--navy);
  border-radius: 999px;
  transition: width .8s ease;
}
.bar-fill-accent { background: var(--green); }
.bar-fill-muted  { background: #b9c0d2; }
.bar-note {
  font-size: 12px;
  color: var(--muted);
  margin: 14px 0 0;
}

/* === What's Next list === */
.next-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.next-list li {
  display: flex;
  gap: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 24px;
}
.next-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: .04em;
  min-width: 38px;
}
.next-list h3 { font-size: 18px; margin: 2px 0 6px; }
.next-list p {
  font-size: 15px;
  color: rgba(255,255,255,.75);
  margin: 0;
  line-height: 1.55;
}

/* === Vote block === */
.vote-block { text-align: center; }
.vote-kicker {
  text-transform: uppercase;
  letter-spacing: .24em;
  font-weight: 700;
  font-size: 13px;
  color: var(--navy-800);
  margin: 0 0 10px;
}
.vote-date {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--navy);
}
.vote-where {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px;
}
.vote-address {
  font-size: 16px;
  color: var(--navy-800);
  margin: 0 0 18px;
}
.vote-ballot {
  font-size: 18px;
  margin: 0 0 22px;
}
.vote-hours {
  font-size: 15px;
  color: var(--navy-800);
  margin: 0 0 18px;
}
.vote-links a {
  display: inline-block;
  background: var(--navy);
  color: #fff !important;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: background .15s ease;
}
.vote-links a:hover { background: var(--navy-700); }
.vote-neighbor {
  margin: 28px auto 0;
  max-width: 48ch;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-800);
  padding-top: 20px;
  border-top: 1px solid rgba(30,42,94,.18);
}

/* === Footer === */
.footer {
  background: var(--navy-800);
  color: rgba(255,255,255,.75);
  padding: 36px var(--pad);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-disclaimer { margin: 0; font-weight: 600; color: #fff; }
.footer-service { margin: 4px 0 0; font-size: 13px; color: rgba(255,255,255,.6); flex-basis: 100%; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.75); }
.footer-links a:hover { color: #fff; }
.footer-copy { margin: 0; font-size: 13px; color: rgba(255,255,255,.55); flex-basis: 100%; text-align: center; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-copy a { color: rgba(255,255,255,.75); border-bottom: 1px solid rgba(111,207,151,.4); }
.footer-copy a:hover { color: #fff; }

/* === Responsive === */
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { order: -1; max-width: 320px; margin: 0 auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat-accent { grid-column: span 2; }
  .next-list { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-photo { max-width: 420px; margin: 0 auto; }
  .community-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--navy);
    padding: 10px var(--pad) 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
    align-items: stretch;
  }
  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav-cta { text-align: center; margin-top: 10px; border-bottom: 0 !important; }
  .nav[data-open="true"] .nav-links { max-height: 320px; }
  .nav-toggle { display: block; }

  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat-accent { grid-column: auto; }
  .community-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
