/* ===========================================================
   Porter for Nebraska — District 30
   Navy #002147, crimson #bf0a0a, flag hero, Source Serif 4 +
   Source Sans 3. Local Nebraska campaign site.
   =========================================================== */

:root {
  --navy: #002147;
  --navy-800: #001a38;
  --navy-900: #00112a;
  --red: #bf0a0a;
  --red-600: #9e0808;
  --red-soft: #e23a3a;

  --ink: #002147;
  --ink-soft: #3d4a5c;
  --ink-mute: #6a7382;
  --line: #e6e9ee;
  --paper: #ffffff;
  --paper-tint: #f5f7fa;
  --field: #eef2f7;

  --maxw: 1140px;
  --radius: 6px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(0, 33, 71, 0.08);
  --shadow: 0 16px 40px rgba(0, 33, 71, 0.14);

  --font-head: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, Segoe UI, sans-serif;

  --header-h: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--navy-900); }

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

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.2;
  margin: 0 0 .55em;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
}
p { margin: 0 0 1.05rem; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
svg.ic { width: 1.25em; height: 1.25em; fill: none; flex: 0 0 auto; }
svg.ic-r { width: 1em; height: 1em; margin-left: .15em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 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: -999px; top: 0; z-index: 1000;
  background: var(--red); color: #fff; padding: 10px 18px; font-weight: 700;
  border-radius: var(--radius-pill);
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  font-family: var(--font-body); font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  font-size: .92rem; padding: 13px 26px; border-radius: var(--radius-pill);
  border: 2px solid transparent; cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .1s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 16px 34px; font-size: .98rem; }
.btn-sm { padding: 10px 18px; font-size: .82rem; }
.btn-block { display: flex; width: 100%; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-800); color: #fff; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-600); color: #fff; }
.btn-outline-light {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.75);
}
.btn-outline-light:hover { background: rgba(255,255,255,.14); color: #fff; border-color: #fff; }
.btn-outline-navy { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

/* ---------- Header (transparent over hero, solid when scrolled) ---------- */
.site-header {
  position: absolute; left: 0; right: 0; top: auto; z-index: 1100;
  background: transparent; border-bottom: 1px solid rgba(255,255,255,.22);
}
.site-header.scrolled {
  position: fixed; top: 0;
  background: rgba(255,255,255,.97);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 13px; color: #fff; }
.brand:hover { text-decoration: none; }
.site-header.scrolled .brand { color: var(--ink); }
.brand-mark {
  display: inline-flex; gap: 4px;
  border-radius: 50%; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.28);
}
.site-footer .brand-mark { box-shadow: 0 2px 8px rgba(0,0,0,.5); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--font-head); font-size: 1.2rem; color: #fff; letter-spacing: -0.01em;
}
.site-header.scrolled .brand-text strong { color: var(--navy); }
.brand-text span {
  font-size: .68rem; letter-spacing: .12em; color: rgba(255,255,255,.78);
  text-transform: uppercase; font-weight: 600;
}
.site-header.scrolled .brand-text span { color: var(--ink-mute); }

.primary-nav { display: flex; align-items: center; gap: 26px; }
.primary-nav a {
  color: rgba(255,255,255,.92); font-weight: 600; font-size: .84rem;
  letter-spacing: .08em; text-transform: uppercase;
}
.site-header.scrolled .primary-nav a { color: var(--ink); }
.primary-nav a:not(.btn) { padding: 6px 0; border-bottom: 2px solid transparent; }
.primary-nav a:not(.btn):hover {
  color: #fff; border-bottom-color: var(--red); text-decoration: none;
}
.site-header.scrolled .primary-nav a:not(.btn):hover {
  color: var(--navy); border-bottom-color: var(--red);
}
.nav-cta { color: #fff !important; padding: 10px 22px; }
.nav-cta:hover { color: #fff !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 26px; height: 3px; background: #fff; border-radius: 2px; transition: .25s; }
.site-header.scrolled .nav-toggle span { background: var(--navy); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Shared ---------- */
.eyebrow {
  display: inline-block; font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; font-size: .78rem; color: rgba(255,255,255,.9);
  margin: 0 0 16px; padding-bottom: 8px; border-bottom: 3px solid var(--red);
}
.eyebrow--dark { color: var(--navy); }

.section { padding: clamp(52px, 7vw, 88px) 0; }
.section--tint { background: var(--paper-tint); }
.section--navy { background: var(--navy); color: #fff; }
.section-head { max-width: 680px; margin: 0 auto clamp(28px, 4vw, 44px); text-align: center; padding: 0 22px; }
.section-head h2 { font-size: clamp(1.75rem, 3.6vw, 2.45rem); color: var(--navy); margin-bottom: .4em; }
.section-head--light h2 { color: #fff; }
.section-sub { color: var(--ink-soft); font-size: 1.06rem; line-height: 1.55; margin-bottom: 0; }
.section-head--light .section-sub { color: rgba(255,255,255,.86); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--navy) url("/assets/flag-hero.jpg?v=3") center / cover no-repeat;
  padding-top: var(--header-h);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  opacity: 0; transition: opacity 1.1s ease;
}
.hero-video.is-active { opacity: 1; z-index: 1; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(105deg, rgba(0, 17, 42, .88) 0%, rgba(0, 33, 71, .62) 45%, rgba(0, 33, 71, .28) 100%),
    linear-gradient(180deg, rgba(0, 17, 42, .35) 0%, transparent 28%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(28px, 4vw, 56px); align-items: center;
  padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 80px);
}
.hero-copy { max-width: 580px; }
.hero .eyebrow { color: rgba(255,255,255,.95); border-bottom-color: var(--red); }
.hero-heading {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: 0;
}
.hero-lockup {
  display: block; width: 100%; max-width: 560px; height: auto;
  margin: 2px 0 14px; overflow: visible;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.4));
}
.lockup-outline { stroke: var(--red); stroke-width: 6; stroke-linejoin: round; }
.lockup-name { fill: #fff; font-family: var(--font-head); font-weight: 700; font-size: 178px; }
.lockup-sub {
  fill: #fff; font-family: var(--font-body); font-weight: 700; font-size: 32px;
  letter-spacing: 1.5px;
}
.hero-lead {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.35;
  color: #fff;
  margin: 0 0 14px;
  max-width: 34rem;
}
.hero-tag {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.2;
  margin: 0 0 8px; color: #fff;
}
.hero-tag span { color: #fff; border-bottom: 3px solid var(--red); padding-bottom: 2px; }
.hero-towns {
  margin: 0 0 12px; font-weight: 600; font-size: .92rem;
  letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.86);
}
.hero-lede {
  font-size: clamp(1.02rem, 1.35vw, 1.14rem);
  line-height: 1.55;
  color: rgba(255,255,255,.94);
  max-width: 34rem;
  margin-bottom: 0;
}
.hero-lede strong { color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 12px; }
.hero-secondary {
  display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center;
  margin: 0 0 18px; font-size: .9rem; color: rgba(255,255,255,.78);
}
.hero-secondary a {
  color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 600;
}
.hero-secondary a:hover { color: #fff; opacity: .85; }
.trust-row { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; }
.trust-row li {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: .94rem; color: rgba(255,255,255,.92);
}
.trust-row .ic { color: var(--red-soft); width: 1.1em; height: 1.1em; }

/* Circular frames for the pre-composited #BUILDRESILIENCE badge.
   Crop JPEG black padding with overflow + slight scale; never add a CSS ring. */
.hero-portrait,
.about-photo {
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
}
.hero-portrait {
  justify-self: center;
  width: clamp(240px, 27vw, 350px);
  aspect-ratio: 1;
  /* Soft lift only — no ring-like halo around the badge */
  filter: drop-shadow(0 14px 22px rgba(0,0,0,.35));
}
.about-photo {
  display: block;
  width: clamp(250px, 34vw, 370px);
  aspect-ratio: 1;
  margin-inline: auto;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.22));
}
.headshot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Crop ~JPEG black padding so badge rings meet the circular frame */
  transform: scale(1.08);
  transform-origin: center;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.brand-logo {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
  object-position: center; transform: scale(1.08); transform-origin: center;
  box-shadow: none; border: none;
  background: transparent;
}
img.brand-logo[src$=".svg"],
img.brand-logo[src*="cp-mark"] {
  object-fit: contain;
  transform: none;
  background: transparent;
  border: 2px solid rgba(255,255,255,.35);
  box-shadow: none;
}
.site-header.scrolled img.brand-logo[src*="cp-mark"] { border-color: var(--line); }
.site-footer img.brand-logo[src*="cp-mark"] { border-color: rgba(255,255,255,.25); }

/* ---------- Priorities (responsive photo grid tiles) ---------- */
.priorities .section-head { margin-bottom: clamp(28px, 4vw, 40px); }
.prio-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.prio-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  min-height: 180px;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--navy);
  background-image: var(--prio-img);
  background-size: cover;
  background-position: center;
  text-decoration: none;
  color: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.prio-tile::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s ease;
  z-index: 2;
}
.prio-tile:hover,
.prio-tile:focus-visible {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  outline: none;
}
.prio-tile:hover::after,
.prio-tile:focus-visible::after {
  transform: scaleX(1);
}
.prio-tile:focus-visible {
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--red), var(--shadow);
}
.prio-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,17,42,.06) 0%, rgba(0,17,42,.2) 45%, rgba(0,17,42,.78) 100%);
}
.prio-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  margin: 0;
  padding: 18px 16px 15px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(.92rem, 1.5vw, 1.12rem);
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1.2;
  text-shadow: 0 1px 12px rgba(0,0,0,.4);
  display: flex;
  align-items: center;
  gap: .3em;
}
.prio-chevron {
  display: inline-block;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .2s ease, transform .2s ease;
  font-weight: 700;
}
.prio-tile:hover .prio-chevron,
.prio-tile:focus-visible .prio-chevron {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.about-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- Flagship district fights ---------- */
.flagship-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.flagship-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
  text-decoration: none;
  color: inherit;
  border-top: 3px solid var(--red);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.flagship-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: inherit;
}
.flagship-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
}
.flagship-item strong {
  font-family: var(--font-head);
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--ink);
  font-weight: 700;
}
.flagship-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--red);
}

/* ---------- Inner page prose / story / resources ---------- */
.page-prose { max-width: 760px; }
.page-prose .section-head { margin-bottom: 18px; }
.story-chapter { margin-bottom: clamp(28px, 4vw, 40px); }
.story-chapter h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  margin: 0 0 12px;
  color: var(--navy);
}
.story-chapter p { color: var(--ink-soft); margin-bottom: 1rem; }
.story-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 3px solid var(--line);
}
.story-timeline li {
  position: relative;
  padding: 0 0 28px 22px;
}
.story-timeline li:last-child { padding-bottom: 0; }
.story-timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px #fff;
}
.story-timeline strong {
  display: block;
  color: var(--navy);
  margin-bottom: 4px;
  font-size: 1.05rem;
}
.story-timeline p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 16px;
}
.steps-list li {
  position: relative;
  padding: 16px 18px 16px 64px;
  background: var(--tint, #f5f7fa);
  border-left: 3px solid var(--navy);
}
.steps-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  display: grid;
  place-items: center;
}
.steps-list strong { display: block; color: var(--navy); margin-bottom: 4px; }
.steps-list p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.resource-block h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0 0 10px;
}
.resource-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.resource-block li {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.resource-block li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.resource-block a { font-weight: 600; }
.resource-block span {
  display: block;
  font-size: .88rem;
  color: var(--ink-soft);
  margin-top: 2px;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.role-item {
  padding: 18px 16px;
  border-top: 3px solid var(--red);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.role-item h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: var(--navy);
}
.role-item p {
  margin: 0;
  font-size: .92rem;
  color: var(--ink-soft);
}

.page-disclaimer {
  max-width: 760px;
  margin: 0 auto;
  padding: 16px 18px;
  background: rgba(0, 33, 71, .06);
  border-left: 3px solid var(--navy);
  color: var(--ink-soft);
  font-size: .95rem;
}
.page-disclaimer strong { color: var(--navy); }
.about-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: var(--navy); }
.about-copy p { color: var(--ink-soft); }
.about-copy strong { color: var(--ink); }
.creds { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 11px; }
.creds li { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; }
.creds .ic {
  color: var(--navy); background: var(--field); border-radius: 50%;
  padding: 5px; width: 1.9em; height: 1.9em;
}
.edit-note { color: var(--ink-mute); font-size: .9rem; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy);
  border-radius: var(--radius); padding: 28px 24px;
  box-shadow: none; transition: border-color .18s, transform .18s;
}
.card:hover { transform: translateY(-2px); border-top-color: var(--red); }
.card-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--field); color: var(--navy); margin-bottom: 14px;
}
.card-ic .ic { width: 24px; height: 24px; }
.card h3 { font-size: 1.22rem; color: var(--navy); }
.card p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
.cards-note { text-align: center; color: var(--ink-mute); margin-top: 26px; }

/* ---------- District ---------- */
.district-teaser {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.district-teaser-visual {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.district-teaser-visual img {
  width: 100%;
  height: auto;
  display: block;
}
.district-towns-label {
  margin: 22px 0 10px;
  font-size: .92rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.district-issues {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.district-issues a {
  display: block;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: border-color .18s, background-color .18s;
}
.district-issues a:hover,
.district-issues a:focus-visible {
  background: rgba(0, 33, 71, .04);
  border-bottom-color: var(--navy);
}
.district-issues strong {
  display: block;
  color: var(--navy);
  font-size: 1.08rem;
  margin-bottom: 4px;
}
.district-issues span {
  color: var(--ink-soft);
  font-size: .98rem;
  line-height: 1.45;
}
.district-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.district-grid--map { grid-template-columns: 1.05fr .95fr; align-items: start; }
.district-map {
  position: relative; z-index: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0; box-shadow: var(--shadow-sm); overflow: hidden;
  min-height: 420px; height: clamp(420px, 62vw, 560px);
}
.district-map .leaflet-container {
  width: 100%; height: 100%; min-height: 420px; font-family: var(--font-body);
  background: var(--paper-tint);
}
.district-map .leaflet-popup-content { margin: 10px 14px; font-size: .95rem; line-height: 1.4; }
.district-map .leaflet-popup-content strong { color: var(--navy); }
.district-map .home-pin {
  background: var(--red); border: 2px solid #fff; border-radius: 50%;
  width: 16px; height: 16px; margin-left: -8px; margin-top: -8px;
  box-shadow: 0 0 0 6px rgba(191, 10, 10, 0.22);
}
.district-map img { width: 100%; height: auto; border-radius: 4px; display: block; }
.district-copy h2, .district-copy h3 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--navy); }
.district-copy p { color: var(--ink-soft); }
.district-copy strong { color: var(--ink); }
.chips { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--paper-tint); border: 1px solid var(--line);
  border-radius: var(--radius-pill); padding: 8px 15px;
  font-weight: 600; font-size: .9rem; color: var(--navy);
}
.chips .ic { color: var(--red); width: 1em; height: 1em; }
.chip--home {
  background: rgba(191, 10, 10, .08); border-color: rgba(191, 10, 10, .35); color: var(--red);
}
.district-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.district-note { color: var(--ink-mute); margin-top: 18px; font-size: .95rem; }
.district-facts {
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--line);
}
.district-facts-head h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  margin-bottom: .35em;
}
.district-facts-head p {
  color: var(--ink-soft);
  max-width: 46rem;
  margin-bottom: 22px;
}
.district-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.district-stat {
  background: var(--paper-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 14px;
  text-align: center;
}
.district-stat-value {
  margin: 0 0 4px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: var(--navy);
  line-height: 1.15;
}
.district-stat-label {
  margin: 0;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.district-facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 22px;
}
.district-facts-grid h4 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--navy);
}
.district-fact-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
}
.district-fact-list li { margin-bottom: 8px; }
.district-demo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 16px;
}
.district-demo summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
}
.district-demo-note {
  margin: 12px 0 14px;
  font-size: .9rem;
  color: var(--ink-mute);
}
.district-demo-tables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.district-demo-tables table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.district-demo-tables caption {
  text-align: left;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.district-demo-tables th,
.district-demo-tables td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}
.district-demo-tables th { background: var(--field); }
.district-source {
  font-size: .88rem;
  color: var(--ink-mute);
  margin: 0;
}
.flag-pair { display: flex; gap: 16px; justify-content: center; }
.flag-pair img {
  width: 46%; border-radius: 8px; box-shadow: var(--shadow);
  border: 3px solid #fff; outline: 1px solid var(--line);
}

/* ---------- Endorsements ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red);
  border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm);
}
.quote blockquote {
  margin: 0 0 16px; font-size: 1.08rem; color: var(--ink);
  font-style: italic; line-height: 1.55;
}
.quote figcaption { font-weight: 700; color: var(--navy); display: flex; flex-direction: column; }
.quote figcaption span { font-weight: 500; color: var(--ink-mute); font-size: .9rem; }

/* ---------- Elections & Voter Info ---------- */
.datecards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.datecard {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red);
  border-radius: var(--radius); padding: 26px 20px; text-align: center;
}
.date-when {
  display: block; font-family: var(--font-head); font-weight: 700;
  color: var(--navy); font-size: 1.5rem;
}
.datecard h3 { font-size: 1.12rem; color: var(--navy); margin: 8px 0; }
.datecard p { color: var(--ink-soft); margin: 0; font-size: .92rem; }
.voter-links { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }

/* ---------- Get Involved ---------- */
.involve-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: clamp(32px, 5vw, 54px); }
.involve-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius); padding: 28px 24px; color: #fff;
  transition: background .18s ease, transform .18s ease, border-color .18s;
}
.involve-card:hover {
  text-decoration: none; transform: translateY(-3px);
  background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.45);
}
.involve-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 10px;
  background: rgba(255,255,255,.12); color: #fff; margin-bottom: 14px;
}
.involve-ic .ic { width: 26px; height: 26px; }
.involve-card h3 { margin: 0 0 8px; font-size: 1.24rem; color: #fff; }
.involve-card p { color: rgba(255,255,255,.82); font-size: .95rem; margin-bottom: 14px; }
.involve-link {
  display: inline-flex; align-items: center; font-weight: 700;
  color: #fff; font-size: .95rem; border-bottom: 2px solid var(--red); padding-bottom: 2px;
}

.involve-tx-link {
  text-align: center;
  margin: 8px 0 28px;
  color: rgba(255,255,255,.82);
  font-size: .95rem;
}
.involve-tx-link a { color: #fff; text-decoration: underline; font-weight: 600; }
.involve-tx-link a:hover { color: #fff; }

/* ---------- Join form ---------- */
.join-form {
  background: #fff; color: var(--ink); border-radius: 14px;
  padding: clamp(26px, 4vw, 46px); max-width: 780px; margin: 0 auto;
  box-shadow: var(--shadow);
}
.join-form h3 { font-size: 1.7rem; color: var(--navy); text-align: center; }
.join-lead { text-align: center; color: var(--ink-soft); margin: -4px 0 22px; }
.join-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: .88rem; color: var(--navy); }
.field input {
  padding: 13px 16px; border: 1px solid #c9d0db; border-radius: var(--radius-pill);
  font-size: 1rem; font-family: var(--font-body); color: var(--ink);
}
.field input:focus {
  outline: 3px solid rgba(0, 33, 71, .28); outline-offset: 1px; border-color: var(--navy);
}
.join-interests {
  border: 1px solid var(--line); border-radius: 12px; padding: 16px;
  margin: 4px 0 22px; display: flex; flex-wrap: wrap; gap: 10px 22px;
}
.join-interests legend { font-weight: 700; color: var(--navy); padding: 0 6px; }
.join-interests label { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; color: var(--ink-soft); }
.join-interests input { accent-color: var(--navy); }
.join-note { text-align: center; font-weight: 700; color: var(--navy); margin-top: 14px; }
.join-note.is-error { color: var(--red); }
.disclaimer-note { display: block; margin-top: 6px; font-size: .78rem; color: rgba(255,255,255,.45); }
.form-help { text-align: center; color: var(--ink-mute); font-size: .84rem; margin: 14px 0 0; }

/* ---------- Mid-page signup band ---------- */
.signup-band {
  background: var(--navy); color: #fff;
  padding: clamp(30px, 4vw, 44px) 0;
  border-top: 3px solid var(--red); border-bottom: 3px solid var(--red);
}
.signup-band-inner {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center;
}
.signup-band-copy h2 {
  color: #fff; font-size: clamp(1.4rem, 2.5vw, 1.85rem); margin: 0 0 8px;
}
.signup-band-copy p { margin: 0; color: rgba(255,255,255,.86); }
.signup-band-form {
  display: grid; grid-template-columns: 1.4fr .7fr auto; gap: 10px; align-items: start;
}
.signup-band-form input {
  padding: 14px 18px; border: 1px solid transparent; border-radius: var(--radius-pill);
  font: 600 1rem var(--font-body); color: var(--ink);
}
.signup-band-form input:focus {
  outline: 3px solid rgba(255,255,255,.4); outline-offset: 1px;
}
.signup-band-form .join-note {
  grid-column: 1 / -1; margin: 4px 0 0; color: #fff; text-align: left;
}
.signup-band-form .join-note.is-error { color: #ffb4b4; }

/* ---------- Coffee / listen tour ---------- */
.listen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.listen-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; display: flex; flex-direction: column; gap: 10px; min-height: 100%;
}
.listen-card h3 { margin: 0; color: var(--navy); font-size: 1.3rem; }
.listen-card p { margin: 0; color: var(--ink-soft); flex: 1; }
.listen-card .btn { align-self: flex-start; margin-top: 8px; }
.listen-card--home {
  border-color: rgba(191, 10, 10, .35);
  background: linear-gradient(180deg, rgba(191, 10, 10, .06), #fff 42%);
}
.listen-tag {
  display: inline-block; width: fit-content;
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--red); margin: 0 !important;
}
.listen-note { text-align: center; color: var(--ink-mute); margin: 28px 0 0; font-size: .98rem; }

/* ---------- Your Voice inbox ---------- */
.voice-layout {
  display: grid; grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 5vw, 56px); align-items: start;
}
.voice-copy h3 { color: var(--navy); font-size: 1.45rem; margin-top: 0; }
.voice-copy p { color: var(--ink-soft); }
.voice-promises { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 12px; }
.voice-promises li {
  display: flex; align-items: flex-start; gap: 12px;
  font-weight: 600; color: var(--ink);
}
.voice-promises .ic {
  color: var(--navy); background: var(--field); border-radius: 50%;
  padding: 5px; width: 1.9em; height: 1.9em; flex: 0 0 auto; margin-top: 1px;
}
.voice-aside {
  margin-top: 18px; padding: 14px 16px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: .95rem; color: var(--ink-soft);
}
.voice-form {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-sm);
}
.voice-form h3 { color: var(--navy); margin-top: 0; text-align: center; font-size: 1.45rem; }
.voice-form .field { margin-bottom: 16px; }
.voice-form select,
.voice-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #c9d0db; border-radius: 10px;
  font-size: 1rem; font-family: var(--font-body); color: var(--ink); background: #fff;
}
.voice-form textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.voice-form select:focus,
.voice-form textarea:focus {
  outline: 3px solid rgba(0, 33, 71, .28); outline-offset: 1px; border-color: var(--navy);
}
.optional { font-weight: 500; color: var(--ink-mute); font-size: .85em; }
.voice-followup {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 4px 0 20px; color: var(--ink-soft); font-size: .95rem;
}
.voice-followup input { margin-top: 3px; accent-color: var(--navy); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100;
  gap: 10px; padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.sticky-cta .btn { flex: 1; min-height: 48px; }
.sticky-cta.is-away { display: none !important; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; overflow: hidden;
  background: var(--navy-900); color: rgba(255,255,255,.84);
  padding: 50px 0 28px; border-top: 4px solid var(--red);
  margin-bottom: 0;
}
.site-footer::before {
  content: ""; position: absolute; z-index: 0; inset: 0; pointer-events: none;
  background: url("/assets/cp-mark.svg") center / min(36%, 220px) no-repeat; opacity: .06;
}
.footer-grid, .footer-legal { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; align-items: start; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand p { margin: 0; }
.footer-brand strong { color: #fff; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,.84); }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.socials { display: flex; gap: 16px; margin-top: 8px; }
.footer-legal {
  margin-top: 34px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.15); text-align: center;
}
.disclaimer { font-size: .82rem; color: rgba(255,255,255,.6); max-width: 800px; margin: 0 auto 8px; }
.copyright { font-size: .82rem; color: rgba(255,255,255,.55); margin: 0; }

/* ---------- Welcome popup (campaign signup — no WH framing) ---------- */
.welcome-overlay {
  position: fixed; inset: 0; z-index: 2000;
  display: none;
  align-items: center; justify-content: center;
  padding: 20px 16px;
  background: rgba(0, 17, 42, .62);
  backdrop-filter: blur(3px);
}
.welcome-overlay.is-open { display: flex; }
.welcome-overlay[hidden] { display: none !important; }
.welcome-dialog {
  position: relative;
  width: min(100%, 400px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 17, 42, .35);
  text-align: center;
  overflow: hidden;
  padding: 32px 28px 28px;
  max-height: min(92vh, 640px);
  overflow-y: auto;
  border-top: 4px solid var(--red);
}
.welcome-close {
  position: absolute; top: 12px; right: 14px;
  width: 36px; height: 36px; border: 0; background: transparent;
  color: var(--red); font-size: 1.85rem; line-height: 1;
  cursor: pointer; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.welcome-close:hover,
.welcome-close:focus-visible {
  background: rgba(191, 10, 10, .08); outline: none;
}
.welcome-brand { margin: 4px 0 16px; }
.welcome-mark {
  display: block;
  width: 72px; height: 72px;
  margin: 0 auto 12px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 33, 71, .16));
}
.welcome-name {
  margin: 0; font-family: var(--font-head); font-weight: 700;
  font-size: 1.2rem; letter-spacing: .04em; text-transform: uppercase; color: var(--navy);
}
.welcome-sub {
  margin: 6px 0 0; font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute);
}
.welcome-title {
  margin: 0 0 12px; color: var(--navy);
  font-size: clamp(1.45rem, 4.5vw, 1.8rem); line-height: 1.15;
  text-transform: uppercase; letter-spacing: .02em;
}
.welcome-desc {
  margin: 0 auto 22px; max-width: 32ch;
  color: var(--ink-soft); font-size: 1.02rem; line-height: 1.45;
}
.welcome-form {
  display: flex; flex-direction: column; gap: 12px;
  padding: 0;
  position: relative; z-index: 2;
}
.welcome-form input[type="email"] {
  width: 100%; padding: 14px 20px;
  border: 1.5px solid #b8c0cc; border-radius: var(--radius-pill);
  font: 500 1rem var(--font-body); color: var(--ink); text-align: center;
}
.welcome-form input[type="email"]:focus {
  outline: 3px solid rgba(0, 33, 71, .25); outline-offset: 1px; border-color: var(--navy);
}
.welcome-submit {
  width: 100%; font-family: var(--font-head); font-size: 1.05rem;
  letter-spacing: .08em; padding: 15px 24px;
}
.welcome-note { margin: 0; font-size: .92rem; }
body.welcome-open { overflow: hidden; }

@media (max-width: 480px) {
  .welcome-dialog { padding: 28px 18px 22px; border-radius: 14px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .district-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .district-facts-grid,
  .district-demo-tables { grid-template-columns: 1fr; }
  .district-issues { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { max-width: none; }
  .hero-lockup { margin-left: auto; margin-right: auto; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero .eyebrow, .hero-cta, .trust-row { justify-content: center; }
  .hero-cta { justify-content: center; }
  .trust-row { justify-content: center; }
  .hero-portrait { order: -1; }
  .priostrip-grid { grid-template-columns: repeat(2, 1fr); }
  .priostrip-grid > div:nth-child(3) { border-left: 0; }
  .flagship-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-grid { grid-template-columns: 1fr; }
  .about-grid, .district-grid, .district-grid--map, .district-teaser, .voice-layout { grid-template-columns: 1fr; }
  .district-map { max-width: none; margin: 0; height: 440px; }
  .cards, .quotes, .datecards, .listen-grid { grid-template-columns: repeat(2, 1fr); }
  .prio-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .involve-grid { grid-template-columns: repeat(2, 1fr); }
  .signup-band-inner { grid-template-columns: 1fr; text-align: center; }
  .signup-band-form { grid-template-columns: 1fr 1fr; }
  .signup-band-form button { grid-column: 1 / -1; }
  .hero-secondary { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-links { align-items: center; }
}
@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
  }
  .site-header:not(.scrolled) .primary-nav.open {
    background: rgba(0, 17, 42, .97); border-bottom-color: rgba(255,255,255,.12);
  }
  .site-header:not(.scrolled) .primary-nav a { color: #fff; }
  .site-header:not(.scrolled) .primary-nav a:not(.btn) {
    border-bottom-color: rgba(255,255,255,.12);
  }
  .primary-nav.open { max-height: 560px; }
  .primary-nav a:not(.btn) { padding: 16px 22px; border-bottom: 1px solid var(--line); }
  .nav-cta { margin: 14px 22px; text-align: center; justify-content: center; }
  .priostrip-grid, .cards, .quotes, .datecards, .involve-grid, .join-row, .listen-grid, .flagship-grid, .role-grid { grid-template-columns: 1fr; }
  .prio-tiles { grid-template-columns: 1fr; }
  .priostrip-grid > div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .signup-band-form { grid-template-columns: 1fr; }
  .sticky-cta { display: flex; }
  /* Keep navy under the fixed mobile CTA — no white gap after the footer */
  .site-footer {
    padding-bottom: calc(28px + 72px + env(safe-area-inset-bottom, 0px));
  }
  .hero-secondary { flex-direction: column; gap: 8px; }
  .hero-secondary span[aria-hidden="true"] { display: none; }
  .hero-portrait { width: min(220px, 58vw); }
  .chips { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero-media, .hero-video { display: none !important; }
  .prio-chevron { opacity: 1; transform: none; }
}

/* ---------- Inner pages (Transparency, etc.) ---------- */
.page-inner {
  padding-top: 0;
}
.page-inner .site-header {
  position: fixed;
  top: 0;
  background: rgba(255,255,255,.97);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.page-hero {
  position: relative;
  color: #fff;
  background: var(--navy);
  padding: calc(var(--header-h) + 48px) 0 56px;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(115deg, rgba(0, 17, 42, .92) 0%, rgba(0, 33, 71, .78) 55%, rgba(191, 10, 10, .28) 100%),
    url("/assets/flag-hero.jpg?v=3") center / cover no-repeat;
  opacity: 1;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 720px; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  margin: 0 0 14px;
}
.page-hero-lede {
  font-size: 1.15rem;
  color: rgba(255,255,255,.9);
  max-width: 52ch;
  margin: 0 0 16px;
}
.page-hero-updated {
  margin: 0 0 22px;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255,255,255,.78);
}
.page-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.tx-status {
  background: var(--paper-tint);
  border-bottom: 1px solid var(--line);
  padding: 18px 0 22px;
}
.tx-status-inner {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  align-items: baseline;
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
}
.tx-status-inner p { margin: 0; }
.tx-status-note {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: .92rem;
  max-width: 70ch;
}

.tx-placeholder-banner {
  margin: 28px 0 0;
  padding: 14px 18px;
  background: #fff8e8;
  border-left: 4px solid #c48a00;
  color: var(--ink-soft);
  font-size: .95rem;
}

.tx-glance {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.tx-stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  padding: 18px 16px;
  text-align: center;
}
.tx-stat-label {
  margin: 0 0 6px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.tx-stat-value {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  color: var(--navy);
  font-weight: 700;
}
.tx-caption {
  margin: 16px 0 0;
  font-size: .88rem;
  color: var(--ink-mute);
}

.tx-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  background: #fff;
}
.tx-table th,
.tx-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.tx-table th {
  background: var(--navy);
  color: #fff;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
}
.tx-table tbody tr:nth-child(even) { background: var(--paper-tint); }
.tx-pill {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #7a5a00;
  background: #fff0c2;
  border-radius: 3px;
  vertical-align: middle;
}

.tx-filter-bar {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 12px;
  margin-bottom: 16px;
}
.tx-filter-bar input,
.tx-filter-bar select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #b8c0cc;
  border-radius: var(--radius);
  font: 500 1rem var(--font-body);
  color: var(--ink);
  background: #fff;
}
.tx-filter-bar input:focus,
.tx-filter-bar select:focus {
  outline: 3px solid rgba(0, 33, 71, .22);
  border-color: var(--navy);
}

.tx-reports {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  max-width: 640px;
  margin-inline: auto;
}
.tx-reports a {
  display: block;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-weight: 700;
}
.tx-reports a:hover { border-color: var(--red); text-decoration: none; }
.tx-reports-soon {
  text-align: center;
  color: var(--ink-mute);
  font-style: italic;
  padding: 24px;
  border: 1px dashed var(--line);
  background: var(--paper-tint);
}

.tx-method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
.tx-method-grid h3 {
  font-size: 1.35rem;
  margin-top: 0;
}
.tx-method-list {
  margin: 0 0 22px;
  padding-left: 1.15em;
  color: var(--ink-soft);
}
.tx-method-list li { margin-bottom: 10px; }
.tx-disclaimer {
  font-size: .92rem;
  color: var(--ink-soft);
  background: #fff;
  border-left: 4px solid var(--red);
  padding: 14px 16px;
}
.tx-faq-item {
  background: #fff;
  border: 1px solid var(--line);
  padding: 12px 16px;
  margin-bottom: 10px;
}
.tx-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
}
.tx-faq-item p {
  margin: 10px 0 4px;
  color: var(--ink-soft);
  font-size: .95rem;
}
.footer-mailto {
  display: block;
  margin-top: 6px;
  font-size: .88rem;
  color: rgba(255,255,255,.62);
}
.primary-nav a[aria-current="page"] {
  border-bottom-color: var(--red) !important;
}

@media (max-width: 900px) {
  .tx-glance { grid-template-columns: repeat(2, 1fr); }
  .tx-method-grid { grid-template-columns: 1fr; }
  .tx-filter-bar { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .tx-glance { grid-template-columns: 1fr; }
}

/* ---------- Policy platform pages ---------- */
.policy-hero {
  position: relative;
  min-height: clamp(280px, 42vw, 420px);
  display: flex;
  align-items: flex-end;
  background: var(--navy-900) var(--policy-hero-img) center / cover no-repeat;
  color: #fff;
  margin-top: var(--header-h);
}
.policy-hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,17,42,.35) 0%, rgba(0,17,42,.82) 100%);
}
.policy-hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(36px, 6vw, 64px) 22px clamp(40px, 6vw, 72px);
  max-width: 760px;
}
.policy-hero .eyebrow { color: rgba(255,255,255,.78); }
.policy-hero h1 {
  color: #fff;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  margin-bottom: .45em;
}
.policy-hero-mission {
  color: rgba(255,255,255,.9);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 40rem;
}
.policy-breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding-top: 18px; padding-bottom: 8px;
  font-size: .9rem; color: var(--ink-mute);
}
.policy-breadcrumb a { color: var(--navy); font-weight: 600; }
.policy-principles {
  list-style: none; padding: 0; margin: 8px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.policy-principles li {
  background: var(--field);
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px 12px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.policy-prose { max-width: 760px; }
.policy-prose .section-head { margin-bottom: 18px; }
.policy-list { margin: 0 0 1rem; padding-left: 1.2rem; color: var(--ink-soft); }
.policy-list li { margin-bottom: 10px; }
.policy-callout {
  margin-top: 22px;
  border-left: 4px solid var(--red);
  background: #fff;
  padding: 14px 16px;
  color: var(--ink-soft);
  font-size: .95rem;
}
.policy-faq-item {
  background: #fff;
  border: 1px solid var(--line);
  padding: 12px 16px;
  margin-bottom: 10px;
}
.policy-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
}
.policy-faq-body { margin-top: 10px; color: var(--ink-soft); font-size: .95rem; }
.policy-faq-body p { margin-bottom: .6rem; }
.policy-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.policy-related-card {
  display: flex; flex-direction: column; gap: 6px;
  border: 1px solid var(--line);
  background: var(--paper-tint);
  padding: 18px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s ease, transform .2s ease;
}
.policy-related-card:hover {
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.policy-related-label {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--red);
}
.policy-related-title {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.policy-inline-cta { margin-top: 22px; }
.policy-hub-list { padding-left: 1.2rem; }
.policy-hub-list li { margin-bottom: 18px; }
.policy-hub-list p { margin: 4px 0 0; color: var(--ink-soft); font-size: .95rem; }
.prio-tile-sub {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: none;
  opacity: .9;
  margin-top: 4px;
}

/* Policy widgets */
.policy-widgets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.widget {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-sm);
}
.widget h3 {
  font-size: 1.15rem;
  margin-bottom: .35em;
}
.widget-kicker {
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}
.widget-note, .widget-empty {
  color: var(--ink-soft);
  font-size: .92rem;
}
.widget-progress-list, .widget-timeline-list {
  list-style: none; padding: 0; margin: 14px 0 0;
  display: grid; gap: 12px;
}
.widget-progress-item {
  border-left: 3px solid var(--line);
  padding-left: 12px;
}
.widget-progress-item.is-complete { border-left-color: #2f6b3a; }
.widget-progress-item.is-progress { border-left-color: var(--red); }
.widget-progress-item.is-planned { border-left-color: var(--ink-mute); }
.widget-progress-top {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px;
  margin-bottom: 4px;
}
.widget-status {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.widget-progress-item p { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.widget-timeline-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
}
.widget-timeline-list time {
  font-weight: 800;
  color: var(--navy);
  font-size: .9rem;
}
.widget-timeline-list p { margin: 4px 0 0; font-size: .9rem; color: var(--ink-soft); }
.widget-portal-grid,
.widget-portal-grid {
  list-style: none; padding: 0; margin: 14px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.widget-portal-grid li {
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.widget-portal-grid li span {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink-mute);
}
.widget-table-wrap { overflow-x: auto; margin-top: 12px; }
.widget-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}
.widget-table th, .widget-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.widget-table th {
  background: var(--field);
  color: var(--navy);
  font-weight: 700;
}

@media (max-width: 900px) {
  .policy-related-grid,
  .policy-widgets,
  .widget-portal-grid,
  .widget-portal-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .widget-timeline-list li { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Events calendar ---------- */
.events-list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 0;
}
.events-item {
  display: grid;
  grid-template-columns: minmax(120px, 160px) 1fr;
  gap: 16px 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.events-item:first-child { padding-top: 0; }
.events-item:last-child { border-bottom: 0; }
.events-item-when {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.events-item-when time {
  font-weight: 700;
  color: var(--navy);
  font-size: .95rem;
  line-height: 1.3;
}
.events-item-town {
  font-size: .85rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: .02em;
}
.events-item-body h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
  color: var(--navy);
}
.events-item-place {
  margin: 0 0 8px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.events-item-body p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.events-item-link { margin-top: 8px !important; }
.events-empty {
  text-align: center;
  padding: 36px 20px 28px;
  border-top: 3px solid var(--red);
  background: #fff;
  box-shadow: var(--shadow-sm);
  max-width: 560px;
  margin: 0 auto;
}
.events-empty h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  color: var(--navy);
}
.events-empty p {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 1rem;
}
.events-empty-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.events-note {
  max-width: 640px;
  margin: 22px auto 0;
  text-align: center;
  font-size: .92rem;
  color: var(--ink-mute);
}
@media (max-width: 640px) {
  .events-item { grid-template-columns: 1fr; gap: 8px; }
}

/* ---- Press kit ---- */
.press-assets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 28px;
  max-width: 820px;
  margin-inline: auto;
}
.press-asset {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 22px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 33, 71, 0.12);
}
.press-asset:last-child { border-bottom: 0; }
.press-asset-preview {
  width: 160px;
  height: 160px;
  overflow: hidden;
  background: var(--paper-tint);
}
.press-asset-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.press-asset-preview--mark {
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(0, 33, 71, 0.12);
}
.press-asset-preview--mark img {
  width: 88px;
  height: 88px;
  object-fit: contain;
}
.press-asset-meta h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.25rem;
}
.press-asset-meta p {
  margin: 0 0 14px;
  color: var(--ink-soft);
}
.press-releases {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 640px;
}
.press-releases li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 33, 71, 0.1);
}
@media (max-width: 640px) {
  .press-asset { grid-template-columns: 1fr; }
  .press-asset-preview { width: 120px; height: 120px; }
}

/* ---- Endorsements ---- */
.endorse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.endorse-cat {
  padding: 22px 20px;
  background: #fff;
  border-top: 3px solid var(--navy);
  box-shadow: var(--shadow-sm);
}
.endorse-cat h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.15rem;
}
.endorse-empty {
  margin: 0;
  color: var(--ink-mute);
  font-size: .95rem;
  line-height: 1.45;
}
@media (max-width: 900px) {
  .endorse-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .endorse-grid { grid-template-columns: 1fr; }
}

/* ---- Transparency polish ---- */
.tx-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 18px 0 6px;
  font-size: .92rem;
}
.tx-jump a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tx-distinguish {
  margin: 18px auto 8px;
}
.tx-distinguish-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding: 22px 0 8px;
  border-top: 1px solid rgba(0, 33, 71, 0.1);
  border-bottom: 1px solid rgba(0, 33, 71, 0.1);
}
.tx-distinguish-title {
  margin: 0 0 10px;
  font-size: 1.35rem;
  color: var(--navy);
}
.tx-distinguish p { margin: 0 0 10px; color: var(--ink-soft); }
.tx-nadc-links {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tx-nadc-links a {
  font-weight: 600;
  color: var(--navy);
}
@media (max-width: 720px) {
  .tx-distinguish-grid { grid-template-columns: 1fr; }
}
