# Slide Transition

Motionboard shot name: Panel Push

A headline and six app icons shrink toward it, then a coral panel pushes in from the right carrying a Folio doc window while the first scene is shoved out left. A second, indigo panel brings an answer card, and a third pushes in the Folio lockup.

- Position in a launch film: Transitions
- Slug: slide-transition
- Preview video: https://media.motionboard.app/slide-push.mp4
- Recipe page: https://motionboard.app/recipes/slide-transition/
- License: MIT. Free to use in your own projects, including commercial launch films. https://github.com/krisyangdev/motionboard/blob/main/LICENSE

## How to use this recipe

You are a coding agent. The user wants this shot for their own product. Follow these steps.

1. **Know the product.** If the product is clear from the user's repo or conversation, ask nothing and start. Otherwise ask once for: product name, logo file, brand colors.
2. **Pick the output.** If the user's message says a video or their website, do that. Otherwise ask once which one they want.
   - **Video (HyperFrames).** Create a folder named `slide-push`. Download every file under "Source files" below with the curl commands, keeping relative paths. Adapt `index.html` (see "What to adapt"). Run `npx --yes hyperframes@0.8.209 check` on the untouched copy first and note its result. Preview with `npx --yes hyperframes@0.8.209 preview`, render an MP4 with `npx --yes hyperframes@0.8.209 render` (into `renders/`, named with a timestamp). The same commands are in `package.json` as `dev`, `check`, `render`; pass flags after `--`, as in `npm run render -- --quality draft`. Rendering needs network access for web fonts and GSAP.
   - **Website motion.** Port the GSAP timeline in `index.html` into the user's site, using their stack (React, Vue, Svelte, plain HTML). Build the same DOM structure, keep the timeline's durations, delays and easings exactly, and start it when the element scrolls into view (IntersectionObserver or ScrollTrigger). Respect `prefers-reduced-motion: reduce`: show the final frame as a static state and skip the movement.
3. **What to adapt.**
   - **Brand layer** (product name, logo, colors, fonts, copy): replace directly with the user's.
   - **UI layer** (the product screens, cards, windows, controls shown in the shot): rebuild the user's real UI as clean DOM, from their codebase (components, design tokens) or from a screenshot used as reference only. Never paste a screenshot into the shot.
   - **Motion** (timing, easing, camera moves, layering, stagger, order of events): keep exactly as in the source. This is what the recipe is.
   - The timeline targets UI elements by id and class, and camera moves land on fixed coordinates. Keep the ids the timeline uses, keep row counts and text lengths close to the source, and when the layout moves, update the target coordinates without changing the times.
4. **Fonts.** HyperFrames fetches Google Fonts such as Inter on its own. Some sources use macOS local fonts (PingFang, Songti via `local()`). Use the user's brand font when it can be bundled; for a system font such as SF Pro, use Inter. Check that text still fits its boxes.
5. **Verify.** Compare the render with the preview video above at the beat times in the Timing row. The beats, timing and camera should match; only brand and UI content differ.

## Spec

| Item | Value |
| --- | --- |
| Timing | Film 11s. Headline words rise 0.1–1.12s (0.09s stagger); six icons rise 0.5–1.75s; icon row shrinks 1.4–2.1s; push 1 2.4–3.0s; checklist items rise 3.05–3.96s; item ticks at 3.4s and 3.6s; Priya cursor appears 3.3s and moves 3.65–4.15s; push 2 4.3–4.9s; query types 4.95–5.45s; answer lines rise 5.55–6.5s; source chips rise 6.0–6.69s; push 3 7.8–8.4s; lockup 8.0–8.8s, then still to the end (2.2s) |
| Easing | Pushes use power3.inOut over 0.6s; outgoing content uses power2.in (0.6s); incoming content catches up with expo.out over 0.95s; headline, icons, checklist rows, answer lines and chips rise with expo.out; icon row shrink power3.inOut over 0.7s; ticks use back.out(2.2); the query types linearly; the cursor moves with power3.inOut |
| Camera | Locked camera. One 7680px-wide rail holds four 1920px scenes and moves left by 1920px per push: x 0 → −1920 (2.4–3.0s), → −3840 (4.3–4.9s), → −5760 (7.8–8.4s). Content inside the outgoing scene shifts a further 260px left; content inside the incoming scene starts 200px right and settles at 0, starting 0.1s after the push |
| Subject | Scene 1: headline Everything your team writes. at 104px, weight 700, on one line; six 150px rounded tiles (radius 36px, 44px gaps, 1120px row) for docs #3b82f6, chat #22a97a, calendar #f2a33a, tasks #8b5cf6, mail #ec5b7d, drive #17a2b8, shrinking to 70% (about 105px). Scene 2 on coral: a 1480x800px Folio doc window at (220, 140) with a 360px sidebar (27px items), title Q3 launch plan at 84px and four 38px checklist items. Scene 3 on indigo: a 1480x780px answer card at (220, 150) with a 44px query, three 46px answer lines and three 30px source chips. Scene 4: 164px coral mark, Folio at 150px, tagline at 46px |
| Sync | Each scene's first detail starts as the push ends (checklist 3.05s, query 4.95s, mark 8.0s); the checklist items finish rising at 3.96s, 0.56s after the first tick; the answer chips finish at 6.69s and the scene holds 1.1s before push 3; the lockup elements start while the last push is still settling (8.0s) and are still by 8.8s |
| Style | Paper `#f1f2f5`, ink `#14161c`, accent coral `#f0674a` with indigo `#4351e0` as the second panel; Inter throughout, headline and wordmark weights 700–800; white windows with 22–30px corners and large soft shadows; each coloured panel casts an 80px shadow onto the scene beside it; static grain at 7% and a vignette reaching 12% at the edges |

## Why it works

All scenes sit side by side on one wide rail and the rail moves, so the old scene and the new one travel at exactly the same speed. That is what makes it a push: the viewer sees the outgoing scene being shoved out, and the coloured panel arrives already carrying its content. The panel colour changes at each push (paper, coral, indigo, paper), so the cut between scenes is visible even at thumbnail size, and the next scene always has a different background. Content inside each scene moves a little faster than the rail (260px extra on the way out, 200px of catch-up on the way in), which adds depth without a camera. Each scene lands still and then builds one detail at a time: the six icons shrink toward the headline, two checklist items tick off, the query is typed and the answer arrives line by line, so there is something to read the moment a scene stops. The pushes are short (0.6s, power3.inOut) and the stills are long (1 to 2s), so the move reads as a transition and the scenes read as content. The accent is coral #f0674a, with indigo #4351e0 as the second panel; the lockup returns to paper.

## Prompt

> Build an 11-second, 1920x1080, 30 fps light product film called Panel Push for a fictional product, Folio (a docs and wiki app). Paper background #f1f2f5, ink #14161c, accent coral #f0674a, second panel colour indigo #4351e0, font Inter. Put four 1920x1080 scenes side by side on one 7680px-wide rail and move the rail left with GSAP: x 0 → −1920 at 2.4–3.0s, → −3840 at 4.3–4.9s, → −5760 at 7.8–8.4s, each 0.6s with power3.inOut, so the old scene is pushed out at the same speed the new one arrives. Give scenes 2 and 3 a coral and an indigo background and an 80px soft shadow on their left edge. Wrap each scene's content in a div: on the way out tween it 260px left over 0.6s (power2.in); on the way in start it 200px right and settle it at 0 with expo.out over 0.95s, starting 0.1s after the push. Scene 1: the headline Everything your team writes. at 104px, weight 700, letter-spacing −0.035em, on one line; the four words rise 46px with expo.out (0.75s, 0.09s stagger) from 0.1s. Below it a 1120px row of six 150px tiles with 36px corners (docs #3b82f6, chat #22a97a, calendar #f2a33a, tasks #8b5cf6, mail #ec5b7d, drive #17a2b8, white line glyphs) rising from 70px below at scale 0.6 with expo.out (0.8s, 0.09s stagger) from 0.5s. At 1.4s the row shrinks to scale 0.7 and moves 82px up over 0.7s (power3.inOut). Scene 2: a 1480x800px white window at (220, 140) with 22px corners and a large shadow: a 360px sidebar (workspace Northwind, Search, Launch plan selected, Roadmap, Meeting notes, Onboarding, Brand kit, 27px) and a doc with the title Q3 launch plan at 84px, a meta line (Maya Chen, Edited 2 min ago, an On track chip) and four 38px checklist items (Finalize pricing page, Record the demo film, Brief the support team, Send press embargo notice). The items rise with expo.out from 3.05s (0.12s stagger); items 1 and 2 get a coral tick at 3.4s and 3.6s (back.out(2.2)) and their text turns grey; a violet Priya cursor appears at 3.3s and moves down one row at 3.65–4.15s. Scene 3: a 1480x780px white answer card at (220, 150): a search bar whose query Who owns the Q3 launch checklist? is typed linearly at 44px over 4.95–5.45s, a Folio AI label at 5.45s, three 46px answer lines (Maya Chen owns the Q3 launch checklist. / Two of four items are done. The rest are due Friday. / Next up: brief the support team.) rising with expo.out from 5.55s (0.2s stagger), then three 30px source chips from 6.0s (0.12s stagger). Scene 4 on paper: the lockup, a 164px coral rounded mark, Folio at 150px and Every page, in one place. at 46px, appearing at 8.0, 8.1 and 8.2s with expo.out and still from 8.8s to the end. Hide every element in CSS and reveal it with tweens that have explicit end values. Finish with static grain at 7% and a vignette reaching 12%. Drive everything from one paused GSAP timeline, with no CSS animations.

## Often confused with

- [Whip Pan Transition](https://motionboard.app/r/whip-pan-transition.md): Whip Pan Transition smears the frame sideways with a motion blur while a different device swings in; in Slide Transition there is no blur, scenes sit on one rail and a flat coloured panel pushes the old scene out at the same speed.
- [Wipe and Flash Transition](https://motionboard.app/r/wipe-flash-transition.md): Wipe and Flash covers the frame with a big object or a white glow and swaps the scene underneath; in Slide Transition nothing hides the cut, the old scene visibly travels out as the new panel travels in.

## Source files

Runnable HyperFrames project, 3 files.

- https://motionboard.app/source/slide-push/hyperframes.json (318 B)
- https://motionboard.app/source/slide-push/index.html (20.8 KB)
- https://motionboard.app/source/slide-push/package.json (299 B)

Download all of them:

```sh
curl -fsSL --create-dirs -o "slide-push/hyperframes.json" "https://motionboard.app/source/slide-push/hyperframes.json"
curl -fsSL --create-dirs -o "slide-push/index.html" "https://motionboard.app/source/slide-push/index.html"
curl -fsSL --create-dirs -o "slide-push/package.json" "https://motionboard.app/source/slide-push/package.json"
```

## index.html

```html
<!doctype html>
<html lang="en" data-resolution="landscape">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=1920, height=1080" />
    <script src="https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js"></script>
    <style>
      :root {
        --acc: #f0674a;
        --indigo: #4351e0;
        --ink: #14161c;
        --paper: #f1f2f5;
        --mute: #6b7080;
        --inter: "Inter", sans-serif;
      }
      * { margin: 0; padding: 0; box-sizing: border-box; }
      html, body { width: 1920px; height: 1080px; overflow: hidden; background: var(--paper); }
      #root { position: relative; width: 1920px; height: 1080px; overflow: hidden; background: var(--paper); -webkit-font-smoothing: antialiased; font-family: var(--inter); color: var(--ink); }
      #stage { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; }
      #rail { position: absolute; left: 0; top: 0; width: 7680px; height: 1080px; }

      .sc { position: absolute; top: 0; width: 1920px; height: 1080px; overflow: hidden; }
      .ct { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; }
      .row { display: flex; align-items: center; }
      .col { display: flex; flex-direction: column; }
      .nw { white-space: nowrap; }
      svg.i { flex: none; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }

      #s1 { left: 0; background: var(--paper); }
      #s2 { left: 1920px; background: var(--acc); box-shadow: -40px 0 80px rgba(60, 20, 10, 0.18); }
      #s3 { left: 3840px; background: var(--indigo); box-shadow: -40px 0 80px rgba(10, 14, 70, 0.22); }
      #s4 { left: 5760px; background: var(--paper); box-shadow: -40px 0 80px rgba(20, 22, 40, 0.12); }
      #s2::before { content: ""; position: absolute; inset: 0; background: radial-gradient(1000px 760px at 90% -5%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 70%), radial-gradient(900px 700px at 0% 110%, rgba(120, 30, 10, 0.22), rgba(120, 30, 10, 0) 70%); }
      #s3::before { content: ""; position: absolute; inset: 0; background: radial-gradient(1000px 760px at 90% -5%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 70%), radial-gradient(900px 700px at 0% 110%, rgba(10, 14, 80, 0.3), rgba(10, 14, 80, 0) 70%); }

      /* ---- scene 1 ---- */
      #hl { position: absolute; left: 0; top: 410px; width: 1920px; text-align: center; font: 700 104px/120px var(--inter); letter-spacing: -0.035em; color: var(--ink); white-space: nowrap; }
      .hw { display: inline-block; opacity: 0; }
      #row { position: absolute; left: 400px; top: 625px; width: 1120px; height: 150px; display: flex; justify-content: space-between; align-items: center; }
      .tile { width: 150px; height: 150px; border-radius: 36px; display: flex; align-items: center; justify-content: center; color: #fff; opacity: 0; box-shadow: 0 16px 34px rgba(20, 22, 28, 0.16), inset 0 -4px 0 rgba(0, 0, 0, 0.1); }

      /* ---- scene 2: Folio doc window ---- */
      #win { position: absolute; left: 220px; top: 140px; width: 1480px; height: 800px; border-radius: 22px; background: #fff; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 50px 110px rgba(80, 20, 6, 0.42), 0 0 0 1px rgba(0, 0, 0, 0.06); }
      .tb { height: 62px; flex: none; background: #f4f4f7; border-bottom: 1px solid #e6e7ec; padding: 0 22px; gap: 10px; }
      .tl { display: block; width: 16px; height: 16px; border-radius: 50%; background: #d4d6dd; }
      .tb .ttl { margin: 0 auto; padding-right: 80px; font-size: 26px; font-weight: 600; color: #51566a; }
      .side { width: 360px; flex: none; background: #f7f7fa; border-right: 1px solid #e8e9ee; padding: 22px 18px; }
      .ws { height: 60px; gap: 14px; font-size: 28px; font-weight: 700; margin-bottom: 14px; }
      .logo { width: 44px; height: 44px; border-radius: 12px; background: var(--acc); color: #fff; font-size: 26px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
      .si { height: 58px; padding: 0 16px; gap: 14px; border-radius: 12px; font-size: 27px; font-weight: 500; color: #3f4456; }
      .si.on { background: #fde6df; color: #b8381b; font-weight: 700; }
      .lbl { margin: 24px 16px 10px; font-size: 20px; font-weight: 700; letter-spacing: 0.08em; color: #9094a3; }
      .doc { flex: 1; padding: 38px 64px 0; position: relative; }
      .crumb { font-size: 26px; color: #8a8fa0; height: 34px; }
      .dtitle { font-size: 84px; line-height: 100px; font-weight: 800; letter-spacing: -0.035em; margin-top: 10px; }
      .meta { height: 56px; gap: 14px; font-size: 26px; color: #6b7080; margin-top: 4px; }
      .av { width: 40px; height: 40px; border-radius: 50%; background: #3b82c4; color: #fff; font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
      .chip { height: 40px; padding: 0 16px; border-radius: 20px; font-size: 24px; font-weight: 600; display: flex; align-items: center; }
      .h2 { font-size: 38px; font-weight: 700; margin-top: 24px; height: 52px; }
      #list { position: relative; margin-top: 8px; }
      .li { height: 72px; gap: 22px; font-size: 38px; font-weight: 500; opacity: 0; }
      .cb { position: relative; width: 40px; height: 40px; border-radius: 10px; border: 3px solid #c3c6d2; flex: none; }
      .ck { position: absolute; left: -3px; top: -3px; width: 40px; height: 40px; border-radius: 10px; background: var(--acc); display: flex; align-items: center; justify-content: center; color: #fff; opacity: 0; }
      #pres { position: absolute; left: 650px; top: 164px; opacity: 0; }
      #pres .pill { margin: 28px 0 0 18px; height: 44px; padding: 0 18px; border-radius: 22px; background: #8b5cf6; color: #fff; font-size: 25px; font-weight: 600; display: flex; align-items: center; }

      /* ---- scene 3: AI answer card ---- */
      #card { position: absolute; left: 220px; top: 150px; width: 1480px; height: 780px; border-radius: 30px; background: #fff; overflow: hidden; box-shadow: 0 50px 110px rgba(10, 14, 80, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.05); }
      .qbar { height: 140px; padding: 0 60px; gap: 22px; border-bottom: 1px solid #e8e9ee; color: #6b7080; }
      #qt { font-size: 44px; font-weight: 600; color: var(--ink); letter-spacing: -0.015em; }
      #caret { display: inline-block; width: 3px; height: 46px; background: var(--indigo); margin-left: 4px; vertical-align: middle; }
      .ans { padding: 44px 60px 0; }
      .who { gap: 14px; height: 56px; font-size: 28px; font-weight: 700; color: var(--indigo); opacity: 0; }
      .who .dotc { width: 44px; height: 44px; border-radius: 50%; background: var(--indigo); color: #fff; display: flex; align-items: center; justify-content: center; }
      .who span.sub { color: #8a8fa0; font-weight: 500; }
      .al { font-size: 46px; line-height: 72px; font-weight: 600; letter-spacing: -0.02em; opacity: 0; white-space: nowrap; }
      .al b { color: var(--indigo); font-weight: 800; }
      .srcs { position: absolute; left: 60px; right: 60px; bottom: 56px; gap: 20px; }
      .src { height: 72px; padding: 0 26px; border-radius: 18px; background: #f1f2f8; border: 1px solid #e1e3f0; gap: 14px; font-size: 30px; font-weight: 600; color: #333a66; opacity: 0; }

      /* ---- scene 4: lockup ---- */
      #lock { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 20px; }
      #mk { width: 164px; height: 164px; border-radius: 40px; background: var(--acc); display: flex; align-items: center; justify-content: center; opacity: 0; box-shadow: 0 20px 44px rgba(240, 103, 74, 0.35), inset 0 -5px 0 rgba(0, 0, 0, 0.1); }
      #wm { font-size: 150px; line-height: 160px; font-weight: 800; letter-spacing: -0.04em; margin-left: 40px; opacity: 0; }
      #tg { font-size: 46px; font-weight: 500; letter-spacing: -0.01em; color: var(--mute); margin-top: 26px; opacity: 0; }

      /* ---- film finish ---- */
      #vig { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; pointer-events: none; background: radial-gradient(ellipse at center, rgba(20, 22, 40, 0) 62%, rgba(20, 22, 40, 0.12) 100%); }
      #grain { position: absolute; left: 0; top: 0; pointer-events: none; opacity: 0.07; mix-blend-mode: multiply; }
    </style>
  </head>
  <body>
    <div id="root" data-composition-id="main" data-start="0" data-duration="11" data-width="1920" data-height="1080">
      <div id="stage" class="clip" data-start="0" data-duration="11" data-track-index="0" data-layout-allow-overlap>
        <div id="rail" data-layout-allow-overlap>
          <!-- scene 1 -->
          <div id="s1" class="sc" data-layout-allow-overlap>
            <div id="ct1" class="ct" data-layout-allow-overlap>
              <div id="hl"><span class="hw">Everything</span> <span class="hw">your</span> <span class="hw">team</span> <span class="hw">writes.</span></div>
              <div id="row"></div>
            </div>
          </div>

          <!-- scene 2 -->
          <div id="s2" class="sc" data-layout-allow-overlap>
            <div id="ct2" class="ct" data-layout-allow-overlap>
              <div id="win">
                <div class="tb row"><i class="tl"></i><i class="tl"></i><i class="tl"></i><span class="ttl">Launch plan</span></div>
                <div class="row" style="flex:1;align-items:stretch;min-height:0">
                  <div class="side col">
                    <div class="ws row"><span class="logo">F</span>Northwind</div>
                    <div class="si row" id="si-search"></div>
                    <div class="lbl">PAGES</div>
                    <div class="si row on" id="si-a"></div>
                    <div class="si row" id="si-b"></div>
                    <div class="si row" id="si-c"></div>
                    <div class="si row" id="si-d"></div>
                    <div class="si row" id="si-e"></div>
                  </div>
                  <div class="doc">
                    <div class="crumb nw">Marketing &nbsp;/&nbsp; Launch plan</div>
                    <div class="dtitle nw">Q3 launch plan</div>
                    <div class="meta row nw"><span class="av">MC</span>Maya Chen &middot; Edited 2 min ago<span class="chip" style="background:#dff5e8;color:#16744a">On track</span></div>
                    <div class="h2 nw">Checklist</div>
                    <div id="list">
                      <div class="li row nw"><span class="cb"><span class="ck" id="ck1"></span></span><span id="tx1">Finalize pricing page</span></div>
                      <div class="li row nw"><span class="cb"><span class="ck" id="ck2"></span></span><span id="tx2">Record the demo film</span></div>
                      <div class="li row nw"><span class="cb"></span><span>Brief the support team</span></div>
                      <div class="li row nw"><span class="cb"></span><span>Send press embargo notice</span></div>
                      <div id="pres">
                        <svg width="30" height="30" viewBox="0 0 24 24" style="display:block"><path d="M4 2.5 20 11l-7 2-3 7.5Z" fill="#8b5cf6" stroke="#fff" stroke-width="1.6" stroke-linejoin="round" /></svg>
                        <div class="pill nw">Priya</div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>

          <!-- scene 3 -->
          <div id="s3" class="sc" data-layout-allow-overlap>
            <div id="ct3" class="ct" data-layout-allow-overlap>
              <div id="card">
                <div class="qbar row" id="qbar"><span id="qico"></span><span class="nw"><span id="qt"></span><i id="caret"></i></span></div>
                <div class="ans">
                  <div class="who row nw"><span class="dotc" id="spk"></span>Folio AI<span class="sub">&nbsp;&middot; 3 sources</span></div>
                  <div style="margin-top:14px">
                    <div class="al">Maya Chen owns the Q3 launch checklist.</div>
                    <div class="al">Two of four items are done. The rest are due <b>Friday</b>.</div>
                    <div class="al">Next up: brief the support team.</div>
                  </div>
                </div>
                <div class="srcs row">
                  <div class="src row nw" id="sr1"></div>
                  <div class="src row nw" id="sr2"></div>
                  <div class="src row nw" id="sr3"></div>
                </div>
              </div>
            </div>
          </div>

          <!-- scene 4: lockup -->
          <div id="s4" class="sc" data-layout-allow-overlap>
            <div id="ct4" class="ct" data-layout-allow-overlap>
              <div id="lock">
                <div class="row">
                  <div id="mk">
                    <svg width="96" height="96" viewBox="0 0 24 24" fill="none">
                      <path d="M7 3h7l5 5v12a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z" fill="#fff" />
                      <path d="M14 3l5 5h-4a1 1 0 0 1-1-1z" fill="#f7b3a3" />
                      <path d="M9 13h6M9 16.5h4" stroke="#f0674a" stroke-width="1.5" stroke-linecap="round" />
                    </svg>
                  </div>
                  <div id="wm">Folio</div>
                </div>
                <div id="tg">Every page, in one place.</div>
              </div>
            </div>
          </div>
        </div>

        <div id="vig"></div>
        <svg id="grain" width="1920" height="1080" viewBox="0 0 1920 1080">
          <filter id="gn"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="2" seed="7" /><feColorMatrix type="saturate" values="0" /></filter>
          <rect width="1920" height="1080" filter="url(#gn)" />
        </svg>
      </div>
    </div>

    <script>
      const EXPO = "expo.out";
      const PUSH = "power3.inOut";

      const P = {
        file: '<path d="M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z"/><path d="M14 2v4a2 2 0 0 0 2 2h4"/><path d="M10 9H8"/><path d="M16 13H8"/><path d="M16 17H8"/>',
        chat: '<path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/><path d="M8 9h8"/><path d="M8 13h5"/>',
        cal: '<rect width="18" height="18" x="3" y="4" rx="2"/><path d="M16 2v4"/><path d="M8 2v4"/><path d="M3 10h18"/>',
        tasks: '<circle cx="12" cy="12" r="10"/><path d="m8.5 12.5 2.5 2.5 4.5-5"/>',
        mail: '<rect width="20" height="16" x="2" y="4" rx="2"/><path d="m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"/>',
        drive: '<line x1="22" x2="2" y1="12" y2="12"/><path d="M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"/><line x1="6" x2="6.01" y1="16" y2="16"/><line x1="10" x2="10.01" y1="16" y2="16"/>',
        search: '<circle cx="11" cy="11" r="8"/><path d="m21 21-4.3-4.3"/>',
        check: '<path d="M20 6 9 17l-5-5"/>',
        spark: '<path d="M12 3l1.9 5.1L19 10l-5.1 1.9L12 17l-1.9-5.1L5 10l5.1-1.9z"/><path d="M19 17v4M17 19h4"/>',
        star: '<polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"/>',
        map: '<path d="M3 6l6-2 6 2 6-2v14l-6 2-6-2-6 2Z"/><path d="M9 4v14M15 6v14"/>',
        hash: '<line x1="4" x2="20" y1="9" y2="9"/><line x1="4" x2="20" y1="15" y2="15"/><line x1="10" x2="8" y1="3" y2="21"/><line x1="16" x2="14" y1="3" y2="21"/>',
        users: '<path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M22 21v-2a4 4 0 0 0-3-3.87"/><path d="M16 3.13a4 4 0 0 1 0 7.75"/>',
        book: '<path d="M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1 0-5H20"/>',
        palette: '<circle cx="13.5" cy="6.5" r=".5"/><circle cx="17.5" cy="10.5" r=".5"/><circle cx="8.5" cy="7.5" r=".5"/><circle cx="6.5" cy="12.5" r=".5"/><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.9 0 1.7-.8 1.7-1.7 0-.4-.2-.8-.4-1.1-.3-.3-.5-.7-.5-1.1 0-.9.8-1.7 1.7-1.7H16c3.1 0 5.6-2.5 5.6-5.6C21.6 6.1 17.4 2 12 2Z"/>'
      };
      const ic = (n, s, w) => '<svg class="i" width="' + s + '" height="' + s + '" viewBox="0 0 24 24" stroke-width="' + (w || 1.6) + '">' + P[n] + "</svg>";

      /* scene 1: the six app icons */
      const TILES = [["file", "#3b82f6"], ["chat", "#22a97a"], ["cal", "#f2a33a"], ["tasks", "#8b5cf6"], ["mail", "#ec5b7d"], ["drive", "#17a2b8"]];
      document.getElementById("row").innerHTML = TILES.map((t) => '<div class="tile" style="background:' + t[1] + '">' + ic(t[0], 84, 1.7) + "</div>").join("");

      /* scene 2: sidebar rows */
      const SB = { "si-search": ["search", "Search"], "si-a": ["file", "Launch plan"], "si-b": ["map", "Roadmap"], "si-c": ["users", "Meeting notes"], "si-d": ["book", "Onboarding"], "si-e": ["palette", "Brand kit"] };
      Object.keys(SB).forEach((k) => { document.getElementById(k).innerHTML = ic(SB[k][0], 24, 1.7) + '<span class="nw">' + SB[k][1] + "</span>"; });
      document.getElementById("ck1").innerHTML = ic("check", 24, 3);
      document.getElementById("ck2").innerHTML = ic("check", 24, 3);

      /* scene 3 icons */
      document.getElementById("qico").innerHTML = ic("search", 44, 2);
      document.getElementById("spk").innerHTML = ic("spark", 26, 2);
      document.getElementById("sr1").innerHTML = '<span style="color:#4351e0">' + ic("file", 28, 1.8) + "</span>Q3 launch plan";
      document.getElementById("sr2").innerHTML = '<span style="color:#4351e0">' + ic("hash", 28, 1.8) + "</span>launch-q4";
      document.getElementById("sr3").innerHTML = '<span style="color:#4351e0">' + ic("cal", 28, 1.8) + "</span>Embargo, Fri 9:00";

      /* baselines (transforms only; visibility lives in CSS) */
      gsap.set(".hw", { y: 46 });
      gsap.set(".tile", { y: 70, scale: 0.6 });
      gsap.set("#ct2, #ct3, #ct4", { x: 200 });
      gsap.set(".li", { y: 20 });
      gsap.set(".ck", { scale: 0.5 });
      gsap.set("#pres", { x: 0, y: 0 });
      gsap.set(".al", { y: 18 });
      gsap.set(".who", { y: 14 });
      gsap.set(".src", { y: 16 });
      gsap.set("#mk", { scale: 0.7 });
      gsap.set("#wm", { x: -36 });
      gsap.set("#tg", { y: 22 });

      const Q = "Who owns the Q3 launch checklist?";
      const typing = { n: 0 };
      const qt = document.getElementById("qt");

      const tl = gsap.timeline({ paused: true });

      /* ===== scene 1 (0 - 2.6): headline, icons stagger in, then shrink toward the headline ===== */
      tl.to(".hw", { opacity: 1, y: 0, duration: 0.75, ease: EXPO, stagger: 0.09 }, 0.1);
      tl.to(".tile", { opacity: 1, y: 0, scale: 1, duration: 0.8, ease: EXPO, stagger: 0.09 }, 0.5);
      tl.to("#row", { scale: 0.7, y: -82, duration: 0.7, ease: "power3.inOut" }, 1.4);

      /* ===== push 1 (2.4 - 3.0): coral panel carries scene 2, scene 1 is pushed out ===== */
      tl.to("#rail", { x: -1920, duration: 0.6, ease: PUSH }, 2.4);
      tl.to("#ct1", { x: -260, duration: 0.6, ease: "power2.in" }, 2.4);
      tl.to("#ct2", { x: 0, duration: 0.95, ease: EXPO }, 2.5);

      /* scene 2: checklist builds, two items get ticked, a teammate cursor drifts down */
      tl.to(".li", { opacity: 1, y: 0, duration: 0.55, ease: EXPO, stagger: 0.12 }, 3.05);
      tl.to("#ck1", { opacity: 1, scale: 1, duration: 0.35, ease: "back.out(2.2)" }, 3.4);
      tl.to("#tx1", { color: "#a0a4b2", duration: 0.3, ease: "power2.out" }, 3.4);
      tl.to("#ck2", { opacity: 1, scale: 1, duration: 0.35, ease: "back.out(2.2)" }, 3.6);
      tl.to("#tx2", { color: "#a0a4b2", duration: 0.3, ease: "power2.out" }, 3.6);
      tl.to("#pres", { opacity: 1, duration: 0.3, ease: "power2.out" }, 3.3);
      tl.to("#pres", { y: 72, duration: 0.5, ease: "power3.inOut" }, 3.65);

      /* ===== push 2 (4.3 - 4.9): indigo panel carries scene 3 ===== */
      tl.to("#rail", { x: -3840, duration: 0.6, ease: PUSH }, 4.3);
      tl.to("#ct2", { x: -260, duration: 0.6, ease: "power2.in" }, 4.3);
      tl.to("#ct3", { x: 0, duration: 0.95, ease: EXPO }, 4.4);

      /* scene 3: the query is typed, the answer arrives line by line, sources follow */
      tl.to(typing, { n: Q.length, duration: 0.5, ease: "none", onUpdate: function () { qt.textContent = Q.slice(0, Math.round(typing.n)); } }, 4.95);
      tl.set("#caret", { opacity: 0 }, 5.48);
      tl.to(".who", { opacity: 1, y: 0, duration: 0.45, ease: EXPO }, 5.45);
      tl.to(".al", { opacity: 1, y: 0, duration: 0.55, ease: EXPO, stagger: 0.2 }, 5.55);
      tl.to(".src", { opacity: 1, y: 0, duration: 0.45, ease: EXPO, stagger: 0.12 }, 6.0);

      /* ===== push 3 (7.8 - 8.4): the paper lockup scene pushes in ===== */
      tl.to("#rail", { x: -5760, duration: 0.6, ease: PUSH }, 7.8);
      tl.to("#ct3", { x: -260, duration: 0.6, ease: "power2.in" }, 7.8);
      tl.to("#ct4", { x: 0, duration: 0.95, ease: EXPO }, 7.9);

      /* lockup, still from about 8.7 on */
      tl.to("#mk", { opacity: 1, scale: 1, duration: 0.7, ease: EXPO }, 8.0);
      tl.to("#wm", { opacity: 1, x: 0, duration: 0.7, ease: EXPO }, 8.1);
      tl.to("#tg", { opacity: 1, y: 0, duration: 0.6, ease: EXPO }, 8.2);

      tl.set({}, {}, 11);

      window.__timelines = window.__timelines || {};
      window.__timelines["main"] = tl;
    </script>
  </body>
</html>
```
