.dev-desktop{background:#000;color:#e7e7e7;min-height:100svh;font-family:Arial,sans-serif;font-size:14px}.desk-bar{height:33px;min-height:33px;background:#252525;padding:0 9px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #555;gap:12px;font:12px Arial,sans-serif}.desk-name{font-weight:600}.desk-bar nav{gap:20px;display:flex;color:#999}.desk-bar [aria-current=page]{color:#fff}.desk-bar>div{display:flex;align-items:center;gap:13px;font:10px Mono,monospace}.desk-bar button{border:0;background:none;padding:2px;color:#ccc;font:10px Arial,sans-serif}.desk-bar kbd{border:1px solid #666;border-radius:4px;font-size:9px;padding:1px 3px;margin-left:4px}.desk-status{font-size:9px}.desk-bar time{font-size:9px;min-width:70px}.desk-surface{height:calc(100svh - 46px);min-height:600px;margin:0 7px 7px;position:relative;border:1px solid #5e5e5e;background:#000;overflow:hidden}.dither-canvas{position:absolute;inset:0;width:100%;height:100%;image-rendering:pixelated;pointer-events:none}.quick-actions{left:7px;top:7px;gap:3px 12px;display:grid;grid-template-columns:145px 160px;z-index:2}.quick-actions button{padding:3px 2px;color:#eee;font:13px/1.4 Arial,sans-serif}.quick-actions button:hover{background:#fff2}.quick-actions button span{color:#fff;margin-right:6px;font-size:11px}.desk-window{position:absolute;transform:none!important;background:#242424;color:#eee;border:1px solid #686868;padding:3px;border-radius:2px;box-shadow:0 4px 12px #0006;transition:none;min-width:260px;min-height:80px}.desk-window[data-active=true]{box-shadow:0 0 0 1px #999,0 5px 15px #0007}.desk-window:focus{outline:0}.desk-titlebar{height:23px;min-height:23px;background:#242424;display:flex;align-items:center;justify-content:space-between;border:0;border-bottom:1px solid #666;padding:0 4px;cursor:grab;touch-action:none;user-select:none}.desk-titlebar:focus-visible{outline:1px solid #aaa;outline-offset:-1px}.desk-window[data-dragging=true] .desk-titlebar{cursor:grabbing}.desk-titlebar h2{font:11px Mono,monospace}.desk-titlebar>div{display:flex;gap:5px}.desk-titlebar button{width:13px;height:13px;padding:0;border:0;border-radius:50%;background:#ddd;color:#333;line-height:1;display:grid;place-items:center;font:12px Arial,sans-serif;cursor:pointer}.desk-titlebar button[data-window-maximize]{background:none;border:1px solid #aaa;border-radius:0;color:#ccc;font-size:10px}.desk-window-content{height:calc(100% - 23px);overflow:auto}.desk-window[data-maximized=true]{z-index:100!important}.about-window{left:34%;top:16%;width:400px;z-index:4}.article-window{left:30%;top:15%;width:400px;z-index:2}.experiment-window{left:38%;top:56%;width:400px;z-index:3}.gallery-window{left:0;right:0;bottom:0;width:auto;height:101px;z-index:1}.showreel-window{left:20%;top:15%;width:600px;height:370px;z-index:5}.notes-window{left:58%;top:10%;width:400px;z-index:5}.desk-about-copy{border:1px solid #555;margin-top:3px;padding:4px;font:14px/1.26 Arial,sans-serif}.desk-about-copy p{line-height:1.26;margin-bottom:26px}.desk-about-copy p:last-child{margin-bottom:12px}.desk-about-copy a{text-decoration:underline;text-underline-offset:2px}.desk-about-copy details{padding:0;border:0}.desk-about-copy details:last-child{border:0}.desk-about-copy summary{display:block;font:14px Arial,sans-serif;text-decoration:underline;padding:0;letter-spacing:0}.desk-about-copy details p{color:#ccc;font-size:13px;padding-top:15px}.desk-photo-strip{display:flex;gap:4px;margin-top:4px;height:60px;overflow:hidden}.desk-photo-strip a{flex:1;min-width:0}.desk-photo-strip img{width:100%;height:100%;object-fit:cover;object-position:top;filter:grayscale(1)}.desk-article{display:block;padding:6px;color:#eee;font:14px/1.4 Arial,sans-serif}.desk-article span{text-decoration:underline}.desk-article p{font-size:13px;color:#aaa;margin-top:8px}.desk-experiments{display:flex;gap:3px;height:65px;overflow:auto;margin-top:4px}.desk-experiments>a{flex:0 0 105px;display:flex;flex-direction:column;justify-content:space-between;padding:7px}.desk-experiments b{font:17px Mono,monospace}.desk-experiments span{font:6px Mono,monospace}.desk-gallery{display:flex;gap:3px;padding:3px;height:72px;overflow:auto;scrollbar-width:thin;scrollbar-color:#666 #222}.desk-gallery>a{flex:0 0 125px;position:relative}.desk-gallery>a>div{height:60px;overflow:hidden;background:#111}.desk-gallery img{width:100%;height:100%;object-fit:cover;object-position:top}.desk-gallery>a>span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#000a;color:#fff;font:10px Arial,sans-serif;opacity:0;padding:0;transition:opacity .15s}.desk-gallery>a:hover>span,.desk-gallery>a:focus>span{opacity:1}.desk-gallery .code-art{font:6px Mono,monospace;padding:4px}.desk-gallery .code-art b{font-size:22px}.desk-note-copy{padding:5px}.desk-note-copy p,.desk-note-copy>a{font-size:14px;line-height:1.3;margin:0 0 12px}.desk-note-copy>a{display:block;text-decoration:underline}.desk-note-copy form{display:flex;gap:3px;margin:8px 0}.desk-note-copy input{min-width:0;width:100%;background:#222;border:1px solid #666;color:#fff;padding:6px;font:12px Arial,sans-serif}.desk-note-copy form button{flex-shrink:0;background:#2a2a2a;color:#ddd;border:1px solid #888;font:11px Arial,sans-serif;padding:4px}.desk-note-copy small{font-size:10px}.desk-player{position:relative;height:100%;background:#000}.desk-player video{height:100%;width:100%;object-fit:contain}.desk-player>button{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#222;color:#fff;border:1px solid #999;padding:10px;font-size:12px}.desk-bottom{z-index:2;position:absolute;bottom:105px;left:7px;right:7px;display:flex;justify-content:space-between;font:9px Mono,monospace;color:#ddd;pointer-events:none}.desk-bottom>a,.desk-bottom>button{pointer-events:auto;background:#222;color:#ddd;padding:4px;border:1px solid #555;font:9px Mono,monospace}.search-dialog{background:#252525;border:1px solid #888;box-shadow:0 0 0 3px #444;border-radius:0;padding:12px}.search-dialog h2{font:14px Mono,monospace;letter-spacing:0}.search-dialog input{background:#161616;border-color:#777;border-radius:0;color:#fff;margin:15px 0}.search-dialog [data-search-item]{border-color:#555}.search-dialog [data-search-item] span{color:#aaa}.search-dialog::backdrop{background:#0008;backdrop-filter:none}@media(max-width:900px) and (min-width:651px){.desk-bar nav{gap:12px}.desk-bar>div{gap:6px}.desk-status{display:none}.about-window{left:30%;width:380px}.article-window{left:25%}.experiment-window{left:35%}.notes-window{left:40%}}@media(max-width:650px){.desk-bar{height:auto;min-height:66px;padding:9px;gap:10px;flex-wrap:wrap}.desk-bar nav{order:3;width:100%;justify-content:space-between;font-size:11px}.desk-bar>div{margin-left:auto;gap:9px}.desk-bar time,.desk-status,.desk-bar>div>a{display:none}.desk-name{font-size:11px}.desk-surface{height:auto;min-height:calc(100svh - 75px);padding:12px 7px 10px;margin:0 3px;overflow:hidden}.quick-actions{position:relative;inset:auto;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:22px}.quick-actions button{font-size:12px}.desk-window{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;min-width:0;margin:0 0 16px;transform:none!important}.desk-titlebar{cursor:default;height:24px}.desk-titlebar button[data-window-maximize]{display:none}.desk-about-copy{font-size:14px;line-height:1.4}.desk-about-copy p{line-height:1.4}.desk-window-content{height:auto}.desk-photo-strip{height:75px}.desk-gallery{height:95px}.desk-gallery>a>div{height:80px}.desk-gallery>a{flex:0 0 130px}.desk-gallery>a>span{font-size:10px}.desk-player{height:220px}.desk-bottom{position:relative;inset:auto;gap:10px;margin-top:10px;font-size:8px}.dither-canvas{height:100%;opacity:.7}.desk-note-copy form{flex-wrap:wrap}.desk-note-copy form button{padding:7px}.desk-surface .showreel-window{height:auto!important}}
@media(max-width:650px){.quick-actions{background:#111;padding:8px;border:1px solid #444}.dither-canvas{opacity:.45}}

/* Portfolio typography and paper surfaces, shared across the desk panels. */
.dev-desktop {
  --desk-paper: #f8f8f6;
  --desk-ink: #171717;
  --desk-muted: #595954;
  --desk-rule: #cecec8;
  --desk-hover: #eaeae5;
  background: var(--desk-ink);
  font-family: Inter, Arial, sans-serif;
}
.dev-desktop .desk-bar {
  background: var(--desk-paper);
  color: var(--desk-ink);
  border-color: var(--desk-rule);
  padding-inline: clamp(10px, 2vw, 28px);
  font-family: inherit;
}
.dev-desktop .desk-name { display: inline-flex; align-items: center; gap: .7em; }
.dev-desktop .desk-name strong { font-size: 19px; line-height: 1; }
.dev-desktop header.desk-bar nav a,
.dev-desktop .desk-bar button { color: var(--desk-muted); }
.dev-desktop header.desk-bar nav a:is([aria-current="page"], :hover, :focus-visible) {
  color: var(--desk-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.dev-desktop .desk-bar > div > a:hover,
.dev-desktop .desk-bar button:hover { background: var(--desk-hover); color: var(--desk-ink); }
.dev-desktop .desk-bar kbd { border-color: var(--desk-rule); }
.dev-desktop .desk-surface { background: #101010; border-color: #363633; }
.dev-desktop .dither-canvas { opacity: .46; filter: grayscale(1); }
.dev-desktop .quick-actions {
  background: var(--desk-paper);
  border: 1px solid var(--desk-rule);
  padding: 8px;
  border-radius: 8px;
}
.dev-desktop .quick-actions button { padding: 4px 6px; border-radius: 4px; color: var(--desk-ink); font-family: inherit; }
.dev-desktop .quick-actions button span { color: var(--desk-muted); }
.dev-desktop .quick-actions button:hover { background: var(--desk-hover); }
.dev-desktop .desk-window {
  background: var(--desk-paper);
  color: var(--desk-ink);
  border-color: var(--desk-rule);
  border-radius: 8px;
  box-shadow: 0 8px 26px #0005;
}
.dev-desktop .desk-window[data-maximized="true"] { border-radius: 0; }
.dev-desktop .desk-titlebar {
  background: var(--desk-paper);
  border-bottom-color: var(--desk-rule);
  padding-inline: 8px 2px;
}
.dev-desktop .desk-titlebar h2 { color: var(--desk-ink); font: 550 12px/1 Inter, Arial, sans-serif; }
.dev-desktop .desk-titlebar button[data-window-maximize] { color: var(--desk-ink); }
.dev-desktop .desk-titlebar button[data-panel-close] { background: var(--desk-hover); color: var(--desk-ink); }
.dev-desktop .desk-titlebar button:hover { background: #dadad4; }
.dev-desktop .desk-about-copy { border-color: var(--desk-rule); font-family: inherit; }
.dev-desktop .desk-about-copy :is(summary,p), .dev-desktop .desk-article { color: var(--desk-ink); font-family: inherit; }
.dev-desktop .desk-article p { color: var(--desk-muted); }
.dev-desktop .desk-project-index > nav,
.dev-desktop .desk-project-index > nav button,
.dev-desktop .desk-project-details dl { border-color: var(--desk-rule); }
.dev-desktop .desk-project-index > nav button { color: var(--desk-ink); }
.dev-desktop .desk-project-index > nav button:is(:hover,[aria-pressed="true"]) { background: var(--desk-hover); }
.dev-desktop .desk-project-index > nav > p,
.dev-desktop .desk-project-details :is(p,dt),
.dev-desktop .desk-project-details [data-project-idle] > p { color: var(--desk-muted); }
.dev-desktop .desk-project-details header button { background: var(--desk-paper); color: var(--desk-ink); border-color: var(--desk-rule); }
.dev-desktop .gallery-window > .desk-bottom { background: var(--desk-paper); color: var(--desk-ink); }
.dev-desktop .gallery-window > .desk-bottom > :is(button,a) {
  background: var(--desk-paper);
  color: var(--desk-ink);
  border-color: var(--desk-rule);
  border-radius: 6px;
  font-family: Inter, Arial, sans-serif;
}
.dev-desktop .gallery-window > .desk-bottom > :is(button,a):hover { background: var(--desk-hover); }
.dev-desktop .gallery-window > .desk-bottom > [data-disrupt][aria-pressed="true"] {
  background: var(--desk-ink);
  border-color: var(--desk-ink);
  color: var(--desk-paper);
}
.dev-desktop :focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

@media (max-width: 650px) {
  .dev-desktop .desk-name span { display: none; }
}

.dev-desktop .desk-titlebar button:is([data-window-maximize],[data-panel-close]) {
  width: 24px;
  height: 24px;
  padding: 4px;
  background: transparent;
  border-radius: 4px;
}
.dev-desktop .desk-titlebar button:is([data-window-maximize],[data-panel-close]):hover {
  background: var(--desk-hover);
}
.dev-desktop .desk-titlebar button svg { width: 100%; height: 100%; }
.dev-desktop .desk-experiments > .desk-experiment {
  background: #eeeee9;
  color: var(--desk-ink);
  border-radius: 4px;
}
.dev-desktop .desk-experiments > .desk-experiment:hover { background: #e6e6e0; }
.dev-desktop .experiment-path,
.dev-desktop .desk-experiments .experiment-open { border-color: var(--desk-rule); }
.dev-desktop .experiment-path > i,
.dev-desktop .desk-experiments .experiment-caption p { color: var(--desk-muted); }
