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.9 KB
Raw Blame
<!doctype html>
<!--
  KALLAWAY · tier1 · overview · PHASES
  Full-screen takeover. Vertical stack of three glowing glass boxes (Phase 1 /
  Phase 2 / Phase 3) joined by a dashed connector line that draws between them.
  Title glides in, then phases build top-to-bottom; connector line draws after
  each box lands.
  Slots: title, p1_h, p1_b, p2_h, p2_b, p3_h, p3_b.
-->
<html>
  <head>
    <meta charset="utf-8" />
    <link rel="stylesheet" href="../../tokens.css" />
    <style>
      html, body { margin: 0; }

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

      #t1-ov-phases .bloom {
        position: absolute; inset: 0; background: var(--bloom-bottom); z-index: 1;
      }
      #t1-ov-phases .grid {
        position: absolute; inset: 0; z-index: 1;
        background-image: var(--dot); background-size: var(--dot-size); opacity: 0.45;
        -webkit-mask-image: radial-gradient(110% 100% at 50% 60%, #000 28%, transparent 76%);
                mask-image: radial-gradient(110% 100% at 50% 60%, #000 28%, transparent 76%);
      }

      /* Title — top-left aligned for visual balance with vertical stack */
      #t1-ov-phases .title-row {
        position: absolute; left: 0; right: 0; top: 76px; text-align: center; z-index: 4;
      }
      #t1-ov-phases .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-phases .title em {
        font-style: normal; color: var(--accent); text-shadow: var(--textglow-accent);
      }

      /* Vertical stack + connector column */
      #t1-ov-phases .stack {
        position: absolute; left: 50%; top: 218px; bottom: 72px;
        transform: translateX(-50%);
        width: 980px;
        display: flex; flex-direction: column;
        align-items: stretch; gap: 0; z-index: 4;
      }

      /* Glass phase box */
      #t1-ov-phases .phase-box {
        background: var(--glass-bg-dark);
        border: var(--stroke) solid var(--glass-border);
        border-radius: var(--radius);
        box-shadow: var(--glass-shadow);
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        padding: 36px 52px 36px 48px;
        display: flex; align-items: center; gap: 40px;
        position: relative; overflow: hidden;
      }
      /* Top hairline */
      #t1-ov-phases .phase-box::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);
      }

      /* Phase number badge */
      #t1-ov-phases .phase-num {
        flex-shrink: 0;
        width: 72px; height: 72px;
        border-radius: 50%;
        border: var(--stroke) solid rgba(var(--accent-rgb), 0.60);
        box-shadow: 0 0 22px rgba(var(--accent-rgb), 0.32);
        background: rgba(var(--accent-rgb), 0.08);
        display: flex; align-items: center; justify-content: center;
        font-family: var(--font-mono); font-weight: var(--wt-bold);
        font-size: 26px; color: var(--accent);
        text-shadow: var(--textglow-accent);
      }

      /* Phase text group */
      #t1-ov-phases .phase-text { flex: 1; }
      #t1-ov-phases .phase-heading {
        font-family: var(--font-display); font-weight: var(--wt-bold);
        font-size: 40px; letter-spacing: var(--track-snug); line-height: 1.15;
        color: var(--white); text-shadow: var(--textglow);
        margin-bottom: 10px;
      }
      #t1-ov-phases .phase-body {
        font-family: var(--font-body); font-weight: var(--wt-reg);
        font-size: var(--size-body); line-height: 1.5;
        color: var(--text-dim);
      }

      /* Dashed connector between boxes */
      #t1-ov-phases .connector {
        position: relative; width: 100%; height: 48px;
        display: flex; align-items: center; justify-content: center;
        flex-shrink: 0;
      }
      #t1-ov-phases .connector svg {
        width: 100%; height: 100%; overflow: visible;
      }
      /* The dashed line path */
      #t1-ov-phases .dash-line {
        stroke: rgba(var(--accent-rgb), 0.45);
        stroke-width: 1.5;
        stroke-dasharray: 8 6;
        fill: none;
        /* draw effect: scaleY from 0 → 1, handled by GSAP */
        transform-origin: 50% 0%;
      }
      /* Connector node dots */
      #t1-ov-phases .node-dot {
        fill: var(--accent);
        filter: url(#glow-dot);
      }

      #t1-ov-phases .vignette {
        position: absolute; inset: 0; pointer-events: none; z-index: 6;
        background: var(--vignette);
      }
      #t1-ov-phases .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-phases" data-composition-id="t1-ov-phases" 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">The <em>Three Phases</em> of the Plan</div>
      </div>

      <div class="stack">
        <!-- Phase 1 -->
        <div class="phase-box" id="ph1">
          <div class="phase-num">01</div>
          <div class="phase-text">
            <div class="phase-heading" data-slot="p1_h">Foundation</div>
            <div class="phase-body" data-slot="p1_b">Set up your infrastructure and define the rules of engagement before touching the product.</div>
          </div>
        </div>

        <!-- Connector A -->
        <div class="connector" id="conn-a">
          <svg viewBox="0 0 980 48" preserveAspectRatio="none">
            <defs>
              <filter id="glow-dot" x="-50%" y="-50%" width="200%" height="200%">
                <feGaussianBlur stdDeviation="2.5" result="blur"/>
                <feMerge><feMergeNode in="blur"/><feMergeNode in="SourceGraphic"/></feMerge>
              </filter>
            </defs>
            <line class="dash-line" id="dash-a" x1="490" y1="0" x2="490" y2="48"/>
            <circle class="node-dot" cx="490" cy="44" r="4" id="dot-a"/>
          </svg>
        </div>

        <!-- Phase 2 -->
        <div class="phase-box" id="ph2">
          <div class="phase-num">02</div>
          <div class="phase-text">
            <div class="phase-heading" data-slot="p2_h">Build &amp; Iterate</div>
            <div class="phase-body" data-slot="p2_b">Ship the first version, collect real feedback, and tighten your loops every two weeks.</div>
          </div>
        </div>

        <!-- Connector B -->
        <div class="connector" id="conn-b">
          <svg viewBox="0 0 980 48" preserveAspectRatio="none">
            <line class="dash-line" id="dash-b" x1="490" y1="0" x2="490" y2="48"/>
            <circle class="node-dot" cx="490" cy="44" r="4" id="dot-b"/>
          </svg>
        </div>

        <!-- Phase 3 -->
        <div class="phase-box" id="ph3">
          <div class="phase-num">03</div>
          <div class="phase-text">
            <div class="phase-heading" data-slot="p3_h">Scale</div>
            <div class="phase-body" data-slot="p3_b">Once you have signal, pour resources in. Automate, delegate, and grow with intent.</div>
          </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 */
      tl.fromTo("#t1-ov-phases .grain",
        { backgroundPosition: "0px 0px" },
        { backgroundPosition: "80px 60px", duration: 0.6, ease: "none", repeat: 11, yoyo: true }, 0);

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

        /* title */
        .from("#t1-ov-phases .title", { autoAlpha: 0, y: 24, filter: "blur(12px)", duration: 1.0, ease: "power4.out" }, 0.5)

        /* phase 1 springs in */
        .from("#ph1", { autoAlpha: 0, y: 40, scale: 0.95, transformOrigin: "50% 50%",
          filter: "blur(10px)", duration: 0.85, ease: "back.out(1.4)" }, 1.05)

        /* connector A draws down */
        .from("#dash-a", { scaleY: 0, transformOrigin: "50% 0%", duration: 0.4, ease: "power2.out" }, 1.80)
        .from("#dot-a",  { autoAlpha: 0, scale: 0, transformOrigin: "50% 50%", duration: 0.3, ease: "back.out(2)" }, 2.15)

        /* phase 2 */
        .from("#ph2", { autoAlpha: 0, y: 40, scale: 0.95, transformOrigin: "50% 50%",
          filter: "blur(10px)", duration: 0.85, ease: "back.out(1.4)" }, 2.25)

        /* connector B draws down */
        .from("#dash-b", { scaleY: 0, transformOrigin: "50% 0%", duration: 0.4, ease: "power2.out" }, 2.95)
        .from("#dot-b",  { autoAlpha: 0, scale: 0, transformOrigin: "50% 50%", duration: 0.3, ease: "back.out(2)" }, 3.30)

        /* phase 3 */
        .from("#ph3", { autoAlpha: 0, y: 40, scale: 0.95, transformOrigin: "50% 50%",
          filter: "blur(10px)", duration: 0.85, ease: "back.out(1.4)" }, 3.40)

        /* breathing glow on phase 3 num badge at end */
        .to("#ph3 .phase-num", { boxShadow: "0 0 38px rgba(55,189,248,0.55)",
          duration: 1.2, ease: "sine.inOut", repeat: 1, yoyo: true }, 4.5)

        /* hold drift */
        .to("#t1-ov-phases .stack", { y: -10, duration: 4.0, ease: "sine.inOut" }, 2.5)

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

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