.scene-home>.nav{display:none}.scene-home{background:#171612}.scene-wrap{padding-bottom:60px}.scene{position:relative;container-type:inline-size;width:100%;aspect-ratio:1.65;min-height:640px;max-height:950px;background:#24241f;overflow:hidden;perspective:1700px;color:#d6c49d}
.room-wall{position:absolute;inset:0 0 35%;background:radial-gradient(ellipse at 74% 26%,#66604c55,transparent 55%),linear-gradient(90deg,#222722,#36372e 65%,#20251f);box-shadow:inset 0 -25px 50px #10120d;overflow:hidden}
.window-light{position:absolute;left:0;top:-10%;width:36%;height:75%;transform:skewY(-14deg);opacity:.22;background:repeating-linear-gradient(0deg,transparent 0 27px,#d2c49f55 29px 48px,transparent 50px 60px);filter:blur(5px)}
.wall-shelf{position:absolute;right:8%;top:3%;width:23%;height:19%;display:flex;gap:6%;align-items:flex-end;border-bottom:9px solid #171c17;filter:blur(3px);opacity:.5}.wall-shelf i{width:15%;height:90%;background:#4b4431;transform:rotate(5deg)}.wall-shelf i:nth-child(2){height:75%;background:#222d23}.wall-shelf i:nth-child(3){height:85%;background:#735640}.wall-shelf i:nth-child(4){height:65%;background:#3b3d31}
.scene-plane{position:absolute;inset:6% 0 0;transform:rotateX(9deg);transform-origin:50% 65%;transform-style:preserve-3d}
.desk-surface{position:absolute;inset:6% -5% -12%;background:repeating-linear-gradient(0deg,transparent 0 91px,#170f0966 92px,#654c3044 94px,transparent 96px),url("assets/paper-grain.svg"),repeating-linear-gradient(1deg,#2e2218 0,#3d2d1e 2px,#453322 4px,#34271b 7px,#483523 11px,#35281c 14px);border-top:10px solid #241b13;box-shadow:0 -8px 24px #0e100cbf,inset 0 20px 80px #1a120c99}
.desk-light{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 66% 34%,#ffc97644 0,#ffd99816 35%,transparent 65%);mix-blend-mode:screen;transition:opacity .5s}
.notebook{position:absolute;left:5.5%;top:19%;width:18%;height:53%;padding:3% 2% 2%;background:url("assets/paper-grain.svg"),linear-gradient(110deg,#292c25,#171d18);border:1px solid #746348;border-radius:5px 10px 12px 3px;transform:rotate(-9deg) translateZ(12px);box-shadow:3px 5px 0 #141813,5px 8px 0 #625943,10px 19px 23px #100d08ba,inset 0 0 0 7px #5a503227,inset 0 0 30px #0005}
.notebook-spine{position:absolute;left:9%;right:9%;top:-2%;height:7%;background:repeating-linear-gradient(90deg,transparent 0 11%,#0a0f0b 11% 13%,#77735d 13% 14%,transparent 14% 19%);filter:drop-shadow(1px 2px 1px #000)}
.notebook-heading{font:italic 1.9cqw/1.15 Georgia,serif;color:#d8c499}.notebook-sub{font: .83cqw/1.5 'Courier New',monospace;color:#a99b7a;margin-top:8%}
.notebook-links{display:grid;gap:.8cqw;margin-top:13%;font:1.05cqw Georgia,serif}.notebook-links a{display:flex;gap:.7cqw;align-items:center;color:#d2c29d;padding:2% 0}.notebook-links a span{font:.68cqw 'Courier New',monospace;color:#a39168;border:1px solid #706547;border-radius:50%;padding:3px}.notebook-links a:hover{color:#fff0c6;text-decoration:underline;text-underline-offset:4px}.notebook-signature{display:block;font:italic 1.4cqw Georgia,serif;margin-top:15%;color:#90825f}
.case-folder{position:absolute;left:30%;top:12%;width:43%;height:56%;transform:rotate(-2deg) translateZ(20px);transform-style:preserve-3d}
.folder-label{position:absolute;left:1%;top:-7%;width:53%;height:9%;border-radius:9px 15px 0 0;background:#b39a69;color:#514128;font:.7cqw 'Courier New',monospace;padding:2% 4%;letter-spacing:.08cqw}
.folder-pages{position:absolute;inset:1% -1.1% -2% 0;background:#aa8b57;border-radius:3px 9px 8px 2px;box-shadow:2px 3px 0 #e2cda0,4px 6px 0 #a98c5b,9px 15px 22px #100d08aa}
.folder-paper{position:absolute;inset:0;background:url("assets/paper-grain.svg"),radial-gradient(ellipse at 10% 0,#f0dbac66,transparent 60%),linear-gradient(100deg,#bfa373,#dfc99b 6%,#d5bc8b 90%,#b99b69);padding:5% 5% 3%;border:1px solid #a88b59;border-radius:2px 7px 7px 2px;box-shadow:inset 0 0 24px #6d4a252c}
.folder-header{position:relative;border-bottom:1px solid #81613c77;padding-bottom:3%;color:#483721}.folder-header>span{font:.65cqw 'Courier New',monospace;letter-spacing:.09cqw}.folder-header h1{font:400 3.7cqw/.92 Georgia,serif;letter-spacing:-.15cqw;margin:2% 0}.folder-header h1 em{color:#713f2a}.folder-header .file-number{position:absolute;right:0;bottom:12%;border:1px solid #8e704b;padding:5px;transform:rotate(4deg);font-size:.9cqw}
.folder-content{display:grid;grid-template-columns:1fr 1fr;gap:7%;padding-top:5%;color:#493721}
.paper-eyebrow{display:block;font:.65cqw/1.4 'Courier New',monospace;letter-spacing:.04cqw;color:#785439}
.archive-statement strong{display:block;font:italic 1.7cqw/1.12 Georgia,serif;margin:7% 0}.archive-statement p{font:.9cqw/1.5 Georgia,serif;color:#655031}.archive-statement .signature{margin:5% 0 0;font:italic 2cqw Georgia,serif;color:#54462d;display:block}.archive-statement em{font:.68cqw Georgia,serif;display:block;margin-top:5%}.archive-statement:hover em{text-decoration:underline}
.folder-cases{display:flex;flex-direction:column;gap:.7cqw}.scene-card{display:flex;flex-direction:column;gap:.3cqw;background:#ece0bc80 url("assets/paper-grain.svg");padding:5% 6%;color:#483722;border:1px solid #a28b614d;box-shadow:1px 2px 4px #6e512b33;transition:transform .3s,box-shadow .3s;transform-origin:center}
.case-number{font:.58cqw 'Courier New',monospace;letter-spacing:.05cqw;color:#79583a}.scene-card strong{font:700 1.3cqw Georgia,serif}.scene-card>span:not(.case-number):not(.card-diagram){font:.74cqw Georgia,serif}.scene-card small{font:.66cqw 'Courier New',monospace;align-self:flex-end;color:#66412a;margin-top:2%}.card-diagram{display:flex;gap:7%;justify-content:center;align-items:center;margin:3% 0;font:.56cqw 'Courier New',monospace}.card-diagram i{font-style:normal;border:1px solid #9d885e;padding:4px}
.folder-footer{position:absolute;left:5%;right:5%;bottom:3%;display:flex;justify-content:space-between;border-top:1px solid #a4895e77;padding-top:2%;font:.52cqw 'Courier New',monospace;color:#836744}
.archive-tabs{position:absolute;left:-7%;top:4%;width:7%;height:83%;display:flex;flex-direction:column;gap:4%;z-index:3}.archive-tabs a{flex:1;display:grid;place-items:center;background:linear-gradient(90deg,#d2bd8b,#b79a63);border-radius:6px 0 0 6px;box-shadow:-1px 3px 3px #1c150d66;color:#4b3b23;font:700 1.1cqw 'Courier New',monospace;transition:translate .2s,filter .2s}.archive-tabs a:hover{translate:-4px 0;filter:brightness(1.14)}
.desk-lamp{position:absolute;right:7%;top:2%;width:18%;height:47%;transform:translateZ(40px);pointer-events:none}
.lamp-base{position:absolute;bottom:0;left:25%;width:65%;height:16%;border-radius:50%;background:radial-gradient(ellipse at 35% 30%,#6b6550,#292e24 55%,#151a15 80%);box-shadow:0 7px 0 #121610,9px 15px 16px #080b0866,inset 0 2px 2px #9f957644}
.lamp-arm{position:absolute;bottom:10%;left:60%;height:75%;width:6%;background:linear-gradient(90deg,#161c16,#9d9169 40%,#343b2b 65%,#141b13);transform:rotate(18deg);transform-origin:bottom;box-shadow:7px 4px 8px #0005}
.lamp-shade{pointer-events:auto;position:absolute;left:0;top:0;width:85%;height:34%;border-radius:50% 50% 14% 14%;transform:rotate(-15deg);border:1px solid #706a4a;background:linear-gradient(110deg,#283a2a,#697449 33%,#344631 61%,#142417);box-shadow:10px 9px 17px #090c0999,inset 1px 4px 4px #a2a17b55;padding:0}
.lamp-bulb{position:absolute;bottom:-6%;left:0;width:100%;height:22%;border-radius:50%;background:radial-gradient(ellipse,#fff5c1,#e4bd6d 60%,#7a6739 82%);box-shadow:0 12px 28px #f1bc4944,inset 0 0 5px #5c492a;transition:background .4s,box-shadow .4s}
.lamp-note{position:absolute;left:5%;bottom:-17%;font:italic 1cqw/1.35 Georgia,serif;transform:rotate(7deg);color:#b9a57c}
.scattered{position:absolute;background:#d8c8a6 url("assets/paper-grain.svg");padding:1% 1% .7%;display:flex;flex-direction:column;gap:.7cqw;box-shadow:3px 5px 0 #a48b60,9px 16px 18px #100e0b99;transition:transform .35s,box-shadow .35s;color:#433522}
.scattered img{width:100%;height:80%;min-height:0;object-fit:cover;filter:sepia(.35) saturate(.65) brightness(.89);border:1px solid #816e4b55}
.scattered>span:last-child{display:flex;justify-content:space-between;font:.78cqw 'Courier New',monospace}.grocery-evidence{left:23%;top:73%;width:16%;height:20%;transform:rotate(-13deg) translateZ(25px)}.mychart-evidence{left:43%;top:72%;width:19%;height:22%;transform:rotate(8deg) translateZ(28px)}
.paperclip{position:absolute;left:8%;top:-11%;width:9%;height:33%;border:2px solid #958b65;border-radius:9px;transform:rotate(13deg);box-shadow:1px 2px 1px #0006}.paperclip:after{content:"";position:absolute;inset:2px 2px 7px;border:1px solid #5d573c;border-radius:5px}
.tape{position:absolute;top:-6%;left:33%;height:14%;width:35%;background:#b7a47aaf;transform:rotate(-7deg);box-shadow:inset 0 0 8px #d8c8a266;z-index:1}
.field-note{position:absolute;left:7%;top:80%;width:12%;height:15%;padding:1.2%;background:#c3b07d url("assets/paper-grain.svg");transform:rotate(7deg) translateZ(15px);box-shadow:4px 7px 9px #0d0b0966;color:#4e3d24}.field-note>span{font:.57cqw 'Courier New',monospace}.field-note p{font:italic 1.4cqw/1.1 Georgia,serif;margin:8% 0}.field-note small{font:.56cqw Georgia,serif}
.coffee-object{position:absolute;right:12%;top:68%;width:13%;height:23%;transform:translateZ(40px)}
.coaster{position:absolute;inset:2% -10% -2%;background:#ad9670 url("assets/paper-grain.svg");transform:rotate(-8deg);box-shadow:4px 8px 14px #100c0977}
.cup{position:absolute;inset:0;border-radius:50%;background:radial-gradient(ellipse at 33% 20%,#77725c 0,#3e4235 45%,#202a20 70%);box-shadow:inset 0 0 0 4px #8b866b,4px 11px 0 #182117,9px 20px 18px #100c0aa0}
.coffee{position:absolute;inset:10%;border-radius:50%;background:radial-gradient(ellipse at 45% 40%,#3e2b1b,#1e170e 64%,#6b4f2c 69%,#241c11 74%);box-shadow:inset 3px 9px 11px #0009,inset 0 0 0 2px #a58e5a33}.coffee:after{content:"";position:absolute;top:12%;left:18%;width:42%;height:15%;border-top:2px solid #c6a86a55;border-radius:50%;transform:rotate(-20deg)}
.cup-handle{position:absolute;right:-25%;top:30%;width:42%;height:42%;border:10px solid #303e2c;border-radius:45%;box-shadow:3px 5px 5px #0008,inset 1px 2px 2px #0007}
.coffee-caption{position:absolute;right:11%;top:95%;font:italic 1cqw Georgia,serif;color:#ac9772;transform:rotate(-5deg)}
.coffee-steam{position:absolute;inset:-70% 15% 25%;pointer-events:none;filter:blur(5px)}
.coffee-steam i{position:absolute;bottom:0;left:35%;width:25%;height:60%;border-left:2px solid #f4ebd6;border-radius:50%;opacity:0;animation:steamrise 8s ease-out infinite}.coffee-steam i:nth-child(2){left:55%;animation-delay:-3s}.coffee-steam i:nth-child(3){left:15%;animation-delay:-5s}
.pen{position:absolute;right:5%;top:64%;width:1.2%;height:29%;border-radius:5px;background:linear-gradient(90deg,#0e1712,#6e7252 35%,#1e2a1c 62%,#101a12);transform:rotate(12deg) translateZ(20px);box-shadow:4px 7px 5px #0007}.pen:after{content:"";position:absolute;bottom:-9%;left:0;width:100%;height:14%;background:#b7a575;clip-path:polygon(0 0,100% 0,50% 100%)}
.room-dust{position:absolute;inset:0;pointer-events:none}.room-dust i{position:absolute;left:45%;top:26%;width:2px;height:2px;border-radius:50%;background:#ffe5aa;opacity:0;animation:dustdrift 20s linear infinite}.room-dust i:nth-child(2){left:55%;top:45%;animation-delay:-8s}.room-dust i:nth-child(3){left:72%;top:20%;animation-delay:-14s}.room-dust i:nth-child(4){left:63%;top:59%;animation-delay:-4s}.room-dust i:nth-child(5){left:34%;top:46%;animation-delay:-12s}
.scene.is-dim .desk-light{opacity:.15}.scene.is-dim .lamp-bulb{background:#8a7c56;box-shadow:inset 0 0 8px #2e281b}.scene.is-dim .folder-paper{filter:brightness(.83)}.scene.is-dim .room-dust{opacity:.2}
.desk-controls{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 5%;border-block:1px solid #73624455;background:#1b1c17;color:#bcaa83;font:10px/1.5 'Courier New',monospace;letter-spacing:.08em}
.motion-toggle{background:transparent;color:#cbb890;border:1px solid #72613e;padding:8px 12px;font:11px 'Courier New',monospace}.motion-toggle:hover{background:#3a3020}
.scene-hint{text-align:center;margin:22px 20px 0;color:#baaa87;font:italic 16px Georgia,serif}.scene-hint span{padding-left:15px}
.scene a:focus-visible,.scene button:focus-visible,.motion-toggle:focus-visible{outline:2px solid #fae6ae;outline-offset:4px}
.archive-page-turn{position:absolute;inset:0;z-index:8;background:#d2bd91 url("assets/paper-grain.svg");border:1px solid #a28655;box-shadow:9px 8px 20px #15100899;padding:10%;display:flex;flex-direction:column;justify-content:center;gap:1cqw;color:#4c3922;transform-origin:left}
.archive-page-turn small{font:.8cqw 'Courier New',monospace}.archive-page-turn strong{font:italic 3cqw Georgia,serif}
.scene.motion-paused .room-dust i,.scene.motion-paused .coffee-steam i{animation-play-state:paused}
@keyframes steamrise{0%{opacity:0;transform:translateY(15px) scaleX(.7)}30%{opacity:.14}100%{opacity:0;transform:translate(-15px,-65px) scaleX(1.8)}}
@keyframes dustdrift{0%{opacity:0;transform:translateY(10px)}30%{opacity:.25}80%{opacity:.15}100%{opacity:0;transform:translate(25px,-85px)}}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 .scene:not(.motion-paused) .scene-card:hover,.scene:not(.motion-paused) .scene-card:focus-visible{transform:rotate(-1deg) scale(1.045);box-shadow:4px 7px 12px #5b3f3455}
 .scene:not(.motion-paused) .grocery-evidence:hover,.scene:not(.motion-paused) .grocery-evidence:focus-visible{transform:rotate(-10deg) translateZ(30px) scale(1.045);box-shadow:11px 22px 22px #100c0a99}
 .scene:not(.motion-paused) .mychart-evidence:hover,.scene:not(.motion-paused) .mychart-evidence:focus-visible{transform:rotate(5deg) translateZ(33px) scale(1.045);box-shadow:11px 22px 22px #100c0a99}
}
@media(min-width:1500px){.scene{max-width:1600px;margin:auto}}
@media(max-width:1000px){.scene{min-height:580px}.notebook{height:51%;top:22%}.case-folder{top:15%;height:53%}.folder-header h1{font-size:4cqw}.folder-content{padding-top:4%;gap:6%}.archive-statement p{font-size:1cqw}.scene-card strong{font-size:1.45cqw}.scene-card>span:not(.case-number):not(.card-diagram){font-size:.85cqw}}
@media(max-width:660px){.scene-wrap{overflow-x:auto}.scene{width:960px;min-height:650px;max-height:none;aspect-ratio:auto}.scene-plane{transform:rotateX(5deg)}.desk-controls{position:sticky;left:0;width:100vw;padding:14px 18px}.desk-status{font-size:8px}.scene-hint{position:sticky;left:0;width:100vw;padding-inline:18px;margin-inline:0;font-size:13px}.scene-hint:after{content:"Swipe across the desk to explore →";display:block;font:10px 'Courier New',monospace;margin-top:12px}}
@media(prefers-reduced-motion:reduce){.coffee-steam i,.room-dust i{animation:none!important}.scene *{transition:none!important}}

/* Reserve physical space for the live text inside the desk objects. */
.scene{min-height:720px}
.case-folder{height:62%;top:10%}
.folder-header{padding-bottom:2%}
.folder-header h1{font-size:3.45cqw}
.folder-content{padding-top:4%}
.folder-footer{bottom:2%}
.notebook{top:20%;height:55%;padding:2.4% 1.8%}
.notebook-links{gap:.45cqw;margin-top:9%}
.notebook-links a{padding:1% 0}
.notebook-signature{position:absolute;bottom:5%;margin:0;font-size:1.2cqw}
.grocery-evidence{top:78%;height:17%;width:15%;left:25%}
.mychart-evidence{top:78%;height:18%;width:18%;left:44%}
.field-note{top:83%;height:13%}
.coffee-object{top:72%;height:20%}
@media(max-width:1000px){.scene{min-height:720px}.case-folder{height:62%;top:10%}.notebook{height:55%}.archive-statement p{font-size:1.1cqw}.scene-card strong{font-size:1.5cqw}.folder-header h1{font-size:3.6cqw}.card-diagram{margin:1% 0}}
@media(max-width:660px){.scene{min-height:740px}}
