@font-face{font-family:Manrope;src:url('./assets/manrope-latin.woff2') format('woff2');font-style:normal;font-weight:200 800;font-display:swap}
:root{color-scheme:dark;--ink:#f1f0ec;--muted:#b0b1b3;--quiet:#82868a;--ground:#101214;--line:rgba(239,236,230,.2);--copper:#c89974;font-family:Manrope,'Avenir Next',Avenir,sans-serif;font-synthesis:none;font-weight:400;background:var(--ground);color:var(--ink)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:#65625b #101214}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:2px solid #dfbf95;outline-offset:7px}button{border:0;background:none}button:disabled{cursor:wait;opacity:.6}.skip{position:fixed;top:-80px;left:24px;z-index:20;padding:16px;background:#fff;color:#111}.skip:focus{top:20px}
.viewport{position:fixed;inset:0;overflow:hidden;pointer-events:none;background:#101214}.poster{height:100%;width:100%;object-fit:cover;opacity:1;transition:opacity 1s}#world{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:0;transition:opacity 1s}.is-ready #world{opacity:1}.is-ready .poster{opacity:0}.edge-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,12,14,.85),rgba(10,12,14,.58) 18%,rgba(10,12,14,.16) 35%,transparent 52%),linear-gradient(0deg,rgba(10,12,14,.66),transparent 24%,transparent 85%,rgba(10,12,14,.15));pointer-events:none}
.topbar{position:fixed;top:0;left:0;right:0;z-index:5;display:flex;justify-content:space-between;align-items:center;padding:32px 44px;pointer-events:none}.topbar>*{pointer-events:auto}.identity{display:flex;align-items:center;gap:14px;font-size:16px;font-weight:650;letter-spacing:-.035em}.identity svg{width:28px;height:28px;stroke:currentColor;stroke-width:1.15}.identity-detail{display:block;color:var(--muted);font-weight:400;font-size:12px;letter-spacing:.01em;margin-top:4px}.top-actions{display:flex;align-items:center;gap:26px}.quiet-button{font-size:13px;color:#c4c4c1;padding:8px 0;transition:color .2s}.quiet-button:hover{color:#fff}.quality-icon{font-size:18px;vertical-align:-1px;margin-right:5px;color:#d3bea5}.info-button{width:28px;height:28px;border:1px solid #7a7d7e;border-radius:50%;font-family:Georgia,serif;font-size:17px}
#journey{position:relative;outline:none}.chapter{height:155vh;min-height:780px;position:relative;pointer-events:none}.chapter:last-child{height:130vh}.chapter-copy{position:fixed;z-index:3;bottom:142px;left:clamp(28px,5vw,90px);max-width:345px;opacity:0;transform:translateY(12px);visibility:hidden;transition:opacity .4s,transform .4s,visibility .4s;pointer-events:none}.chapter.is-active .chapter-copy{opacity:1;transform:translateY(0);visibility:visible;pointer-events:auto}.chapter:first-child .chapter-copy{bottom:155px}.chapter-index{font-size:13px;margin:0 0 19px;color:#bab7b0;letter-spacing:.025em}h1,h2{font-size:clamp(40px,4.7vw,74px);line-height:1.04;letter-spacing:-.065em;font-weight:450;margin:0 0 24px}h2{font-size:clamp(36px,4.05vw,62px)}.chapter-copy>p:not(.chapter-index){color:var(--muted);font-size:15px;line-height:1.75;max-width:300px;margin:0;text-wrap:pretty}.descend{display:flex;align-items:center;gap:12px;font-size:13px;margin-top:33px;color:#dcdad4;width:max-content}.scroll-track{display:block;width:18px;height:29px;border:1px solid #737773;border-radius:11px;position:relative}.scroll-track span{position:absolute;left:7px;top:6px;width:2px;height:6px;border-radius:3px;background:#d9c1a0}.material-note{display:flex;align-items:center;gap:9px;font-size:12px;color:#bab7b1;margin-top:26px}.swatch{width:10px;height:10px;border-radius:50%;border:1px solid rgba(255,255,255,.3)}.silicon{background:linear-gradient(135deg,#76948d,#aa8c9f,#c6b370)}.gold{background:#b7a467}.copper{background:#c48a64}.silver{background:#9cb1c4}.replay{padding:0;display:flex;align-items:center;gap:10px;font-size:13px;color:#e1d9c8;margin-top:29px}.replay span{font-size:23px}.text-hidden .chapter-copy{opacity:0!important;visibility:hidden!important}
.chapter-nav{position:fixed;z-index:4;right:35px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:flex-end;gap:5px}.chapter-nav a{display:flex;align-items:center;justify-content:flex-end;gap:13px;height:39px;padding:0 6px;min-width:36px}.nav-tick{width:6px;height:6px;border-radius:50%;background:#6f7476;transition:all .25s}.chapter-nav a[aria-current] .nav-tick{background:#e0c7a3;height:24px;border-radius:4px}.nav-label{font-size:12px;color:#d1ccc2;opacity:0;transform:translateX(4px);transition:opacity .2s,transform .2s}.chapter-nav:hover .nav-label,.chapter-nav:focus-within .nav-label{opacity:1;transform:translateX(0)}
.instrument-panel{position:fixed;z-index:5;bottom:28px;left:44px;right:44px;display:flex;align-items:flex-end;justify-content:space-between;pointer-events:none}.instrument-panel>*{pointer-events:auto}.depth{width:200px;display:grid;gap:8px}.depth>span:first-child{font-size:13px;color:#deded9}.depth-rule{display:flex;justify-content:space-between;align-items:flex-end;height:7px;border-bottom:1px solid #a09c94;width:138px}.depth-rule i{height:3px;border-left:1px solid #a09c94}.depth-rule i:first-child,.depth-rule i:last-child{height:7px}.depth-note{font-size:11px;color:#909392}.progress-wrap{position:absolute;bottom:2px;left:50%;transform:translateX(-50%);width:160px;display:flex;gap:13px;align-items:center}#chapter-position{white-space:nowrap;font-size:11px;font-variant-numeric:tabular-nums;color:#c3c0b8}.journey-progress{height:2px;width:100%;background:#535553}.journey-progress span{height:100%;width:0;display:block;background:#d8c5a6}
.load-status{position:fixed;z-index:6;bottom:33px;left:50%;transform:translateX(-50%);display:flex;gap:10px;align-items:center;background:#101214;padding:10px 16px;font-size:12px;white-space:nowrap;color:#c5c2bb;border-radius:30px}.is-ready .load-status,.is-fallback .load-status{display:none}.load-ring{height:12px;width:12px;border:1px solid #565855;border-top-color:#d7bd94;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.fallback-message{position:fixed;z-index:7;top:110px;right:44px;max-width:310px;padding:15px 18px;background:#181c20;border:1px solid #545b60;border-radius:8px}.fallback-message p{font-size:13px;line-height:1.6;margin:0 0 10px}.fallback-message button{font-size:13px;padding:5px 0;text-decoration:underline;text-underline-offset:4px}.no-script{position:relative;padding:130px 40px 20px;font-size:16px;background:#101214}body:has(.no-script) .chapter{height:auto;min-height:75vh}body:has(.no-script) .chapter-copy{position:relative;inset:auto;padding:40px;opacity:1;visibility:visible;transform:none;max-width:500px}body:has(.no-script) .load-status{display:none}
dialog{max-width:560px;width:calc(100% - 40px);border:1px solid #494c50;background:#1b1e21;color:var(--ink);padding:44px;border-radius:14px;box-shadow:0 40px 150px #0008}dialog::backdrop{background:rgba(0,0,0,.7);backdrop-filter:blur(12px)}.dialog-close{position:absolute;right:18px;top:14px;font-size:26px;color:#babcbf}dialog h2{font-size:38px}dialog p:not(.chapter-index){font-size:14px;line-height:1.8;color:#c0c3c5}dialog a{text-decoration:underline;text-underline-offset:4px;color:#e0c7a4}.source-link{font-size:14px}.dialog-help{font-size:12px;color:#999fa2;line-height:1.7;border-top:1px solid var(--line);margin-top:27px;padding-top:20px}
@media(min-width:1800px){.chapter-copy{bottom:18vh;max-width:400px}.chapter-copy>p:not(.chapter-index){font-size:17px;max-width:350px}}
@media(max-width:800px){.topbar{padding:23px 24px}.identity{font-size:14px;gap:10px}.identity svg{width:25px}.top-actions{gap:17px}.quiet-button{font-size:12px}.chapter-copy,.chapter:first-child .chapter-copy{left:25px;bottom:130px;max-width:285px}.chapter-copy>p:not(.chapter-index){font-size:14px;max-width:270px;line-height:1.65}h1{font-size:51px}h2{font-size:42px}.chapter-index{margin-bottom:12px;font-size:12px}.chapter-nav{right:16px}.chapter-nav a{height:33px}.instrument-panel{left:25px;right:25px;bottom:23px}.depth{width:140px}.depth>span:first-child{font-size:12px}.depth-rule{width:100px}.progress-wrap{width:95px;left:auto;right:0;bottom:35px;transform:none}#labels-button{margin-bottom:0}.material-note{margin-top:17px;font-size:11px}.edge-shade{background:linear-gradient(0deg,rgba(9,11,14,.9),rgba(9,11,14,.5) 34%,transparent 61%)}.descend{margin-top:21px}.chapter{height:155svh;min-height:740px}.chapter:last-child{height:130svh}.fallback-message{top:92px;right:24px;left:24px;max-width:none}.poster{object-position:60% center}dialog{padding:34px 27px}.identity-detail{font-size:11px}.quality-icon{display:none}}
@media(max-height:600px) and (min-width:700px){.topbar{padding:20px 30px}.chapter-copy,.chapter:first-child .chapter-copy{bottom:95px}h1,h2{font-size:39px;margin-bottom:15px}.chapter-copy>p:not(.chapter-index){font-size:13px;max-width:260px}.descend{margin-top:16px}.material-note{margin-top:15px}.instrument-panel{bottom:15px}.chapter-index{margin-bottom:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

/* Allow enlarged text to remain readable without covering the navigation. */
.chapter-copy{max-height:calc(100svh - 220px);overflow-y:auto;scrollbar-width:thin}
.chapter-copy>p:not(.chapter-index){font-size:1rem}
.chapter-index,.descend,.replay{font-size:.8125rem}
.material-note{font-size:.75rem}
.identity{font-size:1rem}.identity-detail{font-size:.75rem}
.quiet-button{font-size:.8125rem}
@media(max-width:800px){.chapter-nav .nav-label{display:none}.chapter-copy>p:not(.chapter-index){font-size:.9375rem}.identity{font-size:.875rem}.identity-detail{font-size:.6875rem}.quiet-button{font-size:.75rem}.chapter-copy{max-height:calc(100svh - 225px)}}

.object-annotations{position:fixed;inset:0;z-index:4;pointer-events:none;overflow:hidden}
.object-annotations>svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.object-annotations path{stroke:rgba(222,211,190,.67);stroke-width:1}
.object-annotations circle{fill:#e4cfaa;stroke:#141719;stroke-width:1.5}
.object-label{position:absolute;left:0;top:0;width:220px;min-height:58px;padding:10px 12px;background:rgba(13,17,19,.88);border-left:1px solid #7f847e;border-radius:0 4px 4px 0;backdrop-filter:blur(8px)}
.object-label strong{display:block;font-size:14px;font-weight:600;letter-spacing:0;color:#ece8df;line-height:1.4}
.object-label span{display:block;font-size:12px;color:#b3b7b6;line-height:1.45;margin-top:3px}
.object-label.is-focus{border-left:2px solid #d9ba7f}
.text-hidden .object-annotations,.is-fallback .object-annotations{visibility:hidden}
@media(max-width:800px){.object-label{width:150px;min-height:34px;padding:7px 9px}.object-label strong{font-size:12px;line-height:18px}.object-label span{display:none}.object-annotations path{stroke:rgba(222,211,190,.55)}}

.chapter-copy>.atomic-comparison{margin-top:20px!important;border-left:1px solid #c4a16a;padding-left:13px;font-size:12px!important;line-height:1.6!important}.atomic-comparison strong{display:block;color:#ddc296;font-weight:500}.atomic-comparison span{display:block;margin-top:5px;color:#a9afb1;font-size:11px}.atomic-comparison[hidden]{display:none}

.atomic-view .edge-shade{background:linear-gradient(90deg,rgba(10,12,14,.95),rgba(10,12,14,.8) 24%,rgba(10,12,14,.15) 47%,transparent 65%),linear-gradient(0deg,rgba(10,12,14,.8),transparent 24%,transparent 85%,rgba(10,12,14,.55))}@media(max-width:800px){.atomic-view .edge-shade{background:linear-gradient(0deg,#0a0c0ef5,#0a0c0eea 36%,#0a0c0e85 52%,transparent 68%,#0a0c0e80 100%)}.atomic-view #transistor h2{font-size:38px}.atomic-view .chapter-copy{max-width:275px}}

.frame-preview-status,.frame-original{position:fixed;z-index:6;right:44px;font-size:11px;color:#d9c4a4;text-decoration:none;background:rgba(13,17,21,.88);padding:7px 11px;border:1px solid #41413c;border-radius:4px}.frame-preview-status{top:87px}.frame-original{top:126px;color:#b5bdc1}@media(max-width:800px){.frame-preview-status{top:78px;right:20px;font-size:10px}.frame-original{top:112px;right:20px;font-size:10px}}
