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.3 KB
Raw Blame
/* ============================================================================
   KALLAWAY — 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,
   glows, or textures. Tweak here, all cards update.
   See DESIGN.md for the why.
   Aesthetic: premium dark motion-graphics — near-black cool canvas, a blue
   "aurora" glow blooming from below, glassmorphism cards, edge-lit neon
   elements, gradient glow text, focus-stack blur, smooth After-Effects easing.
   Palette is the AIS brand (blue is the hero glow). The opposite of Vox in
   every axis: smooth not choppy, dark not paper, glow not ink.
   ============================================================================ */

/* 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=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,500;1,600&family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Space+Mono:wght@400;700&display=swap");

:root {
  /* --- palette (mirror style.json + DESIGN.md). AIS brand, dark. ----------- */
  --canvas:       #0A0E14;   /* main near-black cool background */
  --canvas-deep:  #07121C;   /* deeper navy — vignette / depth wells */
  --ink:          #2A251F;   /* dark text for the rare light/cream surface */
  --paper:        #F0EEE9;   /* warm white surface (light glass / chips) */
  --white:        #FFFFFF;

  --text:         #F0EEE9;   /* primary text on dark */
  --text-dim:     rgba(240, 238, 233, 0.62);  /* secondary copy */
  --text-faint:   rgba(240, 238, 233, 0.34);  /* metadata, fine print */

  --accent:       #37BDF8;   /* AIS blue — THE hero glow (where refs used purple) */
  --accent-2:     #F5D82A;   /* yellow — secondary pop / highlight numerals */
  --alert:        #FF3B30;   /* red — alarm, negative delta, "lie" */
  --warm:         #FF8A5C;   /* orange — warm secondary accent */

  /* rgb triplets for building rgba() glows in cards without re-typing hex */
  --accent-rgb:   55, 189, 248;
  --accent2-rgb:  245, 216, 42;
  --alert-rgb:    255, 59, 48;
  --warm-rgb:     255, 138, 92;

  /* semantic aliases the blueprint contract expects */
  --bg:     var(--canvas);
  --fg:     var(--text);
  --muted:  var(--text-dim);

  /* --- typography ---------------------------------------------------------- */
  /* Plus Jakarta Sans = the voice (headlines, big numbers, glow text): geometric,
     premium, rounds to match the glass radii, heavy at 800. Inter = body / labels /
     captions, recedes. Space Mono = data chips, timestamps, %s — the "interface"
     voice. No serif anywhere (that's Vox). */
  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;
  --font-mono:    "Space Mono", ui-monospace, "SF Mono", monospace;
  /* contract aliases */
  --font-label:   var(--font-body);
  --font-hand:    var(--font-body);

  --wt-reg:    400;
  --wt-med:    500;
  --wt-semi:   600;
  --wt-bold:   700;
  --wt-black:  800;

  /* video sizes for 1920x1080 (big — readable in 2s) */
  --size-mega:     300px;   /* hero stat number */
  --size-display:  140px;   /* takeover headline */
  --size-title:    84px;    /* section title */
  --size-headline: 54px;    /* card headline */
  --size-body:     32px;    /* supporting copy */
  --size-label:    24px;    /* kicker / metadata */
  --size-tiny:     19px;    /* credits, fine print, timestamps */

  --track-tight: -0.02em;   /* display tracking */
  --track-snug:  -0.01em;
  --track-wide:  0.18em;    /* uppercase label tracking */

  /* --- glow — the signature. Soft, layered, never a hard ring. ------------- */
  --glow-accent-sm: 0 0 10px rgba(var(--accent-rgb), 0.55);
  --glow-accent:    0 0 22px rgba(var(--accent-rgb), 0.55), 0 0 56px rgba(var(--accent-rgb), 0.30);
  --glow-accent-lg: 0 0 40px rgba(var(--accent-rgb), 0.60), 0 0 120px rgba(var(--accent-rgb), 0.32);
  --glow-white:     0 0 16px rgba(255, 255, 255, 0.50), 0 0 46px rgba(255, 255, 255, 0.26);
  --glow-white-lg:  0 0 30px rgba(255, 255, 255, 0.55), 0 0 90px rgba(255, 255, 255, 0.30);
  /* text glow (set as text-shadow): white core that lifts off the dark canvas */
  --textglow:       0 0 18px rgba(255, 255, 255, 0.45), 0 0 40px rgba(var(--accent-rgb), 0.30);
  --textglow-accent:0 0 18px rgba(var(--accent-rgb), 0.65), 0 0 48px rgba(var(--accent-rgb), 0.35);

  /* --- glass — frosted surfaces. Two tints: light (bright) + dark (recede). - */
  --glass-bg:      rgba(255, 255, 255, 0.055);
  --glass-bg-dark: rgba(16, 22, 34, 0.55);
  --glass-border:  rgba(255, 255, 255, 0.14);
  --glass-hi:      rgba(255, 255, 255, 0.22);  /* top inner-highlight edge */
  --glass-blur:    blur(22px) saturate(135%);
  --glass-shadow:  0 24px 70px rgba(0, 0, 0, 0.50);

  /* --- shape --------------------------------------------------------------- */
  --radius:     28px;       /* glass cards, pills — generously rounded */
  --radius-sm:  16px;       /* chips, small tiles */
  --radius-lg:  40px;       /* phone frames, large surfaces */
  --pad:        80px;       /* canvas safe-area inset */
  --stroke:     1.5px;      /* hairline neon edge weight */

  /* --- motion — smooth, premium, breathing. The anti-Vox. ------------------ */
  /* Long expo/quint glides; spring overshoot for cards; blur-in for focus pull.
     NEVER steps()/choppy — that is Vox's signature, not ours. */
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);   /* expo-out — the default glide */
  --ease-inout:  cubic-bezier(0.65, 0, 0.35, 1);   /* symmetric, for drifts */
  --ease-soft:   cubic-bezier(0.33, 1, 0.68, 1);   /* gentle settle */
  /* GSAP string eases (used in card timelines) */
  --gsap-glide:  power4.out;
  --gsap-expo:   expo.out;
  --gsap-spring: back.out(1.4);
  --dur-in:   0.8s;    /* entrances breathe */
  --dur-out:  0.5s;

  /* --- textures (deterministic) ------------------------------------------- */
  /* Aurora bloom — blue light rising from the bottom-center. The hero ambience.
     Compose these as background layers under content; animate opacity/scale. */
  --bloom-bottom: radial-gradient(120% 85% at 50% 118%,
                    rgba(var(--accent-rgb), 0.45) 0%,
                    rgba(var(--accent-rgb), 0.16) 32%,
                    transparent 62%);
  --bloom-corner: radial-gradient(90% 90% at 88% 12%,
                    rgba(var(--accent-rgb), 0.30) 0%,
                    transparent 55%);

  /* Vignette — pulls the eye to center, deepens the canvas edges. */
  --vignette: radial-gradient(125% 125% at 50% 45%, transparent 52%, rgba(0,0,0,0.55) 100%);

  /* Faint dot grid (the refs' subtle technical texture). Low contrast. */
  --dot:      radial-gradient(circle at center, rgba(255,255,255,0.06) 1px, transparent 1.4px);
  --dot-size: 46px 46px;

  /* Fine film grain over everything — keeps the dark from banding. */
  --tex-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' seed='11' 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");
}