/* 3D slope model. The poster is the page's content; the live model only replaces it once drawn. */
.slope3d{margin-block:clamp(32px,5vw,64px);outline:0;scroll-margin-block-start:128px}
.slope3d-head{margin-block-end:14px}.slope3d-head h2{margin:0 0 6px}.slope3d-head p{margin:0;max-width:68ch}
.slope3d-stage{position:relative;overflow:hidden;width:100%;height:min(76svh,760px);min-height:380px;background:var(--paper,#fff);touch-action:pan-y;cursor:grab;user-select:none;-webkit-user-select:none}
.slope3d-stage.is-grabbing{cursor:grabbing}
.slope3d-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.slope3d-gl,.slope3d-lines,.slope3d-labels{position:absolute;inset:0;width:100%;height:100%;opacity:0;transition:opacity .35s}
.slope3d-lines,.slope3d-labels{pointer-events:none}
.is-live>.slope3d-gl,.is-live>.slope3d-lines,.is-live>.slope3d-labels{opacity:1}
.is-live>.slope3d-poster{visibility:hidden;transition:visibility 0s .35s}
.slope3d-label{position:absolute;left:0;top:0;visibility:hidden;white-space:nowrap;font-size:12.5px;font-weight:600;line-height:18px;color:#0e1114;text-shadow:0 0 3px #fff,0 0 3px #fff,0 0 6px #fff,0 0 6px #fff}
.slope3d-label--lift{color:var(--accent-text,#1e5bb8);font-weight:500}.slope3d-label--poi{font-weight:700}
.slope3d-pin{position:absolute;left:0;top:0;display:grid;place-items:center;width:24px;height:24px;visibility:hidden;border-radius:50%;background:#0e1114;color:#fff;font-size:12px;font-weight:700;text-decoration:none;box-shadow:0 0 0 2px #fff;pointer-events:auto}
.slope3d-pin::after{content:"";position:absolute;inset:-10px}
.slope3d-pin:hover,.slope3d-pin:focus-visible{background:var(--accent);color:var(--on-accent)}
.slope3d-tools{position:absolute;z-index:3;inset-block-start:12px;right:12px;display:grid;gap:1px;background:#0e111426;border:1px solid #0e111426;border-radius:2px;visibility:hidden}
.is-live>.slope3d-tools{visibility:visible}
.slope3d-tools button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;background:#fff;color:var(--ink,#0e1114);cursor:pointer}.slope3d-tools svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.slope3d-tools button:hover{color:var(--accent-text,#1e5bb8)}.slope3d-tools button:active{background:var(--line,#dbe3ec)}
.slope3d-start{display:none;position:absolute;z-index:3;inset:auto 50% 16px auto;transform:translateX(50%);min-height:44px;padding:0 18px;border:0;border-radius:2px;background:var(--accent);color:var(--on-accent);font-weight:650;cursor:pointer}
.is-lean .slope3d-start{display:block}.is-lean .is-live .slope3d-start{display:none}
.slope3d-view{position:absolute;z-index:4;inset:0;display:flex;flex-direction:column;background:#0e1114;cursor:default;touch-action:auto}
.slope3d-view img{flex:1;width:100%;min-height:0;object-fit:contain}
.slope3d-view p{min-height:64px;margin:0;padding:10px 64px 10px 14px;color:#fff;font-size:14px;line-height:1.4}
.slope3d-view button{position:absolute;top:10px;right:10px;width:44px;height:44px;border:0;border-radius:2px;background:#fbfaf7;color:#0e1114;font-size:20px;cursor:pointer}
.slope3d-notes{margin-block-start:12px;color:var(--muted,#53667d);font-size:14px}.slope3d-notes p{max-width:80ch;margin:6px 0}
.slope3d-credit{font-size:12.5px}
.slope3d-legend{display:flex;flex-wrap:wrap;gap:6px 18px;margin:0 0 8px;padding:0;list-style:none;color:var(--ink,#0e1114)}
.slope3d-legend li{display:flex;align-items:center;gap:8px}
.slope3d-legend i{display:block;width:22px;height:3px;background:#2b6fd6}
.slope3d-key--run i{height:10px;background:#fff;box-shadow:0 0 0 1px #787e82}.slope3d-key--lift i{height:2px;background:var(--accent-text,#1e5bb8)}.slope3d-key--forest i{height:10px;background:#928e88}
.slope3d-key--novice i{background:#2f9e5f}.slope3d-key--intermediate i{background:#d23b32}.slope3d-key--advanced i{background:#14171a}
.slope3d-photos{margin-block-start:26px}.slope3d-photos h3{margin:0 0 10px}
.slope3d-photos ol{display:flex;gap:14px;overflow-x:auto;margin:0;padding:0 0 10px;list-style:none;scroll-snap-type:x proximity;overscroll-behavior-x:contain}
.slope3d-photos li{flex:0 0 min(78vw,420px);scroll-snap-align:start}.slope3d-photos li:target figcaption{color:var(--ink,#0e1114);font-weight:600}
.slope3d-photos figure{margin:0}.slope3d-photos img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.slope3d-photos figcaption{margin-block-start:6px;font-size:14px;line-height:1.4}
.slope3d-photos figcaption b{margin-inline-end:4px}.slope3d-photos>p{margin:4px 0 0;color:var(--muted,#53667d);font-size:14px;max-width:80ch}
.slope3d.is-full{position:fixed;z-index:1000;inset:0;margin:0;background:#f1efe9}
.slope3d.is-full>:not(.slope3d-stage){display:none}
.slope3d.is-full>.slope3d-stage{height:100%;touch-action:none;border:0}
html.slope3d-lock{overflow:hidden}
@media (max-width:700px){.slope3d-stage{height:min(70svh,600px)}.slope3d-tools{inset-block-start:8px;left:8px;right:auto;grid-auto-flow:column}}
@media (prefers-reduced-motion:reduce){.slope3d-gl,.slope3d-lines,.slope3d-labels{transition:none}}
.is-live.slope3d-stage{background:radial-gradient(90% 70% at 72% 0,#fff4e2 0,#fff4e200 60%),linear-gradient(#a8c9e8,#dcebf6 55%,var(--paper,#fff))}.is-live.slope3d-stage.is-night{background:linear-gradient(#070b16,#141c33 50%,#1d2640)}.is-night .slope3d-label{color:#fff;text-shadow:0 0 3px #000,0 0 6px #000}.is-night .slope3d-label--lift{color:#cfe0ff}
.slope3d-tools button[aria-pressed="true"]{background:#0e1114;color:#fff}
.slope3d-about{margin:6px 0}.slope3d-about summary{cursor:pointer;min-height:24px;color:var(--ink,#0e1114)}
