/* Topo – a topographic map: contour lines, a route from trailhead to summit, legend and points of interest. */

:root {
  --bg: #fbf8f2;
  --paper: #fffdf9;
  --ink: #1b2a4a;
  --ink-2: #4a5672;
  --line: #c9cdd6;
  --accent: #e45a12;
  --navy: #1b2a4a;
  --orange: #f0661a;
  --orange-d: #c94d0c;
  --water: #3d8fd6;
  --water-l: #cfe3f5;
  --font-body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1280px;
}

body { font-size: 1.0625rem; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.025em; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
::selection { background: #ffd9c2; }
.tp-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* contour styling, shared by every map */
.tp-lines { fill: none; stroke: var(--navy); stroke-width: 1; opacity: .42; }
.tp-lines .i, #tp-contours .i { stroke-width: 2; }
.tp-water { stroke: var(--water); stroke-linecap: round; }
.tp-lake { fill: var(--water-l); stroke: var(--water); stroke-width: 2.5; }
.tp-pin { stroke: #fff; stroke-width: 2; }
.tp-pin--water { fill: var(--water); }
.tp-pin--orange { fill: var(--orange); }
.tp-pin--navy { fill: var(--navy); }
.tp-mono, .tp-tag { font-family: var(--font-mono); font-size: .82rem; letter-spacing: 0; }
.tp-tag { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink-2); }
.tp-tag::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px #fde2d2; }

.tp-btn {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-height: 3.25rem;
  padding: .7em 1.4em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  background: var(--navy);
  border-radius: 999px;
  transition: background-color .2s ease;
  overflow-wrap: anywhere;
}
.tp-btn::before { content: ""; flex: none; width: .6rem; height: .6rem; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px rgba(240, 102, 26, .35); }
.tp-btn:hover { background: #10203f; }
.tp-btn:hover::before { background: #fff; }
.tp-link {
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-decoration-style: dashed;
  text-underline-offset: 5px;
}
.tp-link:hover { text-decoration-style: solid; }

/* ---------- header ---------- */
.tp-top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 1rem 2.25rem;
  padding: .9rem var(--gutter);
  background: rgba(251, 248, 242, .94);
  border-bottom: 1.5px solid var(--navy);
}
@supports (backdrop-filter: blur(4px)) { .tp-top { background: rgba(251, 248, 242, .82); backdrop-filter: blur(8px); } }
.tp-brand { display: flex; align-items: center; gap: .75rem; margin-right: auto; text-decoration: none; }
.tp-brand__mark { width: 2.5rem; height: 2rem; color: var(--navy); }
.tp-brand__text { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.1; letter-spacing: -0.02em; }
.tp-brand__text span { display: block; font-family: var(--font-body); font-weight: 500; font-size: .78rem; letter-spacing: 0; color: var(--ink-2); }
.tp-nav { display: flex; flex-wrap: wrap; gap: .3rem 1.75rem; }
.tp-nav a { position: relative; padding: .3rem 0 .3rem 1.1rem; font-weight: 600; text-decoration: none; }
.tp-nav a::before { content: ""; position: absolute; left: 0; top: 50%; width: .5rem; height: .5rem; margin-top: -.25rem; border: 2px solid var(--navy); border-radius: 50%; transition: background-color .2s; }
.tp-nav a:hover::before { background: var(--orange); border-color: var(--orange); }
.tp-top__coord { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-2); white-space: pre; }
.tp-lang {
  display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem;
  font-family: var(--font-mono); font-weight: 500; font-size: .85rem;
  text-decoration: none;
  border: 1.5px solid var(--navy);
  border-radius: 50%;
}
.tp-lang:hover { background: var(--navy); color: #fff; }

/* ---------- hero ---------- */
.tp-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(36rem, calc(100vh - 4.6rem), 54rem);
  padding: clamp(1.5rem, 4vw, 3rem) var(--gutter);
  overflow: hidden;
  border-bottom: 1.5px solid var(--navy);
}
.tp-hero__map { position: absolute; inset: 0; width: 100%; height: 100%; }
.tp-route { fill: none; stroke: var(--orange); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 2 12; }
.tp-route-shadow { fill: none; stroke: #fff; stroke-width: 12; stroke-linecap: round; opacity: .85; }
.tp-wp circle { fill: var(--navy); stroke: #fff; stroke-width: 3; }
.tp-wp text { fill: #fff; font-family: var(--font-mono); font-size: 14px; font-weight: 500; text-anchor: middle; }
.tp-wp .tp-wp__label { fill: var(--navy); text-anchor: start; font-family: var(--font-display); font-weight: 600; font-size: 17px; paint-order: stroke; stroke: var(--bg); stroke-width: 6px; stroke-linejoin: round; }
.tp-wp--top circle { fill: var(--orange); }
.tp-flag { fill: var(--orange); stroke: var(--navy); stroke-width: 2.5; stroke-linejoin: round; }
.tp-hero__compass { color: var(--navy); }
@media (prefers-reduced-motion: no-preference) {
  .tp-route { animation: tp-walk 2.4s linear infinite; }
  @keyframes tp-walk { to { stroke-dashoffset: -28; } }
}
.tp-hero__card {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: rgba(255, 253, 249, .95);
  border: 1.5px solid var(--navy);
  border-radius: 4px;
  box-shadow: 0 30px 60px -30px rgba(27, 42, 74, .35);
}
.tp-hero__title { margin-top: 1rem; font-size: clamp(2.5rem, 5vw, 4.3rem); line-height: 1.02; letter-spacing: -0.04em; }
.tp-hero__lead { margin-top: 1.1rem; max-width: 52ch; color: var(--ink-2); font-size: clamp(1.02rem, 1.2vw, 1.12rem); }
.tp-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 1.6rem; }
.tp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.75rem; border-top: 1.5px solid var(--navy); }
.tp-stats div { padding: .8rem .9rem 0 0; }
.tp-stats div + div { padding-left: .9rem; border-left: 1px dashed var(--navy); }
.tp-stats dt { font-family: var(--font-mono); font-size: .74rem; color: var(--ink-2); }
.tp-stats dd { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }

/* ---------- sections ---------- */
.tp-sec { max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(4.5rem, 10vw, 8.5rem) var(--gutter) 0; }
.tp-sec__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 1rem 3rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.tp-h2 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); line-height: 1; letter-spacing: -0.04em; }
.tp-sec__intro { max-width: 54ch; font-size: 1.15rem; color: var(--ink-2); }

/* services: map legend */
.tp-legend {
  position: relative;
  background: var(--paper);
  border: 1.5px solid var(--navy);
  border-radius: 4px;
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
}
.tp-legend__title {
  position: absolute;
  top: -.8rem;
  left: clamp(1rem, 2.5vw, 2rem);
  padding: 0 .6rem;
  font-family: var(--font-mono);
  font-size: .85rem;
  background: var(--bg);
}
.tp-legend__row {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1rem clamp(1.5rem, 3vw, 3rem);
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
}
.tp-legend__row + .tp-legend__row { border-top: 1px dashed var(--navy); }
.tp-sym { width: 7.5rem; height: 2.5rem; margin-top: .2rem; }
.tp-legend__main h3 { font-size: clamp(1.45rem, 2.4vw, 2rem); margin-bottom: .6rem; hyphens: auto; }
.tp-legend__main p { max-width: 50ch; color: var(--ink-2); }
.tp-legend__note { margin-top: 1rem; font-size: .95rem; }
.tp-legend__note .tp-mono { display: inline-block; margin-right: .4rem; padding: .05rem .5rem; color: #fff; background: var(--navy); border-radius: 3px; }
.tp-focus { display: grid; gap: 1rem; align-content: start; }
.tp-focus li { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .8rem; }
.tp-focus svg { width: 1.5rem; height: 1.5rem; margin-top: .1rem; }
.tp-focus strong { display: block; font-family: var(--font-display); font-weight: 600; hyphens: auto; }
.tp-focus span { color: var(--ink-2); font-size: .97rem; }
.tp-ticks { display: grid; gap: .75rem; align-content: start; }
.tp-ticks li { position: relative; padding-left: 1.75rem; }
.tp-ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 1rem; height: 2px; background: var(--orange); }
.tp-ticks li::after { content: ""; position: absolute; left: .7rem; top: calc(.5em - 3px); width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

/* approach: elevation profile */
.tp-route-block { position: relative; padding-top: 2rem; }
.tp-profile { display: block; width: 100%; height: 240px; }
.tp-profile__grid { stroke: var(--navy); stroke-width: 1; stroke-dasharray: 3 6; opacity: .3; vector-effect: non-scaling-stroke; }
.tp-profile__line { fill: none; stroke: var(--orange); stroke-width: 4; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.tp-profile__drop { stroke: var(--navy); stroke-width: 1.5; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.tp-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1.5px solid var(--navy); }
.tp-step { position: relative; padding: 1.6rem 1.25rem 0; text-align: center; }
.tp-step + .tp-step { border-left: 1px dashed rgba(27, 42, 74, .35); }
.tp-step__pin {
  position: absolute;
  left: 50%;
  top: 0;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  font-family: var(--font-mono);
  font-weight: 500;
  color: #fff;
  background: var(--navy);
  border: 3px solid var(--bg);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.tp-step--1 .tp-step__pin { top: -46px; }
.tp-step--2 .tp-step__pin { top: -76px; }
.tp-step--3 .tp-step__pin { top: -122px; }
.tp-step--4 .tp-step__pin { top: -171px; background: var(--orange); }
.tp-step__alt { font-family: var(--font-mono); font-size: .78rem; color: var(--orange-d); }
.tp-step h3 { margin: .3rem 0 .5rem; font-size: clamp(1.3rem, 2vw, 1.6rem); }
.tp-step p:not(.tp-step__alt) { color: var(--ink-2); hyphens: auto; max-width: 28ch; margin-inline: auto; }

.tp-approach__lower { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); margin-top: clamp(3.5rem, 7vw, 6rem); align-items: start; }
.tp-camp { padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--navy); color: #fff; border-radius: 4px; position: relative; overflow: hidden; }
.tp-camp::after { content: ""; position: absolute; right: -3rem; bottom: -3rem; width: 12rem; height: 12rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); box-shadow: 0 0 0 1.5rem rgba(27, 42, 74, 1), 0 0 0 calc(1.5rem + 1px) rgba(255, 255, 255, .15), 0 0 0 3rem rgba(27, 42, 74, 1), 0 0 0 calc(3rem + 1px) rgba(255, 255, 255, .12); }
.tp-camp__icon { width: 3.5rem; height: 2.6rem; margin-bottom: 1rem; }
.tp-camp__icon path[stroke] { stroke: #fff; }
.tp-camp h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 1rem; }
.tp-camp p { position: relative; z-index: 1; color: #d9dfec; max-width: 52ch; }
.tp-camp p + p { margin-top: .9rem; }
.tp-faq__title { font-size: 1.5rem; margin-bottom: .75rem; }
.tp-faq details { border-top: 1px dashed var(--navy); }
.tp-faq details:last-child { border-bottom: 1px dashed var(--navy); }
.tp-faq summary {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr);
  gap: .8rem;
  padding: 1.05rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
}
.tp-faq summary::-webkit-details-marker { display: none; }
.tp-faq summary::before {
  content: "";
  width: 1.1rem;
  height: 1.1rem;
  margin-top: .15rem;
  border: 2px solid var(--navy);
  border-radius: 50%;
  transition: background-color .2s;
}
.tp-faq details[open] summary::before { background: var(--orange); border-color: var(--orange); }
.tp-faq summary:hover { color: var(--orange-d); }
.tp-faq details p { padding: 0 0 1.2rem 2.2rem; color: var(--ink-2); max-width: 60ch; }

/* products: points of interest */
.tp-poi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.tp-poi__map {
  position: sticky;
  top: 6rem;
  aspect-ratio: 760 / 600;
  overflow: hidden;
  background: var(--paper);
  border: 1.5px solid var(--navy);
  border-radius: 4px;
}
.tp-poi__map svg { width: 100%; height: 100%; }
.tp-trail { fill: none; stroke: var(--navy); stroke-width: 2.5; stroke-dasharray: 1 7; stroke-linecap: round; }
.tp-poi__compass { color: var(--navy); }
.tp-poi__list { display: grid; }
.tp-poi__item { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 1.25rem; padding: 1.75rem 0; }
.tp-poi__item:first-child { padding-top: 0; }
.tp-poi__item + .tp-poi__item { border-top: 1px dashed var(--navy); }
.tp-poi__pin { width: 2.2rem; height: 2.9rem; stroke: none; }
.tp-poi__item h3 { font-size: clamp(1.4rem, 2.3vw, 1.85rem); margin-bottom: .5rem; hyphens: auto; }
.tp-poi__item p { color: var(--ink-2); max-width: 56ch; }
.tp-poi__meta { margin: .7rem 0 .9rem; font-family: var(--font-mono); font-size: .85rem; }

/* contact: meeting point */
.tp-contact { padding-bottom: clamp(4.5rem, 10vw, 8.5rem); }
.tp-meet {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  background: var(--paper);
  border: 1.5px solid var(--navy);
  border-radius: 4px;
  overflow: hidden;
}
.tp-meet__text { padding: clamp(1.75rem, 4.5vw, 4rem); display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; }
.tp-meet__title { font-size: clamp(2.2rem, 4.6vw, 3.7rem); line-height: 1.02; letter-spacing: -0.04em; max-width: 15ch; }
.tp-meet__lead { color: var(--ink-2); max-width: 50ch; font-size: 1.1rem; }
.tp-meet__list { display: grid; grid-template-columns: auto minmax(0, 1fr); width: 100%; margin-top: 1rem; border-top: 1.5px solid var(--navy); }
.tp-meet__list > div { display: contents; }
.tp-meet__list dt, .tp-meet__list dd { padding: .8rem 0; border-bottom: 1px dashed rgba(27, 42, 74, .4); }
.tp-meet__list dt { padding-right: 2rem; font-family: var(--font-mono); font-size: .82rem; color: var(--ink-2); padding-top: 1rem; }
.tp-meet__list dd { overflow-wrap: anywhere; }
.tp-meet__list a { text-decoration-color: var(--orange); text-underline-offset: 4px; }
.tp-meet__map { position: relative; min-height: 22rem; border-left: 1.5px solid var(--navy); background: var(--bg); }
.tp-meet__map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tp-meet__ring { fill: none; stroke: var(--orange); stroke-width: 2; stroke-dasharray: 4 6; }
.tp-meet__ring--2 { opacity: .5; }
.tp-meet__coord { position: absolute; left: 1.25rem; bottom: 1.25rem; padding: .5rem .75rem; font-family: var(--font-mono); font-size: .82rem; line-height: 1.4; background: var(--paper); border: 1px solid var(--navy); }

/* ---------- footer ---------- */
.tp-foot { position: relative; overflow: hidden; color: #fff; background: var(--navy); }
.tp-foot__map { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 1; opacity: .12; }
.tp-foot__inner {
  position: relative;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr);
  gap: 2rem 3rem;
  align-items: end;
}
.tp-foot__name { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.tp-foot__brand p:last-child { color: #c3cbe0; }
.tp-foot__links { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.tp-foot__links a { font-weight: 600; text-decoration: none; border-bottom: 2px dashed var(--orange); padding-bottom: 2px; }
.tp-foot__links a:hover { border-bottom-style: solid; }
.tp-foot__sheet { justify-self: end; text-align: right; font-size: .9rem; color: #c3cbe0; }
.tp-foot__meta { font-family: var(--font-mono); font-size: .76rem; }
.tp-scale { display: grid; grid-template-columns: repeat(4, 2.5rem); grid-template-rows: auto auto; margin: 0 0 .75rem auto; width: max-content; }
.tp-scale i { height: .45rem; border: 1px solid #fff; }
.tp-scale i:nth-child(odd) { background: #fff; }
.tp-scale span { grid-row: 2; font-family: var(--font-mono); font-size: .7rem; margin-top: .25rem; }
.tp-scale span:first-of-type { grid-column: 1; text-align: left; }
.tp-scale span:last-of-type { grid-column: 3 / 5; text-align: right; }
.tp-foot :focus-visible { outline-color: var(--orange); }

/* ---------- legal ---------- */
.legal { position: relative; }
.legal__inner {
  max-width: 48rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--paper);
  border: 1.5px solid var(--navy);
  border-radius: 4px;
}
.legal h1 { font-weight: 600; letter-spacing: -0.04em; hyphens: auto; }
.legal h2 { font-weight: 600; padding-top: 1.25rem; border-top: 1px dashed var(--navy); }
.legal a { color: var(--ink); text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .tp-top__coord { display: none; }
}
@media (max-width: 1024px) {
  .tp-legend__row { grid-template-columns: 6rem minmax(0, 1fr); }
  .tp-legend__row > ul { grid-column: 2; }
  .tp-sym { width: 5.5rem; }
}
@media (max-width: 900px) {
  .tp-top { flex-wrap: wrap; position: relative; }
  .tp-nav { order: 3; width: 100%; gap: .3rem 1.25rem; }
  .tp-hero { flex-direction: column; align-items: stretch; min-height: 0; padding-bottom: 0; }
  .tp-hero__card { order: -1; }
  .tp-hero__map { position: relative; inset: auto; display: block; height: 21rem; margin: 1.5rem calc(-1 * var(--gutter)) 0; width: calc(100% + 2 * var(--gutter)); }
  .tp-hero__card { max-width: none; }
  .tp-sec__head { grid-template-columns: 1fr; }
  .tp-approach__lower, .tp-poi, .tp-meet { grid-template-columns: 1fr; }
  .tp-poi__map { position: relative; top: auto; }
  .tp-meet__map { border-left: 0; border-top: 1.5px solid var(--navy); min-height: 16rem; }
  .tp-foot__inner { grid-template-columns: 1fr; align-items: start; }
  .tp-foot__sheet { justify-self: start; text-align: left; }
  .tp-scale { margin-left: 0; }

  .tp-profile { display: none; }
  .tp-route-block { padding-top: 0; }
  .tp-steps { grid-template-columns: 1fr; border-top: 0; border-left: 3px dotted var(--orange); margin-left: 1.2rem; }
  .tp-step { text-align: left; padding: 0 0 2rem 2.4rem; }
  .tp-step + .tp-step { border-left: 0; }
  .tp-step:last-child { padding-bottom: 0; }
  .tp-step .tp-step__pin { top: .7rem; left: -1.5px; }
  .tp-step p:not(.tp-step__alt) { margin-inline: 0; max-width: 56ch; }
}
@media (max-width: 640px) {
  .tp-brand__text { font-size: 1.05rem; }
  .tp-brand__text span { font-size: .7rem; }
  .tp-legend { padding-inline: 1rem; }
  .tp-legend__row { grid-template-columns: 1fr; }
  .tp-legend__row > ul { grid-column: 1; }
  .tp-sym { width: 5rem; height: 1.6rem; }
  .tp-stats dd { font-size: 1rem; }
  .tp-stats div { padding-right: .4rem; }
  .tp-stats div + div { padding-left: .6rem; }
  .tp-hero__map { height: 17rem; }
  .tp-meet .tp-btn { font-size: .92rem; padding-inline: 1.1em; }
  .tp-meet__list { grid-template-columns: 1fr; }
  .tp-meet__list dt { border-bottom: 0; padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tp-btn, .tp-nav a::before, .tp-faq summary::before { transition: none; }
}
