{
  "fonts": [{ "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk.ttf" }],
  "compositions": [{
    "id": "pip", "description": "A darkened, blurred full-frame video behind a trimmed picture-in-picture card",
    "width": 1280, "height": 720, "fps": 30, "duration": "4s",
    "layers": [
      { "id": "bg", "type": "video", "src": "assets/clip.mp4", "width": "100%", "height": "100%", "muted": true,
        "brightness": 0.35, "saturation": 0.4, "blur": 12 },
      { "id": "card", "type": "video", "src": "assets/clip.mp4", "x": "62%", "y": "50%", "width": 640, "height": 360,
        "trimStart": "2s", "volume": 0.4, "fadeIn": "0.5s", "fadeOut": "0.5s", "cornerRadius": 4,
        "shadow": { "color": "#000000aa", "blur": 28, "y": 16 }, "enter": "pop", "exit": "fade" },
      { "id": "title", "type": "text", "text": "Trimmed\nat 2s", "anchor": "left", "x": 70, "y": "50%", "align": "left",
        "font": "Schibsted Grotesk", "fontWeight": 860, "fontSize": 84, "letterSpacing": -3.8, "lineHeight": 0.95,
        "fill": "#efebe2", "start": "0.3s", "enter": "fadeRight", "exit": "fade" }
    ]
  }]
}
