64 lines
4.4 KiB
Markdown
64 lines
4.4 KiB
Markdown
# CHRNX Character-Led Sections Design
|
||
|
||
## Objective
|
||
|
||
Make the approved CHRNX alter ego the consistent visual anchor of every major section. The character must read as part of the identity, not as a small decoration, while content remains readable and standard WordPress data remains portable.
|
||
|
||
## Shared composition
|
||
|
||
Every major section opening uses the same visual grammar:
|
||
|
||
- a contained editorial frame with text occupying roughly 55–60% and one primary alter ego occupying 40–45% on desktop;
|
||
- a visible upper-body or three-quarter portrait anchored to the bottom edge, never reduced to a corner thumbnail or hidden behind a content card;
|
||
- one theme-aware color wash, halo, collage texture, and grounded shadow behind the portrait;
|
||
- clear separation between foreground character, atmospheric graphic layer, and readable content;
|
||
- text first and the complete character below it on mobile, with no overlap, clipping, or horizontal overflow;
|
||
- responsive AVIF/WebP markup, intrinsic dimensions, and lazy loading below the fold.
|
||
|
||
The visual effect follows the approved mockup: distressed character cutout, colored ambient field, soft depth, and graphic fragments behind the person. It does not create a generic rectangular image gallery.
|
||
|
||
## Surface mapping
|
||
|
||
- Home Projects and Projects: Code is the primary character. Research may appear only as a lower-opacity depth layer.
|
||
- Home Music and Music: the isolated musician is primary. The No Names collage is an atmospheric layer behind the character and remains secondary.
|
||
- Podcasts landing and the real `/show/silicon-ranch/` taxonomy archive: Podcasts is the primary character, fully visible above and beside podcast content. The unused insertable `podcast-show` pattern remains available but is not treated as a public page until real Buzzsprout/show data is supplied. Episode cards must never cover or compress the character.
|
||
- About: Life is the primary character. Literature and Gaming become a later secondary facets gallery, not coequal hero figures.
|
||
- Topic archives: the current topic's mapped character is primary. A show archive maps its art to Podcasts while preserving the show name as its title. Unknown contexts retain a labeled hero and an accessible decorative CSS fallback.
|
||
- Journal cards and individual post cards continue to use featured media or CSS topic fallbacks; alter egos are not repeated on every card.
|
||
|
||
## Title alignment
|
||
|
||
Primary visible titles are centered consistently:
|
||
|
||
- page and single-post H1;
|
||
- archive and search H1;
|
||
- landing-page primary H2 when the page template already supplies the semantic H1;
|
||
- topic-hero primary title.
|
||
|
||
Metadata, paragraphs, project names, release names, card titles, form labels, and internal section headings retain natural reading alignment. Centering must not reduce the post reading measure or disturb metadata wrapping.
|
||
|
||
## Podcast repair
|
||
|
||
The latest-podcast card must keep a viable text column at every supported width. Its media and copy use `minmax(0, ...)`, bounded media dimensions, and content-aware stacking. Long titles and excerpts must wrap normally; no narrow vertical strip, clipping, or hidden text is allowed.
|
||
|
||
## Accessibility and performance
|
||
|
||
- Decorative portraits use empty alternative text and `aria-hidden`; meaningful Music artwork keeps its approved alternative text.
|
||
- Text contrast remains WCAG 2.2 AA in explicit light and dark themes.
|
||
- No content is communicated only by the portrait or by color.
|
||
- No new eager below-fold image requests.
|
||
- Reduced motion produces the same static composition.
|
||
- The existing responsive derivative pipeline is reused; source PNG/JPEG files are never overwritten.
|
||
|
||
## Acceptance criteria
|
||
|
||
- Every mapped surface visibly uses the correct primary character at comparable prominence.
|
||
- Character width is 35–48% of its desktop frame and at least 62% of the available mobile frame where art is present.
|
||
- The portrait face, torso, and defining prop remain visible; no card covers the primary portrait.
|
||
- Music collage remains behind the isolated musician.
|
||
- About opens with Life and renders Literature/Gaming only in a secondary facets region.
|
||
- Main titles are centered according to the title-alignment matrix; internal/card titles are not globally centered.
|
||
- Podcast cards preserve at least a practical 28ch text measure on desktop and stack without clipping on mobile.
|
||
- Light/dark at 375, 768, 1440, and 2560 have no horizontal overflow or content overlap.
|
||
- Existing keyboard, no-JavaScript, theme-preference, permalink, and WCAG tests remain green.
|