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>
<!--
VOX EXPLAINER · tier1 · stat · SPOTLIGHT (depth-of-field)
The number SHARP in a focused spotlight pool (radial light on a dark ink-ish paper),
heavy darkened edges (strong vignette). A subtle RACK-FOCUS: number starts
filter:blur(14px) and clears to 0 on entrance, while a faint duplicate behind
stays soft.
Slots: kicker, stat, label (richtext <em>), source.
-->
<html>
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="../../tokens.css" />
<style>
html, body { margin: 0; }
#t1-stat-spot {
position: absolute; inset: 0; width: 1920px; height: 1080px;
/* Dark ink background for the spotlight feel */
background: var(--ink); color: var(--paper);
font-family: var(--font-display); overflow: hidden;
}
/* === PAPER TEXTURE BASE (dark version) === */
#t1-stat-spot .paper-base {
position: absolute; inset: 0;
/* Dark paper — ink with slight warm tint */
background:
radial-gradient(ellipse 110% 90% at 50% 48%,
#2a231a 0%,
#17130e 55%,
#0d0b08 100%
);
}
/* === FINE GRID (barely visible on dark) === */
#t1-stat-spot .grid {
position: absolute; inset: -2px; z-index: 0;
background-image:
repeating-linear-gradient(0deg, rgba(239,233,220,0.03) 0 1px, transparent 1px var(--grid-size)),
repeating-linear-gradient(90deg, rgba(239,233,220,0.03) 0 1px, transparent 1px var(--grid-size));
}
/* === SPOTLIGHT POOL — the warm circle of light === */
#t1-stat-spot .spotlight {
position: absolute;
left: 50%; top: 46%;
transform: translate(-50%, -50%);
width: 1100px; height: 780px;
border-radius: 50%;
/* Cool radial light — AIS-blue-tinted theatre spotlight */
background: radial-gradient(
ellipse 72% 60% at 50% 50%,
rgba(200,235,255,0.22) 0%,
rgba(120,210,250,0.12) 28%,
rgba(55,189,248,0.05) 55%,
transparent 72%
);
z-index: 1;
}
/* Tighter hot-spot core */
#t1-stat-spot .spotlight-core {
position: absolute;
left: 50%; top: 46%;
transform: translate(-50%, -50%);
width: 560px; height: 400px;
border-radius: 50%;
background: radial-gradient(
ellipse at 50% 50%,
rgba(215,240,255,0.16) 0%,
rgba(130,212,250,0.06) 50%,
transparent 80%
);
z-index: 1;
}
/* === SOFT DUPLICATE STAT (always stays blurred — the out-of-focus layer) === */
#t1-stat-spot .stat-blur {
position: absolute; left: 0; right: 0; top: 50%;
transform: translateY(-56%);
z-index: 2;
text-align: center;
font-weight: var(--wt-black); font-size: 520px;
line-height: 0.82; letter-spacing: -0.05em;
color: var(--paper);
font-variant-numeric: tabular-nums;
filter: blur(22px);
opacity: 0.18;
/* Always blurred — no rack-focus on this layer */
}
/* === SHARP STAT — the in-focus hero (rack-focus clears blur on entrance) === */
#t1-stat-spot .stat {
position: absolute; left: 0; right: 0; top: 50%;
transform: translateY(-56%);
z-index: 4;
text-align: center;
font-weight: var(--wt-black); font-size: 520px;
line-height: 0.82; letter-spacing: -0.05em;
color: var(--paper); font-variant-numeric: tabular-nums;
text-shadow:
0 0 80px rgba(90,200,248,0.35),
0 8px 32px rgba(0,0,0,0.6);
}
/* === KICKER — paper text, subtle === */
#t1-stat-spot .kicker {
position: absolute; left: 0; right: 0; top: 120px; z-index: 5;
text-align: center;
font-family: var(--font-label); font-weight: var(--wt-bold);
font-size: var(--size-label); letter-spacing: var(--track-wide);
text-transform: uppercase; color: var(--yellow);
opacity: 0.9;
}
/* === LABEL — bottom center === */
#t1-stat-spot .label {
position: absolute; left: 280px; right: 280px; bottom: 190px; z-index: 5;
text-align: center;
font-weight: var(--wt-thin); font-size: 58px; line-height: 1.08;
letter-spacing: var(--track-tight); color: var(--paper);
opacity: 0.88;
}
#t1-stat-spot .label em {
font-style: italic; font-weight: var(--wt-black);
color: var(--ink);
background: var(--yellow); padding: 0 12px;
box-decoration-break: clone; -webkit-box-decoration-break: clone;
opacity: 1;
}
/* === SOURCE === */
#t1-stat-spot .source {
position: absolute; left: 0; right: 0; bottom: 96px; z-index: 5;
text-align: center;
font-family: var(--font-label); font-weight: var(--wt-bold);
font-size: var(--size-tiny); letter-spacing: var(--track-wide);
text-transform: uppercase; color: rgba(239,233,220,0.45);
}
/* === HEAVY VIGNETTE — the defining feature === */
#t1-stat-spot .vignette {
position: absolute; inset: 0; pointer-events: none; z-index: 6;
/* Very strong dark vignette to push focus to the center */
background: radial-gradient(
ellipse 75% 65% at 50% 46%,
transparent 0%,
transparent 42%,
rgba(9,7,5,0.55) 68%,
rgba(5,4,3,0.88) 88%,
rgba(2,1,1,0.96) 100%
);
}
/* === GRAIN (overlay on dark bg) === */
#t1-stat-spot .grain {
position: absolute; inset: -40px; background: var(--tex-grain);
background-size: 180px 180px;
/* overlay blend on dark background */
mix-blend-mode: overlay; opacity: 0.55;
pointer-events: none; z-index: 7;
}
</style>
</head>
<body>
<div id="t1-stat-spot" data-composition-id="t1-stat-spot" data-start="0" data-width="1920" data-height="1080">
<div class="paper-base"></div>
<div class="grid"></div>
<div class="spotlight"></div>
<div class="spotlight-core"></div>
<!-- Soft always-blurred ghost behind -->
<div class="stat-blur" aria-hidden="true" data-slot="stat-blur">$2.1T</div>
<!-- Sharp foreground stat (rack-focus clears on entrance) -->
<div class="stat" data-slot="stat">$2.1T</div>
<div class="kicker" data-slot="kicker">THE NUMBER NO ONE SAYS OUT LOUD</div>
<div class="label" data-slot="label">the global market that <em>AI is eating</em> right now</div>
<div class="source" data-slot="source">SOURCE · IMF OUTLOOK 2025</div>
<div class="vignette"></div>
<div class="grain"></div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
<script>
window.__timelines = window.__timelines || {};
const tl = gsap.timeline({ paused: true });
// Sync stat-blur data-slot with stat data-slot (mirror text)
const statEl = document.querySelector("#t1-stat-spot .stat");
const statBlurEl = document.querySelector("#t1-stat-spot .stat-blur");
if (statEl && statBlurEl) {
statBlurEl.textContent = statEl.textContent;
}
// Grain flicker — overlay mode on dark
tl.fromTo("#t1-stat-spot .grain",
{ backgroundPosition: "0px 0px" },
{ backgroundPosition: "150px 130px", duration: 0.5, ease: "steps(4)", repeat: 11, yoyo: true },
0
);
// Scene fades in from black
tl.from("#t1-stat-spot .paper-base",
{ autoAlpha: 0, duration: 0.5 },
0
);
// Spotlight pools expand
tl.from("#t1-stat-spot .spotlight",
{ autoAlpha: 0, scale: 0.6, duration: 0.6, ease: "power2.out" },
0.1
);
tl.from("#t1-stat-spot .spotlight-core",
{ autoAlpha: 0, scale: 0.3, duration: 0.5, ease: "power2.out" },
0.25
);
// Kicker appears above
tl.from("#t1-stat-spot .kicker",
{ autoAlpha: 0, y: -16, duration: 0.3, ease: "steps(4)" },
0.3
);
// RACK FOCUS: stat starts blurred (out-of-focus) and sharpens
tl.fromTo("#t1-stat-spot .stat",
{
filter: "blur(14px)",
autoAlpha: 0,
scale: 0.96
},
{
filter: "blur(0px)",
autoAlpha: 1,
scale: 1,
duration: 0.7,
ease: "power2.out"
},
0.38
);
// Soft ghost also fades in (stays blurred always)
tl.from("#t1-stat-spot .stat-blur",
{ autoAlpha: 0, duration: 0.5 },
0.38
);
// Label and source come up after focus lands
tl.from("#t1-stat-spot .label",
{ autoAlpha: 0, y: 22, duration: 0.4, ease: "power3.out" },
1.0
);
tl.from("#t1-stat-spot .source",
{ autoAlpha: 0, duration: 0.3 },
1.28
);
// Hold for 6s total
tl.set({}, {}, 6);
window.__timelines["t1-stat-spot"] = tl;
</script>
</body>
</html>