# Design Language for lrx.wiki

## Aesthetics and Tone

`lrx.wiki` is a **celestial field guide written by someone who finds the night sky deeply comforting**. The aesthetic is muji-clean — spare, functional, unhurried — but set against a midnight canvas that breathes with soft starlight. Imagine a beautifully typeset field notebook left open on a blanket under Cygnus on a warm July night: cream paper, rounded handwriting, a small torch casting warm light on the page, and the Milky Way blurring into the margins.

This is not a "dark mode" site. Dark mode is a toggle, a preference. This site *is* night. The darkness is the content, not the container. Against deep midnight blue, every element — a heading, a horizontal rule, a small star-dot — is deliberate, like a constellation that only becomes meaningful once you accept the surrounding dark.

The tone is **friendly and curious**: a knowledgeable friend who gets genuinely excited explaining something they love, who uses em-dashes and parentheses freely, who never condescends, who draws little diagrams in the margins. Not a tutorial, not a textbook — a letter. The muji restraint keeps the friendliness from becoming cloying; the celestial motifs keep it from becoming bland.

**Mood board in words:** the inside cover of a Hobonichi Techo, a Hayao Miyazaki sky at dusk, a physical Muji pen writing on dot-grid paper, a constellation atlas from 1835, warm lamplight on an indigo cloth, the sound of distant wind chimes.

## Layout Motifs and Structure

The layout is **full-bleed immersive** — the midnight-blue ground extends to every edge of the viewport with no borders, no cards, no containing boxes. But "full-bleed" here does not mean "hero image with a nav bar floating on top." It means the *sky is the page*, and content emerges from it like stars emerging at twilight: gradually, purposefully, one element at a time.

**Structural logic:**

- A single generous reading column — **680px max-width, centered** — floats inside the full-bleed night sky. On mobile it expands to 92vw. This column is not boxed; it has no border, no card treatment. It simply *is* where the text lives.
- **Horizontal rhythm** is enforced with a 24px baseline grid. Every paragraph, heading, and decorative element snaps to this grid so the page reads with the even cadence of sheet music.
- **Section breaks** are not `<hr>` lines — they are **sparse star-clusters**: three to five small SVG dot-stars (3px, 4px, 2px, varied) arranged in a loose hand-placed cluster, centered, with 48px vertical breathing room above and below.
- **Margin annotations**: on desktop (>1100px), a 220px right gutter is available for marginal notes — small, de-emphasized asides in a lighter weight and smaller size, set in the right margin at the y-position of the paragraph they annotate. These are decorative-functional: they add depth without requiring navigation.
- **No sticky navigation.** The page is meant to be scrolled without interruption. If navigation exists, it lives at the top and bottom only — a single-line constellation of text links, each separated by a centered dot glyph `·`.
- **Constellation connector lines**: between major sections, a thin SVG path (0.5px stroke, 15% opacity) traces a straight line connecting two star-cluster dividers, evoking the lines drawn between stars in a printed atlas. This line is purely decorative and fades in on scroll.

## Typography and Palette

**Type system (all verified on Google Fonts):**

- **Display headings — `Nunito`** (variable, wght 200–900). Set H1 at wght 700, letter-spacing −0.02em, size 56px (desktop) / 36px (mobile). The rounded terminals of Nunito are the typographic embodiment of the playful-rounded seed: they are warm without being childish, friendly without being bubbly. H2 at wght 600, size 32px. H3 at wght 500, size 22px, with a 2px underline-draw animation (see Patterns).
- **Body — `Nunito`** as well, wght 400, size 17px, line-height 1.75. Using a single family for the entire site is a muji principle: sufficiency over accumulation. The weight range does all the work that a second family would need a second typeface to accomplish.
- **Annotations and captions — `Nunito`**, wght 300, size 13px, opacity 0.65, letter-spacing +0.03em. This is the "field-note handwriting" voice — lighter, slightly airy, clearly subordinate.
- **Code/inline technical — `JetBrains Mono`** (Google Fonts), wght 400, size 15px, background `rgba(255,255,255,0.06)` with 4px border-radius. Used sparingly; this is a wiki, not a code repo.

**Palette — midnight-blue with warm star-glow accents:**

| Role | Name | Hex |
|------|------|-----|
| Background / sky | Midnight | `#0d1117` |
| Deep surface | Void | `#111827` |
| Soft surface | Dusk Layer | `#1c2a3a` |
| Primary text | Cream | `#f0ece2` |
| Secondary text | Starlight | `#a8b8c8` |
| Accent — warm | Warm Star | `#f5c842` |
| Accent — cool | Periwinkle | `#7eb8f7` |
| Accent — glow | Aurora Soft | `#9ecbff` |
| Underline draw | Comet Trail | `#f5c842` |
| Noise overlay | Film Grain | `rgba(255,255,255,0.03)` |

The palette is **not gradients** — it is discrete tonal planes, like lithographic layers. The warm star `#f5c842` is used only for underline-draw strokes, star-dot glyphs, and the hover state of links. Everything else is blues-to-cream.

## Imagery and Motifs

**The site uses zero photographs.** The frequency report shows photography at 85% and lens-flare at 3% — this design exits the photography category entirely.

**Star-celestial motif system:**

1. **Star-cluster dividers** — hand-composed SVG clusters of 3–6 circles, varying radii (1.5px–4px), colors cycling between `#f5c842`, `#9ecbff`, and `#f0ece2`, each with a distinct `opacity` (0.4–1.0) to create a sense of distance/proximity. These are the only recurring decorative element. Each cluster is unique (not a repeated stamp).

2. **Noise texture layer** — a full-bleed SVG `<feTurbulence>` filter applied to the body background: `baseFrequency="0.65"`, `numOctaves="3"`, `type="fractalNoise"`. Blended with `mix-blend-mode: overlay` at 3% opacity. This adds the film-grain quality that makes the midnight-blue feel physical rather than digital — like indigo textile rather than a flat hex fill. Critical: the noise is subtle. A visitor should feel it without being able to name it.

3. **Constellation connector lines** — thin `<path>` SVGs (stroke `#7eb8f7`, 0.5px, `stroke-dasharray="3 6"`) connecting paired section-break star clusters. On scroll entry, the path animates from `stroke-dashoffset: 1` to `0` over 800ms, evoking a pen drawing the constellation line.

4. **Single hero star** — at the very top of the page, a single 6px circle in `#f5c842` with a radial glow (`box-shadow: 0 0 18px 4px rgba(245,200,66,0.35)`) serves as the visual anchor. It does not pulse or animate. It simply *is*: a fixed point, a north star.

5. **No iconography** — no icon libraries, no emoji, no heroicons. The only "icons" are the star-dot glyphs and the `·` separator.

**Noise texture as design material:** the grain-overlay unifies the page — headings, body text, and background all share the same film-grain surface, so the page reads as a single unified object rather than layered elements on a screen.

## Prompts for Implementation

Build `lrx.wiki` as **a single vertical scroll through a clear night sky**, where the reader is the observer and the content is the sky. The metaphor is not decorative — it is structural. Every implementation decision should ask: *does this feel like reading a field guide under the stars, or does it feel like using a website?*

**Section 1 — The Opening Sky**
The viewport opens on pure midnight (`#0d1117`) with the single north-star dot centered at 25% from the top. The site title appears below it: `lrx.wiki` in Nunito wght 200, 72px, cream, letter-spacing +0.08em — sparse, wide, quiet. A single line of descriptor text fades in 600ms later at wght 300. No buttons. No CTA. The hero earns its space through restraint.

**Section 2 — Content scroll**
Each content section is separated by a unique star-cluster SVG. As each cluster scrolls into the viewport intersection observer threshold (0.3), the dots fade in with a staggered delay — first the largest, then cascading to the smallest — over a total of 400ms. This is the `stagger` pattern applied to celestial objects.

**The underline-draw interaction**
All `<h3>` elements and all `<a>` links use `underline-draw`: a CSS custom property `--underline-width: 0%` animated to `100%` via a `background-size` change on a `linear-gradient` underline in `#f5c842`. H3 triggers on scroll-entry (one-shot). Links trigger on hover (reversible). Duration: 300ms, `cubic-bezier(0.4, 0, 0.2, 1)`.

**Noise texture implementation**
Use an inline SVG as a `background-image` on `body::after` (position fixed, full viewport, pointer-events none, z-index 9999):
```
<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'>
  <filter id='n'>
    <feTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/>
  </filter>
  <rect width='300' height='300' filter='url(#n)' opacity='0.03'/>
</svg>
```
Encode as a data URI. This is lighter than a PNG grain texture and scales to any resolution.

**Constellation lines**
Between sections 2 and 3 (and 4 and 5 if the page is long), use an `IntersectionObserver` on the connector `<svg>`. When it enters the viewport, set `stroke-dasharray` to the path length, then animate `stroke-dashoffset` from that length to 0. Use a `<path>` with a gentle 15° diagonal rather than a straight vertical — a hint of the oblique angle of constellations in the sky.

**Margin annotations**
On desktop, use CSS `position: absolute` on annotation `<aside>` elements, computing their `top` from the offsetTop of the annotated paragraph. Use `font-size: 13px`, `color: #a8b8c8`, `max-width: 200px`, `line-height: 1.6`. These render at 45% opacity and rise to 80% opacity on hover.

**Avoid:**
- Cards, borders, box-shadows (except the north-star glow)
- Gradient backgrounds (the sky is a flat hex, grain is the texture)
- Animation that calls attention to itself — all motion should feel like atmosphere, not feature
- More than one accent color per screen — the warmth of `#f5c842` should feel rare and meaningful
- CTA blocks, pricing tables, stat grids, testimonial carousels — none of these belong here

## Uniqueness Notes

**Chosen seed (per assignment):** aesthetic: `muji`, layout: `full-bleed`, typography: `playful-rounded`, palette: `midnight-blue`, patterns: `underline-draw`, imagery: `noise-texture`, motifs: `star-celestial`, tone: `friendly`.

**Differentiators from the existing 231-design corpus:**

1. **Muji discipline applied to a dark-mode canvas — a category of one.** The frequency report shows `muji` at effectively 0% (merged under `minimalist` at 10%), and `midnight-blue` palette at only 3%. Every muji design in the corpus is light — white backgrounds, daylight, airy space. `lrx.wiki` takes the muji vocabulary (single family, restraint, sufficiency) and transposes it into night. The result is a design that reads as simultaneously spare *and* atmospheric — a combination the corpus does not contain.

2. **No photography, no illustration, no icon library — pure typographic and geometric night-sky construction.** Photography sits at 85% in the corpus. This design opts out completely, constructing all visual texture from SVG geometry (star dots, connector lines) and a programmatic noise filter. The grain overlay unifies page and content into a single material surface in a way photographs cannot.

3. **The star-cluster divider as a unique site-specific glyph system.** Most corpus designs use `<hr>`, gradient dividers, or section-title typography as breaks. `lrx.wiki` replaces every conventional divider with a hand-composed SVG star cluster — each one distinct, each one sized and colored with slight variation. Visitors internalize the clusters as a visual grammar: *cluster = pause, breathe, new thought*. This is a muji-pattern-language applied to celestial motifs.

4. **Margin annotations as the desktop expression of friendly tone.** The frequency report shows `ma-negative-space` at 3% — only marginalia-style designs use the right column. `lrx.wiki` uses the wide desktop viewport not for a second column of content, but for conversational asides: small, de-emphasized, optional. This is the typographic equivalent of a friend leaning over and adding "oh, also —" in the margin of your notes.

5. **Underline-draw used structurally, not decoratively.** The corpus shows `underline-draw` at 5%, almost always as a hover effect on links. Here it doubles as the primary indicator that an H3 has entered the viewport — a moment of arrival, not a mouseover state. The comet-trail yellow underline under a section heading is the closest the page comes to a "loading" indicator, and it is warm and unhurried rather than functional.

**Reference avoided patterns (from frequency analysis):**
- AVOIDED: hand-drawn (61%), editorial layout (50%), terminal (30%), botanical imagery (25%), glassmorphism (20%), photography (85%)
- AVOIDED: gradient backgrounds (91%), card-grid layouts (high prevalence)
- EMBRACED (rare): muji aesthetic, midnight-blue palette (3%), noise-texture (3%), star-celestial motifs (4%), underline-draw as structural signal (vs. hover-only)
<!-- DESIGN STAMP
  timestamp: 2026-05-08T18:13:54
  domain: lrx.wiki
  seed: designs use the right column
  aesthetic: `lrx.wiki` is a **celestial field guide written by someone who finds the night s...
  content_hash: 30757f0c3698
-->
