Anti-AI-slop design skill for Claude Code, Cursor, and Codex.
CSS
Hallmark v2.4: a word-by-word audit, lighter builds, a linter that measures more
Youssefd6edd73d4ba6
diff --git a/README.md b/README.mdindex be1221d..2a85e67 100644--- a/README.md+++ b/README.md@@ -10,7 +10,7 @@ Made by Together AI.<img src="site/OG-hallmark.png" alt="Hallmark, a design skill that refuses to look AI-generated" /></p>-Hallmark holds a hard floor and then gets out of the way. It deals three themes from a catalog of forty-nine materials, and a script applies the rotation so consecutive builds cannot converge. When the user asks for **custom** it derives a world made to measure, with an outside draw picking among grounded directions so the model cannot repeat its favourite. It keeps every page to one idea per screen. Then it lints the result against the tells that read as machine-made in 2026: the eyebrow above every heading, the small label in tracked capitals, the one coloured word in a headline, middle-dot meta strings, arrows glued to link text, mono labels as a technical costume, cream paper with a high-contrast serif and a clay accent, a page of empty picture frames, one price said four times, a form that says thanks without sending anything, and content that ships invisible when a script fails.+Hallmark holds a hard floor and then gets out of the way. It deals three themes from a catalog of forty-nine materials, and a script applies the rotation so consecutive builds cannot converge. When the user asks for **custom** it derives a world made to measure, with an outside draw picking among grounded directions so the model cannot repeat its favourite. It keeps every page to one idea per screen. Then it lints the result against the tells that read as machine-made in 2026: the eyebrow above every heading, the small label in tracked capitals, the one coloured word in a headline, middle-dot meta strings, arrows glued to link text, mono labels as a technical costume, cream paper with a high-contrast serif and a clay accent, a page of empty picture frames, one price said four times, a form that says thanks without sending anything, content that ships invisible when a script fails, text crammed against the edge of its box, and text painted under another element.The gates come in tiers. The **Floor** never ships: contrast, focus, reduced motion, invented metrics, layout that breaks on a phone, the fold at three widths, the eyebrow. **Reflex** gates are the defaults a language model falls into rather than laws, and a build with an argument may overrule one on the record, with the reason in the CSS stamp and the guard re-derived by the checker. **Finish** checks are craft detail that never blocks a ship. A fresh-context reviewer with no memory of the build gets the last word.@@ -23,8 +23,8 @@ Two pages by Hallmark for two different briefs feel like different sites, not co1. Pre-flight reads the project (fonts, palette, framework, a locked `design.md`).2. One message asks for the material first (screenshots, photos, real numbers, a quote with a name), then audience, use and tone. Material is never invented: what was not given becomes a designed slot or stays absent.3. The page is designed from that inventory, then named; the signature move comes from the strongest real thing. `scripts/theme.mjs deal` prints three themes that fit the brief and clear the log.-4. The build loads one craft file, one genre file, one theme file with its picture (a finished page in that theme, for scale and density, never composition) and the gate table. `scripts/theme.mjs scaffold` writes the tokens and prints the base rules.-5. A Picks block states every decision once. One exemplar page for the genre is read for craft.+4. The build loads one craft file, one genre file, one theme file with its picture (a finished page in that theme, for scale and density, never composition) and the gate table. `scripts/theme.mjs scaffold` writes `tokens.css` and `base.css`, so the page starts with the Floor already in place.+5. A Picks block states every decision once. A short patterns file shows how controls, slots, forms and reveals are written to pass the gates, without a whole page to copy.6. The nav and hero are built alone first, rendered at four sizes and reviewed cold before the rest of the page exists.7. `scripts/sloplint.mjs --render` runs the mechanical gates at 320 to 1920 wide, the model walks the judged ones, and a subagent reviews the finished page cold.@@ -83,7 +83,7 @@ The same SKILL.md, references, gates and scripts run in **Claude Code**, **Codexnode skills/hallmark/scripts/sloplint.mjs <file-or-dir> --genre <genre> --render```-One command installs a lean copy (skill, references, scripts, never the marketing site) everywhere it belongs. On the way it rebuilds the theme index and runs `scripts/refcheck.mjs`, which reads every reference file for dead links, missing sections, retired gate numbers, unknown tokens, stale stamps and sample copy that breaks a gate, and lints the four exemplar pages, which must pass every gate they teach; the install stops if it finds one:+One command installs a lean copy (skill, references, scripts, never the marketing site) everywhere it belongs. On the way it rebuilds the theme index and runs `scripts/refcheck.mjs`, which reads every reference file for dead links, missing sections, retired gate numbers, unknown tokens, stale stamps and sample copy that breaks a gate, lints four complete pages (one per genre) that must pass every gate, and checks that the deliberately broken fixtures still fail; the install stops if it finds a problem:```bashnode skills/hallmark/scripts/install.mjsdiff --git a/ROADMAP.md b/ROADMAP.mdindex ceeeb2f..1480185 100644--- a/ROADMAP.md+++ b/ROADMAP.md@@ -1,50 +1,31 @@# Roadmap-What's next. (v1.2 shipped: four new themes with the image hook, spec files for every theme, the edit-time lint hook, the Tier A conformance harness, variants v2 with progressive reveal + grafts + thumbnails + scoped injection and the corner dock, and the harness pivot - one core with per-harness adapters for Claude Code / Codex / OpenCode plus the multi-harness installer.)+What is next for Hallmark.-**Since v1.2: the floor / library split.** The eyebrow is banned outright, in every geometry, with a DOM-shape detector behind it and twelve replacement openings in `section-entry.md`. The 58 gates gained tiers: 34 carry a Floor clause that nothing ships through, 18 are Reflex gates a build can waive on the record with a mechanically re-derived guard and no cap, 6 never block. `FAIL` and `REFLEX` are separate grades, so "0 FAIL" is a true claim about the floor even while a build still owes an argument above it. Themes were cut to a written contract and are material rather than page plans, which took them from 4,070 lines to 2,861. The catalogs stopped being a mandatory pick and became a place to look.+**Where v2 stands.** Hallmark does one job, build. A build deals three themes from a catalog of forty-nine materials, each with a picture of a finished page, or derives a world of its own on request. A Floor of hard rules and a set of Reflex defaults are enforced by a zero-dependency linter that reads HTML, CSS, framework components and Tailwind classes, and with `--render` measures the page itself: the fold at three widths, contrast against the pixels behind the text, focus rings found by tabbing, section rhythm, heads crowding what precedes them, text cramped against its box or painted under another element. Two fresh-context reviews, of the first screen and of the finished page, close every build.---## Now-**Pay down the floor debt in the committed corpus.** Now that the gates are tiered, the real number is visible: across every committed page there are **56 Floor findings**, not the 230 the old flat linter reported. They cluster as 18 token improvisations (gate 48), 9 layout animations (14), 8 pages missing `overflow-x: clip` (34), 4 missing reduced-motion fallbacks (27), 4 missing stamps (20), 4 purple gradients (2), 3 long-word wraps (51), 3 missing focus rings (26), 2 double-sticky (56) and one placeholder name (19). Several are access failures and none of them is taste. This is the highest-value cleanup left.+**Decide the field's newest named defaults.** The leading design skills now also name cream or off-white paper on its own, pill-shaped buttons, near-black with one acid accent, and the hairline broadsheet as generated looks. Sixteen catalog themes sit on cream papers and nineteen put their controls on a full pill. Custom runs already treat these as spent; the catalog needs a decision: keep them as deliberate materials dealt only on their keywords, or re-paper and re-shape the ones that drift there.-**A Floor violation sits on the flagship example.** `site/examples/tally` italicises one word inside its roman hero headline, which is gate 38a-i, and that page is the first card in the README table. Either fix the headline or stop leading with it.+**Conformance on all three harnesses.** Run the same brief through Claude Code, `codex exec` and OpenCode's non-interactive mode and assert each one reaches a 0 FAIL sweep with its fresh-context review recorded.-**Conformance on all three harnesses.** Tier A (`gen-cli.mjs`) drives Claude Code today; run it in a logged-in terminal. Next: the same conformance pass through `codex exec` and OpenCode's non-interactive run, asserting each harness loads its adapter (`harnesses/codex.md` / `harnesses/opencode.md`), holds the load-order discipline, and lands 0-FAIL sloplint. (The old Tier B bare-API open-model matrix is retired from the roadmap; the tooling stays in `eval/` as an archive.)--**Measure the variants speedup.** `eval/variants-bench.md` documents the four-config protocol; run it on a real authenticated machine and publish the wall-clock + token table (parallel + sketch + progressive vs the v1 baseline).--**Second example builds for the four new themes.** Each shipped with a canonical `-01`; add a `-02` on a second brief, and marketing cards on the homepage gallery.+**Measure a build.** Time and token cost of one page build before and after the v2 efficiency pass (patterns in place of a whole exemplar page, `base.css` written by the scaffold, review briefs the builder never reads), on the same brief.---## Next-**sloplint as an edit-time hook, on by default.** The hook exists (`scripts/install-hook.mjs`) and is opt-in. Consider shipping a project `.claude/settings.json` with it pre-wired, or a one-line prompt in `init`.--**Grow the direction atlas + rate the draw.** More lineages, usage-weighted dealing, a ratings pass so strong directions surface more often.--**Variants v2.1.** Screenshot thumbnails in the picker are in; next: DOM-injection with write-back for non-file-router apps (the hard AST-codemod path deliberately deferred), and a live variants demo wired on usehallmark.com.--**Brand-first flow.** From a short product description, generate a complete brand (palette, type, voice, imagery via the image hook) locked into a `design.md`; then every page builds against it.--**Theme-aware motion tokens.** Per-theme `--dur-micro` / `--dur-short` / `--dur-long`; Atelier should feel slower than Brutal.--**Multi-page coherence.** Lock the brand axes, vary the page-voice axes: different pages of the same site, not different sites.--**`study` reads your own codebase.** Third input mode: a path. Walk the files, extract the tokens + fingerprint in use, emit the same `design.md`.--**Charts reference.** A `data-viz.md`: small multiples over dense singles, one accent + neutrals, the worst chart types banned outright.+- **Theme-aware motion tokens.** Per-theme `--dur-micro`, `--dur-short` and `--dur-long` from each theme's motion character, so a severe theme moves faster than a calm one without hand-tuning.+- **Multi-page coherence.** Lock the brand axes in a `design.md`, vary the page-voice axes: different pages of one site, not different sites.+- **Brand-first flow.** From a short product description, a complete brand (palette, type, voice, imagery through the image hook) locked into a `design.md`, then every page built against it.+- **The edit-time hook on by default.** `scripts/install-hook.mjs` is opt-in today; ship a project `.claude/settings.json` with it wired.---## Later-- **More harness adapters.** Claude Code, Codex, and OpenCode are first-class today; Gemini CLI / Copilot adapters only if demand shows up, same one-core-plus-adapter shape.-- **`hallmark explain`** - narrate the choices axis by axis; the skill teaches.-- **Negative-capability rules** - for each anti-pattern, the perceptual reason it fails.-- **Emotion-first prompting** - *nostalgic, optimistic, sceptical* instead of tone adjectives.-- **Sound + haptic policy** - when web sound is acceptable without kitsch.-- **Live preview as an MCP server** - watch, render, screenshot, feed back into the gate sweep (the `--render` tier and `gen-cli.mjs` are the seeds of this).+- **More harnesses.** Gemini CLI or Copilot only if demand shows up, same one-core shape.+- **Live preview as an MCP server.** Watch, render, screenshot and feed back into the sweep; the `--render` tier is the seed of it.diff --git a/eval/.gitignore b/eval/.gitignoreindex 5933330..5e3f55a 100644--- a/eval/.gitignore+++ b/eval/.gitignore@@ -2,5 +2,6 @@ _packs/runs/_shots/runs-matrix.log-eval/_cli-scratch/+_cli-scratch/+models.local.json__pycache__/diff --git a/eval/README.md b/eval/README.mdindex 613084b..6ce1fba 100644--- a/eval/README.md+++ b/eval/README.md@@ -76,7 +76,7 @@ python3 eval/serve.py # then open http://127.0.0.1:4201python3 eval/gen-direct.py --brief all --arm all --pack floor --repair 1```-Keys come from the `keyFiles` listed in `models.json` with the process environment as fallback. As of the last check, `OPENROUTER_API_KEY` is not in either key file; export it (or add it to a key file) before running the OpenRouter arms.+Keys come from the process environment, then from the `keyFiles` listed in `models.json` or in an untracked `models.local.json` (`{"keyFiles": ["/path/to/.env"]}`), KEY=VALUE lines.Notes:diff --git a/eval/_cli-scratch/b1-bare/index.html b/eval/_cli-scratch/b1-bare/index.htmldeleted file mode 100644index 9c5752f..0000000--- a/eval/_cli-scratch/b1-bare/index.html+++ /dev/null@@ -1,441 +0,0 @@-<!DOCTYPE html>-<html lang="en">-<head>-<meta charset="utf-8">-<meta name="viewport" content="width=device-width, initial-scale=1">-<title>Timbre - AI voice cloning studio</title>-<meta name="description" content="Timbre turns a 30 second recording into a studio-grade synthetic voice you own outright. Direct it with emotion tags, edit it phoneme by phoneme, ship it over one API.">-<link rel="preconnect" href="https://fonts.googleapis.com">-<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>-<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">-<link rel="stylesheet" href="styles.css">-</head>-<body>--<a class="skip" href="#main">Skip to content</a>--<header class="nav">- <div class="nav__in">- <a class="brand" href="#top" aria-label="Timbre home">- <span class="brand__mark" aria-hidden="true"><i></i><i></i><i></i><i></i></span>- <span class="brand__word">Timbre</span>- </a>- <nav class="nav__links" aria-label="Primary">- <a href="#voices">Voices</a>- <a href="#platform">Platform</a>- <a href="#safety">Safety</a>- <a href="#pricing">Pricing</a>- </nav>- <div class="nav__act">- <a class="link-quiet" href="#faq">Docs</a>- <a class="btn btn--sm" href="#pricing">Start cloning</a>- </div>- </div>-</header>--<main id="main">-- <!-- ============ HERO ============ -->- <section class="hero" id="top">- <div class="hero__glow" aria-hidden="true"></div>- <div class="wrap hero__in">-- <div class="hero__copy">- <p class="eyebrow"><span class="dot"></span>Engine v4 · now streaming at 180 ms</p>- <h1>Clone a voice in<br>thirty seconds.<br><em>Keep it for life.</em></h1>- <p class="lede">- Timbre turns one short recording into a studio-grade synthetic voice that stays yours.- Direct it with emotion tags, correct it phoneme by phoneme, then ship it to every- channel you run through a single API.- </p>- <div class="hero__cta">- <a class="btn btn--lg" href="#pricing">Clone your voice</a>- <a class="btn btn--ghost btn--lg" href="#voices">- <span class="play" aria-hidden="true"></span> Hear the demo reel- </a>- </div>- <ul class="hero__meta">- <li>No card to start</li>- <li>48 kHz / 24-bit output</li>- <li>SOC 2 Type II</li>- </ul>- </div>-- <figure class="console" aria-label="Timbre studio interface preview">- <div class="console__bar">- <span class="console__dots" aria-hidden="true"><i></i><i></i><i></i></span>- <span class="mono">timbre / studio</span>- <span class="chip chip--live">REC</span>- </div>-- <div class="console__body">- <div class="track">- <div class="track__head">- <span class="mono">founder_take_03.wav</span>- <span class="mono dim">00:31</span>- </div>- <div class="wave" aria-hidden="true">- <span style="--h:.28;--d:0s"></span><span style="--h:.55;--d:.06s"></span>- <span style="--h:.82;--d:.12s"></span><span style="--h:.44;--d:.18s"></span>- <span style="--h:.96;--d:.24s"></span><span style="--h:.62;--d:.3s"></span>- <span style="--h:.34;--d:.36s"></span><span style="--h:.78;--d:.42s"></span>- <span style="--h:1;--d:.48s"></span><span style="--h:.52;--d:.54s"></span>- <span style="--h:.7;--d:.6s"></span><span style="--h:.3;--d:.66s"></span>- <span style="--h:.86;--d:.72s"></span><span style="--h:.48;--d:.78s"></span>- <span style="--h:.66;--d:.84s"></span><span style="--h:.92;--d:.9s"></span>- <span style="--h:.4;--d:.96s"></span><span style="--h:.74;--d:1.02s"></span>- <span style="--h:.26;--d:1.08s"></span><span style="--h:.58;--d:1.14s"></span>- <span style="--h:.88;--d:1.2s"></span><span style="--h:.36;--d:1.26s"></span>- <span style="--h:.64;--d:1.32s"></span><span style="--h:.98;--d:1.38s"></span>- <span style="--h:.46;--d:1.44s"></span><span style="--h:.72;--d:1.5s"></span>- <span style="--h:.32;--d:1.56s"></span><span style="--h:.8;--d:1.62s"></span>- <span style="--h:.54;--d:1.68s"></span><span style="--h:.24;--d:1.74s"></span>- </div>- </div>-- <div class="console__row">- <span class="mono dim">Training</span>- <div class="meter" role="img" aria-label="Training 82 percent complete"><i style="--p:82%"></i></div>- <span class="mono">82%</span>- </div>-- <div class="console__grid">- <div><span class="mono dim">Similarity</span><strong>98.4</strong></div>- <div><span class="mono dim">Latency</span><strong>180<small>ms</small></strong></div>- <div><span class="mono dim">Languages</span><strong>32</strong></div>- </div>-- <div class="console__tags">- <span class="chip">[warm]</span>- <span class="chip">[whisper]</span>- <span class="chip chip--on">[read: news]</span>- <span class="chip">+14</span>- </div>- </div>- </figure>- </div>- </section>-- <!-- ============ TICKER ============ -->- <section class="ticker" aria-label="Teams building on Timbre">- <div class="ticker__track">- <div class="ticker__set">- <span>Audible Nine</span><b></b><span>Northwind Games</span><b></b><span>Radio Vela</span><b></b>- <span>Lumen Health</span><b></b><span>Kestrel Studios</span><b></b><span>Duolang</span><b></b>- <span>Postmark Media</span><b></b><span>Havn Airlines</span><b></b>- </div>- <div class="ticker__set" aria-hidden="true">- <span>Audible Nine</span><b></b><span>Northwind Games</span><b></b><span>Radio Vela</span><b></b>- <span>Lumen Health</span><b></b><span>Kestrel Studios</span><b></b><span>Duolang</span><b></b>- <span>Postmark Media</span><b></b><span>Havn Airlines</span><b></b>- </div>- </div>- </section>-- <!-- ============ STEPS ============ -->- <section class="steps wrap" aria-labelledby="steps-h">- <header class="sec-head">- <p class="eyebrow">The workflow</p>- <h2 id="steps-h">Three sentences in.<br>A working voice out.</h2>- </header>- <ol class="rail">- <li>- <span class="rail__n">01</span>- <h3>Record thirty seconds</h3>- <p>Read three prompt sentences into any laptop mic. Timbre strips room tone, tames plosives and normalises level before a single weight is trained.</p>- </li>- <li>- <span class="rail__n">02</span>- <h3>Train in four minutes</h3>- <p>The v4 engine fits prosody, breath pattern and accent on our GPUs, then hands back a private checkpoint. Nothing enters a shared model.</p>- </li>- <li>- <span class="rail__n">03</span>- <h3>Direct and ship</h3>- <p>Steer delivery with inline tags, nudge any syllable in the phoneme editor, and stream the result to your app, your IVR or your render farm.</p>- </li>- </ol>- </section>-- <!-- ============ VOICES ============ -->- <section class="voices" id="voices" aria-labelledby="voices-h">- <div class="wrap">- <header class="sec-head sec-head--split">- <div>- <p class="eyebrow">Voice library</p>- <h2 id="voices-h">Cloned, cleared and ready to cast</h2>- </div>- <p class="sec-head__note">Every voice below is licensed from a paid performer with recorded consent. Scroll the rack.</p>- </header>- </div>-- <div class="rack" tabindex="0" role="group" aria-label="Voice cards, scrollable">- <article class="voice voice--on">- <div class="voice__top"><button class="pbtn" type="button" aria-label="Play Nadia"><span class="play"></span></button>- <div><h3>Nadia</h3><p class="mono dim">Warm narrator · en-GB</p></div></div>- <div class="wave wave--sm" aria-hidden="true">- <span style="--h:.4;--d:0s"></span><span style="--h:.9;--d:.08s"></span><span style="--h:.55;--d:.16s"></span>- <span style="--h:.75;--d:.24s"></span><span style="--h:.3;--d:.32s"></span><span style="--h:.85;--d:.4s"></span>- <span style="--h:.6;--d:.48s"></span><span style="--h:1;--d:.56s"></span><span style="--h:.45;--d:.64s"></span>- <span style="--h:.7;--d:.72s"></span><span style="--h:.35;--d:.8s"></span><span style="--h:.8;--d:.88s"></span>- <span style="--h:.5;--d:.96s"></span><span style="--h:.65;--d:1.04s"></span><span style="--h:.28;--d:1.12s"></span>- </div>- <ul class="voice__tags"><li>audiobook</li><li>calm</li><li>142 wpm</li></ul>- </article>-- <article class="voice">- <div class="voice__top"><button class="pbtn" type="button" aria-label="Play Kwesi"><span class="play"></span></button>- <div><h3>Kwesi</h3><p class="mono dim">Broadcast · en-NG</p></div></div>- <div class="wave wave--sm" aria-hidden="true">- <span style="--h:.7;--d:0s"></span><span style="--h:.35;--d:.08s"></span><span style="--h:.95;--d:.16s"></span>- <span style="--h:.5;--d:.24s"></span><span style="--h:.8;--d:.32s"></span><span style="--h:.42;--d:.4s"></span>- <span style="--h:.66;--d:.48s"></span><span style="--h:.3;--d:.56s"></span><span style="--h:.88;--d:.64s"></span>- <span style="--h:.55;--d:.72s"></span><span style="--h:.74;--d:.8s"></span><span style="--h:.38;--d:.88s"></span>- <span style="--h:.92;--d:.96s"></span><span style="--h:.46;--d:1.04s"></span><span style="--h:.6;--d:1.12s"></span>- </div>- <ul class="voice__tags"><li>news</li><li>authoritative</li><li>165 wpm</li></ul>- </article>-- <article class="voice">- <div class="voice__top"><button class="pbtn" type="button" aria-label="Play Mireia"><span class="play"></span></button>- <div><h3>Mireia</h3><p class="mono dim">Character · es-ES</p></div></div>- <div class="wave wave--sm" aria-hidden="true">- <span style="--h:.3;--d:0s"></span><span style="--h:.68;--d:.08s"></span><span style="--h:.44;--d:.16s"></span>- <span style="--h:.92;--d:.24s"></span><span style="--h:.58;--d:.32s"></span><span style="--h:.36;--d:.4s"></span>- <span style="--h:.82;--d:.48s"></span><span style="--h:.5;--d:.56s"></span><span style="--h:.7;--d:.64s"></span>- <span style="--h:.26;--d:.72s"></span><span style="--h:.96;--d:.8s"></span><span style="--h:.54;--d:.88s"></span>- <span style="--h:.64;--d:.96s"></span><span style="--h:.4;--d:1.04s"></span><span style="--h:.78;--d:1.12s"></span>- </div>- <ul class="voice__tags"><li>games</li><li>expressive</li><li>151 wpm</li></ul>- </article>-- <article class="voice">- <div class="voice__top"><button class="pbtn" type="button" aria-label="Play Jonas"><span class="play"></span></button>- <div><h3>Jonas</h3><p class="mono dim">Explainer · de-DE</p></div></div>- <div class="wave wave--sm" aria-hidden="true">- <span style="--h:.55;--d:0s"></span><span style="--h:.85;--d:.08s"></span><span style="--h:.32;--d:.16s"></span>- <span style="--h:.7;--d:.24s"></span><span style="--h:.46;--d:.32s"></span><span style="--h:.9;--d:.4s"></span>- <span style="--h:.38;--d:.48s"></span><span style="--h:.62;--d:.56s"></span><span style="--h:.28;--d:.64s"></span>- <span style="--h:.8;--d:.72s"></span><span style="--h:.5;--d:.8s"></span><span style="--h:.72;--d:.88s"></span>- <span style="--h:.34;--d:.96s"></span><span style="--h:.94;--d:1.04s"></span><span style="--h:.58;--d:1.12s"></span>- </div>- <ul class="voice__tags"><li>tutorial</li><li>neutral</li><li>138 wpm</li></ul>- </article>-- <article class="voice voice--cta">- <h3>Your voice<br>belongs here</h3>- <p>Upload a take and it joins the rack in about four minutes.</p>- <a class="btn btn--sm" href="#pricing">Start a clone</a>- </article>- </div>- </section>-- <!-- ============ PLATFORM / BENTO ============ -->- <section class="platform wrap" id="platform" aria-labelledby="platform-h">- <header class="sec-head">- <p class="eyebrow">Platform</p>- <h2 id="platform-h">Everything a real production needs</h2>- </header>-- <div class="bento">- <article class="cell cell--wide">- <h3>Direct it like a performer</h3>- <p>Bracket tags sit inline with your script. Whisper a line, land a laugh, hold a beat, drop the pitch for the disclaimer. No re-record, no re-train.</p>- <pre class="code" aria-label="Example script with direction tags"><code><span class="c">// script.txt</span>-[warm] Welcome back to the show.-[pause:400ms] [whisper] Now, the part they cut.-[laugh:soft] You are going to want to sit down.</code></pre>- </article>-- <article class="cell cell--stat">- <span class="stat">180<small>ms</small></span>- <h3>First audio byte</h3>- <p>Websocket streaming fast enough for live agents and two-way calls.</p>- </article>-- <article class="cell">- <h3>Phoneme editor</h3>- <p>Click any word to open its IPA string. Fix a surname, stress a brand, lock the pronunciation across every future render.</p>- <p class="mono dim ipa">/ˈtɪm.bər/ → /ˈtæ̃:bʁ/</p>- </article>-- <article class="cell cell--lang">- <h3>One clone, 32 languages</h3>- <p>Accent and identity carry across the whole set. Record in English, publish in Japanese without booking a second session.</p>- <ul class="flags mono"><li>EN</li><li>ES</li><li>FR</li><li>DE</li><li>PT</li><li>JA</li><li>HI</li><li>+25</li></ul>- </article>-- <article class="cell cell--api">- <h3>Ship it anywhere</h3>- <pre class="code"><code><span class="c"># one endpoint, any voice</span>-curl https://api.timbre.audio/v4/speak \- -H <span class="s">"Authorization: Bearer $TIMBRE_KEY"</span> \- -d <span class="s">'{"voice":"nadia","stream":true,- "text":"Your car is two minutes away."}'</span></code></pre>- <ul class="sdks mono"><li>REST</li><li>Websocket</li><li>Node</li><li>Python</li><li>Unity</li></ul>- </article>- </div>- </section>-- <!-- ============ SAFETY (inverted) ============ -->- <section class="safety" id="safety" aria-labelledby="safety-h">- <div class="wrap safety__in">- <div class="safety__copy">- <p class="eyebrow eyebrow--ink">Consent and control</p>- <h2 id="safety-h">A cloned voice should only ever be the owner's to lend.</h2>- <p class="lede lede--ink">- Voice cloning earns trust or it earns regulation. We built the consent layer first- and the model second, so the person in the recording keeps the final say.- </p>- <a class="btn btn--ink" href="#faq">Read the policy</a>- </div>- <ul class="safety__list">- <li><span class="mono">01</span><div><h3>Verified consent capture</h3><p>Every clone starts with a spoken consent phrase matched against the training audio. No match, no model.</p></div></li>- <li><span class="mono">02</span><div><h3>Inaudible watermark</h3><p>All output carries a durable watermark that survives compression, re-recording and clipping. Free public detector.</p></div></li>- <li><span class="mono">03</span><div><h3>Likeness lock</h3><p>Blocklists for public figures, plus per-voice rules that reject scripts touching payments, elections or medical advice.</p></div></li>- <li><span class="mono">04</span><div><h3>Revoke in one click</h3><p>Owners can kill a voice from any device. Checkpoints and cached audio are purged within 24 hours, receipts included.</p></div></li>- </ul>- </div>- </section>-- <!-- ============ STATS ============ -->- <section class="numbers wrap" aria-label="Platform numbers">- <div><strong>4<small>min</small></strong><span>median training time</span></div>- <div><strong>98.4<small>%</small></strong><span>speaker similarity</span></div>- <div><strong>32</strong><span>languages per clone</span></div>- <div><strong>99.98<small>%</small></strong><span>API uptime, 12 months</span></div>- </section>-- <!-- ============ PRICING ============ -->- <section class="pricing wrap" id="pricing" aria-labelledby="pricing-h">- <header class="sec-head">- <p class="eyebrow">Pricing</p>- <h2 id="pricing-h">Pay for minutes, not seats</h2>- </header>-- <div class="plans">- <article class="plan">- <h3>Solo</h3>- <p class="plan__for">For one creator and one voice.</p>- <p class="plan__price"><span>$19</span><small>/month</small></p>- <ul>- <li>2 cloned voices</li>- <li>120 minutes of audio</li>- <li>48 kHz WAV and MP3</li>- <li>Emotion tags and phoneme editor</li>- <li>Commercial use included</li>- </ul>- <a class="btn btn--ghost btn--full" href="#">Start free trial</a>- </article>-- <article class="plan plan--hot">- <span class="plan__flag">Most studios pick this</span>- <h3>Studio</h3>- <p class="plan__for">For teams shipping on a schedule.</p>- <p class="plan__price"><span>$89</span><small>/month</small></p>- <ul>- <li>15 cloned voices</li>- <li>900 minutes, pooled</li>- <li>Streaming API at 180 ms</li>- <li>Shared pronunciation dictionary</li>- <li>Seat roles and audit log</li>- <li>Priority render queue</li>- </ul>- <a class="btn btn--full" href="#">Start free trial</a>- </article>-- <article class="plan">- <h3>Enterprise</h3>- <p class="plan__for">For regulated and high volume work.</p>- <p class="plan__price"><span>Custom</span></p>- <ul>- <li>Unlimited voices and minutes</li>- <li>Private or on-prem inference</li>- <li>Custom watermark keys</li>- <li>SSO, SCIM, DPA, HIPAA</li>- <li>Named solutions engineer</li>- </ul>- <a class="btn btn--ghost btn--full" href="#">Talk to sales</a>- </article>- </div>- </section>-- <!-- ============ FAQ ============ -->- <section class="faq wrap" id="faq" aria-labelledby="faq-h">- <div class="faq__head">- <p class="eyebrow">Questions</p>- <h2 id="faq-h">Before you record</h2>- <p class="dim">Still unsure? Write to <a href="mailto:[email protected]">[email protected]</a> and a human answers within a day.</p>- </div>- <div class="faq__list">- <details open>- <summary>How much audio do I actually need?</summary>- <p>Thirty seconds of clean speech gets you a usable clone. Three minutes gets you one that holds up across long-form narration and unusual words. More than ten minutes stops helping.</p>- </details>- <details>- <summary>Who owns the resulting voice?</summary>- <p>You do. The checkpoint is yours, it is never folded into a shared base model, and you can export or delete it at any time. If you cancel, we hold it for 30 days and then purge it.</p>- </details>- <details>- <summary>Can I clone someone else's voice?</summary>- <p>Only with their recorded consent through our capture flow, or a signed licence on Enterprise. Public-figure voices are blocked outright, and attempts are logged.</p>- </details>- <details>- <summary>Does the accent survive translation?</summary>- <p>Yes. Identity and accent are modelled separately from language, so a Glaswegian speaker still sounds Glaswegian reading Spanish. You can also dial the accent toward native.</p>- </details>- <details>- <summary>What happens when I hit my minutes?</summary>- <p>Rendering keeps working and overage bills at $0.11 per minute. No hard cut-off in the middle of a production, and you can cap overage per project.</p>- </details>- </div>- </section>-- <!-- ============ CTA ============ -->- <section class="cta">- <div class="wrap cta__in">- <div class="wave wave--band" aria-hidden="true">- <span style="--h:.3;--d:0s"></span><span style="--h:.7;--d:.07s"></span><span style="--h:.45;--d:.14s"></span>- <span style="--h:.9;--d:.21s"></span><span style="--h:.55;--d:.28s"></span><span style="--h:.35;--d:.35s"></span>- <span style="--h:.8;--d:.42s"></span><span style="--h:.5;--d:.49s"></span><span style="--h:1;--d:.56s"></span>- <span style="--h:.4;--d:.63s"></span><span style="--h:.65;--d:.7s"></span><span style="--h:.28;--d:.77s"></span>- <span style="--h:.85;--d:.84s"></span><span style="--h:.6;--d:.91s"></span><span style="--h:.38;--d:.98s"></span>- <span style="--h:.75;--d:1.05s"></span><span style="--h:.5;--d:1.12s"></span><span style="--h:.92;--d:1.19s"></span>- </div>- <h2>Say one sentence.<br>Get every sentence.</h2>- <p>Free trial, no card, and the clone is deleted the moment you ask.</p>- <a class="btn btn--lg" href="#">Clone your voice</a>- </div>- </section>-</main>--<footer class="foot">- <div class="wrap">- <div class="foot__cols">- <div class="foot__brand">- <a class="brand" href="#top">- <span class="brand__mark" aria-hidden="true"><i></i><i></i><i></i><i></i></span>- <span class="brand__word">Timbre</span>- </a>- <p class="dim">Synthetic voice, honestly made.<br>Built in Lisbon and Montreal.</p>- </div>- <nav aria-label="Product"><h4>Product</h4><ul>- <li><a href="#voices">Voice library</a></li><li><a href="#platform">Streaming API</a></li>- <li><a href="#platform">Phoneme editor</a></li><li><a href="#pricing">Pricing</a></li></ul></nav>- <nav aria-label="Company"><h4>Company</h4><ul>- <li><a href="#">About</a></li><li><a href="#">Careers</a></li>- <li><a href="#">Changelog</a></li><li><a href="#">Press kit</a></li></ul></nav>- <nav aria-label="Trust"><h4>Trust</h4><ul>- <li><a href="#safety">Consent policy</a></li><li><a href="#safety">Watermark detector</a></li>- <li><a href="#">Security</a></li><li><a href="#">Status</a></li></ul></nav>- </div>- <div class="foot__word" aria-hidden="true">TIMBRE</div>- <div class="foot__base">- <p class="mono dim">© 2026 Timbre Audio Labs</p>- <p class="mono dim"><a href="#">Terms</a> · <a href="#">Privacy</a> · <a href="#">Do not sell my voice</a></p>- </div>- </div>-</footer>--</body>-</html>diff --git a/eval/_cli-scratch/b1-bare/styles.css b/eval/_cli-scratch/b1-bare/styles.cssdeleted file mode 100644index 2f7231e..0000000--- a/eval/_cli-scratch/b1-bare/styles.css+++ /dev/null@@ -1,535 +0,0 @@-/* ==========================================================================- Timbre - AI voice cloning studio- 1. Tokens 5. Hero 9. Safety- 2. Reset 6. Ticker 10. Numbers- 3. Primitives 7. Steps 11. Pricing- 4. Nav 8. Voices/Bento 12. FAQ / CTA / Footer- ========================================================================== */--/* 1. TOKENS ---------------------------------------------------------------- */-:root {- --ink: #08090b;- --ink-2: #0d0f13;- --panel: #12151a;- --panel-2: #171b21;- --line: #23282f;- --line-soft: #1a1e24;-- --bone: #f4f1ec;- --text: #e9e6e1;- --muted: #949aa3;- --dim: #6b7178;-- --ember: #ff5a2a;- --amber: #ffb020;- --ember-soft: rgba(255, 90, 42, .14);- --grad: linear-gradient(100deg, var(--ember), var(--amber));-- --sans: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;- --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;-- --r-sm: 8px;- --r: 14px;- --r-lg: 22px;-- --pad: clamp(1.25rem, 5vw, 4rem);- --sec: clamp(4.5rem, 9vw, 7.5rem);- --max: 1200px;-- --ease: cubic-bezier(.2, .7, .3, 1);-}--/* 2. RESET ----------------------------------------------------------------- */-*, *::before, *::after { box-sizing: border-box; }-* { margin: 0; }--html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }--body {- background: var(--ink);- color: var(--text);- font-family: var(--sans);- font-size: 16px;- line-height: 1.6;- -webkit-font-smoothing: antialiased;- overflow-x: hidden;-}--img, svg { display: block; max-width: 100%; }-a { color: inherit; text-decoration: none; }-ul, ol { list-style: none; padding: 0; }-button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }--:focus-visible {- outline: 2px solid var(--ember);- outline-offset: 3px;- border-radius: 4px;-}--.skip {- position: absolute; left: 50%; top: -60px; transform: translateX(-50%);- z-index: 100; background: var(--bone); color: var(--ink);- padding: .6rem 1.1rem; border-radius: 0 0 var(--r-sm) var(--r-sm);- transition: top .2s var(--ease);-}-.skip:focus { top: 0; }--/* 3. PRIMITIVES ------------------------------------------------------------ */-.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }--h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.03em; line-height: 1.04; }--h1 { font-size: clamp(2.5rem, 5.2vw, 3.9rem); }-h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }--h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }-h3 { font-size: 1.125rem; letter-spacing: -.02em; line-height: 1.25; }-h4 { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }--.mono { font-family: var(--mono); font-size: .75rem; letter-spacing: .02em; }-.dim { color: var(--dim); }--.eyebrow {- display: inline-flex; align-items: center; gap: .55rem;- font-family: var(--mono); font-size: .6875rem; letter-spacing: .18em;- text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem;-}-.eyebrow .dot {- width: 6px; height: 6px; border-radius: 50%; background: var(--ember);- box-shadow: 0 0 0 4px var(--ember-soft);-}-.eyebrow--ink { color: #6e6a63; }--.lede { font-size: clamp(1rem, 1.35vw, 1.1875rem); color: var(--muted); max-width: 52ch; line-height: 1.65; }-.lede--ink { color: #4a4741; }--.sec-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }-.sec-head--split { display: flex; flex-wrap: wrap; gap: 2rem; align-items: flex-end; justify-content: space-between; }-.sec-head--split > div { flex: 1 1 380px; min-width: 0; }-.sec-head__note { flex: 0 1 300px; color: var(--dim); font-size: .9375rem; padding-bottom: .4rem; }--/* buttons */-.btn {- display: inline-flex; align-items: center; justify-content: center; gap: .55rem;- padding: .72rem 1.25rem; border-radius: 999px;- background: var(--bone); color: var(--ink);- font-size: .9375rem; font-weight: 600; letter-spacing: -.01em;- border: 1px solid transparent; white-space: nowrap;- transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);-}-.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.45); }-.btn--sm { padding: .5rem 1rem; font-size: .875rem; }-.btn--lg { padding: .95rem 1.7rem; font-size: 1rem; }-.btn--full { width: 100%; }-.btn--ghost {- background: transparent; color: var(--text); border-color: var(--line);-}-.btn--ghost:hover { border-color: #3a4048; background: rgba(255,255,255,.03); }-.btn--ink { background: var(--ink); color: var(--bone); }--.play {- width: 0; height: 0; border-style: solid;- border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor;-}--.link-quiet { color: var(--muted); font-size: .9375rem; transition: color .15s var(--ease); }-.link-quiet:hover { color: var(--text); }--.chip {- display: inline-flex; align-items: center; gap: .35rem;- font-family: var(--mono); font-size: .6875rem; letter-spacing: .04em;- padding: .28rem .6rem; border-radius: 999px;- border: 1px solid var(--line); color: var(--muted); background: rgba(255,255,255,.02);-}-.chip--on { border-color: rgba(255,90,42,.45); color: var(--ember); background: var(--ember-soft); }-.chip--live { border-color: rgba(255,90,42,.45); color: var(--ember); }-.chip--live::before {- content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ember);- animation: blink 1.6s steps(1, end) infinite;-}-@keyframes blink { 0%, 60% { opacity: 1 } 61%, 100% { opacity: .25 } }--/* waveform */-.wave { display: flex; align-items: center; gap: 3px; height: 68px; }-.wave span {- flex: 1; min-width: 2px; border-radius: 2px;- height: calc(12% + var(--h) * 88%);- background: linear-gradient(180deg, var(--amber), var(--ember));- opacity: .85;- transform-origin: center;- animation: pulse 1.9s var(--ease) infinite alternate;- animation-delay: var(--d);-}-@keyframes pulse { from { transform: scaleY(.42) } to { transform: scaleY(1) } }-.wave--sm { height: 34px; gap: 3px; }-.wave--sm span { background: linear-gradient(180deg, #4a525c, #2b3138); opacity: 1; }-.voice--on .wave--sm span, .voice:hover .wave--sm span { background: linear-gradient(180deg, var(--amber), var(--ember)); }-.wave--band { height: 52px; gap: 7px; opacity: .8; margin-bottom: 2.5rem; justify-content: center; }-.wave--band span { flex: 0 0 4px; }--/* 4. NAV ------------------------------------------------------------------- */-.nav {- position: sticky; top: 0; z-index: 50;- background: rgba(8,9,11,.72);- backdrop-filter: blur(14px) saturate(140%);- border-bottom: 1px solid var(--line-soft);-}-.nav__in {- max-width: var(--max); margin-inline: auto; padding: .85rem var(--pad);- display: flex; align-items: center; gap: 2rem;-}-.brand { display: inline-flex; align-items: center; gap: .6rem; }-.brand__mark { display: flex; align-items: center; gap: 2px; height: 18px; }-.brand__mark i {- width: 3px; border-radius: 2px; background: var(--grad); display: block;-}-.brand__mark i:nth-child(1) { height: 8px }-.brand__mark i:nth-child(2) { height: 16px }-.brand__mark i:nth-child(3) { height: 11px }-.brand__mark i:nth-child(4) { height: 18px }-.brand__word { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.03em; }--.nav__links { display: flex; gap: 1.75rem; margin-inline: auto; }-.nav__links a {- font-size: .9375rem; color: var(--muted); position: relative; padding-block: .25rem;- transition: color .15s var(--ease);-}-.nav__links a::after {- content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;- background: var(--ember); transition: width .22s var(--ease);-}-.nav__links a:hover { color: var(--text); }-.nav__links a:hover::after { width: 100%; }-.nav__act { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }-.nav__links + .nav__act { margin-left: 0; }--/* 5. HERO ------------------------------------------------------------------ */-.hero { position: relative; padding-block: clamp(3rem, 6.5vw, 5.5rem) clamp(3.5rem, 7vw, 6rem); overflow: hidden; }-.hero__glow {- position: absolute; inset: -30% -10% auto -10%; height: 780px; pointer-events: none;- background:- radial-gradient(46% 52% at 22% 40%, rgba(255,90,42,.20), transparent 70%),- radial-gradient(38% 44% at 78% 26%, rgba(255,176,32,.12), transparent 70%);- filter: blur(6px);-}-.hero::after {- content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;- background-image:- linear-gradient(var(--line-soft) 1px, transparent 1px),- linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);- background-size: 72px 72px;- mask-image: radial-gradient(70% 60% at 50% 20%, #000 10%, transparent 75%);- -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000 10%, transparent 75%);-}-.hero__in {- position: relative; z-index: 1;- display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center;-}-.hero__copy h1 { margin-bottom: 1.6rem; }-.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }-.hero__meta {- display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.5rem;- padding-top: 1.5rem; border-top: 1px solid var(--line-soft);- font-family: var(--mono); font-size: .75rem; color: var(--dim); letter-spacing: .02em;-}-.hero__meta li { display: flex; align-items: center; gap: .5rem; }-.hero__meta li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #3d444c; }--/* console */-.console {- border: 1px solid var(--line); border-radius: var(--r-lg);- background: linear-gradient(180deg, var(--panel-2), var(--panel));- box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.05);- overflow: hidden;-}-.console__bar {- display: flex; align-items: center; gap: .75rem;- padding: .7rem 1rem; border-bottom: 1px solid var(--line-soft);- background: rgba(255,255,255,.02);-}-.console__bar .mono { color: var(--dim); }-.console__bar .chip--live { margin-left: auto; }-.console__dots { display: flex; gap: 5px; }-.console__dots i { width: 9px; height: 9px; border-radius: 50%; background: #2a3038; display: block; }-.console__body { padding: 1.25rem; display: grid; gap: 1.1rem; }--.track { border: 1px solid var(--line-soft); border-radius: var(--r); padding: .85rem; background: rgba(0,0,0,.28); }-.track__head { display: flex; justify-content: space-between; margin-bottom: .7rem; }-.track__head .mono { color: var(--muted); }--.console__row { display: flex; align-items: center; gap: .75rem; }-.console__row .mono { white-space: nowrap; }-.meter { flex: 1; height: 5px; border-radius: 999px; background: #20252c; overflow: hidden; }-.meter i { display: block; height: 100%; width: var(--p); background: var(--grad); border-radius: 999px; }--.console__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; }-.console__grid > div { background: var(--panel); padding: .85rem .9rem; display: grid; gap: .3rem; }-.console__grid strong { font-size: 1.375rem; font-weight: 600; letter-spacing: -.03em; }-.console__grid small { font-size: .75rem; color: var(--dim); font-weight: 400; margin-left: 1px; }-.console__tags { display: flex; flex-wrap: wrap; gap: .4rem; }--/* 6. TICKER ---------------------------------------------------------------- */-.ticker {- border-block: 1px solid var(--line-soft);- padding-block: 1.15rem; overflow: hidden;- mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);- -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);-}-.ticker__track { display: flex; width: max-content; animation: slide 38s linear infinite; }-.ticker__set { display: flex; align-items: center; gap: 2.5rem; padding-right: 2.5rem; }-.ticker__set span {- font-size: 1rem; font-weight: 500; letter-spacing: -.02em; color: #575e66; white-space: nowrap;-}-.ticker__set b { width: 4px; height: 4px; border-radius: 50%; background: #2b3138; }-@keyframes slide { to { transform: translateX(-50%) } }--/* 7. STEPS ----------------------------------------------------------------- */-.steps { padding-block: var(--sec); }-.rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }-.rail li { position: relative; padding-top: 2.25rem; border-top: 1px solid var(--line); }-.rail li::before {- content: ""; position: absolute; top: -1px; left: 0; width: 34px; height: 2px; background: var(--ember);-}-.rail__n {- display: block; font-family: var(--mono); font-size: .75rem; color: var(--ember);- letter-spacing: .16em; margin-bottom: 1.1rem;-}-.rail h3 { font-size: 1.375rem; margin-bottom: .7rem; }-.rail p { color: var(--muted); font-size: .9375rem; }--/* 8a. VOICES --------------------------------------------------------------- */-.voices { padding-block: var(--sec); background: var(--ink-2); border-block: 1px solid var(--line-soft); }-.rack {- display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;- padding: 0 var(--pad) 1.25rem;- max-width: calc(var(--max) - 0px); margin-inline: auto;- scrollbar-width: thin; scrollbar-color: #2b3138 transparent;-}-.rack::-webkit-scrollbar { height: 6px; }-.rack::-webkit-scrollbar-thumb { background: #2b3138; border-radius: 999px; }-.voice {- flex: 0 0 268px; scroll-snap-align: start;- border: 1px solid var(--line); border-radius: var(--r);- background: var(--panel); padding: 1.15rem;- display: grid; gap: 1rem; align-content: start;- transition: border-color .2s var(--ease), transform .2s var(--ease), background .2s var(--ease);-}-.voice:hover { transform: translateY(-3px); border-color: #333a43; }-.voice--on { border-color: rgba(255,90,42,.4); background: linear-gradient(180deg, rgba(255,90,42,.07), var(--panel)); }-.voice__top { display: flex; align-items: center; gap: .8rem; }-.voice__top h3 { margin-bottom: .15rem; }-.pbtn {- flex: none; width: 38px; height: 38px; border-radius: 50%;- border: 1px solid var(--line); display: grid; place-items: center;- color: var(--text); transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);-}-.pbtn:hover, .voice--on .pbtn { background: var(--grad); border-color: transparent; color: var(--ink); }-.voice__tags { display: flex; flex-wrap: wrap; gap: .35rem; }-.voice__tags li {- font-family: var(--mono); font-size: .625rem; letter-spacing: .05em; text-transform: uppercase;- color: var(--dim); border: 1px solid var(--line-soft); border-radius: 999px; padding: .2rem .55rem;-}-.voice--cta {- background: none; border-style: dashed; align-content: center; justify-items: start; gap: .75rem;-}-.voice--cta h3 { font-size: 1.375rem; }-.voice--cta p { color: var(--muted); font-size: .875rem; }--/* 8b. PLATFORM / BENTO ----------------------------------------------------- */-.platform { padding-block: var(--sec); }-.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }-.cell {- border: 1px solid var(--line); border-radius: var(--r);- background: var(--panel); padding: clamp(1.25rem, 2.2vw, 1.75rem);- display: grid; gap: .7rem; align-content: start;- transition: border-color .2s var(--ease);-}-.cell:hover { border-color: #333a43; }-.cell p { color: var(--muted); font-size: .9375rem; }-.cell--wide { grid-column: span 2; }-.cell--api { grid-column: span 2; }-.cell--lang { grid-column: span 2; }-.cell--stat { background: linear-gradient(160deg, rgba(255,90,42,.1), var(--panel) 60%); }-.stat {- font-size: clamp(2.5rem, 4.5vw, 3.5rem); font-weight: 600; letter-spacing: -.045em; line-height: 1;- background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;-}-.stat small { font-size: .3em; letter-spacing: 0; }-.ipa { font-size: .8125rem; color: var(--muted); }--.code {- font-family: var(--mono); font-size: .75rem; line-height: 1.75;- background: rgba(0,0,0,.35); border: 1px solid var(--line-soft); border-radius: var(--r-sm);- padding: .9rem 1rem; overflow-x: auto; color: #c7ccd3; margin-top: .3rem;-}-.code .c { color: #5c646d; }-.code .s { color: var(--amber); }--.flags, .sdks { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .2rem; }-.flags li, .sdks li {- font-size: .6875rem; letter-spacing: .06em; color: var(--muted);- border: 1px solid var(--line-soft); border-radius: var(--r-sm); padding: .22rem .5rem;-}--/* 9. SAFETY ---------------------------------------------------------------- */-.safety { background: var(--bone); color: var(--ink); padding-block: var(--sec); }-.safety__in { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }-.safety h2 { max-width: 16ch; margin-bottom: 1.5rem; }-.safety .btn { margin-top: 2rem; }-.safety__list { display: grid; gap: 0; }-.safety__list li {- display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem;- padding: 1.5rem 0; border-top: 1px solid rgba(8,9,11,.12);-}-.safety__list li:last-child { border-bottom: 1px solid rgba(8,9,11,.12); }-.safety__list .mono { color: var(--ember); padding-top: .3rem; }-.safety__list h3 { margin-bottom: .35rem; }-.safety__list p { color: #55524c; font-size: .9375rem; }--/* 10. NUMBERS -------------------------------------------------------------- */-.numbers {- display: grid; grid-template-columns: repeat(4, 1fr);- padding-block: clamp(3rem, 6vw, 4.5rem);-}-.numbers > div { padding: .5rem 1.5rem; border-left: 1px solid var(--line); }-.numbers > div:first-child { border-left: 0; padding-left: 0; }-.numbers strong {- display: block; font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 600;- letter-spacing: -.04em; line-height: 1; margin-bottom: .5rem;-}-.numbers small { font-size: .45em; color: var(--ember); font-weight: 500; margin-left: 2px; }-.numbers span { color: var(--dim); font-size: .875rem; }--/* 11. PRICING -------------------------------------------------------------- */-.pricing { padding-block: var(--sec); }-.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: stretch; }-.plan {- border: 1px solid var(--line); border-radius: var(--r-lg);- background: var(--panel); padding: clamp(1.5rem, 2.4vw, 2rem);- display: flex; flex-direction: column; gap: 1rem;-}-.plan ul { flex: 1; align-content: start; }-.plan h3 { font-size: 1.25rem; }-.plan__for { color: var(--dim); font-size: .875rem; margin-top: -.65rem; }-.plan__price { display: flex; align-items: baseline; gap: .35rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line-soft); }-.plan__price span { font-size: clamp(2.25rem, 3.6vw, 2.75rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; }-.plan__price small { color: var(--dim); font-size: .875rem; }-.plan ul { display: grid; gap: .6rem; }-.plan li { position: relative; padding-left: 1.5rem; color: var(--muted); font-size: .9375rem; }-.plan li::before {- content: ""; position: absolute; left: 0; top: .55em;- width: 9px; height: 5px; border-left: 1.5px solid var(--ember); border-bottom: 1.5px solid var(--ember);- transform: rotate(-45deg);-}-.plan--hot {- position: relative;- border-color: rgba(255,90,42,.4);- background: linear-gradient(180deg, rgba(255,90,42,.09), var(--panel-2) 55%);- box-shadow: 0 30px 70px -35px rgba(255,90,42,.4);-}-.plan__flag {- position: absolute; top: -.75rem; left: clamp(1.5rem, 2.4vw, 2rem);- font-family: var(--mono); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase;- background: var(--grad); color: var(--ink); padding: .25rem .6rem; border-radius: 999px; font-weight: 500;-}--/* 12. FAQ / CTA / FOOTER --------------------------------------------------- */-.faq {- padding-block: var(--sec);- display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem);- align-items: start;-}-.faq__head { position: sticky; top: 6rem; }-.faq__head p { font-size: .9375rem; margin-top: 1rem; }-.faq__head a { color: var(--ember); border-bottom: 1px solid rgba(255,90,42,.35); }-.faq__list { display: grid; }-.faq details { border-top: 1px solid var(--line); }-.faq details:last-child { border-bottom: 1px solid var(--line); }-.faq summary {- list-style: none; cursor: pointer; padding: 1.35rem 2.5rem 1.35rem 0; position: relative;- font-size: 1.0625rem; font-weight: 500; letter-spacing: -.02em;- transition: color .15s var(--ease);-}-.faq summary::-webkit-details-marker { display: none; }-.faq summary:hover { color: var(--ember); }-.faq summary::after, .faq summary::before {- content: ""; position: absolute; right: .35rem; top: 50%; background: var(--muted);- transition: transform .22s var(--ease), background .22s var(--ease);-}-.faq summary::before { width: 13px; height: 1.5px; right: 4px; transform: translateY(-50%); }-.faq summary::after { width: 1.5px; height: 13px; right: 9.75px; transform: translateY(-50%); }-.faq details[open] summary::after { transform: translateY(-50%) rotate(90deg); opacity: 0; }-.faq details[open] summary { color: var(--ember); }-.faq details[open] summary::before { background: var(--ember); }-.faq details p { color: var(--muted); font-size: .9375rem; max-width: 62ch; padding-bottom: 1.5rem; }--.cta { padding-block: var(--sec); border-top: 1px solid var(--line-soft); position: relative; overflow: hidden; }-.cta::before {- content: ""; position: absolute; inset: auto 0 -60% 0; height: 460px; pointer-events: none;- background: radial-gradient(45% 60% at 50% 100%, rgba(255,90,42,.22), transparent 70%);-}-.cta__in { position: relative; text-align: center; display: grid; justify-items: center; }-.cta .wave--band { width: min(420px, 70%); }-.cta h2 { margin-bottom: 1rem; }-.cta p { color: var(--muted); margin-bottom: 2rem; }--.foot { border-top: 1px solid var(--line-soft); padding-top: clamp(3rem, 6vw, 4.5rem); overflow: hidden; }-.foot__cols { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; }-.foot__brand .brand { margin-bottom: 1rem; }-.foot__brand p { font-size: .875rem; line-height: 1.7; }-.foot h4 { margin-bottom: 1.1rem; }-.foot__cols ul { display: grid; gap: .6rem; }-.foot__cols a { color: var(--muted); font-size: .9375rem; transition: color .15s var(--ease); }-.foot__cols a:hover { color: var(--ember); }-.foot__word {- font-size: clamp(4rem, 20vw, 17rem); font-weight: 700; letter-spacing: -.05em; line-height: .82;- text-align: center; margin-top: clamp(2rem, 5vw, 3.5rem);- background: linear-gradient(180deg, #1c2027, transparent 88%);- -webkit-background-clip: text; background-clip: text; color: transparent;- user-select: none;-}-.foot__base {- display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;- padding-block: 1.5rem; border-top: 1px solid var(--line-soft); margin-top: -1rem;-}-.foot__base a:hover { color: var(--ember); }--/* RESPONSIVE --------------------------------------------------------------- */-@media (max-width: 1000px) {- .hero__in { grid-template-columns: 1fr; }- .console { max-width: 560px; }- .bento { grid-template-columns: repeat(2, 1fr); }- .cell--wide, .cell--api, .cell--lang { grid-column: span 2; }- .safety__in { grid-template-columns: 1fr; }- .plans { grid-template-columns: 1fr; max-width: 480px; }- .plan--hot { order: -1; }- .faq { grid-template-columns: 1fr; }- .faq__head { position: static; }- .foot__cols { grid-template-columns: 1fr 1fr; }-}--@media (max-width: 760px) {- .nav__links { display: none; }- .nav__links + .nav__act { margin-left: auto; }- .rail { grid-template-columns: 1fr; gap: 2rem; }- .numbers { grid-template-columns: 1fr 1fr; gap: 2rem 0; }- .numbers > div:nth-child(odd) { border-left: 0; padding-left: 0; }- .sec-head--split { flex-direction: column; align-items: flex-start; }-}--@media (max-width: 560px) {- .bento, .cell--wide, .cell--api, .cell--lang { grid-template-columns: 1fr; grid-column: auto; }- .console__grid { grid-template-columns: 1fr; }- .console__grid > div { display: flex; align-items: baseline; justify-content: space-between; }- .foot__cols { grid-template-columns: 1fr; gap: 2rem; }- .hero__cta .btn { width: 100%; }-}--@media (prefers-reduced-motion: reduce) {- html { scroll-behavior: auto; }- *, *::before, *::after {- animation-duration: .001ms !important; animation-iteration-count: 1 !important;- transition-duration: .001ms !important;- }- .wave span { transform: none; }-}diff --git a/eval/_cli-scratch/b1-claude/index.html b/eval/_cli-scratch/b1-claude/index.htmldeleted file mode 100644index 477c806..0000000--- a/eval/_cli-scratch/b1-claude/index.html+++ /dev/null@@ -1,193 +0,0 @@-<!DOCTYPE html>-<html lang="en">-<head>-<meta charset="utf-8">-<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">-<title>Sibilant Voice Lab · a speaking model built from one consented speaker</title>-<meta name="description" content="Sibilant builds a speaking model from a consented reference session and keeps the decisions the speaker already made. No grant, no build.">-<link rel="preconnect" href="https://fonts.googleapis.com">-<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>-<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=Zilla+Slab:wght@500;600;700&display=swap" rel="stylesheet">-<link rel="stylesheet" href="page.css">-</head>-<body>--<a class="skip" href="#main">Skip to content</a>--<header class="mast">- <div class="plate">- <div class="mast__title">- <a class="wordmark" href="#main">Sibilant</a>- <p class="designation">Chart II <span aria-hidden="true">·</span> Pulmonic consonants</p>- </div>- </div>- <nav class="plate" aria-label="Sections">- <ul class="mast__row">- <li class="mast__cell"><a class="mast__link" href="#chart">The chart</a></li>- <li class="mast__cell"><a class="mast__link" href="#build">The build</a></li>- <li class="mast__cell"><a class="mast__link" href="#consent">Consent</a></li>- <li class="mast__cell"><a class="mast__link" href="#start">Contact</a></li>- </ul>- </nav>-</header>--<main id="main">-- <section class="hero plate">- <div class="hero__grid">- <div class="settle" style="--i:0">- <h1 class="hero__display">A voice is a set of decisions.</h1>- <div class="hero__actions">- <a class="btn" href="#start">Start a voice build</a>- <a class="link" href="#consent">Read the grant terms</a>- </div>- </div>- <div class="hero__aside settle" style="--i:1">- <p class="hero__lede">Sibilant builds a speaking model from a consented reference session, then keeps the decisions the speaker already made: where the tongue lands, how the release breaks, what the breath does in between.</p>- <p class="hero__note">Every session is recorded with the speaker in the room and a signed grant on file. No grant, no build.</p>- </div>- </div>- </section>-- <section class="chart band plate" id="chart" aria-labelledby="chart-title">- <div class="chart__head">- <h2 class="section__title" id="chart-title">What a voice is made of</h2>- <p class="section__lede">Speech is a small set of gestures, repeated the same way every time. Place of articulation runs across, manner runs down. A build learns how one speaker performs this grid, not an average of everyone who ever has.</p>- </div>-- <div class="chart__scroll" tabindex="0" role="region" aria-labelledby="chart-title">- <table class="chart__table">- <caption>Pulmonic consonants, after the International Phonetic Alphabet. Where a cell holds two symbols, the left is voiceless and the right is voiced. Hatched cells are articulations judged impossible; plain empty cells have no symbol in this section of the chart.</caption>- <thead>- <tr>- <th scope="col"><span class="u-sr">Manner of articulation</span></th>- <th scope="col">Bilabial</th>- <th scope="col">Labio<wbr>dental</th>- <th scope="col">Alveolar</th>- <th scope="col">Post<wbr>alveolar</th>- <th scope="col">Velar</th>- <th scope="col">Glottal</th>- </tr>- </thead>- <tbody>- <tr>- <th scope="row">Plosive</th>- <td>p b</td>- <td data-none="unattested"><span class="u-sr">No symbol</span></td>- <td>t d</td>- <td data-none="unattested"><span class="u-sr">No symbol</span></td>- <td>k ɡ</td>- <td>ʔ</td>- </tr>- <tr>- <th scope="row">Nasal</th>- <td>m</td>- <td>ɱ</td>- <td>n</td>- <td data-none="unattested"><span class="u-sr">No symbol</span></td>- <td>ŋ</td>- <td data-none="impossible"><span class="u-sr">Judged impossible</span></td>- </tr>- <tr>- <th scope="row">Fricative</th>- <td>ɸ β</td>- <td>f v</td>- <td class="is-marked">s z<span class="u-sr"> (the sound this studio is named for)</span></td>- <td>ʃ ʒ</td>- <td>x ɣ</td>- <td>h ɦ</td>- </tr>- <tr>- <th scope="row">Approximant</th>- <td data-none="unattested"><span class="u-sr">No symbol</span></td>- <td>ʋ</td>- <td>ɹ</td>- <td data-none="unattested"><span class="u-sr">No symbol</span></td>- <td>ɰ</td>- <td data-none="impossible"><span class="u-sr">Judged impossible</span></td>- </tr>- </tbody>- </table>- </div>-- <p class="chart__key">- <span><b>Voiceless</b> left, <b>voiced</b> right</span>- <span><b>Hatched</b> judged impossible</span>- <span><b>Marked</b> alveolar fricative, which is where the name came from</span>- </p>- </section>-- <section class="build band plate" id="build" aria-labelledby="build-title">- <h2 class="section__title" id="build-title">How a build runs</h2>- <p class="section__lede">Three appointments. The speaker is present for the first and the last.</p>- <ol class="steps">- <li>- <h3>Reference session</h3>- <p>The speaker reads a script that covers the grid above: every place, every manner, both voicings, then running prose so the model hears the joins rather than a bag of isolated sounds.</p>- </li>- <li>- <h3>Build</h3>- <p>We fit a model to that one speaker and nobody else. No pooled corpus, no timbre borrowed from a neighbouring voice to fill a gap the session did not cover.</p>- </li>- <li>- <h3>Review</h3>- <p>The speaker hears the output before any client does, on the same monitors the session was cut on, and signs off on it or does not.</p>- </li>- </ol>- </section>-- <section class="consent" id="consent" aria-labelledby="consent-title">- <div class="plate">- <div class="consent__grid">- <div>- <h2 class="section__title" id="consent-title">The grant is the product</h2>- <p class="section__lede">A voice model is a person’s likeness. What follows is a condition of the build, not a policy page we are hoping you scroll past.</p>- </div>- <ol class="clauses">- <li><b>01</b><span>No build starts without a signed grant from the speaker, naming the speaker, the work, and the term.</span></li>- <li><b>02</b><span>The speaker names the uses. Anything outside the grant needs a new one, agreed in writing, before a line of audio is rendered.</span></li>- <li><b>03</b><span>A grant can be withdrawn. Withdrawal takes the model out of service and ends every licence that ran through it.</span></li>- </ol>- </div>- </div>- </section>-- <section class="start band plate" id="start" aria-labelledby="start-title">- <div class="start__grid">- <div>- <h2 class="start__display" id="start-title">Bring us one speaker who said yes.</h2>- <p class="section__lede start__lede">Tell us the work and the language, and we will tell you what a reference session would need to cover.</p>- </div>-- <!-- Wire the action attribute to your own endpoint before shipping. -->- <form class="form" method="post" novalidate>- <div class="field">- <label for="email">Work email</label>- <input id="email" name="email" type="email" inputmode="email" autocomplete="email" placeholder="[email protected]" aria-describedby="email-help" required>- <p class="field__help" id="email-help">A person replies. There is no queue.</p>- </div>- <button class="btn form__submit" type="submit">Start a voice build</button>- </form>- </div>- </section>--</main>--<footer class="colophon">- <div class="plate">- <div class="colophon__row">- <p><strong>Sibilant Voice Lab</strong></p>- <ul class="colophon__links">- <li><a href="#chart">The chart</a></li>- <li><a href="#build">The build</a></li>- <li><a href="#consent">Grant terms</a></li>- <li><a href="#start">Contact</a></li>- </ul>- <p>© 2026 Sibilant Voice Lab</p>- </div>- <p class="colophon__note">Symbols on this page follow the International Phonetic Alphabet. The chart is a teaching object: it describes what speech is made of, not what any one model covers.</p>- </div>-</footer>--</body>-</html>diff --git a/eval/_cli-scratch/b1-claude/page.css b/eval/_cli-scratch/b1-claude/page.cssdeleted file mode 100644index 78cd507..0000000--- a/eval/_cli-scratch/b1-claude/page.css+++ /dev/null@@ -1,703 +0,0 @@-/* Hallmark · macrostructure: The chart and its legend (designed) · tone: technical · anchor hue: 34 · hero: Banner/custom · nav: chart header row (designed, not the industry default) · footer: chart colophon strip · contrast: pass (40-41) · mobile: 320/375/414/768 pass · genre: atmospheric */-/* Hallmark · pre-emit critique: P5 H4 E5 S5 R4 V4 · weakest: H - the three post-chart bands risked flattening into one rhythm; fixed by changing paper at Consent and setting its clauses as a hanging two-column list, so no two bands share a shape */-/* Hallmark · theme: custom · direction: "the phonetics lab wall chart" · vibe: "slate, chalk, ruled, phonetic, exact"- * paper: oklch(16% 0.018 162) · accent: oklch(64% 0.185 34) · display: Zilla Slab · body: IBM Plex Sans- * axes: dark / slab-serif / warm ~34 · posture: committed- * seed: ai-voice-cloning-studio·2026-08-06·r0 · draw 2/7 · wildcards dealt and discarded: Seed packet, Classifieds page- * contract: kept (5/5) · studied: no · v1.2.0- * slop test: sloplint clean (0 FAIL, 0 REFLEX, 0 WARN) · judged gates walked · 0 waivers- * honest: pass (46) · chrome: pass (47) · tokens: pass (48) · responsive: pass (49) · icons: pass (30) · slop: pass (42-45)- * finish-review: in-thread (no subagents) · 3 findings · 3 resolved (contract gap: none)- */-/* direction contract · seed ai-voice-cloning-studio·2026-08-06·r0- * THESIS: a cloned voice is only worth having if it keeps the choices the speaker already made, and only defensible if the speaker signed for it.- * OWN-WORLD: the phonetics lab wall chart. Slate ground, chalk ink, place of articulation across, manner down. The page is the chart.- * STORY: a localization lead in a Warsaw dubbing suite, 4:10pm in November, room lights off so the booth glass reads clean, the console's tally lamp the only warm thing in the room.- * FIRST-VIEWPORT: a ruled plate at the top carrying the wordmark and the chart designation, the nav as the row beneath it, then a compressed title block, a two-line lede off-axis, one chalk-filled CTA, and the top rule of the consonant chart already breaking the fold.- * FORM: a wall-chart page. Signature move: the real IPA consonant chart as a genuine table, with the alveolar fricative cell marked because that is the product's own name.- */--@import url("tokens.css");--/* ============================================================- Base- ============================================================ */--*,-*::before,-*::after { box-sizing: border-box; }--html {- overflow-x: clip;- scroll-behavior: smooth;- -webkit-text-size-adjust: 100%;-}--body {- overflow-x: clip;- margin: 0;- background: var(--color-paper);- color: var(--color-ink);- font-family: var(--font-body);- font-size: var(--text-md);- font-weight: 400;- line-height: 1.6;- text-rendering: optimizeLegibility;- -webkit-font-smoothing: antialiased;- padding-inline: max(0px, env(safe-area-inset-left));-}--@media (prefers-reduced-motion: reduce) {- html { scroll-behavior: auto; }-}--h1, h2, h3 {- font-family: var(--font-display);- font-weight: 600;- letter-spacing: -0.02em;- overflow-wrap: break-word;- min-width: 0;- text-wrap: balance;- margin: 0;-}--p { margin: 0; text-wrap: pretty; }--a { color: inherit; }--:where(a, button, input, summary):focus-visible {- outline: var(--rule-mid) solid var(--color-focus);- outline-offset: 3px;- transition: none;-}--.u-sr {- position: absolute;- width: 1px;- height: 1px;- padding: 0;- margin: -1px;- overflow: hidden;- clip-path: inset(50%);- white-space: nowrap;- border: 0;-}--.skip {- position: absolute;- inset-block-start: var(--space-xs);- inset-inline-start: var(--space-xs);- z-index: var(--z-sticky);- padding: var(--space-xs) var(--space-md);- background: var(--color-ink);- color: var(--color-paper);- font-size: var(--text-sm);- white-space: nowrap;- transform: translateY(-200%);-}-.skip:focus-visible { transform: translateY(0); }--/* The page frame: the chart plate's own margins. */-.plate {- width: 100%;- max-width: 78rem;- margin-inline: auto;- padding-inline: clamp(var(--space-md), 4vw, var(--space-2xl));-}--/* The band separator, learned once and repeated: a heavy rule over a hair rule. */-.band {- border-block-start: var(--rule-heavy) solid var(--color-rule);- position: relative;-}-.band::after {- content: "";- position: absolute;- inset-block-start: var(--space-3xs);- inset-inline: 0;- border-block-start: var(--rule-hair) solid var(--color-rule-2);-}--/* ============================================================- Masthead · the chart's own header row- ============================================================ */--.mast { border-block-end: var(--rule-heavy) solid var(--color-rule); }--.mast__title {- display: flex;- flex-wrap: wrap;- align-items: baseline;- justify-content: space-between;- gap: var(--space-sm) var(--space-lg);- padding-block: var(--space-lg) var(--space-sm);-}--.wordmark {- font-family: var(--font-display);- font-size: var(--text-xl);- font-weight: 700;- letter-spacing: -0.015em;- line-height: 1;- text-decoration: none;- white-space: nowrap;-}-/* Not an ornament (gate 45): this is the chart's marked-cell swatch, and the- wordmark carries it because Sibilant IS the marked cell. Same square, same- colour, appears on the alveolar fricative below. */-.wordmark::after {- content: "";- display: inline-block;- inline-size: 0.42em;- block-size: 0.42em;- margin-inline-start: 0.3em;- background: var(--color-accent);- vertical-align: 0.08em;-}--.designation {- font-size: var(--text-xs);- letter-spacing: 0.12em;- text-transform: uppercase;- color: var(--color-neutral);- font-variant-numeric: tabular-nums;-}--/* Header cells. Each nav item is a cell in the chart's top row. */-.mast__row {- display: grid;- grid-template-columns: repeat(2, minmax(0, 1fr));- border-block-start: var(--rule-hair) solid var(--color-rule);- list-style: none;- margin: 0;- padding: 0;-}--.mast__cell {- padding: var(--space-sm) var(--space-md);- border-inline-start: var(--rule-hair) solid var(--color-rule-2);- font-size: var(--text-base);-}-.mast__cell:first-child { border-inline-start: 0; padding-inline-start: 0; }--.mast__link {- text-decoration: none;- color: var(--color-muted);- white-space: nowrap;- transition: color var(--dur-micro) var(--ease-out);-}-@media (hover: hover) and (pointer: fine) {- .mast__link:hover { color: var(--color-ink); }-}-.mast__link[aria-current="true"] {- color: var(--color-ink);- box-shadow: inset 0 -2px 0 var(--color-accent);-}--@media (min-width: 40rem) {- .mast__row { grid-template-columns: repeat(4, minmax(0, 1fr)); }- .mast__cell { font-size: var(--text-sm); }-}--/* ============================================================- Hero · Banner posture, left-biased, lede hanging off-axis- ============================================================ */--.hero {- padding-block: var(--space-2xl) var(--space-3xl); /* bottom-heavy: 6rem vs 4rem */-}--.hero__grid {- display: grid;- gap: var(--space-xl) var(--space-2xl);- grid-template-columns: minmax(0, 1fr);-}--.hero__display {- font-size: var(--text-display);- line-height: 1.04;- letter-spacing: -0.03em;- max-width: 20ch;- font-weight: 600;-}--.hero__actions {- display: flex;- flex-wrap: wrap;- align-items: center;- gap: var(--space-md) var(--space-lg);- margin-block-start: var(--space-xl);-}--.hero__aside {- align-self: end;- max-width: 46ch;-}--.hero__lede {- font-size: var(--text-md);- color: var(--color-ink-2);- line-height: 1.55;-}--.hero__note {- margin-block-start: var(--space-md);- padding-block-start: var(--space-sm);- border-block-start: var(--rule-hair) solid var(--color-rule);- font-size: var(--text-sm);- color: var(--color-neutral);-}--@media (min-width: 60rem) {- .hero { padding-block: var(--space-2xl) var(--space-3xl); }- .hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }-}--/* ============================================================- Controls- ============================================================ */--.btn {- display: inline-flex;- align-items: center;- justify-content: center;- min-height: 48px;- padding: var(--space-sm) var(--space-xl);- border: var(--rule-mid) solid var(--color-ink);- border-radius: var(--radius-control);- background: var(--color-ink);- color: var(--color-paper);- font-family: var(--font-body);- font-size: var(--text-base);- font-weight: 600;- letter-spacing: 0.01em;- white-space: nowrap;- text-decoration: none;- cursor: pointer;- transition: transform var(--dur-micro) var(--ease-out),- background-color var(--dur-short) var(--ease-out);-}-@media (hover: hover) and (pointer: fine) {- .btn:hover { transform: translateY(-1.5px); background: var(--color-ink-2); }-}-.btn:active { transform: translateY(0); }-.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }--/* Secondary is typographic, never a second fill. */-.link {- font-size: var(--text-base);- color: var(--color-ink-2);- white-space: nowrap;- text-decoration: none;- box-shadow: inset 0 -1px 0 var(--color-rule);- transition: box-shadow var(--dur-short) var(--ease-out),- color var(--dur-micro) var(--ease-out);-}-/* One signal per element (gate 13): the rule under the link changes, nothing else. */-@media (hover: hover) and (pointer: fine) {- .link:hover { box-shadow: inset 0 -1px 0 var(--color-accent); }-}--/* ============================================================- The chart · the signature move- ============================================================ */--.chart { padding-block: var(--space-3xl); }--.chart__head {- display: grid;- gap: var(--space-lg);- margin-block-end: var(--space-2xl);-}--.section__title {- font-size: var(--text-2xl);- line-height: 1.08;- max-width: 40ch;- font-weight: 600;-}--.section__lede {- font-size: var(--text-base);- color: var(--color-muted);- max-width: 62ch;-}--@media (min-width: 60rem) {- .chart__head {- grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);- align-items: end;- }-}--.chart__scroll:focus-visible {- outline: var(--rule-mid) solid var(--color-focus);- outline-offset: 3px;-}--.chart__scroll {- overflow-x: auto;- overscroll-behavior-x: contain;- border: var(--rule-hair) solid var(--color-rule);- background: var(--color-paper-2);-}--.chart__table {- inline-size: 100%;- min-inline-size: 34rem;- border-collapse: collapse;- font-variant-numeric: tabular-nums;-}--.chart__table caption {- caption-side: bottom;- text-align: start;- padding: var(--space-md);- font-size: var(--text-sm);- color: var(--color-neutral);- border-block-start: var(--rule-hair) solid var(--color-rule);-}--.chart__table th,-.chart__table td {- border: var(--rule-hair) solid var(--color-rule);- padding: var(--space-sm) var(--space-xs);- text-align: center;- vertical-align: middle;-}--.chart__table thead th {- font-family: var(--font-body);- font-size: var(--text-xs);- font-weight: 500;- letter-spacing: 0.06em;- text-transform: uppercase;- color: var(--color-neutral);- background: var(--color-paper);- line-height: 1.25;- padding-block: var(--space-sm);-}--.chart__table tbody th {- font-family: var(--font-display);- font-size: var(--text-sm);- font-weight: 600;- letter-spacing: 0;- text-align: start;- white-space: nowrap;- color: var(--color-ink);- background: var(--color-paper);- padding-inline: var(--space-md);-}--.chart__table td {- font-size: var(--text-lg);- line-height: 1.2;- color: var(--color-ink);- background: var(--color-field);- transition: background-color var(--dur-short) var(--ease-out);-}--/* Two absences, and the chart distinguishes them the way the real one does. */-.chart__table td[data-none] { background: var(--color-shade); }--.chart__table td[data-none="impossible"] {- background-image: repeating-linear-gradient(- 45deg,- transparent 0 5px,- var(--color-rule-2) 5px 6px- );-}--/* The reading aid: the row you are on lifts. Colour only, hover-capable pointers only. */-@media (hover: hover) and (pointer: fine) {- .chart__table tbody tr:hover td:not([data-none]) { background: var(--color-paper-3); }-}--/* The marked cell. Sibilant's own sound. */-.chart__table td.is-marked {- background: var(--color-paper-3);- box-shadow: inset 0 0 0 var(--rule-mid) var(--color-accent);- color: var(--color-ink);-}-.chart__table td.is-marked::after {- content: "";- display: block;- inline-size: var(--space-xs);- block-size: var(--space-xs);- margin: var(--space-2xs) auto 0;- background: var(--color-accent);-}--.chart__key {- display: flex;- flex-wrap: wrap;- gap: var(--space-sm) var(--space-xl);- margin-block-start: var(--space-lg);- font-size: var(--text-sm);- color: var(--color-neutral);-}-.chart__key b {- font-weight: 600;- color: var(--color-ink-2);-}--/* ============================================================- The build · a real ordered list- ============================================================ */--/* Rhythm varies band to band on purpose (gate 9): the chart breathes, the build is tight. */-.build { padding-block: var(--space-2xl) var(--space-3xl); }--.steps {- list-style: none;- counter-reset: step;- margin: var(--space-2xl) 0 0;- padding: 0;- display: grid;- gap: 0;-}--.steps li {- counter-increment: step;- display: grid;- grid-template-columns: minmax(0, 3.5rem) minmax(0, 1fr);- gap: var(--space-md) var(--space-lg);- padding-block: var(--space-xl);- border-block-start: var(--rule-hair) solid var(--color-rule);-}-.steps li:last-child { border-block-end: var(--rule-hair) solid var(--color-rule); }--.steps li::before {- content: counter(step, decimal-leading-zero);- font-family: var(--font-display);- font-size: var(--text-2xl);- font-weight: 600;- line-height: 1;- color: var(--color-rule);- font-variant-numeric: tabular-nums;-}--.steps h3 {- font-size: var(--text-lg);- line-height: 1.15;- margin-block-end: var(--space-xs);-}--.steps p {- font-size: var(--text-base);- color: var(--color-muted);- max-width: 64ch;-}--@media (min-width: 60rem) {- .steps li { grid-template-columns: minmax(0, 5rem) minmax(0, 22ch) minmax(0, 1fr); }- .steps h3 { margin-block-end: 0; }-}--/* ============================================================- Consent · a change of paper, and clauses set hanging- ============================================================ */--.consent {- background: var(--color-paper-2);- padding-block: var(--space-3xl);- border-block: var(--rule-hair) solid var(--color-rule);-}--.consent__grid {- display: grid;- gap: var(--space-2xl);- grid-template-columns: minmax(0, 1fr);-}--.clauses {- list-style: none;- margin: 0;- padding: 0;- display: grid;- gap: var(--space-xl);-}--.clauses li {- display: grid;- grid-template-columns: minmax(0, 2.5rem) minmax(0, 1fr);- gap: var(--space-md);- font-size: var(--text-base);- color: var(--color-ink-2);-}--.clauses b {- font-family: var(--font-display);- font-weight: 600;- color: var(--color-accent);- font-variant-numeric: tabular-nums;- font-size: var(--text-base);-}--@media (min-width: 60rem) {- .consent__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); }-}--/* ============================================================- Start · the inline form- ============================================================ */--.start { padding-block: var(--space-3xl) var(--space-4xl); }--.start__grid {- display: grid;- gap: var(--space-2xl);- grid-template-columns: minmax(0, 1fr);- align-items: start;-}--.start__display {- font-size: var(--text-display-s);- line-height: 1.06;- letter-spacing: -0.03em;- max-width: 24ch;- font-weight: 600;-}--.start__lede { margin-block-start: var(--space-lg); }--.form {- display: grid;- gap: var(--space-md);-}--.field { display: grid; gap: var(--space-2xs); }--.field label {- font-size: var(--text-sm);- color: var(--color-muted);-}--.field input {- min-height: 48px;- padding: var(--space-sm) var(--space-md);- border: var(--rule-hair) solid var(--color-rule);- border-radius: var(--radius-control);- background: var(--color-paper-2);- color: var(--color-ink);- font-family: var(--font-body);- font-size: var(--text-base);- transition: border-color var(--dur-short) var(--ease-out),- background-color var(--dur-short) var(--ease-out);-}-.field input::placeholder { color: var(--color-neutral); }-.field input:hover { border-color: var(--color-neutral); }-.field input:focus-visible {- outline: var(--rule-mid) solid var(--color-focus);- outline-offset: 2px;- border-color: var(--color-focus);- background: var(--color-paper-3);-}-.field input:disabled { opacity: 0.45; cursor: not-allowed; }-.field input[aria-invalid="true"] { border-color: var(--color-accent); border-inline-start-width: var(--rule-heavy); }--/* Reserved so an error never pushes the page down. */-.field__help {- min-height: 1lh;- font-size: var(--text-sm);- color: var(--color-neutral);-}-.field__help[data-state="error"] { color: var(--color-accent); }--.form__submit { justify-self: start; }--@media (min-width: 60rem) {- .start__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); }-}--/* ============================================================- Colophon- ============================================================ */--.colophon {- border-block-start: var(--rule-heavy) solid var(--color-rule);- padding-block: var(--space-xl) var(--space-2xl);- font-size: var(--text-sm);- color: var(--color-neutral);-}--.colophon__row {- display: flex;- flex-wrap: wrap;- align-items: baseline;- justify-content: space-between;- gap: var(--space-md) var(--space-xl);-}--.colophon__links {- display: flex;- flex-wrap: wrap;- gap: var(--space-md) var(--space-lg);- margin: 0;- padding: 0;- list-style: none;-}--.colophon a {- color: var(--color-muted);- text-decoration: none;- white-space: nowrap;- box-shadow: inset 0 -1px 0 transparent;- transition: box-shadow var(--dur-short) var(--ease-out),- color var(--dur-micro) var(--ease-out);-}-@media (hover: hover) and (pointer: fine) {- .colophon a:hover { box-shadow: inset 0 -1px 0 var(--color-muted); }-}--.colophon__note {- margin-block-start: var(--space-lg);- padding-block-start: var(--space-md);- border-block-start: var(--rule-hair) solid var(--color-rule-2);- max-width: 68ch;-}--/* ============================================================- The one orchestrated settle- ============================================================ */--.settle {- opacity: 0;- transform: translateY(8px);- animation: settle var(--dur-long) var(--ease-out) forwards;- animation-delay: calc(var(--i, 0) * 70ms);-}--@keyframes settle {- to { opacity: 1; transform: none; }-}--@media (prefers-reduced-motion: reduce) {- *, *::before, *::after {- animation-duration: 150ms !important;- animation-iteration-count: 1 !important;- transition-duration: 150ms !important;- }- .settle {- transform: none;- animation: settle-reduced 150ms linear forwards;- animation-delay: 0ms;- }- @keyframes settle-reduced { to { opacity: 1; } }- .btn:hover { transform: none; }-}--/* ============================================================- Mobile · body-adjacent UI runs larger, tightens at 60rem- ============================================================ */--@media (min-width: 60rem) {- .link,- .field label,- .colophon { font-size: var(--text-sm); }-}--@media (pointer: coarse) {- .btn, .field input { min-height: 48px; }-}diff --git a/eval/_cli-scratch/b1-claude/tokens.css b/eval/_cli-scratch/b1-claude/tokens.cssdeleted file mode 100644index 5fe5925..0000000--- a/eval/_cli-scratch/b1-claude/tokens.css+++ /dev/null@@ -1,76 +0,0 @@-/* Hallmark · tokens · Sibilant Voice Lab- * Derived system, written for this page only. Not a catalog theme.- * Posture: committed. The slate carries the surface; the accent stays a signal.- */--:root {- /* ---- Colour · slate ground, chalk ink, one tally lamp ---- */- --color-paper: oklch(16% 0.018 162); /* chalkboard slate */- --color-paper-2: oklch(20% 0.020 162); /* chart plate */- --color-paper-3: oklch(24% 0.022 162); /* marked / raised cell */- --color-field: oklch(21% 0.021 162); /* the carried colour (committed posture) */- --color-shade: oklch(13% 0.016 162); /* impossible-articulation cell */-- --color-ink: oklch(93% 0.010 92); /* chalk */- --color-ink-2: oklch(86% 0.010 92);- --color-muted: oklch(74% 0.012 120);- --color-neutral: oklch(66% 0.014 150); /* >= 4.5:1 on paper at label sizes */-- --color-rule: oklch(33% 0.014 162);- --color-rule-2: oklch(26% 0.016 162);-- --color-accent: oklch(64% 0.185 34); /* the tally lamp */- --color-accent-quiet: oklch(46% 0.120 34);- --color-accent-ink: oklch(16% 0.018 162); /* text on an accent fill: the slate, not the chalk */- --color-focus: oklch(68% 0.200 34);-- /* ---- Type ---- */- --font-display: "Zilla Slab", ui-serif, Georgia, serif;- --font-body: "IBM Plex Sans", "Charis SIL", ui-sans-serif, sans-serif;-- /* ---- Scale · major third, 1.25 ---- */- --text-xs: 0.75rem;- --text-sm: 0.8125rem;- --text-base: 1rem;- --text-md: 1.125rem;- --text-lg: 1.375rem;- --text-xl: 1.75rem;- --text-2xl: 2.25rem;- --text-3xl: 2.875rem;- --text-display: clamp(2.6rem, 4.6vw + 0.9rem, 4.75rem);- --text-display-s: clamp(2.1rem, 3.6vw + 0.75rem, 3.75rem);-- /* ---- Space · 4pt ---- */- --space-3xs: 0.125rem;- --space-2xs: 0.25rem;- --space-xs: 0.5rem;- --space-sm: 0.75rem;- --space-md: 1rem;- --space-lg: 1.5rem;- --space-xl: 2.5rem;- --space-2xl: 4rem;- --space-3xl: 6rem;- --space-4xl: 9rem;-- /* ---- Rules · the chart's own grammar ---- */- --rule-hair: 1px;- --rule-mid: 2px;- --rule-heavy: 3px;-- /* ---- Radius · a chart has square corners ---- */- --radius-cell: 0px;- --radius-control: 2px;-- /* ---- Motion ---- */- --ease-out: cubic-bezier(0.16, 1, 0.3, 1);- --ease-in: cubic-bezier(0.7, 0, 0.84, 0);- --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);- --dur-micro: 120ms;- --dur-short: 220ms;- --dur-long: 420ms;-- /* ---- Depth ---- */- --z-base: 1;- --z-raised: 10;- --z-sticky: 200;-}diff --git a/eval/_cli-scratch/b1-inspo/.mcp-inspo.json b/eval/_cli-scratch/b1-inspo/.mcp-inspo.jsondeleted file mode 100644index b0603e1..0000000--- a/eval/_cli-scratch/b1-inspo/.mcp-inspo.json+++ /dev/null@@ -1,12 +0,0 @@-{- "mcpServers": {- "inspo": {- "type": "stdio",- "command": "/Users/youssef/Inspo-design/apps/mcp/node_modules/.bin/tsx",- "args": [- "/Users/youssef/Inspo-design/apps/mcp/src/server.ts"- ],- "env": {}- }- }-}\ No newline at end of filediff --git a/eval/_cli-scratch/b1-inspo/index.html b/eval/_cli-scratch/b1-inspo/index.htmldeleted file mode 100644index 87a2d70..0000000--- a/eval/_cli-scratch/b1-inspo/index.html+++ /dev/null@@ -1,352 +0,0 @@-<!DOCTYPE html>-<html lang="en">-<head>-<meta charset="utf-8">-<meta name="viewport" content="width=device-width, initial-scale=1">-<title>Timbre - a foundry for the human voice</title>-<meta name="description" content="Timbre records, cuts and licences synthetic voices from a booth session with a consenting speaker. Browse the catalogue, read the licence, book a session.">-<link rel="preconnect" href="https://fonts.googleapis.com">-<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>-<link href="https://fonts.googleapis.com/css2?family=Archivo:wdth,[email protected],300..900&family=IBM+Plex+Mono:wght@400;500&family=Newsreader:opsz,[email protected],300..700&display=swap" rel="stylesheet">-<link rel="stylesheet" href="page.css">-</head>-<body>--<a class="skip" href="#catalogue">Skip to the catalogue</a>--<header class="masthead">- <div class="masthead__bar">- <a class="wordmark" href="#top" aria-label="Timbre, home">- <span class="wordmark__name">Timbre</span>- <span class="wordmark__rule" aria-hidden="true"></span>- <span class="wordmark__note">voice foundry</span>- </a>- <nav class="masthead__nav" aria-label="Primary">- <ul class="masthead__list">- <li><a href="#catalogue">Catalogue</a></li>- <li><a href="#cutting">Cutting</a></li>- <li><a href="#licence">Licence</a></li>- <li><a class="masthead__book" href="#session">Book a session</a></li>- </ul>- </nav>- </div>-</header>--<main id="top">-- <!-- ── Fold: front matter left, first three specimens right ───────────── -->- <section class="fold" aria-labelledby="fold-title">- <div class="fold__matter">- <h1 class="fold__title" id="fold-title">A foundry for the human voice</h1>- <p class="fold__lede">- A speaker sits one session in our booth. We cut the model from that- recording and nothing else, and the speaker can pull it back.- </p>- <div class="fold__actions">- <a class="button button--solid" href="#session">Book a session</a>- <a class="button button--quiet" href="#licence">Read the licence</a>- </div>- <p class="fold__foot">- <span>Cut in-house, Rotterdam</span>- <span aria-hidden="true">/</span>- <span>Six voices in the open catalogue</span>- </p>- </div>-- <div class="fold__stack" aria-hidden="true">- <div class="chip chip--oxblood"><span class="chip__name">Holloway</span><span class="chip__meta">EN-RP / baritone</span></div>- <div class="chip chip--ochre"><span class="chip__name chip__name--wide">Pike</span><span class="chip__meta">EN-GLA / tenor</span></div>- <div class="chip chip--teal"><span class="chip__name chip__name--serif">Meridian</span><span class="chip__meta">ES-AR / alto</span></div>- </div>- </section>-- <!-- ── The catalogue ──────────────────────────────────────────────────── -->- <section class="catalogue" id="catalogue" aria-labelledby="catalogue-title">- <div class="head">- <h2 class="head__title" id="catalogue-title">The catalogue</h2>- <span class="head__rule" aria-hidden="true"></span>- <span class="head__tail">six entries, open licence</span>- </div>- <p class="catalogue__note">- Each card is set the way the voice reads. Weight, width and colour are- the specimen; there is no waveform here because a waveform tells you- nothing about a voice you are about to cast.- </p>-- <ul class="grid" role="list">- <li class="spec spec--oxblood">- <h3 class="spec__name">Holloway</h3>- <p class="spec__line">Steady, low, unhurried. Built for long-form narration that has to hold for nine hours.</p>- <dl class="spec__data">- <div><dt>Language</dt><dd>English, received</dd></div>- <div><dt>Register</dt><dd>Baritone</dd></div>- <div><dt>Cut for</dt><dd>Narration, documentary</dd></div>- <div><dt>Licence</dt><dd>Open, revocable</dd></div>- </dl>- </li>-- <li class="spec spec--teal">- <h3 class="spec__name spec__name--serif">Meridian</h3>- <p class="spec__line">Broadcast continuity. Clean consonants, no regional drift under speed.</p>- <dl class="spec__data">- <div><dt>Language</dt><dd>Spanish, Rioplatense</dd></div>- <div><dt>Register</dt><dd>Alto</dd></div>- <div><dt>Cut for</dt><dd>Continuity, localisation</dd></div>- <div><dt>Licence</dt><dd>Open, revocable</dd></div>- </dl>- </li>-- <li class="spec spec--ochre">- <h3 class="spec__name spec__name--wide">Pike</h3>- <p class="spec__line">Fast, bright, argumentative. Holds character across a hundred takes without flattening.</p>- <dl class="spec__data">- <div><dt>Language</dt><dd>English, Glasgow</dd></div>- <div><dt>Register</dt><dd>Tenor</dd></div>- <div><dt>Cut for</dt><dd>Character, games</dd></div>- <div><dt>Licence</dt><dd>Open, revocable</dd></div>- </dl>- </li>-- <li class="spec spec--violet">- <h3 class="spec__name spec__name--serif spec__name--light">Aubade</h3>- <p class="spec__line">Close-mic and quiet. Reads best under a room tone, worst over music.</p>- <dl class="spec__data">- <div><dt>Language</dt><dd>French, Paris</dd></div>- <div><dt>Register</dt><dd>Soprano</dd></div>- <div><dt>Cut for</dt><dd>Narration, poetry</dd></div>- <div><dt>Licence</dt><dd>Open, revocable</dd></div>- </dl>- </li>-- <li class="spec spec--olive">- <h3 class="spec__name spec__name--mono">Cobalt Six</h3>- <p class="spec__line">Our only voice with no speaker behind it. Assembled from synthesis, declared as such wherever it ships.</p>- <dl class="spec__data">- <div><dt>Language</dt><dd>English, unplaced</dd></div>- <div><dt>Register</dt><dd>Neutral</dd></div>- <div><dt>Cut for</dt><dd>Systems, wayfinding</dd></div>- <div><dt>Licence</dt><dd>Open, no speaker</dd></div>- </dl>- </li>-- <li class="spec spec--bone">- <h3 class="spec__name spec__name--serif">Nan Wylie</h3>- <p class="spec__line">Grain, breath and a long vowel. The recording keeps its room; we did not sand it out.</p>- <dl class="spec__data">- <div><dt>Language</dt><dd>English, Appalachian</dd></div>- <div><dt>Register</dt><dd>Contralto</dd></div>- <div><dt>Cut for</dt><dd>Memoir, oral history</dd></div>- <div><dt>Licence</dt><dd>Open, revocable</dd></div>- </dl>- </li>- </ul>- </section>-- <!-- ── How a voice gets cut ───────────────────────────────────────────── -->- <section class="cutting" id="cutting" aria-labelledby="cutting-title">- <div class="head">- <h2 class="head__title" id="cutting-title">How a voice gets cut</h2>- <span class="head__rule" aria-hidden="true"></span>- <span class="head__tail">booth to catalogue</span>- </div>-- <ol class="steps" role="list">- <li class="step">- <h3 class="step__title">The speaker sits a session</h3>- <p>- One booth, one supervising engineer, and a script written against- the range you need rather than a generic passage. The speaker is in- the room and reads the terms before the first take, not after.- </p>- </li>- <li class="step">- <h3 class="step__title">We cut the model in-house</h3>- <p>- Training runs on our own hardware against that session and no other- audio. When it is done, the speaker auditions their own voice and- can send it back to be cut again.- </p>- </li>- <li class="step">- <h3 class="step__title">You direct it, they hold it</h3>- <p>- You get the voice, the direction controls, and a written licence.- The speaker keeps a revocation they can exercise themselves, and- every render carries provenance metadata on the way out.- </p>- </li>- </ol>- </section>-- <!-- ── Licence: change of paper ───────────────────────────────────────── -->- <section class="licence" id="licence" aria-labelledby="licence-title">- <div class="licence__inner">- <h2 class="licence__title" id="licence-title">Consent is the product</h2>- <p class="licence__lede">- Voice cloning goes wrong in three places, so the terms are written- against those three and are the same terms for every entry in the- catalogue.- </p>- <dl class="terms">- <div class="term">- <dt>Provenance</dt>- <dd>- Every voice names the session it came from. Nothing enters the- catalogue from scraped audiobooks, podcasts or films, and a voice- with no traceable session does not get cut.- </dd>- </div>- <div class="term">- <dt>Revocation</dt>- <dd>- The speaker can withdraw their voice from the catalogue at any- time from their own account. Withdrawal stops new renders- immediately; existing licences enter a wind-down we publish in- full inside the terms.- </dd>- </div>- <div class="term">- <dt>Declaration</dt>- <dd>- Renders leave with signed provenance metadata attached. Strip it- and the licence lapses. We would rather lose the work than ship a- voice that cannot be identified as cut.- </dd>- </div>- </dl>- <p class="licence__foot">- Full terms and the speaker agreement are published before you are- asked for anything.- </p>- </div>- </section>-- <!-- ── Session request ────────────────────────────────────────────────── -->- <section class="session" id="session" aria-labelledby="session-title">- <div class="session__matter">- <h2 class="session__title" id="session-title">Book a session</h2>- <p class="session__lede">- Tell us what the voice has to do and we will come back with a booth- date, a read of whether an existing catalogue entry already covers it,- and a rate. Nothing is charged before the terms are signed.- </p>- </div>-- <form class="form" id="session-form" novalidate>- <div class="field">- <label class="field__label" for="email">Work email</label>- <input class="field__input" id="email" name="email" type="email"- autocomplete="email" placeholder="[email protected]"- aria-describedby="email-hint">- <p class="field__hint" id="email-hint">We reply from a person, once.</p>- </div>-- <div class="field">- <label class="field__label" for="use">What the voice has to do</label>- <select class="field__input field__input--select" id="use" name="use">- <option value="narration">Long-form narration</option>- <option value="character">Character and games</option>- <option value="localisation">Localisation and dubbing</option>- <option value="systems">Systems and wayfinding</option>- <option value="other">Something not listed</option>- </select>- <p class="field__hint">Changes which engineer picks it up.</p>- </div>-- <div class="field field--wide">- <label class="field__label" for="notes">Anything we should know</label>- <textarea class="field__input field__input--area" id="notes" name="notes"- rows="3" placeholder="Runtime, languages, whether the speaker is yours or ours"></textarea>- </div>-- <div class="form__actions">- <button class="button button--solid" type="submit">Send the request</button>- <p class="form__note">You are not on a list. This goes to the studio inbox.</p>- </div>-- <p class="form__receipt" id="session-receipt" role="status">- <span aria-hidden="true">✓</span>- <span>Logged. An engineer picks it up from the studio inbox.</span>- </p>- </form>- </section>-</main>--<footer class="colophon">- <div class="colophon__inner">- <p class="colophon__set">- <span class="colophon__mark">Timbre</span> is a voice foundry. Voices are- cut from booth sessions with consenting speakers and licensed with a- revocation the speaker holds. The catalogue is set in Archivo, Newsreader- and IBM Plex Mono; specimen colour carries no meaning beyond telling one- entry from the next.- </p>- <nav class="colophon__nav" aria-label="Footer">- <ul role="list">- <li><a href="#catalogue">Catalogue</a></li>- <li><a href="#cutting">Cutting</a></li>- <li><a href="#licence">Licence and terms</a></li>- <li><a href="#session">Book a session</a></li>- </ul>- </nav>- <p class="colophon__rule">- <span>Rotterdam</span>- <span aria-hidden="true">/</span>- <span>Sessions by appointment</span>- <span aria-hidden="true">/</span>- <span>Speaker withdrawal, any time</span>- </p>- </div>-</footer>--<script>-// Session request. No endpoint is wired yet; point `send` at the studio inbox-// handler and the states below stay as they are.-(function () {- var form = document.getElementById('session-form');- if (!form) return;- var email = document.getElementById('email');- var field = email.closest('.field');- var hint = document.getElementById('email-hint');- var hintDefault = hint.textContent;- var button = form.querySelector('button[type="submit"]');-- form.addEventListener('submit', function (event) {- event.preventDefault();-- if (!email.value || !email.checkValidity()) {- field.classList.remove('is-success');- field.classList.add('is-error');- hint.textContent = 'That address will not reach you. Check it and send again.';- email.setAttribute('aria-invalid', 'true');- email.focus();- return;- }-- field.classList.remove('is-error');- field.classList.add('is-success');- hint.textContent = hintDefault;- email.removeAttribute('aria-invalid');-- form.classList.add('is-sending');- button.disabled = true;-- // Replace with the real POST.- window.setTimeout(function () {- form.classList.remove('is-sending');- form.classList.add('is-sent');- button.disabled = false;- }, 420);- });-- email.addEventListener('input', function () {- if (!field.classList.contains('is-error')) return;- field.classList.remove('is-error');- hint.textContent = hintDefault;- email.removeAttribute('aria-invalid');- });-})();-</script>--</body>-</html>diff --git a/eval/_cli-scratch/b1-inspo/page.css b/eval/_cli-scratch/b1-inspo/page.cssdeleted file mode 100644index d8e899f..0000000--- a/eval/_cli-scratch/b1-inspo/page.css+++ /dev/null@@ -1,757 +0,0 @@-/* Hallmark · checked: 2026-08-06 · genre: editorial (inferred)- * floor: 34/34 · fixed: 9 (gates 20, 25, 36, 39a, 39c, 40, 41, 44, F6)- * structural: 0 printed- * nav: foundry masthead - wordmark lockup + mono link row, CTA is a ruled text- * link, no button-right (declared for gate 42)- * footer: justified colophon + short link list + mono standing line (gate 43)- * hero: Settled/split - front matter left, first catalogue entries right- * contrast: pass (40-41) · mobile: pass (34, 49, 50-57) · honest: pass (46)- * chrome: pass (47) · tokens: pass (48) · responsive: pass (49)- * built: external (reference archive · Inspo) · v1.2.0- */--@import url("tokens.css");--/* ══ Base ═══════════════════════════════════════════════════════════════ */--*, *::before, *::after { box-sizing: border-box; }--html, body {- overflow-x: clip;- margin: 0;- padding: 0;-}--html { -webkit-text-size-adjust: 100%; }--body {- background: var(--color-paper);- color: var(--color-ink);- font-family: var(--font-text);- font-size: var(--text-body);- font-weight: 400;- line-height: 1.55;- font-optical-sizing: auto;- -webkit-font-smoothing: antialiased;-}--h1, h2, h3 {- margin: 0;- font-style: normal;- overflow-wrap: break-word;- min-width: 0;- text-wrap: balance;-}--p { margin: 0; }-ul, ol, dl, dd { margin: 0; padding: 0; }-ul[role="list"], ol[role="list"] { list-style: none; }--a { color: inherit; }--:where(a, button, input, select, textarea):focus-visible {- outline: var(--rule-bold) solid var(--color-focus);- outline-offset: 3px;- transition: none;-}--.skip {- position: absolute;- left: var(--space-4);- top: calc(var(--space-4) * -6);- z-index: 10;- padding: var(--space-3) var(--space-5);- background: var(--color-accent);- color: var(--color-accent-ink);- font-family: var(--font-mono);- font-size: var(--text-meta);- text-decoration: none;- border-radius: var(--radius-sm);-}-.skip:focus-visible { top: var(--space-4); }--/* Shared shell width */-.masthead__bar,-.fold,-.catalogue,-.cutting,-.session,-.licence__inner,-.colophon__inner {- width: min(100% - var(--space-10), 78rem);- margin-inline: auto;-}--/* ══ Masthead ═══════════════════════════════════════════════════════════ */--.masthead {- border-block-end: var(--rule-hair) solid var(--color-rule-strong);- background: var(--color-paper);-}--.masthead__bar {- display: flex;- align-items: baseline;- justify-content: space-between;- gap: var(--space-6);- padding-block: var(--space-4);-}--.wordmark {- display: inline-flex;- align-items: baseline;- gap: var(--space-3);- text-decoration: none;-}--.wordmark__name {- font-family: var(--font-display);- font-weight: 800;- font-stretch: 115%;- font-size: 1.375rem;- letter-spacing: -0.015em;-}--.wordmark__rule {- width: var(--space-8);- height: var(--rule-bold);- background: var(--color-accent);- align-self: center;-}--.wordmark__note {- font-family: var(--font-mono);- font-size: var(--text-micro);- letter-spacing: 0.09em;- text-transform: uppercase;- color: var(--color-ink-soft);-}--.masthead__list {- display: flex;- align-items: baseline;- gap: var(--space-6);- list-style: none;- font-family: var(--font-mono);- font-size: var(--text-meta);-}--.masthead__list a {- text-decoration: none;- padding-block-end: var(--space-1);- border-block-end: var(--rule-bold) solid transparent;- transition: border-color var(--dur-fast) var(--ease-standard),- color var(--dur-fast) var(--ease-standard);-}-.masthead__list a:hover { border-block-end-color: var(--color-rule); }--.masthead__book {- color: var(--color-accent-text);- border-block-end-color: var(--color-accent) !important;-}-.masthead__book:hover { color: var(--color-ink); }--/* ══ Fold ═══════════════════════════════════════════════════════════════ */--.fold {- display: grid;- grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);- gap: clamp(var(--space-8), 4vw, var(--space-16));- align-items: start;- padding-block: clamp(var(--space-10), 4.5vw, var(--space-16)) var(--space-20);-}--.fold__title {- font-family: var(--font-display);- font-weight: 900;- font-stretch: 108%;- font-size: var(--text-hero);- line-height: 0.94;- letter-spacing: -0.035em;- max-width: 12ch;-}--.fold__lede {- margin-block-start: var(--space-6);- max-width: 52ch;- font-size: var(--text-lede);- line-height: 1.5;- color: var(--color-ink-soft);-}--.fold__actions {- display: flex;- flex-wrap: wrap;- align-items: center;- gap: var(--space-5);- margin-block-start: var(--space-8);-}--.fold__foot {- display: flex;- flex-wrap: wrap;- gap: var(--space-3);- margin-block-start: var(--space-10);- padding-block-start: var(--space-4);- border-block-start: var(--rule-hair) solid var(--color-rule);- font-family: var(--font-mono);- font-size: var(--text-micro);- letter-spacing: 0.06em;- text-transform: uppercase;- color: var(--color-ink-soft);-}--/* Fold specimens: the catalogue starting before the section does */-.fold__stack {- display: grid;- gap: var(--space-2);-}--.chip {- display: flex;- align-items: baseline;- justify-content: space-between;- gap: var(--space-4);- padding: var(--space-5) var(--space-6);- border-radius: var(--radius-none);-}--.chip__name {- font-family: var(--font-display);- font-weight: 800;- font-stretch: 108%;- font-size: clamp(1.5rem, 2.4vw, 2.125rem);- line-height: 1;- letter-spacing: -0.025em;-}-.chip__name--wide { font-stretch: 125%; font-weight: 900; }-.chip__name--serif { font-family: var(--font-text); font-weight: 600; letter-spacing: -0.01em; }--.chip__meta {- font-family: var(--font-mono);- font-size: var(--text-micro);- letter-spacing: 0.06em;- text-transform: uppercase;- white-space: nowrap;-}--.chip--oxblood { background: var(--color-spec-oxblood); color: var(--color-spec-oxblood-ink); }-.chip--ochre { background: var(--color-spec-ochre); color: var(--color-spec-ochre-ink); }-.chip--teal { background: var(--color-spec-teal); color: var(--color-spec-teal-ink); }--/* ══ Buttons ════════════════════════════════════════════════════════════ */--.button {- display: inline-flex;- align-items: center;- font-family: var(--font-mono);- font-size: var(--text-meta);- line-height: 1;- letter-spacing: 0.04em;- text-decoration: none;- border: none;- cursor: pointer;-}--.button--solid {- min-height: var(--control-h);- padding-inline: var(--space-6);- background: var(--color-ink);- color: var(--color-ink-inverse);- border-radius: var(--radius-sm);- transition: background-color var(--dur-base) var(--ease-standard),- transform var(--dur-fast) var(--ease-standard);-}-.button--solid:hover { background: var(--color-accent-text); }-.button--solid:active { transform: translateY(1px); }-.button--solid:disabled,-.button--solid[aria-disabled="true"] {- background: var(--color-disabled-ground);- color: var(--color-disabled-ink);- cursor: not-allowed;- transform: none;-}--.button--quiet {- padding-block-end: var(--space-1);- color: var(--color-ink);- border-block-end: var(--rule-bold) solid var(--color-accent);- background: none;- transition: border-color var(--dur-base) var(--ease-standard),- color var(--dur-base) var(--ease-standard);-}-.button--quiet:hover { color: var(--color-accent-text); border-block-end-color: var(--color-rule-strong); }--/* ══ Section heads ══════════════════════════════════════════════════════ */--.head {- display: flex;- align-items: baseline;- gap: var(--space-5);- padding-block-end: var(--space-5);-}--.head__title {- font-family: var(--font-display);- font-weight: 800;- font-stretch: 104%;- font-size: var(--text-display);- line-height: 1;- letter-spacing: -0.03em;- flex: 0 0 auto;-}--.head__rule {- flex: 1 1 auto;- height: var(--rule-hair);- background: var(--color-rule-strong);- transform: translateY(-0.35em);-}--.head__tail {- flex: 0 0 auto;- font-family: var(--font-mono);- font-size: var(--text-micro);- letter-spacing: 0.08em;- text-transform: uppercase;- color: var(--color-ink-soft);-}--/* ══ Catalogue ══════════════════════════════════════════════════════════ */--.catalogue { padding-block: var(--space-16) var(--space-20); }--.catalogue__note {- max-width: 54ch;- margin-block-end: var(--space-10);- color: var(--color-ink-soft);- font-size: var(--text-lede);-}--.grid {- display: grid;- grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr));- gap: var(--space-4);-}--.spec {- min-width: 0;- display: flex;- flex-direction: column;- gap: var(--space-4);- padding: var(--space-8) var(--space-6) var(--space-6);- border-radius: var(--radius-none);- transition: transform var(--dur-base) var(--ease-entrance);-}-.spec:hover { transform: translateY(-3px); }--.spec__name {- font-family: var(--font-display);- font-weight: 800;- font-stretch: 108%;- font-size: var(--text-specimen);- line-height: 0.98;- letter-spacing: -0.03em;-}-.spec__name--wide { font-stretch: 125%; font-weight: 900; }-.spec__name--serif { font-family: var(--font-text); font-weight: 600; letter-spacing: -0.01em; }-.spec__name--light { font-weight: 300; }-.spec__name--mono {- font-family: var(--font-mono);- font-weight: 500;- font-size: calc(var(--text-specimen) * 0.72);- letter-spacing: 0.01em;-}--.spec__line {- font-size: var(--text-body);- line-height: 1.5;- max-width: 34ch;-}--.spec__data {- margin-block-start: auto;- padding-block-start: var(--space-4);- display: grid;- gap: var(--space-1);- font-family: var(--font-mono);- font-size: var(--text-micro);- letter-spacing: 0.04em;-}-.spec__data > div {- display: flex;- gap: var(--space-3);- justify-content: space-between;- padding-block: var(--space-1);-}-.spec__data dt { text-transform: uppercase; opacity: 0.72; }-.spec__data dd { margin: 0; text-align: right; }--.spec--oxblood { background: var(--color-spec-oxblood); color: var(--color-spec-oxblood-ink); }-.spec--teal { background: var(--color-spec-teal); color: var(--color-spec-teal-ink); }-.spec--ochre { background: var(--color-spec-ochre); color: var(--color-spec-ochre-ink); }-.spec--violet { background: var(--color-spec-violet); color: var(--color-spec-violet-ink); }-.spec--olive { background: var(--color-spec-olive); color: var(--color-spec-olive-ink); }-.spec--bone { background: var(--color-spec-bone); color: var(--color-spec-bone-ink); }--.spec--oxblood .spec__data > div,-.spec--teal .spec__data > div,-.spec--violet .spec__data > div,-.spec--olive .spec__data > div { border-block-start: var(--rule-hair) solid var(--color-rule-inverse); }-.spec--ochre .spec__data > div,-.spec--bone .spec__data > div { border-block-start: var(--rule-hair) solid var(--color-rule); }--.spec--oxblood :focus-visible,-.spec--teal :focus-visible,-.spec--violet :focus-visible,-.spec--olive :focus-visible { outline-color: var(--color-focus-inverse); }--/* ══ Cutting: an ordered list, numerals at graphic scale ════════════════ */--.cutting { padding-block-end: var(--space-20); }--.steps {- counter-reset: step;- display: grid;- grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));- gap: var(--space-10) var(--space-8);- list-style: none;-}--.step {- counter-increment: step;- min-width: 0;- padding-block-start: var(--space-4);- border-block-start: var(--rule-heavy) solid var(--color-rule-strong);-}--.step::before {- content: counter(step, decimal-leading-zero);- display: block;- font-family: var(--font-display);- font-variant-numeric: tabular-nums;- font-weight: 900;- font-stretch: 125%;- font-size: var(--text-numeral);- line-height: 0.82;- letter-spacing: -0.05em;- color: var(--color-accent-text);-}--.step__title {- margin-block: var(--space-5) var(--space-3);- font-family: var(--font-display);- font-weight: 700;- font-size: var(--text-title);- line-height: 1.15;- letter-spacing: -0.02em;-}--.step p {- color: var(--color-ink-soft);- max-width: 48ch;-}--/* ══ Licence: change of paper ═══════════════════════════════════════════ */--.licence {- background: var(--color-ink);- color: var(--color-ink-inverse);- padding-block: clamp(var(--space-16), 7vw, var(--space-24));-}--.licence__inner {- display: grid;- grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);- gap: clamp(var(--space-8), 5vw, var(--space-16));- align-items: start;-}--.licence__title {- font-family: var(--font-display);- font-weight: 900;- font-stretch: 112%;- font-size: var(--text-display);- line-height: 0.98;- letter-spacing: -0.035em;-}--.licence__lede {- grid-column: 1;- margin-block-start: var(--space-5);- color: var(--color-ink-inverse-soft);- max-width: 46ch;-}--.terms {- grid-column: 2;- grid-row: 1 / span 3;- display: grid;- gap: var(--space-8);-}--.term {- display: grid;- gap: var(--space-3);- padding-block-start: var(--space-5);- border-block-start: var(--rule-hair) solid var(--color-rule-inverse);-}--.term dt {- font-family: var(--font-mono);- font-size: var(--text-meta);- letter-spacing: 0.08em;- text-transform: uppercase;- color: var(--color-accent-inverse);-}--.term dd {- margin: 0;- max-width: 58ch;- color: var(--color-ink-inverse);-}--.licence__foot {- grid-column: 1;- align-self: end;- font-family: var(--font-mono);- font-size: var(--text-micro);- line-height: 1.7;- letter-spacing: 0.05em;- text-transform: uppercase;- color: var(--color-ink-inverse-soft);- max-width: 30ch;-}--/* ══ Session ════════════════════════════════════════════════════════════ */--.session {- display: grid;- grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);- gap: clamp(var(--space-8), 5vw, var(--space-16));- padding-block: clamp(var(--space-16), 6vw, var(--space-24));- align-items: start;-}--.session__title {- font-family: var(--font-display);- font-weight: 900;- font-stretch: 112%;- font-size: var(--text-display);- line-height: 0.98;- letter-spacing: -0.035em;-}--.session__lede {- margin-block-start: var(--space-5);- max-width: 46ch;- color: var(--color-ink-soft);- font-size: var(--text-lede);-}--.form {- display: grid;- grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));- gap: var(--space-6);- padding: var(--space-8);- background: var(--color-paper-sunk);- border-block-start: var(--rule-heavy) solid var(--color-rule-strong);-}--.field { display: grid; gap: var(--space-2); min-width: 0; }-.field--wide { grid-column: 1 / -1; }--.field__label {- font-family: var(--font-mono);- font-size: var(--text-micro);- letter-spacing: 0.08em;- text-transform: uppercase;- color: var(--color-ink);-}--.field__input {- width: 100%;- min-height: var(--control-h);- padding: var(--space-3) var(--space-4);- font-family: var(--font-text);- font-size: var(--text-body);- color: var(--color-ink);- background: var(--color-paper-raised);- border: var(--rule-hair) solid var(--color-rule);- border-radius: var(--radius-sm);- transition: border-color var(--dur-fast) var(--ease-standard),- background-color var(--dur-fast) var(--ease-standard);-}-.field__input::placeholder { color: var(--color-ink-soft); }-.field__input:hover { border-color: var(--color-rule-strong); }-.field__input:disabled {- background: var(--color-disabled-ground);- color: var(--color-disabled-ink);- cursor: not-allowed;-}-.field__input--area { resize: vertical; line-height: 1.5; }-.field__input--select { font-family: var(--font-mono); font-size: var(--text-meta); }--.field__hint {- min-height: 1lh;- font-family: var(--font-mono);- font-size: var(--text-micro);- line-height: 1.5;- letter-spacing: 0.03em;- color: var(--color-ink-soft);-}--/* Field states. Border-width never changes between states - the error ring is- * an inset shadow so nothing on the form shifts when it appears. */-.field.is-error .field__input {- border-color: var(--color-danger);- box-shadow: inset 0 0 0 var(--rule-hair) var(--color-danger);-}-.field.is-error .field__hint { color: var(--color-danger); }-.field.is-success .field__input { border-color: var(--color-success); }--.form__actions {- grid-column: 1 / -1;- display: flex;- flex-wrap: wrap;- align-items: center;- gap: var(--space-5);- padding-block-start: var(--space-2);-}--.form__note {- font-family: var(--font-mono);- font-size: var(--text-micro);- letter-spacing: 0.03em;- color: var(--color-ink-soft);- max-width: 32ch;-}--.form.is-sending .button--solid { background: var(--color-disabled-ground); color: var(--color-disabled-ink); }--.form__receipt {- grid-column: 1 / -1;- display: none;- gap: var(--space-3);- align-items: baseline;- padding-block-start: var(--space-4);- border-block-start: var(--rule-hair) solid var(--color-rule);- font-family: var(--font-mono);- font-size: var(--text-meta);- color: var(--color-success);-}-.form.is-sent .form__receipt { display: flex; }-.form.is-sent .form__actions { display: none; }--/* ══ Colophon ═══════════════════════════════════════════════════════════ */--.colophon {- border-block-start: var(--rule-hair) solid var(--color-rule-strong);- padding-block: var(--space-12) var(--space-10);-}--.colophon__inner {- display: grid;- grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.7fr);- gap: var(--space-10);- align-items: start;-}--.colophon__set {- font-size: var(--text-body);- line-height: 1.6;- max-width: 62ch;- color: var(--color-ink-soft);- text-align: justify;- hyphens: auto;-}--.colophon__mark {- font-family: var(--font-display);- font-weight: 800;- font-stretch: 115%;- color: var(--color-ink);-}--.colophon__nav ul {- display: grid;- gap: var(--space-2);- list-style: none;- font-family: var(--font-mono);- font-size: var(--text-meta);-}-.colophon__nav a {- text-decoration: none;- border-block-end: var(--rule-hair) solid transparent;- transition: border-color var(--dur-fast) var(--ease-standard);-}-.colophon__nav a:hover { border-block-end-color: var(--color-rule-strong); }--.colophon__rule {- grid-column: 1 / -1;- display: flex;- flex-wrap: wrap;- gap: var(--space-3);- padding-block-start: var(--space-6);- border-block-start: var(--rule-hair) solid var(--color-rule);- font-family: var(--font-mono);- font-size: var(--text-micro);- letter-spacing: 0.08em;- text-transform: uppercase;- color: var(--color-ink-soft);-}--/* ══ Responsive ═════════════════════════════════════════════════════════ */--@media (max-width: 62rem) {- .fold { grid-template-columns: minmax(0, 1fr); gap: var(--space-10); }- .fold__stack { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }- .licence__inner,- .session,- .colophon__inner { grid-template-columns: minmax(0, 1fr); }- .licence__lede, .licence__foot, .terms { grid-column: 1; }- .terms { grid-row: auto; }- .colophon__set { max-width: none; }-}--@media (max-width: 46rem) {- .masthead__bar { flex-direction: column; align-items: flex-start; gap: var(--space-4); }- .masthead__list { flex-wrap: wrap; gap: var(--space-4) var(--space-5); }- .head { flex-wrap: wrap; gap: var(--space-3); }- .head__rule { flex-basis: 100%; order: 3; transform: none; }- .head__tail { order: 2; }- .chip { flex-direction: column; align-items: flex-start; gap: var(--space-2); }- .chip__meta { white-space: normal; }- .form { padding: var(--space-6) var(--space-5); }- .colophon__set { text-align: start; }-}--@media (max-width: 26rem) {- .masthead__bar,- .fold,- .catalogue,- .cutting,- .session,- .licence__inner,- .colophon__inner { width: min(100% - var(--space-8), 78rem); }- .spec { padding: var(--space-6) var(--space-5) var(--space-5); }- .spec__data > div { flex-direction: column; gap: var(--space-1); }- .spec__data dd { text-align: start; }-}--/* ══ Motion ═════════════════════════════════════════════════════════════ */--@media (prefers-reduced-motion: reduce) {- *, *::before, *::after {- animation-duration: 0.01ms !important;- animation-iteration-count: 1 !important;- transition-duration: 0.01ms !important;- scroll-behavior: auto !important;- }- .spec:hover { transform: none; }- .button--solid:active { transform: none; }-}--@media (prefers-reduced-motion: no-preference) {- html { scroll-behavior: smooth; }-}diff --git a/eval/_cli-scratch/b1-inspo/tokens.css b/eval/_cli-scratch/b1-inspo/tokens.cssdeleted file mode 100644index 5a7305c..0000000--- a/eval/_cli-scratch/b1-inspo/tokens.css+++ /dev/null@@ -1,99 +0,0 @@-/* Timbre - design tokens- * Every colour and font on the page resolves through this file.- */--:root {- /* ---- Type families ---------------------------------------------------- */- --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;- --font-text: "Newsreader", Georgia, "Times New Roman", serif;- --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;-- /* ---- Surfaces --------------------------------------------------------- */- --color-paper: oklch(0.845 0.018 84);- --color-paper-raised: oklch(0.885 0.014 86);- --color-paper-sunk: oklch(0.795 0.020 82);- --color-cream: oklch(0.940 0.015 85);-- /* ---- Ink -------------------------------------------------------------- */- --color-ink: oklch(0.235 0.021 62);- --color-ink-soft: oklch(0.375 0.018 66);- --color-ink-inverse: oklch(0.940 0.015 85);- --color-ink-inverse-soft: oklch(0.800 0.016 82);-- /* ---- Accent ----------------------------------------------------------- */- --color-accent: oklch(0.585 0.185 36);- --color-accent-ink: oklch(0.105 0.024 40); /* the only ink legal on accent */- --color-accent-text: oklch(0.385 0.150 34);- --color-accent-inverse: oklch(0.720 0.155 44);-- /* ---- Rules and edges -------------------------------------------------- */- --color-rule: oklch(0.660 0.018 76);- --color-rule-strong: oklch(0.235 0.021 62);- --color-rule-inverse: oklch(0.385 0.020 66);-- /* ---- Specimen blocks (block ground + the ink it carries) -------------- */- --color-spec-oxblood: oklch(0.315 0.085 26);- --color-spec-oxblood-ink: oklch(0.940 0.015 85);- --color-spec-teal: oklch(0.425 0.055 205);- --color-spec-teal-ink: oklch(0.940 0.015 85);- --color-spec-ochre: oklch(0.755 0.115 79);- --color-spec-ochre-ink: oklch(0.235 0.021 62);- --color-spec-violet: oklch(0.405 0.062 288);- --color-spec-violet-ink: oklch(0.940 0.015 85);- --color-spec-olive: oklch(0.445 0.058 122);- --color-spec-olive-ink: oklch(0.940 0.015 85);- --color-spec-bone: oklch(0.895 0.020 88);- --color-spec-bone-ink: oklch(0.235 0.021 62);-- /* ---- States ----------------------------------------------------------- */- --color-focus: oklch(0.235 0.021 62);- --color-focus-inverse: oklch(0.940 0.015 85);- --color-danger: oklch(0.455 0.165 27);- --color-success: oklch(0.430 0.075 148);- --color-disabled-ink: oklch(0.345 0.015 78);- --color-disabled-ground: oklch(0.790 0.012 80);-- /* ---- Spacing, 4pt ----------------------------------------------------- */- --space-1: 4px;- --space-2: 8px;- --space-3: 12px;- --space-4: 16px;- --space-5: 20px;- --space-6: 24px;- --space-8: 32px;- --space-10: 40px;- --space-12: 48px;- --space-16: 64px;- --space-20: 80px;- --space-24: 96px;- --space-32: 128px;-- /* ---- Type scale ------------------------------------------------------- */- --text-hero: clamp(2.6rem, 5.1vw, 4.25rem);- --text-numeral: clamp(3.5rem, 7vw, 6rem);- --text-display: clamp(2rem, 3.6vw, 3rem);- --text-specimen: clamp(1.75rem, 3vw, 2.6rem);- --text-title: clamp(1.25rem, 1.6vw, 1.5rem);- --text-lede: clamp(1.0625rem, 1.25vw, 1.1875rem);- --text-body: 1rem;- --text-meta: 0.8125rem;- --text-micro: 0.6875rem;-- /* ---- Motion ----------------------------------------------------------- */- --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);- --ease-entrance: cubic-bezier(0.22, 1, 0.36, 1);- --ease-exit: cubic-bezier(0.55, 0, 1, 0.45);- --dur-fast: 120ms;- --dur-base: 220ms;- --dur-slow: 400ms;-- /* ---- Rules and radii -------------------------------------------------- */- --rule-hair: 1px;- --rule-bold: 2px;- --rule-heavy: 4px;- --radius-none: 0px;- --radius-sm: 2px;-- /* ---- Controls: one height, shared by every button and field ----------- */- --control-h: 48px;-}diff --git a/eval/_cli-scratch/b7-claude/index.html b/eval/_cli-scratch/b7-claude/index.htmldeleted file mode 100644index c96d1f9..0000000--- a/eval/_cli-scratch/b7-claude/index.html+++ /dev/null@@ -1,396 +0,0 @@-<!DOCTYPE html>-<html lang="en-GB">-<head>-<meta charset="utf-8">-<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">-<title>Quire Bindery · books bound to measure, by two people</title>-<meta name="description" content="A two-person bindery taking commissions. Case, coptic, long-stitch, drum-leaf, repairs and boxes. Tell us what you have and we will tell you what it wants to be.">-<link rel="preconnect" href="https://fonts.googleapis.com">-<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>-<link href="https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">-<link rel="stylesheet" href="page.css">-</head>-<body>--<div class="rails" aria-hidden="true"></div>--<a class="skip" href="#main">Skip to the page</a>--<!-- ── Masthead · a ruled manual header, not a sticky bar ────────────── -->-<header class="mast">- <div class="shell mast__in">- <a class="wordmark" href="#top">- quire<span class="mark" aria-hidden="true"></span>- </a>-- <dl class="mast__spec">- <div class="mast__field">- <dt>trade</dt>- <dd>hand bookbinding, two benches</dd>- </div>- <div class="mast__field">- <dt>status</dt>- <dd>commissions open</dd>- </div>- <div class="mast__field">- <dt>visits</dt>- <dd>by arrangement</dd>- </div>- </dl>- </div>-- <nav class="mast__nav" aria-label="Sections">- <div class="shell mast__navin">- <a href="#structures">structures</a>- <a href="#bench">the bench</a>- <a href="#order">how it goes</a>- <a href="#materials">materials</a>- <a class="is-last" href="#commission">start a commission</a>- </div>- </nav>-</header>--<main id="main">--<!-- ── Hero · Banner posture, slammed left ───────────────────────────── -->-<section class="hero" id="top">- <div class="shell hero__in">- <h1 class="hero__h">bound to measure<span class="mark mark--period" aria-hidden="true"></span></h1>-- <p class="hero__lede">- A two-person bindery taking commissions. Bring a manuscript, a run of- journals, or a box of loose sheets, and we will tell you what it wants- to be.- </p>-- <p class="hero__spec">- six structures <span aria-hidden="true">·</span> repairs taken- <span aria-hidden="true">·</span> one book on the bench at a time- </p>-- <p class="hero__act">- <a class="link-cta" href="#commission">Start a commission</a>- <a class="link-quiet" href="#structures">See what we make</a>- </p>- </div>-</section>--<!-- ── Structures · a numbered index riding the twelve columns ───────── -->-<section class="band band--index" id="structures">- <div class="shell">- <div class="head">- <h2 class="head__h">what we make</h2>- <p class="head__folio">01/05</p>- </div>-- <ol class="index">- <li class="row">- <h3 class="row__name">case binding</h3>- <p class="row__body">Sewn on tapes, rounded and backed, cloth or quarter-leather over board. The structure that survives being read.</p>- <p class="row__for">single volumes, theses, manuscripts</p>- </li>- <li class="row">- <h3 class="row__name">coptic</h3>- <p class="row__body">Exposed chain stitch, no spine covering, and it opens dead flat and stays there without a hand on it.</p>- <p class="row__for">sketchbooks, notation, anything drawn across the gutter</p>- </li>- <li class="row">- <h3 class="row__name">long-stitch</h3>- <p class="row__body">Sections sewn straight through a limp cover, the thread left visible down the spine. Quick to make, honest about it.</p>- <p class="row__for">short runs, notebooks, journals</p>- </li>- <li class="row">- <h3 class="row__name">drum-leaf</h3>- <p class="row__body">Single leaves adhered at the fold. No sewing, no thread in the gutter, so an image can cross the spine without losing itself.</p>- <p class="row__for">photographs, printed editions, full-bleed spreads</p>- </li>- <li class="row">- <h3 class="row__name">repair and rebacking</h3>- <p class="row__body">A new spine under the retained original boards and label, resewn where the sewing has gone. We keep everything we can.</p>- <p class="row__for">books that are already yours</p>- </li>- <li class="row">- <h3 class="row__name">clamshell box</h3>- <p class="row__body">A drop-back box in the same cloth, trays cut to the millimetre so nothing inside is allowed to move.</p>- <p class="row__for">loose sheets, ephemera, a set that should stay together</p>- </li>- </ol>- </div>-</section>--<!-- ── The bench · two people, two halves of the trade ───────────────── -->-<section class="band band--bench" id="bench">- <div class="shell">- <div class="head">- <h2 class="head__h">two of us, one bench</h2>- <p class="head__folio">02/05</p>- </div>-- <div class="bench">- <div class="bench__prose">- <p>- The trade splits in two and so do we. Forwarding is everything that- decides whether the book still opens in forty years. Finishing is- everything you see in the first four seconds. A book that has had- only one of the two is easy to spot, and it is usually the- forwarding that was skipped.- </p>- <p>- Working in a pair means nothing waits on a queue behind six other- jobs, and it means you speak to the person holding the sewing frame- rather than to an account.- </p>- </div>-- <dl class="bench__hands">- <div class="hand">- <dt class="hand__who">Nadia Serrano <span class="hand__role">forwarding</span></dt>- <dd class="hand__does">Sewing, rounding and backing, boards, edges, headbands. The parts that are finished before anyone can see them.</dd>- </div>- <div class="hand">- <dt class="hand__who">Peter Halloran <span class="hand__role">finishing</span></dt>- <dd class="hand__does">Covering, paring, titling in foil or blind, tooling, boxes. The parts that have to be right the first time.</dd>- </div>- </dl>- </div>- </div>-</section>--<!-- ── How a commission goes · a real ordered list ───────────────────── -->-<section class="band band--order" id="order">- <div class="shell">- <div class="head">- <h2 class="head__h">how a commission goes</h2>- <p class="head__folio">03/05</p>- </div>-- <ol class="steps">- <li class="step">- <h3 class="step__h">Tell us what you have.</h3>- <p>A paragraph is enough. What it is, roughly how many pages or how many copies, and whether it is bound at the moment.</p>- </li>- <li class="step">- <h3 class="step__h">We look at it.</h3>- <p>Post it or bring it. We check the paper, the grain direction, the sewing if there is any, and the state of the boards.</p>- </li>- <li class="step">- <h3 class="step__h">You get a written proposal.</h3>- <p>One structure, one set of materials, one price, one date. If we think the book wants something other than what you asked for, we say so and give the reason.</p>- </li>- <li class="step">- <h3 class="step__h">We make it, one at a time.</h3>- <p>You get two photographs on the way through: the text block sewn, and the case before it goes on. Nothing is a surprise at the end.</p>- </li>- </ol>- </div>-</section>--<!-- ── Materials · change of paper marks the break ───────────────────── -->-<section class="band band--mat" id="materials">- <div class="shell">- <div class="head">- <h2 class="head__h">what we hold</h2>- <p class="head__folio">04/05</p>- </div>-- <table class="mat">- <caption class="mat__cap">Stock held on the shelf. Anything else is ordered in, and the proposal says so.</caption>- <tbody>- <tr>- <th scope="row">board</th>- <td>Binder’s board, <span class="num">2 mm</span> and <span class="num">3 mm</span>, cut with the grain running head to tail.</td>- </tr>- <tr>- <th scope="row">cloth</th>- <td>Buckram, book linen, and a japanese cloth for spines that need to bend more than once.</td>- </tr>- <tr>- <th scope="row">thread</th>- <td>Unbleached linen, <span class="num">18/3</span> and <span class="num">25/3</span>, waxed at the bench.</td>- </tr>- <tr>- <th scope="row">endpapers</th>- <td>Hand-marbled, paste paper, or a plain heavyweight chosen against the text paper rather than against the cloth.</td>- </tr>- <tr>- <th scope="row">leather</th>- <td>Goatskin, pared by hand for quarter and half bindings.</td>- </tr>- <tr>- <th scope="row">titling</th>- <td>Foil on a hand-set line, or blind if the cloth is better left alone.</td>- </tr>- </tbody>- </table>- </div>-</section>--<!-- ── Commission · the one thing the page is for ────────────────────── -->-<section class="band band--form" id="commission">- <div class="shell">- <div class="head">- <h2 class="head__h">start a commission</h2>- <p class="head__folio">05/05</p>- </div>-- <div class="form-wrap">- <p class="form-note">- There is no wrong way to fill this in. If you do not know what- structure you want, say so and leave the rest to the proposal.- </p>-- <form class="form" id="enquiry" novalidate>- <div class="field field--half">- <label for="f-name">Your name</label>- <input id="f-name" name="name" type="text" autocomplete="name" required>- <span class="field__msg" id="f-name-msg" aria-live="polite"></span>- </div>-- <div class="field field--half">- <label for="f-email">Email we can reply to</label>- <input id="f-email" name="email" type="email" autocomplete="email" required>- <span class="field__msg" id="f-email-msg" aria-live="polite"></span>- </div>-- <div class="field field--half">- <label for="f-kind">What it is</label>- <select id="f-kind" name="kind">- <option>A single volume</option>- <option>An edition or a short run</option>- <option>A repair or a rebacking</option>- <option>A box or an enclosure</option>- <option>Not sure yet</option>- </select>- <span class="field__msg"></span>- </div>-- <div class="field field--half">- <label for="f-when">When you need it, if there is a date</label>- <input id="f-when" name="when" type="text" inputmode="text">- <span class="field__msg"></span>- </div>-- <div class="field field--full">- <label for="f-about">Tell us about it</label>- <textarea id="f-about" name="about" rows="5" required></textarea>- <span class="field__msg" id="f-about-msg" aria-live="polite"></span>- </div>-- <div class="form-act">- <button class="btn" type="submit">- Send the enquiry<span class="mark mark--btn" aria-hidden="true"></span>- </button>- <p class="form-act__note">Opens your mail app with the enquiry written out. Nothing is stored here.</p>- </div>-- <p class="form-done" id="form-done" hidden role="status"></p>- </form>- </div>- </div>-</section>--</main>--<!-- ── Colophon · a spec block, not four link columns ────────────────── -->-<footer class="colo">- <div class="shell">- <dl class="colo__grid">- <div class="colo__f">- <dt>correspondence</dt>- <dd><a href="mailto:[email protected]">[email protected]</a></dd>- </div>- <div class="colo__f">- <dt>bench</dt>- <dd>street address to confirm</dd>- </div>- <div class="colo__f">- <dt>visits</dt>- <dd>by arrangement, most weekday afternoons</dd>- </div>- <div class="colo__f">- <dt>post</dt>- <dd>Wrap it in more than you think it needs.</dd>- </div>- </dl>-- <p class="colo__line">- quire<span class="mark mark--foot" aria-hidden="true"></span>- Nadia Serrano and Peter Halloran. Set in Archivo on a twelve-column- grid, with every measurement on the page in IBM Plex Mono so a figure- never has to be hunted for. The rules you can see are the rules the- page is built on.- </p>- </div>-</footer>--<script>-(function () {- var form = document.getElementById('enquiry');- if (!form) return;-- var done = document.getElementById('form-done');- var act = form.querySelector('.form-act');-- function msg(id, text) {- var el = document.getElementById(id);- if (!el) return;- el.textContent = text;- var field = el.closest('.field');- if (field) field.classList.toggle('is-error', Boolean(text));- var input = field && field.querySelector('input, textarea');- if (input) input.setAttribute('aria-invalid', text ? 'true' : 'false');- }-- form.addEventListener('submit', function (e) {- e.preventDefault();-- var el = form.elements;- var name = el.name.value.trim();- var email = el.email.value.trim();- var about = el.about.value.trim();- var first = null;-- msg('f-name-msg', '');- msg('f-email-msg', '');- msg('f-about-msg', '');-- if (!name) {- msg('f-name-msg', 'We need something to call you.');- first = first || el.name;- }- if (!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email)) {- msg('f-email-msg', email- ? 'That address is missing an @ or a domain. Check it and send again.'- : 'Without an address we cannot write back.');- first = first || el.email;- }- if (about.length < 12) {- msg('f-about-msg', 'A sentence or two, so we know what we are looking at.');- first = first || el.about;- }-- if (first) { first.focus({ preventScroll: true }); return; }-- var body = [- 'Name: ' + name,- 'Email: ' + email,- 'What it is: ' + el.kind.value,- 'When: ' + (el.when.value.trim() || 'no date given'),- '',- about- ].join('\n');-- window.location.href = 'mailto:[email protected]'- + '?subject=' + encodeURIComponent('Commission enquiry, ' + name)- + '&body=' + encodeURIComponent(body);-- if (act) act.hidden = true;- done.hidden = false;- done.textContent = 'Your mail app should be opening with the enquiry in it. '- + 'If nothing happened, write to [email protected] and paste it in.';- });-})();-</script>--</body>-</html>diff --git a/eval/_cli-scratch/b7-claude/page.css b/eval/_cli-scratch/b7-claude/page.cssdeleted file mode 100644index 9edf309..0000000--- a/eval/_cli-scratch/b7-claude/page.css+++ /dev/null@@ -1,748 +0,0 @@-/* Hallmark · macrostructure: Ruled Index (custom) · genre: editorial · theme: Grid · tone: utilitarian-technical · anchor hue: 255 cool / accent 28 warm · hero: Banner/custom-left-slam · nav: ruled masthead over a spec block, static, no CTA-right (decided, not reflex) · footer: spec colophon in unequal ruled fields (decided, not reflex) · enrichment: none, typography only · posture: restrained · contrast: pass (40-41) · mobile: 320/375/414/768 pass · modes: light only · v1.2.0 */-/* Hallmark · pre-emit critique: P5 H5 E4 S5 R5 V4 · weakest: E - the mailto enquiry path is the honest ceiling for a static page but is not a real submission endpoint; fix taken: validation, reserved error slots, aria-live, and a visible statement that nothing is stored here rather than a fake success state */-/* Hallmark · note · Grid's own spec is single-family. This build declares one outlier register against it: every measurement on the page (index numerals, folios, step figures, board thickness, thread gauge) is set in IBM Plex Mono. A bindery quotes in millimetres and the millimetres earn a face; the outlier never touches running copy, so the page is two families, not three. */--@import "tokens.css";--/* ── Reset and ground ─────────────────────────────────────────────── */--*, *::before, *::after { box-sizing: border-box; }--html, body { overflow-x: clip; }--html {- scroll-behavior: smooth;- -webkit-text-size-adjust: 100%;-}--body {- margin: 0;- background: var(--color-paper);- color: var(--color-ink-2);- font-family: var(--font-body);- font-size: var(--text-base);- font-weight: 400;- line-height: var(--lh-body);- text-rendering: optimizeLegibility;- -webkit-font-smoothing: antialiased;-}--h1, h2, h3 {- margin: 0;- color: var(--color-ink);- font-family: var(--font-display);- overflow-wrap: break-word;- min-width: 0;-}--p, dl, dd, ol, ul, figure, table { margin: 0; }-ol, ul { padding: 0; list-style: none; }--a { color: inherit; }--/* One ring, everywhere, instantly. Never transitioned. */-:focus-visible {- outline: var(--rule-heavy) solid var(--color-focus);- outline-offset: 3px;-}--.skip {- position: absolute;- inset-inline-start: var(--space-md);- inset-block-start: -4rem;- z-index: var(--z-sticky);- padding: var(--space-sm) var(--space-md);- background: var(--color-ink);- color: var(--color-paper);- font-size: var(--text-sm);- font-weight: 600;- text-decoration: none;-}-.skip:focus { inset-block-start: var(--space-md); }--/* ── THE ground: the exposed twelve-column hairline grid ──────────── */-/* Fixed, so it reads as the sheet the page is printed on rather than as- decoration attached to any one band. It is content, not scaffolding. */--.rails {- position: fixed;- inset: 0;- z-index: 0;- pointer-events: none;- max-width: var(--shell);- margin-inline: auto;- padding-inline: var(--pad);- background-origin: content-box;- background-clip: content-box;- background-repeat: no-repeat, repeat;- background-image:- linear-gradient(to right, transparent calc(100% - 1px), var(--color-rule) calc(100% - 1px)),- repeating-linear-gradient(to right,- var(--color-rule) 0, var(--color-rule) 1px,- transparent 1px, transparent calc(100% / 12));-}--/* ── Shell ────────────────────────────────────────────────────────── */--.shell {- position: relative;- z-index: var(--z-base);- width: 100%;- max-width: var(--shell);- margin-inline: auto;- padding-inline: var(--pad);-}--/* Content rides the same twelve columns the rails draw, so the gaps are- built from padding inside the cells and never from a grid gap. */-.g12 {- display: grid;- grid-template-columns: repeat(12, minmax(0, 1fr));- column-gap: 0;-}--.label {- font-size: var(--text-xs);- font-weight: 600;- letter-spacing: var(--tracking-label);- text-transform: uppercase;- color: var(--color-muted);-}--/* The one signal, only ever as a geometric mark. */-.mark {- display: inline-block;- inline-size: 0.5em;- block-size: 0.5em;- background: var(--color-accent);- vertical-align: baseline;-}-.mark--period { margin-inline-start: 0.14em; }-.mark--btn { margin-inline-start: 0.6em; vertical-align: middle; }-.mark--foot { margin-inline: 0.1em 0.55em; }--::selection { background: var(--color-accent); color: var(--color-accent-ink); }--/* ── Masthead ─────────────────────────────────────────────────────── */--.mast { border-block-start: var(--rule-heavy) solid var(--color-ink); }--.mast__in {- display: grid;- grid-template-columns: repeat(12, minmax(0, 1fr));- column-gap: 0;- align-items: end;- padding-block: var(--space-lg) var(--space-md);- border-block-end: var(--rule-hair) solid var(--color-rule-2);-}--.wordmark {- grid-column: 1 / span 4;- font-family: var(--font-display);- font-weight: var(--display-weight);- font-size: var(--text-2xl);- line-height: 1;- letter-spacing: var(--tracking-display);- color: var(--color-ink);- text-decoration: none;-}-.wordmark .mark { inline-size: 0.32em; block-size: 0.32em; margin-inline-start: 0.1em; }--.mast__spec {- grid-column: 6 / span 7;- display: grid;- grid-template-columns: repeat(3, minmax(0, 1fr));- align-items: end;-}-.mast__field { padding-inline-end: var(--space-md); }-.mast__field dt {- font-size: var(--text-xs);- font-weight: 600;- letter-spacing: var(--tracking-label);- text-transform: uppercase;- color: var(--color-muted);-}-.mast__field dd {- margin: 0;- font-size: var(--text-sm);- color: var(--color-ink-2);-}--.mast__nav { border-block-end: var(--rule-heavy) solid var(--color-ink); }-.mast__navin {- display: flex;- flex-wrap: wrap;- gap: 0 var(--space-xl);- padding-block: var(--space-sm);-}-.mast__navin a {- white-space: nowrap;- font-size: var(--text-base);- font-weight: 500;- text-decoration: none;- padding-block: var(--space-2xs);- border-block-end: var(--rule-heavy) solid transparent;- transition: border-color var(--dur-short) var(--ease-out),- color var(--dur-short) var(--ease-out);-}-.mast__navin a.is-last { margin-inline-start: auto; font-weight: 700; }--/* ── Hero · Banner posture, slammed left, bottom-heavy ────────────── */--.hero { border-block-end: var(--rule-hair) solid var(--color-rule); }--.hero__in {- display: grid;- grid-template-columns: repeat(12, minmax(0, 1fr));- column-gap: 0;- row-gap: var(--space-lg);- /* Banner: block-end is 1.5x block-start, so the hero sits into the page. */- padding-block: var(--space-2xl) var(--space-3xl);-}--.hero__h {- grid-column: 1 / span 12;- max-width: 20ch;- font-weight: var(--display-weight);- font-size: var(--text-hero);- line-height: var(--lh-display);- letter-spacing: var(--tracking-display);- text-transform: lowercase;- text-wrap: balance;-}--.hero__lede {- grid-column: 1 / span 6;- padding-inline-end: var(--space-xl);- font-size: var(--text-lg);- line-height: 1.4;- color: var(--color-ink-2);- text-wrap: pretty;-}--.hero__spec {- grid-column: 9 / span 4;- align-self: end;- font-size: var(--text-xs);- font-weight: 600;- letter-spacing: var(--tracking-label);- text-transform: uppercase;- color: var(--color-muted);-}--.hero__act {- grid-column: 1 / span 8;- display: flex;- flex-wrap: wrap;- align-items: baseline;- gap: var(--space-md) var(--space-xl);-}--.link-cta {- font-size: var(--text-md);- font-weight: 700;- text-decoration: none;- white-space: nowrap;- color: var(--color-ink);- border-block-end: 3px solid var(--color-accent);- padding-block-end: var(--space-3xs);- transition: color var(--dur-short) var(--ease-out);-}-.link-quiet {- font-size: var(--text-base);- white-space: nowrap;- color: var(--color-muted);- text-decoration: none;- border-block-end: var(--rule-hair) solid var(--color-rule-2);- padding-block-end: var(--space-3xs);- transition: color var(--dur-short) var(--ease-out),- border-color var(--dur-short) var(--ease-out);-}--/* ── Section heads · a 2px ink rule, the head flush beneath it ─────── */--.band { padding-block: var(--space-3xl); }-/* The hero already spends 96px below the CTA; the index starts sooner so the- two do not add up to a hole. */-.band--index { padding-block: var(--space-xl) var(--space-2xl); }-.band--order { padding-block: var(--space-2xl) var(--space-3xl); }--/* One change of paper, marking the materials band. */-.band--mat {- background: var(--color-paper-2);- border-block: var(--rule-hair) solid var(--color-rule);- padding-block: var(--space-2xl);-}--.head {- display: grid;- grid-template-columns: repeat(12, minmax(0, 1fr));- column-gap: 0;- align-items: baseline;- border-block-start: var(--rule-heavy) solid var(--color-ink);- padding-block-start: var(--space-sm);- margin-block-end: var(--space-xl);-}-.head__h {- grid-column: 1 / span 9;- max-width: 24ch;- font-weight: var(--display-weight);- font-size: var(--text-display);- line-height: 1.0;- letter-spacing: var(--tracking-display);- text-transform: lowercase;-}-.head__folio {- grid-column: 11 / span 2;- text-align: end;- font-family: var(--font-figure);- font-size: var(--text-xs);- font-weight: 500;- letter-spacing: 0.02em;- font-variant-numeric: tabular-nums;- color: var(--color-muted);-}--/* ── Structures · the numbered index ──────────────────────────────── */--.index { counter-reset: idx; }--.row {- counter-increment: idx;- display: grid;- grid-template-columns: repeat(12, minmax(0, 1fr));- column-gap: 0;- align-items: start;- padding-block: var(--space-lg);- border-block-start: var(--rule-hair) solid var(--color-rule);-}-.row:last-child { border-block-end: var(--rule-hair) solid var(--color-rule); }--.row::before {- content: counter(idx, decimal-leading-zero);- grid-column: 1 / span 1;- font-family: var(--font-figure);- font-size: var(--text-xs);- font-weight: 500;- letter-spacing: 0.02em;- font-variant-numeric: tabular-nums;- color: var(--color-accent-text);- padding-block-start: 0.5em;-}-.row__name {- grid-column: 2 / span 3;- padding-inline-end: var(--space-lg);- font-size: var(--text-xl);- font-weight: 700;- line-height: 1.05;- letter-spacing: -0.03em;- text-transform: lowercase;-}-.row__body {- grid-column: 5 / span 5;- padding-inline-end: var(--space-xl);- max-width: var(--measure);- text-wrap: pretty;-}-.row__for {- grid-column: 10 / span 3;- font-size: var(--text-sm);- color: var(--color-muted);- padding-block-start: 0.15em;-}--/* ── The bench ────────────────────────────────────────────────────── */--.bench {- display: grid;- grid-template-columns: repeat(12, minmax(0, 1fr));- column-gap: 0;- row-gap: var(--space-xl);-}-.bench__prose {- grid-column: 1 / span 6;- padding-inline-end: var(--space-2xl);- display: grid;- gap: var(--space-md);- max-width: var(--measure);- font-size: var(--text-md);- text-wrap: pretty;-}-.bench__hands {- grid-column: 8 / span 5;- display: grid;- gap: var(--space-lg);- align-content: start;-}-.hand {- border-block-start: var(--rule-heavy) solid var(--color-ink);- padding-block-start: var(--space-sm);-}-.hand__who {- font-family: var(--font-display);- font-size: var(--text-lg);- font-weight: 700;- letter-spacing: -0.02em;- color: var(--color-ink);-}-.hand__role {- display: block;- font-size: var(--text-xs);- font-weight: 600;- letter-spacing: var(--tracking-label);- text-transform: uppercase;- color: var(--color-accent-text);-}-.hand__does {- margin: var(--space-xs) 0 0;- font-size: var(--text-sm);- color: var(--color-ink-2);-}--/* ── How a commission goes ────────────────────────────────────────── */--.steps { counter-reset: step; }-.step {- counter-increment: step;- display: grid;- grid-template-columns: repeat(12, minmax(0, 1fr));- column-gap: 0;- align-items: baseline;- padding-block: var(--space-lg);- border-block-start: var(--rule-hair) solid var(--color-rule);-}-.step:last-child { border-block-end: var(--rule-hair) solid var(--color-rule); }-.step::before {- content: counter(step);- grid-column: 1 / span 1;- font-family: var(--font-figure);- font-size: var(--text-2xl);- font-weight: 500;- line-height: 1;- color: var(--color-rule-2);- font-variant-numeric: tabular-nums;-}-.step__h {- grid-column: 2 / span 4;- padding-inline-end: var(--space-lg);- font-size: var(--text-md);- font-weight: 700;- line-height: 1.25;- letter-spacing: -0.015em;-}-.step p {- grid-column: 6 / span 6;- padding-inline-end: var(--space-lg);- max-width: var(--measure);- color: var(--color-ink-2);- text-wrap: pretty;-}--/* ── Materials ────────────────────────────────────────────────────── */--.mat {- width: 100%;- border-collapse: collapse;- text-align: start;-}-.mat__cap {- caption-side: bottom;- padding-block-start: var(--space-md);- text-align: start;- font-size: var(--text-sm);- color: var(--color-muted);- max-width: var(--measure);-}-.mat th,-.mat td {- padding-block: var(--space-md);- border-block-start: var(--rule-hair) solid var(--color-rule-2);- vertical-align: baseline;- text-align: start;-}-.mat tr:last-child th,-.mat tr:last-child td { border-block-end: var(--rule-hair) solid var(--color-rule-2); }-.mat th {- width: 25%;- padding-inline-end: var(--space-lg);- font-size: var(--text-xs);- font-weight: 600;- letter-spacing: var(--tracking-label);- text-transform: uppercase;- color: var(--color-muted);-}-.mat td { max-width: var(--measure); }-.num {- font-family: var(--font-figure);- font-size: 0.94em;- font-variant-numeric: tabular-nums;- font-weight: 500;- color: var(--color-ink);-}--/* ── Commission form ──────────────────────────────────────────────── */--.form-wrap {- display: grid;- grid-template-columns: repeat(12, minmax(0, 1fr));- column-gap: 0;- row-gap: var(--space-xl);-}-.form-note {- grid-column: 1 / span 5;- padding-inline-end: var(--space-2xl);- font-size: var(--text-md);- color: var(--color-ink-2);- text-wrap: pretty;-}-.form {- grid-column: 7 / span 6;- display: grid;- grid-template-columns: repeat(6, minmax(0, 1fr));- column-gap: var(--space-lg);- row-gap: var(--space-lg);-}-.field { display: grid; grid-column: 1 / span 6; }-.field--half { grid-column: span 3; }--.field label {- font-size: var(--text-xs);- font-weight: 600;- letter-spacing: var(--tracking-label);- text-transform: uppercase;- color: var(--color-muted);- margin-block-end: var(--space-xs);-}-.field input,-.field select,-.field textarea {- width: 100%;- min-height: 48px;- padding: var(--space-sm) var(--space-sm);- background: var(--color-paper);- color: var(--color-ink);- font-family: var(--font-body);- font-size: var(--text-base);- line-height: 1.4;- border: var(--rule-hair) solid var(--color-rule-2);- border-radius: var(--radius-control);- transition: border-color var(--dur-short) var(--ease-out);-}-.field textarea { min-height: 8rem; resize: vertical; }-.field select { appearance: none; padding-inline-end: var(--space-xl); }--.field input:hover,-.field select:hover,-.field textarea:hover { border-color: var(--color-ink-2); }--.field.is-error input,-.field.is-error textarea { border-color: var(--color-accent); border-width: var(--rule-heavy); }--/* Reserved, so an error never pushes the form down. */-.field__msg {- display: block;- min-height: 1lh;- margin-block-start: var(--space-2xs);- font-size: var(--text-xs);- line-height: 1.35;- color: var(--color-accent-text);-}--.form-act {- grid-column: 1 / span 6;- display: flex;- flex-wrap: wrap;- align-items: center;- gap: var(--space-sm) var(--space-lg);-}-.form-act__note {- font-size: var(--text-xs);- color: var(--color-muted);- max-width: 30ch;-}--/* The page's one filled control. */-.btn {- display: inline-flex;- align-items: center;- min-height: 48px;- padding-inline: var(--space-lg);- background: var(--color-ink);- color: var(--color-paper);- font-family: var(--font-body);- font-size: var(--text-base);- font-weight: 600;- white-space: nowrap;- border: var(--rule-heavy) solid var(--color-ink);- border-radius: var(--radius-control);- cursor: pointer;- transition: background-color var(--dur-micro) var(--ease-out),- transform var(--dur-micro) var(--ease-out);-}-.btn:active { transform: translateY(1px); }-.btn[disabled] { opacity: 0.45; cursor: not-allowed; }--.form-done {- grid-column: 1 / span 6;- font-size: var(--text-base);- color: var(--color-ink);- max-width: 46ch;-}-.form-done::before {- content: "";- display: inline-block;- inline-size: 0.5em;- block-size: 0.5em;- margin-inline-end: 0.6em;- background: var(--color-accent);-}--/* ── Colophon · unequal ruled fields, one closing line ─────────────── */--.colo {- border-block-start: var(--rule-heavy) solid var(--color-ink);- padding-block: var(--space-xl) var(--space-2xl);-}-.colo__grid {- display: grid;- grid-template-columns: repeat(12, minmax(0, 1fr));- column-gap: 0;- row-gap: var(--space-lg);-}-.colo__f { padding-inline-end: var(--space-lg); }-.colo__f:nth-child(1) { grid-column: 1 / span 3; }-.colo__f:nth-child(2) { grid-column: 4 / span 4; }-.colo__f:nth-child(3) { grid-column: 8 / span 3; }-.colo__f:nth-child(4) { grid-column: 11 / span 2; }-.colo__f dt {- font-size: var(--text-xs);- font-weight: 600;- letter-spacing: var(--tracking-label);- text-transform: uppercase;- color: var(--color-muted);- padding-block-end: var(--space-2xs);- border-block-end: var(--rule-hair) solid var(--color-rule);- margin-block-end: var(--space-xs);-}-.colo__f dd { margin: 0; font-size: var(--text-sm); color: var(--color-ink-2); }-.colo__f a {- text-decoration: none;- border-block-end: var(--rule-hair) solid var(--color-accent);- white-space: nowrap;- transition: color var(--dur-short) var(--ease-out);-}--.colo__line {- margin-block-start: var(--space-2xl);- padding-block-start: var(--space-sm);- border-block-start: var(--rule-hair) solid var(--color-rule);- font-size: var(--text-sm);- color: var(--color-muted);- max-width: 72ch;-}-.colo__line .mark { inline-size: 0.4em; block-size: 0.4em; }--/* ── Hover, only where the pointer is fine ────────────────────────── */--@media (hover: hover) and (pointer: fine) {- .mast__navin a:hover { border-block-end-color: var(--color-accent); }- .link-cta:hover { color: var(--color-accent-text); }- .link-quiet:hover { color: var(--color-ink); border-block-end-color: var(--color-ink); }- .colo__f a:hover { color: var(--color-accent-text); }- .btn:hover { background-color: var(--color-ink-2); }-}-@media (pointer: coarse) {- .btn, .mast__navin a, .link-cta, .link-quiet { min-height: 48px; }- .mast__navin a, .link-cta, .link-quiet { display: inline-flex; align-items: center; }-}--/* ── Down to the small sheet ──────────────────────────────────────── */-/* Body-adjacent UI runs larger on mobile and tightens on the desktop- baseline; the rails drop from twelve columns to four rather than- disappearing, because the grid is the theme. */--@media (max-width: 59.99rem) {- :root { --text-display: clamp(2rem, 7vw, 2.75rem); --text-hero: clamp(2.75rem, 12vw, 4.25rem); }-- .rails {- background-image:- linear-gradient(to right, transparent calc(100% - 1px), var(--color-rule) calc(100% - 1px)),- repeating-linear-gradient(to right,- var(--color-rule) 0, var(--color-rule) 1px,- transparent 1px, transparent calc(100% / 4));- }-- .mast__in { row-gap: var(--space-md); }- .wordmark { grid-column: 1 / span 12; }- .mast__spec { grid-column: 1 / span 12; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm) 0; }-- .hero__in { padding-block: var(--space-xl) var(--space-2xl); }- .hero__lede { grid-column: 1 / span 12; padding-inline-end: 0; }- .hero__spec { grid-column: 1 / span 12; }- .hero__act { grid-column: 1 / span 12; }-- .head__h { grid-column: 1 / span 10; }- .head__folio { grid-column: 11 / span 2; }-- .row { row-gap: var(--space-xs); padding-block: var(--space-md); }- .row::before { grid-column: 1 / span 12; padding-block-start: 0; }- .row__name { grid-column: 1 / span 12; padding-inline-end: 0; }- .row__body { grid-column: 1 / span 12; padding-inline-end: 0; }- .row__for { grid-column: 1 / span 12; }-- .bench__prose { grid-column: 1 / span 12; padding-inline-end: 0; }- .bench__hands { grid-column: 1 / span 12; }-- .step { row-gap: var(--space-2xs); }- .step::before { grid-column: 1 / span 12; }- .step__h { grid-column: 1 / span 12; padding-inline-end: 0; }- .step p { grid-column: 1 / span 12; padding-inline-end: 0; }-- .mat th { width: 32%; }-- .form-note { grid-column: 1 / span 12; padding-inline-end: 0; }- .form { grid-column: 1 / span 12; }-- .colo__f:nth-child(1),- .colo__f:nth-child(2),- .colo__f:nth-child(3),- .colo__f:nth-child(4) { grid-column: span 6; }-}--@media (max-width: 39.99rem) {- .band, .band--order, .band--mat { padding-block: var(--space-2xl); }- .band--index { padding-block: var(--space-lg) var(--space-2xl); }- .mast__navin { gap: 0 var(--space-lg); }- .mast__navin a.is-last { margin-inline-start: 0; }- .field--half { grid-column: 1 / span 6; }-- .mat { display: block; }- .mat tbody, .mat tr, .mat th, .mat td { display: block; width: auto; }- .mat tr { border-block-start: var(--rule-hair) solid var(--color-rule-2); padding-block: var(--space-md); }- .mat th, .mat td { border: 0; padding-block: 0; padding-inline-end: 0; }- .mat th { padding-block-end: var(--space-2xs); }- .mat tr:last-child { border-block-end: var(--rule-hair) solid var(--color-rule-2); }- .mat tr:last-child th, .mat tr:last-child td { border-block-end: 0; }-- .colo__f:nth-child(1),- .colo__f:nth-child(2),- .colo__f:nth-child(3),- .colo__f:nth-child(4) { grid-column: 1 / span 12; padding-inline-end: 0; }-}--/* Mobile runs larger; the desktop baseline tightens. */-@media (min-width: 60rem) {- .mast__navin a, .form-act__note, .colo__f dd { font-size: var(--text-sm); }-}--/* ── Reduced motion ───────────────────────────────────────────────── */--@media (prefers-reduced-motion: reduce) {- html { scroll-behavior: auto; }- *, *::before, *::after {- animation-duration: 0.01ms !important;- animation-iteration-count: 1 !important;- transition-duration: 0.01ms !important;- }- .btn:active { transform: none; }-}diff --git a/eval/_cli-scratch/b7-claude/tokens.css b/eval/_cli-scratch/b7-claude/tokens.cssdeleted file mode 100644index 3083283..0000000--- a/eval/_cli-scratch/b7-claude/tokens.css+++ /dev/null@@ -1,87 +0,0 @@-/* Hallmark tokens · theme: Grid · Quire Bindery- * Every colour and font on the page resolves through these. Nothing is inlined.- */--:root {- /* ---- Paper and ink · cool near-white sheet, never #fff, never #000 ---- */- --color-paper: oklch(99% 0.003 255);- --color-paper-2: oklch(97.2% 0.004 255);- --color-paper-3: oklch(94.5% 0.005 255);- --color-ink: oklch(16% 0.010 255);- --color-ink-2: oklch(30% 0.008 255);- --color-muted: oklch(48% 0.008 255);-- /* ---- Rules · the structure is drawn, never boxed ---- */- --color-rule: oklch(88% 0.004 255);- --color-rule-2: oklch(76% 0.005 255);-- /* ---- The one signal ---- */- --color-accent: oklch(55% 0.21 28); /* the square, the bar, the ring */- --color-accent-text: oklch(46% 0.19 28); /* red set as body-size text: 5.4:1 on paper */- --color-accent-ink: oklch(99% 0.003 255); /* ink laid on the red */- --color-focus: oklch(55% 0.21 28);-- /* ---- Type · Archivo carries the page; one outlier register ----- * The outlier is measurement, and only measurement: index numerals,- * folios, step figures, board thickness, thread gauge. A bindery quotes- * in millimetres, so the millimetres get their own face. It never- * touches running copy, so it stays one role rather than a second body. */- --font-display: "Archivo", ui-sans-serif, system-ui, sans-serif;- --font-body: "Archivo", ui-sans-serif, system-ui, sans-serif;- --font-figure: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;- --display-weight: 800;- --tracking-display: -0.045em;- --tracking-label: 0.09em;- --lh-display: 0.9;- --lh-body: 1.5;- --measure: 62ch;-- /* ---- Scale · 1.25 major third off a 16px body ---- */- --text-xs: 0.75rem; /* 12px · label voice */- --text-sm: 0.875rem; /* 14px */- --text-base: 1rem; /* 16px */- --text-md: 1.125rem; /* 18px */- --text-lg: 1.375rem; /* 22px */- --text-xl: 1.75rem; /* 28px */- --text-2xl: 2.25rem; /* 36px */- --text-display: clamp(2.25rem, 4.5vw, 3.5rem);- --text-hero: clamp(3rem, 8vw, 6rem);-- /* ---- Space · 4pt base, ten steps, named by role ---- */- --space-3xs: 0.125rem;- --space-2xs: 0.25rem;- --space-xs: 0.5rem;- --space-sm: 0.75rem;- --space-md: 1rem;- --space-lg: 1.5rem;- --space-xl: 2.5rem;- --space-2xl: 4rem;- --space-3xl: 6rem;- --space-4xl: 9rem;-- /* ---- Shell ---- */- --shell: 75rem;- --pad: max(1.25rem, min(4vw, 2.5rem));-- /* ---- Rules and radii · square, hairline, flat ---- */- --rule-hair: 1px;- --rule-fine: 1px;- --rule-card: 1px;- --rule-heavy: 2px;- --radius-card: 0;- --radius-control: 0;- --shadow-card: none;-- /* ---- Motion · near-zero, by the theme ---- */- --ease-out: cubic-bezier(0.16, 1, 0.3, 1);- --ease-in: cubic-bezier(0.7, 0, 0.84, 0);- --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);- --dur-micro: 120ms;- --dur-short: 180ms;- --dur-long: 300ms;-- /* ---- Z ---- */- --z-base: 1;- --z-raised: 10;- --z-sticky: 200;-}diff --git a/eval/gen-direct.py b/eval/gen-direct.pyindex a8f9b97..cf942b3 100644--- a/eval/gen-direct.py+++ b/eval/gen-direct.py@@ -23,7 +23,7 @@ via score.mjs, and the loop continues up to N rounds or until the cell haszero FAILs. Cells without FAILs (or without a usable score.json) are leftuntouched. run-matrix.py orchestrates gen -> score -> gen --repair -> score.-Keys are loaded from the keyFiles listed in eval/models.json (KEY=VALUE lines)+Keys are loaded from the keyFiles listed in eval/models.json and the untracked eval/models.local.json (KEY=VALUE lines)with the process environment as a fallback. Key VALUES are never printed.Output per cell: eval/runs/<briefId>/<armId>-<pack>/@@ -505,6 +505,9 @@ def main():if not arms:sys.exit(f"unknown arm id: {args.arm}")+ local = EVAL_DIR / "models.local.json"+ if local.exists():+ models["keyFiles"] = models.get("keyFiles", []) + load_json(local).get("keyFiles", [])env = load_key_env(models.get("keyFiles", []))# Key availability check by NAME only; values never leave memory.diff --git a/eval/judge.py b/eval/judge.pyindex 7d3e80f..8da0546 100644--- a/eval/judge.py+++ b/eval/judge.py@@ -12,7 +12,7 @@ Briefs b5 and b6 are skipped (component and decline probes; the rubric is forfull pages). Existing judge.json files are skipped unless --force.The API key is taken from the ANTHROPIC_API_KEY environment variable, or, if-unset, parsed from the keyFiles listed in eval/models.json. The key value is+unset, parsed from the keyFiles listed in eval/models.json and the untracked eval/models.local.json. The key value isnever printed or written anywhere.Usage:@@ -90,6 +90,10 @@ def load_env_key(name: str) -> str | None:key_files = json.loads(MODELS_JSON.read_text()).get("keyFiles", [])except (OSError, json.JSONDecodeError):key_files = []+ try:+ key_files += json.loads((ROOT / "models.local.json").read_text()).get("keyFiles", [])+ except (OSError, json.JSONDecodeError):+ passfor kf in key_files:try:for line in Path(kf).read_text().splitlines():diff --git a/eval/models.json b/eval/models.jsonindex c0ba615..7f4af8e 100644--- a/eval/models.json+++ b/eval/models.json@@ -52,9 +52,5 @@"enabled": false}],- "keyFiles": [- "/Users/youssef/Desktop/.env.local",- "/Users/youssef/Inspo-design/.env"- ],- "keyFileNotes": "Verified 2026-07-23: Desktop/.env.local defines ANTHROPIC_API_KEY and TOGETHER_API_KEY; Inspo-design/.env defines TOGETHER_API_KEY. OPENROUTER_API_KEY is NOT present in either file yet; the OpenRouter arms need it exported in the shell or added to a key file before they can run."+ "keyFiles": []}diff --git a/site/examples/carnival-01/style.css b/site/examples/carnival-01/style.cssindex e85893a..0a07389 100644--- a/site/examples/carnival-01/style.css+++ b/site/examples/carnival-01/style.css@@ -110,17 +110,17 @@ button, input, select, textarea { font: inherit; }.bill__name { font-size: min(var(--text-poster), 19cqi); font-weight: 800; text-transform: uppercase; letter-spacing: var(--tracking-hero); line-height: 1; max-width: none; }.bill__meta { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-lg); font-size: var(--text-md); }.bill__city { font-weight: 700; }-.fill { padding-inline: var(--space-2xs); border-radius: var(--radius-card); background: var(--color-fill-tint); color: var(--color-muted); font-family: var(--font-body); font-weight: 500; text-decoration: none; }+.fill { padding-inline: var(--space-2xs); border-radius: var(--radius-card); background: var(--color-fill-tint); color: var(--color-muted); font-family: var(--font-body); font-weight: 400; text-decoration: none; }/* Pre-order: the head and the sleeve slot in the margin, the form beside */.order { padding-block: var(--section-gap) calc(var(--section-gap) + var(--space-2xl)); }.order__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }.order__side { grid-column: 1 / span 5; display: grid; gap: var(--space-xl); }.sleeve-slot { aspect-ratio: 1; max-width: 26rem; border: var(--rule-bar) solid var(--color-ink); border-radius: var(--radius-card); box-shadow: var(--shadow-card); background-color: var(--color-accent); background-image: radial-gradient(var(--color-ink) var(--halftone-dot), transparent var(--halftone-dot)); background-size: var(--halftone-size) var(--halftone-size); }-.slot-label { position: absolute; right: var(--space-md); top: var(--space-md); padding: var(--space-2xs) var(--space-xs); background: var(--color-paper); border: var(--rule-bar) solid var(--color-ink); font: 500 var(--text-sm)/1.3 var(--font-body); color: var(--color-ink); }+.slot-label { position: absolute; right: var(--space-md); top: var(--space-md); padding: var(--space-2xs) var(--space-xs); background: var(--color-paper); border: var(--rule-bar) solid var(--color-ink); font: 400 var(--text-sm)/1.3 var(--font-body); color: var(--color-ink); }.order__form { grid-column: 7 / -1; align-self: end; display: grid; justify-items: start; gap: var(--space-xl); }.formats { display: grid; gap: var(--space-lg); width: 100%; margin: 0; padding: 0; border: 0; min-width: 0; }-.formats legend { padding: 0; margin-bottom: var(--space-md); font: 500 var(--text-sm)/1.3 var(--font-body); color: var(--color-ink-2); }+.formats legend { padding: 0; margin-bottom: var(--space-md); font: 400 var(--text-sm)/1.3 var(--font-body); color: var(--color-ink-2); }.format { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "dot name count" "dot price price"; align-items: center; column-gap: var(--space-md); row-gap: var(--space-2xs); padding: var(--space-lg); background: var(--color-paper); border: var(--rule-bar) solid var(--color-ink); border-radius: var(--radius-card); box-shadow: var(--shadow-card); cursor: pointer; transition: box-shadow var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out); }.format input { grid-area: dot; width: 22px; height: 22px; margin: 0; accent-color: var(--color-accent-2); }.format__name { grid-area: name; font: 800 var(--text-lg)/1 var(--font-display); text-transform: uppercase; letter-spacing: var(--tracking-display); }diff --git a/site/examples/custom-04/style.css b/site/examples/custom-04/style.cssindex 6233c52..62647ab 100644--- a/site/examples/custom-04/style.css+++ b/site/examples/custom-04/style.css@@ -38,12 +38,12 @@ button, input, select, textarea { font: inherit; }.skip:focus-visible { top: var(--space-md); }/* Controls: the solid block in the copying-ink violet, and a printed link */-.btn { display: inline-flex; align-items: center; justify-content: center; block-size: var(--control-h); padding-inline: var(--space-lg); box-sizing: border-box; border: 0; border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font: 600 var(--text-md)/1 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out); }+.btn { display: inline-flex; align-items: center; justify-content: center; block-size: var(--control-h); padding-inline: var(--space-lg); box-sizing: border-box; border: 0; border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font: 700 var(--text-md)/1 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out); }.btn:hover { background: var(--color-accent-2); }.btn:active { background: var(--color-ink); }.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }-.link { position: relative; display: inline-flex; align-items: center; min-block-size: var(--control-h-sm); font: 600 var(--text-md)/1 var(--font-body); color: var(--color-ink); white-space: nowrap; text-decoration: underline; text-decoration-thickness: var(--rule-print); text-underline-offset: var(--underline-offset); transition: color var(--dur-micro) var(--ease-out), text-decoration-color var(--dur-micro) var(--ease-out); }+.link { position: relative; display: inline-flex; align-items: center; min-block-size: var(--control-h-sm); font: 700 var(--text-md)/1 var(--font-body); color: var(--color-ink); white-space: nowrap; text-decoration: underline; text-decoration-thickness: var(--rule-print); text-underline-offset: var(--underline-offset); transition: color var(--dur-micro) var(--ease-out), text-decoration-color var(--dur-micro) var(--ease-out); }.link:hover { text-decoration-color: var(--color-accent); }.link:active { color: var(--color-accent); }.link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }@@ -86,14 +86,14 @@ button, input, select, textarea { font: inherit; }.details h2 { font-size: var(--text-display-s); max-width: 9ch; }.fields { margin: 0; border-bottom: var(--rule-hair) solid var(--color-ink); }.fields__row { display: grid; grid-template-columns: var(--label-col) minmax(0, 1fr); column-gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-ink); }-.fields dt { font: 600 var(--text-md)/1.3 var(--font-body); color: var(--color-ink-2); }+.fields dt { font: 700 var(--text-md)/1.3 var(--font-body); color: var(--color-ink-2); }.fields dd { margin: 0; display: grid; gap: var(--space-2xs); }.fields .hand { font-size: var(--text-hand); line-height: 1.25; text-wrap: balance; }.fields__note { font-size: var(--text-md); line-height: 1.4; color: var(--color-ink-2); }.fields__note .hand { font-size: var(--text-lg); }.fields__row--sign { align-items: center; }.fields .sign { font-size: var(--text-sign); font-weight: 800; line-height: 0.95; }-.fill { font-family: var(--font-body); font-weight: 500; color: var(--color-muted); text-decoration: underline dashed var(--color-muted); text-decoration-thickness: 1px; text-underline-offset: var(--underline-offset); }+.fill { font-family: var(--font-body); font-weight: 400; color: var(--color-muted); text-decoration: underline dashed var(--color-muted); text-decoration-thickness: 1px; text-underline-offset: var(--underline-offset); }/* Keep this half: the counterfoil past a perforation, on a change of paper */.stub { margin-block-start: calc(var(--section-gap) + var(--space-xl)); background: var(--color-paper-2); padding-block-end: var(--space-3xl); }diff --git a/site/examples/garden-01/style.css b/site/examples/garden-01/style.cssindex 912654d..6ac6da9 100644--- a/site/examples/garden-01/style.css+++ b/site/examples/garden-01/style.css@@ -39,7 +39,7 @@ body { color: var(--color-ink-2); font-variant-numeric: oldstyle-nums; }.btn:active { transform: translateY(1px); }.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }-.link { position: relative; display: inline-flex; align-items: center; min-height: 44px; font: 500 var(--text-sm)/1 var(--font-body); white-space: nowrap; color: var(--color-ink-2); text-decoration: underline var(--rule-hair) transparent; text-underline-offset: 0.3em; transition: color var(--dur-micro) var(--ease-out), text-decoration-color var(--dur-micro) var(--ease-out); }+.link { position: relative; display: inline-flex; align-items: center; min-height: 44px; font: 400 var(--text-sm)/1 var(--font-body); white-space: nowrap; color: var(--color-ink-2); text-decoration: underline var(--rule-hair) transparent; text-underline-offset: 0.3em; transition: color var(--dur-micro) var(--ease-out), text-decoration-color var(--dur-micro) var(--ease-out); }.link:active { color: var(--color-accent); }.link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }.link[aria-current="true"] { color: var(--color-ink); text-decoration-color: var(--color-ink); }@@ -70,7 +70,7 @@ body { color: var(--color-ink-2); font-variant-numeric: oldstyle-nums; }.wordmark:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }.nav__links { display: flex; align-items: center; gap: var(--space-xl); list-style: none; margin: 0; padding: 0; }.menu { display: none; position: relative; }-.menu summary { list-style: none; display: inline-flex; align-items: center; min-height: 44px; padding-inline: var(--space-sm); font: 500 var(--text-md)/1 var(--font-body); color: var(--color-ink); cursor: pointer; border-radius: var(--radius-card); transition: background-color var(--dur-micro) var(--ease-out); }+.menu summary { list-style: none; display: inline-flex; align-items: center; min-height: 44px; padding-inline: var(--space-sm); font: 400 var(--text-md)/1 var(--font-body); color: var(--color-ink); cursor: pointer; border-radius: var(--radius-card); transition: background-color var(--dur-micro) var(--ease-out); }.menu summary::-webkit-details-marker { display: none; }.menu summary:active { background: var(--color-paper-3); }.menu summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }@@ -95,12 +95,12 @@ main { padding-top: calc(var(--banner-h) + var(--bar-h)); }.hero__jar { position: absolute; bottom: 0; left: calc(100% * 8.5 / 12); height: var(--jar-h); margin: 0; transform: translateX(calc(-100 / 260 * 100%)); }.hero__jar svg { height: 100%; width: auto; max-width: none; overflow: visible; }.jar__word { font-family: var(--font-display); font-weight: 700; font-size: var(--text-md); fill: var(--color-ink); }-.jar__tag-text { font-family: var(--font-body); font-weight: 500; font-size: var(--text-sm); fill: var(--color-ink-2); }+.jar__tag-text { font-family: var(--font-body); font-weight: 400; font-size: var(--text-sm); fill: var(--color-ink-2); }/* The season bar, Garden's signature: twelve ruled months, the pour month filled, this month marked */.season { margin: 0; }.season__bar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); border: var(--rule-hair) solid var(--color-rule-2); background: var(--color-paper); }-.season__bar > li { position: relative; padding: var(--space-sm) 0; text-align: center; font-size: var(--text-sm); font-weight: 500; line-height: 1.4; color: var(--color-muted); white-space: nowrap; }+.season__bar > li { position: relative; padding: var(--space-sm) 0; text-align: center; font-size: var(--text-sm); font-weight: 400; line-height: 1.4; color: var(--color-muted); white-space: nowrap; }.season__bar > li + li { border-inline-start: var(--rule-hair) solid var(--color-rule); }.season__bar > .is-in { background: var(--color-accent); color: var(--color-accent-ink); }.season__bar > [aria-current]::before, .season__bar > [aria-current]::after { content: ""; position: absolute; left: 50%; width: var(--rule-hair); height: var(--space-sm); background: var(--color-ink); }@@ -142,7 +142,7 @@ main { padding-top: calc(var(--banner-h) + var(--bar-h)); }.tag__name { font: 600 var(--text-lg)/1.2 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); }.tag__list { margin: 0; display: grid; border-bottom: var(--rule-hair) solid var(--color-rule-2); }.tag__list div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); column-gap: var(--gap-columns); padding-block: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule-2); }-.tag__list dt { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }+.tag__list dt { font-size: var(--text-sm); font-weight: 400; color: var(--color-muted); }.tag__list dd { margin: 0; color: var(--color-ink); }/* The ridge: one photo slot, its caption in the margin column */@@ -151,7 +151,7 @@ main { padding-top: calc(var(--banner-h) + var(--bar-h)); }.ridge__title { grid-column: 10 / -1; grid-row: 1; align-self: end; font-size: var(--text-display-s); font-weight: 600; line-height: 1.06; color: var(--color-ink); max-width: 8ch; }.ridge__figure { grid-column: 1 / span 9; grid-row: 1; margin: 0; }.slot { aspect-ratio: 16 / 9; background: repeating-linear-gradient(180deg, var(--slot-rule) 0 1px, transparent 1px 32px), linear-gradient(160deg, var(--color-paper-2), var(--color-paper-3)); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-image); }-.slot__label { position: absolute; left: var(--space-md); bottom: var(--space-md); font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }+.slot__label { position: absolute; left: var(--space-md); bottom: var(--space-md); font-size: var(--text-sm); font-weight: 400; color: var(--color-muted); }/* Reserve: a change of paper, the terms as text slots, the form posting nowhere until wired */.reserve { margin-top: var(--section-gap); padding-block: var(--space-4xl); background: linear-gradient(var(--tint-moss), var(--tint-moss)) var(--color-paper); }@@ -160,12 +160,12 @@ main { padding-top: calc(var(--banner-h) + var(--bar-h)); }.reserve__head h2 { font-size: var(--text-display-s); font-weight: 600; line-height: 1.06; color: var(--color-ink); }.terms { margin: 0; display: grid; gap: var(--space-md); }.terms div { display: grid; gap: var(--space-2xs); }-.terms dt { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }+.terms dt { font-size: var(--text-sm); font-weight: 400; color: var(--color-muted); }.terms dd { margin: 0; color: var(--color-ink); }.fill { border-bottom: var(--rule-hair) dashed var(--color-muted); }.reserve__form { grid-column: 7 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--gap-columns); row-gap: var(--space-xs); }.field { display: grid; gap: var(--space-xs); align-content: start; min-width: 0; }-.field label { font-size: var(--text-sm); font-weight: 500; line-height: 1.55; color: var(--color-ink-2); }+.field label { font-size: var(--text-sm); font-weight: 400; line-height: 1.55; color: var(--color-ink-2); }.field input { width: 100%; box-sizing: border-box; height: 48px; padding: 0 var(--space-sm); font: 400 var(--text-md)/1.4 var(--font-body); color: var(--color-ink); background: var(--color-paper); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-card); outline: 2px solid transparent; outline-offset: -2px; transition: background-color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out); }.field input:focus-visible { outline-color: var(--color-focus); }.field input:disabled { opacity: 0.55; cursor: not-allowed; }diff --git a/site/examples/press-01/style.css b/site/examples/press-01/style.cssindex 16d88ba..234e220 100644--- a/site/examples/press-01/style.css+++ b/site/examples/press-01/style.css@@ -4,6 +4,8 @@* theme: custom · direction: "the locked-up chase" · vibe: "locked-up metal, oak furniture, grey north light" · paper: oklch(84% 0.008 60) · accent: oklch(50% 0.17 32) · display: Quaternary Grotesque (font slot; stand-in Roboto Flex) · body: Source Serif 4 · seed: press-quaternary·2026-10-01·r0 · challenger: Letterpress playbill (competitive; raise: one instance of the face per line)* hero-review: ship after 1 fix round (4 findings: 3 resolved, 1 partial) · finish-review: subagent, ship after 1 fix round, 6 findings, 6 resolved · gap: resolved · contract: kept (5/5) · v2.3.0 *//* Hallmark · pre-emit critique: P5 H4 E4 S5 R4 V5 · weakest: E, every specimen shows a stand-in until the font files arrive; the forme's caption and the colophon say so plainly */+/* Hallmark · waive 72 · the slugs are cut to the type · a printer's slug is metal cast to the line, so its band hugs the letters of each axis */+/* Hallmark · answered F19 · a specimen shows its weight axis: the slugs run the ramp from 460 to 820 on purpose *//* direction contract · seed press-quaternary·2026-10-01·r0* THESIS: A typeface is proved by locking it up, not by describing it: each line runs one axis of the face, held in a forme.* OWN-WORLD: The locked-up chase: an iron frame on a grey imposing stone, oak furniture holding broken lines to the measure, quoins at the edge, one proof vermilion.diff --git a/skills/hallmark/SKILL.md b/skills/hallmark/SKILL.mdindex 37cee10..ab7dcd4 100644--- a/skills/hallmark/SKILL.md+++ b/skills/hallmark/SKILL.md@@ -1,18 +1,18 @@---name: hallmark-description: "Design skill for pages, sites and components that look made, not generated. Picks a theme from a dealt catalog or derives a world, sets type, colour, layout and motion to a hard floor, builds, then lints and reviews the result. Use when the user asks to build, design, style or lay out a page, landing page, site, app screen or UI component, or invokes Hallmark by name."-version: 2.3.0+description: "Design skill for pages, sites and components that look made, not generated. Deals a theme from its catalog or derives a world, sets type, colour, layout and motion to a hard floor, builds, then lints and reviews the result. Use when the user asks to build, design, style or lay out a page, landing page, site, app screen or UI component, or invokes Hallmark by name."+version: 2.4.0---# Hallmark-Makes the UIs a coding assistant generates look made, not generated. It holds a hard floor against the defaults every model was trained into, deals a direction so consecutive builds do not converge, and keeps the page short enough that a visitor takes one idea per screen. Above the floor it hands the page back to you: you are a capable designer.+Makes the UIs a coding assistant generates look made, not generated. It holds a hard floor against the defaults every model was trained into, deals a direction so consecutive builds do not converge, and keeps each screen to one idea. Above the floor it hands the page back to you: you are a capable designer.**Powered by Together AI.**## The Floor-Binds on every output, in every harness, on every model. None of it is waivable. Read nothing else and you must still obey these.+Binds every output in every harness, and none of it is waivable. Read nothing else and you must still obey these.1. Every colour and every font goes through a token declared at `:root` (or a declared theme block). No literal colour or `font-family` past the token block. (48)2. Never `transition: all`. Never animate `width`, `height`, `top` or `left`. (10a)@@ -22,7 +22,7 @@ Binds on every output, in every harness, on every model. None of it is waivable.6. Every interactive element has `:focus-visible`, appearing instantly. (26a, 15)7. Every animation has a `prefers-reduced-motion: reduce` fallback, and content is visible with scripting off. (27, 62)8. Never an invented metric, testimonial, logo wall or case-study count. (46a)-9. Never an eyebrow, and never a label in tracked capitals or small caps: labels, captions, table heads, tags and nav links are the body face (or the label face the theme names), a step smaller, sentence case, untracked. (54, 67)+9. Never an eyebrow, and never a label in tracked capitals or small caps: labels, captions, table heads, tags and nav links are the body face (or the label face the theme names), a step smaller, sentence or lower case, untracked. (54, 67)10. Never middle-dot-joined meta strings, arrows glued to link text, or decorative status dots. (63)11. Never a purple-to-blue gradient, a card inside a card, an emoji as an icon, or a hand-drawn browser or OS window. (2a, 4, 30a, 47a)12. The hero's headline, one sentence and primary action are all visible at 1280 x 800 without scrolling. (44b)@@ -31,7 +31,7 @@ Binds on every output, in every harness, on every model. None of it is waivable.15. The first non-empty line of emitted CSS is the Hallmark stamp, then the critique line, then any waivers. (20)16. If Node is available, run `node <skill-dir>/scripts/sloplint.mjs <output> --render` before handing back. Fix every `FAIL`; fix or waive every `REFLEX`.-Everything above the Floor is a **Reflex** gate: a default a model falls into, which a build with a real reason may waive on the record. The tiers, grades and waiver syntax are in [`references/gates.md`](references/gates.md) § 1 and § 2.+Above the Floor, a **Reflex** gate is a default a model falls into, which a build with a real reason may waive on the record, and a **Finish** check is craft detail, answered, never blocking. Tiers, grades and waiver syntax: [`references/gates.md`](references/gates.md) § 1 and § 2.## Flow@@ -42,15 +42,15 @@ Everything above the Floor is a **Reflex** gate: a default a model falls into, w4. 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: the hero first, then the page; stamp, `tokens.css`, log.-7. Sweep: sloplint with render, the judged gates, the fresh-context review.+7. Sweep: `sloplint --render` until clean, the judged gates (`gates.md` § 5), the finish review (§ 6), the material ask.Codex CLI and OpenCode read [`references/flow.md`](references/flow.md) § Harnesses first; other harnesses run this file as written.### 0. Pre-flight-Read the existing project before asking the user anything. Signals, in order: `design.md` or `DESIGN.md` at the root (a locked system; it overrides everything below and inverts the variety rule, pages share it); `.hallmark/brand-spec.md` or a brief naming a real brand (run [`references/brand-truth.md`](references/brand-truth.md), never theme a real brand from memory); the font stack in `package.json`, Google Fonts links or Tailwind config; the palette in `:root`, Tailwind colours or a tokens file; motion libraries in the dependencies; the spacing scale; the framework; an Inspo MCP server on the session (`mcp__inspo__*` tools present: signal 8, the archive builds and Hallmark sweeps, see [`references/flow.md`](references/flow.md) § Signal 8); `TOGETHER_API_KEY` in the environment (signal 9, unlocks the comp step).+Read the existing project before asking the user anything. Signals, in order: `design.md` or `DESIGN.md` at the root (a locked system: it overrides everything below, and pages share it); `.hallmark/brand-spec.md` or a brief naming a real brand (run [`references/brand-truth.md`](references/brand-truth.md), never theme a real brand from memory); the font stack in `package.json`, Google Fonts links or Tailwind config; the palette in `:root`, Tailwind colours or a tokens file; motion libraries in the dependencies; the spacing scale; the framework; an Inspo MCP server on the session (`mcp__inspo__*` tools present: signal 8, the archive builds and Hallmark sweeps, see [`references/flow.md`](references/flow.md) § Signal 8); `TOGETHER_API_KEY` in the environment (signal 9, unlocks the comp step).-Output one block with file:line citations, what Hallmark preserves and what it introduces, and cache it in `.hallmark/preflight.json`. Caching and edge cases, one line each, are in [`references/flow.md`](references/flow.md) § Pre-flight.+Output one block (file:line citations, what Hallmark preserves, what it introduces) and cache it in `.hallmark/preflight.json`; edge cases are in [`references/flow.md`](references/flow.md) § Pre-flight.### 1. Ask once@@ -60,7 +60,7 @@ One message, even on a five-word brief:Skipped fields are opt-outs: infer them, state the inferences in one line at the top of the reply, stamp them. No follow-up ladders. Material is never inferred: what was not given is a slot or is absent.-**Genre** is picked here, silently, from the brief: *AI tool, generative, music, video, voice, dark, atmospheric* → **atmospheric**; *SaaS, enterprise, API, platform, developer tool, infra, B2B* → **modern-minimal**; *fun, consumer, casual, family, community, onboarding* → **playful**; otherwise **editorial**. A named theme's genre wins; else, on two non-default signals, ask one either-or.+**Genre** is picked here, silently, from the brief: *AI tool, generative, music, video, voice, dark, atmospheric* → **atmospheric**; *SaaS, enterprise, API, platform, developer tool, infra, B2B* → **modern-minimal**; *fun, consumer, casual, family, community, onboarding* → **playful**; otherwise **editorial**. A named theme's genre wins; when two non-default genres fire, add one either-or to the Step 1 message, or on go ahead pick and say so.**Scope** is checked here too. A brief naming one element (button, input, card, modal, nav, footer, tab strip, chip) or saying "just the X" is a component: read [`references/flow.md`](references/flow.md) § Component scope and skip macrostructure, chrome, enrichment and the log.@@ -68,7 +68,7 @@ Skipped fields are opt-outs: infer them, state the inferences in one line at the**Material first.** Before the shape, write the inventory in one line: *real* (every concrete thing the brief and the project supply: the name, the claim, numbers, places, dates, inputs and outputs, images), *slots* (what the user will hand over later), *absent* (every proof the page will not have: logos, quotes, metrics nobody gave). The shape follows it: shapes built on screenshots (Bento, Workbench, Feature Stack) need two real visuals or the user's "leave slots"; with neither, choose a shape that carries type and facts (Long Document, Letter, Index-First, Manifesto, a spec sheet built on `components/f3-tabular-spec-sheet.md`). Pages read as generated when they have nothing to show and pretend otherwise.-Decide the page's shape, how it opens, how sections separate, what the nav and footer do, how tall the hero stands and what carries it. You are designing, not filling a form. The catalogs exist for when you want a starting point: 21 page shapes in [`references/macrostructures.md`](references/macrostructures.md), navs, footers and section archetypes in [`references/component-cookbook.md`](references/component-cookbook.md), enrichment in [`references/hero-enrichment.md`](references/hero-enrichment.md). Take a named shape and load only that one file; never read a whole catalog.+Decide the page's shape, how it opens, how sections separate, what the nav and footer do, how tall the hero stands and what carries it. You are designing, not filling a form. For a starting point: 21 page shapes in [`references/macrostructures.md`](references/macrostructures.md), navs, footers and sections in [`references/component-cookbook.md`](references/component-cookbook.md), enrichment in [`references/hero-enrichment.md`](references/hero-enrichment.md); load only the one file you pick, never a whole catalog.**Rotation.** Read `.hallmark/log.json` (newest first). The page's shape must differ from the last three builds; the nav and footer must not repeat the last three shapes; the hero posture (`craft.md` § 4), a non-`none` enrichment and the section opening must not repeat the previous run. The theme deal in Step 3 handles the theme axis for you. **The mirror test:** would this exact combination have come out for a neighbouring brief in the same category? If yes, change one decision and say which in the Picks block.@@ -81,22 +81,22 @@ Decide all of this and hold it. It is said once, at Step 5.Check in order; the first match wins.1. **The user named a theme** → build it (stamp `theme: <name> (by request)`).-2. **The user asked for custom** ("custom", "derive it", "bespoke", "no theme", "a world of its own") → load [`references/direction.md`](references/direction.md) and run the ritual. No deal, no theme file, no theme's faces, palette or signature object: the page is made from scratch, and `theme.mjs check` with the triple, the display face and the accent hue must come back clear before code. Silence never takes this route.+2. **The user asked for custom** ("custom", "derive it", "bespoke", "no theme", "a world of its own") → load [`references/direction.md`](references/direction.md) and run the ritual. No deal and nothing from a theme: `theme.mjs check` on the triple, the display face and the accent hue comes back clear before code. Silence never takes this route.3. **Everything else deals a theme:**```node <skill-dir>/scripts/theme.mjs deal --genre <genre> --brief "<the brief>" [--log .hallmark/log.json]```-The script reads the catalog index and the log, applies Rotation (consecutive systems differ on paper band, display class or accent band; logged siblings count as taken) and deals three candidates that fit the brief, with a reproducible seed. Look at the three pictures, pick the one whose material can carry what the brief asks for (motion, photographs, code), say which and why, and load only `references/themes/<slug>.md`. Re-deal only when the user asks (`--reroll 1`). No Node: read `references/themes/index.json`, apply the same rule by hand, and stamp `deal: manual`.+It deals three themes that fit the brief and clear Rotation (consecutive systems differ on paper band, display class or accent band), with a reproducible seed. Look at the three pictures, pick the one whose material can carry what the brief asks for (motion, photographs, code), say which and why, and load only `references/themes/<slug>.md`. Re-deal only when the user asks (`--reroll 1`). No Node: read `references/themes/index.json`, apply the same rule by hand, and stamp `deal: manual`.-A catalog theme is a material, not a plan: it says what the page is made of, never what the page contains or in what order. Two pages in one theme should not share a section sequence. Where the theme and a shape, genre, craft or enrichment file disagree on material, controls or motion, the theme wins; the Floor and the user's own words beat both.+A catalog theme is a material, not a plan: it never sets what the page contains or in what order, and two pages in one theme should not share a section sequence. Where the theme and a shape, genre, craft or enrichment file disagree on material, controls or motion, the theme wins; the Floor and the user's own words beat both.### 4. Load-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 section order or layout (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) · `references/genres/<genre>.md` · `references/themes/<slug>.md` and its picture, already seen at the deal (a named theme: look at `<slug>.jpg` now): take its scale, density, colour balance and objects, never its section order or layout (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` when the hero wants imagery (its image-need check names the one `enrichment/` file) · `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.+Only when the build needs them, each in `references/`: one macrostructure file and the picked archetype files (Step 2) · `hero-enrichment.md` when the hero wants imagery · `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 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.Loading more is the largest avoidable cost; `gates.md` § 5 waits for Step 7, § 6 for the reviews.@@ -105,7 +105,7 @@ Loading more is the largest avoidable cost; `gates.md` § 5 waits for Step 7, §The run's only prose recital of its decisions, and the user's five-second redirect window:```markdown-**Hallmark · v2.3.0**+**Hallmark · v2.4.0**- **Shape** · Workbench (last 3: Bento, Long Document, Manifesto) · genre modern-minimal- **Theme** · Coral, dealt 2/3 (warm grey, one coral signal, General Sans, soft pills) · clears Cobalt on paper band@@ -117,52 +117,35 @@ The run's only prose recital of its decisions, and the user's five-second redire- **Slop test** · run after build```-A custom run replaces the Theme row with **Direction** (draw, challengers, raise) and **System** (palette, pairing, the catalog coordinates it cleared). Then one quiet line: *System portable? Say `lock the system` for a `design.md`.* Skip it in component scope or when `design.md` exists.+A custom run's rows are in `direction.md` R.7. Then one quiet line: *System portable? Say `lock the system` for a `design.md`.* Skip it in component scope or when `design.md` exists.-On signal 9, [`references/comp.md`](references/comp.md) runs here: two comps of the first viewport, one approval, then build. Absent the key the step does not exist.+On signal 9, [`references/comp.md`](references/comp.md) runs here; absent the key the step does not exist.### 6. BuildEmit code that satisfies the theme and the shape. Always:-- **Start from the scaffold.** `node <skill-dir>/scripts/theme.mjs scaffold <slug>` (with the deal's `--dealt`; `--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 under a stamp skeleton. Paste them, fill the stamp, and write only the page.-- **Read the exemplar** for the genre, `references/exemplars/<genre>.html`, once: a finished page in another theme that passes every gate. Take how its stamp, tokens, slots, states and openings are written, nothing else. Skip it if it is in your theme.-- **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>` (with the deal's `--dealt`; `--custom` on a derived run) writes `tokens.css` (the theme's tokens and the shared scale) and `base.css` (the rules the Floor already decided), and prints the stamp skeleton and the two imports that open the page's stylesheet. Fill the stamp and write only the page.+- **Read [`references/patterns.md`](references/patterns.md) once:** controls in all eight states, a slot, a missing fact, a form that posts nowhere yet, one reveal, figures that compare, written to pass the gates. Take their shape, never their copy.+- **Hero first.** Write the nav and the hero, run `node <skill-dir>/scripts/sloplint.mjs <file> --render --stage hero`, 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.- **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). Four 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.** On a product page with material or "leave slots": at least two `data-slot` containers, the hero visual (unless the theme's own object holds the hero) and a demo strip; with neither, the page shows what is real (Step 2). 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 or 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; a Banner shares it with the first section.-- **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.+- **Room.** Sections part by the scaffold's three `--section-gap` steps, mixed; a heading's line 8 to 16px under it, its content 32 to 48px; grid items 24 to 40px apart; at least twice the space above a heading as below it.- **Page invariants.** One primary button style, one container width, one column gap for every multi-column section below the hero, one radius per nesting level, and never more centred heading groups than left-aligned ones. A subhead over 120 characters is set left-aligned.-- **Type.** The theme's faces, two families (three with one outlier role); display tracking and leading per `craft.md` § 1; body 16px or more at 1.5 to 1.65, 45 to 75ch; heads roman. Labels per Floor 9, never mono unless mono is the material (64). A head is one weight and one colour throughout; the accented word is a tell (38iii).+- **Type.** The theme's faces, at most two families (three with one outlier role); display tracking and leading per `craft.md` § 1; body 16px or more at 1.5 to 1.65, 45 to 75ch; heads roman. Labels per Floor 9, 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; at most one orchestrated reveal per page, none where the theme keeps still, 0.4 to 0.8s, visible by default; exits at 60 to 75% of the enter; nothing bounces.- **Browser surfaces.** Keep the scaffold's `::selection`, `caret-color`, `scrollbar-color` and focus ring; add tabular numerals wherever figures compare.-- **Stamp.** Line 1 of CSS:--```css-/* Hallmark · shape: Workbench · genre: modern-minimal · theme: Coral (deal 2/3, seed tracejam·2026-09-22·r0)- * hero: Stage · nav: edge-aligned · footer: colophon line · enrichment: none · signature: live pricing table in the hero slot- * axes: light/grotesk-sans/warm · posture: restrained · contrast: pass · fold: pass · v2.3.0 */-/* Hallmark · pre-emit critique: P4 H5 E4 S4 R5 V4 · weakest: E, focus ring was the body colour; moved to --color-focus */-```--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`** 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.** `node <skill-dir>/scripts/theme.mjs log --entry '<json>'` puts it atop `.hallmark/log.json`, trimmed to 20:--```json-{ "date": "2026-09-22", "shape": "Workbench", "theme": "Coral", "axes": "light/grotesk-sans/warm",- "hero": "Stage", "nav": "edge-aligned", "footer": "colophon line", "enrichment": "none",- "entry": "change of paper", "fingerprint": "Hanging|Asymmetric spans|Hairline|Outlined|Margin-aligned|None",- "signature": "live pricing table in the hero slot", "waived": [], "brief": "Tracejam · observability" }-```-+- **Stamp.** Line 1 of CSS is the scaffold's stamp skeleton with every field filled (`hero: Stage · nav: edge-aligned · footer: colophon line · enrichment: none · signature: live pricing table in the hero slot`), then the critique line (`gates.md` § 3), any `waive` and `answered` lines, and a custom run's direction contract. Everything the linter reads sits in the first 40 lines.+- **`tokens.css`** is the scaffold's, at the project root, imported by the page; on a `design.md` project, refresh its `## Exports` ([`references/export-formats.md`](references/export-formats.md)).+- **Existing stylesheets are append-only:** keep the Tailwind directives where they are, import `tokens.css` and `base.css` below them, reuse the project's own token names; rewrite only on request.+- **Log.** `node <skill-dir>/scripts/theme.mjs log --entry '<json>'` puts the build atop `.hallmark/log.json`: `shape`, `theme`, `axes`, `hero`, `nav`, `footer`, `enrichment`, `entry` (the section opening), `fingerprint` (`Hanging|Asymmetric spans|Hairline|Outlined|Margin-aligned|None`), `signature`, `waived`, `brief`; it names any field you left out.### 7. Sweep1. `node <skill-dir>/scripts/sloplint.mjs <files> --genre <genre> --render` (add `--scope component` on a component; in a framework project with a dev server running, add `--url http://localhost:<port>/<route>`). Fix every FAIL, re-run until clean. The render tier writes the screenshots; never run Chrome by hand.2. Load [`references/gates.md`](references/gates.md) § 5 and walk the J and R/J gates. Confirm or dismiss every WARN. Fix every open Floor finding; fix or waive every Reflex one; answer every Finish one.-3. Review in fresh context per `gates.md` § 6, which lists its inputs. Act on its first word (`recapture`, `rebuild`, `fix`, `ship`). Two rounds is the ceiling.+3. The finish review in fresh context (`gates.md` § 6): hand the reviewer its brief file and the inputs it lists, act on its first word (`recapture`, `rebuild`, `fix`, `ship`), and score the fixes yourself.4. Close with the material ask: every slot, its size and what belongs there, then the one piece of material that would most improve the page.5. Update the Picks block's last row with the real outcome (`Floor 0 FAIL · Reflex 2 (1 waived: 47b) · finish-review: subagent, 3 resolved`). A fabricated pass is itself slop.@@ -170,10 +153,4 @@ Verification is budgeted: one batched inspection, one fix batch, at most one con## Branches-- **Component scope**, **signal 8** (the archive builds, Hallmark sweeps and writes the `checked` stamp), **comp before build**, **harness tuning** for Codex and OpenCode, and the pre-flight edge cases live in [`references/flow.md`](references/flow.md). Read the section you are in, nothing else.-- **Fast mode** (`--fast`, or a brief that says quick, rough, demo, prototype): "go ahead" at Step 1 with a one-line disclosure, narration capped at three lines, the Finish tier skipped, Reflex gates waivable with a one-line reason. Not relaxed: the Floor, the stamp, `tokens.css`, the log, contrast.-- **Edit-time linting** (Claude Code): `node <skill-dir>/scripts/install-hook.mjs` wires sloplint as a PostToolUse hook that reports Floor findings the moment an artifact is written and stays quiet otherwise; Step 7 still runs.--## Scope--Hallmark is a taste skill for the rendered surface. It will not invent product copy (ask), pick a brand identity (follow the one given), enforce a style the user did not commit to, or build logic. In an existing project it never deletes routes or component trees without a file-level plan the user approved, and it states the files it will touch before touching them.+[`references/flow.md`](references/flow.md) holds them; read only the section you are in: component scope, signal 8 (the archive builds, Hallmark sweeps), comp before build, the Codex and OpenCode levers, the pre-flight edge cases, **fast mode** (`--fast`, or a brief that says quick, rough or prototype) and the edit-time hook. In an existing project, name the files you will touch before touching them, and never delete a route or a component tree without a file-level plan the user approved.diff --git a/skills/hallmark/references/assets.md b/skills/hallmark/references/assets.mdindex a68545f..2eb5c6b 100644--- a/skills/hallmark/references/assets.md+++ b/skills/hallmark/references/assets.md@@ -1,338 +1,121 @@-# Assets, sourcing canon for icons, logos, illustrations, photography, video+# Assets: sources for icons, logos, illustration, photography and video-This file is loaded when an enrichment archetype actually needs an external asset (load-on-demand). It catalogues the *3 to 5 canonical sources per category*, the licence terms, the import patterns, the rules for using them, and the sources to avoid.+Loaded when an enrichment needs an external asset. Before reaching here, two questions in order: does the brief want imagery at all ([`hero-enrichment.md`](hero-enrichment.md) § Image-need check), and can it be built by hand ([`custom-craft.md`](custom-craft.md))? This file is for when both answers send you here.-**The reflex.** Before reaching here, ask two questions in order: (1) Does the brief actually need imagery at all? See [`hero-enrichment.md` § Image-need detection](hero-enrichment.md). (2) If yes, can it be hand-built? See [`custom-craft.md`](custom-craft.md). The assets in this file are for the moments when both answers send you here.+## Placeholder order----+When imagery is needed and the user has not supplied it, take the first that fits:-## Placeholder strategy+1. **A demo slot** (`craft.md` § 8): a `data-slot` container with a designed placeholder in the theme's colours and one corner label. The default for every product capture and every photo the user will supply.+2. **The imagery kit** ([`imagery-kit.md`](imagery-kit.md)): manifest-listed washes, brushstrokes, marks and textures, only where a listed file fits.+3. **A hand-built composition** (tier B in [`custom-craft.md`](custom-craft.md)): a stamp, a mark, a colour-blocked figure, when the kit does not carry the register.-When imagery is needed *and* the user hasn't supplied real assets, pick from this canon, in order. Skipping tiers is the slop move.+A placeholder reads as a slot, never as content: no random stock photo, no kitten service, no kit image standing in for a real product photo. Alt text (or the slot's `data-alt`) describes the intended subject, so it is already right when the real image lands.-| # | Source | When |-| --- | --- | --- |-| 0 | **Demo slot with a designed placeholder** ([`craft.md` § 8](craft.md)) - a `data-slot` container in a theme-fitting frame holding a gradient in the theme's colours and a corner label | Any slot that will hold the user's own screenshot or photo later. The default for product heroes and demo strips; the user drops an image in and the placeholder hides. |-| 1 | **Hallmark imagery kit** ([`imagery-kit.md`](imagery-kit.md)): manifest-listed assets: washes, brush gestures, wordmark marks, textures, app-screen frames, and studio portraits for a team or byline slot the user will fill with the real person | Brief allows non-photographic imagery, or needs a wordmark mark or an app screenshot. Preferred when a listed asset fits; never emit a kit URL that is not in the manifest. |-| 2 | **Hand-built SVG composition** (Tier B from custom-craft.md) | Editorial-typographic brief where "imagery" can be a stamp / wordmark / colour-blocked composition. Use when the kit doesn't carry the register. |-| 3 | **Picsum**, `https://picsum.photos/seed/<seed>/<w>/<h>` | Generic photo slot for scenery or objects, keyword anchoring not critical. Use a deterministic seed (brand name plus slot name) so the same render produces the same image. Never a person, a face or a portrait as social proof (F9). |-| 4 | **Local `public/placeholder-<type>.{jpg,svg}`** | Self-contained projects with no third-party dependencies. One neutral SVG checked into the repo. |--**Swappability, non-negotiable:**--- Every placeholder image carries an HTML comment immediately above it: `<!-- TODO: Replace with real <thing>, target size: <WxH> -->`.-- All placeholder URLs reference a single constant, a `--placeholder-base` CSS variable or `PLACEHOLDER_BASE` config constant. User edits one place to swap the entire site.-- Alt text describes the **intended** subject ("Hand-thrown ceramic mug, top-down on linen") not the placeholder ("Picsum image"). When the user swaps in the real photo, alt is already correct.--**Remote asset safety:**--- Treat third-party image, logo, video, icon, and font URLs as prototype defaults, not production defaults. Before shipping production code, prefer vendored or self-hosted assets unless the user explicitly wants third-party hosting.-- Do not add a third-party script, tracking pixel, widget, or API dependency as an asset shortcut. Asset sources provide files; they do not get to execute code in the page.-- When remote assets remain in production, state the privacy and availability tradeoff in the handoff: visitors will request those third-party hosts, and the page depends on their uptime and integrity.-- For user-supplied brand or customer logos, prefer official asset pages or checked-in files. Do not hotlink a logo from an unrelated site.--**Anti-patterns:**--- Never inline base64 placeholder images (bloats CSS).-- Never use kittens / lorempixel / "tiger.jpg" / cute-default services. The placeholder must read as an obvious slot, not as content.-- Never ship a kit image where the brief actually calls for a real product photo (e.g. abstract bottle for an actual coffee-shop hero). The kit is for atmosphere; photos are for subject.-----+**Remote assets** are prototype defaults: before production, prefer vendored or self-hosted files. An asset source supplies files, never scripts, pixels or widgets. When a page keeps third-party hosting, the handoff says so (privacy, uptime). A customer's logo comes from their own asset page or the user's files, never hotlinked from an unrelated site.## Icons-### Canon--| Library | URL | Count | Best for |-| --- | --- | --- | --- |-| **[Lucide](https://lucide.dev)** | `lucide.dev` | 1,600+ | Modern SaaS / dev-tool default. The 2026 baseline. Active maintenance. |-| **[Phosphor Icons](https://phosphoricons.com)** | `phosphoricons.com` | 9,000+ across 6 weights (thin / light / regular / bold / fill / duotone) | Tonal variants without mixing sets. The right pick when you need different *weights* of the same icon for emphasis. |-| **[Heroicons](https://heroicons.com)** | `heroicons.com` | ~300 | Tailwind / shadcn projects. Tightly curated, opinionated. |-| **[Tabler Icons](https://tabler-icons.io)** | `tabler-icons.io` | 5,900+ on a 24×24 grid | Breadth, when neither Lucide nor Heroicons covers the symbol you need. |-| **[Iconoir](https://iconoir.com)** | `iconoir.com` | ~1,500 | Hand-drawn character with a generous free tier. |--### The rules--1. **Pick one library per project.** Mixing Material + Heroicons + Lucide on the same page is the icon-set tell. The linter's gate 30b catches this.-2. **Sizes 16 / 20 / 24 / 32 only.** Snap to grid. 18-px icons don't exist in this canon.-3. **Stroke 2 px default** (most libraries' regular weight). Switch to bold (2.5 px) only for icons under 20 px or as emphasis.-4. **Monochrome with `currentColor`.** Icons inherit text colour. Brand-coloured icons only on the singular primary CTA, not as decoration.-5. **No emoji-as-icon.** Emoji break alignment, accessibility, and brand consistency. Use a real icon library.+| Library | Count | Best for |+| --- | --- | --- |+| [Lucide](https://lucide.dev) | 1,600+ | The default for product and developer pages |+| [Phosphor](https://phosphoricons.com) | 9,000+ in six weights | Several weights of one icon without mixing sets |+| [Heroicons](https://heroicons.com) | about 300 | Tailwind and shadcn projects |+| [Tabler](https://tabler.io/icons) | 5,900+ | Breadth, when the others lack a symbol |+| [Iconoir](https://iconoir.com) | about 1,500 | A lighter, rounder stroke |-### Import patterns+1. **One library per page** (30b); a brand or platform mark in at most two slots is the exception.+2. **Sizes 16, 20, 24 and 32** at the set's own grid, `currentColor`, the regular stroke (bold only under 20px or for emphasis).+3. **Never an emoji as an icon** (30a), never an icon in a coloured coin (F5).+4. Avoid Font Awesome's free set (the generic-glyph look), Material Icons outside a Material project, and any pack whose strokes disagree.```jsx-// Lucide, React (most common)-import { ArrowRight, Check, X } from "lucide-react";-<ArrowRight size={20} strokeWidth={2} />--// Phosphor, React, with weight prop-import { ArrowRight } from "@phosphor-icons/react";-<ArrowRight size={20} weight="regular" />--// Heroicons, React or static HTML-import { ArrowRightIcon } from "@heroicons/react/24/outline";--// Tabler, vanilla HTML via CDN-<svg width="20" height="20"><use href="https://cdn.jsdelivr.net/npm/@tabler/icons@latest/icons/arrow-right.svg" /></svg>+import { Check } from "lucide-react";+<Check size={20} strokeWidth={2} aria-hidden="true" />```-### Avoid--- **Font Awesome free**, bloated, dated. the icon-in-a-coin look; 600+ generic glyphs that all read as "I picked the icons before designing the page".-- **Material Icons in a non-Material project**, gives a Google look that doesn't match anything else.-- **Icon packs with inconsistent stroke widths**, pick a library whose icons share weight; eclectic mixes read as random.-- **Emoji as semantic icons**, colour, size, weight, alignment all uncontrolled.+## Brand and customer logos----+| Source | Best for |+| --- | --- |+| [Simple Icons](https://simpleicons.org) | 3,400+ monochrome SVG marks with each brand's hex |+| [SVGL](https://svgl.app) | A smaller, hand-checked set |+| The brand's own media page | Always first when accuracy matters |-## Brand / company logos--### Canon--| Source | URL | Count | Best for |-| --- | --- | --- | --- |-| **[Simple Icons](https://simpleicons.org)** | `simpleicons.org` | 3,400+ | Monochrome SVG plus the official hex per brand. MIT licensed. |-| **[SVGL](https://svgl.app)** | `svgl.app` | 600+ | Curated, hand-picked, no spam. Higher quality bar than Simple Icons. |-| **[theSVG](https://thesvg.org)** | `thesvg.org` | 4,000+ with dark/light/mono/wordmark variants | npm + MCP server for AI. Superset over Simple Icons if your stack supports it. |-| **[Brandfetch](https://brandfetch.com)** | `brandfetch.com` | 22M+ brands | Paid API. Logo + colours + fonts + guardrails. Useful when building a CMS / form that asks "what's your domain?" and back-fills the brand. |-| **Official brand asset pages** | Per company |, | Always check first if accuracy matters. Most brands ship a media-kit page (e.g., `vercel.com/design`). |--### The rules--0. **A logo wall exists only with the user's own customers or partners** (46a). Without them: a labelled `data-slot="logos"` sized for the count the user gave, or no wall. Never a template's ACME, Initech or Hooli.-1. **Logo walls: monochrome only.** Use Simple Icons' default colour or the official monochrome variant. Mixed full-colour logos fight the page.-2. **Height-aligned, not width-aligned.** Pick a baseline (typically 32 to 48 px height) and let the width float. Brand proportions matter; stretching is a tell.-3. **2 to 3× height as gutter.** Logos need breathing room. A wall with 32-px logos wants 64 to 96-px gutters.-4. **No hairline borders, no glow halos.** Just the marks on the page.--### Import patterns+1. **A logo wall exists only with the user's own customers or partners** (46a). Without them: a `data-slot="logos"` sized for the count the user gave, or no wall; never ACME, Initech or Hooli.+2. **Monochrome**, one treatment per wall (all marks or all wordmarks), aspect ratio kept.+3. **Height-aligned:** 32 to 48px tall in a wall (20 to 28px in a footer, `craft.md` § 9), gaps two to three times the height, no borders, no halos.```html-<!-- Simple Icons via CDN, easiest -->-<img src="https://cdn.simpleicons.org/github" alt="GitHub" height="32">-<img src="https://cdn.simpleicons.org/figma/aaaaaa" alt="Figma" height="32"> <!-- monochrome override -->--<!-- npm -->-<!-- npm install simple-icons -->-import { siGithub } from 'simple-icons/icons';-<svg viewBox="0 0 24 24"><path d={siGithub.path} fill="currentColor" /></svg>--<!-- SVGL via API -->-<img src="https://api.svgl.app/?slug=vercel" alt="Vercel">+<img src="https://cdn.simpleicons.org/github/888888" alt="GitHub" height="32">```-### Avoid--- **Full-colour logo grids.** Visual chaos; reads as 2018.-- **Stretched / squished marks.** Always preserve aspect ratio.-- **Mixing wordmarks with marks.** Pick a treatment (all-monogram or all-wordmark) for any single wall.+## Generated stills (tier E)----+Only when the user asked for a generated image and `TOGETHER_API_KEY` is set: [`scripts/imagegen.mjs`](../scripts/imagegen.mjs) calls Together AI (FLUX.1.1 pro by default; `--model` takes another model id Together serves) and writes a provenance sidecar. A model run by hand elsewhere is fine when the user supplies the output. The discipline is in `craft/tier-e-generated.md`:-## Generated illustration (the enrichment ladder's generated-still rung; craft tier-e)+1. **Always post-process:** grain, an asymmetric crop, a colour grade toward the theme's paper. Raw output looks generated.+2. **Prompt for specifics:** one concrete subject in one pose, a named style (*risograph print*, *ink line drawing*), an off-centre crop, a named light, and a negative clause (*no mesh gradient, no aurora, no symmetric layout, no people smiling at laptops*).+3. **Stamp the provenance:** `generated: <model> via imagegen.mjs · post-processed`.+4. **No animation** assembled from stills.-When characters or specific scenes can't be hand-built economically. **Always post-process.** See [`custom-craft.md`](custom-craft.md) Tier E for full discipline.+## Library illustration (tier F, last resort)-### Canon+| Source | Licence |+| --- | --- |+| [Humaaans](https://www.humaaans.com) | CC0 |+| [Open Peeps](https://www.openpeeps.com) | CC0 |+| [unDraw](https://undraw.co) | Free, own licence |+| [Storyset](https://storyset.com) | Free with attribution |-| Model | URL | Cost | Best for | Output |-| --- | --- | --- | --- | --- |-| **[Nanobanana 2 / Gemini 2.5 Flash Image](https://ai.google.dev/gemini-api/docs/image-generation)** | Google AI | $0.039 / image | Character consistency across panels, fast iteration, brand-style adherence via reference images, infographics with text | PNG (transparent supported) |-| **[Recraft V4](https://www.recraft.ai/)** | recraft.ai | ~$0.04 / image | **The only model with production-grade SVG output.** Logos, icons, illustrations that need to scale. | SVG + PNG |-| **[Midjourney v8](https://www.midjourney.com)** | midjourney.com | ~$0.14 / image | Aesthetic beauty, atmospheric stills, artistic direction | PNG |-| **[Flux 2](https://blackforestlabs.ai/)** | blackforestlabs.ai | ~$0.03 / image | Photorealism, skin, fabric, product detail, hands | PNG |--### The rules--1. **Always post-process.** Add grain, asymmetric crop, hand-drawn overlays, colour grading. Raw model output reads as AI 100 % of the time.-2. **Use reference images** for brand consistency. Nanobanana 2's character-consistency feature is its differentiator vs. Midjourney; feed it your brand assets so generations stay on-style.-3. **Name the model in the Hallmark stamp** (`generated: nanobanana-2 · post-processed`). Provenance matters.-4. **Verify SynthID watermark** is present on Google-generated images.-5. **No animation.** None of these models output multi-frame; assemble via custom-craft if motion is needed.--### Avoid--- **Symmetrical compositions**, algorithmic; the AI tell. Always crop asymmetrically.-- **Smooth-mesh-blob faces**, the 2024 generic AI character look.-- **Default lighting + blue-tinted backgrounds**, the generic AI aesthetic. Specify brand-anchored colour and unusual lighting in the prompt.-- **Six fingers / doubled furniture / impossible rooms**, less common in 2026 but still lurking. Inspect.-- **Shipping unmodified output**, see rule 1.--### Prompting recipe (Nanobanana 2)--```-Subject: <one specific concrete subject> in <one specific concrete pose>.-Style: <named style, "risograph print", "1960s editorial illustration",- "ink-on-paper line drawing", NOT "modern flat" or "clean illustration">.-Composition: asymmetric, <off-centre subject>, <unusual crop>.-Lighting: <named lighting, "side-lit, late afternoon", "overcast diffuse">.-Reference: <attach brand asset / mood board for character consistency>.-Constraints: no smooth mesh-gradient, no aurora background, no symmetric layout,- no smiling people-on-laptops poses.-```--A specific prompt produces a specific image. A generic prompt produces the AI tell.-------## Library illustrations (Tier D, not first choice)--When budget and timeline force a shortcut and even a generated still is overkill.--### Canon--| Source | URL | Licence | Best for |-| --- | --- | --- | --- |-| **[Storyset](https://storyset.com)** | storyset.com (Freepik) | Free with attribution; paid removes | Animated SVG illustrations with toggleable element animation and on-site colour customisation. Onboarding flows, feature explanations. |-| **[Humaaans](https://www.humaaans.com)** | humaaans.com (Pablo Stanley) | CC0 | Mix-and-match characters with diverse poses / outfits / skin tones. Hero sections that need humans without stock-photo territory. |-| **[unDraw](https://undraw.co)** | undraw.co | MIT | Open SVG illustrations with on-export colour swap. Still respected if customised, saturated and instantly recognisable if not. |-| **[IRA Design](https://www.iradesign.io)** | iradesign.io (Creative Tim) | Free / paid | Moody, sophisticated, isometric scenes for B2B / enterprise. |-| **[Open Peeps](https://www.openpeeps.com)** | openpeeps.com | CC0 | Hand-drawn character library, naive style. Sits between photography and illustration. |--### The rules--1. **Always customise colour to your brand anchor hue.** The library default colour is the library look. Swap it.-2. **Crop or recompose** if you can. The unmodified illustration is on a hundred competitor sites; even a crop change differentiates.-3. **One library per project.** Mixing Storyset + Humaaans + unDraw = visual chaos. Pick one, stick to it.-4. **Avoid the giveaway poses**, guy on laptop with floating speech bubble, woman in headset on cloud, character holding giant phone. Whatever you saw on Dribbble in 2021, audiences saw too.-5. **Commission custom for >3 uses.** If the illustration appears in the hero, a feature block, AND promotional material, the per-piece commission cost ($200-$600 freelancer, $399-$999/month subscription for unlimited) wins on brand consistency over libraries.--### Avoid--- **Open Doodles**, dated; the hand-drawn library look reads as a template.-- **"Modern flat" generic poses**, that whole aesthetic is the AI training-distribution default.-- **AI-generated illustrations** put through library filters, the worst of both worlds.-- **Stock photography with character cutouts pasted on top**, fights physics, looks haunted.-----+Recolour to the theme's anchor hue, crop or recompose, one library per page, and none of the giveaway poses (a person on a laptop under a speech bubble, a headset on a cloud, a giant phone). An unmodified library figure is on a hundred other pages.## Screenshots-A product capture is a real screenshot in a `<figure>` with a `<figcaption>` that carries a fact (the view, the build, the date), or a `data-slot` placeholder until the user supplies one (`craft.md` § 8). One frame at most, and only with real content inside (47b); never a drawn browser bar, traffic lights, a URL pill or an OS title bar (47a); no tilt; never a styled-div dashboard with invented figures (47c).-------## Hero / demo video--### Canon (when you don't have your own footage)--| Source | URL | Licence | Best for |-| --- | --- | --- | --- |-| **[Mixkit](https://mixkit.co)** | mixkit.co (Envato) | No registration, no attribution required, 1080p+ HD | The quality-to-effort sweet spot. |-| **[Coverr](https://coverr.co)** | coverr.co | Free commercial use | Optimised for hero-section backgrounds and ambient loops. |-| **[Pexels Videos](https://www.pexels.com/videos/)** | pexels.com/videos | CC0 | Largest free library; 4K available. Volume play. |-| **[Videvo](https://www.videvo.net)** | videvo.net | Tiered (free + pro) | Community footage + motion graphics. |--### The rules+A real capture in a `<figure>` whose `<figcaption>` carries a fact (the view, the build, the date), or a `data-slot` until the user supplies one (`craft.md` § 8). One frame at most and only with real content inside (47b); never a drawn browser bar, traffic lights, a URL pill or an OS title bar (47a); tilt only as E4's knob; never a styled-div dashboard with invented figures (47c).-1. **Codec chain in the `<source>` order: AV1 → WebM VP9 → MP4 H.264.** Browsers pick the first they support. AV1 is 30 to 50 % smaller than H.264 at equivalent quality; H.264 is the universal fallback.-2. **Always autoplay-muted-loop-playsinline.**- ```html- <video autoplay muted loop playsinline preload="metadata"- poster="/hero-poster.webp" fetchpriority="high">- <source src="/hero.av1.mp4" type='video/mp4; codecs="av01.0.05M.08"'>- <source src="/hero.vp9.webm" type="video/webm">- <source src="/hero.h264.mp4" type="video/mp4">- </video>- ```-3. **Always include a `poster=""`**, prevents layout shift, gives reduced-motion users a static fallback.-4. **`fetchpriority="high"` on the LCP element.** **Never `loading="lazy"`** on the hero, that kills LCP.-5. **VTT captions for accessibility.** Even on muted demo loops; people may unmute.-6. **No sound on autoplay.** Browsers block it anyway, but the principle is firm.+## Video-### Compression+The product's own screen recording first; stock footage only for an ambient loop.-- **[ffmpeg](https://ffmpeg.org)** for control:- - VP9: `ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 0 -crf 30 -c:a libopus -b:a 128k output.webm`- - AV1: `ffmpeg -i input.mp4 -c:v libaom-av1 -crf 30 -c:a aac output.mp4`- - H.264: `ffmpeg -i input.mp4 -c:v libx264 -preset slow -crf 23 -c:a aac output.mp4`-- **[HandBrake](https://handbrake.fr)** for GUI / batch: start with the "Vimeo YouTube HQ 1080p" preset, drop bitrate to 3 to 4 Mbps for web.+| Source | Licence |+| --- | --- |+| [Mixkit](https://mixkit.co) | Free, no attribution |+| [Coverr](https://coverr.co) | Free commercial use |+| [Pexels Videos](https://www.pexels.com/videos/) | Pexels licence |-### Avoid--- **Watermarked stock**, visible "Pexels.com" stamps in the corner.-- **30 fps labelled as 60 fps**, reveals itself on modern displays.-- **Music-heavy demos without a mute toggle**, alienates accessibility users and noisy environments.-- **`loading="lazy"` on hero video**, kills LCP, tanks Core Web Vitals.-----+- Sources in order AV1, VP9 WebM, H.264 MP4; `autoplay muted loop playsinline`, a `poster`, preloaded when the video is the LCP (`<link rel="preload" as="image" href="…" fetchpriority="high">`, since `fetchpriority` does nothing on `<video>`), never `loading="lazy"` on it (28a, 28b).+- Captions when the video has speech; never sound on autoplay; a visible pause control on a loop over 5 seconds.+- Compress with ffmpeg: `ffmpeg -i in.mp4 -c:v libvpx-vp9 -b:v 0 -crf 30 -an out.webm` (VP9); `-c:v libx264 -preset slow -crf 23 -an` (H.264).+- Never watermarked stock, never a music-led demo without a mute control.## Photography-### Canon--| Source | URL | Licence | Best for |-| --- | --- | --- | --- |-| **[Unsplash](https://unsplash.com)** | unsplash.com | CC0 | Largest free collection, moody / cinematic, weekly community uploads. The starting point. |-| **[Pexels](https://www.pexels.com)** | pexels.com | CC0 | 3.5M+ free photos, diverse photographers. |-| **[Nappy.co](https://www.nappy.co)** | nappy.co | Free + paid | Curated for diversity and representation. Premium visual direction. |-| **[Shotstash](https://www.shotstash.com)** | shotstash.com | Free | Lifestyle / minimal aesthetic. Smaller but carefully curated. |-| **[Open Peeps](https://www.openpeeps.com)** | openpeeps.com | CC0 | Illustrated character library when you want diversity without the photo-stock look. |--### The rules+| Source | Licence |+| --- | --- |+| [Unsplash](https://unsplash.com) | Unsplash licence |+| [Pexels](https://www.pexels.com) | Pexels licence |+| [Nappy](https://nappy.co) | Free, curated for representation |-1. **Always tweak the source.** Gradient overlay, crop, desaturation, blur, or brand-colour wash. The unmodified Unsplash photo is on a hundred competitor sites; even a crop change differentiates.-2. **Match tone to brief.** Enterprise / B2B: neutral palettes, natural lighting, real workspaces. Consumer / lifestyle: warm lighting, human emotion. Tech / startup: minimal backgrounds, hands-on interaction.-3. **Diverse representation.** Nappy.co is the best free source for intentional curation; Unsplash and Pexels carry diversity but require search effort.-4. **Aspect ratios that fit.** Hero photography typically wants 16/9 desktop, 4/3 or 9/16 mobile.--### Avoid--- **Photos with visible logos / trademarks**, copyright risk.-- **Over-processed HDR**, looks dated, unrealistic.-- **Staged "team photo" shots**, generic, reads as stock.-- **Unmodified Unsplash**, a hundred competitor sites used the same photo this week.-----+Change every stock photo (a crop, a grade, a duotone in the theme's inks), match its light to the scene sentence, and keep visible logos out. Never a stock face as social proof (F9), never staged team shots, never over-processed HDR.## Backgrounds-A background is a surface, not an asset: the paper token, a change of paper, or one texture artifact under the budget in [`texture.md`](texture.md). The demo-slot placeholders in `craft.md` § 8 are the only gradients the page needs. No mesh generators, no aurora blobs, no orbs, no starfields (29).-------## Lottie / Rive (last resort; craft tier-f)--### Canon--| Source | URL | Best for |-| --- | --- | --- |-| **[LottieFiles](https://lottiefiles.com)** | lottiefiles.com | The Lottie ecosystem. Free + pro tiers; npm + CDN; Figma plugin; AI creator. |-| **[Rive](https://rive.app)** | rive.app | Interactive real-time animations with state machines. Native runtime; better for app UI micro-interactions than Lottie. |--### The rules--1. **Lottie is last resort.** Reach for it only when complex character motion can't be hand-built. See [`custom-craft.md`](custom-craft.md) Tier F.-2. **Custom-commissioned over library pulls.** A LottieFiles community animation that fits your brand exists; one that fits *and* doesn't look like every other LottieFiles community animation is rare. Commission ($100-$300 on Upwork; $1,000+ from a studio) for hero work.-3. **< 2 MB file size.** Anything heavier loses to its own loading state.-4. **Pause / resume support.** Required for accessibility (motion-sensitive users need control).-5. **Reduced-motion fallback** to a static keyframe. Required.-6. **Don't use Lottie for what CSS can do.** Spinning logos, checkmark draws, loading spinners, hover micro-interactions, all CSS territory. The skill catches the "Lottie shortcut" anti-pattern in its slop test.--### Avoid+A background is a surface, not an asset: the paper token, a change of paper, or one `texture.md` artifact under its budget. No mesh generators, aurora blobs, orbs or starfields (29).-- **2019-era over-smooth animations.** Looks dated, lacks character.-- **Animations heavier than the page itself**, 5 MB Lottie files for a 200 KB page.-- **Animations without pause / resume**, accessibility fail.-- **LottieFiles community pulls used unmodified**, reads as "I picked this from a library".+## Lottie and Rive (tier F)----+Only for character-articulated motion that cannot be built in CSS or SVG; commission rather than pull a community file; under 2 MB; pause and resume controls; a static reduced-motion frame. Spinners, check draws and hover effects are CSS (F10).-## Quick-reference: which source for which job+## Which source for which job| Need | First reach | Second reach || --- | --- | --- |-| UI icon (chevron, check, X) | Lucide | Phosphor / Heroicons |-| Brand logo for a wall | Simple Icons | SVGL / theSVG |-| A hero illustration the brand owns | Hand-build (Tier A or B) | Commission custom |-| A hero illustration that's character-driven | Nanobanana 2 (generated still) | Commission, then library |-| An SVG-format illustration that needs to scale | Recraft V4 | Hand-build in Figma → SVG |-| A photograph with diversity | Nappy.co | Unsplash with manual tone-tweak |-| A demo video of your product | Custom screen recording | (skip; no stock fits) |-| A textured background | one `texture.md` artifact under budget | nothing |-| A character animation | Custom Lottie commission | LottieFiles community + customise |-| A loading spinner | CSS conic-gradient | (don't reach for Lottie) |-| A checkmark draw on confirm | SVG `stroke-dasharray` | (don't reach for Lottie) |--When in doubt, build it.+| UI icon | Lucide | Phosphor or Heroicons |+| A customer logo | The user's file | Simple Icons |+| An illustration the brand owns | Hand-built, tier A or B | Commissioned |+| A character illustration | Generated still, post-processed | Commissioned, then a library |+| A photograph | The user's | Stock, changed |+| A product demo | The user's screen recording | A slot |+| A texture | One `texture.md` artifact | Nothing |+| A loader or a check draw | CSS or SVG `stroke-dasharray` | Never Lottie |diff --git a/skills/hallmark/references/brand-truth.md b/skills/hallmark/references/brand-truth.mdindex 38bf918..448dd7e 100644--- a/skills/hallmark/references/brand-truth.md+++ b/skills/hallmark/references/brand-truth.md@@ -1,6 +1,6 @@-# Brand truth - never theme a real brand from memory+# Brand truth: never theme a real brand from memory-Loaded when the brief names a REAL company or brand to build for ("a page for Stripe's docs team", "our site - we're Arc", a company URL as the subject). It is narrow: capture the brand's actual colour and type facts before theming, because model-memory hex values are confidently wrong. **A brand colour recalled from training data is a named failure: memory hex = fail.**+Loaded when the brief names a real company or brand to build for ("a page for Stripe's docs team", "our site, we're Arc", a company URL as the subject). It is narrow: capture the brand's actual colour and type facts before theming, because model-memory hex values are confidently wrong. **A brand colour recalled from training data is a named failure: memory hex = fail.**## The protocol@@ -9,13 +9,13 @@ Loaded when the brief names a REAL company or brand to build for ("a page for St3. **Extract, mechanically:**- Colours: every hex / rgb / hsl / oklch literal in the fetched CSS plus `<meta name="theme-color">`; cluster to the 3-6 recurring values; identify the primary (most-used saturated value on interactive elements) and the surface family.- Type: `font-family` declarations and any Google Fonts / font-service CSS family names (names only, never binaries).- - Logo: a pointer via [`assets.md`](assets.md) § Brand logos canon (official asset page, Simple Icons, SVGL); never hotlink from an unrelated site, never redraw a real mark.+ - Logo: a pointer via [`assets.md`](assets.md) § Brand and customer logos (the brand's own media page, Simple Icons, SVGL); never hotlink from an unrelated site, never redraw a real mark.4. **Record** `.hallmark/brand-spec.md`:```markdown# Brand spec · <brand> · fetched <date>source: <URL> (+ CSS files read)-primary: #635bff (buttons, links - 41 uses)+primary: #635bff (buttons and links, 41 uses)surface: #ffffff / #f6f9fcink: #0a2540fonts: sohne-var (declared), fallback ui-sans-serif@@ -27,11 +27,11 @@ attestation: derived from the fetched sources above, not from memory## Caching and staleness-The spec caches like `preflight.json`: re-used on later runs; refresh when the user says "refresh brand" or the fetch is older than 90 days (say so in one line). It is pre-flight signal source 0.5: design.md still outranks it (a locked system wins over a fetched guess at one).+The spec caches like `preflight.json`: re-used on later runs; refresh when the user says "refresh brand" or the fetch is older than 90 days (say so in one line). It ranks second in the pre-flight: `design.md` still outranks it (a locked system wins over a fetched guess at one).## When fetching is impossible-No fetch tool, blocked site, or the user declines: ask ONCE, in one line - *"I will not guess brand colours from memory. Paste the primary hex (and fonts if you know them), or say 'no brand lock' to build free."* Proceed only on supplied or user-confirmed values; otherwise theme without brand claims (no "brand blue", no company name in the palette comments).+No fetch tool, blocked site, or the user declines: ask once, in one line: *"I will not guess brand colours from memory. Paste the primary hex (and fonts if you know them), or say 'no brand lock' to build free."* Proceed only on supplied or user-confirmed values; otherwise theme without brand claims (no "brand blue", no company name in the palette comments).## What this protocol never doesdiff --git a/skills/hallmark/references/comp.md b/skills/hallmark/references/comp.mdindex 2875734..44d305b 100644--- a/skills/hallmark/references/comp.md+++ b/skills/hallmark/references/comp.md@@ -1,4 +1,4 @@-# Comp before build - composing in pixels before composing in CSS+# Comp before build: composing in pixels before composing in CSSLoaded at the comp step after the Picks block, and **only** when the pre-flight found both `TOGETHER_API_KEY` and `scripts/imagegen.mjs`. With no key this file never loads, the step never runs, and the build goes from the Picks block straight to Step 6. The comp step is never a blocker, never a dependency, and never something to apologise for skipping.@@ -24,7 +24,7 @@ Loaded at the comp step after the Picks block, and **only** when the pre-flightTwo comps, three when the direction genuinely forks. One is not a choice and four is a shopping trip.```-node scripts/imagegen.mjs "<prompt>" --size 1280x800 --n 1 --out .hallmark/comps/c1.png+node <skill-dir>/scripts/imagegen.mjs "<prompt>" --size 1280x800 --n 1 --out .hallmark/comps/c1.png```The prompt is built from the direction contract, not from the brief. A prompt that reads like the brief produces the category default in pixels, which is the exact thing R.1 spent its budget refusing. Carry, in this order: the **scene sentence** (R.5), the **direction** in three or four words, the **paper and accent** as plain colour words, the **display class** (not the face name; no generator knows Erode), and the **macrostructure** as a compositional instruction. Then one negative clause naming what the category does, so the generator is pushed off it too.diff --git a/skills/hallmark/references/component-cookbook.md b/skills/hallmark/references/component-cookbook.mdindex 2a52ed4..88811e5 100644--- a/skills/hallmark/references/component-cookbook.md+++ b/skills/hallmark/references/component-cookbook.md@@ -1,14 +1,14 @@# Component cookbook-Fifty component archetypes you can compose into any page shape. Every entry: a *shape*, a one-line "use when", a one-line "don't confuse with", and a short structural sketch (DOM plus minimal CSS). Pick from this file when you are building a section and do not know which shape to reach for.+The component archetypes, one file each: what it is, *Use when*, *Not* (what it is mistaken for), a structural sketch, its knobs and, where something changes, a mobile line. Pick here when you are building a section and do not know which shape to reach for.The same page shape (say, Bento Grid) can be built from many combinations of these archetypes. The shape from `macrostructures.md` picks the *page*; this file picks the *components inside it*.----## Archetype index, load ONLY the picks you need+## Archetype index: load only the picks you need-**Pick your archetype names here, then read ONLY those individual files** from `references/components/`. Do not load the whole cookbook. A build has five to eight sections chosen for the brief, footer included, and no default sequence: the hero, the sections and the footer are each decided, and a nav only when the page needs one.+**Pick your archetype names here, then read only those files** from `references/components/`. Do not load the whole cookbook. A build has four to eight sections chosen for the brief, footer included, and no default sequence: the hero, the sections and the footer are each decided, and a nav only when the page needs one.### Heroes@@ -31,7 +31,7 @@ The same page shape (say, Bento Grid) can be built from many combinations of the### Feature blocks-- **F1 · Bento grid.** An asymmetric grid of 8 to 15 tiles in mixed spans (1×1, 2×1, 1×2, 2×2). Visual rhythm from size. [`components/f1-bento-grid.md`](components/f1-bento-grid.md)+- **F1 · Bento grid.** An asymmetric grid of six to nine tiles in mixed spans (1×1, 2×1, 1×2, 2×2). Visual rhythm from size. [`components/f1-bento-grid.md`](components/f1-bento-grid.md)- **F2 · Sticky scroll stack.** A sticky left pane and a scrolling right pane that cycles through related screenshots. [`components/f2-sticky-scroll-stack.md`](components/f2-sticky-scroll-stack.md)- **F3 · Tabular spec sheet.** Each row is a feature; columns hold name, value, footnote. Hairline rules between rows, tabular numerals. [`components/f3-tabular-spec-sheet.md`](components/f3-tabular-spec-sheet.md)- **F4 · Step sequence.** Numbered stages flow vertically. Each stage has a heading, a paragraph, sometimes a small visual. [`components/f4-step-sequence.md`](components/f4-step-sequence.md)@@ -41,9 +41,9 @@ The same page shape (say, Bento Grid) can be built from many combinations of the### CTAs / signups- **C1 · Outlined chip.** A bordered, transparent button with a typographic verb ("Save changes"). [`components/c1-outlined-chip.md`](components/c1-outlined-chip.md)-- **C2 · Inline form as CTA**: The CTA is the form, one email field and a verb button on the same rule. No separate sign-up page. [`components/c2-inline-form-as-cta.md`](components/c2-inline-form-as-cta.md)-- **C3 · Typographic link**: A verb phrase with a 1px underline. No box, no fill, no arrow. [`components/c3-typographic-link.md`](components/c3-typographic-link.md)-- **C4 · Sticky bottom bar.** A horizontal bar pinned to the viewport bottom, holding a CTA and a brief reassurance line. [`components/c4-sticky-bottom-bar.md`](components/c4-sticky-bottom-bar.md)+- **C2 · Inline form as CTA.** The CTA is the form, one email field and a verb button on the same rule. No separate sign-up page. [`components/c2-inline-form-as-cta.md`](components/c2-inline-form-as-cta.md)+- **C3 · Typographic link.** A verb phrase with a 1px underline. No box, no fill, no arrow. [`components/c3-typographic-link.md`](components/c3-typographic-link.md)+- **C4 · Sticky bottom bar.** A horizontal bar pinned to the viewport bottom, holding a CTA and one fact. [`components/c4-sticky-bottom-bar.md`](components/c4-sticky-bottom-bar.md)### Testimonials / proof@@ -63,18 +63,18 @@ Every block here is built from the user's material: their quote, their name, the- **Ft5 · Statement.** One large display sentence dominates the footer: a concrete closing line, not a sitemap. Wordmark, minimal links and copyright sit beneath, a step smaller. [`components/ft5-statement.md`](components/ft5-statement.md)- **Ft6 · Letter close.** Closes the page like a letter: a sign-off, a name, a date. Optional postscript beneath. Sets the page as a piece of writing rather than a product. [`components/ft6-letter-close.md`](components/ft6-letter-close.md)- **Ft7 · Newsletter first.** The form (label, input, submit) is the *primary* element of the footer; wordmark, links and copyright sit beneath, a step smaller. For brands that publish and have already offered a subscription above. [`components/ft7-newsletter-first.md`](components/ft7-newsletter-first.md)-- **Ft8 · Marquee scroll.** A horizontal infinite-scroll line repeating one short phrase in sentence case with a dot between repeats, paused on hover and focus. Sport, manifesto and playful voices. [`components/ft8-marquee-scroll.md`](components/ft8-marquee-scroll.md)+- **Ft8 · Marquee scroll.** A horizontal infinite-scroll line repeating one short phrase in sentence case with a dot between repeats, paused on hover and focus and by a visible control; loud voices on a theme that allows an ambient loop. [`components/ft8-marquee-scroll.md`](components/ft8-marquee-scroll.md)### Navigation- **N2 · Floating chip.** A small fixed chip in a corner: wordmark and a single action ("Try it"). Does not sit in document flow. [`components/n2-floating-chip.md`](components/n2-floating-chip.md)-- **N3 · Side rail.** A thin vertical strip on the left edge, wordmark rotated, plus named section links with `aria-current`; never the default nav, only where a sticky object earns it. [`components/n3-side-rail.md`](components/n3-side-rail.md)-- **N5 · Floating pill.** A content-sized pill detached from the edges, blur backdrop, hairline ring; from the first paint, or morphing from a full bar once the reader scrolls (one DOM, one curve, constant height). [`components/n5-floating-pill.md`](components/n5-floating-pill.md)+- **N3 · Side rail.** A thin vertical strip on one edge, wordmark rotated, plus named section links with `aria-current`; never the default nav, only where a sticky object earns it. [`components/n3-side-rail.md`](components/n3-side-rail.md)+- **N5 · Floating pill.** A content-sized pill detached from the edges, in a hairline ring on solid paper (a backdrop blur only on atmospheric pages); from the first paint, or morphing from a full bar once the reader scrolls (one DOM, one curve, constant height). [`components/n5-floating-pill.md`](components/n5-floating-pill.md)- **N6 · Newspaper masthead.** Full-width header: a large centred wordmark on the top row, a thin issue and date line above or below in the body face, an optional inline link row beneath, a double rule under the whole thing. [`components/n6-newspaper-masthead.md`](components/n6-newspaper-masthead.md)-- **N7 · Brutal slab.** A heavy, full-width nav with a 2px solid border-bottom, an all-caps wordmark and a heavy sentence-case link row; dense rhythm, no shadow, no rounded corners. [`components/n7-brutal-slab.md`](components/n7-brutal-slab.md)+- **N7 · Brutal slab.** A heavy, full-width nav with a 2px solid border-bottom, a wordmark that may be capitals and a heavy sentence-case link row; dense rhythm, no shadow, no rounded corners. [`components/n7-brutal-slab.md`](components/n7-brutal-slab.md)- **N8 · Terminal command.** A nav formatted as a CLI prompt: `> studio --catalog --voice --get`. The links are command flags; a cursor may end the typed line and nothing else on the page blinks. [`components/n8-terminal-command.md`](components/n8-terminal-command.md)- **N9 · Edge-aligned.** Wordmark at one edge, one action or two text links at the other, nothing between. The first nav for a page with one or two destinations. [`components/n9-edge-aligned-minimal.md`](components/n9-edge-aligned-minimal.md)-- **N1 · Three-section bar.** Wordmark left, a centred cluster of three to five links (some with small dropdowns), sign-in and one filled action right. The reflex product bar (42): only for four or more real top-level destinations, named in the stamp. [`components/n1-three-section-bar.md`](components/n1-three-section-bar.md)+- **N1 · Three-section bar.** Wordmark left, a centred cluster of three to five links (some with small dropdowns), sign-in and one quiet action right. The reflex product bar (42): only for four or more real top-level destinations, named in the stamp. [`components/n1-three-section-bar.md`](components/n1-three-section-bar.md)- **N11 · Mega-menu panel.** A top bar whose triggers open a full-width multi-column panel (icon, title and description per item, grouped, plus a feature card); the page dims behind a scrim. For platforms and hubs with many grouped destinations. [`components/n11-mega-menu.md`](components/n11-mega-menu.md)- **N12 · Announcement banner + retracting nav.** A coloured promo banner stacked above one real nav; the banner retracts on scroll-down, returns on scroll-up, dismisses via ×. The banner is not a second nav (colour contrast keeps them distinct). [`components/n12-banner-retract.md`](components/n12-banner-retract.md)- **N13 · Command palette.** A spotlight dialog of grouped, keyboard-navigable results opened by ⌘K; triggered by a visible search pill in the bar, or by one small `Menu ⌘K` control with no other nav for keyboard-first audiences. [`components/n13-inline-cmdk-pill.md`](components/n13-inline-cmdk-pill.md)@@ -150,7 +150,7 @@ Two breakpoints to know:- **60rem (about 960px)**: the *layout* breakpoint. Multi-column grids collapse to a single column. Tilts and clip effects drop. Sticky panes unstick.- **40rem (about 640px)**: the *typography* breakpoint. Display sizes shrink one step. Side-margin labels move inline. Annotations consolidate.-Below 60rem the archetype must still feel like itself (same hierarchy, same tone, same rhythm) in a stacked single-column form. Below 40rem the page is a phone; treat space like a luxury.+Below 60rem the archetype must still feel like itself (same hierarchy, same tone, same rhythm) in a stacked single-column form. Below 40rem the page is a phone: one column, the scaffold's 16px gutter, sections at `--section-gap`.An archetype file carries a mobile line only where something changes at one of these widths; no line means the sketch already stacks.diff --git a/skills/hallmark/references/components/c1-outlined-chip.md b/skills/hallmark/references/components/c1-outlined-chip.mdindex 14b3af3..dadb4ee 100644--- a/skills/hallmark/references/components/c1-outlined-chip.md+++ b/skills/hallmark/references/components/c1-outlined-chip.md@@ -7,10 +7,11 @@ A bordered, transparent button carrying the verb of the action ("Save changes").<a class="cta-outline" href="/studio">Open your studio</a>``````css-.cta-outline { display: inline-flex; align-items: center; min-height: 44px; padding: var(--space-sm) var(--space-lg); border: var(--rule-hair) solid var(--color-ink); border-radius: var(--radius-input); color: var(--color-ink); text-decoration: none; transition: background-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out); }-.cta-outline:hover { background: var(--color-paper-2); transform: translateY(-1px); }-.cta-outline:active { transform: translateY(0); }+.cta-outline { display: inline-flex; align-items: center; min-height: 44px; padding: var(--space-sm) var(--space-lg); border: var(--rule-hair) solid var(--color-ink); border-radius: var(--radius-input, var(--radius-card)); background: transparent; color: var(--color-ink); text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }+.cta-outline:hover { background: var(--color-paper-2); }+.cta-outline:active { transform: translateY(1px); }.cta-outline:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }+.cta-outline:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }```## Knobsdiff --git a/skills/hallmark/references/components/c2-inline-form-as-cta.md b/skills/hallmark/references/components/c2-inline-form-as-cta.mdindex 4034acd..dfe462a 100644--- a/skills/hallmark/references/components/c2-inline-form-as-cta.md+++ b/skills/hallmark/references/components/c2-inline-form-as-cta.md@@ -7,7 +7,7 @@ The CTA is the form: one email field and a verb button on the same rule. No sepa<form class="cta-form" method="post" data-endpoint=""><label for="email">Email address</label><input id="email" name="email" type="email" autocomplete="email" placeholder="[email protected]" required />- <button type="submit">Send the letter</button>+ <button class="btn" type="submit">Send the letter</button><p class="cta-form__help" aria-live="polite"></p></form>```@@ -20,7 +20,7 @@ The CTA is the form: one email field and a verb button on the same rule. No sepa.cta-form__help { grid-column: 1 / -1; min-height: 1lh; margin: 0; font-size: var(--text-sm); color: var(--color-muted); }```-`data-endpoint` stays empty until the brief gives the endpoint; until then the form validates and never prints a success (`craft.md` § 9, gate 70).+The button takes the page's control states (`patterns.md`) at the field's 44px. `data-endpoint` stays empty until the brief gives the endpoint; until then the form validates and says that nothing was sent, never a success (`craft.md` § 9, gate 70).## Knobsdiff --git a/skills/hallmark/references/components/f1-bento-grid.md b/skills/hallmark/references/components/f1-bento-grid.mdindex c03ec66..f106d23 100644--- a/skills/hallmark/references/components/f1-bento-grid.md+++ b/skills/hallmark/references/components/f1-bento-grid.md@@ -5,7 +5,7 @@ An asymmetric grid of six to nine tiles in mixed spans (1x1, 2x1, 1x2, 2x2). Rhy```html<section class="bento">- <article class="cell span-2x2"><h3>…</h3><figure data-slot="demo-2">…</figure></article>+ <article class="cell span-2x2"><h3>…</h3><figure data-slot="demo-2" data-alt="…">…</figure></article><article class="cell"><h3>…</h3><p>…</p></article><article class="cell span-2x1"><h3>…</h3><p>…</p></article></section>diff --git a/skills/hallmark/references/components/f2-sticky-scroll-stack.md b/skills/hallmark/references/components/f2-sticky-scroll-stack.mdindex 91dbf6c..409ff8d 100644--- a/skills/hallmark/references/components/f2-sticky-scroll-stack.md+++ b/skills/hallmark/references/components/f2-sticky-scroll-stack.md@@ -7,8 +7,8 @@ A sticky left pane and a right pane that scrolls through related captures.<section class="sticky-stack"><div class="pane-sticky"><h3>…</h3><p>…</p></div><div class="pane-scroll">- <figure data-slot="demo-2">…</figure>- <figure data-slot="demo-3">…</figure>+ <figure data-slot="demo-2" data-alt="…">…</figure>+ <figure data-slot="demo-3" data-alt="…">…</figure></div></section>```@@ -24,9 +24,9 @@ A sticky left pane and a right pane that scrolls through related captures.## Knobs- Pinned side: left · right-- Right pane: captures · code · diagram-- Steps: 3 · 4 · 5+- Scrolling pane: captures · code · diagram+- Steps: 2 · 3 · 4## Mobile-- Below 60rem: the pane unsticks; text and capture alternate in one column.+- Below 60rem: the pane unsticks and sits above its captures in one column.diff --git a/skills/hallmark/references/components/f3-tabular-spec-sheet.md b/skills/hallmark/references/components/f3-tabular-spec-sheet.mdindex d87bacf..482c790 100644--- a/skills/hallmark/references/components/f3-tabular-spec-sheet.md+++ b/skills/hallmark/references/components/f3-tabular-spec-sheet.md@@ -22,7 +22,7 @@ Each row is a feature: name, value, note. Hairline rules between rows, tabular n## Knobs-- Columns: 2 (name, value) · 3 (with unit) · 4 (with note)+- Columns: 2 (name, value) · 3 (with a note) · 4 (with a unit and a note)- Rules: every row · groups of three · head only## Mobilediff --git a/skills/hallmark/references/components/f4-step-sequence.md b/skills/hallmark/references/components/f4-step-sequence.mdindex 7d716f9..a55e77b 100644--- a/skills/hallmark/references/components/f4-step-sequence.md+++ b/skills/hallmark/references/components/f4-step-sequence.md@@ -1,7 +1,7 @@### F4 · Step sequenceNumbered stages flow vertically: a heading, one paragraph, sometimes a small visual.*Use when:* the product is a workflow, not a single moment.-*Not:* F2 (unnumbered, synced). The number is a `counter()` inline in the heading, never a typed span above it (54); it is set in the body face, never mono (64).+*Not:* F2 (unnumbered, synced). The number is a `counter()` inline in the heading, never a typed span above it (54); it takes the heading's face, never mono (64).```html<ol class="steps">diff --git a/skills/hallmark/references/components/f6-product-card-grid.md b/skills/hallmark/references/components/f6-product-card-grid.mdindex 467ea7d..1ba79a7 100644--- a/skills/hallmark/references/components/f6-product-card-grid.md+++ b/skills/hallmark/references/components/f6-product-card-grid.md@@ -1,12 +1,12 @@### F6 · Product card gridEach card is a product, not a feature: image, name, price, one small action. A shop floor, not a marketing site.-*Use when:* the brief is commerce, a catalogue, a lookbook, a marketplace: the page sells things.+*Use when:* the brief is commerce, a catalogue, a lookbook, a marketplace: the page sells things, and the user supplied the product photographs. Without them the range is a table of names and prices (the F3 spec sheet), never a grid of empty frames (68).*Not:* F1 (sells features; spans vary). Cards are uniform on purpose, the rhythm is the products. No two-line description under a name (the price is the description); no shadow plus radius plus border plus ribbon (one container signal); no image that scales on hover (11): the feedback is the action appearing on the card.```html<section class="product-grid"><article class="product">- <a class="product__media" href="/shop/linen-apron"><img src="" alt="" loading="lazy" /></a>+ <a class="product__media" href="/shop/linen-apron" aria-label="Linen apron, indigo"><img src="" alt="" loading="lazy" /></a><div class="product__meta"><h3 class="product__name">Linen apron, indigo</h3><p class="product__price num">…</p>@@ -20,9 +20,9 @@ Each card is a product, not a feature: image, name, price, one small action. A s.product { position: relative; display: grid; gap: var(--space-sm); }.product__media { display: block; aspect-ratio: 3 / 4; background: var(--color-paper-2); border-radius: var(--radius-card); overflow: hidden; }.product__media img { width: 100%; height: 100%; object-fit: cover; outline: 1px solid color-mix(in oklab, var(--color-ink) 6%, transparent); outline-offset: -1px; }-.product__name { margin: 0; font-family: var(--font-body); font-size: var(--text-md); font-weight: 500; }+.product__name { margin: 0; font-family: var(--font-body); font-size: var(--text-md); font-weight: 500; letter-spacing: 0; }.product__price { margin: 0; font-size: var(--text-sm); color: var(--color-ink-2); font-variant-numeric: tabular-nums; }-.product__add { position: absolute; top: var(--space-sm); right: var(--space-sm); min-height: 44px; padding: 0 var(--space-md); background: var(--color-paper); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-pill); cursor: pointer; opacity: 0; transition: opacity var(--dur-short) var(--ease-out); }+.product__add { position: absolute; top: var(--space-sm); right: var(--space-sm); min-height: 44px; padding: 0 var(--space-md); background: var(--color-paper); border: var(--rule-hair) solid var(--color-rule-2, var(--color-rule)); border-radius: var(--radius-pill); cursor: pointer; opacity: 0; transition: opacity var(--dur-short) var(--ease-out); }.product:hover .product__add, .product:focus-within .product__add { opacity: 1; }.product__add:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }@media (pointer: coarse) { .product__add { opacity: 1; } }@@ -35,10 +35,10 @@ Names and prices are the user's material; the price is a figure, so tabular nume## Knobs- Card ratio: 3/4 · 1/1 · 4/3-- Density: 3 up · 4 up+- Density: 3 up · 4 up, whichever leaves no orphan on the last row (F20)- Price: under the name · over the image- Action: Add · Save · none## Mobile-- Below 60rem: two up. Below 40rem: one up, the action always visible.+- Below 60rem: two up. Below 40rem: one up.diff --git a/skills/hallmark/references/components/ft1-mast-headed.md b/skills/hallmark/references/components/ft1-mast-headed.mdindex a51840a..7deb57e 100644--- a/skills/hallmark/references/components/ft1-mast-headed.md+++ b/skills/hallmark/references/components/ft1-mast-headed.md@@ -1,7 +1,7 @@### Ft1 · Mast-headedA wordmark and tagline anchor a single horizontal band. Two or three small links beside, address or licence below.*Use when:* the page has heavy content; the footer should be quiet and singular.-*Don't confuse with:* Ft2 Inline-rule (which is even more reduced).+*Not:* Ft2 (even more reduced).```html<footer class="foot-mast">@@ -27,4 +27,6 @@ A wordmark and tagline anchor a single horizontal band. Two or three small links- Tagline: italic display · roman body · none- Links: a row with gaps · a two-line stack · a vertical hairline between each-*Mobile:* below 60rem the grid stacks: wordmark, tagline, then the links wrapping to two lines.+## Mobile++- Below 60rem: the grid stacks into wordmark, tagline, then the links, which wrap to two lines.diff --git a/skills/hallmark/references/components/ft2-inline-rule-single-line.md b/skills/hallmark/references/components/ft2-inline-rule-single-line.mdindex 2ef69ac..24e6376 100644--- a/skills/hallmark/references/components/ft2-inline-rule-single-line.md+++ b/skills/hallmark/references/components/ft2-inline-rule-single-line.md@@ -1,7 +1,7 @@### Ft2 · Inline-rule single lineA single horizontal line of credits, address and copyright, each its own element with air between. Hairline rule above. No columns, no middle dots (63).-*Use when:* the page is editorial and the footer is an afterthought.-*Don't confuse with:* Ft4 Dense typographic (which packs more in).+*Use when:* the footer states a few facts and navigates nowhere: a product page, or an editorial page whose footer is an afterthought.+*Not:* Ft4 (packs more in).```html<footer class="foot-line">@@ -17,8 +17,10 @@ A single horizontal line of credits, address and copyright, each its own element## Knobs-- Order: wordmark, links, credit · credit, wordmark, links-- Separator: the gap · a vertical hairline (`border-inline-start` on each `p` after the first) · a line break each+- Order: copyright, address, licence · address, licence, copyright+- Separator: the gap · a vertical hairline (`border-inline-start` on each `p` after the first)- Density: dense · spaced-*Mobile:* below 40rem the items stack into a vertical list and the hairline separator becomes a soft return.+## Mobile++- Below 40rem: the items stack, one per line, and the vertical hairlines drop.diff --git a/skills/hallmark/references/components/ft3-index-style-category-list.md b/skills/hallmark/references/components/ft3-index-style-category-list.mdindex 616a6e7..579b30e 100644--- a/skills/hallmark/references/components/ft3-index-style-category-list.md+++ b/skills/hallmark/references/components/ft3-index-style-category-list.md@@ -1,7 +1,7 @@### Ft3 · Index-style category listThree or four short columns, each headed by a category in the body face one weight up, holding four to six links each, and a colophon line beneath. This is the reflex footer (gate 42): it ships only on a documentation root or a hub with a genuine sitemap, with the site's own category nouns, never a `Product, Company, Resources` set chosen because it is the shape.*Use when:* the page is a docs root or a hub and the visitor arrives to navigate.-*Don't confuse with:* Ft4 Dense typographic (which is one block, not columns).+*Not:* Ft4 (one block, not columns).```html<footer class="foot-index">@@ -14,7 +14,7 @@ Three or four short columns, each headed by a category in the body face one weig``````css.foot-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); padding: var(--space-2xl) var(--gutter); border-top: var(--rule-hair) solid var(--color-rule); }-.foot-index h2 { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600; margin: 0 0 var(--space-sm); }+.foot-index h2 { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0; margin: 0 0 var(--space-sm); }.foot-index ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-xs); font-size: var(--text-sm); }.foot-index__colophon { grid-column: 1 / -1; font-size: var(--text-sm); color: var(--color-muted); margin: var(--space-lg) 0 0; }```@@ -25,4 +25,6 @@ Three or four short columns, each headed by a category in the body face one weig- Heading style: a heavier weight · ink over muted links · a hairline beneath- Colophon: one line · a rule then the line-*Mobile:* below 60rem four columns become two; below 40rem one, with the column heads kept.+## Mobile++- Below 60rem: four columns become two. Below 40rem: one column, the column heads kept.diff --git a/skills/hallmark/references/components/ft4-dense-typographic.md b/skills/hallmark/references/components/ft4-dense-typographic.mdindex 4e93468..a75e460 100644--- a/skills/hallmark/references/components/ft4-dense-typographic.md+++ b/skills/hallmark/references/components/ft4-dense-typographic.md@@ -1,11 +1,11 @@### Ft4 · Dense typographic-One block of text, credits, references, licence and address, in the body face a step smaller, ragged-right or justified with `hyphens: auto`. A colophon, not a sitemap. Mono only when mono is the theme's material (64).+One block of text (credits, references, licence, address) in the body face a step smaller, ragged-right or justified with `hyphens: auto`. A colophon, not a sitemap. Mono only when mono is the theme's material (64).*Use when:* the brand is editorial and a colophon-style sign-off fits.-*Don't confuse with:* Ft3 Index (which navigates).+*Not:* Ft3 (which navigates).```html<footer class="foot-dense">- <div class="foot-dense__inner"><p>Set in the display and body faces named in the stamp. MIT licensed. 137 Marlow Street, 2026.</p></div>+ <div class="foot-dense__inner"><p>MIT licensed. 137 Marlow Street, 2026. Set in … and …</p></div></footer>``````cssdiff --git a/skills/hallmark/references/components/ft5-statement.md b/skills/hallmark/references/components/ft5-statement.mdindex 190c6ef..df7af89 100644--- a/skills/hallmark/references/components/ft5-statement.md+++ b/skills/hallmark/references/components/ft5-statement.md@@ -1,7 +1,7 @@### Ft5 · StatementOne large display sentence dominates the footer: a closing line, not a sitemap. Wordmark, minimal links and copyright sit beneath in the body face, a step smaller. The sentence is concrete and pairs with the page's argument; a slogan is gate 19 filler.*Use when:* the page wants a *closing line*: editorial, manifesto, atmospheric, and still has a fact it has not used; on a thin brief whose facts are all spent, Ft2's one line instead.-*Don't confuse with:* Ft1 Mast-headed (which leads with the wordmark, not a sentence).+*Not:* Ft1 (leads with the wordmark, not a sentence); a docs root or hub, where the sentence is marketing and Ft3 fits.```html<footer class="foot-stmt">@@ -15,17 +15,17 @@ One large display sentence dominates the footer: a closing line, not a sitemap.``````css.foot-stmt { padding: var(--space-2xl) var(--gutter) var(--space-xl); display: grid; gap: var(--space-lg); }-.foot-stmt__line { font-family: var(--font-display); font-size: clamp(1.75rem, 5vw, 3.25rem); line-height: 1.0; letter-spacing: -0.02em; max-width: 28ch; margin: 0; overflow-wrap: break-word; min-width: 0; }+.foot-stmt__line { font-family: var(--font-display); font-size: clamp(1.75rem, 5vw, 3.25rem); line-height: 1.0; letter-spacing: var(--tracking-display); max-width: 28ch; margin: 0; overflow-wrap: break-word; min-width: 0; }.foot-stmt__meta { display: flex; gap: var(--space-xl); align-items: baseline; padding-block-start: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }.foot-stmt__meta .wordmark { margin-inline-end: auto; color: var(--color-ink); }```-*Anti-pattern:* a Statement footer on a docs root or hub, where the sentence is marketing; take Ft3 there.-## Knobs- Sentence width: 28ch · 38ch · 50ch- Wordmark position: under the sentence · top-right · none- Rule above meta: hairline · double · none-*Mobile:* below 60rem the sentence stays full width and the meta row stacks.+## Mobile++- Below 60rem: the meta row stacks.diff --git a/skills/hallmark/references/components/ft6-letter-close.md b/skills/hallmark/references/components/ft6-letter-close.mdindex 8cae9ad..b4d9c0b 100644--- a/skills/hallmark/references/components/ft6-letter-close.md+++ b/skills/hallmark/references/components/ft6-letter-close.md@@ -1,25 +1,23 @@### Ft6 · Letter closeCloses the page like a letter: a sign-off, a name, a date. Optional postscript beneath. Sets the page as a piece of writing rather than a product.*Use when:* the page voice is warm, hand-written, editorial-quiet (Garden, Atelier, personal sites).-*Don't confuse with:* Ft1 Mast-headed (which is a wordmark anchor, not a sign-off).+*Not:* Ft1 (a wordmark anchor, not a sign-off); a stat-led or B2B product page, where the voice turns twee.```html<footer class="foot-letter"><p class="foot-letter__close">Yours,<br><span class="foot-letter__sign">The studio, March 2026</span></p>- <p class="foot-letter__ps">P.S. Letters back are welcome at <a href="mailto:hello@studio">hello@studio</a>.</p>+ <p class="foot-letter__ps">P.S. Letters back are welcome at <a href="mailto:[email protected]">[email protected]</a>.</p></footer>``````css-.foot-letter { padding: var(--space-2xl) var(--gutter); max-width: 60ch; }+.foot-letter { padding: var(--space-2xl) var(--gutter); }.foot-letter__close { font-family: var(--font-display); font-style: italic; font-size: var(--text-lg); line-height: 1.4; margin: 0; }.foot-letter__sign { font-style: normal; font-weight: 600; }-.foot-letter__ps { font-size: var(--text-sm); color: var(--color-muted); margin: var(--space-md) 0 0; }+.foot-letter__ps { max-width: 60ch; font-size: var(--text-sm); color: var(--color-muted); margin: var(--space-md) 0 0; }```-*Anti-pattern:* Ft6 on a stat-led or B2B product page, where the mismatched voice is twee. Reserve it for genuinely letter-shaped pages.-## Knobs- Sign-off: italic · roman · monogram- Postscript: yes · no-- Width: 45ch · 60ch · 75ch+- Measure: 45ch · 60ch · 75chdiff --git a/skills/hallmark/references/components/ft7-newsletter-first.md b/skills/hallmark/references/components/ft7-newsletter-first.mdindex 0cb7a0e..7e909af 100644--- a/skills/hallmark/references/components/ft7-newsletter-first.md+++ b/skills/hallmark/references/components/ft7-newsletter-first.md@@ -1,16 +1,17 @@### Ft7 · Newsletter-firstThe form (label, input, submit) is the *primary* element of the footer; wordmark, links and copyright sit beneath in the body face, a step smaller.*Use when:* the brand legitimately publishes and the page has *already* offered a subscription above the fold. The footer is a final invitation, not an ambush.-*Don't confuse with:* Ft1 (which asks for nothing).+*Not:* Ft1 (which asks for nothing); a page that never offered the subscription above, where the form is an ambush and Ft2 fits.```html<footer class="foot-news">- <form class="foot-news__form" action="/subscribe" method="post">- <label for="foot-email">Monthly letters from the studio</label>+ <form class="foot-news__form" method="post" data-endpoint="">+ <label for="foot-email">Email address, for the monthly letter</label><div class="foot-news__row"><input id="foot-email" name="email" type="email" required autocomplete="email"><button type="submit" class="cta-outline">Subscribe</button></div>+ <p class="foot-news__help" aria-live="polite"></p></form><ul class="foot-news__meta"><li class="wordmark">Studio</li>@@ -20,23 +21,25 @@ The form (label, input, submit) is the *primary* element of the footer; wordmark</footer>``````css-.foot-news { padding: var(--space-2xl) var(--gutter); display: grid; gap: var(--space-lg); max-width: 56ch; }+.foot-news { padding: var(--space-2xl) var(--gutter); display: grid; gap: var(--space-lg); }+.foot-news__form { max-width: 56ch; }.foot-news__form label { display: block; font-size: var(--text-sm); margin-block-end: var(--space-2xs); }.foot-news__row { display: flex; gap: var(--space-xs); }.foot-news__row input, .foot-news__row button { min-height: 44px; }-.foot-news__row input { flex: 1; min-width: 0; padding-inline: var(--space-sm); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-input); background: var(--color-paper); font-size: var(--text-md); }+.foot-news__row input { flex: 1; min-width: 0; padding-inline: var(--space-sm); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-input, var(--radius-card)); background: var(--color-paper); font-size: var(--text-md); }.foot-news__row input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }+.foot-news__help { min-height: 1lh; margin: var(--space-2xs) 0 0; font-size: var(--text-sm); color: var(--color-muted); }.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); }```-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.+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). `data-endpoint` stays empty until the brief gives the endpoint; until then the help line says that nothing was sent, never a success (70).## Knobs- Layout: stacked · inline · split (form left, meta right)-- Submit style: outline · typographic+- Submit style: outline · typographic · the filled primary, when the form is the page's main action- Privacy line under the form: yes · no-*Mobile:* below 40rem the input and button stack, each full width.+## Mobile++- Below 40rem: the input and button stack, each full width.diff --git a/skills/hallmark/references/components/ft8-marquee-scroll.md b/skills/hallmark/references/components/ft8-marquee-scroll.mdindex 5ec79b2..a66ec43 100644--- a/skills/hallmark/references/components/ft8-marquee-scroll.md+++ b/skills/hallmark/references/components/ft8-marquee-scroll.md@@ -1,33 +1,35 @@### Ft8 · Marquee scroll-A horizontal infinite-scroll line repeating one short phrase with a dot between repeats (the marquee's separator is the one legal middle dot, 63). Sentence case, untracked, in the display face. Pauses on hover and on focus (18).-*Use when:* the brand voice is loud and kinetic: sport, manifesto, playful.-*Don't confuse with:* Ft4 Dense colophon (which is static text).+A horizontal infinite-scroll line repeating one short phrase with a dot between repeats (a marquee's separator is a legal middle dot, 63). Sentence case, untracked, in the display face. It pauses on hover and on focus, and carries a visible pause control because it moves for longer than five seconds (18).+*Use when:* the voice is loud and kinetic and the theme's Motion section admits an ambient loop; the footer is then the page's one loop, 8s or slower a cycle.+*Not:* Ft4 (static text); a quiet or editorial page, or a theme that keeps still, where the motion is noise.```html-<footer class="foot-marquee" aria-label="Footer">+<footer class="foot-marquee" data-loop><div class="foot-marquee__track" aria-hidden="true"><span>Open all summer · Open all summer · Open all summer · Open all summer · </span><span>Open all summer · Open all summer · Open all summer · Open all summer · </span></div>+ <button class="foot-marquee__pause" type="button" data-loop-toggle>Pause</button><p class="visually-hidden">Studio, open all summer. MIT licensed.</p></footer>``````css.foot-marquee { overflow: clip; border-top: 2px solid var(--color-ink); }-.foot-marquee__track { display: flex; gap: var(--space-2xl); white-space: nowrap; padding-block: var(--space-md); animation: foot-marquee 32s linear infinite; }-.foot-marquee:hover .foot-marquee__track, .foot-marquee:focus-within .foot-marquee__track { animation-play-state: paused; }+.foot-marquee__track { display: flex; width: max-content; white-space: pre; padding-block: var(--space-md); animation: foot-marquee 32s linear infinite; }.foot-marquee__track span { font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 2.5vw, 1.5rem); }+.foot-marquee__pause { min-height: 44px; margin: 0 var(--gutter) var(--space-sm); padding: 0; background: none; border: 0; color: var(--color-muted); font-size: var(--text-sm); text-decoration: underline; text-underline-offset: 0.16em; cursor: pointer; transition: color var(--dur-short) var(--ease-out); }+.foot-marquee__pause:hover { color: var(--color-ink); }@keyframes foot-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }@media (prefers-reduced-motion: reduce) { .foot-marquee__track { animation: none; } }```-The two spans are identical so the loop is seamless at -50%. `html` and `body` still carry the page's `overflow-x: clip` (34); the footer's clip is local.--*Anti-pattern:* Ft8 in an editorial or quiet context, where the motion is noise. Pair it only with playful, sport or manifesto voices.+The two spans are identical and the track is exactly as wide as they are (`max-content`, no gap, `pre` keeping the trailing space), so the loop is seamless at -50%. `html` and `body` still carry the page's `overflow-x: clip` (34); the footer's clip is local. The pause, the hover and focus holds and the off-screen stop are the loop contract in `patterns.md` § A loop that can pause.## Knobs-- Speed: 24s · 32s · 48s+- Speed: 24s · 32s · 48s a cycle- Direction: left · right-*Mobile:* below 60rem the speed slows by about a quarter; below 40rem the track height steps down.+## Mobile++- Below 60rem: the cycle runs about a quarter longer, so the phrase stays readable on a narrow screen.diff --git a/skills/hallmark/references/components/h1-marquee.md b/skills/hallmark/references/components/h1-marquee.mdindex 8d9e41c..0c3b301 100644--- a/skills/hallmark/references/components/h1-marquee.md+++ b/skills/hallmark/references/components/h1-marquee.md@@ -6,7 +6,7 @@ A single statement fills the fold; one sentence and one action sit small at its```html<section class="hero-marquee"><h1 class="display-xxl">…</h1>- <div class="hero-marquee__foot"><p>…</p><a class="link-verb" href="#">…</a></div>+ <div class="hero-marquee__foot"><p>…</p><a class="link" href="#">…</a></div></section>``````css@@ -17,7 +17,7 @@ A single statement fills the fold; one sentence and one action sit small at its## Knobs-- Size: 7rem for a single word · 5.5rem for a line+- Size: the poster clamp shown (`craft.md` § 1) for a head of 20 characters or fewer · `var(--text-display)` for 21 to 50, so the fold still holds the sentence and the action (44b)- Alignment: left · centred · right- Rule: none · one hairline above · one hairline belowdiff --git a/skills/hallmark/references/components/h2-split-diptych.md b/skills/hallmark/references/components/h2-split-diptych.mdindex 5fff57a..2e45520 100644--- a/skills/hallmark/references/components/h2-split-diptych.md+++ b/skills/hallmark/references/components/h2-split-diptych.md@@ -7,15 +7,16 @@ Headline, one sentence and the action on one side; one visual on the other, besi<section class="hero-split"><div class="hero-split__copy"><h1>…</h1><p>…</p><a class="btn btn--primary" href="#">…</a></div><figure class="hero-split__visual">- <div class="hero-split__media" data-slot="hero"><!-- the user's material, or the theme's placeholder (craft.md § 8) --></div>+ <div class="hero-split__media" data-slot="hero" data-alt="…"><!-- the user's material, or the theme's placeholder (craft.md § 8) --></div><figcaption>…</figcaption></figure></section>``````css.hero-split { min-height: 80dvh; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; padding-block: var(--space-2xl) var(--space-3xl); }+.hero-split__copy { display: grid; gap: var(--space-md); justify-items: start; }.hero-split__visual { margin: 0; display: grid; gap: var(--space-sm); }-.hero-split__media { aspect-ratio: 16 / 10; border-radius: min(1vw, 12px); outline: 1px solid color-mix(in oklab, var(--color-ink) 8%, transparent); outline-offset: -1px; }+.hero-split__media { aspect-ratio: 16 / 10; border-radius: min(1vw, var(--radius-card)); outline: 1px solid color-mix(in oklab, var(--color-ink) 8%, transparent); outline-offset: -1px; }.hero-split__visual figcaption { font-size: var(--text-sm); color: var(--color-muted); }@media (max-width: 60rem) { .hero-split { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } }```@@ -26,9 +27,9 @@ The caption sits outside the slot, so the slot script does not hide it when thePick one; its recipe is the enrichment file, read only that one.-- **Capture plate.** One real screenshot, set like a plate in a catalogue, a hairline inset at most: no browser bar, traffic lights, tilt or stack (47a, 47b). Recipe: [`enrichment/e4-floating-no-frame.md`](../enrichment/e4-floating-no-frame.md).-- **Clipped demo video.** The user's footage, its outer 10 to 20% running past the viewport edge (`margin-inline-end: calc(-1 * min(12vw, 12rem))`, the section keeps `overflow: visible`, the page clips at `html` and `body`, 34). Recipe: [`enrichment/e1-clipped-demo-video.md`](../enrichment/e1-clipped-demo-video.md).-- **Built illustration.** One hand-built SVG or CSS shape that is the brand's own thing (a loaf, a mark, a process), fills from tokens (48), an `aria-label` or `aria-hidden` (33), never a library illustration (F10). Recipe: [`enrichment/e5-custom-illustration-centerpiece.md`](../enrichment/e5-custom-illustration-centerpiece.md).+- **Capture plate.** One real screenshot, set like a plate in a catalogue, a hairline inset at most, a slight tilt only as E4's knob: no browser bar, traffic lights or stack (47a, 47b). Recipe: [`enrichment/e4-floating-no-frame.md`](../enrichment/e4-floating-no-frame.md).+- **Clipped demo video.** The user's footage, its outer 10 to 20% running past the viewport edge at every width, the section keeping `overflow: visible` and the page clipping at `html` and `body` (34); the sizing is in the recipe. Recipe: [`enrichment/e1-clipped-demo-video.md`](../enrichment/e1-clipped-demo-video.md).+- **Built illustration.** One hand-built SVG or CSS shape that is the brand's own thing (a loaf, a mark, a process), fills from tokens (48), an `aria-label` or `aria-hidden` (33), never a library illustration. Recipe: [`enrichment/e5-custom-illustration-centerpiece.md`](../enrichment/e5-custom-illustration-centerpiece.md).- **Photograph.** The user's photograph, cropped tighter than feels safe, toned toward the paper. Recipe: [`enrichment/e8-hero-photography.md`](../enrichment/e8-hero-photography.md).## Knobsdiff --git a/skills/hallmark/references/components/h3-quote-led.md b/skills/hallmark/references/components/h3-quote-led.mdindex 32f1565..5a0ad0c 100644--- a/skills/hallmark/references/components/h3-quote-led.md+++ b/skills/hallmark/references/components/h3-quote-led.md@@ -5,14 +5,14 @@ A pull quote with its attribution is the hero. The headline is borrowed.```html<section class="hero-quote">- <blockquote class="hero-quote__text"><p>“…”</p></blockquote>+ <blockquote class="hero-quote__text"><p>…”</p></blockquote><p class="hero-quote__by"><cite>…</cite></p><a class="link" href="#">Read the case</a></section>``````css.hero-quote { min-height: 70dvh; display: grid; align-content: center; gap: var(--space-lg); padding: var(--space-2xl) var(--gutter); }-.hero-quote__text { margin: 0; font-family: var(--font-display); font-size: var(--text-display-s); line-height: 1.1; max-width: 24ch; }+.hero-quote__text { margin: 0; font-family: var(--font-display); font-size: var(--text-display-s); line-height: 1.1; letter-spacing: var(--tracking-display); max-width: 24ch; }.hero-quote__text p { position: relative; }.hero-quote__text p::before { content: "“"; position: absolute; transform: translateX(-100%); }.hero-quote__by { margin: 0; font-size: var(--text-sm); color: var(--color-muted); }@@ -23,7 +23,7 @@ A pull quote with its attribution is the hero. The headline is borrowed.- Quote face: display roman · display italic (whole quote) · body, large- Attribution: beneath · margin aligned · right flush-- Length: 80 characters or fewer · 80 to 160+- Length: 80 characters or fewer · 81 to 160## Mobilediff --git a/skills/hallmark/references/components/h4-stat-led.md b/skills/hallmark/references/components/h4-stat-led.mdindex 089f540..6a0c3ad 100644--- a/skills/hallmark/references/components/h4-stat-led.md+++ b/skills/hallmark/references/components/h4-stat-led.md@@ -1,20 +1,20 @@### H4 · Stat led-One number the user gave is the hero, with its unit, one line saying what it measures, and its source (46b).+One number the user gave is the hero, with its unit; the `h1` beneath it says what the figure measures and where it comes from (46b).*Use when:* the user supplied one defensible, externally checkable figure.-*Not:* T4 (a row of several). Never a figure the build wrote (46a); without the user's number the slot stays labelled and the page picks another hero.+*Not:* T4 (a row of several). Never a figure the build wrote (46a): without the user's number, the page picks another hero.```html<section class="hero-stat"><p class="hero-stat__figure num"><!-- the user's figure -->…<span class="hero-stat__unit">%</span></p>- <p class="hero-stat__line">…</p>+ <h1 class="hero-stat__line">…</h1><a class="cta-outline" href="#">…</a></section>``````css.hero-stat { min-height: 80dvh; display: grid; align-content: center; gap: var(--space-md); padding: var(--space-2xl) var(--gutter); }-.hero-stat__figure { margin: 0; font-family: var(--font-display); font-size: clamp(6rem, 16vw, 14rem); line-height: 0.9; letter-spacing: var(--tracking-display); font-variant-numeric: tabular-nums; }+.hero-stat__figure { margin: 0; font-family: var(--font-display); font-size: clamp(6rem, 16vw, 14rem); line-height: 1; letter-spacing: var(--tracking-display); font-variant-numeric: tabular-nums; }.hero-stat__unit { font-size: 0.5em; }-.hero-stat__line { margin: 0; max-width: 45ch; }+.hero-stat__line { margin: 0; max-width: 24ch; font-family: var(--font-display); font-size: var(--text-display-s); line-height: 1.1; letter-spacing: var(--tracking-display); }```## Knobsdiff --git a/skills/hallmark/references/components/h5-letter-hero.md b/skills/hallmark/references/components/h5-letter-hero.mdindex 6693d13..96e449a 100644--- a/skills/hallmark/references/components/h5-letter-hero.md+++ b/skills/hallmark/references/components/h5-letter-hero.md@@ -11,9 +11,9 @@ A first person opening, "Dear reader," then one paragraph. Reads as corresponden</section>``````css-.hero-letter { min-height: 70dvh; display: grid; align-content: center; gap: var(--space-lg); padding: var(--space-2xl) var(--gutter); max-width: 60ch; }+.hero-letter { min-height: 70dvh; display: grid; align-content: center; gap: var(--space-lg); padding: var(--space-2xl) var(--gutter); }.hero-letter__salute { margin: 0; font-family: var(--font-display); font-size: var(--text-xl); }-.hero-letter__body { margin: 0; font-size: var(--text-lg); line-height: 1.6; }+.hero-letter__body { margin: 0; max-width: 60ch; font-size: var(--text-lg); line-height: 1.6; }.hero-letter__sign { margin: 0; color: var(--color-muted); }```diff --git a/skills/hallmark/references/components/n1-three-section-bar.md b/skills/hallmark/references/components/n1-three-section-bar.mdindex 8974873..c8148eb 100644--- a/skills/hallmark/references/components/n1-three-section-bar.md+++ b/skills/hallmark/references/components/n1-three-section-bar.md@@ -1,5 +1,5 @@### N1 · Three-section bar-Wordmark hard left, a centred cluster of three to five links (one or two opening small dropdowns), a sign-in link and one filled action hard right. Dense and balanced; the structural opposite of N9.+Wordmark hard left, a centred cluster of three to five links (one or two opening small dropdowns), a sign-in link and one quiet action hard right (outlined: the filled primary belongs to the hero, `craft.md` § 9). Dense and balanced; the structural opposite of N9.*Use when:* a product page has several real destinations and one clear primary action.*Not:* N9 (one or two destinations at the far edge); N5 (a detached pill); N11 (full width panels). This is the reflex bar (42): reach for it only when the product has four or more real top-level destinations, name it in the stamp and move one knob. The cluster never collides with the brand or the action; if it cannot sit centred with room, drop to three links or use N9. A dropdown opens on hover and on focus, and closes on Escape.@@ -13,28 +13,29 @@ Wordmark hard left, a centred cluster of three to five links (one or two opening</div><a class="nav__link" href="/docs">Docs</a><a class="nav__link" href="/pricing">Pricing</a></nav>- <div class="nav__right"><a class="btn btn--text" href="/sign-in">Sign in</a><a class="btn btn--accent" href="/start">Start</a></div>+ <div class="nav__right"><a class="btn btn--text" href="/sign-in">Sign in</a><a class="btn btn--quiet" href="/start">Start</a></div></div></header>``````css.nav { position: fixed; inset: 0 0 auto; z-index: var(--z-sticky-nav); background: transparent; border-bottom: var(--rule-hair) solid transparent;transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }-.nav.is-scrolled { background: color-mix(in oklab, var(--color-paper) 72%, transparent); backdrop-filter: blur(18px) saturate(160%); border-bottom-color: var(--color-rule); }+.nav.is-scrolled { background: var(--color-paper); border-bottom-color: var(--color-rule); }.nav__inner { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); min-height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }.nav__brand { justify-self: start; } .nav__center { justify-self: center; display: flex; gap: var(--space-xs); } .nav__right { justify-self: end; display: flex; align-items: center; gap: var(--space-sm); }.nav__link { font-size: var(--text-sm); padding: var(--space-xs) var(--space-sm); background: none; border: 0; color: inherit; text-decoration: none; }.nav__dropdown { position: absolute; z-index: var(--z-dropdown); opacity: 0; visibility: hidden; transform: translateY(-6px);- transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out), visibility 0s linear var(--dur-short); }-.nav__item--menu:hover .nav__dropdown, .nav__item--menu:focus-within .nav__dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }+ transition: opacity calc(var(--dur-short) * 0.7) var(--ease-in), transform calc(var(--dur-short) * 0.7) var(--ease-in), visibility 0s linear calc(var(--dur-short) * 0.7); }+.nav__item--menu:hover .nav__dropdown, .nav__item--menu:focus-within .nav__dropdown { opacity: 1; visibility: visible; transform: none;+ transition-duration: var(--dur-short); transition-timing-function: var(--ease-out); transition-delay: 0s; }```-Scroll state: transparent at rest over the hero; past 24px it frosts (blur, hairline) and its padding tightens by 8px (the outer height stays constant, 10b). The handler is rAF-throttled and passive.+Scroll state: transparent over the hero, then the paper and its hairline once a 24px sentinel at the top of the page leaves view, watched by an IntersectionObserver (`craft.md` § 5).## Knobs- Centre links: 3 · 4 · 5- Dropdowns: none · 1 · 2-- Scroll state: frost on scroll · always solid · transparent, fixed+- Scroll state: paper once scrolled · paper from the first paint- Right pair: sign in and fill · fill only## Mobilediff --git a/skills/hallmark/references/components/n11-mega-menu.md b/skills/hallmark/references/components/n11-mega-menu.mdindex 3e1beb0..ecb0710 100644--- a/skills/hallmark/references/components/n11-mega-menu.md+++ b/skills/hallmark/references/components/n11-mega-menu.md@@ -10,7 +10,7 @@ A standard bar whose triggers open a full width, multi-column panel: an icon, a<nav class="nav__center" aria-label="Primary"><div class="mega" data-mega="products"><button class="nav__link" type="button" aria-controls="mega-products" aria-expanded="false">Products</button></div></nav>- <div class="nav__right"><a class="btn btn--accent" href="/start">Get started</a></div>+ <div class="nav__right"><a class="btn btn--quiet" href="/start">Open an account</a></div></div><div class="mega-panel" id="mega-products" data-panel="products"><div class="mega-panel__inner">@@ -24,17 +24,16 @@ A standard bar whose triggers open a full width, multi-column panel: an icon, a```css.nav { position: fixed; inset: 0 0 auto; z-index: var(--z-sticky-nav); }.mega-panel { position: absolute; top: 100%; left: 0; right: 0; z-index: var(--z-dropdown); opacity: 0; visibility: hidden; transform: translateY(-10px);- background: color-mix(in oklab, var(--color-paper) 96%, transparent); backdrop-filter: blur(20px) saturate(160%);- border-bottom: var(--rule-hair) solid var(--color-rule);- transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out), visibility 0s linear var(--dur-short); }-.mega-panel.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }+ background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule);+ transition: opacity calc(var(--dur-short) * 0.7) var(--ease-in), transform calc(var(--dur-short) * 0.7) var(--ease-in), visibility 0s linear calc(var(--dur-short) * 0.7); }+.mega-panel.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }.mega-panel__inner { max-width: var(--container); margin: 0 auto; padding: var(--space-xl) var(--gutter); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.1fr); gap: var(--gap-columns); }.mega-col__head { margin: 0 0 var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }.mega-link { display: flex; gap: var(--space-sm); padding: var(--space-xs); border-radius: var(--radius-card); text-decoration: none; }.mega-link:hover, .mega-link:focus-visible { background: var(--color-paper-2); }-.nav-scrim { position: fixed; inset: 0; z-index: var(--z-sticky); background: oklch(from var(--color-ink) l c h / 0.28); backdrop-filter: blur(2px);- opacity: 0; visibility: hidden; transition: opacity var(--dur-short) var(--ease-out), visibility 0s linear var(--dur-short); }-.nav-scrim.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }+.nav-scrim { position: fixed; inset: 0; z-index: var(--z-sticky); background: oklch(from var(--color-ink) l c h / 0.28);+ opacity: 0; visibility: hidden; transition: opacity calc(var(--dur-short) * 0.7) var(--ease-in), visibility 0s linear calc(var(--dur-short) * 0.7); }+.nav-scrim.is-active { opacity: 1; visibility: visible; transition: opacity var(--dur-short) var(--ease-out); }```JS: hover opens with a close grace of about `--dur-micro` so the pointer can travel into the panel; click toggles; Escape closes; one panel open at a time; the scrim and `aria-expanded` follow the state.@@ -43,7 +42,7 @@ JS: hover opens with a close grace of about `--dur-micro` so the pointer can tra- Columns: 2 · 3 · 4- Feature cell: none · a promoted item · a code sample-- Scrim: dim and blur · dim · none+- Scrim: dim · none- Opens on: hover and click · click only## Mobilediff --git a/skills/hallmark/references/components/n12-banner-retract.md b/skills/hallmark/references/components/n12-banner-retract.mdindex 1579f34..a03c71a 100644--- a/skills/hallmark/references/components/n12-banner-retract.md+++ b/skills/hallmark/references/components/n12-banner-retract.md@@ -17,9 +17,9 @@ A coloured banner stacked above one real nav. Scrolling down, the banner slides</header>``````css-:root { --banner-height: 42px; }+:root { --banner-height: 44px; --bar-height: 64px; }.nav { position: fixed; inset: 0 0 auto; z-index: var(--z-sticky-nav); transform: translateY(0); transition: transform var(--dur-long) var(--ease-out); }-.nav.is-compact { transform: translateY(calc(var(--banner-height) * -1)); } /* the banner hides, the bar docks to the top */+.nav.is-compact { transform: translateY(calc(var(--banner-height) * -1)); transition: transform calc(var(--dur-long) * 0.7) var(--ease-in); } /* the banner leaves, the bar docks to the top */.nav.is-dismissed { transform: none; }.nav.is-dismissed .nav__banner { display: none; }.nav__banner { height: var(--banner-height); display: flex; align-items: center; justify-content: center; gap: var(--space-sm); padding-inline: var(--gutter); background: var(--color-accent); color: var(--color-accent-ink); }@@ -27,19 +27,18 @@ A coloured banner stacked above one real nav. Scrolling down, the banner slides.nav__banner-link { color: inherit; }.nav__banner-x { min-width: 44px; height: var(--banner-height); background: none; border: 0; color: inherit; cursor: pointer; }.nav__bar { background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); }-.nav__bar-inner { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); min-height: 64px; display: flex; align-items: center; gap: var(--space-lg); }+.nav__bar-inner { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); min-height: var(--bar-height); display: flex; align-items: center; gap: var(--space-lg); }/* content clears both at rest; dismiss zeroes --banner-height so the calc reflows with no gap */-main { padding-top: calc(var(--banner-height) + 64px + var(--space-xl)); }+main { padding-top: calc(var(--banner-height) + var(--bar-height) + var(--space-xl)); }```-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).+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`. A second sticky element on the page docks under `calc(var(--banner-height) + var(--bar-height))` (56).## Knobs-- Banner fill: solid accent · tinted paper with ink+- Banner fill: solid accent (it counts toward the accent's footprint, 23) · tinted paper with ink- Dismiss: yes · none-- Bar on scroll: docks · docks and frosts-- Content: a launch line · a live status in a `role="status"` · a countdown to a real date+- Content: a launch line · a live status in a `role="status"` · the days left to a real date## Mobilediff --git a/skills/hallmark/references/components/n13-inline-cmdk-pill.md b/skills/hallmark/references/components/n13-inline-cmdk-pill.mdindex 1151fc8..69e2a7e 100644--- a/skills/hallmark/references/components/n13-inline-cmdk-pill.md+++ b/skills/hallmark/references/components/n13-inline-cmdk-pill.md@@ -13,24 +13,25 @@ A spotlight dialog with grouped, keyboard-navigable results, opened by ⌘K or C<nav class="nav__right" aria-label="Primary"><a class="nav__link" href="/docs">Docs</a><a class="btn btn--accent" href="/start">Start</a></nav></div></header><dialog class="cmdk" id="cmdk" aria-label="Search">- <form class="cmdk__field" method="dialog"><label for="cmdk-input" class="visually-hidden">Search</label><input id="cmdk-input" type="search" name="q" placeholder="Search the docs"><kbd>esc</kbd></form>+ <form class="cmdk__field" method="dialog"><label for="cmdk-input" class="visually-hidden">Search</label><input id="cmdk-input" type="search" name="q" placeholder="Search the docs"><kbd>Esc</kbd></form><div class="cmdk__results" role="listbox"><p class="cmdk__group">Suggested</p><button class="cmdk__item" type="button" role="option" aria-selected="true">…</button></div>- <p class="cmdk__foot"><span><kbd>↑</kbd><kbd>↓</kbd> move</span><span><kbd>↵</kbd> open</span><span><kbd>esc</kbd> close</span></p>+ <p class="cmdk__foot"><span><kbd>↑</kbd><kbd>↓</kbd> Move</span><span><kbd>↵</kbd> Open</span><span><kbd>Esc</kbd> Close</span></p></dialog>``````css.searchpill { display: flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-xs) 0 var(--space-sm); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); color: var(--color-muted); cursor: pointer;transition: border-color var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out); }-.searchpill:hover { border-color: var(--color-rule-2); }+.searchpill:hover { border-color: var(--color-rule-2, var(--color-muted)); }.searchpill:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }-.searchpill kbd, .cmdk kbd { font-family: var(--font-outlier); font-size: var(--text-xs); padding: 0 var(--space-2xs); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-input); }+.searchpill kbd, .cmdk kbd { font-family: var(--font-outlier); font-size: var(--text-xs); padding: 0 var(--space-2xs); border: var(--rule-hair) solid var(--color-rule-2, var(--color-rule)); border-radius: var(--radius-input, var(--radius-card)); }.cmdk { width: min(560px, calc(100% - var(--space-xl))); margin: 14vh auto 0; padding: 0; background: var(--color-paper); color: var(--color-ink); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }.cmdk::backdrop { background: oklch(from var(--color-ink) l c h / 0.28); }.cmdk[open] { animation: cmdk-in var(--dur-long) var(--ease-out); }-@keyframes cmdk-in { from { opacity: 0; transform: translateY(-8px) scale(0.96); } }+@keyframes cmdk-in { from { opacity: 0; transform: scale(0.96); } }@media (prefers-reduced-motion: reduce) { .cmdk[open] { animation: none; } }.cmdk__field { display: flex; align-items: center; gap: var(--space-sm); margin: 0; padding: var(--space-sm) var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }.cmdk__field input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; color: inherit; }+.cmdk__field input:focus-visible { outline-offset: -2px; }.cmdk__group { margin: 0; padding: var(--space-sm) var(--space-md) var(--space-2xs); font-size: var(--text-sm); color: var(--color-muted); }.cmdk__foot { display: flex; gap: var(--space-md); margin: 0; padding: var(--space-xs) var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-xs); color: var(--color-muted); }```diff --git a/skills/hallmark/references/components/n2-floating-chip.md b/skills/hallmark/references/components/n2-floating-chip.mdindex 85215c1..ac21597 100644--- a/skills/hallmark/references/components/n2-floating-chip.md+++ b/skills/hallmark/references/components/n2-floating-chip.md@@ -17,8 +17,4 @@ A small fixed chip in a corner: wordmark and one verb ("Try it"). Out of documen- Corner: top right · bottom left · bottom right- Content: one action · a theme switch · a search trigger-- Backdrop: solid paper · blur--## Mobile--- Below 40rem: the action keeps a 44px hit target; the chip sits inside the gutter.+- Surface: `--color-paper` · `--color-paper-2`diff --git a/skills/hallmark/references/components/n3-side-rail.md b/skills/hallmark/references/components/n3-side-rail.mdindex 6a39ca2..3ed2bcd 100644--- a/skills/hallmark/references/components/n3-side-rail.md+++ b/skills/hallmark/references/components/n3-side-rail.md@@ -1,7 +1,7 @@### N3 · Side railA thin vertical strip on one edge: the wordmark set vertically, then the page's sections as text links in the same writing mode, the current one in ink. Every link is a real section name; never an empty dot (33, 63).-*Use when:* a long, sectioned page where a sticky object (a ticket, a contents list) earns the rail. Never the default nav; a top bar is (N9, N1).-*Not:* N9 (horizontal). The wordmark is the only rotated text; rotated words with nothing to say are decoration (66).+*Use when:* a long, sectioned page where a sticky object (a ticket, a contents list) earns the rail. Never the default nav; a top bar is (N9).+*Not:* N9 (horizontal). The wordmark and the section names are the only rotated text; rotated words with nothing to say are decoration (66).```html<nav class="nav-rail" aria-label="Sections">@@ -24,7 +24,6 @@ body { padding-inline-start: 3rem; }## Knobs- Side: left · right-- Width: 3rem (names) · 12ch (names with a numeral)- Current: colour · a hairline beside the name## Mobilediff --git a/skills/hallmark/references/components/n5-floating-pill.md b/skills/hallmark/references/components/n5-floating-pill.mdindex f556d2e..4822c20 100644--- a/skills/hallmark/references/components/n5-floating-pill.md+++ b/skills/hallmark/references/components/n5-floating-pill.md@@ -1,12 +1,12 @@### N5 · Floating pill-A rounded, content-sized nav, visibly detached from the edges, `--space-md` from the top, a blurred backdrop and a hairline ring. It is a pill from the first paint, or it starts as a full bar and morphs into the pill once the reader scrolls.-*Use when:* modern-minimal or atmospheric pages where the hero has a surface or imagery for the blur to sit over, or a playful page with the pill on solid paper and no blur; the morph only when one kinetic moment earns its place on the page.+A rounded, content-sized nav, visibly detached from the edges, `--space-md` from the top, in a hairline ring. It is a pill from the first paint, or it starts as a full bar and morphs into the pill once the reader scrolls.+*Use when:* an atmospheric page, where the pill sits on the blurred backdrop shown, over the canvas; a modern-minimal or playful page takes the same pill on solid `--color-paper` with no `backdrop-filter`. The morph only when one kinetic moment earns its place on the page.*Not:* N9 (edge-aligned, in flow); N2 (a corner chip). A pill 95% of the viewport wide is a full width bar with round ends; if the links push it past 720px, drop a link or use N9.```html<nav class="nav-pill" aria-label="Primary"><a class="wordmark" href="/" aria-label="Studio, home">Studio</a>- <ul class="nav-pill__links"><li><a href="/catalog">Catalog</a></li><li><a href="/voice">Voice</a></li></ul>+ <ul class="nav-pill__links"><li><a href="/catalog">Catalogue</a></li><li><a href="/voice">Voice</a></li></ul><a class="btn btn--primary" href="/start">Start</a></nav>```@@ -35,24 +35,24 @@ One DOM, two visual modes: `.nav` (outer, `position: sticky; top: 0`) owns the b##### The four laws-**1. Total nav height stays constant.** If the outer's height changes when the state flips, every pixel below shifts and the page reads as jumping mid-scroll. Compensate the inner's shrink with the outer's `padding-block` so the sum is the same in both states (the 10b guard).+**1. Total nav height stays constant.** If the outer's height changes when the state flips, every pixel below shifts and the page reads as jumping mid-scroll. Compensate the inner's shrink with the outer's `padding-block` so the sum is the same in both states (the 10b guard): with a 44px control, the table below holds 68px either way.**2. The visible offset is `transform: translateY()`, never `padding` or `margin`.** The pill sits detached from the viewport top; adding padding to the outer breaks law 1. `transform` leaves layout alone: the pill drops visually and the box stays put.**3. Cross-fade ownership of every shared visual.** For every property the outer carries at rest (background, border, backdrop-filter, box-shadow), neutralise it in `.is-floating` and put it in the transition list. Forget one, say a stale `backdrop-filter: blur(14px)` on the outer in floating mode, and an invisible blurred strip drags across the viewport behind nothing.-**4. One timing curve across every property.** Eight properties on eight curves read as eight animations. The same eight on `var(--dur-long)` and `var(--ease-out)` read as one motion.+**4. One timing curve across every property.** Each property on its own curve reads as its own animation; all of them on `var(--dur-long)` and `var(--ease-in-out)`, the toggle easing, read as one motion.##### The property morph, one curve| Element | Property | Default | Floating ||---|---|---|---|-| `.nav` | `padding-block` | `0` | `var(--space-2xs)` |+| `.nav` | `padding-block` | `0` | `var(--space-xs)` || `.nav` | `background-color` | `color-mix(in oklab, var(--color-paper) 62%, transparent)` | `transparent` || `.nav` | `border-block-end-color` | `var(--color-rule)` | `transparent` || `.nav` | `backdrop-filter` | `saturate(1.4) blur(14px)` | `blur(0)` |-| `.nav__inner` | `max-width` | `var(--container)` | `58rem` |-| `.nav__inner` | `min-height` | `60px` | `52px` |+| `.nav__inner` | `max-width` | `var(--container)` | `45rem` |+| `.nav__inner` | `min-height` | `68px` | `52px` || `.nav__inner` | `padding-block` | `var(--space-sm)` | `var(--space-2xs)` || `.nav__inner` | `border-radius` | `0` | `var(--radius-pill)` || `.nav__inner` | `background-color` | `transparent` | `color-mix(in oklab, var(--color-paper) 82%, transparent)` |@@ -60,7 +60,7 @@ One DOM, two visual modes: `.nav` (outer, `position: sticky; top: 0`) owns the b| `.nav__inner` | `box-shadow` | `none` | `var(--shadow-card), inset 0 0 0 1px var(--color-rule)` || `.nav__inner` | `transform` | `translateY(0)` | `translateY(var(--space-sm))` |-The outer is `position: sticky; top: 0; z-index: var(--z-sticky-nav)`. Use `blur(0)`, not `none`: `none` snaps, `blur(0)` transitions. `backdrop-filter` transitions are baseline in every current browser.+The outer is `position: sticky; top: 0; z-index: var(--z-sticky-nav)`. The translucent backgrounds and the `backdrop-filter` rows are the atmospheric recipe; elsewhere both backgrounds are `var(--color-paper)` and the two blur rows go. Use `blur(0)`, not `none`: `none` snaps, `blur(0)` transitions. `backdrop-filter` transitions are baseline in every current browser.##### The scroll handler@@ -81,22 +81,15 @@ An observer on an 80px sentinel at the top of the page flips the class once per##### What breaks it1. Two `<header>` elements swapped by opacity: double DOM, broken focus order, content that desyncs.-2. Animating `top` or `margin-top` for the floating offset: layout on every frame. `transform` is the only lever.-3. `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 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.+2. A sentinel shorter than 60px: the morph fires on the slightest scroll.## Knobs- Scroll: always a pill · morphs from a full bar past 80 to 120px- Width: content sized · capped at 720px · capped at 560px-- Backdrop: blur and saturate · solid paper+- Backdrop: blur and saturate (atmospheric only) · solid paper- Anchor: top centre · top right## Mobile-- Below 60rem: the morph is off and the links drop; wordmark and action stay in the pill. Below 40rem: a corner chip, wordmark left, menu right.+- Below 60rem: the morph is off and the links go behind a menu control; wordmark, menu and action stay in the pill. Below 40rem: a corner chip, wordmark left, menu right.diff --git a/skills/hallmark/references/components/n6-newspaper-masthead.md b/skills/hallmark/references/components/n6-newspaper-masthead.mdindex 337b75c..6535c23 100644--- a/skills/hallmark/references/components/n6-newspaper-masthead.md+++ b/skills/hallmark/references/components/n6-newspaper-masthead.md@@ -8,14 +8,14 @@ A full width header: a large centred wordmark, an issue and date line in the bod<p class="mast-line"><time datetime="…">…</time></p><a class="mast-name" href="/" aria-label="Studio, home">STUDIO</a><nav class="mast-nav" aria-label="Primary">- <ul><li><a href="/catalog">Catalog</a></li><li><a href="/voice">Voice</a></li><li><a href="/letters">Letters</a></li></ul>+ <ul><li><a href="/catalog">Catalogue</a></li><li><a href="/voice">Voice</a></li><li><a href="/letters">Letters</a></li></ul></nav><hr class="mast-rule" aria-hidden="true"></header>``````css.nav-mast { display: grid; gap: var(--space-2xs); padding: var(--space-md) var(--gutter) 0; text-align: center; }-.mast-name { margin: 0; font-family: var(--font-display); font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.01em; line-height: 1; text-decoration: none; }+.mast-name { margin: 0; font-family: var(--font-display); font-size: var(--text-display-s); letter-spacing: -0.01em; line-height: 1; text-decoration: none; }.mast-line { margin: 0; font-size: var(--text-sm); color: var(--color-muted); }.mast-nav ul { display: inline-flex; gap: var(--space-md); list-style: none; padding: 0; margin: var(--space-2xs) 0 0; }.mast-rule { border: 0; border-top: var(--rule-hair) solid var(--color-rule); border-bottom: var(--rule-hair) solid var(--color-rule); height: var(--space-2xs); margin: var(--space-sm) 0 0; }@@ -24,9 +24,9 @@ A full width header: a large centred wordmark, an issue and date line in the bod## Knobs- Issue line: above · below · none-- Wordmark size: 3xl · 2xl · xl+- Wordmark size: `--text-display-s` · `--text-3xl` · `--text-2xl`- Rule: double · single · none## Mobile-- Below 60rem: the link row wraps. Below 40rem: the wordmark steps down; the links go behind a menu disclosure.+- Below 60rem: links that no longer fit the row go behind a menu disclosure; two or three short ones stay. Below 40rem: the wordmark steps down one size.diff --git a/skills/hallmark/references/components/n7-brutal-slab.md b/skills/hallmark/references/components/n7-brutal-slab.mdindex 842f30b..bb9f355 100644--- a/skills/hallmark/references/components/n7-brutal-slab.md+++ b/skills/hallmark/references/components/n7-brutal-slab.md@@ -1,13 +1,13 @@### N7 · Brutal slabA heavy full width bar: a 2px ink rule beneath, the wordmark in the display face, a heavy sentence-case link row, no shadow, no radius.-*Use when:* the genre is playful (Brutal, Manifesto, Sport) or the voice is heavy and declarative.+*Use when:* the voice is heavy and declarative: a loud playful page, or a theme like Brutal, Manifesto or Sport.*Not:* N9 (small, quiet). Radius, soft shadow or blur fight this vocabulary: reach for blur and it is N5. The wordmark may be capitals, tracked 0.04em at most (67 allows the wordmark); the links are sentence case.```html<header class="nav-slab"><a class="slab-wordmark" href="/" aria-label="Studio, home">STUDIO</a><nav class="slab-nav" aria-label="Primary">- <ul><li><a href="/catalog">Catalog</a></li><li><a href="/voice">Voice</a></li><li><a href="/work">Work</a></li></ul>+ <ul><li><a href="/catalog">Catalogue</a></li><li><a href="/voice">Voice</a></li><li><a href="/work">Work</a></li></ul></nav><a class="cta-fill cta-fill--slab" href="/get">Get it</a></header>@@ -27,4 +27,4 @@ A heavy full width bar: a 2px ink rule beneath, the wordmark in the display face## Mobile-- Below 60rem: the links wrap to a second line; the action stays right. Below 40rem: the links go behind a menu; wordmark and menu only.+- Below 60rem: links that no longer fit go behind a menu; the action stays right. Below 40rem: wordmark and menu only.diff --git a/skills/hallmark/references/components/n8-terminal-command.md b/skills/hallmark/references/components/n8-terminal-command.mdindex 5dce51e..37f6381 100644--- a/skills/hallmark/references/components/n8-terminal-command.md+++ b/skills/hallmark/references/components/n8-terminal-command.md@@ -1,11 +1,11 @@### N8 · Terminal command-The nav is a command line: `> studio --catalog --voice --get`, the links are flags. A blinking cursor ends the line. It is legal because the line is a typed command and the cursor says "type next"; it is the page's only cursor, and nothing else on the page blinks (66).+The nav is a command line: `> studio --catalog --voice --get`, the links are flags. A block caret ends the line, legal because the line is a typed command (66); it blinks four times, under five seconds, then holds, and nothing else on the page blinks.*Use when:* the page is a CLI tool, developer docs, or a theme whose material is mono.*Not:* N13 (a palette, not a bar). On a non-developer site the `>` prompt is set decoration.```html<header class="nav-term">- <pre class="nav-term__line"><span class="prompt">></span> studio <a href="#catalog">--catalog</a> <a href="#voice">--voice</a> <a href="#get">--get</a><span class="caret" aria-hidden="true">▮</span></pre>+ <nav aria-label="Primary"><pre class="nav-term__line"><span class="prompt">></span> studio <a href="#catalog">--catalog</a> <a href="#voice">--voice</a> <a href="#get">--get</a><span class="caret" aria-hidden="true">▮</span></pre></nav></header>``````css@@ -13,7 +13,7 @@ The nav is a command line: `> studio --catalog --voice --get`, the links are fla.nav-term__line { margin: 0; font-family: var(--font-outlier); font-size: var(--text-sm); }.nav-term__line .prompt { color: var(--color-accent); padding-right: 0.4ch; }.nav-term__line a { color: var(--color-ink); text-decoration: underline; text-underline-offset: 2px; }-.caret { display: inline-block; width: 1ch; color: var(--color-accent); animation: blink calc(var(--dur-long) * 2.5) steps(2) infinite; }+.caret { display: inline-block; width: 1ch; color: var(--color-accent); animation: blink calc(var(--dur-long) * 2.5) steps(2) 4; }@keyframes blink { 50% { opacity: 0; } }@media (prefers-reduced-motion: reduce) { .caret { animation: none; opacity: 1; } }```@@ -23,9 +23,9 @@ The nav is a command line: `> studio --catalog --voice --get`, the links are fla## Knobs- Prompt: `>` · `$` · `~/$`-- Cursor: at the line end · none+- Caret: at the line end · none- Width: full bleed · content · 80ch## Mobile-- Below 60rem: the flags wrap onto a second `>` line. Below 40rem: one flag, `--menu`, opens the disclosure; the cursor stays at the end.+- Below 60rem: flags that no longer fit go behind a `--menu` flag that opens the disclosure. Below 40rem: `--menu` alone; the caret stays at the end.diff --git a/skills/hallmark/references/components/s1-left-margin-numbered.md b/skills/hallmark/references/components/s1-left-margin-numbered.mdindex d7c4bc3..da89622 100644--- a/skills/hallmark/references/components/s1-left-margin-numbered.md+++ b/skills/hallmark/references/components/s1-left-margin-numbered.md@@ -1,7 +1,7 @@### S1 · Ordinal by structureWhen a run of sections is genuinely ordered, the order comes from the markup: a real `<ol>` with `counter()`, the numeral inline at the heading's own size, in the heading's own weight and colour. A small muted `01` stacked above an `<h2>` is an eyebrow in ordinal geometry and gate 54 bans it.*Use when:* the content is truly sequential (chapters, steps, issues, a run of numbered work). Not for "the third section on the page", which is a position, not an ordinal.-*Don't confuse with:* S5 Bottom-anchored (a caption *under* the section); [`../enrichment/hp4-decorative-numeral.md`](../enrichment/hp4-decorative-numeral.md) (one numeral at graphic scale, one per page, not a run).+*Not:* S5 (a caption under the section); [`../enrichment/hp4-decorative-numeral.md`](../enrichment/hp4-decorative-numeral.md) (one numeral at graphic scale, one per page, not a run).```html<ol class="chapters">@@ -24,7 +24,7 @@ When a run of sections is genuinely ordered, the order comes from the markup: a}```-The ordinal is generated on the heading itself, so it reads once, at heading size, in the heading's colour: nothing to mistake for a kicker and nothing a screen reader hears twice.+The ordinal is generated on the heading itself, so a screen reader hears it once, as part of the heading.## Knobsdiff --git a/skills/hallmark/references/components/s3-sticky-pinned.md b/skills/hallmark/references/components/s3-sticky-pinned.mdindex c3bd09e..1670447 100644--- a/skills/hallmark/references/components/s3-sticky-pinned.md+++ b/skills/hallmark/references/components/s3-sticky-pinned.md@@ -1,7 +1,7 @@### S3 · Sticky pinnedHeading remains in viewport while content scrolls beneath. Orientation aid.*Use when:* the section is dense and the reader benefits from always seeing where they are. The persistence is itself the opening: nothing needs to introduce a heading that never leaves (`craft.md` § 7 item 12).-*Don't confuse with:* S1 Ordinal by structure (which does not move).+*Not:* S1 (which does not move).```html<header class="head-sticky">@@ -9,13 +9,10 @@ Heading remains in viewport while content scrolls beneath. Orientation aid.</header>``````css-/* If the page has a sticky top nav, offset by its height so the sticky- head docks beneath it instead of bleeding over (gate 56).- --z-sticky (in-page) sits below the nav's --z-sticky-nav. */.head-sticky { position: sticky; top: var(--banner-height, 0px); background: var(--color-paper); padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); z-index: var(--z-sticky); }```-**Sticky pairing rule.** If the page emits a sticky `<header>`, `<nav>` or `.banner` (anything with `position: sticky; top: 0`), it must also declare `--banner-height` (a px value matching the nav's height) and `--z-sticky-nav` (at least 1 above `--z-sticky`) in `tokens.css`. The recipe above pulls both; without them the section head paints over the nav during scroll (gate 56).+With a sticky nav on the page, the page declares `--banner-height` as the nav's height in px so the head docks under it (under N12, under the banner and the bar together); the scaffold's `--z-sticky` already sits below the nav's `--z-sticky-nav`. Without the offset the head paints over the nav (gate 56).## Knobs@@ -23,4 +20,6 @@ Heading remains in viewport while content scrolls beneath. Orientation aid.- Border-bottom: hairline · ink, 1px- Dock behaviour: pinned throughout · released at the section's end-*Mobile:* below 60rem the head stays sticky and `--banner-height` is re-measured; below 40rem it unsticks (`position: static`) and the border stays as the section rule.+## Mobile++- Below 60rem: `--banner-height` takes the collapsed nav's height. Below 40rem: the head unsticks (`position: static`) and its border stays as the section rule.diff --git a/skills/hallmark/references/components/s5-bottom-anchored.md b/skills/hallmark/references/components/s5-bottom-anchored.mdindex 98ce3df..377e493 100644--- a/skills/hallmark/references/components/s5-bottom-anchored.md+++ b/skills/hallmark/references/components/s5-bottom-anchored.md@@ -1,7 +1,7 @@### S5 · Bottom-anchoredThe caption sits *below* the section's content and carries a fact: a plate number, a date, a place. Legal under gate 54 because it comes *after* and names something present; order is the discriminator between a caption and a kicker.*Use when:* the content is the primary act and the line beneath is a caption to it (a plate in a catalogue). No fact to carry, no caption: the section ends on its content.-*Don't confuse with:* S1 Ordinal by structure (which carries the sequence in the markup).+*Not:* S1 (which carries the sequence in the markup).```html<section>@@ -15,5 +15,6 @@ The caption sits *below* the section's content and carries a fact: a plate numbe## Knobs-- Caption form: plate number · date · rule above the caption · none+- Fact: plate number · date · place+- Rule: none · a hairline above the caption- Alignment: left · right-flushdiff --git a/skills/hallmark/references/components/t1-pull-quote-with-marginalia.md b/skills/hallmark/references/components/t1-pull-quote-with-marginalia.mdindex f6d8078..fe213b7 100644--- a/skills/hallmark/references/components/t1-pull-quote-with-marginalia.md+++ b/skills/hallmark/references/components/t1-pull-quote-with-marginalia.md@@ -1,7 +1,7 @@### T1 · Pull-quote with marginaliaA quote sits in the wide column; the attribution and source link sit in the narrow margin column. The quote and the name are the user's material, verbatim; without both the block does not ship (46a).*Use when:* the page already has a marginalia rhythm (editorial, sidenote-led).-*Don't confuse with:* T3 Single huge quote (which is centred and takes the room).+*Not:* T3 (centred, and it takes the room).```html<aside class="proof-margin">@@ -23,4 +23,6 @@ A quote sits in the wide column; the attribution and source link sit in the narr- Attribution: name and role · name and date · name and a source link- Marginalia: attribution only · one footnote beside it-*Mobile:* below 60rem the margin column moves under the quote and the columns become one.+## Mobile++- Below 60rem: one column, the margin column under the quote.diff --git a/skills/hallmark/references/components/t2-logo-wall-hairline.md b/skills/hallmark/references/components/t2-logo-wall-hairline.mdindex cee68c3..4a783e8 100644--- a/skills/hallmark/references/components/t2-logo-wall-hairline.md+++ b/skills/hallmark/references/components/t2-logo-wall-hairline.md@@ -1,7 +1,7 @@### T2 · Logo wall (hairline)A row of the user's customer logos, monochromatic, separated by hairline rules. No card boxes, no shadows, no line above it (`Trusted by` is an eyebrow, 54). The logos are the user's files; with none supplied the row is one `data-slot="logos"` placeholder per `craft.md` § 8, sized to the count the user gave, and never a run of empty `<img>` or invented customers (46a). No count given, no section.*Use when:* the user named recognisable customers and wants them surfaced quietly.-*Don't confuse with:* the default six-logo box grid; this version refuses card boxes.+*Not:* the default six-logo grid of boxes; this row has no card boxes.```html<!-- with files: one <li> per logo the user supplied -->@@ -13,7 +13,7 @@ A row of the user's customer logos, monochromatic, separated by hairline rules.</section><!-- without files: the placeholder at the row's real height -->-<section class="logo-wall" data-slot="logos" style="--logo-count: 5">+<section class="logo-wall" data-slot="logos" data-alt="…" style="--logo-count: 5"><p class="slot-label">Your customer logos, five</p></section>```@@ -33,4 +33,6 @@ A fixed `--logo-count` holds the column count above 1440 (44d); `auto-fit` would- Logo treatment: monochrome ink · ghosted at 0.7- Divider: vertical hairline · none-*Mobile:* below 60rem half the count per row, split evenly, and the hairline pattern resets to the new row; below 40rem two per row at 20px tall.+## Mobile++- Below 60rem: half the count per row, split evenly, and the hairline pattern resets to the new rows. Below 40rem: two per row at 20px tall.diff --git a/skills/hallmark/references/components/t3-single-huge-quote.md b/skills/hallmark/references/components/t3-single-huge-quote.mdindex fd3c936..4f49226 100644--- a/skills/hallmark/references/components/t3-single-huge-quote.md+++ b/skills/hallmark/references/components/t3-single-huge-quote.md@@ -1,7 +1,7 @@### T3 · Single huge quoteOne quote, set big, centred, taking a whole section. No supporting text, no attribution box: the attribution is one quiet line beneath, in the body face. The quote and the name are the user's material, verbatim; without both the block does not ship (46a).*Use when:* one quote is so good it earns the room.-*Don't confuse with:* T1 Pull-quote with marginalia (which is the *side* mate, not the *room*).+*Not:* T1 (the quote at the side, not the room).```html<section class="proof-room">@@ -17,8 +17,10 @@ One quote, set big, centred, taking a whole section. No supporting text, no attr## Knobs-- Quote face: serif italic · roman display+- Quote face: display roman · display italic (the whole quote)- Measure: 60ch · 45ch · the container- Attribution position: under the quote · a hairline band beneath-*Mobile:* below 40rem the quote drops one size step; the attribution stays one line.+## Mobile++- Below 40rem: the quote steps down to `--text-xl`; the attribution stays one line.diff --git a/skills/hallmark/references/components/t4-numbered-stat-strip.md b/skills/hallmark/references/components/t4-numbered-stat-strip.mdindex c805773..25c6dfa 100644--- a/skills/hallmark/references/components/t4-numbered-stat-strip.md+++ b/skills/hallmark/references/components/t4-numbered-stat-strip.md@@ -1,7 +1,7 @@### T4 · Numbered stat stripA horizontal strip of three to five figures, each with its unit or subject, running across one row in tabular numerals. Every figure is the user's, with its unit; none is rounded up, estimated or invented, and a strip with no figures from the user does not ship (46a).*Use when:* the user gave several complementary figures that work together.-*Don't confuse with:* H4 Stat-led hero (which is one focal number, not several).+*Not:* H4 (one focal number, not several).```html<section class="stat-strip">@@ -11,21 +11,21 @@ A horizontal strip of three to five figures, each with its unit or subject, runn</section>``````css-.stat-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); font-variant-numeric: tabular-nums; }+.stat-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }.stat-strip > div { padding-inline: var(--space-lg); display: grid; gap: var(--space-2xs); }.stat-strip > div:first-child { padding-inline-start: 0; }.stat-strip > div:last-child { padding-inline-end: 0; }.stat-strip > div + div { border-inline-start: var(--rule-hair) solid var(--color-rule); }-.stat-strip b { font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 400; line-height: 1; }+.stat-strip b { font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; }.stat-strip span { font-family: var(--font-body); font-size: var(--text-sm); color: var(--color-muted); white-space: nowrap; }```-Siblings part with a vertical hairline, the first with no leading padding and the last with no trailing; no icon sits in a stat and its subject never wraps (`craft.md` § 9).-## Knobs- Layout: 3-up · 4-up · 5-up- Number weight: display · body, large- Subject position: under · inline after the figure-*Mobile:* below 60rem a 4-up becomes 2-up and the hairline pattern resets to top borders on the second row; below 40rem one figure per row.+## Mobile++- Below 60rem: a 4-up becomes 2-up and a 3-up or 5-up one figure per row, so no figure sits alone on a last row (F20); the hairline pattern resets, with top borders between rows. Below 40rem: one figure per row.diff --git a/skills/hallmark/references/craft.md b/skills/hallmark/references/craft.mdindex 0ab1a91..d2e9eee 100644--- a/skills/hallmark/references/craft.md+++ b/skills/hallmark/references/craft.md@@ -4,27 +4,27 @@ The one file every page build reads. Type, colour, layout, hero, motion, copy, s## 1. Type-Type carries the page. Two families: a display face and a body face. A third is one **outlier** register (a wordmark, a headline figure, code) and it carries exactly one role; a second role makes it a third body font (37, F13). Same family at different weights is one family.+Type carries the page. At most two families, a display face and a body face, which may be one family. A third is one **outlier** register (a wordmark, a headline figure, code) and it carries exactly one role (mono for code and for measured figures counts as one); a second role makes it a third family in running use (37, F13). Same family at different weights is one family.-- **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.+- **Extremes read as chosen.** Three weights at most across the page, display and body together (F19), picked as extremes: 300 beside 800, or 400 beside 700.- **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 in running use, plus a wordmark size if the theme names one; 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; a mixed-case poster head may close to 0.92). 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, a Poster hero) sizes with the screen up to the container's cap, `clamp(4rem, 10vw, 9rem)`, so it reaches full size at 1440 and holds there at 1920 where the container holds (Floor 14), while the fold still holds the headline, one sentence and the action.+- **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; a mixed-case poster head may close to 0.92). 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, Marquee Hero, a Poster hero; Broadside fits its lines to the measure by its own rule, and an HP2 overflow head is sized to bleed) sizes with the screen up to the container's cap, `clamp(4rem, 10vw, 9rem)`, so it reaches full size at 1440 and holds there at 1920 where the container holds (Floor 14), while 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.+- **Labels, captions, table heads, meta, tags, chips, nav links:** the body face, a step smaller, sentence case (or lowercase on a theme whose voice is lowercase), 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.-- **Heading measure rides on the element**, in `ch`: display ~20ch, display-s ~24ch, 4xl ~30ch, 3xl ~35ch, 2xl ~40ch, xl ~45ch. Never a `max-width` on the heading group's wrapper.+- **Heading measure rides on the element**, in `ch`: the scaffold sets `h1` 20ch, `h2` 30ch, `h3` 40ch; a head at display-s takes about 24ch. Never a `max-width` on the heading group's wrapper.- **Required:** `font-display: swap`; a fallback stack of the same build (a grotesk falls back to `system-ui`, a serif to Georgia), with `size-adjust` and the overrides only where the face's metrics are published, never guessed; `font-variant-numeric: tabular-nums` on any figures that compare; `text-wrap: balance` on heads, `pretty` on ledes and body; curly quotes, a true ellipsis, a non-breaking space inside unit pairs (`10 MB`, `⌘ K`) in a proportional face (in mono the unit sits outside the mono span or takes a plain space, since a mono space is a full cell). No `--` and no em or en dash anywhere in rendered copy; a comma, a colon or a full stop does the work.- **Wordmark.** May take a different face from the body; on tone-rich themes it should. Collapse to one family only when the body voice is the brand (a letter, a manifesto, a long document).- **Load only the weights you use.** Never synthesise bold or italic.-Font sourcing for a custom or studied run is in `fonts.md`; a catalog theme has already named its faces.+Font sourcing for a custom run is in `fonts.md`; a catalog theme has already named its faces.## 2. Colour- **OKLCH everywhere.** Perceptual lightness is what makes contrast predictable.- **Four layers.** Paper (light: L 92 to 98, chroma 0.005 to 0.015 toward the anchor hue; dark: L 12 to 18, 0.008 to 0.015). Ink (light paper: L 16 to 24; dark paper: L 88 to 96; tinted 0.005 to 0.014). Five to nine neutrals between them, each tinted 0.005 to 0.018 (22). One accent at chroma 0.12 to 0.22 with a paired `--color-accent-ink` (41). A focus colour: the accent's hue, chroma 0.18 to 0.22, L within 5% of the accent.- **Never a pure absolute** as a base surface or as an improvised value (7). Tint the greys toward the anchor: a warm accent wants warm neutrals.-- **The accent is a signal, not a fill.** Under 5% of any viewport under the default Restrained posture (23): an active nav item, a focus ring, a link underline on hover, the primary control's border or text, one small square beside a heading. If you want more, that is the reflex.+- **The accent is a signal, not a fill.** Under 5% of any viewport under the default Restrained posture (23): an active nav item, a focus ring, a link underline on hover, the primary control, the one series a chart argues from. If you want more, that is the reflex.- **Postures.** Restrained (above). **Committed:** one colour carries 30 to 60% of the surface through `--color-field` or the paper family; the accent proper stays a signal. **Full palette:** three or four named roles (field, signal, seal, ink), each with a job and a footprint. **Drenched:** the surface is the colour; ink and rules derive from it. A posture is declared in the stamp before code; a declared surface colour is not accent footprint.- **Contrast.** Body 4.5:1 (target 7:1) or APCA Lc 60; large text, icons, focus rings and component boundaries 3:1 or Lc 45 (40). Where you cannot render, keep the two lightnesses 15% or more apart. Every rule that paints a dark surface swaps its text colour in the same rule (41). Grey text never sits on a coloured surface: tint it from the hue or use paper.- **Bans:** gradients of two or three stops only, and never purple-blue, purple-pink, cyan-on-dark (2a); no glow shadows on dark, no chromatic halos or spotlights (29); no alpha as a colour's definition (alpha modifies overlays and shadows); no red-green as the only signal.@@ -33,19 +33,19 @@ Font sourcing for a custom or studied run is in `fonts.md`; a catalog theme has## 3. Layout and space- **A primary axis.** Left-biased, right-biased, top-heavy or bottom-weighted. Centre-biased is a default, not a choice; at most two centred elements in a hero, one breaking alignment (6b).-- **Spacing is a scale.** 4pt base, ten steps, named by role: `--space-3xs` 2px · `2xs` 4 · `xs` 8 · `sm` 12 · `md` 16 · `lg` 24 · `xl` 40 · `2xl` 64 · `3xl` 96 · `4xl` 144. Raw lengths where a token exists are a Floor failure (24a); at most three optical nudges off the scale (24b). `gap` for siblings, `margin` only to break the flow.-- **Between sections, 120px or more at desktop, varied** (59): some 120, some 160, some 200; a change of paper may sit tighter. Inside a section, 32 to 48px from heading to content, 24 to 40px between grid items. More space above a heading than below it, always. Five to eight sections a page, usually 3,000 to 6,000px tall at 1440; a thin brief makes a shorter page, never a padded one.+- **Spacing is a scale.** 4pt base, ten steps, named by size: `--space-3xs` 2px · `2xs` 4 · `xs` 8 · `sm` 12 · `md` 16 · `lg` 24 · `xl` 40 · `2xl` 64 · `3xl` 96 · `4xl` 144. Raw lengths where a token exists are a Floor failure (24a); at most three optical nudges off the scale (24b). `gap` for siblings, `margin` only to break the flow.+- **Between sections, three tokens** (59): `--section-gap-s` 120px, `--section-gap` 144px and `--section-gap-l` 200px at desktop, stepping down together at 60rem and 40rem; mix them so the rhythm varies, never one raw length. A change of paper may take the small step. Inside a section, a heading's own line sits 8 to 16px under it, its content 32 to 48px, and grid items 24 to 40px apart. At least twice as much space above any heading as below it. Four to eight sections a page, footer included, usually 3,000 to 6,000px tall at 1440; a thin brief makes a shorter page, never a padded one.- **The container is capped and centred:** `max-width` 1360 to 1520px, gutters 64 to 96px at 1440 and 200px or more at 1920 (44d). Grids hold their column count above 1440; `auto-fit` that grows a fourth column changes the composition. Visuals sized in `vw` carry a `max-width`.-- **Page invariants** (F15). Across the whole page: one primary button style and one secondary style; one container width and one horizontal padding, applied by the same two-element pattern in every section (outer element: background and vertical padding; inner: max-width, centring, gutters) so edges line up while scrolling; one column gap for every multi-column section below the hero (the hero's gap is 44c's); one radius per nesting level; the same font treatment whenever the same kind of thing appears. Never a centred layout directly under a left-aligned one unless a full-width band, a paper change or a rule separates them. Never more centred heading groups than left-aligned ones; centre only heroes, CTAs and sections with symmetric content beneath.-- **Heading groups.** A headline and at most one line beneath. Constrain each text element with its own `max-width` in `ch`, never the wrapper. A grid or list that fills its section takes the section's edges: never a narrower `max-width` with auto margins on it; a nested width belongs only to a self-contained unit (a form, a pricing set, a centred figure). A subhead over 120 characters (about three centred lines) is set left-aligned; if the user asked for centred and the copy is that long, offer a shorter line first.+- **Page invariants** (F15) are in SKILL.md Step 6; with them, one secondary button style, and one horizontal padding applied by the same two-element pattern in every section (outer element: background and vertical padding; inner: `.container`) so edges line up while scrolling. The same kind of thing always gets the same font treatment. The hero's gap is 44c's. Never a centred layout directly under a left-aligned one unless a full-width band, a paper change or a rule separates them; centre only heroes, CTAs and sections with symmetric content beneath.+- **Heading groups.** A headline and at most one line beneath. Constrain each text element with its own `max-width` in `ch`, never the wrapper. A grid or list that fills its section takes the section's edges: never a narrower `max-width` with auto margins on it; a nested width belongs only to a self-contained unit (a form, a pricing set, a centred figure). If the user asked for a centred subhead over 120 characters, offer a shorter line first.- **Coherence over side.** A head may be left, centred, hanging, bottom-anchored or overlapping; what reads as a mistake is a narrow auto-centred head floating over full-width left-flush content.-- **Grids.** CSS Grid for the page, Flexbox for component internals. Break the equal-columns reflex: `1.2fr 1fr 0.8fr`, a 12-column grid with unequal spans, a 4-up with a 2-span lead (3). Named areas for complex layouts. Flex children that must shrink get `min-width: 0`; icons, logos and images get `flex-shrink: 0`.-- **Asymmetry that reads as chosen:** a wide margin column carrying captions and footnotes beside the body (never a label beside a heading, which is an eyebrow); a heading that hangs into the margin; offset column widths; one element that crosses a column boundary; generous top and tight bottom.+- **Grids.** CSS Grid for the page, Flexbox for component internals. Break the equal-columns reflex: `1.2fr 1fr 0.8fr`, a 12-column grid with unequal spans, a 4-up with a 2-span lead (3). Named areas for complex layouts. Flex children that must shrink get `min-width: 0`; icons, logos and images get `flex-shrink: 0`. A grid has no empty cell and no orphan: a last row of one under a fuller row, or six logos as five and one, is a count to change (F20).+- **Asymmetry that reads as chosen:** a wide margin column carrying captions and footnotes beside the body (never a label beside a heading, which is an eyebrow); a heading that hangs into the margin; offset column widths; one element that crosses a column boundary; generous top and tight bottom. Rows that pair text with a visual keep the visual on one side and vary by weight (one lead row with the larger visual); a mirror may happen once, never a zigzag down the page.- **The surface ladder.** Whitespace, then a hairline rule (1px `--color-rule`, inset or full-bleed), then a tinted well (`--color-paper-2` or `-3`, no border), then a card (border or shadow, reserved for content that is independently interactive or of a different kind). Never white cards on a tinted page; never a card in a card, and never a bordered card or label box inside a well: a well holds rows, figures or a drawn object (4); never jump to the top rung (9, F7). Sibling items in a shared context (stats, KPIs) separate with a top border or a vertical hairline: the first item has no leading padding, the last no trailing, and the rule pattern is reset at every breakpoint where the column count changes.-- **Depth is weight and scale**, not shadow. One shadow if any: whisper `0 1px 2px oklch(20% 0.01 <hue> / 0.05)` or hairline `0 0 0 1px oklch(30% 0.01 <hue> / 0.06)`. Never a border and a wide soft shadow on the same box; commit to one. Elevated surfaces are never darker than their canvas. Seven named z levels: base 1, raised 10, dropdown 100, sticky 200, sticky-nav 300, modal 400, toast 500, tooltip 600; never a freestyle z (56).+- **Depth is weight and scale**, not shadow. One shadow if any: whisper `0 1px 2px oklch(20% 0.01 <hue> / 0.05)` or hairline `0 0 0 1px oklch(30% 0.01 <hue> / 0.06)`. Never a border and a wide soft shadow on the same box; commit to one. Elevated surfaces are never darker than their canvas. Eight named z levels: base 1, raised 10, dropdown 100, sticky 200, sticky-nav 300, modal 400, toast 500, tooltip 600; never a freestyle z (56).- **Page-edge clipping.** `html, body { overflow-x: clip }` on every page (34); `clip` keeps `sticky` and `fixed` working where `hidden` breaks them. The section that holds a deliberately overflowing element keeps `overflow: visible`.- **Radii.** One radius per level; nested radii are concentric: `inner = outer - padding`, clamped at 2px. Image and screenshot radii scale with the viewport: `min(1vw, var(--radius-card))`.-- **Icons.** One library per project; sizes 16, 20, 24, 32 at the set's natural grid (a 24 viewBox at 24px, never scaled to 19); `currentColor`; beside multi-line text align to the first line; never inside a coloured coin or tile (3, F5); inline with small text use the 16px size. Buttons and badges with an icon take asymmetric padding: the icon side's padding equals the vertical padding.+- **Icons.** One library per project, one stroke width and one style (outline or filled) per page; sizes 16, 20, 24, 32 at the set's natural grid (a 24 viewBox at 24px, never scaled to 19); `currentColor`; beside multi-line text align to the first line; never inside a coloured coin or tile (3, F5); inline with small text use the 16px size. Buttons and badges with an icon take asymmetric padding: the icon side's padding equals the vertical padding.- **When flat, before shipping:** add one break-out element, unbalance a column, move the primary CTA off centre, replace a card with air, or make one section's padding uneven.## 4. The hero@@ -67,11 +67,11 @@ Every posture, every hero:- **Is exactly one screen at 1440 x 900 and 1920 x 1080** (44c): the next section starts between y 760 and y 900 at 1440. Too short with dead space under it is the same fault as spilling into a second screen. Fill with the visual or the headline, never with a third paragraph.- **The visual sits beside the text**: vertical centres within 60px, 48 to 120px between the text block's edge and the visual, never touching the viewport edge unless a deliberate full-bleed. The corner-pinned device beside a left-hugging text block is the most recognisable machine-made hero there is.- **Three things in the text**: headline, one sentence, actions (58). No label above, no small print under the buttons, no badge row, no version pill (66). A caption inside the visual belongs to the visual, twelve words at most.-- **Mobile** under 48rem collapses every posture to content height (Poster may stay full-bleed).+- **Mobile** under 60rem collapses every posture to content height (Poster may stay full-bleed).- **Entrance:** one orchestrated settle of 0.4 to 0.8s including its stagger, from an already-visible default; a fade with an 8px rise is one motion. Never a fade plus a sweep plus a scale on one element; never bounce; never scroll-fade on every section; never a starfield, a mouse-parallax or an auto-rotating carousel.-- **One polish pattern at most** (a vertical rail title, a marquee overflow, a decorative numeral that means something). Two is a panic attack.+- **One polish pattern at most** (a vertical rail title, a marquee overflow, a decorative numeral that means something). Two is noise.-**Enrichment** is an option, never a default. The hierarchy: typography only → pure CSS art → hand-built SVG → generated still → customised library asset → Lottie, last. The image-need check in `hero-enrichment.md` decides whether the brief wants imagery at all; write the scene sentence first (a real person, a real time and place, with the product) because it fixes the surface's lightness and light temperature. Before an enrichment ships, all of these are yes: it communicates something the type cannot; under 2 MB; has a reduced-motion fallback; if video, muted, looped, `playsinline`, with a poster and `fetchpriority="high"`; built with intent, not picked from a library; keeps the accent under its footprint; survives deletion (the hero still works without it); matches the page's tone. Any no, ship the typographic hero.+**Enrichment** is an option, never a default. The hierarchy: typography only → pure CSS art → hand-built SVG → generated still → customised library asset → Lottie, last. The image-need check in `hero-enrichment.md` decides whether the brief wants imagery at all; write the scene sentence first (a real person, a real time and place, with the product) because it fixes the surface's lightness and light temperature. Before an enrichment ships, all of these are yes: it communicates something the type cannot; under 2 MB; has a reduced-motion fallback; if video, muted, looped, `playsinline`, with a poster, preloaded when it is the LCP; built with intent, not picked from a library; keeps the accent under its footprint; survives deletion (the hero still works without it); matches the page's tone. Any no, ship the typographic hero.## 5. Motion@@ -79,11 +79,11 @@ Every posture, every hero:- **End states.** Under `prefers-reduced-motion: reduce` every reveal shows its end state at once, and the render tier shoots that way, so a rule that draws in on scroll must already be drawn there.- **Only `transform` and `opacity`** (10). Blur, `clip-path`, mask and shadow may join when they stay smooth on the element alone.- **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.+- **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 of stagger at most, one-shot, never re-fired on scroll.+- **One reveal per page**, staggered by a `--i` custom property, the whole settle 0.4 to 0.8s, 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 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 is one signal (11): a colour change, or a `translateY(-1px)` lift at micro on a control that keeps its colour, 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, a marquee that will not pause on hover and focus (18), `will-change` on a whole class, an image that scales or rotates on hover (11), a pulsing dot that is not live data, and infinite loops, except a loader, one E6 loop (4s or less a cycle) and one ambient loop the theme declares as its material (8s or slower); every loop stops under reduced motion and while off-screen.+- **State:** hover is one signal (11) and raises contrast against the rest state: a colour step, or a `translateY(-1px)` lift at micro on a control that keeps its colour, 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, a marquee that will not pause on hover and focus (18), `will-change` on a whole class, an image that scales or rotates on hover (11), a pulsing dot (a live dot holds still, or blinks once when its value updates), a caret that blinks past five beats, and infinite loops, except a loader, one E6 loop (4s or less a cycle) and one ambient loop the theme declares as its material (8s or slower); every loop stops under reduced motion and while off-screen, and one that runs past 5 seconds carries a visible pause control (WCAG 2.2.2).Full recipes (buttons, inputs, validation, toasts, modals, menus, drag, command palette, optimistic updates) are in `microinteractions.md`; load it when the page has stateful UI.@@ -93,14 +93,14 @@ Words are design material. Specific verbs (`Save changes`, never `Submit`); labe- **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; a set the user gave keeps its true count (six destinations are six 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.+- **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:** a spinner appears after 150 to 300ms, stays at least 300ms and sits beside the control's label, never in its place; *Loading…* past 2s; 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).- **Sample data** inside a code surface or a slot's sketch uses the reserved `example.com`, the field names the brief gives and values that read as samples (`Example Domain`, a word count that matches the text shown); never a figure a visitor could take as a claim.- **Punctuation is typeset:** curly quotes, `…`, a proper apostrophe, no `--`, no em or en dash (a comma, a colon, a full stop or parentheses instead), non-breaking spaces before units. Periods on every standalone sentence, none on list items, consistently.## 7. Opening a section-The reflex is a small caps label above the heading, and the reflex is the tell (54). The question is *what does the reader not yet know?* If nothing, open with nothing: a generous margin and a heading that starts flush is the most under-used opening there is. If something, it rides on a fact, a destination or an identifier, never on a name for what comes next. Twelve ways in:+The reflex is a small tracked-caps label above the heading, and the reflex is the tell (54). The question is *what does the reader not yet know?* If nothing, open with nothing: a generous margin and a heading that starts flush is the most under-used opening there is. If something, it rides on a fact, a destination or an identifier, never on a name for what comes next. Twelve ways in:1. **Nothing.** Air above, heading flush. Never goes stale.2. **The heading announces itself.** Move the subject into its first two words. Usually the best move; the label existed because the heading was vague.@@ -115,13 +115,13 @@ The reflex is a small caps label above the heading, and the reflex is the tell (11. **A running head or folio**: continuous chrome at the page edge (a sticky folio, a rail), legal because it persists rather than announces.12. **Persistence**: the heading stays in view while its content scrolls beneath.-Two moves can share a section; three is panic. Pick one opening and repeat it, or two and alternate; rotate against the log so one opening does not become your signature. Still legal, because each names something present: a `<figcaption>`, a `<th>`, a `<label>`, a `<legend>`, a nav or tab label, a byline or a `<time>` dateline, a unit after its figure, a code block's real filename, a live `role="status"` chip, one linked announcement that goes somewhere real, a plan name (which usually wants to be the heading).+Two moves can share a section; three is noise. Pick one opening and repeat it, or two and alternate; rotate against the log so one opening does not become your signature. Still legal, because each names something present: a `<figcaption>`, a `<th>`, a `<label>`, a `<legend>`, a nav or tab label, a byline or a `<time>` dateline, a unit after its figure, a code block's real filename, a live `role="status"` chip, one linked announcement that goes somewhere real, a plan name (which usually wants to be the heading).## 8. Demo slotsA landing page is a demo. The first screen shows the thing working; later screens show it from other angles. Prose is what a page falls back on when it has nothing to show.-A slot is a container carrying `data-slot="<name>"` (`hero`, `demo-2`, `demo-3`, `photo-1`) and a `data-alt` describing what will be in it, at a real size (an `aspect-ratio` or a fixed height, never the image's own), holding a designed placeholder that the user's image replaces without touching the layout. Both snippets ship in every page that has a slot; in a framework the same contract is a `<Slot name="hero">` component.+A slot is a container carrying `data-slot="<name>"` (`hero`, `demo-2`, `demo-3`, `photo-1`) and a `data-alt` describing what will be in it, at a real size (an `aspect-ratio` or a fixed height, never the image's own), holding a designed placeholder that the user's image replaces without touching the layout. The CSS ships in the scaffold's `base.css` and the script in every page that has a slot; in a framework the same contract is a `<Slot name="hero">` component.```css[data-slot] { position: relative; overflow: hidden; }@@ -135,7 +135,7 @@ A child that must stay once the image lands (a plate number, a credit) carries `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 = typeof v === 'string' ? v : v.src; im.alt = (typeof v === 'object' && v.alt) || s.dataset.alt || ''; s.prepend(im); } };```-**The placeholder is designed, not grey.** A gradient of two or three OKLCH stops from the theme's paper and accent with a slow hue path (a mesh of two radial gradients is the richer version; dark themes glow from a corner, light themes wash from an edge), optionally a sparse drawn interface of five shapes or fewer in the theme's material, one corner label in the theme's caption style saying what goes there (`your screenshot`, `product photo`), inside a frame that suits the theme (a hairline panel with a slight tilt, a device silhouette, a plain rounded panel, a kiss-cut print, an enamel plate). Never traffic lights, a URL pill or a notch (47a); never invented figures presented as real (47c); never the word *placeholder* at display size.+**The placeholder is designed, not grey.** A gradient of two or three OKLCH stops from the theme's paper and accent with a slow hue path (a mesh of two radial gradients is the richer version on a light theme, washing from an edge; a dark theme lifts a corner by a lightness step, a radial only where the genre allows blooms), optionally a sparse drawn interface of five shapes or fewer in the theme's material, one corner label in the theme's caption style saying what goes there (`your screenshot`, `product photo`), inside a frame that suits the theme (a hairline panel with a slight tilt, a device silhouette, a plain rounded panel, a kiss-cut print, an enamel plate). Never traffic lights, a URL pill or a notch (47a); never invented figures presented as real (47c); never the word *placeholder* at display size.Four recipes, one per material family:@@ -146,7 +146,7 @@ Four recipes, one per material family:**Text slots.** A missing fact (a venue, a date, an act, a price) is a text slot, never an invented value: `<span class="fill" data-fill="venue">Venue to be announced</span>`, set in the body face in `--color-muted` on a faint tint of it (`background: color-mix(in oklch, var(--color-muted) 14%, transparent)`, 2px radius, no underline) so it reads as a blank to fill, never as a link, at most three on a page, each listed in the handoff with what belongs there. Text slots do not count toward 68. A typeface the page is about but the user has not supplied is a font slot: the display token names it first, a free face of the same build stands in and says so in one caption, and the handoff asks for the files. A section the user named but gave nothing for is its heading, one line on what will go there and one text slot, or it merges into a neighbour; never a block of pending rows.-Where slots go: the hero visual on any product page, beside the text; a demo strip of two or three slots with one label of three words or fewer each, never three equal columns: one leads at about twice the width (this replaces the three-card feature grid); photo slots on business pages. Two to four slots carry a product page; more only when the user has handed over the images. A set of things the page does not have pictures of (a team, a range, a list of venues) is set in type, names and facts in a list or a table, with one slot at most: four empty frames in a row is a wireframe, not a page (68). The signature never lives inside a slot, since the user's image replaces everything in it. Inside a slot, sketch the product's own structure from what the brief says it does (rows for a ledger, a waveform for audio, a list for an inbox) in three to five shapes, so the placeholder reads as this product waiting for its screenshot, never as a grey box. Ask for the material once at Step 1; given images go straight in and are named in the Picks block; "leave slots" builds the placeholders and the handoff lists every slot, its size and what belongs there; silence builds from what is real (SKILL.md Step 2), with a slot only where a picture is the point.+Where slots go: the hero visual on any product page, beside the text; a demo strip of two or three slots with one label of three words or fewer each, never three equal columns: one leads at about twice the width (this replaces the three-card feature grid); photo slots on business pages. Two to four slots carry a product page; more only when the user has handed over the images. A set of things the page does not have pictures of (a team, a range, a list of venues) is set in type, names and facts in a list or a table, with one slot at most: four empty frames in a row is a wireframe, not a page (68). The signature never lives inside a slot, since the user's image replaces everything in it. Given images go straight in and are named in the Picks block; "leave slots" builds the placeholders and the handoff lists every slot, its size and what belongs there; silence builds from what is real, with a slot only where a picture is the point.## 9. Finish@@ -155,14 +155,14 @@ The last 2% that separates set from generated. sloplint's F-checks report most o- **Controls.** One filled primary per page, dialogs counted as their own page (F4); secondaries outlined or typographic and never higher contrast than the primary; navbar actions quieter than the hero's action. Marketing controls 44 to 52px tall; app UI 32 to 40px with a 44px hit target via an inset pseudo-element and 48px on coarse pointers; at most two button sizes, at least 6px apart; inputs match the height of their adjacent button (39). Icon-bearing controls take asymmetric padding. Any non-primary form action (change photo, resend code) takes the smaller size and a secondary style. Delete uses a secondary style unless deleting is the page's one action.- **Links that go nowhere yet.** An action whose URL the brief does not give points at the section of this page that does the most of it (`#lookbook`), and the handoff names the URL it needs; never an invented route.- **Forms that post nowhere yet.** A form whose endpoint the brief does not give carries an empty `data-endpoint` and never prints a success state: no "Sent", "Reserved" or "You're on the list" for a request that did not happen (70); it says plainly that nothing was sent. The handoff names the endpoint it needs.-- **Inputs.** Constant border width across states; the focus ring is an `outline` with an offset (inset on inputs), never a border change; disabled by three channels together, `opacity: 0.55`, `cursor: not-allowed` and the native `disabled` attribute (39a); reserve `min-height: 1lh` under the field for helper text (F14); 16px on mobile; a `name` on every control and a `<label>` or `aria-label`; an explicit `type` on every `<button>`; a custom chevron on selects; native checkbox, radio and toggle styled by state in CSS, never toggled by script.+- **Inputs.** Constant border width across states; the focus ring is an `outline` with an offset (inset on inputs), never a border change; disabled by three channels together, `opacity: 0.55`, `cursor: not-allowed` and the native `disabled` attribute (39a); reserve `min-height: 1lh` under the field for helper text (F14); 16px on mobile; a `name`, `autocomplete`, the matching `type` and `inputmode` on every field, with a `<label>` or `aria-label`; paste never blocked; submit enabled until the request starts, and a failed submit focuses the first invalid field; an explicit `type` on every `<button>`; a custom chevron on selects; native checkbox, radio and toggle styled by state in CSS, never toggled by script.- **Type finish.** Hanging punctuation on pull quotes (`::before` with the opening quote translated -100%). Tabular numerals on anything that columns (F6). Balanced heads, pretty body (F3). A testimonial exists only when the user supplied it (46a); its card bottom-aligns the attribution, and the avatar is the real person or nothing.- **Pricing.** Emphasise a tier with its button and a word, never a different card colour; align buttons across tiers by pushing them to the bottom; a taller featured tier is a grid sibling on explicit rows (`grid-template-rows: <gap> 1fr <gap>`, the featured card spanning all rows), never negative margins.- **Tables.** Sentence-case heads that never wrap, horizontal rules only, no outer border, no card around a table, full width, a scrolling wrapper on narrow screens.- **Responsive finish.** Body-adjacent UI (meta, nav links, controls, checkboxes) renders larger on mobile and steps down at 60rem; display heads are exempt; body never drops below 16px on a phone. Every desktop sidebar or filter column collapses into a menu or disclosure. Container queries for widgets whose layout depends on their box, placed on the closest wrapper.-- **Browser surfaces** (F16). `::selection` in the accent at low alpha with ink text, `caret-color` the accent, `scrollbar-color` from the neutrals, the focus ring from `--color-focus`, `text-underline-offset` and `text-decoration-thickness` set, numerals tabular where they compare. The parts you did not draw still carry the design.-- **Nav.** Text-only links in the top bar, one weight across default, hover and active (state is a colour or a soft background, never a primary fill); a tab row scrolls sideways rather than wrapping; under 60rem, links that no longer fit go behind a menu, while two or three short ones that fit stay in the bar; the logo is a link home with an `aria-label`.-- **Prose pages** (articles, docs): line-height 1.7 or more, one family for the title and its subheads, `text-wrap: pretty` on the title, a measure of 60 to 90ch.+- **Browser surfaces** (F16). The scaffold's `base.css` themes the selection, the caret, the scrollbar, the focus ring and the underline; keep them, and set numerals tabular wherever they compare. The parts you did not draw still carry the design.+- **Nav.** One line, 56 to 80px tall; a sticky one taller than the scaffold's `scroll-padding-top` raises it so anchors and focus land clear. Text-only links in the top bar, one weight across default, hover and active (state is a colour or a soft background, never a primary fill); a tab row scrolls sideways rather than wrapping; under 60rem, links that no longer fit go behind a menu, while two or three short ones that fit stay in the bar; the logo is a link home with an `aria-label`.+- **Prose pages** (articles, docs): line-height 1.65 to 1.75, one family for the title and its subheads, `text-wrap: pretty` on the title, a measure of 60 to 75ch (25).- **Stat rows and dashboards.** A stat's title never wraps, no icon sits in a stat, siblings part with a top or side hairline, and a widget's layout answers its container (`@container`), not the viewport.- **Definition lists.** Features and metadata are a `<dl>`: `<dt>` one weight heavier and higher contrast, `<dd>` regular and quieter, so a link inside the `<dd>` still reads.- **Compact forms** (sign-in, one field): 20rem wide, never an input and a button sharing one border.diff --git a/skills/hallmark/references/craft/recipes/architecture-diagram.md b/skills/hallmark/references/craft/recipes/architecture-diagram.mdindex 3af3e74..b33b0a4 100644--- a/skills/hallmark/references/craft/recipes/architecture-diagram.md+++ b/skills/hallmark/references/craft/recipes/architecture-diagram.md@@ -1,35 +1,38 @@### Recipe 3 · Three-tier architecture diagram-Browser to API to database, drawn at about 16/9 with three labelled boxes and animated `stroke-dasharray` flow lines. The lines pulse to suggest live traffic. Use case: a developer-tool landing page showing where the product sits in the stack. Every label is a fact; the hop labels name the real protocols and sit on two lines rather than joined by a dot (63). Labels are the body face, sentence case, untracked, 11px or more (64, 67); the box names take the display face.+Browser to API to database, drawn at about 16/9 with three labelled boxes and animated `stroke-dashoffset` flow lines. The lines pulse to suggest live traffic; they are the page's one E6 loop, held to the loop contract in [`../../patterns.md`](../../patterns.md) § A loop that can pause. Use case: a developer-tool landing page showing where the product sits in the stack. Every label is a fact; the hop labels name the real protocols and sit on two lines rather than joined by a dot (63). Labels are the body face, sentence case, untracked, 11 units or more, about 13px at full width (64, 67); the box names take the display face.```html-<svg class="arch" viewBox="0 0 640 360" role="img" aria-label="Three-tier architecture: browser, API, database">- <g class="arch__tier">- <rect x="28" y="100" width="152" height="160" />- <text x="104" y="172" text-anchor="middle" class="arch__name">Browser</text>- <text x="104" y="208" text-anchor="middle" class="arch__sub">Your web app</text>- </g>+<figure class="arch-figure" data-loop>+ <svg class="arch" viewBox="0 0 640 360" role="img" aria-label="Three-tier architecture: browser, API, database">+ <g class="arch__tier">+ <rect x="28" y="100" width="152" height="160" />+ <text x="104" y="172" text-anchor="middle" class="arch__name">Browser</text>+ <text x="104" y="208" text-anchor="middle" class="arch__sub">Your web app</text>+ </g>- <line class="arch__flow" x1="180" y1="180" x2="240" y2="180" />- <text class="arch__hop" x="210" y="150" text-anchor="middle">HTTPS</text>- <text class="arch__hop" x="210" y="166" text-anchor="middle">OTLP</text>+ <line class="arch__flow" x1="180" y1="180" x2="240" y2="180" />+ <text class="arch__hop" x="210" y="150" text-anchor="middle">HTTPS</text>+ <text class="arch__hop" x="210" y="166" text-anchor="middle">OTLP</text>- <g class="arch__tier arch__tier--mid">- <rect x="240" y="100" width="160" height="160" />- <text x="320" y="172" text-anchor="middle" class="arch__name">API</text>- <text x="320" y="208" text-anchor="middle" class="arch__sub">Edge runtime</text>- </g>+ <g class="arch__tier arch__tier--mid">+ <rect x="240" y="100" width="160" height="160" />+ <text x="320" y="172" text-anchor="middle" class="arch__name">API</text>+ <text x="320" y="208" text-anchor="middle" class="arch__sub">Edge runtime</text>+ </g>- <line class="arch__flow arch__flow--reverse" x1="400" y1="180" x2="460" y2="180" />- <text class="arch__hop" x="430" y="150" text-anchor="middle">SQL</text>- <text class="arch__hop" x="430" y="166" text-anchor="middle">gRPC</text>+ <line class="arch__flow arch__flow--reverse" x1="400" y1="180" x2="460" y2="180" />+ <text class="arch__hop" x="430" y="150" text-anchor="middle">SQL</text>+ <text class="arch__hop" x="430" y="166" text-anchor="middle">gRPC</text>- <g class="arch__tier">- <rect x="460" y="100" width="152" height="160" />- <text x="536" y="172" text-anchor="middle" class="arch__name">Database</text>- <text x="536" y="208" text-anchor="middle" class="arch__sub">Postgres</text>- </g>-</svg>+ <g class="arch__tier">+ <rect x="460" y="100" width="152" height="160" />+ <text x="536" y="172" text-anchor="middle" class="arch__name">Database</text>+ <text x="536" y="208" text-anchor="middle" class="arch__sub">Postgres</text>+ </g>+ </svg>+ <button class="btn btn--quiet" type="button" data-loop-toggle>Pause</button>+</figure>``````css@@ -39,6 +42,7 @@ Browser to API to database, drawn at about 16/9 with three labelled boxes and aninherits: false;}+.arch-figure { margin: 0; display: grid; justify-items: center; gap: var(--space-sm); }.arch { width: 100%; max-width: 48rem; height: auto; color: var(--color-ink); display: block; margin: 0 auto; }.arch__tier rect {@@ -60,14 +64,16 @@ Browser to API to database, drawn at about 16/9 with three labelled boxes and anstroke-width: 1.4;stroke-linecap: round;stroke-dasharray: 4 4;- animation: arch-flow 1.6s linear infinite;+ stroke-dashoffset: var(--flow-offset);+ animation: arch-flow calc(var(--dur-long) * 4) var(--ease-in-out) infinite;}.arch__flow--reverse { animation-direction: reverse; }-@keyframes arch-flow { to { stroke-dashoffset: -8; } }+@keyframes arch-flow { to { --flow-offset: -8; } }+@media (max-width: 40rem) { .arch-figure { overflow-x: auto; justify-items: start; } .arch { min-width: 48rem; } }@media (prefers-reduced-motion: reduce) {.arch__flow { animation: none; stroke-dasharray: 0; }}```-Font sizes are in viewBox units and scale with the drawing; at the 48rem cap they render at about 1.2 times the value. **Use when** the brief is a developer-facing product that needs to show its position in a stack: observability, edge functions, ORMs, ingestion. **Avoid when** the architecture has more than five tiers or a non-linear topology; this recipe is the three-box flow only. For graph-like topologies draw it in a diagram tool and embed the SVG export.+Font sizes are in viewBox units and scale with the drawing; at the 48rem cap they render at about 1.2 times the value, and under 40rem the drawing keeps that width and scrolls sideways inside the figure. **Use when** the brief is a developer-facing product that needs to show its position in a stack: observability, edge functions, ORMs, ingestion. **Avoid when** the architecture has more than five tiers or a non-linear topology; this recipe is the three-box flow only. A graph wants its own arrangement, placed by hand on a grid, under the same label rules.diff --git a/skills/hallmark/references/craft/recipes/flow-diagram.md b/skills/hallmark/references/craft/recipes/flow-diagram.mdindex eca9864..2ca1a8c 100644--- a/skills/hallmark/references/craft/recipes/flow-diagram.md+++ b/skills/hallmark/references/craft/recipes/flow-diagram.md@@ -1,35 +1,38 @@### Recipe 1 · Workflow diagram-Three labelled boxes joined by curved arrows. A slight asymmetric rotation (-1° on box one, +0.5° on box three) for a drawn feel. One arrow carries an animated `stroke-dashoffset` flow suggesting data movement. Use case: a feature page showing data flow, a decision tree, or the steps of a journey. Labels are the body face, sentence case, untracked (64, 67); the arrowheads are geometry inside a drawing, not punctuation glued to text.+Three labelled boxes joined by curved arrows. A slight asymmetric rotation (-1° on box one, +0.5° on box three) for a drawn feel. One arrow carries an animated `stroke-dashoffset` flow suggesting data movement; it is the page's one E6 loop, held to the loop contract in [`../../patterns.md`](../../patterns.md) § A loop that can pause. Use case: a feature page showing data flow, a decision tree, or the steps of a journey. Step names take the display face; every other label is the body face, sentence case, untracked (64, 67); the arrowheads are geometry inside a drawing, not punctuation glued to text.```html-<svg class="flow" viewBox="0 0 720 200" role="img" aria-label="Data flow: input, process, output">- <defs>- <marker id="flow-arrow" markerWidth="10" markerHeight="10" refX="8" refY="3" orient="auto">- <path d="M0,0 L8,3 L0,6" fill="currentColor" />- </marker>- </defs>-- <g class="flow__step flow__step--a">- <rect class="flow__box" x="20" y="55" width="160" height="90" rx="0" />- <text class="flow__label" x="100" y="105" text-anchor="middle">Input</text>- </g>-- <path class="flow__arrow flow__arrow--live" d="M 180 100 Q 220 80 260 100" marker-end="url(#flow-arrow)" />-- <g class="flow__step">- <rect class="flow__box" x="260" y="55" width="200" height="90" rx="0" />- <text class="flow__label" x="360" y="100" text-anchor="middle">Parse and filter</text>- <text class="flow__sub" x="360" y="120" text-anchor="middle">A small predicate language</text>- </g>-- <path class="flow__arrow" d="M 460 100 Q 500 120 540 100" marker-end="url(#flow-arrow)" />-- <g class="flow__step flow__step--c">- <rect class="flow__box" x="540" y="55" width="160" height="90" rx="0" />- <text class="flow__label" x="620" y="105" text-anchor="middle">Output</text>- </g>-</svg>+<figure class="flow-figure" data-loop>+ <svg class="flow" viewBox="0 0 720 200" role="img" aria-label="Data flow: input, process, output">+ <defs>+ <marker id="flow-arrow" markerWidth="10" markerHeight="10" refX="8" refY="3" orient="auto">+ <path d="M0,0 L8,3 L0,6" fill="currentColor" />+ </marker>+ </defs>++ <g class="flow__step flow__step--a">+ <rect class="flow__box" x="20" y="55" width="160" height="90" rx="0" />+ <text class="flow__label" x="100" y="105" text-anchor="middle">Input</text>+ </g>++ <path class="flow__arrow flow__arrow--live" d="M 180 100 Q 220 80 260 100" marker-end="url(#flow-arrow)" />++ <g class="flow__step">+ <rect class="flow__box" x="260" y="55" width="200" height="90" rx="0" />+ <text class="flow__label" x="360" y="100" text-anchor="middle">Parse and filter</text>+ <text class="flow__sub" x="360" y="120" text-anchor="middle">A small predicate language</text>+ </g>++ <path class="flow__arrow" d="M 460 100 Q 500 120 540 100" marker-end="url(#flow-arrow)" />++ <g class="flow__step flow__step--c">+ <rect class="flow__box" x="540" y="55" width="160" height="90" rx="0" />+ <text class="flow__label" x="620" y="105" text-anchor="middle">Output</text>+ </g>+ </svg>+ <button class="btn btn--quiet" type="button" data-loop-toggle>Pause</button>+</figure>``````css@@ -39,6 +42,7 @@ Three labelled boxes joined by curved arrows. A slight asymmetric rotation (-1°inherits: false;}+.flow-figure { margin: 0; display: grid; justify-items: center; gap: var(--space-sm); }.flow { width: 100%; max-width: 48rem; height: auto; display: block; margin: 0 auto; color: var(--color-ink); }.flow__box { fill: none; stroke: currentColor; stroke-width: 1.5; }.flow__label { font-family: var(--font-display); font-size: 16px; fill: var(--color-ink); }@@ -49,13 +53,15 @@ Three labelled boxes joined by curved arrows. A slight asymmetric rotation (-1°.flow__arrow--live {stroke: var(--color-accent);stroke-dasharray: 6 6;- animation: flow 2.4s linear infinite;+ stroke-dashoffset: var(--flow-dash);+ animation: flow calc(var(--dur-long) * 6) var(--ease-in-out) infinite;}-@keyframes flow { to { stroke-dashoffset: -24; } }+@keyframes flow { to { --flow-dash: -24px; } }+@media (max-width: 40rem) { .flow-figure { overflow-x: auto; justify-items: start; } .flow { min-width: 48rem; } }@media (prefers-reduced-motion: reduce) {.flow__arrow--live { animation: none; stroke-dasharray: 0; }}```-**Use when** the brief is "show how the data flows": a feature page, a docs landing, a technical narrative. **Avoid when** the diagram has more than five nodes (use a real graph layout) or the relationships are not left to right.+Under 40rem the drawing keeps its full width and scrolls sideways inside the figure, so no label shrinks below legibility. **Use when** the brief is "show how the data flows": a feature page, a docs landing, a technical narrative. **Avoid when** the diagram has more than five nodes (use a real graph layout) or the relationships are not left to right.diff --git a/skills/hallmark/references/craft/recipes/mascot.md b/skills/hallmark/references/craft/recipes/mascot.mdindex 450f3e1..3c91038 100644--- a/skills/hallmark/references/craft/recipes/mascot.md+++ b/skills/hallmark/references/craft/recipes/mascot.md@@ -1,10 +1,10 @@### Recipe 2 · Minimal-line mascot-A small SVG character, face only, about 120 by 120 units, with personality and none of the uncanny-valley risk of a rendered figure. Two ellipse eyes with a blink loop, one quadratic-curve mouth, two stem accents (hair, hat, horns, antennae). Sits beside text. It does not react to the pointer; a hover state on a non-interactive element is a tell (11).+A small SVG character, face only, about 120 by 120 units, with personality and none of the uncanny-valley risk of a rendered figure. Two ellipse eyes, one quadratic-curve mouth, two stem accents (hair, hat, horns, antennae). The eyes blink on a two-cycle loop that ends inside 5 seconds, so it needs no pause control (`patterns.md` § A loop that can pause). Sits beside text. It does not react to the pointer; a hover state on a non-interactive element is a tell (11).```html-<figure class="mascot" aria-label="A drawn face with two eyes and a small smile">- <svg viewBox="0 0 120 130" class="mascot__svg">+<figure class="mascot">+ <svg viewBox="0 0 120 130" class="mascot__svg" role="img" aria-label="A drawn face with two eyes and a small smile"><circle class="mascot__head" cx="60" cy="60" r="42" /><ellipse class="mascot__eye mascot__eye--l" cx="46" cy="56" rx="4" ry="6" />@@ -22,11 +22,12 @@ A small SVG character, face only, about 120 by 120 units, with personality and n.mascot { display: inline-block; width: 80px; height: 86px; margin: 0; vertical-align: -8px; }.mascot__svg { width: 100%; height: 100%; color: var(--color-ink); }.mascot__head { fill: color-mix(in oklab, var(--color-paper-2) 94%, var(--color-accent)); stroke: var(--color-ink); stroke-width: 2; }-.mascot__eye { fill: var(--color-ink); animation: blink 5s var(--ease-in-out) infinite; }-.mascot__eye--r { animation-delay: 80ms; } /* one eye lags a little, as a drawn face would */+@property --lid { syntax: "<number>"; initial-value: 1; inherits: false; }+.mascot__eye { fill: var(--color-ink); transform: scaleY(var(--lid)); transform-box: fill-box; transform-origin: center; animation: blink calc(var(--dur-long) * 5) var(--ease-in-out) 2; }+.mascot__eye--r { animation-delay: var(--dur-micro); } /* one eye lags a little, as a drawn face would */@keyframes blink {- 0%, 8%, 92%, 100% { ry: 6px; }- 12%, 14% { ry: 0.8px; }+ 0%, 70%, 80%, 100% { --lid: 1; }+ 74%, 76% { --lid: 0.15; }}.mascot__mouth { fill: none; stroke: var(--color-ink); stroke-width: 1.6; stroke-linecap: round; }.mascot__accent { fill: none; stroke: var(--color-accent); stroke-width: 1.2; opacity: 0.6; stroke-linecap: round; }diff --git a/skills/hallmark/references/craft/tier-a-css.md b/skills/hallmark/references/craft/tier-a-css.mdindex f4d98b3..25a3738 100644--- a/skills/hallmark/references/craft/tier-a-css.md+++ b/skills/hallmark/references/craft/tier-a-css.md@@ -15,7 +15,7 @@| `mix-blend-mode` | Compositional depth (multiply, overlay, screen) || `filter` (drop-shadow, blur, hue-rotate) | Soft shadows on irregular shapes (follows the alpha channel) || `@property` | Smoothly interpolated custom properties (colour, length, angle) |-| `animation-timeline: scroll() / view()` | Declarative scroll-linked motion, composited off-thread |+| `animation-timeline: scroll() / view()` | Scroll-linked motion, only as a named pattern in `scroll-choreography.md` (F8) |### A worked example: the loaf as a single div@@ -44,12 +44,12 @@ Every colour derives from a token: the crust from the accent, the shadow from thlinear-gradient(180deg, var(--color-accent), oklch(from var(--color-accent) calc(l - 0.14) c h));border-radius: 50% 50% 14% 14% / 70% 70% 30% 30%;transform: translateY(var(--rise));- animation: rise 6s var(--ease-in-out) infinite alternate;+ animation: rise calc(var(--dur-long) * 9) var(--ease-in-out) infinite;box-shadow: 0 1.2rem 1.5rem -0.8rem oklch(from var(--color-ink) l c h / 0.18);}@keyframes rise {- to { --rise: -4px; } /* the breath: 4px over 6s */+ 50% { --rise: -4px; } /* the breath: up 4px and back in about 3.8s */}@media (prefers-reduced-motion: reduce) {@@ -57,7 +57,7 @@ Every colour derives from a token: the crust from the accent, the shadow from th}```-A bakery centrepiece in about 25 lines: no asset, animated, accessible. The next bakery brief gets a different loaf because the knobs change: rise distance, curvature, ridge spacing, colour stop.+A bakery centrepiece in about 25 lines: no asset, animated, accessible. The breath is the page's one E6 loop: it runs only where the theme lets something move and carries the loop contract in `patterns.md` § A loop that can pause. The next bakery brief gets a different loaf because the knobs change: rise distance, curvature, ridge spacing, colour stop.### Anti-patterns of CSS artdiff --git a/skills/hallmark/references/craft/tier-b-svg.md b/skills/hallmark/references/craft/tier-b-svg.mdindex 57c9352..5c9e477 100644--- a/skills/hallmark/references/craft/tier-b-svg.md+++ b/skills/hallmark/references/craft/tier-b-svg.md@@ -1,14 +1,13 @@## Tier B · Hand-built SVG illustration-**When.** Illustration CSS cannot express cleanly: characters, articulated figures, organic curves, multi-element scenes. The bakery's storefront, the studio mascot, a workflow diagram with seven labelled paths. Scales without limit, compresses to under 10 KB, animates; the cost is designing in Figma and cleaning the export. Typically 4 to 15 KB inline.+**When.** Illustration CSS cannot express cleanly: characters, articulated figures, organic curves, multi-element scenes. The bakery's storefront, the studio mascot, a workflow diagram with seven labelled paths. Scales without limit, animates, and typically weighs 4 to 15 KB inline; the cost is drawing every path by hand.### Pipeline-1. **Design in Figma.** Constraints and variants; keep paths as paths, never rasterise. Name the layers; the export honours them.-2. **Export as SVG.** Outline strokes only when you need stroke-as-fill animation; otherwise keep them strokes.-3. **Run it through [SVGOMG](https://jakearchibald.github.io/svgomg/).** Removes Figma metadata, unused `<defs>` and redundant transforms; 30 to 60% smaller is typical.-4. **Inline the result** for animation, or save `static.svg` and reference it from `<img>` or `background-image` for caching.-5. **Animate declaratively:** CSS keyframes on `<path d="">`, `@property`-driven interpolation, or [Motion](https://motion.dev) for orchestrated sequences.+1. **Draw it in code.** Set the `viewBox` to the drawing's bounds, build it from paths and strokes (never a raster), and group and name the parts that will move.+2. **Optimise.** Round coordinates to one decimal, merge paths that share a style, drop empty groups and unused `<defs>`. An SVG that came from a tool or a library goes through [SVGOMG](https://jakearchibald.github.io/svgomg/) first: 30 to 60% smaller is typical.+3. **Inline the result** for animation, or save `static.svg` and reference it from `<img>` or `background-image` for caching.+4. **Animate declaratively:** CSS keyframes on `<path d="">`, `@property`-driven interpolation, or [Motion](https://motion.dev) for orchestrated sequences.### A hand-built SVG with declarative animation@@ -23,16 +22,17 @@ Fills and strokes come from the tokens: the crumb is the accent, the score marks```css@property --bake {- syntax: "<percentage>";- initial-value: 0%;+ syntax: "<number>";+ initial-value: 1;inherits: false;}.loaf-body {fill: var(--color-accent);filter: drop-shadow(0 4px 8px oklch(from var(--color-ink) l c h / 0.16));+ transform: scaleY(var(--bake));transform-origin: 100px 90px;- animation: bake 6s var(--ease-in-out) infinite alternate;+ animation: bake calc(var(--dur-long) * 9) var(--ease-in-out) infinite;}.loaf-score {@@ -41,10 +41,10 @@ Fills and strokes come from the tokens: the crumb is the accent, the score marksstroke-linecap: round;fill: none;stroke-dasharray: 0 200;- animation: score 1.6s 0.8s var(--ease-out) forwards;+ animation: score var(--dur-long) calc(var(--dur-long) / 2) var(--ease-out) forwards;}-@keyframes bake { to { transform: scaleY(calc(1 + var(--bake) * 0.005)); --bake: 1%; } }+@keyframes bake { 50% { --bake: 1.02; } }@keyframes score { to { stroke-dasharray: 200 200; } }@media (prefers-reduced-motion: reduce) {@@ -53,7 +53,7 @@ Fills and strokes come from the tokens: the crumb is the accent, the score marks}```-The breath comes from `@property --bake` interpolating a percentage; the score marks draw themselves once on load via `stroke-dasharray`. No JS, 18 lines of CSS, reduced-motion safe.+The breath comes from `@property --bake` interpolating a number into `scaleY()`; at about 3.8s a cycle it is the page's one E6 loop and carries the loop contract in `patterns.md` § A loop that can pause. The score marks draw themselves once on load via `stroke-dasharray`, inside the hero's 0.8s entrance. Reduced-motion safe.### Animation choices for SVG@@ -68,11 +68,11 @@ The breath comes from `@property --bake` interpolating a percentage; the score m### Anti-patterns of hand-built SVG-- **Shipping the raw Figma export.** Always SVGOMG; untouched exports carry metadata, unused `<defs>` and doubled transforms.+- **Shipping a tool's export untouched.** Exports carry metadata, unused `<defs>` and doubled transforms; SVGOMG strips them.- **A 300 KB SVG.** Over 30 KB is suspicious; most well-built illustrations sit at 4 to 15 KB. A 100 KB file has hidden raster embeds or thousands of needless path commands.- **`viewBox` cruft.** Match the box to the design's bounds: no padding, no extra space.-- **Linear easing on everything.** `--ease-out` at minimum, or a cubic-bezier to two decimals.-- **Path morphing across mismatched anchor counts.** Browsers interpolate, but it jitters. Match the counts or use `clip-path`.+- **Linear easing on everything.** The easing tokens (`craft.md` § 5); linear is for progress.+- **Path morphing across mismatched anchor counts.** Browsers cannot interpolate it and jump halfway. Match the counts or use `clip-path`.---@@ -81,15 +81,15 @@ The breath comes from `@property --bake` interpolating a percentage; the score m**Brief:** "Build a landing page for a small bakery in Lisbon."**Shape:** Long Document; the bakery is a story-led brand, not a product.-**Direction:** Atelier, dealt: warm paper, prose-led, intimate.+**Direction:** Editorial, dealt: warm cream, a heavy condensed grotesque, one coral mark.**Enrichment:** E5 custom illustration centrepiece, tier B.-**The output:** a 60-line SVG of a single loaf, three paths (crust, crumb, score marks), to the right of the headline at 40% column width. `@property --rise` lifts it 4px over 6s, ease-in-out, alternating; the score marks draw themselves on first paint. Reduced motion shows the static loaf.+**The output:** a 60-line SVG of a single loaf, three paths (crust, crumb, score marks), to the right of the headline at 40% column width, drawn in ink with only the score marks in coral, so the accent stays a signal (23). Editorial moves nothing past its one clip reveal, so the loaf holds still: the theme wins on motion.```css-/* Hallmark · shape: Long Document · genre: editorial · theme: Atelier (deal 1/3, seed maple·2026-09-22·r0)- * hero: Corridor · nav: wordmark and two links · footer: letter close · enrichment: E5 illustration, tier B SVG, 60 lines, @property --rise plus stroke-dasharray draw-on · signature: the loaf that breathes- * axes: light/serif/warm · posture: restrained · contrast: pass · fold: pass · v2.1.0 */+/* Hallmark · shape: Long Document · genre: editorial · theme: Editorial (deal 3/3, seed small-bakery-lisbon·2026-10-02·r0)+ * hero: Settled · nav: wordmark and two links · footer: letter close · enrichment: E5 illustration, tier B SVG, 60 lines, still · signature: the loaf drawn beside the first line, scored in coral+ * axes: light/display-condensed/warm · posture: restrained · contrast: pass · fold: pass · v2.4.0 */```-The next bakery brief gets a different loaf: a different curvature, rise distance and score pattern, or a different subject altogether (a boule, a baguette, a flatbread). The knobs in [`hero-enrichment.md`](../hero-enrichment.md) make sure of it.+The next bakery brief gets a different loaf (another curvature and score pattern) or a different subject altogether (a boule, a baguette, a flatbread), and Rotation never lets E5 follow E5 (SKILL.md Step 2).diff --git a/skills/hallmark/references/craft/tier-c-animation.md b/skills/hallmark/references/craft/tier-c-animation.mdindex a1ed1bf..6075a43 100644--- a/skills/hallmark/references/craft/tier-c-animation.md+++ b/skills/hallmark/references/craft/tier-c-animation.md@@ -20,32 +20,19 @@ Use the platform first; reach for JS only when the platform cannot express the oaspect-ratio: 1;border-radius: var(--radius-pill);background: conic-gradient(from var(--turn), var(--color-accent) 0 25%, var(--color-paper-2) 25% 100%);- animation: turn 1.2s linear infinite; /* linear is right for progress */+ animation: turn calc(var(--dur-long) * 3) linear infinite; /* linear is right for progress */}```-No JS, no library, composited. Reduced motion keeps a functional loader running (`craft.md` § 5); it collapses decorative loops instead.+No JS, no library. Give it the scaffold's `keep-motion` class: base.css stops every other animation under reduced motion, and a functional loader keeps running (`craft.md` § 5).-### Scroll-driven animations--`animation-timeline: scroll()` and `view()` are Baseline; Firefox still needs a flag. The rule is progressive enhancement, and this is one of the named patterns in `scroll-choreography.md`, so it counts as the page's one scroll pattern (F8).+### Loops-```css-@supports (animation-timeline: view()) {- .reveal {- animation: fade-up linear both;- animation-timeline: view();- animation-range: entry 0% cover 30%;- }-}+Past the loader, a page carries at most one E6 loop, 4s or less a cycle and only where the theme lets something move, and the one ambient loop a theme may declare, 8s or slower (`craft.md` § 5). Write the cycle as a multiple of `--dur-long` and ease it with a token. Anything that moves past 5 seconds, a looping video included, takes the loop contract in `patterns.md` § A loop that can pause.-@keyframes fade-up {- from { opacity: 0; transform: translateY(var(--space-lg)); }- to { opacity: 1; transform: translateY(0); }-}-```+### Scroll-driven animations-Where supported, the element animates as it enters the viewport; elsewhere it is simply there, visible at rest (62). No JavaScript, no IntersectionObserver.+`animation-timeline: scroll()` and `view()` ship in Chromium and Safari; Firefox still needs a flag. On a page they appear only as one of the named patterns in `scroll-choreography.md`, once (F8), inside `@supports` and `@media (prefers-reduced-motion: no-preference)`, over base CSS that already shows the finished layout. A reveal on entry is not one of them: it runs once, from the IntersectionObserver pattern in `patterns.md`, never as a `view()` timeline that replays on every scroll.### View Transitions API@@ -53,6 +40,7 @@ Same-document view transitions are Baseline; cross-document ones are in Chromium```jsfunction applyTheme(theme) {+ const reduced = matchMedia('(prefers-reduced-motion: reduce)').matches;const apply = () => { /* mutate the DOM */ };if (!reduced && document.startViewTransition) {document.startViewTransition(apply);@@ -69,7 +57,7 @@ The browser handles the cross-fade. No library for state changes.| Library | When | Bundle | Verdict || --- | --- | --- | --- || **[Motion](https://motion.dev)** (`motion/react`, `motion`) | Orchestrated multi-element entrances in React (variants, `AnimatePresence`, viewport hooks) | About 6 KB with the React layer; Web Animations API backed | First reach for React |-| **[GSAP](https://gsap.com)** | Ambitious timelines, scrub on scroll, SVG path morphing across mismatched anchors, hero sequences with 20 or more elements | About 50 KB core; 100 KB or more with plugins | Worth it when timelines are the product; overkill for a fade-in |+| **[GSAP](https://gsap.com)** | Long timelines, a named scroll pattern that needs JS, SVG path morphing across mismatched anchors | About 50 KB core; 100 KB or more with plugins | Worth it when timelines are the product; overkill for a fade-in || **AutoAnimate** | Trivial layout transitions in React (a list reflows, an element appears) | About 2 KB | Fine for what it does || **Anime.js** | Lightweight stagger and simple animation in vanilla JS | About 15 KB | Acceptable || **Theatre.js** | A visual editor plus code API for ambitious orchestration | Heavy, 80 KB or more | Single-page interactive art only |@@ -82,16 +70,15 @@ Multiple elements, orchestrated entrance → Motion (React) or GSAP (vanilla, coScroll-progress-linked → one pattern from scroll-choreography.md (animation-timeline); GSAP ScrollTrigger only when that pattern needs JSState change between two layouts → View Transitions APIA list reflows in React → AutoAnimate-A hero narrative with scrubbing → GSAP timeline plus ScrollTrigger```Motion for a single fade-in is the bundle-bloat tell; GSAP for a list reflow is the same tell, louder.### Anti-patterns of declarative animation-- **Animating `width`, `height`, `top`, `left`, `margin` or `padding`.** Layout thrash; `transform` and `opacity` composite (10a).-- **Linear easing on UI.** Linear belongs to progress and loaders only.-- **Bouncy elastic on hero entrances** (`cubic-bezier(0.34, 1.56, …)` and friends). Reserved for a playful theme's declared waiver, on a real physical interaction like drag-release (12).+- **Animating `width`, `height`, `top`, `left`, `margin` or `padding`.** Layout thrash; `transform` and `opacity` composite (10a, 10b).+- **Linear easing on UI.** Linear belongs to progress, loaders and scroll scrubbing only.+- **Bouncy elastic on hero entrances** (`cubic-bezier(0.34, 1.56, …)` and friends). Reserved for a playful theme's declared spring posture, on the primary control and one character moment (12).- **Importing Motion or GSAP for one fade-in.** `transition: opacity var(--dur-long) var(--ease-out)` is zero bytes.- **Scroll-fade everything.** One orchestrated entrance on first load; the rest is simply there.- **A reveal with no `prefers-reduced-motion` fallback.** Every transform and animation is guarded (27).diff --git a/skills/hallmark/references/craft/tier-d-webgl.md b/skills/hallmark/references/craft/tier-d-webgl.mdindex de1fb27..2483d60 100644--- a/skills/hallmark/references/craft/tier-d-webgl.md+++ b/skills/hallmark/references/craft/tier-d-webgl.md@@ -18,6 +18,8 @@**Always a non-WebGL fallback.** When the canvas fails to initialise (no WebGL2, a blocklisted GPU, low-power mode), show a static poster so the page still renders and still reads.+**Motion.** The scene moves when the visitor moves it. Any idle motion is a loop under `craft.md` § 5: the render loop stops under reduced motion and off-screen, and past 5 seconds it carries a visible pause control.+### Anti-patterns of WebGL- **Three.js for a stationary product.** No interaction, no justification; an SVG or a photograph.diff --git a/skills/hallmark/references/craft/tier-e-generated.md b/skills/hallmark/references/craft/tier-e-generated.mdindex e6a3134..b8d3f3b 100644--- a/skills/hallmark/references/craft/tier-e-generated.md+++ b/skills/hallmark/references/craft/tier-e-generated.md@@ -1,6 +1,6 @@## Tier E · Generated stills-For characters or specific scenes when hand-building is uneconomical: a small mascot in five poses, an evocative atmospheric still for an agency selling a thing. The model catalogue, with what each is good at, lives in [`assets.md`](../assets.md) § Generated illustration; this file is the discipline. Pick by need: production-grade SVG output for marks and icons; reference-image consistency for a character across panels; photorealism for skin, fabric and product. None of them output animation.+For characters or specific scenes when hand-building is uneconomical: a small mascot in five poses, an evocative atmospheric still for an agency selling a thing. Where the stills come from is in [`assets.md`](../assets.md) § Generated stills; this file is the discipline. None of the models output animation.### The callable hook (opt-in)@@ -10,19 +10,17 @@ When `TOGETHER_API_KEY` is set and the user has asked for a generated image, fetnode <skill-dir>/scripts/imagegen.mjs "<prompt>" --size 1536x1024 [--model ...] [--out <path>]```-The script's default model is photoreal; pass `--model` for one that renders legible in-image text and holds brand consistency (it carries a SynthID watermark). It caches by prompt hash under `.hallmark/img-cache/` and writes a provenance sidecar. **With no key it exits with code 3 and you fall back to CSS art or a labelled slot.** Never auto-fire it; it serves image-heavy briefs on request, and every generated asset is still post-processed and provenance-stamped as below.+The default model (FLUX.1.1 pro) is photoreal; `--model` takes any other image model id Together AI serves. It caches by prompt hash under `.hallmark/img-cache/` and writes a provenance sidecar. **With no key it exits with code 3 and you fall back to CSS art or a labelled slot.** Never auto-fire it; it serves image-heavy briefs on request, and every generated asset is still post-processed and provenance-stamped as below.### Discipline when generating- **Always post-process.** Grain, an asymmetric crop, a drawn overlay, a colour grade toward the theme's paper. Raw model output looks generated; the post-process is what makes it the page's.-- **Use reference images** for brand consistency: feed the existing brand assets so generations stay on style.-- **Stamp the provenance** in the CSS stamp (`generated: <model> via scripts/imagegen.mjs · post-processed`). Future audits need to know.-- **Verify the watermark** where the model embeds one.+- **Stamp the provenance** in the CSS stamp (`generated: <model> via scripts/imagegen.mjs · post-processed`), so whoever edits the page next knows which images were generated.- **No multi-frame animation.** Never assemble stills into a Lottie loop; that is tier F territory and almost always worse than one still.### Anti-patterns of generated stills- **Symmetrical compositions.** Algorithmic; crop asymmetrically.-- **Smooth-mesh faces.** The generic generated-character look. Avoid character-led stills if you cannot get past it, or lean on reference images and prompt for asymmetry and imperfection.+- **Smooth-mesh faces.** The generic generated-character look. Avoid character-led stills if you cannot get past it, or prompt for asymmetry and imperfection.- **Default lighting and blue-tinted backgrounds.** Specify the theme's colour and an unusual light in the prompt.-- **Six fingers, doubled furniture, impossible rooms.** Rarer now, still lurking. Always inspect.+- **Six fingers, doubled furniture, impossible rooms.** Inspect every still before it ships.diff --git a/skills/hallmark/references/craft/tier-f-lottie.md b/skills/hallmark/references/craft/tier-f-lottie.mdindex b91bad7..9dca1dd 100644--- a/skills/hallmark/references/craft/tier-f-lottie.md+++ b/skills/hallmark/references/craft/tier-f-lottie.md@@ -11,7 +11,7 @@ When budget and timeline force a shortcut. The catalogue is in [`assets.md`](../- The motion is character-articulated (a five-frame mascot wave, a multi-joint walk cycle) and CSS or SVG cannot reasonably express it- The file is custom-commissioned and matches the brand- It is under 2 MB-- Pause and resume are wired+- A loop stops off-screen, pauses on hover and focus, and past 5 seconds carries a visible pause control (`patterns.md` § A loop that can pause)- The `prefers-reduced-motion` fallback is a static keyframe**Never Lottie for:**diff --git a/skills/hallmark/references/custom-craft.md b/skills/hallmark/references/custom-craft.mdindex 8b5bf56..6bc8706 100644--- a/skills/hallmark/references/custom-craft.md+++ b/skills/hallmark/references/custom-craft.md@@ -21,8 +21,8 @@ This file is the index. The guidance lives in `craft/`, one file per tier, withWhat the four recipes share:-1. **`@property` for declarative interpolation.** Animating a typed custom property (`<length>`, `<number>`, `<angle>`, `<color>`) gives composited animation with zero JS. The loaf, the flow line, the architecture diagram's traffic and the mascot's blink all use it.-2. **Asymmetric `transform: rotate()` for a drawn feel.** The workflow boxes rotate at plus or minus 1°, the mascot's eyes blink 80ms apart, the sprig's leaves sit at +25° and -30°. Symmetry looks algorithmic; controlled asymmetry looks drawn.+1. **`@property` for declarative interpolation.** Animating a typed custom property (`<length>`, `<number>`, `<angle>`, `<color>`) animates with zero JS. The loaf, the flow line, the architecture diagram's traffic and the mascot's blink all use it.+2. **Asymmetric `transform: rotate()` for a drawn feel.** The workflow boxes rotate at plus or minus 1°, the mascot's eyes blink `--dur-micro` apart, the sprig's leaves sit at -25° and +30°. Symmetry looks algorithmic; controlled asymmetry looks drawn.3. **Opacity layering for secondary detail.** The workflow's second arrow is `--color-muted`; the architecture sub-labels are muted; the sprig veins are 0.6 opacity. The hierarchy of opacity is the hierarchy of attention.4. **Labels that are facts.** The architecture diagram's hop labels name real protocols; the workflow's predicates are real. Labels inside drawn work are the body face at a small size, sentence case, untracked (67); mono only on a figure, a measurement or code (64).@@ -46,7 +46,7 @@ Each tier file carries its own list. The cross-tier tells:Pick the tier, then read only that file from `references/craft/`. Never load the whole catalogue.- **Tier A · Pure CSS art**: shapes plus colour at zero bytes; the `clip-path` and `conic-gradient` toolkit and the single-div loaf. [`craft/tier-a-css.md`](craft/tier-a-css.md)-- **Tier B · Hand-built SVG**: the Figma to SVGOMG pipeline, declarative SVG animation, and the bakery worked example end to end. [`craft/tier-b-svg.md`](craft/tier-b-svg.md)+- **Tier B · Hand-built SVG**: drawing in code and optimising it, declarative SVG animation, and the bakery worked example end to end. [`craft/tier-b-svg.md`](craft/tier-b-svg.md)- **Tier C · Declarative animation**: `@property`, scroll-driven animation, View Transitions, and when Motion or GSAP earns its bundle. [`craft/tier-c-animation.md`](craft/tier-c-animation.md)- **Tier D · Three.js / WebGL**: when 3D is justified, the performance budget, and the mandatory non-WebGL fallback. [`craft/tier-d-webgl.md`](craft/tier-d-webgl.md)- **Tier E · Generated stills**: the hook script, provenance, and the post-processing discipline. [`craft/tier-e-generated.md`](craft/tier-e-generated.md)diff --git a/skills/hallmark/references/dark-mode.md b/skills/hallmark/references/dark-mode.mdindex 890d139..1fde6c4 100644--- a/skills/hallmark/references/dark-mode.md+++ b/skills/hallmark/references/dark-mode.md@@ -1,24 +1,24 @@-# Dark mode - parity, never inversion+# Dark mode: parity, never inversion-Loaded only when the user asks for both modes ("dark mode too", "light and dark") or the pre-flight finds an existing mode system to respect. A dark THEME (Midnight, Ledger, Kiln) is not a dual-mode page; this file is for pages that ship BOTH modes from one token system. Never emit dual-mode unprompted.+Loaded only when the user asks for both modes ("dark mode too", "light and dark") or the pre-flight finds an existing mode system to respect. A dark theme (Midnight, Ledger, Kiln) is not a dual-mode page; this file is for pages that ship both modes from one token system. Never emit dual-mode unprompted.## The stance-Dark mode is a second, equally designed rendering of the same system - not `filter: invert()`, not "flip the greys". Every token is re-derived by recipe; every contrast target holds identically in both modes; the anchor hue never moves. If a token would fail its contrast pairing after re-derivation, fix the derivation, never the requirement.+Dark mode is a second, equally designed rendering of the same system: not `filter: invert()`, not "flip the greys". Every token is re-derived by recipe; every contrast target holds identically in both modes; the anchor hue never moves. If a token would fail its contrast pairing after re-derivation, fix the derivation, never the requirement.## Token re-derivation (per token, from the light value)| Token | Dark derivation || --- | --- || `--color-paper` | L 12-18%, anchor-tinted (chroma 0.008-0.015). Never `#000`. |-| `--color-paper-2/3` | ELEVATION IS LIGHTER: +3% L per level above paper (light mode steps darker; dark mode steps lighter). |+| `--color-paper-2/3` | Elevation is lighter: +3% L per level above paper (light mode steps darker; dark mode steps lighter). || `--color-ink` | L 92-96%, anchor-tinted. Never `#fff`. || `--color-ink-2` / muted / neutral | re-space the L steps between the new paper and ink so the typographic depth reads even; keep every chroma tint. || `--color-rule` | L ~26-34%; hairlines must survive on the dark ground (check against paper-2, not just paper). || `--color-accent` | chroma -0.02 to -0.04, L +5-10% (saturated light-mode accents glare on dark). || `--color-accent-ink` | re-verify: >= 4.5:1 body / 3:1 large on the new accent fill. |-| `--color-focus` | follows the accent derivation; ring contrast >= 3:1 against BOTH papers. |-| hue | NEVER moves between modes, on any token. |+| `--color-focus` | follows the accent derivation; ring contrast 3:1 or more against both papers. |+| hue | Never moves between modes, on any token. |Plus one non-token move: reduce body `font-weight` by 50 units (400 to 350) in dark; light-on-dark text reads optically heavier.@@ -38,7 +38,7 @@ The `[data-mode]` attribute wins over the media query by construction (the media## Dark discipline (the rules that change)-- **Shadows off.** Elevation is lightness (the +3% ladder) or an inset hairline ring (`box-shadow: inset 0 0 0 1px var(--color-rule)`). A drop shadow on dark reads as glow; glow is legal only under the atmospheric genre carve-out (`genres/atmospheric.md` § Allowed here: two fixed blooms), which is a THEME behaviour, not a mode behaviour.+- **Shadows off.** Elevation is lightness (the +3% ladder) or an inset hairline ring (`box-shadow: inset 0 0 0 1px var(--color-rule)`). A drop shadow on dark reads as glow; glow is legal only under the atmospheric genre carve-out (`genres/atmospheric.md` § Allowed here: two fixed blooms), which is a theme behaviour, not a mode behaviour.- **Cards lighter than canvas.** `paper-2` on `paper`, always; a card darker than its ground reads as a hole.- **One heading colour.** Headings all run `--color-ink`; per-heading colour variety that worked on light fragments on dark.- **Images.** Never CSS `invert`/`brightness` on raster images. Ship `-dark` asset variants (the imagery kit or tier-e generation), or wrap the image in a `paper-2` well so the light image reads as intentional plate. Kit brush/blob multiply assets skip dark mode entirely (multiply dies on dark grounds; texture.md notes the overlay swap for grain).@@ -46,4 +46,4 @@ The `[data-mode]` attribute wins over the media query by construction (the media## Verification-Both modes run the full gate sweep: contrast gates 40-41 on every pairing in BOTH modes (the render tier only sees the default mode; check the dark pairings numerically), gate 7 (no pure black/white) binds on the dark block too, and the stamp records `modes: light+dark` so the log knows.+Both modes run the full gate sweep: contrast gates 40-41 on every pairing in both modes (the render tier only sees the default mode; check the dark pairings numerically), gate 7 (no pure black/white) binds on the dark block too, and the stamp records `modes: light+dark` so the log knows.diff --git a/skills/hallmark/references/data-viz.md b/skills/hallmark/references/data-viz.mdindex 2850868..20e7568 100644--- a/skills/hallmark/references/data-viz.md+++ b/skills/hallmark/references/data-viz.md@@ -1,25 +1,25 @@-# Data viz - charts that read as set, not generated+# Data viz: charts that read as set, not generated-Loaded when the brief involves charts/data/dashboards or the macro is Stat-Led / Workbench. Generalizes what Ledger, Almanac, and Sport already practice: the tabular spine, hairline grids, one quiet series, and the standing ban on decorative dashboards ("no donut walls, no gauge rows, no confetti of KPIs").+Loaded when the brief involves charts/data/dashboards or the macro is Stat-Led / Workbench. Generalises what Ledger, Almanac and Sport already practise: the tabular spine, hairline grids, one quiet series, and the standing ban on decorative dashboards ("no donut walls, no gauge rows, no confetti of KPIs").## Form first (before any drawing)| The data is | The form is || --- | --- |-| one value | a stat tile (big figure + worded qualifier) - NEVER a one-bar chart |-| 2-5 values compared | a stat row, or horizontal bars |+| one value | a stat tile (a large figure and a worded qualifier), never a one-bar chart |+| two to five values compared | a stat row, or horizontal bars || a series over time | a line, or a sparkline when it rides inside another component |-| more than ~7 categories | a table (Almanac's home turf) - more colours is not an answer |-| parts of a whole | a stacked horizontal bar - never pie, donut, or gauge (house ban) |+| more than about seven categories | a table; more colours is not an answer |+| parts of a whole | a stacked horizontal bar; never a pie, a donut or a gauge |-The most underused form is EMPHASIS: one accent series, everything else neutral. If every series is loud, none is.+The most underused form is emphasis: one accent series, everything else neutral. If every series is loud, none is.## Construction (hand-built inline SVG, no chart library)-- **Bars**: <= 24px thick, 2-4px gaps, baseline at ZERO always; rounded only at the data end, <= 2px.-- **Lines**: 2px stroke; markers only at annotated points (>= 6px); a sparkline may fade-fill to transparent (the Ledger move), which is the ONE sanctioned gradient near a chart.+- **Bars**: <= 24px thick, 2-4px gaps, baseline at zero always; rounded only at the data end, <= 2px.+- **Lines**: 2px stroke; markers only at annotated points (>= 6px); a sparkline may fade-fill to transparent (the Ledger move), which is the one sanctioned gradient near a chart.- **Gridlines**: 1px solid `--color-rule`, never dashed, fewer than you think (3-5 horizontal lines); axis lines can be the grid's first line, not a heavier stroke.-- **One y-axis.** Never dual axes - the classic way to fake a correlation. Two series with different units get two small charts (small multiples) instead.+- **One y-axis.** Never dual axes, the classic way to fake a correlation. Two series with different units get two small charts (small multiples) instead.- **No mark shadows, no 3D, no gradients in marks** (the sparkline fade-fill excepted).- Sparklines inside components: no axes, no grid, no second colour (ledger-01 is the register).@@ -28,16 +28,16 @@ The most underused form is EMPHASIS: one accent series, everything else neutral.Adapted to Hallmark's one-accent discipline (an 8-hue categorical palette would fight everything else on the page):- **Single series**: the accent.-- **Multi-series**: a LIGHTNESS ramp on the accent hue (L steps of ~12-15%, chroma constant), assigned in a fixed order, never cycled; context/reference series in `--color-muted`.+- **Multi-series**: a lightness ramp on the accent hue (L steps of ~12-15%, chroma constant), assigned in a fixed order, never cycled; context/reference series in `--color-muted`.- **A second hue** only under Full-palette posture, from the declared roles, never invented mid-chart.- **Text never wears the data colour.** Labels, values, and axis text are `--color-ink` / `--color-muted`; a series is identified by a swatch beside its label, not by dyeing the words.-- **tabular-nums on every numeric surface** (values, axes, tables) - the finish tier checks it.+- **Tabular numerals on every numeric surface** (values, axes, tables; F6).## Honesty (gate 46 binds here hardest)-- Real numbers, or the labelled-placeholder treatment ("metric to confirm" + a grey block); a fabricated series is worse than an empty slot.+- Real numbers, or a text slot (`craft.md` § 8) where a figure is missing; a fabricated series is worse than an empty slot.- Bars start at zero; a truncated axis that exaggerates a delta is the numeric version of an invented metric. Annotate a zoomed view explicitly ("axis starts at 94%") when the data genuinely lives in a narrow band.-- Sample data in examples is plausible and internally consistent (totals sum, dates sequence); the stamp notes `data: sample` when it is.+- Sample data lives only inside a slot's sketch or a code surface, reads as a sample (totals sum, dates sequence) and is never a figure a visitor could take as a claim (`craft.md` § 6); the stamp notes `data: sample`.## Dark@@ -45,4 +45,4 @@ Marks re-derive like accents in [`dark-mode.md`](dark-mode.md) (chroma down, L u## The dashboard bar-A Workbench/dashboard build shows FEWER, truer figures: one hero figure (stat tile), one supporting chart, one table. The KPI wall with six gauges is the tell this file exists to kill.+A Workbench or dashboard build shows fewer, truer figures: one hero figure (stat tile), one supporting chart, one table. The KPI wall with six gauges is the tell this file exists to kill.diff --git a/skills/hallmark/references/design-md.md b/skills/hallmark/references/design-md.mdindex 4d4d9f3..953c642 100644--- a/skills/hallmark/references/design-md.md+++ b/skills/hallmark/references/design-md.md@@ -1,96 +1,53 @@-# design.md, opt-in portable design system+# design.md: the locked system-Loaded by [`SKILL.md`](../SKILL.md) Step 6 ONLY when the user explicitly asks Hallmark to lock the current build's design system into a portable file. The default verb does NOT auto-emit `design.md`. The user iterates freely until they say the system is settled, then asks for it.+Loaded only when the user asks to lock the current build's system into a portable file. A build never writes `design.md` on its own; `tokens.css` already makes every build portable, and the Picks block offers the lock in one line.-## Triggers (phrase-only, no new verb)+## Triggers-Fire ONLY when the user says one of:+*lock the system*, *lock the design system*, *give me a design.md*, *export this as a design.md*, *extract the tokens*, *make this portable*, *I want to use this in another project*. Anything else, including more iteration on the same brief, skips this file.-- *"lock the system"* / *"lock the design system"* / *"lock the DNA"* / *"lock this DNA"*-- *"give me a design.md"* / *"write a design.md"* / *"export this as a design.md"*-- *"extract this to a design system"* / *"extract the tokens"* / *"extract the DNA"*-- *"make this portable"* / *"make the DNA portable"*-- *"I want to use this in another project"*+- **Page builds only.** A single component is too small to be a system.+- **Never overwrite.** If `design.md` or `DESIGN.md` exists at the root, refresh its `## Exports` and say so in one line: *design.md found; Exports refreshed, system unchanged.*-For everything else, including the default build and free iteration on the same brief, skip. A build stays token-portable via `tokens.css`; `design.md` is the explicit lock-in step.+## Format-## Scope--- **Page-builds only.** Skip on component-scope, a single component is too small to be a system.-- **A multi-page redesign** (a separate verb skill) writes its own heavier `design.md` first; that flow already implies a locked system and this file's format is the one it uses.-- **No-overwrite policy.** If `design.md` already exists at the project root, do NOT overwrite. Refresh its `## Exports` section instead and emit one line: *"design.md detected, refreshed Exports, system unchanged."*--## CTA, surface the offer in the Picks block--After every page build, append one quiet line at the bottom of the Picks block:--> *System portable? Say `lock the system` to extract this build's tokens + voice into a `design.md`.*--Skip the CTA when (a) the build is component-scope, or (b) `design.md` already exists in the project (system is already locked).--## Format (the tight version)--Write the file at the project root. Match the project's case convention (`design.md` or `DESIGN.md`). Target ~45 lines, enough to seed a real app, not so much that it becomes a wiki to maintain. The format:+At the project root, in the project's case convention, about 45 lines: enough to seed another page, short enough to maintain. State the picks aloud first (*Genre: editorial. Shape: Long Document. Theme: Newsprint. Locking this as the project's system.*), then write:````markdown-# Design, <Project name>+# Design: <project name>-Locked design system. Future Hallmark runs read this file first; pages defer-to it. Amend intentionally, the file is the rule.+The locked system. Every Hallmark run reads this first and pages share it. Change it on purpose; the file is the rule.## System-- Genre · <editorial / modern-minimal / atmospheric / playful>-- Macrostructure · <name>-- Theme · <catalog: NAME · or · custom (vibe: "<4 to 8 words>")>-- Axes · <paper-band> / <display-style> / <accent-hue>+- Genre: <editorial | modern-minimal | atmospheric | playful>+- Shape of the first page: <macrostructure>+- Theme: <catalog name, or custom (vibe: "<4 to 8 words>")>+- Axes: <paper band>/<display class>/<accent band> · posture: <posture>-## Tokens (canonical · `tokens.css` is the source of truth)+## Tokens+`tokens.css` is the source of truth. The roles:```css:root {- --color-paper: oklch(<L> <C> <H>);- --color-paper-2: oklch(<L> <C> <H>);- --color-ink: oklch(<L> <C> <H>);- --color-ink-2: oklch(<L> <C> <H>);- --color-rule: oklch(<L> <C> <H>);- --color-accent: oklch(<L> <C> <H>);- --color-accent-ink: oklch(<L> <C> <H>);- --color-focus: oklch(<L> <C> <H>);-- --font-display: "<face>", ...;- --font-body: "<face>", ...;- --font-outlier: "<face>", ...;-- /* 4-pt spacing scale, named: --space-3xs … --space-4xl. See tokens.css. */- /* Type scale, 1.25 (major-third) ratio: --text-xs … --text-display. */-- --ease-out: cubic-bezier(0.16, 1, 0.3, 1);- --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;-- --radius-card: <px>; --radius-pill: <px>; --radius-input: <px>;+ --color-paper: oklch(<L> <C> <H>); --color-paper-2: oklch(…); --color-paper-3: oklch(…);+ --color-ink: oklch(…); --color-ink-2: oklch(…); --color-muted: oklch(…); --color-rule: oklch(…);+ --color-accent: oklch(…); --color-accent-ink: oklch(…); --color-focus: oklch(…);+ --font-display: "<face>", <fallbacks>; --font-body: "<face>", <fallbacks>; --font-outlier: <…>;+ --radius-card: <px>; --radius-pill: <px>; --rule-hair: <px>; --shadow-card: <value or none>;}```+The spacing scale, the 1.25 type scale, the easings and the durations are the scaffold's and live in `tokens.css`.-## CTA voice-- Primary · <fill colour> · <radius> · <padding rhythm>-- Secondary · <outline / ghost> · <same radius>+## Controls+- Primary: <fill> · <radius> · <height>+- Secondary: <outline or text> · same radius and height-## Motion stance-- <silent · 1 to 2 reveal primitives · motion-cut>-- Reduced-motion fallback · ≤150 ms opacity crossfade.+## Motion+- Character: <still | severe | brisk | calm>; one reveal at most; reduced motion is a 150ms crossfade.## Exports-`tokens.css` (in this project) is the source of truth. For Tailwind v4-`@theme`, DTCG `tokens.json`, or shadcn/ui CSS variables, ask *"extend-design.md with Tailwind exports"* (or the format you want), Hallmark will-append them per [`export-formats.md`](export-formats.md).+`tokens.css` in this project. Tailwind, DTCG or shadcn blocks are added here on request, per `export-formats.md`.````-State the picks aloud BEFORE writing the file. *"Genre: editorial. Macrostructure: Long Document. Theme: catalog Editorial. Locking this as the project's system."* Then write.--## After the file is written--Once `design.md` exists, [`SKILL.md`](../SKILL.md) Step 0's pre-flight scan detects it on every subsequent run. From that point on:+## After the file exists-- All future Hallmark runs READ `design.md` first; subsequent picks (genre / theme / typography / motion / CTA voice) defer to it.-- The diversification rule INVERTS, pages must SHARE the system, not differ from each other.-- If a future page genuinely needs a different system, AMEND `design.md` with a `## Variants` section rather than overriding locally, the file evolves; per-page overrides do not.+The pre-flight finds it on every later run (SKILL.md Step 0). From then on every pick defers to it, the variety rule inverts (pages share the system rather than differ), and a page that genuinely needs something else amends `design.md` with a `## Variants` section instead of overriding it locally.diff --git a/skills/hallmark/references/direction.md b/skills/hallmark/references/direction.mdindex 5832927..c9a3b47 100644--- a/skills/hallmark/references/direction.md+++ b/skills/hallmark/references/direction.md@@ -14,7 +14,7 @@ Runs in order before any palette work. Each step is one or two written lines; th**R.1 Reflex check.** Name the category's obvious aesthetic and its tasteful second-order fallback, then reject both in writing: *Reflex check: rejecting sage-and-cream (the category default) and editorial serif on bone (the tasteful fallback).* The default and its predictable opposite are both the rut. Two more altitudes: would the slate you are about to write fit the category's other products unchanged (then it is category gravity), and could someone guess the aesthetic from the category plus what Hallmark always avoids (then the avoidance is the pattern)? If either is obvious, rework.-**R.2 Spent defaults.** Already worn out for the brief family, declared before the slate: warm, bookish, food, family → cream paper, serif display, lamplight amber; tech, developer, AI → near-black, one neon accent, mono labels; editorial, studio, portfolio → bone paper, high-contrast serif, hairlines everywhere; playful, consumer → rounded sans, candy accent on white, blobs; luxury, craft → ivory, letterspaced small caps, no accent; health, science → clinical white, single blue, geometric sans; finance → navy, emerald, tabular mono; events, music → black, duotone photo, condensed caps. A spent look can still be earned by a draw that demands it; drifting there is what is banned.+**R.2 Spent defaults.** Already worn out for the brief family, declared before the slate: warm, bookish, food, family → cream paper, serif display, lamplight amber; tech, developer, AI → near-black, one neon accent, mono labels; editorial, studio, portfolio → bone paper, high-contrast serif, hairlines everywhere; playful, consumer → rounded sans, candy accent on white, blobs; luxury, craft → ivory, letterspaced small caps, no accent; health, science → clinical white, single blue, geometric sans; finance → navy, emerald, tabular mono; events, music → black, duotone photo, condensed caps. Spent in every family: pill buttons, cream or off-white paper, an italic accent word, `01 / 02 / 03` labels and mono labels, the defaults the field's own guides now name. A spent look can still be earned by a draw that demands it; drifting there is what is banned.Your own rendition prior is spent too, and it bites at execution rather than selection. Claude renders warm, bookish and child-facing subjects as cream, serif, italic accents and lamplight whatever the draw said; before writing code, re-read the OWN-WORLD block, and if it says cream, paper, parchment, ivory or lamplight on a brief that never pinned them, rework from the world's saturated materials. Codex renders a tight grotesk at 600 on near-white with one blue accent and a bordered soft-shadow card. Gemini renders gradient ramps as material and hover motion on images. Open-weight models revert mid-build: the first viewport commits, section three becomes a card grid on white.@@ -34,7 +34,7 @@ It prints a reproducible line (`draw: n/7 (seed <slug>·<date>·r0) · challenge**R.6 Colour posture.** Exactly one, with a one-line reason: Restrained (accent under 5%), Committed (one colour carries 30 to 60% through the field or paper tokens), Full palette (three or four named roles with jobs), Drenched (the surface is the colour). Declared in the stamp and the log; gate 23 reads it.-**R.7 The direction contract.** Five blocks, 150 words or fewer, as a comment directly below the stamp and critique line, and mirrored in the Picks block:+**R.7 The direction contract.** Five blocks, 150 words or fewer, as a comment directly below the stamp and critique line. The Picks block mirrors it and replaces its Theme row with **Direction** (the draw, the challengers, the raise) and **System** (palette, pairing, the catalog coordinates it cleared):```/* direction contract · seed <key>@@ -51,9 +51,9 @@ If a block reads like a mood ("elegant, premium feel"), the direction is not decThe brief's structure itself is the ask and no catalog shape fits (a scroll-assembled poem, a ticket-shaped page). The ritual runs identically; the build may drop the shape catalog, the genre routing and the rotation (a one-off must still not clone a recent bespoke run). It keeps every gate, access and contrast, the font discipline, the OKLCH discipline, one orchestrated motion, the Picks block, the stamp and the log. Bespoke is more judgement, not less, and it is rare; reaching for it on a vanilla brief is over-reach.-## A. The one extra question+## A. The vibe-Asked with the Step 1 questions, never after: *One more input: the brand's vibe in 4 to 8 words ("archival warmth, hand-set, no varnish" · "industrial precision, cool, technical" · "moss, lichen, soft pink, herbal"), and optionally an anchor colour.* Two words is enough to proceed; a paragraph compresses to eight for the stamp.+Step 1 already asks for it, with an anchor colour if there is one, never in a second message. Two words are enough to proceed (*archival warmth, hand-set, no varnish*; *moss, lichen, soft pink, herbal*); a paragraph compresses to eight for the stamp.## B. Palette construction@@ -73,7 +73,7 @@ A derived system pulls from `fonts.md` and may mix tones (an editorial display o## D. Axes and posture-Declare the triple so Rotation reads it like a catalog theme's: paper band (dark under 30% L, mid 30 to 85, light over 85), display class (roman-serif, high-contrast-serif, slab-serif, grotesk-sans, grotesk-heavy, geometric-sans, rounded-sans, display-condensed, display-heavy, mono, pixel, handwritten), accent band (warm 10 to 60°, cool 200 to 300°, neutral under 0.05 chroma, chromatic-<name>), plus the posture. Then:+Declare the triple so Rotation reads it like a catalog theme's: paper band (dark under 30% L, mid 30 to 85, light over 85), display class (roman-serif, high-contrast-serif, slab-serif, grotesk-sans, grotesk-heavy, geometric-sans, rounded-sans, display-condensed, display-heavy, mono, pixel, handwritten, blackletter), accent band (warm 10 to 60°, cool 200 to 300°, neutral under 0.05 chroma, chromatic-<name>), plus the posture. Then:```node <skill-dir>/scripts/theme.mjs check --axes "light/roman-serif/cool" --face "Sentient" --hue 250 --log .hallmark/log.jsondiff --git a/skills/hallmark/references/enrichment/e1-clipped-demo-video.md b/skills/hallmark/references/enrichment/e1-clipped-demo-video.mdindex 2b752d3..571b0b6 100644--- a/skills/hallmark/references/enrichment/e1-clipped-demo-video.md+++ b/skills/hallmark/references/enrichment/e1-clipped-demo-video.md@@ -10,47 +10,52 @@ A display headline left, a real product capture right, and the rightmost 10 to 2- Aspect ratio (16/10 · 16/9 · 4/3)- Frame (hairline · none); never drawn browser chrome (47a)-**Example.** Tracejam, an observability tool (test 05-tracejam-saas). Headline left ("Distributed tracing that explains itself."); the trace waterfall capture right in the hero slot, tilted -0.4°, extending 12vw past the viewport's right edge, aspect 16/10, hairline frame. Without footage the slot shows its designed placeholder. Under 60rem the clip goes and the two stack.+**Example.** Tracejam, an observability tool. Headline left ("Distributed tracing that explains itself."); the trace waterfall capture right in the hero slot, running 18% of its column past the viewport's right edge at every width, aspect 16/10, hairline frame. Without footage the slot shows its designed placeholder. Under 60rem the clip goes and the two stack.```html<section class="hero hero--clipped">- <div class="hero__copy">- <h1>Plan, build, ship.</h1>- <p>The project tracker your engineering team will keep open.</p>- <a class="btn" href="/signup">Start a project</a>+ <div class="container hero__grid">+ <div class="hero__copy">+ <h1>Distributed tracing that explains itself.</h1>+ <p>Every alert opens on the slow span that caused it.</p>+ <a class="btn" href="#start">Trace a request</a>+ </div>+ <figure class="hero__media" data-slot="hero" data-alt="The trace waterfall, one slow span highlighted" data-loop>+ <!-- without footage: the slot's designed placeholder (craft.md § 8) instead of the video and its button -->+ <video autoplay muted loop playsinline preload="metadata"+ poster="/hero-poster.webp"+ aria-label="The trace waterfall, opened from an alert">+ <source src="/hero.av1.mp4" type='video/mp4; codecs="av01.0.05M.08"'>+ <source src="/hero.vp9.webm" type="video/webm">+ <source src="/hero.h264.mp4" type="video/mp4">+ </video>+ <button class="btn btn--quiet hero__pause" type="button" data-loop-toggle>Pause</button>+ </figure></div>- <figure class="hero__media" data-slot="hero">- <video autoplay muted loop playsinline preload="metadata"- poster="/hero-poster.webp" fetchpriority="high"- aria-label="Tour of the dashboard">- <source src="/hero.av1.mp4" type='video/mp4; codecs="av01.0.05M.08"'>- <source src="/hero.vp9.webm" type="video/webm">- <source src="/hero.h264.mp4" type="video/mp4">- </video>- </figure></section>``````css-.hero--clipped {+.hero--clipped { container-type: inline-size; } /* full width, so 100cqw is the page; overflow stays visible and html and body clip (34) */+.hero__grid {display: grid;grid-template-columns: minmax(20rem, 1fr) minmax(0, 1.4fr);gap: var(--space-2xl);align-items: center;- overflow: visible; /* the media spills past the page edge; html and body carry overflow-x: clip (34) */}.hero__media {- width: calc(100% + 12vw); /* the part of the viewport that sits beyond the right edge */+ /* its column, the gutter, any page past the capped container, then 18% more that the viewport cuts */+ width: calc(118% + var(--gutter) + (100cqw - min(100cqw, var(--container))) / 2);aspect-ratio: 16 / 10;border-radius: var(--radius-card);border: var(--rule-hair) solid var(--color-rule);- overflow: hidden;margin: 0;}.hero__media video { width: 100%; height: 100%; object-fit: cover; }+.hero__pause { position: absolute; left: var(--space-sm); bottom: var(--space-sm); background: var(--color-paper); }@media (max-width: 60rem) {- .hero--clipped { grid-template-columns: 1fr; }+ .hero__grid { grid-template-columns: minmax(0, 1fr); }.hero__media { width: 100%; } /* a clipped edge on a phone looks broken */}@@ -60,4 +65,4 @@ A display headline left, a real product capture right, and the rightmost 10 to 2}```-Never `loading="lazy"` on the hero video (28a); `preload="metadata"` and `fetchpriority="high"`. Always a `poster` and a `<track kind="captions">`. The hairline frame is the only chrome: never traffic lights, a URL pill or a title bar.+The video is the LCP: never `loading="lazy"` on it (28a); always a `poster`, preloaded in the head with `<link rel="preload" as="image" href="/hero-poster.webp" fetchpriority="high">` (28b; `fetchpriority` does nothing on `<video>`), and a `<track kind="captions">` when the footage has speech. It loops past 5 seconds, so the figure carries the loop contract in [`../patterns.md`](../patterns.md) § A loop that can pause: still off-screen and under reduced motion, paused on hover and focus (18), its pause button in the corner nearest the text, which the viewport never cuts. The hairline frame is the only chrome: never traffic lights, a URL pill or a title bar.diff --git a/skills/hallmark/references/enrichment/e2-fullbleed-muted-loop.md b/skills/hallmark/references/enrichment/e2-fullbleed-muted-loop.mdindex 3e88ab2..3e88d46 100644--- a/skills/hallmark/references/enrichment/e2-fullbleed-muted-loop.md+++ b/skills/hallmark/references/enrichment/e2-fullbleed-muted-loop.md@@ -6,8 +6,9 @@ Video fills the fold, ghosted through `mix-blend-mode: multiply` over a paper-co*Avoid when:* the product needs to be seen clearly; use E1 or E4 instead.**Knobs:**-- Ghost opacity (0.3 · 0.5 · 0.7)+- Ghost opacity (0.3 · 0.5 · 0.7), text contrast measured on the darkest frame (40)- Text alignment (left-bias · centred)-- Out-of-viewport behaviour (keep looping · pause). Hover and focus always pause it (18).-**Example.** A small fashion label's spring lookbook. An eight-second muted loop of fabric draping in a studio, multiplied over a 0.5-opacity warm-cream overlay so the display headline ("Lookbook four, spring 2026.") reads over the moving footage. Pauses on hover and focus so the lede can be read; a VTT caption track describes the footage.+The video is the LCP: `autoplay muted loop playsinline`, a `poster` preloaded with `<link rel="preload" as="image" fetchpriority="high">`, never `loading="lazy"` (28a, 28b), and `aria-hidden="true"`, since it is wallpaper. It loops past 5 seconds, so the fold carries the loop contract in [`../patterns.md`](../patterns.md) § A loop that can pause: still off-screen and under reduced motion, paused on hover and focus (18), with a visible pause button. Without the user's footage the fold is a `data-slot` with its designed placeholder (`craft.md` § 8), never a stock clip passed off as the product.++**Example.** A small fashion label's spring lookbook. An eight-second muted loop of fabric draping in a studio, multiplied over a 0.5-opacity warm-cream overlay so the display headline ("Lookbook four, spring 2026.") reads over the moving footage. It pauses on hover and focus so the lede can be read, and its pause button sits in the fold's lower corner.diff --git a/skills/hallmark/references/enrichment/e4-floating-no-frame.md b/skills/hallmark/references/enrichment/e4-floating-no-frame.mdindex 72fcd99..4fbadca 100644--- a/skills/hallmark/references/enrichment/e4-floating-no-frame.md+++ b/skills/hallmark/references/enrichment/e4-floating-no-frame.md@@ -1,6 +1,6 @@### E4 · Screenshot in a figure-Display headline left, a real screenshot right in a `<figure>` whose `<figcaption>` states a fact (what the capture shows, where it was taken). No drawn chrome of any kind: no traffic lights, URL pill, toolbar or title bar (47a). The capture floats with a soft shadow and a card radius, optionally tilted, optionally annotated with numbered pins. The former E3 (browser-framed) lives here without its frame.+Display headline left, a real screenshot right in a `<figure>` whose `<figcaption>` states a fact (what the capture shows, where it was taken). No drawn chrome of any kind: no traffic lights, URL pill, toolbar or title bar (47a). The capture floats with a soft shadow and a card radius, optionally tilted, optionally annotated with numbered pins.*Use when:* you are selling a web app and have a clean, well-lit capture.*Avoid when:* you have no capture. The figure's image area is a `data-slot` that shows the designed placeholder (`craft.md` § 8) until the user's capture replaces it; never a styled-div dashboard with invented figures (47c).@@ -12,17 +12,17 @@ Display headline left, a real screenshot right in a `<figure>` whose `<figcaptio- Numbered pins (none · up to three), each a small numbered pin on the capture with its caption in the margin beside it, never arrows and labels; the annotated version is F5 in the cookbook- Background (paper · tinted well)-**Example.** A code-formatting CLI. Headline left ("Format anything in eight lines."), one capture right of the before and after diff, card radius, card shadow, tilted 1.5°, on a `--color-paper-2` well. The caption reads "The diff view, run on this repository."+**Example.** A code-review web app. Headline left ("Review the whole diff on one screen."), one capture right of the before and after diff, card radius, card shadow, tilted 1.5°, on a `--color-paper-2` well. The caption reads "The diff view, run on this repository."```html<section class="hero hero--figure"><div class="hero__copy">- <h1>Format anything in eight lines.</h1>- <p>One config for every language your repository speaks.</p>- <a class="btn" href="/docs/install">Install the CLI</a>+ <h1>Review the whole diff on one screen.</h1>+ <p>Comments, suggestions and checks sit beside the line they mean.</p>+ <a class="btn" href="#start">Review a pull request</a></div><figure class="hero__figure">- <div data-slot="hero" style="--tilt: 1.5deg">+ <div data-slot="hero" data-alt="The diff view, before and after, three comments open" style="--tilt: 1.5deg"><div class="slot__placeholder" aria-hidden="true"><span>your screenshot</span></div></div><figcaption>The diff view, run on this repository.</figcaption>@@ -44,6 +44,8 @@ Display headline left, a real screenshot right in a `<figure>` whose `<figcaptiobox-shadow: var(--shadow-card);transform: rotate(var(--tilt, 0deg));}+.slot__placeholder { position: absolute; inset: 0; background: linear-gradient(160deg, var(--color-paper-2), var(--color-paper-3)); }+.slot__placeholder span { position: absolute; left: var(--space-md); bottom: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }.hero__figure figcaption {margin-block-start: var(--space-md);font-size: var(--text-sm);@@ -56,4 +58,4 @@ Display headline left, a real screenshot right in a `<figure>` whose `<figcaptio}```-The slot contract (`[data-slot] > img` absolute, placeholder hidden once an image is present) comes from the scaffold. The caption sits outside the slot so it survives the swap.+The slot contract (`[data-slot] > img` absolute, placeholder hidden once an image is present) comes from the scaffold; inside the placeholder, sketch the diff view in three to five shapes (`craft.md` § 8). The caption sits outside the slot so it survives the swap.diff --git a/skills/hallmark/references/enrichment/e5-custom-illustration-centerpiece.md b/skills/hallmark/references/enrichment/e5-custom-illustration-centerpiece.mdindex 767548c..9dc90ea 100644--- a/skills/hallmark/references/enrichment/e5-custom-illustration-centerpiece.md+++ b/skills/hallmark/references/enrichment/e5-custom-illustration-centerpiece.md@@ -7,9 +7,9 @@ A hand-built SVG (tier B, the default) or a generated still (tier E, when charac**Knobs:**- Build method (tier A CSS · tier B SVG · tier E generated · tier F library)-- Animation (none · loop · scroll-linked)+- Animation (none · loop, held to E6's rules · scroll-linked, as one named pattern in `scroll-choreography.md`)- Scale (small accent · dominant)-**Example.** Maple Street Bread, a bakery (test 03-maple-bakery). Letter-style hero copy left ("Saturday, 6:14 a.m. The dough went in at midnight."), a 60-line hand-built SVG loaf right, three paths (body, shade, score marks). `@property --rise` lifts it 4px over 6s, alternating; the score marks draw themselves on first paint via `stroke-dasharray`. Tier B, dominant scale, animation: loop. Reduced motion shows the static loaf.+**Example.** Maple Street Bread, a bakery. Letter-style hero copy left ("Saturday, 6:14 a.m. The dough went in at midnight."), a 60-line hand-built SVG loaf right, three paths (body, shade, score marks). On a theme that lets something move, `@property --rise` lifts it 4px and back in about 3.8s, the page's one E6 loop under the loop contract (`patterns.md` § A loop that can pause); the score marks draw themselves once on first paint via `stroke-dasharray`. Tier B, dominant scale, animation: loop. Reduced motion shows the static loaf.How to draw the loaf and animate it with `@property` is in [`custom-craft.md`](../custom-craft.md): the tier B file carries the bakery worked example, and the recipes cover a workflow diagram, a mascot, an architecture diagram and a botanical accent.diff --git a/skills/hallmark/references/enrichment/e6-animated-loop.md b/skills/hallmark/references/enrichment/e6-animated-loop.mdindex c952dbf..bbfdc4c 100644--- a/skills/hallmark/references/enrichment/e6-animated-loop.md+++ b/skills/hallmark/references/enrichment/e6-animated-loop.md@@ -1,6 +1,6 @@### E6 · Animated loop, pure CSS or SVG-One small custom-built loop: an orbiting dot, a breathing rectangle, a moving gradient stop, a type-mask reveal. Small, custom, and looping only when reduced motion is off.+One small custom-built loop: an orbiting dot, a breathing rectangle, a moving gradient stop. It is the page's one E6 loop (`craft.md` § 5) and runs only where the theme lets something move.*Use when:* the page is otherwise still and one small animated element gives it life.*Avoid when:* the page already has movement; more movement makes the page anxious.@@ -8,6 +8,8 @@ One small custom-built loop: an orbiting dot, a breathing rectangle, a moving gr**Knobs:**- Medium (CSS keyframes · SVG with CSS · a library only when orchestration needs it, see `craft/tier-c-animation.md`)- Placement (margin · inline with the headline · corner accent)-- Loop duration (4s or less; anything longer drags)+- Loop duration (4s or less a cycle, a multiple of `--dur-long`; anything longer drags)-**Example.** A collaborative whiteboard app. A two-second pure-CSS loop beside the headline: a single dot orbiting a slow ellipse, standing for real-time presence without a Lottie. Built with `@property --angle` interpolating 0deg to 360deg on `transform: rotate()`. Margin-placed, about 64 by 64px, the accent at low chroma. Zero bytes of bundle; `animation: none` under reduced motion.+It loops past 5 seconds, so it carries the loop contract in [`../patterns.md`](../patterns.md) § A loop that can pause: still off-screen and under reduced motion, paused on hover and focus (18), with a visible pause button beside it.++**Example.** A collaborative whiteboard app. A pure-CSS loop of `calc(var(--dur-long) * 5)`, about two seconds, beside the headline: a single dot orbiting a slow ellipse, standing for real-time presence without a Lottie. Built with `@property --angle` interpolating 0deg to 360deg on `transform: rotate()`. Margin-placed, about 64 by 64px, the accent at low chroma, its pause button beside it. Zero bytes of bundle; `animation: none` under reduced motion.diff --git a/skills/hallmark/references/enrichment/e7-abstract-background.md b/skills/hallmark/references/enrichment/e7-abstract-background.mdindex f552bc2..46356f1 100644--- a/skills/hallmark/references/enrichment/e7-abstract-background.md+++ b/skills/hallmark/references/enrichment/e7-abstract-background.md@@ -1,24 +1,24 @@### E7 · Abstract background, subtle gradient plus grain-A two-colour CSS gradient at low chroma with SVG `<feTurbulence>` grain under 0.1 opacity. Not aurora, not a mesh, not floating orbs (29). Texture you can barely see: paper quality, not decoration. It never moves; parallax is banned (`craft.md` § 5) and scroll-linked motion lives only in `scroll-choreography.md`.+A two-colour CSS gradient at low chroma with a monochrome SVG `<feTurbulence>` grain at 0.08 opacity or less, the `texture.md` budget. Not aurora, not a mesh, not floating orbs (29), and never a grid or stripe pattern, which needs a canvas, a map or a measuring tool under it (47c). Texture you can barely see: paper quality, not decoration. It never moves; parallax is banned (`craft.md` § 5) and scroll-linked motion lives only in `scroll-choreography.md`.*Use when:* the page would feel synthetic on a flat surface.-*Avoid when:* the theme already has a paper feel (Specimen, Atelier, Riso); doubled grain is mud.+*Avoid when:* the theme already reads as paper or names its own grain (Specimen, Atelier, Riso), since doubled grain is mud; and on a modern-minimal page, which never takes grain (`texture.md`).**Knobs:**-- Gradient direction (45° · 135° · radial)-- Grain (off · subtle · textured)+- Gradient direction (45° · 135° · radial from one edge or corner, never centred behind the head, which is a spotlight, 29)+- Grain (off · 0.04 · 0.08)-**Example.** A small podcast site. A two-stop gradient at 135° (warm cream to a faint orange, both under 0.04 chroma) over the hero only, never page-wide, with a `<feTurbulence>` grain overlay at 0.06 opacity in `multiply`.+**Example.** A small podcast site. A two-stop gradient at 135°, from the paper with a trace of the accent mixed in to a half step toward `--color-paper-2`, both under 0.04 chroma, over the hero only, never page-wide, with a monochrome grain overlay at 0.06 opacity in `multiply`.```html<section class="hero hero--bg"><div class="hero__bg" aria-hidden="true"><svg width="0" height="0" style="position: absolute;">- <filter id="grain"><feTurbulence baseFrequency="0.9" numOctaves="2"/></filter>+ <filter id="grain"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2" stitchTiles="stitch"/><feColorMatrix type="saturate" values="0"/></filter></svg></div>- <div class="hero__copy"> ... </div>+ <div class="container hero__copy">…</div></section>``````cssdiff --git a/skills/hallmark/references/enrichment/hp1-vertical-rail-title.md b/skills/hallmark/references/enrichment/hp1-vertical-rail-title.mdindex bf4b4a0..f0c8376 100644--- a/skills/hallmark/references/enrichment/hp1-vertical-rail-title.md+++ b/skills/hallmark/references/enrichment/hp1-vertical-rail-title.md@@ -6,7 +6,7 @@ A fact runs vertically beside the body: the issue and its date, or the wordmark*Avoid when:* the body title is itself big and centred; a vertical rail beside a huge horizontal display makes two competing axes. The rail is the supporting voice; pick one direction.```html-<header class="hero hero--rail">+<header class="hero hero--rail container"><p class="hero__rail">Issue 12, spring 2026</p><div class="hero__body"><h1 class="hero__display">A working archive.</h1>@@ -15,7 +15,7 @@ A fact runs vertically beside the body: the issue and its date, or the wordmark</header>``````css-.hero--rail { display: grid; grid-template-columns: auto 1fr; gap: var(--space-2xl); padding: var(--space-2xl) var(--gutter); align-items: end; }+.hero--rail { display: grid; grid-template-columns: auto 1fr; gap: var(--space-2xl); padding-block: var(--space-2xl); align-items: end; }.hero__rail { writing-mode: vertical-rl; text-orientation: mixed; font-family: var(--font-body); font-size: var(--text-sm); color: var(--color-ink-2); margin: 0; }@media (max-width: 60rem) { .hero--rail { grid-template-columns: 1fr; } .hero__rail { writing-mode: horizontal-tb; order: 2; } }```diff --git a/skills/hallmark/references/enrichment/hp2-marquee-overflow.md b/skills/hallmark/references/enrichment/hp2-marquee-overflow.mdindex 2745d34..38c62de 100644--- a/skills/hallmark/references/enrichment/hp2-marquee-overflow.md+++ b/skills/hallmark/references/enrichment/hp2-marquee-overflow.md@@ -6,15 +6,15 @@ The h1 is set larger than the viewport on purpose and bleeds past the right edge*Avoid when:* the title carries information that must be read in full (a privacy notice, a terms page).```html-<header class="hero hero--overflow">- <h1 class="hero__display hero__display--xxl">LOUDER THAN THE ROOM.</h1>+<header class="hero hero--overflow container">+ <h1 class="hero__display hero__display--xxl">Louder than the room.</h1><p class="hero__lede">A festival for the bands nobody books.</p></header>``````css-.hero--overflow { padding: var(--space-2xl) var(--gutter); }-.hero__display--xxl { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 14vw, 14rem); line-height: 0.92; letter-spacing: -0.04em; margin: 0; white-space: nowrap; }+.hero--overflow { padding-block: var(--space-2xl); }+.hero__display--xxl { font-family: var(--font-display); font-size: clamp(4rem, 14vw, 14rem); line-height: 0.92; letter-spacing: var(--tracking-display); margin: 0; white-space: nowrap; }@media (max-width: 60rem) { .hero__display--xxl { white-space: normal; line-height: 1; font-size: clamp(2.5rem, 10vw, 5rem); } }```-The single-line lockup may sit under 1.0 because it cannot wrap (55b); the moment it can wrap, under 60rem, line-height returns to 1.0 (55a). The uppercase is the theme's display voice, never a label.+Weight, tracking and case are the theme's: any uppercase is its display voice, set in its CSS rather than typed into the markup, and never a label. In mixed case the one-line head may close to 0.92 (`craft.md` § 1); an uppercase one holds 1.02 (55b); the moment it can wrap, under 60rem, line-height returns to 1.0 (55a).diff --git a/skills/hallmark/references/enrichment/hp4-decorative-numeral.md b/skills/hallmark/references/enrichment/hp4-decorative-numeral.mdindex d90cfc2..7c9816e 100644--- a/skills/hallmark/references/enrichment/hp4-decorative-numeral.md+++ b/skills/hallmark/references/enrichment/hp4-decorative-numeral.md@@ -8,14 +8,15 @@ A huge edition number, year or chapter set at display scale behind or beside theThe numeral is the opening move; nothing labels the hero above the headline (54), and nothing sits under the lede but the actions (58).```html-<header class="hero hero--num">+<header class="hero hero--num container">+ <span class="hero__num" aria-hidden="true">22</span><h1 class="hero__display">A working archive.</h1><p class="hero__lede">Twelve years of selected projects, in their own time.</p>- <span class="hero__num" aria-hidden="true">22</span></header>``````css-.hero--num { position: relative; padding: var(--space-2xl) var(--gutter) var(--space-3xl); overflow: hidden; }-.hero__num { position: absolute; right: var(--gutter); bottom: -0.15em; font-family: var(--font-display); font-weight: 600; font-size: clamp(8rem, 22vw, 18rem); line-height: 1; color: color-mix(in oklab, var(--color-ink) 8%, transparent); pointer-events: none; user-select: none; }+.hero--num { position: relative; padding-block: var(--space-2xl) var(--space-3xl); overflow: hidden; }+.hero--num > :not(.hero__num) { position: relative; } /* later in the DOM, so the text paints above the numeral (73) */+.hero__num { position: absolute; right: var(--gutter); top: 50%; translate: 0 -50%; font-family: var(--font-display); font-weight: 600; font-size: clamp(8rem, 22vw, 18rem); line-height: 1; color: color-mix(in oklab, var(--color-ink) 8%, transparent); pointer-events: none; user-select: none; }@media (max-width: 60rem) { .hero__num { font-size: clamp(5rem, 26vw, 9rem); right: -0.1em; } }```diff --git a/skills/hallmark/references/export-formats.md b/skills/hallmark/references/export-formats.mdindex 08aef6d..14a28c9 100644--- a/skills/hallmark/references/export-formats.md+++ b/skills/hallmark/references/export-formats.md@@ -1,332 +1,72 @@# Export formats-Loaded by [`SKILL.md`](../SKILL.md) Step 6 when emitting the design system as portable tokens. Defines the four canonical formats Hallmark always writes:+Loaded when a `design.md` exists and its `## Exports` need refreshing, or when the user asks for the tokens in another format. `tokens.css` is the source of truth, written by `theme.mjs scaffold`; every other format is a translation of it, written only when asked for.-1. **`tokens.css`**, the source of truth. Always emitted alongside the page CSS.-2. **Tailwind v4 `@theme`**, for projects on Tailwind. Emitted into `design.md`'s Exports section on multi-page projects.-3. **DTCG `tokens.json`**, for projects using a token pipeline (Style Dictionary, Token Studio, Cobalt). Emitted into `design.md`.-4. **shadcn/ui CSS variables**, for projects using shadcn/ui's component library. Emitted into `design.md`.+## The token set-The output rule: `tokens.css` is always written. The other three live inline in `design.md` so the user copies whichever they need into a new project. **No new verb.** This is a side effect of every build.+| Family | Tokens |+| --- | --- |+| Colour | `--color-paper`, `-paper-2`, `-paper-3`, `-ink`, `-ink-2`, `-muted`, `-rule` (and `-rule-2` where a theme sets one), `-accent`, `-accent-ink`, `-focus`, `-error`, `-success`; `-field` under a Committed posture, `-accent-2` where a theme names a second ink |+| Type | `--font-display`, `--font-body`, `--font-outlier`; `--text-xs` to `--text-3xl` on a 1.25 ratio from 16px, `--text-display-s`, `--text-display`; `--tracking-display` |+| Space | `--space-3xs` (2px) to `--space-4xl` (144px), ten steps; `--container`, `--gutter`, `--gap-columns`, `--section-gap-s`, `--section-gap`, `--section-gap-l` |+| Shape | `--radius-card`, `--radius-pill`, `--rule-hair`, `--shadow-card` |+| Motion | `--ease-out`, `--ease-in`, `--ease-in-out`; `--dur-micro` 120ms, `--dur-short` 220ms, `--dur-long` 420ms |+| Layers | `--z-base` 1, `-raised` 10, `-dropdown` 100, `-sticky` 200, `-sticky-nav` 300, `-modal` 400, `-toast` 500, `-tooltip` 600 |----+A page that needs another token names it by role and declares it in `tokens.css`; nothing downstream uses a name `tokens.css` does not declare.-## Token taxonomy, Hallmark's source of truth+## `tokens.css` in a project-Every Hallmark output writes these tokens (or a subset, if the page doesn't use one). The names are the source; every other format is a translation.+The page's stylesheet imports it before any rule: `@import "./tokens.css";` (CSS drops an `@import` that follows a rule, and the tokens vanish without an error). In an existing entry stylesheet (`app/globals.css`, `src/index.css`), keep `@import "tailwindcss"` or the `@tailwind` directives exactly where they are, put the tokens import after them, and add Hallmark's base rules below. Where the project already names its tokens (`--background`, a Tailwind `@theme`), map Hallmark's roles onto those names rather than adding a parallel set. Replace the file only when the user asks for a full takeover.-| Hallmark token | Type | Example value |-| --- | --- | --- |-| `--color-paper` | colour | `oklch(96% 0.018 80)` |-| `--color-paper-2` | colour | `oklch(94% 0.020 80)` |-| `--color-paper-3` | colour | `oklch(91% 0.022 80)` |-| `--color-ink` | colour | `oklch(15% 0.012 80)` |-| `--color-ink-2` | colour | `oklch(28% 0.014 80)` |-| `--color-rule` | colour | `oklch(86% 0.018 80)` |-| `--color-rule-2` | colour | `oklch(72% 0.020 80)` |-| `--color-muted` | colour | `oklch(50% 0.014 80)` |-| `--color-neutral` | colour | `oklch(38% 0.012 80)` |-| `--color-accent` | colour | `oklch(58% 0.16 70)` |-| `--color-accent-ink` | colour | (text on accent fill, 4.5:1 or APCA Lc 60) |-| `--color-field` | colour | (Committed posture only: the carried colour) |-| `--color-accent-2` | colour | (a second ink, only on a theme that names it) |-| `--color-focus` | colour | (often = accent at higher chroma) |-| `--color-error` / `--color-success` | colour | form states; the scaffold's defaults, a theme may override |-| `--font-display` | font | `"Fraunces", ui-serif, Georgia, serif` |-| `--font-body` | font | `"Geist", ui-sans-serif, system-ui, sans-serif` |-| `--font-outlier` | font | `"Geist Mono", ui-monospace, monospace` |-| `--space-3xs` … `--space-4xl` | length | 4-pt scale: `2px` … `144px`, ten steps (`craft.md` § 3) |-| `--text-xs` … `--text-display` | length | 1.25 (major-third) ratio scale |-| `--ease-out` / `--ease-in` / `--ease-in-out` | easing | `cubic-bezier(0.16, 1, 0.3, 1)` etc. |-| `--dur-micro` / `--dur-short` / `--dur-long` | time | `120ms` / `220ms` / `420ms` |-| `--rule-hair` / `--rule-bar` | length | `1px` / `2px` to `5px` (a theme that draws heavy rules names `--rule-bar`) |-| `--radius-card` / `--radius-pill` / `--radius-input` | length | varies per theme |-| `--shadow-card` | shadow | varies per theme |-| `--z-base` … `--z-tooltip` | integer | 1, 10, 100, 200, 300, 400, 500, 600 |+## Tailwind v4-If the page introduces *additional* tokens, name them by role and add to `tokens.css`. Never invent a token name downstream that `tokens.css` does not declare.-------## Format 1, `tokens.css`--The source. Plain CSS custom properties at `:root`. Every Hallmark page CSS imports this file at the top:--```css-@import "tokens.css";-/* page CSS continues, uses var(--color-paper), never raw values */-```--Or, if the project uses a CSS bundler / framework that doesn't honour bare `@import`, the project's existing entry-point imports `tokens.css` before the page CSS that consumes it (keep it among the other top-of-file `@import`s, never above or in place of `@import "tailwindcss"`). The page CSS still references tokens by name, never by raw value.--**Worked example, editorial theme (Specimen-like):**--```css-:root {- --color-paper: oklch(96% 0.018 80);- --color-paper-2: oklch(94% 0.020 80);- --color-paper-3: oklch(91% 0.022 80);- --color-rule: oklch(86% 0.020 78);- --color-rule-2: oklch(72% 0.022 78);- --color-muted: oklch(50% 0.018 78);- --color-neutral: oklch(38% 0.014 76);- --color-ink-2: oklch(28% 0.012 75);- --color-ink: oklch(15% 0.010 75);- --color-accent: oklch(58% 0.16 60);- --color-accent-ink: oklch(98% 0.012 75);- --color-focus: oklch(58% 0.16 60);-- --font-display: "Fraunces", "Cardo", ui-serif, Georgia, serif;- --font-body: "Geist", "Söhne", ui-sans-serif, system-ui, sans-serif;- --font-outlier: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;-- --display-weight: 400;- --display-style: italic;- --tracking-display: -0.02em;-- --text-xs: 0.75rem;- --text-sm: 0.875rem;- --text-md: 1.125rem;- --text-lg: 1.375rem;- --text-xl: 1.75rem;- --text-2xl: 2.25rem;- --text-display: clamp(3rem, 6vw + 1rem, 6.5rem);-- --space-3xs: 0.25rem;- --space-2xs: 0.5rem;- --space-xs: 0.75rem;- --space-sm: 1rem;- --space-md: 1.5rem;- --space-lg: 2rem;- --space-xl: 3rem;- --space-2xl: 4.5rem;- --space-3xl: 7rem;- --space-4xl: 11rem;-- --rule-hair: 0.5px;- --rule-fine: 1px;- --radius-card: 0;- --radius-pill: 0;- --radius-input: 0;-- --ease-out: cubic-bezier(0.16, 1, 0.3, 1);- --ease-in: cubic-bezier(0.7, 0, 0.84, 0);- --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);-- --dur-micro: 120ms;- --dur-short: 220ms;- --dur-long: 420ms;-}-```--**Worked example, modern-minimal theme (austere, pure-white):**+Move the declarations into `@theme static` (static, so Tailwind emits every one as a variable on `:root`, used by a utility or not), so the page's `var()` references keep working and the utilities appear (`bg-paper`, `text-ink`, `font-display`, `rounded-card`, `ease-out`). Tailwind reads spacing as `--spacing-*`, so the scale goes in under that name and `tokens.css` keeps `--space-*` as aliases; the tokens Tailwind has no namespace for stay in `:root`.```css-:root {- --color-paper: oklch(100% 0 0);- --color-paper-2: oklch(98.5% 0 0);- --color-paper-3: oklch(96% 0 0);- --color-rule: oklch(91% 0 0);- --color-rule-2: oklch(82% 0 0);- --color-muted: oklch(55% 0 0);- --color-neutral: oklch(40% 0 0);- --color-ink-2: oklch(28% 0 0);- --color-ink: oklch(15% 0 0);- --color-accent: oklch(15% 0 0);- --color-accent-ink: oklch(100% 0 0);- --color-focus: oklch(60% 0.10 240);-- --font-display: "Geist", "Inter", ui-sans-serif, system-ui, sans-serif;- --font-body: "Geist", "Inter", ui-sans-serif, system-ui, sans-serif;- --font-outlier: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;-- --display-weight: 600;- --display-style: normal;- --tracking-display: -0.025em;-- --radius-card: 8px;- --radius-pill: 999px;- --radius-input: 8px;+@import "tailwindcss";+@theme static {+ --color-paper: oklch(96.5% 0.008 50);+ --spacing-lg: 24px;}+:root { --space-lg: var(--spacing-lg); --dur-short: 220ms; --z-modal: 400; --section-gap: 144px; }```------## Format 2, Tailwind v4 `@theme`--Tailwind v4 reads CSS variables inside `@theme` and generates utilities (`bg-paper`, `text-ink`, etc.) automatically. The translation from Hallmark tokens is direct, same variable names, same OKLCH values:--```css-@theme {- /* Colours */- --color-paper: oklch(96% 0.018 80);- --color-paper-2: oklch(94% 0.020 80);- --color-paper-3: oklch(91% 0.022 80);- --color-rule: oklch(86% 0.020 78);- --color-rule-2: oklch(72% 0.022 78);- --color-muted: oklch(50% 0.018 78);- --color-neutral: oklch(38% 0.014 76);- --color-ink-2: oklch(28% 0.012 75);- --color-ink: oklch(15% 0.010 75);- --color-accent: oklch(58% 0.16 60);- --color-focus: oklch(58% 0.16 60);-- /* Fonts */- --font-display: "Fraunces", "Cardo", ui-serif, Georgia, serif;- --font-body: "Geist", ui-sans-serif, system-ui, sans-serif;- --font-outlier: "Geist Mono", ui-monospace, monospace;+Every `--color-*`, `--font-*`, `--text-*`, `--tracking-*`, `--radius-*`, `--shadow-*` and `--ease-*` token goes into `@theme static` unchanged. Tailwind v3: the same names under `theme.extend` in `tailwind.config`, each value a `var()` of the token.- /* Spacing, Tailwind reads --spacing-* by default; we keep Hallmark's --space-* names alongside */- --spacing-3xs: 0.25rem;- --spacing-2xs: 0.5rem;- --spacing-xs: 0.75rem;- --spacing-sm: 1rem;- --spacing-md: 1.5rem;- --spacing-lg: 2rem;- --spacing-xl: 3rem;- --spacing-2xl: 4.5rem;+## DTCG `tokens.json`- /* Type scale, Tailwind reads --text-* */- --text-xs: 0.75rem;- --text-sm: 0.875rem;- --text-md: 1.125rem;- --text-lg: 1.375rem;- --text-xl: 1.75rem;- --text-2xl: 2.25rem;-- /* Radius */- --radius-card: 0;- --radius-pill: 0;- --radius-input: 0;-- /* Easings, Tailwind reads --ease-* */- --ease-out: cubic-bezier(0.16, 1, 0.3, 1);- --ease-in: cubic-bezier(0.7, 0, 0.84, 0);- --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);-}-```--Notes:-- Tailwind v4 expects `--spacing-*` (with `ing`) for the spacing utilities. We mirror Hallmark's `--space-*` to `--spacing-*` so both names work.-- `--text-*` works as-is (Tailwind v4 picks them up for `text-md` etc.).-- `--font-*` becomes `font-display` / `font-body` / `font-outlier` utilities.-- The user's `tailwind.config.{ts,js}` may need `@source` directives but no `theme.extend`, v4 reads `@theme` directly.-------## Format 3, DTCG `tokens.json`--W3C Design Tokens Community Group format. For projects using Style Dictionary, Cobalt, or Token Studio. Path-based; OKLCH stays as a string value; `$type` is required.+For Style Dictionary or Tokens Studio pipelines. Path-based, a `$type` on every token, OKLCH as a string (convert to hex only if the pipeline cannot read it, and say the conversion is lossy). A fluid size exports its maximum; the `clamp()` stays in CSS.```json{- "$schema": "https://design-tokens.github.io/community-group/format/","color": {- "paper": { "$value": "oklch(96% 0.018 80)", "$type": "color" },- "paper-2": { "$value": "oklch(94% 0.020 80)", "$type": "color" },- "paper-3": { "$value": "oklch(91% 0.022 80)", "$type": "color" },- "rule": { "$value": "oklch(86% 0.020 78)", "$type": "color" },- "rule-2": { "$value": "oklch(72% 0.022 78)", "$type": "color" },- "muted": { "$value": "oklch(50% 0.018 78)", "$type": "color" },- "neutral": { "$value": "oklch(38% 0.014 76)", "$type": "color" },- "ink-2": { "$value": "oklch(28% 0.012 75)", "$type": "color" },- "ink": { "$value": "oklch(15% 0.010 75)", "$type": "color" },- "accent": { "$value": "oklch(58% 0.16 60)", "$type": "color" },- "focus": { "$value": "oklch(58% 0.16 60)", "$type": "color" }+ "paper": { "$value": "oklch(96.5% 0.008 50)", "$type": "color" },+ "accent": { "$value": "oklch(62% 0.17 28)", "$type": "color" }},- "font": {- "display": { "$value": "Fraunces, Cardo, ui-serif, Georgia, serif", "$type": "fontFamily" },- "body": { "$value": "Geist, ui-sans-serif, system-ui, sans-serif", "$type": "fontFamily" },- "outlier": { "$value": "Geist Mono, ui-monospace, monospace", "$type": "fontFamily" }- },- "size": {- "text-xs": { "$value": "0.75rem", "$type": "dimension" },- "text-sm": { "$value": "0.875rem", "$type": "dimension" },- "text-md": { "$value": "1.125rem", "$type": "dimension" },- "text-lg": { "$value": "1.375rem", "$type": "dimension" },- "text-xl": { "$value": "1.75rem", "$type": "dimension" },- "text-2xl": { "$value": "2.25rem", "$type": "dimension" },- "text-display": { "$value": "6rem", "$type": "dimension" }- },- "space": {- "3xs": { "$value": "0.25rem", "$type": "dimension" },- "2xs": { "$value": "0.5rem", "$type": "dimension" },- "xs": { "$value": "0.75rem", "$type": "dimension" },- "sm": { "$value": "1rem", "$type": "dimension" },- "md": { "$value": "1.5rem", "$type": "dimension" },- "lg": { "$value": "2rem", "$type": "dimension" },- "xl": { "$value": "3rem", "$type": "dimension" },- "2xl": { "$value": "4.5rem", "$type": "dimension" },- "3xl": { "$value": "7rem", "$type": "dimension" },- "4xl": { "$value": "11rem", "$type": "dimension" }- },- "duration": {- "micro": { "$value": "120ms", "$type": "duration" },- "short": { "$value": "220ms", "$type": "duration" },- "long": { "$value": "420ms", "$type": "duration" }- }+ "font": { "display": { "$value": "General Sans, ui-sans-serif, sans-serif", "$type": "fontFamily" } },+ "space": { "lg": { "$value": "24px", "$type": "dimension" } },+ "duration": { "short": { "$value": "220ms", "$type": "duration" } }}```-Notes:-- DTCG accepts `oklch(...)` strings on modern tooling. If the user's pipeline doesn't, convert to hex (lossy, flag this) or to `color(oklch ...)` (CSS Color 4).-- The `text-display` value uses a fixed `6rem` for portability, the responsive `clamp(...)` belongs in CSS, not in token JSON.-----+## shadcn/ui-## Format 4, shadcn/ui CSS variables--shadcn/ui's component library reads CSS custom properties with specific names, in a specific shape. The values are **space-separated** triples (no `oklch()` wrapper, no commas) so shadcn can compose them with `oklch(<value> / <alpha>)`.--The translation from Hallmark tokens:+shadcn keeps full colour values in its own variables and maps them in `@theme inline`. Point its variables at Hallmark's tokens:```css:root {- --background: 96% 0.018 80; /* paper */- --foreground: 15% 0.010 75; /* ink */-- --card: 94% 0.020 80; /* paper-2 */- --card-foreground: 15% 0.010 75; /* ink */-- --popover: 94% 0.020 80; /* paper-2 */- --popover-foreground: 15% 0.010 75; /* ink */-- --primary: 58% 0.16 60; /* accent */- --primary-foreground: 98% 0.012 75; /* accent-ink */-- --secondary: 91% 0.022 80; /* paper-3 */- --secondary-foreground: 28% 0.012 75; /* ink-2 */-- --muted: 86% 0.020 78; /* rule */- --muted-foreground: 50% 0.018 78; /* muted */-- --accent: 58% 0.16 60; /* accent (same as primary in Hallmark) */- --accent-foreground: 98% 0.012 75;-- --destructive: 58% 0.20 25; /* warm red, fixed */- --destructive-foreground: 98% 0.012 75;-- --border: 86% 0.020 78; /* rule */- --input: 86% 0.020 78; /* rule */- --ring: 58% 0.16 60; /* focus */-- --radius: 0; /* radius-card; shadcn uses one value */+ --background: var(--color-paper); --foreground: var(--color-ink);+ --card: var(--color-paper-2); --card-foreground: var(--color-ink);+ --popover: var(--color-paper-2); --popover-foreground: var(--color-ink);+ --primary: var(--color-accent); --primary-foreground: var(--color-accent-ink);+ --secondary: var(--color-paper-3); --secondary-foreground: var(--color-ink-2);+ --muted: var(--color-paper-2); --muted-foreground: var(--color-muted);+ --accent: var(--color-paper-3); --accent-foreground: var(--color-ink);+ --destructive: var(--color-error);+ --border: var(--color-rule); --input: var(--color-rule); --ring: var(--color-focus);+ --radius: var(--radius-card);}```-Then the user's `tailwind.config.ts` (or v4 `@theme`) reads them with `oklch(var(--background))`. Hallmark's accent → shadcn's primary is the canonical mapping; secondary → paper-3.--If the user wants a dark variant, mirror with the dark theme tokens under a `.dark` selector (Hallmark's Midnight / Bloom / Terminal supply the values).-------## Output rule--When SKILL.md Step 6 emits exports:--1. **Always** write `tokens.css` next to the page CSS (or in the project root for multi-file projects). Format 1.-2. **On `design.md`-managed projects** (multi-page), refresh the `## Exports` section: `tokens.css` is always cited there, and the Tailwind, DTCG and shadcn blocks are appended only when the user asks for that format (`design-md.md` § Format).-3. **On Tailwind projects** (detected at pre-flight), additionally surface the Tailwind `@theme` block in the build output so the user knows where to paste it (typically into `app/globals.css` or the equivalent).-4. **Merge into an existing entry stylesheet; never overwrite it.** When the target project already has `app/globals.css` (or `src/index.css`, `src/styles/global.css`): keep its existing `@import "tailwindcss"` / `@tailwind base|components|utilities` directives exactly as they are, append Hallmark's `:root` tokens and base rules *after* them, and keep any `@import "tokens.css"` at the very top of the file (CSS parses `@import` only before other rules, so a misplaced one is silently dropped and your tokens vanish). If the project already defines brand tokens (`--background`, `--foreground`, a Tailwind `@theme`), map Hallmark's roles onto those names rather than adding a parallel set, or scope Hallmark's tokens under a wrapper class. Replace the file outright only when the user has asked for a full takeover.--Don't blanket-emit tokens.json or shadcn variables on single-page projects, the user can copy them out of `design.md` if they upgrade to a multi-page system.+shadcn's `accent` is a hover surface and its `muted` a quiet background, so its `@theme inline` block defines `--color-accent` and `--color-muted` with meanings that collide with Hallmark's. In a shadcn project, keep Hallmark's two tokens out of `@theme` and let the page CSS reach them through `var()`, or rename them there (`--color-signal`, `--color-ink-3`) and say so in the handoff.diff --git a/skills/hallmark/references/flow.md b/skills/hallmark/references/flow.mdindex 5c0eed2..3693cf7 100644--- a/skills/hallmark/references/flow.md+++ b/skills/hallmark/references/flow.md@@ -40,7 +40,7 @@ Signals: the brief names one element (button, input, form, card, modal, dropdown.btn:active, .btn.is-active { transform: translateY(1px); }```-Stamp: `/* Hallmark · component: <type> · genre: <genre> · theme: <theme> · states: 8 · contrast: pass · v2.3.0 */`. Sweep: `sloplint --scope component`, which runs the Floor tier minus the page-only gates.+Stamp: `/* Hallmark · component: <type> · genre: <genre> · theme: <theme> · states: 8 · contrast: pass · v2.4.0 */`. Sweep: `sloplint --scope component`, which runs the Floor tier minus the page-only gates.## Signal 8: the archive builds, Hallmark sweeps@@ -57,13 +57,21 @@ Enter at Step 7 over the files the archive wrote, with five differences:```css/* Hallmark · checked: 2026-09-22 · genre: modern-minimal (inferred)* floor: 0 FAIL · fixed: 6 (2, 7, 22, 27, 38, 54) · structural: 2 printed (8, 42)- * built: external (reference archive) · v2.3.0 */+ * built: external (reference archive) · v2.4.0 */```The fresh-context review still runs, one round, with the narrower question: *does anything here read as machine-made?* Close with the counts: `Swept 4 files · fixed 6 · 2 structural findings printed · Floor 0 FAIL`.Two edge cases: the archive has written nothing yet (say so and wait; do not start a build); the user asks Hallmark to design anyway (an explicit ask beats the branch; run the ordinary flow and say which you took).+## Fast mode++`--fast`, or a brief that says quick, rough or prototype: "go ahead" at Step 1 with a one-line disclosure, narration capped at three lines, the Finish tier skipped, Reflex gates waivable with a one-line reason. Not relaxed: the Floor, the stamp, `tokens.css`, the log, contrast.++## Edit-time linting++On Claude Code, `node <skill-dir>/scripts/install-hook.mjs` wires sloplint as a PostToolUse hook that reports Floor findings the moment an artifact is written and stays quiet otherwise; Step 7 still runs.+## Comp before build (signal 9)Fires only when `TOGETHER_API_KEY` is set. After the Picks block, load `comp.md`: two comps of the first viewport at 1280 x 800, built from the direction contract or the theme line rather than the brief, varied on one compositional axis, one approval, then a medium inventory naming how each region gets built. Reproduction is checked against the comp at its own size before anything below the fold exists. The comp never overrides the Floor (an image generator has read no gates; take its composition, not its compliance) and never blocks: two comp rounds is the ceiling, then build unconstrained and say so.diff --git a/skills/hallmark/references/fonts.md b/skills/hallmark/references/fonts.mdindex 29a525c..8adb535 100644--- a/skills/hallmark/references/fonts.md+++ b/skills/hallmark/references/fonts.md@@ -1,6 +1,6 @@# Fonts-Loaded on a custom or studied run, or when the pre-flight found no font stack. A catalog theme has already named its faces; do not read this to second-guess it.+Loaded on a custom run. A catalog theme has already named its faces; do not read this to second-guess it.**Needs before reading:** the drawn direction, the genre, and the tone word from Step 1. **Gives:** a display face, a body face, an optional outlier, and the load rules.@@ -12,7 +12,7 @@ One display face, one body face, an optional outlier that carries exactly one roEvery model reaches for these first, so they read as unchosen: Inter, Roboto, Open Sans, Lato, Poppins, Source Sans, Nunito, Montserrat, Raleway, Work Sans, DM Sans, Plus Jakarta Sans, system-ui, Arial and Helvetica as a display or body face; Merriweather, Lora and Georgia as the body serif; Courier New or the system mono. A page may still use one of them when the user asks for it or the pre-flight found it in the project; then the stamp says so.-**Saturated as display** (fine faces, but the first answer, so they want an argument in the Picks block): Playfair Display, Cormorant Garamond, DM Serif Display, Space Grotesk, Bebas Neue, Unbounded.+**Saturated** (fine faces, but the first answer, so they want an argument in the Picks block): Playfair Display, Cormorant Garamond, DM Serif Display, Fraunces, Instrument Serif, Recoleta, Space Grotesk, Bebas Neue and Unbounded as display; Geist, Instrument Sans and Mona Sans as the body or the whole page.## Sources@@ -27,7 +27,7 @@ Every model reaches for these first, so they read as unchosen: Inter, Roboto, Op| Roman serif | EB Garamond, Cardo, Castoro, Piazzolla, Alegreya, Marcellus (Google); Gambetta, Recia (Fontshare) || High-contrast serif | Gloock, Libre Bodoni, Abril Fatface, Rozha One, Besley (Google); Boska, Melodrama (Fontshare) || Slab serif | Arvo, Hepta Slab, Domine, Alfa Slab One, Solway (Google); Bespoke Slab (Fontshare; old-style figures that ignore `lining-nums`, so figures go in the body face) |-| Grotesk sans | Mona Sans, Hubot Sans, Gabarito, Rethink Sans, Reddit Sans, Wix Madefor Display (Google); Cabinet Grotesk, Clash Grotesk, Supreme (Fontshare) |+| Grotesk sans | Hubot Sans, Gabarito, Rethink Sans, Reddit Sans, Wix Madefor Display (Google); Cabinet Grotesk, Clash Grotesk, Supreme (Fontshare) || Geometric sans | Lexend, Geologica, League Spartan, Funnel Display, Afacad (Google); Satoshi, Ranade, Technor, Excon (Fontshare) || Rounded sans | Inclusive Sans, Nunito Sans at 700 only with an argument, Varela Round (Google); Chubbo, Comico (Fontshare) || Condensed and heavy | Teko, Tektur, Michroma, Antonio (Google); Clash Display, Panchang, Khand, Telma, Stardom, Array (Fontshare) |@@ -37,7 +37,7 @@ Every model reaches for these first, so they read as unchosen: Inter, Roboto, Op## Body faces-A body face may be one the catalog uses; bodies are not a theme's signature. Sans: Geist, Hanken Grotesk, IBM Plex Sans, Figtree, Onest, Sofia Sans, Golos Text, Karla, Chivo, Albert Sans, Public Sans, Archivo, Manrope (Google); Switzer, General Sans, Satoshi (Fontshare). Serif: Newsreader, Source Serif 4, Literata, Spectral, Crimson Pro, EB Garamond, Piazzolla (Google); Sentient (Fontshare). Mono for code, figures and measurements: Geist Mono, JetBrains Mono, IBM Plex Mono, DM Mono, Fira Code, Azeret Mono, Chivo Mono, Overpass Mono (Google).+A body face may be one the catalog uses; bodies are not a theme's signature. Sans: Hanken Grotesk, IBM Plex Sans, Figtree, Onest, Sofia Sans, Golos Text, Karla, Chivo, Albert Sans, Public Sans, Archivo, Manrope (Google); Switzer, General Sans, Satoshi (Fontshare). Serif: Newsreader, Source Serif 4, Literata, Spectral, Crimson Pro, EB Garamond, Piazzolla (Google); Sentient (Fontshare). Mono for code, figures and measurements: Geist Mono, JetBrains Mono, IBM Plex Mono, DM Mono, Fira Code, Azeret Mono, Chivo Mono, Overpass Mono (Google).## Pairings by tone@@ -46,20 +46,20 @@ Free faces, working out of the box. The display column lists faces no theme sets| Tone | Display | Body || --- | --- | --- || Editorial | Gambetta, Castoro, Gloock, Cabinet Grotesk | IBM Plex Sans, Switzer, Source Serif 4 |-| Technical | Martian Mono, Fragment Mono, Mona Sans 700 | Geist, IBM Plex Sans, Switzer |-| Brutalist | Clash Display 700, Panchang, Alfa Slab One, Teko | Geist, Archivo, Switzer |-| Soft | Satoshi, Recia, Alegreya, Chubbo | Geist, Crimson Pro, Figtree |+| Technical | Martian Mono, Fragment Mono, Rethink Sans 700 | IBM Plex Sans, Switzer, Onest |+| Brutalist | Clash Display 700, Panchang, Alfa Slab One, Teko | Archivo, Switzer, Public Sans |+| Soft | Satoshi, Recia, Alegreya, Chubbo | Figtree, Crimson Pro, Onest || Luxury | Boska, Libre Bodoni, Marcellus, Gloock | EB Garamond, Crimson Pro, Source Serif 4 || Playful | Comico, Gabarito 800, Shantell Sans, Tiny5 | Onest, Karla, Satoshi |-| Austere | Geologica 300, Rethink Sans, Mona Sans 400 | Geist, Switzer, Hanken Grotesk |-| Atmospheric | Melodrama, Supreme 600, Piazzolla, Michroma | Geist, Sofia Sans, Sentient |+| Austere | Geologica 300, Rethink Sans, Reddit Sans | Switzer, Hanken Grotesk, Public Sans |+| Atmospheric | Melodrama, Supreme 600, Piazzolla, Michroma | Sofia Sans, Sentient, Albert Sans |## The wordmarkThe wordmark in the nav and footer may take a different face from the body, and on tone-rich pages it should: collapsing it into the body family flattens the hierarchy and the page reads as un-branded. It is the outlier's one role when the page has no other:```css-:root { --font-body: "Geist", ui-sans-serif, system-ui, sans-serif; --font-outlier: "Gambetta", ui-serif, serif; }+:root { --font-body: "Switzer", ui-sans-serif, system-ui, sans-serif; --font-outlier: "Gambetta", ui-serif, serif; }.wordmark { font-family: var(--font-outlier); font-weight: 600; letter-spacing: -0.015em; }```diff --git a/skills/hallmark/references/gates.md b/skills/hallmark/references/gates.mdindex a812fc7..0430c5d 100644--- a/skills/hallmark/references/gates.md+++ b/skills/hallmark/references/gates.md@@ -1,6 +1,6 @@# Gates-The one list of what Hallmark refuses. Load § 1 to § 4 at Step 4: § 1 to § 3 drive the pre-emit pass, § 4 the build; § 5 waits for the Step 7 walk, § 6 for the hero review and the finish review. `scripts/sloplint.mjs` implements every gate tagged M; the tier map in the script is derived from this file, and this file wins on any disagreement.+The one list of what Hallmark refuses. Load § 1 to § 4 at Step 4: § 1 to § 3 drive the pre-emit pass, § 4 the build; § 5 waits for the Step 7 walk, § 6 for the two reviews. `scripts/sloplint.mjs` implements every gate tagged M; the tier map in the script is derived from this file, and this file wins on any disagreement.## 1. How a gate binds@@ -11,11 +11,11 @@ Every gate carries a **tier**, which says whether you may disagree with it:- **Finish.** Craft detail, invisible at arm's length. Reported, answered, never blocks a ship. These are the F-checks.- **Ledger.** Bookkeeping about repetition (32). Reports at `NOTE`, never counts toward the verdict.-**Class** says who can check it: **M** mechanical (sloplint, in CSS and in markup, including Tailwind utilities in `.jsx`, `.tsx`, `.vue`, `.svelte` and `.astro` files), **M/R** static half plus the render tier (`--render`, which SKILL.md runs at the hero stage and at Step 7; `--url` renders a running dev server), **R/J** render or judge, **J** judged at Step 7 by the model. When sloplint has run, walk only the J and R/J gates plus the judged halves of M/R gates; re-litigating what the script passed is wasted judgement.+**Class** says who can check it: **M** mechanical (sloplint, in CSS and in markup, including Tailwind utilities in `.jsx`, `.tsx`, `.vue`, `.svelte` and `.astro` files), **M/R** static half plus the render tier (`--render`, which SKILL.md runs at the hero stage and at Step 7; `--url` renders a running dev server), **R** the render tier alone, **R/J** render or judge, **J** judged at Step 7 by the model. When sloplint has run, walk only the J and R/J gates plus the judged halves of M/R gates; re-litigating what the script passed is wasted judgement.-**Grades:** `FAIL` (Floor, nothing ships) · `REFLEX` (unanswered Reflex, fix or waive) · `WAIVED` (guard satisfied, visible) · `WARN` (suspected, confirm or dismiss) · `ANSWERED` (Finish finding with a recorded reason) · `NOTE` (bookkeeping). `FAIL` and `REFLEX` report separately so "0 FAIL" stays a true statement about the Floor.+**Grades:** `FAIL` (Floor, nothing ships) · `REFLEX` (unanswered Reflex, fix or waive) · `WAIVED` (guard satisfied, visible) · `WARN` (suspected, confirm or dismiss; a dismissal reports as `DISMISSED`) · `ANSWERED` (Finish finding with a recorded reason) · `NOTE` (bookkeeping). `FAIL` and `REFLEX` report separately so "0 FAIL" stays a true statement about the Floor.-**Retired numbers stay retired.** Gates 5, 13, 14, 21, 31, 35, 36, 43, 45, 51, 52, 57, 60 and 61 were merged into others or moved to F-checks in v2.0; their numbers are not reused, so an older stamp still reads.+**Retired numbers stay retired:** 5, 13, 14, 21, 31, 35, 36, 43, 45, 51, 52, 57, 60 and 61 are never reused, so an older stamp still reads.## 2. Waivers and answers@@ -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 `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`.+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 */`.## 3. Pre-emit critique@@ -58,8 +58,9 @@ One line each. `a`/`b` clauses share a number and carry their own tier. Genre no| 7b | Reflex | M | A surface token that resolves to a pure absolute. Guard: stamp says `surface: absolute`, 40 and 41 pass. **mm** allows `#fff` paper | tint the paper || 22 | Reflex | M | Zero-chroma neutrals on a page with an anchor hue. **mm** exempt | chroma 0.005 or more || 23 | Reflex | M/R | Accent past ~5% of any viewport without a declared posture. Render tier fails past 8% (**at** 30%). A declared surface colour under a stated posture is not accent | retreat, or declare the posture in the stamp |-| 29 | Reflex | M/J | Glow and wash: aurora or mesh blobs behind text, floating blurred orbs, a chromatic radial halo or spotlight, a coloured zero-offset glow shadow on a dark surface. **at** allows two fixed radial blooms at 20 to 30% | solid or grained surface; elevation by lightness, shadows with offset and blur |-| 65 | Reflex | M/J | The named look: cream paper (L over 90, hue 60 to 100) plus a high-contrast serif display plus a terracotta or clay accent (hue 20 to 50), on a brief that did not ask for it. The field's own calibration names this the AI look. Guard: the brief pins it, or the theme was chosen by the user by name | move one axis: the accent first, the paper second, the display last |+| 29 | Reflex | M/J | Glow and wash: aurora or mesh blobs behind text, floating blurred orbs, a chromatic radial halo or spotlight, a coloured zero-offset glow shadow on a dark surface. **at** allows two fixed radial blooms, each 20 to 30% of the canvas in size, never animated | solid or grained surface; elevation by lightness, shadows with offset and blur |+| 65 | Reflex | M/J | The named look on a custom or unthemed build: cream paper (L 90 or over, hue 55 to 105) plus a high-contrast serif display plus a terracotta or clay accent (hue 15 to 55). A catalog theme carries its own look and is dealt only on its keywords. Guard: the brief pins it | move one axis: the accent first, the paper second, the display last |+| 74 | Reflex | M | The stock swatch: a framework's default palette (Tailwind's indigo-500, violet-600, slate-900 and kin) as a token or a utility class. Guard: the pre-flight found that palette in the project | a colour mixed for the page in OKLCH |### Type@@ -73,8 +74,8 @@ One line each. `a`/`b` clauses share a number and carry their own tier. Genre no| 38iii | Reflex | M/J | The accented word: one word or phrase inside a heading set apart by colour, weight, a highlight or an underline. Guard: the theme names it as its signature and it appears once on the page, in the hero | the whole head one way; a line break; a second line at a second size || 55a | Floor | M | Uppercase display head that can wrap with `line-height` under 1.0 (cap collision) | line-height 1.0 floor, 1.02 to 1.08 recommended || 55b | Reflex | M | A single-line caps lockup under 1.02. Guard: it cannot wrap at 320px | leave it |-| 67 | Floor | M | The tracked-caps label: a label, caption, table head, nav link, tag, chip or any text under 15px set uppercase or in small caps, or any of them letter-spaced past 0.03em. House rule. Legal: a wordmark; a control on a page whose display is itself uppercase, tracked 0.04em or less | the body face, a step smaller, sentence case, untracked || 64 | Reflex | M | Mono as costume: a monospace face on labels, captions, meta rows, table heads or small type when neither the display nor the body is mono and the content is not code, a figure or a measurement. Guard: the theme's material is mono (Terminal, Ledger's figures) or the text is code | set labels in the body face at a smaller size and normal case |+| 67 | Floor | M | The tracked-caps label: a label, caption, table head, nav link, tag, chip or any text at 15px or under set uppercase or in small caps, or any of them letter-spaced past 0.03em. House rule. Legal: a wordmark; a control on a page whose display is itself uppercase, tracked 0.04em or less | the body face, a step smaller, sentence case, untracked |### Structure and layout@@ -97,26 +98,28 @@ One line each. `a`/`b` clauses share a number and carry their own tier. Genre no| 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` || 56 | Floor | M/R | Two `position: sticky; top: 0` elements (a section head bleeding into the nav) | `top: var(--banner-height)` on the second; `--z-sticky-nav` above `--z-sticky` || 58 | Floor | M/R | More than about 80 words in any 900px window at 1440, or a hero with more than two text blocks before its actions. House rule | headline, one sentence, actions; a section is a heading, one line, then its object |-| 59 | Reflex | M/R | A gap under 120px between sections at 1440, or every gap the same. Guard: a dense macrostructure that separates with rules and colour | 120px floor, varied |+| 59 | Reflex | M/R | A gap under 120px between sections at 1440 (64px where the paper changes), or every gap the same. Guard: a dense macrostructure that separates with rules and colour | 120px floor, varied |+| 71 | Reflex | R | The crowded head: two or more h2 to h4 sitting nearer what precedes them than what they head (the space above under 0.75 times the space below and 12px or more short). Heads inside a box under 200px tall are exempt | at least twice the space above a head as below it |+| 72 | Reflex | R | The cramped box: text in a filled or side-bordered box over 100 x 30px closer than max(8px, 0.5em) to its sides or max(4px, 0.3em) to its top and bottom (the em part capped at 24 and 12px) | pad the box |### Chrome and copy| Gate | Tier | Class | The tell | The fix || --- | --- | --- | --- | --- |-| 19 | Floor | M | Copy tells: placeholder names (Jane Doe), startup clichés (Acme, Nexus), buzzwords (seamless, robust, empower, supercharge, elevate, effortless, unlock, next-generation, world-class), the rebuttal cadence repeated ("Not a feature. A platform." three or more times), "quietly trusted by", em or en dashes, filler openers ("Built for the modern team", "In today's landscape") | say what the product does, in its own nouns |+| 19 | Floor | M | Copy tells: placeholder names (Jane Doe), startup clichés (Acme, Nexus), buzzwords (seamless, robust, empower, supercharge, elevate, effortless, unlock, unleash, next-generation, world-class, best-in-class, industry-leading, mission-critical, future-proof), the rebuttal cadence repeated ("Not a feature. A platform." three or more times), "quietly trusted by", em or en dashes, filler openers ("Built for the modern team", "In today's landscape"), a stock second action beside the primary (*Learn more*, *Get started*, *Book a demo*) | say what the product does, in its own nouns || 20 | Floor | M | The Hallmark stamp missing from the first lines of CSS (build form or checked form) | write it || 42 | Reflex | M | Chrome by reflex: the AI nav (wordmark left, inline links, button right, hairline under) or the AI footer (four link columns, social row, copyright) without the stamp naming it | decide it and name it (`nav:`, `footer:`), or build another shape || 46a | Floor | M | An invented metric, testimonial, logo wall or case-study count | the user's number, a labelled placeholder, or no slot || 46b | Reflex | J | A bare figure as the hero's only headline. Guard: user-supplied and labelled | pair it with the line that says what it means || 47a | Floor | M | A hand-drawn browser bar (traffic lights, URL pill) or OS window title bar | a real screenshot in a `<figure>`, or no chrome || 47b | Reflex | M | A phone, laptop, terminal or editor frame. Guard: one frame, real content inside | one frame or none |-| 47c | Reflex | J | Imitation material: a hero "product UI" built from styled divs with no `data-slot` label, a many-vertex `clip-path` or radial cutout standing in for a photo's edge, sketch-style SVG scenes, a decorative grid or stripe background with nothing under it. Guard: the theme's material is geometry and the drawn thing is geometry, not a picture | a labelled slot, a real asset, or nothing |+| 47c | Reflex | J | Imitation material: a hero "product UI" built from styled divs with no `data-slot` label, a many-vertex `clip-path` or radial cutout standing in for a photo's edge, sketch-style SVG scenes, CSS bevels, embossing or stamped metal faking a physical object, a decorative grid or stripe background with nothing under it. Guard: the theme's material is geometry and the drawn thing is geometry, not a picture | a labelled slot, a real asset, or nothing || 54 | Floor | M | The eyebrow: short inert type before a heading that announces it, in any geometry (stacked, beside, pill, ordinal, category tag over a card, `TRUSTED BY` over logos). House rule. Legal: `<figcaption>`, `<th>`, `<label>`, a nav or tab label, a byline or `<time>`, a unit after its figure, a real filename, a live `role="status"` chip, one linked announcement going somewhere real | open the section another way; `craft.md` § Opening a section || 63 | Floor | M | Template punctuation: meta strings joined with middle dots (`A · B · C`), an arrow glued to link or button text (`Learn more →`), decorative status dots before labels, `WORD - fragment` labels. House rule. Legal: one dot in a byline, a marquee's repeating separator, a dot conveying live state | line breaks, columns, hairlines; a verb as the label |+| 66 | Reflex | J | Decoration text: rotated vertical text with nothing to say, scroll cues, a version badge or `BETA` pill in the hero, a weather or locale strip, a mono-caps strip across the hero's base (`DESIGN · BUILD · SHIP`), photo-credit captions under placeholders, a `01 / 4` count on tiles. Guard: the brief is a launch, a venue or a distributed studio and the text is a fact | delete it; if a fact is lost, set it as a caption or a footer line || 68 | Reflex | M | The wireframe page: more than five empty `data-slot` placeholders on one page, or four or more in one row (a team of blank portraits, a range of blank bottles, a stack of blank phones). Guard: the user said leave slots for that many and named them | set the set in type (names, roles, facts in a list or table) with one slot at most; sketch the product's structure inside the slots that stay || 69 | Reflex | M/J | The echo: one fact (a price, a time, a date, a count) printed in four or more sections of one page (repeats inside one section count once), or a section's last line restating its heading. Guard: a ledger or table whose rows repeat a value by nature | say each fact once, where it does work; cut the restatements || 70 | Floor | M/J | The fake send: a form or control that prints success ("Sent", "Reserved", "You're on the list", "Thanks") with no request behind it, or a confirmation of something the brief never offered | an empty `data-endpoint` and no success state until the form is wired; the handoff names the endpoint |-| 66 | Reflex | J | Decoration text: rotated vertical text with nothing to say, scroll cues, a version badge or `BETA` pill in the hero, a weather or locale strip, a mono-caps strip across the hero's base (`DESIGN · BUILD · SHIP`), photo-credit captions under placeholders, a `01 / 4` count on tiles. Guard: the brief is a launch, a venue or a distributed studio and the text is a fact | delete it; if a fact is lost, set it as a caption or a footer line |### Motion and interaction@@ -129,11 +132,11 @@ One line each. `a`/`b` clauses share a number and carry their own tier. Genre no| 15 | Floor | M | A focus ring that fades in | instant || 16 | Reflex | J | A celebratory toast for an effect the user already sees | silent success || 17 | Floor | M | Tooltip focus delay equal to hover delay | hover 800 to 1000ms, focus 0 |-| 18 | Floor | M | Auto-rotating content with no pause on hover and focus | pause, or manual advance |+| 18 | Floor | M | Auto-rotating content with no pause on hover and focus | pause on hover and focus, and a visible pause control on anything moving past 5 seconds || 26a | Floor | M | An interactive element with no `:focus-visible` | ring at 3:1 or better, instant || 26b | Reflex | M | Missing `:active` or `:disabled`. Guard: not a form control, no `aria-disabled` anywhere | all eight states || 27 | Floor | M | Any keyframe or transform transition without a `prefers-reduced-motion: reduce` fallback | add it |-| 28a | Floor | M | A video autoplaying without `muted`; `loading="lazy"` on the LCP element | `autoplay muted loop playsinline`; `fetchpriority="high"` |+| 28a | Floor | M | A video autoplaying without `muted`; `loading="lazy"` on the LCP element | `autoplay muted loop playsinline`; `fetchpriority="high"` on an LCP image, a preloaded poster for an LCP video || 28b | Reflex | M | Video without `poster` or priority hint. Guard: below the fold and not the LCP | add them || 39a | Floor | M | Input states that break: border width shifting between states, a focus ring built from `border`, input height unequal to its adjacent button, disabled by opacity alone | constant border, `outline`, shared height, three disabled channels (opacity, `cursor: not-allowed`, the native attribute) || 39b | Reflex | M | Control height outside 44 to 52px on a marketing page. Guard: app UI at 32 to 40px with the hit-target expansion | the number |@@ -146,6 +149,7 @@ One line each. `a`/`b` clauses share a number and carry their own tier. Genre no| 30a | Floor | M | An emoji standing in for an icon | one icon library, custom SVG, or typography || 30b | Reflex | M | Two icon libraries on one page. Guard: the second is a brand or platform mark in at most two slots | one library || 33 | Floor | M | A decorative `<svg>`, `<canvas>` or CSS-art element with neither `aria-hidden="true"` nor a label | hide it or name it |+| 73 | Floor | R | Text painted under another element: an opaque box, an image or another run of text covers a line of it (sticky and fixed chrome excepted) | give the text its own space, or its own surface above the cover || 40 | Floor | M/R | Text, icon or focus ring under its contrast threshold against its computed background (body 4.5:1 or APCA Lc 60; large text, icons and rings 3:1 or Lc 45) | fix the pair || 41 | Floor | M/R | Button text within 5% L and 0.05 chroma of its fill; `--color-accent-ink` missing where accent carries text; a dark panel that does not swap its text colour; grey text on a coloured surface | the paired ink token || 48 | Floor | M | A colour or `font-family` literal outside the token block | lift it into the tokens |@@ -155,7 +159,7 @@ One line each. `a`/`b` clauses share a number and carry their own tier. Genre no### Finish (F-checks, never block)-F1 straight quotes in prose · F2 `...` for an ellipsis · F3 no `text-wrap: balance` on display heads · F4 more than one filled-primary button recipe on a page (dialogs count as their own page) · F5 an icon in a coloured coin · F6 display-size figures without tabular numerals · F7 one container recipe stamped on six or more selectors · F8 more than one scroll-choreography pattern · F9 fake-human avatar hotlinks (this half is a FAIL) or person-keyword stock URLs · F10 a Lottie where CSS or SVG would do · F11 a highlighter band at the baseline instead of behind the x-height, or an underline thicker than 2px or offset more than 0.25em · F12 a flex row of unequal heights without `align-items: center` · F13 the outlier face carrying more than one role · F14 a helper-text slot with no reserved `min-height: 1lh` · F15 page invariants broken: more than one primary button style, more than one container width, more than one column gap below the hero, more than one radius per nesting level, or more centred heading groups than left-aligned ones · F16 browser surfaces unthemed: no `::selection`, no `caret-color`, no `scrollbar-color` on a page with a committed palette. · F17 a text block squeezed into a sliver at 1440 (under about 16 characters wide over four lines or more), usually a grid placement gone wide (render). · F18 a `data-slot` that renders under 40px in either dimension at 1440, collapsed by a percentage width inside a shrink-to-fit parent (render).+F1 straight quotes in prose · F2 `...` for an ellipsis · F3 no `text-wrap: balance` on display heads · F4 more than one filled-primary button recipe on a page (dialogs count as their own page), or two filled buttons side by side · F5 an icon in a coloured coin · F6 display-size figures without tabular numerals · F7 one container recipe stamped on six or more selectors · F8 more than one scroll-choreography pattern · F9 fake-human avatar hotlinks (this half is a FAIL) or person-keyword stock URLs · F10 a Lottie where CSS or SVG would do · F11 a highlighter band at the baseline instead of behind the x-height, or an underline thicker than 2px or offset more than 0.25em · F12 a flex row of unequal heights without `align-items: center` · F13 the outlier face carrying more than one role · F14 a helper-text slot with no reserved `min-height: 1lh` · F15 page invariants broken: more than one primary button style, more than one container width, more than one column gap below the hero, more than one radius per nesting level, or more centred heading groups than left-aligned ones · F16 browser surfaces unthemed: no `::selection`, no `caret-color`, no `scrollbar-color` on a page with a committed palette · F17 a text block squeezed into a sliver at 1440 (under about 16 characters wide over four lines or more), usually a grid placement gone wide (render) · F18 a `data-slot` that renders under 40px in either dimension at 1440, collapsed by a percentage width inside a shrink-to-fit parent (render) · F19 more than three font weights in running use, display and body together (render) · F20 a grid or a wrapping row that leaves one item alone on its last row under a fuller row (render).## 5. Judged clauses@@ -175,50 +179,38 @@ The gates above that a script cannot settle, with enough to judge them well.**29, glow and wash.** The bloom is the tell whether it is drawn with a shadow or a gradient. Atmospheric earns two fixed blooms because the canvas is the design; everywhere else the surface is paper or ground, and depth comes from lightness steps and shadows with offset and blur.+**38iii, the accented word.** One word in the accent colour, one word in bold, one word on a highlighter band: the calibration guides name it beside the eyebrow as the machine-made head. A head is one weight, one style and one colour. Three themes carry an accented word as their signature (Manifesto's red word, Lumen's coloured verb, Riso's misregistered word); they stamp the waiver and place it once, in the hero.+**44, the fold.** Three widths, one question each: at 1280 x 800 is everything the hero has to say inside the screen; at 1440 x 900 is the hero exactly one screen with its visual beside the text; at 1920 x 1080 does the container hold and the hero still fit. Fill a short hero with the visual or the headline, never with more copy.**46b, the bare number.** A figure is a headline only when the page is built around it and it carries its unit and its source.**47c, imitation material.** The question is whether the thing pretends. A `data-slot` placeholder labelled "your screenshot" does not pretend; a styled-div dashboard with invented figures does. Geometry that is geometry (a diagram, a chart, an animated line) is a first-class medium; geometry pretending to be a picture is the tell. Grids and stripes need a canvas, a map or a measuring tool under them.-**38iii, the accented word.** One word in the accent colour, one word in bold, one word on a highlighter band: the calibration guides name it beside the eyebrow as the machine-made head. A head is one weight, one style and one colour. Three themes carry an accented word as their signature (Manifesto's red word, Lumen's coloured verb, Riso's misregistered word); they stamp the waiver and place it once, in the hero.-**54, the eyebrow test.** Small type before a heading survives only when it carries a fact, a destination or an identifier the reader would otherwise lack. Delete the line and read the page: if nothing was lost but a name for what comes next, it was an eyebrow. The fix is never bare deletion; `craft.md` § Opening a section has twelve other ways in.-**67, tracked caps.** The small uppercase line with its letters spread apart, whether it sits above a heading, heads a table, names a tag or runs the nav. Delete the transform and the tracking and read it again: a label in the body face at a step smaller says the same thing without announcing that a machine set it. Capitals survive as a wordmark, and as the display voice of a theme built on them, where a control may follow.--**68, the wireframe page.** A page that promises material it does not have shows it as frames: six blank portraits under "Six instructors", four tall empty phones in a row, four grey bottles. Each frame is honest on its own; together they read as a wireframe somebody forgot to finish. Set the set in type, keep a slot or two where the user's images will land, and draw the product's structure inside them.--**69, the echo.** A thin brief tempts a builder to say its few facts again: the price in the hero, on every card, in the FAQ and the footer. Each repetition reads as filler. Say a fact once, where it does work.--**70, the fake send.** A form that answers "Sent" to nobody is an invented outcome, as dishonest as an invented metric. Until the endpoint exists, the form validates, posts nowhere, and says so plainly ("Nothing was sent; this form is not connected yet").-**58, the screen budget.** Nobody reads a landing page. A visitor takes one idea per screen or leaves. About 80 words per 900px window, labels and cells included; the hero is a headline, one sentence and its actions.**62, hidden at rest.** Reveal patterns must be visible with scripting off. The safe shapes: `.js .reveal { opacity: 0 }` with the class added by the script, or a CSS animation from visible that reduced-motion collapses, or `@starting-style`.**63, template punctuation.** The middle dot as a universal separator, the arrow as a universal suffix and the coloured dot as a universal prefix are the punctuation of generated pages. One dot in a byline, a marquee's separator and a dot that conveys live state are legal.-**65, the named look.** Cream, high-contrast serif, terracotta. Every published calibration of generated design names this triple first, and a warm, bookish or family brief pulls a model toward it hardest. On a catalog build the theme decides and this gate only fires when the brief did not ask for the theme by name; on a custom build the ritual's spent table already refuses it.+**65, the named look.** Cream, high-contrast serif, terracotta. Every published calibration of generated design names this triple first, and a warm, bookish or family brief pulls a model toward it hardest. A catalog theme that carries it was vetted as a material and is dealt only when the brief's keywords ask for it, so the gate reads custom and unthemed builds; there the ritual's spent table refuses it first.**66, decoration text.** The agency-portfolio tics: rotated labels, scroll cues, version pills, city-and-weather strips, mono-caps strips under the hero, credit lines under stock images. Each says "designed" without carrying a fact. A fact stays; a decoration goes.-## 6. The finish review, in fresh context+**67, tracked caps.** The small uppercase line with its letters spread apart, whether it sits above a heading, heads a table, names a tag or runs the nav. Delete the transform and the tracking and read it again: a label in the body face at a step smaller says the same thing without announcing that a machine set it. Capitals survive as a wordmark, and as the display voice of a theme built on them, where a control may follow.-The thread that built the page is its weakest reviewer. Spawn a reviewer with no inherited transcript (a subagent in Claude Code) and give it only: the artifact paths, the screenshots the render tier wrote (the folds at 1280 x 800, 1440 x 900 and 1920 x 1080, and the full page at 1440 and at 375), the direction contract or theme line from the stamp, on a theme build the theme's picture (`references/themes/<slug>.jpg`, a page in the same theme that shipped), the hero review's findings with how each was settled, and § 4 of this file. Its brief:+**68, the wireframe page.** A page that promises material it does not have shows it as frames: six blank portraits under "Six instructors", four tall empty phones in a row, four grey bottles. Each frame is honest on its own; together they read as a wireframe somebody forgot to finish. Set the set in type, keep a slot or two where the user's images will land, and draw the product's structure inside them.-> Review a built page against a fixed list. You did not build it and will not be told why anything is the way it is. Read the page, not the intent. Reading is an allowance: the inputs above and nothing else, batched, and by the tenth turn stop reading and write.->-> First line: one of `recapture` (a screenshot is missing, blank or shows the wrong thing; list what to recapture and stop), `rebuild` (the first viewport fails the contract or the theme wholesale), `fix` (material findings follow), `ship` (nothing owed).->-> Then: findings ranked by cost to the page, each one line with the gate or the plain defect, where it is, what you would do. At most eight. A direction you would not have chosen is not a finding, nor is what the theme file prescribes or refuses (its blooms, a glow on a theme with none), nor an element the hero review settled unless you name a new reason. The theme's picture, if given, is the bar for finish and never a model: is this page as finished as that one, in its own composition? Then one answer to the question no gate can: does the stamp's contract or theme describe the page in front of you? Name the largest gap or say there is none. Close with one line naming what must not be diluted while fixing. Do not fix anything.+**69, the echo.** A thin brief tempts a builder to say its few facts again: the price in the hero, on every card, in the FAQ and the footer. Each repetition reads as filler. Say a fact once, where it does work.-**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, the Picks block's Material and Signature rows, and on a theme build the theme's picture. Its brief:+**70, the fake send.** A form that answers "Sent" to nobody is an invented outcome, as dishonest as an invented metric. Until the endpoint exists, the form validates, posts nowhere, and says so plainly ("Nothing was sent; this form is not connected yet").-> 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 (where the shape puts no image in the fold, a Marquee or a Poster or Banner hero, the type is the visual: does it fill the screen; at 1920 the container and the type hold their 1440 size by rule, so extra air there is not a finding); does anything read as a template (a centred stack, a pill or label above the headline, a gradient blob, a drawn dashboard standing in for a product, two filled buttons side by side; a filled primary beside an outlined or text action that goes somewhere else is the control pair, and a slot's sketch of the product's own structure is its placeholder, neither a finding); is the signature move on this screen; does the type carry the theme at this size; if you have the theme's picture, is this first screen as finished as its first screen, in a composition of its own. What the theme file prescribes (its blooms, its control pair) or refuses is not a finding. Do not fix anything.+## 6. The reviews, in fresh context-Fix, recapture with `--stage hero`, send the recaptures back to be scored, and build the sections once the answer is `ship`. Two rounds is the ceiling here too: after the second, fix what is still owed, record what stays open (`hero-review: fix after 2 rounds, 1 open: the void at 1920`), and build on. Record it as the stamp's own `hero-review:` field, before `finish-review:`.+The thread that built the page is its weakest reviewer. Two reviews run with no inherited transcript (a subagent in Claude Code): the **hero review** once at Step 6, before any section below the fold exists, and the **finish review** at Step 7. Do not read their briefs yourself: start the reviewer with *Read `<skill-dir>/references/review-hero.md` (or `review-finish.md`) and follow it*, then pass the inputs that file lists, as paths. Wait for it once.-Score the return: fix what is real, mark each finding `resolved`, `partial` or `unresolved` with a reason, recapture the same files, and send the recaptures back to be scored, not re-reviewed. Two rounds is the ceiling. Record `finish-review: subagent · 4 findings · 3 resolved 1 unresolved · gap: none` in the stamp. No subagents: re-read the artifact cold, run the same brief against yourself, and record `finish-review: in-thread`.+Act on its first word. Fix what is real, recapture the same shots (`--stage hero` for the hero), and score each finding yourself against its recapture: `resolved`, `partial` or `unresolved`, with a reason. Send the recaptures back for one scoring round only when the first word was `rebuild` or a finding named a Floor gate; scoring is not a second review. Record the outcome in the stamp, hero first: `hero-review: fix · 4 findings · 4 resolved`, then `finish-review: subagent · 5 findings · 4 resolved 1 unresolved · gap: none`. No subagents: re-read the artifact cold, run the same brief against yourself, and record `in-thread`.**Nothing ships with an open `FAIL` or an open `REFLEX`.** A Floor finding is fixed; a Reflex finding is fixed or waived; a Finish finding is read and answered.diff --git a/skills/hallmark/references/genres/atmospheric.md b/skills/hallmark/references/genres/atmospheric.mdindex bcfbaae..8a96f9b 100644--- a/skills/hallmark/references/genres/atmospheric.md+++ b/skills/hallmark/references/genres/atmospheric.md@@ -4,20 +4,19 @@ The AI-creative and after-dark product page: generative music, video, image, voi## Voice-- **Display:** a weighty sans or a roman classical serif, plain English, tight tracking. Never italic.-- **Body:** the same family at 400, light ink on dark paper.-- **Accent:** one warm hue, used in the canvas treatment, on focus rings and on small tags; never on display text.+- **Faces** (a theme names its own; this is for a custom run): a weighty sans or a roman serif for display, tight tracking; the same family at 400 for the body, light ink on dark paper.+- **Accent:** one hue, used in the canvas treatment, on focus rings and on small tags; never on display text unless the theme's signature puts it there.- **Layout:** a centred hero is the normal answer when the type is the visual (a Poster or Banner posture); with a visual, it stands beside the text (44c). The canvas is the design and the type sits on it.- **Motion:** fade only; the atmosphere does the work.- **Copy:** direct, slightly poetic, specific: *Make a house song about quitting your job.*## Allowed here-At most two fixed radial blooms on the body, 20 to 30% of the canvas each, no animation (gate 29 is loosened this far and no further); a centred hero (gate 6b loosened); pill controls with an accent fill; elevated cards by lightness step (`--color-paper-2`, `-3`) instead of hairlines; display up to 6rem.+At most two fixed radial blooms on the body, each 20 to 30% of the canvas in size, never animated (gate 29 is loosened this far and no further); the nav pill on a backdrop blur over the canvas, the one glass licence; a centred hero (gate 6b loosened); pill controls with an accent fill; elevated cards by lightness step (`--color-paper-2`, `-3`) instead of hairlines; display up to 6rem.## Refused here-A coloured glow shadow, a radial spotlight behind the hero, or a mesh gradient (the bloom is the one licence); light sections sneaking into a dark build; italic heads; a third hue; glass; gradient text.+A coloured glow shadow, a radial spotlight behind the hero, or a mesh gradient (the bloom is the one licence); light sections sneaking into a dark build; a third hue; glass panels or cards; gradient text.## Chrome that fitsdiff --git a/skills/hallmark/references/genres/editorial.md b/skills/hallmark/references/genres/editorial.mdindex 8cfd468..8c38ba8 100644--- a/skills/hallmark/references/genres/editorial.md+++ b/skills/hallmark/references/genres/editorial.md@@ -4,9 +4,8 @@ Content-led briefs: portfolios, manifestos, type specimens, agency sites, magazi## Voice-- **Display:** a roman serif, a condensed sans or a display-heavy face, committed to an extreme weight (300 or 700 plus). Never a default sans.-- **Body:** a workhorse serif or a plain non-default sans at 45 to 75ch.-- **Accent:** one warm or cool hue under 5% of any viewport.+- **Faces** (a theme names its own; this is for a custom run): a roman serif, a condensed sans or a display-heavy face at an extreme weight (300, or 700 and up), never a default sans; a workhorse serif or a plain non-default sans for the body.+- **Accent:** one hue, held to the posture's footprint.- **Layout:** asymmetric; hairlines, not card borders; generous air.- **Motion:** quiet, one orchestrated entrance.- **Copy:** specific, hand-set, slightly literary; verbs over adjectives.diff --git a/skills/hallmark/references/genres/modern-minimal.md b/skills/hallmark/references/genres/modern-minimal.mdindex 0ef352a..664b7c5 100644--- a/skills/hallmark/references/genres/modern-minimal.md+++ b/skills/hallmark/references/genres/modern-minimal.md@@ -4,9 +4,8 @@ The polished product page: SaaS, enterprise, API, platform, developer tool, infr## Voice-- **Display:** a grotesk or geometric sans at 500 to 700 with tight tracking (-0.02 to -0.035em).-- **Body:** the same family at 400; single-family discipline.-- **Accent:** monochrome (the accent is ink) or one restrained hue on focus rings and one control. No chromatic floods.+- **Faces** (a theme names its own; this is for a custom run): a grotesk or geometric sans at 500 to 700, tracked -0.02 to -0.035em; the body in the same family at 400 or one plain sans beside it.+- **Accent:** ink, or one hue on focus rings and one control; colour floods only under a declared posture.- **Layout:** two-column heroes (title left, one line right or a slot beside it), generous air, thin visible borders rather than hairlines.- **Motion:** minimal; reveals off; the page is composed.- **Copy:** declarative, specific, technical. "Built for X" only when X is concrete.diff --git a/skills/hallmark/references/genres/playful.md b/skills/hallmark/references/genres/playful.mdindex dacc87a..74bf702 100644--- a/skills/hallmark/references/genres/playful.md+++ b/skills/hallmark/references/genres/playful.md@@ -4,10 +4,9 @@ Consumer, casual, family, community and onboarding-led pages that should feel al## Voice-- **Display:** a rounded or geometric sans at 600 to 700 with tight tracking, or a heavy display face on the loud end. Friendly, never childish.-- **Body:** a plain sans in a slightly muted ink.+- **Faces** (a theme names its own; this is for a custom run): a rounded or geometric sans at 600 to 700, tight tracking, or a heavy display face on the loud end; friendly, never childish. The body a plain sans in a slightly muted ink.- **Accent:** soft and low-chroma by default; a declared Full-palette or Drenched posture lifts chroma to 0.24 across three or four named roles, each with a job.-- **Layout:** rounded surfaces, 12px cards, 8px inputs, pills; soft offset shadows; tinted alternating bands.+- **Layout:** rounded surfaces (12px cards, 8px inputs, pills, unless the theme sets its radius), soft offset shadows, tinted alternating bands.- **Motion:** responsive to the pointer; one small entrance on the page, its one reveal (`craft.md` § 5); a spring only under a declared spring posture, on the primary CTA and one character moment (gate 12's exception).- **Copy:** warm, direct, specific; no quirk for its own sake.diff --git a/skills/hallmark/references/hero-enrichment.md b/skills/hallmark/references/hero-enrichment.mdindex dc63fb7..55dc65e 100644--- a/skills/hallmark/references/hero-enrichment.md+++ b/skills/hallmark/references/hero-enrichment.md@@ -20,10 +20,10 @@ The default is typography only. Match the brief against this table and act on th| e-commerce, shop, store, product catalogue, brand, fashion, lookbook | Real product photos; until the user provides them, one hero slot and the range in type (68) || photography, portfolio, gallery, artist | Imagery is the page; slots until the user provides it || food, restaurant, menu, dish, coffee, wine, recipe | A hero photo and product crops; until the user provides them, one hero slot and the dishes in type (68) |-| team, staff, about us, portraits, hiring, careers | A team `data-slot` sized for the user's real photos; kit avatars ([`imagery-kit.md`](imagery-kit.md) § Categories) may hold the slot with no name, title or quote attached; never pravatar, dicebear or unsplash faces (F9) |+| team, staff, about us, portraits, hiring, careers | A team `data-slot` sized for the user's real photos, the names and roles set in type (68); never a generated, stock or avatar-service face (F9) || travel, hotel, destination, real estate, listing, property | A cover photo and tile photos; until the user provides them, one cover slot and the places in type (68) || news, blog, magazine, journal, publication | A feature image per post; until the user provides them, one slot on the lead post and the rest in type (68) |-| atmospheric, slow and editorial | E7 (a two-colour gradient with grain) or E6 (one small loop), built in-page at tier A or B; any external asset obeys [`imagery-kit.md`](imagery-kit.md) (no URL outside its manifest) and [`assets.md` § Placeholder strategy](assets.md) |+| atmospheric, slow and editorial | E7 (a two-colour gradient with grain) or E6 (one small loop), built in-page at tier A or B; any external asset obeys [`imagery-kit.md`](imagery-kit.md) (no URL outside its manifest) and [`assets.md` § Placeholder order](assets.md) || agency, studio | E8 photography, or none || manifesto, essay, letter, foundry, type specimen, broadside | No imagery. Display typography is the design || anything else, vague or unspecified | Typography only |@@ -31,9 +31,9 @@ The default is typography only. Match the brief against this table and act on thRules:- When the user attached an image (or `.hallmark/preflight.json` cached one), use it. Never overwrite it with a placeholder.-- When the brief sits between a "needs photos" row and a "no imagery" row, ask one short question: *Will you have product photos, or should I leave swappable placeholders?*+- When the brief sits between a photo row and a no-imagery row, the Step 1 material answer decides: photos or "leave slots" take the photo row, silence takes the type row.- A placeholder looks like a placeholder, never like a confident decision. The skill never invents stock photos as if they were the final design.-- The rows above do not override the genre file or the theme file. Modern-minimal still suppresses decorative kit imagery (`imagery-kit.md` § Anti-patterns), and a theme whose object is hand-built (a drawn jar, a lamp, a record) keeps it in the hero; a capture or photo row then puts its slot below the fold.+- The rows above do not override the genre file or the theme file. Modern-minimal still suppresses decorative kit imagery (`imagery-kit.md` § Never), and a theme whose object is hand-built (a drawn jar, a lamp, a record) keeps it in the hero; a capture or photo row then puts its slot below the fold.The tier is chosen after this check says imagery is needed. Skipping the check is what produces a blob illustration on every page.@@ -41,12 +41,12 @@ The tier is chosen after this check says imagery is needed. Skipping the check i## The craft tiers-One alphabet, shared with [`custom-craft.md`](custom-craft.md). Typography only is not a tier; it is the answer when no tier is needed. Reach for the highest tier the brief lets you ship in the time you have.+One alphabet, shared with [`custom-craft.md`](custom-craft.md). Typography only is not a tier; it is the answer when no tier is needed.| Tier | What | When || --- | --- | --- || **A · CSS art** | Pure CSS shapes, gradients, clip-paths; no asset, no dependency | Geometric shapes, gradient compositions, glyph-style decoration |-| **B · Hand-built SVG** | Drawn in Figma, optimised, animated declaratively | Illustration past what CSS handles cleanly: a loaf, a mascot, a diagram |+| **B · Hand-built SVG** | Written by hand, optimised, animated declaratively | Illustration past what CSS handles cleanly: a loaf, a mascot, a diagram || **C · Declarative animation** | Motion on top of A or B; CSS first, a library only for orchestration | A loop, a draw-on, a staggered entrance || **D · WebGL** | Three.js or shaders | Only when the 3D is the product and the user interacts with it || **E · Generated still** | An image model, with provenance and post-processing | Characters or scenes that hand-building cannot reach economically; always post-processed |@@ -65,11 +65,11 @@ If the brief carries an explicit visual cue, pick from this map:- "demo", "show how it works", "product tour": E1 or E2 demo video- "platform", "tool", "infra", "dashboard", "developer": E4 screenshot in a figure- "shop", "store", "menu", "products", "items": E8 photography (or the F6 product grid)-- "bakery", "kitchen", "café", "atelier" with a craft brief: E5 custom illustration, tier B+- "bakery", "kitchen", "café", "atelier" with no photos coming: E5 custom illustration, tier B- "agency", "studio", "portfolio": E8 photography or none- "manifesto", "essay", "book", "letter": none-If the brief is ambiguous, ask one question: *Add a demo video, an illustration, or keep it typography only? I default to typography only.* Otherwise default to none and state the inference in one sentence, beside the shape inference.+Otherwise the archetype is none; state the inference in one sentence, beside the shape inference.---@@ -79,7 +79,7 @@ Each file carries the recipe: definition, use-when and avoid-when, knobs, a work- **E1 · Demo video, clipped by the viewport edge**: headline left, a real capture right in a slot, the rightmost 10 to 20% cut off past the viewport. [`enrichment/e1-clipped-demo-video.md`](enrichment/e1-clipped-demo-video.md)- **E2 · Demo video, full-bleed muted loop**: video as wallpaper under a ghost overlay; the feel is the message, not the detail. [`enrichment/e2-fullbleed-muted-loop.md`](enrichment/e2-fullbleed-muted-loop.md)-- **E4 · Screenshot in a figure**: a real capture in a `<figure>` with a caption that states a fact, no drawn chrome, optional tilt and numbered pins. E3 (browser-framed) was folded into it. [`enrichment/e4-floating-no-frame.md`](enrichment/e4-floating-no-frame.md)+- **E4 · Screenshot in a figure**: a real capture in a `<figure>` with a caption that states a fact, no drawn chrome, optional tilt and numbered pins. [`enrichment/e4-floating-no-frame.md`](enrichment/e4-floating-no-frame.md)- **E5 · Custom illustration centrepiece**: one hand-built SVG (tier B) or generated still (tier E) as the hero's single illustrative element. [`enrichment/e5-custom-illustration-centerpiece.md`](enrichment/e5-custom-illustration-centerpiece.md)- **E6 · Animated loop**: one small custom CSS or SVG loop, 4s or less, that gives an otherwise still page life. [`enrichment/e6-animated-loop.md`](enrichment/e6-animated-loop.md)- **E7 · Abstract background**: a two-colour low-chroma gradient plus feTurbulence grain; paper texture, never aurora. [`enrichment/e7-abstract-background.md`](enrichment/e7-abstract-background.md)@@ -95,9 +95,7 @@ A hero may carry one polish pattern and one enrichment archetype, never two poli- **HP1 · Vertical rail title**: a fact runs vertically beside the body. [`enrichment/hp1-vertical-rail-title.md`](enrichment/hp1-vertical-rail-title.md)- **HP2 · Marquee overflow**: the h1 bleeds past the viewport edge; short loud titles only. [`enrichment/hp2-marquee-overflow.md`](enrichment/hp2-marquee-overflow.md)-- **HP4 · Decorative numeral**: a huge roman numeral that means something (issue, year, version, chapter). [`enrichment/hp4-decorative-numeral.md`](enrichment/hp4-decorative-numeral.md)--The cursor spotlight (formerly HP3) is refused by gate 29 and by the atmospheric genre file; it is not a pattern.+- **HP4 · Decorative numeral**: a huge figure that means something (an issue, a year, a version, a chapter). [`enrichment/hp4-decorative-numeral.md`](enrichment/hp4-decorative-numeral.md)The sequence:@@ -114,9 +112,9 @@ The sequence:The enrichment and polish go on the stamp's second line, in the `enrichment:` field:```css-/* Hallmark · shape: Workbench · genre: modern-minimal · theme: Newsprint (deal 1/3, seed tracejam·2026-09-22·r0)+/* Hallmark · shape: Workbench · genre: modern-minimal · theme: Cobalt (deal 1/3, seed tracejam·2026-09-22·r0)* hero: Stage · nav: edge-aligned · footer: colophon line · enrichment: E1 demo capture, clip right, 16/10, hairline · polish: HP4 numeral, issue 22 · signature: the trace runs off the page- * axes: light/grotesk-sans/warm · posture: restrained · contrast: pass · fold: pass · v2.1.0 */+ * axes: light/grotesk-sans/cool · posture: restrained · contrast: pass · fold: pass · v2.4.0 */```No polish, omit `polish:`. No enrichment, write `enrichment: none`. Never fake either. The log entry's `enrichment` field carries the same value so Rotation can read it.diff --git a/skills/hallmark/references/imagery-kit.md b/skills/hallmark/references/imagery-kit.mdindex 910582c..0b80274 100644--- a/skills/hallmark/references/imagery-kit.md+++ b/skills/hallmark/references/imagery-kit.md@@ -1,163 +1,59 @@# Imagery kit-The kit is two things: the composition playbook below (the category vocabulary and the layered, off-centre, blend-mode patterns that make abstract imagery read intentional) and a REAL set of hosted assets at `https://www.usehallmark.com/imagery/<category>/<file>`, listed in the manifest section and served from the deployed site (`site/imagery/` in the repo).+A small set of hosted files at `https://www.usehallmark.com/imagery/<category>/<file>` (`site/imagery/` in the repo), and the rules for placing them. **Never emit a URL that is not listed in the manifest below.** Anything not listed is built in the page instead: washes in CSS (tier A), marks and ornaments in SVG (tier B, [`custom-craft.md`](custom-craft.md)), grain from [`texture.md`](texture.md). A URL that 404s in a shipped page is worse than no image, so the built fallback stays in reach for every listed file.-**The hard rule: never emit a URL that is not listed in the manifest below.** Anything not listed is CONSTRUCTED in-page instead: washes and blobs via craft tier-a CSS or tier-b SVG (see [`custom-craft.md`](custom-craft.md)), textures via CSS gradients, generated stills via tier-e only when the user opted in and `TOGETHER_API_KEY` is set (`scripts/imagegen.mjs`). A URL that 404s in the shipped page is worse than no image; the constructed fallback stays in reach for every listed asset too.+The kit is atmosphere, marks and texture. It never stands in for a subject (a product, a dish, a person) and never for a product capture: those are slots (`craft.md` § 8).-**How to compose.** One large object behind the text, biased to one side, blended where it earns its place. A gradient centred behind a headline is the default the kit exists to avoid.+## Manifest------## Categories--| Category | What | Format | Example uses |-| --- | --- | --- | --- |-| **avatar** | Studio portraits, varied ages and skin tones, neutral grounds. Generated, provenance sidecars committed. | JPG | A team or byline slot the user will fill with the real person. Never given a name, a title or a quote (19, 46a, F9); the TODO comment above it names what replaces it. |-| **mark** | Geometric marks in four families (orbit, stack, field, stroke), `currentColor`. | SVG | The mark beside the brand name in a wordmark composition. Inline the SVG (an `<img>` cannot inherit `currentColor`). Never a wall of invented customers (46a). |-| **watercolor** | Full-bleed soft-edge painterly fields on white paper. Warm + cool. | JPG | Section background accent; hero-half flood; behind-quote wash; composites with `mix-blend-mode: multiply`. |-| **transparent** | Brushstroke / blob gestures on PURE WHITE ground - no faked alpha. Composite with `img { mix-blend-mode: multiply; }` over light papers (the white vanishes); skip the category on dark themes; true alpha = hand-built tier-b SVG. | JPG | Layered hero composition (large, off-centre, behind text). The masterclass move. |-| **texture** | Tile-able paper grain, riso dot, cross-hatch, weave; `currentColor` where sensible. | SVG | Grain via `mix-blend-mode: multiply` at the `texture.md` budget (0.08 page-wide, 0.15 on one plate); section banding. |-| **screens** | App-screenshot frames built on Hallmark tokens (sources committed beside outputs; re-render is one Chrome command). | PNG | h8/f5 screenshot slots; phone-figure slots. |-| **ornament** | Small stamps, plates, numerals, flourishes. | SVG | Beside a quote; the section-label gutter; a letter close. (Hand-built per page until listed.) |-| **silhouette** | Abstract product shapes for empty slots. | SVG | Hand-built tier-b per page until listed. |--**Naming:** `<category>-<palette-family>-<variant>.<ext>`, as in `watercolor-warm-01.jpg`, `transparent-brush-cool-02.jpg`, `texture-grain-paper-01.svg`. Palette families: `warm`, `cool`, `neutral`, `chromatic`.-------## Manifest (the allowlist - only what is listed here may be referenced by URL)--Assets live in the repo at `site/imagery/<category>/` and serve at `https://www.usehallmark.com/imagery/<category>/<file>` once the site deploys. Picking logic: match the active theme's palette family + the brief's tone, reference the listed URL, keep the constructed fallback in reach. Provenance: `gen:flux-1.1-pro` files carry a committed `.json` sidecar (model, prompt, date); pages embedding kit imagery append `imagery: <file> · <provenance>` to their Hallmark stamp.+Generated files carry a committed `.json` sidecar (model, prompt, date); a page that embeds one appends `imagery: <file> · <provenance>` to its stamp.```-avatar-01.jpg .. avatar-16.jpg 768x768 studio portraits, varied age/skin/hair, neutral grounds team or byline slot until the real photo arrives gen:flux-1.1-pro-watercolor-warm-01.jpg 1440x800 sienna/ochre wash pooling lower-left on white section wash, warm palettes gen:flux-1.1-pro-watercolor-warm-02.jpg 1440x800 terracotta/apricot wash upper-right section wash, warm palettes gen:flux-1.1-pro-watercolor-cool-01.jpg 1440x800 prussian/grey wash lower-right section wash, cool palettes gen:flux-1.1-pro-watercolor-cool-02.jpg 1440x800 viridian/slate wash from the left edge section wash, cool palettes gen:flux-1.1-pro-transparent-brush-warm-01.jpg 1216x1216 sienna diagonal brushstroke on white; multiply layered hero art, light papers gen:flux-1.1-pro-transparent-brush-warm-02.jpg 1216x1216 ochre torn-edge blob on white; multiply layered hero art, light papers gen:flux-1.1-pro-transparent-brush-cool-01.jpg 1216x1216 prussian brushstroke on white; multiply layered hero art, light papers gen:flux-1.1-pro-transparent-brush-cool-02.jpg 1216x1216 slate-teal blob on white; multiply layered hero art, light papers gen:flux-1.1-pro-texture-grain-paper-01.svg 512x512 feTurbulence paper grain; set opacity to the texture.md budget body grain via multiply hand-built-texture-riso-dot-01.svg 24x24 offset riso dot lattice, currentColor section banding hand-built-texture-crosshatch-01.svg 16x16 45/135deg hatch, currentColor panel texture hand-built-texture-weave-01.svg 20x20 over-under weave bars, currentColor divider banding hand-built-mark-orbit-01..03.svg 32x32 circle grammar (ring+satellite, vesica, wedge) wordmark marks hand-built-mark-stack-01..03.svg 32x32 bar grammar (steps, bar+counter, offset slab) wordmark marks hand-built-mark-field-01..03.svg 32x32 grid grammar (displaced dot, diagonal run, rotated square) wordmark marks hand-built-mark-stroke-01..03.svg 32x32 line grammar (chevrons, arc over baseline, oblique strokes) wordmark marks hand-built-screens/screen-dashboard-01.png 1280x800 analytics dashboard on Hallmark tokens h8/f5 screenshot slots hand-built-screens/screen-settings-01.png 1280x800 settings page on Hallmark tokens h8/f5 screenshot slots hand-built-screens/screen-feed-mobile-01.png 390x844 mobile card feed (uses kit avatars) phone-figure slots hand-built-```--**Wordmark placeholders are a composition, not files** (SVG text inside an `<img>` cannot inherit page fonts): inline a mark SVG beside the brand name set in the page's display token:--```html-<a class="wordmark"><svg viewBox="0 0 32 32" width="20" height="20" fill="currentColor" aria-hidden="true"><!-- mark-orbit-01 paths --></svg> Meridian</a>-```-------## Usage patterns--(The `…/imagery/` paths in the examples below resolve against the manifest. For categories still unlisted (ornament, silhouette), swap in the constructed equivalent: inline tier-b SVG, gradient washes, CSS grain.)--### Layered hero composition--A transparent abstract object behind the hero text, set larger than feels safe: scale is what makes it read as intended rather than decorative.--```css-.hero { position: relative; isolation: isolate; }--.hero__art {- position: absolute;- top: 50%;- right: -10%;- transform: translateY(-50%);- width: clamp(60%, 80vh, 1400px);- height: auto;- z-index: 0;- pointer-events: none;- /* Optional warmth: */- mix-blend-mode: multiply;- opacity: 0.85;-}--.hero__art--bias-left { right: auto; left: -10%; }--.hero > * { position: relative; z-index: 1; }+watercolor-warm-01.jpg 1440x800 sienna and ochre wash pooling lower left, on white gen:flux-1.1-pro+watercolor-warm-02.jpg 1440x800 terracotta and apricot wash upper right, on white gen:flux-1.1-pro+watercolor-cool-01.jpg 1440x800 prussian and grey wash lower right, on white gen:flux-1.1-pro+watercolor-cool-02.jpg 1440x800 viridian and slate wash from the left edge, on white gen:flux-1.1-pro+transparent-brush-warm-01.jpg 1216x1216 sienna diagonal brushstroke on white gen:flux-1.1-pro+transparent-brush-warm-02.jpg 1216x1216 ochre torn-edge stroke on white gen:flux-1.1-pro+transparent-brush-cool-01.jpg 1216x1216 prussian brushstroke on white gen:flux-1.1-pro+transparent-brush-cool-02.jpg 1216x1216 slate-teal stroke on white gen:flux-1.1-pro+texture-grain-paper-01.svg 512x512 paper grain, feTurbulence hand-built+texture-riso-dot-01.svg 24x24 offset riso dot lattice, currentColor hand-built+texture-crosshatch-01.svg 16x16 45 and 135 degree hatch, currentColor hand-built+texture-weave-01.svg 20x20 over-under weave bars, currentColor hand-built+mark-orbit-01..03.svg 32x32 circle grammar: ring and satellite, vesica, wedge hand-built+mark-stack-01..03.svg 32x32 bar grammar: steps, bar and counter, offset slab hand-built+mark-field-01..03.svg 32x32 grid grammar: displaced dot, diagonal run, rotated square hand-built+mark-stroke-01..03.svg 32x32 line grammar: chevrons, arc over baseline, oblique strokes hand-built```-Bias to one side (left or right, never centred). The text sits at `z-index: 1`, the art at `z-index: 0`. Test mobile: art may need to scale down or shift to avoid the headline at 320 px.--### Section background wash--A painterly field as a full-bleed section accent. One section per page, never global. The wash is constructed in CSS; a listed watercolor asset may replace the gradients in the same `background` line:--```css-.section--wash { position: relative; isolation: isolate; }-.section--wash::before {- content: "";- position: absolute;- inset: 0;- background:- radial-gradient(60% 48% at 22% 30%, oklch(from var(--color-accent) l c h / 0.14), transparent 70%),- radial-gradient(50% 42% at 78% 72%, oklch(from var(--color-accent) calc(l + 0.08) calc(c * 0.6) h / 0.10), transparent 72%);- z-index: -1;- pointer-events: none;-}-```+Pick by the theme's palette family (`warm`, `cool`) and the brief's tone. The washes and brushes are painted on white, not on alpha: composite them with `mix-blend-mode: multiply` over a light paper, where the white drops out, and skip them on a dark theme.-### Decoration+## Placing them-Inline ornament beside a quote, or standing alone as a section divider. Small. No border, no shadow, no animation. Never inside a label above a heading, that is an eyebrow with a picture in it (gate 54); an ornament that opens a section stands on its own, as a rule does.+- **A wash or a brush sits in its own plate or bleeds from one edge of one section**, biased to a side, larger than feels safe. Never behind running text, never centred behind a headline (that is the blob the hero review flags), never on more than one section.+- **A mark** goes beside a brand name in a wordmark when the user has no logo yet. Inline the SVG so it takes `currentColor` (an `<img>` cannot), set the name in the display token beside it:```html-<hr class="divider-mark" />-<h2>Opening hours</h2>+<a class="wordmark" href="/"><svg viewBox="0 0 32 32" width="20" height="20" fill="currentColor" aria-hidden="true"><!-- paths of mark-orbit-01.svg --></svg> Meridian</a>```-```css-.divider-mark { border: 0; height: auto; margin-block: var(--space-2xl); text-align: center; }-.divider-mark::before {- content: ""; display: inline-block; width: 1.5rem; height: 1.5rem;- background: var(--color-muted);- mask: url("https://www.usehallmark.com/imagery/mark/mark-orbit-01.svg") center / contain no-repeat;-}-```--### Texture overlay--Grain over a solid colour, at the `texture.md` budget.+- **A texture tile** follows `texture.md`'s budget (0.08 page-wide, 0.15 on one plate, 0.05 or nothing under running text) on a pseudo-element, never as the element's own opacity:```css-.texture-grain {- background-image: url("https://www.usehallmark.com/imagery/texture/texture-grain-paper-01.svg"), var(--color-paper);- background-size: 256px 256px, cover;- background-blend-mode: multiply;- opacity: var(--texture-opacity, 0.08);-}+.plate { position: relative; isolation: isolate; }+.plate::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: var(--texture-opacity, 0.08);+ background: url("https://www.usehallmark.com/imagery/texture/texture-grain-paper-01.svg") 0 0 / 256px; mix-blend-mode: multiply; }```-### Empty slot--An unfilled product or photo slot is a `data-slot` container with the designed placeholder from `craft.md` § 8, never a silhouette pretending to be the product.-------## Anti-patterns+- An ornament next to a quote or as a section divider stands on its own, small, with no border, shadow or motion; one above a heading as its label is an eyebrow with a picture in it (54).-- **Don't use kit imagery as the literal subject.** An abstract wash is not a stand-in for a coffee-shop hero; that wants a photo slot (`assets.md` § Placeholder strategy). The kit is atmosphere, composition and decoration.-- **Don't layer 3+ kit pieces on one page.** Restraint. One transparent object in the hero + one wash in a later section is the cap.-- **Don't apply the same watercolor wash to multiple sections.** It's a section accent, not a global treatment.-- **Don't use kit imagery in the modern-minimal genre.** Its whole point is the absence of decorative imagery.-- **Don't centre the layered hero art.** Centred behind text is the AI-default move. Bias to one side, off-axis.-- **Don't use mix-blend-mode without testing on the active paper.** `multiply` over a dark canvas inverts; `screen` over light paper washes out. Eyeball the result per theme.+## Never----+- Kit imagery in the modern-minimal genre: its point is the absence of decoration.+- Two washes, or a wash and a brush, on one page; three kit pieces of any kind.+- `multiply` over a dark ground (it vanishes) or `screen` over a light one (it washes out); check the blend on the active paper.## Adding to the kit-Files live in `site/imagery/<category>/` and deploy with the site. A generated file carries a `.json` sidecar (model, prompt, date); a hand-built SVG uses `currentColor`. Every file stays under 200 KB. Add the file, add its line to the manifest above, and nothing else changes: the manifest is the allowlist, so a file that is not listed is not used.+A file lives in `site/imagery/<category>/`, stays under 200 KB, carries a `.json` sidecar if generated or `currentColor` if hand-built SVG, and gets one line in the manifest above. A file that is not listed is not used.diff --git a/skills/hallmark/references/interaction-and-states.md b/skills/hallmark/references/interaction-and-states.mdindex c651447..7fdf021 100644--- a/skills/hallmark/references/interaction-and-states.md+++ b/skills/hallmark/references/interaction-and-states.md@@ -7,161 +7,83 @@ Loaded for forms and stateful controls. `craft.md` § 9 and gate 39a own the inp| State | When | Treatment || --- | --- | --- || Default | At rest | Base styling |-| Hover | Pointer over (only with `@media (hover: hover)`) | Small shift: colour, 1px translate, subtle border |-| Focus | Keyboard or programmatic focus | Visible ring, `:focus-visible` |-| Active / Pressed | During press | Pressed-in: darker, translate(0 1px) |-| Disabled | Not interactive | Reduced opacity (0.55) + `cursor: not-allowed` + `aria-disabled` |-| Loading | Processing | Inline spinner or progress, label stays readable |-| Error | Failed state | Red border, error icon, message, `aria-invalid` |-| Success | Completed | The result itself, from the server's answer; an inline icon from the page's set at most; no toast (16); no success state at all where no request was made (70) |+| Hover | Pointer over, inside `@media (hover: hover)` | One signal: a colour step, a 1px lift or a border step (11) |+| Focus | Keyboard or programmatic focus | The ring, at once (15, 26a) |+| Active | During press | A 1px drop or one step darker |+| Disabled | Not interactive | Three channels together: `opacity: 0.55`, `cursor: not-allowed` and the native `disabled` attribute, or `aria-disabled="true"` where the control must stay focusable (39a) |+| Loading | Processing | Inline progress; the label stays readable and the width does not jump |+| Error | Failed | `--color-error` on the border, the message, `aria-invalid`; never colour alone |+| Success | Completed | The result itself, from the server's answer; an icon from the page's set at most; no toast (16); no success state where no request was made (70) |-If any of these is missing on a production element, the element isn't finished.+An element missing one of these is not finished.## Focus rings-Visible, always, on every interactive element. The default focus ring most browsers give you is fine; a custom one is better.--```css-:focus { outline: none; }-:focus-visible {- outline: 2px solid var(--color-focus);- outline-offset: 2px;- border-radius: inherit;-}-```--Requirements:--- 2 to 3px, ≥ 3:1 contrast against both element and page.-- 2px offset from the element.-- `:focus-visible`, not `:focus`, so it's keyboard-only.-- Never `outline: none` without a replacement. `outline: none` with no other focus style is the most common accessibility bug and an immediate audit failure.+The scaffold's ring is the page's: `outline: 2px solid var(--color-focus); outline-offset: 2px`, inset on inputs (a negative offset) so it never collides with a neighbouring field. 3:1 against both the element and the page. `:focus-visible`, so it shows for the keyboard; never `outline: none` without a replacement.## Hit targets-Minimum 44×44 CSS px for any touch-reachable element. Use padding or an `::before` overlay to expand the hit target without changing visual size:+44 x 44 CSS px for anything a finger can reach. Expand a small control without changing its look:```css-.icon-btn {- position: relative;-}-.icon-btn::before {- content: "";- position: absolute;- inset: -12px;-}+.icon-btn { position: relative; }+.icon-btn::before { content: ""; position: absolute; inset: -12px; }```## Forms-- Labels above inputs. Visible. Never placeholder-as-label.-- Placeholders show format, not instruction. `Placeholder: 01 Jan 2026`, not `Placeholder: Enter your birth date`.-- Helper text below input. Error text replaces helper text.-- Validate on **blur**, not on every keystroke. Revalidate on change once the field has been blurred once (the "touched" pattern).-- Error message: (1) what broke, (2) why, (3) what to do. One sentence if possible.-- Associate errors with `aria-describedby`. Set `aria-invalid="true"` on the field.-- Required fields marked with `aria-required`, never with colour alone.-- Disable the submit button only when the form is in a known-invalid or in-flight state. Never on idle.+- A visible label above every field; never a placeholder as the label.+- A placeholder shows a format (`01 Jan 2026`), never an instruction.+- Validate on blur once the field has been touched, then on every input.+- An error says what broke, why, and what to do, in one sentence where it can; tie it to the field with `aria-describedby` and set `aria-invalid="true"`.+- Required fields carry `aria-required` and a visible word, never colour alone.+- Disable submit only while a request is in flight, never at rest.-## Input field states, the exhaustive checklist+## The field-This is where the most "almost right" UIs lose. An input field with two states (default + hover) and a different border-width on focus reads as a default settings page, the geometry shifts, the eye notices, the page feels untuned. Every text input, textarea, select, and combobox must satisfy every rule below.+Every text input, textarea, select and combobox.-### The no-layout-shift rule--**Border thickness is constant across every state.** Default · hover · focus · error · disabled, the `border-width` value never changes. Layout shift on focus is a tell. State changes go to `background-color`, `outline`, or `box-shadow`, never to `border-width`.+**The border never changes width.** State moves to `background-color`, `border-color`, `outline` or `box-shadow`, never `border-width`; a transparent outline is reserved at rest so the ring appears without a shift.```css-.input {- border: 1px solid var(--color-rule-2); /* 1px, always, every state */- outline: 2px solid transparent; /* reserved slot for focus ring; no shift on activate */- outline-offset: 1px;-}+.input { border: 1px solid var(--color-rule); outline: 2px solid transparent; outline-offset: -3px; }+.input:focus-visible { outline-color: var(--color-focus); }```-The outline starts transparent at 2 px so when the focus ring appears, the box geometry is already correct. No layout shift. No paint thrash.+| State | Treatment |+| --- | --- |+| Default | 1px rule border, paper background, placeholder in `--color-muted` |+| Hover | `--color-paper-2` background, border unchanged |+| Focus | The ring; the border may deepen to `--color-ink-2` at the same width |+| Filled | As default; the value carries the state |+| Disabled | The three channels; placeholder dims one step |+| Error | `--color-error` border, the error text in the helper line, an error icon from the page's set in the right-edge slot |+| Success | Only after a real check returned; a check icon from the page's set; clears when the user edits |+| Loading | A small spinner in the right-edge slot; the field stays editable, submit waits |-### State-by-state recipe+- **Height:** inputs match the height of the button beside them (44 to 52px on a marketing page, 39); vertical padding is `(height - line-height) / 2`.+- **Right-edge slot:** reserve about 24px for a clear button, an error glyph or a spinner, so nothing reflows when one appears.+- **Label** 4 to 8px above; **helper** about 4px below at the label's size, quieter, in a line that reserves `min-height: 1lh` (F14); the error replaces the helper in that line, never adds a second.+- Never transition `border-width`, `padding` or `height`; never animate the ring.-| State | Treatment | Why |-| --- | --- | --- |-| **Default** | `border: 1px solid var(--color-rule-2)` · `background: var(--color-paper)` · placeholder in `var(--color-muted)` | Visible field, readable empty signal |-| **Hover** | `background: var(--color-paper-2)` (4 to 6 % darker than paper) · border unchanged | Subtle background shift, no border flash. Border colour changing alone is missable. |-| **Focus** | `outline: 2px solid var(--color-focus)` · `outline-offset: 1px` · border may deepen to `var(--color-ink-2)` but width stays 1 px | Outline is the focus signal; never animated; ≥ 3:1 contrast against page AND field. |-| **Active / typing** | Same as focus. Don't add a separate "typing" state. | Focus already says "active here". A second signal is noise. |-| **Filled** | Same as default, the value carries the state. Optionally a subtle ink-2 border to visually distinguish from empty. | Don't fight the user's content with a styled chrome change. |-| **Disabled** | `opacity: 0.55` · `cursor: not-allowed` · placeholder `var(--color-rule-2)` · `aria-disabled="true"` · `tabindex="-1"` | Three independent signals (opacity + cursor + colour) so no single channel carries the whole load. |-| **Error** | `border-color: var(--color-error)` · helper-text replaced by error message · `aria-invalid="true"` · an error icon from the page's icon set in the right-edge slot | Border colour flip is OK *because* helper-text and aria signal it too. Never colour alone. |-| **Success** | Subtle accent-coloured border (3 % chroma above default) · a check icon from the page's icon set · auto-clear if user re-edits | Quiet; success doesn't deserve celebration unless it was hard. |-| **Loading** (validating, async) | Inline spinner at the right edge replacing the standard glyph slot · field stays editable but submit disabled | Don't lock the user out of the field. They may want to fix what they typed. |--### Heights and rhythm--- **Input height = button height.** A page with 44 px buttons and 38 px inputs feels untuned. Pick one base height (44 px is the touch-target floor) and apply it to every text input AND every adjacent button.-- **Vertical padding = `(height − line-height-px) / 2`.** No magic numbers.-- **Right-edge slot reserved.** Every input reserves a ~24 px right-edge slot for an optional clear button, error glyph, or loading spinner. If unused, the slot sits empty, never reflow on icon appearance.--### Labels, helper, error--- **Label above** the input, 4 to 8 px gap. Never inline (placeholder-as-label is a tell).-- **Helper text below**, ~4 px gap. Same `font-size` as the label, lower visual weight.-- **Error replaces helper**, same position, same size, error colour. Never both at once (causes vertical jump on validation).-- **Helper has stable height.** Reserve a 1-line height even when empty, so adding an error doesn't push the page down. CSS: `min-height: 1lh` on the helper container.--### Don't, list--- Don't transition `border-width`, `padding`, or `height` on any state. Always layout-shift.-- Don't transition the focus ring's `opacity` or `transform`. Focus must be instant.-- Put hover effects inside `@media (hover: hover)` so touch users never get a stuck state.-- Don't disable the field as a way to indicate "wait, loading", use a loading state with the field still editable.-- Don't change `cursor` on `:focus`. The pointer is already a beam; don't fight it.-- Don't use `outline: none` on focus without an explicit replacement.--### Specific control overrides--- **Textarea.** Same rules as input, plus `resize: vertical` (never `none`, never `both` on a small textarea), `min-height: 6rem` for multi-line UX.-- **Select.** Custom-styled `<select>` only if you can replicate native a11y (keyboard, screen-reader). Otherwise leave it native and style the wrapper.-- **Checkbox / radio.** Use `accent-color: var(--color-accent)` for cheap correct styling on modern browsers; only build a custom one when the design requires it. If custom: still a 1 px outline-offset focus ring.-- **Toggle / switch.** It IS a checkbox. Same a11y rules. The visual design doesn't change the contract.-- **Range / slider.** The thumb gets focus state, not the track. Thumb hit-target ≥ 44 px even if visual size is smaller (use a transparent expansion).-- **File input.** Always wrap in a styled label. Native `<input type="file">` is unstyleable; the label is the surface.-- **Combobox / search.** Listbox sits below, `aria-expanded` mirrors visibility, arrow-keys cycle, Enter selects, Escape closes, and the listbox doesn't push page content (use `position: absolute` + a parent `position: relative`).+**Controls.** Textarea: `resize: vertical`, `min-height: 6rem`. Select: native, with a custom chevron on the wrapper; a fully custom select only when it keeps native keyboard and screen-reader behaviour. Checkbox and radio: native, `accent-color` for the cheap correct version, styled by state in CSS, never toggled by script. A switch is a checkbox with the same contract. Range: the thumb takes focus and a 44px hit target. File input: a styled `<label>` is the surface. Combobox: the listbox sits below without pushing content, `aria-expanded` mirrors it, arrows cycle, Enter selects, Escape closes.## Modals and overlays-- Use the native `<dialog>` element. It handles focus trap, escape to close, and `::backdrop` styling for free.-- **Centre it explicitly.** A `<dialog>` opened with `showModal()` centres on its own, but the moment you add custom positioning (a `margin-top`, a `top`, a stray `transform`) it can snap to the viewport's top-left corner. Pin it: `position: fixed; inset: 0; margin: auto; height: fit-content; max-height: min(80vh, 40rem);`. A non-`<dialog>` overlay centres via its container instead: `position: fixed; inset: 0; display: grid; place-items: center;`. Never ship a modal or command palette stuck in the corner.-- Set `inert` on the page content behind a modal so tab order doesn't leak.-- Close on: escape key, backdrop click, explicit close button.-- First focus goes to the first interactive element, not the close button.+- A native `<dialog>` opened with `showModal()`: focus trap, Escape and `::backdrop` for free.+- Pin it once custom positioning is added, or it can snap to a corner: `position: fixed; inset: 0; margin: auto; height: fit-content; max-height: min(80dvh, 40rem)`. A non-dialog overlay centres with `display: grid; place-items: center` on a fixed container.+- `inert` on the page behind; close on Escape, backdrop click and a visible close control; first focus to the first interactive element.-## Dropdowns, tooltips, popovers+## Popovers, menus, tooltips-- Use the Popover API (`popover` attribute). It handles light-dismiss, stacking, and escape for free, and works in every modern browser.-- Position with CSS Anchor Positioning where it's available; fall back to `position: fixed` + `getBoundingClientRect()`.-- Never put a dropdown inside an `overflow: hidden` container without escape. It will clip.-- Flip when near the viewport edge.+The Popover API for light-dismiss, stacking and Escape; CSS anchor positioning where available, `position: fixed` with `getBoundingClientRect()` otherwise; flip near the viewport edge; never inside an `overflow: hidden` ancestor that clips it.## Undo over confirm-- For reversible actions, skip the confirm dialog. Do the thing. Show a toast with an Undo button for 5 to 10 seconds.-- For destructive, irreversible actions (delete account, drop table), keep the confirm, and make the user type the thing being destroyed, not just click "OK".--## Loading and empty states--- **Skeleton** screens over spinners for content that has a predictable shape (lists, cards, tables).-- **Inline spinners** for in-button state. Replace the label, don't add beside it.-- **Empty states** always have: an illustration or icon (a small one), a one-line explanation of why it's empty, an action to fix it.-- Never show a generic "No results" with no context.+Reversible actions run at once and offer Undo for 5 to 10 seconds. Irreversible ones (delete an account, drop a table) keep the confirm, and the user types the name of the thing being destroyed.-## Bans+## Loading and empty-- Placeholder-as-label.-- Hover-only functionality (touch users can't hover).-- Focus rings removed without replacement.-- Confirmation dialogs for low-stakes actions.-- Touch targets < 44px.-- Custom cursors on interactive elements.-- Disabled elements with no explanation of why they're disabled.-- Colour-only error states.-- Spinners where a skeleton would show layout.+- A skeleton where the content's shape is known (lists, cards, tables); a spinner only in a button, replacing the label.+- An empty state is one line naming what is empty, one on why it matters, and one action (`craft.md` § 6). Never a bare *No results*.+- A disabled control near the user's attention says why it is disabled.diff --git a/skills/hallmark/references/macrostructures.md b/skills/hallmark/references/macrostructures.mdindex ace88e7..6ac7c00 100644--- a/skills/hallmark/references/macrostructures.md+++ b/skills/hallmark/references/macrostructures.md@@ -4,7 +4,7 @@ Twenty-one named landing-page shapes. Each is a complete fingerprint (heading pl## The 21 macrostructures, index-**Read only the one file** for the shape you landed on, from `references/macrostructures/`. Do not load the whole catalogue. Slugs are stable; Rotation reads the shape from the stamp and the log. A hero shape may carry one enrichment archetype and one polish pattern from `hero-enrichment.md`, never two polish patterns; nav and footer are part of the shape, settled with the hero. Where a shape's code already lives in `components/`, the shape file points at it instead of repeating it.+**Read only the one file** for the shape you landed on, from `references/macrostructures/`. Do not load the whole catalogue. Slugs are stable; Rotation reads the shape from the stamp and the log. Nav and footer are part of the shape, settled with the hero. Where a shape's code already lives in `components/`, the shape file points at it instead of repeating it.- **01 · Bento Grid.** Modular blocks of varying sizes laid out as an irregular grid. Each block is a feature, a figure, an image or a quote the user supplied. Rhythm comes from size variation, not card uniformity. [`macrostructures/01-bento-grid.md`](macrostructures/01-bento-grid.md)- **02 · Long Document.** Reads like a memo, a letter or a journal entry. No marketing structure. Continuous prose with inline section heads. The page is literature about the product. [`macrostructures/02-long-document.md`](macrostructures/02-long-document.md)@@ -20,7 +20,7 @@ Twenty-one named landing-page shapes. Each is a complete fingerprint (heading pl- **12 · Letter.** First-person, written, intimate. Opens with a greeting. Reads as a personal note from the founder. [`macrostructures/12-letter.md`](macrostructures/12-letter.md)- **13 · Index-First.** The page is a list of links. No hero image, no narrative flow. Navigation as design. [`macrostructures/13-index-first.md`](macrostructures/13-index-first.md)- **14 · Narrative Workflow.** Numbered stages tell the story of how the user uses the product over time. Each section is a phase; the page is a process timeline. [`macrostructures/14-narrative-workflow.md`](macrostructures/14-narrative-workflow.md)-- **15 · Split Studio.** Diptych. Every major block divides the screen, text on one side, proof on the other, alternating direction down the page. [`macrostructures/15-split-studio.md`](macrostructures/15-split-studio.md)+- **15 · Split Studio.** Diptych. Every major block divides the screen, text on one side, proof on the other; the proof keeps its side and the rows vary by weight. [`macrostructures/15-split-studio.md`](macrostructures/15-split-studio.md)- **16 · Feature Stack.** Sticky left pane holding the heading, scroll-synced right pane cycling through related captures. Paced like film. [`macrostructures/16-feature-stack.md`](macrostructures/16-feature-stack.md)- **17 · Type Specimen.** The typeface is the design. Foundry pages and design systems where a custom face is the proof. [`macrostructures/17-type-specimen.md`](macrostructures/17-type-specimen.md)- **18 · Portfolio Grid.** Filterable cards of projects. Studio and designer homepages where the work is the product. [`macrostructures/18-portfolio-grid.md`](macrostructures/18-portfolio-grid.md)@@ -58,7 +58,7 @@ When the shape is **Bento Grid, Stat-Led, Workbench or Marquee Hero** and the br**Every deal deviates twice.** (a) Drop at least one base card and name it (the CTA strip is the usual cut; footer never drops). (b) Either promote a second base card into the hero's place (a spec sheet as the hero object says "the numbers are the pitch"; a worked example as the hero says "watch it work") or reorder one adjacent pair meaningfully (pricing before the example says "the price is the pitch"). State both moves in the Picks block: `deck: -cta +changelog` or `deck: -faq · pricing<example`. A deal that keeps at least five cards still reads complete; below five it is a landing strip, not a landing page: re-add cards or switch shape.-Each card transition uses the theme's vertical spacing, `--space-3xl` or more between cards, varied (59); the section break is the rhythm, no sub-rules.+Cards part by the three `--section-gap` steps, mixed (59); the section break is the rhythm, no sub-rules.The deck is not a template you stamp out: the shape determines how each card looks. A Bento Grid page interleaves the spec sheet and the example inside the grid; a Stat-Led page sequences them top to bottom under the figure; a Marquee Hero page lets the marquee carry the claim and the example carry the proof.@@ -72,8 +72,8 @@ For non-SaaS work (Editorial, Manifesto, Letter, Long Document, Quote-Led) this1. **Read the brief.** Note any words that strongly signal one shape ("data heavy", "tell a story", "a list of links", "many small features", "personal note").2. **Read `.hallmark/log.json`** (newest first) and the `shape:` field of any Hallmark stamp in the project; the last three shapes are excluded.3. **Match the brief to a shape** using the index lines above and § Domain to trio below, then open only the file you land on. Most briefs match two to four; pick the one most distant from the logged shapes, and check the mirror test in SKILL.md Step 2.-4. **State the pick once**, in the Picks block's Shape row, then write the code with the stamp's `shape:` field set. The stamp reads `/* Hallmark · shape: <shape> · genre: <genre> · theme: <theme> ... */`; the full form is in SKILL.md Step 6.-5. If genuinely torn, offer three from different families (§ Domain to trio, below) and let the user pick.+4. **State the pick once**, in the Picks block's Shape row and the stamp's `shape:` field.+5. If torn, take the domain's trio (§ Domain to trio) and pick the one most distant from the log.Two pages Hallmark builds for two different briefs must look like different sites, not colour swaps of one template.@@ -93,9 +93,9 @@ Two pages Hallmark builds for two different briefs must look like different siteFingerprint: one choice per axis, written `Hanging|Asymmetric spans|Hairline|Outlined|Margin-aligned|None`. Two rules: coherence (choices from the same world; a justified newspaper body wants a typographic CTA, not an oversized solid) and anti-repetition (no more than three of six axes shared with any of the last three logged entries).-## Domain to trio, when the user says "you pick"+## Domain to trio, when the brief names no shape-When the brief gives no shape, offer three shapes from different families (grid-led, document-led, poster-led, product-led) that fit the domain, never three near-twins:+Three shapes from different families (grid-led, document-led, poster-led, product-led) that fit the domain, never three near-twins; the one most distant from the last logged shape is the pick:| Domain words | Trio || --- | --- |@@ -114,4 +114,4 @@ When the brief gives no shape, offer three shapes from different families (grid-| conference, event, speaker | Marquee Hero · Manifesto · Photographic || no signal at all | Bento Grid · Long Document · Manifesto |-Developer docs and developer marketing are different briefs (a walkthrough wants Workbench; the landing wants Bento plus Stat-Led), as are a one-pager and a case-study portfolio; ask one question when it is ambiguous. A vague tone word ("modern", "clean") is read through the genre and stated as an inference, never a second question (SKILL.md Step 1). Whichever of the three is most distant from the last logged shape is the right pick.+Developer docs and developer marketing are different briefs (a walkthrough wants Workbench; the landing wants Bento plus Stat-Led), as are a one-pager and a case-study portfolio; the Step 1 use decides. A vague tone word ("modern", "clean") is read through the genre and stated as an inference, never a second question.diff --git a/skills/hallmark/references/macrostructures/01-bento-grid.md b/skills/hallmark/references/macrostructures/01-bento-grid.mdindex 815ad42..e5fdab1 100644--- a/skills/hallmark/references/macrostructures/01-bento-grid.md+++ b/skills/hallmark/references/macrostructures/01-bento-grid.md@@ -3,8 +3,8 @@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:** 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.+- **Body:** asymmetric grid, six to nine blocks of mixed spans (1×1, 2×1, 1×2, 2×2); image-bearing tracks `minmax(0, 1fr)` (50).+- **Divider:** one gap, `--gap-columns`; no rules; the grid is the rhythm.- **Button:** an outlined chip in the hero; inside a tile, a typographic link carrying a verb.- **Image:** tightly cropped inside individual blocks; never full-bleed.- **Reveal:** none, or one one-shot fade as the grid enters.@@ -16,6 +16,6 @@ Avoid when the message is one hero idea. Bento spreads attention; a one-idea pagCode: [`../components/f1-bento-grid.md`](../components/f1-bento-grid.md).**Sample opening lines** (imitate the specificity, not the wording):-> *"Distributed tracing that explains itself."* Names the category and the promise in five words (Tracejam, test 05).+> *"Distributed tracing that explains itself."* Names the category and the promise in five words (Tracejam).> *"An API for sending mail from code."* Names the product class and the reader.> *"Everything a small kitchen needs to sell online."* Names the scale and the job.diff --git a/skills/hallmark/references/macrostructures/02-long-document.md b/skills/hallmark/references/macrostructures/02-long-document.mdindex a3c9aed..f59fcb6 100644--- a/skills/hallmark/references/macrostructures/02-long-document.md+++ b/skills/hallmark/references/macrostructures/02-long-document.md@@ -5,7 +5,7 @@ Reads like a memo, a letter or a journal entry. No marketing structure. Continuo- **Heading:** inline with the body; section heads emerge from the paragraph flow as short bold phrases.- **Body:** single column, line-height 1.65 or more, measure 60 to 65ch.- **Divider:** negative space; the gap is the divider; at most one centred ornament for emphasis.-- **Button:** a typographic link inside a paragraph, carrying a verb, never a separate block. It is the fold's one visible action, and the stamp says so (44b).+- **Button:** a typographic link inside a paragraph, carrying a verb, never a separate block. It is the fold's one visible action (44b).- **Image:** inline, sized to the measure; never full-bleed.- **Reveal:** none. The page is simply there.@@ -19,11 +19,17 @@ Heading: the inline lead-in of [`../craft.md`](../craft.md) § 7, item 3.<article class="prose"><p class="lede">…</p><h2 class="inline">A small heading.</h2>- <p>… <a href="/pricing">See the prices</a> …</p>+ <p>… <a href="#prices">See the prices</a> …</p></article>```+```css+.prose { max-width: 65ch; }+.prose h2.inline { display: inline; font: inherit; font-weight: 700; letter-spacing: normal; }+.prose h2.inline + p { display: inline; }+```+**Sample opening lines** (imitate the specificity, not the wording):-> *"Saturday, 6:14 a.m. The dough went in at midnight."* Opens on a time-stamp; the brand introduces itself as a moment in the day (Maple Street Bread, test 03).+> *"Saturday, 6:14 a.m. The dough went in at midnight."* Opens on a time-stamp; the brand introduces itself as a moment in the day (Maple Street Bread).> *"A monthly publication for people who still read to the end."* Names the cadence and the reader.> *"We build one thing, and we have built it for nine years."* A verb, a count, no claim.diff --git a/skills/hallmark/references/macrostructures/03-marquee-hero.md b/skills/hallmark/references/macrostructures/03-marquee-hero.mdindex fecd492..01aed08 100644--- a/skills/hallmark/references/macrostructures/03-marquee-hero.md+++ b/skills/hallmark/references/macrostructures/03-marquee-hero.md@@ -2,7 +2,7 @@The hero is the page above the fold. A single statement or visual fills the viewport. Below the fold the page becomes something else (a list, a grid, prose).-- **Heading:** display fills the fold at `clamp(4rem, 10vw, 9rem)` (`craft.md` § 1), hugging the container's edges; `line-height` 1.0 or more when it can wrap (55a).+- **Heading:** display fills the fold at `clamp(4rem, 10vw, 9rem)` (`craft.md` § 1), hugging the container's edges; an uppercase head that can wrap keeps `line-height` 1.0 or more (55a).- **Body:** below the fold, a list of work or one content block; the hero does not continue.- **Divider:** a thick rule between hero and below-fold, or a hard change of paper.- **Button:** one action in the fold under the statement, with the one sentence (Floor 12, 13): a typographic link or a single button. The statement owns the screen; the action and the sentence sit small at its foot.diff --git a/skills/hallmark/references/macrostructures/04-stat-led.md b/skills/hallmark/references/macrostructures/04-stat-led.mdindex c1c7b36..1926728 100644--- a/skills/hallmark/references/macrostructures/04-stat-led.md+++ b/skills/hallmark/references/macrostructures/04-stat-led.md@@ -7,7 +7,7 @@ The hero is a figure the user gave, with the line that says what it means. Every- **Divider:** hairline rules between figure blocks; `tabular-nums` everywhere.- **Button:** an outlined chip beneath the qualifier, labelled with a verb ("Read the report").- **Image:** charts and small data-viz per [`../data-viz.md`](../data-viz.md); no photography.-- **Reveal:** number-tick on the hero figure, from 0 to the target over about 500ms, legal only because the figure is real.+- **Reveal:** number-tick on the hero figure, from 0 to the target over `--dur-long`, legal only because the figure is real; the markup holds the final figure, so it reads with scripting off and under reduced motion (62).Reach for it when the brief says "we have proof in numbers": enterprise and B2B, fundraising, climate and impact pages.@@ -16,6 +16,6 @@ Avoid when the user has not given a number. Every figure on this page is the useCode: [`../components/h4-stat-led.md`](../components/h4-stat-led.md) for the hero, [`../components/t4-numbered-stat-strip.md`](../components/t4-numbered-stat-strip.md) for the supporting row.**Sample opening lines** (the number is the user's; imitate how the words complete it):-> *"Four seconds. From the alert link to the slow span."* The figure, then what it bought (Tracejam, test 05).+> *"Four seconds. From the alert link to the slow span."* The figure, then what it bought (Tracejam).> *"[the user's count] posts. New CSS you could use today."* A count grounds the page in real volume.> *"[the user's rate] faster, so the team can decide late."* A rate, then the behaviour it allows.diff --git a/skills/hallmark/references/macrostructures/05-workbench.md b/skills/hallmark/references/macrostructures/05-workbench.mdindex 16f9b36..ab9d8bd 100644--- a/skills/hallmark/references/macrostructures/05-workbench.md+++ b/skills/hallmark/references/macrostructures/05-workbench.md@@ -5,9 +5,9 @@ Real product captures are the primary content. The page is a guided tour of the- **Heading:** small and functional; a workbench page does not shout.- **Body:** a sequence of capture blocks, each a `<figure>` with a `<figcaption>` that states a fact and one inline annotation.- **Divider:** the figure is the divider; sections separate by gap and figure.-- **Button:** a sticky bottom bar after the third capture, once context is built, labelled with the verb ("Start a project").+- **Button:** the hero's one action (44b), then a sticky bottom bar carrying it after the third capture, once context is built, labelled with the verb ("Start a project").- **Image:** the real capture, unframed, in a `<figure>`, or a labelled `data-slot` when the user has not supplied it (`craft.md` § 8). No browser or device chrome (47a, 47b).-- **Reveal:** type-unmask on captions; captures load instantly.+- **Reveal:** one type-unmask, on the first caption; the captures load instantly and the rest is simply there.Reach for it for SaaS, developer tools, editor extensions, anywhere seeing the product in use is the sale.@@ -16,6 +16,6 @@ Avoid when the product is conceptual or services-led. Workbench needs a UI to shCode: [`../components/f5-annotated-screenshot.md`](../components/f5-annotated-screenshot.md) for the blocks, [`../components/c4-sticky-bottom-bar.md`](../components/c4-sticky-bottom-bar.md) for the bar.**Sample opening lines** (imitate the specificity; the page walks the visitor through):-> *"$ streampipe parse access.log --filter status=5xx | jq"* Opens on a real command, not a claim (Streampipe, test 02).+> *"$ streampipe parse access.log --filter status=5xx | jq"* Opens on a real command, not a claim.> *"Read anything that emits lines: files, pipes, sockets, kubectl logs."* Names the inputs, refuses abstraction.> *"Open the trace, find the span, fix the regression."* Three concrete verbs.diff --git a/skills/hallmark/references/macrostructures/06-conversational-faq.md b/skills/hallmark/references/macrostructures/06-conversational-faq.mdindex f24d9e0..910c556 100644--- a/skills/hallmark/references/macrostructures/06-conversational-faq.md+++ b/skills/hallmark/references/macrostructures/06-conversational-faq.md@@ -7,7 +7,7 @@ Bold questions, brief answers. The page reads like an honest interview with the- **Divider:** a hairline between pairs, or no rule and a change of paper.- **Button:** a typographic link inside an answer, carrying a verb ("Read the policy"); one outlined CTA at the foot.- **Image:** sparse; at most one diagram per long answer.-- **Reveal:** none on load; a disclosure opens over `--dur-short` with `--ease-out` on `grid-template-rows` from `0fr` to `1fr`.+- **Reveal:** none on load; a disclosure opens over `--dur-long` with `--ease-out` on `grid-template-rows` from `0fr` to `1fr`.Reach for it near pricing, for products that meet scepticism, for regulated or educational fields.@@ -23,6 +23,6 @@ Avoid as the primary page. FAQ usually pairs with another shape that opens the p```**Sample opening lines** (questions are real questions; answers are short and concrete):-> *"What is this for? A single-binary CLI for parsing log streams from stdin."* Names the form factor and the input (Streampipe, test 02).+> *"What is this for? A single-binary CLI for parsing log streams from stdin."* Names the form factor and the input (Streampipe).> *"How is it different? It runs where the logs are, so nothing leaves the box."* Answers with a fact, not a comparison.> *"Who built this? Three of us, in Lisbon, since 2014."* Date, place and count; no marketing.diff --git a/skills/hallmark/references/macrostructures/07-manifesto.md b/skills/hallmark/references/macrostructures/07-manifesto.mdindex 15e260c..db3f643 100644--- a/skills/hallmark/references/macrostructures/07-manifesto.md+++ b/skills/hallmark/references/macrostructures/07-manifesto.md@@ -7,7 +7,7 @@ Polemical large type. The page tells the reader what to believe before it tells- **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.+- **Reveal:** one horizontal sweep, on the first claim below the fold; the rest is simply there.Reach for it for repositioning announcements, mission-led indie products, a studio's beliefs page.@@ -23,6 +23,6 @@ Avoid for checkout, pricing or a product tour. Manifesto sells agreement; a call```**Sample opening lines** (manifestos commit; they do not hedge):-> *"We are a studio. We are not a platform."* Defines by refusal, one colour (Meridian, test 04).+> *"We are a studio. We are not a platform."* Defines by refusal, one colour (Meridian).> *"We design products that last twelve years. We do not design products that need replacing every two."* A concrete number, a paired declaration.> *"Lightness above weight."* A one-line principle, no explanation.diff --git a/skills/hallmark/references/macrostructures/08-photographic.md b/skills/hallmark/references/macrostructures/08-photographic.mdindex 7c691d8..6030750 100644--- a/skills/hallmark/references/macrostructures/08-photographic.md+++ b/skills/hallmark/references/macrostructures/08-photographic.md@@ -2,10 +2,10 @@A single huge image dominates each fold. Text is small annotation, not headline. The design says look before it says read.-- **Heading:** a small caption near a corner of the image, in the body face; never a centred display.+- **Heading:** small: the headline and its one sentence sit on a paper plate at the image's base, and a caption near a corner carries a fact in the body face; never a centred display.- **Body:** full-bleed image bands alternating with narrow text bands.- **Divider:** the image edge is the divider; no rules.-- **Button:** a typographic link tucked under the caption, carrying a verb; it is the fold's one visible action (44b).+- **Button:** a typographic link on the plate, under the sentence, carrying a verb; it is the fold's one visible action (44b).- **Image:** the whole point: full-bleed, edge to edge, one photograph per fold, from the user; a `photo-1` slot when it has not arrived (`craft.md` § 8).- **Reveal:** no spatial motion; the photographs do the work.@@ -16,6 +16,6 @@ Avoid without real photography. Generated stock undoes the shape.Code: [`../components/h6-photographic-fold.md`](../components/h6-photographic-fold.md).**Sample opening lines** (captions are dates, places and plate numbers, not marketing):-> *"Plate 47, scored before the proof."* A number and a moment in the process (Maple Street Bread, test 03).+> *"Plate 47, scored before the proof."* A number and a moment in the process (Maple Street Bread).> *"Spring, 2026."* Two words, full stop.> *"From the working archive."* Gives the photograph provenance without explaining it.diff --git a/skills/hallmark/references/macrostructures/09-quote-led.md b/skills/hallmark/references/macrostructures/09-quote-led.mdindex 7340889..0c71836 100644--- a/skills/hallmark/references/macrostructures/09-quote-led.md+++ b/skills/hallmark/references/macrostructures/09-quote-led.md@@ -2,7 +2,7 @@The hero is a quote the user supplied, with its attribution. The headline is someone else's voice.-- **Heading:** italic display setting the quote (36 to 60px), attribution below in the body face, one quiet line. The italic is the whole head, declared on the display (38ii guard), never one word.+- **Heading:** italic display setting the quote at `--text-display-s`, attribution below in the body face, one quiet line. The italic is the whole head, declared on the display (38ii guard), never one word.- **Body:** more supplied quotes, case studies or a quiet feature list.- **Divider:** a centred quote-mark glyph or a short rule between quotes.- **Button:** a typographic link beneath the attribution, carrying a verb ("Read the case study").@@ -16,6 +16,6 @@ Avoid when the user has not supplied the quote. The quote is the user's, verbatiCode: [`../components/h3-quote-led.md`](../components/h3-quote-led.md) for the hero; [`../components/t1-pull-quote-with-marginalia.md`](../components/t1-pull-quote-with-marginalia.md) and [`../components/t3-single-huge-quote.md`](../components/t3-single-huge-quote.md) below the fold.**Sample opening lines** (fixture quotes; on a build only the user's words go here):-> *"I started listening on a long bus ride. By the third episode I had missed my stop, and I did not mind."* Story-shaped, attributed to a listener (Tide, test 01).+> *"I started listening on a long bus ride. By the third episode I had missed my stop, and I did not mind."* Story-shaped, attributed to a listener (Tide).> *"Restraint, repeated, becomes a signature."* Short and philosophical, signed by the studio.> A supplied outcome quote works the same way: the customer's own sentence, the number theirs, the attribution as given.diff --git a/skills/hallmark/references/macrostructures/10-specimen.md b/skills/hallmark/references/macrostructures/10-specimen.mdindex 34a7298..a1961d7 100644--- a/skills/hallmark/references/macrostructures/10-specimen.md+++ b/skills/hallmark/references/macrostructures/10-specimen.md@@ -1,6 +1,6 @@## 10 · Specimen-Large serif display, asymmetric column spans, hairline rules, a typographic CTA, generous whitespace. The voice of an editorial page or a foundry.+Large serif display, asymmetric column spans, hairline rules, a typographic CTA, generous whitespace. The voice of a foundry, a journal or a press.- **Heading:** a large serif phrase, standing alone. When the run is genuinely ordinal the figure is generated on the heading itself (`<ol>` with `counter()`, S1); a number typed beside or above it is an eyebrow (54).- **Body:** asymmetric spans: a narrow marginalia column (captions, dates, sidenotes) beside a wide content column.@@ -9,7 +9,7 @@ Large serif display, asymmetric column spans, hairline rules, a typographic CTA,- **Image:** none, or one hand-built SVG accent in the wide margin.- **Reveal:** fade-up stagger on first load.-Reach for it when the brief is explicitly editorial, a foundry, a journal or a specimen sheet, or the user names it. On any other brief pick another shape: this is the field's most-copied look, and a vague brief that lands here has not been read.+Reach for it when the brief is about type, publishing or writing (a foundry, a journal, a press, a specimen sheet), or the user names it; the editorial genre alone does not qualify. On any other brief pick another shape: this is the field's most-copied look, and a vague brief that lands here has not been read.Avoid for product pages that need a demo; Specimen has nowhere to put one.diff --git a/skills/hallmark/references/macrostructures/11-catalogue.md b/skills/hallmark/references/macrostructures/11-catalogue.mdindex 08b5790..fc4aee7 100644--- a/skills/hallmark/references/macrostructures/11-catalogue.md+++ b/skills/hallmark/references/macrostructures/11-catalogue.md@@ -16,6 +16,6 @@ Avoid for narrative brands. Catalogue treats every item as equal, wrong for a prCode: [`../components/f6-product-card-grid.md`](../components/f6-product-card-grid.md).**Sample opening lines** (inventory headers: dated, with a count):-> *"Today's loaves."* Two words, ownership of the day (Maple Street Bread, test 03).+> *"Today's loaves."* Two words, ownership of the day (Maple Street Bread).> *"Five collections, in store now."* The count and the where.> *"Thirty-eight pieces this spring, every one hand-stitched."* Count, season, qualifier; no adjectives.diff --git a/skills/hallmark/references/macrostructures/12-letter.md b/skills/hallmark/references/macrostructures/12-letter.mdindex 36221d6..375916b 100644--- a/skills/hallmark/references/macrostructures/12-letter.md+++ b/skills/hallmark/references/macrostructures/12-letter.md@@ -5,7 +5,7 @@ First-person, written, intimate. Opens with a greeting. Reads as a personal note- **Heading:** the salutation in the display italic ("Dear reader,"), 1.5 to 2 times body size; the whole line one style.- **Body:** prose, single column, narrow measure (50ch), as if typed.- **Divider:** paragraph spacing only; an occasional `* * *` separator.-- **Button:** no button. The sign-off link at the foot carries a verb ("Join the list"). In the fold the one visible action is the link in the first paragraph, and the stamp says so (44b).+- **Button:** no button. The sign-off link at the foot carries a verb ("Join the list"). In the fold the one visible action is the link in the first paragraph (44b).- **Image:** one signature scan, or a quiet inline photograph, or nothing.- **Reveal:** none.@@ -16,6 +16,6 @@ Avoid for transactional commerce. Letter is intimate; commerce is functional.Code: [`../components/h5-letter-hero.md`](../components/h5-letter-hero.md) and [`../components/ft6-letter-close.md`](../components/ft6-letter-close.md).**Sample opening lines** (first-person greetings, dated, with a place if it matters):-> *"Hello, I'm Anya."* One line: a name, a full stop (Anya, test 06).-> *"Saturday, 6:14 a.m. The dough went in at midnight."* Opens on a moment, then explains it (Maple Street Bread, test 03).+> *"Hello, I'm Anya."* One line: a name, a full stop.+> *"Saturday, 6:14 a.m. The dough went in at midnight."* Opens on a moment, then explains it (Maple Street Bread).> *"Hey there. This page is soft because the surface should be soft."* A colloquial open and a principle.diff --git a/skills/hallmark/references/macrostructures/14-narrative-workflow.md b/skills/hallmark/references/macrostructures/14-narrative-workflow.mdindex df60f2b..d92648e 100644--- a/skills/hallmark/references/macrostructures/14-narrative-workflow.md+++ b/skills/hallmark/references/macrostructures/14-narrative-workflow.md@@ -4,10 +4,10 @@ Numbered stages tell the story of how the user uses the product over time. Each- **Heading:** the stage number rides inside the heading (`<h2>1.0 Intake</h2>`) or is generated by `<ol>` with `counter()`. Never a separate label beside the heading: that is an eyebrow at stage scale (54).- **Body:** each stage has a short explanation and one object: a small product capture when the user gave screens, otherwise a drawn object or a figure from the brief (a timer, a count, the thing the stage makes).-- **Divider:** a numbered rule between stages, in the theme's rule weight.-- **Button:** links inside stages; one global button at the foot ("Start at stage one").+- **Divider:** a rule between stages, in the theme's rule weight; the number stays in the heading, never on the rule.+- **Button:** the hero's one action (44b), returning once at the foot ("Start at stage one"); links inside stages.- **Image:** a small real capture per stage, often annotated, in a `<figure>` or a slot; with one screen or none, never a slot per stage (68).-- **Reveal:** horizontal sweep as stages enter the viewport, when the theme allows a reveal. A scrub-linked stage sequence may use [`../scroll-choreography.md`](../scroll-choreography.md) § 1 Pinned chapter instead: one pattern per page.+- **Reveal:** one horizontal sweep, on the first stage, when the theme allows a reveal; the later stages are simply there. A scrub-linked stage sequence may use [`../scroll-choreography.md`](../scroll-choreography.md) § 1 Pinned chapter instead: one pattern per page.Reach for it for products with explicit workflows: project management, design-to-dev pipelines, writing tools.@@ -16,6 +16,6 @@ Avoid for tools that work in one moment. Narrative Workflow needs a real sequencCode: [`../components/f4-step-sequence.md`](../components/f4-step-sequence.md).**Sample opening lines** (stage headings: numbered, declarative, in process language, one stage per line):-> *"1. Sourdough overnight. 2. Score at dawn. 3. Pull at seven."* Three numbered stages, no marketing (Maple Street Bread, test 03).-> *"1.0 Parse. 2.0 Filter. 3.0 Route."* Versioned numbers, three concrete verbs (Streampipe, test 02).-> *"I. We design products that last twelve years. II. A material is sustainable when someone can repair it."* Roman numerals and declaratives (Meridian, test 04).+> *"1. Sourdough overnight. 2. Score at dawn. 3. Pull at seven."* Three numbered stages, no marketing (Maple Street Bread).+> *"1.0 Parse. 2.0 Filter. 3.0 Route."* Versioned numbers, three concrete verbs (Streampipe).+> *"I. We design products that last twelve years. II. A material is sustainable when someone can repair it."* Roman numerals and declaratives (Meridian).diff --git a/skills/hallmark/references/macrostructures/15-split-studio.md b/skills/hallmark/references/macrostructures/15-split-studio.mdindex b4ff1d5..049d18d 100644--- a/skills/hallmark/references/macrostructures/15-split-studio.md+++ b/skills/hallmark/references/macrostructures/15-split-studio.md@@ -1,13 +1,13 @@## 15 · Split Studio-Diptych. Every major block divides the screen, text on one side, proof on the other, alternating direction down the page.+Diptych. Every major block divides the screen, text on one side, proof on the other, and the proof keeps its side down the page (one mirror at most, never a zigzag, `craft.md` § 3).- **Heading:** half the screen wide; the other half holds a capture or a supplied quote.-- **Body:** alternating left-text/right-image and right-text/left-image modules; one column gap for all of them (F15).+- **Body:** text-and-proof rows that vary by weight, not by side: one lead row gives the proof the larger share, the rest split evenly; one column gap for all of them (F15).- **Divider:** a clear gutter between halves; no rules.- **Button:** an outlined chip below the text half.-- **Image:** anchored to the half opposite the text in each row; a real capture or a labelled slot.-- **Reveal:** the two halves cross-fade in, slightly staggered.+- **Image:** on the proof side in every row; a real capture or a labelled slot.+- **Reveal:** the hero's two halves fade in once, 60 to 100ms apart; the rows below are simply there.Reach for it for SaaS feature pages, developer tools that pair explanation with code, anything where every claim wants a visual proof.diff --git a/skills/hallmark/references/macrostructures/16-feature-stack.md b/skills/hallmark/references/macrostructures/16-feature-stack.mdindex 9d96ae3..ddc40b5 100644--- a/skills/hallmark/references/macrostructures/16-feature-stack.md+++ b/skills/hallmark/references/macrostructures/16-feature-stack.md@@ -5,9 +5,9 @@ Sticky left pane holding the heading, scroll-synced right pane cycling through r- **Heading:** held inside the sticky pane; persists while content cycles beside it.- **Body:** two columns, left sticky, right scrolling; the right pane plays through 3 to 6 detail captures per section.- **Divider:** section bands; the sticky pane re-anchors per section, at `top: var(--banner-height)` under a sticky nav (56).-- **Button:** in the sticky pane, shown once the section's last capture is reached.-- **Image:** the scrolling column is mostly real captures or labelled slots.-- **Reveal:** none of the fade kind; the sticky scroll is the motion. Choreograph it with [`../scroll-choreography.md`](../scroll-choreography.md) § 4 Sticky diptych or § 1 Pinned chapter: one pattern per page.+- **Button:** in the sticky pane, shown once the section's last capture is reached; with scripting off it is simply there (62).+- **Image:** the scrolling column is mostly real captures, or labelled slots, five empty ones at most on the page (68).+- **Reveal:** none of the fade kind; the sticky scroll is the motion. Choreograph it with [`../scroll-choreography.md`](../scroll-choreography.md) § 4 Sticky diptych with the pane kept on the left (`craft.md` § 3), or § 1 Pinned chapter: one pattern per page.Reach for it for premium products, complex feature stories, anywhere the pacing should be controlled as the visitor scrolls.@@ -19,5 +19,5 @@ Mobile: under 60rem the sticky pane becomes a heading above its captures, stacke**Sample opening lines** (pin one statement, then walk the visitor through):> *"Plan, build, ship."* Three verbs, three sticky panes.-> *"Read anything that emits lines."* Names what is possible, then walks through it (Streampipe, test 02).+> *"Read anything that emits lines."* Names what is possible, then walks through it (Streampipe).> *"From stdin, through the pipe, into your dashboard."* Names the data path, then explains each step.diff --git a/skills/hallmark/references/macrostructures/17-type-specimen.md b/skills/hallmark/references/macrostructures/17-type-specimen.mdindex 7f0393a..fe3298a 100644--- a/skills/hallmark/references/macrostructures/17-type-specimen.md+++ b/skills/hallmark/references/macrostructures/17-type-specimen.md@@ -5,9 +5,9 @@ The typeface is the design. Foundry pages and design systems where a custom face- **Heading:** the typeface set at several sizes, demonstrating what it does.- **Body:** a progressive demonstration: display size, body size, italic, language coverage, OpenType features.- **Divider:** a `<figcaption>` under each specimen; a caption below is legal, a label above is an eyebrow (54).-- **Button:** an outlined "Buy the family" or "Use it" at the foot.+- **Button:** one outlined action ("Buy the family") in the fold (44b), returning at the foot.- **Image:** none; the typography is the imagery.-- **Reveal:** type-unmask on the first paint of each specimen block.+- **Reveal:** one type-unmask, on the first specimen as it paints; the rest is simply there.Reach for it for type foundries, design systems where a custom face is the differentiator, font product pages.diff --git a/skills/hallmark/references/macrostructures/18-portfolio-grid.md b/skills/hallmark/references/macrostructures/18-portfolio-grid.mdindex 9c4808a..478a992 100644--- a/skills/hallmark/references/macrostructures/18-portfolio-grid.md+++ b/skills/hallmark/references/macrostructures/18-portfolio-grid.md@@ -6,7 +6,7 @@ Filterable cards of projects. Studio and designer homepages where the work is th- **Body:** a responsive grid of project cards, same size or with slight size variation; image tracks `minmax(0, 1fr)` (50).- **Divider:** the filter row above the grid; no internal rules.- **Button:** a link inside each card ("View the case study"); no global CTA. The fold's one visible action is the first card's link (44b).-- **Image:** a thumbnail per card, from the user's work.+- **Image:** a thumbnail per card, from the user's work; until it arrives, the projects are set in type with one slot at most (68).- **Reveal:** card fade on filter change.Reach for it for design studios, agencies, photographer portfolios, any creative business where the work is the pitch.diff --git a/skills/hallmark/references/macrostructures/19-map-diagram.md b/skills/hallmark/references/macrostructures/19-map-diagram.mdindex 75b1729..345be0e 100644--- a/skills/hallmark/references/macrostructures/19-map-diagram.md+++ b/skills/hallmark/references/macrostructures/19-map-diagram.md@@ -5,7 +5,7 @@ A single large spatial diagram organises the page: flowchart, floor plan, networ- **Heading:** a small orientation phrase above or beside the map.- **Body:** the map itself, nodes and edges, with a legend.- **Divider:** none inside; the diagram is one composition.-- **Button:** links inside nodes; one CTA below the map, in the theme's control pair.+- **Button:** links inside nodes; the page's one action sits with the orientation phrase, inside the fold (44b), never under the map.- **Image:** the map is the image: hand-built SVG with hover states, labelled or `aria-hidden` with a text legend carrying every fact (33). Geometry that is geometry is a first-class medium (47c).- **Reveal:** node-by-node ink-on as the map enters the viewport, capped at five nodes, once.@@ -16,6 +16,6 @@ Avoid as a substitute for narrative. Some stories should not be read spatially.Mobile: under 60rem the map scrolls sideways inside a wrapper, or collapses to an ordered list of its nodes.**Sample opening lines** (name the path or the territory):-> *"Browser, then API, then database. Tracejam sits between the last two."* Names the layers and the position (Tracejam, test 05).+> *"Browser, then API, then database. Tracejam sits between the last two."* Names the layers and the position.> *"From stdin, through the pipe, into your dashboard."* Labels the flow drawn below.> *"Three tiers across two regions, one ledger."* Counts the system, geographic and structural.diff --git a/skills/hallmark/references/macrostructures/20-ecosystem-index.md b/skills/hallmark/references/macrostructures/20-ecosystem-index.mdindex 6f6f8bc..a705b26 100644--- a/skills/hallmark/references/macrostructures/20-ecosystem-index.md+++ b/skills/hallmark/references/macrostructures/20-ecosystem-index.md@@ -5,7 +5,7 @@ Multiple discovery surfaces: featured, latest, by category, by people. The platf- **Heading:** a brief positioning line; no display.- **Body:** several horizontal rails or grids, each surfacing a different cut of the platform's content.- **Divider:** each rail opens with its own `<h2>`, never a label band; a hairline or a change of paper between rails.-- **Button:** a link at each rail's edge carrying a verb ("See all templates"); rarely a global CTA.+- **Button:** a link at each rail's edge carrying a verb ("See all templates"); rarely a global CTA, so the fold's one visible action is the first rail's link (44b).- **Image:** thumbnails throughout; the page is dense imagery, all of it the platform's real content.- **Reveal:** none.diff --git a/skills/hallmark/references/macrostructures/21-component-playground.md b/skills/hallmark/references/macrostructures/21-component-playground.mdindex c46f3d0..f90a26d 100644--- a/skills/hallmark/references/macrostructures/21-component-playground.md+++ b/skills/hallmark/references/macrostructures/21-component-playground.md@@ -3,9 +3,9 @@Interactive code-and-preview blocks are the page's primary content. Each block previews a thing and shows how to copy it.- **Heading:** each category is a real `<h2>` ("Buttons", "Forms", "Cards") in the display face, sentence case; never a label band.-- **Body:** alternating preview-and-code blocks, often with a tab row to switch frameworks; the row scrolls sideways under 60rem.+- **Body:** a preview, then its code, block after block, often with a tab row to switch frameworks; the row scrolls sideways under 60rem.- **Divider:** a change of paper per category; hairlines between examples.-- **Button:** a "Copy" button on every code block, silent on success (16).+- **Button:** a "Copy" button on every code block; its label swaps to "Copied", never a toast (16).- **Image:** none; the previews are the imagery.- **Reveal:** none.diff --git a/skills/hallmark/references/microinteractions.md b/skills/hallmark/references/microinteractions.mdindex 2d877a7..5ee75c8 100644--- a/skills/hallmark/references/microinteractions.md+++ b/skills/hallmark/references/microinteractions.md@@ -1,110 +1,45 @@# Microinteractions-Loaded when the page has stateful UI. `craft.md` § 5 owns the durations, the three easings and the bans; `gates.md` owns the tells (10, 11, 12, 15, 16, 17, 18, 26, 27, 62). This file owns the recipes and the motion character, and repeats neither.--A microinteraction is one event with four parts: trigger, rules, feedback, loops and modes. Each recipe below names the trigger, what changes, the duration, the easing and the accessibility note.+Loaded when the page has stateful UI. `craft.md` § 5 owns the durations, the three easings and the bans; `gates.md` owns the tells (10, 11, 12, 15, 16, 17, 18, 26, 27, 62); the theme's Motion section decides how much moves. This file owns the recipes, and repeats none of them.## Principles-- **Motion has intent or motion is cut.** Every animation must clarify, guide, or confirm. If you cannot name what a transition communicates, it is decoration. Decoration is slop.-- **Silent success.** A successful action does *not* deserve a "Done!" toast. If the user sees the result, they don't need a confirmation. Reserve toasts for failures and for actions that hide their own effect.-- **Optimism with rollback.** Update the UI immediately on user action. Send the request in the background. If it fails, animate the rollback and offer Undo. Round-trip latency is a perception killer.-- **Restraint, not restraint-as-personality.** Hallmark is not "no motion." Hallmark is *the right motion in the right place.* A drag handle that springs into focus on grab is good. A page where every card pulses on hover is slop.-- **Reduced motion is a first-class state, not an afterthought.** Every interaction defines its reduced-motion behaviour explicitly. Default is: collapse spatial motion to opacity crossfade, keep duration ≤ 150ms, preserve functional state changes.-- **Keyboard first, hover second.** Every hover affordance has a focus equivalent. No interaction is hover-only.--## When to ship motion by default--The skill biases toward motion-cut. But certain archetypes feel **broken without** motion, they're so visually busy (or so number-led) that complete stillness reads as a screenshot rather than an interface. For these archetypes, ship 2 to 3 small purposeful microinteractions automatically, without waiting for the user to ask.--**Default-on archetypes:** Bento Grid · Stat-Led · Workbench · Marquee Hero · Conversational FAQ--**Default-off archetypes:** Manifesto · Letter · Quote-Led · Type Specimen · Long Document · Index-First · Photographic--For default-on, pick **two or three** from this menu (never more than three primitives per page):--| Microinteraction | When to ship | Recipe |-| --- | --- | --- |-| **Number reveal** | Stat-Led hero, headline numbers anywhere | IntersectionObserver fires on viewport entry; `requestAnimationFrame` counts from 0 to target over 1.2 to 1.6 s with `--ease-out`. Reduced-motion: skip animation, render final value. |-| **Pricing card lift** | Pricing tier cards | `translateY(-3px)` + shadow upgrade on `:hover`, 180 ms `--ease-out`. Active state: drop back to `translateY(0)` over 60 ms (the press). |-| **CTA hover lift** | Primary CTA buttons | `translateY(-1.5px)` + background-fade. 200 ms `--ease-out`. Active state at 60 ms. |-| **Marquee scroll** | Marquee Hero, customer-logo strip | `@keyframes marquee` `translateX(-100%)` over 40 to 60 s, infinite. Pauses on hover. Reduced-motion: stops the scroll, shows the first three items. |-| **Stagger reveal** | Testimonials, feature cards, gallery | IntersectionObserver fires on each card; 100 ms stagger; opacity 0 → 1 + `translateY(8px → 0)`; `--ease-out` 400 ms. **One-shot only, never re-fires on scroll.** |-| **Recommended-tier pulse** | The middle pricing tier | One-shot `@keyframes pulse-border` 2 s, runs once on viewport entry. Subtle: opacity 0.4 → 1 → 0.4 on the border. Don't loop. |-| **Caret blink** | *Inside* a typed command (install code, terminal nav, code mockup), never as standalone decoration | `@keyframes blink` 1 s steps(2) infinite on a 1ch-wide block, placed at the end of a typed command line so it reads as a "you'd type next" affordance. Reduced-motion: solid block, no blink. **Hard rule:** the caret must sit inside `<pre class="code">…▮</pre>` or an N8 Terminal nav line, never as a standalone `<span>` floating in a hero. |-| **Number tick on data update** | Dashboard live values | See *Number tick* recipe below. |--### Hard rules for default-on motion--1. Every animation respects `prefers-reduced-motion: reduce`, either skip entirely or run at 0.01 s.-2. **No more than three distinct animation primitives per page.** A counter + a hover-lift + a marquee = three. Don't add a fourth. The temptation to layer "just one more" is the slop pull.-3. No scroll-linked animations on viewports below 40 rem (existing mobile rule, [`component-cookbook.md` § Mobile collapse](component-cookbook.md)).-4. No animation longer than 2 s except continuous loops (marquee, ambient breathing, caret blink).-5. The removal test still applies: if nobody would notice the animation gone, cut it.--### What never gets default motion--- Body text reveals on scroll. Reading is not a cinematic experience.-- Background gradient shifts. Distracting.-- Cursor followers. Always slop.-- Section-by-section fade-up-stagger. Pick one orchestrated entrance, not twelve.-- Tab content sliding sideways. Crossfade only (see Tab change recipe below).--When the page is default-off (Editorial, Manifesto, etc.), motion is *opt-in*, the user must ask. Stillness is the brand on those pages.+- **Motion has a job or it is cut.** Every animation clarifies, guides or confirms. Ask what would be lost if it were instant; if nothing, remove it.+- **Silent success.** When the user can see the result, no toast. Toasts are for failures and for effects the page cannot show.+- **Optimism with rollback.** Update the interface at once, send the request behind it, and roll back with a way to retry when it fails.+- **Reduced motion is a state, not an afterthought.** Every recipe below names it: spatial motion collapses to a 150ms opacity crossfade, functional state still changes.+- **Keyboard first.** Every hover affordance has a focus equivalent; nothing is hover-only.+- **Three primitives at most per page** (a reveal, a hover signal, one functional loop such as a marquee or a counter count as three). A theme whose character is still runs none beyond functional state changes.## Recipes-Durations are `--dur-micro` 120ms, `--dur-short` 220ms and `--dur-long` 420ms; enters `--ease-out`, exits `--ease-in`, toggles `--ease-in-out` (`craft.md` § 5). A spring appears only under a declared spring posture on a playful theme, on the primary control and one character moment (gate 12); nothing else overshoots.--### Button press+Durations are `--dur-micro` 120ms, `--dur-short` 220ms and `--dur-long` 420ms; enters `--ease-out`, exits `--ease-in` at 60 to 75% of the enter, toggles `--ease-in-out`. A spring appears only under a declared spring posture on a playful theme, on the primary control and one character moment (12).-Trigger: pointer down. Changes: `transform: scale(0.98)` on press, base styling on release. Duration: 100ms in, 150ms out. Easing: in `--ease-in`, out `--ease-out`. A11y: focus ring stays visible; never animate the focus ring's existence.+**Button press.** Hover is one signal, a colour change; press is a 1px drop, released on pointer up. The focus ring never animates.```css-.btn {- transition: background-color var(--dur-short) var(--ease-out),- transform 100ms var(--ease-out);-}-.btn:hover { background: var(--color-ink); color: var(--color-paper); }+.btn { transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }+.btn:hover { background: var(--color-paper-3); }.btn:active { transform: translateY(1px); }-.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }```-### Input focus--Trigger: focus. Changes: the outline appears instantly, the border may deepen one step, an optional tint on the field. Duration: colour at `--dur-short`, the ring at 0. Easing: `--ease-out`. The label sits above the field at rest and never moves (a floating label starts as a placeholder, which is the tell). A11y: `:focus-visible` only; reduced motion keeps the colour change.--### Form validation--Trigger: blur after the field has been touched once (the "touched" pattern), then re-validate on every input. Never validate on every keystroke from the start, it's hostile. Changes: icon scales in (200ms `--ease-out`), border tints, helper text replaces. Three-part error message: what broke, why, how to fix.--### Toast notification+**Input focus.** The outline appears at once, inset on inputs; the border may deepen one step but its width never changes (39a). The label sits above the field at rest and never moves: a floating label starts life as a placeholder, which is the tell.-Trigger: action completes (or fails). Stack at one viewport corner; new toasts push existing ones in one direction; existing toasts do **not** reposition when a new one arrives. Duration: 400ms slide-in `--ease-out`, 4 to 6s dwell, 300ms slide-out `--ease-in`. Pause auto-dismiss on hover/focus. **Use sparingly:** if the action's effect is visible (a row was deleted; you can see the row is gone), no toast. Errors *always* get a toast with retry/undo.+**Validation.** First on blur once the field has been touched, then on every input; never on the first keystroke. The helper line swaps for the error in the same reserved line (F14): what broke, why, what to do. `aria-invalid` and `aria-describedby` on the field.-### Modal open / close+**Toast.** Failures and invisible effects only (16). One corner, newest pushes the stack one way, nothing else repositions. In over `--dur-long`, 4 to 6s dwell, out at 65%; auto-dismiss pauses on hover and focus; an error toast carries one retry action and does not leave on its own.-Trigger: explicit user action (click, key shortcut). Backdrop fades 300ms `--ease-out`. Content scales 0.96 → 1.0 + opacity 0 → 1, 300ms `--ease-out`. Close: 220ms `--ease-in`, scale 1.0 → 0.98, opacity → 0. Use the native `<dialog>` element, it handles focus trap and `::backdrop` for free. `inert` on background. First focus to first interactive element, not the close button. Reduced motion: opacity-only crossfade, 150ms.+**Modal.** A `<dialog>` opened with `showModal()`, `inert` on the page behind it. Backdrop fades and the panel scales 0.96 to 1 over `--dur-long` `--ease-out`; it closes at about 65% with `--ease-in`. First focus goes to the first interactive element, not the close button. Reduced motion: the 150ms crossfade.-### Dropdown / menu+**Menu.** The Popover API (light-dismiss, Escape and stacking for free), CSS anchor positioning that flips within 16px of an edge. Opens over `--dur-short` `--ease-out`, closes at 65% with `--ease-in`; items may stagger 30ms when there are eight or fewer.-Trigger: click or key shortcut. Open: 180ms `--ease-out`, optional 30ms-stagger items if there are ≤ 8 of them. Close: 140ms `--ease-in`. Light-dismiss on outside click and Escape. Use the Popover API where available. Anchor positioning: flip when within 16px of viewport edge.+**Tooltip.** Hover delay 800 to 1000ms, focus delay 0 (17); opacity over `--dur-micro`. It stays while the pointer moves onto it and leaves on Escape (WCAG 1.4.13).-### Tooltip+**Tab change.** The indicator moves by `transform` (translate and scale on the x axis, never `width`) over `--dur-short`; the outgoing panel fades at `--dur-micro`, the incoming one follows. A panel that changes height animates `grid-template-rows: 0fr` to `1fr`, never `height`.-Trigger: mouse hover (with **800 to 1000ms delay** to prevent flash on casual movement) OR keyboard focus (with **0ms delay**, keyboard users reached this deliberately, never delay them). Animation: 150ms `--ease-out` opacity. WCAG 1.4.13: tooltip must be hoverable (you can move pointer onto it without it disappearing), persistent (doesn't disappear on accidental movement), and dismissible (Escape).+**Number tick.** Real figures only (46a). On data load, count from the previous value (zero on first load) over 400 to 800ms with `--ease-out` applied to the value, formatted by `Intl.NumberFormat`. Announce only the final value (`aria-live="polite"`). Reduced motion: the final value at once.-### Tab change--Trigger: click or arrow-key. Underline slides `transform: translateX()` + width transition, 250ms `--ease-out`. Outgoing content fades 100ms `--ease-in`, incoming fades 150ms `--ease-out` with a 50ms delay. **Never animate the tab content's height**, animate `grid-template-rows: 0fr → 1fr` if the tabs change height.--### Number tick--Trigger: data loaded. Counter increments from 0 to value over 400ms with `--ease-out` applied to the *value*, not the element. Use `Intl.NumberFormat` for locale-correct separators. A11y: announce the final value with `aria-live="polite"`, *not* every tick. Reduced motion: skip the tick, show the final value.--### Copy-to-clipboard--Trigger: click. Changes: button label swaps to "Copied" with a check icon; revert after 2.5s. **No toast.** The label change *is* the feedback. Restore on `mouseleave` if user moves away sooner.+**Copy to clipboard.** The label swaps to *Copied* for 2.5s; no toast, the label is the feedback.```jsbtn.addEventListener("click", async () => {@@ -114,57 +49,32 @@ btn.addEventListener("click", async () => {});```-```css-.copy-btn[data-state="copied"] .copy-btn__label::after { content: "Copied"; }-.copy-btn[data-state="copied"] .copy-btn__label > * { opacity: 0; }-```--### Drag handle--Trigger: hover (after **1 to 2s delay**, Notion's pattern). Changes: handle reveals via opacity transition, cursor switches to `grab`. On grab: cursor `grabbing`, ghost element at 50% opacity follows pointer, drop indicator (1px line, accent colour) tracks the nearest valid drop target. Spring stiffness 280 / damping 26 on release-snap. A11y: arrow-key reorder when the row is focused; announce drag state with `aria-live`.+**Drag to reorder.** The handle appears on hover and on focus; the cursor is `grab`, then `grabbing`; a ghost at 50% opacity follows the pointer and a 1px accent line marks the drop target. Release snaps over `--dur-short` `--ease-out`, no spring. Arrow keys reorder a focused row; `aria-live` announces the move.-### Optimistic update with rollback--Trigger: any action with a known-correct local prediction (toggle, like, archive, reorder). Changes: state mutates immediately; the row visibly updates. Async request fires. On success: nothing happens, silent success is the marker of taste. On failure: 200ms colour rollback animation + a toast with one Undo button. The toast does not auto-dismiss while the user might still want it.+**Optimistic update.** The row changes at once and the request runs behind it. Success says nothing. Failure rolls the row back over `--dur-short` and raises a toast with *Try again*, which stays until acted on.```js-const prevState = item.completed;-item.completed = !prevState; render();-try {- await api.update(item);-} catch {- item.completed = prevState; render();- toast({ tone: "error", message: "Couldn't save.", action: { label: "Try again", run: retry } });-}+const prev = item.done;+item.done = !prev; render();+try { await api.update(item); }+catch { item.done = prev; render(); toast({ tone: "error", message: "Could not save.", action: { label: "Try again", run: retry } }); }```-### Search-as-you-type--Trigger: input event. Debounce by 250ms before requesting; while debouncing, show a subtle indicator (border opacity or label colour shift). Highlight matches in results with `<mark>`. A11y: announce result count with `aria-live="polite"` after debounce settles, never per keystroke.--### Command palette navigation--Trigger: ⌘K or `/`. Open: instant, no animation. Arrow-keys move selection, **the indicator transitions** between rows (120ms `--ease-out` on the highlight's `transform: translateY()`), but the items themselves don't move. Enter selects. Escape closes. Items stagger-fade in on first open only, never on filter change. The text input stays focused throughout. This is the Linear / Raycast / Vercel pattern.+**Search as you type.** Debounce 250ms; while waiting, a quiet signal on the field (the border one step deeper). Matches in `<mark>`. Announce the result count once the debounce settles, never per keystroke.-### Page-load reveals+**Command palette.** Opens at once on ⌘K or `/`; the input keeps focus throughout. Arrow keys move a highlight that slides by `transform` over `--dur-micro`; the rows themselves never move. Enter selects, Escape closes. Rows may fade in on first open, never on filtering.-One orchestrated entrance. Stagger by DOM index, capped at ~500ms total. Use `IntersectionObserver`, never scroll listeners. After first reveal, no more on-scroll animations; let the page just *be there*. A system whose motion character is **still** skips reveals entirely; that is correct, not a bug.+**Page-load reveal.** One orchestrated entrance, per `craft.md` § 5: staggered by DOM order, 500ms in total, IntersectionObserver rather than scroll listeners, once. A still theme skips it, and that is correct.## Motion character-Microinteractions adapt to the system's declared **motion character**. Every system declares exactly one: a catalog theme in its file, a derived direction in its contract (the character should be audible in the FORM block). The same button press is louder in a severe system than in a calm one.+Every system declares one: a catalog theme in its Motion section, a derived direction in its contract's FORM block. The same press is louder in a severe system than in a calm one.-| Character | Duration scale | Easing flavour | Feels like |-| --- | --- | --- | --- |-| **still** | 0× | none | Print. The page does not move. Exception: a caret may blink *inside* a typed command where the user would type; never standalone (see the Caret blink row above). |-| **severe** | 0.7-0.75× | `--ease-out` (sharp) | Fast, decisive, snaps into place. No spring anywhere. |-| **brisk** | 0.85-0.9× | `--ease-out` | Snappy, technical, functional; a reference book or an instrument panel. |-| **calm** | 1.0-1.3× | `--ease-out` (gentle at the high end) | Restrained through generous; springs only where the genre allows them. |--If the character is **still**, you do not animate. The page does not move. That is a deliberate design choice; it is not broken.--## When in doubt, cut--Most pages have too much motion, not too little. Before shipping, walk through every animation in your output and ask: *what would happen if this animation were instant?* If the answer is "nothing, the user wouldn't notice", remove the animation. If the answer is "the user would lose information about what changed", keep it.+| Character | Duration scale | Feels like |+| --- | --- | --- |+| **still** | none | Print. Nothing moves; a caret may blink inside a typed command, four or five beats and then solid, never on its own. |+| **severe** | 0.7 to 0.75 times | Fast and decisive; snaps into place; no spring anywhere. |+| **brisk** | 0.85 to 0.9 times | Technical and functional: an instrument panel. |+| **calm** | 1.0 to 1.3 times | Restrained to generous, `--ease-out` at its gentlest. |-The static answer is usually the right one.+Most pages have too much motion, not too little. The static answer is usually the right one.diff --git a/skills/hallmark/references/patterns.md b/skills/hallmark/references/patterns.mdnew file mode 100644index 0000000..6af27da--- /dev/null+++ b/skills/hallmark/references/patterns.md@@ -0,0 +1,162 @@+# Patterns++How the parts every page repeats are written, in the shape that passes the gates. Take the code's shape; the names, the copy, the values and the composition are yours. The scaffold already wrote `tokens.css` and `base.css` and printed the slot script.++## Controls, all eight states++```css+.btn { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: 1px solid var(--color-ink); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-paper); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }+.btn:hover { background: var(--color-ink-2); }+.btn:active { transform: translateY(1px); }+.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }+.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }+.btn[aria-busy="true"] { cursor: progress; }+.btn--quiet { background: transparent; color: var(--color-ink); border-color: var(--color-rule); }+.btn--quiet:hover { background: var(--color-paper-2); }+@media (prefers-reduced-motion: reduce) { .btn { transition: background-color var(--dur-short) linear; } }+```++One filled primary per page; the quiet one goes somewhere else. Error and success belong to the form, below.++## A slot++```html+<figure class="shot" data-slot="hero" data-alt="The invoices screen, three invoices, one overdue">+ <div class="shot__ph" aria-hidden="true">+ <svg viewBox="0 0 320 200" focusable="false"><!-- three to five shapes of this product's own structure --></svg>+ </div>+ <figcaption class="shot__label">your invoices screen</figcaption>+</figure>+```++```css+.shot { aspect-ratio: 16 / 10; border: 1px solid var(--color-rule); border-radius: var(--radius-card); background: linear-gradient(160deg, var(--color-paper-2), var(--color-paper-3)); }+.shot__ph { position: absolute; inset: 0; display: grid; place-items: center; padding: var(--space-xl); }+.shot__label { position: absolute; left: var(--space-md); bottom: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }+```++The slot base rules (`position`, `overflow`, the image's cover and the hide-on-fill) come from the scaffold; a child that must survive the image takes `data-keep`. Placeholder recipes per material are in `craft.md` § 8.++## A fact the brief did not give++```html+<p>Doors at <span class="fill" data-fill="time">time to be announced</span>, at <a href="#venue">the venue</a>.</p>+```++```css+.fill { padding: 0 0.2em; border-radius: 2px; color: var(--color-muted); background: color-mix(in oklch, var(--color-muted) 14%, transparent); }+```++At most three on a page, each named in the handoff. A link whose URL the brief did not give points at the section of this page that does the most of it.++## A form that posts nowhere yet++```html+<form class="signup" data-endpoint="" novalidate>+ <label for="email">Email address</label>+ <div class="signup__row">+ <input id="email" name="email" type="email" autocomplete="email" required>+ <button class="btn" type="submit">Send me the date</button>+ </div>+ <p class="signup__help" id="email-help" aria-live="polite"></p>+</form>+```++```js+document.querySelectorAll('form[data-endpoint]').forEach((form) => {+ const input = form.querySelector('input'), help = form.querySelector('[aria-live]');+ form.addEventListener('submit', (e) => {+ e.preventDefault();+ const ok = input.checkValidity();+ input.toggleAttribute('aria-invalid', !ok);+ if (!ok) { input.setAttribute('aria-describedby', help.id); help.textContent = 'That address looks incomplete. Write it as [email protected].'; input.focus(); return; }+ if (!form.dataset.endpoint) { help.textContent = 'Nothing was sent: this form is not connected yet.'; return; }+ fetch(form.dataset.endpoint, { method: 'POST', body: new FormData(form) })+ .then((r) => { help.textContent = r.ok ? 'Thanks. The date goes to ' + input.value.trim() + '.' : 'That did not go through. Try again in a minute.'; })+ .catch(() => { help.textContent = 'That did not go through. Try again in a minute.'; });+ });+});+```++```css+.signup__row { display: flex; gap: var(--space-xs); }+.signup input { flex: 1; min-width: 0; min-height: 48px; padding: 0 var(--space-md); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); outline: 2px solid transparent; outline-offset: -3px; }+.signup input:focus-visible { outline-color: var(--color-focus); }+.signup input[aria-invalid] { border-color: var(--color-error); }+.signup__help { min-height: 1lh; margin-top: var(--space-2xs); font-size: var(--text-sm); color: var(--color-muted); }+```++## One reveal that survives no script++```html+<script>document.documentElement.classList.add('js');</script>+```++```css+.js [data-reveal] { opacity: 0; transform: translateY(8px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); transition-delay: calc(var(--i, 0) * 40ms); }+.js [data-reveal].is-in { opacity: 1; transform: none; }+@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } }+```++```js+const io = new IntersectionObserver((es) => es.forEach((e) => { if (e.isIntersecting) { e.target.classList.add('is-in'); io.unobserve(e.target); } }), { rootMargin: '0px 0px -10% 0px' });+document.querySelectorAll('[data-reveal]').forEach((el) => io.observe(el));+```++Visible with scripting off (62), at its end state under reduced motion, once, and only where the theme lets something move.++## Figures that compare++```css+.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }+.stats > * { padding-inline: var(--space-lg); border-left: 1px solid var(--color-rule); }+.stats > :first-child { padding-left: 0; border-left: 0; }+.stats b { display: block; font: 600 var(--text-3xl)/1 var(--font-display); font-variant-numeric: tabular-nums; }+@media (max-width: 60rem) { .stats { grid-template-columns: minmax(0, 1fr); } .stats > * { padding: var(--space-md) 0; border-left: 0; border-top: 1px solid var(--color-rule); } .stats > :first-child { border-top: 0; } }+```++Only figures the user gave (46a), each with its unit and what it counts.++## A loop that can pause++Anything that moves past 5 seconds (a marquee, an ambient loop, a looping video) holds still until the script runs, stops off-screen and under reduced motion, pauses on hover and focus, and carries a visible pause control (18, WCAG 2.2.2). A motion that ends inside 5 seconds needs none of this.++```html+<figure data-loop>+ <!-- the drawing, the loop or the video -->+ <button class="btn btn--quiet" type="button" data-loop-toggle>Pause</button>+</figure>+```++```css+[data-loop]:not(.is-running), [data-loop]:not(.is-running) *, [data-loop]:not(.is-running) *::before, [data-loop]:not(.is-running) *::after { animation-play-state: paused !important; }+html:not(.js) [data-loop-toggle] { display: none; }+@media (prefers-reduced-motion: reduce) { [data-loop-toggle] { display: none; } }+```++```js+document.querySelectorAll('[data-loop]').forEach((el) => {+ const btn = el.querySelector('[data-loop-toggle]');+ const s = { seen: false, hover: false, focus: false, held: matchMedia('(prefers-reduced-motion: reduce)').matches };+ const sync = () => {+ const run = s.seen && !s.hover && !s.focus && !s.held;+ el.classList.toggle('is-running', run);+ el.querySelectorAll('video').forEach((v) => (run ? v.play().catch(() => {}) : v.pause()));+ btn.textContent = s.held ? 'Play' : 'Pause';+ };+ btn.addEventListener('click', () => { s.held = !s.held; sync(); });+ [['pointerenter', 'hover', true], ['pointerleave', 'hover', false], ['focusin', 'focus', true], ['focusout', 'focus', false]].forEach(([t, k, v]) => el.addEventListener(t, () => { s[k] = v; sync(); }));+ new IntersectionObserver(([e]) => { s.seen = e.isIntersecting; sync(); }).observe(el);+});+```++## A way past the nav++```html+<a class="skip" href="#main">Skip to content</a>+```++```css+.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }+.skip:focus-visible { top: var(--space-md); }+```diff --git a/skills/hallmark/references/responsive.md b/skills/hallmark/references/responsive.mdindex af83226..affc6da 100644--- a/skills/hallmark/references/responsive.md+++ b/skills/hallmark/references/responsive.md@@ -1,128 +1,46 @@# Responsive-Mobile-first. Content-driven breakpoints. No desktop-only interactions.+Loaded for an unusual layout. No desktop-only interactions; every page renders without fault from 320 to 1920 CSS pixels.-## Mobile, non-negotiable+## What the script checks and what it cannot-Every page renders without fault at 320, 375, 414 and 768 CSS pixels. sloplint covers the mechanical half (34 horizontal scroll and `overflow-x: clip`, 49 wrapping controls, 50 image tracks and display heads, 53 radio tabs, 56 stacked sticky elements); fix those there. What the script cannot see, check by eye at each width: every desktop sidebar or filter column collapses into a menu or a disclosure, section heads stack to one column, and a per-theme override carries its own mobile rule.--## Principles--- Base styles are for the smallest viewport. `min-width` media queries add as you go up. Never `max-width` as the primary direction.-- Breakpoints are where the *content* breaks, not where a device sits. If the headline reflows awkwardly at 720px, that's a breakpoint, regardless of what the Tailwind defaults say.-- Use `pointer` and `hover` media queries instead of width to detect *interaction capability*.+sloplint covers the mechanical half at 320, 375, 414, 768, 1024, 1280, 1440 and 1920: horizontal scroll and `overflow-x: clip` (34), wrapping controls (49), image tracks and display heads (50), radio tabs (53), stacked sticky elements (56). Check by eye at each width what it cannot see: every desktop sidebar or filter column collapses into a menu or a disclosure, section heads stack to one column, and a per-theme override carries its own mobile rule.## Breakpoints-Three or four, content-driven. As a default:--```css-@media (min-width: 40rem) { /* ~640px, tablet, small laptop */ }-@media (min-width: 60rem) { /* ~960px, desktop baseline */ }-@media (min-width: 90rem) { /* ~1440px, wide */ }-```--Use `rem` so the breakpoints respect the user's font size.--## Fluid scaling--Prefer `clamp()` for sizes that change continuously; use media queries for layouts that change discretely.--```css-h1 { font-size: clamp(2.5rem, 4vw + 1rem, 6rem); }-.container { padding-inline: clamp(1rem, 4vw, 4rem); }-```--## Pointer and hover queries--```css-@media (hover: hover) and (pointer: fine) {- .card:hover { transform: translateY(-2px); }-}-@media (pointer: coarse) {- .btn { min-height: 48px; }-}-```--Never build a mouse-hover interaction that has no touch equivalent. And the sizing direction models never guess: body-adjacent UI runs LARGER on mobile and tightens at 60rem (`craft.md` § 9, Responsive finish).+Two, shared by the whole page, in `rem` so they follow the user's font size. The scaffold steps its tokens down at both: under 60rem (about 960px, the layout breakpoint) gutters drop to 24px and the three section gaps to 80, 96 and 136px; under 40rem (about 640px, the type breakpoint) gutters drop to 16px, the section gaps to 56, 72 and 96px, and column gaps to 16px. Write component rules against the same two widths, in one direction for the whole page. Add a third only where the content itself breaks.-## Clickable text, never wraps+- **Under 60rem:** multi-column grids go to one column, tilts and clip effects drop, sticky panes unstick, every hero posture collapses to content height (Poster may stay full-bleed).+- **Under 40rem:** display sizes step down, margin captions move inline, annotations consolidate.-Buttons, primary nav links, footer links, tab labels, breadcrumbs, and CTAs must read as **single-line affordances at every viewport between 320 px and 1920 px**. A button or nav link wrapping to two lines looks broken, visitors read it as a styling error, not as intentional. The shortest fix is almost always to shorten the label.+## Fluid and discrete-```css-/* Affordances are single-line, let the parent reflow, not the label. */-.btn,-.nav__link,-.foot__link,-.cta {- white-space: nowrap;-}-```+`clamp()` for sizes that change continuously (the scale's display tokens already do); media queries for layouts that change discretely. Detect capability with `@media (hover: hover)` and `(pointer: coarse)`, never with width:```css-/* When the row can't fit, collapse the row, not the labels. */-@media (max-width: 40rem) {- .nav__rail { display: none; } /* desktop nav hides */- .nav__sheet-toggle { display: grid; } /* mobile menu shows */-}+@media (hover: hover) { .link:hover { text-decoration-thickness: 2px; } }+@media (pointer: coarse) { .btn { min-height: 48px; } }```-**Order of fixes**, when something does wrap:--1. **Shorten the label.** *"Get started free"* → *"Start free"*. *"Read the documentation"* → *"Read docs"*. *"Schedule a demo"* → *"Book demo"*. Most CTA labels are 30 to 40 % longer than they need to be.-2. **`white-space: nowrap`** on the affordance, let the parent flex/grid reflow.-3. **`hidden=until-found`** the lowest-priority nav item at narrow widths (it remains in DOM for find-in-page and SEO).-4. **Collapse the nav** into a sheet / off-canvas / disclosure menu below a content-driven breakpoint.--**Never:** let a primary CTA or top-level nav link wrap. Long footer-link labels can wrap *only* in a footer column where wrapping is part of the column's rhythm, not in the inline footer link strip (Ft2).--This is gate **49** in [`gates.md`](gates.md). Audit any output that ships interactive affordances and confirm none wrap at the breakpoints listed above.--## Viewport units--- Use `dvh` / `svh` / `lvh` instead of `vh` for heights that interact with mobile chrome.-- Never `width: 100vw`. Use `width: 100%` with padding; `100vw` includes the scrollbar on desktop and causes overflow.--## Safe areas--For iOS notch / Android navigation bars:--```html-<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">-```--```css-body {- padding-inline: max(1rem, env(safe-area-inset-left));- padding-bottom: max(1rem, env(safe-area-inset-bottom));-}-```+Body-adjacent UI (meta, nav links, controls) runs larger on a phone and tightens at 60rem (`craft.md` § 9).-## Tables on small screens+## Clickable text never wraps-Tables of data that won't fit: collapse to cards. Use `display: block` on `<tr>` and `data-label` attributes keyed from `<th>`, rendered via `::before`. Or, the better option: redesign the data for small screens, tables are rarely the right mobile representation.+Buttons, primary nav links and CTAs are single-line at every width from 320 to 1920 (49a); footer links, tabs and breadcrumbs too unless a real phrase cannot shorten (49b). When one wraps, in this order:-## Images+1. **Shorten the label.** *Get started free* to *Start free*; *Read the documentation* to *Read the docs*.+2. **`white-space: nowrap`** on the control, and let the row around it reflow.+3. **Collapse the row**, not the labels: under 60rem the links that no longer fit go behind a menu, while two or three short ones that fit stay in the bar.-- `srcset` with width descriptors for responsive sizing.-- `<picture>` for art direction (different crop at different widths).-- `loading="lazy"` on anything below the fold.-- `width` and `height` attributes on every image, always, to avoid CLS.+## Units and safe areas-## Internationalisation+- `dvh` or `svh` for heights that meet mobile browser chrome, never `vh` on a hero (6a); `width: 100%`, never `100vw` (34).+- With `viewport-fit=cover`, fold the safe area into the gutter token: `--gutter: max(16px, env(safe-area-inset-left))`.-- Reserve 30 to 40% extra horizontal space for German, Russian, and Finnish translations.-- Use logical properties: `margin-inline-start`, `padding-block`, `border-inline-end`. Not `margin-left` etc. RTL comes for free.-- Don't hard-code language-specific punctuation or date formats.+## Tables, images, languages-## Bans+- **Tables** keep a scrolling wrapper on narrow screens (`craft.md` § 9); a two-column table may stack each row as a `<dt>` over its `<dd>`. Ten columns on a phone is a redesign, not a squeeze.+- **Images:** `srcset` with width descriptors, `<picture>` for a different crop, `width` and `height` attributes on every image, `loading="lazy"` below the fold and never on the LCP element.+- **Languages:** logical properties (`margin-inline-start`, `padding-block`), room for 30 to 40% longer strings, no hard-coded date or number formats.-- Desktop-first media queries (`max-width: 768px` as the primary direction).-- `vh` on full-height layouts (use `dvh`).-- `100vw` widths.-- Device-sniffing UA strings instead of feature queries.-- Hover-only interactions.-- Ignoring `prefers-color-scheme` when the app claims to support dark mode.-- Fixed pixel breakpoints that don't respect `rem`.-- Tables of 10+ columns on mobile without a redesign.+Never: device sniffing instead of feature queries, hover-only interactions, breakpoints in `px`.diff --git a/skills/hallmark/references/review-finish.md b/skills/hallmark/references/review-finish.mdnew file mode 100644index 0000000..d87c39f--- /dev/null+++ b/skills/hallmark/references/review-finish.md@@ -0,0 +1,11 @@+# Finish review++You are reviewing a built page against a fixed list. You did not build it and will not be told why anything is the way it is. Read the page, not the intent. Your inputs, and nothing else: the screenshots the render tier wrote (the folds at 1280 x 800, 1440 x 900 and 1920 x 1080, the full page at 1440 and at 375), the page's HTML, the direction contract or theme line from the stamp, on a theme build the theme's picture, the hero review's findings with how each was settled, and `gates.md` § 4. Look at the screenshots first; open the HTML only to quote copy or to locate a finding; the linter has already read the CSS. Batch your reads; stop reading by the tenth turn and write.++First line: one of `recapture` (a screenshot is missing, blank or shows the wrong thing; list what to recapture and stop), `rebuild` (the first viewport fails the contract or the theme wholesale), `fix` (findings follow), `ship` (nothing owed).++Then the findings, ranked by cost to the page, at most eight, one line each: the gate or the plain defect, where it is, what you would do. Not findings: a direction you would not have chosen; what the theme file prescribes or refuses (its blooms, a glow on a theme with none); an element the hero review settled, unless you name a new reason. The theme's picture is the bar for finish and never a model: is this page as finished as that one, in a composition of its own?++Then one answer to the question no gate can: does the stamp's contract or theme describe the page in front of you? Name the largest gap, or say there is none.++Close with one line naming what must not be diluted while fixing. Do not fix anything.diff --git a/skills/hallmark/references/review-hero.md b/skills/hallmark/references/review-hero.mdnew file mode 100644index 0000000..1219814--- /dev/null+++ b/skills/hallmark/references/review-hero.md@@ -0,0 +1,16 @@+# Hero review++You are reviewing the first screen of a page that is still being built. You did not build it and will not be told why anything is the way it is. Your inputs, and nothing else: the four `hero-*` screenshots, the stamp's first two lines, the Picks block's Material and Signature rows, and on a theme build the theme's picture. Batch your reads; stop reading by the tenth turn and write.++First line: `ship` or `fix`.++Then at most five findings, one line each, worst first. Ask:++- 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? Where the shape puts no image in the fold (a Marquee, a Poster or a Banner hero), the type is the visual: does it fill the screen? At 1920 the container and the type hold their 1440 size by rule, so extra air there is not a finding.+- Does anything read as a template: a centred stack, a pill or a label above the headline, a gradient blob, a drawn dashboard standing in for a product, two filled buttons side by side? A filled primary beside an outlined or text action that goes somewhere else is the control pair, and a slot's sketch of the product's own structure is its placeholder; neither is a finding.+- Is the signature move on this screen?+- Does the type carry the theme at this size?+- With the theme's picture: is this first screen as finished as its first screen, in a composition of its own?++What the theme file prescribes (its blooms, its control pair) or refuses is not a finding. Do not fix anything.diff --git a/skills/hallmark/references/scroll-choreography.md b/skills/hallmark/references/scroll-choreography.mdindex 74c2cf2..51df539 100644--- a/skills/hallmark/references/scroll-choreography.md+++ b/skills/hallmark/references/scroll-choreography.md@@ -1,20 +1,20 @@-# Scroll choreography - the one earned pattern+# Scroll choreography: the one earned pattern-The default is still none: the reveal-once in `craft.md` § 5 is the page norm. This file is the exception path - a scroll-linked pattern used ONCE, on structure, when the content genuinely has a sequence worth pinning or scrubbing. sloplint check F8 counts pattern families and flags a second one.+The default is still none: the reveal-once in `craft.md` § 5 is the page norm. This file is the exception: a scroll-linked pattern used once, on structure, when the content has a sequence worth pinning or scrubbing. sloplint's F8 counts pattern families and flags a second one.-## Budget (non-negotiable)+## Budget- **One pattern per page.** Two scroll behaviours compete for the same attention.-- **Never on body text.** Targets are structural: a pinned section, ONE display element, a 2px spine, figures. Prose never moves under the reader.+- **Never on body text.** Targets are structural: a pinned section, one display element, a 2px spine, figures. Prose never moves under the reader.- **Hero entrance rules unchanged.** The page-load orchestration in `craft.md` § 5 stays as is; scroll choreography never replaces it, and no element carries both.-- **Static end-state mandatory.** Base CSS shows the finished layout. The choreography lives entirely inside `@supports (animation-timeline: view())` + `@media (prefers-reduced-motion: no-preference) and (min-width: 40rem)` - reduced-motion, small screens, and non-supporting browsers get the complete page.-- **Order footgun:** the `animation` shorthand RESETS `animation-timeline` and `animation-range`. Declare them AFTER `animation`, always.-- **`linear` is correct here** - scrubbing maps scroll distance to progress 1:1; an easing curve would make the page feel detached from the thumb.-- A pattern counts as one of the page's three animation primitives (microinteractions.md).+- **Static end-state mandatory.** Base CSS shows the finished layout. The choreography lives entirely inside `@supports (animation-timeline: view())` and `@media (prefers-reduced-motion: no-preference) and (min-width: 40rem)`; reduced motion, small screens and browsers without support get the complete page.+- **Order matters:** the `animation` shorthand resets `animation-timeline` and `animation-range`, so declare them after it.+- **`linear` is correct here:** scrubbing maps scroll distance to progress one to one; an easing curve detaches the page from the thumb.+- A pattern counts as one of the page's three motion primitives (`microinteractions.md`).-## 1 · Pinned chapter - steps reveal while the section is pinned+## 1 · Pinned chapter: steps reveal while the section is pinned-The tall track owns a named view-timeline; the pinned pane's steps consume it in slices. (Elements inside a stuck pane cannot drive their own `view()` - they are not moving.)+The tall track owns a named view-timeline; the pinned pane's steps consume it in slices. (Elements inside a stuck pane cannot drive their own `view()`: they are not moving.)```html<section class="chapter">@@ -39,7 +39,7 @@ The tall track owns a named view-timeline; the pinned pane's steps consume it in}```-## 2 · Scrub-linked headline - ONE display element, clip wipe+## 2 · Scrub-linked headline: one display element, clip wipeFor a mid-page statement head (Ft5 / T3 register), never the hero h1 (that is load-orchestration territory). One element per page, ever.@@ -60,7 +60,7 @@ For a mid-page statement head (Ft5 / T3 register), never the hero h1 (that is lo}```-## 3 · Progress spine - scroll(root) scaling a 2px rule+## 3 · Progress spine: `scroll(root)` scaling a 2px ruleReading progress as a hairline, not a chrome bar. A functional indicator, so `linear` is canon. Hidden below 40rem (it eats the mobile gutter).@@ -77,13 +77,12 @@ Reading progress as a hairline, not a chrome bar. A functional indicator, so `li}```-## 4 · Sticky diptych - alternating two-pane pin+## 4 · Sticky diptych: a two-pane pin-Structure and pin mechanics come from [`components/f2-sticky-scroll-stack.md`](components/f2-sticky-scroll-stack.md) - markup, `--banner-height` offset, and mobile collapse are defined there; do not restate them. This recipe adds only the choreography: the scrolling figures fade in on their own `view()` (they move, so self-timelines work), and consecutive diptychs alternate the pinned side.+Structure and pin mechanics come from [`components/f2-sticky-scroll-stack.md`](components/f2-sticky-scroll-stack.md): markup, the `--banner-height` offset and the mobile collapse are defined there. This recipe adds only the choreography: the scrolling figures fade in on their own `view()` (they move, so self-timelines work); the pinned side holds from one diptych to the next.```css-/* f2 base: .sticky-stack grid + .pane-sticky pin, per the component file */-.sticky-stack:nth-of-type(even) .pane-sticky { order: 2; } /* alternate the pin side */+/* f2 base: .sticky-stack grid + .pane-sticky pin, per the component file; the pinned side holds down the page (craft.md § 3) */@supports (animation-timeline: view()) {@media (prefers-reduced-motion: no-preference) and (min-width: 40rem) {.pane-scroll figure { animation: fig-in linear both; animation-timeline: view();@@ -95,7 +94,7 @@ Structure and pin mechanics come from [`components/f2-sticky-scroll-stack.md`](c## JS fallback (optional, shared)-When JS is present and `animation-timeline` is not, the one sanctioned fallback is the reveal-once in `craft.md` § 5 - never a scroll listener, never a scrub polyfill:+When JS is present and `animation-timeline` is not, the one fallback is the reveal-once in `craft.md` § 5, never a scroll listener or a scrub polyfill:```html<script>@@ -108,4 +107,4 @@ When JS is present and `animation-timeline` is not, the one sanctioned fallback</script>```-Pair with a 420ms `--ease-out` transition to the end state. Without JS and without support, the base static layout is already the finished page - that is the contract.+Pair it with a `--dur-long` `--ease-out` transition to the end state, and hide `[data-reveal]` only under the `.js` class the script adds (62). Without script and without support, the static layout is already the finished page.diff --git a/skills/hallmark/references/texture.md b/skills/hallmark/references/texture.mdindex 2a8c0a9..22ef502 100644--- a/skills/hallmark/references/texture.md+++ b/skills/hallmark/references/texture.md@@ -1,12 +1,12 @@-# Texture and print artifacts - a budgeted vocabulary+# Texture and print artifacts: a budgeted vocabulary-Loaded only when the picked theme earns texture (affinity table below) or a custom draw's lineage is print. Texture is a TREATMENT with a budget, never ambience: one artifact family per page, tokened opacity, never animated, never under body text at more than a whisper. Grain smeared everywhere is the tic `flow.md` § Harnesses refuses; grain from this file, on a theme that earns it, is craft.+Loaded only when the picked theme earns texture (affinity table below) or a custom draw's lineage is print. Texture is a treatment with a budget, never ambience: one artifact family per page, tokened opacity, never animated, never under body text at more than a whisper. Grain smeared everywhere is the tic `flow.md` § Harnesses refuses; grain from this file, on a theme that earns it, is craft.## The budget (binds on every artifact)- **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. A halftone inside a drawn print or a placeholder is the image, not a page texture, and does not count against the page's one family.-- **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.+- **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. A low-frequency wash (a base frequency of 0.02 or lower: a fibre, a paper tone) tints rather than specks and may run to 0.12 page-wide, with contrast measured on the result.+- **Never animated.** No drifting grain, no pulsing dots.- **`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).- **Perf:** pure CSS or a data-URI SVG filter; no image requests for texture (the imagery-kit texture tiles are the only sanctioned files, and they are optional).@@ -28,7 +28,7 @@ The colour matrix turns the noise into discrete specks (alpha is the noise times## 2 · Halftone (dot field)-Carnival's recipe, generalized with a size token:+Carnival's recipe, generalised with a size token:```css:root { --halftone-size: 12px; --halftone-dot: 1.5px; }@@ -49,10 +49,10 @@ Riso's signature, portable to any print-lineage custom:white-space: nowrap; pointer-events: none;}.misreg::before { color: var(--color-accent); transform: translate(-2px, -2px); }-.misreg::after { color: var(--color-accent-2); transform: translate(2px, 2px); }+.misreg::after { color: var(--color-accent-2, var(--color-focus)); transform: translate(2px, 2px); }```-**1-2 focal words per page, never every heading.** The span is an inline block so the copies sit on the glyphs whatever the head's line-height, and they print behind the ink so the word keeps its colour; only the fringes carry the echoes. The echo colours are the theme's declared spot inks (`--color-accent` and `--color-accent-2` here, or the theme's own echo tokens); the offset stays 1-3px (more reads broken, not printed). May settle once on load (<= 400ms, reduced-motion static); never loops.+**One focal word per page, in the hero, under the theme's `waive 38iii`; never every heading.** The span is an inline block so the copies sit on the glyphs whatever the head's line-height, and they print behind the ink so the word keeps its colour; only the fringes carry the echoes. The echo colours are the theme's declared spot inks (`--color-accent` and `--color-accent-2` here, or the theme's own echo tokens); the offset stays 1 to 3px (more reads broken, not printed). It may settle once on load over `--dur-long` at most, static under reduced motion; it never loops.## 4 · Scanline (CRT)@@ -73,13 +73,13 @@ For plates, tickets, and stubs on print-lineage pages:```css.deckled { box-shadow: inset 0 0 0 1px var(--color-rule);- mask-image: radial-gradient(6px at 0 50%, transparent 97%, black) ;+ mask-image: radial-gradient(6px at 0 50%, transparent 97%, black);mask-size: 12px 24px; mask-repeat: repeat-y; mask-position: left; }```One edge, one element class per page (a ticket edge, a stamp perforation). Never on cards generally; it is an artifact, not a border style.-## Affinity - who earns texture+## Affinity: who earns textureA 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.diff --git a/skills/hallmark/references/themes/README.md b/skills/hallmark/references/themes/README.mdindex 1af4d22..ef7bdbc 100644--- a/skills/hallmark/references/themes/README.md+++ b/skills/hallmark/references/themes/README.md@@ -35,7 +35,7 @@ signature: the ink-filled pill beside an outlined one, and nothing else colouredEvery theme ships `<slug>.jpg` beside its file: the first screen and one lower screen of a finished page built in the theme with the skill, each at 1440 x 900, scaled to 960 wide and stacked (`node scripts/picture.mjs <slug> <page.html> <y of the lower screen>`). The page must sweep clean, its lower screen must show the theme's material (the signature object, its rules, its plates), never an empty slot, and the page must be one a designer would sign. A build reads the picture with the file and takes its scale, density, colour balance and objects, never its composition. A theme without a picture validates with a warning.-## The body, in order, 3.5 to 6 KB+## The body, in order, 3.5 to 7 KB1. **One paragraph:** what the theme feels like and what it is not. No brand names, ever: describe the register, never the sites that have it.2. **Tokens:** a `:root` block with the real values in OKLCH: paper, paper-2, paper-3, ink, ink-2, muted, rule, accent, accent-ink, focus; the three font tokens; `--radius-card`, `--radius-pill`, `--rule-hair`, `--shadow-card`; `--tracking-display`. No comments inside the block: `theme.mjs scaffold` copies it verbatim into a page's `tokens.css`. A theme with dials (colourways, cabinets) lists the alternates in a short table under the block and says the page states its choice in the stamp.diff --git a/skills/hallmark/references/themes/almanac.md b/skills/hallmark/references/themes/almanac.mdindex d2d327b..534f726 100644--- a/skills/hallmark/references/themes/almanac.md+++ b/skills/hallmark/references/themes/almanac.md@@ -49,7 +49,7 @@ Cool slate stock ruled in two weights, Hanken Grotesk heads over Newsreader pros## Motion-Nothing moves except state: a row tints on hover, a link underlines. No reveal, no count-up, no marquee.+Nothing moves except state: a row that links tints on hover, a link underlines. No reveal, no count-up, no marquee.## Voice@@ -66,17 +66,17 @@ Declarative, dated, exact: cite the figure, the edition, the source, the unit. N## Build hint```html-<link href="https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">+<link href="https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@600&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">``````cssbody { background: var(--color-paper); color: var(--color-ink-2); font-family: var(--font-body); }h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: var(--tracking-display); color: var(--color-ink); }-thead th { border-bottom: var(--rule-bar) solid var(--color-rule-2); font: 500 0.875rem/1.3 var(--font-body); text-align: left; }+thead th { border-bottom: var(--rule-bar) solid var(--color-rule-2); font: 500 var(--text-sm)/1.3 var(--font-body); text-align: left; }td { border-top: var(--rule-hair) solid var(--color-rule); }td.num { font-family: var(--font-outlier); font-variant-numeric: tabular-nums; text-align: right; }tbody tr:nth-child(even) { background: var(--color-paper-2); }-.label { font: 500 0.8125rem/1.3 var(--font-body); color: var(--color-muted); }+.label { font: 500 var(--text-xs)/1.3 var(--font-body); color: var(--color-muted); }a { color: var(--color-accent); text-underline-offset: 0.15em; }::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); }```diff --git a/skills/hallmark/references/themes/arcade.md b/skills/hallmark/references/themes/arcade.mdindex d59202f..d2e7b62 100644--- a/skills/hallmark/references/themes/arcade.md+++ b/skills/hallmark/references/themes/arcade.md@@ -42,22 +42,22 @@ Two dials, each stated in the stamp (`arcade: ember/grille`).## Faces-- **Marquee:** Bungee 400, uppercase, for strings under 24 characters: the wordmark, the marquee band, a section number, a whole headline line. Never one word inside a head, never a sentence.-- **Headings and body:** Chivo 400, 700, 900. Section heads at 900 with -0.02em; prose at 400, line-height 1.6.-- **HUD:** Silkscreen 400 and 700, untracked, alternating the two inks, for the score strip, the credits line and a rank chip: figures with their units, never a heading, a paragraph or a caption. Labels, captions and status are Chivo 500 one step smaller, sentence case.+- **Marquee:** Bungee 400, uppercase, for strings under 24 characters: the wordmark, the marquee band, a whole headline line. Never one word inside a head, never a sentence.+- **Headings and body:** Chivo 400, 700, 900. Section heads at 900 with -0.01em; prose at 400, line-height 1.6.+- **HUD:** Silkscreen 400 and 700, untracked, alternating the two inks, for the score strip, the credits line and a rank chip: figures with their units, never a heading, a paragraph or a caption. Labels, captions and status are Chivo 700 one step smaller, sentence case.## Material-- The CRT stack once, at page level, `aria-hidden`: the screen layer, a scanline `repeating-linear-gradient` (2px clear, 1px dark at low alpha), a corner vignette, and a tight phosphor bloom (`text-shadow` at 0.02 to 0.06em in the element's own ink) only on the Bungee marquee lettering and HUD text only. Budget in `texture.md` § Scanline. Never a bezel.+- The CRT stack once, at page level, `aria-hidden`: the screen layer, a scanline `repeating-linear-gradient` (2px clear, 1px dark at low alpha) and a corner vignette. Budget in `texture.md` § Scanline. Never a bezel.- The side art: stacked chevrons at 22 degrees from one `repeating-linear-gradient` in the two inks, clipped to a panel with `clip-path`. That is the whole object; never an image.- The RGB split on marquee lettering: a 1 to 2px red offset and a matching cyan offset, zero blur. It replaces the flat drop shadow.- `--rule-bar` rules and near-square radii; depth is a hard zero-blur offset shadow, never blur.- The press surface: every interactive surface carries `Npx Npx 0` in the answer ink with a `--rule-bar` ink border; hover moves away from the shadow, active slams toward it.-- Objects: a marquee band, a side-art panel, an attract-screen table, a HUD strip, an instruction card (plain Chivo, a `--rule-bar` rule, no bloom). Two inks alternating, never a third.+- Objects: a marquee band, a side-art panel, an attract-screen table, a HUD strip, an instruction card (plain Chivo and a `--rule-bar` rule). Two inks alternating, never a third.## Motion-Press physics over 120ms ease-out, one attract prompt that blinks on a `steps(1)` beat for four beats, then holds lit (never an open-ended blink, never under reduced motion), the RGB split widening 1px on hover for interactive marquee lettering. The grille, scanline and vignette are static.+Press physics on `--dur-micro` and `--ease-out`, one attract prompt that blinks on a `steps(1)` beat for four beats, then holds lit (never an open-ended blink, never under reduced motion), the RGB split widening 1px on hover for interactive marquee lettering. The grille, scanline and vignette are static.## Voice@@ -68,7 +68,7 @@ Coin-op plain: the credit, the night, the machine, the buzzer.- Never Silkscreen on body copy or a heading.- Never magenta-and-cyan as the pair and never a radial-gradient starfield; the screen is the texture.- Never mix colourways or screens on one page; two dials, set once.-- Never a soft or blurred shadow, never a gradient on a button, never bloom on body copy.+- Never a soft or blurred shadow, never a phosphor glow (the RGB split carries the lettering), never a gradient on a button.## Build hint@@ -77,16 +77,16 @@ Coin-op plain: the credit, the night, the machine, the buzzer.``````css-body::after { content: ""; position: fixed; inset: 0; z-index: 40; pointer-events: none;+body::after { content: ""; position: fixed; inset: 0; z-index: var(--z-raised); pointer-events: none;background-image:repeating-linear-gradient(to right, color-mix(in oklab, var(--color-crt-r) 5%, transparent) 0 1px, color-mix(in oklab, var(--color-crt-g) 5%, transparent) 1px 2px, color-mix(in oklab, var(--color-crt-b) 5%, transparent) 2px 3px),repeating-linear-gradient(to bottom, transparent 0 2px, color-mix(in oklab, var(--color-shade) 16%, transparent) 2px 3px),radial-gradient(120% 90% at 50% 50%, transparent 55%, color-mix(in oklab, var(--color-shade) 45%, transparent) 100%); }.marquee { font-family: var(--font-display); text-transform: uppercase; color: var(--color-ink);- text-shadow: -1.5px 0 0 var(--color-crt-r), 1.5px 0 0 var(--color-crt-c), 0 0 0.05em var(--color-accent); }+ text-shadow: -1.5px 0 0 var(--color-crt-r), 1.5px 0 0 var(--color-crt-c); }.side-art { background: repeating-linear-gradient(22deg, var(--color-accent) 0 18px, var(--color-accent-2) 18px 36px); clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }-.hud { font-family: var(--font-outlier); font-size: 12px; font-variant-numeric: tabular-nums; color: var(--color-accent-2); }+.hud { font-family: var(--font-outlier); font-size: var(--text-xs); font-variant-numeric: tabular-nums; color: var(--color-accent-2); }.btn { background: var(--color-accent); color: var(--color-accent-ink); border: var(--rule-bar) solid var(--color-ink); border-radius: var(--radius-card);- box-shadow: var(--shadow-card); transition: translate 120ms ease-out, box-shadow 120ms ease-out; }+ box-shadow: var(--shadow-card); transition: translate var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out); }.btn:active { translate: 3px 3px; box-shadow: 2px 2px 0 var(--color-accent-2); }```diff --git a/skills/hallmark/references/themes/atelier.md b/skills/hallmark/references/themes/atelier.mdindex a194ab8..0a389e9 100644--- a/skills/hallmark/references/themes/atelier.md+++ b/skills/hallmark/references/themes/atelier.md@@ -46,7 +46,7 @@ Warm plaster paper, umber ink, Sentient 700 carrying one large line over Hanken## Motion-One entrance: the display line fades in once over 400ms ease-out. A slate underline grows on link hover. Nothing else moves.+One entrance: the display line fades in once over `--dur-long` on `--ease-out`. A slate underline grows on link hover. Nothing else moves.## Voice@@ -63,16 +63,16 @@ Hand-set, literary, object-precise: verbs over adjectives; name the object, the## Build hint```html-<link href="https://api.fontshare.com/v2/css?f[]=sentient@500,700&display=swap" rel="stylesheet">-<link href="https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600&display=swap" rel="stylesheet">+<link href="https://api.fontshare.com/v2/css?f[]=sentient@700&display=swap" rel="stylesheet">+<link href="https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500&display=swap" rel="stylesheet">``````cssbody { background: var(--color-paper); color: var(--color-ink-2); font-family: var(--font-body); line-height: 1.55; }h1, .display { font: var(--display-weight) clamp(2.75rem, 6vw + 1rem, 6.25rem)/1.02 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); }-.placard { font: 500 0.8125rem/1.4 var(--font-body); color: var(--color-muted); }+.placard { font: 500 var(--text-xs)/1.4 var(--font-body); color: var(--color-muted); }.lede::first-letter { float: left; font: var(--display-weight) 3.9em/0.82 var(--font-display); padding: 0.06em 0.08em 0 0; color: var(--color-accent); }-.btn { border: var(--rule-hair) solid var(--color-ink); border-radius: var(--radius-pill); padding: 0.75rem 1.5rem; color: var(--color-ink); }+.btn { border: var(--rule-hair) solid var(--color-ink); border-radius: var(--radius-pill); padding: var(--space-sm) var(--space-lg); color: var(--color-ink); }a { color: inherit; text-decoration-color: var(--color-accent); text-underline-offset: 0.2em; }::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); }```diff --git a/skills/hallmark/references/themes/bloom.md b/skills/hallmark/references/themes/bloom.mdindex 266a551..766ad73 100644--- a/skills/hallmark/references/themes/bloom.md+++ b/skills/hallmark/references/themes/bloom.md@@ -49,7 +49,7 @@ Warm off-white paper under two fixed terracotta blooms, Figtree throughout with## Motion-One settle: the studio card fades in once over 400ms ease-out. Hover deepens a card's shadow, and nothing else moves. One line may type in once, then stays. The blooms never move; no slide, no bounce, no parallax.+One settle: the studio card fades in once over `--dur-long` on `--ease-out`, or one line types in once and stays; never both. Hover deepens the shadow of a card that links, and nothing else moves. The blooms never move; no slide, no bounce, no parallax.## Voice@@ -76,7 +76,7 @@ body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-evenbackground: radial-gradient(42% 38% at 72% 16%, color-mix(in oklab, var(--color-accent) 10%, transparent), transparent 70%),radial-gradient(46% 40% at 18% 90%, color-mix(in oklab, var(--color-accent-2) 7%, transparent), transparent 72%); }.display { font: var(--display-weight) clamp(2.75rem, 6vw + 1rem, 5.75rem)/1.06 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); }-.lede--serif { font: 400 1.5rem/1.35 var(--font-outlier); font-style: normal; }+.lede--serif { font: 400 var(--text-xl)/1.35 var(--font-outlier); font-style: normal; }.card { background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); border-radius: var(--radius-pill); }::selection { background: color-mix(in oklab, var(--color-accent) 25%, transparent); }diff --git a/skills/hallmark/references/themes/blueprint.md b/skills/hallmark/references/themes/blueprint.mdindex 2aee41d..a2df46e 100644--- a/skills/hallmark/references/themes/blueprint.md+++ b/skills/hallmark/references/themes/blueprint.md@@ -42,8 +42,8 @@ Three sheets, stated in the stamp (`blueprint: cyanotype`).## Faces-- **Display:** Chakra Petch 600 uppercase, line-height 0.98, `--tracking-display`, roman, one weight per head; a whole second line at 300 is the contrast, never one word. Chakra Petch 500 at 12 to 13px, sentence case, is the lettering inside the title block only.-- **Body:** IBM Plex Sans 300 for prose, 400 and 500 under 16px.+- **Display:** Chakra Petch 600 uppercase, line-height 1.02 (55a), `--tracking-display`, roman, one weight per head; a whole second line at 300 is the contrast, never one word. Chakra Petch 500 at 12 to 13px, sentence case, is the lettering inside the title block only.+- **Body:** IBM Plex Sans 300 for prose, 500 under 16px.- **Labels, captions, table heads, meta:** IBM Plex Sans 500 one step smaller, sentence case. IBM Plex Mono sets a dimension string (a value with its unit), coordinates, revision numbers and code, nothing else.## Material@@ -56,7 +56,7 @@ Three sheets, stated in the stamp (`blueprint: cyanotype`).## Motion-Static, drafted. A dimension line may draw itself on entry (scaleX from the left over 400ms ease-out) once per page; hover on a keylined surface lightens the ground one step.+Static, drafted. A dimension line may draw itself on entry (scaleX from the left over `--dur-long` on `--ease-out`) once per page; hover on a keylined surface that links darkens the ground one step.## Voice@@ -72,18 +72,18 @@ Specification voice: the metre, the fee, the week, the drawing number, a unit on## Build hint```html-<link href="https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@300;500;600&family=IBM+Plex+Sans:wght@300;400;500&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">+<link href="https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@300;500;600&family=IBM+Plex+Sans:wght@300;500&family=IBM+Plex+Mono:wght@500&display=swap" rel="stylesheet">``````cssbody { background-color: var(--color-paper); background-position: var(--sheet-inset) var(--sheet-inset); background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;background-image: linear-gradient(var(--color-grid-2) 1px, transparent 1px), linear-gradient(90deg, var(--color-grid-2) 1px, transparent 1px), linear-gradient(var(--color-grid) 1px, transparent 1px), linear-gradient(90deg, var(--color-grid) 1px, transparent 1px); }-.display { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; line-height: 0.98; letter-spacing: var(--tracking-display); }+.display { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; line-height: 1.02; letter-spacing: var(--tracking-display); }.title-block { position: fixed; right: var(--sheet-inset); bottom: var(--sheet-inset); display: flex; border: 1px solid var(--color-rule); background: var(--color-paper); }-.fig { position: relative; border: 1px solid var(--color-rule); padding: 24px; }+.fig { position: relative; border: 1px solid var(--color-rule); padding: var(--space-lg); }.fig::before { content: ""; position: absolute; inset: 5px; border: 1px solid var(--color-rule-2); pointer-events: none; }-.dim { font-family: var(--font-outlier); font-size: 12px; color: var(--color-muted); font-variant-numeric: tabular-nums; }-.btn { border: 1px solid var(--color-rule); color: var(--color-ink); background: transparent; padding: 13px 20px; font-weight: 500; }+.dim { font-family: var(--font-outlier); font-size: var(--text-xs); color: var(--color-muted); font-variant-numeric: tabular-nums; }+.btn { border: 1px solid var(--color-rule); color: var(--color-ink); background: transparent; padding: var(--space-sm) var(--space-lg); font-weight: 500; }.btn--primary { background: var(--color-ink); color: var(--color-accent-ink); border-color: var(--color-ink); }::selection { background: color-mix(in oklab, var(--color-ink) 28%, transparent); }```diff --git a/skills/hallmark/references/themes/broadside.md b/skills/hallmark/references/themes/broadside.mdindex 38ea051..0d943c5 100644--- a/skills/hallmark/references/themes/broadside.md+++ b/skills/hallmark/references/themes/broadside.md@@ -45,14 +45,14 @@ One dial, the colourway, stated in the stamp (`broadside: bill`).## 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. 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.+- **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 16 to 24px. All roman.+- **Archivo Narrow** 400 and 600, 16 to 22px, line-height 1.5, 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.## Material- 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: 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.+- 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 page.- 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, 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).@@ -68,23 +68,23 @@ An auctioneer's bill: the date, the place, the lot, the estimate, without reserv## Do-nots- Never a ragged big line; a headline that does not fill the measure is fitted or cut.-- Never a fifth face; Six Caps, Rye, Bevan and the narrow are the printer's whole case.+- Never a fifth face outside code; Six Caps, Rye, Bevan and the narrow are the printer's whole case.- Never a rounded corner; posts, tickets, drawers and buttons are square.- Never a second colour; green for sold is a screen, not a bill.## Build hint```html-<link href="https://fonts.googleapis.com/css2?family=Six+Caps&family=Rye&family=Bevan&family=Archivo+Narrow:ital,wght@0,400;0,600;1,400&display=swap" rel="stylesheet">+<link href="https://fonts.googleapis.com/css2?family=Six+Caps&family=Rye&family=Bevan&family=Archivo+Narrow:ital,wght@0,400;0,500;0,600;1,400&display=swap" rel="stylesheet">``````css-.six { font-family: var(--font-display); text-transform: uppercase; line-height: 0.88; letter-spacing: var(--tracking-display); }+.six { font-family: var(--font-display); text-transform: uppercase; line-height: 0.88; letter-spacing: var(--tracking-display); white-space: nowrap; }.rye { font-family: var(--font-display-2); text-transform: uppercase; line-height: 1; } .bev { font-family: var(--font-display-3); text-transform: uppercase; line-height: 1; }.heavy { border-top: var(--rule-bar) solid var(--color-ink); } .thin { border-top: var(--rule-hair) solid var(--color-ink); }-.post { border: 3px solid var(--color-ink); box-shadow: inset 0 0 0 3px var(--color-paper), inset 0 0 0 4px var(--color-ink); padding: 26px 22px; text-align: center; }-.diamonds { text-align: center; color: var(--color-accent); letter-spacing: 1em; font-size: 12px; } .diamonds::before { content: "\25C6 \25C6 \25C6"; }-.btn { background: var(--color-ink); color: var(--color-paper); padding: 18px 54px; font-weight: 600; font-size: 14px; letter-spacing: 0; text-transform: uppercase; border-radius: 0; }-.btn--accent { background: var(--color-accent); color: var(--color-accent-ink); }+.post { border: 3px solid var(--color-ink); box-shadow: inset 0 0 0 3px var(--color-paper), inset 0 0 0 4px var(--color-ink); padding: var(--space-lg); text-align: center; }+.diamonds { text-align: center; color: var(--color-accent); font-size: var(--text-xs); } .diamonds::before { content: "\25C6\2003\25C6\2003\25C6"; }+.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--space-xl); border: 3px solid var(--color-ink); background: var(--color-ink); color: var(--color-paper); font: 600 var(--text-sm)/1 var(--font-body); text-transform: uppercase; border-radius: 0; }+.btn--post { background: transparent; color: var(--color-ink); }::selection { background: color-mix(in oklab, var(--color-accent) 30%, transparent); }```diff --git a/skills/hallmark/references/themes/brutal.md b/skills/hallmark/references/themes/brutal.mdindex fe7e2da..2d49baa 100644--- a/skills/hallmark/references/themes/brutal.md+++ b/skills/hallmark/references/themes/brutal.md@@ -33,13 +33,13 @@ A near-white sheet carved by 3px near-black rules, uppercase Albert Sans 700 run## Faces-- **Display:** Albert Sans 700, uppercase, `--tracking-display`, line-height 1.02 (the floor for multi-line caps), up to 6.5rem. Flush-left, edge-aligned to a rule, allowed to run wide and clip against it. Never centred.+- **Display:** Albert Sans 700, uppercase, `--tracking-display`, line-height 1.02 (the floor for multi-line caps), up to 6.5rem. Flush-left, edge-aligned to a rule, allowed to run wide and butt against it. Never centred.- **Body:** Albert Sans 400 and 500, sentence case.- **Labels, captions, table heads, meta:** Albert Sans 500 one step smaller, sentence case, in `--color-muted`; uppercase belongs to the display alone. JetBrains Mono sets only code and real figures that compare (a price column, a spec line); it never sets a caption or a head.## Material-- Thick rules are the structure, two weights only: `--rule-bar` boxes sections and figures; `--rule-hair` splits rows inside them. Content sits flush to the border with no inset gutter.+- Thick rules are the structure, two weights only: `--rule-bar` boxes sections and figures; `--rule-hair` splits rows inside them. Figures and blocks sit flush to the border with no inset gutter; text keeps its padding.- Zero radius everywhere: buttons, inputs, blocks, images.- Inverted solid blocks, no float: filled rectangles (ink with paper text, acid yellow with ink text, bordered paper) butted against each other and against rules. No shadow; depth is fill and border. The control pair: a `--rule-bar` bordered paper button beside a solid ink button with paper text; hover inverts either instantly.- The acid yellow is a fill, never type, a rule or a ring: the one block of colour on the sheet (the signature bar, one filled panel, or a `mark` band in running text), always under ink, never inside a heading, under 5% of any viewport. Near-zero chroma everywhere else makes it the only colour on the page. Focus takes the deep olive `--color-focus`, which holds 3:1 on paper, ink and yellow. No texture, no ornament.@@ -72,7 +72,7 @@ h1, h2, .display { font-family: var(--font-display); font-weight: var(--display-.block { border: var(--rule-bar) solid var(--color-rule); border-radius: 0; }.block--ink { background: var(--color-ink); color: var(--color-paper); }.bar, p mark { background: var(--color-accent); color: var(--color-accent-ink); }-.btn { border: var(--rule-bar) solid var(--color-rule); border-radius: 0; padding: 0.75rem 1.25rem; font-weight: 700; transition: none; }-.btn--ink, .btn:hover { background: var(--color-ink); color: var(--color-paper); }+.btn { border: var(--rule-bar) solid var(--color-rule); border-radius: 0; padding: var(--space-xs) var(--space-lg); font-weight: 700; transition: none; }+.btn:hover, .btn--ink { background: var(--color-ink); color: var(--color-paper); } .btn--ink:hover { background: var(--color-paper); color: var(--color-ink); }::selection { background: var(--color-accent); color: var(--color-accent-ink); }```diff --git a/skills/hallmark/references/themes/carnival.md b/skills/hallmark/references/themes/carnival.mdindex 285d80d..551c7cc 100644--- a/skills/hallmark/references/themes/carnival.md+++ b/skills/hallmark/references/themes/carnival.md@@ -44,9 +44,9 @@ One dial, the drop, stated in the stamp (`carnival: diner-sign`): a saturated fi## Faces-- **Display:** Big Shoulders Display 800 (its width comes from the face; the Google build has no width axis). All caps, tracked tight: -0.005em on a lone hero word at line-height 0.9 on a single nowrap line, 0.02em on a section head at 1.0 when it can wrap (55a). Loose tracking belongs only to a marquee.-- **Body:** Golos Text 400, 500 and 700, sentence case, short, present tense, full ink.-- **Labels, captions, table heads, meta:** Golos Text 500 one step smaller, sentence case; a poster tag may go 700 in an accent colour. Never mono: figures are Golos Text with `tabular-nums`.+- **Display:** Big Shoulders Display 800 (its width comes from the face; the web build has no width axis). All caps: -0.005em on a lone hero word at line-height 0.9 on a single nowrap line, 0.02em on a section head at 1.0 when it can wrap (55a). Loose tracking belongs only to a marquee.+- **Body:** Golos Text 400 and 500, sentence case, short, present tense, full ink.+- **Labels, captions, table heads, meta:** Golos Text 500 one step smaller, sentence case; a poster tag may take an accent colour. Never mono: figures are Golos Text with `tabular-nums`.## Material@@ -54,11 +54,12 @@ One dial, the drop, stated in the stamp (`carnival: diner-sign`): a saturated fi- The hard offset shadow: `4px 4px 0 var(--color-ink)`, zero blur, on cards, buttons and images. Leave clearance at the page edge so the offset is never clipped.- Rules are `--rule-bar` in `--color-accent-2`; radius 2px at most. An accent fill may bleed about 24px past the page max-width on one side, a poster pinned to a wall.- Typographic ornaments (✱ ❋ ◆) in an accent colour as dividers, as the bullets of a real list, and as a marquee's repeating separator. Never glued in front of a label or a link.-- Halftone fills (`texture.md` § Halftone) where the page would otherwise show a photo placeholder, at a fixed small size, never under type. The control pair: one button filled with an accent on its 4px ink shadow beside the same block outlined in ink with the same shadow; one fill per screen (F4).+- Halftone fills (`texture.md` § Halftone) where the page would otherwise show a photo placeholder, at a fixed small size, never under type.+- The control pair: one button filled with an accent on its 4px ink shadow beside the same block outlined in ink with the same shadow; one fill per page (F4).## Motion-Mostly still, with one horizontal engine: a marquee of ornament-separated words, its content repeated at least twice so the loop reads continuous, paused on hover. Hover swaps colour and shifts the shadow (active slams the offset to 1px), never lifts.+Mostly still, with one horizontal engine, the theme's one ambient loop: a marquee of ornament-separated words, its content repeated at least twice so the loop reads continuous, a cycle of 8s or longer, paused on hover and focus and by a visible pause control, still under reduced motion and off-screen. Hover swaps colour and nothing else; active slams the offset to 1px; nothing lifts.## Voice@@ -74,7 +75,7 @@ Short, loud, declarative. Headlines all caps, six words or fewer, ending in a fu## Build hint```html-<link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700;800&family=Golos+Text:wght@400;500;700&display=swap" rel="stylesheet">+<link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@800&family=Golos+Text:wght@400;500&display=swap" rel="stylesheet">``````cssdiff --git a/skills/hallmark/references/themes/cobalt.md b/skills/hallmark/references/themes/cobalt.mdindex ebfe81f..f084f52 100644--- a/skills/hallmark/references/themes/cobalt.md+++ b/skills/hallmark/references/themes/cobalt.md@@ -50,7 +50,7 @@ Cool near-white paper ruled with hairlines, Familjen Grotesk heads over IBM Plex## Motion-One settle: the code surface fades in once over 400ms ease-out; one line of a demo may type in once, then stays. Hover grows a cobalt underline on a link and shifts a hairline to cobalt on a focusable surface. No bounce, no parallax.+One settle: the code surface fades in once over `--dur-long` on `--ease-out`, or one line of the demo types in once and stays; never both. Hover grows a cobalt underline on a link and shifts a hairline to cobalt on a focusable surface. No bounce, no parallax.## Voice@@ -60,22 +60,22 @@ Declarative, technical, specific: name the endpoint, the command, the number. No- Never a warm accent; the signal is cobalt at hue 256.- Never a pill or gradient button; one solid cobalt button at 6px plus typographic links.-- Never a floating pill nav; chrome is a flush bar with a single hairline.+- Never a floating pill nav; chrome stays as flat as every other surface.- Never fake code; a snippet compiles, resolves or returns, and an invented endpoint is the theme's worst failure. A brief with no endpoint still gets the pair: its own command or call as written, against `example.com`, with the field names it gives and sample values.- Never a second dark beat; two graphite bands turn the light theme into a striped one.## Build hint```html-<link href="https://fonts.googleapis.com/css2?family=Familjen+Grotesk:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">+<link href="https://fonts.googleapis.com/css2?family=Familjen+Grotesk:wght@500;600&family=IBM+Plex+Sans:wght@400;500&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">``````cssbody { background: var(--color-paper); color: var(--color-ink-2); font-family: var(--font-body); }h1, h2, .display { font-family: var(--font-display); font-weight: 600; letter-spacing: var(--tracking-display); color: var(--color-ink); }.graphite { background: var(--color-graphite); color: var(--color-graphite-ink); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }-.graphite figcaption { font: 500 0.8125rem/1.4 var(--font-display); color: var(--color-graphite-ink); padding: 0.5rem 1rem; border-bottom: var(--rule-hair) solid var(--color-rule-2); }-.code { font: 400 0.875rem/1.6 var(--font-outlier); } .code .token { color: var(--color-accent-2); }+.graphite figcaption { font: 500 var(--text-xs)/1.4 var(--font-display); color: var(--color-graphite-ink); padding: var(--space-xs) var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule-2); }+.code { font: 400 var(--text-sm)/1.6 var(--font-outlier); } .code .token { color: var(--color-accent-2); }.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); border-radius: var(--radius-input); }::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); }```diff --git a/skills/hallmark/references/themes/console.md b/skills/hallmark/references/themes/console.mdindex 3671128..773ceea 100644--- a/skills/hallmark/references/themes/console.md+++ b/skills/hallmark/references/themes/console.md@@ -46,12 +46,12 @@ One dial, the colourway, stated in the stamp (`console: night`). In every colour## Faces- **Display:** Host Grotesk 600, `--tracking-display`, line-height 1.05, roman.-- **Body:** Host Grotesk 400, 15 to 16px, line-height 1.55 to 1.6, in `--color-muted`. The document: Source Serif 4 at opsz 60, weight 400, for the printed method and its letterhead only.-- **Labels, captions, table heads, chips, meta:** Host Grotesk 500 one step smaller, sentence case, in `--color-muted`. JetBrains Mono at 10.5 to 12.5px is for what an instrument or the system wrote: readings with their unit, ids, diffs, the audit log, the timer, every figure tabular.+- **Body:** Host Grotesk 400 at 16px, line-height 1.55 to 1.6, in `--color-muted`. The document: Source Serif 4 at opsz 60, weight 400, for the printed method and its letterhead only.+- **Labels, captions, table heads, chips, meta:** Host Grotesk 500 one step smaller, sentence case, in `--color-muted`. JetBrains Mono at 13px is for what an instrument or the system wrote: readings with their unit, ids, diffs, the audit log, the timer, every figure tabular.## Material-- Hairline panels: a surface is a 1px `--color-rule` with `--color-paper-2` inside, radius 10 (12 for grids, 6 for controls). A grid is one panel cut by 1px gaps of ground, never separate cards with air between them.+- Hairline panels: a surface is a 1px `--color-rule` with `--color-paper-2` inside, radius 10 (6 for controls). A grid is one panel cut by 1px gaps that show the rule, never separate cards with air between them.- Three steps, no lamp: ground at 14%, panel at 17.5%, and the deepest surface at 11% for terminals and a rail. No shadow, no glow, no bloom, no spotlight.- Drawn data: sparklines, rings, Gantts and diffs are the pictures. No illustration, no photograph.- The chip: Host Grotesk 500 at 11px, sentence case, inside a 1px rule at radius 4, tinted `--color-accent-soft` or `--color-cool-soft` by meaning. It carries state only; a dot inside it means live and nothing else.@@ -60,7 +60,7 @@ One dial, the colourway, stated in the stamp (`console: night`). In every colour## Motion-Instrumental. A timer counts down and its ring follows; a sparkline draws once from seeded data. No reveals, no parallax, no hover lifts, nothing that appends on its own.+Instrumental. A timer counts down once a person starts it, and its ring follows; a sparkline draws once from seeded data. No reveals, no parallax, no hover lifts, nothing that appends on its own.## Voice@@ -76,16 +76,16 @@ A lab notebook kept by a careful person: the value, its unit, the time, who sign## Build hint```html-<link href="https://fonts.googleapis.com/css2?family=Host+Grotesk:wght@400;500;600&family=JetBrains+Mono:wght@400;500&family=Source+Serif+4:opsz,[email protected],400;8..60,600&display=swap" rel="stylesheet">+<link href="https://fonts.googleapis.com/css2?family=Host+Grotesk:wght@400;500;600&family=JetBrains+Mono:wght@400;500&family=Source+Serif+4:opsz,[email protected],400&display=swap" rel="stylesheet">``````css.display { font: 600 var(--text-display)/1.05 var(--font-display); letter-spacing: var(--tracking-display); }.panel { background: var(--color-paper-2); border: 1px solid var(--color-rule); border-radius: var(--radius-card); }-.grid { display: grid; gap: 1px; background: var(--color-rule); border: 1px solid var(--color-rule); border-radius: 12px; overflow: hidden; }+.grid { display: grid; gap: 1px; background: var(--color-rule); border: 1px solid var(--color-rule); border-radius: var(--radius-card); overflow: hidden; }.grid > * { background: var(--color-paper-2); }-.reading { font-family: var(--font-outlier); font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--color-cool); }-.btn { border-radius: var(--radius-pill); padding: 9px 14px; font-weight: 500; border: 1px solid var(--color-rule); background: var(--color-paper-2); }+.reading { font-family: var(--font-outlier); font-size: var(--text-xs); font-variant-numeric: tabular-nums; color: var(--color-cool); }+.btn { border-radius: var(--radius-pill); padding: var(--space-sm) var(--space-md); font-weight: 500; border: 1px solid var(--color-rule); background: var(--color-paper-2); }.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); border-color: var(--color-accent); }::selection { background: color-mix(in oklab, var(--color-accent) 25%, transparent); }```diff --git a/skills/hallmark/references/themes/coral.md b/skills/hallmark/references/themes/coral.mdindex 2cc8109..8605c4a 100644--- a/skills/hallmark/references/themes/coral.md+++ b/skills/hallmark/references/themes/coral.md@@ -41,7 +41,7 @@ Warm grey paper, warm charcoal ink, General Sans throughout, soft pills, and one## Material- Soft pills: controls and chips at `--radius-pill`; surfaces at 8px; inputs at 6px. The rounded control vocabulary is the theme's clearest tell.-- The control pair: an ink-filled primary (`--color-ink` on `--color-paper` text) beside a 1px `--color-rule` outlined secondary. If the coral signal is spent on a fill, the primary takes the accent with `--color-accent-ink`.+- The control pair: an ink-filled primary (`--color-paper` text on `--color-ink`) beside a 1px `--color-rule` outlined secondary. If the coral signal is spent on a fill, the primary takes the accent with `--color-accent-ink`.- Thin visible borders and generous air: 1px `--color-rule` on divisions, the whisper shadow on a surface that is interactive, whitespace doing the luxury work.- The one signal under 5%, and nothing else on the page is coloured: a link's hover underline, the focus ring, one figure on paper or paper-2, or one filled control. Never a coral wash, gradient or background band.- No texture, no mesh, no blur. Paper, borders and space carry the page.@@ -57,21 +57,21 @@ Declarative, warm, specific: the number, the product, the outcome. Never hype.## Do-nots- Never cool paper or a blue signal; warm grey and coral, or it is not this theme.-- Never a second typeface, a serif, or mono set as display.+- Never a second text face: no serif, no other sans, no mono as display.- Never tight 6px bordered controls on the primary action; Coral is pills.- Never a code or terminal treatment as the focal object; Coral leads with type and a slot.## Build hint```html-<link href="https://api.fontshare.com/v2/css?f[]=general-sans@400,500,600,700&display=swap" rel="stylesheet">+<link href="https://api.fontshare.com/v2/css?f[]=general-sans@400,500,600&display=swap" rel="stylesheet">``````css-.display { font: var(--display-weight) var(--text-display)/1.05 var(--font-display); letter-spacing: var(--tracking-display); }-.btn { border-radius: var(--radius-pill); padding: 0.75rem 1.25rem; font-weight: 500; }+.display { font: var(--display-weight) min(var(--text-display), 4.5rem)/1.05 var(--font-display); letter-spacing: var(--tracking-display); }+.btn { border: 1px solid transparent; border-radius: var(--radius-pill); padding: var(--space-sm) var(--space-lg); font-weight: 500; }.btn--primary { background: var(--color-ink); color: var(--color-paper); }-.btn--secondary { border: 1px solid var(--color-rule); color: var(--color-ink); }-a:hover { text-decoration-color: var(--color-accent); text-underline-offset: 0.2em; }+.btn--secondary { border-color: var(--color-rule); color: var(--color-ink); }+a { text-underline-offset: 0.2em; } a:hover { text-decoration-color: var(--color-accent); }::selection { background: color-mix(in oklab, var(--color-accent) 25%, transparent); }```diff --git a/skills/hallmark/references/themes/darkroom.md b/skills/hallmark/references/themes/darkroom.mdindex 7cece7d..9434282 100644--- a/skills/hallmark/references/themes/darkroom.md+++ b/skills/hallmark/references/themes/darkroom.md@@ -42,14 +42,14 @@ 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 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.+- **Display:** Sofia Sans Extra Condensed uppercase, 200 at poster size and 400 on a smaller head, 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 400 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.## Material- Grain once, fixed, over the whole page at `--grain`: the speck recipe of texture.md § 1 with light specks, since dark specks vanish on the wall. No vignette, no bloom, no amber wash; depth is lightness, ground 9, plate 13, surface 17.-- The hang, the one object family: prints butted edge to edge in a row, all one height so tops and bottoms run level, widths following each picture's ratio; no frame, no mat, no gap. Beneath each, its plate number and date, flush with the print's left edge. A series shown before its prints arrive is a row of slots by design: stamp `waive 68` and name the series.+- The hang, the one object family: prints butted edge to edge in a row, all one height so tops and bottoms run level, widths following each picture's ratio; no frame, no mat, no gap. Beneath each, its plate number and date, flush with the print's left edge. A series whose prints have not arrived is a row of slots only when the user said leave slots: stamp `waive 68` and name the series.- A print is greyscale: a photograph under `filter: grayscale(1)`, or a placeholder graded within `--g0` to `--g5`. A step wedge appears only on a photography page, and only as a scale that measures something real (a paper grade, a test strip's seconds).- The safelight is scarce: a line, a figure, a caption on hover and the one filled control. `--color-accent-deep` is the quieter fill, under ink text.- The control pair: a 1px ink-outlined secondary beside an amber-filled primary with ground-coloured text, uppercase, radius 0.@@ -57,7 +57,7 @@ Three colourways, stated in the stamp (`darkroom: amber`).## Motion-Still as a print. A print may come up from `--g1` to full over 600ms once, as in the tray; hover moves its caption to the accent.+Still as a print. A print may come up from `--g1` to full over `--dur-long` once, as in the tray; hover on a print that links moves its caption to the accent.## Voice@@ -74,7 +74,7 @@ Lab notes: the roll, the frame, the grade, the minute. Exact numbers, short line## Build hint```html-<link href="https://fonts.googleapis.com/css2?family=Sofia+Sans+Extra+Condensed:[email protected]&family=Barlow:wght@300;400&family=Overpass+Mono:wght@400;600&display=swap" rel="stylesheet">+<link href="https://fonts.googleapis.com/css2?family=Sofia+Sans+Extra+Condensed:wght@200;400&family=Barlow:wght@300;400&family=Overpass+Mono:wght@400&display=swap" rel="stylesheet">``````css@@ -83,10 +83,10 @@ Lab notes: the roll, the frame, the grade, the minute. Exact numbers, short line.print { flex: var(--r, 1.5) 1 0; min-width: 0; margin: 0; }.print > [data-slot] { aspect-ratio: var(--r, 1.5); background: linear-gradient(165deg, var(--g4), var(--g2) 55%, var(--g0)); }.print img { filter: grayscale(1); }-.print figcaption { padding-top: 10px; font: 400 var(--text-xs)/1.4 var(--font-body); color: var(--color-muted); }-.print:hover figcaption { color: var(--color-accent); }+.print figcaption { padding-top: var(--space-xs); font: 400 var(--text-xs)/1.4 var(--font-body); color: var(--color-muted); }+.print:has(a):hover figcaption { color: var(--color-accent); }@media (max-width: 40rem) { .hang { flex-wrap: wrap; } .print { flex-basis: 100%; } }-.btn { font-family: var(--font-display); font-weight: 500; font-size: 16px; letter-spacing: 0.04em; text-transform: uppercase; padding: 12px 20px; border: 1px solid var(--color-ink); color: var(--color-ink); background: transparent; }+.btn { font-family: var(--font-display); font-weight: 400; font-size: var(--text-md); letter-spacing: 0.04em; text-transform: uppercase; padding: var(--space-sm) var(--space-lg); border: 1px solid var(--color-ink); color: var(--color-ink); background: transparent; }.btn--primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }::selection { background: color-mix(in oklab, var(--color-accent) 35%, transparent); }```diff --git a/skills/hallmark/references/themes/dose.md b/skills/hallmark/references/themes/dose.mdindex 0531e00..d5eb694 100644--- a/skills/hallmark/references/themes/dose.md+++ b/skills/hallmark/references/themes/dose.md@@ -44,13 +44,13 @@ Committed: the paper family is the green; paper-2 and paper-3 are tint bands, wh## Faces- **Display:** Schibsted Grotesk 700, `--tracking-display`, line-height 1.02, up to 88px; sentence case, roman. Prices and the one big count at 700 with -0.035em.-- **Body:** Instrument Sans 400, 500 and 600, 14 to 18px, line-height 1.5.+- **Body:** Instrument Sans 400 and 500, 16 to 18px, line-height 1.5.- **Labels, captions, table heads, meta:** Instrument Sans 500 one step smaller, sentence case. Mono (JetBrains Mono 500) is kept for the clock and the dose only, `08:00` and `500 mg`; it never sets a caption, a tab or a table head.## Material-- Radii that read as an app: 8px on controls and inputs, 12 to 14px on cards, 999 on pills. Hairlines at 1px; a panel's edge is a `0 0 0 1px` ring rather than a border.-- The pill: a 46 by 18 capsule, green when taken, outlined 1.5px green when due, grey when missed. The week grid of pills is the object family, and so is the four-step timeline where the open step is an outlined ring.+- Radii that read as an app: 8px on controls and inputs, 12px on cards, 999 on pills. Hairlines at 1px; a panel's edge is a `0 0 0 1px` ring rather than a border.+- The pill: a 46 by 18 capsule, green when taken, outlined 1.5px green when due, grey when missed. The week grid of pills is the object family, and so is a step timeline where the open step is an outlined ring.- The cross: a plus with rounded ends in green, drawn as an SVG, large or small as the wordmark's mark. It is the only illustration.- Tint bands: paper-2 and paper-3 as bands; white cards sit on tint with the one soft shadow. No gradient and no mesh.- The app: it bleeds off the edge of its slot or sits in a plain 12px plate, never inside a drawn phone bezel, never with a notch or a bar.@@ -58,7 +58,7 @@ Committed: the paper family is the green; paper-2 and paper-3 are tint bands, wh## Motion-One settle: the reminder card fades in once over 400ms ease-out. A pill fills on tap in 150ms ease-out; the next-dose clock does not tick. Nothing autoplays, nothing pulses.+One settle: the reminder card fades in once over `--dur-long` on `--ease-out`. A pill fills on tap over `--dur-micro`; the next-dose clock does not tick. Nothing autoplays, nothing pulses.## Voice@@ -75,12 +75,12 @@ A pharmacist's plainness: the name, the dose, the time, who it is for. Reassurin## Build hint```html-<link href="https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@700&family=Instrument+Sans:wght@400;500;600&family=JetBrains+Mono:wght@500&display=swap" rel="stylesheet">+<link href="https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@700&family=Instrument+Sans:wght@400;500&family=JetBrains+Mono:wght@500&display=swap" rel="stylesheet">``````css.display { font: 700 var(--text-display)/1.02 var(--font-display); letter-spacing: var(--tracking-display); text-wrap: balance; }-.btn { height: 52px; padding: 0 24px; border-radius: var(--radius-input); font: 600 15px var(--font-body); }+.btn { height: 52px; padding: 0 var(--space-lg); border-radius: var(--radius-input); font: 500 var(--text-md) var(--font-body); }.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }.btn--secondary { box-shadow: inset 0 0 0 1.5px var(--color-rule); color: var(--color-ink); }.pill { display: inline-flex; width: 46px; height: 18px; border-radius: var(--radius-pill); background: var(--color-accent); }@@ -88,6 +88,6 @@ A pharmacist's plainness: the name, the dose, the time, who it is for. Reassurin.pill--missed { background: var(--color-missed); }.card { background: var(--color-paper); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }.band { background: var(--color-paper-2); }-.time { font: 500 44px/1 var(--font-outlier); letter-spacing: -0.02em; color: var(--color-accent); }+.time { font: 500 var(--text-3xl)/1 var(--font-outlier); letter-spacing: -0.02em; color: var(--color-accent); }::selection { background: color-mix(in oklab, var(--color-accent) 25%, transparent); }```diff --git a/skills/hallmark/references/themes/editorial.md b/skills/hallmark/references/themes/editorial.mdindex 4ffc1d8..be0bf7d 100644--- a/skills/hallmark/references/themes/editorial.md+++ b/skills/hallmark/references/themes/editorial.md@@ -48,7 +48,7 @@ Warm cream, Bricolage Grotesque 800 at width 75 slammed against the left margin,## Motion-One clip reveal: the pulled line's two hairlines draw in from the left once over 400ms ease-out. Hover grows a coral underline under a link. Nothing else moves.+One clip reveal: the pulled line's two hairlines draw in from the left once over `--dur-long` on `--ease-out`. Hover grows a coral underline under a link. Nothing else moves.## Voice@@ -71,10 +71,10 @@ Contemporary, lightly literary. Verbs over adjectives; name the piece, the issue```css.display { font: var(--display-weight) clamp(2.5rem, 5vw + 0.75rem, 4.75rem)/1 var(--font-display); color: var(--color-ink);font-variation-settings: "wdth" 75, "opsz" 96; letter-spacing: var(--tracking-display); }-.pull { font: italic 500 clamp(1.5rem, 2.5vw, 2.25rem)/1.25 var(--font-outlier); padding: 1.25rem 0 1.25rem 1.5rem;+.pull { font: italic 500 clamp(1.5rem, 2.5vw, 2.25rem)/1.25 var(--font-outlier); padding: var(--space-lg) 0 var(--space-lg) var(--space-lg);border-block: var(--rule-hair) solid var(--color-rule); border-inline-start: 3px solid var(--color-accent); }-.folio { font-size: 0.8125rem; color: var(--color-muted); }-.folio .numeral { font-family: var(--font-display); font-weight: 700; }+.folio { font-size: var(--text-xs); color: var(--color-muted); }+.folio .numeral { font-family: var(--font-display); font-weight: var(--display-weight); }.btn--primary { border-radius: 0; background: var(--color-ink); color: var(--color-paper); }.tag { background: var(--color-accent); color: var(--color-accent-ink); border-radius: 0; }::selection { background: color-mix(in oklab, var(--color-accent) 25%, transparent); }diff --git a/skills/hallmark/references/themes/formwork.md b/skills/hallmark/references/themes/formwork.mdindex 70ea876..5b6ef3f 100644--- a/skills/hallmark/references/themes/formwork.md+++ b/skills/hallmark/references/themes/formwork.md@@ -47,8 +47,8 @@ Three pours, stated in the stamp (`formwork: cast`). Muted sits on the wall only## Faces- **Display:** Oswald 700, uppercase, line-height 1.0 where a head can wrap (55a) and 0.92 only on a single nowrap line, `--tracking-display`; 48px for section heads, 84 to 90 for the page, 96 to 120 for figures. One colour per head. Roman.-- **Body:** Archivo 400 and 500, 14 to 17px, line-height 1.5, in ink-2.-- **Dimensions:** Archivo Narrow 600 at 12 to 13px, sentence case, tabular, the outlier, for every dimension on a drawing and the week number. Captions, meta and table heads: Archivo 500 one step smaller, sentence case. Plates and slots wear Oswald 600 at 13 to 15px uppercase, tracked 0.04em, following the display's capitals. No mono.+- **Body:** Archivo 400 and 500, 16 to 17px, line-height 1.5, in ink-2.+- **Dimensions:** Archivo Narrow 500 at 12 to 13px, sentence case, tabular, the outlier, for every dimension on a drawing and the week number. Captions, meta and table heads: Archivo 500 one step smaller, sentence case. Plates and slots wear Oswald 700 at 13 to 15px uppercase, tracked 0.04em, following the display's capitals. No mono.## Material@@ -61,7 +61,7 @@ Three pours, stated in the stamp (`formwork: cast`). Muted sits on the wall only## Motion-Concrete does not animate; the pour does. A radius picker redraws the section on click, a pour log lands its loads one by one when pressed, a pin moves where you click. Plates press in 120ms. Nothing on scroll, nothing ambient.+Concrete does not animate; the pour does. A radius picker redraws the section on click, a pour log lands its loads one by one when pressed, a pin moves where you click. Plates press in `--dur-micro`. Nothing on scroll, nothing ambient.## Voice@@ -71,13 +71,13 @@ The foreman's sheet: the radius in millimetres, the pour number, the week, the l- Never a second accent; a blue link on the wall is a different site.- Never a rounded corner; concrete is cast against straight boards.-- Never a photograph of the thing; the park is a drawing and the photo lives in a slot.+- Never a photograph of the thing; the structure is a drawing and the photo lives in a slot.- Never a soft blurred shadow on a plate; the 3px cast shadow is the material.## Build hint```html-<link href="https://fonts.googleapis.com/css2?family=Oswald:wght@600;700&family=Archivo:wght@400;500&family=Archivo+Narrow:wght@600&display=swap" rel="stylesheet">+<link href="https://fonts.googleapis.com/css2?family=Oswald:wght@700&family=Archivo:wght@400;500&family=Archivo+Narrow:wght@500&display=swap" rel="stylesheet">``````css@@ -86,8 +86,8 @@ body { background-color: var(--color-paper); background-image:repeating-linear-gradient(180deg, transparent 0 94px, color-mix(in oklab, var(--color-seam-light) 22%, transparent) 94px 95px, color-mix(in oklab, var(--color-seam-dark) 10%, transparent) 95px 97px);background-size: 480px 288px, 100% 96px; }.display { font: 700 var(--text-display)/1 var(--font-display); text-transform: uppercase; letter-spacing: var(--tracking-display); }-.plate { padding: 14px 32px; font: 600 15px var(--font-display); letter-spacing: 0.04em; text-transform: uppercase; background: var(--color-accent); color: var(--color-accent-ink);- box-shadow: 0 3px 0 var(--color-accent-deep); transition: translate 120ms ease-out, box-shadow 120ms ease-out; }+.plate { padding: var(--space-sm) var(--space-xl); font: 700 var(--text-sm)/1.6 var(--font-display); letter-spacing: 0.04em; text-transform: uppercase; background: var(--color-accent); color: var(--color-accent-ink);+ box-shadow: 0 3px 0 var(--color-accent-deep); transition: translate var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out); }.plate:active { translate: 0 3px; box-shadow: 0 0 0 var(--color-accent-deep); }.card { background: var(--color-plate); border: var(--rule-bar) solid var(--color-ink); box-shadow: var(--shadow-card); }::selection { background: color-mix(in oklab, var(--color-accent) 35%, transparent); }diff --git a/skills/hallmark/references/themes/furrow.md b/skills/hallmark/references/themes/furrow.mdindex 4d00dcb..9471271 100644--- a/skills/hallmark/references/themes/furrow.md+++ b/skills/hallmark/references/themes/furrow.md@@ -35,7 +35,7 @@ Warm office paper, an ink rule over every list, Red Hat Display 600 over Red Hat## Faces- **Display:** Red Hat Display 600, `--tracking-display`, line-height 1.0, up to 4rem. One weight and one colour per head.-- **Body:** Red Hat Text 400 at 15 to 16px, line-height 1.55, in `--color-muted`; Red Hat Text 500 for row titles.+- **Body:** Red Hat Text 400 at 16px, line-height 1.55, in `--color-muted`; Red Hat Text 500 for row titles.- **Labels, captions, table heads, chips, meta:** Red Hat Text 500 one step smaller, sentence case, untracked. Never mono, never uppercase.- **Form figures (mono as material):** JetBrains Mono 400 and 500 at 12 to 13px, tabular, only for what gets copied onto a form: times, tag numbers, rates, hectares, litres, prices.@@ -59,7 +59,7 @@ Plain and unit-bearing: 214 ha, 6.1 t/ha, 12 days withdrawal, GBP per hectare. N- Never yellow for a warning, a highlight or a sale; the tag is the animal, and that is all yellow means.- Never a photograph of a field, a tractor or an animal; the map and the tag are drawn.-- Never a tier table; price is a calculation with the free allowance drawn into it.+- Never a tier table; price is a calculation.- Never tangerine as type; it fills the record mark and the chosen field, with ink on it.## Build hint@@ -69,11 +69,11 @@ Plain and unit-bearing: 214 ha, 6.1 t/ha, 12 days withdrawal, GBP per hectare. N``````css-.display { font: 600 var(--text-display)/1 var(--font-display); letter-spacing: var(--tracking-display); }+.display { font: 600 min(var(--text-display), 4rem)/1 var(--font-display); letter-spacing: var(--tracking-display); }.ledger { border-top: 1px solid var(--color-ink); }-.ledger > div { display: grid; gap: 1rem; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid var(--color-rule); }-.tag { display: inline-grid; place-items: center; width: 54px; height: 44px; border-radius: 6px 6px 10px 10px; background: var(--color-tag); color: var(--color-tag-ink); font: 500 14px var(--font-outlier); }-.btn { border-radius: var(--radius-pill); padding: 0.625rem 1rem; font-weight: 600; border: 1px solid var(--color-rule); background: var(--color-paper-2); }+.ledger > div { display: grid; gap: var(--space-md); align-items: center; padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-rule); }+.ear { display: inline-grid; place-items: center; width: 54px; height: 44px; border-radius: 6px 6px 10px 10px; background: var(--color-tag); color: var(--color-tag-ink); font: 500 var(--text-xs) var(--font-outlier); }+.btn { border-radius: var(--radius-pill); padding: var(--space-sm) var(--space-md); font-weight: 600; border: 1px solid var(--color-rule); background: var(--color-paper-2); }.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); border-color: var(--color-accent); }::selection { background: color-mix(in oklab, var(--color-accent) 30%, transparent); }```diff --git a/skills/hallmark/references/themes/garden.md b/skills/hallmark/references/themes/garden.mdindex dae16b8..9cae7c7 100644--- a/skills/hallmark/references/themes/garden.md+++ b/skills/hallmark/references/themes/garden.md@@ -34,8 +34,8 @@ Warm oat paper, a near-black green ink, Vollkorn heads over Hanken Grotesk, one## Faces-- **Display:** Vollkorn 600 to 800, roman, `--tracking-display`, up to 5rem: 700 for the hero, 600 for a section head, 800 only on a short line. One weight per head, never italic. A sturdy old-style serif with a dark, warm colour on the page, not a high-contrast serif.-- **Body:** Hanken Grotesk 400, 500, 600 with `oldstyle-nums`. Newsreader 400 carries long provenance prose at 58ch; Vollkorn never runs as body.+- **Display:** Vollkorn 700, roman, `--tracking-display`, up to 5rem, one weight for every head, never italic. A sturdy old-style serif with a dark, warm colour on the page, not a high-contrast serif.+- **Body:** Hanken Grotesk 400 and 500 with `oldstyle-nums`. Newsreader 400 carries long provenance prose at 58ch; Vollkorn never runs as body.- **Labels, captions, table heads, meta, lot codes, dates, months:** Hanken Grotesk 500 one step smaller, sentence case, untracked, `--color-muted`: the herbarium tag reads like a caption, never like a stamp. No mono on the page.## Material@@ -49,7 +49,7 @@ Warm oat paper, a near-black green ink, Vollkorn heads over Hanken Grotesk, one## Motion-Nothing moves except state: a control's hover, and where a piece of craft is itself a link or a button, one hover on it (a jar filling, a leaf tilting), on transform and opacity only. No reveal, no stagger, no parallax.+Nothing moves except state: a control's hover, and where a piece of craft is itself a link or a button, one hover on it (a jar filling, a cork lifting), on transform and opacity only. No reveal, no stagger, no parallax.## Voice@@ -60,27 +60,27 @@ Warm, honest, seasonal, unhurried. Say the ridge, the flower, the pour date, the- Never grey-sage or slate paper; the ground is warm oat, hue 92.- Never a photograph where the craft should be.- Never a cool teal or corporate emerald; the green is chlorophyll, hue 140.-- Never italic or faux-bold Vollkorn; load the real 600 to 800.+- Never italic or faux-bold Vollkorn; load the real 700.- Never clay on a control, a nav or the season bar, never a gradient on the leaf-green control.## Build hint```html-<link href="https://fonts.googleapis.com/css2?family=Vollkorn:wght@600;700;800&family=Hanken+Grotesk:wght@400;500;600&family=Newsreader:opsz,[email protected],400&display=swap" rel="stylesheet">+<link href="https://fonts.googleapis.com/css2?family=Vollkorn:wght@700&family=Hanken+Grotesk:wght@400;500&family=Newsreader:opsz,[email protected],400&display=swap" rel="stylesheet">``````cssbody { font-family: var(--font-body); font-variant-numeric: oldstyle-nums; color: var(--color-ink-2); }h1, h2, h3, .display, .season, td { font-variant-numeric: lining-nums tabular-nums; }.display { font: 700 clamp(2.25rem, 4vw + 1rem, 5rem)/1.05 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); }-.tag { font-size: 0.8125rem; font-weight: 500; color: var(--color-muted); }+.tag { font-size: var(--text-xs); font-weight: 500; color: var(--color-muted); }.season { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); border: var(--rule-hair) solid var(--color-rule-2); }-.season > li { position: relative; padding: var(--space-xs) 0; text-align: center; font-size: 0.75rem; color: var(--color-muted); }+.season > li { position: relative; padding: var(--space-xs) 0; text-align: center; font-size: var(--text-xs); color: var(--color-muted); }.season > li + li { border-inline-start: var(--rule-hair) solid var(--color-rule); }.season > .in { background: var(--color-accent); color: var(--color-accent-ink); }-.season > [aria-current]::after { content: ""; position: absolute; inset-block: -8px; left: 50%; width: 1px; background: var(--color-ink); }+.season > [aria-current]::after { content: ""; position: absolute; inset-block: calc(-1 * var(--space-xs)); left: 50%; width: 1px; background: var(--color-ink); }.band--moss { background: var(--tint-moss); }-.btn--solid { border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); }+.btn--solid { border-radius: var(--radius-pill); border: var(--rule-hair) solid var(--color-accent); background: var(--color-accent); color: var(--color-accent-ink); }.btn--line { border-radius: var(--radius-pill); border: var(--rule-hair) solid var(--color-rule-2); color: var(--color-ink); }::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); }```diff --git a/skills/hallmark/references/themes/grid.md b/skills/hallmark/references/themes/grid.mdindex eb0ee45..838b4ab 100644--- a/skills/hallmark/references/themes/grid.md+++ b/skills/hallmark/references/themes/grid.md@@ -41,7 +41,7 @@ One dial, the signal ink, stated in the stamp (`grid: red`). `--color-focus` fol## Faces-- **Display:** Archivo 800, lowercase, `clamp(52px, 10.5vw, 136px)`, `--tracking-display`, line-height 0.92, slammed to the left margin and edge-aligned to the rails.+- **Display:** Archivo 800, lowercase, `clamp(52px, 10.5vw, 136px)`, `--tracking-display`, line-height 1.0, slammed to the left margin and edge-aligned to the rails.- **Body:** Archivo 400 at 16px, line-height 1.5. One family; discipline comes from weight, scale and tracking, never from a second face.- **Labels, captions, table heads, meta, folios, units:** Archivo 500 at 13px, sentence case, `--color-muted`. Figures take `tabular-nums` in Archivo; mono appears only on figures that compare, if at all.- **The numeral voice:** Archivo 800 numerals at `clamp(7.5rem, 22vw, 18rem)` as objects, cropped by the band edge, at 6 to 10% ink, only when the numeral is a real figure (an issue, a year, a chapter) and a caption says which. One per page; art, not a heading.@@ -52,12 +52,12 @@ One dial, the signal ink, stated in the stamp (`grid: red`). `--color-focus` fol- The marks kit, every mark snapped to a column track or a type metric, under 5% painted area per viewport: the period square (0.52em), the 3px bar cut to a column width, the register mark (a 1px circle with a crosshair), the quarter-disc in a cell corner, stepped bars on the tracks, one 45-degree diagonal.- The plate, at most one per page: a full-bleed band flooded in the ink or near-black, carrying the poster moment. The rails continue across it at 12 to 18% paper alpha; zero radius, zero shadow, flush against the rules above and below.- Hairlines and ink rules do all the structure, zero cards: a solid ink rule tops a section; repeated units are equal cells divided by `border-inline-start` hairlines.-- Asymmetric occupancy: running text never spans more than 6 of the 12 columns; the rest carries the band's object or stays empty as designed air, and the occupied side alternates as the page descends.+- Asymmetric occupancy: running text never spans more than 6 of the 12 columns; the rest carries the band's object or stays empty as designed air, and the occupied side holds down the page, mirrored once at most.- The control pair: an ink-filled square block with paper text beside a 1px ink-outlined block whose outline moves to the signal ink on hover. `::selection` is the ink on paper (ink on yellow).## Motion-Grid-snapped, 180 to 200ms on `--ease-out`, no scroll reveals, no parallax. Hover: a row shifts to `--color-paper-2` and its title slides 8px; a mark answers the pointer with a snapped transform (a quarter-disc rotates 90 degrees, a stepped bar extends one track).+Grid-snapped, `--dur-short` on `--ease-out`, no scroll reveals, no parallax. Hover gives a link one answer: a row shifts to `--color-paper-2`, or a mark inside it takes a snapped transform (a quarter-disc rotates 90 degrees, a stepped bar extends one track).## Voice@@ -76,12 +76,12 @@ Rational, institutional: name the system, the place, the year.``````css-.rails { position: absolute; inset: 0; z-index: 0; pointer-events: none; max-width: 1280px; margin-inline: auto;- background-image: repeating-linear-gradient(to right, var(--color-rule) 0 1px, transparent 1px calc(100% / 12)); }-h1, h2 { font: var(--display-weight) clamp(52px, 10.5vw, 136px)/0.92 var(--font-display); letter-spacing: var(--tracking-display); text-transform: lowercase; }+.rails { position: absolute; inset: 0; z-index: 0; pointer-events: none; box-sizing: border-box; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);+ background: repeating-linear-gradient(to right, var(--color-rule) 0 1px, transparent 1px calc(100% / 12)) content-box; }+h1, h2 { font: var(--display-weight) clamp(52px, 10.5vw, 136px)/1 var(--font-display); letter-spacing: var(--tracking-display); text-transform: lowercase; }.plate { background: var(--color-accent); color: var(--color-accent-ink); position: relative; overflow: clip; }.plate::before { content: ""; position: absolute; inset: 0; pointer-events: none;background-image: repeating-linear-gradient(to right, color-mix(in oklab, var(--color-paper) 15%, transparent) 0 1px, transparent 1px calc(100% / 12)); }-.btn--secondary { border-radius: 0; border: 1px solid var(--color-ink); transition: border-color 180ms var(--ease-out); } .btn--secondary:hover { border-color: var(--color-accent); }+.btn--secondary { border-radius: 0; border: 1px solid var(--color-ink); transition: border-color var(--dur-short) var(--ease-out); } .btn--secondary:hover { border-color: var(--color-accent); }::selection { background: var(--color-accent); color: var(--color-accent-ink); }```diff --git a/skills/hallmark/references/themes/halftone.md b/skills/hallmark/references/themes/halftone.mdindex 7fcf84d..c17f344 100644--- a/skills/hallmark/references/themes/halftone.md+++ b/skills/hallmark/references/themes/halftone.md@@ -43,8 +43,8 @@ Committed: the spot colour carries the screens, the button and the cap; nothing## Faces-- **Display:** Ultra 400, roman, line-height 1.02, `--tracking-display`; 48px for section heads, 78 for the page, 84 to 220 for the one figure; tags at 22 to 24. One colour per head.-- **Body:** Chivo 400, 13.5 to 17px, line-height 1.55, in ink-2.+- **Display:** Ultra 400, roman, line-height 1.02, `--tracking-display`; 48px for section heads, `--text-display` for the page's head, 84 to 220 for the one figure; a batch tag's name at 22 to 24. One colour per head.+- **Body:** Chivo 400, 16 to 17px, line-height 1.55, in ink-2.- **Labels, tags, table heads, captions and the panel's small print:** Chivo 500 one step smaller, sentence case, untracked. The label's authority comes from the 3px rules and the fat slab. No mono on the page; figures are Chivo with `tabular-nums`.## Material@@ -80,9 +80,9 @@ The label: the fruit, the grams of sugar, the fridge by street. Blunt, sweet and```css.display { font: 400 var(--text-display)/1.02 var(--font-display); letter-spacing: var(--tracking-display); text-wrap: balance; }.halftone { background-image: radial-gradient(var(--color-dot) var(--halftone-dot), transparent calc(var(--halftone-dot) + 0.5px)); background-size: var(--halftone-size) var(--halftone-size); }-.fruit { aspect-ratio: 1; clip-path: circle(50%); mask: linear-gradient(35deg, black 30%, transparent 85%); }-.btn { padding: 14px 26px; border-radius: var(--radius-input); font: 700 14px var(--font-body); background: var(--color-accent); color: var(--color-accent-ink); }-.btn--secondary { background: none; color: var(--color-ink); padding: 14px 0 6px; border-radius: 0; border-bottom: var(--rule-bar) solid var(--color-accent); }+.fruit { aspect-ratio: 1; clip-path: circle(50%); mask: linear-gradient(35deg, var(--color-ink) 30%, transparent 85%); }+.btn { padding: var(--space-md) var(--space-lg); border-radius: var(--radius-input); font: 700 var(--text-sm) var(--font-body); background: var(--color-accent); color: var(--color-accent-ink); }+.btn--secondary { background: none; color: var(--color-ink); padding: var(--space-md) 0 var(--space-xs); border-radius: 0; border-bottom: var(--rule-bar) solid var(--color-accent); }.panel { border: var(--rule-bar) solid var(--color-ink); background: var(--color-paper-2); }.panel hr { border: 0; border-top: 8px solid var(--color-ink); }.list { border-top: var(--rule-bar) solid var(--color-ink); } .list > li { border-bottom: var(--rule-hair) solid var(--color-rule); }diff --git a/skills/hallmark/references/themes/hedgerow.md b/skills/hallmark/references/themes/hedgerow.mdindex a6baa10..ae9c343 100644--- a/skills/hallmark/references/themes/hedgerow.md+++ b/skills/hallmark/references/themes/hedgerow.md@@ -42,8 +42,8 @@ One dial, the colourway, stated in the stamp (`hedgerow: hedge`). The drawings f## Faces- **Display:** Prata 400, its only weight, line-height 1.1, no tracking, roman: names in rows at 15 to 22px, heads at 44 to 66px, a batch number as large as 260px. The wordmark is Prata uppercase tracked 0.04em. One colour per head.-- **Body:** Manrope 400 and 500, 13.5 to 17px, line-height 1.55, in `--color-ink-2`.-- **Small print:** Manrope 600 at 12.5 to 13px, sentence case, untracked, in `--color-muted`, for tags and month names; captions, table heads and meta are Manrope 500 one step smaller, sentence case. Mono appears only inside code; figures are Manrope tabular.+- **Body:** Manrope 400 and 500, 16 to 17px, line-height 1.55, in `--color-ink-2`.+- **Small print:** Manrope 500 at 12.5 to 13px, sentence case, untracked, in `--color-muted`, for tags, month names, captions, table heads and meta. Mono appears only inside code; figures are Manrope tabular.## Material@@ -68,12 +68,12 @@ A field guide's: the plant and where it grows, then how far and when only where- Never a filled or shaded illustration; specimens are lines and dots.- Never a bar chart; a quantity is a row of leaves.- Never a rounded card; the label is the only box, square, with its double keyline.-- Never a black ground; the dark is green at 24%, or plum in October.+- Never a black ground; the dark is green at 24%, or plum on `sloe`.## Build hint```html-<link href="https://fonts.googleapis.com/css2?family=Prata&family=Manrope:wght@400;500;600;700&display=swap" rel="stylesheet">+<link href="https://fonts.googleapis.com/css2?family=Prata&family=Manrope:wght@400;500;700&display=swap" rel="stylesheet">``````css@@ -83,7 +83,7 @@ A field guide's: the plant and where it grows, then how far and when only where.leaf.dried { background: var(--color-muted); }.label { background: var(--color-ink); color: var(--color-paper); border: 1.5px solid var(--color-paper);box-shadow: inset 0 0 0 6px var(--color-ink), inset 0 0 0 7px var(--color-paper); }-.btn { border-radius: var(--radius-pill); padding: 14px 26px; font-weight: 700; font-size: 14px;+.btn { border-radius: var(--radius-pill); padding: var(--space-sm) var(--space-lg); font-weight: 700; font-size: var(--text-sm);background: var(--color-accent); color: var(--color-accent-ink); }.btn--secondary { background: transparent; color: var(--color-accent); border: 1.5px solid var(--color-accent); }::selection { background: color-mix(in oklab, var(--color-accent) 30%, transparent); color: var(--color-ink); }diff --git a/skills/hallmark/references/themes/hum.md b/skills/hallmark/references/themes/hum.mdindex 69aff32..c7a4cf9 100644--- a/skills/hallmark/references/themes/hum.md+++ b/skills/hallmark/references/themes/hum.md@@ -44,13 +44,13 @@ Cream pulled toward pear-yellow, three accents that never blend, Chillax for eve## Material- Round, everywhere: cards at 20px, inputs at 12px, controls as pills. Radius is a per-build lever (28px for kids, 14px for a quiet tool); no corner is ever square.-- The press: the primary control is a solid colour edge under a soft blurred cast, never a negative spread. Hover lifts 2px and grows the edge to 6px; active presses down 3px and shrinks it to 1px. The secondary is a 1px `--color-rule` pill with no edge.-- Each accent owns a surface: pear is the primary action, cyan (at L 54, so it reads as type on cream) is links and hover tints, coral is the single high-energy moment as a fill with ink on it. They never blend; mint and lavender at most once each per page.+- The press: the primary control is a solid colour edge (an offset shadow with no blur) under a soft blurred cast. Hover lifts 2px and grows the edge to 6px; active presses down 3px and shrinks it to 1px. The secondary is a 1px `--color-rule` pill with no edge.+- Each accent owns a surface: pear is the primary action, cyan (at L 51, so it reads as type on cream) is links and hover tints, coral is the single high-energy moment as a fill with ink on it. They never blend; mint and lavender at most once each per page.- Emphasis in running text is a clipped background band with `box-decoration-break: clone` or weight 500; a head is one weight and one colour. One character mark per page, drawn in CSS or SVG, with a personality.## Motion-Spring posture declared: gate 12 allows the spring on the primary CTA and on the one character moment only, both on `--ease-spring`, with no waiver; everything else eases out on `--ease-snap`. The press runs 140ms on hover, 70ms on active, no `scale()`. Cards lift 4px over 220ms. The character mark breathes at rest on a 4s period. Nothing else moves: no count-up, no staggered heads, no burst.+Spring posture declared: gate 12 allows the spring on the primary CTA and on the one character moment only, both on `--ease-spring`, with no waiver; everything else eases out on `--ease-snap`. The press runs `--dur-micro` on hover and half that on active, no `scale()`; a card that is a link lifts 4px over `--dur-short`. The character mark breathes at rest on an 8s period, the theme's one ambient loop: it stops under reduced motion and off-screen, pauses on hover and focus, and carries a visible pause control. Nothing else moves: no count-up, no staggered heads, no burst.## Voice@@ -67,16 +67,16 @@ Warm, smart, casual, direct. Sentence case, verbs over nouns, honest numbers onl## Build hint```html-<link href="https://api.fontshare.com/v2/css?f[]=chillax@400,500,600,700&display=swap" rel="stylesheet">+<link href="https://api.fontshare.com/v2/css?f[]=chillax@400,500,600&display=swap" rel="stylesheet">``````cssh1, h2, h3 { font-weight: var(--display-weight); letter-spacing: var(--tracking-display); }-.btn { background: var(--color-accent); color: var(--color-accent-ink); font-weight: 600; border: 0; border-radius: var(--radius-pill);+.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); font-weight: 600; border: 0; border-radius: var(--radius-pill);box-shadow: 0 4px 0 0 var(--color-accent-deep), 0 6px 12px -3px color-mix(in oklab, var(--color-glow) 45%, transparent);- transition: transform 140ms var(--ease-spring), box-shadow 140ms var(--ease-spring); }-.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 0 var(--color-accent-deep), 0 12px 22px -4px color-mix(in oklab, var(--color-glow) 45%, transparent); }-.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 0 var(--color-accent-deep); transition-duration: 70ms; }+ transition: transform var(--dur-micro) var(--ease-spring), box-shadow var(--dur-micro) var(--ease-spring); }+.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 0 var(--color-accent-deep), 0 12px 22px -4px color-mix(in oklab, var(--color-glow) 45%, transparent); }+.btn--primary:active { transform: translateY(3px); box-shadow: 0 1px 0 0 var(--color-accent-deep); transition-duration: calc(var(--dur-micro) / 2); }a { color: var(--color-accent-2); }::selection { background: color-mix(in oklab, var(--color-accent) 60%, transparent); color: var(--color-ink); }```diff --git a/skills/hallmark/references/themes/ink.md b/skills/hallmark/references/themes/ink.mdindex 5a741c2..f7de69b 100644--- a/skills/hallmark/references/themes/ink.md+++ b/skills/hallmark/references/themes/ink.md@@ -43,8 +43,8 @@ Two colourways, both light, stated in the stamp (`ink: paper` or `ink: board`).## Faces- **Display:** Epilogue 700, `--tracking-display`, line-height 1.02, up to 4.5rem; the wordmark at 44px and -0.05em. One colour per head.-- **Body:** Epilogue 400 at 16px, line-height 1.55, in `--color-muted`; row titles, links and pills at 500 to 600.-- **Labels, captions, table heads, meta:** Epilogue 500 one step smaller, sentence case, untracked. Never mono, never uppercase.+- **Body:** Epilogue 400 at 16px, line-height 1.55, in `--color-muted`; row titles, links and pills at 600.+- **Labels, captions, table heads, meta:** Epilogue 400 one step smaller, sentence case, untracked. Never mono, never uppercase.- **Outlier:** IBM Plex Mono only inside code and on figures that compare in a column (loan counts, a card number, the rota's times). Big figures and prices are Epilogue 700 in the teal.## Material@@ -54,7 +54,7 @@ Two colourways, both light, stated in the stamp (`ink: paper` or `ink: board`).- The one grid: the week in seven columns cut by hairlines, and the rota cut the same way. Both are calendars; nothing else is a grid.- The library card: the one yellow surface (`--color-sun`), 8px corners, a dashed rule under its head, and the page's only shadow. Once per page.- The map: a grid of 12px rounded blocks in `--color-paper-3` with one ink block for the shop, cut by two paper-coloured roads 8px wide; that is the whole object. Never a photograph.-- The plane: a single-path paper plane at 22px, in the ink or the teal, the theme's one drawn object. The control pair is an ink-filled primary beside a 1px-bordered secondary on `--color-paper-2`, both at 10px.+- The plane: a single-path paper plane at 22px, in the ink or the teal, the theme's one pictogram. The control pair is an ink-filled primary beside a 1px-bordered secondary on `--color-paper-2`, both at 10px.## Motion@@ -74,19 +74,19 @@ The desk volunteer's: what is in, when it is back, who is on Saturday. Short, ki## Build hint```html-<link href="https://fonts.googleapis.com/css2?family=Epilogue:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">+<link href="https://fonts.googleapis.com/css2?family=Epilogue:wght@400;600;700&family=IBM+Plex+Mono:wght@400&display=swap" rel="stylesheet">``````css-.display { font: 700 var(--text-display)/1.02 var(--font-display); letter-spacing: var(--tracking-display); }+.display { font: 700 min(var(--text-display), 4.5rem)/1.02 var(--font-display); letter-spacing: var(--tracking-display); }.rows { border-top: 1px solid var(--color-ink); }-.rows > div { display: grid; gap: 1rem; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--color-rule); font-size: 14px; }+.rows > div { display: grid; gap: var(--space-md); align-items: center; padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-rule); font-size: var(--text-sm); }.rows > div b { font-weight: 600; }-.pill { display: inline-flex; padding: 6px 11px; border-radius: var(--radius-pill); font-size: 12.5px; font-weight: 600; background: var(--color-paper-3); }+.pill { display: inline-flex; padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); font-size: 12.5px; font-weight: 600; background: var(--color-paper-3); }.pill--in { background: var(--color-accent-soft); color: var(--color-accent-soft-ink); }.pill--out { background: transparent; border: 1px solid var(--color-rule); color: var(--color-muted); }.pill--on { background: var(--color-ink); color: var(--color-paper); }-.btn { border-radius: 10px; padding: 0.7rem 1.125rem; font-weight: 600; border: 1px solid var(--color-rule); background: var(--color-paper-2); }+.btn { border-radius: 10px; padding: var(--space-sm) var(--space-md); font-weight: 600; border: 1px solid var(--color-rule); background: var(--color-paper-2); }.btn--primary { background: var(--color-ink); color: var(--color-paper); border-color: var(--color-ink); }.plane path { fill: currentColor; }::selection { background: var(--color-accent-soft); color: var(--color-accent-soft-ink); }diff --git a/skills/hallmark/references/themes/kiln.md b/skills/hallmark/references/themes/kiln.mdindex a06fe6c..f179cc0 100644--- a/skills/hallmark/references/themes/kiln.md+++ b/skills/hallmark/references/themes/kiln.md@@ -50,14 +50,14 @@ 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 smoked plate: one flat panel in `--color-paper-2` with a 1px `--color-rule` edge and no shadow (a border and a soft shadow never share a box), 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.+- 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 (the genre's two blooms), both inside plates, never on the ground.+- The smoked plate: one flat panel in `--color-paper-2` with a 1px `--color-rule` edge and no shadow, beside a heat panel on the ground, never inside one (gate 4), never with a title bar, never blurred. 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-Slow and thermal: plate colours interpolate over 400ms ease-out when the slider moves. Nothing else moves; the grain and the heat are static, nothing pulses.+Slow and thermal: plate colours interpolate over `--dur-long` on `--ease-out` when the slider moves. Nothing else moves; the grain and the heat are static, nothing pulses.## Voice@@ -67,8 +67,7 @@ Calm and physical: degrees, cones, minutes, the schedule.- Never the heat gradient on the page ground or behind a headline; heat belongs inside a plate.- Never orange type: the accent is only ever a fill (one pill, one readout's well), and every letter stays cream.-- Never a hard-edged or square plate; Kiln is 28px and larger.-- Never one coloured or italic word inside a head; break the line instead.+- Never a hard-edged or square plate; a heat plate is 28px or rounder.## Build hint@@ -77,14 +76,14 @@ Calm and physical: degrees, cones, minutes, the schedule.``````css-.display { font: 400 var(--text-display)/1.02 var(--font-display); font-variation-settings: "opsz" 144; letter-spacing: var(--tracking-display); }+.display { font: 400 min(var(--text-display), 4.5rem)/1.02 var(--font-display); font-variation-settings: "opsz" 144; letter-spacing: var(--tracking-display); }.plate { position: relative; overflow: hidden; border-radius: var(--radius-card); color: var(--heat-6); isolation: isolate; background-color: var(--heat-1);background-image: radial-gradient(in oklch 40% 30% at 86% 104%, color-mix(in oklab, var(--heat-6) 70%, transparent), transparent 70%),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"); }.smoke { border-radius: 16px; background: var(--color-paper-2); border: 1px solid var(--color-rule); }-.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 { display: inline-flex; align-items: center; height: 50px; padding: 0 var(--space-lg); 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: color-mix(in oklab, var(--color-accent) 35%, transparent); }```diff --git a/skills/hallmark/references/themes/ledger.md b/skills/hallmark/references/themes/ledger.mdindex 1e6145e..26cb531 100644--- a/skills/hallmark/references/themes/ledger.md+++ b/skills/hallmark/references/themes/ledger.md@@ -38,7 +38,7 @@ Three dials, each stated in the stamp (`ledger: navy/teal-brass/banded`); two Le| Dial | Options || --- | --- || **Binding** (the ground; every neutral carries its hue) | `navy` (default): `oklch(20% 0.025 255)`. `bordeaux`: `oklch(19% 0.032 15)`. `cloth`: `oklch(19% 0.024 168)` |-| **Inks** (credit, then debit) | `teal-brass` (default): `oklch(78% 0.12 185)` and `oklch(76% 0.115 82)`. `sage-clay`: `oklch(76% 0.10 150)` and `oklch(72% 0.11 45)`. `ice-oxide`: `oklch(82% 0.085 215)` and `oklch(64% 0.14 38)`. Both inks sit at least 40 degrees of hue from the binding, so bordeaux takes teal-brass only |+| **Inks** (credit, then debit) | `teal-brass` (default): `oklch(78% 0.12 185)` and `oklch(76% 0.115 82)`. `sage-clay`: `oklch(76% 0.10 150)` and `oklch(72% 0.11 45)`. `ice-oxide`: `oklch(82% 0.085 215)` and `oklch(64% 0.14 38)`. Both inks sit at least 40 degrees of hue from the binding, so bordeaux takes teal-brass only and cloth takes ice-oxide only || **Ruling** (the sheet) | `banded` (default): row bands in `--color-paper-3` at 28 to 34px. `columnar`: 1px vertical money columns the full height of a band. `journal`: a two-page spread with a gutter rule, left page narrating, right page tabulating |Credit is money in: it takes the headline figure and the one solid button. Debit is money out: set on the figure itself, never on a background. Debits are never red; a figure with no side takes `--color-ink`; a third meaning uses a label, not a hue.@@ -61,7 +61,7 @@ Credit is money in: it takes the headline figure and the one solid button. Debit## Motion-Near-still, the way a printed page behaves: linked rows shift one paper step on hover; buttons dip 1px on active; one live dot may pulse over 2.4s, once per page. Nothing counts up, nothing reveals.+Near-still, the way a printed page behaves: linked rows shift one paper step on hover; buttons dip 1px on active; a dot that marks a live feed, once per page, holds still. Nothing counts up, nothing reveals, nothing pulses.## Voice@@ -71,7 +71,7 @@ Declarative, numeric, audited: the figure, the folio, the lock time, what is not- Never a dashboard: no KPI card grids, no widget walls; never a proportional numeral on a figure.- Never a red debit and never a third hue; two inks, two jobs.-- Never a total that does not foot and never an invented statistic.+- Never a total that does not foot.- Never a pill, and never hide the ruling; deleting it as scaffolding removes the theme.## Build hint@@ -82,7 +82,7 @@ Declarative, numeric, audited: the figure, the folio, the lock time, what is not```css.ruled { background-image: repeating-linear-gradient(to bottom, transparent 0 31px, var(--color-paper-3) 31px 62px); }-.fig, th { font-family: var(--font-outlier); font-variant-numeric: tabular-nums; }+.fig { font-family: var(--font-outlier); font-variant-numeric: tabular-nums; }th { font-size: 12px; font-weight: 500; color: var(--color-muted); }.cr { color: var(--color-accent); } .dr { color: var(--color-accent-2); }.total { border-top: 1px solid var(--color-rule); }diff --git a/skills/hallmark/references/themes/loom.md b/skills/hallmark/references/themes/loom.mdindex b3584b7..6d661cb 100644--- a/skills/hallmark/references/themes/loom.md+++ b/skills/hallmark/references/themes/loom.md@@ -14,7 +14,7 @@ pictured: Narrative Workflow, Stage hero# Loom-Ecru paper, a Caslon head over a Hanken Grotesk body, one deep indigo that arrives as a band, a bar or a button and never as a wash, and a comb of 1px vertical threads at a 12px pitch as the only texture. Sand and oat are the other cloths and appear only as swatches.+Ecru paper, a Caslon head over a Hanken Grotesk body, one deep indigo that arrives as a band, a bar or a button and never as a wash, and a comb of 1px vertical threads at a 12px pitch as the only texture. Sand (`--color-paper-3`) and oat are the other cloths and appear only as swatches.## Tokens@@ -57,7 +57,7 @@ Three colourways, set once per page and named in the stamp (`loom: ecru`).## Motion-Nothing moves except state. Hover raises a link's 2px underline into `--color-accent`; a swatch's stripes shift one step on hover, 200ms ease-out, once.+Nothing moves except state. Hover raises a link's 2px underline into `--color-accent`; a swatch that is a link shifts its stripes one step on hover, over `--dur-short` on `--ease-out`, once.## Voice@@ -74,7 +74,7 @@ The studio speaking plainly: the cloth, the width, the days per stage, the Satur## Build hint```html-<link href="https://fonts.googleapis.com/css2?family=Libre+Caslon+Text:ital,wght@0,400;0,700;1,400&family=Hanken+Grotesk:wght@400;500&family=DM+Mono:wght@400;500&display=swap" rel="stylesheet">+<link href="https://fonts.googleapis.com/css2?family=Libre+Caslon+Text:ital,wght@0,400;1,400&family=Hanken+Grotesk:wght@400;500&family=DM+Mono:wght@400;500&display=swap" rel="stylesheet">``````css@@ -83,9 +83,9 @@ The studio speaking plainly: the cloth, the width, the days per stage, the Satur.count { font: 500 12px/1 var(--font-outlier); font-variant-numeric: tabular-nums; }.comb { background-image: repeating-linear-gradient(90deg, var(--color-thread) 0 1px, transparent 1px 12px); }.band { background: var(--color-accent) repeating-linear-gradient(90deg, color-mix(in oklab, var(--color-paper) 16%, transparent) 0 1px, transparent 1px 12px); color: var(--color-accent-ink); }-.btn { display: inline-flex; align-items: center; padding: 16px 26px; font: 500 14px/1 var(--font-body); background: var(--color-accent); color: var(--color-accent-ink); }-.link { font-weight: 500; font-size: 14px; padding: 6px 0; border-bottom: 2px solid currentColor; }+.btn { display: inline-flex; align-items: center; padding: var(--space-md) var(--space-lg); font: 500 var(--text-sm)/1 var(--font-body); background: var(--color-accent); color: var(--color-accent-ink); }+.link { font-weight: 500; font-size: var(--text-sm); padding: var(--space-2xs) 0; border-bottom: 2px solid currentColor; }.sample { border: 1px dashed var(--color-rule); }-.bar { height: 32px; background: var(--color-accent); color: var(--color-accent-ink); display: flex; align-items: center; padding: 0 12px; }+.bar { height: 32px; background: var(--color-accent); color: var(--color-accent-ink); display: flex; align-items: center; padding: 0 var(--space-sm); }::selection { background: color-mix(in oklab, var(--color-accent) 25%, transparent); }```diff --git a/skills/hallmark/references/themes/lumen.md b/skills/hallmark/references/themes/lumen.mdindex a5ea36c..6a43ca8 100644--- a/skills/hallmark/references/themes/lumen.md+++ b/skills/hallmark/references/themes/lumen.md@@ -33,12 +33,12 @@ A cool-violet ground under a 4% blueprint grid, one light artefact built in CSS}```-Two drops, stated in the stamp (`lumen: night`); consecutive Lumen pages use different drops unless the brief pins one. `--color-accent-2` is the verb colour on both.+Two drops, stated in the stamp (`lumen: night`); consecutive Lumen pages use different drops unless the brief pins one. `--color-accent-2` is the verb colour on both, darkened on day to `oklch(56% 0.16 18)` to hold contrast on bone.| Drop | Ground and ink | Accent | The light || --- | --- | --- | --- || **night** (default) | `oklch(13% 0.014 265)` under `oklch(96% 0.006 262)` | brass `oklch(76% 0.17 50)` | emits: the inner gradient pulses slowly |-| **day** | bone `oklch(97% 0.008 265)` under `oklch(18% 0.014 265)` | indigo `oklch(46% 0.24 268)` with the bone as its text | refracts: one accent line enters the object and leaves as three hairlines, static after one 320ms reveal |+| **day** | bone `oklch(97% 0.008 265)` under `oklch(18% 0.014 265)` | indigo `oklch(46% 0.24 268)` with the bone as its text | refracts: one accent line enters the object and leaves as three hairlines, drawn once, then still |## Faces@@ -50,14 +50,14 @@ Two drops, stated in the stamp (`lumen: night`); consecutive Lumen pages use dif## Material-- The blueprint grid: a hairline grid at about 4% over the ground; nothing is louder than the light source.+- The blueprint grid: a hairline grid at about 4% over the ground, the theme's declared geometry (stamp `waive 47c`); nothing is louder than the light source.- The light artefact, one per page: a rounded rectangle or a circle with a 1px `--color-rule` edge and `overflow: hidden`, holding one radial gradient from the accent at 60% alpha to transparent at 70% (the emit) or one 1px accent line that splits into three hairlines past the centre (the refraction). That is the whole object; the ground stays flat and no bloom leaves it.- Hairlines contain, shadows carry offset and blur, radii small; elevation is a lightness step from paper to paper-3.- The control pair: one solid accent pill with `--color-accent-ink` text beside a hairline-bordered pill in `--color-rule`, both lowercase.## Motion-The night light pulses 3% in intensity on an 8s period (an ambient loop, `craft.md` § 5) and never rotates; the day light reveals once over 320ms then holds. The verb underline draws in over 320ms after a 900ms delay. Nothing else moves: no rising heads, no stagger.+The night light pulses 3% in intensity on an 8s period, the theme's one ambient loop (`craft.md` § 5): it never rotates, stops under reduced motion and off-screen, pauses on hover and focus, and carries a visible pause control. The verb's underline draws in once over `--dur-long`, the page's one reveal; on the day drop the refraction draws in with it, then holds. Nothing else moves: no rising heads, no stagger.## Voice@@ -81,12 +81,12 @@ Engineered, plain, specific: the model, the latency, the region. No exclamationbody { font-family: var(--font-body); font-variant-numeric: tabular-nums; color: var(--color-ink); background-size: 48px 48px;background-image: linear-gradient(var(--rule-blueprint) 1px, transparent 1px), linear-gradient(90deg, var(--rule-blueprint) 1px, transparent 1px); }h1, h2, h3, nav, .btn, .label { text-transform: lowercase; }-h1, h2, h3 { font: 400 clamp(2.5rem, 5vw + 1rem, 5rem)/1.05 var(--font-display); letter-spacing: var(--tracking-display); }+.display { font: 400 var(--text-display)/1.05 var(--font-display); letter-spacing: var(--tracking-display); }.readout { font-family: var(--font-outlier); font-size: 12px; text-transform: lowercase; font-variant-numeric: tabular-nums; color: var(--color-muted); }.lamp { border: 1px solid var(--color-rule); border-radius: var(--radius-card); overflow: hidden; background: radial-gradient(circle at 50% 60%, color-mix(in oklab, var(--color-accent) 60%, transparent), transparent 70%) var(--color-paper-2); }-.verb { color: var(--color-accent-2); }-.verb::after { content: ""; display: block; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 320ms var(--ease-out) 900ms; }-.is-in .verb::after { transform: scaleX(1); }+.verb { display: inline-block; color: var(--color-accent-2); }+.verb::after { content: ""; display: block; height: 1px; background: currentColor; transform-origin: left; animation: draw var(--dur-long) var(--ease-out) both; }+@keyframes draw { from { transform: scaleX(0); } }.btn--primary { border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); }::selection { background: color-mix(in oklab, var(--color-accent) 30%, transparent); }```diff --git a/skills/hallmark/references/themes/manifesto.md b/skills/hallmark/references/themes/manifesto.mdindex 969fa18..c95ab62 100644--- a/skills/hallmark/references/themes/manifesto.md+++ b/skills/hallmark/references/themes/manifesto.md@@ -14,7 +14,7 @@ pictured: Manifesto, Ledge hero# Manifesto-A warm near-black ground, Anton uppercase up to 9rem leaded at 0.86 and slammed to the left margin, a Public Sans body at 1rem, and one red word inside the hero block. The whole drama is the gap between 9rem caps and 1rem body.+A warm near-black ground, Anton uppercase up to 9rem leaded at 0.92 and slammed to the left margin, a Public Sans body at 1rem, and one red word inside the hero block. The whole drama is the gap between 9rem caps and 1rem body.## Tokens@@ -34,8 +34,8 @@ A warm near-black ground, Anton uppercase up to 9rem leaded at 0.86 and slammed## 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; 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`.+- **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; any other head that can wrap leads at 1.02 (55a). 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 and 600, 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.## Material@@ -48,7 +48,7 @@ A warm near-black ground, Anton uppercase up to 9rem leaded at 0.86 and slammed## Motion-One clip reveal: the hero block clip-reveals upward once (`clip-path: inset()`, never a soft fade) over 500ms. Nothing else moves; no bounce, no parallax, no red pulsing.+One clip reveal: the hero block clip-reveals upward once (`clip-path: inset()`, never a soft fade) over `--dur-long`. Nothing else moves; no bounce, no parallax, no red pulsing.## Voice@@ -58,25 +58,26 @@ Imperative, short, declarative: fighting words, verbs over adjectives, one red w- Never a second accent; red is the only colour.- Never a red flood beyond the single inverted surface; red is a signal, not a background.-- Never a light ground; the broadside is dark.+- Never a light ground; the sheet stays dark.- Never ornament: no fleurons, stickers, hard-offset shadows or tinted-paper tricks.- Never a serif, lowercase or title-case display; the voice is uppercase and declarative.## Build hint```html-<link href="https://fonts.googleapis.com/css2?family=Anton&family=Public+Sans:wght@400;500;600;700&display=swap" rel="stylesheet">+<link href="https://fonts.googleapis.com/css2?family=Anton&family=Public+Sans:wght@400;500;600&display=swap" rel="stylesheet">``````cssbody { font-family: var(--font-body); color: var(--color-ink-2); }.display { font: 400 var(--text-display)/var(--lh-tight) var(--font-display); text-transform: uppercase;letter-spacing: var(--tracking-display); color: var(--color-ink); }+.display > span { display: block; white-space: nowrap; }.display .hot { color: var(--color-accent-text); }.rule-red { height: var(--rule-bar); background: var(--color-accent); border: 0; }.btn--primary { border-radius: 0; background: var(--color-accent); color: var(--color-accent-ink); font-weight: 600; }.btn--secondary { border-radius: 0; border: var(--rule-hair) solid var(--color-ink-2); color: var(--color-ink); font-weight: 600; }-.reveal { clip-path: inset(0 0 100% 0); transition: clip-path 500ms var(--ease-out); }-.reveal.is-in { clip-path: inset(0 0 0 0); }+.reveal { animation: wipe var(--dur-long) var(--ease-out) both; }+@keyframes wipe { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }::selection { background: var(--color-accent); color: var(--color-accent-ink); }```diff --git a/skills/hallmark/references/themes/midnight.md b/skills/hallmark/references/themes/midnight.mdindex 343d7ff..d657709 100644--- a/skills/hallmark/references/themes/midnight.md+++ b/skills/hallmark/references/themes/midnight.md@@ -44,11 +44,11 @@ A midnight-blue ground, cool near-white ink, Geist 300 set large and airy over t- Radius 8px, small and even, on surfaces, controls, chips and inputs alike; neither pill nor ruler-sharp.- The signal under 5%: the one primary control, a link hover, an active nav item, a single large figure. Never a wash, never a gradient, never a second light.- The control pair: an azure-filled primary with `--color-accent-ink` text beside a secondary bordered in `--color-rule-2`, both at 8px.-- The object family: instrument panels. A console pane, a run log, a metric strip, a settings sheet, each a `paper-2` surface with a hairline seam and a plain Geist header. Nothing glass, nothing blurred; sections far apart, one idea per screen.+- The object family: instrument panels. A console pane, a run log, a metric strip, a settings sheet, each a `paper-2` surface with a hairline seam and a plain Geist header. Nothing glass, nothing blurred.## Motion-One settle: the hero fades from 0.6 to 1 over 420ms ease-out, once, from an already-visible default. Hover: an azure underline grows under a link; a border lifts to `--color-rule-2` on a focusable surface. No slide, no parallax, no autoplay.+One settle: the hero fades from 0.6 to 1 over `--dur-long` on `--ease-out`, once, from an already-visible default. Hover: a link's underline turns azure; a border lifts to `--color-rule-2` on a focusable surface. No slide, no parallax, no autoplay.## Voice@@ -70,11 +70,11 @@ Cool, spare, a touch cerebral. Name the command or the number. Never hype.```css.display { font: var(--display-weight) var(--text-display)/1.05 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); }-.panel { background: var(--color-paper-2); border: 1px solid var(--color-rule); border-radius: var(--radius-card); }-.panel--raised { background: var(--color-paper-3); box-shadow: var(--shadow-card); }-.btn { border-radius: var(--radius-card); padding: 0.7rem 1.1rem; font-weight: 500; }+.panel { background: var(--color-paper-2); color: var(--color-ink); border: 1px solid var(--color-rule); border-radius: var(--radius-card); }+.panel--raised { background: var(--color-paper-3); color: var(--color-ink); border-color: transparent; box-shadow: var(--shadow-card); }+.btn { border-radius: var(--radius-card); padding: var(--space-sm) var(--space-md); font-weight: 500; }.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }.btn--secondary { border: 1px solid var(--color-rule-2); color: var(--color-ink); }-a:hover { text-decoration-color: var(--color-accent); text-underline-offset: 0.2em; }+a:hover { text-decoration-color: var(--color-accent); }::selection { background: color-mix(in oklab, var(--color-accent) 30%, transparent); color: var(--color-ink); }```diff --git a/skills/hallmark/references/themes/newsprint.md b/skills/hallmark/references/themes/newsprint.mdindex fc6cddc..5bb0a45 100644--- a/skills/hallmark/references/themes/newsprint.md+++ b/skills/hallmark/references/themes/newsprint.md@@ -43,8 +43,8 @@ Warm cream stock, a Zilla Slab 700 head over Spectral columns split by a hairlin- Columns split by a hairline: the lede flows in two or three columns with `column-rule: 1px solid var(--color-rule)`, never as one wide wall, and stays short enough that its screen holds 80 words or fewer (58); the long text belongs to the article, not the front page.- The double rule: two 1px lines in `--color-rule-2` with a 2px gap, the heaviest divider the theme owns; hairlines carry ordinary breaks, the double rule the major ones.- The drop cap: a Zilla Slab initial floated about three lines tall in `--color-ink` or brick, one per page.-- Rules and whitespace, no cards: radius 0, no shadow. A pulled line hangs between two hairlines with a brick indent. The brick under 5%: a rule tick, a section marker, the link, a folio, never a fill.-- The control pair: an ink-filled rectangle beside one ruled top and bottom in ink, both square. Texture, if any, is the faintest fibre grain from `texture.md` § Grain, scoped to one card, off by default.+- Rules and whitespace, no cards: radius 0, no shadow. A pulled line hangs between two hairlines with a brick indent. The brick under 5%: a rule tick, the link, a folio, never a fill.+- The control pair: an ink-filled rectangle beside one ruled top and bottom in ink, both square. Texture, if any, is the faintest fibre grain from `texture.md` § Grain, scoped to one band, off by default.## Motion@@ -52,7 +52,7 @@ Nothing moves except state: a brick underline grows under a link on hover. No re## Voice-Specific, declarative, a dry editorial wit. Name the section, the date, the fact.+Specific, declarative, a dry editorial wit. Name the place, the date, the fact.## Do-nots@@ -65,15 +65,15 @@ Specific, declarative, a dry editorial wit. Name the section, the date, the fact## Build hint```html-<link href="https://fonts.googleapis.com/css2?family=Zilla+Slab:ital,wght@0,600;0,700;1,600&family=Spectral:ital,wght@0,400;0,500;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">+<link href="https://fonts.googleapis.com/css2?family=Zilla+Slab:wght@700&family=Spectral:ital,wght@0,400;0,500;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">``````css.display { font: var(--display-weight) var(--text-display)/1.05 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); }-.rule--double { height: 4px; border-top: 1px solid var(--color-rule-2); border-bottom: 1px solid var(--color-rule-2); }-.columns { columns: 2; column-gap: 2.5rem; column-rule: 1px solid var(--color-rule); }+.rule--double { height: 2px; border-top: 1px solid var(--color-rule-2); border-bottom: 1px solid var(--color-rule-2); }+.columns { columns: 2; column-gap: var(--space-xl); column-rule: 1px solid var(--color-rule); }.lede::first-letter { float: left; font: 700 3.4em/0.8 var(--font-display); padding-right: 0.06em; }-.btn { border-radius: 0; padding: 0.7rem 1.2rem; font: 600 0.9375rem/1 var(--font-display); }+.btn { border-radius: 0; padding: var(--space-md) var(--space-lg); font: 700 0.9375rem/1 var(--font-display); }.btn--primary { background: var(--color-ink); color: var(--color-paper); }.btn--secondary { border-block: 1px solid var(--color-ink); color: var(--color-ink); }a { color: var(--color-accent-text); text-decoration-color: var(--color-accent); text-underline-offset: 0.16em; }diff --git a/skills/hallmark/references/themes/overprint.md b/skills/hallmark/references/themes/overprint.mdindex 49fe142..51cf0bd 100644--- a/skills/hallmark/references/themes/overprint.md+++ b/skills/hallmark/references/themes/overprint.md@@ -26,7 +26,7 @@ Newsprint stock, Anybody set wide and heavy in caps, a teal-blue pass and an ora--color-accent: oklch(70% 0.09 215); --color-accent-ink: oklch(18% 0.006 60); --color-focus: oklch(45% 0.08 220);--color-accent-2: oklch(73% 0.18 55); --color-accent-2-ink: oklch(18% 0.006 60);--color-mix: oklch(42% 0.09 113);- --blend: multiply; --texture-opacity: 0.07;+ --blend: multiply; --texture-opacity: 0.05;--font-display: "Anybody", ui-sans-serif, sans-serif; --font-body: "Archivo", ui-sans-serif, sans-serif;--font-outlier: "Archivo Narrow", ui-sans-serif, sans-serif;--radius-card: 0; --radius-pill: 0; --rule-hair: 1px; --rule-bar: 3px;@@ -40,13 +40,13 @@ Pass 1 (teal-blue) takes the main button and free; pass 2 (orange) takes sold-ou| Stock | Paper and ink | The two passes || --- | --- | --- || **Newsprint** (default) | the tokens above, multiply | teal-blue and orange, crossing in olive (`--color-mix`) |-| **Kraft** | brown `oklch(79% 0.055 75)` under `oklch(22% 0.02 60)`, multiply, grain 0.08 | the same two passes; the brown darkens them, so type stays off the shapes |-| **Black stock** | `oklch(20% 0.01 280)` under `oklch(95% 0.01 90)`; the blend flips to screen so the overlap goes pale; grain 0.08 | yellow `oklch(88% 0.17 95)` and aqua `oklch(78% 0.13 200)`; fills carry the stock black, focus takes the aqua |+| **Kraft** | brown `oklch(79% 0.055 75)` under `oklch(22% 0.02 60)`, multiply, grain 0.05 | the same two passes; the brown darkens them, so type stays off the shapes |+| **Black stock** | `oklch(20% 0.01 280)` under `oklch(95% 0.01 90)`; the blend flips to screen so the overlap goes pale; grain 0.05 | yellow `oklch(88% 0.17 95)` and aqua `oklch(78% 0.13 200)`; fills carry the stock black, focus takes the aqua |## Faces-- **Display:** Anybody 800 to 900, set wide (`--display-stretch`, 130 to 150%), uppercase, line-height 1.02, `--tracking-display`, from 40px for a section head to 160px for a door time; figures and prices too. Wide caps need room: a few words a line.-- **Body:** Archivo 400 to 600, 16 to 17px, line-height 1.5.+- **Display:** Anybody 900, set wide (`--display-stretch`, 130 to 150%), uppercase, line-height 1.02, `--tracking-display`, from 40px for a section head to 160px for a door time; figures and prices too. Wide caps need room: a few words a line.+- **Body:** Archivo 400 and 600, 16 to 17px, line-height 1.5.- **Small print:** Archivo Narrow 600 at 12 to 13px, sentence case, untracked, for days, hours, table heads and the stub, the theme's outlier. Captions and meta are Archivo. No mono anywhere.## Material@@ -59,7 +59,7 @@ Pass 1 (teal-blue) takes the main button and free; pass 2 (orange) takes sold-ou## Motion-The press does not animate. A bill swaps its date on click, a door clock ticks once a second. The shapes print once and stay; nothing reveals, floats or loops.+The press does not animate. A bill swaps its date on click; a door clock is set on load and does not tick. The shapes print once and stay; nothing reveals, floats or loops.## Voice@@ -76,21 +76,21 @@ The bill on the wall: the room, the door time, the price, sold out or free.## Build hint```html-<link href="https://fonts.googleapis.com/css2?family=Anybody:wdth,[email protected],800..900&family=Archivo:wght@400;500;600&family=Archivo+Narrow:wght@600&display=swap" rel="stylesheet">+<link href="https://fonts.googleapis.com/css2?family=Anybody:wdth,[email protected],900&family=Archivo:wght@400;600&family=Archivo+Narrow:wght@600&display=swap" rel="stylesheet">``````css.display { font: 900 var(--text-display)/1.02 var(--font-display); font-stretch: var(--display-stretch); text-transform: uppercase; letter-spacing: var(--tracking-display); color: var(--color-ink); }.print { position: relative; }-.print > .display { position: relative; z-index: 1; }+.print > .display { position: relative; z-index: var(--z-base); }.pass { position: absolute; mix-blend-mode: var(--blend); pointer-events: none; }.pass--1 { background: var(--color-accent); }.pass--2 { background: var(--color-accent-2); border-radius: 50%; }.small { font: 600 12.5px var(--font-outlier); color: var(--color-muted); }-.btn { padding: 16px 28px; font: 600 14px var(--font-outlier); letter-spacing: 0.04em; text-transform: uppercase; }+.btn { padding: var(--space-md) var(--space-lg); font: 600 var(--text-sm) var(--font-outlier); letter-spacing: 0.04em; text-transform: uppercase; }.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }.btn--secondary { box-shadow: inset 0 0 0 2px var(--color-ink); color: var(--color-ink); }.list { border-top: var(--rule-bar) solid var(--color-ink); } .list > li { border-bottom: var(--rule-hair) solid var(--color-rule); }-.stamp { display: inline-block; border: 2px solid var(--color-ink); outline: 1px solid var(--color-ink); outline-offset: -5px; padding: 6px 12px; rotate: -2deg; }+.stamp { display: inline-block; border: 2px solid var(--color-ink); outline: 1px solid var(--color-ink); outline-offset: -5px; padding: var(--space-xs) var(--space-sm); rotate: -2deg; }::selection { background: color-mix(in oklab, var(--color-accent-2) 40%, transparent); }```diff --git a/skills/hallmark/references/themes/pasteup.md b/skills/hallmark/references/themes/pasteup.mdindex 709cce8..5dc4f67 100644--- a/skills/hallmark/references/themes/pasteup.md+++ b/skills/hallmark/references/themes/pasteup.md@@ -58,7 +58,7 @@ The blue reads as type on kraft and carries white type as a fill. Three boards,## Motion-Paper physics only: a button drops 1px into its offset on hover and 4px on press over 90ms. Nothing floats, nothing reveals.+Paper physics only: a button drops 1px into its offset on hover and 4px on press over `--dur-micro`. Nothing floats, nothing reveals.## Voice@@ -85,9 +85,9 @@ body::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity:.display { font-family: var(--font-display); text-transform: uppercase; line-height: 1.1; letter-spacing: var(--tracking-display); }.strip { position: relative; display: inline-block; background: var(--color-ink); color: var(--color-paper); padding: 0.06em 0.24em 0.02em; line-height: 1; transform: rotate(var(--r, -1deg)); box-shadow: 0 2px 0 color-mix(in oklab, var(--color-ink) 15%, transparent); }.strip::after { content: ""; position: absolute; top: -0.12em; left: -0.18em; width: 1.1em; height: 0.32em; background: var(--color-tape); transform: rotate(-8deg); }-.btn { font: 500 15px var(--font-body); padding: 13px 18px; background: var(--color-ink); color: var(--color-paper); box-shadow: 4px 4px 0 var(--color-accent); }+.btn { font: 500 15px/1.2 var(--font-body); padding: var(--space-md); background: var(--color-accent); color: var(--color-accent-ink); box-shadow: 4px 4px 0 var(--color-ink); }.btn--sheet { background: var(--color-paper-3); color: var(--color-ink); box-shadow: 4px 4px 0 var(--color-ink); }.price { font: 700 13px var(--font-outlier); font-variant-numeric: tabular-nums; }-.print { position: relative; background: var(--color-paper-3); padding: 12px 12px 42px; box-shadow: var(--shadow-sheet); transform: rotate(var(--r, -2deg)); }+.print { position: relative; background: var(--color-paper-3); padding: var(--space-sm) var(--space-sm) var(--space-xl); box-shadow: var(--shadow-sheet); transform: rotate(var(--r, -2deg)); }::selection { background: color-mix(in oklab, var(--color-accent) 30%, transparent); }```diff --git a/skills/hallmark/references/themes/piste.md b/skills/hallmark/references/themes/piste.mdindex f231be5..89666b3 100644--- a/skills/hallmark/references/themes/piste.md+++ b/skills/hallmark/references/themes/piste.md@@ -33,7 +33,7 @@ Snow-white paper, Barlow Condensed 800 caps in black, cobalt for the runs, the b}```-Committed: cobalt is `--color-field` and carries a band, a column and a block; the accent on buttons and stars stays a signal. Three grounds, stated in the stamp (`piste: snow`).+Committed: cobalt is `--color-field` and carries a band, a column and a block; the accent on buttons and runs stays a signal. Three grounds, stated in the stamp (`piste: snow`).| Ground | Paper and ink | Cobalt and the marks || --- | --- | --- |@@ -43,14 +43,14 @@ Committed: cobalt is `--color-field` and carries a band, a column and a block; t## Faces-- **Display:** Barlow Condensed 800, uppercase, line-height 1.0 when a head can wrap (55a) and 0.92 only on a single nowrap line, `--tracking-display`, up to 7.25rem on a Marquee or Ledge hero; every head and every figure. Roman.+- **Display:** Barlow Condensed 800, uppercase, line-height 1.0 when a head can wrap (55a) and 0.92 only on a single nowrap line, `--tracking-display`, up to 7.25rem on a poster-scale hero; every head and every figure. Roman.- **Body:** Barlow 400 and 500, 16 to 19px, line-height 1.5.-- **Signs and buttons:** Barlow Condensed 700, uppercase, tracked 0.04em, 14 to 16px, following the display's capitals. Table heads, captions and meta: Barlow 500 one step smaller, sentence case, untracked. No mono outside code.+- **Signs and buttons:** Barlow Condensed 800, uppercase, tracked 0.04em, 16px, following the display's capitals. Table heads, captions and meta: Barlow 500 one step smaller, sentence case, untracked. No mono outside code.## Material-- Rules `--rule-bar` ink on top of a table and under a nav; `--rule-hair` in paper-3 between rows. Radius 0: signs are cut, tables are ruled, cards are rare.-- The sign: a strip of condensed caps with one end cut to a point by clip-path, filled cobalt, red or black, or outlined 2px. Signs are the nav items, in the display's capitals at 16px or more tracked 0.04em at most; a tag smaller than that is a sign in sentence case (67).+- Rules `--rule-bar` ink under a table's head and under a nav; `--rule-hair` in paper-3 between rows. Radius 0: signs are cut, tables are ruled, cards are rare.+- The sign: a strip of condensed caps with one end cut to a point by clip-path, filled cobalt, red or black, or outlined 2px. Signs are the nav items, in the display's capitals at 16px or more tracked 0.04em at most; a tag smaller than that is a sign in sentence case, untracked (67).- Grade marks: 10px discs in blue, red or black that mean a piste's grade and nothing else. A disc never decorates a label.- The mountain: one SVG polyline of six to ten points in ink for the profile and two or three curved cobalt paths for the runs on it; that is the whole drawing, under 40 lines. Snow-depth bars are plain rects. The cobalt band sweeping the hero is a single wide SVG path.- Shadow: none on chrome; the soft `--shadow-card` under the one framed report.@@ -75,18 +75,18 @@ The morning report: the hour, the depth in centimetres, the lifts open, the run## Build hint```html-<link href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Barlow:wght@400;500&display=swap" rel="stylesheet">+<link href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@800&family=Barlow:wght@400;500&display=swap" rel="stylesheet">``````css.display { font: 800 var(--text-display)/1 var(--font-display); text-transform: uppercase; letter-spacing: var(--tracking-display); text-wrap: balance; }-.sign { display: inline-flex; align-items: center; height: 34px; padding: 0 22px 0 14px; font: 700 14px var(--font-display); letter-spacing: 0.04em; text-transform: uppercase;+.sign { display: inline-flex; align-items: center; height: 34px; padding: 0 var(--space-lg) 0 var(--space-sm); font: 800 var(--text-md) var(--font-display); letter-spacing: 0.04em; text-transform: uppercase;background: var(--color-accent); color: var(--color-accent-ink); clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%); }.grade { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--color-accent); }.profile { fill: none; stroke: var(--color-ink); stroke-width: 2; stroke-linejoin: round; } .run { fill: none; stroke: var(--color-accent); stroke-width: 3; }-.btn { padding: 16px 28px; font: 700 16px var(--font-display); letter-spacing: 0.04em; text-transform: uppercase; }+.btn { padding: var(--space-md) var(--space-lg); font: 800 var(--text-md) var(--font-display); letter-spacing: 0.04em; text-transform: uppercase; }.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }.btn--secondary { box-shadow: inset 0 0 0 var(--rule-bar) var(--color-ink); color: var(--color-ink); }-th { border-bottom: var(--rule-bar) solid var(--color-ink); font: 500 14px var(--font-body); text-align: left; }+th { border-bottom: var(--rule-bar) solid var(--color-ink); font: 500 var(--text-sm) var(--font-body); text-align: left; }::selection { background: color-mix(in oklab, var(--color-accent) 30%, transparent); }```diff --git a/skills/hallmark/references/themes/ribbon.md b/skills/hallmark/references/themes/ribbon.mdindex d7c6a6e..d86e6f4 100644--- a/skills/hallmark/references/themes/ribbon.md+++ b/skills/hallmark/references/themes/ribbon.md@@ -34,18 +34,18 @@ Warm off-white paper, Newsreader italic 300 at every display size, pills for eve}```-One dial, the colourway, stated in the stamp (`ribbon: dawn`). One strand is warm and one cool; the accent comes from the cool strand on light paper and the warm one on dark.+One dial, the colourway, stated in the stamp (`ribbon: dawn`). One strand is warm and one cool; the accent comes from the cool strand on dawn and from the warm one on the other two.| Colourway | Paper | Ink | Strands and accent || --- | --- | --- | --- |-| `dawn` (default) | `oklch(98.5% 0.006 85)` | `oklch(18% 0.004 80)` | copper `oklch(69% 0.07 80)` and teal `oklch(58% 0.085 188)`; accent teal `oklch(44% 0.075 190)` |+| `dawn` (default) | `oklch(98.5% 0.006 85)` | `oklch(18% 0.005 80)` | copper `oklch(69% 0.07 80)` and teal `oklch(58% 0.085 188)`; accent teal `oklch(44% 0.075 190)` || `two-in-the-morning` | navy `oklch(21% 0.034 252)` | `oklch(93% 0.010 85)` | peach `oklch(86% 0.06 55)` and ice `oklch(80% 0.07 240)`; accent peach `oklch(84% 0.085 55)` with the navy as its text || `moss` | sage `oklch(89% 0.034 140)` | `oklch(22% 0.03 150)` | ochre `oklch(72% 0.13 75)` and deep teal `oklch(46% 0.07 195)`; accent ochre `oklch(48% 0.115 70)` |## Faces-- **Display:** Newsreader italic 300 at opsz 72, `--tracking-display`, line-height 1.02; no roman at display size. Declared italic system, gate 38ii waived: on `--font-display`, every head, true italic, `font-synthesis: none`. A head is one weight and one colour; big figures are the display italic too.-- **Body:** Figtree 400, 16px, line-height 1.55 to 1.6, measure 40 to 46ch, in `--color-muted` rather than ink.+- **Display:** Newsreader italic 300 at opsz 72, `--tracking-display`, line-height 1.02; no roman head at any level. Declared italic system (stamp `waive 38ii`): on `--font-display`, every head at every level, true italic, `font-synthesis: none`. A head is one weight and one colour; big figures are the display italic too.+- **Body:** Figtree 400, 16px, line-height 1.55 to 1.6, measure 45 to 50ch, in `--color-muted` rather than ink.- **Labels, captions, table heads, meta:** Figtree 500 one step smaller, sentence case, in `--color-muted`. JetBrains Mono only inside code and on figures that compare, tabular.## Material@@ -59,7 +59,7 @@ One dial, the colourway, stated in the stamp (`ribbon: dawn`). One strand is war## Motion-Slow and breathing: the ribbon drifts 6px sideways on a 12s ease-in-out loop that reduced motion stops; a slider redraws its ribbon on input. Nothing else moves on its own: no reveals, no parallax, no counters.+Slow and breathing: the ribbon drifts 6px sideways on a 12s `--ease-in-out` loop, the theme's one ambient loop: it stops under reduced motion and off-screen and carries a visible pause control. A slider redraws its ribbon on input. Nothing else moves on its own: no reveals, no parallax, no counters.## Voice@@ -75,15 +75,16 @@ Calm and specific: the hour, the sound, how loud.## Build hint```html-<link href="https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@1,6..72,300;1,6..72,400&family=Figtree:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">+<link href="https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@1,6..72,300&family=Figtree:wght@400;500&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">``````css-.display { font: italic 300 var(--text-display)/1.02 var(--font-display); font-variation-settings: "opsz" 72; letter-spacing: var(--tracking-display); font-synthesis: none; }+h1, h2, h3, .display { font-family: var(--font-display); font-style: italic; font-weight: 300; font-variation-settings: "opsz" 72; font-synthesis: none; }+.display { font-size: var(--text-display); line-height: 1.02; letter-spacing: var(--tracking-display); }.ribbon { display: block; width: 100%; mask: linear-gradient(90deg, transparent, var(--color-ink) 15% 85%, transparent); }.ribbon path { fill: none; stroke: currentColor; stroke-width: 0.8; opacity: 0.3; }.ribbon .a { color: var(--color-strand-a); } .ribbon .b { color: var(--color-strand-b); }-.pill { display: inline-flex; gap: 10px; padding: 12px 20px; border-radius: var(--radius-pill); border: 1px solid var(--color-rule); background: var(--color-paper-2); font: 500 14px var(--font-body); }+.pill { display: inline-flex; align-items: center; gap: var(--space-xs); padding: var(--space-sm) var(--space-lg); border-radius: var(--radius-pill); border: 1px solid var(--color-rule); background: var(--color-paper-2); font: 500 var(--text-sm)/1.5 var(--font-body); }.pill--accent { background: var(--color-accent); color: var(--color-accent-ink); border-color: var(--color-accent); }.band { background: var(--color-band); color: var(--color-band-ink); }.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-strand-a); box-shadow: 0 0 0 4px color-mix(in oklab, var(--color-strand-a) 22%, transparent); }diff --git a/skills/hallmark/references/themes/rim.md b/skills/hallmark/references/themes/rim.mdindex 3def612..5f70262 100644--- a/skills/hallmark/references/themes/rim.md+++ b/skills/hallmark/references/themes/rim.md@@ -57,7 +57,7 @@ Two colourways, both dark, stated in the stamp (`rim: night` or `rim: station`).## Motion-Orbital and steady. A satellite may travel its ellipse on `animateMotion` at 19 to 31 seconds a lap; clocks tick once a second. The disc never pulses; nothing reveals.+Orbital and steady. A satellite may travel its ellipse on `animateMotion` at 19 to 31 seconds a lap, the theme's ambient loop, with a visible pause control; SMIL escapes the reduced-motion CSS, so a script calls `pauseAnimations()` under reduced motion and off-screen. Clocks update once a minute. The disc never pulses; nothing reveals.## Voice@@ -74,19 +74,18 @@ Measured and exact: the pass, the time in UTC, the area in square kilometres, th## Build hint```html-<link href="https://api.fontshare.com/v2/css?f[]=switzer@400,500,600&display=swap" rel="stylesheet">-<link href="https://fonts.googleapis.com/css2?family=Geist+Mono:wght@400;500&display=swap" rel="stylesheet">+<link href="https://api.fontshare.com/v2/css?f[]=switzer@400,500,600&display=swap" rel="stylesheet"><link href="https://fonts.googleapis.com/css2?family=Geist+Mono:wght@400;500&display=swap" rel="stylesheet">``````css-.display { font: 500 var(--text-display)/1.02 var(--font-display); letter-spacing: var(--tracking-display); }+.display { font: 500 min(var(--text-display), 4.75rem)/1.02 var(--font-display); letter-spacing: var(--tracking-display); }.disc { border-radius: 50%; border: 2px solid transparent;background: radial-gradient(circle at 38% 34%, var(--color-disc-2), var(--color-disc) 62%) padding-box,conic-gradient(from 200deg, transparent 0 40%, var(--color-rim-2) 52%, var(--color-rim-1) 66% 74%, transparent 88%) border-box; }.horizon { height: 1px; background: var(--color-ink); }.measure { font-family: var(--font-outlier); font-variant-numeric: tabular-nums; }.tile { background: radial-gradient(circle at 30% 30%, var(--color-disc-2), transparent 60%), radial-gradient(circle at 75% 70%, var(--color-paper-2), transparent 55%) var(--color-disc); }-.btn { border-radius: 0; padding: 0.625rem 1rem; font-weight: 500; border: 1px solid var(--color-rule); }+.btn { border-radius: 0; padding: var(--space-sm) var(--space-md); font-weight: 500; border: 1px solid var(--color-rule); }.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); border-color: var(--color-accent); }::selection { background: color-mix(in oklab, var(--color-accent) 35%, transparent); color: var(--color-ink); }```diff --git a/skills/hallmark/references/themes/riso.md b/skills/hallmark/references/themes/riso.mdindex 7373408..68b7d24 100644--- a/skills/hallmark/references/themes/riso.md+++ b/skills/hallmark/references/themes/riso.md@@ -14,7 +14,7 @@ pictured: Conversational FAQ, Settled hero# Riso-Pink stock, Public Sans 900 heads over a Newsreader body, blue and yellow spot inks with grain at 0.06 over everything, and one hero word carrying a blue and a pink echo two pixels out of register.+Pink stock, Public Sans 900 heads over a Newsreader body, blue and yellow spot inks with grain at 0.045 over everything, and one hero word carrying a blue and a pink echo two pixels out of register.## Tokens@@ -35,7 +35,7 @@ Pink stock, Public Sans 900 heads over a Newsreader body, blue and yellow spot i## Faces-- **Display:** Public Sans 800 and 900, `--tracking-display`, line-height 0.92; roman, poster weight.+- **Display:** Public Sans 900, `--tracking-display`, line-height 0.92; roman, poster weight. A head is one weight and one colour; the misregistered hero word below is the signature and appears once.- **Body and lede:** Newsreader 400 and 500 at a 45 to 75ch measure, opsz following size. The poster head against the reading serif is load-bearing.- **Captions, counts, table heads, meta, folios:** Newsreader 500 one step smaller, sentence case, `--color-muted`, on paper or paper-2 (on a plate, captions take the ink). Mono is not this theme's material; Geist Mono appears only inside code and on figures that compare.@@ -43,13 +43,13 @@ 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, printed behind the ink so the word stays black and only the fringes show colour, 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, one page-wide layer at `--texture-opacity` 0.045 (it sits under running text, so it stays under 0.05), up to 0.15 on a plate. Grain and misregistration are the theme's two artifacts; nothing else.-- 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.+- Blue and yellow are the only flat inks, and pink prints only in the echo; where blue and yellow 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.## Motion-One clip reveal: the misregistration settles into place once on load, under 400ms, and never loops. Nothing else moves; no fades, no rises.+One reveal: the misregistration settles into place once on load, over `--dur-long`, and never loops. Nothing else moves; no fades, no rises.## Voice@@ -66,7 +66,7 @@ Specific, hand-set, a little literary. Verbs and counts over adjectives: name th## Build hint```html-<link href="https://fonts.googleapis.com/css2?family=Public+Sans:wght@400;600;800;900&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&family=Geist+Mono:wght@400;500&display=swap" rel="stylesheet">+<link href="https://fonts.googleapis.com/css2?family=Public+Sans:wght@900&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&family=Geist+Mono:wght@400;500&display=swap" rel="stylesheet">``````css@@ -76,8 +76,8 @@ Specific, hand-set, a little literary. Verbs and counts over adjectives: name th.misreg::before { color: var(--color-accent); transform: translate(-2px, -2px); }.misreg::after { color: var(--color-echo); transform: translate(2px, 2px); }mark { background: var(--color-accent-2); color: var(--color-ink); }-.btn { border-radius: var(--radius-card); padding: 0.7rem 1.2rem; font: 700 0.9375rem/1 var(--font-display); }+.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--space-lg); border: 1.5px solid transparent; border-radius: var(--radius-card); font: var(--display-weight) 0.9375rem/1 var(--font-display); }.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }-.btn--secondary { border: 1.5px solid var(--color-ink); color: var(--color-ink); }+.btn--secondary { border-color: var(--color-ink); color: var(--color-ink); }::selection { background: color-mix(in oklab, var(--color-accent-2) 60%, transparent); color: var(--color-ink); }```diff --git a/skills/hallmark/references/themes/saffron.md b/skills/hallmark/references/themes/saffron.mdindex bdbfd46..cc7f8e2 100644--- a/skills/hallmark/references/themes/saffron.md+++ b/skills/hallmark/references/themes/saffron.md@@ -41,9 +41,9 @@ Three colourways, set once per page and named in the stamp (`saffron: lot`).## Faces-- **Display:** Zodiak Italic 400, `--tracking-display`, line-height 1.04, up to 5rem; nav links in the same italic at 19px. Declared italic system, gate 38ii waived: on `--font-display`, every head, true italic, `font-synthesis: none`. Figures (grams, hours, plate numbers) are the one roman use, Zodiak 700.-- **Body:** Newsreader 400 and 500 at 17px, line-height 1.45, `"opsz" 16`.-- **Labels, buttons, captions, table heads:** Hanken Grotesk 500 at 13px, sentence case, untracked, in `--color-muted`. The sans is the outlier and carries only the small strings and the controls; never a head, never prose. No mono anywhere but code.+- **Display:** Zodiak Italic 400, `--tracking-display`, line-height 1.04, up to 5rem. Declared italic system (stamp `waive 38ii`): on `--font-display`, every head at every level, true italic, `font-synthesis: none`. Figures (grams, hours, plate numbers) are the one roman use, Zodiak 700, and never sit inside a head.+- **Body:** Newsreader 400 and 500 at 17px, line-height 1.5, `"opsz" 16`.+- **Labels, nav links, buttons, captions, table heads:** Hanken Grotesk 500 at 13px, sentence case, untracked, in `--color-muted`. The sans is the outlier and carries only the small strings and the controls; never a head, never prose. No mono anywhere but code.## Material@@ -56,7 +56,7 @@ Three colourways, set once per page and named in the stamp (`saffron: lot`).## Motion-Almost none. One hairline draws in over 300ms as a section enters; the giant letter is fixed. A plate lifts to `--color-paper-2` behind it on hover.+Almost none. One hairline draws in over `--dur-long` as its section enters; the giant letter is fixed. A plate lifts to `--color-paper-2` behind it on hover.## Voice@@ -72,15 +72,14 @@ The atelier's register: the piece, the cloth weight, the bath, the hour of the f## Build hint```html-<link href="https://api.fontshare.com/v2/css?f[]=zodiak@400i,700&display=swap" rel="stylesheet">-<link href="https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&family=Hanken+Grotesk:wght@500&display=swap" rel="stylesheet">+<link href="https://api.fontshare.com/v2/css?f[]=zodiak@400i,700&display=swap" rel="stylesheet"><link href="https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&family=Hanken+Grotesk:wght@500&display=swap" rel="stylesheet">``````css.display, h1, h2, h3 { font-family: var(--font-display); font-style: italic; font-weight: 400; font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.04; text-wrap: balance; }.figure { font-family: var(--font-display); font-style: normal; font-weight: 700; }-.label { font: 500 13px/1.3 var(--font-outlier); color: var(--color-muted); }-.btn { display: inline-flex; padding: 15px 26px; font: 500 13px/1 var(--font-outlier); background: var(--color-ink); color: var(--color-paper); }+.label { font: 500 var(--text-xs)/1.3 var(--font-outlier); color: var(--color-muted); }+.btn { display: inline-flex; padding: var(--space-md) var(--space-lg); font: 500 var(--text-xs)/1 var(--font-outlier); background: var(--color-ink); color: var(--color-paper); }.btn--secondary { background: transparent; color: var(--color-ink); box-shadow: inset 0 0 0 1px var(--color-ink); }.plate { background: var(--color-plate); color: var(--color-ink); }.letter { position: absolute; right: -80px; top: -210px; font: italic 400 1150px/1 var(--font-display); color: var(--color-paper-3); pointer-events: none; user-select: none; }diff --git a/skills/hallmark/references/themes/solstice.md b/skills/hallmark/references/themes/solstice.mdindex 706a004..349390b 100644--- a/skills/hallmark/references/themes/solstice.md+++ b/skills/hallmark/references/themes/solstice.md@@ -43,7 +43,7 @@ The sun is vermilion at hue 15, never clay; the gold is a hairline, never a fill## Faces-- **Display:** Yeseva One 400, roman, line-height 0.98, `--tracking-display`; 50px for section heads, 80 to 120 for the page, 28 to 54 for figures, tabular. One colour per head.+- **Display:** Yeseva One 400, roman, line-height 1.0, `--tracking-display`; 50px for section heads, up to 84 for the page, 28 to 54 for figures, tabular. One colour per head.- **Body:** Archivo 400 and 500, 16 to 17px, line-height 1.55, in ink-2.- **Small print:** Archivo Narrow 600 at 12.5 to 13.5px, sentence case, untracked, the outlier, for dates, axis labels and months. Captions, meta and table heads: Archivo 500 one step smaller, sentence case. No mono.@@ -53,7 +53,7 @@ The sun is vermilion at hue 15, never clay; the gold is a hairline, never a fill- The disc: a circle of the sun colour. As a badge it takes a 2px ink border and an inner ring of paper; a badge carries a fact, a date or a frame number, or does not appear. As the setting sun it is a half circle on a base line.- The label: a panel with a `--rule-bar` ink border and an inner gold rule 6px in, centred text, a date in the serif with a gold rule under it; the one shadow is `--shadow-card`, hard.- Rules `--rule-bar` ink across the top of a section, `--rule-hair` paper-3 between rows, 2px gold under a heading inside a panel. No radius on boxes; circles are circles and everything else is square.-- Drawings in ink with cream fills: a hill as one bezier with trees as circles, a bottle as a path; the sun is the one colour in them. Charts are hours of light: a gold bar ending in a sun.+- Drawings in ink with cream fills: a hill as one bezier with trees as circles, a bottle as a path; the sun is the one colour in them. Charts are hours of light: a gold rule ending in a sun.- The control pair: a sun-filled button in Narrow 600 beside a plain 2px ink underline, no box.## Motion@@ -79,7 +79,7 @@ The almanac: the hour of light, the pressing day, the orchard by name. Never a t``````css-.display { font: 400 var(--text-display)/0.98 var(--font-display); letter-spacing: var(--tracking-display); text-wrap: balance; }+.display { font: 400 var(--text-display)/1 var(--font-display); letter-spacing: var(--tracking-display); text-wrap: balance; }.rays { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }.rays::before { content: ""; position: absolute; width: 2600px; height: 2600px; right: -600px; top: -1300px; border-radius: 50%;background: repeating-conic-gradient(var(--color-paper-3) 0 4.5deg, transparent 4.5deg 9deg, color-mix(in oklab, var(--color-paper) 50%, var(--color-paper-3)) 9deg 12deg, transparent 12deg 18deg);@@ -87,7 +87,7 @@ The almanac: the hour of light, the pressing day, the orchard by name. Never a t.sun { display: inline-block; width: 1em; height: 1em; border-radius: 50%; background: var(--color-accent); }.label { background: var(--color-paper-2); border: var(--rule-bar) solid var(--color-ink); outline: 1px solid var(--color-gold); outline-offset: -7px; text-align: center; box-shadow: var(--shadow-card); }.small { font: 600 12.5px var(--font-outlier); color: var(--color-muted); }-.btn { padding: 15px 30px; font: 600 14px var(--font-outlier); background: var(--color-accent); color: var(--color-accent-ink); }-.btn--secondary { background: none; color: var(--color-ink); padding: 15px 0 6px; border-bottom: var(--rule-bar) solid var(--color-ink); }+.btn { padding: var(--space-md) var(--space-xl); font: 600 var(--text-sm)/1 var(--font-outlier); background: var(--color-accent); color: var(--color-accent-ink); }+.btn--secondary { background: none; color: var(--color-ink); padding: var(--space-lg) 0 var(--space-xs); border-bottom: var(--rule-bar) solid var(--color-ink); }::selection { background: color-mix(in oklab, var(--color-gold) 40%, transparent); }```diff --git a/skills/hallmark/references/themes/specimen.md b/skills/hallmark/references/themes/specimen.mdindex 1257395..db1abd0 100644--- a/skills/hallmark/references/themes/specimen.md+++ b/skills/hallmark/references/themes/specimen.md@@ -35,7 +35,7 @@ Warm oat paper, Bodoni Moda 400 at opsz 96 set enormous so its hairlines nearly## Faces- **Display:** Bodoni Moda 400, `"opsz" 96`, `--tracking-display`, up to 5.75rem, line-height 1.02; roman. Set enormous, the hairlines thin to a razor against the stems, and that contrast is the graphic.-- **Body:** Geist 400 and 500, 62ch, line-height 1.45; the sans under the Didone is the tension. Bodoni Moda italic is a body-level device only (a pulled line at text size, one emphasised word in running text) and never enters a head.+- **Body:** Geist 400 and 500, 62ch, line-height 1.5; the sans under the Didone is the tension. Bodoni Moda italic is a body-level device only (a pulled line at text size, one emphasised word in running text) and never enters a head.- **Labels, captions, folios, table heads, meta:** Geist 500 one step smaller, sentence case, `--color-muted`. Mono is not this theme's material; Geist Mono appears only inside code and on figures that compare.## Material@@ -70,9 +70,9 @@ Editorial, hand-set, lightly literary. Verbs over adjectives; name the face, the```css.display { font: var(--display-weight) var(--text-display)/1.02 var(--font-display); font-variation-settings: "opsz" var(--display-optical); letter-spacing: var(--tracking-display); }-.waterfall > * { border-top: var(--rule-hair) solid var(--color-rule); padding-block: 0.5rem; font-family: var(--font-display); font-variation-settings: "opsz" 96; }+.waterfall > * { border-top: var(--rule-hair) solid var(--color-rule); padding-block: var(--space-xs); font-family: var(--font-display); font-variation-settings: "opsz" 96; }.dropcap::first-letter { float: left; font: 400 3.6em/0.82 var(--font-display); color: var(--color-accent); padding-right: 0.08em; }-.btn { border-radius: 0; padding: 0.7rem 1.2rem; font-weight: 500; }+.btn { border-radius: 0; padding: var(--space-sm) var(--space-lg); font-weight: 500; }.btn--primary { background: var(--color-ink); color: var(--color-paper); }.btn--secondary { border: 1px solid var(--color-ink); color: var(--color-ink); }a { text-decoration-color: var(--color-accent); text-underline-offset: 0.18em; }diff --git a/skills/hallmark/references/themes/spore.md b/skills/hallmark/references/themes/spore.mdindex 3064ea6..5dbf39b 100644--- a/skills/hallmark/references/themes/spore.md+++ b/skills/hallmark/references/themes/spore.md@@ -79,13 +79,13 @@ A maker's log: the name, the day, the weight, where it goes. No wellness, no mys``````css-body::after { content: ""; position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: var(--grain); mix-blend-mode: screen;+body::after { content: ""; position: fixed; inset: 0; z-index: var(--z-raised); pointer-events: none; opacity: var(--grain); mix-blend-mode: screen;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.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.6 0 0 0 0 0.55 0 0 0 0 0.45 0 0 0 0.35 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E"); }.display { font: 400 var(--text-display)/1.02 var(--font-display); letter-spacing: var(--tracking-display); }.cap .stem { fill: var(--color-ink-2); } .cap .top { fill: var(--c); } .cap .hi { fill: var(--color-ink); opacity: 0.35; }.gills { height: 26px; background: repeating-linear-gradient(90deg, var(--color-ink-2) 0 1px, transparent 1px 5px); mask: linear-gradient(180deg, color-mix(in oklab, var(--color-paper) 70%, transparent), transparent); }.shelf { border-bottom: 2px solid var(--color-paper-3); }-.btn { border-radius: var(--radius-pill); padding: 13px 24px; font-weight: 600; background: var(--color-accent); color: var(--color-accent-ink); }+.btn { border-radius: var(--radius-pill); padding: var(--space-sm) var(--space-lg); font-weight: 600; background: var(--color-accent); color: var(--color-accent-ink); }.btn--secondary { background: transparent; color: var(--color-ink); box-shadow: inset 0 0 0 1.5px var(--color-ink-2); }::selection { background: color-mix(in oklab, var(--color-accent) 30%, transparent); }```diff --git a/skills/hallmark/references/themes/sport.md b/skills/hallmark/references/themes/sport.mdindex d039fff..83086d7 100644--- a/skills/hallmark/references/themes/sport.md+++ b/skills/hallmark/references/themes/sport.md@@ -36,7 +36,7 @@ Cool concrete paper, blue-black ink, Saira Condensed 700 uppercase heads, JetBra## Faces- **Display:** Saira Condensed 700, uppercase, `--tracking-display`, line-height 1.02; upright, roman. A true condensed design, so the caps stack without crowding; the tension is in the caps and tracking, not a slant.-- **Body:** Albert Sans 400, 500 and 600 at a 58ch measure.+- **Body:** Albert Sans 400 and 500 at a 58ch measure.- **Figures:** JetBrains Mono with `font-variant-numeric: tabular-nums` for times, splits, scores and distances, set larger than the label beside them. The stopwatch voice: the only place mono goes, a measurement, not the material.- **Labels, captions, table heads, meta, units, bib tags:** Albert Sans 500 one step smaller, sentence case, `--color-muted`; on a volt fill every word is the ink.@@ -67,7 +67,7 @@ Imperative, kinetic, numbered. Caps on the head, sentence case in the body. Nume## Build hint```html-<link href="https://fonts.googleapis.com/css2?family=Saira+Condensed:wght@600;700;800&family=Albert+Sans:wght@400;500;600&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">+<link href="https://fonts.googleapis.com/css2?family=Saira+Condensed:wght@700&family=Albert+Sans:wght@400;500&family=JetBrains+Mono:wght@500&display=swap" rel="stylesheet">``````css@@ -76,7 +76,7 @@ Imperative, kinetic, numbered. Caps on the head, sentence case in the body. Nume.rule { border-top: var(--rule-bar) solid var(--color-rule-2); }.board tr { border-top: var(--rule-hair) solid var(--color-rule); }.lane { position: absolute; inset-block: 0; width: 12px; background: var(--color-accent); }-.btn { border-radius: var(--radius-card); padding: 0.7rem 1.2rem; font: 700 1rem/1 var(--font-display); text-transform: uppercase; }+.btn { border-radius: var(--radius-card); padding: var(--space-sm) var(--space-lg); border: var(--rule-bar) solid transparent; font: 700 var(--text-md)/1.25 var(--font-display); text-transform: uppercase; }.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }.btn--secondary { border: 2px solid var(--color-ink); color: var(--color-ink); }a:hover { text-decoration-color: var(--color-accent-deep); }diff --git a/skills/hallmark/references/themes/squeeze.md b/skills/hallmark/references/themes/squeeze.mdindex dff2c82..096e07b 100644--- a/skills/hallmark/references/themes/squeeze.md+++ b/skills/hallmark/references/themes/squeeze.md@@ -35,7 +35,7 @@ Forest green with real chroma, peach controls, Manrope from 500 to 800 and nothi## Faces-- **Display:** Manrope 800, `--tracking-display`, line-height 0.98, up to 4.75rem. One colour per head.+- **Display:** Manrope 800, `--tracking-display`, line-height 1.0, up to 4.75rem. One colour per head.- **Body:** Manrope 500 at 16px, line-height 1.55, in `--color-muted`; links and row titles at 700.- **Labels, captions, table heads, meta:** Manrope 700 one step smaller, sentence case, untracked. Never mono, never uppercase.- **Outlier:** IBM Plex Mono only inside code and on figures that compare in a column.@@ -50,7 +50,7 @@ Forest green with real chroma, peach controls, Manrope from 500 to 800 and nothi## Motion-Cheerful and physical: the crate fills on tap, and the price follows when the user has given one per size; a marquee runs at about 36 seconds a loop, paused on hover. No reveals, no parallax, nothing else loops.+Cheerful and physical: the crate fills on tap, and the price follows when the user has given one per size; a marquee runs at about 36 seconds a loop and pauses on hover, on focus and from its own pause control. No reveals, no parallax, nothing else loops.## Voice@@ -66,17 +66,17 @@ The stall-holder's: the fruit, the farm, the day it comes, what ripe feels like## Build hint```html-<link href="https://fonts.googleapis.com/css2?family=Manrope:wght@500;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">+<link href="https://fonts.googleapis.com/css2?family=Manrope:wght@500;700;800&family=IBM+Plex+Mono:wght@500&display=swap" rel="stylesheet">``````css-.display { font: 800 var(--text-display)/0.98 var(--font-display); letter-spacing: var(--tracking-display); }+.display { font: 800 min(var(--text-display), 4.75rem)/1 var(--font-display); letter-spacing: var(--tracking-display); }.card { background: var(--color-card); color: var(--color-card-ink); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }.fruit { position: relative; width: 64px; height: 64px; border-radius: 50%; box-shadow: inset -6px -8px 14px color-mix(in oklab, var(--color-shade) 16%, transparent);background: radial-gradient(circle at 35% 32%, var(--f2), var(--f1) 62%, color-mix(in oklab, var(--f1) 70%, var(--color-shade))); }.ripe { height: 8px; border-radius: 4px; background: color-mix(in oklab, var(--color-ink) 14%, transparent); overflow: hidden; }.ripe i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--ripe-0), var(--ripe-1), var(--ripe-2)); }-.btn { border-radius: 14px; padding: 0.8rem 1.25rem; font-weight: 700; border: var(--rule-bar) solid var(--color-ink); }+.btn { border-radius: 14px; padding: var(--space-sm) var(--space-lg); font: 700 var(--text-md)/1.25 var(--font-body); border: var(--rule-bar) solid var(--color-ink); }.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); border-color: var(--color-accent); }::selection { background: color-mix(in oklab, var(--color-accent) 45%, transparent); color: var(--color-card-ink); }```diff --git a/skills/hallmark/references/themes/sticker.md b/skills/hallmark/references/themes/sticker.mdindex b125be3..f2e05fe 100644--- a/skills/hallmark/references/themes/sticker.md+++ b/skills/hallmark/references/themes/sticker.md@@ -43,7 +43,7 @@ Two colourways, set once per page and named in the stamp (`sticker: sheet`).## Faces- **Display:** Bowlby One SC 400, a capitals-only face by design, `--tracking-display`, line-height 1.02, up to 4rem; also the price figures at 38px and the wordmark at 21px. Never a paragraph.-- **Body:** Sofia Sans 400, 500 and 600 at 17px, line-height 1.5, `tabular-nums`.+- **Body:** Sofia Sans 400 and 600 at 17px, line-height 1.5, `tabular-nums`.- **Labels, badges, captions, table heads:** Sofia Sans 700 at 12.5 to 13px, sentence case, untracked, in `--color-muted`. Mono only inside code.## Material@@ -52,12 +52,12 @@ Two colourways, set once per page and named in the stamp (`sticker: sheet`).- Shapes: circle, square, star, octagon, pill, blob, arrow, scalloped, drawn in SVG and filled pink or lime; a starburst for a number; one giant blob for a call to action. Each tilts between -6 and 6 degrees, never all the same way.- The wordmark is itself a sticker: ink fill, white border, 12px radius, tilted -2deg, with a peeled corner drawn as a two-colour gradient triangle.- Radii: 18px on cards, 22px on frames, `--radius-pill` on controls; a `--rule-bar` dashed `--color-rule` for cut lines, drop zones and the line the process steps sit on.-- The control pair: a pink pill with a 5px white ring and `--shadow-card`, beside an ink pill; a ghost pill with an inset 2px border is the third. Chips are pills with a 2px inset rule, the selected one ink-filled.+- The control pair: a pink pill with a 5px white ring and `--shadow-card`, beside a ghost pill with an inset 2px ink border. Chips are pills with a 2px inset rule, the selected one ink-filled.- Colour in thirds: pink for the sticker, lime for the badge, ink for the type; the pale pink `--color-accent-3` only as a corner wash inside a slot.## Motion-Sticker physics: a hover lifts a shape 2px and turns it a degree further; a press pushes it onto its shadow (translate by the offset, shadow to 1px). 160ms ease-out, nothing on scroll.+Sticker physics: a hover lifts a clickable sticker 2px and turns it a degree further; a press pushes it onto its shadow (translate by the offset, shadow to 1px). `--dur-micro` on `--ease-out`, nothing on scroll.## Voice@@ -74,18 +74,18 @@ Cheerful and exact: the hours, the quantity, the size in millimetres, the ship d## Build hint```html-<link href="https://fonts.googleapis.com/css2?family=Bowlby+One+SC&family=Sofia+Sans:wght@400;500;600;700&display=swap" rel="stylesheet">+<link href="https://fonts.googleapis.com/css2?family=Bowlby+One+SC&family=Sofia+Sans:wght@400;600;700&display=swap" rel="stylesheet">``````css-.display { font: 400 var(--text-display)/1.02 var(--font-display); letter-spacing: var(--tracking-display); text-wrap: balance; }+.display { font: 400 min(var(--text-display), 4rem)/1.02 var(--font-display); letter-spacing: var(--tracking-display); text-wrap: balance; }.stk { border: 6px solid var(--color-white); box-shadow: var(--shadow-card); }.shape svg * { fill: var(--color-accent); stroke: var(--color-white); stroke-width: 8; stroke-linejoin: round; paint-order: stroke; }.shape--lime svg * { fill: var(--color-accent-2); }-.btn { display: inline-flex; align-items: center; height: 52px; padding: 0 26px; border-radius: var(--radius-pill); font-weight: 700; font-size: 16px; background: var(--color-ink); color: var(--color-paper); }-.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); box-shadow: 0 0 0 5px var(--color-white), 5px 6px 0 var(--color-ink); transition: translate 160ms var(--ease-out), box-shadow 160ms var(--ease-out); }+.btn { display: inline-flex; align-items: center; height: 52px; padding: 0 var(--space-lg); border-radius: var(--radius-pill); font-weight: 700; font-size: var(--text-md); color: var(--color-ink); box-shadow: inset 0 0 0 2px var(--color-ink); }+.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); box-shadow: 0 0 0 5px var(--color-white), 5px 6px 0 var(--color-ink); transition: translate var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out); }.btn--primary:active { translate: 4px 5px; box-shadow: 0 0 0 5px var(--color-white), 1px 1px 0 var(--color-ink); }-.wordmark { display: inline-block; padding: 8px 15px 6px; background: var(--color-ink); color: var(--color-paper); font: 21px/1 var(--font-display); border-radius: 12px; border: 4px solid var(--color-white); rotate: -2deg; }+.wordmark { display: inline-block; padding: var(--space-xs) var(--space-md) var(--space-2xs); background: var(--color-ink); color: var(--color-paper); font: 21px/1 var(--font-display); border-radius: 12px; border: 4px solid var(--color-white); rotate: -2deg; }.cut { border: var(--rule-bar) dashed var(--color-rule); }::selection { background: var(--color-accent-2); color: var(--color-ink); }```diff --git a/skills/hallmark/references/themes/studio.md b/skills/hallmark/references/themes/studio.mdindex 3e7f922..5b23460 100644--- a/skills/hallmark/references/themes/studio.md+++ b/skills/hallmark/references/themes/studio.md@@ -34,7 +34,7 @@ Cool studio-white, Erode 500 set huge with its chipped edges legible over a hair## Faces-- **Display:** Erode 500, `--tracking-display`, up to 6.25rem, line-height 0.98, two or three lines; roman. A chipped, hand-set edge on every terminal: at display size the letters read impressed into the page, and that texture is the signature. No optical axis: set it big enough that the erosion reads as intent.+- **Display:** Erode 500, `--tracking-display`, up to 5.25rem, line-height 1.0, two or three lines; roman. A chipped, hand-set edge on every terminal: at display size the letters read impressed into the page, and that texture is the signature. No optical axis: set it big enough that the erosion reads as intent.- **Body:** Geist 400 and 500 at a 45 to 75ch measure. The clean sans under a textured serif is the pairing. Erode never sets running text (its edge turns to mud at reading size); Erode italic is a pulled line at text size only.- **Labels, captions, dates, roles, disciplines, table heads, folios:** Geist 500 one step smaller, sentence case, `--color-muted`. Mono is not this theme's material; Geist Mono appears only inside code and on figures that compare.@@ -69,9 +69,9 @@ Spare, a little literary. Verbs over adjectives; name the work, the discipline,``````css-.display { font: var(--display-weight) var(--text-display)/0.98 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); }-.index > li { display: grid; grid-template-columns: 1fr auto auto; gap: 2rem; padding: 1rem 0; border-top: 1px solid var(--color-rule); }-.btn { border-radius: var(--radius-card); padding: 0.7rem 1.2rem; font-weight: 500; }+.display { font: var(--display-weight) var(--text-display)/1 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); }+.index > li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: var(--gap-columns); padding: var(--space-md) 0; border-top: 1px solid var(--color-rule); }+.btn { border-radius: var(--radius-card); padding: var(--space-sm) var(--space-lg); font-weight: 500; }.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }.btn--secondary { border: 1px solid var(--color-rule); color: var(--color-ink); }a:hover { text-decoration-color: var(--color-accent); text-underline-offset: 0.2em; }diff --git a/skills/hallmark/references/themes/terminal.md b/skills/hallmark/references/themes/terminal.mdindex 9d2fff2..14d34c3 100644--- a/skills/hallmark/references/themes/terminal.md+++ b/skills/hallmark/references/themes/terminal.md@@ -48,7 +48,7 @@ A green-black ground, phosphor-green ink on one hue, every glyph JetBrains Mono,## Motion-One live command may type itself once; only then does its caret blink, a 1s `step-end` loop at the end of that line. Nothing else moves: no reveals, no fades.+One live command may type itself once; only then does its caret blink at the end of that line, 1s `step-end`, five times, then hold solid. Nothing else moves: no reveals, no fades.## Voice@@ -70,14 +70,14 @@ Commands, flags, paths and exit codes. Declarative, terse, specific: name the co```cssbody { font-family: var(--font-body); font-variant-numeric: tabular-nums; }-.display { font: var(--display-weight) var(--text-display)/1.1 var(--font-display); letter-spacing: var(--tracking-display); }+.display { font: var(--display-weight) min(var(--text-display), 4rem)/1.1 var(--font-display); letter-spacing: var(--tracking-display); }.block { background: var(--color-paper-2); border: 1px solid var(--color-rule); border-radius: 0; }.block--raised { background: var(--color-paper-3); }.prompt::before { content: "~/ "; color: var(--color-muted); }.cmd::before { content: "$ "; color: var(--color-muted); }-.cmd.is-live::after { content: "\2588"; color: var(--color-accent); animation: caret 1s step-end infinite; }+.cmd.is-live::after { content: "\2588"; color: var(--color-accent); animation: caret 1s step-end 5; }@keyframes caret { 50% { opacity: 0; } }-.btn { border-radius: 0; padding: 0.6rem 1rem; font: 500 0.9375rem/1 var(--font-body); }+.btn { border-radius: 0; padding: var(--space-md); font: 500 0.9375rem/1 var(--font-body); }.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }.btn--secondary { border: 1px solid var(--color-ink-2); color: var(--color-ink); }::selection { background: color-mix(in oklab, var(--color-accent) 35%, transparent); color: var(--color-ink); }diff --git a/skills/hallmark/references/themes/terrazzo.md b/skills/hallmark/references/themes/terrazzo.mdindex 9dafb1d..f1b7692 100644--- a/skills/hallmark/references/themes/terrazzo.md+++ b/skills/hallmark/references/themes/terrazzo.md@@ -54,7 +54,7 @@ Three drawers, stated in the stamp (`terrazzo: off-white`).- Rules `--rule-bar` ink on the top of a table and around a framed object; `--rule-hair` paper-2 between rows. Radius 0 everywhere; only a dot chip is round.- Shadow: a hard `16px 16px 0` in paper-2 under a framed object, no blur.- The control pair: an ink-filled primary with paper text beside a `--rule-bar` inset ink outline. Nothing coloured is a button on off-white paper.-- The object family is the drawer: a sample card (a photo slot, a code in mono, six facts), a drawer front (a pull bar and a label strip), a cabinet inside an ink band, a table where each row carries its chips as bullets.+- The object family is the drawer: a sample card (a photo slot, a code in mono, its facts as a `<dl>`), a drawer front (a pull bar and a label strip), a cabinet inside an ink band, a table where each row carries its chips as bullets.- Rust is the accent and the only chip ink that reaches a figure or a highlighted row; ochre, olive and navy live in chips. Coloured area stays under a twentieth of any screen.## Motion@@ -86,10 +86,10 @@ A catalogue's plainness: the count, the drawer, the code, the size at one to one.chip--ochre { background: var(--color-chip-ochre); } .chip--olive { background: var(--color-chip-olive); } .chip--navy { background: var(--color-chip-navy); }.chip--dot { border-radius: 50%; } .chip--sq { rotate: 14deg; } .chip--tri { clip-path: polygon(50% 0, 100% 100%, 0 100%); }.chip--hex { clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%); }-.btn { padding: 16px 26px; font: 500 15px var(--font-body); border-radius: 0; }+.btn { padding: var(--space-md) var(--space-lg); font: 500 15px/1.25 var(--font-body); border-radius: 0; }.btn--primary { background: var(--color-ink); color: var(--color-paper); }.btn--secondary { box-shadow: inset 0 0 0 var(--rule-bar) var(--color-ink); color: var(--color-ink); }-.drawer-band { background: var(--color-ink); color: var(--color-paper); padding: 16px; }+.drawer-band { background: var(--color-ink); color: var(--color-paper); padding: var(--space-md); }.frame { background: var(--color-plate); border: var(--rule-bar) solid var(--color-ink); box-shadow: var(--shadow-card); }.code { font: 500 12px var(--font-outlier); color: var(--color-muted); }::selection { background: color-mix(in oklab, var(--color-chip-ochre) 45%, transparent); }diff --git a/skills/hallmark/references/themes/ultraviolet.md b/skills/hallmark/references/themes/ultraviolet.mdindex 73fc132..f1d66b0 100644--- a/skills/hallmark/references/themes/ultraviolet.md+++ b/skills/hallmark/references/themes/ultraviolet.md@@ -50,14 +50,14 @@ Three colourways, set once per page and named in the stamp (`ultraviolet: lavend- Hairlines: 1px `--color-rule` between list rows and under a nav; pills and outlined controls carry 1.5px. No borders on cards; a surface is a step to `--color-paper-2`.- Pills for every control and chip at `--radius-pill`; slots at 16px; nothing square. The app bleeds off the edge of its slot or sits in a plain 16px plate, never inside a drawn phone bezel.-- The control pair: a violet-filled pill (`--color-accent` with `--color-accent-ink` text) beside an inset-outlined one (`box-shadow: inset 0 0 0 1.5px var(--color-ink)`). An ink-filled pill is the third state, for the nav.+- The control pair: a violet-filled pill (`--color-accent` with `--color-accent-ink` text) beside an inset-outlined one (`box-shadow: inset 0 0 0 1.5px var(--color-ink)`).- The waveform: a row of 2px bars in `--color-dim` with the played portion in `--color-accent`, drawn as SVG rects, never an image; it sits inside list rows, tempo readouts and slots.- The record: a drawn vinyl disc (a near-black face, concentric groove strokes, a violet label with lowercase Outfit text, a paper-coloured spindle hole), the theme's one illustration. It stands beside the headline or inside a slot; it never spins in a loop.-- Shadow stance: none on paper, the whisper `--shadow-card` under a raised plate. No texture, no blur, no gradient; the placeholder recipe is two violet radial fields inside a slot only.+- Shadow stance: none on paper, the whisper `--shadow-card` under a raised plate. No texture, no blur, no gradient; the placeholder recipe is two violet radial fields inside a slot only, and the flat paper step on night.## Motion-Quick and dry: 150ms colour transitions on pills, a tempo slider that updates a figure live, one settle of the hero over 420ms from an already-visible default. The disc may turn a few degrees on hover, once, and return.+Quick and dry: `--dur-micro` colour transitions on pills, a tempo slider that updates a figure live, one settle of the hero over `--dur-long` from an already-visible default. The disc is a picture: it never turns on hover.## Voice@@ -77,9 +77,9 @@ Lowercase, short, exact: the bar count, the key, the percent, the price. It talk``````css-.display { font: 500 var(--text-display)/1 var(--font-display); letter-spacing: var(--tracking-display); text-transform: lowercase; text-wrap: balance; }-.pill, .btn { display: inline-flex; align-items: center; gap: 8px; border-radius: var(--radius-pill); font: 500 15px/1 var(--font-display); text-transform: lowercase; }-.btn { padding: 15px 28px; } .pill { padding: 7px 14px; box-shadow: inset 0 0 0 1.5px var(--color-rule); }+.display { font: 500 min(var(--text-display), 5rem)/1 var(--font-display); letter-spacing: var(--tracking-display); text-transform: lowercase; text-wrap: balance; }+.pill, .btn { display: inline-flex; align-items: center; gap: var(--space-xs); border-radius: var(--radius-pill); font: 500 15px/1 var(--font-display); text-transform: lowercase; }+.btn { padding: var(--space-md) var(--space-lg); } .pill { padding: var(--space-xs) var(--space-md); box-shadow: inset 0 0 0 1.5px var(--color-rule); }.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }.btn--secondary { box-shadow: inset 0 0 0 1.5px var(--color-ink); color: var(--color-ink); }.wave rect { fill: var(--color-dim); } .wave rect.on { fill: var(--color-accent); }diff --git a/skills/hallmark/references/themes/vellum.md b/skills/hallmark/references/themes/vellum.mdindex 94c78ff..202f830 100644--- a/skills/hallmark/references/themes/vellum.md+++ b/skills/hallmark/references/themes/vellum.md@@ -42,7 +42,7 @@ Three colourways, stated in the stamp (`vellum: parchment`).## Faces-- **Display:** Grenze Gotisch 600 for the wordmark and heads, line-height 0.88, `--tracking-display`; 400 for the big figures. The face carries the gothic; nothing else is ornamented.+- **Display:** Grenze Gotisch 600 for the wordmark and heads, line-height 0.92, `--tracking-display`; 400 for the big figures. The face carries the gothic; nothing else is ornamented.- **Body:** Hanken Grotesk 400 and 500 at 16px, line-height 1.5. Nav links are 600.- **Labels, captions, table heads, meta:** Hanken Grotesk 500 one step smaller, sentence case. IBM Plex Mono sets only the ledger's comparing figures (prices, weights, lots) and code.@@ -80,12 +80,12 @@ Ledger-plain and dated: the item, the price paid, the hour, the room. Never *artbody { position: relative; isolation: isolate; }body::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: var(--fibre); mix-blend-mode: multiply; pointer-events: none;background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.012 0.02' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0.62 0 0 0 0 0.52 0 0 0 0 0.36 0 0 0 0.35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E"); }-.display { font-family: var(--font-display); font-weight: 600; line-height: 0.88; letter-spacing: var(--tracking-display); }+.display { font-family: var(--font-display); font-weight: 600; line-height: 0.92; letter-spacing: var(--tracking-display); }.wordmark { text-align: center; font-size: clamp(84px, 11vw, 160px); line-height: 0.82; }-.index { border-top: 4px double var(--color-ink); border-bottom: 1px solid var(--color-ink); padding: 10px 0; }-.btn { border: 1px solid var(--color-accent); background: var(--color-accent); color: var(--color-accent-ink); border-radius: var(--radius-card); padding: 13px 22px; font-weight: 500; }+.index { border-top: 4px double var(--color-ink); border-bottom: 1px solid var(--color-ink); padding: var(--space-sm) 0; }+.btn { border: 1px solid var(--color-accent); background: var(--color-accent); color: var(--color-accent-ink); border-radius: var(--radius-card); padding: var(--space-sm) var(--space-lg); font-weight: 500; }.btn--ghost { background: transparent; border-color: var(--color-ink); color: var(--color-ink); }-.stamp { display: inline-block; transform: rotate(-7deg); padding: 7px 11px; font-size: 12px; text-align: center; color: var(--color-accent);+.stamp { display: inline-block; transform: rotate(-7deg); padding: var(--space-xs) var(--space-sm); font-size: var(--text-xs); text-align: center; color: var(--color-accent);border: 1.5px solid var(--color-accent); border-radius: 2px; box-shadow: 0 0 0 2px var(--color-paper), 0 0 0 3px var(--color-accent); }.ledger .num { font-family: var(--font-outlier); font-variant-numeric: tabular-nums; text-align: right; }::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); }diff --git a/skills/hallmark/references/themes/wayfind.md b/skills/hallmark/references/themes/wayfind.mdindex 38e9c0f..9df5bf3 100644--- a/skills/hallmark/references/themes/wayfind.md+++ b/skills/hallmark/references/themes/wayfind.md@@ -47,17 +47,16 @@ Three colourways, set once per page and named in the stamp (`wayfind: platform`)## Material-- `--rule-bar` ink borders on every object (cards, plates, buttons, the underside of a nav, the table's head rule); row dividers are `--rule-hair` `--color-rule`. Zero radius except pills.+- `--rule-bar` ink borders on every object (cards, plates, buttons, the underside of a nav, the table's head rule); row dividers are `--rule-hair` `--color-rule`. Zero radius except pills. Tables are the board: 62px rows, Space Mono 700 for the status and time columns, times in cobalt.- The sign plate: a black block with a small grey label, a giant amber figure, an amber chevron and a 10px amber-and-black hazard stripe along its foot; `--shadow-card` under it, offset and blurred. The one object with a shadow.- The app bleeds off the edge of its slot or sits in a plain `--rule-bar`-bordered plate, never inside a drawn phone bezel. Placeholders are a flat cobalt-tinted gradient inside that plate with a corner note in the label voice.- The chevron mark: three stacked chevrons, the second at 55% and the third at 25% opacity, drawn in SVG with square caps.-- The control pair: a cobalt-filled button beside a transparent one, both `--rule-bar` ink-bordered, JetBrains Mono 700 at 14px, sentence case. An ink-filled one exists for plates.-- Cobalt is for what is live (an open lift, the current stop's ring, a clock); amber is for figures (exits, minutes, platforms) and only ever on the plate or as a fill under black text. Pills carry no dot; one dot, in cobalt, may sit on the board to mean live now.-- Tables are the board: a `--rule-bar` ink rule under the heads, 62px rows, Space Mono 700 for the status and time columns, times in cobalt.+- The control pair: a cobalt-filled button beside a transparent one, both `--rule-bar` ink-bordered, JetBrains Mono 700 at 14px, sentence case.+- Cobalt is for what is live (an open lift, the current stop's ring, a clock); amber is for figures (exits, minutes, platforms) and only ever on the plate or as a fill under black text. Pills carry no dot; one cobalt dot may sit on the board, and only when the board shows live data.## Motion-Departure-board stiff: 120ms colour changes, the board's rows updating in place, no reveal on scroll. The one live dot may blink at 1.2s in `steps(1)`.+Departure-board stiff: `--dur-micro` colour changes, the board's rows updating in place, no reveal on scroll. The live dot blinks once in `steps(1)` when a row updates; it never loops.## Voice@@ -78,12 +77,12 @@ Signage: the platform, the exit, the minute, the carriage. Imperative and short.```cssbody { font-variant-numeric: tabular-nums; }-.display { font: 700 var(--text-display)/1 var(--font-display); letter-spacing: var(--tracking-display); text-wrap: balance; }-.label { font: 500 13px/1.3 var(--font-body); color: var(--color-muted); }-.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border: var(--rule-bar) solid var(--color-ink); font: 700 14px/1 var(--font-body); }+.display { font: 700 min(var(--text-display), 4.5rem)/1 var(--font-display); letter-spacing: var(--tracking-display); text-wrap: balance; }+.label { font: 500 var(--text-xs)/1.3 var(--font-body); color: var(--color-muted); }+.btn { display: inline-flex; align-items: center; gap: var(--space-xs); padding: var(--space-md) var(--space-lg); border: var(--rule-bar) solid var(--color-ink); font: 700 var(--text-sm)/1 var(--font-body); }.btn--primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }.card, .plate { border: var(--rule-bar) solid var(--color-ink); background: var(--color-paper-3); }-.sign { position: relative; padding: 18px 20px 20px; background: var(--color-plate); color: var(--color-accent-ink); box-shadow: var(--shadow-card); }+.sign { position: relative; padding: var(--space-md) var(--space-lg) var(--space-lg); background: var(--color-plate); color: var(--color-accent-ink); box-shadow: var(--shadow-card); }.sign b { font: 700 76px/0.9 var(--font-display); } .sign .t { color: var(--color-accent-2); }.sign::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: repeating-linear-gradient(90deg, var(--color-accent-2) 0 18px, var(--color-plate) 18px 36px); }th { border-bottom: var(--rule-bar) solid var(--color-ink); }diff --git a/skills/hallmark/references/themes/werkstatt.md b/skills/hallmark/references/themes/werkstatt.mdindex 16a8b9c..53ce319 100644--- a/skills/hallmark/references/themes/werkstatt.md+++ b/skills/hallmark/references/themes/werkstatt.md@@ -44,15 +44,15 @@ Three colourways, set once per page and named in the stamp (`werkstatt: putty`).## Faces- **Display:** Jost 700, uppercase, `--tracking-display`, line-height 1.02, up to 6.5rem in the hero and 2.75rem for section heads; the wordmark at 15px tracked 0.04em.-- **Body:** Karla 400 and 500 at 16px, line-height 1.45; subheads at 20px.+- **Body:** Karla 400 at 16px, line-height 1.5; subheads at 20px.- **Labels, captions, tags, table heads:** Karla 600 at 12.5 to 13px, sentence case, untracked, in `--color-muted`. Mono only inside code; timetable cells and prices are Karla with `tabular-nums`.## Material- Rules do the structure: `--rule-box` ink lines box the shops grid and cross it, `--rule-bar` ink under a nav and over every table, `--rule-hair` `--color-rule` between rows. No card has a background; a cell is what the rules enclose.- The three shapes, drawn in CSS (a circle by radius, a triangle by clip-path, a square with an 8 degree tilt): at 150 to 220px as cropped forms beside the headline and shop names; at 11px as the bullets of a list whose items belong to the shops, each colour one shop (a list of one kind takes no bullets); a 4px ink line is the fourth shop's mark.-- Zero radius, zero shadow, no texture; the only gradient is a warm grey ramp inside a placeholder with a tag in its corner. The isometric house is 2px ink lines, never shaded.-- The control pair: a transparent `--rule-bar` ink-bordered button beside an ink-filled one, both uppercase Karla 600 at 13px tracked 0.04em, following the display's capitals; on a dark band the filled one turns yellow with ink type, which is the same primary in that band's colour, not a third control (one filled recipe per band, F4).+- Zero radius, zero shadow, no texture; the only gradient is a warm grey ramp inside a placeholder with a tag in its corner. A drawn building is 2px isometric ink lines, never shaded.+- The control pair: a transparent `--rule-bar` ink-bordered button beside an ink-filled one, both uppercase Karla 600 at 13px tracked 0.04em, following the display's capitals; on a dark band the filled one turns yellow with ink type, the same primary in that band's colour, not a third control (the stamp answers F4).- The timetable: a grid with 92px rows coloured per shop and an outlined cell for open bench time. Blue and red cells take the light ink `--color-accent-ink`, the red deepened to `--color-accent-2-deep`; the yellow cell takes black type, the black cell putty.## Motion@@ -73,7 +73,7 @@ Plain school prose: the shop, the week, the tuition, the deadline.## Build hint```html-<link href="https://fonts.googleapis.com/css2?family=Jost:wght@500;700&family=Karla:wght@400;500;600&display=swap" rel="stylesheet">+<link href="https://fonts.googleapis.com/css2?family=Jost:wght@500;700&family=Karla:wght@400;600&display=swap" rel="stylesheet">``````css@@ -84,7 +84,7 @@ Plain school prose: the shop, the week, the tuition, the deadline..sh { display: inline-block; width: 11px; height: 11px; vertical-align: middle; }.sh--c { border-radius: 50%; background: var(--color-accent); }.sh--t { background: var(--color-accent-2); clip-path: polygon(50% 0, 100% 100%, 0 100%); }-.sh--s { background: var(--color-accent-3); }+.sh--s { background: var(--color-accent-3); rotate: 8deg; }.cell--blue { background: var(--color-accent); color: var(--color-accent-ink); } .cell--red { background: var(--color-accent-2-deep); color: var(--color-accent-ink); }.cell--yellow { background: var(--color-accent-3); color: var(--color-ink); } .cell--black { background: var(--color-ink); color: var(--color-paper); }.grid { border-top: var(--rule-box) solid var(--color-ink); border-bottom: var(--rule-box) solid var(--color-ink); }diff --git a/skills/hallmark/scripts/atlas.json b/skills/hallmark/scripts/atlas.jsonindex 3d23d63..cf5e7bb 100644--- a/skills/hallmark/scripts/atlas.json+++ b/skills/hallmark/scripts/atlas.json@@ -56,7 +56,7 @@"spark": "A specification page so confident it numbers its own figures.","system": ["Palette/material: cool white; one federal red accent; grey only as hairline rules",- "Type/composition: wide grotesque caps for headings, generous tracking; body flush-left under ruled captions",+ "Type/composition: wide grotesque caps for headings, tracked no wider than 0.04em; body flush-left under ruled captions","Topology/navigation: numbered figures (fig 4.1) anchor every section; nav is a numeric index","Controls/state: controls carry spec numbers; active state is the red rule thickening under the number","Responsive/motion: figures reflow but keep their numbers; motion limited to a measured underline draw"@@ -120,7 +120,7 @@"lineage": "Type-foundry specimen sheets, 19th century","spark": "The typeface is the product, shown at every size it owns, waterfall after waterfall.","system": [- "Palette/material: cream broadsheet, ink only; a foundry footer in tiny caps",+ "Palette/material: cream broadsheet, ink only; a foundry footer in the body face, a step smaller","Type/composition: one family at every size as content; waterfall settings, no placeholder text","Topology/navigation: sized specimens are the sections; a ruled index of point sizes navigates","Controls/state: hover sets the specimen line in the accent weight; controls are ruled boxes",@@ -290,7 +290,7 @@"spark": "Forty identical engravings separated by perforations, and every one of them is treasury-grade.","system": ["Palette/material: pale gum-paper ground; each stamp a one-colour engraving; selvedge margins carry plate numbers",- "Type/composition: engraved-style serif for denominations; tiny caps for country and series",+ "Type/composition: engraved-style serif for denominations; country and series in the body face, a step smaller","Topology/navigation: content cells are stamps in a perforated sheet grid; the selvedge is the nav rail","Controls/state: hover lifts a stamp with a soft paper shadow; selection tears it along the perforation","Responsive/motion: the sheet re-grids without breaking perforation rhythm; one lift-and-settle per interaction"@@ -329,7 +329,7 @@"spark": "The schedule table is the layout, and the route arcs are the only decoration allowed aboard.","system": ["Palette/material: white with one airline livery colour; buff for the cover panels",- "Type/composition: tabular figures everywhere; tiny caps for city codes; flight numbers as anchors",+ "Type/composition: tabular figures everywhere; city codes as their three letters at the body size, untracked; flight numbers as anchors","Topology/navigation: content is departures rows (time, code, destination, note); tabs like ticket stock navigate","Controls/state: a row highlights in livery colour on hover; selected flights get the margin arrow","Responsive/motion: columns shed politely (note first, code last); rows tick in once like a posted schedule"@@ -381,7 +381,7 @@"spark": "Prussian blue all the way down, white lines doing all the talking, a revision table that never lies.","system": ["Palette/material: deep prussian-blue ground; pure white linework; one process-yellow highlight for the current revision",- "Type/composition: stencil-adjacent caps in the title block; dimension chains in small mono",+ "Type/composition: stencil-adjacent lettering in the title block, sentence case; dimension chains in small mono","Topology/navigation: orthographic views structure sections; the title block anchors every page corner","Controls/state: hover thickens a dimension chain; approved states get the checker's initials","Responsive/motion: drawings crop by viewport like a print table; white lines draw in once on first view"@@ -394,7 +394,7 @@"spark": "Depth soundings scattered like seed, land in buff, and a compass rose that has earned its ornament.","system": ["Palette/material: pale sea-tint ground with buff landmasses; magenta reserved for lights and warnings",- "Type/composition: italic hydrographic labels for water, upright caps for coast; soundings as scattered small numerals",+ "Type/composition: italic hydrographic labels for water, upright roman for the coast; soundings as scattered small numerals","Topology/navigation: the chart frame with edge scales is the layout; hazards badge in magenta","Controls/state: plotted courses are the selected state; hover shows a bearing line from the rose","Responsive/motion: the frame holds, the chart pans; one course line draws in per section"@@ -420,7 +420,7 @@"spark": "One pressed specimen centered, and a hundred years of annotation slips accumulating around it.","system": ["Palette/material: aged white sheet; specimen greens gone khaki; accession-stamp violet as the accent",- "Type/composition: typed determinavit labels bottom-right; latin binomials in italic, collectors in caps",+ "Type/composition: typed determinavit labels bottom-right; latin binomials in italic, collectors' names in the body face","Topology/navigation: one specimen per section, annotations orbit it; the accession number indexes everything","Controls/state: hover lifts an annotation slip; verified state adds the determiner's stamp","Responsive/motion: slips reflow around the specimen, never over it; one slip settles per section"@@ -485,7 +485,7 @@"spark": "Front hook, spine message, back offer: a complete pitch on two square inches.","system": ["Palette/material: one saturated ground colour; foil-adjacent gold accents; the striker strip as a texture band",- "Type/composition: script wordmark over a condensed caps address line; tiny type that stays proud",+ "Type/composition: script wordmark over a condensed address line in sentence case; tiny type that stays proud","Topology/navigation: tiny-canvas discipline per section (hook, spine, offer); sections snap like a flipped book","Controls/state: the CTA is the striker strip; press strikes it with a brief spark of the accent","Responsive/motion: the canvas stays small and centered by choice; one flip between faces"@@ -498,7 +498,7 @@"spark": "Ninety-six faders in ranks, and the one that matters is under your hand.","system": ["Palette/material: charcoal panel ground; per-function knob colours (red record, green bus, white trim); brushed metal rails",- "Type/composition: tiny engraved caps labels under every control; channel numbers in a larger mono",+ "Type/composition: engraved labels under every control, sentence case, a step smaller; channel numbers in a larger mono","Topology/navigation: vertical channel strips structure content; the master section anchors the page foot","Controls/state: faders and knobs are the controls; state reads as physical position plus one LED dot","Responsive/motion: strips shed to a bussed summary on small screens; meters move, nothing else does"@@ -537,7 +537,7 @@"spark": "A single green trace on a graticule, telling the truth at the speed of light.","system": ["Palette/material: deep green-black screen with an etched graticule; phosphor green trace; bone control panel around it",- "Type/composition: engraved caps on the panel; measurements in mono; the trace is the display type",+ "Type/composition: engraved labels on the panel, sentence case; measurements in mono; the trace is the display type","Topology/navigation: one screen per section with its control cluster; V/div and T/div framing as section metadata","Controls/state: rotary knobs and toggle states; the trace responds live to the section's data","Responsive/motion: the screen stays 4:3 and centered; only the trace moves, everything else is bolted down"@@ -550,7 +550,7 @@"spark": "Every switch guarded, every state announced, nothing ambiguous at three in the morning.","system": ["Palette/material: dark grey panel; annunciator lenses in amber, green, white; guarded red for irreversible actions",- "Type/composition: engraved caps placards; checklist items in a stern grotesque with do/verify columns",+ "Type/composition: engraved placards in sentence case; checklist items in a stern grotesque with do/verify columns","Topology/navigation: panel groups by system; the checklist rail runs the page in order","Controls/state: switches show physical position; irreversible controls sit under a lift-guard interaction","Responsive/motion: panels stack by system priority; annunciators illuminate, nothing slides"@@ -563,7 +563,7 @@"spark": "A wall of brass jacks, cloth cords, and an operator who knows everyone's number by heart.","system": ["Palette/material: dark bakelite and walnut ground; brass jack rings; cloth-cord colours as the accent set",- "Type/composition: engraved number plates in caps; the directory in a compact serif with leader dots",+ "Type/composition: engraved number plates; the directory in a compact serif with leader dots","Topology/navigation: jack fields are the content grid; plugging a cord is following a link","Controls/state: a live connection is a drawn cord; busy states show the jack's brass ring lit","Responsive/motion: jack fields wrap; the cord draw is the one animation and it sags correctly"@@ -615,7 +615,7 @@"spark": "Two reels, a counter you trust more than your watch, and tape you can touch.","system": ["Palette/material: brushed aluminium face on charcoal; VU cream dials with red overload wedge; tape brown as the accent",- "Type/composition: engraved caps under every switch; the counter in a large odometer mono",+ "Type/composition: engraved labels under every switch, sentence case; the counter in a large odometer mono","Topology/navigation: transport controls order the page (rewind, play, record sections); the counter is the progress indicator","Controls/state: chunky latching buttons; recording state arms in red and will not be missed","Responsive/motion: the deck face stacks; reels turn only while something actually plays"@@ -643,23 +643,23 @@"Palette/material: deep blue-black dome ground; pinpoint white stars; brass-gold for constellation lines and figures","Type/composition: classical serif with star names in italic; captions like a narrated program","Topology/navigation: constellation lines literally connect content nodes; a coordinate ring frames sections",- "Controls/state: hover brightens a star and its lines; the projector beam is the focus state",- "Responsive/motion: the dome crops, stars keep their positions; one slow sky rotation, minutes long"+ "Controls/state: hover brightens a star and its lines; focus takes the projector's brass ring, instantly",+ "Responsive/motion: the dome crops, stars keep their positions; the sky turns a few degrees with scroll, nothing loops"],- "webLeverage": "radial-gradient point stars on layered backgrounds fake a dome with zero images",+ "webLeverage": "an SVG map of the real sky for the page's date, hairline constellations, no glow","fits": ["AI and science tools", "night products", "observability"] },{ "name": "Midnight diner", "tier": "atmosphere","lineage": "American roadside diners after dark, neon and tungsten","spark": "Neon in the window, tungsten on the counter, pie under glass, and nowhere else open for miles.","system": [- "Palette/material: night-blue window ground; warm tungsten pools on formica cream; one neon colour buzzing outside",- "Type/composition: a script neon wordmark; menu-board caps with hand-set prices; ticket-stub mono for details",+ "Palette/material: night-blue window ground; warm tungsten pools on formica cream; one neon colour, flat, as the only saturation",+ "Type/composition: a script wordmark in the neon colour; menu-board lettering at display size with hand-set prices; ticket-stub mono only for order numbers and prices","Topology/navigation: the counter is the content rail; menu boards are the sections; the register closes the page","Controls/state: specials clip to the board; the neon sign flickers once on hover, steady otherwise",- "Responsive/motion: booths stack, the counter persists; light pools stay put, only the neon breathes"+ "Responsive/motion: booths stack, the counter persists; light pools stay put; nothing loops"],- "webLeverage": "layered text-shadow at two radii gives the neon its tube-and-halo glow",+ "webLeverage": "-webkit-text-stroke over a flat fill draws the neon tube, with no halo","fits": ["late-night products", "food", "hospitality"] },{ "name": "Palm house", "tier": "atmosphere",@@ -667,12 +667,12 @@"spark": "White iron ribs, wet green light, and labels for ten thousand leaves.","system": ["Palette/material: humid green field tones under glass-white structure; terracotta pot accents; condensation softness at edges",- "Type/composition: engraved botanical serif with latin italics; small zinc-tag caps for labels",+ "Type/composition: engraved botanical serif with latin italics; zinc-tag labels in sentence case","Topology/navigation: glasshouse bays are the sections, ribs are the dividers; zinc tags navigate species","Controls/state: tags tilt on hover like touched labels; selected specimens get a watering ring","Responsive/motion: bays narrow with the ribs intact; one slow light shift as if a cloud passed"],- "webLeverage": "backdrop-filter blur on glass panels gives true depth to the foliage behind",+ "webLeverage": "thin white SVG ribs drawn over the foliage give the glasshouse its structure, with no blur","fits": ["wellness", "botanical brands", "growth products"] },{ "name": "Reading room", "tier": "atmosphere",@@ -685,7 +685,7 @@"Controls/state: a lamp switches on to focus its desk; hushed states, nothing blinks","Responsive/motion: desks stack in single file; light pools fade up one at a time, then hold"],- "webLeverage": "radial-gradient pools scoped per card make the lamplight real and cheap",+ "webLeverage": "a warm paper tint inside each card is the lamp's pool, with no radial light","fits": ["knowledge tools", "long-form reading", "research"] },{ "name": "Night train", "tier": "atmosphere",@@ -693,7 +693,7 @@"spark": "A corridor of blue night-lights, brass handles, and a timetable that will be true at dawn.","system": ["Palette/material: deep railway blue with night-light pools; brass and walnut trims; a linen white for berth cards",- "Type/composition: carriage-plate caps with engraved numerals; the timetable in disciplined tabular type",+ "Type/composition: carriage plates with engraved numerals; the timetable in disciplined tabular type","Topology/navigation: compartments are the sections along a corridor scroll; berth numbers navigate","Controls/state: a compartment door slides open to its content; the occupied state shows a drawn curtain","Responsive/motion: the corridor becomes a vertical run; a slow window-light sweep passes every so often"@@ -706,12 +706,12 @@"spark": "One beam sweeping the dark on schedule, and a keeper who writes the weather down.","system": ["Palette/material: storm blue-black ground; the beam's warm white; signal red banding as the single accent",- "Type/composition: maritime slab caps for stations; the keeper's log in a handwriting-adjacent serif",+ "Type/composition: a maritime slab for station names; the keeper's log in a handwriting-adjacent serif","Topology/navigation: the light's characteristic (flash pattern) badges sections; the log rail runs the page",- "Controls/state: the beam sweep is the focus indicator; warnings ring the lamp in red banding",- "Responsive/motion: the tower column becomes the page spine; the beam sweeps on its stated period, nothing else moves"+ "Controls/state: focus takes the beam's warm white ring, instantly; warnings ring the lamp in red banding",+ "Responsive/motion: the tower column becomes the page spine; the beam sweeps on its stated period, 8s or slower, with a pause control; nothing else moves"],- "webLeverage": "a conic-gradient rotated by CSS animation is the entire lighthouse beam",+ "webLeverage": "a conic-gradient rotated by CSS animation is the entire beam, stopped under reduced motion","fits": ["monitoring", "safety products", "coastal brands"] },{ "name": "Public pool", "tier": "atmosphere",@@ -719,7 +719,7 @@"spark": "Chlorine-blue water over a grid of tiles, lane ropes in primary colours, rules painted on the wall.","system": ["Palette/material: aqua water field over white tile grid; lane-rope reds and yellows; poolside concrete grey",- "Type/composition: painted sign-writer caps for rules; depth markers as big honest numerals",+ "Type/composition: sign-writer lettering for the rules, sentence case; depth markers as big honest numerals","Topology/navigation: lanes are the content columns; depth markers stage the page from shallow to deep","Controls/state: lane ropes divide interactive zones; hover ripples the water field gently","Responsive/motion: lanes merge politely on small screens; the water caustic shimmer is slow and subtle"@@ -734,10 +734,10 @@"Palette/material: soot-black ground; molten orange-white as the single light source; steel greys between","Type/composition: stencilled industrial caps; batch numbers in heavy mono; warnings set exactly as painted","Topology/navigation: the pour sequence orders sections; batch plates are the anchors",- "Controls/state: hot states glow from within; cooled states go iron-grey and matte",- "Responsive/motion: the floor stacks by process order; heat shimmer only above genuinely hot elements"+ "Controls/state: hot states turn molten orange; cooled states go iron-grey and matte",+ "Responsive/motion: the floor stacks by process order; one heat shimmer, once, above the one hot element"],- "webLeverage": "layered box-shadow in stacked oranges makes elements genuinely appear self-lit",+ "webLeverage": "a stepped fill from white-hot to orange inside an element makes it read as molten, with no outer glow","fits": ["industrial products", "build tools", "heavy workflows"] },{ "name": "Jazz basement", "tier": "atmosphere",@@ -757,13 +757,13 @@"lineage": "Walk-through aquarium tunnels, deep cyan and silhouettes","spark": "You walk on the seafloor, the light does not come from the sun, and something enormous drifts overhead.","system": [- "Palette/material: deep cyan-to-navy vertical gradient; silhouette blacks; one bioluminescent accent used sparingly",- "Type/composition: rounded oceanic sans with wide tracking for species; depth readouts in mono",+ "Palette/material: depth as flat bands stepping from teal to navy; silhouette blacks; one bioluminescent accent used sparingly",+ "Type/composition: a rounded oceanic sans, untracked, for species; depth readouts in mono","Topology/navigation: the tunnel walk orders sections by depth; species tags float at their level",- "Controls/state: tags glow the bioluminescent accent on hover; the surface far above is the way back up",- "Responsive/motion: the depth gradient persists at any height; silhouettes drift on minutes-long loops"+ "Controls/state: tags take the bioluminescent accent on hover; the surface far above is the way back up",+ "Responsive/motion: the depth bands persist at any height; a silhouette drifts once as its section arrives"],- "webLeverage": "scroll-driven animation ties the depth gradient and pressure readout to actual scroll position",+ "webLeverage": "scroll-driven animation steps the depth band and the pressure readout with actual scroll position","fits": ["depth-of-content products", "science", "immersive brands"] },{ "name": "Cinema lobby", "tier": "atmosphere",@@ -800,17 +800,17 @@"Type/composition: a serene wide sans in lowercase, untracked; temperatures as quiet large numerals","Topology/navigation: pools order the sections by temperature; the changing-room threshold is the entry","Controls/state: water states ripple faintly on interaction; occupied pools show a folded towel marker",- "Responsive/motion: pools stack down the temperature scale; steam drifts imperceptibly, nothing else"+ "Responsive/motion: pools stack down the temperature scale; steam fades in once, nothing else moves"],- "webLeverage": "multiple blurred radial-gradients composited with opacity animate believable steam",+ "webLeverage": "one SVG wisp fades in once over a flat warm band; nothing drifts","fits": ["wellness", "premium calm products", "spa brands"] },{ "name": "Blue hour rooftop", "tier": "atmosphere","lineage": "City rooftops at dusk, the grid lighting up below",- "spark": "The sky has one gradient left in it, and the city answers with ten thousand windows.",+ "spark": "The sky has one colour left in it, and the city answers with ten thousand windows.","system": [- "Palette/material: dusk gradient from ember to deep blue; window-light amber points; rooftop asphalt greys",- "Type/composition: a confident grotesque set sparse and large against the sky; details in small luminous caps",+ "Palette/material: dusk as two flat bands, ember low and deep blue above; window-light amber points; rooftop asphalt greys",+ "Type/composition: a confident grotesque set sparse and large against the sky; details in the body face, sentence case","Topology/navigation: the skyline is the section divider; content sits on the parapet line","Controls/state: window lights flicker on as sections arrive; the lit window is the active state","Responsive/motion: the skyline simplifies at small widths; lights come on once, in ones and twos"@@ -854,7 +854,7 @@"Controls/state: the illuminated initial is the section's single interactive jewel; hover catches its gilt","Responsive/motion: the page column stays book-proportioned; the gold catches light once as it enters"],- "webLeverage": "a narrow moving linear-gradient masked to the initial makes gold leaf genuinely glint",+ "webLeverage": "a narrow linear-gradient masked to the initial glints across the gold leaf once, on entry","fits": ["premium editorial", "craft brands", "slow products"] },{ "name": "Telescope array", "tier": "atmosphere",@@ -872,15 +872,15 @@{ "name": "Submersible viewport", "tier": "atmosphere","lineage": "Deep-sea research submersibles, one acrylic sphere of light",- "spark": "Six thousand metres of black water, one instrument glow, and something pale drifting past the glass.",+ "spark": "Six thousand metres of black water, one lit instrument, and something pale drifting past the glass.","system": [- "Palette/material: abyssal near-black; instrument amber and green glows; the viewport's cold blue halo",+ "Palette/material: abyssal near-black; instrument amber and green as flat lit segments; the viewport ringed in cold blue","Type/composition: instrument mono for depth and heading; species callouts in a pale wide serif","Topology/navigation: the dive profile orders sections by depth; the viewport frames each encounter","Controls/state: sonar pings mark interactive points; the floodlight reveals detail states",- "Responsive/motion: the viewport circle holds center at all sizes; drift is continuous but glacial"+ "Responsive/motion: the viewport circle holds center at all sizes; each encounter drifts in once, glacially"],- "webLeverage": "radial-gradient vignette plus animated background-position gives the floodlight its throw",+ "webLeverage": "a clip-path circle that widens with scroll is the floodlight, with no glow","fits": ["deep-data products", "exploration", "research"] },{ "name": "Orchard stand", "tier": "atmosphere",@@ -916,7 +916,7 @@"Palette/material: marble cream and walnut; brass key-plate gold; hotel-livery deep green as the accent","Type/composition: an elegant engraved serif; room numbers on brass plates","Topology/navigation: the pigeonhole wall is the content grid; the register book is the nav; the bell is the CTA",- "Controls/state: a pigeonhole with mail glows softly; the checked-in state hangs the key",+ "Controls/state: a pigeonhole with mail lights in brass; the checked-in state hangs the key","Responsive/motion: pigeonholes reflow as a smaller wall; the bell dips once when pressed"],"webLeverage": "CSS grid dense packing keeps the pigeonhole wall solid at every width",diff --git a/skills/hallmark/references/exemplars/atmospheric.html b/skills/hallmark/scripts/fixtures/exemplars/atmospheric.htmlsimilarity index 100%rename from skills/hallmark/references/exemplars/atmospheric.htmlrename to skills/hallmark/scripts/fixtures/exemplars/atmospheric.htmldiff --git a/skills/hallmark/references/exemplars/editorial.html b/skills/hallmark/scripts/fixtures/exemplars/editorial.htmlsimilarity index 100%rename from skills/hallmark/references/exemplars/editorial.htmlrename to skills/hallmark/scripts/fixtures/exemplars/editorial.htmldiff --git a/skills/hallmark/references/exemplars/modern-minimal.html b/skills/hallmark/scripts/fixtures/exemplars/modern-minimal.htmlsimilarity index 100%rename from skills/hallmark/references/exemplars/modern-minimal.htmlrename to skills/hallmark/scripts/fixtures/exemplars/modern-minimal.htmldiff --git a/skills/hallmark/references/exemplars/playful.html b/skills/hallmark/scripts/fixtures/exemplars/playful.htmlsimilarity index 100%rename from skills/hallmark/references/exemplars/playful.htmlrename to skills/hallmark/scripts/fixtures/exemplars/playful.htmldiff --git a/skills/hallmark/scripts/fixtures/tailwind-fail/index.html b/skills/hallmark/scripts/fixtures/tailwind-fail/index.htmlindex 78e8299..d30a04c 100644--- a/skills/hallmark/scripts/fixtures/tailwind-fail/index.html+++ b/skills/hallmark/scripts/fixtures/tailwind-fail/index.html@@ -1,5 +1,5 @@<!doctype html>-<!-- Tailwind fixture: MUST FAIL. Fires 67, 54, 64, 10a, 12, 11, 2a, 2b, 29, 6a, 34, 48, 65 and 3 from utility classes, one tell per element. -->+<!-- Tailwind fixture: MUST FAIL. Fires 67, 54, 64, 10a, 12, 11, 2a, 2b, 29, 6a, 34, 48, 74 and 3 from utility classes, one tell per element. --><html lang="en"><head><meta charset="utf-8">diff --git a/skills/hallmark/scripts/fixtures/waiver/index.html b/skills/hallmark/scripts/fixtures/waiver/index.htmlindex 7bbf99a..b8f081b 100644--- a/skills/hallmark/scripts/fixtures/waiver/index.html+++ b/skills/hallmark/scripts/fixtures/waiver/index.html@@ -14,7 +14,7 @@Case by case:waive 40 -> refused, Floor is never waivable, and gate 40 still binds- waive 7 -> honoured; the guard (surface: absolute in the stamp) holds+ waive 7b -> honoured; the guard (surface: absolute in the stamp) holdswaive 22 -> honouredwaive 25 -> honoured (no finding to downgrade on this page)waive 1 -> honoured, and trips the >3 house-style NOTE@@ -30,7 +30,7 @@/* Hallmark · macrostructure: Manifesto · tone: austere · anchor hue: 250 · surface: absolute · nav: N9 · footer: Ft2 · hero: Poster/H1 *//* Hallmark · pre-emit critique: P5 H4 E5 S4 R5 V4 · weakest: E - fixture, not a real build *//* Hallmark · waive 40 · contrast measured on the stage · the manifesto is printed white on black */-/* Hallmark · waive 7 · surface: absolute declared, 40-41 pass · the manifesto stage is printed on black paper */+/* Hallmark · waive 7b · surface: absolute declared, 40-41 pass · the manifesto stage is printed on black paper *//* Hallmark · waive 22 · neutrals achromatic throughout · the manifesto rules are pure grey by intent *//* Hallmark · waive 25 · measure runs to 96ch · the manifesto sets long declarative lines *//* Hallmark · waive 1 · two families declared · the manifesto pairs a display serif with a grotesque */diff --git a/skills/hallmark/scripts/imagegen.mjs b/skills/hallmark/scripts/imagegen.mjsindex e34b2ca..022d415 100644--- a/skills/hallmark/scripts/imagegen.mjs+++ b/skills/hallmark/scripts/imagegen.mjs@@ -22,7 +22,7 @@ function parseArgs(argv) {function out(obj, code = 0) {if (args.json) process.stdout.write(JSON.stringify(obj) + "\n");else if (obj.path) console.log(obj.path);- else if (obj.message) console.error(obj.message);+ else if (obj.message || obj.error) console.error(obj.message || obj.error);process.exit(code);}@@ -44,7 +44,8 @@ const stem = cachePath.replace(/\.png$/, "");const metaPath = stem + ".json";const pathFor = (i) => (n === 1 ? cachePath : `${stem}-${i + 1}.png`);-if (!args.force && existsSync(cachePath)) {+const sameRequest = () => { if (!args.out) return true; try { return JSON.parse(readFileSync(metaPath, "utf8")).hash === hash; } catch { return false; } };+if (!args.force && existsSync(cachePath) && sameRequest()) {out({ path: cachePath, cached: true, model, prompt });}diff --git a/skills/hallmark/scripts/install-hook.mjs b/skills/hallmark/scripts/install-hook.mjsindex f0b8c1b..afceee6 100644--- a/skills/hallmark/scripts/install-hook.mjs+++ b/skills/hallmark/scripts/install-hook.mjs@@ -28,9 +28,12 @@ function readSettings() {}}-function isOurs(entry) {- return (entry?.hooks ?? []).some((h) => typeof h?.command === "string" && h.command.includes("lint-hook.mjs"));-}+const ourHook = (h) => typeof h?.command === "string" && h.command.includes("lint-hook.mjs");+const withoutOurs = (list) => list.flatMap((e) => {+ if (!Array.isArray(e?.hooks) || !e.hooks.some(ourHook)) return [e];+ const rest = e.hooks.filter((h) => !ourHook(h));+ return rest.length ? [{ ...e, hooks: rest }] : [];+});if (has("--print")) {console.log(`# add to ${settingsPath} :`);@@ -42,7 +45,7 @@ const settings = readSettings();settings.hooks ??= {};settings.hooks.PostToolUse ??= [];-settings.hooks.PostToolUse = settings.hooks.PostToolUse.filter((e) => !isOurs(e));+settings.hooks.PostToolUse = withoutOurs(settings.hooks.PostToolUse);if (has("--remove")) {writeFileSync(settingsPath, JSON.stringify(settings, null, 2) + "\n");diff --git a/skills/hallmark/scripts/install.mjs b/skills/hallmark/scripts/install.mjsindex 81cec2f..9819656 100644--- a/skills/hallmark/scripts/install.mjs+++ b/skills/hallmark/scripts/install.mjs@@ -36,7 +36,7 @@ const DRY = has("--dry-run");function copyDir(src, dest) {fs.mkdirSync(dest, { recursive: true });for (const entry of fs.readdirSync(src, { withFileTypes: true })) {- if (entry.name === ".DS_Store" || entry.name === ".hallmark" || entry.name === "node_modules") continue;+ if (entry.name === ".DS_Store" || entry.name === ".hallmark" || entry.name === "node_modules" || entry.name === "fixtures") continue;const s = path.join(src, entry.name);const d = path.join(dest, entry.name);if (entry.isDirectory()) copyDir(s, d);@@ -87,7 +87,7 @@ if (!picked.length) {const { execFileSync } = await import("node:child_process");try {- execFileSync(process.execPath, [path.join(HERE, "theme.mjs"), "index"], { stdio: DRY ? "ignore" : "inherit" });+ if (!DRY) execFileSync(process.execPath, [path.join(HERE, "theme.mjs"), "index"], { stdio: "inherit" });} catch {console.log(" (theme index not rebuilt; run node scripts/theme.mjs index)");}@@ -108,7 +108,6 @@ for (const key of picked) {console.log(`\n${t.label}:`);if (key === "opencode" && !has("--copy")) {-const willHaveCompat = picked.includes("claude") || picked.includes("codex") ||fs.existsSync(TARGETS.claude.dir) || fs.existsSync(TARGETS.codex.dir);if (willHaveCompat) {diff --git a/skills/hallmark/scripts/picture.mjs b/skills/hallmark/scripts/picture.mjsindex e4567e9..83c33ce 100644--- a/skills/hallmark/scripts/picture.mjs+++ b/skills/hallmark/scripts/picture.mjs@@ -62,5 +62,6 @@ if (shape && hero) {const line = `pictured: ${short}, ${hero.trim().split(/[ ,(]/)[0]} hero${way && fallback && way !== fallback ? `, in the ${way} colourway` : ''}`;src = /^pictured:.*$/m.test(src) ? src.replace(/^pictured:.*$/m, line) : src.replace(/^(signature:.*)$/m, `$1\n${line}`);writeFileSync(themeFile, src);+ try { const { execFileSync } = await import('node:child_process'); execFileSync(process.execPath, [join(HERE, 'theme.mjs'), 'index'], { stdio: 'ignore' }); } catch {}}console.log(`${out} (lower screen at y ${y}${shape ? `; ${shape.trim()}, ${hero ? hero.trim() : '?'} hero` : ''})`);diff --git a/skills/hallmark/scripts/refcheck.mjs b/skills/hallmark/scripts/refcheck.mjsindex 2d55d85..bf9c0a9 100644--- a/skills/hallmark/scripts/refcheck.mjs+++ b/skills/hallmark/scripts/refcheck.mjs@@ -37,7 +37,8 @@ const gatesSrc = read(join(ROOT, 'references', 'gates.md'));const GATES = new Map();for (const m of gatesSrc.matchAll(/^\|\s*(\d{1,2}(?:[a-d]|i{1,3})?)\s*\|\s*(Floor|Reflex|Ledger)\s*\|/gm)) GATES.set(m[1], m[2].toLowerCase());const FCHECKS = new Set([...gatesSrc.matchAll(/\b(F\d{1,2})\s/g)].map((m) => m[1]));-const retiredLine = (/Gates ([\d, and]+) were merged/.exec(gatesSrc) || [])[1] || '';+const retiredLine = (/Retired numbers stay retired:\*\*\s*([\d, and]+) are never reused/.exec(gatesSrc) || [])[1] || '';+if (!retiredLine) findings.push({ level: 'error', file: 'references/gates.md', line: 1, rule: 'gate', msg: 'the retired-numbers sentence is missing or reworded; refcheck reads it' });const RETIRED = new Set((retiredLine.match(/\d+/g) || []));const NUMBERS = new Set([...GATES.keys()].map((k) => k.match(/^\d+/)[0]));@@ -74,7 +75,7 @@ for (const f of MD) {}for (const m of src.matchAll(PAREN_LIST)) {if (/[\w-]/.test(src[m.index - 1] || '')) continue;- if (/^\d+$/.test(m[1]) && Number(m[1]) > 67) continue;+ if (/^\d+$/.test(m[1]) && Number(m[1]) > 99) continue;check(m[1], m.index);}}@@ -152,9 +153,6 @@ for (const block of ['SCALE', 'CUSTOM_TOKENS']) {const m = new RegExp(`const ${block} = \`([\\s\\S]*?)\`;`).exec(theme);if (m) for (const t of tokenNames(m[1])) CANON.add(t);}-const exportSrc = read(join(ROOT, 'references', 'export-formats.md'));-const taxonomy = exportSrc.slice(exportSrc.indexOf('## Token taxonomy'), exportSrc.indexOf('## Format 1'));-for (const m of taxonomy.matchAll(/`(--[a-z][\w-]*)`/g)) CANON.add(m[1]);const THEME_DIR = join(ROOT, 'references', 'themes');const themeFiles = MD.filter((f) => dirname(f) === THEME_DIR && basename(f) !== 'README.md');const themeCount = new Map();@@ -173,13 +171,13 @@ for (const f of MD) {const isTheme = dirname(f) === THEME_DIR;const local = tokenNames(src);for (const { text, at } of codeOf(src)) {- for (const m of text.matchAll(/var\(\s*(--[a-z][\w-]*)/g)) {+ for (const m of text.matchAll(/var\(\s*(--[a-z][\w-]*)\s*(,)?/g)) {const t = m[1];const line = lineAt(src, at + m.index);if (PHANTOM.has(t) && !local.has(t)) add('error', f, line, 'token', `${t} does not exist; use ${PHANTOM.get(t)}`);- else if (!CANON.has(t) && !local.has(t) && !isTheme) {+ else if (!m[2] && !CANON.has(t) && !local.has(t) && !isTheme) {const n = themeCount.get(t) || 0;- add('warn', f, line, 'token', n ? `${t} exists only in ${n} theme(s); a shared file cannot rely on it` : `${t} is not in the token vocabulary (export-formats.md § Token taxonomy)`);+ add('warn', f, line, 'token', n ? `${t} exists only in ${n} theme(s); a shared file cannot rely on it` : `${t} is not in the token vocabulary (export-formats.md § The token set)`);}}}@@ -257,7 +255,7 @@ for (const f of [...reach]) {for (const f of MD) if (!reach.has(f) && basename(f) !== 'README.md') add('warn', f, 1, 'orphan', 'no file reachable from SKILL.md names this file');const skillBytes = Buffer.byteLength(read(SKILL));-if (skillBytes > 20480) add('warn', SKILL, 1, 'size', `SKILL.md is ${skillBytes} bytes; keep it under 20 KB`);+if (skillBytes > 19000) add('error', SKILL, 1, 'size', `SKILL.md is ${skillBytes} bytes; keep it at 19,000 or under so the 5,000 tokens a harness re-attaches after compaction still hold Step 7`);for (const f of themeFiles) {const src = read(f);@@ -269,7 +267,7 @@ for (const f of themeFiles) {}}-const exemplarDir = join(ROOT, 'references', 'exemplars');+const exemplarDir = join(ROOT, 'scripts', 'fixtures', 'exemplars');const clean = [...(existsSync(exemplarDir) ? readdirSync(exemplarDir).filter((n) => n.endsWith('.html')).map((n) => join(exemplarDir, n)) : []),...['eyebrow-pass', 'tailwind-pass'].map((n) => join(ROOT, 'scripts', 'fixtures', n)).filter(existsSync)];for (const target of clean) {@@ -280,6 +278,41 @@ for (const target of clean) {else if (s.fails || s.reflex || s.warns) add('error', target, 1, 'lint', `must lint clean, has ${s.fails} FAIL, ${s.reflex} REFLEX, ${s.warns} WARN`);}+const ATLAS_BAD = [+ [/\b(?:tiny|small)\s+(?:\w+\s+)?caps\b/i, 'labels in small capitals (67)'],+ [/\bcaps\s+(?:labels|placards)\b/i, 'labels in capitals (67)'],+ [/\b(?:wide|generous)\s+tracking\b/i, 'letter-spaced type (67)'],+ [/(?<!\bno |\bno outer )\bglow(?:s|ing)?\b/i, 'a glow (29)'],+ [/(?<!\bno )\bhalo\b/i, 'a halo (29)'],+ [/backdrop-filter/i, 'glass (29)'],+ [/\b(?:cyan|purple|violet)-to-/i, 'a gradient gate 2a refuses'],+];+const atlasFile = join(ROOT, 'scripts', 'atlas.json');+try {+ for (const entry of JSON.parse(read(atlasFile))) {+ const text = JSON.stringify(entry);+ for (const [re, why] of ATLAS_BAD) if (re.test(text)) add('error', atlasFile, 1, 'atlas', `${entry.name} prescribes ${why}`);+ }+} catch (e) { add('error', atlasFile, 1, 'atlas', `atlas.json does not parse (${e.message})`); }++const FIX = join(ROOT, 'scripts', 'fixtures');+const lintJson = (t) => { const r = spawnSync(process.execPath, [join(ROOT, 'scripts', 'sloplint.mjs'), t, '--json'], { encoding: 'utf8' }); try { return JSON.parse(r.stdout); } catch { return null; } };+const gatesOf = (j) => new Set(j.findings.map((x) => String(x.gate)));+const expectations = [+ ['eyebrow-fail', (j) => j.findings.filter((x) => x.gate === '54' && x.grade === 'FAIL').length === 6, 'gate 54 must FAIL six times'],+ ['eyebrow-pass', (j) => !j.findings.some((x) => x.gate === '54'), 'gate 54 must not fire'],+ ['waiver', (j) => ['fails:0', 'reflex:0', 'waived:5', 'rejected:2', 'answered:1', 'notes:1'].every((kv) => { const [k, v] = kv.split(':'); return j.summary[k] === Number(v); }), 'must report fails 0, reflex 0, waived 5, rejected 2, answered 1, notes 1'],+ ['slopped.html', (j) => ['1', '2a', '4', '7b', '10a', '15', '19', '20', '22', '46a', '48', '54'].every((g) => gatesOf(j).has(g)), 'must fire 1, 2a, 4, 7b, 10a, 15, 19, 20, 22, 46a, 48 and 54'],+ ['tailwind-fail', (j) => ['67', '54', '64', '10a', '12', '11', '2a', '2b', '29', '6a', '34', '48', '74', '3'].every((g) => gatesOf(j).has(g)), 'must fire 67, 54, 64, 10a, 12, 11, 2a, 2b, 29, 6a, 34, 48, 74 and 3'],+];+for (const [name, ok, msg] of existsSync(FIX) ? expectations : []) {+ const target = join(FIX, name);+ if (!existsSync(target)) { add('error', target, 1, 'fixture', 'missing'); continue; }+ const j = lintJson(target);+ if (!j) add('error', target, 1, 'fixture', 'sloplint did not run on this fixture');+ else if (!ok(j)) add('error', target, 1, 'fixture', msg);+}+const shown = ONLY_ERRORS ? findings.filter((x) => x.level === 'error') : findings;const errors = findings.filter((x) => x.level === 'error').length;const warns = findings.length - errors;diff --git a/skills/hallmark/scripts/seed.mjs b/skills/hallmark/scripts/seed.mjsindex 542e8bc..2949c65 100644--- a/skills/hallmark/scripts/seed.mjs+++ b/skills/hallmark/scripts/seed.mjs@@ -24,7 +24,7 @@ function fnv1a(str) {const args = process.argv.slice(2);const flag = (name, dflt) => {const i = args.indexOf(`--${name}`);- return i !== -1 && args[i + 1] !== undefined ? args[i + 1] : dflt;+ return i !== -1 && args[i + 1] !== undefined && !String(args[i + 1]).startsWith('--') ? args[i + 1] : dflt;};const ASK = new Set(['build', 'make', 'create', 'design', 'need', 'want', 'please', 'page', 'site', 'website', 'landing', 'called', 'for', 'and', 'the', 'with', 'that', 'this', 'our', 'your']);const briefFlag = flag('brief', null);diff --git a/skills/hallmark/scripts/sloplint-render.mjs b/skills/hallmark/scripts/sloplint-render.mjsindex 78687cc..3aca33f 100644--- a/skills/hallmark/scripts/sloplint-render.mjs+++ b/skills/hallmark/scripts/sloplint-render.mjs@@ -9,6 +9,7 @@ const isUrl = (t) => /^https?:\/\//.test(t);const slugOf = (t) => isUrl(t) ? t.replace(/^https?:\/\//, '').replace(/[^\w.-]+/g, '-').replace(/-+$/, '') : basename(t, '.html');const SHOTS = [];+const frames = (page) => page.evaluate(() => new Promise((r) => requestAnimationFrame(() => requestAnimationFrame(r)))).catch(() => {});function contrast(a, b) {const lin = (c) => (c <= 0.04045 ? c / 12.92 : ((c + 0.055) / 1.055) ** 2.4);const Y = (c) => 0.2126 * lin(c[0]) + 0.7152 * lin(c[1]) + 0.0722 * lin(c[2]);@@ -28,7 +29,7 @@ async function pixelBehind(page, probe) {return { x, y, width: Math.min(r.right, innerWidth) - x, height: Math.min(r.bottom, innerHeight) - y };}, probe);if (!rect || rect.width < 2 || rect.height < 2) return null;- await new Promise((r) => setTimeout(r, 60));+ await frames(page);const data = await page.screenshot({ clip: rect, encoding: 'base64' });return await page.evaluate(async (b64, n) => {const el = document.querySelector(`[data-hm-probe="${n}"]`);@@ -88,16 +89,16 @@ export async function renderCheck(htmlFiles, metaIn) {} catch {}}if (!puppeteer) {- console.error('render tier unavailable (no puppeteer-core found locally, globally, or via HALLMARK_PUPPETEER); static checks only');- return [];+ const none = []; none.failed = failed; none.notRun = 'no puppeteer-core found locally, globally or via HALLMARK_PUPPETEER';+ return none;}let chrome = [process.env.CHROME_PATH, ...CHROMES].find((p) => p && existsSync(p)) || null;if (!chrome && typeof puppeteer.executablePath === 'function') {try { const bundled = puppeteer.executablePath(); if (bundled && existsSync(bundled)) chrome = bundled; } catch {}}if (!chrome) {- console.error('render tier unavailable (no Chrome or Chromium found; set CHROME_PATH); static checks only');- return [];+ const none = []; none.failed = failed; none.notRun = 'no Chrome or Chromium found; set CHROME_PATH';+ return none;}const findings = [];const browser = await puppeteer.launch({ executablePath: chrome, headless: true });@@ -105,14 +106,23 @@ export async function renderCheck(htmlFiles, metaIn) {for (const file of htmlFiles) {const page = await browser.newPage();try {+ const scriptErrors = [];+ page.on('pageerror', (e) => scriptErrors.push(String((e && e.message) || e).split('\n')[0]));await page.emulateMediaFeatures([{ name: 'prefers-reduced-motion', value: 'reduce' }]).catch(() => {});- await page.goto(isUrl(file) ? file : 'file://' + file, { waitUntil: 'networkidle0', timeout: 30000 }).catch(() => {});+ const nav = await page.goto(isUrl(file) ? file : 'file://' + file, { waitUntil: isUrl(file) ? 'networkidle0' : 'load', timeout: 30000 }).then((r) => ({ r }), (e) => ({ e }));+ if (nav.e && !/timeout/i.test(nav.e.message)) throw nav.e;+ if (nav.r && isUrl(file) && !nav.r.ok()) throw new Error(`HTTP ${nav.r.status()} from ${file}`);await page.evaluate(async () => { document.documentElement.classList.add('shot'); if (document.fonts) await document.fonts.ready; }).catch(() => {});+ if (isUrl(file)) {+ const stamp = await page.evaluate(async () => { let t = [...document.querySelectorAll('style')].map((x) => x.textContent.slice(0, 4000)).join('\n'); for (const l of document.querySelectorAll('link[rel~="stylesheet"]')) { try { t += '\n' + (await (await fetch(l.href)).text()).slice(0, 4000); } catch {} } return t; }).catch(() => '');+ meta.postureByFile[file] = (/posture:\s*(restrained|committed|full-palette|drenched)/i.exec(stamp)?.[1] || 'restrained').toLowerCase();+ meta.heroPostureByFile[file] = (/hero:\s*(settled|banner|poster|ledge|corridor|stage)\b/i.exec(stamp)?.[1] || '').toLowerCase();+ }const pageMeta = { genre: meta.genre, posture: meta.postureByFile[file] || 'restrained' };const prefix = heroOnly ? 'hero-' : '';for (const width of heroOnly ? [375, 1280] : WIDTHS) {await page.setViewport({ width, height: width === 375 && heroOnly ? 812 : 800 });- await new Promise((r) => setTimeout(r, 120));+ await frames(page);if (width === 1280) await shoot(page, file, `${prefix}1280x800`, false);if (width === 375) await shoot(page, file, heroOnly ? 'hero-375x812' : '375', !heroOnly);const res = await page.evaluate(observe, width === 1280, pageMeta);@@ -131,19 +141,25 @@ export async function renderCheck(htmlFiles, metaIn) {for (const [w, h] of [[1440, 900], [1920, 1080]]) {await page.setViewport({ width: w, height: h });await shoot(page, file, `${prefix}${w}x${h}`, false);- if (!heroOnly && w === 1440) await shoot(page, file, '1440-full', true);- 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));+ if (!heroOnly && w === 1440) {+ await page.evaluate(async () => { for (let y = 0; y < document.documentElement.scrollHeight; y += 800) { window.scrollTo(0, y); await new Promise((r) => requestAnimationFrame(() => requestAnimationFrame(r))); } window.scrollTo(0, 0); });+ await shoot(page, file, '1440-full', true);+ }+ await frames(page);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}` });}if (!heroOnly) {await page.setViewport({ width: 1440, height: 900 });+ await frames(page);+ const quality = await page.evaluate(observeQuality).catch(() => []);+ const hidden = await page.evaluate(observeOcclusion).catch(() => []);+ for (const f of [...quality, ...hidden]) findings.push({ ...f, file, line: 1, evidence: `[1440px] ${f.evidence}` });await page.evaluate(() => { window.scrollTo(0, 0); if (document.activeElement && document.activeElement.blur) document.activeElement.blur(); });const rings = new Set();for (let i = 0; i < 16; i++) {await page.keyboard.press('Tab');- await new Promise((r) => setTimeout(r, 40));+ await frames(page);const ring = await page.evaluate(focusRing);if (!ring || rings.has(ring.key)) continue;rings.add(ring.key);@@ -151,6 +167,7 @@ export async function renderCheck(htmlFiles, metaIn) {if (ring.ratio != null && ring.ratio < 2.95) findings.push({ gate: '26a', grade: 'FAIL', file, line: 1, evidence: `[1440px] focus ring ${ring.ratio.toFixed(2)}:1 against what is behind it on ${ring.key}`, fix: 'A ring at 3:1 or better against the surface it is drawn over: --color-focus, or a ring colour per band' });}}+ if (scriptErrors.length) findings.push({ gate: 'render', grade: 'FAIL', file, line: 1, evidence: `a script threw on load: ${scriptErrors[0].slice(0, 90)}`, fix: 'Fix the script; a page that throws ships half-working' });} catch (e) {console.error(`render tier: failed on ${file}: ${e.message}`);failed.push({ file, message: e.message });@@ -200,7 +217,7 @@ function focusRing() {async function pixelsAroundRing(page, ring) {try {await page.evaluate(() => { const el = document.activeElement; if (el) { el.style.setProperty('outline-style', 'none', 'important'); el.style.setProperty('box-shadow', 'none', 'important'); } });- await new Promise((r) => setTimeout(r, 40));+ await frames(page);const vw = await page.evaluate(() => [innerWidth, innerHeight]);const x = Math.max(0, ring.rect.x - ring.pad), y = Math.max(0, ring.rect.y - ring.pad);const clip = { x, y, width: Math.min(vw[0], ring.rect.x + ring.rect.w + ring.pad) - x, height: Math.min(vw[1], ring.rect.y + ring.rect.h + ring.pad) - y };@@ -244,10 +261,13 @@ function observe(checkFold, meta) {'overflow-x: clip on html and body; find the overflowing block');}- for (const el of document.querySelectorAll('a, button, [role="button"]')) {+ for (const el of document.querySelectorAll('a, button, [role="button"], [role="tab"]')) {if (!visible(el)) continue;const text = (el.textContent || '').trim();if (!text) continue;+ const isButton = el.tagName === 'BUTTON' || el.getAttribute('role') === 'button' || /btn|button|cta/i.test(typeof el.className === 'string' ? el.className : '');+ const block = el.closest('p, li, dd, td, blockquote, figcaption');+ if (!isButton && block && (block.innerText || '').trim().length > text.length + 12) continue;if ([...el.querySelectorAll('*')].some((d) => !d.closest('svg') && /^(block|flex|grid|list-item|table)$/.test(getComputedStyle(d).display))) continue;const cs = getComputedStyle(el);const lh = parseFloat(cs.lineHeight) || parseFloat(cs.fontSize) * 1.4;@@ -266,7 +286,8 @@ function observe(checkFold, meta) {let lines = tops.length ? 1 : 0;for (let i = 1; i < tops.length; i++) if (tops[i] - tops[i - 1] > lh * 0.6) lines++;if (lines > 1) {- push(49, 'FAIL', `clickable "${text.slice(0, 32)}" wraps to ${lines} lines (${describe(el)})`,+ const primary = isButton || (!!el.closest('nav') && !el.closest('footer') && !el.closest('nav[aria-label*="bread" i]'));+ push(primary ? '49a' : '49b', primary ? 'FAIL' : 'REFLEX', `${primary ? 'control' : 'link'} "${text.slice(0, 32)}" wraps to ${lines} lines (${describe(el)})`,'Shorten the label or set nowrap');}}@@ -386,43 +407,16 @@ function observe(checkFold, meta) {if (checkFold && meta.posture === 'restrained') {const cs0 = getComputedStyle(document.documentElement);- const oklchToRgb = (L, C, H) => {- const hr = (H * Math.PI) / 180;- const a = C * Math.cos(hr), b = C * Math.sin(hr);- const l_ = L + 0.3963377774 * a + 0.2158037573 * b;- const m_ = L - 0.1055613458 * a - 0.0638541728 * b;- const s_ = L - 0.0894841775 * a - 1.2914855480 * b;- const l = l_ ** 3, mm = m_ ** 3, ss = s_ ** 3;- return [- 4.0767416621 * l - 3.3077115913 * mm + 0.2309699292 * ss,- -1.2684380046 * l + 2.6097574011 * mm - 0.3413193965 * ss,- -0.0041960863 * l - 0.7034186147 * mm + 1.7076147010 * ss,- ].map((c) => {- const cl = Math.min(1, Math.max(0, c));- const g = cl <= 0.0031308 ? 12.92 * cl : 1.055 * cl ** (1 / 2.4) - 0.055;- return Math.round(g * 255);- });- };+ const cv3 = document.createElement('canvas'); cv3.width = cv3.height = 1;+ const cx3 = cv3.getContext('2d', { willReadFrequently: true });const toRgb = (str) => {- if (!str) return null;- str = str.trim();- let m;- if ((m = /^#([0-9a-f]{6})([0-9a-f]{2})?$/i.exec(str))) {- const h = m[1];- return [parseInt(h.slice(0, 2), 16), parseInt(h.slice(2, 4), 16), parseInt(h.slice(4, 6), 16), m[2] ? parseInt(m[2], 16) / 255 : 1];- }- if ((m = /^rgba?\(([\d.]+),\s*([\d.]+),\s*([\d.]+)(?:,\s*([\d.]+))?\)$/.exec(str))) {- return [+m[1], +m[2], +m[3], m[4] == null ? 1 : +m[4]];- }- if ((m = /^color\(srgb\s+([\d.]+)\s+([\d.]+)\s+([\d.]+)(?:\s*\/\s*([\d.]+))?\)$/.exec(str))) {- return [Math.round(+m[1] * 255), Math.round(+m[2] * 255), Math.round(+m[3] * 255), m[4] == null ? 1 : +m[4]];- }- if ((m = /^oklch\(\s*([\d.]+%?)\s+([\d.]+)\s+([\d.]+)(?:deg)?\s*(?:\/\s*([\d.]+%?))?\s*\)$/.exec(str))) {- const L = m[1].endsWith('%') ? parseFloat(m[1]) / 100 : parseFloat(m[1]);- const alpha = m[4] == null ? 1 : (m[4].endsWith('%') ? parseFloat(m[4]) / 100 : parseFloat(m[4]));- return [...oklchToRgb(L, parseFloat(m[2]), parseFloat(m[3])), alpha];- }- return null;+ str = (str || '').trim();+ if (!str || str === 'transparent') return null;+ cx3.clearRect(0, 0, 1, 1); cx3.fillStyle = 'rgba(1, 2, 3, 0.5)'; cx3.fillStyle = str;+ if (cx3.fillStyle === 'rgba(1, 2, 3, 0.5)') return null;+ cx3.fillRect(0, 0, 1, 1);+ const d = cx3.getImageData(0, 0, 1, 1).data;+ return [d[0], d[1], d[2], d[3] / 255];};const targets = ['--color-accent', '--color-accent-2'].map((t) => toRgb(cs0.getPropertyValue(t).trim())).filter(Boolean);@@ -553,15 +547,17 @@ function observeSpace(atLaptop, heroOnly, heroPosture) {const clipAbs = (el, stop) => { const r0 = el.getBoundingClientRect(); let T = r0.top, B = r0.bottom; for (let q = el.parentElement; q && q !== document.body; q = q.parentElement) { const cs = getComputedStyle(q); if (/hidden|clip/.test(`${cs.overflow} ${cs.overflowY}`)) { const qr = q.getBoundingClientRect(); T = Math.max(T, qr.top); B = Math.min(B, qr.bottom); } if (q === stop) break; } return { top: T + scrollY, bottom: B + scrollY }; };const content = (s) => { let top = Infinity, bottom = -Infinity; for (const c of s.querySelectorAll('*')) { if (!vis(c)) continue; if (!(c.innerText || '').trim() && !/^(SVG|IMG|CANVAS|VIDEO)$/.test(c.tagName) && getComputedStyle(c).backgroundColor === 'rgba(0, 0, 0, 0)') continue; if (c.children.length && ![...c.childNodes].some((n) => n.nodeType === 3 && n.textContent.trim()) && !/^(SVG)$/.test(c.tagName) && getComputedStyle(c).backgroundColor === 'rgba(0, 0, 0, 0)') continue; const b = clipAbs(c, s); if (b.bottom <= b.top) continue; top = Math.min(top, b.top); bottom = Math.max(bottom, b.bottom); } if (top === Infinity) { const b = abs(s); return b; } return { top, bottom }; };- const gaps = [];- for (let i = 0; !heroOnly && i < secs.length - 1; i++) gaps.push(Math.round(content(secs[i + 1]).top - content(secs[i]).bottom));+ const paperOf = (el) => { for (let q = el; q; q = q.parentElement) { const c = getComputedStyle(q).backgroundColor; if (!/^(transparent|rgba\(0, 0, 0, 0\))$/.test(c)) return c; } return 'none'; };+ const gaps = [], shifts = [];+ for (let i = 0; !heroOnly && i < secs.length - 1; i++) { gaps.push(Math.round(content(secs[i + 1]).top - content(secs[i]).bottom)); shifts.push(paperOf(secs[i]) !== paperOf(secs[i + 1])); }const real = gaps.filter((g) => g > -50);+ const short = gaps.filter((g, i) => g > -50 && g < (shifts[i] ? 64 : 112));if (real.length) {- const min = Math.min(...real);- if (min < 100) push(59, 'REFLEX', `smallest gap between sections is ${min}px (gaps: ${real.join(', ')})`, '120px or more between sections, varied');- else if (real.length > 2 && new Set(real).size === 1) push(59, 'REFLEX', `every section gap is ${min}px`, 'Vary the rhythm: some 120, some 160, some 200');+ const min = short.length ? Math.min(...short) : Infinity;+ if (short.length) push(59, 'REFLEX', `smallest gap between sections is ${min}px (gaps: ${real.join(', ')})`, '120px or more between sections, by the --section-gap steps');+ else if (real.length > 2 && new Set(real).size === 1) push(59, 'REFLEX', `every section gap is ${min}px`, 'Vary the rhythm across --section-gap-s, --section-gap and --section-gap-l');}- if (!heroOnly && secs.length > 9) push(59, 'WARN', `${secs.length} sections`, 'Four to eight sections a page; merge or cut');+ if (!heroOnly && secs.length > 8) push(59, 'WARN', `${secs.length} sections`, 'Four to eight sections a page, footer included; merge or cut');if (!heroOnly) {for (const sl of document.querySelectorAll('[data-slot]')) {const cs = getComputedStyle(sl);@@ -619,6 +615,166 @@ function observeSpace(atLaptop, heroOnly, heroPosture) {return out;}+function observeQuality() {+ const out = [];+ const push = (gate, grade, evidence, fix) => out.push({ gate: String(gate), grade, evidence, fix });+ const vis = (el) => { const cs = getComputedStyle(el); if (cs.display === 'none' || cs.visibility === 'hidden' || parseFloat(cs.opacity) === 0) return false; const r = el.getBoundingClientRect(); return r.width > 1 && r.height > 1; };+ const name = (el) => el.tagName.toLowerCase() + (el.classList && el.classList[0] ? '.' + el.classList[0] : '');+ const abs = (r) => ({ top: r.top + scrollY, bottom: r.bottom + scrollY, left: r.left, right: r.right });+ const clear = (c) => /^(transparent|rgba\(0, 0, 0, 0\))$/.test(c);+ const quiet = (el) => !!el.closest('script, style, noscript, [aria-hidden="true"], dialog:not([open])') || !!(el.parentElement && el.parentElement.closest('svg'));+ const all = [...document.body.querySelectorAll('*')].filter((el) => !quiet(el) && vis(el));++ const boxes = [];+ for (const el of all) {+ const media = /^(IMG|svg|CANVAS|VIDEO|PICTURE|IFRAME|INPUT|BUTTON|SELECT|TEXTAREA)$/.test(el.tagName) || el.hasAttribute('data-slot');+ if (!media && ![...el.childNodes].some((n) => n.nodeType === 3 && n.textContent.trim())) continue;+ boxes.push({ el, ...abs(el.getBoundingClientRect()) });+ }+ const overlapX = (a, b) => Math.min(a.right, b.right) - Math.max(a.left, b.left) > 8;+ const crowded = [];+ for (const h of document.querySelectorAll('h2, h3, h4')) {+ if (!vis(h) || quiet(h) || h.closest('nav, footer, table, [data-slot]')) continue;+ let small = false;+ for (let p = h.parentElement; p && p !== document.body; p = p.parentElement) {+ const cs = getComputedStyle(p);+ if (!clear(cs.backgroundColor) || parseFloat(cs.borderTopWidth) > 0 || cs.boxShadow !== 'none') { small = p.getBoundingClientRect().height < 200; break; }+ }+ if (small) continue;+ const hb = abs(h.getBoundingClientRect());+ let above = null, below = null;+ for (const b of boxes) {+ if (h.contains(b.el) || b.el.contains(h) || !overlapX(b, hb)) continue;+ if (b.bottom <= hb.top + 1 && (!above || b.bottom > above.bottom)) above = b;+ if (b.top >= hb.bottom - 1 && (!below || b.top < below.top)) below = b;+ }+ if (!above || !below) continue;+ const up = hb.top - above.bottom, down = below.top - hb.bottom;+ if (down < 6 || down > 160) continue;+ if (up < 0.75 * down && down - up >= 12) crowded.push(`${name(h)} "${(h.innerText || '').trim().slice(0, 18)}" ${Math.round(up)}px over, ${Math.round(down)}px under`);+ }+ if (crowded.length >= 2) push(71, 'REFLEX', `heads nearer what precedes them than what they head: ${crowded.slice(0, 2).join('; ')}`, 'At least twice the space above a head as below it');++ const tight = [];+ for (const el of all) {+ if (tight.length >= 3) break;+ if (/^(SECTION|MAIN|HEADER|FOOTER|NAV|ARTICLE|INPUT|TEXTAREA|SELECT|svg|IMG|TABLE|THEAD|TBODY|TR|TD|TH|PRE|CODE|IFRAME|VIDEO|CANVAS|DIALOG)$/.test(el.tagName) || el.closest('[data-slot], table')) continue;+ const r = el.getBoundingClientRect();+ if (r.width <= 100 || r.height <= 30 || r.width > innerWidth * 0.9) continue;+ const cs = getComputedStyle(el);+ if (/auto|scroll/.test(cs.overflowX + cs.overflowY)) continue;+ const bw = ['Top', 'Right', 'Bottom', 'Left'].map((k) => parseFloat(cs[`border${k}Width`]) || 0);+ const inked = (k) => bw[k] >= 1 && !clear(cs[`border${['Top', 'Right', 'Bottom', 'Left'][k]}Color`]);+ let under = 'rgb(255, 255, 255)';+ for (let p = el.parentElement; p; p = p.parentElement) { const c = getComputedStyle(p).backgroundColor; if (!clear(c)) { under = c; break; } }+ const filled = !clear(cs.backgroundColor) && cs.backgroundColor !== under;+ if (!filled && !(inked(1) && inked(3))) continue;+ const sides = ['left', 'right', 'top', 'bottom'];+ let L = Infinity, T = Infinity, Rr = -Infinity, B = -Infinity, fs = parseFloat(cs.fontSize) || 16;+ const walk = document.createTreeWalker(el, NodeFilter.SHOW_TEXT);+ for (let t = walk.nextNode(); t; t = walk.nextNode()) {+ const host = t.parentElement;+ if (!t.textContent.trim() || !host || host.closest('svg') || !vis(host)) continue;+ let nested = false;+ for (let p = host; p && p !== el; p = p.parentElement) {+ const ps = getComputedStyle(p);+ if (/absolute|fixed/.test(ps.position) || (!clear(ps.backgroundColor) && ps.backgroundColor !== cs.backgroundColor) || (parseFloat(ps.borderTopWidth) >= 1 && parseFloat(ps.borderLeftWidth) >= 1)) { nested = true; break; }+ }+ if (nested) continue;+ const rg = document.createRange(); rg.selectNodeContents(t);+ for (const q of rg.getClientRects()) { if (!q.width || !q.height) continue; L = Math.min(L, q.left); T = Math.min(T, q.top); Rr = Math.max(Rr, q.right); B = Math.max(B, q.bottom); fs = parseFloat(getComputedStyle(host).fontSize) || fs; }+ }+ if (L === Infinity) continue;+ const side = Math.max(8, Math.min(0.5 * fs, 24)) - 0.5, end = Math.max(4, Math.min(0.3 * fs, 12)) - 0.5;+ const inset = { left: L - (r.left + bw[3]), right: r.right - bw[1] - Rr, top: T - (r.top + bw[0]), bottom: r.bottom - bw[2] - B };+ const short = Object.entries(inset).filter(([k, v]) => sides.includes(k) && v < (k === 'left' || k === 'right' ? side : end));+ if (short.length) tight.push(`${name(el)} ${short.map(([k, v]) => `${k} ${Math.round(v)}px`).join(', ')}`);+ }+ if (tight.length) push(72, 'REFLEX', `text crowds the edge of its box: ${tight.join('; ')}`, 'Pad the box: max(8px, 0.5em) at the sides, max(4px, 0.3em) above and below');++ const controls = all.filter((el) => (el.tagName === 'BUTTON' || el.getAttribute('role') === 'button' || (el.tagName === 'A' && /btn|button|cta/i.test(String(el.className))) || (el.tagName === 'INPUT' && /^(submit|button|text|email|search|tel|url|password|number)$/.test(el.type))) && !el.closest('nav, header, dialog, [role="dialog"], [data-slot], [role="tablist"]') && (el.tagName === 'INPUT' || (el.innerText || '').trim()));+ const offSize = controls.map((el) => ({ el, h: el.getBoundingClientRect().height })).filter((c) => c.h > 8 && (c.h < 42 || c.h > 54));+ if (offSize.length) push('39b', 'REFLEX', `control height outside 44 to 52px: ${offSize.slice(0, 3).map((c) => `${name(c.el)} ${Math.round(c.h)}px`).join(', ')}`, 'Marketing controls stand 44 to 52px; app UI 32 to 40px with a 44px hit target');++ const weights = new Map();+ const tw = document.createTreeWalker(document.body, NodeFilter.SHOW_TEXT);+ for (let t = tw.nextNode(); t; t = tw.nextNode()) {+ const host = t.parentElement; const txt = t.textContent.trim();+ if (!txt || !host || quiet(host) || host.closest('svg') || !vis(host)) continue;+ const w = Math.round((parseFloat(getComputedStyle(host).fontWeight) || 400) / 100) * 100;+ weights.set(w, (weights.get(w) || 0) + txt.length);+ }+ const used = [...weights].filter(([, n]) => n >= 30).map(([w]) => w).sort((a, b) => a - b);+ if (used.length > 3) push('F19', 'WARN', `${used.length} font weights in running use (${used.join(', ')})`, 'Three weights at most, display and body together, picked as extremes');++ for (const g of all) {+ const cs = getComputedStyle(g);+ const grid = /grid/.test(cs.display);+ const wrap = /flex/.test(cs.display) && cs.flexWrap === 'wrap' && cs.flexDirection.startsWith('row');+ if ((!grid && !wrap) || g.closest('nav, footer, form')) continue;+ const kids = [...g.children].filter((c) => vis(c) && !/absolute|fixed/.test(getComputedStyle(c).position));+ if (kids.length < 3) continue;+ const rects = kids.map((c) => c.getBoundingClientRect());+ if (grid && Math.max(...rects.map((r) => r.width)) > Math.min(...rects.map((r) => r.width)) * 1.15) continue;+ if (wrap && !kids.every((c) => c.querySelector('img, svg') || /^(IMG|svg)$/.test(c.tagName) || c.getBoundingClientRect().width >= 120)) continue;+ const rows = [];+ for (const r of rects) { const row = rows.find((x) => Math.abs(x.top - r.top) < 4); if (row) row.n++; else rows.push({ top: r.top, n: 1 }); }+ rows.sort((a, b) => a.top - b.top);+ if (rows.length >= 2 && rows[rows.length - 1].n === 1 && rows[rows.length - 2].n >= 2) { push('F20', 'WARN', `${name(g)} leaves one item alone on its last row (${rows.map((x) => x.n).join(' + ')})`, 'Change the count or the columns so the last row is not an orphan'); break; }+ }+ return out;+}++async function observeOcclusion() {+ const out = [];+ const vis = (el) => { const cs = getComputedStyle(el); if (cs.display === 'none' || cs.visibility === 'hidden' || parseFloat(cs.opacity) === 0) return false; const r = el.getBoundingClientRect(); return r.width > 3 && r.height > 3; };+ const pinned = (el) => { for (let p = el; p && p !== document.body; p = p.parentElement) if (/fixed|sticky/.test(getComputedStyle(p).position)) return true; return false; };+ const unseen = (el) => { const cs = getComputedStyle(el); return parseFloat(cs.opacity) < 0.05 || (/^(transparent|rgba\(0, 0, 0, 0\))$/.test(cs.backgroundColor) && cs.backgroundImage === 'none' && !(el.innerText || '').trim() && !/^(IMG|svg|CANVAS|VIDEO|PICTURE)$/.test(el.tagName) && !el.querySelector('img, svg, canvas, video')); };+ const runs = [];+ let total = 0, hidden = 0;+ const tw = document.createTreeWalker(document.body, NodeFilter.SHOW_TEXT);+ for (let t = tw.nextNode(); t; t = tw.nextNode()) {+ const host = t.parentElement; const txt = t.textContent.trim();+ if (!txt || !host || host.closest('script, style, noscript, svg, [aria-hidden="true"], nav, header, dialog, [popover], [role="menu"], details:not([open]), [hidden]')) continue;+ if (getComputedStyle(host).display === 'none') continue;+ total += txt.length;+ let gone = false;+ for (let p = host; p && p !== document.body; p = p.parentElement) { const cs = getComputedStyle(p); if (cs.display === 'none') { gone = null; break; } if (cs.visibility === 'hidden' || parseFloat(cs.opacity) === 0) gone = true; }+ if (gone === null) { total -= txt.length; continue; }+ if (gone) { hidden += txt.length; continue; }+ if (!host.closest('[data-slot]') && vis(host)) runs.push({ t, host });+ }+ if (total > 500 && hidden > 150 && hidden / total > 0.3) out.push({ gate: '62', grade: 'FAIL', evidence: `${Math.round((100 * hidden) / total)}% of the page's text is still hidden after load`, fix: 'Visible by default: scope the hidden state under a .js class, or show the end state under reduced motion' });+ const bad = [];+ const H = document.documentElement.scrollHeight;+ for (let y = 0; y < H && bad.length < 3; y += Math.max(200, innerHeight - 100)) {+ window.scrollTo(0, y);+ await new Promise((r) => requestAnimationFrame(() => requestAnimationFrame(r)));+ for (const { t, host } of runs) {+ if (bad.length >= 3) break;+ if (pinned(host)) continue;+ const rg = document.createRange(); rg.selectNodeContents(t);+ for (const q of rg.getClientRects()) {+ if (q.width < 6 || q.height < 6) continue;+ const cx = q.left + q.width / 2, cy = q.top + q.height / 2;+ if (cy < 0 || cy >= innerHeight || cx < 0 || cx >= innerWidth) continue;+ const top = document.elementFromPoint(cx, cy);+ if (!top || top === host || host.contains(top) || top.contains(host) || pinned(top) || unseen(top)) continue;+ const tr = top.getBoundingClientRect();+ if (!(cx >= tr.left && cx <= tr.right && cy >= tr.top && cy <= tr.bottom)) {+ const clearPseudo = (ps) => /^(none|normal)$/.test(ps.content) || (/^(transparent|rgba\(0, 0, 0, 0\))$/.test(ps.backgroundColor) && ps.backgroundImage === 'none');+ if (clearPseudo(getComputedStyle(top, '::after')) && clearPseudo(getComputedStyle(top, '::before'))) continue;+ }+ bad.push(`${top.tagName.toLowerCase()}${top.classList[0] ? '.' + top.classList[0] : ''} over "${t.textContent.trim().slice(0, 16)}"`);+ break;+ }+ }+ }+ window.scrollTo(0, 0);+ if (bad.length) out.push({ gate: '73', grade: 'FAIL', evidence: `text painted under another element: ${bad.join('; ')}`, fix: 'Give the text its own space, or put it above what covers it on a surface of its own' });+ return out;+}+if (import.meta.url === `file://${process.argv[1]}`) {const htmls = process.argv.slice(2).filter((p) => p.endsWith('.html'));const res = await renderCheck(process.argv.slice(2).filter((p) => isUrl(p)).concat(htmls.map((p) => resolve(process.cwd(), p))));diff --git a/skills/hallmark/scripts/sloplint.mjs b/skills/hallmark/scripts/sloplint.mjsindex 6fbefde..ed9512f 100644--- a/skills/hallmark/scripts/sloplint.mjs+++ b/skills/hallmark/scripts/sloplint.mjs@@ -84,8 +84,28 @@ function parseCss(source, file, lineOffset = 0) {return lo + 1 + lineOffset;};const rules = [];+ const flatBody = (s, e) => {+ const out = src.slice(s, e).split('');+ let depth = 0, edge = -1;+ for (let i = 0; i < out.length; i++) {+ const c = out[i];+ if (c === '{') {+ if (depth === 0) for (let k = edge + 1; k < i; k++) if (out[k] !== '\n') out[k] = ' ';+ depth++; out[i] = ' ';+ } else if (c === '}') {+ depth = Math.max(0, depth - 1); out[i] = ' ';+ if (depth === 0) edge = i;+ } else if (depth > 0) { if (c !== '\n') out[i] = ' '; }+ else if (c === ';') edge = i;+ }+ return out.join('');+ };+ const nestSel = (sel, parent) => {+ const p = parent.includes(',') ? `:is(${parent})` : parent;+ return sel.split(/,(?![^(]*\))/).map((part) => part.includes('&') ? part.trim().replace(/&/g, p) : `${p} ${part.trim()}`).join(', ');+ };const makeRule = (selector, s, e, media, keyframes) => {- const body = src.slice(s, e);+ const body = flatBody(s, e);const decls = [];let off = 0;for (const part of body.split(';')) {@@ -101,7 +121,7 @@ function parseCss(source, file, lineOffset = 0) {}return { selector, decls, media: media || null, keyframes: keyframes || null, file, line: lineOf(s) };};- const walk = (start, end, media, keyframes) => {+ const walk = (start, end, media, keyframes, parent = null) => {let i = start;while (i < end) {while (i < end && /[\s;]/.test(src[i])) i++;@@ -122,7 +142,8 @@ function parseCss(source, file, lineOffset = 0) {if (selector.startsWith('@')) {if (/^@(media|supports|layer|container|scope)/i.test(selector)) {const q = /^@media/i.test(selector) ? selector.replace(/^@media/i, '').trim() : media;- walk(blockStart, blockEnd, q, keyframes);+ if (parent) rules.push(makeRule(parent, blockStart, blockEnd, q, keyframes));+ walk(blockStart, blockEnd, q, keyframes, parent);} else if (/^@(-webkit-)?keyframes/i.test(selector)) {const name = selector.replace(/^@(-webkit-)?keyframes/i, '').trim();walk(blockStart, blockEnd, media, name || 'anon');@@ -133,7 +154,9 @@ function parseCss(source, file, lineOffset = 0) {walk(blockStart, blockEnd, media, keyframes);}} else {- rules.push(makeRule(selector, blockStart, blockEnd, media, keyframes));+ const sel = parent && !keyframes ? nestSel(selector, parent) : selector;+ rules.push(makeRule(sel, blockStart, blockEnd, media, keyframes));+ if (!keyframes && src.slice(blockStart, blockEnd).includes('{')) walk(blockStart, blockEnd, media, keyframes, sel);}i = k;}@@ -713,10 +736,10 @@ function contrastRatio(a, b) {return (hi + 0.05) / (lo + 0.05);}+const TOKEN_SEL = /^(?:html|:root)?(?:\[data-(?:theme|mode|scheme)[^\]]*\]|:root|:not\([^)]*\))*$/i;function isTokenRule(rule) {- return /:root|\[data-theme/i.test(rule.selector)- || basename(rule.file).toLowerCase() === 'tokens.css'- || rule.selector === '@font-face' || rule.selector === '@theme';+ if (rule.selector === '@font-face' || rule.selector === '@theme' || basename(rule.file).toLowerCase() === 'tokens.css') return true;+ return rule.selector.split(',').every((p) => { const t = p.trim(); return t && TOKEN_SEL.test(t); });}function buildTokens(rules) {@@ -755,7 +778,7 @@ function pxOf(value) {const rel = (f) => f.startsWith(process.cwd()) ? f.slice(process.cwd().length + 1) : f;const trunc = (s, n = 72) => (s.length > n ? s.slice(0, n - 1) + '…' : s);-const PAGE_ONLY = new Set(['3', '4', '17', '18', '19', '20', '25', '28', '28a', '28b', '33', '34', '42', '46', '46a', '46b', '47', '47a', '47b', '47c', '49', '49a', '49b', '50', '53', '54', '55', '55a', '55b', '56', '58', '62', '63', '65', '66', 'F7', 'F8', 'F15', 'F16']);+const PAGE_ONLY = new Set(['3', '8', '9', '25', '28', '32', '34', '42', '44', '46b', '47b', '47c', '49', '50', '54', '55', '56', '58', '59', '65', '66', '68', '69', '71', 'F7', 'F8', 'F15', 'F16', 'F20']);const gateNumber = (id) => (/^(\d{1,2})/.exec(String(id)) || [])[1] || null;const pageOnly = (id) => PAGE_ONLY.has(String(id)) || PAGE_ONLY.has(gateNumber(id));@@ -774,7 +797,7 @@ const TIERS = new Map(Object.entries({'28a': 'floor', '28b': 'reflex', '30a': 'floor', '30b': 'reflex', '38i': 'floor', '38ii': 'reflex', '38iii': 'reflex','39a': 'floor', '39b': 'reflex', '44a': 'reflex', '44b': 'floor', '44c': 'reflex', '44d': 'floor','46a': 'floor', '46b': 'reflex', '47a': 'floor', '47b': 'reflex', '47c': 'reflex', '49a': 'floor', '49b': 'reflex',- '55a': 'floor', '55b': 'reflex',+ '55a': 'floor', '55b': 'reflex', '71': 'reflex', '72': 'reflex', '73': 'floor', '74': 'reflex',}));const HERO_SKIP = new Set(['8', '9', '32', '59', 'F8', 'F15']);@@ -863,10 +886,10 @@ function report(gate, grade, file, line, evidence, fix) {if (tier === 'ledger') grade = 'NOTE';else if (tier === 'reflex') grade = waived ? 'WAIVED' : 'REFLEX';}- if (tier === 'finish' && ANSWERED.has(b)) grade = 'ANSWERED';+ if (tier === 'finish' && grade !== 'FAIL' && ANSWERED.has(b)) grade = 'ANSWERED';if (grade === 'WARN' && (DISMISSED.has(b) || DISMISSED.has(gateNumber(b)))) grade = 'DISMISSED';if (grade === 'WARN' && tier === 'reflex' && waived) grade = 'WAIVED';- findings.push({ gate: g, grade, tier, file: rel(file), line: line || 1, evidence: trunc(String(evidence)), fix });+ findings.push({ gate: g, grade, tier, file: rel(file), line: line || 1, evidence: trunc(String(evidence), 120), fix });}function applyWaivers(ctx, dir) {@@ -886,7 +909,7 @@ function applyWaivers(ctx, dir) {}const pageWords = new Set(- (ctx.stampText + ' ' + ctx.docs.map((d) => d.text).join(' '))+ (ctx.stampText.replace(/\/\*\s*Hallmark\s*·\s*(?:waive|answered|dismissed)\b[^*]*\*\//gi, ' ') + ' ' + ctx.docs.map((d) => d.text).join(' ')).toLowerCase().match(/[a-z]{4,}/g) || []);const file = ctx.cssFiles[0]?.file || ctx.docs[0]?.file || dir;@@ -913,6 +936,7 @@ function applyWaivers(ctx, dir) {: 'Floor is never waivable');continue;}+ if (/^\d+$/.test(c.id) && [...TIERS.keys()].some((k) => k !== c.id && gateNumber(k) === c.id)) { rejectAt(c, `name the clause (${[...TIERS.keys()].filter((k) => k !== c.id && gateNumber(k) === c.id).join(' or ')})`); continue; }if (WAIVED.has(b)) { rejectAt(c, 'one waiver per gate'); continue; }if (c.reason.length < 24) { rejectAt(c, 'reason under 24 characters'); continue; }if (reasonIsBoilerplate(c.reason)) { rejectAt(c, 'boilerplate reason'); continue; }@@ -1110,6 +1134,19 @@ function gradientTextRules(ctx) {}return out;}+function withoutPatterns(value) {+ let out = '', i = 0;+ const re = /repeating-(?:linear|radial|conic)-gradient\(/gi;+ let m;+ while ((m = re.exec(value))) {+ out += value.slice(i, m.index);+ let depth = 1, k = m.index + m[0].length;+ while (k < value.length && depth > 0) { if (value[k] === '(') depth++; else if (value[k] === ')') depth--; k++; }+ i = k; re.lastIndex = k;+ }+ return out + value.slice(i);+}+function check2(ctx) {const textRules = new Set();for (const { r, clip, grad } of gradientTextRules(ctx)) {@@ -1122,7 +1159,9 @@ function check2(ctx) {if (textRules.has(r.selector)) continue;for (const d of r.decls) {if (!/gradient\(/i.test(d.value)) continue;- const banned = bannedGradient(gradientHues(d.value, ctx), ctx);+ const washes = withoutPatterns(d.value);+ if (!/gradient\(/i.test(washes)) continue;+ const banned = bannedGradient(gradientHues(washes, ctx), ctx);if (banned) report('2a', 'FAIL', r.file, d.line, `${banned} gradient on ${r.selector}`, 'One anchor hue; drop the gradient');}}@@ -1249,10 +1288,10 @@ function check10(ctx) {for (const r of ctx.rules) {for (const d of r.decls) {if (d.prop === 'transition' && /(^|,)\s*all[\s,]|^all$|^all\s/.test(d.value.trim())) {- report(10, 'FAIL', r.file, d.line, `transition: all on ${r.selector}`, 'List the transitioned properties explicitly');+ report('10a', 'FAIL', r.file, d.line, `transition: all on ${r.selector}`, 'List the transitioned properties explicitly');}if (d.prop === 'transition-property' && /\ball\b/.test(d.value)) {- report(10, 'FAIL', r.file, d.line, `transition-property: all on ${r.selector}`, 'List the transitioned properties explicitly');+ report('10a', 'FAIL', r.file, d.line, `transition-property: all on ${r.selector}`, 'List the transitioned properties explicitly');}}}@@ -1309,7 +1348,7 @@ function check12(ctx) {}function check10Motion(ctx) {- const hardRe = /(?<![\w-])(width|height|top|left|right|bottom|inset(?:-[a-z-]+)?|flex-basis|grid-template-(?:columns|rows))(?![\w-])/;+ const hardRe = /(?<![\w-])(width|height|top|left|right|bottom|inset(?:-[a-z-]+)?|flex-basis|grid-template-columns)(?![\w-])/;const softRe = /(?<![\w-])(margin(?:-[a-z]+)?|padding(?:-[a-z]+)?)(?![\w-])/;const a11ySel = /skip|sr-only|visually-hidden/i;for (const r of ctx.rules) {@@ -1342,8 +1381,9 @@ function check10Motion(ctx) {function check15(ctx) {for (const r of ctx.rules) {if (!/:focus(-visible|-within)?\b/.test(r.selector)) continue;+ const withinOnly = !/:focus(-visible)?(?![\w-])/.test(r.selector);for (const d of r.decls) {- if (d.prop === 'transition' && /outline|box-shadow|opacity|all/.test(d.value)) {+ if (d.prop === 'transition' && (withinOnly ? /outline|box-shadow|\ball\b/ : /outline|box-shadow|opacity|\ball\b/).test(d.value)) {report(15, 'FAIL', r.file, d.line, `focus ring transition on ${r.selector}`, 'Remove the transition; rings appear instantly');}}@@ -1362,7 +1402,7 @@ function check17(ctx) {function check18(ctx) {const autoish = /carousel|marquee|ticker|rotate|slider|scroll|auto/i;- const paused = ctx.rules.some((r) => /:hover|:focus/.test(r.selector) && r.decls.some((d) => d.prop === 'animation-play-state' && /paused/.test(d.value)));+ const paused = ctx.rules.some((r) => /:hover|:focus|\[data-loop\]/.test(r.selector) && r.decls.some((d) => d.prop === 'animation-play-state' && /paused/.test(d.value)));for (const r of ctx.rules) {if (r.keyframes || !autoish.test(r.selector)) continue;for (const d of r.decls) {@@ -1380,7 +1420,6 @@ function check19(ctx) {[/\b(jane doe|john smith|john doe|example user)\b/i, 'placeholder name'],[/\bAcme\b/, 'startup cliche name'],[/\bNexus\b/, 'startup cliche name'],- [/\bUnleash\b/, 'startup cliche name'],];for (const [re, label] of patterns) {const m = re.exec(t);@@ -1582,7 +1621,7 @@ function check28(ctx) {report('28b', 'FAIL', doc.file, t.line, 'video without poster', 'Add a poster frame; guard: below the fold and not the LCP');}if ((getAttr(t.attrs, 'loading') || '').toLowerCase() === 'lazy' && firstMedia) {- report('28a', 'WARN', doc.file, t.line, 'lazy-loaded hero video', 'fetchpriority=high on the LCP element');+ report('28a', 'WARN', doc.file, t.line, 'lazy-loaded hero video', 'Never lazy on the LCP video; preload its poster with fetchpriority=high');}firstMedia = false;}@@ -1679,15 +1718,15 @@ function check34(ctx) {const file = ctx.cssFiles[0]?.file || ctx.docs[0]?.file;const both = clipped.has('html') && clipped.has('body');if (!both && hidden) {- report(34, 'WARN', hidden.file, hidden.line, `overflow-x: hidden on ${hidden.sel} (breaks sticky)`, 'Use overflow-x: clip on both html and body, never hidden');+ report(34, 'FAIL', hidden.file, hidden.line, `overflow-x: hidden on ${hidden.sel} (breaks sticky)`, 'Use overflow-x: clip on both html and body, never hidden');} else if (!both && file && ctx.docs.length && pageish && !hiddenUtil.length) {const where = clipped.size ? `overflow-x: clip on ${[...clipped][0]} only` : 'no overflow-x: clip on html and body';report(34, 'FAIL', file, 1, where, 'overflow-x: clip on both html and body');}for (const r of ctx.rules) {for (const d of r.decls) {- if (/^(width|min-width)$/.test(d.prop) && /^100vw$/.test(d.value.trim())) {- report(34, 'WARN', r.file, d.line, `${d.prop}: 100vw on ${r.selector} (scrollbar overflow)`, 'width: 100% with container padding');+ if (/^(width|min-width)$/.test(d.prop) && /(^|[^\w.-])100vw\b/.test(d.value)) {+ report(34, 'FAIL', r.file, d.line, `${d.prop}: ${trunc(d.value, 28)} on ${r.selector} (scrollbar overflow)`, 'width: 100% with container padding');}}}@@ -1723,15 +1762,15 @@ function check38a(ctx) {}}- const emNormalized = ctx.rules.some((r) =>- /(^|[\s,])(em|i)\b/.test(r.selector)- && r.decls.some((d) => d.prop === 'font-style' && /normal/.test(d.value)));- if (emNormalized) return;+ const normSel = ctx.rules.filter((r) => /(^|[\s,>+~])(em|i)\b/.test(r.selector)+ && r.decls.some((d) => d.prop === 'font-style' && /normal/.test(d.value))).flatMap((r) => r.selector.split(',').map((x) => x.trim()));+ const normalised = (level, classes) => normSel.some((sel) => /^(em|i)$/.test(sel) || new RegExp(`(^|[\\s,>+~])h${level}\\b`).test(sel) || classes.some((c) => sel.includes('.' + c)));for (const doc of ctx.docs) {- const re = /<h([1-6])\b[^>]*>([\s\S]*?)<\/h\1>/gi;+ const re = /<h([1-6])\b([^>]*)>([\s\S]*?)<\/h\1>/gi;let m;while ((m = re.exec(doc.src))) {- if (/<(em|i)\b/i.test(m[2])) {+ const classes = ((/class\s*=\s*["']([^"']*)["']/i.exec(m[2]) || [])[1] || '').split(/\s+/).filter(Boolean);+ if (/<(em|i)\b/i.test(m[3]) && !normalised(m[1], classes)) {report('38i', 'FAIL', doc.file, doc.lineOf(m.index), `<em>/<i> inside <h${m[1]}>`, 'Roman headers; emphasis via weight or accent');}}@@ -1963,12 +2002,6 @@ function check47(ctx) {function check48(ctx) {const colorLit = /#[0-9a-fA-F]{3,8}\b|(?<![\w-])rgba?\(|(?<![\w-])hsla?\(|(?<![\w-])oklch\(/;- const oklchCount = new Map();- const warnOklch = (file, line, evidence) => {- const n = (oklchCount.get(file) || 0) + 1;- oklchCount.set(file, n);- if (n <= 6) report(48, 'WARN', file, line, evidence, 'Lift the value into the token block');- };for (const [prop, val] of Object.entries(ctx.tokens)) {if (/^--(font|color)-/.test(prop) && /FILL ME/i.test(val)) {const tr = ctx.rules.find((r) => isTokenRule(r) && r.decls.some((d) => d.prop === prop));@@ -2001,8 +2034,7 @@ function check48(ctx) {if (c.alpha === 0) continue;const isOklch = m[0].toLowerCase().startsWith('oklch');const ev = `${isOklch ? 'oklch' : 'colour'} literal ${trunc(m[0], 30)} outside tokens (${d.prop} on ${trunc(r.selector, 30)})`;- if (isOklch) warnOklch(r.file, d.line, ev);- else report(48, 'FAIL', r.file, d.line, ev, 'Lift the value into the token block');+ report(48, 'FAIL', r.file, d.line, ev, 'Lift the value into the token block');}}}@@ -2014,16 +2046,10 @@ function check48(ctx) {if (lit && parseColor(lit[0])) {const isOklch = lit[0].toLowerCase().startsWith('oklch');const ev = `inline-style colour literal ${trunc(lit[0], 30)}`;- if (isOklch) warnOklch(doc.file, doc.lineOf(m.index), ev);- else report(48, 'FAIL', doc.file, doc.lineOf(m.index), ev, 'Lift the value into the token block');+ report(48, 'FAIL', doc.file, doc.lineOf(m.index), ev, 'Lift the value into the token block');}}}- for (const [file, n] of oklchCount) {- if (n > 6) {- report(48, 'WARN', file, 1, `+${n - 6} more oklch literals outside tokens in this file`, 'Lift the values into the token block');- }- }}function check49(ctx) {@@ -2259,11 +2285,12 @@ function check55(ctx) {const lhD = r.decls.find((d) => d.prop === 'line-height');if (!lhD) continue;const lh = parseFloat(resolveVars(lhD.value, ctx.tokens));- if (Number.isNaN(lh) || lh >= 1.0) continue;+ if (Number.isNaN(lh) || lh >= 1.02) continue;const bigType = r.decls.some((d) => d.prop === 'font-size' && (pxOf(resolveVars(d.value, ctx.tokens)) ?? 0) >= 28);if (!displayish && !bigType) continue;const nowrap = r.decls.some((d) => d.prop === 'white-space' && /nowrap/.test(d.value));- report(nowrap ? '55b' : '55a', 'FAIL', r.file, lhD.line, `uppercase + line-height ${lh} on ${r.selector} (cap collision)`, 'Line-height 1.0 minimum for caps heads');+ if (!nowrap && lh >= 1.0) continue;+ report(nowrap ? '55b' : '55a', 'FAIL', r.file, lhD.line, `uppercase + line-height ${lh} on ${r.selector} (cap collision)`, nowrap ? 'A single-line caps lockup holds 1.02 or more' : 'Line-height 1.0 minimum for caps heads that can wrap');}}@@ -2286,7 +2313,7 @@ function checkCopyTell(ctx) {const prose = maskedProse(doc);const m = /\w\s--\s\w|[\u2014\u2013]|—|–|—|–/.exec(prose);if (m) report(19, 'FAIL', doc.file, doc.lineOf(m.index), `dash "${m[0]}" in copy`, 'A comma, a colon, a full stop or parentheses; never a dash');- const buzz = /\b(seamless(ly)?|robust|empower(s|ing)?|supercharge[sd]?|elevate[sd]?|effortless(ly)?|unlock(s|ing)?|next[- ]generation|world[- ]class|cutting[- ]edge|streamline[sd]?|revolutioni[sz]e[sd]?|game[- ]chang(er|ing)|enterprise[- ]grade|quietly (trusted|in use)|built for the modern|in today's)\b/i.exec(prose);+ const buzz = /\b(seamless(ly)?|robust|empower(s|ing)?|supercharge[sd]?|best[- ]in[- ]class|industry[- ]leading|mission[- ]critical|future[- ]proof(ed)?|unleash(es|ed|ing)?|elevate[sd]?|effortless(ly)?|unlock(s|ing)?|next[- ]generation|world[- ]class|cutting[- ]edge|streamline[sd]?|revolutioni[sz]e[sd]?|game[- ]chang(er|ing)|enterprise[- ]grade|quietly (trusted|in use)|built for the modern|in today's)\b/i.exec(prose);if (buzz) report(19, 'FAIL', doc.file, doc.lineOf(buzz.index), `buzzword "${buzz[0]}"`, 'Say what the product does, in its own nouns');const cadence = prose.match(/(^|[.!?]\s+)(not|no)\s+[a-z][^.!?\n]{0,40}[.]\s+(just|only|a|an)?\s*[a-z][^.!?\n]{0,40}[.]/gi) || [];if (cadence.length >= 3) report(19, 'FAIL', doc.file, doc.lineOf(prose.indexOf(cadence[0].trim()) || 0), `rebuttal cadence repeated ${cadence.length} times ("${trunc(cadence[0].trim(), 40)}")`, 'Once is voice; three times is a tic');@@ -2298,9 +2325,20 @@ function monoIsMaterial(ctx) {return mono(ctx.tokens['--font-display']) || mono(ctx.tokens['--font-body']);}-const HIDE_OK = /tooltip|popover|menu|dropdown|modal|dialog|toast|overlay|backdrop|sheet|drawer|panel|:hover|:focus|:not\(|::before|::after|\.is-|\[hidden|\[aria-hidden|sr-only|visually-hidden|skip|placeholder|::marker|\[data-slot/i;+const HIDE_OK = /tooltip|popover|menu|dropdown|modal|dialog|toast|overlay|backdrop|sheet|drawer|panel|:hover|:focus|:checked|:target|\[open|\[aria-(?:expanded|selected|current|pressed)|::before|::after|\.is-|\[hidden|\[aria-hidden|sr-only|visually-hidden|skip|placeholder|::marker|\[data-slot/i;+function startingStyleText(css) {+ let out = '';+ for (const m of css.matchAll(/@starting-style\s*\{/gi)) {+ let depth = 1, k = m.index + m[0].length;+ while (k < css.length && depth > 0) { if (css[k] === '{') depth++; else if (css[k] === '}') depth--; k++; }+ out += css.slice(m.index, k) + ' ';+ const open = css.lastIndexOf('{', m.index - 1), close = css.lastIndexOf('}', m.index - 1);+ if (open > close) out += css.slice(Math.max(close + 1, 0), open) + ' ';+ }+ return out;+}function check62(ctx) {- const hasStartingStyle = /@starting-style/i.test(ctx.allCss);+ const starting = startingStyleText(ctx.allCss);const jsScoped = (sel) => /(^|[\s,])(html|body)?\.js\b|\[data-js|\.no-js|html\.has-js/i.test(sel);const animatedNames = new Map();for (const r of ctx.rules) if (r.keyframes) {@@ -2310,10 +2348,10 @@ function check62(ctx) {const animatesVisible = (name) => (animatedNames.get(name) || []).some((r) => /to|100%/.test(r.selector) && r.decls.some((d) => d.prop === 'opacity' && parseFloat(d.value) === 1));const seen = new Set();for (const r of ctx.rules) {- if (r.keyframes || r.media || r.selector === '@font-face') continue;+ if (r.keyframes || (r.media && /\bprint\b/i.test(r.media)) || r.selector === '@font-face') continue;const hidden = r.decls.find((d) => (d.prop === 'opacity' && parseFloat(resolveVars(d.value, ctx.tokens)) === 0) || (d.prop === 'visibility' && /hidden/.test(d.value)));if (!hidden) continue;- if (HIDE_OK.test(r.selector) || jsScoped(r.selector) || hasStartingStyle) continue;+ if (HIDE_OK.test(r.selector.replace(/:not\([^)]*\)/g, '')) || jsScoped(r.selector) || (starting && starting.includes(r.selector))) continue;const revealish = /reveal|fade|animate|aos|in-view|inview|appear|enter|rise|slide|stagger|observe|lazy/i.test(r.selector) || r.decls.some((d) => d.prop === 'transform' && /translate|scale/.test(d.value));if (!revealish) continue;const anim = r.decls.find((d) => d.prop === 'animation' || d.prop === 'animation-name');@@ -2392,8 +2430,9 @@ function check65(ctx) {const cream = p.L >= 0.9 && p.C >= 0.006 && p.H >= 55 && p.H <= 105;const clay = a.C >= 0.08 && a.H >= 15 && a.H <= 55;const disp = firstFamily(resolveVars(ctx.tokens['--font-display'] || '', ctx.tokens));- const hcSerif = /bodoni|didot|didone|playfair|fraunces|instrument serif|cormorant|dm serif|libre caslon display|abril|prata|gloock|newsreader|editorial new|gt sectra|canela|freight/i.test(disp);- if (cream && clay && hcSerif) report(65, 'FAIL', ctx.cssFiles[0]?.file || ctx.docs[0]?.file, 1, `the named look: cream paper (L ${Math.round(p.L * 100)}%, hue ${Math.round(p.H)}) + ${disp} + a clay accent (hue ${Math.round(a.H)})`, 'Move one axis, the accent first; or stamp the theme as asked for by name');+ const hcSerif = /bodoni|didot|didone|playfair|fraunces|instrument serif|cormorant|dm serif|libre caslon display|abril|prata|gloock|newsreader|editorial new|gt sectra|canela|freight|yeseva|rozha|boska|melodrama/i.test(disp);+ const catalogTheme = /theme:\s*(?!custom\b)[A-Z][\w-]*\s*\((?:deal|by request)/.test(ctx.stampText);+ if (cream && clay && hcSerif && !catalogTheme) report(65, 'FAIL', ctx.cssFiles[0]?.file || ctx.docs[0]?.file, 1, `the named look: cream paper (L ${Math.round(p.L * 100)}%, hue ${Math.round(p.H)}) + ${disp} + a clay accent (hue ${Math.round(a.H)})`, 'Move one axis, the accent first; or stamp the theme as asked for by name');}function checkF15(ctx) {@@ -2402,14 +2441,14 @@ function checkF15(ctx) {if (r.keyframes || r.media || !/container|wrap|inner|shell|content|section|page|main/i.test(r.selector)) continue;for (const d of r.decls) if (d.prop === 'max-width') { const px = maxPxIn(resolveVars(d.value, ctx.tokens)); if (px && px >= 900) widths.set(px, r.selector); }}- if (widths.size > 2) report('F15', 'WARN', ctx.cssFiles[0]?.file || ctx.docs[0]?.file, 1, `${widths.size} container widths on one page (${[...widths.keys()].join(', ')}px)`, 'One container width, applied by the same two-element pattern in every section');+ if (widths.size > 1) report('F15', 'WARN', ctx.cssFiles[0]?.file || ctx.docs[0]?.file, 1, `${widths.size} container widths on one page (${[...widths.keys()].join(', ')}px)`, 'One container width, applied by the same two-element pattern in every section');const gaps = new Map();for (const r of ctx.rules) {- if (r.keyframes || r.media) continue;+ if (r.keyframes || r.media || /hero|masthead|fold/i.test(r.selector)) continue;const cols = r.decls.find((d) => d.prop === 'grid-template-columns' && trackCount(d.value) > 1 && !/^repeat\(\s*auto/.test(d.value.trim()));if (!cols) continue;const gap = r.decls.find((d) => /^(gap|column-gap)$/.test(d.prop));- if (gap) { const v = resolveVars(gap.value, ctx.tokens).split(/\s+/).pop(); const px = maxPxIn(v); if (px != null && px >= 16) gaps.set(v, r.selector); }+ if (gap) { const v = resolveVars(gap.value, ctx.tokens).split(/\s+/).pop(); const px = maxPxIn(v); if (px != null && px >= 24) gaps.set(v, r.selector); }}if (gaps.size > 2) report('F15', 'WARN', ctx.cssFiles[0]?.file || ctx.docs[0]?.file, 1, `${gaps.size} different column gaps across multi-column sections (${[...gaps.keys()].join(', ')})`, 'One column gap for every multi-column section');}@@ -2726,7 +2765,7 @@ function check67(ctx) {if (heading && !control) continue;const key = baseSelector(r.selector);if (seen.has(key)) continue;- const small = px != null && px < 15;+ const small = px != null && px <= 15;if (control && !labelish) {if (!upper && !smallCaps) { if (!(tracked && small)) continue; }else if (upperDisplay && (em == null || em <= 0.045)) continue;@@ -2951,9 +2990,9 @@ function check42TwoButton(ctx) {if (controls.length < 2) continue;const fillOf = (c) => { const decls = styleFor(ctx, c.cls, c.t.name, true); let raw = null; for (const d of decls) if (d.prop === 'background-color' || d.prop === 'background') raw = d.value; if (!raw || /--color-paper\b/.test(raw)) return false; const bg = resolveVars(raw, ctx.tokens); return !/^(none|transparent|inherit|initial|unset)$/i.test(bg.trim()) && !/transparent/i.test(bg) && !/var\(--color-paper/.test(raw); };const firstFilled = fillOf(controls[0]);- if (firstFilled && fillOf(controls[1])) { report(42, 'WARN', doc.file, controls[1].t.line, `two filled buttons side by side in the hero: "${trunc(controls[0].label, 20)}" and "${trunc(controls[1].label, 20)}"`, 'One filled primary per screen; the second action is outlined or a typographic link'); continue; }+ if (firstFilled && fillOf(controls[1])) { report('F4', 'WARN', doc.file, controls[1].t.line, `two filled buttons side by side in the hero: "${trunc(controls[0].label, 20)}" and "${trunc(controls[1].label, 20)}"`, 'One filled primary per screen; the second action is outlined or a typographic link'); continue; }if (!SECOND_CTA.test(controls[1].label) || !firstFilled) continue;- report(42, 'WARN', doc.file, controls[1].t.line, `the two-button hero: "${trunc(controls[0].label, 20)}" then "${controls[1].label}"`, 'One action in the hero; the second button is the template speaking');+ report(19, 'WARN', doc.file, controls[1].t.line, `the stock second action in the hero: "${trunc(controls[0].label, 20)}" then "${controls[1].label}"`, 'One action in the hero; the second button is the template speaking');}}@@ -2967,7 +3006,7 @@ function check68(ctx) {if (t.close || !/\bdata-slot\s*=/.test(t.attrs)) continue;const inner = t.selfClosing ? null : innerOf(doc, i);if (inner && /<img\b[^>]*\bsrc\s*=\s*["'][^"']+["']/i.test(inner.inner)) continue;- slots.push({ i, t, parent: (doc.parentOf ? doc.parentOf(i) : null) });+ slots.push({ i, t });}if (slots.length > 5) report(68, 'FAIL', doc.file, slots[5].t.line, `${slots.length} empty slots on one page`, 'Two to four slots carry a page; set the rest in type, names and facts in a list or table');const byRun = new Map();@@ -3054,7 +3093,7 @@ function check65Tailwind(ctx) {if (!isTokenRule(r) || r.selector === '@font-face') continue;for (const d of r.decls) {const m = TAILWIND_HEX.exec(d.value);- if (m) report(65, 'WARN', r.file, d.line, `default Tailwind palette ${m[0]} on ${d.prop}`, 'Mix the colour for this page in OKLCH; a stock swatch is the AI look');+ if (m) report(74, 'WARN', r.file, d.line, `default Tailwind palette ${m[0]} on ${d.prop}`, 'Mix the colour for this page in OKLCH; a stock swatch is the AI look');}}}@@ -3700,7 +3739,7 @@ function checkTailwind(ctx) {const pal = new Map();let palAt = null;for (const it of list) for (const p of it.info.pal) if (!pal.has(p)) { pal.set(p, it); if (pal.size === 5) palAt = it; }- if (palAt) report(65, 'WARN', doc.file, palAt.line, `default palette instead of theme tokens: ${pal.size} distinct palette classes (${[...pal.keys()].slice(0, 4).join(' ')})`, 'Extend the Tailwind theme with the Hallmark tokens and use those names');+ if (palAt) report(74, 'WARN', doc.file, palAt.line, `default palette instead of theme tokens: ${pal.size} distinct palette classes (${[...pal.keys()].slice(0, 4).join(' ')})`, 'Extend the Tailwind theme with the Hallmark tokens and use those names');const scaled = list.filter((it) => it.info.hScale);if (scaled.length >= 3) report(11, 'WARN', doc.file, scaled[2].line, `hover scale on ${scaled.length} elements in this file (${scaled.slice(0, 3).map((it) => it.info.hScale).join(', ')})`, 'One hover signal per element; not every card grows');const first = new Set(['section', 'header'].map((n) => doc.tags.findIndex((t) => !t.close && t.name === n)).filter((x) => x >= 0));@@ -3811,47 +3850,50 @@ function shareProjects(contexts) {}}-const waiversByDir = new Map();+const waiversByKey = new Map();const postureByFile = {};const heroPostureByFile = {};const contexts = [];-for (const [dir, g] of groups) {+const parsedDocs = new Map();+const docOf = (f) => {+ if (parsedDocs.has(f)) return parsedDocs.get(f);+ let doc = null;+ try { doc = parseDoc(f, readFileSync(f, 'utf8')); } catch (e) { console.error(`sloplint: skipped ${rel(f)}, it could not be parsed (${e.message})`); }+ parsedDocs.set(f, doc);+ return doc;+};+function buildContext(key, cssList, docList) {const cssFiles = [];const rules = [];const docs = [];- const inGroup = new Set([...g.css, ...g.html]);+ const inGroup = new Set([...cssList, ...docList.map((d) => d.file)]);const pending = [];- for (const f of g.css) {+ for (const f of cssList) {const raw = readFileSync(f, 'utf8');cssFiles.push({ file: f, raw });rules.push(...parseCss(raw, f));pending.push(...importsOf(raw, dirname(f)));}- for (const f of g.html) {- const raw = readFileSync(f, 'utf8');- let doc;- try { doc = parseDoc(f, raw); } catch (e) {- console.error(`sloplint: skipped ${rel(f)}, it could not be parsed (${e.message})`);- continue;- }+ for (const doc of docList) {docs.push(doc);- for (const s of doc.styles) {- rules.push(...parseCss(s.css, f, s.lineOffset));- pending.push(...importsOf(s.css, dirname(f)));+ for (const st of doc.styles) {+ rules.push(...parseCss(st.css, doc.file, st.lineOffset));+ pending.push(...importsOf(st.css, dirname(doc.file)));}- pending.push(...linksOf(doc, dirname(f)));+ pending.push(...linksOf(doc, dirname(doc.file)));}+ const reached = new Set();while (pending.length) {const p = pending.shift();if (inGroup.has(p) || extname(p).toLowerCase() !== '.css' || !existsSync(p)) continue;inGroup.add(p);+ reached.add(p);let raw;try { raw = readFileSync(p, 'utf8'); } catch { continue; }cssFiles.push({ file: p, raw, attached: true });rules.push(...parseCss(raw, p));pending.push(...importsOf(raw, dirname(p)));}-const head40 = (t) => t.split('\n').slice(0, 40).join('\n');const stampText = [...cssFiles.map((c) => head40(c.raw)),@@ -3861,37 +3903,64 @@ for (const [dir, g] of groups) {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');+ + docs.map((d) => d.styles.map((st) => st.css).join('\n')).join('\n');const tokensOnly = !docs.length && rules.length > 0 && rules.every(isTokenRule);- contexts.push([dir, { rules, tokens: buildTokens(rules), docs, cssFiles, genre: opts.genre, stampText, allCss, posture, tokensOnly }]);+ contexts.push([key, { rules, tokens: buildTokens(rules), docs, cssFiles, genre: opts.genre, stampText, allCss, posture, tokensOnly }]);+ return reached;+}+for (const [dir, g] of groups) {+ const docs = g.html.map(docOf).filter(Boolean);+ const pages = docs.filter((d) => d.kind === 'html');+ const parts = docs.filter((d) => d.kind !== 'html');+ if (!pages.length) { buildContext(dir, g.css, parts); continue; }+ const used = new Set();+ for (const page of pages) {+ const linked = new Set();+ const queue = [...linksOf(page, dirname(page.file)), ...page.styles.flatMap((st) => importsOf(st.css, dirname(page.file)))];+ while (queue.length) {+ const q = queue.shift();+ if (linked.has(q) || !existsSync(q) || extname(q).toLowerCase() !== '.css') continue;+ linked.add(q);+ try { queue.push(...importsOf(readFileSync(q, 'utf8'), dirname(q))); } catch {}+ }+ const own = pages.length === 1 ? g.css : g.css.filter((c) => linked.has(c));+ own.forEach((c) => used.add(c));+ for (const c of linked) used.add(c);+ buildContext(page.file, own, [page]);+ }+ const rest = g.css.filter((c) => !used.has(c));+ if (rest.length || parts.length) buildContext(dir, rest, parts);}shareProjects(contexts);-for (const [dir, ctx] of contexts) {- applyWaivers(ctx, dir);- waiversByDir.set(dir, { WAIVED, ANSWERED, DISMISSED });+for (const [key, ctx] of contexts) {+ applyWaivers(ctx, key);+ waiversByKey.set(key, { 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}`);+ console.error(`sloplint: internal error in ${check.name} for ${rel(key)}: ${e.message}`);}}}+let renderNotRun = null;if (opts.render) {const htmlFiles = files.filter((f) => extname(f).toLowerCase() === '.html');- try {+ if (!htmlFiles.length && !opts.urls.length) renderNotRun = 'no HTML page to render; pass --url for a running dev server';+ else 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, 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 || [])])) };+ const allWaivers = { WAIVED: new Set([...waiversByKey.values()].flatMap((x) => [...x.WAIVED])), ANSWERED: new Set([...waiversByKey.values()].flatMap((x) => [...x.ANSWERED])), DISMISSED: new Set([...waiversByKey.values()].flatMap((x) => [...(x.DISMISSED || [])])) };for (const f of extra) {- const w = /^https?:/.test(f.file) ? allWaivers : waiversByDir.get(dirname(f.file));+ const w = /^https?:/.test(f.file) ? allWaivers : (waiversByKey.get(f.file) || waiversByKey.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);}- for (const x of extra.failed || []) { WAIVED = new Set(); ANSWERED = new Set(); DISMISSED = new Set(); report('render', 'FAIL', x.file, 1, `the render tier crashed on this page (${trunc(x.message, 60)}); its gates did not run`, 'Fix the page error, or rerun; a crashed render is never a pass'); }+ for (const x of extra.failed || []) { WAIVED = new Set(); ANSWERED = new Set(); DISMISSED = new Set(); report('render', 'FAIL', x.file, 1, `the page did not render (${trunc(x.message, 60)}); its render gates did not run`, 'Fix the page or the URL and rerun; an unrendered page is never a pass'); }+ if (extra.notRun) renderNotRun = extra.notRun;} catch (e) {- console.error(`render tier unavailable (${e.message}); static checks only`);+ renderNotRun = e.message;}}@@ -3933,26 +4002,30 @@ if (answered) tally.push(`${answered} ANSWERED`);if (dismissed) tally.push(`${dismissed} DISMISSED`);if (notes) tally.push(`${notes} NOTE`);+const scopeNote = `${files.length} file(s)${opts.urls.length ? ` and ${opts.urls.length} URL(s)` : ''}${opts.stage === 'hero' ? ' (hero stage)' : ''}`;+const renderNote = opts.render ? (renderNotRun ? `render tier not run: ${renderNotRun}` : null) : null;if (opts.json) {console.log(JSON.stringify({- summary: { fails, reflex, warns, waived, rejected, answered, dismissed, notes, files: files.length },+ summary: { fails, reflex, warns, waived, rejected, answered, dismissed, notes, files: files.length, render: opts.render ? (renderNotRun ? `not run: ${renderNotRun}` : 'ran') : 'off' },findings: unique,}, null, 2));} else {- if (!unique.length) {- console.log(`sloplint: clean. 0 FAIL, 0 REFLEX, 0 WARN across ${files.length} file(s)${opts.urls.length ? ` and ${opts.urls.length} URL(s)` : ''}${opts.stage === 'hero' ? ' (hero stage)' : ''}.`);- } else {- const wGate = Math.max(4, ...unique.map((f) => String(f.gate).length));- const wGrade = Math.max(5, ...unique.map((f) => f.grade.length));- const wWhere = Math.max(9, ...unique.map((f) => `${f.file}:${f.line}`.length));- console.log(`${'GATE'.padEnd(wGate)} ${'GRADE'.padEnd(wGrade)} ${'WHERE'.padEnd(wWhere)} EVIDENCE`);- for (const f of unique) {- console.log(`${String(f.gate).padEnd(wGate)} ${f.grade.padEnd(wGrade)} ${`${f.file}:${f.line}`.padEnd(wWhere)} ${f.evidence}`);- if (f.grade !== 'WAIVED' && f.grade !== 'ANSWERED') {- console.log(`${''.padEnd(wGate)} ${''.padEnd(wGrade)} ${''.padEnd(wWhere)} fix: ${f.fix}`);- }- }- console.log(`\n${tally.join(', ')} across ${files.length} file(s)${opts.urls.length ? ` and ${opts.urls.length} URL(s)` : ''}${opts.stage === 'hero' ? ' (hero stage)' : ''}.`);- }+ if (!unique.length) console.log(`sloplint: clean. 0 FAIL, 0 REFLEX, 0 WARN across ${scopeNote}.`);+ else {+ const byFile = new Map();+ for (const f of unique) { if (!byFile.has(f.file)) byFile.set(f.file, []); byFile.get(f.file).push(f); }+ const told = new Set();+ for (const [file, list] of byFile) {+ console.log(file);+ for (const f of list) {+ const key = `${f.gate}|${f.fix}`;+ const fix = f.grade !== 'WAIVED' && f.grade !== 'ANSWERED' && f.grade !== 'DISMISSED' && !told.has(key) ? ` | fix: ${f.fix}` : '';+ told.add(key);+ console.log(` ${f.grade} ${f.gate} :${f.line} ${f.evidence}${fix}`);+ }+ }+ console.log(`sloplint: ${tally.join(', ')} across ${scopeNote}.`);+ }+ if (renderNote) console.log(renderNote);}process.exit(fails > 0 || reflex > 0 ? 1 : 0);diff --git a/skills/hallmark/scripts/theme.mjs b/skills/hallmark/scripts/theme.mjsindex 4db4484..e9bf04f 100644--- a/skills/hallmark/scripts/theme.mjs+++ b/skills/hallmark/scripts/theme.mjs@@ -7,18 +7,21 @@ import { createHash } from 'node:crypto';const HERE = dirname(fileURLToPath(import.meta.url));const THEMES = join(HERE, '..', 'references', 'themes');const INDEX = join(THEMES, 'index.json');-const VERSION = '2.3.0';+const VERSION = '2.4.0';const args = process.argv.slice(2);const cmd = args[0];const flag = (k, d = null) => { const i = args.indexOf('--' + k); const v = i >= 0 ? args[i + 1] : undefined; return v !== undefined && !String(v).startsWith('--') ? v : d; };const has = (k) => args.includes('--' + k);+const VALUED = new Set(['genre', 'brief', 'log', 'n', 'reroll', 'dealt', 'dir', 'axes', 'face', 'hue', 'entry']);+const positional = () => { const out = []; for (let i = 1; i < args.length; i++) { const a = args[i]; if (a.startsWith('--')) { if (VALUED.has(a.slice(2))) i++; continue; } out.push(a); } return out; };+const GENRES = ['editorial', 'modern-minimal', 'atmospheric', 'playful'];function usage() {console.error(`usage:node theme.mjs deal --genre <g> --brief "<brief>" [--log .hallmark/log.json] [--n 3] [--reroll 0] [--json]node theme.mjs scaffold <slug> [--dealt "<n>/3, seed <seed>"] [--dir .] [--force]node theme.mjs scaffold --custom [--dir .] [--force]- node theme.mjs check --axes "<paper>/<display>/<accent>" [--face "<display face>"] [--hue <accent hue>] [--log .hallmark/log.json]+ node theme.mjs check [--axes "<paper>/<display>/<accent>"] [--face "<display face>"] [--hue <accent hue>] [--log .hallmark/log.json]node theme.mjs log --entry '<one JSON object>' [--log .hallmark/log.json]node theme.mjs indexnode theme.mjs list@@ -72,12 +75,15 @@ function addLog() {let entry;try { entry = JSON.parse(flag('entry', '')); } catch { entry = null; }if (!entry || Array.isArray(entry) || typeof entry !== 'object') { console.error('--entry takes one JSON object, the build\'s log entry'); process.exit(2); }+ if (!entry.date) entry.date = new Date().toISOString().slice(0, 10);+ const missing = ['shape', 'theme', 'axes', 'hero', 'nav', 'footer', 'enrichment', 'entry', 'fingerprint', 'signature', 'brief'].filter((k) => !entry[k]);+ if (existsSync(file)) { try { JSON.parse(readFileSync(file, 'utf8')); } catch { console.error(`${file} is not valid JSON; fix it or move it aside, nothing was written`); process.exit(1); } }const next = [entry, ...readLog(file)].slice(0, 20);mkdirSync(dirname(file), { recursive: true });const tmp = `${file}.${process.pid}.tmp`;writeFileSync(tmp, JSON.stringify(next, null, 1) + '\n');renameSync(tmp, file);- console.log(`logged ${entry.shape || '?'} in ${entry.theme || '?'} at the top of ${file} (${next.length} of 20)`);+ console.log(`logged ${entry.shape || '?'} in ${entry.theme || '?'} at the top of ${file} (${next.length} of 20)${missing.length ? `; missing ${missing.join(', ')}, which Rotation reads, so log them` : ''}`);}function readLog(p) {@@ -93,7 +99,6 @@ function contrastOf(f, b) {}const triple = (t) => `${t.paper.band}/${t.display.class}/${t.accent.band}`;-const sameTriple = (a, b) => a === b;const words = (s) => (s || '').toLowerCase().replace(/[^a-z0-9\s-]/g, ' ').split(/\s+/).filter((w) => w.length > 2);const ASK = new Set(['build', 'make', 'create', 'design', 'need', 'want', 'please', 'page', 'site', 'website', 'landing', 'called', 'for', 'and', 'the', 'with', 'that', 'this', 'our', 'your']);const briefWords = (s) => words(s).filter((w) => !ASK.has(w));@@ -113,7 +118,7 @@ function pickFrom(pool, n, exclude) {if (!avail.length) return picked;picked.push(avail[0]);const rest = () => avail.filter((s) => !picked.includes(s));- if (rest().length) {+ if (n >= 2 && rest().length) {const best = rest()[0];const other = rest().find((s) => s.t.paper.band !== picked[0].t.paper.band && s.fit >= best.fit - 2 && tripleOf(s) !== tripleOf(picked[0]));picked.push(other || rest().find((s) => tripleOf(s) !== tripleOf(picked[0])) || best);@@ -127,6 +132,7 @@ function pickFrom(pool, n, exclude) {function deal() {const genre = flag('genre', 'editorial');+ if (!GENRES.includes(genre)) { console.error(`unknown genre "${genre}" (valid: ${GENRES.join(', ')})`); process.exit(2); }const brief = flag('brief', '');const n = Number(flag('n', 3));const reroll = Number(flag('reroll', 0));@@ -146,7 +152,7 @@ function deal() {let fit = 0; const hits = [];for (const k of t.keywords) { const kw = k.toLowerCase().split(/\s+/).map(stem); if (kw.every((w) => bw.has(w))) { fit += 3; hits.push(k); } }if (t.genre === genre) fit += 2; else fit -= 1;- const blocked = recentNames.has(t.name.toLowerCase()) || (lastAxes && sameTriple(lastAxes, triple(t)));+ const blocked = recentNames.has(t.name.toLowerCase()) || (lastAxes && lastAxes === triple(t));const sibling = occupiedAxes.has(triple(t));if (sibling && !blocked) fit -= 1;return { t, fit, hits, blocked, sibling, r: rand() };@@ -155,16 +161,16 @@ function deal() {const previously = new Set();for (let r = 0; r < reroll; r++) for (const p of pickFrom(pool, n, previously)) previously.add(p.t.slug);const picked = pickFrom(pool, n, previously);+ if (!picked.length) { console.error(`nothing left to deal at reroll ${reroll}; use a lower --reroll`); process.exit(1); }if (has('json')) { console.log(JSON.stringify({ seed: seedKey, genre, deal: picked.map((s) => ({ ...s.t, fit: s.fit, hits: s.hits })), avoided: [...recentNames] })); return; }console.log(`deal: ${seedKey} · genre ${genre}${reroll ? ` · reroll ${reroll}` : ''}`);picked.forEach((s, i) => {const why = s.hits.length ? `fits: ${s.hits.slice(0, 4).join(', ')}` : (s.t.genre === genre ? 'genre fit' : 'adjacent genre');- console.log(`${i + 1}. ${s.t.name} · ${triple(s.t)} · ${s.t.material} · ${why} · ${s.t.file}${s.t.picture ? ` + ${s.t.picture}` : ''}${s.t.pictured ? ` (pictured as ${s.t.pictured})` : ''}`);+ console.log(`${i + 1}. ${s.t.name} (${s.t.slug}) · ${triple(s.t)} · ${s.t.material} · ${why}${s.t.picture ? ` · ${s.t.picture}` : ''}${s.t.pictured ? `, pictured as ${s.t.pictured}` : ''}`);});if (recent.length) console.log(`avoid: ${recent.map((r) => `${r.theme || '?'} (${r.axes || 'no axes'})`).join(' · ')}`);- else console.log('avoid: nothing logged yet (first run for this project)');- console.log(`next: look at the three pictures side by side and pick the material this brief wants (a picture in your own shape asks for a different section order), then node <skill-dir>/scripts/theme.mjs scaffold <slug> --dealt "<n>/${n}, seed ${seedKey}"`);+ console.log(`next: look at the pictures, pick the material this brief wants, read references/themes/<slug>.md, then theme.mjs scaffold <slug> --dealt "<n>/${picked.length}, seed ${seedKey}"`);}const PAPER_BANDS = new Set(['light', 'mid', 'dark']);@@ -174,9 +180,10 @@ const listOf = (set) => [...set].join(', ');function check() {const axes = flag('axes');- if (!axes) { usage(); process.exit(2); }- const [pb, dc, ab] = axes.split('/').map((s) => s.trim());- const unknown = !PAPER_BANDS.has(pb) ? `paper band "${pb}" (valid: ${listOf(PAPER_BANDS)})`+ if (!axes && !flag('face')) { usage(); process.exit(2); }+ if (!axes && flag('hue') != null) { console.error('--hue needs --axes (the hue is checked against themes on the same paper band and display class)'); process.exit(2); }+ const [pb, dc, ab] = (axes || '//').split('/').map((s) => s.trim());+ const unknown = !axes ? null : !PAPER_BANDS.has(pb) ? `paper band "${pb}" (valid: ${listOf(PAPER_BANDS)})`: !DISPLAY_CLASSES.has(dc) ? `display class "${dc}" (valid: ${listOf(DISPLAY_CLASSES)})`: !ACCENT_BAND.test(ab || '') ? `accent band "${ab}" (valid: warm, cool, neutral, chromatic-<hue name>)` : null;if (unknown) { console.error(`unknown ${unknown}`); process.exit(2); }@@ -185,7 +192,7 @@ function check() {const themes = loadIndex();const log = readLog(flag('log', '.hallmark/log.json'));let bad = 0;- for (const t of themes) {+ if (axes) for (const t of themes) {if (t.paper.band === pb && t.display.class === dc && t.accent.band === ab) { bad++; console.log(`collision: ${t.name} owns ${triple(t)} · move one axis, accent first`); }}if (face) for (const t of themes) {@@ -193,11 +200,11 @@ function check() {if (tf === face || tf.includes(face) || face.includes(tf)) { bad++; console.log(`collision: ${t.name} already sets its display in ${t.display.face} · pick a face no theme uses (fonts.md)`); }}if (hue != null) for (const t of themes) {- if (t.paper.band === pb && t.display.class === dc && hueGap(t.accent.hue, hue) <= 20) { bad++; console.log(`adjacent: ${t.name} is ${triple(t)} at hue ${t.accent.hue} · move the accent hue 40 degrees or more, or change the display class`); }+ if (t.paper.band === pb && t.display.class === dc && hueGap(t.accent.hue, hue) <= 20) { bad++; console.log(`adjacent: ${t.name} is ${triple(t)} at hue ${t.accent.hue} · move the accent hue more than 20 degrees (40 reads as another colour), or change the display class`); }}- const recent = log.slice(0, 3).filter((r) => r.axes === axes);+ const recent = axes ? log.slice(0, 3).filter((r) => r.axes === axes) : [];for (const r of recent) { bad++; console.log(`recent: ${r.theme || 'a build'} on ${r.date || '?'} used ${axes}`); }- if (!bad) { console.log(`clear: ${axes}${face ? ` in ${face}` : ''}${hue != null ? ` at hue ${hue}` : ''} lands on no catalog theme and no recent build`); return; }+ if (!bad) { console.log(axes ? `clear: ${axes}${face ? ` in ${face}` : ''}${hue != null ? ` at hue ${hue}` : ''} lands on no catalog theme and no recent build` : `clear: no catalog theme sets its display in ${flag('face')}`); return; }process.exitCode = 1;}@@ -217,7 +224,7 @@ const SCALE = ` --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm--ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);--dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;--color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);- --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap: 144px;+ --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 200px;--z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;`;const CUSTOM_TOKENS = ` --color-paper: FILL ME; --color-paper-2: FILL ME; --color-paper-3: FILL ME;@@ -229,7 +236,7 @@ const CUSTOM_TOKENS = ` --color-paper: FILL ME; --color-paper-2: FILL ME; --col--tracking-display: -0.02em;`;const BASE = `html, body { overflow-x: clip; }-html { scrollbar-color: var(--color-muted) var(--color-paper); }+html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-ink); }:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }@@ -243,18 +250,19 @@ svg { display: block; }button, input, select, textarea { font: inherit; }.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }.num, .figure, td.num { font-variant-numeric: tabular-nums; }+.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }[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):not([data-keep]) { display: none !important; }-@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap: 96px; } }-@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap: 72px; --gap-columns: 16px; } }+@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 136px; } }+@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --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 = typeof v === 'string' ? v : v.src; im.alt = (typeof v === 'object' && v.alt) || s.dataset.alt || ''; s.prepend(im); } };`;function scaffold() {const custom = has('custom');- const slug = custom ? null : args.slice(1).find((a) => !a.startsWith('--'));+ const slug = custom ? null : positional()[0];if (!custom && !slug) { usage(); process.exit(2); }const dir = resolve(flag('dir', '.'));let name = 'custom world';@@ -269,30 +277,31 @@ function scaffold() {tokens = tokenBlockOf(src, file);}const out = join(dir, 'tokens.css');- if (existsSync(out) && !has('force')) { console.error(`${out} exists; pass --force to overwrite it`); process.exit(1); }+ const baseOut = join(dir, 'base.css');+ for (const f of [out, baseOut]) if (existsSync(f) && !has('force')) { console.error(`${f} exists; pass --force to overwrite it`); process.exit(1); }mkdirSync(dir, { recursive: true });- 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`;+ const dark = header && header.paper.band === 'dark';+ const scale = 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${header ? ` color-scheme: ${dark ? 'dark' : 'light'};\n` : ''}${scale}\n${tokens}\n}\n`;writeFileSync(out, css);+ const own = !custom && /## Build hint[\s\S]*?(::selection\s*\{[^}]*\})/.exec(readFileSync(join(THEMES, `${slug}.md`), 'utf8'));+ writeFileSync(baseOut, (own ? BASE.replace(/::selection \{[^}]*\}/, own[1].replace(/\s+/g, ' ')) : BASE) + '\n');const stamp = custom? `/* Hallmark · shape: <shape> · genre: <genre> · theme: custom · direction: "<drawn, n/7>" · vibe: "<4 to 8 words>"\n * paper: oklch(<>) · accent: oklch(<>) · display: <face> · body: <face> · hero: <posture> · nav: <shape> · footer: <shape> · enrichment: <none or the file> · signature: <the one move>\n * axes: <paper>/<display>/<accent> · posture: <posture> · seed: <key> · challenger: <name> (<verdict or raise>) · contract: <after the finish review> · contrast: pass · fold: pass · v${VERSION} */`: `/* Hallmark · shape: <shape> · genre: ${header.genre} · theme: ${name} (${flag('dealt', '') ? `deal ${flag('dealt', '')}` : 'by request'})\n * hero: <posture> · nav: <shape> · footer: <shape> · enrichment: <none or the file> · signature: <the one move>\n * axes: ${triple(header)} · posture: ${header.posture} · contrast: pass · fold: pass · v${VERSION} */`;- console.log(`wrote ${out} (${custom ? 'the shared scale; fill every --color-* and --font-* from direction.md § B and § C before building' : `${name} tokens plus the shared scale`})`);- if (!custom) {+ console.log(`wrote ${out} (${custom ? 'the shared scale; fill every --color-* and --font-* from direction.md § B and § C before building' : `${name} tokens plus the shared scale`}) and ${baseOut} (the base rules the Floor already decided)`);+ if (!custom && !flag('dealt', '')) {const pic = join(THEMES, `${slug}.jpg`);if (existsSync(pic)) console.log(`look at ${pic}: the material at full size${header.pictured ? `, from a page built as ${header.pictured}` : ''}. Take its scale, density and objects, not its layout or its section order.`);}console.log('');- console.log('paste under the stamp, before any rule of your own:');- console.log('');+ console.log('start the page\'s stylesheet with these lines, then write only the page:');console.log(stamp);console.log('/* Hallmark · pre-emit critique: P_ H_ E_ S_ R_ V_ · weakest: _, <what you did about it> */');console.log('@import url("./tokens.css");');- const own = !custom && /## Build hint[\s\S]*?(::selection\s*\{[^}]*\})/.exec(readFileSync(join(THEMES, `${slug}.md`), 'utf8'));- console.log(own ? BASE.replace(/::selection \{[^}]*\}/, own[1].replace(/\s+/g, ' ')) : BASE);+ console.log('@import url("./base.css");');console.log('');console.log('and, only if the page has data-slot containers, once before </body>:');- console.log('');console.log(`<script>${SLOTS_JS}</script>`);}@@ -323,6 +332,14 @@ function validate(files) {if (ls && parseFloat(ls[1]) > 0.045) problems.push(`uppercase tracked ${ls[1]}em in the build hint (gate 67)`);else if (!isDisplay && /label|caption|meta|\bth\b|small|tag|chip|badge|nav|count/.test(line)) problems.push(`uppercase label rule in the build hint: ${line.trim().slice(0, 60)} (gate 67)`);}+ const hint = (/## Build hint[\s\S]*?```css\n([\s\S]*?)```/.exec(src) || [])[1] || '';+ for (const m of hint.matchAll(/(?:transition|animation)[^;{}]*?\b(\d{2,3})ms\b/g)) problems.push(`raw duration ${m[1]}ms in the build hint (use --dur-micro, --dur-short or --dur-long)`);+ if (/(?:transition|animation)[^;{}]*(?<![-\w])ease(?:-in-out|-in|-out)?\b/.test(hint)) problems.push('bare ease keyword in the build hint (use --ease-out, --ease-in or --ease-in-out)');+ for (const m of hint.matchAll(/(?<![-\w])(black|white)\b(?!-)/g)) problems.push(`named colour ${m[1]} in the build hint (route it through a token)`);+ for (const m of hint.matchAll(/\b(?:padding|margin|gap|row-gap|column-gap)(?:-[a-z-]+)?\s*:\s*([^;{}]+)/g)) {+ const raw = m[1].replace(/var\([^)]*\)/g, ' ').replace(/calc\([^)]*\)/g, ' ');+ for (const px of raw.match(/(?<![\w.-])(\d+)px\b/g) || []) if ([2, 4, 8, 12, 16, 24, 40, 64, 96, 144].includes(parseInt(px, 10))) problems.push(`raw ${px} spacing in the build hint where a --space-* token exists (24a)`);+ }const fence = tokenBlockOf(src, f);if (/\/\*/.test(fence)) problems.push('comment inside the token block');if (!existsSync(f.replace(/\.md$/, '.jpg'))) console.log(`${f}: note, no picture yet (scripts/picture.mjs)`);