--- name: remotion-marketing-video description: Build marketing and launch videos as Remotion compositions. Use when creating or editing any video in this repo - scene structure, timing math, kinetic captions and typed lines, springs and interpolation, dual 16:9/9:16 output, light/dark editions, verification, and rendering. This is the core skill; pair with motion-from-reference when matching a reference film's grammar, device-3d-stage for a real device on screen, ai-cinematic-broll for AI footage, and video-audio-stack for sound. --- # Remotion Marketing Video You are building a film as code. Every frame is a pure function of `useCurrentFrame()`. That is the whole advantage: timing is data, edits are diffs, variants are props, and you can verify a frame the way you verify a unit test. ## Philosophy - **One film, not a slideshow.** A persistent backdrop with an emotional color arc plus a thin global chrome (progress bar, series chip, brand mark) bracket the scene stack so the whole piece feels continuous. Scenes change; the world persists. - **Story first.** Do not open the editor until the script exists. The voiceover (or the silent narration) lives in a `script.ts` as frame-timed cues - it is the single source of truth that scenes, captions, and audio all read. Copy avoids em-dashes (they read as AI-generated) and is trimmed so no caption wraps past three lines in portrait. - **Readable pacing beats tight pacing.** Give each line roughly its reading time plus a beat (~1-2 seconds of lead per chat message or caption). When a viewer says they could not finish reading, add time - do not cut copy. - **Motion design, not slides.** The difference is whether elements are BORN OUT OF the elements they replace. A scene that mounts fresh shapes at their final size and fades between them is a slideshow with easing. Keep one piece of geometry alive across a sequence and transform it - see `lib/GeometryWords.tsx` and the `motion-from-reference` skill. - **Build decisively.** Pick a strong default, state assumptions, build it, then offer specific adjustment levers (swap music, retime a beat, flip a media slot). Do not front-load configuration questions. ## Project structure One folder per video. Everything the film needs lives inside it: ``` src/