@font-face { font-family: "Alibaba PuHuiTi"; src: url("assets/fonts/AlibabaPuHuiTi-Regular-subset.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Alibaba PuHuiTi"; src: url("assets/fonts/AlibabaPuHuiTi-Light-subset.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Alibaba PuHuiTi"; src: url("assets/fonts/AlibabaPuHuiTi-Medium-subset.woff2") format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Alibaba PuHuiTi"; src: url("assets/fonts/AlibabaPuHuiTi-Bold-subset.woff2") format("woff2"); font-weight: 700 800; font-display: swap; }
@font-face { font-family: "Alibaba PuHuiTi"; src: url("assets/fonts/AlibabaPuHuiTi-Black-subset.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --black: #050505;
  --panel: #11110f;
  --paper: #e9e9e6;
  --muted: #8c8c88;
  --line: rgba(233, 233, 230, 0.18);
  --pad: clamp(20px, 3.2vw, 54px);
  --home-gradient-end: calc(100svh + 220vh);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body {
  margin: 0;
  background-color: var(--black);
  background-image: linear-gradient(180deg, #03051B 0%, #0E0521 34%, #15061C 66%, #050505 100%);
  background-size: 100% var(--home-gradient-end);
  background-repeat: no-repeat;
  color: var(--paper);
  font-family: "Alibaba PuHuiTi", sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

#model-stage,
#model-fallback { position: fixed; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
#model-stage { transition: opacity .4s; }
#model-fallback { display: none; overflow: hidden; transition: opacity .4s; }
#model-fallback .fallback-model,
#model-fallback .fallback-hover { position: absolute; inset: 0; display: block; background: transparent center / 400% auto no-repeat; }
#model-fallback .fallback-model { transition: opacity .1s linear; }
#model-fallback .fallback-model[data-model="blue"] { z-index: 1; }
#model-fallback .fallback-model[data-model="red"],
#model-fallback .fallback-model[data-model="green"] { z-index: 2; }
#model-fallback .fallback-model[data-model="yellow"] { z-index: 3; }
#model-fallback .fallback-hover { background-size: 100% auto; opacity: 0; z-index: 1; transition: none; }
#model-fallback .fallback-hover.is-visible { opacity: 1; }
.model-fallback-active.fallback-yellow-motion #model-fallback .fallback-model[data-model="yellow"] { animation: fallback-yellow-hop .78s cubic-bezier(.25, .8, .3, 1); }
.model-fallback-active.fallback-red-motion #model-fallback .fallback-model[data-model="red"] { transform-origin: 80% 31%; animation: fallback-red-sway .82s ease-in-out; }
.model-fallback-active.fallback-blue-motion #model-fallback .fallback-model[data-model="blue"] { transform-origin: 54% 64%; animation: fallback-blue-sway .78s ease-in-out; }
.model-fallback-active.fallback-green-motion #model-fallback .fallback-model[data-model="green"] { transform-origin: 82% 64%; animation: fallback-green-turn .52s ease-out forwards; }
@keyframes fallback-yellow-hop {
  0%, 100% { transform: translateY(0); }
  20%, 56% { transform: translateY(-18px); }
  33%, 69% { transform: translateY(0); }
}
@keyframes fallback-red-sway {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(8deg); }
  50% { transform: rotate(-8deg); }
  75% { transform: rotate(5deg); }
}
@keyframes fallback-green-turn {
  from { transform: perspective(600px) rotateY(0); }
  to { transform: perspective(600px) rotateY(-15deg); }
}
@keyframes fallback-blue-sway {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-7deg); }
  50% { transform: rotate(7deg); }
  75% { transform: rotate(-4deg); }
}
.model-fallback-active #model-fallback { display: block; }
.model-fallback-active #model-stage,
.model-fallback-active .model-status { display: none; }
.capture-models .site-header,
.capture-models main,
.capture-models footer,
.capture-models .contact-modal,
.capture-models #hero-reveal,
.capture-models #model-fallback { visibility: hidden !important; }
.capture-models #model-stage { visibility: visible !important; opacity: 1 !important; }
.capture-models,
.capture-models body { background: transparent !important; }
#hero-reveal {
  --reveal-x: 50vw;
  --reveal-y: 50vh;
  --reveal-radius: clamp(82px, 8vw, 132px);
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background-position: center calc(50% + var(--art-shift-y, 0px));
  background-size: cover;
  background-repeat: no-repeat;
  -webkit-mask-image: radial-gradient(circle var(--reveal-radius) at var(--reveal-x) var(--reveal-y), #000 0%, #000 65%, rgba(0, 0, 0, .72) 80%, transparent 100%);
  mask-image: radial-gradient(circle var(--reveal-radius) at var(--reveal-x) var(--reveal-y), #000 0%, #000 65%, rgba(0, 0, 0, .72) 80%, transparent 100%);
  will-change: opacity, -webkit-mask-image, mask-image;
  transition: opacity .32s ease;
}
#hero-reveal.is-active { opacity: 1; background-image: url("assets/hero-mushroom-background.png"); }
.site-header { position: absolute; z-index: 10; top: 0; left: 0; right: 0; height: 92px; padding: 20px var(--pad); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; font-size: 15px; }
.brand-cluster { display: flex; align-items: center; gap: 17px; }
.site-header .logo { position: relative; width: 76px !important; height: 72px !important; flex: 0 0 76px; display: block; overflow: visible; background: transparent; transform-origin: 50% 72%; }
.site-header .logo img { display: block; width: 76px !important; height: 72px !important; max-width: 76px; max-height: 72px; object-fit: contain; object-position: center; }
.logo:hover { animation: logo-hop .66s cubic-bezier(.25, .8, .3, 1); }
.language { padding: 0; border: 0; background: transparent; color: var(--paper); font: 700 13px "Alibaba PuHuiTi", sans-serif; letter-spacing: .1em; white-space: nowrap; cursor: pointer; }
.language:hover { color: #fff; }
.language:focus-visible { outline: 1px solid var(--paper); outline-offset: 5px; border-radius: 2px; }
.site-header nav { display: flex; gap: clamp(28px, 6vw, 88px); }
.site-header nav a { position: relative; }
.site-header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px; background: currentColor; transition: right .3s; }
.site-header nav a:hover::after { right: 0; }
.year { justify-self: end; display: inline-flex; align-items: center; min-height: 32px; padding: 0 13px 1px; border-radius: 999px; background: var(--paper); color: #292927; font-size: clamp(14px, 1.1vw, 18px); line-height: 1; font-weight: 800; letter-spacing: -.055em; }

@keyframes logo-hop {
  0%, 70%, 100% { transform: translateY(0); }
  82% { transform: translateY(-7px) rotate(-2deg); }
  92% { transform: translateY(1px) rotate(1deg); }
}

.hero { position: relative; z-index: 2; height: 100svh; min-height: 650px; padding: 0 var(--pad); pointer-events: none; }
.model-status { position: absolute; top: 108px; right: var(--pad); margin: 0; color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; transition: opacity .45s; }
.model-status.is-ready { opacity: 0; transition-delay: 1.2s; }
.model-status.is-error { z-index: 4; max-width: 300px; color: #ffaca8; opacity: 1; text-align: right; }
.hero h1 { position: absolute; left: var(--pad); top: 32%; z-index: 0; margin: 0; color: #d8d8d5; font-size: clamp(68px, 8.7vw, 150px); line-height: .79; letter-spacing: -.075em; font-weight: 600; }
.hero h1 span { display: block; }
.role { position: absolute; top: 24%; left: 35%; margin: 0; font: 500 11px/1.35 "Alibaba PuHuiTi", sans-serif; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.edition { position: absolute; right: var(--pad); bottom: 7.2%; margin: 0; font-size: clamp(62px, 8vw, 136px); line-height: .8; font-weight: 600; letter-spacing: -.07em; }
.welcome { position: absolute; pointer-events: auto; left: var(--pad); bottom: 5.8%; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.welcome span { font-size: 24px; vertical-align: -2px; }
.scroll-cue { position: absolute; bottom: 6.5%; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; color: var(--muted); font: 500 9px "Alibaba PuHuiTi", sans-serif; text-transform: uppercase; letter-spacing: .14em; }
.scroll-cue i { width: 34px; height: 1px; background: var(--muted); transform-origin: left; animation: cue 1.8s infinite; }
@keyframes cue { 0%,100% { transform: scaleX(.25); opacity: .35; } 50% { transform: scaleX(1); opacity: 1; } }

.work-index { position: relative; z-index: 2; height: 270vh; pointer-events: none; }
.index-sticky { position: sticky; top: 0; height: 100vh; padding: 12vh var(--pad) 8vh; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; align-content: start; }
.section-kicker { margin: 0; color: var(--muted); font: 500 10px "Alibaba PuHuiTi", sans-serif; text-transform: uppercase; letter-spacing: .16em; }
.index-sticky h2 { grid-column: 1; margin: 5vh 0 0; max-width: 530px; align-self: start; font-size: clamp(36px, 4.1vw, 68px); line-height: .9; letter-spacing: -.06em; font-weight: 500; }
.project-list { position: relative; top: -25vh; grid-column: 1; grid-row: 2; align-self: end; width: min(100%, 640px); list-style: none; padding: 0; margin: 0; pointer-events: auto; }
.project-list li { opacity: 0; transform: translateY(32px); transition: opacity .5s, transform .65s cubic-bezier(.2,.8,.2,1); }
.project-list li.is-visible { opacity: 1; transform: translateY(0); }
.project-list a { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 10px; border-top: 1px solid var(--line); min-height: 60px; }
.project-list b, .project-list em { font: 500 10px "Alibaba PuHuiTi", sans-serif; color: var(--muted); }
.project-list em { font-style: normal; text-transform: uppercase; letter-spacing: .08em; }
.project-list span { font-size: clamp(16px, 1.5vw, 23px); }

.project-panel { position: relative; z-index: 5; margin: 10vh 12px 0; padding: 26px clamp(14px, 2.3vw, 38px) 90px; border-radius: 26px 26px 0 0; background: var(--panel); box-shadow: 0 -30px 80px rgba(0,0,0,.5); scroll-margin-top: 4vh; }
.panel-head { display: flex; justify-content: space-between; padding: 0 0 24px; border-bottom: 1px solid var(--line); color: var(--muted); font: 500 10px "Alibaba PuHuiTi", sans-serif; text-transform: uppercase; letter-spacing: .14em; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 88px 14px; padding-top: 88px; }
.project-card { scroll-margin-top: 30px; }
.card-meta { display: flex; justify-content: space-between; margin-bottom: 10px; font: 500 10px "Alibaba PuHuiTi", sans-serif; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.project-art { position: relative; display: block; aspect-ratio: 4 / 3; height: auto; min-height: 0; overflow: hidden; background: #ddd; color: #0a0a0a; }
.project-art img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.project-card:hover .project-art img { transform: scale(1.035); }
.project-art span { position: absolute; z-index: 2; left: 3%; top: 1%; font-size: clamp(88px, 18vw, 300px); line-height: 1; font-weight: 700; letter-spacing: -.09em; mix-blend-mode: overlay; }
.project-art i { position: absolute; width: 42%; aspect-ratio: 1; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); box-shadow: 0 30px 70px rgba(0,0,0,.22); transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.project-card:hover .project-art i { transform: translate(-50%, -50%) rotate(20deg) scale(1.08); }
.art-1 { background: #ef5a43; } .art-1 i { border-radius: 58% 42% 30% 70%; background: #ffd65a; }
.art-2 { background: #95a8ff; } .art-2 i { border-radius: 18%; background: #241d57; }
.art-3 { background: #d7ff45; } .art-3 i { border-radius: 50% 50% 8% 8%; background: #76a1ff; }
.art-4 { background: #f2c9df; } .art-4 i { border-radius: 3%; background: #ef3e6f; transform: translate(-50%,-50%) rotate(45deg); }
.art-5 { background: #ff9f55; } .art-5 i { border-radius: 70% 30% 60% 40%; background: #b8efc8; }
.art-6 { background: #dedbd3; } .art-6 i { background: #111; box-shadow: inset 0 0 0 22px #dedbd3, 0 30px 70px rgba(0,0,0,.2); }
.project-card h3 { margin: 18px 0 4px; font-size: clamp(22px, 2.2vw, 34px); font-weight: 500; letter-spacing: -.045em; }
.project-card p { margin: 0; color: var(--muted); font-size: 13px; }

.about { position: relative; z-index: 5; overflow: hidden; min-height: min(720px, 78svh); background: #c9c9c4; color: #30302f; padding: clamp(58px, 7vw, 112px) max(var(--pad), 10vw) clamp(84px, 10vw, 160px); display: grid; grid-template-columns: minmax(330px, 380px) minmax(480px, 1fr); align-items: center; gap: clamp(75px, 7vw, 116px); }
.about-portrait { justify-self: start; width: min(100%, 380px); }
.portrait-glow { display: none; }
.about-portrait img { display: block; width: 195%; max-width: none; height: auto; margin: -10.5% -47.5%; object-fit: contain; }
.about-copy { width: min(100%, 830px); }
.about-kicker { margin: 0 0 clamp(20px, 2.7vw, 38px); color: #787873; font: 600 11px "Alibaba PuHuiTi", sans-serif; text-transform: uppercase; letter-spacing: .16em; }
.about-language-en { display: none; }
.about.is-english .about-language-zh { display: none; }
.about.is-english .about-language-en { display: block; }
.about h2 { margin: 0; color: #30302f; font-size: clamp(38px, 4.1vw, 70px); line-height: .98; letter-spacing: -.058em; font-weight: 800; }
.about-intro { max-width: 800px; margin: clamp(22px, 2.3vw, 34px) 0 clamp(34px, 4vw, 56px); font-size: clamp(16px, 1.35vw, 22px); line-height: 1.58; letter-spacing: -.018em; }
.education-list { display: grid; gap: 13px; margin: 0 0 clamp(34px, 4vw, 54px); color: #30302f; }
.education-list > div { display: block; }
.education-list strong, .education-list span { color: #30302f; font-size: clamp(15px, 1.15vw, 19px); line-height: 1.25; font-weight: 400; letter-spacing: -.02em; }
.skills-list { display: grid; gap: 11px; margin: 0; }
.skills-list > div { display: block; }
.skills-list dt, .skills-list dd { display: inline; color: #30302f; font-size: clamp(15px, 1.15vw, 19px); line-height: 1.25; font-weight: 400; letter-spacing: -.02em; }
.skills-list dt::after { content: " · "; }
.skills-list dd { margin: 0; }
.skills-list i { color: #30302f; font-style: normal; font-weight: 400; padding: 0 .17em; }
footer { position: relative; z-index: 5; min-height: 72vh; padding: 90px var(--pad) 38px; display: flex; flex-direction: column; justify-content: space-between; }
footer p { margin: 0; color: var(--muted); font-size: 13px; }
footer a { font-size: clamp(58px, 10vw, 156px); line-height: .82; letter-spacing: -.075em; font-weight: 600; }
footer > span { color: var(--muted); font: 500 10px "Alibaba PuHuiTi", sans-serif; text-transform: uppercase; }
.contact-modal[hidden] { display: none; }
.contact-modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px; }
.contact-modal__backdrop { position: absolute; inset: 0; background: rgba(22,25,23,.18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transform: translateZ(0); will-change: backdrop-filter; }
.contact-modal__panel { position: relative; width: min(100%, 560px); padding: clamp(28px,4vw,48px); border: 1px solid rgba(50,72,56,.16); border-radius: 24px; background: rgba(249,246,238,.94); box-shadow: 0 24px 80px rgba(37,44,38,.18); color: var(--ink); }
.contact-modal__close { position: absolute; top: 17px; right: 20px; width: 32px; height: 32px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(82,125,103,.12); color: #527d67; font: 300 24px/1 sans-serif; cursor: pointer; }
.contact-modal__eyebrow { margin: 0 0 12px; color: var(--muted); font: 500 11px "Alibaba PuHuiTi", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.contact-modal h2 { margin: 0 0 30px; color: #25372c; font-size: clamp(30px,5vw,52px); line-height: .95; letter-spacing: -.06em; }
.contact-modal__content { display: grid; gap: 28px; }
.contact-modal section { padding-top: 18px; border-top: 1px solid rgba(50,72,56,.14); }
.contact-modal h3 { margin: 0 0 12px; color: #527d67; font-size: 15px; font-weight: 600; }
.contact-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; color: #4d6653; font-size: 14px; }
.contact-line + .contact-line { border-top: 1px solid rgba(50,72,56,.09); }
.contact-line button, .wechat-toggle { flex: 0 0 auto; padding: 6px 11px; border: 1px solid rgba(50,72,56,.2); border-radius: 999px; background: transparent; color: #4d6653; font: inherit; font-size: 12px; cursor: pointer; }
.contact-line button:hover, .wechat-toggle:hover { background: rgba(50,72,56,.08); }
.wechat-toggle { margin-bottom: 14px; }
.wechat-qr { width: min(100%, 210px); padding: 8px; border-radius: 16px; background: #f8f5eb; box-shadow: 0 10px 24px rgba(44,54,45,.1); }
.wechat-qr img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; filter: saturate(.72) contrast(.94); }
.contact-modal__status { min-height: 18px; margin: 22px 0 0; color: var(--muted); font-size: 12px; }
body.contact-is-open { overflow: hidden; }

/* Shared project intro typography */
.project-page .project-title,
.project-page .project-title-en {
  font-size: clamp(58px, 7vw, 112px);
  line-height: .86;
  letter-spacing: -.06em;
}
.project-page .intro-copy h1 {
  margin-top: 20px;
  font-size: clamp(24px, 2.65vw, 40px);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.project-page .intro-question {
  margin-bottom: 14px;
  font-size: clamp(16px, 1.45vw, 22px);
  line-height: 1.35;
}
.project-page .intro-lede {
  max-width: 680px;
  margin: 0;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.78;
}
.project-page .intro-lede br + br { display: block; content: ""; margin-top: .7em; }

@media (max-width: 720px) {
  .site-header { height: 76px; padding-top: 12px; grid-template-columns: 1fr auto; }
  .brand-cluster { gap: 12px; }
  .site-header .logo { width: 58px !important; height: 55px !important; flex-basis: 58px; }
  .site-header .logo img { width: 58px !important; height: 55px !important; max-width: 58px; max-height: 55px; }
  .year { min-height: 29px; padding: 0 11px 1px; font-size: 14px; }
  .site-header nav { display: none; }
  .year { font-size: 14px; }
  .hero { min-height: 600px; }
  .hero h1 { top: 23%; font-size: 18vw; }
  .edition { bottom: 12%; font-size: 18vw; }
  .scroll-cue { display: none; }
  #hero-reveal { display: none; }
  .index-sticky { display: block; padding-top: 9vh; }
  .index-sticky h2 { font-size: 9vw; margin-top: 3vh; }
  .project-list { position: absolute; top: 0; left: var(--pad); right: var(--pad); bottom: 7vh; width: auto; }
  .project-list a { grid-template-columns: 38px 1fr; min-height: 44px; }
  .project-list em { display: none; }
  .project-grid { grid-template-columns: 1fr; gap: 70px; padding-top: 60px; }
  .project-art { aspect-ratio: 4 / 3; height: auto; min-height: 0; }
  .about { min-height: 0; grid-template-columns: 1fr; gap: 42px; padding-top: 70px; }
  .about-portrait { width: min(92%, 420px); order: 2; }
  .about-copy { order: 1; }
  .about-intro { font-size: 16px; }
  .education-list { margin-left: 0; }
  .education-list strong, .education-list span { font-size: 15px; }
  .skills-list > div { grid-template-columns: 116px 1fr; gap: 12px; }
  .skills-list dt, .skills-list dd { font-size: 15px; }
  footer { min-height: 60vh; }
  footer a { font-size: clamp(54px, 16vw, 100px); }
  .contact-modal { padding: 16px; }
  .contact-modal__panel { border-radius: 20px; }
  .contact-line { align-items: flex-start; font-size: 13px; }
  .project-page .project-title,
  .project-page .project-title-en { font-size: 15vw; line-height: .88; }
  .project-page .intro-copy h1 { margin-top: 16px; font-size: 7vw; line-height: 1.12; }
  .project-page .intro-question { margin-bottom: 12px; font-size: 5vw; }
  .project-page .intro-lede { font-size: 15px; line-height: 1.78; }
}

@supports not ((-webkit-mask-image: radial-gradient(circle, #000, transparent)) or (mask-image: radial-gradient(circle, #000, transparent))) {
  #hero-reveal { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
