/* =========================================================
   Nancy Bostock for School Board — 2026  (v1 DRAFT)
   Built from the Bilirakis CD12 site framework.
   Palette per website outline: deep navy headers/footers,
   campaign red CTAs/accents, white/off-white backgrounds.
   ========================================================= */

:root {
  --navy:        #0E2A52;
  --navy-dark:   #081D3B;
  --navy-deep:   #06152B;
  --red:         #C8102E;
  --red-dark:    #9C0C24;
  --gold:        #F5C547;
  --offwhite:    #F8F7F3;
  --bone:        #FCFBF7;
  --ink:         #14213D;
  --slate:       #4A5468;
  --rule:        #DAD5C8;
  --shadow:      0 8px 24px rgba(8,29,59,.10);
  --shadow-lg:   0 20px 50px rgba(8,29,59,.20);
  --max:         1200px;
  --gutter:      clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }

/* ---------- Typography ---------- */

h1, h2, h3, h4, .display {
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, 'Times New Roman', serif;
  color: var(--navy);
  letter-spacing: -0.01em;
}

h1, .display {
  font-weight: 800;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  margin: 0 0 0.4em;
}

h2 {
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h3 {
  font-weight: 700;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

.lede {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--slate);
}

/* ---------- Layout primitives ---------- */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

section { padding: clamp(60px, 8vw, 110px) 0; }

.section-navy  { background: var(--navy); color: #fff; }
.section-navy h1, .section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .lede { color: rgba(255,255,255,.85); }

.section-offwhite { background: var(--offwhite); }

/* plain white with a faint dot grid */
.bg-pattern {
  background-color: #fff;
  background-image: radial-gradient(rgba(14,42,82,.05) 1px, transparent 1px);
  background-size: 22px 22px;
}
.section-bone     { background: var(--bone); }
.section-white    { background: #fff; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand-logo { display: block; height: 72px; width: auto; }

@media (max-width: 720px) { .brand-logo { height: 56px; } }

.nav { display: flex; align-items: center; gap: 22px; }

.nav a {
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.nav a:hover { color: var(--red); }
.nav a.is-active { color: var(--red); }

/* Donate button in the nav: keep label white at all times (overrides .nav a color) */
.nav a.btn-navy,
.nav a.btn-navy:hover,
.nav a.btn-navy.is-active { color: #fff; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border .2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-red  { background: var(--red);  color: #fff; border-color: var(--red); }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }

.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-dark); color: #fff; }

.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }

.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }

.btn-white { background: #fff; color: var(--red); border-color: #fff; }
.btn-white:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Hero (photo background, centered logo) ---------- */

.hero-photo {
  position: relative;
  min-height: clamp(480px, 70vh, 720px);
  display: flex;
  align-items: center;
  justify-content: flex-end; /* content right so Nancy (left of frame) stays visible */
  text-align: center;
  background-size: cover;
  background-position: left 30%;
  background-color: var(--navy);
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  /* lighter wash overall; slightly heavier on the right behind the content */
  background: linear-gradient(90deg, rgba(8,29,59,.08) 0%, rgba(8,29,59,.18) 55%, rgba(8,29,59,.42) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(48px, 8vw, 96px) var(--gutter);
  max-width: 720px;
  margin-right: clamp(0px, 8vw, 150px);
}

@media (max-width: 860px) {
  .hero-photo { justify-content: center; background-position: center 30%; }
  .hero-photo::before { background: linear-gradient(180deg, rgba(8,29,59,.25) 0%, rgba(8,29,59,.18) 45%, rgba(8,29,59,.45) 100%); }
  .hero-inner { margin-right: 0; }
}

.hero-logo-card {
  z-index: 2;
  background: rgba(255,255,255,.96);
  display: inline-block;
  padding: clamp(10px, 1.2vw, 18px);  /* slim white border */
  margin: 0 auto clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow-lg);
}

.hero-logo-card img,
.hero-logo { width: clamp(230px, 26vw, 340px); height: auto; display: block; margin: 0 auto; }

@media (max-width: 860px) {
  .hero-logo-card { padding: 8px; margin-bottom: 22px; }
  .hero-logo-card img,
  .hero-logo { width: clamp(180px, 50vw, 260px); }
}

.hero-subhead {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 800;
  font-style: italic;
  color: #fff;
  font-size: clamp(32px, 4.6vw, 58px);
  margin: 0 0 32px;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.hero-actions .btn { font-size: clamp(15px, 1.3vw, 19px); padding: clamp(14px, 1.5vw, 20px) clamp(26px, 3vw, 42px); }

/* ---------- Email signup strip ---------- */

.signup-strip {
  background: var(--navy);
  color: #fff;
  padding: 26px 0;
}

.signup-strip .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.signup-strip h3 {
  color: #fff;
  font-size: clamp(20px, 2.2vw, 26px);
  margin: 0;
  white-space: nowrap;
}

.signup-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.signup-form input[type=text],
.signup-form input[type=email] {
  width: auto;
  flex: 1 1 200px;
  padding: 13px 16px;
  border: 0;
  border-radius: 2px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}

.signup-form input::placeholder { color: var(--slate); }

.signup-form button {
  flex: 0 0 auto;
  background: var(--red);
  color: #fff;
  border: 0;
  padding: 13px 26px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  font-family: inherit;
}

.signup-form button:hover { background: var(--red-dark); }

@media (max-width: 760px) {
  .signup-strip .wrap { flex-direction: column; gap: 14px; }
  .signup-strip h3 { white-space: normal; text-align: center; }
}

/* ---------- Endorsement banner ---------- */

.endorsement-bar {
  background: var(--red);
  color: #fff;
  padding: 14px 0;
  border-top: 2px solid #fff;
  border-bottom: 4px solid var(--navy);
}

.endorsement-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  text-align: center;
}

.endorsement-bar .endorser-headshot {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 15%; /* portrait source — keep her whole head in the circle */
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  flex-shrink: 0;
}

.endorsement-bar .endorsement-copy { text-align: center; }

.endorsement-bar .see-all {
  display: inline-block;
  margin-top: 6px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.endorsement-bar .see-all:hover { color: var(--navy); }

.endorsement-bar .endorsement-text {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 800;
  font-size: clamp(16px, 2vw, 24px);
  letter-spacing: .03em;
  color: #fff;
  margin: 0;
  line-height: 1.25;
}

.endorsement-bar a { color: #fff; }
.endorsement-bar a:hover { color: var(--gold); }

/* ---------- Two-column blocks ---------- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.two-col img { box-shadow: var(--shadow-lg); }

.two-col.reverse { grid-template-columns: 1.05fr 1fr; }
.two-col.reverse > :first-child { order: 2; }

/* Stack into a single column on mobile so photos stay large and text is readable */
@media (max-width: 760px) {
  .two-col,
  .two-col.reverse { grid-template-columns: 1fr; gap: 24px; }
  .two-col.reverse > :first-child { order: 0; }
  .two-col img { width: 100%; display: block; }
}

/* ---------- Stat band (chalkboard) ---------- */

.stat-band {
  /* slate-green chalkboard with faint chalk-dust smudges */
  background-color: #2E4A3E;
  background-image:
    radial-gradient(ellipse 60% 40% at 18% 25%, rgba(255,255,255,.045), transparent 70%),
    radial-gradient(ellipse 50% 45% at 75% 70%, rgba(255,255,255,.05), transparent 70%),
    radial-gradient(ellipse 40% 30% at 50% 10%, rgba(255,255,255,.03), transparent 70%),
    linear-gradient(180deg, #324F42 0%, #2A453A 55%, #253E34 100%);
  color: #F4F2E9;
  padding: clamp(36px, 5vw, 56px) 0;
  /* wooden chalkboard frame */
  border-top: 10px solid #8A5A33;
  border-bottom: 10px solid #8A5A33;
  box-shadow: inset 0 0 60px rgba(0,0,0,.35);
}

.stat-band .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.stat-band .num {
  font-family: 'Cabin Sketch', 'Comic Sans MS', cursive;
  font-weight: 700;
  font-size: clamp(48px, 5.6vw, 72px);
  line-height: 1;
  color: #FBFAF3;
  display: block;
  margin-bottom: 10px;
  text-shadow: 0 0 8px rgba(255,255,255,.22);
}

.stat-band .num::after {
  /* hand-drawn chalk underline */
  content: "";
  display: block;
  width: 72px;
  margin: 10px auto 0;
  border-bottom: 3px dashed rgba(244,242,233,.55);
  transform: rotate(-1.2deg);
}

.stat-band .label {
  font-family: 'Schoolbell', 'Comic Sans MS', cursive;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: .03em;
  text-transform: none;
  color: rgba(244,242,233,.92);
  text-shadow: 0 0 6px rgba(255,255,255,.15);
}

@media (max-width: 900px) { .stat-band .wrap { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 520px) { .stat-band .wrap { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Vision grid (1 x 5) ---------- */

.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 6 issues — two rows of three */
  gap: 16px;
}

.vision-card {
  background: #fff;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
  padding: 24px 18px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .15s ease;
}

.vision-card:hover { transform: translateY(-3px); }
.vision-card.is-static { cursor: default; }
.vision-card.is-static:hover { transform: none; }

.vision-card .icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 14px;
}

.vision-card h3 { font-size: 17px; line-height: 1.25; margin: 0; color: var(--navy); }

.vision-card a { color: inherit; }

@media (max-width: 1000px) { .vision-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .vision-grid { grid-template-columns: 1fr 1fr; } }

.vision-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.vision-photos img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }

@media (max-width: 640px) {
  .vision-photos { grid-template-columns: 1fr; }
  /* preserve the original mobile photo order: classroom, whiteboard, handshake */
  .vision-photos img:nth-child(1) { order: 3; } /* handshake */
  .vision-photos img:nth-child(2) { order: 1; } /* helping-students */
  .vision-photos img:nth-child(3) { order: 2; } /* whiteboard */
}

/* ---------- News ---------- */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; } }

.news-card {
  background: var(--navy);
  border: none;
  padding: 26px 26px 28px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

.news-card .date {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: 14px;
}

.news-card h3 { font-size: 20px; margin-bottom: 6px; color: #fff; }
.news-card p { font-size: 15px; color: rgba(255,255,255,.88); flex: 1; }

.news-card .more {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 10px 18px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .03em;
  text-transform: uppercase;
  border-radius: 2px;
  margin-top: 14px;
  transition: background .2s ease, transform .15s ease;
}

.news-card .more:hover { background: var(--red-dark); color: #fff; transform: translateY(-1px); }

/* ---------- Endorsement carousel (photo background) ---------- */

.quote-photo-section {
  position: relative;
  background-size: cover;
  background-position: center 35%;
}

.quote-photo-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(248,247,243,.86); /* light wash so navy text stays readable */
}

.quote-photo-section .wrap { position: relative; z-index: 1; }

/* ---------- Endorsement carousel ---------- */

.quote-carousel {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  min-height: 240px;
}

.quote-slide { display: none; }
.quote-slide.is-active { display: block; animation: fadeIn .5s ease; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.quote-slide blockquote {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  line-height: 1.45;
  color: var(--navy);
  margin: 0 0 18px;
}

.quote-slide blockquote::before { content: "\201C"; color: var(--red); }
.quote-slide blockquote::after  { content: "\201D"; color: var(--red); }

.quote-slide cite {
  display: block;
  font-style: normal;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
}

.quote-slide cite span { display: block; color: var(--slate); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 14px; }

.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }

.carousel-dots button {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.carousel-dots button.is-active { background: var(--red); border-color: var(--red); }

/* ---------- Support cards ---------- */

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) { .support-grid { grid-template-columns: 1fr; } }

.support-card {
  /* chalkboard treatment to match the stat band */
  background-color: #2E4A3E;
  background-image:
    radial-gradient(ellipse 60% 40% at 22% 28%, rgba(255,255,255,.05), transparent 70%),
    radial-gradient(ellipse 50% 45% at 78% 72%, rgba(255,255,255,.045), transparent 70%),
    linear-gradient(180deg, #324F42 0%, #2A453A 60%, #253E34 100%);
  border: 8px solid #8A5A33; /* wooden frame */
  box-shadow: inset 0 0 50px rgba(0,0,0,.35);
  padding: 32px 28px 34px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.support-card h3 {
  font-family: 'Cabin Sketch', 'Comic Sans MS', cursive;
  font-weight: 700;
  font-size: 30px;
  color: #FBFAF3;
  text-shadow: 0 0 8px rgba(255,255,255,.2);
}

.support-card p {
  font-family: 'Schoolbell', 'Comic Sans MS', cursive;
  color: rgba(244,242,233,.92);
  font-size: 17px;
  line-height: 1.5;
  flex: 1;
  text-shadow: 0 0 6px rgba(255,255,255,.12);
}

/* chalk-outline buttons on the boards; the red Donate stays solid for contrast */
.support-card .btn-navy {
  background: transparent;
  border: 2px dashed rgba(251,250,243,.75);
  color: #FBFAF3;
}

.support-card .btn-navy:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- Socials strip ---------- */

.social-strip { text-align: center; }

.social-icons { display: flex; justify-content: center; gap: 16px; margin: 22px 0 34px; }

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  font-family: 'Source Serif 4', Georgia, serif;
  transition: background .2s ease;
}

.social-icons a:hover { background: var(--red); color: #fff; }

.fb-embed-placeholder {
  max-width: 600px;
  margin: 0 auto;
  border: 2px dashed var(--rule);
  background: #fff;
  padding: 48px 32px;
  color: var(--slate);
  font-size: 14px;
}

/* ---------- Page hero (interior pages) ---------- */

.page-hero {
  background: var(--navy);
  color: #fff;
  padding: clamp(56px, 7vw, 96px) 0;
}

.page-hero h1 { color: #fff; margin-bottom: 8px; }

.page-hero .sub {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: clamp(18px, 2vw, 24px);
  color: #fff;
  margin: 0;
}

/* ---------- Timeline ---------- */

.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }

.timeline li {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}

.timeline li:last-child { border-bottom: 0; }

.timeline .when {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 800;
  color: var(--red);
  font-size: 18px;
}

@media (max-width: 600px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow);
}

@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- Issue cards ---------- */

.issue-stack { display: grid; gap: 28px; }

.issue-card {
  background: #fff;
  border: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.issue-card .issue-img {
  width: 100%;
  min-height: 260px;
  background-size: cover;
  background-position: center;
  background-color: #E8E2D0;
}

.issue-card .issue-body { padding: 32px 36px 36px; position: relative; }

.issue-card h3 {
  font-size: clamp(26px, 2.8vw, 36px);
  margin-bottom: 12px;
}

@media (max-width: 760px) {
  .issue-card { grid-template-columns: 1fr; }
  .issue-card .issue-img { min-height: 200px; aspect-ratio: 16 / 9; }
}

/* ---------- Endorsement grid ---------- */

.endorser-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

@media (max-width: 1000px) { .endorser-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .endorser-grid { grid-template-columns: 1fr; } }

.endorser-card {
  background: #fff;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  text-align: center;
}

.endorser-card .avatar {
  width: 86px; height: 86px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 800;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 3px solid var(--gold);
}

.endorser-card h3 { font-size: 19px; margin-bottom: 4px; }

.endorser-card .title { font-size: 13px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--slate); margin: 0; }

.endorser-quote {
  background: var(--offwhite);
  padding: 26px 30px;
  margin: 0 0 22px;
}

.endorser-quote blockquote {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 10px;
  line-height: 1.5;
}

.endorser-quote cite { font-style: normal; font-weight: 800; font-size: 13px; letter-spacing: .02em; text-transform: uppercase; color: var(--slate); }

/* Featured quotes with a headshot */
.endorser-quote.has-photo {
  display: flex;
  align-items: center;
  gap: 24px;
}
.endorser-quote .quote-headshot {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 28%;
  flex: none;
  box-shadow: 0 3px 10px rgba(8,29,59,.18);
}
.endorser-quote .quote-body { flex: 1; }
.endorser-quote .quote-body blockquote { margin-bottom: 8px; }
@media (max-width: 560px) {
  .endorser-quote.has-photo { flex-direction: column; text-align: center; gap: 14px; }
}

/* ---------- VBM alert ---------- */

.vbm-alert {
  background: var(--red);
  color: #fff;
  padding: 0;
  border-top: 4px solid var(--navy);
  border-bottom: 4px solid var(--navy);
}

.vbm-alert .wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  padding: 0;
  align-items: stretch;
  max-width: 100%;
}

.vbm-alert .image-side { background-size: cover; background-position: center; min-height: 320px; background-color: #1a1a1a; }

.vbm-alert .copy-side {
  padding: clamp(40px, 5vw, 72px) clamp(28px, 4vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vbm-alert .alert-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: #fff;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 20px;
  align-self: flex-start;
}

.vbm-alert h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.1; margin-bottom: 14px; }

.vbm-alert .vbm-lede { color: rgba(255,255,255,.97); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.5; margin-bottom: 24px; font-weight: 500; }

.vbm-alert .btn-white { align-self: flex-start; }

@media (max-width: 760px) {
  .vbm-alert .wrap { grid-template-columns: 1fr; }
  .vbm-alert .image-side { min-height: 220px; }
}

/* ---------- Voter cards / key dates ---------- */

.voter-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

@media (max-width: 760px) { .voter-grid { grid-template-columns: 1fr; } }

.voter-card {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 28px 28px 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.voter-card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--navy);
  color: #fff;
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 14px;
}

.voter-card h3 { font-size: 22px; margin-bottom: 8px; }
.voter-card p { color: var(--slate); font-size: 15px; margin-bottom: 14px; flex: 1; }
.voter-card .actions { display: flex; flex-wrap: wrap; gap: 8px; }

.voter-card .pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: var(--offwhite);
  color: var(--navy);
  border: 1px solid var(--rule);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 2px;
}

.voter-card .pill:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.voter-card .primary { background: var(--red); color: #fff; border-color: var(--red); }
.voter-card .primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }

.key-dates {
  background: var(--offwhite);
  padding: 24px 28px;
  margin-top: 28px;
}

.key-dates h3 { margin-bottom: 8px; }
.key-dates ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }

.key-dates li {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 14px;
  font-size: 15px;
  align-items: baseline;
}

.key-dates li .date {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 800;
  color: var(--red);
  font-size: 16px;
}

@media (max-width: 600px) { .key-dates li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Forms ---------- */

.form-card {
  background: #fff;
  border: 1px solid var(--rule);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-row.one { grid-template-columns: 1fr; }

@media (max-width: 760px) { .form-row { grid-template-columns: 1fr; } }

label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}

input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: var(--bone);
  color: var(--ink);
}

input:focus, select:focus, textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; }

textarea { min-height: 110px; resize: vertical; }

.check-group { display: grid; gap: 10px; }

.check-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  cursor: pointer;
  margin: 0;
}

.check-group input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--red); }

.consent-block { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule); }

.consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  cursor: pointer;
  margin-bottom: 10px;
}

.consent-checkbox input[type="checkbox"] {
  margin: 3px 0 0;
  width: 18px; height: 18px;
  flex-shrink: 0;
  accent-color: var(--red);
  cursor: pointer;
}

.consent-checkbox span { flex: 1; line-height: 1.45; }

.consent-fineprint { font-size: 11px; line-height: 1.55; color: var(--slate); margin: 0; }
.consent-fineprint a { color: var(--red); text-decoration: underline; }

/* Thank-you panel (volunteer page) */

.thanks-panel {
  display: none;
  background: #fff;
  border: 1px solid var(--rule);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow);
  text-align: center;
}

.thanks-panel.is-visible { display: block; }

/* ---------- Donate ---------- */

.donate-card {
  background: #fff;
  border: 1px solid var(--rule);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow);
}

.donate-amts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }

.donate-amt {
  text-align: center;
  padding: 18px 12px;
  border: 2px solid var(--navy);
  background: #fff;
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--navy);
  cursor: pointer;
  transition: all .15s ease;
}

.donate-amt:hover, .donate-amt.is-active { background: var(--navy); color: #fff; }

.embed-note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--slate);
  padding: 14px 16px;
  background: var(--offwhite);
  border-left: 3px solid var(--gold);
}

/* ---------- CTA strip ---------- */

.cta-strip { background: var(--red); color: #fff; text-align: center; }

.cta-strip h2 { color: #fff; margin-bottom: 12px; }
.cta-strip .lede { color: rgba(255,255,255,.92); margin-bottom: 28px; }
.cta-strip .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-strip .btn-ghost-light:hover { background: #fff; color: var(--red); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.82);
  padding: 56px 0 32px;
  font-size: 14px;
}

.site-footer a { color: rgba(255,255,255,.95); }
.site-footer a:hover { color: var(--gold); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.footer-logo { display: block; width: min(240px, 100%); height: auto; margin-bottom: 16px; }

.footer-grid h4 {
  color: #fff;
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: .18em;
  margin-bottom: 16px;
}

.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }

@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-legal-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
  font-size: 13px;
}

.footer-legal-nav a { color: rgba(255,255,255,.95); font-weight: 600; letter-spacing: .04em; }
.footer-legal-nav span { color: rgba(255,255,255,.45); }

.disclaimer-box {
  margin-top: 22px;
  padding: 18px 22px;
  border: 1px solid rgba(255,255,255,.30);
  background: rgba(255,255,255,.06);
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,.85);
  text-align: center;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.disclaimer-box .paid-for {
  display: block;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .04em;
  color: #fff;
  margin-bottom: 8px;
}

/* ---------- Legal pages ---------- */

.legal-body { background: #fff; padding: clamp(48px, 6vw, 90px) 0; }
.legal-body .wrap { max-width: 820px; }
.legal-body h2 { font-size: clamp(22px, 2.2vw, 28px); margin: 36px 0 12px; }
.legal-body h3 { font-size: 18px; margin: 24px 0 10px; color: var(--navy); }
.legal-body p, .legal-body li { font-size: 16px; line-height: 1.65; color: var(--ink); }
.legal-body ul, .legal-body ol { padding-left: 22px; margin: 0 0 18px; }
.legal-body li { margin-bottom: 6px; }
.legal-body .updated { font-size: 13px; color: var(--slate); margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--rule); }

/* ---------- Responsive nav ---------- */

/* hamburger toggle + hidden checkbox (CSS-only menu; no JS) — desktop hidden */
.nav-toggle,
.nav-toggle-cb { display: none; }

@media (max-width: 700px) {
  .site-header .wrap { flex-wrap: wrap; }
  .nav-toggle {
    display: block;
    margin-left: auto;
    font-size: 30px;
    line-height: 1;
    color: var(--navy);
    cursor: pointer;
    user-select: none;
    padding: 2px 6px;
  }
  .nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 6px;
  }
  /* checkbox toggled by the label reveals the menu */
  .nav-toggle-cb:checked ~ .nav { display: flex; }
  .nav a {
    padding: 14px 6px;
    border-top: 1px solid var(--rule, #eaeaea);
    font-size: 15px;
  }
  .nav a.btn { margin-top: 12px; text-align: center; }
}

/* ---------- Endorser headshots (grid) ---------- */

.endorser-card .headshot {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 28%; /* bias crop toward the face for head-and-shoulders shots */
  margin: 0 auto 14px;
  box-shadow: 0 3px 10px rgba(8,29,59,.18);
}

/* ---------- Meet Nancy page additions ---------- */

/* Script-style treatment for the candidate's name in the page hero */
.script-name {
  font-family: 'Yellowtail', cursive;
  font-weight: 400;
  white-space: nowrap;
}

/* Intro row: headshot beside the approved palm-card quote */
.meet-intro {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.meet-portrait {
  transform: translateX(50px); /* nudge the photo to the right (desktop) */
}
.meet-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%; /* focus on her face */
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 720px) {
  .meet-intro { grid-template-columns: 1fr; }
  .meet-portrait { max-width: 260px; margin: 0 auto; transform: none; }
}

/* Placeholder box for photos pending from the campaign photo set */
.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  aspect-ratio: 4 / 3;
  width: 100%;
  background: repeating-linear-gradient(45deg, #EFEDE4, #EFEDE4 12px, #E7E4D8 12px, #E7E4D8 24px);
  border: 2px dashed var(--slate);
  border-radius: 6px;
  color: var(--slate);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 13px;
  padding: 12px;
}
.img-placeholder span {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
  margin-top: 6px;
  color: var(--ink);
}

/* Family section disclaimer line */
.family-disclaimer {
  margin: 28px auto 0;
  max-width: 860px;
  text-align: center;
  font-size: 12px;
  color: var(--slate);
}

/* Expandable Community Involvement */
.involvement {
  margin-top: 36px;
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}
.involvement > summary {
  cursor: pointer;
  list-style: none;
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--navy);
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.involvement > summary::-webkit-details-marker { display: none; }
.involvement > summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  flex: none;
}
.involvement[open] > summary::before { content: "\2212"; }
.involvement-list {
  columns: 2;
  column-gap: 40px;
  margin: 14px 0 4px;
  padding-left: 18px;
}
.involvement-list li { margin: 0 0 10px; break-inside: avoid; }
@media (max-width: 640px) { .involvement-list { columns: 1; } }

/* District 6 map block (Vote by Mail) */
.district-map {
  margin: 44px auto 0;
  max-width: 860px;
  text-align: center;
}
.district-map h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(22px, 2.6vw, 28px);
  color: var(--navy);
  margin: 0 0 10px;
}
.district-map p { margin: 0 auto 20px; max-width: 680px; color: var(--slate); }
.img-placeholder.map { aspect-ratio: 16 / 9; }
.district-map-img { display: block; max-width: 420px; width: 100%; height: auto; margin: 0 auto; border-radius: 6px; box-shadow: var(--shadow); }
