:root {
  --navy: #00204b;
  --navy-deep: #001436;
  --azure: #0093b5;
  --azure-soft: #e3f2f6;
  --gold: #f6c604;
  --sand: #f6f4ee;
  --ink: #15212e;
  --line: rgba(0, 32, 75, 0.14);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
}
h1, h2, h3 {
  font-family: 'League Spartan', 'DM Sans', sans-serif;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
a { color: var(--azure); }
img { display: block; max-width: 100%; }
.wrap { width: min(1000px, 92vw); margin: 0 auto; }

/* Top navigation */
.topnav {
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  position: sticky;
  top: 0;
  z-index: 50;
}
.topnav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  flex-wrap: wrap;
  padding: 0.5rem 0;
}
.topnav .brand {
  font-family: 'League Spartan', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
}
.topnav .brand span { color: var(--gold); }
.topnav ul {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  flex-wrap: wrap;
}
.topnav ul a {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-family: 'League Spartan', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.topnav ul a:hover { color: #fff; background: rgba(255,255,255,0.10); }
.topnav ul a.active { color: var(--navy); background: var(--gold); }
.topnav ul a.nav-donate { border: 1px solid var(--gold); color: var(--gold); }
.topnav ul a.nav-donate:hover { background: var(--gold); color: var(--navy); }
.topnav ul a.nav-donate.active { background: var(--gold); color: var(--navy); }

/* Header / Hero */
header.hero {
  background:
    linear-gradient(180deg, rgba(0,20,54,0.86), rgba(0,32,75,0.94)),
    radial-gradient(circle at 18% 18%, #0093b5, transparent 58%),
    var(--navy-deep);
  color: #fff;
  padding: 3rem 0 4.5rem;
  text-align: center;
}
.logo-mark {
  width: min(420px, 78vw);
  margin: 0.5rem auto 2rem;
  background: #fff;
  border-radius: 14px;
  padding: 1.1rem 1.4rem;
  box-shadow: 0 18px 44px rgba(0,0,0,0.32);
}
.office {
  font-family: 'League Spartan', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: clamp(0.82rem, 2vw, 1.05rem);
  font-weight: 600;
  color: var(--gold);
}
.slogan {
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 500;
  margin-top: 1.5rem;
  color: #fff;
}
.slogan small {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 0.55rem;
  font-weight: 400;
}
.cta-row { margin-top: 2.25rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary { background: var(--gold); color: var(--navy); box-shadow: 0 10px 24px rgba(246,198,4,0.35); }
.btn-ghost { background: rgba(255,255,255,0.10); color: #fff; border: 1px solid rgba(255,255,255,0.5); }
.btn:hover { transform: translateY(-2px); }

.vote-banner {
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--azure);
  color: #fff;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-family: 'League Spartan', sans-serif;
  letter-spacing: 0.04em;
}
.vote-banner span { font-size: 1.3rem; line-height: 1; }

/* Page header (interior pages) */
header.page-hero {
  background:
    linear-gradient(180deg, rgba(0,20,54,0.86), rgba(0,32,75,0.94)),
    radial-gradient(circle at 18% 18%, #0093b5, transparent 58%),
    var(--navy-deep);
  color: #fff;
  padding: 3.5rem 0 3.75rem;
  text-align: center;
}
header.page-hero .eyebrow { color: var(--gold); }
header.page-hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.2rem);
  font-weight: 800;
}
header.page-hero p.sub {
  margin: 1rem auto 0;
  max-width: 56ch;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
}

/* Sections */
section { padding: 4.75rem 0; }
section h2 {
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 1.25rem;
}
section h3 { color: var(--navy); font-weight: 700; }
section p { font-size: 1.08rem; max-width: 64ch; }
.lead { font-size: 1.22rem; color: var(--navy); font-weight: 500; }
.eyebrow {
  font-family: 'League Spartan', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--azure);
  margin-bottom: 0.6rem;
}
.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tinted { background: var(--azure-soft); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.about-grid img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  box-shadow: 0 18px 40px rgba(0,32,75,0.18);
}
.about-grid p + p { margin-top: 1rem; }
.prose p + p { margin-top: 1rem; }
.prose ul { margin: 1rem 0 0 1.25rem; }
.prose ul li { margin-bottom: 0.5rem; font-size: 1.05rem; }

/* Priorities */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.75rem;
  border-top: 4px solid var(--gold);
}
.card h3 { font-size: 1.18rem; color: var(--navy); margin-bottom: 0.4rem; font-weight: 700; }
.card p { font-size: 0.98rem; }
.card a.more {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}
.section-cta { margin-top: 2.25rem; }

/* Pledges / Where I Stand */
.pledges { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.pledge {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--azure);
  border-radius: 14px;
  padding: 1.6rem 1.75rem;
}
.pledge h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.pledge p { font-size: 0.98rem; }
.endorse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}
.endorse-grid figure {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-align: center;
}
.endorse-grid img {
  height: 110px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.endorse-grid figcaption {
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  line-height: 1.3;
}

/* Photo galleries */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
}
.photo-grid figure { position: relative; overflow: hidden; border-radius: 14px; }
.photo-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}
.photo-grid figure.tall img { height: 100%; min-height: 300px; }
.photo-grid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1rem 0.85rem;
  color: #fff;
  font-family: 'League Spartan', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, transparent, rgba(0,20,54,0.82));
}

.endorse-note {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 2px dashed var(--line);
  border-radius: 14px;
  text-align: center;
  color: rgba(0,32,75,0.55);
  font-family: 'League Spartan', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* Story band */
.story { padding: 0; }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.story-grid figure { position: relative; }
.story-grid img { width: 100%; height: 340px; object-fit: cover; }
.story-grid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.5rem 1.25rem 1.1rem;
  color: #fff;
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, transparent, rgba(0,20,54,0.85));
}

/* Issues page */
.issue { scroll-margin-top: 5rem; }
.issue .tagline {
  font-size: 1.25rem;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 1.5rem;
  max-width: 58ch;
}
.issue h3 { font-size: 1.25rem; margin: 2rem 0 0.5rem; }
.issue-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1.75rem;
}
.issue-nav a {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  text-decoration: none;
  font-family: 'League Spartan', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.issue-nav a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* Resume / service lists */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 1.5rem; }
.role-list { list-style: none; margin-top: 1rem; }
.role-list li {
  padding: 0.7rem 0 0.7rem 1.1rem;
  border-left: 3px solid var(--gold);
  margin-bottom: 0.6rem;
  font-size: 1rem;
  background: #fff;
  border-radius: 0 10px 10px 0;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-right: 1rem;
}

/* Donate */
.donate { background: var(--navy); color: #fff; text-align: center; }
.donate h2 { color: #fff; }
.donate p { margin: 0 auto 2rem; color: rgba(255,255,255,0.85); }
.venmo-card {
  background: #fff;
  border-radius: 18px;
  padding: 2.25rem 2rem;
  max-width: 420px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  color: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.venmo-card img {
  width: min(220px, 60vw);
  height: auto;
  border-radius: 10px;
}
.venmo-card .scan {
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--azure);
}
.donate .venmo-card .venmo-note {
  color: rgba(0,32,75,0.75);
  font-size: 0.92rem;
  margin: 0;
  max-width: none;
}
.btn-venmo {
  background: #008cff;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0,140,255,0.4);
}
.btn-actblue {
  background: #2068b1;
  color: #fff;
  box-shadow: 0 10px 24px rgba(32,104,177,0.4);
}
.donate-or {
  color: rgba(255,255,255,0.7);
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin: 1.5rem 0 1rem;
}
.actblue-note {
  color: rgba(255,255,255,0.85);
  margin: 0 auto 1rem;
  max-width: 36rem;
}
.venmo-handle {
  font-size: 0.95rem;
  color: rgba(0,32,75,0.65);
  letter-spacing: 0.04em;
  font-weight: 700;
}

/* Get involved */
.join-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 2rem; }

/* Volunteer form */
.vform { max-width: 640px; margin: 0 auto; text-align: left; display: grid; gap: 1.4rem; }
.vform label.field-label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.vform input[type="text"], .vform input[type="tel"], .vform input[type="email"] {
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--ink);
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.vform input:focus { outline: 2px solid var(--azure); outline-offset: 1px; }
.opps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.75rem; }
.opp {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.98rem;
  cursor: pointer;
}
.opp input { margin-top: 0.25rem; flex-shrink: 0; }
.vform .btn-primary { border: 0; cursor: pointer; justify-self: start; }
.hp { position: absolute; left: -9999px; }

/* Connect */
.connect { text-align: center; background: var(--azure-soft); }
.connect h2 { color: var(--navy); }
.contact-row {
  margin-top: 1.75rem;
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 1.1rem;
}
.contact-row a { font-weight: 700; color: var(--navy); text-decoration: none; }
.contact-row a:hover { color: var(--azure); }

footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 2.5rem 0;
  font-size: 0.85rem;
}
footer p { max-width: 60ch; margin: 0.4rem auto; }
footer nav { margin-bottom: 1rem; display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; }
footer nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-family: 'League Spartan', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
footer nav a:hover { color: var(--gold); }

@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-grid img { aspect-ratio: 4 / 3; }
  .story-grid { grid-template-columns: 1fr; }
  .story-grid img { height: 260px; }
  .two-col { grid-template-columns: 1fr; gap: 1.5rem; }
  .topnav .wrap { justify-content: center; }
}
