:root {
  --ink: #1c1917;
  --muted: #57534e;
  --paper: #f7f4ef;
  --card: #fffdf8;
  --line: #d6d0c7;
  --banner: #9a3412;
  --banner-bg: #fff7ed;
  --banner-line: #c2410c;
  --link: #1e3a5f;
  --link-hover: #9a3412;
  --verified: #166534;
  --partly: #b45309;
  --unverified: #57534e;
  --map-h: min(62vh, 560px);
  --sans: "IBM Plex Sans", "Segoe UI", Tahoma, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --max: 1100px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 16px;
}
a { color: var(--link); }
a:hover { color: var(--link-hover); }
.draft-banner {
  position: sticky;
  top: 0;
  z-index: 2000;
  background: var(--banner-bg);
  color: var(--banner);
  border-bottom: 3px solid var(--banner-line);
  text-align: center;
  padding: 0.65rem 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.92rem;
}
.draft-banner span { display: inline-block; max-width: 52rem; }
header.site-head {
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1rem; }
.site-head .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.brand h1 { font-size: 1.25rem; margin: 0; font-weight: 650; letter-spacing: -0.02em; }
.brand p { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.9rem; }
nav a { margin-right: 1rem; text-decoration: none; font-weight: 600; font-size: 0.95rem; }
nav a:last-child { margin-right: 0; }
nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
main { padding: 1.25rem 0 3rem; }
h2 { font-size: 1.2rem; margin: 1.5rem 0 0.6rem; }
.lede { font-size: 1.05rem; max-width: 46rem; }
.note, .callout {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin: 1rem 0;
}
#map {
  height: var(--map-h);
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0.75rem 0 0.4rem;
  background: #e7efe8;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.swatch {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  margin-right: 0.35rem;
  vertical-align: -1px;
  border: 2px solid #111;
}
.swatch.verified { background: var(--verified); border-color: var(--verified); }
.swatch.partly { background: var(--partly); border-color: var(--partly); }
.swatch.unverified { background: var(--unverified); border-color: var(--unverified); }
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.75rem;
  align-items: end;
  margin: 0.5rem 0 0.8rem;
}
.filters label { display: flex; flex-direction: column; font-size: 0.75rem; font-weight: 600; color: var(--muted); gap: 0.2rem; }
.filters input, .filters select {
  font: inherit;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.4rem 0.5rem;
  background: var(--card);
  min-width: 9rem;
}
.filters input[type="search"] { min-width: 16rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--card); }
table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
th, td { text-align: left; padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #efeae2; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; cursor: pointer; white-space: nowrap; position: sticky; top: 0; }
th:hover { background: #e4ddd3; }
th .arrow { font-size: 0.7em; margin-left: 0.2rem; opacity: 0.5; }
tr:last-child td { border-bottom: 0; }
tr:hover td { background: #f3efe8; }
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  border: 1px solid currentColor;
  white-space: nowrap;
}
.badge.verified { color: var(--verified); }
.badge.partly { color: var(--partly); }
.badge.unverified { color: var(--unverified); }
.badge.depth { color: var(--muted); font-weight: 600; }
.types { color: var(--muted); font-size: 0.85rem; }
.count { color: var(--muted); font-size: 0.9rem; margin: 0.4rem 0 0.8rem; }
footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
  background: var(--card);
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }
.meta-list { display: grid; grid-template-columns: 11rem 1fr; gap: 0.35rem 1rem; margin: 1rem 0; }
.meta-list dt { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 650; }
.meta-list dd { margin: 0; }
.sources { list-style: none; padding: 0; }
.sources li { margin: 0 0 0.6rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); }
.sources li:last-child { border-bottom: 0; }
.incidents { width: 100%; }
.empty { color: var(--muted); font-style: italic; }
.leaflet-popup-content { font-family: var(--sans); font-size: 0.9rem; }
.leaflet-popup-content strong { display: block; margin-bottom: 0.2rem; }
@media (max-width: 700px) {
  .brand h1 { font-size: 1.1rem; }
  .filters input[type="search"] { min-width: 100%; width: 100%; }
  .filters { flex-direction: column; align-items: stretch; }
  .filters label, .filters input, .filters select { width: 100%; min-width: 0; }
  .meta-list { grid-template-columns: 1fr; }
  .draft-banner { font-size: 0.8rem; letter-spacing: 0.02em; }
  #map { height: 50vh; }
  nav a { margin-right: 0.7rem; }
}
.brand h1 a.home-link { color: inherit; text-decoration: none; }

.nearby {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.95rem 1rem 1rem;
  margin: 0 0 1.1rem;
}
.nearby h2 { margin: 0 0 0.4rem; }
.nearby p { margin: 0 0 0.75rem; max-width: 46rem; }
.nearby-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
  align-items: end;
  margin: 0 0 0.75rem;
}
.nearby-row label {
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  gap: 0.2rem;
}
.nearby-row input,
.nearby-row button {
  font: inherit;
  font-size: 0.95rem;
  border-radius: 6px;
  padding: 0.45rem 0.7rem;
}
.nearby-row input {
  font-weight: 400;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--paper);
  width: 8.5rem;
  letter-spacing: 0.08em;
}
.nearby-row button {
  font-weight: 600;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--card);
  cursor: pointer;
}
.nearby-row button:hover,
.nearby-row button:focus-visible {
  background: var(--link);
  border-color: var(--link);
  outline: 2px solid var(--link);
  outline-offset: 2px;
}
.nearby-row button[type="button"] {
  background: var(--card);
  color: var(--ink);
}
.nearby-row button[type="button"]:hover,
.nearby-row button[type="button"]:focus-visible {
  background: #efeae2;
  color: var(--ink);
  border-color: var(--ink);
}
.nearby-note {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 0.4rem !important;
}
.nearby-results { margin-top: 0.4rem; }
.nearby-results h3 { font-size: 1rem; margin: 0.4rem 0 0.4rem; }
.nearby-results ol { margin: 0.2rem 0 0.5rem; padding-left: 1.3rem; }
.nearby-results li { margin: 0.25rem 0; }
.nearby-results .miles { color: var(--muted); font-variant-numeric: tabular-nums; }
.nearby-error { color: var(--banner); font-weight: 650; margin: 0.3rem 0 0; }
@media (max-width: 700px) {
  .nearby-row { flex-direction: column; align-items: stretch; }
  .nearby-row input, .nearby-row button { width: 100%; }
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: baseline;
}
nav a { margin-right: 0; }

.alerts-box input:disabled,
.alerts-box button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.alerts-box button:disabled:hover,
.alerts-box button:disabled:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--card);
  outline: none;
}

.research-slot {
  background: #f3efe8;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  color: var(--ink);
}
.research-slot strong { display: block; margin-bottom: 0.25rem; }
.research-slot p { margin: 0; color: var(--muted); }
.research-slot p strong { display: inline; color: var(--ink); }

.timeline-list,
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.timeline-item,
.comment-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  margin: 0 0 0.75rem;
}
.timeline-item header,
.comment-item header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  align-items: baseline;
  margin-bottom: 0.4rem;
}
.timeline-item time,
.comment-dates {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.timeline-item .summary,
.comment-item .summary { margin: 0.35rem 0 0.5rem; max-width: 46rem; }
.timeline-item .sources-inline,
.comment-item .sources-inline {
  font-size: 0.9rem;
  margin: 0;
  word-break: break-word;
}
.timeline-item.is-hidden,
.comment-item.is-hidden { display: none; }
.comment-item h3 { margin: 0.2rem 0 0.35rem; font-size: 1.05rem; }

.guide h3 { margin: 1.4rem 0 0.45rem; font-size: 1.05rem; }
.guide ul { max-width: 46rem; }
.guide li { margin: 0.3rem 0; }

.medical-note {
  border-left: 4px solid var(--banner-line);
}
@media (max-width: 700px) {
  nav { gap: 0.25rem 0.7rem; }
}

/* Feature pages and disabled alerts — append to site/css/style.css */

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  max-width: 42rem;
}
nav a { margin-right: 0; }

a:focus-visible,
input:focus-visible,
select:focus-visible,
button:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
}

.prose { max-width: 46rem; }
.prose p, .prose li { max-width: 46rem; }
.prose h2 { margin-top: 1.7rem; }
.prose h3 { font-size: 1.05rem; margin: 1.2rem 0 0.4rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin: 0.35rem 0; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--card);
  color: var(--ink);
  padding: 0.4rem 0.7rem;
  z-index: 3000;
}
.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.alerts-signup {
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 0.95rem 1rem 1rem;
  margin: 1.1rem 0 0;
}
.alerts-signup h2,
.alerts-signup h3 { margin: 0 0 0.4rem; }
.alerts-signup p { margin: 0 0 0.7rem; max-width: 46rem; }
.alerts-signup .coming-soon {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--partly);
  border: 1px solid var(--partly);
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
  margin-left: 0.35rem;
  vertical-align: 0.1rem;
}
.alerts-signup[aria-disabled="true"] input,
.alerts-signup[aria-disabled="true"] button {
  cursor: not-allowed;
  opacity: 0.65;
}
.alerts-signup input:disabled,
.alerts-signup button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  background: #efeae2;
  color: var(--muted);
  border-color: var(--line);
}
.alerts-fine {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0.5rem 0 0 !important;
}

.timeline-toolbar,
.comments-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.75rem;
  align-items: end;
  margin: 0.5rem 0 0.8rem;
}
.timeline-toolbar label,
.comments-toolbar label {
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  gap: 0.2rem;
}
.timeline-toolbar input,
.timeline-toolbar select,
.comments-toolbar select {
  font: inherit;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.4rem 0.5rem;
  background: var(--card);
  min-width: 9rem;
}
.source-links { font-size: 0.85rem; }
.source-links a { display: inline-block; margin-right: 0.6rem; word-break: break-all; }
.muted { color: var(--muted); }
.state-dir td:first-child { white-space: nowrap; font-weight: 650; }

footer .wrap { align-items: baseline; }
footer nav.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  max-width: none;
}
footer nav.footer-nav a { font-weight: 500; font-size: 0.9rem; }

@media (max-width: 700px) {
  nav { max-width: 100%; }
  .timeline-toolbar, .comments-toolbar { flex-direction: column; align-items: stretch; }
  .timeline-toolbar input,
  .timeline-toolbar select,
  .comments-toolbar select { width: 100%; min-width: 0; }
}

.alerts-signup input[type="email"] { width: 16rem; min-width: 12rem; letter-spacing: 0; }
@media (max-width: 700px) {
  .alerts-signup input[type="email"] { width: 100%; min-width: 0; }
}

.alerts-box .coming-soon,
.coming-soon {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--partly);
  border: 1px solid var(--partly);
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
  margin-left: 0.35rem;
  vertical-align: 0.1rem;
}

.sector-legend { gap: 0.55rem 1rem; }
.sector-chip { white-space: nowrap; }
.swatch.sector-army { background: #1e3a5f; border-color: #1e3a5f; }
.swatch.sector-navy { background: #1d4ed8; border-color: #1d4ed8; }
.swatch.sector-air_force { background: #0369a1; border-color: #0369a1; }
.swatch.sector-marines { background: #9a3412; border-color: #9a3412; }
.swatch.sector-other_dod { background: #57534e; border-color: #57534e; }
.swatch.sector-doe { background: #166534; border-color: #166534; }
.swatch.sector-nasa { background: #6b21a8; border-color: #6b21a8; }
.swatch.sector-contractor { background: #b45309; border-color: #b45309; }
.swatch.sector-other { background: #78716c; border-color: #78716c; }

/* Keep long official URLs from forcing horizontal scroll on small screens. */
.sources a,
.source-links a,
.sources-inline a,
td a,
.comment-item a,
.timeline-item a {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.table-wrap, .incidents, .timeline-list, .comment-list {
  max-width: 100%;
}
@media (max-width: 700px) {
  table { word-break: break-word; }
  th, td { white-space: normal; }
}


/* --- Thor-7 additions: map layers, wind, records, stories, fact sheets, archives --- */
.layer-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  align-items: center;
  font-size: 0.88rem;
  margin: 0.35rem 0 0.6rem;
}
.layer-controls label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.layer-controls input { accent-color: var(--link); }
.layer-note { color: var(--muted); font-size: 0.85rem; margin: 0.2rem 0 0.8rem; max-width: 46rem; }
.swatch.school { background: #1d4ed8; border-color: #1e3a8a; border-radius: 2px; }
.swatch.water { background: #0284c7; border-color: #0369a1; border-radius: 2px; }

.wind-box {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0.75rem 1.2rem;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin: 1rem 0;
}
.wind-box h2 { margin: 0 0 0.3rem; }
.wind-box p { margin: 0.25rem 0; }
.wind-rose { width: 150px; height: 150px; display: block; }
.wind-caveat { color: var(--muted); font-size: 0.85rem; max-width: 40rem; }
@media (max-width: 700px) {
  .wind-box { grid-template-columns: 1fr; justify-items: start; }
}

.archive-link {
  font-size: 0.8rem;
  margin-left: 0.35rem;
  white-space: nowrap;
}
.toolbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0.7rem 0 1rem;
  font-weight: 600;
}

.letter-form label, .stories-form label {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 0.7rem;
}
.letter-form input, .letter-form select, .letter-form textarea,
.stories-form input, .stories-form select, .stories-form textarea {
  font: inherit;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.45rem 0.55rem;
  background: var(--card);
  width: 100%;
  max-width: 40rem;
}
.letter-form textarea, .stories-form textarea { min-height: 5rem; max-width: 46rem; }
.letter-actions, .stories-form .actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.6rem 0 1rem; }
.letter-actions button, .stories-form button, .print-btn {
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--card);
  cursor: pointer;
}
.letter-actions button[type="button"].secondary, .print-btn.secondary, .stories-form button[disabled] {
  background: var(--card);
  color: var(--ink);
}
.letter-preview {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  white-space: pre-wrap;
  font-family: var(--mono);
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 46rem;
}
.routing { margin: 1rem 0; }
.routing dt { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 650; }
.routing dd { margin: 0 0 0.5rem; }

.stories-form[aria-disabled="true"], .stories-form.disabled {
  opacity: 0.85;
}
.disabled-banner {
  background: var(--banner-bg);
  border: 1px solid var(--banner-line);
  color: var(--banner);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  font-weight: 650;
  margin: 0 0 1rem;
}

.factsheet {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 1.15rem 1.3rem;
}
.factsheet h2 { margin-top: 0.9rem; }
.factsheet .meta-list { font-size: 0.9rem; grid-template-columns: 9.5rem 1fr; }
.factsheet .sources { font-size: 0.82rem; }
.factsheet .incidents { font-size: 0.82rem; }
.factsheet .url-line { font-size: 0.85rem; color: var(--muted); word-break: break-all; }

@media print {
  @page { size: letter; margin: 0.45in; }
  body { background: #fff; font-size: 10.5pt; line-height: 1.35; }
  .draft-banner, header.site-head, footer, .no-print, .alerts-box, nav, .nearby, .layer-controls, .letter-actions, .print-btn {
    display: none !important;
  }
  a { color: #000; text-decoration: none; }
  .factsheet {
    border: 0;
    border-radius: 0;
    padding: 0;
    background: #fff;
  }
  .factsheet h2 { font-size: 12pt; margin: 0.55rem 0 0.25rem; }
  .factsheet h1, .factsheet .sheet-title { font-size: 16pt; margin: 0 0 0.2rem; }
  #map, .wind-rose { break-inside: avoid; }
  .wind-box { grid-template-columns: 120px 1fr; border: 0; padding: 0; }
  .meta-list { grid-template-columns: 8.5rem 1fr; }
}

/* --- Hero banner: Tooele Army Depot open-detonation plume --- */
.hero {
  position: relative;
  background: #1a2330;
  overflow: hidden;
}
.hero-art, .hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
}
.hero--full {
  min-height: 11.5rem;
  height: clamp(11.5rem, 28vw, 17.5rem);
}
.hero--slim {
  min-height: 5.75rem;
  height: clamp(5.75rem, 16vw, 8rem);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(
    to top,
    rgba(8, 10, 14, 0.78) 0%,
    rgba(8, 10, 14, 0.42) 48%,
    rgba(8, 10, 14, 0.12) 100%
  );
  pointer-events: none;
}
.hero-copy {
  padding-top: 1.1rem;
  padding-bottom: 1rem;
  width: 100%;
}
.hero .brand h1,
.hero .brand h1 a.home-link {
  color: #fff;
  text-decoration: none;
  font-size: clamp(1.35rem, 4.6vw, 2.05rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75), 0 0 18px rgba(0, 0, 0, 0.35);
  max-width: none;
}
.hero .brand p {
  color: #f4f1ea;
  font-size: clamp(0.82rem, 2.6vw, 0.95rem);
  line-height: 1.35;
  margin: 0.35rem 0 0;
  max-width: 42rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}
.hero--slim .brand p { display: none; }
.hero--slim .brand h1,
.hero--slim .brand h1 a.home-link {
  font-size: clamp(1.15rem, 4vw, 1.45rem);
  max-width: none;
}
.hero-copy .brand a.home-link { pointer-events: auto; }
.hero-credit {
  margin: 0;
  padding: 0.35rem 0;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--muted);
}
.hero-credit a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hero-credit a:hover { color: var(--link-hover); }
.hero-credit .wrap { display: block; }
header.site-head.site-head--banner {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
header.site-head.site-head--banner .site-head-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}
@media (max-width: 700px) {
  .hero--full {
    min-height: 12.25rem;
    height: 12.25rem;
  }
  .hero--slim {
    min-height: 6.25rem;
    height: 6.25rem;
  }
  .hero .brand h1,
  .hero .brand h1 a.home-link {
    font-size: 1.35rem;
    max-width: 16ch;
  }
  .hero--slim .brand h1,
  .hero--slim .brand h1 a.home-link {
    font-size: 1.15rem;
    max-width: none;
  }
  header.site-head.site-head--banner .site-head-bar {
    justify-content: flex-start;
  }
}
@media print {
  .hero, .hero-credit { display: none !important; }
}
