{
 "schema": "consumable-social-model/1",
 "version": 1,
 "summary": "Social cards in four sizes on a 6-column grid with a 24px baseline. Pick a size, a template and a ground, fill the slots. Same brand validation as the deck builder.",
 "sizes": {
  "1080x1080": {
   "name": "Square (feed)",
   "w": 1080,
   "h": 1080,
   "margin": {
    "top": 72,
    "right": 72,
    "bottom": 72,
    "left": 72
   },
   "cols": 6,
   "gutter": 24,
   "rows": 39
  },
  "1080x1350": {
   "name": "Portrait 4:5 (feed)",
   "w": 1080,
   "h": 1350,
   "margin": {
    "top": 72,
    "right": 72,
    "bottom": 78,
    "left": 72
   },
   "cols": 6,
   "gutter": 24,
   "rows": 50
  },
  "1080x1920": {
   "name": "Story / Reel 9:16",
   "w": 1080,
   "h": 1920,
   "margin": {
    "top": 216,
    "right": 72,
    "bottom": 360,
    "left": 72
   },
   "cols": 6,
   "gutter": 24,
   "rows": 56,
   "note": "top 216 and bottom 360 stay clear of the platform UI"
  },
  "1200x628": {
   "name": "Landscape (link / LinkedIn)",
   "w": 1200,
   "h": 628,
   "margin": {
    "top": 72,
    "right": 72,
    "bottom": 76,
    "left": 72
   },
   "cols": 6,
   "gutter": 24,
   "rows": 20
  }
 },
 "typeScale": {
  "display": {
   "weight": 800,
   "size": 92,
   "lineHeight": 96,
   "letterSpacing": -0.03
  },
  "h2": {
   "weight": 800,
   "size": 70,
   "lineHeight": 72,
   "letterSpacing": -0.02
  },
  "h3": {
   "weight": 800,
   "size": 42,
   "lineHeight": 48,
   "letterSpacing": -0.01
  },
  "lead": {
   "weight": 400,
   "size": 42,
   "lineHeight": 48,
   "letterSpacing": 0
  },
  "body": {
   "weight": 400,
   "size": 32,
   "lineHeight": 36,
   "letterSpacing": 0
  },
  "label": {
   "weight": 500,
   "size": 32,
   "lineHeight": 36,
   "letterSpacing": 0
  },
  "caption": {
   "weight": 500,
   "size": 24,
   "lineHeight": 30,
   "letterSpacing": 0
  },
  "stat": {
   "weight": 800,
   "size": 240,
   "lineHeight": 240,
   "letterSpacing": -0.03,
   "tabular": true
  },
  "statSm": {
   "weight": 800,
   "size": 168,
   "lineHeight": 168,
   "letterSpacing": -0.03,
   "tabular": true
  },
  "glyph": {
   "weight": 800,
   "size": 96,
   "lineHeight": 96,
   "letterSpacing": 0
  }
 },
 "blockRule": "each text block takes ceil(lines x line-height / 24) x 24 px, so every block and gap stays on the 24px baseline",
 "templates": [
  {
   "id": "headline",
   "name": "Headline",
   "description": "Lockup top left, a headline (optional ==highlight==), supporting line and an optional action at the bottom.",
   "grounds": [
    "signal",
    "marble",
    "white",
    "forest",
    "chartreuse",
    "ink"
   ],
   "slots": [
    {
     "name": "headline",
     "role": "headline",
     "style": "display",
     "styleBySize": {
      "1200x628": "h2"
     },
     "required": true,
     "maxChars": 70,
     "maxLines": 4,
     "maxLinesBySize": {
      "1080x1920": 6,
      "1200x628": 3
     },
     "highlight": true
    },
    {
     "name": "body",
     "role": "body",
     "style": "lead",
     "styleBySize": {
      "1200x628": "body"
     },
     "required": false,
     "maxChars": 130,
     "maxLines": 3,
     "maxLinesBySize": {
      "1200x628": 2
     },
     "colsBySize": {
      "1200x628": "1-5"
     }
    },
    {
     "name": "cta",
     "role": "cta",
     "style": "label",
     "required": false,
     "maxChars": 40,
     "maxLines": 1,
     "color": "accent"
    },
    {
     "name": "source",
     "role": "source",
     "style": "caption",
     "required": false,
     "maxChars": 70,
     "maxLines": 1,
     "color": "sub"
    }
   ],
   "blocks": [
    {
     "type": "logo",
     "kind": "lockup",
     "cols": "1-3",
     "rows": "1-2"
    },
    {
     "type": "stack",
     "cols": "1-6",
     "colsBySize": {
      "1200x628": "1-5"
     },
     "rows": "5-last",
     "anchor": "bottom",
     "items": [
      {
       "slot": "headline"
      },
      {
       "slot": "body",
       "gap": 48
      },
      {
       "slot": "cta",
       "gap": 48
      },
      {
       "slot": "source",
       "gap": 24
      }
     ]
    }
   ]
  },
  {
   "id": "stat",
   "name": "Stat",
   "description": "One sourced number, what it measures and the source line (required). Lockup top left.",
   "grounds": [
    "marble",
    "signal",
    "white",
    "forest",
    "chartreuse"
   ],
   "slots": [
    {
     "name": "value",
     "role": "stat",
     "style": "stat",
     "styleBySize": {
      "1200x628": "statSm"
     },
     "required": true,
     "maxChars": 8,
     "maxLines": 1,
     "color": "accent"
    },
    {
     "name": "label",
     "role": "body",
     "style": "h3",
     "required": true,
     "maxChars": 90,
     "maxLines": 3,
     "maxLinesBySize": {
      "1200x628": 2
     }
    },
    {
     "name": "source",
     "role": "source",
     "style": "caption",
     "required": true,
     "maxChars": 70,
     "maxLines": 1,
     "color": "sub"
    }
   ],
   "blocks": [
    {
     "type": "logo",
     "kind": "lockup",
     "cols": "1-3",
     "rows": "1-2"
    },
    {
     "type": "stack",
     "cols": "1-6",
     "colsBySize": {
      "1200x628": "1-5"
     },
     "rows": "4-last",
     "anchor": "bottom",
     "items": [
      {
       "slot": "value"
      },
      {
       "slot": "label",
       "gap": 24
      },
      {
       "slot": "source",
       "gap": 24
      }
     ]
    }
   ]
  },
  {
   "id": "quote",
   "name": "Quote",
   "description": "A real quote with name and role. Mark top left; no lockup needed because the name carries it.",
   "grounds": [
    "white",
    "marble",
    "signal",
    "forest"
   ],
   "slots": [
    {
     "name": "quote",
     "role": "quote",
     "style": "h2",
     "styleBySize": {
      "1200x628": "h3"
     },
     "required": true,
     "maxChars": 180,
     "maxLines": 7,
     "maxLinesBySize": {
      "1200x628": 4,
      "1080x1080": 6
     },
     "highlight": true
    },
    {
     "name": "name",
     "role": "attribution",
     "style": "h3",
     "styleBySize": {
      "1200x628": "label"
     },
     "required": true,
     "maxChars": 48,
     "maxLines": 1
    },
    {
     "name": "role",
     "role": "label",
     "style": "body",
     "required": false,
     "maxChars": 70,
     "maxLines": 1,
     "color": "sub"
    },
    {
     "name": "source",
     "role": "source",
     "style": "caption",
     "required": false,
     "maxChars": 70,
     "maxLines": 1,
     "color": "sub"
    }
   ],
   "blocks": [
    {
     "type": "logo",
     "kind": "mark",
     "cols": "1-1",
     "rows": "1-3"
    },
    {
     "type": "stack",
     "cols": "1-6",
     "rows": "5-last",
     "anchor": "bottom",
     "items": [
      {
       "glyph": "“",
       "style": "glyph",
       "color": "accent",
       "hideBySize": [
        "1200x628"
       ]
      },
      {
       "slot": "quote",
       "gap": 24
      },
      {
       "slot": "name",
       "gap": 48
      },
      {
       "slot": "role"
      },
      {
       "slot": "source",
       "gap": 24
      }
     ]
    }
   ]
  }
 ]
}