:root{color-scheme:dark;background:#140f0d;color:#fff2e5;font:100%/1.5 system-ui,sans-serif;--gold:#ffb36b;--dim:#e4c6b1}*{box-sizing:border-box}body{margin:0}main{max-width:1440px;padding:clamp(.85rem,3vw,2.4rem);margin:auto}header,footer{display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between}a{color:var(--gold);text-underline-offset:.25em}h1{font-size:clamp(2.1rem,6vw,4rem);line-height:1.06;margin:.25rem 0 .65rem;letter-spacing:-.035em}.kicker{color:var(--gold);letter-spacing:.12em;font-size:.9rem;font-weight:700}.intro{margin:1.55rem 0 1.2rem}.intro p:last-child,footer span,#keys{color:var(--dim)}.stage{position:relative;overflow:hidden;border:1px solid #bb7043;border-radius:1rem;background:#241712;aspect-ratio:16/9;max-height:72vh;min-height:320px}.stage img,#viewport{width:100%;height:100%;display:block;object-fit:cover;object-position:center}#viewport{touch-action:none;cursor:grab}#viewport:active{cursor:grabbing}#viewport canvas{display:block;width:100%;height:100%}.caption{position:absolute;bottom:.75rem;left:.75rem;max-width:min(88%,37rem);padding:.55rem .8rem;background:#160e0cef;border-radius:.45rem;border-left:3px solid var(--gold);pointer-events:none}.caption p{margin:.1rem 0;color:#ffe2c9;font-size:.94rem}.toolbox{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.7rem}button{font:inherit;color:inherit;border:1px solid #ac6847;border-radius:.5rem;background:#30201a;padding:.48rem .8rem;cursor:pointer;min-height:44px}button:hover,button[aria-pressed=true]{background:#573223;border-color:var(--gold)}button:focus-visible,a:focus-visible,#viewport:focus-visible{outline:3px solid #ffce8c;outline-offset:2px}.primary{background:#ffb36b;color:#1a0d08;font-weight:bold}.primary:hover{background:#ffd29f}.still{display:inline-block;padding:.6rem;margin-left:.45rem}.movement{display:grid;grid-template-columns:repeat(3,minmax(50px,1fr));gap:.35rem;touch-action:none}.movement button{font-size:1.28rem;padding:.2rem}.stops{display:flex;flex-wrap:wrap;gap:.45rem}.status{min-height:1.5rem;color:var(--dim);margin:.25rem 0}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}footer{border-top:1px solid #653d2c;margin-top:2rem;padding-top:.8rem}[hidden]{display:none!important}@media(max-width:600px){.stage{aspect-ratio:1/1;min-height:300px;max-height:62vh}.movement{width:100%}.caption{bottom:.45rem;left:.4rem}.caption p{font-size:.87rem}}
@media(max-width:600px){.toolbox>.movement{order:-1;margin-top:.45rem;gap:.28rem}.toolbox:has(.movement:not([hidden])) #keys{margin:.38rem 0}.toolbox:has(.movement:not([hidden])){gap:.38rem}}

/* The office uses a compact local return bar, not a second global menu. */
header>nav{display:flex;gap:8px;flex-wrap:wrap}
header>nav>a{display:inline-flex;align-items:center;min-height:44px}

/* Keep help available without putting copy over the scene. */
.intro{margin:.85rem 0 1rem}
.office-actions{display:flex;flex-wrap:wrap;align-items:baseline;gap:.35rem .6rem}
.office-actions .still{margin-left:0;padding:.55rem .25rem}
.office-actions details{flex:0 0 auto;color:var(--dim)}
.office-actions details[open]{flex-basis:100%}
.office-actions summary{cursor:pointer;min-height:44px;padding:.55rem .25rem}
.office-actions summary:focus-visible{outline:3px solid #ffce8c;outline-offset:2px}
.office-actions #keys{margin:0 0 .4rem}
.toolbox{margin:.55rem 0}
@media(max-width:600px){footer{gap:.25rem .75rem;margin-top:1rem}}

/* Keep the supplied square framing intact, including the host's legs and chair. */
.entrance-stage{background:radial-gradient(ellipse at center,#57311d,#160f0b 73%)}
.entrance-stage #poster,.entrance-stage #office-clip{display:block;width:100%;height:100%;object-fit:contain}
