/* =========================================================
   Andy Baan for Virginia Beach School Board
   ========================================================= */

:root {
  --red: #D72A23;
  --red-dark: #B21D18;
  --red-tint: #FDEDEC;
  --navy: #233F64;
  --navy-deep: #172C48;
  --navy-tint: #EAEFF6;

  --ink: #16202E;
  --body: #414C5C;
  --muted: #6B7688;
  --line: #E2E1DC;

  --cream: #FBF8F3;
  --cream-2: #F4F0E8;
  --white: #FFFFFF;

  --wrap: 1180px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(22,32,46,.06), 0 4px 12px rgba(22,32,46,.05);
  --shadow-md: 0 4px 10px rgba(22,32,46,.07), 0 18px 40px rgba(22,32,46,.09);
  --shadow-lg: 0 10px 24px rgba(22,32,46,.10), 0 34px 70px rgba(22,32,46,.14);

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --slab: 'Roboto Slab', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--navy); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--red); }

h1, h2, h3, h4 {
  font-family: var(--slab);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .55em;
  letter-spacing: -0.015em;
}

p { margin: 0 0 1.15em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 10px;
  font-weight: 600; text-decoration: none; transition: top .18s ease;
}
.skip-link:focus { top: 0; color: #fff; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------- Buttons ---------------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--sans); font-weight: 650; font-size: .98rem;
  letter-spacing: .005em; line-height: 1.2;
  padding: 14px 26px; border: 2px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }

.btn-red    { --btn-bg: var(--red); }
.btn-red:hover { --btn-bg: var(--red-dark); }
.btn-navy   { --btn-bg: var(--navy); }
.btn-navy:hover { --btn-bg: var(--navy-deep); }
.btn-white  { --btn-bg: #fff; --btn-fg: var(--navy); }
.btn-white:hover { --btn-bg: #fff; --btn-fg: var(--red); }

.btn-outline {
  --btn-bg: transparent; --btn-fg: var(--navy);
  border-color: rgba(35,63,100,.30); box-shadow: none;
}
.btn-outline:hover { --btn-bg: var(--navy-tint); --btn-fg: var(--navy-deep); border-color: rgba(35,63,100,.45); }

.btn-ghost-light {
  --btn-bg: transparent; --btn-fg: #fff;
  border-color: rgba(255,255,255,.45); box-shadow: none;
}
.btn-ghost-light:hover { --btn-bg: rgba(255,255,255,.12); --btn-fg: #fff; }

.btn-lg { padding: 17px 34px; font-size: 1.04rem; }
.btn-sm { padding: 10px 20px; font-size: .9rem; }
.btn-block { display: flex; width: 100%; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 2px 14px rgba(22,32,46,.06); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 74px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
/* Andy's yard-sign lockup is landscape (roughly 1.45:1), so size it by height
   and let the width follow rather than forcing a square. */
.brand-mark { height: 46px; width: auto; border-radius: 5px; box-shadow: var(--shadow-sm); }
.brand-text { display: flex; flex-direction: column; line-height: 1.22; }
.brand-text strong {
  font-family: var(--slab); font-weight: 800; font-size: 1.12rem;
  color: var(--ink); letter-spacing: -.01em;
}
.brand-text span { font-size: .74rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }

.primary-nav { display: flex; align-items: center; gap: 26px; }
.primary-nav a {
  color: var(--ink); text-decoration: none; font-weight: 550; font-size: .95rem;
  position: relative; padding: 4px 0;
}
.primary-nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.primary-nav a:not(.btn):hover::after { transform: scaleX(1); }
.primary-nav a:not(.btn):hover { color: var(--red); }
.nav-donate { margin-left: 4px; }

.nav-toggle {
  display: none; background: none; border: 1.5px solid var(--line);
  border-radius: 10px; padding: 10px 11px; cursor: pointer;
}
.nav-toggle-bars { display: block; width: 20px; }
.nav-toggle-bars i {
  display: block; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .22s ease, opacity .18s ease;
}
.nav-toggle-bars i + i { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 620px at 88% 8%, rgba(215,42,35,.07), transparent 62%),
    radial-gradient(900px 520px at 4% 92%, rgba(35,63,100,.09), transparent 60%),
    var(--cream);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 6px;
  background: linear-gradient(90deg, var(--navy) 0 33.3%, #fff 33.3% 66.6%, var(--red) 66.6% 100%);
  opacity: .9;
}

.hero-grid {
  display: grid; grid-template-columns: 1.06fr .94fr;
  gap: 60px; align-items: center;
  padding-block: 76px 84px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--navy); background: rgba(35,63,100,.08);
  padding: 8px 15px; border-radius: 999px; margin: 0 0 22px;
}
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 4px rgba(215,42,35,.16);
}

.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.05rem);
  font-weight: 800; letter-spacing: -.028em; line-height: 1.06;
  margin-bottom: .42em;
}
.hero h1 .accent { color: var(--red); }

.lede {
  font-size: clamp(1.06rem, 1.35vw, 1.2rem);
  color: var(--body); max-width: 34em; margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }

.countdown {
  display: inline-flex; align-items: center; gap: 18px;
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--red);
  border-radius: var(--radius); padding: 16px 26px 16px 22px;
  box-shadow: var(--shadow-sm);
}
.countdown-num {
  font-family: var(--slab); font-weight: 800; font-size: 2.7rem; line-height: 1;
  color: var(--navy); letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.countdown-label { display: flex; flex-direction: column; line-height: 1.35; }
.countdown-label strong { color: var(--ink); font-size: .96rem; font-weight: 650; }
.countdown-label span { color: var(--muted); font-size: .86rem; }

.hero-photo { position: relative; }
.hero-photo picture { display: block; }
.hero-photo img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%;
}
.hero-photo::before {
  content: ''; position: absolute; inset: 22px -20px -20px 22px;
  border: 2px solid rgba(215,42,35,.35); border-radius: var(--radius-lg); z-index: -1;
}
.photo-tag {
  margin: 16px 0 0; font-size: .8rem; color: #57616F;
  letter-spacing: .05em; text-transform: uppercase; font-weight: 600; text-align: center;
}

/* ---------------- Stats ---------------- */
.stats { background: var(--navy); color: #fff; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-block: 40px; gap: 20px;
}
.stat { text-align: center; padding-inline: 12px; position: relative; }
.stat + .stat::before {
  content: ''; position: absolute; left: 0; top: 12%; bottom: 12%;
  width: 1px; background: rgba(255,255,255,.18);
}
.stat-num {
  display: block; font-family: var(--slab); font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 2.7rem); line-height: 1; letter-spacing: -.03em;
  color: #fff; margin-bottom: 8px;
}
.stat-num sup { font-size: .5em; top: -.55em; color: rgba(255,255,255,.75); }
.stat-label {
  display: block; font-size: .87rem; color: rgba(255,255,255,.76);
  line-height: 1.45; max-width: 18em; margin-inline: auto;
}

/* ---------------- Section scaffolding ---------------- */
.section { padding-block: 92px; }
.section-alt { background: var(--cream); border-block: 1px solid var(--line); }

.kicker {
  font-size: .79rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin: 0 0 14px;
}
.kicker-light { color: #FF9A93; }

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 800; letter-spacing: -.025em; margin-bottom: .5em; max-width: 17em;
}
.section-intro { font-size: 1.1rem; max-width: 44em; margin-bottom: 52px; color: var(--body); }
.section-intro-light { color: rgba(255,255,255,.82); }

/* ---------------- Priority cards ---------------- */
.cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px;
}
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 32px 32px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(35,63,100,.22); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--navy-tint); color: var(--navy);
  display: grid; place-items: center; margin-bottom: 20px;
}
.card-icon svg { width: 27px; height: 27px; }
.card h3 { font-size: 1.36rem; font-weight: 700; margin-bottom: .4em; }
.card-lead { font-weight: 600; color: var(--navy); margin-bottom: .8em; }
.card p:last-child { margin-bottom: 0; font-size: .98rem; }

.card-featured { border-color: rgba(215,42,35,.3); background: linear-gradient(180deg, var(--red-tint), #fff 52%); }
.card-featured .card-icon { background: rgba(215,42,35,.12); color: var(--red); }
.card-featured .card-lead { color: var(--red-dark); }

/* ---------------- Story ---------------- */
.story-grid {
  display: grid; grid-template-columns: .84fr 1.16fr; gap: 66px; align-items: center;
}
.story-photos { position: relative; padding-bottom: 62px; }
.story-photo-main {
  width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3; object-fit: cover;
}
.story-photo-inset {
  position: absolute; right: -26px; bottom: 0; width: 62%;
  border-radius: var(--radius); border: 5px solid #fff;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3; object-fit: cover;
}

.story-copy p { font-size: 1.02rem; }
.story-copy strong { color: var(--ink); }

.pull-quote {
  margin: 34px 0 0; padding: 26px 30px;
  background: #fff; border-left: 5px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--slab); font-size: 1.18rem; font-weight: 600; line-height: 1.5;
  color: var(--ink); box-shadow: var(--shadow-sm);
}
.pull-quote cite {
  display: block; margin-top: 12px; font-family: var(--sans); font-style: normal;
  font-size: .88rem; font-weight: 600; color: var(--muted); letter-spacing: .02em;
}

/* ---------------- Credentials ---------------- */
.creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.cred {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 28px;
}
.cred h3 {
  font-size: 1.16rem; padding-bottom: 14px; margin-bottom: 18px;
  border-bottom: 2px solid var(--red); display: inline-block;
}
ul.tick { list-style: none; margin: 0; padding: 0; }
ul.tick li {
  position: relative; padding-left: 30px; margin-bottom: 14px;
  font-size: .97rem; line-height: 1.5;
}
ul.tick li:last-child { margin-bottom: 0; }
ul.tick li::before {
  content: ''; position: absolute; left: 0; top: .42em;
  width: 16px; height: 9px; border-left: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red);
  transform: rotate(-45deg); border-radius: 1px;
}
ul.tick strong { color: var(--ink); }

/* ---------------- Donate ---------------- */
.donate {
  background:
    radial-gradient(760px 420px at 82% 12%, rgba(215,42,35,.20), transparent 62%),
    var(--navy-deep);
  color: rgba(255,255,255,.8);
}
.donate .section-title { color: #fff; }
.donate-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 62px; align-items: center; }
.donate-copy p { color: rgba(255,255,255,.8); }

.donate-facts { list-style: none; margin: 26px 0; padding: 0; }
.donate-facts li {
  padding: 13px 0 13px 0; border-top: 1px solid rgba(255,255,255,.14);
  font-size: .98rem; color: rgba(255,255,255,.84);
}
.donate-facts li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.donate-facts strong {
  color: #fff; font-family: var(--slab); font-size: 1.12rem; font-weight: 700;
  margin-right: 12px; display: inline-block; min-width: 3.1em;
}
.fine { font-size: .84rem; color: rgba(255,255,255,.55); margin-bottom: 0; }
.fine strong { color: rgba(255,255,255,.8); }

.donate-card {
  background: #fff; border-radius: var(--radius-lg); padding: 34px 32px;
  box-shadow: var(--shadow-lg);
}
.donate-card h3 { font-size: 1.4rem; margin-bottom: 22px; }
.amount-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px;
}
.amount {
  display: grid; place-items: center; padding: 17px 8px;
  border: 2px solid var(--line); border-radius: 12px;
  font-family: var(--slab); font-weight: 700; font-size: 1.14rem;
  color: var(--navy); text-decoration: none;
  transition: all .16s ease;
}
.amount:hover {
  border-color: var(--red); background: var(--red-tint); color: var(--red-dark);
  transform: translateY(-2px);
}
.amount-other { font-size: 1rem; }

.donate-secure {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 16px 0 0; font-size: .84rem; color: var(--muted);
}
.donate-secure svg { width: 15px; height: 15px; }

/* ---------------- Volunteer & forms ---------------- */
.volunteer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 62px; align-items: start; }
.volunteer-alt { font-size: .96rem; color: var(--muted); }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 32px; box-shadow: var(--shadow-md);
}
.form-card h3 { font-size: 1.32rem; margin-bottom: 22px; }

.checks { border: 0; margin: 0 0 22px; padding: 0; }
.checks legend {
  font-weight: 650; color: var(--ink); font-size: .95rem; padding: 0; margin-bottom: 12px;
}
.checks label {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; margin-bottom: 8px;
  border: 1.5px solid var(--line); border-radius: 11px;
  font-size: .96rem; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.checks label:hover { border-color: rgba(35,63,100,.34); background: var(--navy-tint); }
.checks input[type="checkbox"] { width: 19px; height: 19px; accent-color: var(--red); flex: none; }
.checks label:has(input:checked) { border-color: var(--red); background: var(--red-tint); }

.field { margin-bottom: 17px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label {
  display: block; font-size: .88rem; font-weight: 650; color: var(--ink); margin-bottom: 7px;
}
.field label span { color: var(--red); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px;
  background: var(--cream); transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); background: #fff;
  box-shadow: 0 0 0 4px rgba(35,63,100,.12);
}
.field input.invalid, .field textarea.invalid {
  border-color: var(--red); background: var(--red-tint);
}
.field textarea { resize: vertical; min-height: 96px; }

/* Honeypot: positioned off-screen rather than display:none, which bots detect. */
.hp {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

.form-note { margin: 14px 0 0; font-size: .84rem; color: var(--muted); text-align: center; }
.btn:disabled { opacity: .72; cursor: default; transform: none; }
.form-note.is-error { color: var(--red-dark); font-weight: 600; }
.form-note.is-success { color: #1B7A47; font-weight: 600; }

/* ---------------- Vote ---------------- */
.vote {
  background:
    radial-gradient(820px 460px at 12% 0%, rgba(215,42,35,.18), transparent 60%),
    var(--navy);
  color: rgba(255,255,255,.82);
}
.vote .section-title { color: #fff; }
.vote-source { margin: 22px 0 0; font-size: .82rem; color: rgba(255,255,255,.68); }

.dates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 38px; }
.date-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg); padding: 28px 26px;
  backdrop-filter: blur(4px);
}
.date-when {
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #FF9A93; margin-bottom: 10px;
}
.date-card h3 { color: #fff; font-size: 1.24rem; margin-bottom: .45em; }
.date-card p { color: rgba(255,255,255,.76); font-size: .95rem; margin-bottom: 0; }

.date-card-hero { background: var(--red); border-color: var(--red); box-shadow: var(--shadow-md); }
.date-card-hero .date-when { color: rgba(255,255,255,.9); }
.date-card-hero p { color: rgba(255,255,255,.92); }

.vote-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 62px; align-items: start; }
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; }
.contact-list li {
  display: flex; align-items: center; gap: 15px;
  padding: 15px 0; border-bottom: 1px solid var(--line);
  font-size: 1.02rem;
}
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-ico {
  width: 42px; height: 42px; flex: none; border-radius: 11px;
  background: var(--navy-tint); color: var(--navy); display: grid; place-items: center;
}
.contact-ico svg { width: 21px; height: 21px; }
.contact-list a { font-weight: 600; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding-top: 62px; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px;
  padding-bottom: 48px;
}
.footer-brand img { height: 84px; width: auto; border-radius: 6px; margin-bottom: 18px; }
.footer-tag { font-size: .95rem; color: rgba(255,255,255,.66); max-width: 26em; margin: 0; }

.social { display: flex; gap: 10px; list-style: none; margin: 20px 0 0; padding: 0; }
.social a {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  color: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.22);
  transition: background-color .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.social a:hover {
  background: var(--red); color: #fff; border-color: var(--red);
  transform: translateY(-2px); text-decoration: none;
}
.social svg { width: 20px; height: 20px; }

.site-footer h4 {
  color: #fff; font-size: .8rem; letter-spacing: .13em; text-transform: uppercase;
  font-family: var(--sans); font-weight: 700; margin-bottom: 18px;
}
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 11px; align-items: flex-start; }
.site-footer a { color: rgba(255,255,255,.74); text-decoration: none; font-size: .96rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact p { font-size: .93rem; color: rgba(255,255,255,.58); margin: 6px 0 0; }
.footer-cta .btn { margin-bottom: 11px; }

.footer-legal {
  border-top: 1px solid rgba(255,255,255,.13); padding-block: 26px 34px;
  font-size: .84rem; color: rgba(255,255,255,.5); text-align: center;
}
.footer-legal p { margin: 0 0 8px; }
/* Required campaign disclaimer — boxed and outlined */
.paid-for {
  display: inline-block;
  font-family: var(--slab); font-weight: 700; font-size: .92rem;
  letter-spacing: .07em; text-transform: uppercase;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,.75);
  border-radius: 6px;
  padding: 10px 22px;
  margin-bottom: 16px !important;
  line-height: 1.3;
  max-width: 100%;
  text-wrap: balance;
}
.footer-links a { font-size: .84rem; }

/* ---------------- Mobile action bar ---------------- */
.mobile-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  gap: 10px; padding: 11px 14px calc(11px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-top: 1px solid var(--line);
}
.mobile-bar .btn { flex: 1; padding: 14px 10px; font-size: .95rem; box-shadow: none; }
.mobile-bar .btn:hover { transform: none; }

/* ---------------- Reveal animation ---------------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1040px) {
  .hero-grid { gap: 44px; }
  .creds { grid-template-columns: 1fr; }
  .cred { padding: 26px 24px; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 80px; }

  .nav-toggle { display: block; order: 3; }
  .primary-nav {
    order: 4; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0;
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .primary-nav.is-open { max-height: 420px; }
  .primary-nav a:not(.btn) {
    padding: 15px 2px; border-bottom: 1px solid var(--line); font-size: 1rem;
  }
  .primary-nav a:not(.btn)::after { display: none; }
  .nav-donate { margin: 16px 0 18px; justify-content: center; }
  .header-inner { flex-wrap: wrap; min-height: 66px; }

  .hero-grid { grid-template-columns: 1fr; padding-block: 46px 60px; }
  .hero-photo { order: -1; max-width: 400px; margin-inline: auto; }
  .hero-photo::before { display: none; }
  .hero h1 { font-size: clamp(2.2rem, 8vw, 3rem); }
  .hero-actions .btn { flex: 1 1 220px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 10px; padding-block: 34px; }
  .stat:nth-child(3)::before { display: none; }

  .section { padding-block: 66px; }
  .cards { grid-template-columns: 1fr; gap: 20px; }

  .story-grid, .donate-inner, .volunteer-grid, .contact-grid {
    grid-template-columns: 1fr; gap: 44px;
  }
  .story-photos { padding-bottom: 0; max-width: 520px; }
  .story-photo-inset { position: static; width: 100%; margin-top: 16px; border-width: 0; }

  .dates { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }

  .mobile-bar { display: flex; }
  body { padding-bottom: 74px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 18px; }
  .brand-text span { display: none; }
  .section-title { font-size: 1.7rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .countdown { width: 100%; padding: 14px 18px; gap: 14px; }
  .countdown-num { font-size: 2.2rem; }
  .card, .form-card, .donate-card, .date-card { padding: 26px 22px; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: 1fr; gap: 26px; }
  .stat::before { display: none !important; }
  .pull-quote { padding: 20px 22px; font-size: 1.06rem; }
  .vote-actions .btn { width: 100%; }
  .paid-for { font-size: .76rem; letter-spacing: .04em; padding: 9px 14px; }
  .footer-legal { font-size: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-bar, .form-card, .hero-actions { display: none; }
  body { color: #000; }
}
