{
  "fonts": [
    { "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk.ttf" },
    { "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" }
  ],
  "compositions": [{
    "id": "word", "description": "Vertical word-by-word captions from inline items with explicit word timings",
    "width": 720, "height": 1280, "fps": 30, "duration": "4s",
    "background": "#131210",
    "layers": [
      { "id": "bg", "type": "video", "src": "assets/clip.mp4", "width": "100%", "height": "100%", "muted": true,
        "brightness": 0.5, "saturation": 0.5, "blur": 4 },
      { "id": "subs", "type": "captions", "mode": "word", "y": "50%", "font": "Schibsted Grotesk", "fontSize": 104, "fontWeight": 900,
        "letterSpacing": -4, "uppercase": true, "fill": "#efebe2", "stroke": "#131210", "strokeWidth": 14,
        "items": [
          { "text": "Stop scrolling", "start": 6, "end": 45,
            "words": [{ "text": "Stop", "start": 6, "end": 24 }, { "text": "scrolling", "start": 24, "end": 45 }] },
          { "text": "and watch this", "start": "1.6s", "end": "3.8s" }
        ] },
      { "id": "hint", "type": "text", "text": "mode: \"word\"", "y": "88%", "font": "JetBrains Mono", "fontSize": 24, "letterSpacing": 1.5, "fill": "#161412", "background": "#f4f1ea", "padding": 12 }
    ]
  }]
}
