Layout Docs

Fluid Type & Vertical Rhythm

Combining relative rem bounds with viewport units keeps headings smooth across breakpoints without losing user zoom accessibility.

Accessible Fluid Heading

h1 {
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  line-height: 1.18;
  text-wrap: balance;
}

Readable Prose Defaults

  • Limit body copy measure to 60ch–72ch for comfortable eye tracking.
  • Use unitless line-height (1.55–1.7 for body, 1.15–1.25 for headings).
  • Apply font-variant-numeric: tabular-nums; to tables and KPI counters so columns align cleanly.