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.7 KB
Raw Blame
<!doctype html>
<!--
  KALLAWAY · tier2 · lower-third · PORTRAITFRAME
  An edge-lit rounded portrait frame placeholder (left, neon rim) with an empty
  glowing frame interior + a name card beside it. The frame rim draws/illuminates;
  the name card springs in from the right of the frame. Sits over live footage.
  Slots: name (~26 chars), role (~40 chars).
-->
<html>
  <head>
    <meta charset="utf-8" />
    <link rel="stylesheet" href="../../tokens.css" />
    <style>
      html, body { margin: 0; background: transparent; }

      #t2-lt-pframe {
        position: absolute; inset: 0; width: 1920px; height: 1080px;
        background: transparent; overflow: hidden;
        font-family: var(--font-display);
      }

      /* Localized bloom behind the portrait frame zone */
      #t2-lt-pframe .local-bloom {
        position: absolute;
        left: 50px; bottom: 80px;
        width: 620px; height: 300px;
        border-radius: 50%;
        background: radial-gradient(ellipse at 35% 75%,
          rgba(var(--accent-rgb), 0.30) 0%,
          rgba(var(--accent-rgb), 0.10) 45%,
          transparent 72%);
        filter: blur(40px);
        pointer-events: none;
        z-index: 1;
      }

      /* Portrait frame — empty placeholder, edge-lit with neon rim */
      #t2-lt-pframe .portrait-frame {
        position: absolute;
        left: 80px; bottom: 120px;
        width: 148px; height: 192px;
        border-radius: 22px;
        background: rgba(10, 14, 20, 0.65);
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        /* neon rim — multi-layer box-shadow for the glow effect */
        box-shadow:
          0 0 0 2px rgba(var(--accent-rgb), 0.70),
          0 0 14px rgba(var(--accent-rgb), 0.55),
          0 0 38px rgba(var(--accent-rgb), 0.28),
          0 0 80px rgba(var(--accent-rgb), 0.14),
          inset 0 1px 0 rgba(255,255,255,0.18),
          0 24px 60px rgba(0,0,0,0.55);
        z-index: 2;
        overflow: hidden;
      }

      /* Shimmer top-edge inside frame */
      #t2-lt-pframe .portrait-frame::before {
        content: "";
        position: absolute; top: 0; left: 8px; right: 8px; height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.50) 35%, rgba(255,255,255,0.50) 65%, transparent);
        border-radius: 1px;
      }

      /* Subtle inner cross-hair grid — the "empty frame" texture */
      #t2-lt-pframe .portrait-frame::after {
        content: "";
        position: absolute; inset: 0;
        background-image:
          linear-gradient(rgba(var(--accent-rgb), 0.06) 1px, transparent 1px),
          linear-gradient(90deg, rgba(var(--accent-rgb), 0.06) 1px, transparent 1px);
        background-size: 24px 24px;
        border-radius: 22px;
      }

      /* Frame person silhouette icon — a minimal SVG outline */
      #t2-lt-pframe .frame-icon {
        position: absolute; left: 50%; top: 50%;
        transform: translate(-50%, -50%);
        opacity: 0.28;
        z-index: 3;
      }

      /* Name card — beside the portrait frame, aligned to its left edge */
      #t2-lt-pframe .namecard {
        position: absolute;
        left: 248px; bottom: 148px;
        padding: 22px 32px 20px;
        background: var(--glass-bg-dark);
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        border-radius: var(--radius);
        border: var(--stroke) solid var(--glass-border);
        box-shadow:
          var(--glass-shadow),
          0 0 0 1.5px rgba(var(--accent-rgb), 0.40),
          0 0 18px rgba(var(--accent-rgb), 0.18),
          inset 0 1px 0 var(--glass-hi);
        z-index: 2;
        overflow: hidden;
        min-width: 320px;
      }

      /* Hairline top-highlight */
      #t2-lt-pframe .namecard::before {
        content: "";
        position: absolute; top: 0; left: 12px; right: 12px; height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.50) 40%, rgba(255,255,255,0.50) 60%, transparent);
      }

      /* Vertical accent bar on the left edge of namecard */
      #t2-lt-pframe .namecard::after {
        content: "";
        position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px;
        border-radius: 0 2px 2px 0;
        background: linear-gradient(180deg, transparent, var(--accent) 30%, var(--accent) 70%, transparent);
        box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.70);
      }

      #t2-lt-pframe .name {
        font-family: var(--font-display);
        font-weight: var(--wt-bold);
        font-size: 36px;
        letter-spacing: var(--track-snug);
        color: var(--white);
        text-shadow: var(--textglow);
        margin-bottom: 8px;
        line-height: 1.1;
        padding-left: 14px;
      }

      #t2-lt-pframe .role {
        font-family: var(--font-body);
        font-weight: var(--wt-med);
        font-size: 21px;
        letter-spacing: 0.01em;
        color: var(--text-dim);
        line-height: 1.3;
        padding-left: 14px;
      }
    </style>
  </head>
  <body>
    <div id="t2-lt-pframe"
         data-composition-id="t2-lt-pframe"
         data-start="0"
         data-width="1920"
         data-height="1080">

      <div class="local-bloom"></div>

      <!-- Empty portrait frame with crosshair grid + icon -->
      <div class="portrait-frame">
        <!-- Minimal person silhouette SVG -->
        <svg class="frame-icon" width="56" height="72" viewBox="0 0 56 72" fill="none"
             xmlns="http://www.w3.org/2000/svg">
          <circle cx="28" cy="20" r="15" stroke="#37BDF8" stroke-width="2"/>
          <path d="M4 68 C4 50 52 50 52 68" stroke="#37BDF8" stroke-width="2" fill="none" stroke-linecap="round"/>
        </svg>
      </div>

      <!-- Name card beside the frame -->
      <div class="namecard">
        <div class="name" data-slot="name">Marcus Rivera</div>
        <div class="role" data-slot="role">Lead Instructor, AI Foundations</div>
      </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 });

      const C = "#t2-lt-pframe";

      /* bloom expands */
      tl.from(`${C} .local-bloom`,
        { autoAlpha: 0, scale: 0.55, duration: 1.3, ease: "power2.out" }, 0);

      /* portrait frame rises from below with scale */
      tl.from(`${C} .portrait-frame`,
        { autoAlpha: 0, y: 30, scale: 0.88,
          transformOrigin: "50% 100%",
          duration: 0.82, ease: "back.out(1.4)" }, 0.12);

      /* frame icon fades in gently */
      tl.from(`${C} .frame-icon`,
        { autoAlpha: 0, scale: 0.6, transformOrigin: "50% 50%",
          duration: 0.55, ease: "power2.out" }, 0.55);

      /* name card springs in from right */
      tl.from(`${C} .namecard`,
        { autoAlpha: 0, x: 30, scale: 0.94,
          filter: "blur(10px)", transformOrigin: "left center",
          duration: 0.78, ease: "back.out(1.4)" }, 0.42);

      /* name glides */
      tl.from(`${C} .name`,
        { autoAlpha: 0, x: -16, filter: "blur(7px)",
          duration: 0.58, ease: "power4.out" }, 0.88);

      /* role follows */
      tl.from(`${C} .role`,
        { autoAlpha: 0, x: -12, filter: "blur(5px)",
          duration: 0.52, ease: "power3.out" }, 1.06);

      /* portrait frame neon rim glow pulse — finite */
      tl.to(`${C} .portrait-frame`, {
        boxShadow:
          "0 0 0 2px rgba(55,189,248,1.00), 0 0 22px rgba(55,189,248,0.85), 0 0 55px rgba(55,189,248,0.40), 0 0 100px rgba(55,189,248,0.18), inset 0 1px 0 rgba(255,255,255,0.22), 0 24px 60px rgba(0,0,0,0.55)",
        duration: 1.1, ease: "sine.inOut", repeat: 3, yoyo: true }, 1.7);

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

      window.__timelines["t2-lt-pframe"] = tl;
    </script>
  </body>
</html>