/* Cinematic Dark & UI Comfort Polish — 关相涛作品集视觉与舒适度升级 */
:root {
  --bg: #07100f;
  --bg-soft: #0c1816;
  --panel: #10201d;
  --text: #eef2e8;
  --muted: #b0bdb3;
  --line: rgba(235, 242, 229, 0.13);
  --line-strong: rgba(235, 242, 229, 0.24);
  --acid: #c8ff36;
  --cyan: #6ae6d5;
  --max: 1600px;
  --gutter: clamp(20px, 3.6vw, 64px);
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --radius-pill: 999px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

[hidden] { display: none !important; }

/* 1. 全局沉浸式滚动条、字体平滑与选区舒适度 */
html {
  scrollbar-width: thin;
  scrollbar-color: #293e36 #07100f;
  scroll-padding-top: 84px;
}
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #07100f; }
::-webkit-scrollbar-thumb { background: #263932; border-radius: 99px; border: 2px solid #07100f; }
::-webkit-scrollbar-thumb:hover { background: #3f5c51; }
::selection { background: rgba(200, 255, 54, 0.25); color: #f7faf2; }

body {
  font-size: 16px;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
button { touch-action: manipulation; }
button:disabled { cursor: default; opacity: .5; }
button:focus-visible, a:focus-visible, .showcase:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 4px;
}
button:active:not(:disabled) { filter: brightness(.93); }

/* 2. 轻盈自然的滚动入场动效（消除快速滚动空白闪烁） */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .48s var(--ease-out), transform .48s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 3. 智能毛玻璃吸顶导航 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-width: none;
  margin: 0;
  padding: 20px 0;
  z-index: 60;
  transition: padding .32s var(--ease-out), background .32s ease, border-color .32s ease, backdrop-filter .32s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(7, 16, 15, 0.8);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  border-bottom-color: rgba(235, 242, 229, 0.1);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
}
.site-header-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-mark {
  border-color: rgba(238, 242, 232, 0.38);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 600;
  transition: border-color .25s ease, color .25s ease, transform .25s var(--ease-out);
}
.brand:hover .brand-mark {
  border-color: var(--acid);
  color: var(--acid);
  transform: scale(1.04);
}
.brand-copy { font-size: 11px; letter-spacing: .14em; color: rgba(238, 242, 232, 0.78); }
.main-nav { font-size: 14px; gap: clamp(24px, 2.8vw, 42px); }
.main-nav a { color: rgba(238, 242, 232, 0.8); transition: color .25s ease; }
.main-nav a:hover, .main-nav a.is-active { color: #ffffff; }
.main-nav a.is-active:not(.nav-cta)::after { right: 0; }
.nav-cta {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border-color: rgba(238, 242, 232, 0.28);
  background: rgba(255, 255, 255, 0.04);
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s var(--ease-out);
}
.nav-cta:hover, .nav-cta.is-active {
  background: var(--acid);
  border-color: var(--acid);
  color: #07100f !important;
  transform: translateY(-1px);
}

/* 4. 首屏中文排印呼吸感与右侧玻璃信息卡升级 */
.eyebrow, .kicker { font-size: 12.5px; line-height: 1.6; letter-spacing: .16em; }
.hero { padding-top: 124px; padding-bottom: 96px; }
.hero-shade {
  background:
    radial-gradient(ellipse 65% 70% at 24% 58%, rgba(4, 12, 11, 0.55), transparent 70%),
    linear-gradient(90deg, rgba(4, 11, 10, 0.92) 0%, rgba(4, 11, 10, 0.72) 38%, rgba(4, 11, 10, 0.22) 70%, rgba(4, 11, 10, 0.56) 100%),
    linear-gradient(0deg, #07100f 0%, transparent 34%, rgba(3, 9, 8, 0.36) 100%);
}
.hero-grid {
  gap: clamp(36px, 5vw, 84px);
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.65fr);
  align-items: end;
}
.hero-copy { padding-bottom: 28px; }
h1 {
  margin-bottom: 24px;
  font-size: clamp(46px, 6.2vw, 96px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 600;
}
h1 .accent-line {
  -webkit-text-stroke: 0;
  background: linear-gradient(96deg, #f3f7ec 0%, #d4ff5e 52%, #76ead8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-block: 0.03em;
}
.hero-intro {
  margin-bottom: 16px;
  font-size: clamp(16px, 1.35vw, 21px);
  letter-spacing: .04em;
  color: rgba(240, 244, 234, 0.94);
}
.hero-desc {
  max-width: 580px;
  font-size: 15.5px;
  line-height: 1.88;
  color: rgba(236, 241, 231, 0.78);
}
.hero-actions { gap: 14px; margin-top: 32px; }
.button {
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-md);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .01em;
  gap: 10px;
  transition: transform .25s var(--ease-out), background .25s ease, border-color .25s ease, box-shadow .25s ease, color .25s ease;
}
.button-primary {
  background: var(--acid);
  color: #08120e;
  box-shadow: 0 10px 28px rgba(200, 255, 54, 0.16);
}
.button-primary:hover {
  background: #d4ff5c;
  box-shadow: 0 14px 34px rgba(200, 255, 54, 0.26);
}
.button-ghost {
  background: rgba(14, 27, 24, 0.54);
  border-color: rgba(235, 242, 229, 0.24);
  color: var(--text);
}
.button-ghost:hover {
  background: rgba(235, 242, 229, 0.1);
  border-color: rgba(235, 242, 229, 0.45);
}

.hero-card {
  margin-bottom: 32px;
  padding: 26px 26px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(235, 242, 229, 0.15);
  background: linear-gradient(165deg, rgba(16, 32, 29, 0.78) 0%, rgba(8, 18, 16, 0.68) 100%);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}
.hero-card-top {
  font-size: 12px;
  letter-spacing: .04em;
  color: #c2cfc4;
}
.status-dot {
  width: 8px;
  height: 8px;
  background: var(--acid);
  box-shadow: 0 0 12px rgba(200, 255, 54, 0.7);
}
.identity {
  padding: 20px 0 18px;
}
.identity strong {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.identity span {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--muted);
}
.quick-facts div {
  font-size: 13.5px;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  align-items: baseline;
}
.quick-facts dd {
  text-align: left;
  color: rgba(240, 244, 234, 0.92);
  overflow-wrap: anywhere;
}
.facts-tags-row { align-items: start !important; }
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 1px;
}
.hero-tags span {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(235, 242, 229, 0.07);
  border: 1px solid rgba(235, 242, 229, 0.14);
  font-size: 12px;
  line-height: 1.45;
  color: #e4ebe2;
}
.text-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--acid);
  transition: opacity .2s ease;
}
.text-link i {
  font-style: normal;
  transition: transform .25s var(--ease-out);
}
.text-link:hover i { transform: translateX(4px); }

.hero-project-video { object-position: center !important; }
.hero-source {
  font-size: 12.5px;
  bottom: 24px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(7, 16, 15, 0.48);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(235, 242, 229, 0.12);
  color: rgba(240, 242, 233, 0.78);
  transition: border-color .25s ease, color .25s ease, background .25s ease;
}
.hero-source:hover {
  color: var(--acid);
  border-color: rgba(200, 255, 54, 0.4);
  background: rgba(7, 16, 15, 0.72);
}
.hero-index { display: none; }

/* 5. 作品档案区（#work）：无遮挡放映舞台 + 柔光暗房资产画框 */
.work-section { max-width: none; padding: 96px var(--gutter) 108px; }
.work-heading, .project-jump, .showcase, .work-bottom, .project-rail, .work-note, .asset-archive {
  max-width: 1600px;
  margin-inline: auto;
}
.work-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 28px;
}
.work-heading .kicker { color: var(--acid); margin-bottom: 12px; }
.work-heading h2 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 64px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
  text-wrap: balance;
}
.work-heading h2 span { color: #9fb0a3; font-weight: 400; white-space: nowrap; }
.work-heading > p {
  flex: 0 1 350px;
  margin: 0 0 4px;
  color: var(--muted);
  line-height: 1.82;
  font-size: 14.5px;
}

.project-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 0 24px;
  border-top: 1px solid var(--line);
}
.project-jump { scrollbar-width: none; }
.project-jump::-webkit-scrollbar { display: none; }
.project-jump button {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(235, 242, 229, 0.18);
  color: #dfe7dc;
  background: rgba(255, 255, 255, 0.02);
  font-size: 14.5px;
  min-height: 44px;
  cursor: pointer;
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s var(--ease-out), box-shadow .22s ease;
  white-space: nowrap;
}
.project-jump button:hover {
  border-color: rgba(200, 255, 54, 0.55);
  background: rgba(200, 255, 54, 0.07);
}
.project-jump button.is-current {
  background: var(--acid);
  color: #07100f;
  border-color: var(--acid);
  font-weight: 500;
  box-shadow: 0 6px 20px rgba(200, 255, 54, 0.2);
}

.showcase { position: relative; outline-offset: 8px; }
.showcase-surface {
  position: relative;
  height: clamp(360px, 65svh, 820px);
  overflow: hidden;
  background: #0d1a17;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(235, 242, 229, 0.13);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.45);
  touch-action: pan-y;
  cursor: pointer;
  isolation: isolate;
}
.showcase-poster, .showcase-video {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform .65s var(--ease-out);
}
.showcase-surface:hover .showcase-poster,
.showcase-surface:hover .showcase-video {
  transform: scale(1.018);
}
.showcase-video { opacity: 0; transition: opacity .45s ease, transform .65s var(--ease-out); }
.showcase-video.is-playing { opacity: 1; }
.showcase-surface::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 55%, rgba(3, 10, 8, 0.34) 100%),
    linear-gradient(180deg, rgba(4, 12, 10, 0.28) 0%, transparent 24%, transparent 66%, rgba(4, 12, 10, 0.62) 100%);
}
.showcase-surface.changing .showcase-poster { animation: image-arrival .5s var(--ease-out); }
@keyframes image-arrival {
  from { opacity: .42; transform: scale(1.028); }
  to { opacity: 1; transform: none; }
}

.preview-duration {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(244, 247, 239, 0.92);
  background: rgba(7, 16, 15, 0.56);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 12px;
  border-radius: var(--radius-pill);
  pointer-events: none;
}
.preview-duration i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 8px var(--acid);
}

/* 释放人物面部中心焦点：将进入项目按钮移至右下角精致胶囊 */
.showcase-enter {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 24px 26px;
  border: 0;
  color: white;
  background: transparent;
  cursor: pointer;
}
.showcase-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 11px 20px 11px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(8, 18, 16, 0.68);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #f4f7ef;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s var(--ease-out);
}
.play-symbol {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding-left: 2px;
  border-radius: 50%;
  background: var(--acid);
  color: #07100f;
  font-size: 11px;
  transition: background .25s ease, color .25s ease, transform .25s var(--ease-out);
}
.showcase-enter:hover .showcase-cta-badge {
  background: var(--acid);
  border-color: var(--acid);
  color: #07100f;
  transform: translateY(-2px);
}
.showcase-enter:hover .play-symbol {
  background: #07100f;
  color: var(--acid);
}
.showcase-enter:focus-visible { outline-offset: -6px; }

.showcase-caption {
  display: grid;
  grid-template-columns: minmax(180px, .75fr) minmax(0, 1.3fr) auto;
  align-items: start;
  gap: 36px;
  padding: 26px 4px 24px;
  border-bottom: 1px solid var(--line);
}
.showcase-kind { margin: 0 0 8px; color: var(--acid); font-size: 12.5px; letter-spacing: .06em; }
.showcase-title {
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
}
.showcase-description > p {
  color: #c2cec3;
  margin: 0 0 12px;
  line-height: 1.85;
  font-size: 15.5px;
}
.text-action {
  padding: 5px 0;
  color: var(--text);
  border: 0;
  border-bottom: 1px solid rgba(202, 211, 200, 0.45);
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.text-action:hover { color: var(--acid); border-color: var(--acid); }

.showcase-controls { display: flex; align-items: center; gap: 12px; padding-top: 4px; }
.showcase-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0 0 2px;
  border: 1px solid rgba(235, 242, 229, 0.24);
  color: var(--text);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  font-size: 26px;
  cursor: pointer;
  transition: background .22s ease, border-color .22s ease, color .22s ease, transform .22s var(--ease-out);
}
.showcase-controls button:hover {
  background: var(--acid);
  border-color: var(--acid);
  color: #07100f;
  transform: scale(1.05);
}
.showcase-count {
  min-width: 46px;
  color: #bac7ba;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  text-align: center;
}

.work-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 20px;
  color: #98a89a;
}
.work-bottom p { margin: 0; font-size: 13px; line-height: 1.75; }
.catalog-count { white-space: nowrap; font-variant-numeric: tabular-nums; }

.project-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.rail-project {
  display: block;
  min-width: 0;
  text-align: left;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.rail-project .rail-image {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(235, 242, 229, 0.1);
  background: #0d1917;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s var(--ease-out);
}
.rail-project img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  opacity: .72;
  transition: opacity .25s ease, transform .35s var(--ease-out);
}
.rail-project:hover img, .rail-project.is-current img { opacity: 1; }
.rail-project:hover .rail-image {
  border-color: rgba(235, 242, 229, 0.35);
  transform: translateY(-2px);
}
.rail-project.is-current .rail-image {
  border-color: var(--acid);
  box-shadow: 0 8px 24px rgba(200, 255, 54, 0.14);
}
.rail-project:hover img { transform: scale(1.04); }
.rail-project strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-top: 10px;
  transition: color .2s ease;
}
.rail-project.is-current strong { color: var(--acid); }
.rail-project small {
  display: block;
  color: #98a89a;
  font-size: 12px;
  line-height: 1.65;
  margin-top: 3px;
}
.work-note {
  font-size: 13px;
  line-height: 1.8;
  margin-top: 36px;
  padding: 12px 0 12px 18px;
  border-left: 2px solid rgba(200, 255, 54, 0.65);
  color: #9fb0a1;
}

/* 美术资产柔光暗房画框（彻底消除亮灰白眩光条，同时不裁切三视图） */
.asset-archive {
  padding-top: 76px;
  margin-top: 56px;
  border-top: 1px solid var(--line);
}
.archive-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
}
.archive-heading .kicker { color: var(--acid); margin-bottom: 10px; }
.archive-heading h3 {
  margin: 0;
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.archive-heading > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
  text-align: right;
}
.asset-highlights {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.asset-tile {
  display: block;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  color: inherit;
}
.asset-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #101f1c;
  border: 1px solid rgba(235, 242, 229, 0.12);
  isolation: isolate;
  transition: transform .28s var(--ease-out), border-color .28s ease, box-shadow .28s ease;
}
.asset-frame::before {
  content: '';
  position: absolute;
  inset: -12%;
  z-index: 0;
  background-image: var(--thumb-bg);
  background-size: cover;
  background-position: center;
  filter: blur(22px) brightness(0.38) saturate(1.15);
  opacity: .9;
  pointer-events: none;
}
.asset-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  transition: transform .35s var(--ease-out);
}
.asset-tile:hover .asset-frame {
  transform: translateY(-3px);
  border-color: rgba(200, 255, 54, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34);
}
.asset-tile:hover .asset-frame img { transform: scale(1.03); }
.asset-tile strong {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
  margin-top: 11px;
  overflow-wrap: anywhere;
  transition: color .2s ease;
}
.asset-tile:hover strong { color: var(--acid); }
.asset-tile small {
  display: block;
  font-size: 12px;
  color: #97a899;
  margin-top: 3px;
  line-height: 1.55;
}
.asset-browse {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  min-height: 46px;
  padding: 10px 24px;
  color: var(--text);
  border: 1px solid rgba(235, 242, 229, 0.26);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s var(--ease-out);
}
.asset-browse:hover {
  background: var(--acid);
  border-color: var(--acid);
  color: #07100f;
  transform: translateY(-2px);
}

/* 6. 流程与能力区（#process）及关于区（#about）阅读舒适度精调 */
.production-heading h2 {
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.production-heading p:last-child, .production-cards p, .about-copy > p {
  font-size: 15.5px;
  line-height: 1.88;
}
.production-cards li {
  transition: background .28s ease;
}
.production-cards li:hover {
  background: rgba(235, 242, 229, 0.025);
}
.production-cards h3 {
  font-size: clamp(22px, 1.85vw, 29px);
  letter-spacing: -0.015em;
  font-weight: 500;
}
.production-tools span {
  font-size: 12px;
  padding: 5px 11px;
  background: rgba(235, 242, 229, 0.04);
  border-color: rgba(235, 242, 229, 0.16);
}
.production-step small { font-size: 11px; letter-spacing: .12em; }
.production-evidence > p, .production-evidence button { font-size: 14px; }
.production-evidence button {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(235, 242, 229, 0.16);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color .22s ease, color .22s ease, background .22s ease;
}
.production-evidence button:hover {
  border-color: var(--acid);
  background: rgba(200, 255, 54, 0.08);
  color: var(--acid);
}

/* 平滑衔接 #about 纸本色回落至深林暗场 #contact（彻底消除黄绿刺眼断层） */
.about-section {
  --about-enter: clamp(140px, 13vw, 200px);
  --about-exit: clamp(180px, 18vw, 260px);
  background:
    linear-gradient(180deg, #07100f 0%, #2a3931 28%, #b9c3b2 66%, rgba(237, 240, 231, 0) 100%) top / 100% var(--about-enter) no-repeat,
    linear-gradient(180deg, rgba(237, 240, 231, 0) 0%, #9eab9a 45%, #24332c 78%, #081210 100%) bottom / 100% var(--about-exit) no-repeat,
    #edf0e7;
  padding-bottom: calc(var(--about-exit) + 30px);
}
.about-lead h2 {
  letter-spacing: -0.025em;
  line-height: 1.22;
}
.about-wall-intro { font-size: 15.5px; line-height: 1.88; color: #4c594f; }
.wall-toolbar > span { font-size: 11.5px; }
.wall-pause { font-size: 13px; min-height: 38px; transition: background .2s ease, color .2s ease; }
.wall-project-links button {
  font-size: 12.5px;
  min-height: 36px;
  padding-inline: 14px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.wall-footnote { font-size: 12px; }
.profile-placeholder { border-radius: var(--radius-lg); }
.timeline-item p { font-size: 15.5px; line-height: 1.88; color: #4a574e; }
.timeline-item time { font-size: 12px; font-weight: 500; color: #58665c; }
.timeline h3 { font-size: 21px; letter-spacing: -0.01em; }

/* 7. 底部「联系我」板块：深林暗场 + 柔和极光收尾（护眼沉稳，首尾呼应） */
.contact-section {
  min-height: 76vh;
  background:
    radial-gradient(ellipse 62% 52% at 50% 36%, rgba(200, 255, 54, 0.1) 0%, rgba(106, 230, 213, 0.05) 42%, transparent 74%),
    linear-gradient(180deg, #081210 0%, #050c0b 100%);
  color: var(--text);
  padding: 110px var(--gutter) 0;
}
.contact-orbit {
  border-color: rgba(200, 255, 54, 0.09);
}
.contact-orbit::before, .contact-orbit::after {
  border-color: rgba(235, 242, 229, 0.06);
}
.contact-section .section-number {
  color: var(--acid);
  border-color: rgba(200, 255, 54, 0.35);
}
.contact-section .kicker {
  color: var(--acid);
}
.contact-section h2 {
  margin-bottom: 22px;
  font-size: clamp(38px, 5.4vw, 82px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--text);
}
.contact-inner > p:not(.kicker) {
  max-width: 580px;
  margin-inline: auto;
  font-size: 16px;
  line-height: 1.88;
  color: var(--muted);
}
.contact-actions {
  gap: 14px;
  margin-top: 36px;
}
.contact-details {
  gap: 32px;
  margin-top: 44px;
  font-size: 13px;
  letter-spacing: .08em;
  color: #9fb0a2;
}
.contact-details a {
  color: var(--text);
  text-decoration-color: rgba(200, 255, 54, 0.5);
}
.contact-details a:hover { color: var(--acid); }
.contact-section footer {
  max-width: var(--max);
  margin: 84px auto 0;
  padding: 26px 0 32px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: #8c9d90;
}
.contact-section footer a {
  color: var(--text);
  transition: color .2s ease;
}
.contact-section footer a:hover { color: var(--acid); }

/* 8. 三大模态框（项目放映室、美术资产档案库、高清灯箱）交互与舒适度升级 */
.screening, .asset-dialog, .image-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--text);
  background: #081210;
  overflow: hidden;
}
.screening::backdrop, .asset-dialog::backdrop, .image-dialog::backdrop {
  background: rgba(5, 12, 10, 0.92);
}
.screening[open], .asset-dialog[open], .image-dialog[open] {
  animation: detail-enter .26s var(--ease-out);
}
@keyframes detail-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.screening-shell { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr); }
.screening-header {
  padding: 18px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: rgba(8, 18, 16, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.screening-eyebrow { color: var(--acid); font-size: 12px; letter-spacing: .08em; margin: 0 0 6px; }
.screening-header h2 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.screening-close {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 6px 8px 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(235, 242, 229, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  transition: border-color .22s ease, background .22s ease;
}
.screening-close span { font-size: 13.5px; }
.screening-close b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 400;
  font-size: 20px;
  transition: background .22s ease, color .22s ease;
}
.screening-close:hover { border-color: var(--acid); }
.screening-close:hover b { background: var(--acid); color: #081210; }

.screening-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #364e44 #081210;
  padding: 32px var(--gutter) 64px;
}
.screening-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(270px, 22vw, 350px);
  gap: clamp(28px, 3vw, 52px);
  align-items: start;
  max-width: 1680px;
  margin: 0 auto;
}
.screening-player { min-width: 0; align-self: center; }
.full-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--video-ratio, 1.7778);
  max-height: calc(100dvh - 210px);
  object-fit: contain;
  background: #040a09;
  border-radius: var(--radius-md);
  border: 1px solid rgba(235, 242, 229, 0.1);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.45);
  outline: none;
}
.full-video:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }
.now-playing {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 15px;
  color: #dce6d9;
  font-size: 14px;
  line-height: 1.6;
}
.now-playing small { font-size: 12.5px; color: #9fb0a1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.screening-info {
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
}
.screening-info .kicker { font-size: 11.5px; color: var(--acid); margin-bottom: 10px; }
.project-summary { font-size: 15px; line-height: 1.88; color: #d0dbd0; margin-bottom: 20px; }
.screening-info dl { margin: 0; }
.screening-info dl div { border-top: 1px solid var(--line); padding: 14px 0; }
.screening-info dt { color: #9fb1a2; font-size: 12.5px; margin-bottom: 6px; }
.screening-info dd { margin: 0; font-size: 14.5px; line-height: 1.85; color: #eef2e8; }

.video-error { padding: 18px; border-radius: var(--radius-md); background: #243320; color: #ecf1df; font-size: 15px; margin-top: 12px; }
.retry-video { margin-left: 14px; min-height: 38px; color: #091310; background: var(--acid); border: 0; border-radius: var(--radius-sm); padding: 8px 14px; cursor: pointer; }

.clip-section, .project-assets-section {
  max-width: 1680px;
  margin: 44px auto 0;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.clip-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.clip-heading h3 { font-size: 23px; font-weight: 500; margin: 0; letter-spacing: -0.01em; }
.clip-heading p { color: #9fb09e; font-size: 13px; margin: 0; }
.clip-grid, .project-assets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; }
.clip-button { display: block; width: 100%; border: 0; background: transparent; padding: 0; text-align: left; cursor: pointer; color: var(--text); min-width: 0; }
.clip-image {
  display: block;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  background: #0d1917;
  transition: border-color .22s ease, transform .22s var(--ease-out);
}
.clip-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .3s var(--ease-out); }
.clip-button:hover .clip-image { transform: translateY(-2px); border-color: rgba(235, 242, 229, 0.3); }
.clip-button:hover img { transform: scale(1.035); }
.clip-button[aria-pressed=true] .clip-image { border-color: var(--acid); box-shadow: 0 8px 24px rgba(200, 255, 54, 0.16); }
.clip-time {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 8px;
  border-radius: 6px;
  color: #f1f5eb;
  background: rgba(7, 16, 15, 0.82);
  backdrop-filter: blur(6px);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}
.clip-button strong { display: block; margin-top: 10px; line-height: 1.55; font-weight: 500; font-size: 14.5px; overflow-wrap: anywhere; }
.clip-button small { display: block; margin-top: 4px; color: #9aa99b; font-size: 12px; line-height: 1.55; }
.clip-button[aria-pressed=true] strong { color: var(--acid); }

.detail-project-nav {
  max-width: 1680px;
  margin: 48px auto 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.detail-project-nav p { flex-basis: 100%; font-size: 13px; color: #9bad9c; margin-bottom: 4px; }
.detail-project-nav button {
  border: 1px solid rgba(235, 242, 229, 0.2);
  padding: 9px 18px;
  min-height: 42px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.detail-project-nav button:hover { border-color: var(--acid); color: var(--acid); background: rgba(200, 255, 54, 0.06); }

/* 场景与氛围图库 */
.asset-dialog {
  padding: 0 var(--gutter) 64px;
  background: #edf0e7;
  color: #10221b;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #adb8a7 #edf0e7;
}
.asset-dialog::-webkit-scrollbar-track { background: #edf0e7; }
.asset-dialog::-webkit-scrollbar-thumb { background: #b4beae; border: 2px solid #edf0e7; }
.asset-dialog-top {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 24px 0 16px;
  background: rgba(237, 240, 231, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(16, 34, 27, 0.12);
}
.asset-dialog header, .image-dialog header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.asset-dialog header h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}
.archive-count {
  margin: 12px 0 0;
  font-size: 13px;
  color: #556654;
  font-variant-numeric: tabular-nums;
}
.asset-close, .image-close {
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  font-size: 13.5px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.asset-close:hover { background: #142820; border-color: #142820; color: #f2f5ed; }
.image-close:hover { background: var(--acid); border-color: var(--acid); color: #07100f; }
.asset-dialog .kicker { color: #52644e; margin-bottom: 6px; }
.archive-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 20px; margin-top: 22px; }
.archive-grid .asset-frame {
  background: #e1e6da;
  border-color: rgba(16, 34, 27, 0.12);
}
.archive-grid .asset-frame::before {
  filter: blur(22px) brightness(0.96) saturate(0.95);
  opacity: .38;
}
.archive-grid .asset-tile:hover .asset-frame {
  border-color: #1c382b;
  box-shadow: 0 14px 30px rgba(16, 34, 27, 0.12);
}
.archive-grid .asset-tile:hover strong { color: #142820; text-decoration: underline; text-underline-offset: 4px; }
.archive-grid .asset-tile small { color: #5c6e58; }
.asset-dialog button:focus-visible { outline-color: #234632; }

/* 单图高清灯箱（支持 ‹ / › 翻页与张数指示） */
.image-dialog {
  padding: 20px var(--gutter) 24px;
  display: none;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
  background: rgba(6, 15, 13, 0.95);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.image-dialog[open] { display: grid; }
.image-title-group { display: flex; align-items: baseline; gap: 14px; min-width: 0; flex-wrap: wrap; }
.image-dialog header h2 { font-size: 19px; font-weight: 500; margin: 0; overflow-wrap: anywhere; }
.image-counter { font-size: 13px; color: var(--acid); font-variant-numeric: tabular-nums; }
.image-stage {
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
}
.image-stage-img {
  max-width: calc(100% - 116px);
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}
.image-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding-bottom: 2px;
  border-radius: 50%;
  border: 1px solid rgba(235, 242, 229, 0.25);
  background: rgba(10, 22, 19, 0.72);
  backdrop-filter: blur(10px);
  color: var(--text);
  font-size: 28px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s var(--ease-out);
}
.image-prev { left: 0; }
.image-next { right: 0; }
.image-nav:hover:not(:disabled) {
  background: var(--acid);
  border-color: var(--acid);
  color: #07100f;
  transform: translateY(-50%) scale(1.06);
}
.image-nav:disabled { opacity: .25; pointer-events: none; }
.image-note { font-size: 14px; color: #afc2ac; line-height: 1.75; margin: 0; text-align: center; }

.toast {
  max-width: calc(100% - 32px);
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  background: var(--acid);
  color: #07100f;
  font-weight: 500;
  font-size: 13.5px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
  overflow-wrap: anywhere;
}

/* 9. 响应式多端舒适适配 */
@media (min-width: 1800px) {
  .showcase-surface { height: 72svh; max-height: 860px; }
}
@media (max-width: 1100px) {
  .work-heading { align-items: start; }
  .work-heading > p { max-width: 280px; font-size: 14px; }
  .showcase-caption { grid-template-columns: minmax(0, 1fr) auto; gap: 18px; }
  .showcase-description { grid-column: 1; grid-row: 2; }
  .showcase-controls { grid-column: 2; grid-row: 1; }
  .project-rail {
    display: flex;
    overflow-x: auto;
    padding-bottom: 14px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: #2f463d transparent;
  }
  .rail-project { flex: 0 0 185px; scroll-snap-align: start; }
  .screening-main { grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; }
  .clip-grid, .archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-wall-intro { font-size: 15px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-card { max-width: 480px; margin-bottom: 24px; }
  .archive-heading > p { text-align: left; }
}
@media (max-width: 800px) {
  .hero { min-height: auto; padding-top: 118px; padding-bottom: 88px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(40px, 9.5vw, 68px); }
  .hero-source { left: var(--gutter); right: auto; text-align: left; font-size: 12px; }
  .screening-main { grid-template-columns: 1fr; gap: 24px; }
  .screening-info dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .screening-info dl div:nth-child(2) { grid-column: 2; grid-row: 1 / span 2; }
  .full-video { max-height: 62dvh; }
  .project-summary { max-width: 680px; }
  .asset-highlights { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .asset-highlights .asset-tile:nth-child(n+4) { display: none; }
}
@media (max-width: 600px) {
  .site-header { padding: 14px 0; }
  .main-nav.open { padding-top: 90px; }
  .hero-desc { font-size: 15px; }
  .hero h1 { line-height: 1.15; }
  .hero-intro { font-size: 15.5px; letter-spacing: .02em; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { font-size: 14px; padding-inline: 18px; }
  .hero-card { padding: 20px; }
  .hero-source { bottom: 20px; }
  .scroll-cue { display: none; }
  .work-section { padding-top: 64px; padding-bottom: 68px; }
  .work-heading { display: block; padding-bottom: 22px; }
  .work-heading h2 { font-size: 32px; line-height: 1.3; }
  .work-heading h2 span { display: inline; font-size: 26px; }
  .work-heading > p { max-width: none; margin-top: 14px; font-size: 14.5px; }
  .work-heading > p br { display: none; }
  .project-jump { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(-1 * var(--gutter)); padding: 16px 20px 18px 0; gap: 8px; }
  .project-jump button { font-size: 13.5px; padding: 9px 16px; min-height: 40px; }
  .showcase-surface { height: auto; aspect-ratio: 1.45; }
  .preview-duration { font-size: 11px; left: 12px; top: 12px; padding: 5px 10px; }
  .showcase-enter { padding: 14px; }
  .showcase-cta-badge { padding: 8px 14px 8px 10px; font-size: 12.5px; gap: 8px; }
  .play-symbol { width: 24px; height: 24px; font-size: 10px; }
  .showcase-caption { padding: 18px 0; gap: 14px 10px; }
  .showcase-title { font-size: 26px; }
  .showcase-kind { font-size: 12px; }
  .showcase-description { grid-column: 1 / -1; }
  .showcase-description > p { font-size: 14.5px; }
  .showcase-controls { gap: 8px; }
  .showcase-controls button { width: 38px; height: 38px; font-size: 22px; }
  .showcase-count { font-size: 12px; min-width: 36px; }
  .work-bottom { display: block; margin-bottom: 18px; }
  .work-bottom p { font-size: 12px; }
  .catalog-count { margin-top: 6px !important; }
  .rail-project { flex-basis: 155px; }
  .asset-archive { padding-top: 44px; margin-top: 40px; }
  .archive-heading { display: block; }
  .archive-heading > p { margin-top: 12px; }
  .archive-heading > p br { display: none; }
  .asset-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .asset-highlights .asset-tile:nth-child(3) { display: none; }
  .production-heading h2 { font-size: clamp(26px, 6.8vw, 38px); line-height: 1.3; }
  .production-heading p:last-child, .production-cards p { font-size: 14.5px; }
  .about-lead h2 { font-size: clamp(30px, 8.5vw, 44px); }
  .about-lead h2 span { white-space: normal; }
  .about-copy > p, .timeline-item p { font-size: 14.5px; }
  .wall-toolbar > span { font-size: 11px; }
  .wall-project-links button { font-size: 12px; }
  .screening-header { padding: 14px 18px; gap: 12px; }
  .screening-header h2 { font-size: 22px; }
  .screening-eyebrow { font-size: 11px; }
  .screening-close { padding: 5px; gap: 0; }
  .screening-close span { display: none; }
  .screening-close b { width: 34px; height: 34px; }
  .screening-body { padding: 18px 18px 44px; }
  .screening-main { gap: 20px; }
  .now-playing { font-size: 13.5px; flex-wrap: wrap; gap: 5px; }
  .screening-info { padding: 18px; }
  .screening-info dl { display: block; }
  .project-summary { font-size: 14.5px; }
  .screening-info dd { font-size: 14.5px; }
  .clip-section { margin-top: 28px; }
  .clip-heading { display: block; }
  .clip-heading h3 { font-size: 20px; }
  .clip-heading p { margin-top: 6px; }
  .clip-grid, .project-assets, .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .clip-button strong { font-size: 13.5px; }
  .clip-time { right: 5px; bottom: 5px; font-size: 10.5px; }
  .asset-dialog { padding: 0 18px 40px; }
  .asset-dialog header h2 { font-size: 26px; }
  .image-dialog { padding: 14px 14px 18px; }
  .image-dialog header h2 { font-size: 16px; }
  .image-stage-img { max-width: calc(100% - 84px); }
  .image-nav { width: 36px; height: 36px; font-size: 22px; }
  .contact-inner h2 { font-size: clamp(30px, 8.4vw, 48px); line-height: 1.24; }
  .contact-details { line-height: 1.9; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .showcase-video { display: none; }
}
@media print {
  .site-header { display: none !important; }
  .work-section { padding: 30px; }
  .project-jump, .showcase, .work-bottom, .asset-archive, .screening, .asset-dialog, .image-dialog { display: none !important; }
  .project-rail { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .rail-project { color: black; break-inside: avoid; }
  .contact-section { background: #f2f5ed !important; color: #111 !important; min-height: auto; padding: 40px 28px 20px; }
  .contact-section h2, .contact-section p, .contact-details a { color: #111 !important; }
}
