/* Radiate Studio — Storybox product showcase
   A focused product narrative layered on top of the existing cinematic system. */

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 10px 14px;
  border-radius: 8px;
  background: #ffffff;
  color: #071019;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid #58e7ff;
  outline-offset: 2px;
}

.hero-title-line {
  display: block;
}

.hero--video-bg .hero-content h1 {
  max-width: 17ch;
  font-size: clamp(44px, 6.2vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.055em !important;
  text-wrap: balance;
}

.hero-title-line--accent {
  width: max-content;
  max-width: 100%;
  padding-right: 0.08em;
  background: linear-gradient(100deg, #ffffff 0%, #75ecff 34%, #a998ff 68%, #ff8bad 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.hero--video-bg .hero-subhead {
  max-width: 650px;
  font-size: clamp(17px, 1.75vw, 21px);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-video-bg__overlay {
  background:
    radial-gradient(70% 85% at 82% 12%, rgba(125, 98, 255, 0.18), transparent 58%),
    radial-gradient(60% 70% at 95% 82%, rgba(255, 72, 139, 0.12), transparent 62%),
    linear-gradient(105deg, rgba(7, 10, 16, 0.94) 0%, rgba(7, 10, 16, 0.72) 40%, rgba(7, 10, 16, 0.3) 72%, rgba(7, 10, 16, 0.56) 100%);
}

.modelbox-proof {
  width: min(980px, 100%);
  margin: 28px auto 38px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(9, 14, 22, 0.66);
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.modelbox-proof__item {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 22px 28px;
}

.modelbox-proof__item + .modelbox-proof__item {
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.modelbox-proof__item strong {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.modelbox-proof__item span {
  color: rgba(192, 205, 221, 0.72);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.storybox-showcase {
  --sb-accent: #58e7ff;
  --sb-ink: #0c1016;
  --sb-panel: #10151e;
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(88px, 10vw, 152px) 0 clamp(76px, 9vw, 136px);
  background: #f3f4ef;
  color: #0c1016;
}

.storybox-showcase__grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: 0.42;
  background-image: radial-gradient(circle, rgba(16, 22, 31, 0.18) 1px, transparent 1.35px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.72) 58%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.72) 58%, transparent 100%);
}

.storybox-showcase__orb {
  position: absolute;
  z-index: -2;
  width: 520px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.22;
  pointer-events: none;
  transition: background 600ms ease, transform 900ms ease;
}

.storybox-showcase__orb--one {
  top: 15%;
  left: -260px;
  background: var(--sb-accent);
}

.storybox-showcase__orb--two {
  top: 4%;
  right: -260px;
  background: #ff6d9b;
}

.storybox-showcase__container {
  position: relative;
  z-index: 1;
}

.storybox-showcase__header {
  width: min(1080px, 100%);
  margin: 0 auto;
  text-align: center;
}

.storybox-showcase__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: rgba(12, 16, 22, 0.7);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

.storybox-showcase__eyebrow i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0c1016;
  box-shadow: 0 0 0 5px rgba(12, 16, 22, 0.08);
}

.storybox-showcase__header h2 {
  max-width: 980px;
  margin: 0 auto;
  color: #0c1016 !important;
  font-size: clamp(48px, 7.5vw, 104px);
  font-weight: 550;
  line-height: 0.92;
  letter-spacing: -0.065em !important;
  text-wrap: balance;
}

.storybox-showcase__header h2 em {
  display: block;
  padding-bottom: 0.08em;
  background: linear-gradient(100deg, #0c1016 0%, #14738a 34%, #654bd3 68%, #be3f6b 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-style: normal;
}

.storybox-showcase__header > p {
  max-width: 790px;
  margin: 30px auto 0;
  color: rgba(12, 16, 22, 0.72) !important;
  font-size: clamp(17px, 1.75vw, 21px);
  line-height: 1.65;
  text-wrap: pretty;
}

.storybox-scroll-track {
  position: relative;
  margin-top: clamp(52px, 6vw, 88px);
}

.storybox-scroll-word {
  display: none;
}

.storybox-window {
  position: relative;
  width: min(1420px, calc(100vw - 48px));
  margin: 0 50%;
  transform: translateX(-50%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px;
  background: #090d13;
  color: #f7f9fc;
  box-shadow:
    0 70px 140px rgba(20, 24, 32, 0.28),
    0 20px 50px rgba(20, 24, 32, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.09);
}

.storybox-window::after {
  content: '';
  position: absolute;
  z-index: 20;
  inset: -30%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(104deg, transparent 25%, color-mix(in srgb, var(--sb-accent) 34%, white) 48%, transparent 70%);
  transform: translateX(-72%) skewX(-12deg);
}

.storybox-window.is-stage-changing::after {
  animation: storybox-stage-flare 720ms cubic-bezier(0.2, 0.8, 0.24, 1) both;
}

@keyframes storybox-stage-flare {
  0% { opacity: 0; transform: translateX(-72%) skewX(-12deg); }
  28% { opacity: 0.2; }
  100% { opacity: 0; transform: translateX(72%) skewX(-12deg); }
}

.storybox-window::before {
  content: '';
  position: absolute;
  top: -240px;
  left: 28%;
  width: 720px;
  height: 420px;
  border-radius: 50%;
  background: var(--sb-accent);
  filter: blur(140px);
  opacity: 0.13;
  pointer-events: none;
  transition: background 500ms ease;
}

.storybox-window__chrome {
  position: relative;
  z-index: 2;
  min-height: 64px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 210px;
  align-items: center;
  gap: 20px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(16, 21, 30, 0.88);
  backdrop-filter: blur(22px);
}

.storybox-window__brand,
.storybox-window__project,
.storybox-window__presence {
  display: flex;
  align-items: center;
}

.storybox-window__brand {
  gap: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.storybox-window__mark {
  width: 24px;
  height: 24px;
  border-radius: 8px 2px 8px 2px;
  background: linear-gradient(135deg, var(--sb-accent), #9a83ff 58%, #ff7ea8);
  box-shadow: 0 0 22px color-mix(in srgb, var(--sb-accent) 38%, transparent);
}

.storybox-window__project {
  justify-content: center;
  gap: 9px;
  color: rgba(221, 229, 239, 0.68);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.storybox-window__project strong {
  color: #ffffff;
  font-size: 12px;
}

.storybox-window__project-label {
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.storybox-window__saved {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  color: rgba(172, 255, 210, 0.72);
}

.storybox-window__saved i,
.storybox-window__footer i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #74f2aa;
  box-shadow: 0 0 12px rgba(116, 242, 170, 0.72);
}

.storybox-window__presence {
  justify-content: flex-end;
}

.storybox-window__presence > span {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: -7px;
  border: 2px solid #10151e;
  border-radius: 50%;
  background: linear-gradient(145deg, #26475a, #162633);
  color: #dff8ff;
  font-size: 8px;
  font-weight: 700;
}

.storybox-window__presence b {
  margin-left: 10px;
  color: #77f0ac;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.storybox-window__views {
  position: relative;
  z-index: 2;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
  padding: 0 24px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  background: #0b1017;
  color: rgba(185, 197, 213, 0.56);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.storybox-window__views span:nth-child(3),
.storybox-window__views span:nth-child(5),
.storybox-window__views span:nth-child(9),
.storybox-window__views span:nth-child(10) {
  color: var(--sb-accent);
}

.storybox-window__body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: 680px;
}

.storybox-tabs {
  position: relative;
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  padding: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.075);
  background:
    linear-gradient(180deg, rgba(19, 25, 35, 0.92), rgba(11, 16, 23, 0.95)),
    #0b1017;
}

.storybox-tab {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 8px;
  padding: 15px 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: rgba(194, 205, 220, 0.62);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.storybox-tab:hover {
  color: rgba(246, 249, 253, 0.9);
  background: rgba(255, 255, 255, 0.035);
}

.storybox-tab:focus-visible {
  outline: 2px solid var(--sb-accent);
  outline-offset: 2px;
}

.storybox-tab.is-active {
  color: #ffffff;
  border-color: color-mix(in srgb, var(--sb-accent) 34%, transparent);
  background: linear-gradient(120deg, color-mix(in srgb, var(--sb-accent) 15%, transparent), rgba(255, 255, 255, 0.025));
  box-shadow: inset 3px 0 var(--sb-accent), 0 12px 32px rgba(0, 0, 0, 0.16);
}

.storybox-tab__index {
  color: color-mix(in srgb, var(--sb-accent) 82%, white);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 650;
}

.storybox-tab__copy {
  display: grid;
  gap: 4px;
}

.storybox-tab__copy strong {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1;
}

.storybox-tab__copy small {
  color: rgba(177, 190, 207, 0.54);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.storybox-tab__arrow {
  opacity: 0;
  color: var(--sb-accent);
  font-size: 15px;
  transform: translate(-4px, 4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.storybox-tab.is-active .storybox-tab__arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.storybox-tabs__progress {
  position: absolute;
  right: -1px;
  bottom: 0;
  left: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.storybox-tabs__progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--sb-accent);
  box-shadow: 0 0 14px var(--sb-accent);
}

.storybox-panels {
  min-width: 0;
  background:
    radial-gradient(80% 100% at 100% 0%, color-mix(in srgb, var(--sb-accent) 8%, transparent), transparent 62%),
    #090d13;
}

.storybox-panel[hidden] {
  display: none !important;
}

.storybox-panel {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(260px, 0.66fr) minmax(560px, 1.5fr);
  animation: storybox-panel-in 620ms cubic-bezier(0.16, 0.82, 0.22, 1) both;
}

@keyframes storybox-panel-in {
  from { opacity: 0; transform: scale(0.97); filter: saturate(1.45) brightness(1.22); }
  to { opacity: 1; transform: scale(1); filter: none; }
}

.storybox-panel__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 4vw, 58px) clamp(26px, 3.2vw, 48px);
  border-right: 1px solid rgba(255, 255, 255, 0.065);
  background: linear-gradient(105deg, rgba(15, 21, 30, 0.96), rgba(12, 17, 24, 0.86));
}

.storybox-panel__kicker {
  margin-bottom: 18px;
  color: var(--sb-accent);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.storybox-panel__copy h3 {
  margin: 0;
  color: #ffffff !important;
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 560;
  line-height: 1.02;
  letter-spacing: -0.045em !important;
  text-wrap: balance;
}

.storybox-panel__copy > p {
  margin: 22px 0 0;
  color: rgba(208, 219, 232, 0.74) !important;
  font-size: 14px;
  line-height: 1.7;
  text-wrap: pretty;
}

.storybox-feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.storybox-feature-chips li {
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(224, 231, 240, 0.72);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.storybox-feature-chips li:first-child {
  border-color: color-mix(in srgb, var(--sb-accent) 42%, transparent);
  color: color-mix(in srgb, var(--sb-accent) 82%, white);
  background: color-mix(in srgb, var(--sb-accent) 10%, transparent);
}

.storybox-panel__visual {
  position: relative;
  min-width: 0;
  min-height: 620px;
  margin: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    radial-gradient(80% 90% at 80% 10%, color-mix(in srgb, var(--sb-accent) 15%, transparent), transparent 65%),
    #10161f;
  background-size: 24px 24px, 24px 24px, auto, auto;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), 0 28px 52px rgba(0, 0, 0, 0.25);
}

.storybox-panel.is-active .storybox-panel__copy {
  animation: storybox-copy-arrive 700ms cubic-bezier(0.16, 0.82, 0.22, 1) both;
}

.storybox-panel.is-active .storybox-panel__visual {
  animation: storybox-visual-burst 850ms cubic-bezier(0.16, 0.82, 0.22, 1) both;
}

.storybox-panel.is-active .storybox-panel__visual > * {
  animation: storybox-node-arrive 720ms cubic-bezier(0.16, 0.82, 0.22, 1) both;
}

.storybox-panel.is-active .storybox-panel__visual > *:nth-child(2) { animation-delay: 90ms; }
.storybox-panel.is-active .storybox-panel__visual > *:nth-child(3) { animation-delay: 170ms; }

@keyframes storybox-copy-arrive {
  from { opacity: 0; transform: translateX(-34px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes storybox-visual-burst {
  0% {
    opacity: 0;
    clip-path: inset(6% 12% 6% 12% round 28px);
    transform: scale(0.9) rotate(0.8deg);
    filter: blur(12px) saturate(1.6) brightness(1.4);
  }
  58% { filter: blur(0) saturate(1.18) brightness(1.08); }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0 round 20px);
    transform: scale(1) rotate(0);
    filter: none;
  }
}

@keyframes storybox-node-arrive {
  from { opacity: 0; transform: translateY(30px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Develop */
.storybox-script-sheet {
  position: absolute;
  top: 5%;
  left: 4%;
  width: 43%;
  height: 65%;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  background: #f5f1e8;
  color: #181a1d;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
  transform: rotate(-1deg);
}

.storybox-script-sheet__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(18, 22, 27, 0.14);
  color: rgba(18, 22, 27, 0.62);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.storybox-script-sheet__header b {
  color: #15181c;
}

.storybox-script-sheet p {
  margin: 0 0 18px;
  color: #1e2228 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(10px, 0.9vw, 12px);
  line-height: 1.65;
}

.storybox-script-sheet p i {
  font-style: normal;
  font-weight: 750;
}

.storybox-script-sheet p strong {
  display: block;
  margin-left: 30%;
  font-size: 10px;
}

.storybox-script-sheet__selection {
  margin: 2px -6px 0;
  padding: 8px 6px;
  border-left: 2px solid var(--sb-accent);
  background: color-mix(in srgb, var(--sb-accent) 18%, white);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.storybox-develop-stack {
  position: absolute;
  top: 5%;
  right: 4%;
  width: 46%;
  display: grid;
  gap: 12px;
}

.storybox-mini-window,
.storybox-cast-strip,
.storybox-agent-note,
.storybox-shot-tools,
.storybox-continuity-map,
.storybox-daw,
.storybox-task-board,
.storybox-mix-rack,
.storybox-review-note,
.storybox-version-card,
.storybox-export-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(10, 15, 22, 0.94);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.035);
}

.storybox-mini-window {
  padding: 13px;
}

.storybox-mini-window__top,
.storybox-shot-tools__header,
.storybox-task-board__header,
.storybox-mix-rack__header,
.storybox-version-card > div:first-child,
.storybox-export-card > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: rgba(194, 205, 220, 0.64);
  font-size: 8px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.storybox-mini-window__top b,
.storybox-shot-tools__header b,
.storybox-task-board__header b,
.storybox-mix-rack__header b,
.storybox-version-card > div:first-child b,
.storybox-export-card > div:first-child b {
  color: var(--sb-accent);
  font-size: 8px;
}

.storybox-scene-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 9px 8px;
  border-radius: 9px;
  color: rgba(203, 213, 226, 0.68);
  font-size: 9px;
}

.storybox-scene-row + .storybox-scene-row {
  margin-top: 3px;
}

.storybox-scene-row.is-active {
  background: color-mix(in srgb, var(--sb-accent) 11%, transparent);
  color: #ffffff;
}

.storybox-scene-row > span {
  color: var(--sb-accent);
  font-family: var(--font-display);
}

.storybox-scene-row small {
  color: rgba(181, 193, 209, 0.5);
}

.storybox-cast-strip {
  min-height: 158px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) 56px;
  gap: 8px;
  padding: 10px;
}

.storybox-cast-strip figure {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #151b24;
}

.storybox-cast-strip img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.storybox-cast-strip figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  padding: 20px 8px 7px;
  background: linear-gradient(transparent, rgba(5, 8, 12, 0.94));
}

.storybox-cast-strip figcaption strong {
  color: #fff;
  font-size: 9px;
}

.storybox-cast-strip figcaption span {
  color: rgba(218, 226, 236, 0.66);
  font-size: 7px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.storybox-cast-add {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: rgba(207, 218, 231, 0.58);
}

.storybox-cast-add span {
  color: var(--sb-accent);
  font-size: 22px;
  font-weight: 300;
}

.storybox-cast-add small {
  font-size: 7px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.storybox-agent-note {
  position: absolute;
  right: 5%;
  bottom: 5%;
  left: 8%;
  min-height: 82px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
}

.storybox-agent-note > span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: color-mix(in srgb, var(--sb-accent) 14%, transparent);
  color: var(--sb-accent);
}

.storybox-agent-note p {
  margin: 0;
  color: rgba(210, 220, 233, 0.7) !important;
  font-size: 9px;
  line-height: 1.5;
}

.storybox-agent-note p strong {
  display: block;
  color: #fff;
  font-size: 9px;
}

.storybox-agent-note button,
.storybox-mix-rack button {
  border: 1px solid color-mix(in srgb, var(--sb-accent) 38%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--sb-accent) 9%, transparent);
  color: color-mix(in srgb, var(--sb-accent) 80%, white);
  font: inherit;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 10px;
}

/* Direct */
.storybox-shot-frame {
  position: absolute;
  top: 5%;
  left: 4%;
  width: 58%;
  height: 54%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: #05070a;
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.3);
}

.storybox-shot-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 55%, rgba(4, 7, 10, 0.85));
}

.storybox-shot-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.storybox-shot-frame__label {
  position: absolute;
  z-index: 2;
  bottom: 13px;
  left: 14px;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.storybox-shot-pin,
.storybox-review-marker {
  position: absolute;
  z-index: 3;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50% 50% 50% 2px;
  background: var(--sb-accent);
  color: #081017;
  font-size: 9px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transform: rotate(-12deg);
}

.storybox-shot-pin--one { top: 31%; left: 42%; }
.storybox-shot-pin--two { top: 18%; right: 21%; }

.storybox-shot-tools {
  position: absolute;
  top: 5%;
  right: 4%;
  width: 34%;
  min-height: 54%;
  padding: 15px;
}

.storybox-control {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
}

.storybox-control + .storybox-control {
  margin-top: 7px;
}

.storybox-control span {
  color: rgba(179, 191, 207, 0.54);
  font-size: 7px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.storybox-control strong {
  color: rgba(241, 245, 250, 0.88);
  font-size: 9px;
  font-weight: 600;
}

.storybox-continuity-map {
  position: absolute;
  right: 4%;
  bottom: 5%;
  left: 4%;
  height: 30%;
  display: grid;
  grid-template-columns: 170px minmax(60px, 1fr) minmax(190px, 1.35fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
}

.storybox-continuity-map__node {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--sb-accent) 30%, transparent);
  border-radius: 11px;
  background: color-mix(in srgb, var(--sb-accent) 7%, #10161f);
}

.storybox-continuity-map__node span,
.storybox-continuity-map__node small {
  color: rgba(190, 203, 219, 0.58);
  font-size: 7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.storybox-continuity-map__node strong {
  color: #fff;
  font-size: 12px;
}

.storybox-continuity-map__line {
  height: 1px;
  background: linear-gradient(90deg, var(--sb-accent), color-mix(in srgb, var(--sb-accent) 12%, transparent));
}

.storybox-continuity-map__shots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.storybox-continuity-map__shots span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(219, 228, 238, 0.7);
  font-size: 8px;
}

.storybox-continuity-map__shots span.is-active {
  border-color: var(--sb-accent);
  color: var(--sb-accent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--sb-accent) 22%, transparent);
}

.storybox-continuity-map__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(202, 214, 229, 0.68);
  font-size: 8px;
  white-space: nowrap;
}

.storybox-continuity-map__status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sb-accent);
  box-shadow: 0 0 12px var(--sb-accent);
}

/* Finish */
.storybox-daw {
  position: absolute;
  top: 4%;
  right: 4%;
  left: 4%;
  height: 53%;
  padding: 14px;
}

.storybox-daw__header {
  height: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  color: #fff;
  font-size: 9px;
  font-weight: 650;
}

.storybox-daw__header b {
  color: rgba(194, 205, 220, 0.6);
  font-size: 8px;
}

.storybox-daw__header em {
  margin-left: auto;
  color: #74f2aa;
  font-size: 7px;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.storybox-daw__ruler {
  height: 25px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  margin-left: 72px;
  color: rgba(177, 190, 207, 0.42);
  font-size: 7px;
}

.storybox-daw__lane {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  min-height: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.045);
}

.storybox-daw__lane strong {
  color: rgba(207, 217, 229, 0.62);
  font-size: 8px;
  font-weight: 600;
}

.storybox-daw__lane > div {
  position: relative;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
}

.storybox-daw__lane i {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: var(--x);
  width: var(--w);
  border-radius: 5px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0 2px, transparent 2px 5px),
    color-mix(in srgb, var(--lane-color) 65%, #17212d);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lane-color) 50%, transparent);
}

.storybox-daw__lane--score { --lane-color: #9b87ff; }
.storybox-daw__lane--ambience { --lane-color: #58e7ff; }
.storybox-daw__lane--sfx { --lane-color: #ffb867; }
.storybox-daw__lane--voice { --lane-color: #ff7ea8; }

.storybox-daw__playhead {
  position: absolute;
  top: 42px;
  bottom: 12px;
  left: 58%;
  width: 1px;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.storybox-daw__playhead::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -4px;
  width: 9px;
  height: 7px;
  border-radius: 3px;
  background: #fff;
}

.storybox-finish-bottom {
  position: absolute;
  right: 4%;
  bottom: 4%;
  left: 4%;
  height: 35%;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(210px, 0.8fr);
  gap: 12px;
}

.storybox-task-board,
.storybox-mix-rack {
  padding: 13px;
  overflow: hidden;
}

.storybox-task-card {
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 9px;
  padding: 7px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.028);
}

.storybox-task-card + .storybox-task-card { margin-top: 5px; }

.storybox-task-card > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.storybox-task-card > i.is-cyan { background: #58e7ff; }
.storybox-task-card > i.is-pink { background: #ff7ea8; }
.storybox-task-card > i.is-violet { background: #9b87ff; }

.storybox-task-card > span {
  display: grid;
  gap: 2px;
}

.storybox-task-card strong {
  color: rgba(241, 245, 250, 0.87);
  font-size: 8px;
}

.storybox-task-card small {
  color: rgba(179, 191, 207, 0.48);
  font-size: 7px;
}

.storybox-task-card em {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(226, 233, 242, 0.72);
  font-size: 7px;
  font-style: normal;
}

.storybox-mix-rack > div:not(.storybox-mix-rack__header) {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: rgba(205, 215, 228, 0.66);
  font-size: 7px;
}

.storybox-mix-rack > div i {
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sb-accent) var(--value), rgba(255, 255, 255, 0.08) var(--value));
}

.storybox-mix-rack > div b {
  color: #74f2aa;
  font-size: 7px;
}

.storybox-mix-rack button {
  width: 100%;
  margin-top: 13px;
}

/* Deliver */
.storybox-review-frame {
  position: absolute;
  top: 4%;
  left: 4%;
  width: 58%;
  height: 48%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  background: #030507;
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.3);
}

.storybox-review-frame > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.storybox-review-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(4, 7, 10, 0.55), transparent 30%, transparent 64%, rgba(4, 7, 10, 0.88));
  pointer-events: none;
}

.storybox-review-frame__top,
.storybox-review-frame__transport {
  position: absolute;
  z-index: 2;
  right: 13px;
  left: 13px;
  display: flex;
  align-items: center;
}

.storybox-review-frame__top {
  top: 12px;
  justify-content: space-between;
  color: #fff;
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.storybox-review-frame__top b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(213, 223, 235, 0.72);
  font-size: 7px;
}

.storybox-review-frame__top b i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #74f2aa;
}

.storybox-review-frame__transport {
  bottom: 10px;
  gap: 9px;
  color: #fff;
  font-size: 9px;
}

.storybox-review-frame__transport > i {
  height: 3px;
  flex: 1;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.storybox-review-frame__transport > i b {
  display: block;
  width: 58%;
  height: 100%;
  background: var(--sb-accent);
}

.storybox-review-frame__transport time {
  color: rgba(223, 231, 240, 0.68);
  font-size: 7px;
}

.storybox-review-marker--one { top: 34%; left: 47%; }
.storybox-review-marker--two { top: 21%; right: 20%; }

.storybox-review-note {
  position: absolute;
  top: 8%;
  right: 4%;
  width: 32%;
  min-height: 126px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 13px;
}

.storybox-review-note > span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sb-accent);
  color: #081017;
  font-size: 8px;
  font-weight: 800;
}

.storybox-review-note p {
  margin: 0;
  color: rgba(211, 221, 233, 0.7) !important;
  font-size: 8px;
  line-height: 1.55;
}

.storybox-review-note p strong {
  display: block;
  color: #fff;
  font-size: 8px;
}

.storybox-review-note > b {
  grid-column: 2;
  width: max-content;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(116, 242, 170, 0.1);
  color: #74f2aa;
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.storybox-deliver-bottom {
  position: absolute;
  right: 4%;
  bottom: 4%;
  left: 4%;
  height: 39%;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
}

.storybox-version-card,
.storybox-export-card {
  padding: 13px;
  overflow: hidden;
}

.storybox-version-card ol,
.storybox-export-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.storybox-version-card li {
  display: grid;
  grid-template-columns: 11px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 37px;
}

.storybox-version-card li > i {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.storybox-version-card li:first-child > i {
  background: var(--sb-accent);
  box-shadow: 0 0 10px var(--sb-accent);
}

.storybox-version-card li > span {
  display: grid;
  gap: 2px;
}

.storybox-version-card li strong,
.storybox-export-card li strong {
  color: rgba(241, 245, 250, 0.86);
  font-size: 8px;
}

.storybox-version-card li small,
.storybox-export-card li span {
  color: rgba(179, 192, 208, 0.48);
  font-size: 7px;
}

.storybox-export-card li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  padding: 8px 9px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.028);
}

.storybox-export-card li + li { margin-top: 5px; }

.storybox-export-card > small {
  display: block;
  margin-top: 8px;
  color: rgba(180, 192, 208, 0.45);
  font-size: 6.5px;
  line-height: 1.4;
}

.storybox-window__footer {
  position: relative;
  z-index: 2;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 10px 24px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  background: #0d131b;
  color: rgba(187, 199, 215, 0.55);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.storybox-window__footer span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(221, 229, 239, 0.78);
}

.storybox-showcase__outcomes {
  width: min(1050px, 100%);
  margin: clamp(34px, 4vw, 54px) auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.storybox-showcase__outcomes p {
  margin: 0;
  color: rgba(12, 16, 22, 0.66) !important;
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.35;
}

.storybox-showcase__outcomes p strong {
  color: #0c1016;
}

.storybox-showcase__outcomes .btn-primary {
  flex: 0 0 auto;
  background: #0c1016 !important;
  color: #ffffff !important;
  box-shadow: 0 14px 32px rgba(12, 16, 22, 0.2) !important;
}

.storybox-showcase__outcomes .btn-primary:hover {
  background: #202832 !important;
}

body.theme-light .modelbox-proof {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.78);
}

body.theme-light .modelbox-proof__item + .modelbox-proof__item {
  border-color: rgba(15, 23, 42, 0.08);
}

body.theme-light .modelbox-proof__item strong { color: #0f172a; }
body.theme-light .modelbox-proof__item span { color: #64748b; }

/* Wide/tall screens become a scroll-directed, pinned production sequence. */
@media (min-width: 1181px) and (min-height: 820px) and (prefers-reduced-motion: no-preference) {
  .storybox-scroll-track {
    height: 420vh;
  }

  .storybox-scroll-word {
    position: sticky;
    top: 51vh;
    z-index: 6;
    height: 0;
    display: grid;
    justify-items: center;
    pointer-events: none;
  }

  .storybox-scroll-word span {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.14);
    font-family: var(--font-display);
    font-size: clamp(118px, 14vw, 232px);
    font-weight: 700;
    line-height: 0.75;
    letter-spacing: -0.075em;
    text-transform: uppercase;
    text-shadow: 0 0 60px color-mix(in srgb, var(--sb-accent) 28%, transparent);
    opacity: 0.72;
    mix-blend-mode: screen;
    transform: translateY(-50%) scale(var(--sb-word-scale, 1));
    transition: color 400ms ease, -webkit-text-stroke-color 400ms ease;
  }

  /* Scroll cue: a self-contained chip pinned to the bottom edge of the
     viewport. The pinned window fills the viewport, so the cue needs its own
     backdrop to stay legible, and it bows out once the production moves past
     the first stage. */
  .storybox-scroll-word small {
    position: absolute;
    top: calc(49vh - 46px);
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(9, 13, 19, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.62);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: opacity 400ms ease;
  }

  .storybox-showcase:not([data-storybox-stage='develop']) .storybox-scroll-word small {
    opacity: 0;
  }

  .storybox-scroll-word small::before {
    content: '';
    width: 34px;
    height: 1px;
    background: var(--sb-accent);
    box-shadow: 0 0 10px var(--sb-accent);
  }

  .storybox-window {
    position: sticky;
    top: 76px;
    z-index: 2;
    transform: translateX(-50%) scale(var(--sb-window-scale, 0.975));
    transform-origin: 50% 0;
    will-change: transform;
  }

  .storybox-window__body {
    height: clamp(555px, calc(100vh - 238px), 680px);
    min-height: 0;
  }

  .storybox-panel {
    height: 100%;
    min-height: 0;
  }

  .storybox-panel__visual {
    min-height: 0;
    margin: 18px;
  }

  .storybox-showcase__outcomes {
    margin-top: clamp(50px, 6vw, 82px);
  }
}

/* Tablet: horizontal chapter rail, stacked copy and product view. */
@media (max-width: 1180px) {
  .storybox-window__body {
    grid-template-columns: 1fr;
  }

  .storybox-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 6px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  }

  .storybox-tab {
    grid-template-columns: 28px minmax(0, 1fr);
    min-height: 74px;
  }

  .storybox-tab__arrow { display: none; }

  .storybox-panel {
    grid-template-columns: 1fr;
  }

  .storybox-panel__copy {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(330px, 1.2fr);
    column-gap: 36px;
    align-items: end;
    padding: 34px 38px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  }

  .storybox-panel__kicker {
    grid-column: 1 / -1;
    margin-bottom: 10px;
  }

  .storybox-panel__copy h3 {
    align-self: start;
  }

  .storybox-panel__copy > p {
    margin-top: 0;
  }

  .storybox-feature-chips {
    grid-column: 1 / -1;
    margin-top: 20px;
  }

  .storybox-panel__visual {
    height: 620px;
  }
}

@media (max-width: 900px) {
  .hero--video-bg .hero-content h1 {
    font-size: clamp(42px, 8vw, 66px);
  }

  .modelbox-proof {
    grid-template-columns: 1fr;
  }

  .modelbox-proof__item {
    min-height: 88px;
  }

  .modelbox-proof__item + .modelbox-proof__item {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    border-left: 0;
  }

  .storybox-window__chrome {
    grid-template-columns: 150px minmax(0, 1fr) 150px;
  }

  .storybox-window__project-label,
  .storybox-window__saved {
    display: none;
  }

  .storybox-window__views {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .storybox-window__views::-webkit-scrollbar { display: none; }

  .storybox-panel__copy {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .storybox-panel__copy > p {
    margin-top: 18px;
  }

  .storybox-feature-chips {
    grid-column: 1;
  }

  .storybox-continuity-map {
    grid-template-columns: 140px minmax(36px, 0.6fr) minmax(170px, 1fr);
  }

  .storybox-continuity-map__status {
    display: none;
  }

  .storybox-window__footer {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }
}

@media (max-width: 720px) {
  .hero--video-bg .hero-content h1 {
    font-size: clamp(42px, 13vw, 62px);
    line-height: 0.98;
  }

  .hero-title-line--accent {
    width: auto;
  }

  .storybox-showcase {
    padding-top: 82px;
  }

  .storybox-showcase__header h2 {
    font-size: clamp(46px, 14vw, 70px);
  }

  .storybox-showcase__header > p {
    font-size: 16px;
  }

  .storybox-window {
    width: calc(100vw - 24px);
    border-radius: 20px;
  }

  .storybox-window__chrome {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 58px;
    padding: 10px 14px;
  }

  .storybox-window__project { display: none; }

  .storybox-window__presence > span:nth-child(2),
  .storybox-window__presence > span:nth-child(3) { display: none; }

  .storybox-tabs {
    display: flex;
    overflow-x: auto;
    padding: 10px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .storybox-tabs::-webkit-scrollbar { display: none; }

  .storybox-tab {
    flex: 0 0 180px;
    min-height: 68px;
    scroll-snap-align: start;
  }

  .storybox-panel__copy {
    padding: 30px 22px;
  }

  .storybox-panel__copy h3 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .storybox-panel__visual {
    height: 760px;
    min-height: 0;
    margin: 12px;
  }

  .storybox-script-sheet {
    top: 3%;
    right: 4%;
    left: 4%;
    width: auto;
    height: 286px;
  }

  .storybox-develop-stack {
    top: 322px;
    right: 4%;
    left: 4%;
    width: auto;
  }

  .storybox-agent-note {
    right: 4%;
    bottom: 3%;
    left: 4%;
  }

  .storybox-shot-frame {
    top: 3%;
    right: 4%;
    left: 4%;
    width: auto;
    height: 260px;
  }

  .storybox-shot-tools {
    top: 282px;
    right: 4%;
    left: 4%;
    width: auto;
    min-height: 250px;
  }

  .storybox-control {
    padding: 8px;
  }

  .storybox-continuity-map {
    right: 4%;
    bottom: 3%;
    left: 4%;
    height: 172px;
    grid-template-columns: 120px minmax(24px, 0.4fr) minmax(150px, 1fr);
  }

  .storybox-daw {
    top: 3%;
    height: 330px;
  }

  .storybox-finish-bottom {
    top: 354px;
    bottom: auto;
    height: 370px;
    grid-template-columns: 1fr;
  }

  .storybox-review-frame {
    top: 3%;
    right: 4%;
    left: 4%;
    width: auto;
    height: 255px;
  }

  .storybox-review-note {
    top: 276px;
    right: 4%;
    left: 4%;
    width: auto;
    min-height: 92px;
  }

  .storybox-deliver-bottom {
    top: 388px;
    bottom: auto;
    height: 342px;
    grid-template-columns: 1fr;
  }

  .storybox-window__footer {
    gap: 22px;
    padding-inline: 16px;
  }

  .storybox-showcase__outcomes {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .storybox-showcase__outcomes .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .storybox-showcase__eyebrow {
    font-size: 9px;
    letter-spacing: 0.15em;
  }

  .storybox-window__views {
    gap: 18px;
  }

  .storybox-cast-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .storybox-cast-add { display: none; }

  .storybox-agent-note {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .storybox-agent-note button { display: none; }

  .storybox-continuity-map {
    grid-template-columns: 105px 22px minmax(136px, 1fr);
    gap: 8px;
    padding: 11px;
  }

  .storybox-continuity-map__shots {
    grid-template-columns: repeat(2, 1fr);
  }

  .storybox-daw__lane {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .storybox-daw__ruler {
    margin-left: 55px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .storybox-showcase__orb,
  .storybox-window::before,
  .storybox-panel,
  .storybox-tab,
  .storybox-tab__arrow,
  .skip-link {
    animation: none !important;
    transition: none !important;
  }

  .storybox-tabs__progress { display: none; }
}
