:root {
  --paper: #fbf8f1;
  --ink: #15171d;
  --muted: #4a505c;
  --rule: #ddd5c3;
  --blue: #14327f;
  --blue-deep: #0b1e52;
  --blue-text: #e3e9f7;
  --sun: #f6b519;
  --red: #b3242f;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.95;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 50;
  background: var(--sun);
  color: var(--ink);
  font-weight: 700;
  padding: 0.6rem 1rem;
}
.skip:focus { top: 1rem; }

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
}
.top-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 66px;
}
.mark {
  display: flex;
  flex-direction: column;
  color: var(--blue);
  text-decoration: none;
  line-height: 1;
}
.mark:hover { color: var(--blue); }
.mark-first { font-weight: 700; font-size: 0.8rem; color: var(--ink); }
.mark-last {
  font-family: var(--display);
  font-weight: 900;
  font-size: 2rem;
  text-transform: uppercase;
}
.menu-toggle { position: absolute; opacity: 0; pointer-events: none; }
.menu-btn { display: none; }
.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  padding: 0.3rem 0;
  border-bottom: 3px solid transparent;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--sun); }
.nav a[aria-current="page"] { border-bottom-color: var(--blue); }

/* Buttons */
.btn,
.nav a.btn {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--ink);
  border-radius: 3px;
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover, .nav a.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn:active, .nav a.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.btn-sun, .btn-sun:hover { background: var(--sun); color: var(--ink); }
.btn-blue, .btn-blue:hover { background: var(--blue); color: #fff; }
.nav a.btn { padding: 0.55rem 1.1rem; border-bottom: 2px solid var(--ink); }

/* Home hero */
.hero {
  background: var(--blue);
  color: #fff;
  padding: 2.75rem 0 3.25rem;
  border-bottom: 3px solid var(--ink);
}
.hero { overflow: hidden; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 {
  font-size: clamp(4rem, 18.5vw, 9rem);
  font-weight: 900;
  line-height: 0.84;
  text-transform: uppercase;
  color: var(--sun);
  text-shadow: 0.05em 0.05em 0 var(--blue-deep);
}
.hero h1 span { display: block; animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero h1 span + span { animation-delay: 0.08s; }
.hero-lede {
  max-width: 32rem;
  margin: 1.5rem 0 0;
  font-size: clamp(1.2rem, 4.4vw, 1.45rem);
  font-weight: 600;
  line-height: 1.45;
  animation: rise 0.7s 0.18s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.scribble {
  color: var(--sun);
  padding-bottom: 0.12em;
  background: linear-gradient(var(--red), var(--red)) no-repeat 0 100% / 0% 0.18em;
  animation: underline 0.9s 0.9s ease-out forwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2.25rem;
  animation: rise 0.7s 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero-link { color: #fff; font-weight: 700; }
.hero-link:hover { color: var(--sun); }

.hero-photo { margin: 0; animation: drop 0.8s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.photo-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sun);
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  transform: rotate(-1.5deg);
}
.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  filter: grayscale(1) contrast(1.45) brightness(1.05);
  mix-blend-mode: multiply;
}
.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(21, 23, 29, 0.55) 0.9px, transparent 1.3px) 0 0 / 5px 5px;
  mix-blend-mode: multiply;
  opacity: 0.5;
  pointer-events: none;
}
.hero-photo figcaption { margin-top: 1.1rem; font-size: 0.78rem; color: var(--blue-text); }
.hero-photo figcaption a { color: inherit; }

/* Ticker */
.ticker {
  overflow: hidden;
  background: var(--red);
  color: #fff;
  border-bottom: 3px solid var(--ink);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
}
.ticker span {
  padding: 0.7rem 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker span::after { content: "★"; margin: 0 1.4rem; color: var(--sun); }

/* Numbers */
.tally { border-bottom: 3px solid var(--ink); background: #fff; }
.tally-grid {
  list-style: none;
  margin-block: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.tally li {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.6rem 1rem 1.7rem 0;
}
.tally li:nth-child(even) { padding-left: 1.25rem; border-left: 2px solid var(--ink); }
.tally li:nth-child(n + 3) { border-top: 2px solid var(--ink); }
.tally strong {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(4.2rem, 17vw, 6.5rem);
  line-height: 0.8;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.tally li:last-child strong { color: var(--red); }
.tally span { max-width: 14rem; font-weight: 600; line-height: 1.35; }

/* Date notice */
.notice { background: var(--sun); border-bottom: 2px solid var(--ink); font-size: 0.95rem; }
.notice-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.2rem 1.5rem;
  padding: 0.55rem 0;
}
.notice p { margin: 0; }
.notice a { color: var(--ink); font-weight: 700; }

/* Sections */
.section { padding: 3.5rem 0; }
.section h2 {
  font-size: clamp(2.6rem, 9vw, 4.4rem);
  text-transform: uppercase;
  color: var(--blue);
}
.section-lede { max-width: 40rem; margin-top: 1rem; font-size: 1.1rem; color: var(--muted); }

.record { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 3px solid var(--ink); }
.record li { border-bottom: 2px solid var(--ink); }
.record a {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem 1rem;
  margin-inline: -1rem;
  padding: 1.35rem 1rem;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.record h3 { font-size: clamp(2.2rem, 9vw, 3.2rem); text-transform: uppercase; color: var(--blue); }
.record p { grid-column: 1; margin: 0; max-width: 34rem; font-size: 1.08rem; }
.record .arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
  transition: transform 0.2s ease;
}
.record a:hover { background: var(--sun); color: var(--ink); }
.record a:hover h3, .record a:hover .arrow { color: var(--ink); }
.record a:hover .arrow { transform: translateX(6px); }

.js .record li, .js .tally li { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js .record li.in, .js .tally li.in { opacity: 1; transform: none; }

.district { background: var(--blue-deep); color: #fff; }
.district h2 { color: #fff; }
.district p { color: var(--blue-text); }
.district a { color: var(--sun); font-weight: 700; }
.district-grid { display: grid; gap: 2rem; }
.places-big {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.7rem, 12vw, 5.2rem);
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--sun);
}
.places-big li:nth-child(even) { color: #fff; }

.faq-wrap { display: grid; gap: 2rem; }
.faq { border-top: 3px solid var(--ink); }
.faq details { border-bottom: 2px solid var(--ink); }
.faq summary {
  position: relative;
  display: block;
  padding: 1.15rem 3rem 1.15rem 0;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 0.4rem;
  top: 50%;
  width: 18px;
  height: 3px;
  margin-top: -1.5px;
  background: var(--blue);
  transition: transform 0.25s ease;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--blue); }
.faq details > div { padding: 0 0 1.3rem; max-width: 42rem; color: var(--muted); }
.faq details > div p { margin: 0; }
.faq details[open] > div { animation: rise 0.35s ease both; }

/* Inner pages */
.page-head {
  background: var(--blue);
  color: #fff;
  padding: 2.6rem 0 2.9rem;
  border-bottom: 3px solid var(--ink);
}
.page-head h1 {
  font-size: clamp(3.2rem, 13vw, 6.6rem);
  font-weight: 900;
  line-height: 0.86;
  text-transform: uppercase;
  color: var(--sun);
  text-shadow: 0.05em 0.05em 0 var(--blue-deep);
}
.page-head p { max-width: 42rem; margin: 1.1rem 0 0; font-size: 1.12rem; color: var(--blue-text); }

.doc { display: grid; gap: 2.25rem; }
.side {
  align-self: start;
  padding: 1rem 1.15rem;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 3px;
}
.side-title { margin: 0 0 0.5rem; font-weight: 700; }
.toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; }
.toc a { font-weight: 600; }

.prose { max-width: 44rem; min-width: 0; }
.prose h2 {
  margin: 2.75rem 0 0.9rem;
  font-size: clamp(2.1rem, 7vw, 2.9rem);
  text-transform: uppercase;
  color: var(--blue);
  scroll-margin-top: 92px;
}
.prose > h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.85rem; }
.prose li::marker { color: var(--red); }

.bio { margin: 0; }
.bio div { padding: 0.6rem 0; border-bottom: 1px solid var(--rule); }
.bio div:last-child { border-bottom: 0; }
.bio dt { font-weight: 700; font-size: 0.92rem; color: var(--muted); }
.bio dd { margin: 0.1rem 0 0; }

.table { width: 100%; border-collapse: collapse; margin: 1.25rem 0 1.75rem; font-size: 0.98rem; }
.table th {
  padding: 0.6rem 0.8rem 0.6rem 0;
  border-bottom: 3px solid var(--ink);
  text-align: left;
}
.table td {
  padding: 0.8rem 0.8rem 0.8rem 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.table td:first-child { font-weight: 700; white-space: nowrap; }

.timeline { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); }
.timeline li { display: grid; gap: 0.35rem; padding: 1.3rem 0; border-bottom: 1px solid var(--rule); }
.timeline time {
  font-family: var(--display);
  font-weight: 900;
  font-size: 2.7rem;
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--blue);
}
.timeline time span {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  text-transform: none;
  color: var(--muted);
}
.timeline h3 { margin: 0 0 0.3rem; font-family: var(--body); font-weight: 700; font-size: 1.2rem; line-height: 1.3; }
.timeline p { margin: 0; color: var(--muted); }
.timeline li.past { opacity: 0.45; }
.timeline li.next time { color: var(--red); }

.actions { display: flex; flex-wrap: wrap; gap: 1.1rem; margin: 2.25rem 0 0.5rem; }
.actions + .prose { margin-top: 3.5rem; }

.map {
  height: 62vh;
  min-height: 320px;
  max-height: 560px;
  border: 3px solid var(--ink);
  border-radius: 3px;
}
.map-note { margin-top: 0.8rem; font-size: 0.95rem; color: var(--muted); }
.places { margin: 2.5rem 0; border-top: 3px solid var(--ink); }
.places div { padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.places dt {
  margin-bottom: 0.3rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.85rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--blue);
}
.places dd { margin: 0; }

/* Footer */
.foot {
  overflow: hidden;
  background: var(--blue-deep);
  color: var(--blue-text);
  padding-top: 3rem;
  border-top: 3px solid var(--ink);
}
.foot p { margin: 0; }
.foot-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.25);
}
.foot-big {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.6rem, 10vw, 4.6rem);
  line-height: 0.9;
  text-transform: uppercase;
  color: #fff;
}
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; padding: 2.25rem 0; }
.foot-head {
  margin-bottom: 0.7rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--sun);
}
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.foot-cols a { color: #fff; text-decoration: none; }
.foot-cols a:hover { color: var(--sun); text-decoration: underline; }
.disclaimer { padding: 1rem 1.2rem; background: #fff; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--sun); }
.disclaimer p { color: var(--ink); font-weight: 700; font-size: 1.05rem; line-height: 1.45; }
.foot-note { margin-top: 1.25rem; font-size: 0.85rem; }
.foot-word {
  margin: 2.75rem 0 -0.16em;
  font-family: var(--display);
  font-weight: 900;
  font-size: 27vw;
  line-height: 0.8;
  text-align: center;
  text-transform: uppercase;
  color: var(--blue);
  user-select: none;
}

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-24px) rotate(3deg); } to { opacity: 1; transform: none; } }
@keyframes underline { to { background-size: 100% 0.18em; } }
@keyframes ticker { to { transform: translateX(-50%); } }

.leaflet-container { font-family: var(--body); }
.map .leaflet-tile-pane { filter: grayscale(1) contrast(0.92) brightness(1.04); }

@media (max-width: 859px) {
  .menu-btn {
    display: inline-block;
    padding: 0.45rem 0.85rem;
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 3px;
    font-weight: 700;
    cursor: pointer;
  }
  .menu-btn .close { display: none; }
  .menu-toggle:checked + .menu-btn .open { display: none; }
  .menu-toggle:checked + .menu-btn .close { display: inline; }
  .menu-toggle:focus-visible + .menu-btn { outline: 3px solid var(--sun); outline-offset: 2px; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 3px);
    left: -1.25rem;
    right: -1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.4rem 1.25rem 1.4rem;
    background: var(--paper);
    border-bottom: 3px solid var(--ink);
  }
  .menu-toggle:checked ~ .nav { display: flex; }
  .nav a {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--rule);
    font-family: var(--display);
    font-weight: 800;
    font-size: 2.1rem;
    line-height: 1.1;
    text-transform: uppercase;
  }
  .nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--rule); }
  .nav a.btn { margin-top: 1.1rem; text-align: center; font-size: 1.1rem; text-transform: none; }
}

@media (max-width: 759px) {
  .foot-cols > div:last-child { grid-column: 1 / -1; }
  .foot-cols > div:last-child ul { display: flex; flex-wrap: wrap; gap: 0.45rem 1.5rem; }
}

@media (max-width: 640px) {
  .notice-inner { position: relative; padding: 0.5rem 0; font-size: 0.85rem; line-height: 1.35; }
  .notice a { position: absolute; inset: 0; font-size: 0; }
}

@media (max-width: 700px) {
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { padding: 0.9rem 0; border-bottom: 1px solid var(--rule); }
  .table td { padding: 0.15rem 0; border: 0; white-space: normal; }
  .table td:first-child { white-space: normal; font-size: 1.05rem; }
  .table td + td::before { content: attr(data-label) ": "; font-weight: 700; color: var(--muted); }
}

@media (min-width: 760px) {
  .record a { grid-template-columns: 20rem 1fr auto; align-items: center; gap: 2rem; padding-block: 1.6rem; }
  .record p { grid-column: 2; }
  .record .arrow { grid-column: 3; grid-row: 1; }
  .timeline li { grid-template-columns: 12rem 1fr; gap: 2rem; }
  .places { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .hero { padding: 4.5rem 0 5rem; }
  .hero-grid { grid-template-columns: 1.2fr 1fr; gap: 4rem; }
  .photo-frame { aspect-ratio: 4 / 5; }
  .tally-grid { grid-template-columns: repeat(4, 1fr); }
  .tally li { padding: 2.25rem 1.5rem 2.4rem; }
  .tally li:first-child { padding-left: 0; }
  .tally li + li { border-left: 2px solid var(--ink); }
  .tally li:nth-child(n + 3) { border-top: 0; }
  .section { padding: 5rem 0; }
  .district-grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
  .faq-wrap { grid-template-columns: 1fr 2fr; gap: 4rem; align-items: start; }
}

@media (min-width: 980px) {
  .doc { grid-template-columns: 15rem minmax(0, 1fr); gap: 4rem; }
  .side { position: sticky; top: 92px; }
  .toc ul { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .scribble { background-size: 100% 0.18em; }
  .js .record li, .js .tally li { opacity: 1; transform: none; }
}
