/* ==========================================================================
   Help Missouri — site styles
   Single stylesheet for all pages. Edit colors in :root to re-skin the site.
   ========================================================================== */

:root {
  /* Brand palette */
  --pine-900: #12281c;
  --pine-800: #1b3a29;
  --pine-700: #24503a;
  --pine-600: #2f6448;
  --pine-100: #dfe9e2;
  --pine-50:  #eef3ef;

  --clay-700: #9c4a1f;
  --clay-600: #b85a26;
  --clay-500: #c9682c;
  --clay-100: #f7e5d8;

  --cream:    #fbf8f3;
  --paper:    #ffffff;
  --ink:      #1a1a17;
  --ink-soft: #4a4a44;
  --rule:     #e2ded4;

  --focus:    #b85a26;

  /* Type */
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --wrap: 1120px;
  --wrap-narrow: 760px;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(18, 40, 28, .06), 0 8px 24px rgba(18, 40, 28, .07);
}

/* --------------------------------------------------------------- Reset --- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  color: var(--pine-900);
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

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

a { color: var(--pine-700); text-underline-offset: 3px; }
a:hover { color: var(--clay-700); }

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

/* ------------------------------------------------------------ Utilities --- */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }
.wrap--narrow { max-width: var(--wrap-narrow); }

[id] { scroll-margin-top: 92px; }

.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--tight { padding-block: clamp(2.25rem, 5vw, 3.5rem); }

.eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--clay-700);
  margin: 0 0 .85rem;
}

.lede { font-size: clamp(1.075rem, 1.7vw, 1.25rem); color: var(--ink-soft); }

.center { text-align: center; }
.measure { max-width: 62ch; }
.measure.center { margin-inline: auto; }

.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;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px;
  background: var(--pine-800); color: #fff;
  padding: .7rem 1.1rem; border-radius: 0 0 var(--radius) var(--radius);
  z-index: 200; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 0; color: #fff; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body);
  font-size: 1rem; font-weight: 600; line-height: 1;
  padding: .9rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--clay-600); color: #fff; border-color: var(--clay-600); }
.btn--primary:hover { background: var(--clay-700); border-color: var(--clay-700); color: #fff; }

.btn--dark { background: var(--pine-700); color: #fff; border-color: var(--pine-700); }
.btn--dark:hover { background: var(--pine-800); border-color: var(--pine-800); color: #fff; }

.btn--ghost { background: transparent; color: var(--pine-800); border-color: var(--pine-700); }
.btn--ghost:hover { background: var(--pine-700); color: #fff; }

.btn--on-dark { background: #fff; color: var(--pine-800); border-color: #fff; }
.btn--on-dark:hover { background: var(--pine-100); color: var(--pine-900); border-color: var(--pine-100); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--outline-light:hover { background: rgba(255,255,255,.14); color: #fff; border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.btn-row--center { justify-content: center; }

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

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 243, .94);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--rule);
}

.header-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 76px;
}

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; }
.brand:hover { color: inherit; }

.brand-mark {
  width: 40px; height: 40px; flex: none;
  border-radius: 9px;
  background: var(--pine-700);
  display: grid; place-items: center;
  color: #fff;
}
.brand-mark svg { width: 24px; height: 24px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-head); font-weight: 700;
  font-size: 1.2rem; color: var(--pine-900); letter-spacing: -.01em;
}
.brand-tag { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }

.nav-toggle {
  display: none;
  align-items: center; gap: .5rem;
  background: transparent; border: 2px solid var(--rule);
  border-radius: 999px; padding: .55rem .9rem;
  font: inherit; font-size: .9rem; font-weight: 600; color: var(--pine-900);
  cursor: pointer;
}
.nav-toggle svg { width: 18px; height: 18px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav ul {
  list-style: none; display: flex; align-items: center;
  gap: .35rem; margin: 0; padding: 0;
}
.site-nav a {
  display: block; padding: .55rem .9rem;
  border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: .97rem;
  color: var(--pine-800);
}
.site-nav a:hover { background: var(--pine-50); color: var(--pine-900); }
.site-nav a[aria-current="page"] { color: var(--clay-700); }
.site-nav .nav-cta { margin-left: .4rem; }
.site-nav .nav-cta a {
  background: var(--clay-600); color: #fff; padding: .65rem 1.25rem;
}
.site-nav .nav-cta a:hover { background: var(--clay-700); color: #fff; }

@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream);
    border-bottom: 1px solid var(--rule);
    box-shadow: var(--shadow);
    padding: .6rem 1.25rem 1.4rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: .15rem; }
  .site-nav a { padding: .85rem .6rem; border-radius: var(--radius); font-size: 1.05rem; }
  .site-nav .nav-cta { margin: .6rem 0 0; }
  .site-nav .nav-cta a { text-align: center; }
}

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

.hero {
  background: linear-gradient(170deg, var(--pine-800) 0%, var(--pine-900) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
/* Still image behind the hero. Swapped out automatically the moment a
   background video is present (see .hero.has-video below). */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: image-set(url("assets/hero.webp") type("image/webp"), url("assets/hero.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: 72% 30%;
  opacity: .58;
  transition: opacity .8s ease;
  pointer-events: none;
}
.hero.has-video::before { opacity: 0; }

/* Optional background video. Drop assets/hero.mp4 in place and it appears;
   with no file the hero falls back to the still image above. See README. */
.hero-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .8s ease;
  pointer-events: none;
  border: 0;
}
.hero-media.is-ready { opacity: .34; }

@media (prefers-reduced-motion: reduce) {
  .hero-media { display: none; }
}

.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(18,40,28,.92) 0%, rgba(18,40,28,.78) 42%, rgba(18,40,28,.18) 100%),
    radial-gradient(700px 380px at 6% 108%, rgba(47, 100, 72, .5), transparent 60%);
  pointer-events: none;
}
/* On narrow screens the text runs the full width, so the angled gradient
   can't be relied on to keep the left side dark. Flatten it. */
@media (max-width: 760px) {
  .hero::before { opacity: .48; }
  .hero::after {
    background: linear-gradient(180deg, rgba(18,40,28,.86) 0%, rgba(18,40,28,.82) 100%);
  }
}

.hero > .wrap { position: relative; z-index: 1; }
.hero-inner { padding-block: clamp(3.5rem, 9vw, 6.5rem); max-width: 46rem; }
.hero h1 { color: #fff; }
.hero p { color: rgba(255, 255, 255, .88); }
.hero .eyebrow { color: #f0b98d; }
.hero .btn-row { margin-top: 2rem; }

.hero-note {
  margin-top: 2.25rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.18);
  font-size: .93rem; color: rgba(255,255,255,.72); max-width: 40rem;
}

/* --------------------------------------------------------- Page banners --- */

.page-head {
  background: var(--pine-800);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-head--media::before {
  content: ""; position: absolute; inset: 0;
  background-image: image-set(url("assets/hero-eagle.webp") type("image/webp"), url("assets/hero-eagle.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: 60% 34%;
  opacity: .34;
}
.page-head--media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(18,40,28,.92) 0%, rgba(18,40,28,.76) 52%, rgba(18,40,28,.34) 100%);
}
.page-head > .wrap { position: relative; z-index: 1; }
.page-head .wrap { padding-block: clamp(2.75rem, 6vw, 4.25rem); }
.page-head h1 { color: #fff; margin-bottom: .35rem; }
.page-head p { color: rgba(255,255,255,.85); max-width: 55ch; }
.page-head .eyebrow { color: #f0b98d; }

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

.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--ink-soft); font-size: 1rem; }

.card-icon {
  width: 46px; height: 46px; border-radius: 11px;
  background: var(--pine-50); color: var(--pine-700);
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.card-icon svg { width: 24px; height: 24px; }

/* --------------------------------------------------------------- Panels --- */

.panel {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow);
}

.panel--quiet { background: var(--pine-50); border-color: var(--pine-100); box-shadow: none; }
.panel--flag { border-left: 5px solid var(--clay-600); }

/* Donate page: what the donor will actually see on Zeffy's checkout.
   Sits ABOVE the button on purpose - it only works if it's read first. */
.tip-note {
  margin-top: 1.5rem; padding: 1.05rem 1.15rem;
  background: var(--clay-100); border: 1px solid #edcdb4;
  border-left: 5px solid var(--clay-600); border-radius: var(--radius);
}
.tip-note p { margin: 0 0 .6rem; font-size: .95rem; line-height: 1.55; color: var(--ink); }
.tip-note p:last-child { margin-bottom: 0; }
.tip-note__head {
  font-family: var(--font-head); font-weight: 600;
  font-size: 1.02rem !important; color: var(--clay-700);
  margin-bottom: .55rem !important;
}
.tip-note__foot { font-size: .9rem !important; color: var(--ink-soft); }
.tip-note em { font-style: italic; }
.tip-steps {
  margin: .2rem 0 .75rem; padding-left: 1.35rem;
  display: grid; gap: .4rem;
}
.tip-steps li {
  font-size: .95rem; line-height: 1.5; color: var(--ink);
  padding-left: .15rem;
}
.tip-steps li::marker { font-weight: 700; color: var(--clay-700); }

.band-dark {
  background: var(--pine-800);
  color: #fff;
}
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark p { color: rgba(255,255,255,.85); }
.band-dark .eyebrow { color: #f0b98d; }

.band-quiet { background: var(--pine-50); }

.mission-quote {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.4vw, 2.15rem);
  line-height: 1.3;
  color: #fff;
  margin: 0 auto;
  max-width: 24ch;
  text-wrap: balance;
}

/* ---------------------------------------------------------------- Steps --- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start;
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 1.25rem 1.4rem;
}
.steps li::before {
  content: counter(step);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--pine-700); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
}
.steps h3 { margin-bottom: .3rem; font-size: 1.1rem; }
.steps p { color: var(--ink-soft); font-size: 1rem; }

/* ---------------------------------------------------------------- Lists --- */

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.checklist li { position: relative; padding-left: 1.9rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 11px; height: 11px; border-radius: 3px;
  background: var(--clay-600);
}

.plain-list { margin: 0; padding-left: 1.2rem; display: grid; gap: .5rem; }

/* ---------------------------------------------------------------- Table --- */

.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper); }
table { border-collapse: collapse; width: 100%; min-width: 420px; font-size: 1rem; }
caption { text-align: left; padding: 1rem 1.1rem .35rem; color: var(--ink-soft); font-size: .93rem; }
th, td { text-align: left; padding: .8rem 1.1rem; border-bottom: 1px solid var(--rule); }
thead th { background: var(--pine-50); color: var(--pine-900); font-size: .88rem; text-transform: uppercase; letter-spacing: .06em; }
tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { font-variant-numeric: tabular-nums; }

/* ----------------------------------------------------------------- Stats --- */

.stats { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stat { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 1.5rem; }
.stat-figure { font-family: var(--font-head); font-size: clamp(2rem, 4.5vw, 2.8rem); font-weight: 700; color: #fff; line-height: 1; }
.stat p { margin: .6rem 0 0; font-size: .97rem; }

/* ---------------------------------------------------------- Give options --- */

.give-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }

.give-card { position: relative; }
.give-card .badge {
  position: absolute; top: -.75rem; left: 1.75rem;
  background: var(--clay-600); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .35rem .75rem; border-radius: 999px;
}
.give-card h3 { margin-top: .35rem; }

.amount-row { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.1rem 0 1.35rem; }
.amount-row a {
  border: 2px solid var(--pine-100); background: var(--pine-50);
  border-radius: 999px; padding: .6rem 1.15rem;
  font-weight: 700; text-decoration: none; color: var(--pine-800);
  font-variant-numeric: tabular-nums;
}
.amount-row a:hover { border-color: var(--clay-600); background: var(--clay-100); color: var(--clay-700); }

.address-block {
  font-style: normal;
  background: var(--pine-50); border: 1px solid var(--pine-100);
  border-radius: var(--radius); padding: 1.1rem 1.25rem;
  line-height: 1.5;
}

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

.form-panel {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow);
}

.form-grid { display: grid; gap: 1.15rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.field--full { grid-column: 1 / -1; }

fieldset { border: 0; margin: 0 0 1.6rem; padding: 0; }
fieldset:last-of-type { margin-bottom: 1.2rem; }
legend {
  font-family: var(--font-head); font-size: 1.15rem; font-weight: 600;
  color: var(--pine-900); padding: 0; margin-bottom: .35rem;
}
.legend-note { color: var(--ink-soft); font-size: .97rem; margin: 0 0 1.15rem; }

.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-weight: 600; font-size: .95rem; color: var(--pine-900); }
.field .req { color: var(--clay-700); }
.field .hint { font-size: .87rem; color: var(--ink-soft); font-weight: 400; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="file"],
.field select,
.field textarea {
  font: inherit; font-size: 1rem;
  color: var(--ink); background: var(--cream);
  border: 2px solid var(--rule); border-radius: 8px;
  padding: .7rem .85rem; width: 100%;
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--pine-600); background: #fff; outline: none;
  box-shadow: 0 0 0 3px rgba(47, 100, 72, .18);
}
.field input[type="file"] { padding: .55rem; background: var(--pine-50); border-style: dashed; }

.checks { display: grid; gap: .6rem; }
.check {
  display: flex; align-items: flex-start; gap: .7rem;
  border: 2px solid var(--rule); border-radius: 8px;
  padding: .8rem .95rem; background: var(--cream);
  font-size: 1rem; cursor: pointer;
}
.check:hover { border-color: var(--pine-100); background: var(--pine-50); }
.check input { margin: .2rem 0 0; width: 18px; height: 18px; accent-color: var(--pine-700); flex: none; }
.check:has(input:checked) { border-color: var(--pine-600); background: var(--pine-50); }
.check span { font-weight: 600; color: var(--pine-900); }
.check em { display: block; font-style: normal; font-weight: 400; color: var(--ink-soft); font-size: .92rem; margin-top: .15rem; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: .5rem; }
.form-privacy { font-size: .9rem; color: var(--ink-soft); margin: 1.25rem 0 0; }
.hp { position: absolute; left: -9999px; }

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

details {
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 1.1rem 1.3rem;
}
details + details { margin-top: .75rem; }
summary {
  cursor: pointer; font-weight: 600; color: var(--pine-900);
  font-size: 1.05rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; color: var(--clay-600); line-height: 1; }
details[open] summary::after { content: "\2212"; }
details > *:not(summary) { margin-top: .8rem; color: var(--ink-soft); }

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

.cta-band { background: var(--clay-600); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); }

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

.site-footer {
  background: var(--pine-900);
  color: rgba(255,255,255,.78);
  padding-block: 3.25rem 2rem;
  font-size: .97rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #f0b98d; text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.site-footer h2 {
  font-family: var(--font-body); font-size: .8rem; letter-spacing: .13em;
  text-transform: uppercase; color: #f0b98d; margin: 0 0 .9rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-brand p { max-width: 34ch; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between;
  font-size: .87rem; color: rgba(255,255,255,.6);
}

/* ------------------------------------------------- Decorative band strip --- */

.foliage-band {
  height: clamp(90px, 12vw, 150px);
  background: url("assets/band-foliage.jpg") center/cover no-repeat;
  border-block: 1px solid var(--rule);
  position: relative;
}
.foliage-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(18,40,28,.28), rgba(18,40,28,.06) 45%, rgba(18,40,28,.28));
}

/* ---------------------------------------------------------- Disasters --- */

.disaster-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .55rem; }
.disaster-list li {
  display: grid; grid-template-columns: 8.5rem 1fr; gap: .35rem 1rem;
  padding: .8rem 0; border-top: 1px solid var(--rule);
  font-size: 1rem;
}
.disaster-list li:last-child { border-bottom: 1px solid var(--rule); }
.disaster-list .when { color: var(--clay-700); font-weight: 700; font-variant-numeric: tabular-nums; }
.disaster-list .what { color: var(--ink-soft); }
.band-dark .disaster-list li { border-color: rgba(255,255,255,.16); }
.band-dark .disaster-list .when { color: #f0b98d; }
.band-dark .disaster-list .what { color: rgba(255,255,255,.86); }
@media (max-width: 560px) {
  .disaster-list li { grid-template-columns: 1fr; gap: .15rem; }
}

.ext::after {
  content: " ↗";
  font-size: .85em;
}

/* ------------------------------------------------------- Missouri badge --- */

.mo-badge {
  display: inline-flex; align-items: center; gap: .85rem;
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: 999px; padding: .5rem .5rem .5rem 1.1rem;
  box-shadow: var(--shadow); font-weight: 600; color: var(--pine-900);
  font-size: .95rem;
}
.mo-badge img {
  width: 54px; height: 38px; object-fit: cover;
  border-radius: 6px; border: 1px solid var(--rule);
}
.band-dark .mo-badge { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); color: #fff; }
.band-dark .mo-badge img { border-color: rgba(255,255,255,.3); }

/* ------------------------------------------------------- Credentials --- */

.creds-grid { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
@media (max-width: 760px) { .creds-grid { grid-template-columns: 1fr; } }

.docs { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
/* One document instead of two: keep it at card size, don't let it balloon. */
.docs--one { grid-template-columns: minmax(0, 1fr); max-width: 20rem; }
.doc {
  display: block; text-decoration: none;
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: .65rem; box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.doc:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(18,40,28,.16); }
.doc img { border-radius: 5px; border: 1px solid var(--rule); width: 100%; }
.doc span {
  display: block; margin-top: .6rem; font-size: .85rem; font-weight: 600;
  color: var(--pine-800); line-height: 1.35;
}

.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.facts li {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem;
  padding: .8rem 0; border-bottom: 1px solid var(--rule);
}
.facts li:last-child { border-bottom: 0; }
.facts dt, .facts .k { color: var(--ink-soft); font-size: .95rem; }
.facts dd, .facts .v { margin: 0; font-weight: 700; color: var(--pine-900); font-variant-numeric: tabular-nums; }

.ein-strip {
  display: inline-flex; align-items: baseline; gap: .6rem; flex-wrap: wrap;
  background: var(--pine-50); border: 1px solid var(--pine-100);
  border-radius: var(--radius); padding: .75rem 1.15rem;
  font-size: .97rem; color: var(--ink-soft);
}
.ein-strip strong { color: var(--pine-900); font-variant-numeric: tabular-nums; letter-spacing: .02em; }

/* ------------------------------------------------------------------ 404 --- */

.error-page { display: grid; place-items: center; text-align: center; padding-block: clamp(4rem, 12vw, 8rem); }
