:root {
  --navy: #17365d;
  --blue: #2f6fa7;
  --light-blue: #eaf3fb;
  --red: #b94343;
  --gold: #c89f45;
  --ink: #1d2733;
  --muted: #5f6b7a;
  --line: #d9e2ec;
  --bg: #f7f9fb;
  --white: #ffffff;
  --shadow: 0 12px 30px rgba(18, 38, 63, 0.10);
  --radius: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--navy);
  color: var(--white);
  padding: 8px 12px;
  z-index: 999;
}
.skip-link:focus { left: 8px; }

.site-header {
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
}
.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.logo {
  display: flex;
  flex-direction: column;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-decoration: none;
}
.logo span { font-size: 0.78rem; font-weight: 650; color: var(--muted); letter-spacing: 0; }
.site-nav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-nav a { color: var(--ink); font-weight: 650; font-size: 0.94rem; }
.site-nav a:hover, .site-nav a.active { color: var(--blue); }
.mobile-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  padding: 8px 10px;
  font-weight: 700;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--navy);
  color: var(--white) !important;
  font-weight: 800;
  border: 0;
  box-shadow: 0 6px 16px rgba(23,54,93,0.18);
  cursor: pointer;
  text-decoration: none !important;
}
.button.secondary { background: var(--blue); }
.button.light { background: var(--white); color: var(--navy) !important; border: 1px solid var(--line); box-shadow: none; }
.button.donate { background: var(--red); }
.button:hover { transform: translateY(-1px); }

.hero {
  background: linear-gradient(135deg, rgba(23,54,93,0.98), rgba(47,111,167,0.92)), url('images/campaign-bg.svg');
  color: var(--white);
  padding: 72px 22px 66px;
}
.hero-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr); gap: 34px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-weight: 800; font-size: 0.82rem; color: var(--gold); margin: 0 0 10px; }
.hero h1 { font-size: clamp(2.25rem, 5.4vw, 4.6rem); line-height: 1; margin: 0 0 16px; letter-spacing: -0.05em; }
.hero .tagline { font-size: clamp(1.25rem, 2.8vw, 2rem); font-weight: 800; line-height: 1.2; margin: 0 0 16px; }
.hero p { font-size: 1.12rem; max-width: 760px; color: rgba(255,255,255,0.92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-card {
  background: rgba(255,255,255,0.11);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius);
  padding: 24px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.hero-card strong { display: block; font-size: 1.2rem; margin-bottom: 8px; }
.hero-card p { font-size: 0.98rem; margin: 0; line-height: 1.45; }

.district-card p { margin: 8px 0 0; }
.district-card span { display: inline-block; min-width: 92px; font-weight: 800; color: rgba(255,255,255,0.95); }
@media (max-width: 620px) {
  .district-card span { display: block; min-width: 0; margin-bottom: 2px; }
}


main { min-height: 65vh; }
.section { padding: 64px 22px; }
.section.alt { background: var(--white); }
.container { max-width: var(--max); margin: 0 auto; }
.narrow { max-width: 820px; }
.page-title { background: var(--navy); color: var(--white); padding: 54px 22px; }
.page-title .container { max-width: var(--max); }
.page-title h1 { margin: 0 0 10px; font-size: clamp(2.1rem, 5vw, 3.8rem); line-height: 1.05; letter-spacing: -0.04em; }
.page-title p { margin: 0; font-size: 1.15rem; color: rgba(255,255,255,0.9); max-width: 850px; }

h2 { color: var(--navy); font-size: clamp(1.65rem, 3.2vw, 2.55rem); line-height: 1.12; margin: 0 0 18px; letter-spacing: -0.03em; }
h3 { color: var(--navy); margin-top: 0; font-size: 1.25rem; }
p { margin-top: 0; }
.lead { font-size: 1.18rem; color: var(--ink); }
.muted { color: var(--muted); }

.grid { display: grid; gap: 22px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card.no-shadow { box-shadow: none; }
.card h3 a { color: var(--navy); }
.callout {
  background: var(--light-blue);
  border-left: 6px solid var(--blue);
  border-radius: 14px;
  padding: 24px;
  margin: 28px 0;
}
.quote {
  font-size: 1.45rem;
  line-height: 1.25;
  font-weight: 800;
  color: var(--navy);
}
.issue-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.issue-list li { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.check-list { padding-left: 1.2rem; }
.check-list li { margin-bottom: 8px; }
.check-list.compact li { margin-bottom: 6px; }
.link-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.link-grid a { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 18px; color: var(--navy); font-weight: 800; box-shadow: var(--shadow); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
label { font-weight: 750; color: var(--navy); }
input, select, textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 13px;
  font: inherit;
  background: var(--white);
}
textarea { min-height: 140px; resize: vertical; }

.donate-panel {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.donate-panel h2 { color: var(--white); }
.donate-panel p { color: rgba(255,255,255,0.9); }
.amounts { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.amounts a { background: rgba(255,255,255,0.14); color: var(--white); border: 1px solid rgba(255,255,255,0.3); border-radius: 999px; padding: 10px 14px; font-weight: 800; }

.site-footer { background: #111b27; color: rgba(255,255,255,0.86); padding: 38px 22px; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; gap: 28px; }
.site-footer h2, .site-footer h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,0.9); display: block; margin: 6px 0; }
.disclaimer { border-top: 1px solid rgba(255,255,255,0.14); margin-top: 24px; padding-top: 18px; max-width: var(--max); margin-left: auto; margin-right: auto; font-size: 0.9rem; color: rgba(255,255,255,0.75); }

@media (max-width: 980px) {
  .hero-inner, .grid.two, .grid.three, .footer-inner { grid-template-columns: 1fr; }
  .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobile-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 69px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 18px 22px;
    flex-direction: column;
    align-items: flex-start;
  }
  .site-nav.open { display: flex; }
}
@media (max-width: 620px) {
  .section { padding: 44px 18px; }
  .hero { padding: 46px 18px; }
  .hero h1 { font-size: clamp(2rem, 11vw, 3.05rem); letter-spacing: -0.04em; }
  .hero .tagline { font-size: 1.22rem; }
  .hero-card { padding: 18px; }
  .hero-actions .button { width: 100%; }
  .form-grid, .link-grid { grid-template-columns: 1fr; }
  .nav-wrap { padding: 12px 16px; }
}

/* Candidate photo */
.hero-headshot { width: 100%; max-width: 230px; aspect-ratio: 4 / 5; object-fit: contain; object-position: center top; background: rgba(255,255,255,0.92); border-radius: 24px; display: block; margin: 0 auto 20px; border: 4px solid rgba(255,255,255,0.5); box-shadow: var(--shadow); padding: 6px; }
.about-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) 260px; gap: 32px; align-items: center; }
.about-photo { width: 100%; max-width: 240px; aspect-ratio: 4 / 5; object-fit: contain; object-position: center top; background: var(--white); border-radius: 28px; box-shadow: var(--shadow); justify-self: center; padding: 6px; }
@media (max-width: 760px) { .about-intro { grid-template-columns: 1fr; } .about-photo { order: -1; max-width: 210px; } .hero-headshot { max-width: 210px; } }

/* Wider issue card for signature education strategy section */
.wide-card { grid-column: span 2; }
@media (max-width: 800px) { .wide-card { grid-column: span 1; } }

.qr-code {
  display: block;
  width: min(240px, 100%);
  margin: 18px auto 20px;
  border-radius: 16px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
