/* Each room and its playable screen share a single photographic coordinate plane. */
body{background:#10140f}.header{position:absolute;left:0;top:0;width:100%;height:96px;margin:0;padding:0 4.5%;z-index:20;border-bottom:1px solid #ead7ab22;color:#f5e9d3;background:linear-gradient(#080d0bbc,transparent)}.header-cta{border-color:#e5d3ac66}.header nav a span{color:#d1c1a4}.intro-line{position:absolute;top:99px;left:4.5%;right:4.5%;margin:0;z-index:10;color:#d8c9a9}.intro-line i{background:#dfbb7a}.journey{height:510vh}.stage{height:100svh;min-height:650px;max-height:none;color:#f5ecd9;background:#10140f}.scene-world{position:absolute;left:50%;top:50%;width:max(100vw,177.778vh);height:max(56.25vw,100vh);--camera-x:50%;--camera-y:50%;--camera-zoom:1;transform:translate(calc(-1 * var(--camera-x)),calc(-1 * var(--camera-y))) scale(calc(var(--camera-zoom) * var(--assembly-view,1)));transform-origin:var(--camera-x) var(--camera-y);transition:transform .85s cubic-bezier(.2,.7,.2,1);isolation:isolate}.room-layer{position:absolute;inset:0;opacity:0;transition:opacity .8s ease;pointer-events:none}.room-layer.active{opacity:1}.room-layer img{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;display:block}.room-shade{position:absolute;inset:0;z-index:3;pointer-events:none;background:linear-gradient(90deg,#0c110ee6 0%,#0e130eb5 22%,#0e130e6b 42%,transparent 64%),linear-gradient(0deg,#080d0cc4,transparent 19%,transparent 78%,#090e0b3b)}.chapter-copy{left:7%;top:25%;width:44%;z-index:4;transition:opacity .4s,transform .6s}.chapter-count{color:#bdac8a}.eyebrow{font-size:9px;letter-spacing:1.6px}h1{font-family:'Segoe UI',sans-serif;font-size:clamp(42px,5.2vw,82px);letter-spacing:-3.6px;line-height:1.05;font-weight:500;margin:25px 0}h1>span{color:#d6bc8c}.description{font-size:13px;line-height:1.85;color:#d0c5af;max-width:320px;text-shadow:0 1px 5px #0009}.primary{background:#ddbc82;color:#242c22;min-width:190px;font-weight:600;border-radius:2px;box-shadow:0 4px 20px #0003}.primary:hover{background:#f0d4a2}.key-hint{color:#c1b295}.key{border-color:#ddc69855}.era-foot{margin-top:34px}.era-number{font-size:33px;color:#e0cda8}.era-name{color:#b5a489}.scene-location{position:absolute;top:154px;right:6%;display:flex;flex-direction:column;align-items:end;gap:8px;z-index:4;font:8px monospace;letter-spacing:1.6px;color:#d0bd97}.scene-location .device-coordinate{position:static;font:7px monospace;color:#ad9f85;letter-spacing:1px}.device-stage.scene-description{position:absolute;left:auto;right:6%;top:auto;bottom:78px;width:37%;height:auto;z-index:4;perspective:none}.scene-description .device-caption{position:static;font:8px monospace;color:#c9b68f;letter-spacing:1px}.device-caption i{background:#d6b77c;box-shadow:0 0 6px #d6b77c66}.timeline{top:43%;right:2.3%;z-index:6}.timeline button{color:#b5aa96}.timeline i{border-color:#b5aa9688}.timeline button.active{color:#ffdf9e}.timeline button.active i{background:#ffdf9e;box-shadow:0 0 0 4px #ffdf9e16}.timeline>div{border-color:#b5aa9633}.stage-bottom{left:7%;right:6%;bottom:28px;z-index:6;color:#cabb9e}.stage-note{color:#988b70}.scroll-mouse{border-color:#b2a184}.scroll-mouse:after{border-color:#b2a184}.live-status{color:#efdab2;top:15%;right:6%;z-index:7;font-size:10px}.game-toolbar{left:0;right:0;bottom:74px;justify-content:center}.game-toolbar button{background:#172219e0;color:#f0dfbd;border:1px solid #d8bb7955;backdrop-filter:blur(12px)}.touch-controls{right:0;left:0;justify-content:center;bottom:126px}.touch-controls button{background:#192b23eb;color:#ecd7ab;border:1px solid #d6b77c66}.photo-device{position:absolute;left:0;top:0;width:28%;height:auto;aspect-ratio:1;transform:none;scale:1;filter:drop-shadow(4px 8px 6px #0007);opacity:0;pointer-events:none;z-index:2}.hardware{inset:0;background-image:var(--atlas);background-size:300% 100%;background-repeat:no-repeat}.hardware.rear{background-position:100% 0;z-index:0}.hardware.core{background-position:50% 0;z-index:1}.hardware.face{background-position:0 0;z-index:2}.photo-1972{left:59%;top:8%;width:27%;filter:brightness(.8) sepia(.14) drop-shadow(4px 8px 6px #0007)}.photo-1982{left:55%;top:13%;width:33%;filter:brightness(.7) sepia(.08) drop-shadow(4px 8px 6px #0007)}.photo-1989{left:62%;top:60%;width:17%;filter:brightness(.85) sepia(.08) drop-shadow(3px 7px 5px #0008)}.world-screen{position:absolute;z-index:2;overflow:hidden;box-shadow:inset 0 0 5px #0007;isolation:isolate;transform-origin:center}.world-screen canvas{display:block;width:100%;height:100%;image-rendering:pixelated}.world-screen .glass{box-shadow:inset 0 0 8px 3px #0009;background:repeating-linear-gradient(0deg,#0002 0 1px,transparent 1px 3px),linear-gradient(125deg,#fff1,transparent 35%);border-radius:inherit}.screen-1972{left:63%;top:23%;width:15%;height:20%;border-radius:9%/12%;filter:brightness(.9)}.screen-1982{left:64.5%;top:33%;width:14%;height:19%;border-radius:8%/6%;filter:brightness(.95)}.screen-1989{left:70%;top:67%;width:6%;height:8%;border-radius:2%;filter:brightness(.85)}.stage.is-playing .chapter-copy{opacity:0;transform:translateX(-30px);pointer-events:none}.stage.is-playing .scene-location{opacity:0}.stage.is-playing .room-shade{background:linear-gradient(0deg,#080d0cd9,transparent 20%,transparent 85%,#080d0c66)}.stage[data-era="0"].is-playing .scene-world{--camera-x:73%;--camera-y:34%;--camera-zoom:1.8}.stage[data-era="1"].is-playing .scene-world{--camera-x:72%;--camera-y:45%;--camera-zoom:1.6}.stage[data-era="2"].is-playing .scene-world{--camera-x:75%;--camera-y:76%;--camera-zoom:3.2}.collection,.endnote,footer{position:relative;z-index:10}.collection{background:#e8e5da}.endnote{background:#f1f0e7}footer{background:#f1f0e7;margin:0;padding:25px 5%}body:has(.collection:hover) .header{pointer-events:auto}
@media(max-width:760px){.header{height:80px;padding:0 6%;position:absolute}.intro-line{top:96px;left:7%;font-size:6px}.intro-line>span:last-child{display:none}.stage{height:100svh;min-height:740px}.journey{height:500vh}.scene-world{--camera-x:72%;--camera-y:42%}.stage[data-era="0"] .scene-world{--camera-x:74%;--camera-y:35%}.stage[data-era="2"] .scene-world{--camera-x:75%;--camera-y:58%}.chapter-copy{left:7%;top:17%;width:86%;max-width:390px}.eyebrow{font-size:7px;gap:12px}.chapter-copy h1{font-size:39px;letter-spacing:-2px;margin:15px 0}.description{font-size:11px;max-width:285px;line-height:1.7;margin:0}.primary{margin-top:18px;padding:12px 16px;font-size:11px;min-width:153px;box-shadow:0 2px 10px #0006}.key-hint{position:static;margin-top:11px;font-size:8px}.era-foot{display:none}.room-shade{background:linear-gradient(180deg,#0b110fe8, #0b110fad 26%,#0b110f18 49%,transparent 65%,#0b110fa8),linear-gradient(90deg,#0b110f44,transparent)}.scene-location{top:auto;right:7%;bottom:123px;font-size:6px;letter-spacing:1px}.scene-location .device-coordinate{font-size:6px}.device-stage.scene-description{left:7%;right:7%;bottom:91px;width:auto}.scene-description .device-caption{font-size:6px}.timeline{top:55%;right:3%}.stage-bottom{left:7%;right:7%;bottom:24px;font-size:6px}.game-toolbar{bottom:72px}.touch-controls{bottom:116px}.live-status{top:13%;right:7%;font-size:8px}.stage.is-playing .scene-world{--camera-zoom:1.4!important}.stage[data-era="0"].is-playing .scene-world{--camera-x:71%;--camera-y:35%}.stage[data-era="1"].is-playing .scene-world{--camera-x:72%;--camera-y:44%}.stage[data-era="2"].is-playing .scene-world{--camera-x:75%;--camera-y:74%;--camera-zoom:2.5!important}.stage.is-playing .chapter-copy{opacity:0}.scene-world{transition:transform .7s ease}.collection{padding-top:45px}}
@media(prefers-reduced-motion:reduce){.scene-world,.room-layer,.chapter-copy{transition:none}}
/* Tight framing keeps the actual screen large while retaining room context. */
.stage[data-era="0"] .scene-world{--camera-x:60%;--camera-y:42%;--camera-zoom:3}
.stage[data-era="1"] .scene-world{--camera-x:55%;--camera-y:49%;--camera-zoom:1.04}
.stage[data-era="2"] .scene-world{--camera-x:68.5%;--camera-y:69.5%;--camera-zoom:2.3}
.stage[data-era="0"].is-playing .scene-world{--camera-x:67.2%;--camera-y:41.1%;--camera-zoom:3.8}
.stage[data-era="1"].is-playing .scene-world{--camera-x:70.5%;--camera-y:32.2%;--camera-zoom:2.1}
.stage[data-era="2"].is-playing .scene-world{--camera-x:78.8%;--camera-y:63.8%;--camera-zoom:4.2}
.screen-1972{left:62.85%;top:35.5%;width:8.58%;height:11.32%;border-radius:8%/13%}
.screen-1982{left:64.15%;top:23.3%;width:12.75%;height:17.65%;border-radius:7%/7%;transform:skewX(-1.6deg)}
.screen-1989{left:76.15%;top:60.18%;width:5.4%;height:7.5%;transform:skewX(-13deg) rotate(3deg);border-radius:2%}
.photo-1972{left:61.05%;top:30.8%;width:14.3%;perspective:1000px}
.photo-1982{left:44.5%;top:7.7%;width:42.4%;perspective:1000px}
.photo-1989{left:68.2%;top:56.6%;width:18.4%;perspective:1000px}
.photo-1982 .hardware.core{left:11%;right:-11%}.photo-1982 .hardware.rear{left:20%;right:-20%}
.hardware{backface-visibility:hidden;transform-style:preserve-3d}
.component-image{height:auto;aspect-ratio:1;background-image:var(--atlas);background-size:300% 400%;background-repeat:no-repeat;backface-visibility:hidden;transform-style:preserve-3d;filter:drop-shadow(1px 3px 2px #0006)}
.photo-1972{--assembly-shift:-70px}.photo-1982{--assembly-shift:-40px}.photo-1989{--assembly-shift:-55px}
.stage[data-exploding="true"] .chapter-copy{opacity:.35;pointer-events:none}.stage.is-playing[data-exploding] .chapter-copy{opacity:0}
.photo-1982{left:49.5%;top:4%;width:42%}
@media(max-width:760px){
 .stage[data-era="0"] .scene-world{--camera-x:67.5%;--camera-y:33%;--camera-zoom:1.65}
 .stage[data-era="1"] .scene-world{--camera-x:70.5%;--camera-y:28%;--camera-zoom:.78}
 .stage[data-era="2"] .scene-world{--camera-x:78%;--camera-y:52%;--camera-zoom:1.3}
 .photo-1972{--assembly-shift:-25px}.photo-1982{--assembly-shift:-5px}.photo-1989{--assembly-shift:-20px}
 .chapter-copy{top:15%}.chapter-copy h1{font-size:33px;line-height:1.05;margin:14px 0}
 .chapter-copy .description{display:none}.chapter-copy .primary{margin-top:12px}.key-hint{font-size:7px}
 .scene-location{display:none}.scene-description .device-caption{font-size:6px}
 .stage[data-era="0"].is-playing .scene-world{--camera-x:67.15%;--camera-y:41.2%;--camera-zoom:1.9!important}
 .stage[data-era="1"].is-playing .scene-world{--camera-x:70.5%;--camera-y:32%;--camera-zoom:1.25!important}
 .stage[data-era="2"].is-playing .scene-world{--camera-x:78.8%;--camera-y:63.9%;--camera-zoom:3!important}
}

/* Persistent 3D assemblies use the same geometry and material at every scroll position. */
.stage[data-renderer="3d"] .room-assembled,.stage[data-renderer="3d"] .photo-device,.stage[data-renderer="3d"] .world-screen{display:none!important}
.mechanical-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:2;display:block;touch-action:pan-y}
.journey{height:720vh}
@media(max-width:760px){.journey{height:690vh}}

.stage[data-renderer="3d"] .scene-world{transition:none}

.stage[data-renderer="3d"] .room-layer{scale:var(--room-compensate,1);transform-origin:var(--camera-x) var(--camera-y)}

/* Keep the physical controls visible while playing. */
.stage.is-playing .stage-bottom,.stage.is-playing .scene-description{display:none}
.stage.is-playing .game-toolbar{bottom:24px}
.stage.is-playing .touch-controls{bottom:76px}

/* Room dissolves follow the damped scroll position in both directions. */
.room-layer{transition:none;will-change:opacity}

.chapter-copy{opacity:var(--chapter-opacity,1)}
.stage.is-playing .chapter-copy{opacity:0}

/* Keep transition text fading even while hardware is exploded. */
.stage[data-exploding="true"] .chapter-copy{opacity:calc(var(--chapter-opacity,1) * .35)}
.stage.is-playing[data-exploding] .chapter-copy{opacity:0}

/* Multi-game cartridges and cabinet selection. */
.game-choice{display:flex;align-items:center;gap:10px;margin-top:15px;color:#cabb9e;font:9px monospace;letter-spacing:.8px}
.game-choice select,.game-toolbar select{background:#172219;color:#efdbad;border:1px solid #bda47480;border-radius:3px;padding:9px 11px;font:12px monospace;max-width:190px}
.game-choice select:focus-visible,.game-toolbar select:focus-visible{outline:2px solid #ffdf9e;outline-offset:3px}
.game-toolbar{flex-wrap:wrap;gap:6px;max-width:650px;margin:auto}.game-toolbar select{font-size:11px;padding:8px}
.game-help{display:none;position:absolute;z-index:8;bottom:77px;left:7%;right:7%;text-align:center;font:11px monospace;color:#eddbb5;pointer-events:none;text-shadow:0 1px 5px #000}
.stage.is-playing .game-help{display:block}.key-hint{max-width:330px;line-height:1.6}.control-label{white-space:normal}
.mini-art canvas{width:100%;height:100%;object-fit:contain;image-rendering:pixelated}.blocks-art,.maze-art{background:#a2b47a}.racer-art{background:#142e4b}.fighter-art{background:#171e39}
@media(max-width:760px){.game-choice{margin-top:9px;font-size:8px}.game-choice select{font-size:10px;padding:7px;max-width:175px}.game-toolbar{bottom:18px!important;max-width:95%;gap:4px}.game-toolbar button{font-size:9px;padding:8px}.game-toolbar select{font-size:10px;padding:7px;max-width:145px}.game-help{bottom:165px;font-size:9px;line-height:1.5}.touch-controls{bottom:109px!important;gap:5px}.touch-controls button{width:38px;min-width:38px;height:36px;font-size:12px}.key-hint{max-width:280px;font-size:7px}}

.game-choice[hidden]{display:none}.key-hint .key{display:none}

.touch-controls button[hidden]{display:none}

/* Readable native-resolution interface; the pixel treatment is confined to games. */
body{font-family:'Segoe UI',Arial,sans-serif}
.game-toolbar{background:#14221d;border:1px solid #b9a37a;border-radius:6px;padding:7px;max-width:720px;box-shadow:0 3px 12px #0005}
.game-toolbar button,.game-toolbar select,.game-choice select{font:600 13px/1.35 'Segoe UI',Arial,sans-serif;color:#fff0ca;background:#1c3027;border:1px solid #8f8567;backdrop-filter:none;filter:none;text-shadow:none;letter-spacing:0}
.game-toolbar button{padding:9px 12px}.game-toolbar select{padding:8px 10px;max-width:180px}.game-choice select{font-size:14px;padding:9px 12px}
.game-choice{font:600 12px/1.4 'Segoe UI',Arial,sans-serif;color:#f0dfbc;letter-spacing:.2px}
.game-help{font:500 12px/1.45 'Segoe UI',Arial,sans-serif;text-shadow:none;color:#fff0d0;bottom:89px;background:#14221df2;border-radius:4px;padding:5px 10px;left:50%;right:auto;transform:translateX(-50%);width:max-content;max-width:88%}
.key-hint,.control-label{font:500 12px/1.55 'Segoe UI',Arial,sans-serif;text-shadow:none;color:#ecddbe}.description{text-shadow:none;font-size:14px}
.header nav,.header-cta{font-size:14px}.primary{font-size:14px}.live-status{font:500 12px/1.4 'Segoe UI',Arial,sans-serif;text-shadow:none}
@media(max-width:760px){.game-toolbar{max-width:96%;padding:6px;gap:5px}.game-toolbar button,.game-toolbar select{font-size:12px;padding:8px 9px}.game-toolbar select{max-width:145px}.game-choice select{font-size:13px}.game-help{font-size:11px;bottom:168px;max-width:92%}.key-hint,.control-label{font-size:11px}.description{font-size:12px}.game-choice{font-size:11px}.header-cta{font-size:12px}.primary{font-size:13px}}

.game-help{left:0;right:0;transform:none;margin-inline:auto}

/* Original, locally bundled raster alphabet; titles keep their semantic text. */
@font-face{font-family:'DP Raster';src:url('assets/fonts/digital-raster.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
.chapter-copy h1{font-family:'DP Raster',monospace;font-weight:400;text-transform:uppercase;font-synthesis:none;font-kerning:none;letter-spacing:0;line-height:1.34;margin:20px 0 19px;max-width:100%;}
.stage[data-era="0"] .chapter-copy h1{font-size:clamp(29px,3.45vw,57px);color:#fff2ce;letter-spacing:.015em;text-shadow:0 0 2px #fff2ce66,0 0 12px #e8cb8433,2px 2px 0 #29251d}
.stage[data-era="0"] .chapter-copy h1>span{color:#e9dbad;text-shadow:0 0 2px #eee0a766,0 0 10px #e4d3a533,2px 2px 0 #29251d}
.stage[data-era="1"] .chapter-copy h1{font-size:clamp(28px,3.2vw,54px);color:#ffdb80;letter-spacing:-.025em;transform:skewY(-2deg);transform-origin:left center;text-shadow:1px 1px 0 #9c4b36,2px 2px 0 #9c4b36,3px 3px 0 #713344,4px 4px 0 #713344,6px 6px 0 #111b23;-webkit-text-stroke:.4px #ffe8a7}
.stage[data-era="1"] .chapter-copy h1>span{color:#f09971;-webkit-text-stroke:.4px #ffbc83;text-shadow:1px 1px 0 #813b47,2px 2px 0 #813b47,3px 3px 0 #502e43,4px 4px 0 #502e43,6px 6px 0 #111b23}
.stage[data-era="2"] .chapter-copy h1{font-size:clamp(27px,3.15vw,52px);color:#dce5a7;letter-spacing:-.045em;line-height:1.45;text-shadow:2px 2px 0 #536542,4px 4px 0 #18291e}
.stage[data-era="2"] .chapter-copy h1>span{color:#baca8c;text-shadow:2px 2px 0 #45593a,4px 4px 0 #18291e}
@media(max-width:760px){.chapter-copy h1{margin:16px 0 18px;line-height:1.4}.stage[data-era="0"] .chapter-copy h1{font-size:clamp(24px,7.1vw,34px)}.stage[data-era="1"] .chapter-copy h1{font-size:clamp(24px,6.75vw,32px)}.stage[data-era="2"] .chapter-copy h1{font-size:clamp(23px,6.6vw,32px)}}

/* Outlined vector identity: website lockup and standalone dp mark. */
.header .wordmark{flex-shrink:0;line-height:0}.brand-logo{display:block;width:190px;height:auto}.brand-endmark{display:block;width:58px;height:58px;margin:0 auto}.header nav{flex-shrink:0}
@media(max-width:760px){.brand-logo{width:148px}}
@media(max-width:400px){.brand-logo{width:112px}.header nav button{font-size:11px;padding:6px}.header nav button span{margin-left:4px}.header-cta{font-size:10px;padding:9px}.header-cta span{margin-left:8px}}
