META / DESIGN SYSTEM

The Container

This page documents the design decisions for sunlitmoon.online so that the presentation substrate itself is auditable, versioned, and load-bearing. The thesis ("own the algorithmic bottleneck") applies to the web artifact that carries it.

Core Principles (Non-Negotiable)

Information Architecture

Linear canon for the already-converted ("read in order; they build") plus orthogonal access for the curious:

Breadcrumbs implicit via header nav + series nav in posts. No mega-menu. Friction is a feature for the converted; on-ramps exist for others.

Typography & Measure

Body copy targets 65–72ch (enforced via --measure: 68ch on main containers). Line-height 1.72 for dense prose.

Display / headings: Fraunces Variable or Inter for weight. Serif for ledes where voice needs gravity (Source Serif 4 / Fraunces). Mono: JetBrains Mono Variable for all code, terminals, data, tokens.

Self-hosted WOFF2 variable fonts only. No Google Fonts ever again (previous stax-brand.css violation removed in this redesign).

Color & Tokens

--bg: #0D0E15;        /* Deep Cathedral Void */
--bg-raised: #0A0A0E;
--text: #F4F1EA;      /* Parchment */
--text-soft: rgba(244,241,234,0.6);
--accent: #FF9E00;    /* Molten Iron */
--rule-strong: #3f3f46;
--measure: 68ch;

Accents are purposeful "sunlit" moments on an otherwise brutalist field. Selection color inverts to accent.

Components & Patterns

Build & Pipeline (The Actual Substrate)

Custom Zig 0.16 binary (blog-build in tools/blog-builder/):

OG cards via scripts/gen-og-images.py + rsvg. Pagefind for client search (static index). No runtime server for the journal itself.

Current Gaps & Roadmap (Auditable)

Proof Level

This page itself is the design receipt. Changes land via the same builder. The CSS and Zig source are the implementation. No Figma theater; the production artifact is the spec.

Related substrate: the blog-builder itself (Zig), the visualizer JS modules, the diagram SVGs.

Last edited: 2026-06-02. Version-stamped by the same discipline as the rest of the canon.