html{overscroll-behavior:none;scrollbar-width:none;scroll-snap-type:none}html::-webkit-scrollbar{display:none}body{overscroll-behavior:none}.scroll-space>div{height:100dvh;scroll-snap-align:start}.hero{position:fixed;inset:0;height:100dvh;min-height:0;--safe-top:110px;--safe-bottom:85px}.header,.footer{z-index:10}.player-stage{touch-action:pan-y}
.hero.failed .name-fallback{display:none}.hero.failed .work{opacity:1!important}.hero.failed .player-poster{width:42%;left:27%}#status{bottom:calc(var(--safe-bottom) + 52px);background:#101010;border-radius:4px}
.scroll-space>.story-scroll{height:922dvh}.header nav{opacity:1;transform:none}.work{bottom:calc(var(--safe-bottom) + 16px)}.header{top:30px}.footer{bottom:28px}#status{bottom:calc(var(--safe-bottom) + 10px)}
@media(max-width:700px){.header{top:20px}.footer{bottom:20px}.work{bottom:calc(var(--safe-bottom) + 8px)}}

.scroll-space>.history-scroll{height:1400dvh}
.history{position:absolute;z-index:4;left:var(--gutter);top:calc(var(--safe-top) + 14px);width:min(440px,38vw);background:#101010;padding:24px 28px 20px;border-radius:3px;opacity:0;pointer-events:none;box-shadow:0 3px 0 #10101012}
.history-meta{display:flex;justify-content:space-between;font-size:9px;font-weight:800;letter-spacing:.13em;border-bottom:2px solid #f6f6f6;padding-bottom:13px}
.history-date{font-size:10px;font-weight:800;letter-spacing:.08em;margin:20px 0 10px;color:#354ede}
.history h2{font:400 clamp(24px,2.6vw,42px)/1.16 'Dela Gothic One';letter-spacing:-.04em;margin:0 0 18px}
.history-place{font-size:16px;font-weight:850;line-height:1.3;margin:0 0 5px}.history-role{font-size:11px;font-weight:650;line-height:1.4;margin:0 0 14px}.history-detail{font-size:13px;line-height:1.55;margin:0 0 16px;max-width:40ch}.history-stat{display:inline-block;background:#ffde24;color:#f6f6f6;font-size:11px;font-weight:800;margin:0;padding:7px 10px;border-radius:3px}.history-cue{font-size:9px;font-weight:750;letter-spacing:.1em;display:flex;justify-content:space-between;margin-top:20px}.history-cue span{font-size:16px}
.history-ending{position:absolute;z-index:4;left:var(--gutter);top:27%;opacity:0}.history-ending p{font-size:11px;font-weight:800;letter-spacing:.1em}.history-ending h2{font:400 clamp(35px,5.5vw,84px)/1.1 'Dela Gothic One';letter-spacing:-.05em;margin:16px 0 28px}.history-ending button{background:#f6f6f6;color:#101010;border:0;border-radius:24px;padding:14px 22px;font-size:12px;cursor:pointer}
@media(max-width:700px){.history{left:20px;right:20px;top:calc(var(--safe-top) + 8px);width:auto;padding:14px 18px}.history-meta{padding-bottom:8px;font-size:8px}.history-date{margin:10px 0 7px;font-size:9px}.history h2{font-size:25px;margin-bottom:12px}.history-place{font-size:13px}.history-role{font-size:10px;margin-bottom:10px}.history-detail{font-size:11px;line-height:1.4;margin-bottom:10px;max-width:none}.history-cue{margin-top:10px;font-size:8px}.history-ending{top:25%}.history-ending h2{font-size:40px}}
@media(max-height:600px){.history{top:calc(var(--safe-top) + 2px);padding:12px 18px;width:42%;max-width:430px}.history h2{font-size:24px;margin-bottom:8px}.history-date{margin:8px 0}.history-meta{padding-bottom:6px}.history-detail{font-size:11px;margin-bottom:8px}.history-role{margin-bottom:8px}.history-cue{margin-top:8px}.history-place{font-size:13px}.history-stat{padding:5px 8px;font-size:10px}}
.hero.failed.history-mode .work{opacity:0!important}.hero.failed.history-mode .player-poster{display:none}
@media(max-height:500px) and (min-width:701px){.history{width:50%;max-width:460px;padding:10px 16px;top:calc(var(--safe-top) + 2px)}.history-meta{font-size:8px;padding-bottom:5px}.history-date{font-size:9px;margin:6px 0}.history h2{font-size:20px;margin:0 0 7px}.history-place{font-size:12px}.history-role{font-size:10px;margin-bottom:6px}.history-detail{font-size:10.5px;line-height:1.35;margin-bottom:8px;max-width:none}.history-stat{font-size:9px;padding:4px 7px}.history-cue{font-size:8px;margin-top:6px}}

/* Work layout study: artwork and captions remain explicit content placeholders. */
.work{position:absolute;z-index:4;left:55%;right:var(--gutter);top:19%;bottom:calc(var(--safe-bottom) + 16px);overflow:hidden;opacity:0;pointer-events:none;--accent:#aeff45}
.work[data-discipline="design"]{--accent:#ac8aff}.work[data-discipline="music"]{--accent:#ff7864}.work.ready{pointer-events:auto}
.work-heading{display:flex;justify-content:space-between;align-items:center;font-size:9px;font-weight:800;letter-spacing:.1em;margin-bottom:18px}.layout-label{color:#92928b;font-weight:500}.work-heading button{border:0;border-bottom:1px solid #55554e;border-radius:0;background:transparent;color:#d0d0c9;font:600 10px Archivo;padding:5px 0;cursor:pointer}
.work-tabs{display:flex;gap:0;border-bottom:1px solid #ffffff26;margin-bottom:24px}.work-tabs button{flex:1;text-align:left;border:0;border-bottom:2px solid transparent;background:none;color:#92928b;padding:10px 0 13px;font:700 13px Archivo;cursor:pointer}.work-tabs button span{font-size:9px;font-weight:500;margin-right:7px;font-variant-numeric:tabular-nums}.work-tabs button[aria-pressed="true"]{color:var(--accent);border-bottom-color:var(--accent)}.work-tabs button:hover{color:#f6f6f6}.work-tabs button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.panels{display:flex;will-change:transform}.panel{flex:0 0 100%;min-width:0;padding-right:2px}.eyebrow{font-size:10px;letter-spacing:.1em;font-weight:650;color:#a4a49c}.panel h2{font:400 clamp(54px,6.3vw,98px)/1.02 'Dela Gothic One',sans-serif;letter-spacing:-.055em;margin:12px 0 16px}.description{font-size:clamp(14px,1.2vw,18px);line-height:1.4;margin:0 0 17px;color:#c4c4bc}.tags{display:flex;flex-wrap:wrap;gap:8px}.tags span{font-size:10px;font-weight:600;padding:5px 0;color:var(--accent)}.tags span+span:before{content:' / ';color:#66665e;margin-right:8px}
.project-slot{display:block;margin-top:22px}.project-art{height:clamp(150px,22dvh,232px);position:relative;overflow:hidden;background:var(--accent);color:#101010}.cover-label{position:absolute;left:18px;top:15px;font-size:8px;font-weight:750;letter-spacing:.12em;z-index:2}.cover-symbol{position:absolute;left:11%;top:50%;transform:translateY(-43%) rotate(-9deg);font:900 clamp(85px,9vw,150px)/1 Archivo;letter-spacing:-.12em}.cover-stamp{position:absolute;right:18px;bottom:17px;font-size:10px;line-height:1.2;font-weight:900;letter-spacing:.08em;text-align:right}.project-art:after{content:'';position:absolute;width:42%;height:140%;border:1px solid #101010;right:18%;top:-20%;transform:rotate(25deg);pointer-events:none}.design-art .cover-symbol{font-size:180px;left:17%;transform:translateY(-42%) rotate(12deg);color:#ffe34e}.design-art:after{border:12px solid #101010;width:135px;height:135px;right:17%;top:28%;transform:rotate(-12deg);border-radius:50%}.music-art .cover-symbol{font-size:140px;left:14%;transform:translateY(-42%) rotate(-8deg)}.music-art:after{width:40%;height:65%;top:18%;right:14%;border:0;background:repeating-linear-gradient(90deg,#101010 0 4px,transparent 4px 10px);clip-path:polygon(0 42%,10% 25%,20% 38%,30% 8%,40% 30%,50% 0,60% 23%,70% 13%,80% 40%,90% 22%,100% 43%,100% 58%,90% 78%,80% 62%,70% 89%,60% 73%,50% 100%,40% 70%,30% 92%,20% 65%,10% 77%,0 58%);transform:none}
.project-caption{display:flex;justify-content:space-between;gap:12px;align-items:start;padding-top:14px}.project-caption strong{font-size:15px;font-weight:650}.project-caption p{color:#92928b;font-size:11px;margin:6px 0 0}.placeholder-label{font-size:9px;color:#92928b;padding-top:4px;white-space:nowrap}
@media(max-width:700px){.work{left:24px;right:24px;top:52%;bottom:calc(var(--safe-bottom) + 8px)}.work-heading{font-size:8px;margin-bottom:7px}.layout-label{font-size:7px}.work-heading button{font-size:9px}.work-tabs{margin-bottom:12px}.work-tabs button{font-size:11px;padding:7px 0 9px}.work-tabs button span{font-size:8px}.eyebrow{display:none}.panel h2{font-size:38px;margin:0 0 8px}.description{font-size:12px;margin-bottom:8px}.tags{display:none}.project-slot{margin-top:12px}.project-art{height:112px}.cover-label{left:12px;top:10px;font-size:7px}.cover-symbol{font-size:82px}.cover-stamp{font-size:8px;right:12px;bottom:10px}.design-art .cover-symbol{font-size:106px}.design-art:after{width:73px;height:73px;border-width:7px;top:27%}.music-art .cover-symbol{font-size:88px}.project-caption{padding-top:10px}.project-caption strong{font-size:12px}.project-caption p{font-size:9px;margin-top:4px}.placeholder-label{font-size:8px}.hero.failed .player-poster{width:44%;top:32%;left:50%;max-height:29%}}
@media(max-width:700px) and (max-height:740px){.work{top:48%}.work-heading{margin-bottom:3px}.work-tabs{margin-bottom:8px}.work-tabs button{padding:5px 0 7px}.panel h2{font-size:30px;margin-bottom:6px}.description{font-size:11px;margin-bottom:6px}.project-slot{margin-top:8px}.project-art{height:82px}.cover-symbol{font-size:66px}.design-art .cover-symbol{font-size:83px}.design-art:after{width:55px;height:55px;border-width:5px}.music-art .cover-symbol{font-size:70px}.project-caption{padding-top:7px}.project-caption strong{font-size:11px}.project-caption p{font-size:8px}.placeholder-label{display:none}}
@media(max-height:600px) and (min-width:701px){.work{top:23%;left:53%;bottom:calc(var(--safe-bottom) + 8px)}.work-heading{display:none}.work-tabs{margin-bottom:10px}.work-tabs button{padding:5px 0 7px;font-size:11px}.eyebrow,.tags{display:none}.panel h2{font-size:34px;margin:0 0 7px}.description{font-size:12px;margin-bottom:6px}.project-slot{margin-top:10px}.project-art{height:70px}.cover-label{top:8px;left:10px;font-size:6px}.cover-symbol,.music-art .cover-symbol{font-size:68px}.design-art .cover-symbol{font-size:86px}.design-art:after{width:55px;height:55px;border-width:5px}.cover-stamp{font-size:7px;bottom:8px;right:10px}.project-caption{padding-top:8px}.project-caption strong{font-size:11px}.project-caption p{font-size:8px;margin-top:4px}.placeholder-label{font-size:7px}}

.anime-fx{position:absolute;inset:0;width:100%;height:100%;z-index:5;pointer-events:none}.work-scene .anime-fx{display:none}
.anime-panel-frame{position:absolute;z-index:5;pointer-events:none}.anime-panel-frame[hidden]{display:none}

/* Dimension break: the WebGL stage renders every restyled frame itself; this section only carries the accessible copy
   and a flat fallback when 3D is unavailable. The 2D ink layer is folded into each rendering instead of floating above it. */
.comic-intro{position:absolute;inset:0;z-index:3;pointer-events:none;background:transparent}
.comic-intro[hidden]{display:none}.hero.failed .comic-intro{background:#000}
.hero.failed .comic-intro p{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);margin:0;color:#f6f6f6;font:400 clamp(22px,4vw,54px)/1.1 'Dela Gothic One',sans-serif;text-align:center;letter-spacing:-.04em}
.dimension-scene .anime-fx{visibility:hidden}
.scroll-space>div{display:none}
.comic-intro[data-style="overload"]{z-index:6}
@font-face{font-family:'VT323';src:url('./assets/VT323-Regular.woff2') format('woff2'),url('./assets/VT323-Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
.overload-screen{position:absolute;inset:0;overflow:hidden;background:#000;--phosphor:#a7ff76;--terminal:#071006}
.overload-screen[hidden]{display:none}
.overload-copies{position:absolute;inset:0;contain:layout style}
.overload-dialog{position:absolute;left:50%;top:50%;width:min(620px,calc(100% - 48px));transform:translate(-50%,-50%);background:var(--terminal);color:var(--phosphor);border:1px solid var(--phosphor);outline:1px solid #31532a;outline-offset:3px;box-shadow:8px 8px 0 #000;text-shadow:0 0 5px #8cff6345;font:400 clamp(22px,2.6vw,28px)/1.3 'VT323',monospace;font-synthesis:none}
.overload-dialog::after{content:'';position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,#0003 0 1px,transparent 1px 3px)}
.overload-primary{z-index:65;box-shadow:8px 8px 0 #000,0 0 35px #78ff5212}
.overload-echo{display:flex;flex-direction:column}.overload-echo .overload-body{flex:1}.overload-echo[hidden]{display:none}.overload-echo .overload-cursor{animation:none;opacity:.7}
.overload-title{display:flex;justify-content:space-between;gap:8px;background:var(--phosphor);color:#071006;padding:5px 11px;font-size:17px;line-height:1;letter-spacing:.025em;text-shadow:none}
.overload-body{padding:24px 29px 23px;white-space:pre-wrap;min-height:256px}
.overload-error{color:#d7ffb6;font-size:16px;letter-spacing:.035em;margin-bottom:18px}
.overload-copy{color:inherit}.overload-cursor{animation:cursor-blink 1s steps(1,end) infinite;color:var(--phosphor)}
.overload-trace{font-size:16px;line-height:1.2;letter-spacing:.015em;color:#6ea65c;margin-top:22px}
.overload-footer{display:flex;justify-content:space-between;gap:10px;padding:8px 11px;border-top:1px dashed #47773a;font-size:14px;line-height:1;letter-spacing:.035em;color:#87ca6d}
@keyframes cursor-blink{0%,49%{opacity:1}50%,100%{opacity:0}}
@media(max-width:700px){.overload-body{padding:22px 18px;min-height:222px}.overload-title{font-size:13px}.overload-error{font-size:13px}.overload-trace{font-size:13px}.overload-footer{font-size:11px;gap:5px}}
.work{width:min(900px,calc(100% - 2 * var(--gutter)));left:50%;right:auto;transform:translateX(-50%)}
@media(max-width:700px){.work{width:auto;left:24px;right:24px;top:20%;transform:none}}
