@charset "UTF-8";
:root{--paper:#f5f4ee;--ink:#242923;--muted:#6e746a;--line:#d7dad0;--green:#d5ed8c}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,"Microsoft YaHei","PingFang SC",sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}a:hover{color:#627342}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid #627342;outline-offset:5px}img{display:block;max-width:100%}h1,h2,h3,p,figure{margin:0}h1,h2,h3{font-weight:500;line-height:1.2;letter-spacing:-.035em}p{line-height:1.85;color:var(--muted)}.wrap{width:calc(100% - 96px);max-width:1240px;margin-inline:auto}.eyebrow{font-size:11px;letter-spacing:.14em;color:var(--muted)}
.site-header{height:104px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:25px}.brand{display:flex;align-items:center;gap:18px;font-size:14px;font-weight:600;white-space:nowrap}.brand-mark{font-size:30px;letter-spacing:-3px;line-height:1}.brand-mark>span{color:#6b7c40;font-size:25px;display:inline-block;margin-left:6px}.brand-en{display:block;font-size:9px;font-weight:500;letter-spacing:.12em;margin-top:3px}.site-header nav{display:flex;gap:31px;align-items:center;font-size:13px}.site-header nav a{position:relative}.site-header nav a[aria-current]::after{content:'';position:absolute;bottom:-10px;left:0;right:0;height:2px;background:var(--ink)}.nav-index{font-size:25px}.menu-toggle{display:none}
.home-highlight{padding-top:38px}.highlight-image{display:flex;align-items:center;justify-content:center;background:#191b17;height:clamp(300px,43vw,600px);padding:28px;overflow:hidden}.highlight-image img{width:100%;height:100%;object-fit:contain;transition:transform .4s}.highlight-image:hover img{transform:scale(1.02)}.highlight-title{display:flex;align-items:center;justify-content:space-between;padding:19px 0 0}.highlight-title h2{font-size:40px}.highlight-title h2 span{font-size:28px;margin-left:12px}.home-grid{padding-top:55px}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:42px 28px}.project-card[hidden]{display:none}.project-image{display:block;aspect-ratio:1.6;overflow:hidden;background:#e6e7df}.project-image img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.project-image:hover img{transform:scale(1.025)}.project-image.luna img{object-fit:contain;background:#242c37;padding:20px}.project-image.alibi img{object-fit:contain;background:#e9e9e5;padding:24px}.project-image.poster img{object-fit:contain;padding:22px}.project-card h2{font-size:25px;margin-top:15px}.project-card h2 a{display:flex;justify-content:space-between;gap:16px;align-items:baseline}.project-card h2 span{font-size:22px;color:var(--muted)}
.page-intro{padding-block:45px 36px}.page-intro h1{font-size:48px}.compact-section{padding-block:60px 15px}.compact-section>h2,.resume-section>h2{font-size:22px;margin-bottom:23px}.title-list{border-top:1px solid var(--line)}.title-list>a{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;border-bottom:1px solid var(--line);font-size:20px}.title-list>a span{font-size:22px;color:var(--muted)}.filter-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.filters{display:flex;gap:6px}.filters button{background:transparent;border:0;border-radius:25px;padding:9px 19px;font-size:13px;color:var(--muted);min-height:42px}.filters button.active{background:var(--ink);color:#fff}.filters button span{font-size:10px;margin-left:6px}.search-box input{border:0;background:transparent;padding:10px 0;width:180px;font-size:13px;border-bottom:1px solid var(--line);border-radius:0;color:var(--ink)}.empty-state{padding-block:35px}
.detail-heading{padding-block:30px}.back{display:inline-block;color:var(--muted);font-size:12px;margin-bottom:22px}.detail-heading h1{font-size:clamp(32px,4.2vw,54px);overflow-wrap:anywhere}.actions{display:flex;gap:12px 26px;flex-wrap:wrap;margin-top:19px}.text-link{font-size:13px;display:inline-flex;align-items:center;min-height:34px;border-bottom:1px solid var(--line)}.pdf-stack{display:flex;flex-direction:column;gap:20px}.pdf-page{margin:0}.pdf-page a{display:block;cursor:zoom-in;background:#e7e7e0}.pdf-page img{width:100%;height:auto}.pdf-page figcaption{font-size:10px;letter-spacing:.1em;color:var(--muted);text-align:right;padding-top:7px}.document-heading{font-size:20px;margin-bottom:18px}.pdf-stack+.document-heading{margin-top:42px}.next-project{padding-block:45px 5px}.next-project>a{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:25px;font-size:28px}.short-detail{min-height:35vh;max-width:1240px}.short-detail p{max-width:720px;margin-bottom:20px}.short-detail p:not(.eyebrow){font-size:17px}
.about-intro{padding-bottom:42px}.name-en{display:block;font-size:25px;letter-spacing:0;color:var(--muted);margin-top:12px}.about-intro>p{font-size:16px;margin-top:25px}.resume-section{padding-block:20px 30px}.resume-row{border-top:1px solid var(--line);display:grid;grid-template-columns:190px 1fr;gap:35px;padding-block:24px}.resume-date{font-size:12px;color:var(--muted);padding-top:4px;line-height:1.7}.resume-row h3{font-size:23px;letter-spacing:-.02em}.resume-row .resume-role{font-size:13px;color:var(--ink);margin:8px 0 12px}.resume-row p:last-child{font-size:14px;max-width:740px}.skills-line{border-top:1px solid var(--line);padding-top:24px;font-size:14px}
.site-footer{margin-top:65px;border-top:1px solid var(--line);display:flex;align-items:center;gap:26px;padding-block:28px}.site-footer p{font-size:12px}.site-footer>a:last-child{font-size:12px;margin-left:auto}.footer-brand{font-size:30px;letter-spacing:-2px;gap:2px}.footer-brand span{font-size:25px;color:#78874f}.error-page{min-height:65vh}.error-page .text-link{margin-top:30px}.lightbox{padding:64px 24px 24px;background:#171b17;border:0;max-width:96vw;max-height:94vh;width:min(1800px,96vw);color:white}.lightbox::backdrop{background:#101710dc;backdrop-filter:blur(5px)}.lightbox img{width:100%;max-height:76vh;object-fit:contain}.lightbox p{color:#c8d0c0;font-size:12px;margin-top:18px}.lightbox-close{position:absolute;right:20px;top:14px;border:1px solid #69715e;background:#232b21;color:white;padding:9px 17px;font-size:13px}.modal-open{overflow:hidden}.skip{position:fixed;top:-70px;left:15px;z-index:20;background:var(--green);padding:12px 20px}.skip:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
@media(max-width:1000px){.wrap{width:calc(100% - 64px)}.site-header nav{gap:22px}.highlight-image{height:47vw;min-height:300px}.resume-row{grid-template-columns:155px 1fr;gap:22px}}
@media(max-width:700px){.wrap{width:calc(100% - 36px)}.site-header{height:80px;position:relative;gap:10px}.brand{gap:12px}.brand-mark{font-size:28px}.menu-toggle{display:flex;align-items:center;gap:12px;border:0;background:transparent;color:var(--ink);font-size:13px;padding:9px 0 9px 14px;min-height:44px}.menu-toggle span{font-size:22px}.site-header nav{display:none;position:absolute;left:-18px;right:-18px;top:79px;z-index:10;background:var(--paper);padding:18px;border-bottom:1px solid var(--line);box-shadow:0 15px 20px #2429230b;flex-direction:column;align-items:stretch;gap:0}.site-header nav.open{display:flex}.site-header nav a{padding:12px}.site-header nav a[aria-current]::after{left:12px;right:auto;width:24px;bottom:5px}.site-header .nav-index{display:none}.home-highlight{padding-top:22px}.highlight-image{height:auto;min-height:0;aspect-ratio:1.5;padding:14px}.highlight-title{padding-top:14px}.highlight-title h2{font-size:31px}.highlight-title h2 span{font-size:23px}.highlight-title .eyebrow{font-size:9px}.home-grid{padding-top:32px}.project-grid{gap:30px;grid-template-columns:1fr}.project-card h2{font-size:24px;margin-top:12px}.project-image{aspect-ratio:1.6}.page-intro{padding-block:30px}.page-intro h1{font-size:36px}.compact-section{padding-block:40px 5px}.compact-section>h2,.resume-section>h2{font-size:20px;margin-bottom:18px}.title-list>a{font-size:18px;padding-block:18px}.filter-bar{gap:15px;flex-wrap:wrap}.filters button{padding-inline:14px}.search-box{flex:1;min-width:120px}.search-box input{width:100%}.detail-heading{padding-block:22px}.detail-heading h1{font-size:34px}.back{margin-bottom:17px;font-size:11px}.actions{gap:7px 20px;margin-top:13px}.text-link{font-size:12px;min-height:36px}.pdf-gallery{width:100%}.pdf-stack{gap:13px}.pdf-page figcaption{padding:6px 18px 0;font-size:9px}.document-heading{padding-inline:18px;font-size:18px}.next-project{padding-block:30px 0}.next-project>a{font-size:24px}.short-detail p:not(.eyebrow){font-size:15px}.name-en{font-size:22px}.about-intro>p{font-size:14px;margin-top:20px}.resume-row{grid-template-columns:1fr;gap:10px;padding-block:21px}.resume-row h3{font-size:21px}.resume-date{font-size:11px}.resume-row .resume-role{font-size:12px}.resume-row p:last-child{font-size:13px}.resume-section{padding-block:15px 22px}.skills-line{font-size:13px}.site-footer{margin-top:45px;padding-block:24px;gap:15px}.site-footer p{font-size:10px}.site-footer>a:last-child{font-size:10px}.footer-brand{font-size:26px}.lightbox{padding:60px 10px 15px}.lightbox img{max-height:72vh}.lightbox p{font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}
@media print{.site-header,.site-footer,.actions,.lightbox,.next-project,.skip{display:none!important}body{background:#fff;color:#000}.wrap{width:100%}.pdf-page{break-inside:avoid}.pdf-stack{gap:0}.detail-heading{padding-block:20px}.pdf-page figcaption{padding-bottom:10px}}

/* Keep the language control visible even when the mobile menu is collapsed. */
.language-toggle{border:1px solid var(--line);background:transparent;color:var(--ink);font-size:12px;line-height:1;padding:10px 13px;min-height:38px;border-radius:20px;white-space:nowrap;margin-left:auto}.language-toggle:hover{border-color:var(--ink);background:#e9ecdf}.site-header .brand{margin-right:auto}.site-header .language-toggle{margin-left:0}.site-header .menu-toggle{flex-shrink:0}.highlight-title h2 a>span[data-i18n]{font-size:inherit;margin:0}.project-card h2 a>span[data-i18n]{font-size:inherit;color:inherit}.site-footer>a:last-child>span{font-size:inherit}
@media(max-width:700px){.site-header{gap:14px}.site-header .brand{gap:9px}.language-toggle{padding:9px 11px;min-height:36px}.site-header .menu-toggle{padding-left:0;gap:5px}.brand-en{font-size:8px}.resume-row h3{overflow-wrap:anywhere}}

.menu-toggle>span[data-i18n]{font-size:13px}.filters button>span[data-i18n]{font-size:inherit;margin:0}.title-list>a>span[data-i18n]{font-size:inherit;color:inherit}

html[lang="en"] .brand-en,html[lang="en"] .about-intro .name-en{display:none}
.highlight-image.pinball-highlight{padding:0;height:auto;min-height:0;aspect-ratio:460/215}.pinball-highlight img{object-fit:contain}.game-intro{padding-bottom:28px}.game-intro p{max-width:820px;margin-bottom:16px}.game-intro p:not(.eyebrow){font-size:16px}.game-gallery{display:grid;gap:24px}.game-gallery a{display:block;cursor:zoom-in}.game-gallery img{width:100%;height:auto}.project-image.pinball-rouge{background:#547f49}.project-image.pinball-rouge img{object-fit:contain}
@media(max-width:700px){.game-intro p:not(.eyebrow){font-size:14px}.game-gallery{width:100%;gap:14px}.highlight-title h2{font-size:29px}}

.game-chapter{padding-block:30px 36px;border-top:1px solid var(--line)}.chapter-copy{display:grid;grid-template-columns:1fr 2fr;gap:30px;margin-bottom:25px}.game-chapter h2{font-size:26px}.chapter-copy p,.development-note p{max-width:820px;font-size:16px}.game-story .game-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.game-gallery figcaption{font-size:12px;color:var(--muted);margin-top:10px}.development-note p{margin-top:18px}
@media(max-width:700px){.chapter-copy{grid-template-columns:1fr;gap:14px}.game-chapter{padding-block:24px}.game-chapter h2{font-size:23px}.chapter-copy p,.development-note p{font-size:14px}.game-story .game-gallery{width:100%;grid-template-columns:1fr;gap:20px}}
