Layout tree (as in design/layout.json)
{
"pattern": "hero.sketchbook-sticky-wall",
"kind": "hero",
"slots": [
"eyebrow",
"headline",
"subhead",
"cta",
"features[4..4]"
],
"tree": {
"el": "grid",
"gap": 6,
"rowGap": 8,
"align": "end",
"minVh": 0.8,
"children": [
{
"el": "box",
"span": "1-8",
"gap": 3,
"children": [
{
"el": "text",
"color": "link",
"slot": "eyebrow",
"role": "label",
"step": 2,
"rotate": -3,
"font": "heading"
},
{
"el": "text",
"slot": "headline",
"role": "display",
"step": 7,
"maxCh": 16,
"mark": true
}
]
},
{
"el": "box",
"span": "9-12",
"alignSelf": "end",
"gap": 4,
"children": [
{
"el": "text",
"color": "textMuted",
"slot": "subhead",
"role": "lead",
"maxCh": 34
},
{
"el": "button",
"slot": "cta",
"variant": "primary",
"size": "lg",
"arrow": true
}
]
},
{
"el": "repeat",
"span": "1-12",
"slot": "features",
"min": 4,
"max": 4,
"layout": "grid",
"cols": 4,
"phoneCols": 1,
"gap": 4,
"of": {
"el": "box",
"bg": "surfaceAlt",
"gap": 3,
"pad": [
5,
4
],
"justify": "between",
"minVh": 0.26,
"children": [
{
"el": "text",
"slot": "number",
"role": "number",
"step": 5
},
{
"el": "box",
"gap": 1,
"children": [
{
"el": "text",
"slot": "title",
"role": "h4",
"step": 2
},
{
"el": "text",
"slot": "body",
"role": "small"
}
]
}
]
}
}
]
}
}