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.

10.1 KB
Raw Blame
<!doctype html>
<!--
  KALLAWAY · tier1 · overview · BEFOREAFTER
  Full-screen takeover. Two glass cards side by side — BEFORE (left, dimmed)
  and AFTER (right, accent-glowing). A vertical divider with "VS" separates them.
  The AFTER card glows accent blue and its heading is accent-colored.
  Cards slide in from their respective sides, BEFORE slightly before AFTER.
  Slots: title, before_h, before_b, after_h, after_b.
-->
<html>
  <head>
    <meta charset="utf-8" />
    <link rel="stylesheet" href="../../tokens.css" />
    <style>
      html, body { margin: 0; }

      #t1-ov-baft {
        position: absolute; inset: 0; width: 1920px; height: 1080px;
        background: var(--canvas); color: var(--text);
        font-family: var(--font-display); overflow: hidden;
      }

      #t1-ov-baft .bloom {
        position: absolute; inset: 0; background: var(--bloom-bottom); z-index: 1;
      }
      /* Slightly dimmer corner bloom on BEFORE side, brighter on AFTER */
      #t1-ov-baft .bloom-right {
        position: absolute; inset: 0; z-index: 1;
        background: radial-gradient(80% 80% at 82% 60%,
          rgba(var(--accent-rgb), 0.28) 0%, transparent 60%);
      }
      #t1-ov-baft .grid {
        position: absolute; inset: 0; z-index: 1;
        background-image: var(--dot); background-size: var(--dot-size); opacity: 0.44;
        -webkit-mask-image: radial-gradient(130% 100% at 50% 55%, #000 28%, transparent 76%);
                mask-image: radial-gradient(130% 100% at 50% 55%, #000 28%, transparent 76%);
      }

      /* Title */
      #t1-ov-baft .title-row {
        position: absolute; left: 0; right: 0; top: 88px; text-align: center; z-index: 4;
      }
      #t1-ov-baft .title {
        font-family: var(--font-display); font-weight: var(--wt-bold);
        font-size: var(--size-title); letter-spacing: var(--track-snug); line-height: 1.06;
        color: var(--white); text-shadow: var(--textglow);
        max-width: 1400px; margin: 0 auto;
      }
      #t1-ov-baft .title em {
        font-style: normal; color: var(--accent); text-shadow: var(--textglow-accent);
      }

      /* Two-card layout + divider wrapper */
      #t1-ov-baft .layout {
        position: absolute; left: 100px; right: 100px; top: 248px; bottom: 72px;
        display: flex; align-items: stretch; gap: 0; z-index: 4;
      }

      /* Glass card base — shared */
      #t1-ov-baft .card {
        flex: 1;
        background: var(--glass-bg-dark);
        border: var(--stroke) solid var(--glass-border);
        border-radius: var(--radius-lg);
        box-shadow: var(--glass-shadow);
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        padding: 72px 72px 64px;
        display: flex; flex-direction: column; justify-content: flex-start;
        position: relative; overflow: hidden;
      }
      /* Top hairline */
      #t1-ov-baft .card::before {
        content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
        background: linear-gradient(90deg, transparent, var(--glass-hi) 25%, var(--glass-hi) 75%, transparent);
      }

      /* BEFORE card — slightly muted */
      #t1-ov-baft #baft-before {
        border-radius: var(--radius-lg) 0 0 var(--radius-lg);
        opacity: 0.82;
      }
      #t1-ov-baft #baft-before::after {
        content: ""; position: absolute; left: 0; top: 40px; bottom: 40px; width: 3px;
        border-radius: 2px;
        background: rgba(255,255,255,0.22);
      }

      /* AFTER card — accent glow */
      #t1-ov-baft #baft-after {
        border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
        border-color: rgba(var(--accent-rgb), 0.40);
        box-shadow: var(--glass-shadow), 0 0 90px rgba(var(--accent-rgb), 0.24);
      }
      #t1-ov-baft #baft-after::after {
        content: ""; position: absolute; left: 0; top: 40px; bottom: 40px; width: 3px;
        border-radius: 2px;
        background: var(--accent);
        box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.60);
      }

      /* Column label */
      #t1-ov-baft .col-label {
        font-family: var(--font-mono); font-size: var(--size-label); font-weight: var(--wt-bold);
        letter-spacing: var(--track-wide); text-transform: uppercase;
        margin-bottom: 30px;
      }
      #t1-ov-baft #baft-before .col-label {
        color: var(--text-faint);
      }
      #t1-ov-baft #baft-after .col-label {
        color: var(--accent); text-shadow: var(--textglow-accent);
      }

      /* Card heading */
      #t1-ov-baft .card-heading {
        font-family: var(--font-display); font-weight: var(--wt-black);
        font-size: 56px; letter-spacing: var(--track-snug); line-height: 1.14;
        margin-bottom: 32px;
      }
      #t1-ov-baft #baft-before .card-heading {
        color: var(--text-dim); text-shadow: none;
      }
      #t1-ov-baft #baft-after .card-heading {
        color: var(--white); text-shadow: var(--textglow);
      }

      /* Card body */
      #t1-ov-baft .card-body {
        font-family: var(--font-body); font-weight: var(--wt-reg);
        font-size: var(--size-body); line-height: 1.58;
        color: var(--text-dim);
      }

      /* Center divider strip */
      #t1-ov-baft .divider {
        width: 72px; flex-shrink: 0;
        display: flex; flex-direction: column; align-items: center; justify-content: center;
        gap: 0; z-index: 5;
      }
      #t1-ov-baft .divider-line {
        width: 1.5px; flex: 1;
        background: linear-gradient(to bottom,
          transparent 0%, rgba(var(--accent-rgb), 0.30) 30%,
          rgba(var(--accent-rgb), 0.30) 70%, transparent 100%);
      }
      #t1-ov-baft .vs-pill {
        width: 58px; height: 58px; border-radius: 50%; flex-shrink: 0;
        border: var(--stroke) solid rgba(var(--accent-rgb), 0.48);
        background: rgba(var(--accent-rgb), 0.07);
        box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.28);
        display: flex; align-items: center; justify-content: center;
        font-family: var(--font-mono); font-size: 20px; font-weight: var(--wt-bold);
        letter-spacing: 0.06em; color: var(--accent);
        text-shadow: 0 0 10px rgba(var(--accent-rgb), 0.55);
        margin: 12px 0;
      }

      #t1-ov-baft .vignette {
        position: absolute; inset: 0; pointer-events: none; z-index: 6;
        background: var(--vignette);
      }
      #t1-ov-baft .grain {
        position: absolute; inset: -40px; background: var(--tex-grain);
        background-size: 200px 200px; mix-blend-mode: overlay; opacity: 0.10;
        pointer-events: none; z-index: 7;
      }
    </style>
  </head>
  <body>
    <div id="t1-ov-baft" data-composition-id="t1-ov-baft" data-start="0" data-width="1920" data-height="1080">
      <div class="bloom"></div>
      <div class="bloom-right"></div>
      <div class="grid"></div>

      <div class="title-row">
        <div class="title" data-slot="title">Where You Are vs. <em>Where You Could Be</em></div>
      </div>

      <div class="layout">
        <!-- Before card -->
        <div class="card" id="baft-before">
          <div class="col-label">Before</div>
          <div class="card-heading" data-slot="before_h">Guessing what to post and when</div>
          <div class="card-body" data-slot="before_b">Hours lost each week on content that barely moves the needle — no system, no data, just hoping something lands.</div>
        </div>

        <!-- Vertical VS divider -->
        <div class="divider">
          <div class="divider-line"></div>
          <div class="vs-pill">VS</div>
          <div class="divider-line"></div>
        </div>

        <!-- After card -->
        <div class="card" id="baft-after">
          <div class="col-label">After</div>
          <div class="card-heading" data-slot="after_h">A repeatable system that compounds every week</div>
          <div class="card-body" data-slot="after_b">Clear strategy, batch production, and analytics that tell you exactly what's working — so each week gets easier.</div>
        </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 });

      /* grain flicker — finite */
      tl.fromTo("#t1-ov-baft .grain",
        { backgroundPosition: "0px 0px" },
        { backgroundPosition: "118px 90px", duration: 0.6, ease: "none", repeat: 11, yoyo: true }, 0);

      /* environment */
      tl.from("#t1-ov-baft .bloom",       { autoAlpha: 0, scale: 0.92, transformOrigin: "50% 120%", duration: 1.4, ease: "expo.out" }, 0)
        .from("#t1-ov-baft .bloom-right", { autoAlpha: 0, duration: 1.4, ease: "power2.out" }, 0.4)
        .from("#t1-ov-baft .grid",        { autoAlpha: 0, duration: 1.2, ease: "power2.out" }, 0.2)

        /* title glides first */
        .from("#t1-ov-baft .title", { autoAlpha: 0, y: 28, filter: "blur(14px)", duration: 1.0, ease: "power4.out" }, 0.55)

        /* BEFORE slides in from the left */
        .from("#baft-before", { autoAlpha: 0, x: -80, scale: 0.95, transformOrigin: "0% 50%",
          filter: "blur(14px)", duration: 0.95, ease: "back.out(1.4)" }, 1.10)

        /* VS divider fades in */
        .from("#t1-ov-baft .divider", { autoAlpha: 0, scale: 0.8, duration: 0.7, ease: "power3.out" }, 1.40)

        /* AFTER slides in from the right */
        .from("#baft-after", { autoAlpha: 0, x: 80, scale: 0.95, transformOrigin: "100% 50%",
          filter: "blur(14px)", duration: 0.95, ease: "back.out(1.4)" }, 1.28)

        /* accent glow breathe on AFTER — finite */
        .to("#baft-after", { boxShadow: "0 24px 70px rgba(0,0,0,0.50), 0 0 120px rgba(55,189,248,0.34)",
          duration: 1.5, ease: "sine.inOut", repeat: 2, yoyo: true }, 2.5)

        /* VS pill glow pulse */
        .to("#t1-ov-baft .vs-pill", { boxShadow: "0 0 28px rgba(55,189,248,0.55), 0 0 60px rgba(55,189,248,0.28)",
          duration: 1.3, ease: "sine.inOut", repeat: 3, yoyo: true }, 2.3)

        /* slow upward drift */
        .to("#t1-ov-baft .layout", { y: -10, duration: 5.0, ease: "sine.inOut" }, 1.8)

        .set({}, {}, 7);

      window.__timelines["t1-ov-baft"] = tl;
    </script>
  </body>
</html>