@font-face { font-family: 'Chakra'; src: url(assets/fonts/chakra-petch-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Chakra'; src: url(assets/fonts/chakra-petch-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Chakra'; src: url(assets/fonts/chakra-petch-latin-700-normal.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Plex'; src: url(assets/fonts/ibm-plex-mono-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --ink: #eef3ff; --dim: rgba(222, 232, 255, .64); --faint: rgba(200, 215, 255, .16);
  --cyan: #45f3ff; --mag: #ff3ea5; --vio: #9a6bff; --gold: #ffc46b; --acc: var(--cyan);
  --f-cn: 'ZCOOL QingKe HuangYou', 'PingFang SC', sans-serif;
  --f-en: 'Chakra', 'PingFang SC', sans-serif;
  --f-mono: 'Plex', ui-monospace, monospace;
  --f-body: 'PingFang SC', 'HarmonyOS Sans SC', 'Microsoft YaHei', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: #04050b; color: var(--ink); scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body { font-family: var(--f-body); font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--mag); color: #fff; }
@media (pointer: fine) { body, a, button { cursor: none; } }

#gl, #fx { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; }
#gl { z-index: 0; }
#fx { z-index: 30; pointer-events: none; }
#track { width: 1px; pointer-events: none; }
#stage { position: fixed; inset: 0; z-index: 10; pointer-events: none; }
#stage .lay { position: absolute; inset: 0; opacity: 0; visibility: hidden; will-change: opacity, transform; }
#stage .lay.on { visibility: visible; }
#stage .lay.live { pointer-events: auto; }
.grain { position: fixed; inset: -50%; z-index: 40; pointer-events: none; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-4%)} 75%{transform:translate(-1%,3%)} 100%{transform:translate(3%,1%)} }
.scan { position: fixed; inset: 0; z-index: 41; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,.022) 0 1px, transparent 1px 3px); mix-blend-mode: overlay; }

/* 开机 */
#boot { position: fixed; inset: 0; z-index: 100; background: #03040a; display: grid; place-items: center; transition: opacity .8s, clip-path 1s cubic-bezier(.77,0,.18,1); clip-path: circle(150% at 50% 50%); }
#boot.done { clip-path: circle(0% at 50% 50%); opacity: 0; pointer-events: none; }
.boot-inner { width: min(420px, 80vw); text-align: center; font-family: var(--f-mono); }
.boot-eye { width: 90px; height: 90px; margin: 0 auto 26px; border-radius: 50%; border: 1px solid rgba(69,243,255,.5); display: grid; place-items: center; box-shadow: 0 0 40px -6px var(--cyan) inset; animation: spin 6s linear infinite; }
.boot-eye i { width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle, #000 40%, var(--cyan) 42%, transparent 70%); }
@keyframes spin { to { transform: rotate(360deg); } }
.boot-logo { font-family: var(--f-en); font-weight: 700; letter-spacing: .24em; font-size: 15px; }
.boot-logo i { color: var(--mag); font-style: normal; margin: 0 .3em; }
.boot-bar { height: 2px; background: var(--faint); margin-top: 22px; overflow: hidden; }
.boot-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan), var(--vio), var(--mag)); transition: width .25s; }
.boot-pct { font-size: 12px; margin-top: 8px; color: var(--cyan); }

/* HUD */
.hud { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 20px 34px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; pointer-events: none; mix-blend-mode: screen; }
.hud > * { pointer-events: auto; }
.hud-logo { font-family: var(--f-en); font-size: 14px; letter-spacing: .22em; }
.hud-logo b { color: var(--cyan); } .hud-logo i { color: var(--mag); font-style: normal; margin: 0 .2em; }
.hud-chapter { display: flex; gap: 8px; align-items: baseline; color: var(--dim); }
.hud-chapter span:first-child { color: var(--ink); font-size: 14px; font-family: var(--f-en); font-weight: 600; }
.hud-chapter em { font-style: normal; color: var(--mag); }
.hud-chapter strong { margin-left: 14px; color: var(--acc); font-weight: 500; }
.hud-meta { display: flex; gap: 22px; color: var(--dim); }
.rail { position: fixed; right: 26px; top: 50%; transform: translateY(-50%); z-index: 50; display: flex; flex-direction: column; gap: 14px; }
.rail button { position: relative; width: 22px; height: 22px; display: grid; place-items: center; }
.rail button i { width: 6px; height: 6px; transform: rotate(45deg); border: 1px solid var(--dim); transition: all .4s; }
.rail button.on i { background: var(--acc); border-color: var(--acc); box-shadow: 0 0 12px var(--acc); width: 9px; height: 9px; }
.rail button span { position: absolute; right: 30px; white-space: nowrap; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; opacity: 0; transform: translateX(8px); transition: all .3s; pointer-events: none; }
.rail button:hover span, .rail button.on span { opacity: 1; transform: none; }
.rail button.on span { color: var(--acc); }
.progress { position: fixed; left: 0; bottom: 0; height: 2px; width: 100%; z-index: 50; background: rgba(255,255,255,.06); }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan), var(--vio), var(--mag)); box-shadow: 0 0 10px var(--cyan); }

.cursor { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; mix-blend-mode: difference; }
.c-dot, .c-ring { position: absolute; left: 0; top: 0; border-radius: 50%; }
.c-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
.c-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(255,255,255,.8); transition: all .35s cubic-bezier(.2,.8,.2,1); }
.cursor.hover .c-ring { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: rgba(255,255,255,.95); }
.c-label { position: absolute; transform: translate(-50%, -50%); font-family: var(--f-mono); font-style: normal; font-size: 10px; letter-spacing: .12em; color: #000; opacity: 0; white-space: nowrap; }
.cursor.hover .c-label { opacity: 1; }
@media (pointer: coarse) { .cursor { display: none; } }

/* 通用文字 */
.kicker { display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .26em; color: var(--acc); margin-bottom: 18px; }
.kicker::before { content: ''; width: 34px; height: 1px; background: currentColor; box-shadow: 0 0 8px currentColor; }
.kicker b { color: var(--ink); font-weight: 500; }
.title { font-family: var(--f-cn); font-weight: 400; font-size: clamp(40px, 5.4vw, 92px); line-height: 1.04; letter-spacing: .02em; margin-bottom: 20px; text-shadow: 0 4px 30px rgba(0,0,0,.6); }
.title .ln { display: block; }
.hl { color: transparent; background: linear-gradient(100deg, var(--cyan), var(--vio) 45%, var(--mag) 75%, var(--gold)); -webkit-background-clip: text; background-clip: text; background-size: 200% 100%; animation: flow 6s linear infinite; }
@keyframes flow { to { background-position: -200% 0; } }
.lead { font-size: 16px; color: var(--dim); max-width: 32em; }
.lead em { font-style: normal; color: var(--ink); border-bottom: 1px solid var(--mag); }
.st { opacity: 0; transform: translateY(26px); filter: blur(6px); }
.card { position: relative; padding: 18px 20px; background: linear-gradient(140deg, rgba(20, 26, 52, .7), rgba(8, 10, 24, .62)); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px)); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.card::before { content: ''; position: absolute; inset: 0; padding: 1px; clip-path: inherit; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), var(--acc), transparent 60%), linear-gradient(140deg, rgba(255,255,255,.2), rgba(255,255,255,.04)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.card h4 { font-family: var(--f-cn); font-weight: 400; font-size: 20px; letter-spacing: .04em; margin-bottom: 4px; }
.card p { color: var(--dim); font-size: 13.5px; }
.tag { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .2em; color: var(--acc); }
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; font-family: var(--f-en); font-weight: 600; letter-spacing: .2em; font-size: 12.5px; background: linear-gradient(100deg, var(--cyan), var(--vio)); color: #05060d; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.panel-l, .panel-r { position: absolute; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; padding: 90px 0 70px; }
.panel-l { left: 6vw; width: min(640px, 50vw); }
.panel-r { right: 7vw; width: min(640px, 50vw); }
.shade-l { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,5,12,.88) 0%, rgba(4,5,12,.55) 46%, transparent 70%); }
.shade-r { position: absolute; inset: 0; background: linear-gradient(270deg, rgba(4,5,12,.88) 0%, rgba(4,5,12,.55) 46%, transparent 70%); }

/* 首页 */
.hero-eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: .3em; color: var(--dim); margin-bottom: 14px; display: flex; gap: 12px; align-items: center; }
.hero-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #3dff9a; box-shadow: 0 0 10px #3dff9a; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.hero-name { height: clamp(110px, 15vw, 220px); width: min(700px, 52vw); position: relative; margin-left: -.5vw; }
.hero-name h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hero-en { font-family: var(--f-en); font-weight: 600; font-size: 12.5px; letter-spacing: .6em; color: var(--dim); margin: 4px 0 26px; }
.hero .title { font-size: clamp(30px, 3.6vw, 58px); }
.hero-tags { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.hero-tags .card { padding: 12px 16px; min-width: 140px; }
.hero-tags .card b { display: block; font-family: var(--f-cn); font-weight: 400; font-size: 18px; }
.actions { display: flex; gap: 12px; margin-top: 26px; }
.scroll-hint { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); font-family: var(--f-mono); font-size: 11px; letter-spacing: .3em; color: var(--dim); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-hint i { width: 1px; height: 40px; background: linear-gradient(var(--cyan), transparent); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drip 1.8s infinite cubic-bezier(.6,0,.3,1); }
@keyframes drip { to { top: 110%; } }

/* 热点提示 */
.hot { position: absolute; width: 0; height: 0; pointer-events: auto; }
.hot i { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--cyan); box-shadow: 0 0 18px var(--cyan), inset 0 0 12px var(--cyan); animation: pulse 2s infinite; }
.hot i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff; }
.hot em { position: absolute; left: 30px; top: -8px; font-style: normal; white-space: nowrap; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .2em; color: var(--cyan); text-shadow: 0 0 8px #000; }
.hot.lft em { left: auto; right: 30px; }
/* 首页眼睛热点：平时隐藏，鼠标移到眼睛上才显示 */
#hot-eye:not(:hover) i, #hot-eye:not(:hover) em { opacity: 0 !important; animation: none; }
#hot-eye i, #hot-eye em { transition: opacity .3s; }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

/* 瞳孔世界：关于我 */
#about { background: radial-gradient(ellipse at 50% 50%, #0b0f2a 0%, #03040a 70%); perspective: 1100px; overflow: hidden; }
#about canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
#about .space { position: absolute; inset: 0; transform-style: preserve-3d; }
#about .fly { position: absolute; left: 50%; top: 50%; transform-style: preserve-3d; will-change: transform, opacity; }
#about .fly .card { width: min(540px, 84vw); padding: 22px 26px; }
#about .fly .card p { font-size: 15px; color: rgba(230,238,255,.8); }
#about .fly .card h4 { font-size: 24px; }
#about .fly .card h4 small { font-family: var(--f-body); font-size: 12px; color: var(--mag); margin-left: 10px; letter-spacing: .1em; }
#about .fly .yr { font-family: var(--f-en); font-weight: 700; font-size: 44px; letter-spacing: .06em; color: transparent; -webkit-text-stroke: 1px rgba(69,243,255,.7); margin-bottom: 6px; }
#about .fly-title { text-align: center; white-space: nowrap; }
#about .fly-title .title { font-size: clamp(48px, 7vw, 120px); }
#about .portal-card { width: min(520px, 78vw); aspect-ratio: 16 / 10; overflow: hidden; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px)); box-shadow: 0 0 60px -10px var(--gold); }
#about .portal-card .img { position: absolute; inset: 0; background: center / cover no-repeat; }
#about .portal-card .img canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
#about .portal-card .lbl { position: absolute; left: 22px; bottom: 18px; font-family: var(--f-cn); font-size: 30px; text-shadow: 0 2px 20px #000; }
#about .portal-card .lbl small { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .3em; color: var(--gold); }
#about .ahud { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); font-family: var(--f-mono); font-size: 11px; letter-spacing: .3em; color: var(--cyan); opacity: .8; }

/* 通用传送门（放大后带出下一个模块） */
.portal { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; }
.portal .img { position: absolute; inset: 0; background: center / cover no-repeat; }
.portal .ring { position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.portal.hex { clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); }
.portal.hex .ring { box-shadow: none; background: none; }
.portal .label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--f-mono); font-size: 11px; letter-spacing: .3em; color: #fff; white-space: nowrap; text-shadow: 0 0 10px #000; }
.holo-chip { position: absolute; width: 64px; height: 44px; margin: -22px 0 0 -6px; border: 1px solid var(--cyan); background: linear-gradient(140deg, rgba(69,243,255,.28), rgba(154,107,255,.15)); box-shadow: 0 0 22px var(--cyan); transform: perspective(300px) rotateY(-24deg); }
.holo-chip::after { content: ''; position: absolute; inset: 5px; background: repeating-linear-gradient(0deg, rgba(69,243,255,.5) 0 1px, transparent 1px 5px); }
.holo-cube { position: absolute; width: 46px; height: 46px; margin: -60px 0 0 -23px; border: 1px solid var(--cyan); background: rgba(69,243,255,.12); box-shadow: 0 0 26px var(--cyan), inset 0 0 18px var(--cyan); animation: cube 4s linear infinite; }
@keyframes cube { to { transform: rotate3d(1,1,0,360deg); } }

/* 经历 */
.job-head h3 { font-family: var(--f-cn); font-weight: 400; font-size: 28px; }
.job-head span { font-family: var(--f-mono); color: var(--acc); font-size: 12px; letter-spacing: .1em; }
.job-head { border-bottom: 1px solid var(--faint); padding-bottom: 12px; margin-bottom: 14px; }
.jobs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.jobs .card .n { position: absolute; right: 16px; top: 8px; font-family: var(--f-en); font-weight: 700; font-size: 40px; color: rgba(255,255,255,.06); }
.edu { margin-top: 16px; font-family: var(--f-mono); font-size: 12px; color: var(--dim); }
.edu b { color: var(--acc); font-weight: 500; margin-right: 8px; }

/* 文字遮罩 */
#mask { background: #04050b; display: grid; place-items: center; overflow: hidden; }
#mask h2 { font-family: var(--f-cn); font-weight: 400; font-size: clamp(60px, 12vw, 210px); line-height: 1; text-align: center; color: transparent; background: center / cover no-repeat; -webkit-background-clip: text; background-clip: text; transform-origin: 50% 50%; will-change: transform; white-space: nowrap; }

/* 项目 */
.proj .title { font-size: clamp(36px, 4.2vw, 70px); margin-bottom: 10px; }
.proj-name { font-family: var(--f-en); font-weight: 600; font-size: 17px; letter-spacing: .05em; }
.proj-meta { font-family: var(--f-mono); font-size: 11px; color: var(--dim); margin-top: 2px; }
.proj-status { display: inline-flex; gap: 8px; align-items: center; margin-top: 6px; font-size: 12px; color: #3dff9a; font-family: var(--f-mono); }
.proj-status::before { content: ''; width: 6px; height: 6px; background: currentColor; box-shadow: 0 0 8px currentColor; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 16px 0 12px; }
.metrics .card { padding: 10px 12px; }
.metrics .v { font-family: var(--f-en); font-weight: 700; font-size: clamp(22px, 2.2vw, 34px); line-height: 1.1; }
.metrics .v small { font-size: .5em; color: var(--acc); }
.metrics .l { font-size: 11.5px; color: var(--dim); }
.hint { font-family: var(--f-mono); font-size: 10.5px; color: var(--dim); letter-spacing: .14em; margin-bottom: 8px; }
.hint::before { content: '▸ '; color: var(--mag); }
.tabs { display: flex; gap: 6px; margin-top: 12px; }
.tabs button { font-family: var(--f-cn); font-size: 16px; padding: 6px 12px; border: 1px solid var(--faint); transition: all .3s; }
.tabs button.on { border-color: var(--acc); color: var(--acc); background: rgba(69,243,255,.08); }
.tab-body { margin-top: 8px; min-height: 66px; font-size: 13.5px; color: var(--dim); }
.footer-q { margin-top: 12px; font-family: var(--f-cn); font-size: 20px; letter-spacing: .05em; }
.footer-q::before, .footer-q::after { color: var(--mag); }
.footer-q::before { content: '“'; } .footer-q::after { content: '”'; }
.chain { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.node { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.node .hexg { width: 50px; height: 50px; display: grid; place-items: center; font-family: var(--f-en); font-weight: 700; font-size: 10px; background: rgba(10,14,30,.85); clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); box-shadow: inset 0 0 0 1px rgba(69,243,255,.6); transition: all .35s; }
.node b { font-family: var(--f-cn); font-weight: 400; font-size: 15px; }
.node.on .hexg { background: linear-gradient(140deg, var(--cyan), var(--vio)); color: #05060d; transform: scale(1.12) rotate(-6deg); }
.node.on b { color: var(--acc); }
.nd { margin-top: 8px; font-size: 13px; color: var(--dim); min-height: 40px; }
.nd b { color: var(--acc); font-weight: 500; margin-right: 8px; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.filters button { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; padding: 5px 9px; border: 1px solid var(--faint); }
.filters button i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; transform: rotate(45deg); }
.filters button.on { border-color: var(--acc); color: var(--acc); }
.graph { position: relative; height: 210px; }
.graph svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.graph path { fill: none; stroke: rgba(160,190,255,.35); stroke-width: 1.2; stroke-dasharray: 5 6; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }
.gnode { position: absolute; transform: translate(-50%, -50%); padding: 5px 10px; font-size: 12px; white-space: nowrap; background: rgba(10,14,30,.85); border: 1px solid var(--c); box-shadow: 0 0 16px -4px var(--c); transition: opacity .4s, transform .4s; }
.gnode small { display: block; font-family: var(--f-mono); font-size: 9px; letter-spacing: .16em; color: var(--c); }
.gnode.dim { opacity: .18; } .gnode.sel { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 0 26px var(--c); }
.t-agent { --c: #ff8a3d; } .t-workflow { --c: #4d8dff; } .t-human { --c: #3dff9a; } .t-knowledge { --c: #c86bff; }
.demo { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px; }
.term { font-family: var(--f-mono); font-size: 11.5px; padding: 14px; min-height: 200px; }
.term .line { color: var(--dim); white-space: pre-wrap; } .term .ok { color: #3dff9a; } .term .run { color: var(--acc); }
.steps { display: grid; gap: 5px; }
.step { display: grid; grid-template-columns: 26px 1fr auto; gap: 8px; align-items: center; padding: 6px 10px; border: 1px solid var(--faint); font-size: 12.5px; transition: all .35s; }
.step .i { font-family: var(--f-en); font-weight: 700; color: var(--dim); }
.step .s { font-family: var(--f-mono); font-size: 10px; color: var(--dim); }
.step.run { border-color: var(--acc); } .step.run .s { color: var(--acc); }
.step.done { border-color: rgba(61,255,154,.5); } .step.done .s, .step.done .i { color: #3dff9a; }

/* 方法论（掌心全息展开） */
#method { display: grid; place-items: center; }
#method .holo { width: min(980px, 88vw); padding: 34px 38px; background: linear-gradient(140deg, rgba(10, 30, 50, .78), rgba(10, 10, 30, .8)); border: 1px solid rgba(69,243,255,.5); box-shadow: 0 0 80px -20px var(--cyan), inset 0 0 60px -30px var(--cyan); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px)); }
.dec-btns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dec-btns button { padding: 14px 8px; border: 1px solid var(--faint); font-family: var(--f-cn); font-size: 18px; background: rgba(8,10,24,.5); transition: all .3s; }
.dec-btns button.on { border-color: var(--acc); color: var(--acc); background: rgba(69,243,255,.1); box-shadow: 0 0 22px -6px var(--acc); }
.dec-out { display: grid; grid-template-columns: 170px 1fr; gap: 18px; align-items: center; margin-top: 12px; min-height: 92px; }
.dec-out .res { font-family: var(--f-en); font-weight: 700; font-size: 30px; letter-spacing: .08em; color: var(--acc); }
.prins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }

/* 联系 */
.contact .title { font-size: clamp(44px, 6vw, 100px); }
.links { display: grid; gap: 10px; margin-top: 24px; max-width: 480px; }
.links .card { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; text-align: left; width: 100%; }
.links .k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--acc); }
.links .v { font-family: var(--f-en); font-size: 19px; font-weight: 600; }
.foot { margin-top: 30px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--dim); line-height: 1.9; }
.toast { position: fixed; left: 50%; bottom: 40px; z-index: 60; transform: translate(-50%, 30px); opacity: 0; padding: 12px 22px; font-family: var(--f-mono); font-size: 12px; background: rgba(10,14,30,.9); border: 1px solid var(--acc); color: var(--acc); transition: all .4s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 手机 */
@media (max-width: 820px) {
  .hud { padding: 14px 16px; } .hud-meta, .rail, .hud-chapter strong { display: none; }
  .panel-l, .panel-r { left: 18px; right: 18px; width: auto; top: auto; bottom: 0; justify-content: flex-end; padding: 0 0 40px; }
  .shade-l, .shade-r { background: linear-gradient(0deg, rgba(4,5,12,.95) 0%, rgba(4,5,12,.7) 50%, transparent 78%); }
  .hero-name { width: 100%; height: 30vw; }
  .jobs, .metrics, .prins, .dec-btns { grid-template-columns: 1fr 1fr; }
  .chain { grid-template-columns: repeat(4, 1fr); row-gap: 8px; }
  .demo { grid-template-columns: 1fr; } .term { min-height: 120px; }
  .dec-out { grid-template-columns: 1fr; }
  .graph { height: 240px; }
  .title { font-size: clamp(32px, 9vw, 50px); }
  #method .holo { padding: 22px 18px; max-height: 86vh; overflow: auto; }
}
@media (prefers-reduced-motion: reduce) { .grain { display: none; } *, *::before, *::after { animation-duration: .01ms !important; } }

/* 手机：每屏只保留核心信息，保证不压人物 */
@media (max-width: 820px) {
  .proj .metrics, .proj .tabs, .proj .tab-body, .proj .proj-meta, .proj .footer-q, .proj .hint { display: none; }
  .proj .title { font-size: 34px; } .proj-name { font-size: 15px; }
  .graph { height: 200px; } .gnode { font-size: 10.5px; padding: 3px 6px; }
  .demo .term { display: none; } .step { padding: 4px 8px; font-size: 11.5px; }
  .jobs .card p, .jobs .card .n { display: none; } .jobs .card { padding: 10px 12px; } .jobs .card h4 { font-size: 16px; }
  .job-head h3 { font-size: 20px; }
  .hero-tags, .hero .lead { display: none; }
  #L-hero .panel-l { padding-bottom: 78px; }   /* 给底部“SCROLL”提示留出位置，不压按钮 */
  #L-hero .scroll-hint { bottom: 16px; gap: 6px; font-size: 10px; } #L-hero .scroll-hint i { height: 22px; }
  #method .prins, #method .hint { display: none; } #method .title { font-size: 34px; }
  #about .fly .card { width: 84vw; padding: 14px 16px; } #about .fly .card h4 { font-size: 18px; } #about .fly .card p { font-size: 13px; }
  #about .fly .yr { font-size: 30px; }
  .contact .lead { display: none; }
  .panel-l, .panel-r { padding-bottom: 28px; }
}
