:root{--paper:#f6f6f3;--ink:#171918;--soft:#818780;--green:#667b6a}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Pretendard,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;word-break:keep-all}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}:focus-visible{outline:3px solid #6377ed;outline-offset:5px}.skip{position:absolute;top:-100px;z-index:10;background:#fff;padding:12px}.skip:focus{top:0}header{position:absolute;top:0;left:0;width:100%;padding:30px 3.5vw;display:flex;justify-content:space-between;align-items:flex-start;z-index:5}.brand{display:flex;gap:10px;align-items:center;font-size:23px;font-weight:750;line-height:.82;letter-spacing:-.07em}.brand img{width:38px;height:38px;filter:invert(1)}.dot{color:var(--green)}header nav{display:flex;gap:30px;font-size:13px}header nav a:last-child{margin-left:30px}.intro{padding:122px 3.5vw 0;display:flex;justify-content:space-between;font-size:11px;line-height:1.65;letter-spacing:.05em}.intro p:last-child{text-align:right;letter-spacing:0;color:#656b65;font-size:13px}.gallery-layout{display:grid;grid-template-columns:minmax(170px,1fr) minmax(0,1.65fr) minmax(170px,1fr);gap:4vw;padding:35px 3.5vw 150px}.index,.note{position:sticky;top:26vh;align-self:start;font-size:11px}.index p,.note>a{font-size:9px;letter-spacing:.11em;color:var(--soft)}.index nav{display:flex;flex-direction:column;gap:14px;margin:35px 0 70px}.index nav a{color:#a5aaa5;transition:color .3s}.index nav a:hover,.index nav a.active{color:#1d251f}.index>span{font-size:9px;letter-spacing:.1em}.note{text-align:right;top:32vh}.note>span{font-family:Georgia,serif;font-style:italic;font-size:clamp(21px,2.5vw,36px);line-height:1.1;color:#6a7c6c}.note p{line-height:1.8;color:#777;margin:40px 0 20px}.projects{display:flex;flex-direction:column;gap:20vh}.project{scroll-margin-top:35px}.visual{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:min(68vh,680px);min-height:420px;overflow:hidden}.visual>img{width:100%;height:100%;object-fit:cover;object-position:top;transition:transform .65s}.visual:hover>img{transform:scale(1.025)}.inventory{background:#ccd5c8;padding:10%}.screen{transform:rotate(-2deg);box-shadow:0 25px 70px #20281c40;transition:transform .6s}.visual:hover .screen{transform:rotate(0)}.website{background:#deded9}.haru{background:#dfe9df}.luma{background:#dce5e6}.figure{background:#191919}.figure>img{object-position:center}.phone{height:85%;aspect-ratio:9/19.5;border:7px solid #20221f;border-radius:32px;overflow:hidden;box-shadow:0 22px 45px #1b292437;position:relative}.phone:after{content:"";position:absolute;top:6px;left:35%;width:30%;height:12px;border-radius:12px;background:#171717}.phone img{width:100%;height:100%;object-fit:fill}.luma-phone{width:187px;height:405px;max-height:85%;aspect-ratio:auto}.luma-phone iframe{width:390px;height:844px;border:0;transform-origin:top left;transform:scale(.48);pointer-events:none}.view{position:absolute;bottom:18px;right:18px;padding:11px 15px;background:#f9f9f5;color:#222;font-size:11px}.caption{padding-top:22px;display:flex;justify-content:space-between;align-items:end;gap:20px}.caption small,.caption>span{font-size:9px;line-height:1.6;letter-spacing:.08em;color:#828982}.caption>span{text-align:right}.caption h2{font-size:clamp(28px,3vw,42px);letter-spacing:-.06em;font-weight:600;margin:9px 0}.caption p{margin:0;color:#757b74;font-size:13px}.studio{background:#dce4d9;padding:140px 12vw;display:grid;grid-template-columns:1fr 2fr;gap:50px}.studio>span,footer span{font-size:10px;letter-spacing:.1em}.studio h2,footer h2{font-size:clamp(70px,9vw,140px);letter-spacing:-.08em;line-height:.9;font-weight:600;margin:0 0 50px}h2 i{font-family:Georgia,serif;font-weight:400}.studio p{font-size:clamp(18px,2vw,27px);line-height:1.75;letter-spacing:-.04em;max-width:750px}.studio ul{list-style:none;padding:30px 0 0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:20px;font-size:13px;color:#596458}footer{background:#1b211c;color:#f6f6f0;padding:130px 5vw 30px}footer h2{margin:30px 0}footer p{color:#abb5aa;font-size:14px}footer a{display:inline-block;margin-top:25px;border:1px solid #738074;border-radius:30px;padding:15px 25px;font-size:12px}.footer-meta{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-top:130px;padding-top:25px;border-top:1px solid #566157;line-height:1.6}.footer-meta b{font-size:28px;letter-spacing:-.07em}footer small{display:block;color:#a0aaa0;margin-top:30px;font-size:11px}@media(max-width:800px){header{padding:24px 5vw}.brand{font-size:20px}.brand img{width:32px;height:32px}header nav{gap:18px}header nav a:last-child{margin:0}.intro{padding:115px 5vw 0}.intro p:first-child{font-size:9px}.intro p:last-child{font-size:12px}.gallery-layout{display:block;padding:30px 5vw 100px}.index{position:static}.index nav{display:flex;flex-direction:row;overflow-x:auto;white-space:nowrap;margin:25px 0 45px;gap:22px;padding-bottom:8px}.index>span,.note{display:none}.projects{gap:90px}.visual{height:65vh;min-height:360px;max-height:620px}.caption h2{font-size:29px}.studio{display:block;padding:100px 5vw}.studio h2{margin-top:40px}.studio ul{grid-template-columns:1fr;gap:15px}footer{padding:100px 5vw 30px}.footer-meta{flex-wrap:wrap}.footer-meta b{width:100%}}@media(max-width:400px){header nav{gap:12px;font-size:12px}.visual{min-height:330px}.caption>span{font-size:8px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
/* Keep the studio frame in place while the project rail scrolls inside it. */
@media(min-width:801px){html,body{height:100%;overflow:hidden}header{position:fixed}.intro{position:fixed;top:0;left:0;right:0}.gallery-layout{position:fixed;top:215px;bottom:0;left:0;right:0;padding:0 3.5vw;overflow:hidden}.index,.note{position:static;padding-top:26px}.note{padding-top:75px}.projects{height:100%;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b7bfb6 transparent;scroll-behavior:smooth;padding-bottom:15vh}.project{flex:none;scroll-margin-top:0}.studio,footer{flex:none;margin:0;padding:90px 7%}.studio{display:block}.studio h2{margin-top:35px}.studio ul{grid-template-columns:1fr}.footer-meta{margin-top:70px}}
@media(max-width:800px){html,body{height:100%;overflow:hidden}header{position:fixed;background:var(--paper)}.intro{position:fixed;top:0;left:0;right:0;padding-top:95px;background:var(--paper)}.gallery-layout{position:fixed;top:170px;bottom:0;left:0;right:0;padding:0 5vw;display:flex;flex-direction:column;overflow:hidden}.index{flex:none;background:var(--paper)}.index nav{margin:14px 0 20px}.projects{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scroll-behavior:smooth;padding-bottom:80px}.project,.studio,footer{flex:none}.visual{height:55vh;min-height:280px}.studio,footer{padding:75px 7%}.studio h2,footer h2{font-size:clamp(52px,12vw,75px)}.footer-meta{margin-top:70px}}
@media(prefers-reduced-motion:reduce){.projects{scroll-behavior:auto}}
.projects{overflow-x:hidden}.projects>*{min-width:0;width:100%}
/* Fade the scrolling content into the fixed background at both edges. */
.projects{--edge-fade:clamp(38px,6vh,72px);padding-top:var(--edge-fade);scroll-padding-top:var(--edge-fade);-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 var(--edge-fade),#000 calc(100% - var(--edge-fade)),transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 var(--edge-fade),#000 calc(100% - var(--edge-fade)),transparent 100%)}
/* The brand mark draws once and settles into the fixed background. */
.background-mark{position:fixed;left:50%;top:53%;width:min(76vw,1050px);height:auto;z-index:0;pointer-events:none;color:#394c3c;transform:translate(-50%,-50%);opacity:.075;animation:mark-settle 3.1s cubic-bezier(.22,.7,.25,1) both}.background-mark path,.background-mark circle{stroke-dasharray:1;stroke-dashoffset:0;animation:mark-draw 1.65s ease-in-out both}.background-mark path:nth-child(2){animation-delay:.2s}.background-mark circle{animation-delay:.4s}@keyframes mark-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}@keyframes mark-settle{0%,48%{transform:translate(-50%,-50%) scale(.19);opacity:.85}100%{transform:translate(-50%,-50%) scale(1);opacity:.075}}
header,.intro,.gallery-layout{z-index:1}.skip{z-index:10}.visual,.inventory,.website,.haru,.luma,.figure{background:transparent}.inventory{padding:7%}.screen{box-shadow:none;transform:none}.visual:hover .screen{transform:none}.phone{box-shadow:0 14px 32px #1b29241a}.view{background:var(--paper)}
@media(max-width:800px){.background-mark{width:120vw;top:53%}}
@media(prefers-reduced-motion:reduce){.background-mark,.background-mark path,.background-mark circle{animation:none!important}.background-mark{opacity:.075}}
@media(prefers-reduced-motion:no-preference){header,.intro,.gallery-layout{animation:content-arrive .8s ease 1.9s both}@keyframes content-arrive{from{opacity:0}to{opacity:1}}}
/* A longer, eased opacity ramp lets projects dissolve gently at the edges. */
.projects{--edge-fade:clamp(90px,18vh,180px);-webkit-mask-image:linear-gradient(to bottom,transparent 0,rgba(0,0,0,.04) 2%,rgba(0,0,0,.22) 6%,rgba(0,0,0,.6) 12%,#000 var(--edge-fade),#000 calc(100% - var(--edge-fade)),rgba(0,0,0,.6) 88%,rgba(0,0,0,.22) 94%,rgba(0,0,0,.04) 98%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,rgba(0,0,0,.04) 2%,rgba(0,0,0,.22) 6%,rgba(0,0,0,.6) 12%,#000 var(--edge-fade),#000 calc(100% - var(--edge-fade)),rgba(0,0,0,.6) 88%,rgba(0,0,0,.22) 94%,rgba(0,0,0,.04) 98%,transparent 100%)}
.brand img{filter:none}
@media(max-width:800px){.projects{--edge-fade:clamp(55px,12vh,100px)}}
/* Keep the complete 16:9 image and its caption in the clear center of the rail. */
.projects{--edge-fade:clamp(42px,7vh,72px);-webkit-mask-image:linear-gradient(to bottom,transparent,rgba(0,0,0,.15) calc(var(--edge-fade) * .25),rgba(0,0,0,.65) calc(var(--edge-fade) * .65),#000 var(--edge-fade),#000 calc(100% - var(--edge-fade)),rgba(0,0,0,.65) calc(100% - var(--edge-fade) * .65),rgba(0,0,0,.15) calc(100% - var(--edge-fade) * .25),transparent);mask-image:linear-gradient(to bottom,transparent,rgba(0,0,0,.15) calc(var(--edge-fade) * .25),rgba(0,0,0,.65) calc(var(--edge-fade) * .65),#000 var(--edge-fade),#000 calc(100% - var(--edge-fade)),rgba(0,0,0,.65) calc(100% - var(--edge-fade) * .65),rgba(0,0,0,.15) calc(100% - var(--edge-fade) * .25),transparent)}
.project{align-self:center}.projects>.project{width:min(100%,max(280px,calc((100svh - 500px) * 1.7778)))}.visual{width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:16/9}.visual>img{object-fit:contain}.inventory{padding:0}.screen{height:100%;max-width:100%;display:flex;justify-content:center}.screen img{width:100%;height:100%;object-fit:contain}.phone,.luma-phone{height:90%;width:auto;max-height:none;aspect-ratio:9/19.5}.luma-phone iframe{transform-origin:top left}.caption{padding:16px 0 10px}.caption h2{margin:7px 0;font-size:clamp(23px,2.4vw,34px)}
@media(max-width:800px){.projects{--edge-fade:clamp(30px,5vh,48px)}.projects>.project{width:100%}.visual{height:auto;min-height:0;max-height:none;aspect-ratio:16/9}.phone,.luma-phone{height:90%;width:auto;aspect-ratio:9/19.5}.caption h2{font-size:25px}}
/* Desktop projects fill the widescreen viewport; phone projects retain their portrait screens. */
.inventory .screen{width:100%;height:100%;max-width:none;overflow:hidden}.inventory .screen img,.website>img,.figure>img{width:100%;height:100%;object-fit:cover}.inventory .screen img,.website>img{object-position:center top}.figure>img{object-position:center center}
/* The scroll control belongs to the outside edge, away from project imagery. */
.projects{scrollbar-width:none}.projects::-webkit-scrollbar{display:none}.outer-scroll{position:fixed;right:7px;top:22%;height:56%;width:16px;writing-mode:vertical-lr;direction:rtl;appearance:none;-webkit-appearance:none;background:transparent;z-index:6;margin:0;cursor:pointer}.outer-scroll::-webkit-slider-runnable-track{width:3px;background:#d9ddd7;border-radius:9px}.outer-scroll::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:9px;height:58px;border-radius:9px;background:#8e9b8c;margin-left:-3px}.outer-scroll::-moz-range-track{width:3px;background:#d9ddd7;border-radius:9px}.outer-scroll::-moz-range-thumb{width:9px;height:58px;border:0;border-radius:9px;background:#8e9b8c}@media(max-width:800px){.outer-scroll{right:1px;top:31%;height:55%;width:12px}}
/* The website is rendered at desktop proportions instead of cropping a tall image. */
.website-frame{width:100%;height:100%;overflow:hidden;position:relative;background:#111}.website-frame iframe{width:1440px;height:810px;border:0;position:absolute;top:0;left:0;transform-origin:top left;pointer-events:none}.projects>.cycle{width:100%;min-width:0;display:flex;flex-direction:column;align-items:center;gap:20vh;flex:none}.cycle>.project{width:min(100%,max(280px,calc((100svh - 500px) * 1.7778)));flex:none}@media(max-width:800px){.cycle{gap:90px!important}.cycle>.project{width:100%}}
.brand>span{white-space:nowrap;line-height:1}
/* Raise the upper fade boundary while keeping the resting project position. */
@media(min-width:801px){.gallery-layout{top:135px}.index{padding-top:106px}.note{padding-top:155px}.projects{--edge-fade:clamp(105px,15vh,152px)}}
/* Explain the studio alongside the work and conclude the finite portfolio with a clear introduction. */
.note{text-align:left;max-width:280px;justify-self:end}.note .note-title{display:block;font-family:inherit;font-style:normal;font-size:clamp(19px,1.55vw,25px);font-weight:700;line-height:1.35;letter-spacing:-.05em;color:#202620}.note .note-copy{margin:20px 0 25px;color:#656e65;font-size:13px;line-height:1.8}.note-services{margin:0 0 25px;padding:0;list-style:none;border-top:1px solid #d9ded7}.note-services li{padding:10px 0;border-bottom:1px solid #d9ded7;font-size:11px;color:#505950}.note>a{color:#566e58;letter-spacing:0;font-size:12px}.gallery-about{flex:none;align-self:center;width:min(100%,680px);padding:55px 6%;background:#e4ebe1;color:#1c261c}.gallery-about .gallery-kicker{font-size:10px;letter-spacing:.14em;color:#71816f}.gallery-about h2{font-size:clamp(32px,3vw,50px);line-height:1.2;letter-spacing:-.06em;margin:25px 0}.gallery-about p:not(.gallery-kicker){font-size:15px;line-height:1.8;color:#586459;max-width:500px}.gallery-about-links{display:flex;gap:25px;flex-wrap:wrap;margin-top:30px}.gallery-about-links a{font-size:13px;border-bottom:1px solid #819382;padding-bottom:5px}.intro p:last-child{max-width:390px;line-height:1.65}
@media(max-width:800px){.intro p:last-child{max-width:58%;font-size:11px}.gallery-about{padding:45px 7%}.gallery-about p:not(.gallery-kicker){font-size:14px}.gallery-about-links{gap:18px}}
.outer-scroll{direction:ltr}
.project-description{max-width:620px;margin:13px 0 0;padding:16px 0 0;border-top:1px solid #d8ddd6;font-size:13px;line-height:1.8;color:#626b62;word-break:keep-all}@media(max-width:800px){.project-description{font-size:12px;line-height:1.7}}
@media(min-width:801px){.projects>.project{width:min(100%,max(280px,calc((100svh - 600px) * 1.7778)))}}
/* Restore the supplied iPhone frame and let the work occupy more of the gallery. */
@media(min-width:801px){.projects>.project{width:min(100%,max(360px,calc((100svh - 480px) * 1.7778)))}}
.phone,.luma-phone{position:relative;height:100%;width:auto;max-height:none;aspect-ratio:1;border:0;border-radius:0;box-shadow:none;overflow:visible;background:url('../assets/mockups/iphone-reference.jpg') center/contain no-repeat}
.phone>img{position:absolute;left:31.25%;top:8.95%;width:37.8%;height:81.85%;object-fit:fill;border-radius:12% / 5.5%}.luma-phone iframe{position:absolute;left:31.25%;top:8.95%;border:0;border-radius:12% / 5.5%;overflow:hidden}.phone:after{content:"";position:absolute;left:45.3%;top:10.2%;width:9.4%;height:2.8%;border-radius:999px;background:radial-gradient(circle at 82% 50%,#1760a0 0 3%,#0a1720 4% 7%,#191919 8%);pointer-events:none}
.caption{align-items:flex-start;gap:16px}.caption>div{min-width:0;flex:1}.caption>span{flex:0 0 auto;max-width:38%}.caption h2{overflow-wrap:anywhere}.project-description{max-width:100%;overflow-wrap:anywhere;line-height:1.85}
@media(max-width:800px){.phone,.luma-phone{height:100%;width:auto;aspect-ratio:1}.caption>span{max-width:35%}.project-description{line-height:1.75}}
.phone,.luma-phone{height:114%}.projects{--bottom-fade:clamp(25px,4vh,42px);-webkit-mask-image:linear-gradient(to bottom,transparent,rgba(0,0,0,.15) calc(var(--edge-fade) * .25),rgba(0,0,0,.65) calc(var(--edge-fade) * .65),#000 var(--edge-fade),#000 calc(100% - var(--bottom-fade)),rgba(0,0,0,.4) calc(100% - var(--bottom-fade) * .35),transparent);mask-image:linear-gradient(to bottom,transparent,rgba(0,0,0,.15) calc(var(--edge-fade) * .25),rgba(0,0,0,.65) calc(var(--edge-fade) * .65),#000 var(--edge-fade),#000 calc(100% - var(--bottom-fade)),rgba(0,0,0,.4) calc(100% - var(--bottom-fade) * .35),transparent)}@media(max-width:800px){.phone,.luma-phone{height:114%}}
@media(min-width:801px){.gallery-layout{top:85px}.index{padding-top:156px}.note{padding-top:205px}}
.screen-reader-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
header{z-index:5}.intro{z-index:2}.gallery-layout{z-index:1}.projects:focus-visible{outline:2px solid #6377ed;outline-offset:-4px}
.system-visual .website-frame{background:#f4f5f8}

@media(max-width:400px){header .brand{font-size:17px;gap:6px}header .brand img{width:28px;height:28px}header nav{gap:10px;font-size:11px;white-space:nowrap}.gallery-layout{top:200px}}
.index nav .category-label{display:block;color:#69776c;font-size:9px;font-weight:700;letter-spacing:.08em;margin-top:8px}.index nav .category-label:first-child{margin-top:0}@media(max-width:800px){.index nav .category-label{flex:none;align-self:center;margin:0;padding:4px 8px;border-radius:3px;background:#e3e9e1;color:#506256}.index nav{gap:14px}}
@media(min-width:801px){.index nav{gap:8px;margin-top:20px;margin-bottom:28px}.index nav .category-label{margin-top:4px}}

/* The outer portfolio scrolls; embedded previews remain at their opening screens. */
.website-frame iframe,.luma-phone iframe{pointer-events:none;overflow:hidden}
/* Keep the full project index reachable on short desktop windows. */
@media(min-width:801px){.index{height:100%;min-height:0;display:flex;flex-direction:column;align-self:stretch;padding-top:clamp(60px,16vh,156px);padding-bottom:20px}.index>p,.index>span{flex:none}.index nav{flex:0 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b7bfb6 transparent;padding:0 10px 8px 0;margin-bottom:18px}.index nav::-webkit-scrollbar{width:4px}.index nav::-webkit-scrollbar-thumb{background:#b7bfb6;border-radius:4px}}
@media(min-width:801px) and (max-height:600px){.index{padding-top:clamp(45px,12vh,72px)}.index>span{display:none}.index nav{margin-top:14px}}
@media(min-width:801px) and (max-height:600px){.index{padding-top:clamp(75px,15vh,96px)}}
/* The selected project grows in the index and shifts the following items. */
.index nav a{font-size:11px;line-height:1.35;transition:color .25s ease;font-weight:500}.index nav a.active{font-size:15px;font-weight:800;color:#1d251f}@media(max-width:800px){.index nav a{flex:none;font-size:11px}.index nav a.active{font-size:14px}}@media(prefers-reduced-motion:reduce){.index nav a{transition:none}}
@media(max-width:800px){.index{width:100%;min-width:0}.index nav{width:100%;max-width:100%;min-width:0}}
@media(max-width:800px){.index nav{scrollbar-width:none}.index nav::-webkit-scrollbar{display:none}}
