# Design Language for layer-2.quest

## Aesthetics and Tone

**layer-2.quest is a quiet monograph about the second layer of everything** — the rollup that rides on the chain, the varnish coat over the oil paint, the band of sediment laid down the year after the flood, the marginal note written in a different hand fifty years after the book was bound. The site treats "layer two" not as a crypto product but as a *recurring structural fact of the world*: nothing important is ever a single stratum. It is built like a slim scholarly volume — call it *A Treatise on the Second Layer, with Plates* — printed in navy ink on a paper the colour of cold pewter, the kind of book a researcher keeps face-down on a desk because the cover is worn.

The aesthetic is **generative** in the literal, load-bearing sense: the stratified line-illustrations that carry the whole site are drawn by a deterministic algorithm at load time, never by hand and never from a stock library — each band of strata, each hairline contour, each drift of particulate is computed from a fixed seed so the page looks the same on every visit but was *grown*, not placed. The tone is **raw-authentic**: no marketing gloss, no superlatives, no "revolutionary," no rounded friendly mascot. The voice is that of someone who has spent too long with the subject and writes plainly because they have stopped trying to impress anyone — short declarative sentences, the occasional dry aside, an honest admission of what the second layer *cannot* do. Footnotes are real footnotes. The errata page is real. If something is uncertain it says so.

Mood references: the plate sections of a 1950s Dover reprint of a Victorian geology text; brushed-titanium instrument panels seen under tungsten light; the endpapers of a library-discarded hardback, foxed at the corners; the way a zk-rollup diagram looks when someone redraws it carefully on graph paper instead of in a slide deck. Cold, considered, faintly metallic, deeply unhurried.

## Layout Motifs and Structure

**Minimal-navigation, single continuous descent through the strata.** There is no navbar — none. No hamburger, no sticky header, no menu of any kind. The entire site is one vertical column you read top to bottom, the way you read a book you cannot put down on a table because there is no table. The only persistent UI is a **thin brushed-metal gauge fixed to the left margin** (28px wide on desktop, hidden on mobile) — a vertical depth scale, etched with hairline tick marks and tiny serif numerals, whose travelling indicator shows how deep into the strata you have read. It is a *depth meter*, not a progress bar; it reads "0 m" at the frontispiece and counts downward. Clicking a tick jumps to that stratum. That is the whole navigation system.

The column itself is a **left-anchored measure, never centred page-wide**: text sits in a 62ch column pinned to a vertical baseline 96px from the left edge (just right of the depth gauge), leaving a wide right margin — *the margin is the point*, it is where the generative plates bleed in, where footnote numerals hang, where the occasional second-layer annotation floats in a lighter ink. On wide screens the right margin can be 40% of viewport width; the asymmetry is permanent and deliberate, a book whose pages have been guillotined unevenly.

Structure as a bound volume, descending:

1. **Frontispiece (0 m).** Title set large in elegant serif over a full-height generative plate: a cross-section of layered strata, navy on pewter, the topmost band labelled "layer one" in tiny caps, a second band beneath it labelled "layer two" slightly thicker and slightly brighter. A single line of dedication. The depth gauge sits at zero.
2. **Chapter I — The First Layer Was Never Enough (≈4 m).** Plain prose. Why base layers fill up, slow down, cost too much — stated as a structural inevitability rather than a complaint. A generative plate of a single overloaded band, hairlines crowded to near-black.
3. **Chapter II — What Sits On Top (≈9 m).** The taxonomy of second layers — rollups, channels, validiums, sidechains, but also varnish, topsoil, palimpsest, the second draft. Each entry is a short numbered article with its own small generative inset (a band, a contour, a drift). This is the longest chapter; it reads like a field guide.
4. **Chapter III — The Seam Between (≈14 m).** The bridge, the boundary, the unconformity. Where layer one and layer two touch and where they fail to. Honest about trust assumptions, exit windows, the seam that can tear. The generative plate here shows two strata with a visibly imperfect contact line.
5. **Chapter IV — What the Second Layer Cannot Do (≈18 m).** The raw-authentic core: an unflinching list of limitations. No spin. The plate is mostly empty pewter — negative space as the honest answer.
6. **Colophon & Errata (≈21 m, the bottom).** How the plates were generated (the seed, the algorithm, in plain words), the typefaces, a real errata list, a single understated way to follow further work — set as a hand-lettered-feeling line, not a button. The depth gauge bottoms out.

Section entrances use **bounce-enter**: each stratum, as it scrolls into view, drops in from slightly above and settles with one small damped overshoot — the way a layer of sediment compacts, or a heavy book page falls flat. Never a slide, never a fade-only; a *settle*.

## Typography and Palette

**Fonts — all Google Fonts, confirmed available:**

- **Display & chapter titles — `Cormorant Garamond`** (weights 400, 500, 600; italic enabled). The frontispiece title at 88–132px (`clamp(3.4rem, 8vw, 8.2rem)`), weight 500, letter-spacing -0.015em, the high-contrast strokes left to thin almost to disappearance — *elegant-serif* as the spec demands, but the cold, slightly austere flavour of Cormorant rather than anything decorative. Chapter numerals set as Roman numerals (I, II, III, IV) at 56px in italic.
- **Body & prose — `Spectral`** (weights 400, 400-italic, 500). The reading face for every paragraph: a serif drawn for screens with generous spacing, set at 19–21px, line-height 1.72, measure 62ch, colour Deep Navy. Footnotes in Spectral 15px. This is the voice of the book.
- **Marginalia, depth-gauge numerals, captions, errata — `IBM Plex Mono`** (weights 400, 500). Tiny — 11–13px, letter-spacing 0.06em, uppercase for labels. The instrument-panel voice: stratum labels, depth readings ("4 m", "−14 m"), plate captions ("Plate III — taxonomy of overlays"), the colophon's technical lines. The single mono note keeps the metallic, measured feel without ever tipping into "terminal."

Type pairing logic: a high-contrast didone-adjacent serif for *display*, a screen-serif for *reading*, a precise mono for *instrumentation* — three registers, never blended, mirroring the three layers of the book itself (cover, text-block, marginal annotation).

**Palette — navy-metallic, exactly as seeded. Eight values:**

- `#0E1A2B` — **Deep Navy** (ink for all body text, the darkest band in every plate)
- `#1B2E47` — **Slate Navy** (chapter headings, the second-layer band fill)
- `#2C4868` — **Petrol Navy** (links, the seam line, mid-strata hairlines)
- `#7E8A99` — **Brushed Steel** (the depth gauge, tick marks, secondary text)
- `#A9B3BD` — **Cold Pewter** (the *page* — the dominant background, a flat cool grey, never white)
- `#C6CDD4` — **Pale Pewter** (inset plate backgrounds, footnote rules, the "lighter ink" of margin annotations)
- `#B8A36B` — **Tarnished Brass** (the single restrained accent — drop-cap initials, the depth indicator's travelling mark, the colophon's follow-line; used on no more than three elements per screen)
- `#E9EBEE` — **Bone** (the very lightest highlight inside metallic gradients only — never a full background)

Background is **Cold Pewter `#A9B3BD`**, not white and not dark; the whole site reads as ink-on-cool-metal. The two-stop "brushed metal" gradient (`linear-gradient(105deg, #7E8A99, #C6CDD4, #7E8A99)`) appears only on the depth gauge and the thin chapter-divider rules — never on text, never on large areas. Tarnished Brass is the *only* warm hue and it is rationed like gold leaf.

## Imagery and Motifs

**Line-illustration, generated — the sole imagery mode. No photography. No 3D. No icons. No stock anything.** Every image on the site is an SVG (or canvas) drawn at runtime by a small deterministic generator from a single hard-coded seed, so the strata are reproducible but algorithmically grown.

Required generative assets:

- **The Strata Plates** (one full-height per chapter, plus small insets). A vertical stack of 6–14 horizontal bands. Each band has: a slightly wavering top contour (a low-frequency sine plus seeded noise), an interior fill in one navy value, and a dense hatching of hairline strokes (0.5–0.8px, Petrol Navy) at a band-specific angle and density. The "layer one" band is always topmost and thinnest; the "layer two" band always second and always rendered one navy-step brighter and ~1.4× thicker — the visual thesis of the whole site, repeated in every plate.
- **The Seam.** In Chapter III's plate the contact line between layer one and layer two is drawn *imperfectly on purpose*: it pinches, it has a hairline gap in one place, a small lens of pewter intrudes. The seam is where the book is honest.
- **Particulate drift.** Sparse 1px dots of Brushed Steel scattered (Poisson-disc, seeded) through the lighter bands — sediment, dust, the grain of old paper. Slowly, almost imperceptibly drifts downward on scroll (sub-pixel parallax).
- **Drop-cap initials.** Each chapter opens with a generative initial: a serif capital (Cormorant outline) whose counter and bowl are filled with a miniature strata-hatch in Tarnished Brass. Book-scholarly through and through.
- **Marginalia glyphs.** Tiny mono-set footnote numerals, a hairline manicule (☞) drawn as line-art for the one or two "see also" notes, a small etched compass-less depth-tick motif used as the section bullet.

Recurring motifs: **book-scholarly** (frontispiece, plates, drop caps, footnotes, colophon, errata — the entire furniture of a scientific monograph) and **stratification** (every plate, the depth gauge, the chapter pacing). Decorative grammar = horizontal bands, hairline hatching, brushed-metal rules, foxed-corner shadows on inset plates. Nothing rounded, nothing glowing, nothing floating cheerfully.

## Prompts for Implementation

Build layer-2.quest as **one route, one long vertical descent — a digital monograph, not a landing page.** One `index.html`, one stylesheet, one ES module for the generative plates and the depth gauge. The reader should feel they are sinking slowly through a cross-section of layered strata while reading a plainspoken, slightly weary expert's treatise on the idea of the second layer. Target a 90-second unhurried read.

**Forbidden, absolutely:** no navbar / sticky header / hamburger; no hero CTA button; no pricing tiers; no feature-card grid; no stat counters ("10,000 transactions/sec" — never); no testimonial wall; no logo-cloud "trusted by" strip; no newsletter modal; no rounded pill buttons; no white background; no stock photos; no emoji; no exclamation marks in copy. If a way to "follow further work" is needed, it lives once, in the colophon, as a single italic line of Spectral with a Petrol-Navy underline-draw on hover — that is the only interactive link of its kind on the page.

**Generative plates (the centrepiece):** write a tiny seeded PRNG (mulberry32 or xmur3 — a dozen lines). From the fixed seed, generate each Strata Plate as SVG: N bands with wavering top contours (sum of 2–3 low-freq sines + value-noise, amplitude 4–14px), per-band fill from the navy ramp, per-band hairline hatching (`<line>` elements or a `<pattern>`, stroke 0.5–0.8px `#2C4868`, angle and spacing seeded), and seeded particulate dots in the lighter bands. **Hard rule encoded in the generator:** band index 0 = "layer one", thinnest, plain `#1B2E47`; band index 1 = "layer two", ~1.4× thicker, one step brighter (`#2C4868` over a `#C6CDD4` underlay) — programmatically enforced, with tiny mono labels rendered beside both. Re-run on resize but with the *same* seed so it is stable. Respect `prefers-reduced-motion` by skipping the drift animation but keeping the static plates.

**The depth gauge:** a `position: fixed` left-margin element, 28px wide, full viewport height, brushed-metal gradient, etched with hairline ticks at each chapter and tiny `IBM Plex Mono` numerals ("0 m" at top, descending). A travelling indicator in Tarnished Brass tracks scroll progress; ticks are clickable anchors with smooth scroll. Hidden below 900px width; on mobile the chapter titles get a small mono "—4 m" depth tag inline instead.

**Bounce-enter:** as each chapter `<section>` enters the viewport (IntersectionObserver), animate it from `translateY(-22px)` + `opacity 0` to rest with a single damped overshoot — `cubic-bezier(.22,1.4,.36,1)` over ~620ms, or a small spring. The settle should read like a heavy page falling flat or sediment compacting. Stagger child paragraphs by ~70ms. Drop caps bounce in a half-beat after their paragraph. Footnotes do *not* bounce — they just are, like printed text.

**Texture & detail:** apply a faint SVG-`feTurbulence` paper grain over the whole pewter background at ~3% opacity; give inset plates a 1px Pale-Pewter border and a soft offset shadow only on the bottom-right two corners (a book lying slightly curled); set body text in Spectral with old-style figures if the variant allows; render footnote numerals as superscript mono; keep all rules and dividers as 1px hairlines, never thicker. Selection colour: Tarnished Brass on Deep Navy.

**Copy direction:** plain, declarative, occasionally dry. Open Chapter IV with something like "Here is what the second layer cannot do." Admit limitations. Use real footnotes for the asides. The errata list should contain at least one genuine-sounding correction ("In an earlier version of this page, Chapter II conflated a validium with a sidechain. It does not anymore."). End the colophon by naming the seed and the algorithm in one mono line. Never sell. Let the strata do the persuading.

## Uniqueness Notes

Differentiators against the 300-design corpus:

1. **Cold pewter ink-on-metal, not white and not dark.** The corpus is 98% warm palettes and overwhelmingly gradient; navy-metallic sits at only 3%, and almost no site uses a flat *cool grey* (`#A9B3BD`) as the dominant page colour. layer-2.quest is the metallic monograph nobody else printed.
2. **Zero navigation — a left-margin depth gauge instead.** Minimal-navigation is 6% in the corpus, but even those sites keep a header or a menu. This site has *none*: the only persistent UI is an etched brushed-metal depth meter that counts downward in metres. Navigation reframed as descent through strata.
3. **The imagery is genuinely generated, with an algorithmic thesis baked in.** generative-art imagery is 7% and line-illustration 5%; their intersection — *seeded, deterministic line-strata grown at runtime* — is essentially unclaimed. And the generator is *editorial*: it programmatically enforces that "layer two" is always thicker and brighter than "layer one," making the artwork argue the site's point.
4. **book-scholarly used as full structure, not decoration.** book-scholarly motifs are 3% in the corpus. Here the *entire site* is a monograph — frontispiece, numbered chapters, plates, drop caps, real footnotes, colophon, and a real errata list — not a marketing page wearing a serif font.
5. **bounce-enter as "sediment settling," not bouncy fun.** bounce-enter is 4% and usually used playfully; here a single damped overshoot reads as a heavy page falling flat or a layer compacting — bounce recontextualised as geological weight.
6. **raw-authentic carried to the point of an honest "what this cannot do" chapter** — a whole section (Chapter IV) of limitations with no spin, against a corpus where 98% of sites are warm-and-inviting and bold-confident.

Chosen seed (from assignment): **aesthetic: generative, layout: minimal-navigation, typography: elegant-serif, palette: navy-metallic, patterns: bounce-enter, imagery: line-illustration, motifs: book-scholarly, tone: raw-authentic** — every dimension here is an *underused* one per the frequency analysis (generative 14%, minimal-navigation 6%, elegant-serif 4%, navy-metallic 3%, bounce-enter 4%, line-illustration 5%, book-scholarly 3%, raw-authentic 3%).

Avoided overused patterns flagged by frequency analysis: **hand-drawn** (97% — refused; everything here is algorithmically generated, not hand-sketched), **photography** (98% — none), **glassmorphism** (71% — refused; surfaces are matte metal and paper, never frosted glass), **warm + gradient palettes** (98%/97% — refused; cool, near-flat, single rationed warm accent), **card-grid / centered / full-bleed layouts** (88%/86%/93% — refused; one left-anchored asymmetric column), **parallax / cursor-follow / spring as default flourish** (96%/89%/86% — only a sub-pixel sediment drift and a single damped bounce, nothing cursor-reactive).
<!-- DESIGN STAMP
  timestamp: 2026-05-11T01:09:44
  domain: layer-2.quest
  seed: seed
  aesthetic: layer-2.quest is a quiet monograph about the second layer of everything** — the ...
  content_hash: 0b61fcad1fa5
-->
