:root{color-scheme:dark;--void:#000;--chalk:#f1f0eb;--stone:#9b9a95;--joint:#ffffff30;font-family:Avenir,"Helvetica Neue","PingFang TC","Noto Sans TC",sans-serif;color:var(--chalk);background:var(--void);font-weight:300;font-synthesis:none;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}html,body{margin:0;overscroll-behavior-y:none}html{scrollbar-width:none}html::-webkit-scrollbar{display:none}body{min-width:320px}body.is-entering{overflow:hidden}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;border:0;background:none;cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:1px solid white;outline-offset:6px}[hidden]{display:none!important}
.site-header{position:fixed;inset:0 0 auto;height:100px;padding:0 3.2vw;display:flex;align-items:center;justify-content:space-between;z-index:20;mix-blend-mode:difference;pointer-events:none}.site-header>*{pointer-events:auto}.main-nav{display:flex;gap:30px;align-items:center;font-size:10px;letter-spacing:1px}.main-nav button{padding:14px 0;font-size:10px;letter-spacing:1px}
#film-scroll{height:360svh}.film-stage{position:fixed;inset:0;z-index:5;pointer-events:none}.film-stage canvas,.film-stage img{position:absolute;inset:0;width:100%;height:100%;display:block}.film-stage img{object-fit:cover}.film-stage canvas{visibility:hidden}body.canvas-ready .film-stage canvas{visibility:visible}body.canvas-ready .film-stage img{display:none}.decode-video{position:fixed;top:-4px;left:-4px;width:1px;height:1px;opacity:0;pointer-events:none}
.opening-copy{position:fixed;z-index:6;top:15vh;left:6.2vw;pointer-events:none}.eyebrow{font-size:9px;letter-spacing:1.9px;line-height:1.7;margin:0 0 25px;color:var(--stone)}.studio-name{font-size:13px;letter-spacing:4px;margin:0 0 18px}.opening-copy h1{font-size:clamp(30px,3.3vw,49px);line-height:1.2;letter-spacing:3px;font-weight:300;margin:0}.opening-copy h1 br{display:none}.opening-copy .eyebrow{margin-bottom:15px}.opening-copy .studio-name{margin-bottom:12px}.opening-en{font-size:12px;color:var(--stone);margin-top:14px;letter-spacing:.5px}
.material-labels{position:fixed;inset:0;z-index:6;pointer-events:none;font-size:11px;letter-spacing:1px}.material-labels p{position:absolute;display:grid;gap:8px;margin:0}.material-labels span{font-size:8px;letter-spacing:1.2px;color:#aaa}.material-labels i{display:block;height:1px;width:64px;background:#ffffff65;position:relative;margin-top:5px}.material-labels i::after{content:"";position:absolute;right:0;top:-2px;width:5px;height:5px;border:1px solid #fff;border-radius:50%}.wall-label{left:73%;top:44%}.floor-label{left:67%;top:76%}
.home-copy{position:fixed;z-index:7;left:5vw;bottom:125px;max-width:360px}.home-copy .eyebrow{color:#eeeee6;margin-bottom:15px;text-shadow:0 1px 6px #000}.home-copy h2{font-size:clamp(49px,5vw,80px);line-height:1;letter-spacing:-2px;font-weight:300;margin:0 0 30px;text-shadow:0 1px 16px #0006}.home-copy h2 span{display:block;font-size:18px;letter-spacing:3px;margin-top:16px}.enter-space{display:grid;grid-template-columns:1fr auto;gap:7px 32px;text-align:left;background:#000b;border:1px solid #ffffff70;padding:18px 22px;min-width:210px}.enter-space>span{font-size:14px;letter-spacing:2px}.enter-space small{grid-column:1;font-size:8px;letter-spacing:1.5px;color:#bbb}.enter-space i{grid-column:2;grid-row:1/3;align-self:center;font-size:27px;font-style:normal;transition:transform .25s}.enter-space:hover i{transform:translate(3px,-3px)}.enter-space:disabled{opacity:.6;cursor:wait}.entry-message{font-size:10px;line-height:1.8;max-width:280px}.entry-controls{position:fixed;inset:auto 3.2vw 94px;z-index:8;display:flex;justify-content:space-between;font-size:10px;letter-spacing:1px}.entry-controls button{padding:12px;background:#0009}
.film-footer{position:fixed;inset:auto 0 0;display:flex;align-items:center;gap:24px;padding:24px 3.2vw max(24px,env(safe-area-inset-bottom));z-index:20;mix-blend-mode:difference;font-size:9px;letter-spacing:.7px}.film-footer button{padding:10px 0;font-size:10px}.film-footer #replay-film{margin-left:auto}.scroll-arrow{display:inline-block;margin-left:18px;animation:scroll-hint 2.4s ease-in-out infinite}.film-progress{height:1px;width:110px;background:#ffffff40}.film-progress span{display:block;height:100%;width:100%;background:white;transform:scaleX(0);transform-origin:left}.phase-count{color:#a8a8a3;font-size:8px}.film-status{position:fixed;bottom:96px;right:3.2vw;z-index:30;max-width:330px;margin:0;font-size:11px;line-height:1.8;background:#000b;padding:12px 16px}.film-status:empty{display:none}
#gallery{visibility:hidden;opacity:1;background:#000;z-index:4}#gallery.is-visible{visibility:visible}#gallery .photo-frame{background:#000}body[data-phase=gallery] .film-stage{visibility:hidden}.photo-outgoing{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
@keyframes scroll-hint{0%,100%{transform:translateY(0)}50%{transform:translateY(5px)}}
@media(max-width:760px){.site-header{height:80px;padding:0 20px}.main-nav{gap:15px;font-size:8px}.main-nav button{font-size:8px}.brand-lockup .brand-lockup__wordmark{width:112px}.brand-lockup img.brand-lockup__symbol{width:23px}.opening-copy{top:16vh;left:24px}.opening-copy .eyebrow{font-size:7px;letter-spacing:1px;margin-bottom:23px}.studio-name{font-size:11px;margin-bottom:13px}.opening-copy h1{font-size:31px;line-height:1.48;letter-spacing:2px}.opening-copy h1 br{display:none}.opening-en{font-size:10px;margin-top:12px}.material-labels{font-size:9px}.material-labels span{font-size:6px}.wall-label{left:64%;top:65%}.floor-label{left:8%;top:70%}.material-labels i{width:35px}.home-copy{left:24px;bottom:122px}.home-copy h2{font-size:52px;margin-bottom:24px}.home-copy h2 span{font-size:16px}.home-copy .eyebrow{font-size:8px}.enter-space{min-width:190px;padding:15px 18px}.film-footer{padding:18px 20px max(18px,env(safe-area-inset-bottom));gap:14px}.film-footer button{font-size:9px}.film-footer #replay-film{font-size:8px}.film-progress{width:38px}.phase-count{display:none}.scroll-arrow{margin-left:10px}.entry-controls{left:24px;right:24px;bottom:88px;font-size:8px}.film-status{right:20px;left:20px;bottom:80px;max-width:none;font-size:10px}.gallery #portfolio-image{object-fit:cover}}
@media(max-width:760px) and (max-height:650px){.opening-copy{top:17vh}.opening-copy h1{font-size:25px}.opening-copy .eyebrow{margin-bottom:12px}.opening-en{margin-top:8px}.material-labels{display:none}.home-copy{bottom:98px}.home-copy h2{font-size:43px}}
@media(prefers-reduced-motion:reduce){.scroll-arrow{animation:none}.enter-space i{transition:none}}

/* The opening uses the client's original wordmark and the film. */
body[data-phase="shell"] .site-header,body[data-phase="shell"] .film-footer,body[data-phase="assembly"] .site-header,body[data-phase="assembly"] .film-footer{visibility:hidden;pointer-events:none}
.opening-copy h1{white-space:nowrap}

.opening-copy{inset:50% auto auto 50%;transform:translate(-50%,-50%);width:clamp(220px,34vw,440px);max-width:calc(100% - 40px);text-align:center;color:#fff;mix-blend-mode:difference;opacity:1;transition:opacity .24s ease-out}
.opening-copy h1{display:block;font:inherit;line-height:0;letter-spacing:normal;margin:0}
/* Same source viewport as the existing header and material intro. Uniform
   scaling preserves every letter's shape, relative size and original spacing. */
.opening-wordmark{display:block;width:100%;height:auto;aspect-ratio:1656/177;overflow:hidden}
.opening-copy.is-moving{opacity:0}
body[data-phase=gallery] .film-stage{display:none}
@media(prefers-reduced-motion:reduce){.opening-copy{transition:none}}

.opening-copy{width:min(58.8vw,784px);max-width:calc(100% - 40px)} /* v6.21: 70% of v6.20 min(84vw,1120px) */
.opening-scroll{position:fixed;z-index:7;bottom:max(8svh,45px);left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:18px;padding:15px 24px;color:#aaa;white-space:nowrap;font-size:10px;letter-spacing:2px;transition:opacity .25s}
.opening-scroll small{display:block;margin-top:8px;font-size:7px;letter-spacing:2px;color:#777}
#opening-scroll .scroll-track{width:5px;height:5px;border-radius:50%;background:currentColor}
#opening-scroll .scroll-track::before,#opening-scroll .scroll-track i{display:none}
body:not([data-phase=shell]) .opening-scroll,html.material-intro-active .opening-scroll{visibility:hidden;pointer-events:none}
.enter-space .enter-dot{width:6px;height:6px;border-radius:50%;background:white}.enter-space:hover .enter-dot{transform:scale(1.3)}.footer-dot{display:inline-block;width:4px;height:4px;border-radius:50%;background:white;margin-left:18px}
@media(prefers-reduced-motion:reduce){.opening-scroll{transition:none}}

/* Native hardware video keeps the registered framing without a full canvas upload per frame. */
.decode-video.entry-surface{top:0;left:0;z-index:6;opacity:0;object-fit:fill;transform-origin:0 0;will-change:transform;max-width:none;max-height:none}
.decode-video.entry-surface[data-frame-ready="1"]{opacity:1}

/* A single opaque opening exists before any module or scene can paint. */
.opening-scroll:disabled{pointer-events:none}
@media(hover:hover){.main-nav a,.main-nav button{transition:opacity .3s ease}.main-nav a:hover,.main-nav button:hover{opacity:.65}.enter-space{transition:background-color .3s,border-color .3s}.enter-space:hover{background:#000d;border-color:#fff}}

/* The final facade has one explicit entrance, positioned over the glazing. */
.home-copy{inset:0;max-width:none;pointer-events:none}
.home-project{position:absolute;left:5vw;bottom:128px}
.home-project h2{margin-bottom:0}
.home-entry{position:absolute;left:50%;top:auto;bottom:120px;transform:translateX(-50%);pointer-events:auto}
.enter-space{display:flex;align-items:center;justify-content:center;gap:18px;min-width:252px;padding:18px 24px;border:1px solid #ffffff90;background:#000b;text-align:left;transition:background-color .25s,border-color .25s}
.enter-icon{display:block;width:40px;height:40px;flex:none}
.enter-icon circle{fill:none;stroke:currentColor;stroke-width:1}
.enter-icon path{fill:currentColor;stroke:none}
.enter-space>span{font-size:15px;letter-spacing:2px;line-height:1.5}
.enter-space small{display:block;margin-top:6px;font-size:8px;letter-spacing:1.8px;color:#ccc}
.home-entry .entry-message{position:absolute;left:0;right:0;top:100%;text-align:center;font-size:11px;line-height:1.7;max-width:none}
.enter-space:focus-visible{outline:2px solid white;outline-offset:6px}
@media(hover:hover){.enter-space:hover{background:#000e;border-color:#fff}}
@media(max-width:760px){.home-copy{inset:auto 24px 122px}.home-project{position:static}.home-project h2{margin-bottom:26px}.home-entry{position:relative;left:auto;top:auto;bottom:auto;transform:none;width:max-content;margin-inline:auto}.enter-space{min-width:232px;padding:14px 20px;gap:16px}.enter-space>span{font-size:14px}.enter-icon{width:34px;height:34px}.home-entry .entry-message{position:static;text-align:left;margin-bottom:0}.entry-message:empty{display:none}}
@media(max-width:760px) and (max-height:650px){.home-copy{bottom:98px}.home-project h2{margin-bottom:18px}}

/* Clear relief: the photograph remains visible through the face, text and symbol. */
.enter-space{position:relative;isolation:isolate;overflow:visible;justify-content:space-between;min-width:284px;padding:21px 25px;gap:34px;border:1px solid #ffffff16;border-top-color:#ffffff45;border-left-color:#ffffff30;border-radius:2px;background:#ffffff06;color:#ffffffc9;box-shadow:inset 0 1px 1px #ffffff20,inset 0 -1px 1px #0008,0 2px 3px #0003;backdrop-filter:none;transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s ease,background-color .3s ease}
.enter-space::before{content:none}
.enter-space>.enter-label{font-size:14px;font-weight:400;letter-spacing:1.5px;text-shadow:-.5px -.5px 0 #ffffff70,1px 1px 2px #000e}
.enter-space small{font-size:8px;letter-spacing:1.65px;color:#ffffffb5;text-shadow:0 1px 2px #000f}
.enter-space>.enter-relief{display:block;position:relative;width:44px;height:auto;aspect-ratio:314/266;flex:none;overflow:visible;filter:none}
.enter-space:active{transform:translateY(1px);box-shadow:inset 0 2px 4px #0005,inset 0 -1px 1px #ffffff30}
.enter-space:disabled{opacity:1;cursor:wait}
@media(hover:hover){.enter-space:hover{background:#ffffff0d;border-color:#ffffff40;box-shadow:inset 0 1px 2px #ffffff40,inset 0 -1px 1px #0007,0 3px 6px #0004;transform:translateY(-1px)}.enter-space:active:hover{transform:translateY(1px)}}
@media(max-width:760px){.enter-space{min-width:264px;padding:18px 23px;gap:28px}.enter-space>.enter-relief{width:40px}}
@media(prefers-reduced-motion:reduce){.enter-space{transition:none}.enter-space:hover,.enter-space:active{transform:none}}

/* Local entry studies: a transparent invitation within the existing facade. */
body[data-entry-style] .enter-space{--entry-light:#f1f0eb;display:flex;position:relative;align-items:center;justify-content:center;flex-direction:column;gap:0;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none;color:var(--entry-light);text-align:center;isolation:auto;transition:opacity .24s ease;transform:none}
body[data-entry-style] .enter-space:hover,body[data-entry-style] .enter-space:active{background:none;border-color:transparent;box-shadow:none;transform:none}
body[data-entry-style] .enter-space>span{font-weight:300;line-height:1.2;text-shadow:none}
body[data-entry-style] .enter-space:focus-visible{outline:1px solid var(--entry-light);outline-offset:12px}
body[data-entry-style] .enter-space:disabled{cursor:wait;opacity:.6}
body[data-entry-style] .home-entry .entry-message{margin-top:18px}
/* A — typography is the invitation; no plate separates it from the photograph. */
body[data-entry-style=type] .enter-space{width:260px;height:88px;mix-blend-mode:difference}
body[data-entry-style=type] .enter-space>.entry-type-title{font-size:25px;font-weight:400;letter-spacing:2.6px;transition:transform .45s cubic-bezier(.2,.7,.2,1)}
body[data-entry-style=type] .entry-type-rule{display:block;width:54px;height:1px;margin:14px 0 12px;background:currentColor;opacity:.72;transition:transform .45s cubic-bezier(.2,.7,.2,1),opacity .3s}
body[data-entry-style=type] .enter-space>.entry-type-caption{font-size:10px;letter-spacing:2px}
@media(hover:hover){body[data-entry-style=type] .enter-space:hover .entry-type-rule{transform:scaleX(1.7);opacity:1}body[data-entry-style=type] .enter-space:hover .entry-type-title{transform:translateY(-2px)}}
/* B — an open lens, with a small break in the ring to suggest passage. */
body[data-entry-style=orbit] .enter-space{width:118px;height:118px;gap:11px;mix-blend-mode:difference}
.entry-orbit{position:absolute;inset:0;width:100%;height:100%;overflow:visible;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.entry-orbit circle{fill:none;stroke:currentColor;stroke-width:.65;stroke-dasharray:164 15;transform:rotate(-20deg);transform-origin:center;opacity:.8}
body[data-entry-style=orbit] .enter-space>.entry-orbit-title{font-size:16px;letter-spacing:3px;padding-left:3px}
body[data-entry-style=orbit] .enter-space>.entry-orbit-caption{font-size:9px;letter-spacing:1.8px}
@media(hover:hover){body[data-entry-style=orbit] .enter-space:hover .entry-orbit{transform:rotate(12deg) scale(1.07)}}
/* C — a fragment of an architectural viewfinder, with the photograph inside it. */
body[data-entry-style=frame] .enter-space{width:230px;height:96px;gap:13px;mix-blend-mode:difference}
.entry-frame-corners{position:absolute;inset:0;pointer-events:none;transition:transform .45s cubic-bezier(.2,.7,.2,1)}
.entry-frame-corners i{position:absolute;display:block;width:18px;height:18px;border:solid currentColor;border-width:0;opacity:.8;transform:none!important}
.entry-frame-corners i:nth-child(1){top:0;left:0;border-top-width:1px;border-left-width:1px}
.entry-frame-corners i:nth-child(2){top:0;right:0;border-top-width:1px;border-right-width:1px}
.entry-frame-corners i:nth-child(3){bottom:0;left:0;border-bottom-width:1px;border-left-width:1px}
.entry-frame-corners i:nth-child(4){bottom:0;right:0;border-bottom-width:1px;border-right-width:1px}
body[data-entry-style=frame] .enter-space>.entry-frame-title{font-size:15px;letter-spacing:4px;padding-left:4px}
body[data-entry-style=frame] .enter-space>.entry-frame-caption{font-size:9px;letter-spacing:2px;padding-left:2px}
@media(hover:hover){body[data-entry-style=frame] .enter-space:hover .entry-frame-corners{transform:scale(.94)}}
@media(max-width:760px){body[data-entry-style=type] .enter-space{width:248px;height:86px}body[data-entry-style=type] .enter-space>.entry-type-title{font-size:23px}body[data-entry-style=orbit] .enter-space{width:112px;height:112px}body[data-entry-style=frame] .enter-space{width:224px;height:90px}body[data-entry-style] .home-project h2{margin-bottom:30px}}
@media(prefers-reduced-motion:reduce){body[data-entry-style] .enter-space,body[data-entry-style] .enter-space *{transition:none!important}}

/* Stable native-sized video surfaces; never stretch a portrait video box on iOS. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media(max-width:760px){.main-nav a,.main-nav button{display:inline-flex;align-items:center;min-height:44px;padding-block:0}}
.film-stage{bottom:auto;height:var(--viewport-height,100dvh)}
#assembly-video{position:absolute;left:0;top:0;width:1920px;height:1080px;max-width:none;max-height:none;transform-origin:0 0;opacity:0;pointer-events:none;will-change:transform;backface-visibility:hidden}
#assembly-video[data-frame-ready="1"]{opacity:1}
body[data-assembly-mode="native"]{overflow:hidden}
@media(max-width:760px){
  .site-header{height:66px;padding-inline:20px;gap:14px;mix-blend-mode:normal;text-shadow:0 1px 8px #0008}
  .site-header .brand-lockup{gap:8px}
  .site-header .brand-lockup__wordmark{width:108px}
  .site-header .brand-lockup__symbol{width:22px}
  .main-nav{gap:15px;white-space:nowrap;letter-spacing:.6px}
  .opening-copy{top:calc(var(--viewport-height,100svh)*.5)}
  .opening-scroll{bottom:max(28px,calc(var(--viewport-height,100svh)*.075))}
  .home-copy{inset:0;height:var(--viewport-height,100svh)}
  .home-project{position:absolute;left:22px;bottom:126px}
  .home-project .eyebrow{margin-bottom:10px}
  .home-project h2{font-size:42px;margin:0}
  .home-project h2 span{font-size:13px;margin-top:9px}
  .home-entry{position:absolute;left:50%;bottom:max(28px,env(safe-area-inset-bottom));transform:translateX(-50%);margin:0}
  .entry-controls{bottom:24px}
  .film-footer{display:none}
}

/* A quiet closing note beneath the entrance, with its full layout reserved. */
.home-bottom{position:absolute;left:50%;bottom:max(28px,env(safe-area-inset-bottom));width:min(720px,calc(100% - 48px));transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:22px}
.home-bottom .home-entry{position:relative;left:auto;bottom:auto;transform:none;margin:0}
.home-statement{width:100%;text-align:center;color:#e0d3c1;font-size:10px;font-weight:300;line-height:1.5;letter-spacing:.15px;text-shadow:0 1px 4px #000,0 0 12px #0008}
.home-statement p{margin:0}
.home-statement p:last-child{margin-top:10px}
.home-statement__name{letter-spacing:.65px}
.home-statement .statement-char{opacity:0}
.home-statement:not([data-typing]){visibility:hidden}
@media(min-width:761px){.home-bottom{bottom:94px}.home-project{bottom:210px}}
@media(max-width:760px){
  .home-copy{display:flex;flex-direction:column;justify-content:flex-end;gap:22px;padding:0 22px max(20px,env(safe-area-inset-bottom))}
  .home-project{position:static;flex:none}
  body[data-entry-style] .home-project h2{margin-bottom:0}
  .home-bottom{position:static;flex:none;width:100%;transform:none;gap:16px}
  .home-statement{max-width:380px;font-size:9px;line-height:1.5;letter-spacing:.08px}
  .home-statement p:last-child{margin-top:8px}
}
@media(max-width:760px) and (max-height:520px){
  .home-copy{gap:12px;padding-bottom:max(12px,env(safe-area-inset-bottom))}
  .home-project .eyebrow{margin-bottom:6px;font-size:7px}
  .home-project h2{font-size:32px}
  .home-project h2 span{display:inline-block;margin:0 0 0 14px;font-size:11px}
  .home-bottom{gap:10px}
  body[data-entry-style=type] .enter-space{height:66px}
  body[data-entry-style=type] .enter-space>.entry-type-title{font-size:20px}
  body[data-entry-style=type] .entry-type-rule{margin:8px 0}
}
