{
  "compositions": [
    {
      "id": "main",
      "description": "The starter project after two edits: a new title and accent color",
      "width": 1920,
      "height": 1080,
      "fps": 30,
      "duration": "5s",
      "props": { "title": "Launch day", "subtitle": "Videos from JSON", "accent": "#1f5fb0" },
      "background": { "type": "linear", "angle": 135, "stops": ["#f4f1ea", "#e9e4d8"] },
      "layers": [
        {
          "id": "glow", "type": "ellipse", "width": 900, "height": 900,
          "fill": { "type": "radial", "stops": ["{{accent}}1f", "{{accent}}00"] },
          "x": "=w/2 + sin(t*0.8)*200", "y": "=h/2 + cos(t*0.6)*80", "blur": 40
        },
        {
          "id": "title", "type": "text", "text": "{{title}}", "font": "sans-serif", "fontWeight": 900,
          "fontSize": 120, "letterSpacing": -5, "y": "42%", "fill": "#161412",
          "enter": { "from": { "opacity": 0, "y": "0.3em", "blur": "0.1em" } }, "stagger": "char",
          "exit": "fade"
        },
        {
          "id": "subtitle", "type": "text", "text": "{{subtitle}}", "fontSize": 48, "y": "56%",
          "fill": "#4a4640", "start": "0.6s", "enter": "fadeUp", "exit": "fade"
        },
        {
          "id": "ring", "type": "arc", "x": "50%", "y": "78%", "width": 120, "height": 120,
          "stroke": "{{accent}}", "strokeWidth": 12, "startAngle": 0,
          "endAngle": { "from": 0, "to": 360, "duration": "3.5s", "ease": "easeInOutCubic" },
          "start": "1s", "enter": "pop"
        },
        {
          "id": "counter", "type": "text", "text": "${round(map(t, 0, 3.5, 0, 100))}%", "fontSize": 32,
          "fontWeight": 700, "x": "50%", "y": "78%", "start": "1s", "fill": "#161412"
        }
      ]
    }
  ]
}
