Layout tree (as in design/layout.json)
{
"pattern": "hero.editorial-dropcap",
"kind": "hero",
"grid": {
"measure": "2-10",
"text": "2-10",
"margin": "11-12"
},
"slots": [
"eyebrow",
"headline",
"meta",
"lead",
"cta",
"caption"
],
"notes": "The opening paragraph's drop cap is four lines tall (dropCap: 4 = ::first-letter with initial-letter: 4, float fallback), three at phone width. Column 1 stays empty as the left margin.",
"tree": {
"el": "grid",
"gap": 3,
"rowGap": 4,
"pad": [
4,
0
],
"children": [
{
"el": "text",
"span": "2-10",
"slot": "eyebrow",
"role": "eyebrow"
},
{
"el": "text",
"span": "2-10",
"slot": "headline",
"role": "display",
"step": 6,
"weight": 400,
"leading": "tight",
"maxCh": 22
},
{
"el": "text",
"span": "2-10",
"color": "textMuted",
"slot": "meta",
"role": "small"
},
{
"el": "divider",
"span": "2-10",
"weight": 1
},
{
"el": "box",
"span": "2-10",
"gap": 3,
"children": [
{
"el": "text",
"slot": "lead",
"role": "body",
"step": 1,
"leading": "loose",
"maxCh": 60,
"dropCap": 4
},
{
"el": "button",
"slot": "cta",
"variant": "underline",
"arrow": true
}
]
},
{
"el": "text",
"span": "11-12",
"color": "textMuted",
"alignSelf": "start",
"slot": "caption",
"role": "small"
}
]
}
}