:root{color-scheme:dark;font-family:"Century Gothic",CenturyGothic,AppleGothic,"Trebuchet MS",sans-serif;font-weight:400;color:#f7f7f7;background:#080808;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:linear-gradient(#000 0%,#080808 35%,#1d1d1d 100%);background-attachment:fixed}button,a,select{-webkit-tap-highlight-color:transparent}button,select{font:inherit}button{color:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button{border:0;background:none}a:focus-visible,button:focus-visible,select:focus-visible,iframe:focus-visible{outline:3px solid #61ddff;outline-offset:5px}#main:focus{outline:none}.skip-link{position:fixed;top:-80px;left:20px;padding:12px;background:#fff;color:#000;z-index:200}.skip-link:focus{top:10px}.site-header{position:relative;z-index:20;display:flex;align-items:baseline;gap:28px;padding:24px 22px 15px;min-height:82px;padding-right:75px}.identity{font-size:30px;white-space:nowrap;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}.contact{display:flex;gap:22px;font-size:21px}.contact a:hover{text-decoration:underline}.menu-toggle{position:absolute;right:8px;top:16px;width:36px;height:66px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px}.menu-toggle span{width:11px;height:11px;background:#fff;border-radius:50%}#navigation{position:absolute;right:35px;top:72px;width:212px;background:#050505;border:2px solid #fff;padding:7px 8px;box-shadow:0 12px 35px #0009}#navigation[hidden]{display:none}#navigation:before{content:"";position:absolute;right:-2px;top:-25px;height:23px;width:16px;border-left:2px solid white;border-top:2px solid white}#navigation a{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-height:24px;font-size:20px;line-height:1.2;text-align:right}#navigation a:hover{color:#7be5ff}#navigation a[aria-current]{font-weight:700}#navigation a span{font-size:16px}.intro{font-size:21px;line-height:1.59;margin:0 22px;max-width:1385px}.home-gallery{position:relative;margin-top:44px;min-height:552px;padding:15px 6.5% 50px 20.5%}.portrait{position:absolute;left:0;top:0;width:21.6%;max-width:365px;height:auto}.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 3px}.category-card{position:relative;display:block;min-width:0;transition:transform .18s ease,filter .18s ease}.category-card img{display:block;width:100%;height:auto}.category-card span{position:absolute;left:7%;right:4%;bottom:16%;font-size:clamp(22px,2.45vw,42px);line-height:1.1;text-shadow:0 2px 9px #000}.category-card:hover{transform:translateY(-5px);filter:brightness(1.15)}body.project-page:before{content:"";position:fixed;inset:0;background-image:var(--project-bg);background-position:center;background-size:cover;z-index:-1}body.project-page{background:transparent}.project{max-width:1920px;margin:0 auto}.project-canvas{position:relative;width:100%;aspect-ratio:1440/706}.project-copy{position:absolute;left:1.5%;top:5%;width:19.4%;z-index:4}.project-copy h1{font-size:clamp(21px,2.05vw,38px);line-height:1.14;font-weight:400;margin:0 0 24px}.roles{padding:0;margin:0;list-style:none;font-size:clamp(16px,1.5vw,28px);line-height:1.12}.video-link,.doc-link{display:block;margin-top:25px;font-size:clamp(15px,1.43vw,26px);line-height:1.25;text-align:left;padding:0;text-decoration:underline;text-underline-offset:5px}.video-link:hover,.doc-link:hover{color:#7be5ff}.device{position:absolute;padding:0;line-height:0;border-radius:3px;transition:filter .18s}.device:hover{filter:brightness(1.1)}.device img{display:block;width:100%;height:auto}.desktop{left:21%;top:4.7%;width:64%;z-index:1}.landscape{left:.4%;top:51%;width:43.47%;z-index:3}.portrait.device{left:auto;right:.4%;top:9.4%;width:32.57%;max-width:none;z-index:2}.project-navigation{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 22px 22px;padding:15px 0;border-top:1px solid #ffffff40;font-size:13px;color:#dedede}.section-label{display:flex;gap:10px;align-items:center}.section-label a{text-decoration:underline}.project-pager{display:flex;align-items:center;gap:18px}.pager-link{white-space:nowrap;padding:9px 0}.pager-link[hidden]{display:none}.project-select-label{max-width:350px}select{background:#101010;border:1px solid #777;border-radius:0;color:#fff;padding:9px 30px 9px 10px;font-size:13px;max-width:100%;cursor:pointer}.browse-images{padding:9px 0;text-decoration:underline;text-underline-offset:4px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.modal-open{overflow:hidden}dialog{border:0;color:#fff;position:fixed;max-width:none;max-height:none;padding:0;background:transparent}dialog::backdrop{background:#000d}#viewer{width:100%;height:100dvh;inset:0;margin:0}#viewer[open]{display:flex;flex-direction:column}.viewer-bar{display:flex;align-items:center;justify-content:space-between;min-height:72px;padding:12px 28px;gap:20px}.viewer-bar h2{font-size:18px;font-weight:400;margin:0}.icon-button{font-family:Arial,sans-serif;font-size:45px;line-height:1;width:48px;height:48px;border:1px solid #ffffff70;flex-shrink:0}.icon-button:hover{background:#ffffff20}.viewer-body{display:flex;align-items:center;flex:1;min-height:0;gap:10px;padding:0 20px}.gallery-arrow{font-family:Arial,sans-serif;font-size:54px;width:48px;flex-shrink:0}.gallery-arrow:hover{color:#61ddff}#gallery-stage{flex:1;align-self:stretch;min-width:0;display:flex;align-items:center;justify-content:center;touch-action:pan-y;cursor:grab;user-select:none}#gallery-stage:active{cursor:grabbing}#gallery-image{width:100%;height:100%;max-height:calc(100dvh - 200px);object-fit:contain;user-select:none}.viewer-footer{text-align:center;padding:10px 22px 18px;flex-shrink:0}.viewer-footer p{margin:0 0 8px;font-size:13px}#gallery-dots{display:flex;justify-content:center;flex-wrap:wrap;max-width:650px;margin:auto}.gallery-dot{padding:11px;position:relative}.gallery-dot:after{content:"";display:block;width:9px;height:9px;border:1px solid white;border-radius:50%}.gallery-dot.active:after{background:white}.viewer-help{color:#aaa;margin-top:7px!important;font-size:12px!important}#resume{inset:30px 5%;margin:auto;width:90%;height:calc(100dvh - 60px);background:#151515;box-shadow:0 16px 70px #0009}#resume[open]{display:flex;flex-direction:column}.resume-toolbar{display:flex;align-items:center;gap:22px;justify-content:space-between;padding:12px 18px}.resume-toolbar h2{font-size:18px;font-weight:400;margin:0}.resume-download{display:flex;align-items:center;gap:10px;font-size:14px;margin-left:auto}.resume-download img{width:28px}.resume-download:hover{text-decoration:underline}#resume iframe{width:100%;flex:1;border:0;background:white}.pdf-fallback{font-size:12px;text-align:center;margin:10px}.pdf-fallback a{text-decoration:underline}.no-js{padding:30px}.no-js a{text-decoration:underline}
@media(min-width:1700px){.home{max-width:1700px;margin:auto}.site-header{max-width:1920px;margin:auto}.project-canvas{aspect-ratio:1440/706}}
@media(max-width:1000px){.site-header{gap:20px;min-height:84px}.identity{font-size:25px}.contact{font-size:16px;gap:15px}.intro{font-size:17px}.home-gallery{margin-top:35px;padding-right:5%;padding-left:22%}.category-grid{gap:25px 15px}.category-card span{font-size:2.5vw}.project-copy h1{margin-bottom:18px}.roles{font-size:1.55vw}.project-copy .video-link,.project-copy .doc-link{font-size:1.5vw;margin-top:18px}.project-navigation{flex-wrap:wrap;font-size:12px;gap:10px}.project-pager{order:3;width:100%;justify-content:center}.project-select-label{flex:1;max-width:400px}select{width:100%}}
@media(max-width:650px){.site-header{display:block;padding:19px 60px 18px 18px;min-height:115px}.identity{font-size:25px}.contact{flex-wrap:wrap;font-size:13px;gap:5px 14px;margin-top:10px}.menu-toggle{right:8px;top:11px}.intro{font-size:16px;line-height:1.65;margin:0 18px}.home-gallery{margin-top:28px;padding:0 14px 30px;min-height:0}.portrait{position:relative;display:block;width:155px;margin:0 auto 12px;max-height:210px;object-fit:cover;object-position:top}.category-grid{gap:13px 7px;grid-template-columns:repeat(2,minmax(0,1fr))}.category-card span{font-size:clamp(17px,4.65vw,27px);bottom:16%}.project-canvas{aspect-ratio:auto;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;padding:0 12px 14px;gap:12px}.project-copy{position:relative;left:auto;top:auto;width:100%;padding:8px 6px 14px}.project-copy h1{font-size:27px;margin:0 0 14px}.roles{display:flex;flex-wrap:wrap;gap:6px 15px;font-size:15px;line-height:1.3}.project-copy .video-link,.project-copy .doc-link{font-size:15px;margin-top:17px}.device{position:relative!important;left:auto!important;right:auto!important;top:auto!important}.desktop{width:100%;order:1}.landscape{width:55%;order:2}.portrait.device{width:39%;height:auto;max-height:none;margin:0;order:3}.project-navigation{margin:0 18px 20px}.project-pager{gap:12px}select{font-size:12px;padding-left:7px}.pager-link span{display:none}.viewer-bar{padding:10px 14px;min-height:65px}.viewer-bar h2{font-size:14px}.viewer-body{padding:0 5px;gap:0}.gallery-arrow{width:28px;font-size:40px}.viewer-footer{padding:10px 12px 20px}#gallery-image{max-height:calc(100dvh - 220px)}.gallery-dot{padding:9px}#resume{inset:10px 2%;width:96%;height:calc(100dvh - 20px)}.resume-toolbar{gap:10px;padding:10px}.resume-toolbar h2{font-size:14px}.resume-download{font-size:12px;gap:6px}.resume-download img{display:none}.icon-button{width:40px;height:40px;font-size:36px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}




.project-section-name{margin:0 0 12px;font-size:clamp(13px,1.15vw,19px);line-height:1.3;color:#ccc}

.pager-link{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:48px;min-height:46px;padding:10px 14px;border:1px solid #ffffff80;background:#101010d9;font-size:14px;transition:background .15s,border-color .15s}
.pager-link:hover{background:#ffffff20;border-color:#fff}.pager-link svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.pager-link[hidden]{display:none}
@media(max-width:650px){.pager-link{padding:10px;flex-shrink:0}.project-pager{gap:9px}.project-select-label{min-width:0}}




/* Project previews stay above the navigation; backgrounds use the source artwork unchanged. */
.portrait.device{top:auto;bottom:3%;height:90%;width:32.57%}
.portrait.device img{width:100%;height:100%;object-fit:contain;object-position:right bottom}
.project-navigation{display:flex;justify-content:center;align-items:center;gap:30px;border:0;margin:0 22px 22px;padding:12px 0}
.project-navigation[hidden]{display:none}
.pager-link{width:52px;height:48px;min-width:52px;padding:10px;background:transparent;border:0}
.pager-link svg{width:28px;height:28px;fill:currentColor;stroke:none}
.pager-link:hover{background:#ffffff20}
@media(max-width:650px){.portrait.device{bottom:auto;height:auto}.portrait.device img{height:auto}.project-navigation{margin:0 18px 20px}}

/* Fit the complete desktop composition to the available browser height. */
#page-layout{display:flow-root}
@media(min-width:651px){
 .page-viewport{height:100dvh;overflow:hidden}
 #page-layout{width:100%;transform:scale(var(--page-scale,1));transform-origin:top center}
}
/* Align project navigation with the monitor preview's horizontal center. */
@media(min-width:651px){.project-navigation{width:64%;margin-left:21%;margin-right:0}}

/* Reference-style resume: white paper, separate close and download controls. */
#resume{inset:0;margin:0;width:100%;height:100dvh;background:transparent;box-shadow:none;overflow:hidden}
#resume[open]{display:block}
#resume::backdrop{background:#000b}
.resume-paper{position:absolute;left:21.3%;right:10.7%;top:6.67%;bottom:8.3%;background:white}
.resume-paper:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:35px;background:linear-gradient(transparent,#000);pointer-events:none}
.resume-document{height:100%;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;color:#111;background:#fff;color-scheme:light;overscroll-behavior:contain}
.resume-document::-webkit-scrollbar{display:none}
.resume-page{position:relative;width:100%;background:white;overflow:hidden}
.resume-page canvas{display:block;width:100%;height:100%}
.resume-loading{padding:40px;font-size:16px;line-height:1.6}.resume-loading a{text-decoration:underline}
#resume .close-resume{position:absolute;right:5.7%;top:2.5%;width:48px;height:48px;font-size:55px;font-weight:300;line-height:.8;border:1px solid #aaa}
#resume .resume-download{position:absolute;right:4.65%;bottom:8.4%;display:block;margin:0;padding:0;line-height:0}
#resume .resume-download img{display:block;width:59px;height:auto}
.textLayer{position:absolute;inset:0;overflow:clip;opacity:1;line-height:1;text-align:initial;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;--min-font-size:1;--text-scale-factor:calc(var(--total-scale-factor) * var(--min-font-size));--min-font-size-inv:calc(1 / var(--min-font-size))}
.textLayer :is(span,br){color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0 0}
.textLayer > :not(.markedContent),.textLayer .markedContent span:not(.markedContent){z-index:1;--font-height:0;font-size:calc(var(--text-scale-factor) * var(--font-height));--scale-x:1;--rotate:0deg;transform:rotate(var(--rotate)) scaleX(var(--scale-x)) scale(var(--min-font-size-inv))}
.textLayer .markedContent{display:contents}.textLayer ::selection{background:#38a3ff66}
@media(max-width:650px){.resume-paper{left:3%;right:3%;top:65px;bottom:75px}#resume .close-resume{top:10px;right:3%;width:40px;height:40px;font-size:45px}#resume .resume-download{right:4%;bottom:12px}#resume .resume-download img{width:40px}.resume-paper:after{height:22px}}

.password-section{min-height:600px;display:grid;place-items:center;padding:50px 24px 90px}
.password-panel{width:100%;max-width:460px;padding:34px;border:1px solid #666;background:#0a0a0a}
.password-panel h1{font-size:32px;font-weight:400;margin:0 0 18px}
.password-panel p{font-size:16px;line-height:1.5;margin:0 0 28px;color:#ddd}
.password-panel label{display:block;font-size:15px;margin-bottom:10px}
.password-entry{display:flex;gap:10px}.password-entry input{min-width:0;flex:1;width:100%;font:inherit;font-size:18px;color:#fff;background:#171717;border:1px solid #999;padding:12px}
.password-entry input:focus-visible{outline:3px solid #61ddff;outline-offset:3px}
.password-entry input[aria-invalid]{border-color:#ff9797}
.password-entry button{font-size:16px;padding:12px 20px;color:#080808;background:#fff;border:1px solid white}
.password-entry button:hover{background:#cdefff}
.password-panel #password-error{min-height:24px;color:#ffabab;font-size:14px;margin:12px 0 18px}
.password-back{font-size:14px;text-decoration:underline;text-underline-offset:4px}
@media(max-width:650px){.password-section{min-height:0;padding:30px 18px 70px}.password-panel{padding:26px 22px}.password-panel h1{font-size:28px}.password-entry button{padding:12px 16px}}

/* Password entry shares the gallery's overlay treatment over the homepage. */
#design-password-dialog{inset:0;margin:0;width:100%;height:100dvh;padding:76px 24px;background:transparent;overflow:auto}
#design-password-dialog[open]{display:grid;place-items:center}
#design-password-dialog::backdrop{background:#000a}
#design-password-dialog .password-panel{background:#0a0a0af2}
.password-panel h2{font-size:32px;font-weight:400;margin:0 0 18px}
#design-password-dialog .close-password{position:absolute;top:20px;right:28px}
button.password-back{padding:0}
@media(max-width:650px){#design-password-dialog{padding:70px 18px 30px}#design-password-dialog .close-password{top:10px;right:14px}.password-panel h2{font-size:28px}}
