/* ===== 网站全局样式 ===== */
@font-face {
  font-family: "Source Han Sans SC VF";
  src: url("../font/SourceHanSans/SourceHanSansSC-VF.otf") format("opentype");
  font-weight: 250 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg: #0f0f12;
  --color-surface: #1a1a20;
  --color-surface-hover: #24242c;
  --color-primary: #b68332;
  --color-primary-light: #e7bd61;
  --color-primary-dim: #aa7a16;
  --color-primary-gradient: linear-gradient(135deg, #b68332 0%, #d4a748 100%);
  --color-text: #e8e6e3;
  --color-text-muted: #9a9691;
  --color-border: #2d2d35;
  --font-sans: "Source Han Sans SC VF", "Source Han Sans", sans-serif;
  --font-serif: var(--font-sans);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== 服务页滚动动画 ===== */
@keyframes servicesFadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes aboutDnaColLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes aboutDnaColRight {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

/* 初始状态：子元素隐藏 */
body[data-page="services"] .animate-child,
body[data-page="about"] .animate-child {
  opacity: 0;
  transform: translateY(30px);
}

body[data-page="about"] .about-dna-col-left.animate-child {
  transform: translateX(-24px);
}

body[data-page="about"] .about-dna-col-right.animate-child {
  transform: translateX(24px);
}

/* 触发后：播放动画 */
body[data-page="services"] .animate-on-scroll.animate-in .animate-child,
body[data-page="about"] .animate-on-scroll.animate-in .animate-child {
  animation: servicesFadeInUp 0.7s ease-out forwards;
}

body[data-page="about"] .about-dna.animate-in .about-dna-col-left.animate-child {
  animation: aboutDnaColLeft 0.7s ease-out forwards;
}

body[data-page="about"] .about-dna.animate-in .about-dna-col-right.animate-child {
  animation: aboutDnaColRight 0.7s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="services"] .animate-child,
  body[data-page="about"] .animate-child {
    opacity: 1;
    transform: none;
    animation: none;
  }
  body[data-page="about"] .about-dna-col-left.animate-child,
  body[data-page="about"] .about-dna-col-right.animate-child {
    transform: none;
  }
  .about-works-scroll-track {
    animation: none;
  }
}

/* Semantic nodes stay as HTML; this SVG layer preserves the source diagram's real routing. */
.vfx-pipeline-flow {
  position: relative;
  padding-bottom: 5.5rem;
}

.vfx-pipeline-routes {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.vfx-pipeline-routes marker path {
  stroke: none;
}

#vfxArrowCore path {
  fill: rgba(238, 242, 246, 0.88);
}

#vfxArrowGold path {
  fill: #d4a748;
}

#vfxArrowRevision path {
  fill: #8f9aa5;
}

.vfx-pipeline-route {
  fill: none;
  stroke: rgba(238, 242, 246, 0.78);
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transition: opacity 180ms ease, stroke 180ms ease, stroke-width 180ms ease;
}

.vfx-pipeline-route--ai,
.vfx-pipeline-route--delivery {
  stroke: #d4a748;
}

.vfx-pipeline-route--ai {
  filter: url(#vfxRouteGlow);
}

.vfx-pipeline-route--revision {
  stroke: #8f9aa5;
  stroke-width: 1.35;
  stroke-dasharray: 7 7;
}

.vfx-pipeline-route.is-dimmed,
.vfx-pipeline-route-signal.is-dimmed {
  opacity: 0.12;
}

.vfx-pipeline-route.is-related {
  stroke: #e7bd61;
  stroke-width: 2.2;
  opacity: 1;
}

.vfx-pipeline-route-junction {
  fill: #050607;
  stroke: #e7bd61;
  stroke-width: 1.5;
  filter: url(#vfxRouteGlow);
}

.vfx-pipeline-route-signal {
  fill: none;
  stroke: rgba(231, 189, 97, 0.9);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 0.2 15;
  vector-effect: non-scaling-stroke;
  animation: vfx-svg-signal 5.2s linear infinite;
}

.vfx-pipeline-inputs,
.vfx-pipeline-stage,
.vfx-pipeline-bypass,
.vfx-pipeline-branch ol li,
.vfx-pipeline-merge,
.vfx-pipeline-revision {
  position: relative;
  z-index: 3;
}

@keyframes vfx-svg-signal {
  to { stroke-dashoffset: -100; }
}

@media (prefers-reduced-motion: reduce) {
  .vfx-pipeline-route-signal {
    display: none;
    animation: none;
  }
}

/* ===== 海外站首页：16:9 电影卡片牌组 ===== */
body[data-page="home"] {
  background: #050505;
}

body[data-page="home"] .navbar {
  background: rgba(5, 5, 5, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.home-main {
  overflow: visible;
  background: #050505;
}

.home-showreel {
  position: relative;
  min-height: calc(100svh - 100px);
  overflow: hidden;
  color: #fff;
  background: #050505;
  isolation: isolate;
}

.home-showreel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 4, 5, 0.9) 0%, rgba(3, 4, 5, 0.48) 38%, rgba(3, 4, 5, 0.06) 70%, rgba(3, 4, 5, 0.22) 100%),
    linear-gradient(180deg, rgba(3, 4, 5, 0.4) 0%, transparent 28%, rgba(3, 4, 5, 0.1) 64%, rgba(3, 4, 5, 0.72) 100%);
}

.home-showreel-lightfield {
  position: absolute;
  inset: -11% -8% -13%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  background: #050505;
  transition: opacity 900ms ease;
}

.home-showreel--lightfield-ready .home-showreel-lightfield {
  opacity: 1;
}

.home-showreel-lightfield-canvas {
  position: absolute;
  display: block;
  max-width: none;
  will-change: transform, filter;
}

.home-showreel-lightfield-canvas--atmosphere {
  inset: -14%;
  width: 128%;
  height: 128%;
  opacity: 0.62;
  filter: blur(72px) saturate(1.85) contrast(1.52) brightness(0.72);
  transform: scale(1.14);
  animation: home-showreel-atmosphere-drift 16s ease-in-out infinite alternate;
}

.home-showreel-lightfield-canvas--projection {
  top: -22%;
  right: -3%;
  width: min(64vw, 980px);
  height: 142%;
  opacity: 0.5;
  filter: blur(94px) saturate(2.15) contrast(1.36) brightness(0.9);
  mix-blend-mode: screen;
  transform: rotate(6deg) scale(1.08);
  -webkit-mask-image: radial-gradient(ellipse 68% 78% at 62% 42%, #000 22%, rgba(0, 0, 0, 0.78) 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 68% 78% at 62% 42%, #000 22%, rgba(0, 0, 0, 0.78) 58%, transparent 100%);
  animation: home-showreel-projection-drift 12s ease-in-out infinite alternate;
}

.home-showreel-lightfield-canvas--bloom {
  top: -4%;
  right: 8%;
  width: min(42vw, 650px);
  height: 94%;
  opacity: 0.38;
  filter: blur(54px) saturate(2.5) contrast(1.7) brightness(1.18);
  mix-blend-mode: color-dodge;
  transform: scale(1.04);
  -webkit-mask-image: radial-gradient(ellipse 58% 52% at 70% 28%, #000 4%, rgba(0, 0, 0, 0.74) 46%, transparent 100%);
  mask-image: radial-gradient(ellipse 58% 52% at 70% 28%, #000 4%, rgba(0, 0, 0, 0.74) 46%, transparent 100%);
  animation: home-showreel-bloom-drift 10s ease-in-out infinite alternate;
}

.home-showreel-lightfield-grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.home-showreel-inner {
  position: relative;
  z-index: 4;
  width: min(100%, 1600px);
  min-height: calc(100svh - 100px);
  margin: 0 auto;
  padding: clamp(4.5rem, 8vh, 7.5rem) clamp(2rem, 5vw, 5.5rem) 2.25rem;
  display: grid;
  grid-template-columns: minmax(370px, 1fr) minmax(280px, 430px);
  grid-template-rows: 1fr;
  align-items: center;
  gap: 2rem clamp(2rem, 7vw, 9rem);
}

.home-showreel-copy {
  position: relative;
  z-index: 20;
  max-width: 620px;
  font-family: var(--font-sans);
}

.home-showreel-eyebrow {
  margin: 0 0 1.7rem;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--color-primary-light);
}

.home-showreel-copy h1 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(4rem, 5.7vw, 6.8rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.home-showreel-copy h1 em {
  background: var(--color-primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-sans);
  font-weight: 400;
  font-style: italic;
}

.home-showreel-intro {
  max-width: 540px;
  margin: 2rem 0 0;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.67);
  font-family: var(--font-sans);
}

.home-showreel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.35rem;
}

.home-showreel-cta {
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.home-showreel-cta--primary {
  color: #070707;
  border-color: #fff;
  background: #fff;
}

.home-showreel-cta:hover,
.home-showreel-cta:focus-visible {
  color: #070707;
  border-color: var(--color-primary-light);
  background: var(--color-primary-gradient);
  transform: translateY(-2px);
}

.home-showreel-media {
  position: relative;
  z-index: 5;
  --showreel-aura-rgb: 182, 131, 50;
  --showreel-aura-soft-rgb: 231, 189, 97;
  width: min(100%, 430px);
  aspect-ratio: 9 / 16;
  max-height: min(660px, calc(100svh - 165px));
  justify-self: end;
  isolation: isolate;
}

.home-showreel-media-core {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(231, 189, 97, 0.34);
  border-radius: 3px;
  background: #111;
  box-shadow:
    0 32px 68px rgba(0, 0, 0, 0.62),
    0 18px 44px rgba(var(--showreel-aura-rgb), 0.18),
    -12px 0 28px rgba(var(--showreel-aura-rgb), 0.1),
    12px 0 28px rgba(var(--showreel-aura-soft-rgb), 0.08);
}

.home-showreel-media::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.home-showreel-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #111;
}

.home-showreel-media-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.12) 0%, rgba(5, 5, 5, 0.01) 30%, transparent 52%, rgba(5, 5, 5, 0.66) 100%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.18), transparent 30%, transparent 70%, rgba(5, 5, 5, 0.18));
}

.home-showreel-media-label {
  position: absolute;
  right: 1.35rem;
  bottom: 1.2rem;
  left: 1.35rem;
  z-index: 3;
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.home-showreel-media-glint {
  position: absolute;
  inset: 1px;
  z-index: 3;
  overflow: hidden;
  border-radius: 3px;
  pointer-events: none;
}

.home-showreel-media-glint::before {
  content: "";
  position: absolute;
  top: -26%;
  bottom: -26%;
  left: -64%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255, 242, 199, 0.05), rgba(231, 189, 97, 0.34), rgba(255, 242, 199, 0.05), transparent);
  transform: skewX(-18deg);
  filter: blur(4px);
  animation: home-showreel-glint 8.5s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes home-showreel-atmosphere-drift {
  from { transform: translate3d(-1.5%, 1%, 0) scale(1.14); }
  to { transform: translate3d(1.5%, -1%, 0) scale(1.18); }
}

@keyframes home-showreel-projection-drift {
  from { transform: translate3d(-2%, 1%, 0) rotate(4deg) scale(1.08); }
  to { transform: translate3d(2%, -2%, 0) rotate(8deg) scale(1.14); }
}

@keyframes home-showreel-bloom-drift {
  from { transform: translate3d(-3%, 3%, 0) scale(1.04); opacity: 0.26; }
  to { transform: translate3d(3%, -3%, 0) scale(1.12); opacity: 0.44; }
}

@keyframes home-showreel-glint {
  0%, 58% { transform: translateX(0) skewX(-18deg); opacity: 0; }
  64% { opacity: 0.85; }
  86%, 100% { transform: translateX(720%) skewX(-18deg); opacity: 0; }
}

.home-capability-line {
  grid-column: 1 / -1;
  padding-top: 1.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.46);
}

/* 首页文案手册的六屏内容结构。 */
.home-section {
  width: min(100%, 1600px);
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 9rem) clamp(2rem, 5vw, 5.5rem);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.home-section-eyebrow {
  margin: 0 0 1.35rem;
  color: var(--color-primary-light);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.home-section > h2 {
  max-width: 1000px;
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(2.7rem, 6vw, 6rem);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.home-section-intro {
  max-width: 720px;
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  line-height: 1.65;
}

.home-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 1.5rem;
  margin-top: clamp(3rem, 6vw, 5.5rem);
}

.home-work-card {
  min-height: 210px;
  padding: 1.25rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  transition: border-color 220ms ease, transform 220ms ease;
}

.home-work-card:hover,
.home-work-card:focus-visible {
  border-color: var(--color-primary-light);
  transform: translateY(-3px);
}

.home-work-card > span:first-child {
  color: var(--color-primary-light);
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-work-card strong {
  margin-top: 2rem;
  font-family: var(--font-sans);
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 400;
  line-height: 1.12;
}

.home-work-card > span:last-child {
  margin-top: auto;
  padding-top: 1.25rem;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
  line-height: 1.6;
}

.home-service-line {
  margin: clamp(3rem, 6vw, 5.5rem) 0 0;
  padding: 0;
  list-style: none;
}

.home-service-line li {
  padding: 1.15rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 3.1vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -0.025em;
}

.home-service-line li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.home-service-vfx-link {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(320px, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 5rem);
  width: 100%;
  color: #fff;
}

.home-service-vfx-title {
  line-height: 1.06;
}

.home-service-vfx-desc {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(0.82rem, 1vw, 1rem);
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0;
}

.home-service-vfx-cta {
  color: var(--color-primary-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  white-space: nowrap;
  transition: color 180ms ease, transform 180ms ease;
}

.home-service-vfx-link:hover .home-service-vfx-cta,
.home-service-vfx-link:focus-visible .home-service-vfx-cta {
  color: #fff;
  transform: translateX(4px);
}

.home-service-vfx-link:focus-visible {
  outline: 1px solid var(--color-primary-light);
  outline-offset: 8px;
}

.home-production-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: clamp(3rem, 6vw, 5.5rem);
}

.home-production-card {
  min-height: 260px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.025);
}

.home-production-card h3 {
  margin: 0;
  color: var(--color-primary-light);
  font-family: var(--font-sans);
  font-size: clamp(1.4rem, 2.4vw, 2.6rem);
  font-weight: 400;
}

.home-production-card p {
  max-width: 360px;
  margin: 3rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.72;
}

.home-about > p:not(.home-section-eyebrow) {
  max-width: 980px;
  margin: 2.3rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.05rem, 1.8vw, 1.5rem);
  line-height: 1.75;
}

.home-text-link {
  margin-top: 2.5rem;
  display: inline-flex;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.home-text-link:hover,
.home-text-link:focus-visible {
  color: var(--color-primary-light);
  border-color: var(--color-primary-light);
}

.home-footer-cta {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.home-footer-cta .home-showreel-cta {
  margin-top: 2.5rem;
}

/* 精选作品，不用总量统计限定作品库边界。 */
.works-hero-bottom {
  grid-template-columns: minmax(0, 720px);
}

@media (max-width: 1180px) {
  .home-showreel-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    padding-top: 5rem;
  }

  .home-showreel-copy {
    max-width: 780px;
  }

  .home-showreel-copy h1 {
    font-size: clamp(4.2rem, 9vw, 6.5rem);
  }

  .home-showreel-media {
    width: min(100%, 410px);
    justify-self: start;
  }

  .home-showreel-lightfield {
    inset: -8% 0 -10%;
  }

  .home-showreel-lightfield-canvas--projection {
    right: -12%;
    width: min(86vw, 760px);
  }
}

@media (max-width: 900px) {
  .home-work-grid,
  .home-production-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  body[data-page="home"] .navbar {
    background: rgba(5, 5, 5, 0.94);
  }

  .home-showreel {
    min-height: auto;
  }

  .home-showreel-inner {
    min-height: auto;
    padding: 3.5rem 1rem 1.4rem;
    gap: 1.5rem;
  }

  .home-showreel-eyebrow {
    margin-bottom: 1.2rem;
    font-size: 9px;
  }

  .home-showreel-copy h1 {
    font-size: clamp(3.3rem, 16vw, 4.6rem);
    line-height: 1;
  }

  .home-showreel-intro {
    margin-top: 1.4rem;
    font-size: 0.95rem;
  }

  .home-showreel-actions {
    margin-top: 1.6rem;
  }

  .home-showreel-cta {
    min-height: 44px;
    padding: 0.75rem 1rem;
    font-size: 9px;
  }

  .home-showreel-media {
    width: min(100%, 360px);
    max-height: none;
    justify-self: center;
  }

  .home-showreel-media-label {
    right: 1rem;
    bottom: 0.9rem;
    left: 1rem;
    font-size: 7px;
  }

  .home-capability-line {
    padding-top: 1rem;
    gap: 0.5rem;
    font-size: 7px;
    letter-spacing: 0.1em;
  }

  .home-section {
    padding: 4.5rem 1rem;
  }

  .home-work-grid,
  .home-production-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .home-work-card {
    min-height: 180px;
  }

  .home-production-card {
    min-height: 220px;
    margin-top: 1rem;
  }

  .home-footer-cta {
    min-height: 60vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-showreel-cta {
    transition: none;
  }

  .home-showreel-cta:hover,
  .home-showreel-cta:focus-visible {
    transform: none;
  }

  .home-showreel-lightfield-canvas,
  .home-showreel-media-glint::before {
    animation: none;
  }
}

/* 子元素错峰动画 */
.box1-block.animate-child:nth-child(1) { animation-delay: 0.1s; }
.box1-block.animate-child:nth-child(2) { animation-delay: 0.2s; }
.box1-block.animate-child:nth-child(3) { animation-delay: 0.3s; }
.box2-feature.animate-child:nth-child(1) { animation-delay: 0.1s; }
.box2-feature.animate-child:nth-child(2) { animation-delay: 0.2s; }
.box2-feature.animate-child:nth-child(3) { animation-delay: 0.3s; }
.box3-block.animate-child:nth-child(1) { animation-delay: 0.1s; }
.box3-block.animate-child:nth-child(2) { animation-delay: 0.2s; }
.box3-block.animate-child:nth-child(3) { animation-delay: 0.3s; }

/* About 页子元素错峰动画 */
.about-box1-wrap .about-box1-top.animate-child { animation-delay: 0s; }
.about-box1-wrap .about-box1-img-wrap.animate-child { animation-delay: 0.1s; }
.about-box1-content .animate-child:nth-child(1) { animation-delay: 0.2s; }
.about-box1-content .animate-child:nth-child(2) { animation-delay: 0.3s; }
.about-box1-content .animate-child:nth-child(3) { animation-delay: 0.4s; }
.about-box1-content .animate-child:nth-child(4) { animation-delay: 0.5s; }
.about-dna-heading.animate-child { animation-delay: 0s; }
.about-dna-intro.animate-child { animation-delay: 0.1s; }
.about-dna-img-wrap.animate-child { animation-delay: 0.2s; }
.about-dna-col-left.animate-child { animation-delay: 0.3s; }
.about-dna-col-right.animate-child { animation-delay: 0.4s; }
.about-box1-heading.animate-child { animation-delay: 0.15s; }
.about-works-scroll.animate-child { animation-delay: 0.2s; }
.about-box2-header.animate-child { animation-delay: 0s; }
.about-box2-moats.animate-child { animation-delay: 0.1s; }
.about-box2-left.animate-child { animation-delay: 0.1s; }
.about-box2-feature.animate-child:nth-child(1) { animation-delay: 0.2s; }
.about-box2-feature.animate-child:nth-child(2) { animation-delay: 0.3s; }
.about-box2-feature.animate-child:nth-child(3) { animation-delay: 0.4s; }
.about-box3-hero.animate-child { animation-delay: 0s; }
.about-box3-block.animate-child:nth-child(1) { animation-delay: 0.1s; }
.about-box3-block.animate-child:nth-child(2) { animation-delay: 0.2s; }
.about-box3-block.animate-child:nth-child(3) { animation-delay: 0.3s; }
.about-box4-header.animate-child { animation-delay: 0s; }
.about-box4-img-wrap.animate-child { animation-delay: 0.15s; }
.about-box4-footer.animate-child { animation-delay: 0.25s; }
.about-contact-header.animate-child { animation-delay: 0s; }
.about-contact-form.animate-child { animation-delay: 0.15s; }

/* ===== 导航栏 ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 100px;
  background: #151515;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.navbar-inner {
  width: 100%;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

/* 左侧 Logo 区域 */
.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  width: 228px;
  height: auto;
  display: block;
  transition: opacity var(--transition);
}

.nav-logo a:hover .nav-logo-img {
  opacity: 0.85;
}

.logo-placeholder {
  width: 120px;
  height: 50px;
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  transition: var(--transition);
}

.logo-placeholder:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* 中间导航 */
.nav-center {
  display: flex;
  justify-content: center;
}

.nav-links {
  display: flex;
  gap: 4rem;
  list-style: none;
}

/* Hide copy-bound content until the approved English copy is applied. */
html[lang="en"] [data-copy]:not(.copy-applied) {
  visibility: hidden;
}

/* 导航链接使用 Source Han Sans。 */
html[lang="en"] .nav-links a,
.nav-links a {
  font-family: var(--font-sans) !important;
}

/* Hero caption uses Source Han Sans. */
html[lang="en"] .hero .hero-caption p,
.hero .hero-caption p {
  font-family: var(--font-sans) !important;
}

/* English content uses Source Han Sans. */
html[lang="en"] [data-copy],
html[lang="en"] .footer a,
html[lang="en"] .footer p,
html[lang="en"] .hero h1,
html[lang="en"] .hero p,
html[lang="en"] .page-header h1,
html[lang="en"] .page-header p,
html[lang="en"] .case-content h3,
html[lang="en"] .case-content p,
html[lang="en"] .service-item h3,
html[lang="en"] .service-item p,
html[lang="en"] .about-content p,
html[lang="en"] .stat-label,
html[lang="en"] .btn {
  font-family: var(--font-sans);
}

/* Footer uses Source Han Sans. */
html[lang="en"] .footer span,
html[lang="en"] .footer a,
html[lang="en"] .footer p {
  font-family: var(--font-sans);
}

/* Footer navigation uses Source Han Sans. */
html[lang="en"] .footer .footer-nav a,
.footer .footer-nav a {
  font-family: var(--font-sans) !important;
}

/* Service and About headings use Source Han Sans. */
.box1-pics-slogan,
.box1-hero-title,
.box2-hero-title,
.box3-hero-title,
.box4-hero-title,
.about-dna-heading,
.about-box2-title,
.about-box3-title,
.about-contact-title,
.case-detail-overlay-title {
  font-family: var(--font-sans) !important;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 28px;
  color: #fff;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 8px;
  background: var(--color-primary-gradient);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* 案例页导航：白底黑字 */
body[data-page="cases"] .navbar {
  background: #fff;
}

body[data-page="cases"] .nav-links a,
body[data-page="cases"] .nav-links a:hover,
body[data-page="cases"] .nav-links a.active {
  color: #000;
}

/* ===== 主内容区 ===== */
.main-content {
  padding-top: 100px;
  min-height: calc(100vh - 200px);
}

.container {
  width: 100%;
  padding: 0 2rem;
}

/* ===== 服务页 ===== */
body[data-page="services"] .main-content {
  background: #000;
  padding-top: 100px;
  padding-bottom: 4rem;
}

/* ===== 关于页 ===== */
/* About sections use Source Han Sans. */
body[data-page="about"] .about-box1,
body[data-page="about"] .about-box2,
body[data-page="about"] [class^="about-box"] {
  font-family: var(--font-sans);
}

body[data-page="about"] .main-content {
  background: #000;
  padding-top: 100px;
  padding-bottom: 4rem;
  overflow-x: hidden;
}

.about-box1 {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 1rem;
}

.about-box1-top {
  position: relative;
  margin-bottom: 3rem;
}

.about-box1-img-wrap {
  width: 40vw;
  margin: 0 auto;
  position: relative;
  z-index: 0;
  overflow: hidden;
  border-radius: 8px;
}

.about-box1-left,
.about-box1-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 95px;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-sans);
  z-index: 1;
  pointer-events: none;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);font-weight: normal;
}

.about-box1-left {
  left: calc(-20% + 50px);
  text-align: left;
}

.about-box1-right {
  right: calc(-20% + 50px);
  text-align: right;
}

.about-box1-left img,
.about-box1-right img,
img.about-box1-left,
img.about-box1-right {
  /* max-width: 230px; */
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.about-box1-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  transition: transform 0.5s ease;
}

.about-box1-img-wrap:hover .about-box1-img {
  transform: scale(1.02);
}

.about-box1-heading {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 2rem;
  font-family: var(--font-sans);
}

.about-box1-subheading {
  font-family: var(--font-sans);
  font-size: 32px;
  color: #fff;
  text-align: center;
  margin-bottom: 2rem;
}

.about-box1-wrap {
  /* 作为 animate-on-scroll 容器，子元素错峰动画 */
}

.about-box1-content {
  width: 90%;
  margin: 0 auto;
  padding: 2rem 0 3rem;
  text-align: center;
}

.about-box1-content p {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.about-box1-content p:last-child {
  margin-bottom: 0;
}

/* 关于页 Our DNA 区域 */
.about-dna {
  width: 90%;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}

.about-dna-heading {
  font-family: var(--font-sans);
  font-size: 48px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  margin: 0 0 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.about-dna-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.6), transparent);
}

.about-dna-intro {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  text-align: center;
  margin: 0 auto 3rem;
}

.about-dna-img-wrap {
  width: 80%;
  margin: 0 auto 4rem;
  border-radius: 8px;
  overflow: hidden;
}

.about-dna-img {
  width: 100%;
  height: auto;
  display: block;
}

.about-dna-columns {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about-dna-col-left {
  text-align: left;
}

.about-dna-col-right {
  text-align: right;
}

.about-dna-col-title {
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 300;
  color: #fff;
  margin: 0 0 1rem;
}

.about-dna-col-desc {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin: 0;
}

.about-dna-col-left .about-dna-col-desc {
  width: 80%;
  margin-right: auto;
  text-align: left;
}

.about-dna-col-right .about-dna-col-desc {
  width: 80%;
  margin-left: auto;
  text-align: right;
}

/* 关于页作品横向滚动（类似案例页） */
.about-works-scroll {
  margin: 2rem 0 3rem;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.about-works-scroll-wrap {
  width: 100%;
  overflow: hidden;
  padding: 0.5rem 0;
}

.about-works-scroll-wrap:hover .about-works-scroll-track {
  animation-play-state: paused;
}

.about-works-scroll-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: about-works-scroll 35s linear infinite;
}

@keyframes about-works-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.about-works-scroll-item {
  flex-shrink: 0;
}

.about-works-scroll-img {
  width: 280px;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.about-works-scroll-item:hover .about-works-scroll-img {
  transform: scale(1.05);
}

/* 关于页 box2 */
.about-box2 {
  width: 90%;
  margin: 50px auto 0;
  padding: 0 2rem 5rem;
}

.about-box2-header {
  margin-bottom: 2rem;
}

.about-box2-moats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.about-moat-item {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
}

.about-moat-img-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.about-moat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-moat-title {
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 300;
  color: #fff;
  margin: 1.25rem 1.5rem 0.75rem;
}

.about-moat-desc {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin: 0 1.5rem 1.5rem;
}

.about-box2-wrap {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 2rem;
  align-items: stretch;
}

.about-box2-left {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
}

.about-box2-title {
  font-family: var(--font-sans);
  font-size: 48px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.about-box2-subtitle {
  font-size: 28px;
  font-weight: normal;
  color: #fff;
  margin-bottom: 1rem;
  font-family: var(--font-sans);
}

.about-box2-intro {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

.about-box2-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.5rem;
  align-items: stretch;
}

.about-box2-processes {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.about-box2-process {
  position: relative;
  aspect-ratio: 16/6;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.about-box2-process-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.about-box2-process:hover .about-box2-process-img {
  transform: scale(1.03);
  filter: blur(1px);
}

.about-box2-process-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-sans);
}

.about-box2-center {
  border-radius: 8px;
  overflow: hidden;
}

.about-box2-center {
  transition: transform 0.4s ease;
}

.about-box2-center:hover {
  transform: scale(1.02);
}

.about-box2-center-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.about-box2-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.about-box2-feature-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
  font-family: var(--font-sans);
}

.about-box2-feature-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  font-family: var(--font-sans);
}

/* 关于页 box3 - What We Do */
.about-box3 {
  width: 90%;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

.about-box3-hero {
  padding-bottom: 4rem;
}

.about-box3-title {
  font-family: var(--font-sans);
  font-size: 48px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}

.about-box3-subtitle {
  font-size: 28px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 0.5rem;
  font-family: var(--font-sans);
}

.about-box3-desc {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-top: 30px;
}

.about-box3-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.about-box3-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-box3-block-img-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1.5rem;
}

.about-box3-block-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.about-box3-block:hover .about-box3-block-img {
  transform: scale(1.05);
}

.about-box3-block-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
  font-family: var(--font-sans);
}

.about-box3-block-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  font-family: var(--font-sans);
}

/* 关于页 box4 - Our Vision */
.about-box4 {
  width: 90%;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

.about-box4-header {
  margin-bottom: 3rem;
}

.about-box4-title {
  font-size: 40px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
  font-family: var(--font-sans);
}

.about-box4-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.about-box4-subtitle {
  font-size: 28px;
  font-weight: normal;
  color: #fff;
  margin: 0;
  font-family: var(--font-sans);
}

.about-box4-quote {
  font-size: 24px;
  font-weight: normal;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  text-align: right;
  margin: 0;
  font-family: var(--font-sans);
}

.about-box4-img-wrap {
  position: relative;
  width: 500px;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 3rem;
  background: rgba(255, 255, 255, 0.05);
}

.about-box4-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.about-box4-img-wrap:hover .about-box4-img {
  transform: scale(1.03);
}

.about-box4-img-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  white-space: nowrap;
  font-family: var(--font-sans);
}

.about-box4-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  width: 80%;
  margin-left: auto;
}

.about-box4-desc {
  text-align: right;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin: 0;
  font-family: var(--font-sans);
}

.about-box4-interplay {
  font-size: 40px;
  font-weight: 600;
  color: #fff;
  text-align: right;
  margin: 0;
  font-family: var(--font-sans);
}

/* 关于页 联系我们 */
.about-contact {
  width: 100%;
  padding: 5rem 2rem;
  background: #000;
}

.about-contact-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.about-contact-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  margin-bottom: 3rem;
}

.about-contact-title {
  font-family: var(--font-sans);
  font-size: 48px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  flex-shrink: 0;
}

.about-contact-desc {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin: 0;
  flex: 1;
}

.about-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}

.about-contact-label {
  width: 100px;
  flex-shrink: 0;
  font-size: 1rem;
  color: #fff;
  padding-top: 0.75rem;
  font-family: var(--font-sans);
}

.about-contact-input,
.about-contact-textarea {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-family: var(--font-sans);
}

.about-contact-input::placeholder,
.about-contact-textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.about-contact-textarea {
  border-radius: 12px;
  resize: vertical;
  min-height: 120px;
}

.about-contact-submit-row {
  align-items: center;
  justify-content: flex-end;
}

.about-contact-submit {
  padding: 0;
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--color-primary-light);
  text-decoration-thickness: 2px;
}

.about-contact-submit:hover {
  opacity: 0.9;
}

/* 联系表单提交成功提示框 */
.contact-success-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.contact-success-modal.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.contact-success-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.contact-success-box {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  max-width: 360px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.contact-success-modal.is-visible .contact-success-box {
  transform: scale(1);
}

.contact-success-title {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text);
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

.contact-success-btn {
  display: inline-block;
  padding: 0.6rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font-sans);
  color: var(--color-bg);
  background: var(--color-primary);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.contact-success-btn:hover {
  background: var(--color-primary-dim);
  transform: translateY(-2px);
}

/* 服务页 box1 - 01区域 */
.box1 {
  width: 90%;
  margin: 0 auto;
}

.box1-pics-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 0;
}

.box1-pics-img {
  width: 1000px;
  max-width: 100%;
  height: auto;
  display: block;
}

.box1-pics-slogan {
  font-family: var(--font-sans);
  font-size: 48px;
  font-weight: 400;
  color: #fff;
  text-align: center;
  margin-top: 2rem;
  line-height: 1.3;
}

.box1-pics-desc {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-top: 2rem;
  text-align: center;
}

.box1-pics-desc p {
  margin: 0 0 1rem;
}

.box1-pics-desc p:last-child {
  margin-bottom: 0;
}

.box1-hero {
  padding: 4rem 2rem 5rem;
}

.box1-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.box1-hero-num {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  font-family: var(--font-sans);
  flex-shrink: 0;
}

.box1-hero-text {
  flex: 1;
}

.box1-hero-title {
  font-family: var(--font-sans);
  font-size: 48px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.6rem;
}

.box1-hero-subtitle {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

.box1-blocks {
  padding: 0 2rem 4rem;
}

.box1-block {
  display: flex;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.box1-block:last-child {
  border-bottom: none;
}

.box1-block-img-wrap {
  flex-shrink: 0;
  width: 320px;
  aspect-ratio: 16/10;
  border-radius: 8px;
  overflow: hidden;
}

.box1-block-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.box1-block-content {
  flex: 1;
}

.box1-block-title {
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 1rem;
}

.box1-block-desc {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

/* 服务页 box2 - 02区域 */
.box2 {
  width: 90%;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

.box2-hero {
  padding-bottom: 4rem;
}

.box2-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.box2-hero-num {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  font-family: var(--font-sans);
  flex-shrink: 0;
}

.box2-hero-text {
  flex: 1;
}

.box2-hero-title {
  font-family: var(--font-sans);
  font-size: 48px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 1rem;
}

.box2-hero-subtitle {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

.box2-hero-en,
.box2-feature-en {
  font-size: 0.75em;
  font-weight: 400;
  opacity: 0.9;
}

.box2-flow-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.box2-flow-diagram-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.box2-features {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.box2-feature-title {
  font-family: var(--font-sans);
  font-size: 25px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.75rem;
}

.box2-feature-desc {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

/* 服务页 box3 - 03区域 */
.box3 {
  width: 90%;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

.box3-hero {
  padding-bottom: 4rem;
}

.box3-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.box3-hero-num {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  font-family: var(--font-sans);
  flex-shrink: 0;
}

.box3-hero-text {
  flex: 1;
}

.box3-hero-title {
  font-family: var(--font-sans);
  font-size: 48px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 1rem;
}

.box3-hero-subtitle {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

.box3-hero-en {
  font-size: 0.75em;
  font-weight: 400;
  opacity: 0.9;
}

.box3-blocks {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.box3-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.box3-block:nth-child(1) {
  align-items: flex-start;
  text-align: left;
}

.box3-block:nth-child(2) {
  align-items: flex-end;
  text-align: right;
}

.box3-block:nth-child(3) {
  align-items: flex-start;
  text-align: left;
}

.box3-block-img-wrap {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16/10;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1.5rem;
}

.box3-block-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.box3-block-content {
  /* max-width: 600px; */
}

.box3-block-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
  font-family: var(--font-sans);
}

.box3-block-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  font-family: var(--font-sans);
}

/* 服务页 box4 - 04区域 */
.box4 {
  width: 90%;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

.box4-hero {
  padding-bottom: 4rem;
}

.box4-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.box4-hero-num {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  font-family: var(--font-sans);
  flex-shrink: 0;
}

.box4-hero-text {
  flex: 1;
}

.box4-hero-title {
  font-family: var(--font-sans);
  font-size: 48px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 1rem;
}

.box4-hero-subtitle {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

.box4-hero-en {
  font-size: 0.75em;
  font-weight: 400;
  opacity: 0.9;
}

.box4-content-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  padding: 2rem 0 4rem;
}

.box4-content-left {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.box4-content-item {
  text-align: left;
}

.box4-content-title {
  font-family: var(--font-sans);
  font-size: 25px;
  font-weight: 400;
  color: #fff;
  margin: 0 0 0.75rem;
}

.box4-content-desc {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 200;
  color: #fff;
  line-height: 1.8;
  margin: 0;
}

.box4-content-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.box4-flow-visual {
  margin-bottom: 3rem;
}

.box4-flow-imgs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.box4-flow-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.box4-flow-img {
  width: 160px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.box4-flow-img-center {
  width: 280px;
  height: 175px;
}

.box4-flow-right .box4-flow-img {
  width: 160px;
  height: 100px;
}

.box4-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.box4-step-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
  font-family: var(--font-sans);
}

.box4-step-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  font-family: var(--font-sans);
}

/* Services 06 — Hybrid AI VFX & Post */
.hybrid-vfx {
  width: min(90%, 1440px);
  margin: 0 auto;
  padding: clamp(6rem, 10vw, 10rem) 2rem clamp(7rem, 11vw, 11rem);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  scroll-margin-top: 110px;
}

.hybrid-vfx-header {
  max-width: 1180px;
}

.hybrid-vfx-kicker,
.hybrid-vfx-pipeline figcaption,
.hybrid-vfx-section-num {
  margin: 0;
  color: var(--color-primary-light);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hybrid-vfx-header h2 {
  max-width: 1120px;
  margin: 1.5rem 0 0;
  font-family: var(--font-sans);
  font-size: clamp(3rem, 7vw, 7.4rem);
  font-weight: 300;
  line-height: 0.91;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hybrid-vfx-intro {
  max-width: 900px;
  margin: clamp(2rem, 4vw, 3.75rem) 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 300;
  line-height: 1.75;
}

.hybrid-vfx-breakdown {
  margin-top: clamp(4.5rem, 8vw, 8rem);
  padding-top: clamp(1.5rem, 2.5vw, 2.5rem);
  border-top: 1px solid rgba(231, 189, 97, 0.5);
}

.hybrid-vfx-breakdown-header {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 6rem);
}

.hybrid-vfx-breakdown-eyebrow,
.hybrid-vfx-video-case figcaption span,
.hybrid-vfx-passes figcaption span {
  margin: 0;
  color: var(--color-primary-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hybrid-vfx-breakdown-header h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4.8vw, 5rem);
  font-weight: 350;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.hybrid-vfx-breakdown-header div > p,
.hybrid-vfx-pass-intro p,
.hybrid-vfx-passes figcaption p {
  max-width: 82ch;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(0.92rem, 1.15vw, 1.05rem);
  line-height: 1.75;
}

.hybrid-vfx-video-case {
  margin: clamp(2.5rem, 5vw, 4.5rem) 0 0;
}

.hybrid-vfx-video-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(231, 189, 97, 0.3);
  background: #020303;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
}

.hybrid-vfx-case-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #020303;
}

.hybrid-vfx-video-toggle {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  min-height: 42px;
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(231, 189, 97, 0.55);
  color: #fff;
  background: rgba(3, 4, 5, 0.78);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.hybrid-vfx-video-toggle span {
  width: 10px;
  height: 12px;
  border-right: 3px solid var(--color-primary-light);
  border-left: 3px solid var(--color-primary-light);
}

.hybrid-vfx-video-toggle[data-state="paused"] span {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-right: 0;
  border-bottom: 6px solid transparent;
  border-left: 10px solid var(--color-primary-light);
}

.hybrid-vfx-video-toggle strong {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
}

.hybrid-vfx-video-case figcaption {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}

.hybrid-vfx-video-case figcaption strong {
  font-size: 0.78rem;
  font-weight: 550;
  letter-spacing: 0.08em;
}

.hybrid-vfx-video-case figcaption small {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
}

.hybrid-vfx-pass-intro {
  max-width: 920px;
  margin-top: clamp(3.5rem, 6vw, 5.5rem);
}

.hybrid-vfx-pass-intro h4 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 3.5vw, 3.8rem);
  font-weight: 380;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hybrid-vfx-passes {
  margin: clamp(1.5rem, 2.5vw, 2rem) 0 0;
}

.hybrid-vfx-passes figcaption {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
  margin-bottom: clamp(1rem, 1.8vw, 1.5rem);
}

.hybrid-vfx-passes figcaption p {
  margin-top: 0;
}

.hybrid-vfx-passes-scroll {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: var(--color-primary-dark) rgba(255, 255, 255, 0.08);
}

.hybrid-vfx-passes-open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(231, 189, 97, 0.34);
  color: #fff;
  background: #020b08;
  cursor: zoom-in;
}

.hybrid-vfx-passes-open img {
  display: block;
  width: 100%;
  height: auto;
}

.hybrid-vfx-passes-open > span {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(231, 189, 97, 0.5);
  background: rgba(2, 5, 4, 0.8);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  backdrop-filter: blur(10px);
}

.hybrid-vfx-passes-mobile-hint {
  display: none;
}

.hybrid-vfx-passes-dialog {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 3.5rem 1rem 1rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(8px);
}

.hybrid-vfx-passes-dialog[hidden] {
  display: none;
}

body.is-vfx-passes-open {
  overflow: hidden;
}

.hybrid-vfx-passes-dialog button {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  border: 0;
  color: var(--color-primary-light);
  background: transparent;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  cursor: pointer;
}

.hybrid-vfx-passes-dialog img {
  display: block;
  width: min(96vw, 1800px);
  height: auto;
  max-height: calc(100vh - 4.5rem);
  border: 1px solid rgba(231, 189, 97, 0.5);
  object-fit: contain;
}

.hybrid-vfx-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 3rem);
  margin-top: clamp(4rem, 8vw, 7.5rem);
}

.hybrid-vfx-pillar {
  min-height: 290px;
  padding: 1.35rem 0 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(231, 189, 97, 0.58);
}

.hybrid-vfx-pillar > span {
  color: var(--color-primary-light);
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.18em;
}

.hybrid-vfx-pillar h3 {
  max-width: 12ch;
  margin: 2.4rem 0 0;
  font-family: var(--font-sans);
  font-size: clamp(1.45rem, 2.2vw, 2.6rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.hybrid-vfx-pillar p {
  max-width: 40ch;
  margin: auto 0 0;
  padding-top: 2rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  line-height: 1.7;
}

.hybrid-vfx-pipeline {
  margin: clamp(5rem, 9vw, 9rem) 0 0;
}

.hybrid-vfx-pipeline figcaption {
  margin-bottom: 1.4rem;
}

.vfx-pipeline-native {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 3rem);
  border: 1px solid rgba(231, 189, 97, 0.26);
  background:
    radial-gradient(circle at 10% 8%, rgba(212, 167, 72, 0.12), transparent 28rem),
    radial-gradient(circle at 88% 92%, rgba(182, 131, 50, 0.08), transparent 30rem),
    #07090c;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04), 0 40px 100px rgba(0, 0, 0, 0.34);
}

.vfx-pipeline-native::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
}

.vfx-pipeline-native-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.vfx-pipeline-overline,
.vfx-pipeline-index,
.vfx-pipeline-legend,
.vfx-pipeline-branch-label,
.vfx-pipeline-output span,
.vfx-pipeline-bypass span,
.vfx-pipeline-key,
.vfx-pipeline-principle p,
.vfx-pipeline-revision strong {
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.vfx-pipeline-overline,
.vfx-pipeline-index,
.vfx-pipeline-principle p {
  color: var(--color-primary-light);
}

.vfx-pipeline-native-header h3 {
  margin: 0.75rem 0 0;
  font-size: clamp(1.8rem, 3.5vw, 3.75rem);
  font-weight: 350;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.vfx-pipeline-native-header h3 + p {
  max-width: 78ch;
  margin: 1.15rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  line-height: 1.7;
}

.vfx-pipeline-legend {
  display: grid;
  gap: 0.65rem;
  min-width: 240px;
}

.vfx-pipeline-legend span {
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(8, 10, 13, 0.82);
  text-align: center;
}

.vfx-pipeline-legend-ai {
  border-color: rgba(231, 189, 97, 0.48) !important;
  color: var(--color-primary-light);
  background: linear-gradient(135deg, rgba(170, 122, 22, 0.24), rgba(182, 131, 50, 0.06)) !important;
}

.vfx-pipeline-inputs {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: 1.2rem 1.35rem;
  border: 1px solid rgba(231, 189, 97, 0.32);
  background: rgba(12, 15, 19, 0.8);
}

.vfx-pipeline-inputs h4,
.vfx-pipeline-stage h4 {
  margin: 0.45rem 0 0;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.vfx-pipeline-inputs ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vfx-pipeline-inputs li {
  position: relative;
  padding-left: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}

.vfx-pipeline-inputs li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-primary-light);
  box-shadow: 0 0 12px rgba(231, 189, 97, 0.75);
}

.vfx-pipeline-stages {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2.7rem 1.5rem;
  margin: 2.7rem 0 0;
  padding: 0;
  list-style: none;
}

.vfx-pipeline-stage {
  position: relative;
  min-width: 0;
  padding: clamp(1.15rem, 2vw, 1.75rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(145deg, rgba(18, 22, 28, 0.94), rgba(8, 10, 13, 0.96));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.vfx-pipeline-stage:hover,
.vfx-pipeline-stage:focus-visible {
  z-index: 2;
  border-color: rgba(231, 189, 97, 0.65);
  outline: none;
  transform: translateY(-4px);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 18px 52px rgba(0, 0, 0, 0.36), 0 0 34px rgba(182, 131, 50, 0.11);
}

.vfx-pipeline-stage::after {
  content: "";
  position: absolute;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(231, 189, 97, 0.15), var(--color-primary-light), rgba(231, 189, 97, 0.15));
  background-size: 200% 100%;
  box-shadow: 0 0 12px rgba(231, 189, 97, 0.35);
  animation: vfx-pipeline-flow 4s linear infinite;
}

.vfx-pipeline-stage--01,
.vfx-pipeline-stage--02 {
  grid-column: span 6;
}

.vfx-pipeline-stage--03 {
  grid-column: 1 / -1;
  border-color: rgba(231, 189, 97, 0.32);
  background:
    radial-gradient(circle at 32% 36%, rgba(182, 131, 50, 0.12), transparent 35%),
    linear-gradient(145deg, rgba(17, 20, 25, 0.98), rgba(7, 9, 12, 0.98));
}

.vfx-pipeline-stage--04,
.vfx-pipeline-stage--05,
.vfx-pipeline-stage--06 {
  grid-column: span 4;
}

.vfx-pipeline-stage--06 {
  border-color: rgba(231, 189, 97, 0.52);
}

.vfx-pipeline-stage--01::after,
.vfx-pipeline-stage--04::after,
.vfx-pipeline-stage--05::after {
  top: 50%;
  right: -1.6rem;
  width: 1.7rem;
  height: 2px;
}

.vfx-pipeline-stage--02::after,
.vfx-pipeline-stage--03::after {
  bottom: -2.8rem;
  left: 50%;
  width: 2px;
  height: 2.9rem;
  background: linear-gradient(180deg, rgba(231, 189, 97, 0.15), var(--color-primary-light), rgba(231, 189, 97, 0.15));
  background-size: 100% 200%;
}

.vfx-pipeline-stage header {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.vfx-pipeline-stage > ul {
  display: grid;
  gap: 0.7rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.vfx-pipeline-stage > ul li {
  position: relative;
  padding-left: 1rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  line-height: 1.45;
}

.vfx-pipeline-stage > ul li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.64);
}

.vfx-pipeline-output {
  margin: 1.4rem 0 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(2, 3, 5, 0.52);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 550;
  line-height: 1.5;
}

.vfx-pipeline-output span {
  display: block;
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.42);
}

.vfx-pipeline-output--gold {
  border-color: rgba(231, 189, 97, 0.46);
  background: linear-gradient(135deg, rgba(170, 122, 22, 0.24), rgba(182, 131, 50, 0.06));
  color: var(--color-primary-light);
  box-shadow: inset 0 0 24px rgba(231, 189, 97, 0.04);
}

.vfx-pipeline-stage--03 header > div {
  display: flex;
  flex: 1;
  gap: 1rem;
  align-items: baseline;
  justify-content: space-between;
}

.vfx-pipeline-stage--03 header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.vfx-pipeline-bypass {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(4, 6, 8, 0.55);
}

.vfx-pipeline-bypass span {
  color: rgba(255, 255, 255, 0.4);
}

.vfx-pipeline-bypass strong {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.vfx-pipeline-branches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.vfx-pipeline-branch {
  position: relative;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(9, 12, 16, 0.82);
}

.vfx-pipeline-branch--ai {
  border-color: rgba(231, 189, 97, 0.44);
  background: linear-gradient(135deg, rgba(170, 122, 22, 0.2), rgba(10, 12, 16, 0.88) 58%);
}

.vfx-pipeline-branch-label {
  min-height: 2.7em;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}

.vfx-pipeline-branch--ai .vfx-pipeline-branch-label {
  color: var(--color-primary-light);
}

.vfx-pipeline-branch ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.vfx-pipeline-branch ol li {
  position: relative;
  min-height: 108px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 19, 24, 0.88);
}

.vfx-pipeline-branch ol li + li::before {
  content: "→";
  position: absolute;
  top: 50%;
  left: -1.45rem;
  color: rgba(255, 255, 255, 0.58);
  transform: translateY(-50%);
}

.vfx-pipeline-branch--ai ol li + li::before {
  color: var(--color-primary-light);
  text-shadow: 0 0 14px rgba(231, 189, 97, 0.7);
}

.vfx-pipeline-branch strong,
.vfx-pipeline-branch span {
  display: block;
}

.vfx-pipeline-branch strong {
  font-size: 0.78rem;
  line-height: 1.35;
}

.vfx-pipeline-branch span {
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.68rem;
  line-height: 1.5;
}

.vfx-pipeline-merge {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-align: center;
}

.vfx-pipeline-merge span {
  width: 8px;
  height: 8px;
  border: 2px solid var(--color-primary-light);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(231, 189, 97, 0.08), 0 0 18px rgba(231, 189, 97, 0.45);
  animation: vfx-pipeline-pulse 2.8s ease-in-out infinite;
}

.vfx-pipeline-revision {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 0.7rem;
  margin: 1rem 0 0;
  padding: 0.85rem;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.68rem;
  line-height: 1.5;
}

.vfx-pipeline-revision > span {
  grid-row: span 2;
  color: var(--color-primary-light);
  font-size: 1.4rem;
  line-height: 1;
}

.vfx-pipeline-revision strong {
  color: rgba(255, 255, 255, 0.68);
}

.vfx-pipeline-footer {
  margin-top: 2.7rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.vfx-pipeline-principle {
  padding: 1.2rem 1.35rem;
  border: 1px solid rgba(231, 189, 97, 0.3);
  background: linear-gradient(100deg, rgba(170, 122, 22, 0.13), rgba(8, 10, 13, 0.74) 64%);
}

.vfx-pipeline-principle strong {
  display: block;
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.86rem, 1.35vw, 1.15rem);
  font-weight: 450;
  line-height: 1.55;
}

.vfx-pipeline-principle strong span {
  margin: 0 0.3rem;
  color: var(--color-primary-light);
}

.vfx-pipeline-footer > p {
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  line-height: 1.6;
}

.vfx-pipeline-key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.32);
}

@keyframes vfx-pipeline-flow {
  to { background-position: -200% 0; }
}

@keyframes vfx-pipeline-pulse {
  0%, 100% { transform: scale(0.85); opacity: 0.66; }
  50% { transform: scale(1.12); opacity: 1; }
}

.hybrid-vfx-work,
.hybrid-vfx-delivery,
.hybrid-vfx-note {
  display: grid;
  grid-template-columns: minmax(120px, 0.32fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 6rem);
  padding: clamp(3.25rem, 6vw, 5.5rem) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.hybrid-vfx-work {
  margin-top: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hybrid-vfx-work h3,
.hybrid-vfx-delivery h3,
.hybrid-vfx-note h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.65rem, 3vw, 3.3rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
}

.hybrid-vfx-work ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2.5rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.hybrid-vfx-work li {
  position: relative;
  padding: 1rem 0 1rem 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
  line-height: 1.55;
}

.hybrid-vfx-work li::before {
  content: "";
  position: absolute;
  top: 1.45rem;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--color-primary-light);
}

.hybrid-vfx-delivery p,
.hybrid-vfx-note div > p {
  max-width: 820px;
  margin: 1.6rem 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  line-height: 1.75;
}

.hybrid-vfx-note {
  margin-top: 2rem;
  padding-right: clamp(1.5rem, 4vw, 4rem);
  padding-left: clamp(1.5rem, 4vw, 4rem);
  border: 1px solid rgba(182, 131, 50, 0.5);
  background: linear-gradient(110deg, rgba(170, 122, 22, 0.14), rgba(212, 167, 72, 0.025) 58%, transparent);
}

.hybrid-vfx-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 2.5rem;
  padding: 0.9rem 1.6rem;
  border: 1px solid var(--color-primary-light);
  color: var(--color-primary-light);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  transition: background 180ms ease, color 180ms ease;
}

.hybrid-vfx-cta:hover,
.hybrid-vfx-cta:focus-visible {
  background: linear-gradient(135deg, var(--color-primary-dim), var(--color-primary));
  color: #fff;
}

/* ===== 首页 Hero ===== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.hero-image {
  background: var(--color-bg);
}

/* 与导航栏同高的顶部占位，避免视频顶到导航栏 */
.hero-navbar-spacer {
  height: 100px;
  flex-shrink: 0;
}

.hero-video-wrap {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 320px;
  overflow: hidden;
}

/* 黑色过渡条，与 hero-caption 配合实现文字横跨视频与黑底 */
.hero-black-bar {
  height: 80px;
  background: #000;
}

.hero-video-wrap .hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 80px; /* 与 hero-black-bar 高度一致，使文字中心对齐视频与黑底分界线 */
  width: 100%;
  text-align: center;
  font-family: var(--font-sans);
  transform: translateY(50%);
  z-index: 2;
}

/* Raise specificity for the hero paragraph typography. */
.hero .hero-caption p {
  color: #fff;
  font-family: var(--font-sans);
}

.hero-caption .hero-caption-line1 {
  font-size: 30px;
  margin: 0 0 0.5rem;
  font-weight: 500;
}

.hero-caption .hero-caption-line2 {
  font-size: 60px;
  margin: 0;
  font-weight: 600;
}

/* Hero 轮播 */
.hero-carousel {
  position: relative;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide .hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
  color: var(--color-primary);
}

.hero-prev { left: 1.5rem; }
.hero-next { right: 1.5rem; }

.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.75rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.hero-dot:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.4);
}

.hero-dot.active {
  background: #fff;
  border-color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(231, 189, 97, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-image::before {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.hero p {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: var(--color-primary);
  color: var(--color-bg);
  font-weight: 600;
  border-radius: 6px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--color-primary-dim);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-bg);
}

/* ===== 通用页面标题 ===== */
/* 案例页 main 顶部横幅图 */
.cases-banner {
  position: relative;
  width: 100%;
  height: calc(100vh - 100px);
  min-height: 400px;
  overflow: hidden;
  background: #000;
}

.cases-banner-img-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cases-banner-img-wrap picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.cases-banner-img,
.cases-banner-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cases-banner-img {
  vertical-align: top;
}

.cases-banner-preview {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.cases-banner-preview.is-visible {
  opacity: 1;
}

/* 案例页 tab + 图片横向滚动，浮动在 banner 底部 */
body[data-page="cases"] .cases-gallery {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 60%, transparent 100%);
  padding-top: 2rem;
}

body[data-page="cases"] .cases-tab {
  color: rgba(255, 255, 255, 0.8);
}

body[data-page="cases"] .cases-tab:hover {
  color: #fff;
}

body[data-page="cases"] .cases-tab.active {
  color: #fff;
}

body[data-page="cases"] .cases-tab.active::after {
  background: #fff;
}

.cases-tabs {
  display: flex;
  justify-content: center;
  gap: 8rem;
  padding: 1rem 1.5rem;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.cases-tab {
  position: relative;
  padding: 1rem 0;
  margin: 0 1rem;
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 400;
  color: #666;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.cases-tab-count {
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 0.25em;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 400;
}

.cases-tab:hover {
  color: #333;
}

.cases-tab.active {
  color: #000;
  font-weight: 600;
  position: relative;
}

.cases-tab.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: #000;
}

.cases-scroll-area {
  position: relative;
  background: #000;
  padding: 24px 5rem;
}

body[data-page="case-detail"] .cases-scroll-area {
  background: rgba(0, 0, 0, 0.6);
}

.cases-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.cases-scroll-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

.cases-scroll-btn-left {
  left: 10px;
}

.cases-scroll-btn-right {
  right: 10px;
}

.cases-scroll-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.5rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cases-scroll-wrap::-webkit-scrollbar {
  display: none;
}

.cases-scroll-track {
  display: flex;
  gap: 2rem;
  width: max-content;
}

.cases-scroll-item {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
}

.cases-scroll-item:hover {
  z-index: 1;
}

.cases-scroll-item-active .cases-scroll-img-wrap {
  border-color: #fff;
}

.cases-scroll-item-active .cases-scroll-img-wrap::after {
  opacity: 0;
}

.cases-scroll-img-wrap {
  position: relative;
  width: 200px;
  height: 128px;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid transparent;
  box-sizing: border-box;
  transition: border-color 0.25s ease;
}

.cases-scroll-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.cases-scroll-item:hover .cases-scroll-img-wrap {
  border-color: #fff;
}

.cases-scroll-item:hover .cases-scroll-img-wrap::after {
  opacity: 0;
}

.cases-scroll-img {
  width: 200px;
  height: 128px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.25s ease;
}

.cases-scroll-item:hover .cases-scroll-img {
  transform: scale(1.05);
}

.cases-scroll-title {
  margin-top: 0.75rem;
  color: #fff;
  font-size: 14px;
  font-family: var(--font-sans);
}

.page-header {
  padding: 4rem 0 3rem;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* ===== 卡片网格 ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0 4rem;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 2rem;
  transition: var(--transition);
}

.card:hover {
  background: var(--color-surface-hover);
  border-color: var(--color-primary);
  transform: translateY(-4px);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ===== 案例展示 ===== */
.case-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--color-border);
}

.case-item:last-child {
  border-bottom: none;
}

.case-item:nth-child(even) {
  direction: rtl;
}

.case-item:nth-child(even) > * {
  direction: ltr;
}

.case-image {
  aspect-ratio: 16/10;
  background: var(--color-surface);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 3rem;
}

.case-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.case-content p {
  color: var(--color-text-muted);
}

/* ===== 服务列表 ===== */
.service-list {
  padding: 2rem 0 4rem;
}

.service-item {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.service-item:hover {
  border-color: var(--color-primary);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(231, 189, 97, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.service-item h3 {
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.service-item p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ===== 关于我们 ===== */
.about-content {
  width: 100%;
  padding: 2rem 0 4rem;
}

.about-content p {
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  padding: 2rem;
  background: var(--color-surface);
  border-radius: 12px;
  border: 1px solid var(--color-border);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ===== 页脚 ===== */
.footer {
  margin-top: auto;
  background: #000000;
  color: #fff;
  font-size: 0.9rem;
  font-weight: normal;
  font-family: var(--font-sans);
}

.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-logo-img {
  width: 228px;
  height: auto;
  display: block;
}

.footer-logo-mail {
  font-family: var(--font-sans);
  font-size: 14px;
  margin-top: 30px;
  color: #fff;
  text-decoration: none;
  transition: opacity var(--transition);
}

.footer-logo-mail:hover {
  opacity: 0.85;
}

.footer-logo .logo-placeholder {
  width: 120px;
  height: 50px;
  color: #fff;
}

.footer-contact {
  flex: 1;
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 1.5rem;
  text-align: right;
}

.footer-nav {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.footer-nav a {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--color-primary);
}

.footer-address {
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  text-align: right;
}

.footer-address p {
  margin: 0;
  font-weight: normal;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem 1rem;
  margin-top: 1rem;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--color-primary-light);
}

.footer span {
  font-family: var(--font-sans);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 12px;
}

.footer-bottom p {
  color: #fff;
  font-weight: normal;
  font-family: inherit;
  font-size: inherit;
}

/* ===== 响应式：1024px 及以下（平板/小桌面） ===== */
@media (max-width: 1024px) {
  body {
    overflow-x: hidden;
  }

  .navbar {
    height: 80px;
  }

  .navbar-inner {
    padding: 0 1.5rem;
    gap: 1.5rem;
  }

  .nav-links {
    gap: 2.5rem;
  }

  .nav-links a {
    font-size: 28px;
  }

  .nav-links a::after {
    height: 6px;
    bottom: -6px;
  }

  .main-content {
    padding-top: 80px;
  }

  body[data-page="services"] .main-content,
  body[data-page="about"] .main-content {
    padding-top: 80px;
  }

  /* 首页 Hero */
  .hero-video-wrap {
    height: 55vh;
    min-height: 280px;
  }

  .hero-caption .hero-caption-line1 {
    font-size: 24px;
  }

  .hero-caption .hero-caption-line2 {
    font-size: 42px;
  }

  /* 案例页 */
  .cases-tabs {
    gap: 3rem;
    padding: 1rem 0.5rem 1rem;
  }

  .cases-tab {
    font-size: 22px;
    margin: 0 0.5rem;
  }

  .cases-tab.active::after {
    height: 6px;
  }

  .cases-tab-count {
    font-size: 16px;
  }

  .cases-scroll-area {
    padding: 28px 4rem 18px;
  }

  .cases-scroll-btn {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .cases-scroll-btn-left {
    left: 10px;
  }

  .cases-scroll-btn-right {
    right: 10px;
  }

  .cases-scroll-img-wrap {
    width: 140px;
    height: 89px;
  }

  .cases-scroll-img {
    width: 140px;
    height: 89px;
  }

  .cases-scroll-title {
    font-size: 14px;
  }

  /* 服务页 */
  .box1,
  .box2,
  .box3,
  .box4 {
    width: 95%;
  }

  .box1-hero,
  .box2-hero,
  .box3-hero,
  .box4-hero {
    padding: 3rem 1.5rem 4rem;
  }

  .box1-hero-num,
  .box2-hero-num,
  .box3-hero-num,
  .box4-hero-num {
    font-size: clamp(3rem, 8vw, 6rem);
  }

  .box1-hero-title,
  .box2-hero-title,
  .box3-hero-title,
  .box4-hero-title {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  }

  .box1-blocks,
  .box2,
  .box3,
  .box4 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .box1-block {
    gap: 2rem;
    padding: 3rem 0;
  }

  .box1-block-img-wrap {
    width: 280px;
  }

  .box1-pics-slogan {
    font-size: 36px;
  }

  .box2-flow-wrap {
    gap: 2rem;
  }

  .box3-block-img-wrap {
    max-width: 100%;
  }

  /* 关于页 */
  .about-box1,
  .about-dna-heading {
    font-size: 36px;
  }

  .about-dna-col-title {
    font-size: 26px;
  }

  .about-box2,
  .about-box3,
  .about-box4 {
    width: 95%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .about-box1 {
    padding: 2.5rem 1.5rem 4rem;
  }

  .about-box1-img-wrap {
    width: 55vw;
  }

  .about-box2-title,
  .about-box3-title,
  .about-box4-title {
    font-size: 32px;
  }

  .about-box2-subtitle,
  .about-box3-subtitle,
  .about-box4-subtitle {
    font-size: 22px;
  }

  .about-box4-img-wrap {
    width: 100%;
    max-width: 400px;
  }

  .about-contact {
    padding: 3rem 1.5rem;
  }

  .about-contact-title {
    font-size: 32px;
  }

  .about-works-scroll-img {
    width: 220px;
    height: 130px;
  }

  /* 案例详情 */
  .case-detail-info {
    padding: 3rem 1.5rem 4rem;
  }

  .case-detail-info-inner {
    gap: 3rem;
  }

  .footer-main {
    padding: 2rem 1.5rem;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1.5rem;
  }

  .footer-logo .footer-logo-img {
    width: 180px;
  }

  .footer-logo .footer-logo-mail {
    font-size: 14px;
  }

  .footer-logo .logo-placeholder {
    width: 90px;
    height: 40px;
    flex-shrink: 0;
  }

  .footer-contact {
    flex: 1;
    min-width: 0;
    padding-left: 1.5rem;
    gap: 1rem;
  }

  .footer-nav {
    gap: 2rem;
  }

  .footer-nav a {
    font-size: 16px;
  }

  .footer-address {
    font-size: 13px;
  }
}

/* ===== 响应式：768px 及以下（平板竖屏/大手机） ===== */
@media (max-width: 768px) {
  .navbar {
    height: 70px;
  }

  .navbar-inner {
    padding: 0 1rem;
    gap: 1rem;
  }

  .nav-links {
    gap: 2rem;
  }

  .nav-links a {
    font-size: 22px;
  }

  .nav-logo-img {
    width: 120px;
    height: auto;
  }

  .logo-placeholder {
    width: 90px;
    height: 40px;
    font-size: 0.75rem;
  }

  .main-content {
    padding-top: 70px;
  }

  body[data-page="services"] .main-content,
  body[data-page="about"] .main-content {
    padding-top: 70px;
  }

  /* 首页 Hero */
  .hero-video-wrap {
    height: 50vh;
    min-height: 240px;
  }

  .hero-caption .hero-caption-line1 {
    font-size: 20px;
  }

  .hero-caption .hero-caption-line2 {
    font-size: 32px;
  }

  .case-item,
  .case-item:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 1.5rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .service-item {
    flex-direction: column;
  }

  .box1-hero-inner,
  .box2-hero-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .box1-block {
    flex-direction: column;
    gap: 1.5rem;
    padding: 3rem 0;
  }

  .box1-block-img-wrap {
    width: 100%;
  }

  .box1-pics-slogan {
    font-size: 28px;
  }

  .box2-flow-wrap {
    grid-template-columns: 1fr;
  }

  .box4-content-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .box3-hero-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .box4-hero-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .box4-flow-imgs {
    flex-direction: column;
  }

  .box4-flow-left {
    flex-direction: row;
  }

  .box4-steps {
    grid-template-columns: 1fr;
  }

  /* 案例页 */
  .cases-banner {
    height: calc(100vh - 70px);
    min-height: 350px;
  }

  .cases-banner-img,
  .cases-banner-preview {
    width: 100%;
    height: auto;
  }

  .cases-tabs {
    gap: 1.5rem;
    padding: 0.75rem 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .cases-tab {
    font-size: 18px;
    padding: 0.75rem 0;
    margin: 0 0.25rem;
  }

  .cases-tab-count {
    font-size: 14px;
  }

  .cases-scroll-area {
    padding: 22px 3rem 16px;
  }

  .cases-scroll-btn {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .cases-scroll-img-wrap {
    width: 100px;
    height: 64px;
  }

  .cases-scroll-img {
    width: 100px;
    height: 64px;
  }

  .cases-scroll-title {
    font-size: 14px;
    margin-top: 0.5rem;
  }

  .about-box1-top {
    min-height: 200px;
  }

  .about-box1-left {
    left: calc(5% + 50px);
  }

  .about-box1-right {
    right: calc(5% + 50px);
  }

  img.about-box1-left,
  img.about-box1-right {
    max-width: 170px;
    max-height: 80px;
  }

  .about-box1-img-wrap {
    width: 70vw;
  }

  .about-works-scroll-img {
    width: 180px;
    height: 105px;
  }

  .about-box3-blocks {
    grid-template-columns: 1fr;
  }

  .about-box4-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-box4-quote {
    text-align: left;
    font-size: 18px;
  }

  .about-box4-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-box4-desc {
    max-width: 100%;
  }

  .about-box4-interplay {
    text-align: left;
    font-size: 28px;
  }

  .about-box4-img-placeholder {
    white-space: normal;
    padding: 0 1rem;
    font-size: 14px;
  }

  .about-contact-header {
    flex-direction: column;
    gap: 1rem;
  }

  .about-contact-row {
    flex-direction: column;
    gap: 0.5rem;
  }

  .about-contact-label {
    width: auto;
    padding-top: 0;
  }

  .about-contact-submit-row {
    align-items: flex-start;
  }

  .about-contact-title {
    font-size: 28px;
  }

  .about-contact-submit {
    font-size: 22px;
  }

  .about-box2-moats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-moat-item-full {
    max-width: 100%;
  }

  .about-box2-wrap {
    grid-template-columns: 1fr;
  }

  .about-box2-main {
    grid-template-columns: 1fr;
  }

  .about-box2-center-img {
    min-height: 200px;
  }

  .about-box2-title {
    font-size: 28px;
  }

  .about-box2-subtitle {
    font-size: 20px;
  }

  .about-box3-title {
    font-size: 28px;
  }

  .about-box3-subtitle {
    font-size: 20px;
  }

  .about-box3-block-title {
    font-size: 1.25rem;
  }

  .footer-main {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    padding: 1.5rem 1rem;
    gap: 1rem;
  }

  .footer-logo .footer-logo-img {
    width: 150px;
  }

  .footer-logo .logo-placeholder {
    width: 70px;
    height: 32px;
    flex-shrink: 0;
  }

  .footer-contact {
    flex: 1;
    min-width: 0;
    padding-left: 1rem;
    gap: 0.75rem;
  }

  .footer-nav {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .footer-nav a {
    font-size: 14px;
  }

  .footer-address {
    font-size: 12px;
  }

  .footer-bottom {
    padding: 1rem;
  }

  /* 案例详情 */
  .case-detail-info-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .case-detail-left {
    width: 100%;
  }

  .case-detail-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== 响应式：480px 及以下（手机） ===== */
@media (max-width: 480px) {
  .navbar {
    height: 60px;
  }

  .navbar-inner {
    padding: 0 0.75rem;
    gap: 0.75rem;
    grid-template-columns: auto 1fr auto;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    font-size: 14px;
    white-space: nowrap;
  }

  .nav-logo-img {
    width: 90px;
    height: auto;
  }

  .logo-placeholder {
    width: 70px;
    height: 32px;
    font-size: 0.65rem;
  }

  .main-content {
    padding-top: 60px;
  }

  body[data-page="services"] .main-content,
  body[data-page="about"] .main-content {
    padding-top: 60px;
  }

  /* 首页 Hero */
  .hero-video-wrap {
    height: 45vh;
    min-height: 200px;
  }

  .hero-caption .hero-caption-line1 {
    font-size: 16px;
  }

  .hero-caption .hero-caption-line2 {
    font-size: 24px;
  }

  /* 案例页 */
  .cases-banner {
    height: calc(100vh - 60px);
    min-height: 280px;
  }

  .cases-banner-img,
  .cases-banner-preview {
    width: 100%;
    height: auto;
  }

  .cases-tabs {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: end;
    gap: 0.65rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
  }

  .cases-tab {
    min-width: 0;
    margin: 0;
    font-size: 13px;
    padding: 0.5rem 0;
    white-space: nowrap;
  }

  .cases-tab-count {
    position: static;
    margin-left: 0.2em;
    font-size: 10px;
    vertical-align: super;
  }

  .cases-scroll-area {
    padding: 18px 2.5rem 12px;
  }

  .cases-scroll-btn {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .cases-scroll-img-wrap {
    width: 70px;
    height: 45px;
  }

  .cases-scroll-img {
    width: 70px;
    height: 45px;
  }

  .cases-scroll-title {
    font-size: 12px;
  }

  /* 服务页 */
  .box1,
  .box2,
  .box3,
  .box4 {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .box1-hero,
  .box2-hero,
  .box3-hero,
  .box4-hero {
    padding: 2rem 1rem 3rem;
  }

  .box1-hero-num,
  .box2-hero-num,
  .box3-hero-num,
  .box4-hero-num {
    font-size: 3rem;
  }

  .box1-hero-title,
  .box2-hero-title,
  .box3-hero-title,
  .box4-hero-title {
    font-size: 1.5rem;
  }

  .box1-hero-subtitle,
  .box2-hero-subtitle,
  .box3-hero-subtitle,
  .box4-hero-subtitle {
    font-size: 0.95rem;
  }

  .box1-blocks {
    padding: 0 1rem 3rem;
  }

  .box1-block {
    padding: 2rem 0;
  }

  .box1-block-title,
  .box2-feature-title,
  .box3-block-title {
    font-size: 1.15rem;
  }

  .box2-flow-wrap {
    gap: 1.5rem;
  }

  .box3-blocks {
    gap: 2.5rem;
  }

  /* 关于页 */
  .about-box1,
  .about-dna {
    padding: 3rem 1rem 4rem;
  }

  .about-dna-heading {
    font-size: 28px;
  }

  .about-dna-img-wrap {
    width: 95%;
  }

  .about-dna-col-title {
    font-size: 22px;
  }

  .about-box2,
  .about-box3,
  .about-box4 {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .about-box1 {
    padding: 1.5rem 1rem 3rem;
  }

  .about-box1-heading {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .about-box1-content p {
    font-size: 0.95rem;
  }

  .about-box1-img-wrap {
    width: 85vw;
  }

  .about-box1-left,
  .about-box1-right {
    display: none;
  }

  .about-box2,
  .about-box3,
  .about-box4 {
    padding: 0 1rem 3rem;
  }

  .about-box2-title,
  .about-box3-title,
  .about-box4-title {
    font-size: 24px;
  }

  .about-box2-subtitle,
  .about-box3-subtitle {
    font-size: 18px;
  }

  .about-box2-intro {
    font-size: 0.9rem;
  }

  .about-box2-feature-title {
    font-size: 1rem;
  }

  .about-box2-feature-desc {
    font-size: 0.85rem;
  }

  .about-box3-block-title {
    font-size: 1.1rem;
  }

  .about-box3-block-desc {
    font-size: 0.9rem;
  }

  .about-box4-img-wrap {
    max-width: 100%;
  }

  .about-box4-quote {
    font-size: 16px;
  }

  .about-box4-interplay {
    font-size: 22px;
  }

  .about-box4-desc {
    font-size: 0.9rem;
  }

  .about-contact {
    padding: 2rem 1rem;
  }

  .about-contact-title {
    font-size: 24px;
  }

  .about-contact-desc {
    font-size: 0.9rem;
  }

  .about-contact-input,
  .about-contact-textarea {
    font-size: 16px;
  }

  .about-contact-submit {
    font-size: 18px;
  }

  .about-works-scroll-img {
    width: 150px;
    height: 90px;
  }

  /* 案例详情 */
  .case-detail-back {
    top: 1rem;
    left: 0.75rem;
    font-size: 0.9rem;
  }

.case-detail-img-overlay .case-detail-overlay-top {
  padding: 0 1rem 0.75rem;
  gap: 0.5rem;
  }

  .case-detail-overlay-subtitle {
    width: 200px;
  }

  .case-detail-overlay-title {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
  }

  .case-detail-overlay-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .case-detail-info {
    padding: 2rem 1rem 3rem;
  }

  .case-detail-label {
    font-size: 0.85rem;
  }

  .case-detail-value,
  .case-detail-intro {
    font-size: 0.9rem;
  }

  .case-detail-gallery {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .footer-main {
    padding: 1.25rem 0.75rem;
    gap: 0.75rem;
  }

  .footer-logo .footer-logo-img {
    width: 120px;
  }

  .footer-logo .logo-placeholder {
    width: 60px;
    height: 28px;
  }

  .footer-contact {
    padding-left: 0.75rem;
    gap: 0.5rem;
  }

  .footer-nav {
    gap: 1rem;
  }

  .footer-nav a {
    font-size: 12px;
  }

  .footer-address {
    font-size: 11px;
  }

}

/* ===== 响应式：375px 及以下（iPhone 6/7/8 等小屏） ===== */
@media (max-width: 375px) {
  .navbar-inner {
    padding: 0 0.5rem;
    gap: 0.5rem;
  }

  .nav-links {
    gap: 0.6rem;
  }

  .nav-links a {
    font-size: 12px;
  }

  .nav-logo-img {
    width: 70px;
    height: auto;
  }

  .logo-placeholder {
    width: 60px;
    height: 28px;
    font-size: 0.6rem;
  }

  .footer-logo .footer-logo-img {
    width: 100px;
  }

  .footer-logo .logo-placeholder {
    width: 55px;
    height: 26px;
  }

  .footer-contact {
    padding-left: 0.6rem;
  }

  .footer-nav a {
    font-size: 11px;
  }

  .footer-address {
    font-size: 10px;
  }
}

/* ===== 案例详情页 ===== */
body[data-page="case-detail"] {
  min-height: 100vh;
  background: #000;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.case-detail-main {
  min-height: 100vh;
  box-sizing: border-box;
  position: relative;
}

.case-detail-back {
  position: fixed;
  top: 1.5rem;
  left: 1rem;
  z-index: 10;
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
  font-family: var(--font-sans);
  opacity: 0.9;
  transition: opacity 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.case-detail-back img {
  height: 18px;
  width: auto;
  display: block;
}

.case-detail-back-text {
  font-size: 18px;
  font-family: var(--font-sans);
}

.case-detail-back:hover {
  opacity: 1;
}

.case-detail-img-wrap {
  width: 100%;
  height: 100vh;
  padding: 0;
  box-sizing: border-box;
  position: relative;
}

.case-detail-img-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
  background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.7) 35%, transparent 100%);
}

.case-detail-overlay-top {
  padding: 0 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.case-detail-overlay-subtitle {
  width: 300px;
  height: auto;
  display: block;
}

.case-detail-overlay-title {
  position: relative;
  font-family: var(--font-sans);
  font-size: 50px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  margin: 0;
}

.case-detail-overlay-title-subs {
  position: absolute;
  right: 0;
  bottom: -30px;
  font-size: 30px;
  font-weight: 700;
}

.case-detail-overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  color: #000;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s;
  font-family: var(--font-sans);
  cursor: pointer;
}

.case-detail-overlay-btn:hover {
  background: #fff;
  transform: scale(1.02);
}

.case-detail-overlay-btn-icon {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #000;
  flex-shrink: 0;
}

.case-detail-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  vertical-align: top;
}

/* 案例详情信息区 */
.case-detail-info {
  background: #000;
  padding: 4rem 2rem 5rem;
}

.case-detail-info-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.case-detail-left {
  flex-shrink: 0;
  width: 400px;
}

.case-detail-right {
  flex: 1;
  min-width: 0;
}

.case-detail-field {
  margin-bottom: 2.5rem;
}

.case-detail-field:last-child {
  margin-bottom: 0;
}

.case-detail-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 0.75rem 0;
  font-weight: 500;
  font-family: var(--font-sans);
}

.case-detail-value {
  font-size: 20px;
  color: #fff;
  margin: 0;
  font-family: var(--font-sans);
}

.case-detail-producer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.case-detail-producer-logo {
  width: 100px;
  height: 100px;
  display: block;
  object-fit: contain;
}

.case-detail-intro {
  font-size: 1rem;
  color: #fff;
  line-height: 1.8;
  margin: 0;
  font-family: var(--font-sans);
}

.case-detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.case-detail-gallery-img {
  width: 100%;
  /* height: auto;
  aspect-ratio: 4/3; */
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

/* 移动端：producer-logo 需在 base 规则之后覆盖 */
@media (max-width: 480px) {
  .case-detail-producer-logo {
    width: 50px !important;
    height: 50px !important;
  }
}

/* ===== 竖版作品体系（DESIGN.md / Format first） ===== */
body[data-page="cases"] {
  background: #070707;
}

.works-main {
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 7%, rgba(182, 131, 50, 0.18), transparent 30rem),
    #070707;
}

.works-hero {
  padding: clamp(7rem, 11vw, 11rem) clamp(1.5rem, 5vw, 5rem) clamp(4rem, 7vw, 7rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.works-hero-inner,
.works-catalog {
  width: min(100%, 1440px);
  margin: 0 auto;
}

.works-eyebrow,
.works-section-index,
.vertical-detail-eyebrow,
.vertical-detail-section-heading p {
  margin: 0;
  color: var(--color-primary);
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.works-title {
  max-width: 1220px;
  margin: 1.4rem 0 3rem;
  font-family: var(--font-sans);
  font-size: clamp(3.4rem, 8vw, 8.4rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.works-hero-bottom {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(480px, 1.2fr);
  gap: clamp(3rem, 10vw, 10rem);
  align-items: end;
}

.works-intro {
  max-width: 540px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.65;
}

.works-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
}

.works-stats div {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.works-stats dt {
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.works-stats dd {
  margin: 0.4rem 0 0;
  font-family: var(--font-sans);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.works-catalog {
  padding: clamp(4rem, 7vw, 7rem) clamp(1.25rem, 3vw, 3rem) clamp(6rem, 10vw, 10rem);
}

.works-catalog-header {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-end;
  margin-bottom: clamp(2rem, 4vw, 4rem);
}

.works-catalog-header h2,
.vertical-detail-section-heading h2 {
  margin: 0.55rem 0 0;
  color: #fff;
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  font-weight: 400;
}

body[data-page="cases"] .cases-tabs {
  display: flex;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

body[data-page="cases"] .cases-tab {
  position: relative;
  min-width: auto;
  margin: 0;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

body[data-page="cases"] .cases-tab:hover,
body[data-page="cases"] .cases-tab:focus-visible {
  border-color: #fff;
  color: #fff;
}

body[data-page="cases"] .cases-tab:focus-visible,
.case-card-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

body[data-page="cases"] .cases-tab.active {
  border-color: #fff;
  background: #fff;
  color: #050505;
  font-weight: 400;
}

body[data-page="cases"] .cases-tab.active::after {
  content: none;
}

body[data-page="cases"] .cases-tab-count {
  position: static;
  margin-left: 0.35rem;
  font-size: 9px;
  vertical-align: 0.16em;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: clamp(2rem, 3vw, 3.25rem) clamp(1rem, 2vw, 1.75rem);
}

.cases-empty {
  grid-column: 1 / -1;
  padding: 5rem 0;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.case-card,
.case-card-link {
  min-width: 0;
}

.case-card-link {
  display: block;
  color: #fff;
  text-decoration: none;
}

.case-card-media {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background: #111;
  isolation: isolate;
}

.case-card-media::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.68), transparent);
  pointer-events: none;
}

.case-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms ease, filter 300ms ease;
}

.case-card--landscape .case-card-image {
  object-fit: contain;
}

.case-card-index,
.case-card-format {
  position: absolute;
  top: 0.75rem;
  z-index: 2;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.case-card-index {
  left: 0.75rem;
}

.case-card-format {
  right: 0.75rem;
  padding: 0.25rem 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.case-card-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translate(-50%, -42%);
  transition: opacity 220ms ease, transform 220ms ease;
  backdrop-filter: blur(8px);
}

.case-card-play::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 17px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #fff;
}

.case-card-link:hover .case-card-image,
.case-card-link:focus-visible .case-card-image {
  transform: scale(1.035);
  filter: brightness(0.82);
}

.case-card-link:hover .case-card-play,
.case-card-link:focus-visible .case-card-play {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.case-card-copy {
  padding: 1rem 0.15rem 0;
}

.case-card-project-label {
  margin: 0 0 0.35rem;
  color: var(--color-primary);
  font-family: var(--font-sans);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.case-card-title {
  margin: 0;
  min-height: 2.7em;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
}

.case-card-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0.65rem 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--font-sans);
}

.case-card-meta div {
  min-width: 0;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.case-card-meta dt {
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-card-meta dd {
  margin: 0.28rem 0 0;
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.74);
  font-size: 8px;
  line-height: 1.35;
}

/* 竖版详情 */
.vertical-detail {
  padding: 7rem clamp(1.25rem, 5vw, 5rem) 0;
  background:
    radial-gradient(circle at 86% 8%, rgba(182, 131, 50, 0.16), transparent 28rem),
    #050505;
}

.vertical-detail .case-detail-back {
  position: absolute;
  top: 2rem;
  left: clamp(1.25rem, 5vw, 5rem);
}

.vertical-detail-hero {
  display: grid;
  grid-template-columns: minmax(300px, 520px) minmax(340px, 1fr);
  gap: clamp(4rem, 9vw, 10rem);
  align-items: center;
  width: min(100%, 1280px);
  min-height: calc(100vh - 7rem);
  margin: 0 auto;
  padding-bottom: clamp(5rem, 9vw, 9rem);
}

.vertical-detail-stage {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: #111;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.vertical-detail-stage::after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  pointer-events: none;
}

.vertical-detail-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vertical-detail-preview {
  display: block;
  background: #111;
}

.vertical-detail-stage.is-landscape .vertical-detail-poster {
  object-fit: contain;
}

.vertical-detail-format,
.vertical-detail-stage-index {
  position: absolute;
  z-index: 2;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.vertical-detail-format {
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
}

.vertical-detail-stage-index {
  left: 1rem;
  bottom: 1rem;
  line-height: 1.25;
}

.vertical-detail-summary {
  max-width: 650px;
}

.vertical-detail-title {
  position: static;
  margin: 1.25rem 0 1.5rem;
  color: #fff;
  font-family: var(--font-sans);
  font-size: clamp(3rem, 6vw, 6.8rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-shadow: none;
}

.vertical-detail-lead {
  max-width: 540px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.7;
}

.vertical-detail-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: clamp(2.5rem, 5vw, 4rem) 0 2.5rem;
}

.vertical-detail-meta div {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.vertical-detail-meta dt {
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.vertical-detail-meta dd {
  margin: 0.55rem 0 0;
  color: #fff;
  font-family: var(--font-sans);
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  line-height: 1.4;
}

.vertical-detail-watch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 48px;
  padding: 0.85rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.vertical-detail-watch:hover,
.vertical-detail-watch:focus-visible {
  border-color: #fff;
  background: #fff;
  color: #050505;
}

.vertical-detail-watch[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.36;
}

.vertical-detail-frames {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: clamp(4rem, 7vw, 7rem) 0 clamp(7rem, 11vw, 11rem);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.vertical-detail-section-heading {
  margin-bottom: clamp(2rem, 4vw, 4rem);
}

.vertical-detail .case-detail-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  margin: 0;
}

.vertical-detail .case-detail-gallery figure {
  aspect-ratio: 9 / 16;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: #111;
}

.vertical-detail .case-detail-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* 独立作品播放器 */
body[data-page="case-player"] {
  min-height: 100svh;
  overflow-x: hidden;
  background: #030303;
}

.case-player-shell {
  min-height: 100svh;
  padding: 1.5rem clamp(1rem, 3vw, 3rem) 2rem;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 1.25rem;
  color: #fff;
  background:
    radial-gradient(circle at 50% 45%, rgba(182, 131, 50, 0.12), transparent 35rem),
    #030303;
}

.case-player-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 48px;
}

.case-player-back {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.72);
}

.case-player-back:hover,
.case-player-back:focus-visible {
  color: #fff;
}

.case-player-brand {
  grid-column: 2;
}

.case-player-brand img {
  width: clamp(150px, 16vw, 230px);
  height: auto;
}

.case-player-stage {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.case-player-video {
  display: block;
  width: auto;
  max-width: min(100%, 1200px);
  height: auto;
  max-height: calc(100svh - 220px);
  background: #000;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.72);
}

.case-player-status {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.1em;
  pointer-events: none;
}

.case-player-caption {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 0.35rem 1rem;
  width: min(100%, 1200px);
  margin: 0 auto;
}

.case-player-caption p,
.case-player-caption span {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-player-caption p {
  grid-column: 1 / -1;
}

.case-player-caption h1 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 2.5vw, 2.6rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

@media (max-width: 600px) {
  .case-player-shell {
    padding: 1rem 0.75rem 1.25rem;
  }

  .case-player-header {
    grid-template-columns: 1fr auto;
  }

  .case-player-brand {
    grid-column: 2;
  }

  .case-player-brand img {
    width: 128px;
  }

  .case-player-video {
    max-height: calc(100svh - 190px);
  }
}

.vertical-detail .case-detail-gallery.is-landscape .case-detail-gallery-img {
  object-fit: contain;
}

@media (max-width: 1100px) {
  .works-hero-bottom {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .works-stats {
    max-width: 720px;
  }

  .cases-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .vertical-detail-hero {
    grid-template-columns: minmax(280px, 440px) minmax(320px, 1fr);
    gap: 4rem;
  }
}

@media (max-width: 900px) {
  .works-catalog-header {
    align-items: flex-start;
    flex-direction: column;
  }

  body[data-page="cases"] .cases-tabs {
    justify-content: flex-start;
  }

  .cases-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vertical-detail {
    padding-top: 6rem;
  }

  .vertical-detail-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 3.5rem;
  }

  .vertical-detail-stage {
    width: min(76vw, 430px);
    margin: 0 auto;
  }

  .vertical-detail-summary {
    max-width: 720px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .works-hero {
    padding: 5rem 1.1rem 3.5rem;
  }

  .works-title {
    margin: 1rem 0 2rem;
    font-size: clamp(2.55rem, 13.5vw, 4rem);
    line-height: 0.94;
  }

  .works-stats {
    gap: 0.65rem;
  }

  .works-stats dt {
    font-size: 8px;
  }

  .works-catalog {
    padding: 3.5rem 1rem 6rem;
  }

  .works-catalog-header {
    margin-bottom: 2rem;
  }

  body[data-page="cases"] .cases-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    width: 100%;
  }

  body[data-page="cases"] .cases-tab {
    width: 100%;
    padding: 0.65rem 0.35rem;
    font-size: 9px;
    text-align: center;
  }

  body[data-page="cases"] .cases-tab-count {
    display: none;
  }

  .cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 0.7rem;
  }

  .case-card-media {
    border-radius: 12px;
  }

  .case-card-play {
    display: none;
  }

  .case-card-copy {
    padding-top: 0.75rem;
  }

  .case-card-title {
    min-height: 2.6em;
    font-size: 12px;
  }

  .case-card-meta {
    grid-template-columns: 1fr;
    gap: 0.3rem;
    margin-top: 0.4rem;
  }

  .case-card-meta div {
    padding-top: 0.3rem;
  }

  .case-card-meta dt,
  .case-card-meta dd {
    font-size: 7px;
  }

  .vertical-detail {
    padding: 5.5rem 1rem 0;
  }

  .vertical-detail .case-detail-back {
    top: 1.25rem;
    left: 1rem;
  }

  .case-detail-back-text {
    font-size: 13px;
  }

  .vertical-detail-stage {
    width: min(82vw, 330px);
    border-radius: 16px;
  }

  .vertical-detail-title {
    font-size: clamp(2.5rem, 13vw, 4.2rem);
  }

  .vertical-detail-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vertical-detail-frames {
    padding: 4rem 0 7rem;
  }

  .vertical-detail .case-detail-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .vertical-detail .case-detail-gallery figure {
    border-radius: 10px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .case-card-image,
  .case-card-play,
  .vfx-pipeline-stage {
    transition: none;
  }

  .case-card-link:hover .case-card-image,
  .case-card-link:focus-visible .case-card-image {
    transform: none;
  }

  .vfx-pipeline-stage:hover,
  .vfx-pipeline-stage:focus-visible {
    transform: none;
  }

  .vfx-pipeline-stage::after,
  .vfx-pipeline-merge span {
    animation: none;
  }
}

/* WORKS 首屏只表达定位，不展示会被误解为作品总量的统计。 */
body[data-page="cases"] .works-hero-bottom {
  grid-template-columns: minmax(0, 720px);
}

@media (max-width: 900px) {
  .home-service-vfx-link {
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
    gap: 1.25rem 2rem;
  }

  .home-service-vfx-cta {
    grid-column: 2;
  }

  .hybrid-vfx {
    width: 94%;
  }

  .hybrid-vfx-pillars {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hybrid-vfx-breakdown-header,
  .hybrid-vfx-passes figcaption {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .hybrid-vfx-pillar {
    min-height: 0;
  }

  .hybrid-vfx-pillar h3 {
    max-width: none;
    margin-top: 1.5rem;
  }

  .hybrid-vfx-pillar p {
    margin-top: 1.5rem;
    padding-top: 0;
  }

  .vfx-pipeline-native-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .vfx-pipeline-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }

  .vfx-pipeline-inputs {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .vfx-pipeline-inputs ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vfx-pipeline-stages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vfx-pipeline-stage--01,
  .vfx-pipeline-stage--02,
  .vfx-pipeline-stage--04,
  .vfx-pipeline-stage--05 {
    grid-column: span 1;
  }

  .vfx-pipeline-stage--03,
  .vfx-pipeline-stage--06 {
    grid-column: 1 / -1;
  }

  .vfx-pipeline-stage--05::after {
    top: auto;
    right: auto;
    bottom: -2.8rem;
    left: 50%;
    width: 2px;
    height: 2.9rem;
    background: linear-gradient(180deg, rgba(231, 189, 97, 0.15), var(--color-primary-light), rgba(231, 189, 97, 0.15));
    background-size: 100% 200%;
  }
}

@media (max-width: 600px) {
  .home-service-vfx-link {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .home-service-vfx-title {
    font-size: clamp(1.4rem, 8vw, 2.2rem);
  }

  .home-service-vfx-desc,
  .home-service-vfx-cta {
    grid-column: 1;
  }

  .hybrid-vfx {
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    scroll-margin-top: 70px;
  }

  .hybrid-vfx-header h2 {
    font-size: clamp(2.6rem, 14vw, 4.25rem);
  }

  .hybrid-vfx-video-toggle {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .hybrid-vfx-video-case figcaption {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .hybrid-vfx-passes-open {
    width: 920px;
  }

  .hybrid-vfx-passes-open > span {
    position: sticky;
    right: 0.75rem;
    bottom: 0.75rem;
    float: right;
    margin-top: -3rem;
  }

  .hybrid-vfx-passes-mobile-hint {
    display: block;
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }

  .vfx-pipeline-native {
    margin-right: -1rem;
    margin-left: -1rem;
    padding: 1.25rem 1rem 1.5rem;
    border-right: 0;
    border-left: 0;
  }

  .vfx-pipeline-native-header h3 {
    font-size: clamp(1.65rem, 9vw, 2.4rem);
  }

  .vfx-pipeline-legend {
    grid-template-columns: 1fr;
  }

  .vfx-pipeline-inputs ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vfx-pipeline-stages {
    grid-template-columns: 1fr;
    gap: 2.7rem;
  }

  .vfx-pipeline-stage--01,
  .vfx-pipeline-stage--02,
  .vfx-pipeline-stage--03,
  .vfx-pipeline-stage--04,
  .vfx-pipeline-stage--05,
  .vfx-pipeline-stage--06 {
    grid-column: 1;
  }

  .vfx-pipeline-stage--01::after,
  .vfx-pipeline-stage--02::after,
  .vfx-pipeline-stage--03::after,
  .vfx-pipeline-stage--04::after,
  .vfx-pipeline-stage--05::after {
    top: auto;
    right: auto;
    bottom: -2.8rem;
    left: 50%;
    width: 2px;
    height: 2.9rem;
    background: linear-gradient(180deg, rgba(231, 189, 97, 0.15), var(--color-primary-light), rgba(231, 189, 97, 0.15));
    background-size: 100% 200%;
  }

  .vfx-pipeline-stage--03 header > div,
  .vfx-pipeline-bypass {
    display: block;
  }

  .vfx-pipeline-stage--03 header p,
  .vfx-pipeline-bypass strong {
    display: block;
    margin-top: 0.55rem;
  }

  .vfx-pipeline-branches,
  .vfx-pipeline-branch ol {
    grid-template-columns: 1fr;
  }

  .vfx-pipeline-branch ol li {
    min-height: 0;
  }

  .vfx-pipeline-branch ol li + li::before {
    top: -1.42rem;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }

  .vfx-pipeline-principle strong span {
    display: block;
    height: 0.3rem;
    opacity: 0;
  }

  .vfx-pipeline-key {
    display: grid;
  }

  .hybrid-vfx-work,
  .hybrid-vfx-delivery,
  .hybrid-vfx-note {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .hybrid-vfx-work ul {
    grid-template-columns: 1fr;
  }

  .hybrid-vfx-note {
    padding: 1.5rem;
  }

  .hybrid-vfx-cta {
    width: 100%;
  }
}

/* Hybrid VFX pipeline — restrained schematic treatment based on the INPUTS source card. */
.vfx-pipeline-native {
  overflow: hidden;
  padding: clamp(1.25rem, 2.4vw, 2.25rem);
  border-color: rgba(255, 255, 255, 0.16);
  background: #050607;
  box-shadow: none;
}

.vfx-pipeline-native::before {
  opacity: 0.24;
  background-size: 50px 50px;
  -webkit-mask-image: none;
  mask-image: none;
}

.vfx-pipeline-native-header {
  align-items: center;
  padding-bottom: 1.5rem;
}

.vfx-pipeline-native-header h3 {
  margin-top: 0.55rem;
  font-size: clamp(1.65rem, 2.7vw, 2.8rem);
  font-weight: 460;
  letter-spacing: -0.035em;
}

.vfx-pipeline-native-header h3 + p {
  max-width: 76ch;
  margin-top: 0.8rem;
  font-size: 0.78rem;
  line-height: 1.55;
}

.vfx-pipeline-legend {
  grid-template-columns: repeat(2, auto);
  min-width: 0;
}

.vfx-pipeline-legend span {
  padding: 0.55rem 0.75rem;
  background: #080a0d;
  font-size: 0.58rem;
}

.vfx-pipeline-legend-ai {
  background: rgba(170, 122, 22, 0.12) !important;
}

.vfx-pipeline-viewport {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  margin-top: 1.5rem;
  padding: 1.5rem 0 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  scrollbar-color: var(--color-primary-dim) rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
}

.vfx-pipeline-viewport:focus-visible {
  outline: 1px solid rgba(231, 189, 97, 0.55);
  outline-offset: 4px;
}

.vfx-pipeline-flow {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
  min-width: 2260px;
  padding: 0 0.2rem;
}

.vfx-pipeline-inputs {
  position: relative;
  display: flex;
  flex: 0 0 205px;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
  min-height: 590px;
  margin: 0;
  padding: 1.25rem;
  border: 1px solid rgba(231, 189, 97, 0.55);
  border-radius: 14px;
  background: #10161d;
}

.vfx-pipeline-inputs::after,
.vfx-pipeline-stage:not(.vfx-pipeline-stage--06)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1.55rem;
  bottom: auto;
  left: auto;
  width: 1.6rem;
  height: 1px;
  background: rgba(244, 246, 248, 0.62);
  box-shadow: none;
  animation: none;
}

.vfx-pipeline-inputs::before {
  content: "›";
  position: absolute;
  z-index: 2;
  top: calc(50% - 0.65rem);
  right: -1.62rem;
  color: rgba(244, 246, 248, 0.78);
  font-size: 1rem;
}

.vfx-pipeline-inputs h4 {
  margin-top: 1.2rem;
  font-size: 1.12rem;
  line-height: 1.05;
}

.vfx-pipeline-inputs ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.vfx-pipeline-inputs li {
  font-size: 0.75rem;
  line-height: 1.35;
}

.vfx-pipeline-stages {
  display: grid;
  flex: none;
  grid-template-columns: 220px 250px 520px 240px 230px 220px;
  gap: 1.5rem;
  min-width: 0;
  margin: 0;
}

.vfx-pipeline-stage,
.vfx-pipeline-stage--01,
.vfx-pipeline-stage--02,
.vfx-pipeline-stage--03,
.vfx-pipeline-stage--04,
.vfx-pipeline-stage--05,
.vfx-pipeline-stage--06 {
  grid-column: auto;
  min-height: 590px;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: #0c1015;
  box-shadow: none;
}

.vfx-pipeline-stage--03 {
  border-color: rgba(255, 255, 255, 0.2);
  background: #090c10;
}

.vfx-pipeline-stage--06 {
  border-color: rgba(231, 189, 97, 0.52);
  background: #10161d;
}

.vfx-pipeline-stage:hover,
.vfx-pipeline-stage:focus-visible {
  border-color: rgba(231, 189, 97, 0.58);
  transform: none;
  box-shadow: none;
}

.vfx-pipeline-stage:not(.vfx-pipeline-stage--06)::before {
  content: "›";
  position: absolute;
  z-index: 2;
  top: calc(50% - 0.65rem);
  right: -1.62rem;
  color: rgba(244, 246, 248, 0.78);
  font-size: 1rem;
}

.vfx-pipeline-stage header {
  display: block;
  min-height: 96px;
  padding-bottom: 1rem;
}

.vfx-pipeline-stage .vfx-pipeline-index {
  color: rgba(255, 255, 255, 0.4);
}

.vfx-pipeline-stage--03 .vfx-pipeline-index,
.vfx-pipeline-stage--06 .vfx-pipeline-index {
  color: var(--color-primary-light);
}

.vfx-pipeline-stage h4 {
  margin-top: 1.15rem;
  font-size: 1.02rem;
  line-height: 1.05;
}

.vfx-pipeline-stage > ul {
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.vfx-pipeline-stage > ul li {
  padding-left: 0.8rem;
  font-size: 0.72rem;
}

.vfx-pipeline-output {
  margin-top: 1.6rem;
  padding: 0.8rem;
  font-size: 0.7rem;
}

.vfx-pipeline-stage--03 header > div {
  display: block;
}

.vfx-pipeline-stage--03 header p {
  margin-top: 0.6rem;
}

.vfx-pipeline-bypass {
  display: block;
  margin-top: 1rem;
  padding: 0.7rem 0.8rem;
}

.vfx-pipeline-bypass strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.62rem;
}

.vfx-pipeline-branches {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.vfx-pipeline-branch {
  padding: 0.8rem;
  background: #0c1015;
}

.vfx-pipeline-branch--ai {
  background: rgba(43, 28, 14, 0.7);
}

.vfx-pipeline-branch-label {
  min-height: 4em;
  font-size: 0.55rem;
}

.vfx-pipeline-branch ol {
  grid-template-columns: 1fr;
  gap: 1.4rem;
  margin-top: 0.65rem;
}

.vfx-pipeline-branch ol li {
  min-height: 82px;
  padding: 0.7rem;
}

.vfx-pipeline-branch ol li + li::before {
  top: -1.12rem;
  left: 50%;
  transform: translateX(-50%) rotate(90deg);
}

.vfx-pipeline-branch strong {
  font-size: 0.65rem;
}

.vfx-pipeline-branch span {
  font-size: 0.58rem;
}

.vfx-pipeline-merge {
  margin-top: 0.75rem;
  font-size: 0.54rem;
}

.vfx-pipeline-merge span {
  animation: none;
}

.vfx-pipeline-revision {
  margin-top: 0.8rem;
  padding: 0.7rem;
  font-size: 0.6rem;
}

.vfx-pipeline-footer {
  margin-top: 1.5rem;
  padding-top: 0;
  border-top: 0;
}

.vfx-pipeline-principle {
  padding: 1rem 1.15rem;
  background: #0a0d11;
}

.vfx-pipeline-principle strong {
  margin-top: 0.45rem;
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .vfx-pipeline-native-header {
    grid-template-columns: 1fr;
  }

  .vfx-pipeline-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vfx-pipeline-viewport {
    overflow: visible;
  }

  .vfx-pipeline-flow {
    display: block;
    min-width: 0;
    padding: 0;
  }

  .vfx-pipeline-inputs,
  .vfx-pipeline-stage,
  .vfx-pipeline-stage--01,
  .vfx-pipeline-stage--02,
  .vfx-pipeline-stage--03,
  .vfx-pipeline-stage--04,
  .vfx-pipeline-stage--05,
  .vfx-pipeline-stage--06 {
    min-height: 0;
  }

  .vfx-pipeline-inputs {
    display: block;
  }

  .vfx-pipeline-inputs ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1.25rem;
  }

  .vfx-pipeline-stages {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    margin-top: 2.2rem;
  }

  .vfx-pipeline-inputs::after,
  .vfx-pipeline-stage:not(.vfx-pipeline-stage--06)::after {
    top: auto;
    right: auto;
    bottom: -2.25rem;
    left: 50%;
    width: 1px;
    height: 2.25rem;
  }

  .vfx-pipeline-inputs::before,
  .vfx-pipeline-stage:not(.vfx-pipeline-stage--06)::before {
    top: auto;
    right: auto;
    bottom: -2.35rem;
    left: calc(50% - 0.25rem);
    transform: rotate(90deg);
  }

  .vfx-pipeline-stage header {
    min-height: 0;
  }

  .vfx-pipeline-stage--03 header > div {
    display: flex;
  }
}

@media (max-width: 600px) {
  .vfx-pipeline-native-header h3 {
    font-size: clamp(1.5rem, 8vw, 2.1rem);
  }

  .vfx-pipeline-legend,
  .vfx-pipeline-inputs ul,
  .vfx-pipeline-branches {
    grid-template-columns: 1fr;
  }

  .vfx-pipeline-stage--03 header > div {
    display: block;
  }
}

/* Black-gold AI finish: light is reserved for route intelligence and state changes. */
.vfx-pipeline-native {
  background:
    radial-gradient(circle at 16% 0%, rgba(182, 131, 50, 0.07), transparent 32rem),
    linear-gradient(180deg, #060708, #030405 78%);
  box-shadow: inset 0 1px rgba(231, 189, 97, 0.12), 0 28px 90px rgba(0, 0, 0, 0.32);
}

.vfx-pipeline-native::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -12%;
  bottom: -12%;
  left: -12%;
  width: 14%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(231, 189, 97, 0.08), transparent);
  transform: skewX(-10deg);
  animation: vfx-schematic-scan 11s ease-in-out infinite;
}

.vfx-pipeline-native-header {
  position: relative;
}

.vfx-pipeline-native-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  opacity: 0.7;
  background: linear-gradient(90deg, var(--color-primary-dim), rgba(231, 189, 97, 0.16) 22%, rgba(255, 255, 255, 0.08) 72%, transparent);
}

.vfx-pipeline-native-header h3 {
  color: transparent;
  background: linear-gradient(105deg, #fff 0%, #fff 52%, #e7bd61 68%, #fff 84%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: vfx-title-sheen 9s ease-in-out infinite;
}

.vfx-pipeline-legend span {
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
  transition: border-color 220ms ease, color 220ms ease, background-color 220ms ease;
}

.vfx-pipeline-legend-ai {
  box-shadow: inset 0 0 18px rgba(231, 189, 97, 0.055) !important;
}

.vfx-pipeline-viewport {
  position: relative;
  background:
    linear-gradient(90deg, rgba(231, 189, 97, 0.035), transparent 12%, transparent 88%, rgba(231, 189, 97, 0.025)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 28%);
}

.vfx-pipeline-inputs,
.vfx-pipeline-stage {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.028), transparent 34%),
    #0b0f14;
  transition: border-color 240ms ease, background-color 240ms ease, box-shadow 240ms ease;
}

.vfx-pipeline-inputs {
  border-color: rgba(231, 189, 97, 0.62);
  background:
    radial-gradient(circle at 0% 0%, rgba(231, 189, 97, 0.08), transparent 52%),
    #0f151b;
  box-shadow: inset 0 0 34px rgba(231, 189, 97, 0.035);
}

.vfx-pipeline-inputs::after,
.vfx-pipeline-stage:not(.vfx-pipeline-stage--06)::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.14), rgba(231, 189, 97, 0.95), rgba(255, 255, 255, 0.2));
  background-size: 250% 100%;
  box-shadow: 0 0 8px rgba(231, 189, 97, 0.42);
  animation: vfx-route-signal 3.8s linear infinite;
}

.vfx-pipeline-inputs::before,
.vfx-pipeline-stage:not(.vfx-pipeline-stage--06)::before {
  color: var(--color-primary-light);
  text-shadow: 0 0 9px rgba(231, 189, 97, 0.62);
}

.vfx-pipeline-stage:hover,
.vfx-pipeline-stage:focus-visible {
  border-color: rgba(231, 189, 97, 0.64);
  background:
    radial-gradient(circle at 8% 0%, rgba(231, 189, 97, 0.075), transparent 44%),
    #0c1015;
  box-shadow: inset 0 0 28px rgba(231, 189, 97, 0.035), 0 0 26px rgba(182, 131, 50, 0.055);
}

.vfx-pipeline-stage .vfx-pipeline-index {
  transition: color 220ms ease, text-shadow 220ms ease;
}

.vfx-pipeline-stage:hover .vfx-pipeline-index,
.vfx-pipeline-stage:focus-visible .vfx-pipeline-index {
  color: var(--color-primary-light);
  text-shadow: 0 0 12px rgba(231, 189, 97, 0.45);
}

.vfx-pipeline-stage--03 {
  background:
    radial-gradient(circle at 32% 30%, rgba(182, 131, 50, 0.055), transparent 42%),
    #080b0f;
}

.vfx-pipeline-branch--ai {
  border-color: rgba(231, 189, 97, 0.58);
  background:
    linear-gradient(135deg, rgba(170, 122, 22, 0.2), rgba(43, 28, 14, 0.52) 58%, rgba(9, 12, 16, 0.8));
  box-shadow: inset 0 0 26px rgba(231, 189, 97, 0.035);
  animation: vfx-ai-branch-breathe 5.5s ease-in-out infinite;
}

.vfx-pipeline-branch--ai ol li + li::before {
  animation: vfx-arrow-breathe 2.8s ease-in-out infinite;
}

.vfx-pipeline-merge span {
  animation: vfx-pipeline-pulse 3.2s ease-in-out infinite;
}

.vfx-pipeline-stage--06 {
  background:
    radial-gradient(circle at 100% 0%, rgba(231, 189, 97, 0.1), transparent 48%),
    #0f151b;
  box-shadow: inset 0 0 36px rgba(231, 189, 97, 0.035);
}

.vfx-pipeline-output--gold {
  background:
    linear-gradient(110deg, rgba(170, 122, 22, 0.25), rgba(212, 167, 72, 0.08), rgba(170, 122, 22, 0.2));
  background-size: 180% 100%;
  animation: vfx-output-sheen 6s ease-in-out infinite;
}

.vfx-pipeline-principle {
  position: relative;
  overflow: hidden;
  border-color: rgba(231, 189, 97, 0.38);
  background:
    linear-gradient(90deg, rgba(170, 122, 22, 0.11), transparent 32%),
    #080b0e;
}

.vfx-pipeline-principle::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -18%;
  width: 12%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(231, 189, 97, 0.07), transparent);
  animation: vfx-principle-scan 10s ease-in-out infinite;
}

@keyframes vfx-route-signal {
  to { background-position: -250% 0; }
}

@keyframes vfx-schematic-scan {
  0%, 14% { left: -12%; opacity: 0; }
  24% { opacity: 1; }
  62% { opacity: 0.8; }
  76%, 100% { left: 108%; opacity: 0; }
}

@keyframes vfx-title-sheen {
  0%, 28%, 100% { background-position: 100% 0; }
  56%, 72% { background-position: -40% 0; }
}

@keyframes vfx-ai-branch-breathe {
  0%, 100% { border-color: rgba(231, 189, 97, 0.42); box-shadow: inset 0 0 24px rgba(231, 189, 97, 0.025); }
  50% { border-color: rgba(231, 189, 97, 0.68); box-shadow: inset 0 0 34px rgba(231, 189, 97, 0.065); }
}

@keyframes vfx-arrow-breathe {
  0%, 100% { opacity: 0.52; text-shadow: 0 0 5px rgba(231, 189, 97, 0.3); }
  50% { opacity: 1; text-shadow: 0 0 13px rgba(231, 189, 97, 0.72); }
}

@keyframes vfx-output-sheen {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: 0 0; }
}

@keyframes vfx-principle-scan {
  0%, 22% { left: -18%; opacity: 0; }
  35% { opacity: 1; }
  70%, 100% { left: 108%; opacity: 0; }
}

@media (max-width: 900px) {
  .vfx-pipeline-inputs::after,
  .vfx-pipeline-stage:not(.vfx-pipeline-stage--06)::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(231, 189, 97, 0.95), rgba(255, 255, 255, 0.2));
    background-size: 100% 250%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vfx-pipeline-native::after,
  .vfx-pipeline-native-header h3,
  .vfx-pipeline-inputs::after,
  .vfx-pipeline-stage:not(.vfx-pipeline-stage--06)::after,
  .vfx-pipeline-branch--ai,
  .vfx-pipeline-branch--ai ol li + li::before,
  .vfx-pipeline-merge span,
  .vfx-pipeline-output--gold,
  .vfx-pipeline-principle::after {
    animation: none;
  }
}

/* Final routing ownership: keep this after every legacy pipeline rule. */
.vfx-pipeline-flow {
  position: relative;
  min-width: 2324px;
  padding-bottom: 9rem;
}

.vfx-pipeline-inputs::before,
.vfx-pipeline-inputs::after,
.vfx-pipeline-stage:not(.vfx-pipeline-stage--06)::before,
.vfx-pipeline-stage:not(.vfx-pipeline-stage--06)::after,
.vfx-pipeline-branch ol li + li::before {
  content: none;
}

.vfx-pipeline-stages {
  grid-template-columns: 220px 250px 560px 264px 230px 220px;
}

.vfx-pipeline-stage--04 {
  margin-left: 24px;
}

.vfx-pipeline-branches {
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.vfx-pipeline-branch {
  padding: 0.72rem 0.8rem 0.8rem;
}

.vfx-pipeline-branch-label {
  min-height: 0;
}

.vfx-pipeline-branch ol {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.vfx-pipeline-branch ol li {
  min-height: 72px;
}

.vfx-pipeline-revision {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 0.8rem;
  width: 480px;
  margin: 0;
  padding: 0.65rem 1rem;
  border-color: rgba(143, 154, 165, 0.36);
  border-radius: 999px;
  background: #050708;
  box-shadow: 0 0 0 6px #050607, 0 0 24px rgba(0, 0, 0, 0.58);
  visibility: hidden;
  text-align: left;
}

.vfx-pipeline-revision.is-positioned {
  visibility: visible;
}

.vfx-pipeline-revision-icon {
  display: none;
}

.vfx-pipeline-revision strong {
  display: block;
  margin: 0;
  white-space: nowrap;
}

.vfx-pipeline-revision > .vfx-pipeline-revision-copy {
  display: block;
  grid-row: auto;
  color: rgba(216, 222, 229, 0.68);
  font-size: 0.58rem;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .vfx-pipeline-flow {
    min-width: 0;
    padding-bottom: 0;
  }

  .vfx-pipeline-stages {
    grid-template-columns: 1fr;
  }

  .vfx-pipeline-stage--04 {
    margin-left: 0;
  }

  .vfx-pipeline-stage--06 {
    margin-top: 6.5rem;
  }

  .vfx-pipeline-revision {
    grid-template-columns: auto minmax(0, 1fr);
    width: auto;
    border-radius: 10px;
    text-align: left;
  }

  .vfx-pipeline-revision-icon {
    display: inline-flex;
    grid-row: 1 / span 2;
  }

  .vfx-pipeline-revision > .vfx-pipeline-revision-copy {
    font-size: 0.62rem;
  }
}

@media (max-width: 600px) {
  .vfx-pipeline-branch ol {
    grid-template-columns: 1fr;
  }
}

/* Desktop pipeline fit: preserve the full left-to-right schematic without a horizontal scroller. */
@media (min-width: 1200px) {
  .hybrid-vfx {
    width: min(98%, 1800px);
    padding-right: clamp(1rem, 1.5vw, 2rem);
    padding-left: clamp(1rem, 1.5vw, 2rem);
  }

  .vfx-pipeline-native {
    padding-right: clamp(1rem, 1.4vw, 1.5rem);
    padding-left: clamp(1rem, 1.4vw, 1.5rem);
  }

  .vfx-pipeline-viewport {
    overflow-x: clip;
  }

  .vfx-pipeline-flow {
    width: 100%;
    min-width: 0;
    gap: clamp(0.55rem, 0.75vw, 0.9rem);
    align-items: center;
    padding-right: 0;
    padding-left: 0;
  }

  .vfx-pipeline-inputs {
    flex-basis: clamp(118px, 9vw, 170px);
    height: clamp(348px, 28.6vw, 411px);
    min-height: 0;
    padding: clamp(0.7rem, 0.85vw, 1rem);
  }

  .vfx-pipeline-inputs h4 {
    font-size: clamp(0.82rem, 0.9vw, 1.05rem);
  }

  .vfx-pipeline-inputs li {
    padding-left: 0.65rem;
    font-size: clamp(0.58rem, 0.6vw, 0.72rem);
  }

  .vfx-pipeline-stages {
    flex: 1 1 auto;
    width: auto;
    align-items: center;
    grid-template-columns:
      minmax(112px, 0.9fr)
      minmax(124px, 1fr)
      minmax(300px, 2.25fr)
      minmax(128px, 1fr)
      minmax(124px, 0.95fr)
      minmax(116px, 0.9fr);
    gap: clamp(0.55rem, 0.75vw, 0.9rem);
  }

  .vfx-pipeline-stage,
  .vfx-pipeline-stage--01,
  .vfx-pipeline-stage--02,
  .vfx-pipeline-stage--03,
  .vfx-pipeline-stage--04,
  .vfx-pipeline-stage--05,
  .vfx-pipeline-stage--06 {
    height: clamp(500px, 41vw, 590px);
    min-height: 0;
    padding: clamp(0.7rem, 0.85vw, 1rem);
  }

  .vfx-pipeline-stage--03 {
    height: clamp(592px, 48.5vw, 698px);
  }

  .vfx-pipeline-stage--04 {
    margin-left: clamp(8px, 0.7vw, 12px);
  }

  .vfx-pipeline-stage h4 {
    font-size: clamp(0.76rem, 0.8vw, 0.96rem);
  }

  .vfx-pipeline-stage > ul li {
    padding-left: 0.7rem;
    font-size: clamp(0.56rem, 0.57vw, 0.68rem);
  }

  .vfx-pipeline-output {
    padding: 0.7rem;
    font-size: clamp(0.56rem, 0.57vw, 0.67rem);
  }

  .vfx-pipeline-branch {
    padding: 0.62rem;
  }

  .vfx-pipeline-branch ol {
    gap: clamp(0.65rem, 0.75vw, 1rem);
  }

  .vfx-pipeline-branch ol li {
    padding: 0.58rem;
  }

  .vfx-pipeline-branch strong {
    font-size: clamp(0.55rem, 0.56vw, 0.64rem);
  }

  .vfx-pipeline-branch span {
    font-size: clamp(0.5rem, 0.51vw, 0.58rem);
  }
}

/* Compact laptops use the readable vertical route instead of clipping or horizontal scrolling. */
@media (min-width: 901px) and (max-width: 1199px) {
  .vfx-pipeline-native-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .vfx-pipeline-viewport {
    overflow: visible;
  }

  .vfx-pipeline-flow {
    display: block;
    min-width: 0;
    padding: 0;
  }

  .vfx-pipeline-inputs,
  .vfx-pipeline-stage,
  .vfx-pipeline-stage--01,
  .vfx-pipeline-stage--02,
  .vfx-pipeline-stage--03,
  .vfx-pipeline-stage--04,
  .vfx-pipeline-stage--05,
  .vfx-pipeline-stage--06 {
    min-height: 0;
  }

  .vfx-pipeline-inputs {
    display: block;
  }

  .vfx-pipeline-inputs ul {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1.25rem;
  }

  .vfx-pipeline-stages {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    margin-top: 2.2rem;
  }

  .vfx-pipeline-stage--01,
  .vfx-pipeline-stage--02,
  .vfx-pipeline-stage--03,
  .vfx-pipeline-stage--04,
  .vfx-pipeline-stage--05,
  .vfx-pipeline-stage--06 {
    grid-column: 1;
  }

  .vfx-pipeline-stage--04 {
    margin-left: 0;
  }

  .vfx-pipeline-stage--06 {
    margin-top: 6.5rem;
  }

  .vfx-pipeline-stage header {
    min-height: 0;
  }

  .vfx-pipeline-stage--03 header > div {
    display: flex;
  }
}

/* Desktop uses the approved raster pipeline; narrow screens retain the responsive HTML/SVG diagram. */
.vfx-pipeline-desktop-image {
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #050607;
}

.hybrid-vfx-pipeline {
  scroll-margin-top: 120px;
}

.vfx-pipeline-desktop-image img {
  display: block;
  width: 100%;
  height: auto;
}

.hybrid-vfx-pipeline > .vfx-pipeline-native {
  display: none;
}

@media (max-width: 900px) {
  .vfx-pipeline-desktop-image {
    display: none;
  }

  .hybrid-vfx-pipeline > .vfx-pipeline-native {
    display: block;
  }
}
