@font-face{font-family:'Inter Tight';src:url('fonts/InterTight-Regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Inter Tight';src:url('fonts/InterTight-Medium.woff2') format('woff2');font-weight:500;font-display:swap}
:root{font-family:'Inter Tight',sans-serif;font-size:14px;color:#e8e7df;background:#080908;font-synthesis:none}*{box-sizing:border-box}html{scrollbar-width:none}html::-webkit-scrollbar{display:none}body{margin:0;overscroll-behavior:none}body.locked{overflow:hidden}[hidden]{display:none!important}a{color:inherit;text-decoration:none}button,input{font:inherit}button{color:inherit;background:none;border:0;cursor:pointer;padding:0;-webkit-tap-highlight-color:transparent}button:disabled{cursor:wait;color:#8b8c83}button:focus-visible,a:focus-visible{outline:1px solid currentColor;outline-offset:6px}h2{font-size:32px;font-weight:400;line-height:1.05;letter-spacing:-1px}p{font-size:14px;line-height:1.5}#scene{position:fixed;inset:0;z-index:0}canvas{display:block;width:100%;height:100%;touch-action:pan-y}canvas.inspectable{cursor:grab}canvas.dragging{cursor:grabbing}.vignette{position:fixed;inset:0;pointer-events:none;z-index:1;background:radial-gradient(ellipse at 50% 48%,transparent 40%,#0004 100%)}.film-grain{position:fixed;inset:0;z-index:20;pointer-events:none;background:url('grain.svg') repeat;opacity:.055;mix-blend-mode:soft-light}#journey{height:3000vh;pointer-events:none}.sr-only{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}
/* A light, restrained loading instrument. */
#entrance{position:fixed;inset:0;z-index:10;background:#f4f3ee;color:#252722;display:grid;place-items:center}#entrance:before{content:'';position:absolute;inset:16px;border:1px solid #555b4920;pointer-events:none;clip-path:polygon(0 0,22px 0,22px 1px,1px 1px,1px 22px,0 22px,0 0,100% 0,100% 22px,calc(100% - 1px) 22px,calc(100% - 1px) 1px,calc(100% - 22px) 1px,calc(100% - 22px) 0,100% 0,100% 100%,calc(100% - 22px) 100%,calc(100% - 22px) calc(100% - 1px),calc(100% - 1px) calc(100% - 1px),calc(100% - 1px) calc(100% - 22px),100% calc(100% - 22px),100% 100%,0 100%,0 calc(100% - 22px),1px calc(100% - 22px),1px calc(100% - 1px),22px calc(100% - 1px),22px 100%,0 100%)}.entry-mark{position:absolute;top:32px;font-size:12px;letter-spacing:4px}.entry-center{display:flex;align-items:center;gap:28px}.entry-center a{font-size:12px;letter-spacing:.5px}#enter{display:flex;gap:12px;align-items:center;min-height:44px;font-size:14px}#enter-arrow{font-size:14px}#enter:disabled #enter-arrow{visibility:hidden}.entry-square{width:7px;height:7px;background:#333a30;animation:load-pulse 1.3s ease-in-out infinite}.is-ready .entry-square{animation:none;background:#527357}.load-track{position:absolute;bottom:0;left:0;right:0;height:1px;background:#7772}#load-bar{height:100%;background:#454f3f;width:0;transition:width .35s}#load-status{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);font-size:12px;letter-spacing:1px;margin:0}@keyframes load-pulse{50%{opacity:.2;transform:scale(.65)}}
/* Direct studio links, with no menu layer. */
#site-nav{position:fixed;top:20px;left:24px;right:24px;z-index:6;display:grid;grid-template-columns:1fr auto 1fr;align-items:start;gap:20px}.nav-left{display:flex;gap:8px}.nav-index,.nav-symbol{display:flex;align-items:center;justify-content:center;height:36px;border-radius:4px;background:#e8e8df;color:#20241e}.nav-index{width:64px;flex-direction:column;gap:4px}.nav-index span{height:1px;width:27px;background:currentColor}.nav-index span:last-child{width:19px;transform:translateX(4px)}.nav-symbol{width:36px;background:#e8e8df18;color:#e8e8df;font-size:22px}.nav-title{font-size:12px;line-height:1.12;letter-spacing:.5px;text-align:center}.nav-cta{justify-self:end;width:248px;background:#e8e8df;color:#20241e;border-radius:4px;padding:10px 12px;display:flex;justify-content:space-between;font-size:14px;line-height:16px}.nav-cta:hover,.nav-index:hover{background:#fff}.nav-cta>span:last-child{font-size:19px}
/* Readable controls on the front of the display stand. */
#atelier{position:fixed;z-index:3;transform:translate(-50%,-50%);color:#e1e3d9;padding:0 8px;font-size:14px}.finish-tabs{display:flex;gap:22px}.finish-tabs button{padding:0 0 6px;color:#a9b29e;border-bottom:1px solid transparent}.finish-tabs button[aria-pressed=true]{color:#f1f2e7;border-color:#e4e7d9}.samples{display:flex;align-items:center;justify-content:space-between;padding:13px 0;gap:10px}#swatches{display:flex;gap:14px}#swatches button{width:20px;height:20px;border-radius:50%;border:1px solid #eee4;position:relative}#swatches button:before{content:'';position:absolute;inset:-8px}#swatches button[aria-pressed=true]:after{content:'';position:absolute;inset:-4px;border:1px solid #bdc8ad;border-radius:50%}#finish-name{font-size:14px;color:#c2c9b7}.detail-nav{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #bbc6a92d;padding-top:10px;margin-top:4px}.detail-nav button{font-size:14px;padding:4px 0;white-space:nowrap}.detail-nav button:hover{text-decoration:underline;color:#fff}#hotspots{position:fixed;inset:0;z-index:3;pointer-events:none}#hotspots button{position:absolute;transform:translate(-50%,-50%);border:1px solid #eee9;background:#14171480;color:#f4f3e9;border-radius:50%;width:32px;height:32px;font-size:12px;pointer-events:auto}#hotspots button:hover{background:#e9e5dc;color:#222}
/* Detail copy lives in the negative space of the scene, without a panel. */
#detail-caption{position:fixed;left:5%;top:38%;width:280px;z-index:3;color:#e1e5d8;background:none;padding:0;border:0}#detail-number{font-size:12px;letter-spacing:1px;color:#b7beaa}#detail-caption h2{margin:22px 0 18px}#detail-copy{font-size:14px;line-height:1.5;color:#c7ceba;margin:0 0 24px}#detail-back{font-size:14px;padding:10px 0;border-bottom:1px solid #ffffff45}body.detail-open #atelier{visibility:hidden}
/* Printed contents with the stepped, numbered tab rhythm of a ring binder. */
#commission{position:fixed;z-index:3;transform:translateX(-50%);color:#f4f2e8;display:flex;flex-direction:column;align-items:stretch}#commission a{display:flex;align-items:center;justify-content:flex-end;gap:14px;min-height:32px;font-size:14px;line-height:1.1;text-align:right}#commission a:hover>span:first-child{text-decoration:underline}.index-tab{width:27px;height:32px;display:grid;place-items:center;border:1px solid #e5e5d57a;border-left:0;border-radius:0 0 10px 0;flex-shrink:0}#commission a:nth-child(3n+2){margin-right:3px}#commission a:nth-child(3n){margin-right:6px}#restart{font-size:14px;padding:20px 0 0;align-self:flex-end;color:#e5e6d5}
#hud{position:fixed;bottom:28px;left:24px;right:24px;height:40px;opacity:0;z-index:4;pointer-events:none}#advance{pointer-events:auto;position:absolute;left:50%;transform:translateX(-50%);display:flex;align-items:center;flex-direction:column;gap:14px;font-size:12px;letter-spacing:1.2px;color:#c0c6b6;white-space:nowrap}.scroll-line{width:1px;height:18px;background:linear-gradient(#a5af98,transparent)}.counter{position:absolute;right:0;bottom:0;font-size:12px;letter-spacing:1.2px;color:#9ca68f}#toast{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);z-index:10;max-width:90vw;padding:12px 18px;font-size:14px;color:#faf9f4;opacity:0;pointer-events:none;transition:opacity .2s}#toast.visible{opacity:1}
@media(max-width:750px){#site-nav{left:16px;right:16px;top:18px;gap:10px;grid-template-columns:1fr auto}.nav-title{display:none}.nav-cta{width:190px}.nav-index{width:44px}.nav-left{gap:6px}.nav-symbol{width:30px}#atelier{padding:0}.detail-nav{gap:8px}.detail-nav button{font-size:14px}.finish-tabs{gap:22px}#detail-caption{top:auto;bottom:132px;left:24px;width:calc(100% - 48px);text-align:left}#detail-caption h2{margin:14px 0}#detail-copy{margin-bottom:14px}#hotspots button{width:32px;height:32px}#hud{bottom:25px;left:20px;right:20px}#advance{bottom:32px;letter-spacing:.3px}#commission a{min-height:30px}.index-tab{height:30px;width:24px}#restart{padding-top:15px}.entry-center{gap:18px}.entry-center a{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.nav-title{mix-blend-mode:difference}#detail-caption{width:260px}@media(max-width:750px){#detail-caption{width:calc(100% - 48px)}}
@media(max-height:800px) and (min-width:751px){#commission a{min-height:27px}.index-tab{height:27px}#restart{padding-top:16px}}
/* A fine moving emulsion across scene and interface; no pointer interception. */
.film-grain{opacity:.065;animation:emulsion .55s steps(1) infinite}@keyframes emulsion{0%,100%{background-position:0 0}25%{background-position:47px -31px}50%{background-position:-19px 73px}75%{background-position:83px 17px}}@media(prefers-reduced-motion:reduce){.film-grain{animation:none}}

.experience-actions{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:12px 0 2px;border-top:1px solid #bbc6a92d;margin-top:8px}.experience-actions button{font-size:14px;line-height:1.4;touch-action:none;user-select:none}.experience-actions button[aria-pressed=true]{color:#fff}.experience-actions button[aria-pressed=true]:before{content:'• ';color:#cdd8bb}canvas.lighting{cursor:ew-resize}#gallery-caption{position:fixed;left:5%;bottom:17%;z-index:3;pointer-events:none}#gallery-kicker,#construction-labels>span{font-size:12px;letter-spacing:1px;color:#c3cab7}#gallery-caption h2{margin:16px 0}#gallery-caption p{color:#bbc4ad}#construction-labels{position:fixed;inset:0;z-index:3;pointer-events:none}#construction-labels>span{position:absolute;white-space:nowrap;transform:translate(-50%,-100%);padding-bottom:18px;}#construction-labels>span:after{content:'';position:absolute;height:14px;width:1px;bottom:0;left:50%;background:#d0d9be80}
@media(max-width:750px){#gallery-caption{left:24px;bottom:140px;right:24px}#gallery-caption h2{max-width:270px}.experience-actions{flex-direction:row;justify-content:space-between;gap:8px}.experience-actions button{font-size:12px}#construction-labels>span{font-size:10px}}


@media(max-width:750px){.experience-actions button{font-size:14px}#construction-labels>span{font-size:12px}#advance{bottom:16px}}

#reveal-drawing{position:fixed;right:40px;top:50%;font-size:14px;z-index:4;border-bottom:1px solid #bfc5b371;padding:12px 0;touch-action:none;user-select:none}#reveal-drawing[aria-pressed=true]{color:#fff}#trace-hint{position:fixed;right:40px;top:50%;font-size:12px;letter-spacing:1px;max-width:220px;z-index:4;color:#cdd1c4}#commission{color:#283028;align-items:flex-start;gap:12px}#commission button{font-size:14px;line-height:1.25;border-bottom:1px solid #788371;padding-bottom:5px}#commission button:disabled{opacity:.6}#outro{position:fixed;left:50%;bottom:75px;transform:translateX(-50%);width:min(600px,90vw);text-align:center;z-index:5}.outro-kicker{font-size:12px;letter-spacing:1.5px;color:#aeb5a5}#outro h2{margin:16px 0 20px}#outro nav{display:flex;gap:28px;justify-content:center;font-size:14px;margin-bottom:25px}.outro-cta{display:inline-block;font-size:14px;border-bottom:1px solid #b4bfaa;padding:9px 0}#replay-outro{display:block;margin:18px auto 0;font-size:12px;color:#a5ad9d}#exit-curtain{position:fixed;inset:0;z-index:100;background:#f4f3ee;color:#252722;display:flex;align-items:center;justify-content:center;gap:24px;font-size:12px;letter-spacing:1px}
@media(max-width:750px){#reveal-drawing{right:auto;left:50%;top:auto;bottom:145px;transform:translateX(-50%);white-space:nowrap}#trace-hint{top:auto;bottom:140px;left:24px;right:24px;text-align:center;max-width:none}#outro{bottom:90px}#outro h2{max-width:300px;margin:16px auto 20px}#outro nav{gap:16px}#exit-curtain{flex-direction:column;gap:18px}#commission{gap:8px}#commission button{font-size:14px}}

#outro .coming-soon{font-size:12px;letter-spacing:2px;color:#c3cbbb;margin:0 0 14px}#outro{bottom:52px}#outro h2{margin:12px 0 18px}#replay-outro{margin-top:12px}@media(max-width:750px){#outro{bottom:88px}#outro h2{max-width:300px;font-size:32px}}

/* Quiet closing title; the documents carry the scene. */
#outro{bottom:36px}#outro h2{margin:12px 0 0}#commission{display:none!important}
.motion-word{display:inline-block;white-space:nowrap}.motion-char{display:inline-block;transform-origin:center;}
@media(max-width:750px){#outro{bottom:92px}#outro h2{max-width:340px}}

.vignette::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#000d,transparent 65%);opacity:var(--outro-shade,0)}

.vignette::before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#000b,transparent 48%);opacity:var(--gallery-shade,0)}

.nav-logo{display:inline-flex;align-items:center;gap:9px;justify-self:start;height:36px;color:#e8e8df}.nav-logo span{font-size:14px;letter-spacing:2px}.nav-logo svg{display:block}.nav-logo:hover{color:#fff}

@font-face{font-family:'Sora';src:url('fonts/Sora-Regular.woff2') format('woff2');font-weight:400;font-display:swap}

/* VOLT interface from the desktop masters, with a stacked layout for narrow screens. */
:root {
  --ui-inset: 16px;
  --ui-muted: rgba(255, 255, 255, .4);
  --ui-rule: rgba(255, 255, 255, .08);
  --ui-label-font: 'Sora', sans-serif;
}
#entrance::before { content: none; }
.entry-mark, .nav-logo span {
  font: 14px var(--ui-label-font);
  letter-spacing: 10px;
}
.entry-mark { top: var(--ui-inset); color: #000; margin-right: -10px; }
.entry-center { gap: 16px; }
.entry-separator { width: 1px; height: 12px; background: #00000029; }
#enter { gap: 0; }
#enter .entry-square { margin-right: 8px; }
#enter-arrow { margin-left: 3px; }
#enter, #enter-arrow, .entry-center a, #load-status {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: -.36px;
}
#load-status { bottom: 14px; line-height: 12px; }

#site-nav {
  inset: var(--ui-inset) var(--ui-inset) auto;
  align-items: center;
}
.nav-logo { height: 28px; color: #fff; }
.nav-title {
  font: 12px/12px var(--ui-label-font);
  letter-spacing: -.36px;
  mix-blend-mode: normal;
}
.nav-cta {
  width: 200px;
  height: 31px;
  padding: 4px 12px;
  align-items: center;
  background: #fff;
  letter-spacing: -.42px;
}
.nav-cta:hover { background: #e8e8df; }

#hud { inset: auto 0 0; height: 48px; }
#advance {
  inset: auto auto 0 0;
  transform: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: #fff;
  color: #20241e;
}
#advance:hover { background: #e8e8df; }
#advance:focus-visible { outline-offset: -5px; }
#advance img { transform: rotate(90deg); }
#advance.return-to-start img { transform: rotate(-90deg); }
#scroll-hint, #hud .counter, #gallery-kicker, #detail-number {
  font: 12px/12px var(--ui-label-font);
  letter-spacing: -.36px;
  color: var(--ui-muted);
}
#scroll-hint { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); }
#hud .counter { bottom: 16px; right: var(--ui-inset); }

#atelier {
  width: 264px;
  left: auto;
  right: max(16px, calc((100vw / 3 - 264px) / 2));
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
  color: #f1f2e7;
  letter-spacing: -.42px;
}
.finish-controls { display: grid; gap: 16px; }
.finish-tabs { gap: 4px; }
.finish-tabs button {
  flex: 1;
  color: inherit;
  padding: 0 0 3px;
  border-color: var(--ui-rule);
  line-height: 18px;
}
.samples { padding: 0; }
#swatches { gap: 8px; }
#swatches button::before { inset: -4px; }
#swatches button[aria-pressed=true]::after { inset: -3px; }
#finish-name { color: inherit; }
.detail-nav {
  margin: 0;
  padding: 0;
  border: 0;
  line-height: 18px;
}
.detail-nav {
  padding: 16px 0;
  border-block: 1px solid var(--ui-rule);
  color: #fff;
}
.detail-nav button { padding: 0; }
.experience-actions {
  margin: clamp(24px, 8.9vh, 80px) 0 0;
  padding: 0;
  border: 0;
}

#gallery-caption {
  inset: auto auto 48px 50%;
  width: min(90vw, 600px);
  transform: translateX(-50%);
  text-align: center;
}
#gallery-caption h2, #detail-caption h2 {
  color: #e8e7df;
  line-height: 36px;
  letter-spacing: -.96px;
  margin: 8px 0 0;
}
#gallery-caption h2 { max-width: none; }
#gallery-hint, #reveal-drawing {
  position: fixed;
  top: 50%;
  right: var(--ui-inset);
  margin: 0;
  transform: translateY(-50%);
  font-size: 14px;
  line-height: 18px;
  letter-spacing: -.42px;
  color: #e8e7df;
  z-index: 3;
}
#gallery-hint { pointer-events: none; }
#reveal-drawing { left: auto; bottom: auto; border: 0; }
#detail-caption {
  top: 50%;
  width: 245px;
  left: max(var(--ui-inset), calc(50% - 640px));
  transform: translateY(-50%);
}
#detail-copy { margin: 24px 0 12px; color: var(--ui-muted); line-height: 18px; }
#outro { bottom: 36px; }
#outro h2 { margin: 12px auto 0; }

@media (max-width: 900px) {
  #atelier {
    top: auto;
    bottom: 64px;
    left: 50%;
    right: auto;
    width: min(350px, calc(100vw - 32px));
    transform: translateX(-50%);
  }
  .finish-controls { gap: 10px; }
  .detail-nav { padding: 10px 0; }
  .experience-actions { margin-top: 12px; }
}
@media (max-width: 750px) {
  .nav-cta { width: min(200px, 45vw); }
  .nav-logo span { letter-spacing: 6px; }
  #gallery-caption { bottom: 66px; }
  #gallery-hint, #reveal-drawing {
    top: auto;
    left: 50%;
    right: auto;
    bottom: 140px;
    width: max-content;
    max-width: calc(100vw - 32px);
    transform: translateX(-50%);
    text-align: center;
  }
  #detail-caption {
    top: auto;
    bottom: 72px;
    left: var(--ui-inset);
    width: min(245px, calc(100vw - 32px));
    transform: none;
  }
  #outro { bottom: 64px; }
}

.experience-actions:has(> [hidden]:only-child) { display: none; }

/* Final caption — Figma 655:3320. */
#outro:not([hidden]){display:flex;flex-direction:column;align-items:center;gap:8px}
#outro .outro-kicker{font-family:'Sora',sans-serif;font-weight:400;font-size:12px;line-height:12px;letter-spacing:-.36px;color:rgba(255,255,255,.4)}
#outro h2{font-family:'Inter Tight',sans-serif;font-weight:400;font-size:32px;line-height:36px;letter-spacing:-.96px;color:#e8e7df;margin:0;max-width:none;text-align:center}

/* QA: reliable touch targets without changing the visual hierarchy. */
.finish-tabs button,.detail-nav button{min-height:44px}
#swatches{gap:20px;padding:12px 10px}
#swatches button::before{inset:-12px}
.nav-cta{min-height:44px;align-items:center}
#detail-back,#construction,#reveal-drawing{min-height:44px}
#load-status{width:min(90vw,560px);text-align:center;line-height:1.5}
@media(max-width:750px){.finish-controls{gap:4px}.detail-nav{padding:0}.samples{min-height:44px}#atelier{bottom:max(64px,env(safe-area-inset-bottom))}.experience-actions{margin-top:4px}}
@media(max-height:560px) and (min-width:751px){#atelier{top:52%;width:240px}.experience-actions{margin-top:8px}#detail-caption{width:220px}#detail-copy{margin-top:12px}}

.nav-logo{min-height:44px}

@font-face {
  font-family: 'VOLT Loader';
  src: url('fonts/Sora-Regular.woff2') format('woff2');
  font-display: optional;
}
.entry-mark {
  font-family: 'VOLT Loader', sans-serif;
  width: 100%;
  text-align: center;
  margin: 0;
  padding-left: 10px;
}
#load-status { width: min(440px, calc(100% - 36px)); text-align: center; }
.entry-error #load-status { font-size: 14px; line-height: 1.45; bottom: max(22px, env(safe-area-inset-bottom)); }
.entry-error .load-track { display: none; }

:root { --ui-muted: #dedfd9; --ui-rule: #ffffff42; }
#detail-caption, #reveal-drawing {
  color: #faf9f4;
}
#gallery-caption {
  width: fit-content;
  max-width: calc(100vw - 40px);
  padding: 12px 20px;
}
#gallery-caption > * { translate: 0 var(--caption-offset, 0px); }
#gallery-kicker { text-transform: uppercase; }
#gallery-kicker, #detail-number, #detail-copy, #gallery-caption h2, #detail-caption h2,
#scroll-hint, #hud .counter, .outro-kicker, .finish-tabs button { color: #faf9f4; }
#detail-caption, #atelier { padding: 14px; }
#reveal-drawing { padding: 10px 14px; border: 1px solid #ffffff70; }
#reveal-drawing[aria-pressed=true] { border-color: currentColor; }
@media (max-width: 750px) {
  #gallery-caption { padding: 9px 14px; }
  #gallery-caption h2 { font-size: clamp(22px, 6vw, 32px); line-height: 1.1; }
}

@font-face {
  font-family: 'VOLT Loader Credit';
  src: url('fonts/InterTight-Regular.woff2') format('woff2');
  font-display: optional;
}
.entry-center > a { font-family: 'VOLT Loader Credit', sans-serif; }


#inspection-toggle { display: none; }
.light-rendering .film-grain { animation: none; }
@media (max-width: 750px), (hover: none) and (pointer: coarse) and (max-width: 1000px) {
  #journey { height: 2800vh; height: 2800svh; }
  #atelier { bottom: calc(54px + env(safe-area-inset-bottom)); }
  #detail-caption { bottom: calc(62px + env(safe-area-inset-bottom)); }
  #hud { bottom: env(safe-area-inset-bottom); }
  #reveal-drawing, #construction { touch-action: manipulation; }
  #hotspots button::after { content: ''; position: absolute; inset: -6px; }
}

.light-rendering #inspection-toggle {
  display: block;
  min-height: 44px;
  margin: 0 auto;
  border-bottom: 1px solid currentColor;
}
html:has(body.inspection-locked), body.inspection-locked { overflow: hidden; }
body.inspection-locked #scene canvas { touch-action: none; }
#outro .outro-kicker { color: #faf9f4; }
#outro h2 { color: #faf9f4; }
@media (max-width: 750px) {
  #outro { bottom: calc(66px + env(safe-area-inset-bottom)); }
  #outro h2 { font-size: clamp(22px, 6vw, 32px); line-height: 1.1; }
}

.vignette::before {
  background: linear-gradient(0deg, #000e, #0008 15%, transparent 40%);
}
#atelier button:focus-visible, #detail-caption button:focus-visible, #reveal-drawing:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px #101110;
}

/* Keep detail copy in a fixed left column; shade the scene, not the text block. */
#detail-shade {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  background: linear-gradient(90deg, #080908fa 0%, #080908ed 26%, #080908a8 39%, transparent 62%);
}
#detail-caption {
  left: clamp(20px, 5vw, 100px);
  width: min(265px, 25vw);
  padding: 0;
  
}
#detail-back { min-height: 44px; }
@media (max-width: 750px), (max-aspect-ratio: 1/1) {
  #detail-shade {
    background: linear-gradient(0deg, #080908 0%, #080908f2 25%, #080908ae 40%, transparent 59%);
  }
  #detail-caption {
    top: auto;
    bottom: calc(62px + env(safe-area-inset-bottom));
    left: max(20px, env(safe-area-inset-left));
    transform: none;
    width: min(320px, calc(100vw - 48px));
  }
  #detail-caption h2 { font-size: clamp(23px, 6vw, 32px); line-height: 1.08; }
  #detail-copy { margin: 12px 0 4px; }
}
@media (max-height: 570px) and (max-width: 750px) {
  #detail-caption { bottom: calc(48px + env(safe-area-inset-bottom)); }
  #detail-copy { margin-top: 8px; }
}

#scroll-hint, #hud .counter { opacity: .4; }
