{
  "fonts": [
    { "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk.ttf" },
    { "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" }
  ],
  "compositions": [{
    "id": "lowerThird", "description": "Lower third: a red rule wipes in, then name and role slide up",
    "width": 1280, "height": 720, "fps": 30, "duration": "4s",
    "background": { "type": "radial", "center": [0.7, 0.3], "radius": 1, "stops": ["#f4f1ea", "#e9e4d8"] },
    "props": { "name": "Ada Lovelace", "role": "First programmer" },
    "layers": [
      { "id": "footage", "type": "video", "src": "assets/clip.mp4", "width": "100%", "height": "100%", "muted": true,
        "saturation": 0, "opacity": 0.3, "blur": 10 },
      { "id": "lt", "type": "group", "x": 96, "y": 520, "width": 560, "height": 120, "anchor": "top-left",
        "exit": { "type": "fadeLeft", "duration": "0.4s" },
        "children": [
          { "id": "rule", "type": "rect", "x": 0, "y": 0, "width": 6, "height": 120, "anchor": "top-left", "fill": "#c92a26",
            "enter": { "type": "wipeDown", "duration": "0.4s" } },
          { "id": "name", "type": "text", "text": "{{name}}", "font": "Schibsted Grotesk", "fontWeight": 860, "fontSize": 64,
            "letterSpacing": -2.8, "fill": "#161412", "anchor": "top-left", "x": 32, "y": 2, "start": "0.25s",
            "enter": { "type": "wipeRight", "duration": "0.6s" } },
          { "id": "role", "type": "text", "text": "{{role}}", "font": "JetBrains Mono", "fontSize": 18, "letterSpacing": 3, "uppercase": true,
            "fill": "#4a4640", "anchor": "top-left", "x": 34, "y": 86, "start": "0.5s", "enter": "fadeUp" }
        ] }
    ]
  }]
}
