@font-face{font-family:LocalSerif;src:local('Baskerville');font-display:swap}
:root{color-scheme:light;--paper:#f4f2ed;--ink:#292c26;--muted:#696e63;--line:#d9d9cf;--accent:#626c50}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer;color:inherit;background:none;border:0}button:disabled{cursor:default;opacity:.4}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:2px solid #718354;outline-offset:4px;border-radius:2px}[hidden]{display:none!important}.skip-link{position:absolute;left:25px;top:-60px;background:var(--paper);padding:14px;z-index:20}.skip-link:focus{top:10px}
.masthead{height:94px;padding:0 4.8vw;display:flex;align-items:center;justify-content:space-between}.signature{font-size:18px;letter-spacing:.19em;line-height:1.8}.signature span{display:block;font-size:9px;letter-spacing:.36em;color:var(--muted)}.masthead nav{display:flex;gap:30px;font-size:11px}.masthead a:hover{color:var(--accent)}
main{max-width:1900px;margin:auto;display:grid;grid-template-columns:minmax(0,2.15fr) minmax(315px,1fr);min-height:710px;min-height:max(710px,calc(100svh - 150px))}.scene{min-width:0;position:relative;display:flex;flex-direction:column;padding:24px 1.5vw 24px 4.8vw;min-height:650px}.scene-heading{display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:.15em;color:var(--muted);min-height:32px}#work-selector{display:flex;gap:24px;letter-spacing:0}#work-selector button{font-size:12px;padding:6px 0;border-bottom:1px solid transparent}#work-selector button[aria-pressed=true]{color:var(--ink);border-color:var(--ink)}#scene-layer{font-size:9px}
#viewport{position:relative;width:100%;height:calc(100svh - 235px);min-height:550px;max-height:1000px;flex:1;touch-action:pan-y;overflow:hidden}#viewport canvas{display:block;position:absolute;inset:0;width:100%;height:100%;touch-action:none}#poster{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;transition:opacity .5s;pointer-events:none}#viewport.ready #poster{opacity:0}#loading{position:absolute;bottom:15%;left:50%;transform:translateX(-50%);font-size:11px;color:var(--muted);white-space:nowrap}.loading-dot{display:inline-block;width:5px;height:5px;margin-left:9px;border-radius:50%;background:var(--accent);animation:breathe 1s infinite alternate}@keyframes breathe{to{opacity:.2}}#fallback{position:absolute;bottom:5%;font-size:12px;max-width:320px;padding:16px}.scene-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--muted);font-size:10px;min-height:44px}.scene-bottom p{margin:0}.scene-bottom div{display:flex;gap:18px}.scene-bottom button{font-size:11px;padding:12px 0}.scene-bottom button:hover{text-decoration:underline}
.story{padding:29px 4.8vw 30px 2.6vw;display:flex;flex-direction:column;justify-content:flex-start;min-width:0}.depth-nav{display:flex;gap:20px;flex-wrap:wrap;margin:0 0 26px}.depth-nav button{display:flex;gap:5px;align-items:center;font-size:11px;padding:0 0 7px;border-bottom:1px solid transparent;color:var(--muted);min-height:28px}.depth-nav button span{font-size:8px;opacity:.65}.depth-nav button[aria-current]{border-bottom-color:var(--ink);color:var(--ink)}.reading{min-height:385px}.eyebrow{font-size:9px;letter-spacing:.14em;color:var(--muted);margin:0 0 14px;line-height:1.6}h1{font-family:LocalSerif,Baskerville,'Times New Roman',serif;font-size:clamp(32px,2.65vw,48px);font-weight:400;line-height:1.08;letter-spacing:-.025em;margin:0 0 17px}#story-copy{font-size:13px;line-height:1.75;max-width:420px;color:#5c6256;margin:0}.context-note{font-size:10px;line-height:1.7;color:var(--muted);margin:13px 0;max-width:420px}.text-link{font-size:12px;display:inline-block;padding:12px 0;text-decoration:underline;text-underline-offset:4px}#reference{margin:0 0 17px;width:100%;height:230px;display:flex;flex-direction:column;justify-content:center}#reference img{width:100%;height:205px;object-fit:contain;display:block}figcaption{font-size:9px;line-height:1.5;color:var(--muted);margin-top:8px;min-height:14px}#sequence-controls{font-size:10px;margin:-5px 0 14px}#sequence-controls button{font-size:10px;padding:9px 0}#sequence-navigation{display:flex;gap:16px;align-items:center}#sequence-prev,#sequence-next{min-width:30px}#sequence-open{text-decoration:underline;text-underline-offset:3px}#film-controls{display:flex;gap:24px;margin:16px 0 0}#film-controls button{font-size:12px;padding:10px 0;border-bottom:1px solid var(--line)}#fallback-film{width:100%;margin:20px 0}
.choices{margin-top:25px}.choice-label{font-size:9px;letter-spacing:.09em;color:var(--muted);margin:0 0 10px}.choice-group{margin:0 0 12px}.choice-group h2{font-size:9px;letter-spacing:.12em;color:var(--muted);font-weight:400;margin:10px 0 4px}.choice-group button{display:flex;align-items:center;gap:10px;text-align:left;width:100%;padding:7px 0;font-size:11px;line-height:1.3;color:var(--muted)}.choice-group button span{font-size:9px;min-width:14px;opacity:.6}.choice-group button[aria-pressed=true],.choice-group button:hover,.choice-group button:focus-visible{color:var(--ink)}.choice-group button[aria-pressed=true] span{opacity:1}.choice-group button[aria-pressed=true] span:before{content:'•';margin-right:5px}.depth-next{display:flex;align-items:center;justify-content:space-between;text-align:left;width:100%;font-size:12px;margin-top:17px;border-bottom:1px solid #9ca28f;padding:15px 0;max-width:420px}.depth-next span{font-size:18px}footer{padding:18px 4.8vw;display:flex;justify-content:space-between;gap:20px;font-size:8px;letter-spacing:.1em;color:var(--muted)}.no-script{padding:25px}
@media(min-width:1700px){#reference{height:260px}#reference img{height:235px}.reading{min-height:430px}}
@media(max-width:1100px){main{grid-template-columns:minmax(0,1.9fr) minmax(300px,1fr)}.story{padding-right:4vw;padding-left:2vw}.scene-bottom{align-items:flex-start;flex-direction:column;gap:0}.depth-nav{gap:12px}h1{font-size:34px}#reference{height:210px}#reference img{height:185px}}
@media(max-width:760px){.masthead{height:78px;padding:0 6vw}.signature{font-size:14px}.signature span{font-size:8px}.masthead nav{font-size:10px;max-width:145px;text-align:right}.masthead nav a:first-child{display:none}main{display:flex;flex-direction:column;min-height:0}.scene{padding:12px 5vw 0;min-height:0}.scene-heading{position:sticky;top:0;background:var(--paper);z-index:2}#viewport{min-height:340px;height:52svh;max-height:560px;flex:auto}.scene-bottom{flex-direction:column;align-items:flex-start;gap:0}.scene-bottom div{width:100%;gap:24px}.scene-bottom button{min-height:44px}.scene-bottom p{font-size:10px}.story{padding:20px 7vw 32px;min-height:0}.depth-nav{gap:30px;margin-bottom:22px}.depth-nav button{font-size:12px;min-height:40px}.reading{min-height:0}h1{font-size:39px;max-width:450px}#reference{height:245px}#reference img{height:220px}#story-copy{font-size:14px}.choices{margin-top:20px}.choice-group button{min-height:44px;font-size:12px}#sequence-controls button,#film-controls button{min-height:44px}footer{padding:20px 7vw;flex-direction:column;gap:10px}.depth-next{min-height:48px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(min-width:761px){main{height:calc(100svh - 139px);min-height:700px}.scene{height:100%;min-height:0}#viewport{height:auto;min-height:0}.reading{min-height:400px}body[data-layer=artwork] #choice-list{display:grid;grid-template-columns:1fr 1fr;gap:18px}.choice-group button{min-height:34px;font-size:12px}.story{padding-top:25px;padding-bottom:20px}.choices{margin-top:18px}#reference{height:215px}#reference img{height:190px}h1{font-size:clamp(32px,2.25vw,42px)}}
@media(min-width:761px){main{height:auto;min-height:calc(100svh - 139px)}.scene{height:calc(100svh - 139px);min-height:700px;position:sticky;top:0}.reading{min-height:400px}}
/* 18 Nov handover: one full stage, a floating reading window and compact controls. */
html,body{height:100%;overflow:hidden}main{display:block;position:relative;max-width:none;width:100%;height:calc(100svh - 94px);min-height:0;margin:0}.scene{position:absolute;inset:0;height:100%;min-height:0;padding:0;display:block}#viewport{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-height:none}.scene-bottom{position:absolute;bottom:14px;left:3vw;right:3vw;z-index:3;pointer-events:none;display:flex;flex-direction:row;align-items:center}.scene-bottom div{pointer-events:auto;gap:8px;background:rgba(244,242,237,.78);border-radius:24px;padding:0 8px}.scene-bottom button{min-height:44px;padding:8px;font-size:11px}.scene-bottom p{max-width:43vw;line-height:1.5;text-shadow:0 1px var(--paper)}.story{position:absolute;z-index:4;right:3vw;top:60px;width:330px;max-height:calc(100% - 140px);min-height:0;overflow:auto;overscroll-behavior:contain;padding:22px 23px;background:rgba(244,242,237,.79);backdrop-filter:blur(4px);border-radius:14px;border:1px solid rgba(255,255,255,.35);box-shadow:0 7px 38px #24292308;display:block}.window-heading{display:flex;justify-content:space-between;gap:16px;color:var(--muted);font-size:10px;letter-spacing:.1em;margin-bottom:18px}.reading{min-height:0}.eyebrow{margin-bottom:10px}h1{font-size:30px;line-height:1.1}#reference{height:190px;margin-bottom:14px}#reference img{height:165px}#story-copy{font-size:13px;line-height:1.6;color:#44483f}.context-note{font-size:10px;line-height:1.6}.depth-next{margin-top:10px;min-height:44px}.text-link{display:block;padding:12px 0;min-height:44px}#window-toggle{position:absolute;z-index:5;right:3vw;top:8px;font-size:11px;min-height:44px;padding:0 14px;border-radius:23px;background:rgba(244,242,237,.78)}#browse{margin-top:18px;font-size:12px}#browse summary{cursor:pointer;min-height:44px;padding:12px 0;color:#555c4c}#work-selector{gap:24px;margin:6px 0 10px}#work-selector button{min-height:44px}.depth-nav{gap:14px;margin:6px 0}.depth-nav button{min-height:44px;margin:0;padding:8px 0}.depth-nav button span{display:none}.choices{margin-top:14px}body[data-layer=artwork] #choice-list{display:block}.choice-group button{min-height:44px;font-size:12px}#sequence-controls button{min-height:44px}#film-controls{gap:20px}#film-controls button{min-height:44px}.masthead{height:94px}.masthead nav{gap:25px}
@media(max-width:760px){.masthead{height:78px}.masthead nav{gap:12px;font-size:9px;max-width:200px}.masthead nav a:nth-child(2){display:none}main{height:calc(100svh - 78px);display:block}.scene{padding:0;min-height:0;height:100%;position:absolute}#viewport{height:100%;min-height:0;max-height:none}.story{top:auto;bottom:70px;left:4vw;right:4vw;width:auto;max-height:45%;padding:16px 20px;border-radius:14px;background:rgba(244,242,237,.87)}#window-toggle{right:4vw;top:5px}.scene-bottom{bottom:8px;left:3vw;right:3vw;flex-direction:column;gap:4px;align-items:flex-start}.scene-bottom p{max-width:100%;font-size:9px}.scene-bottom div{width:auto;gap:4px}.scene-bottom button{font-size:10px}h1{font-size:27px}#reference{height:160px}#reference img{height:135px}#story-copy{font-size:13px}.window-heading{margin-bottom:12px}.depth-nav{gap:24px}.reading{min-height:0!important}}

#reduce-motion{min-height:44px;font-size:11px;color:var(--muted);padding:10px 0}#reduce-motion[aria-pressed=true]:before{content:"✓ ";}

/* The transparent opening render shares the live camera's square projection. */
.encounter-page #poster{--stage-height:calc(100svh - 94px);--opening-size:min(calc(var(--stage-height)*1.25),100vw);inset:auto;width:var(--opening-size);height:var(--opening-size);left:calc(50% - min(58px,4vw));top:calc(50% - min(48px,calc(var(--stage-height)*.06)));transform:translate(-50%,-50%);object-fit:fill;mix-blend-mode:normal;transition:opacity .65s}
.encounter-page #viewport canvas{opacity:0}.encounter-page #viewport.ready canvas{opacity:1}
@media(max-width:760px){.encounter-page #poster{--stage-height:calc(100svh - 78px);left:50%}}

/* Four prepared stories fit without horizontal scrolling. */
#work-selector{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;justify-items:start}

/* Keep the global sound switch reachable at narrow widths. */
.scene-bottom div{flex-wrap:wrap;max-width:100%;row-gap:0}
@media(max-width:760px){.story{bottom:calc(var(--scene-controls-height,44px) + 24px)}}
