/* Homepage styles, shared by index.html and de/index.html. */
/* Self-hosted so no visitor data goes to Google (GDPR). */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(fonts/inter-latin.woff2) format("woff2");
}

:root {
  --blue: #3285FF;
  --blue-300: #98C2FF;
  --blue-400: #65A4FF;
  --blue-600: #2A72DC;
  --blue-700: #215CB4;
  --blue-800: #18478D;
  --blue-900: #103265;
  --ink: #000;
  --white: #fff;
  --sky: #C3DBFF;
  --mist: #D5E6FF;
  --haze: #F0F6FF;
  --slate: #6B6C6E;
  --stone: #737373;
  --line: rgba(0, 0, 0, .09);
  --line-ink: rgba(255, 255, 255, .14);
  --muted-ink: #A3A7AE;
  --lift: linear-gradient(180deg, #C3DBFF 0%, #FFFFFF 100%);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --r: 16px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.5 "Inter", Arial, sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Type */
.display {
  font-weight: 300;
  font-size: clamp(46px, 8.4vw, 112px);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 0;
}
h2 {
  font-weight: 300;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -.025em;
  margin: 0;
}
h3 { font-weight: 400; font-size: 24px; line-height: 1.3; letter-spacing: -.01em; margin: 0; }
.lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--slate); margin: 0; max-width: 34em; }

.label { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--slate); margin: 0 0 24px; }
.label b { font-weight: 500; color: var(--blue-700); font-variant-numeric: tabular-nums; }
.label::after { content: ""; flex: 0 0 48px; height: 1px; background: currentColor; opacity: .4; }

/* The Lift Arrow: stroke tracks the Light stem of the headline */
.lift { display: inline-block; width: .62em; height: .62em; margin-left: .1em; vertical-align: -.02em; color: var(--blue); }
.lift path { fill: none; stroke: currentColor; stroke-width: 7; stroke-linecap: square; }

/* Buttons and pills */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 500; font-size: 16px; line-height: 1; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn-primary { background: var(--blue-600); color: var(--white); }
.btn-primary:hover { background: var(--blue-700); }
.btn-primary:active { background: var(--blue-800); }
.btn-ghost { border-color: var(--stone); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn svg { width: 14px; height: 14px; }
.btn svg path { fill: none; stroke: currentColor; stroke-width: 1.6; }

.pills { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.pills li { padding: 9px 20px; border: 1.5px solid var(--stone); border-radius: 999px; color: var(--slate); font-size: 15px; line-height: 1.2; }

/* Nav */
.nav { position: absolute; inset: 0 0 auto; z-index: 5; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.nav-logo img { width: 132px; height: auto; margin-left: -14px; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 15px; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--ink); transition: color .2s var(--ease); }
.nav-links a:not(.btn):hover { color: var(--blue-700); }
.nav-links a.lang-link { font-size: 14px; color: var(--slate); }
.nav .btn { height: 40px; padding: 0 18px; font-size: 15px; }

/* Hero */
.hero { background: var(--lift); padding: 136px 0 120px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px 64px; align-items: end; }
.hero-copy { display: grid; gap: 28px; padding-bottom: 10px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .pills { margin-top: 40px; }

/* Studio mockup */
.demo { margin-top: 56px; }
.tabs { display: flex; gap: 2px; padding: 4px; margin-bottom: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; width: max-content; max-width: 100%; overflow-x: auto; }
.tab {
  display: flex; align-items: baseline; gap: 8px; white-space: nowrap;
  border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font-size: 14px; line-height: 20px; color: var(--slate); cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.tab:hover { color: var(--ink); background: var(--haze); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--white); }
.tab .ar { font-size: 12px; color: var(--stone); font-variant-numeric: tabular-nums; transition: color .25s var(--ease); }
.tab[aria-selected="true"] .ar { color: rgba(255, 255, 255, .6); }

.studio {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(16,50,101,.06), 0 24px 64px -24px rgba(16,50,101,.28);
  overflow: hidden;
}
.studio-bar { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.studio-bar img { width: 22px; height: 22px; }
.studio-bar .project { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.studio-bar .ver { padding: 2px 8px; border-radius: 6px; background: var(--haze); color: var(--blue-700); font-size: 12px; font-variant-numeric: tabular-nums; }
.studio-bar .spacer { flex: 1; }
.studio-bar .fmt { color: var(--slate); font-variant-numeric: tabular-nums; white-space: nowrap; }
.studio-bar .export { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: 13px; font-weight: 500; color: var(--slate); transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.studio[data-state="ready"] .export { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); }

.studio-body { display: grid; grid-template-columns: minmax(300px, 380px) 1fr; height: 600px; }

/* Chat pane */
.chat { display: flex; flex-direction: column; border-right: 1px solid var(--line); min-height: 0; }
.thread { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; padding: 20px; overflow: hidden; font-size: 14px; line-height: 1.5; min-height: 0; }
.msg-user { align-self: flex-end; max-width: 92%; background: var(--haze); border-radius: 16px 16px 4px 16px; padding: 12px 14px; }
.msg-user p { margin: 0; }
.files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.file { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; font-size: 12px; color: var(--slate); }
.file svg { width: 12px; height: 12px; flex: none; }
.file svg path { fill: none; stroke: currentColor; stroke-width: 1.5; }
.msg-ai { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.msg-ai > img { width: 20px; height: 20px; margin-top: 1px; }
.msg-ai p { margin: 0 0 8px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.step { display: grid; grid-template-columns: 16px 1fr auto; gap: 10px; align-items: center; color: var(--slate); }
.step .meta { font-size: 12px; color: var(--stone); font-variant-numeric: tabular-nums; text-align: right; }
.step[data-s="done"] { color: var(--ink); }
.step .st { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--mist); }
.step[data-s="run"] .st { border-color: var(--mist); border-top-color: var(--blue); animation: spin .8s linear infinite; }
.step[data-s="done"] .st { border-color: var(--blue); background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='white' stroke-width='1.8'/%3E%3C/svg%3E") center/100% no-repeat; }
@keyframes spin { to { transform: rotate(360deg); } }
.result { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; margin-top: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; }
.result img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; background: var(--haze); }
.result strong { display: block; font-weight: 500; }
.result span { color: var(--slate); font-size: 12px; font-variant-numeric: tabular-nums; }

.composer { margin: 0 16px 16px; border: 1px solid var(--line); border-radius: 16px; padding: 12px 12px 10px 14px; background: var(--white); transition: border-color .25s var(--ease); }
.composer.typing { border-color: var(--blue-300); }
.composer-text { min-height: 63px; max-height: 63px; overflow: hidden; font-size: 14px; line-height: 1.5; color: var(--ink); }
.composer-text .ph { color: var(--stone); }
.caret { display: inline-block; width: 1.5px; height: 1.1em; vertical-align: -.2em; background: var(--blue); margin-left: 1px; }
.composer.typing .caret { animation: blink 1s steps(1) infinite; }
.composer:not(.typing) .caret { display: none; }
@keyframes blink { 50% { opacity: 0; } }
.composer-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.attach { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--slate); }
.attach svg { width: 16px; height: 16px; }
.attach svg path { fill: none; stroke: currentColor; stroke-width: 1.5; }
.send { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--white); transition: background-color .2s var(--ease); }
.composer.typing .send { background: var(--blue-600); }
.send svg { width: 14px; height: 14px; }
.send svg path { fill: none; stroke: currentColor; stroke-width: 1.8; }

/* Stage pane */
.stage { display: flex; flex-direction: column; min-width: 0; background: var(--haze); }
.canvas { flex: 1 1 0; display: grid; place-items: center; padding: 24px; min-height: 0; overflow: hidden; }
.frame {
  position: relative; width: 202px; height: 360px;
  border-radius: 12px; overflow: hidden; background: var(--white);
  box-shadow: 0 1px 2px rgba(16,50,101,.08), 0 12px 32px -12px rgba(16,50,101,.25);
  transition: width .6s var(--ease), height .6s var(--ease);
}
.frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ease); }
.studio[data-state="ready"] .frame video { opacity: 1; }
.frame .empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 16px; font-size: 13px; color: var(--stone); }
.frame .bar { position: absolute; left: 16px; right: 16px; bottom: 16px; height: 3px; border-radius: 2px; background: var(--mist); overflow: hidden; }
.frame .bar i { display: block; height: 100%; width: 0; background: var(--blue); transition: width .6s var(--ease); }
.studio[data-state="ready"] .frame .bar, .studio[data-state="ready"] .frame .empty { display: none; }

.transport { display: flex; align-items: center; gap: 12px; padding: 0 20px 10px; font-size: 13px; color: var(--slate); font-variant-numeric: tabular-nums; }
.play { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; cursor: pointer; }
.play svg { width: 10px; height: 10px; fill: var(--ink); }
.play .i-pause { display: none; }
.play.playing .i-play { display: none; }
.play.playing .i-pause { display: block; }
.transport .tc { font-family: var(--mono); font-size: 12px; }

.timeline { position: relative; background: var(--white); border-top: 1px solid var(--line); padding: 10px 16px 14px; font-size: 11px; cursor: pointer; }
.ruler, .track { display: grid; grid-template-columns: 64px 1fr; align-items: center; }
.ruler { height: 18px; color: var(--stone); font-family: var(--mono); font-size: 10px; }
.ruler .ticks { position: relative; height: 100%; }
.ruler .ticks span { position: absolute; top: 0; transform: translateX(-1px); padding-left: 4px; border-left: 1px solid var(--line); line-height: 18px; }
.track { height: 30px; margin-top: 4px; }
.track > span { color: var(--slate); font-size: 12px; }
.lane { position: relative; height: 100%; background: var(--haze); border-radius: 6px; }
.clip {
  position: absolute; top: 2px; bottom: 2px; border-radius: 5px; padding: 0 8px;
  display: flex; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-size: 11px; color: var(--blue-900);
  transform-origin: left center; transform: scaleX(0);
  transition: transform .45s var(--ease), box-shadow .2s var(--ease);
}
.clip.in { transform: scaleX(1); }
.clip.on { box-shadow: inset 0 0 0 1.5px var(--blue); }
.t0 .clip { background: var(--sky); }
.t1 .clip { background: var(--mist); }
.t2 .clip { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.t2 .clip.on { box-shadow: inset 0 0 0 1.5px var(--blue); }
.t3 .clip { background: transparent; padding: 0; }
.t3 .clip svg { width: 100%; height: 100%; }
.t3 .clip rect { fill: var(--blue-300); }
.playhead { position: absolute; top: 8px; bottom: 10px; left: 80px; width: 1.5px; background: var(--blue); pointer-events: none; }
.playhead::before { content: ""; position: absolute; top: 0; left: -4px; width: 9.5px; height: 8px; background: var(--blue); clip-path: polygon(0 0, 100% 0, 50% 100%); }

/* Platform logos. Glyphs from Simple Icons 13.21.0 (CC0); trademarks belong to their owners. */
.platforms { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 48px; margin-top: 64px; }
.platforms p { margin: 0; font-size: 14px; color: var(--slate); }
.platforms ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px 32px; }
.platforms li { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink); }
.platforms svg { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* Work */
.work { background: var(--ink); color: var(--white); padding: 144px 0 128px; margin-top: -1px; }
.work .label { color: var(--muted-ink); }
.work .label b { color: var(--blue-400); }
.work-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px 64px; align-items: end; margin-bottom: 72px; }
.work .lede { color: var(--muted-ink); }

/* Columns grow with each film's aspect ratio (set as --cols from FILMS), so every film sits at
   the same height. Subgrid rows keep number, title, meta, and brief aligned across all films. */
.films { display: grid; grid-template-columns: var(--cols); grid-template-rows: repeat(5, auto); gap: 6px 24px; }
.film { grid-row: span 5; display: grid; grid-template-rows: subgrid; margin: 0; min-width: 0; }
.film .film-media { margin-bottom: 10px; }
.film-media {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  border-radius: 12px; overflow: hidden; background: #111;
}
.film-media video, .film-media img { width: 100%; height: 100%; object-fit: cover; }
.film-media.r916 { aspect-ratio: 9 / 16; }
.film-media.r11 { aspect-ratio: 1; }
.film-media .cue {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 10px; border-radius: 999px; background: rgba(0,0,0,.72); color: var(--white); font-size: 13px;
  opacity: 0; transition: opacity .2s var(--ease);
}
.film-media .cue svg { width: 10px; height: 10px; fill: currentColor; }
.film-media:hover .cue, .film-media:focus-visible .cue { opacity: 1; }
.film figcaption { grid-row: span 4; display: grid; grid-template-rows: subgrid; font-size: 14px; }
.film .n { color: var(--muted-ink); font-variant-numeric: tabular-nums; font-size: 13px; }
.film h3 { font-size: 17px; font-weight: 500; letter-spacing: 0; }
.film .meta { color: var(--muted-ink); font-variant-numeric: tabular-nums; margin: 0; font-size: 13px; }
.film .brief { margin: 6px 0 0; align-self: start; color: #D6D9DE; line-height: 1.5; padding-left: 12px; border-left: 1px solid var(--line-ink); font-size: 14px; }

/* Lightbox */
dialog.viewer { padding: 0; border: 0; background: transparent; max-width: min(92vw, 1200px); max-height: 92vh; overflow: visible; }
dialog.viewer::backdrop { background: rgba(0,0,0,.86); }
dialog.viewer video { max-width: 100%; max-height: 86vh; border-radius: 12px; background: #000; }
dialog.viewer .close { position: absolute; top: -48px; right: 0; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: var(--white); font-size: 14px; cursor: pointer; }
dialog.viewer .close:hover { border-color: var(--white); }

/* How it works */
.how { padding: 144px 0; }
.how-head { max-width: 760px; display: grid; gap: 24px; margin-bottom: 96px; }
.rows { display: grid; gap: 0; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 1fr 1.35fr; gap: 64px; padding: 64px 0; border-bottom: 1px solid var(--line); align-items: center; }
.row-copy { display: grid; gap: 16px; align-content: start; max-width: 420px; }
.row-copy .num { font-size: 14px; color: var(--blue-700); font-variant-numeric: tabular-nums; }
.row-copy p { margin: 0; color: var(--slate); }
.panel { background: var(--haze); border-radius: var(--r); padding: clamp(20px, 3vw, 40px); min-height: 320px; display: grid; align-content: center; }

.p-brief .composer { margin: 0; box-shadow: 0 12px 32px -16px rgba(16,50,101,.25); }
.p-brief .composer-text { max-height: none; min-height: 0; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--haze); font-size: 12px; }
.seg span { padding: 4px 10px; border-radius: 999px; color: var(--slate); font-variant-numeric: tabular-nums; }
.seg span.on { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(16,50,101,.12); }
.p-brief .files { margin: 0 0 12px; }

.board { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.board figure { margin: 0; display: grid; gap: 8px; }
.board img { aspect-ratio: 9 / 16; width: 100%; object-fit: cover; border-radius: 8px; background: var(--white); }
.board figcaption { font-size: 12px; line-height: 1.35; color: var(--slate); }
.board figcaption b { display: block; font-weight: 500; color: var(--ink); }
.board-script { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--slate); }
.board-script span::before { content: "■"; color: var(--blue-300); margin-right: 6px; font-size: 9px; vertical-align: 2px; }

.p-refine .thread { padding: 0; gap: 14px; overflow: visible; }
.diff { margin-top: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); font-size: 13px; overflow: hidden; }
.diff div { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 9px 12px; border-top: 1px solid var(--line); }
.diff div:first-child { border-top: 0; }
.diff s { color: var(--stone); text-decoration-color: var(--stone); }
.diff em { font-style: normal; color: var(--blue-700); }
.versions { display: flex; gap: 6px; margin-top: 12px; font-size: 12px; font-variant-numeric: tabular-nums; }
.versions span { padding: 3px 9px; border-radius: 6px; border: 1px solid var(--line); color: var(--slate); background: var(--white); }
.versions span.on { border-color: var(--blue); color: var(--blue-700); }

.exports { display: grid; gap: 10px; }
.exp { display: grid; grid-template-columns: 40px 1fr auto; gap: 16px; align-items: center; background: var(--white); border-radius: 12px; padding: 14px 16px; font-size: 14px; }
.exp .shape { display: grid; place-items: center; height: 40px; }
.exp .shape i { display: block; border: 1.5px solid var(--blue); border-radius: 3px; }
.exp strong { font-weight: 500; display: block; }
.exp small { color: var(--slate); font-size: 12px; font-variant-numeric: tabular-nums; }
.exp .prog { grid-column: 2 / 4; height: 3px; border-radius: 2px; background: var(--haze); overflow: hidden; margin-top: -4px; }
.exp .prog i { display: block; height: 100%; width: 0; background: var(--blue); }
.exp .ok { font-size: 12px; color: var(--stone); font-variant-numeric: tabular-nums; }
.p-ship.go .exp .prog i { transition: width 1.4s var(--ease); width: 100%; }
.p-ship.go .exp:nth-child(2) .prog i { transition-delay: .35s; }
.p-ship.go .exp:nth-child(3) .prog i { transition-delay: .7s; }
.p-ship.go .exp:nth-child(4) .prog i { transition-delay: 1.05s; }

/* Audience */
.who { background: var(--haze); padding: 128px 0; }
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid var(--line); }
.who-grid div { padding: 32px 32px 0 0; display: grid; gap: 12px; align-content: start; }
.who-grid div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.who-grid p { margin: 0; color: var(--slate); }

/* CTA */
.cta { background: var(--lift); padding: 144px 0 128px; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 64px; align-items: start; }
.cta-copy { display: grid; gap: 24px; }
.cta form { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 16px; box-shadow: 0 24px 64px -32px rgba(16,50,101,.3); }
.cta label { display: block; font-size: 14px; color: var(--slate); margin: 4px 4px 10px; }
.cta textarea {
  width: 100%; min-height: 148px; resize: vertical; border: 0; padding: 4px; margin: 0;
  font: 400 17px/1.5 "Inter", Arial, sans-serif; color: var(--ink); background: transparent;
}
.cta textarea::placeholder { color: var(--stone); }
.cta textarea:focus { outline: none; }
.cta form:focus-within { border-color: var(--blue-300); }
.form-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.form-row small { color: var(--slate); font-size: 13px; }
.form-row small a { color: var(--blue-700); }

footer { padding: 48px 0 56px; font-size: 14px; color: var(--slate); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
footer img { width: 112px; margin-left: -12px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a { text-decoration: none; transition: color .2s var(--ease); }
footer a:hover { color: var(--ink); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Responsive */
@media (max-width: 1080px) {
  .films { overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 8px; margin: 0 calc(var(--gutter) * -1); scroll-padding: 0 var(--gutter); }
  .films { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: max-content; }
  .film { width: calc(var(--ar) * 420px); scroll-snap-align: start; }
  .row { grid-template-columns: 1fr; gap: 32px; }
  .board { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .nav-links a:not(.btn):not(.lang-link) { display: none; }
  .nav-links { gap: 16px; }
  .hero { padding-top: 128px; }
  .hero-grid, .work-head, .cta-grid { grid-template-columns: 1fr; }
  .studio-body { grid-template-columns: 1fr; grid-template-rows: auto auto; height: auto; }
  .stage { order: -1; }
  .canvas { height: 340px; flex: none; }
  .chat { border-right: 0; border-top: 1px solid var(--line); }
  .thread { height: 300px; flex: none; }
  .studio-bar .fmt { display: none; }
  .film { width: calc(var(--ar) * 360px); }
  .who-grid { grid-template-columns: 1fr; }
  .who-grid div, .who-grid div + div { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .work, .how, .cta { padding: 96px 0; }
  .who { padding: 96px 0; }
  .how-head { margin-bottom: 56px; }
}
@media (max-width: 520px) {
  .platforms { gap: 16px; margin-top: 48px; }
  .platforms ul { gap: 14px 22px; }
  .platforms li { font-size: 14px; }
  .ruler, .track { grid-template-columns: 48px 1fr; }
  .track > span { font-size: 11px; }
  .clip { font-size: 0; }
  .playhead { left: 64px; }
  .hero .pills li { font-size: 14px; padding: 8px 16px; }
  .tabs { width: 100%; }
  .tab { flex: 1; justify-content: center; padding: 8px 6px; font-size: 13px; }
  .tab .ar { display: none; }
  .thread { height: 260px; padding: 16px; }
  .step .meta { display: none; }
  .panel { padding: 16px; }
  .exp { grid-template-columns: 28px 1fr auto; gap: 12px; padding: 12px; }
  .exp .shape { transform: scale(.8); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
