/* V3: the original watercolour world, travelled in two dimensions. */
html { overflow-x: clip; }
body { overflow-x: clip; }
header { position: fixed; padding: 26px 5%; pointer-events: none; }
header > span { padding: 7px 10px; background: #f8f3eacc; border-radius: 30px; }
header .explore-button { position: absolute; right: 5%; pointer-events: auto; padding: 8px 0; }
.explore-button span { margin-left: 12px; font-size: 16px; }
#scroll-track { display: none; }
.camera-on { --screen-height: 100svh; }
.camera-on .camera-viewport { position: fixed; inset: 0; height: var(--screen-height); overflow: clip; isolation: isolate; }
.camera-on #journey { position: absolute; inset: 0; overflow: visible; }
.camera-on #scroll-track { display: block; height: var(--journey-length, 18000px); }
.camera-on .snow-ground { position: fixed; inset: 0; background: none; opacity: .65; }
.snow-tile { display: none; }
.camera-on .snow-tile { display: block; position: absolute; top: 0; left: 0; background: url(assets/snow-background.png) center/100% 100%; mask-image: linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent),linear-gradient(transparent,#000 9%,#000 91%,transparent); mask-composite: intersect; -webkit-mask-image: linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent),linear-gradient(transparent,#000 9%,#000 91%,transparent); -webkit-mask-composite: source-in; }
.camera-on .ski-trail { position: absolute; inset: 0; width: 100%; height: 100%; }
.camera-on #trail-shadow { stroke-width: 8; opacity: .55; }
.camera-on #trail { stroke-width: 1.2; opacity: .24; }
.camera-on .world-station { position: absolute; top: 0; left: 0; width: 100%; min-height: var(--screen-height); height: auto; margin: 0; transform-origin: 0 0; will-change: transform; }
.camera-on .chapter { padding: 100px 9%; }
.camera-on .chapter-copy { width: 44%; max-width: 560px; }
.camera-on .chapter .brief-copy { font-size: 15px; line-height: 1.8; }
.camera-on .chapter h2 { font-size: clamp(36px,4.8vw,72px); }
.camera-on .reveal { opacity: 1; transform: none; transition: none; }
.camera-on .snow-hero { padding: 100px 9% 80px; }
.camera-on .hero-copy { max-width: 660px; }
.camera-on #felix { width: clamp(105px,14vw,200px); }
.camera-on #takeoff { display: block; min-height: var(--screen-height); height: var(--screen-height); }
.camera-on .finale { padding: 65px 5% 60px; justify-content: center; }
.camera-on .peak { width: min(76%,900px); height: 39svh; margin-bottom: -3svh; object-fit: contain; }
.camera-on .final-copy .countdown-to { margin: 0; font-size: clamp(22px,2.8vw,36px); }
.camera-on .finale h2.destination { font-size: clamp(62px,8vw,112px); margin: 2px 0; }
.camera-on .final-copy .destination-country { margin: 0 0 15px; }
.camera-on .numbers { gap: clamp(24px,4vw,70px); }
.camera-on .numbers b { font-size: clamp(38px,5vw,68px); letter-spacing: -2px; }
.camera-on .final-copy > p:last-child { margin-top: 22px; }
.camera-on .finale footer { width: 100%; max-width: 640px; padding: 20px 0 0; }
.camera-on .finale .organizer-logo { background: transparent; padding: 20px 0 0; }
.camera-on .organizer-logo img { width: 145px; }
.journey-hud { position: fixed; z-index: 7; bottom: 25px; right: 5%; display: flex; align-items: center; gap: 17px; color: #0b1957; font-size: 9px; letter-spacing: 1.5px; padding: 7px 8px 7px 15px; border: 1px solid #0b19571a; border-radius: 40px; background: #f8f3eae8; backdrop-filter: blur(6px); }
.journey-hud[hidden] { display: none; }
.journey-position { color: #657997; font-size: 8px; letter-spacing: 1px; }
.journey-next { border: 0; border-radius: 50%; background: #0b1957; color: #f8f3ea; width: 34px; height: 34px; font-size: 19px; }
.arrow-icon { display: inline-block; width: 1em; height: 1em; vertical-align: -.12em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.arrow-icon--up-right { transform: rotate(-45deg); }
.arrow-icon--down { transform: rotate(90deg); }
.arrow-icon--up { transform: rotate(-90deg); }
.journey-next { display: grid; place-items: center; padding: 0; }
.journey-next .arrow-icon { display: block; width: 19px; height: 19px; transition: transform .35s; }
.scroll-invitation a .arrow-icon { width: 15px; height: 15px; color: #FF5A1F; margin-left: 9px; }
#journey-menu { color: #0b1957; background: #f8f3ea; width: min(560px,92vw); padding: 55px 45px 32px; max-height: 90svh; overflow: auto; }
.close-menu { border: none; background: none; position: absolute; top: 20px; right: 25px; font-size: 10px; letter-spacing: 1px; color: inherit; }
#journey-menu nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 25px; margin: 28px 0; }
#journey-menu nav a { font-size: 13px; line-height: 1.5; text-decoration: none; border-bottom: 1px solid #5784e640; padding-bottom: 9px; }
#journey-menu nav a:hover { color: #ff5a1f; }
.motion-toggle { border: 0; background: none; border-bottom: 1px solid #ff5a1f; color: #0b1957; padding: 8px 0; font-size: 11px; }
.camera-on .scroll-note { bottom: 35px; }
body:not(.camera-on) #felix, body:not(.camera-on) .ski-trail { display: none; }
body:not(.camera-on) .finale footer { width: 100%; }
body:not(.camera-on) #takeoff { height: 15svh; }
@media (max-width:700px) {
  header { padding: 18px 6%; justify-content: flex-start; }
  header > span { margin-left: -10px; font-size: 7px; }
  header .explore-button { right: 6%; font-size: 8px; }
  .camera-on .snow-hero { padding: 95px 7% 90px; align-items: flex-start; }
  .camera-on .hero-copy { padding-top: 9svh; max-width: 86%; }
  .camera-on .hero-copy h1 { font-size: 20vw; }
  .camera-on .chapter { padding: 90px 7% 95px; }
  .camera-on .chapter-copy { width: 74%; }
  .camera-on .chapter .brief-copy { font-size: 13px; line-height: 1.8; }
  .camera-on .chapter h2 { font-size: 9vw; }
  .camera-on #felix { width: 85px; }
  .camera-on .peak { width: 110%; height: 33svh; margin-bottom: -1svh; }
  .camera-on .finale { padding: 70px 7% 85px; }
  .camera-on .finale h2.destination { font-size: 15vw; }
  .camera-on .numbers { gap: 6vw; }
  .camera-on .numbers b { font-size: 10vw; }
  .camera-on .numbers span { font-size: 7px; letter-spacing: 1px; }
  .camera-on .final-copy > p:last-child { font-size: 8px; }
  .camera-on .finale footer { font-size: 7px; justify-content: center; gap: 10px; }
  .camera-on .organizer-logo img { width: 130px; }
  .journey-hud { right: 6%; bottom: max(18px,env(safe-area-inset-bottom)); gap: 10px; font-size: 7px; }
  .journey-position { font-size: 7px; }
  .journey-next { width: 30px; height: 30px; font-size: 17px; }
  .camera-on .scroll-note { font-size: 9px; bottom: 36px; }
  .camera-on:has(#top[data-active]) .journey-hud { padding-left: 8px; }
  .camera-on:has(#top[data-active]) .journey-name, .camera-on:has(#top[data-active]) .journey-position { display: none; }
  #journey-menu { padding: 50px 25px 25px; }
  #journey-menu nav { gap: 16px; }
}
@media print {
  .camera-on .camera-viewport,.camera-on #journey { position: static; height: auto; overflow: visible; }
  .camera-on .world-station { position: relative; transform: none!important; visibility: visible!important; min-height: 0; page-break-inside: avoid; }
  #scroll-track,.journey-hud,header,#felix,.ski-trail { display: none!important; }
}
