:root{color-scheme:dark;--bg:#111210;--surface:#1a1c18;--ink:#f1f1ea;--muted:#919789;--line:#30352a;--accent:#c4f366;--accent-ink:#12180a;--project-color:#c4f366;--font:Arial,"PingFang SC","Microsoft YaHei",sans-serif;--mono:"SFMono-Regular",Consolas,"Liberation Mono",monospace;font-family:var(--font);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);transition:background .35s,color .35s}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer;color:inherit}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:5px}::selection{background:var(--accent);color:var(--accent-ink)}.site-shell{max-width:1680px;margin:auto;min-height:100svh;padding:0 40px;display:flex;flex-direction:column;position:relative}.header{height:92px;display:flex;align-items:center;gap:32px;border-bottom:1px solid var(--line);flex-shrink:0}.brand{font:900 45px/1 Arial,sans-serif;letter-spacing:-4px;padding-right:4px}.brand>span{color:var(--accent)}.social-links{display:flex;gap:27px;align-items:center;margin-left:auto}.social-links>a{font-size:11px;color:#b6bcac;min-height:40px;display:flex;align-items:center;gap:8px}.social-links>a>span{color:#6f7c60;font-size:13px}.social-links>a:hover{color:var(--accent)}.theme-toggle{background:transparent;border:1px solid var(--line);border-radius:5px;padding:10px 11px;display:flex;align-items:center;gap:12px;font-size:10px;min-height:36px}.theme-toggle:hover{border-color:var(--accent)}.toggle-track{width:25px;height:13px;border-radius:12px;background:#434b37;position:relative}.toggle-track>i{position:absolute;left:3px;top:3px;width:7px;height:7px;border-radius:50%;background:#ced7c1;transition:transform .25s,background .25s}.theme-toggle[aria-pressed="true"] .toggle-track{background:#62277a}.theme-toggle[aria-pressed="true"] .toggle-track>i{transform:translateX(12px);background:#0ff;box-shadow:0 0 7px #0ff}main{flex:1;display:flex;flex-direction:column;justify-content:center;padding:25px 0 30px;min-width:0}.showcase-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.showcase-heading h1{font-size:19px;letter-spacing:.4px;font-weight:500;margin:0;display:flex;align-items:center;gap:11px}.showcase-heading h1>span{font:9px var(--mono);color:var(--accent);border:1px solid var(--line);border-radius:3px;padding:4px 5px}.showcase-controls{display:flex;align-items:center;gap:7px}.position-label{font:10px var(--mono);letter-spacing:1px;color:#919d80;margin-right:12px;min-width:56px;text-align:right}.showcase-controls>button{width:34px;height:32px;border:1px solid var(--line);border-radius:3px;background:transparent;font-size:17px;transition:background .2s,color .2s}.showcase-controls>button:hover{border-color:var(--accent);color:var(--accent)}.showcase-controls>.catalog-trigger{width:auto;padding:0 12px;font-size:10px;display:flex;align-items:center;gap:19px;margin-left:8px}.showcase{position:relative;isolation:isolate;overflow:hidden;min-width:0;height:clamp(510px,64svh,800px);border:1px solid #414837;border-radius:14px;background:#090b08;touch-action:pan-y}.slices{position:absolute;inset:0}.project-slice{position:absolute;inset:0;transition:clip-path .72s cubic-bezier(.22,.75,.24,1);overflow:hidden;will-change:clip-path}.slice-media{position:absolute;left:var(--media-left);width:var(--media-width);top:0;bottom:0;overflow:hidden;transition:left .72s cubic-bezier(.22,.75,.24,1),width .72s cubic-bezier(.22,.75,.24,1)}.slice-media>img{width:100%;height:100%;object-fit:cover;object-position:var(--image-position,center top);display:block;filter:saturate(.45) brightness(.6);transform:scale(1.06);transition:filter .6s,transform .9s cubic-bezier(.22,.75,.24,1);pointer-events:none}.project-slice.is-active .slice-media>img{filter:saturate(.8) brightness(.82);transform:scale(1.02)}.project-slice:not(.is-active):hover .slice-media>img{filter:saturate(.9) brightness(.85);transform:scale(1.04)}.slice-shade{position:absolute;inset:0;background:linear-gradient(180deg,#05070512 0%,#0507051a 15%,#0507053b 39%,#080c08d9 68%,#080b08fa 100%);pointer-events:none}.project-slice:not(.is-active) .slice-shade{background:linear-gradient(180deg,#080b081a,#080b0833 35%,#080b08e8 100%)}.slice-select{position:absolute;inset:0;width:100%;height:100%;border:0;background:transparent;z-index:2;text-align:left}.slice-select:focus-visible{outline:0;background:#c4f31811}.slice-select:focus-visible:after{content:"";position:absolute;inset:7px;border:2px solid var(--accent);pointer-events:none}.slice-number{position:absolute;top:25px;left:var(--copy-left);font:10px var(--mono);letter-spacing:1px;color:#e9eee0b3;pointer-events:none;transition:left .72s cubic-bezier(.22,.75,.24,1)}.slice-peek{position:absolute;left:var(--copy-left);width:var(--copy-width);bottom:37px;pointer-events:none;transition:left .72s cubic-bezier(.22,.75,.24,1),opacity .25s;opacity:1}.slice-peek>strong{display:block;font-size:clamp(15px,1.6vw,25px);line-height:1.15;font-weight:500;overflow-wrap:normal;color:#ecf0e4}.slice-peek>span{display:block;font-size:9px;margin-top:12px;color:#b3bca5;line-height:1.6}.slice-peek>i{display:block;font:19px var(--font);font-style:normal;margin-top:17px;color:#d7dfce}.project-slice.is-active .slice-peek{opacity:0}.active-copy{position:absolute;z-index:3;left:var(--active-left,32px);width:var(--active-width,500px);bottom:37px;pointer-events:none;transition:left .72s cubic-bezier(.22,.75,.24,1),width .72s cubic-bezier(.22,.75,.24,1);max-width:700px}.project-category{font:9px var(--mono);letter-spacing:1.7px;color:var(--accent);margin:0 0 13px;line-height:1.6}.active-copy h2{font-size:clamp(29px,3.2vw,52px);line-height:1.04;letter-spacing:-1.7px;font-weight:600;margin:0 0 18px;color:#f4f5ee;overflow-wrap:normal}.project-description{color:#bfc7b4;font-size:12px;line-height:1.95;max-width:430px;margin:0;min-height:48px}.project-tags{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:18px;font:8px var(--mono);color:#8d9b7c}.project-tags>span+span:before{content:"/";color:#4f5d40;margin-right:8px}.project-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-top:24px;pointer-events:auto}.primary-link{display:flex;justify-content:space-between;align-items:center;gap:35px;background:var(--accent);color:var(--accent-ink);padding:13px 16px;border:1px solid transparent;border-radius:3px;font-size:11px;font-weight:600;min-height:43px;transition:transform .2s,box-shadow .2s}.primary-link>span{font-size:17px;font-weight:400;line-height:1}.primary-link:hover{transform:translateY(-2px);box-shadow:0 3px 20px #c4f33322}.secondary-link,.preview-link{font-size:10px;color:#c8d2bb;white-space:nowrap;display:flex;align-items:center;gap:10px;min-height:35px}.preview-link{padding:0;border:0;background:transparent}.secondary-link:hover,.preview-link:hover{color:var(--accent)}.copy-enter{animation:copy-in .48s ease both}@keyframes copy-in{from{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}.project-navigation{display:flex;gap:0;margin-top:17px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#424d36 transparent;border-bottom:1px solid var(--line);position:relative;min-width:0}.project-tab{flex:0 0 auto;display:flex;align-items:center;gap:10px;min-height:58px;padding:13px 22px 15px 0;margin-right:25px;background:transparent;border:0;border-bottom:2px solid transparent;color:#8d9880;text-align:left;position:relative;white-space:nowrap;font-size:11px;transition:color .2s,border-color .2s}.project-tab:hover{color:var(--ink)}.project-tab[aria-selected="true"]{color:var(--accent);border-bottom-color:var(--accent)}.tab-number{font:8px var(--mono);color:#60704e}.project-tab[aria-selected="true"] .tab-number{color:var(--accent)}.showcase-bottom{display:flex;justify-content:space-between;gap:20px;margin-top:14px;font-size:9px;color:#6e7b61}.keyboard-hint{font-family:var(--mono);font-size:8px}footer{display:flex;align-items:center;justify-content:space-between;padding:17px 0;border-top:1px solid var(--line);font:7px var(--mono);letter-spacing:.6px;color:#68775b;min-height:53px}footer>a{font-family:var(--font);font-size:9px;letter-spacing:0}.catalog-dialog{position:fixed;inset:0 0 0 auto;width:min(490px,100vw);max-width:100vw;height:100svh;max-height:100svh;margin:0;padding:29px 28px;border:0;border-left:1px solid var(--line);background:var(--bg);color:var(--ink);box-shadow:-25px 0 100px #0006}.catalog-dialog::backdrop,.image-dialog::backdrop{background:#060805b8;backdrop-filter:blur(8px)}.catalog-header{display:flex;justify-content:space-between;gap:25px;align-items:flex-start}.catalog-header h2{font-weight:500;font-size:23px;margin:0}.catalog-header h2>span{font:11px var(--mono);color:var(--accent);margin-left:8px}.catalog-header p{font-size:11px;color:var(--muted);margin:13px 0 25px}.close-button{background:none;border:0;color:var(--muted);font-size:27px;line-height:1;padding:4px 7px;min-height:36px;min-width:36px}.close-button:hover{color:var(--accent)}.search-label{display:block;font-size:10px;color:var(--muted);margin-bottom:9px}#project-search{width:100%;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:5px;padding:13px 14px;font-size:12px;min-height:44px}#project-search::placeholder{color:#738365}.catalog-results{margin-top:22px}.catalog-item{display:flex;align-items:flex-start;gap:15px;padding:18px 0;width:100%;border:0;border-bottom:1px solid var(--line);background:none;text-align:left;color:var(--ink)}.catalog-item:hover .catalog-item-title{color:var(--accent)}.catalog-item>img{width:77px;height:52px;object-fit:cover;object-position:top;border-radius:3px;border:1px solid #ffffff20;flex-shrink:0}.catalog-item-text{min-width:0;flex:1}.catalog-item-title{display:block;font-size:14px;font-weight:500;line-height:1.35}.catalog-item-description{display:block;color:var(--muted);font-size:10px;line-height:1.8;margin-top:7px}.catalog-item-index{font:8px var(--mono);color:#6f805c;margin-top:3px}.catalog-item[aria-current="true"] .catalog-item-title{color:var(--accent)}.catalog-empty{font-size:12px;line-height:1.8;color:var(--muted);margin-top:30px}.image-dialog{width:fit-content;max-width:min(1400px,94vw);max-height:94svh;padding:0;margin:auto;background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:7px}.image-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:10px 17px;gap:20px;border-bottom:1px solid var(--line);font:10px var(--mono)}.image-dialog>img{max-width:100%;max-height:77svh;display:block;object-fit:contain;margin:auto}.image-dialog>p{font-size:9px;line-height:1.8;color:var(--muted);padding:10px 17px;margin:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-80px;left:20px;z-index:30;background:var(--accent);color:var(--accent-ink);padding:12px 20px}.skip-link:focus{top:10px}.retro-grid,.scanlines{position:fixed;pointer-events:none;opacity:0;transition:opacity .35s}.retro-grid{inset:45% -40% -80%;background-image:linear-gradient(transparent calc(100% - 1px),#ff00ff26 1px),linear-gradient(90deg,transparent calc(100% - 1px),#ff00ff26 1px);background-size:65px 65px;transform:perspective(500px) rotateX(58deg);transform-origin:center top;mask-image:linear-gradient(transparent,#000 40%,transparent 80%)}.scanlines{inset:0;z-index:20;background:repeating-linear-gradient(transparent 0px,transparent 2px,#00000025 2px,#00000025 3px);mix-blend-mode:multiply}
/* Theme changes skin only; clipping, dimensions, and transition timings are shared. */
:root[data-theme="retro"]{--bg:#090014;--surface:#1a103c;--ink:#e9e2f5;--muted:#b8a4ca;--line:#3d225b;--accent:#00ffff;--accent-ink:#090014}[data-theme="retro"] .retro-grid{opacity:.55}[data-theme="retro"] .scanlines{opacity:.55}[data-theme="retro"] .brand{text-shadow:2px 0 #ff00ff,-1px 0 #0ff}[data-theme="retro"] .theme-toggle{border-color:#ff00ff80;box-shadow:0 0 14px #ff00ff19;border-radius:0}[data-theme="retro"] .showcase{border-color:#00ffff66;box-shadow:0 0 25px #00ffff0b}[data-theme="retro"] .active-copy h2{text-shadow:2px 0 #ff00ff55,-1px 0 #00ffff44}[data-theme="retro"] .project-category{color:#00ffff}[data-theme="retro"] .primary-link{background:#ff00ff;color:#fff;border-color:#ff7be9;border-radius:0;box-shadow:0 0 15px #ff00ff30}[data-theme="retro"] .primary-link:hover{box-shadow:0 0 26px #ff00ff65}[data-theme="retro"] .secondary-link,[data-theme="retro"] .preview-link{color:#00ffff}[data-theme="retro"] .project-tags{color:#c0a1d7}[data-theme="retro"] .project-tab[aria-selected="true"]{border-bottom-color:#ff00ff}[data-theme="retro"] .social-links a{color:#ba9bce}[data-theme="retro"] .social-links a:hover{color:#00ffff}[data-theme="retro"] .slice-shade{background:linear-gradient(180deg,#09001405 0%,#09001422 36%,#090014d9 68%,#090014fa 100%)}[data-theme="retro"] .slice-peek>strong{color:#efddff}[data-theme="retro"] .catalog-item:hover .catalog-item-title{color:#00ffff}
@media(min-width:1500px){.site-shell{padding:0 55px}.header{height:102px}.showcase{height:clamp(570px,66svh,850px)}.project-description{font-size:13px;max-width:470px}.active-copy{bottom:43px}.project-category{font-size:10px}.project-navigation{margin-top:20px}.project-tab{font-size:12px;margin-right:35px}}
@media(max-width:1100px){.site-shell{padding:0 30px}.header{height:82px}.showcase{height:540px}.active-copy h2{font-size:35px;letter-spacing:-1px}.project-description{font-size:11px;line-height:1.85}.project-category{font-size:8px;letter-spacing:1px}.project-actions{gap:17px;margin-top:21px}.primary-link{padding:12px 14px;gap:25px;font-size:10px}.secondary-link,.preview-link{font-size:9px;gap:6px}.project-tags{font-size:7px}.project-tab{margin-right:16px;font-size:10px;padding-right:14px}.slice-peek>strong{font-size:20px}.slice-peek>span{font-size:8px}.slice-number{font-size:9px}}
@media(max-width:680px){.site-shell{padding:0 17px}.header{height:76px;gap:15px}.brand{font-size:37px;letter-spacing:-3px}.social-links{gap:13px}.social-links>a{font-size:10px;gap:4px}.social-links>a>span{display:none}.theme-toggle{font-size:9px;gap:7px;padding:8px}.showcase-heading{gap:10px;margin-bottom:16px}.showcase-heading h1{font-size:16px;gap:7px}.showcase-heading h1>span{font-size:7px;padding:3px}.position-label{font-size:8px;margin-right:2px;min-width:43px;letter-spacing:.3px}.showcase-controls{gap:5px}.showcase-controls>button{width:30px;height:31px;font-size:16px}.showcase-controls>.catalog-trigger{margin-left:3px;padding:0 8px;font-size:9px;gap:7px}.catalog-trigger>span{display:none}main{padding-top:24px;padding-bottom:24px;justify-content:flex-start}.showcase{height:570px;border-radius:9px}.active-copy{bottom:28px}.active-copy h2{font-size:32px;letter-spacing:-1.1px;line-height:1.04;margin-bottom:14px}.project-category{font-size:7px;letter-spacing:1px;margin-bottom:12px}.project-description{font-size:11px;line-height:1.85;max-width:none;min-height:0}.project-tags{font-size:7px;gap:5px;margin-top:15px}.project-tags>span+span:before{margin-right:5px}.project-actions{gap:9px 16px;flex-wrap:wrap;margin-top:19px}.primary-link{min-height:40px;font-size:10px;padding:12px 13px;gap:25px}.secondary-link,.preview-link{font-size:9px;gap:6px;min-height:30px}.preview-link{flex-basis:auto}.slice-number{top:19px;font-size:8px}.slice-peek{bottom:31px}.slice-peek>strong{writing-mode:vertical-rl;font-size:17px;line-height:1.3;white-space:nowrap;max-height:350px;letter-spacing:.3px}.slice-peek>span{display:none}.slice-peek>i{font-size:17px;margin-top:15px}.project-navigation{margin-top:13px}.project-tab{min-height:53px;padding:12px 15px 13px 0;margin-right:13px;font-size:10px;gap:7px}.tab-number{font-size:7px}.showcase-bottom{font-size:8px;margin-top:12px;gap:10px}.keyboard-hint{display:none}footer{font-size:6px;min-height:49px}footer>a{font-size:8px}.catalog-dialog{padding:25px 22px}.catalog-item{gap:12px}.catalog-item>img{width:69px;height:47px}.catalog-item-title{font-size:13px}.catalog-item-description{font-size:10px}.image-dialog{max-width:96vw}.image-dialog>header{font-size:8px;padding:8px 12px}.image-dialog>p{font-size:8px;padding:10px 12px}}
@media(max-width:370px){.site-shell{padding:0 13px}.header{gap:11px}.social-links{gap:10px}.social-links>a{font-size:9px}.theme-toggle{gap:5px;padding:8px 7px}.showcase-heading h1{font-size:15px}.showcase-controls>.catalog-trigger{font-size:8px;padding:0 6px}.position-label{min-width:38px;font-size:7px}.active-copy h2{font-size:28px}.project-description{font-size:10px}.primary-link{gap:21px}.project-actions{gap:8px 13px}.showcase{height:565px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
.slice-number{left:var(--number-left)}.slice-peek{left:var(--peek-left);width:var(--peek-width)}
.showcase:not(.is-ready) .project-slice,.showcase:not(.is-ready) .slice-media{transition:none}
.active-copy h2,.slice-peek>strong{overflow-wrap:anywhere}
@media(min-width:681px) and (max-width:1100px){.slice-peek>strong{font-size:17px}}
.project-slice[inert] .slice-peek,.project-slice[inert] .slice-number{opacity:0}
@media(max-width:680px){.showcase-controls>button{width:40px;height:40px}.showcase-controls>.catalog-trigger{width:auto;height:40px}.position-label{display:none}}
.showcase:not(.is-ready) .active-copy{transition:none}

/* Edge-to-edge project stage; navigation floats above the imagery. */
html,body{width:100%;height:100%;overflow:hidden}
.site-shell{max-width:none;width:100%;height:100svh;min-height:0;padding:0;margin:0;isolation:isolate}
main{display:block;padding:0;min-height:0}
.showcase{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0}
.header{position:absolute;top:0;left:0;right:0;z-index:5;height:100px;padding:0 36px;border:0;gap:28px;background:linear-gradient(var(--bg),transparent)}
.header:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(var(--bg),transparent);opacity:.65}
.appearance-controls{display:flex;align-items:center;gap:10px}
.appearance-select select{height:36px;min-width:89px;border:1px solid var(--line);border-radius:5px;padding:0 25px 0 11px;color:var(--ink);background:var(--bg);font-size:10px;cursor:pointer}
.theme-toggle{background:var(--bg)}
.showcase-heading{position:absolute;top:105px;right:36px;z-index:5;margin:0;pointer-events:none}
.showcase-heading h1{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.showcase-controls{pointer-events:auto;padding:6px;background:var(--bg);border:1px solid var(--line);border-radius:5px}
.showcase-controls>button{min-width:36px;min-height:36px}
.active-copy{bottom:145px}
.slice-peek{bottom:145px}
.slice-number{top:112px}
.project-navigation{position:absolute;left:36px;right:36px;bottom:max(25px,env(safe-area-inset-bottom));z-index:5;margin:0;border-color:var(--line);background:color-mix(in srgb,var(--bg) 80%,transparent);backdrop-filter:blur(18px);padding:0 15px;border-radius:5px 5px 0 0;max-height:70px}
.project-tab{min-height:62px}
.showcase-bottom,footer{display:none}
[data-theme="retro"] .showcase{box-shadow:none}

/* Appearance preference is independent of the retro skin. */
:root[data-color-scheme="dark"]{color-scheme:dark}
:root[data-color-scheme="light"]{color-scheme:light;--bg:#f3f4ef;--surface:#e8ebe1;--ink:#20271a;--muted:#606b54;--line:#c6cebb;--accent:#3f650d;--accent-ink:#fff;--pane-ink:#20271a;--pane-copy:#3f4c32;--pane-muted:#5c6a4e;--pane-veil:#f3f4ef}
:root[data-color-scheme="light"][data-theme="retro"]{--bg:#f2e9ff;--surface:#e6d8f5;--ink:#38135b;--muted:#75538e;--line:#c5aadf;--accent:#8b159f;--accent-ink:#fff;--pane-ink:#38135b;--pane-copy:#5c3c70;--pane-muted:#77538c;--pane-veil:#f2e9ff}
[data-color-scheme="light"] .slice-shade{background:linear-gradient(180deg,color-mix(in srgb,var(--pane-veil) 38%,transparent),color-mix(in srgb,var(--pane-veil) 12%,transparent) 30%,color-mix(in srgb,var(--pane-veil) 88%,transparent) 69%,var(--pane-veil))}
[data-color-scheme="light"] .project-slice:not(.is-active) .slice-shade{background:linear-gradient(180deg,color-mix(in srgb,var(--pane-veil) 32%,transparent),color-mix(in srgb,var(--pane-veil) 12%,transparent) 35%,color-mix(in srgb,var(--pane-veil) 96%,transparent))}
[data-color-scheme="light"] .slice-media>img{filter:saturate(.55) brightness(.9)}
[data-color-scheme="light"] .project-slice.is-active .slice-media>img,[data-color-scheme="light"] .project-slice:not(.is-active):hover .slice-media>img{filter:saturate(.85) brightness(1)}
[data-color-scheme="light"] .showcase{background:var(--line)}
[data-color-scheme="light"] .active-copy h2,[data-color-scheme="light"] .slice-peek>strong{color:var(--pane-ink)}
[data-color-scheme="light"] .project-description,[data-color-scheme="light"] .secondary-link,[data-color-scheme="light"] .preview-link,[data-color-scheme="light"] .slice-peek>span,[data-color-scheme="light"] .slice-peek>i{color:var(--pane-copy)}
[data-color-scheme="light"] .project-tags,[data-color-scheme="light"] .social-links>a,[data-color-scheme="light"] .position-label,[data-color-scheme="light"] .project-tab,[data-color-scheme="light"] .tab-number{color:var(--pane-muted)}
[data-color-scheme="light"] .project-tags>span+span:before,[data-color-scheme="light"] .social-links>a>span{color:var(--muted)}
[data-color-scheme="light"] .project-category,[data-color-scheme="light"] .project-tab[aria-selected="true"],[data-color-scheme="light"] .project-tab[aria-selected="true"] .tab-number,[data-color-scheme="light"] .social-links>a:hover{color:var(--accent)}
[data-color-scheme="light"] .slice-number{color:var(--ink);background:color-mix(in srgb,var(--bg) 82%,transparent);padding:5px;border-radius:2px}
[data-color-scheme="light"][data-theme="retro"] .project-category{color:var(--accent)}
[data-color-scheme="light"][data-theme="retro"] .primary-link{background:#8b159f;border-color:#a83bb4;color:#fff;box-shadow:0 0 15px #ad299b22}
[data-color-scheme="light"] #project-search::placeholder{color:var(--muted)}
[data-color-scheme="light"] .catalog-item-index{color:var(--muted)}

@media(min-width:1500px){.header{padding:0 48px}.project-navigation{left:48px;right:48px}.showcase-heading{right:48px}}
@media(max-width:680px){
  .site-shell{padding:0}.header{height:76px;padding:0 17px;gap:12px;align-items:center;flex-wrap:wrap;align-content:center}.brand{font-size:33px}.social-links{gap:11px}.social-links>a{font-size:9px}.appearance-controls{gap:6px}.appearance-select select{height:34px;min-width:72px;padding-left:7px;padding-right:17px;font-size:9px}.theme-toggle{font-size:8px;padding:8px 6px;gap:5px;min-height:34px}.toggle-track{width:23px}.showcase-heading{top:83px;right:17px}.showcase-controls{padding:4px;gap:5px}.showcase-controls>button{width:36px;height:36px;min-height:36px}.showcase-controls>.catalog-trigger{height:36px}.showcase{height:100%;border-radius:0}.slice-number{top:95px}.active-copy,.slice-peek{bottom:115px}.project-navigation{left:17px;right:17px;bottom:max(18px,env(safe-area-inset-bottom));padding:0 9px}.project-tab{min-height:57px}
}
@media(max-width:370px){.header{gap:7px;padding:0 13px}.brand{font-size:30px}.social-links{gap:8px}.social-links>a{font-size:8px}.appearance-controls{gap:5px}.theme-toggle{font-size:8px;gap:4px;padding:7px 5px}.appearance-select select{min-width:68px;font-size:8px}.showcase-heading{right:13px}.project-navigation{left:13px;right:13px}}
@media(max-height:600px) and (min-width:681px){.header{height:72px}.showcase-heading{top:76px}.slice-number{top:86px}.active-copy,.slice-peek{bottom:101px}.active-copy h2{font-size:32px;margin-bottom:10px}.project-category{margin-bottom:8px}.project-tags{margin-top:9px}.project-actions{margin-top:13px}.project-navigation{bottom:15px}.project-tab{min-height:50px}}
.project-slice:not(.is-active) .slice-number{display:none}
.slice-peek>strong{writing-mode:vertical-rl;font-size:22px;line-height:1.3;white-space:nowrap;max-height:50svh;letter-spacing:.3px}
.slice-peek>span{display:none}
.slice-peek>i{margin-top:16px}
.project-navigation{scrollbar-width:none}
.project-navigation::-webkit-scrollbar{display:none}
@media(max-width:680px){.slice-peek>strong{font-size:17px}}

/* Three distinct depths: subdued backdrop, readable copy, sharp project preview. */
:root{--frame-bg:#1c2019;--frame-line:#ffffff24;--frame-shadow:0 32px 80px #0006,0 5px 14px #0004;--stage-copy:#111210}
:root[data-theme="retro"]{--frame-bg:#1a1030;--frame-line:#9b6fc766;--stage-copy:#090014}
:root[data-color-scheme="light"]{--frame-bg:#fff;--frame-line:#303e2429;--frame-shadow:0 32px 70px #37422424,0 5px 14px #37422412;--stage-copy:#f3f4ef}
:root[data-color-scheme="light"][data-theme="retro"]{--frame-bg:#faf6ff;--frame-line:#774ba33d;--stage-copy:#f2e9ff}
.project-slice.is-active .slice-media>img{filter:blur(5px) saturate(.35);opacity:.2;transform:scale(1.06)}
[data-color-scheme="light"] .project-slice.is-active .slice-media>img{filter:blur(5px) saturate(.4);opacity:.2}
.project-slice.is-active .slice-shade,[data-theme="retro"] .project-slice.is-active .slice-shade,[data-color-scheme="light"] .project-slice.is-active .slice-shade{background:linear-gradient(90deg,var(--stage-copy) 2%,color-mix(in srgb,var(--stage-copy) 97%,transparent) 30%,color-mix(in srgb,var(--stage-copy) 72%,transparent) 62%,color-mix(in srgb,var(--stage-copy) 80%,transparent)),linear-gradient(0deg,var(--stage-copy),transparent 40%)}
.active-copy{top:50%;bottom:auto;transform:translateY(-50%);width:min(var(--active-width),35vw);max-width:540px}
.active-copy h2{font-size:clamp(34px,3.4vw,60px);line-height:1.05;letter-spacing:-1.7px;text-wrap:balance}
.project-description{max-width:410px;font-size:13px;line-height:1.95}
.project-category{margin-bottom:19px}.project-actions{gap:18px;margin-top:28px}
.project-frame{position:absolute;z-index:3;left:43%;top:50%;width:40%;max-width:1100px;transform:translateY(-50%);padding:0;border:0;background:transparent;text-align:left;perspective:1100px;color:var(--ink);isolation:isolate;border-radius:10px;touch-action:pan-y}
.frame-surface{display:block;background:var(--frame-bg);border:1px solid var(--frame-line);border-radius:10px;overflow:hidden;box-shadow:var(--frame-shadow);transform:rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg));transition:transform .3s ease,box-shadow .3s,border-color .3s;will-change:transform}
.frame-toolbar,.frame-caption{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 17px;font:10px var(--mono);color:var(--muted)}
.frame-toolbar{border-bottom:1px solid var(--frame-line)}
#frame-title{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--ink)}
.frame-expand{display:flex;align-items:center;gap:9px;white-space:nowrap;font:9px var(--font);color:var(--muted)}
.frame-expand>span{font-size:15px;transition:transform .25s}
.frame-shot{display:flex;align-items:center;justify-content:center;background:var(--surface);overflow:hidden;height:clamp(190px,36svh,560px)}
.frame-shot img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
.frame-caption{border-top:1px solid var(--frame-line);font:9px var(--font);padding-top:12px;padding-bottom:12px}
.frame-caption>span:last-child{font-size:14px;color:var(--ink)}
.project-frame:focus-visible{outline-offset:8px}
.project-frame:focus-visible .frame-expand{color:var(--accent)}
.frame-enter .frame-shot{animation:frame-arrive .65s cubic-bezier(.22,.75,.24,1) both}
@keyframes frame-arrive{from{opacity:.15;translate:22px 0}to{opacity:1;translate:0 0}}
.slice-peek{transition:translate .3s ease,opacity .25s;bottom:135px}
.slice-peek>small{display:block;writing-mode:vertical-rl;font-size:9px;letter-spacing:2px;color:var(--muted);margin-bottom:20px;opacity:.65;transition:opacity .25s,color .25s}
.showcase.is-peeking .slice-peek{translate:0 -6px}
.showcase.is-peeking .slice-peek>small{opacity:1;color:var(--accent)}
.showcase.is-peeking .project-slice:not(.is-active) .slice-media>img{filter:saturate(.95) brightness(.95);transform:scale(1.04)}
.primary-link>span{transition:transform .25s}.primary-link:hover>span{transform:translate(3px,-3px)}
.secondary-link,.preview-link{transition:color .2s,translate .2s}.secondary-link:hover,.preview-link:hover{translate:0 -2px}
@media(hover:hover) and (pointer:fine){.project-frame:hover .frame-surface{transform:translateY(-7px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg));border-color:color-mix(in srgb,var(--accent) 45%,var(--frame-line));box-shadow:var(--frame-shadow),0 0 0 1px color-mix(in srgb,var(--accent) 12%,transparent)}.project-frame:hover .frame-expand{color:var(--accent)}.project-frame:hover .frame-expand>span{transform:translate(2px,-2px)}}
@media(min-width:1900px){.active-copy{left:4%}.project-description{font-size:15px;max-width:480px}.frame-toolbar{font-size:12px;padding:18px 21px}.frame-caption{font-size:11px;padding:15px 21px}.frame-expand{font-size:11px}.project-category{font-size:11px}.project-tags{font-size:10px}.primary-link{font-size:13px;padding:17px 20px}.secondary-link,.preview-link{font-size:12px}}
@media(min-width:681px) and (max-width:1000px){.active-copy{width:36vw}.active-copy h2{font-size:34px}.project-description{font-size:11px}.project-tags{font-size:7px}.project-frame{left:44%;width:39%}.frame-toolbar,.frame-caption{padding:11px;font-size:8px}.frame-expand{font-size:8px}.frame-shot{height:32svh}.project-actions{gap:8px 14px}.preview-link{min-height:25px}}
@media(max-width:680px){.project-frame{left:var(--active-left);width:calc(84% - var(--active-left));top:155px;transform:none;border-radius:7px}.frame-surface{border-radius:7px}.frame-toolbar{padding:10px 12px;font-size:8px}.frame-expand{font-size:8px;gap:5px}.frame-shot{height:23svh;min-height:110px;max-height:210px}.frame-caption{padding:9px 12px;font-size:8px}.active-copy{top:auto;bottom:112px;transform:none;width:calc(84% - var(--active-left));max-width:none}.active-copy h2{font-size:32px;letter-spacing:-1px;margin-bottom:14px}.project-category{font-size:7px;margin-bottom:11px}.project-description{font-size:11px;max-width:none;line-height:1.8}.project-actions{margin-top:19px;gap:8px 14px}.slice-peek{bottom:115px}}
@media(max-width:680px) and (max-height:740px){.project-frame{top:140px}.frame-shot{height:22svh;min-height:95px;max-height:145px}.frame-caption{display:none}.active-copy{bottom:101px}.active-copy h2{font-size:28px;margin-bottom:10px}.project-description{font-size:10px;line-height:1.7}.project-category,.project-tags{display:none}.project-actions{margin-top:13px;gap:5px 13px}.primary-link{min-height:36px;padding:10px 12px}.secondary-link,.preview-link{min-height:28px;font-size:8px}}
@media(max-height:600px) and (min-width:681px){.active-copy{top:53%;bottom:auto}.project-description{font-size:11px}.project-frame{top:53%}.frame-shot{height:35svh;min-height:150px}.frame-toolbar,.frame-caption{padding:10px 13px}.project-actions{margin-top:15px}}
@media(prefers-reduced-motion:reduce){.project-frame:hover .frame-surface{transform:none}.showcase.is-peeking .slice-peek{translate:none}}
@media(max-width:680px) and (max-height:640px){.project-frame{top:138px}.frame-shot{height:17svh;min-height:80px;max-height:100px}.frame-toolbar{padding:8px 10px;font-size:7px}.frame-expand{font-size:7px}}

/* Let the project's own interface fill the stage, while keeping the reading area quiet. */
.project-slice.is-active .slice-media>img,[data-color-scheme="light"] .project-slice.is-active .slice-media>img{opacity:.58;filter:blur(2px) saturate(.55);transform:scale(1.035)}
.project-slice.is-active .slice-shade,[data-theme="retro"] .project-slice.is-active .slice-shade,[data-color-scheme="light"] .project-slice.is-active .slice-shade{background:linear-gradient(90deg,var(--stage-copy) 0%,color-mix(in srgb,var(--stage-copy) 97%,transparent) 29%,color-mix(in srgb,var(--stage-copy) 70%,transparent) 39%,color-mix(in srgb,var(--stage-copy) 25%,transparent) 64%,color-mix(in srgb,var(--stage-copy) 36%,transparent)),linear-gradient(0deg,var(--stage-copy),transparent 24%,transparent 80%,var(--stage-copy))}
.project-features{list-style:none;padding:0;margin:34px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:480px}
.project-features li{display:flex;flex-direction:column;gap:12px;border-top:1px solid var(--line);padding-top:13px;color:var(--ink);font-size:11px;line-height:1.5}
.feature-number{font:8px var(--mono);color:var(--muted);letter-spacing:.6px}
@media(min-width:1001px){.active-copy{left:3.2%;width:30%;max-width:610px}.active-copy h2{font-size:clamp(42px,4vw,86px);letter-spacing:-2px}.project-frame{left:38%;width:46%;max-width:none}.frame-shot{height:clamp(260px,46svh,820px)}.project-description{max-width:490px}}
@media(min-width:1900px){.active-copy{left:3.2%;width:29%}.project-frame{left:36%;width:48%}.frame-shot{height:49svh;max-height:1000px}.project-description{font-size:16px}.project-features{margin-top:43px;gap:24px;max-width:540px}.project-features li{font-size:13px;padding-top:16px;gap:16px}.feature-number{font-size:10px}}
@media(min-width:681px) and (max-width:1000px){.project-features{margin-top:24px;gap:10px}.project-features li{font-size:9px;gap:8px;padding-top:10px}}
@media(max-width:680px){.project-features{display:none}.project-slice.is-active .slice-media>img,[data-color-scheme="light"] .project-slice.is-active .slice-media>img{opacity:.38}.project-slice.is-active .slice-shade,[data-theme="retro"] .project-slice.is-active .slice-shade,[data-color-scheme="light"] .project-slice.is-active .slice-shade{background:linear-gradient(0deg,var(--stage-copy),color-mix(in srgb,var(--stage-copy) 97%,transparent) 28%,color-mix(in srgb,var(--stage-copy) 30%,transparent) 68%,var(--stage-copy))}}
@media(max-height:700px) and (min-width:681px){.project-features{margin-top:22px}.project-features li{padding-top:10px;gap:7px}.active-copy h2{font-size:clamp(32px,3.5vw,54px)}.frame-shot{height:42svh;min-height:170px}.project-frame{top:52%}}
@media(max-height:560px) and (min-width:681px){.project-features{display:none}}

/* The image gallery switches screenshots independently of project navigation. */
.frame-tools{display:flex;align-items:center;gap:18px;flex-shrink:0}
.frame-counter{font:9px var(--mono);letter-spacing:.6px;color:var(--muted);white-space:nowrap}
.frame-expand{padding:0;border:0;background:none;min-height:22px}
.frame-shot{position:relative}
.frame-open{display:block;width:100%;height:100%;padding:0;border:0;background:none;cursor:zoom-in;color:inherit}
.frame-open:focus-visible{outline-offset:-4px;position:relative;z-index:1}
.frame-caption>span:last-child{font:8px var(--mono);color:var(--muted)}
.screenshot-arrow{position:absolute;z-index:2;top:50%;translate:0 -50%;display:grid;place-items:center;width:36px;height:40px;padding:0;border:1px solid var(--frame-line);border-radius:4px;background:var(--frame-bg);color:var(--ink);font-size:20px;box-shadow:0 3px 14px #0002;transition:background .2s,color .2s,transform .2s}
.screenshot-prev{left:11px}.screenshot-next{right:11px}
.screenshot-arrow:hover{background:var(--accent);color:var(--accent-ink)}
.frame-thumbnails{display:flex;gap:8px;padding:0 16px 13px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:var(--line) transparent}
.screenshot-thumbnail{flex:0 0 72px;height:45px;padding:2px;border:1px solid var(--frame-line);border-radius:3px;background:var(--surface);opacity:.55;transition:opacity .2s,border-color .2s}
.screenshot-thumbnail img{display:block;width:100%;height:100%;object-fit:cover;object-position:top;border-radius:1px;pointer-events:none}
.screenshot-thumbnail:hover,.screenshot-thumbnail[aria-pressed="true"]{opacity:1}
.screenshot-thumbnail[aria-pressed="true"]{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.shot-enter{animation:shot-arrive .3s ease both}
@keyframes shot-arrive{from{opacity:.3;translate:7px 0}to{opacity:1;translate:0 0}}
.dialog-pagination{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 17px;border-top:1px solid var(--line);font:10px var(--mono);color:var(--muted)}
.dialog-pagination>div{display:flex;gap:7px}
.dialog-pagination button{width:38px;height:34px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font-size:18px;border-radius:3px}
.dialog-pagination button:hover{color:var(--accent);border-color:var(--accent)}
.image-dialog>img{max-height:calc(94svh - 160px)}
.image-dialog>p{padding-top:0}
.screenshot-arrow[hidden],.frame-thumbnails[hidden],.dialog-pagination button[hidden]{display:none}
@media(min-width:1900px){.frame-counter{font-size:11px}.screenshot-thumbnail{flex-basis:88px;height:52px}.frame-thumbnails{gap:10px;padding:0 21px 16px}}
@media(max-width:680px){.frame-tools{gap:8px}.frame-counter{font-size:7px;letter-spacing:0}.frame-expand{font-size:7px;min-height:22px}.frame-toolbar{gap:8px}.screenshot-arrow{width:30px;height:34px;font-size:17px}.screenshot-prev{left:6px}.screenshot-next{right:6px}.frame-thumbnails{padding:0 10px 10px;gap:6px;scrollbar-width:none}.screenshot-thumbnail{flex-basis:48px;height:32px}.frame-caption>span:last-child{font-size:7px}}
@media(max-width:680px) and (max-height:740px){.frame-thumbnails{padding:8px 10px}.screenshot-thumbnail{height:30px}.frame-toolbar{padding-top:7px;padding-bottom:7px}}
@media(max-width:680px) and (max-height:640px){.frame-shot{height:13svh;min-height:65px;max-height:85px}.frame-toolbar{padding-top:5px;padding-bottom:5px}.frame-thumbnails{padding:6px 8px}.screenshot-thumbnail{height:26px;flex-basis:42px}.frame-expand{min-height:20px}.frame-tools{gap:6px}}

/* Keep registration links visible beneath the fullscreen project navigation. */
:root{--site-footer-height:calc(34px + env(safe-area-inset-bottom,0px))}
.site-footer{display:flex;position:absolute;inset:auto 0 0;z-index:5;height:var(--site-footer-height);min-height:0;padding:0 36px env(safe-area-inset-bottom,0px);border:0;background:color-mix(in srgb,var(--bg) 94%,transparent);color:var(--muted);font:10px/1.4 var(--font);letter-spacing:0;gap:12px}
.site-copyright{white-space:nowrap}
.filing-links{display:flex;align-items:center;justify-content:center;gap:18px;min-width:0}
.filing-links>a{display:inline-flex;align-items:center;min-height:26px;white-space:nowrap}
.filing-links img{width:16px;height:18px;object-fit:contain;margin-right:5px;flex-shrink:0}
.filing-links>a:hover{color:var(--accent)}
.project-navigation{bottom:calc(var(--site-footer-height) + 12px)}
@media(min-width:1500px){.site-footer{padding-left:48px;padding-right:48px}}
@media(max-width:680px){:root{--site-footer-height:calc(42px + env(safe-area-inset-bottom,0px))}.site-footer{flex-direction:column;justify-content:center;gap:0;padding-left:13px;padding-right:13px;font-size:9px}.site-copyright{font-size:8px;line-height:12px}.filing-links{gap:12px}.filing-links>a{min-height:24px}.project-navigation{bottom:calc(var(--site-footer-height) + 6px)}.active-copy{bottom:calc(124px + env(safe-area-inset-bottom,0px))}.slice-peek{bottom:calc(145px + env(safe-area-inset-bottom,0px))}}
@media(max-width:680px) and (max-height:740px){.active-copy{bottom:calc(131px + env(safe-area-inset-bottom,0px))}}
@media(max-width:680px) and (max-height:640px){.frame-shot{height:10svh;min-height:52px;max-height:65px}.active-copy h2{font-size:26px}.project-description{font-size:9.5px}.project-actions{margin-top:10px}}
@media(min-width:681px) and (max-height:700px){.frame-shot{height:calc(42svh - 40px);min-height:130px}}
@media(min-width:681px) and (max-height:600px){.project-frame,.active-copy{top:48%}}
