Layout tree (as in design/layout.json)
{
"pattern": "hero.y2k-chrome-window",
"kind": "hero",
"grid": {
"blob": "1-5",
"window": "3-10",
"star": "10-12"
},
"slots": [
"eyebrow",
"headline",
"subhead",
"cta",
"cta2"
],
"notes": "The window has a 2 px light border, full token radius on the outer corners, and a soft glow shadow. It overlaps the blob.",
"tree": {
"el": "grid",
"gap": 3,
"align": "center",
"minVh": 0.86,
"children": [
{
"el": "shape",
"span": "1-5",
"rowSpan": "1-2",
"mobile": "hide",
"kind": "blob",
"size": "fill",
"fill": "accent2"
},
{
"el": "shape",
"span": "10-12",
"rowSpan": "1-1",
"mobile": "hide",
"kind": "star",
"size": "lg",
"fill": "accent",
"rotate": -8
},
{
"el": "box",
"span": "3-10",
"rowSpan": "1-2",
"bg": "surface",
"gap": 0,
"border": "all",
"children": [
{
"el": "box",
"mobile": "keep",
"bg": "accent",
"dir": "row",
"pad": [
1,
2
],
"align": "center",
"justify": "between",
"children": [
{
"el": "text",
"color": "onAccent",
"slot": "eyebrow",
"role": "label",
"transform": "uppercase",
"font": "mono"
},
{
"el": "box",
"mobile": "keep",
"dir": "row",
"gap": 1,
"children": [
{
"el": "shape",
"kind": "circle",
"size": "sm",
"fill": "onAccent"
},
{
"el": "shape",
"kind": "circle",
"size": "sm",
"fill": "onAccent"
},
{
"el": "shape",
"kind": "circle",
"size": "sm",
"fill": "onAccent"
}
]
}
]
},
{
"el": "box",
"gap": 3,
"pad": [
6,
4
],
"align": "center",
"children": [
{
"el": "text",
"slot": "headline",
"role": "display",
"step": 6,
"align": "center",
"transform": "uppercase",
"weight": 700,
"tracking": "tight",
"leading": "tight",
"maxCh": 14
},
{
"el": "text",
"slot": "subhead",
"role": "lead",
"align": "center",
"maxCh": 46
},
{
"el": "box",
"dir": "row",
"gap": 2,
"justify": "center",
"wrap": true,
"children": [
{
"el": "button",
"slot": "cta",
"variant": "primary",
"size": "md"
},
{
"el": "button",
"slot": "cta2",
"variant": "ghost",
"size": "md"
}
]
}
]
}
]
}
]
}
}