/* =========================================================
 * 剪辑师作品集 · 全站样式 v2
 * 风格：暗色电影感（深炭灰 + 环境光晕 + 胶片颗粒），非纯黑
 * 主题色统一在 :root 中修改
 * ========================================================= */

:root {
  /* 底色：带一点蓝紫的深炭灰，避免死黑 */
  --bg: #101117;
  --bg-soft: #15161e;
  --bg-raise: #1b1c26;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .065);
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);

  /* 文字：暖白 */
  --text: #eeeae4;
  --text-2: #b8b4bd;
  --muted: #7f7c89;

  /* 强调色：琥珀（主）/ 玫瑰 / 雾紫 */
  --accent: #f2a65e;
  --accent-2: #9b8cff;
  --accent-3: #5fd4c4;
  --grad: linear-gradient(120deg, #f2a65e 0%, #e9708c 55%, #9b8cff 100%);

  --radius: 20px;
  --radius-sm: 12px;
  --maxw: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
  --header-h: 76px;

  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --font-en: "Inter", "SF Pro Display", "Helvetica Neue", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  animation: pageIn .7s var(--ease-out);
}
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: rgba(242, 166, 94, .35); color: #fff; }

/* ---------- 氛围背景：环境光晕 + 胶片颗粒 ---------- */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60vw 45vw at 88% -8%, rgba(155, 140, 255, .16), transparent 62%),
    radial-gradient(50vw 40vw at -12% 28%, rgba(242, 166, 94, .11), transparent 62%),
    radial-gradient(60vw 45vw at 50% 115%, rgba(95, 212, 196, .07), transparent 62%),
    linear-gradient(180deg, #13141b 0%, #101117 45%, #12131a 100%);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* =========================================================
 * 动效组件：片头 / 光标 / 进度条 / 转场
 * ========================================================= */
.preloader { position: fixed; inset: 0; z-index: 10000; pointer-events: none; }
.pl-bar { position: absolute; left: 0; right: 0; height: 50.5%; background: #0b0c10; transition: transform 1.1s var(--ease-out); }
.pl-bar.top { top: 0; }
.pl-bar.bottom { bottom: 0; }
.pl-center {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  transition: opacity .5s, transform .8s var(--ease-out);
}
.pl-name { font-family: var(--font-en); font-weight: 800; font-size: clamp(28px, 4vw, 52px); letter-spacing: .2em; }
.pl-tc { font-family: var(--font-mono); font-size: 13px; color: var(--muted); letter-spacing: .2em; display: flex; gap: 14px; align-items: center; }
.pl-tc::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff4d5e; animation: blink 1s steps(2) infinite; }
.pl-line { width: min(280px, 60vw); height: 1px; background: var(--line-strong); overflow: hidden; }
.pl-line i { display: block; height: 100%; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.preloader.done .pl-bar.top { transform: translateY(-100%); }
.preloader.done .pl-bar.bottom { transform: translateY(100%); }
.preloader.done .pl-center { opacity: 0; transform: scale(1.06); }
@keyframes blink { 50% { opacity: 0; } }

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none;
  background: var(--grad); transform: scaleX(var(--p, 0)); transform-origin: left;
}

.page-curtain {
  position: fixed; inset: 0; z-index: 9990; pointer-events: none;
  background: var(--bg); opacity: 0; transition: opacity .4s var(--ease);
}
body.leaving .page-curtain { opacity: 1; }

/* 自定义光标（仅鼠标设备） */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; border-radius: 50%; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--accent); }
.cursor-ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid rgba(255, 255, 255, .35);
  display: grid; place-items: center;
  transition: width .4s var(--ease-out), height .4s var(--ease-out), margin .4s var(--ease-out), background .3s, border-color .3s, opacity .3s;
}
.cursor-ring span { font-size: 13px; font-weight: 700; color: #15141a; opacity: 0; transition: opacity .2s; white-space: nowrap; }
body.cursor-hover .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--accent); background: rgba(242, 166, 94, .08); }
body.cursor-label .cursor-ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--text); border-color: transparent; }
body.cursor-label .cursor-ring span { opacity: 1; }
body.cursor-label .cursor-dot, body.cursor-hidden .cursor-dot, body.cursor-hidden .cursor-ring { opacity: 0; }
body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
body.has-cursor video { cursor: auto; }

/* =========================================================
 * 布局与排版
 * ========================================================= */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(100px, 12vw, 170px) 0; position: relative; }
.section-head {
  position: relative; isolation: isolate;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: clamp(40px, 5vw, 72px); flex-wrap: wrap;
}
.bg-word {
  position: absolute; z-index: -1; left: -.04em; top: -.62em;
  font-family: var(--font-en); font-weight: 800; font-size: clamp(90px, 15vw, 240px);
  line-height: 1; letter-spacing: -.03em; white-space: nowrap; pointer-events: none;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .06);
}
.section-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-en); font-size: 12px; font-weight: 600;
  letter-spacing: .32em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px;
}
.section-kicker::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.section-title { font-size: clamp(36px, 5.4vw, 80px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.section-desc { color: var(--text-2); font-size: 17px; max-width: 540px; margin-top: 18px; }
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.link-more {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text-2); font-size: 15px; padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  transition: color .25s, gap .25s, border-color .25s;
}
.link-more:hover { color: var(--text); gap: 14px; border-color: var(--accent); }
.link-more svg { width: 16px; height: 16px; }

/* 逐行遮罩出现 */
.line-mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line-mask > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease-out); }
.in .line-mask > span, .line-mask.in > span { transform: none; }
.in .line-mask:nth-child(2) > span { transition-delay: .12s; }
.in .line-mask:nth-child(3) > span { transition-delay: .24s; }

/* ---------- 按钮 ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease-out), box-shadow .3s, background .3s, border-color .3s, color .3s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--grad); color: #17141a;
  box-shadow: 0 14px 36px -14px rgba(242, 166, 94, .7);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 20px 44px -14px rgba(233, 112, 140, .75); }
.btn-ghost { background: var(--surface); border: 1px solid var(--line-strong); color: var(--text); backdrop-filter: blur(8px); }
.btn-ghost::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--text); transform: translateY(101%); transition: transform .5s var(--ease-out);
}
.btn-ghost:hover { color: #15141a; border-color: var(--text); }
.btn-ghost:hover::before { transform: none; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 18px 34px; font-size: 16px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header-h);
  transition: background .4s, border-color .4s, transform .5s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled, .site-header.open {
  background: rgba(16, 17, 23, .72);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: var(--line);
}
.site-header.hide { transform: translateY(-100%); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: var(--grad); color: #17141a;
  font-family: var(--font-en); font-weight: 800; font-size: 17px;
  transition: transform .6s var(--ease-out);
}
.logo:hover .logo-mark { transform: rotate(-12deg) scale(1.05); }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; font-weight: 700; font-size: 16px; }
.logo-text small { font-size: 12px; font-weight: 400; color: var(--muted); letter-spacing: .05em; }
.nav-links { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.nav-links a { position: relative; padding: 8px 20px; border-radius: 999px; font-size: 15px; color: var(--text-2); transition: color .25s, background .25s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .3s, top .3s; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 24px; }
.site-header.open .nav-toggle span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.site-header.open .nav-toggle span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

/* =========================================================
 * 首页 Hero：取景框
 * ========================================================= */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 40px) 0 64px; overflow: hidden; isolation: isolate; }
.hero > .container { width: 100%; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg video { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(16, 17, 23, .92) 0%, rgba(16, 17, 23, .45) 60%, rgba(16, 17, 23, .75) 100%),
              linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}

/* 取景框四角 + 信息 */
.viewfinder { position: absolute; inset: calc(var(--header-h) + 14px) clamp(14px, 2.4vw, 36px) 22px; pointer-events: none; z-index: 0; }
.vf-corner { position: absolute; width: 30px; height: 30px; border: 0 solid rgba(255, 255, 255, .3); }
.vf-corner.tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.vf-corner.tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.vf-corner.bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.vf-corner.br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.vf-label { position: absolute; font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; color: rgba(255, 255, 255, .5); display: flex; align-items: center; gap: 10px; }
.vf-label.tl { top: 8px; left: 46px; }
.vf-label.tr { top: 8px; right: 46px; }
.vf-label.bl { bottom: 6px; left: 46px; }
.vf-label.br { bottom: 6px; right: 46px; }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff4d5e; box-shadow: 0 0 10px #ff4d5e; animation: blink 1.2s steps(2) infinite; }

.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; width: 100%; position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 14px; border-radius: 999px;
  background: rgba(95, 212, 196, .08); border: 1px solid rgba(95, 212, 196, .25);
  color: #a6ebe1; font-size: 14px; margin-bottom: 34px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-3); position: relative; }
.pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--accent-3); animation: pulse 2s ease-out infinite;
}
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(2); opacity: 0; } }
.hero-title { font-size: clamp(46px, 6.5vw, 108px); font-weight: 800; line-height: 1.04; letter-spacing: -.03em; }
.hero-title.reveal { opacity: 1; transform: none; }
.hero-sub { margin-top: 34px; font-size: clamp(16px, 1.25vw, 19px); color: var(--text-2); max-width: 580px; }
.hero-actions { display: flex; gap: 16px; margin-top: 44px; flex-wrap: wrap; }

.hero-visual { position: relative; height: min(600px, 64vh); perspective: 1400px; }
.hero-visual::before {
  content: ""; position: absolute; inset: 8% 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 166, 94, .26), rgba(155, 140, 255, .14) 45%, transparent 70%);
  filter: blur(40px); animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.12); opacity: .75; } }
.poster-stack {
  position: relative; width: 100%; height: 100%; transform-style: preserve-3d;
  transform: rotateY(calc(var(--px, 0) * 8deg)) rotateX(calc(var(--py, 0) * -8deg)) translate3d(calc(var(--px, 0) * -16px), calc(var(--py, 0) * -12px), 0);
  transition: transform .9s var(--ease-out);
}
.stack-card { position: absolute; top: 50%; left: 50%; width: min(300px, 46%); transition: transform 1s var(--ease-out); }
.stack-card .poster { box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .07); animation: float 7s ease-in-out infinite; }
.stack-card.s0 .poster { animation-delay: -2s; }
.stack-card.s2 .poster { animation-delay: -4.5s; }
@keyframes float { 50% { transform: translateY(-14px); } }
.stack-card.s0 { transform: translate(-128%, -44%) rotate(-10deg) translateZ(-60px); z-index: 1; }
.stack-card.s1 { transform: translate(-50%, -54%) translateZ(40px); z-index: 3; }
.stack-card.s2 { transform: translate(28%, -44%) rotate(10deg) translateZ(-60px); z-index: 2; }
.poster-stack:hover .s0 { transform: translate(-142%, -46%) rotate(-14deg) translateZ(-60px); }
.poster-stack:hover .s2 { transform: translate(42%, -46%) rotate(14deg) translateZ(-60px); }
/* 片头未结束前，海报从下方飞入 */
.hero-visual:not(.in) .stack-card { transform: translate(-50%, 30%) rotate(0) scale(.8); opacity: 0; }
.hero-visual .stack-card { opacity: 1; transition: transform 1.3s var(--ease-out), opacity .8s; }
.hero-visual.in .stack-card.s0 { transition-delay: .15s; }
.hero-visual.in .stack-card.s2 { transition-delay: .3s; }

.hero-bottom {
  position: relative; z-index: 1; width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  margin-top: clamp(28px, 4vh, 56px); padding-top: 22px; border-top: 1px solid var(--line);
}
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 34px; color: var(--text-2); font-size: 14px; }
.hero-meta li { display: flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--accent); }
.scroll-hint { font-family: var(--font-mono); font-size: 12px; letter-spacing: .3em; color: var(--muted); display: flex; align-items: center; gap: 14px; }
.scroll-hint i { width: 22px; height: 34px; border: 1.5px solid var(--line-strong); border-radius: 12px; position: relative; }
.scroll-hint i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--accent); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- 跑马灯 ---------- */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .015);
  overflow: hidden; padding: 26px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; gap: 64px; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 64px; color: var(--muted); font-size: 20px; font-weight: 700; white-space: nowrap; transition: color .3s; }
.marquee-item:hover { color: var(--text); }
.marquee-item::after { content: "✦"; font-size: 12px; color: var(--accent); opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 数据亮点：编辑型大数字 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { position: relative; padding: clamp(36px, 4vw, 60px) clamp(20px, 2.4vw, 40px); }
.stat + .stat { border-left: 1px solid var(--line); }
.stat::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--grad); transition: width 1.4s var(--ease-out) .3s; }
.stat.in::before { width: 46%; }
.stat-num { white-space: nowrap; font-family: var(--font-en); font-size: clamp(48px, 6.4vw, 104px); font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.stat-num small { font-size: .32em; font-weight: 700; margin-left: 6px; font-family: var(--font); letter-spacing: 0; color: var(--accent); vertical-align: top; }
.stat-label { margin-top: 16px; color: var(--text-2); font-size: 15px; }

/* =========================================================
 * 海报（含占位）& 作品卡片
 * ========================================================= */
.poster {
  --c1: #888; --c2: #222;
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius);
  overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, var(--c2), #0d0e13 85%);
  border: 1px solid var(--line);
  transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out);
  transform-style: preserve-3d;
}
.poster.ratio-h { aspect-ratio: 16 / 9; }
.poster { container-type: inline-size; }
.poster-ph { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 22px; }
.poster-ph::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(110% 70% at 85% 0%, var(--c1), transparent 62%);
  opacity: .5;
}
.poster-ph::after {
  content: ""; position: absolute; left: 8px; top: 0; bottom: 0; width: 6px; z-index: -1;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .1) 0 8px, transparent 8px 18px);
}
.ph-en {
  font-family: var(--font-en); font-size: 24px; font-size: 13cqw; font-weight: 800; line-height: .95; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .3); letter-spacing: -.01em;
  padding-left: 10px;
}
.ph-title { font-size: 17px; font-size: clamp(12px, 7cqw, 18px); font-weight: 700; padding-left: 10px; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.ph-hint { display: block; font-size: 11px; font-weight: 400; color: rgba(255, 255, 255, .45); letter-spacing: .1em; margin-top: 4px; }
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform 1.2s var(--ease-out); }
.poster-shade { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, transparent 28%, transparent 60%, rgba(0, 0, 0, .55) 100%); }
/* 鼠标跟随高光 */
.poster-glare {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .18), transparent 45%);
  mix-blend-mode: overlay;
}
[data-tilt]:hover .poster-glare { opacity: 1; }

.badges { position: absolute; top: 14px; left: 14px; right: 14px; z-index: 4; display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(16, 17, 23, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .12);
}
.badge svg { width: 12px; height: 12px; }
.badge-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #5fe3a1; box-shadow: 0 0 8px #5fe3a1; }
.badge-lock { color: #ffd6a8; }

.play-btn {
  position: absolute; left: 50%; top: 50%; z-index: 4;
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .3);
  transform: translate(-50%, -50%) scale(.6); opacity: 0;
  transition: transform .5s var(--ease-out), opacity .3s;
}
.play-btn svg { width: 20px; height: 20px; margin-left: 3px; }
body.has-cursor .work-card .play-btn { display: none; }

.works-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: clamp(36px, 4vw, 60px) clamp(20px, 2.4vw, 36px); }
.work-card { display: block; }
.work-card .poster { will-change: transform; }
.work-card:hover .poster { box-shadow: 0 40px 70px -30px var(--c1), 0 0 0 1px rgba(255, 255, 255, .14); }
.work-card:hover .poster img { transform: scale(1.07); }
.work-card:hover .play-btn { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.work-info { padding: 20px 4px 0; }
.work-info.has-idx { display: grid; grid-template-columns: auto 1fr; gap: 0 16px; }
.work-idx { font-family: var(--font-mono); font-size: 13px; color: var(--muted); padding-top: 4px; grid-row: span 3; }
.work-info h3 { font-size: 19px; font-weight: 700; line-height: 1.4; transition: color .3s; }
.work-card:hover .work-info h3 { color: var(--accent); }
.work-meta { margin-top: 4px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 10px; }
.work-meta span + span::before { content: "·"; margin-right: 10px; opacity: .6; }
.work-summary { margin-top: 8px; font-size: 14px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* =========================================================
 * 首页：横向滚动作品长廊
 * ========================================================= */
.h-scroll { position: relative; }
.h-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: calc(var(--header-h) - 10px); }
.h-sticky > .container { width: 100%; }
.h-head { margin-bottom: clamp(28px, 4vh, 56px); }
.h-tools { display: flex; align-items: center; gap: 28px; }
.h-progress { display: flex; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.h-progress b { color: var(--text); font-weight: 500; }
.h-bar { width: 140px; height: 2px; background: var(--line-strong); overflow: hidden; }
.h-bar i { display: block; height: 100%; background: var(--grad); transform: scaleX(var(--p, 0)); transform-origin: left; }
.h-track { display: flex; gap: clamp(20px, 2.4vw, 40px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.h-track .work-card { width: clamp(240px, min(24vw, calc((100vh - 380px) * .75)), 400px); flex: none; }
.h-track .work-card:nth-child(even) { margin-top: 48px; }
.h-more {
  flex: none; width: clamp(240px, min(24vw, calc((100vh - 380px) * .75)), 400px); aspect-ratio: 3 / 4;
  border-radius: var(--radius); border: 1px dashed var(--line-strong);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  color: var(--text-2); transition: border-color .4s, background .4s, color .4s;
}
.h-more:hover { border-color: var(--accent); background: rgba(242, 166, 94, .05); color: var(--text); }
.h-more .circle { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #15141a; transition: transform .6s var(--ease-out); }
.h-more:hover .circle { transform: rotate(-45deg) scale(1.08); }
.h-more .circle svg { width: 28px; height: 28px; }
.h-more strong { font-size: 22px; }

/* =========================================================
 * 首页：分类大字列表 + 悬停海报预览
 * ========================================================= */
.cat-list { border-top: 1px solid var(--line); }
.cat-row {
  --c1: #888;
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 90px 1fr auto 64px; align-items: center; gap: 24px;
  padding: clamp(24px, 3vw, 40px) 12px; border-bottom: 1px solid var(--line);
}
.cat-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--c1), transparent 75%); opacity: .16;
  transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out);
}
.cat-row:hover::before { transform: scaleX(1); }
.cat-idx { font-family: var(--font-mono); color: var(--muted); font-size: 14px; transition: color .3s; }
.cat-row:hover .cat-idx { color: var(--c1); }
.cat-name { display: flex; align-items: baseline; gap: 22px; flex-wrap: wrap; font-size: clamp(30px, 4.6vw, 68px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; transition: transform .7s var(--ease-out); }
.cat-name small { font-family: var(--font-en); font-size: 13px; letter-spacing: .28em; color: var(--c1); font-weight: 600; }
.cat-row:hover .cat-name { transform: translateX(20px); }
.cat-side { text-align: right; color: var(--text-2); font-size: 14px; }
.cat-side b { display: block; font-family: var(--font-en); font-size: 28px; color: var(--text); line-height: 1.1; }
.cat-arrow {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line-strong);
  transition: background .4s, color .4s, transform .6s var(--ease-out), border-color .4s;
}
.cat-arrow svg { width: 20px; height: 20px; }
.cat-row:hover .cat-arrow { background: var(--c1); color: #121217; border-color: transparent; transform: rotate(-45deg); }
.cat-preview { position: fixed; top: 0; left: 0; z-index: 40; width: 220px; pointer-events: none; will-change: transform; }
.cat-preview-inner { opacity: 0; transform: scale(.6) rotate(-8deg); transition: opacity .35s, transform .6s var(--ease-out); }
.cat-preview.show .cat-preview-inner { opacity: 1; transform: scale(1) rotate(-4deg); }
.cat-preview .poster { box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .9); }

/* =========================================================
 * 首页：理念大字（滚动点亮）
 * ========================================================= */
.manifesto-text { font-size: clamp(28px, 4.1vw, 62px); font-weight: 700; line-height: 1.42; letter-spacing: -.01em; max-width: 1240px; }
.manifesto-text .ch { color: rgba(238, 234, 228, .13); transition: color .4s; }
.manifesto-text .ch.on { color: var(--text); }
.manifesto-text .ch.em.on { color: var(--accent); }
.manifesto-sign { margin-top: 48px; display: flex; align-items: center; gap: 18px; color: var(--text-2); }
.manifesto-sign .logo-mark { width: 48px; height: 48px; }

/* ---------- 关于预览 ---------- */
.about-teaser { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.avatar-frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden;
  background: linear-gradient(160deg, #2a2233, #14151c);
  border: 1px solid var(--line);
}
.avatar-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16, 17, 23, .6), transparent 45%); }
.avatar-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.avatar-initial {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-en); font-size: 160px; font-weight: 800;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .2);
}
.avatar-tag {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  padding: 9px 16px; border-radius: 12px; font-size: 13px;
  background: rgba(16, 17, 23, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
}
.lead { font-size: clamp(17px, 1.3vw, 20px); color: var(--text-2); margin: 26px 0 34px; }
.tool-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.tool-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); font-size: 14px; color: var(--text-2);
  transition: border-color .3s, transform .4s var(--ease-out), color .3s;
}
.tool-chip:hover { border-color: var(--line-strong); transform: translateY(-3px); color: var(--text); }
.tool-icon {
  min-width: 30px; height: 30px; padding: 0 6px; border-radius: 8px;
  display: grid; place-items: center;
  font-family: var(--font-en); font-weight: 800; font-size: 12px;
  background: #1c1d29; color: var(--tc, #fff); border: 1px solid rgba(255, 255, 255, .12);
}

/* ---------- 联系 ---------- */
.big-marquee { overflow: hidden; padding: 10px 0 clamp(40px, 5vw, 70px); }
.big-marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.big-marquee span {
  font-family: var(--font-en); font-weight: 800; font-size: clamp(64px, 11vw, 180px); line-height: 1; letter-spacing: -.03em;
  white-space: nowrap; padding-right: .4em;
}
.big-marquee span:nth-child(odd) { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .22); }
.big-marquee span:nth-child(even) { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.contact-card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(36px, 6vw, 84px); border-radius: 32px;
  background: linear-gradient(140deg, rgba(242, 166, 94, .1), rgba(155, 140, 255, .08) 60%, rgba(255, 255, 255, .02));
  border: 1px solid var(--line-strong);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center;
}
.contact-card::before {
  content: ""; position: absolute; z-index: -1; width: 620px; aspect-ratio: 1; border-radius: 50%;
  right: -180px; top: -260px; background: radial-gradient(circle, rgba(233, 112, 140, .24), transparent 65%);
  animation: breathe 8s ease-in-out infinite;
}
.contact-title { font-size: clamp(36px, 5vw, 72px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.contact-list { display: grid; gap: 12px; margin-top: 36px; }
.contact-item {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 16px;
  background: rgba(16, 17, 23, .4); border: 1px solid var(--line); transition: border-color .3s, background .3s, transform .5s var(--ease-out);
}
.contact-item:hover { border-color: var(--line-strong); background: rgba(16, 17, 23, .6); transform: translateX(6px); }
.contact-item .ci-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--accent); flex: none; }
.contact-item .ci-icon svg { width: 18px; height: 18px; }
.ci-label { font-size: 12px; color: var(--muted); }
.ci-value { font-size: 16px; font-weight: 600; word-break: break-all; }
.contact-item .copy-btn { margin-left: auto; }
.qr-box { text-align: center; }
.qr-frame {
  width: min(260px, 100%); aspect-ratio: 1; margin: 0 auto; border-radius: 22px; padding: 14px;
  background: #f3f0ea; position: relative; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
  transform: rotate(-3deg); transition: transform .6s var(--ease-out);
}
.qr-frame:hover { transform: rotate(0) scale(1.03); }
.qr-frame img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; position: relative; z-index: 1; }
.qr-ph { position: absolute; inset: 14px; display: grid; place-items: center; color: #8a857c; font-size: 14px; border: 1.5px dashed #c9c3b8; border-radius: 10px; }
.qr-caption { margin-top: 20px; color: var(--text-2); font-size: 14px; }

.copy-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 8px; font-size: 13px; color: var(--text-2);
  background: var(--surface-2); border: 1px solid var(--line); transition: color .2s, border-color .2s;
}
.copy-btn:hover { color: var(--text); border-color: var(--line-strong); }
.copy-btn svg { width: 14px; height: 14px; }
.copy-btn.copied { color: #5fe3a1; border-color: rgba(95, 227, 161, .4); }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0; margin-top: 40px; background: rgba(0, 0, 0, .14); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-copy { color: var(--muted); font-size: 13px; margin-top: 12px; }
.footer-links { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-links a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: var(--text-2); transition: color .2s, border-color .2s; }
.footer-links a:hover { color: var(--text); border-color: var(--line-strong); }

/* =========================================================
 * 内页
 * ========================================================= */
.page-hero { position: relative; isolation: isolate; padding: calc(var(--header-h) + clamp(70px, 9vw, 130px)) 0 clamp(40px, 5vw, 70px); }
.page-hero .bg-word { top: auto; bottom: -.08em; left: auto; right: var(--gutter); font-size: clamp(110px, 20vw, 320px); }
.page-title { font-size: clamp(50px, 7.6vw, 124px); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; }
.page-desc { color: var(--text-2); font-size: clamp(16px, 1.25vw, 19px); margin-top: 26px; max-width: 640px; }

/* ---------- 作品页筛选 ---------- */
.filter-bar {
  position: sticky; top: var(--header-h); z-index: 20;
  padding: 18px 0; margin-bottom: 48px;
  background: linear-gradient(180deg, rgba(16, 17, 23, .94) 70%, rgba(16, 17, 23, 0));
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.filter-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-total { font-family: var(--font-mono); font-size: 13px; color: var(--muted); white-space: nowrap; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px; font-size: 15px; color: var(--text-2);
  background: var(--surface); border: 1px solid var(--line); transition: all .3s;
}
.chip:hover { color: var(--text); border-color: var(--line-strong); }
.chip.active { background: var(--text); color: #131318; border-color: var(--text); font-weight: 600; }
.chip-count { font-family: var(--font-en); font-size: 12px; opacity: .6; }
.chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c1, #888); }
.empty {
  grid-column: 1 / -1; text-align: center; padding: 100px 20px; color: var(--muted);
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
}

/* ---------- 作品详情 ---------- */
.detail-hero { position: relative; padding: calc(var(--header-h) + 50px) 0 100px; overflow: hidden; isolation: isolate; }
.detail-backdrop {
  position: absolute; inset: -80px; z-index: -1;
  background-size: cover; background-position: center;
  filter: blur(80px) saturate(1.3); opacity: .4;
}
.detail-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 17, 23, .25), var(--bg) 80%); }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 14px; transition: color .2s, gap .3s; }
.back-link:hover { color: var(--text); gap: 14px; }
.back-link svg { width: 16px; height: 16px; transform: rotate(180deg); }
.detail-head { margin: 40px 0 clamp(40px, 5vw, 72px); }
.detail-head .info-cat { margin-bottom: 18px; }
.detail-title { font-size: clamp(44px, 7vw, 112px); font-weight: 800; line-height: 1.04; letter-spacing: -.03em; }
.detail-summary { margin-top: 22px; font-size: clamp(16px, 1.3vw, 20px); color: var(--text-2); max-width: 720px; }
.detail-head .badges { position: static; margin-top: 24px; }

.detail-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 64px 56px; align-items: start;
  grid-template-areas: "player aside" "content aside";
}
.d-player { grid-area: player; }
.d-content { grid-area: content; min-width: 0; }
.detail-grid > .info-panel { grid-area: aside; }

.player {
  position: relative; border-radius: var(--radius); overflow: hidden; background: #07080b;
  border: 1px solid var(--line-strong); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .95);
  margin: 0 auto;
}
.player.is-v { aspect-ratio: 9 / 16; max-width: 460px; max-height: 84vh; }
.player.is-h { aspect-ratio: 16 / 9; width: 100%; }
.player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.player .poster { position: absolute; inset: 0; aspect-ratio: auto; border: 0; border-radius: 0; }
.player-tip {
  position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: rgba(10, 10, 14, .45); color: var(--text-2); font-size: 14px; text-align: center; padding: 20px;
}
.player-tip .play-btn { position: relative; left: auto; top: auto; opacity: 1; transform: none; width: 76px; height: 76px; }
.player-tip .play-btn::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); animation: pulse 2.4s ease-out infinite; }
.watermark {
  position: absolute; top: 16px; right: 18px; z-index: 5; pointer-events: none;
  font-size: 12px; letter-spacing: .12em; color: rgba(255, 255, 255, .42);
  text-shadow: 0 1px 4px rgba(0, 0, 0, .6);
}
.player-frame { position: relative; }
.player-frame .vf-corner { border-color: rgba(255, 255, 255, .35); width: 22px; height: 22px; }
.player-frame .vf-corner.tl { top: -14px; left: -14px; }
.player-frame .vf-corner.tr { top: -14px; right: -14px; }
.player-frame .vf-corner.bl { bottom: -14px; left: -14px; }
.player-frame .vf-corner.br { bottom: -14px; right: -14px; }
.player-frame.is-v { max-width: 460px; margin: 0 auto; }

.info-panel {
  position: sticky; top: calc(var(--header-h) + 24px);
  padding: 32px; border-radius: var(--radius);
  background: rgba(22, 23, 31, .72); border: 1px solid var(--line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.info-cat { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-en); font-size: 12px; letter-spacing: .28em; color: var(--c1); font-weight: 600; }
.info-cat::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.panel-title { font-size: 13px; color: var(--muted); letter-spacing: .2em; font-family: var(--font-en); }
.meta-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 16px 0 26px; border-radius: 14px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.meta-list div { padding: 15px 16px; background: #181922; }
.meta-list div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.meta-list dt { font-size: 12px; color: var(--muted); }
.meta-list dd { font-size: 15px; font-weight: 600; margin-top: 2px; }
.info-block + .info-block { margin-top: 22px; }
.info-label { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 6px 13px; border-radius: 8px; font-size: 13px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); }
.tag.accent { background: rgba(242, 166, 94, .1); border-color: rgba(242, 166, 94, .3); color: #ffd2a6; }
.netdisk {
  margin-top: 26px; padding: 18px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(242, 166, 94, .1), rgba(155, 140, 255, .08)); border: 1px solid var(--line-strong);
}
.netdisk-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 14px; color: var(--text-2); }
.netdisk-row b { font-family: var(--font-en); color: var(--text); letter-spacing: .1em; }
.netdisk .btn { width: 100%; }

.content-block { padding: 44px 0; border-top: 1px solid var(--line); }
.content-block:first-child { border-top: 0; padding-top: 0; }
.content-block h2 { font-size: clamp(22px, 2vw, 30px); font-weight: 800; margin-bottom: 20px; display: flex; align-items: center; gap: 14px; }
.content-block h2 em { font-style: normal; font-family: var(--font-mono); font-size: 13px; color: var(--accent); font-weight: 500; }
.content-block p { color: var(--text-2); font-size: 16px; }
.content-block p + p { margin-top: 14px; }
.highlight-list { display: grid; gap: 12px; counter-reset: hl; }
.highlight-list li {
  counter-increment: hl; display: flex; gap: 18px; align-items: flex-start;
  padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2);
  transition: border-color .3s, transform .5s var(--ease-out);
}
.highlight-list li:hover { border-color: var(--line-strong); transform: translateX(6px); }
.highlight-list li::before { content: counter(hl, decimal-leading-zero); font-family: var(--font-en); font-weight: 800; color: var(--accent); font-size: 15px; padding-top: 1px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gallery figure { border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1s var(--ease-out); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { padding: 10px 14px; font-size: 13px; color: var(--text-2); }
.gallery-empty { padding: 48px; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: 14px; font-size: 14px; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.pager a {
  display: flex; align-items: center; gap: 18px; padding: 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, background .3s, transform .5s var(--ease-out);
}
.pager a:hover { border-color: var(--line-strong); background: var(--surface-2); transform: translateY(-4px); }
.pager a.next { flex-direction: row-reverse; text-align: right; }
.pager .poster { width: 68px; flex: none; border-radius: 10px; }
.pager .poster .poster-ph { padding: 6px; }
.pager .poster .ph-en, .pager .poster .ph-title { display: none; }
.pager small { font-size: 12px; color: var(--muted); font-family: var(--font-en); letter-spacing: .2em; }
.pager strong { display: block; font-size: 17px; margin-top: 2px; }

.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-top: var(--header-h); }
.not-found h1 { font-size: 120px; font-family: var(--font-en); font-weight: 800; line-height: 1; }
.not-found p { color: var(--text-2); margin: 16px 0 32px; }

/* ---------- 关于页 ---------- */
.about-intro { display: grid; grid-template-columns: 420px 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.fact { padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.fact dt { font-size: 12px; color: var(--muted); }
.fact dd { font-size: 15px; font-weight: 600; margin-top: 2px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 120px); }
.two-col .section-title { font-size: clamp(32px, 3.6vw, 52px); }
.two-col .bg-word { font-size: clamp(70px, 8.4vw, 140px); }
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--accent), var(--accent-2), transparent); }
.tl-item { position: relative; padding-bottom: 40px; }
.tl-item::before {
  content: ""; position: absolute; left: -34px; top: 6px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent); box-shadow: 0 0 0 5px rgba(242, 166, 94, .12);
}
.tl-time { font-family: var(--font-mono); font-size: 13px; color: var(--accent); letter-spacing: .05em; }
.tl-role { font-size: 22px; font-weight: 800; margin-top: 6px; }
.tl-company { color: var(--text-2); font-size: 14px; }
.tl-desc { color: var(--text-2); font-size: 15px; margin-top: 12px; }

.skill { margin-bottom: 26px; }
.skill-head { display: flex; justify-content: space-between; font-size: 16px; margin-bottom: 12px; }
.skill-head span:last-child { font-family: var(--font-mono); color: var(--muted); font-size: 13px; }
.bar { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); transition: width 1.6s var(--ease-out) .2s; }
.reveal.in .bar i { width: var(--v); }

.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.tools-grid .tool-chip { padding: 14px 18px 14px 14px; border-radius: 16px; font-size: 15px; color: var(--text); }
.tools-grid .tool-icon { min-width: 44px; height: 44px; font-size: 14px; border-radius: 12px; }

.workflow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: wf; }
.wf-step {
  counter-increment: wf; position: relative; padding: 28px 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .5s var(--ease-out), background .3s;
}
.wf-step:hover { border-color: var(--line-strong); transform: translateY(-6px); background: var(--surface-2); }
.wf-step::before {
  content: counter(wf, decimal-leading-zero);
  display: block; font-family: var(--font-en); font-size: 40px; font-weight: 800; line-height: 1; margin-bottom: 22px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wf-step h3 { font-size: 18px; }
.wf-step p { font-size: 13px; color: var(--text-2); margin-top: 6px; }

/* ---------- 滚动渐显 ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-clip { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-out); }
.reveal-clip.in { clip-path: inset(0 0 0 0); }

/* =========================================================
 * 响应式
 * ========================================================= */
@media (max-width: 1180px) {
  .workflow { grid-template-columns: repeat(3, 1fr); }
  .detail-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px 36px; }
}
@media (max-width: 960px) {
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 10px; }
  .hero-visual { height: 460px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about-teaser, .about-intro, .two-col { grid-template-columns: 1fr; gap: 48px; }
  .about-teaser .avatar-frame, .about-intro .avatar-frame { max-width: 380px; }
  .contact-card { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; grid-template-areas: "player" "aside" "content"; gap: 40px; }
  .info-panel { position: static; }
  .cat-row { grid-template-columns: 50px 1fr 52px; }
  .cat-side { display: none; }
  .cat-arrow { width: 46px; height: 46px; }
  .cat-preview { display: none; }

  /* 长廊在平板 / 手机改为原生横滑 */
  .h-scroll { height: auto !important; }
  .h-sticky { position: static; height: auto; padding: clamp(100px, 12vw, 170px) 0 0; }
  .h-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; padding-bottom: 20px; scrollbar-width: none; }
  .h-track::-webkit-scrollbar { display: none; }
  .h-track .work-card, .h-more { width: 62vw; max-width: 340px; scroll-snap-align: start; }
  .h-track .work-card:nth-child(even) { margin-top: 0; }
  .h-progress { display: none; }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .nav-links {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 10px 20px 20px; border-radius: 0;
    background: rgba(16, 17, 23, .97); border: 0; border-bottom: 1px solid var(--line);
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .3s, transform .3s;
  }
  .site-header.open .nav-links { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a { padding: 16px 6px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-links a.active { background: none; color: var(--accent); }
  .nav-toggle { display: block; }
  .nav-right .btn { display: none; }
  .viewfinder { display: none; }
  .hero { padding-bottom: 60px; }
  .hero-visual { height: 360px; }
  .stack-card { width: 44%; }
  .hero-bottom .scroll-hint { display: none; }
  .works-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 14px; }
  .work-info, .work-info.has-idx { display: block; padding-top: 14px; }
  .work-idx { display: none; }
  .work-info h3 { font-size: 15px; }
  .work-summary { display: none; }
  .filter-inner { display: block; }
  .filter-total { display: none; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; padding: 8px 15px; font-size: 14px; }
  .cat-row { grid-template-columns: 36px 1fr 40px; gap: 12px; padding: 22px 4px; }
  .cat-name { gap: 4px 12px; }
  .cat-name small { font-size: 11px; }
  .cat-arrow { width: 40px; height: 40px; }
  .workflow { grid-template-columns: repeat(2, 1fr); }
  .about-facts { grid-template-columns: 1fr 1fr; }
  .pager { grid-template-columns: 1fr; }
  .stat { padding: 28px 16px; }
  .stat-num { font-size: 40px; }
  .player-frame .vf-corner { display: none; }
  .bg-word { display: none; }
  .contact-item { padding: 12px 14px; }
  .contact-item .copy-btn { font-size: 0; padding: 8px; gap: 0; }
  .ci-value { font-size: 14px; }
  .stack-card .badges, .stack-card .ph-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .reveal-clip { clip-path: none; }
  .line-mask > span { transform: none; }
  .bar i { width: var(--v); }
  .preloader { display: none; }
}
