:root {
  --parchment-ground: #f5f0e5;
  --oak-text: #243126;
  --moss: #38543d;
  --rust: #8a402a;
  --acorn-edge: #b7aa91;
  --leaf-pale: #ebe2d1;
  --card-light: #fffdf7;
  --deep-grove: #17241a;
  --focus-gold: #f3b61f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--parchment-ground);
  color: var(--oak-text);
  font: 1.075rem/1.58 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a {
  color: var(--rust);
  overflow-wrap: anywhere;
  text-decoration-thickness: .08em;
  text-underline-offset: .2em;
}
a:hover { color: var(--moss); }
a:focus-visible, summary:focus-visible {
  outline: .2rem solid var(--focus-gold);
  outline-offset: .2rem;
}
.jump-link {
  position: absolute;
  top: -8rem;
  left: 1rem;
  z-index: 20;
  padding: .75rem 1rem;
  background: var(--deep-grove);
  color: white;
}
.jump-link:focus { top: 1rem; }
.journal-crown {
  max-width: 88rem;
  margin: auto;
  padding: 1.2rem clamp(1rem, 4vw, 3rem) 0;
}
.name {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--deep-grove);
  font-family: Charter, Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
  text-decoration: none;
}
.neighborhood-note {
  margin: .1rem 0 .75rem;
  color: var(--moss);
  font-size: 1rem;
}
.topic-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(.7rem, 2.2vw, 1.8rem);
  border-block: 1px solid var(--acorn-edge);
}
.topic-row a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  color: var(--oak-text);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}
.topic-row a[aria-current="page"] {
  color: var(--rust);
  text-decoration: underline;
  text-decoration-thickness: .18rem;
  text-underline-offset: .4rem;
}
.home-topics { display: none; }
.crumb {
  margin: 1.25rem 0;
  font-size: .95rem;
}
.crumb a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}
.paper {
  max-width: 88rem;
  margin: auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}
.journal-grid {
  display: grid;
  grid-template-columns: minmax(0, 68ch) minmax(15rem, 21rem);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.journal-grid > article {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}
.home-flow { max-width: 78rem; }
.lead { padding: clamp(2rem, 7vw, 5.5rem) 0 2rem; }
.eyebrow, .dated-note {
  color: var(--moss);
  font-size: .96rem;
  letter-spacing: .04em;
}
h1, h2, h3 {
  color: var(--deep-grove);
  font-family: Charter, Georgia, Cambria, "Times New Roman", serif;
  line-height: 1.12;
}
h1 {
  max-width: 17ch;
  margin: .4rem 0 1.2rem;
  font-size: clamp(2.35rem, 6vw, 4.4rem);
}
h2 {
  margin: 2.4rem 0 .7rem;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
}
h3 { font-size: 1.3rem; }
.answer {
  max-width: 62ch;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  line-height: 1.5;
}
.first-route, .agency-link {
  display: inline-flex;
  min-height: 48px;
  margin: .6rem 0;
  padding: .7rem 1rem;
  align-items: center;
  background: var(--moss);
  color: white;
  font-weight: 700;
  text-decoration: none;
}
.first-route:hover, .agency-link:hover {
  background: var(--deep-grove);
  color: white;
}
.route-chooser {
  margin: 1rem 0 2.8rem;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--acorn-edge);
  background: var(--card-light);
}
.route-chooser h2 { margin-top: 0; }
.route-chooser ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: choice;
}
.route-chooser li { counter-increment: choice; }
.route-chooser a {
  display: flex;
  min-height: 11rem;
  height: 100%;
  padding: 1.1rem;
  flex-direction: column;
  background: white;
  border: 1px solid var(--acorn-edge);
  color: var(--deep-grove);
  text-decoration: none;
}
.route-chooser a::before {
  content: counter(choice, decimal-leading-zero);
  margin-bottom: .35rem;
  color: var(--rust);
  font-size: .9rem;
  font-weight: 800;
}
.route-chooser strong { font-size: 1.12rem; line-height: 1.3; }
.route-chooser span { margin: .4rem 0 .8rem; font-size: 1rem; }
.route-chooser em {
  margin-top: auto;
  color: var(--rust);
  font-style: normal;
  font-weight: 700;
}
.route-chooser .urgent-choice a {
  border-color: var(--deep-grove);
  background: var(--deep-grove);
  color: white;
}
.route-chooser .urgent-choice a::before,
.route-chooser .urgent-choice em { color: #f2d2a8; }
.oak-index { margin: 2rem 0 3rem; }
.oak-index > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.oak-index a {
  display: block;
  min-height: 7rem;
  padding: 1rem;
  border: 1px solid var(--acorn-edge);
  background: var(--card-light);
  color: var(--deep-grove);
  text-decoration: none;
}
.oak-index a:last-child { grid-column: span 3; }
.oak-index b {
  display: block;
  color: var(--rust);
  font-size: 1.12rem;
}
.oak-index span {
  display: block;
  margin-top: .3rem;
  font-size: 1rem;
}
.weather-leaf {
  margin: 2.5rem 0;
  padding: 1.25rem;
  border: 1px solid var(--acorn-edge);
  background: var(--card-light);
}
.weather-leaf h2 { margin-top: 0; }
.weather-now {
  margin: .65rem 0 .2rem;
  color: #536156;
  font-size: .96rem;
}
.forecast-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  margin: .5rem 0 1rem;
  padding: 0;
  list-style: none;
}
.forecast-pair li {
  padding: .7rem;
  border: 1px solid var(--acorn-edge);
  background: var(--leaf-pale);
  font-size: .95rem;
}
.parcel-reading, .storm-margin, .oak-note {
  margin: 1.5rem 0;
  padding: 1.2rem;
  border: 1px solid var(--acorn-edge);
  background: var(--card-light);
}
.action-sequence {
  padding: 0;
  list-style: none;
  counter-reset: action;
}
.action-sequence li {
  position: relative;
  margin: 1rem 0;
  padding: 1rem 1rem 1rem 4rem;
  border: 1px solid var(--acorn-edge);
  background: var(--card-light);
}
.action-sequence li::before {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--moss);
  color: white;
  content: counter(action);
  counter-increment: action;
  font-weight: 800;
}
.field-kit {
  position: sticky;
  top: 1rem;
  grid-column: 2;
  grid-row: 1;
  margin-top: 2rem;
  padding: 1.2rem;
  background: var(--deep-grove);
  color: white;
}
.field-kit h2, .field-kit-title {
  margin-top: 0;
  color: white;
  font-family: Charter, Georgia, Cambria, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.12;
}
.field-kit a {
  display: flex;
  min-height: 44px;
  align-items: center;
  color: white;
}
.field-kit ul { padding-left: 1.2rem; }
.field-kit p { font-size: .95rem; }
.evidence-list {
  margin: 3rem 0 1.5rem;
  padding-top: 1rem;
  border-top: 2px solid var(--acorn-edge);
}
.evidence-list li { margin: .6rem 0; }
.next {
  margin: 2.5rem 0;
  padding: 1rem 0;
  border-block: 1px solid var(--acorn-edge);
}
.next a {
  display: inline-flex;
  min-height: 48px;
  margin-right: 1.2rem;
  align-items: center;
}
.wide-table { margin: 1.5rem 0; }
.wide-table table {
  width: 100%;
  border-collapse: collapse;
}
.wide-table th, .wide-table td {
  padding: .8rem;
  border-bottom: 1px solid var(--acorn-edge);
  text-align: left;
  vertical-align: top;
}
.wide-table th {
  background: var(--deep-grove);
  color: white;
  font-weight: 700;
}
.grove-footer {
  min-height: 15rem;
  margin-top: 4rem;
  background: var(--deep-grove);
  color: white;
}
.grove-footer-inner {
  max-width: 88rem;
  margin: auto;
  padding: 2rem clamp(1rem, 4vw, 3rem);
}
.grove-footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem 1.3rem;
}
.grove-footer-inner a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  color: white;
}
.grove-footer-inner p { max-width: 68ch; }
.not-found {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
}
.not-found main {
  width: 100%;
  flex: 1;
}
.not-found .grove-footer { margin-top: 0; }
.recovery-panel { max-width: 52rem; }
.recovery-panel .lead { padding-bottom: 1rem; }
.recovery-panel section + section h2 { margin-top: 1rem; }
.full-list {
  display: grid;
  gap: .5rem;
  margin: 1rem 0 2.5rem;
  padding: 0;
  list-style: none;
}
.full-list a {
  display: flex;
  min-height: 48px;
  padding: .65rem .8rem;
  align-items: center;
  border: 1px solid var(--acorn-edge);
  background: var(--card-light);
  font-weight: 650;
  text-decoration: none;
}

@media (max-width: 68rem) {
  .route-chooser ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route-chooser a { min-height: 9.5rem; }
}

@media (max-width: 54rem) {
  .journal-grid { grid-template-columns: 1fr; }
  .journal-grid > article {
    grid-column: 1;
    grid-row: auto;
  }
  .field-kit {
    position: static;
    grid-column: 1;
    grid-row: auto;
    margin-top: 0;
  }
  .topic-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }
  .topic-row a {
    justify-content: center;
    padding: .35rem;
    text-align: center;
  }
  .oak-index > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oak-index a:last-child { grid-column: span 2; }
}

@media (max-width: 40rem) {
  body { font-size: 1.02rem; }
  .journal-crown, .paper { padding-inline: 1rem; }
  .name { width: 100%; }
  .topic-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic-row a {
    justify-content: flex-start;
    min-height: 48px;
    padding: .45rem .65rem;
    font-size: 1rem;
    text-align: left;
  }
  .topic-row a:last-child { grid-column: 1 / -1; }
  .home-landing .crown-topics { display: none; }
  .home-landing .home-topics {
    display: grid;
    margin: 0 0 2.5rem;
  }
  h1 { font-size: clamp(2.15rem, 10vw, 2.4rem); }
  .lead { padding-top: 2rem; }
  .route-chooser ol { grid-template-columns: 1fr; }
  .route-chooser a { min-height: auto; }
  .oak-index > div { grid-template-columns: 1fr; }
  .oak-index a,
  .oak-index a:last-child {
    grid-column: auto;
    min-height: auto;
    padding: 1rem;
  }
  .oak-index b { font-size: 1.1rem; }
  .oak-index span { font-size: 1rem; }
  .forecast-pair { grid-template-columns: 1fr; }
  .wide-table table,
  .wide-table thead,
  .wide-table tbody,
  .wide-table tr,
  .wide-table th,
  .wide-table td { display: block; }
  .wide-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .wide-table tr {
    margin: .8rem 0;
    padding: .85rem;
    border: 1px solid var(--acorn-edge);
    background: var(--card-light);
  }
  .wide-table td {
    padding: .35rem 0;
    border: 0;
  }
  .wide-table td::before {
    display: block;
    margin-bottom: .1rem;
    color: var(--moss);
    content: attr(data-cell-role);
    font-size: .86rem;
    font-weight: 750;
  }
  .record-table td:first-child {
    font-size: 1.125rem;
    font-weight: 750;
    line-height: 1.35;
  }
  .record-table td:first-child::before { display: none; }
  .record-table td:nth-child(2) a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    font-size: 1rem;
    font-weight: 700;
  }
  .record-table td:last-child {
    color: #536156;
    font-size: .96rem;
  }
}

