@font-face{font-family:"DM Sans";src:url("./assets/type/dm-sans.woff2") format("woff2");font-weight:400 700;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url("./assets/type/plex-mono.woff2") format("woff2");font-weight:400;font-display:swap}
:root{color-scheme:dark;--ink:#f5f3ed;--dim:#aaa9a4;--rule:#383835;--gutter:clamp(1.3rem,4.25vw,6rem);--mono:"IBM Plex Mono",monospace;--sans:"DM Sans","PingFang SC","Microsoft YaHei",sans-serif;--accent:#ff995c;background:#090a0b;color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}
body{margin:0}a,button{color:inherit;font:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent}
button{border:0;background:none;padding:0;cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid #ffbe8e;outline-offset:4px}
::selection{background:#b44e27;color:#fff}.sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.theatre{height:100svh;min-height:460px;display:grid;grid-template-rows:68px minmax(0,1fr) auto;background:#090a0b;overflow:hidden}
.mast{display:flex;align-items:center;padding-inline:var(--gutter);gap:clamp(1rem,3.1vw,3.5rem);position:relative;z-index:2;border-bottom:1px solid #292927;background:#0b0c0c}
.identity{display:flex;align-items:center;gap:.65rem;white-space:nowrap}.identity img{width:33px;height:33px;mix-blend-mode:lighten}.identity b{font-size:1.05rem;letter-spacing:.075em;font-weight:600}
.discipline{margin-left:.55rem;padding-left:1rem;border-left:1px solid #464743;color:#b8b7b1;font-size:.84rem;line-height:1.15}
.mast nav{margin-left:auto;display:flex;align-items:center;gap:clamp(1.35rem,2.8vw,3.2rem);height:100%}
.mast nav a{display:inline-flex;align-items:center;position:relative;height:100%;color:#afafac;font-size:.91rem}
.mast nav a[aria-current=page],.mast nav a:hover{color:var(--ink)}
.mast nav a[aria-current=page]:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:#d6d5ce}
.motion{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;min-height:42px;color:#cbcbc5;font-size:.82rem}
.motion-icon{position:relative;display:inline-block;width:16px;height:16px;border:1px solid #9b9a94;border-radius:50%}
.motion-icon:before,.motion-icon:after{content:"";position:absolute;top:4px;height:6px;width:1px;background:var(--ink)}.motion-icon:before{left:5px}.motion-icon:after{right:5px}
[data-motion=off] .motion-icon:before{height:0;width:0;top:3px;left:5px;border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:6px solid var(--ink);background:none}[data-motion=off] .motion-icon:after{display:none}
.stage{isolation:isolate;container-type:size;position:relative;overflow:hidden;background:#0a0b0c;touch-action:pinch-zoom}
.camera,.parallax,.stage-shade{position:absolute;inset:0;pointer-events:none}
.camera{transform-origin:0 0}
.parallax{transform:translate3d(var(--px,0px),var(--py,0px),0);transition:transform 420ms cubic-bezier(.2,.75,.22,1)}
.set{position:absolute;width:max(102.4cqw,182cqh);aspect-ratio:1672/941;left:50%;top:50%;transform:translate(-50%,-50%)}
.set picture{display:block;width:100%;height:100%}
.interior{display:block;width:100%;height:100%;user-select:none;filter:saturate(.62) brightness(.88);transition:filter .6s ease}
.stage.cool .interior{filter:grayscale(.98) brightness(.8)}
/* Coordinates of the inside lip in the 1672 × 941 photographic plate.
   All films and camera moves share this physical opening on every screen. */
.aperture{position:absolute;left:28.51%;top:21.99%;width:61.15%;height:46.43%;overflow:hidden;isolation:isolate;border-radius:0.22%/0.6%;background:#151614;pointer-events:auto;cursor:zoom-in}
.films,.film,.film img,.film video,.glass,.shutter{position:absolute;inset:0;width:100%;height:100%}
.film{visibility:hidden}.film.active{visibility:visible}.film img,.film video{object-fit:cover;object-position:var(--focal,50% 50%);display:block}
.film video{opacity:0}.film.playing video{opacity:1}
.glass{pointer-events:none;background:linear-gradient(118deg,#ffffff0b 0%,transparent 29%,transparent 82%,#ffffff04 100%);box-shadow:inset 0 0 9px 2px #07080760}
.shutter{background:#070809;opacity:0;pointer-events:none}
.stage-shade{background:linear-gradient(90deg,rgba(5,6,7,.38),rgba(5,6,7,.07) 34%,transparent 52%),linear-gradient(0deg,#080909b0,transparent 26%)}
.caption{position:absolute;left:var(--gutter);bottom:clamp(3.25rem,12cqh,8rem);z-index:2;max-width:46%;text-shadow:0 2px 19px #0008}
.film-code{margin:0 0 .9rem;display:flex;align-items:center;gap:.78rem;font:400 clamp(.76rem,1.02vw,1rem)/1.3 var(--mono);letter-spacing:.19em;color:#e5e2d9}
.film-code i{width:1.8rem;height:2px;background:var(--accent)}
.caption h1{font:650 clamp(4.2rem,7.6vw,9rem)/1.11 var(--sans);letter-spacing:-.067em;margin:0 0 .84rem -.05em}
.medium{margin:0;color:#d1d0c9;font-size:clamp(.9rem,1.18vw,1.16rem);letter-spacing:.075em}
.enter,.back-about{display:inline-flex;align-items:center;justify-content:center;gap:.7rem;font-size:.91rem;min-height:44px;border:1px solid #a4a49a63;background:#13141680;padding:0 1.15rem;backdrop-filter:blur(5px);transition:background .2s,border-color .2s}
.enter{margin-top:1.6rem}.enter:hover,.back-about:hover{background:#272623;border-color:#b4b3ab}
.enter-icon{width:11px;height:11px;position:relative;border:1px solid #c8c7be}.enter-icon:after{content:"";position:absolute;width:4px;height:4px;left:2.5px;top:2.5px;background:#e7e6df}
.stage-key{position:absolute;right:var(--gutter);bottom:1.4rem;display:flex;align-items:center;gap:.55rem;color:#cccac3;line-height:1;font-size:.78rem;letter-spacing:.075em;pointer-events:none}
.mouse-mark{display:block;width:11px;height:16px;border:1px solid currentColor;border-radius:6px}.mouse-mark:after{content:"";display:block;width:1px;height:4px;background:currentColor;margin:3px auto}
.deck{min-height:103px;display:flex;align-items:stretch;padding:0 var(--gutter);gap:clamp(1.4rem,3.8vw,5rem);border-top:1px solid #343431;z-index:2;background:#0b0c0c}
.deck-heading{display:flex;flex-direction:column;justify-content:center;gap:.28rem;flex:none}
.deck-heading small,.about-copy small{font:.75rem var(--mono);letter-spacing:.11em;color:#a9a9a2}.deck-heading span{font-size:.96rem;letter-spacing:.08em}
.reel{display:flex;gap:clamp(.75rem,1.8vw,2.3rem);align-items:stretch;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#454641 transparent}
.reel button{display:flex;position:relative;align-items:center;gap:.85rem;text-align:left;min-width:0;padding:.65rem .4rem;flex:0 0 auto}
.reel button:after{content:"";height:2px;position:absolute;left:.4rem;right:.4rem;bottom:0;background:var(--work-accent);transform:scaleX(0);transform-origin:left;transition:transform .35s}
.reel button[aria-pressed=true]:after{transform:scaleX(1)}
.reel button:focus-visible{outline-offset:-4px}
.reel img{width:clamp(56px,5.25vw,90px);aspect-ratio:1.78;object-fit:cover;opacity:.55;filter:saturate(.48);transition:opacity .25s,filter .25s}
.reel button:hover img,.reel button[aria-pressed=true] img{opacity:1;filter:none}
.reel-text{display:flex;flex-direction:column;gap:.25rem;min-width:4.7rem}.reel-text strong{font-weight:500;font-size:1rem;letter-spacing:.07em;color:#b4b4ae}
.reel button[aria-pressed=true] strong,.reel button:hover strong{color:var(--ink)}.reel-text small{font:.74rem var(--mono);letter-spacing:.045em;color:#989993}
.position{margin-left:auto;display:flex;align-items:center;gap:.6rem;font:.84rem var(--mono);font-variant-numeric:tabular-nums}.position strong{font-weight:400}.position span{color:#92938f}.position i{width:34px;height:1px;background:#78786f}
.no-js{position:fixed;bottom:0;left:0;right:0;z-index:9;background:#171717;padding:1.5rem;display:flex;gap:1rem}
dialog{color:var(--ink);border:0}dialog::backdrop{background:#050606e0}
.about{width:min(850px,calc(100% - 2.5rem));max-height:90dvh;background:#131415;padding:0;border:1px solid #55534c}
.about-layout{display:grid;grid-template-columns:.7fr 1fr}.about-image{background:linear-gradient(90deg,transparent,#14141433),url("./assets/homewing-detail.webp") 58% center/cover}
.about-copy{padding:clamp(1.5rem,4.5vw,4rem)}.about-copy h2{font-size:clamp(2.3rem,4.4vw,4rem);letter-spacing:-.04em;margin:.5rem 0 1.3rem;font-weight:600}
.about-copy p{font-size:1rem;line-height:1.8;color:#cbcac4;margin:.8rem 0}.about-copy p:first-of-type{color:var(--ink);font-size:1.2rem}.back-about{margin-top:1rem}
html:has(dialog[open]){overflow:hidden}
[data-motion=off] *,[data-motion=off] *:after{transition-duration:0s!important}
@media(max-width:760px) and (orientation:portrait){
  .theatre{grid-template-rows:56px minmax(0,1fr) auto;min-height:525px}
  .mast{gap:1.25rem}.identity img{width:27px;height:27px}.identity{gap:.35rem}.identity b{font-size:.95rem}.discipline{display:none}
  .mast nav{gap:1.1rem}.mast nav a{font-size:.85rem}.motion{font-size:.75rem;gap:.35rem}
  .stage{background:#090a0b}
  .stage-shade{background:linear-gradient(0deg,#090a0b88,transparent 46%);pointer-events:none}
  .caption{bottom:clamp(2.3rem,8cqh,5rem);max-width:85%}
  .film-code{font-size:.79rem;letter-spacing:.15em;margin:0 0 .64rem;gap:.55rem}.film-code i{width:1.3rem}
  .caption h1{font-size:clamp(3.55rem,14vw,5.9rem);margin-bottom:.5rem}
  .medium{font-size:.91rem}.enter{margin-top:1.02rem;font-size:.85rem;min-height:41px}
  .stage-key{right:var(--gutter);bottom:1.2rem;font-size:.74rem}.mouse-mark{width:17px;height:2px;border:0;border-radius:0;background:#8b8d86}.mouse-mark:after{display:none}
  .deck{min-height:78px;padding-inline:.9rem;gap:1rem}.deck-heading,.position{display:none}
  .reel{gap:.9rem;width:100%}.reel button{gap:.55rem;flex:1 0 auto;padding:.5rem .2rem}.reel img{width:clamp(42px,13.5vw,85px)}.reel-text{min-width:0}.reel-text small{font-size:.72rem}.reel-text strong{font-size:.95rem}
  .about-layout{grid-template-columns:1fr}.about-image{height:100px;background-position:50% 46%}.about-copy h2{margin-bottom:.7rem}
  .viewer-bar{padding-inline:.7rem;gap:.5rem}.viewer-bar strong,.return,.standalone{font-size:.76rem}
}
@media(max-width:370px) and (orientation:portrait){.mast{gap:.7rem}.mast nav{gap:.8rem}.motion span{display:none}.motion{width:32px}.reel{gap:.35rem}}
@media(max-height:620px) and (orientation:landscape){.theatre{min-height:320px;grid-template-rows:44px minmax(0,1fr) auto}.deck{min-height:57px}.reel img{width:45px}.reel-text{gap:0}.reel-text strong{font-size:.86rem}.deck-heading{gap:0}.caption{bottom:1.2rem}.caption h1{font-size:clamp(2.5rem,9cqh,4.25rem);margin-bottom:.3rem}.film-code{margin-bottom:.25rem}.enter{margin-top:.6rem;min-height:34px}.stage-key{bottom:.7rem}}
@media(orientation:portrait){
  .set{width:max(102cqw,62.5cqh);aspect-ratio:948/1659;left:50%;top:38%;transform:translate(-50%,-35.1%)}
  .aperture{left:9.17%;top:23.62%;width:80.8%;height:23.02%}
  .stage-shade{background:linear-gradient(0deg,#090a0bc4,transparent 43%)}
}

.stage{touch-action:pan-y pinch-zoom}
.stage-key{pointer-events:auto;min-height:40px;bottom:.8rem;padding:.4rem 0;text-decoration:underline;text-underline-offset:.32rem;text-decoration-color:#bab8aa66}
.mast nav .alternate{font-size:.86rem;color:#e8d8bd}
@media(max-width:560px){.mast{gap:.65rem}.mast nav{gap:.8rem}.motion{min-width:28px}.motion span{display:none}.stage-key{bottom:.5rem}}
.theatre-track{position:relative}
.scroll-camera{position:absolute;inset:0;transform-origin:0 0}
html[data-motion=on] .theatre-track{height:150svh;min-height:calc(460px + 50svh)}
html[data-motion=on] .theatre{position:sticky;top:0}
.theatre[data-departing=true] .caption,.theatre[data-departing=true] .stage-key{opacity:var(--caption-light,1)}
.stage-shade{opacity:var(--shade-light,1)}
.theatre[data-departing=true] .stage{--px:0px!important;--py:0px!important}
@media(max-width:760px) and (orientation:portrait){html[data-motion=on] .theatre-track{height:135svh;min-height:calc(525px + 35svh)}}
@media(max-height:620px) and (orientation:landscape){html[data-motion=on] .theatre-track{min-height:calc(320px + 50svh)}}
