Layout tree (as in design/layout.json)
{
"pattern": "hero.brutalist-cell-wall",
"kind": "hero",
"grid": {
"headline": "1-8",
"info": "9-12",
"action": "9-12",
"meta": "1-4",
"body": "5-12"
},
"slots": [
"headline",
"eyebrow",
"subhead",
"cta",
"meta",
"statement"
],
"notes": "Every cell has a 2 px border on all sides; neighbouring borders touch (collapse) — like an HTML table with border=1.",
"tree": {
"el": "grid",
"gap": 0,
"align": "stretch",
"minVh": 0.8,
"children": [
{
"el": "box",
"span": "1-8",
"rowSpan": "1-2",
"pad": [
4,
3
],
"justify": "end",
"border": "all",
"children": [
{
"el": "text",
"slot": "headline",
"role": "display",
"step": 7,
"transform": "uppercase",
"leading": "tight"
}
]
},
{
"el": "box",
"span": "9-12",
"rowSpan": "1-1",
"gap": 2,
"pad": [
3,
3
],
"border": "all",
"children": [
{
"el": "text",
"slot": "eyebrow",
"role": "label",
"transform": "uppercase",
"font": "mono"
},
{
"el": "text",
"slot": "subhead",
"role": "body"
}
]
},
{
"el": "box",
"span": "9-12",
"rowSpan": "2-2",
"pad": [
3,
3
],
"justify": "end",
"border": "all",
"children": [
{
"el": "button",
"slot": "cta",
"variant": "primary",
"size": "md",
"arrow": true
}
]
},
{
"el": "box",
"span": "1-4",
"rowSpan": "3-3",
"pad": [
2,
3
],
"border": "all",
"children": [
{
"el": "text",
"slot": "meta",
"role": "small",
"font": "mono"
}
]
},
{
"el": "box",
"span": "5-12",
"rowSpan": "3-3",
"pad": [
2,
3
],
"border": "all",
"children": [
{
"el": "text",
"slot": "statement",
"role": "body",
"maxCh": 70
}
]
}
]
}
}