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.

9.4 KB
Raw Blame
<template id="s5-cta-template">
  <div data-composition-id="s5-cta" data-start="0" data-duration="6" data-width="1920" data-height="1080">
    <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500;700;900&family=Roboto+Mono:wght@400;500;700&display=block" />

    <div class="scene">
      <!-- Ambient backdrop -->
      <div class="backdrop-glow" aria-hidden="true"></div>
      <div class="backdrop-lines" aria-hidden="true">
        <div class="bd-line bl1"></div>
        <div class="bd-line bl2"></div>
        <div class="bd-line bl3"></div>
      </div>

      <!-- Tagline -->
      <div class="tagline-wrap">
        <div class="tag-prefix">
          <span class="tag-bracket">[</span>
          <span class="tag-lbl">END OF TRANSMISSION</span>
          <span class="tag-bracket">]</span>
        </div>
        <div class="tag-line">
          <span class="tag-word">MASTER</span>
          <span class="tag-word accent">AI</span>
          <span class="tag-word">AUTOMATION.</span>
        </div>
        <div class="tag-sub">BUILT BY NATE HERK · 300,000+ BUILDERS STRONG</div>
      </div>

      <!-- Logo mark -->
      <div class="mark-wrap">
        <img class="mark" src="assets/AIS Logo PNG.png" alt="AIS" />
      </div>

      <!-- URL pill + CTA -->
      <div class="footer-group">
        <div class="url-pill">
          <span class="url-dot"></span>
          <span class="url-txt">AIAUTOMATIONSOCIETY.AI</span>
        </div>
        <div class="cta-btn">
          <span class="cta-txt">JOIN THE SOCIETY</span>
          <span class="cta-arrow">→</span>
        </div>
      </div>
    </div>

    <style>
      [data-composition-id="s5-cta"] {
        position: absolute;
        inset: 0;
        background: #07121c;
        color: #ffffff;
        font-family: "Montserrat", sans-serif;
        overflow: hidden;
      }
      [data-composition-id="s5-cta"] .scene {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 48px;
        padding: 100px 140px;
        box-sizing: border-box;
      }

      [data-composition-id="s5-cta"] .backdrop-glow {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 1400px;
        height: 1400px;
        margin-top: -700px;
        margin-left: -700px;
        background: radial-gradient(circle, rgba(55, 189, 248, 0.22) 0%, rgba(3, 7, 255, 0.12) 30%, rgba(7, 18, 28, 0) 60%);
        pointer-events: none;
      }
      [data-composition-id="s5-cta"] .backdrop-lines {
        position: absolute;
        inset: 0;
        pointer-events: none;
      }
      [data-composition-id="s5-cta"] .bd-line {
        position: absolute;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, rgba(55, 189, 248, 0) 0%, rgba(55, 189, 248, 0.3) 50%, rgba(55, 189, 248, 0) 100%);
      }
      [data-composition-id="s5-cta"] .bd-line.bl1 { top: 25%; }
      [data-composition-id="s5-cta"] .bd-line.bl2 { top: 50%; }
      [data-composition-id="s5-cta"] .bd-line.bl3 { top: 75%; }

      [data-composition-id="s5-cta"] .tagline-wrap {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        z-index: 2;
      }
      [data-composition-id="s5-cta"] .tag-prefix {
        font-family: "Roboto Mono", monospace;
        font-weight: 500;
        font-size: 20px;
        color: #37bdf8;
        letter-spacing: 0.26em;
        display: flex;
        gap: 12px;
        align-items: center;
      }
      [data-composition-id="s5-cta"] .tag-bracket {
        color: #37bdf8;
        font-weight: 700;
      }
      [data-composition-id="s5-cta"] .tag-line {
        display: flex;
        align-items: baseline;
        gap: 28px;
        font-family: "Montserrat", sans-serif;
        font-weight: 900;
        font-size: 140px;
        color: #ffffff;
        letter-spacing: -0.035em;
        line-height: 1;
      }
      [data-composition-id="s5-cta"] .tag-word {
        display: inline-block;
      }
      [data-composition-id="s5-cta"] .tag-word.accent {
        color: #37bdf8;
        text-shadow: 0 0 30px rgba(55, 189, 248, 0.7);
      }
      [data-composition-id="s5-cta"] .tag-sub {
        font-family: "Roboto Mono", monospace;
        font-weight: 500;
        font-size: 18px;
        color: #96a2b6;
        letter-spacing: 0.3em;
        margin-top: 10px;
      }

      [data-composition-id="s5-cta"] .mark-wrap {
        width: 120px;
        height: 120px;
        position: relative;
        z-index: 2;
      }
      [data-composition-id="s5-cta"] .mark {
        width: 100%;
        height: 100%;
        object-fit: contain;
        filter: drop-shadow(0 0 40px rgba(3, 7, 255, 0.7));
      }

      [data-composition-id="s5-cta"] .footer-group {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        z-index: 2;
      }
      [data-composition-id="s5-cta"] .url-pill {
        display: inline-flex;
        align-items: center;
        gap: 14px;
        padding: 10px 22px;
        border: 1.5px solid #37bdf8;
        border-radius: 999px;
        font-family: "Roboto Mono", monospace;
        font-weight: 500;
        font-size: 20px;
        color: #ffffff;
        letter-spacing: 0.2em;
      }
      [data-composition-id="s5-cta"] .url-dot {
        width: 10px;
        height: 10px;
        background: #37bdf8;
        border-radius: 50%;
        box-shadow: 0 0 10px rgba(55, 189, 248, 0.95);
      }
      [data-composition-id="s5-cta"] .cta-btn {
        display: inline-flex;
        align-items: center;
        gap: 22px;
        padding: 20px 44px;
        background: #37bdf8;
        border: 2px solid #37bdf8;
        border-radius: 999px;
        font-family: "Roboto Mono", monospace;
        font-weight: 700;
        font-size: 26px;
        color: #07121c;
        letter-spacing: 0.22em;
        box-shadow: 0 0 28px rgba(55, 189, 248, 0.55);
      }
      [data-composition-id="s5-cta"] .cta-arrow {
        font-family: "Montserrat", sans-serif;
        font-size: 30px;
        font-weight: 900;
      }
    </style>

    <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
    <script>
      (function () {
        window.__timelines = window.__timelines || {};
        const tl = gsap.timeline({ paused: true, defaults: { ease: "power3.out" } });

        const root = '[data-composition-id="s5-cta"]';

        // Ambient backdrop
        tl.from(root + " .backdrop-glow", { autoAlpha: 0, scale: 0.6, duration: 0.9, ease: "power2.out" }, 0.1);
        tl.from(root + " .bd-line", {
          scaleX: 0,
          transformOrigin: "50% 50%",
          duration: 0.6,
          stagger: 0.08,
          ease: "expo.out",
        }, 0.15);

        // Prefix bracket label
        tl.from(root + " .tag-prefix", { autoAlpha: 0, y: -14, duration: 0.4, ease: "power3.out" }, 0.3);
        tl.from(root + " .tag-bracket", {
          autoAlpha: 0,
          scale: 0.3,
          duration: 0.3,
          stagger: 0.08,
          ease: "back.out(2)",
        }, 0.35);

        // Tagline words slam in individually
        tl.from(root + " .tag-word", {
          autoAlpha: 0,
          y: 60,
          scale: 0.9,
          duration: 0.55,
          stagger: 0.12,
          ease: "back.out(1.6)",
        }, 0.55);

        // Accent word extra glow
        tl.fromTo(root + " .tag-word.accent",
          { textShadow: "0 0 0px rgba(55,189,248,0)" },
          { textShadow: "0 0 40px rgba(55,189,248,0.95)", duration: 0.45, ease: "power2.out" }, 1.0);

        // Subtitle
        tl.from(root + " .tag-sub", {
          autoAlpha: 0,
          y: 16,
          duration: 0.5,
          ease: "power2.out",
        }, 1.25);

        // Logo mark
        tl.from(root + " .mark-wrap", {
          autoAlpha: 0,
          scale: 0.5,
          duration: 0.55,
          ease: "back.out(1.6)",
        }, 1.6);

        tl.fromTo(root + " .mark",
          { filter: "drop-shadow(0 0 0px rgba(3,7,255,0))" },
          { filter: "drop-shadow(0 0 60px rgba(3,7,255,0.9))", duration: 0.5, ease: "power2.out" }, 1.85);

        // URL pill
        tl.from(root + " .url-pill", {
          autoAlpha: 0,
          y: 18,
          duration: 0.4,
          ease: "expo.out",
        }, 2.2);
        tl.from(root + " .url-dot", { scale: 0, duration: 0.3, ease: "back.out(2)" }, 2.35);

        // CTA button
        tl.from(root + " .cta-btn", {
          autoAlpha: 0,
          y: 24,
          scale: 0.85,
          duration: 0.5,
          ease: "back.out(1.8)",
        }, 2.55);

        // CTA breathing (2 finite cycles across ~3s)
        tl.to(root + " .cta-btn", {
          scale: 1.035,
          duration: 0.9,
          ease: "sine.inOut",
          repeat: 2,
          yoyo: true,
        }, 3.15);

        // Logo mark subtle breathe
        tl.to(root + " .mark-wrap", {
          scale: 1.04,
          duration: 1.2,
          ease: "sine.inOut",
          repeat: 1,
          yoyo: true,
        }, 3.4);

        // FINAL SCENE ONLY — allowed to fade out
        tl.to(root + " .tag-prefix, " + root + " .tag-sub", {
          autoAlpha: 0.25,
          duration: 0.5,
          ease: "power2.out",
        }, 5.2);

        // Pad to 6s
        tl.set({}, {}, 6);

        window.__timelines["s5-cta"] = tl;
      })();
    </script>
  </div>
</template>