:root{--bg:#f7f7f5;--ink:#242621;--muted:#666b60;--line:#dedfd7;--accent:#eb603f}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:35px}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,"Helvetica Neue","Noto Sans TC",Arial,sans-serif;-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:5px}.skip{position:fixed;top:-80px;background:var(--ink);color:white;padding:15px;z-index:20}.skip:focus{top:10px}header,main,footer{width:min(1120px,88%);margin:auto}header{display:flex;justify-content:space-between;align-items:center;height:100px}.logo{font-size:34px;font-weight:750;letter-spacing:-2px}.logo span{color:var(--accent)}nav{display:flex;gap:32px;font-size:13px}nav a:hover{color:var(--accent)}.hero{display:grid;grid-template-columns:1fr 1.1fr;align-items:center;min-height:540px;gap:20px;padding:30px 0 70px}.hello{font-size:15px;margin:0 0 20px}h1{font-size:clamp(60px,7vw,96px);font-weight:650;line-height:1.15;letter-spacing:-5px;margin:0 0 26px}.app-word{display:block;font-size:1.25em;letter-spacing:-7px}.period{color:var(--accent)}.bio{font-size:14px;color:#666b60;line-height:1.95}.work-link{display:inline-flex;gap:50px;font-size:13px;border-bottom:1px solid var(--ink);padding:14px 0;margin-top:14px}.work-link span{transition:transform .2s}.work-link:hover span{transform:translateY(5px)}.playground-wrap{min-width:0}#playground{position:relative;height:370px;border-radius:40%;background:radial-gradient(ellipse,#e7e9df70,transparent 65%)}.app-toy{position:absolute;width:76px;height:76px;padding:0;border:0;border-radius:20px;background:transparent;box-shadow:0 8px 18px #00000013;touch-action:none;transform:rotate(var(--r));transition:left .7s cubic-bezier(.2,.8,.2,1),top .7s cubic-bezier(.2,.8,.2,1),transform .25s,box-shadow .25s;cursor:grab;animation:bob 5s ease-in-out infinite;animation-delay:var(--delay)}.app-toy img{display:block;width:100%;height:100%;border-radius:20px;pointer-events:none}.app-toy:hover,.app-toy:focus-visible{animation-play-state:paused;z-index:5;box-shadow:0 15px 28px #00000026;transform:rotate(0deg) scale(1.13)}.app-toy.dragging{transition:none;animation:none;cursor:grabbing;z-index:10;transform:rotate(0deg) scale(1.1)}@keyframes bob{0%,100%{translate:0 0}50%{translate:0 -9px}}.playground-foot{display:flex;justify-content:space-between;align-items:center;padding:12px 18px;font-size:11px;color:var(--muted)}.playground-foot button{background:none;border:0;font-size:11px;color:#5b6054;padding:8px}.work-heading{border-top:1px solid var(--line);padding-top:34px;display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}h2{font-size:26px;letter-spacing:-1px;font-weight:550;margin:0}.work-heading h2 span{font-size:12px;color:var(--muted);font-weight:400;vertical-align:top;margin-left:7px}.filters{display:flex;gap:5px}.filters button{font-size:12px;background:none;border:0;border-radius:20px;padding:9px 15px;color:#666b60}.filters button.active{background:#e7e9e2;color:var(--ink)}.projects{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.project{position:relative;text-align:left;display:flex;flex-direction:column;width:100%;background:#eeefe9;border:1px solid transparent;border-radius:18px;padding:30px;min-height:252px;overflow:hidden;transform:perspective(700px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .18s ease,background .25s,border-color .25s;isolation:isolate}.project:before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(240px circle at var(--x,50%) var(--y,50%),#ffffffb0,transparent);opacity:0;transition:opacity .3s}.project:hover{border-color:#d7dacf;background:#e9ece2}.project:hover:before{opacity:1}.project img{width:62px;height:62px;border-radius:15px;margin-bottom:26px;box-shadow:0 5px 12px #00000009;transition:transform .3s}.project:hover img{transform:translateY(-4px) rotate(-5deg)}.project h3{font-size:17px;line-height:1.4;font-weight:550;margin:0 0 9px;letter-spacing:-.3px}.project p{font-size:12px;color:#656b5d;line-height:1.7;margin:0}.project .arrow{position:absolute;right:24px;top:28px;font-size:19px;color:#999e8f;transition:transform .25s}.project:hover .arrow{transform:translate(3px,-3px);color:var(--ink)}.project[hidden]{display:none}.about{padding:75px 0;display:grid;grid-template-columns:1fr 2fr;gap:20px;border-bottom:1px solid var(--line)}.about p{margin:0;font-size:14px;line-height:1.95;color:#646960}.about .stack{grid-column:2;font-size:11px;color:#666b60}#contact{padding:70px 0 65px}#contact h2{font-size:clamp(34px,5vw,56px);margin-bottom:24px}.contact-row{display:flex;gap:25px;align-items:center}.contact-row>a{font-size:clamp(16px,2.4vw,27px);letter-spacing:-.7px}.contact-row>a>span{margin-left:20px;color:var(--accent)}#copy-email{background:none;border:1px solid var(--line);font-size:11px;padding:8px 12px;border-radius:20px}#copy-status{display:block;height:18px;font-size:11px;color:var(--muted);margin-top:12px}footer{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);padding:25px 0;border-top:1px solid var(--line)}dialog{border:0;border-radius:22px;padding:0;background:var(--bg);color:var(--ink);width:min(950px,94vw);max-height:90vh;box-shadow:0 30px 100px #0004}dialog::backdrop{background:#20291e60;backdrop-filter:blur(10px)}dialog[open]{animation:open .25s ease-out}@keyframes open{from{opacity:0;transform:translateY(22px) scale(.98)}to{opacity:1;transform:none}}.detail-top{display:flex;justify-content:space-between;align-items:center;padding:20px 30px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--bg);z-index:1}.detail-top>span{font-size:11px;color:var(--muted)}#close-detail{border:0;border-radius:50%;background:#e7e9e1;width:34px;height:34px}.detail-body{padding:34px}.detail-body>img{width:70px;height:70px;border-radius:16px;margin-bottom:22px}.detail-body>h2{font-size:30px}.detail-body>p{font-size:14px;line-height:1.9;color:#6c7166;max-width:680px}#store-links{display:flex;gap:10px;margin:22px 0 30px}#store-links a{display:inline-block;background:var(--ink);color:white;padding:11px 17px;border-radius:24px;font-size:12px}.screenshots{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:18px}.screenshots img{height:380px;width:auto;max-width:85%;object-fit:contain;border-radius:13px;scroll-snap-align:start;background:#e7e9e1}@media(max-width:850px){.hero{grid-template-columns:1fr 1fr;min-height:460px}.app-toy{width:62px;height:62px;border-radius:16px}.app-toy img{border-radius:16px}.projects{grid-template-columns:repeat(2,1fr)}h1{font-size:65px}.project{padding:25px}#playground{height:320px}}@media(max-width:560px){header{height:76px}.hero{grid-template-columns:1fr;gap:25px;padding:30px 0 40px}.hero-copy{position:relative}h1{font-size:58px;letter-spacing:-3px}.app-word{display:inline;margin-left:10px;font-size:1.15em;letter-spacing:-4px}.hello{font-size:12px;margin-bottom:12px}.bio{font-size:12px}.work-link{margin-top:2px}.playground-wrap{margin:0 -8px}#playground{height:270px}.app-toy{width:58px;height:58px}.work-heading{padding-top:24px;gap:8px}.filters{gap:0}.filters button{padding:8px 10px;font-size:11px}.project{min-height:215px;border-radius:14px;padding:20px 16px}.project img{width:50px;height:50px;border-radius:12px;margin-bottom:23px}.project h3{font-size:14px}.project p{font-size:11px}.project .arrow{right:16px;top:20px;font-size:15px}.projects{gap:10px}.about{padding:45px 0;grid-template-columns:1fr;gap:18px}.about p{font-size:12px}.about .stack{grid-column:1;font-size:10px}#contact{padding:45px 0}.contact-row{gap:12px;flex-wrap:wrap}.contact-row>a{letter-spacing:-.3px}.contact-row>a>span{margin-left:8px}.detail-body{padding:24px}.detail-top{padding:15px 24px}.screenshots img{height:330px}.detail-body>h2{font-size:24px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before{animation:none!important;transition:none!important}.project{transform:none!important}}
/* Screen-led project gallery */
.projects{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 25px}.project{padding:0;background:none;border:0;border-radius:0;overflow:visible;min-height:0;display:block}.project:before{display:none}.project:hover{background:none}.project-stage{height:365px;border-radius:16px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:20px;padding:30px;isolation:isolate}.project-stage:before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 30% 10%,#ffffff60,transparent 65%);z-index:-1}.project .stage-screen{height:300px;width:auto;max-width:43%;object-fit:contain;object-position:center;border-radius:12px;margin:0;box-shadow:0 16px 28px #25302622;transition:transform .5s cubic-bezier(.2,.7,.2,1);transform:translateY(0) rotate(-5deg)}.project .stage-screen.screen-1{transform:translateY(20px) rotate(5deg)}.project:hover .stage-screen.screen-0{transform:translateY(-8px) rotate(-2deg)}.project:hover .stage-screen.screen-1{transform:translateY(8px) rotate(2deg)}.project .stage-icon{width:100px;height:100px;border-radius:23px;margin:0}.preview-hint{position:absolute;bottom:18px;right:18px;padding:10px 14px;background:#ffffffd9;border-radius:30px;font-size:11px;opacity:0;transform:translateY(8px);transition:opacity .25s,transform .25s}.project:hover .preview-hint,.project:focus-visible .preview-hint{opacity:1;transform:none}.project-caption{display:flex;align-items:center;gap:13px;padding:18px 2px 0}.project-caption>img{width:38px;height:38px;border-radius:9px;box-shadow:none;margin:0;flex-shrink:0}.project:hover .project-caption>img{transform:none}.project-caption>div{min-width:0}.project h3{font-size:17px;margin:0 0 5px}.project p{font-size:12px;color:#697061}.project .arrow{position:static;margin-left:auto;color:#697061}.detail-body{display:grid;grid-template-columns:280px minmax(0,1fr);gap:25px;padding:35px}.detail-info>img{height:64px;width:64px;border-radius:16px;margin:0 0 24px}.detail-info h2{font-size:26px;line-height:1.5}.detail-info p{font-size:13px;line-height:1.9;color:#697061}.detail-info #store-links{flex-wrap:wrap;gap:8px}.screenshots{align-items:center;padding:24px;background:#e9ece3;border-radius:15px;gap:18px;min-width:0;scroll-padding-left:24px;overscroll-behavior-x:contain}.screenshots img{height:440px;width:auto;max-width:none;border-radius:10px;flex-shrink:0;box-shadow:0 6px 16px #00000012}.client-work{margin-top:70px;padding:40px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.client-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.client-heading>span{font-size:11px;color:var(--muted)}#client-projects{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.client-card{border:1px solid var(--line);border-radius:14px;padding:25px}.client-card h3{font-size:18px;margin:0 0 10px;font-weight:550}.client-card p{font-size:13px;line-height:1.8;color:#697061;margin:0 0 14px}.client-card .client-role{font-size:11px;color:#747a6d}.client-card a{display:inline-block;font-size:12px;border-bottom:1px solid;margin-top:16px}.client-work+.about{border-top:0}
@media(max-width:850px){.project-stage{height:310px;padding:22px;gap:14px}.project .stage-screen{height:250px}.detail-body{grid-template-columns:1fr}.detail-info{display:grid;grid-template-columns:64px 1fr;gap:0 18px}.detail-info>img{grid-row:span 2;margin:0}.detail-info h2{font-size:24px}.detail-info p{grid-column:2;margin-top:6px}.detail-info #store-links{grid-column:2;margin:8px 0 0}.screenshots img{height:380px}}
@media(max-width:560px){.projects{grid-template-columns:1fr;gap:30px}.project-stage{height:345px;padding:25px;gap:15px;border-radius:14px}.project .stage-screen{height:282px;max-width:44%;border-radius:10px}.project-caption{padding-top:15px}.project-caption h3{font-size:17px}.project-caption p{font-size:12px}.preview-hint{opacity:1;transform:none;font-size:10px;padding:8px 12px}.detail-body{padding:22px;gap:22px}.detail-info{display:block}.detail-info>img{height:48px;width:48px;border-radius:12px;margin-bottom:16px}.detail-info h2{font-size:23px}.detail-info #store-links{margin-top:18px}.screenshots{padding:18px;scroll-padding-left:18px}.screenshots img{height:355px}.client-work{margin-top:45px;padding:30px 0}#client-projects{grid-template-columns:1fr}.client-card{padding:22px}}
.client-card>img{width:50px;height:50px;border-radius:12px;object-fit:contain;margin-bottom:20px}.client-work[hidden]{display:none}

.project-stage{width:100%;border:0;font:inherit;color:inherit;cursor:pointer}.project:focus-within .preview-hint{opacity:1;transform:none}

/* Clear hero typography */
.hero-copy{min-width:0}h1{font-size:clamp(52px,6.8vw,88px);line-height:1.2;letter-spacing:-.045em;white-space:normal;word-break:normal;text-wrap:wrap}.bio{font-size:18px;line-height:1.85;max-width:440px;color:#51574c}.about p{font-size:18px;line-height:1.85}.about .stack{font-size:14px}.playground-foot{justify-content:flex-end}@media(max-width:560px){h1{font-size:clamp(46px,12vw,64px)}.bio,.about p{font-size:17px;line-height:1.85}.about .stack{font-size:13px}}

/* Shared thin-line navigation icons */
.ui-icon{display:inline-block;width:18px;height:18px;flex:none;vertical-align:middle}nav a,footer>a,.playground-foot button,.contact-row>a,#store-links a,.client-card a{display:inline-flex;align-items:center;gap:8px}.project .arrow{display:flex;align-items:center;justify-content:center;width:32px;height:32px;color:#697061;flex:none}.project .arrow .ui-icon{width:21px;height:21px}.project:hover .arrow{transform:translateX(3px)}.contact-row>a .ui-icon{width:24px;height:24px;margin-left:4px;color:var(--accent)}.playground-foot button .ui-icon{width:15px;height:15px}footer .ui-icon{width:16px;height:16px}

/* Language navigation and English copy */
.language-link{font-size:12px;border:1px solid var(--line);border-radius:20px;padding:6px 10px;white-space:nowrap}html[lang="en"] h1{font-size:clamp(46px,5.5vw,74px);letter-spacing:-.055em}html[lang="en"] .client-heading{align-items:baseline;gap:15px}html[lang="en"] .client-heading h2{letter-spacing:-.6px}@media(max-width:560px){nav{gap:16px}html[lang="en"] h1{font-size:clamp(42px,10.7vw,60px)}html[lang="en"] .work-heading{flex-wrap:wrap;gap:16px}html[lang="en"] .client-heading{align-items:flex-start;flex-direction:column;gap:8px}}

/* Website work preview */
.filters{flex-wrap:wrap}.website-project .project-stage{padding:28px}.website-project .stage-screen,.website-project .stage-screen.screen-0{width:100%;height:auto;max-width:100%;max-height:100%;object-fit:contain;transform:none;border-radius:8px}.website-project:hover .stage-screen.screen-0{transform:translateY(-4px)}.website-detail .screenshots img{width:100%;height:auto;max-width:100%;max-height:550px;object-fit:contain}@media(max-width:560px){.work-heading{flex-wrap:wrap;gap:14px}.website-project .project-stage{height:265px;padding:18px}}
