@font-face{font-family:BarlowPoster;src:url(media/type/barlow-condensed-black.ttf) format("truetype");font-weight:900;font-display:swap}
@font-face{font-family:Archivo;src:url(media/type/archivo-400.woff2) format("woff2");font-weight:100 900;font-display:swap}
:root{--paper:#f5eeff;--deep:#16112f;--pink:#bcadff;--pad:clamp(24px,5vw,104px);font-family:Archivo,Arial,sans-serif;font-synthesis:none;background:#16112f;color:var(--paper)}
*{box-sizing:border-box}body,h1,h2,p,figure{margin:0}button,a{font:inherit;color:inherit}button{border:0;padding:0;background:transparent;cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid currentColor;outline-offset:5px}button{touch-action:manipulation}button:disabled{cursor:default}[hidden]{display:none!important}.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.skip:focus{position:fixed;z-index:30;left:15px;top:15px;background:white;color:black;padding:12px}
html{scrollbar-width:none;overflow-anchor:none}html::-webkit-scrollbar{display:none}.journey{position:relative;height:calc(100svh + 1680px);overflow-anchor:none}.pin{--x:0;--y:0;--p:0;--film:0;--paper:0;--start:1;--engage:0;--edge:0;--ink:#faf3ff;--accent:#ceb5ff;--floor:#17132e;--wash:#55429d;position:fixed;top:0;left:0;right:0;height:100svh;min-height:0;isolation:isolate;overflow:clip;background:#17132e;color:var(--ink)}
.atmosphere,.chapter-world,.contours{position:absolute;inset:0;overflow:hidden;pointer-events:none}
/* Fixed colour fields are rasterised once; chapter progress changes their compositor opacity. */
.atmosphere,.atmosphere::before,.atmosphere::after{background:radial-gradient(ellipse at 78% 40%,var(--field-light),transparent 64%),linear-gradient(118deg,transparent 40%,var(--field-edge,transparent) 108%),var(--field-base)}
.atmosphere {
  --field-base:#d3eaed;
  background:
    radial-gradient(ellipse 88% 74% at 94% -32%,transparent 65%,#edfefe86 72%,transparent 83%),
    radial-gradient(ellipse 52% 80% at 82% 51%,#43889c 0%,#82c0ca 45%,transparent 86%),
    linear-gradient(135deg,#edf7f4 4%,#d3eaed 40%,#b4d8df 70%,#9fcdd5);
}
.atmosphere::before,.atmosphere::after{content:"";position:absolute;inset:0;will-change:opacity}
.atmosphere::before{--field-base:#0a1633;--field-light:#17568e;--field-edge:#433278;opacity:var(--middle-mix,0)}
.atmosphere::after{--field-base:#a7d9ac;--field-light:#e9f0bb;--field-edge:#b3dfc8;opacity:var(--last-mix,0)}
.chapter-world{opacity:0}.world-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 38%;filter:saturate(.62);opacity:.28}.scan{position:absolute;inset:0;background:linear-gradient(90deg,#081630f2 12%,#132e5db5 44%,#16235460 100%),linear-gradient(0deg,#08152be0 0%,transparent 45%)}#film-world{opacity:var(--film)}#paper-world{opacity:var(--paper)}.paper-texture{position:absolute;inset:0;background:radial-gradient(ellipse at 75% 40%,#f6e7aa77,transparent 68%);opacity:.45}.contours{left:36%;right:-9%;top:-20%;bottom:-15%;opacity:calc(.45 * var(--start));transform:translate(calc(var(--x)*-8px),calc(var(--y)*-6px)) rotate(-23deg)}.contours i{position:absolute;inset:13% 5%;border:1px solid #d4c1ff39;border-radius:50%;transform:rotate(34deg) scaleX(.63)}.contours i:nth-child(2){inset:7% 1%}.contours i:nth-child(3){inset:0 -4%}
.chapter-world{will-change:opacity}.film-object,.paper-object{will-change:transform,opacity}.mast{position:absolute;z-index:9;left:var(--pad);right:var(--pad);top:0;height:clamp(66px,10svh,106px);display:flex;justify-content:space-between;align-items:center}.identity,.mast nav,.menu-link,.advance,.object-label,.work-open{display:inline-flex;align-items:center}.identity{gap:12px;font-weight:680;font-size:18px;letter-spacing:-.05em}.sign{display:flex;align-items:center;gap:2px;transform:skewX(-17deg);width:32px;height:24px}.sign i{display:block;width:5px;height:18px;background:currentColor}.sign i:nth-child(2){height:11px;align-self:flex-end}.sign i:nth-child(3){height:23px}.sign i:nth-child(4){margin-left:2px;height:23px}.mast nav{gap:clamp(17px,3vw,52px)}.menu-link{min-height:44px;gap:8px;position:relative;font-size:14px;font-weight:600}.menu-link:after,.work-open:after{content:"";position:absolute;left:0;right:0;bottom:7px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .22s}.menu-link:hover:after,.work-open:hover:after{transform:scaleX(1)}
.folio{position:absolute;z-index:3;pointer-events:none;left:var(--pad);right:48%;top:14%;bottom:16%;display:grid;align-items:center}.story{position:absolute;left:0;width:100%;top:50%;transform:translateY(-50%);visibility:hidden;opacity:0;pointer-events:none}.story.active{visibility:visible;opacity:1}.story.active button{pointer-events:auto}.poster{font-family:BarlowPoster,"Arial Black",sans-serif;font-weight:900;font-size:clamp(96px,min(16.6vw,24.4svh),320px);line-height:.76;letter-spacing:-.043em;text-transform:uppercase}.line{display:block;overflow:visible;transform-origin:0 70%}.line>span{display:inline-block;transform:scaleX(1.14);transform-origin:left}.second{padding-left:.20em}.poster .line:nth-child(2){margin-top:.045em}.deck{max-width:33ch;font-size:clamp(15px,1.28vw,23px);line-height:1.45;letter-spacing:-.024em;margin:clamp(20px,3.1vh,40px) 0 0;overflow-wrap:break-word}.medium{font-size:13px;font-weight:650;margin:0 0 17px;line-height:1.35;letter-spacing:.018em}.work-open{position:relative;gap:15px;padding:11px 0 8px;border-bottom:1px solid currentColor;margin-top:12px;font-weight:640;font-size:15px}.work-open:after{bottom:0}.work-open span{font-size:12px}.print-type{font-size:clamp(70px,min(10.5vw,18svh),210px);letter-spacing:-.047em}.print-type .line>span{transform:scaleX(1.03)}.print-type .second{padding-left:.32em}.print-type .second>span{font-size:1.31em}
.objects{position:absolute;z-index:2;left:39%;right:1%;top:10%;bottom:13%;isolation:isolate;perspective:1100px}.sculpt{position:absolute;inset:-3% -5% -3% -4%;opacity:clamp(0,var(--start)*1.24,1);transform:translate(calc(var(--p)*-42%),calc(var(--p)*4%)) rotate(calc(var(--p)*-27deg)) scale(calc(1 + var(--p)*.18));pointer-events:none}.sculpt-light{position:absolute;inset:36% 10% 13%;border-radius:50%;background:radial-gradient(ellipse,#c68cfa38,transparent 68%);filter:blur(19px);transform:rotate(-24deg)}#kinetic{position:absolute;inset:0;display:block;width:100%;height:100%}.visual{position:absolute;pointer-events:none}.object-hit{position:absolute;inset:4% 8% 8% 10%;z-index:6;border-radius:45%;cursor:crosshair}.object-label{position:absolute;z-index:7;right:1.5%;bottom:0;gap:10px;pointer-events:none;font-size:12px;font-weight:570}.object-label i{width:26px;height:1px;background:currentColor}
.film-object{opacity:var(--film);height:91%;aspect-ratio:9/16;left:50%;top:50%;transform:translate(calc(-50% + (1 - var(--film))*21%), -50%) rotate(calc(-7deg + var(--x)*4deg + (1 - var(--film))*18deg)) scale(calc(.74 + var(--film)*.26));}.film-photo{position:relative;z-index:1;width:100%;height:100%;object-fit:cover;display:block;border-radius:2px}.film-ghost{position:absolute;inset:0;background:var(--accent);transform:rotate(5deg) translate(9%,-1%);mix-blend-mode:screen;opacity:.65}.film-object:after{content:"";position:absolute;inset:0;box-shadow:inset 0 0 0 1px #ffe2c54d;pointer-events:none}
.paper-object{opacity:var(--paper);height:81%;aspect-ratio:17/22;top:50%;left:52%;transform-style:preserve-3d;transform:translate(-50%, -50%) rotateZ(calc(-8deg + var(--x)*2.5deg + (1 - var(--paper))*19deg)) rotateY(calc(-8deg + var(--x)*3deg)) scale(calc(.77 + var(--paper)*.23));box-shadow:16px 18px 30px #22360b36}.book-edge,.page-inside,.book-cover,.book-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.book-edge{background:repeating-linear-gradient(90deg,#d6cfb4 0 1px,#f4efdf 1px 3px);transform:translate(6px,1px);border-radius:0 3px 3px 0}.page-inside{object-fit:contain;background:#f8f5ec}.book-cover{transform-origin:left center;transform:perspective(900px) rotateY(calc(-1deg - var(--engage)*64deg));box-shadow:4px 0 9px #232e1720;backface-visibility:hidden}.book-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,#222b1811);opacity:var(--engage)}
.transport{position:absolute;z-index:9;left:var(--pad);right:var(--pad);bottom:0;display:flex;justify-content:space-between;align-items:center;gap:30px;height:clamp(64px,11svh,104px);border-top:1px solid color-mix(in srgb,currentColor 33%,transparent)}#chapters{display:flex;align-items:center;gap:clamp(18px,2.6vw,54px)}.chapter{font-size:14px;display:flex;align-items:center;gap:8px;min-height:44px;white-space:nowrap}.marker{width:7px;height:7px;border:1px solid currentColor;transform:rotate(-45deg);transition:background .2s,transform .2s}.chapter.current .marker{background:var(--accent);border-color:var(--accent);transform:rotate(45deg) scale(1.25)}.chapter:hover span:last-child{text-decoration:underline;text-underline-offset:4px}.advance{gap:15px;font-size:13px;font-weight:620;min-height:44px}.advance b{display:grid;place-items:center;width:38px;height:38px;border:1px solid color-mix(in srgb,currentColor 50%,transparent);border-radius:50%;font-size:18px;font-weight:400;transition:transform .25s}.advance:hover b{transform:rotate(-40deg)}.progress-track{position:absolute;top:-1px;left:0;width:100%;height:2px;background:var(--accent);transform-origin:0 50%;transform:scaleX(calc(var(--p)/2));pointer-events:none}

body:has(dialog[open]){overflow:hidden}
@media(min-aspect-ratio:2/1){.poster{font-size:min(16vw,24svh)}.deck{margin-top:18px}.objects{top:8%;bottom:13%}}
@media(max-width:740px){:root{--pad:clamp(19px,5.5vw,33px)}.mast{height:60px}.identity{font-size:15px;gap:6px}.sign{transform:scale(.83) skewX(-17deg);transform-origin:left center;width:27px}.mast nav{gap:15px}.menu-link{font-size:12px;gap:3px}.folio{left:var(--pad);right:var(--pad);top:12%;bottom:auto;height:34%;z-index:4;align-items:start}.story{top:0;transform:none}.poster{font-size:clamp(72px,min(24vw,13.7svh),135px);line-height:.80}.poster .line{display:inline-block;vertical-align:top}.poster .line>span{transform:scaleX(.99)}.poster .second{padding-left:.1em}.poster .line:nth-child(2){margin-top:0}.deck{max-width:31ch;font-size:clamp(14px,3.9vw,17px);line-height:1.35;margin-top:11px}.medium{font-size:11px;margin-bottom:7px}.work-open{margin-top:4px;font-size:13px;min-height:37px;padding:7px 0}.print-type{font-size:clamp(44px,min(12.5vw,8svh),85px);letter-spacing:-.035em}.print-type .line>span{transform:none}.print-type .second{padding-left:.10em}.print-type .second>span{font-size:1em}.objects{left:-4%;right:-4%;top:36%;bottom:13.5%}.sculpt{inset:-2% -4% -2% -4%}.object-label{bottom:0;right:10%;font-size:10px}.object-label i{width:18px}.transport{height:11%;min-height:58px;gap:10px}.chapter{font-size:12px;gap:5px}#chapters{gap:clamp(8px,3.5vw,25px)}.marker{width:5px;height:5px}.advance{gap:0}.advance span{display:none}.advance b{width:32px;height:32px}.contours{left:-24%;top:25%;right:-32%;bottom:8%}.film-object{height:93%}.paper-object{height:83%}}
@media(max-height:650px) and (min-width:741px){.deck{font-size:14px;margin-top:15px}.folio{top:17%;bottom:17%}.medium{margin-bottom:8px}.work-open{margin-top:3px}.obj-label{bottom:-5px}}
@media(max-height:660px) and (max-width:740px){.objects{top:41%;bottom:13%}.folio{top:13%}.deck{font-size:13px}.poster{font-size:clamp(65px,10svh,80px)}.print-type{font-size:clamp(39px,7svh,50px)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
.target{position:absolute;z-index:8;width:36px;height:36px;pointer-events:none;opacity:0;transform:translate(-50%,-50%) scale(.65);transition:transform .2s,opacity .2s;border:1px solid currentColor;border-radius:100%;color:var(--ink)}.target i{position:absolute;top:50%;left:50%;width:8px;height:1px;background:currentColor;transform:translate(-50%,-50%)}.target i+i{transform:translate(-50%,-50%) rotate(90deg)}@media(hover:hover) and (pointer:fine){.engaged .target{opacity:.85;transform:translate(-50%,-50%) scale(1)}.object-hit:hover{cursor:none}}.folio{pointer-events:none}.story.active .work-open{pointer-events:auto}

.sculpt-poster{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}.sculpt:has(canvas[data-painted="true"]) .sculpt-poster{visibility:hidden}


/* The short landscape composition gives copy and art separate columns. */
@media (orientation: landscape) and (max-height: 520px) {
  #stage .mast {height: 46px}
  #stage .transport {height: 44px; min-height: 0}
  #stage .folio {left: var(--pad); right: 47%; top: 51px; bottom: 49px; height: auto}
  #stage .story {top: 50%; translate: 0 -50%}
  #stage .poster {font-size: clamp(40px,min(9vw,17svh),84px)}
  #stage .print-type {font-size: clamp(28px,min(7vw,13svh),68px)}
  #stage .poster .line {display: inline-block}
  #stage .poster .line:nth-child(2) {padding-left:.08em; margin:0}
  #stage .poster .line>span {transform:none; font-size:1em}
  #stage .objects {left:54%;right:3%;top:12%;bottom:16%}
  #stage .deck {font-size:clamp(12px,2.8svh,15px);line-height:1.26;margin-top:8px}
  #stage .medium {margin-bottom:5px}
  #stage .story .work-open {margin-top:6px; min-height:34px}
  #stage .object-label {bottom:-5%;right:0}
}
@media (orientation: landscape) and (min-width:741px) and (max-height:520px) {
  #stage .story {translate:none}
}
@media (max-width:380px) {
  #stage .mast nav {gap:10px}
  #stage .mast .identity {gap:3px}
  #stage .transport {gap:4px}
  #stage #chapters {gap:9px}
  #stage .object-label {right:8%}
}
@media (max-width:480px) and (max-height:580px) and (orientation:portrait) {
  #stage .mast {height:48px}
  #stage .folio {top:52px}
  #stage .poster {font-size:clamp(52px,12svh,68px)}
  #stage .print-type {font-size:clamp(34px,8.5svh,48px)}
  #stage .objects {top:49%;bottom:12%}
  #stage .object-label {bottom:-3%}
  #stage .transport {height:48px;min-height:0}
}
#stage .story .work-open[data-work=film] {background:linear-gradient(98deg,#97dcfc,#d5eaff); color:#112346}
#stage .story .work-open[data-work=paper],#stage .leaf-key i {background:#174e44;color:#fff2c7}
footer.end-credit {background:#131329;color:#f4eeff}
footer.end-credit #particle-footer-field {background:radial-gradient(ellipse at 70% 0%,#523b80 0%,transparent 66%)}
footer.end-credit .credit-name em,footer.end-credit .credit-inner button b {color:#c5adff}
@media (max-width:360px) {footer.end-credit .credit-name h2 {font-size:clamp(50px,18vw,64px)}}

@media (max-width:740px) and (orientation:portrait) {
  #stage .objects {left:3%;right:3%}
  #stage .sculpt {inset:0}
}

/* Start on the fully painted glacier while the live material is loading. */
#stage {--ink:#102e42;--floor:#d3eaed;--accent:#125f74;color:var(--ink);background:#d3eaed}
#stage [data-story="0"] .deck {color:#1f4453}
#stage .contours i {border-color:#e9ffff8a}
#stage .sculpt-light {background:radial-gradient(ellipse,#b8f5f77a,transparent 69%)}
#stage .sculpt-poster,#stage .sculpt #kinetic {filter:grayscale(1) sepia(.72) saturate(1.75) hue-rotate(146deg)}
.has-three #stage:has(> #kinetic:not([data-painted="true"])) #sculpt .sculpt-poster {visibility:visible}
#stage[data-chapter="0"] .sdf-aurora-light {--aurora-a:#b2ffff;--aurora-b:#63d0e4;--aurora-c:#4c97c4;--aurora-d:#b5f8f6}
@media (max-width:740px) and (orientation:portrait) {
  #stage .atmosphere {
    background:
      radial-gradient(ellipse 96% 49% at 66% 61%,#5b9daf 0%,#94cbd3 51%,transparent 95%),
      linear-gradient(154deg,#edf7f4 0%,#d0e9eb 46%,#b4d8df);
  }
}
