:root {
  color-scheme: dark;
  --bg: #030303;
  --bg-2: #0a0a0a;
  --panel: rgba(12, 12, 12, 0.88);
  --panel-strong: rgba(8, 8, 8, 0.96);
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.28);
  --text: #f7f5ef;
  --muted: #9e9c96;
  --soft: #dedbd2;
  --teal: #8ee8d0;
  --mint: #d8ffb7;
  --amber: #f6f25a;
  --red: #ff684f;
  --steel: #aaa1d6;
  --yellow-card: #f5f15d;
  --lavender-card: #aaa1d6;
  --green-card: #d8ffb7;
  --peach-card: #ff6b51;
  --shadow: 0 18px 52px rgba(0, 0, 0, 0.36);
  --radius: 3px;
  --max: 1760px;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Inter", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(115deg, rgba(10, 10, 10, 0.96), rgba(3, 3, 3, 0.98) 42%, rgba(0, 0, 0, 1)),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.16));
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(246, 242, 90, 0.04), transparent 30%),
    linear-gradient(90deg, transparent, rgba(170, 161, 214, 0.05), transparent);
}

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

button {
  font: inherit;
}

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

.ambient-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, transparent, rgba(246, 242, 90, 0.035), transparent);
  opacity: 0.42;
}

.topbar {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 30;
  display: flex;
  width: min(calc(100% - 48px), 1240px);
  height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(8, 12, 16, 0.72);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  min-width: 240px;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  position: relative;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(98, 216, 198, 0.72);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(98, 216, 198, 0.16), rgba(239, 184, 90, 0.12));
  box-shadow: 0 0 28px rgba(98, 216, 198, 0.18);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  background: var(--teal);
}

.brand-mark::before {
  top: 8px;
  left: 6px;
  width: 16px;
  height: 1px;
}

.brand-mark::after {
  top: 6px;
  left: 8px;
  width: 1px;
  height: 16px;
}

.brand strong,
.brand em {
  display: block;
}

.brand strong {
  font-size: 14px;
  letter-spacing: 0;
}

.brand em {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  text-transform: uppercase;
}

.topnav {
  display: flex;
  gap: 6px;
}

.topnav a {
  padding: 9px 12px;
  border-radius: var(--radius);
  color: var(--soft);
  font-size: 13px;
  transition: background 180ms ease, color 180ms ease;
}

.topnav a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.icon-button span {
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 3px;
  box-shadow: inset 0 0 0 3px rgba(8, 12, 16, 0.72);
}

.icon-button:hover {
  border-color: rgba(98, 216, 198, 0.46);
  background: rgba(98, 216, 198, 0.1);
  transform: translateY(-1px);
}

.rail {
  position: fixed;
  top: 112px;
  left: 24px;
  z-index: 25;
  display: none;
  width: 74px;
  flex-direction: column;
  gap: 8px;
}

.rail-link {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 10px 8px;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  color: rgba(238, 245, 242, 0.44);
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.rail-link span {
  font-size: 10px;
  font-weight: 700;
}

.rail-link b {
  font-size: 12px;
  font-weight: 500;
}

.rail-link.active,
.rail-link:hover {
  border-color: var(--teal);
  background: linear-gradient(90deg, rgba(98, 216, 198, 0.12), transparent);
  color: var(--text);
}

.fullscreen-button {
  position: fixed;
  top: clamp(18px, 2vw, 30px);
  right: clamp(18px, 2vw, 30px);
  z-index: 45;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(12, 12, 12, 0.72);
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  opacity: 0.58;
  backdrop-filter: blur(20px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 16px 42px rgba(0, 0, 0, 0.22);
}

.fullscreen-button span {
  font-size: 20px;
  line-height: 1;
  transform: translateY(-1px);
}

.fullscreen-button:hover,
.fullscreen-button.is-active {
  background: rgba(98, 216, 198, 0.18);
  color: #fff;
  opacity: 1;
  box-shadow:
    inset 0 0 0 1px rgba(142, 232, 208, 0.28),
    0 16px 44px rgba(98, 216, 198, 0.12);
}

.section {
  position: relative;
  display: flex;
  min-height: 100vh;
  align-items: center;
  padding: 116px 32px 72px;
  overflow: clip;
  scroll-margin-top: 0;
}

.section-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 132px));
  margin: 0 auto;
}

.hero-section {
  min-height: 100svh;
  align-items: stretch;
  padding: 0;
  background: #000;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.66;
  animation: heroDrift 18s ease-in-out infinite alternate;
}

body.is-hero-view .topbar {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -18px);
}

body.is-hero-view .rail {
  display: flex;
  top: 12px;
  left: 4px;
  width: 36px;
  gap: 0;
}

body.is-hero-view .rail-link {
  display: flex;
  width: 36px;
  height: 66px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-left: 0;
  background: transparent;
  color: #f7f5ef;
  writing-mode: vertical-rl;
}

body.is-hero-view .rail-link span {
  display: none;
}

body.is-hero-view .rail-link b {
  display: none;
}

body.is-hero-view .rail-link::after {
  content: attr(data-label);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

body.is-hero-view .rail-link.active {
  background: #f20b06;
  color: #fff;
}

.opening-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #070000;
}

.opening-canvas::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0 18%, rgba(0, 0, 0, 0.34) 38%, transparent 72%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.22) 54%, rgba(0, 0, 0, 0.78) 100%);
  pointer-events: none;
}

.opening-canvas::after {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.032) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, transparent, rgba(255, 46, 24, 0.08), transparent);
  opacity: 0.38;
  mix-blend-mode: screen;
}

.opening-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.045);
  transform-origin: 50% 48%;
  animation: heroImagePush 16s ease-in-out infinite alternate;
}

.opening-glow {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  mix-blend-mode: screen;
}

.opening-glow span {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(255, 72, 45, 0.9), rgba(255, 19, 9, 0.22) 45%, transparent 72%);
  filter: blur(20px);
  opacity: 0.62;
  animation: redRoomPulse 5s ease-in-out infinite alternate;
}

.opening-glow span:nth-child(1) {
  top: 28%;
  left: 34%;
  width: 32vw;
  height: 24vh;
}

.opening-glow span:nth-child(2) {
  top: -12%;
  right: 12%;
  width: 48vw;
  height: 40vh;
  opacity: 0.36;
  animation-delay: -1.8s;
}

.opening-glow span:nth-child(3) {
  right: 2%;
  bottom: 16%;
  width: 56vw;
  height: 34vh;
  opacity: 0.3;
  animation-delay: -3s;
}

.opening-depth-lines {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.opening-depth-lines span {
  position: absolute;
  left: 10%;
  width: 82%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 72, 45, 0.38), transparent);
  opacity: 0;
  transform: translateX(-7%);
  animation: depthSlide 5.8s ease-in-out infinite;
}

.opening-depth-lines span:nth-child(1) { top: 44%; animation-delay: -0.3s; }
.opening-depth-lines span:nth-child(2) { top: 57%; animation-delay: -1.6s; }
.opening-depth-lines span:nth-child(3) { top: 70%; animation-delay: -2.9s; }
.opening-depth-lines span:nth-child(4) { top: 84%; animation-delay: -4.2s; }

.hero-section::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 50% 70%, transparent 0 42%, rgba(0, 0, 0, 0.36) 78%),
    linear-gradient(90deg, rgba(0, 15, 14, 0.68), transparent 28%, rgba(0, 0, 0, 0.06));
}

.opening-noise {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, transparent 0 72%, rgba(0, 0, 0, 0.72) 100%);
  opacity: 0.48;
}

.opening-copy {
  position: absolute;
  bottom: clamp(70px, 10vh, 124px);
  left: clamp(56px, 7vw, 132px);
  z-index: 6;
  width: min(70vw, 1280px);
  animation: titleBlockEnter 980ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.opening-title {
  max-width: none;
  margin: 0;
  color: #fff4e8;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Arial Black", sans-serif;
  font-size: clamp(92px, 8.8vw, 172px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
  text-shadow:
    0 0 30px rgba(255, 68, 36, 0.46),
    0 24px 84px rgba(0, 0, 0, 0.82);
}

.opening-title span {
  position: relative;
  display: block;
  width: fit-content;
  white-space: nowrap;
  overflow: hidden;
  transform-origin: left center;
  animation: titleLineReveal 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.opening-title span::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent 0 18%, rgba(255, 255, 255, 0.72) 42%, transparent 66%);
  mix-blend-mode: screen;
  transform: translateX(-115%);
  animation: titleLightSweep 4.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  animation-delay: 1.1s;
  pointer-events: none;
}

.opening-title span:nth-child(2) {
  animation-delay: 130ms;
}

.opening-title span:nth-child(2)::after {
  animation-delay: 1.28s;
}

.opening-title span:last-child {
  color: #fff4e8;
  -webkit-text-stroke: 0 transparent;
  text-shadow:
    0 0 24px rgba(255, 68, 36, 0.42),
    0 18px 66px rgba(0, 0, 0, 0.78);
}

.opening-subtitle {
  max-width: 760px;
  margin: clamp(24px, 3vh, 34px) 0 0;
  color: rgba(247, 245, 239, 0.76);
  font-size: clamp(18px, 1.45vw, 26px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0;
  text-align: left;
  animation: subtitleRise 820ms 360ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.9), rgba(5, 7, 10, 0.54) 46%, rgba(5, 7, 10, 0.28)),
    linear-gradient(180deg, rgba(5, 7, 10, 0.28), rgba(5, 7, 10, 0.92));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) 390px;
  gap: 48px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(52px, 7.6vw, 112px);
  line-height: 0.93;
  letter-spacing: 0;
}

h1 span {
  display: block;
  white-space: nowrap;
}

h2 {
  margin-bottom: 18px;
  color: var(--text);
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-subtitle {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(238, 245, 242, 0.82);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}

.hero-tags,
.interest-grid,
.preview-grid,
.audio-controls,
.tab-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.interest-grid span,
.preview-grid span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(8, 12, 16, 0.44);
  color: var(--soft);
  font-size: 13px;
}

.hero-console,
.metric-card,
.practice-card,
.flow-node,
.workbench,
.mixer,
.terminal,
.portfolio-preview,
.source-panel,
.close-card,
.portfolio-checklist article,
.sound-layers article,
.shot-strip article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(19, 27, 34, 0.86), rgba(11, 16, 21, 0.82));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-console {
  padding: 18px;
}

.console-top,
.preview-top,
.terminal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.console-top span,
.preview-top span,
.terminal-top b,
.metric-card span,
.practice-card span,
.shot-strip span,
.source-panel h3,
.audio-result span,
.sound-layers span,
.portfolio-checklist span,
.scene-spec span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.console-top b {
  color: var(--amber);
  font-size: 15px;
}

.runtime-list {
  display: grid;
  gap: 10px;
  padding-top: 14px;
}

.runtime-list div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.runtime-list span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.runtime-list b {
  color: var(--soft);
  font-size: 14px;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(238, 245, 242, 0.62);
  font-size: 12px;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.hero-section .scroll-cue {
  display: none;
}

.scroll-cue span {
  display: block;
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, transparent, var(--teal), transparent);
  animation: cueMove 1.8s ease-in-out infinite;
}

.market-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.section-heading {
  max-width: 760px;
}

.section-heading.compact {
  max-width: 900px;
  margin-bottom: 36px;
}

.section-heading p {
  font-size: 17px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.metric-card {
  min-height: 196px;
  padding: 22px;
}

.metric-card strong {
  display: block;
  margin: 18px 0 12px;
  color: var(--text);
  font-size: clamp(34px, 5vw, 60px);
  line-height: 0.95;
}

.metric-card:nth-child(2) strong,
.metric-card:nth-child(4) strong {
  color: var(--teal);
}

.metric-card:nth-child(3) strong {
  color: var(--amber);
}

.metric-card p {
  margin: 0;
  font-size: 14px;
}

.market-section {
  align-items: flex-start;
  padding-top: 118px;
}

.market-stack {
  display: grid;
  gap: 22px;
}

.market-dashboard {
  border: 1px solid rgba(224, 239, 236, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(13, 13, 13, 0.94), rgba(5, 5, 5, 0.92)),
    linear-gradient(90deg, rgba(246, 242, 90, 0.08), transparent 34%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dashboard-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: end;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(224, 239, 236, 0.13);
  background: rgba(255, 255, 255, 0.025);
}

.dashboard-head span,
.signal-card span,
.source-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dashboard-head b {
  display: block;
  margin-top: 6px;
  font-size: 20px;
}

.dashboard-head p {
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid rgba(224, 239, 236, 0.13);
}

.signal-card {
  min-height: 250px;
  padding: 22px;
  border-right: 1px solid rgba(224, 239, 236, 0.13);
  color: #0b0b0b;
  background: var(--yellow-card);
}

.signal-card:last-child {
  border-right: 0;
}

.signal-card:nth-child(2) {
  background: var(--lavender-card);
}

.signal-card:nth-child(3) {
  background: var(--green-card);
}

.signal-card:nth-child(4) {
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
    #090909;
}

.signal-card span {
  color: currentColor;
  opacity: 0.68;
}

.signal-card.highlight {
  background: var(--lavender-card);
}

.signal-card strong {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 22px 0 16px;
  color: currentColor;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: 0;
}

.signal-card strong i,
.compare-row i {
  font-style: normal;
}

.signal-card small {
  color: currentColor;
  font-size: 18px;
  font-weight: 700;
}

.signal-card p {
  margin: 18px 0 0;
  color: currentColor;
  font-size: 14px;
  opacity: 0.74;
}

.signal-bar {
  height: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.12);
}

.signal-bar em,
.compare-row small {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #0c0c0c, rgba(0, 0, 0, 0.5));
  box-shadow: none;
  transition: width 1000ms cubic-bezier(0.2, 0.74, 0.28, 1);
}

.market-dashboard.is-animated .signal-bar em,
.market-dashboard.is-animated .compare-row small {
  width: calc(var(--bar-width, 0) * 1%);
}

.signal-card:nth-child(4) .signal-bar {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.signal-card:nth-child(4) .signal-bar em,
.compare-row small {
  background: linear-gradient(90deg, var(--amber), var(--peach-card));
}

.market-compare {
  display: grid;
  gap: 0;
  padding: 0 22px 20px;
}

.compare-row {
  display: grid;
  grid-template-columns: 210px 170px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 62px;
  border-bottom: 1px solid rgba(224, 239, 236, 0.1);
}

.compare-row:last-child {
  border-bottom: 0;
}

.compare-row span {
  color: var(--muted);
  font-size: 13px;
}

.compare-row b {
  color: var(--text);
  font-size: 22px;
}

.compare-row em {
  height: 8px;
  overflow: hidden;
  border: 1px solid rgba(224, 239, 236, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.source-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.source-card {
  display: grid;
  min-height: 320px;
  border: 1px solid rgba(224, 239, 236, 0.14);
  border-radius: var(--radius);
  background: rgba(9, 13, 17, 0.78);
  overflow: hidden;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.28);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.mini-bars,
.mini-wave,
.mini-blocks,
.mini-orbit,
.utility-chart {
  margin-top: 22px;
}

.mini-bars {
  display: flex;
  height: 88px;
  align-items: end;
  gap: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.24);
}

.mini-bars i {
  width: 18%;
  height: var(--v);
  background: rgba(0, 0, 0, 0.72);
}

.mini-wave,
.utility-chart.wave {
  height: 92px;
  background:
    linear-gradient(90deg, transparent 0 4%, rgba(0, 0, 0, 0.2) 4% 5%, transparent 5% 9%) 0 0 / 24px 100%,
    radial-gradient(ellipse at 50% 30%, rgba(246, 242, 90, 0.75), transparent 8%),
    linear-gradient(160deg, transparent 18%, rgba(0, 0, 0, 0.28) 19% 21%, transparent 22% 62%, rgba(0, 0, 0, 0.22) 63% 65%, transparent 66%);
}

.mini-blocks {
  position: relative;
  height: 92px;
}

.mini-blocks i,
.utility-chart.blocks i {
  position: absolute;
  display: block;
  background: rgba(0, 0, 0, 0.72);
}

.mini-blocks i:nth-child(1) {
  inset: 8px 36% 20px 0;
}

.mini-blocks i:nth-child(2) {
  inset: 20px 0 32px 64%;
  opacity: 0.45;
}

.mini-blocks i:nth-child(3) {
  inset: 58px 0 10px 72%;
  opacity: 0.32;
}

.mini-orbit {
  position: relative;
  height: 92px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.mini-orbit i {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--peach-card);
}

.mini-orbit i:nth-child(1) {
  left: 18%;
  top: 12px;
}

.mini-orbit i:nth-child(2) {
  left: 52%;
  top: 42px;
  background: var(--lavender-card);
}

.mini-orbit i:nth-child(3) {
  right: 12%;
  top: 18px;
  background: var(--green-card);
}

.life-section {
  align-items: flex-start;
  padding-top: 116px;
}

.life-layout {
  display: grid;
  gap: 28px;
}

.life-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 40px;
  align-items: end;
}

.life-title h2 {
  max-width: 760px;
}

.life-title p {
  margin-bottom: 10px;
  font-size: 17px;
}

.editorial-board {
  display: grid;
  grid-template-columns: 1.1fr 0.72fr 0.72fr;
  grid-auto-rows: minmax(230px, auto);
  gap: 14px;
}

.life-hero-card {
  grid-row: span 2;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 560px;
  border: 1px solid var(--line);
  background: #050505;
  overflow: hidden;
}

.phone-frame {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
  padding: 24px;
}

.phone-screen {
  position: relative;
  min-height: 360px;
  padding: 18px;
  border: 12px solid #0b0b0b;
  border-radius: 38px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.1), transparent 32%),
    linear-gradient(180deg, #1b1b1b, #080808);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  overflow: hidden;
}

.phone-screen::before {
  position: absolute;
  inset: 18px 24px auto;
  height: 88px;
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent);
  filter: blur(8px);
}

.phone-screen.after {
  background:
    radial-gradient(circle at 74% 30%, rgba(246, 242, 90, 0.52), transparent 22%),
    radial-gradient(circle at 34% 70%, rgba(170, 161, 214, 0.55), transparent 25%),
    linear-gradient(180deg, #151515, #030303);
}

.phone-screen span,
.life-hero-copy span,
.utility-card span,
.prompt-lab span {
  color: currentColor;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: 0.72;
}

.phone-screen b {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 70px;
  color: var(--text);
  font-size: 32px;
  line-height: 1.04;
}

.phone-screen i {
  position: absolute;
  right: 20px;
  bottom: 86px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lavender-card), var(--green-card));
  filter: blur(0.2px);
}

.phone-screen em {
  position: absolute;
  right: 18px;
  bottom: 24px;
  left: 18px;
  color: rgba(247, 245, 239, 0.72);
  font-size: 13px;
  font-style: normal;
  line-height: 1.6;
}

.life-hero-copy {
  padding: 24px;
  border-top: 1px solid var(--line);
}

.life-hero-copy h3 {
  max-width: 520px;
  margin-top: 8px;
  font-size: clamp(28px, 3.2vw, 44px);
}

.life-hero-copy p {
  max-width: 560px;
  margin-bottom: 0;
}

.utility-card {
  display: grid;
  align-content: space-between;
  min-height: 260px;
  padding: 22px;
  color: #080808;
  background: var(--yellow-card);
  overflow: hidden;
}

.utility-card.lavender {
  background: var(--lavender-card);
}

.utility-card.green {
  background: var(--green-card);
}

.utility-card.black {
  color: var(--text);
  background: #060606;
  border: 1px solid var(--line);
}

.utility-card h3 {
  margin: 18px 0 10px;
  font-size: 28px;
}

.utility-card p {
  margin: 0;
  color: currentColor;
  opacity: 0.72;
}

.utility-chart.bars {
  display: flex;
  height: 88px;
  align-items: end;
  gap: 10px;
}

.utility-chart.bars i {
  width: 18%;
  background: rgba(0, 0, 0, 0.72);
}

.utility-chart.bars i:nth-child(1) { height: 45%; }
.utility-chart.bars i:nth-child(2) { height: 88%; }
.utility-chart.bars i:nth-child(3) { height: 62%; opacity: 0.5; }
.utility-chart.bars i:nth-child(4) { height: 76%; opacity: 0.38; }

.utility-chart.blocks {
  position: relative;
  height: 88px;
}

.utility-chart.blocks i:nth-child(1) {
  inset: 8px 28% 18px 0;
}

.utility-chart.blocks i:nth-child(2) {
  inset: 32px 0 28px 68%;
  opacity: 0.4;
}

.utility-chart.pulse {
  display: flex;
  height: 80px;
  align-items: center;
  gap: 8px;
}

.utility-chart.pulse i {
  width: 10px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--peach-card), var(--lavender-card));
  animation: wave 1.8s ease-in-out infinite;
}

.utility-chart.pulse i:nth-child(2) { height: 64px; animation-delay: -0.2s; }
.utility-chart.pulse i:nth-child(3) { height: 44px; animation-delay: -0.4s; }
.utility-chart.pulse i:nth-child(4) { height: 70px; animation-delay: -0.6s; }
.utility-chart.pulse i:nth-child(5) { height: 38px; animation-delay: -0.8s; }

.prompt-lab {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  padding: 22px;
  border: 1px solid var(--line);
  background: #060606;
}

.prompt-lab b {
  display: block;
  margin-top: 10px;
  font-size: 26px;
  line-height: 1.18;
}

.prompt-lab pre {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--soft);
  line-height: 1.8;
}

.source-card:hover {
  border-color: rgba(98, 216, 198, 0.44);
  background: rgba(14, 21, 26, 0.9);
  transform: translateY(-2px);
}

.source-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.82) contrast(1.04);
}

.source-card div {
  padding: 14px;
}

.source-card b {
  display: block;
  margin-top: 8px;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.45;
}

.workflow-board {
  display: grid;
  grid-template-columns: repeat(6, minmax(140px, 1fr));
  gap: 12px;
}

.flow-node {
  position: relative;
  min-height: 210px;
  padding: 20px;
  overflow: hidden;
}

.flow-node::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(98, 216, 198, 0.8), transparent);
  transform: translateX(-100%);
  animation: scan 4s ease-in-out infinite;
}

.flow-node.active {
  border-color: rgba(98, 216, 198, 0.44);
  background: linear-gradient(180deg, rgba(98, 216, 198, 0.13), rgba(17, 24, 31, 0.72));
}

.flow-node span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.flow-node b {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
}

.flow-node p {
  margin: 0;
  font-size: 14px;
}

.practice-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.practice-card {
  min-height: 210px;
  padding: 22px;
}

.practice-card h3 {
  margin: 18px 0 14px;
}

.practice-card p {
  margin: 0;
  font-size: 15px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.visual-stack {
  position: relative;
}

.visual-stack img,
.scene-preview img,
.preview-hero img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.visual-stack img {
  aspect-ratio: 4 / 5;
}

.image-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(78%, 320px);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 9, 12, 0.76);
  backdrop-filter: blur(18px);
}

.image-caption span {
  display: block;
  margin-bottom: 5px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.image-caption b {
  font-size: 15px;
}

.workbench {
  padding: 26px;
  background: var(--panel-strong);
}

.workbench h2,
.scene-copy h2 {
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.12;
}

.tab-button,
.audio-mode,
.copy-button,
.run-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--soft);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.tab-button,
.audio-mode {
  padding: 8px 12px;
  font-size: 13px;
}

.tab-button.active,
.audio-mode.active,
.tab-button:hover,
.audio-mode:hover,
.copy-button:hover,
.run-button:hover {
  border-color: rgba(98, 216, 198, 0.42);
  background: rgba(98, 216, 198, 0.12);
  color: var(--text);
}

.tab-panel {
  display: none;
  margin-top: 22px;
}

.tab-panel.active {
  display: block;
  animation: fadeUp 280ms ease both;
}

.brief-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.brief-list div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.brief-list dt {
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.brief-list dd {
  margin: 0;
  color: var(--soft);
  line-height: 1.7;
}

pre {
  margin: 0;
  white-space: pre-wrap;
}

code {
  font-family: "SFMono-Regular", "Cascadia Code", Consolas, monospace;
}

.tab-panel pre,
.audio-result pre,
.terminal pre {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
  color: #d8e6e0;
  font-size: 13px;
  line-height: 1.75;
}

.copy-button,
.run-button {
  margin-top: 14px;
  padding: 9px 13px;
  font-size: 13px;
}

.portfolio-copy {
  margin: 0;
  color: var(--soft);
  font-size: 16px;
}

.scene-layout {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 28px;
  align-items: center;
}

.scene-copy {
  align-self: stretch;
  padding-right: 18px;
}

.scene-spec {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.scene-spec div {
  min-height: 88px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.scene-spec b {
  display: block;
  margin-top: 10px;
  font-size: 17px;
}

.scene-preview img {
  aspect-ratio: 16 / 9;
}

.shot-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.shot-strip article {
  padding: 20px;
}

.shot-strip b {
  display: block;
  margin: 12px 0 8px;
  font-size: 18px;
}

.shot-strip p {
  margin: 0;
  font-size: 14px;
}

.audio-layout {
  display: grid;
  gap: 28px;
}

.mixer {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1fr);
  gap: 26px;
  padding: 24px;
  background: var(--panel-strong);
}

.waveform {
  grid-row: 1 / span 2;
  display: flex;
  min-height: 280px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(98, 216, 198, 0.08), transparent),
    rgba(0, 0, 0, 0.18);
}

.waveform span {
  width: 9px;
  height: var(--h);
  min-height: 32px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--teal), rgba(239, 184, 90, 0.9));
  opacity: 0.82;
  animation: wave 1.6s ease-in-out infinite;
  animation-delay: calc(var(--h) * -0.012);
}

.audio-controls {
  display: grid;
  grid-column: 2;
  grid-template-columns: repeat(3, max-content);
  align-self: start;
  align-items: start;
  justify-content: start;
}

.audio-mode {
  width: auto;
  height: auto;
  align-self: start;
}

.audio-result {
  grid-column: 2;
}

.audio-result h3 {
  margin-top: 12px;
}

.audio-result p {
  color: var(--soft);
}

.sound-layers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.sound-layers article {
  padding: 18px;
}

.sound-layers b {
  display: block;
  margin: 12px 0 6px;
}

.sound-layers p {
  margin: 0;
  font-size: 14px;
}

.codex-layout {
  display: grid;
  gap: 28px;
}

.codex-demo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: 18px;
}

.terminal,
.portfolio-preview {
  min-height: 450px;
  padding: 20px;
  background: var(--panel-strong);
}

.terminal-top {
  justify-content: flex-start;
  gap: 8px;
}

.terminal-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-top span:nth-child(1) {
  background: var(--red);
}

.terminal-top span:nth-child(2) {
  background: var(--amber);
}

.terminal-top span:nth-child(3) {
  background: var(--teal);
}

.terminal-top b {
  margin-left: auto;
}

.terminal pre {
  min-height: 288px;
  margin-top: 18px;
}

.run-button {
  width: 100%;
}

.portfolio-preview {
  display: grid;
  align-content: start;
  gap: 16px;
}

.preview-top b {
  color: var(--teal);
}

.preview-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.preview-hero img {
  aspect-ratio: 16 / 10;
  border: 0;
  border-radius: 0;
}

.preview-hero div {
  position: absolute;
  inset: auto 16px 16px 16px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(7, 9, 12, 0.72);
  backdrop-filter: blur(18px);
}

.preview-hero span {
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.preview-hero h3 {
  margin: 8px 0 0;
  font-size: 19px;
}

.portfolio-reference-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-height: 392px;
}

.portfolio-reference-shot {
  display: grid;
  min-width: 0;
  min-height: 392px;
  margin: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #050505;
  overflow: hidden;
}

.portfolio-reference-shot img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
}

.portfolio-reference-mobile img {
  object-position: center 52%;
}

.portfolio-reference-web img {
  object-position: center center;
}

.preview-grid span {
  flex: 1 1 130px;
  justify-content: center;
}

.portfolio-checklist {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.portfolio-checklist article {
  padding: 16px;
}

.portfolio-checklist b {
  display: block;
  margin-bottom: 10px;
}

.portfolio-checklist span {
  display: block;
  line-height: 1.6;
  text-transform: none;
}

.close-section {
  min-height: 92vh;
}

.close-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: stretch;
}

.close-card,
.source-panel {
  padding: 30px;
  background: var(--panel-strong);
}

.close-card h2 {
  max-width: 760px;
}

.close-card p {
  max-width: 780px;
  color: var(--soft);
  font-size: 18px;
}

.interest-grid {
  max-width: 820px;
  margin-top: 28px;
}

.source-panel {
  display: grid;
  gap: 14px;
  align-content: start;
}

.source-panel h3 {
  margin: 0 0 8px;
  color: var(--teal);
}

.source-panel a {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--soft);
  font-size: 13px;
  line-height: 1.5;
  transition: color 180ms ease;
}

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

.reveal {
  opacity: 0;
  clip-path: inset(12% 0 0 0);
  transform: translateY(34px) scale(0.985);
  transform-origin: center top;
}

.reveal.is-visible {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: translateY(0);
  transition:
    opacity 420ms ease,
    clip-path 560ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
}

.delay-1.is-visible {
  transition-delay: 60ms;
}

.delay-2.is-visible {
  transition-delay: 100ms;
}

.section:not(.hero-section) .section-inner {
  opacity: 0.72;
  transform: translateY(34px) scale(0.99);
  transform-origin: center top;
  transition:
    opacity 420ms ease,
    transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
}

.section:not(.hero-section).section-has-entered .section-inner {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal :is(.signal-card, .source-card, .life-hero-card, .editorial-card, .prompt-card, .flow-node, .practice-card, .character-flow-card, .asset-stage-card, .shot-strip article, .sound-layers article, .portfolio-checklist article) {
  opacity: 0;
  transform: translateY(24px) scale(0.965);
  transition:
    opacity 620ms ease,
    transform 820ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible :is(.signal-card, .source-card, .life-hero-card, .editorial-card, .prompt-card, .flow-node, .practice-card, .character-flow-card, .asset-stage-card, .shot-strip article, .sound-layers article, .portfolio-checklist article) {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal.is-visible :is(.signal-card, .source-card, .flow-node, .practice-card, .portfolio-checklist article):nth-child(2) {
  transition-delay: 90ms;
}

.reveal.is-visible :is(.signal-card, .source-card, .flow-node, .practice-card, .portfolio-checklist article):nth-child(3) {
  transition-delay: 170ms;
}

.reveal.is-visible :is(.signal-card, .source-card, .flow-node, .practice-card, .portfolio-checklist article):nth-child(4) {
  transition-delay: 250ms;
}

.reveal.is-visible :is(.signal-card, .source-card, .flow-node, .portfolio-checklist article):nth-child(5) {
  transition-delay: 330ms;
}

.reveal.is-visible .flow-node:nth-child(6) {
  transition-delay: 410ms;
}

/* Slidekit-style section cards */
.market-stack,
.life-layout,
.codex-layout,
.audio-layout {
  gap: 40px;
}

.market-section {
  padding-bottom: 96px;
}

.section-heading,
.life-title {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: none;
  align-items: start;
}

.section-heading.compact {
  max-width: none;
}

.section-heading .eyebrow,
.life-title .eyebrow {
  grid-column: 1;
  margin-bottom: 8px;
}

.section-heading h2,
.life-title h2 {
  grid-column: 1;
  margin-bottom: 0;
}

.market-dashboard,
.editorial-board,
.workflow-board,
.practice-grid,
.source-wall,
.prompt-lab,
.mixer,
.codex-demo,
.portfolio-checklist,
.shot-strip,
.sound-layers {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: #020202;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.52);
  overflow: hidden;
}

.dashboard-head {
  grid-template-columns: minmax(240px, 0.72fr) minmax(320px, 1fr);
  padding: 20px;
  border-bottom: 0;
  background: transparent;
}

.dashboard-head p {
  max-width: 520px;
  color: rgba(247, 245, 239, 0.58);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(340px, auto);
  gap: 12px;
  padding: 0 12px 12px;
  border-bottom: 0;
}

.signal-card {
  display: grid;
  min-height: 340px;
  align-content: start;
  gap: 18px;
  padding: 30px;
  border: 0;
  border-radius: 7px;
  color: var(--text);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), transparent 42%),
    #3f3f3d;
}

.signal-card:nth-child(1) {
  grid-column: span 6;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 72, 45, 0.18), transparent 28%),
    #46433e;
}

.signal-card:nth-child(2) {
  grid-column: span 6;
  background:
    linear-gradient(150deg, rgba(170, 161, 214, 0.2), transparent 40%),
    #3d3d3c;
}

.signal-card:nth-child(3) {
  grid-column: span 7;
  background:
    linear-gradient(150deg, rgba(216, 255, 183, 0.16), transparent 42%),
    #444541;
}

.signal-card:nth-child(4) {
  grid-column: span 5;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 70%, rgba(255, 72, 45, 0.2), transparent 24%),
    #050505;
}

.signal-card span,
.signal-card p {
  color: currentColor;
}

.signal-card strong {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin: 10px 0 2px;
  white-space: normal;
  word-break: keep-all;
  font-size: clamp(56px, 6vw, 88px);
}

.signal-card:nth-child(4) strong {
  font-size: clamp(52px, 5.4vw, 78px);
}

.signal-card small {
  margin-bottom: 9px;
  font-size: clamp(17px, 1.5vw, 22px);
}

.signal-card p {
  max-width: 96%;
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  opacity: 0.82;
}

.signal-card p + p {
  margin-top: -4px;
}

.signal-bar {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.22);
}

.signal-bar em {
  background: linear-gradient(90deg, rgba(255, 244, 232, 0.9), rgba(255, 72, 45, 0.74));
}

.mini-bars,
.mini-wave,
.mini-blocks,
.mini-orbit,
.utility-chart {
  opacity: 0.62;
}

.market-compare {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 12px 12px;
}

.compare-row {
  display: grid;
  min-height: 150px;
  grid-template-columns: 1fr;
  gap: 16px;
  align-content: space-between;
  padding: 22px;
  border: 0;
  border-radius: 7px;
  background: #090909;
}

.compare-row b {
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.05;
}

.source-wall {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
}

.source-card {
  min-height: 300px;
  border: 0;
  border-radius: 7px;
  background: #101010;
  box-shadow: none;
}

.source-card.video-card {
  position: relative;
  grid-template-rows: auto 1fr;
  background: #080808;
}

.source-card:nth-child(1),
.source-card:nth-child(2) {
  grid-column: span 3;
}

.source-card:nth-child(n + 3) {
  grid-column: span 3;
}

.source-card img {
  display: none;
}

.source-card.video-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.04);
  transition: transform 420ms ease, filter 220ms ease;
}

.source-card::before {
  display: grid;
  min-height: 190px;
  align-items: end;
  padding: 22px;
  color: rgba(247, 245, 239, 0.94);
  content: "AI FILM";
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 900;
  line-height: 1.04;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.1), transparent 36%),
    #444;
}

.source-card.video-card::before {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 2;
  display: inline-flex;
  min-height: auto;
  align-items: center;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.44);
  color: #fff;
  content: "原片";
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  backdrop-filter: blur(14px);
}

.source-card.video-card::after {
  position: absolute;
  left: 18px;
  top: calc((100% - 146px) * 0.28);
  z-index: 2;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  content: "▶";
  font-size: 18px;
  line-height: 1;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
}

.source-card:nth-child(1)::before {
  content: "原片";
  background:
    radial-gradient(circle at 72% 24%, rgba(255, 72, 45, 0.22), transparent 26%),
    #4a403a;
}

.source-card:nth-child(2)::before {
  content: "原片";
  background:
    radial-gradient(circle at 26% 22%, rgba(216, 255, 183, 0.14), transparent 28%),
    #424440;
}

.source-card:nth-child(3)::before {
  content: "牌子";
}

.source-card:nth-child(4)::before {
  content: "WOODNUTS";
}

.source-card:nth-child(5)::before {
  content: "AI短剧市场";
}

.source-card:nth-child(6)::before {
  content: "AI VIDEO";
}

.source-card:nth-child(7)::before {
  content: "203万岗位";
}

.source-card:nth-child(8)::before {
  content: "AI薪资";
}

.source-card div {
  padding: 20px 22px 24px;
}

.source-card b {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.58;
}

.source-card em {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  padding-bottom: 4px;
  border-bottom: 2px solid rgba(255, 104, 79, 0.74);
  color: rgba(247, 245, 239, 0.78);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.source-card.video-card:hover img {
  filter: saturate(1.05) contrast(1.08);
  transform: scale(1.025);
}

.editorial-board {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(178px, auto);
  gap: 8px;
  padding: 8px;
}

.life-hero-card {
  grid-column: span 3;
  grid-row: span 3;
  min-height: 560px;
  border: 0;
  border-radius: 7px;
  background: #050505;
}

.utility-card {
  min-height: 250px;
  padding: 20px;
  border-radius: 7px;
  color: var(--text);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.08), transparent 40%),
    #414141;
}

.utility-card.lavender,
.utility-card.green {
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.08), transparent 40%),
    #3d3d3d;
}

.utility-card.black {
  border: 0;
  background: #070707;
}

.utility-card:nth-of-type(2),
.utility-card:nth-of-type(3) {
  grid-column: span 3;
}

.utility-card:nth-of-type(4),
.utility-card:nth-of-type(5) {
  grid-column: span 3;
}

.utility-card p {
  color: rgba(247, 245, 239, 0.72);
}

.prompt-lab {
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1fr);
  padding: 8px;
  gap: 8px;
  border: 0;
}

.prompt-lab > div,
.prompt-lab pre {
  border-radius: 7px;
  background: #050505;
}

.prompt-lab > div {
  padding: 18px;
}

.prompt-lab pre {
  min-height: 220px;
  padding: 20px;
  border: 0;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.08), transparent 45%),
    #3f3f3f;
  color: rgba(247, 245, 239, 0.84);
}

.workflow-board {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 8px;
  padding: 8px;
}

.flow-node {
  min-height: auto;
  padding: 20px;
  border: 0;
  border-radius: 7px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.08), transparent 42%),
    #3f3f3f;
}

.flow-node:nth-child(1),
.flow-node:nth-child(6) {
  grid-column: span 2;
}

.flow-node:nth-child(2),
.flow-node:nth-child(3),
.flow-node:nth-child(4),
.flow-node:nth-child(5) {
  grid-column: span 2;
}

.flow-node.active {
  border: 0;
  background:
    radial-gradient(circle at 74% 18%, rgba(255, 72, 45, 0.18), transparent 28%),
    #050505;
}

.flow-node::before {
  display: none;
}

.flow-node span {
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 210, 162, 0.92);
}

.practice-layout {
  grid-template-columns: minmax(260px, 0.46fr) minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
}

.practice-layout > .section-heading {
  display: block;
  padding: 24px;
  border-radius: 8px;
  background: #020202;
}

.practice-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 250px;
  gap: 8px;
  padding: 8px;
}

.practice-card {
  display: grid;
  min-height: auto;
  align-content: space-between;
  padding: 20px;
  border: 0;
  border-radius: 7px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.08), transparent 42%),
    #404040;
}

.practice-card:nth-child(1),
.practice-card:nth-child(4) {
  background: #050505;
}

@keyframes heroDrift {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.045) translate3d(-1.2%, -0.8%, 0);
  }
}

@keyframes heroImagePush {
  from {
    transform: scale(1.035) translate3d(0, 0, 0);
    filter: saturate(1.06) contrast(1.02);
  }
  to {
    transform: scale(1.085) translate3d(-1.4%, -0.8%, 0);
    filter: saturate(1.16) contrast(1.08);
  }
}

@keyframes redRoomPulse {
  from {
    opacity: 0.34;
    transform: scale(0.92);
  }
  to {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

@keyframes depthSlide {
  0% {
    opacity: 0;
    transform: translateX(-8%) scaleX(0.72);
  }
  35%,
  58% {
    opacity: 0.72;
  }
  100% {
    opacity: 0;
    transform: translateX(8%) scaleX(1);
  }
}

@keyframes titleBlockEnter {
  from {
    opacity: 0;
    transform: translateY(34px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleLineReveal {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: translateX(-34px) scaleX(0.94);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateX(0) scaleX(1);
  }
}

@keyframes titleLightSweep {
  0%,
  32% {
    transform: translateX(-115%);
    opacity: 0;
  }
  44% {
    opacity: 0.72;
  }
  68%,
  100% {
    transform: translateX(115%);
    opacity: 0;
  }
}

@keyframes subtitleRise {
  from {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
  }
}

@keyframes lineReveal {
  from {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
  }
}

@keyframes cueMove {
  0%,
  100% {
    transform: translateY(-6px);
    opacity: 0.38;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}

@keyframes scan {
  0% {
    transform: translateX(-100%);
  }
  48%,
  100% {
    transform: translateX(100%);
  }
}

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

@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.62);
  }
  50% {
    transform: scaleY(1.08);
  }
}

@keyframes corridorPulse {
  0%,
  100% {
    filter: blur(0.4px) brightness(0.84);
  }
  50% {
    filter: blur(0.7px) brightness(1.12);
  }
}

@keyframes redCore {
  from {
    opacity: 0.62;
    transform: translate(-50%, -50%) scaleX(0.86);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scaleX(1.12);
  }
}

@keyframes lightBreathe {
  from {
    opacity: 0.58;
    transform: rotate(-7deg) scaleX(0.94);
  }
  to {
    opacity: 0.86;
    transform: rotate(-7deg) scaleX(1.04);
  }
}

@keyframes uiSignal {
  0%,
  100% {
    opacity: 0.42;
    transform: scaleX(0.72);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes screenPulse {
  from {
    filter: brightness(0.92) saturate(0.96);
  }
  to {
    filter: brightness(1.18) saturate(1.12);
  }
}

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

@media (max-width: 1120px) {
  .topnav {
    display: none;
  }

  .section-inner {
    width: min(var(--max), calc(100% - 92px));
  }

  .workflow-board,
  .portfolio-checklist,
  .signal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dashboard-head,
  .source-wall,
  .life-title {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .life-hero-card {
    grid-column: 1 / -1;
  }

  .prompt-lab {
    grid-template-columns: 1fr;
  }

  .compare-row {
    grid-template-columns: 170px 150px minmax(0, 1fr);
  }

  .market-layout,
  .practice-layout,
  .two-column,
  .scene-layout,
  .mixer,
  .codex-demo,
  .close-layout {
    grid-template-columns: 1fr;
  }

  .scene-copy {
    padding-right: 0;
  }

  .waveform,
  .audio-controls,
  .audio-result {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .topbar {
    top: 10px;
    width: calc(100% - 24px);
  }

  .brand {
    min-width: 0;
  }

  .brand em {
    display: none;
  }

  .rail {
    display: none;
  }

  .section {
    min-height: auto;
    padding: 104px 16px 64px;
  }

  .hero-section {
    min-height: 100svh;
    padding: 0;
  }

  .section-inner {
    width: 100%;
  }

  .hero-grid,
  .metric-grid,
  .practice-grid,
  .workflow-board,
  .signal-grid,
  .source-wall,
  .scene-spec,
  .shot-strip,
  .sound-layers,
  .portfolio-checklist {
    grid-template-columns: 1fr;
  }

  .dashboard-head,
  .compare-row,
  .life-title,
  .editorial-board,
  .phone-frame,
  .prompt-lab {
    grid-template-columns: 1fr;
  }

  .market-dashboard {
    margin-inline: 0;
  }

  .signal-card {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(224, 239, 236, 0.13);
  }

  .signal-card:last-child {
    border-bottom: 0;
  }

  .signal-card strong {
    font-size: clamp(42px, 16vw, 68px);
  }

  .source-card {
    min-height: auto;
  }

  .life-hero-card {
    min-height: auto;
  }

  .phone-screen {
    min-height: 300px;
  }

  .hero-console {
    display: none;
  }

  .opening-canvas {
    inset: 0;
  }

  .opening-image {
    object-position: 42% center;
    transform: scale(1.16);
  }

  .opening-canvas::before {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.18) 40%, rgba(0, 0, 0, 0.86) 82%),
      linear-gradient(90deg, rgba(0, 15, 14, 0.72), transparent 42%);
  }

  .opening-glow span:nth-child(1) {
    top: 25%;
    left: 18%;
    width: 76vw;
    height: 22vh;
  }

  .opening-glow span:nth-child(2) {
    right: -24%;
    width: 90vw;
  }

  .opening-glow span:nth-child(3) {
    right: -36%;
    bottom: 30%;
    width: 110vw;
  }

  .opening-copy {
    right: 16px;
    bottom: 72px;
    left: 16px;
    width: auto;
  }

  .opening-title {
    font-size: clamp(58px, 16vw, 86px);
    line-height: 1;
  }

  .opening-title span {
    white-space: normal;
  }

  .opening-subtitle {
    max-width: 350px;
    margin-top: 22px;
    font-size: 17px;
  }

  .hero-section .scroll-cue {
    right: 16px;
    bottom: 16px;
  }

  h1 {
    font-size: clamp(44px, 15vw, 68px);
  }

  h2 {
    font-size: clamp(31px, 10vw, 44px);
  }

  .metric-card,
  .practice-card,
  .flow-node {
    min-height: auto;
  }

  .brief-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .visual-stack img {
    max-height: 72vh;
  }
}

@media (max-width: 1120px) {
  .section-heading,
  .life-title {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-heading .eyebrow,
  .life-title .eyebrow,
  .section-heading h2,
  .life-title h2 {
    grid-column: auto;
  }

  .signal-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .signal-card:nth-child(1),
  .signal-card:nth-child(2),
  .signal-card:nth-child(3),
  .signal-card:nth-child(4) {
    grid-column: span 3;
  }

  .market-compare {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compare-row {
    grid-template-columns: 1fr;
  }

  .source-wall {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .source-card:nth-child(1),
  .source-card:nth-child(2),
  .source-card:nth-child(n + 3) {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .signal-grid,
  .market-compare,
  .source-wall {
    grid-template-columns: 1fr;
  }

  .signal-card:nth-child(1),
  .signal-card:nth-child(2),
  .signal-card:nth-child(3),
  .signal-card:nth-child(4),
  .source-card:nth-child(1),
  .source-card:nth-child(2),
  .source-card:nth-child(n + 3) {
    grid-column: 1 / -1;
  }

  .source-wall,
  .market-compare,
  .signal-grid {
    gap: 8px;
  }

  .dashboard-head {
    grid-template-columns: 1fr;
  }
}

/* Final SaaS deck system */
:root {
  --bg: #080808;
  --paper: #f5f5f0;
  --white: #ffffff;
  --ink: #0a0a0a;
  --acid: #efff3a;
  --lilac: #bdb0ff;
  --sage: #cfe6c9;
  --bone: #efefea;
  --card-radius: 20px;
  --gap: clamp(16px, 1.5vw, 24px);
  --max: 1760px;
}

body {
  background: var(--bg);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background-color 520ms var(--ease-standard, cubic-bezier(0.2, 0.82, 0.22, 1));
}

body[data-current-section="life-ai"],
body[data-current-section="character"],
body[data-current-section="close"] {
  background: var(--paper);
}

body[data-current-section="audio"] {
  background: var(--sage);
}

body[data-current-section="hero"],
body[data-current-section="market"],
body[data-current-section="workflow"],
body[data-current-section="film"],
body[data-current-section="scene"],
body[data-current-section="codex"] {
  background: var(--bg);
}

body::after,
.ambient-grid {
  opacity: 0.22;
}

h1,
h2,
h3,
.opening-title,
.production-title,
.card-title,
.signal-card strong,
.compare-row b,
.source-card b,
.source-card::before,
.flow-node b,
.practice-card h3,
.utility-card h3,
.portfolio-checklist b {
  word-break: keep-all;
  overflow-wrap: normal;
  line-break: strict;
  text-wrap: balance;
}

.production-title span,
.card-title span {
  display: block;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

#market .production-title span,
#market .production-card .card-title span,
#market .production-card .card-copy span {
  color: inherit;
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  opacity: 1;
}

h1,
h2,
h3 {
  color: currentColor;
  letter-spacing: -0.04em;
}

p,
dd,
li,
.source-card b {
  word-break: keep-all;
  overflow-wrap: normal;
  line-break: strict;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.topbar {
  width: min(calc(100% - clamp(32px, 4vw, 72px)), 1680px);
  height: 58px;
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.84);
}

.brand-mark,
.icon-button,
.tab-button,
.audio-mode,
.copy-button,
.run-button {
  border-radius: 999px;
}

.section:not(.hero-section) {
  min-height: 100vh;
  padding: clamp(104px, 7vw, 136px) clamp(24px, 3vw, 56px) clamp(88px, 7vw, 124px);
}

.section-inner {
  width: min(var(--max), calc(100vw - clamp(48px, 5vw, 96px)));
}

.section-heading,
.life-title {
  grid-template-columns: 1fr;
  gap: clamp(22px, 2.3vw, 34px);
  align-items: start;
}

.section-heading h2,
.life-title h2 {
  max-width: 1320px;
  font-size: clamp(68px, 6.7vw, 116px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0;
}

.eyebrow {
  color: currentColor;
  font-size: 13px;
  font-weight: 900;
  opacity: 0.72;
}

.market-dashboard,
.editorial-board,
.workflow-board,
.practice-grid,
.source-wall,
.prompt-lab,
.mixer,
.codex-demo,
.portfolio-checklist,
.shot-strip,
.sound-layers,
.workbench,
.terminal,
.portfolio-preview,
.source-panel,
.close-card,
.flow-node,
.practice-card {
  border-radius: var(--card-radius);
}

#market {
  background: #080808;
  color: #fff;
}

#life-ai,
#character,
#close {
  background: var(--paper);
  color: var(--ink);
}

#workflow,
#scene,
#codex {
  background: #080808;
  color: #fff;
}

#audio {
  background: var(--sage);
  color: var(--ink);
}

#life-ai::before,
#character::before,
#audio::before,
#close::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 0;
  width: 100vw;
  background: inherit;
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

#life-ai p,
#character p,
#audio p,
#close p,
#life-ai .eyebrow,
#character .eyebrow,
#audio .eyebrow,
#close .eyebrow {
  color: rgba(10, 10, 10, 0.72);
}

#life-ai :is(.editorial-board, .prompt-lab),
#character :is(.workbench, .visual-stack img),
#audio :is(.mixer, .sound-layers),
#close :is(.close-card, .source-panel) {
  border-color: rgba(10, 10, 10, 0.12);
  box-shadow: none;
}

.market-stack,
.life-layout,
.audio-layout,
.codex-layout {
  gap: clamp(40px, 5vw, 72px);
}

.market-dashboard {
  background: #000;
}

.dashboard-head {
  padding: clamp(24px, 2.4vw, 34px);
}

.dashboard-head b {
  font-size: clamp(24px, 2vw, 34px);
}

.dashboard-head p {
  font-size: 15px;
  line-height: 1.65;
}

.signal-grid {
  grid-auto-rows: minmax(360px, auto);
  gap: var(--gap);
  padding: 0 var(--gap) var(--gap);
}

.signal-card {
  min-height: 360px;
  padding: clamp(28px, 3vw, 44px);
  border-radius: var(--card-radius);
}

.signal-card:nth-child(1) {
  background: #3f3e38;
}

.signal-card:nth-child(2) {
  background: #313131;
}

.signal-card:nth-child(3) {
  background: #dfe8d8;
  color: var(--ink);
}

.signal-card:nth-child(4) {
  background: #000;
}

.signal-card strong {
  font-size: clamp(64px, 6.8vw, 108px);
  line-height: 0.92;
}

.signal-card:nth-child(4) strong {
  font-size: clamp(60px, 6.2vw, 96px);
}

.signal-card p {
  max-width: 760px;
  font-size: clamp(15px, 1.05vw, 18px);
}

.market-compare {
  gap: var(--gap);
  padding: 0 var(--gap) var(--gap);
}

.compare-row {
  min-height: 176px;
  padding: clamp(22px, 2vw, 30px);
  border-radius: var(--card-radius);
}

.compare-row:nth-child(1) {
  background: var(--acid);
  color: var(--ink);
}

.compare-row:nth-child(2) {
  background: var(--lilac);
  color: var(--ink);
}

.compare-row:nth-child(3) {
  background: var(--sage);
  color: var(--ink);
}

.compare-row:nth-child(4) {
  background: #f8f7f2;
  color: var(--ink);
}

.compare-row span {
  color: rgba(10, 10, 10, 0.62);
  font-weight: 900;
}

.compare-row b {
  color: currentColor;
  font-size: clamp(34px, 3vw, 52px);
}

.compare-row em {
  border-color: rgba(10, 10, 10, 0.16);
  background: rgba(10, 10, 10, 0.08);
}

.source-wall {
  gap: var(--gap);
  padding: var(--gap);
  background: #000;
}

.source-card {
  border-radius: var(--card-radius);
  overflow: hidden;
}

.source-card.video-card img {
  aspect-ratio: 16 / 8.7;
}

.source-card:nth-child(n + 5) {
  min-height: 260px;
  background: #efefea;
  color: var(--ink);
}

.source-card:nth-child(n + 5)::before {
  color: var(--ink);
  background: #d9d9d3;
}

.source-card:nth-child(6)::before {
  background: var(--lilac);
}

.source-card:nth-child(7)::before {
  background: var(--sage);
}

.source-card:nth-child(8)::before {
  background: var(--acid);
}

.source-card:nth-child(n + 5) span,
.source-card:nth-child(n + 5) b {
  color: var(--ink);
}

.source-card.video-card::before {
  content: "原片";
  color: #fff;
  background: rgba(0, 0, 0, 0.46);
}

.editorial-board {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(210px, auto);
  gap: var(--gap);
  padding: var(--gap);
  background: #fff;
}

.life-hero-card {
  grid-column: span 6;
  grid-row: span 2;
  border-radius: var(--card-radius);
}

.utility-card {
  grid-column: span 3;
  min-height: 270px;
  border-radius: var(--card-radius);
}

.utility-card:nth-of-type(4),
.utility-card:nth-of-type(5) {
  grid-column: span 3;
}

.utility-card h3 {
  font-size: clamp(30px, 2.4vw, 42px);
}

.prompt-lab {
  border-radius: var(--card-radius);
  background: #0a0a0a;
  color: #fff;
}

.workflow-board {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  background: transparent;
  box-shadow: none;
}

.flow-node {
  grid-column: span 4;
  min-height: 260px;
  padding: clamp(24px, 2.2vw, 34px);
  background: #111;
}

.flow-node:nth-child(1),
.flow-node:nth-child(4) {
  grid-column: span 5;
}

.flow-node:nth-child(3),
.flow-node:nth-child(6) {
  grid-column: span 3;
}

.flow-node b {
  font-size: clamp(28px, 2.3vw, 42px);
}

.practice-layout {
  grid-template-columns: minmax(460px, 0.8fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 78px);
}

.practice-grid {
  gap: var(--gap);
  background: transparent;
  box-shadow: none;
}

.practice-card {
  min-height: 300px;
  padding: clamp(26px, 2.6vw, 42px);
  background: #fff;
  color: var(--ink);
}

.practice-card:nth-child(1) {
  background: #0a0a0a;
  color: #fff;
}

.practice-card:nth-child(2) {
  background: var(--lilac);
}

.practice-card:nth-child(3) {
  background: var(--sage);
}

.practice-card:nth-child(4) {
  background: #f5f5f0;
}

.practice-card h3 {
  font-size: clamp(38px, 3.3vw, 58px);
}

.two-column,
.scene-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 4vw, 72px);
}

.visual-stack img,
.scene-preview img,
.preview-hero img {
  border-radius: var(--card-radius);
}

#character .workbench {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

#character .workbench :is(p, dd, pre, .portfolio-copy) {
  color: rgba(10, 10, 10, 0.72);
}

#character .brief-list div {
  border-color: rgba(10, 10, 10, 0.1);
}

#character.character-pipeline-section {
  align-items: start;
  padding-top: clamp(118px, 8vw, 150px);
  padding-bottom: clamp(104px, 7vw, 132px);
}

#character .character-pipeline-layout {
  display: grid;
  gap: clamp(36px, 4vw, 58px);
  width: min(1840px, calc(100vw - clamp(40px, 4vw, 72px)));
}

#character .character-flow-heading {
  display: grid;
  gap: clamp(22px, 2.2vw, 34px);
  max-width: none;
}

#character .character-flow-heading h2 {
  max-width: 1240px;
  margin: 0;
  font-size: clamp(72px, 6.4vw, 112px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: normal;
}

#character .character-flow-heading h2 span {
  display: block;
  white-space: nowrap;
}

#character .character-pipeline-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

#character .character-flow-card {
  position: relative;
  display: flex;
  grid-column: span 3;
  min-height: 480px;
  flex-direction: column;
  padding: clamp(26px, 2.2vw, 34px);
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  overflow: hidden;
  box-shadow: none;
}

#character .character-flow-card > span,
#character .film-copy > span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.08);
  color: currentColor;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.72;
}

#character .character-flow-card h3,
#character .film-copy h3 {
  max-width: 10em;
  margin: 20px 0 14px;
  color: currentColor;
  font-size: clamp(32px, 2.7vw, 52px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: normal;
}

#character .character-flow-card h3 span,
#character .film-copy h3 span {
  display: block;
  white-space: nowrap;
}

#character .character-flow-card p,
#character .film-copy p {
  max-width: 23em;
  margin: 0;
  color: rgba(10, 10, 10, 0.72);
  font-size: clamp(15px, 0.95vw, 18px);
  font-weight: 650;
  line-height: 1.72;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: normal;
}

#character .brief-card,
#character .film-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: #080808;
  color: #fff;
}

#character .brief-card p,
#character .film-card p {
  color: rgba(255, 255, 255, 0.7);
}

#character .visual-card {
  background: var(--bone);
}

#character .scene-card {
  background: var(--sage);
}

#character .composite-card {
  background: var(--lilac);
}

#character .bio-lines {
  display: grid;
  gap: 9px;
  margin-top: auto;
}

#character .bio-lines div {
  display: grid;
  gap: 5px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

#character .bio-lines b {
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

#character .bio-lines em {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(14px, 0.9vw, 17px);
  font-style: normal;
  font-weight: 700;
  line-height: 1.55;
  word-break: keep-all;
  overflow-wrap: normal;
}

#character .visual-pair,
#character .scene-pair {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 12px;
  margin: auto 0 18px;
}

#character .visual-pair figure,
#character .scene-pair figure,
#character .composite-card figure,
#character .film-media figure {
  position: relative;
  min-height: 214px;
  margin: 0;
  border-radius: 18px;
  background: rgba(10, 10, 10, 0.12);
  overflow: hidden;
}

#character .composite-card figure {
  flex: 1;
  min-height: 272px;
  margin: auto 0 18px;
}

#character .character-flow-card img,
#character .character-flow-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#character .visual-pair figure:first-child img,
#character .visual-pair figure:nth-child(2) img {
  object-position: center top;
}

#character .scene-pair figure:first-child img {
  object-position: center center;
}

#character .scene-pair figure:nth-child(2) img,
#character .composite-card img {
  object-position: center center;
}

#character .film-media figure:first-child img {
  object-position: center top;
}

#character .film-media figure:nth-child(2) {
  background: #000;
}

#character .character-flow-card figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

#character .film-card {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(360px, 0.38fr) minmax(0, 1fr);
  min-height: 520px;
  gap: 24px;
  padding: 28px;
}

#character .film-copy {
  display: grid;
  align-content: center;
  padding: clamp(10px, 1.4vw, 24px);
}

#character .film-copy h3 {
  max-width: 8em;
  font-size: clamp(44px, 4.4vw, 76px);
  line-height: 0.98;
}

#character .film-copy p {
  max-width: 24em;
}

#character .film-media {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  min-height: 460px;
}

#character .film-media figure {
  min-height: 460px;
  background: rgba(255, 255, 255, 0.06);
}

#character .role-foundation-layout {
  gap: clamp(44px, 4.6vw, 68px);
}

#character .role-foundation-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

#character .role-brief-card {
  grid-column: span 4;
  min-height: 540px;
}

#character .role-visual-card {
  grid-column: span 8;
  min-height: 540px;
}

#character .role-visual-card p {
  max-width: 38em;
}

#character .role-image-wall {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  margin-top: auto;
}

#character .role-image-wall figure {
  position: relative;
  display: grid;
  height: clamp(300px, 24vw, 380px);
  margin: 0;
  place-items: center;
  border-radius: 22px;
  background: rgba(10, 10, 10, 0.06);
  overflow: hidden;
}

#character .role-image-wall img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  padding: 8px;
}

#scene.asset-scene-section {
  align-items: start;
  padding-top: clamp(118px, 8vw, 150px);
  padding-bottom: clamp(120px, 8vw, 154px);
}

#scene .asset-scene-layout {
  display: grid;
  width: min(1840px, calc(100vw - clamp(40px, 4vw, 72px)));
  gap: clamp(30px, 3vw, 48px);
}

#scene .asset-scene-heading {
  display: grid;
  gap: clamp(22px, 2.2vw, 34px);
}

#scene .asset-scene-heading h2 {
  max-width: 1340px;
  margin: 0;
  color: #fff;
  font-size: clamp(68px, 6.1vw, 108px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0;
}

#scene .asset-scene-heading h2 span {
  display: block;
  white-space: nowrap;
}

#scene .asset-stage-grid {
  display: grid;
  gap: 28px;
}

#scene .asset-stage-card {
  display: grid;
  min-height: 540px;
  gap: 28px;
  padding: 30px;
  border-radius: 28px;
  background: #f5f5f0;
  color: var(--ink);
  overflow: hidden;
}

#scene .scene-build-card {
  grid-template-columns: minmax(310px, 0.26fr) minmax(0, 1fr);
  min-height: 720px;
  background: var(--sage);
}

#scene .composite-build-card {
  grid-template-columns: minmax(320px, 0.32fr) minmax(0, 1fr);
  background: var(--lilac);
}

#scene .final-build-card {
  grid-template-columns: minmax(340px, 0.32fr) minmax(0, 1fr);
  background: #080808;
  color: #fff;
}

#scene .asset-stage-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(8px, 1.2vw, 22px);
}

#scene .asset-stage-copy > span {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.08);
  color: currentColor;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.72;
}

#scene .final-build-card .asset-stage-copy > span {
  background: rgba(255, 255, 255, 0.12);
}

#scene .asset-stage-copy h3 {
  max-width: 8em;
  margin: 0;
  color: currentColor;
  font-size: clamp(48px, 4.6vw, 80px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
}

#scene .asset-stage-copy h3 span {
  display: block;
  white-space: nowrap;
}

#scene .asset-stage-copy p {
  max-width: 24em;
  margin: 0;
  color: rgba(10, 10, 10, 0.68);
  font-size: clamp(16px, 1vw, 19px);
  font-weight: 650;
  line-height: 1.72;
  letter-spacing: 0;
}

#scene .final-build-card p {
  color: rgba(255, 255, 255, 0.72);
}

#scene .asset-stage-media,
#scene .final-media-pair {
  display: grid;
  gap: 18px;
}

#scene .scene-media-pair,
#scene .final-media-pair {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

#scene .scene-process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

#scene .asset-stage-card figure {
  position: relative;
  display: grid;
  min-height: 480px;
  margin: 0;
  place-items: center;
  border-radius: 24px;
  background: rgba(10, 10, 10, 0.08);
  overflow: hidden;
}

#scene .scene-process-grid figure {
  min-height: 306px;
}

#scene .final-build-card figure {
  background: rgba(255, 255, 255, 0.06);
}

#scene .wide-asset-figure {
  min-height: 500px;
}

#scene .asset-stage-card img,
#scene .asset-stage-card video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  padding: 8px;
}

#scene .final-build-card video {
  padding: 0;
  object-fit: contain;
  background: #000;
}

#scene .asset-stage-card figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.74);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.scene-spec div,
.shot-strip article,
.sound-layers article,
.portfolio-checklist article {
  border-radius: var(--card-radius);
}

.mixer {
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  gap: var(--gap);
  padding: var(--gap);
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.waveform {
  min-height: 420px;
  background: #0a0a0a;
}

.audio-result p,
.audio-result pre {
  color: rgba(10, 10, 10, 0.72);
}

.audio-result pre {
  background: #f5f5f0;
  border-color: rgba(10, 10, 10, 0.12);
}

.sound-layers {
  gap: var(--gap);
  background: transparent;
  box-shadow: none;
}

.sound-layers article {
  min-height: 190px;
  background: #fff;
  color: var(--ink);
}

.codex-demo {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: var(--gap);
  background: transparent;
  box-shadow: none;
}

.terminal,
.portfolio-preview {
  min-height: 560px;
  border-radius: var(--card-radius);
}

.portfolio-checklist {
  gap: var(--gap);
  background: transparent;
  box-shadow: none;
}

.portfolio-checklist article {
  min-height: 180px;
  background: #111;
}

.close-section {
  background: #080808;
  color: #fff;
}

.close-layout {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.42fr);
  gap: var(--gap);
}

.close-card,
.source-panel {
  border-radius: var(--card-radius);
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.close-card h2 {
  font-size: clamp(72px, 7vw, 120px);
  line-height: 0.92;
}

.close-card p,
.source-panel a {
  color: rgba(10, 10, 10, 0.72);
}

@media (min-width: 1441px) {
  .section-inner {
    width: min(1880px, calc(100vw - 80px));
  }
}

@media (max-width: 1120px) {
  .section-heading,
  .life-title,
  .practice-layout,
  .two-column,
  .scene-layout,
  .mixer,
  .codex-demo,
  .close-layout {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .life-title h2 {
    font-size: clamp(52px, 9vw, 92px);
  }

  .signal-card:nth-child(1),
  .signal-card:nth-child(2),
  .signal-card:nth-child(3),
  .signal-card:nth-child(4),
  .flow-node,
  .flow-node:nth-child(1),
  .flow-node:nth-child(3),
  .flow-node:nth-child(4),
  .flow-node:nth-child(6),
  .life-hero-card,
  .utility-card,
  .utility-card:nth-of-type(4),
  .utility-card:nth-of-type(5),
  .source-card:nth-child(1),
  .source-card:nth-child(2),
  .source-card:nth-child(n + 3) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .section:not(.hero-section) {
    padding: 104px 16px 72px;
  }

  .section-inner {
    width: 100%;
  }

  .topbar {
    width: calc(100% - 20px);
  }

  .section-heading h2,
  .life-title h2,
  .close-card h2 {
    max-width: 100%;
    font-size: clamp(34px, 10.5vw, 44px);
    line-height: 1.04;
  }

  .signal-card strong {
    font-size: clamp(42px, 13vw, 58px);
  }

  p,
  dd,
  .source-card b {
    word-break: normal;
    overflow-wrap: break-word;
  }

  .market-compare,
  .source-wall,
  .editorial-board,
  .workflow-board,
  .practice-grid,
  .shot-strip,
  .sound-layers,
  .portfolio-checklist {
    grid-template-columns: 1fr;
  }

  .signal-card,
  .compare-row,
  .source-card,
  .flow-node,
  .practice-card {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Production comparison: fixed 12-column layout */
#market.market-section {
  padding: 88px 24px 112px;
}

#market .market-stack {
  width: min(1880px, calc(100vw - 48px));
  gap: 64px;
}

#market .production-compare {
  display: grid;
  width: 100%;
  box-sizing: border-box;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  margin: 0 auto;
  padding: 88px clamp(40px, 3vw, 64px);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: #080808;
  box-shadow: none;
}

#market .production-head {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  margin: 0 0 32px;
  padding: 0;
  border: 0;
  background: transparent;
}

#market .production-title {
  display: block;
  grid-column: 1 / -1;
  max-width: 1360px;
  margin: 0;
  color: #fff;
  font-size: clamp(58px, 5.2vw, 92px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

#market .production-cards {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  padding: 0;
  border: 0;
}

#market .production-cards > .production-card {
  display: flex;
  flex-direction: column;
  grid-column: span 4 !important;
  height: 560px;
  min-height: 560px;
  box-sizing: border-box;
  gap: 0;
  padding: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  color: #fff;
  background: #161616;
}

#market .production-cards > .production-card:nth-child(1) {
  background: #161616;
}

#market .production-cards > .production-card:nth-child(2) {
  background: #efefea;
  color: #0a0a0a;
}

#market .production-cards > .production-card:nth-child(3) {
  background: #cfe6c9;
  color: #0a0a0a;
}

#market .production-card .card-label {
  color: currentColor;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  opacity: 0.65;
}

#market .production-card .card-title {
  display: block;
  margin: 18px 0 0;
  color: currentColor;
  font-size: clamp(38px, 3.15vw, 50px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

#market .production-card .card-subtitle {
  margin: 8px 0 0;
  color: currentColor;
  font-size: clamp(17px, 1.15vw, 20px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  opacity: 0.65;
}

#market .production-card .card-visual {
  position: relative;
  width: 100%;
  margin: 24px 0 0;
  overflow: hidden;
  border-radius: 18px;
  background: #0a0a0a;
  aspect-ratio: 16 / 8.4;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

#market .production-card:nth-child(n + 2) .card-visual {
  box-shadow: inset 0 0 0 1px rgba(10, 10, 10, 0.12);
}

#market .production-card .card-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.42)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0));
  pointer-events: none;
}

#market .production-card .card-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}

#market .production-card:nth-child(1) .card-visual img {
  object-position: 52% 50%;
}

#market .production-card:nth-child(2) .card-visual img {
  object-position: 42% 50%;
}

#market .production-card:nth-child(3) .card-visual img {
  object-position: 50% 42%;
}

#market .production-card .card-visual figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

#market .production-card .signal-bar {
  width: 100%;
  height: 4px;
  margin: 24px 0 0;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

#market .production-card:nth-child(n + 2) .signal-bar {
  background: rgba(10, 10, 10, 0.13);
}

#market .production-card .signal-bar em {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #efff3a;
}

#market .production-card:nth-child(2) .signal-bar em {
  background: #0a0a0a;
}

#market .production-card:nth-child(3) .signal-bar em {
  background: #ff5c3f;
}

#market .production-card .card-copy {
  max-width: 23em;
  margin: 20px 0 0;
  color: currentColor;
  font-size: clamp(15px, 1vw, 16px);
  font-weight: 600;
  line-height: 1.62;
  letter-spacing: -0.01em;
  opacity: 0.82;
}

#market .production-card .card-copy + .card-copy {
  margin-top: 14px;
}

#market .production-card .card-copy b {
  display: inline-block;
  color: currentColor;
  font-weight: 900;
  white-space: nowrap;
}

#market .production-card .card-copy span {
  word-break: keep-all;
  overflow-wrap: normal;
}

#market .production-data {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  padding: 0;
}

#market .production-data .compare-row {
  display: grid;
  grid-column: span 4;
  min-height: 210px;
  box-sizing: border-box;
  gap: 18px;
  align-content: space-between;
  padding: 28px;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
}

#market .production-data .compare-row span {
  color: rgba(10, 10, 10, 0.62);
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

#market .production-data .metric-value {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: baseline;
  color: #0a0a0a;
  font-size: clamp(38px, 3.15vw, 50px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

#market .production-data .metric-value.is-long {
  font-size: clamp(34px, 2.75vw, 44px);
}

#market .production-data .compare-row .metric-value span {
  display: inline-block;
  margin-left: 2px;
  font: inherit;
  font-size: 0.42em;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  opacity: 0.86;
}

#market .production-data .compare-row em {
  width: 100%;
  height: 5px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.14);
}

#market .production-data .compare-row small {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #0a0a0a;
}

@media (max-width: 1120px) {
  #market.market-section {
    padding: 88px 36px 104px;
  }

  #market .market-stack {
    width: min(100%, calc(100vw - 56px));
  }

  #market .production-compare {
    padding: 72px 36px;
  }

  #market .production-title {
    grid-column: 1 / -1;
  }

  #market .production-cards > .production-card {
    grid-column: span 6 !important;
  }

  #market .production-cards > .production-card:nth-child(3) {
    grid-column: 1 / -1;
  }

  #market .production-data .compare-row {
    grid-column: span 4;
  }
}

@media (max-width: 760px) {
  #market.market-section {
    padding: 88px 16px 80px;
  }

  #market .market-stack {
    width: 100%;
  }

  #market .production-compare {
    gap: 20px;
    padding: 48px 20px;
  }

  #market .production-head {
    gap: 18px;
    margin-bottom: 36px;
  }

  #market .production-title {
    font-size: clamp(36px, 10vw, 48px);
    line-height: 1.04;
  }

  #market .production-cards {
    gap: 20px;
  }

  #market .production-cards > .production-card {
    grid-column: 1 / -1 !important;
    min-height: auto;
    height: auto;
    grid-template-rows: auto;
    gap: 16px;
    padding: 28px;
  }

  #market .production-card .card-title {
    font-size: clamp(42px, 13vw, 56px);
  }

  #market .production-data {
    gap: 20px;
  }

  #market .production-data .compare-row {
    grid-column: 1 / -1;
    min-height: 180px;
  }

  #market .production-data .metric-value {
    font-size: clamp(44px, 13vw, 56px);
  }
}

/* Life AI section: structured Chinese typography and real photo demos */
#life-ai.life-section {
  scroll-margin-top: 0;
  padding: 120px 40px 128px;
  background: #f5f5f0;
  color: #0a0a0a;
}

#life-ai .life-layout {
  width: min(1760px, calc(100vw - 80px));
  gap: 64px;
}

#life-ai .life-title {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  width: 100%;
  align-items: start;
  justify-items: start;
}

#life-ai .life-title .eyebrow {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(10, 10, 10, 0.58);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

#life-ai .life-main-title {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.36em;
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  margin: 0;
  color: #0a0a0a;
  font-size: clamp(54px, 5.1vw, 78px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

#life-ai .life-main-title span,
#life-ai .life-hero-copy h3 span {
  display: block;
  margin: 0;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

#life-ai .life-main-title span + span {
  margin-top: 0;
}

#life-ai .life-hero-copy h3 span {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-transform: none;
  opacity: 1;
}

#life-ai .editorial-board {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: none;
  overflow: visible;
}

#life-ai .retouch-showcase {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(300px, 0.24fr) minmax(0, 1fr);
  gap: 24px;
  min-height: 0;
  padding: 28px;
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 24px;
  background: #fff;
  color: #0a0a0a;
  box-shadow: none;
  overflow: hidden;
}

#life-ai .life-hero-copy {
  display: flex;
  min-height: 640px;
  flex-direction: column;
  justify-content: center;
  padding: 38px 34px;
  border: 0;
  border-radius: 20px;
  background: #080808;
  color: #fff;
}

#life-ai .life-hero-copy > span,
#life-ai .utility-card > span,
#life-ai .demo-head > span,
#life-ai .prompt-lab > div > span {
  color: currentColor;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-transform: none;
  opacity: 0.65;
}

#life-ai .utility-card p span {
  display: block;
  color: currentColor;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-transform: none;
  opacity: 1;
}

#life-ai .life-hero-copy h3 {
  max-width: 360px;
  margin: 28px 0 0;
  color: #fff;
  font-size: clamp(32px, 2.25vw, 42px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
}

#life-ai .life-hero-copy p {
  max-width: 360px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.72;
  letter-spacing: 0;
}

#life-ai .retouch-demo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

#life-ai .retouch-demo {
  display: grid;
  gap: 22px;
  align-content: start;
  padding: 22px;
  border-radius: 20px;
  background: #f5f5f0;
}

#life-ai .demo-head {
  display: grid;
  gap: 8px;
  padding: 4px 4px 0;
}

#life-ai .demo-head b {
  color: #0a0a0a;
  font-size: clamp(23px, 1.8vw, 32px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
  word-break: keep-all;
}

#life-ai .demo-images {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

#life-ai .demo-images figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #111;
  aspect-ratio: 16 / 9.4;
}

#life-ai .demo-images img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 420ms ease, transform 420ms ease, opacity 420ms ease;
}

#life-ai .demo-images figcaption {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 3;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.64);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

#life-ai .demo-images figcaption span {
  margin-right: 6px;
  opacity: 0.62;
}

#life-ai .result-reveal {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: inherit;
  overflow: hidden;
}

#life-ai .result-reveal::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.16), transparent 30%),
    linear-gradient(135deg, #111 0%, #232323 46%, #0f1514 100%);
  opacity: 0;
  transition: opacity 420ms ease;
}

#life-ai .result-reveal::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.16) 46%, transparent 74%),
    rgba(0, 0, 0, 0.12);
  transform: translateX(-120%);
  transition: opacity 320ms ease;
}

#life-ai .result-figure:not(.is-revealed) .result-reveal::before {
  opacity: 1;
}

#life-ai .result-figure:not(.is-revealed) .result-reveal::after {
  animation: hiddenResultSweep 2.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

#life-ai .result-figure:not(.is-revealed) img {
  opacity: 0;
  filter: none;
  transform: scale(1);
}

#life-ai .result-figure.is-revealed .result-reveal {
  cursor: zoom-in;
}

#life-ai .result-figure.is-revealed img {
  opacity: 1;
}

#life-ai .result-figure.is-revealed .result-reveal::before,
#life-ai .result-figure.is-revealed .result-reveal::after,
#life-ai .result-figure.is-revealed .reveal-hint {
  opacity: 0;
  animation: none;
}

#life-ai .reveal-hint {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 240ms ease;
}

#life-ai .result-reveal:focus-visible {
  outline: 3px solid #efff3a;
  outline-offset: -5px;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 56px);
  background: rgba(0, 0, 0, 0.82);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(18px);
  transition:
    opacity 260ms var(--ease-standard, ease),
    backdrop-filter 260ms var(--ease-standard, ease);
}

.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox img {
  display: block;
  width: auto;
  max-width: min(1180px, 94vw);
  max-height: 88vh;
  border-radius: 22px;
  background: #111;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.52);
  object-fit: contain;
  transform: translate3d(0, 28px, 0) scale(0.94);
  opacity: 0;
  transition:
    opacity 360ms var(--ease-standard, ease),
    transform 520ms var(--ease-pop, ease);
}

.image-lightbox.is-open img {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.image-lightbox-close {
  position: fixed;
  right: clamp(18px, 3vw, 42px);
  top: clamp(18px, 3vw, 42px);
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  transition:
    transform 220ms var(--ease-pop, ease),
    background 220ms var(--ease-standard, ease);
}

.image-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.06);
}

.image-lightbox-open {
  overflow: hidden;
}

#life-ai .utility-card {
  position: relative;
  display: grid;
  grid-column: span 3 !important;
  min-height: 270px;
  align-content: space-between;
  padding: 28px;
  border: 0;
  border-radius: 20px;
  color: #0a0a0a;
  background: #efefea;
  overflow: hidden;
  isolation: isolate;
  transform: translateY(22px);
  opacity: 0;
  transition:
    opacity 700ms ease,
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

#life-ai .editorial-board.is-visible .utility-card {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--step, 1) * 100ms + 180ms);
}

#life-ai .flow-step-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.45) 48%, transparent 72%);
  transform: translateX(-130%);
  animation: flowCardSweep 5.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  animation-delay: calc(var(--step, 1) * 360ms);
}

#life-ai .flow-step-card {
  scroll-margin-top: 118px;
}

#life-ai .flow-step-card::after {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  height: 4px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.16);
  content: "";
}

#life-ai .utility-card.yellow {
  background: #efff3a;
}

#life-ai .utility-card.lavender {
  background: #bdb0ff;
}

#life-ai .utility-card.green {
  background: #cfe6c9;
}

#life-ai .utility-card.black {
  background: #080808;
  color: #fff;
}

#life-ai .utility-card.black::after {
  background: rgba(255, 255, 255, 0.18);
}

#life-ai .flow-step-card > span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.08);
  color: currentColor;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  opacity: 0.72;
}

#life-ai .utility-card.black > span {
  background: rgba(255, 255, 255, 0.12);
}

#life-ai .utility-card h3 {
  max-width: 8.5em;
  margin: 22px 0 14px;
  color: currentColor;
  font-size: clamp(25px, 2vw, 34px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: normal;
}

#life-ai .utility-card p {
  max-width: 20em;
  margin: 0;
  color: currentColor;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: 0;
  opacity: 0.72;
}

#life-ai .flow-card-demo {
  display: grid;
  height: 82px;
  margin: 26px 0 12px;
  align-items: end;
  gap: 8px;
}

#life-ai .flow-card-demo i,
#life-ai .flow-card-demo b {
  display: block;
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.28);
}

#life-ai .utility-card.black .flow-card-demo i,
#life-ai .utility-card.black .flow-card-demo b {
  background: rgba(255, 255, 255, 0.26);
}

#life-ai .reference-demo {
  position: relative;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 8px;
  padding: 24px 12px 10px;
  overflow: hidden;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.18)),
    rgba(10, 10, 10, 0.08);
  box-shadow: inset 0 0 0 1px rgba(10, 10, 10, 0.1);
}

#life-ai .reference-demo::before {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 9px;
  height: 8px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 5px 50%, rgba(10, 10, 10, 0.42) 0 2px, transparent 2.4px),
    linear-gradient(90deg, rgba(10, 10, 10, 0.2), rgba(10, 10, 10, 0.08));
  content: "";
}

#life-ai .reference-demo::after {
  position: absolute;
  left: 16px;
  top: 26px;
  width: 18px;
  height: 24px;
  content: "";
  background: currentColor;
  clip-path: polygon(0 0, 0 82%, 28% 62%, 42% 100%, 58% 94%, 44% 57%, 78% 57%);
  opacity: 0.72;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.22));
  animation: cursorPickImage 4.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

#life-ai .reference-demo i {
  height: 40px;
  border-radius: 10px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.42), transparent 46%),
    rgba(10, 10, 10, 0.2);
  transform-origin: center;
}

#life-ai .reference-demo i:nth-child(1) {
  animation: imageTileDim 4.6s ease infinite;
}

#life-ai .reference-demo i:nth-child(2) {
  height: 48px;
  animation: imageTileSelect 4.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

#life-ai .reference-demo i:nth-child(3) {
  height: 36px;
  animation: imageTileDim 4.6s ease infinite;
  animation-delay: -0.2s;
}

#life-ai .analysis-demo {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(circle at 74% 24%, rgba(239, 255, 58, 0.56), transparent 18%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.34), transparent 44%),
    rgba(10, 10, 10, 0.07);
  box-shadow: inset 0 0 0 1px rgba(10, 10, 10, 0.1);
}

#life-ai .analysis-demo::before,
#life-ai .analysis-demo::after {
  position: absolute;
  content: "";
}

#life-ai .analysis-demo::before {
  right: 20px;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #efff3a;
  box-shadow: 0 0 28px rgba(239, 255, 58, 0.58);
  animation: simpleLightPulse 4s ease-in-out infinite;
}

#life-ai .analysis-demo::after {
  left: 16px;
  right: 16px;
  bottom: 18px;
  height: 2px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.2);
}

#life-ai .analysis-demo i {
  position: absolute;
  display: block;
  background: rgba(10, 10, 10, 0.28);
}

#life-ai .analysis-demo i:nth-child(1) {
  right: 38px;
  bottom: 18px;
  width: 32px;
  height: 48px;
  border-radius: 16px 16px 10px 10px;
  background: rgba(10, 10, 10, 0.44);
  box-shadow: 0 0 0 3px rgba(239, 255, 58, 0.22);
  animation: subjectBreath 4s ease-in-out infinite;
}

#life-ai .analysis-demo i:nth-child(2) {
  left: 18px;
  top: 54%;
  width: 70%;
  height: 2px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.16);
}

#life-ai .analysis-demo i:nth-child(3) {
  right: 54px;
  top: 16px;
  width: 2px;
  height: 58px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.16);
}

#life-ai .analysis-demo i:nth-child(4) {
  right: 46px;
  top: 30px;
  width: 96px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(239, 255, 58, 0.56), rgba(239, 255, 58, 0));
  transform: rotate(150deg);
  transform-origin: right center;
  animation: simpleLightBeam 4s ease-in-out infinite;
}

#life-ai .analysis-demo i:nth-child(5) {
  left: 20px;
  bottom: 30px;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.24);
}

#life-ai .input-demo {
  grid-template-columns: 1fr 1fr 42px;
  align-items: center;
}

#life-ai .input-demo b {
  display: grid;
  min-height: 42px;
  place-items: center;
  color: currentColor;
  font-size: 12px;
  font-weight: 900;
  background: rgba(10, 10, 10, 0.12);
}

#life-ai .input-demo i {
  position: relative;
  height: 4px;
  border-radius: 999px;
}

#life-ai .input-demo i::after {
  position: absolute;
  right: -1px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-top: 4px solid currentColor;
  border-right: 4px solid currentColor;
  content: "";
  opacity: 0.38;
  transform: translateY(-50%) rotate(45deg);
}

#life-ai .result-demo {
  grid-template-columns: 0.7fr 1.2fr 1fr;
  align-items: center;
}

#life-ai .result-demo i {
  height: 38px;
  animation: resultBars 1.6s ease-in-out infinite;
  animation-delay: calc(var(--step, 1) * -130ms);
}

#life-ai .result-demo i:nth-child(2) { height: 54px; animation-delay: -360ms; }
#life-ai .result-demo i:nth-child(3) { height: 44px; animation-delay: -620ms; }

#life-ai .flow-step-card:nth-of-type(2)::after,
#life-ai .flow-step-card:nth-of-type(3)::after,
#life-ai .flow-step-card:nth-of-type(4)::after,
#life-ai .flow-step-card:nth-of-type(5)::after {
  background:
    linear-gradient(90deg, currentColor 0 0) left / 0% 100% no-repeat,
    rgba(10, 10, 10, 0.16);
  animation: flowProgress 5.8s ease infinite;
  animation-delay: calc(var(--step, 1) * 360ms);
}

#life-ai .flow-step-card.black::after {
  background:
    linear-gradient(90deg, currentColor 0 0) left / 0% 100% no-repeat,
    rgba(255, 255, 255, 0.18);
}

#life-ai .prompt-lab {
  display: grid;
  grid-template-columns: minmax(300px, 0.34fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  padding: 28px;
  border: 0;
  border-radius: 24px;
  background: #080808;
  color: #fff;
  box-shadow: none;
}

#life-ai .prompt-copy {
  display: grid;
  align-content: center;
  padding: 8px 8px 8px 0;
  background: transparent;
}

#life-ai .prompt-lab b {
  display: block;
  max-width: 360px;
  margin-top: 16px;
  color: #fff;
  font-size: clamp(25px, 2vw, 34px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
  word-break: keep-all;
}

#life-ai .prompt-copy p {
  max-width: 22em;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.72;
  letter-spacing: 0;
}

#life-ai .prompt-lab pre {
  min-height: 260px;
  margin: 0;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.82;
  white-space: pre-wrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

@keyframes flowCardSweep {
  0%, 36% { transform: translateX(-130%); }
  58%, 100% { transform: translateX(130%); }
}

@keyframes flowProgress {
  0%, 18% { background-size: 0% 100%, auto; }
  56%, 100% { background-size: 100% 100%, auto; }
}

@keyframes cursorPickImage {
  0%, 14% {
    transform: translate(0, 0) scale(0.9);
  }
  34%, 46% {
    transform: translate(84px, 30px) scale(1);
  }
  58%, 100% {
    transform: translate(110px, 28px) scale(1);
  }
}

@keyframes imageTileSelect {
  0%, 28% {
    transform: scale(1);
    box-shadow: none;
    opacity: 0.78;
  }
  42%, 72% {
    transform: scale(1.22) translateY(-5px);
    box-shadow: 0 12px 24px rgba(10, 10, 10, 0.22);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    box-shadow: none;
    opacity: 0.84;
  }
}

@keyframes imageTileDim {
  0%, 28% { opacity: 0.82; }
  42%, 72% { opacity: 0.46; }
  100% { opacity: 0.82; }
}

@keyframes simpleLightPulse {
  0%, 100% {
    transform: scale(0.92);
    opacity: 0.78;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes simpleLightBeam {
  0%, 100% {
    opacity: 0.36;
    transform: rotate(150deg) scaleX(0.86);
  }
  50% {
    opacity: 0.7;
    transform: rotate(150deg) scaleX(1.08);
  }
}

@keyframes subjectBreath {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(239, 255, 58, 0.18);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(239, 255, 58, 0.32);
  }
}

@keyframes resultBars {
  0%, 100% { transform: scaleY(0.72); opacity: 0.58; }
  50% { transform: scaleY(1); opacity: 0.9; }
}

@media (max-width: 1120px) {
  #character .character-pipeline-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  #character .character-flow-card {
    grid-column: span 3;
  }

  #character .film-card {
    grid-template-columns: 1fr;
  }

  #character .film-media {
    grid-template-columns: 1fr 1fr;
  }

  #scene .scene-build-card,
  #scene .composite-build-card,
  #scene .final-build-card {
    grid-template-columns: 1fr;
  }

  #scene .asset-stage-copy h3 {
    max-width: none;
  }

  #life-ai .life-title,
  #life-ai .retouch-showcase,
  #life-ai .prompt-lab {
    grid-template-columns: 1fr;
  }

  #life-ai .life-main-title {
    grid-column: 1 / -1;
  }

  #life-ai .utility-card {
    grid-column: span 6 !important;
  }
}

@media (max-width: 760px) {
  #character.character-pipeline-section {
    padding: 88px 16px 84px;
  }

  #character .character-pipeline-layout {
    width: 100%;
  }

  #character .character-flow-heading h2 {
    font-size: clamp(44px, 13vw, 58px);
  }

  #character .character-pipeline-grid,
  #character .visual-pair,
  #character .scene-pair,
  #character .role-image-wall,
  #character .film-media {
    grid-template-columns: 1fr;
  }

  #character .character-flow-card,
  #character .film-card {
    grid-column: 1 / -1;
    min-height: auto;
  }

  #character .film-media figure {
    min-height: 300px;
  }

  #scene.asset-scene-section {
    padding: 88px 16px 88px;
  }

  #scene .asset-scene-layout {
    width: 100%;
  }

  #scene .asset-scene-heading h2 {
    font-size: clamp(44px, 13vw, 58px);
  }

  #scene .asset-stage-card,
  #scene .scene-media-pair,
  #scene .final-media-pair {
    grid-template-columns: 1fr;
  }

  #scene .asset-stage-card figure {
    min-height: 300px;
  }

  #life-ai.life-section {
    padding: 88px 16px 80px;
  }

  #life-ai .life-layout {
    width: 100%;
  }

  #life-ai .life-main-title {
    font-size: clamp(40px, 11vw, 52px);
  }

  #life-ai .retouch-demo-grid,
  #life-ai .demo-images {
    grid-template-columns: 1fr;
  }

  #life-ai .utility-card {
    grid-column: 1 / -1 !important;
  }
}

/* Final slide-layout overrides for the workflow page. */
#workflow .section-inner {
  width: min(1840px, calc(100vw - clamp(44px, 4vw, 84px)));
  max-width: none;
}

#workflow .workflow-board {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(240px, auto);
  gap: 24px;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

#workflow .flow-node,
#workflow .flow-node:nth-child(1),
#workflow .flow-node:nth-child(2),
#workflow .flow-node:nth-child(3) {
  grid-column: span 4;
}

#workflow .flow-node:nth-child(4),
#workflow .flow-node:nth-child(5) {
  grid-column: span 6;
}

#workflow .flow-node {
  min-width: 0;
  min-height: 280px;
  padding: clamp(30px, 2.4vw, 44px);
  border-radius: 24px;
  overflow: hidden;
}

#workflow .flow-node b {
  max-width: 7em;
  font-size: clamp(40px, 3.2vw, 60px);
  line-height: 1;
  letter-spacing: 0;
  white-space: normal;
}

#workflow .flow-node p {
  max-width: 22em;
  line-height: 1.62;
}

@media (max-width: 1120px) {
  #workflow .flow-node,
  #workflow .flow-node:nth-child(1),
  #workflow .flow-node:nth-child(2),
  #workflow .flow-node:nth-child(3),
  #workflow .flow-node:nth-child(4),
  #workflow .flow-node:nth-child(5) {
    grid-column: 1 / -1;
  }
}

/* Market data readability and Suno AI music page */
#market .production-data .compare-row {
  min-height: 238px;
  gap: 13px;
}

#market .production-data .compare-row > span {
  color: rgba(10, 10, 10, 0.76);
  font-weight: 850;
}

#market .production-data .compare-row p {
  max-width: 24em;
  margin: 0;
  color: rgba(10, 10, 10, 0.8);
  font-size: clamp(14px, 0.92vw, 16px);
  font-weight: 760;
  line-height: 1.52;
  letter-spacing: 0;
}

#market .production-data .range-value i {
  font-style: normal;
}

#market .source-card.quote-card {
  cursor: default;
}

#market .case-showcase {
  display: grid;
  gap: clamp(22px, 2vw, 34px);
  padding: clamp(28px, 2.8vw, 46px);
  border-radius: 28px;
  background: #050505;
  color: #fff;
}

#market .case-showcase-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

#market .case-showcase-head span {
  color: rgba(142, 232, 208, 0.82);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#market .case-showcase-head h3 {
  margin: 8px 0 0;
  font-size: clamp(34px, 3.2vw, 58px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

#market .case-showcase-head p {
  max-width: 34em;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(14px, 0.92vw, 17px);
  font-weight: 650;
  line-height: 1.6;
}

#market .case-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.2vw, 22px);
  padding: 0;
  background: transparent;
}

#market .case-wall .source-card,
#market .case-wall .source-card:nth-child(1),
#market .case-wall .source-card:nth-child(2),
#market .case-wall .source-card:nth-child(n + 3) {
  position: relative;
  grid-column: auto;
  min-height: 0;
  border: 0;
  border-radius: 20px;
  background: #111;
  color: #fff;
  box-shadow: none;
  overflow: hidden;
}

#market .case-wall .source-card img,
#market .case-wall .source-card.video-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) contrast(1.04);
}

#market .case-wall .source-card::before,
#market .case-wall .source-card:nth-child(1)::before,
#market .case-wall .source-card:nth-child(2)::before,
#market .case-wall .source-card:nth-child(3)::before,
#market .case-wall .source-card:nth-child(4)::before {
  position: absolute;
  top: 14px;
  right: 14px;
  left: auto;
  z-index: 2;
  display: inline-flex;
  min-height: auto;
  align-items: center;
  padding: 7px 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.54);
  color: #fff;
  content: "原片";
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  backdrop-filter: blur(14px);
}

#market .case-wall .source-card.video-card::after {
  top: 28%;
  left: 18px;
  width: 48px;
  height: 48px;
  border: 0;
  background: rgba(0, 0, 0, 0.44);
  box-shadow: none;
}

#market .case-wall .source-card div {
  padding: clamp(18px, 1.4vw, 24px);
}

#market .case-wall .source-card span {
  color: rgba(142, 232, 208, 0.78);
}

#market .case-wall .source-card b {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(15px, 0.96vw, 18px);
  line-height: 1.52;
}

#market .case-wall .source-card em {
  margin-top: 18px;
  border-bottom-color: rgba(142, 232, 208, 0.74);
  color: rgba(255, 255, 255, 0.68);
}

#market .case-wall .source-card:hover {
  background: #151515;
  transform: translate3d(0, -4px, 0);
}

#market .case-wall .source-card:hover img {
  filter: saturate(1.06) contrast(1.08);
  transform: scale(1.025);
}

@media (max-width: 1120px) {
  #market .case-showcase-head {
    display: grid;
    align-items: start;
  }

  #market .case-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  #market .case-showcase {
    padding: 24px;
  }

  #market .case-wall {
    grid-template-columns: 1fr;
  }
}

#audio .audio-layout {
  width: min(1840px, calc(100vw - clamp(44px, 4vw, 84px)));
  max-width: none;
  gap: clamp(54px, 5.8vw, 90px);
}

#audio .suno-panel {
  display: grid;
  grid-template-columns: minmax(340px, 0.42fr) minmax(0, 0.58fr);
  gap: 28px;
  padding: clamp(28px, 2.5vw, 44px);
  border-radius: 30px;
  background: #080808;
  color: #fff;
  overflow: hidden;
}

#audio .suno-copy {
  display: grid;
  gap: 22px;
  align-content: center;
  min-width: 0;
}

#audio .suno-logo {
  width: max-content;
  color: #fff;
  font-size: clamp(34px, 2.8vw, 56px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.12em;
}

#audio .suno-copy > span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
}

#audio .suno-copy h3 {
  max-width: 10.5em;
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 4.4vw, 82px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: normal;
}

#audio .suno-copy p {
  max-width: 31em;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(16px, 1.06vw, 19px);
  font-weight: 650;
  line-height: 1.7;
}

#audio .suno-prompt-pill {
  display: grid;
  gap: 10px;
  max-width: 560px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

#audio .suno-prompt-pill b {
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

#audio .suno-prompt-pill small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

#audio .suno-shot {
  min-width: 0;
  min-height: 420px;
  margin: 0;
  border-radius: 24px;
  background: #151518;
  overflow: hidden;
}

#audio .suno-shot img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center center;
}

#audio .mixer {
  grid-template-columns: 1fr;
  gap: 22px;
  padding: clamp(24px, 2vw, 34px);
}

#audio .waveform {
  display: none;
}

#audio .audio-controls,
#audio .audio-result {
  grid-column: 1 / -1;
}

#audio .audio-result span {
  color: rgba(10, 10, 10, 0.6);
}

#audio .audio-result h3 {
  max-width: 18em;
  font-size: clamp(32px, 2.5vw, 48px);
  line-height: 1.08;
}

#audio .audio-result p {
  color: rgba(10, 10, 10, 0.78);
  font-weight: 650;
}

#audio .audio-translation {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(10, 10, 10, 0.1);
  border-radius: 18px;
  background: rgba(10, 10, 10, 0.045);
}

#audio .audio-translation b {
  color: rgba(10, 10, 10, 0.74);
  font-size: 13px;
  font-weight: 900;
}

#audio .audio-translation p {
  margin: 0;
  color: rgba(10, 10, 10, 0.9);
  font-size: clamp(14px, 1vw, 17px);
  line-height: 1.7;
}

@media (max-width: 1120px) {
  #audio .suno-panel {
    grid-template-columns: 1fr;
  }
}

/* Full film preview page before the character asset breakdown */
#film.film-section {
  align-items: start;
  padding-top: clamp(118px, 8vw, 150px);
  padding-bottom: clamp(118px, 8vw, 150px);
  background: #080808;
  color: #fff;
}

#film .film-layout {
  display: grid;
  width: min(1840px, calc(100vw - clamp(44px, 4vw, 84px)));
  gap: clamp(34px, 3.4vw, 58px);
  justify-items: center;
}

#film .film-heading {
  display: grid;
  gap: clamp(22px, 2.2vw, 34px);
  justify-items: center;
  width: 100%;
  text-align: center;
}

#film .film-heading h2 {
  max-width: 1180px;
  margin: 0;
  color: #fff;
  font-size: clamp(76px, 6.8vw, 124px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: normal;
}

#film .film-heading h2 span {
  display: block;
  white-space: nowrap;
}

#film .film-showcase {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
}

#film .film-player-card {
  position: relative;
  width: min(1420px, calc((min(72vh, 820px) - 74px) * 16 / 9 + 36px), 100%);
  min-width: 0;
  justify-self: center;
  margin: 0 auto;
  padding: clamp(48px, 3.1vw, 58px) clamp(12px, 1vw, 18px) clamp(12px, 1vw, 18px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04) 42px, rgba(17, 17, 17, 0.98) 43px),
    #111;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

#film .film-player-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: clamp(36px, 2.6vw, 44px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 32%, rgba(255, 255, 255, 0.06)),
    rgba(24, 24, 26, 0.96);
}

#film .film-player-card::after {
  content: "";
  position: absolute;
  top: clamp(13px, 1vw, 16px);
  left: clamp(18px, 1.4vw, 24px);
  width: clamp(10px, 0.78vw, 13px);
  height: clamp(10px, 0.78vw, 13px);
  border-radius: 50%;
  background: #ff5f57;
  box-shadow:
    clamp(18px, 1.4vw, 24px) 0 0 #ffbd2e,
    clamp(36px, 2.8vw, 48px) 0 0 #28c840;
}

#film .film-player-card video {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(calc(72vh - 74px), 760px);
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  background: #000;
  object-fit: contain;
}

@media (max-width: 1120px) {
  #film .film-player-card {
    max-height: none;
  }
}

/* Polished elastic motion system */
:root {
  --ease-standard: cubic-bezier(0.2, 0.82, 0.22, 1);
  --ease-spring: cubic-bezier(0.18, 1.38, 0.28, 1);
  --ease-pop: cubic-bezier(0.24, 1.52, 0.32, 1);
  --ease-soft-in: cubic-bezier(0.34, 0, 0.18, 1);
  --motion-fast: 260ms;
  --motion-mid: 640ms;
  --motion-slow: 980ms;
}

.topbar,
.rail-link,
.fullscreen-button,
.topnav a,
.icon-button,
.tab-button,
.audio-mode,
.copy-button,
.run-button,
#life-ai .result-reveal {
  transition:
    transform var(--motion-fast) var(--ease-pop),
    opacity var(--motion-fast) var(--ease-standard),
    color var(--motion-fast) var(--ease-standard),
    border-color var(--motion-fast) var(--ease-standard),
    background var(--motion-fast) var(--ease-standard),
    box-shadow var(--motion-fast) var(--ease-standard),
    filter var(--motion-fast) var(--ease-standard);
}

.topnav a:hover,
.rail-link:hover,
.fullscreen-button:hover,
.icon-button:hover,
.tab-button:hover,
.audio-mode:hover,
.copy-button:hover,
.run-button:hover {
  transform: translate3d(0, -2px, 0) scale(1.018);
}

.icon-button:active,
.tab-button:active,
.audio-mode:active,
.copy-button:active,
.run-button:active,
#life-ai .result-reveal:active {
  transform: translate3d(0, 1px, 0) scale(0.982);
}

.image-zoomable {
  cursor: zoom-in;
}

.rail-link.active {
  transform: translate3d(3px, 0, 0);
}

.reveal {
  opacity: 0;
  filter: blur(10px);
  clip-path: inset(0 0 10% 0 round 18px);
  transform: translate3d(0, 46px, 0) scale(0.965);
  transform-origin: center top;
  will-change: opacity, filter, transform, clip-path;
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  clip-path: inset(0 0 0 0 round 0);
  transform: translate3d(0, 0, 0) scale(1);
  transition:
    opacity 620ms var(--ease-standard),
    filter 820ms var(--ease-standard),
    clip-path 860ms var(--ease-standard),
    transform 920ms var(--ease-spring);
}

.delay-1.is-visible {
  transition-delay: 90ms;
}

.delay-2.is-visible {
  transition-delay: 170ms;
}

.section:not(.hero-section) .section-inner {
  opacity: 0.58;
  filter: blur(8px);
  transform: translate3d(0, 54px, 0) scale(0.982);
  transform-origin: center top;
  will-change: opacity, filter, transform;
  transition:
    opacity 680ms var(--ease-standard),
    filter 760ms var(--ease-standard),
    transform 1040ms var(--ease-spring);
}

.section:not(.hero-section).section-has-entered .section-inner {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.section-heading.reveal,
.life-title.reveal {
  clip-path: none;
  filter: none;
}

.section-heading.reveal .eyebrow,
.life-title.reveal .eyebrow {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}

.section-heading.reveal h2,
.life-title.reveal h2 {
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(0.972);
  transform-origin: left top;
}

.section-heading.reveal.is-visible .eyebrow,
.life-title.reveal.is-visible .eyebrow {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 520ms var(--ease-standard) 40ms,
    transform 720ms var(--ease-spring) 40ms;
}

.section-heading.reveal.is-visible h2,
.life-title.reveal.is-visible h2 {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transition:
    opacity 640ms var(--ease-standard) 120ms,
    transform 940ms var(--ease-spring) 120ms;
}

.section-heading.reveal.is-visible h2 span,
.life-title.reveal.is-visible h2 span,
.opening-title span {
  animation-timing-function: var(--ease-spring);
}

.reveal :is(
  .signal-card,
  .compare-row,
  .market-card,
  .life-hero-card,
  .retouch-demo,
  .utility-card,
  .prompt-card,
  .flow-node,
  .character-flow-card,
  .asset-stage-card,
  .shot-strip article,
  .sound-layers article,
  .portfolio-checklist article,
  .close-card,
  .source-panel
) {
  opacity: 0;
  filter: none;
  transform: translate3d(0, 32px, 0);
  transform-origin: center top;
  will-change: opacity, transform;
  transition:
    opacity 620ms var(--ease-standard),
    transform 860ms var(--ease-pop);
}

.reveal.is-visible :is(
  .signal-card,
  .compare-row,
  .market-card,
  .life-hero-card,
  .retouch-demo,
  .utility-card,
  .prompt-card,
  .flow-node,
  .character-flow-card,
  .asset-stage-card,
  .shot-strip article,
  .sound-layers article,
  .portfolio-checklist article,
  .close-card,
  .source-panel
) {
  opacity: 1;
  filter: none;
  transform: translate3d(0, 0, 0);
}

.reveal.is-visible > :nth-child(1),
.reveal.is-visible :is(.signal-card, .compare-row, .market-card, .flow-node, .utility-card, .character-flow-card, .asset-stage-card, .sound-layers article, .portfolio-checklist article):nth-child(1) {
  transition-delay: 40ms;
}

.reveal.is-visible > :nth-child(2),
.reveal.is-visible :is(.signal-card, .compare-row, .market-card, .flow-node, .utility-card, .character-flow-card, .asset-stage-card, .sound-layers article, .portfolio-checklist article):nth-child(2) {
  transition-delay: 130ms;
}

.reveal.is-visible > :nth-child(3),
.reveal.is-visible :is(.signal-card, .compare-row, .market-card, .flow-node, .utility-card, .character-flow-card, .asset-stage-card, .sound-layers article, .portfolio-checklist article):nth-child(3) {
  transition-delay: 220ms;
}

.reveal.is-visible > :nth-child(4),
.reveal.is-visible :is(.signal-card, .compare-row, .market-card, .flow-node, .utility-card, .character-flow-card, .asset-stage-card, .sound-layers article, .portfolio-checklist article):nth-child(4) {
  transition-delay: 310ms;
}

.reveal.is-visible > :nth-child(5),
.reveal.is-visible :is(.signal-card, .compare-row, .market-card, .flow-node, .utility-card, .character-flow-card, .asset-stage-card, .sound-layers article, .portfolio-checklist article):nth-child(5) {
  transition-delay: 400ms;
}

.reveal.is-visible > :nth-child(6),
.reveal.is-visible :is(.signal-card, .compare-row, .market-card, .flow-node, .utility-card, .character-flow-card, .asset-stage-card, .sound-layers article, .portfolio-checklist article):nth-child(6) {
  transition-delay: 490ms;
}

.reveal.is-visible:is(.suno-panel, .mixer, .codex-demo, .film-showcase),
.reveal.is-visible .film-player-card,
.reveal.is-visible .suno-shot,
.reveal.is-visible .role-image-wall figure,
.reveal.is-visible .asset-media figure,
.reveal.is-visible .video-frame {
  animation: elasticSettle 980ms var(--ease-spring);
}

.reveal.is-visible :is(img, video):not(.opening-image) {
  animation: mediaResolve 1120ms var(--ease-standard);
}

.signal-card:hover,
.compare-row:hover,
.market-card:hover,
#life-ai .utility-card:hover,
#workflow .flow-node:hover,
#character .character-flow-card:hover,
#scene .asset-stage-card:hover,
#audio .suno-panel:hover,
#audio .mixer:hover,
#film .film-player-card:hover,
.codex-demo:hover,
.sound-layers article:hover {
  transform: translate3d(0, -5px, 0);
  box-shadow:
    0 0 0 1px rgba(98, 216, 198, 0.14),
    0 18px 52px rgba(98, 216, 198, 0.08);
  transition:
    transform 420ms var(--ease-pop),
    box-shadow 420ms var(--ease-standard),
    filter 420ms var(--ease-standard);
}

/* Global card edge cleanup: avoid dark seams when dense card grids animate in. */
:where(
  .signal-card,
  .compare-row,
  .market-card,
  .source-card,
  .life-hero-card,
  .retouch-demo,
  .utility-card,
  .prompt-card,
  .flow-node,
  .character-flow-card,
  .asset-stage-card,
  .shot-strip article,
  .sound-layers article,
  .portfolio-checklist article,
  .close-card,
  .source-panel
) {
  background-clip: padding-box;
  backface-visibility: hidden;
}

#workflow .workflow-board,
#workflow .flow-node,
#workflow .flow-node:hover,
#market .case-showcase,
#market .case-wall,
#market .case-wall .source-card,
#market .case-wall .source-card:hover,
#audio .sound-layers,
#audio .sound-layers article,
#audio .sound-layers article:hover,
#codex .portfolio-checklist,
#codex .portfolio-checklist article,
#codex .portfolio-checklist article:hover {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

#market .case-showcase {
  background: #050505 !important;
}

#market .case-wall {
  background: #050505 !important;
  isolation: isolate;
}

#market .case-wall .source-card,
#market .case-wall .source-card:hover {
  background: transparent !important;
  background-clip: border-box !important;
  border-radius: 0 !important;
  overflow: visible !important;
  transform: none !important;
}

#market .case-wall .source-card::before,
#market .case-wall .source-card::after,
#market .case-wall .source-card div,
#market .case-wall .source-card img {
  box-shadow: none !important;
  outline: 0 !important;
}

#market .case-wall .source-card div {
  margin-top: 0;
  background: transparent !important;
  border: 0 !important;
}

#market .case-wall .source-card img,
#market .case-wall .source-card.video-card img {
  border-radius: 20px !important;
}

#market .case-wall .source-card:hover img {
  transform: none !important;
  filter: saturate(1.02) contrast(1.06) brightness(1.03);
}

#life-ai .result-figure.is-revealed img {
  animation: resultSnap 760ms var(--ease-pop);
}

#life-ai .flow-step-card::before {
  animation-timing-function: var(--ease-standard);
}

#life-ai .reference-demo::after,
#life-ai .reference-demo i:nth-child(2),
#life-ai .analysis-demo::before,
#life-ai .analysis-demo::after,
#life-ai .analysis-demo i,
#life-ai .result-demo i {
  animation-timing-function: var(--ease-spring);
}

/* Global title breathing room */
.section-heading,
.life-title,
#film .film-heading,
#character .character-flow-heading,
#scene .asset-scene-heading {
  gap: clamp(30px, 2.8vw, 50px);
}

.section-heading h2,
.life-title h2,
#market .production-title,
#life-ai .life-main-title,
#film .film-heading h2,
#character .character-flow-heading h2,
#scene .asset-scene-heading h2,
.production-title,
.close-card h2 {
  margin: 0;
  line-height: 1.15;
}

.section-heading h2 span + span,
.life-title h2 span + span,
#market .production-title span + span,
#life-ai .life-main-title span + span,
#film .film-heading h2 span + span,
#character .character-flow-heading h2 span + span,
#scene .asset-scene-heading h2 span + span,
.production-title span + span,
.close-card h2 br + * {
  margin-top: 0.08em;
}

.opening-title {
  line-height: 1.06;
}

.opening-title span + span {
  margin-top: 0.06em;
}

.section-heading + *,
.life-title + *,
#film .film-heading + *,
#character .character-flow-heading + *,
#scene .asset-scene-heading + * {
  margin-top: clamp(10px, 1.2vw, 24px);
}

.section h3,
.suno-copy h3,
.audio-result h3,
.character-flow-card h3,
.asset-stage-card h3,
.preview-hero h3 {
  line-height: 1.22;
}

.section h3 > span,
.character-flow-card h3 > span,
.asset-stage-card h3 > span {
  display: block;
}

.section h3 > span + span,
.character-flow-card h3 > span + span,
.asset-stage-card h3 > span + span {
  margin-top: 0.06em;
}

#audio .suno-copy h3 {
  max-width: 100%;
  font-size: clamp(38px, 3.4vw, 58px);
  line-height: 1.18;
}

#life-ai .life-title {
  gap: clamp(14px, 1.4vw, 22px);
}

#life-ai.life-section {
  padding-top: clamp(86px, 6vw, 104px);
}

#life-ai .life-layout {
  gap: clamp(36px, 3vw, 48px);
}

#life-ai .life-main-title {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.36em;
  max-width: none;
  font-size: clamp(54px, 5.1vw, 78px);
  line-height: 1.08;
}

#life-ai .life-main-title span {
  display: inline-block;
}

#life-ai .life-main-title span + span {
  margin-top: 0;
}

@media (max-width: 760px) {
  .section-heading h2,
  .life-title h2,
  #market .production-title,
  #life-ai .life-main-title,
  #film .film-heading h2,
  #character .character-flow-heading h2,
  #scene .asset-scene-heading h2,
  .production-title,
  .close-card h2 {
    max-width: calc(100vw - 44px);
    font-size: clamp(34px, 9.6vw, 46px);
    line-height: 1.16;
  }

  #film .film-heading h2 {
    font-size: clamp(42px, 12vw, 56px);
  }

  #film .film-heading h2 span {
    white-space: normal;
  }

  #audio .suno-copy h3 {
    font-size: clamp(32px, 9vw, 42px);
    line-height: 1.2;
  }

  #life-ai .life-main-title {
    display: block;
    font-size: clamp(34px, 9.6vw, 46px);
    line-height: 1.16;
  }

  #life-ai .life-main-title span {
    display: block;
    white-space: normal;
  }

  #life-ai .life-main-title span + span {
    margin-top: 0.08em;
  }
}

@keyframes elasticSettle {
  0% {
    opacity: 0;
    filter: blur(12px);
    transform: translate3d(0, 34px, 0) scale(0.94);
  }
  62% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, -7px, 0) scale(1.012);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes hiddenResultSweep {
  0%, 32% {
    opacity: 0.42;
    transform: translateX(-120%);
  }
  58%, 100% {
    opacity: 0.18;
    transform: translateX(120%);
  }
}

@keyframes mediaResolve {
  0% {
    filter: blur(12px) saturate(0.82) brightness(0.86);
    transform: scale(1.035);
  }
  72% {
    filter: blur(0) saturate(1.04) brightness(1.02);
    transform: scale(0.996);
  }
  100% {
    filter: none;
    transform: scale(1);
  }
}

@keyframes resultSnap {
  0% {
    filter: blur(16px) saturate(0.82) brightness(0.78);
    transform: scale(1.08);
  }
  58% {
    filter: blur(0) saturate(1.08) brightness(1.04);
    transform: scale(0.99);
  }
  100% {
    filter: none;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal *,
  .section:not(.hero-section) .section-inner,
  .section-heading.reveal .eyebrow,
  .life-title.reveal .eyebrow,
  .section-heading.reveal h2,
  .life-title.reveal h2 {
    filter: none !important;
    clip-path: none !important;
    transform: none !important;
  }
}
