body{margin:0;background:#FFFFFF;color:#111113;font-family:'Manrope',system-ui,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
.ink{font-family:'Inter',system-ui,sans-serif}
.hl{color:inherit}
.pagebg{position:sticky;top:0;height:0;z-index:0}
.pagebg i{display:block;height:100vh;background-color:#FFFFFF}
.fadewrap{color:#111113}
.skip{position:absolute;left:-9999px;top:8px;background:#111113;color:#FFFFFF;padding:12px 18px;border-radius:6px;z-index:100;font-weight:600}
.skip:focus{left:16px}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid #111113;outline-offset:4px;border-radius:4px}
.dark a:focus-visible,.dark summary:focus-visible{outline-color:#FFFFFF}

/* text roll */
.roll{display:inline-block;position:relative;overflow:hidden;vertical-align:top;white-space:nowrap}
.roll>span{display:block;transition:transform .55s cubic-bezier(.76,0,.24,1)}
.roll>span+span{position:absolute;left:0;top:100%;width:100%}
.hov:hover .roll>span,.roll:hover>span,a:hover>.roll>span{transform:translateY(-100%)}

/* buttons: rounded rectangles, as on the reference */
.btn{display:inline-flex;align-items:center;gap:12px;padding:15px 26px;border-radius:6px;font-family:'Inter',system-ui,sans-serif;font-size:18px;font-weight:400;line-height:1;transition:background .3s,color .3s,border-color .3s}
.btn-line{border:1px solid rgba(255,255,255,.9);color:#FFFFFF}
.btn-line:hover{background:#FFFFFF;color:#0A0A0B}
.btn-dark{background:#17171C;color:#FFFFFF}
.btn-dark:hover{background:#3A3A42}
.btn-light{background:#F2F2F5;color:#17171C}
.btn-light:hover{background:#FFFFFF}
.arr{display:inline-block;transition:transform .45s cubic-bezier(.16,1,.3,1)}
.btn:hover .arr,.hov:hover .arr{transform:translateX(5px)}

/* floating nav bar */
.barwrap{position:sticky;top:20px;z-index:60;height:0;display:flex;justify-content:center;pointer-events:none}
.bar{pointer-events:auto;display:flex;flex-wrap:wrap;align-items:center;gap:4px;padding:8px 8px 8px 30px;border-radius:999px;background:rgba(244,244,247,.84);backdrop-filter:blur(16px) saturate(1.4);color:#17171C;box-sizing:border-box;min-height:58px}
.bar .nm{font-family:'Inter',system-ui,sans-serif;font-weight:600;font-size:19px;letter-spacing:-.01em;margin-right:14px;color:inherit}
.bar .nv{padding:10px 14px;font-size:17px;font-weight:400;color:inherit}
@supports (animation-timeline:scroll()){
@keyframes barin{from{opacity:0;transform:translateY(-14px)}to{opacity:1;transform:none}}
@keyframes barflip{from{background-color:rgba(32,32,38,.66);color:#F2F2F5}to{background-color:rgba(244,244,247,.84);color:#17171C}}
@keyframes bgfade{from{background-color:#0A0A0B}to{background-color:#FFFFFF}}
@keyframes txtfade{0%,49%{color:#FFFFFF}51%,100%{color:#111113}}
.pagebg i{animation:bgfade linear both;animation-timeline:--band;animation-range:cover 40% cover 84%}
.fadewrap,.fadewrap .hl,.fadetxt{animation:txtfade linear both;animation-timeline:--band;animation-range:cover 40% cover 84%}
@keyframes ctaflip{from{background:#F2F2F5;color:#17171C}to{background:#17171C;color:#FFFFFF}}
.bar-late{animation:barin linear both,barflip linear both;animation-timeline:scroll(root),--band;animation-range:560px 720px,cover 55% cover 69%}
.bar-late .cta{animation:ctaflip linear both;animation-timeline:--band;animation-range:cover 55% cover 69%}
}

/* guide lines */
.lines{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:1;background:linear-gradient(rgba(128,128,128,.12),rgba(128,128,128,.12)) 15.7% 0/1px 100% no-repeat,linear-gradient(rgba(128,128,128,.12),rgba(128,128,128,.12)) 32.9% 0/1px 100% no-repeat,linear-gradient(rgba(128,128,128,.12),rgba(128,128,128,.12)) 50% 0/1px 100% no-repeat,linear-gradient(rgba(128,128,128,.12),rgba(128,128,128,.12)) 67.2% 0/1px 100% no-repeat,linear-gradient(rgba(128,128,128,.12),rgba(128,128,128,.12)) 84.3% 0/1px 100% no-repeat}

/* load-in */
@keyframes rise{from{transform:translateY(108%)}to{transform:none}}
.mask{display:block;overflow:hidden;padding-bottom:.12em;margin-bottom:-.12em}
.rise{display:block;animation:rise 1.2s cubic-bezier(.16,1,.3,1) both;animation-delay:var(--d,0s)}
@keyframes fadeup{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
.fade{animation:fadeup .9s cubic-bezier(.16,1,.3,1) both;animation-delay:var(--d,.6s)}

/* scroll-driven: reveal + image width expands as it enters (Chromium/Safari 26); static elsewhere */
@supports (animation-timeline:view()){
@keyframes reveal{from{opacity:0;transform:translateY(56px)}to{opacity:1;transform:none}}
.reveal{animation:reveal linear both;animation-timeline:view();animation-range:entry 0% entry 42%}
@keyframes expand{from{clip-path:inset(0 10% 0 10%)}to{clip-path:inset(0 0 0 0)}}
.expand{animation:expand linear both;animation-timeline:view();animation-range:entry 0% cover 38%}
}

/* fluted glass (monochrome) */
.glass{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;background:#0A0A0B}
.st{position:absolute;display:block;border-radius:50%;top:-20%;height:145%;filter:blur(36px);will-change:transform}
@keyframes swA{from{transform:translateX(-45%) scaleY(1)}to{transform:translateX(55%) scaleY(1.15)}}
@keyframes swB{from{transform:translateX(50%) scaleY(1.1)}to{transform:translateX(-40%) scaleY(.95)}}
.s1{left:-4%;width:12%;background:#F2F2F2;opacity:.9;animation:swA 19s ease-in-out infinite alternate}
.s2{left:10%;width:7%;background:#7A7A7A;animation:swB 23s ease-in-out infinite alternate}
.s3{left:23%;width:15%;background:#D9D9D9;opacity:.55;animation:swA 27s ease-in-out infinite alternate -6s}
.s4{left:41%;width:8%;background:#FFFFFF;opacity:.95;animation:swB 17s ease-in-out infinite alternate -3s}
.s5{left:54%;width:14%;background:#5C5C5C;animation:swA 31s ease-in-out infinite alternate -11s}
.s6{left:68%;width:7%;background:#FFFFFF;opacity:.9;animation:swB 21s ease-in-out infinite alternate -8s}
.s7{left:79%;width:12%;background:#BFBFBF;opacity:.8;animation:swA 25s ease-in-out infinite alternate -14s}
.s8{left:91%;width:9%;background:#8A8A8A;animation:swB 29s ease-in-out infinite alternate -2s}
.glass::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:repeating-linear-gradient(90deg,rgba(10,10,11,.6) 0,rgba(10,10,11,.6) 2px,rgba(255,255,255,.07) 2px,rgba(255,255,255,.07) 5px,rgba(10,10,11,0) 5px,rgba(10,10,11,0) 22px,rgba(10,10,11,.42) 22px,rgba(10,10,11,.42) 30px);backdrop-filter:blur(3px) saturate(1.3)}
.vig{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(to top,rgba(10,10,11,.92),rgba(10,10,11,0) 40%),linear-gradient(to bottom,rgba(10,10,11,.55),rgba(10,10,11,0) 24%)}

/* faq */
details{border-top:1px solid #E4E4E8}
details:last-of-type{border-bottom:1px solid #E4E4E8}
summary{cursor:pointer;list-style:none;padding:28px 0;font-family:'Inter',system-ui,sans-serif;font-weight:400;font-size:clamp(22px,2vw,30px);letter-spacing:-.02em;display:flex;justify-content:space-between;gap:24px}
summary::-webkit-details-marker{display:none}
summary::after{content:'+';font-size:30px;line-height:1;transition:transform .4s}
details[open] summary::after{transform:rotate(45deg)}

@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* phone layout */
.board-m{display:none}
.gal{display:flex;gap:24px;margin-bottom:24px}
.gi{min-width:0}
.gi img{border-radius:14px}
@media (max-width:760px){
.board-d{display:none!important}
.board-m{display:block!important}
.barwrap{top:12px}
.bar{padding:6px 6px 6px 18px;gap:0;max-width:calc(100% - 16px)}
.bar .nm{font-size:16px;margin-right:6px}
.bar .nv{padding:10px 8px;font-size:15px}
.bar .cta{padding:12px 18px!important;font-size:15px!important;margin-left:2px!important}
.hero{min-height:720px!important}
.hero-name{padding-top:150px!important}
.hero-note{align-self:stretch!important;width:auto!important;min-width:0!important;margin-bottom:56px!important}
.sec-intro{padding-top:120px!important}
.portrait{flex:0 0 100%!important;width:100%!important;min-width:0!important}
.sec-what{padding-top:120px!important}
.work-h{margin-bottom:56px!important}
.proj{margin-bottom:72px!important}
.proj-meta{padding:28px 24px 0!important}
.proj .btn{padding:14px 18px!important;font-size:16px!important}
.contact-in{padding-top:96px!important}
.foot-row{margin-top:72px!important}
.w-top{padding-top:130px!important}
.w-brief{padding-top:100px!important}
.w-board{padding-top:64px!important}
.nx p.ink{font-size:clamp(34px,10vw,48px)!important;line-height:1.05!important}
.nx .roll{white-space:normal}
.nx .roll>span+span{display:none}
.gal{flex-direction:column;gap:12px;margin-bottom:12px}
.gi{flex:none!important}
.gi img{border-radius:10px}
}

/* hero background loop */
.hero{background-image:url(../assets/img/hero-poster.jpg);background-size:cover;background-position:center}
.hbg{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:60% 50%;z-index:0;pointer-events:none;background:#0A0A0B}
.hshade{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none;background:linear-gradient(to bottom,rgba(10,10,11,.62),rgba(10,10,11,.4) 45%,rgba(10,10,11,.62))}
@media (prefers-reduced-motion:reduce){.hbg{display:none}}

/* pinned hero video */
.vidbg{display:none}
@supports (animation-timeline:scroll()){
@keyframes vfade{from{opacity:1}to{opacity:0}}
.vidbg{display:block;position:sticky;top:0;height:0;z-index:0;pointer-events:none}
.vbox{position:relative;height:100vh;overflow:hidden;background:#0A0A0B url(../assets/img/hero-poster.jpg) center/cover no-repeat;animation:vfade linear both;animation-timeline:--band;animation-range:cover 40% cover 84%}
.hero>.hbg,.hero>.hshade{display:none}
.hero{background:transparent!important}
}

/* media scales to fit its container */
img,video,iframe,embed,object{max-width:100%}
iframe,embed,object{border:0}

/* menu toggle: hidden on desktop, where the links sit in the bar as before */
.bar{position:relative}
.bar-links{display:contents}
.menu-btn{display:none}

@media (max-width:760px){
/* no sideways scroll */
html,body{overflow-x:clip}
h1,h2,h3,p{overflow-wrap:break-word}
.mask{max-width:100%}

/* collapsed navigation */
.hero-nav{display:none!important}
.bar .nm{display:inline-flex;align-items:center;min-height:44px;font-size:17px}
.menu-btn{display:inline-flex;align-items:center;gap:10px;min-height:44px;min-width:44px;margin-left:auto;padding:0 18px;border:0;border-radius:999px;background:#17171C;color:#FFFFFF;font:400 16px/1 'Inter',system-ui,sans-serif;cursor:pointer;-webkit-tap-highlight-color:transparent}
.menu-ic{position:relative;display:inline-block;width:16px;height:10px}
.menu-ic i{position:absolute;left:0;right:0;height:1.5px;background:currentColor;border-radius:2px;transition:transform .3s,top .3s}
.menu-ic i:first-child{top:0}
.menu-ic i:last-child{top:8.5px}
.bar.open .menu-ic i:first-child{top:4.25px;transform:rotate(45deg)}
.bar.open .menu-ic i:last-child{top:4.25px;transform:rotate(-45deg)}
.bar{gap:8px;flex-wrap:nowrap;width:calc(100% - 24px);max-width:440px;padding:6px 6px 6px 22px}
.bar-links{display:none;position:absolute;top:calc(100% + 8px);left:0;right:0;flex-direction:column;align-items:stretch;gap:6px;padding:10px;border-radius:24px;background:#F4F4F7;color:#17171C;box-shadow:0 12px 40px rgba(10,10,11,.22)}
.bar.open .bar-links{display:flex}
.bar .bar-links .nv{display:flex;align-items:center;min-height:48px;padding:0 16px!important;font-size:18px;border-radius:14px}
.bar .bar-links .cta{justify-content:center;min-height:52px;margin:0!important;padding:0 22px!important;font-size:18px!important;animation:none!important;background:#17171C;color:#FFFFFF}
/* on the home page the bar is the only navigation on phones, so show it from the top */
@supports (animation-timeline:scroll()){
.bar-late{animation:barflip linear both;animation-timeline:--band;animation-range:cover 55% cover 69%}
.bar-late .menu-btn{animation:ctaflip linear both;animation-timeline:--band;animation-range:cover 55% cover 69%}
}

/* readable text and comfortable tap targets */
.w-top .fade{font-size:16px!important}
.w-top .fade a{display:inline-flex;align-items:center;min-height:44px}
.w-top .fade span{display:inline-flex;align-items:center;min-height:44px}
.nx p:not(.ink),.nf-code{font-size:16px!important}
.foot-row a{display:inline-flex!important;align-items:center;min-height:44px;padding:0!important}
.foot-row{font-size:16px!important}
}

@media (max-width:480px){
.w-top h1{font-size:clamp(38px,11.5vw,52px)!important}
}
@media (max-width:400px){
.hero-name h1,.work-h{font-size:clamp(56px,19vw,76px)!important}
}
