/* Active experience only. Archived studies keep their original behavior. */
.room-scene .room-sculpture{opacity:0;visibility:hidden;transition:none}
.room-scene.is-revealed .room-sculpture{opacity:1;visibility:visible}
.room-key{position:absolute;left:68%;top:49%;z-index:4;width:clamp(64px,10vw,112px);padding:8px 5px;border:0;background:none;color:#dfc99f;cursor:pointer;display:flex;align-items:center;flex-direction:column;gap:12px;transition:filter .3s}
.room-key img{width:100%;height:90px;object-fit:contain;filter:invert(1)}
.room-key span{font:10px/1.5 system-ui,sans-serif;letter-spacing:.03em;white-space:nowrap}
.room-key:hover{filter:drop-shadow(0 0 7px #ccb78488)}
.room-key:focus-visible{outline:1px solid #d5bc8b;outline-offset:6px;border-radius:3px}
.room-key.used{color:#b6b3a9}.room-key.used img{opacity:.55}
.fantasy-doors{pointer-events:none}
@media(max-width:700px){.room-key{left:69%;width:65px;top:48%}.room-key img{height:70px}.room-key span{font-size:9px;white-space:normal;text-align:center}}
@media(prefers-reduced-motion:reduce){.fantasy-doors:not(.is-open) .fantasy-left,.fantasy-doors:not(.is-open) .fantasy-right{transform:rotateY(0)}.fantasy-doors.is-open .fantasy-left{transform:rotateY(-82deg)}.fantasy-doors.is-open .fantasy-right{transform:rotateY(82deg)}}
.scroll-story{height:1200svh}
.story-clock{position:absolute;inset:0;z-index:4;display:grid;place-items:center;pointer-events:none;opacity:0;background:#050609}
.clock-drawing{position:relative;width:min(74vw,610px);aspect-ratio:1}
.clock-drawing img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
@media(max-width:700px){.clock-drawing{width:90vw}}
@media(prefers-reduced-motion:reduce){.scroll-story{height:100svh}.story-clock{display:none}}
.clock-drawing{aspect-ratio:1200/1360;width:min(66vw,510px,68svh)}
.clock-minute{transform-origin:50.49261083743842% 48.434782608695656%;transform:rotate(calc(var(--clock-progress,0) * 144.87345862299523deg))}
@media(max-width:700px){.clock-drawing{width:min(83vw,65svh)}}
/* Keep focus from vertically scrolling the pinned stage's hidden overflow. */
.story-stage,.story-stage>.museum-rooms{overflow:clip}
.story-stage>.museum-rooms .room-scene{height:calc(100svh - 305px)}
.room-key{left:76%}
@media(max-width:700px){.room-key{left:77%;width:57px}.story-stage>.museum-rooms .room-scene{height:calc(100svh - 310px);min-height:250px}}
html,body,.scroll-story,.story-stage,.museum-rooms,.room-track,.sculpture-room{overflow-anchor:none;scroll-behavior:auto}
.rooms-heading .eyebrow,.room-label>span:last-of-type,.rooms-exit,.story-title>p,.story-title>.eyebrow{display:none}
.rooms-heading h2{margin-top:0}.rooms-invitation h2,.rooms-invitation p:last-child{display:none}.rooms-invitation p:first-child{font:clamp(18px,3vw,34px)/1.4 Georgia,serif}
.room-art{position:absolute;inset:0;transform-origin:50% 78%;transition:transform 1.45s cubic-bezier(.22,.65,.25,1);will-change:transform}
.room-scene.is-closeup .room-art{transform:scale(2.25)}
.room-scene.is-closeup .room-key{opacity:0;pointer-events:none}
.room-key{transition:opacity .65s,filter .3s}
.sculpture-note{font:12px/1.7 system-ui,sans-serif;color:#d6d0c3;margin:10px auto 0;max-width:320px;opacity:0;transform:translateY(5px);transition:opacity .8s .95s,transform .8s .95s}
.show-note .sculpture-note{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.room-art{transition:none}.room-scene.is-closeup .room-art{transform:none}.sculpture-note{transition:none;transform:none}.room-scene.is-closeup .room-key{opacity:.5}}
.clock-drawing .clock-winder{position:absolute;z-index:0;left:40%;top:-17%;width:21%;height:29%;overflow:hidden}
.clock-drawing .clock-winder img{position:absolute;inset:0;width:100%;height:auto;object-fit:contain;filter:drop-shadow(0 0 1px #faf5e8) drop-shadow(0 0 2px #faf5e8)}
.clock-drawing .clock-face,.clock-drawing .clock-hour,.clock-drawing .clock-minute{z-index:1}
.clock-drawing .clock-winder{top:-14%}

/* Fit the original leaves to the existing arch; keep outer-edge hinges. */
.room-art .fantasy-doors{height:40%;width:26.5%;max-width:none;bottom:8.5%}
.room-key{left:50%;top:44%;transform:translateX(-50%);width:80px;min-height:110px}
.room-key img{transform-origin:50% 5%;animation:key-sway 4.7s ease-in-out infinite alternate}
.sculpture-room:nth-child(2n) .room-key img{animation-duration:5.3s;animation-delay:-1.2s}.sculpture-room:nth-child(3n) .room-key img{animation-duration:4.2s;animation-delay:-2s}
@keyframes key-sway{0%{transform:rotate(-6deg)}45%{transform:rotate(1deg)}100%{transform:rotate(5deg)}}
.room-key:hover img,.room-key:focus-visible img{animation-play-state:paused}.room-key.used img{animation:none}
.story-ending{margin:12px auto 0;font:12px/1.5 system-ui,sans-serif}.story-ending>p{margin:0 0 8px}.story-ending>div{display:flex;justify-content:center;gap:24px}.story-ending a,.story-ending button{color:#dfc99f;font:inherit;background:none;border:0;border-bottom:1px solid #dfc99f66;padding:4px 0;cursor:pointer}
#trailer-dialog{width:min(850px,92vw);max-height:90svh;background:#101116;color:#eee9db;border:1px solid #5b5447;padding:20px}#trailer-dialog::backdrop{background:#000c}.trailer-heading{display:flex;align-items:center;justify-content:space-between}.trailer-heading h2{font:22px Georgia,serif;margin:0 0 16px}.trailer-heading button{background:none;color:inherit;border:0;font:28px sans-serif;cursor:pointer}#trailer-player iframe{width:100%;aspect-ratio:16/9;border:0}#trailer-dialog>a{display:inline-block;color:#dfc99f;margin-top:14px;font:12px system-ui}
@media(max-width:700px){.room-key{left:50%;top:44%;width:65px}.story-ending>div{gap:18px}.story-ending{font-size:11px}}
@media(prefers-reduced-motion:reduce){.room-key img{animation:none}}
.room-art .fantasy-doors{width:calc((100svh - 305px)*.29);max-width:188px}
.story-museum{display:block}.story-museum img{position:absolute;bottom:0;width:max(100%,1000px);min-width:0;max-width:none;left:50%;transform:translateX(-50%)}
.story-museum .wing-left{transform:translateX(-150%)}.story-museum .wing-right{transform:translateX(50%)}
@media(max-width:700px){.room-art .fantasy-doors{width:max(72px,calc((100svh - 310px)*.29))}}
.clock-drawing{width:min(58vw,450px,49svh);transform:translateY(8svh)}
.clock-drawing .clock-winder{left:31.5%;top:-39%;width:38%;height:43%}
.room-key span{background:#08090ddd;padding:4px 7px;border-radius:3px;color:#eee4cb}
@media(max-width:700px){.clock-drawing{width:min(75vw,49svh)}}
#trailer-dialog[open]{display:block;height:auto;min-height:0}#trailer-player{width:100%;aspect-ratio:16/9;background:#050609}#trailer-player iframe{display:block;height:100%;max-height:none}#trailer-dialog .trailer-heading{width:100%;margin:0 0 12px;padding:0}#trailer-dialog .trailer-heading h2{margin:0}

/* After the key opens the leaves, scrolling—not a timer—moves the camera. */
.room-scene .room-art,.room-scene.is-closeup .room-art{transform:scale(calc(1 + var(--room-zoom,0)*1.25));transition:transform .12s linear}.sculpture-note{transition:opacity .3s,transform .3s}.room-scene.is-revealed:not(.is-closeup) .room-key span{background:#08090ddd}
@media(prefers-reduced-motion:reduce){.room-scene .room-art,.room-scene.is-closeup .room-art{transform:none;transition:none}.sculpture-note{transition:none}}

.clock-drawing .clock-winder .clock-winder-silhouette{position:absolute;inset:0;width:100%;height:auto;display:block;z-index:0}.clock-drawing .clock-winder img{z-index:1;filter:none}
.room-key img{filter:invert(1) drop-shadow(0 0 2px #fff6dccc) drop-shadow(0 0 7px #e8ce8c88)}.room-key:hover img,.room-key:focus-visible img{filter:invert(1) drop-shadow(0 0 3px #fff9e6) drop-shadow(0 0 10px #f0dca5aa)}.room-key.used img{filter:invert(1) drop-shadow(0 0 2px #ead7ac66)}
.room-scene .room-arch,.room-scene .fantasy-doors{opacity:clamp(0,calc(1 - var(--room-zoom,0)*1.7),1);transition:opacity .16s linear}@media(prefers-reduced-motion:reduce){.room-scene .room-arch,.room-scene .fantasy-doors{transition:none}}
/* Original keys on fitted white bodies; no added keyhole or ornamental badge. */
.room-key .key-drawing{position:relative;display:block;width:100%;height:90px;background:none;padding:0;border:0;border-radius:0;animation:key-sway 4.7s ease-in-out infinite alternate;transform-origin:50% 5%;filter:drop-shadow(0 0 3px #fff6dc88) drop-shadow(0 0 8px #e8ce8c44)}
.room-key .key-drawing img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:none!important;animation:none!important;opacity:1}.room-key .key-white{z-index:0}.room-key .key-ink{z-index:1}.room-key:hover .key-drawing,.room-key:focus-visible .key-drawing{animation-play-state:paused;filter:drop-shadow(0 0 5px #fff6dca0)}.room-key.used .key-drawing{animation:none;opacity:.6}.sculpture-room:nth-child(2n) .key-drawing{animation-duration:5.3s;animation-delay:-1.2s}.sculpture-room:nth-child(3n) .key-drawing{animation-duration:4.2s;animation-delay:-2s}
.room-scene .room-arch{z-index:3}.room-scene .room-sculpture{z-index:0}.room-art .fantasy-doors{z-index:2;clip-path:polygon(0 100%,0 27%,3% 18%,10% 10%,21% 4%,35% 1%,50% 0,65% 1%,79% 4%,90% 10%,97% 18%,100% 27%,100% 100%);border-radius:50% 50% 0 0 / 27% 27% 0 0;overflow:hidden;transform-style:flat;bottom:9%;height:39%;width:calc((100svh - 305px)*.29)}
.room-scene .room-art,.room-scene.is-closeup .room-art{transform:scale(calc(1 + var(--room-zoom,0)*2.15));transform-origin:50% 76%}.sculpture-room:nth-child(2) .room-art{transform-origin:50% 73%}.sculpture-room:nth-child(3) .room-art{transform-origin:50% 76%}.sculpture-room:nth-child(6) .room-art{transform-origin:50% 74%}
@media(max-width:700px){.room-key .key-drawing{height:70px}.room-art .fantasy-doors{width:max(72px,calc((100svh - 310px)*.29))}}
@media(prefers-reduced-motion:reduce){.room-key .key-drawing{animation:none}.room-scene .room-art,.room-scene.is-closeup .room-art{transform:none}}
/* Fit every complete original sculpture inside the available scene at every zoom.
   Each source is tightly alpha-bounded; object-fit:contain protects head, limbs and base. */
.room-scene .room-art,.room-scene.is-closeup .room-art{transform:none!important;transition:none}
.room-scene .room-sculpture,.room-scene .room-sculpture.hades{width:calc(20% + var(--room-zoom,0)*70%);height:calc(31% + var(--room-zoom,0)*59%);bottom:calc(9% - var(--room-zoom,0)*4%);max-width:90%;max-height:90%;object-fit:contain;object-position:center;transition:width .12s linear,height .12s linear,bottom .12s linear}
@media(prefers-reduced-motion:reduce){.room-scene .room-sculpture,.room-scene .room-sculpture.hades{transition:none}}
.clock-drawing .clock-winder img.clock-winder-silhouette{z-index:0;filter:none;pointer-events:none}.clock-drawing .clock-winder img:not(.clock-winder-silhouette){z-index:1}

/* Scroll-linked entrance fades sooner; no trailing time-based tween. */
.story-museum,.story-gates{transition:none}
.room-key{width:104px;min-height:146px}.room-key .key-drawing{height:120px;filter:drop-shadow(0 0 3px #fff9e8bb) drop-shadow(0 0 10px #edd69b88)}.room-key:hover .key-drawing,.room-key:focus-visible .key-drawing{filter:drop-shadow(0 0 4px #fff9e8dd) drop-shadow(0 0 12px #edd69baa)}
@media(max-width:700px){.room-key{width:84px;min-height:126px}.room-key .key-drawing{height:100px}}
.room-key.turning .key-drawing{animation:key-turn .62s cubic-bezier(.3,.1,.25,1) both!important;transform-origin:50% 50%}@keyframes key-turn{0%{transform:perspective(500px) rotateY(0) rotate(0)}60%{transform:perspective(500px) rotateY(105deg) rotate(8deg)}100%{transform:perspective(500px) rotateY(180deg) rotate(0)}}
.final-room{display:grid;place-items:center;align-self:stretch;min-height:calc(100svh - 180px)}.final-room-inner{width:min(620px,85%);text-align:center;padding:30px 0}.final-room .story-ending{margin:0}.final-room .story-ending>p{font:clamp(26px,4vw,48px)/1.25 Georgia,serif;max-width:560px;margin:0 auto 42px}.final-room .story-ending>div{display:grid;grid-template-columns:1fr 1fr;gap:24px}.final-room .story-ending a,.final-room .story-ending button{display:flex;justify-content:center;align-items:center;min-height:100px;padding:25px 16px;border:1px solid #b6a78066;background:#ffffff04;font-size:16px}.final-room .story-ending a:hover,.final-room .story-ending button:hover{background:#ffffff0c}@media(max-width:600px){.final-room .story-ending>div{grid-template-columns:1fr;gap:16px}.final-room .story-ending a,.final-room .story-ending button{min-height:70px;font-size:14px}.final-room .story-ending>p{margin-bottom:30px}}
@media(prefers-reduced-motion:reduce){.room-key.turning .key-drawing{animation:none!important}}
/* Quiet only the closed doorway behind its interactive key; original art restores on unlock. */
.room-scene:not(.is-revealed) .room-arch{filter:invert(1) brightness(.8)}
.room-scene:not(.is-revealed) .fantasy-doors{filter:brightness(.8)}
.room-key:not(.used) .key-drawing{filter:drop-shadow(0 0 4px #fff9e8ee) drop-shadow(0 0 13px #edd69baa)}
.room-key:not(.used):hover .key-drawing,.room-key:not(.used):focus-visible .key-drawing{filter:drop-shadow(0 0 5px #fff9e8) drop-shadow(0 0 15px #edd69bcc)}
.room-key>span:not(.key-drawing){display:inline-block;white-space:nowrap;font:500 12px/1.4 system-ui,sans-serif;letter-spacing:.025em;color:#fff8e8;background:#08090df5;border:1px solid #e9d6ad88;border-radius:4px;padding:7px 10px;box-shadow:0 2px 12px #0009}
.room-key:focus-visible{outline:2px solid #fff3ce;outline-offset:5px}
/* The unlocked key leaves the stage; identity appears only after entry. */
.room-key{transition:opacity .45s ease}.room-key.used{opacity:0;pointer-events:none}
.room-key .key-drawing{scale:1;transition:scale .22s ease}
.room-key:not(.used):hover .key-drawing,.room-key:not(.used):focus-visible .key-drawing{scale:1.09}
.room-art .fantasy-doors{left:51%}
.sculpture-room:not(.final-room){position:relative}
.sculpture-room:not(.final-room) .room-label{position:absolute;left:58%;right:4%;top:38%;padding:0;text-align:left;opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .6s ease,transform .6s ease,visibility .6s;pointer-events:none}
.sculpture-room.show-note .room-label{opacity:1;visibility:visible;transform:none;text-shadow:0 0 16px #f3e6bf35}
.sculpture-room .room-label>span{display:none}.sculpture-room .room-label h3{font-size:clamp(22px,2.8vw,38px);line-height:1.2;margin:0 0 18px}
.sculpture-room .sculpture-note{font-size:14px;line-height:1.7;max-width:320px}
.room-scene .room-sculpture,.room-scene .room-sculpture.hades{left:calc(50% - var(--room-zoom,0)*22%);width:calc(20% + var(--room-zoom,0)*30%);height:calc(31% + var(--room-zoom,0)*59%);transition:width .12s linear,height .12s linear,bottom .12s linear,left .12s linear}
.final-room .story-ending a,.final-room .story-ending button{position:relative;z-index:8;pointer-events:auto;touch-action:manipulation}
@media(max-width:700px){.room-scene .room-sculpture,.room-scene .room-sculpture.hades{left:50%;width:calc(20% + var(--room-zoom,0)*70%);height:calc(31% + var(--room-zoom,0)*34%);bottom:calc(9% + var(--room-zoom,0)*23%)}.sculpture-room:not(.final-room) .room-label{left:8%;right:8%;top:auto;bottom:0;text-align:center}.sculpture-room .room-label h3{font-size:21px;margin-bottom:8px}.sculpture-room .sculpture-note{font-size:12px;margin:0 auto;line-height:1.5}}
@media(prefers-reduced-motion:reduce){.room-key,.room-key .key-drawing,.sculpture-room .room-label{transition:none}.room-key:not(.used):hover .key-drawing,.room-key:not(.used):focus-visible .key-drawing{scale:1}}

#room-count{visibility:hidden}
/* A closer editorial pairing, with complete artwork still contained. */
@media(min-width:701px){.room-scene .room-sculpture,.room-scene .room-sculpture.hades{left:calc(50% - var(--room-zoom,0)*17%);width:calc(20% + var(--room-zoom,0)*36%)}.sculpture-room:not(.final-room) .room-label{left:57%;right:4%}}
.room-key>span:not(.key-drawing){font-size:11px;padding:7px 8px}
/* Size the modal from its 16:9 player, not a percentage-height iframe cycle. */
#trailer-dialog[open]{display:block;width:min(1100px,94vw,calc((94svh - 78px)*16/9));height:fit-content;min-height:0;max-height:94svh;padding:8px;overflow:auto;gap:0}
#trailer-dialog .trailer-heading{height:32px;margin:0 0 5px;align-items:center}
#trailer-dialog .trailer-heading h2{font-size:15px;line-height:1.2}
#trailer-dialog .trailer-heading button{height:32px;width:36px;line-height:1;font-size:26px;padding:0}
#trailer-player{position:relative;width:100%;height:auto;min-height:0;aspect-ratio:16/9}
#trailer-player iframe{position:absolute;inset:0;display:block;width:100%;height:100%;aspect-ratio:auto;border:0}
#trailer-dialog>a{margin-top:6px;font-size:11px;line-height:16px}
/* Keep the whole figure inside its own column; no wide sculpture can enter text. */
@media(min-width:701px){.room-scene .room-sculpture,.room-scene .room-sculpture.hades{left:calc(50% - var(--room-zoom,0)*20%);width:calc(20% + var(--room-zoom,0)*30%)}.sculpture-room:not(.final-room) .room-label{left:58%;right:3%}}
.final-about{display:inline-block;margin-top:30px;font-size:13px;color:#d9cfb6;text-decoration:underline;text-underline-offset:5px;position:relative;z-index:8}

/* Death's landscape composition: modestly larger inside a separate art column. */
@media(min-width:701px){.room-scene #statue-5{left:calc(50% - var(--room-zoom,0)*21%);width:calc(20% + var(--room-zoom,0)*36%)}}@media(max-width:700px){.room-scene #statue-5{width:calc(20% + var(--room-zoom,0)*76%);max-width:96%}}

.museum-rooms{overscroll-behavior:contain}.museum-rooms .room-track{overflow-x:hidden;scroll-snap-type:none;touch-action:pan-y}#room-next{width:auto;min-width:100px;padding:0 13px;font-size:11px}

#room-prev,#room-next{position:fixed;top:50%;transform:translateY(-50%);z-index:40;width:48px;min-width:48px;height:64px;padding:0;border:0;border-radius:0;background:transparent;color:#f4efdf;font:300 42px/1 Georgia,serif;opacity:.8}#room-prev{left:10px}#room-next{right:10px}#room-prev:hover,#room-next:hover,#room-prev:focus-visible,#room-next:focus-visible{opacity:1;background:#ffffff09;outline:1px solid #ffffff55}#room-prev:disabled,#room-next:disabled{opacity:.16;cursor:default}@media(max-width:600px){#room-prev{left:0}#room-next{right:0}#room-prev,#room-next{width:36px;min-width:36px}}

.museum-rooms>.rooms-heading{z-index:50;pointer-events:none}.room-arrows{pointer-events:none}.room-arrows button{pointer-events:auto}

.gallery-active #scroll-cue{visibility:hidden}.gallery-active .museum-rooms>.rooms-hint{position:absolute;left:50%;right:auto;top:auto;bottom:21px;transform:translateX(-50%);width:max-content;max-width:70%;margin:0;text-align:center;font-size:10px;line-height:1.5;z-index:30;pointer-events:none}@media(max-width:600px){.gallery-active .museum-rooms>.rooms-hint{bottom:70px;max-width:68%;font-size:9px}}
#room-prev:hover,#room-next:hover,#room-prev:focus-visible,#room-next:focus-visible{background:transparent;border:0;outline:none;box-shadow:none;text-shadow:0 0 6px #fff,0 0 16px #e7d5a6;filter:drop-shadow(0 0 3px #fff8)}#room-prev:focus-visible,#room-next:focus-visible{text-decoration:underline;text-underline-offset:8px;text-decoration-thickness:1px}#room-prev:disabled,#room-next:disabled{filter:none;text-shadow:none;text-decoration:none}

.museum-rooms .room-track{padding:0;width:100%;max-width:none}.museum-rooms .sculpture-room{flex:0 0 100%;width:100%;max-width:none;margin:0}

#room-count{visibility:visible;position:fixed;top:26px;left:50%;transform:translateX(-50%);font:10px/1.4 system-ui,sans-serif;letter-spacing:.16em;color:#eee7d7;opacity:.7;text-align:center;pointer-events:none}@media(max-width:600px){#room-count{top:24px;font-size:9px}}
/* Icarus: a single typographic column, independent of the figure's bounds. */
.sculpture-room:nth-child(6) .room-label{display:flex;flex-direction:column;align-items:flex-start;text-align:left}.sculpture-room:nth-child(6) .room-label h3,.sculpture-room:nth-child(6) .sculpture-note{width:100%;max-width:320px;margin-left:0;margin-right:0;text-align:left}.sculpture-room:nth-child(6) .room-label h3{margin-top:0;margin-bottom:12px}.sculpture-room:nth-child(6) .sculpture-note{margin-top:0;margin-bottom:0}@media(max-width:600px){.sculpture-room:nth-child(6) .room-label{left:8%;right:8%;align-items:flex-start}.sculpture-room:nth-child(6) .room-label h3{margin-bottom:8px}}
