.story{position:fixed;inset:0;z-index:2147482999;background:#050505;color:#e9e6df;font-family:'PingFang SC','Microsoft YaHei',sans-serif;pointer-events:none;will-change:transform}.story__backdrop{position:absolute;inset:0;overflow:hidden}.story__video{width:100%;height:100%;object-fit:cover}.story__masthead{position:absolute;top:4.2%;left:4.2%;right:5%;display:flex;gap:7vw;align-items:center;font-size:clamp(11px,1vw,19px);letter-spacing:.06em}.story__masthead i{height:1px;background:#ffffff60;flex:1}.story__hero{position:absolute;inset:0}.story__hero-left,.story__hero-right{position:absolute;top:16%;font-family:'Songti SC',serif;font-style:italic;font-size:clamp(40px,5.4vw,104px);line-height:1.18;letter-spacing:.04em}.story__hero-left{left:7%}.story__hero-left b{padding-left:3vw}.story__hero-right{right:8%;top:22%}.story__hero-right b{padding-left:4vw}.story__identity{position:absolute;bottom:9%;left:20%;right:20%;text-align:center}.story__identity h1{font:500 clamp(36px,4vw,70px)/1.2 'Songti SC',serif;letter-spacing:.25em;margin:0 0 18px;text-indent:.25em}.story__identity p{font-size:clamp(12px,1.3vw,25px);letter-spacing:.2em;margin:0 0 16px}.story__identity small{font-size:clamp(9px,.9vw,17px);letter-spacing:.2em}.story__chapter{position:absolute;inset:0;opacity:0;visibility:hidden}.story__copy{position:absolute;top:13.5%;bottom:10%;width:42.7%;pointer-events:auto;user-select:text}.story__chapter:nth-of-type(even) .story__copy{left:4.7%}.story__chapter:nth-of-type(odd) .story__copy{right:4.2%;width:41.2%}.story__art{margin:0 0 1.4vw;height:7vw;max-height:150px;display:flex;align-items:center}.story__art img{display:block;width:100%;height:100%;object-fit:contain;object-position:left center;transform:translateX(calc((1 - var(--reveal,1))*-14px));opacity:var(--reveal,1)}.story__subtitle{font-size:clamp(14px,1.35vw,26px);line-height:1.6;margin:0 0 1.8vw;color:#d9d8d4}.story__details{list-style:none;padding:1.3vw 0 0;margin:0;border-top:1px solid #ffffff60;counter-reset:item}.story__details li{display:flex;gap:1vw;font-size:clamp(12px,1.2vw,23px);line-height:1.6;margin:0 0 .9vw;font-weight:400}.story__item-index{font-size:.67em;color:#989f9c;min-width:1.1vw;padding-top:.2em}.story__chapter:nth-of-type(2) .story__details{display:grid;grid-template-columns:1fr 1fr;gap:1.5vw 1.8vw}.story__conclusion{position:absolute;top:75%;left:0;width:100%;padding-top:1vw;border-top:1px solid #ffffff60}.story__conclusion p{font-size:clamp(12px,1.2vw,23px);line-height:1.6;color:#c9cdc7;margin:0 0 .6vw}.story__conclusion strong{position:relative;display:inline-block;font-size:clamp(28px,3.55vw,68px);line-height:1.3;letter-spacing:-.04em;transform:skewX(-7deg);font-weight:700}.story__conclusion strong:after{content:'';position:absolute;left:0;right:-6%;bottom:-5px;height:1px;background:#c7cac5;transform:rotate(-2deg)}@media(max-width:700px){.story__video{object-fit:contain;object-position:center top;background:#050505}.story__masthead{top:2%;gap:15px;font-size:10px}.story__hero-left,.story__hero-right{font-size:26px;top:7%}.story__hero-left{left:6%}.story__hero-right{right:6%;top:13%}.story__identity{bottom:23%;left:5%;right:5%}.story__copy,.story__chapter:nth-of-type(n) .story__copy{left:6%;right:6%;top:28%;bottom:4%;width:auto;box-sizing:border-box;background:linear-gradient(#050505cc,#050505fa 30%)}.story__art{height:14vw;margin-bottom:8px}.story__subtitle{font-size:13px;margin-bottom:12px}.story__details{padding-top:12px}.story__details li{font-size:12px;line-height:1.5;gap:10px;margin-bottom:8px}.story__chapter:nth-of-type(2) .story__details{gap:8px 12px}.story__conclusion{top:auto;bottom:0;padding-top:9px}.story__conclusion p{font-size:11px}.story__conclusion strong{font-size:29px}}

.story__details li{opacity:clamp(0,calc(var(--reveal,1)*3 - var(--item,0)*.08),1);transform:translateY(calc((1 - clamp(0,calc(var(--reveal,1)*3 - var(--item,0)*.08),1))*12px))}.story__conclusion strong:after{transform:rotate(-2deg) scaleX(var(--reveal,1));transform-origin:left}

.portfolio-scrollbar{position:fixed;top:0;right:0;bottom:0;width:14px;z-index:2147483600;background:#080a0be6;border-left:1px solid #ffffff20;touch-action:none;cursor:pointer}.portfolio-scrollbar__thumb{position:absolute;top:0;left:4px;right:3px;min-height:36px;background:#acb4b7;border-radius:5px;will-change:transform}.portfolio-scrollbar:hover .portfolio-scrollbar__thumb,.portfolio-scrollbar.is-dragging .portfolio-scrollbar__thumb{background:#e1eaed}.portfolio-scrollbar:focus-visible{outline:1px solid #b5e9f6;outline-offset:-2px}
/* Content-led composition: the conclusion follows each page's real text height. */
.story__copy{bottom:auto;display:flex;flex-direction:column;gap:clamp(9px,1.5vh,20px)}.story__art{margin:0;height:7vw}.story__subtitle{margin:0;font-size:clamp(13px,1.55vh,24px)}.story__details{padding-top:clamp(10px,1.5vh,20px)}.story__details li{font-size:clamp(12px,1.65vh,23px);line-height:1.65;margin-bottom:clamp(8px,1.3vh,16px)}.story__chapter:nth-of-type(2) .story__details{gap:clamp(12px,2vh,28px) 20px}.story__conclusion{position:static;top:auto;padding-top:clamp(10px,1.5vh,20px);margin-top:clamp(4px,1vh,14px)}.story__conclusion p{font-size:clamp(12px,1.55vh,22px);margin-bottom:12px}.story__conclusion strong.story__end-art{display:block;max-width:85%;width:max-content;transform:none;line-height:0}.story__end-art img{display:block;width:auto;max-width:100%;height:clamp(46px,8vh,98px);object-fit:contain;object-position:left}.story__conclusion strong:after{display:none}.story__hero-left,.story__hero-right{width:32%;top:17%;font-size:initial;line-height:0}.story__hero-left{left:4%}.story__hero-right{right:3%;top:25%}.story__hero-left img,.story__hero-right img{width:100%;height:auto}.story__identity h1{height:9vh;max-height:100px;margin:0 auto 20px}.story__identity h1 img{height:100%;width:auto;max-width:240px;object-fit:contain}.story__metric-images{display:flex;align-items:center;gap:20px;margin:8px 0 20px}.story__metric-images img:first-child{width:54%}.story__metric-images img:last-child{width:38%}.story__book-line{display:flex;align-items:center;gap:20px}.story__book-line img{width:26%;height:auto}.story__sr{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}.art-shards{position:relative;display:block;width:100%;height:100%}.art-shard{position:absolute;inset:0;display:block;transform-origin:center bottom;pointer-events:none}.art-shard img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:contain;object-position:left center}.story__end-art .art-shards{width:35vw;height:8vh}.portfolio-ending{position:fixed;inset:0;background:radial-gradient(ellipse at 55% 60%,#142029,#06090c 65%);z-index:2147483000;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:9vw;box-sizing:border-box;pointer-events:none;transform:translateY(100%);visibility:hidden;color:#e4e4df}.portfolio-ending img{width:min(1100px,78vw);max-height:56vh;object-fit:contain}.portfolio-ending p{max-width:1000px;font:clamp(14px,1.4vw,24px)/2 'PingFang SC',sans-serif;text-align:center;letter-spacing:.1em}.portfolio-ending-spacer{position:absolute;left:0;width:1px;pointer-events:none}@media(max-width:700px){.story__copy,.story__chapter:nth-of-type(n) .story__copy{bottom:auto;gap:9px;top:27%}.story__art{height:13vw}.story__details li{font-size:12px;line-height:1.55;margin-bottom:7px}.story__conclusion p{font-size:11px}.story__conclusion strong.story__end-art{max-width:100%}.story__end-art .art-shards{width:68vw;height:7vh}.story__hero-left,.story__hero-right{top:9%;width:35%}.story__hero-right{top:18%}.story__identity h1{height:8vh}.story__book-line{gap:12px}.portfolio-ending{padding:7vw}.portfolio-ending img{width:90vw}.portfolio-ending p{font-size:14px;letter-spacing:.04em}}

.story__self-art{display:inline-block;width:auto;height:1.5em;max-width:45%;vertical-align:middle;object-fit:contain;margin:0 3px}
/* Closing copy sits on the original last scene; no new full-screen backdrop or scroll spacer. */
.portfolio-ending{inset:auto 12vw 5vh;max-height:none;width:auto;height:auto;display:flex;gap:1vh;background:none;padding:0;box-shadow:none;transform:none;opacity:0}.portfolio-ending img{width:min(720px,52vw);max-height:24vh;object-fit:contain}.portfolio-ending p{max-width:900px;font-size:clamp(12px,1.1vw,19px);line-height:1.8;margin:0;text-shadow:0 2px 16px #000}.portfolio-ending-spacer{display:none}@media(max-width:700px){.portfolio-ending{inset:auto 7vw 5vh}.portfolio-ending img{width:80vw;max-height:21vh}.portfolio-ending p{font-size:12px;line-height:1.7}}
/* The document is the only scroll owner, available before WebGL initializes. */
html.portfolio-native-scroll{height:auto!important;min-height:100%;overflow-x:hidden!important;overflow-y:scroll!important;touch-action:pan-y!important;scroll-behavior:auto}html.portfolio-native-scroll body{height:auto!important;min-height:100vh;overflow:visible!important;touch-action:pan-y!important}html.portfolio-native-scroll #Stage{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;overflow:hidden!important}.portfolio-fx-viewport{overflow:hidden!important;touch-action:pan-y!important}.portfolio-scroll-extent{position:relative;width:1px;pointer-events:none}.story{touch-action:pan-y}.story__video{transform-origin:55% 48%}
.story__bridge{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:0}.story__world-loading{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);font-size:10px;letter-spacing:.15em;color:#a4b4bd}.story__world-loading[hidden]{display:none}.story__copy{touch-action:pan-y}

/* The three projects live inside the final existing scene. */
.portfolio-sites{display:flex;align-items:center;justify-content:center;gap:clamp(12px,2vw,32px);perspective:1100px;margin:0 auto 1.2vh;pointer-events:auto}.portfolio-sites__card{position:relative;display:flex;flex-direction:column;justify-content:flex-end;width:clamp(170px,21vw,320px);height:clamp(145px,24vh,260px);padding:clamp(12px,1.3vw,22px);box-sizing:border-box;border:1px solid #95c8d34a;border-radius:15px;background:linear-gradient(145deg,#102c3bdf,#070d17ed 70%);box-shadow:0 18px 45px #0009,inset 0 1px #ffffff23;overflow:hidden;color:#eaf5f7;text-decoration:none;transform:rotateY(10deg) rotateX(3deg);transition:transform .4s ease,border-color .4s ease,box-shadow .4s ease}.portfolio-sites__card:nth-child(2){transform:translateY(-10px);border-color:#b8ecf26e}.portfolio-sites__card:nth-child(3){transform:rotateY(-10deg) rotateX(3deg)}.portfolio-sites__card:hover,.portfolio-sites__card:focus-visible{transform:translateY(-12px) rotateY(0);border-color:#b8efff;box-shadow:0 22px 55px #000b,0 0 30px #60cbe927;outline:0}.portfolio-sites__number{position:absolute;top:13px;left:17px;z-index:1;color:#c6e1e5;font:10px/1.2 sans-serif;letter-spacing:.18em}.portfolio-sites__art{position:absolute;inset:0;opacity:.46;overflow:hidden}.portfolio-sites .portfolio-sites__art img{display:block;width:100%;height:100%;max-height:none;object-fit:cover}.portfolio-sites__card--kclaw .portfolio-sites__art img,.portfolio-sites__card--abc .portfolio-sites__art img{object-fit:contain;padding:17% 26%;box-sizing:border-box}.portfolio-sites__art:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 20%,#050b14ed 100%)}.portfolio-sites__name,.portfolio-sites__desc{z-index:1;text-align:left}.portfolio-sites__name{font:600 clamp(15px,1.5vw,23px)/1.2 sans-serif;letter-spacing:.02em}.portfolio-sites__name b{float:right;font-weight:400}.portfolio-sites__desc{margin-top:7px;color:#bacbd0;font:12px/1.4 sans-serif}.portfolio-ending .portfolio-ending__title{width:min(520px,45vw);max-height:16vh}@media(max-width:700px){.portfolio-sites{gap:6px;width:100%}.portfolio-sites__card{min-width:0;width:31%;height:150px;padding:10px;transform:none!important}.portfolio-sites__number{font-size:8px;letter-spacing:0;left:8px}.portfolio-sites__name{font-size:12px}.portfolio-sites__desc{font-size:10px}.portfolio-ending .portfolio-ending__title{width:75vw;max-height:14vh}}
/* Keep the draggable portfolio scrollbar; hide only the duplicate viewport bar. */
html.portfolio-native-scroll,html.portfolio-native-scroll body{scrollbar-width:none;-ms-overflow-style:none}
html.portfolio-native-scroll::-webkit-scrollbar,html.portfolio-native-scroll body::-webkit-scrollbar{display:none;width:0;height:0}
.cursor-weight-layer{transition:opacity .28s ease;will-change:opacity;pointer-events:none}

.cursor-weight-wrapper{position:relative;display:inline-block;line-height:0}
