/* A distant peak in the same scenery stack and sky palettes as Adventures. */
.mountaineering-page {
  --peak-rock:#526386;
  --peak-shadow:#39496e;
  --peak-snow:#a9b6cf;
  --peak-ice:#788bad;
}
[data-sky="day"] .mountaineering-page {
  --peak-rock:#8199ad;
  --peak-shadow:#627e99;
  --peak-snow:#d9e2e7;
  --peak-ice:#b2c3cf;
}
[data-sky="sunset"] .mountaineering-page {
  --peak-rock:#80738e;
  --peak-shadow:#594d70;
  --peak-snow:#ddbebd;
  --peak-ice:#ac92a6;
}
.mountaineering-page .matterhorn {
  left:auto;
  right:3%;
  bottom:12%;
  width:clamp(310px,49vw,760px);
  height:min(56%,480px);
}
.peak-rock { fill:var(--peak-rock); }
.peak-shadow { fill:var(--peak-shadow); }
.peak-snow { fill:var(--peak-snow); }
.peak-ice { fill:var(--peak-ice); }
.pixel-snow { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; image-rendering:pixelated; }
.snow-toggle:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
@media (max-width:700px) {
  .mountaineering-page .matterhorn { right:-10%; bottom:24%; width:86%; height:47%; }
}
@media (prefers-reduced-motion:reduce) { .pixel-snow { display:none; } }
@media print { .pixel-snow,.snow-toggle { display:none; } }
/* Let the far peak disappear into the valley haze. */
.mountaineering-page .matterhorn {
  mask-image:linear-gradient(#000 72%,transparent);
}
.mountaineering-page .page-surface { max-width:660px; }

/* Keep motion settings with the other atmosphere controls. */
.mountaineering-page .snow-toggle {
  width:100%;
  min-height:44px;
  margin-top:8px;
  border:0;
  border-top:1px solid var(--line);
  border-radius:0;
  padding:.6rem 0 0;
  background:transparent;
  color:var(--muted);
  font:inherit;
  font-size:13px;
  text-align:left;
  cursor:pointer;
}
.mountaineering-page .snow-toggle:hover:not(:disabled) { color:var(--accent); }
.mountaineering-page .snow-toggle:disabled { cursor:default; }
.mountain-note {
  border-top:1px solid var(--line);
  padding-top:26px;
}
.mountain-note h2 {
  font-size:clamp(25px,3vw,35px);
  letter-spacing:-.025em;
}
.mountain-note .prose { margin-top:14px; }
.mountain-note .text-link { display:inline-flex; align-items:center; min-height:44px; }
.mountain-note-photo { margin:26px 0 0; }
.mountain-note-photo img {
  display:block;
  width:100%;
  height:auto;
  border-radius:12px;
}
.mountain-note-photo figcaption {
  margin-top:12px;
  color:var(--muted);
  font:400 11px/1.6 'IBM Plex Mono',monospace;
}

@media (max-width:700px) {
  .mountaineering-page .reading-surface { --surface-feather:48px; }
  .mountain-note { margin-top:clamp(150px,24svh,210px); }
}
