.timeline{position:absolute;bottom:max(14px,env(safe-area-inset-bottom));left:clamp(17px,4vw,68px);right:clamp(17px,4vw,68px);display:flex;gap:14px;align-items:center;font:10px/1.6 var(--mono);letter-spacing:.08em;color:#a9a69d}.timeline span:last-child{min-width:38px;text-align:right}#seek{flex:1;min-width:0;height:38px;cursor:ew-resize;appearance:none;background:transparent;--p:0%;margin:0}#seek::-webkit-slider-runnable-track{height:2px;background:linear-gradient(to right,#d6bc8b var(--p),#41413d var(--p))}#seek::-webkit-slider-thumb{appearance:none;background:#f7d99c;width:8px;height:8px;border-radius:50%;margin-top:-3px}#seek::-moz-range-track{height:2px;background:#57554d}#seek::-moz-range-thumb{background:#f7d99c;width:8px;height:8px}body[data-mode=gate] .timeline{display:none}#voice{position:absolute;bottom:13%;left:0;right:0;text-align:center;pointer-events:none;padding:0 18px;color:#dfd9ca;text-shadow:0 1px 8px #000;font-size:clamp(13px,1.12vw,18px);letter-spacing:.08em}body:not([data-mode=show]) #voice{display:none}.closing{bottom:65px}.end-actions{flex-wrap:wrap;gap:7px 19px}.end-actions a{color:var(--gold);padding:7px 0;border-bottom:1px solid #77654c}.end-actions button:first-child{border:0}#scene{touch-action:none;cursor:grab}#scene:active{cursor:grabbing}#notes-dialog{width:min(860px,calc(100vw - 28px));height:min(870px,calc(100dvh - 38px));max-height:96dvh;background:#f5f1e8;color:#252724;padding:0;overflow:hidden;border:1px solid #796449}#notes-dialog[open]{display:flex;flex-direction:column}.reader-head{flex:none;display:flex;align-items:center;justify-content:space-between;padding:6px clamp(15px,3vw,32px);border-bottom:1px solid #cfc6b4;font-size:13px}.reader-head span{letter-spacing:.1em}.reader-head button{min-height:44px;color:#675337}.reader-head button:hover{color:#20180c}#reader{border:0;width:100%;flex:1;min-height:0}.top-actions .notes-link{color:#d0c6b3}.static-cover a{text-decoration:underline}.gate-foot{pointer-events:none}@media(max-width:500px){.top-actions{gap:2px}.top-actions>*{padding:0 5px}.mast{padding:9px 11px}.top-actions #contact-open{padding:0 8px}.timeline{left:14px;right:14px;bottom:5px;gap:9px}.closing{bottom:48px}.gate-foot{font-size:9px}#voice{bottom:13%;font-size:12px}.end-actions{font-size:12px;gap:6px 13px}}@media(max-width:370px){body[data-mode=show] .wordmark small{display:none}body[data-mode=show] .wordmark img{width:23px}body[data-mode=show] .wordmark strong{font-size:12px}.top-actions>*{font-size:10px;padding:0 4px}}@media(max-height:600px){.closing{top:50%}.closing h1{font-size:28px}.legal,.claim{margin:4px 0}.about{font-size:12px}.end-actions button,.end-actions a{min-height:34px}.end-small{font-size:8px}}

/* Leave the central button in-place just long enough to hand off to the lettering. */
body[data-mode=show] .gate{display:grid;visibility:hidden;opacity:0;transition:opacity .19s ease-out,visibility 0s linear .19s}
body[data-mode=gate] .gate{opacity:1;visibility:visible}body[data-mode=show] #enter{pointer-events:none}
body[data-mode=show] .timeline{animation:handoff-controls .45s ease-out both}body[data-mode=show] .top-actions #play,body[data-mode=show] .top-actions #skip{animation:handoff-controls .35s ease-out both}
@keyframes handoff-controls{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){body[data-mode=show] .gate{transition:none}body[data-mode=show] .timeline,body[data-mode=show] .top-actions #play,body[data-mode=show] .top-actions #skip{animation:none}}
#sound-toggle{position:absolute;z-index:5;left:clamp(16px,4vw,66px);bottom:61px;min-height:44px;display:inline-flex;gap:8px;align-items:center;color:#ddc69e;background:#0a1014c9;border:1px solid #514a3d;border-radius:25px;padding:0 14px;font-size:12px}.sound-bars{height:14px;display:flex;align-items:center;gap:2px}.sound-bars i{width:2px;height:9px;background:currentColor}.sound-bars i:nth-child(2){height:14px}.sound-bars i:nth-child(3){height:11px}.sound-bars i:nth-child(4){height:6px}#sound-toggle[data-muted=true] .sound-bars i{height:2px}#sound-toggle[data-muted=true]{color:#b6b5b2}body[data-mode=gate] #sound-toggle{bottom:45px}@media(max-width:560px){#sound-toggle{left:14px;bottom:48px;font-size:11px;padding:0 10px}body[data-mode=end] #sound-toggle{bottom:auto;top:58px}body[data-mode=gate] #sound-toggle{bottom:37px}}
.company-entry{white-space:nowrap}.company-entry span{color:var(--gold)}
@media(max-width:620px){.mast{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;column-gap:4px;row-gap:0}.mast .top-actions{display:contents}.mast .wordmark{grid-row:1;grid-column:1/4;justify-self:start}.mast #contact-open{grid-row:1;grid-column:4}.mast .company-entry{grid-row:2;grid-column:1}.mast .notes-link{grid-row:2;grid-column:2;justify-self:start}.mast #play{grid-row:2;grid-column:3}.mast #skip{grid-row:2;grid-column:4}.mast .top-actions>*{pointer-events:auto;white-space:nowrap}.mast .company-entry,.mast .notes-link{font-size:12px}}

body[data-mode="show"] #sound-toggle{bottom:max(14px,env(safe-area-inset-bottom))}.closing{bottom:max(12px,env(safe-area-inset-bottom))}
