/* V2 — depth, restrained light and a project reading rhythm. */
:root{--paper:#0d1916;--panel:#152720;--line:#334b3e;--accent:#c4dfb2;--muted:#adbbb1}
body{background-image:radial-gradient(ellipse 85% 800px at 80% -180px,#456b4538,transparent 75%)}
.reading-progress{height:2px;position:fixed;inset:0 0 auto;z-index:80;background:#c4dfb210;pointer-events:none}.reading-progress span{height:100%;display:block;background:var(--accent);width:100%;transform:scaleX(var(--page-progress,0));transform-origin:left;box-shadow:0 0 14px #c4dfb244}
.site-header{background:#0e1d1740;border-color:#8ba77c12}.scrolled .site-header{background:#16271fcf;box-shadow:0 12px 45px #01090455}.site-header nav a{font-size:16px}.site-header nav a.active{background:#b9d7ab19}
.v2-home .hero{position:relative;isolation:isolate;min-height:min(940px,100svh);padding-top:155px;padding-bottom:20px}.v2-home .hero::before{content:'';position:absolute;width:650px;height:650px;max-width:65vw;max-height:65vw;right:-40px;top:100px;border:1px solid #a8c18c10;border-radius:50%;z-index:-1;pointer-events:none;background:radial-gradient(ellipse,#8db47c08,transparent 68%)}
.v2-home .hero-layout{grid-template-columns:minmax(0,1fr) 310px;column-gap:95px}.v2-home h1{font-size:clamp(64px,6.8vw,98px);letter-spacing:-.065em;font-weight:500;line-height:1.06}.v2-home .native-name{font-size:20px;letter-spacing:.18em}.v2-home .hero-kicker{display:flex;align-items:center;gap:12px;font-size:18px;letter-spacing:.025em;margin-bottom:19px}.v2-home .hero-kicker::before{content:'';width:6px;height:6px;flex-shrink:0;background:var(--accent);border-radius:50%;box-shadow:0 0 0 5px #bbdbaa0a}.v2-home .hero-role{font-size:23px}.v2-home .hero-bio{font-size:21px;line-height:1.85;max-width:640px}.v2-home .hero-description{margin-top:30px}.v2-home .hero-actions{margin-top:27px}.v2-home .button{border-radius:30px;min-height:58px}.v2-home .button-primary{background:#c4dfb2;box-shadow:0 8px 35px #a0c08b0c}.v2-home .button-secondary{border-color:#506c57;background:transparent}.v2-home .hero-email{font-size:18px}.v2-home .hero-footer{margin-top:62px;letter-spacing:.01em;font-size:16px;border-bottom:1px solid #71826735}
.v2-home .portrait{transform:translateY(var(--portrait-lift,0px));transition:transform .1s linear;padding:0 12px 0 0}.v2-home .portrait-mat{position:absolute;inset:-20px -20px 48px 22px;border:1px solid #7e9f6c38;border-radius:140px 140px 30px 30px;background:linear-gradient(150deg,#4b6a4b1c,#8da96e07);transform:rotate(7deg);z-index:-1}.v2-home .portrait-surface{aspect-ratio:4/5;border-radius:140px 140px 28px 28px;box-shadow:0 25px 80px #02090466,10px 10px 0 #56714716;border-color:#b8cbaa4d}.v2-home .portrait img{filter:brightness(.94) saturate(.74)}.v2-home .portrait figcaption{font-size:16px;margin-top:24px;line-height:1.5}
.v2-home .experience-chapter{margin-top:46px}.v2-home .chapter-bridge{height:420px;min-height:340px;max-height:450px;background:none;overflow:hidden;isolation:isolate;display:flex;align-items:center;justify-content:center}.v2-home .chapter-landscape{position:absolute;inset:-120px 0;background:url('assets/forest-parallax.png') center 52%/cover no-repeat;transform:translateY(var(--landscape-shift,0px)) scale(1.04);z-index:-2;will-change:transform}.v2-home .chapter-bridge::before{background:linear-gradient(180deg,#0a181350,#0d211b35 40%,#0b181380)}.v2-home .chapter-caption{padding:40px 24px 64px;transform:translateY(var(--caption-shift,0px));will-change:transform}.v2-home .chapter-caption h2{font-size:clamp(42px,4vw,56px);letter-spacing:-.045em;margin-top:17px;font-weight:500}.v2-home .chapter-caption p{font-size:18px;color:#d5dfcf}
.v2-home .foreground-sheet{margin:-44px var(--sheet-inset,22px) 0;border-radius:var(--sheet-radius,36px) var(--sheet-radius,36px) 0 0;padding:52px 0 18px;border-top:1px solid #a2bd8a35;background:var(--paper);box-shadow:0 -18px 55px #05110a55;transition:border-radius .1s,margin .1s}.v2-home .foreground-sheet .page-width{width:min(100% - 2*var(--gutter),1160px)}.v2-home .experience-grid{gap:70px}.v2-home .work-entry{padding:29px 0 30px;border-top:1px solid #5e785249}.v2-home .work-entry h3{font-size:33px;letter-spacing:-.035em}.v2-home .work-description{font-size:21px}.v2-home .work-role{font-size:19px;color:#bed6ac}.v2-home .work-details{margin-top:20px}
.v2-home .work-section{padding-top:98px;padding-bottom:90px}.work-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:68px;align-items:start}.work-sidebar{position:sticky;top:140px;padding-top:6px}.work-sidebar>.section-label{font-size:17px;line-height:1.7;max-width:230px}.work-sidebar h2{font-size:clamp(42px,4.1vw,58px);font-weight:450;line-height:1.08;letter-spacing:-.055em;margin-top:20px;max-width:260px}.project-rail{display:flex;flex-direction:column;gap:0;margin-top:43px}.project-rail a{display:grid;grid-template-columns:26px minmax(0,1fr) 18px;align-items:baseline;gap:12px;border-top:1px solid #71826724;padding:20px 0;color:#91a293;font-size:17px;line-height:1.5;transition:color .25s,transform .25s}.project-rail a:last-child{border-bottom:1px solid #71826724}.rail-number{font-size:14px;font-family:var(--sans);color:#6f8b74}.rail-arrow{color:#bed6ac;opacity:0;transform:translate(-5px,5px);transition:transform .25s,opacity .25s}.project-rail a.active{color:#e5efd9;transform:translateX(5px)}.project-rail a.active .rail-arrow,.project-rail a:hover .rail-arrow{opacity:1;transform:none}.all-projects-link{margin-top:31px;font-size:17px}
.v2-home .project-list{gap:65px}.v2-home .project{position:relative;background:linear-gradient(125deg,#1c3025bd,#13251e);border:1px solid #4b67405e;padding:33px 34px 25px;border-radius:26px;overflow:hidden;box-shadow:0 22px 60px #0610091a;scroll-margin-top:120px;transition:border-color .4s,box-shadow .4s,transform .4s}.v2-home .project::before{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(400px circle at var(--pointer-x,100%) var(--pointer-y,0%),#d2e9a909,transparent 70%);opacity:0;transition:opacity .4s}.v2-home .project:hover{transform:none;border-color:#7798669c;box-shadow:0 26px 70px #02090638}.v2-home .project:hover::before{opacity:1}.v2-home .project h3{font-size:34px;line-height:1.3;letter-spacing:-.035em;margin-top:19px}.v2-home .project-description{font-size:20px;line-height:1.85;margin-top:25px}.v2-home .project-outcome{font-size:19px;color:#c6dfb8;border-left:2px solid #95b682;padding-left:15px;margin-top:23px}.v2-home .project-category,.v2-home .project-date{font-size:16px}.v2-home .project-details{border-top:1px solid #7a966225;padding-top:6px;margin-top:24px}.v2-home .details-content{font-size:19px}.v2-home .project summary{width:100%;font-size:18px}.v2-home .project .expand-mark{color:#b8d89f}.v2-home .work-end{justify-content:flex-end;margin-top:35px}.v2-home .work-end>p{max-width:810px;font-size:18px}
.project-visual{position:relative;margin-top:30px;padding:24px 25px 20px;border:1px solid #819f652b;border-radius:18px;background:radial-gradient(ellipse at 90% 10%,#8da66516,transparent 72%),#09181170;overflow:hidden}.visual-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.visual-label{font-size:16px;letter-spacing:.01em;color:#c6d5bc}.diagram-number{font:italic 30px/1 var(--serif);color:#8daa6b6e}.demo-switch{display:flex;gap:6px;flex-wrap:wrap;margin-top:20px}.demo-switch button{border:1px solid transparent;background:none;font-size:16px;line-height:1.4;border-radius:8px;padding:10px 14px;color:#9eb095;min-height:44px}.demo-switch button.selected{border-color:#8cae6744;background:#8ead6b15;color:#e1eacc}.demo-switch button:hover{color:#fff;background:#8ead6b20}.diagram-panel{display:flex;justify-content:space-between;align-items:center;gap:19px;min-height:145px;padding-top:24px;padding-bottom:10px}.diagram-panel[hidden]{display:none}.method-sources{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;flex:1;align-self:stretch;align-content:center}.method-sources span{padding:14px 6px;border:1px solid #87a26740;border-radius:9px;color:#d6e2bd;text-align:center;font-size:17px;line-height:1.4;background:#31502b25}.diagram-connector{height:1px;width:24px;background:#9bbd7655;position:relative;flex-shrink:0}.diagram-connector::after{content:'›';position:absolute;right:-3px;top:-17px;color:#b5ca99;font-size:20px}.diagram-node{display:flex;flex-direction:column;gap:10px;color:#98ac8c;flex:1;font-size:16px;line-height:1.4}.diagram-node strong{font-weight:450;color:#dbe6cc;font-size:19px}.visual-caption{font-size:16px;line-height:1.7;color:#9eb095;margin-top:11px;min-height:55px}.evaluation-stat{display:flex;flex-direction:column;gap:6px;flex:1}.evaluation-stat strong{font-weight:400;font-size:45px;letter-spacing:-.04em;line-height:1;color:#d1e4b7}.evaluation-stat span{font-size:16px;color:#9db18e}.architecture-frame{position:relative;border:1px dashed #89a36b50;border-radius:12px;margin-top:28px;padding:32px 19px 24px}.container-label{position:absolute;top:-13px;left:16px;background:#13251b;padding:0 10px;color:#a4be8b;font-size:16px}.architecture-nodes{display:grid;grid-template-columns:1fr 32px 1fr;align-items:center;gap:8px}.architecture-node{display:flex;flex-direction:column;align-items:center;gap:8px;line-height:1.45;text-align:center;font-size:16px;color:#9aaf8d}.architecture-node strong{font-weight:500;color:#dae7c5;font-size:21px}.node-symbol{color:#bdd996;font-size:30px;line-height:1}.architecture-link{color:#a3bf7e;font-size:24px;align-self:center}.vm-node{display:flex;align-items:center;flex-direction:column;gap:8px;padding:17px 13px;border:1px solid #89a26d42;background:#7b9d4c0b;border-radius:12px;min-width:105px;text-align:center;font-size:16px;line-height:1.3;color:#98ad8c}.vm-node strong{font-size:20px;color:#d6e4c0;font-weight:450}.vm-status{width:5px;height:5px;border-radius:50%;background:#a4c876;box-shadow:0 0 0 4px #9fbd7512}.migration-path{min-width:0;flex:1;text-align:center;font-size:14px;line-height:1.5;color:#92a583}.migration-path>div{color:#9fbd76;font-size:21px;letter-spacing:.05em}.benchmark-panel{gap:15px;align-items:stretch}.benchmark-panel>div{display:flex;flex:1;flex-direction:column;gap:6px;line-height:1.4;justify-content:center}.benchmark-panel span{font-size:14px;color:#759458}.benchmark-panel strong{font-size:19px;font-weight:450;color:#d4e0bf}.benchmark-panel small{font-size:14px;color:#97aa87}
.v2-home .contact-section{padding-bottom:60px}.v2-home .contact-panel{position:relative;overflow:hidden;border-radius:30px;padding:68px 60px;background:radial-gradient(ellipse 70% 180% at 95% 100%,#60754433,transparent 75%),#17281f;border-color:#6b84543b}.v2-home .contact-panel::after{content:'';position:absolute;right:-90px;top:-210px;width:520px;height:520px;border:1px solid #9caf6c16;border-radius:50%;pointer-events:none}.v2-home .contact-panel h2{font:500 clamp(50px,5.8vw,78px)/1.1 var(--serif);letter-spacing:-.045em}.v2-home .email-link{font-size:clamp(24px,3.2vw,41px);font-weight:400;letter-spacing:-.03em}.v2-home .site-footer{padding-bottom:35px}
@media(max-width:1100px){.work-layout{grid-template-columns:230px minmax(0,1fr);gap:38px}.work-sidebar h2{font-size:48px}.v2-home .project{padding:27px}.v2-home .project h3{font-size:30px}.project-visual{padding-inline:20px}.v2-home .hero-layout{grid-template-columns:minmax(0,1fr) 260px;column-gap:50px}.v2-home h1{font-size:72px}.v2-home .hero{min-height:900px}.v2-home .portrait-mat{inset:-15px -15px 55px 14px}}
@media(max-width:900px){.work-layout{display:block}.work-sidebar{position:relative;top:0;padding:0}.work-sidebar>.section-label{max-width:none}.work-sidebar h2{max-width:none;font-size:50px}.project-rail{flex-direction:row;gap:20px;margin-top:30px;margin-bottom:30px}.project-rail a{flex:1;grid-template-columns:22px minmax(0,1fr);font-size:16px;gap:7px;padding:16px 0;border-bottom:1px solid #71826724}.rail-arrow{display:none}.all-projects-link{margin-top:0;margin-bottom:34px}.v2-home .project-list{gap:35px}.v2-home .project{padding:32px}.v2-home .project h3{font-size:34px}.v2-home .hero-layout{grid-template-columns:minmax(0,1fr) 210px;column-gap:30px}.v2-home h1{font-size:64px}.v2-home .hero-role{font-size:21px}.v2-home .hero-bio{font-size:20px}.v2-home .chapter-bridge{height:340px;min-height:300px}.v2-home .portrait{transform:none!important}.v2-home .portrait figcaption{font-size:16px}.v2-home .foreground-sheet{margin-inline:0!important;border-radius:30px 30px 0 0!important}.v2-home .hero::before{right:0;top:170px}}
@media(max-width:600px){.v2-home .hero{padding-top:125px;min-height:0;padding-bottom:0}.v2-home .hero-layout{grid-template-columns:minmax(0,1fr) 105px;column-gap:20px}.v2-home .hero-kicker{font-size:17px;gap:10px;letter-spacing:0;margin-bottom:14px}.v2-home .hero-kicker::before{display:none}.v2-home h1{font-size:clamp(40px,10.7vw,58px);letter-spacing:-.055em}.v2-home .native-name{font-size:18px;letter-spacing:.08em}.v2-home .portrait{margin-top:20px;padding:0}.v2-home .portrait-mat{inset:-8px -6px 0 10px;border-radius:65px 65px 16px 16px}.v2-home .portrait-surface{border-radius:65px 65px 16px 16px;box-shadow:0 15px 45px #0004}.v2-home .hero-description{display:contents}.v2-home .hero-role{font-size:20px;margin-top:25px;line-height:1.6}.v2-home .hero-bio{font-size:20px;line-height:1.85;margin-top:28px}.v2-home .hero-actions{margin-top:24px}.v2-home .button{border-radius:28px}.v2-home .hero-footer{margin-top:35px;line-height:1.7;font-size:16px;gap:25px}.v2-home .hero::before{display:none}.v2-home .experience-chapter{margin-top:38px}.v2-home .chapter-bridge{height:290px;min-height:270px}.v2-home .chapter-caption h2{font-size:clamp(34px,8.8vw,44px);margin-top:14px}.v2-home .chapter-caption p{font-size:17px}.v2-home .chapter-caption{padding-bottom:65px;transform:none!important}.v2-home .chapter-landscape{inset:0;transform:none!important;background-position:center}.v2-home .foreground-sheet{padding-top:33px}.v2-home .work-entry{padding-top:24px;padding-bottom:15px}.v2-home .work-entry h3{font-size:30px}.v2-home .experience-grid{gap:28px}.v2-home .work-description{font-size:20px}.v2-home .work-section{padding-top:65px;padding-bottom:60px}.work-sidebar h2{font-size:45px;line-height:1.15}.work-sidebar>.section-label{font-size:17px}.project-rail{display:none}.all-projects-link{margin-top:18px;margin-bottom:29px}.v2-home .project-list{gap:25px}.v2-home .project{padding:26px 22px 20px;border-radius:22px}.v2-home .project h3{font-size:28px;line-height:1.45}.v2-home .project-description{font-size:20px;line-height:1.8}.v2-home .project-outcome{font-size:19px}.project-visual{margin-top:25px;padding:21px 16px 18px;border-radius:14px}.visual-heading{gap:10px}.visual-label{font-size:16px;line-height:1.6}.diagram-number{font-size:27px}.demo-switch{gap:3px;margin-top:15px}.demo-switch button{padding:9px 11px;font-size:16px}.diagram-panel{min-height:145px;gap:12px;padding-top:20px}.method-sources{grid-template-columns:1fr;gap:6px;flex:.75}.method-sources span{padding:6px 12px;font-size:16px}.diagram-connector{width:20px}.diagram-node{font-size:16px;gap:9px}.diagram-node strong{font-size:18px}.evaluation-stat strong{font-size:38px}.visual-caption{font-size:16px;line-height:1.7;min-height:0;margin-top:15px}.architecture-frame{padding-inline:10px;padding-top:26px}.architecture-nodes{grid-template-columns:1fr 25px 1fr;gap:2px}.architecture-node{font-size:16px}.architecture-node strong{font-size:20px}.architecture-link{font-size:22px}.vm-node{min-width:78px;padding:14px 6px;font-size:15px}.vm-node strong{font-size:18px}.migration-path{font-size:13px}.migration-path>div{font-size:17px;letter-spacing:0}.migration-panel{gap:7px}.benchmark-panel{flex-direction:column;gap:15px;padding-top:22px}.benchmark-panel>div{display:grid;grid-template-columns:24px 1fr;gap:4px 9px}.benchmark-panel small{grid-column:2;font-size:15px}.benchmark-panel strong{font-size:18px}.v2-home .project-details{margin-top:22px}.v2-home .contact-panel{padding:40px 25px}.v2-home .contact-panel h2{font-size:54px}.v2-home .email-link{font-size:clamp(19px,5vw,27px);letter-spacing:-.04em}.v2-home .contact-description{font-size:20px}.v2-home .contact-section{padding-bottom:40px}}
@media(max-width:360px){.v2-home .hero{padding-top:116px}.v2-home .hero-layout{grid-template-columns:minmax(0,1fr) 90px;column-gap:15px}.v2-home .hero-kicker{font-size:16px}.v2-home .hero-role{font-size:20px}.v2-home .work-entry h3{font-size:28px}.v2-home .project{padding-inline:19px}.project-visual{padding-inline:13px}.vm-node{min-width:63px;font-size:14px}.migration-path{font-size:12px}.migration-path>div{font-size:13px}.diagram-node strong{font-size:17px}.v2-home .contact-panel{padding-inline:20px}}
@media(prefers-reduced-motion:reduce){.v2-home .portrait,.v2-home .chapter-caption,.v2-home .chapter-landscape{transform:none!important;will-change:auto}.v2-home .foreground-sheet{margin-inline:0!important;border-radius:30px 30px 0 0!important}.project-rail a{transform:none!important}}
@media print{.reading-progress,.project-rail,.project-visual,.portrait-mat{display:none}.work-layout{display:block}.work-sidebar{position:relative;top:0}.v2-home .hero::before{display:none}.v2-home .project{background:white;color:black;box-shadow:none;break-inside:avoid}.v2-home .project-description,.v2-home .project-outcome{color:#333}.v2-home .foreground-sheet{margin-inline:0}.v2-home .contact-panel{background:white}.v2-home .contact-panel h2{color:black}}
@media(min-width:901px){.project-visual{margin-top:25px;padding-top:22px;padding-bottom:18px}.diagram-panel{min-height:120px;padding-top:19px}.visual-caption{min-height:30px;margin-top:10px}.demo-switch{margin-top:16px}.v2-home .project-description{margin-top:23px}html[lang=zh-Hant] .work-sidebar h2{font-size:50px}}
@media(max-width:600px){.migration-path{font-size:14px}.migration-panel .vm-node{font-size:16px}}
