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.

4.3 KB
Raw Blame
/* ============================================================================
   VOX EXPLAINER — style tokens
   Single source of palette / type / motion / texture for every card in this
   style. Cards reference these vars and never hardcode colors, fonts, easings,
   or textures. Tweak here, all cards update.
   See DESIGN.md for the why. Inspiration: Vox-style animated explainer.
   ============================================================================ */

/* Type. The HyperFrames compiler embeds supported fonts by name at render time;
   this @import is what makes standalone / browser preview show the right faces. */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@400;700;900&family=Caveat:wght@700&family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,900;1,9..144,900&display=swap");

:root {
  /* --- palette (mirror style.json + DESIGN.md). 5 symbolic colors. --------- */
  --paper:        #efe9dc;   /* warm newsprint background */
  --paper-2:      #e6dcc4;   /* kraft / aged paper variant */
  --ink:          #17130e;   /* warm near-black print ink (text + engravings) */
  --yellow:       #37BDF8;   /* AIS blue accent — THE highlight (circles, marker boxes). Token name kept --yellow; value is now blue. */
  --red:          #e23b2e;   /* editorial red — circles, scribbles, alarm */
  --orange:       #f26a1b;   /* cutout outline / secondary accent */

  /* semantic aliases the blueprint contract expects */
  --bg:     var(--paper);
  --fg:     var(--ink);
  --accent: var(--yellow);
  --muted:  rgba(23, 19, 14, 0.55);

  /* --- typography ---------------------------------------------------------- */
  /* Fraunces = the expressive voice (statements). Archivo = metadata, recedes.
     Caveat = handwritten margin notes only. Weight contrast is EXTREME. */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-label:   "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-hand:    "Caveat", "Bradley Hand", cursive;
  /* contract aliases */
  --font-body:    var(--font-label);
  --font-mono:    var(--font-label);

  --wt-thin:  300;
  --wt-reg:   400;
  --wt-bold:  700;
  --wt-black: 900;

  /* video sizes for 1920x1080 (big — readable in 2s) */
  --size-mega:     320px;   /* hero stat number */
  --size-display:  150px;   /* takeover headline */
  --size-title:    92px;    /* section title */
  --size-headline: 56px;    /* card headline */
  --size-body:     32px;    /* supporting copy */
  --size-label:    24px;    /* kicker / metadata */
  --size-tiny:     18px;    /* credits, fine print */

  --track-tight: -0.03em;   /* display tracking, tighter than web */
  --track-wide:  0.16em;    /* uppercase label tracking */

  /* --- motion — the choppy, low-shutter Vox signature ---------------------- */
  /* Snap in hard, settle with a tiny overshoot. Stepped eases give the
     stop-motion / low-shutter feel. GSAP string eases live in the cards. */
  --ease-snap: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.5, 0, 0.75, 0);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --gsap-pop:   back.out(2.2);     /* paper-cut elements popping in */
  --gsap-step:  steps(6);          /* choppy / shutter motion */
  --dur-in:  0.42s;
  --dur-out: 0.3s;

  /* --- shape --------------------------------------------------------------- */
  --radius: 2px;            /* paper cuts are nearly square, barely rounded */
  --pad: 56px;
  --marker-skew: -1.4deg;   /* highlight boxes sit slightly off-level */

  /* --- textures (deterministic SVG data-URIs + gradients) ------------------ */
  /* Paper fiber grain — fractalNoise, fixed seed (deterministic render). */
  --tex-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  /* Halftone dots — for filling cutout placeholders / shadows the Vox way. */
  --tex-halftone: radial-gradient(circle at center, var(--ink) 1.1px, transparent 1.6px);
  --tex-halftone-size: 7px 7px;

  /* Faint construction grid (blueprint guides). */
  --grid-line: rgba(23, 19, 14, 0.07);
  --grid-size: 64px;
}