# Bar Chart Animation

Motionboard shot name: Benchmark Bars

A dark benchmark chart draws its axes and gridlines, then four grey bars (Model A to Model D) grow in a stagger with values counting up to 57.4%. The Vector bar grows last, taller and in violet-blue, counting to 71.8% with a +14.4 pts chip, before the lockup.

- Position in a launch film: Features
- Slug: bar-chart-animation
- Preview video: https://media.motionboard.app/benchmark-bars.mp4
- Recipe page: https://motionboard.app/recipes/bar-chart-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 `benchmark-bars`. 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. Title rises 0.12–1.0s and subtitle 0.3–1.2s; baseline draws 0.4–1.4s, the 20%, 40% and 60% gridlines 0.55–1.65s (0.9s each, 0.1s apart); y labels fade in from 0.55s (0.7s each, 0.08s apart); Model A grows 1.30–2.55s, B 1.55–2.8s, C 1.80–3.05s, D 2.05–3.3s (1.25s each); Vector grows 3.05–4.95s (1.9s); Vector glow fades in 3.4–4.7s; value pop 4.75–5.47s; light sweep 4.85–5.8s; chip rises 5.0–5.8s; hold until 7.0s; chart clears 7.0–7.55s; mark draws 7.7–8.45s, wordmark rises 7.8–8.6s, tagline 8.0–8.75s and holds to the end |
| Easing | Each bar and its counted value share one `power3.out` progress; title, gridlines, y labels, model labels, chip, wordmark and tagline use expo.out; the value pop is power2.out up and power2.inOut back; the light sweep is power2.inOut; the glow fades in with power2.out and eases down with sine.inOut; the chart exit is power2.in; the mark strokes use power2.out; value fade-ins are 0.35s power2.out |
| Camera | Locked frame, no camera move. The chart fills the frame: a 1380px plot from x=270 to x=1650 with the baseline at y=920, and the title at the top left (x=190) |
| Subject | Title 52px and subtitle 28px; baseline 3px at 32% white, gridlines 2px at 9% white at 20%, 40% and 60% (7.3px per percentage point, so y=773, 627 and 481), no 80% line; y labels 26px; five bars 180px wide on a 276px pitch (left edges 317, 593, 869, 1145, 1421) with a 14px top radius. Competitor bars are a #4b4b56→#30303a gradient and grow to 300.8px (41.2%), 355.5px (48.7%), 386.2px (52.9%) and 419.0px (57.4%); the Vector bar is a #a9b4ff→#7b8cff→#4f5bf0 gradient growing to 524.1px (71.8%) with a 56px-blurred glow behind it. Competitor values 56px weight 700 sit 14px above the bar top; the Vector value is 108px weight 800, 18px above. Model labels 30px (Model A to Model D, invented names), Vector label 40px at y=944. Chip 450x46px at (1286, 214), 28px, reading +14.4 pts over the next best. Lockup: a 150px mark (a V in ink with a smaller violet-blue V inside it), the word Vector at 150px weight 700 and a 38px tagline |
| Sync | The value label rides the bar top and both finish on the same frame; Model D finishes at 3.3s and the Vector bar has already started at 3.05s, so the last grey bar and the first coloured one overlap; the pop at 4.75s lands 0.2s before the bar finishes, the light sweep starts at 4.85s, and the chip arrives at 5.0s, just after the number settles at 4.95s; the glow reaches full strength about 0.25s before the count ends and eases down while the chip is on screen; the chart is fully clear at 7.55s, before the mark starts at 7.7s |
| Style | Background `#09090b`, one accent violet-blue `#7b8cff` (light tint #a9b4ff on the Vector label and chip text); grey bars and text in neutral greys (#9a9aa6 labels, #d2d2da competitor values); Inter throughout, title weight 700; a 120px grid at 2.8% opacity masked to the centre, a soft accent glow behind the plot, grain at 7% opacity and a vignette reaching 60% black at the edges |

## Why it works

The chart is a ranking: four grey bars set the field and the brand bar arrives last, in colour, taller and with the largest number, so the eye reads the result before any label. Bar height and counted value come from the same eased progress, so each number rides the top of its bar all the way up and stops on the frame the bar stops. The four competitors start 0.25s apart on power3.out, a quick rise with a soft landing, and the brand bar gets a longer 1.9s run so its finish is the last thing to arrive. The axes draw first, so the bars grow into a frame the viewer already understands. Gridlines stop at 60% so no line cuts through the 108px figure, and the competitor values carry a dark halo that hides the gridline behind them. After the count lands, a small pop, one light sweep up the bar and a chip with the margin (+14.4 pts) give the result a reason to hold for about 2s. There is one accent colour, violet-blue #7b8cff, used only on the brand bar, its glow, its label and the chip.

## Prompt

> Build a 11-second, 1920x1080, 30 fps dark product film called Bar Chart Animation for a fictional product, Vector (a coding agent). Background #09090b, one accent violet-blue #7b8cff, font Inter, text #f4f4f5. Use one paused GSAP timeline with no CSS animations. Put all hidden starting states in CSS (opacity 0, bar height 0) so frame 0 is clean. The frame is a benchmark chart, locked, no camera move. Title Tasks solved, SWE-style benchmark at 52px weight 700, left x=190, y=62; subtitle Share of tasks resolved · higher is better at 28px, #9a9aa6. Plot 1380px wide from x=270 to x=1650, baseline at y=920, 7.3px per percentage point. Draw a 3px baseline (white at 32%) and 2px gridlines (white at 9%) at 20%, 40% and 60% (y=773, 627, 481), no 80% line, with 26px y labels 0, 20%, 40%, 60% right-aligned at x=252. Five bars 180px wide on a 276px pitch, left edges 317, 593, 869, 1145, 1421, top radius 14px. Four invented competitors, never real model names: Model A 41.2%, Model B 48.7%, Model C 52.9%, Model D 57.4%, as grey gradient bars (#4b4b56 to #30303a). The fifth bar is Vector at 71.8% in a gradient #a9b4ff, #7b8cff at 38%, #4f5bf0, with a blurred accent glow (56px blur) behind it. Each bar has a value label 14px above its top (56px, weight 700, #d2d2da, tabular numbers, with a dark text-shadow halo so a gridline never strikes through it); the Vector value is 108px weight 800, #f4f4f5, 18px above its bar. Model labels at y=944, 30px, #9a9aa6; the Vector label is 40px weight 700 in #a9b4ff. Drive each bar with one proxy tween u from 0 to 1 with ease none, and in its onUpdate compute p = power3.out(u), then set the bar height to p x value x 7.3px and the label text to p x value with one decimal and a % sign, so the number rides the bar top. Timeline: title rises 0.12–1.0s and subtitle 0.3–1.2s (expo.out, from 22px and 16px below); baseline draws left to right 0.4–1.4s and the gridlines 0.55–1.65s, 0.9s each, 0.1s apart (expo.out, width 0 to 1380px); y labels fade in from 0.55s, 0.7s each, 0.08s apart. Model A grows 1.30–2.55s, B 1.55–2.8s, C 1.80–3.05s, D 2.05–3.3s, each 1.25s, each label and value fading in over 0.35s as its bar starts. Vector grows last, 3.05–4.95s (1.9s), glow fading to 42% over 3.4–4.7s. At 4.75s the Vector value pops to scale 1.07 over 0.22s and settles over 0.5s; at 4.85s a white-to-transparent sheen band sweeps up the bar over 0.95s (power2.inOut) and fades out. At 5.0s a chip, 450x46px at (1286, 214), 28px, accent tint with a 1px accent border, reading +14.4 pts over the next best, rises in over 0.8s. Hold until 7.0s. The whole chart fades and lifts 34px over 7.0–7.55s (power2.in). Lockup from 7.7s: a 150px mark made of a V in #f4f4f5 (stroke 11) with a smaller accent V inside it (stroke 7), drawn with stroke-dashoffset over 0.7s; the word Vector at 150px weight 700 rising through a mask 7.8–8.6s; the tagline Ship the fix, not the ticket. at 38px fading up 8.0–8.75s; hold to 11s. Finish with a faint 120px grid at 2.8% opacity, a soft radial accent glow behind the plot, a vignette to 60% black and 7% overlay grain (feTurbulence, seed 7).

## Often confused with

- [Count Up Animation](https://motionboard.app/r/count-up-animation.md): Count Up Animation rolls one big figure digit by digit and uses it to drive a dashboard; here five bars grow side by side, each with its own counted value, and the product's bar finishes last and tallest.
- [Control-Driven Change](https://motionboard.app/r/control-driven-change.md): Control-driven Change moves a control and the whole page changes on the same frame; here nothing is interactive and the chart builds itself in a fixed order, ending on the product's bar.

## Source files

Runnable HyperFrames project, 3 files.

- https://motionboard.app/source/benchmark-bars/hyperframes.json (318 B)
- https://motionboard.app/source/benchmark-bars/index.html (13.3 KB)
- https://motionboard.app/source/benchmark-bars/package.json (303 B)

Download all of them:

```sh
curl -fsSL --create-dirs -o "benchmark-bars/hyperframes.json" "https://motionboard.app/source/benchmark-bars/hyperframes.json"
curl -fsSL --create-dirs -o "benchmark-bars/index.html" "https://motionboard.app/source/benchmark-bars/index.html"
curl -fsSL --create-dirs -o "benchmark-bars/package.json" "https://motionboard.app/source/benchmark-bars/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 {
        --base: #09090b;
        --accent: #7b8cff;
        --accent-hi: #a9b4ff;
        --accent-lo: #4f5bf0;
        --ink: #f4f4f5;
        --mut: #9a9aa6;
        --soft: #d2d2da;
        --line: rgba(255, 255, 255, 0.09);
        --font-ui: "Inter", -apple-system, "SF Pro Display", "Helvetica Neue", sans-serif;
      }
      * { margin: 0; padding: 0; box-sizing: border-box; }
      html, body { width: 1920px; height: 1080px; overflow: hidden; background: var(--base); }
      #root { position: relative; width: 1920px; height: 1080px; overflow: hidden; background: var(--base); font-family: var(--font-ui); color: var(--ink); -webkit-font-smoothing: antialiased; }
      .full { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; }

      /* ---------- background ---------- */
      .gridbg {
        position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; opacity: 0.9;
        background-image: linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
        background-size: 120px 120px; background-position: 0 0;
        -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 0%, transparent 100%); mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 0%, transparent 100%);
      }
      #glow1 { position: absolute; left: 260px; top: 160px; width: 1400px; height: 900px; opacity: 0; background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(123,140,255,0.20) 0%, rgba(123,140,255,0.07) 45%, rgba(123,140,255,0) 72%); }
      #fx { pointer-events: none; z-index: 5; }
      #fx .vig { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; background: radial-gradient(ellipse 85% 78% at 50% 48%, rgba(0,0,0,0) 54%, rgba(0,0,0,0.6) 100%); }
      #fx .grain { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; opacity: 0.07; mix-blend-mode: overlay; }

      /* ---------- chart ---------- */
      #ttl { position: absolute; left: 190px; top: 62px; font-size: 52px; line-height: 60px; font-weight: 700; letter-spacing: -0.025em; color: var(--ink); opacity: 0; white-space: nowrap; }
      #sub { position: absolute; left: 190px; top: 132px; font-size: 28px; line-height: 34px; font-weight: 500; color: var(--mut); opacity: 0; white-space: nowrap; letter-spacing: -0.005em; }

      .gl { position: absolute; left: 270px; width: 0; height: 2px; background: rgba(255,255,255,0.09); }
      #g0 { height: 3px; background: rgba(255,255,255,0.32); }
      .gy { position: absolute; left: 170px; width: 82px; text-align: right; font-size: 26px; line-height: 30px; height: 30px; font-weight: 500; color: var(--mut); font-variant-numeric: tabular-nums; opacity: 0; }

      .col { position: absolute; bottom: 160px; width: 180px; height: 0; }
      .fill { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: 14px 14px 0 0; overflow: hidden; background: linear-gradient(180deg, #4b4b56 0%, #30303a 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.12); }
      #colV .fill { background: linear-gradient(180deg, var(--accent-hi) 0%, var(--accent) 38%, var(--accent-lo) 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.45); }
      .sheen { position: absolute; left: 0; top: 0; width: 100%; height: 55%; opacity: 0; background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.42) 50%, rgba(255,255,255,0) 100%); }
      .bglow { position: absolute; left: -40px; right: -40px; top: -20px; bottom: 0; opacity: 0; background: var(--accent); filter: blur(56px); border-radius: 40px; }
      .val { position: absolute; left: -60px; width: 300px; bottom: 100%; margin-bottom: 14px; text-align: center; font-size: 56px; line-height: 64px; font-weight: 700; letter-spacing: -0.02em; color: var(--soft); font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; opacity: 0; white-space: nowrap; text-shadow: 0 0 6px #09090b, 0 0 14px #09090b, 0 0 24px #09090b; }
      #valV { left: -100px; width: 380px; font-size: 108px; line-height: 108px; font-weight: 800; letter-spacing: -0.035em; color: var(--ink); margin-bottom: 18px; }
      .mlab { position: absolute; top: 944px; width: 276px; text-align: center; font-size: 30px; line-height: 36px; font-weight: 600; color: var(--mut); opacity: 0; letter-spacing: -0.005em; }
      #mlabV { font-size: 40px; font-weight: 700; color: var(--accent-hi); letter-spacing: -0.02em; }
      #chip { position: absolute; left: 1286px; top: 214px; width: 450px; height: 46px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 28px; font-weight: 650; color: var(--accent-hi); background: rgba(123,140,255,0.16); box-shadow: inset 0 0 0 1px rgba(123,140,255,0.45); opacity: 0; white-space: nowrap; letter-spacing: -0.005em; }

      /* ---------- lockup ---------- */
      .mk { position: relative; display: block; width: 1em; height: 1em; flex: 0 0 auto; }
      .mk svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }
      #lk { display: flex; flex-direction: column; align-items: center; justify-content: center; }
      .lrow { display: flex; align-items: center; gap: 36px; }
      #lmk { font-size: 150px; }
      .wmask { overflow: hidden; height: 190px; padding: 0 6px; }
      #wm { display: block; font-size: 150px; line-height: 190px; font-weight: 700; letter-spacing: -0.045em; color: var(--ink); }
      #tag { margin-top: 26px; font-size: 38px; font-weight: 500; letter-spacing: -0.005em; color: var(--mut); opacity: 0; }
      #tag b { font-weight: 500; color: var(--soft); }
    </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="clip full" data-start="0" data-duration="11" data-track-index="0" data-layout-allow-overlap>
        <div class="gridbg"></div>
        <div id="glow1"></div>
      </div>

      <div id="chart" class="clip full" data-start="0" data-duration="7.7" data-track-index="1" data-layout-allow-overlap>
        <div id="ttl">Tasks solved, SWE-style benchmark</div>
        <div id="sub">Share of tasks resolved &middot; higher is better</div>

        <div class="gl" id="g60" style="top:481px"></div>
        <div class="gl" id="g40" style="top:627px"></div>
        <div class="gl" id="g20" style="top:773px"></div>
        <div class="gl" id="g0" style="top:919px"></div>
        <div class="gy" style="top:467px">60%</div>
        <div class="gy" style="top:613px">40%</div>
        <div class="gy" style="top:759px">20%</div>
        <div class="gy" style="top:905px">0</div>

        <div class="col" id="colA" style="left:317px" data-layout-allow-overflow><div class="fill"></div><div class="val" id="valA" data-layout-allow-overflow>0.0%</div></div>
        <div class="col" id="colB" style="left:593px" data-layout-allow-overflow><div class="fill"></div><div class="val" id="valB" data-layout-allow-overflow>0.0%</div></div>
        <div class="col" id="colC" style="left:869px" data-layout-allow-overflow><div class="fill"></div><div class="val" id="valC" data-layout-allow-overflow>0.0%</div></div>
        <div class="col" id="colD" style="left:1145px" data-layout-allow-overflow><div class="fill"></div><div class="val" id="valD" data-layout-allow-overflow>0.0%</div></div>
        <div class="col" id="colV" style="left:1421px" data-layout-allow-overflow>
          <div class="bglow" id="bglow"></div>
          <div class="fill"><div class="sheen" id="sheen"></div></div>
          <div class="val" id="valV" data-layout-allow-overflow>0.0%</div>
        </div>

        <div class="mlab" id="mlabA" style="left:269px">Model A</div>
        <div class="mlab" id="mlabB" style="left:545px">Model B</div>
        <div class="mlab" id="mlabC" style="left:821px">Model C</div>
        <div class="mlab" id="mlabD" style="left:1097px">Model D</div>
        <div class="mlab" id="mlabV" style="left:1373px">Vector</div>

        <div id="chip">+14.4 pts over the next best</div>
      </div>

      <div id="lock" class="clip full" data-start="7.5" data-duration="3.5" data-track-index="2" data-layout-allow-overlap>
        <div id="lk" class="full"><div class="lrow">
          <span class="mk" id="lmk"><svg viewBox="0 0 100 100" fill="none" stroke-linecap="round" stroke-linejoin="round"><path id="vOuter" d="M16 20 L50 82 L84 20" stroke="#f4f4f5" stroke-width="11" stroke-dasharray="145" stroke-dashoffset="145"/><path id="vInner" d="M36 18 L50 44 L64 18" stroke="#7b8cff" stroke-width="7" stroke-dasharray="64" stroke-dashoffset="64"/></svg></span>
          <div class="wmask"><span id="wm">Vector</span></div>
        </div>
        <div id="tag">Ship the fix, <b>not the ticket.</b></div>
        </div>
      </div>

      <div id="fx" class="clip full" data-start="0" data-duration="11" data-track-index="3" data-layout-ignore>
        <div class="vig"></div>
        <svg class="grain" viewBox="0 0 1920 1080" preserveAspectRatio="none"><filter id="nz"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="2" seed="7"/><feColorMatrix type="saturate" values="0"/></filter><rect width="1920" height="1080" filter="url(#nz)"/></svg>
      </div>
    </div>

    <script>
      const EXPO = "expo.out";
      const tl = gsap.timeline({ paused: true });

      /* ---------- chart geometry ---------- */
      const PX = 7.3;            // pixels per percentage point; baseline at y=920
      const BARS = [
        { id: "A", v: 41.2, at: 1.30, dur: 1.25, ease: "power3.out" },
        { id: "B", v: 48.7, at: 1.55, dur: 1.25, ease: "power3.out" },
        { id: "C", v: 52.9, at: 1.80, dur: 1.25, ease: "power3.out" },
        { id: "D", v: 57.4, at: 2.05, dur: 1.25, ease: "power3.out" },
        { id: "V", v: 71.8, at: 3.05, dur: 1.9, ease: "power3.out" },
      ];

      // one eased proxy drives bar height and counted value together
      BARS.forEach((b) => {
        const col = document.getElementById("col" + b.id);
        const val = document.getElementById("val" + b.id);
        const E = gsap.parseEase(b.ease);
        const o = { u: 0 };
        const upd = () => {
          const p = E(o.u);
          col.style.height = (p * b.v * PX).toFixed(2) + "px";
          val.textContent = (p * b.v).toFixed(1) + "%";
        };
        upd();
        tl.to(o, { u: 1, duration: b.dur, ease: "none", onUpdate: upd }, b.at);
        tl.to(val, { opacity: 1, duration: 0.35, ease: "power2.out" }, b.at);
        tl.to("#mlab" + b.id, { opacity: 1, duration: 0.6, ease: EXPO }, b.at);
      });

      /* ---------- initial transforms (visibility is hidden in CSS) ---------- */
      gsap.set("#ttl", { y: 22 });
      gsap.set("#sub", { y: 16 });
      gsap.set(".gy", { y: 6 });
      gsap.set("#sheen", { yPercent: -110 });
      gsap.set("#valV", { transformOrigin: "50% 100%" });
      gsap.set("#chip", { y: 14 });
      gsap.set("#wm", { yPercent: 105 });
      gsap.set("#tag", { y: 20 });

      /* ---------- background glow ---------- */
      tl.to("#glow1", { opacity: 0.7, duration: 1.4, ease: "power2.out" }, 0.1);

      /* ---------- axes and gridlines draw in ---------- */
      tl.to("#ttl", { opacity: 1, y: 0, duration: 0.9, ease: EXPO }, 0.12);
      tl.to("#sub", { opacity: 1, y: 0, duration: 0.9, ease: EXPO }, 0.3);
      tl.to("#g0", { width: 1380, duration: 1.0, ease: EXPO }, 0.4);
      tl.to("#g20", { width: 1380, duration: 0.9, ease: EXPO }, 0.55);
      tl.to("#g40", { width: 1380, duration: 0.9, ease: EXPO }, 0.65);
      tl.to("#g60", { width: 1380, duration: 0.9, ease: EXPO }, 0.75);
      tl.to(".gy", { opacity: 1, y: 0, duration: 0.7, ease: EXPO, stagger: 0.08 }, 0.55);

      /* ---------- Vector: glow, sheen, pop, chip ---------- */
      tl.to("#bglow", { opacity: 0.42, duration: 1.3, ease: "power2.out" }, 3.4);
      tl.to("#glow1", { opacity: 1, duration: 1.2, ease: "power2.out" }, 3.4);
      tl.to("#sheen", { opacity: 1, duration: 0.01 }, 4.85);
      tl.to("#sheen", { yPercent: 190, duration: 0.95, ease: "power2.inOut" }, 4.85);
      tl.to("#sheen", { opacity: 0, duration: 0.2, ease: "power1.out" }, 5.6);
      tl.to("#valV", { scale: 1.07, duration: 0.22, ease: "power2.out" }, 4.75);
      tl.to("#valV", { scale: 1, duration: 0.5, ease: "power2.inOut" }, 4.97);
      tl.to("#chip", { opacity: 1, y: 0, duration: 0.8, ease: EXPO }, 5.0);
      tl.to("#bglow", { opacity: 0.30, duration: 1.4, ease: "sine.inOut" }, 5.2);

      /* ---------- clear the chart ---------- */
      tl.to("#chart", { opacity: 0, y: -34, duration: 0.55, ease: "power2.in" }, 7.0);
      tl.to("#glow1", { opacity: 0.55, duration: 0.8, ease: "power2.inOut" }, 7.1);

      /* ---------- lockup (settled by 8.75, holds to 11.0) ---------- */
      tl.to("#vOuter", { strokeDashoffset: 0, duration: 0.7, ease: "power2.out" }, 7.7);
      tl.to("#vInner", { strokeDashoffset: 0, duration: 0.55, ease: "power2.out" }, 7.9);
      tl.to("#wm", { yPercent: 0, duration: 0.8, ease: EXPO }, 7.8);
      tl.to("#tag", { opacity: 1, y: 0, duration: 0.75, ease: EXPO }, 8.0);

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

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