# Design Language for layer2.quest

## Aesthetics and Tone

layer2.quest inhabits the visual territory of a speculative cartography studio operating from the substrata of the internet -- a place where protocol diagrams become topographic maps and network layers are rendered as geological cross-sections. The aesthetic is **flat-design** in the purest sense: no drop shadows, no gradients, no skeuomorphic depth cues. Every element exists on a single infinite plane, distinguished only by color weight, scale, and spatial proximity. But this is flat-design pushed into territory it rarely visits -- the mysterious, the atmospheric, the nocturnal. Think of Otl Aicher's Munich Olympics pictograms reimagined for a civilization that communicates exclusively through packet headers. Think of Dieter Rams designing signage for an underground data center carved into Icelandic basalt.

The tone is **mysterious-moody**: sentences arrive incomplete, information reveals itself reluctantly, and the viewer always feels they are seeing only the surface layer of something far deeper. There is no cheerfulness here, no reassurance. The site speaks in the register of a field guide to phenomena that have not yet been fully catalogued -- precise in its notation, unsettled in its conclusions. Every screen implies the existence of layers beneath it that the viewer has not yet earned access to. The mood draws from the liminal quality of arctic twilight, where the sky cycles through impossible blues and greens without ever committing to daylight or darkness.

## Layout Motifs and Structure

The layout is a **portfolio-grid** system, but one that behaves more like a specimen collection drawer than a conventional project showcase. The grid is a strict 12-column system at desktop widths (1440px reference), but content occupies it in deliberately irregular configurations -- a 7-column block adjacent to a 3-column block with 2 columns of emptiness; a full 12-column band followed by three 4-column cells of different heights. The irregularity is controlled: items never overlap, alignment is always snapped to the grid, but the compositions shift from section to section like plates in an atlas where each page maps a different territory.

Vertical rhythm follows a base unit of 8px, with section breaks marked by a 120px gap -- a substantial void that functions as a visual "layer boundary." Within each section, elements are spaced at 16px, 24px, or 48px intervals only. There is no in-between. This strict spacing discipline is the structural backbone that lets the irregular grid feel intentional rather than chaotic.

Navigation is minimal: a single fixed element in the top-left corner displaying the current "layer depth" as a numeral (L0, L1, L2, L3...) that updates as the viewer scrolls. No hamburger menu, no nav bar, no footer links. The numeral is set in Playfair Display at 1.2rem, cool gray on darker gray, understated to the point of near-invisibility. A thin 1px horizontal rule spans the full viewport width at the very top, the only persistent horizontal in the entire composition.

At mobile widths (below 768px), the grid collapses to a 4-column system, and the portfolio items stack vertically, each occupying the full 4 columns. The irregular compositions are preserved in a linearized form: height variations become spacing variations, and the visual rhythm translates from spatial to temporal as the user scrolls.

## Typography and Palette

**Typography:**

- **Display / Headlines:** "Playfair Display" (Google Fonts) -- weight 700, both regular and italic. The high-contrast thick-thin strokes of Playfair carry an engraved quality that evokes cartographic title blocks -- the elegant lettering that once graced the borders of nautical charts and geological survey maps. Used at 2.8rem-5rem for section titles, always in sentence case. Letter-spacing: -0.02em at display sizes to tighten the rhythm and emphasize the serif's vertical stress. The italic variant is reserved for single emphasis words within headings, never for full headlines.

- **Body Text:** "Inter" (Google Fonts) -- weight 400 for body, 500 for emphasis, 300 for captions and metadata. Inter's rationalist geometry and excellent screen rendering at small sizes makes it the perfect counterpart to Playfair's ornamentation. At 1rem (16px base), line-height 1.65, it reads with quiet authority. Body text is set in a slightly warmed gray (#B0B8C4) against dark backgrounds, never pure white -- the reduced contrast is deliberate, pulling the reader in rather than projecting outward.

- **Monospace / Data Labels:** "IBM Plex Mono" (Google Fonts) -- weight 400, used exclusively for layer indicators, coordinate-style labels, protocol notations, and any element that represents systematic classification. Set at 0.8rem with letter-spacing +0.06em. Color: #6B7A8D, a muted steel blue that distinguishes data notation from body content without competing for attention.

**Palette:**

The palette is **cool-grays** -- a temperature-controlled spectrum that moves from near-black to blue-tinged silver, punctuated by a single accent color derived from aurora phenomena.

| Role | Color | Hex | Description |
|------|-------|-----|-------------|
| Deep substrate | Obsidian | #0D1117 | The deepest layer -- backgrounds, the void beneath everything |
| Primary surface | Basalt | #161B22 | Card backgrounds, content containers, the "ground" of the grid |
| Elevated surface | Slate | #21262D | Hover states, active sections, subtle elevation without shadow |
| Border / rule | Iron | #30363D | The 1px lines that define grid structure, dividers, boundaries |
| Secondary text | Pewter | #6B7A8D | Labels, captions, metadata, IBM Plex Mono data elements |
| Primary text | Silver | #B0B8C4 | Body text, Inter weight 400, the primary reading surface |
| Headline text | Frost | #E2E8F0 | Playfair Display headlines, high-emphasis elements |
| Aurora accent | Borealis | #58E3C1 | The singular chromatic disruption -- aurora green-cyan, used sparingly |
| Aurora secondary | Ionosphere | #7B6FEE | A deep violet companion to Borealis, for layered aurora effects |

The aurora accent (#58E3C1) appears in no more than 5% of the total visual surface area. It marks interactive elements, current-state indicators, and the layer-depth numeral. Its companion violet (#7B6FEE) appears only in the aurora light motif animations and never as a UI element color. The discipline of restraint is critical: the gray world must dominate, with the aurora colors functioning as phenomenon rather than decoration.

## Imagery and Motifs

**Vector Art as Cartographic Specimen:**
All imagery is **vector-art** -- clean, flat SVG illustrations rendered in the cool-gray palette with selective aurora accents. The illustration style draws from three specific traditions: (1) the diagrammatic precision of Edward Tufte's information graphics, (2) the stylized flatness of mid-century airline route maps, and (3) the specimen-plate quality of 19th-century scientific illustration stripped of its shading. Every vector element is built from geometric primitives -- circles, rectangles, lines, arcs -- combined to suggest complex structures without organic curves.

Specific vector elements to create:

1. **Layer Cross-Sections:** Full-width SVG diagrams showing horizontal strata, like geological cross-sections. Each stratum is a flat band of a different cool-gray shade, labeled with IBM Plex Mono notation (L0, L1, L2...). The aurora accent traces the boundary between specific layers as a thin glowing line.

2. **Network Topology Maps:** Grid-based node-and-edge diagrams where nodes are simple circles (12px-24px diameter) in Slate or Iron gray, and edges are 1px Iron lines. Active paths glow with the Borealis accent. These maps are not decorative -- they suggest actual infrastructure, readable like transit diagrams.

3. **Coordinate Markers:** Small SVG elements (crosshairs, grid coordinates, measurement ticks) scattered in the margins of the portfolio grid. These are always in Pewter (#6B7A8D) and IBM Plex Mono, giving the impression that the page itself is a measured surface, a map with grid references.

4. **Aurora Curtains:** The signature decorative motif -- SVG paths that simulate the draped-curtain form of aurora borealis. These are rendered as stacked translucent shapes in Borealis (#58E3C1) and Ionosphere (#7B6FEE) with CSS opacity layering (0.05 to 0.15). They appear at section boundaries, rising from the bottom of one section into the top of the next, as if the aurora is leaking through the seams between layers.

**Aurora-Lights Motifs:**
The aurora motif is the primary decorative vocabulary. It manifests in three forms:
- **Ambient glow:** Radial gradients of Borealis at 3-5% opacity behind portfolio grid items, creating a faint luminous haze that shifts position on scroll. Implemented as CSS `radial-gradient` on pseudo-elements.
- **Edge shimmer:** A 2px animated border effect on hovered grid items where the border color transitions between Borealis and Ionosphere over 4 seconds using CSS `@keyframes` and `border-image` with a `linear-gradient`.
- **Curtain SVG:** Full-width SVG aurora bands at section transitions, as described above.

## Prompts for Implementation

**Full-Screen Narrative Scroll:**
The site opens to a full-viewport obsidian (#0D1117) screen. Centered vertically at 40% from top, "layer2.quest" appears in Playfair Display Italic at 4.5rem, color Frost (#E2E8F0). Below it, a single line in IBM Plex Mono at 0.85rem reads "L0 / surface" in Pewter (#6B7A8D). There is nothing else. No navigation, no scroll indicator, no animation. The stillness is the statement. After 2 seconds of inactivity, a faint aurora curtain begins to materialize at the very bottom of the viewport -- barely visible, just a 3% opacity wash of Borealis rising 80px from the bottom edge. This is the only invitation to scroll.

**Scroll-Triggered Layer Reveal:**
As the user scrolls past the hero, the portfolio grid sections are revealed through a scroll-triggered animation sequence. Each portfolio grid item enters from 0% opacity and 20px downward offset, transitioning to full visibility over 600ms with an ease-out-cubic curve. Items within the same row stagger by 120ms. The layer-depth indicator in the top-left corner updates its numeral with each major section boundary, using a CSS `counter` that increments based on which section is in the intersection observer's threshold.

**Aurora Pulse on Interaction:**
When a portfolio grid item is hovered (desktop) or tapped (mobile), the aurora accent activates. The item's background shifts from Basalt (#161B22) to Slate (#21262D) over 300ms. Simultaneously, the edge shimmer effect activates: the item's border transitions from Iron (#30363D) to a 2px border cycling between Borealis (#58E3C1) and Ionosphere (#7B6FEE). A subtle radial gradient of Borealis at 5% opacity expands from the cursor position outward, implemented via CSS custom properties `--mouse-x` and `--mouse-y` updated by a lightweight JavaScript `mousemove` listener.

**Path-Draw SVG Animation:**
The network topology maps and layer cross-sections use SVG `stroke-dasharray` and `stroke-dashoffset` animations triggered by Intersection Observer. When these diagrams scroll into view, their paths draw themselves over 1.5-2 seconds, starting from the leftmost point and tracing rightward. The aurora accent paths draw last, appearing 400ms after the gray structural lines complete, as if the glow is arriving after the infrastructure.

**Flat-Design Discipline:**
Enforce strict flat-design rules throughout: zero `box-shadow`, zero `text-shadow`, zero CSS gradients on surfaces (gradients appear only in the aurora motif pseudo-elements and SVG artwork, never on interactive UI surfaces). Elevation is communicated exclusively through color value shifts within the cool-gray palette. A card at rest is Basalt; a card hovered is Slate; a card active is Iron. The progression is luminance-only, never shadow-based. Border-radius is set globally at 2px -- barely perceptible, just enough to soften the industrial precision without introducing softness.

**AVOID:** CTA-heavy layouts, pricing blocks, stat-grids, testimonial carousels, hero images with text overlay, gradient backgrounds on containers, drop shadows, rounded-pill buttons, bright accent colors used for large surface areas, any layout that resembles a SaaS landing page.

**Storytelling Emphasis:**
The scroll experience should feel like descending through layers of an unknown structure. Each section reveals more detail, more complexity, more aurora activity. The first section is sparse and dark. The second introduces the grid with faint coordinate markers. The third populates the grid with vector specimens. The fourth activates the aurora motifs. By the final section, the aurora curtains are at their most visible (still restrained at 15% max opacity), and the layer-depth indicator reads its highest numeral. The narrative arc is one of gradual illumination -- literally and metaphorically -- as the viewer goes deeper.

## Uniqueness Notes

**Differentiators from other designs:**

1. **Flat-Design Without Friendliness:** Flat-design at 1% frequency in the portfolio is typically deployed for clean, approachable interfaces. This design weaponizes flat-design for mystery and atmosphere -- no shadows, no gradients on surfaces, no depth cues, yet the result is not minimal-corporate but geological-nocturnal. The flatness becomes a statement about layers and depth (or their deliberate absence on the surface), which directly maps to the domain's "layer" concept.

2. **Aurora-Lights as Sole Chromatic Disruption:** The aurora-lights motif at 0% frequency is entirely absent from all other designs. Here, it serves as the only color vocabulary beyond the cool-gray spectrum. The Borealis (#58E3C1) and Ionosphere (#7B6FEE) pair function like bioluminescence in deep ocean -- brief, precious, and always suggesting the presence of something alive beneath the gray surface. No other design restricts its chromatic accent to a phenomenon-based motif.

3. **Portfolio-Grid as Specimen Drawer:** Portfolio-grid at 2% frequency is almost never used, and when it appears, it serves conventional project showcases. This design reconceives the portfolio-grid as a cartographic specimen collection -- each grid item is a vector-art specimen plate with coordinate markers, layer notations, and topology diagrams rather than project thumbnails. The grid is the map; the items are the territories.

4. **Vector-Art Cartographic Illustration System:** Vector-art at 1% frequency is essentially unused. This design builds an entire illustration vocabulary from flat geometric SVG primitives: cross-sections, topology maps, coordinate markers, and aurora curtains. Every visual element is constructed, not photographic or photographic-derivative, creating a hermetic visual world that could only exist in this design.

5. **Layer-Depth Scroll Counter as Navigation:** No other design uses a scroll-position-reactive numeral as the sole navigation device. The L0/L1/L2/L3 indicator replaces conventional navigation entirely, reinforcing the descent-through-layers narrative while providing wayfinding through pure typography.

**Chosen seed/style:** aesthetic: flat-design, layout: portfolio-grid, typography: playfair-elegant, palette: cool-grays, patterns: scroll-triggered, imagery: vector-art, motifs: aurora-lights, tone: mysterious-moody

**Avoided patterns from frequency analysis:**
- Avoided playful aesthetic (96%) -- used flat-design (1%) instead
- Avoided centered layout (99%) -- used portfolio-grid (2%) with irregular column occupancy
- Avoided warm palette (100%) -- used cool-grays (7%) with aurora accents
- Avoided gradient palette (90%) -- used flat color fields with aurora phenomena as the only gradient element
- Avoided friendly tone (98%) -- used mysterious-moody (2%) throughout
- Avoided vintage motifs (80%) -- used aurora-lights (0%), entirely novel in the portfolio
- Avoided minimal imagery (94%) -- used vector-art (1%) with a full cartographic illustration system
- Avoided photography imagery (73%) -- zero photographic elements, all constructed SVG
<!-- DESIGN STAMP
  timestamp: 2026-03-10T11:58:44
  domain: layer2.quest
  seed: seed
  aesthetic: layer2.quest inhabits the visual territory of a speculative cartography studio o...
  content_hash: c20a5bf0882e
-->
