@font-face{font-family:"Ma Shan Zheng";src:url("assets/fonts/MaShanZheng-Regular.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
:root{--paper:#f5f4ef;--ink:#111113;--muted:#676762;--line:#d8d6ce;--violet:#7655f6;--coral:#ff6f59;--ease:cubic-bezier(.2,.8,.2,1)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif}body.menu-open{overflow:hidden}a{color:inherit;text-decoration:none}button{font:inherit}.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}.site-header{height:82px;position:absolute;z-index:10;inset:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:0 4.5vw;border-bottom:1px solid rgba(17,17,19,.13)}.brand{display:flex;align-items:center;gap:12px;font-size:12px;font-weight:800;letter-spacing:.08em}.brand-mark{width:34px;height:34px;display:grid;place-items:center;background:var(--ink);color:white;border-radius:4px}.site-header nav{display:flex;gap:34px;font-size:13px}.site-header nav a{position:relative}.site-header nav a:after{content:"";position:absolute;left:0;right:100%;bottom:-6px;height:1px;background:currentColor;transition:right .3s}.site-header nav a:hover:after,.site-header nav a:focus-visible:after{right:0}.menu-toggle{display:none}.hero{min-height:760px;height:100vh;position:relative;overflow:hidden;display:grid;place-items:center;background-image:radial-gradient(#bbb9b1 1px,transparent 1px);background-size:22px 22px}.hero:before{content:"";position:absolute;width:52vw;height:52vw;max-width:760px;max-height:760px;border:1px solid rgba(17,17,19,.13);border-radius:50%}.hero:after{content:"";position:absolute;width:38vw;height:38vw;max-width:560px;max-height:560px;border:1px solid rgba(17,17,19,.1);border-radius:50%}.hero-copy{position:relative;z-index:2;text-align:center}.eyebrow{display:flex;align-items:center;gap:9px;font-size:10px;letter-spacing:.18em;font-weight:700}.eyebrow>span{width:7px;height:7px;background:var(--violet);display:inline-block}.hero .eyebrow{justify-content:center;margin-bottom:28px}.hero h1{margin:0;font-size:clamp(52px,7.5vw,118px);line-height:.96;letter-spacing:-.075em;font-weight:760}.hero h1 em,.contact h2 em{font-family:Georgia,"Songti SC",serif;color:var(--violet);font-weight:400}.hero-intro{font-size:clamp(15px,1.4vw,19px);line-height:1.75;color:#4c4c48;margin:30px 0}.hero-actions{display:flex;justify-content:center;gap:10px}.button{height:54px;padding:0 24px;border:1px solid var(--ink);border-radius:999px;display:inline-flex;align-items:center;justify-content:center;gap:28px;font-size:13px;font-weight:700;transition:.3s var(--ease)}.button-dark{background:var(--ink);color:white}.button:hover{transform:translateY(-3px);box-shadow:0 10px 28px #1112}.hero-note{position:absolute;left:4.5vw;bottom:36px;display:flex;align-items:center;gap:16px;font-size:9px;letter-spacing:.15em;writing-mode:vertical-rl}.scroll-line{height:50px;width:1px;background:var(--ink)}.orbit-card{position:absolute;z-index:1;width:130px;height:82px;border:1px solid var(--ink);border-radius:9px;display:grid;place-items:center;font-family:monospace;font-size:11px;background:#fff;box-shadow:8px 8px 0 var(--ink);animation:float 6s ease-in-out infinite}.orbit-one{left:7vw;top:25%;transform:rotate(-8deg)}.orbit-two{right:8vw;top:20%;background:#d9ff68;transform:rotate(6deg);animation-delay:-2s}.orbit-three{right:10vw;bottom:15%;background:#bcaeff;transform:rotate(-5deg);animation-delay:-4s}@keyframes float{50%{translate:0 -13px}}.section-shell{padding:110px 4.5vw}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:46px}.section-heading h2{font-size:clamp(44px,6vw,82px);margin:10px 0 0;letter-spacing:-.06em}.section-heading>p{color:var(--muted);line-height:1.6;font-size:14px}.project-toolbar{display:flex;gap:8px;margin:-12px 0 28px;flex-wrap:wrap}.filter-button{border:1px solid var(--ink);background:transparent;border-radius:99px;padding:8px 15px;font-size:11px;cursor:pointer}.filter-button.active{color:#fff;background:var(--ink)}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.project-card{min-height:500px;border-radius:16px;padding:24px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;position:relative;transition:transform .4s var(--ease),box-shadow .4s var(--ease);color:var(--ink)}.project-card[href]:hover{transform:translateY(-8px);box-shadow:0 25px 60px #1112}.project-card.is-pending{cursor:default}.project-top{display:flex;justify-content:space-between;font-size:10px;letter-spacing:.12em}.project-arrow{font-size:24px;transition:transform .3s}.project-card[href]:hover .project-arrow{transform:translate(4px,-4px)}.project-symbol{position:absolute;inset:82px 24px auto;height:205px;display:grid;place-items:center;border:1px solid currentColor;border-radius:50%;font:700 68px/1 Georgia}.project-card h3{font-size:28px;letter-spacing:-.04em;margin:0 0 8px}.project-card p{font-size:13px;line-height:1.6;max-width:270px;margin:0 0 18px}.tags{display:flex;gap:7px;flex-wrap:wrap}.tags span{font-size:10px;border:1px solid currentColor;border-radius:99px;padding:6px 10px}.project-status{font-size:10px;opacity:.65}.process{background:var(--ink);color:#fff}.process .section-heading>p{color:#aaa}.process-list{list-style:none;padding:0;margin:0;border-top:1px solid #ffffff33}.process-list li{display:grid;grid-template-columns:90px 1fr 80px;gap:22px;align-items:center;min-height:180px;border-bottom:1px solid #ffffff33}.process-number{font:14px monospace;color:#aaa}.process-list h3{font-size:clamp(28px,3.5vw,52px);margin:0 0 10px;letter-spacing:-.04em}.process-list p{margin:0;color:#aaa;font-size:13px}.process-sign{font-size:38px;text-align:right;color:#bcaeff}.about{display:grid;grid-template-columns:1fr 1.1fr;gap:8vw;align-items:center}.about-portrait{min-height:600px;border-radius:50% 50% 14px 14px;background:#d9ff68;display:grid;place-items:center;position:relative;overflow:hidden}.about-portrait:before,.about-portrait:after{content:"";position:absolute;border:1px solid #1116;border-radius:50%}.about-portrait:before{width:72%;height:72%}.about-portrait:after{width:42%;height:42%}.about-portrait span{font:700 clamp(90px,14vw,210px)/1 Georgia;z-index:1}.about-portrait i{position:absolute;width:58px;height:58px;background:var(--violet);right:14%;top:16%;border-radius:5px;transform:rotate(12deg);box-shadow:7px 7px 0 var(--ink)}.about-copy h2{font-size:clamp(48px,7vw,96px);line-height:.95;letter-spacing:-.065em;margin:24px 0 34px}.about-copy>p{max-width:620px;color:var(--muted);font-size:14px;line-height:1.9}.about-copy .about-lead{color:var(--ink);font-size:20px;line-height:1.6}.interest-list{margin-top:34px;display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line)}.interest-list span{padding:15px 0;border-bottom:1px solid var(--line);font:10px monospace;letter-spacing:.08em}.contact{background:#c8bbff;min-height:650px;display:flex;flex-direction:column;justify-content:center}.contact h2{font-size:clamp(64px,10vw,150px);line-height:.88;letter-spacing:-.08em;margin:34px 0 55px}.contact h2 em{color:var(--ink)}.contact-foot{display:flex;justify-content:space-between;align-items:end;border-top:1px solid #1114;padding-top:25px}.contact-foot p{font-size:13px;line-height:1.7}.contact .button-light{min-width:170px}footer{padding:32px 4.5vw;display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;border-top:1px solid var(--line);font-size:11px}footer p:nth-child(2){text-align:center}footer p:last-child{text-align:right;font-family:monospace}.back-to-top{position:fixed;z-index:12;right:22px;bottom:22px;width:48px;height:48px;border-radius:50%;border:1px solid var(--ink);background:var(--paper);cursor:pointer;opacity:0;pointer-events:none;translate:0 10px;transition:.25s}.back-to-top.visible{opacity:1;pointer-events:auto;translate:0 0}.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s var(--ease),transform .7s var(--ease)}.reveal.visible{opacity:1;transform:none}:focus-visible{outline:3px solid var(--violet);outline-offset:4px}.no-script{padding:20px;border:1px solid var(--line)}

/* Personal signature and looping hero typewriter. */
.brand-copy{display:flex;align-items:center;gap:13px}
.brand-label{white-space:nowrap}
.owner-signature{position:relative;top:-1px;font-family:"Ma Shan Zheng","STXingkai","华文行楷",cursive;font-size:31px;font-weight:400;line-height:1;letter-spacing:.06em;transform:rotate(-4deg) skewX(-4deg);transform-origin:center;color:var(--ink)}
.typewriter-motion{display:inline-flex;align-items:center;justify-content:center;min-width:9em;text-align:center;white-space:nowrap}
.typewriter-text{display:inline-block;text-align:left}
.typewriter-caret{display:inline-block;flex:0 0 auto;width:.04em;height:.82em;margin-left:.2em;background:currentColor;animation:typewriter-blink .82s steps(1,end) infinite}
@keyframes typewriter-blink{50%{opacity:0}}
.typewriter-line{display:inline-block;margin-top:.28em;font-family:"KaiTi","楷体","STKaiti","华文楷体",serif!important;color:var(--ink)!important;font-style:normal;font-weight:400!important;letter-spacing:0;transform:none}
.hero-title-lead{letter-spacing:-.02em}
@media(max-width:800px){.site-header{height:70px}.brand-copy{gap:7px}.brand-label{display:none}.owner-signature{font-size:22px}.menu-toggle{display:grid;width:42px;height:42px;border:1px solid var(--ink);border-radius:50%;background:transparent;place-content:center;gap:6px;z-index:2}.menu-toggle span:not(.sr-only){width:18px;height:1px;background:var(--ink);transition:.25s}.menu-open .menu-toggle span:first-child{transform:translateY(3.5px) rotate(45deg)}.menu-open .menu-toggle span:nth-child(2){transform:translateY(-3.5px) rotate(-45deg)}.site-header nav{display:flex;position:fixed;inset:0;background:var(--paper);flex-direction:column;align-items:center;justify-content:center;font-size:28px;opacity:0;visibility:hidden;transition:.25s}.menu-open .site-header nav{opacity:1;visibility:visible}.hero{min-height:720px}.hero h1{font-size:54px}.hero-intro br{display:none}.hero-actions{flex-direction:column;align-items:center}.button{min-width:180px}.orbit-card{width:90px;height:58px}.orbit-one{left:-15px;top:20%}.orbit-two{right:-15px;top:18%;background:#d9ff68}.orbit-three{right:15px;bottom:10%}.section-shell{padding:82px 20px}.project-grid{grid-template-columns:1fr}.project-card{min-height:460px}.section-heading{align-items:start;flex-direction:column;gap:18px}.process-list li{grid-template-columns:44px 1fr 32px;min-height:160px}.process-list p{line-height:1.6}.about{grid-template-columns:1fr;gap:60px}.about-portrait{min-height:450px}.interest-list{grid-template-columns:1fr}.contact{min-height:560px}.contact h2{font-size:64px}.contact-foot{align-items:start;flex-direction:column;gap:25px}footer{grid-template-columns:1fr;gap:18px;text-align:center}footer .brand{justify-content:center}footer p:nth-child(2),footer p:last-child{text-align:center}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

/* Faster, image-led portfolio orbit. Kept after responsive rules so it cleanly
   replaces the original floating-card treatment at every breakpoint. */
.hero-orbit{position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none;perspective:1100px;contain:layout paint}
.hero-orbit:after{content:"";position:absolute;z-index:52;left:50%;top:52%;width:min(58vw,820px);height:min(48vw,650px);translate:-50% -50%;border-radius:50%;background:radial-gradient(ellipse,rgba(245,244,239,.92) 0%,rgba(245,244,239,.68) 48%,transparent 73%);pointer-events:none}
.orbit-card{position:absolute;left:0;right:auto;top:0;bottom:auto;width:196px;height:122px;margin:0;overflow:hidden;border:1px solid var(--ink);border-radius:12px;background:#151518;box-shadow:0 18px 44px rgba(17,17,19,.12);transform-origin:center;filter:saturate(.94) contrast(.98);will-change:transform,opacity;backface-visibility:hidden}
.orbit-card img{display:block;width:100%;height:100%;object-fit:cover}
.orbit-card.is-icon img{object-fit:contain;padding:8px;background:#111220}
.orbit-card.is-detail img{transform:scale(1.55);transform-origin:78% 22%}
.orbit-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 28%,rgba(10,10,12,.76))}
.orbit-card figcaption{position:absolute;z-index:1;left:14px;bottom:12px;color:#fff;font:700 11px/1 monospace;letter-spacing:.1em;text-shadow:0 1px 8px #000}
.hero-copy{z-index:60}

@media(max-width:800px){.hero-orbit:after{top:52%;width:86vw;height:58vh}.orbit-card{width:118px;height:74px;border-radius:8px;box-shadow:0 12px 30px rgba(17,17,19,.1)}.orbit-card figcaption{left:9px;bottom:8px;font-size:9px}.orbit-card:nth-child(n+5){display:none}}

@media(prefers-reduced-motion:reduce){.orbit-card{filter:none!important}}

/* Product cards with real interface evidence. */
.project-preview{position:absolute;inset:82px 24px auto;height:205px;overflow:hidden;border:1px solid currentColor;border-radius:10px;background:#fff;box-shadow:7px 7px 0 currentColor}
.project-preview img{display:block;width:100%;height:100%;object-fit:cover;object-position:left top;transition:transform .55s var(--ease)}
.project-card[href]:hover .project-preview img{transform:scale(1.035)}

/* Let foreground orbit cards complete their pass across the Hero-to-projects
   seam instead of being cropped by either paint containment layer. */
body{overflow-x:hidden}
.hero{z-index:1;overflow:visible}
.hero-orbit{overflow:visible;contain:layout}
.projects{position:relative;z-index:0;padding-top:clamp(150px,14vw,220px)}

@media(max-width:800px){.projects{padding-top:110px}}

/* Calm scroll entrances: keep a stable focal plane and use only a trace of
   softness at the first frame. */
.reveal{opacity:0;transform:translateY(22px);filter:blur(1.2px);transition:opacity .72s var(--ease),transform .78s var(--ease),filter .32s ease-out;transition-delay:var(--reveal-delay,0ms)}
.reveal.visible{opacity:1;transform:none;filter:none}

/* Final responsive type guard: keeps the hero readable in narrow panes and phones. */
.hero-copy{width:min(94vw,1400px)}
.hero h1{font-size:clamp(48px,5vw,78px)}
@media(max-width:800px){.hero h1{font-size:36px}.hero-intro{padding-inline:18px}}
