{
  "fonts": [{ "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk.ttf" }],
  "compositions": [{
    "id": "captions", "description": "TikTok-style captions: one big word at a time with a pop, outlined for contrast",
    "width": 1280, "height": 720, "fps": 30, "duration": "4s", "background": "#f4f1ea",
    "layers": [
      { "id": "bg", "type": "video", "src": "assets/clip.mp4", "width": "100%", "height": "100%", "muted": true,
        "saturation": 0, "opacity": 0.3, "blur": 6 },
      { "id": "subs", "type": "captions", "mode": "word", "font": "Schibsted Grotesk", "fontSize": 110, "fontWeight": 900,
        "letterSpacing": -3, "uppercase": true, "fill": "#161412", "stroke": "#f4f1ea", "strokeWidth": 14, "y": "55%",
        "items": [
          { "text": "Write the JSON,", "start": "0.2s", "end": "1.4s" },
          { "text": "look at every frame,", "start": "1.5s", "end": "2.8s" },
          { "text": "then render.", "start": "2.9s", "end": "3.9s" }
        ] },
      { "id": "line", "type": "captions", "font": "Schibsted Grotesk", "fontSize": 30, "fontWeight": 600, "fill": "#4a4640",
        "highlight": "#c92a26", "y": "84%",
        "items": [
          { "text": "Write the JSON, look at every frame, then render.", "start": "0.2s", "end": "3.9s" }
        ] }
    ]
  }]
}
