
:root{
  --bg:#050605;--ink:#f7f8f2;--muted:rgba(255,255,255,.68);--lime:#c8ff00;--cyan:#9dfff7;
  --line:rgba(255,255,255,.16);--line-strong:rgba(255,255,255,.26);--radius:30px;--ease:cubic-bezier(.16,1,.3,1);--shadow:0 28px 100px rgba(0,0,0,.48);
}
*{box-sizing:border-box}html{scroll-behavior:smooth;background:#050605}body{margin:0;color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;background:#050605;overflow-x:hidden;cursor:none}a,button{cursor:none}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;border:0;background:none}img,video{display:block;max-width:100%}::selection{background:var(--lime);color:#050605}
body::before{content:"";position:fixed;inset:0;z-index:-5;pointer-events:none;background:radial-gradient(circle at 16% 16%,rgba(200,255,0,.08),transparent 24%),radial-gradient(circle at 78% 42%,rgba(157,255,247,.055),transparent 26%),#050605}.noise{position:fixed;inset:0;z-index:20;pointer-events:none;opacity:.10;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E")}.grid-bg{position:fixed;inset:0;z-index:-4;pointer-events:none;opacity:.26;background:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:48px 48px}
/* remove old unused layers that broke layout */
.opening,.ambient-image,.hero-card,.hero-hud,.left-hud{display:none!important}
/* cursor */
#trailCanvas{position:fixed;inset:0;z-index:9998;pointer-events:none;mix-blend-mode:screen}.cursor-orb,.cursor-dot{position:fixed;left:0;top:0;border-radius:50%;transform:translate(-50%,-50%);z-index:9999;pointer-events:none;will-change:transform}.cursor-orb{width:36px;height:36px;border:1px solid rgba(200,255,0,.86);background:rgba(200,255,0,.025);box-shadow:0 0 26px rgba(200,255,0,.24);transition:.25s var(--ease)}.cursor-dot{width:6px;height:6px;background:var(--lime);box-shadow:0 0 16px rgba(200,255,0,.8)}.cursor-orb.is-hover{width:68px;height:68px;background:rgba(200,255,0,.08);border-color:rgba(255,255,255,.82)}.cursor-orb.is-down{width:82px;height:82px;background:rgba(157,255,247,.08);border-color:rgba(157,255,247,.85)}.tap-ripple{position:fixed;z-index:9997;width:16px;height:16px;margin:-8px;border:1px solid rgba(200,255,0,.86);border-radius:50%;pointer-events:none;animation:ripple .78s var(--ease) forwards}@keyframes ripple{to{transform:scale(8);opacity:0}}.toast{position:fixed;right:20px;bottom:20px;z-index:10020;padding:12px 18px;border-radius:999px;border:1px solid rgba(255,255,255,.24);background:rgba(8,9,8,.78);backdrop-filter:blur(16px);color:var(--lime);opacity:0;transform:translateY(12px);transition:.36s var(--ease);pointer-events:none}.toast.show{opacity:1;transform:translateY(0)}
.glass-bar,.glass-card,.glass-section{border:1px solid var(--line);background:linear-gradient(135deg,rgba(255,255,255,.14),rgba(255,255,255,.045));backdrop-filter:blur(22px) saturate(1.18);-webkit-backdrop-filter:blur(22px) saturate(1.18);box-shadow:var(--shadow)}.glass-card,.glass-section{border-radius:var(--radius)}.strong-glass{background:linear-gradient(135deg,rgba(255,255,255,.16),rgba(255,255,255,.045))}.site-header{position:fixed;top:16px;left:50%;transform:translateX(-50%);z-index:1000;width:min(1320px,calc(100vw - 28px));display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 14px;border-radius:999px}.brand{display:flex;align-items:center;gap:10px;min-width:0;font-size:12px;letter-spacing:.16em;color:rgba(255,255,255,.86)}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--lime);color:#060706;font-weight:950}nav{display:flex;gap:6px;align-items:center;overflow:auto;scrollbar-width:none}nav::-webkit-scrollbar{display:none}nav a{padding:10px 14px;border-radius:999px;color:rgba(255,255,255,.75);font-size:12px;letter-spacing:.12em;white-space:nowrap;transition:.28s var(--ease)}nav a:hover{background:rgba(255,255,255,.08);color:#fff}
main{position:relative;z-index:3}
/* actual V10 html uses section-pin, not section-shell. This is the core fix. */
main>section.section-pin{width:100vw;min-height:100svh;margin:0!important;padding:118px max(28px,calc((100vw - 1280px)/2)) 82px;border-radius:0!important;overflow:hidden;position:relative;isolation:isolate;background:#050605}main>section.section-pin::before{content:"";position:absolute;inset:0;z-index:-3;background:var(--panel-bg,url('assets/hero/section-bg-control.jpg')) center/cover no-repeat;filter:saturate(1.04) contrast(1.02) brightness(.86);transform:scale(1.015)}main>section.section-pin::after{content:"";position:absolute;inset:0;z-index:-2;pointer-events:none;background:linear-gradient(180deg,rgba(5,6,5,.36),rgba(5,6,5,.72) 42%,rgba(5,6,5,.86)),radial-gradient(circle at 80% 18%,rgba(200,255,0,.10),transparent 22%)}
main>section.glass-section{border:0!important;box-shadow:none!important;background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.intro{--panel-bg:url('assets/hero/section-bg-lab-soft.jpg')}.profile-section{--panel-bg:url('assets/hero/section-bg-control.jpg')}.project-section{--panel-bg:url('assets/hero/section-bg-metro.jpg')}.graphic-section{--panel-bg:url('assets/hero/section-bg-corridor.jpg')}.render-section{--panel-bg:url('assets/hero/section-bg-lab.jpg')}.contact-section{--panel-bg:url('assets/hero/section-bg-lab-soft.jpg')}
/* hero */
main>section.hero{--panel-bg:none;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:22px;padding-top:120px;background:#050605}main>section.hero::before{display:none}main>section.hero::after{z-index:-1;background:linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.20) 46%,rgba(0,0,0,.56)),linear-gradient(90deg,rgba(0,0,0,.24),rgba(0,0,0,.04) 48%,rgba(0,0,0,.18))}.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;z-index:-4;opacity:1;filter:saturate(1.04) contrast(1.03);background:#000}.hero-vignette,.hero-soft-mask{position:absolute;inset:0;z-index:-3;pointer-events:none;background:linear-gradient(90deg,rgba(0,0,0,.18),rgba(0,0,0,.04) 46%,rgba(0,0,0,.16))}.hero-video-grain{position:absolute;inset:0;z-index:-2;pointer-events:none;opacity:.13;background-image:radial-gradient(rgba(255,255,255,.05) .55px,transparent .6px);background-size:4px 4px;mix-blend-mode:soft-light}.hero-lines{position:absolute;inset:auto 24px 28px auto;display:flex;gap:8px;opacity:.42;pointer-events:none}.hero-lines span{display:block;width:42px;height:2px;background:linear-gradient(90deg,transparent,var(--lime),transparent)}.hero-panel,.hero-copy,.hero-free{position:relative;z-index:2;padding:0!important;max-width:min(940px,88vw);background:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.hero-copy::after{display:none}.eyebrow,.kicker,.pill,.mini-kicker{display:flex;align-items:center;gap:10px;color:var(--lime);font-size:12px;letter-spacing:.22em;text-transform:uppercase}.eyebrow i,.eyebrow span:first-child{width:34px;height:8px;border-radius:999px;background:var(--lime);display:inline-block}.hero-title{margin:20px 0 18px;line-height:.86;letter-spacing:-.08em;max-width:min(940px,88vw)}.title-mask{display:block;overflow:hidden;padding-bottom:.06em}.title-line{display:block;font-size:clamp(58px,10vw,142px);font-weight:1000;text-transform:uppercase}.title-small .title-line,.title-sub .title-line{font-size:clamp(14px,1.25vw,18px);font-weight:750;letter-spacing:.45em;color:rgba(255,255,255,.76);margin-top:16px}.hero-desc,.hero-cn{max-width:780px;margin:0;color:rgba(255,255,255,.86);font-size:clamp(15px,1.55vw,19px);line-height:1.8}.hero-meta-strip,.hero-meta-grid{display:flex;flex-wrap:wrap;gap:10px 12px;margin-top:16px}.hero-meta-strip span,.hero-meta-grid span,.info-tags span,.tool-grid span,.tags span,.resume-tags span{padding:9px 12px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:rgba(255,255,255,.06);font-size:11px;letter-spacing:.12em;color:rgba(255,255,255,.84)}.hero-actions,.contact-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 18px;border-radius:999px;border:1px solid rgba(255,255,255,.24);font-size:12px;font-weight:850;letter-spacing:.08em;transition:.28s var(--ease)}.btn.primary{background:var(--lime);border-color:var(--lime);color:#050605}.btn.ghost{background:rgba(255,255,255,.06)}.btn:hover{transform:translateY(-2px)}.hero-stat-line{display:flex;flex-wrap:wrap;gap:18px;align-self:flex-start;margin-top:4px;padding:14px 18px;border-radius:22px;background:linear-gradient(135deg,rgba(255,255,255,.11),rgba(255,255,255,.03));border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(18px)}.hero-stat-line div{min-width:110px}.hero-stat-line b{display:block;font-size:28px;line-height:1;color:#fff}.hero-stat-line span{display:block;margin-top:6px;font-size:11px;letter-spacing:.16em;color:rgba(255,255,255,.68)}.scroll-cue{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);font-size:11px;letter-spacing:.26em;color:rgba(255,255,255,.68)}
/* content widths */
.section-head,.intro-copy,.profile-grid,.project-grid,.pdf-stage,.render-wall,.contact-shell{max-width:1280px;margin-left:auto;margin-right:auto}.section-head{position:relative;z-index:1;display:grid;gap:10px;margin-bottom:30px}.section-title-en{position:relative;font-size:clamp(72px,16vw,220px);line-height:.82;letter-spacing:-.08em;font-weight:1000;color:rgba(255,255,255,.08);text-transform:uppercase;margin:0 0 -4px;pointer-events:none}.section-head h2{margin:0;font-size:clamp(32px,4vw,58px);line-height:1.04;letter-spacing:-.06em}.section-head h3{margin:0;font-size:clamp(28px,3.3vw,52px);line-height:1.04;letter-spacing:-.05em}.section-head p{margin:0;max-width:920px;color:rgba(255,255,255,.72);line-height:1.8}.intro-copy{padding:26px 24px}.intro-copy p{color:rgba(255,255,255,.72);line-height:1.9}.stat-row,.glass-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}.stat-row div{padding:16px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:rgba(255,255,255,.06)}.stat-row b{display:block;font-size:32px}.stat-row span{display:block;color:var(--muted);font-size:12px;letter-spacing:.12em}
.profile-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(320px,.72fr);gap:22px}.profile-card,.tool-panel,.experience-card,.project-card,.pdf-stage,.contact-card,.contact-copy{padding:26px 24px}.profile-card h3,.tool-panel h3,.experience-card h3{margin:12px 0 14px;font-size:clamp(28px,3vw,42px);letter-spacing:-.05em}.profile-card .lead{margin:0 0 14px;color:rgba(255,255,255,.86);font-size:18px}.profile-card p,.tool-panel p,.contact-copy p{color:rgba(255,255,255,.72);line-height:1.8}.resume-tags,.tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.tool-grid,.tool-grid-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.tool-grid div,.tool-grid-panel div{padding:14px;border-radius:18px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12)}.tool-grid b,.tool-grid-panel b{display:block;font-size:18px;margin-bottom:6px}.tool-grid span,.tool-grid-panel span{display:block;padding:0;border:0;background:none;border-radius:0;font-size:12px;letter-spacing:.04em;color:rgba(255,255,255,.72)}.experience-card{grid-column:1/-1}.timeline,.modern-timeline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.timeline>div,.timeline li,.modern-timeline>div{padding:18px;border-radius:22px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);list-style:none}.timeline time,.modern-timeline time{display:block;color:var(--lime);font-size:12px;letter-spacing:.14em;margin-bottom:10px}.timeline h4,.modern-timeline h4{margin:0 0 10px;font-size:18px}.timeline p,.modern-timeline p{margin:0;color:rgba(255,255,255,.72);line-height:1.75}
.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.project-card{overflow:hidden;display:grid;gap:18px;background:linear-gradient(135deg,rgba(255,255,255,.13),rgba(255,255,255,.04));backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}.project-media{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:22px;background:#000;border:1px solid rgba(255,255,255,.14)}.project-media video,.project-media .poster-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.project-media video{opacity:0;pointer-events:none;transition:opacity .45s var(--ease);background:#000}.project-card.is-playing .project-media video{opacity:1;pointer-events:auto}.project-card.is-playing .cover-layer{opacity:0;pointer-events:none}.cover-layer{position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:18px;background:linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.35) 70%,rgba(0,0,0,.66));transition:opacity .45s var(--ease)}.cover-copy h3{margin:0;font-size:clamp(26px,2.1vw,34px);letter-spacing:-.05em}.cover-copy p{margin:6px 0 0;color:rgba(255,255,255,.76);font-size:14px;line-height:1.5}.play-btn{display:grid;place-items:center;flex:0 0 auto;width:76px;height:76px;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.16);backdrop-filter:blur(10px);font-size:28px;box-shadow:0 8px 30px rgba(0,0,0,.24);transition:.3s var(--ease)}.play-btn:hover{transform:scale(1.04);background:rgba(200,255,0,.22)}.project-index{position:absolute;left:14px;top:14px;z-index:2;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:rgba(6,6,6,.6);border:1px solid rgba(255,255,255,.24);color:var(--lime);font-weight:900}.project-body h3{margin:0 0 8px;font-size:clamp(28px,4vw,44px);letter-spacing:-.05em}.project-body p{margin:0 0 12px;color:rgba(255,255,255,.72);line-height:1.75}.project-body .kicker{margin-bottom:8px}.asset-strip{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-top:16px}.asset-strip button{padding:0;border-radius:14px;overflow:hidden;aspect-ratio:1/1;border:1px solid rgba(255,255,255,.14);background:#101010}.asset-strip img{width:100%;height:100%;object-fit:cover;transition:.9s var(--ease)}.asset-strip button:hover img{transform:scale(1.07);filter:saturate(1.1)}.script-link{display:inline-flex;margin-top:4px;color:var(--lime);font-size:12px;letter-spacing:.12em;border-bottom:1px solid rgba(200,255,0,.6)}
.pdf-stage{display:grid;grid-template-columns:.42fr .58fr;gap:24px;background:linear-gradient(135deg,rgba(0,0,0,.54),rgba(255,255,255,.04));backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}.pdf-copy{align-self:center;padding:12px 4px;position:relative;z-index:2}.pdf-copy h3{margin:16px 0 12px;font-size:clamp(28px,4vw,50px);line-height:1.04;letter-spacing:-.05em}.pdf-copy p{margin:0;color:rgba(255,255,255,.72);line-height:1.8}.pdf-controls{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.icon-btn{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.08);transition:.3s var(--ease)}.icon-btn:hover{background:var(--lime);color:#050605}.pdf-carousel{position:relative;min-height:min(68vh,720px);perspective:1600px;overflow:hidden}.pdf-slide{position:absolute;inset:0;margin:auto;width:min(76%,520px);height:100%;max-height:720px;border-radius:26px;overflow:hidden;border:1px solid rgba(255,255,255,.2);background:rgba(0,0,0,.68);box-shadow:0 28px 80px rgba(0,0,0,.48);opacity:0;transform:translateX(0) scale(.72) rotateY(0deg);transition:transform 1.05s var(--ease),opacity .75s var(--ease),filter .75s var(--ease)}.pdf-slide img{width:100%;height:100%;object-fit:contain;background:#030303}.pdf-slide.active{opacity:1;z-index:5;transform:translateX(0) scale(1) rotateY(0deg)}.pdf-slide.next{opacity:.45;z-index:3;transform:translateX(44%) scale(.8) rotateY(-18deg);filter:blur(1px) saturate(.75)}.pdf-slide.prev{opacity:.45;z-index:3;transform:translateX(-44%) scale(.8) rotateY(18deg);filter:blur(1px) saturate(.75)}.pdf-slide.far-next{opacity:.16;z-index:1;transform:translateX(72%) scale(.62) rotateY(-28deg);filter:blur(3px)}.pdf-slide.far-prev{opacity:.16;z-index:1;transform:translateX(-72%) scale(.62) rotateY(28deg);filter:blur(3px)}.thumb-rail{display:flex;gap:10px;overflow-x:auto;overflow-y:hidden;padding:14px max(28px,calc((100vw - 1280px)/2)) 8px;margin:14px calc(-1 * max(28px,calc((100vw - 1280px)/2))) 0;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:rgba(200,255,0,.55) rgba(255,255,255,.08)}.pdf-thumb{flex:0 0 110px;padding:0;border-radius:16px;overflow:hidden;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);opacity:.58;transition:.38s var(--ease)}.pdf-thumb.active{opacity:1;border-color:var(--lime);box-shadow:0 0 24px rgba(200,255,0,.18)}.pdf-thumb img{width:100%;aspect-ratio:1/1;object-fit:cover}.pdf-thumb span{display:block;padding:8px;font-size:10px;letter-spacing:.12em;color:rgba(255,255,255,.72)}
.render-wall{columns:4 240px;column-gap:18px}.render-item{break-inside:avoid;margin:0 0 18px;position:relative;border-radius:24px;overflow:hidden;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.04);box-shadow:0 18px 52px rgba(0,0,0,.28)}.render-item::after{content:attr(data-label);position:absolute;left:12px;bottom:12px;padding:7px 10px;border-radius:999px;background:rgba(0,0,0,.58);color:var(--lime);font-size:10px;letter-spacing:.14em;backdrop-filter:blur(10px)}.render-item img{width:100%;height:auto;transition:1.1s var(--ease)}.render-item:hover img{transform:scale(1.05);filter:saturate(1.12)}
.contact-shell{display:grid;grid-template-columns:minmax(0,.9fr) minmax(320px,.65fr);gap:22px}.contact-copy h3{margin:0;font-size:clamp(28px,3vw,44px);letter-spacing:-.05em}.contact-copy p{margin-top:14px;color:rgba(255,255,255,.78);line-height:1.8}.contact-line{display:grid;grid-template-columns:88px 1fr auto;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.12)}.contact-line span{font-size:11px;color:var(--lime);letter-spacing:.18em}.contact-line b{font-size:18px;word-break:break-all}.copy-btn{padding:8px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.08);font-size:12px;transition:.3s var(--ease)}.copy-btn:hover,.copy-btn.copied{background:var(--lime);color:#050605}
.lightbox{position:fixed;inset:0;z-index:10010;background:rgba(0,0,0,.86);display:grid;place-items:center;opacity:0;visibility:hidden;transition:.42s var(--ease);backdrop-filter:blur(18px)}.lightbox.open{opacity:1;visibility:visible}.lightbox.open,.lightbox.open *,.lightbox-close,.lightbox-nav{cursor:auto!important}.lightbox img{max-width:min(92vw,1300px);max-height:84vh;object-fit:contain;border-radius:22px;box-shadow:var(--shadow)}.lightbox-close,.lightbox-nav{position:absolute;display:grid;place-items:center;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.08);backdrop-filter:blur(12px);border-radius:50%;transition:.3s var(--ease)}.lightbox-close{right:24px;top:24px;width:56px;height:56px;font-size:30px;background:rgba(200,255,0,.92);color:#050605;border-color:rgba(200,255,0,1);box-shadow:0 0 28px rgba(200,255,0,.24)}.lightbox-nav{top:50%;width:54px;height:54px;font-size:26px}.lightbox-nav.prev{left:28px}.lightbox-nav.next{right:28px}.lightbox-caption{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);color:rgba(255,255,255,.8);letter-spacing:.12em}.lightbox::after{content:'点击右上角 × 或按 ESC 关闭';position:absolute;left:28px;top:28px;padding:10px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:rgba(0,0,0,.42);backdrop-filter:blur(12px);color:rgba(255,255,255,.82);font-size:12px;letter-spacing:.08em}
.section-title-en,.section-head .kicker,.section-head h2,.section-head h3,.section-head p,.stagger-item,.motion-card,.project-card,.render-item,.pdf-stage,.hero-copy,.hero-info,.scroll-cue{will-change:transform,opacity}.fallback .anim-ready{opacity:1;transform:none!important;clip-path:inset(0 0 0 0)!important}
@media(max-width:1120px){main>section.section-pin{padding:112px 28px 72px}.site-header{width:calc(100% - 16px)}.profile-grid,.contact-shell,.pdf-stage,.project-grid{grid-template-columns:1fr}.timeline,.modern-timeline{grid-template-columns:1fr}.pdf-carousel{min-height:620px}.pdf-slide{width:min(82%,460px)}.render-wall{columns:3 220px}.thumb-rail{padding-left:28px;padding-right:28px;margin-left:-28px;margin-right:-28px}}
@media(max-width:760px){body{cursor:auto}a,button{cursor:auto}.cursor-orb,.cursor-dot,#trailCanvas{display:none}.site-header{top:10px;width:calc(100% - 12px);padding:9px 12px}.brand span:last-child{display:none}nav a{padding:9px 10px;font-size:11px}main>section.section-pin{min-height:auto;padding:98px 16px 64px}main>section.hero{min-height:94svh}.hero-panel,.hero-copy,.hero-free{max-width:100%}.title-line{font-size:clamp(52px,17vw,100px)}.title-small .title-line,.title-sub .title-line{font-size:13px;letter-spacing:.22em}.hero-meta-strip,.hero-meta-grid{gap:8px}.hero-meta-strip span,.hero-meta-grid span{padding:8px 12px;font-size:10px}.hero-stat-line{gap:12px;padding:12px 14px}.hero-stat-line div{min-width:92px}.profile-card,.tool-panel,.experience-card,.contact-copy,.contact-card,.project-card,.pdf-stage{padding:20px}.tool-grid,.tool-grid-panel{grid-template-columns:1fr}.asset-strip{grid-template-columns:repeat(3,1fr)}.pdf-carousel{min-height:540px}.pdf-slide{width:86%}.render-wall{columns:2 160px}.contact-line{grid-template-columns:76px 1fr;gap:8px}.copy-btn{grid-column:2;justify-self:start}.cover-copy p{display:none}.play-btn{width:62px;height:62px}.section-title-en{font-size:clamp(64px,19vw,130px)}.thumb-rail{padding-left:16px;padding-right:16px;margin-left:-16px;margin-right:-16px}.lightbox::after{left:50%;top:auto;bottom:80px;transform:translateX(-50%);white-space:nowrap;font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}.cursor-orb,.cursor-dot,#trailCanvas{display:none}}


/* ===== V17 text motion inspired by uploaded reference video ===== */
.motion-text-ready{
  display:inline-block;
  overflow:hidden;
  vertical-align:bottom;
  line-height:.95;
}
.motion-char,
.motion-space{
  display:inline-block;
  transform-origin:50% 100%;
  will-change:transform,opacity,filter;
}
.motion-space{width:.32em}
.section-head h3.motion-text-ready,
.project-body h3.motion-text-ready,
.pdf-copy h3.motion-text-ready,
.contact-copy h3.motion-text-ready{
  line-height:1.08;
}
.text-reveal-wrap{
  display:inline-block;
  overflow:hidden;
  vertical-align:bottom;
}
.text-reveal-inner{
  display:inline-block;
  will-change:transform,opacity,filter;
}
.motion-blade{
  position:absolute;
  pointer-events:none;
  z-index:1;
  width:min(42vw,520px);
  height:2px;
  background:linear-gradient(90deg,transparent,rgba(200,255,0,.95),rgba(157,255,247,.45),transparent);
  transform-origin:left center;
  opacity:.0;
  mix-blend-mode:screen;
}
.section-head .motion-blade{
  left:0;
  top:clamp(88px,12vw,170px);
}
.hero .motion-blade{
  left:max(28px,calc((100vw - 1280px)/2));
  bottom:28vh;
}
@media(max-width:760px){
  .motion-space{width:.24em}
  .motion-blade{width:72vw}
}


/* ===== V18 homepage text motion: works without GSAP/CDN ===== */
.home-motion-lock .hero .motion-char,
.home-motion-lock .hero .motion-space,
.home-motion-lock .hero .text-reveal-inner,
.home-motion-lock .hero .hero-desc,
.home-motion-lock .hero .hero-cn,
.home-motion-lock .hero .hero-meta-grid span,
.home-motion-lock .hero .hero-meta-strip span,
.home-motion-lock .hero .hero-actions .btn,
.home-motion-lock .hero .hero-stat-line,
.home-motion-lock .hero .scroll-cue {
  opacity: 0;
}

.hero .motion-char,
.hero .motion-space,
.hero .text-reveal-inner {
  backface-visibility: hidden;
  transform-origin: 50% 100%;
}

@keyframes homeCharReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 125%, 0) scaleY(.52) scaleX(.94);
    filter: blur(8px);
  }
  58% {
    opacity: 1;
    transform: translate3d(0, -8%, 0) scaleY(1.08) scaleX(.98);
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scaleY(1) scaleX(1);
    filter: blur(0);
  }
}

@keyframes homeLineReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 36px, 0) scaleY(.88);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scaleY(1);
    filter: blur(0);
  }
}

@keyframes homeBladeSweep {
  0% {
    opacity: 0;
    transform: translate3d(-90px,0,0) scaleX(0);
  }
  32% {
    opacity: .92;
    transform: translate3d(0,0,0) scaleX(1);
  }
  100% {
    opacity: 0;
    transform: translate3d(180px,0,0) scaleX(1);
  }
}

.home-motion-played .hero .motion-char {
  animation-name: homeCharReveal;
  animation-duration: 1080ms;
  animation-timing-function: cubic-bezier(.16,1,.3,1);
  animation-fill-mode: both;
  animation-delay: calc(var(--i, 0) * 18ms + 120ms);
}

.home-motion-played .hero .title-mask:nth-child(2) .motion-char {
  animation-delay: calc(var(--i, 0) * 18ms + 240ms);
}

.home-motion-played .hero .title-mask:nth-child(3) .motion-char {
  animation-delay: calc(var(--i, 0) * 16ms + 380ms);
}

.home-motion-played .hero .text-reveal-inner,
.home-motion-played .hero .hero-desc,
.home-motion-played .hero .hero-cn,
.home-motion-played .hero .hero-meta-grid span,
.home-motion-played .hero .hero-meta-strip span,
.home-motion-played .hero .hero-actions .btn,
.home-motion-played .hero .hero-stat-line,
.home-motion-played .hero .scroll-cue {
  animation-name: homeLineReveal;
  animation-duration: 900ms;
  animation-timing-function: cubic-bezier(.16,1,.3,1);
  animation-fill-mode: both;
}

.home-motion-played .hero .text-reveal-inner { animation-delay: 520ms; }
.home-motion-played .hero .hero-desc,
.home-motion-played .hero .hero-cn { animation-delay: 620ms; }
.home-motion-played .hero .hero-meta-grid span:nth-child(1),
.home-motion-played .hero .hero-meta-strip span:nth-child(1) { animation-delay: 700ms; }
.home-motion-played .hero .hero-meta-grid span:nth-child(2),
.home-motion-played .hero .hero-meta-strip span:nth-child(2) { animation-delay: 750ms; }
.home-motion-played .hero .hero-meta-grid span:nth-child(3),
.home-motion-played .hero .hero-meta-strip span:nth-child(3) { animation-delay: 800ms; }
.home-motion-played .hero .hero-meta-grid span:nth-child(4),
.home-motion-played .hero .hero-meta-strip span:nth-child(4) { animation-delay: 850ms; }
.home-motion-played .hero .hero-actions .btn:nth-child(1) { animation-delay: 900ms; }
.home-motion-played .hero .hero-actions .btn:nth-child(2) { animation-delay: 960ms; }
.home-motion-played .hero .hero-actions .btn:nth-child(3) { animation-delay: 1020ms; }
.home-motion-played .hero .hero-stat-line { animation-delay: 1060ms; }
.home-motion-played .hero .scroll-cue { animation-delay: 1120ms; }

.home-motion-played .hero .motion-blade {
  animation: homeBladeSweep 1250ms cubic-bezier(.16,1,.3,1) 360ms both;
}

@media (prefers-reduced-motion: reduce) {
  .home-motion-lock .hero .motion-char,
  .home-motion-lock .hero .motion-space,
  .home-motion-lock .hero .text-reveal-inner,
  .home-motion-lock .hero .hero-desc,
  .home-motion-lock .hero .hero-cn,
  .home-motion-lock .hero .hero-meta-grid span,
  .home-motion-lock .hero .hero-meta-strip span,
  .home-motion-lock .hero .hero-actions .btn,
  .home-motion-lock .hero .hero-stat-line,
  .home-motion-lock .hero .scroll-cue {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
    filter: none !important;
  }
}


/* ===== V20 compact intro redesign ===== */
main>section.intro.section-pin{min-height:auto;padding-top:84px;padding-bottom:44px} 
.intro .section-head.compact{max-width:1280px;margin-left:auto;margin-right:auto;margin-bottom:18px} 
.intro .section-head.compact .section-title-en{margin-bottom:-18px} 
.intro-copy.intro-compact-card{padding:18px 20px 20px;max-width:1280px} 
.intro-stats{margin-top:0} 
.intro-stats div{min-height:126px;display:flex;flex-direction:column;justify-content:center} 
.intro-stats b{font-size:52px;line-height:.92;letter-spacing:-.04em} 
.intro-stats span{margin-top:8px;font-size:13px;letter-spacing:.14em;color:rgba(255,255,255,.74)} 
.intro-badges{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px} 
.intro-badges span{padding:10px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.05);font-size:11px;letter-spacing:.18em;color:rgba(255,255,255,.82)} 
@media(max-width:760px){main>section.intro.section-pin{padding-top:74px;padding-bottom:30px}.intro-copy.intro-compact-card{padding:14px 14px 16px}.intro-stats{grid-template-columns:1fr}.intro-stats div{min-height:96px}.intro-stats b{font-size:42px}}
