:root {
  --navy: #1B2A52;
  --red: #C8202B;
  --red-dark: #9C161F;
  --gold: #B8860B;
  --white: #FFFFFF;
  --offwhite: #FAFAF8;
  --paper: #F3F1EA;
  --ink: #1A1A1A;
  --ink-soft: #555555;
  --line: #DDDAD0;

  --display: 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: 'Source Serif 4', Georgia, serif;

  --max: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red);
}

/* ---------- Skip link / focus ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- Header / nav ---------- */
header.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  position: relative;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 600;
}
.nav-links a {
  color: var(--ink);
  opacity: 0.75;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, opacity 0.2s;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; border-color: var(--red); color: var(--red); }

.nav-toggle { display: none; background: none; border: none; color: var(--navy); font-size: 1.6rem; cursor: pointer; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
  }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--offwhite);
  padding: 56px 0 48px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 52px;
  align-items: center;
}
.hero-copy h1 {
  font-family: var(--display);
  text-transform: none;
  color: var(--navy);
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1.18;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero-copy h1 .names { color: var(--red); }
.hero-copy h1 .tagline { color: var(--navy); }
.hero-copy p.lede {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 15px 28px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { border: 2px solid var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-gold { background: var(--navy); color: var(--white); }
.btn-gold:hover { background: var(--red); }

/* Ticket photos - flat, side by side, light frame */
.ticket-seal { width: 100%; margin-bottom: 8px; }
.seal-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}
.seal-photos img { height: 100%; object-fit: cover; aspect-ratio: 3/4; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
}

/* ---------- Stripe banner (record/dates) ---------- */
.stripe {
  background: var(--navy);
  color: var(--white);
  padding: 16px 0;
}
.stripe .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  text-align: center;
}
.stripe-text {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.stripe .divider { color: #E8C76B; }

/* ---------- Countdown strip ---------- */
.countdown {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.countdown .wrap {
  display: flex;
  flex-wrap: wrap;
}
.count-item {
  flex: 1;
  min-width: 220px;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 16px;
}
.count-item:last-child { border-right: none; }
.count-num {
  font-family: var(--display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.count-label {
  font-family: var(--display);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-soft);
}
.count-label strong { display: block; color: var(--ink); font-size: 0.95rem; letter-spacing: 0; font-family: var(--body); font-weight: 600; margin-top: 2px;}

/* ---------- Section shells ---------- */
section { padding: 80px 0; }
.section-head { max-width: 700px; margin-bottom: 48px; }
.section-head .eyebrow { display: block; margin-bottom: 10px; }
.section-head h2 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  color: var(--navy);
  line-height: 1.12;
  font-weight: 700;
}
.section-head h2.endorse-head {
  font-size: clamp(2.1rem, 3.8vw, 3.1rem);
}
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 1.05rem; font-family: var(--serif); max-width: 600px; }

.bg-paper { background: var(--paper); }

/* ---------- Candidate blocks ---------- */
.cand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.cand-card {
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 150px 1fr;
  background: var(--white);
}
.cand-photo { aspect-ratio: 3/4; overflow: hidden; border-right: 1px solid var(--line); }
.cand-photo img { width: 100%; height: 100%; object-fit: cover; }
.cand-body { padding: 26px 28px 30px; }
.cand-body h3 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 1.6rem;
  color: var(--red);
  margin: 0 0 4px;
  font-weight: 700;
}
.cand-body .role { font-family: var(--display); font-size: 0.76rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; font-weight: 600; }
.cand-body p.bio { font-family: var(--serif); color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 0; }
.cand-link { font-family: var(--display); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--red); border-bottom: 2px solid var(--red); padding-bottom: 2px; font-weight: 600; }

@media (max-width: 760px) {
  .cand-grid { grid-template-columns: 1fr; }
  .cand-card { grid-template-columns: 100px 1fr; }
}

/* ---------- Mini commitment list ---------- */
.mini-commit {
  list-style: none;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.mini-commit li {
  font-family: var(--body);
  font-size: 0.9rem;
  color: var(--ink);
  padding: 6px 0;
  padding-left: 22px;
  position: relative;
}
.mini-commit li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.mini-commit-top {
  margin-top: 4px;
  padding-top: 0;
  border-top: none;
  margin-bottom: 18px;
}
.mini-commit-top li {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  padding: 9px 0;
  padding-left: 30px;
  border-bottom: 1px solid var(--line);
}
.mini-commit-top li:last-child { border-bottom: none; }
.mini-commit-top li::before {
  content: "\2713";
  font-size: 1.05rem;
  color: var(--red);
  font-weight: 700;
  top: 9px;
}

/* ---------- Issues ---------- */
.issue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.issue-card {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.issue-icon {
  width: 40px;
  height: 40px;
  color: var(--red);
  margin-bottom: 16px;
}
.issue-card h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.1rem; color: var(--navy); margin-bottom: 10px; font-weight: 700; }
.issue-card p { font-family: var(--serif); color: var(--ink-soft); font-size: 0.96rem; }

@media (max-width: 900px) {
  .issue-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .issue-grid { grid-template-columns: 1fr; }
}

/* ---------- Endorsement logo strip ---------- */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--white);
  margin-bottom: 48px;
}
.logo-tile {
  flex: 1;
  min-width: 150px;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
}
.logo-tile:last-child { border-right: none; }
.logo-tile img { max-height: 68px; width: auto; }

@media (max-width: 760px) {
  .logo-tile { min-width: 50%; border-bottom: 1px solid var(--line); }
}

/* ---------- Endorsement text lists ---------- */
.endorse-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.endorse-col h4 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
  font-weight: 700;
}
.endorse-list { list-style: none; }
.endorse-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 0.98rem;
  color: var(--ink);
}
.endorse-list li:first-child { border-top: none; }
.endorse-list li strong { color: var(--navy); }

@media (max-width: 760px) {
  .endorse-cols { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- District / map section ---------- */
.district-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.fact-list { margin-top: 16px; }
.fact-list dt {
  font-family: var(--display);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-top: 16px;
  font-weight: 600;
}
.fact-list dd { font-family: var(--display); font-size: 1.15rem; color: var(--navy); font-weight: 700; }
.locator-card {
  border: 1px solid var(--line);
  background: var(--white);
}
.locator-map-link {
  display: block;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--ink);
}
.locator-map-link img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s;
}
.locator-map-link:hover img { transform: scale(1.03); }
.locator-body { padding: 26px 28px 30px; }
.locator-card h3 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 10px;
}
.locator-card p {
  font-family: var(--serif);
  color: var(--ink-soft);
  font-size: 0.96rem;
  margin-bottom: 22px;
}
.locator-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.locator-actions .btn { text-align: center; }

@media (max-width: 800px) {
  .district-wrap { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.72);
  padding: 26px 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-family: var(--display);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-links a { color: rgba(255,255,255,0.78); }
.footer-links a:hover { color: var(--white); }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 16px;
  font-size: 0.76rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
