/* ==========================================================================
   物相 WUXIANG · AD FILM STUDIO — 单页主页样式
   配色：墨黑 / 骨白 / 朱砂 / 黄铜
   ========================================================================== */

:root {
  --ink: #08080a;
  --ink-2: #0e0e11;
  --ink-3: #15151a;
  --bone: #efe9dd;
  --bone-60: rgba(239, 233, 221, 0.6);
  --bone-40: rgba(239, 233, 221, 0.4);
  --bone-22: rgba(239, 233, 221, 0.22);
  --line: rgba(239, 233, 221, 0.13);
  --line-strong: rgba(239, 233, 221, 0.28);
  --verm: #e8462f;
  --verm-soft: rgba(232, 70, 47, 0.16);
  --brass: #c9a86a;

  --sans: "Segoe UI Variable Display", "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei",
    system-ui, -apple-system, sans-serif;
  --cn-light: "Microsoft YaHei UI Light", "Microsoft YaHei Light", "Microsoft YaHei",
    "DengXian", "PingFang SC", sans-serif;
  --serif-en: "Constantia", "Cambria", Georgia, "Times New Roman", serif;
  --mono: "Bahnschrift", "Consolas", ui-monospace, "SFMono-Regular", monospace;

  --gut: clamp(20px, 4.4vw, 76px);
  --ease: cubic-bezier(0.22, 0.61, 0.24, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0b0b0d; }
::-webkit-scrollbar-thumb { background: #2a2a30; border: 3px solid #0b0b0d; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--verm); }

/* ---------- 通用排版工具 ---------- */

.wrap { padding-inline: var(--gut); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bone-40);
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--verm);
  flex: none;
}
.eyebrow.no-rule::before { display: none; }

.cn-display { font-family: var(--cn-light); font-weight: 300; letter-spacing: -0.01em; }

.en-accent {
  font-family: var(--serif-en);
  font-style: italic;
  letter-spacing: 0.01em;
}

.tag-mono {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

section { position: relative; }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
  margin-bottom: clamp(34px, 5vw, 72px);
}
.sec-title {
  margin: 12px 0 0;
  font-family: var(--cn-light);
  font-weight: 300;
  font-size: clamp(30px, 4.4vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.sec-title em {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 0.52em;
  letter-spacing: 0.02em;
  color: var(--bone-40);
  margin-left: 0.5em;
}
.sec-note {
  max-width: 34ch;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--bone-60);
}

/* ---------- 噪点 / 暗角 / 进度 ---------- */

#grain {
  position: fixed;
  inset: -50%;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.32;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  animation: grainShift 1.1s steps(3) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-2.5%, 1.5%); }
  66% { transform: translate(1.5%, -2%); }
  100% { transform: translate(0, 0); }
}

#vignette {
  position: fixed;
  inset: 0;
  z-index: 8990;
  pointer-events: none;
  background: radial-gradient(115% 88% at 50% 42%, transparent 52%, rgba(0, 0, 0, 0.62) 100%);
}

#progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--verm), #ff7a4f);
  z-index: 9100;
}

/* ---------- 右侧胶片刻度 ---------- */

#ruler {
  position: fixed;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  z-index: 8970;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  mix-blend-mode: difference;
}
#ruler .perf {
  width: 9px;
  height: 13px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.4);
}
#ruler .tc {
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: #fff;
  margin: 8px 0;
}
@media (max-width: 1080px) { #ruler { display: none; } }

/* ---------- 自定义光标 ---------- */

#cur-dot, #cur-ring {
  position: fixed;
  top: 0; left: 0;
  z-index: 9500;
  pointer-events: none;
  mix-blend-mode: difference;
  filter: invert(0);
}
#cur-dot {
  width: 5px; height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: #fff;
}
#cur-ring {
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 0.28s var(--ease-out), width 0.28s var(--ease-out),
    height 0.28s var(--ease-out), margin 0.28s var(--ease-out), opacity 0.2s;
}
#cur-ring span {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transition: opacity 0.18s;
  white-space: nowrap;
}
body.cursor-on #cur-dot, body.cursor-on #cur-ring { display: block; }
body.cursor-on { cursor: none; }
#cur-dot, #cur-ring { display: none; }

/* ---------- 头部导航 ---------- */

header.top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px var(--gut);
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
header.top.stuck {
  background: rgba(8, 8, 10, 0.74);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
  padding-block: 12px;
}
.logo { display: flex; align-items: baseline; gap: 11px; }
.logo .mark {
  font-family: var(--cn-light);
  font-weight: 300;
  font-size: 25px;
  letter-spacing: 0.34em;
  line-height: 1;
}
.logo .mark b { font-weight: 300; color: var(--verm); }
.logo .sub {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bone-40);
}
nav.main { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 30px); }
nav.main a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-60);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}
nav.main a i {
  font-style: normal;
  font-family: var(--sans);
  letter-spacing: 0.06em;
  color: var(--bone);
  margin-left: 6px;
}
nav.main a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--verm);
  transition: width 0.35s var(--ease-out);
}
nav.main a:hover { color: var(--bone); }
nav.main a:hover::after { width: 100%; }
@media (max-width: 860px) { nav.main a i { display: none; } }

/* ---------- 背景音控件 ---------- */

.top-right { display: flex; align-items: center; gap: clamp(14px, 1.9vw, 28px); }

.sbtn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-60);
  background: rgba(8, 8, 10, 0.35);
  transition: border-color 0.4s, color 0.4s, background 0.4s;
  flex: none;
}
.sbtn:hover { color: var(--bone); border-color: var(--bone-22); }
.sbtn .stxt i { font-style: normal; color: var(--bone-40); margin-left: 5px; }
.sbtn .stime { color: var(--bone-22); font-variant-numeric: tabular-nums; letter-spacing: 0.12em; }

.sbtn .eq { display: flex; align-items: flex-end; gap: 2px; height: 13px; }
.sbtn .eq i {
  display: block;
  width: 2px;
  height: 3px;
  background: var(--bone-22);
  transition: background 0.4s, height 0.12s linear;
}

.sbtn.on { color: var(--bone); border-color: rgba(232, 70, 47, 0.5); }
.sbtn.on .stxt i { color: var(--verm); }
.sbtn.on .stime { color: var(--bone-40); }
.sbtn.on .eq i { background: var(--verm); }

/* 正片在播：背景音自动让位 */
.sbtn.ducked { color: var(--bone-40); border-color: var(--line); border-style: dashed; }
.sbtn.ducked .eq i { background: var(--bone-22); }
.sbtn.ducked .stxt i { color: var(--bone-40); }

/* 还没出声过：轻轻呼吸一下，告诉他这里能点 */
.sbtn.need { animation: sbtnPulse 2.6s ease-in-out infinite; }
@keyframes sbtnPulse {
  0%, 100% { border-color: var(--line-strong); box-shadow: 0 0 0 0 rgba(232, 70, 47, 0); }
  50% { border-color: rgba(232, 70, 47, 0.55); box-shadow: 0 0 0 4px rgba(232, 70, 47, 0.12); }
}

/* 未接Analyser时的兜底跳动 */
.sbtn.on.fake .eq i { animation: eqjump 1.1s ease-in-out infinite; }
.sbtn.on.fake .eq i:nth-child(2) { animation-duration: 0.78s; animation-delay: -0.2s; }
.sbtn.on.fake .eq i:nth-child(3) { animation-duration: 1.34s; animation-delay: -0.5s; }
.sbtn.on.fake .eq i:nth-child(4) { animation-duration: 0.92s; animation-delay: -0.35s; }
.sbtn.on.fake .eq i:nth-child(5) { animation-duration: 1.18s; animation-delay: -0.7s; }
@keyframes eqjump { 0%, 100% { height: 3px; } 35% { height: 12px; } 60% { height: 6px; } 80% { height: 10px; } }

/* 首次开播的提示条 */
.snote {
  position: fixed;
  left: clamp(16px, 3vw, 40px);
  bottom: clamp(18px, 3vh, 34px);
  z-index: 9200;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 15px 9px 12px;
  border: 1px solid var(--line);
  background: rgba(8, 8, 10, 0.82);
  backdrop-filter: blur(10px);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-60);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.9s var(--ease-out);
  pointer-events: none;
  max-width: min(620px, calc(100vw - 32px));
}
.snote.show { opacity: 1; transform: none; }
.snote .dot { width: 6px; height: 6px; border-radius: 99px; background: var(--verm); flex: none; animation: blip 1.6s ease-in-out infinite; }
@keyframes blip { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* ---------- HERO ---------- */

#hero { padding-top: clamp(96px, 13vh, 172px); padding-bottom: clamp(30px, 5vh, 60px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  gap: clamp(28px, 4vw, 70px);
  align-items: end;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-type { position: relative; }
.h-kicker { margin-bottom: clamp(20px, 3vh, 34px); }
.h-line {
  display: block;
  position: relative;
  overflow: hidden;
}
.h-line .zh {
  display: block;
  font-family: var(--cn-light);
  font-weight: 300;
  font-size: clamp(46px, min(10.4vw, 15vh), 150px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  transform: translateY(105%);
  opacity: 0;
  transition: transform 1.15s var(--ease-out), opacity 0.9s ease;
}
.h-line:nth-child(2) .zh { transition-delay: 0.1s; }
.h-line:nth-child(3) .zh { transition-delay: 0.2s; }
.ready .h-line .zh { transform: translateY(0); opacity: 1; }
.h-line .en {
  position: absolute;
  right: 0;
  bottom: clamp(8px, 1.6vw, 26px);
  font-family: var(--serif-en);
  font-style: italic;
  font-size: clamp(13px, 1.5vw, 22px);
  color: var(--bone-40);
  letter-spacing: 0.02em;
  opacity: 0;
  transition: opacity 1s ease 0.6s;
}
.h-line .en.alt { font-family: var(--mono); font-style: normal; font-size: clamp(10px, 1vw, 13px); letter-spacing: 0.28em; text-transform: uppercase; }
.ready .h-line .en { opacity: 1; }
.h-line .red { color: var(--verm); }

.hero-foot {
  margin-top: clamp(26px, 4vh, 46px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: end;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.hero-lede {
  font-family: var(--cn-light);
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.85;
  color: var(--bone-60);
  max-width: 44ch;
}
.hero-lede b { color: var(--bone); font-weight: 400; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  --bg: transparent;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone);
  transition: color 0.3s, border-color 0.3s;
  isolation: isolate;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bone);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
}
.btn:hover { color: var(--ink); border-color: var(--bone); }
.btn:hover::before { transform: translateY(0); }
.btn.solid { background: var(--verm); border-color: var(--verm); color: #fff; }
.btn.solid::before { background: var(--bone); }
.btn.solid:hover { color: var(--ink); }

/* 接触印样张 */
.sheet-wrap { position: relative; padding: 12px 16px; }
.sheet {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #121216, #0b0b0d);
  padding: 26px 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.sheet::before, .sheet::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px;
  height: 12px;
  background-image: radial-gradient(circle at 50% 50%, #0b0b0d 2.6px, transparent 3px);
  background-size: 18px 12px;
  opacity: 0.9;
}
.sheet::before { top: 7px; }
.sheet::after { bottom: 7px; }
.cs-tile {
  position: relative;
  overflow: hidden;
  height: clamp(104px, 15vh, 200px);
  background: #1a1a1f;
  cursor: pointer;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.cs-tile img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92) contrast(1.02); }
.cs-tile b {
  position: absolute;
  left: 4px; bottom: 3px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.66);
  text-shadow: 0 1px 3px #000;
}
.cs-tile:hover { transform: scale(1.16); z-index: 5; box-shadow: 0 18px 46px rgba(0, 0, 0, 0.7); }
.sheet-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-40);
}

/* ---------- 跑马灯 ---------- */

.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 15px 0;
  margin-top: clamp(34px, 5vh, 64px);
  background: linear-gradient(90deg, #0b0b0d, #101014 50%, #0b0b0d);
}
.marquee .track { display: flex; width: max-content; animation: slide 34s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee .set { display: flex; align-items: center; gap: 30px; padding-right: 30px; }
.marquee i {
  font-style: normal;
  font-family: var(--cn-light);
  font-size: clamp(15px, 1.6vw, 21px);
  letter-spacing: 0.06em;
  color: var(--bone);
  white-space: nowrap;
}
.marquee em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bone-40);
  white-space: nowrap;
}
.marquee s { text-decoration: none; color: var(--verm); font-size: 13px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- 主张 STATEMENT ---------- */

#statement { padding-block: clamp(74px, 11vh, 150px); }
.quote-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 90px); }
@media (max-width: 980px) { .quote-grid { grid-template-columns: 1fr; } }
.pull {
  margin: 0;
  font-family: var(--cn-light);
  font-weight: 300;
  font-size: clamp(28px, 3.9vw, 56px);
  line-height: 1.24;
  letter-spacing: -0.02em;
}
.pull .lk { display: block; overflow: hidden; }
.pull .lk > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
  transition-delay: calc(var(--i) * 0.12s);
}
.in .pull .lk > span { transform: translateY(0); }
.pull .hl { color: var(--verm); }
.pull .en-inline {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 0.48em;
  color: var(--bone-40);
  letter-spacing: 0.01em;
}
.stmt-body { display: grid; gap: 18px; align-content: start; }
.stmt-body p { margin: 0; font-size: 14.5px; line-height: 1.95; color: var(--bone-60); }
.stmt-body p b { color: var(--bone); font-weight: 400; }
.stmt-kicker-en {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
  line-height: 2;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  margin-top: clamp(44px, 7vh, 92px);
}
.stats > div {
  border-right: 1px solid var(--line);
  padding: 26px 22px 22px;
  display: grid;
  gap: 6px;
}
.stats > div:last-child { border-right: 0; }
.stats .n {
  font-family: var(--cn-light);
  font-weight: 300;
  font-size: clamp(34px, 4.6vw, 68px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stats .n small { font-size: 0.36em; color: var(--bone-40); margin-left: 4px; letter-spacing: 0.02em; }
.stats .lb { font-size: 13px; color: var(--bone-60); }
.stats .en { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bone-22); }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div { border-bottom: 1px solid var(--line); }
  .stats > div:nth-child(2n) { border-right: 0; }
}

/* ---------- 成片库 LIBRARY ---------- */

#library { padding-block: clamp(60px, 9vh, 120px); }

.filters { display: grid; gap: 12px; margin-bottom: 34px; }
.frow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.frow > .fk {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-22);
  min-width: 52px;
}
.chip {
  border: 1px solid var(--line);
  padding: 7px 14px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--bone-60);
  transition: all 0.28s var(--ease);
  white-space: nowrap;
  border-radius: 99px;
}
.chip em { font-family: var(--mono); font-style: normal; font-size: 9px; letter-spacing: 0.16em; color: var(--bone-22); margin-left: 7px; }
.chip:hover { color: var(--bone); border-color: var(--line-strong); }
.chip.on { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.chip.on em { color: rgba(8, 8, 10, 0.5); }

.count-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-22);
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin-bottom: 26px;
}
.count-line b { color: var(--verm); font-weight: 400; }

.wall { columns: 4; column-gap: 18px; }
@media (max-width: 1420px) { .wall { columns: 3; } }
@media (max-width: 940px) { .wall { columns: 2; } }
@media (max-width: 520px) { .wall { columns: 1; } }

.card {
  break-inside: avoid;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  background: #0d0d10;
  position: relative;
  cursor: pointer;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-out), border-color 0.4s;
  transition-delay: calc(var(--i, 0) * 0.05s);
}
.in .card, .card.shown { opacity: 1; transform: none; }
.card:hover { border-color: var(--line-strong); }
.card .frame { position: relative; overflow: hidden; background: #16161b; }
.card .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out), filter 0.5s;
  filter: saturate(0.9) contrast(1.03);
}
.card:hover .frame img { transform: scale(1.045); filter: saturate(1.06) contrast(1.06) brightness(1.06); }
.card .idx {
  position: absolute;
  top: 9px; left: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 1px 4px #000;
  z-index: 2;
}
.card .ratiotag {
  position: absolute;
  top: 9px; right: 10px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  padding: 3px 6px;
  background: rgba(8, 8, 10, 0.66);
  color: rgba(255, 255, 255, 0.8);
  z-index: 2;
  backdrop-filter: blur(3px);
}
.card .routebadge {
  position: absolute;
  bottom: 9px; left: 10px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 3px 7px;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.4s var(--ease-out);
}
.card .routebadge.a { background: rgba(201, 168, 106, 0.9); color: #17130b; }
.card .routebadge.b { background: rgba(232, 70, 47, 0.92); }
.card:hover .routebadge { opacity: 1; transform: none; }
.card .cap { padding: 13px 14px 15px; display: grid; gap: 3px; }
.card .cap .cn { font-family: var(--cn-light); font-size: 15.5px; letter-spacing: 0.02em; }
.card .cap .en { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone-40); }
.card .cap .meta {
  display: flex; gap: 12px; align-items: center;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em;
  color: var(--bone-22); margin-top: 4px;
  border-top: 1px solid var(--line); padding-top: 7px;
}
.card .cap .meta .scrubhint { color: var(--verm); opacity: 0; transition: opacity 0.3s; margin-left: auto; }
.card:hover .cap .meta .scrubhint { opacity: 1; }

/* ---------- 灯箱 ---------- */

#lightbox {
  position: fixed;
  inset: 0;
  z-index: 9600;
  background: rgba(6, 6, 8, 0.94);
  backdrop-filter: blur(18px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
#lightbox.open { opacity: 1; pointer-events: auto; }
#lightbox .lb-top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: 22px var(--gut);
  border-bottom: 1px solid var(--line);
}
#lightbox .lb-title { font-family: var(--cn-light); font-weight: 300; font-size: clamp(20px, 2.6vw, 34px); line-height: 1.2; }
#lightbox .lb-sub { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-40); margin-top: 7px; display: grid; gap: 4px; }
#lightbox .lb-sub .look { font-family: var(--sans); letter-spacing: 0.02em; text-transform: none; font-size: 12.5px; color: var(--bone-60); max-width: 52ch; }
.lb-close { border: 1px solid var(--line-strong); width: 40px; height: 40px; display: grid; place-items: center; font-family: var(--mono); font-size: 13px; transition: all 0.3s; }
.lb-close:hover { background: var(--bone); color: var(--ink); }
#lightbox .lb-stage { position: relative; display: grid; place-items: center; padding: 22px var(--gut); min-height: 0; }
#lightbox .lb-frame {
  position: relative;
  max-height: 100%;
  display: grid;
  place-items: center;
  cursor: ew-resize;
}
#lightbox .lb-frame img { max-height: var(--lbh, calc(100vh - 400px)); width: auto; max-width: 100%; object-fit: contain; }
#lightbox .lb-tc {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  background: rgba(8, 8, 10, 0.7); padding: 4px 8px; color: rgba(255,255,255,0.82);
}
#lightbox .lb-hint {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5); white-space: nowrap;
}
#lightbox .lb-nav { position: absolute; inset: auto 0 0 0; display: none; }
#lightbox .lb-bottom { padding: 14px var(--gut) 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.filmstrip { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 4px; min-width: 0; }
.filmstrip button { flex: none; width: 74px; border: 1px solid transparent; opacity: 0.44; transition: all 0.3s; position: relative; }
.filmstrip button img { aspect-ratio: 9 / 12; object-fit: cover; width: 100%; }
.filmstrip button:hover { opacity: 0.85; }
.filmstrip button.on { opacity: 1; border-color: var(--verm); }
.lb-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.lb-actions .grp { display: flex; gap: 8px; align-items: center; }
.lb-btn { border: 1px solid var(--line); padding: 9px 15px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; transition: all 0.28s; }
.lb-btn:hover { border-color: var(--bone); background: var(--bone); color: var(--ink); }
.lb-meta { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone-22); }

/* ---------- 灯箱里的正片播放 ---------- */

#lightbox .lb-frame video {
  display: none;
  max-width: 100%;
  max-height: var(--lbh, calc(100vh - 400px));
  background: #000;
  border: 1px solid var(--line-strong);
  outline: none;
}
#lightbox.film .lb-frame { cursor: default; }
#lightbox.film .lb-frame video { display: block; }
#lightbox.film .lb-hint { bottom: -18px; color: rgba(255, 255, 255, 0.36); }
#lightbox.film #lb-img { display: none; }
#lightbox.film .filmstrip { opacity: 0.26; pointer-events: none; }
#lightbox.film #lb-f-prev, #lightbox.film #lb-f-next { opacity: 0.3; pointer-events: none; }

.lb-btn.play { border-color: rgba(232, 70, 47, 0.55); color: var(--verm); }
.lb-btn.play:hover { background: var(--verm); border-color: var(--verm); color: #fff; }
.lb-btn.ghost { color: var(--bone-40); }
.lb-btn.hide { display: none; }
#lightbox .lb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }

/* 成片墙上的「可以播」标记 */
.card .playtag {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  padding: 8px 13px;
  border: 1px solid rgba(239, 233, 221, 0.55);
  background: rgba(8, 8, 10, 0.55);
  backdrop-filter: blur(3px);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  white-space: nowrap;
  color: var(--bone);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.5s var(--ease-out), background 0.3s, border-color 0.3s, color 0.3s;
}
.card:hover .playtag { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.card:hover .playtag:hover { background: var(--verm); border-color: var(--verm); color: #fff; }

/* ---------- 两条路线 ROUTES ---------- */

#routes { padding-block: clamp(60px, 9vh, 120px); border-top: 1px solid var(--line); }
.route-row { display: flex; gap: 18px; align-items: stretch; min-height: 430px; }
@media (max-width: 900px) { .route-row { flex-direction: column; min-height: 0; } }
.route {
  position: relative;
  flex: 1;
  border: 1px solid var(--line);
  padding: 26px 26px 22px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 12px;
  transition: flex 0.6s var(--ease-out), border-color 0.4s, background 0.5s;
  background: linear-gradient(180deg, #0d0d10, #0a0a0c);
}
.route::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% auto;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, var(--verm-soft), transparent 66%);
  opacity: 0;
  transition: opacity 0.6s;
  pointer-events: none;
}
.route.a::after { background: radial-gradient(circle, rgba(201, 168, 106, 0.16), transparent 66%); }
.route:hover::after { opacity: 1; }
.route:hover { flex: 1.22; border-color: var(--line-strong); }
@media (max-width: 900px) { .route:hover { flex: 1; } }
.route .ghost {
  position: absolute;
  right: 14px; top: -18px;
  font-family: var(--cn-light);
  font-weight: 300;
  font-size: clamp(110px, 15vw, 210px);
  line-height: 1;
  color: rgba(239, 233, 221, 0.045);
  pointer-events: none;
}
.route .rhead { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.route .rname { font-family: var(--cn-light); font-weight: 300; font-size: clamp(26px, 3.2vw, 42px); letter-spacing: 0.04em; }
.route .ren { font-family: var(--mono); font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--bone-40); }
.route .rone { font-size: 15px; color: var(--bone-60); max-width: 40ch; }
.route .rone b { color: var(--bone); font-weight: 400; }
.route .rlines { display: grid; align-content: start; gap: 0; margin-top: 6px; }
.route .rl { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.route .rl dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-22); padding-top: 3px; }
.route .rl dd { margin: 0; color: var(--bone-60); }
.route .price { display: flex; align-items: baseline; gap: 12px; margin-top: 4px; }
.route .price b { font-family: var(--cn-light); font-weight: 300; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: 0.02em; }
.route .price span { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-22); }
.route .rtags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.route .rtags i { font-style: normal; font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; border: 1px solid var(--line); padding: 4px 8px; color: var(--bone-40); }

/* ---------- 下一条片子 INTAKE ---------- */

#intake { padding-block: clamp(60px, 9vh, 120px); border-top: 1px solid var(--line); }
.inputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: clamp(30px, 5vh, 56px); }
@media (max-width: 860px) { .inputs { grid-template-columns: 1fr; } }
.inp { border: 1px solid var(--line); padding: 20px 20px 18px; display: grid; gap: 8px; position: relative; overflow: hidden; transition: border-color 0.4s, background 0.4s; }
.inp:hover { border-color: var(--line-strong); background: #0d0d10; }
.inp .no { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--verm); }
.inp h4 { margin: 0; font-family: var(--cn-light); font-weight: 300; font-size: 22px; letter-spacing: 0.03em; }
.inp .en { font-family: var(--mono); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bone-22); }
.inp p { margin: 2px 0 0; font-size: 13px; color: var(--bone-60); line-height: 1.8; }
.inp .plus { position: absolute; right: 14px; top: 14px; font-family: var(--cn-light); font-size: 26px; color: rgba(239, 233, 221, 0.12); line-height: 1; }

.config { display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); gap: clamp(20px, 3vw, 44px); }
@media (max-width: 980px) { .config { grid-template-columns: 1fr; } }
.panel { border: 1px solid var(--line); background: linear-gradient(180deg, #0d0d10, #09090b); padding: clamp(20px, 2.4vw, 32px); }
.ctrl { margin-bottom: 26px; }
.ctrl > label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.ctrl .lab { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-40); }
.ctrl .val { font-family: var(--cn-light); font-size: 19px; letter-spacing: 0.02em; }
.ctrl .val b { color: var(--verm); font-weight: 400; }
.seg { display: flex; gap: 7px; flex-wrap: wrap; }
.seg button { border: 1px solid var(--line); padding: 9px 13px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-60); transition: all 0.26s var(--ease); display: flex; align-items: center; gap: 8px; }
.seg button i { font-style: normal; font-family: var(--sans); letter-spacing: 0.04em; font-size: 12px; color: var(--bone); }
.seg button:hover { border-color: var(--line-strong); color: var(--bone); }
.seg button.on { background: var(--verm); border-color: var(--verm); color: #fff; }
.seg button.on i { color: #fff; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; cursor: ew-resize; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--line-strong); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; margin-top: -5.5px; border-radius: 50%; background: var(--verm); box-shadow: 0 0 0 4px rgba(232, 70, 47, 0.18); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--line-strong); }
input[type="range"]::-moz-range-thumb { width: 13px; height: 13px; border: 0; border-radius: 50%; background: var(--verm); }
.ticks { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; color: var(--bone-22); }

.stage { border: 1px solid var(--line); background: #050506; padding: 16px; display: grid; gap: 16px; min-width: 0; }
.stage > div { min-width: 0; }
.stage-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone-22); }
.stage-top .rec { display: flex; align-items: center; gap: 7px; color: var(--bone-60); }
.stage-top .rec b { width: 7px; height: 7px; border-radius: 50%; background: var(--verm); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: 0.15; } }
.preview { display: grid; place-items: center; min-height: 300px; }
.pbox {
  position: relative;
  overflow: hidden;
  background: #101014;
  max-width: 100%;
  transition: width 0.6s var(--ease-out), height 0.6s var(--ease-out);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
}
.pbox img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pbox .scan { position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 3px); pointer-events: none; }
.pbox .corner { position: absolute; width: 15px; height: 15px; border: 1px solid rgba(255, 255, 255, 0.5); }
.pbox .c1 { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.pbox .c2 { top: 8px; right: 8px; border-left: 0; border-bottom: 0; }
.pbox .c3 { bottom: 8px; left: 8px; border-right: 0; border-top: 0; }
.pbox .c4 { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }
.pbox .hud { position: absolute; left: 12px; bottom: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: #fff; text-shadow: 0 1px 4px #000; z-index: 3; }
.pbox .hud em { font-style: normal; color: var(--verm); }

.shots { display: grid; grid-auto-flow: column; grid-auto-columns: 118px; gap: 8px; overflow-x: auto; padding-bottom: 6px; min-width: 0; }
.shot { border: 1px solid var(--line); background: #0c0c0f; display: grid; grid-template-rows: 62px auto; overflow: hidden; animation: shotIn 0.5s var(--ease-out) both; }
@keyframes shotIn { from { opacity: 0; transform: translateY(10px); } }
.shot .sthumb { position: relative; overflow: hidden; background: #16161b; }
.shot .sthumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.82; }
.shot .sn { position: absolute; top: 4px; left: 5px; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.1em; color: #fff; text-shadow: 0 1px 3px #000; }
.shot .sb { padding: 8px 8px 9px; display: grid; gap: 4px; }
.shot .sb .cn { font-size: 12px; color: var(--bone); letter-spacing: 0.02em; }
.shot .sb .en { font-family: var(--mono); font-size: 8px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone-22); }
.shot .sb .sec { font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; color: var(--verm); }

.summary { border: 1px solid var(--line); border-left: 2px solid var(--verm); padding: 16px 18px; display: grid; gap: 10px; margin-top: 18px; background: #0b0b0d; }
.summary .line1 { font-family: var(--cn-light); font-size: clamp(17px, 1.9vw, 24px); letter-spacing: 0.02em; line-height: 1.5; }
.summary .line1 b { color: var(--verm); font-weight: 400; }
.summary .line2 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-22); line-height: 1.9; }
.summary .copy { justify-self: start; }
.copied { color: var(--verm) !important; }

/* ---------- 工序 PIPELINE ---------- */

#pipeline { padding-block: clamp(60px, 9vh, 120px); border-top: 1px solid var(--line); }
.rail { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 16px; cursor: grab; scroll-snap-type: x proximity; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail::-webkit-scrollbar { height: 4px; }
.rail::-webkit-scrollbar-thumb { background: var(--line-strong); border: 0; }
.step { flex: none; width: clamp(240px, 23vw, 320px); border: 1px solid var(--line); background: #0c0c0f; scroll-snap-align: start; display: grid; grid-template-rows: 150px auto; overflow: hidden; transition: border-color 0.4s, transform 0.5s var(--ease-out); }
.step:hover { border-color: var(--line-strong); transform: translateY(-5px); }
.step .simg { position: relative; overflow: hidden; }
.step .simg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.55) contrast(1.06); transition: filter 0.6s, transform 0.9s var(--ease-out); }
.step:hover .simg img { filter: none; transform: scale(1.06); }
.step .sno { position: absolute; left: 10px; top: 8px; font-family: var(--cn-light); font-size: 34px; line-height: 1; color: #fff; text-shadow: 0 2px 10px #000; }
.step .sbody { padding: 16px 16px 18px; display: grid; gap: 8px; }
.step .sbody .cn { font-family: var(--cn-light); font-size: 19px; letter-spacing: 0.05em; }
.step .sbody .en { font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--verm); }
.step .sbody p { margin: 0; font-size: 12.5px; line-height: 1.85; color: var(--bone-60); }
.step .sbody .human { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone-22); border-top: 1px solid var(--line); padding-top: 9px; }
.step .sbody .human b { color: var(--brass); font-weight: 400; }
.rail-hint { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-22); margin-bottom: 18px; }

/* ---------- 人工在环 HUMAN ---------- */

#human { padding-block: clamp(60px, 9vh, 120px); border-top: 1px solid var(--line); }
.human-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(26px, 4vw, 70px); align-items: start; }
@media (max-width: 980px) { .human-grid { grid-template-columns: 1fr; } }
.human-left { position: sticky; top: 116px; display: grid; gap: 20px; }
.human-left h3 { margin: 0; font-family: var(--cn-light); font-weight: 300; font-size: clamp(28px, 3.6vw, 48px); line-height: 1.22; letter-spacing: -0.01em; }
.human-left h3 span { color: var(--verm); }
.human-left p { margin: 0; font-size: 14px; line-height: 1.95; color: var(--bone-60); max-width: 40ch; }
.human-badge { border: 1px dashed var(--line-strong); padding: 14px 16px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-40); line-height: 2; }
.human-badge b { color: var(--bone); font-weight: 400; }
.hlist { display: grid; }

/* ---------- 窄屏（放在文件末尾，保证覆盖前面的布局规则） ---------- */

@media (max-width: 760px) {
  nav.main { gap: 13px; }
  nav.main a { font-size: 10px; letter-spacing: 0.12em; }
  nav.main a:nth-child(4), nav.main a:nth-child(5) { display: none; }
}

@media (max-width: 720px) {
  .hero-foot { grid-template-columns: 1fr; gap: 22px; }
  /* 说明条允许换行，避免撑宽版面 */
  .count-line, .stage-top, .rail-hint, .sheet-meta { flex-wrap: wrap; gap: 6px 16px; }
  .count-line, .rail-hint, .stage-top { font-size: 9px; letter-spacing: 0.14em; }
  .hero-lede { font-size: 15px; max-width: none; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .h-line .en { display: none; }
  .sheet-wrap { padding: 0; margin-top: 26px; }
  .marquee .track { animation-duration: 22s; }
  .marquee .set { gap: 20px; padding-right: 20px; }
  .quote-grid { gap: 26px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div { border-bottom: 1px solid var(--line); }
  .stats > div:nth-child(2n) { border-right: 0; }
  .route { padding: 20px 18px 18px; }
  .route .rl { grid-template-columns: 1fr; gap: 4px; }
  .route .ghost { font-size: 130px; top: -8px; }
  .config { grid-template-columns: 1fr; }
  .stage { padding: 12px; }
  .human-grid { grid-template-columns: 1fr; }
  .human-left { position: static; }
  .hrow { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 18px 4px 18px 2px; }
  .contact-grid { grid-template-columns: 1fr; }
  .crow { grid-template-columns: 1fr; gap: 4px; }
  footer.foot { flex-direction: column; align-items: flex-start; }
  .lb-hint { display: none; }
  #lightbox .lb-top { padding: 16px 18px; }
  #lightbox .lb-stage { padding: 12px 16px; }
  #lightbox .lb-frame img { max-height: var(--lbh, calc(100vh - 380px)); }
  #lightbox .lb-frame video { max-height: var(--lbh, calc(100vh - 380px)); }
  #lightbox .lb-bottom { padding: 10px 16px 16px; }
  #lightbox .lb-actions { gap: 10px; }
  #lightbox .lb-actions .grp { flex-wrap: wrap; gap: 6px; }
  .lb-btn { padding: 8px 10px; font-size: 9px; letter-spacing: 0.1em; }
  .filmstrip button { width: 56px; }
}

@media (max-width: 520px) {
  nav.main { gap: 10px; }
  nav.main a:nth-child(3) { display: none; }
  .logo .sub { display: none; }
  .sec-note { font-size: 13px; }
}

@media (max-width: 1200px) { .sbtn .stime { display: none; } }
@media (max-width: 700px) {
  .top-right { gap: 12px; }
  .sbtn .stxt { display: none; }
  .sbtn { padding: 7px 9px; gap: 0; }
}
@media (max-width: 520px) {
  .snote { font-size: 8.5px; letter-spacing: 0.14em; padding: 8px 11px; }
}

#bed { display: none; }

/* 矮屏笔记本：把首屏压紧一点，让两个按钮一进画面就在 */
@media (max-height: 880px) and (min-width: 900px) {
  #hero { padding-top: 82px; padding-bottom: 20px; }
  .h-kicker { margin-bottom: 16px; }
  .hero-lede { font-size: 14px; line-height: 1.72; }
  .hero-foot { margin-top: 18px; padding-top: 16px; gap: 18px; }
  .sheet { padding: 18px 8px; }
  .cs-tile { height: clamp(92px, 13vh, 150px); }
  .btn { padding: 11px 18px; }
}
.hrow { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 18px; padding: 22px 14px 22px 4px; border-top: 1px solid var(--line); position: relative; transition: background 0.45s, padding-left 0.45s var(--ease-out); }
.hrow:last-child { border-bottom: 1px solid var(--line); }
.hrow::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--verm); transform: scaleY(0); transform-origin: top; transition: transform 0.5s var(--ease-out); }
.hrow:hover { background: #0d0d10; padding-left: 16px; }
.hrow:hover::before { transform: scaleY(1); }
.hrow .n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--bone-22); padding-top: 6px; transition: color 0.4s; }
.hrow:hover .n { color: var(--verm); }
.hrow h4 { margin: 0 0 6px; font-family: var(--cn-light); font-weight: 300; font-size: clamp(19px, 2.1vw, 27px); letter-spacing: 0.03em; }
.hrow .en { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass); display: block; margin-bottom: 8px; }
.hrow p { margin: 0; font-size: 13.5px; line-height: 1.9; color: var(--bone-60); max-width: 60ch; }

/* ---------- 联系 CONTACT ---------- */

#contact { padding-block: clamp(70px, 11vh, 150px) 0; border-top: 1px solid var(--line); }
.contact-hero { display: grid; gap: clamp(22px, 3vh, 40px); }
.contact-hero h2 { margin: 0; font-family: var(--cn-light); font-weight: 300; font-size: clamp(34px, 6.2vw, 92px); line-height: 1.08; letter-spacing: -0.02em; }
.contact-hero h2 .rd { color: var(--verm); }
.contact-hero .en-big { font-family: var(--mono); font-size: clamp(10px, 1.1vw, 13px); letter-spacing: 0.3em; text-transform: uppercase; color: var(--bone-40); line-height: 2.1; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 60px); margin-top: clamp(34px, 5vh, 64px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.crows { display: grid; }
.crow { display: grid; grid-template-columns: 118px 1fr; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.crow:first-child { border-top: 1px solid var(--line); }
.crow dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-22); }
.crow dd { margin: 0; font-size: 16px; letter-spacing: 0.02em; }
.crow dd small { display: block; font-size: 12px; color: var(--bone-40); margin-top: 3px; letter-spacing: 0; }
.checklist { border: 1px solid var(--line); padding: 22px 24px; display: grid; gap: 12px; background: #0b0b0d; }
.checklist h4 { margin: 0 0 4px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bone-40); }
.checklist ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--bone-60); line-height: 1.7; }
.checklist li::before { content: "□"; color: var(--verm); font-size: 13px; line-height: 1.5; flex: none; }
.checklist li:hover::before { content: "■"; }

footer.foot { margin-top: clamp(50px, 8vh, 100px); border-top: 1px solid var(--line); padding: 24px 0 34px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer.foot .f1 { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-22); line-height: 2; }
footer.foot .f1 b { color: var(--bone-60); font-weight: 400; }
.rewind { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-40); transition: color 0.3s; }
.rewind:hover { color: var(--verm); }

/* ---------- 审片室 CUTTING ROOM ---------- */

#cutroom { padding-block: clamp(60px, 9vh, 120px); border-top: 1px solid var(--line); }

.cr-tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: clamp(28px, 4vh, 48px); }
.cr-tab { position: relative; display: block; padding: 14px 26px 15px 0; margin-right: 26px; color: var(--bone-40); transition: color 0.4s; }
.cr-tab .n { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.2em; color: var(--bone-22); margin-right: 9px; transition: color 0.4s; }
.cr-tab b { font-family: var(--cn-light); font-weight: 300; font-size: clamp(15px, 1.5vw, 19px); letter-spacing: 0.03em; }
.cr-tab i { display: block; font-style: normal; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-22); margin: 4px 0 0 25px; }
.cr-tab::after { content: ""; position: absolute; left: 0; right: 26px; bottom: -1px; height: 2px; background: var(--verm); transform: scaleX(0); transform-origin: left; transition: transform 0.55s var(--ease-out); }
.cr-tab:hover { color: var(--bone); }
.cr-tab.on { color: var(--bone); }
.cr-tab.on .n { color: var(--verm); }
.cr-tab.on::after { transform: scaleX(1); }

.cr-ex { display: none; }
.cr-ex.on { display: block; animation: crIn 0.7s var(--ease-out) both; }
@keyframes crIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.cr-lead { display: grid; gap: 11px; margin-bottom: clamp(24px, 3.4vh, 42px); }
.cr-no { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--verm); }
.cr-lead h3 { margin: 0; font-family: var(--cn-light); font-weight: 300; font-size: clamp(25px, 3.5vw, 45px); line-height: 1.26; letter-spacing: -0.01em; max-width: 24ch; }
.cr-lead h3 span { color: var(--verm); }
.cr-en { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-40); line-height: 2; }

/* A/B 同步对照 */
.ab-sub { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.cr-sub { border: 1px solid var(--line); padding: 9px 15px; display: grid; gap: 2px; color: var(--bone-40); transition: border-color 0.35s, background 0.35s; }
.cr-sub b { font-family: var(--cn-light); font-weight: 300; font-size: 14.5px; letter-spacing: 0.04em; color: var(--bone-60); }
.cr-sub i { font-style: normal; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.18em; color: var(--bone-22); }
.cr-sub:hover { border-color: var(--line-strong); }
.cr-sub.on { border-color: var(--verm); background: var(--verm-soft); }
.cr-sub.on b { color: var(--bone); }

.ab-pair { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); align-items: stretch; border: 1px solid var(--line); background: #060607; }
.ab-fig { margin: 0; position: relative; overflow: hidden; }
.ab-fig video { width: 100%; display: block; height: clamp(330px, 56vh, 620px); object-fit: contain; background: #060607; }
.ab-fig.raw video { filter: saturate(0.66) contrast(0.96) brightness(0.88); }
.ab-fig figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 11px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; background: linear-gradient(180deg, rgba(6, 6, 7, 0), rgba(6, 6, 7, 0.93)); }
.ab-fig figcaption b { font-family: var(--cn-light); font-weight: 300; font-size: 14px; letter-spacing: 0.05em; }
.ab-fig figcaption span { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.2em; color: var(--bone-40); }
.ab-fig.raw figcaption b { color: var(--bone-40); }
.ab-seam { position: relative; display: grid; place-items: center; border-left: 1px solid var(--line); border-right: 1px solid var(--line); background: #0b0b0d; }
.ab-seam i { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--verm); opacity: 0.55; }
.ab-seam em { position: relative; font-style: normal; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.18em; color: var(--verm); background: #0b0b0d; padding: 8px 0; }

.ab-bar { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto auto; gap: 16px; align-items: center; border: 1px solid var(--line); border-top: 0; padding: 13px 16px; background: #0b0b0d; }
.ab-btn { width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; transition: border-color 0.3s, background 0.3s; }
.ab-btn i { width: 0; height: 0; border-left: 9px solid var(--bone); border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.ab-btn:hover { border-color: var(--verm); }
.ab-btn.on { border-color: var(--verm); background: var(--verm-soft); }
.ab-btn.on i { width: 11px; height: 12px; border: 0; border-left: 3px solid var(--verm); border-right: 3px solid var(--verm); margin: 0; }
.ab-seek { -webkit-appearance: none; appearance: none; width: 100%; height: 2px; background: var(--line-strong); outline: none; cursor: pointer; }
.ab-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: var(--verm); cursor: pointer; }
.ab-seek::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: var(--verm); cursor: pointer; }
.ab-tc { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--bone-40); white-space: nowrap; }
.ab-sync { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone-22); }

.ab-ledger { margin-top: 26px; border-top: 1px solid var(--line-strong); }
.lg-note { margin: 0; padding: 16px 0; font-family: var(--cn-light); font-weight: 300; font-size: 14.5px; color: var(--bone-60); line-height: 1.9; max-width: 74ch; border-bottom: 1px solid var(--line); }
.lg-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) minmax(0, 1fr); gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: baseline; transition: background 0.4s, padding-left 0.45s var(--ease-out); }
.lg-row:hover { background: #0c0c0f; padding-left: 12px; }
.lg-row .n { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; color: var(--verm); }
.lg-row s { color: var(--bone-40); font-size: 14px; line-height: 1.75; text-decoration: line-through; text-decoration-color: rgba(232, 70, 47, 0.7); text-decoration-thickness: 1.5px; }
.lg-row b { font-weight: 400; color: var(--bone); font-size: 14px; line-height: 1.75; }

/* 废片墙 */
.rw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rw-cell { margin: 0; position: relative; overflow: hidden; background: #0b0b0d; aspect-ratio: 672 / 1216; }
.rw-cell img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.6) contrast(1.05) brightness(0.84); transform: scale(1.02); transition: filter 0.8s var(--ease), transform 1.2s var(--ease-out); }
.rw-cell:hover img { filter: none; transform: scale(1.09); }
.rw-cell::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 8, 10, 0.08) 0%, rgba(8, 8, 10, 0.16) 46%, rgba(8, 8, 10, 0.92) 100%); }
.rw-idx { position: absolute; left: 11px; top: 9px; z-index: 3; font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; color: var(--bone-40); }
.rw-stamp { position: absolute; right: 10px; top: 30%; z-index: 4; border: 2px solid var(--verm); padding: 3px 8px 4px; background: rgba(8, 8, 10, 0.45); transform: rotate(-13deg) scale(0.9); opacity: 0.8; transition: transform 0.55s var(--ease-out), opacity 0.55s; }
.rw-stamp b { display: block; font-family: "SimSun", "宋体", serif; font-weight: 700; font-size: 21px; line-height: 1; letter-spacing: 0.14em; color: var(--verm); }
.rw-stamp i { display: block; font-style: normal; font-family: var(--mono); font-size: 6.5px; letter-spacing: 0.2em; text-transform: uppercase; text-align: center; color: var(--verm); margin-top: 2px; }
.rw-cell:hover .rw-stamp { transform: rotate(-13deg) scale(1); opacity: 1; }
.rw-cap { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; }
.rw-cap .cn { display: block; font-family: var(--cn-light); font-weight: 300; font-size: 15px; letter-spacing: 0.03em; color: var(--bone); }
.rw-cap .en { display: block; font-family: var(--mono); font-size: 8px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone-22); margin-top: 5px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.5s var(--ease-out), opacity 0.5s; }
.rw-cell:hover .rw-cap .en { max-height: 26px; opacity: 1; }

.rw-foot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 40px); margin-top: clamp(24px, 3.4vh, 42px); border-top: 1px solid var(--line-strong); padding-top: 22px; }
.rw-stat b { display: block; font-family: var(--cn-light); font-weight: 300; font-size: clamp(30px, 4.2vw, 54px); line-height: 1; color: var(--verm); letter-spacing: -0.01em; }
.rw-stat b small { font-size: 0.4em; letter-spacing: 0.06em; color: var(--bone-60); margin-left: 5px; }
.rw-stat span { display: block; margin-top: 11px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-22); line-height: 1.95; }

/* 光流条 */
.fl-chart { --lbl: clamp(96px, 14vw, 190px); --val: 74px; --gap: 14px; position: relative; display: grid; grid-template-columns: var(--lbl) minmax(0, 1fr) var(--val); column-gap: var(--gap); row-gap: 9px; border-top: 1px solid var(--line-strong); padding: 40px 0 6px; }
.fl-guide { position: absolute; z-index: 2; pointer-events: none; top: 16px; bottom: 10px; left: calc(var(--lbl) + var(--gap)); right: calc(var(--val) + var(--gap)); }
.fl-guide i { position: absolute; top: 0; bottom: 0; left: 60.4%; width: 1px; background: repeating-linear-gradient(180deg, rgba(239, 233, 221, 0.4) 0 4px, transparent 4px 9px); }
.fl-guide span { position: absolute; top: 0; left: 60.4%; transform: translateX(-50%); font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.16em; color: var(--bone-40); white-space: nowrap; }
.fl-row { display: contents; }
.fl-row .lb { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--bone-40); text-align: right; align-self: center; }
.fl-row .tr { position: relative; height: 17px; background: rgba(239, 233, 221, 0.05); align-self: center; }
.fl-row .tr span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--bone-22); transition: width 1.15s var(--ease-out) var(--d); }
.fl-chart.go .fl-row .tr span { width: var(--w); }
.fl-row.ref .tr span { background: rgba(239, 233, 221, 0.32); }
.fl-row.bad .tr span { background: var(--verm); }
.fl-row.sel .tr span { background: var(--bone); }
.fl-row.sel .lb { color: var(--verm); }
.fl-row .vv { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em; color: var(--bone-40); align-self: center; }
.fl-row.bad .vv { color: var(--verm); }
.fl-row.sel .vv { color: var(--bone); }
.fl-note { margin-top: 14px; font-size: 12px; line-height: 1.85; color: var(--bone-22); max-width: 92ch; }

.cr-duo { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(14px, 2vw, 28px); margin-top: clamp(26px, 4vh, 46px); }
.spec-card, .pick-card { border: 1px solid var(--line); background: #0b0b0d; padding: clamp(18px, 2.2vw, 28px); display: grid; gap: 16px; align-content: start; transition: border-color 0.5s; }
.spec-card { border-color: rgba(232, 70, 47, 0.42); }
.spec-card:hover, .pick-card:hover { border-color: var(--line-strong); }
.spec-hd { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 12px; flex-wrap: wrap; }
.spec-hd span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--verm); }
.spec-hd b { font-family: var(--cn-light); font-weight: 300; font-size: clamp(19px, 2vw, 25px); letter-spacing: 0.03em; }
.spec-card ul, .pick-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.spec-card li, .pick-card li { position: relative; padding-left: 18px; font-size: 13.5px; line-height: 1.8; color: var(--bone-60); }
.spec-card li::before, .pick-card li::before { content: ""; position: absolute; left: 0; top: 11px; width: 9px; height: 1px; background: var(--verm); }
.spec-card li em, .pick-card li em { font-style: normal; color: var(--bone); }
.spec-ft { font-family: var(--cn-light); font-weight: 300; font-size: 12px; line-height: 1.9; color: var(--bone-40); border-top: 1px dashed var(--line-strong); padding-top: 12px; }

@media (max-width: 900px) {
  .rw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cr-duo { grid-template-columns: 1fr; }
  .rw-foot { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 760px) {
  .ab-pair { grid-template-columns: minmax(0, 1fr); }
  .ab-seam { border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 9px 0; }
  .ab-seam i { top: 50%; bottom: auto; left: 0; right: 0; width: auto; height: 1px; }
  .ab-seam em { padding: 0 9px; }
  .ab-bar { grid-template-columns: 36px minmax(0, 1fr); row-gap: 11px; }
  .ab-sync { grid-column: 1 / -1; }
  .lg-row { grid-template-columns: 30px minmax(0, 1fr); }
  .lg-row b { grid-column: 2; }
}

/* ---------- 出场动画 ---------- */

.rv { opacity: 0; transform: translateY(30px); transition: opacity 0.9s ease, transform 1s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.1s; }
.rv-d2 { transition-delay: 0.2s; }
.rv-d3 { transition-delay: 0.3s; }

/* 动效不分档：这个页面就是给人看的，谁打开都是同一套。
   不再读系统的「减少动态效果」开关——那个开关被系统关掉时，
   老写法会把循环动画压成毫秒级，看起来就是疯狂频闪。
   只保留一件事：系统要求减少动效时，滚动跳转不要平滑滑行。 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- 打印 ---------- */

@media print {
  #grain, #vignette, #ruler, #progress, #cur-dot, #cur-ring, #lightbox, .snote, .sbtn { display: none !important; }
  body { background: #fff; color: #000; }
}
