@font-face { font-family: 'Lexend Giga'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/lexend-giga-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend Giga'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/lexend-giga-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend Giga'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/lexend-giga-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend Giga'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/lexend-giga-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend Giga'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/lexend-giga-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend Giga'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/lexend-giga-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend Giga'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/lexend-giga-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend Giga'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/lexend-giga-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend Giga'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/lexend-giga-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: 'Kumbh Sans'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/kumbh-sans-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'Kumbh Sans'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/kumbh-sans-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Kumbh Sans'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/kumbh-sans-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Kumbh Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/kumbh-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Kumbh Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/kumbh-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Kumbh Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/kumbh-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Kumbh Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/kumbh-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Kumbh Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/kumbh-sans-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Kumbh Sans'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/kumbh-sans-latin-900-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #e7e5dd;
  --fg-light-base-body: #1e2a21;
  --fg-light-base-heading: #1e2a21;
  --fg-light-base-muted: #4a5449;
  --fg-light-base-link: #2a6234;
  --fg-light-base-inverse: #26332a;
  --bg-light-card: #f7f5ef;
  --fg-light-card-body: #1e2a21;
  --fg-light-card-heading: #1e2a21;
  --fg-light-card-muted: #4a5449;
  --fg-light-card-link: #2a6234;
  --fg-light-card-inverse: #26332a;
  --bg-light-elevated: #d9d6ca;
  --fg-light-elevated-body: #1e2a21;
  --fg-light-elevated-heading: #1e2a21;
  --fg-light-elevated-muted: #4a5449;
  --fg-light-elevated-link: #2a6234;
  --fg-light-elevated-inverse: #26332a;
  --brand-light-accent: #2a6234;
  --brand-light-accent-hover: #1f4d28;
  --brand-light-on-accent: #f7f5ef;
  --focus-light-ring: #2a6234;
  --border-light-default: #6f776b;
  --border-light-subtle: #c4c3b6;
}
.bg-surface-base { background: var(--bg-light-base); --fg-body: var(--fg-light-base-body); --fg-heading: var(--fg-light-base-heading); --fg-muted: var(--fg-light-base-muted); --fg-link: var(--fg-light-base-link); --fg-inverse: var(--fg-light-base-inverse); }
.bg-surface-card { background: var(--bg-light-card); --fg-body: var(--fg-light-card-body); --fg-heading: var(--fg-light-card-heading); --fg-muted: var(--fg-light-card-muted); --fg-link: var(--fg-light-card-link); --fg-inverse: var(--fg-light-card-inverse); }
.bg-surface-elevated { background: var(--bg-light-elevated); --fg-body: var(--fg-light-elevated-body); --fg-heading: var(--fg-light-elevated-heading); --fg-muted: var(--fg-light-elevated-muted); --fg-link: var(--fg-light-elevated-link); --fg-inverse: var(--fg-light-elevated-inverse); }
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
.text-role-link:hover { color: var(--brand-light-accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-light-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
:where(section[data-section][style] > .bg-surface-card) { padding: clamp(1rem, 3vw, 2rem); }
:where(section[data-section][style] > .bg-surface-card > :first-child) { margin-top: 0; }
:where(section[data-section][style] > .bg-surface-card > :last-child) { margin-bottom: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-light-ring); }

:root {
  --forest: var(--brand-light-accent);
  --forest-deep: var(--brand-light-accent-hover);
  --rule: var(--border-light-default);
  --rule-soft: var(--border-light-subtle);
  --stone: var(--bg-light-base);
  --paper: var(--bg-light-card);
  --granite: var(--bg-light-elevated);
  --ink: #1e2a21;
  --blaze: #e0b13d;
  --moss: #9fc2a2;
  --contour: #b9bcab;
  --face-heading: 'Lexend Giga', 'Arial Black', Verdana, sans-serif;
  --face-body: 'Kumbh Sans', 'Segoe UI', Tahoma, sans-serif;
  --measure: 38rem;
  --frame: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --bar: 4.5rem;
  --row: 0rem;
  --head: calc(var(--bar) + var(--row));
  --corner: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

html { background: var(--stone); scroll-padding-top: calc(var(--head) + 1.5rem); }

body {
  margin: 0;
  background: var(--stone);
  font-family: var(--face-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: var(--face-heading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
h1 { margin: 0; font-size: clamp(1.8rem, 1.1rem + 3vw, 3.3rem); font-weight: 700; letter-spacing: 0.01em; }
h2 { margin: 2.2em 0 0.6em; font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem); }
h3 { margin: 1.6em 0 0.4em; font-size: 1.1rem; }
p, li { margin: 0 0 1em; }
ul, ol { padding-inline-start: 1.3em; }
strong, b { font-weight: 700; }

a.text-role-link { text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a.text-role-link:hover { color: var(--forest-deep); text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 2px;
}

.skip-link { position: absolute; left: -999px; top: 0.5rem; padding: 0.5rem 0.9rem; background: var(--paper); border: 2px solid var(--forest); z-index: 40; }
.skip-link:focus { left: 0.5rem; }

.photo-hero, .photo-inline { margin: 0 0 1.75rem; }
.photo-hero img, .photo-inline img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--corner);
  border: 2px solid var(--ink);
}

.table-scroll { overflow-x: auto; margin: 0 0 1.5rem; }
.table-scroll table { border-collapse: collapse; min-width: 100%; }
.table-scroll th, .table-scroll td { border-bottom: 1px solid var(--rule-soft); padding: 0.5rem 0.75rem; text-align: left; }

/* Header: sticky two-row header, wordmark on a contour band above a row of trail-marker topic links; the toggle drawer serves narrow screens */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 3px solid var(--forest);
}

.contour-band { position: relative; overflow: hidden; }
.band-contours { position: absolute; inset: 0; width: 100%; height: 100%; }
.band-contours path { fill: none; stroke: var(--contour); stroke-width: 1.25; vector-effect: non-scaling-stroke; }

.trailbar {
  position: relative;
  max-width: var(--frame);
  min-height: var(--bar);
  margin: 0 auto;
  padding: 0.5rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand { display: inline-flex; text-decoration: none; }
.brand .site-logo { display: block; width: clamp(12rem, 40vw, 15.5rem); height: auto; }

.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  padding: 0.4rem 1rem;
  border: 2px solid var(--ink);
  border-radius: var(--corner);
  background: var(--paper);
  cursor: pointer;
  list-style: none;
  font-family: var(--face-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.site-menu > summary::-webkit-details-marker { display: none; }
.site-menu > summary:hover { background: var(--stone); }
.site-menu .menu-icon {
  position: relative;
  display: inline-block;
  width: 0.95rem;
  height: 0.95rem;
  background: var(--forest);
  transform: rotate(45deg);
  border-radius: 2px;
}
.site-menu[open] > summary { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.site-menu[open] .menu-icon { background: var(--blaze); }

.site-menu > ul {
  position: fixed;
  top: var(--bar);
  right: 0;
  bottom: 0;
  width: min(25rem, 100%);
  margin: 0;
  padding: 1.25rem 1.5rem 2.5rem;
  overflow-y: auto;
  list-style: none;
  background: var(--paper);
  border-left: 3px solid var(--forest);
  box-shadow: -10px 0 0 rgba(30, 42, 33, 0.08);
}
.site-menu li { margin: 0; }
.site-menu > ul > li { padding: 0.85rem 0; border-bottom: 1px dashed var(--rule); }
.site-menu > ul > li > a {
  display: block;
  padding: 0.3rem 0;
  font-family: var(--face-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}
.site-menu ul ul { list-style: none; margin: 0.35rem 0 0; padding: 0 0 0 1rem; border-left: 3px solid var(--moss); }
.site-menu ul ul a { display: block; padding: 0.35rem 0; font-size: 0.97rem; line-height: 1.4; text-decoration: none; }
.site-menu a:hover { text-decoration: underline; }

.trail-row { display: none; }

@media (min-width: 1024px) {
  :root { --row: 3.2rem; }
  .site-menu { display: none; }
  .trail-row {
    display: block;
    border-top: 2px solid var(--ink);
    background: var(--paper);
  }
  .site-nav ul {
    max-width: var(--frame);
    height: var(--row);
    margin: 0 auto;
    padding: 0.3rem 1rem;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(8, auto);
    justify-content: space-between;
    align-content: center;
    column-gap: 0.6rem;
  }
  .site-nav li { margin: 0; }
  .site-nav a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    height: 2.5rem;
    font-size: 0.76rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
  }
  .site-nav a::before {
    content: "";
    flex: none;
    width: 0.62rem;
    height: 0.62rem;
    background: var(--forest);
    border: 2px solid var(--ink);
    transform: rotate(45deg);
    border-radius: 1px;
  }
  .site-nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
  .site-nav a:hover::before { background: var(--blaze); }
}

@media (min-width: 1360px) {
  .trailbar { max-width: none; }
  .site-nav ul {
    max-width: none;
    padding: 0.3rem var(--gutter);
    column-gap: 1rem;
  }
  .site-nav a { gap: 0.6rem; font-size: 0.92rem; }
}

.page { padding-bottom: 4.5rem; }

.breadcrumbs {
  max-width: var(--frame);
  margin: 0 auto;
  padding: 1rem var(--gutter) 0;
  font-size: 0.9rem;
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "\203A"; padding: 0 0.5rem; color: var(--rule); }

main {
  max-width: var(--frame);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Blaze shapes: painted trail markers */

.blaze {
  flex: none;
  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
  background: var(--forest);
  border: 2px solid var(--ink);
}
.blaze-square { border-radius: 3px; }
.blaze-diamond { transform: rotate(45deg) scale(0.85); }
.blaze-circle { border-radius: 50%; }
.blaze-triangle { border: 0; background: none; width: 0; height: 0; border-left: 0.9rem solid transparent; border-right: 0.9rem solid transparent; border-bottom: 1.6rem solid var(--forest); }
.blaze-bar { width: 0.9rem; background: var(--blaze); }
.blaze-double { background: linear-gradient(var(--forest) 0 40%, var(--paper) 40% 60%, var(--forest) 60%); }

/* Home: contour hero, then stepped trail markers */

.home { padding-top: clamp(1.25rem, 4vw, 2.5rem); display: grid; gap: clamp(2.25rem, 5vw, 3.5rem); }

.summit {
  position: relative;
  overflow: hidden;
  min-height: clamp(20rem, 46vw, 30rem);
  display: flex;
  align-items: flex-end;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border: 2px solid var(--ink);
  border-radius: var(--corner);
}
.summit-contours { position: absolute; inset: 0; width: 100%; height: 100%; }
.summit-contours path { fill: none; stroke: var(--contour); stroke-width: 1.5; }
.summit-contours path:first-child { stroke: var(--forest); stroke-width: 2.5; fill: rgba(159, 194, 162, 0.35); }
.summit-text { position: relative; max-width: 40rem; }
.summit-title h1 { max-width: 18ch; }
.summit-lines { margin-top: 1.4rem; max-width: 34rem; padding-left: 1rem; border-left: 4px solid var(--blaze); }
.summit-lines .display-line { margin: 0 0 0.6rem; font-size: 1.1rem; }
.summit-lines .display-line:last-child { margin-bottom: 0; }

.markers-title { margin: 0 0 1.25rem; }
.marker-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 1rem;
  row-gap: 0.1rem;
  margin: 0;
  max-width: 34rem;
  padding: 0.85rem 1.1rem;
  border: 2px solid var(--rule-soft);
  border-radius: var(--corner);
}
.step .blaze { grid-row: span 2; }
.step:hover { border-color: var(--forest); }
.step-link { font-family: var(--face-heading); font-size: 1rem; font-weight: 600; text-decoration: none; }
.step-link::after { content: ""; position: absolute; inset: 0; }
.step-note { font-size: 0.95rem; line-height: 1.4; }
@media (min-width: 760px) {
  .step:nth-child(2) { margin-left: 3rem; }
  .step:nth-child(3) { margin-left: 6rem; }
  .step:nth-child(4) { margin-left: 9rem; }
  .step:nth-child(5) { margin-left: 12rem; }
  .step:nth-child(6) { margin-left: 15rem; }
  .step + .step::before {
    content: "";
    position: absolute;
    left: 1.9rem;
    top: -0.85rem;
    width: 3rem;
    height: 0.85rem;
    border-left: 2px dashed var(--forest);
    border-bottom: 2px dashed var(--forest);
    transform: translateX(-3rem);
  }
}

.home-body { max-width: var(--measure); }
.home-body > p:first-child { font-size: 1.15rem; }

/* Topic cluster: body beside the map-grid of replies */

.mapsheet { padding-top: clamp(1.25rem, 4vw, 2.5rem); display: grid; gap: 2rem; }
.mapsheet-title h1 { max-width: 20ch; font-size: clamp(1.7rem, 1.1rem + 2.5vw, 2.9rem); }
.mapsheet-body { max-width: var(--measure); margin-top: 1.5rem; }
.mapsheet-body section[data-section] { margin: 2rem 0; padding: clamp(1.5rem, 5vw, 3rem); border-radius: var(--corner); }
.mapsheet-body section[data-section] > .bg-surface-card { max-width: 30rem; padding: 1.25rem 1.5rem; border: 2px solid var(--ink); border-radius: var(--corner); }
.mapsheet-body section[data-section] h2 { margin-top: 0; }
.mapsheet-grid {
  align-self: start;
  padding: 1rem;
  border: 2px solid var(--ink);
  border-radius: var(--corner);
  background-image: linear-gradient(var(--rule-soft) 1px, transparent 1px), linear-gradient(90deg, var(--rule-soft) 1px, transparent 1px);
  background-size: 2.5rem 2.5rem;
}
.mapsheet-grid ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); gap: 0.75rem; list-style: none; margin: 0; padding: 0; }
.mapsheet-grid li {
  position: relative;
  margin: 0;
  padding: 0.9rem 1rem 0.9rem 2.6rem;
  background: var(--paper);
  border: 2px solid var(--rule);
  border-radius: var(--corner);
}
.mapsheet-grid li::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 1.2rem;
  width: 0.8rem;
  height: 0.8rem;
  background: var(--forest);
  transform: rotate(45deg);
}
.mapsheet-grid li:hover { border-color: var(--forest); }
.mapsheet-grid a { font-weight: 700; line-height: 1.35; text-decoration: none; }
.mapsheet-grid a::after { content: ""; position: absolute; inset: 0; }
@media (min-width: 960px) {
  .mapsheet { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); column-gap: 3rem; }
  .mapsheet-grid { position: sticky; top: calc(var(--head) + 1.5rem); }
}

/* Question detail: the reply as a waypoint sequence */

.waypoints { max-width: calc(46rem + 2 * var(--gutter)); padding-top: clamp(1.25rem, 4vw, 2.5rem); }
.waypoints-head {
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 2px solid var(--ink);
  border-radius: var(--corner);
  margin-bottom: 2rem;
}
.waypoints-profile { display: block; width: 100%; height: 2.5rem; margin-bottom: 1rem; }
.waypoints-profile path { fill: none; stroke: var(--forest); stroke-width: 3; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.waypoints-title h1 { max-width: 26ch; font-size: clamp(1.5rem, 1rem + 2.2vw, 2.5rem); }
.waypoints-trail {
  counter-reset: waypoint;
  margin-left: clamp(0.5rem, 4vw, 3rem);
  padding-left: clamp(1.75rem, 4vw, 2.5rem);
  border-left: 3px dashed var(--forest);
}
.waypoints-trail > p:first-of-type { font-size: 1.1rem; }
.waypoints-trail > h2 { position: relative; counter-increment: waypoint; margin-top: 2.4em; }
.waypoints-trail > h2::before {
  content: counter(waypoint);
  position: absolute;
  left: calc(-1 * clamp(1.75rem, 4vw, 2.5rem) - 1.05rem);
  top: -0.1em;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  background: var(--forest);
  color: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-family: var(--face-body);
  font-size: 0.9rem;
  font-weight: 700;
}
.waypoints-trail > h2:last-of-type::before { background: var(--blaze); color: var(--ink); border-radius: 3px; }
.waypoints-trail section[data-section] { margin: 1.75rem 0; padding: clamp(1.25rem, 4vw, 2.5rem); border-radius: var(--corner); }
.waypoints-trail section[data-section] > .bg-surface-card { padding: 1.1rem 1.25rem; border: 2px solid var(--ink); border-radius: var(--corner); }
.waypoints-trail section[data-section] h2 { margin-top: 0; }

/* About: trailhead sign */

.trailhead { max-width: calc(44rem + 2 * var(--gutter)); padding-top: clamp(1.5rem, 4vw, 3rem); }
.sign {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 1.75rem);
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 3px solid var(--forest);
  border-radius: var(--corner);
  box-shadow: inset 0 0 0 6px var(--paper), inset 0 0 0 8px var(--rule-soft);
}
.sign-blaze { flex: none; width: clamp(3rem, 8vw, 4.5rem); height: auto; }
.sign-blaze rect { fill: var(--forest); }
.sign-blaze path { fill: var(--paper); }
.sign-title h1 { font-size: clamp(1.4rem, 0.9rem + 2.2vw, 2.4rem); }
.sign-posts { display: flex; justify-content: space-between; width: min(70%, 26rem); margin: 0 auto 0 clamp(1rem, 6vw, 4rem); height: 2.25rem; }
.sign-posts span { width: 0.85rem; background: var(--rule); border-radius: 0 0 2px 2px; }
.trailhead-body { margin-left: clamp(0rem, 6vw, 4rem); max-width: var(--measure); padding-top: 1rem; }
.trailhead-body > h2:first-child { margin-top: 0; }

/* Contact: form on a topographic band */

.topo-page { padding-top: clamp(1.5rem, 4vw, 3rem); }
.topo-head { margin-bottom: 1.5rem; }
.topo-band {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 6vw, 4rem) clamp(1rem, 5vw, 3.5rem);
  border: 2px solid var(--ink);
  border-radius: var(--corner);
}
.topo-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.topo-lines path { fill: none; stroke: var(--rule); stroke-width: 1.4; opacity: 0.6; }
.topo-form {
  position: relative;
  display: grid;
  gap: 1rem;
  max-width: 26rem;
  padding: clamp(1.25rem, 4vw, 1.75rem);
  border: 2px solid var(--ink);
  border-radius: var(--corner);
}
.field { display: grid; gap: 0.35rem; }
.field-label { font-family: var(--face-heading); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em; }
.field input {
  width: 100%;
  min-height: 46px;
  padding: 0.6rem 0.8rem;
  border: 2px solid var(--rule);
  border-radius: var(--corner);
  background: var(--paper);
  color: inherit;
  font: inherit;
}
.topo-send {
  justify-self: start;
  min-height: 46px;
  padding: 0.55rem 1.6rem;
  border: 2px solid var(--ink);
  border-radius: var(--corner);
  background: var(--forest);
  color: var(--paper);
  font-family: var(--face-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.topo-send:hover { background: var(--forest-deep); }
.topo-body { max-width: var(--measure); margin: 2.5rem 0 0 clamp(0rem, 8vw, 6rem); }
.topo-body > p:first-child { font-size: 1.1rem; }
@media (min-width: 900px) { .topo-form { margin-left: 12%; } }

/* Thank you: trail-marker badge */

.checkpoint { max-width: calc(44rem + 2 * var(--gutter)); padding-top: clamp(1.5rem, 5vw, 3.5rem); }
.checkpoint-badge {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: fit-content;
  max-width: 100%;
  padding: 1.25rem 1.75rem 1.25rem 1.25rem;
  border: 2px solid var(--ink);
  border-radius: var(--corner);
}
.checkpoint-blaze { flex: none; width: 4rem; height: 4rem; }
.cb-diamond { fill: var(--forest); stroke: var(--ink); stroke-width: 2.5; }
.cb-tick { fill: none; stroke: var(--paper); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.checkpoint-title h1 { font-size: clamp(1.5rem, 1rem + 2vw, 2.4rem); }
.checkpoint-body { max-width: var(--measure); margin: 2rem 0 0 clamp(0rem, 8vw, 5.5rem); }

/* Geo cluster: route list of answer areas */

.routecard { max-width: calc(48rem + 2 * var(--gutter)); padding-top: clamp(1.5rem, 4vw, 3rem); }
.routecard-head h1 { max-width: 22ch; font-size: clamp(1.6rem, 1rem + 2.6vw, 2.8rem); }
.route {
  margin: 1.75rem 0 0 clamp(0rem, 5vw, 3rem);
  padding: 1.25rem 1.5rem;
  border: 2px solid var(--ink);
  border-radius: var(--corner);
}
.route-stops { list-style: none; margin: 0; padding: 0; }
.route-stops li { position: relative; margin: 0; padding: 0.4rem 0 0.4rem 2rem; }
.route-stops li::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.85rem;
  width: 0.75rem;
  height: 0.75rem;
  background: var(--paper);
  border: 3px solid var(--forest);
  border-radius: 50%;
}
.route-stops li + li::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  top: -0.55rem;
  height: 1.3rem;
  border-left: 2px dashed var(--forest);
}
.route-stops li:first-child::before, .route-stops li:last-child::before { background: var(--forest); }
.route-stops a { font-weight: 700; text-decoration: none; }
.route-stops a:hover { text-decoration: underline; }
.route-items ul:empty { display: none; }
.route-items ul { margin: 1rem 0 0; }
.routecard-body { max-width: var(--measure); margin: 2.25rem 0 0 clamp(0rem, 10vw, 6rem); }
.routecard-body > h2:first-child { margin-top: 0; }

/* Footer */

.site-footer { position: relative; border-top: 3px solid var(--forest); overflow: hidden; }
.footer-contours { position: absolute; inset: 0; width: 100%; height: 100%; }
.footer-contours path { fill: none; stroke: var(--rule-soft); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.footer-inner {
  position: relative;
  max-width: var(--frame);
  margin: 0 auto;
  padding: 2.25rem var(--gutter) 2.75rem;
  display: grid;
  gap: 0.7rem;
}
.footer-inner p { margin: 0; }
.footer-name { font-family: var(--face-heading); font-size: 1.05rem; font-weight: 700; letter-spacing: 0.03em; }
.footer-line { max-width: 34rem; font-size: 0.95rem; }
.footer-routes { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.footer-routes li { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
