:root{color-scheme:dark;--ink:#030303;--bone:#e3dbce;--muted:#878178;--red:#a93532}
*{box-sizing:border-box}html{scroll-behavior:smooth;background:var(--ink)}body{margin:0;color:var(--bone);font-family:'Avenir Next','Helvetica Neue',Arial,sans-serif;font-size:12px;background:var(--ink)}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit;border:0;background:none}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:1px solid var(--red);outline-offset:7px}button:hover,a:hover{color:#fff}button span{color:var(--red)}[hidden]{display:none!important}
#creature,#hdr-creature{position:fixed;inset:0;width:100%;height:100%;display:block;pointer-events:none}header,footer{position:fixed;z-index:4;left:3.5%;right:3.5%;display:flex;justify-content:space-between;align-items:center}header{top:32px}.wordmark{font-size:14px;letter-spacing:.42em;font-weight:400}.header-right{display:flex;align-items:center;gap:36px}.study-label,.about-link{font-size:9px;letter-spacing:.19em}.study-label{color:var(--muted)}.about-link{padding:8px 0}.about-link span{margin-left:10px}
.opening{height:100svh;position:relative}.title-block{position:fixed;left:70%;top:26%;width:28%;z-index:2;will-change:opacity,transform}.eyebrow{font-size:8px;font-weight:400;letter-spacing:.22em;display:flex;align-items:center;gap:9px;margin:0 0 26px;color:var(--muted)}.status-dot,.live-mark{display:inline-block;width:3px;height:3px;background:var(--red);border-radius:50%}.status-dot{box-shadow:0 0 9px #a9353240}h1{font-family:'Avenir Next Condensed','Arial Narrow',sans-serif;font-weight:200;font-stretch:condensed;font-size:clamp(76px,9.2vw,160px);letter-spacing:.035em;line-height:.91;margin:0 0 37px;color:#e9e0d2}h1 span{display:block}.invitation{font-size:9px;letter-spacing:.27em;color:#aaa;margin-bottom:36px}.scroll-link{font-size:8px;letter-spacing:.2em;display:flex;align-items:center;gap:25px}.scroll-link span{font-size:23px;color:var(--red);font-weight:200}.progress-rail{position:fixed;right:3.6%;height:70px;width:1px;background:#ffffff13;top:74%}.progress-rail i{position:absolute;top:0;left:0;width:1px;height:10%;background:var(--red)}.unravel{height:120svh;position:relative;pointer-events:none}.unravel p{position:absolute;right:7%;top:55%;font-size:11px;letter-spacing:.34em;color:#989b94}
footer{bottom:24px;font-size:8px;letter-spacing:.2em}.footer-left,.footer-actions{display:flex;align-items:center;gap:17px}.footer-left{color:#777d76}.footer-divider{color:#343a34}.footer-actions{gap:27px}footer button{font-size:8px;letter-spacing:.17em;padding:12px 0}.live-mark{background:#8d9f8b}.paused .live-mark{background:var(--red)}
#controls,#about{position:fixed;z-index:6;right:3.5%;width:330px;background:#070909f2;border:1px solid #262c27;padding:24px;box-shadow:0 10px 80px #0008;backdrop-filter:blur(16px)}#controls{bottom:78px}.control-heading{display:flex;justify-content:space-between;font-size:8px;letter-spacing:.17em;color:#aaa;margin-bottom:24px}.control-heading button{font-size:8px;color:var(--muted)}.pose-buttons{display:flex;border-bottom:1px solid #2b302a;margin-bottom:24px;gap:5px}.pose-buttons button{font-size:10px;letter-spacing:.12em;padding:10px 8px;border-bottom:1px solid transparent;color:#7e847d}.pose-buttons button.selected{color:#e2e6db;border-bottom-color:var(--red)}label{display:flex;justify-content:space-between;font-size:8px;letter-spacing:.16em;margin:19px 0 10px;color:#9b9f97}label span{color:#e0e2dc}input[type=range]{width:100%;height:2px;accent-color:#a3443e;cursor:pointer;display:block;margin:13px 0 22px}#controls p{font-size:10px;color:#71786f;line-height:1.8;letter-spacing:.02em;margin:25px 0 0}#about{top:80px}#about h2{font-weight:400;font-size:17px;letter-spacing:.01em;margin:0 0 20px}#about p{font-size:11px;line-height:1.9;color:#a2a89e}#about .aside-note{font-size:9px;letter-spacing:.08em;color:#737b70;margin-top:22px}
#error{position:fixed;inset:30% 15%;padding:30px;background:#101412;z-index:20;line-height:1.8;font-size:16px}
@media(max-width:760px){header{top:24px}.wordmark{font-size:11px;letter-spacing:.3em}.study-label{display:none}.about-link{font-size:7px}.title-block{top:63%;left:12%;width:80%;display:grid;grid-template-columns:1fr 1fr;column-gap:25px}.eyebrow{grid-column:1/-1;margin-bottom:15px;font-size:7px}h1{font-size:60px;grid-row:2/4;margin:0;letter-spacing:.035em}.invitation{align-self:end;font-size:8px;margin:0 0 10px}.scroll-link{font-size:7px;gap:12px;align-self:start}.scroll-link span{font-size:18px}.progress-rail{top:64%;height:65px}footer{bottom:16px;font-size:7px}.footer-left{gap:8px}.footer-left span:last-child,.footer-divider{display:none}.footer-actions{gap:15px}footer button{font-size:7px}#controls,#about{width:min(330px,93%);right:3.5%}.unravel p{font-size:9px;top:65%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.pose-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px 6px}.pose-buttons button{min-width:0;font-size:9px;letter-spacing:.07em;padding:10px 6px;white-space:nowrap}

/* Drawn, scalable lettering: the title shares the engraved material. */
.wordmark{display:block;width:160px;height:25px;color:#dcd4c8}.wordmark svg{display:block;width:100%;height:100%}
.title-block{top:20%;left:76%;width:21%}.eyebrow{margin-bottom:19px;font-size:7px;letter-spacing:.17em}
h1.living-logo{width:100%;max-width:300px;margin:0 0 43px;line-height:0}h1.living-logo svg{display:block;width:100%;height:auto;overflow:visible}
@media(max-width:760px){.wordmark{width:125px;height:22px}.title-block{top:59%;left:12%;width:80%;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}h1.living-logo{width:min(100%,170px);margin:0}.eyebrow{margin-bottom:12px}.invitation{font-size:8px}.scroll-link{align-self:center}}
@media(max-width:760px) and (max-height:720px){.title-block{top:54%}h1.living-logo{width:120px}.eyebrow{margin-bottom:8px}}

/* The reveal remains a fixed scene while scroll supplies its material clock. */
.unravel{height:180svh}#reveal-projects{position:fixed;inset:0;z-index:3;pointer-events:none;opacity:0}
#reveal-projects button{position:absolute;top:80%;transform:translate(-50%,-10px);display:flex;align-items:center;flex-direction:column;min-width:135px;pointer-events:auto;padding:0 12px 20px}
#reveal-projects[inert] button{pointer-events:none}#reveal-projects button:nth-child(1){left:32%}#reveal-projects button:nth-child(2){left:57%}#reveal-projects button:nth-child(3){left:84%}
#reveal-projects i{display:block;width:20px;height:20px;border:1px solid #c1b7a5;border-radius:50%;position:relative;margin-bottom:23px}#reveal-projects i:after{content:'';position:absolute;width:4px;height:4px;border-radius:50%;background:#b9382e;left:7px;top:7px}
#reveal-projects span{font-size:11px;letter-spacing:.3em;color:#e3dbce}#reveal-projects small{font-size:6px;letter-spacing:.17em;color:#7a746b;margin-top:12px;transition:color .4s}#reveal-projects button:hover i{border-color:#f9eee0;box-shadow:0 0 18px #e2cba127}#reveal-projects button:hover small{color:#c7b9a4}
dialog{color:#e3dbce;background:#080807ee;border:1px solid #51483a;width:min(460px,90vw);padding:48px;box-shadow:0 20px 150px #000;line-height:1.8}dialog::backdrop{background:#000a;backdrop-filter:blur(7px)}dialog h2{font-weight:300;font-size:30px;letter-spacing:.22em;margin:24px 0}dialog .close-project{float:right;font-size:9px;letter-spacing:.1em;padding:5px}dialog .project-status{color:#a9977a;font-size:8px;letter-spacing:.2em;margin:5px 0}dialog .project-note{font-size:10px;color:#8d867b;margin-top:30px}
@media(max-width:760px){#reveal-projects button{min-width:80px;padding:0 3px 15px}#reveal-projects span{font-size:8px;letter-spacing:.14em}#reveal-projects small{display:none}#reveal-projects i{width:16px;height:16px;margin-bottom:18px}#reveal-projects i:after{left:5px;top:5px}}
