@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Silkscreen:wght@400;700&display=swap');
:root{--ink:#223e43;--muted:#637d80;--line:#b8d1d0;--bg:#e9f2ef;--accent:#eb784d;--pixel:'Silkscreen','Courier New',monospace}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font-family:'DM Sans',Arial,sans-serif}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:3px solid #d05b31;outline-offset:6px}header{height:112px;display:flex;align-items:center;justify-content:space-between;padding:0 4%;border-bottom:1px solid var(--line);position:relative;background:#f2f6f0;z-index:5}.wordmark{font:bold 32px var(--pixel);letter-spacing:-4px}.wordmark sup{font:12px Arial;letter-spacing:0;vertical-align:top;margin-left:5px}.wordmark span{font-size:24px}nav{display:flex;gap:8px;position:absolute;left:50%;transform:translateX(-50%)}nav a{font-size:14px;padding:11px 17px;border:1px solid transparent}nav a:hover{background:#dce7e1}nav a.active{border:1px solid var(--ink);box-shadow:3px 3px 0 var(--ink);background:#fbfcf4}.clock{text-align:right}.clock>span{display:block;font:10px var(--pixel);color:var(--muted);margin-bottom:9px}.clock time{font:14px var(--pixel)}#world{height:calc(100svh - 222px);min-height:580px;position:relative;isolation:isolate;background-color:#e5efeb;background-image:linear-gradient(#94b6b31a 1px,transparent 1px),linear-gradient(90deg,#94b6b31a 1px,transparent 1px);background-size:24px 24px;overflow:hidden}.corner-label{position:absolute;top:28px;left:4%;font:10px var(--pixel);letter-spacing:1px;color:var(--muted)}#house{position:absolute;top:74px;left:5%;width:150px;border:0;background:none;z-index:2;padding:0}#house img{width:134px;height:125px;object-fit:contain;image-rendering:pixelated}#house span{display:block;font:9px var(--pixel);color:var(--muted);margin-top:9px}.page{display:none;height:100%;pointer-events:none}.page.active{display:flex;align-items:center;justify-content:center}.page a,.page button,.projects{pointer-events:auto}.intro{padding:0 24px;max-width:790px;margin-top:-8px;position:relative}.eyebrow{font:12px var(--pixel);letter-spacing:1px;color:var(--muted);margin:0 0 26px}h1{font:clamp(48px,6.2vw,92px)/1.2 var(--pixel);letter-spacing:-5px;margin:0 0 30px;white-space:nowrap}.period{color:var(--accent)}.body{font-size:20px;line-height:1.75;color:#52696b;margin:0;max-width:610px}.work-link{display:inline-flex;gap:45px;align-items:center;border:0;border-bottom:1px solid var(--ink);padding:12px 0;background:none;margin-top:28px;font-size:15px}.work-link span{font-size:24px}.coordinate{position:absolute;right:4%;top:30px;font:11px var(--pixel);color:var(--muted)}.world-bottom{position:absolute;bottom:27px;left:4%;right:4%;display:flex;justify-content:space-between;font:10px var(--pixel);color:#78908f;pointer-events:none}footer{min-height:110px;padding:20px 4%;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#f2f6f0;border-top:1px solid var(--line);position:relative;z-index:5}.hint{font-size:12px;color:var(--muted);line-height:1.6}.key{border:1px solid #b8c9c3;padding:2px 5px;font-size:11px;box-shadow:0 2px #c4d4cc}.touch-hint{display:block;font-size:11px;margin-top:5px}.controls{display:flex;border:1px solid var(--ink);box-shadow:4px 4px var(--ink);padding:6px;background:#fbfcf4;gap:2px}.controls button{background:none;border:0;padding:12px 15px;font-size:14px;white-space:nowrap}.controls button:hover,.controls button.active{background:#dce7e1}.controls button span{margin-right:7px;color:#b9633f}.controls i{width:1px;background:#c5d3cb;margin:8px 4px}.status{font-size:12px;min-width:154px;display:flex;gap:8px;align-items:center}#status-dot{width:6px;height:6px;background:#608675}#cat{position:absolute;left:0;top:0;width:92px;height:85px;border:0;background:none;padding:0;z-index:4;will-change:transform}#cat-img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated;transition:filter .2s}#cat:hover #cat-img{filter:brightness(1.06)}#cat-bubble{position:absolute;bottom:82px;left:50%;transform:translateX(-50%);font:13px var(--pixel);white-space:nowrap;padding:5px 9px;background:#fbfcf4;border:1px solid #9eb8ae;display:none}#cat-bubble:not(:empty){display:block}#cue{position:absolute;display:none;font:34px var(--pixel);color:#d87548;z-index:3;pointer-events:none;transform:translate(-50%,-50%)}#cue.show{display:block;animation:cue .8s ease-out infinite}@keyframes cue{from{opacity:1;scale:.8}to{opacity:.2;scale:1.25}}#toy{position:absolute;z-index:3;font-size:28px;pointer-events:none}.content{width:min(880px,80%);margin-left:90px;padding:40px 0}.content.narrow{width:min(650px,70%)}h2{font:clamp(28px,3.2vw,46px)/1.35 var(--pixel);letter-spacing:-2px;margin:0 0 25px}.projects{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.projects article{border-top:2px solid #648883;padding-top:18px}.projects article>span{font:10px var(--pixel);color:#658380}h3{font-size:20px;line-height:1.4}.projects p{font-size:15px;line-height:1.65;color:#52696b}.about-meta{font:11px var(--pixel);margin-top:35px;line-height:2}.tool-list>div{display:flex;justify-content:space-between;padding:22px 0;border-top:1px solid #adc7be;gap:20px}.tool-list span{color:var(--muted);font-size:15px}body.call-mode #world{cursor:crosshair}
@media(min-width:1550px){.intro{margin-left:30px}#house{left:7%;top:95px;width:180px}#house img{width:165px;height:160px}}@media(max-width:1050px){header{height:130px;align-items:flex-start;padding-top:20px}nav{top:76px}.clock>span{font-size:9px}#world{height:calc(100svh - 270px);min-height:600px}.intro{margin-top:100px}#house{top:52px;width:115px}#house img{width:105px;height:95px}footer{flex-wrap:wrap;justify-content:center}.hint{order:2}.status{order:3;min-width:0}.controls{margin:0 15%;}.content{margin:95px 0 0;width:85%}.content.narrow{width:80%}.eyebrow{font-size:10px}}@media(max-width:600px){header{padding-left:6%;padding-right:6%}nav{width:94%;justify-content:center;gap:0}nav a{padding:10px 12px;font-size:13px}.clock time{font-size:12px}.clock>span{font-size:8px}.wordmark{font-size:27px}.corner-label{font-size:8px}.coordinate{display:none}#world{min-height:630px;height:calc(100svh - 284px)}.intro{padding:0 7%;margin-top:80px;width:100%}h1{font-size:clamp(34px,9vw,52px);letter-spacing:-3px;white-space:normal}.body{font-size:17px;line-height:1.7}.desktop{display:none}.eyebrow{font-size:9px;letter-spacing:0}.world-bottom{font-size:7px}footer{padding:15px 3%;gap:14px}.controls{margin:0;padding:4px;gap:0}.controls button{font-size:12px;padding:10px 9px}.controls button span{margin-right:4px}.hint{font-size:10px}.touch-hint{font-size:10px}.status{font-size:10px}.projects{grid-template-columns:1fr;gap:15px}.projects article{padding-top:10px}.projects h3{font-size:17px;margin:8px 0}.projects p{margin:5px 0;font-size:13px}.content{padding:30px 0;margin-top:100px}.content h2{font-size:25px}.tool-list>div{display:block}.tool-list span{display:block;margin-top:10px}#cat{width:74px;height:70px}#cat-bubble{bottom:66px}}
@media(prefers-reduced-motion:reduce){#cue.show{animation:none}*{scroll-behavior:auto!important}}
[hidden]{display:none!important}.jun-companion{position:absolute;right:5%;top:38%;width:175px;text-align:center;pointer-events:auto}.jun-companion p{font:12px/1.7 var(--pixel);background:#fcfff7;border:1px solid var(--ink);box-shadow:3px 3px var(--ink);padding:12px;margin:0 0 18px}.jun-companion button{display:block;border:0;background:none;margin:auto;padding:0;width:115px;height:190px}.jun-companion img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated}.jun-companion>span{display:block;font:9px var(--pixel);margin-top:12px;color:var(--muted)}.intro{margin-right:140px}body[data-page="work"] .corner-label,body[data-page="work"] .world-bottom,body[data-page="work"] #house,body[data-page="work"] #cat,body[data-page="work"] #toy,body[data-page="work"] #cue,body[data-page="work"] footer{display:none}body[data-page="work"] #world{height:auto;min-height:calc(100svh - 112px);overflow:visible}.work-content{width:min(1120px,90%);padding:60px 0 90px;pointer-events:auto}.work-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.work-heading .eyebrow{margin-bottom:14px}.work-heading h2{font-size:52px;margin:0}.view-switch{display:flex;background:#f7faf3;padding:5px;border:1px solid #8aa7a0;gap:4px}.view-switch button{background:none;border:0;padding:10px 16px;font-size:14px}.view-switch button[aria-pressed="true"]{background:var(--ink);color:white}.project-row{display:grid;grid-template-columns:230px 1fr auto;gap:32px;align-items:center;border-top:1px solid #a7c2b8;padding:27px 0}.image-placeholder{height:140px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;border:1px dashed #9ab4ab;background:#dce8e1;color:#597770}.image-placeholder span:first-child{font:26px var(--pixel)}.image-placeholder span:last-child{font:10px var(--pixel)}.project-number{font:10px var(--pixel);color:#6b8580}.project-copy h3{font-size:26px;margin:8px 0}.project-copy p{font-size:16px;margin:0 0 14px}.project-type{font-size:13px;color:#617a74}.project-row>time{font-size:14px;align-self:center;color:#536e67}#project-table{overflow-x:auto}table{border-collapse:collapse;width:100%;background:#f3f7f0}th,td{text-align:left;padding:22px 20px;border-bottom:1px solid #b4c9bf;font-size:14px;line-height:1.6}thead th{font-size:12px;font-weight:500;color:#526b62;background:#dce8e0}tbody th{font-size:18px;font-weight:600}tbody th span{display:block;font-size:14px;font-weight:400;color:#617a74;margin-top:7px}td .image-placeholder{width:135px;height:85px}td:last-child{white-space:nowrap}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:1200px){.intro{margin-right:150px;margin-left:50px}h1{font-size:58px}.jun-companion{right:3%;width:145px}.jun-companion button{width:100px;height:170px}.body{font-size:18px}.project-row{grid-template-columns:190px 1fr auto;gap:22px}}
@media(max-width:800px){.intro{margin:10px 0 0;padding:0 7%;width:100%}h1{font-size:44px}.jun-companion{top:auto;bottom:55px;right:8%;width:150px;display:flex;align-items:center;flex-direction:column}.jun-companion button{height:120px;width:80px}.jun-companion p{font-size:10px;padding:8px;margin-bottom:10px}.jun-companion>span{display:none}#home.page.active{align-items:flex-start;padding-top:205px}#world{min-height:820px}.project-row{grid-template-columns:150px 1fr;gap:20px}.project-row>time{grid-column:2;margin-top:-12px}.project-row .image-placeholder{grid-row:span 2;height:130px}.project-copy h3{font-size:22px}.work-content{padding-top:35px}.work-heading h2{font-size:38px}.work-heading .eyebrow{font-size:8px}body[data-page="work"] #world{min-height:calc(100svh - 130px)}}
@media(max-width:480px){h1{font-size:36px}.project-row{grid-template-columns:105px 1fr;gap:16px}.project-copy h3{font-size:19px}.project-copy p{font-size:14px}.project-type,.project-row>time{font-size:12px}.image-placeholder span:last-child{font-size:8px}.view-switch button{padding:9px 10px;font-size:12px}.work-heading{gap:10px}.work-heading .eyebrow{max-width:160px;line-height:1.8}.jun-companion{bottom:58px}th,td{padding:15px}}
.is-loading{overflow:hidden}.is-loading #site-content{visibility:hidden}#welcome-loader{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;background:#e5efeb}.loader-center{width:210px;display:flex;align-items:center;flex-direction:column}#loader-cat{width:105px;height:95px;object-fit:contain;image-rendering:pixelated;margin-bottom:24px}#loading-progress{width:200px;height:16px;padding:3px;border:2px solid var(--ink);box-shadow:3px 3px 0 #a6bfb6;background:#f5f8ef}#loading-fill{display:block;height:100%;width:0;background:var(--ink);transition:width .12s linear}.loading-label{font:10px var(--pixel);color:var(--muted);margin-top:18px;letter-spacing:2px}#project-list.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}.project-grid .project-row{display:flex;flex-direction:column;align-items:stretch;gap:22px;padding-top:0;border:0}.project-grid .image-placeholder{height:210px}.project-grid .project-row>time{align-self:flex-start;margin:0}.project-grid .project-copy h3{font-size:24px}.project-grid .project-copy p{min-height:48px;line-height:1.5}.project-grid .project-type{line-height:1.7}body[data-page="work"] #world{overflow:visible}@media(max-width:850px){#project-list.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-grid .image-placeholder{height:185px}}@media(max-width:550px){#project-list.project-grid{grid-template-columns:1fr;gap:36px}.project-grid .image-placeholder{height:200px}.project-grid .project-copy p{min-height:0}.project-grid .project-row{gap:15px}}@media(prefers-reduced-motion:reduce){#loading-fill{transition:none}}
#throw-ball{position:absolute;left:0;top:0;width:36px;height:36px;padding:0;border:0;background:transparent;z-index:8;cursor:grab;touch-action:none;user-select:none;will-change:transform}#throw-ball img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated;pointer-events:none}#throw-ball.held{cursor:grabbing}#throw-ball:focus-visible{outline:2px dashed var(--ink);outline-offset:5px}body[data-page="work"] #throw-ball{display:none}
body[data-page="visitor"] .corner-label,body[data-page="visitor"] .world-bottom,body[data-page="visitor"] #house,body[data-page="visitor"] #cat,body[data-page="visitor"] #toy,body[data-page="visitor"] #cue,body[data-page="visitor"] #throw-ball,body[data-page="visitor"] footer{display:none}body[data-page="visitor"] #world{height:auto;min-height:calc(100svh - 112px);overflow:visible}.visitor-content{width:min(1140px,90%);padding:65px 0 55px;pointer-events:auto}.visitor-heading{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:40px}.visitor-heading h2{font-size:38px;margin:0 0 20px}.visitor-heading p:not(.eyebrow){font-size:17px;line-height:1.6;color:#52696b;margin:0}.visitor-heading .eyebrow{font-size:10px;margin-bottom:17px}#key-count{font:11px var(--pixel);white-space:nowrap;color:#58746c}.keyring-workspace{background:#f4f5ec;border:1px solid #afc4b7;box-shadow:6px 6px 0 #c8d8cf;padding:28px 30px 30px}.keyring-topline{display:flex;justify-content:space-between;gap:15px;font:10px/1.6 var(--pixel);color:#6c8177}.keyring{display:flex;align-items:center;justify-content:center;gap:22px;padding:70px 0 55px}.keyring-loop{border:8px double #8b9b99;width:48px;height:65px;border-radius:50%;flex-shrink:0;margin-bottom:28px}.key-slot{display:flex;align-items:center;flex-direction:column;gap:20px;min-width:0;position:relative}.key-slot:before{content:'';position:absolute;top:54px;right:calc(100% - 3px);width:28px;height:8px;background:#96a5a0;border:2px solid #d3dcd5}.key-slot>span{font:10px/1.5 var(--pixel);text-align:center;max-width:140px;overflow-wrap:anywhere}.keycap{--cap:#e0d8cf;position:relative;width:140px;height:140px;flex-shrink:0;background:var(--cap);border:1px solid #788981;border-radius:13px;box-shadow:inset 0 -10px 0 #0002,inset 6px 5px 0 #fff5,inset -6px 0 0 #0001,0 6px 0 #62766d,0 12px 14px #354e4520;padding:16px 16px 23px}.keycap:after{content:'';position:absolute;inset:10px 10px 19px;border:1px solid #ffffff60;border-radius:8px;pointer-events:none}.fixed-key img{height:100%;width:100%;object-fit:contain;image-rendering:pixelated}.keycap canvas{height:100%;width:100%;image-rendering:pixelated}.custom-key:hover{transform:translateY(-4px)}.custom-key:active{transform:translateY(3px);box-shadow:inset 0 -7px 0 #0002,0 2px 0 #62766d}.blank-key{font:36px var(--pixel);color:#647970}.edit-key-hint{position:absolute;bottom:4px;left:0;width:100%;font:8px var(--pixel);opacity:0}.custom-key:hover .edit-key-hint,.custom-key:focus-visible .edit-key-hint{opacity:1}#custom-keys{display:contents}.keyring-note{font-size:14px;text-align:center;color:#667f73;margin:0}.visitor-bottom{display:flex;justify-content:space-between;gap:25px;margin-top:30px;color:#6a7d75;font-size:13px;line-height:1.7}.visitor-bottom p{margin:0}dialog{padding:0;border:1px solid #7d988a;background:#f3f6ed;color:var(--ink);width:min(850px,94vw);max-height:92svh;box-shadow:8px 8px 0 #263f4340;overflow:auto}dialog::backdrop{background:#203e43a6;backdrop-filter:blur(4px)}.editor-heading{display:flex;align-items:center;justify-content:space-between;padding:28px 32px 20px;border-bottom:1px solid #c4d2c7}.editor-heading .eyebrow{font-size:10px;margin-bottom:10px}.editor-heading h2{font-size:28px;margin:0;letter-spacing:-1px}.text-button{background:none;border:0;text-decoration:underline;font-size:14px}.editor-body{display:grid;grid-template-columns:1.3fr 1fr;gap:35px;padding:30px 32px}.drawing-area{display:flex;flex-direction:column;align-items:center;justify-content:center}.canvas-cap{--cap:#efd4cf;padding:20px 20px 32px;background:var(--cap);border-radius:18px;border:1px solid #8b9b91;box-shadow:inset 0 -12px #0002,inset 8px 5px #fff5,0 7px #71877a;width:100%;max-width:360px}#key-drawing{display:block;width:100%;height:auto;aspect-ratio:1;cursor:crosshair;touch-action:none;image-rendering:pixelated;border:1px solid #ffffff50;border-radius:6px}#key-drawing.erasing{cursor:cell}.drawing-area p{font-size:12px;color:#5d7569;margin:23px 0 8px}.canvas-keyboard-hint{font-size:10px;color:#698173;text-align:center}kbd{font:11px monospace;border:1px solid #aebfb3;padding:2px 3px}.drawing-actions{display:flex;gap:7px;margin-top:20px}.drawing-actions button{padding:8px 10px;font-size:12px;background:#fff9;border:1px solid #b4c7b9}button:disabled{opacity:.4;cursor:default}.editor-options{display:flex;flex-direction:column;align-items:stretch;gap:10px}.editor-options label{font-size:14px;margin-top:6px;font-weight:600}.editor-options label span{font-size:12px;color:#7e8c82;font-weight:400;margin-left:10px}.editor-options input[type="text"],#key-name,.editor-options select{font:14px 'DM Sans',Arial,sans-serif;color:var(--ink);padding:11px;background:#fbfcf5;border:1px solid #adbfaf;width:100%;border-radius:0}.color-input{display:flex;align-items:center;gap:12px;font-size:12px;color:#637b6d}.color-input input{width:42px;height:34px;padding:2px;border:1px solid #a9bdaa;background:#fbfcf5;cursor:pointer}.ink-palette{display:grid;grid-template-columns:repeat(8,1fr);gap:7px;margin:4px 0}.ink-palette button{aspect-ratio:1;border:1px solid #8c9f93;padding:0}.ink-palette button[aria-pressed="true"]{outline:2px solid var(--ink);outline-offset:2px}.paint-tools{display:flex;gap:5px;margin-top:10px}.paint-tools button{width:50%;padding:9px;border:1px solid #9db4a3;background:#f9fbf2;font-size:14px}.paint-tools button[aria-pressed="true"]{color:#fff;background:var(--ink)}.editor-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 32px;border-top:1px solid #c4d2c7}.editor-footer>span{font-size:12px;line-height:1.6;color:#617768;max-width:310px}.editor-footer>div{display:flex;gap:9px}.editor-footer button{padding:12px 18px;border:1px solid #8eaa95;background:#f8fbef;font-size:14px;white-space:nowrap}.editor-footer #key-save{color:#fff;background:var(--ink);box-shadow:3px 3px 0 #90a897}
@media(min-width:1051px) and (max-width:1250px){header nav{gap:0}header nav a{padding:11px 12px}.clock>span{font-size:8px}}
@media(max-width:1100px){.keycap{width:115px;height:115px;padding:14px 14px 21px}.key-slot:before{top:44px}.keyring{gap:17px}.key-slot>span{font-size:9px}.visitor-heading h2{font-size:30px}}
@media(max-width:800px){.visitor-heading{align-items:flex-start;flex-direction:column;gap:20px}.visitor-content{padding-top:38px}.keyring{flex-wrap:wrap;gap:30px 22px;padding:40px 0}.keyring-loop{display:none}.key-slot:before{display:none}.keyring-workspace{padding:20px}.keyring-topline{font-size:8px}.keycap{width:125px;height:125px}.visitor-bottom{flex-direction:column;gap:8px}.editor-body{gap:20px;padding:25px}.editor-heading{padding:24px}.editor-footer{padding:20px}body[data-page="visitor"] #world{min-height:calc(100svh - 130px)}}
@media(max-width:600px){header nav a{padding:10px 8px;font-size:12px}.visitor-heading h2{font-size:26px;letter-spacing:-1px}.visitor-heading .eyebrow{font-size:8px;line-height:1.8}.visitor-heading p:not(.eyebrow){font-size:15px}.keycap{width:115px;height:115px}.keyring-topline span:last-child{max-width:100px;text-align:right}.editor-body{grid-template-columns:1fr}.canvas-cap{max-width:270px}.editor-options{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:15px}.editor-options label{font-size:12px}.editor-options label span{display:none}.ink-palette{grid-template-columns:repeat(4,1fr)}.editor-options .paint-tools{grid-column:span 2}.editor-heading h2{font-size:23px}.editor-footer{flex-direction:column;align-items:stretch;gap:12px}.editor-footer>div{justify-content:flex-end}.drawing-area p{font-size:11px}.keyring-note{font-size:12px}dialog{max-height:95svh}}
.jun-companion{top:auto;bottom:100px;height:210px;display:block}.jun-companion button{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);height:190px;width:127px}.jun-companion p{position:absolute;bottom:230px;left:50%;transform:translateX(-50%);width:190px;min-height:66px;margin:0;display:flex;align-items:center;justify-content:center}.jun-companion>span{position:absolute;bottom:0;left:0;width:100%;margin:0}.playground-content{pointer-events:auto;width:min(1140px,90%);padding:45px 0 25px}.playground-heading{display:flex;justify-content:space-between;gap:25px;align-items:center;margin-bottom:24px}.playground-heading h2{font-size:38px;margin:0}.playground-heading .eyebrow{font-size:10px;margin-bottom:15px}.playground-actions{display:flex;gap:8px;flex-wrap:wrap}.playground-actions button{padding:11px 16px;font-size:14px;background:#f8faf1;border:1px solid #94aa9b}.playground-actions #pg-add,.playground-actions #pg-done{color:#fff;background:var(--ink);box-shadow:3px 3px #a1b5a7}.pg-preferences{display:flex;gap:24px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.pg-preferences label{font-size:13px;display:flex;align-items:center;gap:9px}.pg-preferences select{padding:8px 10px;background:#f6f8ee;border:1px solid #a0b4a5;color:var(--ink);font:13px 'DM Sans',Arial}.pg-preferences>span{font-size:12px;color:#5c786c;margin-left:auto;max-width:330px;line-height:1.5}#pg-stage{position:relative;height:440px;isolation:isolate;border:1px solid #9db6aa;background:#dae8df;overflow:hidden;background-image:radial-gradient(#688b7730 1px,transparent 1px);background-size:16px 16px}#pg-empty{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;font:16px/2 var(--pixel);color:#5e7d6a;pointer-events:none}#pg-empty span{font:13px/1.6 'DM Sans',Arial}.pg-object{position:absolute;left:0;top:0;padding:0;border:0;background:none;touch-action:none;user-select:none}.pg-object img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated;pointer-events:none}.pg-editing .pg-object{cursor:grab}.pg-editing .pg-object:active{cursor:grabbing}.pg-editing .pg-object:hover{outline:1px dashed #5c7b68;outline-offset:4px}.pg-object.selected{outline:2px dashed #355e4d;outline-offset:3px}#pg-selection{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);z-index:1000;display:flex;align-items:center;gap:6px;background:#fbfcf4;border:1px solid #7a9887;padding:6px;box-shadow:3px 3px #94ab9b;white-space:nowrap}#pg-position{font:10px var(--pixel);padding:0 8px}#pg-selection button{padding:7px 11px;border:1px solid #c4d1c7;background:#eff4ea;font-size:13px}#pg-selection #pg-confirm{color:white;background:#315448}.pg-note{font-size:12px;color:#678073;margin:15px 0 0;line-height:1.6}body[data-page="playground"] #world{height:auto;min-height:calc(100svh - 220px);overflow:visible}body[data-page="playground"] .corner-label,body[data-page="playground"] .world-bottom,body[data-page="playground"] #house{display:none}body[data-page="playground"] #cat{pointer-events:none;z-index:2}body[data-page="playground"] #throw-ball{z-index:3}body[data-page="playground"] .playground-content{position:relative;z-index:1}.picker-heading{display:flex;justify-content:space-between;align-items:center;padding:28px;gap:20px}.picker-heading .eyebrow{font-size:10px;margin-bottom:13px}.picker-heading h2{font-size:25px;margin:0;letter-spacing:-1px}.picker-heading>button{background:none;border:0;font-size:22px}.object-table img{width:85px;height:65px;object-fit:contain;image-rendering:pixelated}.object-table td{padding:10px 25px}.object-table th{padding:14px 25px}.object-table button{padding:9px 16px;background:var(--ink);color:white;border:0;font-size:14px}#object-picker{max-width:600px}
@media(max-width:800px){.jun-companion{bottom:55px;height:145px}.jun-companion button{bottom:0;height:130px;width:87px}.jun-companion p{bottom:152px;width:170px;min-height:52px}.jun-companion>span{display:none}.playground-heading{align-items:flex-start;flex-direction:column;gap:20px}.playground-content{padding-top:32px}.playground-heading h2{font-size:30px}.pg-preferences{gap:12px}.pg-preferences>span{margin:0;width:100%;max-width:none}#pg-stage{height:420px}#pg-empty{font-size:12px}.playground-actions button{padding:10px 12px;font-size:12px}.picker-heading h2{font-size:20px}.pg-preferences select{max-width:140px}#pg-position{font-size:8px;padding:0 3px}}
html{overflow-y:scroll;scrollbar-gutter:stable}html.is-loading{overflow-y:scroll}body:has(dialog[open]){overflow:clip}body[data-page="about"] #house{display:none}#cat-options{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:5px 28px 22px}#cat-options article{position:relative;display:flex;align-items:center;flex-direction:column;padding:18px 12px;border:1px solid #bccdbf;background:#e8efe4;gap:12px}#cat-options img{width:110px;height:100px;object-fit:contain;image-rendering:pixelated}#cat-options h3{font-size:15px;margin:0;text-align:center}#cat-options button{padding:9px 22px;border:1px solid #6f907b;background:var(--ink);color:white;margin-top:auto}.breed-badge{font:10px var(--pixel);color:#596c3d;background:#e3e8bb;padding:5px 8px}#cat-picker-status{font-size:14px;min-height:20px;padding:0 28px 18px;margin:0}.playground-content{width:94%;max-width:1600px}#pg-stage{height:650px;min-height:65svh}.pg-object{isolation:isolate}.pg-object-tint{position:absolute;inset:0;pointer-events:none;mask-repeat:no-repeat;mask-position:center;mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;-webkit-mask-size:contain;mix-blend-mode:color;opacity:.7}#pg-stage:not(.pg-editing) .pg-object{pointer-events:none;cursor:default;outline:none;transform-origin:center}#pg-selection{flex-wrap:wrap;justify-content:center;width:max-content;max-width:96%}.object-color-label{display:flex;gap:5px;align-items:center;font-size:12px}.object-color-label input{width:30px;height:29px;padding:1px;border:1px solid #9bac9e;background:none}.visitor-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.visitor-actions button,#visitor-sound-settings button{padding:11px 16px;background:var(--ink);color:white;border:1px solid #829b89;font-size:14px}#visitor-sound-settings{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin:0 0 25px;padding:18px;background:#edf2e6;border:1px solid #b5c9b8}#visitor-sound-settings label{font-size:14px;display:flex;align-items:center;gap:10px}#visitor-sound-settings select{font:14px 'DM Sans',Arial;color:var(--ink);padding:9px;background:#fbfcf3;border:1px solid #9aafa0}#keyboard-volume{width:115px;accent-color:var(--ink)}#visitor:not(.keyring-editing) .custom-key:hover{transform:none}#visitor:not(.keyring-editing) .edit-key-hint{display:none}.fixed-key{cursor:pointer}.keycap.key-pressed{transform:translateY(5px)!important;box-shadow:inset 0 -5px #0002,0 1px #62766d}.controls{flex-wrap:wrap;justify-content:center}.controls button{padding:11px 12px}@media(max-width:700px){#cat-options{grid-template-columns:repeat(2,1fr);padding:5px 16px 20px;gap:12px}#cat-options img{width:90px;height:90px}#cat-options h3{font-size:13px}#pg-stage{height:600px}#pg-position{width:100%;text-align:center}#visitor-sound-settings{gap:15px}.visitor-actions{width:100%;justify-content:space-between}.controls{max-width:440px}}
.jun-companion{top:74px;bottom:auto;height:280px}.jun-companion button{top:0;bottom:auto;height:190px;width:127px}.jun-companion p{top:-68px;bottom:auto;min-height:52px;width:190px;font-size:11px;padding:9px}.jun-companion>span{top:202px;bottom:auto}.jun-socials{position:absolute;top:228px;left:50%;transform:translateX(-50%);display:flex;gap:17px;align-items:flex-start}.jun-socials button{position:static;transform:none;width:auto;height:auto;background:none;padding:0;display:flex;align-items:center;flex-direction:column;gap:7px;opacity:.7;cursor:default}.jun-socials svg{width:23px;height:23px;fill:none;stroke:var(--ink);stroke-width:1.6;stroke-linejoin:miter}.jun-socials span{font:9px var(--pixel)}.pg-object-art{display:block;position:absolute;left:50%;top:50%;pointer-events:none}.object-angle-label{font-size:12px;display:flex;align-items:center;gap:5px}.object-angle-label select{color:var(--ink);background:#f4f8ee;padding:6px;border:1px solid #a6baaa;font:12px 'DM Sans',Arial}.playground-full{overflow:hidden}.playground-full header,.playground-full footer{display:none}.playground-full #world{height:100svh;min-height:0!important;overflow:hidden!important}.playground-full .playground-content{height:100svh;width:100%;max-width:none;padding:18px 24px;display:flex;flex-direction:column}.playground-full .playground-heading{flex-shrink:0;margin-bottom:12px}.playground-full .playground-heading .eyebrow,.playground-full .pg-note{display:none}.playground-full .playground-heading h2{font-size:25px}.playground-full .pg-preferences{margin-bottom:12px;flex-shrink:0}.playground-full #pg-stage{height:auto;min-height:0;flex:1}.playground-full #pg-selection{bottom:12px}#wand-canvas{position:absolute;left:0;top:0;pointer-events:none;z-index:10;display:none}@media(min-width:1550px){.jun-companion{top:95px}}@media(max-width:800px){.jun-companion{top:60px;bottom:auto;height:185px;right:6%;width:145px}.jun-companion button{height:105px;width:70px}.jun-companion p{top:-47px;width:160px;min-height:40px;font-size:8px;padding:5px}.jun-socials{top:122px;gap:12px}.jun-socials svg{width:20px;height:20px}.jun-socials span{font-size:7px}#home.page.active{padding-top:295px}.intro{margin-top:0}.jun-companion>span{display:none}.playground-full .playground-content{padding:12px}.playground-full .playground-heading{flex-direction:row;flex-wrap:wrap;gap:12px}.playground-full .playground-heading h2{font-size:22px}.playground-full .playground-actions{gap:6px}.playground-full .playground-actions button{padding:9px}.object-angle-label select{max-width:90px}}

@media(max-width:1050px){.jun-companion{top:52px}}
@media(max-width:800px){.jun-companion{top:52px}}
body[data-page="playground"]:not(.playground-full) footer{position:fixed;left:0;right:0;bottom:0;z-index:30;margin:0}body[data-page="playground"]:not(.playground-full) .playground-content{padding-bottom:calc(var(--toolbar-height,130px) + 28px)}footer .jun-socials{position:static;transform:none;display:flex;gap:18px;flex-shrink:0;align-items:center}footer .jun-socials button{color:var(--ink)}footer .jun-socials span{font-size:9px}.sound-credit{font-size:12px;line-height:1.6;color:#667f73;margin:0 0 16px}.sound-credit a{text-decoration:underline;text-underline-offset:3px}.pg-object.selected{outline-offset:2px}.pg-note{display:none}@media(max-width:750px){body[data-page="playground"]:not(.playground-full) footer{padding:12px 3%;gap:12px}footer .jun-socials{gap:18px;order:3}footer .jun-socials svg{width:19px;height:19px}footer .jun-socials span{font-size:8px}.controls{margin:0}footer .hint{max-width:210px}}

/* Only the cat toolbar stays pinned; footer links remain in the page flow. */
body[data-page="playground"]:not(.playground-full) footer{position:relative;left:auto;right:auto;bottom:auto;z-index:5}
footer{padding-bottom:calc(var(--toolbar-height,70px) + 40px)}
footer .controls{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);z-index:100;margin:0;max-width:calc(100vw - 24px);width:max-content}
body[data-page="playground"]:not(.playground-full) .playground-content{padding-bottom:28px}
.playground-full footer{display:contents}
.playground-full footer .hint,.playground-full footer .jun-socials{display:none}
.playground-full .playground-content{padding-bottom:calc(var(--toolbar-height,70px) + 44px)}
footer .jun-socials button{border:1px solid var(--ink);background:#fbfcf4;box-shadow:3px 3px 0 var(--ink);padding:10px 12px;flex-direction:row;gap:8px;opacity:1}
footer .jun-socials{gap:10px}
body.feed-mode #world,body.feed-mode #world *{cursor:crosshair!important}
@media(max-width:750px){footer .controls{bottom:12px;width:calc(100vw - 24px)}body[data-page="playground"]:not(.playground-full) footer{padding-bottom:calc(var(--toolbar-height,100px) + 30px)}.playground-full .playground-content{padding-bottom:calc(var(--toolbar-height,100px) + 32px)}footer .jun-socials button{padding:9px}}

/* Compact footer with a small copyright line. */
footer,body[data-page="playground"]:not(.playground-full) footer{min-height:112px;padding:14px 4% 34px;position:relative}
footer .controls{bottom:34px}
.copyright{position:absolute;bottom:9px;left:50%;transform:translateX(-50%);font-size:11px;color:var(--muted);white-space:nowrap}
.playground-full .copyright{display:none}
body.feather-mode #world,body.feather-mode #world *{cursor:none!important}
@media(max-width:1100px){footer,body[data-page="playground"]:not(.playground-full) footer{padding-bottom:calc(var(--toolbar-height,70px) + 48px)}footer .jun-socials{margin-left:auto}}
@media(max-width:750px){footer,body[data-page="playground"]:not(.playground-full) footer{gap:10px;padding-top:10px}footer .hint{display:none}footer .jun-socials{margin:0;order:0}}

/* Shared fixed top navigation. */
:root{--header-height:112px}body{padding-top:var(--header-height)}header{position:fixed;top:0;left:0;right:0;z-index:200}body.playground-full{padding-top:0}
.project-cover{display:block;width:100%;height:160px;object-fit:cover;object-position:top;border:1px solid var(--line);background:#fff}.project-grid .project-cover{height:210px}.project-copy h3 a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}.project-copy h3 a:hover{color:#a94b2e}
@media(max-width:1050px){:root{--header-height:130px}}
@media(max-width:800px){.project-cover-link{grid-row:span 2}.project-cover{height:130px}}
.project-cover-link{display:block;position:relative;overflow:hidden}
/* Shared preview dimensions in both list and grid layouts. */
.project-cover-link{width:100%;aspect-ratio:16/10;align-self:start;border:1px solid var(--line);background:#fff;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.project-cover-link .project-cover,.project-grid .project-cover-link .project-cover{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:top;border:0}
.project-row:hover .project-cover-link,.project-row:focus-within .project-cover-link{transform:translateY(-4px);border-color:var(--ink);box-shadow:4px 4px 0 #a6bfb1}
@media(prefers-reduced-motion:reduce){.project-cover-link{transition:none}.project-row:hover .project-cover-link,.project-row:focus-within .project-cover-link{transform:none}}
/* Pixel device shells frame untouched, smoothly rendered product interfaces. */
.work-mockup{display:block;position:absolute;inset:0;overflow:hidden;background:#e5efeb}
.work-device{position:absolute;display:block;filter:drop-shadow(3px 5px 0 #223e4319)}
.work-device .device-shell{display:block;width:100%;height:auto;image-rendering:pixelated}
.device-screen{position:absolute;overflow:hidden;background:#fff;left:var(--screen-left);top:var(--screen-top);width:var(--screen-width);height:var(--screen-height)}
.device-screen img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;image-rendering:auto}
.mockup-microsoft .device-desktop{width:52%;left:34%;top:0%;z-index:1}
.mockup-microsoft .device-laptop{width:50.97835277%;aspect-ratio:1.3937901692;left:4%;bottom:5%;z-index:2}
.mockup-microsoft .device-laptop .device-shell{height:100%}
.mockup-microsoft .device-phone{width:16%;right:5%;bottom:5%;z-index:3}
.mockup-allied .device-desktop{width:62%;left:19%;top:0%}

.device-desktop{--screen-left:7.97448%;--screen-top:14.27432%;--screen-width:84.05104%;--screen-height:48.48485%}

.device-laptop{--screen-left:15.00623%;--screen-top:11.03166%;--screen-width:69.98755%;--screen-height:59.44842%}

.device-phone{--screen-left:13.41176%;--screen-top:14.10811%;--screen-width:73.17647%;--screen-height:70.64865%}
