No content blocks assigned to this page.
No content blocks assigned to this page.
diff --git a/docs/adr/0004-pages-read-wider-and-sections-keep-real-headings.md b/docs/adr/0004-pages-read-wider-and-sections-keep-real-headings.md
new file mode 100644
index 0000000..666cdf5
--- /dev/null
+++ b/docs/adr/0004-pages-read-wider-and-sections-keep-real-headings.md
@@ -0,0 +1,21 @@
+# Pages read wider, and sections keep real headings
+
+Decided 2026-11-20 for editorial 0.5.7, from the website factory's final render pass (orchestrator WO-096, ADR 0084).
+
+## Context
+
+The website factory compiles a customer's site onto this theme. The render pass screenshots every page at 1280 and 390 pixels and measures text over images and every button against what is behind it.
+
+## Decision
+
+- The light hero scrim is a radial gradient of the theme background centred on the hero text (at 35% across for the left-aligned hero): 84% at the centre, 80% out to 55% of the radius and 40% at the corners. The flat 82% scrim of the last release met contrast but washed the photo out; the text keeps the same backing while the photo reads at the edges. The render harness measures every text element over the photo (orchestrator WO-096).
+- The default page template lays sections out in a 76rem column (`editorial-column--page`) without the article prose styles; the 64ch measure, the paragraph indent and the prose link colours stay for articles. About, contact and blog pages squeezed every section into the article measure, indented every second paragraph of a section and drew the active blog filter pill's label in the accent on its dark fill (1.9:1). Prose link colours now apply only to links without their own classes.
+- Rich section and team headings are serif display headings at their stated size. The tracked small-caps label class set them at 0.72rem, so an inner page had no visible heading.
+- Every preset's primary, secondary, accent and destructive colour meets AA (4.5:1) with its foreground in both schemes. The render pass measures every button, and these pairs were under it: book-paper dark accent; book-paper dark destructive; legal-pad dark destructive; nightdesk dark destructive; sepia-review dark destructive. Each colour moved the least lightness (at most ten points) that reaches 4.5 with its own foreground, and a colour that could not switched its foreground to white or near-black; a token that held the same colour (the ring) moved with it. The orchestrator's brand colour step keeps whatever contrast a preset has, so a preset under AA also left a branded site under it.
+
+## Consequences
+
+- editorial 0.5.7 is published to the dev registry; the orchestrator's `internal/factory/themes.yaml` pins it.
+- No schema field changes.
+
+Keywords: prose-editorial, category filter, pill, presets, AA, button contrast, primaryForeground, accentForeground, editorial, default template, editorial-column, editorial-column--page, rich-section, team, heading, editorial-caps, hero, scrim, radial-gradient, WO-096, website factory, render pass
diff --git a/manifest.yaml b/manifest.yaml
index 327992b..938035d 100644
--- a/manifest.yaml
+++ b/manifest.yaml
@@ -148,6 +148,9 @@ css:
padding-left: 1rem;
padding-right: 1rem;
}
+ .editorial-column--page {
+ max-width: 76rem;
+ }
.editorial-article-grid {
display: grid;
grid-template-columns: 1fr;
@@ -198,7 +201,7 @@ css:
letter-spacing: -0.01em;
color: hsl(var(--foreground));
}
- .prose-editorial a {
+ .prose-editorial a:not([class]) {
color: hsl(var(--accent));
text-decoration: underline;
text-decoration-thickness: 1px;
diff --git a/presets.json b/presets.json
index c8147b4..bd3e236 100644
--- a/presets.json
+++ b/presets.json
@@ -43,13 +43,13 @@
"secondaryForeground": "36 20% 80%",
"muted": "26 8% 16%",
"mutedForeground": "34 12% 58%",
- "accent": "6 62% 56%",
+ "accent": "6 62% 57%",
"accentForeground": "26 10% 10%",
- "destructive": "0 68% 52%",
+ "destructive": "0 68% 45%",
"destructiveForeground": "36 22% 88%",
"border": "28 8% 22%",
"input": "28 8% 20%",
- "ring": "6 62% 56%"
+ "ring": "6 62% 57%"
}
}
},
@@ -99,7 +99,7 @@
"mutedForeground": "32 16% 60%",
"accent": "18 68% 54%",
"accentForeground": "24 18% 10%",
- "destructive": "0 68% 52%",
+ "destructive": "0 68% 44%",
"destructiveForeground": "34 30% 86%",
"border": "26 14% 23%",
"input": "26 14% 21%",
@@ -153,7 +153,7 @@
"mutedForeground": "40 12% 58%",
"accent": "8 64% 55%",
"accentForeground": "220 12% 9%",
- "destructive": "0 68% 52%",
+ "destructive": "0 68% 45%",
"destructiveForeground": "44 20% 88%",
"border": "220 10% 21%",
"input": "220 10% 19%",
@@ -207,7 +207,7 @@
"mutedForeground": "40 10% 60%",
"accent": "352 70% 58%",
"accentForeground": "222 16% 9%",
- "destructive": "0 70% 54%",
+ "destructive": "0 70% 46%",
"destructiveForeground": "40 16% 90%",
"border": "222 12% 22%",
"input": "222 12% 20%",
diff --git a/templates/editorial/default.ninjatpl b/templates/editorial/default.ninjatpl
index 434bd80..dabdf45 100644
--- a/templates/editorial/default.ninjatpl
+++ b/templates/editorial/default.ninjatpl
@@ -5,7 +5,7 @@
{{ admin_banner_html|safe }}
{% if slots.header %} No content blocks assigned to this page. No content blocks assigned to this page.
{{ eyebrow }}
{{ intro }}
{% endif %}