Files
chrnx-dev-wp/docs/superpowers/specs/2026-08-12-editorial-polish-design.md
T

48 lines
3.9 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# CHRNX Editorial Polish Design
## Objective
Turn the current functional theme into a compact editorial site that feels like a nocturnal creative workshop. Preserve the approved CHRNX identity, content model, light/dark/system preference, responsive mobile header, and accessible keyboard behavior.
## Visual direction
The site uses a continuous low-contrast atmospheric gradient instead of a page-wide grid. Dark mode blends Night, a restrained violet bloom, and a faint green bloom; light mode uses warm paper with similarly restrained color. Decorative patterns may remain inside individual cards or fallback artwork, but not across the page canvas.
The home introduction becomes a compact editorial hero. On desktop it should occupy roughly 60–68 viewport-height units with a practical maximum, rather than dominating the first screen. Its title remains the primary statement but uses a wider measure and tighter responsive scale. The metadata kicker, introductory copy, and circular autism-infinity-inspired accent remain supporting elements rather than separate focal points.
Sections after Journal should no longer read as a repetitive stack. Selected Work uses a contained raised surface and layered portraits; Music becomes a collage composition with the band artwork and isolated musician sharing one visual frame; Podcast, About, and Subscribe use distinct but related panel treatments and tighter vertical rhythm. Portraits receive deliberate contrast, shadow, masking, or gradient overlays rather than appearing as untreated rectangular exports.
## Navigation and focus
Primary and footer navigation use Zen Maru Gothic at a compact weight so they belong to the same typographic voice as the content. Navigation links have no default underline. Hover and the current destination use accessible green; the current destination also receives `aria-current="page"` and a restrained visual marker that does not rely on color alone.
Keyboard focus remains visible. The existing double-box appearance is replaced with a thin rounded halo using `box-shadow` and a transparent outline fallback. Search, Theme, and Menu must retain at least 3:1 focus-indicator contrast in both themes. No focus indicator is removed without replacement.
## Footer
The footer becomes an opaque workshop surface with a clear upper border and internal spacing. Its site name, navigation, credit, and Sinaloa line use the theme's heading/metadata type families rather than browser-generic styling. Footer links have no permanent underline, but preserve hover and focus affordances.
## Permalink repair
The local fixture seeder must synchronize the live `WP_Rewrite` object whenever it changes or restores `permalink_structure`, before flushing rules. A seeded published post must resolve through its pretty permalink with HTTP 200. This is a local fixture defect, not content replacement, and the snapshot/restore guarantees remain intact.
## Constraints
- Preserve all light/dark/system precedence and no-JavaScript behavior.
- Preserve the approved mobile header structure and 44-pixel targets.
- Do not publish, deploy, push, or replace synthetic fixtures with public content.
- Do not add animation or motion-dependent meaning.
- Maintain WCAG 2.2 AA automated checks and meaningful visible focus.
- Keep changes localized to visual CSS, navigation/footer rendering, fixture rewrite synchronization, and their tests.
## Acceptance criteria
- Neither theme renders a global repeating grid.
- The desktop hero is visibly shorter and the mobile hero avoids excessive blank space.
- Primary/footer navigation is un-underlined, typographically integrated, and exposes a correct current state.
- Search/Menu/Theme focus is visible but no longer appears as a double rectangular outline.
- Footer has an opaque theme-aware surface.
- Home sections following Journal have distinct surfaces and deliberate image treatment.
- Seeded post permalinks return 200 instead of 404.
- Focused tests and the full PHP/JS/Playwright matrix pass.