:root {
  color-scheme: dark;
  --black: #080b0c;
  --panel: #111719;
  --panel-2: #172125;
  --white: #fffaf0;
  --muted: #b9c2c2;
  --teal: #20bac2;
  --teal-dark: #0b747b;
  --yellow: #f0bd52;
  --line: #334247;
  --max: 72rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link {
  position: fixed;
  top: .5rem;
  left: .5rem;
  z-index: 20;
  padding: .75rem 1rem;
  background: var(--yellow);
  color: var(--black);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.site-header {
  min-height: 4.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: auto;
  padding: .55rem 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  line-height: 1.1;
}
.brand img { width: 3.5rem; height: 3.5rem; }
.brand span { display: grid; gap: .2rem; }
.brand strong { font-size: .95rem; text-transform: uppercase; }
.brand small { color: var(--muted); font-size: .68rem; text-transform: uppercase; }
.header-link, .text-link {
  color: var(--yellow);
  font-weight: 700;
  text-underline-offset: .25rem;
}
.hero {
  border-block: 1px solid var(--line);
  background: var(--panel);
}
.hero-inner, .section, .cta {
  max-width: var(--max);
  margin: auto;
  padding: 3.5rem 1rem;
}
.eyebrow {
  margin: 0 0 .75rem;
  color: var(--yellow);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
}
h1 { max-width: 14ch; margin-bottom: 1rem; font-size: clamp(2.4rem, 9vw, 5.5rem); }
h2 { margin-bottom: 1rem; font-size: clamp(1.8rem, 6vw, 3.2rem); }
h3 { font-size: 1rem; }
.motto { color: var(--teal); font-weight: 800; text-transform: uppercase; }
.intro { max-width: 44rem; color: #e1e6e5; font-size: 1.05rem; }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.button, .map-button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .7rem 1rem;
  border: 2px solid var(--teal);
  border-radius: 4px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}
.button.primary, .map-button { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.button.secondary { background: transparent; color: var(--white); }
.button:hover, .map-button:hover { filter: brightness(1.12); }
.button:focus-visible, .map-button:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.safety-note {
  max-width: var(--max);
  margin: 1rem auto 0;
  padding: 1rem;
  border-left: 5px solid var(--yellow);
  background: #27200f;
  color: #f5ead0;
}
.safety-note strong { display: block; }
.section { border-bottom: 1px solid var(--line); }
.section-heading { max-width: 46rem; margin-bottom: 1.5rem; }
.section-heading > p:last-child { color: var(--muted); }
.route-line {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
  border-left: 3px solid var(--teal);
}
.route-line li { position: relative; padding: .45rem 0 .45rem 1.5rem; font-weight: 700; }
.route-line li::before {
  content: "";
  position: absolute;
  left: -.48rem;
  top: 1rem;
  width: .75rem;
  height: .75rem;
  border: 2px solid var(--black);
  border-radius: 50%;
  background: var(--yellow);
}
.route-facts { display: grid; gap: 1px; background: var(--line); }
.route-facts div { padding: 1rem; background: var(--panel); }
dt { color: var(--teal); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
dd { margin: .25rem 0 0; }
.day-list { display: grid; gap: .75rem; }
.day-card { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); overflow: hidden; }
.day-card summary {
  min-height: 5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  cursor: pointer;
  list-style: none;
}
.day-card summary::-webkit-details-marker { display: none; }
.day-card summary::after { content: "+"; margin-left: auto; color: var(--yellow); font-size: 1.6rem; }
.day-card[open] summary::after { content: "\2212"; }
.day-card summary span:nth-child(2) { display: grid; }
.day-card summary small { color: var(--muted); }
.day-number { color: var(--yellow); font-size: 1.3rem; font-weight: 900; }
.day-content { padding: 0 1rem 1.25rem; border-top: 1px solid var(--line); }
.day-content dl { margin: 0 0 1rem; }
.day-content dl div { padding: 1rem 0; border-bottom: 1px solid #263338; }
.map-button { width: 100%; }
.stop-grid { display: grid; gap: 1px; margin-bottom: 1.25rem; background: var(--line); }
.stop-grid > div { padding: 1.25rem; background: var(--panel); }
.stop-grid h3 { color: var(--yellow); }
.stop-grid ul, .sources ul { padding-left: 1.2rem; }
.stop-grid li, .sources li { margin: .45rem 0; }
.shelter-list {
  display: grid;
  gap: .65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.shelter-list a {
  display: grid;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel);
  text-decoration: none;
}
.shelter-list a:hover { border-color: var(--teal); }
.shelter-list span { color: var(--muted); font-size: .9rem; }
.ai-section { display: grid; gap: 1rem; background: var(--panel-2); }
.ai-section p:last-child { max-width: 48rem; color: #e0e6e5; }
.sources a { color: var(--teal); text-underline-offset: .2rem; }
.cta { text-align: center; }
.cta h2 { max-width: 22ch; margin-inline: auto; }
.cta-actions { justify-content: center; }
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1rem;
  max-width: var(--max);
  margin: auto;
  padding: 2rem 1rem;
  color: var(--muted);
  font-size: .85rem;
}

@media (min-width: 42rem) {
  .site-header { padding-inline: 1.5rem; }
  .hero-inner, .section, .cta { padding: 5rem 1.5rem; }
  .safety-note { padding-inline: 1.5rem; }
  .route-facts { grid-template-columns: repeat(3, 1fr); }
  .stop-grid { grid-template-columns: repeat(2, 1fr); }
  .shelter-list { grid-template-columns: repeat(2, 1fr); }
  .day-content dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 1.5rem; }
  .map-button { width: auto; }
  .ai-section { grid-template-columns: minmax(15rem, .7fr) 1.3fr; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
