---
name: herbarium-design
description: Design system inspired by 19th-century herbaria and watercolour botanical plates (Redouté, Curtis's Botanical Magazine). Use when building or restyling websites, landing pages or UI components that should look like a botanical plate, an antique herbarium or a natural-history publication. Covers tokens (CSS variables), typography, layout, components, two ornament levels (balanced by default, or rich for an ornate Victorian-publication look), public-domain imagery and hand-drawn SVG line art.
license: MIT
copyright: © 2026 Leonardo (MedaiP90)
---

# Herbarium Design System

A design language for websites that feel like a page lifted from a 19th-century botanical
publication: warm ivory paper, sepia ink, soft watercolour greens and pinks, a specimen
centred on generous margins, a plate number in the corner and a Latin name in italics
beneath it.

The goal is **atmosphere without costume**. The site must remain a modern, fast, accessible
web product. The period references live in the palette, the typography, the composition and
a measured amount of ornament, never in fake-aged clutter.

---

## 1. Principles

1. **The page is a plate.** Every key section is composed like a botanical plate: one subject,
   centred or slightly offset, surrounded by calm empty paper, with a caption and a number.
2. **Ink on paper.** Text and lines are ink (warm dark brown, never pure black). Backgrounds
   are paper (warm ivory, never pure white). Colour is watercolour: transparent, soft, used
   on the subject, not on the chrome.
3. **Precision of the naturalist.** Botanical illustration is scientific. Alignments are exact,
   captions are factual, labels are tidy. Ornament is restrained and purposeful.
4. **Whitespace is the specimen's frame.** Margins are wide. Density is low. When in doubt,
   remove an element rather than adding a border.
5. **Ornament is a chosen level.** The system ships two levels (§6). *Balanced* (default):
   rules, plate numbers, italic Latin captions and frames on key elements only. *Rich*: the
   full vocabulary of a 19th-century illustrated flora (ornate corners, cartouches, garlands,
   wreaths, ribbons, drop-cap initials, tailpieces). In both, ordinary UI (forms, tables,
   dense controls) stays clean.
6. **Modern underneath.** Semantic HTML, responsive layout, WCAG AA contrast, reduced motion
   respected, real text (never text baked into images).

---

## 2. Design tokens (CSS custom properties)

All tokens live on `:root`. Components must reference tokens, never raw values.

```css
:root {
  /* ---------- Paper ---------- */
  --paper:            #F4EEDF; /* main background, warm ivory */
  --paper-raised:     #F9F5EA; /* cards, plates lifted from the page */
  --paper-sunken:     #EAE1CC; /* wells, inputs, code, table stripes */
  --paper-edge:       #DCCFB2; /* subtle borders, foxing tone */

  /* ---------- Ink ---------- */
  --ink:              #2B2118; /* body text, primary lines */
  --ink-soft:         #4A3B2C; /* secondary text */
  --ink-faded:        #6E5E4A; /* captions, metadata (AA on --paper) */
  --ink-rule:         #8C7B63; /* hairlines and decorative rules (not for text) */

  /* ---------- Watercolour pigments ---------- */
  --sap-green:        #4A5E3F; /* primary accent; links, primary buttons (AA text) */
  --sage:             #7F9270; /* foliage wash, decorative fills */
  --sage-wash:        #DDE3D0; /* very light leaf tint for backgrounds/badges */
  --madder:           #8E3B3F; /* secondary accent; emphasis, alerts (AA text) */
  --rose:             #C98A8A; /* petal wash, decorative only */
  --rose-wash:        #F1DEDA; /* light petal tint */
  --ochre:            #B98A3E; /* stamens, highlights, stars; decorative */
  --ochre-wash:       #F0E2C2;
  --indigo:           #3E4E6B; /* cool counterpoint; info states, rare use */
  --indigo-wash:      #DDE2EA;

  /* ---------- Semantic ---------- */
  --color-bg:         var(--paper);
  --color-surface:    var(--paper-raised);
  --color-text:       var(--ink);
  --color-text-muted: var(--ink-faded);
  --color-border:     var(--paper-edge);
  --color-link:       var(--sap-green);
  --color-link-hover: var(--madder);
  --color-primary:    var(--sap-green);
  --color-on-primary: var(--paper-raised);
  --color-focus:      var(--ochre);
  --color-success:    var(--sap-green);
  --color-warning:    #8A5A12;
  --color-danger:     var(--madder);
  --color-info:       var(--indigo);

  /* ---------- Typography ---------- */
  --font-display: "IM Fell English", "Cormorant Garamond", Georgia, serif;
  --font-body:    "EB Garamond", "Cormorant Garamond", Georgia, serif;
  --font-label:   "Cormorant SC", "EB Garamond", Georgia, serif; /* small caps labels */
  --font-mono:    "Courier Prime", "Courier New", monospace;      /* catalogue numbers */

  --text-xs:   0.8125rem;  /* 13px – fine print */
  --text-sm:   0.9375rem;  /* 15px – captions */
  --text-base: 1.125rem;   /* 18px – body (Garamond needs size) */
  --text-lg:   1.375rem;   /* 22px – lead paragraph */
  --text-xl:   1.75rem;    /* 28px – h3 */
  --text-2xl:  2.25rem;    /* 36px – h2 */
  --text-3xl:  3rem;       /* 48px – h1 */
  --text-4xl:  clamp(3rem, 6vw + 1rem, 5.5rem); /* hero title */

  --leading-tight: 1.15;
  --leading-body:  1.6;
  --tracking-caps: 0.12em;

  /* ---------- Space (based on 0.5rem) ---------- */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.5rem;
  --space-6:  2rem;
  --space-7:  3rem;
  --space-8:  4rem;
  --space-9:  6rem;
  --space-10: 9rem;

  /* ---------- Layout ---------- */
  --measure:        66ch;    /* max line length for prose */
  --page-max:       1200px;
  --plate-max:      880px;   /* width of a "plate" composition */
  --gutter:         clamp(1rem, 4vw, 3rem);

  /* ---------- Lines, radii, shadows ---------- */
  --rule-hair:  0.5px;
  --rule-thin:  1px;
  --rule-mid:   1.5px;
  --radius-0:   0;           /* default: plates have square corners */
  --radius-1:   2px;         /* inputs, buttons */
  --radius-label: 3px;       /* specimen labels */
  --shadow-plate: 0 1px 0 rgba(43,33,24,.06), 0 8px 24px -12px rgba(43,33,24,.25);
  --shadow-lift:  0 2px 0 rgba(43,33,24,.08), 0 16px 40px -16px rgba(43,33,24,.35);

  /* ---------- Motion ---------- */
  --ease-ink:   cubic-bezier(.3, .0, .2, 1);
  --dur-fast:   150ms;
  --dur-base:   280ms;
  --dur-slow:   700ms;
}
```

### 2.1 Night variant ("herbarium after hours")

Optional dark theme: dark walnut paper, ivory ink, pigments brightened to keep contrast.
Respect user preference and an explicit `data-theme` override.

```css
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { /* same block as below */ }
}
:root[data-theme="dark"] {
  --paper:        #1F1A14;
  --paper-raised: #28211A;
  --paper-sunken: #17130F;
  --paper-edge:   #3D3327;
  --ink:          #EDE4D0;
  --ink-soft:     #D2C6AE;
  --ink-faded:    #A99A80;
  --ink-rule:     #6E604C;
  --sap-green:    #9DB389;
  --sage:         #7F9270;
  --sage-wash:    #2C3326;
  --madder:       #D98C8C;
  --rose-wash:    #3A2626;
  --ochre:        #D9AE62;
  --ochre-wash:   #3A2F1C;
  --indigo:       #9FB0CF;
  --indigo-wash:  #232A36;
  --color-on-primary: #1F1A14;
}
```

When writing the stylesheet, duplicate the dark values inside the media query (CSS cannot
reference a block). Images in dark mode: see §7.4.

### 2.2 Palette usage rules

- Ratio guideline: **80 % paper, 15 % ink, 5 % pigment.**
- Only `--sap-green`, `--madder`, `--indigo`, `--color-warning` and the ink shades may colour
  text. `--sage`, `--rose`, `--ochre` and every `*-wash` are decorative: fills, washes,
  illustration, backgrounds of badges (with ink text on top).
- Never use pure `#000` or `#FFF`. Never use saturated digital colours, neon, or gradients
  between unrelated hues. A gradient is acceptable only as a soft watercolour wash of a single
  pigment fading into paper.
- Keep one pigment dominant per page (usually green); the second (rose/madder) appears as an
  accent, the third (ochre) as a tiny highlight.
- At the **rich** ornament level the ratio loosens to about **70 % paper, 18 % ink, 12 %
  pigment**, and ochre may act as "gilding" on ornamental rules and corner dots (§6.2).

### 2.3 Ornament level switch

The level is set once, on the page root, and every ornament rule keys off it:

```html
<html data-ornament="balanced">   <!-- default -->
<html data-ornament="rich">       <!-- ornate variant -->
```

```css
:root {
  --ornament-gilt:   var(--ink-rule); /* colour of ornamental rules and dots */
  --corner-size:     0px;             /* corner ornaments (0 = hidden) */
  --frame-inset:     12px;
}
:root[data-ornament="rich"] {
  --ornament-gilt:   var(--ochre);
  --corner-size:     clamp(36px, 5vw, 56px);
  --frame-inset:     14px;
}

/* Elements that exist only at one level */
:root:not([data-ornament="rich"]) .orn-rich { display: none !important; }
:root[data-ornament="rich"] .orn-balanced  { display: none !important; }
```

Mark rich-only decoration with `.orn-rich` and its plainer balanced counterpart (if any)
with `.orn-balanced`. Components such as `.cartouche`, `.ribbon` and `.initial` render as
plain text at the balanced level and gain their decoration only under
`[data-ornament="rich"]`, so the same markup serves both levels.

---

## 3. Typography

### 3.1 Fonts

Load from Google Fonts (all are free and open):

```html
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=IM+Fell+English:ital@0;1&family=Cormorant+SC:wght@500;600&family=Courier+Prime&display=swap" rel="stylesheet">
```

| Role | Font | Notes |
|---|---|---|
| Display (h1, hero, plate titles) | IM Fell English | Digitised from 17th–18th c. type; irregular, inky. Use only ≥ 28px. |
| Body, h2–h4 | EB Garamond | Old-style figures, real italics. 18px minimum for body. |
| Labels, nav, buttons, eyebrows | Cormorant SC | True small caps, letter-spaced. |
| Catalogue numbers, specimen IDs | Courier Prime | Typewritten herbarium label feel. Use sparingly. |

Alternatives if a different flavour is requested: *Cormorant Garamond* (lighter, more
elegant display), *Libre Caslon Text* (sturdier body), *Playfair Display* (avoid: too
fashion-editorial).

### 3.2 Typographic rules

- Body: `font-family: var(--font-body); font-size: var(--text-base); line-height: var(--leading-body);`
  with `font-variant-numeric: oldstyle-nums proportional-nums;` and `hyphens: auto;` (set `lang`).
- Headings: weight 400–500, never bold-heavy. Botanical title pages used size and italics,
  not weight, for hierarchy.
- **Latin binomials are always italic** (`<i class="binomial">Rosa canina</i>`), genus
  capitalised, species lowercase, authority in roman small caps: *Rosa canina* <span>L.</span>
- Eyebrows / labels: small caps, `letter-spacing: var(--tracking-caps)`, `--ink-faded`.
- Use real typographic characters: curly quotes “ ”, en dash –, em dash —, ellipsis …, `×` for
  hybrids (*Rosa × alba*), `&` in IM Fell italic as a decorative ampersand.
- Drop caps only on the first paragraph of long sections (one per section, never in cards,
  lists or UI text). Rules:
  - IM Fell English in `--madder` (or `--sap-green`). A plain letter: no box, background,
    border or outline.
  - Exactly two lines tall. The top of the letter aligns with the cap height of line one;
    its foot sits on the baseline of line two.
  - The float must not be taller than two lines, or line three is pushed in. Use a small
    negative bottom margin to keep it inside.
  - Mark it up as `<span class="initial">I</span> am…` (snippet in §6.2). Tune the offsets
    in `em` of the letter for the chosen fonts, and check them in a screenshot.
- Never set long text in IM Fell, all caps, or centred alignment. Centre only titles,
  captions and short plate compositions.
- Roman numerals for plate and section numbering (`Tab. XII`, `Pl. IV`, `§ III`).

```css
.eyebrow {
  font-family: var(--font-label);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-caps);
  text-transform: lowercase; /* Cormorant SC renders lowercase as small caps */
  color: var(--ink-faded);
}
.binomial { font-style: italic; }
.authority { font-family: var(--font-label); font-style: normal; letter-spacing: .04em; }
```

---

## 4. Layout and composition

### 4.1 The plate grid

A botanical plate has a fixed anatomy. Reuse it for heroes, featured sections and detail pages:

```
┌───────────────────────────────────────────┐
│ Tab. XII                      Fam. ROSACEAE│  ← header line: plate no. left, family right (small caps)
│                                            │
│                                            │
│              [ specimen / image ]          │  ← subject, centred or offset ⅓, ≥ 60% of height
│                                            │
│                                            │
│ ────────────────────────────────────────── │  ← hairline rule
│              Rosa canina L.                │  ← italic title (display font)
│         Dog rose · Rosa selvatica          │  ← vernacular names, small caps
└───────────────────────────────────────────┘
```

- Outer margin of a plate: at least `--space-7` on desktop, `--space-5` on mobile.
- Margins are slightly larger at the bottom than at the top (book-page proportion ~ 2:3).
- Captions sit below the subject, never overlaid on it.

### 4.2 Page grid

- 12-column grid inside `--page-max`, gutter `var(--gutter)`.
- Prose columns limited to `--measure`.
- Prefer **asymmetric two-column layouts**: text on 5 columns, plate/illustration on 6,
  one empty column between them. This echoes the facing pages of an open herbarium.
- Section rhythm: `--space-9` to `--space-10` between major sections. Avoid stacking
  background colour bands; separate sections with whitespace and a rule or ornament instead.
- Galleries: an even grid of "specimen sheets" (portrait 3:4 or 2:3 cards), or a
  masonry layout for mixed plates.

### 4.3 Responsive behaviour

- Mobile: single column, plate header line collapses to plate number only, illustrations
  stay full width with `--space-4` paper margin around them (never edge-to-edge bleeds:
  plates always have paper around them).
- Use `clamp()` for display sizes; body never drops below 17px.

---

## 5. Surfaces and textures

- **Paper grain:** a very subtle noise on `body` via an inline SVG `feTurbulence` data URI,
  opacity 0.04–0.07. Never a photographic "old paper" texture with stains and burns.

```css
body {
  background-color: var(--color-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .17 0 0 0 0 .13 0 0 0 0 .09 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");
}
```

- **Foxing (optional):** at most two or three soft radial spots of `--paper-edge` in a hero
  corner, opacity ≤ 0.25. Never on content areas.
- **Plates/cards:** `--paper-raised`, square corners, `--shadow-plate`, optional inner frame.
- **Mounting strips:** specimen sheets were held by gummed paper strips. A small rotated
  strip (`--paper-sunken`, 4px opacity variation, ±3° rotation) on the top corners of an
  image is a signature detail. Max one strip pair per card, only on featured items.

---

## 6. Ornament

Two levels, selected with `data-ornament` (§2.3). Choose per project, never mix within a page.

| | Balanced (default) | Rich |
|---|---|---|
| Feel | A modern site with a naturalist's precision | A page from an illustrated 19th-century flora |
| Best for | Products, apps, shops, SaaS, long reading | Editorial sites, portfolios, brands, events, hero-driven landings |
| Frames | One framed element per viewport | One framed element per section, with ornate corners |
| Dividers | Hairline, sprig or fleuron | Garlands and tailpieces |
| Headings | Plain display type | Cartouches, ribbons, drop-cap initials |
| Pigment | 80/15/5 | 70/18/12, ochre gilding |

### 6.1 Balanced (default)

Allowed vocabulary, in order of preference:

1. **Rules:** single hairline (`--rule-hair`, `--ink-rule`), or the classic double rule
   (thick + thin, 3px apart) for plate frames and the footer top.
2. **Plate numbering:** `Tab. I`, `Fig. 3`, `No. 0412` in the corner of featured blocks.
3. **Captions:** italic Latin name + small-caps vernacular name.
4. **Section dividers:** a centred small sprig SVG (≤ 48px wide) or a fleuron (❦ ❧ ✿) between
   two hairlines.
5. **Frames:** double-rule border inset by `--space-3` on hero plates and featured cards only.
6. **Leaders and scales:** a scale bar ("0 — 1 — 2 cm") or a dotted leader line from a label
   to a detail of an illustration, for annotated figures.

Limits:
- At most **one framed element per viewport**.
- No ornament on forms, data tables, navigation bars or dense UI.
- No curly Victorian scrollwork, no fake wax seals, no torn-paper edges, no coffee stains.

```css
.rule        { border: 0; border-top: var(--rule-hair) solid var(--ink-rule); }
.rule-double { border: 0; height: 4px; border-top: var(--rule-mid) solid var(--ink-rule);
               border-bottom: var(--rule-hair) solid var(--ink-rule); }

/* --frame-ink colours the inner rule (and, at the rich level, the corner rules and plants).
   The outline uses --ornament-gilt: ink at balanced, gilt at rich. */
.plate-frame { --frame-ink: var(--ink-rule);
               position: relative; padding: var(--space-7); background: var(--paper-raised);
               box-shadow: var(--shadow-plate); }
.plate-frame::before { content: ""; position: absolute; inset: var(--frame-inset);
               border: var(--rule-hair) solid var(--frame-ink);
               outline: var(--rule-mid) solid var(--ornament-gilt); outline-offset: 3px;
               pointer-events: none; }
/* Night: plates sit on a lighter mount, so the inner rule needs more contrast */
[data-theme="dark"] .plate-frame { --frame-ink: var(--ink-faded); }

.divider { display: flex; align-items: center; gap: var(--space-4); color: var(--ink-rule); }
.divider::before, .divider::after { content: ""; flex: 1; border-top: var(--rule-hair) solid currentColor; }
```

### 6.2 Rich

The rich level borrows from the title pages, chapter openers and plate borders of Victorian
botanical books. Everything from §6.1 still applies; the following are added. Ornament here
is **important but never noisy**: each piece frames content, it never competes with it.

Vocabulary:

1. **Corners.** In each corner of a framed plate, the frame's two rules thicken into a bold,
   square L (gilt outside, frame ink inside), with a solid quarter circle in the angle of the
   inner rule. Inside sits a small plant: two curls that start from one point and spiral in
   opposite directions (mirror images across the diagonal), without leaves. Drawn once and
   mirrored for the four corners. Corners stay sharp: never round the rules.
2. **Ornamental frame.** Triple rule (thick ink, hairline, thin gilt) with small gilt dots
   at the corners; used on cards and specimen labels.
3. **Cartouche.** Section titles sit inside a double-ruled cartouche with diamond
   terminals on the left and right.
4. **Ribbon.** Eyebrows and short Latin mottos sit on a ribbon with notched tails. The tails
   sit behind the band. Leave at least 1.5rem between a ribbon and the title below it,
   because the tails hang 6px below the band.
5. **Initial.** The first paragraph of a key section opens with a plain drop cap
   (rules in §3.2): a large display letter in madder, with no box around it.
6. **Garland.** A symmetrical vine with leaves and berries, centred on a small rosette,
   replaces the plain divider between major sections.
7. **Wreath.** A laurel wreath around numerals (steps, plate numbers, the year) or a monogram
   in the footer: two mirrored leafy arcs, open at the top, tied with a small bow.
8. **Tailpiece.** Two leafy sprigs that cross at the bottom, with a small gilt dot between
   them, closing a section as at the end of a chapter. No berry or fruit.
9. **Title-page hero** (optional): centred stack of motto ribbon, display title, rule,
   subtitle in italic, imprint line in small caps with roman-numeral year.

Limits (rich):
- **One framed plate per section**, at most two corner sets visible per viewport.
- Garlands only **between** major sections, never inside one; tailpieces at most one per section.
- Initials: one per page section, plain drop caps (no box), never in cards, lists or UI text.
- Still no ornament on forms, inputs, data tables, navigation menus or dense UI.
- Still none of the fake-ageing set: stains, burns, torn edges, wax seals, sepia-filtered photos.
- Below 600px: corners shrink via `--corner-size` (the plant keeps a fixed 8px distance from
  the frame, so it stays clear of the quarter circle), garlands become a single short sprig,
  ribbons lose their tails, cartouches keep only the double rule.
- All ornament is `aria-hidden="true"` and built from tokens, so the night variant works.

Snippets:

```css
/* Ornamental frame (cards, labels) */
[data-ornament="rich"] .ornate { position: relative; }
[data-ornament="rich"] .ornate::before {
  content: ""; position: absolute; inset: var(--frame-inset); pointer-events: none;
  border: var(--rule-mid) solid var(--ink-rule);
  box-shadow: inset 0 0 0 3px var(--paper-raised), inset 0 0 0 3.5px var(--ornament-gilt);
}
[data-ornament="rich"] .ornate::after {
  content: ""; position: absolute; inset: calc(var(--frame-inset) - 3px); pointer-events: none;
  background:
    radial-gradient(circle, var(--ornament-gilt) 2.5px, transparent 3px) top left    / 8px 8px no-repeat,
    radial-gradient(circle, var(--ornament-gilt) 2.5px, transparent 3px) top right   / 8px 8px no-repeat,
    radial-gradient(circle, var(--ornament-gilt) 2.5px, transparent 3px) bottom left / 8px 8px no-repeat,
    radial-gradient(circle, var(--ornament-gilt) 2.5px, transparent 3px) bottom right/ 8px 8px no-repeat;
}

/* Cartouche around a section title */
[data-ornament="rich"] .cartouche {
  position: relative; display: inline-block; padding: .35em 1.4em;
  border: var(--rule-mid) solid var(--ink-rule);
  outline: var(--rule-hair) solid var(--ink-rule); outline-offset: 5px;
}
[data-ornament="rich"] .cartouche::before,
[data-ornament="rich"] .cartouche::after {
  content: ""; position: absolute; top: 50%; width: 10px; height: 10px;
  background: var(--ornament-gilt); transform: translateY(-50%) rotate(45deg);
}
[data-ornament="rich"] .cartouche::before { left: -12px; }
[data-ornament="rich"] .cartouche::after  { right: -12px; }

/* Ribbon for eyebrows and mottos. Do not give the band a z-index: that makes it a stacking
   context, and its tails (z-index -1) then paint over the band's ends instead of behind them.
   Give it horizontal margin (≥ 1rem) so the tails are not clipped by a scrolling parent. */
[data-ornament="rich"] .ribbon {
  position: relative; display: inline-block; padding: .2em 1.6em; margin-inline: 1rem;
  background: var(--ochre-wash); color: var(--ink);
  border-block: var(--rule-thin) solid var(--ink-rule);
}
[data-ornament="rich"] .ribbon::before,
[data-ornament="rich"] .ribbon::after {
  content: ""; position: absolute; top: 6px; bottom: -6px; width: 22px; z-index: -1;
  background: var(--paper-edge);
}
[data-ornament="rich"] .ribbon::before { left: -14px;  clip-path: polygon(0 0,100% 0,100% 100%,0 100%,40% 50%); }
[data-ornament="rich"] .ribbon::after  { right: -14px; clip-path: polygon(0 0,100% 0,60% 50%,100% 100%,0 100%); }

/* Initial: <p><span class="initial">E</span>rbe officinali…</p>
   Plain two-line drop cap (§3.2). Values fit IM Fell English over EB Garamond at
   line-height 1.6; check the alignment in a screenshot for other fonts. */
[data-ornament="rich"] .initial {
  float: left;
  margin: .195em .1em -.1em 0; /* top: cap height of line one; negative bottom keeps the float within two lines */
  font-family: var(--font-display); font-size: 3.25em; line-height: .8;
  color: var(--madder);
}

@media (max-width: 600px) {
  [data-ornament="rich"] .ribbon::before, [data-ornament="rich"] .ribbon::after { display: none; }
  [data-ornament="rich"] .cartouche { outline: 0; }
}
```

Corners. They sit on a `.plate-frame` (§6.1) and use its geometry: hairline at
`--frame-inset`, gilt outline 3px outside it. The bold rules are CSS, so they line up with
the frame at every size. The plant is an SVG symbol.

```html
<!-- In the sprite (once per page) -->
<symbol id="corner" viewBox="0 0 48 48">
  <path fill="none" stroke="currentColor" stroke-width=".8" stroke-linecap="round"
        d="M14 14c6 0 10 4 10 10 0 4-3 6-6 6-3 0-4-2-4-4 0-2 2-3 3-2
           M14 14c0 6 4 10 10 10 4 0 6-3 6-6 0-3-2-4-4-4-2 0-3 2-2 3"/>
</symbol>

<!-- In each framed plate -->
<figure class="plate plate-frame">
  <span class="corners orn-rich" aria-hidden="true">
    <span class="corner"><svg viewBox="0 0 48 48"><use href="#corner"/></svg></span>
    <span class="corner"><svg viewBox="0 0 48 48"><use href="#corner"/></svg></span>
    <span class="corner"><svg viewBox="0 0 48 48"><use href="#corner"/></svg></span>
    <span class="corner"><svg viewBox="0 0 48 48"><use href="#corner"/></svg></span>
  </span>
  <img …><figcaption>…</figcaption>
</figure>
```

```css
.corners {
  --corner-outer: 3px;   /* bold gilt rule over the frame outline */
  --corner-inner: 2px;   /* bold rule over the hairline; ≥ 2px, as browsers snap 1.5px borders to 1px */
  --corner-angle: 9px;   /* radius of the quarter circle in the angle of the inner rule */
  position: absolute; inset: var(--frame-inset); pointer-events: none;
}
.corner {
  position: absolute; width: var(--corner-size); height: var(--corner-size);
  color: var(--frame-ink); /* the plant matches the inner rule */
}
.corner:nth-child(1) { top: 0; left: 0; }
.corner:nth-child(2) { top: 0; right: 0; scale: -1 1; }
.corner:nth-child(3) { bottom: 0; left: 0; scale: 1 -1; }
.corner:nth-child(4) { bottom: 0; right: 0; scale: -1 -1; }
.corner::before, .corner::after {
  content: ""; position: absolute; width: 100%; height: 100%;
  border-style: solid; border-width: 0;
}
/* Bold gilt L, centred on the outline (3px offset + half its width outside the hairline) */
.corner::before {
  top: calc(-3px - var(--rule-mid) / 2 - var(--corner-outer) / 2);
  left: calc(-3px - var(--rule-mid) / 2 - var(--corner-outer) / 2);
  border-top-width: var(--corner-outer); border-left-width: var(--corner-outer);
  border-color: var(--ornament-gilt);
}
/* Bold inner L, centred on the hairline, with a solid quarter circle in the angle */
.corner::after {
  top: calc(var(--rule-hair) / 2 - var(--corner-inner) / 2);
  left: calc(var(--rule-hair) / 2 - var(--corner-inner) / 2);
  border-top-width: var(--corner-inner); border-left-width: var(--corner-inner);
  border-color: var(--frame-ink);
  background: radial-gradient(circle at 0 0, var(--frame-ink) var(--corner-angle), transparent calc(var(--corner-angle) + .5px))
    border-box 0 0 / var(--corner-angle) var(--corner-angle) no-repeat;
}
/* The curls start at (14, 14) in the 48-unit drawing: keep that point 8px inside the frame
   at every corner size, clear of the quarter circle */
.corner svg {
  --plant-offset: calc(8px - var(--corner-size) * 14 / 48);
  position: absolute; top: var(--plant-offset); left: var(--plant-offset);
  width: 100%; height: 100%; overflow: visible;
}
/* Room for the corners, so they frame the drawing and do not cover it */
[data-ornament="rich"] .plate-frame { padding: calc(var(--corner-size) + var(--space-3)); }
```

Garland divider (symmetrical vine, central rosette):

```html
<svg class="orn-rich" viewBox="0 0 600 40" aria-hidden="true"
     style="display:block; width:min(100%, 640px); height:auto; margin:0 auto; color:var(--ink-soft)">
  <g fill="var(--sage)" opacity=".45">
    <path d="M250 13c-6-8-16-8-20-4 6 6 14 6 20 4z M350 13c6-8 16-8 20-4-6 6-14 6-20 4z"/>
    <path d="M190 27c-6 8-16 8-20 4 6-6 14-6 20-4z M410 27c6 8 16 8 20 4-6-6-14-6-20-4z"/>
  </g>
  <path fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round"
        d="M292 20C258 6 228 34 196 20S132 6 98 20 34 34 6 20
           M308 20C342 6 372 34 404 20S468 6 502 20 566 34 594 20"/>
  <path fill="none" stroke="currentColor" stroke-width=".8"
        d="M250 13c-6-8-16-8-20-4 6 6 14 6 20 4z M350 13c6-8 16-8 20-4-6 6-14 6-20 4z
           M190 27c-6 8-16 8-20 4 6-6 14-6 20-4z M410 27c6 8 16 8 20 4-6-6-14-6-20-4z
           M130 13c-5-6-12-6-15-3 5 5 11 5 15 3z M470 13c5-6 12-6 15-3-5 5-11 5-15 3z"/>
  <g fill="var(--rose)"><circle cx="160" cy="26" r="2.5"/><circle cx="440" cy="26" r="2.5"/>
    <circle cx="70" cy="25" r="2"/><circle cx="530" cy="25" r="2"/></g>
  <circle cx="300" cy="20" r="6" fill="var(--ochre)" opacity=".55"/>
  <circle cx="300" cy="20" r="6" fill="none" stroke="currentColor"/>
  <path fill="none" stroke="currentColor" stroke-width=".6"
        d="M300 14v-6 M300 26v6 M294 20h-6 M306 20h6 M296 16l-4-4 M304 16l4-4 M296 24l-4 4 M304 24l4 4"/>
</svg>
```

Tailpiece and wreath. Both use the colours of the balanced sprig (§7.3): lines in
`currentColor` set to `--ink-rule`, leaf washes in `--sage` at `fill-opacity: .4`; only the
gilt dot and the wreath bow add pigment. Leaves follow the leaf-placement rule in §7.3.
Keep each under 96px wide.

Define them once in a sprite and reuse them with `<use>`:

```html
<!-- Sprite: once per page -->
<svg width="0" height="0" style="position:absolute" aria-hidden="true" focusable="false">
  <defs>
    <!-- Leaves: base at the origin, pointing along +x, with a midrib -->
    <path id="leaf-10" d="M0 0c3-2.5 7-2.5 10 0-3 2.5-7 2.5-10 0z M1 0h8"/>
    <path id="leaf-13" d="M0 0c3.9-3.2 9.1-3.2 13 0-3.9 3.2-9.1 3.2-13 0z M1.3 0h10.4"/>

    <!-- Tailpiece: two crossed sprigs with a gilt dot between them -->
    <symbol id="tailpiece" viewBox="0 -8 96 48">
      <g fill="var(--sage)" fill-opacity=".4" stroke="currentColor" stroke-width=".7" stroke-linejoin="round">
        <use href="#leaf-13" transform="translate(16.8 7.5) rotate(251)"/>
        <use href="#leaf-13" transform="translate(16.8 7.5) rotate(141)"/>
        <use href="#leaf-13" transform="translate(31.6 13.8) rotate(265)"/>
        <use href="#leaf-13" transform="translate(31.6 13.8) rotate(155)"/>
        <use href="#leaf-13" transform="translate(79.2 7.5) rotate(39)"/>
        <use href="#leaf-13" transform="translate(79.2 7.5) rotate(289)"/>
        <use href="#leaf-13" transform="translate(64.4 13.8) rotate(25)"/>
        <use href="#leaf-13" transform="translate(64.4 13.8) rotate(275)"/>
      </g>
      <path d="M12.8 6.4C29.2 10.1 43.4 19.4 51 33 M83.2 6.4C66.8 10.1 52.6 19.4 45 33"
            fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round"/>
      <circle cx="48" cy="14" r="1.5" fill="var(--ornament-gilt)"/>
    </symbol>

    <!-- Wreath: two mirrored arcs of opposite leaf pairs, tied with a bow at the bottom -->
    <g id="wreath-half">
      <g fill="var(--sage)" fill-opacity=".4" stroke="currentColor" stroke-width=".6" stroke-linejoin="round">
        <use href="#leaf-10" transform="translate(27.5 54.1) rotate(150)"/>
        <use href="#leaf-10" transform="translate(27.5 54.1) rotate(260)"/>
        <use href="#leaf-10" transform="translate(16.4 45.7) rotate(176)"/>
        <use href="#leaf-10" transform="translate(16.4 45.7) rotate(286)"/>
        <use href="#leaf-10" transform="translate(11 34.1) rotate(204)"/>
        <use href="#leaf-10" transform="translate(11 34.1) rotate(314)"/>
        <use href="#leaf-10" transform="translate(11.5 20.4) rotate(229)"/>
        <use href="#leaf-10" transform="translate(11.5 20.4) rotate(339)"/>
      </g>
      <path d="M44 58C16.2 56.3 5 36.4 13.1 15.4" fill="none" stroke="currentColor" stroke-width=".9" stroke-linecap="round"/>
    </g>
    <symbol id="wreath" viewBox="0 0 96 64">
      <use href="#wreath-half"/>
      <use href="#wreath-half" transform="matrix(-1 0 0 1 96 0)"/>
      <path fill="var(--rose)" fill-opacity=".5" stroke="currentColor" stroke-width=".6"
            d="M48 58c-6-5-11-3-9 1 2 2 6 1 9-1z M48 58c6-5 11-3 9 1-2 2-6 1-9-1z"/>
      <path fill="none" stroke="currentColor" stroke-width=".6" stroke-linecap="round" d="M47 59l-5 5 M49 59l5 5"/>
      <circle cx="48" cy="58" r="1.8" fill="var(--ornament-gilt)"/>
    </symbol>
  </defs>
</svg>

<!-- Uses. The outer viewBox must start at "0 0" even when the symbol's does not
     (the tailpiece symbol starts at y = -8): an offset outer viewBox clips the drawing. -->
<svg class="tailpiece orn-rich" viewBox="0 0 96 48" width="96" height="48" aria-hidden="true"><use href="#tailpiece"/></svg>
<p class="year"><svg class="wreath orn-rich" viewBox="0 0 96 64" width="96" height="64" aria-hidden="true"><use href="#wreath"/></svg><span>MMXXVI</span></p>
```

```css
.tailpiece { display: block; width: 96px; height: auto; margin: var(--space-7) auto 0; color: var(--ink-rule); }
.wreath    { width: 96px; height: auto; color: var(--ink-rule); }
/* Text inside the wreath: stack both in one grid cell; keep the text small so it clears the inner leaves */
[data-ornament="rich"] .year { display: grid; place-items: center; width: fit-content; margin-inline: auto; }
.year > * { grid-area: 1 / 1; }
[data-ornament="rich"] .year > span { font-size: var(--text-xs); letter-spacing: .04em; }
```

### 6.3 Choosing the level

- If the user names a level ("ornate", "rich", "more decorative", "Victorian" → rich;
  "clean", "minimal", "product" → balanced), use it.
- If not, and the project is editorial or brand-led, propose rich; otherwise use balanced.
  When the user can be asked, ask once before building.
- Switching later must be a one-line change of `data-ornament`. Never hard-code rich
  decoration without the `.orn-rich` / `[data-ornament="rich"]` guard.

---

## 7. Imagery

Two sources, which can be combined: **public-domain plates** for hero and gallery images,
**hand-drawn SVG line art** for icons, dividers, decorative sprigs and illustrations that
must match a specific subject.

### 7.1 Public-domain botanical plates

Where to find them (verify the licence on each item, prefer "Public Domain" / "CC0" /
"No known copyright restrictions"):

- **Biodiversity Heritage Library** (biodiversitylibrary.org and its Flickr account) — the
  largest source; Curtis's Botanical Magazine, Flora Danica, etc.
- **Wikimedia Commons** — categories such as "Botanical illustrations", "Pierre-Joseph
  Redouté", "Köhler's Medizinal-Pflanzen", "Flora von Deutschland, Österreich und der Schweiz"
  (Thomé, 1885).
- **Missouri Botanical Garden – Botanicus**, **Smithsonian Open Access**, **New York Public
  Library Digital Collections**, **Rijksmuseum** (filter for public domain).

Period-appropriate references (1790–1890): Redouté (*Les Liliacées*, *Les Roses*), Curtis's
Botanical Magazine, Sowerby's *English Botany*, Köhler's *Medizinal-Pflanzen*, Thomé's
*Flora*, Jacquin, Bauer brothers.

Do not use: modern botanical artists, stock "vintage botanical" packs with unclear rights,
Pinterest images (no licence information), images with library watermarks left in.

Always record attribution in the caption or a credits page:
`Pierre-Joseph Redouté, Les Roses (1817–1824), Tab. 12 · Public domain, via Wikimedia Commons`.

### 7.2 Processing pipeline for scans

Goal: the plate sits on the site's paper as if printed on it.

1. Crop to the plate area, remove library stamps, page numbers and binding shadows.
2. Normalise the paper: set the scan's background close to `--paper` (levels/curves), or
   remove it entirely.
3. Export as WebP/AVIF (quality 80) with a JPEG fallback, plus `width`/`height` attributes.
   Provide 2–3 sizes via `srcset`.

ImageMagick helpers (run in the project when processing is requested):

```bash
# Warm the paper tone and lift the background toward ivory
magick in.jpg -level 4%,94% -fill "#F4EEDF" -tint 18 -resize 2000x out.jpg

# Remove a near-white paper background → transparent PNG (tune fuzz 8–15%)
magick in.jpg -fuzz 12% -transparent "$(magick in.jpg -format '%[pixel:p{10,10}]' info:)" out.png

# Convert to WebP
magick out.jpg -quality 80 out.webp
```

If the background cannot be removed cleanly, keep it and blend in CSS instead:

```css
.plate-img { mix-blend-mode: multiply; } /* scan paper disappears into --paper */
```

### 7.3 Hand-drawn SVG line art

When no plate fits, draw the subject in SVG in the style of a copperplate engraving with a
light watercolour wash.

Rules:
- **Strokes first.** Outline in `var(--ink)` or `var(--ink-soft)`, `stroke-width` 0.75–1.5
  at a 100–200 unit viewBox, `stroke-linecap="round"`, `stroke-linejoin="round"`, `fill="none"`.
- **Taper and vary.** Main stems thicker (1.5), leaf outlines medium (1), veins thin (0.5).
  Draw stems with slight curves (cubic Béziers), never straight lines or perfect circles.
- **Botanical accuracy.** Show real structure: alternate or opposite leaves, a midrib with
  paired secondary veins, serrated or entire margins, a flower with the correct number of
  petals, a bud, and ideally a dissected detail (seed, petal) small beside the main subject.
- **Leaf placement on ornaments** (sprigs, tailpieces, wreaths, garlands):
  - The base of each leaf sits **on** the stem line. Leaves never float beside the stem or
    lie along it.
  - Use opposite pairs. Angle each leaf 35° from perpendicular, leaning towards the tip of
    the stem. If the path runs base → tip, rotate the leaf by tangent ± 55°. If it runs
    tip → base, rotate by tangent ± 125°.
  - Compute the point and tangent from the stem's cubic Bézier at a few values of `t`. Do not
    guess them.
  - End the stem line just past the last leaf pair. A bare stem tip looks unfinished.
  - Draw the leaves first and the stem last, so the stem covers the leaf bases.
- **Hatching for shade.** A few parallel short strokes (0.4 width) on one side of stems and
  under leaves; light comes from the upper left.
- **Watercolour wash (optional).** Under the line work, a fill with `var(--sage)` or `var(--rose)`
  at `opacity: .35–.55`, slightly offset from the outline (1–2 units) to mimic hand
  colouring that doesn't perfectly meet the lines. Optional soft edge via
  `<feTurbulence>` + `<feDisplacementMap scale="2">`.
- **Colour via tokens.** Use `currentColor` or CSS variables so dark mode works.
- **Accessibility.** Decorative SVG: `aria-hidden="true"`. Meaningful illustration:
  `role="img"` + `<title>` with the plant name.

Minimal example (leafy sprig, decorative):

```html
<svg class="sprig" viewBox="0 0 120 60" aria-hidden="true" fill="none"
     stroke="currentColor" stroke-linecap="round" stroke-linejoin="round">
  <defs>
    <filter id="wash"><feTurbulence baseFrequency=".08" numOctaves="2" seed="3"/>
      <feDisplacementMap in="SourceGraphic" scale="2"/></filter>
  </defs>
  <!-- washes -->
  <g fill="var(--sage)" stroke="none" opacity=".4" filter="url(#wash)">
    <path d="M38 30c4-11 15-15 22-13-3 9-12 15-22 13z"/>
    <path d="M70 31c5 9 15 12 22 9-4-8-13-12-22-9z"/>
  </g>
  <!-- stem -->
  <path d="M8 34C30 31 60 30 112 26" stroke-width="1.4"/>
  <!-- leaves -->
  <path d="M37 31c4-11 15-15 22-13-3 9-12 15-22 13z" stroke-width="1"/>
  <path d="M38 31c7-4 13-8 20-13" stroke-width=".5"/>
  <path d="M69 30c5 9 15 12 22 9-4-8-13-12-22-9z" stroke-width="1"/>
  <path d="M70 30c7 3 14 6 21 9" stroke-width=".5"/>
  <!-- hatching -->
  <path d="M44 33l2-2M48 32l2-2M52 31l2-2" stroke-width=".4"/>
  <!-- bud -->
  <path d="M112 26c3-3 6-2 6 1s-4 4-6-1z" stroke-width="1"/>
</svg>
```

Icon set: draw UI icons in the same engraving style (single-weight 1.25 stroke, 24 viewBox,
small organic irregularities). Where a generic icon library is unavoidable, prefer
thin-stroke sets (e.g. Phosphor "light") recoloured with `--ink-soft`, never filled or
two-tone icons.

### 7.4 Images in dark mode

- Line-art SVG adapts automatically through tokens.
- Scanned plates: show them inside a `--paper-raised` light "mount" (a physical sheet on the
  dark desk) rather than inverting or darkening the scan. Never apply `filter: invert()`.

---

## 8. Components

All components are built from tokens. Interaction states are subtle: ink darkens, rules
appear, nothing bounces.

### 8.1 Buttons

```css
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  font-family: var(--font-label); font-size: var(--text-sm);
  letter-spacing: var(--tracking-caps); text-transform: lowercase;
  border: var(--rule-thin) solid currentColor; border-radius: var(--radius-1);
  background: transparent; color: var(--ink);
  transition: background var(--dur-fast) var(--ease-ink), color var(--dur-fast) var(--ease-ink);
}
.btn:hover { background: var(--ink); color: var(--paper-raised); }
.btn--primary { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-on-primary); }
.btn--primary:hover { background: var(--ink); border-color: var(--ink); }
.btn--link { border: 0; padding-inline: 0; color: var(--color-link);
             text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--color-focus); outline-offset: 3px;
}
```

Optional flourish for the primary CTA only: a small sprig or `→` drawn in SVG after the label.

### 8.2 Links

Body links: `--color-link`, 1px underline offset 0.25em; hover switches to `--color-link-hover`.
No colour-only distinction.

### 8.3 Plate card (featured content)

```html
<article class="plate-card">
  <header class="plate-card__meta">
    <span>Tab. IV</span><span>Fam. Lamiaceae</span>
  </header>
  <figure>
    <img src="salvia.webp" alt="Watercolour plate of Salvia officinalis with flowering spike" width="600" height="800">
    <figcaption>
      <i class="binomial">Salvia officinalis</i> <span class="authority">L.</span>
      <span class="vernacular">Common sage · Salvia</span>
    </figcaption>
  </figure>
  <p>Short description in body text.</p>
</article>
```

- Background `--paper-raised`, square corners, `--shadow-plate`, padding `--space-6`.
- Meta line: small caps, `--ink-faded`, split left/right, hairline below.
- Hover: shadow → `--shadow-lift`, image scale 1.02 over `--dur-slow`. No other movement.

### 8.4 Specimen label

The rectangular herbarium label, usually bottom right of a sheet. Use for metadata blocks,
product specs, author boxes, event details.

```css
.specimen-label {
  display: grid; gap: var(--space-1);
  padding: var(--space-4) var(--space-5);
  background: var(--paper-raised);
  border: var(--rule-thin) solid var(--ink-rule);
  border-radius: var(--radius-label);
  font-size: var(--text-sm);
}
.specimen-label dt { font-family: var(--font-label); letter-spacing: var(--tracking-caps); text-transform: lowercase; color: var(--ink-faded); }
.specimen-label dd { margin: 0 0 var(--space-2); }
.specimen-label .catalogue-no { font-family: var(--font-mono); font-size: var(--text-xs); }
```

Content pattern: title (italic), then `dt/dd` pairs such as *Collected*, *Locality*, *Leg.*
(collector), *Det.* (identified by), and a catalogue number. Adapt the field names to the
domain (e.g. *Origin*, *Size*, *Price* for a shop) while keeping the label form.

### 8.5 Navigation

- Header: logo/wordmark in IM Fell English left, links in small caps right, hairline rule below.
  Optional thin double rule for a more editorial feel.
- Active and hovered links: a mark under the whole label, numeral included. The mark is a
  1px line, a small centred dot, and another 1px line, in the link colour. Draw the lines at
  55% strength (`color-mix`), because a solid line reads darker than thin small caps. Do not
  use a hairline: browsers round a 0.5px background to nothing. Never use a pill or a
  background. Use the same mark at both ornament levels.
  - Draw it with a pseudo-element, not `text-decoration`. A text underline breaks at the
    numeral, its separator dot and its margin.
  - Size it in `em`, so one rule fits small header links and large menu links.
  - In vertical navigation (`writing-mode: vertical-rl`), the gradients are physical, so
    turn them to run top to bottom.
- Mobile menu: full-screen paper panel, links set large in EB Garamond italic, numbered with
  roman numerals.

```css
.nav a, .menu a { --link-mark-dot: .07em; --link-mark-ink: color-mix(in srgb, currentColor 55%, transparent); --link-mark-gap: .45em; position: relative; }
.nav a::after, .menu a::after {
  content: ""; position: absolute; inset-inline: 0; inset-block-end: -.45em; block-size: .4em;
  background:
    radial-gradient(circle, currentColor var(--link-mark-dot), transparent calc(var(--link-mark-dot) + .5px)) center / .4em .4em no-repeat,
    linear-gradient(var(--link-mark-ink), var(--link-mark-ink)) left center / calc(50% - var(--link-mark-gap)) var(--rule-thin) no-repeat,
    linear-gradient(var(--link-mark-ink), var(--link-mark-ink)) right center / calc(50% - var(--link-mark-gap)) var(--rule-thin) no-repeat;
  opacity: 0; pointer-events: none;
}
.nav a:hover::after, .nav a[aria-current]::after,
.menu a:hover::after, .menu a[aria-current]::after { opacity: 1; }

/* Vertical navigation: the same mark, running top to bottom beside the label */
.nav--vertical a::after {
  background:
    radial-gradient(circle, currentColor var(--link-mark-dot), transparent calc(var(--link-mark-dot) + .5px)) center / .4em .4em no-repeat,
    linear-gradient(var(--link-mark-ink), var(--link-mark-ink)) center top / var(--rule-thin) calc(50% - var(--link-mark-gap)) no-repeat,
    linear-gradient(var(--link-mark-ink), var(--link-mark-ink)) center bottom / var(--rule-thin) calc(50% - var(--link-mark-gap)) no-repeat;
}
```

### 8.6 Hero

Pattern A, *Title plate*: centred composition like a book title page — eyebrow, large IM Fell
title, italic subtitle, a hairline, a single plate image or SVG specimen below or beside,
one CTA.

Pattern B, *Facing pages*: text on the left (5 cols), framed plate on the right (6 cols)
with plate number and caption.

Both: no full-bleed photo backgrounds, no text over images.

### 8.7 Forms

- Inputs: `--paper-sunken` background, bottom border only (`--rule-thin`, `--ink-rule`), like
  a ruled line to write on; focus turns the border `--sap-green` and adds the focus outline.
- Labels above inputs in small caps. Help text in italic `--ink-faded`.
- Errors: `--madder` text with a short italic message, never red fills.
- Checkboxes/radios: custom, drawn with a 1px ink square/circle and an ink tick.

### 8.8 Tables

- Typeset like a botanical index: no vertical lines, a double rule at top, hairline under
  the header, hairline at the bottom, rows separated by whitespace or `--paper-sunken`
  zebra stripes.
- Header cells in small caps; numeric columns right-aligned with `tabular-nums`.

### 8.9 Tags and badges

Small caps text on a `*-wash` background, `--radius-1`, no border. Green wash for
categories, rose wash for highlights, ochre wash for "new"/featured.

### 8.10 Footer

Top double rule; colophon-style content: small centred sprig, short italic line, columns of
links in small caps, credits for public-domain imagery, year in roman numerals optional
(`MMXXVI`).

### 8.11 Quotes

Large italic EB Garamond, a hanging opening quote in IM Fell `--rose`, attribution in small
caps preceded by an em dash.

---

## 9. Motion

The feel is "ink drying", not "app animating".

- Fade + 8px rise for content entering on scroll (`--dur-slow`, `--ease-ink`), once only.
- SVG line art may draw itself once (`stroke-dasharray` / `stroke-dashoffset`) on hero
  illustrations; washes fade in after the lines.
- Hover changes: colour and shadow only, `--dur-fast`.
- No parallax on text, no bouncing, no spinning, no continuous loops.
- Wrap all motion in `@media (prefers-reduced-motion: no-preference) { ... }`.

---

## 10. Voice and microcopy

Optional but effective: let the naturalist's catalogue voice appear in small places.

- Section labels: `§ I — The Collection`, `Fig. 2`, `Tab. VII`.
- Empty states: "No specimens collected yet."
- 404: "This specimen has been misplaced from the herbarium."
- Loading: "Pressing the leaves…"
- Keep it light and occasional; primary actions use plain, clear verbs ("Add to cart",
  "Sign up").

---

## 11. Accessibility checklist

- Text contrast ≥ 4.5:1 (≥ 3:1 for text ≥ 24px). Use only the text-safe tokens from §2.2.
- IM Fell English only for large sizes; never for body, labels or form text.
- Every plate image has meaningful `alt` text (what is depicted, not "vintage image").
- Focus is always visible (`--color-focus` outline).
- Ornaments and decorative SVG are `aria-hidden`; numbering like "Tab. IV" is acceptable as
  visible text but should not replace real headings.
- Respect `prefers-reduced-motion` and `prefers-color-scheme`.

---

## 12. Do / Don't

| Do | Don't |
|---|---|
| Warm ivory paper and brown-black ink | Pure white backgrounds, pure black text |
| One centred subject with wide margins | Crowded collages of many plates |
| Italic Latin names, small-caps labels | Bold sans-serif headings, all-caps paragraphs |
| Soft single-pigment washes | Saturated colours, multi-hue gradients, glassmorphism |
| Hairlines and double rules | Heavy borders, rounded pill shapes, drop shadows on text |
| Public-domain plates with credits | Pinterest images, unlicensed "vintage" packs |
| Engraving-style SVG with accurate structure | Clip-art flowers, emoji, generic filled icons |
| Subtle paper grain | Burnt edges, coffee stains, torn paper, sepia photo filters on everything |
| Modern, responsive, accessible layout | Sacrificing usability for period look |
| Rich level: corners, garlands, cartouches with the §6.2 limits | Rich ornament inside forms, tables or menus, or on every element |
| One ornament level per page, switched by `data-ornament` | Mixing levels, or rich decoration without the `.orn-rich` guard |

---

## 13. Workflow for Claude Code

When asked to build or restyle a page with this skill:

0. **Pick the ornament level** (§6.3) and set `data-ornament` on `<html>`.
1. **Set up tokens first.** Create `styles/tokens.css` with §2 (including the dark variant
   and the §2.3 ornament switch),
   then `styles/base.css` (fonts, body, paper grain, typography from §3), then component
   styles. Import fonts as in §3.1.
2. **Compose sections as plates.** For each section decide: subject, plate number,
   caption, and whether it is one of the few framed elements.
3. **Source imagery.** Prefer the public-domain plates in the project's assets. If none are
   provided, suggest specific plates from §7.1 sources with their credit lines and leave
   correctly sized placeholders, or draw SVG line art following §7.3. Never hotlink images.
4. **Add ornament last** and check the limits of the chosen level in §6.1 or §6.2.
5. **Review against §11 and §12** before finishing: contrast, focus, reduced motion, dark
   mode, ornament count per viewport, captions and credits present.
