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.0 KB
Raw Blame
<!doctype html>
<!--
  KALLAWAY · tier1 · overview · FLASHCARDS
  Full-screen takeover. A row of 4 glass "flashcard" tiles — each with a bold
  front label and a small caption underneath. Cards spring in left-to-right with
  a staggered back.out(1.4) from below + blur. Title glides in first.
  Slots: title, fc1_label, fc1_cap, fc2_label, fc2_cap, fc3_label, fc3_cap, fc4_label, fc4_cap.
-->
<html>
  <head>
    <meta charset="utf-8" />
    <link rel="stylesheet" href="../../tokens.css" />
    <style>
      html, body { margin: 0; }

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

      #t1-ov-flash .bloom {
        position: absolute; inset: 0; background: var(--bloom-bottom); z-index: 1;
      }
      #t1-ov-flash .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 30%, transparent 78%);
                mask-image: radial-gradient(130% 100% at 50% 55%, #000 30%, transparent 78%);
      }

      /* Title */
      #t1-ov-flash .title-row {
        position: absolute; left: 0; right: 0; top: 88px; text-align: center; z-index: 4;
      }
      #t1-ov-flash .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-flash .title em {
        font-style: normal; color: var(--accent); text-shadow: var(--textglow-accent);
      }

      /* Four-card row */
      #t1-ov-flash .cards {
        position: absolute; left: 80px; right: 80px; top: 258px; bottom: 80px;
        display: flex; gap: 36px; align-items: stretch; z-index: 4;
      }

      /* Flashcard tile */
      #t1-ov-flash .fcard {
        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: 60px 52px 52px;
        display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
        position: relative; overflow: hidden;
      }
      /* Top hairline */
      #t1-ov-flash .fcard::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);
      }

      /* Card index number (top left corner) */
      #t1-ov-flash .fc-num {
        position: absolute; top: 36px; left: 52px;
        font-family: var(--font-mono); font-size: var(--size-tiny); font-weight: var(--wt-bold);
        letter-spacing: var(--track-wide); text-transform: uppercase;
        color: var(--text-faint);
      }

      /* Accent glow dot above the label */
      #t1-ov-flash .fc-dot {
        width: 10px; height: 10px; border-radius: 50%; margin-bottom: 28px; flex-shrink: 0;
        background: var(--accent);
        box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.70), 0 0 36px rgba(var(--accent-rgb), 0.35);
      }

      /* Big front label */
      #t1-ov-flash .fc-label {
        font-family: var(--font-display); font-weight: var(--wt-black);
        font-size: 56px; letter-spacing: var(--track-snug); line-height: 1.12;
        color: var(--white); text-shadow: var(--textglow);
        margin-bottom: 24px;
      }

      /* Caption */
      #t1-ov-flash .fc-cap {
        font-family: var(--font-body); font-weight: var(--wt-reg);
        font-size: 26px; line-height: 1.55;
        color: var(--text-dim);
      }

      /* Bottom accent edge line */
      #t1-ov-flash .fc-line {
        position: absolute; bottom: 0; left: 0; right: 0; height: 2.5px;
        background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.50) 30%, rgba(var(--accent-rgb), 0.50) 70%, transparent);
        box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.30);
      }

      #t1-ov-flash .vignette {
        position: absolute; inset: 0; pointer-events: none; z-index: 6;
        background: var(--vignette);
      }
      #t1-ov-flash .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-flash" data-composition-id="t1-ov-flash" data-start="0" data-width="1920" data-height="1080">
      <div class="bloom"></div>
      <div class="grid"></div>

      <div class="title-row">
        <div class="title" data-slot="title">Four Things That <em>Actually Move the Needle</em></div>
      </div>

      <div class="cards">
        <!-- Flashcard 1 -->
        <div class="fcard" id="fc-1">
          <div class="fc-num">01</div>
          <div class="fc-dot"></div>
          <div class="fc-label" data-slot="fc1_label">Clarity</div>
          <div class="fc-cap" data-slot="fc1_cap">Know exactly who you serve and what problem you solve.</div>
          <div class="fc-line"></div>
        </div>

        <!-- Flashcard 2 -->
        <div class="fcard" id="fc-2">
          <div class="fc-num">02</div>
          <div class="fc-dot"></div>
          <div class="fc-label" data-slot="fc2_label">Volume</div>
          <div class="fc-cap" data-slot="fc2_cap">Publish more. Compounding rewards those who show up.</div>
          <div class="fc-line"></div>
        </div>

        <!-- Flashcard 3 -->
        <div class="fcard" id="fc-3">
          <div class="fc-num">03</div>
          <div class="fc-dot"></div>
          <div class="fc-label" data-slot="fc3_label">Feedback</div>
          <div class="fc-cap" data-slot="fc3_cap">Read the data. Let your audience tell you what to double down on.</div>
          <div class="fc-line"></div>
        </div>

        <!-- Flashcard 4 -->
        <div class="fcard" id="fc-4">
          <div class="fc-num">04</div>
          <div class="fc-dot"></div>
          <div class="fc-label" data-slot="fc4_label">Patience</div>
          <div class="fc-cap" data-slot="fc4_cap">The results always come later than you expect — and bigger.</div>
          <div class="fc-line"></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-flash .grain",
        { backgroundPosition: "0px 0px" },
        { backgroundPosition: "106px 84px", duration: 0.6, ease: "none", repeat: 11, yoyo: true }, 0);

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

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

        /* 4 flashcards spring in staggered */
        .from("#fc-1", { autoAlpha: 0, y: 60, scale: 0.94, transformOrigin: "50% 50%",
          filter: "blur(12px)", duration: 0.90, ease: "back.out(1.4)" }, 1.05)
        .from("#fc-2", { autoAlpha: 0, y: 60, scale: 0.94, transformOrigin: "50% 50%",
          filter: "blur(12px)", duration: 0.90, ease: "back.out(1.4)" }, 1.18)
        .from("#fc-3", { autoAlpha: 0, y: 60, scale: 0.94, transformOrigin: "50% 50%",
          filter: "blur(12px)", duration: 0.90, ease: "back.out(1.4)" }, 1.31)
        .from("#fc-4", { autoAlpha: 0, y: 60, scale: 0.94, transformOrigin: "50% 50%",
          filter: "blur(12px)", duration: 0.90, ease: "back.out(1.4)" }, 1.44)

        /* glow dot pulses sequentially — finite */
        .to("#fc-1 .fc-dot", { boxShadow: "0 0 22px rgba(55,189,248,0.85), 0 0 55px rgba(55,189,248,0.45)",
          duration: 0.9, ease: "sine.inOut", repeat: 3, yoyo: true }, 2.4)
        .to("#fc-2 .fc-dot", { boxShadow: "0 0 22px rgba(55,189,248,0.85), 0 0 55px rgba(55,189,248,0.45)",
          duration: 0.9, ease: "sine.inOut", repeat: 3, yoyo: true }, 2.55)
        .to("#fc-3 .fc-dot", { boxShadow: "0 0 22px rgba(55,189,248,0.85), 0 0 55px rgba(55,189,248,0.45)",
          duration: 0.9, ease: "sine.inOut", repeat: 3, yoyo: true }, 2.70)
        .to("#fc-4 .fc-dot", { boxShadow: "0 0 22px rgba(55,189,248,0.85), 0 0 55px rgba(55,189,248,0.45)",
          duration: 0.9, ease: "sine.inOut", repeat: 3, yoyo: true }, 2.85)

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

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

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