/* OP Marketing, version 4 "Trail guide" design.
   One stylesheet. Palette is drawn from a Front Range topographic map:
   pine and spruce for forest, map paper and meadow for open ground,
   contour tan for terrain lines, aspen gold for the trail and the call to action. */

@font-face {
  font-family: "Overpass";
  src: url("/assets/fonts/overpass-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --pine: #1d3a2f;
  --pine-deep: #152b22;
  --spruce: #2f5a47;
  --paper: #f4f6f0;
  --meadow: #dce6cf;
  --meadow-soft: #e9efe2;
  --contour: #bfa987;
  --aspen: #edb33c;
  --aspen-hover: #f5c55f;
  --aspen-ink: #855700;
  --trail: #cf8d0c;
  --ink: #1b2b24;
  --muted: #4c5c54;
  --line: #cdd6c6;
  --on-dark: #f4f6f0;
  --on-dark-muted: #bccbc0;
  --error: #a3341d;

  --font: "Overpass", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 9vw, 128px);
  --radius: 6px;
  --header: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
h1, h2, h3 {
  margin: 0;
  color: var(--pine);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.025em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.75rem, 5.6vw, 5rem); letter-spacing: -.035em; line-height: .96; }
h2 { font-size: clamp(2rem, 3.7vw, 3.25rem); letter-spacing: -.03em; }
h3 { font-size: 1.375rem; line-height: 1.15; letter-spacing: -.015em; }
::selection { background: var(--aspen); color: var(--pine); }

:focus-visible { outline: 3px solid var(--spruce); outline-offset: 3px; border-radius: 2px; }
.finder-section :focus-visible, .cta :focus-visible, .service-band :focus-visible { outline-color: var(--aspen); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  padding: 12px 18px; border-radius: var(--radius);
  background: var(--pine); color: var(--paper); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Shared pieces ---------- */

.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 22px;
  color: var(--spruce); font-size: .9375rem; font-weight: 700; line-height: 1.3;
}
.kicker::before {
  content: ""; flex: none; width: 10px; height: 10px;
  background: var(--aspen); transform: rotate(45deg); border-radius: 1px;
}
.lede { max-width: 34em; color: var(--muted); font-size: clamp(1.125rem, 1.6vw, 1.25rem); line-height: 1.55; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 15px 26px 13px;
  border: 0; border-radius: 5px;
  background: var(--pine); color: var(--paper);
  font: 800 1rem/1.15 var(--font); letter-spacing: -.005em; text-align: center; text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
}
.button:hover { background: var(--spruce); }
.button:active { transform: translateY(1px); }
.button.gold { background: var(--aspen); color: var(--pine); }
.button.gold:hover { background: var(--aspen-hover); }
.button.small { min-height: 42px; padding: 11px 18px 9px; font-size: .875rem; }
.button[disabled] { opacity: .75; cursor: progress; }

.text-link {
  color: var(--pine); font-weight: 800;
  text-decoration: underline; text-decoration-color: var(--aspen);
  text-decoration-thickness: 3px; text-underline-offset: .32em;
  transition: text-decoration-color .18s ease;
}
.text-link:hover { text-decoration-color: var(--pine); }

.check-list { list-style: none; display: grid; gap: 10px; margin: 0 0 24px; }
.check-list li { position: relative; padding-left: 30px; line-height: 1.45; }
.check-list li::before {
  content: ""; position: absolute; left: 3px; top: .2em;
  width: 7px; height: 13px;
  border: solid var(--spruce); border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.section-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
  align-items: end; gap: 24px 48px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head p { margin: 0; color: var(--muted); font-size: 1.125rem; }

/* Diamond trail blaze holding a service icon */
.blaze { position: relative; display: grid; place-items: center; width: clamp(140px, 15vw, 210px); aspect-ratio: 1; color: var(--pine); }
.blaze::before {
  content: ""; position: absolute; inset: 15%;
  background: var(--aspen); border-radius: 12px; transform: rotate(45deg);
  transition: background-color .2s ease;
}
.blaze svg { position: relative; width: 40%; height: auto; stroke-width: 1.4; transition: color .2s ease; }
.blaze.small { width: 64px; }
.blaze.small::before { border-radius: 6px; }
.blaze.small svg { width: 44%; stroke-width: 1.7; }

/* ---------- Header ---------- */

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(244 246 240 / .92);
  -webkit-backdrop-filter: saturate(1.3) blur(10px); backdrop-filter: saturate(1.3) blur(10px);
  border-bottom: 1px solid rgb(29 58 47 / .12);
}
.header-inner { position: relative; display: flex; align-items: center; gap: 24px; height: var(--header); }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--pine); text-decoration: none; flex: none; }
.logo-mark { display: inline-flex; align-items: flex-start; font-size: 2.375rem; font-weight: 900; letter-spacing: -.07em; line-height: .78; padding-bottom: .14em; }
.logo-mark svg { width: .42em; height: .42em; margin: -.12em 0 0 .08em; color: var(--aspen); }
.logo-label { padding-left: 12px; border-left: 1.5px solid rgb(29 58 47 / .25); font-size: .6875rem; font-weight: 800; letter-spacing: .14em; line-height: 1.25; text-transform: uppercase; }
.nav { display: flex; gap: 4px; margin-left: clamp(8px, 3vw, 40px); }
.nav a { position: relative; padding: 10px 12px 8px; border-radius: 4px; color: var(--ink); font-size: .9375rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav a:hover { background: rgb(29 58 47 / .06); }
.nav a[aria-current]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 1px; height: 3px; border-radius: 2px; background: var(--aspen); }
.language-switch { display: inline-flex; margin-left: auto; padding: 3px; border: 1px solid rgb(29 58 47 / .2); border-radius: 999px; font-size: .8125rem; font-weight: 700; flex: none; }
.language-switch a { padding: 6px 12px 4px; border-radius: 999px; color: var(--muted); text-decoration: none; }
.language-switch a:hover { color: var(--pine); }
.language-switch a[aria-current] { background: var(--pine); color: var(--paper); }
.header-actions { display: flex; align-items: center; gap: 18px; flex: none; }
.header-phone { color: var(--pine); font-size: .9375rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-phone:hover { text-decoration: underline; }
.menu-toggle { display: none; }

/* ---------- Home hero: the service-area map ---------- */

.hero { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: clamp(36px, 5vw, 80px); }
.hero h1 { font-size: clamp(3rem, 5.15vw, 4.875rem); margin-bottom: 28px; }
.hero .lede { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-bottom: 36px; }
.hero-note { position: relative; margin: 0; padding-left: 22px; color: var(--muted); font-size: .9375rem; line-height: 1.5; border-left: 3px solid var(--meadow); }

.area-map { margin: 0; }
.map-frame {
  position: relative; aspect-ratio: 5 / 4; overflow: hidden;
  border-radius: 3px; background: var(--paper);
  box-shadow: 0 0 0 1px rgb(29 58 47 / .28), 0 0 0 7px var(--paper), 0 0 0 8px rgb(29 58 47 / .16), 0 40px 70px -40px rgb(29 58 47 / .5);
  isolation: isolate;
}
.map-base, .map-trail { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-base { object-fit: cover; }
.trail-halo, .trail-line, .trail-reveal { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.trail-halo { stroke: #fbfcf8; stroke-width: 11; }
.trail-line { stroke: var(--trail); stroke-width: 5; stroke-dasharray: 10 9; }
.trail-reveal { stroke: #fff; stroke-width: 20; stroke-dasharray: 1; stroke-dashoffset: 0; }
.trail-start { fill: var(--paper); stroke: var(--trail); stroke-width: 4; }

.map-towns { list-style: none; }
.map-towns li { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.map-towns li::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--pine); box-shadow: 0 0 0 2.5px var(--paper);
  transform: translate(-50%, -50%);
}
.map-towns span {
  position: absolute; left: 11px; top: 0; transform: translateY(-50%);
  padding: 4px 7px 2px; border-radius: 3px;
  background: rgb(244 246 240 / .86);
  color: var(--pine); font-size: clamp(.6875rem, 1vw, .8125rem); font-weight: 800; line-height: 1.1; letter-spacing: .01em;
  white-space: nowrap;
}
.map-towns .flip span { left: auto; right: 11px; }
.pin-head {
  position: relative; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--pine); color: var(--aspen);
  box-shadow: 0 0 0 3px var(--paper), 0 10px 18px -6px rgb(21 43 34 / .55);
}
.pin-head::after {
  content: ""; position: absolute; left: 50%; top: calc(100% - 4px);
  border: 9px solid transparent; border-top: 13px solid var(--pine); border-bottom: 0;
  transform: translateX(-50%);
}
.pin-head svg { width: 22px; height: 22px; }
.map-pin { position: absolute; left: var(--x); top: var(--y); width: 46px; transform: translate(-50%, calc(-100% - 10px)); }
.map-pin p {
  position: absolute; left: calc(100% + 14px); top: 50%; transform: translateY(-50%);
  margin: 0; padding: 9px 13px 7px; border-radius: 4px;
  background: var(--pine); color: var(--paper);
  font-size: clamp(.75rem, 1.1vw, .9375rem); font-weight: 800; line-height: 1.2; white-space: nowrap;
}
.map-north {
  position: absolute; top: 16px; right: 16px;
  display: grid; place-items: center; width: 40px; height: 40px; padding-top: 3px;
  border: 1.5px solid rgb(29 58 47 / .55); border-radius: 50%;
  background: rgb(244 246 240 / .9); color: var(--pine); font-size: .8125rem; font-weight: 800;
}
.map-north::before { content: ""; position: absolute; top: -9px; left: 50%; border: 6px solid transparent; border-bottom: 9px solid var(--pine); border-top: 0; transform: translateX(-50%); }
.map-scale { position: absolute; left: 16px; bottom: 14px; display: flex; align-items: center; gap: 8px; width: 32%; color: var(--pine); font-size: .75rem; font-weight: 800; }
.map-scale span { flex: 0 0 56%; height: 7px; border: 1.5px solid var(--pine); background: linear-gradient(90deg, var(--pine) 0 25%, var(--paper) 25% 50%, var(--pine) 50% 75%, var(--paper) 75%); }
.area-map figcaption { display: flex; gap: 12px; align-items: baseline; margin-top: 22px; color: var(--muted); font-size: .9375rem; }
.area-map figcaption::before { content: ""; flex: none; width: 28px; height: 3px; transform: translateY(-4px); background: repeating-linear-gradient(90deg, var(--trail) 0 7px, transparent 7px 12px); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .trail-reveal { animation: trail-draw 2.1s .35s cubic-bezier(.5, .05, .25, 1) both; }
  .map-pin { animation: pin-drop .5s 2.25s cubic-bezier(.3, 1.4, .5, 1) both; }
  .map-pin p { animation: fade-in .45s 2.6s ease-out both; }
}
@keyframes trail-draw { from { stroke-dashoffset: 1; } }
@keyframes pin-drop { from { opacity: 0; transform: translate(-50%, calc(-100% - 40px)); } }
@keyframes fade-in { from { opacity: 0; } }

/* ---------- Service finder: a trail-junction signpost ---------- */

.finder-section { background: var(--pine); color: var(--on-dark); }
.finder-section h2 { color: var(--paper); }
.finder-section .section-head p { color: var(--on-dark-muted); }
.finder { display: grid; grid-template-columns: minmax(0, 4.2fr) minmax(0, 7.8fr); align-items: start; gap: clamp(24px, 4vw, 56px); }
.finder-options { position: relative; display: grid; gap: 14px; padding: 18px 0 64px; }
.finder-options::before {
  content: ""; position: absolute; left: 30px; top: 0; bottom: 0; width: 16px; border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, #8f7a58, #a99172 45%, #8a7454);
}
.finder-options > a {
  position: relative; z-index: 0; display: flex; align-items: center; min-height: 76px;
  padding: 14px 46px 12px 66px;
  color: var(--paper); font-size: 1.0625rem; line-height: 1.25; text-decoration: none;
}
.finder-options > a::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--spruce);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 50%, calc(100% - 28px) 100%, 0 100%);
  transition: background-color .2s ease;
}
.finder-options > a:hover::before { background: #3a6b55; }
.finder-options > a strong { font-weight: 800; }
.finder-options > a[aria-selected="true"] { color: var(--pine); }
.finder-options > a[aria-selected="true"]::before { background: var(--aspen); }
.finder-panels { min-width: 0; }
.finder-panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); overflow: hidden; border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.finder-panel + .finder-panel { margin-top: 16px; }
.finder-panel[hidden] { display: none; }
.finder-content { padding: clamp(26px, 3.6vw, 48px); }
.finder-content h3 { margin-bottom: 16px; font-size: clamp(1.75rem, 2.6vw, 2.25rem); letter-spacing: -.03em; line-height: 1.02; }
.finder-content > p { color: var(--muted); }
.finder-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.finder-links a { padding: 7px 14px 5px; border: 1.5px solid var(--line); border-radius: 999px; color: var(--pine); font-size: .875rem; font-weight: 700; text-decoration: none; transition: background-color .18s, border-color .18s; }
.finder-links a:hover { background: var(--meadow); border-color: var(--meadow); }
.finder-footnote { margin: 40px 0 0; color: var(--on-dark-muted); }
.finder-footnote a { color: var(--paper); font-weight: 700; text-decoration-color: var(--aspen); text-decoration-thickness: 2px; }

.finder-visual { position: relative; min-height: 360px; overflow: hidden; background: var(--meadow); }
.visual-disclaimer { position: absolute; right: 14px; bottom: 12px; color: var(--muted); font-size: .6875rem; font-weight: 600; }
.map-visual { background: url("/assets/front-range-topo.svg") 58% 70% / 250% auto no-repeat, var(--paper); }
.map-visual .business-marker { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 22px; }
.business-marker p { margin: 0; padding: 9px 14px 7px; border-radius: 4px; background: var(--paper); color: var(--pine); font-weight: 800; line-height: 1.2; text-align: center; box-shadow: 0 0 0 1px rgb(29 58 47 / .2), 0 12px 24px -12px rgb(29 58 47 / .5); }
.map-label { position: absolute; color: var(--spruce); font-size: .6875rem; font-weight: 800; letter-spacing: .16em; }
.label-a { left: 10%; top: 14%; }
.label-b { right: 10%; bottom: 18%; text-align: right; }

.web-visual { display: grid; place-items: center; padding: 32px 28px 40px; }
.mini-browser { position: relative; width: min(100%, 330px); overflow: hidden; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px rgb(29 58 47 / .12), 0 30px 50px -28px rgb(29 58 47 / .55); }
.mini-browser-bar { display: flex; gap: 6px; padding: 11px 13px; background: var(--meadow-soft); }
.mini-browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgb(29 58 47 / .25); }
.mini-page { position: relative; z-index: 1; display: grid; gap: 10px; justify-items: start; padding: 26px 22px 28px; }
.mini-brand { color: var(--spruce); font-size: .625rem; font-weight: 800; letter-spacing: .16em; }
.mini-page strong { color: var(--pine); font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.mini-line { width: 70%; height: 7px; border-radius: 4px; background: var(--meadow); }
.mini-line.short { width: 48%; }
.mini-button { margin-top: 6px; padding: 7px 12px 5px; border-radius: 3px; background: var(--aspen); color: var(--pine); font-size: .625rem; font-weight: 800; letter-spacing: .12em; }
.mini-art { position: absolute; right: -18px; bottom: -18px; width: 52%; aspect-ratio: 1; border-radius: 50%; background: url("/assets/front-range-topo.svg") 20% 40% / 330% auto; opacity: .9; }

.social-visual { padding: 40px 28px; }
.message-card { position: absolute; width: min(74%, 260px); padding: 20px 20px 18px; border-radius: 8px; box-shadow: 0 24px 40px -24px rgb(29 58 47 / .6); }
.message-card span { display: block; margin-bottom: 10px; font-size: .625rem; font-weight: 800; letter-spacing: .16em; }
.message-card strong { display: block; font-size: 1.375rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.message-one { left: 8%; top: 12%; background: #fff; color: var(--pine); transform: rotate(-3deg); }
.message-one span { color: var(--spruce); }
.message-two { right: 8%; bottom: 14%; background: var(--pine); color: var(--paper); transform: rotate(2.5deg); }
.message-two span { color: var(--aspen); }

/* ---------- Founders ---------- */

.founders-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(36px, 7vw, 112px); }
.founders-card {
  position: relative; display: flex; flex-direction: column; aspect-ratio: 4 / 5; padding: clamp(28px, 3.5vw, 44px);
  border-radius: var(--radius); background: url("/assets/contour-lines.svg") 30% 50% / cover, var(--aspen); color: var(--pine);
}
.founders-monogram { margin-bottom: auto; font-size: clamp(6.5rem, 13vw, 11rem); font-weight: 900; letter-spacing: -.07em; line-height: .8; }
.founders-monogram span { font-weight: 300; padding-inline: .04em; }
.founders-name { margin: 0 0 6px; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.05; }
.founders-role { margin: 0; font-size: .9375rem; font-weight: 600; }
.founders-copy h2 { margin-bottom: 28px; }
.founders-copy p { max-width: 36em; color: var(--muted); }
.principles { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 28px 0 34px; padding-block: 18px; border-block: 1px solid var(--line); }
.principles li { display: inline-flex; align-items: center; gap: 10px; color: var(--pine); font-weight: 700; }
.principles li::before { content: ""; width: 8px; height: 8px; background: var(--aspen); transform: rotate(45deg); }

/* ---------- What happens when we talk: a three-waypoint route ---------- */

.talk { background: var(--meadow-soft); }
.talk-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 7vw, 112px); align-items: start; }
.talk-intro h2 { margin-bottom: 24px; font-size: clamp(2rem, 3.3vw, 2.875rem); }
.talk-intro > p:not(.kicker) { max-width: 30em; margin-bottom: 26px; color: var(--muted); font-size: 1.125rem; }
.route-steps { list-style: none; counter-reset: step; padding-top: 6px; }
.route-steps li { position: relative; counter-increment: step; padding: 0 0 40px 76px; }
.route-steps li:last-child { padding-bottom: 0; }
.route-steps li::before {
  content: counter(step); position: absolute; left: 0; top: -8px;
  display: grid; place-items: center; width: 48px; height: 48px; padding-top: 3px;
  border: 2.5px solid var(--pine); border-radius: 50%; background: var(--paper);
  color: var(--pine); font-size: 1.125rem; font-weight: 800;
}
.route-steps li:last-child::before { background: var(--aspen); border-color: var(--aspen); }
.route-steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 3px;
  background: repeating-linear-gradient(180deg, var(--trail) 0 8px, transparent 8px 15px);
}
.route-steps h3 { margin-bottom: 8px; font-size: 1.5rem; }
.route-steps p { margin: 0; max-width: 32em; color: var(--muted); }

/* ---------- FAQ ---------- */

.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 7vw, 112px); align-items: start; }
.faq-intro h2 { margin-bottom: 24px; }
.faq-intro p { color: var(--muted); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary, .optional-details summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 24px 56px 22px 0; color: var(--pine); font-size: 1.1875rem; font-weight: 700; line-height: 1.3;
}
.faq-list summary::-webkit-details-marker, .optional-details summary::-webkit-details-marker { display: none; }
.faq-list summary::after, .optional-details summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 20px; height: 20px;
  background: linear-gradient(currentColor, currentColor) center / 20px 2.5px no-repeat, linear-gradient(currentColor, currentColor) center / 2.5px 20px no-repeat;
  transform: translateY(-50%); transition: transform .22s ease;
}
.faq-list details[open] summary::after, .optional-details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list summary:hover { color: var(--spruce); }
.faq-list details p { max-width: 40em; margin: 0; padding: 0 56px 26px 0; color: var(--muted); }

/* ---------- Closing call to action ---------- */

.cta { padding-block: clamp(80px, 10vw, 136px); background: url("/assets/contour-lines.svg") 50% 40% / cover, var(--pine); color: var(--on-dark); }
.cta-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 40px clamp(36px, 7vw, 112px); }
.cta h2 { color: var(--paper); font-size: clamp(2.5rem, 5.4vw, 4.75rem); }
.cta-body p { max-width: 28em; color: var(--on-dark-muted); font-size: 1.125rem; }
.cta-body .button { margin: 6px 0 20px; }
.cta .cta-note { margin: 0; font-size: .9375rem; }
.cta-note a { color: var(--paper); font-weight: 700; text-decoration-color: var(--aspen); text-decoration-thickness: 2px; }

/* ---------- Inner page heroes ---------- */

.page-hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(48px, 7vw, 104px) clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.page-hero::before {
  content: ""; position: absolute; inset: 0 0 0 42%; z-index: -1;
  background: url("/assets/front-range-topo.svg") 18% 55% / cover no-repeat; opacity: .7;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%);
}
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px 64px; }
.page-hero h1 { max-width: 15ch; margin-bottom: 26px; font-size: clamp(2.75rem, 6.4vw, 5.5rem); }
.page-hero .lede { margin-bottom: 32px; }
.breadcrumb { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 30px; color: var(--muted); font-size: .9375rem; font-weight: 700; text-decoration: none; }
.breadcrumb::before { content: ""; width: 8px; height: 8px; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(45deg); }
.breadcrumb:hover { color: var(--pine); }
.page-hero .breadcrumb + .kicker { display: flex; }

.service-band { padding-block: clamp(44px, 5.5vw, 72px); background: var(--pine); color: var(--paper); }
.service-band .wrap { display: flex; align-items: center; gap: clamp(20px, 3vw, 36px); }
.service-band .wrap::before { content: ""; flex: 0 0 clamp(40px, 7vw, 96px); height: 4px; background: repeating-linear-gradient(90deg, var(--aspen) 0 11px, transparent 11px 19px); }
.service-band h2 { color: var(--paper); font-size: clamp(1.875rem, 3.8vw, 3.125rem); }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.5vw, 48px); }
.feature-grid article { padding-top: 24px; border-top: 3px solid var(--pine); }
.feature-grid h3 { margin-bottom: 12px; }
.feature-grid p { margin: 0; color: var(--muted); }
.faq + .related { padding-top: var(--section); }
.service-hero ~ .faq, .catalog { background: var(--meadow-soft); }

.related h2 { margin-bottom: 36px; font-size: clamp(1.875rem, 3.4vw, 2.75rem); }
.related-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.related-links a { display: flex; align-items: center; gap: 16px; padding: 20px 4px 18px 0; border-bottom: 1px solid var(--line); color: var(--pine); font-size: 1.125rem; font-weight: 700; text-decoration: none; }
.related-links svg { flex: none; width: 26px; height: 26px; color: var(--spruce); }
.related-links span { flex: 1; }
.related-links a::after { content: ""; flex: none; width: 9px; height: 9px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); transition: transform .18s ease; }
.related-links a:hover { color: var(--spruce); }
.related-links a:hover::after { transform: translateX(4px) rotate(45deg); }

/* Services catalogue: a trail directory */
.trail-list { list-style: none; display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.5fr) auto; column-gap: 36px; border-top: 1px solid var(--line); }
.trail-list li { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; border-bottom: 1px solid var(--line); }
.trail-row { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; row-gap: 20px; padding: 28px 0; color: inherit; text-decoration: none; }
.row-link { justify-self: end; }
.trail-row h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); transition: color .18s; }
.trail-row p { margin: 0; color: var(--muted); }
.row-link { color: var(--pine); font-weight: 800; white-space: nowrap; text-decoration: underline; text-decoration-color: var(--aspen); text-decoration-thickness: 3px; text-underline-offset: .32em; }
.trail-row:hover h3 { color: var(--spruce); }
.trail-row:hover .blaze::before { background: var(--pine); }
.trail-row:hover .blaze svg { color: var(--aspen); }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(36px, 7vw, 112px); }
.about-visual { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 4 / 5; padding: clamp(28px, 3.5vw, 44px); border-radius: var(--radius); background: url("/assets/contour-lines.svg") 70% 40% / cover, var(--pine); color: var(--paper); }
.about-star { width: 44%; height: auto; color: var(--aspen); }
.about-visual p { margin: 0; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; }
.about-copy h2 { margin-bottom: 12px; font-size: clamp(2.5rem, 5vw, 4rem); }
.about-copy .founders-role { margin-bottom: 28px; color: var(--spruce); font-size: 1rem; font-weight: 700; }
.about-copy p:not(.founders-role) { max-width: 36em; color: var(--muted); }
.values { padding-top: 0; }

/* ---------- Contact ---------- */

.contact-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; gap: clamp(36px, 6vw, 96px); padding-block: clamp(48px, 7vw, 104px); }
.contact-copy h1 { margin-bottom: 26px; font-size: clamp(2.75rem, 5.6vw, 4.75rem); }
.contact-copy .lede { margin-bottom: 36px; }
.contact-context { margin-bottom: 36px; }
.contact-context h2 { margin-bottom: 16px; font-size: 1.25rem; letter-spacing: -.01em; }
.contact-direct { padding-top: 28px; border-top: 1px solid var(--line); }
.contact-phone { display: inline-block; margin-bottom: 10px; color: var(--pine); font-size: clamp(2rem, 3.4vw, 2.625rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; text-decoration: none; }
.contact-phone:hover { color: var(--spruce); }
.contact-direct address { margin-bottom: 20px; color: var(--muted); }
.contact-note { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--pine); font-size: .9375rem; font-weight: 700; }
.contact-note::before { content: ""; width: 8px; height: 8px; background: var(--aspen); transform: rotate(45deg); }

.contact-form {
  position: relative; padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--line); border-top: 6px solid var(--pine); border-radius: var(--radius);
  background: #fff; box-shadow: 0 40px 70px -50px rgb(29 58 47 / .5);
}
.contact-form > h2 { margin-bottom: 10px; font-size: clamp(1.875rem, 3vw, 2.5rem); }
.form-intro { margin-bottom: 28px; color: var(--muted); font-size: .9375rem; }
.contact-form label { display: block; margin-bottom: 20px; color: var(--pine); font-size: .9375rem; font-weight: 700; }
.req { color: var(--aspen-ink); }
.contact-form input, .contact-form select, .contact-form textarea {
  display: block; width: 100%; margin-top: 8px; padding: 13px 14px 11px;
  border: 1.5px solid #b9c6b4; border-radius: 5px; background: #fbfcf9;
  color: var(--ink); font: 400 1rem/1.4 var(--font);
  transition: border-color .15s, box-shadow .15s;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form select {
  appearance: none; padding-right: 44px; cursor: pointer;
  background: #fbfcf9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%231d3a2f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center / 12px 8px no-repeat;
}
.contact-form input:hover, .contact-form select:hover, .contact-form textarea:hover { border-color: var(--spruce); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 4px rgb(237 179 60 / .5); }
.contact-form ::placeholder { color: #7a877f; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.optional-details { margin: 0 0 22px; border-block: 1px solid var(--line); }
.optional-details summary { padding: 15px 40px 13px 0; font-size: .9375rem; }
.optional-details summary::after { width: 16px; height: 16px; right: 4px; background-size: 16px 2px, 2px 16px; }
.optional-fields { padding-top: 6px; }
.contact-form .button { width: 100%; margin-top: 4px; }
.form-note { margin: 16px 0 0; color: var(--muted); font-size: .8125rem; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-feedback { margin-bottom: 26px; padding: 18px 20px 16px; border-radius: 5px; }
.form-feedback:focus { outline: 3px solid var(--spruce); outline-offset: 3px; }
.form-feedback h3 { margin-bottom: 8px; font-size: 1.125rem; }
.form-feedback p, .form-feedback ul { margin: 0; }
.form-feedback ul { padding-left: 20px; }
.form-feedback.success { border-left: 5px solid var(--spruce); background: var(--meadow-soft); }
.form-feedback.error { border-left: 5px solid var(--error); background: #fbefe9; color: #5a1d10; }
.form-feedback.error h3 { color: var(--error); }
.success-steps { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgb(29 58 47 / .15); }
.success-steps p { margin-bottom: 14px; }
.contact-form[aria-busy="true"] { cursor: progress; }

/* Privacy and not-found */
.legal-inner { max-width: calc(760px + var(--gutter) * 2); padding-block: clamp(56px, 8vw, 120px); }
.legal h1 { margin-bottom: 32px; font-size: clamp(2.5rem, 5.4vw, 4.25rem); }
.legal p { font-size: 1.125rem; }
.legal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 32px; }
.lost-trail { width: 220px; height: auto; margin-bottom: 28px; color: var(--trail); }

/* ---------- Footer ---------- */

.footer { padding-top: clamp(56px, 7vw, 88px); background: var(--meadow-soft); color: var(--ink); }
.footer-main { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3.5fr) minmax(0, 3.5fr); gap: 40px; padding-bottom: 56px; }
.footer-brand p { max-width: 16em; margin: 22px 0 0; color: var(--pine); font-size: 1.375rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.footer-col h2 { margin-bottom: 16px; font-size: 1rem; letter-spacing: 0; }
.footer-col ul { list-style: none; display: grid; gap: 10px; margin-bottom: 18px; }
.footer-col a { color: var(--muted); text-decoration: none; }
.footer-col a:hover { color: var(--pine); text-decoration: underline; }
.footer-col address { color: var(--muted); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding-block: 22px 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8125rem; }
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--pine); text-decoration: underline; }
.footer-bottom span { margin-right: auto; }
.mobile-dock { display: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1240px) {
  .header-phone { display: none; }
}
@media (max-width: 1100px) {
  .header .logo-label { display: none; }
  .nav a { padding-inline: 10px; }
  .nav a[aria-current]::after { left: 10px; right: 10px; }
}
@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    width: 44px; height: 44px; margin-right: -8px; padding: 0; border: 0; background: transparent; cursor: pointer; flex: none;
  }
  .menu-toggle span { width: 24px; height: 2px; border-radius: 1px; background: var(--pine); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .header .logo-label { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 30px -20px rgb(29 58 47 / .25);
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px 0 14px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.125rem; }
  .nav a:hover { background: none; color: var(--spruce); }
  .nav a[aria-current]::after { left: 0; right: auto; width: 28px; bottom: 8px; }
  .hero-grid, .founders-grid, .talk-grid, .faq-grid, .about-grid, .contact-layout, .cta-inner { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(3rem, 9vw, 5rem); }
  .finder { grid-template-columns: minmax(0, 1fr); }
  .finder-options { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0; }
  .finder-options::before { display: none; }
  .finder-options > a { padding: 14px 34px 12px 18px; font-size: 1rem; }
  .founders-card, .about-visual { aspect-ratio: auto; min-height: 340px; max-width: 520px; }
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .page-hero-grid { grid-template-columns: minmax(0, 1fr) auto; }
  .blaze { width: clamp(110px, 18vw, 150px); }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .finder-options { grid-template-columns: minmax(0, 1fr); }
  .finder-panel { grid-template-columns: minmax(0, 1fr); }
  .finder-visual { min-height: 260px; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .related-links { grid-template-columns: minmax(0, 1fr); }
  .trail-list { grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; }
  .trail-row { row-gap: 10px; align-items: start; }
  .row-link { justify-self: start; white-space: normal; }
  .trail-row .blaze { grid-row: span 3; width: 56px; }
  .trail-row p, .trail-row .row-link { grid-column: 2; }
  .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .service-hero .blaze { display: none; }
  .page-hero::before { inset: 0 0 0 30%; opacity: .45; }
}
@media (max-width: 620px) {
  :root { --header: 68px; }
  body { font-size: 1rem; }
  .header-actions { display: none; }
  .header-inner { gap: 14px; }
  .logo-mark { font-size: 2.125rem; }
  .logo-label { font-size: .625rem; }
  .language-switch a { padding: 6px 9px 4px; }
  .hero { padding-top: 32px; }
  .hero h1 { font-size: clamp(2.625rem, 12.5vw, 3.75rem); margin-bottom: 22px; }
  .hero-actions .button { width: 100%; }
  .map-frame { box-shadow: 0 0 0 1px rgb(29 58 47 / .28), 0 0 0 5px var(--paper), 0 0 0 6px rgb(29 58 47 / .16); }
  .map-towns span { padding: 3px 5px 1px; }
  .map-north { top: 10px; right: 10px; width: 32px; height: 32px; font-size: .6875rem; }
  .map-scale { left: 10px; bottom: 8px; font-size: .6875rem; }
  .pin-head { width: 38px; height: 38px; }
  .pin-head svg { width: 18px; height: 18px; }
  .map-pin { width: 38px; }
  .map-pin p { left: calc(100% + 10px); padding: 7px 10px 5px; }
  h2 { font-size: clamp(2rem, 9vw, 2.5rem); }
  .page-hero h1, .contact-copy h1 { font-size: clamp(2.5rem, 11vw, 3.5rem); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-form { margin-inline: calc(var(--gutter) * -.5); }
  .route-steps li { padding-left: 64px; }
  .faq-list summary { font-size: 1.0625rem; padding-right: 44px; }
  .faq-list details p { padding-right: 0; }
  .footer-main { grid-template-columns: minmax(0, 1fr); padding-bottom: 40px; }
  .footer-bottom span { flex-basis: 100%; }
  .mobile-dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgb(244 246 240 / .96); border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }
  .mobile-dock a { min-height: 48px; font-size: .875rem; }
  .dock-call { display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--pine); border-radius: 5px; color: var(--pine); font-weight: 800; text-decoration: none; text-align: center; line-height: 1.15; padding: 6px 8px 4px; }
  .footer { padding-bottom: 76px; }
}
@media (max-width: 480px) {
  .map-scale { display: none; }
  .map-towns .m-above span { left: auto; right: -4px; top: -9px; transform: translateY(-100%); }
  .map-pin p { left: 50%; top: calc(100% + 13px); transform: translateX(-50%); padding: 5px 9px 3px; font-size: .6875rem; }
  .map-pin p br { display: none; }
  .founders-card, .about-visual { min-height: 290px; }
}
@media (max-width: 380px) {
  .logo-label { display: none !important; }
  .map-towns span { font-size: .625rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .header, .mobile-dock, .cta, .menu-toggle { display: none; }
}
