@font-face{font-family:Manrope;src:url('assets/manrope.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
:root{--bg:#0b0c0c;--ink:#efeeea;--muted:#9d9f9b;--line:#ffffff26;--accent:#d7ed9f;--gut:48px;--nav:88px;color-scheme:dark;font-family:Manrope,Arial,sans-serif}*{box-sizing:border-box}html{scroll-behavior:auto;scrollbar-width:thin;scrollbar-color:#4a4c46 #0b0c0c}body{margin:0;background:var(--bg);color:var(--ink);font-size:14px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button{border:0;background:none}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:5px}button,a{touch-action:manipulation}.wrap{width:calc(100% - var(--gut)*2);max-width:1800px;margin-inline:auto}.skip-link{position:fixed;z-index:100;left:20px;top:-80px;background:var(--ink);color:var(--bg);padding:16px}.skip-link:focus{top:16px}.nav{position:fixed;inset:0 0 auto;z-index:20;height:var(--nav);background:linear-gradient(var(--bg),transparent)}.nav-inner{display:flex;height:100%;align-items:center;justify-content:space-between;gap:24px}.identity{display:flex;align-items:center;gap:12px;font-size:15px;font-weight:600}.identity svg{width:28px;height:28px;fill:var(--ink)}.nav-role{font-size:12px;color:#c1c2bc}.nav-right{display:flex;align-items:center;gap:40px}.about-link{padding:12px 0;font-size:13px;position:relative}.about-link:after{content:'';position:absolute;left:0;right:0;bottom:5px;height:1px;background:var(--ink);transform:scaleX(0);transform-origin:left;transition:transform .2s}.about-link:hover:after{transform:scaleX(1)}.languages{display:flex;align-items:center;gap:8px;font-size:11px}.languages button{color:#7b7e77;min-width:32px;min-height:44px;padding:0 4px}.languages button[aria-pressed=true]{color:var(--ink)}.languages>span{color:#4c4f49}#scene{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none}#scene canvas{width:100%;height:100%;display:block}.portrait-fallback{position:absolute;left:50%;top:12%;height:72%;width:50%;object-fit:contain;transform:translateX(-50%);filter:grayscale(1) brightness(.55);opacity:.55;mask-image:radial-gradient(ellipse,#000 20%,transparent 68%)}.webgl-ready .portrait-fallback{display:none}main{position:relative;z-index:1}.hero{height:100svh;min-height:620px;position:relative}.hero-content{height:100%;position:relative;padding-top:120px;display:flex;flex-direction:column;justify-content:space-between;padding-bottom:28px}.hero-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted)}.hero-top p{margin:0}.edition{font-variant-numeric:tabular-nums}.hero-bottom{position:relative;margin-top:auto;padding-bottom:36px;display:grid;grid-template-columns:1fr auto;align-items:end}.intro{grid-column:1/-1;display:flex;align-items:flex-start;gap:10px;margin-bottom:4px;font-size:12px;line-height:1.6}.intro p{margin:0}.small-dot{height:5px;width:5px;border-radius:50%;background:var(--accent);margin-top:7px;box-shadow:0 0 14px #d7ed9f66}h1{font-family:Georgia,'Times New Roman',serif;font-style:italic;font-weight:400;font-size:clamp(110px,16.5vw,300px);line-height:.98;letter-spacing:-.075em;margin:0 0 0 -.035em;white-space:nowrap}.hero-sub{display:flex;flex-direction:column;align-items:flex-end;gap:5px;padding-bottom:12px;font-size:13px}.round-link{display:flex;align-items:center;justify-content:center;border:1px solid #7b7d75;border-radius:50%;width:50px;height:50px;margin-top:20px;transition:background .2s,transform .2s}.round-link svg{width:22px;fill:none;stroke:currentColor;stroke-width:1.2}.round-link:hover{background:var(--ink);color:var(--bg);transform:translateY(2px)}.hero-foot{display:flex;align-items:center;justify-content:space-between;gap:32px;color:#b4b5af;font-size:10px}.foot-line{height:1px;background:var(--line);flex:1;max-width:260px}.journey{height:440svh;pointer-events:none}.journey-anchor{height:1px}.works{background:var(--bg);min-height:100svh;padding:120px 0 0;position:relative;z-index:3;border-top:1px solid #23251f}.section-head{display:flex;justify-content:space-between;align-items:end;gap:32px;margin-bottom:48px}.eyebrow{font-size:11px;color:var(--muted);margin:0 0 18px}h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(40px,5.5vw,88px);font-weight:400;letter-spacing:-.045em;line-height:1.05;margin:0}.demo-note{font-size:12px;line-height:1.7;color:var(--muted);margin:0}.filters{display:flex;gap:8px;margin-bottom:32px}.filters button{padding:12px 20px;border:1px solid var(--line);border-radius:30px;font-size:12px;min-height:44px;transition:background .2s,color .2s}.filters .active{color:var(--bg);background:var(--ink);border-color:var(--ink)}.filters button:hover{border-color:var(--ink)}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 24px}.project-card{text-align:left;padding:0;display:block;min-width:0}.project-card[hidden]{display:none}.cover-wrap{position:relative;aspect-ratio:16/11;overflow:hidden;background:#191b18}.project-cover{display:block;width:100%;height:100%;object-fit:cover;transition:transform .55s cubic-bezier(.2,.7,.2,1)}.project-card:hover .project-cover{transform:scale(1.025)}.cover-open{position:absolute;right:16px;bottom:16px;width:36px;height:36px;border:1px solid #ffffff66;display:grid;place-items:center;border-radius:50%;background:#0003;font-size:19px;transition:background .2s,color .2s}.project-card:hover .cover-open{background:var(--ink);color:var(--bg)}.card-info{display:flex;justify-content:space-between;gap:12px;padding-top:16px}.card-info h3{font-size:16px;font-weight:400;margin:0}.card-info p{font-size:10px;color:var(--muted);margin:6px 0 0}.card-index{font-size:11px;color:var(--muted);padding-top:3px}footer{padding:72px 0 32px;display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:11px}footer a{padding:16px 0}.flight-ui{position:fixed;inset:0;z-index:10;pointer-events:none;opacity:0;visibility:hidden}.flight-ui button,.flight-ui a{pointer-events:auto}.flight-top{position:absolute;top:120px;left:var(--gut);right:var(--gut);display:flex;justify-content:space-between;font-size:11px;color:#bfc2b9}.flight-top a{padding:12px 0;margin-top:-12px}.featured-project{position:absolute;bottom:110px;left:var(--gut);display:flex;gap:20px;text-align:left;align-items:center;padding:16px 24px 16px 0;min-width:270px;border-top:1px solid #ffffff55;background:linear-gradient(90deg,#0b0c0ce8,#0b0c0c44)}.featured-number{font-family:Georgia,serif;font-size:42px;font-style:italic}.featured-project small{display:block;font-size:10px;color:#c2c5bb;margin-top:8px}.featured-project #featuredTitle{font-size:20px}.feature-open{margin-left:auto;font-size:22px}.flight-bottom{position:absolute;bottom:36px;left:var(--gut);right:var(--gut);display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#b5b9ac}.flight-bottom button{border:1px solid var(--line);border-radius:24px;padding:12px 16px;min-height:44px;background:#0b0c0caa}.flight-progress{position:absolute;right:var(--gut);top:30%;height:32%;width:1px;background:#ffffff26}.flight-progress>span{display:block;width:1px;height:0;background:var(--ink)}dialog{padding:0;border:1px solid #ffffff2a;background:#161815;color:var(--ink);width:min(870px,calc(100% - 48px));max-height:calc(100svh - 48px);overscroll-behavior:contain;border-radius:8px;box-shadow:0 40px 150px #000a}dialog::backdrop{background:#0009;backdrop-filter:blur(14px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;padding:8px 20px;font-size:11px;color:#c6c9bf}.close{font-size:28px;width:44px;height:44px;line-height:1}.project-visual{position:relative;background:#10110f;aspect-ratio:16/10;overflow:hidden}.project-visual canvas{width:100%;height:100%;display:block}.play-btn{position:absolute;bottom:20px;left:20px;width:44px;height:44px;background:#1118;border:1px solid #fff7;border-radius:50%;backdrop-filter:blur(10px);font-size:16px}.timecode{position:absolute;bottom:34px;right:24px;font-size:10px;font-variant-numeric:tabular-nums;color:white;mix-blend-mode:difference}.project-info{padding:28px 32px 24px}.project-info h2{font-size:44px}.project-info p{font-size:14px;color:#bfc2b8;line-height:1.7;max-width:540px}.project-meta{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid var(--line);padding-top:20px;margin-top:24px;font-size:10px;color:var(--muted)}.project-meta button{font-size:12px;padding:12px 0;color:var(--ink)}#aboutDialog{max-width:620px}.about-content{padding:48px}.about-content h2{font-size:90px;font-style:italic}.about-content>p{font-size:18px;line-height:1.5}.about-rule{height:1px;background:var(--line);margin:32px 0}.about-content p.about-note{font-size:13px;line-height:1.8;color:var(--muted)}.text-link{padding:20px 0;font-size:14px}.noscript{position:fixed;bottom:0;z-index:50;background:#21251b;padding:16px;width:100%}.grid-mode .journey{height:0}.grid-mode #scene{display:none}.grid-mode .hero{display:none}.grid-mode .works{padding-top:130px}.grid-mode .flight-ui{display:none}.portrait-loading{opacity:.5}
dialog{position:fixed;inset:0;margin:auto;height:fit-content;z-index:50}html{scrollbar-gutter:stable}.has-dialog:before{content:'';position:fixed;inset:0;background:#0009;backdrop-filter:blur(12px);z-index:40}.has-dialog .flight-ui{pointer-events:none}
@media(min-width:1800px){:root{--gut:72px}}@media(max-width:900px){:root{--gut:28px;--nav:76px}.nav-role{display:none}.nav-right{gap:24px}.hero-content{padding-top:105px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-sub{font-size:11px}.hero-top,.hero-foot{font-size:10px}.section-head{align-items:start}.journey{height:360svh}}
@media(max-width:600px){:root{--gut:24px;--nav:72px}.identity span{display:none}.identity svg{width:25px}.nav-right{gap:24px}.hero{min-height:580px}.hero-content{padding-top:102px;padding-bottom:24px}.hero-bottom{display:block;padding-bottom:32px}.intro{font-size:11px;margin-bottom:18px}h1{font-size:30vw}.hero-sub{flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;padding:20px 0 0;font-size:10px}.hero-sub>span+span:before{content:'/';margin-right:10px;color:#8b8f80}.round-link{width:44px;height:44px;flex-shrink:0;margin:0 0 0 auto}.hero-foot{font-size:9px;gap:12px}.foot-line{display:none}.hero-foot>span:first-child{max-width:190px;line-height:1.7}.hero-top{font-size:10px}.project-grid{grid-template-columns:1fr;gap:32px}.section-head{display:block;margin-bottom:32px}.section-head h2{font-size:46px}.demo-note{margin-top:24px;font-size:12px}.works{padding-top:96px}.filters{gap:6px}.filters button{padding:12px 15px;font-size:11px}.cover-wrap{aspect-ratio:16/11}.card-info h3{font-size:18px}.card-info p{font-size:11px}.card-index{font-size:12px}footer{padding-top:48px;flex-wrap:wrap;gap:24px;font-size:10px}footer>span:nth-child(2){display:none}.featured-project{bottom:130px;min-width:250px}.flight-top{top:105px;font-size:10px}.flight-bottom{bottom:24px;gap:16px;align-items:end}.flight-bottom>span{max-width:150px;line-height:1.8}.flight-bottom button{font-size:10px}.flight-progress{right:24px}.journey{height:330svh}dialog{width:calc(100% - 24px);max-height:calc(100svh - 24px)}.project-info{padding:24px}.project-info h2{font-size:38px}.project-meta{align-items:start;gap:16px}.project-meta>span{max-width:130px;line-height:1.8}.project-meta button{padding:0;min-height:44px}.about-content{padding:28px}.about-content h2{font-size:72px}.project-visual{aspect-ratio:1}.portrait-fallback{height:65%;width:100%;top:10%}}
@media(max-width:600px){h1{font-size:25vw;letter-spacing:-.07em}}
.hero{height:100svh;min-height:0}
.hero-content{position:fixed;inset:0;height:100svh;min-height:0;pointer-events:none}
.hero-content a{pointer-events:auto}
.hero-motion{display:flex;align-items:center;gap:24px}.hero-motion button{pointer-events:auto;font-size:10px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:24px;transition:border-color .2s}.hero-motion button:hover{border-color:var(--ink)}
.journey{height:400svh}
.portrait-fallback{height:88svh;width:min(750px,90vw);top:4%;filter:grayscale(1) brightness(.7);mask-image:radial-gradient(ellipse,#000 28%,transparent 72%)}
.scene-fallback .journey{height:0}.scene-fallback .flight-ui{display:none!important}
@media(max-width:900px){.journey{height:380svh}}
@media(max-width:600px){.hero-content{padding-top:102px}.portrait-fallback{height:75svh;width:100%;top:8%}}
@media(max-width:600px){.hero-motion{gap:0}.hero-motion>span{display:none}.hero-motion button{font-size:9px;padding-inline:10px}.hero-foot>span:first-child{max-width:170px}}
@media(prefers-reduced-motion:reduce){.hero-motion button{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}.journey{height:0}.flight-ui{display:none!important}#scene{position:absolute;height:100svh}.hero{min-height:580px}}

/* Side project viewer: preserve the spatial gallery behind the panel. */
#projectDialog{inset:24px auto 24px 24px;margin:0;width:60vw;height:calc(100svh - 48px);max-height:none;border-radius:0;overflow-y:auto;background:rgba(17,19,16,.72);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);box-shadow:16px 0 80px #0005}
#projectDialog::backdrop{background:transparent;backdrop-filter:none}
body.project-open:before{display:none}
body.project-open .nav{pointer-events:none;opacity:.35}
body.project-open .flight-ui{visibility:hidden!important}
#projectDialog .project-visual{aspect-ratio:16/10}
@media(max-width:700px){#projectDialog{inset:12px;margin:0;width:calc(100% - 24px);height:calc(100svh - 24px)}}

/* Match the scene blur to the one-second project opening and closing. */
#scene{filter:blur(0);transition:filter 1s cubic-bezier(.77,0,.175,1)}
body.project-open #scene{filter:none}
@media(prefers-reduced-motion:reduce){#scene{transition:none}}

/* Keep flight labels on the same centered 1800px grid as the header and hero. */
.flight-ui{--page-edge:max(var(--gut),calc((100% - 1800px)/2))}
.flight-top,.flight-bottom{left:var(--page-edge);right:var(--page-edge)}
.featured-project{left:var(--page-edge)}
.flight-progress{right:var(--page-edge)}

/* Align the name with the same left edge as the gallery stages. */
.hero-bottom h1{margin-left:0}

/* Horizontal camera gestures coexist with native vertical scroll and pinch zoom. */
body{touch-action:pan-y pinch-zoom}

/* Layered glass: the scene supplies edge refraction; content stays sharp. */
#projectDialog,#aboutDialog{border-radius:24px;background:linear-gradient(#0000001a,#0000001a),transparent;backdrop-filter:blur(16px) saturate(75%);-webkit-backdrop-filter:blur(16px) saturate(75%);border:1px solid #ffffff38;box-shadow:inset 0 1px 0 #ffffff45,inset 1px 0 0 #ffffff12,inset 0 -1px 0 #ffffff12,0 24px 90px #0007;overflow-x:hidden}
#projectDialog .dialog-head,#aboutDialog .dialog-head{background:linear-gradient(#ffffff0c,transparent)}
#projectDialog .project-visual{margin:0 12px;border-radius:14px;overflow:hidden}
#projectDialog .project-info{padding-top:28px}
@media(max-width:700px){#projectDialog,#aboutDialog{border-radius:22px}#projectDialog .project-visual{margin:0 8px;border-radius:12px}}
@media(prefers-reduced-transparency:reduce){#projectDialog,#aboutDialog{background:#171a18;backdrop-filter:none;-webkit-backdrop-filter:none}}

/* Static grain sits above the scene and modal top layer without intercepting input. */
html::after,dialog::after{content:'';position:fixed;inset:0;pointer-events:none;background-image:url('assets/grain.svg?v=contrast2');background-repeat:repeat;opacity:.08;mix-blend-mode:normal;z-index:1000}
dialog::after{position:absolute;border-radius:inherit}

/* Discrete film grain: move the overscanned texture without repainting content. */
@keyframes film-grain{0%{transform:translate(0,0)}12.5%{transform:translate(-2%,1%)}25%{transform:translate(1%,-2%)}37.5%{transform:translate(-1%,2%)}50%{transform:translate(2%,0)}62.5%{transform:translate(0,-1%)}75%{transform:translate(-2%,-2%)}87.5%{transform:translate(1%,1%)}}
html::after,dialog::after{inset:-5%;animation:film-grain .65s steps(1,end) infinite}
@media(prefers-reduced-motion:reduce){html::after,dialog::after{animation:none;transform:none}}

.identity .brand-logo{display:block;width:160px;height:48px;object-fit:contain}
@media(max-width:600px){.identity .brand-logo{width:132px;height:40px}.nav-inner{gap:16px}.nav-right{gap:16px}}

/* Grain inside dialogs must not enlarge their scrollable bounds. */
@keyframes dialog-grain{0%{background-position:0 0}25%{background-position:43px -29px}50%{background-position:-31px 57px}75%{background-position:71px 13px}}
dialog::after{position:fixed;inset:0;transform:none;border-radius:inherit;animation:dialog-grain .33s steps(1,end) infinite}
@media(prefers-reduced-motion:reduce){dialog::after{animation:none}}


/* Content sequence: profile, showreel, recent work. */
[hidden]{display:none!important}
.media-pending{position:absolute;inset:0;display:grid;place-items:center;padding:32px;text-align:center;color:#bfc2b8;font-size:16px}
.profile-details{margin:36px 0 0;display:grid;gap:0}.profile-details>div{padding:22px 0;border-top:1px solid #ffffff26;display:grid;grid-template-columns:1fr 1.3fr;gap:24px}.profile-details dt{font-size:13px;color:#bfc2b8}.profile-details dd{margin:0;font-size:14px;line-height:1.7}.profile-window .project-info{padding:36px 40px 32px}.profile-window .project-info h2{font-size:clamp(40px,5vw,72px)}
@media(max-width:600px){.profile-window .project-info{padding:24px}.profile-details>div{grid-template-columns:1fr;gap:8px}.media-pending{font-size:14px}}

/* Biography uses readable sections inside the existing glass windows. */
.biography{font-size:14px;line-height:1.75}.bio-contact{display:flex;flex-wrap:wrap;gap:12px 24px;padding:20px 0;border-block:1px solid #ffffff26;margin-top:28px}.bio-contact a{text-decoration:underline;text-underline-offset:4px}.bio-section{margin-top:36px}.bio-section h3{font-size:20px;font-weight:500;letter-spacing:-.02em;margin:0 0 18px}.bio-section p{max-width:70ch}.career-entry{padding:22px 0;border-top:1px solid #ffffff26}.career-entry h4{font-size:17px;font-weight:500;margin:0 0 6px}.career-entry .career-company{margin:0;color:#efeeea}.career-entry .career-dates{margin:4px 0 12px;font-size:12px;color:#bfc2b8}.biography ul{margin:14px 0 0;padding-left:20px;color:#c9ccc4}.biography li+li{margin-top:8px}.biography summary{cursor:pointer;width:fit-content;min-height:44px;padding:9px 0;color:#d7ed9f}.biography summary:focus-visible{outline:2px solid #d7ed9f;outline-offset:4px}.tool-list{margin:0}.tool-list>div{display:grid;grid-template-columns:145px 1fr;gap:16px;padding:12px 0;border-top:1px solid #ffffff26}.tool-list dt{color:#bfc2b8}.tool-list dd{margin:0}#aboutDialog .about-content h2{font-size:clamp(38px,5vw,60px);overflow-wrap:anywhere}#aboutDialog .about-content>p{font-size:15px;line-height:1.8}.profile-window #projectDescription{max-width:70ch;font-size:15px;line-height:1.8}.profile-window .project-info h2{font-size:clamp(36px,4.5vw,64px);overflow-wrap:anywhere}.profile-window .project-info{max-width:100%}
@media(max-width:600px){.tool-list>div{grid-template-columns:1fr;gap:4px}.bio-section{margin-top:28px}.bio-contact{display:grid;gap:8px}.career-entry h4{font-size:16px}.profile-window .project-info h2{font-size:36px}}

/* The rounded glass shell never scrolls. Its inset content owns the scrollbar. */
#projectDialog,#aboutDialog{overflow:hidden;isolation:isolate;background-attachment:local}
#projectDialog[open],#aboutDialog[open]{display:flex;flex-direction:column}
#projectDialog .dialog-head,#aboutDialog .dialog-head{flex:0 0 60px;position:relative;z-index:2;padding:8px 16px;background:transparent}
.dialog-scroll{position:relative;min-height:0;flex:1 1 auto;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;margin:0 10px 14px 0;scrollbar-width:thin;scrollbar-color:#777b7466 transparent;scrollbar-gutter:stable}
#aboutDialog .dialog-scroll{max-height:calc(100svh - 126px)}
.dialog-scroll::-webkit-scrollbar{width:6px}.dialog-scroll::-webkit-scrollbar-track{background:transparent}.dialog-scroll::-webkit-scrollbar-thumb{background:#777b7466;border-radius:8px}.dialog-scroll::-webkit-scrollbar-thumb:hover{background:#92968c99}
#projectDialog::after,#aboutDialog::after{position:absolute;inset:0;border-radius:inherit;z-index:3}
#aboutDialog .about-content{padding-top:24px}.profile-window .project-info{padding-top:24px}
@media(max-width:700px){.dialog-scroll{margin-right:6px;margin-bottom:12px}#aboutDialog .dialog-scroll{max-height:calc(100svh - 100px)}}

/* Final flight destination: a direct contact, without another modal. */
.final-contact{position:fixed;z-index:12;left:max(var(--gut),calc((100% - 1800px)/2));right:var(--gut);bottom:clamp(130px,19vh,260px);max-width:760px;opacity:0;visibility:hidden;pointer-events:none}.final-contact h2{font-size:clamp(42px,6vw,86px);line-height:1.08;text-wrap:balance;max-width:12ch}.final-contact p{font-size:15px;line-height:1.7;color:#c9ccc4;margin:24px 0}.final-contact a{pointer-events:auto;display:inline-flex;align-items:center;flex-wrap:wrap;gap:12px;min-height:52px;font-size:22px;border-bottom:1px solid #efeeea77;padding:8px 0}.final-contact a span{font-size:12px;color:#bfc2b8}.at-contact .flight-bottom>span{visibility:hidden}body.has-dialog .final-contact{visibility:hidden!important}
@media(max-width:600px){.final-contact{bottom:150px}.final-contact h2{font-size:44px}.final-contact p{font-size:14px;max-width:27ch}.final-contact a{font-size:21px}}
@media(prefers-reduced-motion:reduce){.final-contact{position:relative;left:auto;right:auto;bottom:auto;margin:80px var(--gut);opacity:1;visibility:visible}}

/* After the camera clears the scene, reveal a centered contact panel. */
.journey{height:500svh}
.final-contact{left:50%;right:auto;top:50%;bottom:auto;transform:translate(-50%,-50%);width:min(620px,calc(100% - 48px));max-width:none;text-align:center;padding:48px 36px;border:1px solid #ffffff26;border-radius:24px;background:linear-gradient(140deg,#ffffff09,#ffffff02),#141716;box-shadow:0 24px 80px #0005}
.final-contact h2{font-size:clamp(36px,4.5vw,60px);max-width:none;margin:0;text-wrap:balance}.final-contact p{margin:24px auto;max-width:34ch}.final-contact a{justify-content:center}
@media(max-width:600px){.journey{height:450svh}.final-contact{width:calc(100% - 32px);padding:36px 24px;border-radius:22px}.final-contact h2{font-size:38px}}
@media(prefers-reduced-motion:reduce){.journey{height:0}.final-contact{position:relative;top:auto;left:auto;transform:none;margin:80px auto;opacity:1;visibility:visible}}

/* Only the material contour deforms; contact content retains its geometry. */
.final-contact{border:0;background:none;box-shadow:none;overflow:visible}.contact-liquid{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:-1;filter:drop-shadow(0 20px 34px #0005)}.contact-liquid path{fill:#171b19;fill-opacity:.94;stroke:#ffffff38;stroke-width:1;vector-effect:non-scaling-stroke}.final-contact{isolation:isolate}

.final-contact a{gap:14px;text-align:left;border-bottom:0;padding:10px 16px;border-radius:16px}.final-contact a:hover{background:#ffffff08}.final-contact a .telegram-avatar{width:56px;height:56px;border-radius:50%;flex:0 0 56px;display:grid;place-items:center;background:#ffffff0c;border:1px solid #ffffff26;overflow:hidden}.telegram-avatar>svg{width:40px;height:40px;fill:#92988f}.telegram-avatar>img{width:100%;height:100%;object-fit:cover}.final-contact a .telegram-contact-text{display:flex;flex-direction:column;gap:3px}.final-contact a .telegram-label{display:flex;align-items:center;gap:6px;font-size:12px}.telegram-icon{width:14px;height:14px;fill:currentColor}.telegram-contact-text strong{font-size:22px;font-weight:500;color:var(--ink)}.final-contact a .telegram-arrow{font-size:22px;color:var(--ink);margin-left:8px}

.contact-liquid path{stroke:none}
.contact-close{position:absolute;top:12px;right:12px;width:44px;height:44px;padding:12px;pointer-events:auto;border-radius:50%;color:#bfc2b8}.contact-close:hover{background:#ffffff0c;color:var(--ink)}.contact-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}.final-contact{padding-top:60px}

#projectDialog .project-visual.has-comparison{aspect-ratio:auto;background:#0b0c0c}.comparison-stage{--split:0%;position:relative;aspect-ratio:16/9;max-height:65svh;margin:auto;background:#000;overflow:hidden}.comparison-stage video{display:block;width:100%;height:100%;object-fit:contain}.comparison-stage #technicalVideo{position:absolute;inset:0;clip-path:inset(0 calc(100% - var(--split)) 0 0)}.comparison-labels{position:absolute;inset:12px 12px auto;display:flex;justify-content:space-between;gap:12px;pointer-events:none}.comparison-labels span{font-size:11px;background:#0009;padding:7px 10px;border-radius:6px;color:#fff}.comparison-divider{position:absolute;left:var(--split);top:0;bottom:0;width:2px;background:#fff;transform:translateX(-50%);pointer-events:none}.comparison-divider>span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:50%;width:40px;height:40px;display:grid;place-items:center;color:#111;background:#fff;box-shadow:0 3px 15px #0005;font-size:22px}#comparisonRange{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:ew-resize;touch-action:pan-y}.comparison-stage:focus-within{outline:2px solid #d7ed9f;outline-offset:-3px}.comparison-controls{display:flex;align-items:center;gap:12px;padding:10px 12px}.comparison-controls button{min-width:44px;min-height:44px;font-size:12px}.comparison-controls input{flex:1;min-width:30px;accent-color:#d7ed9f;cursor:pointer}.comparison-controls span{font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}#comparisonError{padding:12px;color:#efeeea;font-size:13px}

#singlePlayer{position:relative;background:#0b0c0c;text-align:center}#singleVideo{display:block;width:100%;max-height:65svh;object-fit:contain}.single-mute{display:block;margin-left:auto;min-height:44px;padding:10px 16px;font-size:12px}#singleError{padding:12px;text-align:left}

.nav-right{margin-left:auto}

/* Gallery caption rests on the bottom page margin. */
.featured-project{bottom:24px}
@media(max-width:600px){.featured-project{bottom:max(16px,env(safe-area-inset-bottom))}}

.tool-list>div{align-items:center}.tool-logos{display:flex;flex-wrap:wrap;align-items:center;gap:18px}.tool-logo{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:52px;outline-offset:4px}.tool-logo>img{width:40px;height:40px;object-fit:contain}.tool-logo .tool-monochrome{filter:brightness(0) invert(1)}.tool-wordmark{font-size:13px;font-weight:600;color:#efeeea}.tool-tooltip{position:absolute;bottom:calc(100% + 6px);left:50%;transform:translateX(-50%);white-space:nowrap;padding:5px 8px;border-radius:5px;background:#efeeea;color:#111;font-size:11px;opacity:0;visibility:hidden;pointer-events:none;z-index:4}.tool-logo:hover .tool-tooltip,.tool-logo:focus-visible .tool-tooltip{opacity:1;visibility:visible}.tool-logo:focus-visible{outline:2px solid #d7ed9f}

/* Telegram contact hover and keyboard focus. */
.final-contact a{transition:background-color .18s ease-out,box-shadow .18s ease-out}
@media(hover:hover) and (pointer:fine){.final-contact a:hover{background:#229ed933;box-shadow:none}.final-contact a:hover .telegram-label{color:#7ed0fa}}
.final-contact a:focus-visible{background:#229ed933;outline:2px solid #229ed9;outline-offset:4px}
@media(prefers-reduced-motion:reduce){.final-contact a{transition:none}}

/* Video and controls share the source aspect's fitted width. */
#comparisonPlayer,#singlePlayer{margin-inline:auto;max-width:100%}
#projectDialog .project-visual.has-comparison{background:transparent}
.comparison-controls{padding-inline:0;gap:10px}
#singleVideo{height:auto}

.single-controls{display:flex;justify-content:flex-end;align-items:center;padding:0 6px}.single-controls .single-mute{margin:0}.fullscreen-button{display:grid;place-items:center;flex-shrink:0;min-width:44px;min-height:44px;padding:12px}.fullscreen-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.fullscreen-button:hover{background:#ffffff12;border-radius:8px}
#singlePlayer:fullscreen,#comparisonPlayer:fullscreen{width:100vw!important;height:100dvh;max-width:none;margin:0;background:#0b0c0c;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0}
#singlePlayer:fullscreen #singleVideo{width:100%;height:calc(100dvh - 64px);max-height:none;object-fit:contain;flex:1;min-height:0}
#singlePlayer:fullscreen .single-controls{width:100%;height:64px;flex-shrink:0}
#comparisonPlayer:fullscreen .comparison-stage{width:min(100vw,calc((100dvh - 64px)*var(--video-aspect,1.7778)))!important;max-height:calc(100dvh - 64px);flex-shrink:0}
#comparisonPlayer:fullscreen .comparison-controls{width:min(100%,900px);height:64px;flex-shrink:0;padding-inline:12px}

#singleMute,#comparisonMute{display:grid;place-items:center;width:44px;height:44px;padding:12px;flex-shrink:0}#singleMute svg,#comparisonMute svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}#singleMute:hover,#comparisonMute:hover{background:#ffffff12;border-radius:8px}

/* A quiet pulse draws attention to the first scroll instruction. */
.hero-foot>[data-i18n="scroll"]{color:#efeeea;font-size:12px;line-height:1.6;animation:scroll-hint-pulse 2.8s ease-in-out infinite}
@keyframes scroll-hint-pulse{0%,100%{opacity:.64;text-shadow:0 0 0 #efeeea00}50%{opacity:1;text-shadow:0 0 12px #efeeea66}}
@media(prefers-reduced-motion:reduce){.hero-foot>[data-i18n="scroll"]{animation:none;opacity:1;text-shadow:none}}

html.preloading{overflow:hidden}#preloader{position:fixed;inset:0;z-index:2000;background:#0b0c0c;display:grid;place-items:center;opacity:1;transition:opacity .4s ease-out}#preloaderAnimation{width:min(640px,90vw);aspect-ratio:16/9}#preloaderAnimation svg{display:block;width:100%;height:100%}.preloader-fallback{position:absolute;width:180px;height:auto;display:none}.preloader-failed .preloader-fallback{display:block}.preloader-loaded .preloader-fallback{display:none}#preloader.preloader-leaving{opacity:0;pointer-events:none}@media(prefers-reduced-motion:reduce){#preloader{transition:none}}

#projectDialog .project-actions{justify-content:space-between;gap:12px;padding:12px 20px;min-height:64px;flex-basis:64px}.window-pill{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 12px;border:1px solid #ffffff22;border-radius:24px;background:#ffffff08;min-height:36px;font-size:11px;white-space:nowrap}.window-pill:hover{background:#ffffff14}.window-pill svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.copy-status{position:absolute;right:20px;top:58px;font-size:11px;color:#d7ed9f;z-index:5;background:#151815;border-radius:6px}.copy-status:not(:empty){padding:6px 10px}#dialogCategory{display:inline-block;margin-right:16px}.project-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:24px 24px 16px;padding:20px 24px;border:1px solid #ffffff24;border-radius:16px;background:linear-gradient(135deg,#ffffff09,#ffffff02)}.project-cta p{font-size:11px;color:#bfc2b8;margin:0 0 6px}.project-cta h3{font:italic 26px/1.15 Georgia,serif;letter-spacing:-.03em;margin:0}.project-cta-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.project-cta button{font-size:11px;min-height:44px;padding:10px 14px;border-radius:24px}.cta-primary{background:#efeeea;color:#111}.cta-primary:hover{background:#fff}.cta-secondary{color:#c9ccc4}.cta-secondary:hover{color:#fff;background:#ffffff08}
@media(max-width:700px){.project-cta{margin:20px 14px 12px;padding:20px;align-items:flex-start;flex-direction:column;gap:16px}.project-cta h3{font-size:25px}.project-cta-actions{flex-wrap:wrap}#projectDialog .project-actions{padding-inline:14px}}

/* Fit media around the information and CTA instead of taking a fixed 65vh. */
#projectDialog:not(.profile-window) .dialog-scroll{display:flex;flex-direction:column;scrollbar-gutter:auto}
#projectDialog:not(.profile-window) .project-visual{flex:0 0 auto;margin:0 12px}
#projectDialog:not(.profile-window) .project-info{padding:14px 24px 8px;flex:0 0 auto}
#projectDialog:not(.profile-window) .project-info h2{font-size:clamp(26px,2.5vw,40px);line-height:1.1}
#projectDialog:not(.profile-window) .eyebrow{font-size:11px;margin-bottom:8px}
#projectDialog:not(.profile-window) .project-info p{font-size:13px;line-height:1.5;margin:8px 0;max-width:70ch}
#projectDialog:not(.profile-window) .project-meta{margin-top:10px;padding-top:4px;min-height:36px}
#projectDialog:not(.profile-window) .project-meta button{min-height:36px;padding:8px 0}
#projectDialog:not(.profile-window) .project-cta{flex:0 0 auto;margin:8px 18px 8px;padding:12px 16px;gap:12px}
#projectDialog:not(.profile-window) .project-cta h3{font-size:22px}
#projectDialog:not(.profile-window) .comparison-controls{padding-block:0;height:44px}
@media(max-width:700px){#projectDialog:not(.profile-window) .project-cta{gap:8px;padding:12px 16px}#projectDialog:not(.profile-window) .project-cta p{display:none}#projectDialog:not(.profile-window) .project-info{padding-inline:18px}#projectDialog:not(.profile-window) .project-cta h3{font-size:21px}}

/* Explicit source dimensions avoid intrinsic video sizing collapsing the stage. */
.comparison-stage #cleanVideo{position:absolute;inset:0}
#comparisonPlayer:fullscreen .comparison-stage{height:auto!important;aspect-ratio:var(--video-aspect,1.7778)}
#singlePlayer:fullscreen #singleVideo{height:calc(100dvh - 64px)!important}

/* Let the window glass show around every video and its controls. */
#projectDialog .project-visual,#projectDialog .project-visual.has-comparison,#singlePlayer,#comparisonPlayer,.comparison-stage,.single-controls,.comparison-controls{background:transparent}
.single-controls{height:44px;gap:10px;padding:0;justify-content:flex-start}
#singleSeek{flex:1;min-width:30px;accent-color:#d7ed9f;cursor:pointer}
#singleTime{font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}
#singlePlayer:fullscreen,#comparisonPlayer:fullscreen{background:#0b0c0c}

.project-stack{margin:12px 0}.project-stack .tool-logos{gap:16px}.project-stack .tool-logo{height:44px}.project-stack .tool-logo>img{width:34px;height:34px}

.project-hover-label{position:fixed;left:0;top:0;z-index:30;padding:8px 12px;border-radius:10px;background:#101413df;backdrop-filter:blur(12px);color:#efeeea;font-size:12px;line-height:1.3;max-width:calc(100vw - 16px);pointer-events:none;opacity:0;visibility:hidden;transition:opacity .15s ease-out,visibility .15s}.project-hover-label.visible{opacity:1;visibility:visible}.has-dialog .project-hover-label{display:none}@media(hover:none),(prefers-reduced-motion:reduce){.project-hover-label{transition:none}}@media(hover:none){.project-hover-label{display:none}}

/* Keep the bitmap independent of grid sizing and animated glass repainting. */
.final-contact a .telegram-avatar{position:relative;display:block;width:56px;height:56px;min-width:56px;min-height:56px;contain:layout paint;isolation:isolate;transform:translateZ(0);backface-visibility:hidden}
.telegram-avatar>img{position:absolute;inset:0;display:block;width:54px;height:54px;max-width:none;object-fit:cover;border-radius:50%;transform:translateZ(0);backface-visibility:hidden;transition:none;animation:none;pointer-events:none}
