Layout

Pages are built from sections and containers, with a small set of grids inside them.

Page structure

Every page is a stack of sections. A section sets vertical padding; a container inside it sets the max width and side gutters.

.section
.container · max 100rem · 4rem gutters
.bg-secondary > .section
.container
<div class="section first">   <!-- first section: extra top padding for the header -->
  <div class="container">…</div>
</div>
<div class="bg-secondary">        <!-- tint a run of sections -->
  <section class="section">
    <div class="container">…</div>
  </section>
</div>
ClassDoes
.section6rem top and bottom padding (4rem on tablet)
.section.first9rem top padding, to clear the header
.section.lastReduced bottom padding (footer)
.containerCentered, max 100rem, side padding, vertical flex with a 3rem gap
.container.fullNo max width
.max-sm / .max-md / .max-lgMax width 25rem / 40rem / 50rem, for text measure
.overflow-noneClip overflow (sliders)

Grids

All grids collapse to one column on mobile.

.grid-2 · Two equal columns, 2rem gap
1
2
<div class="grid-2">…</div>
.grid-2-third · One-third / two-thirds: text + media (project pages)
1
2
<div class="grid-2-third">…</div>
.grid-3 · Three equal columns (pricing cards)
1
2
3
<div class="grid-3">…</div>
.grid-3-xl · Two columns, three at 80rem+ (projects page)
1
2
3
<div class="grid-3-xl">…</div>
.grid-4-xl · Two columns, four at 80rem+ (“Why work with me”)
1
2
3
4
<div class="grid-4-xl">…</div>
.grid-half · Two equal columns, no gap (bio card)
1
2
<div class="grid-half">…</div>
.grid-golden · Golden-ratio split, no gap (homepage hero)
1
2
<div class="grid-golden">…</div>