/* File: unfold.css | Purpose: Stable controls and typography around one transforming spatial object. */
:root{color-scheme:light;--paper:#e9ebe4;--ink:#192225;--muted:#657174;--accent:#397d75}
*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden}body{background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:6px}button:disabled{cursor:wait;opacity:.55}[hidden]{display:none!important}
#experience{position:relative;width:100%;height:100%;isolation:isolate;overflow:hidden}#world{position:absolute;inset:0;width:100%;height:100%;z-index:-3}.grain{position:absolute;inset:0;pointer-events:none;z-index:8;opacity:.025;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E")}.ambient-word{position:absolute;left:41%;top:12%;font-size:clamp(160px,24vw,650px);letter-spacing:-.08em;font-weight:700;line-height:1;color:#22312c;opacity:.034;pointer-events:none;z-index:-2;transition:opacity 1s,transform 1.4s}body[data-phase='open'] .ambient-word,body[data-phase='opening'] .ambient-word{opacity:.016;transform:translateY(-12%)}
main::before{content:'';position:absolute;inset:100px auto 130px 0;width:40vw;background:linear-gradient(90deg,#e9ebe4f0 70%,transparent);z-index:1;pointer-events:none}
header{position:absolute;top:0;left:0;right:0;height:100px;display:flex;align-items:center;justify-content:space-between;padding:0 4.5vw;border-bottom:1px solid #23312b14;z-index:10}.brand{font-size:22px;font-weight:700;letter-spacing:.17em;display:flex;align-items:center;gap:14px}.brand span{font-size:34px;color:var(--accent);font-weight:400}header>p{font-size:10px;letter-spacing:.19em;display:flex;align-items:center;gap:15px;margin-left:auto;margin-right:8vw}header i{height:3px;width:3px;background:var(--accent);border-radius:50%}nav{display:flex;align-items:center;gap:24px;font-size:12px}nav button{border:0;background:transparent;padding:10px 0;color:var(--accent)}
main{height:100%;pointer-events:none}#intro,#project-copy{position:absolute;left:6.2vw;top:27%;width:36vw;z-index:3;pointer-events:auto}#intro{transition:opacity .45s,transform .9s}body[data-phase='opening'] #intro,body[data-phase='open'] #intro{opacity:0;transform:translateX(-30px);pointer-events:none}.eyebrow{font-size:10px;letter-spacing:.19em;color:var(--accent);line-height:1.7;margin:0 0 30px}h1,h2{font-size:clamp(46px,4.4vw,140px);line-height:1.04;letter-spacing:-.055em;font-weight:500;margin:0}h1 em{font-style:normal;color:var(--accent)}.description{font-size:clamp(13px,.92vw,24px);line-height:1.7;color:var(--muted);margin:27px 0}.open-button{display:flex;align-items:center;justify-content:space-between;gap:60px;background:var(--ink);border:0;color:var(--paper);padding:20px 23px;font-size:13px;min-width:265px;transition:background .2s,transform .2s}.open-button:hover{background:var(--accent);transform:translateY(-2px)}.open-button b{font-weight:400;font-size:23px}.micro{margin-top:16px;font-size:9px;letter-spacing:.17em;color:var(--muted)}
#project-copy{top:30%;width:27vw;animation:copy-in .8s both}h2{font-size:clamp(42px,4.15vw,132px)}#project-copy .eyebrow{margin-bottom:20px}.project-notes{padding-top:21px;margin-top:28px;border-top:1px solid #24343030;font-size:11px;letter-spacing:.04em;color:var(--ink)}.project-notes p{font-size:11px;line-height:1.7;color:var(--muted);letter-spacing:0;margin-top:18px}.text-button{padding:14px 0;background:none;border:0;font-size:12px;color:var(--accent);display:flex;gap:40px;align-items:center}.text-button span{font-size:22px}#project-details{max-width:300px;color:var(--muted);font-size:12px;line-height:1.65}#project-details p{margin:6px 0}body[data-phase='closing'] #project-copy{opacity:0;pointer-events:none}body[data-phase='closing'] #intro{transition-delay:.2s}.object-caption{position:absolute;left:48%;right:6%;bottom:23%;display:flex;justify-content:space-between;font-size:9px;letter-spacing:.16em;color:var(--muted);pointer-events:none;transition:opacity .5s}body[data-phase='opening'] .object-caption,body[data-phase='open'] .object-caption{opacity:0}
footer{position:absolute;bottom:0;left:0;right:0;padding:23px 4.5vw 28px;min-height:132px;border-top:1px solid #23312b14;background:linear-gradient(0deg,var(--paper) 80%,transparent);display:flex;align-items:center;gap:4vw;z-index:10}.footer-caption{width:19vw;flex-shrink:0}.footer-caption>span{font-size:9px;letter-spacing:.12em;color:var(--muted)}.footer-caption p{font-size:12px;margin:10px 0 0;color:var(--accent)}.world-selector{display:flex;gap:2px;flex:1;max-width:830px}.world-selector button{flex:1;text-align:left;display:flex;gap:13px;align-items:center;white-space:nowrap;background:transparent;border:1px solid #25322e28;padding:19px 20px;color:var(--muted);font-size:13px;transition:color .25s,border-color .25s,background .25s}.world-selector button small{font-size:9px;opacity:.5;align-self:flex-start}.world-selector button span{margin-left:auto;color:var(--accent)}.world-selector button:hover,.world-selector button[aria-pressed='true']{background:#ffffff65;color:var(--ink);border-color:#25322e65}.journey{margin-left:auto;display:flex;gap:10px;align-items:center;font-size:8px;letter-spacing:.12em;color:var(--muted)}.journey i{width:65px;height:1px;background:#26352e25;position:relative}.journey b{position:absolute;inset:0;background:var(--accent);transform:scaleX(0);transform-origin:left}
#fallback{padding:10vh 8vw}#fallback h1{margin-top:20vh;font-size:clamp(34px,5vw,70px)}#fallback p{line-height:1.7;margin:25px 0}#fallback>a:last-child{text-decoration:underline}noscript{position:fixed;bottom:0;padding:20px;z-index:20;background:var(--paper)}
@keyframes copy-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1300px){header{height:80px}.eyebrow{font-size:8px;letter-spacing:.12em}#intro{top:24%}#project-copy{top:25%}.description{margin:20px 0}.journey{display:none}.world-selector button{padding:16px 14px;font-size:11px}.open-button{min-width:240px;padding:16px 20px}.object-caption{font-size:7px;bottom:24%}footer{min-height:110px}.project-notes{margin-top:20px;padding-top:15px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
