:root{color-scheme:light;--bg:#f5f6f8;--ink:#172b48;--secondary:#596677;--quiet:#647184;--line:#dde2e9;--surface:#fff;--blue:#315985;--focus:#2467c8;--art-bg:#e8edf5;--font:"Avenir Next","Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
:root[data-theme=dark]{color-scheme:dark;--bg:#111a28;--ink:#e9eef7;--secondary:#a3afc0;--quiet:#94a3b7;--line:#2c384a;--surface:#1e2b3e;--blue:#b6cdef;--focus:#8cb8ff;--art-bg:#1c2c45}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit}a,button{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible{outline:2px solid var(--focus);outline-offset:6px;border-radius:3px}::selection{background:#c9d9ef;color:#142d52}.skip-link{position:fixed;top:-60px;left:20px;padding:12px 20px;background:var(--surface);z-index:20}.skip-link:focus{top:16px}.header{height:104px;max-width:1328px;margin:auto;padding:0 56px;display:flex;align-items:center;justify-content:space-between}.wordmark{font-weight:750;font-size:34px;letter-spacing:-3px;line-height:1}.brand-dot{color:#7690b3}.tabs{display:flex;align-items:center;gap:36px}.tabs a{font-size:13px;color:var(--secondary);padding:12px 0;position:relative;white-space:nowrap}.tabs a.active{color:var(--ink)}.tabs a.active:after{content:"";width:4px;height:4px;border-radius:100%;background:var(--ink);position:absolute;bottom:1px;left:50%;transform:translateX(-50%)}.tabs a:hover{color:var(--ink)}.blog-link span{display:inline-block;margin-left:3px;font-size:13px}.theme-toggle{width:36px;height:36px;border:1px solid var(--line);border-radius:50%;background:transparent;display:grid;place-items:center;color:var(--ink);cursor:pointer}.theme-toggle svg{width:18px;height:18px}main,footer{max-width:1216px;margin:0 auto}.hero{position:relative;min-height:665px;display:grid;grid-template-columns:1fr 1fr;padding:54px 0 100px;align-items:center}.hero-copy{z-index:1}.intro{font-size:14px;display:flex;gap:18px;align-items:center;margin:0 0 26px;color:var(--secondary)}.intro-line{height:1px;width:38px;background:var(--line)}h1{font-size:clamp(82px,8.2vw,118px);font-weight:600;letter-spacing:-8px;line-height:.97;margin:0 0 30px}.name-dot{color:#7690b3}.hero-statement{font-size:25px;font-weight:500;letter-spacing:2px;margin:0 0 14px}.hero-description{color:var(--secondary);font-size:14px;line-height:1.95;margin:0 0 32px}.primary-link{display:inline-flex;align-items:center;gap:42px;border:1px solid var(--ink);color:var(--bg);background:var(--ink);border-radius:40px;padding:16px 24px;font-size:13px;transition:background .2s,color .2s}.primary-link:hover{background:transparent;color:var(--ink)}.primary-link span{font-size:19px;line-height:1}.hero-art{align-self:center;position:relative;margin:-20px -30px 0 -20px}.orbit{width:100%;display:block;transform:perspective(1000px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg));transition:transform .4s ease-out}.art-caption{font-size:11px;letter-spacing:1.5px;color:var(--quiet);position:absolute;left:50%;bottom:12px;transform:translateX(-50%);display:flex;align-items:center;gap:10px;white-space:nowrap}.caption-line{width:18px;height:1px;background:var(--quiet)}.hero-bottom{position:absolute;bottom:24px;left:0;right:0;display:flex;align-items:center;justify-content:space-between;color:var(--quiet);font-size:11px;letter-spacing:1px}.hero-bottom a{display:flex;gap:14px;align-items:center}.hero-bottom a span{font-size:18px}.projects-section{border-top:1px solid var(--line);padding:68px 0 76px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;margin:0 0 32px}.section-kicker{margin:0 0 13px;color:var(--quiet);font-size:12px;letter-spacing:1px}h2{font-size:28px;font-weight:500;letter-spacing:.5px;line-height:1.6;margin:0}.section-note{font-size:12px;color:var(--quiet);padding-bottom:8px}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.project{min-width:0;display:block}.project-visual{height:242px;border-radius:7px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.course-visual{background:#182b49}.visual-label{position:absolute;bottom:18px;left:22px;font-size:10px;letter-spacing:.7px;color:#a7bad5}.editor{width:80%;border:1px solid #344969;border-radius:6px;background:#14243e;transform:rotate(-5deg);box-shadow:0 18px 30px #08152744;transition:transform .35s}.editor-top{height:32px;display:flex;align-items:center;gap:5px;border-bottom:1px solid #344969;padding:0 12px}.editor-top i{width:5px;height:5px;border-radius:50%;background:#6e83a1}.editor-top span{font-size:9px;margin:auto;color:#c0cde0;padding-right:20px}.editor-code{color:#e4ecf8;font:10px/1.9 Consolas,"SFMono-Regular",monospace;padding:16px 14px 20px}.code-muted{color:#a0aec2}.code-blue{color:#9cbded}.code-green{color:#a1ceb9}.terminal-prompt{color:#a1ceb9;margin-right:6px}.cursor{display:inline-block;vertical-align:middle;width:5px;height:10px;background:#98b3d9;margin-left:5px}.board-visual{background:#e4ebf5}.board-visual .visual-label{color:#556b89}.board-paper{width:77%;height:155px;background:#fcfdff;border:1px solid #d0dbeb;border-radius:3px;box-shadow:0 14px 26px #62779620;padding:16px 22px;transform:rotate(4deg);transition:transform .35s}.paper-heading{font-size:9px;display:flex;align-items:center;gap:5px;color:#5b7192}.paper-heading span{height:5px;width:5px;background:#7193c2;border-radius:50%}.equation{display:flex;align-items:center;justify-content:center;gap:5px;color:#244471;font:23px Georgia,serif;margin:13px 0 2px}.fraction{display:inline-flex;flex-direction:column;font-size:16px;text-align:center;line-height:1.2}.fraction span:first-child{border-bottom:1px solid #244471;padding:0 5px}.graph{width:140px;height:36px;display:block;margin:0 auto}.paper-progress{height:3px;background:#e5eaf2;margin-top:8px;border-radius:2px}.paper-progress span{display:block;width:66%;height:3px;background:#7694bd}.school-visual{background:#e9ebee}.school-visual .visual-label{color:#5c6b7e}.school-window{background:#fdfefe;display:flex;width:80%;height:145px;border:1px solid #d5dce6;border-radius:5px;transform:rotate(-4deg);box-shadow:0 14px 26px #36475f12;transition:transform .35s}.school-sidebar{width:38px;background:#243e63;padding:12px 10px;flex-shrink:0;border-radius:4px 0 0 4px}.school-sidebar b{color:#bfcee3;font-size:17px}.school-sidebar i{display:block;background:#6f86a9;height:3px;margin-top:14px;border-radius:2px}.school-content{padding:17px 13px;width:100%}.school-title{font-size:9px;color:#334864;display:flex;justify-content:space-between}.school-summary{display:flex;gap:6px;margin:12px 0}.school-summary div{background:#edf1f6;color:#516684;font-size:8px;flex:1;padding:7px;border-radius:2px}.mock-row{display:flex;gap:8px;align-items:center;margin:9px 0}.mock-row i{width:10px;height:10px;background:#e0e8f3;border-radius:50%}.mock-row span{height:3px;background:#dce3ec;width:45%}.mock-row b{height:3px;background:#a7b9d1;width:18%;margin-left:auto}.project:hover .editor,.project:hover .board-paper,.project:hover .school-window{transform:rotate(0deg) translateY(-4px)}.project-info{padding:20px 0 0}.project h3{font-size:16px;font-weight:500;margin:0 0 9px;display:flex;justify-content:space-between}.project h3 span{color:var(--quiet)}.project p{font-size:12px;line-height:1.7;color:var(--secondary);margin:0 0 17px}.project-meta{font-size:10px;color:var(--quiet)}.about-section{border-top:1px solid var(--line);padding:70px 0 80px;display:grid;grid-template-columns:1fr 1fr;gap:80px}.about-section h2{font-size:34px;line-height:1.6}.about-copy{max-width:440px;padding-top:22px}.about-copy p{font-size:14px;line-height:1.95;color:var(--secondary);margin:0 0 19px}.text-link{display:inline-flex;gap:30px;align-items:center;font-size:12px;border-bottom:1px solid var(--line);padding:6px 0 10px}.text-link:hover{border-color:var(--ink)}footer{border-top:1px solid var(--line);padding:28px 0 36px;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--quiet)}.footer-brand{font-size:14px;font-weight:600;color:var(--ink);letter-spacing:-.3px}footer a:last-child{display:flex;gap:12px}
@media(min-width:1000px){.hero-copy{animation:arrival .7s ease-out both}.hero-art{animation:arrival .9s ease-out both}}@keyframes arrival{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1350px){main,footer{margin-left:56px;margin-right:56px}.hero{min-height:640px}.header{padding:0 56px}}
@media(max-width:1000px){main,footer{margin-left:36px;margin-right:36px}.header{padding:0 36px;height:88px}.hero{min-height:580px;padding-top:45px}.hero-art{margin:0 -20px 0 -50px}h1{font-size:91px;letter-spacing:-6px}.hero-statement{font-size:22px}.project-grid{gap:18px}.project-visual{height:205px}.editor-code{font-size:8px;padding:14px 9px}.board-paper{padding:15px 10px}.equation{font-size:20px}.school-window{width:86%}.school-sidebar{width:28px;padding:12px 7px}.school-content{padding:16px 8px}.about-section{gap:45px}}
@media(max-width:700px){html{scroll-padding-top:25px}.header{height:85px;padding:0 22px;flex-wrap:wrap;gap:12px}.wordmark{font-size:28px}.tabs{gap:clamp(8px,3vw,19px);order:3;width:100%;justify-content:center}.tabs a{font-size:11px;padding:5px 0 10px}.tabs a.active:after{bottom:1px}.theme-toggle{width:30px;height:30px}main,footer{margin-left:24px;margin-right:24px}.hero{grid-template-columns:1fr;min-height:0;padding:62px 0 66px}.intro{margin-bottom:22px;font-size:12px}h1{font-size:86px;letter-spacing:-6px;margin-bottom:25px}.hero-statement{font-size:22px;letter-spacing:1px}.hero-description{font-size:13px;margin-bottom:26px}.primary-link{padding:14px 21px;gap:35px}.hero-art{width:min(100%,390px);justify-self:center;margin:10px 0 0;max-height:325px}.orbit{margin-top:-10px}.art-caption{bottom:0;font-size:9px}.hero-bottom{bottom:19px;font-size:10px}.projects-section{padding:43px 0 45px}.section-heading{margin-bottom:25px}.section-kicker{font-size:11px;margin-bottom:9px}h2{font-size:23px}.section-note{display:none}.project-grid{grid-template-columns:1fr;gap:32px}.project-visual{height:248px}.editor{max-width:300px}.editor-code{font-size:11px;padding:16px 16px 20px}.board-paper{max-width:280px;height:170px;padding:19px 23px}.equation{font-size:25px;margin-top:16px}.graph{height:40px}.school-window{max-width:295px;height:160px}.school-sidebar{width:40px;padding:12px 10px}.school-content{padding:18px 15px}.school-title{font-size:10px}.school-summary div{font-size:9px;padding:9px}.mock-row{margin-top:11px}.project-info{padding-top:16px}.project p{margin-bottom:10px}.about-section{grid-template-columns:1fr;padding:45px 0 48px;gap:22px}.about-section h2{font-size:29px}.about-copy{padding:0}.about-copy p{font-size:13px}footer{padding:25px 0;gap:15px;flex-wrap:wrap}footer span{font-size:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.orbit{transform:none!important}}
/* Scroll owns the orbit's shape; no autoplay loop or scroll interception. */
.orbit-caption{position:absolute;bottom:4px;left:50%;transform:translateX(-50%);text-align:center;white-space:nowrap}.orbit-label{font-size:10px;letter-spacing:1.5px;color:var(--quiet)}.orbit-state{font-size:17px;color:var(--ink);letter-spacing:2px;margin:10px 0 14px}.orbit-progress{height:2px;width:104px;background:var(--line);margin:0 auto 10px;overflow:hidden}.orbit-progress span{display:block;transform-origin:left;background:var(--blue);width:100%;height:100%;transform:scaleX(var(--orbit-progress,0))}.orbit-hint{font-size:10px;color:var(--quiet);letter-spacing:.8px}.hero-art .orbit{overflow:visible}.orbit-core{transform-origin:300px 280px}.hero-bottom a{letter-spacing:0}
@media(min-width:701px) and (prefers-reduced-motion:no-preference){.orbit-scroll-stage{height:180svh;min-height:1120px;position:relative}.orbit-scroll-stage .hero{position:sticky;top:24px;height:calc(100svh - 140px);min-height:570px;padding:32px 0 66px}.orbit-scroll-stage .hero-art{width:min(100%,580px);justify-self:center;margin:0 -20px 0 0}.orbit-scroll-stage .orbit{max-height:calc(100svh - 200px)}.orbit-scroll-stage .hero-bottom{bottom:16px}.hero-copy,.hero-art{animation:none}}
@media(max-width:700px){.orbit-caption{bottom:-12px}.orbit-state{font-size:15px;margin:8px 0 10px}.orbit-label{font-size:9px}.orbit-hint{font-size:9px}.hero-art{margin-top:8px;margin-bottom:32px}.hero-bottom{font-size:9px}.hero-bottom a{gap:8px}}
@media(prefers-reduced-motion:reduce){.orbit-scroll-stage{height:auto;min-height:0}.orbit-scroll-stage .hero{position:relative}.orbit-hint{display:none}.orbit-progress{display:none}.orbit-state{margin-bottom:0}}
/* Keep captions outside the morphing silhouette, including its widest state. */
.hero-art .orbit-caption{position:static;transform:none;margin-top:-18px;width:100%}
@media(max-width:700px){.hero-art{max-height:none}.hero-art .orbit-caption{margin-top:-10px}}

.site-footer{display:block}.footer-main{display:flex;justify-content:space-between;align-items:center}.beian-row{display:flex;justify-content:space-between;gap:1rem;margin-top:8px;font-size:10px}.beian-row a{display:inline-flex;align-items:center;gap:4px}.beian-row img{width:14px;height:auto}@media(max-width:700px){.beian-row{font-size:9px}}

/* Orange Business is a peer project, with a visible mobile navigation entry. */
.orange-business-visual{background:#eaf0e2}.orange-business-visual>svg{width:88%;height:88%;max-width:400px}.orange-business-link{font-weight:500}
@media(max-width:700px){.header{height:auto;min-height:100px;padding-top:16px;padding-bottom:12px}.tabs{flex-wrap:wrap;gap:4px clamp(6px,2vw,14px)}}
