/* ============================================================
   GZH 私人作品集 · 本地复刻
   设计令牌取自原站 computed style
   ============================================================ */
:root {
  --bg: #0b0c0e;
  --bg-soft: #101216;
  --panel: #16191d;
  --panel-light: #1d2126;
  --panel-raised: #24282e;
  --ink: #e8e9ea;
  --ink-dim: #9ca3ac;
  --muted: #6b727b;
  --faint: #4d545c;
  --accent: #f0a94c;
  --accent-dim: #b8813c;
  --amber: #efb766;
  --accent-glow: rgba(240, 169, 76, .18);
  --signal: #6fcf8e;
  --violet: #a9b4c2;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --line-bright: rgba(255, 255, 255, .26);
  --font-mono: "IBM Plex Mono", "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", Arial, sans-serif;
  --font-serif: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  --shell: min(1240px, calc(100vw - 64px));
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: #0b0c0e; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.shell { width: var(--shell); margin: 0 auto; }
.mono { font-family: var(--font-mono); }
.serif { font-family: var(--font-serif); }
.accent { color: var(--accent); }
.dim { color: var(--ink-dim); }
.muted { color: var(--muted); }
.faint { color: var(--faint); }

/* 通用小标签 */
.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted);
  text-transform: uppercase;
}
.kicker .num { color: var(--accent); }

/* ============ 顶部导航 ============ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(11, 12, 14, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex; align-items: center; gap: 28px;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark {
  width: 38px; height: 38px; flex: none;
  border: 1px solid var(--line-bright);
  object-fit: cover; display: block;
}
.brand .name { font-size: 17px; font-weight: 700; letter-spacing: .06em; display: inline-block; margin-top: 4px; }
.brand .tag {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .18em;
  color: var(--muted); margin-top: 2px;
}
.main-nav { display: flex; gap: 26px; margin-left: 24px; }
.main-nav a {
  font-size: 13px; color: var(--ink-dim); letter-spacing: .08em;
  padding: 4px 0; border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
.main-nav a:hover { color: var(--ink); border-color: var(--accent); }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.link-quiet { font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.link-quiet:hover { color: var(--ink); }
.link-contact {
  font-size: 13px; color: var(--ink); letter-spacing: .06em;
}
.link-contact .arr { color: var(--accent); margin-left: 4px; }
.link-contact:hover { color: var(--accent); }

/* ============ 首屏 Hero ============ */
.hero { padding: 150px 0 90px; border-bottom: 1px solid var(--line); }
.hero-grid {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: stretch;
}
.hero-kicker {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em;
  color: var(--muted); margin-bottom: 34px;
}
.hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--accent); }
.hero-kicker .loc { color: var(--faint); }
.hero h1 {
  font-family: var(--font-mono);
  font-size: clamp(30px, 3.5vw, 45px);
  font-weight: 500; letter-spacing: .01em; line-height: 1.12;
  white-space: nowrap;
}
.hero h1 .dot { color: var(--faint); margin: 0 .12em; }
.hero h1 .w-dim { color: var(--muted); }
.hero-sub {
  margin-top: 30px; font-size: 15px; font-weight: 600; color: var(--accent);
  letter-spacing: .02em;
}
.hero-desc {
  margin-top: 12px; max-width: 460px; color: var(--ink-dim); font-size: 14px;
}
.hero-actions { display: flex; gap: 14px; margin-top: 40px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: .06em;
  padding: 13px 26px; border: 1px solid transparent;
  transition: all .15s;
}
.btn-primary { background: var(--accent); color: #071110; font-weight: 600; }
.btn-primary:hover { background: var(--amber); box-shadow: 0 0 28px var(--accent-glow); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-entry {
  margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line);
}
.hero-entry .label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; color: var(--faint); }
.hero-entry .items { display: flex; gap: 26px; margin-top: 14px; flex-wrap: wrap; }
.hero-entry .items a {
  font-size: 13px; color: var(--ink-dim); border-bottom: 1px solid var(--line);
  padding-bottom: 3px; transition: all .15s;
}
.hero-entry .items a:hover { color: var(--accent); border-color: var(--accent); }

.hero-stats {
  margin-top: 48px; display: flex; align-items: stretch; gap: 0;
  border-top: 1px solid var(--line); padding-top: 26px;
}
.hero-stats .stat { padding-right: 34px; margin-right: 34px; border-right: 1px solid var(--line); }
.hero-stats .stat:last-child { border-right: 0; }
.hero-stats .num { font-family: var(--font-mono); font-size: 30px; color: var(--ink); line-height: 1.1; }
.hero-stats .cap { font-size: 11px; color: var(--muted); margin-top: 6px; letter-spacing: .08em; }
.hero-stats .status {
  margin-left: auto; align-self: center;
  font-family: var(--font-mono); font-size: 11px; color: var(--signal);
  border: 1px solid rgba(111, 207, 142, .35); padding: 6px 12px; letter-spacing: .1em;
}

/* Hero 右侧媒体卡 */
.reel-card {
  border: 1px solid var(--line); background: var(--panel);
  display: flex; flex-direction: column; height: 100%;
}
.reel-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em;
}
.reel-head .tag { color: var(--accent); }
.reel-head .tag::before { content: "▪ "; }
.reel-head .idx { color: var(--muted); }
.reel-media {
  position: relative; flex: 1; min-height: 300px;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 4px),
    linear-gradient(135deg, #14161a 0%, #1b1f25 45%, #101216 100%);
  overflow: hidden;
}
.reel-media .glow {
  position: absolute; width: 60%; height: 60%;
  left: 20%; top: 20%;
  background: radial-gradient(closest-side, var(--accent-glow), transparent);
  filter: blur(30px);
}
.reel-media .ph-label {
  position: absolute; inset: auto 16px 14px auto;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; color: var(--faint);
}
.reel-media .ph-center {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .3em; color: var(--faint);
}
.reel-info {
  padding: 16px 18px 14px; border-top: 1px solid var(--line);
}
.reel-info .cat {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; color: var(--accent);
}
.reel-info .title { font-family: var(--font-serif); font-size: 22px; margin-top: 8px; }
.reel-info .meta {
  display: flex; justify-content: space-between; margin-top: 10px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: var(--muted);
}
.reel-info .meta a { color: var(--ink-dim); }
.reel-info .meta a:hover { color: var(--accent); }
.reel-tabs {
  display: flex; border-top: 1px solid var(--line);
}
.reel-tabs button {
  flex: 1; background: none; border: 0; border-top: 2px solid transparent;
  padding: 13px 0; color: var(--muted); font-size: 12px; letter-spacing: .2em;
  transition: all .15s;
}
.reel-tabs button + button { border-left: 1px solid var(--line); }
.reel-tabs button.active { color: var(--accent); border-top-color: var(--accent); background: rgba(240,169,76,.04); }
.reel-tabs button:hover { color: var(--ink); }

/* ============ 区块通用 ============ */
.section { padding: 96px 0; border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; gap: 22px; margin-bottom: 52px; }
.section-head .sec-num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: .2em; }
.section-head .sec-en { font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em; color: var(--faint); }
.section-head h2 { font-family: var(--font-serif); font-size: 34px; font-weight: 500; letter-spacing: .06em; }
.section-head .side { margin-left: auto; color: var(--muted); font-size: 13px; }

/* 滚动浮现 */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.on { opacity: 1; transform: none; }

/* ============ 01 公开作品 ============ */
.work-top {
  display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 34px;
}
.work-counter { font-family: var(--font-mono); font-size: 44px; color: var(--ink); line-height: 1; }
.work-counter .of { color: var(--faint); font-size: 22px; }
.work-title { font-family: var(--font-serif); font-size: 26px; margin-top: 10px; }
.autoplay-btn {
  background: none; border: 1px solid var(--line-strong); color: var(--muted);
  font-size: 11px; letter-spacing: .14em; padding: 9px 16px;
  font-family: var(--font-mono); display: flex; align-items: center; gap: 8px;
  transition: all .15s;
}
.autoplay-btn .dot { width: 6px; height: 6px; background: var(--signal); border-radius: 50%; }
.autoplay-btn.paused .dot { background: var(--faint); }
.autoplay-btn:hover { color: var(--ink); border-color: var(--line-bright); }

.work-track {
  display: flex; gap: 18px; overflow-x: auto; cursor: grab;
  padding-bottom: 8px; scrollbar-width: none; user-select: none;
}
.work-track::-webkit-scrollbar { display: none; }
.work-track.dragging { cursor: grabbing; }
.work-card {
  flex: 0 0 350px; border: 1px solid var(--line); background: var(--panel);
  padding: 0 22px 22px; display: flex; flex-direction: column;
  transition: border-color .15s, transform .2s;
}
.work-card .video-wrap {
  position: relative; margin: 0 -22px 18px; border-bottom: 1px solid var(--line);
  background: #000; cursor: pointer;
}
.work-card .video-wrap video {
  display: block; width: 100%; height: 185px; object-fit: cover;
}
.work-card .video-wrap .video-tag {
  position: absolute; left: 14px; bottom: 10px; pointer-events: none;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .2em;
  color: rgba(255,255,255,.55); mix-blend-mode: screen;
}
.work-card:hover { border-color: var(--line-bright); transform: translateY(-3px); }
.work-card .meta {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; color: var(--muted);
  padding-bottom: 14px; border-bottom: 1px dashed var(--line);
}
.work-card .case {
  margin-top: 18px; display: flex; align-items: baseline; gap: 10px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em;
}
.work-card .case .no { color: var(--accent); font-size: 13px; }
.work-card .case .type { color: var(--ink-dim); }
.work-card .case .rel { margin-left: auto; color: var(--signal); }
.work-card .desc { margin-top: 12px; color: var(--ink-dim); font-size: 13px; min-height: 44px; }
.work-card h3 { font-family: var(--font-serif); font-size: 25px; font-weight: 500; margin-top: 8px; letter-spacing: .04em; }
.work-card .role { margin-top: 10px; font-size: 12px; color: var(--muted); }
.work-card .tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em;
  color: var(--muted); border: 1px solid var(--line); padding: 4px 9px;
}

/* ============ 首屏现场照片层 ============ */
.reel-photos { position: absolute; inset: 0; z-index: 1; }
.reel-photos img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity .9s ease;
  filter: saturate(.9) contrast(1.03);
}
.reel-photos img.on { opacity: 1; }
.reel-photos::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,12,14,.1) 0%, rgba(11,12,14,.42) 100%);
}
.reel-media .ph-center { transition: opacity .7s; }
.reel-media.live .ph-center { opacity: 0; }
.reel-media.live { background: #101216; }
.reel-media .ph-label { z-index: 2; }

.work-index-row { display: flex; justify-content: center; margin-top: 44px; }
.work-index-btn {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: none; border: 1px solid var(--line-strong); color: var(--ink);
  padding: 20px 56px; transition: all .15s;
}
.work-index-btn .en { font-family: var(--font-mono); font-size: 10px; letter-spacing: .24em; color: var(--muted); }
.work-index-btn strong { font-size: 15px; font-weight: 600; }
.work-index-btn:hover { border-color: var(--accent); color: var(--accent); }
.work-note { text-align: center; margin-top: 16px; font-size: 12px; color: var(--faint); }

/* ============ 引擎 C++ R&D ============ */
.rd-head { margin-bottom: 36px; }
.rd-head h3 { font-family: var(--font-serif); font-size: 28px; font-weight: 500; margin-top: 10px; }
.rd-head .sub { color: var(--muted); font-size: 13px; margin-top: 8px; }
.rd-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.rd-card {
  grid-column: span 2; border: 1px solid var(--line); background: var(--panel);
  display: flex; flex-direction: column; transition: border-color .15s;
}
.rd-card:hover { border-color: var(--line-bright); }
.rd-card.big { grid-column: span 3; }
.rd-thumb {
  position: relative; aspect-ratio: 16 / 8.4;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.02) 0 1px, transparent 1px 5px),
    linear-gradient(120deg, #171a1f, #1e232a 55%, #131519);
  border-bottom: 1px solid var(--line);
}
.rd-thumb .bar {
  position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between;
  padding: 10px 14px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .18em; color: var(--muted);
}
.rd-thumb .bar .play { color: var(--accent); }
.rd-thumb .ph-center {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .3em; color: #3a4048;
}
.rd-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.rd-body .cat { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; color: var(--accent-dim); }
.rd-body h4 { font-family: var(--font-serif); font-size: 19px; font-weight: 500; margin-top: 8px; }
.rd-body p { margin-top: 10px; font-size: 12.5px; color: var(--ink-dim); flex: 1; }
.rd-body .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }

/* ============ AIGC 探索 ============ */
.studies-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 34px; }
.studies-head h3 { font-family: var(--font-serif); font-size: 28px; font-weight: 500; margin-top: 10px; }
.studies-head .sub { max-width: 440px; color: var(--muted); font-size: 13px; text-align: right; }
.studies-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.study-card {
  border: 1px solid var(--line); background: var(--panel); cursor: pointer;
  transition: border-color .15s;
}
.study-card:hover { border-color: var(--accent-dim); }
.study-thumb {
  position: relative; aspect-ratio: 4 / 4.6;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.02) 0 1px, transparent 1px 5px),
    linear-gradient(150deg, #1a1d22, #14161a 60%, #1b1f26);
  border-bottom: 1px solid var(--line);
}
.study-thumb .top {
  position: absolute; inset: 0 0 auto 0; display: flex; justify-content: space-between;
  padding: 10px 12px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .16em; color: var(--muted);
}
.study-thumb .top .play { color: var(--accent); }
.study-thumb .ph-center {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 15px; color: #3d444d; letter-spacing: .3em;
}
.study-meta { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px 16px; }
.study-meta .cat { font-size: 11px; color: var(--ink-dim); }
.study-meta .name { font-family: var(--font-serif); font-size: 15px; margin-top: 4px; }
.study-meta .no { font-family: var(--font-mono); font-size: 11px; color: var(--faint); }

/* ============ 02 AI 内容生产系统 ============ */
.platform-intro { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; margin-bottom: 44px; }
.platform-intro .who { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.platform-intro .who .tick { color: var(--signal); }
.platform-intro .who span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.platform-intro > div > p { color: var(--ink-dim); font-size: 14px; }

.dl-3 { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--panel); }
.dl-3 .cell { padding: 22px 24px; }
.dl-3 .cell + .cell { border-left: 1px solid var(--line); }
.dl-3 dt { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: .12em; }
.dl-3 dd strong { display: block; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink); margin-top: 8px; letter-spacing: .02em; }
.dl-3 dd p { margin-top: 8px; font-size: 12px; color: var(--muted); }

.layer-list { border: 1px solid var(--line); border-top: 0; }
.layer-item { border-top: 1px solid var(--line); background: var(--bg-soft); }
.layer-item:first-child { border-top: 0; }
.layer-btn {
  width: 100%; display: grid; grid-template-columns: 130px 1fr auto; gap: 18px; align-items: center;
  background: none; border: 0; color: var(--ink); text-align: left; padding: 20px 24px;
}
.layer-btn .en { font-family: var(--font-mono); font-size: 9px; letter-spacing: .18em; color: var(--faint); display: block; }
.layer-btn .zh { color: var(--accent); font-size: 13px; }
.layer-btn .name { font-family: var(--font-serif); font-size: 17px; }
.layer-btn .fold { font-family: var(--font-mono); color: var(--muted); font-size: 15px; transition: transform .2s; }
.layer-item.open .fold { transform: rotate(180deg); }
.layer-note { text-align: right; font-family: var(--font-mono); font-size: 9px; letter-spacing: .16em; color: var(--faint); }
.layer-body { padding: 4px 24px 26px 148px; border-top: 1px dashed var(--line); }
.layer-body > p { color: var(--ink-dim); font-size: 13px; padding-top: 16px; }
.layer-body .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mini-vids { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.mini-vid { border: 1px solid var(--line); background: var(--panel); }
.mini-vid .mv-thumb {
  position: relative; aspect-ratio: 16 / 8.6;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.02) 0 1px, transparent 1px 5px),
    linear-gradient(120deg, #171a1f, #101216 70%);
  border-bottom: 1px solid var(--line);
}
.mini-vid .mv-thumb .cap {
  position: absolute; inset: 0 0 auto 0; padding: 10px 12px;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .18em; color: var(--muted);
}
.mini-vid .mv-thumb .play-dot {
  position: absolute; inset: 0; margin: auto; width: 42px; height: 42px;
  border: 1px solid var(--line-bright); border-radius: 50%;
  display: grid; place-items: center; color: var(--ink); font-size: 11px;
}
.mini-vid .mv-body { padding: 14px 16px 16px; }
.mini-vid .mv-body h5 { font-family: var(--font-serif); font-size: 15px; font-weight: 500; }
.mini-vid .mv-body p { font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.wide-vid { border: 1px solid var(--line); background: var(--panel); margin-top: 20px; }
.wide-vid .mv-thumb { aspect-ratio: 21 / 9; }
.wide-vid .mv-thumb .ph-center {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .3em; color: #3a4048;
}
.valid-card {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 0;
  border: 1px solid var(--line); margin-top: 20px;
}
.valid-card .vc-body { padding: 18px 20px; background: var(--panel); }
.valid-card .vc-body .lab { font-family: var(--font-mono); font-size: 9px; letter-spacing: .18em; color: var(--signal); }
.valid-card .vc-body h5 { font-family: var(--font-serif); font-size: 16px; margin-top: 8px; font-weight: 500; }
.valid-card .vc-body p { font-size: 12px; color: var(--muted); margin-top: 8px; }
.valid-card .vc-body .chain {
  margin-top: 12px; font-family: var(--font-mono); font-size: 10.5px; color: var(--accent-dim); letter-spacing: .04em;
}
.valid-card .vc-thumb {
  position: relative; min-height: 150px;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.02) 0 1px, transparent 1px 5px),
    linear-gradient(120deg, #14171b, #101216 70%);
  border-left: 1px solid var(--line);
}

/* ============ 03 技术能力构成 ============ */
.tri-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tri-card {
  border: 1px solid var(--line); background: var(--panel); padding: 26px 26px 24px;
  display: flex; flex-direction: column; transition: border-color .15s;
}
.tri-card:hover { border-color: var(--line-bright); }
.tri-card .top { display: flex; justify-content: space-between; }
.tri-card .no { font-family: var(--font-mono); font-size: 11px; color: var(--accent); border: 1px solid var(--line-strong); padding: 3px 8px; }
.tri-card .en { font-family: var(--font-mono); font-size: 9px; letter-spacing: .2em; color: var(--faint); }
.tri-card h3 { font-family: var(--font-serif); font-size: 23px; font-weight: 500; margin-top: 40px; }
.tri-card .desc { font-size: 12.5px; color: var(--ink-dim); margin-top: 12px; flex: 1; }
.tri-card .chain-row { margin-top: 26px; font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); letter-spacing: .04em; }
.tri-card .chain-row .sep { color: var(--accent-dim); margin: 0 6px; }
.tri-card .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }

.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.duo-grid.single { grid-template-columns: 1fr; }
.duo-card { border: 1px solid var(--line); background: var(--bg-soft); padding: 26px 28px; }
.duo-card .en { font-family: var(--font-mono); font-size: 9px; letter-spacing: .2em; color: var(--accent-dim); }
.duo-card h3 { font-family: var(--font-serif); font-size: 21px; font-weight: 500; margin-top: 10px; }
.duo-card .desc { font-size: 13px; color: var(--muted); margin-top: 10px; }
.duo-card ul { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.duo-card li { font-size: 12.5px; color: var(--ink-dim); padding-left: 16px; position: relative; }
.duo-card li::before { content: "–"; position: absolute; left: 0; color: var(--accent-dim); }
.supplement { margin-top: 18px; font-size: 12px; color: var(--faint); }

.how-grid { display: grid; grid-template-columns: 1.1fr .9fr; border: 1px solid var(--line); margin-top: 56px; }
.how-left { padding: 28px 30px; background: var(--panel); }
.how-left .en { font-family: var(--font-mono); font-size: 9px; letter-spacing: .2em; color: var(--accent-dim); }
.how-left h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 500; margin-top: 10px; }
.how-left p { margin-top: 12px; font-size: 13px; color: var(--muted); }
.how-rows { display: flex; flex-direction: column; }
.how-rows .row { flex: 1; display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 18px; padding: 14px 24px; }
.how-rows .row + .row { border-top: 1px solid var(--line); }
.how-rows .k { font-family: var(--font-serif); font-size: 15px; color: var(--accent); }
.how-rows .v { font-size: 12.5px; color: var(--ink-dim); }

.stack { margin-top: 56px; }
.stack .head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 26px; }
.stack .head .en { font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em; color: var(--faint); }
.stack .head h3 { font-family: var(--font-serif); font-size: 21px; font-weight: 500; }
.stack .row { display: grid; grid-template-columns: 120px 1fr; gap: 22px; padding: 16px 0; border-top: 1px solid var(--line); align-items: start; }
.stack .row:last-child { border-bottom: 1px solid var(--line); }
.stack .term { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--accent-dim); padding-top: 4px; }
.stack .chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ============ 04 工作经历 ============ */
.xp-item { display: grid; grid-template-columns: 200px 1fr; gap: 40px; padding: 46px 0; border-top: 1px solid var(--line); }
.xp-item:first-of-type { border-top: 0; padding-top: 10px; }
.xp-when { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: .1em; padding-top: 6px; }
.xp-body h3 { font-family: var(--font-serif); font-size: 24px; font-weight: 500; }
.xp-body .role { font-family: var(--font-mono); font-size: 11px; color: var(--accent); margin-top: 8px; letter-spacing: .1em; }
.xp-body .desc { margin-top: 14px; font-size: 13px; color: var(--ink-dim); max-width: 560px; }
.xp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 10px; }
.xp-body ul { margin-top: 16px; }
.xp-body li { position: relative; padding-left: 18px; font-size: 12.5px; color: var(--ink-dim); margin-top: 8px; }
.xp-body li::before { content: "—"; position: absolute; left: 0; color: var(--faint); }
.xp-projects { margin-top: 22px; }
.xp-projects .lab { font-family: var(--font-mono); font-size: 9px; letter-spacing: .18em; color: var(--faint); }
.xp-projects .grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.xp-projects a {
  font-size: 12px; color: var(--ink-dim); border: 1px solid var(--line);
  padding: 8px 14px; transition: all .15s;
}
.xp-projects a strong { font-family: var(--font-serif); font-weight: 500; color: var(--ink); margin: 0 2px; }
.xp-projects a .arr { color: var(--accent); margin-left: 4px; }
.xp-projects a:hover { border-color: var(--accent-dim); color: var(--ink); }
.xp-more { display: flex; justify-content: flex-end; margin-top: 26px; }
.xp-more a { font-size: 13px; color: var(--ink); border-bottom: 1px solid var(--line-strong); padding-bottom: 4px; }
.xp-more a .arr { color: var(--accent); margin-left: 6px; }
.xp-more a:hover { color: var(--accent); border-color: var(--accent); }

/* ============ 联系 ============ */
.contact { padding: 110px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact .en { font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em; color: var(--accent-dim); }
.contact h2 { font-family: var(--font-serif); font-size: 52px; font-weight: 500; margin-top: 18px; letter-spacing: .06em; }
.contact .sub { margin-top: 16px; color: var(--muted); font-size: 13px; }
.contact .foot-mark { margin-top: 40px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; color: var(--faint); }
.contact-links { display: flex; flex-direction: column; }
.contact-links a {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 17px; color: var(--ink);
  padding: 24px 4px; border-bottom: 1px solid var(--line);
  transition: all .15s;
}
.contact-links a:first-child { border-top: 1px solid var(--line); }
.contact-links a .arr { color: var(--accent); }
.contact-links a:hover { color: var(--accent); padding-left: 12px; }

/* ============ 页脚 ============ */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); }
.site-footer .bar {
  display: flex; align-items: center; gap: 30px; padding: 30px 0;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; color: var(--muted);
}
.site-footer .slogan { font-family: var(--font-serif); font-size: 14px; color: var(--ink-dim); letter-spacing: .12em; }
.site-footer .right { margin-left: auto; display: flex; gap: 26px; }
.site-footer a:hover { color: var(--accent); }

/* ============ 登录门 ============ */
.gate-body { min-height: 100vh; display: flex; flex-direction: column; }
.gate-main { flex: 1; display: grid; place-items: center; padding: 40px 0; }
.gate-card { width: min(420px, calc(100vw - 48px)); }
.gate-kicker { text-align: center; font-family: var(--font-mono); font-size: 10px; letter-spacing: .3em; color: var(--faint); }
.gate-card h1 {
  font-family: var(--font-serif); text-align: center;
  font-size: 40px; font-weight: 500; letter-spacing: .2em; margin-top: 18px;
}
.gate-card .lead { text-align: center; color: var(--muted); font-size: 13px; margin-top: 14px; }
.gate-tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); margin-top: 34px; }
.gate-tabs button {
  background: none; border: 0; padding: 12px 0; font-size: 12px; letter-spacing: .14em;
  color: var(--muted); transition: all .15s;
}
.gate-tabs button + button { border-left: 1px solid var(--line); }
.gate-tabs button.active { color: var(--accent); background: rgba(240,169,76,.06); }
.gate-note { margin: 22px 0 10px; font-size: 12px; color: var(--faint); text-align: center; }
.gate-form label { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; color: var(--muted); margin-bottom: 10px; }
.gate-form input {
  width: 100%; background: var(--panel); border: 1px solid var(--line-strong);
  color: var(--ink); font-family: var(--font-mono); font-size: 24px; letter-spacing: 1.2em;
  text-align: center; padding: 14px 0 14px 1.2em; outline: none; transition: border-color .15s;
}
.gate-form input:focus { border-color: var(--accent); }
.gate-form .submit {
  width: 100%; margin-top: 18px; background: var(--accent); color: #071110; border: 0;
  font-size: 13px; font-weight: 600; letter-spacing: .1em; padding: 14px 0;
  display: flex; align-items: center; justify-content: center; gap: 8px; transition: background .15s;
}
.gate-form .submit:hover { background: var(--amber); }
.gate-error { min-height: 20px; margin-top: 12px; text-align: center; font-size: 12px; color: #e0745c; }
.gate-card.shake { animation: shake .4s; }
@keyframes shake { 20%,60% { transform: translateX(-7px);} 40%,80% { transform: translateX(7px);} }
.gate-footer {
  border-top: 1px solid var(--line); padding: 22px 0;
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .2em; color: var(--faint);
}

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .hero-grid, .platform-intro, .duo-grid, .how-grid, .contact-grid, .valid-card { grid-template-columns: 1fr; }
  .rd-grid { grid-template-columns: repeat(2, 1fr); }
  .rd-card, .rd-card.big { grid-column: span 1; }
  .studies-grid { grid-template-columns: repeat(2, 1fr); }
  .dl-3, .tri-grid { grid-template-columns: 1fr; }
  .dl-3 .cell + .cell { border-left: 0; border-top: 1px solid var(--line); }
  .xp-item { grid-template-columns: 1fr; gap: 16px; }
  .layer-body { padding-left: 24px; }
  .main-nav { display: none; }
  .layer-btn { grid-template-columns: 90px 1fr auto; }
}

/* ============ 管理员工具条（仅本地） ============ */
.admin-toolbar {
  position: fixed; right: 18px; bottom: 18px; z-index: 9999;
  display: flex; align-items: center; gap: 10px;
  background: #16191d; border: 1px solid var(--line-bright);
  padding: 10px 14px; font-family: var(--font-mono); font-size: 11px;
  box-shadow: 0 8px 28px rgba(0,0,0,.5);
}
.admin-toolbar .badge {
  color: #0b0c0e; background: var(--accent); font-weight: 700;
  padding: 3px 7px; letter-spacing: .12em;
}
.admin-toolbar button {
  background: none; border: 1px solid var(--line); color: var(--ink);
  font-family: inherit; font-size: 11px; padding: 5px 9px; cursor: pointer;
  transition: border-color .15s, color .15s;
}
.admin-toolbar button:hover { border-color: var(--accent); color: var(--accent); }
.admin-toolbar button.on { border-color: var(--accent); color: var(--accent); }
body.admin-editing [contenteditable="true"] {
  outline: 1px dashed rgba(240,169,76,.55); outline-offset: 3px; cursor: text;
}
body.admin-editing [contenteditable="true"]:focus {
  outline: 1px solid var(--accent); background: rgba(240,169,76,.06);
}

/* ============ 页脚备案号 ============ */
.site-footer .beian {
  border-top: 1px solid var(--line);
  padding: 14px 0 18px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em;
}
.site-footer .beian a { color: var(--muted); text-decoration: none; }
.site-footer .beian a:hover { color: var(--accent); }
