/* Zirve Kayak Merkezi — one knitted jumper and its paper ball band.
   Yarns only: night/sky indigo, ecru, snow blue, forest, madder, lamp, and the four piste yarns. */
@font-face { font-family: 'Familjen Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/familjen-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Familjen Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/familjen-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Pixelify Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/pixelify-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Pixelify Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/pixelify-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --sky: #1f2b66; --sky-deep: #141b45; --night: #0f1536; --ecru: #efe9dc; --snow: #c9d4e2; --shade: #8fa2c4;
  --forest: #2f6a43; --forest-dark: #1d4430; --madder: #a8322b; --lamp: #f0bf45; --ink: #141b45; --ink-2: #3a4170;
  --paper: #f5f2ea; --paper-2: #e9e4d6; --green: #3f9d52; --blue: #2e6fd6; --red: #d23a2f; --black: #17171c;
  --display: 'Pixelify Sans', 'Familjen Grotesk', system-ui, sans-serif;
  --text: 'Familjen Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --head: 64px; --sw: 10px; --sh: 8px;
  --knit-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10' preserveAspectRatio='none'%3E%3Crect width='12' height='10' fill-opacity='.24'/%3E%3Cg fill='%23fff' fill-opacity='.12'%3E%3Cellipse cx='3.45' cy='5' rx='2.45' ry='5.6' transform='rotate(-27 3.45 5)'/%3E%3Cellipse cx='8.55' cy='5' rx='2.45' ry='5.6' transform='rotate(27 8.55 5)'/%3E%3C/g%3E%3C/svg%3E");
  --knit-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10' preserveAspectRatio='none'%3E%3Crect width='12' height='10' fill-opacity='.1'/%3E%3Cg fill='%23fff' fill-opacity='.3'%3E%3Cellipse cx='3.45' cy='5' rx='2.45' ry='5.6' transform='rotate(-27 3.45 5)'/%3E%3Cellipse cx='8.55' cy='5' rx='2.45' ry='5.6' transform='rotate(27 8.55 5)'/%3E%3C/g%3E%3C/svg%3E");
  color-scheme: light;
  scrollbar-color: var(--madder) var(--sky-deep);
}
@media (max-width: 699px) { :root { --sw: 7px; --sh: 6px; --head: 58px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:not(.anim) { scroll-behavior: auto; }
body { margin: 0; font-family: var(--text); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--sky-deep); overflow-x: clip; }
img, canvas { max-width: 100%; }
::selection { background: var(--lamp); color: var(--ink); }
input, select, textarea, button { font: inherit; color: inherit; caret-color: var(--madder); }
:focus-visible { outline: 2px dashed var(--lamp); outline-offset: 3px; }
.band-paper :focus-visible, .ticket-paper :focus-visible, .book-paper :focus-visible, .summary-paper :focus-visible, .ecru :focus-visible, .snow :focus-visible, .pack-band :focus-visible { outline-color: var(--madder); }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 2px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
[hidden] { display: none !important; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--lamp); color: var(--ink); padding: 10px 16px; font-weight: 700; border-radius: 3px; }
.skip:focus { top: 12px; }

/* ---------- knitted grounds ---------- */
.sec, .hero, .head, .foot { background-size: var(--sw) var(--sh); }
.sky { background-color: var(--sky); background-image: var(--knit-dark); color: var(--ecru); }
.deep { background-color: var(--sky-deep); background-image: var(--knit-dark); color: var(--ecru); }
.night { background-color: var(--night); background-image: var(--knit-dark); color: var(--ecru); }
.forest { background-color: var(--forest); background-image: var(--knit-dark); color: var(--ecru); }
.madder { background-color: var(--madder); background-image: var(--knit-dark); color: var(--paper); }
.ecru { background-color: #f7f2e7; background-image: var(--knit-light); color: var(--ink); }
.snow { background-color: #d3dceb; background-image: var(--knit-light); color: var(--ink); }

/* ---------- labels (buttons are sewn woven labels) ---------- */
.label-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border: 0; border-radius: 3px; background: var(--madder); color: var(--paper); font-weight: 700; font-size: 1rem; letter-spacing: 0.01em; text-decoration: none; cursor: pointer; transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.label-btn::after { content: ''; position: absolute; inset: 4px; border: 1.5px dashed rgba(245, 242, 234, 0.7); border-radius: 2px; pointer-events: none; }
.label-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3); }
.label-btn:active { transform: translateY(1px); box-shadow: none; }
.label-btn.big { min-height: 52px; font-size: 1.0625rem; width: 100%; }
.label-btn.ghost { background: var(--paper); color: var(--madder); }
.label-btn.ghost::after { border-color: rgba(168, 50, 43, 0.6); }
.label-btn.ghost.on { background: var(--sky); color: var(--paper); }
.label-btn.ghost.on::after { border-color: rgba(245, 242, 234, 0.7); }

.yarn { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; background-image: var(--knit-dark); background-size: 7px 6px; flex: none; }
.yarn-green { background-color: var(--green); } .yarn-blue { background-color: var(--blue); } .yarn-red { background-color: var(--red); } .yarn-black { background-color: var(--black); box-shadow: inset 0 0 0 1px rgba(239, 233, 220, 0.4); }
.tag-ex { display: inline-block; padding: 1px 8px; border-radius: 2px; background: var(--lamp); color: var(--ink); font-size: 0.8125rem; font-weight: 700; line-height: 1.5; vertical-align: 1px; white-space: nowrap; }
.ph { text-decoration: underline dashed; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.fine { font-size: 0.9375rem; color: var(--ink-2); margin-top: 20px; }
.fine.light, .light .fine { color: rgba(245, 242, 234, 0.86); }

/* ---------- header ---------- */
.head { position: fixed; inset: 0 0 auto; z-index: 50; background-color: var(--sky-deep); background-image: var(--knit-dark); color: var(--ecru); padding-top: env(safe-area-inset-top, 0px); }
.head-in { height: var(--head); display: flex; align-items: center; gap: 24px; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); max-width: 1440px; margin-inline: auto; }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.mark-knit { display: block; image-rendering: auto; }
.mark-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.mark-sub { font-family: var(--display); font-size: 0.95rem; letter-spacing: 0.02em; color: var(--snow); }
.nav { display: flex; gap: 22px; margin-inline: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.975rem; padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--lamp); }
.head-tools { display: flex; align-items: center; gap: 8px; }
.tool { width: 42px; height: 42px; display: grid; place-items: center; border: 1.5px dashed rgba(239, 233, 220, 0.45); border-radius: 3px; background: transparent; cursor: pointer; font-family: var(--display); font-size: 0.95rem; }
.tool svg { width: 20px; height: 20px; }
.tool[aria-pressed="false"] { border-style: solid; color: var(--lamp); }
.tool:hover { border-color: var(--lamp); }
.head .label-btn { min-height: 42px; padding: 8px 16px; }
.head-yarn { height: 3px; background: rgba(239, 233, 220, 0.08); }
.yarn-run { display: block; height: 100%; background: var(--lamp); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(340px, 28vw, 410px); grid-template-rows: auto 1fr auto; min-height: max(100svh, 900px); padding-top: var(--head); background-color: var(--sky-deep); background-image: var(--knit-dark); color: var(--ecru); }
.hero-knit { grid-column: 1 / -1; grid-row: 1 / -1; position: relative; overflow: hidden; margin-top: calc(var(--head) * -1); }
.hero-knit.flat { grid-column: 1; grid-row: 2; margin: 0 0 0 max(20px, env(safe-area-inset-left, 0px)); min-height: 460px; }
.mtn-canvas, .plan-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.mtn-canvas { cursor: grab; }
.plan-canvas { display: block; image-rendering: auto; }
html.webgl .plan-canvas { display: none; }
html.webgl .flat > .plan-canvas { display: block; }
html:not(.webgl) .mtn-canvas, .flat > .mtn-canvas { display: none; }
html:not(.webgl) .only-3d, .flat ~ .hero-foot .only-3d { display: none; }
.mtn-labels { position: absolute; inset: 0; pointer-events: none; }
.mlabel { position: absolute; left: 0; top: 0; translate: -50% -120%; padding: 2px 8px; border-radius: 2px; background: var(--sky-deep); color: var(--ecru); font-weight: 700; font-size: 0.8125rem; white-space: nowrap; }
.mtn-tip { position: absolute; left: 0; top: 0; z-index: 4; display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 3px; background: var(--paper); color: var(--ink); font-weight: 600; font-size: 0.9375rem; pointer-events: none; opacity: 0; transition: opacity 0.2s; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3); white-space: nowrap; }
.mtn-tip.on { opacity: 1; }
.hero-copy { grid-column: 1; grid-row: 1; position: relative; z-index: 2; padding: clamp(28px, 4vw, 56px) clamp(20px, 4vw, 56px) 24px; max-width: 760px; pointer-events: none; }
.hero-copy > * { pointer-events: auto; }
.knit-title { font-family: var(--display); font-weight: 600; font-size: clamp(2.6rem, 5vw, 4.8rem); line-height: 0.98; letter-spacing: 0; color: var(--ecru); }
.hero-foot { grid-column: 1; grid-row: 3; position: relative; z-index: 2; margin: 0 clamp(20px, 4vw, 56px) 32px; max-width: 640px; padding: 16px 20px 14px; pointer-events: none; }
.hero-foot > * { pointer-events: auto; }
@media (min-width: 1000px) { html.webgl .hero-knit:not(.flat) ~ .hero-foot { color: var(--ink); background: var(--paper); border-radius: 3px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); } html.webgl .hero-knit:not(.flat) ~ .hero-foot::after { content: ""; position: absolute; inset: 5px; border: 1.5px dashed rgba(0, 0, 0, 0.35); border-radius: 2px; pointer-events: none; } html.webgl .hero-knit:not(.flat) ~ .hero-foot .hero-lede { color: var(--ink); font-weight: 600; } html.webgl .hero-knit:not(.flat) ~ .hero-foot .hero-note { color: var(--ink-2); font-weight: 600; } }
.hero-lede { margin-top: 0; max-width: 34em; font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--ecru); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 0.9375rem; font-weight: 600; }
.legend li { display: flex; align-items: center; gap: 7px; }
.hero-note { margin-top: 10px; font-size: 0.9375rem; color: var(--snow); }

/* the ball band */
.band { grid-column: 2; grid-row: 1 / -1; position: relative; z-index: 3; margin-right: max(20px, env(safe-area-inset-right, 0px)); margin-top: calc(var(--head) * -1); display: flex; }
.band::before, .band::after { content: ''; position: absolute; left: 0; right: 0; height: 18px; background: var(--paper-2); z-index: 0; }
.band::before { top: calc(var(--head) - 9px); transform: skewY(-2deg); }
.band::after { bottom: -9px; transform: skewY(2deg); }
.band-paper { position: relative; z-index: 1; width: 100%; margin-top: var(--head); background: var(--paper); color: var(--ink); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); display: flex; flex-direction: column; }
.band-head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: var(--madder); color: var(--paper); }
.band-mark { display: block; flex: none; }
.band-title { font-family: var(--display); font-weight: 600; font-size: 1.7rem; line-height: 1.05; }
.band-sub { font-size: 0.9375rem; opacity: 0.92; }
.band-form { display: flex; flex-direction: column; gap: 14px; padding: 18px 22px 22px; flex: 1; }
.band-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fld { display: flex; flex-direction: column; gap: 4px; font-size: 0.875rem; font-weight: 700; color: var(--ink-2); min-width: 0; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 42px; padding: 8px 10px; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; background: var(--paper-2); color: var(--ink); font-size: 1rem; font-weight: 500; }
.fld textarea { min-height: 96px; resize: vertical; }
.fld input[aria-invalid="true"], .fld select[aria-invalid="true"] { border-bottom-color: var(--madder); background: #f6dcd6; }
.err { color: var(--madder); font-weight: 700; font-size: 0.875rem; }
.step { display: flex; flex-direction: column; gap: 4px; }
.step-l { font-size: 0.875rem; font-weight: 700; color: var(--ink-2); }
.step-c { display: flex; align-items: center; justify-content: space-between; background: var(--paper-2); border-bottom: 2px solid var(--ink); border-radius: 0; min-height: 42px; }
.step-b { width: 42px; height: 42px; display: grid; place-items: center; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.step-b svg { width: 14px; height: 14px; }
.step-b:hover { background: var(--snow); }
.step-v { font-weight: 700; font-size: 1.2rem; font-variant-numeric: tabular-nums; min-width: 1.5em; text-align: center; }
.seg-set { border: 0; padding: 0; margin: 0; min-width: 0; }
.seg-set legend { padding: 0; margin-bottom: 4px; font-size: 0.875rem; font-weight: 700; color: var(--ink-2); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 6px 8px; background: var(--paper-2); border-radius: 2px; font-weight: 600; font-size: 0.9375rem; text-align: center; }
.seg input:checked + span { background: var(--sky); color: var(--paper); outline: 1.5px dashed rgba(245, 242, 234, 0.65); outline-offset: -5px; }
.seg input:focus-visible + span { outline: 2px dashed var(--madder); outline-offset: 2px; }
.no-lesson .lesson-only { display: none; }
.gauge { display: flex; align-items: center; gap: 14px; }
.gauge-knit { display: block; max-width: 150px; height: auto; flex: none; }
.gauge-txt { font-size: 0.9375rem; display: flex; flex-direction: column; }
.gauge-k { font-size: 0.8125rem; font-weight: 700; color: var(--ink-2); }
.gauge-txt strong { font-weight: 700; font-size: 1.1rem; }
.band-sum { font-size: 0.9375rem; line-height: 1.5; min-height: 3em; }
.band-price { display: flex; justify-content: space-between; font-weight: 700; padding-top: 8px; border-top: 1.5px dashed rgba(20, 27, 69, 0.35); }
.band-fine { font-size: 0.8125rem; color: var(--ink-2); }
.band-form .label-btn.big { margin-top: auto; }

/* ---------- yokes (knitted bands between sections) ---------- */
.yoke { position: relative; height: 120px; overflow: hidden; line-height: 0; background: linear-gradient(var(--yt, var(--sky)) 50%, var(--yb, var(--ecru)) 50%); }
.yoke[data-top="sky"] { --yt: var(--sky); } .yoke[data-top="ecru"] { --yt: #f7f2e7; } .yoke[data-top="snow"] { --yt: #d3dceb; } .yoke[data-top="forest"] { --yt: var(--forest); } .yoke[data-top="madder"] { --yt: var(--madder); } .yoke[data-top="night"] { --yt: var(--night); } .yoke[data-top="deep"] { --yt: var(--sky-deep); }
.yoke[data-bot="sky"] { --yb: var(--sky); } .yoke[data-bot="ecru"] { --yb: #f7f2e7; } .yoke[data-bot="snow"] { --yb: #d3dceb; } .yoke[data-bot="forest"] { --yb: var(--forest); } .yoke[data-bot="madder"] { --yb: var(--madder); } .yoke[data-bot="night"] { --yb: var(--night); } .yoke[data-bot="deep"] { --yb: var(--sky-deep); }
.yoke.knitted { background: var(--yt); }
.yoke canvas { display: block; max-width: none; }
html.anim .yoke.armed:not(.knit-in) canvas { clip-path: inset(100% 0 0 0); }
html.anim .yoke.knit-in canvas { animation: knitIn 1.4s steps(var(--rows, 16)) both; }
@keyframes knitIn { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ---------- sections ---------- */
.sec { position: relative; padding-block: clamp(72px, 8vw, 120px); }
.wrap { max-width: 1280px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.wrap.narrow { max-width: 880px; }
.sec h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2.2rem, 4.4vw, 3.9rem); line-height: 1.02; letter-spacing: 0; }
.sec h3 { font-size: 1.25rem; line-height: 1.25; font-weight: 700; }
.sec-head { max-width: 48rem; margin-bottom: clamp(36px, 4vw, 56px); }
.sec-lede { margin-top: 16px; font-size: 1.125rem; max-width: 42em; }
.stitch-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.stitch-list li { position: relative; padding-left: 28px; }
.stitch-list li::before { content: ''; position: absolute; left: 2px; top: 0.5em; width: 14px; height: 10px; background: var(--madder); clip-path: polygon(0 0, 50% 55%, 100% 0, 100% 45%, 50% 100%, 0 45%); }
.stitch-list.light li::before, .madder .stitch-list li::before { background: var(--lamp); }
.facts { display: grid; gap: 0; margin: 20px 0 0; }
.facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1.5px dashed rgba(20, 27, 69, 0.28); }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; text-align: right; }
.facts.small > div { padding: 7px 0; font-size: 0.9375rem; }

/* today */
.today { display: grid; grid-template-columns: minmax(0, 1.05fr) auto minmax(0, 0.9fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.today-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; margin: 0; }
.today-figs dt { font-size: 0.9375rem; font-weight: 700; color: var(--ink-2); }
.today-figs dd { margin: 4px 0 0; line-height: 1.2; }
.fig { font-weight: 700; letter-spacing: -0.02em; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1; font-variant-numeric: tabular-nums; }
.unit { display: block; font-size: 0.9375rem; color: var(--ink-2); margin-top: 4px; }
.chart { margin: 0; }
.chart-paper { padding: 16px 16px 10px; background: var(--paper); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); }
.chart-knit { display: block; width: 353px; max-width: 100%; height: auto; }
.chart-days { display: grid; grid-template-columns: repeat(7, 48px); padding: 6px 0 0 8px; margin: 0; list-style: none; font-size: 0.8125rem; text-align: center; }
.chart-days li { display: flex; flex-direction: column; line-height: 1.3; }
.chart-days .wd { color: var(--ink-2); font-weight: 700; }
.chart-days .wv { font-weight: 700; font-size: 1rem; }
.chart figcaption { margin-top: 12px; font-size: 0.9375rem; max-width: 24em; }
.lifts h3 { font-size: 1.05rem; margin-bottom: 8px; }
.lifts h3 + .lift-list + h3 { margin-top: 22px; }
.lift-list { list-style: none; margin: 0; padding: 0; }
.lift-list li { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1.5px dashed rgba(20, 27, 69, 0.22); font-size: 0.9375rem; }
.lift-list .ln { flex: 1; font-weight: 600; }
.lift-list .ls { font-weight: 700; }
.lift-list .dot { width: 12px; height: 12px; border-radius: 2px; background: var(--green); flex: none; }
.lift-list .shut .dot { background: var(--black); }
.lift-list .shut .ls { color: var(--madder); }

/* map */
.map { padding-block: 0; }
.map-pin { display: grid; grid-template-columns: minmax(0, 1fr) clamp(360px, 30vw, 440px); height: 100svh; min-height: 720px; padding-top: var(--head); }
.map-stage { position: relative; overflow: hidden; }
.map-side { padding: clamp(20px, 2.5vw, 36px) max(20px, env(safe-area-inset-right, 0px)) 24px clamp(20px, 2.5vw, 32px); display: flex; flex-direction: column; gap: 16px; overflow: hidden; background: var(--sky-deep); background-image: var(--knit-dark); background-size: var(--sw) var(--sh); }
.map-side h2 { font-size: clamp(1.9rem, 2.8vw, 2.7rem); }
.map-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 1rem; }
.map-steps li { padding-left: 14px; border-left: 3px solid rgba(239, 233, 220, 0.18); }
.map-steps li.here { border-left-color: var(--lamp); }
html.anim .map-steps li:not(.here) { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 6px 12px; border: 1.5px dashed rgba(239, 233, 220, 0.4); border-radius: 3px; background: transparent; font-weight: 600; font-size: 0.9375rem; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ecru); color: var(--ink); border-style: solid; border-color: var(--ecru); }
.chip:hover { border-color: var(--lamp); }
.piste-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; }
.piste-list li.dim { opacity: 0.42; }
.piste { width: 100%; display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 4px 8px; border: 0; border-radius: 3px; background: transparent; text-align: left; cursor: pointer; font-size: 0.9375rem; }
.piste .pn { flex: 1; font-weight: 600; }
.piste .pl { font-variant-numeric: tabular-nums; color: var(--snow); font-size: 0.875rem; }
.piste:hover { background: rgba(239, 233, 220, 0.1); }
.piste[aria-pressed="true"] { background: var(--ecru); color: var(--ink); }
.piste[aria-pressed="true"] .pl { color: var(--ink-2); }
.piste-detail { min-height: 4.8em; font-size: 0.975rem; line-height: 1.5; padding: 10px 12px; background: rgba(239, 233, 220, 0.08); border-radius: 3px; }
.map-fine { font-size: 0.875rem; color: var(--snow); margin-top: auto; }

/* lessons */
.levels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.level { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.swatch { display: block; width: 100%; height: auto; aspect-ratio: 136 / 201; border-radius: 3px; box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22); object-fit: cover; }
.level.pick .swatch { outline: 3px dashed var(--madder); outline-offset: 6px; }
.level-body { display: flex; flex-direction: column; gap: 10px; }
.level-body h3 { font-family: var(--display); font-weight: 600; font-size: 1.6rem; }
.more summary { cursor: pointer; font-weight: 700; color: var(--madder); list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: ''; width: 10px; height: 10px; background: linear-gradient(currentColor, currentColor) center / 10px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 10px no-repeat; }
.more[open] summary::before { background: linear-gradient(currentColor, currentColor) center / 10px 2px no-repeat; }
.more ul { margin: 8px 0 0; padding-left: 18px; font-size: 0.975rem; }
.level-pistes { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 0.9375rem; font-weight: 600; }
.quiz { margin-top: clamp(56px, 6vw, 88px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr); gap: 20px clamp(28px, 4vw, 56px); align-items: start; }
.quiz > h3, .quiz > .quiz-lede { grid-column: 1 / -1; }
.quiz > h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
#quizForm { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.q { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.q legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.q label { position: relative; }
.q input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.q span { display: block; padding: 9px 12px; border-radius: 3px; background: rgba(245, 242, 234, 0.75); font-weight: 600; font-size: 0.975rem; }
.q input:checked + span { background: var(--sky); color: var(--paper); outline: 1.5px dashed rgba(245, 242, 234, 0.65); outline-offset: -5px; }
.q input:focus-visible + span { outline: 2px dashed var(--madder); outline-offset: 2px; }
.quiz-out { padding: 18px 20px; background: var(--paper); border-radius: 3px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18); }

/* day */
.day { padding-block: 0; }
.day-pin { min-height: 100svh; padding-block: calc(var(--head) + 48px) 56px; display: flex; flex-direction: column; justify-content: center; gap: 40px; overflow: hidden; }
.day-head { width: 100%; }
.day-track-wrap { width: 100%; }
.day-track { list-style: none; margin: 0; padding: 0 max(20px, env(safe-area-inset-left, 0px)); display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 40px 36px; max-width: 1280px; margin-inline: auto; }
@media (min-width: 1000px) { html.anim .day-track { display: flex; gap: clamp(36px, 4vw, 64px); max-width: none; width: max-content; padding-left: max(20px, calc((100vw - 1280px) / 2 + 20px)); }
html.anim .day-track .hour { width: 290px; flex: none; } }
.hour { display: flex; flex-direction: column; gap: 10px; }
.picto { display: block; width: 88px; height: auto; border-radius: 3px; }
.hour-t { font-weight: 700; letter-spacing: -0.02em; font-size: 2.1rem; font-variant-numeric: tabular-nums; line-height: 1; color: var(--lamp); }
.hour h3 { color: var(--ecru); }
.hour p:last-child { color: rgba(239, 233, 220, 0.92); }

/* kids */
.kids { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.art-knit { display: block; width: 100%; height: auto; border-radius: 4px; }
.kids-art .art-knit { max-width: 440px; margin-inline: auto; box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22); }
.kids-copy h3 { margin-top: 30px; }

/* rental */
.rent { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.rent-copy .sec-lede { color: var(--paper); }
.ticket-paper { position: relative; background: var(--paper); color: var(--ink); padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35); border-top: 3px dashed var(--paper-2); }
.ticket-title { font-family: var(--display); font-weight: 600; font-size: 1.7rem; }
.ticket-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.ticket-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; background: #e3e8f2; border-radius: 3px; }
.ticket-out > div { padding: 12px 14px; }
.ticket-out > div + div { border-left: 1.5px dashed rgba(20, 27, 69, 0.3); }
.ticket-out dt { font-size: 0.8125rem; font-weight: 700; color: var(--ink-2); }
.ticket-out dd { margin: 4px 0 0; font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.ticket-note { font-size: 0.9375rem; color: var(--ink-2); }
.ticket-err { color: var(--madder); font-weight: 700; font-size: 0.9375rem; }
.ticket-err:empty { display: none; }
.ticket-list { font-size: 0.9375rem; font-weight: 600; }
.ticket-list:empty { display: none; }
.ticket .label-btn { align-self: flex-start; }

/* safety */
.safety { padding-block: 0 clamp(72px, 8vw, 120px); }
.safety-pin { min-height: 100svh; padding-block: calc(var(--head) + 40px) 40px; display: flex; align-items: center; }
.safety-in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; width: 100%; }
.safety-art .art-knit { width: 250px; box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22); }
.rules { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.rules h3 { display: flex; align-items: baseline; gap: 10px; font-size: 1.05rem; }
.rule-n { font-weight: 700; font-size: 1.45rem; font-variant-numeric: tabular-nums; color: var(--madder); min-width: 1.4em; }
.rules p { margin-top: 4px; padding-left: calc(1.4em * 1.43 + 10px); font-size: 0.975rem; }
html.anim .rules.pinned { grid-template-columns: 1fr; gap: 6px; }
html.anim .rules li.steps p { display: none; }
html.anim .rules li.steps.here p { display: block; }
html.anim .rules li.steps { opacity: 0.5; transition: opacity 0.3s; }
html.anim .rules li.steps.done { opacity: 0.75; }
html.anim .rules li.steps.here { opacity: 1; }
.safety-more { margin-top: clamp(40px, 5vw, 64px); }
.safety-more .stitch-list { grid-template-columns: 1fr 1fr; gap: 10px 32px; max-width: 980px; }

/* rooms */
.rooms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.room { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.room-plan { display: block; width: 100%; max-width: 300px; height: auto; box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16); }
.room-body { display: flex; flex-direction: column; gap: 10px; }
.room-body h3 { font-family: var(--display); font-weight: 600; font-size: 1.6rem; }
.room-body .label-btn { align-self: flex-start; margin-top: 6px; }

/* night */
.nightsec { padding-block: 0; }
.night-pin { position: relative; height: 100svh; min-height: 680px; overflow: hidden; }
.night-pin .plan-canvas, .night-pin .mtn-canvas { top: var(--head); height: calc(100% - var(--head)); }
.night-copy { position: absolute; z-index: 2; left: max(20px, env(safe-area-inset-left, 0px)); top: calc(var(--head) + clamp(24px, 4vw, 56px)); max-width: min(520px, calc(100% - 40px)); padding: 0 clamp(0px, 2vw, 32px); }
.night-copy h2 { color: var(--ecru); }
.night-lines { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.night-lines li { padding: 10px 14px; background: rgba(10, 14, 38, 0.82); border-radius: 3px; }
.nl-k { display: block; font-family: var(--display); color: var(--lamp); font-size: 1.15rem; }
html.anim .night-lines li { opacity: 0.4; transition: opacity 0.4s; }
html.anim .night-lines li.here { opacity: 1; }
html.anim .night-lines.static li { opacity: 1; }

/* packages */
.packs { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.pack-band { width: min(100%, calc(46% + var(--n) * 10.8%)); background: var(--paper); color: var(--ink); display: grid; grid-template-columns: minmax(0, 12rem) auto minmax(0, 1fr) auto auto; gap: 12px 28px; align-items: center; padding: 18px 26px; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4); }
.pack-band h3 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; }
.pack-n { display: flex; align-items: baseline; gap: 6px; font-weight: 700; }
.pack-n .fig { font-size: 2.2rem; color: var(--madder); }
.pack-price { display: flex; flex-direction: column; font-size: 0.875rem; font-weight: 700; color: var(--ink-2); }
.pack-price .ph { color: var(--ink); font-size: 1rem; }

/* faq */
.faq { margin-top: 32px; display: grid; gap: 0; }
.faq details { border-bottom: 1.5px dashed rgba(239, 233, 220, 0.3); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; font-weight: 700; font-size: 1.125rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--lamp), var(--lamp)) center / 14px 2px no-repeat, linear-gradient(var(--lamp), var(--lamp)) center / 2px 14px no-repeat; }
.faq details[open] summary::after { background: linear-gradient(var(--lamp), var(--lamp)) center / 14px 2px no-repeat; }
.faq details p { padding: 0 0 20px; max-width: 46em; color: rgba(239, 233, 220, 0.92); }

/* booking */
.book-paper, .summary-paper { background: var(--paper); color: var(--ink); padding: clamp(22px, 3vw, 40px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
.book-paper { display: grid; gap: 28px; }
.bf-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.bf-group legend { padding: 0; margin-bottom: 14px; font-family: var(--display); font-weight: 600; font-size: 1.4rem; }
.bf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 16px; }
.fld.wide { grid-column: span 2; }
.fld.full { grid-column: 1 / -1; }
.bf-err { color: var(--madder); font-weight: 700; }
.bf-err:empty { display: none; }
.bf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.bf-actions .label-btn.big { width: auto; padding-inline: 32px; }
.summary { margin-top: 28px; }
.summary-paper h3 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; margin-bottom: 14px; }
.summary-text { white-space: pre-wrap; font-family: var(--text); font-size: 1rem; line-height: 1.6; margin: 0 0 18px; padding: 16px; background: var(--paper-2); border-radius: 3px; overflow-x: auto; }
.copy-state { font-weight: 600; }

/* footer */
.foot { background-color: var(--sky-deep); background-image: var(--knit-dark); color: var(--ecru); padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 56px; }
.foot-brand { display: flex; flex-direction: column; gap: 14px; }
.foot-facts { margin: 0; display: grid; gap: 0; }
.foot-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1.5px dashed rgba(239, 233, 220, 0.25); }
.foot-facts dt { font-weight: 700; }
.foot-facts dd { margin: 0; }
.foot-demo { grid-column: 1 / -1; font-size: 0.9375rem; color: var(--snow); }
.foot-demo a { color: var(--ecru); font-weight: 700; }

/* ---------- not pinned (phones, tablets, reduced motion): the same content, stacked ---------- */
@media (max-width: 999px) {
  .nav { display: none; }
  .head-tools { margin-left: auto; }
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto; min-height: 0; }
  .hero-foot { grid-row: 3; max-width: none; padding-top: 22px; padding-bottom: 40px; }
  .hero-copy { grid-column: 1; grid-row: 1; max-width: none; }
  .hero-knit, .hero-knit.flat { grid-column: 1; grid-row: 2; margin: 0; height: 64svh; min-height: 380px; max-height: 640px; }
  .band { grid-column: 1; grid-row: 4; margin: 0; padding: 0 max(16px, env(safe-area-inset-left, 0px)) 40px; }
  .band::before, .band::after { display: none; }
  .band-paper { margin-top: 0; }
  .today { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .lifts { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
  .lifts h3 + .lift-list + h3 { margin-top: 0; }
  .lifts > h3:nth-of-type(2) { grid-column: 2; grid-row: 1; }
  .lifts > .lift-list:nth-of-type(2) { grid-column: 2; grid-row: 2; }
  .map-pin { grid-template-columns: minmax(0, 1fr); height: auto; min-height: 0; }
  .map-stage { height: 66svh; min-height: 360px; max-height: 620px; }
  html.anim .map-steps li:not(.here) { display: list-item; }
  .levels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quiz { grid-template-columns: minmax(0, 1fr); }
  #quizForm { grid-template-columns: minmax(0, 1fr); }
  .kids, .rent { grid-template-columns: minmax(0, 1fr); }
  .safety-in { grid-template-columns: minmax(0, 1fr); }
  .safety-art .art-knit { width: min(250px, 70vw); }
  .rooms { grid-template-columns: minmax(0, 1fr); }
  .room { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 20px; }
  .night-pin { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .night-pin .plan-canvas, .night-pin .mtn-canvas { position: relative; top: 0; height: 56svh; min-height: 320px; order: 2; }
  .night-copy { position: relative; left: 0; top: 0; max-width: none; padding: calc(var(--head) + 40px) max(20px, env(safe-area-inset-left, 0px)) 28px; order: 1; }
  html.anim .night-lines li { opacity: 1; }
  .pack-band { width: 100%; grid-template-columns: minmax(0, 1fr) auto; }
  .pack-band > p:not(.pack-n):not(.pack-price) { grid-column: 1 / -1; }
  .bf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
  body { font-size: 1rem; }
  .head-in { gap: 10px; }
  .mark-sub { display: none; }
  .head .label-btn { padding: 8px 12px; font-size: 0.9375rem; }
  .tool { width: 40px; height: 40px; }
  .band-row.two { grid-template-columns: 1fr 1fr; gap: 10px; }
  .today { grid-template-columns: minmax(0, 1fr); }
  .chart-days { grid-template-columns: repeat(7, minmax(0, 1fr)); padding-left: 0; }
  .lifts { grid-template-columns: minmax(0, 1fr); }
  .lifts > h3:nth-of-type(2), .lifts > .lift-list:nth-of-type(2) { grid-column: 1; grid-row: auto; }
  .lifts h3 + .lift-list + h3 { margin-top: 22px; }
  .piste-list { grid-template-columns: minmax(0, 1fr); }
  .levels { grid-template-columns: minmax(0, 1fr); }
  .level { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; align-items: start; }
  .rules { grid-template-columns: minmax(0, 1fr); }
  .safety-more .stitch-list { grid-template-columns: minmax(0, 1fr); }
  .room { grid-template-columns: minmax(0, 1fr); }
  .ticket-grid { grid-template-columns: 1fr 1fr; }
  .ticket-out { grid-template-columns: minmax(0, 1fr); }
  .ticket-out > div + div { border-left: 0; border-top: 1.5px dashed rgba(20, 27, 69, 0.3); }
  .bf-grid { grid-template-columns: minmax(0, 1fr); }
  .fld.wide { grid-column: auto; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .day-pin { padding-block: calc(var(--head) + 32px) 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* the road up */
.road { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.road-art .art-knit { max-width: 420px; margin-inline: auto; box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35); }
.road-list { gap: 14px; }
.facts.on-dark > div { border-bottom-color: rgba(239, 233, 220, 0.25); }
@media (max-width: 999px) { .road { grid-template-columns: minmax(0, 1fr); } }
