:root{--paper:#fff;--ink:#111;--line:#d6d6d6}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:white;color:#111;font-family:Arial,'PingFang SC','Microsoft YaHei',sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}a,button{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible{outline:2px solid #444;outline-offset:6px}::selection{color:white;background:#111}i{font:inherit}.skip-link{position:fixed;top:-100px;background:#111;color:white;padding:12px;z-index:60}.skip-link:focus{top:10px}.progress{position:fixed;top:0;left:0;height:2px;background:#111;z-index:50}header{height:76px;padding:0 28px;display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;z-index:20;background:#fffffff2;backdrop-filter:blur(10px)}.logo{font-size:24px;font-weight:700;letter-spacing:-1.5px}.logo span{font-size:14px;font-weight:400;letter-spacing:0;margin-left:18px}nav{display:flex;gap:32px;font-size:14px}.nav-contact{margin-left:45px}nav a{padding:10px 0}nav a:hover{opacity:.5}.hero{padding:20px 0 35px;overflow:hidden}.hero-top{display:flex;justify-content:space-between;margin:0 28px;font-size:12px}.hero-top time{margin-left:12px}.hero-stage{position:relative;padding-top:125px}.hero-identity{display:flex;gap:45px;align-items:flex-start;margin-left:17vw;position:relative;z-index:2;pointer-events:none}.hero-identity a{pointer-events:auto}.hero h1{font-size:clamp(130px,21vw,360px);font-weight:800;letter-spacing:-.105em;line-height:.78;margin:0 15px 0 0}.hero-statement{padding-top:2px;min-width:230px}.hero-statement p{font-size:16px;margin:0 0 18px}.hero-statement h2{font-size:24px;line-height:1.5;font-weight:400;margin:0 0 20px}.text-link{display:inline-block;border-bottom:1px solid;padding-bottom:7px;font-size:14px}.hero-mosaic{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin: -70px -9vw 0}.hero-mosaic a{min-width:0;will-change:transform}.hero-mosaic a:nth-child(2){padding-top:260px}.hero-mosaic a:nth-child(3){padding-top:115px}.hero-mosaic a:nth-child(4){padding-top:310px}.hero-mosaic img{width:100%;aspect-ratio:3/4;object-fit:cover;display:block;transition:filter .4s}.hero-mosaic a:hover img{filter:brightness(.88)}.hero-mosaic span{font-size:13px;display:block;margin-top:12px}.hero-bottom{display:flex;align-items:center;justify-content:space-between;margin:45px 28px 0;font-size:13px}.hero-bottom>span:last-child{font-size:12px;text-align:right;line-height:1.5}.scroll-link{display:flex;align-items:center;gap:20px}.scroll-line{height:30px;width:1px;background:#111}.profile{padding:140px 4% 110px;display:grid;grid-template-columns:1fr 3fr;gap:50px}.profile-label{font-size:14px;padding-top:10px}.profile-intro{display:flex;justify-content:space-between;gap:40px}.eyebrow{font-size:14px;line-height:1.7}.profile h2,.strengths h2{font-size:clamp(35px,4.2vw,74px);font-weight:400;line-height:1.4;letter-spacing:-.04em;margin:22px 0 0}.profile-portrait{width:24%;object-fit:cover;aspect-ratio:3/4;align-self:flex-start;filter:grayscale(1)}.bio-copy{max-width:670px;font-size:17px;line-height:1.9;margin:35px 0}.bio-copy p{margin:0 0 18px}.profile-actions{display:flex;gap:25px;align-items:center;flex-wrap:wrap;font-size:14px}.profile-actions .text-link span{font-size:11px;margin-left:15px;color:#666}.career-stats{display:grid;grid-template-columns:repeat(3,1fr);padding:45px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:55px 0}.career-stats strong{display:block;font-size:clamp(40px,5vw,72px);font-weight:400;letter-spacing:-.05em}.career-stats span{display:block;font-size:14px;margin-top:12px}.experience-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 20px}.experience-heading h3{font-size:18px;font-weight:400;margin:0}.experience-heading span{font-size:12px}.experience>div{display:grid;grid-template-columns:160px 1fr;gap:20px;border-top:1px solid var(--line);padding:22px 0;align-items:center}.experience span{font-size:13px}.experience p{font-size:16px;margin:0}.work{padding:60px 28px 100px}.section-top{display:flex;justify-content:space-between;gap:20px;font-size:13px}.work-heading{display:flex;align-items:flex-end;justify-content:space-between;margin:65px 0 35px}.work-heading h2{font-size:clamp(60px,9vw,150px);font-weight:400;line-height:1;letter-spacing:-.07em;margin:0}.work-heading>span{font-size:14px;padding-bottom:8px}.filters{display:flex;gap:25px;margin:40px 0 55px}.filters button{font-size:14px;border:0;background:none;color:#777;padding:8px 0;border-bottom:1px solid transparent}.filters .active{color:#111;border-bottom-color:#111}.projects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:75px 18px;align-items:start}.project-card{border:0;padding:0;background:none;width:100%;text-align:left;min-width:0}.project-card:nth-child(3n+2){margin-top:120px}.project-card:nth-child(3n){margin-top:45px}.project-image{position:relative;aspect-ratio:3/4;overflow:hidden;background:#eee}.project-image img{width:100%;height:100%;object-fit:cover;transition:transform .7s}.project-card:hover img{transform:scale(1.035)}.view{position:absolute;bottom:20px;left:20px;background:white;padding:12px 20px;font-size:14px;opacity:0;transform:translateY(10px);transition:.3s}.project-card:hover .view,.project-card:focus-visible .view{opacity:1;transform:none}.project-meta{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-top:16px}.project-meta h3{font-size:18px;font-weight:400;margin:0}.project-meta span{font-size:12px;white-space:nowrap}.project-en{font-size:11px;letter-spacing:.03em;color:#666;margin-top:8px}.archive .project-image{aspect-ratio:16/10}.archive .project-card:nth-child(n){margin-top:0}.strengths{padding:100px 4% 130px}.strengths-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:40px;margin:25px 0 60px}.strengths-heading>p{font-size:16px;line-height:1.8}.strength-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0}.strength-card{border:1px solid var(--line);padding:30px 25px;display:flex;flex-direction:column;margin-left:-1px}.strength-symbol{font-size:50px;line-height:1.4;margin-bottom:35px}.strength-card .eyebrow{color:#666;margin:0 0 12px}.strength-card h3{font-size:23px;line-height:1.5;font-weight:400;margin:0 0 22px}.strength-card>p:last-of-type{font-size:16px;line-height:1.8;margin:0 0 35px;color:#555}.card-bottom{font-size:12px;padding-top:25px;border-top:1px solid var(--line);margin-top:auto}.contact{background:#101010;color:white;padding:45px 4% 0}.contact-intro{font-size:17px;line-height:1.8;margin-top:60px;color:#c7c7c7}.contact-title{display:flex;justify-content:space-between;align-items:center;font-size:clamp(60px,12vw,185px);letter-spacing:-.065em;line-height:1.3;margin:30px 0 60px}.contact-title span{font-size:.8em;transition:transform .7s}.contact-title:hover span{transform:rotate(90deg)}.contact-links{display:flex;gap:40px;align-items:center;font-size:20px;margin-bottom:100px}.contact-links button{border:1px solid #777;color:white;background:none;padding:12px 22px;font-size:14px}.contact footer{border-top:1px solid #444;display:flex;justify-content:space-between;padding:25px 0;font-size:12px}dialog{border:0;padding:0;background:white;color:#111;width:100%;max-width:none;height:100%;max-height:none;overscroll-behavior:contain}dialog::backdrop{background:#111b}.dialog-bar{position:sticky;top:0;z-index:3;display:flex;justify-content:space-between;padding:18px 4%;background:#fffffff5;border-bottom:1px solid var(--line);align-items:center;font-size:14px}.dialog-bar button{border:0;background:none;padding:8px}.dialog-bar button span{font-size:25px;margin-left:20px}.detail{padding:50px 7% 90px}.detail>p{font-size:14px;letter-spacing:.06em}.detail h2{font-size:clamp(38px,6vw,85px);font-weight:400;margin:20px 0}.detail #project-en{margin-bottom:50px}#gallery{display:grid;gap:24px}#gallery img{width:100%;height:auto;display:block;background:#ddd}#next{display:block;margin:60px auto 0;border:1px solid #111;padding:18px 45px;background:none}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#111;color:white;padding:15px 25px;z-index:50;opacity:0;pointer-events:none}.toast.show{opacity:1}.reveal{animation:appear .65s both}@keyframes appear{from{opacity:0;transform:translateY(25px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1000px){.strength-grid{grid-template-columns:repeat(2,1fr);row-gap:20px}.profile{grid-template-columns:1fr 4fr;gap:25px}.hero-statement h2{font-size:20px}.hero-identity{gap:25px}.hero-statement{min-width:200px}.hero-mosaic a:nth-child(2){padding-top:200px}.hero-mosaic a:nth-child(4){padding-top:230px}}
@media(max-width:640px){html{scroll-padding-top:75px}header{height:70px;padding:0 18px}.logo{font-size:22px}.logo span{display:none}nav{gap:17px;font-size:12px}.nav-contact{margin-left:0}.hero-top{margin:0 18px;font-size:10px}.hero-top time{display:none}.hero-stage{padding-top:75px}.hero-identity{margin:0 18px;display:block}.hero h1{font-size:29vw;margin-bottom:30px}.hero-statement{margin-left:36%;min-width:0}.hero-statement p{font-size:12px;margin-bottom:12px}.hero-statement h2{font-size:20px;margin-bottom:15px}.hero-mosaic{grid-template-columns:repeat(3,minmax(0,1fr));margin:30px -15% 0;gap:8px}.hero-mosaic a:nth-child(1){padding-top:0}.hero-mosaic a:nth-child(2){padding-top:80px}.hero-mosaic a:nth-child(3){padding-top:20px}.hero-mosaic a:nth-child(n+4){display:none}.hero-mosaic span{font-size:11px;margin-top:10px}.hero-bottom{margin:35px 18px 0;font-size:12px}.hero-bottom>span:last-child{display:none}.hero-bottom>span:first-child{max-width:110px;line-height:1.6}.scroll-link{gap:10px}.profile{display:block;padding:75px 20px}.profile-label{margin-bottom:30px}.profile-intro{gap:18px}.profile-intro .eyebrow{font-size:12px}.profile h2{font-size:30px}.profile-portrait{width:26%;margin-top:12px}.bio-copy{font-size:16px;margin:28px 0}.profile-actions{gap:20px;font-size:13px}.career-stats{margin:35px 0;padding:30px 0}.career-stats strong{font-size:40px}.career-stats span{font-size:12px}.experience>div{grid-template-columns:100px 1fr;gap:14px}.experience span{font-size:12px}.experience p{font-size:14px}.work{padding:45px 18px 65px}.section-top{font-size:11px}.work-heading{margin:40px 0 25px}.work-heading h2{font-size:17vw}.work-heading>span{font-size:12px}.filters{gap:22px;margin:25px 0 35px}.filters button{font-size:13px}.projects{grid-template-columns:repeat(2,minmax(0,1fr));gap:35px 12px}.project-card:nth-child(n){margin:0}.project-card:nth-child(even){margin-top:70px}.project-meta{display:block;margin-top:12px}.project-meta h3{font-size:16px}.project-meta span{display:block;font-size:11px;color:#666;margin-top:8px}.project-en{display:none}.view{display:none}.archive .project-image{aspect-ratio:3/4}.strengths{padding:60px 20px 75px}.strengths-heading{display:block;margin:25px 0 35px}.strengths h2{font-size:34px}.strengths-heading>p{font-size:15px;margin-top:25px}.strength-grid{grid-template-columns:1fr;gap:15px}.strength-card{padding:25px;margin:0}.strength-symbol{font-size:38px;margin-bottom:20px}.strength-card h3{font-size:22px}.strength-card>p:last-of-type{font-size:16px;margin-bottom:25px}.contact{padding:35px 20px 0}.contact-intro{font-size:15px;margin-top:40px}.contact-title{font-size:14vw;margin:30px 0 40px}.contact-links{flex-direction:column;align-items:flex-start;gap:22px;font-size:18px;margin-bottom:60px}.contact footer{font-size:10px;gap:15px}.detail{padding:30px 5% 60px}#gallery{gap:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.hero-mosaic a{transform:none!important}}
/* Spatial entrance and flowing gallery, using the site's own project imagery. */
.hero-identity h1{animation:identity-in 1.2s cubic-bezier(.16,1,.3,1) both}.hero-statement{animation:identity-in 1.1s .15s both}.gallery-viewport{perspective:1400px;overflow:visible;touch-action:pan-y;cursor:grab}.gallery-viewport.dragging{cursor:grabbing}.hero-mosaic{transform-style:preserve-3d}.hero-mosaic a{transition:filter .3s;transform-style:preserve-3d;animation:gallery-in 1.4s cubic-bezier(.16,1,.3,1) both}.hero-mosaic a:nth-child(2){animation-delay:.1s}.hero-mosaic a:nth-child(3){animation-delay:.2s}.hero-mosaic a:nth-child(4){animation-delay:.3s}.hero-mosaic a:nth-child(5){animation-delay:.4s}.hero-mosaic .duplicate{display:none}.gallery-controls{margin:40px 28px 0;display:flex;align-items:center;gap:20px;font-size:12px}.gallery-controls>div{display:flex;gap:20px}.gallery-controls button{background:none;border:0;border-bottom:1px solid transparent;padding:8px 0;color:#777;font-size:13px}.gallery-controls button.active{border-color:#111;color:#111}.gallery-controls .motion-toggle{margin-left:auto;color:#111}.gallery-hint{color:#666}.flow-mode .gallery-viewport{overflow:hidden;position:relative;margin-top:65px;padding:45px 0 10px;isolation:isolate}.flow-mode .gallery-viewport:before,.flow-mode .gallery-viewport:after{content:'';position:absolute;top:0;bottom:0;width:5%;z-index:3;pointer-events:none;backdrop-filter:blur(1px);background:linear-gradient(90deg,#fffc,#fff0)}.flow-mode .gallery-viewport:before{left:0}.flow-mode .gallery-viewport:after{right:0;transform:rotate(180deg)}.flow-mode .hero-mosaic{display:flex;gap:16px;width:max-content;margin:0;will-change:transform}.flow-mode .hero-mosaic a:nth-child(n){padding:0;width:clamp(230px,25vw,400px);flex-shrink:0;animation:none;will-change:transform}.flow-mode .hero-mosaic .duplicate{display:block}.flow-mode .hero-mosaic img{aspect-ratio:3/4}.flow-mode .hero-mosaic a:hover img{filter:none}.flow-mode .hero-identity{pointer-events:auto}.gallery-viewport:focus-visible{outline:1px solid #888;outline-offset:-2px}@keyframes identity-in{from{opacity:0;transform:translateY(45px);clip-path:inset(100% 0 0 0)}to{opacity:1;transform:translateY(0);clip-path:inset(0)}}@keyframes gallery-in{from{opacity:0;translate:0 80px;scale:.94}to{opacity:1;translate:0 0;scale:1}}@media(max-width:640px){.gallery-controls{margin:30px 18px 0;gap:15px;flex-wrap:wrap}.gallery-hint{width:100%;font-size:11px}.gallery-controls>div{gap:22px}.flow-mode .gallery-viewport{margin-top:35px;padding-top:15px}.flow-mode .hero-mosaic a:nth-child(n){display:block;width:67vw}.flow-mode .hero-mosaic{gap:12px}}@media(prefers-reduced-motion:reduce){.hero-mosaic a{transform:none!important}}
.hero-identity h1{padding-right:.12em;margin-right:-.07em}
/* William portfolio: spatial home and expanded project sequence. */
.logo{font-size:24px;letter-spacing:-1px}.hero-identity{margin-left:9vw;gap:45px}.hero-identity h1{font-size:clamp(100px,15vw,240px);letter-spacing:-.085em;line-height:.9;font-weight:500}.hero-stage{padding-top:75px}.hero-statement{padding-top:8px}.hero-statement h2{font-size:21px}.gallery-viewport{height:600px;position:relative;margin-top:55px;perspective:1100px}.hero-mosaic{display:block;margin:0;position:relative;width:100%;height:100%;transform-style:preserve-3d}.hero-mosaic a:nth-child(n){position:absolute;display:block;width:18%;padding:0;margin:0;animation-delay:calc(.06s * var(--i,1))}.hero-mosaic a:nth-child(1){left:-3%;top:110px;width:17%}.hero-mosaic a:nth-child(2){left:18%;top:5px;width:17%}.hero-mosaic a:nth-child(3){left:40%;top:100px;width:21%}.hero-mosaic a:nth-child(4){left:67%;top:0;width:16%}.hero-mosaic a:nth-child(5){left:88%;top:145px;width:17%}.hero-mosaic a:nth-child(6){left:6%;top:400px;width:14%}.hero-mosaic a:nth-child(7){left:28%;top:360px;width:13%}.hero-mosaic a:nth-child(8){left:63%;top:370px;width:14%}.hero-mosaic a:nth-child(9){left:84%;top:440px;width:12%}.hero-mosaic img{aspect-ratio:1.5;object-fit:cover}.hero-mosaic .duplicate{display:none!important}.hero-bottom{margin-top:30px}.flow-mode .gallery-viewport{height:auto;min-height:400px}.flow-mode .hero-mosaic{height:auto}.flow-mode .hero-mosaic a:nth-child(n){position:relative;left:auto;top:auto}.flow-mode .hero-mosaic .duplicate{display:block!important}.flow-mode .hero-mosaic img{aspect-ratio:4/3}.work{padding:95px 4% 140px}.filters{justify-content:space-between;align-items:center}.filters>span{font-size:13px;color:#666}.projects{grid-template-columns:repeat(2,minmax(0,1fr));gap:100px 3%}.project-card:nth-child(n){margin:0}.project-card:nth-child(5n+1){grid-column:1/-1}.project-image{aspect-ratio:1.6}.project-image img{object-fit:contain;background:#f4f4f2}.project-card:nth-child(5n+1) .project-image{aspect-ratio:1.9}.project-meta h3{font-size:26px}.project-meta{margin-top:23px}.project-en:empty{display:none}.profile{border-top:1px solid var(--line);padding-top:100px}.strengths{padding-top:55px;padding-bottom:85px}.strengths-heading{margin:25px 0 35px}.strengths h2{font-size:36px}.strength-grid{grid-template-columns:repeat(3,1fr)}.strength-card{padding:28px}.strength-card h3{margin-bottom:18px}.strength-card>p:last-of-type{margin-bottom:0}.contact-title{justify-content:flex-start;gap:0}.contact-title span{margin-left:auto}.contact-title i{margin-left:.1em}@media(max-width:640px){.logo{font-size:21px}.hero-stage{padding-top:55px}.hero-identity{margin-left:20px;display:block}.hero-identity h1{font-size:23vw;margin-bottom:20px}.hero-statement{margin-left:36%;padding-top:0}.hero-statement h2{font-size:18px}.hero-statement p{font-size:12px}.gallery-viewport{height:360px;margin-top:40px}.hero-mosaic a:nth-child(n){display:block;width:28%}.hero-mosaic a:nth-child(1){left:-7%;top:50px}.hero-mosaic a:nth-child(2){left:25%;top:0}.hero-mosaic a:nth-child(3){left:60%;top:65px;width:34%}.hero-mosaic a:nth-child(4){left:95%;top:15px}.hero-mosaic a:nth-child(5){left:4%;top:220px}.hero-mosaic a:nth-child(6){left:39%;top:205px}.hero-mosaic a:nth-child(7){left:77%;top:235px}.hero-mosaic a:nth-child(8),.hero-mosaic a:nth-child(9){display:none}.gallery-controls{margin-top:0}.flow-mode .hero-mosaic a:nth-child(n){display:block;left:auto;top:auto;width:75vw}.flow-mode .gallery-viewport{min-height:0;margin-top:35px}.work{padding:65px 20px 80px}.filters>span{font-size:11px}.projects{display:block}.project-card:nth-child(n){display:block;margin:0 0 55px}.project-image,.project-card:nth-child(5n+1) .project-image{aspect-ratio:1.5}.project-meta{display:flex;margin-top:15px}.project-meta h3{font-size:21px}.project-meta span{font-size:12px}.strength-grid{grid-template-columns:1fr}.strengths h2{font-size:30px}.strength-card{padding:24px}.strengths{padding-top:35px;padding-bottom:65px}}
/* Masked heading: a drifting colour mesh revealed inside the WORK letterforms. */
.hero-identity h1{animation:none;clip-path:none;line-height:1.02}.masked-word{display:block;color:#111;animation:masked-word-reveal 1.2s cubic-bezier(.16,1,.3,1) both}
@supports ((background-clip:text) or (-webkit-background-clip:text)){.masked-word{background-color:#151423;background-image:radial-gradient(ellipse at 20% 30%,#10101b 0%,transparent 48%),radial-gradient(ellipse at 70% 65%,#d24846 0%,transparent 48%),radial-gradient(ellipse at 30% 90%,#287d9b 0%,transparent 55%),linear-gradient(120deg,#17162b,#4c48a8 40%,#181a27 68%,#ba7165);background-size:180% 180%;background-position:35% 50%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:masked-word-reveal 1.2s cubic-bezier(.16,1,.3,1) both,masked-colour-drift 15s ease-in-out infinite alternate}}
@keyframes masked-word-reveal{from{clip-path:inset(100% 0 0 0);transform:translateY(35px)}to{clip-path:inset(0);transform:translateY(0)}}@keyframes masked-colour-drift{0%{background-position:5% 20%}50%{background-position:75% 55%}100%{background-position:30% 90%}}
.motion-paused .masked-word{animation-play-state:paused}.motion-paused .hero-mosaic a{animation-play-state:paused}#gallery img{object-fit:contain;background:#f6f6f4}#project-en{color:#666}@media(prefers-reduced-motion:reduce){.masked-word{animation:none!important;clip-path:none;transform:none}}
/* Orb-style tactile controls and loading feedback. */
.hero-identity h1{position:relative;pointer-events:auto}.tech-overlay{position:absolute;left:0;top:0;pointer-events:none}.hero-statement .text-link,.gallery-controls button,.contact-links button,#next{display:inline-flex;align-items:center;gap:10px;border:1px solid #dedee3;border-radius:999px;padding:11px 18px;background:linear-gradient(#fff,#f5f5f8);color:#24222b;box-shadow:0 2px 3px #211c3010,inset 0 1px 0 white;transition:transform .25s,box-shadow .25s,border-color .25s}.hero-statement .text-link:before,.gallery-controls [data-view]:before,.contact-links button:before,#next:before{content:'';display:block;flex:0 0 19px;width:19px;height:19px;border-radius:50%;background:radial-gradient(circle at 32% 24%,#fff9 0%,transparent 29%),radial-gradient(circle at 68% 66%,#6d57ba,transparent 64%),radial-gradient(circle at 28% 62%,#94c5dc,transparent 60%),#cec8e2;box-shadow:inset -2px -2px 4px #332b6740,inset 1px 1px 2px #fff8,0 1px 3px #31244120;transition:transform .45s,filter .45s}.gallery-controls [data-view=flow]:before{filter:hue-rotate(70deg)}.gallery-controls button.active{border-color:#aaa2c2;background:#f5f2fc;box-shadow:0 0 0 3px #a69ac912,inset 0 1px 0 white}.gallery-controls button.active:before{transform:scale(1.12)}.hero-statement .text-link:hover,.gallery-controls button:hover,.contact-links button:hover,#next:hover{transform:translateY(-2px);border-color:#b6accd;box-shadow:0 5px 14px #34244f16}.hero-statement .text-link:hover:before,.gallery-controls button:hover:before,.contact-links button:hover:before{transform:rotate(30deg) scale(1.12)}.hero-statement .text-link:active,.gallery-controls button:active,.contact-links button:active,#next:active{transform:translateY(0) scale(.97)}.gallery-controls>div{gap:8px}.gallery-controls .motion-toggle{padding:11px 16px}.contact-links button{background:#242229;color:white;border-color:#44404e;box-shadow:inset 0 1px 0 #ffffff16}.project-load{display:flex;align-items:center;gap:12px;font-size:12px;color:#6c647a;margin-left:auto;margin-right:30px}.project-load-track{display:flex;gap:3px}.project-load-track i{display:block;height:13px;width:3px;background:#dedbe5;border-radius:2px;animation:load-pulse 1s ease-in-out infinite;animation-delay:calc(var(--step)*.075s)}.project-load-track i.done{background:#655380;animation:none}.project-load.complete .project-load-track i{animation:none;background:#9583ac}.project-load.complete{opacity:.65}#gallery img{background:linear-gradient(110deg,#f5f4f6,#ebe8ef,#f5f4f6);background-size:200% 100%}#gallery img:not(.image-ready){animation:image-loading 2s linear infinite}#gallery img.image-ready{background:#f6f6f4}.image-unavailable{outline:1px solid #ddd}@keyframes load-pulse{0%,100%{transform:scaleY(.45);opacity:.4}50%{transform:scaleY(1);opacity:1}}@keyframes image-loading{to{background-position:-200% 0}}@media(max-width:640px){.gallery-controls{gap:10px}.gallery-controls button{padding:9px 12px;font-size:12px}.gallery-controls .motion-toggle{padding:9px 12px}.gallery-controls [data-view]:before{width:15px;height:15px;flex-basis:15px}.gallery-controls .gallery-hint{font-size:11px}.project-load{margin-right:10px;gap:6px;font-size:10px}.project-load-track{gap:2px}.project-load-track i{width:2px;height:11px}.dialog-bar{gap:8px}.dialog-bar>span:first-child{font-size:12px;max-width:40%}.hero-statement .text-link{font-size:12px;padding:10px 14px}}@media(prefers-reduced-motion:reduce){.tech-overlay{display:none}.project-load-track i,#gallery img{animation:none!important}}

/* Reference-led icon tiles: white rounded squares with labels underneath. */
.masked-word{filter:grayscale(1)}.project-load{color:#777}.project-load-track i.done,.project-load.complete .project-load-track i{background:#888}#gallery img{background:linear-gradient(110deg,#f6f6f6,#ededed,#f6f6f6)}
.hero-statement .text-link,.gallery-controls [data-view=space],.gallery-controls [data-view=flow],.gallery-controls .motion-toggle,.contact-links button,#next{display:inline-flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:11px;padding:0 8px;border:0;border-radius:0;background:none;box-shadow:none;color:#111;font-size:14px;line-height:1.4;min-width:88px;transition:opacity .2s;transform:none}
.hero-statement .text-link:before,.gallery-controls [data-view=space]:before,.gallery-controls [data-view=flow]:before,.gallery-controls .motion-toggle:before,.contact-links button:before,#next:before{content:'';display:block;width:56px;height:56px;flex:0 0 56px;border-radius:17px;border:1px solid #efefef;background-color:#fff;background-image:var(--tile-icon);background-repeat:no-repeat;background-position:center;background-size:25px 25px;box-shadow:0 2px 2px #0000000c,0 0 0 1px #fafafa,inset 0 1px 0 white;filter:none;transform:none;transition:transform .23s cubic-bezier(.2,.8,.2,1),box-shadow .23s,border-color .23s}
.hero-statement .text-link{--tile-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23898989%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%224%22%20width%3D%2216%22%20height%3D%2216%22%20rx%3D%223%22/%3E%3Ccircle%20cx%3D%2215.5%22%20cy%3D%228.5%22%20r%3D%221.5%22/%3E%3Cpath%20d%3D%22m4%2016%205-5%206%206%203-3%202%202%22/%3E%3C/svg%3E")}
.gallery-controls [data-view=space]{--tile-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23898989%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%224%22%20width%3D%226%22%20height%3D%226%22%20rx%3D%222.7%22/%3E%3Crect%20x%3D%2214%22%20y%3D%224%22%20width%3D%226%22%20height%3D%226%22%20rx%3D%222.7%22/%3E%3Crect%20x%3D%224%22%20y%3D%2214%22%20width%3D%226%22%20height%3D%226%22%20rx%3D%222.7%22/%3E%3Crect%20x%3D%2214%22%20y%3D%2214%22%20width%3D%226%22%20height%3D%226%22%20rx%3D%222.7%22/%3E%3C/svg%3E")}
.gallery-controls [data-view=flow]{--tile-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23898989%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%226%22%20y%3D%224%22%20width%3D%2212%22%20height%3D%2216%22%20rx%3D%222%22/%3E%3Cpath%20d%3D%22M2%207v10M22%207v10%22/%3E%3C/svg%3E")}
.gallery-controls .motion-toggle{--tile-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23898989%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%206v12M16%206v12%22/%3E%3C/svg%3E")}
.gallery-controls .motion-toggle[aria-pressed=true]{--tile-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23898989%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m9%205%2010%207-10%207Z%22/%3E%3C/svg%3E")}
.contact-links button{--tile-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23898989%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%228%22%20y%3D%228%22%20width%3D%2212%22%20height%3D%2212%22%20rx%3D%222%22/%3E%3Cpath%20d%3D%22M15%208V4H4v11h4%22/%3E%3C/svg%3E")}
#next{--tile-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23898989%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2212%22%20height%3D%2214%22%20rx%3D%222%22/%3E%3Cpath%20d%3D%22M19%205v14M8%2010l4%202-4%202%22/%3E%3C/svg%3E")}

.hero-statement .text-link:hover,.gallery-controls button:hover,.contact-links button:hover,#next:hover{background:none;box-shadow:none;border:0;transform:none}.hero-statement .text-link:hover:before,.gallery-controls button:hover:before,.contact-links button:hover:before,#next:hover:before{transform:translateY(-3px);border-color:#d8d8d8;box-shadow:0 5px 10px #0000000a}.hero-statement .text-link:active,.gallery-controls button:active,.contact-links button:active,#next:active{transform:none}.hero-statement .text-link:active:before,.gallery-controls button:active:before,.contact-links button:active:before,#next:active:before{transform:translateY(0) scale(.95);box-shadow:inset 0 1px 3px #0000000b}.gallery-controls button.active{background:none;border:0;box-shadow:none;color:#111}.gallery-controls button.active:before{transform:none;border-color:#c7c7c7;background-color:#fafafa;box-shadow:0 0 0 2px #f3f3f3,0 2px 2px #00000008}.gallery-controls [data-view=flow]:before{filter:none}.gallery-controls .motion-toggle{padding:0 8px}.gallery-controls{align-items:flex-start;gap:24px;margin-top:35px}.gallery-controls>div{gap:22px}.gallery-controls .gallery-hint{align-self:center}.hero-statement .text-link{margin-top:8px;padding:0;align-items:flex-start}.hero-statement .text-link:before{margin-left:0}.contact-links button{color:white;background:none;border:0;box-shadow:none}.contact-title{font-size:clamp(55px,10vw,160px);letter-spacing:-.06em}.work-heading h2{font-size:clamp(50px,8vw,125px)}.profile h2{font-size:clamp(38px,6vw,90px)}.strengths h2{font-size:clamp(34px,5vw,72px)}
@media(max-width:640px){.gallery-controls{gap:12px;margin-top:25px}.gallery-controls>div{gap:12px}.gallery-controls button,.gallery-controls .motion-toggle{padding:0 4px;font-size:12px;min-width:82px}.gallery-controls button:before{width:50px;height:50px;flex-basis:50px;border-radius:15px;background-size:23px}.gallery-controls .motion-toggle{margin-left:auto}.gallery-controls .gallery-hint{width:100%;margin-top:4px}.hero-statement .text-link{font-size:12px;padding:0}.hero-statement .text-link:before{width:50px;height:50px;flex-basis:50px;border-radius:15px}.work-heading h2{font-size:13vw}.profile h2{font-size:12vw}.contact-title{font-size:13vw}.contact-links button{align-items:flex-start}.contact-links button:before{margin-left:0}}
.project-videos{display:grid;gap:30px;margin-bottom:30px}.project-videos h3{font-size:clamp(28px,4vw,50px);font-weight:400;color:#111;margin:5px 0 0;letter-spacing:-.04em}.project-videos figure{margin:0;min-width:0}.project-videos video{display:block;width:100%;height:auto;max-height:85svh;object-fit:contain;background:#111;border-radius:0}.project-videos figcaption{font-size:14px;color:#777;margin-top:13px;line-height:1.5}@media(max-width:640px){.project-videos{gap:25px;margin-bottom:20px}.project-videos figcaption{font-size:12px}.project-videos h3{font-size:30px}}
.resume-projects{border-top:1px solid var(--line);margin-top:15px;padding-top:30px}.resume-projects h3{font-size:18px;font-weight:400;letter-spacing:-.02em;margin:0 0 18px;color:#111}.resume-projects p{font-size:14px;color:#666;line-height:2.3;margin:0;max-width:760px}

/* Smaller project labels as requested, with cover-only card metadata. */
#work .project-meta h3{font-size:13px}#work .project-meta{margin-top:14px}#work .project-meta>span{display:none}@media(max-width:640px){#work .project-meta h3{font-size:10.5px}#work .project-meta{margin-top:10px}}
/* One type scale for chapter headings and career figures. */
:root{--chapter-size:clamp(40px,6.6667vw,96px);--chapter-font:Arial,'PingFang SC','Microsoft YaHei',sans-serif}
#work .work-heading h2,#profile #profile-title,#strengths #strengths-title,#contact .contact-title,.career-stats strong{font-family:var(--chapter-font);font-size:var(--chapter-size);font-weight:400;font-style:normal;line-height:1.12;letter-spacing:-.055em}
.career-stats>div{min-width:0}.career-stats strong{white-space:nowrap}.contact-links{gap:clamp(24px,3vw,48px);flex-wrap:wrap}.contact-links>a{font-size:clamp(22px,2.3vw,34px);font-weight:700;line-height:1.4;letter-spacing:-.025em}.contact-intro{font-size:clamp(18px,1.65vw,24px);font-weight:600;color:#eee}.contact .section-top{font-size:16px;font-weight:600}.contact-links button{font-size:16px;font-weight:600}.profile-actions>a[href^='mailto:'],.profile-actions>a[href^='tel:']{font-size:clamp(18px,1.5vw,22px);font-weight:700;line-height:1.5;letter-spacing:-.02em}
@media(max-width:640px){#work .work-heading h2,#profile #profile-title,#strengths #strengths-title,#contact .contact-title,.career-stats strong{font-size:var(--chapter-size);font-family:var(--chapter-font)}.contact .section-top{font-size:14px}.contact-intro{font-size:18px}.contact-links>a{font-size:22px}.contact-links button{font-size:15px}.contact-title span{font-size:.65em}.profile-actions{gap:18px}}
/* Latest reference: bold grotesk typography and flat black / grey pill controls. */
body{font-family:Arial,'PingFang SC','Microsoft YaHei',sans-serif}nav{font-weight:600}.hero-identity h1{font-weight:700;letter-spacing:-.065em}.hero-statement h2{font-weight:600;letter-spacing:-.025em;line-height:1.35}
#work .work-heading h2,#profile #profile-title,#strengths #strengths-title,#contact .contact-title,.career-stats strong{font-weight:700;letter-spacing:-.045em;line-height:1.06}.strength-card h3,.experience-heading h3,.resume-projects h3{font-weight:600}.bio-copy{color:#666}.hero-cta-group{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:28px}
.hero-statement .text-link,.hero-statement .secondary-cta,.gallery-controls button,.gallery-controls .motion-toggle,.contact-links button,#next,.profile-actions .text-link,.dialog-bar #close{display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:9px;min-width:0;min-height:48px;padding:14px 24px;border:0;border-radius:999px;box-shadow:none;background:#f0f0f0;color:#141414;font-family:inherit;font-size:15px;font-weight:600;line-height:1.2;letter-spacing:-.025em;text-align:center;text-decoration:none;transition:background-color .2s,color .2s,transform .2s;transform:none;margin-top:0}
.hero-statement .text-link:before,.hero-statement .secondary-cta:before,.gallery-controls button:before,.contact-links button:before,#next:before,.profile-actions .text-link:before{content:none;display:none}.hero-statement .text-link,#next,.gallery-controls button.active{background:#141414;color:#fff;border:0;box-shadow:none}.hero-statement .secondary-cta{background:#f0f0f0;color:#141414}.gallery-controls{gap:20px;align-items:center}.gallery-controls>div{gap:8px}.gallery-controls button,.gallery-controls .motion-toggle{font-size:14px;min-height:42px;padding:12px 20px}.gallery-controls .gallery-hint{color:#777}.contact-links button{background:#f0f0f0;color:#141414}.hero-statement .text-link:hover,#next:hover,.gallery-controls button.active:hover{background:#333;color:#fff;box-shadow:none;border:0;transform:translateY(-1px)}.hero-statement .secondary-cta:hover,.gallery-controls button:not(.active):hover,.contact-links button:hover,.profile-actions .text-link:hover,.dialog-bar #close:hover{background:#e5e5e5;color:#111;box-shadow:none;border:0;transform:translateY(-1px)}.hero-statement .text-link:active,.hero-statement .secondary-cta:active,.gallery-controls button:active,.contact-links button:active,#next:active,.profile-actions .text-link:active,.dialog-bar #close:active{transform:scale(.97)}.dialog-bar #close{min-height:38px;padding:10px 16px;font-size:13px}.dialog-bar #close span{font-size:18px;margin-left:5px}.project-image .view{border-radius:999px;background:#141414;color:white;font-weight:600}.filters button{border:0;border-radius:999px;padding:10px 18px;background:#f0f0f0;color:#141414;font-weight:600}.filters button.active{border:0;background:#f0f0f0}.profile-actions .text-link span{margin-left:0;color:#777;font-size:11px}.contact-title span{font-weight:400}.contact-intro{font-weight:500}.hero-statement{min-width:340px}
@media(max-width:1000px) and (min-width:641px){.hero-identity{margin-left:5vw;gap:30px}.hero-statement{min-width:290px}.hero-statement .text-link,.hero-statement .secondary-cta{padding:13px 18px;font-size:13px}.hero-cta-group{gap:8px}}
@media(max-width:640px){.hero-statement{min-width:0;margin-left:20px;margin-right:20px}.hero-statement>p{font-size:12px}.hero-statement h2{font-size:20px}.hero-cta-group{gap:8px;margin-top:22px;flex-wrap:nowrap}.hero-statement .text-link,.hero-statement .secondary-cta{min-height:44px;padding:13px 18px;font-size:13px;white-space:nowrap}.gallery-controls{gap:12px;flex-wrap:wrap}.gallery-controls>div{gap:6px}.gallery-controls button,.gallery-controls .motion-toggle{padding:11px 14px;font-size:12px;min-height:38px;min-width:0}.gallery-controls .gallery-hint{width:100%;margin-top:0}.contact-links button{align-items:center;font-size:14px}.profile-actions .text-link{font-size:14px;padding:12px 18px;min-height:42px}.project-image .view{font-size:12px}.dialog-bar #close{font-size:12px;padding:8px 12px}.hero-identity h1{font-size:23vw}.hero-identity .hero-statement{margin-top:25px}}
@media(max-width:640px){header{gap:16px}header nav{gap:14px;font-size:11px}header nav a{white-space:nowrap}}
/* Equal primary English headings, text-only controls, and bolder project labels. */
.hero-identity h1,#work .work-heading h2,#profile #profile-title,#strengths #strengths-title,#contact .contact-title,.career-stats strong{font-family:var(--chapter-font);font-size:var(--chapter-size);font-weight:700;letter-spacing:-.045em;line-height:1.06}
button:before,button:after,.hero-statement .text-link:before,.hero-statement .secondary-cta:before,.profile-actions .text-link:before{content:none!important;display:none!important}.dialog-bar #close span{display:none}
#work .project-meta h3{font-weight:700}.profile-portrait{height:auto;aspect-ratio:auto;object-fit:contain;display:block}
@media(max-width:640px){.hero-identity h1,#work .work-heading h2,#profile #profile-title,#strengths #strengths-title,#contact .contact-title,.career-stats strong{font-size:var(--chapter-size)}#work .project-meta h3{font-weight:700}.profile-portrait{height:auto;aspect-ratio:auto;object-fit:contain}}

.projects-retry{justify-self:start;align-self:start;border:0;border-radius:999px;background:#141414;color:white;padding:14px 24px;font:600 14px Arial,sans-serif;cursor:pointer}
/* Contact introduction spacing: approximately two capital-letter heights. */
#contact .contact-intro{margin-top:2em;line-height:1.5}@supports (margin-top:2cap){#contact .contact-intro{margin-top:2cap}}
#profile .profile-label{padding-top:0;margin-top:0;line-height:1.7;font-size:14px}#profile .profile-intro .eyebrow{margin-top:0;margin-bottom:0;font-size:14px;line-height:1.7}@media(max-width:640px){#profile .profile-label{margin-bottom:30px}}

#gallery>.project-video{margin:0;width:100%;min-width:0}#gallery>.project-video video{display:block;width:100%;height:auto;max-height:85svh;object-fit:contain;background:#111}

/* Center the career count over its Chinese caption without shifting the caption. */
.career-stats>div:nth-child(2){display:flex;flex-direction:column;align-items:center;justify-self:start;width:max-content;max-width:100%}.career-stats>div:nth-child(2)>strong{text-align:center}.career-stats>div:nth-child(2)>span{white-space:nowrap;text-align:center}
/* Shared capsule for the two gallery modes, level with the motion control. */
.gallery-controls{align-items:center}.gallery-controls>div{display:inline-flex;align-items:center;justify-content:center;gap:0;height:42px;padding:0 5px;border:0;border-radius:999px;background:#f0f0f0;box-shadow:none}
.gallery-controls>div button,.gallery-controls>div button.active,.gallery-controls>div button:hover,.gallery-controls>div button.active:hover{height:42px;min-height:42px;padding:0 18px;border:0;border-radius:999px;background:transparent;color:#777;box-shadow:none;transform:none;display:inline-flex;align-items:center;justify-content:center;line-height:1;font-size:14px;font-weight:500}
.gallery-controls>div button.active{color:#111;font-weight:700}.gallery-controls>div button:hover{color:#111}.gallery-controls>div button:active{transform:none}.gallery-controls .motion-toggle{height:42px;min-height:42px;border-radius:999px;padding:0 20px;display:inline-flex;align-items:center;justify-content:center;line-height:1;align-self:center}
@media(max-width:640px){.gallery-controls>div,.gallery-controls>div button,.gallery-controls>div button.active,.gallery-controls>div button:hover,.gallery-controls>div button.active:hover,.gallery-controls .motion-toggle{height:38px;min-height:38px}.gallery-controls>div{padding:0 3px}.gallery-controls>div button,.gallery-controls>div button.active,.gallery-controls>div button:hover,.gallery-controls>div button.active:hover{font-size:12px;padding:0 13px}.gallery-controls .motion-toggle{padding:0 14px;font-size:12px}}

/* Journey link shares the gallery control row and its bold label typography. */
.gallery-controls{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;column-gap:24px;row-gap:16px}.gallery-controls>div{justify-self:start}.gallery-controls .gallery-journey{justify-self:center;display:inline-flex;align-items:center;justify-content:center;min-height:42px;font-family:inherit;font-size:14px;font-weight:700;line-height:1;white-space:nowrap;margin:0}.gallery-controls .motion-toggle{justify-self:end;margin-left:0}.gallery-controls .gallery-hint{grid-column:1/-1;margin:0;justify-self:start}.hero-bottom{justify-content:flex-end}.scroll-line{display:none}
@media(max-width:700px){.gallery-controls{grid-template-columns:1fr auto;gap:16px 12px}.gallery-controls>div{grid-column:1;grid-row:1}.gallery-controls .motion-toggle{grid-column:2;grid-row:1}.gallery-controls .gallery-journey{grid-column:1/-1;grid-row:2;min-height:38px;font-size:12px}.gallery-controls .gallery-hint{grid-column:1/-1;grid-row:3;width:100%;font-size:11px}}
/* Match WORK to the Selected Work heading, including a solid black fill. */
#hero-title .masked-word{font:inherit;letter-spacing:inherit;line-height:inherit;background:none;-webkit-background-clip:border-box;background-clip:border-box;color:#111;-webkit-text-fill-color:#111;filter:none;animation:masked-word-reveal 1.2s cubic-bezier(.16,1,.3,1) both}
/* Reduce the portrait to 70% and show project covers at their natural ratio. */
#profile .profile-portrait{width:16.8%;height:auto;aspect-ratio:auto;object-fit:contain}
#work .project-image,#work .project-card:nth-child(5n+1) .project-image{aspect-ratio:auto;background:transparent;border:0;padding:0}
#work .project-image img{display:block;width:100%;height:auto;object-fit:contain;background:transparent;border:0}
.hero-mosaic img{border:0;background:transparent}
@media(max-width:640px){#profile .profile-portrait{width:18.2%;height:auto;aspect-ratio:auto}}

/* Identical mode labels centered in equal halves of the shared capsule. */
#home .gallery-controls>[role="group"]{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;justify-items:stretch;gap:0;height:42px;padding:0;width:max-content;border-radius:999px;background:#f0f0f0}
#home .gallery-controls>[role="group"]>button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;align-self:stretch;justify-self:stretch;height:100%;min-height:0;min-width:0;margin:0;padding:0 20px;border:0;border-radius:0;background:transparent;box-shadow:none;transform:none;font-family:Arial,'PingFang SC','Microsoft YaHei',sans-serif;font-size:14px;font-weight:500;font-style:normal;line-height:1;letter-spacing:-.025em;text-align:center;white-space:nowrap;color:#111;vertical-align:middle}
@media(max-width:640px){#home .gallery-controls>[role="group"]{height:38px}#home .gallery-controls>[role="group"]>button{font-size:12px;padding:0 13px}}
/* Bring career dates closer to company-name prominence. */
#profile .experience>div>span{font-size:16px;font-weight:500;line-height:1.5;white-space:nowrap}
.career-stats>div:nth-child(3)>span{position:relative;left:1em}
@media(max-width:640px){#profile .experience>div{grid-template-columns:115px 1fr}#profile .experience>div>span{font-size:14px;font-weight:500}}
/* A lightweight per-letter pointer trail on the introductory gallery. */
.hero-text-cursor{position:fixed;inset:0;z-index:80;pointer-events:none;opacity:0;transition:opacity .15s;user-select:none;color:#fff;mix-blend-mode:difference}.hero-text-cursor.visible{opacity:1}.hero-text-cursor span{position:absolute;top:0;left:0;display:block;font:600 14px/1 Arial,sans-serif;white-space:pre;will-change:transform;pointer-events:none}.has-trail-cursor,.has-trail-cursor a{cursor:none!important}@media(hover:none),(pointer:coarse),(prefers-reduced-motion:reduce){.hero-text-cursor{display:none}.has-trail-cursor,.has-trail-cursor a{cursor:auto!important}}
/* Equal contact introduction typography; halve the former 2cap paragraph gap. */
#contact .section-top>span:first-child,#contact .contact-intro{font-family:var(--chapter-font);font-size:clamp(18px,1.65vw,24px);font-weight:600;font-style:normal;line-height:1.5;letter-spacing:normal;color:#eee}
#contact .contact-intro{margin-top:1em}@supports (margin-top:1cap){#contact .contact-intro{margin-top:1cap}}

.project-card.preview-only{grid-column:auto;cursor:default}.project-card.preview-only:hover img{transform:none}.project-card.preview-only .view{display:none}

#contact .section-top>span:first-child,#contact .contact-intro{font-size:calc(clamp(18px,1.65vw,24px) - 2pt)}
/* Aren Vale cylinder gallery, using the template's original motion engine. */
#home .arena-viewport{position:relative;height:min(80svh,780px);min-height:560px;margin-top:60px;overflow:hidden;perspective:none;background:#fff;isolation:isolate}#home .arena-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none}#home .arena-ready .hero-mosaic{display:none}#home .arena-project-label{position:absolute;left:50%;bottom:30px;transform:translateX(-50%);z-index:3;border:0;padding:12px 22px;border-radius:999px;background:#ffffffe8;color:#111;font-size:16px;font-weight:600;line-height:1.5;max-width:90%;min-height:46px;cursor:pointer}.arena-cursor{position:fixed;left:0;top:0;display:flex;white-space:pre;z-index:85;pointer-events:none;color:white;mix-blend-mode:difference;user-select:none;font:600 14px/1 Arial,sans-serif}.arena-cursor span{display:inline-block;opacity:0;will-change:transform;pointer-events:none}#home .arena-canvas.is-pointer{cursor:none}#home .flow-mode .arena-canvas,#home .flow-mode .arena-project-label{display:none}#home .flow-mode .arena-viewport,#home .arena-fallback{height:auto;min-height:0;padding:25px 0}#home .flow-mode .arena-viewport .hero-mosaic,#home .arena-fallback .hero-mosaic{display:flex;overflow-x:auto;scrollbar-width:none;overscroll-behavior-inline:contain;gap:16px;width:100%;height:auto;margin:0;padding:25px 3%;transform:none!important}#home .flow-mode .arena-viewport .hero-mosaic>a,#home .arena-fallback .hero-mosaic>a{position:relative!important;left:auto!important;top:auto!important;flex:0 0 28%;width:28%;min-width:240px;padding:0!important;animation:none;transform:none!important}#home .flow-mode .arena-viewport .hero-mosaic img,#home .arena-fallback .hero-mosaic img{height:auto;aspect-ratio:auto;object-fit:contain}#home .flow-mode .arena-viewport:before,#home .flow-mode .arena-viewport:after{display:none}#home .hero-identity h1{flex-shrink:0;transform-origin:center}#home .hero-identity{align-items:flex-start}@media(max-width:1000px){#home .hero-identity h1{transform:none!important}}@media(max-width:640px){#home .arena-viewport{height:70svh;min-height:400px;margin-top:35px}#home .arena-project-label{font-size:14px;bottom:18px}#home .flow-mode .arena-viewport .hero-mosaic>a,#home .arena-fallback .hero-mosaic>a{flex-basis:78%;width:78%;min-width:0}}@media(pointer:coarse),(prefers-reduced-motion:reduce){.arena-cursor{display:none}}
