@font-face{font-family:Manrope;src:url('/assets/manrope.woff2') format('woff2');font-style:normal;font-weight:400 800;font-display:swap}
@font-face{font-family:Space Grotesk;src:url('/assets/space-grotesk.woff2') format('woff2');font-style:normal;font-weight:400 700;font-display:swap}
:root{color-scheme:light;--paper:#f7f7f2;--surface:#fff;--text:#151620;--muted:#50525e;--line:#dddedf;--accent:var(--custom-accent,#283ee8);--ink-accent:color-mix(in srgb,var(--accent) 76%,#080c21);--head:'Space Grotesk',Arial,sans-serif;--body:Manrope,Arial,sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:5.65rem}
body{margin:0;background:var(--paper);color:var(--text);font:500 1rem/1.65 var(--body)}
body.theme-white{--paper:#fff;--surface:#f6f6fa}
body.theme-mist{--paper:#edf1f8;--surface:#fff}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
img{display:block;max-width:100%}
h1,h2,h3,p,figure,dl,dd{margin:0}
h1,h2,h3{font-family:var(--head);line-height:1.035;letter-spacing:-.055em}
h2{font-size:clamp(2.7rem,6.2vw,5.4rem);font-weight:700}
h3{font-size:clamp(1.45rem,2.8vw,2.05rem)}
:focus-visible{outline:3px solid var(--ink-accent);outline-offset:5px}
.frame{width:min(100% - 7rem,1200px);margin-inline:auto}
.skip-link{position:fixed;top:.8rem;left:.8rem;z-index:12;padding:.65rem 1rem;color:#fff;background:#172578;transform:translateY(-160%)}
.skip-link:focus{transform:none}
.site-header{border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5;background:color-mix(in srgb,var(--paper) 96%,transparent);backdrop-filter:blur(14px)}
.header-inner{height:4.7rem;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1rem}
.wordmark{display:inline-flex;align-items:center;gap:.65rem;font:700 1.05rem/1.1 var(--head);letter-spacing:-.045em;width:max-content}
.brand-mark{display:inline-grid;place-items:center;width:2.45rem;height:2.45rem;background:var(--ink-accent);color:#fff;font:700 1.34rem/.9 var(--head);letter-spacing:-.07em;border-radius:6px}
.desktop-nav,.header-actions{display:flex;align-items:center;gap:clamp(1rem,3.1vw,2.5rem)}
.desktop-nav a,.language{color:var(--muted);font-size:.875rem;font-weight:800}
.desktop-nav a:hover,.language:hover,.text-link:hover{color:var(--ink-accent)}
.header-actions{justify-self:end;gap:1.35rem}
.language{display:inline-grid;place-items:center;width:2rem;min-height:2.2rem}
.mobile-nav{display:none}
.button{background:transparent;border:1px solid transparent;display:inline-flex;justify-content:center;align-items:center;gap:.55rem;padding:.76rem 1.2rem;border-radius:6px;color:var(--text);font-size:.91rem;font-weight:800;line-height:1.3;min-height:3rem;transition:background .2s,color .2s,border .2s,transform .2s}
.button:hover{transform:translateY(-2px)}
.button:active{transform:translateY(0)}
.button-primary{background:var(--ink-accent);border-color:var(--ink-accent);color:white}
.button-primary:hover{background:#161f94;border-color:#161f94}
.button-outline{border-color:#babcc5}
.button-outline:hover{background:var(--surface);border-color:var(--text)}
.button-small{padding:.58rem .9rem;min-height:2.38rem;font-size:.86rem}
.button svg{width:1.04rem;height:1.04rem;flex-shrink:0}
.eyebrow{text-transform:uppercase;letter-spacing:.15em;color:var(--ink-accent);font-size:.79rem;font-weight:800;line-height:1.5}
.hero{min-height:34.5rem;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:center;gap:clamp(2.3rem,6.3vw,6.6rem);padding-block:3.5rem 3.85rem}
.hero-copy{padding-block:.5rem}
.hero-label{display:flex;align-items:center;gap:.7rem;margin-bottom:1rem;letter-spacing:.16em}
.hero-label span{display:block;width:1.52rem;height:2px;background:var(--accent)}
.hero h1{font-size:clamp(4.6rem,8.7vw,8.4rem);line-height:.82;letter-spacing:-.073em;font-weight:700;margin-left:-.04em;overflow-wrap:anywhere}
.hero h1 span{display:block}
.hero h1 i{color:var(--accent);font-style:normal}
.hero-subtitle{margin-top:1.4rem;font:600 clamp(1.35rem,2.5vw,2.05rem)/1.2 var(--head);letter-spacing:-.047em}
.hero-intro{max-width:32rem;margin-top:.65rem;color:var(--muted);font-size:1.04rem}
.hero-actions{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:1.75rem}
.portrait{position:relative;min-width:0;align-self:center;margin:0 0 0 auto;width:min(100%,30rem)}
.portrait-mat{height:100%;aspect-ratio:1.06;overflow:hidden;position:relative;isolation:isolate;background:#222638}
.portrait img{width:100%;height:100%;object-fit:cover;object-position:55% 39%;filter:grayscale(100%) contrast(1.08) brightness(.89)}
.portrait-glass{position:absolute;inset:0;pointer-events:none;background:linear-gradient(150deg,rgba(12,20,54,.06) 48%,rgba(10,22,67,.56));mix-blend-mode:multiply}
.portrait-cross{position:absolute;bottom:1.25rem;right:1.25rem;width:2.3rem;height:2.3rem;background:var(--accent)}
.portrait-cross::before,.portrait-cross::after{content:'';position:absolute;background:#fff;top:50%;left:50%;transform:translate(-50%,-50%);width:38%;height:1px}
.portrait-cross::after{transform:translate(-50%,-50%) rotate(90deg)}
.portrait figcaption{min-height:2.65rem;display:flex;gap:.7rem;align-items:end;justify-content:space-between;font-size:.84rem;color:var(--muted);font-weight:750}
.portrait figcaption span:first-child{display:flex;align-items:center;gap:.35rem}
.portrait figcaption svg{width:1.05rem;height:1.05rem;color:var(--ink-accent)}
.portrait-monogram{display:grid;place-items:center;height:100%;font:700 clamp(4rem,12vw,10rem)/1 var(--head);color:white;background:var(--ink-accent)}
.stats-band{border-block:1px solid var(--line);background:var(--surface)}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding-block:1.6rem}
.stats div{padding:.05rem clamp(.75rem,3vw,2.15rem) .15rem;border-left:1px solid var(--line)}
.stats div:first-child{padding-left:0;border-left:0}
.stats dt{color:var(--ink-accent);font:700 clamp(1.8rem,4vw,3.45rem)/1.02 var(--head);letter-spacing:-.075em;white-space:nowrap}
.stats dd{margin-top:.36rem;color:var(--muted);font-weight:750;font-size:.875rem}
.content-section{padding-block:clamp(3.8rem,7.1vw,6.7rem)}
.section-heading{margin-bottom:clamp(1.7rem,3.4vw,2.8rem)}
.section-heading .eyebrow,.about .eyebrow{margin-bottom:.55rem}
.punctuation{color:var(--accent)}
.section-row{display:flex;justify-content:space-between;align-items:end;gap:1.1rem}
.project-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:2.4rem 1.2rem}
.project{min-width:0;display:flex;flex-direction:column;border-bottom:1px solid var(--line);background:var(--surface)}
.project-link{display:flex;flex:1;flex-direction:column;transition:background .2s}
.project-link:hover{background:color-mix(in srgb,var(--accent) 4%,var(--surface))}
.project-photo{height:clamp(12rem,26vw,21.5rem);position:relative;isolation:isolate;overflow:hidden;display:grid;place-items:center;background:#11162b;color:#fff}
.project-photo img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;transition:transform .4s cubic-bezier(.2,.75,.3,1)}
.project-link:hover img{transform:scale(1.045)}
.project-art,.plain-title{position:relative;z-index:2;text-align:center;font:700 clamp(1.55rem,3.35vw,3.35rem)/.98 var(--head);letter-spacing:-.06em;text-wrap:balance;padding:1rem}
.project-art span{color:#a8b6ff}
.art-inter:after{content:'';position:absolute;inset:0;background:linear-gradient(140deg,rgba(0,14,51,.25),rgba(4,16,58,.69));z-index:1}
.art-inter img{filter:brightness(.85) saturate(.88);object-position:center 61%}
.art-beijing img{object-position:50% 45%}
.art-beijing.art-empty{background:linear-gradient(135deg,#1a2840,#82634e)}
.art-studio{background:radial-gradient(ellipse at 65% 20%,#2521a8,transparent 59%),linear-gradient(135deg,#060b19,#171f60)}
.art-studio:before,.art-game:before{content:'';position:absolute;inset:-100%;background-image:repeating-linear-gradient(0deg,transparent 0 39px,#8e9bf82f 39px 40px),repeating-linear-gradient(90deg,transparent 0 39px,#8e9bf82f 39px 40px);transform:perspective(380px) rotateX(54deg) rotateZ(-23deg) translateY(13%)}
.art-studio .project-art{border:1px solid #9ba9ff65;background:#0a102e;padding:1rem 1.3rem;box-shadow:12px 17px #2839738f,-14px -13px #3b53cb77;transform:rotate(-7deg)}
.art-studio .project-art span,.art-game .project-art span{display:block}
.art-game{background:radial-gradient(ellipse at 30% 25%,#075597,transparent 62%),linear-gradient(140deg,#050d22,#161750)}
.art-game:before{transform:perspective(390px) rotateX(68deg) rotateZ(4deg) translateY(33%)}
.art-game .project-art{font-size:clamp(2.9rem,8vw,6rem);font-weight:700;letter-spacing:-.105em}
.art-game .project-art span{font-size:.25em;letter-spacing:.12em;margin-top:.3rem}
.art-studio img + .project-art,.art-game img + .project-art{display:none}
.project-content{padding:1.25rem 1.25rem .65rem}
.project-meta{display:flex;justify-content:space-between;align-items:baseline;gap:.6rem;font-size:.77rem;color:var(--muted);font-weight:800;letter-spacing:.025em;margin-bottom:.6rem}
.project-meta span:first-child{color:var(--ink-accent);text-transform:uppercase;letter-spacing:.09em}
.project-content p{color:var(--muted);margin-top:.5rem}
.text-link{display:inline-block;color:var(--ink-accent);text-underline-offset:.27em;text-decoration:underline;text-decoration-thickness:1px;font-size:.88rem;font-weight:800}
.project-content .text-link{margin-top:.75rem}
.tags{display:flex;flex-wrap:wrap;list-style:none;gap:.36rem;padding:0;margin:0}
.tags li{font-size:.77rem;font-weight:800;line-height:1.2;color:var(--muted);border:1px solid var(--line);padding:.39rem .62rem;border-radius:4rem}
.project>.tags{padding:0 1.25rem 1.2rem}
.career{background:#eef0fa;border-block:1px solid #e3e5f4}
.timeline,.education{border-top:1px solid #d1d4e1}
.job{display:grid;grid-template-columns:minmax(7rem,1fr) minmax(0,4fr) minmax(7rem,1fr);gap:1.1rem;padding:1.35rem 0;border-bottom:1px solid #d1d4e1}
.job-period,.job-place{font-size:.86rem;color:var(--muted);font-weight:800;padding-top:.15rem}
.job-place{text-align:right}
.job-body h3{font-size:clamp(1.3rem,2.8vw,2rem)}
.job-body strong{display:block;margin-top:.25rem;font-size:.95rem}
.job-body p{color:var(--muted);font-size:.95rem;margin-top:.25rem;max-width:52rem}
.education{margin-top:1.5rem}
.education summary{list-style:none;display:flex;justify-content:space-between;align-items:center;padding:1rem 0;border-bottom:1px solid #d1d4e1;font-weight:800;cursor:pointer}
.education[open] summary svg{transform:rotate(45deg)}
.education summary::-webkit-details-marker,.mobile-nav summary::-webkit-details-marker{display:none}
.skill-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.skill-grid article{background:var(--surface);border:1px solid var(--line);padding:1.35rem;display:flex;flex-direction:column;align-items:start}
.skill-icon{display:grid;place-items:center;width:2.75rem;height:2.75rem;color:var(--ink-accent);background:#e9ebff;margin-bottom:1rem}
.skill-grid h3{font-size:clamp(1.3rem,2.6vw,1.83rem)}
.skill-grid p{color:var(--muted);margin:.65rem 0 1.1rem}
.skill-grid .tags{margin-top:auto}
.about{display:grid;grid-template-columns:1fr 1.25fr;gap:2rem;border-block:1px solid var(--line);margin-top:3.8rem;padding-block:2rem;align-items:center}
.about h2{font-size:clamp(1.9rem,4.3vw,3.5rem)}
.about p:not(.eyebrow){color:var(--muted)}
.clients{margin-top:2rem}
.clients h3{font-size:1.35rem}
.clients ul{display:flex;flex-wrap:wrap;gap:.55rem .95rem;margin:1rem 0 0;padding:0;list-style:none}
.clients li{font-size:.9rem;color:var(--muted);font-weight:750}
.clients li:not(:last-child)::after{content:'·';margin-left:.95rem;color:#8d93b3}
.contact{background:#12162b;color:#fff}
.contact-inner{padding-block:clamp(3.5rem,7vw,6rem);position:relative}
.contact h2{max-width:13ch;font-size:clamp(2.8rem,7.5vw,6.65rem);margin:.65rem 0 .8rem;text-wrap:balance}
.contact .eyebrow,.contact .punctuation{color:#aeb7ff}
.contact p:not(.eyebrow){color:#cbd0e5}
.button-light{color:#181a2a;background:#ffffff;margin-top:1.5rem}
.button-light:hover{background:#dfe3ff}
.socials{display:flex;flex-wrap:wrap;gap:.6rem 1.25rem;margin-top:1.2rem}
.socials a{font-size:.9rem;font-weight:800;color:#e3e6ff}
.socials a:hover{text-decoration:underline}
.contact :focus-visible{outline-color:#b8c1ff}
.footer{border-top:1px solid var(--line)}
.footer-inner{display:flex;justify-content:space-between;align-items:center;min-height:5rem;gap:1rem;font-size:.85rem;color:var(--muted)}
.footer-links{display:flex;gap:1rem}
.footer-links a:hover{text-decoration:underline}
.case-page,.cv-page,.simple{padding-block:clamp(2.1rem,6vw,5rem)}
.case-heading{padding-block:1.6rem 2.15rem}
.case-heading h1,.cv-heading h1,.simple h1{font-size:clamp(2.5rem,8vw,7rem);margin:.4rem 0 .7rem;overflow-wrap:anywhere}
.case-heading p,.cv-heading p{color:var(--muted);font-size:1.12rem}
.case-page .project-photo{height:clamp(15rem,44vw,31rem)}
.case-body{display:grid;grid-template-columns:2.2fr 1fr;gap:2rem;margin-top:1.9rem}
.case-body p,.cv-summary p{margin-bottom:1rem}
.case-body aside .button{margin-top:1rem}
.media-credit{font-size:.78rem;color:var(--muted);margin-top:.55rem}
.media-credit a,.cv-heading a{color:var(--ink-accent);text-decoration:underline}
.media-credit a + a{margin-left:.5rem}
.cv-heading{display:flex;justify-content:space-between;align-items:start;gap:1rem}
.cv-heading h1{font-size:clamp(2.5rem,7vw,6rem)}
.cv-summary{max-width:55rem;margin-top:1.4rem}
.cv-page h2{font-size:2rem;margin:2rem 0 .65rem}
.cv-skills{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr));gap:1rem}
.cv-skills h3{font-size:1.3rem}
.cv-skills p{margin:.4rem 0 .6rem}
.simple .button{margin-top:1rem}
@media(max-width:1000px){.frame{width:min(100% - 4rem,1200px)}.hero{min-height:unset}.hero h1{font-size:clamp(4.4rem,9.6vw,7.3rem)}}
@media(max-width:760px){
  .frame{width:calc(100% - 2.3rem)}
  .header-inner{grid-template-columns:1fr auto auto;height:3.8rem;gap:.7rem}
  .desktop-nav,.header-actions .language{display:none}
  .mobile-nav{display:block;position:relative}
  .mobile-nav summary{list-style:none;display:grid;place-items:center;border:1px solid var(--line);min-width:2.4rem;min-height:2.4rem;border-radius:5px;cursor:pointer}
  .mobile-nav nav{position:absolute;right:0;top:calc(100% + .55rem);min-width:11rem;background:var(--surface);border:1px solid var(--line);box-shadow:0 10px 35px #181b2b1c;padding:.4rem;border-radius:6px}
  .mobile-nav nav a{display:block;padding:.46rem .65rem;width:100%;font-size:.9rem;font-weight:750}
  .portrait figcaption{font-size:.77rem}
  .hero{gap:1.4rem;padding-block:2.4rem;grid-template-columns:1.2fr 1fr}
  .hero h1{font-size:clamp(3.35rem,10vw,5.9rem)}
  .hero-intro{font-size:.94rem}
  .stats dd{font-size:.77rem}
  .project-grid{grid-template-columns:1fr 1fr;gap:1rem .8rem}
  .project-content{padding:.85rem .75rem .55rem}
  .project>.tags{padding:0 .75rem .75rem}
  .job{grid-template-columns:6.7rem 1fr;gap:.65rem}
  .job-place{grid-column:2;text-align:left;padding-top:0}
  .skill-grid{gap:.6rem}
  .skill-grid article{padding:.85rem}
  .about{gap:1.15rem}
}
@media(max-width:550px){
  .hero{grid-template-columns:1fr;gap:1.65rem;padding-block:1.95rem 1.45rem}
  .hero h1{font-size:clamp(3.7rem,15vw,6.25rem)}
  .hero-label{margin-bottom:.8rem}
  .hero-subtitle{margin-top:1.2rem}
  .hero-actions{margin-top:1.1rem}
  .portrait{width:100%}
  .portrait-mat{aspect-ratio:1.39}
  .portrait img{object-position:50% 32%}
  .portrait figcaption{min-height:2.15rem}
  .stats{grid-template-columns:1fr 1fr;padding-block:.85rem;gap:.8rem 0}
  .stats div{padding-left:.7rem}
  .stats div:nth-child(odd){border-left:0;padding-left:0}
  .stats dd{font-size:.82rem}
  .project-grid,.skill-grid,.about,.case-body{grid-template-columns:1fr}
  .project-photo{height:clamp(11rem,57vw,20rem)}
  .project-art{font-size:clamp(1.65rem,8vw,3rem)}
  .section-row{align-items:start;flex-direction:column}
  .job{grid-template-columns:1fr;gap:.25rem}
  .job-place{grid-column:auto}
  .about{margin-top:2rem}
  .footer-inner{justify-content:flex-start;flex-wrap:wrap;padding-block:1rem;gap:.55rem 1rem}
  .footer-inner .wordmark{flex-basis:100%}
  .cv-heading{flex-direction:column}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{body{background:#fff;font-size:10pt}.site-header,.footer,.print-button,.skip-link{display:none!important}.frame{width:100%}.cv-page{padding:0}.cv-heading h1{font-size:29pt}.cv-page h2{font-size:18pt}.job{break-inside:avoid}.job-body h3{font-size:13pt}.job-body p,.job-period,.job-place{font-size:9pt}.tags li{font-size:8pt}}

.portrait-color img{filter:none}
