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.5 KB
Raw Blame
<!doctype html>
<!--
  KALLAWAY · tier1 · section · MARQUEE
  Full-screen chapter takeover. A mono-font scrolling ticker strip glides
  continuously across the frame (finite repeats, deterministic); the big
  display headline sits center-stage above it. Clean, editorial, tech-zine energy.
  Slots: marquee (the repeating strip text, ~60 chars), headline (~48 chars).
-->
<html>
  <head>
    <meta charset="utf-8" />
    <link rel="stylesheet" href="../../tokens.css" />
    <style>
      html, body { margin: 0; }

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

      /* Aurora bloom */
      #t1-sec-marq .bloom {
        position: absolute; inset: 0; background: var(--bloom-bottom); z-index: 1;
      }
      /* Dot grid */
      #t1-sec-marq .grid {
        position: absolute; inset: 0; z-index: 1;
        background-image: var(--dot); background-size: var(--dot-size);
        opacity: 0.4;
        -webkit-mask-image: radial-gradient(110% 90% at 50% 55%, #000 28%, transparent 72%);
                mask-image: radial-gradient(110% 90% at 50% 55%, #000 28%, transparent 72%);
      }

      /* Marquee strip — positioned below center */
      #t1-sec-marq .strip-wrap {
        position: absolute; left: 0; right: 0; top: 700px; height: 62px;
        background: rgba(var(--accent-rgb), 0.10);
        border-top:    1.5px solid rgba(var(--accent-rgb), 0.45);
        border-bottom: 1.5px solid rgba(var(--accent-rgb), 0.45);
        box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.22), inset 0 0 20px rgba(var(--accent-rgb), 0.06);
        overflow: hidden; z-index: 3;
        display: flex; align-items: center;
      }
      /* The scrolling inner track — wide enough for animation */
      #t1-sec-marq .strip-inner {
        display: flex; align-items: center; gap: 0; white-space: nowrap;
        will-change: transform;
      }
      #t1-sec-marq .strip-segment {
        font-family: var(--font-mono); font-size: 22px;
        letter-spacing: 0.22em; text-transform: uppercase;
        color: var(--accent); text-shadow: var(--textglow-accent);
        padding: 0 60px;
        display: flex; align-items: center; gap: 40px;
      }
      #t1-sec-marq .strip-segment::before {
        content: "◆";
        font-size: 10px; color: rgba(var(--accent-rgb), 0.55);
      }

      /* Left/right edge fade masks */
      #t1-sec-marq .strip-wrap::before,
      #t1-sec-marq .strip-wrap::after {
        content: ""; position: absolute; top: 0; bottom: 0; width: 160px; z-index: 1;
        pointer-events: none;
      }
      #t1-sec-marq .strip-wrap::before {
        left: 0;
        background: linear-gradient(to right, var(--canvas) 0%, transparent 100%);
      }
      #t1-sec-marq .strip-wrap::after {
        right: 0;
        background: linear-gradient(to left, var(--canvas) 0%, transparent 100%);
      }

      /* Headline — large, centered, above the strip */
      #t1-sec-marq .content {
        position: absolute; left: 0; right: 0; top: 0; bottom: 0;
        display: flex; flex-direction: column; align-items: center; justify-content: center;
        padding-bottom: 80px; z-index: 4;
      }
      #t1-sec-marq .headline {
        font-family: var(--font-display); font-weight: var(--wt-black);
        font-size: var(--size-display); line-height: 1.0; letter-spacing: var(--track-tight);
        color: var(--white); text-shadow: var(--textglow);
        text-align: center; max-width: 1540px;
      }
      #t1-sec-marq .headline em {
        font-style: normal;
        background: linear-gradient(90deg, var(--white) 0%, var(--accent) 100%);
        -webkit-background-clip: text; -webkit-text-fill-color: transparent;
        background-clip: text;
      }

      /* Horizontal rule above headline */
      #t1-sec-marq .rule {
        width: 80px; height: 2px;
        background: linear-gradient(90deg, transparent, var(--accent), transparent);
        box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.6);
        margin-bottom: 42px; align-self: center;
      }

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

      <div class="strip-wrap">
        <div class="strip-inner" id="t1-sec-marq-track">
          <!-- 8 identical segments for seamless scroll width -->
          <div class="strip-segment" data-slot="marquee">Prompt Engineering · Context Windows · Fine-Tuning · Retrieval-Augmented Generation · Agents · Tool Use</div>
          <div class="strip-segment">Prompt Engineering · Context Windows · Fine-Tuning · Retrieval-Augmented Generation · Agents · Tool Use</div>
          <div class="strip-segment">Prompt Engineering · Context Windows · Fine-Tuning · Retrieval-Augmented Generation · Agents · Tool Use</div>
          <div class="strip-segment">Prompt Engineering · Context Windows · Fine-Tuning · Retrieval-Augmented Generation · Agents · Tool Use</div>
        </div>
      </div>

      <div class="content">
        <div class="rule"></div>
        <div class="headline" data-slot="headline">The <em>Prompting</em> Playbook</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 — deterministic */
      tl.fromTo("#t1-sec-marq .grain",
        { backgroundPosition: "0px 0px" },
        { backgroundPosition: "120px 90px", duration: 0.6, ease: "none", repeat: 11, yoyo: true }, 0);

      /* bloom + grid */
      tl.from("#t1-sec-marq .bloom", { autoAlpha: 0, scale: 0.9, transformOrigin: "50% 120%", duration: 1.4, ease: "expo.out" }, 0)
        .from("#t1-sec-marq .grid",  { autoAlpha: 0, duration: 1.1, ease: "power2.out" }, 0.2);

      /* Strip slides in from below */
      tl.from("#t1-sec-marq .strip-wrap", { autoAlpha: 0, y: 40, duration: 0.9, ease: "power3.out" }, 0.4);

      /* Marquee scroll — translate the inner track leftward one segment width.
         Each segment is ~1280px wide in practice; we scroll 2560px so it loops cleanly.
         Finite: 4 repeats × ~1.8s each = 7.2s total — covers the hold. */
      const track = document.getElementById("t1-sec-marq-track");
      /* measure one segment width after layout — use fixed value for determinism */
      const segW = 1540; /* px per segment at 22px mono + spacing */
      tl.fromTo(track,
        { x: 0 },
        { x: -segW * 2, duration: 7.0, ease: "none" }, 0.4);

      /* rule slides in */
      tl.from("#t1-sec-marq .rule", { autoAlpha: 0, scaleX: 0, transformOrigin: "50% 50%", duration: 0.6, ease: "power3.out" }, 0.85);

      /* headline glides down + blur resolves */
      tl.from("#t1-sec-marq .headline", { autoAlpha: 0, y: -44, filter: "blur(18px)", duration: 1.1, ease: "power4.out" }, 1.0);

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

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