A grid is a contract between content and screen.
The layout doesn't fight the width; it negotiates. Each region has a role, and the map that assigns roles to columns is the only thing that changes.
A-01Responsive layouts, drafted
A specification for how one layout resolves into four, plotted against the width of the screen.
The layout doesn't fight the width; it negotiates. Each region has a role, and the map that assigns roles to columns is the only thing that changes.
/* Sheet A · base — single column */ .layout { display: grid; grid-template-columns: 1fr; gap: 14px; }
/* Sheet B · six-column mapping */ @media (min-width: 520px) { .layout { grid-template-columns: repeat(6, 1fr); grid-template-areas: "lede lede lede lede lede lede" "chart chart chart note note note" "list list list list quote quote" "img img img img meta meta" "detail detail detail detail detail detail"; } }
/* Sheet C · eight-column mapping */ @media (min-width: 820px) { .layout { grid-template-columns: repeat(8, 1fr); grid-template-areas: "lede lede lede lede lede note note note" "chart chart chart quote quote quote quote quote" "list list list img img img meta meta" "detail detail detail detail detail detail detail detail"; } }
/* Sheet D · twelve-column editorial */ @media (min-width: 1080px) { .layout { grid-template-columns: repeat(12, 1fr); grid-template-areas: "lede lede lede lede lede lede lede quote quote quote quote quote" "chart chart chart chart note note note note note img img img" "list list list list list list meta meta detail detail detail detail"; } }