# Siri Animation

Motionboard shot name: Assistant Glow

A dark device screen shows a dimmed calendar. A small glowing orb pulses as if listening, stretches into a wide capsule with a rotating rainbow edge, types Move my 3pm with Dana to tomorrow, and grows into an answer card reading Done. Moved to Thu 3:00 PM before the Iris lockup.

- Position in a launch film: Product reveal
- Slug: siri-animation
- Preview video: https://media.motionboard.app/siri-glow.mp4
- Recipe page: https://motionboard.app/recipes/siri-animation/
- 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 `siri-glow`. 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. Device rises 0–0.7s and the screen dims 0.4–1.2s; orb appears 0.3–0.85s; listening pulses 0.9–1.9s with ripple rings at 0.95s and 1.45s; orb morphs into the capsule 2.0–2.7s (0.7s); request types in 2.75–about 4.0s (33 characters) and holds to 5.5s; capsule grows into the answer card 5.5–6.2s (0.7s); headline appears 6.0s, calendar row 6.2s, check badge 6.5s; screen-edge glow traces the display 5.5–7.3s; scene fades out 8.0–8.3s; lockup settles 8.25–8.75s and holds to the end (2.25s) |
| Easing | Orb entrance back.out(1.7); listening pulses sine.inOut; ripple rings power2.out; morph and card growth power3.inOut; swirl fade power2.in; headline, row and lockup expo.out; check badge back.out(2.4); screen-edge trace power1.inOut; rainbow rotation, orb swirl and the bottom glow scroll are linear (none) |
| Camera | Locked framing with a slow push, scale 1→1.04 over 0–8s (power1.inOut); the whole stage fades out 8.0–8.3s (power2.in) before the lockup |
| Subject | Device 1620x960px (66px corner radius) with a 1560x900px screen (40px radius) showing a week calendar, Mon–Fri, 9 AM–5 PM, 15 events, under a 62% dark scrim. Orb 170px with seven blurred colour blobs in two counter-rotating layers (+1500° and −1100° over 2.8s), a dark edge gradient, a 34% white highlight and a blurred streak. Capsule 1100x150px (75px radius) with a 4px rainbow ring, a 30px-blur halo and a 70px blurred glow strip along the bottom edge; request at 52px, weight 500, with a white 4px caret. Answer card 1100x420px (56px radius): headline Done. Moved to Thu 3:00 PM at 68px, weight 650, and a 980x200px row with a 128x134px date tile, Q1 planning with Dana (40px), Thu, Dec 3 · 3:00 – 4:00 PM (32px), Moved from Wed 3:00 PM (28px) and a 72px check badge |
| Sync | The orb pulse and its halo rise and fall together at 0.9s, 1.25s and 1.6s; the swirl fades while the capsule is still widening (2.0–2.55s), so the colour stretches into the border; the bottom glow brightens while characters arrive; the request lifts away as the card starts to grow (5.5–5.8s); the headline starts 0.2s before the card reaches full height, the row follows 0.2s later and the check badge pops 0.3s after the row; the screen-edge glow starts with the card growth at 5.5s |
| Style | Background `#09090b` with soft violet, pink and blue light blobs; one rainbow of `#ff3d8b`, `#ff8a3d`, `#9a5cff`, `#3d8bff` and `#35d0ff` turning once every 5s; dark glass capsule `#0b0b10` to `#11111a`; Inter throughout, request weight 500, headline 650, wordmark 700; vignette reaching 50% at the edges, no film grain |

## Why it works

The orb, the capsule and the answer card are one element whose width, height and corner radius are tweened, so the viewer sees one object change shape, with no swap between three objects. The small orb pulses twice with two ripple rings, which reads as an assistant waiting for a voice, and the morph at 2.0s is the first large change, so it is easy to see in a contact sheet. All the colour sits on the edge: a conic rainbow rotates behind a 4px opaque ring with a blurred copy behind it, so the glow stays saturated and never blows out to white. The capsule interior stays dark, so the white 52px request is the brightest thing on screen. The request types in for about 1.3s and holds about 1.5s before the capsule grows, so the question is readable before the answer arrives. The answer comes in two steps, the headline and then a calendar row with the new time, and the screen-edge glow traces the display once while the card grows. A dimmed calendar behind the assistant gives the screen a real task. Five colours (pink, orange, violet, blue, cyan) are the only colour in the film.

## Prompt

> Build an 11-second, 1920x1080, 30 fps dark product film called Siri Animation for a fictional product, Iris (an on-device voice assistant). Use invented names only and no Apple marks. Background #09090b, font Inter, palette pink #ff3d8b, orange #ff8a3d, violet #9a5cff, blue #3d8bff, cyan #35d0ff. Use one paused GSAP timeline and derive all state from it: no CSS animations, no requestAnimationFrame, no Math.random (use a seeded generator for the typing jitter).
>
> Scene: a 1620x960px device (66px radius, near-black, 1.5px hairline) with a 1560x900px screen (40px radius) showing a dimmed week calendar, Mon 30 to Fri 4, 9 AM to 5 PM in 80px rows, 15 events in violet, blue, pink and orange, with a Wed 3:00–4:00 PM event Q1 planning · Dana and Thursday 3–4 PM free. A dark scrim fades in to 62% over 0.4–1.2s.
>
> The assistant is one element centred at x=960 with its top at y=315. It has a blurred halo (filter blur 30px) behind a cap with overflow hidden that holds a 1500px conic-gradient rainbow square rotating 792° over the film (linear), and on top of that an inset-4px dark capsule. Halo and cap share width, height and radius. Orb state: 170x170px, radius 85, with two counter-rotating layers of radial-gradient colour blobs (+1500° and −1100° over 0.3–3.1s), an edge-darkening gradient, a 34% white highlight and a blurred streak; the rainbow ring at 50% opacity. The orb enters 0.3–0.85s (scale 0.5→1, back.out(1.7)). Listening 0.9–1.9s: scale 1.14, 1, 1.1 in 0.35s sine.inOut steps with halo opacity 0.95, 0.5, 0.9; two ripple rings (170px, 2px violet border) scale 1→2.5 and fade over 0.95s at 0.95s and 1.45s; a Listening… label at 30px fades out at 1.95s. Morph 2.0–2.7s with power3.inOut: width 170→1100, height 170→150, radius 85→75 (inner 81→71); the swirl fades with scaleX 2.6 over 0.55s, the ring goes to full opacity, the halo to 0.78, and a 70px blurred rainbow strip (opacity 0.5) along the bottom edge scrolls linearly. Request: the 33 characters of Move my 3pm with Dana to tomorrow type in from 2.75s to about 4.0s at 52px, weight 500, with a white 4px caret, and hold until 5.5s. Answer 5.5–6.2s: height 150→420, radius →56, the request fades and lifts 14px over 0.3s, the halo drops to 0.55. The headline Done. Moved to Thu 3:00 PM (68px, weight 650) rises in at 6.0s (expo.out, 0.55s); a 980x200px calendar row follows at 6.2s with a THU 3 date tile, Q1 planning with Dana (40px), Thu, Dec 3 · 3:00 – 4:00 PM (32px) and Moved from Wed 3:00 PM (28px); a 72px violet-to-pink check badge pops at 6.5s (back.out(2.4)). From 5.5s to 7.3s a rainbow arc traces the screen edge once: an 8px ring outside the screen plus a 26px-blur copy, rotated 360° over 1.7s with power1.inOut. Camera: scale 1→1.04 over 0–8s; everything fades out 8.0–8.3s. Lockup 8.25–8.75s (expo.out): a 156px mark (rainbow ring with a dark pupil), Iris at 176px weight 700 and the tagline Say it. It's done. at 44px, held still to 11s. Add a vignette reaching 50% and no film grain. Render an MP4 with HyperFrames or port the timeline to a web page.

## Often confused with

- [Shimmer Text Effect](https://motionboard.app/r/shimmer-text-effect.md): Shimmer Text Effect shows an AI chat reply with a light band sweeping through a status line; Siri Animation changes the shape of one assistant element, from orb to capsule to answer card, and puts the light on its edge.
- [Morph Transition](https://motionboard.app/r/morph-transition.md): Morph Transition replaces cuts by turning one element into the next across a whole sequence; Siri Animation morphs a single assistant element through three states and keeps the colour on its border.

## Source files

Runnable HyperFrames project, 3 files.

- https://motionboard.app/source/siri-glow/hyperframes.json (318 B)
- https://motionboard.app/source/siri-glow/index.html (25.2 KB)
- https://motionboard.app/source/siri-glow/package.json (298 B)

Download all of them:

```sh
curl -fsSL --create-dirs -o "siri-glow/hyperframes.json" "https://motionboard.app/source/siri-glow/hyperframes.json"
curl -fsSL --create-dirs -o "siri-glow/index.html" "https://motionboard.app/source/siri-glow/index.html"
curl -fsSL --create-dirs -o "siri-glow/package.json" "https://motionboard.app/source/siri-glow/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 {
        --bg: #09090b;
        --ink: #f4f4f8;
        --sub: #a3a3b8;
        --mut: #6f6f86;
        --line: rgba(255, 255, 255, 0.07);
        --pink: #ff3d8b;
        --orange: #ff8a3d;
        --violet: #9a5cff;
        --blue: #3d8bff;
        --cyan: #35d0ff;
        --font-ui: "Inter", -apple-system, "SF Pro Text", "Helvetica Neue", sans-serif;
      }
      * { margin: 0; padding: 0; box-sizing: border-box; }
      html, body { width: 1920px; height: 1080px; overflow: hidden; background: var(--bg); }
      #root { position: relative; width: 1920px; height: 1080px; overflow: hidden; background: var(--bg); font-family: var(--font-ui); color: var(--ink); -webkit-font-smoothing: antialiased; }
      .layer { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; }
      .a { position: absolute; }
      svg { display: block; }

      /* ---------- backdrop ---------- */
      #bg { overflow: hidden; background: #09090b; }
      .blob { position: absolute; border-radius: 50%; }
      #b1 { left: -300px; top: -380px; width: 1300px; height: 980px; background: radial-gradient(closest-side, rgba(110, 70, 255, 0.26) 0%, rgba(110, 70, 255, 0) 100%); }
      #b2 { left: 1100px; top: 560px; width: 1200px; height: 900px; background: radial-gradient(closest-side, rgba(255, 61, 139, 0.14) 0%, rgba(255, 61, 139, 0) 100%); }
      #b3 { left: 1200px; top: -320px; width: 1000px; height: 800px; background: radial-gradient(closest-side, rgba(61, 139, 255, 0.16) 0%, rgba(61, 139, 255, 0) 100%); }

      /* ---------- stage ---------- */
      #stage { z-index: 4; }
      #cam { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; }

      /* shared rainbow gradient (one cycle) */
      .rb { background: conic-gradient(from 0deg, #ff3d8b 0%, #ff8a3d 20%, #9a5cff 45%, #3d8bff 70%, #35d0ff 85%, #ff3d8b 100%); }
      .sq { position: absolute; left: 50%; top: 50%; width: 1500px; height: 1500px; margin-left: -750px; margin-top: -750px; }

      /* device */
      #device { position: absolute; left: 150px; top: 60px; width: 1620px; height: 960px; border-radius: 66px; background: #040405; opacity: 0;
        box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.14), inset 0 0 0 2px #17171d, 0 50px 120px rgba(0, 0, 0, 0.7), 0 0 180px rgba(120, 80, 255, 0.12); }
      #sring { left: 22px; top: 22px; width: 1576px; height: 916px; border-radius: 48px; overflow: hidden; opacity: 0; }
      #shalo { left: 22px; top: 22px; width: 1576px; height: 916px; border-radius: 48px; overflow: hidden; opacity: 0; filter: blur(26px); }
      .arc { background: conic-gradient(from 0deg, rgba(255, 61, 139, 0) 0%, rgba(255, 61, 139, 0) 52%, #ff3d8b 66%, #ff8a3d 76%, #9a5cff 86%, #3d8bff 95%, rgba(61, 139, 255, 0) 100%); width: 2400px; height: 2400px; margin-left: -1200px; margin-top: -1200px; }
      #screen { left: 30px; top: 30px; width: 1560px; height: 900px; border-radius: 40px; overflow: hidden; background: #0e0e13; }
      #scrim { left: 0; top: 0; width: 1560px; height: 900px; background: #060609; opacity: 0; }

      /* calendar behind the assistant */
      #topbar { left: 0; top: 0; width: 1560px; height: 88px; border-bottom: 1px solid var(--line); }
      #ttl { left: 40px; top: 0; height: 88px; line-height: 88px; font-size: 34px; font-weight: 650; letter-spacing: -0.02em; color: var(--ink); }
      #tnav { left: 330px; top: 24px; display: flex; gap: 8px; color: var(--sub); }
      #tnav span { width: 40px; height: 40px; border-radius: 12px; background: #1a1a22; display: flex; align-items: center; justify-content: center; }
      #seg { right: 40px; top: 22px; height: 44px; display: flex; gap: 6px; padding: 4px; border-radius: 14px; background: #17171e; font-size: 20px; font-weight: 550; color: var(--sub); }
      #seg span { padding: 0 20px; line-height: 36px; border-radius: 10px; }
      #seg span.on { background: #2b2b38; color: var(--ink); }
      #side { left: 0; top: 88px; width: 230px; height: 812px; border-right: 1px solid var(--line); }
      .mh { left: 24px; top: 24px; font-size: 22px; font-weight: 650; color: var(--ink); }
      .mg { left: 14px; top: 66px; width: 202px; display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 4px; text-align: center; font-size: 16px; line-height: 28px; color: var(--sub); }
      .mg i { font-style: normal; }
      .mg i.d { color: var(--mut); font-weight: 600; }
      .mg i.o { color: #4a4a5a; }
      .mg i.t { background: var(--violet); color: #fff; border-radius: 50%; font-weight: 700; width: 28px; margin: 0 auto; }
      .cl { left: 24px; font-size: 21px; font-weight: 550; color: var(--sub); display: flex; align-items: center; gap: 12px; }
      .cl b { width: 12px; height: 12px; border-radius: 4px; display: block; }
      .dh { top: 88px; width: 249px; height: 70px; text-align: center; }
      .dh em { display: block; font-style: normal; margin-top: 8px; font-size: 16px; letter-spacing: 0.08em; font-weight: 600; color: var(--mut); line-height: 20px; }
      .dh strong { display: block; font-size: 28px; font-weight: 600; color: var(--sub); line-height: 36px; }
      .dh.tdy strong { color: #fff; background: var(--violet); border-radius: 18px; width: 42px; margin: 0 auto; }
      .tl { left: 232px; width: 78px; text-align: right; font-size: 16px; color: var(--mut); line-height: 20px; font-weight: 500; }
      .hl { left: 314px; width: 1245px; height: 1px; background: var(--line); }
      .vl { top: 88px; width: 1px; height: 812px; background: var(--line); }
      .ev { border-radius: 10px; padding: 6px 12px; overflow: hidden; font-size: 20px; line-height: 24px; font-weight: 600; color: #ececf4; white-space: nowrap; }
      .ev small { display: block; font-size: 16px; line-height: 20px; font-weight: 500; color: rgba(236, 236, 244, 0.6); }

      /* assistant: orb -> capsule -> answer card (one element, geometry tweened) */
      #capWrap { position: absolute; left: 960px; top: 315px; width: 0; height: 0; opacity: 0; }
      #halo, #cap { position: absolute; left: 0; top: 0; width: 170px; height: 170px; border-radius: 85px; overflow: hidden; }
      #halo { filter: blur(30px); opacity: 0; }
      #conic { opacity: 0.5; }
      #capInner { position: absolute; left: 4px; top: 4px; right: 4px; bottom: 4px; border-radius: 81px; overflow: hidden; background: linear-gradient(180deg, #0b0b10 0%, #11111a 100%); box-shadow: inset 0 0 26px rgba(154, 92, 255, 0.16); }
      #orbwrap { position: absolute; left: calc(50% - 81px); top: 0; width: 162px; height: 162px; border-radius: 50%; overflow: hidden; }
      .bl { position: absolute; border-radius: 50%; }
      .bp { background: radial-gradient(closest-side, rgba(255, 61, 139, 0.95), rgba(255, 61, 139, 0)); }
      .bo { background: radial-gradient(closest-side, rgba(255, 138, 61, 0.95), rgba(255, 138, 61, 0)); }
      .bv { background: radial-gradient(closest-side, rgba(154, 92, 255, 0.95), rgba(154, 92, 255, 0)); }
      .bb { background: radial-gradient(closest-side, rgba(61, 139, 255, 0.95), rgba(61, 139, 255, 0)); }
      .spin { position: absolute; left: 0; top: 0; width: 162px; height: 162px; }
      #gloss { position: absolute; left: 0; top: 0; width: 162px; height: 162px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.6) 100%); }
      #spec { position: absolute; left: 28px; top: 12px; width: 106px; height: 46px; border-radius: 50%; background: radial-gradient(ellipse closest-side, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0)); }
      #streak { position: absolute; left: 34px; top: 76px; width: 94px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); filter: blur(5px); }
      #bglow { position: absolute; left: 0; right: 0; bottom: -34px; height: 70px; opacity: 0; filter: blur(22px);
        background: linear-gradient(90deg, #ff3d8b 0, #ff8a3d 18%, #9a5cff 40%, #3d8bff 62%, #ff3d8b 100%); background-size: 1100px 100%; background-repeat: repeat-x; }
      #typed { left: 60px; top: 0; height: 142px; line-height: 142px; font-size: 52px; font-weight: 500; letter-spacing: -0.015em; color: var(--ink); white-space: pre; }
      #typed .ch { display: none; }
      #tcar { display: inline-block; width: 0; height: 58px; position: relative; vertical-align: -10px; opacity: 0; }
      #tcar::after { content: ""; position: absolute; left: 4px; top: 0; width: 4px; height: 58px; border-radius: 2px; background: #fff; box-shadow: 0 0 12px rgba(190, 160, 255, 0.7); }
      #ahead { left: 56px; top: 36px; width: 990px; height: 84px; line-height: 84px; font-size: 68px; font-weight: 650; letter-spacing: -0.025em; color: #fff; white-space: nowrap; opacity: 0; }
      #arow { left: 56px; top: 160px; width: 980px; height: 200px; border-radius: 30px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.11); opacity: 0; }
      #atile { left: 32px; top: 32px; width: 128px; height: 134px; border-radius: 22px; background: #f4f4f8; overflow: hidden; }
      #atile i { position: absolute; left: 0; top: 0; width: 128px; height: 44px; background: linear-gradient(135deg, #b07cff, #8450f0); color: #fff; font-style: normal; font-size: 24px; font-weight: 700; letter-spacing: 0.08em; text-align: center; line-height: 44px; }
      #atile b { position: absolute; left: 0; top: 40px; width: 128px; height: 94px; text-align: center; font-size: 76px; line-height: 94px; font-weight: 700; color: #15151c; letter-spacing: -0.03em; }
      #at1 { left: 196px; top: 30px; font-size: 40px; line-height: 48px; font-weight: 650; letter-spacing: -0.015em; color: #fff; white-space: nowrap; }
      #at2 { left: 196px; top: 84px; font-size: 32px; line-height: 40px; font-weight: 500; color: #c3c3d4; white-space: nowrap; }
      #at3 { left: 196px; top: 134px; font-size: 28px; line-height: 36px; font-weight: 500; color: #84849a; white-space: nowrap; }
      #achk { right: 36px; top: 64px; width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, #9a5cff, #ff3d8b); display: flex; align-items: center; justify-content: center; opacity: 0; }
      .rp { position: absolute; left: 875px; top: 315px; width: 170px; height: 170px; border-radius: 50%; border: 2px solid rgba(190, 150, 255, 0.7); opacity: 0; }
      #listen { left: 710px; top: 512px; width: 500px; text-align: center; font-size: 30px; line-height: 38px; font-weight: 500; letter-spacing: 0.01em; color: var(--sub); opacity: 0; }

      /* ---------- lockup ---------- */
      #end { z-index: 8; }
      #lock { left: 0; top: 0; width: 1920px; height: 1080px; display: flex; align-items: center; justify-content: center; gap: 46px; }
      #lmk { position: relative; width: 156px; height: 156px; border-radius: 50%; flex: none; opacity: 0; background: conic-gradient(from 200deg, #ff3d8b 0%, #ff8a3d 22%, #9a5cff 48%, #3d8bff 72%, #35d0ff 86%, #ff3d8b 100%); box-shadow: 0 0 70px rgba(154, 92, 255, 0.35); }
      #lin { position: absolute; left: 18px; top: 18px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #1b1728 0%, #08080b 100%); }
      #lpu { position: absolute; left: 46px; top: 46px; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #b07cff, #ff3d8b); box-shadow: 0 0 22px rgba(154, 92, 255, 0.7); }
      #lcol { position: relative; opacity: 0; }
      #lwm { font-size: 176px; line-height: 210px; font-weight: 700; letter-spacing: -0.055em; color: #f6f6fa; white-space: nowrap; }
      #lsub { margin-top: -4px; margin-left: 6px; font-size: 44px; line-height: 54px; font-weight: 500; letter-spacing: -0.015em; color: var(--sub); white-space: nowrap; }

      /* ---------- finish ---------- */
      #fx { z-index: 9; pointer-events: none; background: radial-gradient(ellipse 85% 90% at 50% 48%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.5) 100%); }
    </style>
  </head>
  <body>
    <div id="root" data-composition-id="main" data-start="0" data-duration="11" data-width="1920" data-height="1080">
      <div id="bg" class="layer clip" data-start="0" data-duration="11" data-track-index="0" data-layout-allow-overlap data-layout-allow-overflow>
        <div id="b1" class="blob"></div><div id="b2" class="blob"></div><div id="b3" class="blob"></div>
      </div>

      <div id="stage" class="layer clip" data-start="0" data-duration="8.4" data-track-index="1" data-layout-allow-overlap data-layout-allow-overflow>
        <div id="cam" data-layout-allow-overlap data-layout-allow-overflow>
          <div id="device" data-layout-allow-overlap data-layout-allow-overflow>
            <div id="shalo" class="a"><div class="sq arc" id="shconic"></div></div>
            <div id="sring" class="a"><div class="sq arc" id="sconic"></div></div>
            <div id="screen" class="a" data-layout-allow-overlap data-layout-allow-overflow>
              <div id="cal" class="a" data-layout-allow-overlap data-layout-allow-overflow></div>
              <div id="scrim" class="a"></div>
            </div>
          </div>

          <div id="listen" class="a">Listening…</div>
          <div id="rp1" class="rp"></div>
          <div id="rp2" class="rp"></div>

          <div id="capWrap" data-layout-allow-overlap data-layout-allow-overflow>
            <div id="halo"><div class="sq rb" id="hconic"></div></div>
            <div id="cap">
              <div class="sq rb" id="conic"></div>
              <div id="capInner" data-layout-allow-overlap data-layout-allow-overflow>
                <div id="orbwrap">
                  <div id="spin1" class="spin">
                    <div class="bl bp" style="left:8px;top:30px;width:110px;height:110px"></div>
                    <div class="bl bo" style="left:56px;top:-6px;width:100px;height:100px"></div>
                    <div class="bl bv" style="left:50px;top:62px;width:110px;height:110px"></div>
                    <div class="bl bb" style="left:-12px;top:66px;width:96px;height:96px"></div>
                  </div>
                  <div id="spin2" class="spin" style="opacity:0.75">
                    <div class="bl bp" style="left:44px;top:40px;width:86px;height:86px"></div>
                    <div class="bl bb" style="left:16px;top:8px;width:90px;height:90px"></div>
                    <div class="bl bo" style="left:70px;top:70px;width:80px;height:80px"></div>
                  </div>
                  <div id="gloss"></div>
                  <div id="spec"></div>
                  <div id="streak"></div>
                </div>
                <div id="bglow"></div>
                <div id="typed" class="a"></div>
                <div id="ahead" class="a">Done. Moved to Thu 3:00 PM</div>
                <div id="arow" class="a">
                  <div id="atile" class="a"><i>THU</i><b>3</b></div>
                  <div id="at1" class="a">Q1 planning with Dana</div>
                  <div id="at2" class="a">Thu, Dec 3 · 3:00 – 4:00 PM</div>
                  <div id="at3" class="a">Moved from Wed 3:00 PM</div>
                  <div id="achk" class="a"></div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>

      <div id="end" class="layer clip" data-start="8.1" data-duration="2.9" data-track-index="2" data-layout-allow-overlap>
        <div id="lock" class="a" data-layout-allow-overlap>
          <div id="lmk"><div id="lin"></div><div id="lpu"></div></div>
          <div id="lcol"><div id="lwm">Iris</div><div id="lsub">Say it. It's done.</div></div>
        </div>
      </div>

      <div id="fx" class="layer clip" data-start="0" data-duration="11" data-track-index="3" data-layout-ignore></div>
    </div>

    <script>
      const $ = (id) => document.getElementById(id);

      /* ---------- calendar backdrop ---------- */
      const COL = { v: ["154,92,255", "#9a5cff"], b: ["61,139,255", "#3d8bff"], p: ["255,61,139", "#ff3d8b"], o: ["255,138,61", "#ff8a3d"] };
      const DAYS = [["MON", 30], ["TUE", 1], ["WED", 2], ["THU", 3], ["FRI", 4]];
      const EV = [
        [0, 9, 0.5, "Standup", "9:00", "b"], [0, 11, 1, "Roadmap sync", "11:00 – 12:00", "v"], [0, 14, 1, "1:1 with Priya", "2:00 – 3:00 PM", "o"],
        [1, 10, 1.5, "Design crit", "10:00 – 11:30", "p"], [1, 13, 1, "Lunch with Marco", "1:00 – 2:00 PM", "o"], [1, 16, 1, "Sprint demo", "4:00 – 5:00 PM", "b"],
        [2, 9.5, 1, "Investor update", "9:30 – 10:30", "p"], [2, 12, 1.5, "Focus time", "12:00 – 1:30 PM", "b"], [2, 15, 1, "Q1 planning · Dana", "3:00 – 4:00 PM", "v"],
        [3, 10, 1, "Hiring panel", "10:00 – 11:00", "v"], [3, 11.5, 1, "Offsite prep", "11:30 – 12:30", "o"], [3, 16, 1, "Team retro", "4:00 – 5:00 PM", "p"],
        [4, 9, 1, "Weekly metrics", "9:00 – 10:00", "b"], [4, 13, 1, "Customer call", "1:00 – 2:00 PM", "v"], [4, 15.5, 1, "Ship review", "3:30 – 4:30 PM", "o"]
      ];
      const X0 = 314, CW = 249, Y0 = 158, RH = 80;
      let h = "";
      h += '<div id="topbar" class="a"><div id="ttl" class="a">December 2026</div>' +
        '<div id="tnav" class="a"><span><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m15 18-6-6 6-6"/></svg></span><span><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m9 18 6-6-6-6"/></svg></span></div>' +
        '<div id="seg" class="a"><span>Day</span><span class="on">Week</span><span>Month</span></div></div>';
      h += '<div id="side" class="a"><div class="mh a">December</div><div class="mg a">';
      "MTWTFSS".split("").forEach((d) => { h += '<i class="d">' + d + "</i>"; });
      [30, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 1, 2, 3].forEach((n, i) => {
        h += '<i class="' + (i === 0 || i >= 32 ? "o" : n === 2 ? "t" : "") + '">' + n + "</i>";
      });
      h += '</div><div class="cl a" style="top:330px"><b style="background:#9a5cff"></b>Work</div>' +
        '<div class="cl a" style="top:372px"><b style="background:#ff3d8b"></b>Personal</div>' +
        '<div class="cl a" style="top:414px"><b style="background:#3d8bff"></b>Team</div>' +
        '<div class="cl a" style="top:456px"><b style="background:#ff8a3d"></b>Travel</div></div>';
      DAYS.forEach((d, i) => {
        h += '<div class="a dh' + (i === 2 ? " tdy" : "") + '" style="left:' + (X0 + i * CW) + 'px"><em>' + d[0] + "</em><strong>" + d[1] + "</strong></div>";
        h += '<div class="a vl" style="left:' + (X0 + i * CW) + 'px"></div>';
      });
      for (let r = 0; r <= 9; r++) {
        const hr = 9 + r, lab = hr < 12 ? hr + " AM" : (hr === 12 ? 12 : hr - 12) + " PM";
        if (r < 9) h += '<div class="a tl" style="top:' + (Y0 + r * RH - 10) + 'px">' + lab + "</div>";
        h += '<div class="a hl" style="top:' + (Y0 + r * RH) + 'px"></div>';
      }
      EV.forEach((e) => {
        const c = COL[e[5]];
        h += '<div class="a ev" style="left:' + (X0 + e[0] * CW + 6) + "px;top:" + (Y0 + (e[1] - 9) * RH + 2) + "px;width:" + (CW - 12) + "px;height:" + (e[2] * RH - 4) +
          "px;background:rgba(" + c[0] + ",0.2);border-left:4px solid " + c[1] + '">' + e[3] + (e[2] >= 1 ? "<small>" + e[4] + "</small>" : "") + "</div>";
      });
      $("cal").innerHTML = h;

      /* ---------- typed request ---------- */
      const MSG = "Move my 3pm with Dana to tomorrow";
      let chs = "";
      for (let i = 0; i < MSG.length; i++) chs += '<span class="ch" id="ch' + i + '">' + MSG[i] + "</span>";
      $("typed").innerHTML = chs + '<span id="tcar"></span>';
      $("achk").innerHTML = '<svg width="38" height="38" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>';

      /* ---------- timeline ---------- */
      const tl = gsap.timeline({ paused: true });
      const EXPO = "expo.out";
      let seed = 33;
      const rnd = () => { seed = (seed * 16807) % 2147483647; return seed / 2147483647; };
      const blink = (sel, t0, t1, per) => {
        let on = true;
        for (let t = t0; t < t1; t += per / 2) { tl.set(sel, { opacity: on ? 1 : 0 }, t); on = !on; }
      };

      gsap.set("#cam", { transformOrigin: "960px 540px" });
      gsap.set(["#cap", "#halo"], { xPercent: -50 });
      gsap.set("#capWrap", { transformOrigin: "0px 85px" });

      /* camera: slow push, then clear */
      tl.to("#cam", { scale: 1.04, duration: 8, ease: "power1.inOut" }, 0);
      tl.to("#cam", { opacity: 0, duration: 0.3, ease: "power2.in" }, 8.0);

      /* device in, screen dims as the assistant wakes */
      tl.set("#device", { y: 30 }, 0);
      tl.to("#device", { opacity: 1, y: 0, duration: 0.7, ease: EXPO }, 0);
      tl.to("#scrim", { opacity: 0.62, duration: 0.8, ease: "power2.out" }, 0.4);

      /* continuous rainbow rotation (one turn per 5 s) */
      tl.to(["#conic", "#hconic"], { rotation: 792, duration: 11, ease: "none" }, 0);

      /* orb swirl */
      tl.to("#spin1", { rotation: 1500, duration: 2.8, ease: "none" }, 0.3);
      tl.to("#spin2", { rotation: -1100, duration: 2.8, ease: "none" }, 0.3);

      /* orb appears and listens */
      tl.set("#capWrap", { scale: 0.5 }, 0);
      tl.to("#capWrap", { opacity: 1, duration: 0.3, ease: "power2.out" }, 0.3);
      tl.to("#capWrap", { scale: 1, duration: 0.55, ease: "back.out(1.7)" }, 0.3);
      tl.to("#halo", { opacity: 0.55, duration: 0.5, ease: "power2.out" }, 0.4);
      tl.to("#listen", { opacity: 1, duration: 0.35, ease: "power2.out" }, 0.9);
      tl.to("#capWrap", { scale: 1.14, duration: 0.35, ease: "sine.inOut" }, 0.9);
      tl.to("#capWrap", { scale: 1, duration: 0.35, ease: "sine.inOut" }, 1.25);
      tl.to("#capWrap", { scale: 1.1, duration: 0.3, ease: "sine.inOut" }, 1.6);
      tl.to("#halo", { opacity: 0.95, duration: 0.35, ease: "sine.inOut" }, 0.9);
      tl.to("#halo", { opacity: 0.5, duration: 0.35, ease: "sine.inOut" }, 1.25);
      tl.to("#halo", { opacity: 0.9, duration: 0.3, ease: "sine.inOut" }, 1.6);
      [0.95, 1.45].forEach((t, i) => {
        tl.set("#rp" + (i + 1), { scale: 1, opacity: 0.55 }, t);
        tl.to("#rp" + (i + 1), { scale: 2.5, opacity: 0, duration: 0.95, ease: "power2.out" }, t);
      });

      /* morph orb -> capsule */
      tl.to(["#cap", "#halo"], { width: 1100, height: 150, borderRadius: 75, duration: 0.7, ease: "power3.inOut" }, 2.0);
      tl.to("#capInner", { borderRadius: 71, duration: 0.7, ease: "power3.inOut" }, 2.0);
      tl.to("#orbwrap", { scaleX: 2.6, opacity: 0, duration: 0.55, ease: "power2.in" }, 2.0);
      tl.to("#conic", { opacity: 1, duration: 0.5, ease: "power2.out" }, 2.0);
      tl.to("#halo", { opacity: 0.78, duration: 0.6, ease: "power2.out" }, 2.0);
      tl.to("#capWrap", { scale: 1, duration: 0.5, ease: "power2.out" }, 2.0);
      tl.to("#listen", { opacity: 0, duration: 0.25, ease: "power2.in" }, 1.95);
      tl.to("#bglow", { opacity: 0.5, duration: 0.6, ease: "power2.out" }, 2.3);
      const bgp = { p: 0 };
      tl.to(bgp, { p: 4400, duration: 11, ease: "none", onUpdate: () => { $("bglow").style.backgroundPositionX = (-bgp.p).toFixed(1) + "px"; } }, 0);

      /* request types in */
      blink("#tcar", 2.5, 2.7, 0.3);
      tl.set("#tcar", { opacity: 1 }, 2.7);
      const N = MSG.length;
      let t = 2.75;
      for (let i = 0; i < N; i++) {
        t += 0.018 + rnd() * 0.016 + (MSG[i] === " " ? 0.06 : 0);
        tl.set("#ch" + i, { display: "inline" }, t);
      }
      tl.to("#bglow", { opacity: 0.75, duration: 0.5, ease: "sine.inOut" }, 3.0);
      tl.to("#bglow", { opacity: 0.45, duration: 0.5, ease: "sine.inOut" }, 3.5);
      tl.to("#bglow", { opacity: 0.6, duration: 0.5, ease: "sine.inOut" }, 4.0);
      blink("#tcar", 4.1, 5.5, 0.5);
      tl.set("#tcar", { opacity: 0 }, 5.5);

      /* capsule expands into the answer card */
      tl.to(["#cap", "#halo"], { height: 420, borderRadius: 56, duration: 0.7, ease: "power3.inOut" }, 5.5);
      tl.to("#capInner", { borderRadius: 52, duration: 0.7, ease: "power3.inOut" }, 5.5);
      tl.to("#typed", { opacity: 0, y: -14, duration: 0.3, ease: "power2.in" }, 5.5);
      tl.to("#halo", { opacity: 0.55, duration: 0.7, ease: "power2.out" }, 5.5);
      tl.to("#bglow", { opacity: 0.3, duration: 0.7, ease: "power2.out" }, 5.5);
      tl.set("#ahead", { y: 18 }, 0);
      tl.to("#ahead", { opacity: 1, y: 0, duration: 0.55, ease: EXPO }, 6.0);
      tl.set("#arow", { y: 22 }, 0);
      tl.to("#arow", { opacity: 1, y: 0, duration: 0.6, ease: EXPO }, 6.2);
      tl.set("#achk", { scale: 0.4 }, 0);
      tl.to("#achk", { opacity: 1, scale: 1, duration: 0.5, ease: "back.out(2.4)" }, 6.5);

      /* rainbow traces the whole screen edge once */
      tl.to(["#sring", "#shalo"], { opacity: 1, duration: 0.3, ease: "power2.out" }, 5.5);
      tl.to(["#sconic", "#shconic"], { rotation: 360, duration: 1.7, ease: "power1.inOut" }, 5.5);
      tl.to(["#sring", "#shalo"], { opacity: 0, duration: 0.4, ease: "power2.in" }, 6.9);

      /* lockup */
      tl.set("#lmk", { scale: 0.8, rotation: -90 }, 0);
      tl.set("#lcol", { y: 30 }, 0);
      tl.to("#lmk", { opacity: 1, scale: 1, rotation: 0, duration: 0.5, ease: EXPO }, 8.25);
      tl.to("#lcol", { opacity: 1, y: 0, duration: 0.45, ease: EXPO }, 8.3);

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