/* ==========================================================================
   Miami Township Fire-Rescue Levy 2026 - Issue 20
   mtfrlevy.org/2026/
   ========================================================================== */

:root {
  --ink:        #15171c;
  --charcoal:   #242932;
  --slate:      #4a515e;
  --muted:      #6d7480;
  --line:       #dcd6cc;
  --line-soft:  #ebe6de;
  --paper:      #fbf8f4;
  --paper-warm: #f4efe7;
  --white:      #ffffff;
  --red:        #c8102e;
  --red-dark:   #96001f;
  --red-tint:   #fdeef0;
  --gold:       #b8791b;
  --gold-tint:  #fdf4e4;
  --green:      #1f6b4a;

  --wrap: 1120px;
  --narrow: 760px;

  --sans: "Barlow", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;

  --r: 6px;
  --shadow: 0 1px 2px rgba(21,23,28,.06), 0 6px 20px rgba(21,23,28,.07);
  --shadow-lg: 0 2px 4px rgba(21,23,28,.06), 0 18px 48px rgba(21,23,28,.12);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

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

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

h1, h2, h3, h4 {
  font-family: var(--cond);
  font-weight: 700;
  line-height: 1.08;
  color: var(--ink);
  letter-spacing: -.005em;
  margin: 0 0 .5em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

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

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

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 20px; font-weight: 600;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- Eyebrow / section headers ---------------------------------- */

.eyebrow {
  font-family: var(--cond);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 10px;
  display: block;
}
.eyebrow--light { color: #f0a9b3; }

.section { padding: 76px 0; }
.section--tight { padding: 56px 0; }
.section--warm { background: var(--paper-warm); }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: #d9dde4; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a { color: #ffc7ce; }

.section h2 { font-size: clamp(32px, 4.4vw, 46px); }
.section h3 { font-size: clamp(22px, 2.6vw, 27px); }

.lede { font-size: clamp(18px, 2.1vw, 21px); line-height: 1.6; color: var(--slate); }
.section--dark .lede { color: #b9c0cb; }

.rule { height: 3px; width: 56px; background: var(--red); border: 0; margin: 0 0 22px; }

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

.masthead {
  position: sticky; top: 0; z-index: 100;
  background: rgba(21,23,28,.97);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

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

/* Wordmark only — no logo. The red rule does the work an emblem would. */
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand::before {
  content: ""; width: 5px; height: 36px; border-radius: 3px;
  background: var(--red); flex: none;
}
.brand__text { font-family: var(--cond); line-height: 1.05; }
.brand__name {
  display: block; color: #fff; font-weight: 700; font-size: 20px; letter-spacing: .01em;
}
.brand__sub {
  display: block; color: #98a0ad; font-size: 13px; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--cond);
  font-size: 17px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: #cbd2dc; text-decoration: none; padding: 9px 12px; border-radius: var(--r);
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.09); }
.nav .btn { margin-left: 8px; }

.nav-toggle {
  display: none; background: transparent; border: 1px solid rgba(255,255,255,.28);
  color: #fff; border-radius: var(--r); padding: 8px 12px;
  font-family: var(--cond); font-size: 16px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; cursor: pointer;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 3px solid var(--red); padding: 8px 16px 18px;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: 13px 8px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 19px; }
  .nav .btn { margin: 14px 0 0; text-align: center; border-bottom: 0; }
}

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

.btn {
  display: inline-block;
  font-family: var(--cond);
  font-size: 19px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 13px 26px; border-radius: var(--r); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--dark:hover { background: var(--charcoal); color: #fff; }
.btn--lg { font-size: 22px; padding: 16px 34px; }
.btn--block { display: block; width: 100%; text-align: center; }

/* ---------- Hero -------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 40%;
  opacity: .30;
  filter: grayscale(25%);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(21,23,28,.94) 0%, rgba(21,23,28,.82) 48%, rgba(21,23,28,.55) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: 88px 0 76px; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 56px; align-items: center;
}
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__inner { padding: 56px 0 52px; }
}

.hero__date {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--red); color: #fff;
  font-family: var(--cond); font-size: 16px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 100px; margin-bottom: 22px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(46px, 7.6vw, 86px);
  line-height: .94;
  letter-spacing: -.015em;
  margin-bottom: 20px;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: #ff8494; display: block; }

/* Several Ohio townships are named Miami Township — this one says which. */
.hero__where {
  font-family: var(--cond);
  font-size: clamp(16px, 1.9vw, 19px);
  font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: #9aa2ae; margin: 0 0 18px;
}
.hero__where strong { color: #fff; font-weight: 700; }

.hero__sub {
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.5; color: #c6ccd6; max-width: 34em; margin-bottom: 32px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Price card */
.pricecard {
  background: #fff; color: var(--ink);
  border-radius: 10px; padding: 34px 32px;
  box-shadow: var(--shadow-lg);
  border-top: 6px solid var(--red);
}
.pricecard__label {
  font-family: var(--cond); font-size: 15px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 4px;
}
.pricecard__big {
  font-family: var(--cond); font-weight: 700; color: var(--red);
  font-size: clamp(64px, 9vw, 86px); line-height: .9; letter-spacing: -.02em;
  margin: 0;
}
.pricecard__unit { font-size: 19px; color: var(--slate); margin: 6px 0 0; line-height: 1.4; }
.pricecard__split {
  margin: 22px 0 0; padding-top: 20px; border-top: 1px solid var(--line-soft);
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.pricecard__split div { min-width: 0; }
.pricecard__split dt {
  font-family: var(--cond); font-size: 14px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px;
}
.pricecard__split dd {
  margin: 0; font-family: var(--cond); font-size: 27px; font-weight: 700; color: var(--ink);
  line-height: 1.1;
}

/* ---------- Stat strip -------------------------------------------------- */

.statstrip { background: var(--charcoal); color: #fff; padding: 0; }
.statstrip__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.statstrip__item {
  padding: 32px 24px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.12);
}
.statstrip__item:last-child { border-right: 0; }
.statstrip__num {
  font-family: var(--cond); font-size: clamp(34px, 4.6vw, 46px); font-weight: 700;
  line-height: 1; color: #fff; display: block; margin-bottom: 6px;
}
.statstrip__lbl {
  font-size: 14px; line-height: 1.4; color: #99a1ae;
  letter-spacing: .04em;
}
/* Three items don't split evenly two-up, so on phones they stack into rows.
   A fixed-width figure column is what makes it read as a set: every number
   shares a right edge and every label shares a left edge, even when the
   labels wrap to different numbers of lines. */
@media (max-width: 680px) {
  .statstrip__grid { grid-template-columns: 1fr; }
  .statstrip__item {
    display: grid;
    grid-template-columns: 5.25rem 1fr;
    gap: 18px;
    align-items: center;
    text-align: left;
    padding: 17px 2px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .statstrip__item:last-child { border-bottom: 0; }
  .statstrip__num {
    margin-bottom: 0;
    font-size: 31px;
    text-align: right;
    letter-spacing: -.01em;
  }
  .statstrip__lbl { font-size: 15px; line-height: 1.35; }
}

/* Very narrow phones: give the label the room instead of the gap. */
@media (max-width: 360px) {
  .statstrip__item { grid-template-columns: 4.5rem 1fr; gap: 13px; }
  .statstrip__num { font-size: 27px; }
  .statstrip__lbl { font-size: 14px; }
}

/* ---------- Generic two-column ----------------------------------------- */

.cols {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 56px; align-items: start;
}
.cols--wide-left { grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); }
@media (max-width: 880px) {
  .cols, .cols--wide-left { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Cards ------------------------------------------------------- */

.cardgrid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
/* Explicit counts, not auto-fit: the grid holds 4 cards and 4 divides evenly by
   4, 2 and 1, so no breakpoint can ever strand a lone card on its own row.
   auto-fit with minmax(270px) could only fit 3 across in the 1072px content
   width, which is what left the 4th card orphaned. */
@media (max-width: 1080px) { .cardgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .cardgrid { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line-soft); border-radius: 8px;
  padding: 28px 26px; box-shadow: var(--shadow);
}
.card h3 { font-size: 23px; margin-bottom: 10px; }
.card p { font-size: 16px; color: var(--slate); }
.card__icon {
  width: 46px; height: 46px; border-radius: 8px; background: var(--red-tint);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  color: var(--red);
}
.card__icon svg { width: 26px; height: 26px; }

/* Money breakdown */
.money { display: grid; gap: 14px; }
.money__row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: baseline;
  background: #fff; border: 1px solid var(--line-soft); border-left: 4px solid var(--red);
  border-radius: var(--r); padding: 18px 20px;
}
.money__amt {
  font-family: var(--cond); font-size: 30px; font-weight: 700; color: var(--ink);
  line-height: 1; white-space: nowrap;
}
.money__desc { font-size: 16px; color: var(--slate); line-height: 1.5; }
.money__desc strong { color: var(--ink); display: block; font-size: 17px; font-family: var(--cond); font-weight: 700; letter-spacing: .01em; }
.money__tag {
  font-family: var(--cond); font-size: 13px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}

/* The sum of the rows above it — reads as a ledger total, not a line item,
   so a reader can check the arithmetic at a glance. */
.money__row--total {
  background: var(--ink); border-color: var(--ink); border-left-color: var(--red);
  margin-top: 6px;
}
.money__row--total .money__amt { color: #fff; }
.money__row--total .money__desc { color: #b9c0cb; }
.money__row--total .money__desc strong { color: #fff; }
.money__row--total .money__tag { color: #858d9a; }
@media (max-width: 640px) {
  .money__row { grid-template-columns: 1fr; gap: 8px; }
  .money__tag { justify-self: start; }
}

/* ---------- Callout / note --------------------------------------------- */

.note {
  background: var(--gold-tint); border-left: 4px solid var(--gold);
  padding: 20px 24px; border-radius: 0 var(--r) var(--r) 0; font-size: 16px;
}
.note strong { color: var(--ink); }

/* ---------- Pull quote --------------------------------------------------
   Used for statements attributed to the Township Trustees. Kept visually
   distinct from .note (which is the site's own aside) so a reader can tell
   at a glance whose words they are reading. */

.pullquote {
  margin: 28px 0; padding: 4px 0 4px 26px;
  border-left: 4px solid var(--red);
}
.pullquote p {
  font-family: var(--cond); font-size: 25px; line-height: 1.32;
  font-weight: 500; color: var(--ink); margin: 0;
}
.pullquote footer {
  margin-top: 12px; font-size: 14px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
}
@media (max-width: 640px) {
  .pullquote { padding-left: 18px; }
  .pullquote p { font-size: 22px; }
}

.ballotbox {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 30px 32px; box-shadow: var(--shadow);
}
.ballotbox__head {
  font-family: var(--cond); font-size: 15px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 14px;
  padding-bottom: 12px; border-bottom: 2px solid var(--ink);
}
.ballotbox__title { font-size: 26px; margin-bottom: 14px; }
.ballotbox__text {
  font-size: 15px; line-height: 1.6; color: var(--slate);
  border-left: 3px solid var(--line-soft); padding-left: 18px;
}
.ballotbox__opts { display: grid; gap: 10px; margin-top: 22px; }
.ballotbox__opt {
  display: flex; align-items: center; gap: 14px;
  border: 2px solid var(--line); border-radius: var(--r); padding: 14px 18px;
  font-family: var(--cond); font-size: 22px; font-weight: 700; color: var(--slate);
}
.ballotbox__opt .dot {
  width: 20px; height: 20px; border: 2px solid var(--slate); border-radius: 50%; flex: none;
}
.ballotbox__opt--for { border-color: var(--red); color: var(--ink); background: var(--red-tint); }
.ballotbox__opt--for .dot { border-color: var(--red); background: var(--red); box-shadow: inset 0 0 0 3px var(--red-tint); }

/* ---------- FAQ --------------------------------------------------------- */

.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer; list-style: none;
  font-family: var(--cond); font-size: clamp(20px, 2.3vw, 24px); font-weight: 700;
  color: var(--ink); padding: 22px 48px 22px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 13px; height: 13px; margin-top: -9px;
  border-right: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red);
  transform: rotate(45deg); transition: transform .18s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -4px; }
.faq summary:hover { color: var(--red-dark); }
.faq__body { padding: 0 40px 26px 0; color: var(--slate); font-size: 16.5px; }
.faq__body p:last-child { margin-bottom: 0; }

/* ---------- Vote / timeline -------------------------------------------- */

.timeline { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.timeline li {
  display: grid; grid-template-columns: 148px 1fr; gap: 24px;
  padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.12);
}
.timeline li:last-child { border-bottom: 0; }
.timeline__date {
  font-family: var(--cond); font-size: 21px; font-weight: 700; color: #fff; line-height: 1.2;
}
.timeline__what { color: #b9c0cb; font-size: 16px; }
.timeline__what strong { color: #fff; display: block; font-size: 17px; }
.timeline li.is-key .timeline__date { color: #ff8494; }
@media (max-width: 620px) {
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
}

.infobox {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px; padding: 26px 28px;
}
.infobox h3 { font-size: 22px; margin-bottom: 12px; }
.infobox p { font-size: 16px; color: #b9c0cb; }
.infobox strong { color: #fff; }
.infobox address { font-style: normal; color: #d9dde4; font-size: 16px; line-height: 1.7; }

/* ---------- Form -------------------------------------------------------- */

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label {
  font-family: var(--cond); font-size: 16px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink);
}
.field .hint { font-size: 14px; color: var(--muted); font-family: var(--sans); text-transform: none; letter-spacing: 0; font-weight: 400; }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 16.5px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r);
  padding: 12px 14px; width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--red); }
.field textarea { min-height: 96px; resize: vertical; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .field--row { grid-template-columns: 1fr; } }
.req { color: var(--red); }

.checkline { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--slate); }
.checkline input { width: 20px; height: 20px; flex: none; margin-top: 3px; accent-color: var(--red); }

.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* The reCAPTCHA iframe is a fixed 304px wide and will overflow a narrow form
   column, so scale it down rather than let the page scroll sideways. */
.captcha { margin: 2px 0 4px; }
@media (max-width: 400px) {
  .captcha { transform: scale(.86); transform-origin: 0 50%; height: 70px; }
}

.formnote { font-size: 14.5px; color: var(--muted); }

.formstatus { padding: 16px 20px; border-radius: var(--r); font-size: 16px; display: none; }
.formstatus.is-ok { display: block; background: #e8f5ee; border-left: 4px solid var(--green); color: #14512f; }
.formstatus.is-err { display: block; background: var(--red-tint); border-left: 4px solid var(--red); color: var(--red-dark); }

/* ---------- Photo blocks ------------------------------------------------ */

.photo {
  border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--paper-warm);
  margin: 0;
}
.photo img { width: 100%; }
.photo figcaption {
  font-size: 14px; color: var(--muted); padding: 12px 16px; background: #fff;
  border-top: 1px solid var(--line-soft);
}

.photo--placeholder {
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center; text-align: center;
  border: 2px dashed var(--line); box-shadow: none; color: var(--muted);
  font-family: var(--cond); font-size: 17px; letter-spacing: .06em; text-transform: uppercase;
  padding: 24px;
}

/* ---------- Inline source citation --------------------------------------
   A small always-visible marker that reveals its source on hover OR keyboard
   focus, and is a real link so a tap on a phone still goes somewhere. Hover
   alone would leave every mobile visitor with no way to check our work. */

.cite {
  display: inline-flex; align-items: center; gap: 5px;
  position: relative;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: .02em;
  color: var(--muted); text-decoration: none;
  border-bottom: 1px dotted var(--muted);
  padding-bottom: 1px;
  white-space: nowrap;
}
.cite:hover, .cite:focus-visible { color: var(--red-dark); border-bottom-color: var(--red); }
.cite::before {
  content: ""; width: 13px; height: 13px; flex: none;
  background: currentColor;
  /* Document-with-corner glyph, so it reads as "source" without a word. */
  -webkit-mask: var(--cite-icon) center / contain no-repeat;
  mask: var(--cite-icon) center / contain no-repeat;
}
:root {
  --cite-icon: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zm0 0v6h6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.cite__pop {
  position: absolute; bottom: calc(100% + 10px); left: 0;
  z-index: 40; width: max-content; max-width: 300px;
  background: var(--ink); color: #e4e8ee;
  font-size: 13.5px; font-weight: 400; line-height: 1.5; letter-spacing: 0;
  white-space: normal;
  padding: 11px 14px; border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .15s, transform .15s, visibility .15s;
  pointer-events: none;
}
.cite__pop::after {
  content: ""; position: absolute; top: 100%; left: 16px;
  border: 6px solid transparent; border-top-color: var(--ink);
}
.cite__pop strong { color: #fff; display: block; margin-bottom: 2px; }

.cite:hover .cite__pop,
.cite:focus-visible .cite__pop {
  opacity: 1; visibility: visible; transform: translateY(0);
}

/* Sits on its own line under a block of text rather than trailing the sentence. */
.cite--block { display: flex; width: fit-content; margin-top: 10px; }

/* Right-hand citations would run off the page, so anchor those to the right. */
.cite--right .cite__pop { left: auto; right: 0; }
.cite--right .cite__pop::after { left: auto; right: 16px; }

/* No hover on touch devices — the popup would need a tap that also fires the
   link, so suppress it there and let the tap just open the source. */
@media (hover: none) {
  .cite__pop { display: none; }
}

/* ---------- CTA band ---------------------------------------------------- */

.ctaband {
  background: var(--red); color: #fff; text-align: center; padding: 64px 0;
}
.ctaband h2 { color: #fff; font-size: clamp(34px, 5vw, 52px); margin-bottom: 14px; }
.ctaband p { font-size: clamp(18px, 2.2vw, 21px); color: #ffd9de; max-width: 40em; margin: 0 auto 28px; }
/* The band closes the page as a statement, with no button under it. */
.ctaband p:last-child { margin-bottom: 0; }

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

.foot { background: var(--ink); color: #98a0ad; padding: 54px 0 30px; font-size: 15px; }
.foot a { color: #cbd2dc; }
.foot__grid {
  display: grid; grid-template-columns: minmax(0,1.4fr) repeat(2, minmax(0,1fr));
  gap: 40px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.12);
}
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr; gap: 28px; } }
.foot h4 {
  color: #fff; font-size: 17px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px;
}
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot__disclaimer {
  margin-top: 26px; font-size: 14px; line-height: 1.6; color: #7d8592;
}
.foot__disclaimer strong { color: #b6bdc8; }

@media print {
  .masthead, .nav-toggle, .hero__cta, .ctaband, .btn { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .section { padding: 18pt 0; }
}
