/* assets/tokens.css */
/* Generated from tokens.json v0.5. Do not edit.
 * Regenerate: node scripts/build-design-tokens.mjs
 * Semantic color is limited to action, focus and status.
 */
:root {
  --font-body: 'Inter', Arial, sans-serif;
  --font-display: 'Rubik', Arial, sans-serif;
  --type-heading-size: 28px;
  --type-heading-line: 34px;
  --type-heading-weight: 600;
  --type-title-size: 18px;
  --type-title-line: 24px;
  --type-title-weight: 400;
  --type-body-size: 14px;
  --type-body-line: 22px;
  --type-body-weight: 400;
  --type-action-size: 12px;
  --type-action-line: 18px;
  --type-action-weight: 500;
  --type-caption-size: 12px;
  --type-caption-line: 18px;
  --type-caption-weight: 400;
  --radius-controls: 8px;
  --radius-panels: 14px;
  --radius-dialogs: 16px;
  --geometry-control-height: 44px;
  --geometry-compact-row-height: 40px;
  --geometry-icon-size: 20px;
  --geometry-icon-stroke: 1.65;
  --geometry-sidebar-width: 248px;
  --geometry-rail-width: 72px;
  --geometry-topbar-height: 60px;
  --geometry-mobile-touch-target: 44px;
  --motion-duration-ms: 160ms;
  --motion-enter-ms: 180ms;
  --motion-exit-ms: 120ms;
  --motion-hover-ms: 140ms;
  --motion-menu-ms: 120ms;
  --motion-loading-delay-ms: 160ms;
  --motion-loading-pulse-ms: 1100ms;
  --motion-easing: cubic-bezier(0.23, 1, 0.32, 1);
}

:root:not([data-theme=dark]) {
  color-scheme: light;
  --bg: #F5F6F8;
  --surface: #FFFFFF;
  --surface-soft: #EEF0F4;
  --input: #FAFBFC;
  --ink: #17191F;
  --muted: #555D6C;
  --line: #DFE3EA;
  --coral: #C93924;
  --hover: #AA2A18;
  --white: #FFFFFF;
  --selection: #FCEDE9;
  --selection-ink: #9D2D1D;
  --focus: #BC3B29;
  --mint: #E7F5ED;
  --green: #216145;
  --pale: #FDEDEE;
  --error: #A02736;
  --warning-bg: #FFF1D5;
  --warn: #745013;
  --disabled: #EEF0F4;
  --disabledtext: #565E6C;
  --kit-canvas: #F5F6F8;
  --kit-coral-bright: #F85539;
  --media: #101216;
  --media-ink: #F5F6F8;
  --media-muted: #B6BEC9;
  --media-line: #353B45;
  --scrim: #10121880;
  --chrome: #FFFFFF;
  --raised: #FFFFFF;
  --control-line: #838B99;
  --editorial-ink: #175C70;
  --platform-instagram: #A52868;
  --platform-tiktok: #146477;
  --platform-youtube: #A92C2C;
}

:root[data-theme=dark] {
  color-scheme: dark;
  --bg: #14171E;
  --surface: #21252F;
  --surface-soft: #2D333B;
  --input: #181B23;
  --ink: #F3F5F8;
  --muted: #B0B7C4;
  --line: #404957;
  --coral: #C93924;
  --hover: #AA2A18;
  --white: #FFFFFF;
  --selection: #442B2B;
  --selection-ink: #FFC0B3;
  --focus: #FF9C87;
  --mint: #233930;
  --green: #9ED9B8;
  --pale: #40252C;
  --error: #FFB6BF;
  --warning-bg: #403420;
  --warn: #F9D799;
  --disabled: #2D333B;
  --disabledtext: #B0B7C4;
  --kit-canvas: #14171E;
  --kit-coral-bright: #F85539;
  --media: #101216;
  --media-ink: #F5F6F8;
  --media-muted: #B6BEC9;
  --media-line: #353B45;
  --scrim: #0B0D14B3;
  --chrome: #191E28;
  --raised: #2B323F;
  --control-line: #727D8F;
  --editorial-ink: #94D7E7;
  --platform-instagram: #FFA7CF;
  --platform-tiktok: #86DCE5;
  --platform-youtube: #FFA09A;
}

/* style.css */
@font-face {
  font-family: Rubik;
  src: url('assets/Rubik-Variable.woff2') format('woff2');
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url('assets/Inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: Inter;
  src: url('assets/Inter-cyrillic.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

:root {
  --gutter: clamp(24px, 4.7vw, 88px);
  --cinema: var(--media);
  --cinema-ink: var(--media-ink);
  --cinema-muted: var(--media-muted);
  --ease: var(--motion-easing);
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, blockquote { margin: 0; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.055em;
}

a { color: inherit; text-decoration: none; }
button {
  color: inherit;
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
}

a, button, summary {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

:is(a, button, summary):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.dark :focus-visible { outline-color: #ffb397; }
::selection { color: var(--selection-ink); background: var(--selection); }
img, video { display: block; }
img { max-width: 100%; height: auto; }

.wrap {
  width: calc(100% - var(--gutter) * 2);
  max-width: 1600px;
  margin-inline: auto;
}

.dark { background: var(--cinema); color: var(--cinema-ink); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-controls);
  background: var(--surface);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 225px;
  min-height: 56px;
  padding: 16px 28px;
  border-radius: var(--radius-controls);
  background: var(--coral);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  transition: background var(--motion-hover-ms) var(--ease), transform var(--motion-duration-ms) var(--ease);
}

.button:active { transform: scale(.98); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand span {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1;
}

.brand img { flex-shrink: 0; }
.control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: var(--radius-controls);
  font-size: 13px;
  font-weight: 500;
}

.section-title {
  font-size: clamp(48px, 6.4vw, 100px);
  line-height: 1.04;
  text-wrap: balance;
}

.section-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 16px;
}

.media-surface {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--cinema);
}

.media-poster, .ambient-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.media-poster img, .ambient-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ambient-video { opacity: 0; transition: opacity 240ms ease; }
.media-surface.has-frame .ambient-video { opacity: 1; }
.ambient-video::cue {
  color: white;
  background: #101216df;
  font: 17px var(--font-body);
}

.media-start {
  position: absolute;
  z-index: 2;
  right: 16px;
  top: 16px;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--cinema-ink);
  background: var(--cinema);
  border: 1px solid var(--media-line);
  border-radius: var(--radius-controls);
  font-size: 13px;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 780px;
  height: 100svh;
  max-height: 1240px;
}

.hero-media, .hero-scrim { position: absolute; inset: 0; }
.hero-media { z-index: -2; }
.hero-scrim {
  z-index: -1;
  background: linear-gradient(90deg, #080a10bc 0, #080a1070 42%, #080a1010 83%),
    linear-gradient(0deg, #080a105c, transparent 55%);
}

.header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 34px;
  padding-top: env(safe-area-inset-top, 0px);
  min-height: calc(110px + env(safe-area-inset-top, 0px));
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  margin-left: auto;
  font-size: 14px;
}

.desktop-nav a { padding-block: 14px; }
.header-controls { display: flex; align-items: center; }
.menu-toggle, .mobile-nav { display: none; }
.hero-copy {
  position: relative;
  margin-top: auto;
  padding-top: 110px;
  padding-bottom: 54px;
}

.hero-copy h1 {
  max-width: 1200px;
  font-size: clamp(84px, 9.8vw, 158px);
  line-height: .98;
  letter-spacing: -.065em;
  text-shadow: 0 2px 30px #0002;
}

.hero-invitation { display: flow-root; }

.hero-invitation > p {
  margin-top: 32px;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.5;
}

.hero-copy .button { margin-top: 32px; }
.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: calc(88px + env(safe-area-inset-bottom, 0px));
  gap: 24px;
  padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px));
}

.hero-video-actions { display: flex; align-items: center; }
.hero-video-actions:has(.hero-start:not([hidden])) .motion-toggle { display: none; }
.hero-start { position: static; background: #10121680; }
.motion-toggle, .hero-next {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0;
}

.motion-toggle { color: var(--cinema-muted); font-size: 12px; }
.motion-symbol { min-width: 18px; font: 16px Arial, sans-serif; }
.product { padding-block: clamp(80px, 8vw, 130px) clamp(70px, 6vw, 100px); }
.product .section-title { max-width: 1200px; }
.product-layout {
  display: grid;
  grid-template-columns: .7fr 1.5fr;
  align-items: center;
  gap: clamp(30px, 5vw, 90px);
  margin-top: 58px;
}

.product-copy > span {
  display: block;
  margin-bottom: 22px;
  font: 72px / .7 var(--font-display);
  color: var(--kit-coral-bright);
}

.product-copy p { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.55; }
.product-film, .audience-film { aspect-ratio: 16 / 9; border-radius: var(--radius-panels); }
.audiences { padding-block: clamp(50px, 5vw, 90px) clamp(80px, 8vw, 130px); }
.audience-scenes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  margin-top: 58px;
}

.audience-film { width: 100%; aspect-ratio: 1.22; }
.creator-scene :is(.media-poster img, video) { object-position: 42% center; }
.expert-scene :is(.media-poster img, video) { object-position: center 44%; }
.scene-title {
  font-size: clamp(32px, 3.1vw, 52px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.audience-copy {
  position: absolute;
  z-index: 2;
  inset: auto clamp(20px, 2.2vw, 32px) clamp(20px, 2.2vw, 32px);
}

.audience-copy p { margin-top: 10px; font-size: 15px; }
.audience-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, #080a10dd, transparent 55%);
}

.examples-credit {
  max-width: 650px;
  margin-top: 22px;
  color: var(--cinema-muted);
  font-size: 12px;
}

.workflow-section {
  padding-block: clamp(78px, 8.6vw, 128px);
  background: #EEE8E2;
}

.workflow-header {
  margin-inline: auto;
  max-width: 980px;
  text-align: center;
}

.workflow-brief {
  display: inline-flex;
  flex-wrap: wrap;
  max-width: 690px;
  justify-content: center;
  align-items: baseline;
  gap: 8px 16px;
  margin-top: 24px;
  padding: 9px 15px;
  border-bottom: 1px solid #C9392466;
}

.workflow-brief > span { color: var(--selection-ink); font-size: 13px; font-weight: 600; }
.workflow-brief > blockquote { font-size: clamp(17px, 1.55vw, 22px); }
.workflow-board {
  max-width: 1220px;
  margin: 58px auto 0;
  padding: clamp(16px, 3.2vw, 44px);
  border-radius: var(--radius-panels);
  background: #15161E;
  color: var(--cinema-ink);
  box-shadow: 0 18px 45px #2f21231a;
}

.board-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 25px;
}

.board-header h3 { font-size: clamp(23px, 2.6vw, 34px); }
.board-header p { color: var(--cinema-muted); font-size: 14px; }
.board-shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(9px, 1.45vw, 19px);
  list-style: none;
  margin: 27px 0 0;
  padding: 0;
}

.board-shots figure, .result-frame { margin: 0; }
.board-shots img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--cinema);
  border-radius: var(--radius-controls);
}

.board-shots figcaption {
  display: flex;
  align-items: baseline;
  gap: 11px;
  margin-top: 12px;
  font-size: clamp(12px, 1.2vw, 16px);
  line-height: 1.4;
}

.board-shots figcaption span:first-child { color: #FF9C87; font-size: .86em; }
.board-shots figcaption span:last-child { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.result-section { padding-block: clamp(76px, 8.6vw, 132px); }
.result-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 43px;
}
.result-header p {
  max-width: 350px;
  padding-bottom: 5px;
  color: var(--cinema-muted);
  font-size: 17px;
}

.result-frame picture { display: block; overflow: hidden; border-radius: var(--radius-panels); }
.result-frame picture img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #171820;
}

.result-frame figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: 16px;
  color: var(--cinema-muted);
  font-size: 13px;
}

.result-signature {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--cinema-ink);
  font-weight: 500;
}

.agent-section {
  padding-block: clamp(74px, 8vw, 122px);
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.agent-section .section-title { font-size: clamp(46px, 6vw, 94px); }
.control-promise {
  max-width: 790px;
  margin-top: 32px;
  font-family: var(--font-display);
  font-size: clamp(23px, 2.65vw, 42px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.2;
}

.control-note {
  max-width: 620px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.disclosure-mark { position: relative; flex: 0 0 16px; height: 16px; color: var(--muted); }
.disclosure-mark::before, .disclosure-mark::after {
  content: '';
  position: absolute;
  inset: calc(50% - .5px) 0 auto;
  height: 1px;
  background: currentColor;
}

.disclosure-mark::after { transform: rotate(90deg); }
details[open] .disclosure-mark::after { transform: rotate(0deg); }

.pricing-section {
  --plan-card: #21252F;
  --plan-tint: #2D333B;
  --plan-line: #404957;
  --plan-accent: #FF9C87;
  padding-block: clamp(82px, 8vw, 124px);
  background: #14171E;
  color: var(--cinema-ink);
}
.pricing-section .section-title { font-size: clamp(39px, 5.4vw, 76px); }
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(14px, 1.5vw, 24px);
  margin-top: 38px;
}

.plan {
  min-width: 0;
  padding: clamp(18px, 2.2vw, 32px);
  border: 1px solid var(--plan-line);
  border-radius: var(--radius-panels);
  background: var(--plan-card);
}
.plan[data-plan="pro"] { border-color: var(--plan-accent); }
.plan h3 { font-size: 30px; line-height: 1.1; font-weight: 500; letter-spacing: -.035em; }
.plan-purpose { margin-top: 8px; color: var(--cinema-muted); font-size: 15px; }
.plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  margin-top: 20px;
}
.plan-price strong {
  font: 500 clamp(33px, 3.4vw, 54px)/1.12 var(--font-body);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.plan-price span { color: var(--cinema-muted); font-size: 14px; }
.plan-features { margin: 24px 0 0; }
.plan-features > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-block: 12px;
}
.plan-features > div + div { border-top: 1px solid var(--plan-line); }
.plan-features .plan-balance {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-controls);
  background: var(--plan-tint);
}
.plan-features .plan-balance + div { border-top: 0; }
.plan-features dt { min-width: 0; color: var(--cinema-muted); font-size: 14px; overflow-wrap: anywhere; hyphens: auto; }
.plan-features dd {
  flex-shrink: 0;
  margin: 0;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.plan-balance dd { margin-top: 3px; font-size: 18px; }
.plan[data-plan="pro"] .plan-balance {
  background: #442B2B;
  color: #FFC0B3;
}
.plan-details {
  margin-top: 4px;
  border-top: 1px solid var(--plan-line);
}
.plan-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
  padding-block: 10px 0;
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}
.plan-details summary::-webkit-details-marker { display: none; }
.plan-details summary:focus-visible { outline-color: var(--plan-accent); }
.plan-details .disclosure-mark { color: var(--cinema-muted); }
.plan-details .plan-features { margin-top: 12px; }
.plan-details .plan-features > div:last-child { padding-bottom: 0; }

.closing-stage {
  position: relative;
  width: 100%;
  padding: clamp(74px, 9vw, 130px) 20px;
  background: radial-gradient(ellipse 330px 235px at 50% 24%, #C9392418, transparent 80%);
  text-align: center;
}

.closing-mark {
  display: block;
  width: clamp(68px, 7.2vw, 102px);
  height: auto;
  margin: 0 auto clamp(20px, 3.4vw, 50px);
}

.finale-copy .section-title { font-size: clamp(66px, 8vw, 124px); }
.finale-copy > p {
  max-width: 420px;
  margin: 28px auto 0;
  color: var(--cinema-muted);
  font-size: 19px;
}

.finale-copy .button { margin-top: 32px; }

.motion-paused .product-process {
  position: static;
  width: auto;
  height: auto;
  margin: 16px 0 0;
  overflow: visible;
  clip-path: none;
  white-space: normal;
  color: var(--cinema-muted);
  font-size: 14px;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--hover); }
  :is(.desktop-nav, .mobile-nav) a:hover { opacity: .75; }
  .control:hover { background: #ffffff14; }
  .motion-toggle:hover { color: var(--white); }
}

@media (max-width: 1100px) {
  .hero { min-height: 760px; }
  .hero-copy { padding-top: 100px; }
  .hero-copy h1 { font-size: clamp(82px, 10.5vw, 125px); }
  .header { gap: 24px; }
  .product-layout { grid-template-columns: .8fr 1.2fr; gap: 34px; }
}

@media (max-width: 760px) {
  :root { --gutter: 25px; scroll-padding-top: 16px; }
  .hero { min-height: 690px; max-height: 1100px; }
  .header { min-height: calc(90px + env(safe-area-inset-top, 0px)); gap: 10px; }
  .brand { gap: 9px; }
  .brand span { font-size: 29px; }
  .header .brand img { width: 34px; height: 34px; }
  .desktop-nav { display: none; }
  .header-controls { margin-left: auto; }
  .language { font-size: 12px; }

  .menu-toggle { display: flex; flex-direction: column; gap: 6px; }
  .menu-toggle span { width: 21px; height: 1px; background: currentColor; }
  .menu-toggle[aria-expanded=true] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-nav {
    position: absolute;
    top: calc(78px + env(safe-area-inset-top, 0px));
    inset-inline: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--media-line);
    border-radius: var(--radius-panels);
    background: #14171ef5;
    box-shadow: 0 20px 40px #0003;
  }

  .mobile-nav a { padding: 12px 14px; min-height: 46px; font-size: 15px; }
  .hero-scrim {
    background: linear-gradient(180deg, #080a104d 0, #080a101a 28%, #080a104d 48%, #080a10c9 100%),
      linear-gradient(90deg, #080a103d, transparent);
  }

  .hero-copy { padding-top: 80px; padding-bottom: 28px; }
  .hero-copy h1 { font-size: clamp(42px, 13.8vw, 84px); line-height: 1.01; letter-spacing: -.06em; }
  .hero-invitation > p { margin-top: 24px; font-size: 18px; }
  .hero-copy .button { margin-top: 29px; }
  :is(.hero, .finale) .button { width: 100%; min-height: 52px; }
  .hero-bottom {
    min-height: calc(78px + env(safe-area-inset-bottom, 0px));
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    gap: 12px;
  }

  .motion-toggle, .hero-start { font-size: 12px; }
  .motion-symbol { font-size: 14px; min-width: 14px; }
  .hero-start { padding-inline: 8px; }
  .section-title { font-size: clamp(38px, 10.9vw, 64px); line-height: 1.05; text-wrap: initial; }
  .section-note { margin-top: 18px; font-size: 15px; }
  .product { padding-block: 60px 44px; }
  .product-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 28px; }
  .product-copy { display: flex; align-items: flex-start; gap: 13px; }
  .product-copy > span { margin-bottom: 0; font-size: 43px; line-height: 1; }
  .product-copy p { font-size: 16px; line-height: 1.5; }
  .product-film {
    width: calc(100% + var(--gutter) * 2);
    margin-inline: calc(var(--gutter) * -1);
    aspect-ratio: 4 / 5;
    border-radius: 0;
  }

  .audiences { padding-block: 44px 68px; }
  .audience-scenes { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 32px; }
  .creator-scene .audience-film { aspect-ratio: 9 / 16; }
  .expert-scene .audience-film { aspect-ratio: 4 / 5; }
  .scene-title { font-size: clamp(28px, 8.3vw, 46px); }
  .audience-copy p { font-size: 14px; }
  .ambient-video::cue { font-size: 14px; }
  .examples-credit { margin-top: 17px; }

  :is(.workflow-section, .result-section, .agent-section, .pricing-section) { padding-block: 64px; }
  .workflow-header { text-align: left; }
  .workflow-brief { justify-content: start; flex-direction: column; gap: 5px; padding-left: 0; margin-top: 16px; }
  .workflow-board { margin-top: 29px; }
  .board-header p { font-size: 13px; }
  .board-shots { margin-top: 18px; }
  .board-shots img { aspect-ratio: 3 / 5; }
  .board-shots figcaption { display: grid; gap: 4px; font-size: 11px; }
  .result-header { display: grid; gap: 16px; margin-bottom: 26px; }
  .result-header p { padding-bottom: 0; font-size: 16px; }
  .result-frame picture img { aspect-ratio: 9 / 16; }
  .result-frame figcaption { font-size: 11px; align-items: start; flex-direction: column; }
  .agent-section .section-title { font-size: clamp(38px, 10.5vw, 60px); }
  .control-promise { margin-top: 23px; }
  .control-note { margin-top: 15px; font-size: 16px; }

  .plans { grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
  .plan { padding: 20px; }
  .plan-price { margin-top: 14px; }
  .plan-features { margin-top: 18px; }

  .closing-stage { padding: 70px 0 76px; }
  .finale-copy .section-title { font-size: clamp(50px, 14.5vw, 88px); line-height: 1.02; }
  .finale-copy > p { max-width: 310px; margin-top: 24px; font-size: 17px; }
  .finale-copy .button { margin-top: 28px; }
}

@media (max-width: 360px) {
  :root { --gutter: 20px; }
  .hero-invitation > p { font-size: 17px; }
  .hero-start { font-size: 11px; }
}

html.motion-paused { scroll-behavior: auto; }
.motion-paused .ambient-video { transition: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .ambient-video { transition: none; }
}

/* tools-scale.css */
/* Capability choices form one row above the illustrated result. */
.ts-tools {
  padding-block: clamp(72px, 8vw, 124px);
  background: var(--surface);
}

.ts-inner { max-width: 1220px; }
.ts-heading { text-align: center; }
.ts-heading .section-title {
  max-width: 900px;
  margin-inline: auto;
}

.ts-tools-layout { margin-top: clamp(30px, 4.2vw, 57px); }
.ts-task-picker {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.ts-task {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  min-height: 86px;
  padding: 10px 5px;
  border-radius: var(--radius-controls);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
}

.ts-task span { overflow-wrap: anywhere; }
.ts-task svg, .ts-scale-node svg,
.ts-reference-source svg, .ts-export-file svg, .ts-export-download svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: var(--geometry-icon-stroke);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ts-task svg { width: 26px; height: 26px; flex: 0 0 auto; }

.ts-task[aria-pressed=true] {
  color: var(--selection-ink);
  background: var(--selection);
  font-weight: 600;
}

@media (hover: hover) and (pointer: fine) {
  .ts-task:not([aria-pressed=true]):hover { color: var(--ink); background: var(--surface-soft); }
  .ts-plan-link:hover { color: #fff; }
}

.ts-result {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr);
  align-items: center;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-panels);
  background: var(--surface-soft);
}

.ts-result-art {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 310px;
  padding: 24px;
  overflow: hidden;
}

.ts-result-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  align-self: stretch;
  padding: 27px clamp(28px, 4vw, 68px);
  border-inline-start: 1px solid var(--line);
}
.ts-result-copy h3 { font-size: clamp(25px, 2.8vw, 41px); line-height: 1.1; }
.ts-result-copy p { max-width: 30ch; color: var(--muted); line-height: 1.55; }

.ts-frame-illustration, .ts-edit-illustration {
  width: 100%;
  max-width: 560px;
  height: auto;
}
.ts-reference-image {
  width: 68%;
  border: 6px solid #fff;
  border-radius: var(--radius-controls);
  overflow: hidden;
  transform: rotate(-4deg);
}
.ts-reference-image > svg, .ts-film-image { display: block; width: 100%; height: auto; }
.ts-reference-source {
  position: absolute;
  inset: auto 7% 16% auto;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-controls);
  padding: 11px 15px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
}
.ts-reference-source svg { width: 18px; height: 18px; flex: none; color: var(--coral); }

.ts-video-offset, .ts-video-frame { width: 73%; max-width: 420px; border-radius: var(--radius-controls); }
.ts-video-offset {
  position: absolute;
  aspect-ratio: 1.8;
  background: #D9DDE4;
  transform: rotate(5deg);
}
.ts-video-frame {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--media);
  transform: rotate(-3deg);
}
.ts-video-frame > span { position: absolute; bottom: 13px; right: 16px; font-size: 12px; }

.ts-art-sound { align-content: center; gap: 12px; padding-inline: clamp(22px, 5vw, 65px); }
.ts-sound-track { justify-self: start; width: 100%; color: var(--muted); }
.ts-sound-track > span { font-size: 12px; }
.ts-sound-track > svg {
  display: block;
  width: 100%;
  height: 56px;
  margin-top: 6px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
}
.ts-sound-added { justify-self: end; width: 79%; color: var(--coral); }

.ts-export-file { position: relative; width: 150px; height: 186px; transform: rotate(-5deg); }
.ts-export-file > svg { width: 100%; height: 100%; stroke-width: .7; fill: #fff; }
.ts-export-file > strong {
  position: absolute;
  inset: 50% 0 auto;
  text-align: center;
  font: 500 26px var(--font-display);
}
.ts-export-download {
  position: absolute;
  top: 57%;
  left: calc(50% + 28px);
  display: grid;
  place-items: center;
  width: 61px;
  height: 61px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
}
.ts-export-download svg { width: 28px; height: 28px; }

/* One continuous route leads into the plan cards. */
.ts-scale {
  --route-line: #596273;
  --route-highlight: #FF9C87;
  --route-node: clamp(78px, 8vw, 106px);
  padding-block: clamp(66px, 7vw, 105px) clamp(58px, 6.5vw, 98px);
  background: var(--media);
  color: var(--media-ink);
}

.ts-scale-heading .section-title {
  max-width: 900px;
  font-size: clamp(45px, 6.25vw, 94px);
  text-wrap: wrap;
}

.ts-scale-route {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 82px);
  margin: clamp(39px, 6.2vw, 85px) 0 0;
  padding: 0;
  list-style: none;
}

.ts-scale-route::before {
  content: '';
  position: absolute;
  inset: calc(var(--route-node) / 2) 30% auto calc(var(--route-node) / 2);
  height: 1px;
  background: linear-gradient(90deg, var(--route-line) 30%, var(--route-highlight));
  transform-origin: left center;
}

.ts-scale-route.beat-in-view::before {
  animation: trace-route 660ms var(--ease) 140ms backwards;
}

@keyframes trace-route {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.ts-scale-stop { position: relative; min-width: 0; }
.ts-scale-node {
  display: grid;
  place-items: center;
  width: var(--route-node);
  height: var(--route-node);
  border: 1px solid var(--route-line);
  border-radius: 50%;
  outline: 11px solid var(--media);
  background: var(--media);
}
.ts-scale-node svg { width: 36%; height: 36%; }

.ts-scale-business .ts-scale-node { border-color: var(--route-highlight); color: var(--route-highlight); }
.ts-scale-team .ts-scale-node { border-color: var(--coral); background: var(--coral); color: #fff; }
.ts-scale-copy { margin-top: 23px; }
.ts-scale-copy h3 { font-size: clamp(25px, 3.3vw, 40px); line-height: 1.1; }
.ts-scale-copy p { max-width: 30ch; margin-top: 8px; color: var(--media-muted); font-size: clamp(14px, 1.04vw, 16px); line-height: 1.5; }
.ts-plan-link {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  min-height: 44px;
  margin: clamp(24px, 4.4vw, 50px) 0 0 auto;
  color: var(--route-highlight);
  font-size: 14px;
}

@media (max-width: 760px) {
  .ts-heading { text-align: left; }
  .ts-task-picker { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .ts-task { min-height: 77px; font-size: 12px; }
  .ts-result { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .ts-result-art { min-height: 215px; padding: 14px; }
  .ts-result-copy {
    min-height: 119px;
    gap: 8px;
    padding: 18px;
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }
  .ts-result-copy p { max-width: none; font-size: 14px; }
  .ts-art-sound { padding-inline: 20px; }
  .ts-sound-track > svg { height: 43px; }
  .ts-reference-image { width: 73%; }
  .ts-reference-source { right: 5%; padding: 9px 11px; font-size: 11px; }
  .ts-export-file { width: 124px; height: 156px; }
  .ts-export-file > strong { font-size: 22px; }
  .ts-export-download { width: 47px; height: 47px; }
  .ts-export-download svg { width: 23px; height: 23px; }

  .ts-scale { --route-node: 60px; }
  .ts-scale-heading .section-title { font-size: clamp(35px, 10.5vw, 64px); }
  .ts-scale-route { grid-template-columns: minmax(0, 1fr); }
  .ts-scale-route::before {
    inset: 26px auto 35px calc(var(--route-node) / 2);
    width: 1px;
    height: auto;
    background: linear-gradient(var(--route-line) 35%, var(--route-highlight));
    transform-origin: center top;
  }
  .ts-scale-route.beat-in-view::before { animation-name: trace-route-vertical; }
  .ts-scale-stop { display: grid; grid-template-columns: var(--route-node) minmax(0, 1fr); gap: 19px; }
  .ts-scale-node { outline-width: 7px; }
  .ts-scale-copy { margin-top: 1px; }
  .ts-scale-copy p { margin-top: 7px; font-size: 14px; }
  .ts-plan-link { margin-inline: calc(var(--route-node) + 19px) 0; }
}

@keyframes trace-route-vertical {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.motion-paused .ts-scale-route.beat-in-view::before { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .ts-scale-route.beat-in-view::before { animation: none; }
}

/* capabilities-extra.css */
.ts-task-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3.5vw, 44px);
  margin-bottom: clamp(18px, 2.3vw, 28px);
}

.ts-task-group h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font: 500 clamp(18px, 2vw, 25px)/1.2 var(--font-display);
  letter-spacing: -.022em;
}

.ts-task-group .ts-task-picker {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 0;
}

.ts-task-group .ts-task { min-height: 76px; }
.ts-task-group .ts-task[aria-pressed="false"] { background: var(--bg); }
.ts-task-group .ts-task[aria-pressed="false"]:active { background: var(--surface-soft); }

.ts-capability-illustration {
  display: block;
  width: min(90%, 460px);
  height: auto;
}

.ts-art-dark { fill: var(--media); }
.ts-art-mid { fill: #596273; }
.ts-art-white { fill: #fff; }
.ts-art-accent { fill: var(--coral); }

.ts-capability-illustration :is(.ts-art-white-stroke, .ts-art-muted-stroke, .ts-art-accent-stroke) {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ts-art-white-stroke { stroke: #fff; }
.ts-art-muted-stroke { stroke: #838B99; }
.ts-art-accent-stroke { stroke: var(--coral); }

@media (hover: hover) and (pointer: fine) {
  .ts-task-group .ts-task[aria-pressed="false"]:hover { background: var(--surface-soft); }
}

@media (max-width: 760px) {
  .ts-task-groups { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ts-task-group h3 { margin-bottom: 8px; }
  .ts-task-group .ts-task { min-height: 64px; gap: 6px; padding: 7px 4px; }
  .ts-task-group .ts-task svg { width: 22px; height: 22px; }
}

/* product-demo.css */
.product-demo {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: clamp(10px, 2vw, 26px);
  padding: clamp(18px, 3.3vw, 48px);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms var(--ease), visibility 0s linear 240ms;
}

.product-demo:is([data-stage="brief"], [data-stage="board"]) {
  visibility: visible;
  opacity: 1;
  transition: opacity 240ms var(--ease);
}

.product-demo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 92% 102%, #4b2625 0%, #22232d 48%, #14151d 79%);
}

.demo-heading {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  max-width: 100%;
  padding: 6px 10px 6px 6px;
  border-radius: var(--radius-controls);
  color: var(--cinema-ink);
  background: #101216eb;
  font-size: 12px;
}
.demo-heading img { flex: none; }

.demo-brief-label {
  margin-block-end: 8px;
  color: var(--kit-coral-bright);
  font-size: clamp(12px, 1.15vw, 16px);
  font-weight: 600;
}

.demo-beat {
  grid-row: 2;
  grid-column: 1;
  position: relative;
  align-self: center;
  min-width: 0;
  opacity: 0;
  transform: translateY(9px);
  transition: opacity 200ms var(--ease), transform 280ms var(--ease);
}

.product-demo[data-stage="brief"] .demo-brief,
.product-demo[data-stage="board"] .demo-board {
  opacity: 1;
  transform: translateY(0);
}

.demo-brief .demo-title { margin: 0; }

.demo-title {
  max-width: 18ch;
  font: 500 clamp(27px, 3.35vw, 53px)/1.07 var(--font-display);
  letter-spacing: -.04em;
  text-wrap: balance;
}

.demo-shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(6px, 1.1vw, 15px);
  margin-top: clamp(12px, 2vw, 24px);
}

.demo-shots img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid #f5f6f82b;
  border-radius: var(--radius-controls);
  transform: translateY(9px);
  opacity: 0;
  transition: opacity 230ms var(--ease), transform 300ms var(--ease);
}

.product-demo[data-stage="board"] .demo-shots img {
  opacity: 1;
  transform: translateY(0);
}

.demo-shots img:nth-child(2) { transition-delay: 100ms; }
.demo-shots img:nth-child(3) { transition-delay: 180ms; }
.product-demo[data-stage="result"] .demo-shots img { transition-delay: 0s; }

.demo-result {
  position: absolute;
  z-index: 1;
  inset-block-start: clamp(10px, 1.3vw, 20px);
  inset-inline-start: clamp(10px, 1.3vw, 20px);
  width: fit-content;
  max-width: 100%;
  padding: 6px 11px;
  border-radius: var(--radius-controls);
  background: #101216ec;
  color: var(--cinema-ink);
  font-size: clamp(13px, 1.45vw, 16px);
  opacity: 0;
  pointer-events: none;
}

.demo-completed.has-frame .demo-result { animation: demo-result 2700ms var(--ease) both; }

@keyframes demo-result {
  0% { opacity: 0; transform: translateY(6px); }
  15%, 75% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(0); }
}

@media (min-width: 761px) and (max-width: 940px) {
  .product-demo { gap: 8px; padding: 14px; }
  .demo-title { font-size: clamp(23px, 3.1vw, 30px); }
  .demo-shots { margin-top: 10px; }
  .demo-shots img { aspect-ratio: 16 / 8; }
}

@media (max-width: 760px) {
  .product-demo { gap: 18px; }
  .demo-shots img { aspect-ratio: 4 / 5; }
  .demo-title { font-size: clamp(29px, 7.8vw, 46px); }
}

.motion-paused .product-demo { transition: none; }
.motion-paused .demo-completed.has-frame .demo-result { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .product-demo { display: none; }
  .demo-completed.has-frame .demo-result { animation: none; }
}

/* footer.css */
.scoody-footer {
  border-block-start: 1px solid var(--media-line);
  color: var(--cinema-ink);
  --footer-touch: var(--geometry-mobile-touch-target, 44px);
}

.scoody-footer__main {
  display: grid;
  grid-template-columns: clamp(164px, 18vw, 254px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(26px, 4vw, 56px);
  padding-block: clamp(24px, 2.8vw, 40px);
}

.scoody-footer .brand {
  width: fit-content;
  min-block-size: var(--footer-touch);
  max-width: 100%;
}

.scoody-footer .brand span { font-size: clamp(29px, 2.4vw, 37px); }

.scoody-footer__identity p {
  margin-block-start: 5px;
  color: var(--cinema-muted);
  font-size: 14px;
}

.scoody-footer__pricing {
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  min-block-size: var(--footer-touch);
  margin-block-start: 8px;
  color: var(--route-highlight, var(--dark-selection-ink));
  font-size: 14px;
  text-underline-offset: .22em;
}

.scoody-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px clamp(14px, 2.4vw, 36px);
}

.scoody-footer__group h3 {
  margin-block: 0 4px;
  font: 600 14px/1.45 var(--font-body);
  letter-spacing: 0;
}

.scoody-footer__group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.scoody-footer__group a,
.scoody-footer__utility :is(a, button) {
  display: flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-block-size: var(--footer-touch);
  color: var(--cinema-muted);
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: break-word;
  text-underline-offset: .22em;
}

.scoody-footer__utility {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 10px;
  border-block-start: 1px solid var(--media-line);
  padding-block: 6px calc(8px + env(safe-area-inset-bottom, 0px));
}

.scoody-footer__controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 clamp(8px, 2vw, 24px);
}

.scoody-footer__controls button {
  min-inline-size: var(--footer-touch);
  padding: 0 4px;
  justify-content: center;
}

@media (hover: hover) and (pointer: fine) {
  .scoody-footer :is(.scoody-footer__group a, .scoody-footer__utility a, .scoody-footer__utility button, .scoody-footer__pricing):hover {
    color: var(--cinema-ink);
    text-decoration: underline;
  }
}

@media (min-width: 761px) and (hover: hover) and (pointer: fine) {
  .scoody-footer__group a { min-block-size: 36px; }
}

@media (max-width: 760px) {
  .scoody-footer__main {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding-block: 22px 14px;
  }

  .scoody-footer__identity {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    column-gap: 12px;
  }

  .scoody-footer__identity p { grid-column: 1; }
  .scoody-footer__pricing {
    grid-area: 1 / 2;
    margin: 0;
  }
}

@media (max-width: 579px) {
  .scoody-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 18px; }
  .scoody-footer__company {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0 13px;
    min-block-size: var(--footer-touch);
    border-block-start: 1px solid var(--media-line);
  }

  .scoody-footer__company h3 { margin: 0; }
  .scoody-footer__company ul { display: flex; flex-wrap: wrap; gap: 0 clamp(10px, 3.5vw, 24px); }
  .scoody-footer__utility { padding-block-start: 3px; }
}

/* mobile-polish.css */
@media (max-width: 760px) {
  :root {
    --gutter: max(25px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  }

  .product .section-title { font-size: clamp(31px, 9.5vw, 54px); }
  .product-demo { padding-inline: var(--gutter); }
  .demo-result { left: var(--gutter); }
  .demo-shots img:nth-child(2) { object-position: 35% center; }
  .demo-shots img:nth-child(3) { object-position: 65% center; }
}

@media (max-width: 360px) {
  :root {
    --gutter: max(20px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  }
}

@media (max-width: 760px) and (max-height: 700px) {
  .hero { height: auto; min-height: 100svh; }
  .hero-copy { padding-block: clamp(34px, 9svh, 60px) 20px; }
  .hero-invitation > p { margin-top: 20px; }
  .hero-copy .button { margin-top: 23px; }
  .hero-bottom {
    min-height: calc(64px + env(safe-area-inset-bottom, 0px));
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }
}

@media (pointer: coarse) {
  .control:active,
  .mobile-nav a:active,
  .hero-next:active .hero-next-arrow { background: #ffffff14; }

  .media-start:active { background: var(--media-line); }
  .plan-details > summary:active { color: var(--plan-accent); }
  .ts-task[aria-pressed="false"]:active { background: var(--surface-soft); }
}

/* direction.css */
/* Motion is scoped to visible scroll positions. The base layout is the static view. */
.direction-active [data-reveal='text'] {
  opacity: calc(.72 + .28 * var(--reveal, 1));
  transform: translateY(calc((1 - var(--reveal, 1)) * 14px));
}

.direction-active [data-reveal='frame'] {
  opacity: calc(.24 + .76 * var(--reveal, 1));
  transform: translateY(calc((1 - var(--reveal, 1)) * 36px));
}

.direction-active [data-reveal='line'] {
  opacity: calc(.18 + .82 * var(--reveal, 1));
  transform-origin: left center;
  transform: scaleX(calc(.08 + .92 * var(--reveal, 1)));
}

.direction-active [data-reveal]:focus-within {
  opacity: 1;
  transform: none;
}

.hero-title-line {
  display: block;
  overflow: hidden;
  padding-block: .055em .13em;
  margin-block: -.055em -.13em;
}

.hero-title-line > span { display: block; }
.hero-title-sequence {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.hero-title-sequence > .hero-title-beat {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
}
.hero-title-sequence > .hero-title-final {
  opacity: 1;
  visibility: visible;
}
@media (prefers-reduced-motion: no-preference) {
  html:not(.motion-paused) .hero-title-beat {
    transform: translateY(.09em);
  }
  html:not(.motion-paused):is(:not([data-hero-title-phase]), [data-hero-title-phase="slogan"]) .hero-title-final,
  html:not(.motion-paused)[data-hero-title-phase="frame"] .hero-title-frame,
  html:not(.motion-paused)[data-hero-title-phase="motion"] .hero-title-motion {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 180ms var(--ease), transform 220ms var(--ease);
  }
  html:not(.motion-paused)[data-hero-title-phase]:not([data-hero-title-phase="slogan"]) .hero-title-final {
    opacity: 0;
    visibility: hidden;
  }
}
/* The cut cues the word. The heading stays in the reading order during the opening. */
.direction-active .hero-title-sequence .hero-title-line > span {
  animation: none;
}
.direction-active .hero-title-line > span { animation: opening-line 650ms var(--ease) 100ms both; }
.direction-active .hero-title-line + .hero-title-line > span { animation-delay: 230ms; }

@keyframes opening-line {
  from { opacity: 0; transform: translateY(94%); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes opening-action {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.direction-active .audience-scene[data-reveal] .audience-film {
  opacity: calc(.27 + .73 * var(--reveal, 1));
  clip-path: inset(0 0 calc((1 - var(--reveal, 1)) * 58%) round var(--radius-panels));
  transform: translateY(calc((1 - var(--reveal, 1)) * 22px));
}
.direction-active .audience-scene[data-reveal]:focus-within .audience-film {
  opacity: 1;
  clip-path: none;
  transform: none;
}

.desktop-nav .nav-login {
  min-height: 42px;
  padding-inline: 16px;
  border: 1px solid #ffffff56;
  border-radius: var(--radius-controls);
  color: var(--white);
}

.hero-next { font-size: 14px; }
.hero-next-arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #ffffff58;
  border-radius: 50%;
  color: #fff;
  font-size: 19px;
  line-height: 1;
}
@media (hover: hover) and (pointer: fine) {
  .desktop-nav .nav-login:hover { opacity: 1; background: #ffffff12; }
  .hero-next:hover .hero-next-arrow { background: #ffffff20; }
}

.mobile-nav .mobile-help,
.mobile-nav .mobile-language { display: none; }

@media (max-width: 760px) {
  .desktop-language { display: none; }
  .hero-next { gap: 8px; font-size: 12px; }
  .hero-next-arrow { width: 34px; height: 34px; font-size: 17px; }

  .mobile-nav { padding: 10px 12px; }
  .mobile-nav :is(a, .mobile-help, .mobile-language) {
    min-height: 46px;
    border-radius: var(--radius-controls);
  }
  .mobile-nav :is(.mobile-help, .mobile-language) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    text-align: left;
    font-size: 15px;
  }
  .mobile-nav .mobile-help { border-top: 1px solid var(--media-line); border-radius: 0; color: #ffb397; }
  .mobile-nav .mobile-language { color: var(--cinema-muted); }
  .mobile-nav [data-language-value] { color: var(--cinema-ink); font-size: 13px; }
  .mobile-nav .nav-login { color: var(--cinema-ink); font-weight: 600; }
}

@media (max-width: 360px) {
  .hero-next { gap: 6px; font-size: 11px; }
}

/* direction-center.css */
.center-workflow {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: start;
  min-height: min(100svh, 62rem);
  padding-block: clamp(32px, 5.25svh, 68px);
  border-radius: var(--radius-panels) var(--radius-panels) 0 0;
  background: var(--media);
  color: var(--media-ink);
}

.roof-track {
  position: relative;
  isolation: isolate;
}

.center-board-runway,
.roof-result-runway { height: 0; }

.center-workflow-header {
  display: grid;
  gap: 10px;
  max-width: none;
  margin-inline: 0;
  text-align: start;
}

.center-chapter-title {
  margin: 0;
  color: var(--media-muted);
  font-family: var(--font-body);
  font-size: clamp(14px, 1.3vw, 18px);
  font-weight: 600;
}

.center-brief {
  max-width: 35ch;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--media-ink);
  font-family: var(--font-display);
  font-size: clamp(27px, 3.15vw, 47px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.center-board {
  max-width: none;
  margin-block-start: clamp(18px, 2.6vw, 36px);
  padding: clamp(14px, 2.1vw, 30px);
  border: 1px solid var(--media-line);
}

.center-board .board-header h3 {
  font-size: clamp(15px, 1.25vw, 20px);
}

.center-board .board-shots {
  margin-top: clamp(12px, 1.35vw, 20px);
}

.center-board-shots li {
  min-width: 0;
}

.center-board-shots li > figure > img,
.center-board .center-projection-detail {
  aspect-ratio: 1;
}

.center-projection-detail {
  --roof-crop-width: 540%;
  --roof-crop-x: -76%;
  --roof-crop-y: -41%;
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-controls);
}

.center-projection-detail img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--roof-crop-width);
  height: auto;
  max-width: none;
  aspect-ratio: auto;
  transform: translate(var(--roof-crop-x), var(--roof-crop-y));
}

.roof-board-hero { display: none; }

.center-result {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  padding-block: var(--scene-padding);
}

.center-result > .wrap {
  width: min(calc(100% - var(--gutter) * 2), max(320px, calc((100svh - max(118px, 15svh)) * 1.776)));
  max-width: var(--scene-content);
}

.center-result-frame {
  min-width: 0;
}

.center-aperture {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-panels);
}

.roof-film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms var(--ease);
}

.roof-film.is-playing { opacity: 1; }

#top .roof-stage .center-result-frame picture > img {
  max-height: none;
  aspect-ratio: 1671 / 941;
  object-fit: contain;
}

@media (min-width: 761px) {
  .center-result { min-height: 100svh; }
}

@media (min-height: 640px) and (prefers-reduced-motion: no-preference) {
  .direction-active:not(.motion-paused) .roof-track[data-roof-active] {
    --roof-runway: min(42svh, 420px);
    --roof-result-runway: min(52svh, 470px);
    margin-block-start: calc(-1 * var(--center-overlap));
  }

  .direction-active:not(.motion-paused) [data-roof-active] .roof-stage {
    position: sticky;
    inset-block-start: 0;
    display: grid;
    min-block-size: 100svh;
    overflow: clip;
    border-radius: var(--radius-panels) var(--radius-panels) 0 0;
  }

  .direction-active:not(.motion-paused) [data-roof-active] .roof-stage > section {
    grid-area: 1 / 1;
    align-items: center;
    min-block-size: 100svh;
    padding-block: clamp(24px, 4svh, 48px);
    border-radius: 0;
  }

  .direction-active:not(.motion-paused) [data-roof-active] .center-board-runway {
    height: var(--roof-runway);
  }

  /* Keep the whole result on the stage after a fast native scroll gesture. */
  .direction-active:not(.motion-paused) [data-roof-active] .roof-result-runway {
    height: var(--roof-result-runway);
  }

  .direction-active:not(.motion-paused) [data-roof-active] .center-board-shots li :is(figure > img, .center-projection-detail) {
    opacity: var(--shot-open, 1);
    transform: translateY(calc((1 - var(--shot-open, 1)) * 12px));
  }

  .direction-active:not(.motion-paused) [data-roof-active] .center-board-shots figcaption {
    opacity: calc(.48 + .52 * var(--shot-open, 1));
  }

  .direction-active:not(.motion-paused) [data-roof-active] .center-result {
    background: transparent;
    pointer-events: none;
  }

  .direction-active:not(.motion-paused) [data-roof-active] .center-result::before {
    position: absolute;
    inset: 0;
    background: var(--cinema);
    opacity: 0;
    transition: opacity 440ms var(--ease);
    content: "";
  }

  .direction-active:not(.motion-paused) [data-roof-active] .center-result > .wrap {
    position: relative;
  }

  .direction-active:not(.motion-paused) [data-roof-active] .center-aperture {
    overflow: visible;
  }

  .direction-active:not(.motion-paused) [data-roof-active] .center-aperture picture {
    opacity: 0;
    transform: var(--roof-match-transform, translateY(54px));
    transform-origin: 0 0;
    clip-path: var(--roof-match-clip, inset(0% round var(--radius-panels)));
    transition: opacity 140ms var(--ease), transform 560ms var(--ease), clip-path 560ms var(--ease);
  }

  .direction-active:not(.motion-paused) [data-roof-active][data-roof-measuring]:not([data-roof-view="result"]) .center-aperture picture {
    transition: none;
  }

  .direction-active:not(.motion-paused) [data-roof-active] .center-result-frame figcaption {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 260ms var(--ease), transform 260ms var(--ease);
  }

  .direction-active:not(.motion-paused) [data-roof-active][data-roof-view="result"] .center-result::before {
    opacity: 1;
  }

  .direction-active:not(.motion-paused) [data-roof-active][data-roof-view="result"] :is(.center-aperture picture, .center-result-frame figcaption) {
    opacity: 1;
    transform: none;
  }

  .direction-active:not(.motion-paused) [data-roof-active][data-roof-view="result"] .center-aperture picture {
    clip-path: inset(0% round var(--radius-panels));
  }

  .direction-active:not(.motion-paused) [data-roof-active][data-roof-view="result"] .center-result-frame figcaption {
    transition-delay: 140ms;
  }
}

@media (min-width: 761px) and (min-height: 640px) {
  .center-board-shots li > figure > img,
  .center-board .center-projection-detail {
    max-height: calc(100svh - 285px);
  }
}

@media (max-width: 760px) {
  .center-brief { font-size: clamp(26px, 7.2vw, 38px); }

  .center-workflow {
    min-height: 0;
    padding-block: 32px 40px;
  }

  .center-board-shots li > figure > img,
  .center-board .center-projection-detail { aspect-ratio: 3 / 5; }

  .center-projection-detail {
    --roof-crop-width: 190%;
    --roof-crop-x: -65%;
    --roof-crop-y: -39%;
  }

  .center-result { padding-block: 22px 58px; }
  .center-result > .wrap { width: min(calc(100% - var(--gutter) * 2), max(240px, calc((100svh - 132px) * .5628))); }
  #top .roof-stage .center-result-frame picture > img { aspect-ratio: 941 / 1672; }
}

@media (max-width: 760px) and (min-height: 640px) and (prefers-reduced-motion: no-preference) {
  .direction-active:not(.motion-paused) .roof-track[data-roof-active] {
    --roof-runway: clamp(280px, 44svh, 450px);
    --roof-result-runway: min(52svh, 420px);
  }

  .direction-active:not(.motion-paused) [data-roof-active] .roof-board-hero {
    position: relative;
    display: grid;
    margin-block-start: 12px;
    aspect-ratio: 7 / 5;
    overflow: hidden;
    background: var(--media);
    border-radius: var(--radius-controls);
  }

  .roof-board-hero > * {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 220ms var(--ease);
  }

  .roof-board-hero > img:first-child { object-position: center 55%; }

  [data-roof-shot="1"] .roof-board-hero > :nth-child(1),
  [data-roof-shot="2"] .roof-board-hero > :nth-child(2),
  [data-roof-shot="3"] .roof-board-hero > :nth-child(3) {
    opacity: 1;
  }

  .direction-active:not(.motion-paused) [data-roof-active] .center-board-shots li :is(figure > img, .center-projection-detail) {
    aspect-ratio: 3 / 2;
    opacity: calc(.37 + .63 * var(--shot-open, 1));
    transform: none;
  }

  [data-roof-shot="1"] .center-board-shots li:nth-child(1) figcaption span:first-child,
  [data-roof-shot="2"] .center-board-shots li:nth-child(2) figcaption span:first-child,
  [data-roof-shot="3"] .center-board-shots li:nth-child(3) figcaption span:first-child {
    color: var(--white);
  }
}

/* direction-tools.css */
/* All twelve tasks occupy one fixed stage; selection never changes page geometry. */
.direction-tools { --cap-stage-height: clamp(440px, 38vw, 520px); padding-block: clamp(64px, 8vw, 124px); overflow-anchor: none; }
.direction-tools .ts-heading { text-align: left; }
.direction-tools .ts-heading .section-title { max-width: none; margin-inline: 0; font-size: clamp(35px, 4.3vw, 68px); }
.direction-tools .ts-tools-layout { display: grid; grid-template-areas: "result result" "production regular"; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 28px clamp(18px, 4vw, 52px); margin-top: clamp(20px, 3vw, 36px); }
.direction-tools .ts-task-groups { display: contents; }
.direction-tools [data-capability-group="production"] { grid-area: production; }
.direction-tools [data-capability-group="regular"] { grid-area: regular; }
.direction-tools .ts-task-group { min-width: 0; }
.direction-tools .ts-task-group h3 { margin: 0 0 10px; font-size: clamp(17px, 1.6vw, 22px); font-weight: 500; }
.direction-tools .ts-task-picker { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.direction-tools .ts-task { min-height: 58px; flex-direction: row; justify-content: flex-start; gap: 7px; padding: 9px; text-align: start; }
.direction-tools .ts-task span { overflow-wrap: normal; }
.direction-tools .ts-task svg { width: 19px; height: 19px; }
.direction-tools .ts-results { grid-area: result; height: var(--cap-stage-height); min-width: 0; overflow-anchor: none; }
.direction-tools .ts-result { grid-template: minmax(0, 1fr) / minmax(0, 1.5fr) minmax(0, 1fr); align-items: stretch; width: 100%; height: 100%; min-height: 0; border: 0; background: var(--media); color: var(--media-ink); }
.direction-tools .ts-result-art { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; align-content: center; gap: 16px; height: 100%; min-height: 0; padding: clamp(20px, 2.6vw, 38px); background: #1a1d25; }
.direction-tools .ts-result-copy { min-width: 0; min-height: 0; gap: 12px; padding: clamp(22px, 3vw, 42px); border-inline-start: 1px solid var(--media-line); }
.direction-tools .ts-result-copy h3 { font-size: clamp(25px, 2.6vw, 38px); overflow-wrap: normal; text-wrap: balance; }
.direction-tools .ts-result-copy p { max-width: 34ch; color: var(--media-muted); }
.direction-tools .ts-result-copy .direction-tool-example { margin: 0; color: #ffb19c; font-size: 13px; font-weight: 600; }
.direction-tool-preview { position: relative; display: grid; width: 100%; height: 100%; min-height: 0; margin: 0; overflow: hidden; isolation: isolate; border-radius: var(--radius-controls); background: var(--media); }
.direction-tool-preview picture { display: block; grid-area: 1 / 1; width: 100%; height: 100%; min-height: 0; }
.direction-tool-preview.case-clip::after { content: none; }
.case-clip > video { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.direction-tool-preview img { grid-area: 1 / 1; width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center; }
.direction-tool-preview::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgb(16 18 22 / 88%)); pointer-events: none; }
.direction-tool-preview figcaption { position: absolute; z-index: 1; inset: auto 14px 14px; color: var(--media-ink); font-size: 12px; line-height: 1.4; font-weight: 600; }
.direction-tools :is(#ts-result-video, #ts-result-ad, #ts-result-photo, #ts-result-presenter, #ts-result-captions) .ts-result-art { grid-template-rows: minmax(0, 1fr); }
.direction-tool-photo { background: radial-gradient(ellipse at 50% 65%, #482237, var(--media) 83%); }
.direction-tool-photo img { object-fit: contain; }
.direction-tools :is(#ts-result-presenter, #ts-result-captions) .direction-tool-preview img { object-position: center 35%; }
.direction-tool-art-title { justify-self: start; color: var(--media-ink); font-size: clamp(14px, 1.5vw, 19px); line-height: 1.4; font-weight: 600; }
.direction-tool-paper { width: min(100%, 580px); }
.direction-tool-paper ol { margin: 18px 0 0; padding: 0; list-style: none; }
.direction-tool-paper li { display: grid; grid-template-columns: 85px minmax(0, 1fr); align-items: baseline; gap: 14px; padding-block: clamp(14px, 1.7vw, 22px); border-top: 1px solid var(--media-line); color: var(--media-ink); font-size: clamp(14px, 1.5vw, 22px); line-height: 1.3; }
.direction-tool-paper li:last-child { padding-bottom: 0; }
.direction-tool-time { color: var(--media-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.direction-tool-reference { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 18px; }
.direction-tool-reference img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-controls); }
.direction-tool-caption { margin-top: 6px; color: var(--media-muted); font-size: 12px; }
.direction-tool-scenes, .direction-tool-reel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; margin: 0; padding: 0; gap: 8px; list-style: none; }
.direction-tool-shot { display: grid; min-width: 0; gap: 8px; color: var(--media-muted); font-size: 12px; line-height: 1.35; }
.direction-tool-shot img { width: 100%; aspect-ratio: 1.3; object-fit: cover; border-radius: 4px; }
.direction-tools #ts-result-storyboard .ts-result-art { grid-template-rows: auto auto; }
.direction-tools #ts-result-edit .ts-result-art { grid-template-rows: minmax(0, 1fr) auto; }
.direction-tool-reel { padding-top: 8px; border-top: 2px solid var(--kit-coral-bright); }
.direction-tool-reel .direction-tool-shot img { aspect-ratio: 2.15; }
.direction-tool-preview-first, .direction-tool-preview-middle { opacity: 0; }
.direction-tool-dual-captions { display: grid; justify-items: start; gap: 5px; }
.direction-tool-dual-captions span { padding: 3px 7px; border: 1px solid var(--media-line); border-radius: 4px; background: var(--media); }
.direction-tool-dual-captions b { margin-inline-end: 5px; color: var(--media-muted); }
.direction-tools .ts-art-sound { gap: 22px; }
.direction-tools .ts-sound-track { width: 100%; color: var(--media-muted); }
.direction-tools .ts-sound-added { width: 79%; color: #ffb19c; }
.direction-tool-calendar { display: grid; width: min(100%, 430px); gap: 16px; border: 1px solid var(--media-line); border-radius: var(--radius-panels); padding: clamp(14px, 2.2vw, 26px); background: var(--media); }
.direction-tool-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; margin: 0; padding: 0; list-style: none; }
.direction-tool-days li { display: grid; min-height: 34px; place-items: center; color: var(--media-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.direction-tool-days .is-planned { border-radius: var(--radius-controls); color: var(--white); background: var(--coral); font-weight: 600; }
.direction-tool-entry { display: flex; align-items: center; gap: 12px; min-width: 0; border-top: 1px solid var(--media-line); padding-top: 14px; font-size: 13px; font-weight: 600; }
.direction-tool-entry img { width: 72px; flex: 0 0 72px; aspect-ratio: 1.7; object-fit: cover; border-radius: 4px; }
.direction-tool-entry p + p { margin-top: 4px; color: var(--media-muted); font-size: 12px; font-weight: 400; }
@media (max-width: 1160px) {
  .direction-tools .ts-task { flex-direction: column; justify-content: center; text-align: center; min-height: 76px; }
}
@media (max-width: 760px) {
  .direction-tools {
    --cap-mobile-media: clamp(216px, 60.52vw, 236px);
    --cap-mobile-copy: 185px;
    --cap-stage-height: calc(var(--cap-mobile-media) + var(--cap-mobile-copy));
  }
  .direction-tools .ts-heading .section-title { font-size: clamp(30px, 8.8vw, 44px); }
  .direction-tools .ts-tools-layout { grid-template-areas: "production" "regular" "result"; grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
  .direction-tools .ts-task { min-height: 64px; height: 64px; padding: 4px; gap: 4px; font-size: 12px; }
  .direction-tools .ts-task svg { width: 16px; height: 16px; }
  .direction-tools .ts-task-picker { gap: 6px; }
  .direction-tools .ts-result { grid-template: var(--cap-mobile-media) minmax(0, 1fr) / minmax(0, 1fr); }
  .direction-tools .ts-result-art { padding: 16px; gap: 10px; }
  .direction-tools .ts-result-copy { align-content: center; padding: 12px 16px; gap: 8px; border-inline-start: 0; border-top: 1px solid var(--media-line); }
  .direction-tools .ts-result-copy h3 { font-size: 22px; line-height: 1.12; }
  .direction-tools .ts-result-copy p { max-width: none; font-size: 14px; line-height: 1.45; }
  .direction-tools .ts-result-copy .direction-tool-example { font-size: 12px; }
  .direction-tool-paper ol { margin-top: 12px; }
  .direction-tool-paper li { grid-template-columns: 78px minmax(0, 1fr); gap: 10px; padding-block: 12px; font-size: 15px; }
  .direction-tool-paper li:last-child { padding-bottom: 0; }
  .direction-tool-reference { gap: 12px; }
  .direction-tool-preview img { object-fit: contain; }
  .direction-tool-preview picture { overflow: hidden; }
  .direction-tools :is(#ts-result-ad, #ts-result-presenter, #ts-result-captions) .direction-tool-preview img { object-fit: cover; }
  .direction-tool-dual-captions { font-size: 11px; }
  .direction-tool-calendar { gap: 12px; padding: 12px; }
  .direction-tool-entry { padding-top: 10px; }
  .direction-tool-entry img { width: 58px; flex-basis: 58px; }
}
@media (max-width: 340px) {
  .direction-tools { --cap-mobile-copy: 200px; }
  .direction-tools .ts-task { min-height: 68px; height: 68px; }
}
@media (prefers-reduced-motion: reduce) {
  .direction-tools .direction-tool-photo img { transform: none; }
}

/* direction-end.css */
/* Each connector starts at its role and ends at the next one. */
.direction-scale .section-title {
  font-size: clamp(39px, 5.35vw, 74px);
  text-wrap: balance;
}

.direction-scale-route {
  --role-gap: clamp(20px, 3.2vw, 48px);
  gap: var(--role-gap);
}

@media (min-width: 761px) {
  .direction-scale-route { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .direction-scale-route .ts-scale-copy h3 { font-size: clamp(24px, 2.5vw, 38px); }
}

.direction-scale-route::before {
  display: none;
}

.direction-scale-route .ts-scale-node {
  position: relative;
}

.direction-role-line {
  position: absolute;
  inset-block-start: calc(var(--route-node) / 2);
  inset-inline-start: calc(var(--route-node) / 2);
  inline-size: calc(100% + var(--role-gap));
  block-size: 1px;
  background: var(--route-line);
  pointer-events: none;
}

.direction-role-line::after {
  position: absolute;
  inset: 0;
  background: var(--route-highlight);
  content: "";
  transform-origin: left center;
}

.direction-price-rule {
  flex: none;
  inline-size: clamp(24px, 3vw, 44px);
  block-size: 2px;
  background: var(--plan-accent, var(--route-highlight));
  transform-origin: left center;
}

.direction-pricing {
  background: linear-gradient(#14171e calc(100% - clamp(44px, 6vw, 90px)), var(--media));
}

.direction-pricing-heading {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2.2vw, 28px);
}

.direction-pricing-heading .section-title {
  font-size: clamp(35px, 4.35vw, 63px);
}

.direction-active .direction-role-line::after {
  transform: scaleX(var(--reveal, 1));
}

/* Keep the mark's measuring box in HTML and the SVG geometry fixed. */
.direction-final-mark {
  display: flow-root;
}

.direction-final-mark .closing-mark {
  width: clamp(74px, 7.6vw, 110px);
  transform: scale(1.12);
}

.direction-active:not(.motion-paused) .direction-finale:not(:target) .closing-mark {
  --mark-accent: clamp(0, calc((var(--reveal, 1) - .76) / .24), 1);
  transform: scale(calc(1 + var(--mark-accent) * .12));
}

.direction-active:not(.motion-paused) .direction-finale:not(:target) .direction-final-mark {
  --mark-join: clamp(0, calc(var(--reveal, 1) / .56), 1);
  --mark-plate: clamp(0, calc((var(--reveal, 1) - .56) / .44), 1);
}

.direction-final-mark .loop-left { --loop-offset: -5.5px; }
.direction-final-mark .loop-right { --loop-offset: 5.5px; }

.direction-active:not(.motion-paused) .direction-finale:not(:target) .closing-mark-loop {
  opacity: calc(.25 + var(--mark-join) * .75);
  transform: translateX(calc(var(--loop-offset) * (1 - var(--mark-join))));
}

.direction-active:not(.motion-paused) .direction-finale:not(:target) .closing-mark-plate {
  opacity: var(--mark-plate);
}

.direction-active .direction-finale:target [data-reveal],
.direction-active.motion-paused .direction-finale [data-reveal] {
  opacity: 1;
  transform: none;
}

@media (max-width: 760px) {
  .direction-scale .section-title {
    font-size: clamp(35px, 10.5vw, 62px);
  }

  .direction-role-line {
    inline-size: 1px;
    block-size: calc(100% + var(--role-gap));
  }

  .direction-role-line::after {
    transform-origin: center top;
  }

  .direction-active .direction-role-line::after {
    transform: scaleY(var(--reveal, 1));
  }
}

@media (prefers-reduced-motion: reduce) {
  .direction-active .direction-role-line::after,
  .direction-active .direction-finale [data-reveal],
  .direction-active:not(.motion-paused) .direction-finale:not(:target) :is(.closing-mark-loop, .closing-mark-plate) {
    opacity: 1;
    transform: none;
  }
}

/* guest-chat.css */
.guest-chat {
  --guest-edge: 24px;
  --guest-touch: var(--geometry-mobile-touch-target, 44px);
  --guest-launcher-size: max(46px, var(--guest-touch));
  color: var(--ink);
}

.guest-chat-launcher {
  position: fixed;
  right: max(var(--guest-edge), env(safe-area-inset-right));
  bottom: max(var(--guest-edge), env(safe-area-inset-bottom));
  z-index: 30;
  inline-size: var(--guest-launcher-size);
  block-size: var(--guest-launcher-size);
}

.guest-chat-launcher-docked:not(:focus-within) { visibility: hidden; }
@media (max-width: 760px) {
  .guest-chat-launcher-quiet:not(:focus-within) { visibility: hidden; }
}

.guest-chat-open {
  position: relative;
  display: block;
  inline-size: 100%;
  block-size: 100%;
  padding: 0;
  border-radius: 15px;
  box-shadow: 0 5px 18px #10121638;
}

.guest-chat-open img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
}

.guest-chat-open::after {
  position: absolute;
  inset: 6px 6px auto auto;
  inline-size: 7px;
  block-size: 7px;
  background: var(--white);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  opacity: .65;
  pointer-events: none;
  content: "";
}

.guest-chat-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: var(--guest-touch);
  height: var(--guest-touch);
  border-radius: var(--radius-controls);
  color: var(--muted);
  font-size: 23px;
  line-height: 1;
}

.guest-chat-dismiss {
  display: none;
}

.guest-chat-hide {
  display: none;
}

@media (min-width: 761px) {
  .guest-chat-dismiss {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-end: 100%;
    display: grid;
    place-items: center;
    inline-size: var(--guest-touch);
    block-size: var(--guest-touch);
    padding: 0;
    border-radius: var(--radius-controls);
    color: var(--muted);
    visibility: hidden;
    transform: translateY(-50%);
  }

  .guest-chat-dismiss > span {
    display: grid;
    place-items: center;
    inline-size: 26px;
    block-size: 26px;
    border-radius: 50%;
    background: var(--raised);
    box-shadow: 0 2px 9px #10121624;
    font-size: 18px;
    line-height: 1;
  }

  .guest-chat-launcher:focus-within .guest-chat-dismiss {
    visibility: visible;
  }
}

@media (min-width: 761px) and (hover: hover) and (pointer: fine) {
  .guest-chat-launcher:hover .guest-chat-dismiss {
    visibility: visible;
  }

  .guest-chat-dismiss:hover > span {
    background: var(--surface-soft);
    color: var(--ink);
  }
}

@media (max-width: 760px), (hover: none) {
  .guest-chat-hide {
    display: flex;
    align-items: center;
    min-block-size: var(--guest-touch);
    margin: 6px 0 -4px auto;
    padding: 0 6px;
    color: var(--muted);
    font-size: var(--type-caption-size);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

.guest-chat-panel {
  position: fixed;
  inset: auto max(var(--guest-edge), env(safe-area-inset-right)) max(var(--guest-edge), env(safe-area-inset-bottom)) auto;
  width: min(416px, calc(100vw - var(--guest-edge) * 2));
  height: min(550px, calc(100dvh - var(--guest-edge) * 2));
  max-height: none;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-dialogs);
  background: var(--raised);
  color: inherit;
  box-shadow: 0 12px 44px #172b2b36;
}

.guest-chat-panel[open] {
  display: flex;
  flex-direction: column;
}

.guest-chat-panel::backdrop {
  background: #10121826;
}

.guest-chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px 13px 18px;
  border-bottom: 1px solid var(--line);
}

.guest-chat-head img {
  flex: 0 0 auto;
}

.guest-chat-head h2 {
  font-size: var(--type-title-size);
  letter-spacing: -.025em;
  line-height: 1.25;
}

.guest-chat-head p {
  margin-top: 3px;
  color: var(--muted);
  font-size: var(--type-caption-size);
}

.guest-chat-close {
  margin-left: auto;
}

.guest-chat-history {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 20px 18px;
  scrollbar-color: var(--control-line) transparent;
}

.guest-chat-welcome h3 {
  margin-bottom: 7px;
  font-size: 22px;
  letter-spacing: -.035em;
  line-height: 1.15;
}

.guest-chat-welcome p,
.guest-chat-turn p {
  font-size: var(--type-body-size);
  line-height: 1.5;
}

.guest-chat-welcome p {
  color: var(--muted);
}

.guest-chat-questions {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.guest-chat-questions > button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-height: var(--guest-touch);
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-controls);
  background: var(--surface);
  color: var(--ink);
  text-align: start;
  font-size: 13px;
  line-height: 1.4;
}

.guest-chat-arrow {
  flex: 0 0 auto;
  color: var(--muted);
}

.guest-chat-turns:not(:empty) {
  margin-top: 18px;
}

.guest-chat-turn + .guest-chat-turn {
  margin-top: 20px;
}

.guest-chat-user {
  width: fit-content;
  max-width: 90%;
  margin-left: auto;
  padding: 8px 12px;
  overflow-wrap: anywhere;
  border-radius: 12px 12px 3px 12px;
  background: var(--surface-soft);
}

.guest-chat-answer {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  margin-top: 12px;
  overflow-wrap: anywhere;
}

.guest-chat-answer > img {
  margin-top: 2px;
}

.guest-chat-answer a {
  display: inline-block;
  margin-top: 8px;
  color: var(--selection-ink);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.guest-chat-compose {
  flex: 0 0 auto;
  padding: 11px 16px 16px;
  border-top: 1px solid var(--line);
  background: var(--raised);
}

.guest-chat-input-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid var(--control-line);
  border-radius: 14px;
  background: var(--input);
}

.guest-chat-input-box:focus-within {
  border-color: var(--focus);
  outline: 1px solid var(--focus);
}

.guest-chat-input-box input {
  flex: 1;
  min-width: 0;
  padding: 9px 6px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
}

.guest-chat-input-box input::placeholder {
  color: var(--muted);
}

.guest-chat-send {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: var(--guest-touch);
  height: var(--guest-touch);
  border-radius: var(--radius-controls);
  background: var(--coral);
  color: var(--white);
}

.guest-chat-send:disabled {
  background: var(--surface-soft);
  color: var(--muted);
  cursor: default;
}

@media (hover: hover) and (pointer: fine) {
  .guest-chat-close:hover,
  .guest-chat-questions > button:hover {
    background: var(--surface-soft);
    color: var(--ink);
  }

  .guest-chat-send:not(:disabled):hover {
    background: var(--hover);
  }

  .guest-chat-open:hover::after { opacity: .96; }
}

@media (max-width: 760px) {
  .guest-chat {
    --guest-edge: 14px;
  }

  .guest-chat-panel {
    inset: 0;
    width: 100%;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .guest-chat-head {
    padding-top: max(13px, env(safe-area-inset-top));
    padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
  }

  .guest-chat-history {
    padding-inline: max(18px, env(safe-area-inset-left)) max(18px, env(safe-area-inset-right));
  }

  .guest-chat-compose {
    padding-bottom: max(14px, env(safe-area-inset-bottom));
    padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
  }

  html.guest-chat-open-state {
    overflow: hidden;
  }
}

/* pricing-v9.css */
.pricing-v9 .plans {
  grid-template-columns: minmax(0, 1fr);
}

.pricing-v9 .plan {
  display: flex;
  flex-direction: column;
  padding: clamp(16px, 1.65vw, 28px);
}

.pricing-v9 .plan-details {
  margin-bottom: 16px;
}

.pricing-v9 .plan-features dd {
  min-width: 0;
  max-width: 50%;
  text-align: end;
  overflow-wrap: anywhere;
}

.pricing-v9 .plan-balance dd {
  max-width: none;
  text-align: start;
}

.pricing-v9 .plan[data-plan="creator-pro"] {
  background: linear-gradient(150deg, #362a2d, var(--plan-card) 55%);
}

.pricing-v9 .plan-subscribe {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  border: 1px solid var(--plan-line);
  border-radius: var(--radius-controls);
  padding: 10px 14px;
  background: var(--plan-tint);
  color: var(--cinema-ink);
  line-height: 1.3;
  font-weight: 600;
  transition: background-color var(--motion-hover-ms) var(--ease);
}

.pricing-v9 .plan-subscribe-mark {
  flex: none;
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
}

.pricing-v9 .plan-subscribe[aria-pressed="true"] {
  border-color: transparent;
  background: var(--coral);
  color: var(--white);
}

.pricing-v9 .plan-subscribe:focus-visible {
  outline-color: var(--plan-accent);
}

.pricing-v9 .pricing-v9-status {
  margin-top: 18px;
  color: var(--cinema-muted);
  font-size: 14px;
}

.pricing-v9 .plan-trial-status {
  margin-bottom: 10px;
  color: var(--cinema-muted);
  font-size: var(--type-caption-size);
  line-height: 1.35;
}

@media (hover: hover) and (pointer: fine) {
  .pricing-v9 .plan-subscribe:hover {
    background-color: var(--plan-line);
  }

  .pricing-v9 .plan-subscribe[aria-pressed="true"]:hover {
    background-color: var(--hover);
  }
}

@media (min-width: 761px) {
  .pricing-v9 .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
}

@media (min-width: 1120px) {
  .pricing-v9 .plans {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-v9 .plan-subscribe {
    transition: none;
  }
}

.pricing-v9 .trial-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(1.25rem, 2vw, 2rem) 0;
  border-block: 1px solid var(--plan-line);
}
.trial-entry h3 { font: 500 1.5rem/1.2 var(--font-display); }
.trial-entry p { margin: .35rem 0 0; color: var(--cinema-muted); }
.trial-entry .button { flex-shrink: 0; }
@media (min-width: 761px) {
  .pricing-v9 .plan-purpose { min-height: 2.8em; }
}
@media (max-width: 600px) {
  .pricing-v9 .trial-entry { flex-direction: column; align-items: stretch; }
  .trial-entry .button { align-self: start; }
}

/* scene-rhythm.css */
/* The full-width scenes share the same inner edge as the hero and footer. */
#top {
  --scene-content: 1600px;
  --scene-padding: clamp(48px, 7.25svh, 82px);
}

#top > section > .wrap {
  min-width: 0;
  max-width: var(--scene-content);
}

#top .workflow-board {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

#top > section:not(.hero) {
  display: grid;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: var(--scene-padding);
}

@media (min-width: 761px) {
  #top > .hero {
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    max-height: none;
  }

  #top .closing-stage {
    padding-block: 0;
  }

  #top .center-result-frame picture > img {
    max-height: max(380px, calc(100svh - 2 * var(--scene-padding) - 50px));
    object-position: center 52%;
  }
}

@media (min-width: 761px) and (max-height: 780px) {
  #top .hero-copy {
    padding-block: clamp(32px, 6svh, 60px) 24px;
  }
}

@media (max-width: 760px) {
  #top {
    --scene-padding: clamp(48px, 9vw, 66px);
  }

  #top .product-film {
    width: 100%;
    margin-inline: 0;
    border-radius: var(--radius-panels);
  }

  #top .closing-stage {
    padding-block: 0;
  }
}

/* direction-drum.css */
.center-sequence {
  position: relative;
  isolation: isolate;
  --center-overlap: clamp(18px, 4svh, 40px);
}

.center-control {
  display: grid;
  isolation: isolate;
  align-items: center;
  padding-block: clamp(48px, 7svh, 84px) calc(clamp(48px, 7svh, 84px) + var(--center-overlap));
}

.center-control-layout {
  display: grid;
  gap: clamp(23px, 4svh, 44px);
}

.center-control-heading {
  text-align: center;
}

.center-control .section-title {
  font-size: clamp(39px, 6.2vw, 91px);
  text-wrap: balance;
}

.center-control-heading > p {
  max-width: 57ch;
  margin: clamp(12px, 2svh, 21px) auto 0;
  color: var(--muted);
  font-size: clamp(16px, 1.55vw, 21px);
  text-wrap: balance;
}

.center-drum {
  width: 100%;
  min-width: 0;
  border-radius: var(--radius-panels);
  background: var(--media);
  color: var(--media-ink);
}

.center-drum-phases {
  display: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

.center-drum-phases li {
  position: relative;
  padding: 14px 8px;
  border-block-end: 1px solid var(--media-line);
  color: var(--media-muted);
  text-align: center;
  font-size: clamp(12px, 1.2vw, 16px);
  font-weight: 600;
}

.center-drum-phases li::after {
  position: absolute;
  inset: auto 14% -1px;
  height: 2px;
  background: var(--kit-coral-bright);
  transform: scaleX(0);
  content: "";
}

.center-sequence:is([data-drum-phase="0"], :not([data-drum-phase])) [data-phase="0"],
.center-sequence[data-drum-phase="1"] [data-phase="1"],
.center-sequence[data-drum-phase="2"] [data-phase="2"],
.center-sequence[data-drum-phase="3"] [data-phase="3"] {
  color: var(--white);
}

.center-sequence:is([data-drum-phase="0"], :not([data-drum-phase])) [data-phase="0"]::after,
.center-sequence[data-drum-phase="1"] [data-phase="1"]::after,
.center-sequence[data-drum-phase="2"] [data-phase="2"]::after,
.center-sequence[data-drum-phase="3"] [data-phase="3"]::after {
  transform: scaleX(1);
}

.center-drum-reel {
  position: relative;
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.center-drum-step {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: center;
  min-width: 0;
  gap: clamp(22px, 5vw, 68px);
  padding: clamp(21px, 3vw, 45px);
  border-block-end: 1px solid var(--media-line);
}

.center-drum-step:last-child { border-block-end: 0; }

.drum-step-count {
  margin: 0 0 8px;
  color: var(--dark-selection-ink);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.drum-step-count span { color: var(--media-muted); }

.drum-step-copy h3 {
  font: 600 clamp(23px, 3vw, 43px)/1.06 var(--font-display);
  letter-spacing: -.04em;
  text-wrap: balance;
}

.drum-step-copy > p:last-child {
  max-width: 38ch;
  margin-top: 11px;
  color: var(--media-muted);
  font-size: clamp(14px, 1.4vw, 19px);
  line-height: 1.5;
}

.drum-demo {
  position: relative;
  display: grid;
  align-content: center;
  min-width: 0;
  min-height: 170px;
  max-width: 100%;
  gap: 7px;
  padding: clamp(16px, 2.2vw, 30px);
  overflow: hidden;
  border: 1px solid var(--media-line);
  border-radius: var(--radius-controls);
  background: var(--dark-surface);
}

.drum-demo > span,
.drum-demo > p,
.drum-demo > s {
  color: var(--media-muted);
  font-size: clamp(12px, 1.15vw, 15px);
}

.drum-demo strong {
  font: 500 clamp(22px, 2.4vw, 38px)/1.12 var(--font-display);
  letter-spacing: -.035em;
  text-wrap: balance;
}

.drum-demo-brief { border-inline-start: 2px solid var(--kit-coral-bright); }

.drum-demo-idea > :is(span,strong) {
  position: relative;
  z-index: 1;
}

.drum-idea-beam {
  position: absolute;
  inset: auto -13% -40% 17%;
  height: 96%;
  background: linear-gradient(170deg, transparent 17%, var(--dark-selection) 40%, var(--coral) 69%, transparent 86%);
  transform: rotate(-13deg);
  opacity: .58;
}

.drum-demo-edit s { margin-block-start: 4px; }

.drum-board-count {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  max-width: 280px;
  margin-top: 9px;
}

.drum-board-count span {
  padding: 4px 6px;
  border-block-start: 1px solid var(--kit-coral-bright);
  color: var(--media-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.drum-cost-factors {
  display: grid;
  gap: 5px;
  padding-top: 5px;
  font-size: clamp(14px, 1.3vw, 18px);
}

.drum-cost-factors span {
  border-block-start: 1px solid var(--media-line);
  padding-block-start: 4px;
}

.drum-demo-ready {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 14px;
  background: var(--dark-selection);
}

.drum-demo-ready img {
  grid-row: 1 / 3;
  width: clamp(35px, 5vw, 48px);
  height: auto;
}

@media (min-width: 960px) {
  .center-control-heading .section-title {
    font-size: clamp(43px, 5.4vw, 82px);
  }

  .center-drum-phases {
    position: sticky;
    top: 0;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-radius: var(--radius-panels) var(--radius-panels) 0 0;
    background: var(--media);
  }

  .center-drum-step {
    min-block-size: clamp(282px, 39svh, 378px);
    padding: clamp(30px, 4.2svh, 48px) clamp(34px, 4.1vw, 65px);
  }

  .center-drum-step .drum-demo {
    min-block-size: clamp(185px, 25svh, 262px);
  }
}

@media (max-width: 760px) {
  .center-control-heading { text-align: start; }
  .center-control-heading > p { margin-inline: 0; text-wrap: pretty; }

  .center-drum-step {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
    padding: 21px;
  }

  .drum-demo { min-height: 106px; }
}

/* opening-v11.css */
.direction-active .hero-title-line > span { animation: none; }

.direction-active .hero-next-arrow {
  animation: opening-lift 540ms var(--ease) 120ms both;
}

@keyframes opening-lift {
  from { transform: translateY(10px); }
  to { transform: translateY(0); }
}

.product-layout {
  gap: clamp(28px, 4.6vw, 74px);
  margin-block-start: 0;
}

.product-brief-stack .section-title {
  font-size: clamp(37px, 4.25vw, 68px);
  text-wrap: balance;
}

.direction-active .product-film[data-reveal] {
  transform: translateY(calc((1 - var(--reveal, 1)) * 22px));
}

.creator-scene { --opening-shift: -18px; }
.expert-scene { --opening-shift: 18px; }

.direction-active .audience-scene[data-reveal] .audience-film {
  opacity: calc(.64 + .36 * var(--reveal, 1));
  clip-path: none;
  transform: translate(calc((1 - var(--reveal, 1)) * var(--opening-shift)), calc((1 - var(--reveal, 1)) * 18px));
}

.direction-active .audience-scene[data-reveal]:focus-within .audience-film {
  opacity: 1;
  transform: none;
}

.expert-sound {
  position: absolute;
  inset-block-start: clamp(10px, 1.3vw, 18px);
  inset-inline-end: clamp(10px, 1.3vw, 18px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding-inline: 10px;
  border: 1px solid #ffffff58;
  border-radius: var(--radius-controls);
  background: #101216ec;
  color: #fff;
  font-size: 13px;
}

.expert-sound[aria-pressed="true"] {
  border-color: #ffffff86;
  background: #2d2023;
}

.expert-sound[aria-pressed="false"] .expert-sound-wave,
.expert-sound[aria-pressed="true"] .expert-sound-mute {
  display: none;
}

.expert-scene .ambient-video::cue {
  color: #fff;
  background-color: #101216ee;
  font-size: clamp(16px, 1.65vw, 20px);
  text-shadow: none;
}

.expert-scene .media-start:not([hidden]) {
  inset-block-start: clamp(10px, 1.3vw, 18px);
  inset-inline: clamp(10px, 1.3vw, 18px) auto;
  max-width: calc(100% - 116px);
}

@media (max-width: 760px) {
  .product-brief-stack .section-title { font-size: clamp(31px, 9.5vw, 54px); }
  .creator-scene, .expert-scene { --opening-shift: 0px; }
  .creator-scene .audience-film { aspect-ratio: 9 / 16; }
  .expert-scene .audience-film { aspect-ratio: 4 / 5; }
}


/* Keep comparison and language controls inside the existing catalog panel. */
.direction-tools .case-clip > [hidden] { display: none; }
.direction-tools .case-clip > .case-photo-frame { object-fit: contain; }
.direction-tools .case-options { display: flex; flex-wrap: wrap; gap: 6px; }
.direction-tools .case-options button {
  min-height: 44px;
  padding-inline: 12px;
  border: 1px solid var(--media-line);
  border-radius: var(--radius-controls);
  background: transparent;
  color: var(--media-ink);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.direction-tools .case-options button[aria-pressed="true"] {
  border-color: var(--kit-coral-bright);
  background: var(--dark-selection);
}
.direction-tools .case-clip video::cue { font-size: clamp(12px, 1.25vw, 18px); }
.hero-start { min-width: 44px; padding-inline: 8px; }

.drum-cost-factors { margin: 0; font-variant-numeric: tabular-nums; }
.drum-cost-factors > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-block-start: 1px solid var(--media-line);
  padding-block-start: 4px;
}
.drum-cost-factors dt { color: var(--media-muted); }
.drum-cost-factors dd { margin: 0; text-align: end; }

@media (max-width: 760px) {
  .direction-tools { --cap-mobile-copy: 204px; }
  .drum-cost-factors { font-size: 12px; }
}
@media (max-width: 360px) {
  .direction-tools { --cap-mobile-copy: 224px; }
}

/* The scene starts with the brief and resolves on its material. */
.direction-active .hero-title-line > span { animation: opening-lift 420ms var(--ease) both; }
.direction-active .hero-title-line + .hero-title-line > span { animation-delay: 65ms; }
.drum-step-count { display: flex; align-items: center; gap: 10px; }
.drum-step-count svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.drum-concepts {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-block-start: 6px;
}
.drum-concepts button {
  overflow: hidden;
  min-width: 0;
  padding: 0;
  background: var(--media);
  color: var(--media-ink);
  border: 1px solid var(--media-line);
  border-radius: var(--radius-controls);
  font: inherit;
  font-size: 13px;
  text-align: start;
  cursor: pointer;
}
.drum-concepts img, .drum-board-count img {
  display: block;
  width: 100%;
  height: clamp(54px, 8vw, 104px);
  object-fit: cover;
  object-position: center 46%;
}
.drum-concepts span { display: block; padding: 7px 9px; }
.drum-concepts [aria-pressed="true"] { border-color: var(--kit-coral-bright); }
.drum-board-count { width: 100%; max-width: none; }
.drum-board-count img { border-radius: 4px; }
.drum-board-count span { display: block; margin-block-start: 4px; }
.catalog-modes { display: none; }
.pricing-v9 .plan-subscribe { text-decoration: none; }

@media (max-width: 760px) {
  .direction-tools .ts-tools-layout {
    grid-template-areas: "modes" "result" "choices";
    row-gap: 10px;
  }
  .direction-tools :is([data-capability-group="production"], [data-capability-group="regular"]) {
    grid-area: choices;
  }
  .direction-tools[data-catalog-mode="production"] [data-capability-group="regular"],
  .direction-tools[data-catalog-mode="regular"] [data-capability-group="production"] { display: none; }
  .direction-tools .ts-task-group h3 { display: none; }
  .direction-tools .ts-task { min-height: 56px; height: 56px; }
  .catalog-modes {
    grid-area: modes;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    padding: 4px;
    border-radius: var(--radius-controls);
    background: var(--surface-soft, #f1f2f4);
  }
  .catalog-modes button {
    min-height: 44px;
    padding: 6px 8px;
    color: var(--ink);
    border: 1px solid transparent;
    border-radius: var(--radius-controls);
    background: transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
  }
  .catalog-modes button[aria-pressed="true"] {
    background: var(--media);
    color: var(--media-ink);
  }
}

.drum-result-link {
  grid-column: 2;
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--media-ink);
  text-underline-offset: .25em;
  font-size: 14px;
}

.case-sound {
  position: absolute;
  z-index: 1;
  inset: 8px 8px auto auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--media-line);
  border-radius: var(--radius-controls);
  color: var(--media-ink);
  background: var(--media);
  cursor: pointer;
}
.case-sound svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.case-sound[aria-pressed="false"] .case-sound-on,
.case-sound[aria-pressed="true"] .case-sound-off { display: none; }

.case-audio {
  display: grid;
  width: min(100%, 380px);
  gap: 6px;
  color: var(--media-ink);
  font-size: 14px;
}
.case-audio audio {
  width: 100%;
  max-height: 42px;
  color-scheme: dark;
}
.case-audio label:not(:first-child) { margin-block-start: 6px; }

.drum-concepts button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 8px 10px;
}
.drum-concepts svg {
  flex: 0 0 22px;
  width: 22px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.drum-concepts span { padding: 0; }
.project-sound { z-index: 4; }
.project-sound[hidden] { display: none; }

.center-projection-detail {
  --roof-crop-width: 177.78%;
  --roof-crop-x: -50%;
  --roof-crop-y: -50%;
}
.project-sound { pointer-events: auto; }
@media (max-width: 760px) {
  .center-projection-detail { --roof-crop-width: 106.67%; }
}

/* One work surface from brief to the first cut. */
.direction-studio {
  display: grid;
  grid-template-areas: "brief shot" "options shot" "response shot" "next shot";
  grid-template-columns: minmax(0, .93fr) minmax(0, 1.35fr);
  grid-template-rows: auto auto 1fr auto;
  gap: 18px clamp(20px, 3.1vw, 44px);
  padding: clamp(20px, 3vw, 42px);
  border-radius: var(--radius-panels);
  color: var(--media-ink);
  background: var(--media);
}
.direction-studio-brief { grid-area: brief; }
.direction-studio-label, .direction-studio-options legend {
  color: var(--media-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}
.direction-studio-brief blockquote {
  margin: 5px 0 0;
  font-family: var(--font-display);
  font-size: clamp(19px, 1.95vw, 29px);
  font-weight: 500;
  line-height: 1.22;
  text-wrap: pretty;
}
.direction-studio-options {
  grid-area: options;
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.direction-studio-options legend { padding: 0; }
.direction-studio .drum-concepts button {
  min-height: 44px;
  border-color: var(--media-line);
  touch-action: manipulation;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.direction-studio .drum-concepts button[aria-pressed="true"] {
  background: color-mix(in srgb, var(--kit-coral-bright) 15%, var(--media));
  border-color: var(--kit-coral-bright);
}
.direction-studio .drum-concepts svg { flex-basis: 18px; width: 18px; }
.direction-studio-shot {
  grid-area: shot;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--media-line);
  border-radius: var(--radius-controls);
}
.direction-studio-media { position: relative; min-height: 0; background: var(--media); }
.direction-studio-media :is(img, video) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.direction-studio-media video { opacity: 0; }
.direction-studio-media video.is-playing { opacity: 1; }
.direction-studio-play {
  position: absolute;
  z-index: 4;
  inset: 50% auto auto 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--media-muted);
  border-radius: 50%;
  background: var(--media);
  color: var(--media-ink);
  cursor: pointer;
}
.direction-studio-play[hidden] { display: none; }
.direction-studio-play svg { width: 22px; fill: currentColor; }
.direction-studio-shot figcaption {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-top: 1px solid var(--media-line);
  font-size: 13px;
}
.direction-studio-shot figcaption span:first-child {
  color: var(--media-muted);
  font-variant-numeric: tabular-nums;
}
.direction-studio-response { grid-area: response; min-width: 0; }
.direction-studio-response > p:not(.direction-studio-label) {
  min-height: 2.8em;
  margin: 5px 0 10px;
  line-height: 1.4;
  font-size: 15px;
}
.direction-studio-cost {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 8px;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--media-line);
  font-size: 13px;
}
.direction-studio-cost dt { color: var(--media-muted); }
.direction-studio-cost dd { margin: 2px 0 0; font-variant-numeric: tabular-nums; }
.direction-studio-next { grid-area: next; }
.direction-studio-next .button { display: inline-flex; gap: 12px; min-height: 44px; }

.direction-twenty .drum-demo > p { line-height: 1.45; }
.direction-twenty .drum-demo-brief > p { max-width: 45ch; }
.direction-twenty .drum-demo-ready > :is(strong, p, a) { grid-column: 2; }
.direction-twenty .drum-demo-ready img { grid-row: 1 / 4; }
.direction-twenty .drum-result-link { justify-self: start; }
.direction-twenty .drum-demo-cost dl > div { align-items: baseline; }
.direction-twenty .drum-demo-cost dd strong {
  font-size: clamp(22px, 2.4vw, 32px);
}
.direction-twenty .drum-concepts button[aria-pressed="true"] {
  background: var(--dark-selection);
  color: var(--dark-selection-ink);
}
.direction-twenty [data-beat-active] .drum-step-count span {
  color: var(--dark-selection-ink);
}
@media (min-width: 960px) {
  .direction-twenty .center-drum-step {
    min-block-size: clamp(148px, 20svh, 210px);
    padding-block: clamp(16px, 2.5svh, 25px);
  }
  .direction-twenty .center-drum-step .drum-demo {
    min-block-size: 112px;
    padding-block: 16px;
  }
}
@media (max-width: 760px) {
  .direction-twenty .center-drum-step { padding: 14px 16px; gap: 10px; }
  .direction-twenty .drum-concepts button { gap: 6px; padding-inline: 8px; }
  .direction-twenty .drum-concepts svg { flex-basis: 17px; width: 17px; }
  .direction-active .direction-twenty [data-reveal="text"] { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .direction-active .direction-twenty .center-drum-phases li::after {
    transition: transform 220ms var(--ease);
  }
}
@media (max-width: 760px) {
  #direction.center-control { padding-block-start: 32px; }
  .center-control-layout { gap: 18px; }
  .center-control-heading > p { margin-block-start: 10px; font-size: 14px; line-height: 1.45; }
  .direction-studio {
    grid-template-areas: "brief" "options" "shot" "response" "next";
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }
  .direction-studio-media { aspect-ratio: 16 / 9; }
  .direction-studio-options button { padding: 6px 8px; }
  .direction-studio-next .button { width: 100%; justify-content: center; }

  .direction-tools .ts-tools-layout {
    grid-template-areas: "result" "modes" "choices";
    scroll-margin-block: 12px;
  }
  .direction-tools .ts-task { touch-action: manipulation; }
  .direction-tools .catalog-modes button { touch-action: manipulation; }
}

/* The word and action enter on the same beat as the completed sign. */
.direction-active:not(.motion-paused) [data-closing-stage] .closing-mark {
  transform: none;
}
.direction-active:not(.motion-paused) [data-closing-stage] :is(.closing-mark-loop, .closing-mark-plate) {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: no-preference) {
  html:not(.motion-paused) [data-closing-entered] .closing-mark-loop {
    animation: closing-join 420ms var(--ease) both;
  }
  html:not(.motion-paused) [data-closing-entered] .closing-mark-plate {
    animation: closing-ink 300ms var(--ease) 150ms both;
  }
  html:not(.motion-paused) [data-closing-entered] .section-title {
    animation: closing-words 360ms var(--ease) 255ms both;
  }
  html:not(.motion-paused) [data-closing-entered] > p {
    animation: closing-words 300ms var(--ease) 315ms both;
  }
  html:not(.motion-paused) [data-closing-entered] .direction-final-cta:not(:focus-within) {
    animation: closing-words 300ms var(--ease) 375ms both;
  }
}
@keyframes closing-join {
  from { transform: translateX(var(--loop-offset)); opacity: .72; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes closing-ink { from { opacity: .24; } to { opacity: 1; } }
@keyframes closing-words {
  from { opacity: .25; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

.direction-active .product-film[data-reveal] {
  transform: translateY(calc((1 - var(--reveal, 1)) * 10px));
  opacity: calc(.86 + .14 * var(--reveal, 1));
}
.product-film:not(.has-frame) .product-demo[data-stage="result"] {
  visibility: visible;
  opacity: 1;
  transition: none;
}
.product-film:not(.has-frame) .product-demo[data-stage="result"] :is(.demo-board, .demo-shots img) {
  opacity: 1;
  transform: none;
}


/* The navigation shares a right edge with the studio link. */
@media (min-width: 761px) {
  #top .header.wrap { width: calc(100% - clamp(40px, 5vw, 96px)); max-width: none; gap: clamp(12px, 2vw, 24px); }
}
#top .header-controls { gap: 14px; }
.header-login {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 4px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.header-login:hover { text-decoration: underline; text-underline-offset: .28em; }
@media (max-width: 760px) { .header-login { display: none; } }

.audience-scenes { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 761px) {
  .audiences .wrap { max-width: 1080px; }
  .expert-scene .audience-film { aspect-ratio: 16 / 9; }
}
.direction-twenty .drum-quick-result { position: relative; grid-column: 1; min-height: 44px; }
.plan-availability {
  width: min(420px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 24px;
  border: 1px solid var(--media-line);
  border-radius: var(--radius-dialogs);
  background: var(--plan-card);
  color: var(--media-ink);
}
.plan-availability::backdrop { background: var(--scrim); }
.plan-availability h2 { font: 600 clamp(24px, 4vw, 30px)/1.14 var(--font-display); letter-spacing: -.035em; }
.plan-availability p { margin: 12px 0; color: var(--media-muted); line-height: 1.45; }
.plan-availability .plan-availability-name { margin-block-start: 0; color: var(--dark-selection-ink); }
.plan-availability .button { margin-top: 8px; min-height: 44px; }
.pricing-v9 .plan-subscribe { width: 100%; cursor: pointer; text-align: start; }

@media (max-width: 760px) {
  #top .hero-invitation > p {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.35;
  }

  #top .hero-invitation .button { margin-top: 18px; }
}

@media (prefers-reduced-motion: no-preference) {
  html:not(.motion-paused) #top .hero-copy {
    clip-path: inset(-20px -20px 0);
  }

  html:not(.motion-paused) #top .hero-title-sequence {
    transition: transform 480ms var(--ease);
  }

  html:not(.motion-paused) #top .hero-invitation {
    transition: transform 480ms var(--ease), opacity 280ms ease 75ms;
  }

  html[data-hero-title-phase="slogan"]:not(.motion-paused) #top .hero-copy > :is(.hero-title-sequence, .hero-invitation) {
    transform: translateY(var(--hero-invitation-height, 0px));
    transition: none;
  }

  html[data-hero-title-phase]:not(.motion-paused) #top .hero-invitation {
    visibility: hidden;
    opacity: 0;
    transition: none;
  }
}
