Skip to content

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.

4.9 KB
Raw Blame
<!doctype html>
<!--
  VOX EXPLAINER · tier1 · section · STACKED
  Giant multi-line serif title filling the frame, mixed weights per line, one
  keyword sitting over a yellow circle. Type-dominant, minimal.
  Slots: line1, line2, line3, keyword (sits in the circle), source.
-->
<html>
  <head>
    <meta charset="utf-8" />
    <link rel="stylesheet" href="../../tokens.css" />
    <style>
      html, body { margin: 0; }
      #t1-sec-stacked {
        position: absolute; inset: 0; width: 1920px; height: 1080px;
        background: var(--paper); color: var(--ink);
        font-family: var(--font-display); overflow: hidden;
      }
      #t1-sec-stacked .grid {
        position: absolute; inset: -2px;
        background-image:
          repeating-linear-gradient(0deg,  var(--grid-line) 0 1px, transparent 1px var(--grid-size)),
          repeating-linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px var(--grid-size));
        opacity: 0.6;
      }
      #t1-sec-stacked .grain {
        position: absolute; inset: -40px; background: var(--tex-grain);
        background-size: 180px 180px; mix-blend-mode: multiply; opacity: 0.38; pointer-events: none;
      }
      #t1-sec-stacked .vignette {
        position: absolute; inset: 0; pointer-events: none;
        background: radial-gradient(120% 120% at 50% 50%, transparent 56%, rgba(23,19,14,0.15) 100%);
      }
      #t1-sec-stacked .stage { position: absolute; inset: 0; transform-origin: 50% 50%; }
      #t1-sec-stacked .title { position: absolute; left: 150px; top: 250px; width: 1620px; }
      #t1-sec-stacked .line { display: block; line-height: 0.94; letter-spacing: var(--track-tight); overflow: hidden; }
      #t1-sec-stacked .l1 { font-weight: var(--wt-thin); font-size: 150px; }
      #t1-sec-stacked .l2 { font-weight: var(--wt-black); font-style: italic; font-size: 176px; }
      #t1-sec-stacked .l3 { font-weight: var(--wt-thin); font-size: 150px; }
      #t1-sec-stacked .l1 span, #t1-sec-stacked .l2 span, #t1-sec-stacked .l3 span { display: inline-block; }
      /* keyword over a circle */
      #t1-sec-stacked .key {
        position: absolute; left: 1130px; top: 470px; z-index: 3;
        font-weight: var(--wt-black); font-style: italic; font-size: 176px; color: var(--ink);
      }
      #t1-sec-stacked .circle {
        position: absolute; left: 1090px; top: 430px; width: 340px; height: 340px;
        background: var(--yellow); border-radius: 50%; z-index: 1;
      }
      #t1-sec-stacked .source {
        position: absolute; left: 150px; bottom: 96px; z-index: 3;
        font-family: var(--font-label); font-weight: var(--wt-bold);
        font-size: var(--size-tiny); letter-spacing: var(--track-wide);
        text-transform: uppercase; color: var(--muted);
      }
      #t1-sec-stacked .rule { position: absolute; left: 150px; bottom: 150px; width: 0; height: 6px; background: var(--red); z-index: 3; }
    </style>
  </head>
  <body>
    <div id="t1-sec-stacked" data-composition-id="t1-sec-stacked" data-start="0" data-width="1920" data-height="1080">
      <div class="grid"></div>
      <div class="stage">
        <div class="circle"></div>
        <div class="title">
          <span class="line l1"><span data-slot="line1">The quiet</span></span>
          <span class="line l2"><span data-slot="line2">collapse</span></span>
          <span class="line l3"><span data-slot="line3">of trust</span></span>
        </div>
        <div class="key" data-slot="keyword">now</div>
        <div class="rule"></div>
        <div class="source" data-slot="source">A VOX EXPLAINER</div>
      </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 });
      tl.fromTo("#t1-sec-stacked .stage", { scale: 1.0 }, { scale: 1.04, duration: 6, ease: "none" }, 0);
      tl.fromTo("#t1-sec-stacked .grain", { backgroundPosition: "0px 0px" },
                { backgroundPosition: "150px 150px", duration: 0.5, ease: "steps(4)", repeat: 11, yoyo: true }, 0);
      tl.from("#t1-sec-stacked .l1 span", { yPercent: 110, duration: 0.5, ease: "power4.out" }, 0.2)
        .from("#t1-sec-stacked .l2 span", { yPercent: 110, duration: 0.5, ease: "power4.out" }, 0.34)
        .from("#t1-sec-stacked .l3 span", { yPercent: 110, duration: 0.5, ease: "power4.out" }, 0.48)
        .from("#t1-sec-stacked .circle", { autoAlpha: 0, scale: 0, transformOrigin: "50% 50%", duration: 0.45, ease: "back.out(2.2)" }, 0.6)
        .from("#t1-sec-stacked .key", { autoAlpha: 0, scale: 0.6, rotate: -8, duration: 0.4, ease: "back.out(2.4)" }, 0.72)
        .to("#t1-sec-stacked .rule", { width: 360, duration: 0.5, ease: "power2.out" }, 0.9)
        .from("#t1-sec-stacked .source", { autoAlpha: 0, duration: 0.3 }, 1.1);
      window.__timelines["t1-sec-stacked"] = tl;
    </script>
  </body>
</html>