:root {
  --pond-ink: #173f3a;
  --palmetto-deep: #2f6a52;
  --sand-page: #f4edda;
  --rain-wash: #dce8e6;
  --clay-alert: #a54b32;
  --night-copy: #17211f;
  --paper-white: #fffdf8;
  --line-water: #9fb6ae;
  --quiet-leaf: #55716a;
  --shell-wide: 82rem;
  --display-face: Georgia, Cambria, "Times New Roman", serif;
  --body-face: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --title-size: clamp(2.125rem, 4.4vw, 3.5rem);
  --section-size: clamp(1.5rem, 2.4vw, 2rem);
  --subhead-size: clamp(1.125rem, 1.5vw, 1.25rem);
  --primary-radius: .75rem;
  --secondary-radius: .5rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--night-copy);
  background: var(--sand-page);
  font-family: var(--body-face);
  font-size: 1.075rem;
  line-height: 1.65;
}
a { color: #145344; text-underline-offset: .2em; text-decoration-thickness: .09em; }
a:hover { color: #772d20; }
a:focus-visible, summary:focus-visible { outline: .2rem solid #f0a93d; outline-offset: .18rem; }
.skip-water {
  position: absolute; left: 1rem; top: -5rem; z-index: 20;
  background: var(--paper-white); color: var(--pond-ink); padding: .8rem 1rem;
}
.skip-water:focus { top: 1rem; }
.book-top { background: var(--pond-ink); color: white; }
.mastline { max-width: var(--shell-wide); margin: auto; padding: 1.15rem clamp(1rem, 3vw, 2.6rem) .9rem; }
.site-name { display: inline-flex; align-items: center; min-height: 44px; color: white; font: 700 clamp(1.2rem, 2.2vw, 1.55rem) var(--display-face); text-decoration: none; }
.place-note { margin: .1rem 0 .8rem; color: #d8ede6; font-size: 1rem; }
.top-routes { display: flex; flex-wrap: wrap; gap: .35rem .7rem; border-top: 1px solid #73938a; padding-top: .55rem; }
.top-routes a { min-height: 44px; display: inline-flex; align-items: center; padding: .25rem .55rem; color: white; font-weight: 700; }
.top-routes a[aria-current] { background: white; color: var(--pond-ink); text-decoration: none; border-radius: var(--secondary-radius); }
.page-shell { max-width: var(--shell-wide); margin: auto; padding: clamp(1.3rem, 4vw, 3.5rem) clamp(1rem, 3vw, 2.6rem); }
.trail { margin: 0 0 1.35rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line-water); font-size: 1rem; color: var(--quiet-leaf); }
.trail a { display: inline-flex; align-items: center; min-height: 44px; }
h1, h2, h3 { font-family: var(--display-face); line-height: 1.12; color: var(--pond-ink); }
h1 { max-width: 22ch; margin: .3rem 0 .75rem; font-size: var(--title-size); letter-spacing: -.018em; }
.home-title { max-width: 18ch; font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { margin-top: 3rem; font-size: var(--section-size); }
h3 { font-size: var(--subhead-size); }
.answer-lead { max-width: 64ch; font-size: clamp(1.15rem, 2vw, 1.38rem); line-height: 1.55; }
.review-stamp { margin: 0 0 .75rem; font-size: 1rem; color: var(--quiet-leaf); }
.three-weather { display: grid; gap: .75rem; margin: 1.7rem 0 2rem; }
.urgent-route, .storm-route, .planning-route { display: block; min-height: 7rem; padding: 1.35rem; border: 2px solid transparent; border-radius: var(--primary-radius); box-shadow: 0 .3rem .9rem rgb(23 63 58 / 12%); text-decoration: none; }
.urgent-route { color: white; background: var(--clay-alert); border-color: #713122; }
.urgent-route:hover { color: white; background: #7e3325; }
.storm-route { color: var(--pond-ink); background: #f4d8bd; border-color: #9b6848; }
.storm-route:hover { color: #602a1f; background: #f8cba8; }
.planning-route { color: var(--pond-ink); background: var(--rain-wash); border-color: var(--pond-ink); }
.route-kicker { display: block; font: 700 1.2rem var(--display-face); }
.route-detail { display: block; margin-top: .45rem; font-size: 1rem; }
.season-jump { margin: 1rem 0 1.5rem; padding: 1.1rem; background: var(--paper-white); border: 1px solid var(--line-water); border-radius: var(--secondary-radius); }
.season-jump strong { display: block; margin-bottom: .4rem; font-family: var(--display-face); }
.season-jump a { display: inline-flex; min-height: 44px; align-items: center; margin-right: 1rem; }
.directory-hatch { margin: 2rem 0; background: var(--pond-ink); color: white; border-radius: var(--primary-radius); padding: clamp(1rem, 3vw, 1.6rem); }
.directory-hatch h2 { color: white; margin: 0 0 1rem; }
.topic-groups { display: grid; gap: 1rem; }
.topic-groups section { background: #f2f8f5; color: var(--night-copy); padding: 1.15rem; border: 1px solid #8eb0a6; border-radius: var(--secondary-radius); }
.topic-groups h3 { color: var(--pond-ink); margin: 0 0 .55rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line-water); }
.topic-groups a { display: flex; align-items: center; min-height: 44px; padding: .55rem 0; color: #0e4a3d; font-size: 1.125rem; font-weight: 750; text-decoration: none; }
.topic-groups a::after { content: "\00a0→"; }
.topic-groups a:hover, .topic-groups a:focus-visible { text-decoration: underline; }
.topic-groups p { margin: -.15rem 0 1rem; color: #405d57; font-size: 1rem; }
.reading-grid { display: grid; gap: 2rem; align-items: start; }
.reading-column { min-width: 0; max-width: 68ch; }
.support-rail { min-width: 0; }
.support-box { background: var(--rain-wash); border: 1px solid var(--line-water); border-radius: var(--secondary-radius); padding: 1.15rem; margin-bottom: 1rem; }
.support-box h2, .support-box h3 { margin-top: 0; }
.support-box a, .official-step { display: flex; align-items: center; min-height: 48px; padding: .65rem .8rem; background: var(--paper-white); border: 1px solid var(--palmetto-deep); border-radius: var(--secondary-radius); font-weight: 750; margin: .45rem 0; }
.first-step { margin: 1.4rem 0 2rem; padding: 1.35rem; border-radius: var(--primary-radius); background: var(--rain-wash); border: 2px solid var(--pond-ink); box-shadow: 0 .3rem .9rem rgb(23 63 58 / 10%); }
.first-step h2 { margin: 0 0 .45rem; font-size: 1.45rem; }
.decision-map { display: grid; gap: 0; margin: 1rem 0; }
.decision-map div { display: grid; grid-template-columns: minmax(7rem, .7fr) 2fr; gap: .75rem; padding: .65rem 0; border-top: 1px solid var(--line-water); }
.decision-map div:last-child { border-bottom: 1px solid var(--line-water); }
.decision-map dt { font-weight: 800; color: var(--pond-ink); }
.decision-map dd { margin: 0; }
.safety-card { background: #f8dfd7; border: 2px solid var(--clay-alert); border-radius: var(--primary-radius); padding: 1.35rem; }
.numbered-weather { list-style: none; counter-reset: roofstep; padding: 0; }
.numbered-weather li { counter-increment: roofstep; background: var(--paper-white); border: 1px solid var(--line-water); border-radius: var(--secondary-radius); padding: 1.1rem 1.1rem 1.1rem 4rem; margin: .8rem 0; position: relative; }
.numbered-weather li::before { content: counter(roofstep); position: absolute; left: 1rem; top: 1rem; width: 2.1rem; height: 2.1rem; display: grid; place-items: center; border-radius: 50%; background: var(--pond-ink); color: white; font: 700 1.05rem var(--display-face); }
.season-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper-white); border: 1px solid var(--line-water); border-radius: .5rem; overflow: hidden; }
.season-table th, .season-table td { padding: .9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-water); }
.season-table thead { background: var(--pond-ink); color: white; }
.season-table tbody tr:last-child th, .season-table tbody tr:last-child td { border-bottom: 0; }
.season-table th[scope="row"] { color: var(--pond-ink); }
.fact-pair { display: grid; gap: .7rem; }
.fact-pair > div { background: var(--paper-white); border: 1px solid var(--line-water); border-radius: var(--secondary-radius); padding: 1.15rem; }
.fact-pair strong { display: block; font: 700 1.18rem var(--display-face); color: var(--pond-ink); }
.forecast-window { padding: 1.2rem; background: #102f39; color: white; border-radius: var(--secondary-radius); }
.forecast-window h2 { color: white; margin-top: 0; }
.forecast-window a { color: #ffe29a; min-height: 44px; display: inline-flex; align-items: center; }
.forecast-window ul { padding-left: 1.3rem; }
.source-shelf { border-top: 2px solid var(--line-water); margin-top: 3rem; padding-top: .8rem; }
.source-shelf li { margin: .55rem 0; }
.source-shelf a { min-height: 44px; display: inline-flex; align-items: center; }
.fine-limit { color: var(--quiet-leaf); font-size: 1rem; }
.season-reference { margin-top: 3rem; padding: clamp(1.1rem, 3vw, 1.6rem); background: #e7efea; border: 1px solid var(--line-water); border-radius: var(--primary-radius); }
.season-reference > h2 { margin-top: 0; }
.season-moments { display: grid; gap: 1rem; }
.season-moments section { padding: 1.15rem; background: var(--paper-white); border: 1px solid var(--line-water); border-radius: var(--secondary-radius); }
.season-moments h3 { margin: 0 0 .5rem; }
.season-moments p { margin: 0 0 .65rem; }
.season-moments a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 750; }
.topic-label { display: block; margin: 3rem 0 -.35rem; color: #6d4934; font-size: .82rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.topic-label + h2 { margin-top: .65rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line-water); }
.recovery-actions { display: grid; gap: .65rem; max-width: 44rem; margin: 1.3rem 0 2rem; }
.primary-recovery { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: .75rem 1rem; color: white; background: var(--pond-ink); border: 2px solid var(--pond-ink); border-radius: var(--primary-radius); box-shadow: 0 .3rem .9rem rgb(23 63 58 / 14%); font-weight: 800; text-decoration: none; }
.primary-recovery:hover { color: white; background: #0f302c; }
.secondary-recovery { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: .65rem 1rem; background: var(--paper-white); border: 1px solid var(--palmetto-deep); border-radius: var(--secondary-radius); font-weight: 750; }
.book-foot { margin-top: auto; background: #102e2a; color: #e8f2ef; }
.foot-grid { max-width: var(--shell-wide); margin: auto; padding: 1.6rem clamp(1rem, 3vw, 2.6rem); display: grid; gap: 1rem; }
.book-foot a { color: white; display: inline-flex; align-items: center; min-height: 44px; }
.short-page { min-height: 100svh; display: flex; flex-direction: column; }
.short-page .page-shell { width: 100%; flex: 1; }

@media (min-width: 46rem) {
  .three-weather { grid-template-columns: 1fr 1fr 1fr; }
  .topic-groups { grid-template-columns: repeat(3, 1fr); }
  .fact-pair { grid-template-columns: 1fr 1fr; }
  .season-moments { grid-template-columns: 1fr 1fr; }
  .recovery-actions { grid-template-columns: 1.4fr 1fr; }
  .foot-grid { grid-template-columns: 1.4fr 1fr; }
}

@media (min-width: 65rem) {
  .reading-grid { grid-template-columns: minmax(0, 2.1fr) minmax(17rem, .9fr); gap: clamp(2.2rem, 5vw, 5rem); }
  .support-rail { position: sticky; top: 1.2rem; }
  .task-first-grid .reading-column { grid-column: 1; grid-row: 1; }
  .task-first-grid .support-rail { grid-column: 2; grid-row: 1; }
}

@media (max-width: 45rem) {
  body { font-size: 1.0625rem; line-height: 1.62; }
  h1 { font-size: clamp(2.125rem, 9vw, 2.375rem); }
  .top-routes { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; }
  .top-routes a { white-space: normal; word-break: normal; overflow-wrap: anywhere; }
  .top-routes .all-topics-link { grid-column: 1 / -1; }
  .decision-map div { grid-template-columns: 1fr; gap: .15rem; }
  .season-table, .season-table tbody, .season-table tr, .season-table th, .season-table td { display: block; width: 100%; }
  .season-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .season-table tr { padding: .65rem; border-bottom: 2px solid var(--line-water); }
  .season-table tr:last-child { border-bottom: 0; }
  .season-table th, .season-table td { border: 0; padding: .42rem .5rem; }
  .season-table td::before { content: attr(data-season-cell); display: block; color: var(--quiet-leaf); font-weight: 750; font-size: .94rem; }
  .numbered-weather li { padding-left: 3.7rem; }
}

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

.forecast-window .fine-limit { color: #d9e8e2; }
