/* Palette sampled from the campaign's own yard-sign artwork so the site and
   Bill's printed material read as one brand: navy field #0c3c67, rule red
   #c02840. Do not "improve" these — they are measured, not chosen. */
:root {
  --red: #c02840;
  --red-dark: #8f1c2e;
  --navy: #0c3c67;
  --navy-dark: #072744;
  --ink: #111827;
  --muted: #667085;
  --line: #d7dce5;
  --soft: #f5f7fb;
  --white: #fff;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; color: var(--ink); background: var(--white); overflow-x: hidden; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { text-wrap: balance; }

.skip-link {
  position: absolute;
  top: 12px;
  left: 16px;
  z-index: 1000;
  transform: translateY(-160%);
  border: 2px solid var(--navy-dark);
  border-radius: var(--radius);
  padding: 10px 14px;
  background: var(--white);
  color: var(--navy-dark);
  font-weight: 900;
}

.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
}

.brand { display: inline-flex; align-items: center; gap: 12px; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
  letter-spacing: .02em;
  box-shadow: inset 0 -4px 0 var(--red);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 18px; font-weight: 900; color: var(--navy-dark); letter-spacing: .01em; }
.brand-text small { font-size: 12px; color: var(--muted); font-weight: 600; }

.menu-button {
  display: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 14px;
  background: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.main-nav { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 22px); font-weight: 700; font-size: 14.5px; }
.main-nav a { color: #2c3648; padding: 6px 2px; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--navy); border-bottom-color: var(--red); }

.nav-action {
  border-radius: 999px;
  padding: 10px 16px !important;
  border-bottom: 0 !important;
  background: var(--red);
  color: var(--white) !important;
  font-weight: 800;
}
.nav-action:hover { background: var(--red-dark); }

/* Hero */
.hero {
  background:
    radial-gradient(1000px 420px at 82% -60px, rgba(192, 40, 64, .22), transparent 62%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 82%);
  color: var(--white);
}

.hero-ribbon {
  margin: 0;
  padding: 10px clamp(18px, 4vw, 54px);
  background: var(--red);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(14px, 1.8vw, 17px);
  text-align: center;
  letter-spacing: .01em;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
  align-items: end;
  gap: clamp(16px, 3vw, 44px);
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) clamp(18px, 4vw, 54px) 0;
}

.hero-copy { padding-bottom: clamp(36px, 6vw, 72px); }

.hero-elect {
  margin: 0 0 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 34px);
  transform: rotate(-3deg);
  transform-origin: left bottom;
}

.hero-name {
  margin: 0;
  font-size: clamp(38px, 6.4vw, 72px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.hero-nick { color: #f1f5ff; }

.hero-office {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 16px 0 0;
  padding: 10px 0;
  border-top: 3px solid var(--white);
  border-bottom: 3px solid var(--white);
  font-weight: 800;
  font-size: clamp(16px, 2.4vw, 22px);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-office-district { color: #ffd7dc; }

.hero-sub { margin: 18px 0 0; max-width: 52ch; color: #dbe3f5; font-size: clamp(15px, 1.9vw, 17.5px); line-height: 1.6; }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.button {
  display: inline-block;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800;
  font-size: 15px;
  border: 2px solid transparent;
}

.button.primary { background: var(--red); color: var(--white); }
.button.primary:hover { background: var(--red-dark); }
.button.light { background: var(--white); color: var(--navy-dark); }
.button.light:hover { background: #e7ecf7; }
.button.outline { border-color: rgba(255, 255, 255, .75); color: var(--white); }
.button.outline:hover { background: rgba(255, 255, 255, .12); }

.hero-photo { align-self: end; display: flex; justify-content: center; }
.hero-photo img {
  width: min(100%, 380px);
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, .45));
}

/* Dates band */
.dates-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px clamp(18px, 4vw, 54px) 22px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.dates-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 4vw, 56px);
}

.ballot-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 16px;
  border: 1px solid #cfe0d3;
  border-radius: 999px;
  background: #f1f8f3;
  color: #1c6b3a;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.ballot-chip span { font-weight: 900; }

.date-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.date-label { font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.date-item strong { font-size: clamp(20px, 2.6vw, 26px); font-weight: 900; color: var(--navy-dark); }
.date-item-primary strong { color: var(--red); }
.date-countdown { font-size: 13px; font-weight: 700; color: var(--muted); }

/* Quote band */
.quote-band { background: var(--soft); padding: clamp(34px, 5vw, 56px) clamp(18px, 4vw, 54px); }
.quote-band blockquote { max-width: 880px; margin: 0 auto; text-align: center; }
.quote-band p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--navy-dark);
  line-height: 1.45;
}
.quote-band cite { display: block; margin-top: 14px; font-style: normal; font-weight: 800; color: var(--red); }

/* Shared section scaffolding */
.section-heading { max-width: 760px; margin: 0 auto; text-align: center; }
.section-heading p { color: var(--muted); }
.section-heading.on-navy p { color: #ccd6ee; }
.section-heading h2 { margin: 8px 0 10px; font-size: clamp(24px, 3.6vw, 34px); color: var(--navy-dark); }
.section-heading.on-navy h2 { color: var(--white); }

.eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red) !important;
}

/* About */
.about-section { padding: clamp(44px, 7vw, 84px) clamp(18px, 4vw, 54px); }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: start;
  max-width: 1080px;
  margin: 34px auto 0;
}

.about-photo { margin: 0; }
.about-photo img { border-radius: 12px; box-shadow: 0 14px 30px rgba(12, 24, 56, .18); }
.about-photo figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); text-align: center; }

.about-copy p { margin: 0 0 16px; font-size: 16.5px; line-height: 1.7; color: #2c3648; }

.fact-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.fact-chips li {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--soft);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-dark);
}

/* Promise */
.promise-section {
  padding: clamp(44px, 7vw, 84px) clamp(18px, 4vw, 54px);
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-dark) 85%);
  color: var(--white);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  max-width: 1080px;
  margin: 34px auto 0;
}

.promise-grid article {
  border: 1px solid rgba(255, 255, 255, .16);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 22px 20px;
  background: rgba(255, 255, 255, .05);
}

.promise-grid span { font-size: 14px; font-weight: 900; color: #ffb3bc; letter-spacing: .1em; }
.promise-grid p { margin: 10px 0 0; font-size: 16.5px; font-weight: 700; line-height: 1.5; }

/* Experience */
.experience-section { padding: clamp(44px, 7vw, 84px) clamp(18px, 4vw, 54px); background: var(--soft); }

.experience-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 12px 22px;
  max-width: 1040px;
  margin: 34px auto 0;
  padding: 0;
  list-style: none;
}

.experience-list li {
  position: relative;
  padding: 14px 16px 14px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 15.5px;
  font-weight: 600;
  color: #2c3648;
  line-height: 1.5;
}

.experience-list li::before {
  content: "★";
  position: absolute;
  left: 14px;
  top: 13px;
  color: var(--red);
  font-size: 15px;
}

/* Vote */
.vote-section {
  padding: clamp(44px, 7vw, 84px) clamp(18px, 4vw, 54px);
  background: linear-gradient(165deg, var(--navy-dark) 0%, var(--navy) 90%);
  color: var(--white);
}

.vote-section .section-heading > p:not(.eyebrow) { color: #dbe3f5; font-size: 17px; }
.vote-section strong { color: #ffd7dc; }

.vote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  max-width: 1080px;
  margin: 34px auto 0;
}

.vote-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(255, 255, 255, .06);
  transition: background .15s ease;
}

.vote-card:hover { background: rgba(255, 255, 255, .12); }
.vote-card h3 { margin: 0; font-size: 17.5px; }
.vote-card p { margin: 0; font-size: 14.5px; color: #ccd6ee; line-height: 1.5; }
.vote-card-cta { margin-top: auto; font-size: 14px; font-weight: 800; color: #ffb3bc; }

/* Get involved */
.involved-section { padding: clamp(44px, 7vw, 84px) clamp(18px, 4vw, 54px); }

/* Yard-sign showcase — the campaign's own printed artwork, shown at real
   proportions so "request a sign" is concrete rather than abstract. */
.sign-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(22px, 4vw, 44px);
  max-width: 1080px;
  margin: 34px auto 0;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.sign-figure { margin: 0; }
.sign-figure img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(7, 39, 68, .22);
}

.sign-copy h3 { margin: 0 0 10px; font-size: clamp(19px, 2.4vw, 24px); color: var(--navy-dark); }
.sign-copy p { margin: 0 0 18px; color: #2c3648; font-size: 15.5px; line-height: 1.6; }

.button.outline-navy {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--white);
}
.button.outline-navy:hover { background: var(--navy); color: var(--white); }

.involved-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  max-width: 1040px;
  margin: 34px auto 0;
}

.involved-grid article {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(12, 24, 56, .06);
  text-align: center;
  align-items: center;
}

.involved-grid h3 { margin: 0; color: var(--navy-dark); font-size: 18px; }
.involved-grid p { margin: 0 0 6px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.involved-grid .button { margin-top: auto; }

/* Contact */
.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
}

.contact-band h2 { margin: 8px 0 10px; font-size: clamp(24px, 3.4vw, 32px); color: var(--navy-dark); }
.contact-band > div > p:not(.eyebrow) { color: var(--muted); margin: 0; }

.contact-list { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.contact-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  background: var(--soft);
}
.contact-list span { min-width: 82px; font-size: 12.5px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list a { font-weight: 800; color: var(--navy-dark); word-break: break-word; }
.contact-list a:hover { color: var(--red); }

/* Footer */
.site-footer {
  padding: 26px clamp(18px, 4vw, 54px) 34px;
  background: var(--navy-dark);
  color: #b9c4dd;
  text-align: center;
}

.paid-for { margin: 0; font-size: 13.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.footer-links { margin: 10px 0 0; font-size: 12.5px; color: #7f8cab; }
.footer-links a { color: #b9c4dd; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-photo img { width: min(68vw, 330px); }
  .sign-band { grid-template-columns: 1fr; text-align: center; }
  .sign-copy .button { margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; margin: 0 auto; }
  .contact-band { grid-template-columns: 1fr; text-align: center; }
  .contact-list span { min-width: 0; }
  .contact-list li { justify-content: center; }
}

@media (max-width: 760px) {
  .menu-button { display: inline-block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 18px 16px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(12, 24, 56, .12);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-action { margin-top: 12px; text-align: center; border-radius: var(--radius); }
  .dates-band { flex-direction: column; gap: 14px; }
}
