:root{color-scheme:light;--paper:#e4decb;--light:#fff9e5;--shadow:#7b7a6c;--ink:#20251f;--blue:#152e80;--teal:#075653;--mono:'Courier New',monospace}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{background:#1b1612;color:var(--ink);font-family:var(--mono)}button,a{touch-action:manipulation}button{font:inherit;cursor:pointer;color:inherit}button:focus-visible,a:focus-visible{outline:3px dashed #f3ad52;outline-offset:3px}a{color:inherit}button:disabled{cursor:default}[hidden]{display:none!important}.experience{height:100%;display:grid;place-items:center;overflow:hidden;position:relative}.scene{width:min(100vw,177.78vh);aspect-ratio:1672/941;position:relative;flex-shrink:0;transform:scale(1);transition:transform 2.8s cubic-bezier(.22,.7,.22,1);will-change:transform}.scene.zoomed{transform:scale(1.38)}.room{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;filter:blur(1.2px);pointer-events:none}.screen-frame{position:absolute;left:22%;top:20.1%;width:56.1%;height:59.7%;overflow:hidden;background:var(--teal);box-shadow:0 0 0 1px #111;border-radius:1px}.desktop{position:relative;width:1080px;height:648px;transform-origin:top left;background:radial-gradient(ellipse at 65% 30%,#116c66,#075653 80%);overflow:hidden;font-size:16px}.desktop:after{content:'';position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,transparent 0 3px,#0000000b 3px 4px);z-index:200;opacity:.35}.identity{position:absolute;left:92px;top:20px;display:flex;gap:22px;align-items:center;color:#eee6ca;text-shadow:2px 2px #253f38}.computer-icon{width:65px;height:65px;image-rendering:pixelated}.identity h1{font-size:43px;letter-spacing:-2px;line-height:1;margin:0 0 9px;font-weight:700}.identity p{margin:0;font-size:19px;letter-spacing:.7px}.shortcuts{position:absolute;left:10px;top:118px;width:89px;display:flex;flex-direction:column;gap:15px}.shortcuts button,.shortcuts a{border:0;background:transparent;display:flex;align-items:center;flex-direction:column;gap:5px;text-decoration:none;padding:4px 0}.shortcuts button:hover,.shortcuts a:hover{background:#ffffff19}.shortcuts>*>span:last-child{background:var(--paper);box-shadow:1px 2px #142d28;padding:3px 5px;font-size:13px}.app-icon{display:inline-flex;flex-shrink:0;width:43px;height:37px;align-items:center;justify-content:center;position:relative}.folder-icon{height:30px;margin-top:7px;background:linear-gradient(#f6da76,#d1ac47);border:2px solid #3c3928;box-shadow:inset 2px 2px #fff3b5,2px 2px #213c32}.folder-icon:before{content:'';position:absolute;left:0;top:-8px;width:20px;height:7px;background:#f0cf69;border:2px solid #3c3928;border-bottom:0}.gear-icon{font-size:47px;color:#e9e2cc;line-height:1;text-shadow:2px 2px #152f2b}.about-icon{background:#e8dfc4;border:3px double #3a4133;font-weight:bold;box-shadow:2px 2px #143d34;color:#325e73;font-size:21px}.github-icon{background:#eee5cc;border-radius:50%;font-weight:bold;font-size:23px}.sound-icon{background:#103e3d;color:#73c6a6;border:4px ridge #cfcbb7;font-size:14px;letter-spacing:-3px;box-shadow:2px 2px #173d34}.window{position:absolute;background:var(--paper);border:3px solid;border-color:var(--light) #68695e #68695e var(--light);box-shadow:2px 3px 0 #18382e;padding:3px;min-width:240px}.titlebar{height:30px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(90deg,#142971,#244695);color:#fff8df;font-weight:bold;padding:3px 4px 3px 7px;cursor:grab;user-select:none;touch-action:none}.titlebar:active{cursor:grabbing}.titlebar>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.window-actions{display:flex;gap:3px;flex-shrink:0;padding-left:6px}.window-actions button{font-family:Arial,sans-serif;font-size:20px;line-height:18px;width:23px;height:23px;font-weight:bold;padding:0}.retro-button,.window-actions button,.taskbar button,.tags span,.experience-controls button{background:var(--paper);border:2px solid;border-color:var(--light) #68695e #68695e var(--light);box-shadow:1px 1px #30372e}.window-actions button:active,.retro-button:active,.taskbar button:active{border-color:#68695e var(--light) var(--light) #68695e}.projects-window{left:112px;top:116px;width:342px;height:278px}.folder-address{display:flex;gap:8px;font-size:12px;align-items:center;padding:9px 4px}.folder-address span{flex:1;background:#faf6e8;border:2px inset #efead8;padding:4px}.project-list{margin:0 4px;padding:5px;background:#f1ebd9;min-height:153px;border:2px inset #f1ebd9}.project-list button{background:none;border:1px solid transparent;width:100%;display:flex;align-items:center;gap:17px;text-align:left;padding:12px 10px;font-size:20px;font-weight:bold}.project-list button small{display:block;font-size:11px;margin-top:6px;font-weight:normal}.project-list button.selected{background:#19357c;color:#fff6dd;border:1px dotted #fff}.project-list button:hover:not(.selected){background:#d9ddcf}.window-status{padding:7px 8px;font-size:11px;color:#55584c}.detail-window{left:468px;top:116px;width:587px;height:471px}.detail-body{padding:12px 13px}.preview{height:222px;background:#17242b;position:relative;overflow:hidden;border:2px inset #eee6cc;color:#b5d9c1}.preview-caption{position:absolute;left:10px;top:10px;font-size:10px;letter-spacing:1px;color:#c3d6cf}.preview-label{position:absolute;right:8px;bottom:8px;font-size:10px;background:#111b1fbb;padding:4px;color:#bbc7ba}.hand-preview{display:block;height:100%;width:100%;background:radial-gradient(ellipse at center,#2d393c,#182126)}.hand-outline{fill:#c29f83;stroke:#e7baa0;stroke-width:2}.landmark-line{fill:none;stroke:#89cfa5;stroke-width:2}.landmark-dot{fill:#e4a3a4;stroke:#ffe2ce;stroke-width:1.5}.volume-row{display:flex;align-items:center;gap:10px;padding:9px 1px 4px}.volume-row input{flex:1;min-width:0;accent-color:var(--blue);height:17px}.volume-row output{font-size:17px;font-weight:bold;min-width:42px}.detail-body h2{font-size:16px;margin:12px 0 5px}.description{font-family:var(--mono);font-size:14px;line-height:1.45;margin:7px 0 12px}.tags{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 14px}.tags span{font-size:12px;padding:4px 8px;box-shadow:none}.retro-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:bold;font-size:15px;padding:8px 16px;min-height:34px}.project-link{display:flex;width:max-content;margin:0 auto}.tech-window{left:112px;top:408px;width:342px;height:179px}.tech-body{padding:10px 12px}.tech-body h2{font-size:15px;margin:0 0 6px;padding-bottom:6px;border-bottom:1px solid #858274}.tech-body ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:5px}.tech-body li{display:flex;gap:10px;align-items:center;font-size:14px}.tech-body li>b{width:28px;text-align:center;font-size:19px}.tech-body small{display:inline;font-size:10px;color:#5d6255;margin-left:8px}.python-mark{color:#306a94}.opencv-mark{color:#31955d}.mp-mark{color:#965f3a}.about-window{width:520px;left:290px;top:135px;z-index:40}.about-body{padding:25px;line-height:1.6;font-size:16px}.about-body h2{margin:12px 0}.avatar{width:65px;height:65px;background:var(--teal);color:var(--paper);display:grid;place-items:center;font-size:28px;border:3px inset #c8c6b4}.taskbar{position:absolute;bottom:0;left:0;width:100%;height:43px;background:#d4d1be;border-top:3px solid #f8f0d8;display:flex;align-items:center;gap:7px;padding:4px 7px;z-index:300}.taskbar button{height:31px;padding:3px 10px;font-size:13px}.start-button{font-size:17px!important;min-width:75px}.task-tabs{display:flex;gap:6px;flex:1;min-width:0}.task-tabs button{text-align:left;width:173px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.task-tabs button.active{background:#ede8d7;border-color:#72776a #fff7df #fff7df #72776a}.taskbar time{font-size:13px;border:2px inset #f4ecd9;padding:6px;white-space:nowrap}.start-menu{position:absolute;bottom:42px;left:6px;z-index:301;background:var(--paper);border:3px outset #ece7d3;box-shadow:3px 3px #173b32;display:flex;width:250px}.start-label{background:var(--blue);color:#dfdac5;writing-mode:vertical-rl;transform:rotate(180deg);font-size:22px;font-weight:bold;padding:13px 8px}.start-menu>div:last-child{flex:1;padding:8px 0}.start-menu button,.start-menu a{display:block;width:100%;padding:12px;text-align:left;background:none;border:0;text-decoration:none;font-size:14px}.start-menu button:hover,.start-menu a:hover{background:var(--blue);color:white}.experience-controls{position:absolute;left:25px;right:25px;bottom:20px;display:flex;justify-content:space-between;align-items:center;gap:12px;color:#e6decf;font-size:12px;z-index:500;text-shadow:0 1px 4px #000}.experience-controls>div{display:flex;gap:8px}.experience-controls button{background:#211e18a6;color:#eae2cf;border:1px solid #d9cdaa45;box-shadow:none;padding:8px 13px;border-radius:3px;font-size:12px;backdrop-filter:blur(8px)}.experience-controls button:hover{background:#594c39}.boot-note{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);pointer-events:none;text-align:center;color:#f9ecd1;font-size:24px;padding:30px;background:#172d2bd9;box-shadow:0 8px 35px #0007;transition:opacity .6s;z-index:400}.boot-note span{display:block;font-size:12px;margin-top:14px}.boot-note.dismissed{opacity:0}.rima-preview{display:flex;align-items:center;justify-content:center;gap:30px;background:radial-gradient(ellipse at center,#194c4b,#17242b)}.rima-orb{width:88px;height:88px;border:1px solid #87ceae;border-radius:50%;box-shadow:0 0 25px #65c6ad44,inset 0 0 25px #65c6ad33;display:grid;place-items:center;font-size:35px;color:#d1efde}.rima-preview h3{font-size:30px;letter-spacing:5px;margin:0 0 12px;color:#e8e3cd}.rima-preview p{font-size:12px;line-height:1.9;margin:0}.rima-preview .wave{letter-spacing:4px;color:#a7c4b6}.window.maximized{left:4px!important;top:4px!important;width:1072px!important;height:595px!important;z-index:100!important}.window.maximized .preview{height:300px}.window.maximized .detail-body{max-width:750px;margin:auto}.window.maximized .tech-body{padding:25px}.window.maximized .tech-body li{font-size:22px;padding:15px}.window.maximized .project-list button{padding:30px}.window.maximized .about-body{max-width:650px;margin:auto}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}.boot-note{display:none}}
@media(max-width:700px){html,body{height:auto!important;min-height:100%;overflow:visible!important}html{overflow-x:hidden!important}.experience{height:auto!important;overflow:visible!important}.scene{transition:none!important}}
@media(max-width:700px){html,body{height:100%;overflow:auto}.experience{min-height:100svh;display:block;overflow:hidden;background:#075653;padding-bottom:74px}.scene,.scene.zoomed{width:100%;height:auto;aspect-ratio:auto;transform:none!important}.room{position:fixed;height:100svh;object-fit:cover;filter:blur(5px) brightness(.35)}.screen-frame{position:relative;left:0;top:0;width:100%;height:auto;overflow:visible;background:transparent;box-shadow:none}.desktop{width:100%;height:auto;min-height:100svh;padding:22px 12px 75px;transform:none!important;overflow:visible;background:#075653e8}.identity{position:relative;left:0;top:0;gap:12px;margin-bottom:20px}.identity h1{font-size:29px;letter-spacing:-1px}.identity p{font-size:12px}.computer-icon{width:42px;height:42px}.shortcuts{position:relative;left:0;top:0;width:100%;flex-direction:row;justify-content:space-around;gap:5px;margin-bottom:18px}.shortcuts>*>span:last-child{font-size:11px}.window,.window.maximized{position:relative;left:auto!important;top:auto!important;width:100%!important;height:auto!important;margin:0 0 15px;min-width:0}.projects-window{min-height:225px}.detail-window{min-height:460px}.tech-window{min-height:190px}.tech-body small{display:block;margin:2px 0}.tech-body li{margin:5px}.titlebar{height:35px}.window-actions button{width:28px;height:27px}.preview,.window.maximized .preview{height:220px}.description{font-size:15px}.detail-body{padding:10px}.taskbar{position:fixed;bottom:0;height:47px;padding:5px;z-index:600}.task-tabs button{width:84px;font-size:10px;padding:3px 4px}.taskbar time{font-size:10px;padding:7px 3px}.taskbar .start-button{min-width:51px;padding:3px 5px}.start-menu{position:fixed;bottom:47px;z-index:601}.experience-controls{position:relative;bottom:auto;left:auto;right:auto;padding:14px;font-size:11px}.room-label span{display:none}.experience-controls button{padding:7px}.boot-note{font-size:19px;position:fixed;width:85%}.tech-body h2{font-size:17px}.tech-body li{font-size:16px}.about-body{padding:18px}.desktop:after{display:none}}

/* Updated desk photo and the three-project folder. The original image is never altered. */
.desk-photo{position:absolute;left:80.7%;top:53%;width:17%;padding:.65%;background:linear-gradient(130deg,#ae7547,#533522 45%,#97633b);border:1px solid #4a3022;box-shadow:5px 8px 8px #2415088c,inset 1px 1px 2px #e2ae71;transform:rotate(-6deg);filter:blur(2.4px);pointer-events:none}
.photo-mat{background:#d5c9ae;padding:5%;box-shadow:inset 0 0 5px #36261d}
.photo-print{position:relative;width:100%;aspect-ratio:870/530;overflow:hidden;background:#9b9c96}
.photo-print img{position:absolute;width:141.15%;max-width:none;height:auto;left:-20.69%;top:-258.49%;filter:blur(.7px) brightness(.83) sepia(.12)}
.projects-window{height:313px}
.project-list button{padding:10px;font-size:19px}
.tech-window{top:442px;height:145px}
.tech-body{padding:6px 12px}
.tech-body h2{font-size:14px;margin:0 0 4px;padding-bottom:3px}
.tech-body ul{gap:3px}
.tech-body li{font-size:13px;line-height:18px}
.tech-body li>b{font-size:16px}
.lens-icon{font-size:36px;color:#214f56;background:#e4dec9;border:3px double #6e7764}
.image-preview{display:block;background:#0b0d0d}
.project-image{display:block;width:100%;height:100%;object-fit:contain}
.image-preview .preview-label{font-size:9px;bottom:3px;right:3px;padding:3px 5px}
.phantom-preview .project-image{object-fit:cover}
.window.maximized .image-preview{height:310px}
@media(max-width:700px){.desk-photo{display:none}.projects-window{min-height:290px}.tech-window{min-height:190px}.tech-body{padding:10px 12px}.tech-body h2{font-size:17px}.tech-body li{font-size:16px;line-height:1.4}.tech-body li>b{font-size:19px}.project-list button{font-size:19px}.image-preview,.window.maximized .image-preview{height:210px}.detail-window{min-height:400px}}
/* Keep the entire framed photo within the focused camera view. */
.desk-photo{left:79%;top:62%;width:7.4%}

/* Cozy, tactile room treatment; the screen remains a sharp independent surface. */
.scene{transform-origin:82% 50%;translate:var(--camera-x,0px) var(--camera-y,0px)}
.scene.zoomed{transform:scale(1.18)}
.room{filter:blur(1.6px) brightness(.84) saturate(.88) contrast(1.06)}
.room-grade,.room-grain{position:absolute;inset:0;pointer-events:none}
.room-grade{background:radial-gradient(ellipse at 94% 42%,#ffaa5e24,transparent 42%),linear-gradient(135deg,#2b3a556b,transparent 65%),radial-gradient(ellipse at 51% 62%,transparent 38%,#080c17a3 100%);mix-blend-mode:soft-light}
.room-grain{background-image:url('assets/grain.svg');opacity:.07;mix-blend-mode:soft-light}
.scene:after{content:'';position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 95px 12px #0c0b163d}
.desk-photo{left:80%;top:54%;width:17%;filter:blur(2.2px);box-shadow:5px 8px 12px #1a1013a6,inset 1px 1px 2px #d2a174}
.screen-frame{box-shadow:0 0 0 1px #111,0 0 14px #7ec1a317}
.camera-controls{display:flex;gap:5px}
.camera-controls button{font-size:12px;padding:3px 8px;white-space:nowrap}
.task-tabs button{width:155px}
.stack-summary{padding:9px 12px}
.stack-summary p{font-size:13px;margin:0 0 4px;font-weight:bold}
.stack-summary>span{display:block;font-size:11px;color:#545d53;margin-bottom:9px}
.stack-summary .retro-button{font-size:12px;padding:4px 10px;min-height:26px}
.stack-catalog,.stack-status{display:none}
.tech-window.stack-expanded{left:285px;top:116px;width:770px;height:471px}
.tech-window.stack-expanded,.tech-window.maximized{display:flex;flex-direction:column}
.tech-window:is(.stack-expanded,.maximized) .stack-summary{display:none}
.tech-window:is(.stack-expanded,.maximized) .stack-catalog{display:block;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;margin:8px 5px 5px;padding:18px;background:#f0ebdc;border:2px inset #f9f3e2;scrollbar-color:#989b88 #ddd8c5;scrollbar-width:thin}
.stack-heading{border-bottom:1px solid #a3a58e;padding-bottom:14px;margin-bottom:18px}
.stack-heading h2{font-size:24px;letter-spacing:-1px;line-height:1.15;margin:0 0 8px}
.stack-heading p{font-size:13px;line-height:1.6;color:#50594e;max-width:540px;margin:0}
.stack-groups{display:grid;grid-template-columns:1fr 1fr;gap:22px 24px}
.stack-group{min-width:0}
.stack-group h3{font-size:14px;line-height:1.4;margin:0 0 5px;color:#173e3d}
.stack-group p{font-size:12px;line-height:1.55;color:#596052;margin:0 0 10px}
.stack-group ul{display:flex;flex-wrap:wrap;list-style:none;gap:6px;padding:0;margin:0}
.stack-group li{font-size:13px;line-height:1.3;background:#e4e5d6;border:1px solid #a4ad97;border-left:3px solid #466d62;padding:5px 8px}
.tech-window:is(.stack-expanded,.maximized) .stack-status{display:flex;justify-content:space-between;gap:8px;padding:6px 10px;font-size:11px;color:#555f50;border-top:1px solid #a9aa94}
.stack-catalog:focus-visible{outline:2px dashed #204f4b;outline-offset:-4px}
@media(prefers-reduced-motion:reduce){.scene{translate:none!important}}
@media(max-width:700px){.scene{translate:none!important}.scene:after{display:none}.room{filter:blur(5px) brightness(.35)}.room-grade,.room-grain{display:none}.tech-window{min-height:145px}.tech-window.stack-expanded{width:100%!important;height:auto!important}.tech-window:is(.stack-expanded,.maximized) .stack-catalog{overflow:visible;padding:14px}.stack-groups{grid-template-columns:1fr;gap:23px}.stack-heading h2{font-size:23px}.stack-group h3{font-size:16px}.stack-group p{font-size:13px}.stack-group li{font-size:14px;padding:6px 9px}.stack-summary p{font-size:15px}.stack-summary>span{font-size:12px}.stack-summary .retro-button{font-size:14px;min-height:32px}.stack-status span:last-child{display:none}.task-tabs{gap:3px}.task-tabs button{width:62px;font-size:10px}.camera-controls{gap:3px}.camera-controls button{font-size:10px;padding:3px 4px}.taskbar time{font-size:9px;padding:6px 2px}.taskbar{gap:4px}.boot-note{position:absolute}}

/* Photographic 2.5D composition. No procedural room or WebGL renderer. */
:root{--light:#f5f2eb;--paper:#e5dfcf;--blue:#233b77}
body{background:#171715}
.experience{perspective:1600px}
.scene{transform-origin:75% 55%;translate:none;transform:perspective(1600px) rotateY(var(--yaw,0deg)) rotateX(var(--pitch,0deg)) scale(.96);transform-style:preserve-3d;transition:transform 1.8s cubic-bezier(.22,.7,.22,1)}
.scene.zoomed{transform:perspective(1600px) rotateY(var(--yaw,0deg)) rotateX(var(--pitch,0deg)) scale(1.06)}
.scene:after{display:none}
.background-plane,.foreground-plane{position:absolute;inset:0;will-change:translate;transform-style:preserve-3d}
.background-plane{translate:calc(var(--camera-x,0px)*.55) calc(var(--camera-y,0px)*.55)}
.foreground-plane{translate:calc(var(--camera-x,0px)*.85) calc(var(--camera-y,0px)*.85);pointer-events:none}
.room{filter:blur(.55px);width:100%;height:100%;object-fit:fill}
.laptop-cutout{position:absolute;inset:0;width:100%;height:100%;clip-path:polygon(21.2% 17.4%,78.9% 17.4%,79.3% 82%,86.8% 99%,15.1% 99%,20.8% 82%);filter:blur(.45px);pointer-events:none}
.screen-frame{pointer-events:auto;left:22%;top:20.1%;width:56.1%;height:59.7%;filter:brightness(.92) contrast(.95);transform:perspective(1600px) rotateX(.12deg);transform-origin:50% 50%;border:1px solid #1b2929;border-radius:1px;box-shadow:0 0 40px rgba(45,130,125,.25),0 0 90px rgba(255,235,200,.12)}
.screen-frame:after{content:'';position:absolute;inset:0;pointer-events:none;z-index:1000;background:linear-gradient(135deg,rgba(255,255,255,.07) 0%,rgba(255,255,255,0) 45%),repeating-linear-gradient(0deg,rgba(0,0,0,.06) 0px,rgba(0,0,0,.06) .5px,transparent .5px,transparent 2px);box-shadow:inset 0 0 18px rgba(0,0,0,.45)}
.desktop:after{display:none}
.identity{color:#f5f2eb}
.titlebar{color:#f5f2eb}
.scene-grade,.scene-grain{position:absolute;inset:0;pointer-events:none;z-index:1500;border-radius:1px}
.scene-grade{background:#e5a45f;opacity:.08;mix-blend-mode:soft-light}
.scene-grain{background-image:url('assets/grain.svg');opacity:.025;mix-blend-mode:soft-light}
.desk-photo{left:80%;top:54%;width:17%;filter:blur(.85px);box-shadow:5px 8px 12px #1a101366,inset 1px 1px 2px #d2a174}
.photo-print img{filter:blur(.45px) brightness(.93)}
.wall-posters{position:absolute;inset:0;pointer-events:none}
.wall-poster{position:absolute;margin:0;padding:.25%;background:#292720;border:1px solid #4b4032;box-shadow:1px 3px 5px #2d241c66;filter:brightness(.88) saturate(.9) blur(.55px);transform-origin:50% 50%}
.wall-poster img{display:block;width:100%;height:auto;object-fit:contain}
.wall-poster.voyager{left:6%;top:1%;width:14%;rotate:-1.4deg}
.wall-poster.spiderverse{left:38%;top:.5%;width:10%;rotate:.7deg}
.wall-poster.apricot{left:68%;top:.7%;width:9%;rotate:-.7deg}
@media(prefers-reduced-motion:reduce){.scene,.scene.zoomed{transform:scale(1)!important}.background-plane,.foreground-plane{translate:none!important}}
@media(max-width:700px){.background-plane{position:fixed;inset:0;translate:none}.room{filter:blur(1px) brightness(.8);object-fit:cover}.foreground-plane{position:relative;inset:auto;translate:none;pointer-events:auto}.laptop-cutout,.wall-posters,.scene-grade,.scene-grain{display:none}.scene,.scene.zoomed{transform:none!important;perspective:none}.scene{height:auto;transform-style:flat}.screen-frame{position:relative;left:0;top:0;width:100%;height:auto;transform:none;filter:brightness(.97) contrast(.98);border:0;box-shadow:none;overflow:visible}.screen-frame:after{position:absolute;box-shadow:none;opacity:.5}.desktop{background:#0b5552f5}.desk-photo{display:none}}
/* Portrait artwork stays on the wall and clear of the foreground props. */
.wall-poster.voyager{left:6%;top:.5%;width:10.5%}
.wall-poster.spiderverse{left:38%;top:.25%;width:7%}
.wall-poster.apricot{left:68%;top:.25%;width:5.5%}
/* Flatten each photographic layer so the blank screen in the photo cannot depth-sort over its live UI. */
.foreground-plane{transform-style:flat}
.laptop-cutout{z-index:0}
.screen-frame{z-index:2;transform:perspective(1600px) translateZ(2px) rotateX(.12deg)}
@media(max-width:700px){.screen-frame{transform:none}}
/* Damping is handled in JavaScript; keep zoom transitions separate from pointer rotation. */
.scene{transform:perspective(1600px) scale(.96);rotate:y var(--yaw,0deg)}
.scene.zoomed{transform:perspective(1600px) scale(1.06)}
@media(prefers-reduced-motion:reduce){.scene,.scene.zoomed{transform:scale(1)!important;rotate:none!important}}
@media(max-width:700px){.scene,.scene.zoomed{transform:none!important;rotate:none!important}}

/* Optical refinement: preserve the photograph; focus only the wall plane. */
.room,.laptop-cutout{filter:none}
.wall-focus,.props-cutout{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none}
.wall-focus{clip-path:polygon(0 0,100% 0,100% 62.3%,0 62.3%);filter:blur(1.5px)}
.wall-posters{filter:blur(1.5px)}
.wall-poster{filter:brightness(.88) saturate(.9);box-shadow:1px 2px 3px #2d241c66}
.wall-poster.voyager{left:2.8%;top:1%;width:15%;rotate:-.8deg}
.wall-poster.spiderverse{left:80%;top:.5%;width:14.5%;rotate:.6deg}
.wall-poster.apricot{left:39%;top:.5%;width:13.5%;rotate:-.5deg}
.props-cutout{clip-path:url(#desk-props-mask);filter:none}
.optical-masks{position:absolute;pointer-events:none}
.screen-frame{transform:perspective(1400px) rotateX(1.5deg);border-radius:3px}
.desk-photo{left:79.1%;top:57%;width:18.5%;filter:none;transform:perspective(1000px) rotateY(-7deg) rotateX(6deg) rotateZ(-1.5deg);transform-origin:50% 100%;transform-style:flat;box-shadow:-2px 4px 2px #24180f66,-6px 11px 13px #24180f4d,inset 1px 1px 2px #d2a174}
.desk-photo:after{content:'';position:absolute;left:8%;right:8%;bottom:-7px;height:9px;background:#281b12;opacity:.28;filter:blur(4px);z-index:-1;pointer-events:none}
.photo-print img{filter:brightness(.93)}
.experience:after{content:'';position:fixed;inset:0;z-index:2000;pointer-events:none;background:radial-gradient(ellipse at 50% 48%,transparent 60%,rgba(12,9,6,.13) 100%)}
@media(max-width:700px){.wall-focus,.props-cutout{display:none}.room{filter:brightness(.8)}.screen-frame{transform:none;border-radius:0}.experience:after{opacity:.45}}
/* Keep the framed print in front of the photographic prop cutout when it leans. */
.background-plane{transform-style:flat;isolation:isolate}
.wall-focus{z-index:0}
.wall-posters{z-index:1}
.props-cutout{z-index:2}
.desk-photo{z-index:3}
.wall-poster.voyager{left:5.5%}
/* Alpha-only leaf mask preserves the original foliage, including the gaps between leaves. */
.plant-cutout{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;z-index:2;pointer-events:none;mask-image:url('assets/plant-mask.webp');mask-size:100% 100%;mask-repeat:no-repeat;-webkit-mask-image:url('assets/plant-mask.webp');-webkit-mask-size:100% 100%;-webkit-mask-repeat:no-repeat}
@media(max-width:700px){.plant-cutout{display:none}}

/* Natural desk placement. Keep the frame's existing width and content dimensions. */
.desk-photo{left:79.6%;top:62.5%;transform:perspective(1000px) rotateY(-12deg) rotateX(6deg) rotateZ(-1.5deg)}
.photo-print img{filter:contrast(.85) brightness(.8)}
.photo-mat{position:relative}
.photo-mat:after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(135deg,transparent 8%,rgba(255,245,222,.065) 27%,rgba(255,245,222,.015) 43%,transparent 62%)}
.desk-photo:before{content:'';position:absolute;inset:0;z-index:5;pointer-events:none;background:linear-gradient(225deg,rgba(35,23,13,.24) 0%,rgba(35,23,13,.075) 17%,transparent 42%)}
/* Wall art shares the wall's exact optical blur, with warmer, lower-contrast paper. */
.wall-focus,.wall-posters{filter:blur(2px)}
.wall-poster{padding:0;border:1px solid rgba(213,197,164,.35);background:#b8aa91;box-shadow:none;filter:contrast(.82) brightness(.75) drop-shadow(1px 2px 3px rgba(0,0,0,.5))}
.wall-poster:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,rgba(31,21,13,.2) 0%,rgba(255,180,93,.025) 50%,rgba(255,199,130,.12) 100%);mix-blend-mode:soft-light}
.wall-poster.voyager{left:7%;top:2.4%;width:9.75%;rotate:-1.1deg}
.wall-poster.spiderverse{left:18.2%;top:5.2%;width:9.425%;rotate:.8deg}
.wall-poster.apricot{display:none}
/* A slight left/up camera bias breaks the centered, uncropped presentation. */
.scene{transform:perspective(1600px) translate3d(-.4%,-.6%,0) scale(.98)}
.scene.zoomed{transform:perspective(1600px) translate3d(-.4%,-.6%,0) scale(1.075)}
@media(max-width:700px){.scene,.scene.zoomed{transform:none!important}}


/* One analog lens processes the photographic room and live laptop UI together. */
.camcorder-filter-defs{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.experience{filter:url('#analog-camcorder')}
.experience:after,.scene-grain{display:none}
.analog-lens{position:fixed;inset:0;z-index:50;pointer-events:none;overflow:hidden}
.camcorder-grain{position:absolute;inset:-5%;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22180%22%3E%3Cfilter%20id%3D%22grain%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22100%25%22%20height%3D%22100%25%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.85%22%20numOctaves%3D%223%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20type%3D%22saturate%22%20values%3D%220%22%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url(%23grain)%22%2F%3E%3C%2Fsvg%3E");background-repeat:repeat;background-size:180px 180px;mix-blend-mode:soft-light;opacity:.08;will-change:transform;animation:camcorder-grain-drift .5s steps(7,end) infinite alternate}
.camcorder-vignette{position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at center,transparent 58%,rgba(0,0,0,.42) 100%)}
@keyframes camcorder-grain-drift{from{transform:translate3d(-2%,-1%,0)}to{transform:translate3d(2%,1%,0)}}
@media(prefers-reduced-motion:reduce){.camcorder-grain{animation:none;will-change:auto}}

/* Move only the wall plane closer. The photographed props and camera stay fixed.
   The source mask excludes the laptop, foliage and lamp before the wall zoom;
   the outer clip keeps the enlarged wall from covering the desk surface. */
.wall-proximity{position:absolute;inset:0;z-index:1;pointer-events:none;clip-path:polygon(0 0,100% 0,100% 62.3%,0 62.3%);transform-style:flat}
.wall-close{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;filter:blur(2px);z-index:0}
.wall-close,.wall-proximity .wall-posters{transform:translateY(-1.25%) scale(1.125);transform-origin:12% 0}
.wall-proximity .wall-posters{z-index:1;filter:blur(2px)}
.poster-tape{position:absolute;display:block;width:24%;height:6%;z-index:2;pointer-events:none;background:linear-gradient(105deg,rgba(215,188,142,.62),rgba(183,153,109,.49) 45%,rgba(225,198,154,.55));border:1px solid rgba(231,207,165,.12);box-shadow:0 1px 2px rgba(24,14,7,.18)}
.poster-tape.tape-top{left:-9%;top:-1.5%;rotate:-34deg}
.poster-tape.tape-bottom{right:-9%;bottom:-1.5%;rotate:-34deg}

/* Rest the unchanged-size wooden frame on the desk, lit from the right. */
.desk-photo{transform:perspective(900px) rotateY(-14deg) rotateX(4deg) rotateZ(.8deg);filter:blur(.6px);border-top-color:rgba(255,200,140,.55);border-right-color:rgba(255,190,120,.4);box-shadow:0 3px 4px rgba(0,0,0,.85),0 12px 24px rgba(0,0,0,.65),inset 0 1px 1px rgba(255,211,160,.18);isolation:isolate}
.desk-photo:before{inset:auto;left:-8%;right:8%;bottom:-10px;height:15%;z-index:-1;background:rgba(15,8,2,.65);filter:blur(8px);transform:skewX(25deg) translate(-10px,6px);opacity:1}
.desk-photo:after{left:3%;right:3%;bottom:-3px;height:4px;background:rgba(15,8,2,.85);opacity:.75;filter:blur(1.5px)}
.photo-mat{box-shadow:inset 0 2px 6px rgba(0,0,0,.5)}
.photo-print img{filter:sepia(.15) brightness(.84) contrast(.9)}
.photo-mat:after{background:linear-gradient(125deg,rgba(255,235,210,.14) 0%,transparent 45%)}
@media(max-width:700px){.wall-proximity{display:none}}

/* Five new matte prints join the original two on the same wall plane.
   All seven are 40% larger; foreground cutouts occlude the whole collage. */
.wall-collage{position:absolute;inset:0;z-index:2;pointer-events:none;transform:translateY(-1.25%) scale(1.125);transform-origin:12% 0}
.collage-print{position:absolute;margin:0;padding:0;border:0;border-radius:1px;background:transparent;box-shadow:1px 3px 6px rgba(0,0,0,.45);filter:blur(1.4px) sepia(.18) brightness(.76) contrast(.82) saturate(.88);transform-origin:50% 50%;isolation:isolate}
.collage-print img{display:block;width:100%;height:auto;border-radius:1px}
.collage-print:after{content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:linear-gradient(245deg,rgba(255,165,85,.16) 0%,rgba(15,10,8,.28) 100%);mix-blend-mode:soft-light}
.collage-mint{left:63.8%;top:.6%;width:7.56%;rotate:-1.5deg;z-index:2}
.collage-cyberpunk{left:42%;top:1.5%;width:8.54%;rotate:1.2deg;z-index:1}
.collage-reflections{left:29.3%;top:1.8%;width:11.48%;rotate:-.8deg;z-index:1}
.collage-pinoy{left:51.8%;top:.5%;width:8.4%;rotate:1.8deg;z-index:1}
.collage-coding{left:73.4%;top:5.5%;width:15.68%;rotate:-1.2deg;z-index:1}
/* Leave the artwork intact while fitting the left cluster above the laptop. */
.wall-poster.voyager{width:13.65%}
.wall-poster.spiderverse{left:16.4%;top:.8%;width:10.5%}
.collage-tape{position:absolute;display:block;width:21%;height:5.5%;z-index:3;pointer-events:none;background:rgba(225,205,165,.72);box-shadow:0 1px 2px rgba(0,0,0,.25)}
.collage-tape.tape-left{left:-7%;top:-1.5%;rotate:-33deg}
.collage-tape.tape-right{right:-7%;top:-1.5%;rotate:31deg}
.collage-mint .collage-tape{left:36%;right:auto;top:-2%;width:29%;height:6%;rotate:-8deg}
@media(max-width:700px){.wall-collage{display:none}}
/* A color-keyed copy restores only the lower leaves, leaving the new paper
   visible through foliage gaps instead of restoring polygon-shaped wall pixels. */
.plant-lower-cutout{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;clip-path:polygon(0 39%,20% 39%,20% 55%,0 55%)}
@media(max-width:700px){.plant-lower-cutout{display:none}}

/* Restore foliage above the entire wall stack. The key selects green/yellow
   leaves and their darker edges, without restoring the bare-wall gaps. */
.plant-cutout,.plant-lower-cutout{z-index:6}
.plant-lower-cutout{clip-path:polygon(0 24.5%,20% 24.5%,20% 55%,0 55%)}
/* Only two feathered areas from the edited photo are composited; the original
   photograph still supplies the notebook binding, lamp, laptop and all else. */
.local-cleanup{position:absolute;inset:0;width:100%;height:100%;z-index:5;pointer-events:none}
.desk-photo{transform:perspective(800px) rotateY(-16deg) rotateX(6deg);box-shadow:0 3px 3px rgba(0,0,0,.9),0 10px 20px rgba(0,0,0,.6);filter:blur(.6px)}
.desk-photo:before{left:-10%;right:10%;bottom:-9px;height:16%;background:rgba(15,8,2,.65);filter:blur(8px);transform:skewX(25deg) translate(-10px,6px)}
.photo-print img{filter:sepia(.18) brightness(.8) contrast(.88)}
.photo-mat:after{background:linear-gradient(125deg,rgba(255,235,210,.1),transparent 45%)}
@media(max-width:700px){.local-cleanup{display:none}}

/* Readable artwork keeps a little lens softness without the previous haze. */
.wall-proximity .wall-posters{filter:blur(.3px)}
.wall-poster{filter:contrast(.9) brightness(.82) drop-shadow(1px 2px 3px rgba(0,0,0,.45))}
.collage-print{filter:blur(.3px) sepia(.12) brightness(.84) contrast(.9) saturate(.94)}
.desk-photo{filter:blur(.15px)}
.photo-print img{filter:sepia(.1) brightness(.87) contrast(.97)}

/* Static material plates add diffuse 3D-style surfaces only to the existing
   plant, lamp and notebook. The mug, laptop, frame and camera remain separate. */
.plant-material-plate,.prop-materials{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.plant-material-plate{z-index:0}
.prop-materials{z-index:2}
.plant-cutout{display:none}
.plant-lower-cutout{clip-path:polygon(0 24%,20.5% 24%,20.5% 57%,0 57%)}
@media(max-width:700px){.plant-material-plate,.prop-materials{display:none}}

/* Closer focused camera, readable desktop text, and a forward-facing frame. */
.scene.zoomed{transform-origin:50% 45%;transform:perspective(1600px) translate3d(-.4%,2%,0) scale(1.3)}
.desk-photo{transform:perspective(1000px) rotateY(-3deg) rotateX(3deg)}
.screen-frame{filter:brightness(.97) contrast(1)}
.identity h1{font-size:36px;line-height:1.25;letter-spacing:-1.2px;min-height:45px;white-space:nowrap}
.typing-caret{display:inline-block;width:.58em;height:1em;margin-left:.14em;vertical-align:-.12em;background:currentColor;font-size:inherit;color:inherit;overflow:hidden;animation:caret-blink 1s steps(1) infinite}
@keyframes caret-blink{50%{opacity:0}}
.description{font-size:16px;line-height:1.45}
.window-status,.folder-address{font-size:13px}
.shortcuts{gap:8px}
.contacts-icon svg{width:40px;height:40px}
.about-window{width:600px;height:470px;left:270px;top:100px}
.about-body{height:calc(100% - 30px);overflow:auto;padding:18px 24px;font-size:16px;line-height:1.45}
.about-body .avatar{width:45px;height:45px;font-size:22px}
.about-body h2{font-size:25px;margin:10px 0}
.education{border-top:1px solid #8e907e;margin:17px 0;padding-top:12px}
.education h3{margin:0 0 10px;font-size:18px}
.education-row{display:flex;justify-content:space-between;gap:12px;align-items:center}
.education-row strong{font-size:20px}.education-row span{font-size:14px}
.education p{margin:7px 0;font-size:14px}
.contacts-window{width:550px;height:450px;left:300px;top:105px}
.contacts-body{height:calc(100% - 30px);overflow:auto;padding:18px 23px}
.contacts-body h2{font-size:25px;margin:0 0 7px}.contacts-note{font-size:13px;margin:0 0 14px;color:#4b5145}
.contact-list{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.contact-list li{display:flex;align-items:center;gap:16px;padding:8px 0;border-bottom:1px solid #aaa996}
.contact-list h3{font-size:16px;margin:0 0 4px}.contact-list p{font-size:14px;margin:0;color:#52584c}
.contact-logo{width:38px;height:38px;display:grid;place-items:center;font-family:Arial,sans-serif;font-size:25px;font-weight:bold;flex-shrink:0}
.contact-github{color:#29352d}.contact-linkedin{background:#315b78;color:#f5f2eb;border-radius:2px}
.contact-gmail{color:#a74c3c}.contact-gmail svg{width:34px;height:26px}.contact-phone{color:#2f6258}
@media(prefers-reduced-motion:reduce){.typing-caret{animation:none;display:none}}
@media(max-width:700px){.scene.zoomed{transform:none!important}.identity h1{font-size:23px;white-space:normal;min-height:58px;letter-spacing:-.7px}.identity{align-items:flex-start}.shortcuts{flex-wrap:wrap;gap:8px}.shortcuts>*{min-width:57px}.about-body,.contacts-body{height:auto;overflow:visible;padding:16px}.description{font-size:16px}.contacts-window{min-height:400px}.screen-frame{filter:brightness(.99) contrast(1)}}

/* Strong contour-only chromatic defocus and halation on the plant, mug and notebook. */
.prop-edge-optics{position:absolute;inset:0;width:100%;height:100%;z-index:7;pointer-events:none;opacity:.9;overflow:visible}
@media(max-width:700px){.prop-edge-optics{display:none}}

/* Balanced contour optics; monochrome grain is a little stronger in shadows. */
.prop-edge-optics{opacity:.28}
.camcorder-grain{opacity:.10}

/* A quieter, warmer photographic grade, preserving all current scene angles. */
.background-plane{filter:brightness(.96) contrast(1.035) saturate(.94)}
.scene-grade{opacity:.10}
.camcorder-grain{opacity:.11}
.lamp-edge-optics{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;opacity:.34;overflow:visible}
.frame-edge-optics{position:absolute;inset:-1px;z-index:6;pointer-events:none;border:1px solid rgba(255,201,147,.19);box-shadow:-.7px 0 1.3px rgba(111,160,206,.18),.7px 0 1.3px rgba(214,116,83,.18),0 0 5px rgba(255,198,139,.09);filter:blur(.45px)}
.photo-print img{filter:blur(7px) sepia(.1) saturate(.45) brightness(1.02) contrast(.55)}
.photo-print:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(135deg,rgba(238,234,220,.35),rgba(208,218,217,.22) 55%,rgba(239,229,212,.3));box-shadow:inset 0 0 14px rgba(239,234,220,.22)}
.frame-sticky-note{position:absolute;left:4%;top:-13%;z-index:9;display:block;padding:6px 13px 9px;min-width:102px;background:linear-gradient(140deg,#e6d29c,#d1b97c);color:#493b2a;font-family:'Segoe Print','Bradley Hand','Comic Sans MS',cursive;font-size:21px;font-weight:600;line-height:1.25;white-space:nowrap;transform:rotate(-7deg);box-shadow:0 2px 2px rgba(30,19,9,.3),1px 5px 7px rgba(30,19,9,.14);border-radius:1px 1px 8px 1px;text-shadow:.25px .25px rgba(50,36,20,.25)}
.frame-sticky-note:after{content:'';position:absolute;right:0;bottom:0;width:9px;height:9px;background:linear-gradient(135deg,rgba(255,246,207,.55),rgba(140,113,61,.12));clip-path:polygon(100% 0,100% 100%,0 100%)}
@media(max-width:700px){.lamp-edge-optics{display:none}.background-plane{filter:none}}

/* Restore the original visible photo while retaining the paper note. */
.photo-print img{filter:sepia(.1) brightness(.87) contrast(.97)}
.photo-print:after{display:none}
.background-plane{filter:brightness(.94) contrast(1.07) saturate(.98)}
.bounce-lighting{position:absolute;inset:0;width:100%;height:100%;z-index:8;pointer-events:none;overflow:visible}
.camcorder-grain{opacity:.12}
@media(max-width:700px){.bounce-lighting{display:none}.background-plane{filter:none}}

.bounce-lighting{mix-blend-mode:screen}
.background-plane{filter:brightness(.92) contrast(1.12) saturate(1.03)}
.background-plane:after{content:'';position:absolute;inset:0;z-index:9;pointer-events:none;background:linear-gradient(105deg,rgba(12,13,10,.16),rgba(16,12,8,.04) 42%,transparent 70%)}
.lamp-edge-optics{opacity:.48}
@media(max-width:700px){.background-plane{filter:none}.background-plane:after{display:none}}

.material-grain{position:absolute;inset:0;width:100%;height:100%;z-index:10;pointer-events:none;mix-blend-mode:soft-light;opacity:.14}
@media(max-width:700px){.material-grain{display:none}}

/* Two live, viewport-filling camera presets. */
.scene{width:max(100vw,177.6833vh);aspect-ratio:1672/941;transform-origin:50% 50%;transform:perspective(1600px) scale(1)}
.scene.zoomed{transform-origin:50% 50%;transform:perspective(1600px) scale(1.32)}
.camera-controls button[aria-pressed=true]{background:#eee9d7;border-color:#76786a #fff7df #fff7df #76786a;box-shadow:inset 1px 1px #8b8b79}
.camcorder-grain{opacity:.16;filter:contrast(1.35)}
.material-grain{opacity:.18}
@media(prefers-reduced-motion:reduce){.scene{transform:scale(1)!important}.scene.zoomed{transform:scale(1.32)!important;transition:none!important}}
@media(max-width:700px){.scene,.scene.zoomed{width:100%;height:auto;aspect-ratio:auto;transform:none!important}.camera-controls #replayButton{display:none}}

/* Supporting copy stays readable through the analog texture. */
.description,.project-list button small,.stack-summary>span,.stack-group p,.contacts-note,.contact-list p,.education p,.window-status,.folder-address,.tags span{font-weight:600}

/* Center the cover-sized scene even when the viewport is taller than 16:9. */
.scene{position:absolute;left:50%;top:50%;transform:perspective(1600px) translate(-50%,-50%) scale(1)}
.scene.zoomed{transform:perspective(1600px) translate(-50%,-50%) scale(1.32)}
@media(prefers-reduced-motion:reduce){.scene{transform:translate(-50%,-50%) scale(1)!important}.scene.zoomed{transform:translate(-50%,-50%) scale(1.32)!important}}
@media(max-width:700px){.scene,.scene.zoomed{position:relative;left:auto;top:auto;transform:none!important}}

.contact-link{color:#244e49;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}.contact-link:hover{color:#14347c}.contact-country{display:block;margin-top:3px;font-size:11px;color:#596052}.contact-list li>div{min-width:0}

.frame-sticky-note{left:36%;top:8%;width:57%;min-width:0;aspect-ratio:1;padding:12px;display:flex;align-items:center;justify-content:center;white-space:normal;font-size:24px;transform:rotate(-4deg);border-radius:1px 1px 5px 1px}

/* Detailed project stories scroll inside the existing desktop window. */
.detail-window .detail-body{height:calc(100% - 30px);overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#7e8875 #dbd5c3;scrollbar-width:thin;padding-bottom:22px}
.project-story{padding-top:8px;line-height:1.55}
.project-story section{margin:18px 0}
.project-story h2{font-size:18px;margin:0 0 8px;border-bottom:1px solid #a2a48d;padding-bottom:5px}
.project-story p,.project-features{font-size:15px;line-height:1.6;font-weight:600}
.project-story p{margin:0 0 10px}
.project-story .project-stage{font-size:12px;color:#4b5a4d;margin:2px 0 12px;font-weight:700}
.project-features{padding-left:21px;margin:0}.project-features li{margin:7px 0}
.project-story .tags{margin-bottom:0}
.detail-window.maximized .detail-body{max-width:none;width:100%}.detail-window.maximized .project-story{max-width:750px;margin:auto}.detail-window.maximized .image-preview{height:245px}
@media(max-width:700px){.detail-window .detail-body{height:auto;overflow:visible}.project-story p,.project-features{font-size:15px}.project-story h2{font-size:19px}}

.frame-sticky-note{left:40%;top:46%;width:40%;font-size:22px}


.frame-sticky-note{left:41%;top:49%;width:36%;padding:10px 8px;font-size:18px;line-height:1.3;transform:rotate(-4deg);text-align:center}


/* Personal biography, supplied portrait and team achievement. */
.about-window{width:690px;height:515px;left:220px;top:70px}
.about-body{padding:20px 24px;line-height:1.6}
.about-portrait{float:right;width:120px;height:160px;object-fit:cover;object-position:center;margin:0 0 16px 20px;border:3px inset #eee5cd;background:#252721}
.about-body h2{font-size:25px;margin:0 0 13px;line-height:1.35}
.about-intro{font-size:15px;font-weight:400;margin:0 0 20px}
.achievements{clear:both;border-top:1px solid #8e907e;padding-top:13px;margin-top:18px}
.achievements h3{font-size:18px;margin:0 0 10px}.achievements h4{font-size:16px;line-height:1.5;margin:0 0 9px;font-weight:700}.achievements p{font-size:15px;margin:0}
@media(max-width:700px){.about-body{height:auto;padding:16px}.about-portrait{width:96px;height:128px;margin:0 0 12px 14px}.about-body h2{font-size:23px}.about-intro{font-size:15px}}

/* A screen-local power-on sequence: black, boot message, then live desktop. */
.boot-note{position:absolute;inset:0;left:0;top:0;width:100%;height:100%;transform:none;z-index:2000;display:flex;align-items:center;justify-content:center;padding:24px;background:#030504;color:#e4e5d3;box-shadow:none;border:0;pointer-events:auto;opacity:1;visibility:visible;transition:opacity .3s ease}
.boot-note .boot-message{display:flex;align-items:center;gap:10px;opacity:0;font-size:23px;letter-spacing:1px;text-shadow:0 0 8px rgba(213,232,185,.15)}
.boot-note #bootText{display:inline;font-size:inherit;margin:0}
.desktop[data-boot-state=starting] .boot-message{opacity:1}
.boot-cursor{display:inline-block;width:12px;height:23px;background:#cfd8bc;animation:caret-blink 1s steps(1) infinite}
.boot-note.dismissed{opacity:0;visibility:hidden;pointer-events:none}
.screen-frame.is-booting{box-shadow:0 0 4px rgba(0,0,0,.5)}
@media(prefers-reduced-motion:reduce){.boot-note{display:flex;transition:none}.boot-cursor{animation:none}}
@media(max-width:700px){.boot-note{position:fixed;inset:0;width:100%;height:100svh}.boot-note .boot-message{font-size:17px}.boot-cursor{width:10px;height:18px}}
/* Small, ephemeral Yohan OS tools. */
.mini-window{left:255px;top:110px;width:600px;height:440px;display:flex;flex-direction:column}
.mini-window .mini-body{flex:1;min-height:0;padding:12px;display:flex;flex-direction:column;gap:12px;overflow:auto}
.notepad-window textarea{display:block;flex:1;min-height:180px;width:100%;resize:none;padding:14px;border:2px inset #eee8d4;border-radius:0;background:#fffdf5;color:#20251f;font:18px/1.6 var(--mono)}
.calculator-window{left:350px;top:95px;width:340px;height:460px}
#calcDisplay{display:block;min-height:64px;padding:16px 10px;background:#f9f6e9;border:2px inset #eee8d4;text-align:right;font:700 23px/1.3 var(--mono);overflow-wrap:anywhere}
.calc-keys{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;flex:1}
.mini-body button,.mini-body select{font:700 16px/1.3 var(--mono);color:#20251f;background:#e4decb;border:2px outset #fff9e5;border-radius:0;padding:7px}
.mini-body button:active,.mini-body button[aria-pressed=true]{border-style:inset}
.calc-keys button{min-height:44px;font-size:22px}.calc-keys button[data-calc-key="0"]{grid-column:span 3}
.paint-window{left:210px;top:100px;width:720px;height:450px}
.paint-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:14px}
#paintColors{display:flex;gap:5px}#paintColors button{width:27px;height:27px;padding:0;border:2px solid #9c9a8c}#paintColors button[aria-pressed=true]{outline:2px solid #152e80;outline-offset:1px}
#paintCanvas{display:block;width:100%;height:100%;min-height:160px;flex:1;object-fit:fill;background:#fffdf5;border:2px inset #eee8d4;touch-action:none;cursor:crosshair}
@media(max-width:700px){.mini-window,.mini-window.maximized{width:100%!important;height:480px!important;left:auto!important;top:auto!important}.mini-window .mini-body{padding:10px}.paint-window,.paint-window.maximized{height:450px!important}.paint-tools{gap:9px}#paintColors button{width:30px;height:30px}.calculator-window,.calculator-window.maximized{height:460px!important}.notepad-window textarea{font-size:16px}.mini-body button,.mini-body select{min-height:36px}}

/* The clipped physical laptop also accepts the introductory click. */
@media(min-width:701px){.laptop-cutout{pointer-events:auto}}
/* Mobile Yohan OS: a compact desktop and one scrollable app at a time. */
.mobile-project-back{display:none}
@media(max-width:700px){
 html[data-mode=laptop],html[data-mode=laptop] body{height:100%!important;overflow:hidden!important}
 html[data-mode=laptop] .experience{height:100svh!important;min-height:0;padding:0;overflow:hidden!important;background:#075653;filter:none;perspective:none}
 .background-plane{display:none}
 .scene,.scene.zoomed{height:100%!important;width:100%;position:relative;left:auto;top:auto;aspect-ratio:auto}
 .foreground-plane,.screen-frame{height:100%;position:relative;inset:auto;filter:none;overflow:hidden;transform:none}
 .screen-frame:after{display:none}
 .desktop{height:100%;min-height:0;width:100%;display:flex;flex-direction:column;padding:18px 12px calc(112px + env(safe-area-inset-bottom));overflow:hidden;background:radial-gradient(ellipse at 60% 38%,#116560,#07534f 85%)}
 .identity{flex-shrink:0;margin:0 0 18px;gap:12px;min-height:48px;align-items:flex-start}
 .identity .computer-icon{width:38px;height:38px;flex-shrink:0}
 .identity h1{font-size:clamp(18px,5.2vw,25px);line-height:1.25;letter-spacing:-.6px;min-height:50px;margin:0}
 .shortcuts{flex-shrink:0;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:3px;margin:0 0 20px;width:100%}
 .shortcuts>*{min-width:0;flex:1;min-height:62px;padding:3px 0;gap:6px}
 .shortcuts>*>span:last-child{font-size:clamp(9px,2.6vw,12px);padding:3px 2px;white-space:nowrap}
 .shortcuts .app-icon{transform:scale(.9);transform-origin:center bottom}
 .shortcuts [aria-pressed=true]{outline:1px dashed #e4decb;outline-offset:1px;background:#ffffff12}
 .desktop .window,.desktop .window.maximized,.desktop .mini-window,.desktop .mini-window.maximized{position:relative!important;left:auto!important;top:auto!important;width:100%!important;height:auto!important;min-height:0!important;margin:0;flex:1;display:flex;flex-direction:column;overflow:hidden}
 .window .titlebar{flex-shrink:0;height:42px;min-height:42px;font-size:16px}
 .window-actions [data-min],.window-actions [data-max]{display:none}
 .window-actions [data-close]{width:36px;height:34px;font-size:25px}
 .window .about-body,.window .contacts-body,.window .detail-body,.window .stack-catalog,.window .mini-body{height:auto!important;min-height:0;flex:1;overflow:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 .window .about-body,.window .contacts-body{padding:16px;line-height:1.65}
 .about-intro,.project-story p,.project-features{font-size:15px;line-height:1.65}
 .about-body h2{font-size:21px}
 .about-portrait{width:85px;height:114px;margin:0 0 12px 14px}
 .mobile-project-back{display:block;flex-shrink:0;background:var(--paper);border:0;text-align:left;text-decoration:underline;padding:10px 12px;min-height:42px;font-size:14px}
 .detail-window .image-preview{height:auto;aspect-ratio:16/9;min-height:140px}
 .project-list{overflow:auto;min-height:0}.project-list button{min-height:72px}
 .tech-window.stack-expanded .stack-catalog{overflow:auto!important}
 .taskbar{position:fixed;left:0;right:0;bottom:0;width:100%;height:calc(48px + env(safe-area-inset-bottom));padding:5px 10px calc(5px + env(safe-area-inset-bottom));z-index:600;justify-content:space-between}
 .task-tabs,.camera-controls{display:none!important}
 .taskbar .start-button{height:36px;min-width:54px;font-size:16px}
 .taskbar time{font-size:12px;padding:8px}
 .start-menu{position:fixed;bottom:calc(108px + env(safe-area-inset-bottom));left:12px;z-index:601;max-width:calc(100vw - 24px)}
 .start-menu button{min-height:46px;font-size:16px}
 .analog-lens{filter:none}.camcorder-grain{opacity:.12;filter:contrast(1.15)}.camcorder-vignette{opacity:.25}
 #paintCanvas{min-height:100px}.paint-tools{flex-shrink:0}
 .mini-window .mini-body{gap:9px}.notepad-window textarea{min-height:100px}
 .calc-keys{gap:5px}.calc-keys button{min-height:36px;font-size:19px}#calcDisplay{min-height:44px;padding:8px;font-size:20px}
}
/* About the portfolio, sharing the existing OS window system. */
.site-window{left:235px;top:70px;width:650px;height:505px;display:flex;flex-direction:column}
.site-body{padding:22px 26px;min-height:0;flex:1;overflow:auto;font-size:16px;line-height:1.65}
.site-heading{display:flex;gap:17px;align-items:center;margin-bottom:18px}.site-mark{display:grid;place-items:center;width:66px;height:66px;flex-shrink:0;background:#075653;color:#eee6ca;font-size:29px;font-weight:bold;border:3px inset #eee8cc}
.site-heading h2{font-size:28px;line-height:1.2;margin:0 0 4px}.site-heading p{margin:0;font-size:14px}.site-body>p{margin:0 0 15px}
.site-facts{margin:18px 0;border-top:1px solid #999987}.site-facts>div{display:grid;grid-template-columns:120px 1fr;gap:12px;padding:10px 0;border-bottom:1px solid #aaa997}.site-facts dt{font-weight:bold}.site-facts dd{margin:0}.site-facts dd>span{display:block;font-size:13px}.site-body .site-counter-note{font-size:13px;line-height:1.5;color:#4d5148}.site-body .retro-button{min-height:38px;font-size:15px}
@media(max-width:700px){.window .site-body{height:auto;min-height:0;flex:1;overflow:auto;padding:16px;overscroll-behavior:contain}.site-heading{gap:12px}.site-mark{width:52px;height:52px;font-size:25px}.site-heading h2{font-size:24px}.site-body{font-size:15px}.site-facts>div{grid-template-columns:90px 1fr;gap:10px}.site-body .retro-button{min-height:44px}}
.site-window{top:50px;width:690px;height:535px}.site-body{padding:18px 22px;font-size:15px;line-height:1.5}.site-heading{margin-bottom:14px}.site-body>p{margin-bottom:12px}.site-facts{margin:14px 0}.site-facts>div{padding:8px 0}.site-mark{width:58px;height:58px}
/* Explicit-play, camera-only recorded demonstrations. */
.project-demo{position:relative;margin:0 0 16px;background:#0c1616;border:2px inset #eee6ca;color:#eee6ca;overflow:hidden}
.project-demo video{display:block;width:100%;height:auto;max-height:310px;aspect-ratio:4/3;object-fit:contain;background:#071110}
.project-demo .demo-play{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);font-size:16px;min-height:44px;padding:8px 18px}
.project-demo figcaption{padding:7px 10px;font:600 12px/1.5 var(--mono);color:#eee6ca}
.project-demo>a{display:block;padding:5px 10px;color:#eee6ca}
.simple-demo{display:block;margin-top:14px}.simple-demo>summary{color:#075653;text-decoration:underline;font-weight:600;cursor:pointer;padding:6px 0;min-height:36px}
.simple-demo .project-demo{max-width:560px;margin:10px 0 0}.simple-demo .project-demo video{max-height:360px}
@media(max-width:700px){.project-demo video{max-height:none}.project-demo figcaption{font-size:11px}.simple-demo>summary{min-height:44px}}
