*{box-sizing:border-box}html,body{scrollbar-width:none;background:#eddabd;margin:0}html::-webkit-scrollbar{display:none}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.journey{--travel:0;--dusk:0;height:390svh}.world{isolation:isolate;background:linear-gradient(145deg,#e3ba91 0%,#f1d9b8 42%,#ffedcd 76%);width:100%;height:100dvh;position:sticky;inset-block-start:0;overflow:hidden}.world>*{pointer-events:none;position:absolute}.sky-night,.twilight,.stars,.paper-fibre{inset:0}.sky-night{opacity:var(--dusk);background:linear-gradient(159deg,#34465e,#72849b 56%,#ebb49a)}.paper-fibre{opacity:.15;mix-blend-mode:multiply;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='125' height='125'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%238c7151' filter='url(%23n)' d='M0 0h125v125H0z'/%3E%3C/svg%3E")}.stars{opacity:var(--dusk);background-image:radial-gradient(circle at 9% 12%,#fff8d3 1.5px,#0000 2.5px),radial-gradient(circle at 66% 25%,#fff8d3 1px,#0000 2px),radial-gradient(circle at 35% 76%,#fff8d3 2px,#0000 3px);background-size:233px 193px,319px 201px,475px 311px}.sun,.moon{aspect-ratio:1;width:clamp(80px,12vw,200px);transform:translate(calc(var(--travel)*15vw),calc(var(--travel)*51vh));background:linear-gradient(120deg,#f7c164,#e6a146);border-radius:49% 51% 50% 48%;top:8%;left:67%;box-shadow:inset 1px 1px 1px #ffe4a5,2px 3px #c28b4b,7px 9px 9px #6744263d}.moon{width:clamp(54px,7vw,130px);opacity:var(--dusk);transform:translateY(calc((1 - var(--dusk))*24vh));background:#f5eace;top:10%;left:19%;box-shadow:2px 3px #caba94,5px 7px 8px #252a3c40}.cloud{filter:drop-shadow(3px 6px 2px #6a493740);width:clamp(90px,14vw,250px);height:clamp(25px,4.8vw,74px);transform:translateX(calc(var(--travel)*var(--drift)))}.cloud i,.steam i{background:linear-gradient(123deg,#fff4dd 43%,#e1cfaa 43.5%,#f7ecda 67%);width:100%;height:100%;display:block;-webkit-mask:radial-gradient(23% 80% at 36% 100%,#000 98%,#0000),radial-gradient(21% 100% at 57% 100%,#000 98%,#0000),radial-gradient(17% 56% at 78% 100%,#000 98%,#0000),radial-gradient(15% 39% at 17% 100%,#000 98%,#0000);mask:radial-gradient(23% 80% at 36% 100%,#000 98%,#0000),radial-gradient(21% 100% at 57% 100%,#000 98%,#0000),radial-gradient(17% 56% at 78% 100%,#000 98%,#0000),radial-gradient(15% 39% at 17% 100%,#000 98%,#0000)}.cloud-a{--drift:-22vw;top:16%;left:7%}.cloud-b{--drift:15vw;width:17vw;top:20%;right:2%}.cloud-c{--drift:-12vw;width:8vw;height:2.6vw;top:5%;left:42%}.peaks{transform-origin:45% 62%;width:106%;height:92%;transform:scale(calc(1 + var(--travel)*.21)) translateY(calc(var(--travel)*2%));filter:drop-shadow(4px 5px 3px #5c554832);bottom:-2%;left:-3%}.crossing{width:100%;height:38%;transform:translateY(calc(var(--travel)*98%));top:69%;left:0}.viaduct{width:112%;height:100%;transform:translateX(calc(var(--travel)*-4%));margin-left:-6%;display:block}.rolling{width:51%;transform:translateX(calc(var(--travel)*-210%));filter:drop-shadow(2px 3px 2px #3c352c55);position:absolute;bottom:99.5%;left:29%}.rolling img{width:100%;display:block}.steam{width:20%;height:55%;transform:skewX(calc(var(--travel)*-15deg));position:absolute;bottom:94%;left:4%}.steam i{background:#f4ebd5;border-radius:50%;width:15%;height:22%;position:absolute;transform:rotate(-24deg);box-shadow:1px 2px 1px #64523838;-webkit-mask:none;mask:none}.steam i:first-child{bottom:0;left:0}.steam i:nth-child(2){width:22%;height:30%;bottom:23%;left:13%}.steam i:nth-child(3){width:29%;height:37%;bottom:42%;left:34%}.steam i:nth-child(4){width:36%;height:42%;bottom:58%;left:63%}.woods{width:106%;height:55%;transform:translateY(calc(var(--travel)*62%)) scale(calc(1 + var(--travel)*.65));transform-origin:bottom;filter:drop-shadow(3px 5px 2px #252c2545);bottom:-2%;left:-3%}.twilight{mix-blend-mode:multiply;opacity:var(--dusk);background:linear-gradient(#453f6233,#334c7999)}@media (max-aspect-ratio:4/5){.peaks{width:158%;height:82%;left:-25%}.sun{top:12%;left:62%}.cloud-a{top:21%}.cloud-c{width:17vw;height:6vw;top:8%}.cloud-b{width:23vw;top:29%}.rolling{width:94%;left:10%}.viaduct{width:180%;margin-left:-40%}.woods{width:136%;height:43%;left:-18%}.crossing{height:35%;top:70%}}@media (prefers-reduced-motion:reduce){.world .peaks,.world .rolling,.world .woods,.world .cloud,.world .crossing,.world .viaduct,.world .sun,.world .moon,.world .steam{transform:none}.journey{height:200svh}}
