@font-face { font-family: "Flex"; src: url(fonts/flex.woff2) format("woff2"); font-weight: 1 1000; font-display: swap; unicode-range: U+20-7E }
@font-face { font-family: "Hei"; src: url(fonts/hei.woff2) format("woff2"); font-weight: 100 900; font-display: swap }
@font-face { font-family: "Mono"; src: url(fonts/mono.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+20-7E }
@font-face { font-family: "Display"; src: url(fonts/display.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+20-7E }

:root { --bg: #fff; --ink: #0b0b0c; --mid: #6b6b70; --soft: #f5f5f6; --line: #dedee1; --cop: #3560f0; --pad: clamp(16px, 5vw, 75px); --ease: cubic-bezier(.16, 1, .3, 1); color-scheme: light }
[data-theme="dark"] { --bg: #0e0e10; --ink: #f6f6f7; --mid: #9c9ca3; --soft: #1c1c20; --line: #303036; color-scheme: dark }

*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 40px; scrollbar-color: var(--line) var(--bg) }
body { margin: 0; background: var(--bg); color: var(--ink); font: 420 16px/1.55 "Flex", "Hei", sans-serif; font-variation-settings: "ROND" 48; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overflow-x: clip; transition: background .3s, color .3s }
h1, h2, p, ul, dl, dd { margin: 0; padding: 0 } ul { list-style: none }
img, svg, video { display: block; max-width: 100% } img, video { height: auto }
a { color: inherit; text-underline-offset: .25em } button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer }
::selection { background: var(--cop); color: #fff }
:focus-visible { outline: 2px solid var(--cop); outline-offset: 4px; border-radius: 8px }

/* 介绍墙：深色作品集首屏，人在右边，大名字在左边，照片里的光往左拖 */
.wall { --w-bg: #08090b; --w-ink: #f0efeb; --w-mid: #8d8f98; --w-line: #2a2b31; --w-ice: #b9cdff; position: relative; min-height: max(100svh, 640px); padding: 24px var(--pad); overflow: clip; isolation: isolate; background: var(--w-bg); color: var(--w-ink); color-scheme: dark }
.wall ::selection { background: var(--w-ink); color: var(--w-bg) } .wall :focus-visible { outline-color: var(--w-ink) }
.wall svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }
.w-me { position: absolute; z-index: -2; top: 0; right: max(0px, (100vw - 1760px) / 2); height: 100%; aspect-ratio: 2 / 3; translate: calc(var(--px, 0) * -10px) calc(var(--py, 0) * -6px); transition: translate 1.4s var(--ease) }
.w-me img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%); mask-image: linear-gradient(90deg, transparent, #000 24%) }
.w-streaks { position: absolute; z-index: -1; inset: 0; rotate: -6deg; scale: 1.2; pointer-events: none; mix-blend-mode: screen; translate: calc(var(--px, 0) * -26px) 0; transition: translate 1.4s var(--ease) }
.w-streaks i { position: absolute; right: 0; height: var(--h); width: var(--l); border-radius: 9px; background: linear-gradient(90deg, transparent, rgb(198 214 255 / var(--o)) 35%, rgb(255 255 255 / var(--o)) 60%, transparent); filter: blur(var(--b)); animation: w-fly var(--t) linear var(--d) infinite }
@keyframes w-fly { from { transform: translateX(20vw) } to { transform: translateX(-130vw) } }
.w-top { position: absolute; z-index: 2; top: 0; left: var(--pad); right: var(--pad); height: clamp(72px, 11svh, 96px); display: flex; align-items: center; gap: 24px }
.w-logo { display: grid; place-items: center; height: 44px; font: 700 21px/1 "Display", sans-serif; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: inherit }
.w-links { display: flex; gap: clamp(20px, 3vw, 44px); margin: 0 auto }
.w-links a, .w-hello { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 560; letter-spacing: .06em; text-transform: uppercase; text-decoration: none }
.w-links a { color: #c4c5cb; transition: color .2s } .w-links a:hover { color: var(--w-ink) }
.w-hello { margin-left: auto; padding: 0 16px 0 20px; border-radius: 99px; background: var(--w-ink); color: var(--w-bg); transition: background .25s } .w-hello:hover { background: #fff } .w-hello svg, .w-btn svg { width: 17px; transition: transform .3s var(--ease) } .w-hello:hover svg { transform: translate(2px, -2px) }
.w-bill { position: absolute; left: var(--pad); bottom: clamp(44px, 9svh, 104px); max-width: min(62vw, 860px) }
.w-kick { font-size: 14px; font-weight: 560; letter-spacing: .14em; text-transform: uppercase; color: #b4b6bd }
.w-name { margin: clamp(10px, 1.6svh, 18px) 0 0; font: 700 clamp(104px, min(16vw, 30svh), 260px)/.84 "Display", "Hei", sans-serif; letter-spacing: -.005em; text-transform: uppercase }
.w-ln { display: block; overflow: clip; padding-bottom: .04em } .w-ln > span { display: block } .w-ln > span:empty { display: none } .w-ln:has(> span:empty) { display: none }
:lang(zh) .w-name { font-family: "Hei", sans-serif; font-weight: 900; font-size: clamp(96px, min(15vw, 27svh), 250px); line-height: 1.02; letter-spacing: -.01em }
.w-lead { margin-top: clamp(16px, 2.8svh, 28px); max-width: 30em; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; color: #c9cad0 } .w-lead span { display: block; text-wrap: balance }
.w-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: clamp(20px, 3.4svh, 34px) }
.w-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 4px; background: var(--w-ink); color: var(--w-bg); font-weight: 650; text-decoration: none; transition: background .25s } .w-btn:hover { background: #fff } .w-btn:hover svg { transform: translateY(3px) }
.w-mail { display: inline-flex; align-items: center; min-height: 44px; font-weight: 560; text-decoration-color: #4b4c54; text-decoration-thickness: 1px; transition: text-decoration-color .25s } .w-mail:hover { text-decoration-color: currentColor }
.w-facts { position: absolute; right: var(--pad); bottom: clamp(44px, 9svh, 104px); width: 250px }
.w-facts li { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid rgb(255 255 255 / .14) } .w-facts li:first-child { border-top: 0 }
.w-facts b { min-width: 2.1em; font: 700 46px/1 "Display", sans-serif; font-variant-numeric: tabular-nums } .w-facts span { font-size: 13px; line-height: 1.35; color: #c4c5cb; text-wrap: balance }
.w-facts .w-where { display: flex; justify-content: space-between; padding-top: 14px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase } .w-where span { font-size: inherit } .w-clock { font-weight: 650; color: var(--w-ink); font-variant-numeric: tabular-nums }
/* 进场：照片对焦，名字一行行升上来，其它跟着出 */
.lift .wall:not(.on) :is(.w-me, .w-streaks, .w-top, .w-kick, .w-lead, .w-cta, .w-facts), .lift .wall:not(.on) .w-ln > span { opacity: 0 }
.wall.on .w-me img { animation: w-focus 2s var(--ease) both } @keyframes w-focus { from { opacity: 0; filter: blur(16px) brightness(.35); transform: scale(1.07) } }
.wall.on .w-streaks { animation: w-in 2.4s .2s var(--ease) both } @keyframes w-in { from { opacity: 0 } }
.wall.on .w-ln > span { animation: w-rise 1.2s var(--ease) both; animation-delay: .35s } .wall.on .w-ln + .w-ln > span { animation-delay: .47s } @keyframes w-rise { from { transform: translateY(104%) } }
.wall.on :is(.w-top, .w-kick, .w-lead, .w-cta, .w-facts) { animation: w-up 1.1s var(--ease) both } .wall.on .w-top { animation-delay: .9s } .wall.on .w-kick { animation-delay: .25s } .wall.on .w-lead { animation-delay: .75s } .wall.on .w-cta { animation-delay: .88s } .wall.on .w-facts { animation-delay: 1s }
@keyframes w-up { from { opacity: 0; transform: translateY(14px) } }
@media (min-width: 861px) { .w-facts::before { content: ""; position: absolute; z-index: -1; inset: -60px -50px -40px; background: radial-gradient(closest-side, rgb(8 9 11 / .72), transparent); pointer-events: none } }
@media (max-width: 860px) {
  .wall { display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--pad) 88px }
  .w-me { right: auto; left: 0; width: 100%; height: 74svh; aspect-ratio: auto; translate: none }
  .w-me img { object-position: 74% 14%; -webkit-mask-image: linear-gradient(180deg, #000 42%, transparent 98%); mask-image: linear-gradient(180deg, #000 42%, transparent 98%) }
  .w-links { display: none } .w-top { height: 68px } .w-logo { font-size: 19px } .w-hello { min-height: 40px; padding: 0 12px 0 16px; font-size: 13px }
  .w-bill { position: relative; left: auto; bottom: auto; max-width: none; margin-top: 31svh }
  .w-bill::before { content: ""; position: absolute; z-index: -1; inset: -48px calc(var(--pad) * -1) -60px; background: linear-gradient(180deg, transparent, rgb(8 9 11 / .78) 70px) }
  .w-name { font-size: clamp(88px, 27vw, 150px) } :lang(zh) .w-name { font-size: clamp(72px, 21vw, 120px) }
  .w-facts { position: relative; right: auto; bottom: auto; width: auto; margin-top: 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px }
  .w-facts li { display: block; padding: 12px 0 0; border-top: 1px solid rgb(255 255 255 / .14) } .w-facts li:first-child { border-top: 1px solid rgb(255 255 255 / .14) } .w-facts b { display: block; font-size: 36px; margin-bottom: 4px } .w-facts span { font-size: 12px; display: block }
  .w-facts .w-where { grid-column: 1 / -1; margin-top: 14px; border-top: 0; padding: 0 }
}

/* 第二屏：关于我的星图球（orb.js 画） */
.orb { position: sticky; top: 0; display: grid; place-items: center; min-height: min(100svh, 1000px); padding: clamp(24px, 5svh, 60px) 0; overflow: clip; background: #08090b; color-scheme: dark }
.orb-c { width: min(96vw, 92svh, 960px); aspect-ratio: 1; --k: 0; opacity: calc(1 - var(--k) * .7); transform: translateY(calc(var(--k) * -4%)) scale(calc(1 - var(--k) * .08)); cursor: grab; touch-action: pan-y; -webkit-tap-highlight-color: transparent } .orb-c.held { cursor: grabbing }
@media (max-width: 760px) { .orb { min-height: 0; padding: 48px 0 } .orb-c { width: 100vw } }

/* 后面的内容是一张纸，从星球上面盖过来 */
.sheet { position: relative; z-index: 1; background: var(--bg); border-radius: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) 0 0; transition: background .3s }
[data-theme="dark"] .sheet { box-shadow: inset 0 1px 0 var(--line) } .sheet:has(> .roll.front) { z-index: 15 }

/* 首屏 */
.hero { padding: 64px var(--pad) 0; text-align: center; min-height: min(86svh, 800px); display: flex; flex-direction: column; align-items: center }
.line { margin: auto 0; padding: 56px 0 40px; font-weight: 560; font-size: clamp(26px, 4vw, 54px); line-height: 1; letter-spacing: -.015em; color: #737378; display: flex; flex-direction: column; align-items: center; gap: .3em }
[data-theme="dark"] .line { color: #8e8e95 }
.line .row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .3em .24em }
.line .grp { display: flex; align-items: center; gap: .24em; white-space: nowrap } .line .chip + span { margin-left: -.1em }
.chip { display: inline-flex; align-items: center; gap: .22em; height: 1.64em; padding: 0 .34em 0 .24em; border-radius: .56em; background: var(--soft); color: var(--ink); font-weight: 600; transition: background .2s }
.chip:hover { background: var(--line) }
.chip .ico { flex: none; width: 1.3em; height: 1.3em } .chip .word { display: block; overflow: clip; white-space: nowrap; line-height: 1.4 }
.sticker { display: block; width: 100%; height: 100%; overflow: visible }
.marks { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px clamp(20px, 4.2vw, 64px); padding: 8px 0 28px }
.marks a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font-size: 20px; font-weight: 800; transition: opacity .2s } .marks:hover a:not(:hover) { opacity: .4 }
.marks .m2 { letter-spacing: -.02em; font-weight: 900 } .marks .m3 { font-weight: 300; font-size: 21px } .marks .m4 { letter-spacing: .28em; font-weight: 400; margin-right: -.28em } .marks .m5 { font-weight: 700; letter-spacing: -.03em } .marks .m6 { font-weight: 500; font-size: 18px } .marks .m7 { font-weight: 900 } .marks .m8 { font-weight: 650; letter-spacing: .02em }

/* 作品 */
.work { padding: 0 var(--pad) }
.divider { margin: 128px var(--pad) 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 560; line-height: 1.4 }
.stage { position: relative; overflow: clip; border-radius: clamp(18px, 2.4vw, 36px); display: grid; place-items: center }
.mint { background: #bfe0cb } .tan { background: #ecc998 } .night { background: #17181d } .navy { background: #0f1d29 } .rose { background: #f7d9d3 } .grey { background: #e6e6e8 } .linen { background: #e9e5da } .lilac { background: #cfc6f5 }
.screen { display: block; width: min(86%, 1180px); margin-top: clamp(28px, 6vw, 90px); margin-bottom: clamp(-60px, -3vw, -16px); border-radius: 14px 14px 0 0; overflow: clip; box-shadow: 0 24px 60px rgb(0 0 0 / .2); transition: transform .6s var(--ease) } .screen:hover { transform: translateY(-10px) } .screen :is(img, video) { width: 100% }
.bleed .screen { width: 100%; margin: 0; border-radius: 0; box-shadow: none } .bleed .screen:hover { transform: none }
.meta { display: grid; grid-template-columns: minmax(84px, 13%) minmax(0, 1fr); gap: 20px 32px; max-width: 760px; padding: 56px 0 88px }
.meta dt { font-weight: 600; text-align: right } .meta dd { color: var(--mid); max-width: 52ch; text-wrap: pretty } .meta dd:first-of-type { color: var(--ink); font-weight: 600 } .meta dd a { color: var(--ink) }
.cap { text-align: center; color: var(--mid); padding: 28px 0 0; text-wrap: balance }

.card { padding: clamp(36px, 6vw, 90px) 20px }
.tilt { width: min(540px, 74%); border-radius: 18px; transform: rotate(var(--r, -3deg)); box-shadow: 0 30px 70px rgb(0 0 0 / .26) }
.pin { position: absolute; width: clamp(54px, 8.4vw, 118px); transition: transform .5s var(--ease) } .pin:hover { transform: rotate(14deg) scale(1.08) }
.pin.a { left: 15%; top: 16% } .pin.b { right: 14%; bottom: 17% } .pin.c { right: 17%; top: 24% }

.phones { grid-auto-flow: column; align-items: start; gap: clamp(10px, 3vw, 46px); padding: clamp(28px, 6vw, 88px) 4% 0; justify-content: center; height: clamp(300px, 52vw, 760px) }
.phone { position: relative; width: min(27vw, 310px); padding: clamp(3px, .7vw, 9px); border-radius: clamp(16px, 3.6vw, 50px); background: #0b0b0c; box-shadow: 0 0 0 clamp(1.5px, .25vw, 3px) #5e1c29, 0 24px 50px rgb(0 0 0 / .18) } .phone::after { content: ''; position: absolute; left: 50%; top: calc(clamp(3px, .7vw, 9px) + 2.4%); width: 23%; aspect-ratio: 3.2; translate: -50%; border-radius: 99px; background: #000 } .rolls .phone::after { display: none } .phone :is(img, video) { border-radius: clamp(13px, 3vw, 42px) } .phone.up { margin-top: clamp(-40px, -3vw, -10px) }
.car { padding: clamp(24px, 5vw, 80px) } .dash { width: min(100%, 1080px); padding: clamp(5px, 1vw, 14px); border-radius: clamp(12px, 2vw, 30px); background: #1a1a1c; box-shadow: 0 26px 60px rgb(0 0 0 / .22) } .dash :is(img, video) { border-radius: clamp(8px, 1.3vw, 18px); width: 100% }
.bench { position: relative; overflow: clip; border-radius: clamp(18px, 2.4vw, 36px); background: #f3e3a6; color: #1c1a12; padding: 0 clamp(20px, 4vw, 64px) clamp(36px, 4vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 4.4vw, 72px) clamp(24px, 4vw, 64px); user-select: none }
.thing { display: flex; flex-direction: column; align-items: center; gap: 24px } .thing .obj { width: 100%; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end } .fit .obj { justify-content: flex-start; gap: 24px } .tel .obj, .till .obj { padding-top: 72px } .send { grid-column: span 2 } .send .obj { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 44px); align-items: start; max-width: 760px }
.tell { text-align: center; max-width: 34ch; min-height: 5.2em } .tell h3 { margin: 0 0 2px; font-size: 20px; font-weight: 600; line-height: 1.3 } .tell p { color: #5f5115; text-wrap: balance }
.hang { transform-origin: 50% 0 } .hang.swing { animation: swing 1.3s cubic-bezier(.3, 0, .4, 1) } @keyframes swing { 15% { rotate: 8deg } 38% { rotate: -6deg } 60% { rotate: 3.5deg } 80% { rotate: -1.5deg } } .cord { display: block; margin: 0 auto -8px; width: 90px; height: 92px }
.tag { position: relative; width: 232px; padding: 36px 18px 52px; background: #fffdf7; text-align: center; clip-path: polygon(26% 0, 74% 0, 100% 15%, 100% 100%, 0 100%, 0 15%) } .tag i { position: absolute; left: 50%; top: 11px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #f3e3a6; box-shadow: inset 0 0 0 1.5px #222 } .tag b { display: block; letter-spacing: .42em; margin-right: -.42em; font-weight: 500 } .tag strong { display: block; font-size: 25px; font-weight: 500; line-height: 1.2; margin: 8px 0 4px } .tag .when { color: #5d594c; font-variant-numeric: tabular-nums } .stampd { position: absolute; right: 12px; bottom: 14px; padding: 1px 9px; border: 2px solid #8a5f06; color: #7a5305; font-weight: 700; font-size: 14px; rotate: -8deg; opacity: 0; scale: 1.6 } .tag.sent .stampd { opacity: 1; scale: 1; transition: .28s cubic-bezier(.3, 0, .1, 1) }
.hours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 232px } .hours button { min-height: 44px; background: #fffdf7; font-variant-numeric: tabular-nums; transition: background .2s } .hours button:hover { background: #fff3c4 } .hours button[aria-pressed="true"] { background: #1c1c1a; color: #fff }
.desk { width: 252px; padding: 20px; border-radius: 26px; background: #26272c; color: #fff; box-shadow: 0 26px 44px rgb(0 0 0 / .24), inset 0 1px 0 rgb(255 255 255 / .14) } .lcd { height: 84px; padding: 12px 14px; border-radius: 10px; background: #c9d8b5; color: #1d2a12; line-height: 1.35 } .lcd b { display: block; font-size: 24px; font-weight: 600 } .keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 16px } .keys button { height: 46px; border-radius: 12px; background: #3a3c44; font-weight: 600; font-size: 18px; transition: background .15s, scale .15s } .keys button:hover { background: #4a4c56 } .keys button:active { scale: .92 } .desk.ring .lcd { animation: ring .12s 8 alternate } @keyframes ring { from { translate: -1.5px } to { translate: 1.5px } }
.pos { position: relative; width: 200px; padding: 12px 12px 34px; border-radius: 30px; background: #17181d; box-shadow: 0 26px 44px rgb(0 0 0 / .24) } .scr { height: 304px; border-radius: 20px; background: #fff; padding: 18px 16px; display: flex; flex-direction: column } .scr li { display: flex; justify-content: space-between; padding: 4px 0; font-variant-numeric: tabular-nums } .scr strong { margin-top: auto; font-size: 30px; font-weight: 600; line-height: 1.1 } .scr > span { color: #5e5e64; margin-top: 4px } .scr.ok, .scr.slip { align-items: center; justify-content: center; text-align: center } .scr.ok { background: #0f7a4d; color: #fff; font-size: 24px; font-weight: 600 } .scr.slip { justify-content: flex-start; padding-top: 28px } .scr.slip svg { width: 132px; margin-bottom: 12px }
.paycard { position: absolute; left: 150px; top: 206px; width: 136px; height: 86px; border-radius: 12px; background: #3560f0; color: #fff; cursor: grab; touch-action: none; box-shadow: 0 14px 26px rgb(0 0 0 / .28); rotate: 12deg } .paycard::before { content: ""; position: absolute; left: 13px; top: 26px; width: 25px; height: 19px; border-radius: 4px; background: #e8c66a } .paycard svg { position: absolute; right: 12px; top: 10px; width: 22px } .paycard.up { cursor: grabbing; rotate: 4deg } .paycard:not(.up) { transition: translate .5s var(--ease), rotate .4s var(--ease) }
.job { width: 100%; max-width: 300px; padding: 20px 22px; background: #fffdf7; border-radius: 6px; box-shadow: 0 18px 34px rgb(0 0 0 / .16); rotate: 1.2deg } .job .no { display: flex; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px dashed #b9b29c } .job .no b { font-weight: 600 } .job button { display: flex; width: 100%; align-items: center; gap: 12px; min-height: 44px; text-align: left } .job i { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 2px solid #8f8870; display: grid; place-items: center; transition: background .2s, border-color .2s } .job [aria-checked="true"] i { background: #0f7a4d; border-color: #0f7a4d } .job i svg { width: 14px; stroke: #fff; fill: none; stroke-width: 3; stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset .3s var(--ease) } .job [aria-checked="true"] i svg { stroke-dashoffset: 0 }
.quotes { display: grid; gap: 8px } .quotes button { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 0 18px; background: #fffdf7; border-radius: 12px; font-variant-numeric: tabular-nums; transition: background .2s } .quotes button:hover { background: #fff3c4 } .quotes button[aria-pressed="true"] { background: #1c1c1a; color: #fff }
.machine { position: relative; height: 262px } .hood { position: relative; z-index: 2; height: 96px; border-radius: 22px 22px 14px 14px; background: #33353c; box-shadow: 0 18px 30px rgb(0 0 0 / .2) } .hood::before { content: ""; position: absolute; right: 18px; top: 18px; width: 9px; height: 9px; border-radius: 50%; background: #6df0b0 } .hood::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 8px; height: 7px; border-radius: 4px; background: #0d0e10 } .label { position: absolute; z-index: 1; left: 15%; right: 15%; top: 84px; padding: 22px 16px 14px; background: #fff; color: #111; line-height: 1.4; clip-path: inset(0 0 100% 0); translate: 0 -100% } .label.out { clip-path: inset(0); translate: 0 0; transition: translate 1.4s steps(18), clip-path 1.4s steps(18) } .label b { display: block; font-size: 18px; font-weight: 600 } .label span { font-size: 14px } .label svg { width: 100%; height: 42px; margin-top: 8px }

.web { position: relative; display: flex; flex-direction: column; background: #f4f4f5; color: #2a2a2e; transform: none !important }
.webbar { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 6px 0 16px; font-size: 14px } .webbar .dots { flex: none; width: 44px; height: 10px; background: radial-gradient(circle, #d4d4d8 4.5px, transparent 5px) 0 50% / 17px 10px repeat-x } .webbar .url { flex: 1; min-width: 0; overflow: clip; text-overflow: ellipsis; white-space: nowrap; text-align: center; padding: 5px 12px; border-radius: 8px; background: #fff; color: #55555c; margin: 0 8px }
.webbar a, .webbar button { flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: background .2s } .webbar a:hover, .webbar button:hover { background: #e4e4e7 } .webbar button { background: #1c1c1f; color: #fff } .webbar button:hover { background: #3a3a40 }
.webview { position: relative; aspect-ratio: 16 / 10; background: #ddd top / cover no-repeat } .webview iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; opacity: 0; transition: opacity .4s var(--ease) } .ready iframe { opacity: 1 }
.webspin { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px; border-radius: 50%; border: 4px solid rgb(255 255 255 / .5); border-top-color: #fff; box-shadow: 0 2px 12px rgb(0 0 0 / .25); animation: spin .8s linear infinite } .ready .webspin { display: none } @keyframes spin { to { rotate: 1turn } }
html.rolls .stage.live.tan { background: #ecc998 } html.rolls .stage.live.navy { background: #0f1d29 } .stage.live .web { margin-bottom: clamp(28px, 6vw, 90px); border-radius: 14px; box-shadow: 0 24px 60px rgb(0 0 0 / .2) } .stage.live.bleed .web { margin: 0; border-radius: 0; box-shadow: none; width: 100% } .stage.live.bleed .webbar { background: #1a2633; color: #c9d3dd } .stage.live.bleed .webbar .url { background: #0f1d29; color: #c9d3dd } .stage.live.bleed .webbar a:hover { background: #263545 } .stage.live.bleed .webbar button { background: #fff; color: #0f1d29 }

/* 折叠屏演示 */
.foldstage { padding: clamp(40px, 7vw, 96px) 20px clamp(32px, 4vw, 56px); gap: 36px }
.fold { width: min(720px, 100%); aspect-ratio: 4 / 3; padding: clamp(7px, 1.2vw, 14px); border-radius: clamp(20px, 3.4vw, 46px); background: #111; display: flex; justify-content: center; box-shadow: 0 30px 70px rgb(0 0 0 / .24); position: relative }
.app { position: relative; width: 46%; height: 100%; overflow: clip; border-radius: 4px; transition: width .9s var(--ease), border-radius .9s var(--ease) } .fold.on .app { width: 100%; border-radius: clamp(15px, 2.6vw, 34px) }
.app svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none }
.rail { position: absolute; right: 5%; bottom: 14%; display: grid; gap: 14px } .rail b { width: clamp(20px, 3.4vw, 36px); aspect-ratio: 1; border-radius: 50%; background: #fff } .lines { position: absolute; left: 6%; bottom: 8%; width: 40%; display: grid; gap: 8px } .lines b { height: 9px; border-radius: 9px; background: #fff } .lines b:last-child { width: 62% }
.inject { min-height: 48px; padding: 0 24px; border-radius: 24px; background: #111; color: #fff; font-weight: 600; transition: background .2s } .inject:hover { background: #3d2a5c }

/* 机房 */
.rackstage { padding: clamp(20px, 5vw, 72px); place-items: stretch; grid-template-columns: minmax(0, 1fr) }
.rack { display: flex; gap: 12px; min-height: 420px } .rack > button { flex: 1 1 0; min-width: 0; text-align: left; padding: 24px; border-radius: 18px; background: #23242b; color: #f3f4f6; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; transition: flex-grow .6s var(--ease), background .3s } .rack > button[aria-expanded="true"] { flex-grow: 1.9; background: #2c2e38 }
.rack h3 { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.3 } .rack p { color: #a9abb5; font-size: 14px; min-height: 3em } .rack ul { margin-top: auto; display: grid; gap: 11px } .rack li { display: flex; align-items: center; gap: 12px; white-space: nowrap; overflow: clip } .rack li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: #6df0b0 }
.rack li span { transition: opacity .4s; opacity: .62 } .rack [aria-expanded="true"] li span { opacity: 1 }

/* 卷边画布（bend.js 打开时才有 .rolls） */
.roll { position: fixed; inset: 0; z-index: -1; pointer-events: none } .roll.front { z-index: 20; cursor: zoom-out }
.rolls .stage:not(.foldstage):not(.rackstage) { background: none } .rolls .card { overflow: visible } .rolls :is(.screen, .tilt, .dash, .phone) { box-shadow: none; background: none } .rolls img.rolled { opacity: 0 }
.rolls .phones { height: auto; padding-block: clamp(48px, 7vw, 104px); gap: clamp(20px, 6vw, 92px); align-items: center } .rolls .phone { width: min(21vw, 290px) } .rolls .phone.up { margin-top: 0 }
.rolls .stage:not(.foldstage):not(.rackstage) { user-select: none; cursor: grab } .rolls .stage .screen { cursor: pointer } .rolls :is(.tilt, .dash) { cursor: zoom-in } .rolls .pin { cursor: grab; touch-action: none } .rolls .pin.up { cursor: grabbing; transition: none; transform: scale(1.18) rotate(-6deg) }
.rolls .phone { touch-action: none; user-select: none; border-radius: 44px; cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 5h6v6M11 19H5v-6M19 5 5 19' stroke='%23fff' stroke-width='5.500'/%3E%3Cpath d='M13 5h6v6M11 19H5v-6M19 5 5 19' stroke='%23111' stroke-width='2.600'/%3E%3C/svg%3E") 22 22, zoom-in } .turning, .turning * { cursor: grabbing !important }

/* 结尾 */
.outro { position: relative; margin-top: 140px; padding: 80px var(--pad) 190px; text-align: center; min-height: 940px; overflow: clip }
.outro > :not(.pit) { position: relative; z-index: 1 }
.big { max-width: 15em; margin: 0 auto; font-size: clamp(32px, 4.4vw, 58px); font-weight: 560; line-height: 1.12; letter-spacing: -.015em; text-wrap: balance }
.hello { color: var(--mid); margin-top: 28px } .hello a { color: var(--ink); font-weight: 600; padding: 10px 14px; border-radius: 14px; background: var(--soft); text-decoration: none; transition: background .2s } .hello a:hover { background: var(--line) }
.all { columns: 3; max-width: 820px; margin: 84px auto 0; column-gap: 32px; color: var(--mid) } .all li { break-inside: avoid; line-height: 2 } .all a { text-decoration: none } .all a:hover { color: var(--ink); text-decoration: underline }
.end { color: var(--mid); margin-top: 72px; font-size: 14px }
.pit { position: absolute; inset: 0; z-index: 0; pointer-events: none } .pit .ball { position: absolute; left: 0; top: 0; pointer-events: auto; touch-action: none; cursor: grab; will-change: transform; user-select: none } .pit .ball:active { cursor: grabbing }

/* 浮动条 */
.bar { position: fixed; z-index: 10; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); translate: -50% 0; display: flex; gap: 2px; padding: 5px; border-radius: 16px; background: var(--soft); box-shadow: 0 6px 22px rgb(0 0 0 / .14), 0 0 0 1px var(--line) }
.bar button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 11px; font-weight: 600; transition: background .2s } .bar button:hover { background: var(--line) } .bar #cop-btn[aria-pressed="true"] { background: var(--line) }
.bar svg { width: 22px; height: 22px } #cop-btn svg { width: 38px; height: 38px; transition: transform .4s var(--ease) } #cop-btn.hop svg { animation: hop .55s var(--ease) } @keyframes hop { 40% { transform: translateY(-14px) rotate(-8deg) } }
.moon { fill: var(--ink) } .sun { display: none !important; fill: var(--ink); stroke: var(--ink); stroke-width: 2; stroke-linecap: round } [data-theme="dark"] .moon { display: none !important } [data-theme="dark"] .sun { display: block !important }
.say { position: absolute; left: 27px; bottom: calc(100% + 9px); translate: -50% 0; max-width: min(300px, 88vw); padding: 5px 11px; border-radius: 9px; background: var(--cop); color: #fff; font-size: 15px; font-weight: 500; line-height: 1.4; white-space: nowrap } .say:empty { display: none } .say::after { content: ""; position: absolute; left: 50%; top: 99%; margin-left: -5px; border: 5px solid transparent; border-top-color: var(--cop); border-bottom: 0 }

@media (max-width: 1000px) {
  .bench { grid-template-columns: repeat(2, minmax(0, 1fr)) } .till .obj { padding-top: 0 } .send { grid-column: span 2 }
  .rack { flex-direction: column } .rack > button { padding: 18px } .rack p { min-height: 0; margin-bottom: 14px } .rack ul { grid-template-columns: 1fr 1fr; margin-top: 0 } .rack li { font-size: 14px }
}
@media (max-width: 760px) {
  .hero { padding-top: 44px; min-height: 84svh } .line { gap: .34em; font-size: clamp(22px, 6.4vw, 38px) } .marks { gap: 0 22px } .marks a { font-size: 17px !important }
  .divider { margin-top: 88px } .meta { padding: 36px 0 56px; gap: 14px 18px } .screen { width: 92% } .bench { grid-template-columns: minmax(0, 1fr) } .tel .obj { padding-top: 0 } .send { grid-column: auto } .send .obj { grid-template-columns: 1fr } .tell { min-height: 0 } .pos { left: -38px }
  .stage.bleed .screen { width: 100%; overflow: clip } .phone { width: 27vw } .webview { aspect-ratio: auto; height: min(72svh, 640px) } .webbar { padding-left: 10px; gap: 4px } .webbar .dots { display: none } .webbar .url { margin: 0 4px; text-align: left } .webbar a, .webbar button { padding: 0 9px }
  .all { columns: 2; font-size: 15px; text-align: left } .outro { min-height: 1180px; margin-top: 96px }
  .pin { width: 58px } .pin.a { left: 4% } .pin.b { right: 4% } .pin.c { right: 5% }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } *, *::before, *::after { animation: none !important; transition-duration: .01ms !important } }
