/* Joplin Tornado Shelters — static v1 */
:root {
  --ink: #16202c;
  --ink-soft: #3a4654;
  --paper: #f4f1ea;
  --card: #fffcf7;
  --line: #d9d1c4;
  --link: #1d4f73;
  --link-hover: #0f3550;
  --accent: #9a4f2c;
  --accent-hover: #7c3d21;
  --accent-text: #fffaf6;
  --ok: #215c3a;
  --ok-bg: #e7f3ea;
  --warn-bg: #f3ead7;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(22, 32, 44, 0.06), 0 8px 24px rgba(22, 32, 44, 0.05);
  --serif: "Source Serif 4", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "IBM Plex Sans", "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
  --max: 70rem;
  --measure: 42rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 0.15em; }
a:hover { color: var(--link-hover); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
h3 { font-size: 1.2rem; }
p, ul, ol { margin: 0 0 1rem; }
.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--ink);
  color: #fff;
  padding: 0.4rem 0.7rem;
  z-index: 100;
}
.skip:focus { top: 0.75rem; }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.measure { max-width: var(--measure); }

/* Header */
.site-header {
  background: var(--ink);
  color: #f3eee6;
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header a { color: inherit; text-decoration: none; }
.site-header > .wrap.header-inner,
.header-inner {
  width: min(100% - 2rem, 1240px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  min-height: 3.75rem;
  flex-wrap: nowrap;
}
.logo {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo span { color: #c8b89a; font-weight: 500; }
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem 0.78rem;
  flex-wrap: nowrap;
  min-width: 0;
}
.nav a { font-size: 0.86rem; opacity: 0.92; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; text-decoration: underline; }
.nav .btn {
  text-decoration: none;
  opacity: 1;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0.42rem 0.8rem;
  font-size: 0.86rem;
}
.menu-toggle {
  display: none;
  background: transparent;
  color: inherit;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  padding: 0.35rem 0.55rem;
  font: inherit;
  font-size: 0.9rem;
}
.disclosure {
  background: #eef2e8;
  color: #243026;
  font-size: 0.92rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #d5ddd0;
}
.disclosure p { margin: 0; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text) !important;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { background: var(--accent-hover); color: var(--accent-text) !important; }
.btn-ghost {
  background: transparent;
  color: var(--ink) !important;
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: #efeae1; color: var(--ink) !important; }

/* Hero / layout */
main { flex: 1; }
.hero {
  padding: 2.6rem 0 2rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(1200px 280px at 80% -20%, #e4ddd0 0%, transparent 60%),
    var(--paper);
}
.hero p.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 40rem; }
.hero-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.3rem; }
section { padding: 2.2rem 0; }
section + section { border-top: 1px solid var(--line); }
.kicker {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

/* Cards / grids */
.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1.2rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 0.4rem; }
.card p:last-child { margin-bottom: 0; }
.card a.more { font-weight: 600; }

.callout {
  background: var(--warn-bg);
  border: 1px solid #e0d3b6;
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
}
.callout.ok { background: var(--ok-bg); border-color: #c3dccb; }
.sources, .fine {
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.sources { margin-top: 1.5rem; }
.sources a { overflow-wrap: anywhere; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
th, td {
  text-align: left;
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th { background: #ece7dc; font-weight: 600; }
.table-wrap { overflow-x: auto; margin: 0 0 1rem; }

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.4rem;
  margin-bottom: 0.85rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--ink);
  color: #f4f1ea;
  font-size: 0.85rem;
  font-weight: 600;
  display: grid;
  place-items: center;
}

/* Form */
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  gap: 0.9rem 1rem;
  grid-template-columns: 1fr 1fr;
}
.field { display: flex; flex-direction: column; gap: 0.28rem; }
.field.full { grid-column: 1 / -1; }
.field label, .fieldset legend {
  font-weight: 600;
  font-size: 0.92rem;
}
.hint { font-weight: 400; color: var(--ink-soft); font-size: 0.85rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  font: inherit;
  padding: 0.5rem 0.65rem;
  border: 1px solid #cfc6b8;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
textarea { min-height: 6.5rem; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--link);
  outline-offset: 1px;
}
.choices { display: flex; flex-wrap: wrap; gap: 0.55rem 1rem; }
.choices label { font-weight: 400; display: flex; align-items: center; gap: 0.35rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-success {
  display: none;
  background: var(--ok-bg);
  border: 1px solid #b7d4c0;
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  color: #163522;
}
.form-success.show { display: block; }
.form-error {
  display: none;
  color: #8a1f1f;
  font-size: 0.92rem;
  margin-bottom: 0.6rem;
}
.form-error.show { display: block; }
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  grid-column: 1 / -1;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #e6e0d6;
  padding: 2rem 0 1.4rem;
  margin-top: 2rem;
  font-size: 0.92rem;
}
.site-footer a { color: #e8d7b8; }
.footer-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1.4fr 1fr 1fr;
}
.site-footer h2 {
  color: #f4f1ea;
  font-size: 0.8rem;
  font-family: var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0.2rem 0; }
.legal {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: #b7b1a6;
  font-size: 0.85rem;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 0.5rem 0 0.2rem; }

@media (max-width: 1100px) {
  .menu-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 3.75rem;
    background: #101820;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1rem 1rem;
    gap: 0.65rem;
  }
  .nav.open { display: flex; }
  .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
}

.site-phone[hidden]{display:none!important}
.site-phone:not([hidden]){display:inline-block;margin-left:.75rem;font-size:.92rem}
