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.

7.0 KB
Raw Blame
<template id="08-when-not-whether-template">
  <div
    data-composition-id="08-when-not-whether"
    data-start="0"
    data-width="1920"
    data-height="1080"
    data-duration="6.90"
  >
    <div class="s8-kicker">
      <span class="s8-kicker-num">§</span>
      <span class="s8-kicker-text">THE DISTINCTION</span>
    </div>

    <div class="s8-setup">
      <span class="s8-setup-chip">HOW YOU ENTER THE CONVERSATION</span>
    </div>

    <div class="s8-stage">
      <div class="s8-side s8-side-left">
        <div class="s8-side-label">NOT</div>
        <div class="s8-whether">
          <span class="s8-whether-word">WHETHER</span>
          <span class="s8-whether-line"></span>
        </div>
        <div class="s8-side-sub">audits work</div>
      </div>

      <div class="s8-divider">
        <div class="s8-divider-line"></div>
        <div class="s8-divider-mark">×</div>
      </div>

      <div class="s8-side s8-side-right">
        <div class="s8-side-label s8-side-label-hot">BUT</div>
        <div class="s8-when">
          <span class="s8-when-word">WHEN</span>
        </div>
        <div class="s8-side-sub s8-side-sub-hot">you bring it up</div>
      </div>
    </div>
  </div>

  <style>
    [data-composition-id="08-when-not-whether"] { position: absolute; inset: 0; font-family: "Montserrat", sans-serif; }
    [data-composition-id="08-when-not-whether"] .s8-kicker { position: absolute; top: 100px; left: 120px; display: flex; align-items: baseline; gap: 18px; }
    [data-composition-id="08-when-not-whether"] .s8-kicker-num { font-family: "Roboto Mono", monospace; font-weight: 700; font-size: 32px; color: #37bdf8; }
    [data-composition-id="08-when-not-whether"] .s8-kicker-text { font-family: "Montserrat", sans-serif; font-weight: 900; font-size: 44px; color: #ffffff; letter-spacing: 0.02em; }

    [data-composition-id="08-when-not-whether"] .s8-setup { position: absolute; top: 220px; left: 120px; }
    [data-composition-id="08-when-not-whether"] .s8-setup-chip { display: inline-block; font-family: "Roboto Mono", monospace; font-weight: 700; font-size: 20px; letter-spacing: 0.32em; color: #37bdf8; padding: 12px 22px; border: 1.5px solid rgba(55,189,248,0.55); border-radius: 999px; background: rgba(55,189,248,0.08); text-transform: uppercase; box-shadow: 0 0 22px rgba(55,189,248,0.22); }

    [data-composition-id="08-when-not-whether"] .s8-stage { position: absolute; top: 320px; left: 80px; width: 1280px; height: 520px; display: grid; grid-template-columns: 1fr 2px 1fr; align-items: center; }

    [data-composition-id="08-when-not-whether"] .s8-side { display: flex; flex-direction: column; align-items: center; gap: 14px; }
    [data-composition-id="08-when-not-whether"] .s8-side-label { font-family: "Roboto Mono", monospace; font-weight: 700; font-size: 32px; letter-spacing: 0.32em; color: rgba(150,162,182,0.75); text-transform: uppercase; padding: 8px 22px; border: 1.5px solid rgba(150,162,182,0.5); border-radius: 999px; }
    [data-composition-id="08-when-not-whether"] .s8-side-label-hot { color: #37bdf8; border-color: rgba(55,189,248,0.7); background: rgba(55,189,248,0.1); }
    [data-composition-id="08-when-not-whether"] .s8-whether { position: relative; }
    [data-composition-id="08-when-not-whether"] .s8-whether-word { font-family: "Montserrat", sans-serif; font-weight: 900; font-size: 124px; line-height: 1; letter-spacing: -0.02em; color: rgba(150,162,182,0.55); }
    [data-composition-id="08-when-not-whether"] .s8-whether-line { position: absolute; left: -10px; top: 50%; height: 7px; width: calc(100% + 20px); background: #f09025; box-shadow: 0 0 20px rgba(240,144,37,0.75); transform-origin: left center; transform: scaleX(0); }
    [data-composition-id="08-when-not-whether"] .s8-when-word { font-family: "Montserrat", sans-serif; font-weight: 900; font-size: 168px; line-height: 1; letter-spacing: -0.03em; color: #37bdf8; text-shadow: 0 0 40px rgba(55,189,248,0.8), 0 0 80px rgba(55,189,248,0.35); }
    [data-composition-id="08-when-not-whether"] .s8-side-sub { font-family: "Roboto Mono", monospace; font-weight: 500; font-size: 20px; letter-spacing: 0.24em; color: #96a2b6; text-transform: uppercase; }
    [data-composition-id="08-when-not-whether"] .s8-side-sub-hot { color: #37bdf8; }

    [data-composition-id="08-when-not-whether"] .s8-divider { position: relative; width: 2px; height: 440px; align-self: center; justify-self: center; background: rgba(150,162,182,0.25); display: flex; align-items: center; justify-content: center; }
    [data-composition-id="08-when-not-whether"] .s8-divider-mark { position: absolute; padding: 8px 12px; background: #07121c; font-family: "Roboto Mono", monospace; font-weight: 700; font-size: 24px; color: #96a2b6; border: 1px solid rgba(150,162,182,0.4); border-radius: 999px; }
  </style>

  <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
  <script>
    (function () {
      const tl = gsap.timeline({ paused: true });
      const sel = (s) => '[data-composition-id="08-when-not-whether"] ' + s;

      // Kicker at local 0 ("The distinction matters")
      tl.from(sel(".s8-kicker-num"), { opacity: 0, x: -10, duration: 0.35, ease: "power3.out" }, 0);
      tl.from(sel(".s8-kicker-text"), { opacity: 0, y: 18, duration: 0.45, ease: "power4.out" }, 0.15);

      // "HOW YOU ENTER THE CONVERSATION" chip enters as he says those words
      // (abs 96.56 "determines" -> local 1.68, abs 97.30 "conversation" -> local 2.42)
      tl.from(sel(".s8-setup-chip"), { opacity: 0, scale: 0.85, y: -10, duration: 0.55, ease: "back.out(1.6)" }, 1.50);

      // Divider + side labels grow — staged as anticipation before the slam
      tl.from(sel(".s8-divider"), { opacity: 0, scaleY: 0, duration: 0.55, ease: "power3.out", transformOrigin: "top center" }, 2.30);
      tl.from(sel(".s8-side-left .s8-side-sub"), { opacity: 0, duration: 0.35, ease: "power2.out" }, 2.85);
      tl.from(sel(".s8-side-right .s8-side-sub"), { opacity: 0, duration: 0.35, ease: "power2.out" }, 3.00);

      // NOT label at "Not" (abs 98.34 -> local 3.46)
      tl.from(sel(".s8-side-left .s8-side-label"), { opacity: 0, scale: 0.5, duration: 0.45, ease: "back.out(2)" }, 3.38);
      // WHETHER at "whether" (abs 98.56 -> local 3.68)
      tl.from(sel(".s8-whether-word"), { opacity: 0, y: 30, duration: 0.5, ease: "power4.out" }, 3.60);
      tl.from(sel(".s8-side-left .s8-side-sub"), { opacity: 0, y: 8, duration: 0.35, ease: "power3.out" }, 3.95);
      // Strike on WHETHER at "work" (abs 99.06 -> local 4.18)
      tl.to(sel(".s8-whether-line"), { scaleX: 1, duration: 0.45, ease: "power3.out" }, 4.15);

      // BUT label at "but" (abs 99.68 -> local 4.80)
      tl.from(sel(".s8-side-right .s8-side-label"), { opacity: 0, scale: 0.5, duration: 0.4, ease: "back.out(2)" }, 4.72);
      // WHEN enters punchy at "when" (abs 99.92 -> local 5.04)
      tl.from(sel(".s8-when-word"), { opacity: 0, scale: 0.3, rotation: -6, duration: 0.65, ease: "back.out(2)" }, 5.00);

      tl.set({}, {}, 6.90);
      window.__timelines = window.__timelines || {};
      window.__timelines["08-when-not-whether"] = tl;
    })();
  </script>
</template>