One shared pattern.
Use a concise heading, one useful description, and a short capability label.
REUSABLE CARDTHE SYSTEM BEHIND THE PAGE
Live, reusable components from the Fieldwork landing page. The same stylesheet and JavaScript modules power both pages. No framework, package install, or build step.
01 / DESIGN TOKENS
Change the variables at the top of assets/styles.css to adapt the palette, spacing, and type. System fonts keep the sample self-contained.
Ivory · #F5F4EF--paper
Charcoal · #242522--ink
Clay · #9C4C34--orange
Linen · #DEDBCF--lime
Olive · #515C48--olive
03 / BUTTONS + LINKS
Use links for navigation and buttons for actions. Visible focus styles support keyboard use. Touch targets use generous padding, and motion respects the device preference.
04 / ACCESSIBLE POPUP
A native modal dialog keeps keyboard focus inside while open, makes the background inert, supports Escape, and restores focus to its trigger. It also closes with the close button or a backdrop click.
<button class="button button-dark" data-open-dialog="example-dialog" hidden>Open popup</button> <dialog class="brief-dialog" id="example-dialog" data-dialog aria-labelledby="example-title"> <h2 id="example-title">A focused next step.</h2> <button data-close-dialog>Close</button> </dialog>
05 / FAQ ACCORDION
Native details and summary work with keyboard, pointer, and without JavaScript. Answers can remain open together. The small JavaScript enhancement changes the decorative plus sign.
Yes. Copy the details markup, include the shared stylesheet, and initialize the optional accordion enhancement.
No. Its built-in browser behavior works independently; the module only updates the decorative icon.
06 / BRIEF FORM
Required fields, constrained input lengths, and a named status region support a clear flow. The preview uses text content, never HTML. Editing any field clears a previous preview so it cannot be mistaken for the latest draft.
07 / SERVICE CARD
A three-column grid becomes a stacked layout below 900px. Cards are informational, with semantic headings and decorative SVG icons.
Use a concise heading, one useful description, and a short capability label.
REUSABLE CARDKeep the structure and spacing while changing copy and the decorative icon.
CONSISTENT SPACINGShared styles keep each instance aligned across the landing page and library.
RESPONSIVE GRID