Layout tree (as in design/layout.json)
{
"pattern": "hero.claymorphism-app-slab",
"kind": "hero",
"grid": {
"slab": "1-12",
"copy": "1-7",
"device": "8-12",
"chips": "1-12"
},
"slots": [
"eyebrow",
"headline",
"subhead",
"cta",
"cta2",
"heroImage",
"features[4..4]"
],
"notes": "The slab is the only accent area; buttons on it invert (heading-coloured fill). Device frame: a rounded phone bezel with a clay shadow. Four chips, never three.",
"tree": {
"el": "grid",
"gap": 5,
"children": [
{
"el": "box",
"span": "1-12",
"bg": "accent",
"pad": [
10,
10
],
"children": [
{
"el": "grid",
"gap": 6,
"align": "center",
"children": [
{
"el": "box",
"span": "1-7",
"gap": 5,
"align": "start",
"justify": "center",
"children": [
{
"el": "box",
"bg": "surface",
"alignSelf": "start",
"dir": "row",
"pad": [
1,
3
],
"align": "center",
"children": [
{
"el": "text",
"slot": "eyebrow",
"role": "label",
"weight": 700
}
]
},
{
"el": "text",
"slot": "headline",
"role": "display",
"step": 6,
"weight": 700,
"tracking": "tight",
"leading": "tight",
"maxCh": 15
},
{
"el": "text",
"slot": "subhead",
"role": "lead",
"maxCh": 40
},
{
"el": "box",
"dir": "row",
"gap": 3,
"wrap": true,
"children": [
{
"el": "button",
"slot": "cta",
"variant": "primary",
"size": "lg"
},
{
"el": "button",
"slot": "cta2",
"variant": "secondary",
"size": "lg",
"arrow": true
}
]
}
]
},
{
"el": "media",
"span": "8-12",
"slot": "heroImage",
"aspect": "3/4",
"treatment": "product",
"frame": "device"
}
]
}
]
},
{
"el": "repeat",
"span": "1-12",
"slot": "features",
"min": 4,
"max": 4,
"layout": "grid",
"cols": 4,
"phoneCols": 2,
"gap": 4,
"of": {
"el": "box",
"bg": "surface",
"gap": 3,
"pad": [
5,
5
],
"justify": "between",
"children": [
{
"el": "text",
"color": "link",
"slot": "number",
"role": "number",
"step": 5,
"weight": 700
},
{
"el": "box",
"gap": 1,
"children": [
{
"el": "text",
"slot": "title",
"role": "h4",
"step": 1,
"weight": 700
},
{
"el": "text",
"color": "textMuted",
"slot": "body",
"role": "small",
"maxCh": 30
}
]
}
]
}
}
]
}
}