/* ================= Visual Archive · 交互式螺旋/瀑流影像场 ================= */
.frames-page {
  background: var(--bg);
  color: var(--fg);
}

.frames-page .lines { opacity: .35; }
.frames-page .nav__crumb { white-space: nowrap; }

/* 全屏沉浸式动效舞台 */
.va-stage-section {
  position: relative;
  z-index: 2;
  height: 100svh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  padding-top: 50px;
  overflow: hidden;
  background:
    radial-gradient(55% 55% at 50% 50%, rgba(255, 59, 31, .09) 0%, rgba(20, 52, 212, .06) 42%, rgba(13, 13, 12, 0) 76%),
    var(--bg);
}

/* 顶部极简筛选与模式切换条 */
.va-hud-top {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px var(--pad);
  border-bottom: 1px solid var(--line);
  background: rgba(13, 13, 12, .56);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.va-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: 2px;
}
.va-filters::-webkit-scrollbar { display: none; }

.va-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border: 1px solid rgba(239, 237, 232, .16);
  border-radius: 999px;
  background: rgba(13, 13, 12, .5);
  color: var(--soft);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}

.va-chip small { opacity: .6; font-size: 10px; }
.va-chip:hover { border-color: rgba(239, 237, 232, .45); color: var(--fg); }
.va-chip.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.va-chip.is-active small { opacity: .92; }

.va-controls {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.va-seg {
  display: inline-flex;
  padding: 2px;
  border: 1px solid rgba(239, 237, 232, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
}

.va-seg button {
  border: 0;
  background: transparent;
  color: var(--soft);
  padding: 5px 11px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .22s, color .22s;
}

.va-seg button.is-active {
  background: var(--fg);
  color: var(--ink);
}

.va-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border: 1px solid rgba(239, 237, 232, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: var(--fg);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .22s, border-color .22s, color .22s;
}

.va-ctrl:hover { border-color: var(--red); color: var(--red); }
.va-ctrl.is-paused { background: var(--red); border-color: var(--red); color: #fff; }

/* 中央交互流动舞台 */
.va-stage {
  position: relative;
  z-index: 1;
  isolation: isolate;
  flex: 1;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.va-stage.is-dragging { cursor: grabbing; }

/* 背景中央引导大字：z-index 处于螺旋中层（300），远端帧从字体背面穿出、近景帧掠过字体前方 */
.va-backdrop {
  position: absolute;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 var(--pad) 1vh;
  text-align: center;
  pointer-events: none;
}

.va-backdrop__eyebrow {
  color: #7c7a74;
  margin-bottom: 10px;
}

.va-backdrop__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 8.2vw, 142px);
  line-height: .9;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: #363431;
  text-shadow: 0 10px 36px rgba(13, 13, 12, .55);
  transition: opacity .5s var(--ease);
}

.va-backdrop__title i {
  font-family: var(--italic);
  font-style: italic;
  color: #942919;
}

.va-backdrop__sub {
  margin-top: 12px;
  font-size: 12.5px;
  color: #8c8983;
  letter-spacing: .04em;
}

/* 斜瀑流模式下浮动的排版标签（致敬 Pablo Escudero） */
.va-float-words {
  position: absolute;
  inset: 0;
  z-index: 260;
  pointer-events: none;
  opacity: 0;
  transition: opacity .6s var(--ease);
}

.va-stage[data-mode="cascade"] .va-float-words { opacity: 1; }
.va-stage[data-mode="cascade"] .va-backdrop__title { opacity: .45; }

.va-float-words span {
  position: absolute;
  font-family: var(--mono);
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(239, 237, 232, .42);
}
.va-float-words span:nth-child(1) { left: 26%; top: 18%; }
.va-float-words span:nth-child(2) { left: 48%; top: 24%; color: rgba(255, 59, 31, .72); }
.va-float-words span:nth-child(3) { left: 66%; top: 34%; }
.va-float-words span:nth-child(4) { left: 16%; top: 56%; }
.va-float-words span:nth-child(5) { left: 24%; top: 72%; color: rgba(255, 59, 31, .65); }
.va-float-words span:nth-child(6) { left: 74%; top: 22%; }

/* 流动中的帧卡片容器：不建立独立堆叠上下文，使单帧 z-index 可与中央大字（300）前后穿插 */
.va-stream {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.va-node {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  pointer-events: auto;
  border: 1px solid rgba(239, 237, 232, .14);
  border-radius: 3px;
  background: #141413;
  overflow: hidden;
  cursor: zoom-in;
  transform-origin: center center;
  will-change: transform, opacity;
  box-shadow: 0 22px 54px -18px rgba(0, 0, 0, .86);
  transition: border-color .22s ease, box-shadow .28s ease;
}

.va-node img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.va-node.is-hover,
.va-node:focus-visible {
  border-color: var(--red);
  box-shadow: 0 28px 72px -12px rgba(255, 59, 31, .38), 0 18px 42px rgba(0, 0, 0, .92);
  outline: none;
}

/* 舞台底部实时信息条 */
.va-hud-bottom {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px var(--pad);
  border-top: 1px solid var(--line);
  background: rgba(13, 13, 12, .78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.va-readout {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}

.va-readout__idx {
  flex: none;
  color: var(--red);
}

.va-readout__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.va-readout__en {
  font-size: 11.5px;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.va-scroll-cue {
  flex: none;
  color: var(--soft);
  transition: color .2s;
}
.va-scroll-cue:hover { color: var(--red); }

/* ================= 下半部：Figma 系列策展与导演优势 ================= */
.va-series {
  position: relative;
  z-index: 2;
  padding: clamp(56px, 7vw, 112px) var(--pad) 0;
}

.va-series__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(24px, 3vw, 42px);
}

.va-series__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 2.4vw, 34px);
  background: #141413;
  border: 1px solid var(--line);
}

.va-series__card .mono { color: var(--red); }

.va-series__card h3 {
  margin-top: 12px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 3.3vw, 52px);
  line-height: .96;
  letter-spacing: -.008em;
  text-transform: uppercase;
  color: var(--fg);
}

.va-series__card h4 {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
}

.va-series__card p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--soft);
}

.va-series__thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
}

.va-series__thumbs button {
  position: relative;
  border: 0;
  padding: 0;
  aspect-ratio: 16 / 9;
  background: #090908;
  overflow: hidden;
  cursor: zoom-in;
}

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

.va-series__thumbs button:hover img { transform: scale(1.04); }

/* 优势亮点宣言（来自 Figma Slide 16） */
.va-manifesto {
  position: relative;
  z-index: 2;
  margin: clamp(48px, 6vw, 96px) var(--pad) clamp(64px, 7vw, 110px);
  padding: clamp(24px, 3.4vw, 48px);
  background: #161614;
  border-top: 2px solid var(--red);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 2fr);
  gap: 18px clamp(24px, 4vw, 60px);
  align-items: start;
}

.va-manifesto__head .mono { color: var(--red); }

.va-manifesto__head h2 {
  margin-top: 10px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 78px);
  line-height: .94;
  text-transform: uppercase;
  color: var(--fg);
}

.va-manifesto__head h2 i { color: var(--red); }

.va-manifesto__body p {
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.65;
  color: var(--fg);
}

.va-manifesto__body .en {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--soft);
}

.va-manifesto__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.va-manifesto__cta .btn--line {
  color: var(--fg);
  box-shadow: inset 0 0 0 1px rgba(239, 237, 232, .42);
}

.va-manifesto__cta .btn--line em { color: rgba(239, 237, 232, .62); }
.va-manifesto__cta .btn--line:hover { background: var(--fg); color: var(--ink); }
.va-manifesto__cta .btn--line:hover em { color: rgba(17, 17, 16, .65); }

/* ================= 首屏之下：全部 7 个深度案例详情网格 ================= */
.va-cases {
  position: relative;
  z-index: 2;
  padding: clamp(56px, 7vw, 112px) var(--pad) 0;
}

.va-cases__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: clamp(24px, 3vw, 40px);
}

.va-cases__head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 96px);
  line-height: .94;
  text-transform: uppercase;
  color: var(--fg);
}

.va-cases__head h2 i { color: var(--red); }

.va-cases__head p {
  max-width: 520px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--soft);
  padding-bottom: 6px;
}

/* 6 列网格：2 张宽卡(各占3列) + 3 张中卡(各占2列) + 2 张宽卡(各占3列) = 7 张零空洞 */
.va-cases__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
  margin-top: clamp(24px, 3vw, 40px);
}

.va-case {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  background: #141413;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease);
}

.va-case--wide { grid-column: span 3; }

.va-case figure {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0a0a09;
  overflow: hidden;
}

.va-case img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), filter .35s;
}

.va-case__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.va-case__top > .mono:first-child { color: var(--dim); }

.va-case__badge {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 59, 31, .14);
  border: 1px solid rgba(255, 59, 31, .35);
  color: #ffb8ac;
  font-size: 10px;
  white-space: nowrap;
}

.va-case__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(16px, 1.8vw, 24px);
}

.va-case__body h3 {
  margin-top: 10px;
  font-size: clamp(18px, 1.65vw, 23px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--fg);
  transition: color .25s;
}

.va-case__body p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--soft);
  flex: 1;
}

.va-case__go {
  margin-top: 16px;
  color: var(--red);
  transition: transform .3s var(--ease);
}

.va-case:is(:hover, :focus-visible) {
  transform: translateY(-4px);
  border-color: rgba(255, 59, 31, .65);
  box-shadow: 0 22px 50px -22px rgba(0, 0, 0, .9);
  outline: none;
}

.va-case:is(:hover, :focus-visible) img {
  transform: scale(1.03);
  filter: brightness(1.06);
}

.va-case:is(:hover, :focus-visible) h3 { color: #fff; }
.va-case:is(:hover, :focus-visible) .va-case__go { transform: translateX(4px); }

/* ================= 全屏灯箱 Cinema Lightbox ================= */
.va-lb {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(14px, 2vw, 28px);
  background: rgba(8, 8, 7, .94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.va-lb.is-open { opacity: 1; pointer-events: auto; }

.va-lb__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--soft);
}

.va-lb__close {
  padding: 8px 14px;
  border: 1px solid rgba(239, 237, 232, .25);
  border-radius: 999px;
  background: transparent;
  color: var(--fg);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}

.va-lb__close:hover { background: var(--red); border-color: var(--red); color: #fff; }

.va-lb__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 16px clamp(0px, 5vw, 68px);
}

.va-lb__stage img {
  max-width: 100%;
  max-height: calc(100svh - 170px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .75);
}

.va-lb__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(239, 237, 232, .24);
  background: rgba(13, 13, 12, .78);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s, border-color .2s;
}

.va-lb__nav:hover { background: var(--red); border-color: var(--red); }
.va-lb__prev { left: 4px; }
.va-lb__next { right: 4px; }

.va-lb__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.va-lb__cap strong { display: block; font-size: 15px; color: var(--fg); }
.va-lb__cap span { font-size: 12.5px; color: var(--soft); }
.va-lb__link { color: var(--red); border-bottom: 1px solid var(--red); padding-bottom: 2px; }
.va-lb__link:hover { color: #fff; border-color: #fff; }

/* ================= 平板与手机多比例适配 ================= */
@media (max-width: 960px) {
  .va-series__grid { grid-template-columns: 1fr; }
  .va-manifesto { grid-template-columns: 1fr; }
  .va-readout__en { display: none; }
  .va-cases__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .va-case, .va-case--wide { grid-column: span 1; }
  .va-cases__grid > .va-case:first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .va-stage-section {
    height: 100svh;
    min-height: 580px;
    padding-top: 47px;
  }
  .va-hud-top {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 9px var(--pad);
  }
  .va-controls { justify-content: space-between; }
  .va-backdrop__title { font-size: clamp(38px, 13vw, 68px); }
  .va-backdrop__sub { font-size: 11px; }
  .va-hud-bottom { padding: 10px var(--pad); }
  .va-scroll-cue { display: none; }
  .va-lb__stage { padding: 10px 0; }
  .va-lb__nav { top: auto; bottom: 8px; transform: none; width: 38px; height: 38px; }
  .va-lb__prev { left: 8px; }
  .va-lb__next { right: 8px; }
  .va-cases__grid { grid-template-columns: 1fr; }
  .va-cases__grid > .va-case:first-child { grid-column: span 1; }
}
