Foundations
Colour
The brand and neutral tokens from website.css. Reach for these names in every rule — never a raw hex.
Brand
var(--prime)#001078
var(--second)#E02200
var(--prime-light)#001ede
Neutrals
var(--black)#000000
var(--white)#ffffff
var(--text)#000000
var(--stroke)#333333
var(--grey-dark)#404040
var(--grey-light)#ededed
var(--background)#ffffff
| Token | Value / role |
|---|---|
--prime | #001078 — primary brand |
--second | #E02200 — secondary / accent |
--stroke | #333 — a colour only; each site supplies its own width/style |
--background | var(--white) — the page background, wired to #container |
--text | var(--black) — default body colour |
Foundations
Heading gradient
Display headings can carry the navy blue-green text gradient defined by the two --heading-gradient-* tokens.
linear-gradient(to left, #032A42 0%, #2C647A 100%)#032A42 → #2C647A
Foundations
Backgrounds & bands
A full-width band is an element with a background helper; bleed-* lets a block break out of the content column to the viewport edge.
Light band
class="bg-light".
<div class="bg-light" style="padding:24px;width:100%">bg-light</div>
Dark band
class="bg-dark" — copy flips to on-dark.
<div class="bg-dark" style="padding:24px;width:100%;color:#fff">bg-dark</div>
Prime band
class="bg-prime".
<div class="bg-prime" style="padding:24px;width:100%;color:#fff">bg-prime</div>
Full bleed
class="band bleed-full" — breaks out to the full viewport width; bleed-x bleeds horizontally only.
bleed-full / bleed-x to escape the content column.<div class="bg-light" style="padding:24px;width:100%">A band uses <code>bleed-full</code> / <code>bleed-x</code> to escape the content column.</div>
Foundations
Layout grid
Columns come from the framework: row on a group, a col-* fraction on each child, and a gap-* for the gutter. The Framework Reference covers every width and breakpoint.
Three columns
class="row gap-24" with three col-1-3 children.
<div class="row gap-24" style="width:100%"><div class="col-1-3"><div class="sg-gridcell">col-1-3</div></div><div class="col-1-3"><div class="sg-gridcell">col-1-3</div></div><div class="col-1-3"><div class="sg-gridcell">col-1-3</div></div></div>
Two-thirds + one-third
col-2-3 beside col-1-3.
<div class="row gap-24" style="width:100%"><div class="col-2-3"><div class="sg-gridcell">col-2-3</div></div><div class="col-1-3"><div class="sg-gridcell">col-1-3</div></div></div>
Foundations
Spacing scale
Fluid spacing tokens (clamp() between phone and desktop) plus fixed steps, from framework_v3.css. Use these for vertical rhythm and gaps — never a raw px.
| Token | Value |
|---|---|
--space-section | clamp(32px, 6vw, 96px) — between major sections |
--space-80 | clamp(40px, 7vw, 80px) |
--space-60 | clamp(32px, 5vw, 60px) |
--space-40 | clamp(24px, 3vw, 40px) |
--space-24 / --space-16 / --space-12 / --space-8 | fixed steps |
--space-0 | 0 |
Foundations
Borders & rules
One hairline colour token, --stroke. Each usage site supplies its own width and style.
Hairline
A 1px --stroke rule — the framework’s border colour.
<div style="border:1px solid var(--stroke);padding:20px;width:100%">1px solid var(--stroke)</div>