Anti-AI-slop design skill for Claude Code, Cursor, and Codex.
CSS
Fix · install hover-stick + Atelier hero header + With/Without rename
Youssef422065f77a0d
diff --git a/site/css/components.css b/site/css/components.cssindex 649e623..d2edfe4 100644--- a/site/css/components.css+++ b/site/css/components.css@@ -84,10 +84,14 @@border-color var(--dur-micro) var(--ease-out);}-.banner__install:hover {- background: var(--color-ink);- color: var(--color-paper);- border-color: var(--color-ink);+/* Hover scoped to true mouse devices so a tap on touch never sticks+ the inverted hover state across the rest of the session. */+@media (hover: hover) and (pointer: fine) {+ .banner__install:hover {+ background: var(--color-ink);+ color: var(--color-paper);+ border-color: var(--color-ink);+ }}.banner__install:focus-visible {@@ -95,6 +99,15 @@outline-offset: 2px;}+/* Released after click — the JS blur handler removes :focus, but we+ also belt-and-brace via :focus:not(:focus-visible) so any browser+ that synthesises mouse-focus on click can't keep an inverted look. */+.banner__install:focus:not(:focus-visible) {+ background: transparent;+ color: var(--color-ink);+ border-color: var(--color-rule-2);+}+@media (max-width: 50rem) {.banner__install { display: none; }/* Without the Install button to pair with, the star's negative@@ -2307,6 +2320,16 @@ body:not(.easter-open) > footer {font-variation-settings: "opsz" 144, "SOFT" 70;}+/* Hero quote uses the upright display face (matching the "Atelier"+ wordmark in the banner and every section title), not the italic+ serif default. Atelier's voice is workshop-declarative — the+ header reads as a statement, not a quotation. */+[data-theme="atelier"] .hero__quote p {+ font-family: var(--font-display);+ font-style: normal;+ font-weight: var(--display-weight, 900);+}+/* Old-style figures in body text — reads as hand-set, not synthesised */[data-theme="atelier"] .hero__lede,[data-theme="atelier"] .hero__letter-body,diff --git a/site/css/sections.css b/site/css/sections.cssindex 2581ae0..e3b9869 100644--- a/site/css/sections.css+++ b/site/css/sections.css@@ -1232,7 +1232,7 @@width: 100%;height: 100%;object-fit: cover;- object-position: top left;+ object-position: center;display: block;}diff --git a/site/index.html b/site/index.htmlindex fa85c60..409600f 100644--- a/site/index.html+++ b/site/index.html@@ -688,14 +688,14 @@aria-labelledby="s5-foundations"> and the closing </template> to</section>, then remove the new 8-card section above. -->- <!-- 06 · BEFORE / AFTER HALLMARK — same prompt, two different outputs.- The "before" was generated by Sonnet 4.6 alone; the "after" by+ <!-- 06 · WITH / WITHOUT HALLMARK — same prompt, two different outputs.+ The "without" was generated by Sonnet 4.6 alone; the "with" bySonnet 4.6 with Hallmark loaded. Both are real outputs of thesame brief. --><section class="section reveal" style="--i:5" id="before-after" aria-labelledby="s-ba"><header class="section__head"><p class="section-label">- <span class="num">06</span><span class="divider">⁄</span><span>Before / After</span>+ <span class="num">06</span><span class="divider">⁄</span><span>With / Without</span></p><h2 class="section__title" id="s-ba">Same prompt. Two different outputs.diff --git a/site/js/main.js b/site/js/main.jsindex 804ed9c..d998a6d 100644--- a/site/js/main.js+++ b/site/js/main.js@@ -191,7 +191,7 @@ const COPY = {cta: "Request the manual",stat: "12",qualifier: "themes",- quote: "Restraint, repeated, becomes a signature.",+ quote: "A workshop, not a template.",attrib: "Studio note",salutation: "A note from the studio.",letterBody: "We do not believe in defaults. The default is the average; we are looking for the specific. Every page Hallmark touches is a small refusal of the average, in favour of a page that knows what it is.",@@ -709,6 +709,23 @@ function attachCopyButtons(scope = document) {}attachCopyButtons();+/* — Release :hover / :focus on the sticky Install pill after click.+ The banner is position: sticky, so when smooth-scroll lands the+ page on #install the cursor is still over the pill and Safari /+ Chrome can keep the inverted hover stuck. Blur + a one-frame+ pointer-events nudge forces the browser to release both states.+ No layout side-effects; the pill is back to normal as soon as the+ pointer next moves. */+document.querySelectorAll('.banner__install').forEach((el) => {+ el.addEventListener('click', () => {+ requestAnimationFrame(() => {+ el.blur();+ el.style.pointerEvents = 'none';+ setTimeout(() => { el.style.pointerEvents = ''; }, 60);+ });+ });+});+/* — GitHub star count — cached in localStorage for 1h ——————————Hits the public GitHub API once on first paint, caches the countto avoid rate-limiting. Falls back to "★" if the request fails. */