Herk Edit Kit by Nate Herk: edit videos, reels, and YouTube Shorts with Codex or Claude Code. 15 skills, transcript-driven cuts, storytelling, 406 motion-graphics cards, and HyperFrames templates.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>ClickUp — 60s Demo v4</title>
</head>
<body>
<div
id="clickup-demo-root"
data-composition-id="clickup-demo"
data-start="0"
data-width="1920"
data-height="1080"
data-duration="60"
>
<!-- ============================================================ -->
<!-- Persistent background: warm near-black, subtle grid + glows -->
<!-- ============================================================ -->
<div class="bg-root">
<div class="bg-grid"></div>
<div class="bg-glow bg-glow-a"></div>
<div class="bg-glow bg-glow-b"></div>
<div class="bg-vignette"></div>
</div>
<!-- ============================================================ -->
<!-- SCENE 1 — HOOK + PROBLEM (0 → 8) -->
<!-- ============================================================ -->
<div class="scene" id="scene-1">
<div class="scene-cam" id="scene-1-cam">
<div class="tool-cloud">
<div class="tool depth-near" data-tool="1">Slack</div>
<div class="tool depth-mid" data-tool="2">Sheets</div>
<div class="tool depth-far" data-tool="3">Jira</div>
<div class="tool depth-mid" data-tool="4">Asana</div>
<div class="tool depth-near" data-tool="5">Drive</div>
<div class="tool depth-far" data-tool="6">Linear</div>
<div class="tool depth-mid" data-tool="7">Notion</div>
<div class="tool depth-near" data-tool="8">GitHub</div>
<div class="tool depth-far" data-tool="9">Zoom</div>
<div class="tool depth-mid" data-tool="10">Figma</div>
<div class="tool depth-near" data-tool="11">Loom</div>
<div class="tool depth-far" data-tool="12">Trello</div>
</div>
<div class="collapse-orb"></div>
</div>
</div>
<!-- ============================================================ -->
<!-- SCENE 2 — LOGO REVEAL (8 → 12) -->
<!-- ============================================================ -->
<div class="scene" id="scene-2">
<div class="scene-cam" id="scene-2-cam">
<div class="stage-3d">
<div class="frame logo-lockup">
<div class="logo-glow"></div>
<img class="logo-mark" src="assets/logo/clickup-mark.png" alt="ClickUp" />
<div class="logo-wordmark">ClickUp</div>
</div>
</div>
</div>
</div>
<!-- ============================================================ -->
<!-- SCENE 3 — FEATURE: VIEWS (10 → 24) — delivers "every view" by -->
<!-- sequencing board -> list stills with 3D-tilt entrances and -->
<!-- Ken-Burns holds. Was a live recording with wandering cursor + -->
<!-- three zoom regions that landed on nothing; v5 commits to one -->
<!-- cinematic frame per view so the caption's promise matches the -->
<!-- asset. -->
<!-- ============================================================ -->
<div class="scene" id="scene-3">
<div class="scene-cam" id="scene-3-cam">
<div class="frame fullbleed-frame tilt-frame" id="scene-3a-frame">
<img class="shot-img" src="assets/stills/03-board-clean.png" alt="" />
</div>
<div class="frame fullbleed-frame tilt-frame" id="scene-3b-frame">
<img class="shot-img" src="assets/stills/01-list-clean.png" alt="" />
</div>
</div>
</div>
<!-- ============================================================ -->
<!-- SCENE 4 — FEATURE: TASK DETAIL (23.5 → 34.9) -->
<!-- Still 06-task-detail-scrolled.png replaces task.mp4 so the -->
<!-- callouts point at a panel that doesn't move under them. 3D- -->
<!-- tilt entrance, flat hold with Subtasks callout, then ONE -->
<!-- slow push toward the Activity/Comment region. The live -->
<!-- recording's wandering cursor + three mistimed zoom regions -->
<!-- are gone. -->
<!-- ============================================================ -->
<div class="scene" id="scene-4">
<div class="scene-cam" id="scene-4-cam">
<div class="frame fullbleed-frame tilt-frame" id="scene-4-frame">
<img class="shot-img" src="assets/stills/06-task-detail-scrolled.png" alt="" />
<div class="callout callout-subtasks">
<span class="callout-dot"></span>SUBTASKS
</div>
<div class="callout callout-activity">
<span class="callout-dot"></span>COMMENT IN ACTIVITY
</div>
</div>
</div>
</div>
<!-- ============================================================ -->
<!-- SCENE 5 — FEATURE: BRAIN / AI (34.85 → 46.9) — real Brain response -->
<!-- ============================================================ -->
<div class="scene" id="scene-5">
<div class="scene-cam" id="scene-5-cam">
<div class="frame fullbleed-frame" id="scene-5-frame">
<video id="s5-clip"
data-start="34.85" data-duration="12" data-track-index="5"
src="assets/recordings/brain.mp4"
muted playsinline></video>
<div class="brain-halo"></div>
</div>
</div>
</div>
<!-- ============================================================ -->
<!-- SCENE 6 — OUTCOME + CTA (50 → 60) -->
<!-- ============================================================ -->
<div class="scene" id="scene-6">
<div class="scene-cam" id="scene-6-cam">
<div class="outcome-wrap">
<div class="outcome-line" id="outcome-1">Deliver on time,</div>
<div class="outcome-line" id="outcome-2">every time.</div>
</div>
<div class="close-caption" id="close-caption">BUILT FOR TEAMS THAT SHIP.</div>
<div class="cta-wrap">
<div class="cta-lockup-row">
<div class="cta-lockup">
<img class="cta-mark" src="assets/logo/clickup-mark.png" alt="" />
<div class="cta-wordmark">ClickUp</div>
</div>
</div>
<div class="cta-button-row">
<div class="cta-button">
<div class="cta-gradient-sweep"></div>
<span>Try it free</span>
<span class="cta-arrow">→</span>
</div>
</div>
<div class="cta-sub">clickup.com</div>
</div>
</div>
</div>
<!-- ============================================================ -->
<!-- CAPTION BAND — top of frame, one group visible at a time -->
<!-- ============================================================ -->
<div class="caption-band" id="captions">
<div class="caption-scrim" id="cap-scrim"></div>
<div class="caption" id="cap-1">Every team juggles <span class="cap-accent hot-word" id="cap-1-hot">12+ tools.</span></div>
<div class="caption" id="cap-2">Work slows down.</div>
<div class="caption" id="cap-3">One platform.</div>
<div class="caption" id="cap-4">One workspace.<br /><span class="cap-accent">Every view.</span></div>
<div class="caption" id="cap-5">Switch without losing context.</div>
<div class="caption" id="cap-6">Every task,<br /><span class="cap-accent">complete context.</span></div>
<div class="caption" id="cap-7">Comments. Subtasks. <span class="cap-accent">All in one view.</span></div>
<div class="caption" id="cap-8">Ask in <span class="cap-accent">plain English.</span></div>
<div class="caption" id="cap-9">Answers in <span class="cap-accent">seconds.</span></div>
</div>
<!-- ============================================================ -->
<!-- FLASH BRIDGE — full-frame white for scene transitions -->
<!-- ============================================================ -->
<div class="flash-bridge" id="flash-bridge"></div>
<!-- ============================================================ -->
<!-- SCENE INDICATOR (subtle timecode-style strip, bottom-left) -->
<!-- ============================================================ -->
<div class="timecode" id="timecode">
<span class="tc-label">CLICKUP // PRODUCT DEMO</span>
<span class="tc-sep">·</span>
<span class="tc-val" id="tc-val">00:00</span>
</div>
<style>
/* ================= ROOT CANVAS ================= */
[data-composition-id="clickup-demo"] {
position: absolute;
inset: 0;
background: #0C0E14;
overflow: hidden;
font-family: "Plus Jakarta Sans", sans-serif;
color: #F5F6F8;
}
/* ================= BACKGROUND LAYER ================= */
.bg-root { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.bg-grid {
position: absolute; inset: 0;
background-image:
linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
background-size: 80px 80px;
opacity: 0.7;
}
.bg-glow {
position: absolute; width: 900px; height: 900px;
border-radius: 50%; filter: blur(120px); opacity: 0.22;
}
.bg-glow-a { top: -260px; left: -220px;
background: radial-gradient(circle, #7B68EE 0%, rgba(123, 104, 238, 0) 70%); }
.bg-glow-b { bottom: -320px; right: -260px;
background: radial-gradient(circle, #FC2F6F 0%, rgba(252, 47, 111, 0) 70%); }
.bg-vignette { position: absolute; inset: 0;
background: radial-gradient(ellipse at center, rgba(12, 14, 20, 0) 40%, rgba(12, 14, 20, 0.55) 100%); }
/* ================= SCENE BASE ================= */
.scene { position: absolute; inset: 0; z-index: 2; opacity: 0; pointer-events: none; }
/* ================= 3D PARALLAX WRAPPER ================= */
.stage-3d {
position: absolute; inset: 0;
}
.stage-3d .frame {
position: absolute;
will-change: transform;
}
/* The logo-lockup fills the stage; shot-frame uses explicit pixel box (below). */
.logo-lockup { inset: 0; }
/* ================= SCENE 1 — TOOL CLOUD ================= */
.tool-cloud { position: absolute; inset: 0; }
.tool {
position: absolute;
font-family: "JetBrains Mono", monospace;
font-weight: 500; font-size: 28px; letter-spacing: 0.02em;
color: #9BA3B4;
padding: 14px 22px;
border: 1px solid #2A2D37; border-radius: 8px;
background: rgba(22, 25, 34, 0.65);
backdrop-filter: blur(4px);
white-space: nowrap;
}
.tool[data-tool="1"] { top: 330px; left: 180px; }
.tool[data-tool="2"] { top: 280px; left: 540px; }
.tool[data-tool="3"] { top: 390px; left: 920px; }
.tool[data-tool="4"] { top: 300px; left: 1270px; }
.tool[data-tool="5"] { top: 360px; left: 1580px; }
.tool[data-tool="6"] { top: 530px; left: 240px; }
.tool[data-tool="7"] { top: 560px; left: 660px; }
.tool[data-tool="8"] { top: 520px; left: 1080px; }
.tool[data-tool="9"] { top: 570px; left: 1440px; }
.tool[data-tool="10"] { top: 740px; left: 340px; }
.tool[data-tool="11"] { top: 780px; left: 790px; }
.tool[data-tool="12"] { top: 750px; left: 1280px; }
.collapse-orb {
position: absolute; top: 530px; left: 900px;
width: 120px; height: 120px; border-radius: 50%;
background: radial-gradient(circle, #F5F6F8 0%, #7B68EE 45%, rgba(123, 104, 238, 0) 75%);
opacity: 0; filter: blur(4px);
}
/* ================= SCENE 2 — LOGO LOCKUP ================= */
.logo-lockup {
display: flex; align-items: center; justify-content: center;
gap: 48px;
}
.logo-glow {
position: absolute;
/* Centered via top/left math (not CSS transform) so GSAP scale tweens
don't overwrite the centering translate. */
top: calc(50% - 450px); left: calc(50% - 450px);
width: 900px; height: 900px;
border-radius: 50%;
background: radial-gradient(
circle,
rgba(252, 47, 111, 0.18) 0%,
rgba(123, 104, 238, 0.22) 30%,
rgba(73, 204, 249, 0.12) 55%,
rgba(73, 204, 249, 0) 72%
);
filter: blur(30px);
opacity: 0;
mix-blend-mode: screen;
}
.logo-mark {
width: 300px; height: 300px;
object-fit: contain;
filter: drop-shadow(0 20px 60px rgba(123, 104, 238, 0.35));
}
.logo-wordmark {
font-family: "Plus Jakarta Sans", sans-serif;
font-weight: 800; font-size: 180px;
letter-spacing: -0.04em; line-height: 1;
color: #F5F6F8;
}
/* ================= SHARED SHOT FRAME ================= */
.stage-3d > .shot-frame {
top: 220px; left: 128px;
right: auto; bottom: auto;
width: 1664px; height: 760px;
border-radius: 14px; overflow: hidden;
border: 2px solid #2A2D37;
box-shadow:
0 40px 100px -20px rgba(0, 0, 0, 0.8),
0 0 0 1px rgba(123, 104, 238, 0.08),
0 0 80px -10px rgba(123, 104, 238, 0.25);
background: #1E1F2E;
}
.shot-img {
position: absolute; inset: 0;
width: 100%; height: 100%;
object-fit: cover; object-position: center top;
}
/* Full-bleed video frame for scenes 3/4/5 — fills the entire 1920x1080
canvas so real ClickUp UI is the hero. Wrapper is animated for
smart-zoom (scale + transformOrigin); video element itself is never
directly animated to avoid frame freezes. */
.fullbleed-frame {
position: absolute;
inset: 0;
width: 1920px; height: 1080px;
overflow: hidden;
background: #0C0E14;
will-change: transform;
}
.fullbleed-frame > video,
.fullbleed-frame > img {
position: absolute;
inset: 0;
width: 100%; height: 100%;
object-fit: cover;
object-position: center top;
background: #0C0E14;
}
/* v5: scene-3/4 cams get perspective so `.tilt-frame` can rotate in
3D for a cinematic entrance instead of the old frenetic multi-zoom
pattern. Scene 5 intentionally stays flat so the Brain text reads. */
#scene-3-cam, #scene-4-cam {
perspective: 2600px;
perspective-origin: 50% 50%;
}
.tilt-frame {
transform-style: preserve-3d;
backface-visibility: hidden;
}
.shot-shine {
position: absolute;
top: 0; left: -40%;
width: 50%; height: 100%;
background: linear-gradient(
100deg,
rgba(255, 255, 255, 0) 0%,
rgba(255, 255, 255, 0.06) 45%,
rgba(255, 255, 255, 0.12) 50%,
rgba(255, 255, 255, 0.06) 55%,
rgba(255, 255, 255, 0) 100%
);
pointer-events: none;
mix-blend-mode: screen;
z-index: 5;
}
/* ================= CURSOR OVERLAY (shared) ================= */
/* macOS-style arrow pointer, 28x36, anchor at top-left. */
.cursor {
position: absolute;
top: 0; left: 0;
width: 28px; height: 36px;
pointer-events: none;
z-index: 8;
opacity: 0;
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32' width='24' height='32'><path d='M2 2 L2 24 L8 19 L11 27 L14 26 L11 18 L19 18 Z' fill='%23ffffff' stroke='%230a0b0f' stroke-width='1.25' stroke-linejoin='round'/></svg>");
background-repeat: no-repeat;
background-size: contain;
filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.55));
will-change: transform;
}
/* ================= CLICK HOTSPOT ================= */
.click-hotspot {
position: absolute;
width: 80px; height: 80px;
margin-top: -40px; margin-left: -40px;
border-radius: 50%;
border: 2px solid #49CCF9;
box-shadow:
0 0 24px rgba(73, 204, 249, 0.55),
inset 0 0 24px rgba(73, 204, 249, 0.35);
opacity: 0;
pointer-events: none;
z-index: 7;
}
/* ================= SCENE 4 — CALLOUTS ================= */
.callout {
position: absolute;
font-family: "JetBrains Mono", monospace;
font-weight: 500; font-size: 14px; letter-spacing: 0.14em;
color: #F5F6F8;
padding: 10px 14px 10px 32px;
background: rgba(123, 104, 238, 0.16);
border: 1px solid #7B68EE;
border-radius: 6px;
backdrop-filter: blur(6px);
z-index: 6;
opacity: 0;
}
.callout-dot {
position: absolute;
left: 12px; top: 50%;
transform: translateY(-50%);
width: 10px; height: 10px; border-radius: 50%;
background: #7B68EE;
box-shadow: 0 0 14px #7B68EE;
}
/* Callouts in scene 4 are positioned in 1920×1080 canvas coords (the
video is full-bleed). Tracked from task.mp4 frames:
- Priority "Urgent" pill: ~(420, 250) — left-side fields column, row labelled "Priority"
- Subtasks section header: ~(170, 530) — left column, lower half
- Activity panel + comment "Locked in for Q2 — let's ship.": ~(1320, 870) — right column bottom */
.callout-priority { top: 218px; left: 380px; }
.callout-subtasks { top: 500px; left: 130px; }
.callout-activity { top: 840px; left: 1180px; }
/* ================= SCENE 5 — BRAIN ================= */
/* Atmospheric halo behind Brain content during the "thinking → answer"
moment. Pure decoration; the real typed prompt + response are in the
recording itself. */
.brain-halo {
position: absolute;
top: 18%; left: 18%;
width: 64%; height: 60%;
border-radius: 40px;
background: radial-gradient(
ellipse at center,
rgba(73, 204, 249, 0.22) 0%,
rgba(123, 104, 238, 0.16) 45%,
rgba(252, 47, 111, 0) 80%
);
filter: blur(28px);
opacity: 0;
mix-blend-mode: screen;
z-index: 3;
pointer-events: none;
}
/* ================= SCENE 6 — OUTCOME + CTA ================= */
.outcome-wrap {
position: absolute;
top: 230px; left: 0; right: 0;
text-align: center;
}
.outcome-line {
font-family: "Plus Jakarta Sans", sans-serif;
font-weight: 800; font-size: 140px;
line-height: 1.05; letter-spacing: -0.035em;
color: #F5F6F8;
}
.outcome-line + .outcome-line {
margin-top: 8px;
background: linear-gradient(135deg, #FC2F6F 0%, #7B68EE 55%, #49CCF9 100%);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
padding-bottom: 8px;
}
.cta-wrap {
position: absolute;
top: 660px; left: 0; right: 0;
text-align: center;
}
/* Each row is a block-level container so the lockup, button, and
subtext stack vertically. Without these wrappers, .cta-lockup +
.cta-button (both inline-flex) collapsed onto a single line. */
.cta-lockup-row { display: block; margin-bottom: 28px; text-align: center; }
.cta-button-row { display: block; margin-bottom: 22px; text-align: center; }
.cta-lockup {
display: inline-flex;
align-items: center;
gap: 18px;
}
.cta-mark {
width: 72px; height: 72px;
object-fit: contain;
filter: drop-shadow(0 6px 18px rgba(123, 104, 238, 0.4));
}
.cta-wordmark {
font-family: "Plus Jakarta Sans", sans-serif;
font-weight: 800; font-size: 64px;
letter-spacing: -0.03em;
color: #F5F6F8;
}
.cta-button {
display: inline-flex; align-items: center; gap: 14px;
padding: 20px 42px;
border-radius: 999px;
background: linear-gradient(135deg, #FC2F6F 0%, #7B68EE 55%, #49CCF9 100%);
color: #0C0E14;
font-family: "Plus Jakarta Sans", sans-serif;
font-weight: 800; font-size: 32px; letter-spacing: -0.01em;
box-shadow: 0 20px 60px -10px rgba(123, 104, 238, 0.55);
}
.cta-arrow { font-weight: 700; }
.cta-sub {
display: block;
font-family: "JetBrains Mono", monospace;
font-weight: 500; font-size: 20px;
letter-spacing: 0.18em;
color: #9BA3B4;
}
/* ================= CAPTION BAND ================= */
.caption-band {
position: absolute;
top: 0; left: 0; right: 0;
z-index: 9;
pointer-events: none;
}
/* Localized darkening scrim that fades in with the captions during
busy scenes (3, 4, 5) so text reads cleanly over the recordings.
Sits BEHIND the caption text. */
.caption-scrim {
position: absolute;
top: 0; left: 0; right: 0;
height: 320px;
background:
linear-gradient(180deg,
rgba(12, 14, 20, 0.78) 0%,
rgba(12, 14, 20, 0.55) 55%,
rgba(12, 14, 20, 0) 100%);
opacity: 0;
z-index: 0;
will-change: opacity;
}
.caption {
position: absolute;
top: 60px; left: 160px; right: 160px;
text-align: center;
font-family: "Plus Jakarta Sans", sans-serif;
font-weight: 800; font-size: 76px;
line-height: 1.08; letter-spacing: -0.025em;
color: #F5F6F8;
opacity: 0;
visibility: hidden;
z-index: 2;
/* Drop-shadow on the whole caption (white text + gradient accent
together) instead of text-shadow on the parent. text-shadow bled
a dark halo through the gradient's transparent letters and
H.264-draft compressed it into a chromatic artifact. Rely on
the scrim for contrast; drop-shadow just adds subtle edge glow. */
filter:
drop-shadow(0 3px 6px rgba(0, 0, 0, 0.55))
drop-shadow(0 0 20px rgba(12, 14, 20, 0.5));
}
/* Gradient accent — kept deliberately simple. Earlier v4 attempt
layered drop-shadow filters on transparent (background-clip:text)
which produced visible chromatic separation. The scrim handles
legibility; the gradient just does color. */
.cap-accent {
display: inline-block;
background: linear-gradient(135deg, #FF3D7F 0%, #9787FF 50%, #58D4FF 100%);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
/* ================= TIMECODE BAND ================= */
.timecode {
position: absolute;
bottom: 36px; left: 128px;
z-index: 10;
font-family: "JetBrains Mono", monospace;
font-weight: 500; font-size: 14px;
letter-spacing: 0.22em;
color: #9BA3B4;
display: flex; gap: 14px; align-items: center;
opacity: 0.85;
}
.tc-sep { color: #454855; }
.tc-val { color: #F5F6F8; font-variant-numeric: tabular-nums; }
/* ================= SCENE CAMERA WRAPPER ================= */
/* Wraps each scene's content. Handles camera-level transforms
(entry zoom, exit slide, final lean-in) without interfering
with .scene's opacity fade. Inner elements (-frame etc.) can
apply their own compound transforms for smart-zoom effects. */
.scene-cam {
position: absolute;
inset: 0;
will-change: transform;
transform-origin: 50% 50%;
}
/* ================= FLASH BRIDGE ================= */
/* Full-frame white wipe triggered between scenes for punchy cuts.
Default invisible; timeline animates opacity 0 → 1 → 0. */
.flash-bridge {
position: absolute;
inset: 0;
background: #FFFFFF;
opacity: 0;
pointer-events: none;
z-index: 9999;
will-change: opacity;
}
/* ================= HOT-WORD POP ================= */
/* Inline span that can scale/color-pop independently. Used for
hero words in captions and the typed Brain query. */
.hot-word {
display: inline-block;
will-change: transform;
transform-origin: 50% 50%;
}
/* ================= SCENE 1 — DEPTH LAYERS ================= */
/* Near/mid/far depth for parallax drift in tool cloud. */
.tool.depth-near { opacity: 1.0; }
.tool.depth-mid { opacity: 0.85; }
.tool.depth-far { opacity: 0.65; font-size: 24px; }
/* ================= SCENE 6 — CLOSE CAPTION ================= */
.close-caption {
position: absolute;
top: 580px; left: 0; right: 0;
text-align: center;
font-family: "JetBrains Mono", monospace;
font-weight: 500; font-size: 18px;
letter-spacing: 0.32em;
color: #9BA3B4;
opacity: 0;
}
/* ================= SCENE 6 — CTA GRADIENT SWEEP ================= */
/* The button needs overflow: hidden + position: relative to contain
the sweep overlay. Specificity is equal so these merge with the
earlier .cta-button declaration. */
.cta-button {
position: relative;
overflow: hidden;
isolation: isolate;
}
.cta-button > span { position: relative; z-index: 2; }
.cta-gradient-sweep {
position: absolute;
top: 0; left: -100%;
width: 70%; height: 100%;
background: linear-gradient(
100deg,
rgba(255,255,255,0) 0%,
rgba(255,255,255,0.45) 45%,
rgba(255,255,255,0.75) 50%,
rgba(255,255,255,0.45) 55%,
rgba(255,255,255,0) 100%
);
mix-blend-mode: overlay;
pointer-events: none;
z-index: 1;
will-change: left;
}
</style>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
<script>
(function () {
var tl = gsap.timeline({ paused: true, defaults: { overwrite: "auto" } });
/* ==================== HELPERS ==================== */
// Click pulse: hotspot ring + cursor tap squish.
function clickAt(hotspotSel, cursorSel, x, y, at) {
tl.set(hotspotSel, { x: x, y: y, opacity: 0 }, at - 0.01);
tl.fromTo(hotspotSel,
{ scale: 0.15, opacity: 0.95 },
{ scale: 2.6, opacity: 0, duration: 0.5, ease: "power2.out" },
at);
tl.to(cursorSel, { scale: 0.82, duration: 0.08, ease: "power2.in" }, at - 0.02);
tl.to(cursorSel, { scale: 1.0, duration: 0.14, ease: "power2.out" }, at + 0.06);
}
// Flash bridge between scenes. White up fast, down slower.
function flashAt(at, upDur, downDur) {
upDur = upDur || 0.08; downDur = downDur || 0.3;
tl.to("#flash-bridge", { opacity: 1, duration: upDur, ease: "power2.out" }, at);
tl.to("#flash-bridge", { opacity: 0, duration: downDur, ease: "power2.in" }, at + upDur);
}
// Smart-zoom: set transform-origin then scale the frame.
// Use when you want the camera to push toward a specific UI region.
function zoomTo(sel, originX, originY, scale, dur, at, ease) {
tl.set(sel, { transformOrigin: originX + " " + originY }, at - 0.001);
tl.to(sel, { scale: scale, duration: dur, ease: ease || "power2.inOut" }, at);
}
/* ==================== AMBIENT BACKGROUND ==================== */
tl.to(".bg-glow-a", { x: 120, y: 60, duration: 60, ease: "sine.inOut" }, 0);
tl.to(".bg-glow-b", { x: -100, y: -80, duration: 60, ease: "sine.inOut" }, 0);
/* ==================== SCENE VISIBILITY ==================== */
// Kept explicit rather than a fade loop so each scene's in/out fits its
// specific transition (flash wipe, horizontal push, cinematic zoom).
var sceneSchedule = [
{ id: "#scene-1", in: 0.0, fadeDur: 0.4, out: 5.98, outDur: 0.08 },
{ id: "#scene-2", in: 5.95, fadeDur: 0.1, out: 10.0, outDur: 0.3 },
{ id: "#scene-3", in: 9.9, fadeDur: 0.3, out: 24.0, outDur: 0.05 },
{ id: "#scene-4", in: 23.5, fadeDur: 0.2, out: 34.9, outDur: 0.05 },
{ id: "#scene-5", in: 34.85,fadeDur: 0.1, out: 46.9, outDur: 0.3 },
{ id: "#scene-6", in: 46.7, fadeDur: 0.5, out: 60.0, outDur: 0.0 },
];
sceneSchedule.forEach(function (s) {
tl.to(s.id, { opacity: 1, duration: s.fadeDur, ease: "power2.out" }, s.in);
if (s.outDur > 0) {
tl.to(s.id, { opacity: 0, duration: s.outDur, ease: "power2.in" }, s.out - s.outDur);
}
});
/* ========================================================== */
/* ================ SCENE 1 (0 → 6) — HOOK ================= */
/* ========================================================== */
// Camera arrives: scale 1.15 → 1.0. Viewer feels a settle, not a cut-in.
tl.set("#scene-1-cam", { scale: 1.15, transformOrigin: "50% 50%" }, 0);
tl.to("#scene-1-cam", { scale: 1.0, duration: 0.9, ease: "power3.out" }, 0.0);
// Tools stagger in — near/mid/far depth classes control size+opacity.
tl.from(".tool", {
opacity: 0, scale: 0.75, y: 34,
duration: 0.45,
stagger: { amount: 0.5, from: "random" },
ease: "power3.out",
}, 0.25);
// Parallax drift — larger amplitude than v2. Near layer moves most.
tl.to(".tool.depth-near", { x: 42, y: -18, duration: 4.2, ease: "sine.inOut" }, 0.9);
tl.to(".tool.depth-mid", { x: -30, y: 10, duration: 4.2, ease: "sine.inOut" }, 0.9);
tl.to(".tool.depth-far", { x: 18, y: 14, duration: 4.2, ease: "sine.inOut" }, 0.9);
// Caption 1 "12+ tools" — hero word pops.
tl.fromTo("#cap-1-hot",
{ scale: 1.0 },
{ scale: 1.18, duration: 0.22, ease: "back.out(2)" }, 1.2);
tl.to("#cap-1-hot", { scale: 1.0, duration: 0.3, ease: "power2.inOut" }, 1.45);
// Zoom + vacuum: camera pushes into centre, tools collapse into the orb.
tl.set("#scene-1-cam", { transformOrigin: "50% 56%" }, 4.99);
tl.to("#scene-1-cam", { scale: 1.38, duration: 0.85, ease: "power2.in" }, 5.0);
tl.to(".tool", {
opacity: 0, scale: 0.18,
x: function (i, el) { return 960 - (el.offsetLeft + el.offsetWidth / 2); },
y: function (i, el) { return 540 - (el.offsetTop + el.offsetHeight / 2); },
duration: 0.55,
stagger: { amount: 0.22, from: "edges" },
ease: "power3.in",
}, 5.1);
tl.to(".collapse-orb", { opacity: 1, scale: 1.6, duration: 0.4, ease: "power2.out" }, 5.45);
// Flash-white bridges into scene 2.
flashAt(5.88, 0.08, 0.32);
/* ========================================================== */
/* ================ SCENE 2 (6 → 10) — LOGO ================ */
/* ========================================================== */
tl.set("#scene-2-cam", { scale: 1.0, transformOrigin: "50% 50%" }, 5.9);
// Gradient halo bursts open.
tl.set(".logo-glow", { scale: 0.25, opacity: 0 }, 5.9);
tl.to(".logo-glow", { scale: 1.25, opacity: 1, duration: 0.7, ease: "power3.out" }, 6.0);
tl.to(".logo-glow", { scale: 1.0, duration: 0.9, ease: "sine.inOut", yoyo: true, repeat: 1 }, 6.8);
// Logo mark pop (from small+blurred to large+sharp).
tl.set(".logo-mark", { scale: 0.3, opacity: 0, filter: "blur(28px)" }, 5.9);
tl.to(".logo-mark", { scale: 1.0, opacity: 1, filter: "blur(0px)", duration: 0.6, ease: "back.out(1.6)" }, 6.05);
// Wordmark slams in from the right.
tl.from(".logo-wordmark", { x: 200, opacity: 0, duration: 0.55, ease: "expo.out" }, 6.4);
// Orb fades away as the logo takes over.
tl.to(".collapse-orb", { opacity: 0, scale: 3, duration: 0.5, ease: "power2.out" }, 6.1);
// Camera push-in during the hold — 8% zoom instead of v2's 4%.
tl.to("#scene-2-cam", { scale: 1.08, duration: 3.4, ease: "sine.inOut" }, 6.3);
// Cinematic-zoom exit: the camera dives into ClickUp, landing inside the product.
tl.to("#scene-2-cam", { scale: 1.28, duration: 0.35, ease: "power2.in" }, 9.65);
/* ========================================================== */
/* ================ SCENE 3 (9.9 → 24) — VIEWS ============== */
/* v5 rework: delivers "One workspace. Every view." by */
/* actually showing TWO views (board then list). Each still */
/* gets a 3D-tilt entrance, then sits flat with a slow Ken- */
/* Burns push. No fake cursor, no click pulses, no multi- */
/* zoom choreography — the caption and the asset finally */
/* agree with each other. */
/* ========================================================== */
tl.set("#scene-3-cam", { scale: 1.0, x: 0, transformOrigin: "50% 50%" }, 9.9);
// Hide the list-view frame until 3a's exit. Both frames are full-bleed
// absolutely-positioned siblings; without this set the later-in-DOM 3b
// would stack on top of 3a for the entire board-view window.
tl.set("#scene-3b-frame", { opacity: 0 }, 9.9);
// --- 3a: BOARD VIEW (9.9 → 15.0) ---
// Cinematic 3D tilt-in, then settle and slowly breathe.
tl.set("#scene-3a-frame", {
opacity: 1, scale: 0.94,
rotationY: -18, rotationX: 6, y: 30,
transformOrigin: "50% 50%",
}, 9.9);
tl.to("#scene-3a-frame", {
scale: 1.0, rotationY: 0, rotationX: 0, y: 0,
duration: 1.1, ease: "power3.out",
}, 10.0);
// Slow Ken-Burns push across the flat hold (~3s).
tl.to("#scene-3a-frame", { scale: 1.035, duration: 3.0, ease: "sine.inOut" }, 11.3);
// 3a → 3b transition: subtle push-slide suggesting a view switch.
tl.to("#scene-3a-frame", {
opacity: 0, x: -70, duration: 0.5, ease: "power2.in",
}, 14.7);
// --- 3b: LIST VIEW (15.0 → 23.6) ---
// Tilt in from the opposite side so it feels like we just switched
// tabs in ClickUp's view picker.
tl.set("#scene-3b-frame", {
opacity: 0, scale: 0.94,
rotationY: 18, rotationX: -4, y: 30, x: 60,
transformOrigin: "50% 50%",
}, 14.7);
tl.to("#scene-3b-frame", {
opacity: 1, x: 0,
scale: 1.0, rotationY: 0, rotationX: 0, y: 0,
duration: 1.1, ease: "power3.out",
}, 15.0);
// Long slow Ken-Burns while caption "Switch without losing context."
// plays over a stable list view. No targeted zoom — the asset's own
// rows are the content; our camera doesn't compete with it.
tl.to("#scene-3b-frame", { scale: 1.05, duration: 7.0, ease: "sine.inOut" }, 16.2);
// Exit horizontal push — whole scene-cam slides left. Scene 4 slides in from right.
tl.to("#scene-3-cam", { x: -1920, duration: 0.4, ease: "power3.in" }, 23.6);
/* ========================================================== */
/* ============ SCENE 4 (23.5 → 34.9) — TASK DETAIL ========= */
/* v5 rework: still (06-task-detail-scrolled.png) replaces */
/* task.mp4 so callouts + zoom land where we claim. One 3D */
/* tilt entrance, flat hold with SUBTASKS callout, then ONE */
/* slow push into the Activity/Comment region with callout. */
/* No fake cursor, no click pulses, no three-zoom whiplash. */
/* ========================================================== */
// Slide-in from right matches scene-3's exit slide.
tl.set("#scene-4-cam", { x: 1920, transformOrigin: "50% 50%" }, 23.4);
tl.to("#scene-4-cam", { x: 0, duration: 0.4, ease: "power3.out" }, 23.95);
// 3D tilt entrance on the still. Tilts from the right to feel like
// a continuation of scene-3's right-to-left swap.
tl.set("#scene-4-frame", {
scale: 0.95, rotationY: 14, rotationX: -5, y: 24, x: 0,
transformOrigin: "50% 50%",
}, 23.95);
tl.to("#scene-4-frame", {
scale: 1.0, rotationY: 0, rotationX: 0, y: 0,
duration: 1.1, ease: "power3.out",
}, 24.1);
// Flat hold while caption #cap-6 ("Every task, complete context.")
// plays. Subtasks callout fades in pointing at the real subtasks
// section on the left side of 06-task-detail-scrolled.png.
tl.fromTo(".callout-subtasks",
{ opacity: 0, scale: 0.5, y: -20 },
{ opacity: 1, scale: 1, y: 0, duration: 0.45, ease: "back.out(2)" },
25.4);
tl.to(".callout-subtasks", { opacity: 0, duration: 0.35, ease: "power2.in" }, 29.9);
// --- One push-in toward the Activity/Comment region ---
// caption #cap-7 ("Comments. Subtasks. All in one view.") lands
// while the camera moves. Origin is set just before the scale
// tween so it re-anchors cleanly from the centered identity state.
tl.set("#scene-4-frame", { transformOrigin: "62% 78%" }, 29.69);
tl.to("#scene-4-frame", { scale: 1.32, duration: 2.0, ease: "power2.inOut" }, 29.7);
tl.fromTo(".callout-activity",
{ opacity: 0, scale: 0.5, y: -20 },
{ opacity: 1, scale: 1, y: 0, duration: 0.45, ease: "back.out(2)" },
30.4);
// Hold the zoom — no pull-back. The scene fades out at 34.9 under
// the scene schedule, taking the callout with it.
// Flash-white into scene 5.
flashAt(34.55, 0.08, 0.3);
/* ========================================================== */
/* ============= SCENE 5 (34.85 → 46.9) — BRAIN / AI ======== */
/* v5 rework: the Brain recording's own streaming text IS the */
/* motion. Our camera stays nearly still so the viewer can */
/* actually read the answer. One calm halo fade, one slow */
/* linear Ken-Burns push from 1.00 → 1.04 across 9 seconds. */
/* Gone: two discrete smart-zooms, lateral pan, pull-back, */
/* halo pulses, fake cursor drift. */
/* ========================================================== */
tl.set("#scene-5-cam", { scale: 1.0, transformOrigin: "50% 50%" }, 34.8);
tl.set("#scene-5-frame", { scale: 1.08, x: 0, y: 0, transformOrigin: "50% 50%" }, 34.8);
// Calm halo — fade in, hold, fade out. No pulses competing with text.
tl.set(".brain-halo", { opacity: 0, scale: 1.0 }, 34.8);
tl.to(".brain-halo", { opacity: 0.55, duration: 1.2, ease: "power2.out" }, 35.2);
// Gentle entrance settle (1.08 → 1.00).
tl.to("#scene-5-frame", { scale: 1.0, duration: 1.2, ease: "power3.out" }, 35.0);
// Slow linear Ken-Burns push across the reading window.
tl.to("#scene-5-frame", { scale: 1.04, duration: 9.0, ease: "none" }, 36.0);
// Halo fades before the cinematic zoom exit.
tl.to(".brain-halo", { opacity: 0, duration: 0.7, ease: "power2.in" }, 45.2);
// Cinematic zoom exit into scene 6.
tl.to("#scene-5-cam", { scale: 1.4, duration: 0.7, ease: "power2.in" }, 46.1);
/* ========================================================== */
/* =============== SCENE 6 (47 → 60) — CTA ================= */
/* ========================================================== */
// Entry: zoom-in from scale 0.75. Continues the dive-in from scene 5.
tl.set("#scene-6-cam", { scale: 0.75, transformOrigin: "50% 50%" }, 46.7);
tl.to("#scene-6-cam", { scale: 1.0, duration: 0.7, ease: "back.out(1.3)" }, 47.0);
// Outcome lines slam in.
tl.from("#outcome-1", { y: 80, scale: 0.9, opacity: 0, duration: 0.6, ease: "back.out(1.5)" }, 47.2);
tl.from("#outcome-2", { y: 80, scale: 0.9, opacity: 0, duration: 0.6, ease: "back.out(1.5)" }, 47.6);
tl.to("#outcome-2", { scale: 1.08, duration: 0.22, ease: "power2.out" }, 48.2);
tl.to("#outcome-2", { scale: 1.0, duration: 0.35, ease: "power2.inOut" }, 48.42);
// Outcome text Ken-Burns — never sits static.
tl.to(".outcome-wrap", { scale: 1.06, duration: 3.2, ease: "sine.inOut", transformOrigin: "50% 50%" }, 48.8);
// CTA stagger — mark rotates in from -15deg, wordmark slams, button springs.
tl.from(".cta-mark", { x: -60, scale: 0.6, opacity: 0, rotation: -15, duration: 0.6, ease: "back.out(1.5)" }, 49.5);
tl.from(".cta-wordmark", { x: 60, opacity: 0, duration: 0.5, ease: "expo.out" }, 49.8);
tl.from(".cta-button", { y: 40, scale: 0.8, opacity: 0, duration: 0.55, ease: "back.out(1.6)" }, 50.5);
tl.from(".cta-sub", { y: 14, opacity: 0, duration: 0.4, ease: "power2.out" }, 51.0);
// Close caption — small JetBrains Mono tagline.
tl.fromTo("#close-caption",
{ y: 16, opacity: 0 },
{ y: 0, opacity: 1, duration: 0.4, ease: "power3.out" },
53.0);
// Gradient sweep across button — twice.
tl.set(".cta-gradient-sweep", { left: "-100%" }, 51.19);
tl.to(".cta-gradient-sweep", { left: "200%", duration: 1.2, ease: "power2.inOut" }, 51.2);
tl.set(".cta-gradient-sweep", { left: "-100%" }, 55.49);
tl.to(".cta-gradient-sweep", { left: "200%", duration: 1.2, ease: "power2.inOut" }, 55.5);
// Button pulse — never static.
tl.to(".cta-button", { scale: 1.04, duration: 1.0, ease: "sine.inOut", yoyo: true, repeat: 3 }, 52.5);
// Logo mark rotates subtly through the hold.
tl.to(".cta-mark", { rotation: 6, duration: 1.5, ease: "sine.inOut" }, 52.0);
tl.to(".cta-mark", { rotation: -6, duration: 1.5, ease: "sine.inOut" }, 53.5);
tl.to(".cta-mark", { rotation: 0, duration: 1.5, ease: "sine.inOut" }, 55.0);
// Final lean-in: scaled back from v3's 1.12 to 1.07, and origin raised
// from 50% 62% to 50% 55%, so the button doesn't get shoved off the
// bottom of the frame now that outcome + logo + button + sub are
// properly stacked in separate block rows.
tl.set("#scene-6-cam", { transformOrigin: "50% 55%" }, 57.49);
tl.to("#scene-6-cam", { scale: 1.07, duration: 2.5, ease: "power1.inOut" }, 57.5);
/* ==================== CAPTIONS ==================== */
var captions = [
{ id: "#cap-1", in: 0.4, out: 3.6 },
{ id: "#cap-2", in: 3.9, out: 5.6 },
{ id: "#cap-3", in: 6.4, out: 8.2 },
{ id: "#cap-4", in: 8.5, out: 13.0 },
{ id: "#cap-5", in: 13.4, out: 23.2 },
{ id: "#cap-6", in: 24.2, out: 29.8 },
{ id: "#cap-7", in: 30.2, out: 34.2 },
{ id: "#cap-8", in: 35.2, out: 39.6 },
{ id: "#cap-9", in: 40.0, out: 45.8 },
];
captions.forEach(function (c) {
tl.set(c.id, { visibility: "visible" }, c.in - 0.01);
tl.fromTo(c.id,
{ y: 22, opacity: 0 },
{ y: 0, opacity: 1, duration: 0.32, ease: "power3.out" },
c.in);
tl.to(c.id, { y: -14, opacity: 0, duration: 0.28, ease: "power2.in" }, c.out - 0.28);
tl.set(c.id, { visibility: "hidden", y: 0 }, c.out);
});
// Localized darkening scrim across the top of the frame during
// scenes 3-5 (where captions land over busy ClickUp UI). Fades up
// just before cap-4 appears and fades down after cap-9 is gone.
tl.to("#cap-scrim", { opacity: 1, duration: 0.5, ease: "power2.out" }, 8.0);
tl.to("#cap-scrim", { opacity: 0, duration: 0.6, ease: "power2.in" }, 46.0);
/* ==================== TIMECODE TICKER ==================== */
var tcObj = { t: 0 };
var tcEl = document.getElementById("tc-val");
tl.to(tcObj, {
t: 60, duration: 60, ease: "none",
onUpdate: function () {
if (!tcEl) return;
var total = Math.floor(tcObj.t * 100) / 100;
var m = Math.floor(total / 60);
var s = Math.floor(total % 60);
tcEl.textContent = (m < 10 ? "0" + m : m) + ":" + (s < 10 ? "0" + s : s);
},
}, 0);
/* ==================== PAD TO DURATION ==================== */
tl.set({}, {}, 60);
window.__timelines = window.__timelines || {};
window.__timelines["clickup-demo"] = tl;
})();
</script>
</div>
</body>
</html>