*{box-sizing:border-box}html,body{margin:0;background:#05090e;color:#b9d1e6;scroll-behavior:smooth}html{scroll-snap-type:y proximity}canvas{position:fixed;inset:0;width:100%;height:100%;height:100dvh;display:block;pointer-events:none}#moon{z-index:1}main{position:relative;z-index:2}section{height:100svh;scroll-snap-align:start;position:relative}.advance{position:absolute;bottom:5%;left:50%;transform:translateX(-50%);width:80px;height:80px;-webkit-tap-highlight-color:transparent}.advance:focus-visible{outline:1px dotted #bad6ed}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

#winter{will-change:transform;transform:translate3d(0,100%,0)}#moon{opacity:1}

#lunar-surface{z-index:2;opacity:1}main{z-index:3}

/* Fixed sky and transparent landscape share the same viewport. */
#moon{z-index:0}#winter{z-index:1;transform:none;will-change:auto}#lunar-surface{z-index:2}

/* Projects remain part of the continuous winter landscape. */
#github{height:auto;min-height:100svh;display:flex;align-items:center;justify-content:center;padding:clamp(24px,6vw,72px);padding-top:max(48px,env(safe-area-inset-top));padding-bottom:max(48px,env(safe-area-inset-bottom));font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.project-panel{width:min(100%,680px);padding:clamp(18px,4vw,36px);background:radial-gradient(ellipse at center,rgba(5,9,14,.94) 28%,rgba(5,9,14,.72) 70%,rgba(5,9,14,0) 100%);color:#c6d9e8}
.profile-link{display:flex;gap:12px;align-items:center;justify-content:space-between;color:#e0efff;font-size:clamp(17px,4.4vw,26px);text-decoration:none;padding:14px 0;text-shadow:0 0 14px #547fa8}
.github-mark{color:#92b9da;font-size:.8em}.project-panel h2{font-size:11px;font-weight:400;letter-spacing:.13em;text-transform:uppercase;color:#9eb8ce;margin:24px 0 12px}
#repositories{display:grid;gap:16px}.repo-link{display:block;position:relative;padding:18px 16px;color:inherit;text-decoration:none;background:rgba(9,17,27,.83);border:1px dashed #536f87;transition:border-color .2s,background .2s}
.repo-link:before,.repo-link:after{position:absolute;color:#a6c8e5;content:'+';font-size:14px;line-height:1}.repo-link:before{top:-7px;left:-4px}.repo-link:after{bottom:-7px;right:-4px}
.repo-title{display:flex;justify-content:space-between;gap:10px;font-size:16px;color:#d4e9fa;overflow-wrap:anywhere}.repo-desc{font-size:13px;line-height:1.55;color:#aebfd0;margin:12px 0}.repo-meta{display:flex;flex-wrap:wrap;gap:14px;color:#9fbad0;font-size:11px}.repo-link:hover,.repo-link:focus-visible{border-color:#c3e1ff;background:#152536;outline:1px dotted #b9d1e6;outline-offset:3px}.profile-link:focus-visible{outline:1px dotted #b9d1e6}
