/* Help Nonprofits Help Others — theme styles */

/* Self-hosted fonts (SIL Open Font License) */
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/source-sans-3-latin.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-italic-latin.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("../fonts/source-serif-4-latin.woff2") format("woff2"); }



:root {
  --navy: #0c1e36;
  --navy-mid: #163054;
  --navy-deep: #081526;
  --hero-navy: #00245e;
  --flag-blue: #002868;
  --gold: #c9a227;
  --gold-bright: #e0b93a;
  --gold-pale: #f4e8bc;
  --crimson: #9b2743;
  --cream: #f6f1e8;
  --paper: #fbf9f5;
  --white: #ffffff;
  --ink: #1b1f24;
  --ink-soft: #3a434d;
  --muted: #5c6670;
  --line: #d9d1c3;
  --line-soft: #ebe5d8;
  --max: 1120px;
  --wide: 1240px;
  --header-h: 4.5rem;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --shadow: 0 12px 40px rgba(12, 30, 54, 0.12);
  --radius: 6px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--navy-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--crimson); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.6rem 1rem;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  border-bottom: 3px solid var(--gold);
}

.header-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
}
.brand:hover { color: var(--white); }
.flag {
  width: 52px;
  height: 35px;
  display: block;
  flex-shrink: 0;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.5);
  background: #002868;
  overflow: hidden;
}
.footer-brand .flag { width: 44px; height: 29px; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text strong {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.brand-text span {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-pale);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle:hover { border-color: var(--gold); }
.nav-toggle-bars {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--white);
  margin: 0 auto;
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--white);
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--white); border-bottom-color: var(--gold); }
.site-nav a[aria-current="page"] {
  color: var(--white);
  border-bottom-color: var(--gold);
}

.btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 3px;
  border: 2px solid transparent;
  padding: 0.8rem 1.25rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-bright); color: var(--navy-deep); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-pale); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-mid); color: var(--white); }
.btn-navy-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-navy-outline:hover { background: var(--navy); color: var(--white); }
.btn-lg { padding: 0.95rem 1.45rem; font-size: 1rem; }

.nav-cta { margin-left: 0.5rem; padding: 0.62rem 1.05rem; font-size: 0.88rem; }

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-hero,
.section { padding: 4.25rem 0; }

.section-alt { background: var(--cream); }
.section-navy {
  background: var(--navy);
  color: var(--white);
}
.section-navy h2,
.section-navy h3 { color: var(--white); }

.br-narrow { display: none; }
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--crimson);
  margin: 0 0 0.75rem;
}
.section-navy .eyebrow,
.page-hero .eyebrow,
.hero .eyebrow { color: var(--gold-bright); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.15rem, 4.2vw, 3.35rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.12rem; margin-bottom: 0.4rem; }

.lede {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 42rem;
}
.lede-center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

p { margin: 0 0 1.05rem; }
p:last-child { margin-bottom: 0; }

.prose { max-width: 44rem; }
.prose p + p { margin-top: 1.05rem; }

hr.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

/* ---------- Home hero ---------- */
/* Desktop: the photo is anchored left at full hero height; its right side
   fades to solid navy (#00245e), which matches the section background, so the
   headline sits over navy. Mobile: photo on top, navy copy panel below. */
.hero {
  position: relative;
  background: var(--hero-navy);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero-inner {
  max-width: var(--wide);
  margin: 0 auto;
  min-height: clamp(34rem, 40vw, 42rem);
  display: flex;
  justify-content: flex-end;
  padding: 0 1.5rem;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-media picture { display: block; height: 100%; }
.hero-media img {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
}
.hero-copy {
  position: relative;
  width: min(46%, 36rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 0 3.5rem 1rem;
}
.hero-copy::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -5rem;
  right: -100vw;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 36, 94, 0) 0, var(--hero-navy) 5rem);
}
.hero .lede, .hero h1 { text-shadow: 0 1px 2px rgba(0, 18, 50, 0.35); }
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero .lede { color: rgba(255,255,255,0.86); font-size: 1.15rem; }
.hero .lede + .lede { margin-top: 0.85rem; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.hero-meta {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.92rem;
  color: var(--gold-pale);
  letter-spacing: 0.02em;
}

/* ---------- Cards & grids ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
}
.grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
  box-shadow: 0 4px 16px rgba(12, 30, 54, 0.04);
}
.card p { color: var(--ink-soft); font-size: 1rem; }
.card-icon {
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.85rem;
  color: var(--navy);
}
.card-icon svg { width: 100%; height: 100%; }

.pillars .card { min-height: 100%; }

/* Featured story */
.story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.story-label {
  background: var(--navy);
  color: var(--white);
  padding: 2rem 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.story-label .eyebrow { color: var(--gold-bright); }
.story-label h3 { color: var(--white); font-size: 1.7rem; margin-bottom: 0; }
.story-body {
  padding: 2.1rem 2.15rem 2.25rem;
}
.story-body p { font-size: 1.12rem; color: var(--ink-soft); }
.story-body .highlight {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.45;
  margin-top: 1rem;
}

/* States */
.state-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.state-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 100%;
}
.state-card .abbr {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
  line-height: 1;
}
.state-card h3 { margin: 0; font-size: 1.2rem; }
.state-card .since {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.state-card ul {
  margin: 0.4rem 0 0;
  padding: 0 0 0 1.1rem;
  color: var(--ink-soft);
  font-size: 0.97rem;
}
.state-card li { margin: 0.3rem 0; }
.state-card .bottom-line {
  margin-top: auto;
  padding-top: 0.9rem;
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 600;
}

.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
.stat {
  background: var(--navy);
  color: var(--white);
  padding: 1.5rem 1.6rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
}
.stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--gold-bright);
  margin-bottom: 0.35rem;
}
.stat span { color: rgba(255,255,255,0.86); font-size: 0.98rem; }

/* Quote / amendment */
.pullquote {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  padding: 1.4rem 1.6rem;
  margin: 1.5rem 0 1.75rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.5;
}
.pullquote cite {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.ask-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  counter-reset: ask;
}
.ask-list li {
  position: relative;
  padding: 1.1rem 0 1.1rem 3.4rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}
.ask-list li:last-child { border-bottom: 1px solid var(--line); }
.ask-list li::before {
  counter-increment: ask;
  content: counter(ask);
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-bright);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Timeline */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.steps li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.1rem;
  padding-bottom: 1.6rem;
  position: relative;
}
.steps li:last-child { padding-bottom: 0; }
.steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 2.6rem;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.step-num {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-bright);
  font-family: var(--font-serif);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.steps h3 { margin-bottom: 0.3rem; font-size: 1.2rem; }

/* Guardrails table */
.table-wrap { overflow-x: auto; margin: 1.25rem 0 2rem; }
table.guardrails {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
  background: var(--white);
}
.guardrails th,
.guardrails td {
  text-align: left;
  padding: 0.85rem 0.95rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.guardrails thead th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.guardrails tbody tr:nth-child(even) { background: var(--cream); }
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
  background: var(--gold-pale);
  color: var(--navy);
}

/* Petition */
.petition-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.embed-placeholder {
  background: var(--white);
  border: 2px dashed var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.6rem;
  min-height: 26rem;
  position: relative;
}
.embed-placeholder .placeholder-banner {
  background: #fff6d4;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.65rem;
  display: inline-block;
  margin-bottom: 1rem;
  border: 1px solid var(--gold);
}
.fake-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0.85rem 0 0.3rem;
  color: var(--navy);
}
.fake-form input,
.fake-form select {
  width: 100%;
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  font: inherit;
  background: #f3f1eb;
  color: var(--muted);
  pointer-events: none;
}
.fake-form .btn { margin-top: 1.15rem; width: 100%; pointer-events: none; opacity: 0.9; }
.fake-form .btn:disabled {
  cursor: not-allowed;
  color: var(--navy-deep);
  background: var(--gold);
  border-color: var(--gold);
}
.notice {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.45rem 1.5rem;
}
.notice h2 { font-size: 1.35rem; }
.notice p { color: var(--ink-soft); }
/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 48rem;
}
.faq details {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--navy);
  padding: 1.05rem 3rem 1.05rem 1.2rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--gold);
}
.faq details[open] summary::after { content: "–"; }
.faq .faq-body {
  padding: 0 1.2rem 1.25rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line-soft);
  padding-top: 0.95rem;
}
.faq details[open] { border-color: var(--line); box-shadow: 0 4px 16px rgba(12,30,54,0.05); }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.86); max-width: 36rem; margin: 0 auto 1.5rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* Page intro */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 3.25rem 0 3rem;
}
.page-hero h1 { color: var(--white); }
.page-hero .lede { color: rgba(255,255,255,0.86); }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.8);
  padding: 3rem 0 1.75rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-footer h2 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
}
.site-footer a { color: var(--gold-pale); text-decoration: none; }
.site-footer a:hover { color: var(--gold-bright); text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.35rem 0; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 0.85rem;
}
.footer-brand:hover { color: var(--white); }
.footer-brand img { width: 44px; height: 29px; border-radius: 2px; }
.footer-note { margin-top: 1.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.58); max-width: 52rem; }
.contact-placeholder {
  border: 1px dashed rgba(232, 197, 71, 0.45);
  padding: 0.85rem 1rem;
  border-radius: 4px;
  color: var(--gold-pale);
  font-size: 0.92rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { display: block; min-height: 0; padding: 0; }
  .hero-media { position: relative; inset: auto; z-index: 0; aspect-ratio: 4 / 3; max-height: 30rem; overflow: hidden; }
  .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 0 30%; }
  .hero-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 35%; background: linear-gradient(180deg, rgba(0, 36, 94, 0) 0, var(--hero-navy) 100%); }
  .hero-copy { width: auto; max-width: 44rem; padding: 0.5rem 1.5rem 2.75rem; }
  .hero-copy::before { display: none; }
  .grid-3, .grid-6, .state-grid { grid-template-columns: repeat(2, 1fr); }
  .story { grid-template-columns: 1fr; }
  .petition-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    border-bottom: 3px solid var(--gold);
    padding: 0.75rem 1.5rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { display: block; padding: 0.7rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--gold); }
  .nav-cta { margin: 0.75rem 0 0; width: 100%; }
}

@media (max-width: 640px) {
  .hero .eyebrow { letter-spacing: 0.09em; }
  .br-narrow { display: block; }
  body { font-size: 1rem; }
  .header-inner { padding: 0 1rem; }
  .wrap { padding: 0 1rem; }
  .section { padding: 3rem 0; }
  .page-hero { padding: 2.4rem 0 2.2rem; }
  .grid-3, .grid-6, .grid-2, .state-grid, .stats-row, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-media { min-height: 14rem; max-height: 16.5rem; }
  .brand-text span { display: none; }
  .story-label, .story-body { padding: 1.4rem 1.2rem; }
  .embed-placeholder { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}


/* ---------- WordPress theme additions ---------- */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
  clip: auto !important; clip-path: none; height: auto; width: auto;
  background: var(--white); color: var(--navy); padding: 0.75rem 1rem; z-index: 100000;
}

/* Supporting-document callout */
.doc-callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem 1.25rem;
  align-items: center;
  margin-top: 2rem;
  padding: 1.4rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 6px 22px rgba(12, 30, 54, 0.07);
}
.section-alt .doc-callout { background: var(--paper); }
.doc-callout-icon {
  width: 3rem; height: 3.6rem; color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.doc-callout-icon svg { width: 100%; height: 100%; }
.doc-callout-body h3 { font-size: 1.2rem; margin: 0 0 0.3rem; }
.doc-callout-body p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.doc-callout-actions {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; gap: 0.65rem;
}
.doc-callout-actions .btn { margin: 0; }
@media (min-width: 900px) {
  .doc-callout { grid-template-columns: auto 1fr auto; }
  .doc-callout-actions { grid-column: auto; justify-content: flex-end; }
}

/* Footer contact details (filled in via Customizer) */
.contact-details { font-size: 0.95rem; line-height: 1.55; }
.contact-details strong { color: var(--white); }
.contact-details a { color: var(--gold-pale); }
.contact-details address { font-style: normal; margin-top: 0.35rem; }

/* Action Network embed container */
.an-embed { min-width: 0; }
.an-embed iframe { max-width: 100%; }
#can_embed_form { font-family: var(--font-sans) !important; }

/* Generic WordPress content (privacy page, etc.) */
.entry-content > *:first-child { margin-top: 0; }
.entry-content img { max-width: 100%; height: auto; }
.wp-block-image, .aligncenter { margin-left: auto; margin-right: auto; }

/* Hero: on narrower desktops, slide the photo left so the volunteers stay clear of the headline panel. */
@media (min-width: 961px) and (max-width: 1279px) {
  .hero-media img { margin-left: clamp(-100px, calc((100vw - 1280px) * 0.45), 0px); }
  .hero-copy::before { left: -3.5rem; background: linear-gradient(90deg, rgba(0, 36, 94, 0) 0, var(--hero-navy) 3.5rem); }
}

/* "And much more!" line under the Who Benefits cards */
.much-more {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  font-style: italic;
  color: var(--navy);
  margin: 1.75rem 0 0;
}
.section-navy .much-more { color: var(--gold-bright); }

/* Action Network embed: loading note and direct-link fallback */
.an-fallback { margin-top: 1rem; }
.an-loading { color: var(--ink-soft); font-style: italic; }
.an-direct { display: none; }
.an-fallback.show-direct .an-direct { display: block; }
.an-fallback.show-direct .an-direct .btn { margin-top: 0.5rem; }

/* Spread the word / QR flyer */
.flyer-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.75rem 1.8rem 1.85rem;
  box-shadow: 0 4px 16px rgba(12,30,54,0.05);
  max-width: 48rem;
}
.flyer-box .eyebrow { margin-bottom: 0.35rem; }
.flyer-box h2 { font-size: 1.65rem; margin-bottom: 0.45rem; }
.flyer-box p { color: var(--ink-soft); margin: 0 0 1.15rem; max-width: 40rem; }
.flyer-box .btn { margin: 0; }
@media (max-width: 640px) {
  .flyer-box { padding: 1.4rem 1.2rem 1.5rem; }
}

/* Six menu items: tighten the header on mid-size screens, and switch to the
   menu button below 1040px so the navigation never wraps onto two lines. */
@media (min-width: 1041px) and (max-width: 1180px) {
  .site-nav ul { gap: 0.15rem 0.9rem; }
  .site-nav a { font-size: 0.88rem; }
}
@media (min-width: 801px) and (max-width: 1040px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    border-bottom: 3px solid var(--gold);
    padding: 0.75rem 1.5rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { display: block; padding: 0.7rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--gold); }
  .nav-cta { margin: 0.75rem 0 0; width: 100%; }
}
