:root {
  --red: #be1f27;
  --red-dark: #8f141b;
  --green: #12a54a;
  --ink: #1d1d1f;
  --muted: #55585f;
  --navy: #1b2a44;
  --paper: #ffffff;
  --tint: #f6f3ee;
  --line: #e6e1d8;
  --radius: 10px;
  --shadow: 0 12px 34px rgba(20, 20, 30, .12);
  --display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --script: "Lobster", "Brush Script MT", cursive;
  --body: "Source Sans 3", system-ui, -apple-system, sans-serif;
  /* white letters with a red outline, like the postcard */
  --outline-red:
    3px 0 0 var(--red-dark), -3px 0 0 var(--red-dark), 0 3px 0 var(--red-dark), 0 -3px 0 var(--red-dark),
    2px 2px 0 var(--red-dark), -2px -2px 0 var(--red-dark), 2px -2px 0 var(--red-dark), -2px 2px 0 var(--red-dark),
    0 6px 18px rgba(0, 0, 0, .35);
  --outline-white:
    2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff,
    2px 2px 0 #fff, -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff,
    0 4px 12px rgba(0, 0, 0, .3);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.65;
  color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; color: var(--ink); }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 900; text-transform: uppercase; letter-spacing: .01em; }
h3 { font-size: 1.25rem; font-weight: 800; }
p { margin: 0 0 1em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.lead { font-size: 1.2rem; }
.eyebrow {
  font-family: var(--display); font-weight: 800; font-size: .85rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--red); margin-bottom: .6em;
}

.btn {
  display: inline-block; font-family: var(--display); font-weight: 800; font-size: 1rem;
  letter-spacing: .05em; text-transform: uppercase; text-decoration: none;
  padding: 16px 28px; border-radius: 6px; background: var(--red); color: #fff;
  transition: background .2s, transform .15s;
}
.btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-block { display: block; text-align: center; }

/* ---------- Sign (logo artwork from the postcard) ---------- */
.sign { display: block; }
.sign img { width: 100%; height: auto; }
.sign-header { width: 128px; }
.sign-footer { width: 150px; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--red); color: #fff; font-family: var(--display); font-weight: 600; font-size: .85rem; letter-spacing: .03em; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar strong, .countdown { font-weight: 800; }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(0, 0, 0, .1); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 800;
  font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; position: relative;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 3px; background: var(--red); transform: scaleX(0); transition: transform .2s; }
.nav a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* ---------- Hero (postcard front) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: #6f9a3a url("img/hero-field.jpg?v=202610141036") center 35% / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.38) 0%, rgba(0,0,0,.18) 45%, rgba(0,0,0,0) 70%),
              linear-gradient(0deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 40%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; min-height: min(80vh, 760px); }
.hero-copy { padding: 140px 0 80px; max-width: 64%; }
.vote-script {
  font-family: var(--script); color: var(--red); font-size: clamp(3rem, 6vw, 5rem); line-height: 1;
  margin: 0 0 -.05em; text-shadow: var(--outline-white);
}
.hero-name {
  color: #fff; font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3.2rem, 7.6vw, 7.4rem); line-height: .9; letter-spacing: -.02em; margin: 0 0 .18em; white-space: nowrap;
  text-shadow: var(--outline-red);
}
.hero-office {
  font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 2.4vw, 1.9rem); line-height: 1.15;
  margin: 0; text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}
.hero-office strong { font-weight: 800; }
.hero-greg { position: absolute; right: max(0px, calc((100vw - 1700px) / 2)); bottom: 0; height: calc(100% - 40px); max-width: 50vw; z-index: 0; }
.hero-greg img { height: 100%; width: auto; max-width: none; margin-left: auto; filter: drop-shadow(-6px 10px 30px rgba(0,0,0,.25)); }

/* ---------- Plan (postcard back) ---------- */
.plan { position: relative; background: #f4f1ec; overflow: hidden; }
.plan-inner { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: start; padding-top: 80px; padding-bottom: 40px; }
.plan-vote { display: flex; flex-direction: column; font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .92; }
.plan-vote .vote-script { font-size: 4rem; text-transform: none; text-shadow: none; margin-bottom: .05em; }
.pv-name { font-size: 5.6rem; color: var(--red); letter-spacing: -.02em; margin: .04em 0 .04em; }
.pv-date { font-size: 1.75rem; color: var(--ink); }
.pv-date b { color: var(--red); font-weight: 900; }
.plan-list h2 { color: var(--red); font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: .03em; }
.checks { list-style: none; padding: 0; margin: 0 0 22px; }
.checks li {
  position: relative; padding: 6px 0 6px 44px; font-family: var(--display); font-weight: 700;
  font-size: clamp(1.05rem, 1.9vw, 1.4rem); line-height: 1.3; color: var(--ink);
}
.checks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 30px; height: 26px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 26'%3E%3Cpath d='M2 14l9 9L28 3' fill='none' stroke='%23be1f27' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.checks-sm li { font-size: 1.05rem; font-weight: 600; padding-left: 38px; border-bottom: 1px solid var(--line); padding-top: 11px; padding-bottom: 11px; }
.checks-sm li::before { width: 24px; height: 20px; top: 15px; }
.endorsed { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: clamp(1.2rem, 2.3vw, 1.7rem); color: var(--red); margin: 0; }
.endorsed b { color: var(--green); font-weight: 900; text-transform: uppercase; }
.endorsed svg { flex: none; width: 1.3em; height: 1.3em; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.plan-photo {
  height: clamp(320px, 42vw, 620px); margin-top: -140px;
  background: url("img/family-prairie.jpg") center 70% / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 32%);
          mask-image: linear-gradient(180deg, transparent 0, #000 32%);
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-tint { background: var(--tint); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 52px; }

/* About */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.about-photo { margin: 0; position: relative; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about-photo::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 4px solid var(--red); border-radius: var(--radius); z-index: -1; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.stats div { border-top: 4px solid var(--red); padding-top: 12px; }
.stats b { display: block; font-family: var(--display); font-weight: 900; font-size: 2.2rem; color: var(--red); line-height: 1; }
.stats span { font-size: .95rem; color: var(--muted); font-weight: 600; line-height: 1.3; display: block; margin-top: 6px; }

/* Service */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.svc { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 30px 18px; border-top: 6px solid var(--red); }
.svc h3 { text-transform: uppercase; letter-spacing: .04em; color: var(--red); font-size: 1.05rem; }
.svc-sub { margin-top: 26px; }
.svc ul { list-style: none; padding: 0; margin: 0; }
.svc li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .98rem; color: var(--muted); line-height: 1.45; }
.svc li:last-child { border-bottom: 0; }
.svc li b { display: block; color: var(--ink); font-weight: 700; font-size: 1.02rem; }

/* How to vote */
.district-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: start; }
.district-photo { margin-top: 28px; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 16 / 7; object-fit: cover; object-position: center 65%; width: 100%; }
.vote-card { background: var(--red); color: #fff; border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow); position: sticky; top: 110px; }
.vote-card h3 { color: #fff; font-size: 1.5rem; text-transform: uppercase; font-weight: 900; }
.vote-card h3 span { display: block; font-size: 2.2rem; }
.vote-card ol { list-style: none; padding: 0; margin: 0 0 26px; }
.vote-card li { display: flex; gap: 16px; padding: 12px 0; font-size: 1rem; color: #fbe1e2; border-bottom: 1px solid rgba(255,255,255,.2); }
.vote-card li strong { color: #fff; font-size: 1.05rem; }
.vote-card li > span { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--red); font-family: var(--display); font-weight: 900; display: grid; place-items: center; }
.vote-card .btn { background: #fff; color: var(--red); }
.vote-card .btn:hover { background: var(--ink); color: #fff; }

/* Footer */
.footer { background: var(--ink); color: #b9bcc4; padding: 56px 0 26px; font-size: 1rem; }
.footer-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-line { margin: 0; font-family: var(--display); font-weight: 700; color: #fff; max-width: 34em; }
.disclaimer { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .9rem; }
.disclaimer p { margin: 0; }
.paid { border: 1.5px solid #b9bcc4; padding: 4px 12px; }
.credits { flex-basis: 100%; font-size: .8rem; color: #8a8e98; }
.credits a { color: inherit; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .plan-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .plan-vote { display: none; }
  .service-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .service-grid .svc:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 4px 24px 18px; border-bottom: 4px solid var(--red); display: none;
    box-shadow: 0 10px 20px rgba(0,0,0,.1);
  }
  .nav.open { display: flex; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a::after { display: none; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .hero { background-position: 30% 30%; }
  .hero::before { background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,0) 75%); }
  .hero-inner { min-height: 0; }
  .hero-copy { padding: 48px 0 8px; text-align: center; max-width: none; }
  .hero-name { white-space: normal; font-size: clamp(3.2rem, 15vw, 6rem); }
  .hero-greg { position: relative; right: auto; height: auto; width: auto; max-width: 460px; margin: 0 auto; }
  .hero-greg img { height: auto; width: 100%; max-width: 100%; }
    .about-grid, .district-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .about-photo { max-width: 420px; }
  .vote-card { position: static; }
  .section { padding: 72px 0; }
  .plan-photo { margin-top: -60px; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .topbar .wrap { justify-content: center; text-align: center; }
  .sign-header { width: 104px; }
  .hero-office br { display: none; }
  .plan-inner { padding-top: 56px; }
  .checks li { padding-left: 38px; }
  .checks li::before { width: 24px; height: 21px; }
  .endorsed { align-items: flex-start; }
  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .svc { padding: 24px 20px 12px; }
  .stats { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .stats div { display: flex; align-items: baseline; gap: 14px; }
  .stats span { margin: 0; }
  .vote-card { padding: 28px 22px; }
  .about-photo::after { inset: 12px -10px -12px 12px; }
}

/* Learn more link (bottom of page) */
.learn-more { margin-top: 64px; text-align: center; }
.btn-subtle {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff;
  color: var(--muted); font-family: var(--display); font-weight: 700; font-size: .92rem;
  text-decoration: none; transition: border-color .2s, color .2s;
}
.btn-subtle:hover { border-color: var(--red); color: var(--red); }
.btn-subtle svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) { .learn-more { margin-top: 44px; } .btn-subtle { font-size: .85rem; text-align: left; border-radius: 14px; } }
