Anti-AI-slop design skill for Claude Code, Cursor, and Codex.
CSS
What the first gallery builds taught the skill
Youssef5a0858cda17f
diff --git a/skills/hallmark/SKILL.md b/skills/hallmark/SKILL.mdindex 54f4fea..db7f463 100644--- a/skills/hallmark/SKILL.md+++ b/skills/hallmark/SKILL.md@@ -36,15 +36,15 @@ Everything above the Floor is a **Reflex** gate: a default a model falls into, w## Flow0. Pre-flight: read the project before asking anything.-1. Ask once: audience, use, tone, material, vibe.+1. Ask once: material, audience, use, tone.2. Shape: design the page, then name what you designed.3. Direction: deal a theme (the default) or derive a world (only when asked for custom).4. Load `references/craft.md`, the genre file, the theme file, and `gates.md` § 1 to § 4.5. The Picks block, once, then a beat before code.-6. Build: tokens, stamp, `tokens.css`, log append.+6. Build: the hero first, then the page; stamp, `tokens.css`, log.7. Sweep: sloplint with render, the judged gates, the fresh-context review.-Harness: this file runs as written in Claude Code. Codex CLI and OpenCode read [`references/flow.md`](references/flow.md) § Harnesses before Step 0. Any other harness follows this file on the Floor with sequential tool calls and chat-text questions.+Codex CLI and OpenCode read [`references/flow.md`](references/flow.md) § Harnesses before Step 0; any other harness runs this file with sequential tool calls and questions in chat.### 0. Pre-flight@@ -94,7 +94,7 @@ A catalog theme is a material, not a plan: it says what the page is made of, nev### 4. Load-Exactly these, for a page build: [`references/craft.md`](references/craft.md) (type, colour, layout, motion, copy, section openings, demo slots, hero discipline, finish) · `references/genres/<genre>.md` · `references/themes/<slug>.md` (or `direction.md` on a custom run) · [`references/gates.md`](references/gates.md) § 1 to § 4.+Exactly these, for a page build: [`references/craft.md`](references/craft.md) (type, colour, layout, motion, copy, section openings, demo slots, the hero, finish) · `references/genres/<genre>.md` · `references/themes/<slug>.md` and its picture `<slug>.jpg`, a first screen and a lower screen of one page in the theme: take its scale, density, colour balance and objects, never its composition (or `direction.md` on a custom run) · [`references/gates.md`](references/gates.md) § 1 to § 4.Only when the build needs them, each in `references/`: one macrostructure file and the picked archetype files (Step 2) · `hero-enrichment.md` then one `enrichment/` file, when the image-need check says yes · `microinteractions.md` for stateful UI · `interaction-and-states.md` for forms · `responsive.md` for an unusual layout · `texture.md` when the theme earns texture · `scroll-choreography.md` for a scroll story · `dark-mode.md` when both modes are asked for · `data-viz.md` for charts · `fonts.md` on custom or studied runs · `assets.md` and `imagery-kit.md` when an enrichment needs an external asset · `comp.md` on signal 9 · `design-md.md` when asked to lock the system.@@ -128,15 +128,14 @@ Emit code that satisfies the theme and the shape. Always:- **Hero first.** Write the nav and the hero, run `node <skill-dir>/scripts/sloplint.mjs <file> --render --stage hero` (the fold at three widths, the hero's words, the visual's place, four first-screen shots), then the hero review in fresh context (`gates.md` § 6). Build the sections only once the hero ships: a hero rewrite after eight sections exist costs eight sections.- **Start from the scaffold.** `node <skill-dir>/scripts/theme.mjs scaffold <slug>` (`--custom` on a derived run) writes `tokens.css` with the theme's tokens and the shared scale, and prints the base rules the Floor already decided (clipping, focus, reduced motion, browser surfaces, the slot contract) under a stamp skeleton. Paste them, fill the stamp, and write only the page.-- **One idea per screen.** Hero: headline (seven words or fewer, 50 characters or fewer), one sentence (twelve words or fewer), one or two actions. A section: a heading of three to five words, at most one line, then its object (a slot, a figure, a drawn thing, a list of four or fewer, a table of five rows or fewer). Five to eight sections, footer included. 250 to 450 visible words on the page.+- **One idea per screen.** Hero: headline (seven words or fewer, 50 characters or fewer), one sentence (twelve words or fewer), one or two actions. A section: a heading of three to five words, at most one line, then its object (a slot, a figure, a drawn thing, a list of four or fewer, a table of five rows or fewer). Five to eight sections, footer included; 450 visible words at most, fewer when the brief has less to say. Never pad to a count.- **Show, do not describe.** At least two `data-slot` containers on a product page: the hero visual and a demo strip. The user's images fill them; otherwise a designed placeholder in the theme's colours with a corner label (`craft.md` § Demo slots). Never a grey box, never a fake screenshot with invented figures.- **The fold.** The hero is the first screen and only the first screen at 1440 x 900 and 1920 x 1080, its visual beside the text (centres within 60px, 48 to 120px apart), never pinned in a corner. Fill a short hero with the visual or the headline, never with more copy.- **Room.** 120px or more between sections at desktop, varied; 32 to 48px from a heading to its content; 24 to 40px between grid items. More space above a heading than below it.- **Page invariants.** One primary button style, one container width, one column gap for every multi-column section, one radius per nesting level, and never more centred heading groups than left-aligned ones. A subhead over 120 characters is set left-aligned.-- **Tokens.** OKLCH for every colour; the theme's `:root` block; a 4pt spacing scale with semantic names; the three named easings; `--dur-*`; `--radius-*`; `--z-*`.- **Type.** The theme's display and body faces, two families (three with one outlier role). Display tracking -0.02 to -0.04em, line-height 1.0 to 1.15; body 16px or more at 1.5 to 1.65, 45 to 75ch. Headlines roman. Labels, captions, table heads and nav links in the body face, sentence case, untracked, never capitals (67), never mono unless mono is the material (64). A head is one weight and one colour throughout; the accented word is a tell (38iii).- **States and motion.** Eight states on every interactive element; `transform` and `opacity` only; one orchestrated reveal per page, 0.4 to 0.8s, visible by default; exits at 60 to 75% of the enter; nothing bounces.-- **Browser surfaces.** Theme `::selection`, `caret-color`, `scrollbar-color`, the focus ring, underline offset and thickness, and tabular numerals on figures. The cheapest sign a page was built rather than assembled.+- **Browser surfaces.** Keep the scaffold's `::selection`, `caret-color`, `scrollbar-color` and focus ring; add tabular numerals wherever figures compare. The cheapest sign a page was built rather than assembled.- **Stamp.** Line 1 of CSS:```css@@ -147,7 +146,7 @@ Emit code that satisfies the theme and the shape. Always:```then any `waive` and `answered` lines, then a custom run's direction contract. Everything the linter reads sits in the first 40 lines.-- **`tokens.css`** at the project root (the scaffold writes it) with every `--color-*`, `--font-*`, `--space-*`, `--text-*`, `--ease-*`, `--dur-*`, `--rule-*` and `--radius-*` token, imported by the page. On a `design.md` project, refresh its `## Exports` per [`references/export-formats.md`](references/export-formats.md).+- **`tokens.css`** is the scaffold's, at the project root, imported by the page; every colour, face, space, size, easing, duration, rule, radius and z level is a token in it. On a `design.md` project, refresh its `## Exports` per [`references/export-formats.md`](references/export-formats.md).- **Existing stylesheets are append-only.** Keep `@tailwind` and `@import "tailwindcss"` where they are, add Hallmark's `:root` below them, reuse the project's own token names where they exist. A full rewrite only on explicit request.- **Log.** Append to `.hallmark/log.json`, newest first, trimmed to 20:diff --git a/skills/hallmark/references/component-cookbook.md b/skills/hallmark/references/component-cookbook.mdindex 778de95..69cae36 100644--- a/skills/hallmark/references/component-cookbook.md+++ b/skills/hallmark/references/component-cookbook.md@@ -109,6 +109,8 @@ The knob values live **inside each archetype file** (`## Knobs`), next to the co| terminal | **Ft4 Dense colophon** | Ft2 || docs / reference | **Ft3 Index columns** | Ft1 |+**A theme's motion rule outranks these defaults:** a theme that says nothing else moves (Hum) takes a still footer, never the marquee.+**Default away from Ft3.** The four-column index footer is the machine fingerprint when used reflexively (Product, Company, Resources and Legal columns, a social row, a tiny copyright; gate 42). Reach for Ft3 only when the page is a hub or a docs root with a genuine sitemap; default to Ft1, Ft2, Ft4, Ft5, Ft6, Ft7 or Ft8 otherwise.---diff --git a/skills/hallmark/references/components/ft7-newsletter-first.md b/skills/hallmark/references/components/ft7-newsletter-first.mdindex 960a7b5..0cb7a0e 100644--- a/skills/hallmark/references/components/ft7-newsletter-first.md+++ b/skills/hallmark/references/components/ft7-newsletter-first.md@@ -29,7 +29,7 @@ The form (label, input, submit) is the *primary* element of the footer; wordmark.foot-news__meta { display: flex; gap: var(--space-lg); list-style: none; padding: 0; margin: 0; font-size: var(--text-sm); color: var(--color-muted); }```-The page's one filled primary is above the fold; the footer submit takes the secondary style (F4). Input and button share a height (39a).+When the form is the page's main action (a petition, a mailing list that is the product), the submit is the page's primary style; otherwise the one filled primary lives above and the footer submit is secondary (F4). Input and button share a height (39a).*Anti-pattern:* Ft7 when the page never said "subscribe" above the fold. If you did not ask, do not ambush: take Ft2 instead.diff --git a/skills/hallmark/references/components/n12-banner-retract.md b/skills/hallmark/references/components/n12-banner-retract.mdindex 1d61c28..53d71b8 100644--- a/skills/hallmark/references/components/n12-banner-retract.md+++ b/skills/hallmark/references/components/n12-banner-retract.md@@ -32,7 +32,7 @@ A coloured banner stacked above one real nav. Scrolling down, the banner slidesmain { padding-top: calc(var(--banner-height) + 64px + var(--space-xl)); }```-JS: track the scroll direction; past 48px going down add `.is-compact`, going up remove it, near the top always show. Dismiss sets `--banner-height: 0px` on `documentElement.style` and adds `.is-dismissed`. The handler is rAF-throttled and passive. A second sticky element on the page docks under `calc(var(--banner-height) + 64px)` (56).+JS: one passive scroll listener, throttled to one read per animation frame (direction is the one thing an observer cannot tell you); track the scroll direction; past 48px going down add `.is-compact`, going up remove it, near the top always show. Dismiss sets `--banner-height: 0px` on `documentElement.style` and adds `.is-dismissed`. The handler is rAF-throttled and passive. A second sticky element on the page docks under `calc(var(--banner-height) + 64px)` (56).## Knobsdiff --git a/skills/hallmark/references/components/n5-floating-pill.md b/skills/hallmark/references/components/n5-floating-pill.mdindex f3b83c1..4f85a45 100644--- a/skills/hallmark/references/components/n5-floating-pill.md+++ b/skills/hallmark/references/components/n5-floating-pill.md@@ -68,26 +68,15 @@ The outer is `position: sticky; top: 0; z-index: var(--z-sticky-nav)`. Use `blur(() => {const nav = document.querySelector(".nav");if (!nav) return;- const THRESHOLD = 80;- let floating = false;- let ticking = false;- const update = () => {- const next = window.scrollY > THRESHOLD;- if (next !== floating) {- floating = next;- nav.classList.toggle("is-floating", floating);- }- };- window.addEventListener("scroll", () => {- if (ticking) return;- ticking = true;- requestAnimationFrame(() => { update(); ticking = false; });- }, { passive: true });- update();+ const sentinel = document.createElement("div");+ sentinel.setAttribute("aria-hidden", "true");+ sentinel.style.cssText = "position:absolute;top:0;left:0;width:1px;height:80px;pointer-events:none";+ document.body.prepend(sentinel);+ new IntersectionObserver(([entry]) => nav.classList.toggle("is-floating", !entry.isIntersecting)).observe(sentinel);})();```-Three discipline points: `passive: true` (the listener never calls `preventDefault`, so the main thread stays free for scrolling); a `requestAnimationFrame` throttle (at most one update per paint); the flip guard (the class changes once per state change, not once per scroll event).+An observer on an 80px sentinel at the top of the page flips the class once per change: no scroll listener, no throttle, nothing running while the reader scrolls (`craft.md` § 5).##### What breaks it@@ -96,9 +85,8 @@ Three discipline points: `passive: true` (the listener never calls `preventDefau3. `backdrop-filter: none` in the floating state: it snaps. `blur(0)` transitions.4. Letting the nav height change between states: content jitter, the most damaging mistake in this pattern.5. Different durations per property ("speed up the radius", "delay the shadow"): reads as broken even though everything moves. One curve.-6. A `scroll` listener without `{ passive: true }` or without the rAF throttle: both kill mobile scroll performance.-7. A threshold of 0: the morph fires on the slightest scroll. Use 60px or more.-8. No flip guard: toggling the class on every scroll event thrashes layout.+6. A `scroll` listener where the sentinel would do: it runs on every frame to answer a question that changes twice.+7. A sentinel shorter than 60px: the morph fires on the slightest scroll.One orchestrated morph and nothing else: the polish is the single curve and the height-constant arithmetic.diff --git a/skills/hallmark/references/craft.md b/skills/hallmark/references/craft.mdindex c5b03c3..d190806 100644--- a/skills/hallmark/references/craft.md+++ b/skills/hallmark/references/craft.md@@ -8,7 +8,7 @@ Type carries the page. Two families: a display face and a body face. A third is- **Extremes read as chosen.** Weight 300 beside 800, or 400 beside 700. A 500 or 600 display works only when the display face differs from the body face.- **A ratio, not increments.** 1.25 by default (1.333 or 1.5 for more drama), built from a 16px body. At most five sizes on a page; hierarchy past that comes from weight and colour.-- **Display:** tracking -0.02 to -0.04em on a regular-width face, 0 to -0.015em on a condensed or very heavy one (they are drawn tight already; two letters touching is a fault, not a style), line-height 1.0 to 1.15 (tighter as it grows; 1.2 reads as inherited). Uppercase heads that can wrap never go under 1.0 (55). A head is one weight, one style and one colour throughout; one word set apart by italic, colour, weight or a highlight is the accented word, the field's most-named tell after the eyebrow (38). Stress comes from a line break or a second line at a second size. Default display size `clamp(2.75rem, 5vw + 1rem, 5.25rem)`; cap 5.5rem, 6rem on display-heavy themes, 7rem only for a single word.+- **Display:** tracking -0.02 to -0.04em on a regular-width face, 0 to -0.015em on a condensed or very heavy one (they are drawn tight already; two letters touching is a fault, not a style), line-height 1.0 to 1.15 (tighter as it grows; 1.2 reads as inherited). Uppercase heads that can wrap never go under 1.0 (55). A head is one weight, one style and one colour throughout; one word set apart by italic, colour, weight or a highlight is the accented word, the field's most-named tell after the eyebrow (38). Stress comes from a line break or a second line at a second size. Default display size `clamp(2.75rem, 5vw + 1rem, 5.25rem)`; cap 5.5rem, 6rem on display-heavy themes, 7rem only for a single word; a poster-scale theme or shape (Manifesto, Broadside, Marquee Hero) may run to 9rem when the fold still holds the headline, one sentence and the action.- **Body:** 16px minimum (14px never for body), line-height 1.5 to 1.65, measure 45 to 75ch (`max-width: 65ch`) (25). Never all-caps body, never justified without hyphenation, never tracking above 0.05em on body.- **Labels, captions, table heads, meta, tags, chips, nav links:** the body face, a step smaller, sentence case, untracked (67). Never uppercase, never small caps, never letter-spaced. Mono only when the content is code, a figure or a measurement, or when mono is the theme's material (64). Capitals belong to a wordmark and to a theme whose display voice is uppercase; there a control may follow the display's case at 0.04em of tracking or less.- **Headline sizing by copy length.** Count the rendered `h1`: 20 characters or fewer, full display (a single word may grow to 7rem); 21 to 50, display; 51 to 90, one step down (`--text-display-s`) or split at the sense break with `<br>`; over 90, rewrite. Self-written headlines aim for seven words and 50 characters.@@ -79,7 +79,7 @@ Every posture, every hero:- **Three easings, tokenised:** `--ease-out: cubic-bezier(0.16, 1, 0.3, 1)` for things arriving, `--ease-in: cubic-bezier(0.7, 0, 0.84, 0)` for things leaving, `--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1)` for toggles. The browser's `ease` and `linear` (outside progress) read as uncrafted; overshoot on UI state is dated (12).- **Three durations:** `--dur-micro` 120ms (press, tick, colour), `--dur-short` 220ms (hover, tooltip, menu), `--dur-long` 420ms (modal, drawer, accordion, page reveal). Exits run 60 to 75% of the enter. Stagger 30 to 50ms between rows, 60 to 100ms between blocks, 500ms total, one-shot, never re-fired on scroll.- **One reveal per page**, staggered by a `--i` custom property, capped at 500ms, and the content is visible without it (62): scope the hidden state to a `.js` class the script adds, or animate from visible with `@starting-style`. Reduced motion collapses spatial motion to a 150ms opacity crossfade and keeps functional loaders running.-- **Scroll:** IntersectionObserver, never scroll listeners; reveal once; scroll-scrubbed motion exists only as the named patterns in `scroll-choreography.md`, one per page (F8).+- **Scroll:** IntersectionObserver for reveals and for any state that flips at a threshold; a passive scroll listener, throttled to one read per frame, only where direction matters (a bar that hides on the way down); reveal once; scroll-scrubbed motion exists only as the named patterns in `scroll-choreography.md`, one per page (F8).- **State:** hover `translateY(-1px)` at micro, active back to 0; menus `--ease-out` open and `--ease-in` close with the Popover API; modals scale 0.96 to 1 with a backdrop fade over `--dur-long` using `<dialog>` and `inert`; accordions animate `grid-template-rows: 0fr` to `1fr`; tooltips delay 800 to 1000ms on hover and 0ms on focus (17); focus rings never animate (15).- **Never:** parallax, custom cursors, cursor followers, infinite loops other than loaders and a paused-on-hover marquee, `will-change` on a whole class, an image that scales or rotates on hover (11), a pulsing dot that is not live data.@@ -89,7 +89,7 @@ Full recipes (buttons, inputs, validation, toasts, modals, menus, drag, commandWords are design material. Specific verbs (`Save changes`, never `Submit`); labels that describe (`Email address`); link text that stands alone; errors that name what broke, why, and what to do; active voice; one word for one action across the page.-- **Budget** (58): hero subhead one sentence of twelve words or fewer; headlines seven words or fewer, section heads three to five; section intros one line; paragraphs two short sentences; lists stop at four items of a three-word label and a ten-word line; tables at five rows; 250 to 450 visible words on a page. Read only the headings and the hero: if they tell the story, the rest is the right length.+- **Budget** (58): hero subhead one sentence of twelve words or fewer; headlines seven words or fewer, section heads three to five; section intros one line; paragraphs two short sentences; lists stop at four items of a three-word label and a ten-word line (five when they are demands or steps that cannot merge; past that it is a table); tables at five rows; 450 visible words on a page at most, and fewer is fine: a thin brief makes a short page, never a padded one. Read only the headings and the hero: if they tell the story, the rest is the right length.- **Openers.** Name the place, the date, the vertical, the number the user gave, the input the product reads. Refuse the verb-less claim. Never *Built for the modern team*, *Unleash*, *Where A meets B*, *Empower*, *Reimagine*, *Supercharge*, *seamless*, *robust*, *effortless*, *next-generation*, *world-class*, *In today's landscape* (19). The rebuttal cadence (*Not a feature. A platform.*) is fine once and a tic three times.- **Buttons:** the verb of the action. `Continue` only as the secondary step of a flow. **Errors:** what happened (past tense), why if known, what to do (imperative); no *Oops*, no exclamation marks, no humour in a frustration path. **Empty states:** one line naming what is empty, one on why it matters, one action. **Loading:** spinner alone under 2s, plus *Loading…* past it, plus honest progress past 10s.- **Never** placeholder people (Jane Doe), startup clichés (Acme, Nexus), *Click here*, *Enter your email below*, *Quietly trusted by*, a version string in marketing copy, or a number the user did not give (46a).@@ -135,7 +135,7 @@ window.hallmarkSlots = (m) => { for (const [k, v] of Object.entries(m)) { constFour recipes, one per material family:- **Paper** (editorial, print): `linear-gradient(160deg, var(--color-paper-2), var(--color-paper-3))` with a `repeating-linear-gradient` of 1px rules at 4% ink every 32px; a 1px `--color-rule` border; label bottom-left in the caption style.-- **Screen** (modern-minimal, product): a 16:10 panel, `radial-gradient(at 20% 0%, <accent at 18% chroma-cut> , transparent 60%)` over `--color-paper-2`, a hairline head row 40px tall in `--color-paper-3` that carries the corner label, one 60%-wide card outline beneath it; never a top bar with pills or dots, which reads as a browser (47a).+- **Screen** (modern-minimal, product): a 16:10 panel, `radial-gradient(at 20% 0%, <accent at 18% chroma-cut> , transparent 60%)` over `--color-paper-2` (on a Restrained theme whose accent is a signal only, the wash is `--color-paper-3` and the accent appears as one hairline or not at all), a hairline head row 40px tall in `--color-paper-3` that carries the corner label, one 60%-wide card outline beneath it; never a top bar with pills or dots, which reads as a browser (47a).- **Dark** (atmospheric, night): `--color-paper` with one `radial-gradient` at 80% 100% in the accent at 30% alpha fading by 55%, a 1px inset ring of paper at 8% alpha; label bottom-right in `--color-muted`.- **Print object** (playful, riso, sticker): the accent field with a 2px ink border, a second colour block offset 8px behind it (zero blur), a dashed kiss-cut line inset 6px; label as a small rotated tag in the corner.diff --git a/skills/hallmark/references/gates.md b/skills/hallmark/references/gates.mdindex ff8d422..7da4b83 100644--- a/skills/hallmark/references/gates.md+++ b/skills/hallmark/references/gates.md@@ -27,7 +27,7 @@ A Reflex gate is waived in the CSS stamp block, below the critique line:Three fields: the gate, the **guard evidence**, the reason. sloplint re-derives the guard itself; a build that cannot state its guard usually finds the guard does not hold. Floor gates cannot be waived (a waiver naming one is rejected and the gate fires). One waiver per gate. The reason is about this page: under 24 characters, boilerplate, or shared word for word with another waiver is rejected. Waivers append to `.hallmark/log.json`; the same gate waived on three consecutive builds is a house style, not an exception.-A Finish finding is answered the same way: `/* Hallmark · answered F3 · the display head is one word and cannot wrap */`.+A Finish finding is answered the same way: `/* Hallmark · answered F3 · the display head is one word and cannot wrap */`. A `WARN` is a suspicion: confirm it and fix it, or dismiss it on the record, `/* Hallmark · dismissed 58 · the window holds a five-row table, counted twice across the sticky pane */`, and the linter reports it as `DISMISSED`.## 3. Pre-emit critique@@ -91,7 +91,7 @@ One line each. `a`/`b` clauses share a number and carry their own tier. Genre no| 34 | Floor | M/R | Horizontal scroll at any width 320 to 1920; `overflow-x` missing on `html` and `body`; `100vw` widths | `overflow-x: clip` on both, `width: 100%` || 44a | Reflex | R/J | Hero padding ratio off its posture: Settled, Banner, Corridor, Stage want block-end at least 1.3 times block-start; Ledge inverts; Poster waives when anchored | bottom-heavy padding || 44b | Floor | R/J | Headline, lede, primary CTA and the visual's focal point not all visible at 1280 x 800 without scrolling | pull the display clamp down, tighten leading, two-line lede, trim padding |-| 44c | Reflex | R/J | At 1440 x 900 the next section starts above y 760 or below y 900, or the hero visual's vertical centre is more than 60px from the text block's, or its left edge more than 120px from the text, or it is pinned to the viewport edge. Guard: Poster or Ledge posture, or a stamped full-bleed E1 | visual beside the text, hero fills its screen and only its screen |+| 44c | Reflex | R/J | At 1440 x 900 the next section starts above y 760 or below y 900, or the hero visual's vertical centre is more than 60px from the text block's, or its left edge more than 120px from the text, or it is pinned to the viewport edge. Guard: Poster, Ledge or Banner posture, or a stamped full-bleed E1 | visual beside the text, hero fills its screen and only its screen || 44d | Floor | M/R | At 1920 x 1080 the container has no `max-width`, gutters under 120px, a grid gains columns, or the hero no longer fits | cap 1360 to 1520 and centre; hold column counts; cap `vw` visuals || 50 | Floor | M | Image-bearing grid track using bare `1fr`; display head without `overflow-wrap: break-word; min-width: 0` | `minmax(0, 1fr)`; `break-word`, never `anywhere` || 53 | Floor | M | CSS-only radio tabs at `position: absolute; top: 0` with no JS guard (scroll-jumps on every click) | radios in flow at zero size, or a handler with `preventScroll` |@@ -206,7 +206,7 @@ The thread that built the page is its weakest reviewer. Spawn a reviewer with no**The hero review** runs the same way, once, at Step 6, before any section below the fold exists. Give the reviewer the four `hero-*` screenshots that `sloplint --render --stage hero` wrote, the stamp's first two lines, and the Picks block's Material and Signature rows. Its brief:-> Review the first screen of a page that is still being built. You did not build it. First line: `ship` or `fix`. Then at most five findings, one line each, worst first: does the headline say something only this product could say, in seven words or fewer; is the visual beside the text, real or a labelled slot, and does it hold its half of the screen; does anything read as a template (a centred stack, a pill or label above the headline, a gradient blob, a drawn dashboard, two buttons where one would do); is the signature move on this screen; does the type carry the theme at this size. Do not fix anything.+> Review the first screen of a page that is still being built. You did not build it. First line: `ship` or `fix`. Then at most five findings, one line each, worst first: does the headline say something only this product could say, in seven words or fewer; is the visual beside the text, real or a labelled slot, and does it hold its half of the screen; does anything read as a template (a centred stack, a pill or label above the headline, a gradient blob, a drawn dashboard, two filled buttons side by side; a primary with a quiet text link beside it is fine); is the signature move on this screen; does the type carry the theme at this size. Do not fix anything.Fix, recapture with `--stage hero`, and build the sections once the answer is `ship`. Record `hero-review: ship after 1 fix` in the stamp's finish-review field.diff --git a/skills/hallmark/references/genres/editorial.md b/skills/hallmark/references/genres/editorial.mdindex 2ae4842..8cfd468 100644--- a/skills/hallmark/references/genres/editorial.md+++ b/skills/hallmark/references/genres/editorial.md@@ -17,7 +17,7 @@ Hairline rules, fleurons, drop caps, double rules; italic inside running body co## Refused here-Gradient-filled pills; a centred-everything hero (the genre is left-biased or asymmetric); glass (the medium is paper); pure black or white paper and ink.+Gradient-filled pills; a centred-everything hero (the genre is left-biased or asymmetric, unless the theme's material is a centred bill); glass (the medium is paper); pure black or white paper and ink.## Chrome that fitsdiff --git a/skills/hallmark/references/macrostructures/01-bento-grid.md b/skills/hallmark/references/macrostructures/01-bento-grid.mdindex dd47fcc..815ad42 100644--- a/skills/hallmark/references/macrostructures/01-bento-grid.md+++ b/skills/hallmark/references/macrostructures/01-bento-grid.md@@ -2,7 +2,7 @@Modular blocks of varying sizes laid out as an irregular grid. Each block is a feature, a figure the user gave, an image or a supplied quote. Rhythm comes from size variation, not card uniformity.-- **Heading:** centred display in a fixed-height hero, not a full viewport.+- **Heading:** a display head over the grid's first row; the hero is one screen and the grid starts inside it or right under it (44c), never a tall empty band.- **Body:** asymmetric grid, 8 to 15 blocks of mixed spans (1×1, 2×1, 1×2, 2×2); image-bearing tracks `minmax(0, 1fr)` (50).- **Divider:** one gap of 12 to 24px; no rules; the grid is the rhythm.- **Button:** an outlined chip in the hero; inside a tile, a typographic link carrying a verb.diff --git a/skills/hallmark/references/macrostructures/07-manifesto.md b/skills/hallmark/references/macrostructures/07-manifesto.mdindex bd0a6dd..79b95a9 100644--- a/skills/hallmark/references/macrostructures/07-manifesto.md+++ b/skills/hallmark/references/macrostructures/07-manifesto.md@@ -4,8 +4,8 @@ Polemical large type. The page tells the reader what to believe before it tells- **Heading:** uppercase display, tilted slightly (`-2deg` to `-4deg`) or set straight; one weight and one colour throughout, stress from a line break, never from a coloured or italic word (38i, 38iii); `line-height` 1.0 or more when it can wrap (55a). A theme whose signature is an accented word stamps the 38iii waiver and places it once, in the hero.- **Body:** short paragraphs, each one assertion, large enough to read across the room.-- **Divider:** changes of paper between sections; no hairlines.-- **Button:** one oversized solid block in the accent, far below the fold. In the fold the one visible action is the nav's link, and the stamp says so (44b).+- **Divider:** changes of paper between sections, or the theme's own rules; never a card.+- **Button:** one solid block in the accent; the fold carries it beside or under the declaration (44b), and it returns at the foot as the page's last word.- **Image:** none, or one high-contrast black-and-white photograph as a section bleed.- **Reveal:** horizontal sweep on section entry.diff --git a/skills/hallmark/references/macrostructures/11-catalogue.md b/skills/hallmark/references/macrostructures/11-catalogue.mdindex b228381..b934c52 100644--- a/skills/hallmark/references/macrostructures/11-catalogue.md+++ b/skills/hallmark/references/macrostructures/11-catalogue.md@@ -2,7 +2,7 @@Uniform grid of variations of the same thing: typefaces, palettes, SKUs. The page is a visual index of inventory.-- **Heading:** the wordmark and one line; no large display.+- **Heading:** one line at the theme's display scale over the grid; the products lead, so the heading never pushes the first row below the fold.- **Body:** a grid of same-sized cards, 3 to 5 per row, each one variant of the core product; image tracks `minmax(0, 1fr)` (50).- **Divider:** hairline rules between rows.- **Button:** a link inside each card to its detail page; no global CTA. The fold's one visible action is the first card's link (44b).diff --git a/skills/hallmark/references/texture.md b/skills/hallmark/references/texture.mdindex 240d59b..6e0c5a9 100644--- a/skills/hallmark/references/texture.md+++ b/skills/hallmark/references/texture.md@@ -4,7 +4,7 @@ Loaded only when the picked theme earns texture (affinity table below) or a cust## The budget (binds on every artifact)-- **One artifact family per page.** Grain OR halftone OR misregistration OR scanline OR deckle; combinations are mud.+- **One artifact family per page.** Grain OR halftone OR misregistration OR scanline OR deckle; combinations are mud. A risograph print is one family: its grain and its misregistration come from the same drum.- **Tokened opacity, declared in the token block:** `--texture-opacity` <= 0.08 page-wide, <= 0.15 scoped to a card or plate. Under running body text, <= 0.05 or nothing.- **Never animated.** No drifting grain, no pulsing dots; the one exception is E7's slow-drift knob on its abstract background, which is E7's budget, not this file's.- **`pointer-events: none` and `aria-hidden="true"`** on every overlay; texture never intercepts input, and the retro signal is atmosphere, never a drawn monitor bezel (47a).@@ -12,18 +12,19 @@ Loaded only when the picked theme earns texture (affinity table below) or a cust## 1 · Grain (paper)-The feTurbulence data-URI from assets.md, tokenized:+A speck grain, tokenised:```css-:root { --texture-opacity: 0.06; }+:root { --texture-opacity: 0.08; }+.grained { position: relative; isolation: isolate; }.grained::after {- content: ""; position: absolute; inset: 0; pointer-events: none;- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");- opacity: var(--texture-opacity); mix-blend-mode: multiply;+ content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;+ background-size: 200px 200px; opacity: var(--texture-opacity);+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 9 -4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");}```-Hero or one accent card; page-wide only on Riso at <= 0.08. On dark papers multiply goes invisible: swap to `mix-blend-mode: overlay` at half the opacity.+The colour matrix turns the noise into discrete specks (alpha is the noise times nine, minus four), so the grain reads at 1x inside the budget; untreated `feTurbulence` at these opacities is a haze nobody sees. On a dark ground the specks must be light: change the matrix's first three rows to `0 0 0 0 1` so each speck is white, keep the opacity. One plate, one accent card, or the page at 0.08 or less when the theme names grain.## 2 · Halftone (dot field)@@ -80,16 +81,9 @@ One edge, one element class per page (a ticket edge, a stamp perforation). Never## Affinity - who earns texture-| Earns it | The artifact |-| --- | --- |-| Riso | grain (page <= 0.08) + misregistration (its signature) |-| Carnival | halftone plates + hard-offset kit (its own, see spec) |-| Arcade | the CRT stack: aperture grille + scanline + vignette + tight bloom (atmosphere, never a bezel). Applied once at page level, never per component. The starfield is banned. |-| Ledger | the sheet's own ruling: banded, columnar, or journal (its own, see spec) |-| Newsprint | the faintest fibre grain, card-scoped, off by default |-| Custom draws with print lineage | pick ONE artifact that the drawn direction historically used |+A theme earns texture when its Material section names an artifact; a custom draw earns it when its lineage is print (risograph, letterpress, ticket stock, line printer), and then it picks the one artifact that lineage used. The budget above binds every theme, whatever its file says: page-wide grain at 0.08 or less, 0.15 inside one plate, 0.05 or nothing under running text. Examples: Riso's grain and misregistration, Halftone's dot screen inside its fruit, Paste-up's fibre wash on the board, Darkroom's film grain over the wall, Arcade's scanlines (atmosphere, never a bezel), Ledger's ruled bands.-**Banned regardless:** Specimen, Atelier, Cobalt, and the rest of the modern-minimal cluster (their specs ban texture explicitly); atmospheric's canvas is blooms, not grain. **Ledger is the cluster's one exception**, and only for its own ruling: a flat tonal band structure that carries no grain, no chroma, and no noise. When a theme spec and this file disagree, the spec wins.+**Never:** a texture a theme does not name, grain on a modern-minimal page, two artifact families on one page, or a texture as ambience over everything because the page felt flat.## Reduced motion and accessibilitydiff --git a/skills/hallmark/references/themes/broadside.md b/skills/hallmark/references/themes/broadside.mdindex 3085f34..49e3e7a 100644--- a/skills/hallmark/references/themes/broadside.md+++ b/skills/hallmark/references/themes/broadside.md@@ -29,7 +29,7 @@ Grained cream stock, ink rules at one point or five, Six Caps fitted to the meas--radius-card: 0; --radius-pill: 0; --rule-hair: 1px; --rule-bar: 5px;--shadow-card: none;--tracking-display: 0.02em;- --grain: 0.16;+ --grain: 0.08;}```@@ -37,13 +37,13 @@ One dial, the colourway, stated in the stamp (`broadside: bill`).| Colourway | Stock | Ink | Accent || --- | --- | --- | --- |-| `bill` (default) | cream oklch(93% 0.02 85), grain multiplied at 16% | oklch(18% 0.01 50) | vermilion oklch(46% 0.19 32) |-| `inked` | oklch(17% 0.01 60), grain screened at 20% | cream oklch(93% 0.02 85) | vermilion lifted to oklch(62% 0.19 32); paper band becomes dark |-| `red-bill` | vermilion oklch(52% 0.19 32), grain multiplied at 18% | cream oklch(95% 0.03 85), 4.8:1 on the red | cream; posture becomes drenched |+| `bill` (default) | cream oklch(93% 0.02 85), grain multiplied at 8% | oklch(18% 0.01 50) | vermilion oklch(46% 0.19 32) |+| `inked` | oklch(17% 0.01 60), grain screened at 8% | cream oklch(93% 0.02 85) | vermilion lifted to oklch(62% 0.19 32); paper band becomes dark |+| `red-bill` | vermilion oklch(52% 0.19 32), grain multiplied at 8% | cream oklch(95% 0.03 85), 4.8:1 on the red | cream; posture becomes drenched |## Faces-- **Six Caps** 400, uppercase, line-height 0.88, `--tracking-display`: the loudest line and every big number, 250px down to 30px in a row. Lines marked to fit are sized by the code until they fill the measure.+- **Six Caps** 400, uppercase, line-height 0.88, `--tracking-display`: the loudest line and every big number, 250px down to 30px in a row. Each fitted line is its own element that never wraps (`white-space: nowrap`, the 55b guard), sized by the code until it fills the measure.- **Rye** 400, uppercase: one line per bill, and the wordmark at 22 to 26px. **Bevan** 400, uppercase: the third line, estimates, machine names, condition lines at 15 to 24px. All roman.- **Archivo Narrow** 400 and 600, 13 to 22px, line-height 1.45, for the small print and everything read. Labels, table heads, captions and meta are Archivo Narrow 500 at 13 to 14px, sentence case, untracked, in `--color-muted`. Mono appears only inside code; figures are Six Caps, or Archivo Narrow tabular in a row.@@ -51,10 +51,10 @@ One dial, the colourway, stated in the stamp (`broadside: bill`).- Rules: `--rule-bar` in ink above a bill, a section or a table; `--rule-hair` in ink under a running head; `--rule-hair` in `--color-rule` between rows. Nothing between one and five.- The diamond: a filled diamond in vermilion, three in a row as the divider between one bill and the next, one at each stop of a timeline. The only ornament; never above a heading, never in a line of meta.-- The post: a 3px ink border with a 1px keyline 3px inside it. Machines, days, the bid box, the form, an open drawer. Square corners, always. The control pair: an ink-filled block in the narrow face, capitals untracked, beside a vermilion one; there is no outline button.+- The post: a 3px ink border with a 1px keyline 3px inside it. Machines, days, the bid box, the form, an open drawer. Square corners, always. The control pair: one ink-filled block in the narrow face, capitals untracked, beside the same block drawn as a post (3px ink border, no fill); one fill per screen.- Tickets: a numbered stub with a dashed tear line, the current one printed in vermilion. Vermilion type sits on the paper or paper-2.- Grain: one SVG noise layer over the page at `--grain` (texture.md § 1), multiplied on paper, screened on ink. The only texture.-- Centre: bills, headings, posts and figures are centred. Rows, ladders, catalogues and forms are left.+- Centre: bills, headings, posts and figures are centred, because a bill is printed on its centre line; rows, ladders, catalogues and forms are left. The stamp answers F15 and names the centred axis as the material. The three wood faces are the printer's case: stamp `waive 37` (four families; guard: the display faces are the bill).## Motiondiff --git a/skills/hallmark/references/themes/darkroom.md b/skills/hallmark/references/themes/darkroom.mdindex 8376702..00f5ae5 100644--- a/skills/hallmark/references/themes/darkroom.md+++ b/skills/hallmark/references/themes/darkroom.md@@ -27,7 +27,7 @@ A near-black wall under a fine grain, Sofia Sans Extra Condensed capitals at hai--font-display: "Sofia Sans Extra Condensed", ui-sans-serif, sans-serif; --font-body: "Barlow", ui-sans-serif, sans-serif;--font-outlier: "Overpass Mono", ui-monospace, monospace;--radius-card: 0; --radius-pill: 0; --rule-hair: 1px; --shadow-card: none;- --tracking-display: -0.005em; --grain: 0.3;+ --tracking-display: -0.005em; --grain: 0.08;}```@@ -41,7 +41,7 @@ Three colourways, stated in the stamp (`darkroom: amber`).## Faces-- **Display:** Sofia Sans Extra Condensed uppercase, 200 at poster size and up to 400 as a head gets smaller, line-height 0.9, `--tracking-display`, roman, one weight per head. The hairline at scale is the look and it is never bolded.+- **Display:** Sofia Sans Extra Condensed uppercase, 200 at poster size and up to 400 as a head gets smaller, line-height 1.0 (the floor for capitals that wrap, 55a), `--tracking-display`, roman, one weight per head. The hairline at scale is the look and it is never bolded.- **Body:** Barlow 300 for prose, 400 under 16px, roman throughout. Controls follow the display's capitals in its 500 at 16px, tracked 0.04em.- **Labels, captions, table heads, meta:** Barlow 400 one step smaller, sentence case; the plate number and date under a print are this voice. Overpass Mono sets exposure figures (stop, seconds, grade), negative and edition numbers, and code; never a caption.diff --git a/skills/hallmark/references/themes/kiln.md b/skills/hallmark/references/themes/kiln.mdindex 60d5296..e30b7e6 100644--- a/skills/hallmark/references/themes/kiln.md+++ b/skills/hallmark/references/themes/kiln.md@@ -7,7 +7,7 @@ display: high-contrast-serif Frauncesaccent: warm 45posture: full-palettekeywords: kiln, ceramics, pottery, firing, glaze, heat, temperature, studio, craft, sensor, monitor, hardware, iot, warmth, dark, glow, schedule, workshop-material: a near-black ground, a seven-step heat ramp from ash to white heat drawn inside grained plates, Fraunces at full optical size, one frosted plate+material: a near-black ground, a seven-step heat ramp from ash to white heat drawn inside grained plates, Fraunces at full optical size, one smoked plate for the controlssignature: a rounded plate whose lower corner burns from oxblood through ember to white while the page around it stays cold---@@ -38,7 +38,7 @@ Three colourways, set once per page and named in the stamp (`kiln: ember`).| Colourway | Ground, ink, accent || --- | --- || `ember` (default) | the block above |-| `bisque` | ground `oklch(96.5% 0.014 80)`, ink `oklch(20% 0.02 40)`, accent `oklch(54% 0.17 62)` with the ground as its text; the ramp starts at `oklch(90% 0.035 75)`; the frosted plate turns to milk glass `oklch(99% 0.005 80 / 0.62)` |+| `bisque` | ground `oklch(96.5% 0.014 80)`, ink `oklch(20% 0.02 40)`, accent `oklch(54% 0.17 62)` with the ground as its text; the ramp starts at `oklch(90% 0.035 75)`; the smoked plate turns to a bone plate in paper-2 || `reduction` | ground `oklch(21% 0.06 22)`, ink `oklch(95% 0.02 85)`, accent `oklch(84% 0.12 62)`; the ramp begins at the ground |## Faces@@ -50,8 +50,8 @@ Three colourways, set once per page and named in the stamp (`kiln: ember`).## Material- The heat panel: a plate at `--radius-card` whose background is one radial gradient in `oklch` from `--heat-6` at a corner out through the ramp to `--heat-0`, plus a small white bloom at the same origin, under a 14% grain overlay (`texture.md` § Grain). Two such fields on a page at most, both inside plates, never on the ground.-- The frosted plate: one panel with `backdrop-filter: blur(16px)`, a 1px `--color-rule` edge and `--shadow-card`, beside a heat panel on the ground, never inside one (gate 4), never with a title bar; its UI fills are ink at 8%.-- Rules 1px at 12%; radii 28px plates, 20px cones, 16px the frosted plate; the ground is flat and cold.+- The smoked plate: one flat panel in `--color-paper-2` with a 1px `--color-rule` edge and `--shadow-card`, beside a heat panel on the ground, never inside one (gate 4), never with a title bar, never blurred (the genre refuses glass, and beside a plate there is nothing behind it to blur). Its UI fills are the ramp's cool end; the readout's figures are tabular.+- Rules 1px at 12%; radii 28px plates, 20px cones, 16px the smoked plate; the ground is flat and cold.- The control pair: an accent-filled pill 50px tall beside a ghost pill with a 1px inset `--color-rule`. The one interactive object: a temperature slider whose 2px track and 28px thumb recolour its plate along the ramp.## Motion@@ -82,7 +82,7 @@ Calm and physical: degrees, cones, minutes, the schedule.radial-gradient(in oklch 130% 120% at 88% 104%, var(--heat-6) 0%, var(--heat-5) 10%, var(--heat-4) 24%, var(--heat-3) 40%, var(--heat-2) 60%, var(--heat-1) 82%, var(--heat-0) 100%); }.plate::after { content: ""; position: absolute; inset: 0; opacity: 0.14; mix-blend-mode: overlay; pointer-events: none;background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }-.frost { border-radius: 16px; background: oklch(18% 0.02 40 / 0.55); backdrop-filter: blur(16px); border: 1px solid var(--color-rule); box-shadow: var(--shadow-card); }+.smoke { border-radius: 16px; background: var(--color-paper-2); border: 1px solid var(--color-rule); box-shadow: var(--shadow-card); }.btn { display: inline-flex; align-items: center; height: 50px; padding: 0 24px; border-radius: var(--radius-pill); font-weight: 500; background: var(--color-accent); color: var(--color-accent-ink); }.btn--ghost { background: transparent; color: var(--color-ink); box-shadow: inset 0 0 0 1px var(--color-rule); }::selection { background: oklch(70% 0.2 45 / 0.35); }diff --git a/skills/hallmark/references/themes/manifesto.md b/skills/hallmark/references/themes/manifesto.mdindex ec867cc..35a2e28 100644--- a/skills/hallmark/references/themes/manifesto.md+++ b/skills/hallmark/references/themes/manifesto.md@@ -27,13 +27,13 @@ A warm near-black ground, Anton uppercase up to 9rem leaded at 0.86 and slammed--font-display: "Anton", "Impact", sans-serif; --font-body: "Public Sans", ui-sans-serif, system-ui, sans-serif;--font-outlier: "JetBrains Mono", ui-monospace, monospace;--radius-card: 0; --radius-pill: 0; --rule-hair: 1px; --rule-bar: 3px; --shadow-card: none;- --tracking-display: 0.005em; --lh-tight: 0.86; --text-display: clamp(4rem, 8vw + 1rem, 9rem);+ --tracking-display: 0; --lh-tight: 0.92; --text-display: clamp(4rem, 8vw + 1rem, 9rem);}```## Faces-- **Display:** Anton 400, one weight, uppercase only, at `--text-display`, leaded at `--lh-tight` so a three-line block locks into one mass, slammed left. One red word on the whole page, inside the hero block, in `--color-accent-text`: the signature (stamp `waive 38iii`). Every other head is one colour.+- **Display:** Anton 400, one weight, uppercase only, at `--text-display`, leaded at `--lh-tight` so a three-line block locks into one mass, slammed left; each line is its own element that never wraps (`white-space: nowrap`, stamp `waive 55b`), because Anton's capitals touch below 0.92. One red word on the whole page, inside the hero block, in `--color-accent-text`: the signature (stamp `waive 38iii`). Every other head is one colour.- **Body:** Public Sans 400, 600, 700, set small and plain at a 56ch measure in `--color-ink-2`.- **Labels, captions, table heads, meta, dates, folios:** Public Sans 500 one step smaller, sentence case, `--color-muted`. Mono appears only inside code.diff --git a/skills/hallmark/references/themes/riso.md b/skills/hallmark/references/themes/riso.mdindex bf3963f..3e054bc 100644--- a/skills/hallmark/references/themes/riso.md+++ b/skills/hallmark/references/themes/riso.md@@ -28,7 +28,7 @@ Pink stock, Public Sans 900 heads over a Newsreader body, blue and yellow spot i--font-outlier: "Geist Mono", ui-monospace, monospace;--radius-card: 2px; --radius-pill: 2px; --rule-hair: 1px;--shadow-card: none; --texture-opacity: 0.06;- --tracking-display: -0.04em; --display-weight: 900;+ --tracking-display: -0.015em; --display-weight: 900;}```@@ -42,7 +42,7 @@ Pink stock, Public Sans 900 heads over a Newsreader body, blue and yellow spot i- The off-register overprint, the theme's move: a focal word carries a blue echo nudged up-left 2px and a pink echo nudged down-right 2px, both multiplied over the ink, per `texture.md` § Misregistration: one focal word per page, in the hero head, offset 1 to 3px (the signature; stamp `waive 38iii`).- Grain, declared: the `texture.md` § Grain recipe, page-wide at `--texture-opacity` 0.06, never above 0.08, up to 0.15 on a plate, under 0.05 beneath running text. Grain and misregistration are the theme's two artifacts; nothing else.-- Blue and yellow are the only inks; where they cross, multiply makes a third for free. Both under 15% of a viewport.+- Blue and yellow are the only inks; where they cross on white or on a plate, multiply makes a third for free. On the pink stock the yellow prints opaque (multiplied over pink it turns mustard). Both under 15% of a viewport.- Hairlines, a yellow `<mark>` band at x-height in running text and never inside a heading, solid rectangles at 2px, zero shadow; depth comes from overprint and rule.- The control pair: a blue-filled rectangle with paper text beside one outlined in ink, both 2px. The object family: plates. A print plate with a grained fill, a stockist list, a run sheet, a poster crop in a hairline frame.diff --git a/skills/hallmark/scripts/sloplint-render.mjs b/skills/hallmark/scripts/sloplint-render.mjsindex 82c59f1..334fb1f 100644--- a/skills/hallmark/scripts/sloplint-render.mjs+++ b/skills/hallmark/scripts/sloplint-render.mjs@@ -20,7 +20,7 @@ async function shoot(page, file, tag, fullPage) {}export async function renderCheck(htmlFiles, metaIn) {- const meta = { genre: null, postureByFile: {}, stage: 'page', ...(metaIn || {}) };+ const meta = { genre: null, postureByFile: {}, heroPostureByFile: {}, stage: 'page', ...(metaIn || {}) };const heroOnly = meta.stage === 'hero';let puppeteer = null;const { createRequire } = await import('node:module');@@ -81,7 +81,7 @@ export async function renderCheck(htmlFiles, metaIn) {await shoot(page, file, `${prefix}${w}x${h}`, false);await page.evaluate(async () => { for (let y = 0; y < document.documentElement.scrollHeight; y += 800) { window.scrollTo(0, y); await new Promise((r) => setTimeout(r, 15)); } window.scrollTo(0, 0); });await new Promise((r) => setTimeout(r, 200));- const res = await page.evaluate(observeSpace, w === 1440, heroOnly);+ const res = await page.evaluate(observeSpace, w === 1440, heroOnly, meta.heroPostureByFile[file] || '');for (const f of res) findings.push({ ...f, file, line: 1, evidence: `[${w}px] ${f.evidence}` });}} catch (e) {@@ -314,7 +314,8 @@ function observe(checkFold, meta) {return out;}-function observeSpace(atLaptop, heroOnly) {+function observeSpace(atLaptop, heroOnly, heroPosture) {+ const freeFold = /^(poster|ledge|banner)$/.test(heroPosture || '');const out = [];const push = (gate, grade, evidence, fix) => out.push({ gate: String(gate), grade, evidence, fix });const vw = window.innerWidth, vh = window.innerHeight;@@ -340,9 +341,10 @@ function observeSpace(atLaptop, heroOnly) {const boxes = [h1, ...seen.filter((e) => Math.abs(abs(e).left - abs(h1).left) < 40)].map(abs);textBox = { top: Math.min(...boxes.map((b) => b.top)), bottom: Math.max(...boxes.map((b) => b.bottom), cta ? abs(cta).bottom : 0), left: Math.min(...boxes.map((b) => b.left)), right: Math.max(...boxes.map((b) => b.right)) };let bestA = 0;+ const clipped = (el) => { const r = el.getBoundingClientRect(); let L = r.left, T = r.top, R = r.right, B = r.bottom; for (let p = el.parentElement; p && p !== document.body; p = p.parentElement) { const cs = getComputedStyle(p); if (/hidden|clip/.test(`${cs.overflow} ${cs.overflowX} ${cs.overflowY}`)) { const q = p.getBoundingClientRect(); L = Math.max(L, q.left); T = Math.max(T, q.top); R = Math.min(R, q.right); B = Math.min(B, q.bottom); } } R = Math.min(R, vw); return { top: T + scrollY, bottom: B + scrollY, left: L, right: R, w: Math.max(0, R - L), h: Math.max(0, B - T) }; };for (const e of hero.querySelectorAll('svg, canvas, img, figure, video, picture, [data-slot], [class*="fig"], [class*="visual"], [class*="device"], [class*="demo"], [class*="shot"], [class*="illus"], [class*="panel"]')) {if (!vis(e) || e.closest('nav') || e.contains(h1)) continue;- const b = abs(e); const a = b.w * b.h;+ const b = clipped(e); const a = b.w * b.h;if (b.w > 160 && b.h > 120 && a > bestA && b.w < vw * 0.95 && b.left >= textBox.right - 40) { fig = b; bestA = a; }}}@@ -375,11 +377,11 @@ function observeSpace(atLaptop, heroOnly) {}if (!heroOnly && secs.length > 9) push(59, 'WARN', `${secs.length} sections`, 'Five to eight sections a page; merge or cut');- if (heroEnd != null) {+ if (heroEnd != null && !freeFold) {if (heroEnd > vh + 8) push('44c', 'REFLEX', `hero runs past the 1440x900 fold (hero ends at ${Math.round(heroEnd)}px)`, 'Size the display and the visual so the hero is one screen');else if (heroEnd < vh * 0.84 && secs.length > 1) push('44c', 'REFLEX', `hero ends at ${Math.round(heroEnd)}px of a 900px screen`, 'Fill the first screen with the visual or the headline, not with copy');}- if (fig && textBox) {+ if (fig && textBox && !freeFold) {const off = Math.round((fig.top + fig.bottom) / 2 - (textBox.top + textBox.bottom) / 2);const gap = Math.round(fig.left - textBox.right);if (Math.abs(off) > 60) push('44c', 'REFLEX', `hero visual centre is ${off}px from the text block centre`, 'Align the visual beside the text');@@ -389,7 +391,7 @@ function observeSpace(atLaptop, heroOnly) {if (textBox && textBox.left < 120) push('44d', 'FAIL', `hero text starts ${Math.round(textBox.left)}px from the edge at 1920`, 'Cap the container at 1360 to 1520px and centre it');if (heroEnd != null && heroEnd > vh + 8) push('44d', 'FAIL', `hero runs past the 1920x1080 screen (hero ends at ${Math.round(heroEnd)}px)`, 'Cap vw-sized visuals and display sizes');- const wide = [...document.querySelectorAll('p, h1, h2, h3, li')].filter((e) => vis(e) && (e.innerText || '').trim().length > 40 && e.getBoundingClientRect().width > 1600);+ const wide = [...document.querySelectorAll('p, h1, h2, h3, li')].filter((e) => vis(e) && !e.querySelector('p, h1, h2, h3, h4, div, figure, ul, ol, table, section') && (e.innerText || '').trim().length > 40 && e.getBoundingClientRect().width > 1600);if (wide.length) push('44d', 'FAIL', `${wide.length} text blocks wider than 1600px at 1920`, 'Cap the container; hold the measure');}return out;diff --git a/skills/hallmark/scripts/sloplint.mjs b/skills/hallmark/scripts/sloplint.mjsindex 8c2ad30..0f56cbb 100644--- a/skills/hallmark/scripts/sloplint.mjs+++ b/skills/hallmark/scripts/sloplint.mjs@@ -849,6 +849,7 @@ function reasonIsBoilerplate(reason) {let WAIVED = new Set();let ANSWERED = new Set();+let DISMISSED = new Set();const findings = [];function report(gate, grade, file, line, evidence, fix) {@@ -863,11 +864,12 @@ function report(gate, grade, file, line, evidence, fix) {else if (tier === 'reflex') grade = waived ? 'WAIVED' : 'REFLEX';}if (tier === 'finish' && ANSWERED.has(b)) grade = 'ANSWERED';+ if (grade === 'WARN' && (DISMISSED.has(b) || DISMISSED.has(gateNumber(b)))) grade = 'DISMISSED';findings.push({ gate: g, grade, tier, file: rel(file), line: line || 1, evidence: trunc(String(evidence)), fix });}function applyWaivers(ctx, dir) {- WAIVED = new Set(); ANSWERED = new Set();+ WAIVED = new Set(); ANSWERED = new Set(); DISMISSED = new Set();const re = /\/\*\s*Hallmark\s*·\s*waive\s+(\d{1,2}[a-z]{0,3}|F\d+)\s*·\s*([^·*]+?)\s*·\s*([^*]+?)\s*\*\//gi;const claims = [...ctx.stampText.matchAll(re)].map((m) => ({id: m[1], evidence: m[2].trim(), reason: m[3].trim(), raw: m[0],@@ -876,7 +878,6 @@ function applyWaivers(ctx, dir) {const wellFormed = new Set(claims.map((c) => c.raw));const malformed = [...ctx.stampText.matchAll(/\/\*[^*]*Hallmark[^*]*·\s*waive\b[^*]*\*\//gi)].map((m) => m[0]).filter((raw) => !wellFormed.has(raw));- if (!claims.length && !malformed.length) return;const reasons = new Map();for (const c of claims) {const key = c.reason.toLowerCase();@@ -948,9 +949,20 @@ function applyWaivers(ctx, dir) {}ANSWERED.add(id);}++ const disRe = /\/\*\s*Hallmark\s*·\s*dismissed\s+(\d{1,2}[a-z]{0,3}|F\d+)\s*·\s*([^*]+?)\s*\*\//gi;+ for (const m of ctx.stampText.matchAll(disRe)) {+ const reason = m[2].trim();+ const bad = reason.length < 24 ? 'reason under 24 characters' : reasonIsBoilerplate(reason) ? 'boilerplate reason' : null;+ if (bad) {+ findings.push({ gate: baseGate(m[1]), grade: 'WAIVER', tier: tierOf(m[1]), file: rel(file), line: 1, evidence: trunc(`dismissal of ${m[1]} REJECTED (${bad})`), fix: 'Two · -separated fields: /* Hallmark · dismissed <gate> · <what you checked and why the warning is wrong here> */' });+ continue;+ }+ DISMISSED.add(baseGate(m[1]));+ }}-const GRADE_RANK = { FAIL: 0, REFLEX: 1, WAIVER: 2, WARN: 3, WAIVED: 4, ANSWERED: 5, NOTE: 6 };+const GRADE_RANK = { FAIL: 0, REFLEX: 1, WAIVER: 2, WARN: 3, WAIVED: 4, ANSWERED: 5, DISMISSED: 6, NOTE: 7 };function gateSortKey(g) {const f = /^F(\d+)$/.exec(g);@@ -2309,11 +2321,18 @@ const TEXT_TAGS = new Set(['p', 'span', 'li', 'small', 'a', 'div', 'figcaption',function check63(ctx) {for (const doc of ctx.docs) {const dotLines = new Set(); const arrowLines = new Set(); let dotCount = 0;+ const tickerRanges = [];+ for (let i = 0; i < doc.tags.length; i++) {+ const t = doc.tags[i];+ if (t.close || t.selfClosing || !/marquee|ticker|tape|crawl/i.test(getAttr(t.attrs, 'class') || '')) continue;+ const inner = innerOf(doc, i);+ if (inner) tickerRanges.push([t.pos, inner.endPos]);+ }for (let i = 0; i < doc.tags.length; i++) {const t = doc.tags[i];if (t.close || t.selfClosing || !TEXT_TAGS.has(t.name)) continue;const cls = getAttr(t.attrs, 'class') || '';- if (/marquee|ticker|tape|crawl/i.test(cls)) continue;+ if (/marquee|ticker|tape|crawl/i.test(cls) || tickerRanges.some(([a, b]) => t.pos > a && t.pos < b)) continue;const inner = innerOf(doc, i);if (!inner) continue;if (/<(p|div|li|section|article|ul|ol|table)\b/i.test(inner.inner)) continue;@@ -2649,7 +2668,8 @@ const isSmallCaps67 = (prop, v) => (/^font-variant(-caps)?$/.test(prop) && /\b(a|| (prop === 'font-feature-settings' && /\b(smcp|c2sc)\b/.test(v));function check67(ctx) {const bySel = mergedDeclsBySelector(ctx);- const upperDisplay = bySel.some((r) => HEADING_SEL.test(r.selector) && !LABEL67.test(r.selector) && r.decls.some((d) => d.prop === 'text-transform' && /uppercase/.test(d.value)));+ const displayish = (r) => HEADING_SEL.test(r.selector) || /display|title|headline|bill|poster|banner/i.test(r.selector) || r.decls.some((d) => (d.prop === 'font-family' || d.prop === 'font') && /--font-display/.test(d.value)) || (fontSizePxOf(r, ctx) || 0) >= 28;+ const upperDisplay = bySel.some((r) => displayish(r) && !LABEL67.test(r.selector) && r.decls.some((d) => d.prop === 'text-transform' && /uppercase/.test(d.value)));const isUpper = (v) => v != null && /uppercase/.test(resolveVars(v, ctx.tokens));const seen = new Set();for (const r of bySel) {@@ -2839,8 +2859,20 @@ function check58Static(ctx) {const sections = doc.tags.filter((t) => !t.close && t.name === 'section').length;const fullPage = sections >= 5 || doc.tags.some((t) => !t.close && t.name === 'footer');if (!fullPage || doc.kind !== 'html') continue;- const total = doc.text.split(/\s+/).filter((w) => /[A-Za-z0-9]/.test(w)).length;- if (total < 250 || total > 450) report(58, 'WARN', doc.file, 1, `${total} visible words on the page (250 to 450 expected)`, total > 450 ? 'Cut copy: one idea per screen, sections become objects' : 'A page this short is a section; fill the slots or cut the sections');+ const countWords = (t) => t.split(/\s+/).filter((w) => /[A-Za-z0-9]/.test(w)).length;+ let hiddenWords = 0, hiddenEnd = -1;+ for (let i = 0; i < doc.tags.length; i++) {+ const t = doc.tags[i];+ if (t.close || t.selfClosing || t.pos < hiddenEnd) continue;+ const cls = getAttr(t.attrs, 'class') || '';+ if (!(/(^|\s)(sr-only|visually-hidden|screen-reader-text|skip|skip-link)(\s|$)/i.test(cls) || /aria-hidden\s*=\s*["']?true/i.test(t.attrs) || /(^|\s)hidden(\s|=|$)/i.test(t.attrs))) continue;+ const inner = innerOf(doc, i);+ if (!inner) continue;+ hiddenWords += countWords(plainText(inner.inner));+ hiddenEnd = inner.endPos;+ }+ const total = countWords(doc.text) - hiddenWords;+ if (total > 450) report(58, 'WARN', doc.file, 1, `${total} visible words on the page (450 at most)`, 'Cut copy: one idea per screen, sections become objects');}}@@ -3648,6 +3680,7 @@ function shareProjects(contexts) {const waiversByDir = new Map();const postureByFile = {};+const heroPostureByFile = {};const contexts = [];for (const [dir, g] of groups) {const cssFiles = [];@@ -3692,7 +3725,8 @@ for (const [dir, g] of groups) {...docs.flatMap((d) => d.styles.map((st) => head40(st.css))),].join('\n');const posture = (/posture:\s*(restrained|committed|full-palette|drenched)/i.exec(stampText)?.[1] || 'restrained').toLowerCase();- for (const d of docs) postureByFile[d.file] = posture;+ const heroPosture = (/hero:\s*(settled|banner|poster|ledge|corridor|stage)\b/i.exec(stampText)?.[1] || '').toLowerCase();+ for (const d of docs) { postureByFile[d.file] = posture; heroPostureByFile[d.file] = heroPosture; }const allCss = cssFiles.map((c) => c.raw).join('\n') + '\n'+ docs.map((d) => d.styles.map((s) => s.css).join('\n')).join('\n');const tokensOnly = !docs.length && rules.length > 0 && rules.every(isTokenRule);@@ -3701,7 +3735,7 @@ for (const [dir, g] of groups) {shareProjects(contexts);for (const [dir, ctx] of contexts) {applyWaivers(ctx, dir);- waiversByDir.set(dir, { WAIVED, ANSWERED });+ waiversByDir.set(dir, { WAIVED, ANSWERED, DISMISSED });for (const check of CHECKS) {try { check(ctx); } catch (e) {console.error(`sloplint: internal error in ${check.name} for ${dir}: ${e.message}`);@@ -3713,12 +3747,13 @@ if (opts.render) {const htmlFiles = files.filter((f) => extname(f).toLowerCase() === '.html');try {const mod = await import(new URL('./sloplint-render.mjs', import.meta.url).href);- const extra = await mod.renderCheck([...htmlFiles, ...opts.urls], { genre: opts.genre, postureByFile, stage: opts.stage });- const allWaivers = { WAIVED: new Set([...waiversByDir.values()].flatMap((x) => [...x.WAIVED])), ANSWERED: new Set([...waiversByDir.values()].flatMap((x) => [...x.ANSWERED])) };+ const extra = await mod.renderCheck([...htmlFiles, ...opts.urls], { genre: opts.genre, postureByFile, heroPostureByFile, stage: opts.stage });+ const allWaivers = { WAIVED: new Set([...waiversByDir.values()].flatMap((x) => [...x.WAIVED])), ANSWERED: new Set([...waiversByDir.values()].flatMap((x) => [...x.ANSWERED])), DISMISSED: new Set([...waiversByDir.values()].flatMap((x) => [...(x.DISMISSED || [])])) };for (const f of extra) {const w = /^https?:/.test(f.file) ? allWaivers : waiversByDir.get(dirname(f.file));WAIVED = w ? w.WAIVED : new Set();ANSWERED = w ? w.ANSWERED : new Set();+ DISMISSED = w ? (w.DISMISSED || new Set()) : new Set();report(f.gate, f.grade === 'REFLEX' ? 'FAIL' : f.grade, f.file, f.line, f.evidence, f.fix);}} catch (e) {@@ -3752,6 +3787,7 @@ const warns = count('WARN');const waived = count('WAIVED');const rejected = count('WAIVER');const answered = count('ANSWERED');+const dismissed = count('DISMISSED');const notes = count('NOTE');const tally = [`${fails} FAIL`];@@ -3760,11 +3796,12 @@ tally.push(`${warns} WARN`);if (waived) tally.push(`${waived} WAIVED`);if (rejected) tally.push(`${rejected} REJECTED`);if (answered) tally.push(`${answered} ANSWERED`);+if (dismissed) tally.push(`${dismissed} DISMISSED`);if (notes) tally.push(`${notes} NOTE`);if (opts.json) {console.log(JSON.stringify({- summary: { fails, reflex, warns, waived, rejected, answered, notes, files: files.length },+ summary: { fails, reflex, warns, waived, rejected, answered, dismissed, notes, files: files.length },findings: unique,}, null, 2));} else {diff --git a/skills/hallmark/scripts/theme.mjs b/skills/hallmark/scripts/theme.mjsindex 1786c28..641cb27 100644--- a/skills/hallmark/scripts/theme.mjs+++ b/skills/hallmark/scripts/theme.mjs@@ -220,9 +220,8 @@ button, input, select, textarea { font: inherit; }[data-slot] { position: relative; overflow: hidden; }[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }[data-slot]:has(> img) > :not(img) { display: none !important; }-@media (min-width: 1920px) { :root { --gutter: 200px; } }@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap: 96px; } }-@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap: 72px; } }+@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap: 72px; --gap-columns: 16px; } }@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }`;const SLOTS_JS = `window.hallmarkSlots = (m) => { for (const [k, v] of Object.entries(m)) { const s = document.querySelector(\`[data-slot="\${k}"]\`); if (!s) continue; const im = new Image(); im.src = v; im.alt = ''; s.prepend(im); } };`;@@ -246,7 +245,8 @@ function scaffold() {const out = join(dir, 'tokens.css');if (existsSync(out) && !has('force')) { console.error(`${out} exists; pass --force to overwrite it`); process.exit(1); }mkdirSync(dir, { recursive: true });- const css = `:root {\n${SCALE}\n${tokens}\n}\n`;+ const scale = header && header.paper.band === 'dark' ? SCALE.replace('--color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);', '--color-error: oklch(72% 0.15 27); --color-success: oklch(76% 0.13 150);') : SCALE;+ const css = `:root {\n${scale}\n${tokens}\n}\n`;writeFileSync(out, css);const stamp = custom? `/* Hallmark · shape: <shape> · genre: <genre> · custom: draw n/7 (seed <slug>·<date>·r0)\n * hero: <posture> · nav: <shape> · footer: <shape> · enrichment: <none or the file> · signature: <the one move>\n * axes: <paper>/<display>/<accent> · posture: <posture> · contrast: pass · fold: pass · v${VERSION} */`