:root{color-scheme:light;--paper:#fff9f1;--ink:#432d23;--muted:#806858;--orange:#ba5328;--pale:#ffebd8;font-family:"Hiragino Sans GB","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0;min-height:100dvh;display:grid;place-items:center}a{color:inherit;text-decoration:none}a:focus-visible{outline:3px solid var(--orange);outline-offset:4px}button,a{-webkit-tap-highlight-color:transparent}img{max-width:100%;display:block}svg{display:block;flex-shrink:0}h1,h2,p,figure{margin:0}h1{text-wrap:balance}p{text-wrap:pretty}.skip-link{position:fixed;left:24px;top:12px;padding:12px 16px;transform:translateY(-200%);background:var(--paper);border:1px solid var(--orange);border-radius:8px;z-index:30}.skip-link:focus{transform:none}
#wrap{position:relative;container-type:inline-size;width:min(100vw,160vh);aspect-ratio:1.6}
.site-header{position:absolute;inset:3.2% 5% auto;z-index:10;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:24px;background:var(--paper)}.brand{display:inline-flex;align-items:center;gap:12px;min-height:44px;white-space:nowrap;font-size:16px}.brand-mark{display:grid;place-items:center;width:32px;height:32px;background:var(--orange);color:white;border-radius:8px;font-size:20px;font-weight:600}.main-nav{display:flex;align-items:center;gap:24px}.main-nav a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:44px;min-height:44px;font-size:14px;white-space:nowrap;border-radius:8px}.main-nav a:hover{color:var(--orange);background:var(--pale)}.main-nav a:active{transform:translateY(1px)}
.intro{position:absolute;left:5%;top:17.6%;width:40%;height:40%}.eyebrow{font-size:1.25cqw;line-height:1.75cqw;color:var(--muted);margin-bottom:1.75cqw}.intro h1{font-size:3.75cqw;line-height:5cqw;letter-spacing:-.02em;font-weight:600}.intro h1 span{display:block;white-space:nowrap}.intro h1 span:last-child{color:var(--orange)}.intro-copy{font-size:1.25cqw;line-height:2.25cqw;color:var(--muted);margin-top:1cqw}.primary-cta{position:absolute;top:20.5cqw;left:0;display:inline-flex;align-items:center;justify-content:center;width:13cqw;height:3cqw;border-radius:999px;background:var(--orange);color:white;font-size:1cqw;transition:transform .25s cubic-bezier(.32,.72,0,1)}.primary-cta:hover{transform:translateY(-2px)}.primary-cta:active{transform:translateY(1px)}.desktop-tagline{position:absolute;top:21.5cqw;left:15cqw;color:var(--muted);font-size:1cqw;white-space:nowrap}
.island-view{position:absolute;left:46%;top:11.2%;width:54%;height:45.6%;scroll-margin-top:136px}.island-poster,#live-island{position:absolute;inset:0;width:100%;height:100%;border:0;background:transparent}.island-poster{background:url('./assets/island-cloud-background.webp') center/100% 100% no-repeat;pointer-events:none;opacity:1;transition:opacity .45s cubic-bezier(.33,1,.68,1)}.island-poster img{width:100%;height:100%;object-fit:contain}#live-island{opacity:0;transition:opacity .45s cubic-bezier(.33,1,.68,1)}.island-view.is-ready #live-island{opacity:1}.island-view.is-ready .island-poster{opacity:0}
.work-intro{position:absolute;left:5.25%;top:64%;color:var(--muted)}.work-intro h2{font-size:1.125cqw;line-height:1.5cqw;font-weight:500;color:var(--ink)}.work-intro p{font-size:1cqw;line-height:1.5cqw;margin-top:.75cqw}
.showcase figure{position:absolute}.phone{left:44.5%;top:48.8%;width:6.5%;transform:rotate(-3deg)}.browser.tuclub{left:54%;top:56.8%;width:18%;transform:rotate(2deg)}.browser.bayu{left:75.5%;top:56.8%;width:16%;transform:rotate(-3deg)}.screen-shell{overflow:hidden;background:white;box-shadow:0 .5cqw 1.5cqw #56331918}.phone .screen-shell{border:.375cqw solid var(--ink);border-radius:1.5cqw;aspect-ratio:1/2.08}.browser .screen-shell{border:1px solid #eadbcb;border-radius:.75cqw;height:9cqw;position:relative;padding-top:1.5cqw}.browser-bar{position:absolute;top:0;left:0;right:0;height:1.5cqw;background:#fff1e4;display:flex;align-items:center;gap:.25cqw;padding-left:.625cqw}.browser-bar i{display:block;width:.25cqw;height:.25cqw;border-radius:50%;background:#e9b798}.browser-bar:after{content:"";height:.625cqw;flex:1;margin:0 .75cqw 0 .625cqw;border-radius:4px;background:#fff9f4}.showcase img{width:100%;height:100%;object-fit:cover;object-position:top}.showcase figcaption{font-size:.875cqw;line-height:1.25cqw;text-align:center;color:var(--muted);margin-top:1cqw;white-space:nowrap}
#projects{scroll-margin-top:136px}#projects h2,.secondary-project-heading{position:absolute;top:76%;font-size:1.125cqw;line-height:1.5cqw;font-weight:400}#projects h2{left:5%}.secondary-project-heading{left:53%}.project{position:absolute;left:var(--project-x);top:var(--project-y);width:9.5%;height:15.2%;text-align:center;border-radius:16px}.project-icon{width:6.5cqw;height:6cqw;object-fit:contain;margin:0 auto;transform-origin:50% 90%}.project-name{display:block;font-size:1.125cqw;line-height:1.5cqw;margin-top:.5cqw;white-space:nowrap}.project-detail{display:block;font-size:.875cqw;line-height:1.25cqw;color:var(--muted);margin-top:.25cqw;white-space:nowrap}.project:hover{background:#ba532809}.project:focus-visible .project-icon{animation:toy-bounce .72s cubic-bezier(.32,.72,0,1) infinite}.project:active .project-icon{transform:scale(.96)}
.site-footer{position:absolute;left:5%;right:5%;bottom:1.6%;display:flex;justify-content:space-between;gap:16px;color:var(--muted);font-size:max(10px,.75cqw);line-height:20px}.site-footer>div{display:flex;gap:16px}.site-footer a:hover{color:var(--orange)}
@keyframes toy-bounce{0%,100%{transform:translateY(0) scale(1.04,.98)}45%{transform:translateY(-12px) scale(1.02,1.06)}75%{transform:translateY(-4px) scale(1.04,1)}}
@media(hover:hover){.project:hover .project-icon{animation:toy-bounce .72s cubic-bezier(.32,.72,0,1) infinite}}
@media(max-width:1023px){
 body{display:block}#wrap{width:100%;max-width:800px;margin:0 auto;padding:0 24px;aspect-ratio:auto;container-type:normal}
 .site-header{position:sticky;inset:auto;top:0;min-height:unset;margin:0 -24px;padding:12px 24px 8px;display:grid;grid-template-columns:minmax(0,1fr);justify-content:normal;gap:8px;padding-top:max(12px,env(safe-area-inset-top));background:var(--paper)}.brand{font-size:14px}.main-nav{justify-content:space-between;gap:8px}.main-nav a{font-size:14px;padding:0 4px}.github-label{display:none}
 .intro{position:static;width:auto;height:auto;padding:32px 0 16px;text-align:center}.eyebrow{font-size:14px;line-height:20px;margin-bottom:24px}.intro h1{font-size:36px;line-height:40px;letter-spacing:-.025em}.intro h1 span{white-space:normal}.intro-copy{font-size:16px;line-height:28px;margin:24px 0}.primary-cta{position:static;min-height:48px;width:auto;height:auto;padding:8px 24px;font-size:16px}.desktop-tagline{display:none}
 .island-view{position:relative;left:auto;top:auto;width:calc(100% + 48px);height:clamp(280px,78vw,464px);margin:0 -24px}.work-intro{position:static;margin-top:32px}.work-intro h2{font-size:20px;line-height:28px;font-weight:600}.work-intro p{font-size:14px;line-height:24px;margin:12px 0 24px}
 .showcase{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;align-items:center;max-width:560px;margin:0 auto 48px}.showcase figure{position:static;width:auto;min-width:0}.showcase .phone{grid-row:span 2}.browser.tuclub,.browser.bayu{transform:none}.phone .screen-shell{border:6px solid var(--ink);border-radius:20px}.browser .screen-shell{height:auto;aspect-ratio:2/1;border-radius:8px;padding-top:12px}.browser-bar{height:12px;gap:3px;padding-left:8px}.browser-bar i{width:3px;height:3px}.browser-bar:after{height:5px;margin:0 8px;border-radius:4px}.showcase figcaption{font-size:12px;line-height:16px;margin-top:8px}
 #projects{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 8px;margin:24px 0 40px}#projects h2{position:static;grid-column:1/-1;font-size:20px;line-height:28px;font-weight:600}.secondary-project-heading{display:none}.project{position:relative;inset:auto;width:auto;height:auto;min-height:160px;padding:12px 0}.project-icon{width:104px;height:96px}.project-name{font-size:16px;line-height:24px;margin-top:8px}.project-detail{font-size:12px;line-height:20px;margin-top:4px}
 .site-footer{position:static;padding:16px 0 max(24px,env(safe-area-inset-bottom));font-size:12px;line-height:20px;flex-direction:column;gap:8px}.site-footer>div{display:flex;flex-wrap:wrap;gap:8px 16px}
}
@media(min-width:640px) and (max-width:1023px){.intro{padding-top:48px}.intro h1{font-size:48px;line-height:1}.showcase{grid-template-columns:112px minmax(0,1fr);gap:24px}.showcase .phone{max-width:112px}#projects{grid-template-columns:repeat(4,minmax(0,1fr))}.project-detail{font-size:14px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important}.project-icon{animation:none!important;transform:none!important}.island-poster,#live-island,.primary-cta{transition:none}}

@media(min-width:768px) and (max-width:1023px){.site-header{display:flex;gap:24px;padding:16px 24px}.main-nav{gap:16px}.github-label{display:inline}}

/* Run once on page load; independent translate preserves rotations and hover transforms. */
@keyframes entrance-up{from{opacity:0;translate:0 10px;filter:blur(4px)}to{opacity:1;translate:0 0;filter:blur(0)}}
@keyframes entrance-down{from{opacity:0;translate:0 -8px;filter:blur(4px)}to{opacity:1;translate:0 0;filter:blur(0)}}
@keyframes entrance-card{from{opacity:0;translate:0 24px;filter:blur(6px)}to{opacity:1;translate:0 0;filter:blur(0)}}
@media(prefers-reduced-motion:no-preference){
 .brand,.main-nav,.intro .eyebrow,.intro h1>span,.intro-copy,.primary-cta,.desktop-tagline,.work-intro>*,.showcase figure,#projects h2,.secondary-project-heading,.project,.site-footer{animation-name:entrance-up;animation-duration:.95s;animation-timing-function:cubic-bezier(.16,1,.3,1);animation-delay:var(--entrance-delay,0s);animation-iteration-count:1;animation-fill-mode:backwards}
 .brand,.main-nav{animation-name:entrance-down;animation-duration:.7s}.main-nav{--entrance-delay:.06s}
 .intro .eyebrow{--entrance-delay:.16s}.intro h1>span:first-child{--entrance-delay:.24s}.intro h1>span:last-child{--entrance-delay:.34s}.intro-copy{--entrance-delay:.44s}.primary-cta{--entrance-delay:.54s}.desktop-tagline{--entrance-delay:.6s}
 .work-intro h2{--entrance-delay:.74s}.work-intro p{--entrance-delay:.8s}
 .showcase figure{animation-name:entrance-card;animation-duration:1.05s}.showcase figure:nth-child(1){--entrance-delay:.84s}.showcase figure:nth-child(2){--entrance-delay:.94s}.showcase figure:nth-child(3){--entrance-delay:1.04s}
 #projects h2{--entrance-delay:.9s}.secondary-project-heading{--entrance-delay:.94s}
 .project:nth-of-type(1){--entrance-delay:1.04s}.project:nth-of-type(2){--entrance-delay:1.12s}.project:nth-of-type(3){--entrance-delay:1.2s}.project:nth-of-type(4){--entrance-delay:1.28s}.project:nth-of-type(5){--entrance-delay:1.36s}.project:nth-of-type(6){--entrance-delay:1.44s}.project:nth-of-type(7){--entrance-delay:1.52s}.project:nth-of-type(8){--entrance-delay:1.6s}
 .site-footer{--entrance-delay:1.36s;animation-duration:.8s}
 html.entrance-complete :is(.brand,.main-nav,.intro .eyebrow,.intro h1>span,.intro-copy,.primary-cta,.desktop-tagline,.work-intro>*,.showcase figure,#projects h2,.secondary-project-heading,.project,.site-footer){animation-name:none}
}
