/* ==========================================================================
   Hulsey for House
   Brand colors and motifs are taken from the campaign logo:
   red #ED2424, navy #262262, star-and-bar rule, Alabama mark.
   ========================================================================== */

:root {
  --p-gap: 1.2em;          /* the gap under a paragraph */
  --red: #ed2424;
  --red-dark: #c81a1a;
  --red-deep: #a81414;
  --navy: #262262;
  --navy-dark: #1b1848;
  --navy-deeper: #141134;
  --ink: #1b1b28;
  --body: #43434f;
  --muted: #6c6c7a;
  --muted-light: #9a9aa6;
  --gray: #f4f4f7;
  --gray-2: #ebebf0;
  --line: #dcdce3;
  --line-dark: rgba(255, 255, 255, .16);
  --white: #fff;

  --font-head: "Oswald", "Arial Narrow", Arial, sans-serif;
  --font-body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --wrap: 1180px;
  --wrap-narrow: 780px;
  --header-h: 74px;

  /* Fluid spacing scale */
  --s-1: clamp(.5rem, 1.4vw, .75rem);
  --s-2: clamp(.85rem, 2vw, 1.15rem);
  --s-3: clamp(1.25rem, 3vw, 1.75rem);
  --s-4: clamp(1.75rem, 4vw, 2.5rem);
  --s-5: clamp(2.5rem, 5.5vw, 3.75rem);
  --s-6: clamp(3.25rem, 7vw, 5.5rem);

  --shadow-1: 0 1px 3px rgba(27, 27, 40, .06), 0 6px 16px rgba(27, 27, 40, .05);
  --shadow-2: 0 4px 10px rgba(27, 27, 40, .08), 0 16px 40px rgba(27, 27, 40, .10);
  --ease: cubic-bezier(.4, 0, .2, 1);

  /* Star field used at low opacity over navy panels */
  --stars-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cpath d='M36 14l3.4 7.3 8 1-5.9 5.5 1.6 7.9L36 31.9l-7.1 3.8 1.6-7.9-5.9-5.5 8-1z' fill='%23fff' fill-opacity='.032'/%3E%3C/svg%3E");
  --stars-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cpath d='M36 14l3.4 7.3 8 1-5.9 5.5 1.6 7.9L36 31.9l-7.1 3.8 1.6-7.9-5.9-5.5 8-1z' fill='%23262262' fill-opacity='.035'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--red); }
button { font: inherit; color: inherit; }
p { margin: 0 0 var(--p-gap); }
p:last-child { margin-bottom: 0; }

/* A run of paragraphs the website editor can add to or remove from sits in its
   own container (see data-cms-list in assets/js/cms.js). That makes the last
   paragraph of the run a :last-child, which drops the margin separating it from
   the heading or photograph that follows. This puts that margin back — from the
   same variable, so it stays right at every screen size. */
[data-cms-list] > p:last-child { margin-bottom: var(--p-gap); }
ul { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: .5em; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .55em;
  letter-spacing: .005em;
}
h1 { font-size: clamp(2.05rem, 5.2vw, 3rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.3rem); }
h4 { font-size: 1.05rem; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
::selection { background: var(--navy); color: #fff; }
[id] { scroll-margin-top: calc(var(--header-h) + 1.25rem); }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2.25rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.25rem, var(--wrap-narrow)); margin-inline: auto; }
@media (min-width: 560px) { .wrap, .wrap-narrow { width: min(100% - 3rem, var(--wrap)); } }
@media (min-width: 560px) { .wrap-narrow { width: min(100% - 3rem, var(--wrap-narrow)); } }

.section { padding: var(--s-6) 0; position: relative; }
.section--tight { padding: var(--s-5) 0; }
.section--gray { background: var(--gray); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, .84); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }

/* Subtle brand texture on dark panels */
.section--navy, .hero, .page-banner, .footer, .article-head {
  background-image: var(--stars-light);
  background-repeat: repeat;
}
.section--gray { background-image: var(--stars-dark); }

.skip-link {
  position: absolute; left: 1rem; top: -70px;
  background: var(--red); color: #fff; padding: .8rem 1.25rem;
  font-weight: 700; z-index: 300; transition: top .2s;
}
.skip-link:focus { top: 0; }

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

/* ==========================================================================
   Brand rule — the star-and-bar motif from the top of the logo
   ========================================================================== */
.brandrule {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 1.15rem;
}
.brandrule i {
  display: block;
  height: 3px;
  width: 34px;
  background: var(--red);
  flex: none;
}
.brandrule svg { width: 12px; height: 12px; flex: none; fill: var(--navy); }
.brandrule--center { justify-content: center; }
.brandrule--light svg { fill: #fff; }
.section--navy .brandrule svg,
.hero .brandrule svg,
.page-banner .brandrule svg,
.cta .brandrule svg,
.footer .brandrule svg { fill: #fff; }
.cta .brandrule i { background: #fff; }

/* Section headings */
.section-title { margin-bottom: var(--s-4); max-width: 46rem; }
.section-title h2 { margin-bottom: .3rem; }
.section-title p { margin: .65rem 0 0; color: var(--muted); font-size: 1.02rem; }
.section--navy .section-title p { color: rgba(255, 255, 255, .7); }
.section-title--center { margin-inline: auto; text-align: center; }
.section-title--center .brandrule { justify-content: center; }

.eyebrow {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 .5rem;
}
.section--navy .eyebrow, .hero .eyebrow, .page-banner .eyebrow { color: #ff9a9a; }

/* ==========================================================================
   Buttons — 48px minimum height for comfortable tapping
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  background: var(--red);
  color: #fff;
  border: 2px solid var(--red);
  padding: .7rem 1.75rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border-radius: 2px;
  cursor: pointer;
  transition: background .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; box-shadow: var(--shadow-1); }
.btn:active { background: var(--red-deep); border-color: var(--red-deep); }
.btn--navy { background: var(--navy); border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.btn--outline-white:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--lg { min-height: 54px; padding: .85rem 2.1rem; font-size: 1.05rem; }
.btn--sm { min-height: 42px; padding: .45rem 1.15rem; font-size: .9rem; letter-spacing: .05em; }
.btn--block { display: flex; width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-row--center { justify-content: center; }
@media (max-width: 520px) {
  .btn-row { gap: .65rem; }
  .btn-row .btn { width: 100%; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 200;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(38,34,98,.04);
  transition: box-shadow .2s var(--ease);
}
.header::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--navy) 0 33.33%, var(--red) 33.33% 66.66%, var(--navy) 66.66% 100%);
}
.header.is-stuck { box-shadow: 0 4px 18px rgba(27,27,40,.10); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem; min-height: var(--header-h);
}
.brand { display: block; flex: none; padding: .35rem 0; }
.brand img { height: 44px; width: auto; transition: height .2s var(--ease); }
@media (max-width: 400px) { .brand img { height: 38px; } }

.nav { display: none; }
@media (min-width: 1000px) {
  .nav { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
}
.nav__link {
  position: relative;
  display: flex; align-items: center;
  min-height: 44px;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
  transition: color .18s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 10px;
  height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .22s var(--ease);
}
.nav__link:hover { color: var(--red); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--red); }

.header__actions { display: flex; align-items: center; gap: .65rem; }
.header__actions .btn { display: none; }
@media (min-width: 600px) { .header__actions .btn { display: inline-flex; } }

.burger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; padding: 0 11px;
  background: var(--navy); border: 0; border-radius: 2px; cursor: pointer;
}
@media (min-width: 1000px) { .burger { display: none; } }
.burger > span {
  display: block; height: 3px; width: 100%; background: #fff;
  transition: transform .25s var(--ease), opacity .18s var(--ease);
}
.burger[aria-expanded="true"] > span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile menu — animated, not a hard display swap */
.mobile-nav {
  background: var(--navy);
  background-image: var(--stars-light);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .34s var(--ease), opacity .24s var(--ease);
  position: sticky; top: var(--header-h); z-index: 190;
}
.mobile-nav.is-open { max-height: 30rem; opacity: 1; }
@media (min-width: 1000px) { .mobile-nav { display: none; } }
.mobile-nav__inner { padding: .5rem 0 1.25rem; }
.mobile-nav a.mobile-nav__link {
  display: flex; align-items: center;
  min-height: 52px;
  font-family: var(--font-head);
  font-size: 1.05rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid var(--line-dark);
  transition: color .18s var(--ease), padding-left .18s var(--ease);
}
.mobile-nav a.mobile-nav__link:hover,
.mobile-nav a.mobile-nav__link[aria-current="page"] { color: #ff9a9a; padding-left: .35rem; }
.mobile-nav .btn { margin-top: 1.1rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: var(--s-5) 0 var(--s-5);
  overflow: hidden;
  border-bottom: 4px solid var(--red);
}
/* The Alabama mark. It used to bleed off the right and bottom edges, so the
   clipped shape read as a pale rectangle rather than a state. It now sits
   wholly inside the panel, in the open navy between the text and the
   portrait — and only at widths where that gap actually exists. Below 1100px
   the two columns meet, and a mark half-hidden behind the portrait looks like
   the same mistake, so it steps aside and the star field carries the brand. */
.hero__mark { display: none; }
@media (min-width: 1100px) {
  .hero__mark {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateX(3.5rem);
    width: clamp(8.5rem, 17vw, 15rem);
    height: auto;
    opacity: .08;
    pointer-events: none;
  }
}


.hero__inner {
  position: relative; z-index: 2;
  display: grid;
  gap: var(--s-3);
  grid-template-areas: "intro" "photo" "body";
}
@media (min-width: 860px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) 372px;
    grid-template-areas: "intro photo" "body photo";
    gap: var(--s-3) var(--s-5);
    align-items: center;
  }
  .hero__intro { align-self: end; }
  .hero__body { align-self: start; }
}
.hero__intro { grid-area: intro; }
.hero__body { grid-area: body; }
.hero__photo { grid-area: photo; }

.hero__label {
  font-family: var(--font-head);
  font-size: clamp(.72rem, 2.4vw, .88rem);
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #ff9a9a;
  margin: 0 0 .55rem;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 9vw, 4rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1;
  margin-bottom: .45rem;
}
.hero__sub {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(1rem, 3.4vw, 1.3rem);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
  margin: 0;
}
.hero__body p {
  color: rgba(255, 255, 255, .84);
  max-width: 52ch;
  font-size: clamp(1rem, 2.6vw, 1.08rem);
}
.hero .btn-row { margin-top: var(--s-3); }

/* Portrait with offset red block */
.portrait {
  position: relative;
  width: min(310px, 78vw);
  margin-inline: auto;
}
@media (min-width: 860px) { .portrait { width: 100%; max-width: 372px; } }
.portrait::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  background: var(--red);
  z-index: 0;
}
.portrait__img {
  position: relative; z-index: 1;
  border: 6px solid #fff;
  background: #fff;
  line-height: 0;
}
.portrait__img img { width: 100%; height: auto; }
.portrait__badge {
  position: absolute;
  left: -14px; bottom: -14px;
  z-index: 2;
  width: 62px; height: 62px;
  background: #fff;
  border: 3px solid var(--navy);
  display: grid; place-items: center;
  padding: 8px;
}
.portrait__badge img { width: 100%; height: auto; }
@media (max-width: 400px) {
  .portrait__badge { width: 52px; height: 52px; left: -10px; bottom: -10px; }
}

/* ==========================================================================
   Fact bar — its own narrow strip under the hero, in grey rather than navy, so
   the three headline numbers read as a separate beat between the opening panel
   and the biography.
   ========================================================================== */
.factbar {
  background: var(--gray);
  background-image: var(--stars-dark);
  border-bottom: 1px solid var(--line);
}
.factbar__grid { display: grid; }
@media (min-width: 700px) { .factbar__grid { grid-template-columns: repeat(3, 1fr); } }

.factbar__item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem .25rem;
  border-bottom: 1px solid var(--line);
}
.factbar__item:last-child { border-bottom: 0; }
@media (min-width: 700px) {
  .factbar__item {
    flex-direction: column; text-align: center; gap: .3rem;
    padding: 1.85rem 1.25rem;
    border-bottom: 0;
    border-left: 1px solid var(--line);
  }
  .factbar__item:first-child { border-left: 0; }
}
.factbar__num {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.5rem, 5vw, 2.05rem);
  color: var(--red);
  line-height: 1;
  flex: none;
  min-width: 5.5rem;
}
@media (min-width: 700px) { .factbar__num { min-width: 0; } }
.factbar__label {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ==========================================================================
   Column layouts
   ========================================================================== */
.cols { display: grid; gap: var(--s-4); align-items: start; }
@media (min-width: 900px) {
  .cols { grid-template-columns: 1fr 1fr; gap: var(--s-5); }
  .cols--photo { grid-template-columns: 340px minmax(0, 1fr); align-items: center; }
  .cols--sidebar { grid-template-columns: minmax(0, 1fr) 340px; }
}

/* Framed photo with red offset */
.photo-frame {
  position: relative;
  margin: 0 auto;
  width: min(320px, 78vw);
}
@media (min-width: 900px) { .photo-frame { width: 100%; } }
/* The red offset block sits behind the photograph only, never the caption. */
.photo-frame__shot { position: relative; }
.photo-frame__shot::before {
  content: "";
  position: absolute;
  inset: 12px -12px -12px 12px;
  background: var(--red);
  z-index: 0;
}
.photo-frame__inner {
  position: relative; z-index: 1;
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px;
}
.photo-frame img { width: 100%; height: auto; }
.photo-frame figcaption {
  margin-top: 12px;
  padding: .85rem .25rem .15rem;
  font-size: .88rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.45;
}
.photo-frame figcaption strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: .02em;
}

/* ---------- Quote ---------- */
.quote {
  position: relative;
  border-left: 4px solid var(--red);
  background: var(--gray);
  padding: 1.5rem 1.6rem 1.5rem 1.7rem;
  margin: var(--s-3) 0;
  font-size: clamp(1.02rem, 2.4vw, 1.12rem);
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
}
.quote p { margin-bottom: 0; }
.quote cite {
  display: flex; align-items: center; gap: .55rem;
  margin-top: .95rem;
  font-style: normal;
  font-family: var(--font-head);
  font-size: .92rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
}
.quote cite::before {
  content: ""; width: 22px; height: 2px; background: var(--red); flex: none;
}
.section--navy .quote { background: rgba(255,255,255,.05); color: #fff; }
.section--navy .quote cite { color: #ff9a9a; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative;
  padding-left: 2.15rem;
  margin-bottom: 1.05rem;
  line-height: 1.6;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: .42rem;
  width: 12px; height: 7px;
  border-left: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  transform: rotate(-45deg);
}
.checklist strong {
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .01em;
}
.section--navy .checklist strong { color: #fff; }
.section--navy .checklist li { color: rgba(255,255,255,.8); }

/* ==========================================================================
   Issue cards
   ========================================================================== */
.issue-grid { display: grid; gap: 1.15rem; }
@media (min-width: 660px) { .issue-grid { grid-template-columns: repeat(2, 1fr); gap: 1.35rem; } }
@media (min-width: 1000px) { .issue-grid { grid-template-columns: repeat(3, 1fr); } }

.issue-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.6rem 1.5rem 1.55rem;
  overflow: hidden;
  transition: box-shadow .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}
.issue-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--red);
  transform: scaleX(1); transform-origin: left;
}
.issue-card:hover { box-shadow: var(--shadow-2); border-color: transparent; transform: translateY(-3px); }
.issue-card__mark {
  width: 26px; height: auto;
  margin-bottom: .9rem;
  opacity: .95;
}
.issue-card h3 { margin-bottom: .45rem; }
.issue-card p { margin-bottom: 0; font-size: .97rem; color: var(--body); }

/* Issues page blocks */
.issue-block { padding: var(--s-4) 0; border-top: 1px solid var(--line); }
.issue-block:first-of-type { border-top: 0; padding-top: 0; }
.issue-block__grid { display: grid; gap: var(--s-2); }
@media (min-width: 860px) {
  .issue-block__grid { grid-template-columns: 300px minmax(0, 1fr); gap: var(--s-5); }
  .issue-block__head { position: sticky; top: calc(var(--header-h) + 1.75rem); }
}
.issue-block h2 { margin-bottom: 0; font-size: clamp(1.4rem, 3vw, 1.85rem); }
.issue-block__head .brandrule { margin-top: .85rem; margin-bottom: 0; }
.issue-block__body p:last-child { margin-bottom: 0; }

/* ==========================================================================
   News
   ========================================================================== */
.news-bar {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
  padding-bottom: 1.15rem;
  margin-bottom: var(--s-4);
  border-bottom: 2px solid var(--line);
}
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filters button {
  min-height: 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: .4rem 1.05rem;
  font-family: var(--font-head);
  font-size: .92rem;
  letter-spacing: .04em;
  color: var(--body);
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.filters button:hover { border-color: var(--navy); color: var(--navy); }
.filters button.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.searchbox { position: relative; flex: 1 1 210px; max-width: 300px; }
.searchbox input {
  width: 100%;
  min-height: 44px;
  padding: .55rem .85rem .55rem 2.4rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: inherit;
  font-size: .95rem;
  background: #fff;
}
.searchbox input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(38,34,98,.1); }
.searchbox svg {
  position: absolute; left: .8rem; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; fill: var(--muted-light); pointer-events: none;
}

.news-list { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .news-list { grid-template-columns: repeat(2, 1fr); gap: 1.35rem; } }
@media (min-width: 1020px) { .news-list { grid-template-columns: repeat(3, 1fr); } }

.news-item {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  overflow: hidden;
  transition: box-shadow .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}
.news-item:hover { box-shadow: var(--shadow-2); border-color: transparent; transform: translateY(-3px); }
.news-item__top {
  display: flex; align-items: center; gap: .6rem;
  background: var(--navy);
  background-image: var(--stars-light);
  padding: .6rem 1.35rem;
}
.news-item__top img { width: 15px; height: auto; flex: none; }
.news-item__cat {
  font-family: var(--font-head);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
}
.news-item__date {
  margin-left: auto;
  font-size: .75rem;
  letter-spacing: .06em;
  color: rgba(255,255,255,.6);
}
.news-item__body { padding: 1.35rem 1.35rem 1.45rem; display: flex; flex-direction: column; flex: 1; }
.news-item h3 { font-size: 1.12rem; margin-bottom: .5rem; line-height: 1.3; }
.news-item p { color: var(--body); font-size: .94rem; margin-bottom: 1.1rem; }
.news-item__more {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-head);
  font-size: .88rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
}
.news-item__more::after {
  content: ""; width: 16px; height: 2px; background: var(--red);
  transition: width .22s var(--ease);
}
.news-item:hover .news-item__more::after { width: 26px; }

.no-results {
  padding: var(--s-5) 1rem;
  text-align: center;
  color: var(--muted);
  border: 1px solid var(--line);
  background: #fff;
}

/* Article */
.article-head {
  background: var(--navy);
  color: #fff;
  padding: var(--s-5) 0;
  border-bottom: 4px solid var(--red);
}
.article-head h1 { color: #fff; font-size: clamp(1.7rem, 4.4vw, 2.5rem); }
.article-head__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  font-family: var(--font-head);
  font-size: .84rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #ff9a9a;
  margin-bottom: .85rem;
}
.article-head__meta span { color: rgba(255,255,255,.6); }
.article-body { font-size: 1.05rem; }
.article-body h2 { font-size: clamp(1.3rem, 3vw, 1.55rem); margin: 2rem 0 .65rem; }
.article-body ul { margin-bottom: 1.35rem; }
.article-body p { margin-bottom: 1.2em; }

/* Share row on a news post */
.share {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
}
.share > span {
  font-family: var(--font-head);
  font-size: .8rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: .2rem;
}
.share a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  transition: background .18s var(--ease), border-color .18s var(--ease);
}
.share a:hover { background: var(--navy); border-color: var(--navy); }
.share a svg { width: 17px; height: 17px; fill: var(--navy); transition: fill .18s var(--ease); }
.share a:hover svg { fill: #fff; }

.article-foot {
  display: grid; gap: 1rem;
  margin-top: var(--s-4); padding-top: var(--s-3);
  border-top: 1px solid var(--line);
}
@media (min-width: 640px) { .article-foot { grid-template-columns: 1fr 1fr; } }
.article-foot a {
  display: block;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.35;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.article-foot a:hover { border-color: var(--navy); box-shadow: var(--shadow-1); }
.article-foot small {
  display: block;
  font-family: var(--font-head);
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .3rem;
}
.article-foot .next { text-align: right; }

/* ==========================================================================
   Donate
   ========================================================================== */
.donate-box {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  padding: var(--s-3);
  box-shadow: var(--shadow-1);
}
.donate-box::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--navy) 0 33.33%, var(--red) 33.33% 66.66%, var(--navy) 66.66% 100%);
}
.donate-box h2 { margin-top: .5rem; }

.freq {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1.15rem;
}
.freq button {
  min-height: 48px;
  background: #fff; border: 0; cursor: pointer;
  padding: .7rem .75rem;
  font-family: var(--font-head);
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.freq button + button { border-left: 1px solid var(--line); }
.freq button.is-active { background: var(--navy); color: #fff; }

.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1rem; }
.amounts button {
  min-height: 56px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 2px;
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--navy);
  cursor: pointer;
  transition: border-color .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}
.amounts button:hover { border-color: var(--navy); }
.amounts button.is-active { background: var(--red); border-color: var(--red); color: #fff; }

.other-amount { position: relative; margin-bottom: 1.2rem; }
.other-amount span {
  position: absolute; left: .9rem; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: 1.05rem; font-family: var(--font-head);
}
.other-amount input {
  width: 100%;
  min-height: 52px;
  padding: .8rem .9rem .8rem 2rem;
  border: 2px solid var(--line);
  border-radius: 2px;
  font-family: inherit; font-size: 1rem;
}
.other-amount input:focus { outline: none; border-color: var(--navy); }

.legal {
  font-size: .82rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 1.2rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-head);
  font-size: .92rem;
  letter-spacing: .05em;
  color: var(--navy);
}
.field input, .field textarea {
  min-height: 50px;
  padding: .75rem .9rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(38,34,98,.1);
}
.field.has-error input, .field.has-error textarea { border-color: var(--red); }
.field__error { display: none; font-size: .85rem; color: var(--red); }
.field.has-error .field__error { display: block; }

.checkboxes { display: grid; gap: .55rem; }
@media (min-width: 540px) { .checkboxes { grid-template-columns: 1fr 1fr; } }
.checkboxes label {
  display: flex; align-items: center; gap: .7rem;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: .6rem .9rem;
  background: #fff;
  font-size: .95rem;
  cursor: pointer;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.checkboxes label:hover { border-color: var(--navy); }
.checkboxes label:has(input:checked) { border-color: var(--red); background: #fdf1f1; }
.checkboxes input { accent-color: var(--red); width: 19px; height: 19px; flex: none; }

.form-note { font-size: .9rem; color: var(--muted); }

.form-done {
  display: none;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  background: var(--gray);
  padding: 1.6rem;
}
.form-done.is-visible { display: block; }
.form-done h3 { margin-bottom: .3rem; }

/* Email signup */
.signup {
  position: relative;
  background: var(--navy);
  background-image: var(--stars-light);
  color: #fff;
  padding: var(--s-4);
  overflow: hidden;
}
.signup::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--red);
}
.signup h2 { color: #fff; margin-bottom: .35rem; }
.signup p { color: rgba(255,255,255,.78); }
.signup-form { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.signup-form input {
  flex: 1 1 230px;
  min-height: 52px;
  padding: .8rem 1rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: inherit; font-size: 1rem;
}
.signup-form input:focus { outline: none; box-shadow: 0 0 0 3px rgba(237,36,36,.5); }
@media (max-width: 520px) { .signup-form .btn { width: 100%; } }

/* ---------- Call to action band ---------- */
.cta {
  position: relative;
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: var(--s-5) 0;
  overflow: hidden;
}
.cta__mark {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 20rem; opacity: .07;
  pointer-events: none;
}
.cta > .wrap { position: relative; z-index: 2; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.94); max-width: 58ch; margin-inline: auto; }

/* ==========================================================================
   Interior page banner
   ========================================================================== */
.page-banner {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: var(--s-5) 0;
  border-bottom: 4px solid var(--red);
  overflow: hidden;
}
.page-banner__mark {
  position: absolute;
  right: -2rem; top: 50%;
  transform: translateY(-50%);
  width: 15rem; opacity: .06;
  pointer-events: none;
}
.page-banner > .wrap { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; margin-bottom: .35rem; text-transform: uppercase; }
.page-banner p { color: rgba(255,255,255,.8); margin: .75rem 0 0; max-width: 60ch; }
.crumbs {
  font-family: var(--font-head);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin: 0 0 .9rem;
}
.crumbs a { color: rgba(255,255,255,.5); text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* ---------- Fact list ---------- */
.bio-facts {
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  background: #fff;
  margin: 0;
}
.bio-facts > div {
  padding: .9rem 1.15rem;
  border-bottom: 1px solid var(--line);
}
.bio-facts > div:last-child { border-bottom: 0; }
.bio-facts dt {
  font-family: var(--font-head);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .1rem;
}
.bio-facts dd { margin: 0; color: var(--navy); font-size: .97rem; line-height: 1.5; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.7);
  padding: var(--s-5) 0 1.75rem;
  font-size: .95rem;
}
.footer::before {
  content: "";
  display: block;
  height: 4px;
  margin-bottom: var(--s-5);
  background: linear-gradient(90deg, var(--navy) 0 33.33%, var(--red) 33.33% 66.66%, var(--navy) 66.66% 100%);
}
.footer__grid { display: grid; gap: var(--s-3); }
@media (min-width: 780px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; gap: var(--s-4); } }
.footer__logo {
  background: #fff;
  padding: .85rem 1rem;
  width: fit-content;
  margin-bottom: 1.15rem;
}
.footer__logo img { height: 52px; width: auto; }
.footer h4 {
  color: #fff;
  font-size: .92rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--line-dark);
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .1rem; }
.footer a { color: rgba(255,255,255,.7); text-decoration: none; }
.footer li a, .footer li span { display: inline-flex; align-items: center; min-height: 40px; }
.footer a:hover { color: #fff; }
.socials { display: flex; gap: .5rem; margin-top: 1.2rem; }
.socials a {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.28);
  display: grid; place-items: center;
  border-radius: 2px;
  transition: background .18s var(--ease), border-color .18s var(--ease);
}
.socials a:hover { background: var(--red); border-color: var(--red); }
.socials svg { width: 17px; height: 17px; fill: #fff; }
.footer__legal {
  margin-top: var(--s-4);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: .6rem 1.25rem;
  justify-content: space-between;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}

/* ==========================================================================
   Sticky mobile call to action
   ========================================================================== */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 150;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
  padding: .6rem .9rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 3px solid var(--navy);
  box-shadow: 0 -4px 18px rgba(27,27,40,.12);
  transform: translateY(110%);
  transition: transform .3s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { min-height: 46px; font-size: .92rem; padding: .5rem .75rem; width: 100%; }
@media (min-width: 1000px) { .mobile-cta { display: none; } }
body.has-mobile-cta { padding-bottom: 5.25rem; }
@media (min-width: 1000px) { body.has-mobile-cta { padding-bottom: 0; } }

/* ==========================================================================
   Motion
   ========================================================================== */
[data-fade] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
[data-fade].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  [data-fade] { opacity: 1 !important; transform: none !important; }
  .mobile-nav { transition: none; }
}

/* Inline links inside the fact list are primary actions on mobile,
   so give them a full-height tap area. */
.bio-facts dd a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  word-break: break-word;
}

/* Small muted helper text under forms and the news list */
.form-hint { color: var(--muted); font-size: .95rem; line-height: 1.6; }
.form-hint a { font-weight: 600; }
/* ==========================================================================
   Photography

   The five campaign photographs are modest-resolution files, so the rule
   throughout is: show every one at its own native shape and never blow it up
   past the pixels it actually has. Frames are sized to match, which is what
   keeps them looking sharp instead of soft.

     leigh-portrait.jpg      447 x 447   square    hero, about sidebar
     leigh-press.jpg         554 x 554   square    home about, donate
     leigh-house-floor.jpg   738 x 414   16:9      record band, about page
     leigh-headshot.jpg      640 x 320   2:1       contact sidebar
     leigh-community.webp   1439 x 809   16:9      full-bleed photo bands
   ========================================================================== */

/* The media box reserves its space from the aspect ratio before the file
   arrives, so nothing on the page jumps while photographs load. */
.media {
  position: relative;
  overflow: hidden;
  line-height: 0;
  background: var(--navy-deeper) var(--stars-light);
}
.media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.media--square { aspect-ratio: 1 / 1; }
.media--wide   { aspect-ratio: 16 / 9; }
.media--pano   { aspect-ratio: 2 / 1; }

/* With JavaScript on, a photograph settles in rather than snapping in over
   the placeholder. Without it the image is simply visible from the start. */
html.js .media > img {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .5s var(--ease), transform .8s var(--ease);
}
html.js .media > img.is-loaded { opacity: 1; transform: none; }

/* Hero portrait — square file, square frame, no crop. */
.portrait__img img { aspect-ratio: 1 / 1; object-fit: cover; object-position: center 14%; }

/* Framed photos default to the square shape, because the two portrait-style
   files are square. Landscape files use the modifiers below. */
.photo-frame .media { aspect-ratio: 1 / 1; }
.photo-frame--wide .media { aspect-ratio: 16 / 9; }
.photo-frame--pano .media { aspect-ratio: 2 / 1; }
.photo-frame img { width: 100%; height: 100%; }

/* Wider frames need more room than the 320px column a square photo sits in. */
.photo-frame--wide, .photo-frame--pano { width: min(420px, 88vw); }
@media (min-width: 900px) { .photo-frame--wide, .photo-frame--pano { width: 100%; } }

/* A centred, width-capped figure for the flow of a body column. */
.photo-frame--inset { width: min(100%, 470px); margin-inline: auto; }
.photo-frame--inset.photo-frame--wide { width: min(100%, 620px); }

/* ==========================================================================
   Photo band — a full-bleed photograph with a navy scrim and a short message
   laid over it. Breaks up the run of text sections with a real, human image
   while staying inside the brand palette.
   ========================================================================== */
.photo-band {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(330px, 72vw, 460px);
  background: var(--navy-deeper);
  overflow: hidden;
  border-top: 4px solid var(--red);
  border-bottom: 4px solid var(--red);
}
.photo-band__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Portrait-shaped frame on a phone: hold Leigh and the handshake centre. */
  object-position: 48% 26%;
}
/* Darken the lower half so the message reads over the police cruiser. */
.photo-band__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg,
      rgba(20, 17, 52, .95) 2%,
      rgba(20, 17, 52, .82) 26%,
      rgba(20, 17, 52, .38) 52%,
      rgba(20, 17, 52, .06) 78%);
}
.photo-band__inner { position: relative; z-index: 2; }
.photo-band__content { max-width: 34rem; padding: var(--s-4) 0 2.4rem; }
.photo-band__content .eyebrow { color: #ff9a9a; }
.photo-band__content h2 { color: #fff; margin-bottom: .5rem; }
.photo-band__content p {
  color: rgba(255, 255, 255, .93);
  margin: 0;
  font-size: clamp(1rem, 2.6vw, 1.1rem);
  max-width: 46ch;
}
@media (min-width: 760px) {
  .photo-band { align-items: center; min-height: clamp(420px, 48vw, 580px); }
  .photo-band__img { object-position: 60% 30%; }
  /* Pull the dark side to the left so the text sits over the officer and the
     vehicle while Leigh stays clear on the right. */
  .photo-band__scrim {
    background:
      linear-gradient(90deg,
        rgba(20, 17, 52, .92) 0%,
        rgba(20, 17, 52, .70) 38%,
        rgba(20, 17, 52, .16) 70%,
        rgba(20, 17, 52, 0) 100%);
  }
  .photo-band__content { padding: 0; }
}

/* Shorter variant used to break up a long interior page. */
.photo-band--slim { min-height: clamp(300px, 64vw, 360px); }
.photo-band--slim .photo-band__scrim {
  background:
    linear-gradient(0deg,
      rgba(20, 17, 52, .95) 4%,
      rgba(20, 17, 52, .86) 40%,
      rgba(20, 17, 52, .48) 66%,
      rgba(20, 17, 52, .10) 88%);
}
@media (min-width: 760px) { .photo-band--slim { min-height: clamp(300px, 30vw, 380px); } }
.photo-band--slim .photo-band__content h2 { font-size: clamp(1.45rem, 3.2vw, 1.9rem); }

/* ==========================================================================
   Framed photograph on a navy panel. On the home page this closes the record
   section across both text columns; the width is capped at the file's own
   738px so the picture is shown at full resolution and never scaled up.
   ========================================================================== */
.record-figure {
  width: min(100% - 2.25rem, 738px);
  margin: var(--s-5) auto 0;
}
@media (min-width: 560px) { .record-figure { width: min(100% - 3rem, 738px); } }
.record-figure .lockup__caption { text-align: center; }

.lockup__media {
  position: relative;
  border: 5px solid #fff;
  border-bottom: 5px solid var(--red);
  background: #fff;
}
.lockup__caption {
  margin: .8rem 0 0;
  font-size: .86rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, .6);
}
.section--navy .lockup__caption strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .78rem;
  color: #ff9a9a;
  margin-bottom: .15rem;
}

/* ==========================================================================
   Rails — on a phone, a run of six issue cards or three news cards turns into
   a very long scroll. Below the two-column breakpoint those grids become
   horizontal, snapping rails that bleed to the edge of the screen, with a
   progress indicator underneath. Nothing is hidden: the same cards are there,
   they are read across instead of down.
   ========================================================================== */
.rail-dots { display: none; }

@media (max-width: 659px) {
  [data-rail] {
    --rail-pad: 1.125rem;
    grid-auto-flow: column;
    grid-auto-columns: min(80%, 310px);
    grid-template-columns: none;
    gap: .85rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--rail-pad);
    padding: 3px var(--rail-pad) .5rem;
    margin-inline: calc(var(--rail-pad) * -1);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  [data-rail]::-webkit-scrollbar { display: none; }
  [data-rail] > * { scroll-snap-align: start; }

  /* The last card gets a trailing gutter so it can snap clear of the edge. */
  [data-rail]::after { content: ""; width: .25rem; }

  .rail-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .35rem;
    margin-top: .9rem;
  }
  .rail-dots b {
    display: block;
    width: 7px; height: 7px;
    border-radius: 99px;
    background: var(--line);
    transition: width .25s var(--ease), background .25s var(--ease);
  }
  .rail-dots b.is-on { width: 22px; background: var(--red); }
  .section--gray .rail-dots b { background: var(--gray-2); }
  .section--gray .rail-dots b.is-on { background: var(--red); }
}

/* ==========================================================================
   Mobile
   The whole page is re-tuned below 720px: a shorter vertical rhythm, a
   compact header, a hero that fits the opening screen, and consistent red
   seams where a dark panel meets a light one so the sections read as one
   banded page rather than a stack of unrelated slabs.
   ========================================================================== */
@media (max-width: 720px) {
  :root {
    --header-h: 64px;
    --s-3: 1.05rem;
    --s-4: 1.5rem;
    --s-5: 2.1rem;
    --s-6: 2.7rem;
  }

  body { font-size: 16.5px; line-height: 1.62; }
  :root { --p-gap: 1.05em; }

  .brand img { height: 40px; }
  .header::after { height: 3px; }

  /* Headings sit closer to the text they introduce. */
  .section-title { margin-bottom: var(--s-3); }
  h1, h2, h3 { line-height: 1.12; }
  h2 { margin-bottom: .4em; }

  /* Hero: less air around a smaller portrait, and the two calls to action
     side by side instead of two full-width stacked bars. */
  .hero { padding: var(--s-4) 0 var(--s-5); }
  .hero__inner { gap: var(--s-3); }
  .hero h1 { margin-bottom: .3rem; }
  .hero__body p { font-size: 1rem; }
  .hero .btn-row { margin-top: var(--s-3); }
  .hero .btn-row .btn { flex: 1 1 0; width: auto; min-width: 0; padding: .8rem .5rem; font-size: .95rem; }
  .portrait { width: min(258px, 64vw); }
  .portrait__img { border-width: 5px; }
  /* The red offset block and the badge hang 14px below the portrait's own box,
     which left the star rule underneath sitting almost against them. Reserve
     that overhang so the space below the photo matches the space above it. */
  .hero__photo { padding-bottom: 14px; }

  /* Dark panels are edged in red on both sides, matching the hero and the
     photo band, so every change of background reads as a deliberate seam. */
  .section--navy { border-top: 4px solid var(--red); border-bottom: 4px solid var(--red); }

  /* Framed photographs run a little wider on a narrow screen. */
  .photo-frame { width: min(340px, 82vw); }
  .photo-frame--wide, .photo-frame--pano { width: 100%; }
  .photo-frame figcaption { font-size: .85rem; }

  .lockup { gap: var(--s-3); }

  /* Cards carry less padding so more of each one is content. */
  .issue-card { padding: 1.3rem 1.2rem 1.25rem; }
  .issue-card p { font-size: .95rem; }
  .news-item__body { padding: 1.1rem 1.15rem 1.25rem; }
  .news-item p { font-size: .93rem; margin-bottom: .9rem; }

  .quote { padding: 1.2rem 1.2rem 1.2rem 1.3rem; margin: var(--s-3) 0; }
  .checklist li { margin-bottom: .85rem; padding-left: 1.9rem; }
  .signup { padding: var(--s-3); }
  .bio-facts > div { padding: .75rem 1rem; }

  /* The sticky bar is on screen the whole way down; give it back some height. */
  .mobile-cta { padding: .5rem .8rem calc(.5rem + env(safe-area-inset-bottom)); gap: .5rem; }
  .mobile-cta .btn { min-height: 44px; font-size: .88rem; }
  body.has-mobile-cta { padding-bottom: 4.5rem; }

  /* The star texture is proportionally much louder on a small screen. */
  .section--gray, .factbar { background-size: 108px 108px; }
}

@media (max-width: 400px) {
  .hero .btn-row .btn { font-size: .88rem; letter-spacing: .04em; }
}

/* ==========================================================================
   Mobile menu — an overlay panel rather than a block that pushes the page
   down and springs it back when the menu closes.
   ========================================================================== */
@media (max-width: 999px) {
  .mobile-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    max-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 18px 40px rgba(20, 17, 52, .3);
    border-bottom: 3px solid var(--red);
  }
  .mobile-nav.is-open { max-height: calc(100dvh - var(--header-h)); }
}
/* The menu overlays the page, so the page behind it holds still. This has to
   sit on the scrolling element itself: html carries overflow-x, which stops an
   overflow rule on body from propagating to the viewport, and turning body
   into its own scroll container would drop the scroll position on close. */
html.nav-open { overflow: hidden; }

/* ==========================================================================
   News cards and articles carrying a photograph. A post published with a
   picture leads with it on the card and at the top of the article; a post
   without one keeps the plain card, so the two sit together in the grid.
   ========================================================================== */
.news-item__media { background: var(--gray-2); }
.news-item__media img { width: 100%; height: 100%; object-fit: cover; }
.news-item--photo .news-item__top { border-top: 3px solid var(--red); }

.article-hero { margin: 0 0 var(--s-3); }
.article-hero .media {
  border: 5px solid #fff;
  border-bottom: 5px solid var(--red);
  box-shadow: var(--shadow-1);
  background: var(--gray-2);
}
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-hero figcaption {
  margin-top: .75rem;
  font-size: .87rem;
  line-height: 1.45;
  color: var(--muted);
}
@media (max-width: 720px) {
  .article-hero { margin-bottom: var(--s-2); }
  .article-hero .media { border-width: 4px; }
}

/* A quote inside a post body, styled like the pull quotes elsewhere on the
   site. Posts are written in Markdown, which produces a plain <blockquote>. */
.article-body blockquote {
  margin: var(--s-3) 0;
  padding: 1.35rem 1.5rem;
  border-left: 4px solid var(--red);
  background: var(--gray);
  font-style: italic;
  font-size: 1.04rem;
  line-height: 1.6;
  color: var(--ink);
}
.article-body blockquote p:last-child { margin-bottom: 0; }
@media (max-width: 720px) {
  .article-body blockquote { padding: 1.1rem 1.15rem; font-size: 1rem; }
}
