/* ============================================================
   视频作品集 — 样式表
   深色电影感 / 大字排版 / 强交互
   ============================================================ */

/* ---------- 变量 ---------- */
:root {
  --bg: #08080a;
  --bg-soft: #0c0c0f;
  --surface: #131318;
  --surface-2: #1a1a21;
  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.16);

  --ink: #f3f0ea;
  --ink-dim: #c9c5be;
  --muted: #8b8780;
  --muted-2: #5f5c57;

  --accent: #ff5a1f;
  --accent-ink: #0a0a0a;
  --accent-soft: rgba(255, 90, 31, 0.14);

  --font-display: "Bahnschrift", "DIN Alternate", "Helvetica Neue", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", "SFMono-Regular", Consolas, ui-monospace, monospace;
  /* 首页大名的中文字体：用宋体，笔锋能让「甫」那一横清清楚楚，不会看成「甬」 */
  --font-hero-cjk: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", "STSong", "宋体", serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --pad: clamp(20px, 5vw, 72px);
  --maxw: 1560px;

  --radius: 16px;
}

/* ---------- 基础 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, video { display: block; max-width: 100%; }
code { font-family: var(--font-mono); font-size: 0.9em; background: var(--surface-2); padding: 1px 6px; border-radius: 5px; }

/* 关键：.lightbox / img 等元素自带 display 规则，会盖掉 [hidden] 的默认隐藏，
   所以这里强制一下，否则播放弹窗会在页面加载时就铺满整屏 */
[hidden] { display: none !important; }

::selection { background: var(--accent); color: #fff; }

.mono-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #24242c; border-radius: 20px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #35353f; }

/* ---------- 颗粒质感 ---------- */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.042;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 0.9s steps(3) infinite;
  will-change: transform;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-2%, 1.5%); }
  66% { transform: translate(1.5%, -1%); }
  100% { transform: translate(0, 0); }
}

/* ---------- 自定义光标 ---------- */
.cursor { display: none; }

html.has-cursor .cursor {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  pointer-events: none;
  mix-blend-mode: difference;
}
html.has-cursor,
html.has-cursor * { cursor: none !important; }

.cursor__dot,
.cursor__ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  transform: translate3d(-50%, -50%, 0);
  will-change: transform;
}
.cursor__dot {
  width: 6px;
  height: 6px;
  background: #fff;
  z-index: 2;
}
.cursor__ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), border-color 0.35s, background-color 0.35s;
}
.cursor__label {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate3d(-50%, -50%, 0);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s;
  white-space: nowrap;
}
html.cursor-hover .cursor__ring {
  width: 64px;
  height: 64px;
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
}
html.cursor-hover .cursor__dot { opacity: 0; }
html.cursor-play .cursor__ring {
  width: 74px;
  height: 74px;
  border-color: var(--accent);
  background: var(--accent-soft);
}
html.cursor-play .cursor__dot { opacity: 0; }
html.cursor-play .cursor__label { opacity: 1; }
html.cursor-down .cursor__ring { width: 26px; height: 26px; }

/* ---------- 载入动画 ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: var(--bg);
  display: flex;
  align-items: flex-end;
  padding: var(--pad);
  transition: transform 0.95s var(--ease), opacity 0.6s ease;
}
.loader.is-done {
  transform: translateY(-101%);
  pointer-events: none;
}
.loader__inner { width: 100%; max-width: var(--maxw); margin: 0 auto; }
.loader__top {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.loader__count {
  font-family: var(--font-display);
  font-size: clamp(64px, 15vw, 190px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.loader__count i {
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.4vw, 20px);
  font-style: normal;
  color: var(--accent);
  margin-top: 0.9em;
  letter-spacing: 0;
}
.loader__bar {
  margin-top: 28px;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}
.loader__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 0.3s linear;
}

/* ---------- 顶部滚动进度 ---------- */
.scrollbar-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 8000;
  background: transparent;
}
.scrollbar-top span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 7000;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 22px var(--pad);
  transition: padding 0.5s var(--ease), background-color 0.5s, backdrop-filter 0.5s, border-color 0.5s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  padding: 13px var(--pad);
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav__mark {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--accent);
  position: relative;
  flex: none;
  overflow: hidden;
}
.nav__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #08080a;
  clip-path: polygon(36% 27%, 36% 73%, 76% 50%);
}
.nav__links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  font-size: 13.5px;
  color: var(--ink-dim);
}
.nav__links a {
  position: relative;
  padding: 7px 14px;
  border-radius: 999px;
  transition: color 0.3s, background-color 0.3s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.35s var(--ease), left 0.35s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 18px; left: calc(50% - 9px); }

.nav__status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.nav__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(61, 220, 132, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); }
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--pad) + 40px) var(--pad) calc(var(--pad) * 0.75);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: -8% 0 -8%;
  z-index: -3;
  overflow: hidden;
}
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 1.6s ease, transform 12s ease-out;
  filter: saturate(0.9) contrast(1.05);
}
.hero__media video.is-ready { opacity: 0.42; }
.hero.is-live .hero__media video { transform: scale(1); }

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 80% at 15% 100%, rgba(255, 90, 31, 0.16), transparent 58%),
    linear-gradient(to top, var(--bg) 4%, rgba(8, 8, 10, 0.82) 34%, rgba(8, 8, 10, 0.45) 62%, rgba(8, 8, 10, 0.72) 100%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
}
.hero__grid span {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.07) 30%, rgba(255, 255, 255, 0.07) 70%, transparent);
}
.hero__grid span:nth-child(1) { left: 33.33%; }
.hero__grid span:nth-child(2) { left: 66.66%; }
.hero__grid span:nth-child(3) { left: var(--pad); width: auto; right: var(--pad); top: auto; bottom: 34%; height: 1px; background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.07), transparent); }

.hero__content { position: relative; max-width: var(--maxw); width: 100%; margin: 0 auto; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 15px;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.025);
  margin-bottom: clamp(18px, 3vw, 32px);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s ease 0.15s, transform 0.8s var(--ease) 0.15s;
}
.hero.is-in .hero__eyebrow { opacity: 1; transform: none; }
.hero__eyebrow .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.hero__sep { color: var(--muted-2); }

.hero__title {
  font-size: clamp(3.1rem, 12.2vw, 11rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: clamp(14px, 2vw, 26px);
}
.hero__title .ch {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.hero__title .ch > span {
  display: inline-block;
  font-family: var(--font-hero-cjk);
  font-weight: 700;
  transform: translateY(115%) rotate(4deg);
  transition: transform 1.15s var(--ease);
  transition-delay: calc(var(--i) * 42ms);
}
.hero.is-in .hero__title .ch > span { transform: translateY(0) rotate(0); }
.hero__title .ch--space { width: 0.3em; }

/* 英文名：描边空心字，垫在中文名下面一行 */
.hero__title-en {
  flex-basis: 100%;
  display: block;
  margin-top: 0.14em;
  font-size: clamp(1.5rem, 4.8vw, 4rem);
  line-height: 1;
  letter-spacing: 0.2em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.36);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease 0.5s, transform 1s var(--ease) 0.5s;
}
.hero.is-in .hero__title-en { opacity: 1; transform: none; }
@supports not (-webkit-text-stroke: 1px red) {
  .hero__title-en { color: var(--muted-2); }
}

.hero__sub {
  max-width: 46ch;
  font-size: clamp(14px, 1.15vw, 17px);
  color: var(--ink-dim);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s ease 0.55s, transform 0.9s var(--ease) 0.55s;
}
.hero.is-in .hero__sub { opacity: 1; transform: none; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 3.4vw, 40px);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s ease 0.72s, transform 0.9s var(--ease) 0.72s;
}
.hero.is-in .hero__actions { opacity: 1; transform: none; }

/* 两个入口：影像 / 手绘 */
.hero__entries {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
  margin-top: clamp(26px, 3.6vw, 44px);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s ease 0.72s, transform 0.9s var(--ease) 0.72s;
}
.hero.is-in .hero__entries { opacity: 1; transform: none; }

.entry {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.35s, background-color 0.35s, transform 0.4s var(--ease), box-shadow 0.45s;
  will-change: transform;
}
.entry:hover {
  border-color: rgba(255, 90, 31, 0.55);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-3px);
  box-shadow: 0 18px 44px -24px rgba(255, 90, 31, 0.55);
}
.entry__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
  flex: none;
}
.entry__main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.entry__title {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
}
.entry__sub {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.entry__go {
  margin-left: auto;
  font-size: 20px;
  line-height: 1;
  color: var(--muted);
  flex: none;
  transition: transform 0.4s var(--ease), color 0.35s;
}
.entry:hover .entry__go { transform: translate(2px, -2px); color: var(--accent); }

.hero__foot {
  display: flex;
  align-items: flex-end;
  gap: clamp(28px, 6vw, 80px);
  max-width: var(--maxw);
  width: 100%;
  margin: clamp(38px, 6vw, 72px) auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  opacity: 0;
  transition: opacity 1s ease 0.9s;
}
.hero.is-in .hero__foot { opacity: 1; }
.hero__foot-item { display: flex; flex-direction: column; gap: 4px; }
.hero__foot-item b {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero__scroll {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--muted-2);
}
.hero__scroll i {
  display: block;
  width: 46px;
  height: 1px;
  background: linear-gradient(to right, var(--muted-2), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  animation: scrollLine 2.2s var(--ease-io) infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease), background-color 0.35s, color 0.35s, border-color 0.35s, box-shadow 0.45s;
  will-change: transform;
}
.btn svg { transition: transform 0.45s var(--ease); }
.btn--solid {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 30px -12px rgba(255, 90, 31, 0.9);
}
.btn--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px -12px rgba(255, 90, 31, 0.85);
}
.btn--solid:hover svg { transform: translateX(4px); }
.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: var(--ink-dim);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}

/* ---------- 滚动字幕 ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  background: var(--bg-soft);
  position: relative;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 12vw;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(to right, var(--bg-soft), transparent); }
.marquee::after { right: 0; background: linear-gradient(to left, var(--bg-soft), transparent); }
.marquee__track {
  display: flex;
  gap: 34px;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.marquee__item {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 34px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--ink-dim);
}
.marquee__item--outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
}
.marquee__item::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* ---------- 通用区块头 ---------- */
.section-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 54px);
  letter-spacing: -0.035em;
  line-height: 1;
}
.section-title__idx {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--accent);
  transform: translateY(-0.55em);
}

/* ---------- 作品区 ---------- */
.work {
  padding: clamp(64px, 9vw, 130px) var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
}
.work__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  padding-bottom: clamp(24px, 3vw, 44px);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: color 0.3s, border-color 0.3s, background-color 0.3s, transform 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.filter:hover { color: var(--ink); border-color: var(--line-strong); }
.filter.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.filter__n {
  opacity: 0.55;
  margin-left: 6px;
  font-size: 9.5px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(14px, 1.5vw, 26px);
}

/* ---------- 作品卡片 ---------- */
.card {
  grid-column: span 6;
  position: relative;
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--d, 0) * 70ms);
}
.card.is-in { opacity: 1; transform: none; }
.card.is-hidden { display: none; }

.card__hit {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0;
}
.card__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #16161c, #0d0d11);
  aspect-ratio: var(--ar, 16 / 9);
  border: 1px solid var(--line);
  transition: border-color 0.5s, box-shadow 0.6s var(--ease);
  isolation: isolate;
}
.card:hover .card__media {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.card__media img,
.card__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card__media img.card__poster {
  transform: scale(1.015);
  transition: transform 1.1s var(--ease), filter 0.7s ease, opacity 0.5s ease;
  filter: saturate(0.92) brightness(0.92);
}
.card:hover .card__media img.card__poster { transform: scale(1.07); filter: saturate(1.02) brightness(1); }
.card__media video.card__preview {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.5s ease, transform 1.1s var(--ease);
  pointer-events: none;
}
.card.is-previewing .card__media video.card__preview { opacity: 1; }
.card.is-previewing .card__media img.card__poster { opacity: 0; }
.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 6, 8, 0.72) 0%, rgba(6, 6, 8, 0.12) 34%, transparent 62%);
  opacity: 0.55;
  transition: opacity 0.5s;
  pointer-events: none;
}
.card:hover .card__media::after { opacity: 0.85; }

.card__badges {
  position: absolute;
  inset: auto auto 0 0;
  right: 0;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 2;
  pointer-events: none;
}
.card__idx {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.65);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
.card__dur {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(8, 8, 10, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.9);
}
.card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 90, 31, 0.95);
  color: #fff;
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.35s;
  box-shadow: 0 12px 32px -10px rgba(255, 90, 31, 0.9);
}
.card:hover .card__play { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.card__play svg { transform: translateX(1px); }

.card__line {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
  z-index: 3;
}
.card:hover .card__line { transform: scaleX(1); }

.card__body {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 2px 0;
}
.card__title {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.35vw, 19px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.35s;
  position: relative;
}
.card:hover .card__title { color: var(--accent); }
.card__meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
  transition: color 0.35s;
}
.card:hover .card__meta { color: var(--muted); }

.empty {
  text-align: center;
  color: var(--muted);
  padding: 80px 0;
  font-size: 14px;
}

/* ---------- 关于 ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(60px, 9vw, 130px) var(--pad);
  border-top: 1px solid var(--line);
}
.about__media { position: relative; }
.about__media img,
.about__ph {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(150deg, #1b1b22, #0c0c10 60%);
  border: 1px solid var(--line);
  object-fit: cover;
  display: grid;
  place-items: center;
}
.about__ph span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--muted-2);
}
.about__frame {
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.55;
}
.about__body { max-width: 62ch; }
.about__lead {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-top: clamp(22px, 3vw, 36px);
  color: var(--ink);
}
.about__text {
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
  white-space: pre-line;
}
.about__facts {
  list-style: none;
  margin: 38px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.about__facts li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.about__facts li span:first-child {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding-top: 3px;
}
.about__facts li span:last-child { color: var(--ink-dim); text-align: right; }

/* ---------- 联系 ---------- */
.contact {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(70px, 11vw, 150px) var(--pad) clamp(50px, 7vw, 100px);
  border-top: 1px solid var(--line);
}
.contact__eyebrow { display: block; margin-bottom: 26px; }
.contact__mail {
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
  font-family: var(--font-display);
  font-size: clamp(26px, 6.4vw, 82px);
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--ink);
  transition: color 0.4s;
  position: relative;
  padding-bottom: 8px;
  word-break: break-word;
}
.contact__mail-text {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size 0.6s var(--ease), color 0.4s;
}
.contact__mail:hover { color: var(--accent); }
.contact__mail:hover .contact__mail-text { background-size: 100% 1px; }
.contact__mail svg {
  flex: none;
  transition: transform 0.5s var(--ease);
  margin-top: 0.08em;
}
.contact__mail:hover svg { transform: translate(6px, -6px); }

.contact__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(34px, 4vw, 56px);
}
.social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  transition: border-color 0.35s, color 0.35s, background-color 0.35s, transform 0.4s var(--ease);
}
.social:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}
.social i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}

/* ---------- 页脚 ---------- */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px var(--pad);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  max-width: var(--maxw);
  margin: 0 auto;
}
.footer a:hover { color: var(--accent); }
.footer__mid { letter-spacing: 0.3em; }

/* ============================================================
   播放弹窗
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9600;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 42px);
}
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 6, 0.78);
  backdrop-filter: blur(22px) saturate(1.1);
  -webkit-backdrop-filter: blur(22px) saturate(1.1);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.lightbox.is-open .lightbox__backdrop { opacity: 1; }

.lightbox__stage {
  position: relative;
  width: min(96vw, 1500px, calc(82vh * 16 / 9));
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 1), 0 0 0 1px rgba(255, 255, 255, 0.09);
  transform-origin: center center;
  will-change: transform;
  opacity: 0;
}
.lb-media {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #000;
}
.lb-media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.lb-spinner {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-top-color: var(--accent);
  animation: spin 0.85s linear infinite;
  opacity: 0;
  transition: opacity 0.3s;
}
.lb-media.is-loading .lb-spinner { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

.lb-bigplay {
  position: absolute;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 90, 31, 0.94);
  color: #fff;
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  transition: opacity 0.35s, transform 0.45s var(--ease), background-color 0.3s;
  box-shadow: 0 16px 50px -12px rgba(255, 90, 31, 0.9);
}
.lb-media.is-paused .lb-bigplay { opacity: 1; transform: scale(1); pointer-events: auto; }
.lb-bigplay:hover { background: #ff6f3d; }
.lb-bigplay svg { transform: translateX(3px); }

/* 弹窗 UI */
.lb-ui {
  position: absolute;
  inset: 0;
  padding: clamp(16px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease 0.15s;
}
.lightbox.is-open .lb-ui { opacity: 1; }
.lightbox.is-idle .lb-ui { opacity: 0; transition-delay: 0s; }
.lightbox.is-idle .lb-ui * { pointer-events: none; }

.lb-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  pointer-events: auto;
}
.lb-titlewrap { display: flex; gap: 14px; align-items: flex-start; max-width: 70%; }
.lb-idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  padding-top: 6px;
}
.lb-title {
  font-size: clamp(17px, 1.9vw, 27px);
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}
.lb-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 6px;
}

.lb-nav { display: flex; gap: 8px; flex: none; }
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(10px);
  transition: background-color 0.3s, color 0.3s, transform 0.35s var(--ease), border-color 0.3s;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.16); color: #fff; transform: scale(1.07); }
.icon-btn:disabled { opacity: 0.3; pointer-events: none; }
.icon-btn--close:hover { background: rgba(255, 90, 31, 0.9); border-color: transparent; }
.icon-btn--text {
  width: auto;
  min-width: 46px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 0 12px;
}

.lb-desc {
  position: absolute;
  left: clamp(16px, 3vw, 36px);
  bottom: clamp(84px, 9vw, 108px);
  max-width: 52ch;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s var(--ease);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9);
}
.lb-desc.has-text { opacity: 1; transform: none; }

.lb-controls {
  pointer-events: auto;
  margin-top: auto;
  padding: 18px 20px 14px;
  border-radius: 16px;
  background: linear-gradient(to top, rgba(6, 6, 8, 0.92), rgba(6, 6, 8, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  transform: translateY(0);
  transition: transform 0.45s var(--ease);
}
.lightbox.is-idle .lb-controls { transform: translateY(12px); }

.lb-scrub {
  position: relative;
  height: 22px;
  display: flex;
  align-items: center;
  cursor: pointer;
  touch-action: none;
}
.lb-scrub__base,
.lb-scrub__buffer,
.lb-scrub__fill {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 3px;
  pointer-events: none;
}
.lb-scrub__base { background: rgba(255, 255, 255, 0.16); }
.lb-scrub__buffer { background: rgba(255, 255, 255, 0.24); width: 0; right: auto; }
.lb-scrub__fill { background: var(--accent); width: 0; right: auto; box-shadow: 0 0 12px rgba(255, 90, 31, 0.6); }
.lb-scrub__knob {
  position: absolute;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, 0) scale(0);
  transition: transform 0.25s var(--ease);
  pointer-events: none;
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.28);
}
.lb-scrub:hover .lb-scrub__knob,
.lb-scrub.is-dragging .lb-scrub__knob { transform: translate(-50%, 0) scale(1); }

.lb-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.lb-row .icon-btn { width: 36px; height: 36px; background: transparent; border-color: transparent; }
.lb-row .icon-btn:hover { background: rgba(255, 255, 255, 0.1); }
.lb-time {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.66);
  margin-left: 4px;
  min-width: 88px;
}
.lb-spacer { flex: 1; }
.lb-vol {
  width: 0;
  overflow: hidden;
  transition: width 0.4s var(--ease);
  display: flex;
  align-items: center;
}
.lb-vol:hover,
.lb-row:hover .lb-vol { width: 78px; }
.lb-vol input {
  -webkit-appearance: none;
  appearance: none;
  width: 74px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.25);
  outline: none;
}
.lb-vol input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}
.lb-vol input::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__media { max-width: 420px; }
}

@media (max-width: 860px) {
  .nav { padding: 16px var(--pad); gap: 16px; }
  .nav__status { display: none; }
  .nav__links { margin-left: auto; font-size: 12.5px; }
  .nav__links a { padding: 6px 10px; }
  .hero { min-height: 92svh; }
  .hero__grid span { display: none; }
  .card { grid-column: span 12; }
  .card__media { aspect-ratio: 16 / 9; }
  .lb-titlewrap { max-width: 60%; }
  .lb-desc { display: none; }
  .lb-controls { padding: 14px 14px 10px; }
  .lb-vol { display: none; }
  .footer { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer__mid { display: none; }
}

@media (max-width: 560px) {
  .hero__actions { width: 100%; }
  .hero__entries { grid-template-columns: 1fr; max-width: none; }
  .entry__sub { white-space: normal; }
  .btn { flex: 1; justify-content: center; }
  .hero__foot { gap: 24px; }
  .hero__scroll span { display: none; }
  .lightbox { padding: 0; }
  .lightbox__stage { width: 100vw; height: 100svh; aspect-ratio: auto; border-radius: 0; }
  .lb-time { min-width: auto; }
  .lb-row { gap: 6px; }
  .about__frame { display: none; }
}

/* ---------- 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .card { opacity: 1; transform: none; }
  .hero__title .ch > span { transform: none; }
}
