/* La Porte Weather Now — Midwest Storm & Travel Weather
   Palette: tactical black & orange, matching the ScoopAndDude brand */

:root {
  --forest: #1a1a1a;
  --forest-dark: #0a0a0a;
  --forest-soft: #262626;
  --amber: #ff8a00;
  --amber-bright: #ffb400;
  --amber-dark: #cc6f00;
  --amber-text: #9a4f00;  /* amber for small text on light backgrounds (5:1 or better) */
  --dusk: #141414;
  --cream: #fafafa;
  --cream-2: #f0f0f0;
  --card: #ffffff;
  --ink: #171717;
  --ink-soft: #52525b;
  --ink-faint: #5c5c5c;   /* 4.5:1+ on white, cream, and the gray sections (WCAG AA for small text) */
  --line: #e2e2e2;
  --good: #2f7d4f;
  --good-bg: #e7f3ea;
  --warn: #c8862b;
  --warn-bg: #fbf0dd;
  --bad: #b23a2f;
  --bad-bg: #fbe9e6;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(14, 33, 26, 0.14);
  --shadow-lg: 0 20px 50px rgba(14, 33, 26, 0.28);
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    linear-gradient(rgba(26,26,26,0.62), rgba(250,250,250,0.6) 340px, rgba(250,250,250,0.5)),
    url('https://upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Laporte_County_Indiana_courthouse_2.jpg/1280px-Laporte_County_Indiana_courthouse_2.jpg') center 20% / cover no-repeat fixed;
  background-color: var(--cream);
  scroll-behavior: smooth;
}
/* Phones get a smaller copy of the courthouse photo (about 225 KB instead of 1.2 MB for the original). */
@media (max-width: 700px) {
  html, body {
    background:
      linear-gradient(rgba(26,26,26,0.62), rgba(250,250,250,0.6) 340px, rgba(250,250,250,0.5)),
      url('https://upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Laporte_County_Indiana_courthouse_2.jpg/960px-Laporte_County_Indiana_courthouse_2.jpg') center 20% / cover no-repeat;
    background-color: var(--cream);
  }
}
@media (prefers-reduced-motion: reduce) {
  html, body { scroll-behavior: auto; }
}

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

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--forest-dark);
  color: var(--amber-bright);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.topbar-links { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.topbar-links .topbar-donate { color: var(--amber-bright); }
.install-btn {
  font: inherit; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  background: var(--amber); color: var(--forest-dark);
  border: 0; border-radius: 999px; padding: 5px 12px; cursor: pointer;
}
.install-btn:hover { background: var(--amber-bright); }
.install-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.install-dialog {
  max-width: 420px; width: calc(100% - 32px);
  border: 0; border-radius: 18px; padding: 26px 24px 22px;
  background: var(--forest); color: #fff;
  font-family: var(--sans); box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.install-dialog::backdrop { background: rgba(0,0,0,0.65); }
.install-dialog h2 { font-family: var(--serif); font-size: 22px; margin: 0 0 8px; color: var(--amber-bright); }
.install-dialog h3 { font-size: 14px; margin: 18px 0 6px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--amber); }
.install-dialog p { font-size: 14px; color: #d9d9d9; margin: 0; }
.install-dialog ol { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.6; }
.install-dialog .install-dialog-close { margin-top: 20px; width: 100%; justify-content: center; }

/* ---------- Nav ---------- */
.nav {
  background: var(--forest);
  color: #fff;
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {   /* the LPWN storm logo (Oct. 6, 2026); the text inside stays for screen readers */
  width: 93px; height: 42px; border-radius: 10px;
  background: #111113 url("/logo-mark.webp") center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  color: transparent; font-size: 0; overflow: hidden;
  flex-shrink: 0;
}
.brand-text { line-height: 1.15; }
.brand-text .t1 { font-size: 15px; font-weight: 700; letter-spacing: 0.02em; }
.brand-text .t2 { font-size: 13px; color: var(--amber-bright); font-weight: 700; letter-spacing: 0.03em; }

.navlinks { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.navlinks a { opacity: 0.88; padding: 6px 0; border-bottom: 2px solid transparent; }
.navlinks a:hover, .navlinks a.active { opacity: 1; border-bottom-color: var(--amber); }
@media (max-width: 700px) {
  .nav .wrap { padding-top: 10px; padding-bottom: 6px; gap: 8px; }
  .navlinks { gap: 0 14px; font-size: 12.5px; }
  .navlinks a { padding: 7px 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(180deg, rgba(14,33,26,0.55), rgba(14,33,26,0.85)), var(--dusk);
  background-size: cover;
  background-position: center;
  padding: 56px 0 44px;
}
.hero-eyebrow {
  color: var(--amber-bright);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 10px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1.12;
  margin: 0 0 14px;
  max-width: 720px;
}
.hero p.lede {
  font-size: 17px;
  color: #e7e9e2;
  max-width: 640px;
  margin: 0 0 24px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  font-weight: 700; font-size: 14px; cursor: pointer; border: none;
}
.btn-amber { background: var(--amber); color: var(--forest-dark); }
.btn-amber:hover { background: var(--amber-bright); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.55); }
.btn-outline:hover { border-color: #fff; }

.location-switcher {
  display: flex; align-items: center; gap: 10px; margin-bottom: 26px; flex-wrap: wrap;
}
.location-switcher label { font-size: 13px; color: var(--amber-bright); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.location-switcher select {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
}
.location-switcher select option { color: #111; }

.location-search { margin-bottom: 18px; }
.location-search label { display:block; font-size: 13px; color: var(--amber-bright); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; }
.location-search input {
  width: 100%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 600;
}
.location-search input::placeholder { color: rgba(255,255,255,0.5); font-weight: 500; }
.search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 20;
}
.search-results:empty { display: none; }
.search-result-item {
  display: block; width: 100%; text-align: left;
  padding: 12px 16px; border: none; background: none;
  font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer;
  border-bottom: 1px solid var(--line);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--cream-2); }
.search-result-empty { padding: 12px 16px; font-size: 13px; color: var(--ink-faint); }

/* alert banner */
.alert-banner {
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.alert-banner.ok { background: rgba(47,125,79,0.18); border: 1px solid rgba(120,220,160,0.4); }
.alert-banner.warn { background: rgba(200,134,43,0.22); border: 1px solid rgba(255,196,110,0.5); }
.alert-banner.bad { background: rgba(178,58,47,0.25); border: 1px solid rgba(255,140,120,0.55); }
.alert-banner.checking { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.22); }
.checking .badge-dot { background: rgba(255,255,255,0.25); }
.alert-banner .status { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.badge-dot {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.ok .badge-dot { background: var(--good); }
.warn .badge-dot { background: var(--warn); }
.bad .badge-dot { background: var(--bad); }
.alert-banner .meta { font-size: 12.5px; color: #cfd6cd; font-weight: 500; }
.alert-banner .verify { font-size: 13px; font-weight: 700; color: var(--amber-bright); white-space: nowrap; }

/* current conditions + hourly */
.now-panel {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 20px;
  margin-bottom: 8px;
}
@media (max-width: 800px) { .now-panel { grid-template-columns: 1fr; } }

.now-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.now-temp { font-family: var(--serif); font-size: 64px; line-height: 1; font-weight: 700; }
.now-icon { font-size: 46px; }
.now-detail .cond { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.now-detail .updated { font-size: 12.5px; color: #cfd6cd; }

.now-stats {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}
.now-stats .stat-label { font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--amber-bright); font-weight: 700; margin-bottom: 4px; }
.now-stats .stat-value { font-size: 20px; font-weight: 700; }

.hourly-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 22px 0 4px;
  margin-top: 18px;
}
.hour-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  min-width: 96px;
  text-align: center;
  flex-shrink: 0;
}
.hour-card .t { font-size: 12.5px; color: #cfd6cd; margin-bottom: 6px; font-weight: 600; }
.hour-card .icon { font-size: 22px; margin-bottom: 4px; }
.hour-card .temp { font-weight: 700; font-size: 17px; }
.hour-card .pop { font-size: 11.5px; color: var(--amber-bright); margin-top: 2px; }

/* ---------- Section shells ---------- */
.section { padding: 56px 0; }
.section.alt { background: var(--cream-2); }
.section.dark { background: var(--forest); color: #fff; }
.section-eyebrow {
  color: var(--amber-text);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12.5px;
  margin-bottom: 10px;
}
.section.dark .section-eyebrow { color: var(--amber-bright); }
.section h2, .section h1.page-title {
  font-family: var(--serif);
  font-size: 32px;
  margin: 0 0 12px;
  max-width: 680px;
}
.section p.lede { color: var(--ink-soft); max-width: 620px; margin: 0 0 30px; font-size: 15.5px; }
.section.dark p.lede { color: #d7ddd4; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 8px;}

/* decision board */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.decision-card {
  background: var(--card);
  border-radius: var(--radius);
  border-top: 4px solid var(--amber);
  box-shadow: var(--shadow);
  padding: 20px;
}
.decision-card .badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.badge.good { background: var(--good-bg); color: #25683f; }
.badge.warn { background: var(--warn-bg); color: #7a4a00; }
.badge.bad { background: var(--bad-bg); color: var(--bad); }
.decision-card .label { font-size: 12px; color: var(--ink-faint); font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 6px; }
.decision-card h3 { margin: 0 0 8px; font-size: 20px; font-family: var(--serif); }
.decision-card .big { font-family: var(--serif); font-size: 30px; font-weight: 700; margin-bottom: 6px; }
.decision-card .detail { font-size: 13.5px; color: var(--ink-soft); }

/* 7-day forecast */
.forecast-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
@media (max-width: 900px) { .forecast-strip { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .forecast-strip { grid-template-columns: repeat(2, 1fr); } }
.day-card {
  background: var(--card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 16px 10px;
  text-align: center;
}
.day-card .dow { font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.day-card .icon { font-size: 26px; margin-bottom: 6px; }
.day-card .cond { font-size: 11.5px; color: var(--ink-soft); margin-bottom: 8px; min-height: 28px; }
.day-card .hi { font-size: 18px; font-weight: 800; }
.day-card .lo { font-size: 14px; color: var(--ink-faint); margin-left: 4px; }
.day-card .pop { font-size: 11px; color: var(--amber-text); margin-top: 6px; font-weight: 700; }

/* article cards */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.article-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  border-top: 3px solid var(--line);
}
.article-card.feat { border-top-color: var(--amber); }
.article-card .tag { font-size: 11px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--amber-text); margin-bottom: 10px; }
.article-card h3 { font-family: var(--serif); font-size: 20px; margin: 0 0 10px; line-height: 1.3; }
.article-card p { font-size: 14px; color: var(--ink-soft); margin: 0 0 16px; }
.article-card .more { font-weight: 700; font-size: 13.5px; color: var(--forest); }

/* promo band */
.promo-band {
  background: linear-gradient(120deg, var(--forest), var(--forest-soft));
  color: #fff;
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.promo-band h3 { font-family: var(--serif); font-size: 24px; margin: 0 0 8px; }
.promo-band p { margin: 0; color: #d7ddd4; max-width: 480px; font-size: 14.5px; }

/* road/route card */
.route-card {
  background: linear-gradient(160deg, var(--dusk), #16222f);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.route-card .tag { color: var(--amber-bright); font-weight: 800; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px; }
.route-card h3 { font-family: var(--serif); font-size: 26px; margin: 0 0 10px; max-width: 460px; }
.route-card p { color: #cbd3ce; font-size: 14px; max-width: 460px; margin: 0; }

/* newsletter */
.newsletter {
  background: linear-gradient(120deg, #1c4a63, #123247);
  color: #fff;
  padding: 50px 0;
}
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.newsletter h3 { font-family: var(--serif); font-size: 28px; margin: 0 0 8px; max-width: 480px; }
.newsletter p { color: #cfe0e6; margin: 0; max-width: 460px; font-size: 14.5px; }
.newsletter form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-status { flex-basis: 100%; margin: 2px 0 0; font-size: 14px; font-weight: 600; color: var(--amber-bright); }
.newsletter-status:empty { display: none; }
.newsletter input[type="email"] {
  padding: 12px 16px; border-radius: 999px; border: none; min-width: 220px; font-size: 14px;
}

/* footer */
footer { background: var(--forest-dark); color: #b9c2b8; padding: 40px 0 30px; font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: #dfe6dc; }
footer .cols { display: flex; gap: 50px; flex-wrap: wrap; }
footer h4 { color: #fff; font-size: 13px; margin: 0 0 12px; text-transform: uppercase; letter-spacing: 0.05em; }
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }

/* misc utility */
.mt-40 { margin-top: 40px; }
.text-center { text-align: center; }
.loading-text { color: var(--ink-faint); font-style: italic; font-size: 13.5px; }

/* =========================================================
   v2 components (Sept 2026): emergency access, two paths,
   filters + result lists, official vs. site-guidance panels,
   Daily Scoop posts, trip planner.
   ========================================================= */

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* One-tap emergency view, present in the top bar of every page */
.topbar a.emergency-link {
  background: #c62828; color: #fff; text-decoration: none;
  border-radius: 999px; padding: 4px 12px; font-weight: 800; letter-spacing: 0.04em;
}
.topbar a.emergency-link:hover { background: #e53935; }
.topbar a.emergency-link:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.btn-danger { background: #c62828; color: #fff; }
.btn-danger:hover { background: #e53935; }
.btn-dark { background: var(--forest); color: #fff; }
.btn-dark:hover { background: #333; }

/* Two paths on the homepage */
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 4px 0 26px; max-width: 780px; }
@media (max-width: 640px) { .paths { grid-template-columns: 1fr; } }
.path-card {
  display: block; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.28);
  border-radius: var(--radius); padding: 18px 20px; color: #fff; cursor: pointer; text-align: left;
  font: inherit; transition: background 0.15s, border-color 0.15s;
}
.path-card:hover, .path-card:focus-visible { background: rgba(255,255,255,0.17); border-color: var(--amber-bright); outline: none; }
.path-card .path-kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber-bright); }
.path-card .path-title { display: block; font-family: var(--serif); font-size: 23px; font-weight: 700; margin: 4px 0 6px; }
.path-card .path-desc { display: block; font-size: 14px; color: #e3e6e0; }
.path-card .path-extra { display: block; font-size: 12.5px; color: #ffd27a; margin-top: 8px; font-weight: 600; }

/* Filters */
.filter-bar { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; margin: 0 0 18px; display: grid; gap: 12px; }
.filter-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-row .filter-label { font-size: 12px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); min-width: 70px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid #cfcfcf; background: #fff; color: var(--ink);
  border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit;
}
.chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.chip .count { font-weight: 600; opacity: 0.75; }
.chip:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.chip.small { padding: 5px 11px; font-size: 13px; }

/* Result lists */
.result-list { display: grid; gap: 12px; margin-top: 18px; }
.result-card {
  background: var(--card); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  padding: 16px 18px; display: grid; gap: 8px; border-left: 5px solid #cfcfcf;
}
.result-card.free { border-left-color: var(--good); }
.result-card.unknown { border-left-color: var(--warn); }
.result-card.paid { border-left-color: #8a8a8a; }
.result-card.active { outline: 2px solid var(--amber); }
.result-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.result-card h3 { margin: 0; font-family: var(--serif); font-size: 18px; }
.result-card h3 button { all: unset; cursor: pointer; }
.result-card h3 button:hover, .result-card h3 button:focus-visible { text-decoration: underline; }
.result-meta { font-size: 13px; color: var(--ink-soft); }
.result-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.pill { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.03em; padding: 3px 9px; border-radius: 999px; text-transform: uppercase; }
.pill.good { background: var(--good-bg); color: #1e5a37; }
.pill.warn { background: var(--warn-bg); color: #7a4d0e; }
.pill.bad { background: var(--bad-bg); color: #8e2a21; }
.pill.neutral { background: #ececec; color: #454545; }
.pill.official { background: #1f3a5f; color: #fff; }
.result-links { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; font-weight: 700; }
.result-links a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.result-links a.rules { color: #8a4b00; }
.more-row { text-align: center; margin-top: 16px; }

/* Official (NWS) content vs. our own guidance: never styled alike */
.official-panel { background: #fff; border: 2px solid #1f3a5f; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.official-panel .panel-head {
  background: #1f3a5f; color: #fff; padding: 12px 18px; display: flex; justify-content: space-between;
  gap: 10px; flex-wrap: wrap; align-items: center;
}
.official-panel .panel-head .who { font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; font-size: 12.5px; }
.official-panel .panel-head a { color: #fff; font-weight: 700; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.official-panel .panel-body { padding: 18px; }
.guidance-panel { background: #fff8ec; border: 2px dashed #cc6f00; border-radius: var(--radius); padding: 18px 20px; }
.guidance-panel .panel-kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #8a4b00; margin-bottom: 6px; }
.guidance-panel h3 { font-family: var(--serif); margin: 0 0 8px; font-size: 20px; }
.guidance-panel ul { margin: 6px 0 0; padding-left: 20px; }
.guidance-panel li { margin-bottom: 6px; font-size: 14.5px; }
.guidance-panel a { color: #7a3f00; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.alert-item { border-left: 6px solid #9aa5b1; padding: 12px 14px; background: #f6f8fa; border-radius: 8px; margin-bottom: 12px; }
.alert-item:last-child { margin-bottom: 0; }
.alert-item.warning { border-left-color: #c62828; background: #fdecec; }
.alert-item.watch { border-left-color: #d98b00; background: #fff6e5; }
.alert-item.advisory { border-left-color: #2f6fb0; background: #eef5fc; }
.alert-item h3 { margin: 0 0 4px; font-size: 18px; }
.alert-item .when { font-size: 13px; color: #3d4852; }
.alert-item .headline { font-size: 14px; margin-top: 6px; }
.alert-item details { margin-top: 8px; font-size: 14px; }
.alert-item summary { cursor: pointer; font-weight: 700; }
.alert-item pre { white-space: pre-wrap; font-family: inherit; font-size: 14px; margin: 6px 0 0; }
.all-clear { font-size: 15px; }
.all-clear strong { color: var(--good); }

.emergency-grid { display: grid; gap: 22px; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.link-list a { color: var(--forest); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.link-list .sub { display: block; font-size: 12.5px; color: var(--ink-soft); font-weight: 500; }
.warn-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 10px; }
.warn-method { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 14px 16px; font-size: 14px; }
.warn-method > strong:first-child { display: block; margin-bottom: 4px; }

/* Daily Scoop */
.post { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 28px; border-top: 4px solid var(--amber); }
.post.weekly { border-top-color: #1c4a63; }
.post h2 { font-family: var(--serif); font-size: 28px; margin: 6px 0 8px; line-height: 1.2; max-width: none; }
.post-kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber-text); }
.post.weekly .post-kicker { color: #1c4a63; }
.post-meta { font-size: 13px; color: var(--ink-soft); margin-bottom: 16px; display: flex; gap: 6px 14px; flex-wrap: wrap; }
.post p { font-size: 16px; line-height: 1.65; color: var(--ink); margin: 0 0 14px; max-width: 72ch; }
.sources { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; }
.sources h4 { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); }
.sources ul { margin: 0; padding-left: 18px; }
.sources li { margin-bottom: 2px; }
.sources a { display: inline-block; padding: 5px 0; color: var(--forest); text-decoration: underline; text-underline-offset: 2px; }
.notice { background: var(--warn-bg); border: 1px solid #f1d7a8; border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14px; margin-bottom: 16px; }
.notice.info { background: #eef5fc; border-color: #cddff2; }
.auto-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.auto-card { background: var(--card); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 16px 18px; }
.auto-card .label { font-size: 12px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.auto-card p, .auto-card li { font-size: 14.5px; line-height: 1.5; }
.auto-card ul { padding-left: 18px; margin: 6px 0 0; }
.auto-card ul.link-list { padding-left: 0; }
.auto-card .src { font-size: 12.5px; color: var(--ink-faint); margin-top: 8px; }
.auto-card .src a { color: var(--forest); font-weight: 700; }
.archive-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.archive-list li { background: #fff; border-radius: 10px; box-shadow: var(--shadow); padding: 12px 16px; }
.archive-list .date { font-size: 12.5px; color: var(--ink-soft); font-weight: 700; }
.archive-list summary { cursor: pointer; font-weight: 700; }

/* Storm Patterns articles */
.article-meta { font-size: 12.5px; color: var(--ink-faint); margin: -4px 0 12px; }
.article-sources { font-size: 13px; margin: 8px 0 0; padding-top: 10px; border-top: 1px solid var(--line); color: var(--ink-soft); }
.article-sources a { color: var(--forest); text-decoration: underline; text-underline-offset: 2px; }

/* Guides */
.article-card.upcoming { background: repeating-linear-gradient(135deg, #fbfbfb, #fbfbfb 12px, #f3f3f3 12px, #f3f3f3 24px); border-top-color: #9a9a9a; }
.article-card.upcoming h3 { color: #4a4a4a; }
.upcoming-badge { display: inline-block; background: #4a4a4a; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }

/* Forms on light backgrounds */
.field label { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.field input[type="text"], .field input[type="date"], .field input[type="email"], .field select {
  width: 100%; padding: 11px 14px; border-radius: 10px; border: 1.5px solid #cfcfcf; font-size: 15px; font-weight: 600;
  background: #fff; color: var(--ink); font-family: inherit;
}
.field input:focus, .field select:focus { outline: 2px solid var(--amber); outline-offset: 1px; border-color: var(--amber); }
.field .hint { font-size: 12.5px; color: var(--ink-faint); margin-top: 5px; }
.field .picked { font-size: 13px; color: var(--good); font-weight: 700; margin-top: 5px; }

/* Trip planner */
.trip-form { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px; display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 680px) { .form-row { grid-template-columns: 1fr; } }
.via-list { display: grid; gap: 10px; }
.verdict { border-radius: var(--radius); padding: 16px 20px; margin: 22px 0 16px; }
.verdict .v-title { font-family: var(--serif); font-size: 24px; font-weight: 700; }
.verdict .v-sub { font-size: 14px; margin-top: 4px; }
.verdict.go { background: var(--good-bg); color: #1e5a37; border: 1px solid #b9dcc4; }
.verdict.caution { background: var(--warn-bg); color: #6d4610; border: 1px solid #efd3a0; }
.verdict.stop { background: var(--bad-bg); color: #7a2219; border: 1px solid #f0bcb3; }
.checkpoints { display: grid; gap: 10px; }
.checkpoint {
  display: grid; grid-template-columns: 150px 1fr; gap: 6px 16px; align-items: start; background: #fff;
  border-radius: 10px; box-shadow: var(--shadow); padding: 12px 16px; border-left: 6px solid var(--good);
}
.checkpoint.caution { border-left-color: var(--warn); }
.checkpoint.stop { border-left-color: var(--bad); }
.checkpoint.unknown { border-left-color: #9a9a9a; }
.checkpoint .cp-when { font-weight: 800; font-size: 14px; }
.checkpoint .cp-when small { display: block; font-weight: 600; color: var(--ink-soft); font-size: 12px; }
.checkpoint .cp-place { font-weight: 700; }
.checkpoint .cp-wx { font-size: 14px; color: var(--ink-soft); margin-top: 2px; }
.checkpoint .cp-flags { margin-top: 6px; display: flex; gap: 6px; flex-wrap: wrap; }
@media (max-width: 600px) { .checkpoint { grid-template-columns: 1fr; } }
#tripMap { width: 100%; height: 360px; border-radius: var(--radius); box-shadow: var(--shadow); margin-top: 16px; }
.trip-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.small-print { font-size: 12.5px; color: var(--ink-faint); margin-top: 12px; max-width: 760px; }

/* Newsletter town field */
.newsletter input[type="text"] { padding: 12px 16px; border-radius: 999px; border: none; min-width: 180px; font-size: 14px; }
.newsletter .fineprint { flex-basis: 100%; font-size: 12.5px; color: #cfe0e6; margin: 0; }
.newsletter .fineprint a { color: #fff; text-decoration: underline; }


/* =========================================================
   Accessibility and the fast Emergency view (Sept 26, 2026)
   ========================================================= */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: #fff; color: #111; font-weight: 800; padding: 10px 16px; border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; outline: 3px solid var(--amber); outline-offset: 2px; }
/* One focus ring everywhere: a dark inner ring shows on light backgrounds, an amber outer ring on dark ones. */
:where(a, button, summary, select, input, textarea, [tabindex]):focus-visible { outline: 3px solid #ffb400 !important; outline-offset: 2px !important; box-shadow: 0 0 0 2px #1a1a1a !important; }
main:focus { outline: none; }

/* Official links that work with no scripts and no data */
.official-links { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.official-links a { display: inline-block; min-height: 44px; line-height: 22px; padding: 11px 14px; border-radius: 10px; background: #1f3a5f; color: #fff; font-weight: 800; font-size: 14.5px; }
.official-links a:hover { background: #2a4d7c; }
.offline-banner { background: #2b2b2b; color: #fff; border-radius: var(--radius-sm); padding: 12px 16px; margin: 0 0 16px; font-weight: 600; }
.offline-banner strong { color: var(--amber-bright); }
.age-note { display: inline-block; background: var(--warn-bg); border: 1px solid #f1d7a8; color: #5a3b00; border-radius: 8px; padding: 6px 10px; font-size: 13.5px; font-weight: 700; margin: 0 0 10px; }
.age-note.fresh { background: var(--good-bg); border-color: #bfdcc8; color: #1d5134; }

/* Forecast list */
.fc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fc-list li { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 12px 14px; display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; align-items: start; }
.fc-list .fc-icon { font-size: 28px; line-height: 1; grid-row: span 2; }
.fc-list .fc-name { font-weight: 800; }
.fc-list .fc-text { font-size: 14.5px; color: var(--ink); }

/* Contacts */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 10px 0 18px; }
.contact-card { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 14px 16px; display: grid; gap: 4px; }
.contact-card.urgent { border: 2px solid #c62828; }
.contact-card .who { font-weight: 800; font-size: 14px; }
.contact-card .num { font-size: 22px; font-weight: 800; color: #111; display: inline-flex; align-items: center; min-height: 44px; }
.contact-card.urgent .num { color: #c62828; }
.contact-card .why { font-size: 13.5px; color: var(--ink-soft); }
.contact-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.contact-list li { background: #fff; border-radius: var(--radius-sm); padding: 12px 14px; box-shadow: var(--shadow); font-size: 14.5px; }
.contact-list a[href^="tel:"] { display: inline-flex; align-items: center; min-height: 32px; font-weight: 800; color: #1f3a5f; text-decoration: underline; text-underline-offset: 3px; }

/* Radar on demand */
.radar-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 10px 0 0; }
.radar-actions button { min-height: 44px; padding: 8px 16px; border-radius: 10px; border: 2px solid #1f3a5f; background: #fff; color: #1f3a5f; font-weight: 800; font: inherit; font-weight: 800; cursor: pointer; }
.radar-actions button[aria-pressed="true"] { background: #1f3a5f; color: #fff; }

/* Track record */
.score-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 16px 0 8px; }
.score-card { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 16px 18px; }
.score-card .big { font-family: var(--serif); font-size: 32px; font-weight: 700; line-height: 1.1; }
.score-card .label { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.score-card .detail { font-size: 13.5px; color: var(--ink-soft); margin-top: 4px; }
.record-table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-top: 14px; }
.record-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.record-table caption { text-align: left; padding: 14px 16px 6px; font-weight: 800; }
.record-table th, .record-table td { text-align: left; padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.record-table th { font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); background: #fafafa; }
.verdict-tag { display: inline-block; font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.verdict-tag.hit { background: var(--good-bg); color: #1d5134; }
.verdict-tag.miss { background: var(--bad-bg); color: #7a1f16; }
.verdict-tag.close { background: var(--warn-bg); color: #5a3b00; }
.verdict-tag.pending { background: #eef1f4; color: #33404d; }
.correction { background: #fff4e5; border-left: 5px solid var(--amber-dark); border-radius: 8px; padding: 10px 14px; margin: 0 0 14px; font-size: 14.5px; }
.correction strong { color: #7a4300; }

/* Status words next to colored markers (color is never the only signal) */
.cp-status { display: block; margin-top: 4px; font-size: 12px; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; }

/* "Refresh now" next to the last-updated line on the Right Now page */
.updated-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px; }
.refresh-btn { font: inherit; font-size: 13px; font-weight: 700; color: #fff; background: transparent; border: 1.5px solid rgba(255,255,255,0.55); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.refresh-btn:hover { border-color: #fff; }
.refresh-btn:disabled { opacity: 0.6; cursor: default; }
.refresh-btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
