# Natural History (`naturalist`)

> The site of a Qinling honey cooperative, made like a natural-history field guide: hand-coloured copperplates, Latin names, a specimen label written like the jar label and a Pfund colour chart, with the prices, wholesale terms and ordering set as plain lists, tables and a short form.

This is a worked example: one concept, built for one fictional client. Study how its concept turned into decisions and borrow the craft. Do not ship its surface (palette, motifs, component looks) for a different client unless your own concept, drawn from that client's world, leads to the same place.

- Chinese name: 博物图鉴. 秦岭一家蜂蜜合作社的网站，照博物图志来做：手工上色的铜版图、拉丁学名、一张照瓶身标签写的标本签和一张 Pfund 蜜色谱；价目、批发和订购用普通的列表、表格和短表单写清楚。
- Category: Organic. Tags: Botanical, Illustration, Serif, Light, Precise, Editorial, Texture, Micro-interactions.
- Live page: [English](/en/sites/naturalist/full/) · [Chinese](/sites/naturalist/full/) · [viewer with desktop and mobile views](/en/sites/naturalist/)
- Built with Astro, React, TypeScript and Tailwind CSS 4, plus Motion Primitives, Motion.

## Where the concept came from

From the cooperative's own things: the nectar-plant guides beekeepers learn their flowers from, the label on every jar, the Pfund grader used at harvest and the flowering log kept by ten-day periods. The guide lends the copperplates, the Latin names and the open-book spreads; only the label and the colour chart copy real objects, and the prices, wholesale terms and ordering are written the way a good farm-produce site writes them.

## When it fits

Good for:
- Farm products sold by origin and variety, such as honey, tea, herbs or spices: each one needs its source, season and grade spelled out.
- Botanical gardens, nature reserves and nature-education programmes: they already have species, seasons and field records to show.
- Botanical skincare and fragrance brands: give each ingredient a plate and the ingredient list is already designed.

Avoid when:
- Law, consulting or software, with nothing to draw: forced plates read as a vintage template.
- Large catalogues that change daily: a plate for every product does not scale.
- Loud youth campaigns that need punch: this layout is quiet and bookish.

Industry fit (1-5): Farm produce 5, Attraction 4, Artisan 4, Education 4, Tour guide 3, Creative brand 3, Export factory 2, Hotel & homestay 2, Restaurant 2.

## Adapting it to another client

Keep:
- Let one or two things be the client's real objects (here the jar label and the colour chart), and set prices, wholesale terms and ordering as plain lists, tables and a short form.
- One signature interaction modelled on a real instrument (here the colour grader), with no instructions on screen and every other motion kept quiet.
- Give the images room: the frontispiece takes half the first screen and a full plate faces the price list. The gutter of the open book carries the book past the hero, not running heads and numbers.

Change:
- Copperplates and Latin names belong to natural history; another client needs its own image archive, such as parts drawings, recipe plates or old maps.
- The grey-green paper, the green-black and the amber come from the guide's paper, printing ink and honey; build the palette from the new client's own materials.
- The Pfund scale only works for honey; find the new trade's own measure, such as a colour card, a gauge or a test report.

## Essentials

- **Color.** A grey-green folio #e8e7df under a laid-paper texture, text in green-black ink #1f2520. Primary buttons are ink with plate-paper lettering (#f4f3ed on #1f2520) and secondary ones a fine ink outline; no button is amber or red. Colour sits in large fields: the price list on a full-width band of whiter plate paper #f4f3ed, wholesale on a full-width band of ink, where the buttons flip to plate paper lettered in ink. Amber #8f5310 is only for marks: the grader needle, the bar under the chosen jar, the harvest marks in the calendar and focus rings. The honey scale, #f6f1d6 to #4c290d, appears only in the jars and the colour scale: it is data, not decoration.
- **Type.** Chinese headings in Noto Serif SC 600: the first screen is the name over the product line (椴坪蜂社 / 秦岭山蜜), four characters a line, about 80px on phones and 128px on desktop at 0.04em; section headings are two-character nouns (色谱, 价目, 花期, 批发, 订购) at 48–88px. IM Fell English for Latin display and its italic for binomials; EB Garamond for text, with lining tabular figures for prices, readings and minimums and the wholesale guide prices set large at 28–44px. Chinese body at 16–17px with 1.85 line height; LXGW WenKai for the handwritten entries on the jar label and the taste notes.
- **Layout.** Designed at 390px first. The first screen is an open book: the name, one paragraph, the order button and a prices link on the left page, the frontispiece on the right; on desktop a gutter runs down the middle and the jar label is pinned at the foot of the left page across the gutter, on phones below the frontispiece. Every later section opens with a noun heading, with no running heads, table or plate numbers or micro-labels: the colour chart (jars and scale left, the plate in a label card right), prices (a full-width band of plate paper, a whole comb plate on the left page facing the price list, shrunk to a figure beside the heading on phones), flowering (a full-width ten-day table with tinted alternate rows), wholesale (a full-width ink band, guide prices beside the terms) and order (contact details beside a short form that writes the WeChat message). On phones, past the hero, a bar with two actions, call and order, slides up. Hairlines appear only in tables; no radii, an 8px base, and the phone page runs about 8,200px.
- **Imagery.** Early 19th-century hand-coloured copperplates: line and stipple engraving under transparent watercolour, on white so they multiply into the paper. Each plate carries figure numbers, a binomial below and a key naming each figure. The frontispiece is the Asian honey bee, a whole slab of comb faces the price list, and the colour chart has one nectar plant per honey. The jars are drawn in SVG and filled with the colour of their Pfund reading.
- **Motion.** The frontispiece prints in ink, then its colour washes down. The signature moment is tapping a jar: the needle glides along the scale to the reading (0.85s, cubic-bezier(0.32, 0.72, 0, 1)), the millimetres roll over like a dial, and the flower's plate appears as an ink proof before its colour washes down (1.15s, cubic-bezier(0.22, 1, 0.36, 1)); nothing on screen tells you to tap. Everything else is link underlines, a small jar lift and the phone bar sliding up; with reduced motion the plates are simply in colour.

## Common mistakes

- Bringing the whole grammar of a book along: running heads, table and plate numbers, appendix letters and double rules stacked together are the AI house style. Keep only the figure numbers and keys on the plates, because they explain the picture.
- Dressing the practical parts as props: the order form as a slip to cut out, the prices as specimen cards, the ordering steps numbered 壹贰叁. The label and the colour chart are already literal; the rest reads best as plain tables and a form.
- Putting the amber on buttons: grey-green paper with amber buttons is the same AI palette as cream with red. Buttons are ink, and amber marks only the grader and the calendar.
- Dropping white-ground plates straight onto the paper colour: multiply them in, and put the blend on the layer that fades, or a white box flashes mid-transition.
- Letting Chinese pick up the italic of the Latin, or setting large figures in IM Fell: mark binomials lang="la" and reset every italic under zh-CN, and since IM Fell only has old-style numerals (50 reads as 5o), set prices and readings in EB Garamond lining figures.

## Design tokens

| Token | Value | Role |
| --- | --- | --- |
| `--color-folio` | `#e8e7df` | Paper ground |
| `--color-plate` | `#f4f3ed` | Plate paper and the price band; text and buttons on the ink band |
| `--color-ink` | `#1f2520` | Text, primary buttons, the wholesale band |
| `--color-graphite` | `#585d55` | Secondary text |
| `--color-amber` | `#8f5310` | Marks: grader needle, chosen jar, harvests, focus rings |
| `--color-sap` | `#56653b` | Bloom bars |
| `--color-rule` | `rgb(31 37 32 / 0.2)` | Supporting |

Semantic colors with shadcn/ui names, ready for `globals.css`:

```css
:root {
  --background: #e8e7df;
  --foreground: #1f2520;
  --primary: #1f2520;
  --primary-foreground: #f4f3ed;
  --muted: #f4f3ed;
  --muted-foreground: #585d55;
  --border: rgb(31 37 32 / 0.2);
}
```

Fonts. The stacks use Fontsource family names; with Google Fonts or `next/font`, drop the " Variable" suffix. Each npm package holds the CSS and its unicode-range sliced font files. The jsDelivr links are for prototypes only: Google Fonts is blocked in mainland China and jsDelivr is unreliable there, so a production site for mainland visitors bundles the packages, or copies each CSS file with its `files/` folder to its own server or object storage and links that. A Chinese family costs about 100 KB of render-blocking CSS per weight (31 KB gzipped, about 100 slices); browsers then download only the slices for the characters on the page, so link only the weights you use.

- `--font-serif`: "EB Garamond Variable", "Noto Serif SC Variable", "Songti SC", "STSong", ui-serif, serif
- `--font-display`: "IM Fell English", "EB Garamond Variable", "Noto Serif SC Variable", "Songti SC", serif
- `--font-hand`: "LXGW WenKai", "Kaiti SC", "STKaiti", "KaiTi", serif
- EB Garamond Variable: `npm install @fontsource-variable/eb-garamond`, then `import '@fontsource-variable/eb-garamond/wght.css'`. Plain-HTML prototype: `<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/eb-garamond@5.3.0/wght.css">`
- IM Fell English: `npm install @fontsource/im-fell-english`, then `import '@fontsource/im-fell-english/400.css'` and `import '@fontsource/im-fell-english/400-italic.css'`. Plain-HTML prototype: `<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource/im-fell-english@5.3.0/400.css">` `<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource/im-fell-english@5.3.0/400-italic.css">`
- Noto Serif SC Variable: `npm install @fontsource-variable/noto-serif-sc`, then `import '@fontsource-variable/noto-serif-sc/wght.css'`. Plain-HTML prototype: `<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/noto-serif-sc@5.3.1/wght.css">`
- LXGW WenKai: `npm install lxgw-wenkai-webfont`, then `import 'lxgw-wenkai-webfont/lxgwwenkai-regular.css'`. Plain-HTML prototype: `<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/lxgw-wenkai-webfont@1.7.0/lxgwwenkai-regular.css">`

Easing:

- `--ease-plate`: `cubic-bezier(0.32, 0.72, 0, 1)`
- `--ease-wash`: `cubic-bezier(0.22, 1, 0.36, 1)`

Textures used in `styles.css`:

- [paper-laid.webp](/assets/naturalist/paper-laid.webp)

All tokens: [tokens.css](/styles/naturalist/tokens.css) · [tokens.json](/styles/naturalist/tokens.json)

## Page structure

Screenshots are 1440 × 900 (desktop) and 390 × 844 (mobile) viewports, on the Chinese page unless marked English. Sections taller than the screen, such as pinned scroll chapters, are captured part-way through.

1. **Header** (`:is(body, main) > header`): [components/Header.astro](/sources/naturalist/components/Header.astro.txt). Visible in the Hero screenshots
2. **Hero** (`#top`): [components/Hero.astro](/sources/naturalist/components/Hero.astro.txt). Screenshots: [desktop](/shots/naturalist/top-desktop.jpg) · [mobile](/shots/naturalist/top-mobile.jpg) · [desktop, English](/shots/naturalist/top-desktop-en.jpg) · [mobile, English](/shots/naturalist/top-mobile-en.jpg)
3. **Chart** (`#chart`): [components/Chart.astro](/sources/naturalist/components/Chart.astro.txt). Screenshots: [desktop](/shots/naturalist/chart-desktop.jpg) · [mobile](/shots/naturalist/chart-mobile.jpg) · [desktop, English](/shots/naturalist/chart-desktop-en.jpg) · [mobile, English](/shots/naturalist/chart-mobile-en.jpg)
4. **Goods** (`#goods`): [components/Goods.astro](/sources/naturalist/components/Goods.astro.txt). Screenshots: [desktop](/shots/naturalist/goods-desktop.jpg) · [mobile](/shots/naturalist/goods-mobile.jpg) · [desktop, English](/shots/naturalist/goods-desktop-en.jpg) · [mobile, English](/shots/naturalist/goods-mobile-en.jpg)
5. **Calendar** (`#calendar`): [components/Calendar.astro](/sources/naturalist/components/Calendar.astro.txt). Screenshots: [desktop](/shots/naturalist/calendar-desktop.jpg) · [mobile](/shots/naturalist/calendar-mobile.jpg) · [desktop, English](/shots/naturalist/calendar-desktop-en.jpg) · [mobile, English](/shots/naturalist/calendar-mobile-en.jpg)
6. **Wholesale** (`#wholesale`): [components/Wholesale.astro](/sources/naturalist/components/Wholesale.astro.txt). Screenshots: [desktop](/shots/naturalist/wholesale-desktop.jpg) · [mobile](/shots/naturalist/wholesale-mobile.jpg) · [desktop, English](/shots/naturalist/wholesale-desktop-en.jpg) · [mobile, English](/shots/naturalist/wholesale-mobile-en.jpg)
7. **Order** (`#order`): [components/Order.astro](/sources/naturalist/components/Order.astro.txt). Screenshots: [desktop](/shots/naturalist/order-desktop.jpg) · [mobile](/shots/naturalist/order-mobile.jpg) · [desktop, English](/shots/naturalist/order-desktop-en.jpg) · [mobile, English](/shots/naturalist/order-mobile-en.jpg)
8. **Footer** (`:is(body, main) > footer`): [components/Footer.astro](/sources/naturalist/components/Footer.astro.txt). Screenshots: [desktop](/shots/naturalist/footer-desktop.jpg) · [mobile](/shots/naturalist/footer-mobile.jpg) · [desktop, English](/shots/naturalist/footer-desktop-en.jpg) · [mobile, English](/shots/naturalist/footer-mobile-en.jpg)

## Key components

### PfundChart

The colour chart: six jars on a shelf from palest to darkest, with leader lines down to the Pfund scale. Tap a jar (or use the arrow keys) and the needle glides to its reading, the millimetres roll over (SlidingNumber), and the flower's plate in the label card prints as an ink proof before its colour washes down, above that honey's harvest, locality, taste, crystallisation, density and how it is sold. No hints and no numbers.

- Source: [components/PfundChart.tsx](/sources/naturalist/components/PfundChart.tsx.txt) (Motion Primitives)
- Also needs: [components/HoneyJar.tsx](/sources/naturalist/components/HoneyJar.tsx.txt), [pfund.ts](/sources/naturalist/pfund.ts.txt), [components/ui/sliding-number.tsx](/sources/naturalist/components/ui/sliding-number.tsx.txt)
- Built on Motion Primitives `sliding-number` ([components/ui/sliding-number.tsx](/sources/naturalist/components/ui/sliding-number.tsx.txt), restyled): `npx shadcn@latest add https://motion-primitives.com/c/sliding-number.json`
- Appears in: Chart (`chart`)

### Plate

A plate: a pressed platemark (.platemark), figure numbers, a binomial and a figure key, with no plate number. The frontispiece stacks the same image twice, an ink proof below and the colour revealed top to bottom with clip-path; the comb plate facing the price list uses the same component.

- Source: [components/Plate.astro](/sources/naturalist/components/Plate.astro.txt)
- Appears in: Hero (`top`), Goods (`goods`)

### SpecimenLabel

The jar label, made as a specimen label: a double hairline border (.label-card), dotted fields (.field) and an insect pin. The cooperative and the field names are printed and the honey and entries handwritten (LXGW WenKai in Chinese, IM Fell italic in English): source plant, locality, altitude, harvest month and beekeeper. The colour chart's card shares the border.

- Source: [components/SpecimenLabel.astro](/sources/naturalist/components/SpecimenLabel.astro.txt)
- Also needs: [styles.css](/sources/naturalist/styles.css.txt), [components/Emblem.astro](/sources/naturalist/components/Emblem.astro.txt)
- Appears in: Hero (`top`)

### Price spread

A spread on a full-width band of plate paper: a whole comb plate on the left page and the price list on the right, one row per honey with a jar in its colour, the name, colour class and harvest month, then the sizes and prices; the gutter (.gutter) runs the height of the band. On phones the plate shrinks to a figure beside the heading.

- Source: [components/Goods.astro](/sources/naturalist/components/Goods.astro.txt)
- Also needs: [components/HoneyJar.tsx](/sources/naturalist/components/HoneyJar.tsx.txt), [components/Plate.astro](/sources/naturalist/components/Plate.astro.txt), [specimens.ts](/sources/naturalist/specimens.ts.txt)
- Appears in: Goods (`goods`)

### Calendar

The flowering calendar, a year in 36 ten-day columns: hatched green bars for bloom, amber diamonds for extraction and an amber dot for the log-hive harvest, on tinted alternate rows, with one line below saying when each new honey comes in. It does not work out today or show what is happening now.

- Source: [components/Calendar.astro](/sources/naturalist/components/Calendar.astro.txt)
- Also needs: [specimens.ts](/sources/naturalist/specimens.ts.txt)
- Appears in: Calendar (`calendar`)

### OrderBuilder

The order form: pick honey, size and quantity, see the total and get a message ready for WeChat. Copy it or open it as an SMS; nothing pretends to submit. Options are tinted blocks without borders.

- Source: [components/OrderBuilder.tsx](/sources/naturalist/components/OrderBuilder.tsx.txt)
- Appears in: Order (`order`)

## Dependencies

`npm install motion react-use-measure`

## Source files

Read only what you need:

- [Site.astro](/sources/naturalist/Site.astro.txt): the whole page, with fonts, sections and scripts
- [styles.css](/sources/naturalist/styles.css.txt): tokens and component classes
- [i18n.ts](/sources/naturalist/i18n.ts.txt): all copy, in Chinese and English
- [meta.ts](/sources/naturalist/meta.ts.txt): this guide as data
- [components/Header.astro](/sources/naturalist/components/Header.astro.txt): section
- [components/Hero.astro](/sources/naturalist/components/Hero.astro.txt): section
- [components/Chart.astro](/sources/naturalist/components/Chart.astro.txt): section
- [components/Goods.astro](/sources/naturalist/components/Goods.astro.txt): section
- [components/Calendar.astro](/sources/naturalist/components/Calendar.astro.txt): section
- [components/Wholesale.astro](/sources/naturalist/components/Wholesale.astro.txt): section
- [components/Order.astro](/sources/naturalist/components/Order.astro.txt): section
- [components/Footer.astro](/sources/naturalist/components/Footer.astro.txt): section
- [components/Emblem.astro](/sources/naturalist/components/Emblem.astro.txt)
- [components/HoneyJar.tsx](/sources/naturalist/components/HoneyJar.tsx.txt)
- [components/OrderBuilder.tsx](/sources/naturalist/components/OrderBuilder.tsx.txt)
- [components/PfundChart.tsx](/sources/naturalist/components/PfundChart.tsx.txt)
- [components/Plate.astro](/sources/naturalist/components/Plate.astro.txt)
- [components/SpecimenLabel.astro](/sources/naturalist/components/SpecimenLabel.astro.txt)
- [pfund.ts](/sources/naturalist/pfund.ts.txt)
- [specimens.ts](/sources/naturalist/specimens.ts.txt)
- [type.ts](/sources/naturalist/type.ts.txt)
- [components/ui/sliding-number.tsx](/sources/naturalist/components/ui/sliding-number.tsx.txt): Motion Primitives `sliding-number`, restyled

Everything in one file: [/sources/naturalist.txt](/sources/naturalist.txt) (about 28K tokens).

Before building, read the [design guide](/guide.md): the process and rules that apply to every site.
