Styling and Design Tokens
Tailwind v4, CSS-first
There's no tailwind.config.js. Tokens are declared with @theme in src/app/globals.css, which also holds base-layer styles. PostCSS uses @tailwindcss/postcss. Prettier sorts classes via prettier-plugin-tailwindcss (configured with tailwindStylesheet: ./src/app/globals.css).
Visual direction
National Park Service / museum feel: confident serif headings, generous whitespace, warm neutrals anchored by deep navy, and a brass accent reserved for primary calls to action.
Colour tokens
| Scale | Role | Key values |
|---|---|---|
navy-50…950 |
Structure, text, dark bands | navy-800 #1e2a3d (primary navy), navy-900 #141d2b (body text, dark sections) |
brass-50…900 |
Primary CTA and highlights only | brass-500 #b5862f (primary accent; also the focus ring) |
sand-50…300 |
Light section backgrounds | sand-50 #faf7f1 (page background) |
stone (Tailwind built-in) |
Borders, neutral UI | stone-200 borders |
Section bands alternate bg-white and bg-sand-50. Closing CTAs use bg-navy-900.
Typography
- Sans: Inter (
--font-inter), used for body and UI. - Serif: Source Serif 4 (
--font-source-serif), used automatically forh1–h4(base layer) and viafont-serif. - Both are loaded with
next/font/googleinlayout.tsxwithdisplay: swap. - Eyebrow pattern:
text-sm font-semibold tracking-[0.15em] text-brass-600 uppercaseabove anh2.
Base styles and accessibility
:focus-visiblegives a 2px brass outline on every focusable element.- Smooth scrolling is enabled only under
prefers-reduced-motion: no-preference. - Headings use
text-wrap: balance. - The
no-scrollbarutility is used for horizontal pill and card scrollers.
No comments to display
No comments to display