/* WHITELINE — mobile-first alpine field guide */
:root {
  --snow: #f3f5f2;
  --paper: #ffffff;
  --ink: #101a1d;
  --ink-soft: #1b292d;
  --signal: #ff5b35;
  --ice: #c9e7e8;
  --line: #cbd1cc;
  --muted: #596569;
  --gutter: max(1.25rem, env(safe-area-inset-left), env(safe-area-inset-right));
  --shell: 75rem;
  --display: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--snow);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.dialog-open {
  overflow: hidden;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

p,
h1,
h2,
h3,
figure,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
}

::selection {
  background: var(--signal);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
}

section[id],
main[id] {
  scroll-margin-top: 1rem;
}

section[tabindex="-1"]:focus,
main[tabindex="-1"]:focus {
  outline: none;
}

.shell {
  width: min(100% - (2 * var(--gutter)), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: calc(0.75rem + env(safe-area-inset-top));
  left: calc(0.75rem + env(safe-area-inset-left));
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  transform: translateY(-180%);
  background: var(--ink);
  color: var(--snow);
  font-weight: 700;
  transition: transform 180ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Shared controls */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid var(--signal);
  border-radius: 999px;
  background: var(--signal);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 220ms var(--ease-out), color 220ms var(--ease-out), border-color 220ms var(--ease-out), transform 220ms var(--ease-out);
}

.cta-btn:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--snow);
  transform: translateY(-2px);
}

.cta-btn svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition: transform 220ms var(--ease-out);
}

.cta-btn:hover svg {
  transform: translateX(3px);
}

.cta-btn--small {
  min-height: 2.75rem;
  padding: 0.65rem 1.1rem;
  font-size: 0.7rem;
}

.cta-btn--light {
  border-color: var(--snow);
  background: var(--snow);
  color: var(--ink);
}

.cta-btn--light:hover {
  border-color: var(--signal);
  background: var(--signal);
  color: var(--ink);
}

.cta-btn--outline {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.cta-btn--outline:hover {
  background: var(--ink);
  color: var(--snow);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 2.75rem;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link span {
  color: var(--signal);
  font-size: 1.2rem;
  transition: transform 220ms var(--ease-out);
}

.text-link:hover span {
  transform: translate(3px, 3px);
}

.text-link--dark {
  color: var(--ink);
}

/* Navigation */
.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: env(safe-area-inset-top);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
  border-bottom: 1px solid rgba(16, 26, 29, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1;
}

.brand-mark {
  width: 2rem;
  height: 1.6rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.8;
}

.menu-toggle {
  position: relative;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  place-content: center;
}

.menu-toggle span {
  display: block;
  width: 1.5rem;
  height: 2px;
  margin: 3px 0;
  background: var(--ink);
  transition: transform 220ms var(--ease-out);
}

.nav-open .menu-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-open .menu-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.site-nav {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem;
  transform: translateY(-0.5rem);
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: var(--snow);
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 18px 50px rgba(16, 26, 29, 0.18);
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 180ms;
}

.nav-open .site-nav {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.site-nav > a:not(.cta-btn) {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav .cta-btn {
  margin-top: 0.35rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(7.25rem + env(safe-area-inset-top));
  padding-bottom: calc(1.25rem + env(safe-area-inset-bottom));
  overflow: hidden;
  background: var(--snow);
}

@supports (min-height: 100dvh) {
  .hero {
    min-height: 100dvh;
  }
}

.hero-topography {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.contour-lines,
.mountain-lines {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.15;
}

.contour-lines {
  opacity: 0.62;
}

.mountain-lines {
  opacity: 0.65;
}

.route-line {
  fill: none;
  stroke: var(--signal);
  stroke-dasharray: 9 9;
  stroke-linecap: round;
  stroke-width: 2.5;
}

.route-point {
  fill: var(--signal);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  gap: 3rem;
}

.hero-copy {
  max-width: 48rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 28rem;
  margin-bottom: 1.75rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.eyebrow span:first-child::before {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--signal);
  content: "";
}

.hero h1 {
  max-width: 56rem;
  font-size: clamp(4.2rem, 20vw, 7rem);
  font-stretch: condensed;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.79;
  text-transform: uppercase;
}

.hero h1 em {
  color: var(--signal);
  font-style: inherit;
  white-space: nowrap;
}

.hero-intro {
  max-width: 34rem;
  margin-top: 2rem;
  color: #364448;
  font-size: 1.05rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.4rem;
  margin-top: 1.75rem;
}

/* Immersive alpine media */
.hero-media {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  clip-path: polygon(0 0, 100% 0, 100% 91%, 88% 100%, 0 100%);
  background: var(--ink);
  color: var(--snow);
}

.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
}

.hero-media picture {
  display: block;
}

.hero-media img {
  object-fit: cover;
  object-position: 54% center;
  animation: hero-image-enter 900ms var(--ease-out) both;
}

.hero-media-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 18, 20, 0.42) 0%, transparent 42%, rgba(7, 18, 20, 0.76) 100%);
  pointer-events: none;
}

.hero-media-topline {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-media-caption {
  position: absolute;
  z-index: 1;
  right: 1.15rem;
  bottom: 1.5rem;
  left: 1.15rem;
}

.hero-media-number {
  display: block;
  font-family: var(--display);
  font-size: clamp(4.5rem, 19vw, 7.5rem);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.78;
}

.hero-media-caption > span:last-child {
  display: block;
  max-width: 15rem;
  margin-top: 0.85rem;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-media-stamp {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 0.85rem;
  color: var(--ice);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
}

@keyframes hero-image-enter {
  from {
    transform: scale(1.06);
    opacity: 0.6;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Editorial field stories */
.stories {
  background: var(--paper);
}

.story-grid {
  display: grid;
  gap: 2rem;
}

.story-media {
  min-width: 0;
  margin: 0;
}

.media-button {
  position: relative;
  display: block;
  width: 100%;
  min-height: 2.75rem;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 2px;
  background: var(--ink);
  color: var(--snow);
  cursor: zoom-in;
}

.media-button picture {
  display: block;
  width: 100%;
  height: 100%;
}

.media-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out), opacity 300ms var(--ease-out);
}

.media-expand {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
  background: var(--snow);
  color: var(--ink);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out);
}

.media-expand svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.story-media--tall .media-button {
  aspect-ratio: 4 / 5;
}

.story-media--wide .media-button {
  aspect-ratio: 4 / 3;
}

.story-media figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.85rem;
  color: var(--muted);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.story-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 1.5rem;
  overflow: hidden;
  background: var(--ice);
}

.story-copy::after {
  position: absolute;
  right: -2rem;
  bottom: -4rem;
  width: 12rem;
  height: 12rem;
  border: 1px solid rgba(16, 26, 29, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 1.5rem rgba(16, 26, 29, 0.05), 0 0 0 3rem rgba(16, 26, 29, 0.04);
  content: "";
  pointer-events: none;
}

.story-mark {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  color: rgba(16, 26, 29, 0.12);
  font-family: var(--display);
  font-size: 8rem;
  font-style: italic;
  font-weight: 800;
  line-height: 1;
}

.story-copy h3 {
  position: relative;
  z-index: 1;
  max-width: 24rem;
  font-size: clamp(2.25rem, 10vw, 3.6rem);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.94;
  text-transform: uppercase;
}

.story-copy > p {
  position: relative;
  z-index: 1;
  max-width: 31rem;
  margin-top: 1.25rem;
  color: #364448;
  font-size: 0.92rem;
  line-height: 1.7;
}

.story-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(16, 26, 29, 0.3);
}

.story-stats dt {
  color: #435155;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story-stats dd {
  margin-top: 0.35rem;
  font-size: 0.77rem;
  font-weight: 800;
}

/* Photographic terrain study */
.terrain-figure--photo {
  position: relative;
  margin: 0;
}

.terrain-figure--photo .media-button {
  aspect-ratio: 1 / 1;
}

.terrain-figure--photo img {
  opacity: 0.86;
}

.terrain-route-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: var(--signal);
  pointer-events: none;
}

.terrain-route {
  fill: none;
  stroke: var(--signal);
  stroke-dasharray: 9 8;
  stroke-linecap: round;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.terrain-photo-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 0.85rem;
  background: var(--ink);
  color: var(--snow);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.terrain-photo-label span:last-child {
  color: var(--ice);
  font-size: 0.5rem;
}

/* Full-width closing photograph */
.closing-media {
  position: absolute;
  inset: 0;
}

.closing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  opacity: 0.32;
}

.closing::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 26, 29, 0.94) 0%, rgba(16, 26, 29, 0.66) 65%, rgba(16, 26, 29, 0.42) 100%);
  content: "";
}

.closing-ridge {
  z-index: 1;
}

.closing-inner {
  z-index: 2;
}

/* Native photographic lightbox */
.media-dialog {
  width: min(calc(100% - 2rem), 70rem);
  max-width: 70rem;
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid #526064;
  border-radius: 3px;
  background: var(--ink);
  color: var(--snow);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  overscroll-behavior: contain;
}

.media-dialog::backdrop {
  background: rgba(6, 14, 16, 0.9);
}

.media-dialog[open] {
  animation: dialog-enter 300ms var(--ease-out);
}

.media-dialog figure {
  margin: 0;
}

.media-dialog picture {
  display: block;
  background: #091113;
}

.media-dialog img {
  width: 100%;
  max-height: calc(100dvh - 7rem);
  object-fit: contain;
}

.media-dialog figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  padding: 0.85rem 4.5rem calc(0.85rem + env(safe-area-inset-bottom)) 1rem;
  color: var(--ice);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.media-dialog-close {
  position: absolute;
  z-index: 2;
  top: max(0.75rem, env(safe-area-inset-top));
  right: 0.75rem;
  border-color: var(--ink);
  background: var(--snow);
  color: var(--ink);
}

.media-dialog-close:hover {
  background: var(--signal);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* One-time scroll reveals; content remains visible without JavaScript. */
.reveal-enabled [data-reveal] {
  transform: translateY(1.5rem);
  opacity: 0;
  transition: transform 600ms var(--ease-out), opacity 450ms var(--ease-out);
}

.reveal-enabled [data-reveal="media"] {
  transform: translateY(1.5rem) scale(0.985);
  transition-duration: 750ms, 500ms;
}

.reveal-enabled [data-reveal].is-visible {
  transform: none;
  opacity: 1;
}

@media (hover: hover) {
  .media-button:hover img {
    transform: scale(1.04);
    opacity: 0.9;
  }

  .media-button:hover .media-expand {
    background: var(--signal);
    color: var(--snow);
  }
}

@media (min-width: 40rem) {
  .hero-media {
    aspect-ratio: 16 / 10;
  }

  .hero-media-topline,
  .hero-media-caption {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }

  .hero-media-caption {
    right: 0;
    bottom: 2rem;
    left: 0;
  }

  .story-copy {
    padding: 2.5rem;
  }
}

@media (min-width: 60rem) {
  .hero-media {
    min-height: 34rem;
    max-height: 40rem;
    aspect-ratio: 4 / 5;
  }

  .hero-media-number {
    font-size: clamp(5rem, 8vw, 7.5rem);
  }

  .story-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 1.5rem;
  }

  .story-media--tall {
    display: flex;
    grid-row: span 2;
    flex-direction: column;
  }

  .story-media--tall .media-button {
    min-height: 42rem;
    flex: 1;
    aspect-ratio: auto;
  }

  .story-media--wide .media-button {
    aspect-ratio: 16 / 10;
  }

  .story-copy {
    min-height: 23rem;
  }

  .story-stats {
    margin-top: 3rem;
  }

  .terrain-photo-label {
    top: 1.25rem;
    left: 1.25rem;
  }

  .closing {
    display: flex;
    min-height: 42rem;
    align-items: center;
  }
}

.value-grid {
  display: grid;
  margin-top: 3.5rem;
  border-top: 1px solid var(--ink);
}

.value-item {
  padding: 1.35rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
}

.value-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.value-heading svg {
  width: 1.8rem;
  height: 1.8rem;
  fill: none;
  stroke: var(--signal);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.value-heading span,
.board-kicker,
.mode-tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.value-item h2 {
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-transform: uppercase;
}

.value-item p {
  max-width: 23rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.field-strip {
  padding: 1rem 0;
  background: var(--ink);
  color: var(--snow);
}

.strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}

.strip-inner i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--signal);
}

/* Shared section typography */
.section {
  padding: 5.5rem 0;
}

.section-heading {
  margin-bottom: 3rem;
}

.section-index {
  margin-bottom: 1.25rem;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-index::before {
  display: inline-block;
  width: 1.6rem;
  height: 2px;
  margin-right: 0.65rem;
  background: var(--signal);
  vertical-align: 0.2rem;
  content: "";
}

.section-heading h2,
.freeride-statement h2,
.faq-heading h2,
.closing h2 {
  font-size: clamp(2.65rem, 11vw, 5.6rem);
  font-stretch: condensed;
  font-style: italic;
  letter-spacing: -0.06em;
  line-height: 0.93;
  text-transform: uppercase;
}

.section-heading h2 em,
.freeride-statement h2 em,
.closing h2 em {
  color: var(--signal);
  font-style: inherit;
}

.section-intro {
  max-width: 31rem;
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.section-intro .text-link {
  margin-top: 1.1rem;
}

/* Brief */
.brief-board {
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.board-lead {
  position: relative;
  min-height: 16rem;
  padding: 1.75rem;
  overflow: hidden;
  background: var(--ice);
}

.board-lead > p {
  position: relative;
  z-index: 1;
  margin-top: 2.5rem;
  font-family: var(--display);
  font-size: 2.25rem;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.board-lead > svg {
  position: absolute;
  right: -1rem;
  bottom: 0.5rem;
  width: 13.75rem;
  fill: var(--signal);
}

.board-lead > svg path {
  fill: none;
  stroke: var(--signal);
  stroke-dasharray: 5 6;
  stroke-width: 2;
}

.brief-list li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.brief-list li:last-child {
  border-bottom: 0;
}

.brief-list li > span {
  padding-top: 0.15rem;
  color: var(--signal);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brief-list h3 {
  margin-bottom: 0.4rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-transform: uppercase;
}

.brief-list p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Terrain */
.section--dark {
  background: var(--ink);
  color: var(--snow);
}

.section--dark .section-intro {
  color: #b8c2c1;
}

.terrain-layout {
  display: grid;
  gap: 3rem;
}

.terrain-figure {
  align-self: start;
  border: 1px solid #405053;
  background: var(--ink-soft);
}

.terrain-figure > svg {
  width: 100%;
  aspect-ratio: 8 / 7;
}

.map-grid {
  fill: none;
  opacity: 0.18;
  stroke: #7f9495;
  stroke-width: 0.7;
}

.map-contours {
  fill: none;
  stroke: #759091;
  stroke-width: 1.4;
}

.map-ridge {
  fill: none;
  stroke: var(--snow);
  stroke-width: 2;
}

.map-route {
  fill: none;
  stroke: var(--signal);
  stroke-dasharray: 8 7;
  stroke-linecap: round;
  stroke-width: 3;
}

.map-point {
  fill: var(--signal);
}

.map-labels {
  fill: var(--ice);
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.north-arrow {
  fill: none;
  stroke: var(--ice);
  stroke-width: 1.3;
}

.north-arrow text {
  fill: var(--ice);
  stroke: none;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 800;
}

.terrain-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-top: 1px solid #405053;
  color: #aebbb9;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.terrain-notes article {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid #405053;
}

.note-number {
  padding-top: 0.25rem;
  color: var(--signal);
  font-size: 0.7rem;
  font-weight: 800;
}

.terrain-notes h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
  text-transform: uppercase;
}

.terrain-notes p {
  color: #b8c2c1;
  font-size: 0.92rem;
  line-height: 1.65;
}

.terrain-notes .cta-btn {
  margin-top: 1.5rem;
}

/* Discipline comparison */
.discipline-grid {
  display: grid;
  gap: 1rem;
}

.discipline-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.5rem;
  border: 1px solid var(--ink);
  border-radius: 4px;
}

.discipline-card--ski {
  background: var(--paper);
}

.discipline-card--ride {
  background: var(--ink);
  color: var(--snow);
}

.discipline-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.discipline-topline span:last-child {
  color: var(--signal);
}

.discipline-art {
  width: 100%;
  margin: 2rem 0 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.discipline-card h3 {
  font-size: clamp(2.2rem, 9vw, 4rem);
  font-style: italic;
  letter-spacing: -0.055em;
  line-height: 0.95;
  text-transform: uppercase;
}

.discipline-card > p {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.discipline-card--ride > p {
  color: #b8c2c1;
}

.discipline-card ul {
  margin: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
}

.discipline-card--ride ul {
  border-color: #405053;
}

.discipline-card li {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.15rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
  line-height: 1.5;
}

.discipline-card--ride li {
  border-color: #405053;
}

.discipline-card li::before {
  position: absolute;
  top: 1.18rem;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--signal);
  content: "";
}

.discipline-card .cta-btn {
  align-self: flex-start;
  margin-top: auto;
}

/* Freeride */
.freeride {
  padding-bottom: 0;
  background: var(--ice);
}

.freeride-layout {
  display: grid;
  gap: 3rem;
}

.freeride-statement > p:not(.section-index) {
  max-width: 33rem;
  margin-top: 1.75rem;
  color: #3f5053;
  line-height: 1.7;
}

.freeride-statement .text-link {
  margin-top: 1.25rem;
}

.freeride-modes {
  border-top: 2px solid var(--ink);
}

.freeride-modes article {
  display: grid;
  gap: 0.75rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #8faeb0;
}

.mode-tag {
  color: #385458;
}

.freeride-modes h3 {
  font-size: 1.45rem;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-transform: uppercase;
}

.freeride-modes p {
  color: #3f5053;
  font-size: 0.9rem;
}

.safety-note {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: 1rem;
  margin-top: 4rem;
  padding-top: 1.5rem;
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--ink);
}

.safety-note svg {
  width: 1.75rem;
  fill: none;
  stroke: var(--signal);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.safety-note p {
  max-width: 62rem;
  font-size: 0.78rem;
  line-height: 1.65;
}

/* FAQ */
.faq-layout {
  display: grid;
  gap: 3rem;
}

.faq-heading > p:last-child {
  max-width: 26rem;
  margin-top: 1.5rem;
  color: var(--muted);
}

.faq-list {
  border-top: 2px solid var(--ink);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: grid;
  grid-template-columns: 1.6rem 1fr 2.75rem;
  gap: 0.75rem;
  align-items: center;
  min-height: 4.75rem;
  padding: 1rem 0;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary > span {
  color: var(--signal);
  font-family: var(--body);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.faq-list summary svg {
  width: 1.25rem;
  height: 1.25rem;
  justify-self: center;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.5;
  transition: transform 220ms var(--ease-out);
}

.faq-list details[open] summary svg {
  transform: rotate(45deg);
}

.faq-list details > p {
  max-width: 42rem;
  padding: 0 0 1.5rem 2.35rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* Closing and footer */
.closing {
  position: relative;
  padding: 6.5rem 0;
  overflow: hidden;
  background: var(--ink);
  color: var(--snow);
}

.closing-ridge {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 45%;
  fill: none;
  opacity: 0.22;
  stroke: var(--ice);
  stroke-width: 1;
}

.closing-inner {
  position: relative;
  z-index: 1;
}

.closing h2 {
  max-width: 66rem;
}

.closing .cta-btn {
  margin-top: 2.25rem;
}

.site-footer {
  padding-top: 4rem;
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--ink);
  color: var(--snow);
  border-top: 1px solid #405053;
}

.footer-main {
  display: grid;
  gap: 3rem;
}

.brand--footer {
  font-size: 1.25rem;
}

.footer-main > div:first-child > p {
  margin-top: 0.75rem;
  color: #9daaa9;
  font-size: 0.85rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-label {
  margin-bottom: 0.75rem;
  color: #899695;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links a,
.footer-links button {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--snow);
  font-size: 0.82rem;
  text-align: left;
  cursor: pointer;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--signal);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #405053;
  color: #9daaa9;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--snow);
}

/* Native legal dialogs */
.legal-dialog {
  width: min(calc(100% - 2rem), 43rem);
  max-width: 43rem;
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--snow);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
  overscroll-behavior: contain;
}

.legal-dialog::backdrop {
  background: rgba(6, 14, 16, 0.78);
}

.legal-dialog[open] {
  animation: dialog-enter 260ms var(--ease-out);
}

.dialog-header {
  position: sticky;
  z-index: 1;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: var(--snow);
}

.dialog-header .section-index {
  margin: 0;
}

.dialog-close {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  place-items: center;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out);
}

.dialog-close:hover {
  background: var(--ink);
  color: var(--snow);
}

.dialog-close svg {
  width: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.6;
}

.dialog-content {
  padding: 2rem 1.25rem calc(2.5rem + env(safe-area-inset-bottom));
}

.dialog-content h2 {
  font-size: clamp(2.25rem, 9vw, 4rem);
  font-style: italic;
  letter-spacing: -0.055em;
  line-height: 1;
  text-transform: uppercase;
}

.legal-updated {
  margin: 0.85rem 0 2rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dialog-content h3 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.dialog-content > p:not(.legal-updated) {
  color: #435155;
  font-size: 0.9rem;
  line-height: 1.75;
}

@keyframes dialog-enter {
  from {
    transform: translateY(1rem);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Wider mobile and tablets */
@media (min-width: 40rem) {
  :root {
    --gutter: max(2rem, env(safe-area-inset-left), env(safe-area-inset-right));
  }

  .hero {
    padding-top: calc(8rem + env(safe-area-inset-top));
  }

  .hero h1 {
    font-size: clamp(6.5rem, 16vw, 8rem);
  }

  .hero-intro {
    font-size: 1.12rem;
  }

  .value-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .value-item {
    padding: 1.5rem;
    border-right: 1px solid var(--line);
  }

  .value-item:first-child {
    padding-left: 0;
  }

  .value-item:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .value-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .strip-inner {
    justify-content: space-between;
    font-size: 0.65rem;
  }

  .section {
    padding: 7rem 0;
  }

  .brief-list li,
  .terrain-notes article {
    grid-template-columns: 2.5rem 1fr;
    gap: 1.5rem;
    padding: 1.75rem 0;
  }

  .discipline-card {
    padding: 2rem;
  }

  .freeride {
    padding-bottom: 0;
  }

  .freeride-modes article {
    grid-template-columns: 5rem 1fr;
    gap: 0.5rem 1rem;
  }

  .freeride-modes .mode-tag {
    grid-row: span 2;
    padding-top: 0.15rem;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .dialog-header {
    padding-inline: 2rem;
  }

  .dialog-content {
    padding: 2.5rem 2rem calc(3rem + env(safe-area-inset-bottom));
  }
}

/* Desktop composition */
@media (min-width: 60rem) {
  .header-inner {
    min-height: 5.5rem;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    transform: none;
    border: 0;
    background: transparent;
    color: var(--ink);
    opacity: 1;
    visibility: visible;
    box-shadow: none;
  }

  .site-nav > a:not(.cta-btn) {
    position: relative;
    padding: 0;
    font-size: 0.67rem;
  }

  .site-nav > a:not(.cta-btn)::after {
    position: absolute;
    right: 0;
    bottom: 0.45rem;
    left: 0;
    height: 1px;
    transform: scaleX(0);
    transform-origin: right;
    background: var(--signal);
    content: "";
    transition: transform 220ms var(--ease-out);
  }

  .site-nav > a:not(.cta-btn):hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .site-nav .cta-btn {
    margin: 0 0 0 0.5rem;
  }

  .hero {
    display: flex;
    align-items: center;
    padding-top: calc(8.5rem + env(safe-area-inset-top));
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  }

  .hero-inner {
    width: min(100% - (2 * var(--gutter)), var(--shell));
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(23rem, 0.92fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
  }

  .hero h1 {
    font-size: clamp(6.5rem, 10.8vw, 8.5rem);
  }

  .route-pass {
    position: relative;
    display: block;
    padding: 1.4rem;
    transform: rotate(1.5deg);
    border-radius: 3px;
    background: var(--ink);
    color: var(--snow);
  }

  .route-pass::before {
    position: absolute;
    top: -5px;
    right: 1rem;
    left: 1rem;
    height: 5px;
    background: repeating-linear-gradient(90deg, var(--signal) 0 12px, transparent 12px 18px);
    content: "";
  }

  .pass-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid #405053;
    color: #b8c2c1;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.12em;
  }

  .pass-topline svg {
    width: 1.6rem;
    fill: none;
    stroke: var(--ice);
    stroke-width: 1;
  }

  .pass-route {
    position: relative;
    margin: 1rem 0;
  }

  .pass-route > span {
    position: absolute;
    top: 0;
    right: 0;
    color: var(--ice);
    font-size: 0.6rem;
    font-weight: 800;
  }

  .pass-route svg {
    width: 100%;
    fill: var(--signal);
  }

  .pass-contour {
    fill: none;
    stroke: #597173;
    stroke-width: 1;
  }

  .pass-trace {
    fill: none;
    stroke: var(--signal);
    stroke-dasharray: 5 5;
    stroke-width: 2;
  }

  .pass-label {
    color: #9daaa9;
    font-size: 0.57rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .pass-title {
    margin-top: 0.45rem;
    font-family: var(--display);
    font-size: 2rem;
    font-style: italic;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.95;
    text-transform: uppercase;
  }

  .pass-data {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #405053;
  }

  .pass-data dt {
    color: #899695;
    font-size: 0.5rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .pass-data dd {
    margin-top: 0.2rem;
    font-size: 0.7rem;
    font-weight: 700;
  }

  .pass-footnote {
    margin-top: 1rem;
    color: #899695;
    font-size: 0.48rem;
    line-height: 1.5;
    text-transform: uppercase;
  }

  .value-grid {
    margin-top: 4rem;
  }

  .value-item {
    padding: 1.5rem 2rem;
  }

  .value-item h2 {
    font-size: 1.45rem;
  }

  .split-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 0.65fr);
    gap: 4rem;
    align-items: end;
  }

  .section-heading {
    margin-bottom: 4rem;
  }

  .section-intro {
    margin-top: 0;
    padding-bottom: 0.35rem;
  }

  .section-heading h2,
  .freeride-statement h2,
  .faq-heading h2,
  .closing h2 {
    font-size: clamp(4.2rem, 6.5vw, 5.7rem);
  }

  .brief-board {
    display: grid;
    grid-template-columns: minmax(18rem, 0.85fr) minmax(0, 1.35fr);
  }

  .board-lead {
    min-height: 100%;
    padding: 2.25rem;
  }

  .board-lead > p {
    margin-top: 5rem;
    font-size: 3.25rem;
  }

  .board-lead > svg {
    width: 17rem;
  }

  .brief-list {
    padding: 0 2.25rem;
  }

  .brief-list li {
    align-items: start;
  }

  .terrain-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.8fr);
    gap: 5rem;
    align-items: center;
  }

  .terrain-notes .cta-btn {
    margin-top: 2rem;
  }

  .discipline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .discipline-card {
    min-height: 43rem;
    padding: 2.25rem;
  }

  .discipline-card h3 {
    font-size: clamp(3rem, 4.6vw, 4.25rem);
  }

  .discipline-art {
    height: 11rem;
    margin-block: 2.5rem;
  }

  .freeride-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.75fr);
    gap: 6rem;
  }

  .freeride-statement {
    align-self: start;
  }

  .freeride-modes article {
    grid-template-columns: 4rem 1fr;
    padding: 1.75rem 0;
  }

  .faq-layout {
    grid-template-columns: minmax(18rem, 0.65fr) minmax(0, 1.1fr);
    gap: 6rem;
    align-items: start;
  }

  .faq-heading {
    position: sticky;
    top: 2rem;
  }

  .faq-list summary {
    min-height: 5.5rem;
    font-size: 1.2rem;
  }

  .closing {
    padding: 8rem 0;
  }

  .footer-main {
    grid-template-columns: 1.3fr 1fr;
  }

  .footer-links {
    max-width: 25rem;
    justify-self: end;
    width: 100%;
  }
}

@media (min-width: 80rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(25rem, 0.92fr);
  }

  .hero h1 {
    font-size: 8.5rem;
  }

  .route-pass {
    padding: 1.65rem;
  }
}

@media (max-width: 23rem) {
  .hero h1 {
    font-size: 3.8rem;
  }

  .hero-actions .cta-btn,
  .hero-actions .text-link {
    width: 100%;
  }

  .hero-actions .text-link {
    justify-content: center;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
