Theme rules
The professional-firm theme is for law, accounting, and advisory firms. Full spec in src/themes/professional-firm/THEME.md.
Type
Source Serif 4 with optical sizes for headings and pull text. Hanken Grotesk for body, navigation, labels, and forms.
Display, Source Serif 4 at 400
Section heading, 2.5rem
Subhead, 1.625rem
Lede, Hanken Grotesk 1.25rem. Used once per page under the h1.
Body, Hanken Grotesk 1.0625rem on 1.6. Numerals are tabular in tables and stats: 1996, 38, $2,400.
Label, 0.8125rem, tracked
Color
Paper and the deep color carry the site. The accent is for focus rings, hover and small marks only. Codes show the active palette.
- Paper
#f5f3ee--paper - Surface
#fbfaf7--surface - Ink
#1b1f1d--ink - Muted
#545a56--muted - Hairline
#d6d2c8--line - Spruce
#1e3d33--deep - Spruce deep
#132a23--deep-2 - Clay
#9c4a2f--accent - Sage wash
#e4e9e3--wash
Palettes
Four 60/30/10 palettes. 60 is paper and surfaces, 30 the deep color for buttons, the utility bar, the dark section, the call-to-action band and the footer, 10 the accent for the active-nav rule, list markers, hover and focus. Switch with the Palette button or add ?palette=slate to the address.
| Palette | 60 | 30 | 10 |
|---|---|---|---|
Spruce & Clay (default) · spruceQuiet green, warm clay marks. The default. | #f5f3ee | #1e3d33 | #9c4a2f |
Ink & Oxblood · oxbloodBlue-black and oxblood. Litigation, older firms. | #f6f4f0 | #1f2533 | #7a1f2b |
Slate & Teal · slateCool and modern. Advisory, tax, tech clients. | #f2f4f5 | #34424d | #1d6f6a |
Charcoal · charcoalDark, with a copper accent. Evening reading, boutiques. | #17191a | #262b2e | #d9906b |
Page types
| Page | Required |
|---|---|
| Home | Who the firm serves, audience routes, practice areas, representative matters, people, insights, offices. |
| Practice areas | Group index, each practice with a description, typical work, and a named contact. |
| Insight | Type, date, authors, key takeaways, sections, checklist table, not-legal-advice note. |
| Person | Portrait, contact, practices, education, admissions, matters, publications. |
| Firm & offices | How the firm works, fees, offices with hours, intake form with relationship notice. |
| Rules | Type, tokens, page types, do and don’t. |
Do
- Say who the firm serves and what it does in the first sentence of the home page.
- Put a named lawyer, a phone number, and an email on every practice and every insight.
- Describe representative matters generically and add the prior-results line.
- Mark every insight with a date, an author, and a not-legal-advice note.
- Keep the attorney-client relationship notice next to every contact form.
- Use Source Serif 4 for headings and pull text; Hanken Grotesk for everything functional.
Don’t
- Do not cite statutes, cases, or rules you have not verified for the jurisdiction.
- Do not publish client names, results with dollar figures, or testimonials without checking your state’s advertising rules.
- Do not call anyone an “expert” or “specialist” unless the bar allows it.
- Do not use scales, gavels, columns, or a navy-and-gold palette as decoration.
- Do not ask for confidential facts in the intake form.
- Do not hide fees; a range is better than nothing.