/* ============================================================
   李淳 · 视频方向作品集 — 逐帧拼装 + 全屏自动播放 + 轻量 3D 画廊
   ============================================================ */

:root {
  --bg: #070709;
  --bg-soft: #0e0e12;
  --text: #f5f5f7;
  --text-dim: #a1a1aa;
  --text-faint: #6c6c75;
  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.16);
  --accent: #d8b678;
  --accent-bright: #ecd099;
  --accent-soft: rgba(216, 182, 120, 0.14);
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1180px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'PingFang SC', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, 'Microsoft YaHei', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
}

section[id],
footer[id] {
  scroll-margin-top: 72px;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  z-index: 9999;
  background: linear-gradient(90deg, var(--accent), #fff);
  transition: width 0.08s linear;
}

/* ---------- 微信拦截引导 ---------- */
html.is-wechat-gate,
html.is-wechat-gate body {
  overflow: hidden !important;
  height: 100% !important;
  touch-action: none;
}

html.is-wechat-gate body > *:not(.wechat-gate) {
  visibility: hidden !important;
  pointer-events: none !important;
}

.wechat-gate {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  background: rgba(0, 0, 0, 0.93);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 12px 14px 24px;
}

.wechat-gate[hidden] {
  display: none !important;
}

.wechat-gate__arrow {
  position: absolute;
  top: 8px;
  right: 22px;
  width: 22px;
  height: 44px;
  background: linear-gradient(180deg, rgba(216, 182, 120, 1), rgba(216, 182, 120, 0.2));
  clip-path: polygon(40% 0, 60% 0, 60% 62%, 100% 62%, 50% 100%, 0 62%, 40% 62%);
  animation: wechatBounce 1.1s var(--ease) infinite;
}

.wechat-gate__card {
  margin-top: 56px;
  margin-right: 4px;
  width: min(310px, calc(100vw - 32px));
  background: #121216;
  border: 1px solid rgba(216, 182, 120, 0.55);
  border-radius: 18px;
  padding: 18px 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}

.wechat-gate__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.wechat-gate__desc {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.wechat-gate__steps {
  font-size: 13.5px;
  color: #fff;
  margin-bottom: 14px;
}

.wechat-gate__steps strong {
  color: var(--accent);
  letter-spacing: 0.12em;
}

.wechat-gate__copy {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(216, 182, 120, 0.45);
  background: rgba(216, 182, 120, 0.14);
  color: var(--accent-bright);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

@keyframes wechatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ---------- 公共样式 & 强电影感 Reveal ---------- */
.section {
  padding: 130px 0;
  position: relative;
}

.section-tag {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(32px, 4.8vw, 54px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 16px;
}

.section-title.light,
.section-tag.light {
  color: inherit;
}

.section-desc {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 600px;
}

.section-desc.light {
  color: rgba(255, 255, 255, 0.72);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, #e7c88a, #c79f59);
  color: #110e09;
  box-shadow: 0 12px 32px rgba(216, 182, 120, 0.25);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(216, 182, 120, 0.38);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(216, 182, 120, 0.55);
  transform: translateY(-2px);
}

/* 快速且有质感的滚动渐显 */
.reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(0.96);
  filter: blur(5px);
  transition:
    opacity 0.52s var(--ease),
    transform 0.58s var(--ease),
    filter 0.48s var(--ease);
  will-change: transform, opacity, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.reveal--left {
  transform: translate3d(-42px, 20px, 0) scale(0.96);
}

.reveal--right {
  transform: translate3d(42px, 20px, 0) scale(0.96);
}

.reveal--up {
  transform: translate3d(0, 36px, 0) scale(0.96);
}

.reveal--scale {
  transform: translate3d(0, 22px, 0) scale(0.92);
}

.reveal--left.is-visible,
.reveal--right.is-visible,
.reveal--up.is-visible,
.reveal--scale.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

.reveal-child {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  filter: blur(4px);
  transition:
    opacity 0.45s var(--ease),
    transform 0.5s var(--ease),
    filter 0.45s var(--ease);
}

.reveal.is-visible .reveal-child,
.reveal-child.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 1.05s var(--ease) forwards;
}

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.26s; }
.delay-3 { animation-delay: 0.4s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.nav.is-scrolled {
  background: rgba(7, 7, 9, 0.78);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-color: var(--line);
}

.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo span:last-child {
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 0.18em;
  font-weight: 500;
}

.nav__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(216, 182, 120, 0.45);
}

.nav__links {
  display: flex;
  gap: 28px;
}

.nav__links a {
  font-size: 13.5px;
  color: var(--text-dim);
  padding: 6px 0;
  position: relative;
  transition: color 0.3s;
}

.nav__links a:hover {
  color: var(--text);
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__end {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav__lang {
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  padding: 6px 11px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s, border-color 0.3s;
}

.nav__lang:hover {
  color: var(--accent);
  border-color: rgba(216, 182, 120, 0.55);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  width: 22px;
  height: 1.5px;
  background: #fff;
  display: block;
  transition: transform 0.28s var(--ease), opacity 0.2s;
}

.nav.is-open .nav__toggle span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav.is-open .nav__toggle span:nth-child(2) {
  opacity: 0;
}

.nav.is-open .nav__toggle span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 100px;
  overflow: hidden;
}

.hero__video-wrap {
  position: absolute;
  inset: -2%;
  z-index: 0;
  will-change: transform;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.64;
  filter: saturate(1.03) contrast(1.04) brightness(0.92);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 7, 9, 0.56) 0%, rgba(7, 7, 9, 0.28) 38%, rgba(7, 7, 9, 0.88) 100%),
    linear-gradient(90deg, rgba(7, 7, 9, 0.74) 0%, rgba(7, 7, 9, 0.28) 55%, rgba(7, 7, 9, 0.5) 100%);
}

.hero__reticle {
  position: absolute;
  inset: 92px 38px 42px;
  pointer-events: none;
  opacity: 0.36;
}

.reticle__corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: rgba(255, 255, 255, 0.55);
  border-style: solid;
}

.reticle__corner.tl { top: 0; left: 0; border-width: 1.5px 0 0 1.5px; }
.reticle__corner.tr { top: 0; right: 0; border-width: 1.5px 1.5px 0 0; }
.reticle__corner.bl { bottom: 0; left: 0; border-width: 0 0 1.5px 1.5px; }
.reticle__corner.br { bottom: 0; right: 0; border-width: 0 1.5px 1.5px 0; }

.reticle__tc {
  position: absolute;
  top: 6px;
  right: 24px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.68);
  font-variant-numeric: tabular-nums;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
}

.hero__title {
  font-size: clamp(68px, 11.5vw, 142px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 10px 0 22px;
  background: linear-gradient(180deg, #fff 0%, #cfcfd4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  font-size: clamp(16px, 2vw, 22px);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 300;
  margin-bottom: 26px;
  max-width: 600px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.hero__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  flex-wrap: wrap;
}

.hero__meta .dot {
  color: var(--accent);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
}

.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  background: var(--accent);
  border-radius: 50%;
  animation: scrollCue 1.8s infinite;
}

@keyframes scrollCue {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 0; }
}

/* ---------- 01 · ABOUT — 进入视口后自动逐块播放至结尾 ---------- */
.about-pin {
  position: relative;
  background: var(--bg);
}

.about-pin__track {
  height: auto;
  position: relative;
}

.about-pin__sticky {
  position: relative;
  height: auto;
  min-height: 100svh;
  padding: 110px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.about__grid {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 54px;
  align-items: stretch;
  width: 100%;
}

.assemble {
  opacity: 0;
  transform: translate3d(var(--ax, 0px), var(--ay, 42px), 0) scale(var(--ascale, 0.94));
  filter: blur(var(--ablur, 10px));
  transition:
    opacity 0.65s var(--ease),
    transform 0.72s var(--ease),
    filter 0.65s var(--ease);
  will-change: transform, opacity, filter;
}

#aboutStage.is-played .assemble {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

#aboutStage .assemble[data-assemble="0"] { transition-delay: 0s; }
#aboutStage .assemble[data-assemble="1"] { transition-delay: 0.08s; }
#aboutStage .assemble[data-assemble="2"] { transition-delay: 0.14s; }
#aboutStage .assemble[data-assemble="3"] { transition-delay: 0.2s; }
#aboutStage .assemble[data-assemble="4"] { transition-delay: 0.28s; }
#aboutStage .assemble[data-assemble="5"] { transition-delay: 0.34s; }
#aboutStage .assemble[data-assemble="6"] { transition-delay: 0.4s; }
#aboutStage .assemble[data-assemble="7"] { transition-delay: 0.48s; }

.about__portrait {
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #101014;
  height: 100%;
  --ax: -120px;
  --ay: 80px;
  --ascale: 0.86;
  --ablur: 14px;
}

.about__portrait-frame {
  overflow: hidden;
  flex: 1 1 auto;
  min-height: 0;
}

.about__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
}

.about__portrait-meta {
  padding: 18px 22px;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}

.about__portrait-name {
  font-weight: 600;
  margin-bottom: 8px;
}

.about__badge {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid rgba(216, 182, 120, 0.4);
  background: var(--accent-soft);
}

.about__portrait-honor {
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.5;
}

.about__lead {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.about__lead .section-tag {
  --ax: 40px;
  --ay: 60px;
  --ascale: 0.95;
  --ablur: 10px;
}

.about__lead .section-title {
  --ax: 80px;
  --ay: 100px;
  --ascale: 0.9;
  --ablur: 12px;
}

.about__text {
  font-size: 17px;
  color: var(--text-dim);
  margin-bottom: 28px;
  max-width: 560px;
  --ax: 60px;
  --ay: 90px;
  --ascale: 0.94;
  --ablur: 10px;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.stat {
  min-height: 94px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  display: flex;
  flex-direction: column;
  justify-content: center;
  --ax: 0px;
  --ay: 110px;
  --ascale: 0.88;
  --ablur: 12px;
}

.stat__value {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
}

.stat__num {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stat__unit {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

.stat__label {
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 8px;
  line-height: 1.35;
}

.skills {
  margin-top: auto;
  flex-shrink: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  --ax: 0px;
  --ay: 120px;
  --ascale: 0.92;
  --ablur: 10px;
}

.skills__title {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 12px;
}

.skills__group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-size: 12.5px;
  padding: 6px 13px;
  border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--text-dim);
  transition: border-color 0.3s, color 0.3s;
}

.chip:hover {
  border-color: var(--accent);
  color: var(--text);
}

/* ---------- 02 · FILM PANELS (全屏无缝自动播放 + 停顿褪去遮罩) ---------- */
.film {
  background: #000;
  position: relative;
}

.film__intro {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 120px 40px 48px;
  color: #fff;
}

.film-dots {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 650;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 7px;
  border-radius: 999px;
  background: rgba(10, 10, 14, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.film-dots.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.film-dots__item {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}

.film-dots__item.is-active {
  background: var(--accent);
  color: #110e09;
  transform: scale(1.08);
}

.film-panel {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.film-panel__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.film-panel__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  transform: scale(1.04);
  filter: brightness(1.05) contrast(1.05);
  transition: opacity 1s var(--ease), transform 1.4s var(--ease);
}

.film-panel.is-active .film-panel__media video {
  opacity: 1;
  transform: scale(1);
}

.film-panel__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.12) 40%, rgba(0, 0, 0, 0.72) 100%);
  opacity: 1;
  transition: opacity 1.1s var(--ease);
}

.film-panel.is-settled .film-panel__veil {
  opacity: 0.16;
}

.film-panel.is-settled .film-panel__caption {
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.72);
}

.film-panel__caption {
  position: relative;
  z-index: 2;
  padding: 0 40px 11vh;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  color: #fff;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.film-panel.is-active .film-panel__caption {
  opacity: 1;
  transform: translateY(0);
}

.film__cap-index {
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}

.film-panel__caption h3 {
  font-size: clamp(32px, 4.5vw, 50px);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.film-panel__caption p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- 03 · 轻量手势 3D 画廊 + 视觉档案 ---------- */
.gallery {
  background: radial-gradient(ellipse 80% 40% at 50% 0%, rgba(216, 182, 120, 0.06), transparent 65%), var(--bg);
}

.stage3d {
  max-width: var(--maxw);
  margin: 44px auto 64px;
  padding: 0 40px;
}

.stage3d__viewport {
  position: relative;
  height: clamp(320px, 46vh, 430px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
}

.stage3d__viewport:active {
  cursor: grabbing;
}

.stage3d__ring {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.card3d {
  position: absolute;
  width: clamp(230px, 34vw, 440px);
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #101014;
  padding: 0;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.65);
  will-change: transform, opacity, filter;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.25s;
}

.card3d.is-front {
  border-color: rgba(216, 182, 120, 0.65);
  cursor: zoom-in;
}

.card3d img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.card3d__shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--sx, 50%) var(--sy, 35%), rgba(255, 245, 220, 0.22), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s;
}

.card3d.is-front .card3d__shine {
  opacity: 1;
}

.card3d__info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 16px 12px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.88));
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card3d__info strong {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.card3d__info span {
  font-size: 11.5px;
  color: var(--accent-bright);
}

.stage3d__controls {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.stage3d__btn {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}

.stage3d__btn:hover {
  border-color: var(--accent);
}

.stage3d__btn--auto.is-active {
  border-color: rgba(216, 182, 120, 0.55);
  background: var(--accent-soft);
  color: var(--accent-bright);
}

.stage3d__hint {
  font-size: 12px;
  color: var(--text-faint);
}

/* 分类筛选标签与网格 */
.archive-block {
  margin-bottom: 26px;
}

.archive__tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.archive__tab {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s var(--ease);
}

.archive__tab:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.archive__tab.is-active {
  background: linear-gradient(135deg, #e7c88a, #c79f59);
  border-color: transparent;
  color: #110e09;
  font-weight: 700;
}

.archive__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  grid-auto-flow: dense;
  gap: 14px;
}

.archive__item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0e0e12;
  cursor: zoom-in;
  padding: 0;
  text-align: left;
}

.archive__item.is-hidden {
  display: none;
}

.archive__item.span-2 {
  grid-column: span 2;
}

.archive__item.tall {
  grid-row: span 2;
}

.archive__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.archive__item:hover img {
  transform: scale(1.05);
}

.archive__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.88));
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.archive__overlay strong {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.archive__overlay span {
  font-size: 11.5px;
  color: var(--accent-bright);
}

/* ---------- 04 · TIMELINE & CROSS-DOMAIN AI WORK ---------- */
.experience {
  border-top: 1px solid var(--line);
}

.timeline {
  margin-top: 50px;
  position: relative;
  margin-bottom: 72px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 170px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}

.timeline__item {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 48px;
  padding: 30px 0;
}

.timeline__item:not(:last-child) {
  border-bottom: 1px solid var(--line);
}

.timeline__date {
  font-size: 13.5px;
  color: var(--text-faint);
  padding-top: 4px;
  position: relative;
}

.timeline__date::before {
  content: '';
  position: absolute;
  right: -52px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(216, 182, 120, 0.18);
}

.timeline__body h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 5px;
}

.timeline__org {
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 14px;
}

.timeline__body ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.timeline__body li {
  font-size: 15px;
  color: var(--text-dim);
  padding-left: 18px;
  position: relative;
}

.timeline__body li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-faint);
}

.timeline__body strong {
  color: var(--text);
  font-weight: 600;
}

/* 克制的 AI 影像产品跨界卡 */
.cross__head {
  margin-bottom: 22px;
}

.cross__title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  margin-bottom: 6px;
}

.cross__sub {
  font-size: 14.5px;
  color: var(--text-dim);
}

.cross__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 16px;
}

.cross-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
}

.cross-card__media {
  position: relative;
  border: none;
  background: #101014;
  padding: 0;
  cursor: zoom-in;
  overflow: hidden;
  min-height: 190px;
}

.cross-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.cross-card__media:hover img {
  transform: scale(1.05);
}

.cross-card__zoom {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(6, 6, 8, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cross-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cross-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.cross-card__date {
  font-size: 11.5px;
  color: var(--text-faint);
}

.cross-card__badge {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-bright);
  font-weight: 600;
}

.cross-card__body h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.cross-card__body p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
}

.cross-card__body strong {
  color: #fff;
}

.cross__footnote {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px dashed var(--line-strong);
  background: rgba(255, 255, 255, 0.015);
  margin-bottom: 32px;
}

.footnote__label {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}

.footnote__chip {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  cursor: pointer;
}

.footnote__chip:hover {
  border-color: var(--accent);
  color: #fff;
}

/* 完整 25+ 片单折叠 */
.credits-drawer {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
}

.credits-drawer__toggle {
  width: 100%;
  padding: 18px 24px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent-bright);
  text-align: left;
}

.credits-drawer__icon {
  font-size: 20px;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}

.credits-drawer.is-open .credits-drawer__icon {
  transform: rotate(45deg);
}

.credits-drawer__panel {
  padding: 4px 24px 24px;
  border-top: 1px solid var(--line);
}

.credits-drawer__panel[hidden] {
  display: none;
}

.credits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-top: 18px;
}

.credits-col h4 {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.credits-col li {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 10px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}

.credits-col li span {
  color: var(--text-faint);
  font-size: 12px;
}

.credits-col li strong {
  font-weight: 500;
}

.credits-col li em {
  font-style: normal;
  font-size: 12px;
  color: var(--text-dim);
  text-align: right;
}

/* ---------- 05 · FULL SHOWREEL ---------- */
.reel {
  padding: 140px 0 150px;
  background: radial-gradient(ellipse 90% 70% at 50% 0%, #16151a 0%, #060607 65%);
}

.reel__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.reel .section-tag,
.reel .section-title,
.reel .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.reel .section-desc {
  margin-bottom: 44px;
}

.reel__player {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.7);
  aspect-ratio: 16 / 9;
  background: #000;
}

.reel__player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s;
}

.reel__play:hover {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.22);
}

.reel__play svg {
  width: 30px;
  height: 30px;
  fill: #fff;
  margin-left: 3px;
}

.reel__player.is-playing .reel__play {
  opacity: 0;
  pointer-events: none;
}

/* ---------- 06 · FOOTER ---------- */
.footer {
  padding: 120px 0 0;
  border-top: 1px solid var(--line);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  padding-bottom: 76px;
}

.footer__desc {
  color: var(--text-dim);
  font-size: 15.5px;
  margin-top: 8px;
}

.footer__contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-content: start;
}

.footer__contacts a,
.footer__copy,
.footer__contact-static {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15.5px;
  font-weight: 500;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  border-top: none;
  border-left: none;
  border-right: none;
  text-align: left;
  transition: color 0.3s;
}

.footer__copy {
  cursor: pointer;
}

.footer__contacts a:hover,
.footer__copy:hover {
  color: var(--accent);
}

.footer__contacts span,
.footer__contact-static span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 600;
}

.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-faint);
  max-width: var(--maxw);
  margin: 0 auto;
}

.footer__top:hover {
  color: var(--accent);
}

/* ---------- 灯箱 / 影院弹窗 / Toast ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 72px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 100%;
}

.lightbox__figure img {
  max-width: min(1100px, 88vw);
  max-height: 76dvh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lightbox__caption {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13.5px;
}

.lightbox__caption strong { color: #fff; }
.lightbox__caption span { color: var(--accent-bright); }
.lightbox__caption em { font-style: normal; color: var(--text-faint); font-size: 12px; }

.lightbox__close,
.lightbox__nav {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__close { top: 20px; right: 24px; }
.lightbox__nav--prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 20px; top: 50%; transform: translateY(-50%); }

.cinema-modal {
  position: fixed;
  inset: 0;
  z-index: 10010;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cinema-modal[hidden] {
  display: none;
}

.cinema-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 6, 0.92);
  backdrop-filter: blur(12px);
}

.cinema-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1040px, 95vw);
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  background: #0c0c10;
  padding: 18px 20px 20px;
}

.cinema-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.cinema-modal__head h3 { font-size: 18px; font-weight: 700; }
.cinema-modal__head p { font-size: 13px; color: var(--accent); }

.cinema-modal__close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  font-size: 22px;
  cursor: pointer;
  flex-shrink: 0;
}

.cinema-modal__frame {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.cinema-modal__frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 10020;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(20, 20, 26, 0.94);
  border: 1px solid rgba(216, 182, 120, 0.55);
  color: var(--accent-bright);
  font-size: 13px;
  font-weight: 600;
}

/* ---------- 响应式适配（手机与平板双端） ---------- */
@media (max-width: 980px) {
  .about-pin__track {
    height: auto;
  }

  .about-pin__sticky {
    height: auto;
    min-height: auto;
    padding: 82px 0 64px;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about__portrait {
    display: grid;
    grid-template-columns: 96px 1fr;
    height: auto;
    border-radius: 18px;
    --ax: 0px;
    --ay: 70px;
  }

  .about__portrait-frame {
    min-height: 112px;
  }

  .about__portrait-meta {
    border-top: none;
    border-left: 1px solid var(--line);
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .about__portrait-name {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .about__badge {
    align-self: flex-start;
    font-size: 10.5px;
    padding: 3px 9px;
    margin-bottom: 5px;
  }

  .about__portrait-honor {
    font-size: 11px;
    line-height: 1.35;
  }

  .about__lead .section-tag {
    margin-bottom: 6px;
  }

  .about__lead .section-title {
    font-size: clamp(24px, 6vw, 34px);
    margin-bottom: 10px;
  }

  .about__text {
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 14px;
  }

  .about__stats {
    gap: 8px;
    margin-bottom: 14px;
  }

  .stat {
    min-height: 68px;
    padding: 10px;
    border-radius: 12px;
  }

  .stat__num {
    font-size: 24px;
  }

  .stat__unit {
    font-size: 13px;
  }

  .stat__label {
    font-size: 10.5px;
    margin-top: 4px;
  }

  .skills {
    padding: 12px 14px;
    border-radius: 16px;
  }

  .skills__title {
    margin-bottom: 8px;
  }

  .chip {
    font-size: 11px;
    padding: 4px 10px;
  }

  .timeline::before {
    left: 8px;
  }

  .timeline__item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-left: 24px;
  }

  .timeline__date::before {
    left: -20px;
    right: auto;
  }

  .cross__grid,
  .credits-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .archive__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 195px;
  }
}

@media (max-width: 680px) {
  .container,
  .nav__inner,
  .hero__content,
  .film__intro,
  .film-panel__caption,
  .stage3d,
  .archive__grid,
  .reel__inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav__links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(7, 7, 9, 0.97);
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 20px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open .nav__links {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav__links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav__toggle {
    display: flex;
  }

  .section {
    padding: 84px 0;
  }

  .hero {
    padding: 100px 0 80px;
  }

  .hero__reticle {
    inset: 82px 16px 28px;
  }

  .film-panel {
    height: 100svh;
    min-height: 540px;
  }

  .film-panel__caption {
    padding-bottom: 9vh;
  }

  .film-dots {
    right: 8px;
    padding: 7px 4px;
    gap: 5px;
  }

  .film-dots__item {
    width: 22px;
    height: 22px;
    font-size: 9px;
  }

  .stage3d__viewport {
    height: 280px;
  }

  .stage3d__hint {
    order: 4;
    width: 100%;
    text-align: center;
  }

  .archive__tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    max-width: 100%;
  }

  .archive__tabs::-webkit-scrollbar {
    display: none;
  }

  .archive__grid {
    grid-auto-rows: 156px;
    gap: 10px;
  }

  .cross-card {
    grid-template-columns: 1fr;
  }

  .cross-card__media {
    aspect-ratio: 16 / 10;
  }

  .credits-col li {
    grid-template-columns: 58px 1fr;
    gap: 4px 10px;
  }

  .credits-col li em {
    grid-column: 2;
    text-align: left;
  }

  .footer__contacts {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    padding: 20px;
    flex-direction: column;
    gap: 10px;
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox__figure img {
    max-width: 96vw;
    max-height: 70dvh;
  }

  .lightbox__nav {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .lightbox__nav--prev { left: 20px; }
  .lightbox__nav--next { right: 20px; }
}
