Layout tree (as in design/layout.json)
{
"pattern": "hero.editorial-index",
"kind": "hero",
"grid": {
"intro": "1-5",
"index": "7-12"
},
"slots": [
"eyebrow",
"headline",
"subhead",
"cta",
"items[4..7]"
],
"notes": "Each entry links to a page or section; on hover the row's title shifts right by one space step. The intro column is position: sticky while the list scrolls if it is taller than the viewport.",
"tree": {
"el": "grid",
"gap": 4,
"align": "start",
"minVh": 0.85,
"children": [
{
"el": "box",
"span": "1-5",
"gap": 4,
"children": [
{
"el": "text",
"color": "textMuted",
"slot": "eyebrow",
"role": "eyebrow"
},
{
"el": "text",
"slot": "headline",
"role": "h1",
"step": 6,
"leading": "tight",
"maxCh": 12
},
{
"el": "text",
"slot": "subhead",
"role": "body",
"maxCh": 34
},
{
"el": "button",
"slot": "cta",
"variant": "link",
"arrow": true
}
]
},
{
"el": "repeat",
"span": "7-12",
"slot": "items",
"min": 4,
"max": 7,
"layout": "list",
"gap": 3,
"divider": true,
"of": {
"el": "box",
"dir": "row",
"gap": 2,
"align": "baseline",
"justify": "between",
"children": [
{
"el": "box",
"mobile": "keep",
"dir": "row",
"gap": 3,
"align": "baseline",
"children": [
{
"el": "text",
"color": "textMuted",
"slot": "number",
"role": "label",
"font": "mono"
},
{
"el": "text",
"slot": "title",
"role": "h3",
"leading": "tight"
}
]
},
{
"el": "text",
"color": "textMuted",
"slot": "meta",
"role": "small"
}
]
}
}
]
}
}