:root {
  --navy-950: #061426;
  --navy-900: #0a1d35;
  --navy-800: #103252;
  --navy-700: #17466e;
  --blue-600: #176da1;
  --blue-100: #e5f2f8;
  --red-700: #9d2033;
  --red-600: #b82f43;
  --gold-500: #d8a441;
  --gold-200: #f1dca7;
  --ink: #17212e;
  --muted: #5f6b78;
  --line: #d8dee6;
  --line-dark: #b7c2cf;
  --paper: #ffffff;
  --cream: #f7f4ed;
  --mist: #f2f6f8;
  --suppressed: #e6e9ed;
  --success: #236a52;
  --shadow-sm: 0 8px 28px rgba(6, 20, 38, 0.08);
  --shadow-lg: 0 24px 70px rgba(6, 20, 38, 0.18);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --content: 1240px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--navy-950);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
}

body.no-scroll { overflow: hidden; }

a {
  color: var(--blue-600);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover { color: var(--red-700); }

button, input, select { font: inherit; }

button, a, input, select, [tabindex] { outline-offset: 4px; }

:focus-visible { outline: 3px solid #57b8e8; }

img, svg { max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 8px;
  background: #fff;
  color: var(--navy-900);
  font-weight: 800;
}

.skip-link:focus { transform: none; }

.container {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.announcement {
  padding: 8px 20px;
  color: #fff;
  background: var(--red-700);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  color: #fff;
  background: rgba(6, 20, 38, 0.96);
  border-bottom: 1px solid rgba(255,255,255,.13);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-950));
  box-shadow: inset 0 0 0 4px rgba(216,164,65,.12);
  color: var(--gold-200);
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 800;
}

.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-family: Georgia, serif; font-size: 17px; letter-spacing: .01em; }
.brand-copy span { color: #b8c8d8; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  font-weight: 750;
}

.nav-links a { color: #dfeaf3; text-decoration: none; }
.nav-links a:hover { color: #fff; }

.nav-cta {
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(23,109,161,.36), transparent 28%),
    linear-gradient(128deg, var(--navy-950) 0%, var(--navy-900) 58%, #143b5e 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  inset: 0;
  opacity: .23;
  background-image:
    linear-gradient(115deg, transparent 0 58%, rgba(255,255,255,.05) 58% 59%, transparent 59%),
    radial-gradient(circle, rgba(255,255,255,.45) 1px, transparent 1.5px);
  background-size: 100% 100%, 34px 34px;
}

.hero::after {
  width: 700px;
  height: 700px;
  right: -280px;
  bottom: -480px;
  border: 80px solid rgba(184,47,67,.22);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 88px 0 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-200);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero h1,
.profile-hero h1 {
  max-width: 940px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 7vw, 86px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .98;
}

.hero-subtitle {
  max-width: 780px;
  margin: 26px 0 0;
  color: #d9e4ed;
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.48;
}

.truth-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: #fff;
  font-size: 15px;
  font-weight: 750;
}

.truth-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 5px rgba(216,164,65,.14);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 58px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  background: rgba(255,255,255,.16);
  box-shadow: var(--shadow-lg);
}

.hero-stat {
  min-height: 132px;
  padding: 23px 24px;
  background: rgba(6,20,38,.76);
}

.hero-stat strong {
  display: block;
  font-family: Georgia, serif;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -.025em;
  line-height: 1.05;
}

.hero-stat span {
  display: block;
  margin-top: 9px;
  color: #bfcdda;
  font-size: 14px;
  line-height: 1.35;
}

.search-band {
  position: relative;
  z-index: 12;
  margin-top: -34px;
}

.search-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.field-label,
.control label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy-800);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.search-wrap { position: relative; }

.search-input {
  width: 100%;
  height: 56px;
  padding: 0 54px 0 17px;
  border: 2px solid var(--line-dark);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  font-size: 18px;
}

.search-input:focus { border-color: var(--blue-600); }

.search-icon {
  position: absolute;
  top: 50%;
  right: 17px;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 23px;
  pointer-events: none;
}

.search-results {
  position: absolute;
  z-index: 80;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  display: none;
  max-height: 380px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.search-results.open { display: block; }

.search-result {
  width: 100%;
  padding: 13px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.search-result:last-child { border-bottom: 0; }
.search-result:hover, .search-result.active { background: var(--blue-100); }
.search-result strong { display: block; font-size: 17px; }
.search-result span { color: var(--muted); font-size: 14px; }

.quick-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--navy-800);
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.chip:hover, .button:hover { border-color: var(--blue-600); color: var(--blue-600); }
.button.primary { border-color: var(--red-700); color: #fff; background: var(--red-700); }
.button.primary:hover { border-color: var(--navy-900); background: var(--navy-900); color: #fff; }
.button.dark { border-color: var(--navy-900); color: #fff; background: var(--navy-900); }
.button:disabled { opacity: .45; cursor: not-allowed; }

.section { padding: 88px 0; }
.section.white { background: #fff; }
.section.mist { background: var(--mist); }
.section.dark { color: #fff; background: var(--navy-900); }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 30px;
}

.section-heading h2,
.content-page h1,
.profile-section h2 {
  margin: 0;
  color: var(--navy-900);
  font-family: Georgia, serif;
  font-size: clamp(34px, 4.6vw, 52px);
  letter-spacing: -.035em;
  line-height: 1.08;
}

.section.dark .section-heading h2 { color: #fff; }

.section-intro {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.section.dark .section-intro { color: #c7d4df; }

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, .75fr);
  gap: 24px;
  align-items: stretch;
}

.map-card,
.spotlight,
.table-card,
.content-card,
.profile-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.map-card { overflow: hidden; }

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfd;
}

.control-row { display: flex; flex-wrap: wrap; gap: 12px; }

.control select,
.table-filter,
.table-search {
  min-width: 180px;
  height: 44px;
  padding: 0 38px 0 12px;
  border: 1px solid var(--line-dark);
  border-radius: 9px;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}

.map-stage {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  background: linear-gradient(180deg, #f9fbfc, #eef4f7);
}

#county-map {
  display: block;
  width: 100%;
  min-height: 570px;
}

.county-shape {
  stroke: rgba(255,255,255,.76);
  stroke-width: .55;
  vector-effect: non-scaling-stroke;
  cursor: pointer;
  transition: fill .16s ease, opacity .16s ease;
}

.county-shape:hover,
.county-shape.selected {
  stroke: var(--navy-950);
  stroke-width: 2;
}

.county-shape.dimmed { opacity: .14; }

.map-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--navy-700);
  font-weight: 800;
}

.map-tooltip {
  position: fixed;
  z-index: 90;
  display: none;
  min-width: 220px;
  max-width: 310px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  color: #fff;
  background: rgba(6,20,38,.96);
  box-shadow: var(--shadow-lg);
  pointer-events: none;
}

.map-tooltip.visible { display: block; }
.map-tooltip strong { display: block; font-size: 16px; }
.map-tooltip span { display: block; color: #c6d4df; font-size: 14px; }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 16px;
  align-items: center;
  padding: 14px 20px 18px;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.legend-item { display: inline-flex; align-items: center; gap: 6px; }
.legend-swatch { width: 22px; height: 12px; border: 1px solid rgba(0,0,0,.08); border-radius: 3px; }

.map-footnote {
  padding: 0 20px 17px;
  color: var(--muted);
  font-size: 13px;
}

.spotlight {
  position: relative;
  overflow: hidden;
}

.spotlight::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--red-700), var(--gold-500));
}

.spotlight-inner { padding: 28px; }

.spotlight-kicker {
  color: var(--red-700);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.spotlight h3 {
  margin: 6px 0 2px;
  color: var(--navy-900);
  font-family: Georgia, serif;
  font-size: 31px;
  letter-spacing: -.025em;
  line-height: 1.08;
}

.spotlight-state { color: var(--muted); font-size: 15px; }

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
  margin-top: 22px;
}

.mini-metric {
  min-height: 96px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--mist);
}

.mini-metric strong {
  display: block;
  color: var(--navy-900);
  font-family: Georgia, serif;
  font-size: 26px;
  line-height: 1.1;
}

.mini-metric span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.3; }

.bars { margin-top: 24px; }
.bar-row { margin-bottom: 13px; }
.bar-label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 5px; font-size: 14px; font-weight: 750; }
.bar-label span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.bar-track { height: 10px; overflow: hidden; border-radius: 99px; background: var(--suppressed); }
.bar-fill { height: 100%; min-width: 0; border-radius: inherit; background: var(--blue-600); }
.bar-fill.red { background: var(--red-600); }
.bar-fill.gold { background: var(--gold-500); }
.bar-fill.teal { background: var(--success); }

.suppression-note {
  margin-top: 18px;
  padding: 12px 13px;
  border-left: 4px solid var(--gold-500);
  background: #fff8e7;
  color: #604a18;
  font-size: 14px;
}

.spotlight-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }

.table-card { overflow: hidden; }

.table-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.table-scroll { overflow-x: auto; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  vertical-align: middle;
  white-space: nowrap;
}

.data-table th {
  color: var(--navy-800);
  background: #f6f8fa;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.data-table th:nth-child(2),
.data-table td:nth-child(2) { text-align: left; }
.data-table tbody tr { cursor: pointer; }
.data-table tbody tr:hover { background: var(--blue-100); }
.data-table td strong { color: var(--navy-900); font-size: 16px; }
.data-table td small { display: block; color: var(--muted); font-size: 13px; }
.rank-badge { display: inline-grid; min-width: 36px; height: 30px; place-items: center; border-radius: 8px; background: var(--navy-900); color: #fff; font-size: 13px; font-weight: 850; }
.not-published { color: var(--muted); font-style: italic; }

.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 20px;
  color: var(--muted);
  font-size: 14px;
}

.pager { display: flex; gap: 8px; }

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}

.insight-card {
  padding: 26px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  background: rgba(255,255,255,.065);
}

.insight-card .number { color: var(--gold-200); font-family: Georgia, serif; font-size: 36px; line-height: 1; }
.insight-card h3 { margin: 12px 0 8px; font-size: 20px; line-height: 1.25; }
.insight-card p { margin: 0; color: #c7d4df; font-size: 15px; }

.method-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
}

.content-card { padding: 30px; }
.content-card h3 { margin: 0 0 14px; color: var(--navy-900); font-family: Georgia, serif; font-size: 25px; }
.content-card p { margin: 0 0 16px; }
.content-card p:last-child { margin-bottom: 0; }
.content-card ul { margin: 0; padding-left: 22px; }
.content-card li + li { margin-top: 9px; }

.site-footer {
  padding: 52px 0 26px;
  color: #c6d3df;
  background: var(--navy-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 42px;
}

.site-footer h3 { margin: 0 0 12px; color: #fff; font-family: Georgia, serif; font-size: 21px; }
.site-footer p { margin: 0; font-size: 14px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { color: #dbe8f1; }
.footer-crisis { margin-top: 22px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; color: #fff; background: rgba(184,47,67,.18); font-size: 14px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #9fb1c1; font-size: 13px; }

.profile-hero {
  position: relative;
  color: #fff;
  background: linear-gradient(125deg, var(--navy-950), var(--navy-800));
}

.profile-hero .container { padding-top: 66px; padding-bottom: 60px; }
.profile-hero h1 { font-size: clamp(42px, 6vw, 70px); }
.profile-hero .lede { max-width: 760px; margin: 19px 0 0; color: #d8e3ec; font-size: 20px; }
.breadcrumb { margin-bottom: 18px; color: #b7c8d7; font-size: 14px; }
.breadcrumb a { color: #fff; }

.profile-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  margin-top: 34px;
}

.profile-stat {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 13px;
  background: rgba(255,255,255,.07);
}

.profile-stat strong { display: block; font-family: Georgia, serif; font-size: 30px; line-height: 1.1; }
.profile-stat span { display: block; margin-top: 6px; color: #c3d1dc; font-size: 13px; line-height: 1.3; }

.profile-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .65fr);
  gap: 24px;
  padding: 52px 0 78px;
}

.profile-stack { display: grid; gap: 24px; align-content: start; }
.profile-card { padding: 28px; }
.profile-card h2, .profile-card h3 { margin: 0 0 18px; color: var(--navy-900); font-family: Georgia, serif; }
.profile-card h2 { font-size: 30px; }
.profile-card h3 { font-size: 23px; }
.profile-card .deck { margin-top: -10px; color: var(--muted); font-size: 15px; }

.distribution-list { display: grid; gap: 15px; margin-top: 22px; }
.distribution-row { display: grid; grid-template-columns: minmax(140px,.65fr) minmax(150px,1fr) 82px; gap: 14px; align-items: center; }
.distribution-row .label { color: var(--navy-800); font-size: 14px; font-weight: 800; }
.distribution-row .value { text-align: right; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.distribution-track { height: 13px; overflow: hidden; border-radius: 99px; background: var(--suppressed); }
.distribution-fill { height: 100%; border-radius: inherit; background: var(--blue-600); }
.distribution-fill.red { background: var(--red-600); }
.distribution-fill.gold { background: var(--gold-500); }

.profile-note {
  padding: 16px;
  border: 1px solid #ead6a4;
  border-radius: 10px;
  color: #5c481c;
  background: #fff8e7;
  font-size: 14px;
}

.related-list { display: grid; gap: 9px; }
.related-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); text-decoration: none; }
.related-link:hover { border-color: var(--blue-600); color: var(--blue-600); }
.related-link span:last-child { font-variant-numeric: tabular-nums; font-weight: 800; }

.content-page { padding: 70px 0 90px; }
.content-page .page-lede { max-width: 840px; color: var(--muted); font-size: 20px; }
.content-page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; margin-top: 36px; }
.content-page article { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.content-page article h2 { margin: 36px 0 10px; color: var(--navy-900); font-family: Georgia, serif; font-size: 28px; }
.content-page article h2:first-child { margin-top: 0; }
.content-page aside { align-self: start; position: sticky; top: 100px; padding: 22px; border-radius: var(--radius); color: #fff; background: var(--navy-900); }
.content-page aside h3 { margin: 0 0 12px; font-family: Georgia, serif; }
.content-page aside ul { margin: 0; padding-left: 20px; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 1040px) {
  .hero-stats, .profile-stat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .map-layout, .method-grid, .profile-main { grid-template-columns: 1fr; }
  .map-stage, #county-map { min-height: 520px; }
  .insight-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--content)); }
  .announcement { font-size: 12px; }
  .header-inner { min-height: 66px; }
  .brand-copy strong { font-size: 15px; }
  .brand-copy span { display: none; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero-inner { padding: 64px 0 62px; }
  .hero h1 { font-size: clamp(42px, 14vw, 64px); }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stat { min-height: 108px; }
  .search-card { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section-heading { display: block; }
  .map-stage, #county-map { min-height: 380px; }
  .control-row, .control { width: 100%; }
  .control select, .table-filter, .table-search { width: 100%; }
  .metric-grid, .profile-stat-grid { grid-template-columns: 1fr 1fr; }
  .table-footer { align-items: stretch; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .profile-main { padding-top: 34px; }
  .distribution-row { grid-template-columns: 1fr 72px; }
  .distribution-row .distribution-track { grid-column: 1 / -1; grid-row: 2; }
  .content-page-grid { grid-template-columns: 1fr; }
  .content-page aside { position: static; }
}

@media (max-width: 480px) {
  .metric-grid, .profile-stat-grid { grid-template-columns: 1fr; }
  .spotlight-inner, .profile-card, .content-card { padding: 22px; }
  .data-table th, .data-table td { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .announcement, .site-header, .search-band, .controls, .map-tooltip, .spotlight-actions, .site-footer, .button { display: none !important; }
  body { color: #000; background: #fff; font-size: 12pt; }
  .hero, .profile-hero { color: #000; background: #fff; }
  .hero-subtitle, .profile-hero .lede, .hero-stat span, .profile-stat span { color: #333; }
  .hero-stats, .hero-stat, .profile-stat, .map-card, .spotlight, .table-card, .profile-card { border-color: #aaa; box-shadow: none; background: #fff; }
  .section { padding: 30px 0; }
}
