:root {
  --black: #0a0908;
  --charcoal: #151312;
  --ash: #6f6a64;
  --cold-white: #f4f0e8;
  --old-white: #d8d0c4;
  --dark-red: #3a1715;
  --deep-brown: #2b211d;
  --smoke: rgba(244, 240, 232, 0.62);
  --faint: rgba(244, 240, 232, 0.22);
  --veil: rgba(0, 0, 0, 0.58);
  --mono: "SFMono-Regular", "Roboto Mono", "Courier New", monospace;
  --sans: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  min-height: 400vh;
  color: var(--cold-white);
  background: var(--black);
  font-family: var(--sans);
  overflow-x: hidden;
  --video-shift-x: 0px;
  --video-shift-y: 0px;
  --texture-shift-x: 0px;
  --texture-shift-y: 0px;
}

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

.video-fallback,
.scroll-video,
.film-overlay,
.noise-layer,
.scanline-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.video-fallback {
  z-index: 0;
  background:
    radial-gradient(circle at 74% 22%, rgba(112, 39, 32, 0.34), transparent 24rem),
    radial-gradient(circle at 22% 80%, rgba(95, 82, 74, 0.22), transparent 28rem),
    linear-gradient(118deg, #0a0908 0%, #171312 42%, #2b211d 62%, #0c0b0b 100%);
}

.video-fallback::before {
  position: absolute;
  inset: 8vh 10vw;
  content: "";
  opacity: 0.2;
  background:
    linear-gradient(90deg, transparent 0 24%, rgba(244, 240, 232, 0.24) 25% 25.4%, transparent 26%),
    radial-gradient(ellipse at 62% 38%, rgba(244, 240, 232, 0.18), transparent 16rem);
  filter: blur(12px);
}

.scroll-video {
  z-index: 1;
  width: calc(100vw + 16px);
  height: calc(100vh + 16px);
  object-fit: cover;
  background: var(--black);
  opacity: 0;
  filter: brightness(0.56) contrast(1.08) saturate(0.72);
  transform: translate3d(var(--video-shift-x), var(--video-shift-y), 0);
  transition:
    opacity 600ms ease,
    transform 240ms ease-out;
}

.video-loaded .scroll-video {
  opacity: 1;
}

.film-overlay {
  z-index: 2;
  background: rgba(0, 0, 0, 0.44);
  box-shadow:
    inset 0 0 120px rgba(0, 0, 0, 0.84),
    inset 0 -34vh 80px rgba(0, 0, 0, 0.44);
}

.noise-layer {
  z-index: 3;
  opacity: 0.2;
  mix-blend-mode: screen;
  background-image:
    radial-gradient(rgba(244, 240, 232, 0.18) 0.7px, transparent 0.8px),
    radial-gradient(rgba(244, 240, 232, 0.12) 0.5px, transparent 0.7px);
  background-size: 3px 3px, 7px 7px;
  background-position:
    var(--texture-shift-x) var(--texture-shift-y),
    calc(var(--texture-shift-x) * -1) calc(var(--texture-shift-y) * -1);
  transition: background-position 240ms ease-out;
}

.scanline-layer {
  z-index: 4;
  opacity: 0.16;
  background:
    linear-gradient(rgba(244, 240, 232, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 23, 21, 0.18), transparent 28%, rgba(43, 33, 29, 0.18));
  background-size: 100% 7px, 100% 100%;
  background-position: 0 var(--texture-shift-y), 0 0;
  transition: background-position 240ms ease-out;
}

.startup-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 58%, rgba(244, 240, 232, 0.04), transparent 22rem),
    rgba(0, 0, 0, 0.96);
  pointer-events: none;
  transition:
    opacity 560ms ease,
    visibility 560ms ease;
}

.startup-overlay.is-done {
  opacity: 0;
  visibility: hidden;
}

.startup-panel {
  width: min(560px, calc(100vw - 44px));
  border-left: 1px solid rgba(244, 240, 232, 0.28);
  padding-left: 22px;
  color: rgba(244, 240, 232, 0.86);
  font-family: var(--mono);
  font-size: clamp(12px, 1.4vw, 15px);
  line-height: 2;
}

.startup-panel p {
  opacity: 0;
  transform: translateY(8px);
  animation: startupLine 420ms ease forwards;
}

.startup-panel p:nth-child(1) {
  animation-delay: 120ms;
}

.startup-panel p:nth-child(2) {
  animation-delay: 360ms;
}

.startup-panel p:nth-child(3) {
  animation-delay: 600ms;
}

.startup-panel p:nth-child(4) {
  color: var(--cold-white);
  animation-delay: 860ms;
}

@keyframes startupLine {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.topline {
  position: fixed;
  z-index: 10;
  top: 24px;
  left: clamp(20px, 3vw, 42px);
  right: clamp(20px, 3vw, 42px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(244, 240, 232, 0.58);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.topline a {
  position: relative;
  transition:
    color 180ms ease,
    opacity 180ms ease;
}

.topline a:hover,
.topline a.is-active {
  color: var(--cold-white);
}

.topline a::after {
  position: absolute;
  left: 0;
  top: calc(100% + 9px);
  min-width: 220px;
  content: attr(data-preview);
  color: rgba(244, 240, 232, 0.64);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0;
  line-height: 1.6;
  text-transform: none;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  pointer-events: none;
}

.topline a:hover::after,
.topline a:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  z-index: 10;
  right: clamp(18px, 3vw, 42px);
  top: 50%;
  display: grid;
  justify-items: center;
  gap: 12px;
  transform: translateY(-50%);
  color: rgba(244, 240, 232, 0.52);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.progress-track {
  position: relative;
  display: block;
  width: 1px;
  height: 34vh;
  background: rgba(244, 240, 232, 0.2);
}

.progress-fill {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0%;
  background: var(--cold-white);
}

.progress-dot {
  position: absolute;
  left: 50%;
  top: 0%;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--cold-white);
  box-shadow: 0 0 0 4px rgba(244, 240, 232, 0.08);
  transform: translate(-50%, -50%);
  transition: top 160ms ease;
}

.progress-section {
  max-width: 108px;
  color: rgba(244, 240, 232, 0.72);
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
  writing-mode: vertical-rl;
}

.progress-label {
  writing-mode: vertical-rl;
  text-transform: none;
}

.topline,
.hero-files,
.scene-summary,
.page-footer-note {
  transition:
    opacity 260ms ease,
    transform 260ms ease;
}

.file-loader {
  position: fixed;
  z-index: 40;
  left: 50%;
  top: 50%;
  min-width: 260px;
  border: 1px solid rgba(244, 240, 232, 0.2);
  background: rgba(5, 5, 5, 0.78);
  padding: 18px 22px;
  color: rgba(244, 240, 232, 0.82);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  line-height: 1.9;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(12px);
}

.file-loader p {
  margin: 0;
}

.file-modal[hidden],
.file-loader[hidden] {
  display: none;
}

.file-modal {
  position: fixed;
  inset: 0;
  z-index: 38;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
}

.file-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(10px);
}

.file-modal__panel {
  position: relative;
  width: min(980px, 100%);
  height: min(82vh, 760px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border: 1px solid rgba(244, 240, 232, 0.2);
  background:
    linear-gradient(180deg, rgba(244, 240, 232, 0.055), rgba(0, 0, 0, 0.12)),
    rgba(7, 7, 7, 0.88);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
}

.file-modal__close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 1;
  border: 1px solid rgba(244, 240, 232, 0.2);
  background: rgba(0, 0, 0, 0.26);
  color: rgba(244, 240, 232, 0.72);
  cursor: pointer;
  padding: 8px 12px;
}

.file-modal__head {
  padding: 24px 68px 18px 24px;
  border-bottom: 1px solid rgba(244, 240, 232, 0.12);
}

.file-modal__head span {
  display: block;
  margin-bottom: 8px;
  color: rgba(194, 121, 83, 0.9);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
}

.file-modal__head h2 {
  margin: 0;
  color: var(--cold-white);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 330;
  line-height: 1.15;
}

.file-modal__preview {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  background: rgba(244, 240, 232, 0.04);
}

.file-modal__preview iframe {
  display: none;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(244, 240, 232, 0.08);
}

.file-modal.is-previewing .file-modal__preview {
  display: block;
}

.file-modal.is-previewing .file-modal__preview iframe {
  display: block;
}

.file-modal.is-previewing .file-modal__notice {
  display: none;
}

.file-modal__notice {
  max-width: 520px;
  padding: 30px;
  text-align: center;
  color: rgba(244, 240, 232, 0.78);
}

.file-modal__notice span {
  display: block;
  margin-bottom: 12px;
  color: var(--cold-white);
  font-size: 22px;
  font-weight: 360;
}

.file-modal__notice p {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.8;
}

.file-modal__load {
  border: 1px solid rgba(244, 240, 232, 0.22);
  background: rgba(244, 240, 232, 0.04);
  color: var(--cold-white);
  cursor: pointer;
  padding: 10px 18px;
}

.file-modal__load:hover,
.file-modal__load:focus-visible {
  border-color: rgba(244, 240, 232, 0.52);
}

.file-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid rgba(244, 240, 232, 0.12);
}

.file-modal__actions a,
.file-modal__close {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.file-modal__actions a {
  border: 1px solid rgba(244, 240, 232, 0.2);
  padding: 9px 12px;
  color: rgba(244, 240, 232, 0.76);
  background: rgba(0, 0, 0, 0.22);
}

.file-modal__actions a:hover,
.file-modal__actions a:focus-visible,
.file-modal__close:hover,
.file-modal__close:focus-visible {
  color: var(--cold-white);
  border-color: rgba(244, 240, 232, 0.46);
  background: rgba(58, 23, 21, 0.26);
  outline: none;
}

.timeline {
  position: relative;
  z-index: 5;
  min-height: 520vh;
}

.scene {
  position: relative;
  min-height: 100vh;
  padding: clamp(76px, 10vh, 128px) clamp(22px, 5vw, 74px);
}

.scene-stage {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: clamp(42px, 9vh, 96px);
  opacity: 0.2;
  transform: translateY(26px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.scene.is-visible .scene-stage {
  opacity: 1;
  transform: translateY(0);
}

.startup-pending .hero-copy,
.startup-pending .hero-files .folder-window,
.startup-pending .scene-summary,
.startup-pending .page-footer-note {
  opacity: 0;
  transform: translateY(16px);
}

.startup-ready .hero-copy,
.startup-ready .hero-files .folder-window,
.startup-ready .scene-summary,
.startup-ready .page-footer-note {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
}

.startup-ready .hero-files .folder-window:nth-child(1) {
  transition-delay: 120ms;
}

.startup-ready .hero-files .folder-window:nth-child(2) {
  transition-delay: 220ms;
}

.startup-ready .scene-summary {
  transition-delay: 320ms;
}

.startup-ready .page-footer-note {
  transition-delay: 420ms;
}

.hero-stage {
  align-content: stretch;
  grid-template-rows: auto minmax(160px, 1fr) auto auto;
  padding-top: clamp(82px, 10vh, 130px);
  padding-bottom: clamp(46px, 8vh, 82px);
}

.scene-copy {
  max-width: min(78vw, 1120px);
}

.hero-copy {
  align-self: start;
  max-width: min(86vw, 1240px);
}

.scene-index,
.field-note,
.scene-summary span,
.case-list span,
.contact-strip,
.research-frame figcaption {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  line-height: 1.8;
  text-transform: uppercase;
}

.scene-index {
  margin: 0 0 18px;
  color: rgba(244, 240, 232, 0.6);
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: 86vw;
  color: var(--cold-white);
  font-size: clamp(48px, 8.8vw, 142px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  max-width: min(74vw, 980px);
  color: var(--cold-white);
  font-size: clamp(38px, 6vw, 96px);
  font-weight: 380;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.single-line-title {
  max-width: none;
  white-space: nowrap;
  text-wrap: nowrap;
}

.scene-copy > p {
  max-width: 620px;
  margin-top: 22px;
  color: var(--old-white);
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.8;
}

.scene-copy > .single-line-copy {
  max-width: none;
  white-space: nowrap;
}

.hero-subtitle {
  margin-top: clamp(22px, 4vh, 42px);
  color: rgba(244, 240, 232, 0.72);
  font-size: clamp(13px, 1.18vw, 17px);
  line-height: 1.7;
  letter-spacing: 0.03em;
}

.page-footer-note {
  align-self: end;
  justify-self: start;
  max-width: 360px;
  color: rgba(244, 240, 232, 0.7);
}

.page-footer-note span {
  display: block;
}

.scene-platform {
  min-height: 170vh;
  background: rgba(5, 5, 5, 0.58);
}

.scene-platform .scene-stage {
  position: relative;
  top: auto;
  min-height: auto;
  align-content: start;
  opacity: 1;
  transform: none;
}

.scene-platform__inner {
  width: min(1320px, calc(100vw - 120px));
  margin: 0 auto;
  padding: clamp(48px, 7vh, 86px) 0 clamp(80px, 11vh, 132px);
  display: block;
}

.scene-platform__eyebrow {
  margin-bottom: 28px;
  color: rgba(244, 240, 232, 0.5);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  line-height: 1.8;
  text-transform: uppercase;
}

.scene-platform__hero {
  max-width: 1080px;
  margin-bottom: 48px;
}

.scene-platform__title {
  margin: 0;
  color: var(--cold-white);
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.08;
  font-weight: 340;
  letter-spacing: 0;
  white-space: nowrap;
  text-wrap: nowrap;
}

.scene-platform__subtitle {
  max-width: 920px;
  margin: 22px 0 0;
  color: rgba(244, 240, 232, 0.72);
  font-size: 18px;
  line-height: 1.8;
}

.scene-platform__intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 56px;
}

.info-block {
  border: 1px solid rgba(244, 240, 232, 0.12);
  padding: 24px 22px;
  background: rgba(244, 240, 232, 0.02);
}

.info-block__label,
.platform-research__label,
.platform-panel__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  line-height: 1.7;
  text-transform: uppercase;
}

.info-block__label {
  margin-bottom: 16px;
  color: rgba(244, 240, 232, 0.46);
}

.info-block p {
  margin: 0 0 14px;
  color: rgba(244, 240, 232, 0.76);
  font-size: 14px;
  line-height: 1.9;
}

.info-block p:last-child {
  margin-bottom: 0;
}

.info-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  margin-bottom: 16px;
  color: rgba(244, 240, 232, 0.76);
  font-size: 14px;
  line-height: 1.9;
}

.info-list li:last-child {
  margin-bottom: 0;
}

.info-list span {
  color: rgba(244, 240, 232, 0.42);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.platform-research {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.platform-research__left,
.platform-research__right {
  min-width: 0;
}

.platform-research__label {
  margin-bottom: 16px;
  color: rgba(244, 240, 232, 0.46);
}

.platform-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.platform-tab {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  color: rgba(244, 240, 232, 0.88);
  text-align: left;
  background: rgba(244, 240, 232, 0.02);
  border: 1px solid rgba(244, 240, 232, 0.12);
  border-radius: 0;
  cursor: pointer;
  transition:
    border-color 220ms ease,
    background 220ms ease,
    transform 220ms ease;
}

.platform-tab:hover,
.platform-tab:focus-visible,
.platform-tab.is-active {
  border-color: rgba(194, 121, 83, 0.7);
  background: rgba(194, 121, 83, 0.08);
  transform: translateX(4px);
  outline: none;
}

.platform-tab__logo-wrap {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244, 240, 232, 0.12);
  background: rgba(244, 240, 232, 0.04);
}

.platform-tab__logo {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.platform-tab__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.platform-tab__name {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}

.platform-tab__desc {
  color: rgba(244, 240, 232, 0.56);
  font-size: 13px;
  line-height: 1.6;
}

.platform-panel {
  min-height: 560px;
  padding: 28px 28px 30px;
  border: 1px solid rgba(244, 240, 232, 0.12);
  background: rgba(244, 240, 232, 0.02);
}

.platform-panel__title {
  margin: 0 0 18px;
  color: var(--cold-white);
  font-size: clamp(26px, 2.2vw, 42px);
  line-height: 1.2;
  font-weight: 340;
  letter-spacing: 0;
}

.platform-panel__summary {
  max-width: 960px;
  margin: 0 0 26px;
  color: rgba(244, 240, 232, 0.8);
  font-size: 15px;
  line-height: 1.95;
}

.platform-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.platform-panel__block {
  border-top: 1px solid rgba(244, 240, 232, 0.08);
  padding-top: 18px;
}

.platform-panel__label {
  display: inline-block;
  margin-bottom: 12px;
  color: rgba(244, 240, 232, 0.42);
}

.platform-panel__list {
  margin: 0;
  padding-left: 18px;
}

.platform-panel__list li {
  margin-bottom: 12px;
  color: rgba(244, 240, 232, 0.78);
  font-size: 14px;
  line-height: 1.9;
}

.platform-panel__list li:last-child {
  margin-bottom: 0;
}

.platform-panel__conclusion {
  border-top: 1px solid rgba(244, 240, 232, 0.08);
  padding-top: 20px;
}

.platform-panel__conclusion p {
  margin: 0;
  color: rgba(244, 240, 232, 0.82);
  font-size: 15px;
  line-height: 1.95;
}

.script-agent-scene {
  min-height: 180vh;
  background: rgba(5, 5, 5, 0.58);
}

.script-agent-scene .scene-stage {
  position: relative;
  top: auto;
  min-height: auto;
  align-content: start;
  opacity: 1;
  transform: none;
}

.script-agent__inner {
  width: min(1320px, calc(100vw - 120px));
  margin: 0 auto;
  padding: clamp(48px, 7vh, 86px) 0 clamp(80px, 11vh, 132px);
  display: block;
}

.script-agent__eyebrow,
.script-panel__topline,
.script-panel__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  line-height: 1.7;
  text-transform: uppercase;
}

.script-agent__eyebrow {
  margin-bottom: 28px;
  color: rgba(244, 240, 232, 0.46);
}

.script-agent__hero {
  max-width: 1100px;
  margin-bottom: 46px;
}

.script-agent__title {
  margin: 0;
  color: var(--cold-white);
  font-size: clamp(34px, 5vw, 76px);
  line-height: 1.06;
  font-weight: 340;
  letter-spacing: 0;
  white-space: nowrap;
  text-wrap: nowrap;
}

.script-agent__subtitle {
  max-width: 980px;
  margin: 22px 0 0;
  color: rgba(244, 240, 232, 0.74);
  font-size: 18px;
  line-height: 1.85;
}

.script-agent__thesis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 42px;
}

.thesis-card {
  border: 1px solid rgba(244, 240, 232, 0.12);
  background: rgba(244, 240, 232, 0.025);
  padding: 22px 22px 24px;
}

.thesis-card--quiet {
  border-color: rgba(194, 121, 83, 0.28);
  background: rgba(194, 121, 83, 0.06);
}

.thesis-card__num {
  display: inline-block;
  margin-bottom: 28px;
  color: rgba(244, 240, 232, 0.42);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.thesis-card h3 {
  margin: 0 0 12px;
  color: var(--cold-white);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.35;
}

.thesis-card p {
  margin: 0;
  color: rgba(244, 240, 232, 0.72);
  font-size: 14px;
  line-height: 1.9;
}

.script-agent-console {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.script-agent-tabs {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.script-agent-tab {
  width: 100%;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 17px 16px;
  color: rgba(244, 240, 232, 0.88);
  text-align: left;
  background: rgba(244, 240, 232, 0.02);
  border: 1px solid rgba(244, 240, 232, 0.12);
  border-radius: 0;
  cursor: pointer;
  transition:
    border-color 220ms ease,
    background 220ms ease,
    transform 220ms ease;
}

.script-agent-tab:hover,
.script-agent-tab:focus-visible,
.script-agent-tab.is-active {
  border-color: rgba(194, 121, 83, 0.72);
  background: rgba(194, 121, 83, 0.08);
  transform: translateX(4px);
  outline: none;
}

.script-agent-tab span {
  grid-row: 1 / span 2;
  padding-top: 2px;
  color: rgba(244, 240, 232, 0.42);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.script-agent-tab strong {
  color: var(--cold-white);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

.script-agent-tab em {
  color: rgba(244, 240, 232, 0.48);
  font-size: 12px;
  font-style: normal;
  line-height: 1.5;
}

.script-agent-panel {
  min-height: 650px;
  padding: 30px 30px 34px;
  border: 1px solid rgba(244, 240, 232, 0.12);
  background:
    linear-gradient(180deg, rgba(244, 240, 232, 0.035), rgba(244, 240, 232, 0.015));
}

.script-panel__topline {
  margin-bottom: 18px;
  color: rgba(244, 240, 232, 0.42);
}

.script-panel__title {
  margin: 0 0 16px;
  color: var(--cold-white);
  font-size: clamp(28px, 2.7vw, 46px);
  line-height: 1.18;
  font-weight: 340;
  letter-spacing: 0;
}

.script-panel__desc {
  max-width: 980px;
  margin: 0 0 28px;
  color: rgba(244, 240, 232, 0.78);
  font-size: 15px;
  line-height: 1.95;
}

.script-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.script-panel__block {
  border-top: 1px solid rgba(244, 240, 232, 0.09);
  padding-top: 18px;
}

.script-panel__label {
  display: inline-block;
  margin-bottom: 13px;
  color: rgba(244, 240, 232, 0.42);
}

.script-panel__list {
  margin: 0;
  padding-left: 18px;
}

.script-panel__list li {
  margin-bottom: 12px;
  color: rgba(244, 240, 232, 0.76);
  font-size: 14px;
  line-height: 1.9;
}

.script-panel__list li:last-child {
  margin-bottom: 0;
}

.script-panel__table {
  width: 100%;
  margin-top: 6px;
  color: rgba(244, 240, 232, 0.76);
  border-collapse: collapse;
  font-size: 14px;
}

.script-panel__table tr {
  border-top: 1px solid rgba(244, 240, 232, 0.08);
}

.script-panel__table tr:last-child {
  border-bottom: 1px solid rgba(244, 240, 232, 0.08);
}

.script-panel__table td {
  padding: 14px 12px;
  vertical-align: top;
  line-height: 1.75;
}

.script-panel__table td:first-child {
  width: 190px;
  color: var(--cold-white);
}

.script-panel__quote {
  margin-top: 26px;
  border-top: 1px solid rgba(194, 121, 83, 0.35);
  padding-top: 20px;
}

.script-panel__quote span {
  display: inline-block;
  margin-bottom: 10px;
  color: rgba(194, 121, 83, 0.82);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  line-height: 1.7;
  text-transform: uppercase;
}

.script-panel__quote p {
  margin: 0;
  color: rgba(244, 240, 232, 0.84);
  font-size: 16px;
  line-height: 1.9;
}

.ai-production-scene {
  position: relative;
  min-height: 190vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(194, 121, 83, 0.12), transparent 28%),
    radial-gradient(circle at 12% 72%, rgba(244, 240, 232, 0.055), transparent 30%),
    rgba(5, 5, 5, 0.58);
}

.ai-production-scene::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(244, 240, 232, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 240, 232, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 78%);
}

.ai-production-scene .scene-stage {
  position: relative;
  top: auto;
  min-height: auto;
  align-content: start;
  opacity: 1;
  transform: none;
}

.ai-production__inner {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100vw - 120px));
  margin: 0 auto;
  padding: clamp(48px, 7vh, 86px) 0 clamp(80px, 11vh, 132px);
  display: block;
}

.ai-production__eyebrow {
  margin-bottom: 34px;
  color: rgba(244, 240, 232, 0.44);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  line-height: 1.7;
  text-transform: uppercase;
}

.ai-production__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.ai-production__title {
  max-width: none;
  margin: 0;
  color: var(--cold-white);
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.08;
  font-weight: 340;
  letter-spacing: 0;
  white-space: nowrap;
  text-wrap: nowrap;
}

.ai-production__subtitle {
  max-width: 900px;
  margin: 22px 0 0;
  color: rgba(244, 240, 232, 0.72);
  font-size: 17px;
  line-height: 1.9;
}

.ai-production__position-card {
  border: 1px solid rgba(244, 240, 232, 0.14);
  background: rgba(244, 240, 232, 0.035);
  padding: 22px 22px 24px;
  transform: translateY(-8px);
}

.ai-production__position-card span {
  display: block;
  margin-bottom: 28px;
  color: rgba(194, 121, 83, 0.9);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  line-height: 1.7;
  text-transform: uppercase;
}

.ai-production__position-card p {
  margin: 0;
  color: rgba(244, 240, 232, 0.72);
  font-size: 14px;
  line-height: 1.9;
}

.ai-production__input-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 42px;
  border-top: 1px solid rgba(244, 240, 232, 0.1);
  border-bottom: 1px solid rgba(244, 240, 232, 0.1);
  padding: 16px 0;
}

.ai-production__input-strip span {
  border: 1px solid rgba(244, 240, 232, 0.12);
  background: rgba(244, 240, 232, 0.025);
  padding: 8px 12px;
  color: rgba(244, 240, 232, 0.68);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.ai-production__input-strip .input-strip__label {
  border-color: rgba(194, 121, 83, 0.36);
  color: rgba(194, 121, 83, 0.92);
  font-family: var(--mono);
}

.production-board {
  display: grid;
  grid-template-columns: 410px minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.production-board__flow {
  position: relative;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(244, 240, 232, 0.12);
  background:
    linear-gradient(180deg, rgba(244, 240, 232, 0.035), rgba(244, 240, 232, 0.012));
  padding: 34px 24px;
}

.flow-line {
  position: absolute;
  top: 56px;
  bottom: 56px;
  left: 47px;
  width: 1px;
  overflow: hidden;
  background: rgba(244, 240, 232, 0.14);
}

.flow-line__pulse {
  position: absolute;
  left: -1px;
  top: -30%;
  width: 3px;
  height: 140px;
  background: linear-gradient(180deg, transparent, rgba(194, 121, 83, 0.85), transparent);
  animation: productionFlowPulse 3.6s linear infinite;
}

@keyframes productionFlowPulse {
  from {
    transform: translateY(-120px);
  }

  to {
    transform: translateY(760px);
  }
}

.flow-node {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  color: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.flow-node__index {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: rgba(244, 240, 232, 0.48);
  background: #050505;
  border: 1px solid rgba(244, 240, 232, 0.14);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  transition:
    border-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

.flow-node__content {
  display: block;
  border-top: 1px solid rgba(244, 240, 232, 0.1);
  padding-top: 16px;
  transition: transform 220ms ease;
}

.flow-node strong {
  display: block;
  margin-bottom: 10px;
  color: var(--cold-white);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.35;
}

.flow-node em {
  display: block;
  color: rgba(244, 240, 232, 0.48);
  font-size: 13px;
  font-style: normal;
  line-height: 1.7;
}

.flow-node:hover .flow-node__content,
.flow-node:focus-visible .flow-node__content,
.flow-node.is-active .flow-node__content {
  transform: translateX(8px);
}

.flow-node:hover .flow-node__index,
.flow-node:focus-visible .flow-node__index,
.flow-node.is-active .flow-node__index {
  color: rgba(194, 121, 83, 0.96);
  border-color: rgba(194, 121, 83, 0.9);
  box-shadow: 0 0 28px rgba(194, 121, 83, 0.22);
}

.flow-node:focus-visible {
  outline: none;
}

.production-board__panel {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(244, 240, 232, 0.12);
  background:
    linear-gradient(135deg, rgba(244, 240, 232, 0.045), rgba(244, 240, 232, 0.012)),
    rgba(5, 5, 5, 0.92);
  padding: 34px 34px 36px;
}

.production-board__panel::after {
  position: absolute;
  inset: auto -20% -30% 30%;
  height: 220px;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle, rgba(194, 121, 83, 0.12), transparent 65%);
}

.production-panel {
  position: relative;
  z-index: 1;
  animation: panelReveal 340ms ease both;
}

@keyframes panelReveal {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.992);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.production-panel__topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  color: rgba(244, 240, 232, 0.42);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  line-height: 1.7;
  text-transform: uppercase;
}

.production-panel__topline b {
  color: rgba(194, 121, 83, 0.92);
  font-weight: 400;
}

.production-panel__title {
  margin: 0 0 16px;
  color: var(--cold-white);
  font-size: clamp(28px, 2.8vw, 46px);
  line-height: 1.18;
  font-weight: 340;
  letter-spacing: 0;
}

.production-panel__desc {
  max-width: 980px;
  margin: 0 0 28px;
  color: rgba(244, 240, 232, 0.76);
  font-size: 15px;
  line-height: 1.95;
}

.production-panel__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.production-mini-card {
  border: 1px solid rgba(244, 240, 232, 0.11);
  background: rgba(244, 240, 232, 0.026);
  padding: 16px 16px 18px;
}

.production-mini-card span {
  display: block;
  margin-bottom: 16px;
  color: rgba(194, 121, 83, 0.86);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.7;
  text-transform: uppercase;
}

.production-mini-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--cold-white);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
}

.production-mini-card p {
  margin: 0;
  color: rgba(244, 240, 232, 0.64);
  font-size: 13px;
  line-height: 1.75;
}

.production-panel__table {
  width: 100%;
  margin-top: 8px;
  border-collapse: collapse;
}

.production-panel__table tr {
  border-top: 1px solid rgba(244, 240, 232, 0.08);
}

.production-panel__table tr:last-child {
  border-bottom: 1px solid rgba(244, 240, 232, 0.08);
}

.production-panel__table td {
  padding: 14px 10px;
  color: rgba(244, 240, 232, 0.72);
  vertical-align: top;
  font-size: 14px;
  line-height: 1.8;
}

.production-panel__table td:first-child {
  width: 180px;
  color: var(--cold-white);
}

.production-panel__quote {
  margin-top: 26px;
  border-top: 1px solid rgba(194, 121, 83, 0.34);
  padding-top: 20px;
}

.production-panel__quote span {
  display: block;
  margin-bottom: 10px;
  color: rgba(194, 121, 83, 0.9);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  line-height: 1.7;
}

.production-panel__quote p {
  margin: 0;
  color: rgba(244, 240, 232, 0.84);
  font-size: 16px;
  line-height: 1.9;
}

.ai-production__review {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 30px;
  border: 1px solid rgba(244, 240, 232, 0.12);
  background: rgba(244, 240, 232, 0.02);
  padding: 26px;
}

.review-title span {
  display: block;
  margin-bottom: 18px;
  color: rgba(194, 121, 83, 0.9);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  line-height: 1.7;
}

.review-title h3 {
  margin: 0;
  color: var(--cold-white);
  font-size: 24px;
  font-weight: 340;
  line-height: 1.4;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(244, 240, 232, 0.1);
}

.review-grid div {
  background: #080808;
  padding: 18px;
  color: rgba(244, 240, 232, 0.66);
  font-size: 13px;
  line-height: 1.7;
}

.review-grid span {
  display: block;
  margin-bottom: 12px;
  color: rgba(244, 240, 232, 0.42);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.7;
  text-transform: uppercase;
}

.ai-production__footer-quote {
  max-width: 1050px;
  margin-top: 30px;
  border-left: 1px solid rgba(194, 121, 83, 0.5);
  padding-left: 22px;
}

.ai-production__footer-quote span {
  display: block;
  margin-bottom: 14px;
  color: rgba(194, 121, 83, 0.9);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  line-height: 1.7;
}

.ai-production__footer-quote p {
  margin: 0;
  color: rgba(244, 240, 232, 0.82);
  font-size: 18px;
  line-height: 1.85;
}

.hero-files {
  align-self: end;
  justify-self: center;
  width: min(72vw, 860px);
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: clamp(20px, 4vw, 54px);
}

.folder-window {
  position: relative;
  min-height: 148px;
  padding: 42px 24px 22px;
  color: rgba(244, 240, 232, 0.78);
  border: 1px solid rgba(244, 240, 232, 0.18);
  background:
    linear-gradient(180deg, rgba(244, 240, 232, 0.055), rgba(0, 0, 0, 0.16)),
    rgba(10, 9, 8, 0.38);
  overflow: hidden;
  transition:
    border-color 220ms ease,
    background 220ms ease,
    transform 220ms ease;
}

.folder-window::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 25px;
  content: "";
  border-right: 1px solid rgba(244, 240, 232, 0.18);
  border-bottom: 1px solid rgba(244, 240, 232, 0.18);
  background: rgba(43, 33, 29, 0.58);
}

.folder-window::after {
  position: absolute;
  left: 0;
  right: 0;
  top: -22%;
  height: 1px;
  content: "";
  opacity: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(244, 240, 232, 0.18),
    rgba(244, 240, 232, 0.42),
    rgba(244, 240, 232, 0.18),
    transparent
  );
  transform: translateY(0);
  pointer-events: none;
}

.folder-tab {
  position: absolute;
  top: 7px;
  left: 14px;
  z-index: 1;
  color: rgba(244, 240, 232, 0.52);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: none;
}

.folder-tab span {
  display: block;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.folder-tab-ready {
  position: absolute;
  inset: 0 auto auto 0;
  min-width: 130px;
  opacity: 0;
  transform: translateY(5px);
}

.folder-action {
  position: absolute;
  right: 16px;
  bottom: 13px;
  color: rgba(244, 240, 232, 0.56);
  font-size: 11px;
  opacity: 0;
  transform: translateY(5px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.folder-window strong {
  display: block;
  color: var(--cold-white);
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 360;
  line-height: 1.08;
}

.folder-window p {
  max-width: 360px;
  margin-top: 16px;
  color: rgba(244, 240, 232, 0.58);
  font-size: 13px;
  line-height: 1.7;
}

.folder-window:hover {
  border-color: rgba(244, 240, 232, 0.42);
  background:
    linear-gradient(180deg, rgba(244, 240, 232, 0.08), rgba(58, 23, 21, 0.16)),
    rgba(10, 9, 8, 0.44);
  transform: translateY(-4px);
}

.folder-window:hover::after,
.folder-window:focus-visible::after {
  opacity: 1;
  animation: folderScan 900ms ease;
}

.folder-window:hover .folder-tab-default,
.folder-window:focus-visible .folder-tab-default {
  opacity: 0;
  transform: translateY(-5px);
}

.folder-window:hover .folder-tab-ready,
.folder-window:focus-visible .folder-tab-ready,
.folder-window:hover .folder-action,
.folder-window:focus-visible .folder-action {
  opacity: 1;
  transform: translateY(0);
}

.folder-window:focus-visible {
  border-color: rgba(244, 240, 232, 0.56);
  outline: none;
}

@keyframes folderScan {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(220px);
  }
}

.scene-summary {
  align-self: end;
  justify-self: end;
  width: min(52vw, 720px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 76px);
}

.scene-summary article {
  border-top: 1px solid rgba(244, 240, 232, 0.22);
  padding-top: 14px;
}

.scene-summary span,
.case-list span {
  color: rgba(244, 240, 232, 0.48);
}

.scene-summary p {
  margin-top: 10px;
  color: var(--old-white);
  font-size: 13px;
  line-height: 1.65;
}

.chapter-stage {
  align-content: center;
  padding-left: clamp(4px, 8vw, 128px);
}

.left-aligned-stage {
  justify-items: start;
  padding-left: 0;
}

.chapter-line {
  width: min(72vw, 1060px);
  display: grid;
  gap: 18px;
  margin-left: auto;
  color: rgba(244, 240, 232, 0.76);
  font-family: var(--mono);
  font-size: clamp(12px, 1.25vw, 16px);
  letter-spacing: 0.08em;
}

.left-aligned-stage .chapter-line {
  margin-left: 0;
}

.chapter-line.split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 64px);
}

.content-drawer {
  border-top: 1px solid rgba(244, 240, 232, 0.18);
}

.content-drawer summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
}

.content-drawer summary::-webkit-details-marker {
  display: none;
}

.content-drawer summary span {
  display: block;
}

.content-drawer summary b {
  justify-self: end;
  color: rgba(244, 240, 232, 0.52);
  border: 1px solid rgba(244, 240, 232, 0.24);
  padding: 8px 11px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1;
}

.content-drawer[open] summary b,
.content-drawer summary:hover b {
  color: var(--cold-white);
  border-color: rgba(244, 240, 232, 0.62);
  background: rgba(58, 23, 21, 0.36);
}

.content-drawer p {
  margin: 0 0 22px;
  color: rgba(244, 240, 232, 0.68);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: 0;
}

.production-stage {
  grid-template-columns: minmax(420px, 0.82fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: clamp(36px, 6vw, 92px);
}

.production-stage .scene-index {
  grid-column: 1 / -1;
}

.narrow-copy {
  max-width: 820px;
}

.production-title {
  max-width: none;
  font-size: clamp(30px, 3.2vw, 54px);
}

.production-copy {
  max-width: none;
  font-size: clamp(13px, 1vw, 16px);
}

.case-list {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-list li {
  padding: 22px 0 0;
  border-top: 1px solid rgba(244, 240, 232, 0.2);
}

.case-list strong {
  display: block;
  margin-top: 8px;
  color: var(--cold-white);
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 420;
}

.case-list p {
  margin-top: 12px;
  color: rgba(244, 240, 232, 0.68);
  font-size: 14px;
  line-height: 1.75;
}

.research-stage {
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(34px, 5vw, 74px);
  opacity: 1;
  transform: none;
}

.research-stage .scene-index {
  grid-column: 1 / -1;
}

.research-title {
  max-width: none;
  font-size: clamp(32px, 4.7vw, 72px);
  white-space: nowrap;
  text-wrap: nowrap;
}

.director-samples {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: clamp(24px, 4vw, 58px);
  width: min(82vw, 1120px);
}

.director-sample {
  display: grid;
  gap: 18px;
  border-top: 1px solid rgba(244, 240, 232, 0.2);
  padding-top: 18px;
}

.director-sample img {
  display: block;
  width: 100%;
  aspect-ratio: 1.22;
  object-fit: cover;
  border: 1px solid rgba(244, 240, 232, 0.16);
  filter: brightness(0.76) contrast(1.04) saturate(0.72);
}

.director-sample span {
  color: rgba(244, 240, 232, 0.52);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.director-sample h3 {
  margin: 10px 0 0;
  color: var(--cold-white);
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 380;
  line-height: 1.15;
}

.director-sample p {
  max-width: 480px;
  margin-top: 12px;
  color: rgba(244, 240, 232, 0.66);
  font-size: 14px;
  line-height: 1.8;
}

.report-link {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 13px;
  color: rgba(244, 240, 232, 0.78);
  border: 1px solid rgba(244, 240, 232, 0.24);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.report-link:hover,
.report-link:focus-visible {
  color: var(--cold-white);
  border-color: rgba(244, 240, 232, 0.62);
  background: rgba(58, 23, 21, 0.34);
  outline: none;
}

.contact-stage {
  align-content: center;
  max-width: min(86vw, 1120px);
}

.contact-list {
  width: min(760px, 100%);
  display: grid;
  gap: 0;
  color: rgba(244, 240, 232, 0.78);
}

.contact-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  min-height: 68px;
  border-top: 1px solid rgba(244, 240, 232, 0.2);
}

.contact-item:last-child {
  border-bottom: 1px solid rgba(244, 240, 232, 0.2);
}

.contact-label,
.copy-control {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.contact-label {
  color: rgba(244, 240, 232, 0.48);
}

.contact-value {
  color: var(--cold-white);
  font-family: var(--mono);
  font-size: clamp(14px, 1.3vw, 18px);
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.copy-control {
  min-width: 72px;
  padding: 10px 14px;
  color: rgba(244, 240, 232, 0.72);
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(244, 240, 232, 0.24);
  border-radius: 0;
  cursor: pointer;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.copy-control:hover,
.copy-control:focus-visible,
.copy-control.is-copied {
  color: var(--cold-white);
  border-color: rgba(244, 240, 232, 0.64);
  background: rgba(58, 23, 21, 0.34);
  outline: none;
}

@media (max-width: 880px) {
  .topline {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .scroll-progress {
    display: none;
  }


  .file-modal {
    padding: 14px;
  }

  .file-modal__panel {
    height: min(82vh, 680px);
  }

  .file-modal__actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .scene {
    padding-inline: 22px;
  }

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

  h2 {
    max-width: 100%;
    font-size: clamp(34px, 12vw, 64px);
  }

  .single-line-title,
  .scene-copy > .single-line-copy {
    white-space: normal;
    text-wrap: balance;
  }

  .production-title,
  .production-copy {
    white-space: normal;
  }

  .scene-summary,
  .hero-files,
  .scene-platform__intro-grid,
  .platform-research,
  .platform-panel__grid,
  .script-agent__thesis,
  .script-agent-console,
  .script-panel__grid,
  .ai-production__hero,
  .production-board,
  .production-panel__cards,
  .ai-production__review,
  .review-grid,
  .director-samples,
  .research-stage,
  .chapter-line.split {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .chapter-line {
    width: 100%;
    margin-left: 0;
  }

  .scene-platform__inner {
    width: 100%;
    padding-top: 36px;
  }

  .scene-platform__title {
    font-size: clamp(24px, 5.6vw, 40px);
    white-space: nowrap;
    text-wrap: nowrap;
  }

  .scene-platform__subtitle {
    font-size: 15px;
  }

  .platform-panel {
    min-height: auto;
    padding: 22px 18px 24px;
  }

  .script-agent__inner {
    width: 100%;
    padding-top: 36px;
  }

  .script-agent__title {
    font-size: clamp(36px, 10vw, 64px);
  }

  .script-agent__subtitle {
    font-size: 15px;
  }

  .script-agent-tabs {
    position: static;
  }

  .script-agent-panel {
    min-height: auto;
    padding: 22px 18px 26px;
  }

  .script-agent-tab {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .script-panel__table td {
    display: block;
    width: 100%;
    padding: 10px 0;
  }

  .script-panel__table td:first-child {
    width: 100%;
    padding-bottom: 2px;
  }

  .ai-production__inner {
    width: 100%;
    padding-top: 36px;
  }

  .ai-production__title {
    font-size: clamp(22px, 5vw, 36px);
    white-space: nowrap;
    text-wrap: nowrap;
  }

  .ai-production__subtitle {
    font-size: 15px;
  }

  .ai-production__position-card {
    transform: none;
  }

  .production-board__flow {
    min-height: auto;
    gap: 18px;
  }

  .flow-line {
    display: none;
  }

  .production-board__panel {
    min-height: auto;
    padding: 24px 18px 28px;
  }

  .production-panel__table td {
    display: block;
    width: 100%;
    padding: 9px 0;
  }

  .production-panel__table td:first-child {
    width: 100%;
    padding-bottom: 0;
  }

  .hero-stage {
    padding-top: 96px;
  }

  .contact-item {
    grid-template-columns: 1fr auto;
    gap: 8px 14px;
    padding: 16px 0;
  }

  .contact-label {
    grid-column: 1 / -1;
  }
}

@media (hover: none) {
  .topline a::after {
    display: none;
  }

  .folder-action {
    opacity: 1;
    transform: none;
  }

  .folder-window::after {
    display: none;
  }
}

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

  .startup-overlay {
    display: none;
  }

  .startup-pending .hero-copy,
  .startup-pending .hero-files .folder-window,
  .startup-pending .scene-summary,
  .startup-pending .page-footer-note {
    opacity: 1;
    transform: none;
  }
}
