:root{--portfolio-ink:#edf3fc;--portfolio-muted:#98a9c0;--portfolio-line:#253248;--portfolio-accent:#8bb8ff;--portfolio-bg:#080f1c;--portfolio-focus:#90bbff;--portfolio-surface:#101d30;--portfolio-selected:#1c3559;--portfolio-hero-preferred-height:clamp(540px,54vw,970px)}
html:has(.has-showcase){height:auto;overflow:auto;scroll-padding-top:28px}.has-showcase{height:auto;overflow:visible;background:var(--portfolio-bg)}.display-hero{position:relative;height:100svh;min-height:620px}.display-hero .media-stage{height:100%;min-height:inherit}.has-showcase .display-hero{--portfolio-fold-reserve:160px;--portfolio-content-peek:64px;--portfolio-header-space:100px;--portfolio-hero-height:min(var(--portfolio-hero-preferred-height),max(0px,calc(100svh - var(--portfolio-fold-reserve))));height:var(--portfolio-hero-height);min-height:0}.has-showcase .display-hero::after{content:"";position:absolute;inset:auto 0 0;height:100px;background:linear-gradient(transparent,var(--portfolio-bg));pointer-events:none;z-index:6}.has-showcase .display-header{top:28px;left:max(32px,calc((100vw - 1804px)/2));right:max(32px,calc((100vw - 1804px)/2));width:auto;max-width:none;padding:0;text-align:left;transform:none}.has-showcase .display-header h1{font-size:clamp(24px,2.1vw,32px);line-height:1.4;letter-spacing:.02em;text-wrap:balance;max-width:calc(100% - 320px)}.has-showcase .display-actions{position:absolute;right:0;top:0;justify-content:flex-end;gap:12px;margin-top:0}.has-showcase .display-action{min-width:124px;height:46px;padding:0 22px;font-size:15px;border-radius:6px}.has-showcase .media-stage-scene{left:50%;top:calc(var(--portfolio-header-space) + (100% - var(--portfolio-header-space))/2);width:84%!important;max-width:min(1640px,calc(max(0px,var(--portfolio-hero-height) - var(--portfolio-header-space) - 16px)*var(--media-stage-aspect,1.777777778)))!important}.has-showcase .explore-projects{display:none}.explore-projects{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);z-index:12;display:flex;align-items:center;gap:16px;color:#c6d4e8;font-size:13px;text-decoration:none;letter-spacing:.12em;padding:12px}.explore-projects:hover{color:#fff}.explore-projects span{font-size:20px}.scene-hotspots{position:absolute;inset:0;z-index:20;pointer-events:none}.scene-hotspot{position:absolute;display:flex;align-items:center;gap:8px;height:40px;padding:0 10px;transform:translate(-20px,-20px);border:1px solid transparent;border-radius:5px;background:transparent;color:#fff;pointer-events:auto;cursor:pointer;font:500 13px/1.2 system-ui,sans-serif;white-space:nowrap;isolation:isolate}.hotspot-marker{width:14px;height:14px;flex-shrink:0;border:1px solid #d4edff;background:#62caff66;transform:rotate(45deg);box-shadow:0 0 0 4px #65c8ff18,0 0 16px #36aeff99}.hotspot-label{display:block;max-width:0;opacity:0;overflow:hidden;transition:opacity .16s,max-width .16s}.scene-hotspot:is(:hover,:focus-visible,[aria-pressed=true]){background:#102038eb;border-color:#6395c77d;backdrop-filter:blur(8px);z-index:2}.scene-hotspot:is(:hover,:focus-visible,[aria-pressed=true]) .hotspot-label{max-width:100px;opacity:1}.scene-hotspot:focus-visible{outline:2px solid #a2c4ff;outline-offset:3px}
.project-showcase{color-scheme:dark;color:var(--portfolio-ink);background:var(--portfolio-bg);min-height:0;scroll-margin-top:0}.showcase-inner{max-width:1600px;margin:0 auto;padding:20px 32px 56px}.showcase-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:18px}.section-kicker{display:none}.showcase-heading h2{font-size:24px;font-weight:600;letter-spacing:.02em;margin:0;line-height:1.3}.showcase-description{font-size:14px;color:var(--portfolio-muted);line-height:1.7;margin:6px 0 0}.showcase-scope{color:var(--portfolio-muted);font-size:12px;white-space:nowrap;padding-bottom:4px}.project-tabs{display:flex;gap:8px;overflow-x:auto;border-bottom:1px solid var(--portfolio-line);padding:0 0 12px;scrollbar-width:thin}.project-tab{position:relative;border:1px solid transparent;border-radius:5px;color:var(--portfolio-muted);background:transparent;white-space:nowrap;flex-shrink:0;font:500 14px/1.3 system-ui,sans-serif;padding:12px 20px;cursor:pointer;min-height:44px}.project-tab:hover{background:var(--portfolio-surface);color:var(--portfolio-ink)}.project-tab[aria-selected=true]{background:var(--portfolio-selected);color:#e1edff;border-color:#375c8e}.project-tab:focus-visible,.project-panel:focus-visible,.project-link:focus-visible{outline:2px solid var(--portfolio-focus);outline-offset:2px}.project-status{font-size:12px;color:var(--portfolio-muted);margin:16px 0}.project-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 20px}.project-card{min-width:0}.project-cover{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:6px;background:var(--portfolio-surface);border:1px solid var(--portfolio-line);display:grid;place-items:center}.project-cover img{width:100%;height:100%;object-fit:cover;display:block}.project-info{padding:11px 2px 0}.project-info h3{font-size:15px;font-weight:600;line-height:1.5;margin:0;color:var(--portfolio-ink)}.project-summary,.project-role{font-size:12px;color:var(--portfolio-muted);line-height:1.7;margin:5px 0 0}.project-category{font-size:11px;color:var(--portfolio-accent);margin:0 0 5px}.project-link{display:inline-block;margin-top:10px;font-size:13px;color:var(--portfolio-accent);text-decoration:none}.project-link:hover{text-decoration:underline}.cover-grid{position:absolute;inset:0;background-image:linear-gradient(#37537444 1px,transparent 1px),linear-gradient(90deg,#37537444 1px,transparent 1px);background-size:32px 32px;mask-image:radial-gradient(ellipse,#000,transparent 80%)}.cover-caption{position:relative;color:#91a6c1;font-size:13px;letter-spacing:.12em;padding:12px 18px;background:var(--portfolio-surface)}.placeholder-index{position:absolute;bottom:14px;right:16px;color:#849bb8;font-size:11px;font-variant-numeric:tabular-nums}.is-placeholder .project-info h3{color:#bdcce0;font-weight:500}.studio-footer{padding:22px 24px;text-align:center;background:var(--portfolio-bg);border-top:1px solid var(--portfolio-line);color:var(--portfolio-muted);font-size:12px}
@media(min-width:1800px){.project-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.showcase-inner{max-width:1900px}.has-showcase .display-header{left:max(48px,calc((100vw - 1804px)/2))}}
@media(max-width:1100px){.project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.showcase-scope{display:none}}
@media(max-width:850px){.has-showcase{--portfolio-hero-preferred-height:540px}.has-showcase .display-header{top:22px;left:24px;right:24px;width:auto;max-width:none;padding:0;transform:none;text-align:left}.has-showcase .display-header h1{font-size:24px;max-width:calc(100% - 290px)}.has-showcase .display-actions{justify-content:flex-end;margin-top:0}.showcase-inner{padding:16px 24px 48px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.has-showcase{--portfolio-hero-preferred-height:420px}.has-showcase .display-header{left:20px;width:calc(100% - 40px);max-width:none}.has-showcase .display-header h1{font-size:22px;max-width:none}.has-showcase .display-actions{position:static;justify-content:flex-start;margin-top:16px}.has-showcase .display-action{height:44px;min-width:120px;font-size:14px}.has-showcase .display-hero::after{height:65px}.scene-hotspot{height:44px;min-width:44px;transform:translate(-22px,-22px);padding:0 12px}.hotspot-marker{width:10px;height:10px}.hotspot-label{font-size:11px}.showcase-inner{padding:12px 20px 40px}.showcase-heading{margin-bottom:14px}.showcase-heading h2{font-size:22px}.showcase-description{font-size:12px;max-width:none}.project-tabs{gap:4px;padding-bottom:12px}.project-tab{padding:12px 16px}.project-grid{grid-template-columns:1fr;gap:24px}.project-info h3{font-size:15px}.project-showcase{min-height:0}.project-status{margin:14px 0}.explore-projects{bottom:28px}}
@media(prefers-reduced-motion:reduce){html:has(.has-showcase){scroll-behavior:auto}.hotspot-label{transition:none}}

@media(max-height:420px){.has-showcase .display-hero{--portfolio-content-peek:16px}.has-showcase .display-header{top:10px}.has-showcase .display-header h1{font-size:18px;line-height:1.3}.has-showcase .display-action{height:36px;min-width:104px;padding:0 14px;font-size:13px}.has-showcase .display-actions{margin-top:0}.has-showcase .display-hero::after{height:30px}.showcase-inner{padding-top:8px}}

.project-reference{display:inline-block;margin-top:8px;color:var(--portfolio-muted);font-size:11px;line-height:1.6;text-decoration:none}.project-reference:hover{color:var(--portfolio-accent);text-decoration:underline}.project-reference:focus-visible{outline:2px solid var(--portfolio-focus);outline-offset:3px}.project-cover img{object-fit:contain;background:#050a12}
.project-category-nav{display:flex;align-items:stretch;gap:6px}.project-category-nav .project-tabs{flex:1;min-width:0}.category-scroll{flex:0 0 32px;border:1px solid var(--portfolio-line);border-radius:5px;background:var(--portfolio-surface);color:var(--portfolio-ink);font:24px/1 system-ui;cursor:pointer;margin-bottom:12px}.category-scroll[hidden]{display:none}.category-scroll:disabled{opacity:.35;cursor:default}.category-scroll:focus-visible{outline:2px solid var(--portfolio-focus);outline-offset:2px}

/* Shared technical controls: one line weight, cut-corner shape and interaction palette. */
:root{--control-line:#315575;--control-bright:#70dbf4;--control-text:#d3e5f2;--control-fill:#10273c;--control-cut:8px;--control-shape:polygon(0 0,calc(100% - var(--control-cut)) 0,100% var(--control-cut),100% 100%,var(--control-cut) 100%,0 calc(100% - var(--control-cut)))}
.ui-icon{display:block;width:18px;height:18px;flex-shrink:0}.icon-holder{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.has-showcase .display-action{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:140px;border:1px solid var(--control-line);border-radius:0;clip-path:var(--control-shape);font-size:14px;letter-spacing:.08em;transition:background .18s,border-color .18s,color .18s;filter:none;box-shadow:none}
.has-showcase .display-action::after{content:"";position:absolute;width:13px;height:1px;right:-3px;top:4px;transform:rotate(45deg);background:var(--control-bright);pointer-events:none}
.has-showcase .display-action.primary{color:#edfbff;border-color:#389ecd;background:linear-gradient(110deg,#174c70,#116582)}
.has-showcase .display-action.secondary{color:var(--control-text);border-color:var(--control-line);background:#0d2139b3;backdrop-filter:blur(8px)}
.has-showcase .display-action:hover{border-color:var(--control-bright);background:#1a5975;color:#fff;filter:none}.has-showcase .display-action:active{background:#0b304b}.has-showcase .display-action:focus-visible{outline:2px solid #d1f7ff;outline-offset:-5px}
.project-category-nav{gap:8px}.project-tabs{gap:6px;padding-bottom:14px;border-bottom-color:#254257;scrollbar-color:#315575 transparent}.project-tab{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:12px 18px;border-radius:0;border:1px solid transparent;color:#9bb3c8;letter-spacing:.04em;transition:color .18s,background .18s,border-color .18s}.project-tab .ui-icon{width:17px;height:17px;color:#728fa8}.project-tab::before,.project-tab::after{content:"";position:absolute;width:7px;height:7px;pointer-events:none;opacity:0;transition:opacity .18s}.project-tab::before{left:-1px;top:-1px;border-left:1px solid var(--control-bright);border-top:1px solid var(--control-bright)}.project-tab::after{right:-1px;bottom:-1px;border-right:1px solid var(--control-bright);border-bottom:1px solid var(--control-bright)}
.project-tab:hover{background:#10273c80;color:#e6f6ff;border-color:#25475d}.project-tab[aria-selected=true]{background:linear-gradient(0deg,#173c51a6,#10253680);color:#e0f9ff;border-color:#315575;box-shadow:inset 0 -2px #70dbf4}.project-tab[aria-selected=true] .ui-icon{color:var(--control-bright)}.project-tab[aria-selected=true]::before,.project-tab[aria-selected=true]::after{opacity:1}.project-tab:focus-visible{outline:2px solid #b8efff;outline-offset:-4px}
.category-scroll{display:flex;align-items:center;justify-content:center;flex-basis:36px;border-radius:0;background:#10243880;border-color:#294658;margin-bottom:14px;color:#a9d7e7}.category-scroll:hover:not(:disabled){background:#173c51;color:#e0f9ff;border-color:var(--control-bright)}
.scene-hotspot{height:44px;min-width:44px;padding:5px;gap:9px;transform:translate(-22px,-22px);border-radius:0}.hotspot-marker{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid #6dcbe699;background:#0c2c40cc;transform:none;box-shadow:0 0 14px #42b8e329;clip-path:polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px);color:#a6eaff}.hotspot-marker .ui-icon{width:16px;height:16px}.scene-hotspot:is(:hover,:focus-visible,[aria-pressed=true]){background:#0a2036ed;border-color:#43768d;padding-right:12px}.scene-hotspot:is(:hover,:focus-visible,[aria-pressed=true]) .hotspot-marker{color:#edfcff;background:#1b586e;border-color:#a0eaff}.hotspot-label{letter-spacing:.06em}.scene-hotspot:focus-visible{outline-color:#c3f5ff}
.project-cover{border-radius:2px;border-color:#284050;transition:border-color .18s}.project-card:hover .project-cover{border-color:#548ca5}.project-category{letter-spacing:.06em;color:#8abbd0}.project-reference,.project-link{display:inline-flex;align-items:center;gap:6px}.project-reference .ui-icon,.project-link .ui-icon{width:12px;height:12px}.project-reference:hover,.project-link:hover{color:var(--control-bright)}
@media(max-width:600px){.has-showcase .display-action{min-width:128px;padding:0 16px;gap:8px;font-size:13px}.project-tab{padding:12px 14px;gap:7px}.hotspot-marker{width:26px;height:26px}.hotspot-marker .ui-icon{width:14px;height:14px}}
@media(max-height:420px){.has-showcase .display-action{min-width:112px;gap:7px;padding:0 12px}}
@media(prefers-reduced-motion:reduce){.has-showcase .display-action,.project-tab,.project-tab::before,.project-tab::after,.project-cover{transition:none}}
