{
  "fonts": [
    { "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk.ttf" },
    { "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk-Italic.ttf" },
    { "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" },
    { "family": "Reenie Beanie", "path": "fonts/ReenieBeanie.ttf" }
  ],
  "theme": {
    "color": {
      "paper": "#f4f1ea", "sheet": "#fbf9f4", "paper2": "#e9e4d8", "rule": "#d8d1c1",
      "ink": "#161412", "ink2": "#4a4640", "mute": "#8a857a", "pencil": "#c92a26",
      "lightbox": "#131210", "surface": "#1d1b18", "lbRule": "#34312b", "lbText": "#efebe2", "lbPencil": "#f05a4e"
    },
    "type": {
      "display": { "font": "Schibsted Grotesk", "weight": 860, "tracking": -0.045, "leading": 0.88, "align": "left" },
      "black": { "font": "Schibsted Grotesk", "weight": 900, "tracking": -0.05, "leading": 0.84, "align": "left" },
      "italic": { "font": "Schibsted Grotesk", "italic": true, "weight": 400, "tracking": -0.035, "leading": 0.88, "align": "left" },
      "body": { "font": "Schibsted Grotesk", "size": 15, "weight": 450, "leading": 1.35, "align": "left" },
      "label": { "font": "JetBrains Mono", "size": 11, "weight": 500, "tracking": 0.14, "uppercase": true, "align": "left" },
      "note": { "font": "Reenie Beanie", "size": 46, "align": "left" }
    },
    "motion": {
      "slam": { "ease": "easeOutExpo", "duration": "0.3s" },
      "pencil": { "ease": "easeInOutCubic", "duration": "0.55s" },
      "land": { "spring": 0.2, "duration": "0.5s" }
    }
  },
  "compositions": [{
    "id": "swiss-poster",
    "description": "Swiss poster in motion: giant grotesk set on a visible 12-column grid, cut hard to the beat, ink on paper flipping to negative",
    "width": 1280, "height": 720, "fps": 30, "duration": "30s", "background": "#f4f1ea",
    "markers": {
      "grid": "0s", "toc": "0.5s", "big": "2s", "stack": "4s",
      "scale": "6s", "ramp": "8s", "crop": "10s", "zoom": "@crop+1s", "fill": "12s",
      "neg": "14s", "form": "16s", "flip": "18s", "dots": "20s",
      "pos": "22s", "ring": "25s", "print": "26s", "sign": "28s"
    },
    "layers": [
      { "id": "music", "type": "audio", "src": "assets/music.mp3", "loop": true, "duration": "30s", "volume": 0.9, "fadeOut": "1.5s" },

      { "id": "ground", "type": "rect", "comment": "paper, flipping to the lightbox negative for act III",
        "fill": [[0, "$color.paper"], ["@neg", "$color.lightbox", "hold"], ["@pos", "$color.paper", "hold"]] },

      { "id": "grid", "type": "group", "end": "@pos", "comment": "the visible 12-column grid: 84 px columns, 16 px gutters, 48 px margins",
        "children": [
          { "id": "col", "type": "rect", "x": 90, "y": 0, "anchor": "top", "width": 84,
            "repeat": { "count": 12, "layout": "row", "spacing": 100, "origin": "start" },
            "height": "=720 * easeOutExpo(clamp((t + 0.1 - i * 0.03) / 0.5, 0, 1))",
            "fill": "=since('neg') >= 0 ? '#1b1916' : '#ece8de'" },
          { "id": "margin", "type": "rect", "x": 640, "y": "=pick(i, [48, 672])", "height": 1, "repeat": 2,
            "width": "=1184 * easeOutExpo(clamp((t + 0.1) / 0.6, 0, 1))",
            "fill": "=since('neg') >= 0 ? $color.lbRule : $color.rule" }
        ] },

      { "id": "act1", "type": "group", "end": "@scale", "comment": "ACT I — GRID",
        "children": [
          { "id": "toc", "type": "group", "start": "@toc", "end": "@big", "children": [
            { "id": "toc-title", "type": "text", "style": "$type.display", "fontSize": 40, "fill": "$color.ink",
              "x": 48, "y": 72, "anchor": "top-left",
              "text": ["Swiss poster\n", { "text": "in motion.", "italic": true, "fontWeight": 400 }],
              "enter": { "from": { "opacity": 0 }, "duration": "1f" }, "stagger": { "by": "line", "each": "0.25s" } },
            { "id": "toc-spec", "type": "text", "style": "$type.label", "fill": "$color.ink2", "lineHeight": 1.9,
              "x": 848, "y": 76, "anchor": "top-left", "start": "0.5s",
              "text": "Schibsted Grotesk\nweights 400 — 900\n12 columns × 100 px\n120 bpm · 30 fps",
              "enter": { "from": { "opacity": 0 }, "duration": "1f" }, "stagger": { "by": "line", "each": "0.125s" } },
            { "id": "toc-num", "type": "text", "style": "$type.label", "fill": "$color.mute", "text": "${pad(i + 1, 2)}",
              "x": 48, "y": 452, "anchor": "left", "start": "0.25s",
              "repeat": { "count": 4, "layout": "column", "spacing": 48, "origin": "start", "delay": "0.25s" } },
            { "id": "toc-item", "type": "text", "style": "$type.display", "fontSize": 40, "fill": "$color.ink",
              "text": "${pick(i, ['Grid', 'Scale', 'Negative', 'Poster'])}",
              "x": 148, "y": 444, "anchor": "left", "start": "0.25s",
              "repeat": { "count": 4, "layout": "column", "spacing": 48, "origin": "start", "delay": "0.25s" } },
            { "id": "toc-tick", "type": "rect", "fill": "$color.pencil", "x": 96, "y": 446, "anchor": "left", "height": 4,
              "start": "1s", "width": { "from": 0, "to": 36, "motion": "slam" } },
            { "id": "toc-size", "type": "text", "style": "$type.label", "fill": "$color.mute", "text": "40 px",
              "x": 948, "y": 446, "anchor": "left", "start": "1s" }
          ] },

          { "id": "giant", "type": "group", "series": true, "start": "@big", "comment": "hard cut to 600 px; four specimens, one per beat",
            "lint": { "ignore": ["textOverflow"] },
            "children": [
              { "id": "g1", "type": "group", "duration": "0.5s", "children": [
                { "id": "g1-word", "type": "text", "style": "$type.black", "fontSize": 600, "fill": "$color.ink", "text": "Grid",
                  "x": 30, "y": 690, "anchor": "bottom-left" },
                { "id": "g1-label", "type": "text", "style": "$type.label", "fill": "$color.ink2", "text": "40 → 600 px\nweight 900",
                  "lineHeight": 1.9, "x": 1048, "y": 76, "anchor": "top-left" }
              ] },
              { "id": "g2", "type": "group", "duration": "0.5s", "children": [
                { "id": "g2-word", "type": "text", "style": "$type.black", "fontSize": 1100, "fill": "$color.ink", "text": "G",
                  "x": -60, "y": 900, "anchor": "bottom-left" },
                { "id": "g2-label", "type": "text", "style": "$type.label", "fill": "$color.ink2", "text": "1100 px\nweight 900",
                  "lineHeight": 1.9, "x": 1048, "y": 76, "anchor": "top-left" }
              ] },
              { "id": "g3", "type": "group", "duration": "0.5s", "children": [
                { "id": "g3-word", "type": "text", "style": "$type.italic", "fontSize": 600, "fill": "$color.ink", "text": "grid",
                  "x": 30, "y": 690, "anchor": "bottom-left" },
                { "id": "g3-label", "type": "text", "style": "$type.label", "fill": "$color.ink2", "text": "600 px\nitalic 400",
                  "lineHeight": 1.9, "x": 1048, "y": 76, "anchor": "top-left" }
              ] },
              { "id": "g4", "type": "group", "duration": "0.5s", "children": [
                { "id": "g4-word", "type": "text", "style": "$type.black", "fontSize": 600, "fill": null, "stroke": "$color.ink",
                  "strokeWidth": 3, "text": "Grid", "x": 30, "y": 690, "anchor": "bottom-left" },
                { "id": "g4-label", "type": "text", "style": "$type.label", "fill": "$color.ink2", "text": "600 px\noutline 3 px",
                  "lineHeight": 1.9, "x": 1048, "y": 76, "anchor": "top-left" }
              ] }
            ] },

          { "id": "stack", "type": "group", "start": "@stack", "children": [
            { "id": "stack-word", "type": "text", "style": "$type.display", "fontSize": 150, "fill": "$color.ink",
              "x": 40, "y": 92, "anchor": "top-left",
              "text": ["Type\n", { "text": "is\n", "italic": true, "fontWeight": 400 }, "archi-\ntecture."],
              "enter": { "from": { "opacity": 0 }, "duration": "1f" }, "stagger": { "by": "line", "each": "0.5s" } },
            { "id": "stack-body", "type": "text", "style": "$type.body", "fill": "$color.ink", "maxWidth": 284,
              "x": 948, "y": 104, "anchor": "top-left", "start": "1s",
              "text": "The International Typographic Style, reborn for motion: one grotesk in every weight, a twelve-column grid, and a single red pencil." },
            { "id": "stack-label", "type": "text", "style": "$type.label", "fill": "$color.mute", "text": "Fig. 1 — 150 / 15 px",
              "x": 948, "y": 76, "anchor": "top-left", "start": "1s" },
            { "id": "stack-pencil", "type": "path", "fill": null, "stroke": "$color.pencil", "strokeWidth": 7, "lineCap": "round",
              "x": 44, "y": 612, "anchor": "top-left", "start": "1.5s",
              "d": "M0 8 C 112 2, 240 12, 368 4 S 512 6, 566 2",
              "drawEnd": { "from": 0, "to": 1, "motion": "slam" } }
          ] }
        ] },

      { "id": "act2", "type": "group", "start": "@scale", "end": "@neg", "comment": "ACT II — SCALE",
        "lint": { "ignore": ["textOverflow", "offCanvas"] },
        "children": [
          { "id": "letters", "type": "group", "series": true, "comment": "S · c · a · le, one letter per beat",
            "children": [
              { "id": "l1", "type": "group", "duration": "0.5s", "children": [
                { "id": "l1-glyph", "type": "text", "style": "$type.black", "fontSize": 1000, "fill": "$color.ink", "text": "S",
                  "x": 20, "y": 860, "anchor": "bottom-left" },
                { "id": "l1-label", "type": "text", "style": "$type.label", "fill": "$color.ink2", "text": "S — 1000 px",
                  "x": 1048, "y": 76, "anchor": "top-left" }
              ] },
              { "id": "l2", "type": "group", "duration": "0.5s", "children": [
                { "id": "l2-glyph", "type": "text", "style": "$type.italic", "fontSize": 1000, "fill": "$color.ink", "text": "c",
                  "x": 560, "y": 900, "anchor": "bottom-left" },
                { "id": "l2-label", "type": "text", "style": "$type.label", "fill": "$color.ink2", "text": "c — italic 400",
                  "x": 48, "y": 76, "anchor": "top-left" }
              ] },
              { "id": "l3", "type": "group", "duration": "0.5s", "children": [
                { "id": "l3-glyph", "type": "text", "style": "$type.black", "fontSize": 1000, "fill": null, "stroke": "$color.ink",
                  "strokeWidth": 4, "text": "a", "x": 140, "y": 880, "anchor": "bottom-left" },
                { "id": "l3-label", "type": "text", "style": "$type.label", "fill": "$color.ink2", "text": "a — outline",
                  "x": 1048, "y": 76, "anchor": "top-left" }
              ] },
              { "id": "l4", "type": "group", "duration": "0.5s", "children": [
                { "id": "l4-block", "type": "rect", "fill": "$color.ink", "x": 648, "y": 0, "anchor": "top-left", "width": 632, "height": 720 },
                { "id": "l4-glyph", "type": "text", "style": "$type.black", "fontSize": 820, "fill": "$color.paper", "text": "le",
                  "x": 600, "y": 800, "anchor": "bottom-left" },
                { "id": "l4-label", "type": "text", "style": "$type.label", "fill": "$color.ink2", "text": "le — negative",
                  "x": 48, "y": 76, "anchor": "top-left" }
              ] }
            ] },

          { "id": "ramp", "type": "group", "start": "@ramp", "end": "@crop", "comment": "one word, four hard size jumps",
            "children": [
              { "id": "ramp-base", "type": "rect", "fill": "$color.ink", "x": 48, "y": 600, "anchor": "left", "height": 2, "width": 1184 },
              { "id": "ramp-word", "type": "text", "font": "Schibsted Grotesk", "fontWeight": 900, "align": "left", "lineHeight": 0.84,
                "fill": "$color.ink", "text": "Scale.",
                "letterSpacing": [[0, -2], ["0.5s", -4.8, "hold"], ["1s", -11, "hold"], ["1.5s", -28, "hold"]],
                "x": 40, "y": 600, "anchor": "bottom-left",
                "fontSize": [[0, 40], ["0.5s", 96, "hold"], ["1s", 220, "hold"], ["1.5s", 560, "hold"]] },
              { "id": "ramp-label", "type": "text", "style": "$type.label", "fill": "$color.ink2",
                "text": "${pick(floor(t * 2), ['40', '96', '220', '560'])} px", "x": 48, "y": 630, "anchor": "top-left" }
            ] },

          { "id": "crop", "type": "group", "start": "@crop", "end": "@fill", "comment": "pencil crop marks, then the frame jumps to the crop",
            "children": [
              { "id": "crop-view", "type": "group",
                "scale": [[0, 1], ["1s", 2.9, "hold"], ["1.5s", 7.5, "hold"]],
                "x": [[0, 640], ["1s", 66, "hold"], ["1.5s", -492, "hold"]],
                "y": [[0, 360], ["1s", 6, "hold"], ["1.5s", -165, "hold"]],
                "children": [
                  { "id": "crop-word", "type": "text", "style": "$type.black", "fontSize": 560, "fill": "$color.ink", "text": "Crop.",
                    "x": 30, "y": 650, "anchor": "bottom-left" }
                ] },
              { "id": "crop-marks", "type": "path", "fill": null, "stroke": "$color.pencil", "strokeWidth": 5, "lineCap": "butt",
                "start": "0.5s", "end": "1.5s", "anchor": "top-left",
                "d": "M0 36V0H36 M404 0H440V36 M440 212V248H404 M36 248H0V212",
                "x": [[0, 618], ["0.5s", 24, "hold"]], "y": [[0, 358], ["0.5s", 24, "hold"]],
                "width": [[0, 440], ["0.5s", 1232, "hold"]], "height": [[0, 248], ["0.5s", 672, "hold"]],
                "drawEnd": { "from": 0, "to": 1, "duration": "0.25s", "ease": "easeOutCubic" } },
              { "id": "crop-label", "type": "text", "style": "$type.label", "fill": "$color.ink2",
                "text": "${pick(floor(t * 2), ['crop', 'crop', '× 2.9', '× 7.5'])}", "x": 1048, "y": 76, "anchor": "top-left" }
            ] },

          { "id": "fill", "type": "group", "start": "@fill", "comment": "the columns fill with ink, three per beat",
            "children": [
              { "id": "fill-word", "type": "text", "style": "$type.black", "fontSize": 520, "fill": "$color.ink", "text": "Ink.", "align": "center",
                "x": 640, "y": 380 },
              { "id": "fill-col", "type": "rect", "fill": "$color.ink", "x": 90, "y": 0, "anchor": "top", "width": 84,
                "repeat": { "count": 12, "layout": "row", "spacing": 100, "origin": "start" },
                "height": "=720 * easeOutExpo(clamp((t - floor(i / 3) * 0.5) / 0.25, 0, 1))" },
              { "id": "fill-neg", "type": "text", "style": "$type.black", "fontSize": 520, "fill": "$color.paper", "text": "Ink.", "align": "center",
                "x": 640, "y": 380,
                "mask": { "type": "group", "children": [
                  { "id": "fill-matte", "type": "rect", "x": 90, "y": 0, "anchor": "top", "width": 84,
                    "repeat": { "count": 12, "layout": "row", "spacing": 100, "origin": "start" },
                    "height": "=720 * easeOutExpo(clamp((t - floor(i / 3) * 0.5) / 0.25, 0, 1))" }
                ] } }
            ] }
        ] },

      { "id": "act3", "type": "group", "start": "@neg", "end": "@pos", "comment": "ACT III — NEGATIVE (lightbox)",
        "lint": { "ignore": ["textOverflow", "offCanvas"] },
        "children": [
          { "id": "dust", "type": "particles", "width": 1280, "height": 720,
            "emitter": { "rate": 14, "lifetime": "0.3s", "speed": 0, "size": 3, "sizeRandom": 0.6, "colors": ["#efebe2"], "seed": 4 } },

          { "id": "film", "type": "group", "end": "@form", "comment": "type as a matte: the clip through the word, then the word cut out of it",
            "children": [
              { "id": "film-in", "type": "group", "end": "1s",
                "mask": { "type": "text", "style": "$type.black", "fontSize": 640, "text": "Film", "x": 30, "y": 700, "anchor": "bottom-left" },
                "children": [
                  { "id": "film-in-paper", "type": "rect", "fill": "$color.lbText" },
                  { "id": "film-in-row", "type": "text", "style": "$type.black", "fontSize": 60, "repeat": 13,
                    "fill": "=i == 6 ? $color.lbPencil : $color.ink", "anchor": "left", "y": "=28 + i * 56",
                    "x": "=-200 - (i * 173) % 600 + (i % 2 == 0 ? -1 : 1) * t * 360",
                    "text": ["Grid ", { "text": "scale ", "italic": true, "fontWeight": 400 }, "Crop ", { "text": "ink ", "italic": true, "fontWeight": 400 }, "Form ", { "text": "flip ", "italic": true, "fontWeight": 400 }, "Dots ", { "text": "poster ", "italic": true, "fontWeight": 400 }, "Grid ", { "text": "scale ", "italic": true, "fontWeight": 400 }, "Crop ", { "text": "ink ", "italic": true, "fontWeight": 400 }, "Form ", { "text": "flip ", "italic": true, "fontWeight": 400 }, "Dots ", { "text": "poster ", "italic": true, "fontWeight": 400 }] }
                ] },
              { "id": "film-out", "type": "group", "start": "1s", "maskMode": "alphaInverted",
                "mask": { "type": "text", "style": "$type.black", "fontSize": 640, "text": "Film", "x": "=t < 0.5 ? 30 : -270", "y": 700, "anchor": "bottom-left" },
                "children": [
                  { "id": "film-out-paper", "type": "rect", "fill": "$color.lbText" },
                  { "id": "film-out-row", "type": "text", "style": "$type.black", "fontSize": 60, "repeat": 13,
                    "fill": "=i == 6 ? $color.lbPencil : $color.rule", "anchor": "left", "y": "=28 + i * 56",
                    "x": "=-200 - (i * 173) % 600 + (i % 2 == 0 ? -1 : 1) * t * 360",
                    "text": ["Grid ", { "text": "scale ", "italic": true, "fontWeight": 400 }, "Crop ", { "text": "ink ", "italic": true, "fontWeight": 400 }, "Form ", { "text": "flip ", "italic": true, "fontWeight": 400 }, "Dots ", { "text": "poster ", "italic": true, "fontWeight": 400 }, "Grid ", { "text": "scale ", "italic": true, "fontWeight": 400 }, "Crop ", { "text": "ink ", "italic": true, "fontWeight": 400 }, "Form ", { "text": "flip ", "italic": true, "fontWeight": 400 }, "Dots ", { "text": "poster ", "italic": true, "fontWeight": 400 }] }
                ] },
              { "id": "film-label", "type": "text", "style": "$type.label", "fill": "=t < 1 ? $color.lbText : $color.ink",
                "text": "${t < 1 ? 'type as matte' : 'matte inverted'}", "x": 1048, "y": 76, "anchor": "top-left" }
            ] },

          { "id": "form", "type": "group", "start": "@form", "end": "@flip", "comment": "concert-poster geometry: arcs that turn on the beat",
            "children": [
              { "id": "form-arc", "type": "arc", "x": 960, "y": 340, "stroke": "$color.lbText", "strokeWidth": 24, "lineCap": "butt",
                "width": "=100 + i * 96", "height": "=100 + i * 96", "repeat": 6,
                "startAngle": "=i * 50", "endAngle": "=i * 50 + 150 + i * 18",
                "rotation": "=(floor(t * 2) + easeOutExpo(clamp(fract(t * 2) / 0.3, 0, 1))) * 45 * (i % 2 == 0 ? 1 : -1)" },
              { "id": "form-dot", "type": "ellipse", "x": 960, "y": 340, "width": 56, "fill": "$color.lbPencil",
                "scale": "=1 + 0.25 * beat" },
              { "id": "form-word", "type": "text", "style": "$type.black", "fontSize": 300, "fill": "$color.lbText", "text": "Form",
                "x": -56, "y": 640, "anchor": "bottom-left" },
              { "id": "form-sub", "type": "text", "style": "$type.italic", "fontSize": 40, "fill": "$color.lbText", "text": "follows\nrhythm.",
                "x": 48, "y": 96, "anchor": "top-left", "start": "0.5s" },
              { "id": "form-label", "type": "text", "style": "$type.label", "fill": "$color.lbText", "text": "arc × 6 — 45° per beat",
                "x": 1048, "y": 76, "anchor": "top-left" }
            ] },

          { "id": "flip", "type": "group", "series": true, "start": "@flip", "comment": "3D tilt: each word flips up off the baseline",
            "children": [
              { "id": "flip1", "type": "text", "duration": "0.5s", "style": "$type.black", "fontSize": 520, "fill": "$color.lbText", "text": "Flip",
                "x": 36, "y": 600, "anchor": "bottom-left", "perspective": 700, "rotateX": [[0, -88], [8, 0, "easeOutExpo"]] },
              { "id": "flip2", "type": "text", "duration": "0.5s", "style": "$type.italic", "fontSize": 520, "fill": "$color.lbText", "text": "the",
                "x": 36, "y": 600, "anchor": "bottom-left", "perspective": 700, "rotateX": [[0, -88], [8, 0, "easeOutExpo"]] },
              { "id": "flip3", "type": "text", "duration": "0.5s", "style": "$type.black", "fontSize": 520, "fill": "$color.lbText", "text": "page",
                "x": 36, "y": 600, "anchor": "bottom-left", "perspective": 700, "rotateX": [[0, -88], [8, 0, "easeOutExpo"]] },
              { "id": "flip4", "type": "text", "duration": "0.5s", "style": "$type.italic", "fontSize": 520, "fill": "$color.lbText", "text": "over.",
                "x": 36, "y": 600, "anchor": "bottom-left", "perspective": 700, "rotateX": [[0, -88], [8, 0, "easeOutExpo"]] }
            ] },

          { "id": "dots", "type": "group", "start": "@dots", "comment": "halftone: 480 dots sized by distance to a drifting sphere",
            "children": [
              { "id": "dot", "type": "ellipse", "x": 640, "y": 360, "end": "1s",
                "repeat": { "count": 480, "layout": "grid", "cols": 30, "spacing": 40 },
                "fill": "=i == 227 ? $color.lbPencil : $color.lbText", "width": 36,
                "scale": "=clamp(1.2 - sqrt(pow((i % 30) * 40 + 60 - (720 + 200 * sin(t * 1.7)), 2) + pow(floor(i / 30) * 40 + 60 - 360, 2)) / (310 + 50 * beat), 0, 1)" },
              { "id": "dot-type", "type": "group", "start": "1s", "comment": "type as halftone: the dot screen only prints inside the word",
                "mask": { "type": "text", "style": "$type.black", "fontSize": 560, "text": "dots", "x": 640, "y": 380, "align": "center" },
                "children": [
                  { "id": "dot-t", "type": "ellipse", "x": 640, "y": 360,
                    "repeat": { "count": 480, "layout": "grid", "cols": 30, "spacing": 40 },
                    "fill": "=i == 227 ? $color.lbPencil : $color.lbText", "width": 36,
                    "scale": "=clamp(1.35 - sqrt(pow((i % 30) * 40 + 60 - (640 + 260 * sin((t + 1) * 1.7)), 2) + pow(floor(i / 30) * 40 + 60 - 360, 2)) / (480 + 60 * beat), 0.5, 1)" }
                ] },
              { "id": "dots-label", "type": "text", "style": "$type.label", "fill": "$color.lbText", "text": "${t < 1 ? 'halftone — 480 dots' : 'type as halftone'}",
                "x": 48, "y": 76, "anchor": "top-left" }
            ] }
        ] },

      { "id": "act4", "type": "group", "start": "@pos", "end": "@sign", "comment": "ACT IV — POSTER (the payoff)",
        "children": [
          { "id": "wall", "type": "rect", "start": "@print", "comment": "the proof on the wall, then on the lightbox",
            "fill": [[0, "$color.paper2"], ["1s", "$color.lightbox", "hold"]] },
          { "id": "poster", "type": "group", "perspective": 1400,
            "scale": [[0, 1], ["@print", 0.66, "hold"]],
            "rotateY": "=since('print') < 0 ? 0 : map(since('print'), 0, 2, -7, 5)",
            "children": [
              { "id": "p-sheet", "type": "rect", "fill": "$color.paper",
                "stroke": "$color.ink", "strokeWidth": [[0, 0], ["@print", 2, "hold"]],
                "shadow": { "color": "#16141230", "blur": 0, "x": 14, "y": 14 } },
              { "id": "p-col", "type": "rect", "x": 90, "y": 0, "anchor": "top", "width": 84, "height": 720, "fill": "#ece8de",
                "repeat": { "count": 12, "layout": "row", "spacing": 100, "origin": "start" } },
              { "id": "p-margin", "type": "rect", "x": 640, "y": "=pick(i, [48, 672])", "height": 1, "width": 1184, "repeat": 2, "fill": "$color.rule" },
              { "id": "p-head", "type": "text", "style": "$type.label", "fill": "$color.ink2", "lineHeight": 1.9,
                "x": 48, "y": 76, "anchor": "top-left",
                "text": "vidmake\nFig. 04 — Swiss poster in motion" },
              { "id": "p-line1", "type": "text", "style": "$type.display", "fontSize": 178, "fill": "$color.ink",
                "x": 38, "y": 360, "anchor": "bottom-left", "text": "Every frame,",
                "enter": { "from": { "opacity": 0 }, "duration": "1f" }, "stagger": { "by": "word", "each": "0.5s" } },
              { "id": "p-from", "type": "text", "style": "$type.italic", "fontSize": 178, "fill": "$color.ink",
                "x": 40, "y": 520, "anchor": "bottom-left", "text": "from", "start": "1s" },
              { "id": "p-data", "type": "text", "style": "$type.italic", "fontSize": 178, "fill": "$color.ink",
                "x": 440, "y": 520, "anchor": "bottom-left", "text": "data.", "start": "1.5s" },
              { "id": "p-rule", "type": "rect", "fill": "$color.ink", "x": 48, "y": 560, "anchor": "left", "height": 2, "start": "2s",
                "width": { "from": 0, "to": 1184, "motion": "slam" } },
              { "id": "p-fact", "type": "text", "style": "$type.label", "fill": "$color.ink2", "lineHeight": 1.9,
                "x": 48, "y": 576, "anchor": "top-left", "start": "2s",
                "repeat": { "count": 4, "layout": "row", "spacing": 300, "origin": "start", "delay": "0.125s" },
                "text": "${pick(i, ['01 Grid\n12 col × 100 px', '02 Scale\n40 → 600 px', '03 Negative\nink ↔ paper', '04 Poster\n900 frames'])}" },
              { "id": "p-ring", "type": "path", "fill": null, "stroke": "$color.pencil", "strokeWidth": 6, "lineCap": "round",
                "x": 422, "y": 350, "anchor": "top-left", "start": "@ring",
                "d": "M17 120 C 26 40, 172 0, 310 18 C 413 32, 447 110, 404 160 C 353 215, 146 222, 52 186 C 0 165, -5 100, 34 60",
                "drawEnd": { "from": 0, "to": 1, "motion": "pencil" } },
              { "id": "p-note", "type": "text", "style": "$type.note", "fill": "$color.pencil", "text": "print it.",
                "x": 900, "y": 420, "anchor": "left", "rotation": -6, "start": "@ring+0.5s" }
            ] },
          { "id": "reg", "type": "group", "start": "@print", "children": [
            { "id": "reg-mark", "type": "path", "fill": null, "stroke": [[0, "$color.ink"], ["1s", "$color.lbText", "hold"]], "strokeWidth": 1.5,
              "x": "=pick(i, [190, 1090, 190, 1090])", "y": "=pick(i, [96, 96, 624, 624])", "repeat": 4,
              "d": "M0 18H36 M18 0V36 M28 18A10 10 0 1 1 8 18A10 10 0 1 1 28 18" },
            { "id": "reg-label", "type": "text", "style": "$type.label", "fill": [[0, "$color.ink2"], ["1s", "$color.lbText", "hold"]],
              "text": "Proof 01/01 — Swiss poster in motion — 1280 × 720", "x": 217, "y": 640, "anchor": "top-left" }
          ] }
        ] },

      { "id": "sign", "type": "group", "start": "@sign", "comment": "sign-off: the mark and the wordmark, set on the grid",
        "children": [
          { "id": "sign-ground", "type": "rect", "fill": [[0, "$color.paper"], ["1s", "$color.lightbox", "hold"]] },
          { "id": "sign-col", "type": "rect", "x": 90, "y": 0, "anchor": "top", "width": 84, "height": 720, "fill": [[0, "#ece8de"], ["1s", "#1b1916", "hold"]],
            "repeat": { "count": 12, "layout": "row", "spacing": 100, "origin": "start" } },
          { "id": "sign-logo", "type": "image", "src": "assets/logo.svg", "width": 184, "x": 40, "y": 60, "anchor": "top-left", "start": "0.5s",
            "enter": { "from": { "opacity": 0, "scale": 0.7 }, "motion": "land" } },
          { "id": "sign-word", "type": "text", "style": "$type.black", "fontSize": 272, "fill": [[0, "$color.ink"], ["1s", "$color.lbText", "hold"]],
            "text": "vidmake", "x": 44, "y": 650, "anchor": "bottom-left",
            "enter": { "from": { "y": "0.9em" }, "motion": "snap", "clip": "line" }, "stagger": { "by": "char", "over": "0.3s" } },
          { "id": "sign-line", "type": "path", "fill": null, "stroke": "$color.lbPencil", "strokeWidth": 8, "lineCap": "round",
            "x": 50, "y": 666, "anchor": "top-left", "start": "1s",
            "d": "M0 6 C 200 0, 480 10, 760 4 S 1040 8, 1116 2",
            "drawEnd": { "from": 0, "to": 1, "motion": "pencil" } },
          { "id": "sign-note", "type": "text", "style": "$type.note", "fill": "$color.lbPencil", "text": "approved.",
            "x": 848, "y": 176, "anchor": "left", "rotation": -6, "start": "1.5s" },
          { "id": "sign-label", "type": "text", "style": "$type.label", "fill": [[0, "$color.ink2"], ["1s", "$color.lbText", "hold"]], "lineHeight": 1.9,
            "text": "Every frame, from data.\nFig. 04 — Swiss poster in motion", "x": 848, "y": 76, "anchor": "top-left", "start": "0.5s",
            "enter": { "from": { "opacity": 0 }, "duration": "1f" }, "stagger": { "by": "line", "each": "0.25s" } }
        ] },

      { "id": "edge", "type": "group", "end": "@sign", "comment": "film edge print in the margins",
        "children": [
          { "id": "edge-col", "type": "text", "style": "$type.label", "fontSize": 10, "fill": "$color.mute", "text": "${pad(i + 1, 2)}",
            "x": 48, "y": 24, "anchor": "left", "repeat": { "count": 12, "layout": "row", "spacing": 100, "origin": "start", "stagger": { "over": "0.4s" } },
            "enter": { "from": { "opacity": 0 }, "duration": "1f" } },
          { "id": "edge-title", "type": "text", "style": "$type.label", "fontSize": 10, "fill": "$color.mute",
            "text": "Swiss poster in motion · Fig. 04", "x": 48, "y": 696, "anchor": "left" },
          { "id": "edge-act", "type": "text", "style": "$type.label", "fontSize": 10, "fill": "$color.mute",
            "text": "${pick(gt < 6 ? 0 : gt < 14 ? 1 : gt < 22 ? 2 : 3, ['Act I — Grid', 'Act II — Scale', 'Act III — Negative', 'Act IV — Poster'])}",
            "x": 548, "y": 696, "anchor": "left" },
          { "id": "edge-tc", "type": "text", "style": "$type.label", "fontSize": 10, "fill": "$color.mute", "align": "right",
            "text": "00:${pad(floor(gt), 2)}:${pad(gf % 30, 2)} · F ${pad(gf, 3)}", "x": 1232, "y": 696, "anchor": "right" }
        ] }
    ]
  }]
}
