:root {
  --page-bg: #262626;
  --card-bg: #283832;
  --accent-green: #95e2a4;
  --accent-yellow: #ffd84d;
  --body-text: #bac9be;
  --border-color: #465b50;
  --neutral: #a5b0a9;
  --topo-image: url('./assets/usgs-topo.jpg');
  --topo-opacity: .06;
  --topo-repeat: no-repeat;
  --topo-size: cover;
  --sans: 'IBM Plex Sans', Arial, Helvetica, sans-serif;
  --mono: 'IBM Plex Mono', Consolas, 'Liberation Mono', monospace;
  font-family: var(--sans);
  color: var(--body-text);
  background: var(--page-bg);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--page-bg); }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent-yellow); outline-offset: 5px; }
.page { position: relative; isolation: isolate; min-height: 100vh; padding: 28px max(24px, calc((100% - 1280px) / 2)) 32px; }
.page::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--topo-image); background-repeat: var(--topo-repeat); background-size: var(--topo-size); background-position: center; opacity: var(--topo-opacity); }
.skip-link { position: absolute; left: 20px; top: -80px; background: var(--card-bg); padding: 14px; z-index: 5; }
.skip-link:focus { top: 12px; }
.masthead h1 { font-size: 21px; font-weight: 600; line-height: 1.3; margin: 0; }
.brand { text-decoration: none; }
.outlook-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; margin: 8px 0 24px; font-family: var(--mono); font-size: 12px; line-height: 1.7; }
.outlook-heading h2 { font-size: inherit; font-weight: 400; margin: 0; }
.outlook-heading p { margin: 0; }
.locations, .state-cards { list-style: none; padding: 0; margin: 0; }
.locations { display: grid; gap: 16px; }
.state-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.state-group { min-width: 0; }
.location { min-width: 0; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 7px; padding: 20px; display: flex; flex-direction: column; align-items: flex-start; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; width: 100%; min-height: 44px; }
.area-name { color: var(--accent-green); font-size: 17px; font-weight: 600; line-height: 1.3; margin: 0; text-transform: uppercase; overflow-wrap: anywhere; }
.state { color: var(--body-text); font-size: 11px; font-weight: 400; white-space: nowrap; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: var(--neutral); }
.card-top > .dot { margin-top: 7px; }
.dot.green { background: var(--accent-green); }
.dot.yellow { background: var(--accent-yellow); }
.snow-row { margin-top: 14px; }
.snow { font-family: var(--mono); font-size: clamp(38px, 3.5vw, 48px); font-weight: 700; line-height: 1.15; letter-spacing: -2px; }
.storm-dates { font-family: var(--mono); font-size: 11px; line-height: 1.7; margin: 16px 0 0; overflow-wrap: anywhere; }
.clearing { font-size: 12px; color: var(--accent-green); display: inline-flex; gap: 5px; align-items: center; margin-top: 10px; }
.sun { font-size: 16px; }
.forecast-notes { font-size: 12px; line-height: 1.7; margin-top: 24px; }
.sort-note { margin: 0 0 8px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.legend > span { display: inline-flex; align-items: center; gap: 8px; }
.method { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--border-color); max-width: 840px; }
.method h2 { font-size: 18px; line-height: 1.4; font-weight: 500; margin: 0 0 16px; }
.method-copy p { font-size: 14px; line-height: 1.8; margin: 0 0 14px; }
.method-copy strong { font-weight: 700; }
footer { padding-top: 10px; }
.attribution { font-size: 12px; text-decoration: none; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.attribution:hover span { text-decoration: underline; }
.attribution img { object-fit: contain; }
.notice { border-left: 3px solid var(--accent-yellow); background: var(--card-bg); padding: 12px 16px; line-height: 1.7; font-size: 13px; margin: 0 0 16px; }
.notice.example { border-color: var(--accent-green); }
.load-message { font-size: 14px; padding: 24px 0; line-height: 1.7; }
.load-message:empty { display: none; }
[hidden] { display: none !important; }
@media (max-width: 1100px) { .state-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .snow { font-size: 48px; } }
@media (max-width: 580px) { .page { padding: 22px 18px 24px; } .outlook-heading { flex-direction: column; gap: 3px; font-size: 11px; margin-bottom: 20px; } .state-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; } .locations { gap: 12px; } .location { padding: 20px; } .card-top { min-height: 0; } .snow-row { margin-top: 20px; } .storm-dates { font-size: 12px; } .method { margin-top: 24px; } }
