*{box-sizing:border-box}
body{margin:0;background:#eeede4;color:#232923;font:16px/1.45 Arial,Helvetica,sans-serif}
a,button{color:inherit;font:inherit}a{text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:.2em}a:focus-visible,button:focus-visible{outline:2px solid currentColor;outline-offset:4px}
main{position:relative}.rail,.subhead{position:fixed;inset:0 0 auto;height:64px;z-index:3;display:flex;align-items:center;justify-content:flex-end;padding:0 5vw;color:white}.rail{pointer-events:none}.top{display:flex;gap:clamp(12px,2.5vw,36px);font-size:14px;pointer-events:auto}.subhead{background:#262925f5}
#start{--word-size:clamp(28px,7vw,106px);padding-top:calc(50svh - var(--word-size)/2);overflow-x:clip}
.hero-word{position:sticky;top:12px;z-index:4;width:max-content;margin:0 0 0 max(8px,calc(5vw - 19pt));font-size:var(--word-size);line-height:1;letter-spacing:-.06em;font-weight:400;color:white;mix-blend-mode:difference}
.rail{mix-blend-mode:difference;z-index:5}
.hero-word a,.home{display:flex;align-items:baseline;gap:.026em;text-decoration:none}.sig{height:.74em;width:auto}.oratory{font-size:.87em}
.etched{overflow:visible}.etched-fill{fill:currentColor;animation:ink 2s ease-in both}
.etched-line{fill:none;stroke:currentColor;stroke-width:3;stroke-dasharray:1;animation:trace 2s ease-in-out both}
.hero-word .oratory{animation:appear .65s 1.95s both}
@keyframes trace{0%{stroke-dashoffset:1;opacity:0}10%{opacity:1}80%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:0}}
@keyframes ink{0%,34%{opacity:0}75%{opacity:.25}100%{opacity:1}}
@keyframes appear{from{opacity:0}to{opacity:1}}
#tissue{position:fixed;inset:0;width:100%;height:100%;pointer-events:none}.entrance{height:calc(50svh - var(--word-size)/2)}
.intro,.projects,.index{width:min(90%,1300px);margin:auto}.intro{min-height:85svh;display:grid;align-items:center}.intro p{max-width:33ch;font-size:clamp(26px,4vw,60px);line-height:1.13;letter-spacing:-.035em}
.projects{padding:80px 0}.section-head{display:flex;align-items:center;justify-content:space-between}.section-head h2,.index h1,.project-page h1{font-size:clamp(34px,5vw,76px);letter-spacing:-.055em;font-weight:400;margin:0}.section-head button{border:1px solid #777;background:transparent;border-radius:20px;padding:5px 12px;font-size:12px;cursor:pointer}
.cell{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:6%;max-width:980px;margin:2vw auto}.orb{width:100%;aspect-ratio:1.3;display:block;cursor:grab;touch-action:pan-y}.orb:active{cursor:grabbing}.orb canvas{display:block;width:100%;height:100%}.cell:nth-child(even) .orb{grid-column:2;grid-row:1}.cell:nth-child(even) .copy{grid-column:1;grid-row:1;justify-self:end}.copy{max-width:33ch}.copy h3{font-size:clamp(21px,2.7vw,41px);letter-spacing:-.04em;line-height:1.06;font-weight:400;margin:0}.copy small{font-size:.5em}.copy p{margin:.7em 0 0;color:#43493e}
.subhead{position:sticky;justify-content:space-between}.home{font-size:26px;letter-spacing:-.06em}.index{padding:4vh 0 8vh}.index h1{margin-bottom:3vh}.index-row{isolation:isolate;overflow:hidden;position:relative;display:flex;align-items:center;justify-content:space-between;padding:0 4vw;min-height:clamp(76px,11vh,140px);border-bottom:1px solid #ddd9;color:white;background:#343831;font-size:clamp(21px,3vw,42px);letter-spacing:-.04em}.index-row{background-repeat:no-repeat;background-size:cover,auto 360%;background-position:center,78% center}.index-row:hover,.index-row:focus-visible{background-color:#4b5148}.project-page{width:min(90%,1000px);margin:8vh auto;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:5%}.project-page img{width:100%}.project-page p{max-width:34ch}.project-page a{text-decoration:underline}
@media(max-width:600px){.cell{gap:3%;margin:12vw auto}.copy p{font-size:14px}.top{font-size:13px}.project-page{display:block}.index-row{background-position:center,105% center}.section-head h2{font-size:32px}}

.section-head,.cell{--from-left:-12vw;--from-right:12vw}
.approaching h2,.approaching .orb,.approaching .copy{opacity:0;transform:translateX(var(--from-left));transition:transform .9s cubic-bezier(.19,1,.22,1),opacity .65s ease-out}
.approaching .copy,.cell:nth-child(even).approaching .orb{transform:translateX(var(--from-right))}
.cell:nth-child(even).approaching .copy{transform:translateX(var(--from-left))}
.approaching.arrived h2,.cell.arrived .orb,.cell.arrived .copy,.cell:focus-within .orb,.cell:focus-within .copy{opacity:1;transform:none}
@media(max-width:600px){#start{--word-size:clamp(24px,6.5vw,38px)}.hero-word{top:18px}}
@media(prefers-reduced-motion:reduce){.etched-fill,.hero-word .oratory{animation:none}.etched-line{display:none}.approaching h2,.cell.approaching .orb,.cell.approaching .copy{transition:none;opacity:1;transform:none}}

.worlds-home{background:#101411;color:white}
.worlds-home .rail,.worlds-home .hero-word{mix-blend-mode:normal}
.worlds-home #start{--header-edge:90px;--ring-size:min(32vw,38svh);--scene-height:max(440px,calc(100svh - var(--header-edge)));--ring-offset:0px;--ring-scale:.12;--note:0;--cue:1;--world-opacity:1}
.worlds-home .entrance{height:105svh}
.world-ring{position:fixed;z-index:1;top:calc(50svh + var(--ring-offset));left:50%;width:var(--ring-size);aspect-ratio:1;transform:translate(-50%,-50%);display:grid;place-items:center;text-align:center;pointer-events:none}
.portal-rim{position:absolute;width:calc(100% * var(--ring-scale));aspect-ratio:1;border:3px solid currentColor;border-radius:50%}
.ring-note{font-size:clamp(15px,2vw,30px);letter-spacing:-.035em;line-height:1.15;opacity:var(--note)}
.scroll-cue{position:absolute;top:calc(50% + var(--ring-scale)*50% + 10px);font-size:12px;opacity:var(--cue)}
.worlds-home .projects{position:relative;width:100%;height:var(--scene-height);padding:0}
.worlds-title{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);font-size:clamp(15px,2.15vw,32px);font-weight:400;letter-spacing:-.04em;margin:0;white-space:nowrap}
.worlds-home .cell{position:absolute;display:flex;flex-direction:column;gap:0;width:min(25vw,29svh);margin:0;transform:translate(-50%,-50%) translate(var(--fly-x,0px),var(--fly-y,0px)) scale(var(--fly-scale,1));text-align:center;top:var(--y);left:var(--x)}
.worlds-home #grid{position:absolute;inset:0 0 var(--footer-space)}
.worlds-home .orb{aspect-ratio:1.65}
.worlds-home .copy h3{font-size:clamp(12px,1.25vw,18px);text-wrap:balance}
.worlds-home .cell:nth-child(1){--x:30%;--y:18%}
.worlds-home .cell:nth-child(2){--x:70%;--y:18%}
.worlds-home .cell:nth-child(3){--x:79%;--y:50%}
.worlds-home .cell:nth-child(4){--x:70%;--y:82%}
.worlds-home .cell:nth-child(5){--x:30%;--y:82%}
.worlds-home .cell:nth-child(6){--x:21%;--y:50%}
@media(max-width:600px){.worlds-home .cell:nth-child(3){--x:84%}.worlds-home .cell:nth-child(6){--x:16%}}
@media(max-height:540px){.worlds-home #start{--scene-height:calc(100svh - var(--header-edge));--ring-size:min(27vw,32svh)}}

.ring-aperture{position:absolute;inset:0;display:grid;place-items:center;clip-path:circle(calc(50% * var(--ring-scale) - 3px) at center)}
.ring-aperture>*{grid-area:1/1;width:100%;height:100%;display:grid;align-content:center;margin:0}
.ring-aperture .ring-note{display:block;align-content:center;transform:translateY(var(--note-travel,55%))}
.ring-aperture .worlds-title{position:static;transform:translateY(var(--title-travel,55%));opacity:var(--title-alpha,0)}

body.worlds-home{background:#000}
.worlds-home .copy{display:none}
.portal{position:absolute;inset:0;overflow:hidden;border-radius:50%;pointer-events:auto;color:white;background:#000;z-index:1;text-decoration:none}
.portal[hidden],.portal video[hidden]{display:none}
.portal canvas,.portal video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.portal span{position:absolute;inset:0;display:grid;place-content:center;padding:12%;background:rgba(0,0,0,.38);font-size:clamp(15px,2.15vw,32px);line-height:1.1;letter-spacing:-.04em;text-wrap:balance}
.world-ring.previewing{z-index:2}
.previewing .worlds-title{visibility:hidden}

.worlds-home #start{--footer-space:clamp(28px,6svh,64px)}
.worlds-home .orb,.portal canvas,.portal::before{filter:grayscale(1)}
.portal::before{content:"";position:absolute;inset:0;background:var(--poster) center/cover no-repeat}
.portal.recorded-gesture canvas{filter:none}
.portal-rim{box-shadow:0 0 5px #ffffff50,0 0 18px #ffffff24,inset 0 0 8px #ffffff20}
/* The rotating layer keeps its light on the rim as the ring expands. */
.portal-rim::after{
  content:"";
  position:absolute;
  inset:-3px;
  border-radius:50%;
  background:radial-gradient(ellipse 14px 9px at 50% 1.5px,#fff 0 13%,#ffffffa0 24%,#ffffff38 50%,transparent 100%);
  filter:drop-shadow(0 0 4px #ffffffa8);
  animation:rim-orbit 8s linear infinite;
  pointer-events:none;
}
@keyframes rim-orbit{to{transform:rotate(1turn)}}
@media(prefers-reduced-motion:reduce){.portal-rim::after{animation:none}}

 .project-caption{position:absolute;left:var(--caption-x,50vw);top:var(--caption-y,50%);transform:translate(-50%,-50%);width:max-content;max-width:32vw;text-align:center;font:400 clamp(12px,1.5vw,22px)/1.12 Arial,Helvetica,sans-serif;letter-spacing:-.025em;color:white}
.ring-aperture .ring-note{display:flex;align-items:center;justify-content:center;gap:.32em}
.ring-note img{height:.76em;width:auto}
.ring-aperture .worlds-title{text-shadow:0 0 12px #ffffff96;transition:opacity .62s ease}
.explored .worlds-title{opacity:0}
@media(max-width:600px){.project-caption{max-width:23vw;font-size:11px}}
