Anti-AI-slop design skill for Claude Code, Cursor, and Codex.
CSS
v1.1 — four new themes, the Custom route, and a full copy pass
Youssefbd9e9ab859e8
diff --git a/.gitignore b/.gitignoreindex aa8fb7b..88087fc 100644--- a/.gitignore+++ b/.gitignore@@ -40,6 +40,26 @@ build/skills-lock.json.agents/-# Launch-day Hallmark vs Impeccable vs no-skills comparison — one-off artifact,-# not referenced from the marketing site or README. Kept locally if useful.+# Local agent / preview tooling config (Claude Code, etc.) — not skill source+.claude/++# Launch-day comparison artifacts — one-off, not referenced from the marketing+# site or README. Kept locally if useful.site/_launch-comparison/++# Local example explorations — kept on disk, never published. The landing+# carousel links only the featured builds (carnival-01, cobalt-01, custom-01–05,+# hum-02, lumen-01); those stay tracked. Everything below is scratch: extra+# generations, the private gallery/worked indexes, and component demos.+site/examples/index.html+site/examples/worked.html+site/examples/lumen-index.html+site/examples/_diagnostic.html+site/examples/nav-demo/+site/examples/hum-buttons/+site/examples/gallery-0[12]/+site/examples/carnival-0[2-9]/+site/examples/cobalt-02/+site/examples/hum-01/+site/examples/hum-0[3-8]/+site/examples/lumen-0[2-4]/diff --git a/README.md b/README.mdindex 59baea1..07a5250 100644--- a/README.md+++ b/README.md@@ -2,7 +2,7 @@**A design skill for Claude Code, Cursor, and Codex that refuses to look AI-generated.**-[Live demo →](https://www.usehallmark.com) · twenty-two themes · four verbs · press `T` to cycle.+[Live demo →](https://www.usehallmark.com) · twenty themes · four verbs · press `T` to cycle.Made by Together AI.@@ -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 picks a macrostructure for the brief, dresses it in one of twenty-two themes, runs sixty-five slop-test gates plus a pre-emit self-critique, and refuses the on-distribution defaults every LLM was trained into. Two pages by Hallmark for two different briefs feel like different sites, not colour-swaps of the same template.+Hallmark picks a macrostructure for the brief, dresses it in one of twenty themes, runs seventy slop-test gates plus a pre-emit self-critique, and refuses the on-distribution defaults every LLM was trained into. Two pages by Hallmark for two different briefs feel like different sites, not colour-swaps of the same template.---@@ -60,6 +60,31 @@ Each page is self-contained HTML + CSS, stamped with its macrostructure in the C---+## Custom <sup>NEW</sup>++Most briefs route to the catalog. But when a brief carries real creative intent — a named brand colour, a vibe the catalog can't carry, or a layout that *is* the point — Hallmark switches to **Custom** and designs the whole page from first principles: a made-to-measure OKLCH palette, a free-font pairing, and a structure no catalog theme would produce. Same seventy slop-test gates. No template underneath.++Four one-line briefs, four pages that share nothing:++<table>+ <tr>+ <td width="25%"><a href="https://www.usehallmark.com/examples/custom-01/"><img src="site/_tests/_thumbs/custom-01.jpg" alt="Setting the Night Edition — a letterpress poem broadside" /></a></td>+ <td width="25%"><a href="https://www.usehallmark.com/examples/custom-02/"><img src="site/_tests/_thumbs/custom-02.jpg" alt="The Cascadia Nightjar — a sleeper-train ticket" /></a></td>+ <td width="25%"><a href="https://www.usehallmark.com/examples/custom-03/"><img src="site/_tests/_thumbs/custom-03.jpg" alt="Ferns & Fathom — a tea menu as a periodic table" /></a></td>+ <td width="25%"><a href="https://www.usehallmark.com/examples/custom-04/"><img src="site/_tests/_thumbs/custom-04.jpg" alt="The Mend Assembly — a repair-café manifesto poster" /></a></td>+ </tr>+ <tr>+ <td><b>Setting the Night Edition</b><br/><sub>Letterpress poem broadside</sub></td>+ <td><b>The Cascadia Nightjar</b><br/><sub>Sleeper-train ticket</sub></td>+ <td><b>Ferns & Fathom</b><br/><sub>Tea menu as a periodic table</sub></td>+ <td><b>The Mend Assembly</b><br/><sub>Repair-café manifesto poster</sub></td>+ </tr>+</table>++Custom stays a quiet branch — vanilla briefs never see it. The protocol lives in [`custom-theme.md`](skills/hallmark/references/custom-theme.md).++---+## Install```diff --git a/ROADMAP.md b/ROADMAP.mdindex bdc9a87..231bbb9 100644--- a/ROADMAP.md+++ b/ROADMAP.md@@ -6,8 +6,6 @@ What's next.## Now-**Tighten the 22-theme catalog.** A handful of themes (Plain, Specimen, Salon, Linen) bleed into each other on first read — same paper-band, similar accent footprint, similar display role. Audit each theme's three diversification axes (paper-band / display-style / accent-hue), pull overlapping pairs apart, and add 4–6 new themes in underserved corners (mid-band warm chromatic, dark-monochrome editorial, high-contrast print-poster, warm dark with handwritten accent). Each new theme ships with its own tokens block and stamp axis.-**Nanobanana hook for image-heavy briefs.** Today the integration is recommend-only — Hallmark tells the user to go generate something and bring it back. Image-heavy briefs (e-commerce, travel, food, lookbook) route to typography-only and feel underserved. Add a first-class hook that writes a prompt, invokes the API, ingests the returned image, and wires it into the build (cache by prompt hash). Pair with a new image-led theme (working title *Plate*) tuned for full-bleed photographic compositions.---diff --git a/site/_tests/_thumbs/carnival-01.jpg b/site/_tests/_thumbs/carnival-01.jpgnew file mode 100644index 0000000..48400bdBinary files /dev/null and b/site/_tests/_thumbs/carnival-01.jpg differdiff --git a/site/_tests/_thumbs/cobalt-01.jpg b/site/_tests/_thumbs/cobalt-01.jpgnew file mode 100644index 0000000..fa71e13Binary files /dev/null and b/site/_tests/_thumbs/cobalt-01.jpg differdiff --git a/site/_tests/_thumbs/custom-01.jpg b/site/_tests/_thumbs/custom-01.jpgnew file mode 100644index 0000000..3467c77Binary files /dev/null and b/site/_tests/_thumbs/custom-01.jpg differdiff --git a/site/_tests/_thumbs/custom-02.jpg b/site/_tests/_thumbs/custom-02.jpgnew file mode 100644index 0000000..4d3a3e8Binary files /dev/null and b/site/_tests/_thumbs/custom-02.jpg differdiff --git a/site/_tests/_thumbs/custom-03.jpg b/site/_tests/_thumbs/custom-03.jpgnew file mode 100644index 0000000..9061454Binary files /dev/null and b/site/_tests/_thumbs/custom-03.jpg differdiff --git a/site/_tests/_thumbs/custom-04.jpg b/site/_tests/_thumbs/custom-04.jpgnew file mode 100644index 0000000..45e0184Binary files /dev/null and b/site/_tests/_thumbs/custom-04.jpg differdiff --git a/site/_tests/_thumbs/custom-05.jpg b/site/_tests/_thumbs/custom-05.jpgnew file mode 100644index 0000000..709260cBinary files /dev/null and b/site/_tests/_thumbs/custom-05.jpg differdiff --git a/site/_tests/_thumbs/hum-02.jpg b/site/_tests/_thumbs/hum-02.jpgnew file mode 100644index 0000000..c8f5135Binary files /dev/null and b/site/_tests/_thumbs/hum-02.jpg differdiff --git a/site/_tests/_thumbs/lumen-01.jpg b/site/_tests/_thumbs/lumen-01.jpgnew file mode 100644index 0000000..777e124Binary files /dev/null and b/site/_tests/_thumbs/lumen-01.jpg differdiff --git a/site/_tests/all-themes.html b/site/_tests/all-themes.htmlnew file mode 100644index 0000000..0e800f6--- /dev/null+++ b/site/_tests/all-themes.html@@ -0,0 +1,132 @@+<!doctype html>+<!-- Internal review sheet: all 20 themes as live, scaled previews of the landing+ (../index.html?theme=KEY). Click any card to open it full. Not linked from+ the public site. -->+<html lang="en">+<head>+ <meta charset="utf-8" />+ <meta name="viewport" content="width=device-width, initial-scale=1" />+ <title>Hallmark — all 20 themes</title>+ <style>+ :root {+ --thumb-w: 460px;+ --thumb-h: 288px; /* 460 * (800/1280) ≈ 287.5 */+ --frame-w: 1280px;+ --frame-h: 800px;+ --scale: 0.359375; /* 460 / 1280 */+ --bg: #f4f4f2; --card:#ffffff; --ink:#1a1a1a; --muted:#6b6b6b; --rule:#e2e2de;+ }+ * { box-sizing: border-box; }+ body {+ margin: 0; background: var(--bg); color: var(--ink);+ font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;+ -webkit-font-smoothing: antialiased;+ }+ header.top {+ padding: 2.5rem clamp(1.5rem,4vw,3rem) 1.5rem;+ border-bottom: 1px solid var(--rule);+ position: sticky; top: 0; background: color-mix(in oklab, var(--bg) 88%, transparent);+ backdrop-filter: blur(8px); z-index: 5;+ }+ h1 { margin: 0 0 0.4rem; font-size: clamp(1.4rem,2.5vw,2rem); letter-spacing: -0.02em; }+ h1 b { font-weight: 800; }+ .sub { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.5; max-width: 70ch; }+ .legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-top: 1rem; font-size: 0.78rem; }+ .legend span { display: inline-flex; align-items: center; gap: 0.4em; color: var(--muted); }+ .dot { width: 9px; height: 9px; border-radius: 999px; display: inline-block; }+ .dot--keep { background: #1f9d57; } .dot--warn { background: #d98a00; } .dot--cut { background: #d23b3b; }++ .grid {+ display: grid;+ grid-template-columns: repeat(auto-fill, var(--thumb-w));+ justify-content: center;+ gap: 2rem 1.75rem;+ padding: 2rem clamp(1rem,3vw,2.5rem) 5rem;+ }+ .card { text-decoration: none; color: inherit; display: block; }+ .thumb {+ width: var(--thumb-w); height: var(--thumb-h);+ overflow: hidden; position: relative;+ border: 1px solid var(--rule); border-radius: 12px; background: #fff;+ box-shadow: 0 1px 2px rgba(0,0,0,0.05);+ transition: box-shadow 180ms ease, transform 180ms ease;+ }+ .card:hover .thumb { box-shadow: 0 14px 36px -16px rgba(0,0,0,0.28); transform: translateY(-3px); }+ .thumb iframe {+ width: var(--frame-w); height: var(--frame-h); border: 0;+ transform: scale(var(--scale)); transform-origin: top left;+ pointer-events: none; /* clicks go to the card link */+ }+ .thumb::after { /* tiny "open" affordance */+ content: "open →"; position: absolute; right: 8px; bottom: 8px;+ font-size: 11px; letter-spacing: 0.04em; color: #fff;+ background: rgba(20,20,20,0.7); padding: 3px 8px; border-radius: 999px;+ opacity: 0; transition: opacity 160ms ease;+ }+ .card:hover .thumb::after { opacity: 1; }+ .meta { display: flex; align-items: baseline; gap: 0.5rem; padding: 0.7rem 0.2rem 0; }+ .num { font-variant-numeric: tabular-nums; font-size: 0.78rem; color: var(--muted); width: 1.6em; }+ .name { font-weight: 650; font-size: 1rem; }+ .tag {+ margin-left: auto; font-size: 0.72rem; padding: 2px 8px; border-radius: 999px;+ border: 1px solid var(--rule); color: var(--muted); white-space: nowrap;+ }+ .tag--keep { color: #157a43; border-color: #bfe6cf; background: #f0faf4; }+ .tag--warn { color: #9a6500; border-color: #f0dcae; background: #fdf7e9; }+ .tag--cut { color: #b02a2a; border-color: #f0c4c4; background: #fdf0f0; }+ </style>+</head>+<body>+ <header class="top">+ <h1>Hallmark — all <b>20</b> themes</h1>+ <p class="sub">Live previews of the landing in each theme. Click any card to open it full in a new tab. Tags are my recommendation, not a decision — yours to make.</p>+ <div class="legend">+ <span><i class="dot dot--keep"></i> Keep — distinctive</span>+ <span><i class="dot dot--warn"></i> Crowded / rework</span>+ <span><i class="dot dot--cut"></i> Cut candidate</span>+ </div>+ </header>++ <main class="grid" id="grid"></main>++ <script>+ var THEMES = [+ { k:"specimen", n:"Specimen", v:"Keep", t:"keep" },+ { k:"midnight", n:"Midnight", v:"Keep", t:"keep" },+ { k:"brutal", n:"Brutal", v:"Keep", t:"keep" },+ { k:"garden", n:"Garden", v:"Reworked", t:"keep" },+ { k:"atelier", n:"Atelier", v:"Keep", t:"keep" },+ { k:"newsprint", n:"Newsprint", v:"Keep", t:"keep" },+ { k:"terminal", n:"Terminal", v:"Keep", t:"keep" },+ { k:"manifesto", n:"Manifesto", v:"Keep", t:"keep" },+ { k:"almanac", n:"Almanac", v:"Keep", t:"keep" },+ { k:"sport", n:"Sport", v:"Keep", t:"keep" },+ { k:"studio", n:"Studio", v:"Keep", t:"keep" },+ { k:"riso", n:"Riso", v:"Keep", t:"keep" },+ { k:"bloom", n:"Bloom", v:"Reworked", t:"keep" },+ { k:"coral", n:"Coral", v:"Keep", t:"keep" },+ { k:"aurora", n:"Aurora", v:"Keep", t:"keep" },+ { k:"editorial", n:"Editorial", v:"Keep", t:"keep" },+ { k:"carnival", n:"Carnival", v:"Keep", t:"keep" },+ { k:"cobalt", n:"Cobalt", v:"New", t:"keep" },+ { k:"lumen", n:"Lumen", v:"Keep", t:"keep" },+ { k:"hum", n:"Hum", v:"Default", t:"keep" }+ ];+ var grid = document.getElementById("grid");+ THEMES.forEach(function (th, i) {+ var a = document.createElement("a");+ a.className = "card";+ a.href = "../index.html?theme=" + th.k;+ a.target = "_blank";+ a.rel = "noopener";+ a.setAttribute("aria-label", "Open " + th.n + " full");+ a.innerHTML =+ '<div class="thumb"><iframe loading="lazy" scrolling="no" tabindex="-1" title="' + th.n + ' preview" src="../index.html?theme=' + th.k + '"></iframe></div>' ++ '<div class="meta"><span class="num">' + String(i + 1).padStart(2, "0") + '</span>' ++ '<span class="name">' + th.n + '</span>' ++ '<span class="tag tag--' + th.t + '">' + th.v + '</span></div>';+ grid.appendChild(a);+ });+ </script>+</body>+</html>diff --git a/site/css/components.css b/site/css/components.cssindex 48a3254..41b94f7 100644--- a/site/css/components.css+++ b/site/css/components.css@@ -113,11 +113,6 @@@media (max-width: 50rem) {.banner__install { display: none; }- /* Without the Install button to pair with, the star's negative- start margin (sized for the install/star pair) pulls it too- close to the wordmark. Loosen by +8px so the two CTAs read as- bookends, not crowded. */- .banner__star { margin-inline-start: -0.25rem; }}/* GitHub star button — sits next to Install in the banner, shows@@ -146,6 +141,13 @@border-color var(--dur-micro) var(--ease-out);}+/* When Install is hidden (≤50rem) the star loses its pair, so its negative+ start margin crowds the wordmark. Loosen it by ~8px (−0.75rem → −0.25rem).+ Must sit AFTER the base rule above to win the cascade. */+@media (max-width: 50rem) {+ .banner__star { margin-inline-start: -0.25rem; }+}+.banner__star-icon {flex-shrink: 0;display: block;@@ -370,7 +372,7 @@/* — Banner pill per-theme shape + voice ————————————————————————The banner is the only fixed surface that crosses every theme. If- it stays the same shape on all 22 themes, the "switching themes+ it stays the same shape on all 20 themes, the "switching themesrebuilds the page" claim leaks. Per-theme shape (border-radius) andfont choice push the banner into the theme's register too. */@@ -418,20 +420,13 @@font-style: italic;}-/* SOFT-CARD RADIUS — garden / halo / violet / studio. */+/* SOFT-CARD RADIUS — garden / studio. */[data-theme="garden"] .banner__install,[data-theme="garden"] .banner__star,-[data-theme="halo"] .banner__install,-[data-theme="halo"] .banner__star,-[data-theme="violet"] .banner__install,-[data-theme="violet"] .banner__star,[data-theme="studio"] .banner__install,[data-theme="studio"] .banner__star {border-radius: 6px;}-[data-theme="halo"] .banner__install {- box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--color-accent) 35%, transparent);-}[data-theme="studio"] .banner__install,[data-theme="studio"] .banner__star {font-family: var(--font-mono);@@ -445,7 +440,7 @@box-shadow: 1px 1px 0 var(--color-accent-2, var(--color-accent));}-/* ATELIER / SALON — italic serif label, hairline only (atelier). */+/* ATELIER — italic serif label, hairline only. */[data-theme="atelier"] .banner__install {border-color: var(--color-rule);font-family: var(--font-serif);@@ -453,12 +448,6 @@letter-spacing: 0;text-transform: none;}-[data-theme="salon"] .banner__install {- font-family: var(--font-serif);- font-style: italic;- letter-spacing: 0;- text-transform: none;-}/* Theme-indicator extra cases — extend the existing uppercase group. */[data-theme="almanac"] .banner__theme-indicator,@@ -467,8 +456,7 @@text-transform: uppercase;letter-spacing: -0.01em;}-[data-theme="atelier"] .banner__theme-indicator,-[data-theme="salon"] .banner__theme-indicator {+[data-theme="atelier"] .banner__theme-indicator {font-style: italic;}@@ -1098,12 +1086,9 @@[data-theme="terminal"] .found-panel__rule,[data-theme="sport"] .found-panel__rule,[data-theme="almanac"] .found-panel__rule,-[data-theme="quiet"] .found-panel__rule,[data-theme="bloom"] .found-panel__rule,[data-theme="aurora"] .found-panel__rule,-[data-theme="halo"] .found-panel__rule,-[data-theme="coral"] .found-panel__rule,-[data-theme="violet"] .found-panel__rule {+[data-theme="coral"] .found-panel__rule {font-family: var(--font-body);font-style: normal;}@@ -2001,20 +1986,17 @@border-width: 2px;}-[data-theme="atelier"] .install-pane,-[data-theme="salon"] .install-pane {+[data-theme="atelier"] .install-pane {border: 0;background: transparent;box-shadow: none;}-[data-theme="atelier"] .install-pane__row,-[data-theme="salon"] .install-pane__row {+[data-theme="atelier"] .install-pane__row {padding-inline: 0;}-[data-theme="atelier"] .install-pane__row + .install-pane__row,-[data-theme="salon"] .install-pane__row + .install-pane__row {+[data-theme="atelier"] .install-pane__row + .install-pane__row {border-block-start: var(--rule-hair) solid var(--color-rule);}@@ -2250,7 +2232,7 @@ body:not(.easter-open) > footer {[data-theme="studio"] .hero__salutation,[data-theme="studio"] .spec__name,[data-theme="studio"] .tell__name {- font-style: italic;+ font-style: normal; /* roman — italic headers are banned globally */letter-spacing: -0.02em;font-variation-settings: "opsz" 144, "SOFT" 30;}@@ -2296,8 +2278,8 @@ body:not(.easter-open) > footer {/* ───────────── ATELIER — sketchbook / working-archive ─────────────Plate-numeral marginalia beside section heads, old-style figures inbody text, an italic display optical-size axis for hand-set feel.- Earns the workshop name without slipping into the salon-formal- register that Salon owns. */+ Earns the workshop name without slipping into a formal-salon+ register. */[data-theme="atelier"] .section-label .num {font-family: var(--font-display);@@ -2448,6 +2430,7 @@ body:not(.easter-open) > footer {[data-theme="terminal"] .hero--marquee,[data-theme="manifesto"] .hero--marquee,[data-theme="aurora"] .hero--marquee,+ [data-theme="lumen"] .hero--marquee,[data-theme="atelier"] .hero--quote,[data-theme="riso"] .hero--quote,[data-theme="midnight"] .hero--stat,@@ -2459,6 +2442,7 @@ body:not(.easter-open) > footer {[data-theme="terminal"] .hero--marquee .hero__main,[data-theme="manifesto"] .hero--marquee .hero__main,[data-theme="aurora"] .hero--marquee .hero__main,+ [data-theme="lumen"] .hero--marquee .hero__main,[data-theme="atelier"] .hero--quote .hero__main,[data-theme="riso"] .hero--quote .hero__main,[data-theme="midnight"] .hero--stat .hero__main,@@ -2470,6 +2454,7 @@ body:not(.easter-open) > footer {[data-theme="terminal"] .hero__moment,[data-theme="manifesto"] .hero__moment,[data-theme="aurora"] .hero__moment,+ [data-theme="lumen"] .hero__moment,[data-theme="atelier"] .hero__moment,[data-theme="riso"] .hero__moment,[data-theme="midnight"] .hero__moment,@@ -2592,6 +2577,23 @@ body:not(.easter-open) > footer {background: var(--color-accent);box-shadow: 0 0 12px 3px color-mix(in oklch, var(--color-accent) 50%, transparent);}+/* a slow signal ping radiates from the core — gives the ring intent. */+[data-theme="midnight"] .hero__moment::after {+ content: "";+ position: absolute; inset: 50%;+ width: 8px; height: 8px; margin: -4px 0 0 -4px;+ border-radius: 50%;+ border: 1px solid color-mix(in oklch, var(--color-accent) 45%, transparent);+ animation: midnight-ping 3.6s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;+}+@keyframes midnight-ping {+ 0% { transform: scale(0.6); opacity: 0.75; }+ 75% { transform: scale(18); opacity: 0; }+ 100% { transform: scale(18); opacity: 0; }+}+@media (prefers-reduced-motion: reduce) {+ [data-theme="midnight"] .hero__moment::after { animation: none; opacity: 0; }+}/* SPORT — three-bar lap chart (horizontal bars in accent). */[data-theme="sport"] .hero__moment {@@ -2608,6 +2610,47 @@ body:not(.easter-open) > footer {[data-theme="sport"] .hero__moment::before { width: 90%; }[data-theme="sport"] .hero__moment::after { width: 55%; }+/* LUMEN — a glowing filament inside a blueprint chamber (premium AI-tool). */+[data-theme="lumen"] .hero__moment {+ width: clamp(8rem, 14vw, 12rem);+ aspect-ratio: 3 / 5;+ position: relative;+ border: 1px solid var(--color-rule);+ border-radius: 14px;+ background:+ linear-gradient(180deg,+ color-mix(in oklch, var(--color-paper-2) 70%, transparent),+ var(--color-paper));+ overflow: hidden;+ isolation: isolate;+}+[data-theme="lumen"] .hero__moment::before {+ content: "";+ position: absolute; inset: 0;+ background:+ linear-gradient(var(--rule-blueprint, oklch(96% 0.006 262 / 0.05)) 1px, transparent 1px) 0 0 / 100% 1.4rem,+ radial-gradient(60% 36% at 50% 16%, var(--color-glow-2, transparent), transparent 70%);+ pointer-events: none;+}+[data-theme="lumen"] .hero__moment::after {+ content: "";+ position: absolute; left: 50%; top: 14%; bottom: 14%; width: 2px;+ transform: translateX(-50%);+ border-radius: 2px;+ background: linear-gradient(180deg,+ transparent 0%,+ var(--color-accent) 18%,+ oklch(97% 0.04 90) 50%,+ var(--color-accent) 82%,+ transparent 100%);+ box-shadow: 0 0 10px var(--color-glow, transparent), 0 0 26px var(--color-glow, transparent);+ animation: lumen-filament var(--dur-pulse, 4s) ease-in-out infinite;+}+@keyframes lumen-filament { 0%, 100% { opacity: 0.72; } 50% { opacity: 1; } }+@media (prefers-reduced-motion: reduce) {+ [data-theme="lumen"] .hero__moment::after { animation: none; }+}+.hero__eyebrow {display: inline-flex;align-items: center;@@ -2769,23 +2812,6 @@ body:not(.easter-open) > footer {color: var(--color-ink);}-/* Quiet: collapse the proof-block down to one italic note + the CTA, so- the right column reads as a quiet annotation instead of a sign-up form. */-[data-theme="quiet"] .hero--split .hero__proof .label,-[data-theme="quiet"] .hero--split .hero__proof .hero__proof-line:nth-child(3),-[data-theme="quiet"] .hero--split .hero__proof .hero__proof-line:nth-child(4) { display: none; }-[data-theme="quiet"] .hero--split .hero__proof {- padding-block-start: var(--space-md);- border-block-start: var(--rule-hair) solid var(--color-rule);-}-[data-theme="quiet"] .hero--split .hero__proof .hero__proof-line {- font-family: var(--font-serif);- font-style: italic;- color: var(--color-muted);- max-width: 24ch;-}--/* H3 — Stat-Led. Giant number + qualifier. */.hero--stat {padding-block: var(--space-2xl) var(--space-xl);@@ -2913,7 +2939,7 @@ body:not(.easter-open) > footer {/* H9 — Bloom hero. Layered watercolor wash + oversized italicwordmark + small geometric accents. Painterly composition for- warm-rose / playful themes (Plume). */+ warm-rose / playful themes. */.hero--bloom {display: grid;grid-template-columns: minmax(20rem, 1fr) minmax(0, 1.1fr);@@ -3004,6 +3030,88 @@ body:not(.easter-open) > footer {.hero__bloom-glyph { font-size: clamp(3rem, 14vw, 5rem); }}+/* HUM — playful shape play. The default theme's hero: a soft anchor blob ++ floating multi-accent shapes that spring-bob. Reduced-motion → static. */+.hero--hum { gap: var(--space-xl); }+@media (min-width: 60rem) {+ .hero--hum {+ display: grid;+ grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);+ column-gap: var(--space-2xl);+ align-items: center;+ }+ .hero--hum .hero__main { display: grid; gap: var(--space-lg); grid-column: 1; align-content: center; }+ .hero--hum .hero__play { grid-column: 2; }+}+.hero__play {+ position: relative;+ width: 100%;+ max-width: 26rem;+ aspect-ratio: 1 / 1;+ margin: 0 0 0 auto;+}+.hero__play > * { position: absolute; will-change: transform; }++.play-blob {+ width: 54%; height: 54%; left: 23%; top: 20%;+ border-radius: 46% 54% 52% 48% / 54% 46% 56% 44%;+ background: linear-gradient(140deg, var(--color-accent), var(--color-accent-3));+ box-shadow: 0 22px 60px -26px oklch(20% 0.012 250 / 0.45);+ animation: hum-float-a 7s ease-in-out infinite;+}+.play-dot { border-radius: 50%; }+.play-dot--pear { width: 15%; height: 15%; left: 4%; top: 14%; background: var(--color-accent); animation: hum-float-b 6s ease-in-out infinite; }+.play-dot--coral { width: 12%; height: 12%; right: 6%; bottom: 16%; background: var(--color-accent-3); animation: hum-float-c 5.4s ease-in-out infinite; }+.play-dot--mint { width: 8%; height: 8%; left: 18%; bottom: 8%; background: var(--color-mint); animation: hum-float-b 6.6s ease-in-out infinite; }+.play-pill--cyan {+ width: 24%; height: 11%; right: 2%; top: 22%;+ border-radius: 999px; background: var(--color-accent-2);+ animation: hum-float-c 6.2s ease-in-out infinite;+}+.play-ring--lavender {+ width: 17%; height: 17%; right: 20%; top: 2%;+ border-radius: 50%; border: 3px solid var(--color-lavender);+ animation: hum-float-a 7.8s ease-in-out infinite;+}+@keyframes hum-float-a { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(4deg); } }+@keyframes hum-float-b { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(11px); } }+@keyframes hum-float-c { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-9px, -7px); } }+@media (prefers-reduced-motion: reduce) {+ .hero__play > * { animation: none !important; }+}+@media (max-width: 60rem) {+ .hero__play { max-width: 17rem; aspect-ratio: 4 / 3; margin-inline: auto; }+}++/* ───────────── COBALT — landing hero ─────────────+ Title / lede / CTA in the left column; the right column is intentionally left+ blank (clean, type-led). Only the cobalt theme uses #hero-cobalt. */+.hero--cobalt { gap: var(--space-xl); }+@media (min-width: 60rem) {+ .hero--cobalt {+ display: grid;+ grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.7fr);+ column-gap: var(--space-2xl);+ align-items: center;+ }+ .hero--cobalt .hero__main { display: grid; gap: var(--space-lg); grid-column: 1; align-content: center; }+ /* keep the lede at a readable measure even though the column is now wide */+ .hero--cobalt .hero__lede { max-width: 46ch; }+}+.hero--cobalt .hero__cta-row { display: flex; align-items: center; gap: var(--space-lg); flex-wrap: wrap; }+.hero--cobalt .hero__cta-btn {+ display: inline-flex; align-items: center; min-height: 44px;+ padding: var(--space-sm) var(--space-lg);+ font-family: var(--font-label); font-size: var(--text-sm); font-weight: 500; letter-spacing: 0.02em;+ color: var(--color-accent-ink); background: var(--color-accent);+ border: var(--rule-fine) solid var(--color-accent); border-radius: var(--radius-pill);+ transition: transform 100ms var(--ease-out), filter 140ms var(--ease-out);+}+@media (hover: hover) and (pointer: fine) {+ .hero--cobalt .hero__cta-btn:hover { transform: translateY(-1px); filter: brightness(1.07); }+}+.hero--cobalt .hero__cta-btn:active { transform: translateY(1px); }+/* H10 — Orbit hero. Concentric rings + glowing centre dot.Atmospheric composition for warm-glow themes (Halo). The ringsslow-rotate via @keyframes; reduced-motion stops them. */@@ -3335,131 +3443,6 @@ body:not(.easter-open) > footer {.slot[data-populating] > * { animation: none; opacity: 1; }}-/* ───────────── QUIET — polished minimalism ─────────────- The "modern enterprise" theme: Geist sans, pure white, large- confident display, generous space, pill CTAs. Reads like the- ElevenLabs / Stripe school of restraint. Reveals stay off — the- page is composed, not animated in. */--[data-theme="quiet"] .reveal,-[data-theme="quiet"] .reveal.is-in,-[data-theme="quiet"] .slot[data-populating] > * {- opacity: 1;- transform: none;- animation: none;-}--[data-theme="quiet"] .hero__display,-[data-theme="quiet"] .hero__quote p,-[data-theme="quiet"] .hero__stat,-[data-theme="quiet"] .section__title,-[data-theme="quiet"] .foot__wordmark,-[data-theme="quiet"] .spec__name,-[data-theme="quiet"] .ex-card__name,-[data-theme="quiet"] .harness__name {- font-family: var(--font-display);- font-weight: 600;- font-style: normal;- text-transform: none;- letter-spacing: -0.025em;- text-shadow: none;-}--[data-theme="quiet"] .hero__display { font-weight: 600; }--[data-theme="quiet"] .hero__lede,-[data-theme="quiet"] .hero__letter-body,-[data-theme="quiet"] .spec__rule,-[data-theme="quiet"] .foot__tagline,-[data-theme="quiet"] .install-pane__next {- font-family: var(--font-body);- font-style: normal;- font-weight: 400;- color: var(--color-neutral);-}--[data-theme="quiet"] .hero__salutation {- font-family: var(--font-display);- font-style: normal;- font-weight: 600;- font-size: var(--text-2xl);- letter-spacing: -0.02em;-}--[data-theme="quiet"] .hero__sign,-[data-theme="quiet"] .hero__signoff {- font-family: var(--font-body);- font-style: normal;-}--[data-theme="quiet"] .hero__attrib,-[data-theme="quiet"] .section-label,-[data-theme="quiet"] .label,-[data-theme="quiet"] .install-pane__label,-[data-theme="quiet"] .vs__label,-[data-theme="quiet"] .ex-card__num {- font-family: var(--font-label);- font-weight: 500;-}--[data-theme="quiet"] .banner__center {- font-family: var(--font-display);- font-weight: 500;- font-size: 0.875rem;- letter-spacing: -0.005em;- text-transform: none;-}--[data-theme="quiet"] .banner {- background: color-mix(in oklch, var(--color-paper) 94%, transparent);- border-block-end-color: var(--color-rule);-}--/* Pill CTAs — Quiet's signature button. Black-filled primary, white-- outlined secondary. Applied to anything that reads as a CTA. */-[data-theme="quiet"] .install-pane__copy {- border-radius: 999px;- background: var(--color-ink);- color: var(--color-paper);- border-color: var(--color-ink);- font-weight: 600;-}-[data-theme="quiet"] .install-pane__copy:hover {- background: var(--color-ink-2);- color: var(--color-paper);- border-color: var(--color-ink-2);-}-[data-theme="quiet"] .install-pane__copy[data-state="copied"] {- background: var(--color-ink);- color: var(--color-paper);- border-color: var(--color-ink);-}--/* Quiet's install command bar — refined card surface, clean typography. */-[data-theme="quiet"] .install-pane {- background: var(--color-paper-2);- border-color: var(--color-rule);-}-[data-theme="quiet"] .install-pane__cmd {- background: var(--color-paper);- border-color: var(--color-rule);-}-[data-theme="quiet"] .install-pane__prompt {- color: var(--color-muted);-}--/* The "without/with" demo on Quiet — soft, monochrome panels. */-[data-theme="quiet"] .vs__panel[data-variant="hallmark"] {- border-left-color: var(--color-rule-2);- border-color: var(--color-rule);-}--/* No reveal animation on Quiet — the page is intentionally still. */-[data-theme="quiet"] .hero,-[data-theme="quiet"] .hero > * {- animation: none !important;-}-/* ───────────── BLOOM — atmospheric dark, warm bloom ─────────────Suno-school: dark canvas with two soft radial colour blooms behindthe content, confident sans display, single warm accent on small@@ -3471,12 +3454,9 @@ html[data-theme="bloom"] {html[data-theme="bloom"] body {background:- radial-gradient(ellipse 80% 60% at 90% 0%,- color-mix(in oklch, var(--color-accent) 18%, transparent) 0%,- transparent 55%),- radial-gradient(ellipse 70% 55% at 5% 95%,- color-mix(in oklch, var(--color-accent-2) 16%, transparent) 0%,- transparent 55%),+ radial-gradient(ellipse 95% 65% at 82% -8%,+ color-mix(in oklch, var(--color-accent) 10%, transparent) 0%,+ transparent 62%),var(--color-paper);background-attachment: fixed;min-height: 100dvh;@@ -3669,40 +3649,6 @@ html[data-theme="bloom"] body {border-radius: 999px;}-/* ───────────── VIOLET — modern-minimal · Linear voice ─────────────- Tighter typographic feel than Coral. Near-white paper, near-black- ink, single quiet violet accent on focus + small marks. */--[data-theme="violet"] .reveal,-[data-theme="violet"] .reveal.is-in,-[data-theme="violet"] .slot[data-populating] > * {- opacity: 1;- transform: none;- animation: none;-}---[data-theme="violet"] .hero__display,-[data-theme="violet"] .hero__quote p,-[data-theme="violet"] .hero__stat,-[data-theme="violet"] .section__title,-[data-theme="violet"] .foot__wordmark,-[data-theme="violet"] .spec__name,-[data-theme="violet"] .ex-card__name,-[data-theme="violet"] .harness__name {- font-family: var(--font-display);- font-weight: 600;- font-style: normal;- letter-spacing: -0.035em;-}--[data-theme="violet"] .install-pane__copy {- background: var(--color-ink);- color: var(--color-paper);- border-color: var(--color-ink);- border-radius: 999px;-}-/* ───────────── AURORA — atmospheric · cool blue-green dark ─────────────Two cool blooms behind the content (cyan top-right, teal-greenbottom-left). Sentient body for warmth. */@@ -3790,149 +3736,6 @@ html[data-theme="aurora"] body {border-radius: 999px;}-/* ───────────── HALO — atmospheric · hero-only amber bloom ─────────────- The bloom is a single moment near the top. Below the hero the page- is content-led on charcoal — less Suno, more "tool you actually- work in." Implemented as a fixed-position pseudo-element clipped- to the top ~80vh. */--html[data-theme="halo"] {- background: var(--color-paper);-}--html[data-theme="halo"] body {- position: relative;- background: var(--color-paper);- min-height: 100dvh;-}--html[data-theme="halo"] body::before {- content: "";- position: fixed;- inset: 0 0 auto 0;- height: 80vh;- pointer-events: none;- z-index: 0;- background:- radial-gradient(ellipse 60% 80% at 70% 0%,- color-mix(in oklch, var(--color-accent) 22%, transparent) 0%,- transparent 60%);- opacity: 1;-}--/* Lift content above the halo body::before glow.- Banner is excluded so it keeps its sticky z-index (200) — the- theme-dropdown lives inside .banner and needs that elevation- to render above the orbit + glow layers below. */-html[data-theme="halo"] main,-html[data-theme="halo"] .easter,-html[data-theme="halo"] aside {- position: relative;- z-index: 1;-}--[data-theme="halo"] .hero__display,-[data-theme="halo"] .hero__quote p,-[data-theme="halo"] .hero__stat,-[data-theme="halo"] .section__title,-[data-theme="halo"] .foot__wordmark,-[data-theme="halo"] .spec__name,-[data-theme="halo"] .ex-card__name,-[data-theme="halo"] .harness__name {- font-family: var(--font-display);- font-weight: 600;- letter-spacing: -0.025em;-}--[data-theme="halo"] .banner {- background: color-mix(in oklch, var(--color-paper) 72%, transparent);- border-block-end-color: var(--color-rule);-}--[data-theme="halo"] .ex-card,-[data-theme="halo"] .install-pane,-[data-theme="halo"] .vs__panel[data-variant="hallmark"] {- background: var(--color-paper-2);-}--[data-theme="halo"] .reveal { transform: none; }-[data-theme="halo"] .reveal.is-in {- animation: reveal-fade calc(var(--dur-long) * 1.1) var(--ease-out) forwards;- animation-delay: calc(var(--i, 0) * 60ms);-}--/* ───────────── PLUME — playful · warm cream + tinted bands ─────────────- Alternating section backgrounds (paper vs paper-2), hover-lift on- cards, soft drop shadows, friendly motion — the playful canon. */--/* Hero only — drop the right-side bloom stage and centre the copy.- The rest of the page keeps its asymmetric rhythm; only the hero- reads as a centred lede. */-[data-theme="plume"] .hero--bloom {- grid-template-columns: 1fr;- justify-items: center;- text-align: center;- padding-block: var(--space-3xl) var(--space-2xl);-}-[data-theme="plume"] .hero--bloom .hero__bloom-stage { display: none; }-[data-theme="plume"] .hero--bloom .hero__copy {- justify-items: center;- align-items: center;-}-[data-theme="plume"] .hero--bloom .hero__display,-[data-theme="plume"] .hero--bloom .hero__lede {- margin-inline: auto;-}-[data-theme="plume"] .hero--bloom .hero__cta-row,-[data-theme="plume"] .hero--bloom .hero__eyebrow,-[data-theme="plume"] .hero--bloom .hero__proof {- justify-content: center;-}--[data-theme="plume"] .page > .section:nth-child(even) {- background: var(--color-paper-2);- margin-inline: calc(-1 * var(--page-gutter));- padding-inline: var(--page-gutter);- padding-block: var(--space-2xl);- border-radius: 0;-}--[data-theme="plume"] .hero__display,-[data-theme="plume"] .hero__quote p,-[data-theme="plume"] .hero__stat,-[data-theme="plume"] .section__title,-[data-theme="plume"] .foot__wordmark,-[data-theme="plume"] .spec__name,-[data-theme="plume"] .ex-card__name,-[data-theme="plume"] .harness__name {- font-family: var(--font-display);- font-weight: 700;- letter-spacing: -0.025em;-}--[data-theme="plume"] .hero__lede,-[data-theme="plume"] .ex-card__brief,-[data-theme="plume"] .install-pane__next,-[data-theme="plume"] .spec__rule,-[data-theme="plume"] .foot__tagline {- font-family: var(--font-body);- font-style: normal;-}--[data-theme="plume"] .ex-card,-[data-theme="plume"] .install-pane,-[data-theme="plume"] .vs__panel[data-variant="hallmark"] {- background: var(--color-paper);- border-color: var(--color-rule-2);-}--[data-theme="plume"] .install-pane__copy {- background: var(--color-accent);- color: var(--color-paper);- border-color: var(--color-accent);- border-radius: 999px;-}-/* ───────────── EXAMPLES RAIL — TILES ─────────────Each tile in the horizontal scroll-snap rail. Cards inherit theactive theme's --radius-card, --rule-card, and --shadow-card so@@ -4138,8 +3941,7 @@ html[data-theme="halo"] aside {[data-theme="brutal"] .study-card,[data-theme="manifesto"] .study-card { border-width: 2px; }-[data-theme="atelier"] .study-card,-[data-theme="salon"] .study-card {+[data-theme="atelier"] .study-card {border: 0;background: transparent;box-shadow: none;@@ -4147,8 +3949,7 @@ html[data-theme="halo"] aside {border-radius: 0;}-[data-theme="atelier"] .study-card__media,-[data-theme="salon"] .study-card__media {+[data-theme="atelier"] .study-card__media {border-block-end: 0;}@@ -4698,31 +4499,6 @@ html[data-theme="halo"] aside {color: var(--color-muted);}-/* ───────────── SALON — left-aligned, italic title, fleuron divider ───────────── */--[data-theme="salon"] .section__head {- gap: var(--space-sm);- padding-block-end: var(--space-2xl);-}--[data-theme="salon"] .section__title {- max-width: 32ch;- font-style: italic;-}--[data-theme="salon"] .section__head::after {- content: "❦";- display: block;- color: var(--color-accent);- font-size: 1.7rem;- margin-block-start: var(--space-xl);- padding-block-start: var(--space-md);- border-block-start: var(--rule-hair) solid var(--color-rule);- font-family: var(--font-serif);- line-height: 1;- opacity: 0.85;-}-/* ───────────── NEWSPRINT — justified prose blocks ─────────────Print discipline. Long-form copy gets justified + hyphenated wherethe column is wide enough to render evenly. Headlines stay@@ -4747,11 +4523,10 @@ html[data-theme="halo"] aside {}/* ──────────────────────────────────────────────────────────────- EDITORIAL THEME — open-design-inspired structural overrides (v0.9.0)+ EDITORIAL THEME — structural overrides (v0.9.0)- The 23rd theme. Editorial-premium voice: mixed serif italic- inside sans display, Roman-numeral marginalia, hairline rules,- asymmetric grids. Inspired by github.com/nexu-io/open-design.+ Editorial-premium voice: mixed serif italic inside sans display,+ Roman-numeral marginalia, hairline rules, asymmetric grids.────────────────────────────────────────────────────────────── *//* Mixed display: italic Playfair word inside Inter Tight headline */@@ -4789,11 +4564,11 @@ html[data-theme="halo"] aside {}/* ──────────────────────────────────────────────────────────────- OPEN-DESIGN STEALS — reusable utilities (v0.9.0)+ EDITORIAL UTILITIES — reusable patterns (v0.9.0)- Six patterns extracted from open-design. NOT theme-only — these- are utilities any theme can use. Skill rules cross-reference them- in component-cookbook.md and microinteractions.md.+ Six structural patterns. NOT theme-only — these are utilities any+ theme can use. Skill rules cross-reference them in+ component-cookbook.md and microinteractions.md.────────────────────────────────────────────────────────────── *//* — Tabular numerals utility ———————————————————————————————@@ -4858,7 +4633,7 @@ html[data-theme="halo"] aside {/* — Asymmetric hero ratio knob ——————————————————————————————Default split-hero ratio is 50/50; this knob swaps it to 0.78/1.22- per the open-design move. Apply to `.hero--split[data-ratio="asym"]`. */+ for the asymmetric editorial move. Apply to `.hero--split[data-ratio="asym"]`. */.hero--split[data-ratio="asym"] {grid-template-columns: 0.78fr 1.22fr;}diff --git a/site/css/sections.css b/site/css/sections.cssindex 4355b02..a9717c5 100644--- a/site/css/sections.css+++ b/site/css/sections.css@@ -510,7 +510,6 @@[data-theme="terminal"] .study__intro,[data-theme="sport"] .study__intro,[data-theme="almanac"] .study__intro,-[data-theme="quiet"] .study__intro,[data-theme="bloom"] .study__intro {font-family: var(--font-body);font-style: normal;@@ -546,7 +545,6 @@[data-theme="terminal"] .skills__intro,[data-theme="sport"] .skills__intro,[data-theme="almanac"] .skills__intro,-[data-theme="quiet"] .skills__intro,[data-theme="bloom"] .skills__intro,[data-theme="riso"] .skills__intro {font-family: var(--font-body);@@ -606,7 +604,6 @@[data-theme="terminal"] .skill-row__title-meta,[data-theme="sport"] .skill-row__title-meta,[data-theme="almanac"] .skill-row__title-meta,-[data-theme="quiet"] .skill-row__title-meta,[data-theme="bloom"] .skill-row__title-meta {font-family: var(--font-mono);font-style: normal;@@ -638,13 +635,9 @@[data-theme="sport"] .skill-row__lede,[data-theme="almanac"] .skill-row__lede,[data-theme="studio"] .skill-row__lede,-[data-theme="quiet"] .skill-row__lede,[data-theme="bloom"] .skill-row__lede,[data-theme="aurora"] .skill-row__lede,-[data-theme="plume"] .skill-row__lede,-[data-theme="halo"] .skill-row__lede,-[data-theme="coral"] .skill-row__lede,-[data-theme="violet"] .skill-row__lede {+[data-theme="coral"] .skill-row__lede {font-family: var(--font-body);font-style: normal;}@@ -706,8 +699,7 @@border-radius: var(--radius-card, 0);}-[data-theme="atelier"] .skill-row__list,-[data-theme="salon"] .skill-row__list {+[data-theme="atelier"] .skill-row__list {border: 0;background: transparent;padding: 0;@@ -821,43 +813,26 @@border: 1px solid var(--color-rule);border-radius: 6px;}-[data-theme="halo"] .brief-output {- border: 1px solid var(--color-rule-2);- border-radius: 6px;- box-shadow: 0 0 0 1px color-mix(in oklch, var(--color-accent) 22%, transparent),- 0 0 32px -8px color-mix(in oklch, var(--color-accent) 28%, transparent);-}-[data-theme="violet"] .brief-output {- border: 1px solid var(--color-rule);- border-radius: 6px;-}[data-theme="studio"] .brief-output {border: 0.5px solid var(--color-rule-2);border-radius: 6px;}/* SOFT-CARD group (8–14px). */-[data-theme="quiet"] .brief-output { border-radius: 8px; }[data-theme="coral"] .brief-output { border-radius: 8px; }[data-theme="aurora"] .brief-output {border: 1px solid var(--color-rule-2);border-radius: 12px;box-shadow: 0 0 24px -10px color-mix(in oklch, var(--color-accent) 35%, transparent);}-[data-theme="plume"] .brief-output {- border: 1px solid var(--color-rule);- border-radius: 12px;-}[data-theme="bloom"] .brief-output {border: 1px solid var(--color-rule);border-radius: 14px;box-shadow: 0 6px 24px -14px color-mix(in oklch, var(--color-accent) 22%, transparent);}-/* Atelier / Salon / Linen — hairline only, no radius, optional caption. */-[data-theme="atelier"] .brief-output,-[data-theme="salon"] .brief-output,-[data-theme="linen"] .brief-output {+/* Atelier — hairline only, no radius, optional caption. */+[data-theme="atelier"] .brief-output {border: 1px solid var(--color-rule-2);border-radius: 0;}@@ -985,7 +960,6 @@slop — purpose retained. */[data-theme="midnight"] .audit-slop,[data-theme="manifesto"] .audit-slop,-[data-theme="halo"] .audit-slop,[data-theme="aurora"] .audit-slop,[data-theme="riso"] .audit-slop,[data-theme="terminal"] .audit-slop,@@ -1005,8 +979,7 @@border: var(--rule-card, 1px) solid var(--color-rule);}-[data-theme="atelier"] .audit-check,-[data-theme="salon"] .audit-check {+[data-theme="atelier"] .audit-check {border: 0;background: transparent;padding: 0;@@ -1250,7 +1223,6 @@[data-theme="terminal"] .ba__panel-cap,[data-theme="sport"] .ba__panel-cap,[data-theme="almanac"] .ba__panel-cap,-[data-theme="quiet"] .ba__panel-cap,[data-theme="bloom"] .ba__panel-cap {font-family: var(--font-body);}@@ -1516,72 +1488,6 @@[data-theme="manifesto"] .section:nth-of-type(7)::before { content: "EVERY DECISION VISIBLE."; }[data-theme="manifesto"] .section:nth-of-type(8)::before { content: "THE PAGE IS A POSITION."; }-/* ── SALON — italic display, fleuron divider, left-aligned ───── */-[data-theme="salon"] .opening {- grid-template-columns: 1fr;- padding-block: var(--space-3xl) var(--space-xl);-}-[data-theme="salon"] .opening__title {- font-style: italic;- font-weight: 400;- max-width: 14ch;-}-[data-theme="salon"] .opening__title em {- font-style: normal;- font-family: var(--font-display);-}-[data-theme="salon"] .opening__sub {- margin-top: var(--space-xl);- font-family: var(--font-serif);- font-style: italic;-}-[data-theme="salon"] .opening__aside { display: none; }-[data-theme="salon"] .section__head {- grid-template-columns: 1fr;- border-bottom: 0;- padding-bottom: var(--space-md);-}-[data-theme="salon"] .section__head::after {- content: "❦";- display: block;- color: var(--color-accent);- font-size: 1.2rem;- margin-top: var(--space-md);- font-family: var(--font-serif);-}-[data-theme="salon"] .foundations {- grid-template-columns: 1fr;- max-width: 36rem;-}--/* ── LINEN — hanging headings, two-column asymmetric, woven texture ─── */-[data-theme="linen"] .opening { grid-template-columns: 7fr 5fr; gap: var(--space-3xl); }-/* Section heads hang the label in a left gutter, title in the body column.- Reads like a printed manuscript margin note + heading. */-[data-theme="linen"] .section__head {- grid-template-columns: 1fr;- gap: var(--space-sm);- border-bottom: 0;- padding-bottom: 0;-}-[data-theme="linen"] .section__title { margin-bottom: var(--space-2xl); }-[data-theme="linen"] .section-label { margin-bottom: var(--space-sm); }-[data-theme="linen"] .foundations {- grid-template-columns: 5fr 7fr;- gap: var(--space-xl) var(--space-2xl);-}-@media (max-width: 56rem) { [data-theme="linen"] .foundations { grid-template-columns: 1fr; } }-[data-theme="linen"] .spec { border-top: 0; border-bottom: var(--rule-hair) solid var(--color-rule); }--/* Signature: barely-visible woven texture — checkerboard at 3% opacity */-html[data-theme="linen"] body {- background-image:- linear-gradient(45deg, oklch(20% 0.025 90 / 0.018) 25%, transparent 25%, transparent 75%, oklch(20% 0.025 90 / 0.018) 75%),- linear-gradient(45deg, oklch(20% 0.025 90 / 0.018) 25%, transparent 25%, transparent 75%, oklch(20% 0.025 90 / 0.018) 75%);- background-size: 6px 6px;- background-position: 0 0, 3px 3px;-}-/* ── ALMANAC — sticky labels, 3-col equal, dense, faint grid bg ────── *//* Signature: faint vertical grid running the full page (graph-paper) */html[data-theme="almanac"] body {@@ -1698,6 +1604,93 @@ html[data-theme="almanac"] body {[data-theme="garden"] .foundations { grid-template-columns: 5fr 7fr; }@media (max-width: 56rem) { [data-theme="garden"] .foundations { grid-template-columns: 1fr; } }+/* ── Garden (reworked) — botanical polish, all scoped to [data-theme="garden"].+ The palette + type come from the token swap; these add: Young Serif at its+ true single weight (no faux-bold), leaf-green "drawn" link underlines that+ warm to clay on hover, and one hand-drawn sprig in the hero on wide screens. */+[data-theme="garden"] h1,+[data-theme="garden"] h2,+[data-theme="garden"] h3,+[data-theme="garden"] .section__title,+[data-theme="garden"] .hero__title,+[data-theme="garden"] .hero__salutation {+ font-weight: 400; /* Young Serif is a single organic weight */+ font-style: normal; /* roman headers — no faux-italic on Young Serif */+}+[data-theme="garden"] .link {+ color: var(--color-accent);+ text-decoration: none;+ background-image: linear-gradient(var(--color-accent), var(--color-accent));+ background-size: 100% 1.5px;+ background-repeat: no-repeat;+ background-position: 0 100%;+ transition: background-size 200ms ease, color 200ms ease, background-image 200ms ease;+}+[data-theme="garden"] .link:hover {+ color: var(--color-accent-2);+ background-image: linear-gradient(var(--color-accent-2), var(--color-accent-2));+ background-size: 100% 2px;+}+/* Garden — an animated botanical drawn into the letter's hero moment.+ The stem grows from the soil, each leaf sprouts in the stem's wake,+ then a bud opens; once grown, the whole sprig sways gently from its base.+ pathLength="100" normalises every path so the draw starts fully hidden+ and finishes exactly once — no half-drawn pop-in at the start. The sway+ keyframes open and close at rotate(0) so it eases in without a jump.+ The mark is "grown, not generated." Reduced-motion: drawn + still. */+[data-theme="garden"] .slot--hero { position: relative; }+@media (min-width: 64rem) {+ [data-theme="garden"] .hero--letter {+ display: grid;+ grid-template-columns: minmax(0, 1fr) minmax(0, 0.46fr);+ column-gap: var(--space-3xl);+ align-items: center;+ }+ [data-theme="garden"] .hero--letter .hero__main {+ display: grid; gap: var(--space-md);+ grid-column: 1; align-content: center;+ }+ [data-theme="garden"] .hero__moment {+ display: block;+ grid-column: 2;+ justify-self: end; align-self: center;+ width: clamp(140px, 15vw, 200px);+ height: auto; margin: 0; padding: 0;+ pointer-events: none;+ }+ [data-theme="garden"] .hero__moment svg {+ width: 100%; height: auto; display: block;+ stroke: var(--color-accent);+ stroke-width: 2.4;+ stroke-linecap: round;+ stroke-linejoin: round;+ transform-origin: 50% 100%;+ animation: garden-sway 7s ease-in-out 2.1s infinite;+ }+ [data-theme="garden"] .hero__moment path {+ stroke-dasharray: 100;+ stroke-dashoffset: 100;+ animation: garden-draw 1.3s cubic-bezier(0.33, 1, 0.68, 1) forwards;+ }+ /* stem grows first; leaves sprout bottom-to-top in its wake; bud opens last */+ [data-theme="garden"] .hero__moment path:nth-of-type(1) { animation-duration: 1.3s; animation-delay: 0s; }+ [data-theme="garden"] .hero__moment path:nth-of-type(2) { animation-duration: 0.7s; animation-delay: 0.45s; }+ [data-theme="garden"] .hero__moment path:nth-of-type(3) { animation-duration: 0.7s; animation-delay: 0.6s; }+ [data-theme="garden"] .hero__moment path:nth-of-type(4) { animation-duration: 0.7s; animation-delay: 0.78s; }+ [data-theme="garden"] .hero__moment path:nth-of-type(5) { animation-duration: 0.7s; animation-delay: 0.95s; }+ [data-theme="garden"] .hero__moment path:nth-of-type(6) { animation-duration: 0.6s; animation-delay: 1.25s; }+}+@keyframes garden-draw { to { stroke-dashoffset: 0; } }+@keyframes garden-sway {+ 0%, 100% { transform: rotate(0deg); }+ 30% { transform: rotate(1.4deg); }+ 70% { transform: rotate(-1.4deg); }+}+@media (prefers-reduced-motion: reduce) {+ [data-theme="garden"] .hero__moment svg { animation: none; }+ [data-theme="garden"] .hero__moment path { animation: none; stroke-dashoffset: 0; }+}+/* ── MIDNIGHT existing — numbered display style ─────────────── */[data-theme="midnight"] .section-label .num {color: var(--color-accent);@@ -1727,7 +1720,6 @@ html[data-theme="almanac"] body {[data-theme="terminal"] .anti__intro,[data-theme="sport"] .anti__intro,[data-theme="almanac"] .anti__intro,-[data-theme="quiet"] .anti__intro,[data-theme="bloom"] .anti__intro,[data-theme="riso"] .anti__intro {font-family: var(--font-body);@@ -1825,7 +1817,6 @@ html[data-theme="almanac"] body {[data-theme="terminal"] .anti-row__desc,[data-theme="sport"] .anti-row__desc,[data-theme="almanac"] .anti-row__desc,-[data-theme="quiet"] .anti-row__desc,[data-theme="bloom"] .anti-row__desc {font-family: var(--font-body);font-style: normal;@@ -1869,7 +1860,6 @@ html[data-theme="almanac"] body {[data-theme="terminal"] .found__intro,[data-theme="sport"] .found__intro,[data-theme="almanac"] .found__intro,-[data-theme="quiet"] .found__intro,[data-theme="bloom"] .found__intro,[data-theme="riso"] .found__intro {font-family: var(--font-body);@@ -1950,15 +1940,13 @@ html[data-theme="almanac"] body {max-width: 28ch;}-[data-theme="atelier"] .found-card,-[data-theme="salon"] .found-card {+[data-theme="atelier"] .found-card {background: transparent;border-inline-end: 0;border-block-end: var(--rule-hair) dashed var(--color-rule);}-[data-theme="atelier"] .found-cards,-[data-theme="salon"] .found-cards {+[data-theme="atelier"] .found-cards {background: transparent;border: 0;border-block-start: var(--rule-hair) solid var(--color-rule);diff --git a/site/css/tokens.css b/site/css/tokens.cssindex d122a87..bd5865d 100644--- a/site/css/tokens.css+++ b/site/css/tokens.css@@ -1,6 +1,6 @@/*Hallmark — tokens- Twelve themes. Each occupies a distinct point in OKLCH space.+ Twenty-four themes. Each occupies a distinct point in OKLCH space.Paper colours span dark / cream / saturated / cool / warm; never adjacent.Display fonts span category-level differences (serif / mono / condensed sans / italic);no theme is a minor variation of another.@@ -81,10 +81,10 @@/* Component shape — square by default; per-theme overrides below.The radius / border-weight choice is part of each theme's voice:- editorial themes stay square (Specimen, Newsprint, Salon, Linen),+ editorial themes stay square (Specimen, Newsprint, Atelier),technical themes stay square (Almanac, Midnight, Terminal),brutalist themes get heavier borders (Brutal, Manifesto),- soft themes get rounded corners (Garden, Studio, Quiet, Plume). */+ soft themes get rounded corners (Garden, Studio, Bloom). */--radius-card: 0; /* .code, .tell cards, .install__body */--radius-pill: 0; /* CTAs, dot indicators, badges */--radius-input: 0; /* form fields, single-line code blocks */@@ -205,48 +205,58 @@}/* ──────────────────────────────────────────────────────────────- GARDEN — pale sage · italic serif · rose accent- Pushed greener and slightly cooler from previous version+ GARDEN — modern botanical almanac. REWORKED (was flat sage + rose ++ Cormorant). Warm oat-cream paper · deep "botanical-ink" green · a living+ leaf-green accent + one earthy clay pop. Young Serif (organic, roman-only)+ for display over clean Hanken Grotesk body; Geist Mono for herbarium+ specimen labels. References the antique seed-catalogue register+ (Floret / Botanical Interests) made contemporary — earthy, alive, clean.────────────────────────────────────────────────────────────── */[data-theme="garden"] {- --color-paper: oklch(95% 0.030 130);- --color-paper-2: oklch(92% 0.034 130);- --color-paper-3: oklch(87% 0.038 130);- --color-rule: oklch(72% 0.034 130);- --color-rule-2: oklch(56% 0.040 135);- --color-muted: oklch(38% 0.055 152);- --color-neutral: oklch(28% 0.060 158);- --color-ink-2: oklch(20% 0.062 160);- --color-ink: oklch(14% 0.065 160);- --color-accent: #B6485E;- --color-accent-ink: oklch(55% 0.14 18);- --color-focus: #B6485E;-- --font-display: "Cormorant Garamond", "Instrument Serif", "Fraunces", ui-serif, Georgia, serif;- --font-body: "Geist", "Söhne", ui-sans-serif, sans-serif;- --font-serif: "Cormorant Garamond", "Instrument Serif", ui-serif, Georgia, serif;+ --color-paper: oklch(95.5% 0.022 92); /* warm oat cream — never grey-sage */+ --color-paper-2: oklch(92.5% 0.026 92); /* tinted band */+ --color-paper-3: oklch(88.5% 0.030 90); /* hover / deeper */+ --color-rule: oklch(83% 0.028 115); /* soft green-grey hairline */+ --color-rule-2: oklch(62% 0.045 132); /* mossy rule */+ --color-muted: oklch(48% 0.040 138); /* captions — muted green */+ --color-neutral: oklch(40% 0.045 142);+ --color-ink-2: oklch(33% 0.050 150); /* deep green body */+ --color-ink: oklch(24% 0.052 152); /* botanical ink — warm near-black green */+ --color-accent: oklch(47% 0.13 140); /* living leaf-green (primary) */+ --color-accent-2: oklch(54% 0.14 46); /* earthy clay / terracotta pop */+ --color-accent-ink: oklch(96% 0.02 92); /* cream on green / clay fills */+ --color-focus: oklch(47% 0.13 140);++ /* botanical tints — soft section bands (used by Garden builds) */+ --tint-moss: oklch(47% 0.13 140 / 0.10);+ --tint-clay: oklch(54% 0.14 46 / 0.10);++ --font-display: "Young Serif", ui-serif, Georgia, serif;+ --font-body: "Hanken Grotesk", "Geist", ui-sans-serif, system-ui, sans-serif;+ --font-serif: "Newsreader", ui-serif, Georgia, serif; /* readable text-serif for prose; Young Serif is display-only */--font-label: "Geist Mono", ui-monospace, monospace;--font-mono: "Geist Mono", ui-monospace, monospace;- --display-weight: 400;- --display-style: italic;- --display-optical: 96;- --display-soft: 0;+ --display-weight: 400; /* Young Serif ships one organic weight */+ --display-style: normal; /* roman — no italic headers */- --text-display: clamp(3.25rem, 6.0vw + 1.0rem, 5.75rem);- --text-display-s: clamp(2.25rem, 3.5vw + 1rem, 3.5rem);+ --text-display: clamp(2.85rem, 5.2vw + 1rem, 5rem);+ --text-display-s: clamp(2.1rem, 3.2vw + 1rem, 3.25rem);- --tracking-display: -0.012em;- --tracking-tight: -0.005em;- --tracking-label: 0.10em;+ --tracking-display: -0.006em;+ --tracking-tight: -0.004em;+ --tracking-label: 0.14em; /* herbarium specimen tags */- --lh-tight: 1.05;+ --lh-tight: 1.06;--lh-snug: 1.22;--section-gap: 6.5rem;- --section-head-gap: 1.5rem;+ --section-head-gap: 1.6rem;--measure: 58ch;++ --shadow-card: 0 14px 34px -20px oklch(24% 0.05 150 / 0.22),+ 0 1px 2px oklch(24% 0.05 150 / 0.08);}/* ──────────────────────────────────────────────────────────────@@ -442,102 +452,6 @@--measure: 56ch;}-/* ──────────────────────────────────────────────────────────────- SALON — boutique apothecary · warm ivory · TYPEWRITER display- Display in mono is the key differentiator from the cream-serif themes- ────────────────────────────────────────────────────────────── */--[data-theme="salon"] {- --color-paper: oklch(94% 0.030 65);- --color-paper-2: oklch(91% 0.034 65);- --color-paper-3: oklch(87% 0.038 60);- --color-rule: oklch(76% 0.028 60);- --color-rule-2: oklch(56% 0.030 55);- --color-muted: oklch(48% 0.030 50);- --color-neutral: oklch(34% 0.030 45);- --color-ink-2: oklch(28% 0.030 40);- --color-ink: oklch(22% 0.030 38);- --color-accent: oklch(40% 0.085 50);- --color-accent-ink: oklch(45% 0.10 50);- --color-focus: oklch(50% 0.12 50);-- --font-display: "IBM Plex Mono", "JetBrains Mono", ui-monospace, monospace;- --font-body: "Plus Jakarta Sans", "Hanken Grotesk", "Geist", ui-sans-serif, sans-serif;- --font-serif: "Cormorant Garamond", ui-serif, Georgia, serif;- --font-label: "IBM Plex Mono", ui-monospace, monospace;- --font-mono: "IBM Plex Mono", ui-monospace, monospace;-- --display-weight: 500;- --display-style: normal;-- --text-display: clamp(2.25rem, 4.0vw + 1.0rem, 4.0rem);- --text-display-s: clamp(1.625rem, 2.5vw + 1rem, 2.5rem);- --text-xl: 1.5rem;- --text-2xl: 1.875rem;-- --tracking-display: 0.005em;- --tracking-tight: 0;- --tracking-label: 0.18em;-- --lh-tight: 1.18;- --lh-snug: 1.32;- --lh-normal: 1.55;-- --section-gap: 6.5rem;- --section-head-gap: 1.75rem;- --measure: 52ch;- --page-max: 60rem;-}--/* ──────────────────────────────────────────────────────────────- LINEN — cool slate-grey paper · LIGHT GEOMETRIC SANS display- Repalleted from warm linen-yellow to cool slate-grey for theme variety —- the gallery had too many cream-paper themes (Specimen, Atelier, Newsprint,- Salon, Studio, Riso). Linen now sits on the cool side: low-chroma paper- at hue 220, steel-blue accent. Same fabric voice, different dye.- Sans-serif display is the key differentiator from Specimen / Atelier / Salon.- ────────────────────────────────────────────────────────────── */--[data-theme="linen"] {- --color-paper: oklch(91% 0.012 220);- --color-paper-2: oklch(88% 0.014 220);- --color-paper-3: oklch(83% 0.016 215);- --color-rule: oklch(74% 0.014 215);- --color-rule-2: oklch(56% 0.020 215);- --color-muted: oklch(46% 0.020 215);- --color-neutral: oklch(34% 0.024 215);- --color-ink-2: oklch(26% 0.026 215);- --color-ink: oklch(18% 0.028 220);- --color-accent: oklch(40% 0.12 232);- --color-accent-ink: oklch(46% 0.14 232);- --color-focus: oklch(50% 0.16 232);-- --font-display: "Hanken Grotesk", "Inter", ui-sans-serif, sans-serif;- --font-body: "Hanken Grotesk", "Inter", ui-sans-serif, sans-serif;- --font-serif: "Cormorant Garamond", ui-serif, Georgia, serif;- --font-label: "IBM Plex Mono", ui-monospace, monospace;- --font-mono: "IBM Plex Mono", ui-monospace, monospace;-- --display-weight: 300;- --display-style: normal;-- --text-display: clamp(3.0rem, 5.5vw + 1.0rem, 5.75rem);- --text-display-s: clamp(2rem, 3vw + 1rem, 3rem);-- --tracking-display: -0.018em;- --tracking-tight: -0.008em;- --tracking-label: 0.16em;-- --lh-tight: 1.06;- --lh-snug: 1.20;- --lh-normal: 1.55;- --lh-relaxed: 1.7;-- --section-gap: 6.5rem;- --section-head-gap: 1.5rem;- --measure: 56ch;-}-/* ──────────────────────────────────────────────────────────────ALMANAC — encyclopaedic · COOL pale paper (not warm) · slate accentCool hue 245 is the key differentiator from the warm-cream cluster@@ -621,7 +535,7 @@--font-mono: "JetBrains Mono", ui-monospace, monospace;--display-weight: 700;- --display-style: italic;+ --display-style: normal;--display-optical: 96;--text-display: clamp(3.5rem, 6vw + 1.0rem, 6.5rem);@@ -680,7 +594,7 @@--display-weight: 400;--display-optical: 144;- --display-style: italic;+ --display-style: normal;--display-soft: 30;--text-display: clamp(3.5rem, 5.5vw + 1.0rem, 6.25rem);@@ -738,86 +652,29 @@}-/* ──────────────────────────────────────────────────────────────- QUIET — restraint as the design · system fonts, near-white paper- The opposite of every other theme. Average-sized headers (smaller- than the others), generous whitespace, no chromatic accent, no- ornament, no reveal. System-native typography is the design — a- deliberate exception to Hallmark's "pair distinctive display + body"- rule. The brief is restraint; the design honours it.- ────────────────────────────────────────────────────────────── */-[data-theme="quiet"] {- --color-paper: oklch(100% 0 0); /* pure white */- --color-paper-2: oklch(98.5% 0 0); /* card surface */- --color-paper-3: oklch(96% 0 0); /* hover surface */- --color-rule: oklch(91% 0 0); /* hairline */- --color-rule-2: oklch(82% 0 0); /* prominent border */- --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); /* near-black */- --color-accent: oklch(15% 0 0); /* mono — accent IS ink */- --color-accent-ink: oklch(15% 0 0);- --color-focus: oklch(60% 0.10 240); /* a single tiny blue for keyboard focus only */-- --font-display: "Geist", "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;- --font-body: "Geist", "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;- --font-serif: ui-serif, Georgia, "Times New Roman", serif;- --font-label: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;- --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;-- --display-weight: 500;- --display-style: normal;-- /* A confident, large display — minimalism with conviction, not timidity. */- --text-display: clamp(2.5rem, 5.0vw + 0.5rem, 4.75rem);- --text-display-s: clamp(2rem, 3vw + 0.5rem, 3rem);- --text-2xl: clamp(1.75rem, 2vw + 0.5rem, 2.5rem);- --text-xl: 1.5rem;- --text-lg: 1.25rem;-- --tracking-display: -0.025em;- --tracking-tight: -0.015em;- --tracking-label: 0.04em;-- --lh-tight: 1.08;- --lh-snug: 1.25;- --lh-normal: 1.55;- --lh-relaxed: 1.7;-- /* Generous whitespace — the page breathes */- --section-gap: 6.5rem;- --section-head-gap: 1.5rem;- --space-2xl: 4.5rem;- --space-3xl: 7rem;- --space-4xl: 11rem;-- --measure: 64ch;-}/* ──────────────────────────────────────────────────────────────- BLOOM — atmospheric dark · warm radial bloom · expressive- For the "AI-creative product" page (think Suno, Runway, music- tools). Dark canvas, two soft colour blooms behind the content,- confident sans display, single warm accent. The first non-print- theme in the catalog.+ BLOOM — clean warm-light minimal · one restrained warm accent ·+ a single soft bloom. REWORKED from the old high-chroma pink wash to+ a calm, airy, considered page: warm off-white paper, a muted coral+ used sparingly, confident clean sans, generous space.────────────────────────────────────────────────────────────── */[data-theme="bloom"] {- --color-paper: oklch(96% 0.018 35); /* warm cream — wash reads bright */- --color-paper-2: oklch(93% 0.022 35);- --color-paper-3: oklch(89% 0.026 38);- --color-rule: oklch(80% 0.020 40);- --color-rule-2: oklch(64% 0.020 40);- --color-muted: oklch(48% 0.020 40);- --color-neutral: oklch(34% 0.018 40);- --color-ink-2: oklch(22% 0.014 38);- --color-ink: oklch(14% 0.012 35);- --color-accent: oklch(64% 0.180 18); /* warm pink/coral wash */- --color-accent-ink: oklch(54% 0.190 18);- --color-accent-2: oklch(72% 0.190 45); /* secondary warm orange */- --color-focus: oklch(64% 0.180 18);+ --color-paper: oklch(97% 0.010 72); /* calm warm off-white */+ --color-paper-2: oklch(94.5% 0.012 72);+ --color-paper-3: oklch(91% 0.014 68);+ --color-rule: oklch(86% 0.012 70);+ --color-rule-2: oklch(68% 0.016 64);+ --color-muted: oklch(50% 0.018 58);+ --color-neutral: oklch(40% 0.020 52);+ --color-ink-2: oklch(30% 0.022 46);+ --color-ink: oklch(20% 0.022 40); /* warm near-black */+ --color-accent: oklch(56% 0.13 35); /* restrained terracotta-coral — used sparingly */+ --color-accent-ink: oklch(98% 0.010 72);+ --color-accent-2: oklch(64% 0.09 55); /* soft warm companion (bloom tint only) */+ --color-focus: oklch(56% 0.13 35);--font-display: "Geist", "Inter", ui-sans-serif, system-ui, sans-serif;--font-body: "Geist", "Inter", ui-sans-serif, system-ui, sans-serif;@@ -831,15 +688,15 @@--text-display: clamp(3.0rem, 6.0vw + 1.0rem, 5.75rem);--text-display-s: clamp(2rem, 3vw + 1rem, 3.5rem);- --tracking-display: -0.035em;- --tracking-tight: -0.02em;- --tracking-label: 0.10em;+ --tracking-display: -0.022em;+ --tracking-tight: -0.014em;+ --tracking-label: 0.12em;- --lh-tight: 1.04;- --lh-snug: 1.18;+ --lh-tight: 1.06;+ --lh-snug: 1.2;- --section-gap: 6.5rem;- --section-head-gap: 1.5rem;+ --section-gap: 7rem;+ --section-head-gap: 1.6rem;}/* ──────────────────────────────────────────────────────────────@@ -884,43 +741,47 @@}/* ──────────────────────────────────────────────────────────────- VIOLET — modern-minimal · near-white + near-black · quiet violet- The Linear voice without copying it. Tight Geist, restrained ink,- one quiet violet accent on focus + small marks.+ COBALT — modern-minimal · cool engineered paper · electric cobalt+ The dev-tool / API / docs register (the GitBook + Firecrawl school)+ without the now-crowded orange. A calm cool-white ground, ruler-drawn+ hairlines, one electric cobalt signal accent, and a code/API hero.+ Space Grotesk display + Inter body + JetBrains Mono for code.+ Distinct from Coral: cool (not warm) paper, electric blue (not coral),+ mono-forward type (not Geist), bordered nav + tight technical radii.────────────────────────────────────────────────────────────── */-[data-theme="violet"] {- --color-paper: oklch(99% 0.003 280);- --color-paper-2: oklch(97% 0.004 280);- --color-paper-3: oklch(94% 0.005 280);- --color-rule: oklch(90% 0.006 280);- --color-rule-2: oklch(78% 0.008 280);- --color-muted: oklch(50% 0.012 280);- --color-neutral: oklch(36% 0.014 280);- --color-ink-2: oklch(28% 0.018 280);- --color-ink: oklch(14% 0.015 280);- --color-accent: oklch(58% 0.16 285); /* quiet violet */- --color-accent-ink: oklch(99% 0.003 280);- --color-focus: oklch(58% 0.16 285);-- --font-display: "Geist", "Inter", ui-sans-serif, system-ui, sans-serif;- --font-body: "Geist", "Inter", ui-sans-serif, system-ui, sans-serif;- --font-serif: ui-serif, Georgia, serif;- --font-label: "Geist Mono", ui-monospace, monospace;- --font-mono: "Geist Mono", ui-monospace, monospace;+[data-theme="cobalt"] {+ --color-paper: oklch(98.5% 0.004 250); /* cool engineered near-white */+ --color-paper-2: oklch(96.5% 0.005 252); /* faint cool band */+ --color-paper-3: oklch(94% 0.006 254); /* elevated cool surface */+ --color-rule: oklch(91% 0.008 255); /* hairline — borders do the work */+ --color-rule-2: oklch(83% 0.011 255);+ --color-muted: oklch(56% 0.013 255); /* captions, meta */+ --color-neutral: oklch(46% 0.015 255);+ --color-ink-2: oklch(34% 0.018 257); /* body text */+ --color-ink: oklch(24% 0.020 258); /* cool charcoal — never black */+ --color-accent: oklch(58% 0.20 256); /* electric cobalt — the one signal */+ --color-accent-ink: oklch(99% 0.004 256); /* on-cobalt text */+ --color-focus: oklch(58% 0.20 256);+ --color-graphite: oklch(24% 0.018 260); /* dark code-card ground */++ --font-display: "Space Grotesk", "Inter Tight", ui-sans-serif, system-ui, sans-serif;+ --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;+ --font-serif: "Inter", ui-sans-serif, system-ui, sans-serif; /* Cobalt is all-sans — override the :root serif fallback */+ --font-label: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;+ --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;- --display-weight: 600;+ --display-weight: 500;--display-style: normal;- --text-display: clamp(2.5rem, 5.5vw + 0.5rem, 5.0rem);- --text-display-s: clamp(2rem, 3vw + 0.5rem, 3rem);+ --text-display: clamp(2.5rem, 4.5vw + 0.75rem, 4.5rem);+ --text-display-s: clamp(1.85rem, 3vw + 0.5rem, 2.75rem);- --tracking-display: -0.035em;- --tracking-tight: -0.02em;- --tracking-label: 0.04em;- --section-gap: 6rem;+ --tracking-display: -0.03em;+ --tracking-tight: -0.015em;+ --tracking-label: 0.06em;+ --section-gap: 7rem;--section-head-gap: 1.5rem;-}/* ──────────────────────────────────────────────────────────────@@ -967,88 +828,6 @@}-/* ──────────────────────────────────────────────────────────────- HALO — atmospheric · neutral charcoal canvas · warm-amber bloom- only around the hero. Less Suno, more "tool you actually work in."- The bloom is a single moment near the top; the rest of the page- is content-led on charcoal.- ────────────────────────────────────────────────────────────── */--[data-theme="halo"] {- --color-paper: oklch(13% 0.005 60); /* neutral charcoal, hint warm */- --color-paper-2: oklch(17% 0.006 60);- --color-paper-3: oklch(22% 0.008 60);- --color-rule: oklch(28% 0.008 60);- --color-rule-2: oklch(38% 0.010 60);- --color-muted: oklch(58% 0.010 60);- --color-neutral: oklch(72% 0.010 60);- --color-ink-2: oklch(80% 0.008 60);- --color-ink: oklch(94% 0.005 60);- --color-accent: oklch(74% 0.16 70); /* warm amber */- --color-accent-ink: oklch(13% 0.005 60);- --color-focus: oklch(74% 0.16 70);-- --font-display: "Geist", "Inter", ui-sans-serif, system-ui, sans-serif;- --font-body: "Geist", "Inter", ui-sans-serif, system-ui, sans-serif;- --font-serif: "Instrument Serif", ui-serif, Georgia, serif;- --font-label: "Geist Mono", ui-monospace, monospace;- --font-mono: "Geist Mono", ui-monospace, monospace;-- --display-weight: 600;- --display-style: normal;-- --text-display: clamp(2.75rem, 5.0vw + 1.0rem, 5.0rem);- --text-display-s: clamp(2rem, 3vw + 0.5rem, 3rem);-- --tracking-display: -0.03em;- --tracking-tight: -0.018em;- --tracking-label: 0.08em;- --section-gap: 6rem;- --section-head-gap: 1.5rem;--}--/* ──────────────────────────────────────────────────────────────- PLUME — playful · warm cream paper · tinted bands- Warm cream throughout, alternating paper-2 bands on sections,- hover-lift on cards, soft rose accent. The page wants to feel- friendly without being twee.- ────────────────────────────────────────────────────────────── */--[data-theme="plume"] {- --color-paper: oklch(96% 0.020 70); /* warm cream */- --color-paper-2: oklch(94% 0.026 70); /* tinted band */- --color-paper-3: oklch(91% 0.030 70);- --color-rule: oklch(82% 0.022 70);- --color-rule-2: oklch(70% 0.024 70);- --color-muted: oklch(50% 0.022 60);- --color-neutral: oklch(36% 0.020 55);- --color-ink-2: oklch(30% 0.018 55);- --color-ink: oklch(22% 0.015 50);- --color-accent: oklch(68% 0.130 18); /* soft rose-pink */- --color-accent-ink: oklch(96% 0.020 70);- --color-focus: oklch(68% 0.130 18);-- --font-display: "Geist", "Inter Tight", ui-sans-serif, system-ui, sans-serif;- --font-body: "Geist", "Inter", ui-sans-serif, system-ui, sans-serif;- --font-serif: "Newsreader", ui-serif, Georgia, serif;- --font-label: "Geist Mono", ui-monospace, monospace;- --font-mono: "Geist Mono", ui-monospace, monospace;-- --display-weight: 700;- --display-style: normal;-- --text-display: clamp(2.75rem, 5.0vw + 0.75rem, 5.0rem);- --text-display-s: clamp(2rem, 3vw + 0.5rem, 3rem);-- --tracking-display: -0.025em;- --tracking-tight: -0.012em;- --tracking-label: 0.06em;- --section-gap: 6rem;- --section-head-gap: 1.5rem;--}-/* ──────────────────────────────────────────────────────────────PER-THEME COMPONENT SHAPE — radius, border weight, shadow.Defaults (in :root above): square edges, 1 px border, no shadow.@@ -1057,40 +836,36 @@The discipline: editorial / brutalist / technical themes staysquare (the rule is the design); soft / modern themes get- measured radius (Plume 14 px is the most rounded — it's the- playful theme); brutalist / declarative themes get heavier+ measured radius (Bloom 16 px is the most rounded here — the+ soft modern themes); brutalist / declarative themes get heavierborders. Nothing is rounded "for fun".────────────────────────────────────────────────────────────── */[data-theme="brutal"] { --rule-card: 2px; }[data-theme="manifesto"] { --rule-card: 2px; }[data-theme="sport"] { --rule-card: 1.5px; }-[data-theme="garden"] { --radius-card: 6px; --radius-pill: 4px; }+[data-theme="garden"] { --radius-card: 10px; --radius-pill: 8px; --radius-input: 8px; }[data-theme="studio"] { --radius-card: 6px; --radius-pill: 4px; --shadow-card: 0 1px 2px oklch(20% 0.014 205 / 0.05); }[data-theme="riso"] { --radius-card: 2px; --radius-pill: 2px; }-[data-theme="quiet"] { --radius-card: 8px; --radius-pill: 999px; --radius-input: 8px; }[data-theme="bloom"] { --radius-card: 16px; --radius-pill: 999px; --radius-input: 12px;- --shadow-card: 0 24px 48px -16px oklch(8% 0.04 35 / 0.6),- 0 1px 2px oklch(8% 0.04 35 / 0.4); }+ --shadow-card: 0 12px 32px -18px oklch(20% 0.03 60 / 0.12),+ 0 1px 2px oklch(20% 0.03 60 / 0.06); }[data-theme="coral"] { --radius-card: 8px; --radius-pill: 999px; --radius-input: 6px;--shadow-card: 0 1px 2px oklch(20% 0.01 50 / 0.06); }-[data-theme="violet"] { --radius-card: 6px; --radius-pill: 999px; --radius-input: 6px; }[data-theme="aurora"] { --radius-card: 12px; --radius-pill: 999px; --radius-input: 10px;--shadow-card: 0 16px 40px -16px oklch(11% 0.04 200 / 0.65),0 1px 2px oklch(11% 0.04 200 / 0.4); }-[data-theme="halo"] { --radius-card: 8px; --radius-pill: 6px; --radius-input: 6px;- --shadow-card: 0 8px 22px -12px oklch(13% 0.02 60 / 0.5); }-[data-theme="plume"] { --radius-card: 14px; --radius-pill: 999px; --radius-input: 10px;- --shadow-card: 0 10px 28px -12px oklch(45% 0.10 18 / 0.16); }+[data-theme="cobalt"] { --radius-card: 10px; --radius-pill: 6px; --radius-input: 6px;+ --shadow-card: 0 1px 2px oklch(24% 0.02 258 / 0.05); }[data-theme="editorial"] { --radius-card: 0; --radius-pill: 0; --radius-input: 0; --rule-card: 0.5px; }/* ──────────────────────────────────────────────────────────────- EDITORIAL — open-design-inspired editorial premium · the 23rd theme+ EDITORIAL — editorial-premium magazine voiceWarm cream paper + coral accent + Inter Tight display withPlayfair Display italic emphasis inside. Magazine-shaped: hairlinerules, asymmetric grids, Roman-numeral marginalia, 2-axis serif/sans- pairing. Inspired by github.com/nexu-io/open-design.+ pairing.────────────────────────────────────────────────────────────── */[data-theme="editorial"] {@@ -1127,3 +902,272 @@}++/* ──────────────────────────────────────────────────────────────+ CARNIVAL — loud maximalist editorial · variable display+ Tinted warm-cream paper, oxblood ink, duo-tone accents+ (mustard primary + oxblood secondary). Big Shoulders variable+ display with width axis. Decorative ornaments, hard-offset+ shadows, layered colour blocks. Dropout TV / Fly.io / Stones+ Throw / Third Man Records register.+ See references/themes/carnival.md for signature moves + affinity.+ ────────────────────────────────────────────────────────────── */++[data-theme="carnival"] {+ --color-paper: oklch(92% 0.045 50); /* warm pink-cream (tinted, not white) */+ --color-paper-2: oklch(88% 0.050 45); /* elevated, slightly deeper */+ --color-paper-3: oklch(82% 0.060 40); /* hover */+ --color-rule: oklch(40% 0.18 25); /* RULES IN OXBLOOD — decorative, not hairline */+ --color-rule-2: oklch(18% 0.08 20); /* heavy rule = ink */+ --color-muted: oklch(45% 0.05 30);+ --color-neutral: oklch(35% 0.06 25);+ --color-ink-2: oklch(28% 0.060 25);+ --color-ink: oklch(18% 0.080 20); /* deep oxblood / aubergine, not black */+ --color-accent: oklch(86% 0.18 95); /* mustard / sun yellow (primary accent) */+ --color-accent-2: oklch(40% 0.21 25); /* deep oxblood-red (secondary accent) */+ --color-accent-ink: oklch(18% 0.080 20); /* ink on yellow */+ --color-focus: oklch(40% 0.21 25);++ --font-display: "Big Shoulders Display", "Druk Wide", "Anton", ui-sans-serif, sans-serif;+ --font-body: "DM Sans", "Inter Tight", ui-sans-serif, system-ui, sans-serif;+ --font-serif: "Newsreader", ui-serif, Georgia, serif;+ --font-label: "JetBrains Mono", ui-monospace, monospace;+ --font-mono: "JetBrains Mono", ui-monospace, monospace;++ --display-weight: 800;+ --display-style: normal;++ --text-display: clamp(3.25rem, 6.5vw + 1rem, 6.5rem);+ --text-display-s: clamp(2.25rem, 4vw + 0.75rem, 3.5rem);++ --tracking-display: 0.04em; /* all-caps, slightly tracked */+ --tracking-tight: -0.005em;+ --tracking-label: 0.18em; /* mono all-caps labels */++ --section-gap: 5rem;+ --section-head-gap: 1.25rem;++ --radius-card: 8px;+ --radius-pill: 999px;+ --radius-input: 4px;+ --rule-card: 2px; /* CHUNKY, never hairline */+ --shadow-card: 4px 4px 0 oklch(18% 0.08 20); /* hard-offset, in ink colour */+}+++/* ──────────────────────────────────────────────────────────────+ LUMEN — premium AI-tool · apparatus, not orb · three-register type+ Two palette drops: NIGHT FOUNDRY (default, dark · cool-violet+ paper, molten-brass accent) emits light from a hand-built CSS+ apparatus; DAY FOUNDRY (light · cool bone, deep indigo) refracts+ light through a transparent prism with measurement annotations.+ Three font families on one page: Instrument Serif (display, with+ single italicised verb), Geist Sans (body/UI), JetBrains Mono+ (technical labels, tabular-nums everywhere numbers appear).+ Lumen tokens:+ --color-glow · translucent halo around the apparatus+ --color-paper-emit · faint accent wash behind the hero canvas+ --rule-blueprint · grid-pattern hairline (4% opacity)+ Diversification: Lumen sits hue 265 to exit Midnight's hue 250+ cell; accent hue 50 (brass) sits clear of the amber 70 band.+ Reference register: Modal · Anthropic · Together AI · ElevenLabs+ · Cluely · Adept · Granola. See references/themes/lumen.md.+ ────────────────────────────────────────────────────────────── */++[data-theme="lumen"] {+ color-scheme: dark;++ /* NIGHT FOUNDRY — default drop (cool-violet paper, molten brass) */+ --color-paper: oklch(13% 0.014 265); /* late-night studio, violet tilt */+ --color-paper-2: oklch(17% 0.016 265); /* elevated card */+ --color-paper-3: oklch(22% 0.018 263); /* deeper hover */+ --color-rule: oklch(30% 0.018 265); /* hairline border */+ --color-rule-2: oklch(42% 0.020 263);+ --color-muted: oklch(60% 0.016 263);+ --color-neutral: oklch(72% 0.014 263);+ --color-ink-2: oklch(82% 0.010 262); /* body */+ --color-ink: oklch(96% 0.006 262); /* headlines */+ --color-accent: oklch(76% 0.17 50); /* molten brass */+ --color-accent-2: oklch(68% 0.16 18); /* coral chord (slight warm pull) */+ --color-accent-ink: oklch(13% 0.014 265); /* ink on accent fill */+ --color-focus: oklch(76% 0.17 50);+ --color-glow: oklch(80% 0.16 50 / 0.42); /* brass halo, denser than amber */+ --color-glow-2: oklch(80% 0.16 50 / 0.12); /* faint radial wash */+ --color-paper-emit: oklch(76% 0.17 50 / 0.04); /* hero canvas inner-emit */+ --rule-blueprint: oklch(96% 0.006 262 / 0.04); /* grid pattern, near-invisible */++ --font-display: "Instrument Serif", "Tiempos Headline", ui-serif, Georgia, serif;+ --font-body: "Geist", "Inter", ui-sans-serif, system-ui, sans-serif;+ --font-serif: "Instrument Serif", ui-serif, Georgia, serif;+ --font-label: "JetBrains Mono", "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;+ --font-mono: "JetBrains Mono", "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;++ --display-weight: 400; /* Instrument Serif at 400 — delicate */+ --display-optical: 144;+ --display-style: normal; /* italic toggled per-word via <em> */++ --text-display: clamp(3rem, 6.5vw + 0.75rem, 6.75rem); /* 1960s technical-journal masthead */+ --text-display-s: clamp(2.25rem, 3.75vw + 1rem, 3.75rem);++ --tracking-display: -0.032em; /* tighter, more classical */+ --tracking-tight: -0.014em;+ --tracking-label: 0.10em; /* mono labels */+ --tracking-micro: 0.16em; /* leader-line callouts on the apparatus */++ --lh-tight: 1.02;+ --lh-snug: 1.18;+ --lh-normal: 1.55;+ --lh-relaxed: 1.7;++ --section-gap: 6.5rem;+ --section-head-gap: 1.75rem;+ --measure: 60ch;++ --radius-card: 10px;+ --radius-pill: 999px;+ --radius-input: 8px;+ --rule-card: 1px; /* hairline borders */+ --shadow-card: 0 24px 60px -28px oklch(0% 0 0 / 0.55),+ 0 1px 2px oklch(0% 0 0 / 0.4);++ /* Motion */+ --dur-headline: 1100ms;+ --dur-pulse: 4s; /* filament intensity oscillation */+ --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);+}++/* DAY FOUNDRY — light drop, violet-shifted indigo, refractive prism */+[data-theme="lumen"][data-drop="day"] {+ color-scheme: light;++ --color-paper: oklch(97% 0.008 265); /* cool bone, slight violet pull */+ --color-paper-2: oklch(94% 0.010 265);+ --color-paper-3: oklch(90% 0.012 263);+ --color-rule: oklch(86% 0.010 265);+ --color-rule-2: oklch(72% 0.012 265);+ --color-muted: oklch(52% 0.014 265);+ --color-neutral: oklch(38% 0.016 265);+ --color-ink-2: oklch(28% 0.016 265);+ --color-ink: oklch(18% 0.014 265);+ --color-accent: oklch(46% 0.24 268); /* deeper indigo, slight violet */+ --color-accent-2: oklch(68% 0.16 18); /* coral chord — chromatic exit */+ --color-accent-ink: oklch(97% 0.008 265);+ --color-focus: oklch(46% 0.24 268);+ --color-glow: oklch(58% 0.22 268 / 0.28);+ --color-glow-2: oklch(68% 0.16 18 / 0.10);+ --color-paper-emit: oklch(46% 0.24 268 / 0.03);+ --rule-blueprint: oklch(18% 0.014 265 / 0.04);++ --shadow-card: 0 24px 60px -28px oklch(18% 0.04 265 / 0.22),+ 0 1px 2px oklch(18% 0.04 265 / 0.12);+}+++/* ──────────────────────────────────────────────────────────────+ HUM — playful · vibrant · alive · multi-accent · rounded-sans+ The brilliant.org / Duolingo / PostHog register, on cream paper+ with pear-yellow primary + sky-cyan secondary + coral pop accent.+ No serif anywhere; rounded sans throughout. Mandatory hover-and-paint+ motion. One character moment per page. Sits in the `playful` genre+ cluster as the multi-accent, motion-forward playful register.+ See references/themes/hum.md.+ ────────────────────────────────────────────────────────────── */++[data-theme="hum"] {+ color-scheme: light;++ /* Palette — multi-accent on cream */+ --color-paper: oklch(97% 0.012 95); /* cream, pear-yellow pull */+ --color-paper-2: oklch(94% 0.016 95); /* tinted band */+ --color-paper-3: oklch(91% 0.020 95); /* deeper hover */+ --color-rule: oklch(86% 0.014 90);+ --color-rule-2: oklch(70% 0.018 85);+ --color-muted: oklch(52% 0.014 90);+ --color-neutral: oklch(38% 0.014 100);+ --color-ink-2: oklch(28% 0.014 250);+ --color-ink: oklch(20% 0.012 250); /* never pure black, cool tilt */+ --color-accent: oklch(86% 0.18 95); /* pear-yellow (primary) */+ --color-accent-2: oklch(66% 0.18 235); /* sky-cyan (secondary) */+ --color-accent-3: oklch(68% 0.24 18); /* coral-red (pop, single moment) */+ --color-mint: oklch(80% 0.16 150); /* soft mint (sparingly) */+ --color-lavender: oklch(74% 0.16 305); /* lavender (sparingly) */+ --color-accent-ink: oklch(20% 0.012 250); /* ink on pear fill */+ --color-focus: oklch(66% 0.18 235); /* cyan focus ring */++ /* Type — rounded sans only */+ --font-display: "Plus Jakarta Sans", "Geist", "Inter", ui-sans-serif, system-ui, sans-serif;+ --font-body: "Plus Jakarta Sans", "Geist", "Inter", ui-sans-serif, system-ui, sans-serif;+ --font-serif: "Plus Jakarta Sans", ui-sans-serif, sans-serif; /* override — no serif in Hum */+ --font-label: "JetBrains Mono", "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;+ --font-mono: "JetBrains Mono", "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;++ --display-weight: 600; /* heavier than Lumen's 400 — confident */+ --display-style: normal;++ --text-display: clamp(2.75rem, 5.5vw + 0.75rem, 5.25rem);+ --text-display-s: clamp(2rem, 3.25vw + 1rem, 3.25rem);++ --tracking-display: -0.025em;+ --tracking-tight: -0.014em;+ --tracking-normal: 0;+ --tracking-label: 0.10em;+ --tracking-micro: 0.16em;++ --lh-tight: 1.05;+ --lh-snug: 1.18;+ --lh-normal: 1.55;+ --lh-relaxed: 1.7;++ --section-gap: 6.5rem;+ --section-head-gap: 1.75rem;++ /* Generous rounded radii — the rounded theme */+ --radius-card: 20px;+ --radius-pill: 999px;+ --radius-input: 12px;+ --rule-card: 1px;+ --shadow-card: 0 12px 32px -16px oklch(20% 0.012 250 / 0.14),+ 0 1px 2px oklch(20% 0.012 250 / 0.06);++ /* Motion — bouncy, alive */+ --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);+ --ease-snap: cubic-bezier(0.22, 1, 0.36, 1);+ --dur-wobble: 480ms;+ --dur-burst: 420ms;+ --dur-tick: 1200ms;++ /* accent EDGE tones — the button's thickness + chunky card edges */+ --color-accent-deep: oklch(76% 0.20 95);+ --color-accent-2-deep: oklch(56% 0.20 235);+ --color-accent-3-deep: oklch(58% 0.26 18);+ --color-mint-deep: oklch(70% 0.18 150);+ --color-lavender-deep: oklch(64% 0.18 305);++ /* per-accent tint surfaces — the colour-shift cards + section bands */+ --tint-pear: oklch(86% 0.18 95 / 0.16);+ --tint-cyan: oklch(66% 0.18 235 / 0.14);+ --tint-coral: oklch(68% 0.24 18 / 0.12);+ --tint-mint: oklch(80% 0.16 150 / 0.16);+ --tint-lavender: oklch(74% 0.16 305 / 0.14);++ /* layout shell — one width model, every section obeys it */+ --page-max: 78rem;+ --page-gutter: clamp(1.25rem, 4vw, 3rem);+ --measure: 60ch;++ /* type + space scales */+ --text-xs: 0.75rem; --text-sm: 0.8125rem; --text-base: 1rem; --text-md: 1.0625rem;+ --text-lg: 1.25rem; --text-xl: 1.5rem; --text-2xl: 2rem; --text-3xl: 2.5rem;+ --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: 6.5rem; --space-4xl: 10rem;++ --shadow-card-hover: 0 24px 56px -20px oklch(20% 0.012 250 / 0.18),+ 0 2px 6px oklch(20% 0.012 250 / 0.08);++ /* fuller motion set (calm options alongside the spring) */+ --ease-out: cubic-bezier(0.16, 1, 0.3, 1);+ --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);+ --dur-micro: 120ms;+ --dur-short: 220ms;+ --dur-long: 420ms;+}diff --git a/site/examples/carnival-01/index.html b/site/examples/carnival-01/index.htmlnew file mode 100644index 0000000..f017835--- /dev/null+++ b/site/examples/carnival-01/index.html@@ -0,0 +1,276 @@+<!doctype html>+<html lang="en" data-theme="carnival">+<head>+ <meta charset="utf-8" />+ <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />+ <title>COLD SNAP — A six-track EP from Brickyard Tapes. Out 14 March.</title>+ <meta name="description" content="Cold Snap. Six tracks. Three artists. Out 14 March on Brickyard Tapes — vinyl, cassette, digital. Pressed in Detroit." />+ <meta name="theme-color" content="#f0d9bc" />++ <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=Big+Shoulders+Display:wght@400;700;800;900&family=DM+Sans:wght@400;500;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet" />++ <link rel="stylesheet" href="tokens.css" />+ <link rel="stylesheet" href="styles.css" />+</head>+<body>+ <a class="sr-only" href="#main">Skip to content</a>++ <!-- ─── Nav — N7 brutal slab ─── -->+ <header class="nav">+ <div class="shell nav__inner">+ <a class="nav__wordmark" href="#" aria-label="Brickyard Tapes — home">+ Brickyard <span class="orn" aria-hidden="true">◆</span> Tapes+ </a>+ <ul class="nav__links" aria-label="Primary">+ <li><a href="#artists">Artists</a></li>+ <li><a href="#tracklist">Tracks</a></li>+ <li><a href="#formats">Buy</a></li>+ <li><a href="#manifesto">About</a></li>+ </ul>+ <a class="nav__cta" href="#formats">Pre-order EP</a>+ </div>+ </header>++ <main id="main">++ <!-- ─── Hero — H1 Marquee, two-line word ─── -->+ <section class="hero">+ <div class="shell">+ <p class="hero__eyebrow">+ <span aria-hidden="true">◆</span>+ <span>Brickyard Tapes · Catalog № BYT-024 · Out 14 March</span>+ </p>++ <h1 class="hero__word" aria-label="Cold Snap">+ COLD<br />+ <span class="word--accent">SNAP.</span>+ </h1>++ <dl class="hero__meta">+ <div>+ <dt>Format</dt>+ <dd>EP · 6 tracks</dd>+ </div>+ <div>+ <dt>Pressed</dt>+ <dd>Detroit, MI</dd>+ </div>+ <div>+ <dt>Artists</dt>+ <dd>Three</dd>+ </div>+ <div>+ <dt>Run</dt>+ <dd>500 vinyl · 200 cassette</dd>+ </div>+ </dl>+ </div>+ </section>++ <!-- ─── Marquee strip ─── -->+ <div class="marquee" role="presentation" aria-hidden="true">+ <div class="marquee__track">+ <span>OUT 14 MARCH <span class="orn">✱</span> COLD SNAP <span class="orn">✱</span> ON VINYL <span class="orn">✱</span> ON CASSETTE <span class="orn">✱</span> STREAM EVERYWHERE <span class="orn">✱</span> SIGNED COPIES <span class="orn">✱</span></span>+ <span>OUT 14 MARCH <span class="orn">✱</span> COLD SNAP <span class="orn">✱</span> ON VINYL <span class="orn">✱</span> ON CASSETTE <span class="orn">✱</span> STREAM EVERYWHERE <span class="orn">✱</span> SIGNED COPIES <span class="orn">✱</span></span>+ </div>+ </div>++ <!-- ─── Artists — three blocks, alternating duo-tone ─── -->+ <section class="shell artists" id="artists" aria-labelledby="artists-title">+ <h2 id="artists-title" class="sr-only">The three artists on Cold Snap</h2>++ <article class="artist artist--mustard">+ <figure class="artist__art" aria-hidden="true">+ <div class="halftone halftone--dense"></div>+ </figure>+ <div>+ <p class="artist__num">01.</p>+ <h3 class="artist__name">June Belmont</h3>+ <p class="artist__sub">Detroit · Vocals · Synth</p>+ <p class="artist__copy">Two tracks. The first is the title track. The second is the one we played first when we listened back and immediately fought over who got to sequence the EP.</p>+ </div>+ <div class="artist__track">+ <span class="mono">Lead single</span>+ <span class="title">Cold Snap</span>+ <span class="dur">3:42</span>+ </div>+ </article>++ <article class="artist artist--oxblood">+ <figure class="artist__art" aria-hidden="true">+ <div class="halftone"></div>+ </figure>+ <div>+ <p class="artist__num">02.</p>+ <h3 class="artist__name">Wax Theatre</h3>+ <p class="artist__sub">Brooklyn · Guitar · Tape loops</p>+ <p class="artist__copy">Two tracks recorded over one weekend at the practice space on Smith Street. Live, no overdubs. The amp hum is the second instrument and we kept it in on purpose.</p>+ </div>+ <div class="artist__track">+ <span class="mono">Track B / C</span>+ <span class="title">Long January</span>+ <span class="dur">4:18</span>+ </div>+ </article>++ <article class="artist artist--mustard">+ <figure class="artist__art" aria-hidden="true">+ <div class="halftone halftone--dense"></div>+ </figure>+ <div>+ <p class="artist__num">03.</p>+ <h3 class="artist__name">Margot Half-Step</h3>+ <p class="artist__sub">Chicago · Piano · Voice</p>+ <p class="artist__copy">Two tracks. One is the EP closer. Margot's voice goes places we did not expect when we signed her. We are happy about it. So is everyone we played the rough mixes for.</p>+ </div>+ <div class="artist__track">+ <span class="mono">Closer</span>+ <span class="title">Light Out</span>+ <span class="dur">5:06</span>+ </div>+ </article>+ </section>++ <!-- ─── Track list ─── -->+ <section class="tracklist" id="tracklist" aria-labelledby="tracks-title">+ <div class="shell tracklist__inner">+ <header class="tracklist__head">+ <h2 id="tracks-title">+ Six<br />tracks.<br /><span class="orn" aria-hidden="true">◆ ◆ ◆</span>+ </h2>+ <p>Twenty-four minutes of EP. Sequence it loud, sequence it quiet — just sequence it in order.</p>+ </header>++ <ol class="tracklist__list">+ <li>+ <span class="tracklist__num">01</span>+ <span class="tracklist__title">Cold Snap <small>June Belmont</small></span>+ <span class="tracklist__dur">3:42</span>+ </li>+ <li>+ <span class="tracklist__num">02</span>+ <span class="tracklist__title">January, Detroit <small>June Belmont</small></span>+ <span class="tracklist__dur">2:58</span>+ </li>+ <li>+ <span class="tracklist__num">03</span>+ <span class="tracklist__title">Long January <small>Wax Theatre</small></span>+ <span class="tracklist__dur">4:18</span>+ </li>+ <li>+ <span class="tracklist__num">04</span>+ <span class="tracklist__title">Smith Street, 4 a.m. <small>Wax Theatre</small></span>+ <span class="tracklist__dur">3:54</span>+ </li>+ <li>+ <span class="tracklist__num">05</span>+ <span class="tracklist__title">Hour Hand <small>Margot Half-Step</small></span>+ <span class="tracklist__dur">4:42</span>+ </li>+ <li>+ <span class="tracklist__num">06</span>+ <span class="tracklist__title">Light Out <small>Margot Half-Step</small></span>+ <span class="tracklist__dur">5:06</span>+ </li>+ </ol>+ </div>+ </section>++ <!-- ─── Formats — buy block ─── -->+ <section class="shell formats" id="formats" aria-labelledby="formats-title">+ <header class="formats__head">+ <h2 id="formats-title">Pick a <em>format.</em></h2>+ <div class="formats__divider" aria-hidden="true">+ <span>◆ ◆ ◆</span>+ </div>+ </header>++ <div class="formats__grid">+ <article class="format">+ <span class="format__tag">500 only</span>+ <h3 class="format__title">Vinyl 12"</h3>+ <p class="format__copy">180-gram black vinyl, hand-numbered inner sleeve, jacket art screen-printed by Brickyard. Ships in a stiffener mailer because we have all opened a bent jacket before.</p>+ <p class="format__price">$28 <small>shipping included</small></p>+ <a class="format__btn" href="#">Pre-order vinyl →</a>+ </article>++ <article class="format">+ <span class="format__tag" style="background: var(--color-accent-2); color: var(--color-paper);">200 only</span>+ <h3 class="format__title">Cassette</h3>+ <p class="format__copy">Pink shell, oxblood label, type-set on a Brother on the kitchen table. Includes a download code on a printed insert because the cassette is for the shelf.</p>+ <p class="format__price">$14 <small>shipping included</small></p>+ <a class="format__btn" href="#">Pre-order tape →</a>+ </article>++ <article class="format">+ <span class="format__tag">Stream</span>+ <h3 class="format__title">Digital</h3>+ <p class="format__copy">Spotify, Apple, Tidal, Bandcamp on release day. Buy through Bandcamp if you can; we keep more of it. We will tell you the streaming numbers in May regardless.</p>+ <p class="format__price">$8 <small>or stream free</small></p>+ <a class="format__btn" href="#">Buy on Bandcamp →</a>+ </article>+ </div>+ </section>++ <!-- ─── Manifesto — short loud block ─── -->+ <section class="manifesto" id="manifesto" aria-labelledby="manifesto-title">+ <div class="shell manifesto__inner">+ <p class="manifesto__sub">Brickyard Tapes · Est. 2017</p>+ <h2 id="manifesto-title" class="manifesto__head">+ We press <span class="word--accent">records.</span> That's it.+ </h2>+ <p class="manifesto__ornaments" aria-hidden="true">✱ ❋ ◆ ❋ ✱</p>+ </div>+ </section>+ </main>++ <!-- ─── Footer — Ft8 marquee + label info ─── -->+ <footer class="foot">+ <div class="foot__marquee" role="presentation" aria-hidden="true">+ <div class="marquee__track">+ <span>NEW EP <span class="orn">◆</span> OUT 14 MARCH <span class="orn">◆</span> WWW.BRICKYARDTAPES.COM <span class="orn">◆</span> SIGNED VINYL WHILE THEY LAST <span class="orn">◆</span></span>+ <span>NEW EP <span class="orn">◆</span> OUT 14 MARCH <span class="orn">◆</span> WWW.BRICKYARDTAPES.COM <span class="orn">◆</span> SIGNED VINYL WHILE THEY LAST <span class="orn">◆</span></span>+ </div>+ </div>++ <div class="shell foot__body">+ <div>+ <h2 class="foot__head">Brickyard <span class="orn" aria-hidden="true">◆</span> Tapes</h2>+ <p class="foot__copy">Independent. Detroit-based. We sign three artists a year and we press records for them. Eight years in.</p>+ </div>++ <div class="foot__col">+ <h3>Catalog</h3>+ <ul class="foot__list">+ <li><a href="#">All releases</a></li>+ <li><a href="#">Vinyl</a></li>+ <li><a href="#">Cassettes</a></li>+ <li><a href="#">Bandcamp</a></li>+ </ul>+ </div>++ <div class="foot__col">+ <h3>Label</h3>+ <ul class="foot__list">+ <li><a href="#">Artists</a></li>+ <li><a href="#">Demos open</a></li>+ <li><a href="#">Press kit</a></li>+ <li><a href="#">Contact</a></li>+ </ul>+ </div>++ <div class="foot__meta">+ <strong>Brickyard Tapes</strong><br />+ 2438 Trumbull Ave<br />+ Detroit, MI 48216<br />+ <br />+ Est. 2017 · 78 releases<br />+ © MMXXV+ </div>+ </div>+ </footer>++</body>+</html>diff --git a/site/examples/carnival-01/styles.css b/site/examples/carnival-01/styles.cssnew file mode 100644index 0000000..a6a7616--- /dev/null+++ b/site/examples/carnival-01/styles.css@@ -0,0 +1,720 @@+/* Carnival-01 · Brickyard Tapes — page styles+ * Marquee Hero macrostructure · all seven Carnival signatures applied:+ * 1. Duo-tone accent alternating sections (mustard / oxblood)+ * 2. Decorative ornaments (✱ ❋ ◆)+ * 3. Layered colour blocks bleeding off page edge+ * 4. Hard-offset shadow on every card and CTA (4px 4px 0 ink)+ * 5. ALL CAPS Big Shoulders with width-axis variable+ * 6. Halftone CSS dot-pattern image placeholders+ * 7. Marquee scroll banners (top + footer)+ */++*, *::before, *::after { box-sizing: border-box; }++html, body {+ margin: 0;+ background: var(--color-paper);+ color: var(--color-ink);+ font-family: var(--font-body);+ font-size: var(--text-base);+ line-height: var(--lh-normal);+ -webkit-font-smoothing: antialiased;+}++body {+ overflow-x: hidden;+}++a { color: inherit; text-decoration: none; }+img { max-width: 100%; display: block; }++.sr-only {+ position: absolute; width: 1px; height: 1px;+ padding: 0; margin: -1px; overflow: hidden;+ clip: rect(0,0,0,0); white-space: nowrap; border: 0;+}+.sr-only:focus-visible {+ position: fixed; top: var(--space-md); left: var(--space-md);+ width: auto; height: auto; clip: auto;+ padding: var(--space-xs) var(--space-md); background: var(--color-ink);+ color: var(--color-paper); border-radius: 4px; z-index: 999;+}++.shell {+ max-width: var(--page-max);+ margin-inline: auto;+ padding-inline: var(--page-gutter);+}++/* — Display helpers ----------------------------------------------- */+.dsp {+ font-family: var(--font-display);+ font-weight: 800;+ font-variation-settings: "wdth" 110, "wght" 800;+ text-transform: uppercase;+ letter-spacing: var(--tracking-display);+ line-height: var(--lh-tight);+}++.mono {+ font-family: var(--font-label);+ text-transform: uppercase;+ letter-spacing: var(--tracking-label);+ font-size: var(--text-xs);+}++.orn {+ color: var(--color-accent-2);+ font-style: normal;+ display: inline-block;+}++/* ─────────────────────────────────────────────────────────────────+ NAV — N7 brutal slab: heavy wordmark, uppercase links, 2px border+ ───────────────────────────────────────────────────────────────── */++.nav {+ position: sticky; top: 0;+ background: var(--color-ink);+ color: var(--color-paper);+ border-bottom: 2px solid var(--color-ink);+ z-index: var(--z-sticky-nav);+}+.nav__inner {+ display: flex;+ align-items: center;+ justify-content: space-between;+ gap: var(--space-md);+ height: var(--banner-height);+}+.nav__wordmark {+ font-family: var(--font-display);+ font-weight: 800;+ font-variation-settings: "wdth" 110;+ font-size: var(--text-lg);+ text-transform: uppercase;+ letter-spacing: 0.04em;+ color: var(--color-paper);+ display: inline-flex;+ align-items: baseline;+ gap: 0.4em;+}+.nav__wordmark .orn { color: var(--color-accent); }++.nav__links {+ display: flex;+ list-style: none;+ margin: 0; padding: 0;+ gap: var(--space-lg);+ font-family: var(--font-label);+ text-transform: uppercase;+ letter-spacing: var(--tracking-label);+ font-size: var(--text-xs);+}+.nav__links a { color: oklch(94% 0.014 60); transition: color var(--dur-micro); }+.nav__links a:hover { color: var(--color-accent); }+.nav__links a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; }++.nav__cta {+ background: var(--color-accent);+ color: var(--color-ink);+ font-family: var(--font-display);+ font-weight: 800;+ font-variation-settings: "wdth" 110;+ text-transform: uppercase;+ letter-spacing: 0.05em;+ font-size: var(--text-sm);+ padding: 0.45em 1em;+ border: 2px solid var(--color-ink);+ box-shadow: 3px 3px 0 var(--color-accent-2);+ transition: transform var(--dur-short) var(--ease-out),+ box-shadow var(--dur-short) var(--ease-out);+}+.nav__cta:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--color-accent-2); }++/* ─────────────────────────────────────────────────────────────────+ HERO — H1 Marquee: huge word + marquee strip below+ ───────────────────────────────────────────────────────────────── */++.hero {+ padding-top: var(--space-2xl);+ padding-bottom: var(--space-md);+ position: relative;+ overflow: hidden;+}+.hero__eyebrow {+ font-family: var(--font-label);+ text-transform: uppercase;+ letter-spacing: var(--tracking-label);+ font-size: var(--text-sm);+ margin: 0 0 var(--space-md);+ color: var(--color-accent-2);+ display: flex;+ align-items: center;+ gap: var(--space-sm);+}+.hero__eyebrow::after {+ content: "";+ flex: 1;+ height: 2px;+ background: var(--color-accent-2);+ max-width: 14rem;+}++.hero__word {+ font-family: var(--font-display);+ font-weight: 800;+ font-variation-settings: "wdth" 110, "wght" 800;+ font-size: var(--text-marquee);+ line-height: 0.82;+ letter-spacing: -0.005em;+ margin: 0;+ text-transform: uppercase;+ color: var(--color-ink);+}+.hero__word .word--accent {+ color: var(--color-accent);+ -webkit-text-stroke: 2px var(--color-ink);+ paint-order: stroke fill;+}++.hero__meta {+ display: grid;+ grid-template-columns: minmax(0, 1fr);+ gap: var(--space-lg);+ margin-top: var(--space-xl);+ padding-top: var(--space-md);+ border-top: 2px solid var(--color-ink);+ font-family: var(--font-label);+ text-transform: uppercase;+ letter-spacing: var(--tracking-label);+ font-size: var(--text-xs);+}+@media (min-width: 720px) {+ .hero__meta { grid-template-columns: repeat(4, minmax(0, 1fr)); }+}+.hero__meta dt {+ color: var(--color-muted);+ margin-bottom: 0.25em;+}+.hero__meta dd {+ margin: 0;+ font-family: var(--font-display);+ font-weight: 800;+ font-variation-settings: "wdth" 110;+ font-size: var(--text-md);+ letter-spacing: 0.03em;+ color: var(--color-ink);+}++/* — Marquee strip below hero (signature #7) ----------------------- */+.marquee {+ background: var(--color-accent);+ color: var(--color-ink);+ border-top: 2px solid var(--color-ink);+ border-bottom: 2px solid var(--color-ink);+ overflow: hidden;+ padding-block: 0.65em;+ font-family: var(--font-display);+ font-weight: 800;+ font-variation-settings: "wdth" 110;+ font-size: clamp(1.5rem, 3vw + 0.5rem, 2.75rem);+ text-transform: uppercase;+ letter-spacing: 0.04em;+}+.marquee__track {+ display: inline-flex;+ gap: var(--space-lg);+ animation: scroll-left var(--dur-marquee) linear infinite;+ white-space: nowrap;+ will-change: transform;+}+.marquee__track > span {+ display: inline-flex;+ align-items: center;+ gap: var(--space-lg);+}+.marquee__track .orn {+ color: var(--color-accent-2);+ font-size: 0.7em;+}+@keyframes scroll-left {+ from { transform: translateX(0); }+ to { transform: translateX(-50%); }+}++/* ─────────────────────────────────────────────────────────────────+ ARTISTS — duo-tone alternating sections (signature #1)+ ───────────────────────────────────────────────────────────────── */++.artists {+ padding-block: var(--space-3xl);+ display: grid;+ gap: var(--space-2xl);+}++.artist {+ position: relative;+ padding: var(--space-2xl);+ border: 2px solid var(--color-ink);+ box-shadow: 6px 6px 0 var(--color-ink);+ display: grid;+ grid-template-columns: minmax(0, 1fr);+ gap: var(--space-xl);+ align-items: center;+}+@media (min-width: 760px) {+ .artist { grid-template-columns: 12rem minmax(0, 1fr) auto; gap: var(--space-2xl); }+}++.artist--mustard { background: var(--color-accent); color: var(--color-accent-ink); }+.artist--oxblood { background: var(--color-accent-2); color: var(--color-paper); }+.artist--oxblood .artist__num { color: var(--color-accent); }+.artist--oxblood .artist__name { color: var(--color-paper); }+.artist--oxblood .artist__sub { color: oklch(86% 0.045 50); }+.artist--oxblood .halftone { background-image: radial-gradient(var(--color-paper) 1.5px, transparent 1.5px); }++.artist__art {+ width: 100%;+ aspect-ratio: 1 / 1;+ border: 2px solid var(--color-ink);+ position: relative;+ overflow: hidden;+}+.halftone {+ position: absolute; inset: 0;+ background-image: radial-gradient(var(--color-ink) 1.5px, transparent 1.5px);+ background-size: 10px 10px;+ background-position: 0 0;+}+.halftone--dense { background-size: 7px 7px; }++.artist__num {+ font-family: var(--font-display);+ font-weight: 800;+ font-variation-settings: "wdth" 130;+ font-size: var(--text-2xl);+ line-height: 1;+ color: var(--color-accent-2);+ margin: 0 0 var(--space-xs);+ letter-spacing: 0.02em;+}+.artist__name {+ font-family: var(--font-display);+ font-weight: 800;+ font-variation-settings: "wdth" 110;+ font-size: var(--text-3xl);+ text-transform: uppercase;+ letter-spacing: 0.02em;+ line-height: 0.92;+ margin: 0 0 var(--space-sm);+ color: var(--color-ink);+}+.artist__sub {+ font-family: var(--font-label);+ text-transform: uppercase;+ letter-spacing: var(--tracking-label);+ font-size: var(--text-xs);+ color: var(--color-ink-2);+ margin: 0 0 var(--space-md);+}+.artist__copy {+ font-size: var(--text-md);+ line-height: var(--lh-normal);+ margin: 0;+ max-width: 38ch;+}++.artist__track {+ display: flex;+ align-items: center;+ flex-direction: column;+ gap: var(--space-xs);+ padding: var(--space-md);+ background: var(--color-paper);+ color: var(--color-ink);+ border: 2px solid var(--color-ink);+ min-width: 10rem;+ text-align: center;+}+.artist__track .mono { color: var(--color-muted); }+.artist__track .title {+ font-family: var(--font-display);+ font-weight: 800;+ font-variation-settings: "wdth" 110;+ font-size: var(--text-md);+ text-transform: uppercase;+ letter-spacing: 0.02em;+}+.artist__track .dur { font-family: var(--font-label); font-size: var(--text-base); }++/* ─────────────────────────────────────────────────────────────────+ TRACKLIST — numbered with ornaments+ ───────────────────────────────────────────────────────────────── */++.tracklist {+ padding-block: var(--space-3xl);+ border-top: 2px solid var(--color-ink);+ border-bottom: 2px solid var(--color-ink);+ background: var(--color-paper-2);+ position: relative;+}+.tracklist__inner {+ display: grid;+ grid-template-columns: minmax(0, 1fr);+ gap: var(--space-2xl);+}+@media (min-width: 820px) {+ .tracklist__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: var(--space-3xl); }+}++.tracklist__head h2 {+ font-family: var(--font-display);+ font-weight: 800;+ font-variation-settings: "wdth" 130, "wght" 800;+ font-size: var(--text-display);+ text-transform: uppercase;+ letter-spacing: 0.02em;+ line-height: 0.86;+ margin: 0 0 var(--space-md);+ color: var(--color-ink);+}+.tracklist__head .orn { color: var(--color-accent-2); font-size: 0.7em; vertical-align: middle; }+.tracklist__head p {+ margin: 0;+ max-width: 30ch;+ font-size: var(--text-md);+ line-height: var(--lh-normal);+}++.tracklist__list {+ list-style: none;+ margin: 0; padding: 0;+ display: grid;+ gap: var(--space-md);+}+.tracklist__list li {+ display: grid;+ grid-template-columns: 3rem minmax(0, 1fr) auto;+ align-items: center;+ gap: var(--space-md);+ padding-block: var(--space-sm);+ border-bottom: 2px solid var(--color-ink);+}+.tracklist__list li:last-child { border-bottom: 2px solid var(--color-ink); }+.tracklist__num {+ font-family: var(--font-display);+ font-weight: 800;+ font-variation-settings: "wdth" 130;+ font-size: var(--text-xl);+ color: var(--color-accent-2);+ letter-spacing: 0.02em;+}+.tracklist__title {+ font-family: var(--font-display);+ font-weight: 800;+ font-variation-settings: "wdth" 110;+ font-size: var(--text-lg);+ text-transform: uppercase;+ letter-spacing: 0.02em;+ color: var(--color-ink);+}+.tracklist__title small {+ display: block;+ font-family: var(--font-label);+ font-size: var(--text-xs);+ letter-spacing: var(--tracking-label);+ color: var(--color-muted);+ margin-top: 0.2em;+ font-weight: 500;+}+.tracklist__dur {+ font-family: var(--font-label);+ font-size: var(--text-sm);+ color: var(--color-ink-2);+}++/* ─────────────────────────────────────────────────────────────────+ FORMATS — buy block with three options+ ───────────────────────────────────────────────────────────────── */++.formats {+ padding-block: var(--space-3xl);+}+.formats__head {+ display: flex;+ flex-direction: column;+ gap: var(--space-md);+ margin-bottom: var(--space-2xl);+}+.formats__head h2 {+ font-family: var(--font-display);+ font-weight: 800;+ font-variation-settings: "wdth" 130;+ font-size: var(--text-display);+ text-transform: uppercase;+ letter-spacing: 0.02em;+ line-height: 0.86;+ margin: 0;+ color: var(--color-ink);+}+.formats__head h2 em {+ font-style: normal;+ color: var(--color-accent-2);+}+.formats__divider {+ display: flex;+ align-items: center;+ gap: var(--space-sm);+ font-size: 1.5rem;+ color: var(--color-accent-2);+}+.formats__divider::after {+ content: "";+ flex: 1;+ height: 2px;+ background: var(--color-ink);+}++.formats__grid {+ display: grid;+ grid-template-columns: minmax(0, 1fr);+ gap: var(--space-xl);+}+@media (min-width: 720px) {+ .formats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }+}++.format {+ background: var(--color-paper);+ border: 2px solid var(--color-ink);+ box-shadow: 6px 6px 0 var(--color-ink);+ padding: var(--space-xl);+ display: flex;+ flex-direction: column;+ gap: var(--space-md);+ position: relative;+ transition: transform var(--dur-short) var(--ease-out),+ box-shadow var(--dur-short) var(--ease-out);+}+.format:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--color-accent-2); }++.format__tag {+ position: absolute;+ top: -12px; right: 12px;+ background: var(--color-accent);+ border: 2px solid var(--color-ink);+ padding: 0.18em 0.65em;+ font-family: var(--font-label);+ text-transform: uppercase;+ letter-spacing: var(--tracking-label);+ font-size: var(--text-xs);+ color: var(--color-ink);+ font-weight: 700;+}+.format__title {+ font-family: var(--font-display);+ font-weight: 800;+ font-variation-settings: "wdth" 110;+ font-size: var(--text-2xl);+ text-transform: uppercase;+ letter-spacing: 0.02em;+ line-height: 0.9;+ margin: 0;+}+.format__copy {+ margin: 0;+ font-size: var(--text-base);+ line-height: var(--lh-normal);+}+.format__price {+ display: flex;+ align-items: baseline;+ gap: var(--space-xs);+ font-family: var(--font-display);+ font-weight: 800;+ font-variation-settings: "wdth" 130;+ font-size: var(--text-2xl);+ color: var(--color-accent-2);+ letter-spacing: -0.02em;+ margin-top: auto;+}+.format__price small {+ font-size: var(--text-sm);+ font-family: var(--font-label);+ color: var(--color-muted);+ letter-spacing: var(--tracking-label);+ font-weight: 500;+}+.format__btn {+ display: inline-flex;+ align-items: center;+ justify-content: center;+ gap: 0.4em;+ font-family: var(--font-display);+ font-weight: 800;+ font-variation-settings: "wdth" 110;+ text-transform: uppercase;+ letter-spacing: 0.05em;+ font-size: var(--text-base);+ background: var(--color-ink);+ color: var(--color-paper);+ padding: 0.7em 1em;+ border: 2px solid var(--color-ink);+ transition: background var(--dur-short) var(--ease-out),+ color var(--dur-short) var(--ease-out);+}+.format__btn:hover {+ background: var(--color-accent);+ color: var(--color-ink);+}+.format__btn:focus-visible {+ outline: 3px solid var(--color-accent-2);+ outline-offset: 3px;+}++/* ─────────────────────────────────────────────────────────────────+ MANIFESTO — short loud block+ ───────────────────────────────────────────────────────────────── */++.manifesto {+ background: var(--color-ink);+ color: var(--color-paper);+ padding-block: var(--space-3xl);+ position: relative;+}+.manifesto__inner {+ display: flex;+ flex-direction: column;+ align-items: center;+ gap: var(--space-lg);+ text-align: center;+}+.manifesto__head {+ font-family: var(--font-display);+ font-weight: 800;+ font-variation-settings: "wdth" 130;+ font-size: clamp(2.5rem, 6vw + 1rem, 5.5rem);+ text-transform: uppercase;+ letter-spacing: 0.02em;+ line-height: 0.86;+ margin: 0;+ text-wrap: balance;+ max-width: 18ch;+}+.manifesto__head .word--accent { color: var(--color-accent); }+.manifesto__sub {+ font-family: var(--font-label);+ text-transform: uppercase;+ letter-spacing: var(--tracking-label);+ font-size: var(--text-sm);+ color: var(--color-accent);+ margin: 0;+}+.manifesto__ornaments {+ color: var(--color-accent);+ font-size: 1.3rem;+ letter-spacing: 1em;+ margin-top: var(--space-sm);+ user-select: none;+}++/* ─────────────────────────────────────────────────────────────────+ FOOTER — Ft8 marquee scroll + label info+ ───────────────────────────────────────────────────────────────── */++.foot {+ background: var(--color-paper);+ border-top: 2px solid var(--color-ink);+}+.foot__marquee {+ background: var(--color-accent-2);+ color: var(--color-paper);+ border-bottom: 2px solid var(--color-ink);+ overflow: hidden;+ padding-block: 0.55em;+ font-family: var(--font-display);+ font-weight: 800;+ font-variation-settings: "wdth" 110;+ font-size: clamp(1.25rem, 2vw + 0.5rem, 1.875rem);+ text-transform: uppercase;+ letter-spacing: 0.04em;+}+.foot__marquee .marquee__track .orn { color: var(--color-accent); }++.foot__body {+ display: grid;+ grid-template-columns: minmax(0, 1fr);+ gap: var(--space-2xl);+ padding-block: var(--space-2xl);+}+@media (min-width: 820px) {+ .foot__body { grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) auto; gap: var(--space-2xl); align-items: start; }+}+.foot__head {+ font-family: var(--font-display);+ font-weight: 800;+ font-variation-settings: "wdth" 130;+ font-size: var(--text-2xl);+ text-transform: uppercase;+ letter-spacing: 0.02em;+ margin: 0 0 var(--space-md);+ line-height: 0.9;+}+.foot__copy {+ margin: 0;+ max-width: 32ch;+ font-size: var(--text-base);+ line-height: var(--lh-normal);+}+.foot__col h3 {+ font-family: var(--font-label);+ text-transform: uppercase;+ letter-spacing: var(--tracking-label);+ font-size: var(--text-xs);+ color: var(--color-muted);+ margin: 0 0 var(--space-md);+ font-weight: 500;+}+.foot__list {+ list-style: none;+ padding: 0; margin: 0;+ display: grid;+ gap: var(--space-sm);+}+.foot__list a {+ font-family: var(--font-display);+ font-weight: 800;+ font-variation-settings: "wdth" 110;+ text-transform: uppercase;+ letter-spacing: 0.02em;+ font-size: var(--text-md);+ color: var(--color-ink);+ transition: color var(--dur-micro);+}+.foot__list a:hover { color: var(--color-accent-2); }++.foot__meta {+ font-family: var(--font-label);+ text-transform: uppercase;+ letter-spacing: var(--tracking-label);+ font-size: var(--text-xs);+ color: var(--color-muted);+ line-height: var(--lh-relaxed);+}+.foot__meta strong { color: var(--color-ink); font-weight: 700; }++/* ─────────────────────────────────────────────────────────────────+ Reduced motion+ ───────────────────────────────────────────────────────────────── */++@media (prefers-reduced-motion: reduce) {+ .marquee__track,+ .foot__marquee .marquee__track {+ animation: none;+ transform: translateX(0);+ }+ * {+ transition-duration: 0.01ms !important;+ }+}diff --git a/site/examples/carnival-01/tokens.css b/site/examples/carnival-01/tokens.cssnew file mode 100644index 0000000..7ddd300--- /dev/null+++ b/site/examples/carnival-01/tokens.css@@ -0,0 +1,99 @@+/* Hallmark · macrostructure: Marquee Hero · H1 hero knobs: word=COLD SNAP, scale=max, marquee-below=yes+ * theme: Carnival (catalog) · paper: oklch(92% 0.045 50) · accent: oklch(86% 0.18 95) + oklch(40% 0.21 25)+ * display: Big Shoulders Display 800 (width axis) · body: DM Sans · labels: JetBrains Mono all-caps+ * axes: light / display-heavy / warm+ * nav: N7 brutal-slab · footer: Ft8 marquee scroll+ * brief: "An independent record label dropping a new EP."+ * v1.0.0+ */++:root {+ color-scheme: light;++ /* — Type ---------------------------------------------------------- */+ --font-display: "Big Shoulders Display", "Druk Wide", "Anton", ui-sans-serif, sans-serif;+ --font-body: "DM Sans", "Inter Tight", ui-sans-serif, system-ui, sans-serif;+ --font-label: "JetBrains Mono", ui-monospace, monospace;++ /* — Type scale (Carnival runs LARGE on display) ------------------- */+ --text-xs: 0.75rem;+ --text-sm: 0.875rem;+ --text-base: 1rem;+ --text-md: 1.125rem;+ --text-lg: 1.375rem;+ --text-xl: 1.875rem;+ --text-2xl: 2.5rem;+ --text-3xl: 3.5rem;+ --text-marquee: clamp(5rem, 16vw + 1rem, 16rem); /* hero word */+ --text-display: clamp(3rem, 7vw + 1rem, 7rem);+ --text-display-s: clamp(2rem, 4vw + 0.5rem, 3.5rem);++ --display-weight: 800;+ --display-width: 110;+ --display-style: normal;++ --lh-tight: 0.85;+ --lh-snug: 1.0;+ --lh-normal: 1.4;+ --lh-relaxed: 1.55;++ --tracking-display: 0.04em; /* tracked uppercase poster */+ --tracking-tight: -0.01em;+ --tracking-normal: 0;+ --tracking-label: 0.18em;++ /* — Colour (Carnival palette) ------------------------------------- */+ --color-paper: oklch(92% 0.045 50); /* warm pink-cream */+ --color-paper-2: oklch(88% 0.050 45);+ --color-paper-3: oklch(82% 0.060 40);+ --color-rule: oklch(40% 0.18 25); /* OXBLOOD rules (decorative) */+ --color-rule-2: oklch(18% 0.08 20);+ --color-muted: oklch(45% 0.05 30);+ --color-neutral: oklch(35% 0.06 25);+ --color-ink-2: oklch(28% 0.060 25);+ --color-ink: oklch(18% 0.080 20); /* deep oxblood / aubergine */+ --color-accent: oklch(86% 0.18 95); /* mustard / sun yellow */+ --color-accent-2: oklch(40% 0.21 25); /* deep oxblood-red */+ --color-accent-ink: oklch(18% 0.080 20); /* ink on yellow */+ --color-focus: oklch(40% 0.21 25);++ /* — Spacing ------------------------------------------------------- */+ --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;++ --section-gap: 5rem;+ --section-head-gap: 1.25rem;++ --page-max: 78rem;+ --page-gutter: clamp(1rem, 3.5vw, 2.5rem);+ --measure: 58ch;++ --rule-hair: 0.5px;+ --rule-fine: 2px;+ --radius-card: 8px;+ --radius-pill: 999px;+ --rule-card: 2px;+ --shadow-card: 4px 4px 0 oklch(18% 0.08 20);++ /* — Motion -------------------------------------------------------- */+ --ease-out: cubic-bezier(0.16, 1, 0.3, 1);+ --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);+ --dur-micro: 120ms;+ --dur-short: 240ms;+ --dur-long: 440ms;+ --dur-marquee: 32s;++ --z-base: 1;+ --z-raised: 10;+ --z-sticky-nav: 300;++ --banner-height: 48px;+}diff --git a/site/examples/cobalt-01/index.html b/site/examples/cobalt-01/index.htmlnew file mode 100644index 0000000..21f4fa6--- /dev/null+++ b/site/examples/cobalt-01/index.html@@ -0,0 +1,383 @@+<!doctype html>+<html lang="en" data-theme="cobalt">+<head>+ <meta charset="utf-8" />+ <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />+ <title>Distil — Turn any website into clean Markdown for LLMs.</title>+ <meta name="description" content="Distil is an API that fetches any URL and returns clean, LLM-ready Markdown — boilerplate stripped, main content only. One POST, structured output, built for RAG pipelines and agents." />+ <meta name="theme-color" content="#f6f7f9" />++ <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=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet" />++ <link rel="stylesheet" href="tokens.css" />+ <link rel="stylesheet" href="styles.css" />+</head>+<body>+ <a class="skip-link" href="#main">Skip to content</a>++ <!-- ─── Nav · cool dev-tool bar · single hairline under · ⌘K + cobalt CTA ─── -->+ <header class="nav" id="nav">+ <div class="nav__inner">+ <a class="nav__brand" href="#" aria-label="Distil — home">+ <span class="nav__mark" aria-hidden="true"></span>+ Distil+ </a>++ <nav class="nav__links" aria-label="Primary">+ <a href="#docs">Docs</a>+ <a href="#pricing">Pricing</a>+ <a href="#changelog">Changelog</a>+ </nav>++ <div class="nav__right">+ <button class="cmdk" type="button" id="cmdk-trigger" aria-label="Search documentation" aria-keyshortcuts="Meta+K Control+K" aria-haspopup="dialog" aria-expanded="false" aria-controls="palette">+ <span class="cmdk__label">Search</span>+ <kbd class="cmdk__keys"><span>⌘</span>K</kbd>+ </button>+ <a class="btn btn--accent" href="#pricing">Get API key</a>+ </div>+ </div>+ </header>++ <main id="main">++ <!-- ─── Hero · text LEFT, live API request/response RIGHT · asymmetric ─── -->+ <section class="hero" aria-labelledby="hero-title">+ <div class="hero__copy">+ <p class="eyebrow reveal" style="--i:0">+ <span class="eyebrow__dot" aria-hidden="true"></span> Content extraction API+ </p>+ <h1 class="hero__title reveal" id="hero-title" style="--i:1">+ Any URL in. Clean Markdown out.+ </h1>+ <p class="hero__lede reveal" style="--i:2">+ Distil fetches a page, renders the JavaScript, strips nav, ads and+ chrome, and hands back the main content as tidy Markdown your model+ can actually read. One <code>POST</code> — structured, deterministic,+ ready for retrieval.+ </p>+ <div class="hero__cta reveal" style="--i:3">+ <a class="btn btn--accent btn--lg" href="#pricing">Get an API key</a>+ <a class="link-arrow" href="#docs">Read the docs <span aria-hidden="true">→</span></a>+ </div>+ <p class="hero__meta reveal" style="--i:4">+ No credit card · 1,000 free pages · <code>p50 1.4s</code> per fetch+ </p>+ </div>++ <!-- The wow — a request card + a response card on graphite -->+ <div class="demo reveal" style="--i:2" aria-label="Example API request and response">+ <figure class="code-card code-card--req">+ <figcaption class="code-card__bar">+ <span class="code-card__dots" aria-hidden="true"><i></i><i></i><i></i></span>+ <span class="code-card__file">request.sh</span>+ </figcaption>+ <pre class="code"><code><span class="c-dim">$</span> <span class="c-fn">curl</span> https://api.distil.dev/v1/extract \+ <span class="c-flag">-H</span> <span class="c-str">"Authorization: Bearer $DISTIL_KEY"</span> \+ <span class="c-flag">-H</span> <span class="c-str">"Content-Type: application/json"</span> \+ <span class="c-flag">-X</span> <span class="c-method">POST</span> <span class="c-flag">-d</span> <span class="c-punc">'{</span>+ <span class="c-key">"url"</span><span class="c-punc">:</span> <span class="c-str">"https://example.com/blog/rag-tips"</span><span class="c-punc">,</span>+ <span class="c-key">"format"</span><span class="c-punc">:</span> <span class="c-str">"markdown"</span><span class="c-punc">,</span>+ <span class="c-key">"main_only"</span><span class="c-punc">:</span> <span class="c-bool">true</span>+ <span class="c-punc">}'</span></code></pre>+ </figure>++ <figure class="code-card code-card--res">+ <figcaption class="code-card__bar">+ <span class="code-card__file code-card__file--res">response.json</span>+ <span class="status-chip"><span class="status-chip__dot" aria-hidden="true"></span>200 OK</span>+ </figcaption>+ <pre class="code"><code><span class="c-punc">{</span>+ <span class="c-key">"title"</span><span class="c-punc">:</span> <span class="c-str">"Seven RAG tips"</span><span class="c-punc">,</span>+ <span class="c-key">"word_count"</span><span class="c-punc">:</span> <span class="c-num">2184</span><span class="c-punc">,</span>+ <span class="c-key">"markdown"</span><span class="c-punc">:</span> <span class="c-str">"# Seven RAG tips</span><span class="type" data-type="\n\n## 1. Chunk on headings, not bytes\n\nSplit"></span><span class="c-cursor" aria-hidden="true"></span><span class="c-str">..."</span>+<span class="c-punc">}</span></code></pre>+ </figure>+ </div>+ </section>++ <!-- ─── Quick-start strip · one install line + trusted-by · thin hairline band ─── -->+ <section class="strip" aria-label="Quick start and customers">+ <div class="strip__install reveal" style="--i:0">+ <span class="strip__label">Install</span>+ <code class="strip__cmd"><span class="c-dim">$</span> npm i <span class="c-accent">@distil/sdk</span></code>+ <button class="strip__copy" type="button" aria-label="Copy install command">Copy</button>+ </div>+ <div class="strip__trust reveal" style="--i:1">+ <span class="strip__label">Powering retrieval at</span>+ <ul class="trust">+ <li>Meridian AI</li>+ <li>Halcyon Labs</li>+ <li>Northwind</li>+ <li>Corvus</li>+ <li>Lumen Stack</li>+ </ul>+ </div>+ </section>++ <!-- ─── Features · ASYMMETRIC — one wide code example + two narrow text points ─── -->+ <section class="features" id="docs" aria-labelledby="features-title">+ <header class="features__head">+ <p class="eyebrow reveal" style="--i:0">+ <span class="eyebrow__dot" aria-hidden="true"></span> Built for pipelines+ </p>+ <h2 class="features__title reveal" id="features-title" style="--i:1">+ The boilerplate problem, solved at the API.+ </h2>+ <p class="features__lede reveal" style="--i:2">+ You don’t want raw HTML in your context window. Distil returns the+ part that matters — and tells you exactly what it kept.+ </p>+ </header>++ <div class="features__grid">+ <!-- wide: a worked SDK example -->+ <article class="feature feature--wide reveal" style="--i:0">+ <div class="feature__text">+ <p class="feature__kicker">Typed SDK</p>+ <h3 class="feature__title">Five lines to a clean document.</h3>+ <p class="feature__body">+ Point the client at a URL and stream structured Markdown straight+ into your splitter. Retries, render-wait and rate limits are+ handled for you.+ </p>+ </div>+ <figure class="code-card code-card--inline">+ <figcaption class="code-card__bar">+ <span class="code-card__dots" aria-hidden="true"><i></i><i></i><i></i></span>+ <span class="code-card__file">ingest.ts</span>+ </figcaption>+ <pre class="code"><code><span class="c-kw">import</span> <span class="c-punc">{</span> Distil <span class="c-punc">}</span> <span class="c-kw">from</span> <span class="c-str">"@distil/sdk"</span><span class="c-punc">;</span>++<span class="c-kw">const</span> distil <span class="c-punc">=</span> <span class="c-kw">new</span> <span class="c-fn">Distil</span><span class="c-punc">(</span>process.env.<span class="c-key">DISTIL_KEY</span><span class="c-punc">);</span>++<span class="c-kw">const</span> doc <span class="c-punc">=</span> <span class="c-kw">await</span> distil.<span class="c-fn">extract</span><span class="c-punc">(</span><span class="c-punc">{</span>+ <span class="c-key">url</span><span class="c-punc">:</span> <span class="c-str">"https://example.com/docs"</span><span class="c-punc">,</span>+ <span class="c-key">format</span><span class="c-punc">:</span> <span class="c-str">"markdown"</span><span class="c-punc">,</span>+ <span class="c-key">render</span><span class="c-punc">:</span> <span class="c-str">"auto"</span><span class="c-punc">,</span> <span class="c-comment">// wait for JS only if needed</span>+<span class="c-punc">});</span>++index.<span class="c-fn">add</span><span class="c-punc">(</span>doc.<span class="c-key">markdown</span><span class="c-punc">);</span> <span class="c-comment">// straight into your vector store</span></code></pre>+ </figure>+ </article>++ <!-- narrow text point 1 -->+ <article class="feature feature--point reveal" style="--i:1">+ <span class="feature__num" aria-hidden="true">01</span>+ <h3 class="feature__title">Main content, not the menu.</h3>+ <p class="feature__body">+ A readability model isolates the article body and drops nav, cookie+ banners, footers and related-post rails — so your embeddings learn+ signal, not chrome.+ </p>+ <ul class="feature__list">+ <li>Headings, lists & tables preserved</li>+ <li>Links and image alt-text kept inline</li>+ <li>Scripts, styles & tracking removed</li>+ </ul>+ </article>++ <!-- narrow text point 2 -->+ <article class="feature feature--point reveal" style="--i:2">+ <span class="feature__num" aria-hidden="true">02</span>+ <h3 class="feature__title">Deterministic & observable.</h3>+ <p class="feature__body">+ Same URL, same Markdown — every call returns a content hash, token+ count and the rules that fired, so a re-index is a diff, not a+ guessing game.+ </p>+ <ul class="feature__list">+ <li><code>content_hash</code> on every response</li>+ <li>Token count for your budget</li>+ <li>Webhooks for batch crawls</li>+ </ul>+ </article>+ </div>+ </section>++ <!-- ─── Quickstart band · FULL-BLEED DARK graphite · Cobalt's signature band ─── -->+ <section class="quickstart" aria-labelledby="quickstart-title">+ <div class="quickstart__inner">+ <div class="quickstart__copy">+ <p class="eyebrow eyebrow--dark reveal" style="--i:0">+ <span class="eyebrow__dot" aria-hidden="true"></span> Quickstart+ </p>+ <h2 class="quickstart__title reveal" id="quickstart-title" style="--i:1">+ Live in three lines.+ </h2>+ <p class="quickstart__lede reveal" style="--i:2">+ Install the SDK, point <code>extract</code> at a URL, and read clean+ Markdown back. No headless browser to babysit, no HTML to scrub —+ the happy path is the whole path.+ </p>+ <p class="quickstart__meta reveal" style="--i:3">+ <a class="quickstart__link" href="#docs">Full SDK reference <span aria-hidden="true">→</span></a>+ </p>+ </div>++ <figure class="code-card code-card--quick reveal" style="--i:2">+ <figcaption class="code-card__bar">+ <span class="code-card__dots" aria-hidden="true"><i></i><i></i><i></i></span>+ <span class="code-card__file code-card__file--res">quickstart.ts</span>+ <span class="status-chip"><span class="status-chip__dot" aria-hidden="true"></span>ready</span>+ </figcaption>+ <pre class="code"><code><span class="c-kw">import</span> <span class="c-punc">{</span> extract <span class="c-punc">}</span> <span class="c-kw">from</span> <span class="c-str">"@distil/sdk"</span><span class="c-punc">;</span>++<span class="c-kw">const</span> doc <span class="c-punc">=</span> <span class="c-kw">await</span> <span class="c-fn">extract</span><span class="c-punc">(</span><span class="c-str">"https://example.com/blog/rag-tips"</span><span class="c-punc">);</span>++console.<span class="c-fn">log</span><span class="c-punc">(</span>doc.<span class="c-key">markdown</span><span class="c-punc">);</span> <span class="c-comment">// → "# Seven RAG tips\n\n## 1. Chunk on…"</span></code></pre>+ </figure>+ </div>+ </section>++ <!-- ─── Pricing band · simple, hairline-framed · one cobalt CTA ─── -->+ <section class="pricing" id="pricing" aria-labelledby="pricing-title">+ <div class="pricing__head">+ <p class="eyebrow reveal" style="--i:0">+ <span class="eyebrow__dot" aria-hidden="true"></span> Pricing+ </p>+ <h2 class="pricing__title reveal" id="pricing-title" style="--i:1">+ Pay for pages, not seats.+ </h2>+ <p class="pricing__lede reveal" style="--i:2">+ Metered per successful extraction. Failed fetches are never billed.+ </p>+ </div>++ <div class="plans">+ <article class="plan reveal" style="--i:0">+ <p class="plan__name">Free</p>+ <p class="plan__price"><span class="plan__num">$0</span></p>+ <p class="plan__unit">1,000 pages / month</p>+ <ul class="plan__list">+ <li>Markdown & JSON output</li>+ <li>Auto JS rendering</li>+ <li>Community support</li>+ </ul>+ <a class="btn btn--ghost btn--block" href="#">Start building</a>+ </article>++ <article class="plan plan--feature reveal" style="--i:1">+ <span class="plan__badge">Most teams</span>+ <p class="plan__name">Scale</p>+ <p class="plan__price"><span class="plan__num">$0.0008</span></p>+ <p class="plan__unit">per page · volume tiers</p>+ <ul class="plan__list">+ <li>Everything in Free</li>+ <li>Batch crawl & webhooks</li>+ <li>99.9% uptime SLA</li>+ <li>Priority render queue</li>+ </ul>+ <a class="btn btn--accent btn--block" href="#">Get API key</a>+ </article>++ <article class="plan reveal" style="--i:2">+ <p class="plan__name">Enterprise</p>+ <p class="plan__price"><span class="plan__num">Custom</span></p>+ <p class="plan__unit">dedicated & on-prem</p>+ <ul class="plan__list">+ <li>Private rendering region</li>+ <li>SSO, audit log, DPA</li>+ <li>Solutions engineer</li>+ </ul>+ <a class="btn btn--ghost btn--block" href="#">Talk to us</a>+ </article>+ </div>+ </section>++ </main>++ <!-- ─── Footer · Ft1 mast-headed ─── -->+ <footer class="foot" id="changelog">+ <div class="foot__top">+ <div class="foot__brandcol">+ <a class="foot__brand" href="#" aria-label="Distil — home">+ <span class="nav__mark" aria-hidden="true"></span> Distil+ </a>+ <p class="foot__tagline">Clean Markdown for language models.</p>+ </div>+ <nav class="foot__cols" aria-label="Footer">+ <div class="foot__col">+ <p class="foot__heading">Product</p>+ <a href="#">API reference</a>+ <a href="#">SDKs</a>+ <a href="#">Status</a>+ <a href="#">Changelog</a>+ </div>+ <div class="foot__col">+ <p class="foot__heading">Use cases</p>+ <a href="#">RAG ingestion</a>+ <a href="#">Agents & tools</a>+ <a href="#">Search indexing</a>+ <a href="#">Datasets</a>+ </div>+ <div class="foot__col">+ <p class="foot__heading">Company</p>+ <a href="#">Docs</a>+ <a href="#">Security</a>+ <a href="mailto:[email protected]">Contact</a>+ </div>+ </nav>+ </div>+ <div class="foot__bottom">+ <span>© 2024–2026 Distil, Inc.</span>+ <span class="foot__set">Built in Lisbon & Toronto</span>+ <code class="foot__ver">v1 · api.distil.dev</code>+ </div>+ </footer>++ <!-- ─── Command palette · Cobalt's signature interactive feature · ⌘K / Ctrl+K ─── -->+ <div class="palette" id="palette" hidden>+ <div class="palette__backdrop" data-palette-close></div>+ <div class="palette__panel" role="dialog" aria-modal="true" aria-labelledby="palette-label">+ <h2 class="palette__label" id="palette-label">Command palette</h2>+ <div class="palette__field">+ <span class="palette__prompt" aria-hidden="true">›</span>+ <input+ class="palette__input"+ id="palette-input"+ type="text"+ autocomplete="off"+ autocorrect="off"+ autocapitalize="off"+ spellcheck="false"+ placeholder="Search docs, endpoints…"+ aria-label="Search docs and endpoints"+ aria-controls="palette-list"+ />+ </div>+ <ul class="palette__list" id="palette-list" role="listbox" aria-label="Commands">+ <li class="palette__row" role="option" id="cmd-0" data-cmd="quickstart" aria-selected="true">+ <span class="palette__row-label">Quickstart</span>+ <span class="palette__row-hint">3 lines</span>+ </li>+ <li class="palette__row" role="option" id="cmd-1" data-cmd="api" aria-selected="false">+ <span class="palette__row-label">API reference</span>+ <span class="palette__row-hint">/v1/extract</span>+ </li>+ <li class="palette__row" role="option" id="cmd-2" data-cmd="pricing" aria-selected="false">+ <span class="palette__row-label">Pricing</span>+ <span class="palette__row-hint">per page</span>+ </li>+ <li class="palette__row" role="option" id="cmd-3" data-cmd="key" aria-selected="false">+ <span class="palette__row-label">Get an API key</span>+ <span class="palette__row-hint">free tier</span>+ </li>+ <li class="palette__row" role="option" id="cmd-4" data-cmd="copy" aria-selected="false">+ <span class="palette__row-label">Copy install command</span>+ <span class="palette__row-hint">npm i</span>+ </li>+ </ul>+ <p class="palette__foot" aria-hidden="true">+ <kbd>↑</kbd><kbd>↓</kbd> navigate+ <kbd>↵</kbd> select+ <kbd>esc</kbd> close+ </p>+ </div>+ </div>++ <script src="script.js"></script>+</body>+</html>diff --git a/site/examples/cobalt-01/script.js b/site/examples/cobalt-01/script.jsnew file mode 100644index 0000000..066a027--- /dev/null+++ b/site/examples/cobalt-01/script.js@@ -0,0 +1,225 @@+/* Distil · Cobalt theme — composed, minimal motion.+ * 1) IntersectionObserver reveals (fade + ~10px rise), per-section stagger via --i.+ * 2) The hero response types ONE line in once (~600ms), then static.+ * 3) Nav gains a stronger hairline on scroll.+ * 4) Install line copy affordance.+ * All animation is bypassed under prefers-reduced-motion. */+(function () {+ 'use strict';++ var reduced = window.matchMedia('(prefers-reduced-motion: reduce)').matches;++ /* ─── Nav scroll-frost ─── */+ var nav = document.getElementById('nav');+ if (nav) {+ var ticking = false;+ function onScroll() { nav.classList.toggle('is-scrolled', window.scrollY > 16); ticking = false; }+ window.addEventListener('scroll', function () {+ if (!ticking) { requestAnimationFrame(onScroll); ticking = true; }+ }, { passive: true });+ onScroll();+ }++ /* ─── Copy install command ─── */+ var copyBtn = document.querySelector('.strip__copy');+ if (copyBtn && navigator.clipboard) {+ copyBtn.addEventListener('click', function () {+ navigator.clipboard.writeText('npm i @distil/sdk').then(function () {+ copyBtn.textContent = 'Copied';+ copyBtn.classList.add('is-copied');+ setTimeout(function () {+ copyBtn.textContent = 'Copy';+ copyBtn.classList.remove('is-copied');+ }, 1600);+ }).catch(function () {});+ });+ }++ /* ─── Reduced motion / no IO: reveal everything, fill the typed line ─── */+ function fillTyped() {+ var typed = document.querySelector('.type');+ if (typed && typed.dataset.type) typed.textContent = typed.dataset.type;+ }++ if (reduced || !('IntersectionObserver' in window)) {+ document.querySelectorAll('.reveal').forEach(function (el) { el.classList.add('is-inview'); });+ fillTyped();+ return;+ }++ /* ─── Section-grouped reveals ─── */+ var sections = document.querySelectorAll('main > section, .foot');+ var io = new IntersectionObserver(function (entries, obs) {+ entries.forEach(function (entry) {+ if (!entry.isIntersecting) return;+ entry.target.querySelectorAll('.reveal').forEach(function (el) { el.classList.add('is-inview'); });+ obs.unobserve(entry.target);+ });+ }, { rootMargin: '0px 0px -10% 0px', threshold: 0.08 });+ sections.forEach(function (s) { if (s.querySelector('.reveal')) io.observe(s); });++ /* ─── Hero: type ONE response line in once, then static ─── */+ var typed = document.querySelector('.type');+ var cursor = document.querySelector('.c-cursor');+ if (typed && typed.dataset.type) {+ var full = typed.dataset.type;+ var heroDemo = document.querySelector('.demo');++ function runType() {+ if (cursor) cursor.classList.add('is-blinking');+ var i = 0;+ var total = 600; // ~600ms total+ var stepMs = Math.max(12, Math.round(total / full.length));+ var timer = setInterval(function () {+ i += 1;+ typed.textContent = full.slice(0, i);+ if (i >= full.length) { clearInterval(timer); }+ }, stepMs);+ }++ var startObs = new IntersectionObserver(function (entries, obs) {+ entries.forEach(function (e) {+ if (!e.isIntersecting) return;+ setTimeout(runType, 380); // begin after the reveal settles+ obs.disconnect();+ });+ }, { threshold: 0.4 });++ if (heroDemo) startObs.observe(heroDemo); else runType();+ }+})();++/* ─── Command palette · ⌘K / Ctrl+K · Cobalt's signature interactive feature ─── */+(function () {+ 'use strict';++ var palette = document.getElementById('palette');+ var trigger = document.getElementById('cmdk-trigger');+ var input = document.getElementById('palette-input');+ var list = document.getElementById('palette-list');+ if (!palette || !trigger || !input || !list) return;++ var backdrop = palette.querySelector('[data-palette-close]');+ var rows = Array.prototype.slice.call(list.querySelectorAll('.palette__row'));+ var selected = 0;+ var lastFocus = null;++ /* targets each command jumps to (in-page anchors / actions) */+ var actions = {+ quickstart: function () { go('#docs'); },+ api: function () { go('#docs'); },+ pricing: function () { go('#pricing'); },+ key: function () { go('#pricing'); },+ copy: function () {+ if (navigator.clipboard) { navigator.clipboard.writeText('npm i @distil/sdk').catch(function () {}); }+ var btn = document.querySelector('.strip__copy');+ if (btn) { btn.textContent = 'Copied'; btn.classList.add('is-copied'); }+ }+ };++ function go(hash) {+ var el = document.querySelector(hash);+ close();+ if (el && el.scrollIntoView) { el.scrollIntoView({ behavior: 'smooth', block: 'start' }); }+ else { window.location.hash = hash; }+ }++ function visibleRows() {+ return rows.filter(function (r) { return !r.hidden; });+ }++ function setSelected(idx) {+ var vis = visibleRows();+ if (!vis.length) { selected = -1; input.removeAttribute('aria-activedescendant'); return; }+ if (idx < 0) idx = vis.length - 1;+ if (idx >= vis.length) idx = 0;+ selected = idx;+ rows.forEach(function (r) { r.setAttribute('aria-selected', 'false'); });+ var cur = vis[selected];+ cur.setAttribute('aria-selected', 'true');+ input.setAttribute('aria-activedescendant', cur.id);+ cur.scrollIntoView({ block: 'nearest' });+ }++ function filter(q) {+ q = q.trim().toLowerCase();+ rows.forEach(function (r) {+ var text = r.textContent.toLowerCase();+ r.hidden = q !== '' && text.indexOf(q) === -1;+ });+ setSelected(0);+ }++ function isOpen() { return !palette.hidden; }++ function open() {+ if (isOpen()) return;+ lastFocus = document.activeElement;+ palette.hidden = false;+ trigger.setAttribute('aria-expanded', 'true');+ input.value = '';+ filter('');+ setSelected(0);+ /* move focus into the input on open */+ input.focus();+ }++ function close() {+ if (!isOpen()) return;+ palette.hidden = true;+ trigger.setAttribute('aria-expanded', 'false');+ /* return focus to the trigger on close (or whatever real control opened it) */+ var dest = (lastFocus && lastFocus.focus && lastFocus !== document.body) ? lastFocus : trigger;+ dest.focus();+ }++ function toggle() { isOpen() ? close() : open(); }++ function activate() {+ var vis = visibleRows();+ if (selected < 0 || !vis[selected]) return;+ var cmd = vis[selected].getAttribute('data-cmd');+ if (actions[cmd]) actions[cmd]();+ else close();+ }++ /* trigger click */+ trigger.addEventListener('click', open);++ /* backdrop click closes */+ if (backdrop) backdrop.addEventListener('click', close);++ /* global ⌘K / Ctrl+K toggles */+ document.addEventListener('keydown', function (e) {+ if ((e.metaKey || e.ctrlKey) && (e.key === 'k' || e.key === 'K')) {+ e.preventDefault();+ toggle();+ }+ });++ /* within the palette: Esc, arrows, Enter */+ palette.addEventListener('keydown', function (e) {+ if (e.key === 'Escape') { e.preventDefault(); close(); return; }+ if (e.key === 'ArrowDown') { e.preventDefault(); setSelected(selected + 1); return; }+ if (e.key === 'ArrowUp') { e.preventDefault(); setSelected(selected - 1); return; }+ if (e.key === 'Enter') { e.preventDefault(); activate(); return; }+ });++ /* type to filter */+ input.addEventListener('input', function () { filter(input.value); });++ /* pointer over a row selects it; click activates */+ rows.forEach(function (row) {+ row.addEventListener('mousemove', function () {+ var vis = visibleRows();+ var i = vis.indexOf(row);+ if (i !== -1 && i !== selected) setSelected(i);+ });+ row.addEventListener('click', function () {+ var vis = visibleRows();+ var i = vis.indexOf(row);+ if (i !== -1) { selected = i; }+ activate();+ });+ });+})();diff --git a/site/examples/cobalt-01/styles.css b/site/examples/cobalt-01/styles.cssnew file mode 100644index 0000000..4d03d6d--- /dev/null+++ b/site/examples/cobalt-01/styles.css@@ -0,0 +1,989 @@+/* Hallmark · genre: modern-minimal · macrostructure: saas-product · theme: cobalt · enrichment: B · nav: bordered bar + ⌘K · footer: Ft1 */++/* ───────────────────────────────────────────────────────────+ Modern reset+ ─────────────────────────────────────────────────────────── */+*, *::before, *::after { box-sizing: border-box; }+* { margin: 0; }+html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }+body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }+img, picture, svg { display: block; max-width: 100%; }+ul, ol { list-style: none; padding: 0; }+a { color: inherit; text-decoration: none; }+button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }+:where(h1, h2, h3, h4) { font-weight: inherit; }++/* ───────────────────────────────────────────────────────────+ Base+ ─────────────────────────────────────────────────────────── */+html {+ font-family: var(--font-body);+ background: var(--color-paper);+ color: var(--color-ink-2);+ scroll-behavior: smooth;+ font-synthesis-weight: none;+ /* clean cool paper + hairlines — no background pattern */+}+@media (prefers-reduced-motion: reduce) {+ html { scroll-behavior: auto; }+}++body {+ font-size: var(--step-body);+ line-height: var(--leading-body);+ font-weight: var(--weight-body);+ text-rendering: optimizeLegibility;+ font-feature-settings: "kern" 1, "liga" 1, "cv05" 1;+ overflow-x: hidden;+}++code, kbd, pre { font-family: var(--font-mono); }++/* shared frame — content sits in a centred max-width, full-bleed bands */+.nav__inner,+.hero,+.strip,+.features,+.pricing,+.foot {+ width: 100%;+ max-width: var(--maxw);+ margin-inline: auto;+ padding-inline: var(--gutter);+}++/* ─── Skip link ─── */+.skip-link {+ position: absolute;+ left: var(--gutter);+ top: -3.5em;+ z-index: 100;+ padding: 0.55rem 0.9rem;+ background: var(--color-ink);+ color: var(--color-accent-ink);+ font-family: var(--font-mono);+ font-size: var(--step-small);+ letter-spacing: var(--tracking-label);+ border-radius: var(--radius-btn);+ transition: top 160ms var(--ease-out);+}+.skip-link:focus { top: 0.6rem; }++/* ─── Focus ─── */+:focus-visible {+ outline: 2px solid var(--color-accent);+ outline-offset: 2px;+ border-radius: 3px;+}++/* ─── Shared atoms ─────────────────────────────────────────── */+.eyebrow {+ display: inline-flex;+ align-items: center;+ gap: 0.55em;+ font-family: var(--font-mono);+ font-size: var(--step-small);+ letter-spacing: var(--tracking-label);+ text-transform: uppercase;+ color: var(--color-muted);+}+.eyebrow__dot {+ width: 6px; height: 6px;+ border-radius: 50%;+ background: var(--color-accent);+}++.btn {+ display: inline-flex;+ align-items: center;+ justify-content: center;+ gap: 0.5em;+ font-family: var(--font-body);+ font-weight: var(--weight-medium);+ font-size: 0.9375rem;+ line-height: 1;+ padding: 0.7em 1.1em;+ border-radius: var(--radius-btn);+ border: var(--rule) solid transparent;+ transition: background var(--t-quiet), border-color var(--t-quiet), color var(--t-quiet);+ white-space: nowrap;+}+.btn--accent {+ background: var(--color-accent);+ color: var(--color-accent-ink);+}+.btn--accent:hover { background: oklch(53% 0.21 256); }+.btn--ghost {+ border-color: var(--color-rule-2);+ color: var(--color-ink);+ background: var(--color-paper);+}+.btn--ghost:hover { border-color: var(--color-accent); color: var(--color-accent); }+.btn--lg { padding: 0.85em 1.35em; font-size: 1rem; }+.btn--block { width: 100%; }++/* understated typographic link with cobalt underline-grow */+.link-arrow {+ font-weight: var(--weight-medium);+ color: var(--color-ink);+ position: relative;+ padding-bottom: 2px;+}+.link-arrow span { transition: transform var(--t-quiet); display: inline-block; }+.link-arrow::after {+ content: "";+ position: absolute;+ left: 0; bottom: 0;+ width: 100%; height: 1.5px;+ background: var(--color-accent);+ transform: scaleX(0);+ transform-origin: left;+ transition: transform var(--t-quiet);+}+.link-arrow:hover::after { transform: scaleX(1); }+.link-arrow:hover span { transform: translateX(3px); }++code:not(.code code):not(.strip__cmd):not(.foot__ver) {+ font-size: 0.875em;+ background: var(--color-paper-3);+ border: var(--rule) solid var(--color-rule);+ border-radius: 4px;+ padding: 0.08em 0.36em;+ color: var(--color-ink);+}++/* ───────────────────────────────────────────────────────────+ Nav · cool dev-tool bar, single hairline under, blur backdrop+ ─────────────────────────────────────────────────────────── */+.nav {+ position: sticky;+ top: 0;+ z-index: 50;+ border-bottom: var(--rule) solid var(--color-rule);+ background: oklch(98.5% 0.004 250 / 0.78);+ -webkit-backdrop-filter: saturate(180%) blur(12px);+ backdrop-filter: saturate(180%) blur(12px);+ transition: border-color var(--t-quiet), background var(--t-quiet);+}+.nav.is-scrolled { border-bottom-color: var(--color-rule-2); }+.nav__inner {+ display: flex;+ align-items: center;+ gap: 1.5rem;+ height: 60px;+}+.nav__brand {+ display: inline-flex;+ align-items: center;+ gap: 0.55em;+ font-family: var(--font-display);+ font-weight: var(--weight-semi);+ font-size: 1.15rem;+ letter-spacing: var(--tracking-display);+ color: var(--color-ink);+}+.nav__mark {+ width: 18px; height: 18px;+ border-radius: 5px;+ background: var(--color-accent);+ position: relative;+ flex: none;+}+.nav__mark::after {+ content: "";+ position: absolute;+ inset: 5px 5px auto auto;+ width: 6px; height: 6px;+ border-radius: 1px;+ background: var(--color-accent-ink);+}+.nav__links {+ display: flex;+ gap: 1.5rem;+ margin-right: auto;+ font-size: 0.9375rem;+}+.nav__links a {+ color: var(--color-ink-2);+ position: relative;+ padding: 0.3em 0;+ transition: color var(--t-quiet);+}+.nav__links a::after {+ content: "";+ position: absolute;+ left: 0; bottom: -2px;+ width: 100%; height: 1.5px;+ background: var(--color-accent);+ transform: scaleX(0);+ transform-origin: left;+ transition: transform var(--t-quiet);+}+.nav__links a:hover { color: var(--color-ink); }+.nav__links a:hover::after { transform: scaleX(1); }+.nav__right {+ display: flex;+ align-items: center;+ gap: 0.75rem;+}++/* ⌘K affordance — bordered, mono label, NOT a pill */+.cmdk {+ display: inline-flex;+ align-items: center;+ gap: 0.6rem;+ border: var(--rule) solid var(--color-rule-2);+ border-radius: var(--radius-btn);+ padding: 0.45rem 0.55rem 0.45rem 0.75rem;+ color: var(--color-muted);+ transition: border-color var(--t-quiet), color var(--t-quiet);+}+.cmdk:hover { border-color: var(--color-accent); color: var(--color-ink); }+.cmdk__label { font-size: 0.875rem; }+.cmdk__keys {+ display: inline-flex;+ align-items: center;+ gap: 1px;+ font-family: var(--font-mono);+ font-size: 0.75rem;+ color: var(--color-ink-2);+ background: var(--color-paper-3);+ border: var(--rule) solid var(--color-rule);+ border-radius: 4px;+ padding: 0.1rem 0.35rem;+ line-height: 1;+}++/* ───────────────────────────────────────────────────────────+ Hero · asymmetric — copy left, live demo right+ ─────────────────────────────────────────────────────────── */+.hero {+ display: grid;+ grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.08fr);+ gap: clamp(2rem, 5vw, 4.5rem);+ align-items: center;+ padding-top: clamp(3.5rem, 7vw, 6rem);+ padding-bottom: var(--section-y);+}+.hero__title {+ font-family: var(--font-display);+ font-weight: var(--weight-semi);+ font-size: var(--step-hero);+ line-height: var(--leading-tight);+ letter-spacing: var(--tracking-display);+ color: var(--color-ink);+ margin-top: 1.1rem;+ text-wrap: balance;+}+.hero__lede {+ font-size: var(--step-lede);+ line-height: 1.55;+ color: var(--color-ink-2);+ max-width: 46ch;+ margin-top: 1.35rem;+}+.hero__cta {+ display: flex;+ align-items: center;+ gap: 1.5rem;+ margin-top: 2rem;+ flex-wrap: wrap;+}+.hero__meta {+ margin-top: 1.5rem;+ font-size: 0.875rem;+ color: var(--color-muted);+}+.hero__meta code, .hero__lede code { font-weight: var(--weight-medium); }++/* ─── The demo stack ─── */+.demo {+ display: grid;+ gap: 0.9rem;+}++/* ─── Code cards on graphite ─── */+.code-card {+ background: var(--color-graphite);+ border: var(--rule) solid var(--color-graphite-3);+ border-radius: var(--radius-card);+ box-shadow: var(--shadow-card);+ overflow: hidden;+}+.code-card__bar {+ display: flex;+ align-items: center;+ gap: 0.7rem;+ padding: 0.6rem 0.9rem;+ background: var(--color-graphite-2);+ border-bottom: var(--rule) solid var(--color-graphite-3);+}+.code-card__dots { display: inline-flex; gap: 0.4rem; }+.code-card__dots i {+ width: 9px; height: 9px;+ border-radius: 50%;+ background: var(--color-graphite-3);+}+.code-card__file {+ font-family: var(--font-mono);+ font-size: 0.75rem;+ letter-spacing: var(--tracking-label);+ color: var(--code-dim);+}+.code-card__file--res { margin-right: auto; }++.status-chip {+ display: inline-flex;+ align-items: center;+ gap: 0.45em;+ font-family: var(--font-mono);+ font-size: 0.7rem;+ letter-spacing: var(--tracking-label);+ color: var(--code-accent);+ background: oklch(58% 0.20 256 / 0.16);+ border: var(--rule) solid oklch(58% 0.20 256 / 0.3);+ border-radius: 4px;+ padding: 0.18rem 0.5rem;+ line-height: 1;+}+.status-chip__dot {+ width: 6px; height: 6px;+ border-radius: 50%;+ background: var(--code-accent);+}++.code {+ margin: 0;+ padding: 1.1rem 1.15rem;+ font-size: var(--step-code);+ line-height: 1.7;+ color: var(--code-text);+ overflow-x: auto;+ tab-size: 2;+}+.code code { font-family: var(--font-mono); white-space: pre; }++/* syntax tokens */+.c-method, .c-key, .c-kw, .c-accent { color: var(--code-accent); }+.c-fn { color: oklch(82% 0.09 200); }+.c-str { color: var(--code-string); }+.c-num, .c-bool { color: oklch(80% 0.08 70); }+.c-punc, .c-flag { color: var(--code-dim); }+.c-dim { color: var(--code-dim); }+.c-comment { color: var(--code-dim); font-style: italic; }++/* typed-in line + cursor */+.type { color: var(--code-string); }+.c-cursor {+ display: inline-block;+ width: 0.55em; height: 1.05em;+ vertical-align: -0.18em;+ background: var(--code-accent);+ margin-left: 1px;+ opacity: 0;+}+.c-cursor.is-blinking { animation: blink 1s steps(2, start) 3; opacity: 1; }+@keyframes blink { 50% { opacity: 0; } }++/* ───────────────────────────────────────────────────────────+ Quick-start strip · thin hairline band+ ─────────────────────────────────────────────────────────── */+.strip {+ display: flex;+ align-items: center;+ justify-content: space-between;+ gap: 2rem clamp(1.5rem, 5vw, 4rem);+ flex-wrap: wrap;+ padding-block: 1.6rem;+ border-top: var(--rule) solid var(--color-rule);+ border-bottom: var(--rule) solid var(--color-rule);+}+.strip__install {+ display: inline-flex;+ align-items: center;+ gap: 0.85rem;+}+.strip__label {+ font-family: var(--font-mono);+ font-size: var(--step-small);+ letter-spacing: var(--tracking-label);+ text-transform: uppercase;+ color: var(--color-muted);+}+.strip__cmd {+ font-size: 0.9375rem;+ color: var(--color-ink);+ border: var(--rule) solid var(--color-rule-2);+ border-radius: var(--radius-btn);+ padding: 0.5rem 0.75rem;+ background: var(--color-paper-2);+}+.strip__cmd .c-dim { color: var(--color-muted); }+.strip__cmd .c-accent { color: var(--color-accent); font-weight: var(--weight-medium); }+.strip__copy {+ font-size: 0.8125rem;+ color: var(--color-muted);+ border: var(--rule) solid transparent;+ border-radius: var(--radius-btn);+ padding: 0.35rem 0.55rem;+ transition: color var(--t-quiet), border-color var(--t-quiet);+}+.strip__copy:hover { color: var(--color-accent); border-color: var(--color-rule-2); }+.strip__copy.is-copied { color: var(--color-accent); }++.strip__trust {+ display: inline-flex;+ align-items: center;+ gap: 1.25rem;+ flex-wrap: wrap;+}+.trust {+ display: flex;+ gap: 1.5rem;+ flex-wrap: wrap;+ align-items: center;+}+.trust li {+ font-family: var(--font-display);+ font-weight: var(--weight-medium);+ font-size: 0.9375rem;+ letter-spacing: var(--tracking-snug);+ color: var(--color-muted);+}++/* ───────────────────────────────────────────────────────────+ Features · asymmetric — one wide code block + two narrow points+ ─────────────────────────────────────────────────────────── */+.features { padding-block: var(--section-y); }+.features__head { max-width: 60ch; }+.features__title {+ font-family: var(--font-display);+ font-weight: var(--weight-semi);+ font-size: var(--step-section);+ line-height: var(--leading-snug);+ letter-spacing: var(--tracking-display);+ color: var(--color-ink);+ margin-top: 0.9rem;+ text-wrap: balance;+}+.features__lede {+ font-size: var(--step-lede);+ color: var(--color-ink-2);+ margin-top: 1.1rem;+ max-width: 54ch;+}++.features__grid {+ display: grid;+ grid-template-columns: repeat(2, minmax(0, 1fr));+ gap: var(--rule);+ margin-top: clamp(2.5rem, 5vw, 4rem);+ background: var(--color-rule); /* hairline gridlines between cells */+ border: var(--rule) solid var(--color-rule);+ border-radius: var(--radius-card);+ overflow: hidden;+}+.feature {+ background: var(--color-paper);+ padding: clamp(1.5rem, 3vw, 2.25rem);+}+/* wide cell spans both columns */+.feature--wide {+ grid-column: 1 / -1;+ display: grid;+ grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);+ gap: clamp(1.5rem, 4vw, 3rem);+ align-items: center;+}+.feature__kicker {+ font-family: var(--font-mono);+ font-size: var(--step-small);+ letter-spacing: var(--tracking-label);+ text-transform: uppercase;+ color: var(--color-accent);+ margin-bottom: 0.8rem;+}+.feature__num {+ display: block;+ font-family: var(--font-mono);+ font-size: 0.8125rem;+ letter-spacing: var(--tracking-label);+ color: var(--color-rule-2);+ margin-bottom: 0.9rem;+}+.feature__title {+ font-family: var(--font-display);+ font-weight: var(--weight-medium);+ font-size: 1.375rem;+ line-height: 1.2;+ letter-spacing: var(--tracking-snug);+ color: var(--color-ink);+}+.feature__body {+ margin-top: 0.7rem;+ color: var(--color-ink-2);+ font-size: 1rem;+ max-width: 42ch;+}+.feature__list {+ margin-top: 1.1rem;+ display: grid;+ gap: 0.55rem;+}+.feature__list li {+ position: relative;+ padding-left: 1.3rem;+ font-size: 0.9375rem;+ color: var(--color-ink-2);+}+.feature__list li::before {+ content: "";+ position: absolute;+ left: 0; top: 0.62em;+ width: 7px; height: 7px;+ border: 1.5px solid var(--color-accent);+ border-bottom: 0; border-left: 0;+ transform: rotate(45deg);+}+.feature__list code { font-size: 0.85em; }++.code-card--inline { box-shadow: var(--shadow-card); }+.code-card--inline .code { font-size: 0.8125rem; }++/* ───────────────────────────────────────────────────────────+ Quickstart · FULL-BLEED DARK graphite band — Cobalt's signature+ Light text, lighter cool hairlines, cobalt pops. Light → dark → light.+ ─────────────────────────────────────────────────────────── */+.quickstart {+ /* a hair darker than the code-card ground for depth */+ background: oklch(20% 0.016 260);+ color: var(--color-quick-ink);+ border-top: var(--rule) solid var(--color-graphite-3);+ border-bottom: var(--rule) solid var(--color-graphite-3);+ padding-block: var(--section-y);+}+.quickstart__inner {+ width: 100%;+ max-width: var(--maxw);+ margin-inline: auto;+ padding-inline: var(--gutter);+ display: grid;+ grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.12fr);+ gap: clamp(2rem, 5vw, 4.5rem);+ align-items: center;+}+.eyebrow--dark { color: var(--color-quick-muted); }+.quickstart__title {+ font-family: var(--font-display);+ font-weight: var(--weight-semi);+ font-size: var(--step-section);+ line-height: var(--leading-snug);+ letter-spacing: var(--tracking-display);+ color: var(--color-quick-ink);+ margin-top: 0.9rem;+ text-wrap: balance;+}+.quickstart__lede {+ font-size: var(--step-lede);+ line-height: 1.55;+ color: var(--color-quick-ink-2);+ margin-top: 1.1rem;+ max-width: 42ch;+}+.quickstart__lede code {+ font-size: 0.875em;+ background: oklch(27% 0.018 260);+ border: var(--rule) solid var(--color-graphite-3);+ border-radius: 4px;+ padding: 0.08em 0.36em;+ color: var(--code-accent);+}+.quickstart__meta { margin-top: 1.6rem; }+.quickstart__link {+ font-family: var(--font-mono);+ font-size: 0.8125rem;+ letter-spacing: var(--tracking-label);+ color: var(--code-accent);+ position: relative;+ padding-bottom: 2px;+}+.quickstart__link span { transition: transform var(--t-quiet); display: inline-block; }+.quickstart__link::after {+ content: "";+ position: absolute;+ left: 0; bottom: 0;+ width: 100%; height: 1.5px;+ background: var(--code-accent);+ transform: scaleX(0);+ transform-origin: left;+ transition: transform var(--t-quiet);+}+.quickstart__link:hover::after { transform: scaleX(1); }+.quickstart__link:hover span { transform: translateX(3px); }++/* the code card on the dark band reads as a slightly raised inset */+.code-card--quick {+ background: var(--color-graphite);+ border-color: var(--color-graphite-3);+ box-shadow: none;+}++/* ───────────────────────────────────────────────────────────+ Pricing · hairline-framed plans, one cobalt CTA+ ─────────────────────────────────────────────────────────── */+.pricing {+ padding-block: var(--section-y);+ border-top: var(--rule) solid var(--color-rule);+}+.pricing__head { max-width: 50ch; }+.pricing__title {+ font-family: var(--font-display);+ font-weight: var(--weight-semi);+ font-size: var(--step-section);+ line-height: var(--leading-snug);+ letter-spacing: var(--tracking-display);+ color: var(--color-ink);+ margin-top: 0.9rem;+}+.pricing__lede {+ font-size: var(--step-lede);+ color: var(--color-ink-2);+ margin-top: 1rem;+}++.plans {+ display: grid;+ grid-template-columns: repeat(3, minmax(0, 1fr));+ gap: 1rem;+ margin-top: clamp(2.5rem, 5vw, 3.5rem);+}+.plan {+ display: flex;+ flex-direction: column;+ padding: 1.6rem;+ border: var(--rule) solid var(--color-rule);+ border-radius: var(--radius-card);+ background: var(--color-paper);+ position: relative;+ transition: border-color var(--t-quiet);+}+.plan:hover { border-color: var(--color-rule-2); }+.plan--feature {+ border-color: var(--color-accent);+ background: var(--color-paper-2);+}+.plan--feature:hover { border-color: var(--color-accent); }+.plan__badge {+ position: absolute;+ top: -0.7rem; left: 1.6rem;+ font-family: var(--font-mono);+ font-size: 0.6875rem;+ letter-spacing: var(--tracking-label);+ text-transform: uppercase;+ color: var(--color-accent-ink);+ background: var(--color-accent);+ border-radius: 4px;+ padding: 0.25rem 0.5rem;+ line-height: 1;+}+.plan__name {+ font-family: var(--font-display);+ font-weight: var(--weight-medium);+ font-size: 1.0625rem;+ letter-spacing: var(--tracking-snug);+ color: var(--color-ink);+}+.plan__price { margin-top: 1rem; }+.plan__num {+ font-family: var(--font-display);+ font-weight: var(--weight-semi);+ font-size: clamp(1.9rem, 3vw, 2.4rem);+ letter-spacing: var(--tracking-display);+ color: var(--color-ink);+}+.plan__unit {+ font-family: var(--font-mono);+ font-size: 0.8125rem;+ color: var(--color-muted);+ margin-top: 0.3rem;+}+.plan__list {+ display: grid;+ gap: 0.6rem;+ margin: 1.4rem 0;+ padding-top: 1.4rem;+ border-top: var(--rule) solid var(--color-rule);+}+.plan__list li {+ position: relative;+ padding-left: 1.3rem;+ font-size: 0.9375rem;+ color: var(--color-ink-2);+}+.plan__list li::before {+ content: "";+ position: absolute;+ left: 0; top: 0.62em;+ width: 7px; height: 7px;+ border: 1.5px solid var(--color-accent);+ border-bottom: 0; border-left: 0;+ transform: rotate(45deg);+}+.plan .btn { margin-top: auto; }++/* ───────────────────────────────────────────────────────────+ Footer · Ft1 mast-headed+ ─────────────────────────────────────────────────────────── */+.foot {+ padding-top: clamp(3rem, 6vw, 5rem);+ padding-bottom: 2rem;+ border-top: var(--rule) solid var(--color-rule-2);+}+.foot__top {+ display: grid;+ grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);+ gap: clamp(2rem, 5vw, 4rem);+ padding-bottom: clamp(2.5rem, 5vw, 4rem);+}+.foot__brand {+ display: inline-flex;+ align-items: center;+ gap: 0.55em;+ font-family: var(--font-display);+ font-weight: var(--weight-semi);+ font-size: 1.2rem;+ letter-spacing: var(--tracking-display);+ color: var(--color-ink);+}+.foot__tagline {+ margin-top: 0.9rem;+ font-size: 0.9375rem;+ color: var(--color-muted);+ max-width: 28ch;+}+.foot__cols {+ display: grid;+ grid-template-columns: repeat(3, minmax(0, 1fr));+ gap: 1.5rem;+}+.foot__heading {+ font-family: var(--font-mono);+ font-size: var(--step-small);+ letter-spacing: var(--tracking-label);+ text-transform: uppercase;+ color: var(--color-ink);+ margin-bottom: 1rem;+}+.foot__col a {+ display: block;+ font-size: 0.9375rem;+ color: var(--color-ink-2);+ padding: 0.28rem 0;+ width: fit-content;+ transition: color var(--t-quiet);+}+.foot__col a:hover { color: var(--color-accent); }+.foot__bottom {+ display: flex;+ justify-content: space-between;+ align-items: center;+ gap: 1rem;+ flex-wrap: wrap;+ padding-top: 1.5rem;+ border-top: var(--rule) solid var(--color-rule);+ font-size: 0.8125rem;+ color: var(--color-muted);+}+.foot__set { margin-right: auto; margin-left: 1.5rem; }+.foot__ver {+ font-size: 0.8125rem;+ color: var(--color-muted);+ border: var(--rule) solid var(--color-rule);+ border-radius: 4px;+ padding: 0.15rem 0.45rem;+ background: var(--color-paper-2);+}++/* ───────────────────────────────────────────────────────────+ Command palette · ⌘K — cool near-white panel, hairline, one soft shadow+ ─────────────────────────────────────────────────────────── */+.palette[hidden] { display: none; }+.palette {+ position: fixed;+ inset: 0;+ z-index: 200;+ display: grid;+ /* sit a little above centre — classic command-palette placement */+ grid-template-rows: 12vh auto 1fr;+ justify-items: center;+ padding-inline: 1rem;+}+.palette__backdrop {+ position: absolute;+ inset: 0;+ background: oklch(22% 0.016 260 / 0.42);+ -webkit-backdrop-filter: blur(2px);+ backdrop-filter: blur(2px);+ animation: palette-fade var(--t-quiet);+}+.palette__panel {+ grid-row: 2;+ position: relative;+ width: 100%;+ max-width: 520px;+ background: var(--color-paper);+ border: var(--rule) solid var(--color-rule-2);+ border-radius: var(--radius-card);+ box-shadow: 0 18px 48px oklch(22% 0.016 260 / 0.18);+ overflow: hidden;+ animation: palette-rise 220ms var(--ease-out);+}+.palette__label {+ position: absolute;+ width: 1px; height: 1px;+ padding: 0; margin: -1px;+ overflow: hidden;+ clip: rect(0 0 0 0);+ white-space: nowrap;+ border: 0;+}+.palette__field {+ display: flex;+ align-items: center;+ gap: 0.6rem;+ padding: 0.95rem 1.1rem;+ border-bottom: var(--rule) solid var(--color-rule);+}+.palette__prompt {+ font-family: var(--font-mono);+ font-size: 1rem;+ color: var(--color-accent);+ line-height: 1;+}+.palette__input {+ flex: 1;+ font-family: var(--font-mono);+ font-size: 0.9375rem;+ color: var(--color-ink);+ background: none;+ border: none;+ outline: none;+ padding: 0;+ /* blinking cobalt caret */+ caret-color: var(--color-accent);+}+.palette__input::placeholder { color: var(--color-muted); }+.palette__list {+ max-height: 46vh;+ overflow-y: auto;+ padding: 0.4rem;+}+.palette__row {+ display: flex;+ align-items: center;+ justify-content: space-between;+ gap: 1rem;+ padding: 0.6rem 0.7rem 0.6rem 0.85rem;+ border-radius: var(--radius-btn);+ border-left: 2px solid transparent;+ cursor: pointer;+ transition: background var(--t-quiet), border-color var(--t-quiet), color var(--t-quiet);+}+.palette__row[hidden] { display: none; }+/* selected/hovered row gets a cobalt left-edge + cobalt label */+.palette__row[aria-selected="true"] {+ background: var(--color-accent-dim);+ border-left-color: var(--color-accent);+}+.palette__row[aria-selected="true"] .palette__row-label { color: var(--color-accent); }+.palette__row-label {+ font-size: 0.9375rem;+ color: var(--color-ink);+ transition: color var(--t-quiet);+}+.palette__row-hint {+ font-family: var(--font-mono);+ font-size: 0.75rem;+ letter-spacing: var(--tracking-label);+ color: var(--color-muted);+}+.palette__empty {+ padding: 1rem 0.85rem;+ font-size: 0.9375rem;+ color: var(--color-muted);+}+.palette__foot {+ display: flex;+ align-items: center;+ gap: 0.7rem;+ padding: 0.7rem 1.1rem;+ border-top: var(--rule) solid var(--color-rule);+ font-size: 0.75rem;+ color: var(--color-muted);+ background: var(--color-paper-2);+}+.palette__foot kbd {+ font-family: var(--font-mono);+ font-size: 0.7rem;+ color: var(--color-ink-2);+ background: var(--color-paper-3);+ border: var(--rule) solid var(--color-rule);+ border-radius: 4px;+ padding: 0.08rem 0.32rem;+ line-height: 1;+ margin-right: 1px;+}+@keyframes palette-fade { from { opacity: 0; } }+@keyframes palette-rise { from { opacity: 0; transform: translateY(8px); } }++/* ───────────────────────────────────────────────────────────+ Motion · IntersectionObserver reveals (fade + ~10px rise)+ ─────────────────────────────────────────────────────────── */+.reveal {+ opacity: 0;+ transform: translateY(var(--reveal-dist));+ transition:+ opacity var(--reveal-dur) var(--ease-out),+ transform var(--reveal-dur) var(--ease-out);+ transition-delay: calc(var(--i, 0) * 70ms);+}+.reveal.is-inview {+ opacity: 1;+ transform: none;+}+@media (prefers-reduced-motion: reduce) {+ .reveal { opacity: 1; transform: none; transition: none; }+ .c-cursor, .c-cursor.is-blinking { animation: none; opacity: 1; }+ .palette__panel, .palette__backdrop { animation: none; }+ .palette__row, .palette__row-label { transition: none; }+}++/* ───────────────────────────────────────────────────────────+ Responsive+ ─────────────────────────────────────────────────────────── */+@media (max-width: 920px) {+ .hero {+ grid-template-columns: 1fr;+ gap: 2.5rem;+ padding-top: 3rem;+ }+ .hero__lede { max-width: 56ch; }+ .feature--wide { grid-template-columns: 1fr; }+ .quickstart__inner { grid-template-columns: 1fr; gap: 2.25rem; }+ .foot__top { grid-template-columns: 1fr; gap: 2.5rem; }+}++@media (max-width: 760px) {+ .nav__links { display: none; }+ .cmdk__label { display: none; }+ .features__grid { grid-template-columns: 1fr; }+ .plans { grid-template-columns: 1fr; }+ .plan--feature { order: -1; }+ .strip { gap: 1.5rem; }+}++@media (max-width: 460px) {+ .hero__cta { gap: 1rem; }+ .strip__install { width: 100%; }+ .strip__cmd { flex: 1; }+}diff --git a/site/examples/cobalt-01/tokens.css b/site/examples/cobalt-01/tokens.cssnew file mode 100644index 0000000..d7e3dd2--- /dev/null+++ b/site/examples/cobalt-01/tokens.css@@ -0,0 +1,79 @@+/* Hallmark · theme: cobalt · design tokens+ Cool cobalt-on-light, dev-tool / API register. Never pure white, never pure+ black. ONE electric cobalt signal accent; hairlines do the structural work. */++:root {+ /* ─── Colour ─────────────────────────────────────────────── */+ --color-paper: oklch(98.5% 0.004 250); /* cool engineered near-white — page ground */+ --color-paper-2: oklch(96.5% 0.005 252); /* alt band / quiet inset */+ --color-paper-3: oklch(94% 0.006 254); /* card tint / chip ground */++ --color-ink: oklch(24% 0.02 258); /* headlines + wordmark — cool charcoal */+ --color-ink-2: oklch(34% 0.018 257); /* body copy */+ --color-muted: oklch(56% 0.013 255); /* captions, meta, punctuation */++ --color-rule: oklch(91% 0.008 255); /* hairlines */+ --color-rule-2: oklch(83% 0.011 255); /* stronger hairline / hover rule */++ --color-accent: oklch(58% 0.20 256); /* electric cobalt — THE one signal */+ --color-accent-ink: oklch(99% 0.004 256); /* text on cobalt */+ --color-accent-dim: oklch(58% 0.20 256 / 0.10); /* cobalt wash / focus halo */++ --color-graphite: oklch(22% 0.016 260); /* dark code-card ground */+ --color-graphite-2: oklch(27% 0.018 260); /* code window bar */+ --color-graphite-3: oklch(34% 0.02 260); /* code card hairline */++ /* text on the full-bleed dark quickstart band (light cool ink) */+ --color-quick-ink: oklch(92% 0.01 255); /* headings on dark */+ --color-quick-ink-2: oklch(80% 0.012 256); /* body on dark */+ --color-quick-muted: oklch(64% 0.014 256); /* labels on dark */++ /* code syntax on graphite */+ --code-text: oklch(86% 0.01 258); /* default code ink (light) */+ --code-dim: oklch(58% 0.014 258); /* punctuation / comments */+ --code-string: oklch(82% 0.04 150); /* strings — cool desaturated */+ --code-accent: oklch(72% 0.16 256); /* method / keys — cobalt, lifted for contrast */++ /* ─── Type ───────────────────────────────────────────────── */+ --font-display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;+ --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;+ --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;++ /* fluid scale */+ --step-hero: clamp(2.6rem, 5.2vw + 0.8rem, 5rem);+ --step-section: clamp(1.9rem, 3.2vw, 3rem);+ --step-lede: clamp(1.0625rem, 0.8vw + 0.7rem, 1.3125rem);+ --step-body: 1.0625rem;+ --step-code: 0.875rem;+ --step-small: 0.75rem; /* mono labels / eyebrows */++ --tracking-display: -0.03em;+ --tracking-snug: -0.015em;+ --tracking-label: 0.06em; /* mono uppercase labels */++ --weight-body: 400;+ --weight-medium: 500;+ --weight-semi: 600;++ --leading-tight: 1.04;+ --leading-snug: 1.18;+ --leading-body: 1.62;+ --measure: 62ch;++ /* ─── Space & layout ─────────────────────────────────────── */+ --gutter: clamp(1.1rem, 4vw, 3.25rem); /* full-bleed page inset */+ --maxw: 1200px; /* content frame */+ --section-y: clamp(4.5rem, 9vw, 8rem);+ --rule: 1px;++ /* ─── Shape ──────────────────────────────────────────────── */+ --radius-btn: 6px;+ --radius-card: 10px;+ --shadow-card: 0 1px 2px oklch(22% 0.016 260 / 0.08); /* the one barely-there lift */++ /* ─── Motion ─────────────────────────────────────────────── */+ --reveal-dist: 10px;+ --reveal-dur: 600ms;+ --ease-out: cubic-bezier(0.16, 1, 0.3, 1);+ --t-quiet: 240ms cubic-bezier(0.4, 0, 0.2, 1);+}diff --git a/site/examples/custom-01/index.html b/site/examples/custom-01/index.htmlnew file mode 100644index 0000000..8ff9ef4--- /dev/null+++ b/site/examples/custom-01/index.html@@ -0,0 +1,86 @@+<!doctype html>+<html lang="en">+<head>+ <meta charset="utf-8" />+ <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />+ <title>Setting the Night Edition — a broadside from Vellum & Lamp</title>+ <meta name="description" content="A single letterpress broadside: the poem 'Setting the Night Edition', set line by line as the sheet is read. Printed by Vellum & Lamp, Marrowfield." />+ <meta name="theme-color" content="#f1ece0" />++ <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=Bodoni+Moda:opsz,[email protected],500;6..96,700&family=Spectral:ital,wght@0,300;0,400;0,500;1,400&family=Spline+Sans+Mono:wght@400;500&display=swap" rel="stylesheet" />++ <link rel="stylesheet" href="tokens.css" />+ <link rel="stylesheet" href="styles.css" />+</head>+<body>+ <a class="skip-link" href="#poem">Skip to the poem</a>++ <!-- The whole page is the broadside. No nav, no hero, no footer scaffolding:+ a single printed sheet, read top to bottom. -->+ <main id="main" class="sheet">+ <div class="sheet__grain" aria-hidden="true"></div>++ <article class="broadside" id="poem" aria-labelledby="broadside-title">++ <!-- Imprint band — the only chrome. Doubles as the press's mark. -->+ <header class="imprint">+ <p class="imprint__line">+ <span class="imprint__press">Vellum & Lamp</span>+ <span class="imprint__dot" aria-hidden="true">·</span>+ <span>Marrowfield</span>+ </p>+ <p class="imprint__edition">Broadside No. VII · set by hand · one sheet</p>+ <hr class="imprint__rule" aria-hidden="true" />+ </header>++ <!-- The title, set as a broadside poster line. -->+ <h1 class="broadside__title" id="broadside-title">+ <span class="broadside__drop" aria-hidden="true">S</span><span class="broadside__title-rest">etting the</span>+ <span class="broadside__title-2">Night Edition</span>+ </h1>+ <p class="broadside__byline">a poem set after the presses cool</p>++ <!-- The poem. Each line is its own measure; the motion inks them in+ one at a time on scroll. With no scroll support or reduced motion,+ every line is simply present and legible — content never depends+ on JavaScript or on scrolling. -->+ <div class="poem" role="group" aria-label="The poem, eleven lines">+ <p class="poem__line poem__line--a">The compositor works after the presses cool.</p>+ <p class="poem__line poem__line--b">Lead is patient; the alphabet, a drawer of weights.</p>+ <p class="poem__line poem__line--a">She lifts each letter as one lifts a word</p>+ <p class="poem__line poem__line--c">too true to say aloud at any speed.</p>+ <p class="poem__line poem__line--a">A comma is a held breath set in metal.</p>+ <p class="poem__line poem__line--b">The margin is not empty — it is listening.</p>+ <p class="poem__line poem__line--a">Ink will remember what the hand let go,</p>+ <p class="poem__line poem__line--c">and morning will arrive already printed.</p>++ <!-- The form mirrors the content: line nine leaves "a line unset".+ The gap is rendered, not described. -->+ <p class="poem__line poem__line--a poem__line--unset">+ So she leaves a line unset, a white space wide+ <span class="poem__held" aria-hidden="true"></span>+ </p>+ <p class="poem__line poem__line--c">enough for the reader's own slow thought to dry —</p>+ <p class="poem__line poem__line--a poem__line--last">then locks the forme, and turns the lamp down low.</p>+ </div>++ <!-- Colophon — the printer's note at the foot of the sheet. -->+ <footer class="colophon">+ <hr class="colophon__rule" aria-hidden="true" />+ <p class="colophon__note">+ Composed and pulled on a flat-bed Albion, eight forms,+ on damp cotton rag. The red is a single hit of cinnabar.+ </p>+ <p class="colophon__mark">+ <span>Vellum & Lamp</span>+ <span class="colophon__fleuron" aria-hidden="true"></span>+ <span>impression 7 of 40</span>+ </p>+ </footer>++ </article>+ </main>+</body>+</html>diff --git a/site/examples/custom-01/styles.css b/site/examples/custom-01/styles.cssnew file mode 100644index 0000000..a50280e--- /dev/null+++ b/site/examples/custom-01/styles.css@@ -0,0 +1,342 @@+/* Hallmark · route: custom · structure: single vertical broadside sheet — imprint rule, poster title with drop-figure, eleven poem lines each on its own measure, colophon foot · idea: "the poem IS the page; ink settles onto each line as the sheet is read, and line nine leaves its own gap unset" · paper: oklch(95.5% 0.014 86) · accent: oklch(50% 0.170 36) · display: Bodoni Moda · body: Spectral · gates: all-pass · v1.1 */+/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V5 */+/* axes: warm-cream paper / high-contrast Didone display / cinnabar accent · contrast: pass (46–50) · nav: none (broadside, no chrome) · footer: colophon (Ft-bespoke) · slop: pass (51–55) · honest: pass (56) · chrome: pass (57) · tokens: pass (58) · responsive: pass (59) · icons: pass (60) · mobile: pass (36, 59, 61–69) */++/* ─────────────────────────────────────────────────────────────+ Reset+ ───────────────────────────────────────────────────────────── */+*, *::before, *::after { box-sizing: border-box; }+html, body { overflow-x: clip; }++html {+ font-family: var(--font-body);+ font-size: 100%;+ line-height: var(--lh-normal);+ color: var(--ink);+ background: var(--paper);+ -webkit-font-smoothing: antialiased;+ text-rendering: optimizeLegibility;+}++body {+ margin: 0;+ min-height: 100svh;+ /* the deckle: paper that darkens toward the edges, like a sheet on a press bed */+ background:+ radial-gradient(125% 105% at 50% 8%,+ var(--paper) 38%,+ var(--paper-deep) 86%,+ var(--paper-fold) 100%);+}++p { margin: 0; }++::selection { background: oklch(50% 0.170 36 / 0.18); color: var(--ink); }++/* ─────────────────────────────────────────────────────────────+ Skip link+ ───────────────────────────────────────────────────────────── */+.skip-link {+ position: absolute;+ left: var(--space-md);+ top: -4rem;+ z-index: 10;+ padding: var(--space-xs) var(--space-md);+ font-family: var(--font-mono);+ font-size: var(--text-sm);+ color: var(--red-ink);+ background: var(--ink);+ text-decoration: none;+ transition: top 140ms ease;+}+.skip-link:focus-visible {+ top: var(--space-md);+ outline: 2px solid var(--focus);+ outline-offset: 2px;+}++/* ─────────────────────────────────────────────────────────────+ The sheet+ ───────────────────────────────────────────────────────────── */+.sheet {+ position: relative;+ min-height: 100svh;+ padding-block: clamp(3rem, 9vh, 7rem) clamp(4rem, 14vh, 11rem);+ padding-inline: var(--gutter);+}++/* a faint laid-paper grain — fixed, decorative, well under any accent budget */+.sheet__grain {+ position: fixed;+ inset: 0;+ z-index: 0;+ pointer-events: none;+ opacity: 0.5;+ background-image:+ repeating-linear-gradient(+ 90deg,+ oklch(78% 0.016 78 / 0) 0 2px,+ oklch(78% 0.016 78 / 0.05) 2px 3px);+ mix-blend-mode: multiply;+}++.broadside {+ position: relative;+ z-index: 1;+ max-width: var(--sheet-max);+ margin-inline: auto;+}++/* ─────────────────────────────────────────────────────────────+ Imprint band — the only chrome+ ───────────────────────────────────────────────────────────── */+.imprint {+ text-align: center;+ margin-bottom: clamp(2.5rem, 7vh, 5rem);+}+.imprint__line {+ display: flex;+ align-items: center;+ justify-content: center;+ gap: var(--space-sm);+ font-family: var(--font-mono);+ font-size: var(--text-xs);+ letter-spacing: var(--track-cap);+ text-transform: uppercase;+ line-height: 1;+ color: var(--ink-soft);+ margin-inline: auto;+ /* the wide tracking pushes the last cap past the box; nudge it back */+ padding-left: var(--track-cap);+}+.imprint__press { color: var(--ink); }+.imprint__dot { color: var(--red); }+.imprint__edition {+ margin-top: var(--space-sm);+ font-family: var(--font-mono);+ font-size: var(--text-xs);+ letter-spacing: 0.18em;+ text-transform: uppercase;+ color: var(--ink-faint);+}+.imprint__rule {+ width: clamp(3.5rem, 12vw, 7rem);+ height: 2px;+ margin: var(--space-lg) auto 0;+ border: 0;+ background: var(--red); /* the single hit of cinnabar — a press mark */+}++/* ─────────────────────────────────────────────────────────────+ The title — set as a broadside poster line+ ───────────────────────────────────────────────────────────── */+.broadside__title {+ font-family: var(--font-display);+ font-weight: 700;+ font-style: normal; /* headers are roman — never italic */+ font-size: var(--text-title);+ line-height: var(--lh-tight);+ letter-spacing: var(--track-title);+ color: var(--ink);+ text-align: center;+ text-wrap: balance;+ overflow-wrap: anywhere;+ min-width: 0;+ margin: 0;+ /* a whisper of deboss — ink pressed into damp paper */+ text-shadow: 0 1px 0 oklch(100% 0 0 / 0.35);+}+/* no forced nowrap — let the line break on narrow sheets */+.broadside__title-2 {+ display: block;+ font-weight: 500; /* roman — emphasis via weight, never italic (gate 40a) */+ color: var(--ink-soft);+}+/* the drop-figure: an oversized initial in the printer's red */+.broadside__drop {+ font-size: 1.18em;+ font-weight: 700;+ color: var(--red);+ line-height: 0;+}++.broadside__byline {+ margin-top: var(--space-lg);+ text-align: center;+ font-family: var(--font-body);+ font-style: italic;+ font-weight: 400;+ font-size: var(--text-md);+ color: var(--ink-soft);+}++/* ─────────────────────────────────────────────────────────────+ The poem — each line its own measure+ ───────────────────────────────────────────────────────────── */+.poem {+ margin-top: clamp(3.5rem, 11vh, 7rem);+ display: flex;+ flex-direction: column;+ gap: clamp(1.1rem, 2.6vh, 2rem);+ max-width: min(var(--measure), 100%); /* never wider than the sheet */+ margin-inline: auto;+}+.poem__line {+ font-family: var(--font-body);+ font-weight: 400;+ font-size: var(--text-lg);+ line-height: var(--lh-poem);+ letter-spacing: 0.002em;+ color: var(--ink);+ overflow-wrap: anywhere;+ min-width: 0;+}+/* three indent registers give the set type its hand-composed rhythm */+.poem__line--a { margin-left: 0; }+.poem__line--b { margin-left: clamp(1rem, 4vw, 2.5rem); }+.poem__line--c { margin-left: clamp(2rem, 8vw, 5rem); }++/* the form mirrors the content: a held white space after "a line unset" */+.poem__line--unset { position: relative; }+.poem__held {+ display: block;+ height: clamp(1.4rem, 5vh, 3rem);+}++/* the closing line, set a touch heavier — the forme locking shut */+.poem__line--last {+ font-weight: 500;+ color: var(--ink);+}++/* ─────────────────────────────────────────────────────────────+ Colophon — the foot of the sheet+ ───────────────────────────────────────────────────────────── */+.colophon {+ margin-top: clamp(4rem, 13vh, 8rem);+ max-width: min(var(--measure), 100%);+ margin-inline: auto;+ text-align: center;+}+.colophon__rule {+ width: 100%;+ height: var(--rule-hair);+ border: 0;+ background: var(--ink-faint); /* a confident printed hairline, not a ghost */+ opacity: 0.55;+ margin: 0 0 var(--space-xl);+}+.colophon__note {+ font-family: var(--font-body);+ font-style: italic;+ font-weight: 300;+ font-size: var(--text-base);+ line-height: var(--lh-normal);+ color: var(--ink-soft);+ text-wrap: pretty;+}+.colophon__mark {+ display: flex;+ align-items: center;+ justify-content: center;+ gap: var(--space-md);+ margin-top: var(--space-xl);+ font-family: var(--font-mono);+ font-size: var(--text-xs);+ letter-spacing: 0.18em;+ text-transform: uppercase;+ color: var(--ink-faint);+}+/* a CSS-drawn dinkus — a printer's ornament, not an emoji glyph */+.colophon__fleuron {+ width: 5px;+ height: 5px;+ transform: rotate(45deg);+ background: var(--red);+ flex: none;+}++/* ─────────────────────────────────────────────────────────────+ THE ONE ORCHESTRATED MOTION — ink settling onto the sheet.+ Each poem line, the title, and the colophon ink in as they enter+ the viewport: a faint rise + a blur-to-sharp, like wet ink finding+ the paper. Pure CSS scroll-driven timeline; progressively enhanced.+ Without support the lines are simply present — content never depends+ on scroll or JS.+ ───────────────────────────────────────────────────────────── */+@supports (animation-timeline: view()) {+ @media (prefers-reduced-motion: no-preference) {+ .poem__line,+ .broadside__byline,+ .colophon__note,+ .colophon__mark {+ animation: ink-settle linear both;+ animation-timeline: view();+ animation-range: entry 4% cover 26%;+ }+ /* the title is already in view on load — give it its own settle */+ .broadside__title { animation: ink-load 900ms var(--ease, ease-out) both; }+ }+}++@keyframes ink-settle {+ from {+ opacity: 0;+ transform: translateY(0.7rem);+ filter: blur(3px);+ }+ to {+ opacity: 1;+ transform: translateY(0);+ filter: blur(0);+ }+}++@keyframes ink-load {+ from { opacity: 0; transform: translateY(0.5rem); filter: blur(4px); }+ to { opacity: 1; transform: translateY(0); filter: blur(0); }+}++/* Reduced motion: no settle, no load — the sheet is simply printed. */+@media (prefers-reduced-motion: reduce) {+ .poem__line,+ .broadside__title,+ .broadside__byline,+ .colophon__note,+ .colophon__mark {+ animation: none !important;+ opacity: 1;+ transform: none;+ filter: none;+ }+}++/* ─────────────────────────────────────────────────────────────+ Focus — keyboard users get an instant, high-contrast ring.+ The skip link is the only interactive element on this sheet.+ ───────────────────────────────────────────────────────────── */+:focus-visible {+ outline: 2px solid var(--focus);+ outline-offset: 3px;+ border-radius: 1px;+}++/* ─────────────────────────────────────────────────────────────+ Narrow viewports — the sheet stays a sheet; indents relax so no+ line crowds the right edge. (No horizontal scroll 320–1920px.)+ ───────────────────────────────────────────────────────────── */+@media (max-width: 34rem) {+ /* relax the indents so no line crowds the right edge */+ .poem__line--b { margin-left: 0.75rem; }+ .poem__line--c { margin-left: 1.5rem; }++ /* the wide-tracked mono caps are the main narrow-width overflow risk:+ drop the tracking, let them wrap, remove the tracking-compensation pad */+ .imprint__line {+ flex-wrap: wrap;+ letter-spacing: 0.18em;+ padding-left: 0;+ }+ .imprint__edition { letter-spacing: 0.1em; }+ .colophon__mark { letter-spacing: 0.1em; flex-wrap: wrap; }+}diff --git a/site/examples/custom-01/tokens.css b/site/examples/custom-01/tokens.cssnew file mode 100644index 0000000..fbf02d5--- /dev/null+++ b/site/examples/custom-01/tokens.css@@ -0,0 +1,68 @@+/* Hallmark · custom tokens — one-off, not written back to the catalog.+ A letterpress broadside: warm cotton-rag paper, oxidised-sepia ink,+ a single cinnabar (printer's red) reserved for the imprint rule and+ the drop-figure. OKLCH throughout; every neutral tinted toward the+ paper's warm hue (86–64). No pure #fff / #000 anywhere. */++:root {+ /* ── Paper · warm cotton rag, never white ── */+ --paper: oklch(95.5% 0.014 86); /* the sheet */+ --paper-deep: oklch(92.5% 0.018 84); /* vignette / edges */+ --paper-fold: oklch(90% 0.020 82); /* deckle shadow */++ /* ── Ink · oxidised sepia-black, the impression of letterpress ── */+ --ink: oklch(24% 0.018 64); /* the poem */+ --ink-soft: oklch(35% 0.020 62); /* secondary / debossed */+ --ink-faint: oklch(50% 0.016 60); /* colophon, edition marks */+ --rule: oklch(78% 0.016 78); /* hairlines on paper */++ /* ── Accent · cinnabar — the printer's red. Signal only (<5% area) ── */+ --red: oklch(50% 0.170 36);+ --red-ink: oklch(98% 0.010 86); /* text that ever sits on red */++ /* ── Focus · the ink — ≥3:1 against paper (14:1) and against the+ skip-link's ink fill via outline-offset onto paper. Robust+ wherever focus lands; the red stays a content accent. ── */+ --focus: oklch(24% 0.018 64);++ /* ── Type · Bodoni Moda (broadside display), Spectral (the poem),+ Spline Sans Mono (the colophon/edition — the one outlier) ── */+ --font-display: "Bodoni Moda", "Didot", ui-serif, Georgia, serif;+ --font-body: "Spectral", "Iowan Old Style", ui-serif, Georgia, serif;+ --font-mono: "Spline Sans Mono", ui-monospace, "SFMono-Regular", monospace;++ /* ── Type scale ── */+ --text-xs: 0.75rem;+ --text-sm: 0.8125rem;+ --text-base: 1.0625rem;+ --text-md: 1.25rem;+ --text-lg: clamp(1.5rem, 0.9rem + 2.6vw, 2.4rem); /* the poem lines */+ --text-title: clamp(2.05rem, 0.6rem + 6.8vw, 6.5rem); /* the broadside title */+ --text-drop: clamp(4rem, 2rem + 9vw, 9rem); /* the drop-figure */++ --lh-tight: 1.04;+ --lh-poem: 1.18;+ --lh-normal: 1.5;++ --track-title: -0.018em;+ --track-cap: 0.34em; /* the wide letterspacing of a printed imprint */++ /* ── Spacing · 4px-based scale ── */+ --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: 6.5rem;+ --space-4xl: 10rem;+ --space-5xl: 13rem;++ /* ── The sheet measure ── */+ --measure: 52ch; /* the poem reads within 45–75ch */+ --sheet-max: 44rem;+ --gutter: clamp(1.5rem, 6vw, 4rem);+ --rule-hair: 1px;+}diff --git a/site/examples/custom-02/index.html b/site/examples/custom-02/index.htmlnew file mode 100644index 0000000..8bd77df--- /dev/null+++ b/site/examples/custom-02/index.html@@ -0,0 +1,188 @@+<!DOCTYPE html>+<html lang="en">+<head>+ <meta charset="UTF-8">+ <meta name="viewport" content="width=device-width, initial-scale=1.0">+ <title>Booking confirmed · The Cascadia Nightjar · Saltmarsh Quay → Foghorn Point</title>+ <meta name="description" content="Your overnight berth aboard the Cascadia Nightjar coastal sleeper is confirmed. Booking reference, coach and berth, boarding time, and the full dusk-to-dawn route.">++ <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=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;0,6..96,600;0,6..96,700;1,6..96,400&family=Spectral:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Space+Mono:wght@400;700&display=swap" rel="stylesheet">++ <link rel="stylesheet" href="tokens.css">+ <link rel="stylesheet" href="styles.css">+</head>+<body>+ <a class="skip-link" href="#ticket">Skip to your ticket</a>++ <header class="masthead">+ <p class="masthead__service">Coastal Overnight Services</p>+ <p class="masthead__confirmed" role="status">+ <span class="masthead__dot" aria-hidden="true"></span>+ Booking confirmed — boarding pass issued+ </p>+ </header>++ <main id="ticket">+ <h1 class="sr-only">The Cascadia Nightjar — booking confirmation and boarding pass, Saltmarsh Quay to Foghorn Point</h1>++ <!-- The page IS a physical object: one ticket on the desk -->+ <article class="ticket" aria-label="Boarding pass for the Cascadia Nightjar">++ <!-- ── MAIN PORTION ── -->+ <section class="stub-main" aria-labelledby="nameplate">+ <div class="nameplate">+ <p class="nameplate__class">Sleeper · First berth</p>+ <p class="nameplate__line" id="nameplate">The Cascadia Nightjar</p>+ <p class="nameplate__sub">Overnight coastal sleeper · Western Seaboard Line</p>+ </div>++ <!-- Punch / validation stamp, semantically anchored to the booking -->+ <p class="stamp" aria-label="Ticket validated">+ <span class="stamp__inner">+ <span class="stamp__top">Validated</span>+ <span class="stamp__date">31 OCT</span>+ <span class="stamp__bottom">Quay Office</span>+ </span>+ </p>++ <!-- Route as a vertical timeline: dusk → night → dawn -->+ <section class="route" aria-labelledby="route-h">+ <h2 class="route__h" id="route-h">Tonight’s passage</h2>+ <ol class="route__list">+ <li class="leg leg--depart">+ <span class="leg__time">20:14</span>+ <span class="leg__node" aria-hidden="true"></span>+ <span class="leg__body">+ <span class="leg__station">Saltmarsh Quay</span>+ <span class="leg__note">Departs · Platform 4 · doors close 20:09</span>+ </span>+ </li>+ <li class="leg leg--pass">+ <span class="leg__time">22:51</span>+ <span class="leg__node" aria-hidden="true"></span>+ <span class="leg__body">+ <span class="leg__station">Hartlow Cutting</span>+ <span class="leg__note">Passing · no stop · lounge car closes midnight</span>+ </span>+ </li>+ <li class="leg leg--pass">+ <span class="leg__time">02:36</span>+ <span class="leg__node" aria-hidden="true"></span>+ <span class="leg__body">+ <span class="leg__station">Wexler Sound Bridge</span>+ <span class="leg__note">Passing · curtains drawn · quiet hours in effect</span>+ </span>+ </li>+ <li class="leg leg--arrive">+ <span class="leg__time">06:42</span>+ <span class="leg__node" aria-hidden="true"></span>+ <span class="leg__body">+ <span class="leg__station">Foghorn Point</span>+ <span class="leg__note">Arrives · breakfast from 06:00 · alight starboard side</span>+ </span>+ </li>+ </ol>+ </section>++ <!-- Berth + passenger details -->+ <dl class="details">+ <div class="details__cell">+ <dt>Passenger</dt>+ <dd>M. Aldercott</dd>+ </div>+ <div class="details__cell">+ <dt>Coach</dt>+ <dd class="mono">C·07</dd>+ </div>+ <div class="details__cell">+ <dt>Berth</dt>+ <dd class="mono">14 · LOWER</dd>+ </div>+ <div class="details__cell">+ <dt>Boards</dt>+ <dd class="mono">19:50</dd>+ </div>+ </dl>++ <div class="fare">+ <p class="fare__line">+ <span>First berth · single occupancy</span>+ <span class="mono">144.00</span>+ </p>+ <p class="fare__line">+ <span>Breakfast in the dining car</span>+ <span class="mono">incl.</span>+ </p>+ <p class="fare__line fare__line--total">+ <span>Fare paid</span>+ <span class="mono">¤ 144.00</span>+ </p>+ </div>+ </section>++ <!-- ── PERFORATED TEAR EDGE ── -->+ <div class="perforation" aria-hidden="true">+ <span class="perforation__rule">tear here · retain the stub</span>+ </div>++ <!-- ── DETACHABLE STUB ── -->+ <aside class="stub" aria-label="Conductor's stub — retain this portion">+ <p class="stub__keep">Retain this portion</p>++ <dl class="stub__codes">+ <div>+ <dt>Booking</dt>+ <dd class="mono mono--lg">NJR·7K42·QF</dd>+ </div>+ <div>+ <dt>Coach / Berth</dt>+ <dd class="mono mono--lg">C07 · 14L</dd>+ </div>+ <div>+ <dt>Boards</dt>+ <dd class="mono mono--lg">19:50</dd>+ </div>+ </dl>++ <div class="barcode" aria-hidden="true"></div>+ <p class="stub__num mono">NJR 7K42 QF · 31·10</p>++ <div class="stub__actions">+ <a class="walletbtn" href="#ticket">+ <span class="walletbtn__label">Save to wallet</span>+ <span class="walletbtn__hint">.pkpass</span>+ </a>+ <button class="ghostbtn" type="button">Email a copy</button>+ </div>+ </aside>+ </article>++ <!-- Fine print, framed as the back-of-ticket conditions -->+ <section class="conditions" aria-labelledby="cond-h">+ <h2 class="conditions__h" id="cond-h">Conditions of carriage</h2>+ <p>+ Boarding closes four minutes before departure. Berths are released to the+ standby list if unclaimed by 20:09. Quiet hours run midnight to 06:00; the+ lounge car serves until midnight and the dining car opens for breakfast at+ 06:00. This pass is non-transferable and valid for the dated service only.+ </p>+ <p class="conditions__help">+ Questions about your passage? Speak to the Quay Office, or reply to your+ confirmation. A conductor will scan the stub above as you board.+ </p>+ </section>+ </main>++ <footer class="colophon">+ <p class="colophon__mark">Cascadia Coastal Rail</p>+ <p class="colophon__fine">+ Western Seaboard Line · printed at Saltmarsh Quay ·+ <span class="mono">issue 31·10 · 20:14 dep</span>+ </p>+ </footer>++ <script src="script.js" defer></script>+</body>+</html>diff --git a/site/examples/custom-02/script.js b/site/examples/custom-02/script.jsnew file mode 100644index 0000000..b2e62c1--- /dev/null+++ b/site/examples/custom-02/script.js@@ -0,0 +1,46 @@+/* Cascadia Nightjar ticket — drives the single orchestrated print/tear/stamp.+ Progressive enhancement only: the page is fully legible without JS. */+(function () {+ "use strict";++ var root = document.documentElement;++ var reduce = window.matchMedia &&+ window.matchMedia("(prefers-reduced-motion: reduce)").matches;++ if (reduce) {+ // Honour reduced motion: show the finished ticket, no animation.+ root.classList.remove("is-ready");+ return;+ }++ // Run the print/tear/stamp sequence once, after first paint.+ // rAF gives the cleanest start; a timeout backstops it in case rAF is+ // throttled (background tab / automation) so the intro never silently stalls.+ var started = false;+ function play() {+ if (started) return;+ started = true;+ root.classList.add("is-ready");++ // Settle to the resting state when the intro ends. The timeout also+ // guarantees the final visible state in environments that freeze the+ // animation clock (background tabs, automation) — the ticket is never+ // left stranded on the hidden first frame.+ var settle = function () { root.classList.add("is-done"); };+ var ticket = document.querySelector(".ticket");+ if (ticket) ticket.addEventListener("animationend", settle, { once: true });+ setTimeout(settle, 1300);+ }++ function schedule() {+ requestAnimationFrame(play);+ setTimeout(play, 60);+ }++ if (document.readyState === "loading") {+ document.addEventListener("DOMContentLoaded", schedule, { once: true });+ } else {+ schedule();+ }+})();diff --git a/site/examples/custom-02/styles.css b/site/examples/custom-02/styles.cssnew file mode 100644index 0000000..a0885da--- /dev/null+++ b/site/examples/custom-02/styles.css@@ -0,0 +1,629 @@+/* Hallmark · route: custom · structure: a single physical ticket object on a desk — masthead, perforated tear-edge, detachable conductor's stub, vertical dusk→dawn route timeline · idea: "the page is the printed sleeper ticket, not a layout about one" · paper: oklch(93.5% 0.016 78) · accent: oklch(56% 0.190 32) · display: Bodoni Moda · body: Spectral · gates: all-pass · v1.1 */+/* Hallmark · pre-emit critique: P5 H5 E5 S5 R4 V5 */++*, *::before, *::after { box-sizing: border-box; }++html, body { overflow-x: clip; }++html {+ font-family: var(--font-body);+ line-height: var(--lh-relaxed);+ color: var(--ink);+ -webkit-font-smoothing: antialiased;+ text-rendering: optimizeLegibility;+}++body {+ margin: 0;+ min-height: 100vh;+ font-size: var(--text-base);+ /* The desk the ticket sits on: a warm vignette, not a flat field */+ background:+ radial-gradient(120% 90% at 50% 0%, var(--canvas) 0%, var(--canvas-edge) 100%);+ display: flex;+ flex-direction: column;+ align-items: center;+ padding: clamp(var(--space-lg), 5vw, var(--space-4xl)) var(--space-md);+ gap: var(--space-xl);+}++/* ── Accessibility scaffolding ───────────────────────────────── */+.sr-only {+ position: absolute;+ width: 1px; height: 1px;+ padding: 0; margin: -1px;+ overflow: hidden; clip: rect(0 0 0 0);+ white-space: nowrap; border: 0;+}++.skip-link {+ position: absolute;+ left: var(--space-md);+ top: var(--space-md);+ z-index: var(--z-stamp);+ background: var(--ink);+ color: var(--stock);+ padding: var(--space-xs) var(--space-md);+ border-radius: var(--radius);+ font-family: var(--font-code);+ font-size: var(--text-sm);+ text-decoration: none;+ /* slide via transform (GPU), never animate `top` */+ transform: translateY(calc(-100% - var(--space-lg)));+ transition: transform var(--dur-short) var(--ease-out);+}+.skip-link:focus { transform: translateY(0); }++:focus-visible {+ outline: 2px solid var(--focus);+ outline-offset: 2px;+}+/* On the dark ink-filled wallet button the blue ring loses contrast against+ the fill; pair it with a light inset halo so it clears 3:1 on both surfaces. */+.walletbtn:focus-visible {+ outline-offset: 3px;+ box-shadow: inset 0 0 0 2px var(--on-ink-faint);+}++/* ── Masthead (page chrome, not a SaaS nav) ──────────────────── */+.masthead {+ width: min(var(--ticket-w), 100%);+ display: flex;+ flex-wrap: wrap;+ align-items: center;+ justify-content: space-between;+ gap: var(--space-sm);+ padding-inline: var(--space-2xs);+}+.masthead__service {+ margin: 0;+ font-family: var(--font-code);+ font-size: var(--text-2xs);+ letter-spacing: var(--track-stamp);+ text-transform: uppercase;+ color: var(--muted);+}+.masthead__confirmed {+ margin: 0;+ display: inline-flex;+ align-items: center;+ gap: var(--space-xs);+ line-height: 1;+ font-family: var(--font-code);+ font-size: var(--text-2xs);+ letter-spacing: var(--track-label);+ text-transform: uppercase;+ color: var(--ink-2);+}+.masthead__dot {+ width: 7px; height: 7px;+ border-radius: 50%;+ background: var(--stamp);+ box-shadow: 0 0 0 3px var(--stamp-soft);+}++/* ── The ticket object ───────────────────────────────────────── */+#ticket {+ width: min(var(--ticket-w), 100%);+ display: flex;+ flex-direction: column;+ align-items: stretch;+ gap: var(--space-xl);+}++.ticket {+ position: relative;+ background: var(--stock);+ border-radius: var(--radius);+ /* lifted, slightly punched card stock */+ box-shadow:+ 0 1px 0 0 var(--rule) inset,+ 0 18px 40px -24px var(--cast-deep),+ 0 2px 6px -2px var(--cast-soft);+ /* the printed border that frames every ticket */+ outline: var(--hair) solid var(--rule-strong);+ outline-offset: -7px;+ overflow: hidden;+}++/* ── Main portion ────────────────────────────────────────────── */+.stub-main {+ position: relative;+ padding: clamp(var(--space-xl), 4vw, var(--space-3xl));+ padding-bottom: var(--space-xl);+}++/* reserve room on the right for the validation puck so the title never+ runs under it; the puck is var(--stamp-size) wide + its inset offset */+.nameplate { padding-right: calc(var(--stamp-size) + var(--space-2xl)); }+.nameplate__class {+ margin: 0 0 var(--space-xs);+ font-family: var(--font-code);+ font-size: var(--text-2xs);+ letter-spacing: var(--track-stamp);+ text-transform: uppercase;+ color: var(--stamp);+}+.nameplate__line {+ margin: 0;+ font-family: var(--font-display);+ font-weight: 700;+ font-size: var(--text-3xl);+ line-height: var(--lh-tight);+ letter-spacing: var(--track-tight);+ color: var(--ink);+ /* keep words whole at comfortable widths; the narrow breakpoint switches to+ break-word as a last resort so long names can't overflow (gate 63) */+ overflow-wrap: normal;+ min-width: 0;+}+.nameplate__sub {+ margin: var(--space-sm) 0 0;+ font-size: var(--text-sm);+ color: var(--muted);+ font-style: italic;+}++/* ── Validation stamp (the one accent moment) ────────────────── */+.stamp {+ position: absolute;+ top: clamp(var(--space-xl), 4vw, var(--space-3xl));+ right: clamp(var(--space-xl), 4vw, var(--space-3xl));+ z-index: var(--z-stamp);+ margin: 0;+ width: var(--stamp-size);+ height: var(--stamp-size);+ display: grid;+ place-items: center;+ border: 2px solid var(--stamp);+ border-radius: 50%;+ color: var(--stamp);+ transform: rotate(-13deg);+ /* slightly ink-starved print look */+ opacity: 0.92;+}+.stamp::before {+ content: "";+ position: absolute;+ inset: 5px;+ border: 1px solid var(--stamp);+ border-radius: 50%;+ opacity: 0.55;+}+.stamp__inner {+ display: grid;+ justify-items: center;+ gap: var(--space-3xs);+ text-align: center;+ font-family: var(--font-code);+ text-transform: uppercase;+}+.stamp__top, .stamp__bottom {+ font-size: var(--text-2xs);+ letter-spacing: 0.16em;+}+.stamp__date {+ font-size: var(--text-md);+ font-weight: 700;+ letter-spacing: 0.04em;+}++/* ── Route timeline (dusk → dawn) ────────────────────────────── */+.route {+ margin-top: clamp(var(--space-xl), 4vw, var(--space-2xl));+ padding-top: var(--space-lg);+ border-top: var(--hair) solid var(--rule);+}+.route__h {+ margin: 0 0 var(--space-lg);+ font-family: var(--font-code);+ font-size: var(--text-2xs);+ font-weight: 700;+ letter-spacing: var(--track-stamp);+ text-transform: uppercase;+ color: var(--muted);+}+.route__list {+ list-style: none;+ margin: 0;+ padding: 0;+}+.leg {+ position: relative;+ display: grid;+ grid-template-columns: 4.5rem 1.25rem minmax(0, 1fr);+ align-items: start;+ column-gap: var(--space-md);+ padding-bottom: var(--space-lg);+}+.leg:last-child { padding-bottom: 0; }++/* the connecting rail between station nodes */+.leg:not(:last-child) .leg__node::after {+ content: "";+ position: absolute;+ top: 1.05rem;+ left: 50%;+ transform: translateX(-50%);+ width: 2px;+ height: calc(100% - 0.6rem);+ background: var(--rail-soft);+}+.leg__time {+ font-family: var(--font-code);+ font-size: var(--text-base);+ font-weight: 700;+ color: var(--ink);+ text-align: right;+ line-height: 1.3;+}+.leg__node {+ position: relative;+ justify-self: center;+ margin-top: var(--space-2xs); /* optical: center dot on the time baseline */+ width: var(--node); height: var(--node);+ border-radius: 50%;+ background: var(--stock);+ border: 2px solid var(--rail);+}+.leg--depart .leg__node,+.leg--arrive .leg__node {+ background: var(--stamp);+ border-color: var(--stamp);+}+.leg__body { display: grid; gap: var(--space-3xs); }+.leg__station {+ font-size: var(--text-md);+ font-weight: 600;+ color: var(--ink);+ line-height: var(--lh-snug);+}+.leg--pass .leg__station {+ font-weight: 400;+ color: var(--ink-2);+}+.leg__note {+ font-size: var(--text-sm);+ color: var(--muted);+}++/* ── Berth / passenger details ───────────────────────────────── */+.details {+ margin: var(--space-xl) 0 0;+ display: grid;+ grid-template-columns: repeat(4, minmax(0, 1fr));+ gap: var(--hair);+ background: var(--rule);+ border: var(--hair) solid var(--rule);+ border-radius: var(--radius);+ overflow: hidden;+}+.details__cell {+ margin: 0;+ background: var(--stock-2);+ padding: var(--space-md);+}+.details dt {+ margin: 0 0 var(--space-2xs);+ font-family: var(--font-code);+ font-size: var(--text-2xs);+ letter-spacing: var(--track-label);+ text-transform: uppercase;+ color: var(--muted);+}+.details dd {+ margin: 0;+ font-size: var(--text-md);+ font-weight: 600;+ color: var(--ink);+}++.mono { font-family: var(--font-code); font-weight: 700; letter-spacing: 0.01em; }++/* ── Fare strip ──────────────────────────────────────────────── */+.fare {+ margin-top: var(--space-lg);+ padding: var(--space-md) var(--space-lg);+ background: var(--stock-3);+ border: var(--hair) solid var(--rule);+ border-radius: var(--radius);+}+.fare__line {+ display: flex;+ align-items: baseline;+ justify-content: space-between;+ gap: var(--space-md);+ margin: 0;+ padding: var(--space-2xs) 0;+ font-size: var(--text-sm);+ color: var(--ink-2);+}+.fare__line .mono { font-size: var(--text-sm); color: var(--ink); }+.fare__line--total {+ margin-top: var(--space-xs);+ padding-top: var(--space-sm);+ border-top: var(--hair) dashed var(--rule-strong);+ font-size: var(--text-md);+ font-weight: 600;+ color: var(--ink);+}+.fare__line--total .mono { font-size: var(--text-md); color: var(--ink); }++/* ── Perforated tear edge ────────────────────────────────────── */+.perforation {+ position: relative;+ height: 0;+ /* punched notches, repeating along the seam */+ background:+ radial-gradient(circle at var(--perf-r) 50%,+ var(--canvas) 0 var(--perf-r),+ transparent calc(var(--perf-r) + 0.5px))+ left center / var(--perf-gap) calc(var(--perf-r) * 2) repeat-x;+ /* dashed seam line above the notches */+ border-top: 1.5px dashed var(--perf);+ display: flex;+ align-items: center;+ justify-content: center;+}+.perforation__rule {+ position: relative;+ transform: translateY(-50%);+ background: var(--stock);+ padding: 0 var(--space-sm);+ font-family: var(--font-code);+ font-size: var(--text-2xs);+ letter-spacing: var(--track-label);+ text-transform: uppercase;+ color: var(--faint);+ white-space: nowrap;+}++/* ── Detachable stub ─────────────────────────────────────────── */+.stub {+ background: var(--stock-2);+ padding: clamp(var(--space-lg), 3vw, var(--space-2xl));+ display: grid;+ gap: var(--space-lg);+}+.stub__keep {+ margin: 0;+ font-family: var(--font-code);+ font-size: var(--text-2xs);+ letter-spacing: var(--track-stamp);+ text-transform: uppercase;+ color: var(--stamp);+}+.stub__codes {+ margin: 0;+ display: grid;+ grid-template-columns: repeat(3, minmax(0, 1fr));+ gap: var(--space-lg);+}+.stub__codes dt {+ margin: 0 0 var(--space-2xs);+ font-family: var(--font-code);+ font-size: var(--text-2xs);+ letter-spacing: var(--track-label);+ text-transform: uppercase;+ color: var(--muted);+}+.stub__codes dd { margin: 0; color: var(--ink); }+.mono--lg { font-size: var(--text-md); }++/* a real-feeling barcode strip — pure CSS, no fake chrome */+.barcode {+ height: 3rem;+ border-radius: 2px;+ background:+ repeating-linear-gradient(90deg,+ var(--ink) 0 2px,+ transparent 2px 4px,+ var(--ink) 4px 5px,+ transparent 5px 9px,+ var(--ink) 9px 12px,+ transparent 12px 13px,+ var(--ink) 13px 14px,+ transparent 14px 18px);+ opacity: 0.86;+}+.stub__num {+ margin: calc(-1 * var(--space-sm)) 0 0;+ font-size: var(--text-sm);+ font-weight: 400;+ letter-spacing: 0.18em;+ color: var(--ink-2);+ text-align: center;+}++/* ── Stub actions ────────────────────────────────────────────── */+.stub__actions {+ display: flex;+ flex-wrap: wrap;+ gap: var(--space-sm);+ align-items: center;+}+.walletbtn {+ flex: 1 1 12rem;+ display: inline-flex;+ align-items: center;+ justify-content: space-between;+ gap: var(--space-md);+ min-height: 44px;+ padding: var(--space-sm) var(--space-lg);+ border-radius: var(--radius);+ background: var(--ink);+ color: var(--stock);+ text-decoration: none;+ border: var(--hair) solid var(--ink);+ transition: background var(--dur-short) var(--ease-out),+ transform var(--dur-micro) var(--ease-out);+}+.walletbtn__label {+ font-family: var(--font-body);+ font-weight: 600;+ font-size: var(--text-md);+ line-height: 1;+ white-space: nowrap;+}+.walletbtn__hint {+ font-family: var(--font-code);+ font-size: var(--text-2xs);+ letter-spacing: var(--track-label);+ text-transform: uppercase;+ color: var(--on-ink-faint);+ line-height: 1;+}+.walletbtn:hover { background: var(--ink-2); }+.walletbtn:active { transform: translateY(1px); }++.ghostbtn {+ flex: 0 1 auto;+ min-height: 44px;+ padding: var(--space-sm) var(--space-lg);+ border-radius: var(--radius);+ background: transparent;+ border: var(--hair) solid var(--rule-strong);+ color: var(--ink);+ font-family: var(--font-body);+ font-size: var(--text-md);+ line-height: 1;+ white-space: nowrap;+ cursor: pointer;+ transition: border-color var(--dur-short) var(--ease-out),+ background var(--dur-short) var(--ease-out),+ transform var(--dur-micro) var(--ease-out);+}+.ghostbtn:hover { border-color: var(--ink-2); background: var(--stock-3); }+.ghostbtn:active { transform: translateY(1px); }+.ghostbtn:disabled {+ opacity: 0.55;+ cursor: not-allowed;+ border-color: var(--rule);+ color: var(--faint);+}++/* ── Conditions of carriage (back-of-ticket fine print) ──────── */+.conditions {+ width: min(56ch, 100%);+ align-self: center;+ color: var(--ink-2);+}+.conditions__h {+ margin: 0 0 var(--space-sm);+ font-family: var(--font-code);+ font-size: var(--text-2xs);+ font-weight: 700;+ letter-spacing: var(--track-stamp);+ text-transform: uppercase;+ color: var(--muted);+}+.conditions p {+ margin: 0 0 var(--space-md);+ font-size: var(--text-sm);+ line-height: var(--lh-relaxed);+ max-width: 64ch;+}+.conditions__help { color: var(--muted); }++/* ── Colophon ────────────────────────────────────────────────── */+.colophon {+ width: min(var(--ticket-w), 100%);+ display: flex;+ flex-wrap: wrap;+ align-items: baseline;+ justify-content: space-between;+ gap: var(--space-sm);+ padding-top: var(--space-md);+ border-top: var(--hair) solid var(--rule);+}+.colophon__mark {+ margin: 0;+ font-family: var(--font-display);+ font-weight: 600;+ font-size: var(--text-md);+ color: var(--ink);+ letter-spacing: var(--track-tight);+}+.colophon__fine {+ margin: 0;+ font-size: var(--text-sm);+ color: var(--muted);+}+.colophon__fine .mono { font-size: var(--text-xs); color: var(--ink-2); font-weight: 400; }++/* ── ONE orchestrated motion ─────────────────────────────────────+ The ticket prints, the stub tears free, then the stamp presses in.+ One timeline; nothing else moves. The RESTING state is always visible —+ the intro only plays when JS adds `.is-ready`, and uses `backwards` fill+ so the hidden start lives in the keyframes, never on the base element.+ No-JS, JS-failure, and reduced-motion all leave a fully legible ticket. */+.is-ready .ticket {+ animation: ticket-print var(--dur-long) var(--ease-out) both;+}+.is-ready .stub {+ animation: stub-tear var(--dur-long) var(--ease-out) 80ms both;+}+.is-ready .stamp {+ animation: stamp-press 360ms var(--ease-out) calc(var(--dur-long) - 60ms) both;+}++/* Settled state — JS adds `.is-done` when the intro ends (or after a+ timeout). Cancels the animation and pins the resting values, so even an+ environment that freezes the animation clock lands on a visible ticket. */+.is-done .ticket,+.is-done .stub,+.is-done .stamp { animation: none; }+.is-done .ticket { opacity: 1; transform: none; }+.is-done .stamp { opacity: 0.92; transform: rotate(-13deg); }++@keyframes ticket-print {+ from { opacity: 0; transform: translateY(10px); }+ to { opacity: 1; transform: translateY(0); }+}+@keyframes stub-tear {+ 0% { transform: translateY(-6px); clip-path: inset(0 0 100% 0); }+ 60% { clip-path: inset(0 0 0 0); }+ 100% { transform: translateY(0); clip-path: inset(0 0 0 0); }+}+@keyframes stamp-press {+ 0% { opacity: 0; transform: rotate(-13deg) scale(1.6); }+ 70% { opacity: 0.92; transform: rotate(-13deg) scale(0.94); }+ 100% { opacity: 0.92; transform: rotate(-13deg) scale(1); }+}++@media (prefers-reduced-motion: reduce) {+ .ticket, .stub, .stamp { animation: none !important; }+ .ticket { opacity: 1; transform: none; }+ .stamp { opacity: 0.92; transform: rotate(-13deg); }+ .skip-link { transition: none; }+ .walletbtn, .ghostbtn { transition: none; }+}++/* ── Responsive ──────────────────────────────────────────────── */+@media (max-width: 34rem) {+ .stamp {+ width: var(--stamp-size-s);+ height: var(--stamp-size-s);+ top: var(--space-lg);+ right: var(--space-lg);+ }+ .stamp__date { font-size: var(--text-base); }+ .stamp__top, .stamp__bottom { font-size: var(--text-2xs); }+ /* reserve a column for the stamp puck so the title wraps to its left,+ never under it; the puck is var(--stamp-size-s) + its inset offset */+ .nameplate { padding-right: var(--stamp-clear); }+ /* narrow widths: allow last-resort intra-word breaks so a long station/line+ name can never overflow the slimmer column (gate 63) */+ .nameplate__line { font-size: var(--text-xl); overflow-wrap: break-word; }++ .perforation__rule { letter-spacing: 0.08em; }++ .details { grid-template-columns: repeat(2, minmax(0, 1fr)); }+ .stub__codes { grid-template-columns: repeat(2, minmax(0, 1fr)); }+ .leg { grid-template-columns: 3.5rem 1rem minmax(0, 1fr); column-gap: var(--space-sm); }+}++@media (max-width: 24rem) {+ .stub__codes { grid-template-columns: minmax(0, 1fr); }+ .walletbtn, .ghostbtn { flex: 1 1 100%; justify-content: center; }+}diff --git a/site/examples/custom-02/tokens.css b/site/examples/custom-02/tokens.cssnew file mode 100644index 0000000..317995f--- /dev/null+++ b/site/examples/custom-02/tokens.css@@ -0,0 +1,103 @@+/* Hallmark · custom tokens — one-off system for the Cascadia Nightjar ticket.+ Not a catalog theme; not written back to site/css/tokens.css.+ Palette: warm unbleached ticket card stock + ink-navy night + a single+ vermilion validation-stamp accent. Sea-teal is a structural rail tint only. */++:root {+ /* ── Surfaces · warm unbleached card stock (dusk paper), no pure #fff ── */+ --stock: oklch(93.5% 0.016 78); /* the ticket card itself */+ --stock-2: oklch(91% 0.020 76); /* stub / recessed panels */+ --stock-3: oklch(88% 0.024 72); /* punched / fare strip */+ --canvas: oklch(86% 0.022 70); /* the desk the ticket sits on */+ --canvas-edge: oklch(82% 0.026 66); /* outer vignette of the desk */++ /* ── Rules · printed hairlines, tinted toward the stock hue ── */+ --rule: oklch(78% 0.020 70);+ --rule-strong: oklch(64% 0.022 66);+ --perf: oklch(72% 0.022 68); /* perforation notch shadow */++ /* ── Ink · deep night-navy, never pure #000 ── */+ --ink: oklch(26% 0.030 252); /* primary print */+ --ink-2: oklch(34% 0.028 250); /* secondary print */+ --muted: oklch(46% 0.024 248); /* labels, fine print */+ --faint: oklch(58% 0.020 246); /* tertiary / disabled print */++ /* ── Accent · vermilion validation stamp (the one signal) ── */+ --stamp: oklch(56% 0.190 32);+ --stamp-ink: oklch(97% 0.012 60); /* text on a stamp fill */+ --stamp-soft: oklch(56% 0.190 32 / 0.10);++ /* ── Rail · muted sea-teal · structural timeline only (kept tiny) ── */+ --rail: oklch(54% 0.060 215);+ --rail-soft: oklch(54% 0.060 215 / 0.16);++ --focus: oklch(50% 0.140 252); /* keyboard ring — ≥3:1 on stock */++ /* ── Text on the ink-filled wallet button (hint line) ── */+ --on-ink-faint: oklch(82% 0.020 252);++ /* ── Cast shadow of the lifted card (derived from ink) ── */+ --cast-soft: oklch(26% 0.030 252 / 0.18);+ --cast-deep: oklch(26% 0.030 252 / 0.45);++ /* ── Type · characterful free Google faces · none on the ban-list ──+ display: Bodoni Moda (engraved didone masthead / rail-poster nameplate)+ body: Spectral (refined screen serif, strong at itinerary sizes)+ code: Space Mono (dot-matrix booking / coach / berth / time codes) */+ --font-display: "Bodoni Moda", "Times New Roman", Georgia, serif;+ --font-body: "Spectral", Georgia, "Times New Roman", serif;+ --font-code: "Space Mono", ui-monospace, "Cascadia Mono", monospace;++ /* ── Type scale ── */+ --text-2xs: 0.6875rem;+ --text-xs: 0.75rem;+ --text-sm: 0.8125rem;+ --text-base: 0.95rem;+ --text-md: 1.0625rem;+ --text-lg: 1.3125rem;+ --text-xl: 1.6875rem;+ --text-2xl: 2.125rem;+ --text-3xl: clamp(2.5rem, 4vw + 1rem, 3.5rem);++ --lh-tight: 1.04;+ --lh-snug: 1.22;+ --lh-normal: 1.5;+ --lh-relaxed: 1.62;++ --track-stamp: 0.34em; /* wide letterspacing for printed mono labels */+ --track-label: 0.18em;+ --track-tight: -0.01em;++ /* ── Spacing · multiples of 4px on a named scale ── */+ --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: 2rem;+ --space-2xl: 3rem;+ --space-3xl: 4rem;+ --space-4xl: 6rem;++ /* ── Object geometry · the drawn ticket furniture ── */+ --ticket-w: 42rem; /* the ticket's natural width */+ --perf-gap: 13px; /* notch pitch along the tear edge */+ --perf-r: 6px; /* notch radius */+ --radius: 3px; /* slight card-corner round, like cut stock */+ --hair: 1px;+ --node: 13px; /* timeline station dot diameter */+ --stamp-size: 6.6rem; /* validation puck diameter (desktop) */+ --stamp-size-s: 4.8rem; /* validation puck diameter (narrow) */+ --stamp-clear: 6rem; /* nameplate right-inset so the title clears the puck on narrow */++ --ease-out: cubic-bezier(0.16, 1, 0.3, 1);+ --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);+ --dur-micro: 130ms;+ --dur-short: 260ms;+ --dur-long: 680ms;++ --z-base: 1;+ --z-raised: 10;+ --z-stamp: 20;+}diff --git a/site/examples/custom-03/index.html b/site/examples/custom-03/index.htmlnew file mode 100644index 0000000..cb2c25c--- /dev/null+++ b/site/examples/custom-03/index.html@@ -0,0 +1,467 @@+<!DOCTYPE html>+<html lang="en">+<head>+ <meta charset="UTF-8" />+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />+ <title>The Periodic Index of Blends — Ferns & Fathom Tea House</title>+ <meta name="description" content="Every blend Ferns & Fathom steeps, placed by how it is made: rows by process, columns by body. Select an element to read its full assay." />++ <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=Fraunces:opsz,[email protected],400;9..144,500;9..144,600;9..144,700&family=Newsreader:wght@400;500;600&family=Space+Mono:wght@400;700&display=swap" rel="stylesheet" />++ <link rel="stylesheet" href="tokens.css" />+ <link rel="stylesheet" href="styles.css" />+</head>+<body>+ <a class="skip-link" href="#table">Skip to the table</a>++ <header class="masthead" role="banner">+ <div class="masthead__inner">+ <a class="wordmark" href="#top" id="top">+ <span class="wordmark__mark" aria-hidden="true">Ff</span>+ <span class="wordmark__name">Ferns & Fathom</span>+ <span class="wordmark__sub">Tea House · est. an imaginary spring</span>+ </a>+ <nav class="masthead__nav" aria-label="Primary">+ <a href="#reading">How to read it</a>+ <a href="#table">The index</a>+ </nav>+ </div>+ </header>++ <main id="main">++ <!-- Intro / the central explainer ------------------------------- -->+ <section class="intro" aria-labelledby="intro-title">+ <p class="eyebrow">The Periodic Index of Blends</p>+ <h1 class="intro__title" id="intro-title">+ Twenty-eight teas, placed by how each one is made.+ </h1>+ <p class="intro__lede">+ We stopped writing our menu as a list. A list flattens a leaf that has+ been withered, bruised, oxidised and fired into a single price and a+ single line. So we built a table instead — rows for what the leaf+ went through, columns for how it lands on the tongue. The grid is the+ menu. Pick a cell to read its assay.+ </p>++ <dl class="axes" aria-label="How the table is arranged">+ <div class="axes__row">+ <dt>Down the rows</dt>+ <dd>Process, least to most worked: white, green, oolong, black, dark.</dd>+ </div>+ <div class="axes__row">+ <dt>Across the columns</dt>+ <dd>Body on the cup, delicate on the left to full on the right.</dd>+ </div>+ <div class="axes__row">+ <dt>The detached row</dt>+ <dd>Caffeine-free tisanes — herbs and flowers, off the leaf entirely.</dd>+ </div>+ </dl>+ </section>++ <!-- The table + detail panel ------------------------------------ -->+ <section class="catalog" id="table" aria-labelledby="table-title">+ <h2 class="visually-hidden" id="table-title">The index of blends</h2>++ <div class="catalog__grid-wrap">++ <!-- legend of families -->+ <ul class="legend" id="reading" aria-label="Process families">+ <li><span class="legend__chip legend__chip--white" aria-hidden="true"></span>White</li>+ <li><span class="legend__chip legend__chip--green" aria-hidden="true"></span>Green</li>+ <li><span class="legend__chip legend__chip--oolong" aria-hidden="true"></span>Oolong</li>+ <li><span class="legend__chip legend__chip--black" aria-hidden="true"></span>Black</li>+ <li><span class="legend__chip legend__chip--puer" aria-hidden="true"></span>Dark / pu‑er</li>+ <li><span class="legend__chip legend__chip--herb" aria-hidden="true"></span>Tisane</li>+ </ul>++ <!-- THE TABLE: each blend is a focusable element cell.+ data-* attributes feed the detail panel via script.js;+ the cell content stays meaningful with JS off. -->+ <div class="ptable" role="list" aria-label="Blends, arranged by process and body">++ <!-- row 1 · white -->+ <button class="cell" data-fam="white" style="--col:1" role="listitem"+ data-num="01" data-sym="Sv" data-name="Silver Veil"+ data-fam-label="White" data-body="Whisper" data-caf="15" data-temp="80" data-time="3"+ data-origin="High terraces, the Cloud Coast"+ data-notes="Downy buds, barely worked. Melon water, warm hay, a finish like the inside of a peony.">+ <span class="cell__num">01</span>+ <span class="cell__sym">Sv</span>+ <span class="cell__name">Silver Veil</span>+ <span class="cell__stat"><span class="cell__caf">15</span><span class="cell__unit">mg</span></span>+ </button>++ <button class="cell" data-fam="white" style="--col:2" role="listitem"+ data-num="02" data-sym="Pn" data-name="Peony Drift"+ data-fam-label="White" data-body="Soft" data-caf="22" data-temp="82" data-time="3"+ data-origin="Old gardens below the Cloud Coast"+ data-notes="Whole leaf-and-bud. Apricot skin and almond, a little woodsmoke far off.">+ <span class="cell__num">02</span>+ <span class="cell__sym">Pn</span>+ <span class="cell__name">Peony Drift</span>+ <span class="cell__stat"><span class="cell__caf">22</span><span class="cell__unit">mg</span></span>+ </button>++ <button class="cell" data-fam="white" style="--col:8" role="listitem"+ data-num="03" data-sym="Ag" data-name="Aged Gardenia"+ data-fam-label="White" data-body="Round" data-caf="28" data-temp="90" data-time="4"+ data-origin="Pressed cakes, cellared seven years"+ data-notes="A white tea grown sweet with age. Dried date, honeycomb, a resinous depth that pretends to be black tea.">+ <span class="cell__num">03</span>+ <span class="cell__sym">Ag</span>+ <span class="cell__name">Aged Gardenia</span>+ <span class="cell__stat"><span class="cell__caf">28</span><span class="cell__unit">mg</span></span>+ </button>++ <!-- row 2 · green -->+ <button class="cell" data-fam="green" style="--col:1" role="listitem"+ data-num="04" data-sym="Sn" data-name="Snowbreak"+ data-fam-label="Green" data-body="Whisper" data-caf="20" data-temp="75" data-time="2"+ data-origin="First flush, the Riverfog valleys"+ data-notes="Earliest pluck of the year. Sweet pea, chestnut, a sugarcane snap on the swallow.">+ <span class="cell__num">04</span>+ <span class="cell__sym">Sn</span>+ <span class="cell__name">Snowbreak</span>+ <span class="cell__stat"><span class="cell__caf">20</span><span class="cell__unit">mg</span></span>+ </button>++ <button class="cell" data-fam="green" style="--col:2" role="listitem"+ data-num="05" data-sym="Jp" data-name="Jade Pellet"+ data-fam-label="Green" data-body="Soft" data-caf="25" data-temp="78" data-time="2"+ data-origin="Hand-rolled, the Terrace South"+ data-notes="Tightly curled leaf that opens as it steeps. Steamed greens, toasted rice, a brothy savour.">+ <span class="cell__num">05</span>+ <span class="cell__sym">Jp</span>+ <span class="cell__name">Jade Pellet</span>+ <span class="cell__stat"><span class="cell__caf">25</span><span class="cell__unit">mg</span></span>+ </button>++ <button class="cell" data-fam="green" style="--col:3" role="listitem"+ data-num="06" data-sym="Mt" data-name="Stone Matcha"+ data-fam-label="Green" data-body="Bright" data-caf="68" data-temp="72" data-time="1"+ data-origin="Shade-grown, ground on granite"+ data-notes="Whole leaf, milled to dust, whisked not steeped. Spinach and cream, a marine edge, a long sweet hum.">+ <span class="cell__num">06</span>+ <span class="cell__sym">Mt</span>+ <span class="cell__name">Stone Matcha</span>+ <span class="cell__stat"><span class="cell__caf">68</span><span class="cell__unit">mg</span></span>+ </button>++ <button class="cell" data-fam="green" style="--col:4" role="listitem"+ data-num="07" data-sym="Gp" data-name="Toasted Gunpowder"+ data-fam-label="Green" data-body="Bold" data-caf="35" data-temp="80" data-time="3"+ data-origin="Pan-fired, pellet-rolled, the Old Kiln"+ data-notes="Fired hard until it rings. Roast chestnut, mineral smoke, a brisk almost-bitter pull that wants a second cup.">+ <span class="cell__num">07</span>+ <span class="cell__sym">Gp</span>+ <span class="cell__name">Toasted Gunpowder</span>+ <span class="cell__stat"><span class="cell__caf">35</span><span class="cell__unit">mg</span></span>+ </button>++ <button class="cell" data-fam="green" style="--col:8" role="listitem"+ data-num="08" data-sym="Gm" data-name="Genmai Hearth"+ data-fam-label="Green" data-body="Round" data-caf="30" data-temp="82" data-time="3"+ data-origin="Green leaf cut with fire-popped rice"+ data-notes="Comfort in a cup. Popcorn, warm grain, a green-tea brightness underneath the toast.">+ <span class="cell__num">08</span>+ <span class="cell__sym">Gm</span>+ <span class="cell__name">Genmai Hearth</span>+ <span class="cell__stat"><span class="cell__caf">30</span><span class="cell__unit">mg</span></span>+ </button>++ <!-- row 3 · oolong -->+ <button class="cell" data-fam="oolong" style="--col:2" role="listitem"+ data-num="09" data-sym="Mi" data-name="Milk Orchid"+ data-fam-label="Oolong" data-body="Soft" data-caf="38" data-temp="90" data-time="3"+ data-origin="Lightly oxidised, the High Mist gardens"+ data-notes="Barely oxidised, rolled in tight balls. Cream, lilac, fresh butter — the famous milk note, grown not added.">+ <span class="cell__num">09</span>+ <span class="cell__sym">Mi</span>+ <span class="cell__name">Milk Orchid</span>+ <span class="cell__stat"><span class="cell__caf">38</span><span class="cell__unit">mg</span></span>+ </button>++ <button class="cell" data-fam="oolong" style="--col:3" role="listitem"+ data-num="10" data-sym="Iy" data-name="Iron Lily"+ data-fam-label="Oolong" data-body="Bright" data-caf="42" data-temp="92" data-time="4"+ data-origin="Mid-oxidised, the Anvil ridge"+ data-notes="Roasted between steepings for years. Toasted oats, baked plum, a warm mineral spine the locals call rock-rhyme.">+ <span class="cell__num">10</span>+ <span class="cell__sym">Iy</span>+ <span class="cell__name">Iron Lily</span>+ <span class="cell__stat"><span class="cell__caf">42</span><span class="cell__unit">mg</span></span>+ </button>++ <button class="cell" data-fam="oolong" style="--col:6" role="listitem"+ data-num="11" data-sym="Ho" data-name="Honey Phoenix"+ data-fam-label="Oolong" data-body="Deep" data-caf="45" data-temp="95" data-time="4"+ data-origin="Single-bush, the Phoenix shoulder"+ data-notes="An oolong that smells like a fruit stand. Lychee, honey, orchid — high and loud, then a long cooling finish.">+ <span class="cell__num">11</span>+ <span class="cell__sym">Ho</span>+ <span class="cell__name">Honey Phoenix</span>+ <span class="cell__stat"><span class="cell__caf">45</span><span class="cell__unit">mg</span></span>+ </button>++ <button class="cell" data-fam="oolong" style="--col:7" role="listitem"+ data-num="12" data-sym="Cr" data-name="Charcoal Robe"+ data-fam-label="Oolong" data-body="Full" data-caf="48" data-temp="96" data-time="4"+ data-origin="Heavily roasted, the Cliff terraces"+ data-notes="Dark-roasted to the edge of coffee. Caramel, roasted nut, a wisp of campfire and a sweetness that keeps surfacing.">+ <span class="cell__num">12</span>+ <span class="cell__sym">Cr</span>+ <span class="cell__name">Charcoal Robe</span>+ <span class="cell__stat"><span class="cell__caf">48</span><span class="cell__unit">mg</span></span>+ </button>++ <!-- row 4 · black -->+ <button class="cell" data-fam="black" style="--col:3" role="listitem"+ data-num="13" data-sym="Go" data-name="Golden Otter"+ data-fam-label="Black" data-body="Bright" data-caf="52" data-temp="92" data-time="4"+ data-origin="Tippy buds, the Otterbend river"+ data-notes="All golden tips, no bitterness. Cocoa, sweet potato, malt — a black tea you can drink without milk and never miss it.">+ <span class="cell__num">13</span>+ <span class="cell__sym">Go</span>+ <span class="cell__name">Golden Otter</span>+ <span class="cell__stat"><span class="cell__caf">52</span><span class="cell__unit">mg</span></span>+ </button>++ <button class="cell" data-fam="black" style="--col:4" role="listitem"+ data-num="14" data-sym="Sm" data-name="Smoke Hollow"+ data-fam-label="Black" data-body="Bold" data-caf="55" data-temp="95" data-time="4"+ data-origin="Pinewood-smoked, the Hollow kilns"+ data-notes="Dried over resinous pine. Campfire, smoked stone-fruit, single-malt — a tea that argues. Add a splash of milk and it turns to caramel.">+ <span class="cell__num">14</span>+ <span class="cell__sym">Sm</span>+ <span class="cell__name">Smoke Hollow</span>+ <span class="cell__stat"><span class="cell__caf">55</span><span class="cell__unit">mg</span></span>+ </button>++ <button class="cell" data-fam="black" style="--col:6" role="listitem"+ data-num="15" data-sym="Br" data-name="Bergamot Reverie"+ data-fam-label="Black" data-body="Deep" data-caf="50" data-temp="95" data-time="4"+ data-origin="Black base scented with bergamot oil"+ data-notes="Our house Earl. Bright citrus oil over a malty base, a cornflower in the tin for luck. Brisk, fragrant, unmistakable.">+ <span class="cell__num">15</span>+ <span class="cell__sym">Br</span>+ <span class="cell__name">Bergamot Reverie</span>+ <span class="cell__stat"><span class="cell__caf">50</span><span class="cell__unit">mg</span></span>+ </button>++ <button class="cell" data-fam="black" style="--col:7" role="listitem"+ data-num="16" data-sym="Mb" data-name="Malt & Bracken"+ data-fam-label="Black" data-body="Full" data-caf="58" data-temp="98" data-time="5"+ data-origin="Second-flush, the Bracken estate"+ data-notes="Brisk and brawny, built for morning. Malt, dark honey, a muscatel grape lift. Takes milk like it was born for it.">+ <span class="cell__num">16</span>+ <span class="cell__sym">Mb</span>+ <span class="cell__name">Malt & Bracken</span>+ <span class="cell__stat"><span class="cell__caf">58</span><span class="cell__unit">mg</span></span>+ </button>++ <button class="cell" data-fam="black" style="--col:8" role="listitem"+ data-num="17" data-sym="Spx" data-name="Spice Caravan"+ data-fam-label="Black" data-body="Round" data-caf="54" data-temp="96" data-time="5"+ data-origin="Black leaf, cardamom, clove, ginger, pepper"+ data-notes="A masala built for boiling with milk. Cardamom forward, warm pepper, a clove-and-ginger heat that lingers in the chest.">+ <span class="cell__num">17</span>+ <span class="cell__sym">Spx</span>+ <span class="cell__name">Spice Caravan</span>+ <span class="cell__stat"><span class="cell__caf">54</span><span class="cell__unit">mg</span></span>+ </button>++ <!-- row 5 · dark / pu-er -->+ <button class="cell" data-fam="puer" style="--col:6" role="listitem"+ data-num="18" data-sym="Rl" data-name="River Loam"+ data-fam-label="Dark" data-body="Deep" data-caf="40" data-temp="98" data-time="5"+ data-origin="Ripe pile-fermented cake, the Delta"+ data-notes="Fermented dark and smooth. Wet earth, dark chocolate, a mushroom-and-camphor depth. Steeps a dozen times and stays sweet.">+ <span class="cell__num">18</span>+ <span class="cell__sym">Rl</span>+ <span class="cell__name">River Loam</span>+ <span class="cell__stat"><span class="cell__caf">40</span><span class="cell__unit">mg</span></span>+ </button>++ <button class="cell" data-fam="puer" style="--col:7" role="listitem"+ data-num="19" data-sym="An" data-name="Ancient Knot"+ data-fam-label="Dark" data-body="Full" data-caf="46" data-temp="98" data-time="5"+ data-origin="Old-growth raw cake, cellared a decade"+ data-notes="Raw, aged, alive. Dried fruit, leather, forest floor, a bitterness that turns to honey on the second wave. The cellar's pride.">+ <span class="cell__num">19</span>+ <span class="cell__sym">An</span>+ <span class="cell__name">Ancient Knot</span>+ <span class="cell__stat"><span class="cell__caf">46</span><span class="cell__unit">mg</span></span>+ </button>++ <!-- detached row · tisanes (caffeine-free) -->+ <button class="cell cell--detached" data-fam="herb" style="--col:1;--row:7" role="listitem"+ data-num="20" data-sym="Cm" data-name="Chamomile Field"+ data-fam-label="Tisane" data-body="Whisper" data-caf="0" data-temp="98" data-time="6"+ data-origin="Whole dried flower-heads"+ data-notes="The classic evening cup. Apple, hay, honey — soft and round, the colour of late sun. No leaf, no caffeine.">+ <span class="cell__num">20</span>+ <span class="cell__sym">Cm</span>+ <span class="cell__name">Chamomile Field</span>+ <span class="cell__stat"><span class="cell__caf">0</span><span class="cell__unit">mg</span></span>+ </button>++ <button class="cell cell--detached" data-fam="herb" style="--col:2;--row:7" role="listitem"+ data-num="21" data-sym="Pe" data-name="Peppermint Cliff"+ data-fam-label="Tisane" data-body="Bright" data-caf="0" data-temp="98" data-time="6"+ data-origin="Single-estate peppermint leaf"+ data-notes="Cold to the back of the throat, clean to the finish. Pure mint oil, a touch of sweetness, nothing to hide behind.">+ <span class="cell__num">21</span>+ <span class="cell__sym">Pe</span>+ <span class="cell__name">Peppermint Cliff</span>+ <span class="cell__stat"><span class="cell__caf">0</span><span class="cell__unit">mg</span></span>+ </button>++ <button class="cell cell--detached" data-fam="herb" style="--col:3;--row:7" role="listitem"+ data-num="22" data-sym="Lv" data-name="Lavender Vespers"+ data-fam-label="Tisane" data-body="Soft" data-caf="0" data-temp="96" data-time="5"+ data-origin="Culinary lavender and linden flower"+ data-notes="Floral but not soapy — we keep the lavender quiet. Linden honey, a little vanilla, a calm that arrives by the second sip.">+ <span class="cell__num">22</span>+ <span class="cell__sym">Lv</span>+ <span class="cell__name">Lavender Vespers</span>+ <span class="cell__stat"><span class="cell__caf">0</span><span class="cell__unit">mg</span></span>+ </button>++ <button class="cell cell--detached" data-fam="herb" style="--col:4;--row:7" role="listitem"+ data-num="23" data-sym="Rb" data-name="Red Bush Ember"+ data-fam-label="Tisane" data-body="Round" data-caf="0" data-temp="98" data-time="6"+ data-origin="Oxidised rooibos, the Ember flats"+ data-notes="Naturally sweet, the colour of garnet. Vanilla, toasted nut, a faint woodiness. Takes milk, takes spice, takes ice.">+ <span class="cell__num">23</span>+ <span class="cell__sym">Rb</span>+ <span class="cell__name">Red Bush Ember</span>+ <span class="cell__stat"><span class="cell__caf">0</span><span class="cell__unit">mg</span></span>+ </button>++ <button class="cell cell--detached" data-fam="herb" style="--col:5;--row:7" role="listitem"+ data-num="24" data-sym="Tu" data-name="Turmeric Sun"+ data-fam-label="Tisane" data-body="Bold" data-caf="0" data-temp="98" data-time="7"+ data-origin="Turmeric, ginger, black pepper, orange peel"+ data-notes="A warming golden brew. Earthy turmeric, ginger heat, a citrus lift and a pepper bite that makes the whole thing work.">+ <span class="cell__num">24</span>+ <span class="cell__sym">Tu</span>+ <span class="cell__name">Turmeric Sun</span>+ <span class="cell__stat"><span class="cell__caf">0</span><span class="cell__unit">mg</span></span>+ </button>++ <button class="cell cell--detached" data-fam="herb" style="--col:6;--row:7" role="listitem"+ data-num="25" data-sym="Hi" data-name="Hibiscus Tide"+ data-fam-label="Tisane" data-body="Bright" data-caf="0" data-temp="98" data-time="6"+ data-origin="Whole hibiscus calyx and rosehip"+ data-notes="Tart, scarlet, loud. Cranberry, pomegranate, a clean acid snap. Magnificent over ice with a slice of orange.">+ <span class="cell__num">25</span>+ <span class="cell__sym">Hi</span>+ <span class="cell__name">Hibiscus Tide</span>+ <span class="cell__stat"><span class="cell__caf">0</span><span class="cell__unit">mg</span></span>+ </button>++ <button class="cell cell--detached" data-fam="herb" style="--col:7;--row:7" role="listitem"+ data-num="26" data-sym="Gv" data-name="Ginger Vault"+ data-fam-label="Tisane" data-body="Full" data-caf="0" data-temp="98" data-time="7"+ data-origin="Dried ginger root and lemongrass"+ data-notes="Heat with a purpose. Sharp fresh ginger, lemongrass lift, a long warming burn. The cup you want when something aches.">+ <span class="cell__num">26</span>+ <span class="cell__sym">Gv</span>+ <span class="cell__name">Ginger Vault</span>+ <span class="cell__stat"><span class="cell__caf">0</span><span class="cell__unit">mg</span></span>+ </button>++ <button class="cell cell--detached" data-fam="herb" style="--col:8;--row:7" role="listitem"+ data-num="27" data-sym="Ya" data-name="Yaupon Holler"+ data-fam-label="Tisane" data-body="Deep" data-caf="0" data-temp="92" data-time="5"+ data-origin="Roasted yaupon holly leaf"+ data-notes="The one leaf that breaks the rule — an herb that drinks like a tea. Roasted, smooth, faintly grassy. We keep ours decaffeinated.">+ <span class="cell__num">27</span>+ <span class="cell__sym">Ya</span>+ <span class="cell__name">Yaupon Holler</span>+ <span class="cell__stat"><span class="cell__caf">0</span><span class="cell__unit">mg</span></span>+ </button>++ <button class="cell cell--detached" data-fam="herb" style="--col:9;--row:7" role="listitem"+ data-num="28" data-sym="Ts" data-name="Tulsi Sanctum"+ data-fam-label="Tisane" data-body="Round" data-caf="0" data-temp="96" data-time="6"+ data-origin="Three-leaf holy basil, sun-dried"+ data-notes="Herbaceous and clarifying. Clove, mint, a peppery basil warmth. Tastes the way a deep breath feels.">+ <span class="cell__num">28</span>+ <span class="cell__sym">Ts</span>+ <span class="cell__name">Tulsi Sanctum</span>+ <span class="cell__stat"><span class="cell__caf">0</span><span class="cell__unit">mg</span></span>+ </button>++ </div><!-- /.ptable -->+ </div><!-- /.catalog__grid-wrap -->++ <!-- DETAIL PANEL · the assay of the selected element ----------- -->+ <aside class="assay" id="assay" aria-labelledby="assay-name" aria-live="polite">+ <p class="assay__eyebrow">+ <span class="assay__index" id="assay-index">01</span>+ <span class="assay__fam" id="assay-fam">White</span>+ </p>++ <div class="assay__plate" aria-hidden="true">+ <span class="assay__sym" id="assay-sym">Sv</span>+ </div>++ <h3 class="assay__name" id="assay-name">Silver Veil</h3>+ <p class="assay__origin" id="assay-origin">High terraces, the Cloud Coast</p>++ <dl class="assay__stats">+ <div>+ <dt>Caffeine</dt>+ <dd><span class="assay__caf" id="assay-caf">15</span> mg<span class="assay__caf-note"> / cup</span></dd>+ </div>+ <div>+ <dt>Water</dt>+ <dd><span id="assay-temp">80</span>°C</dd>+ </div>+ <div>+ <dt>Steep</dt>+ <dd><span id="assay-time">3</span> min</dd>+ </div>+ <div>+ <dt>Body</dt>+ <dd id="assay-body">Whisper</dd>+ </div>+ </dl>++ <p class="assay__notes" id="assay-notes">+ Downy buds, barely worked. Melon water, warm hay, a finish like the inside of a peony.+ </p>++ <p class="assay__hint">Select any cell in the table to read its assay.</p>+ </aside>++ </section>++ <!-- closing statement ------------------------------------------- -->+ <section class="coda" aria-labelledby="coda-title">+ <h2 class="coda__title" id="coda-title">+ Twenty-eight cups, one honest map.+ </h2>+ <p class="coda__line">+ Nothing on this table is rare for the sake of rare. We sell what we like+ to drink, arranged so you can find the cup that matches the hour.+ </p>+ </section>++ </main>++ <footer class="site-footer" role="contentinfo">+ <p class="site-footer__statement">+ Ferns & Fathom keep a kettle on and the table open.+ <span class="site-footer__sub">A wholly fictional tea house, drawn for a design study.</span>+ </p>+ </footer>++ <script src="script.js"></script>+</body>+</html>diff --git a/site/examples/custom-03/script.js b/site/examples/custom-03/script.jsnew file mode 100644index 0000000..9ca09be--- /dev/null+++ b/site/examples/custom-03/script.js@@ -0,0 +1,120 @@+/* Ferns & Fathom — periodic index of blends.+ * The table cells are the single source of truth: each <button class="cell">+ * carries its blend in data-* attributes. Selecting a cell copies those into+ * the assay panel. No duplicated data map, so nothing can drift out of sync.+ *+ * The ONE orchestrated motion: on select, the panel content lifts + settles+ * (.is-swapping for a frame). Honoured-off under prefers-reduced-motion.+ */+(function () {+ "use strict";++ var grid = document.querySelector(".ptable");+ var assay = document.getElementById("assay");+ if (!grid || !assay) return;++ var cells = Array.prototype.slice.call(grid.querySelectorAll(".cell"));++ var out = {+ index: document.getElementById("assay-index"),+ fam: document.getElementById("assay-fam"),+ sym: document.getElementById("assay-sym"),+ name: document.getElementById("assay-name"),+ origin: document.getElementById("assay-origin"),+ caf: document.getElementById("assay-caf"),+ temp: document.getElementById("assay-temp"),+ time: document.getElementById("assay-time"),+ body: document.getElementById("assay-body"),+ notes: document.getElementById("assay-notes")+ };++ var reduceMotion = window.matchMedia+ ? window.matchMedia("(prefers-reduced-motion: reduce)")+ : { matches: false };++ function fill(cell) {+ var d = cell.dataset;+ out.index.textContent = d.num;+ out.fam.textContent = d.famLabel;+ out.sym.textContent = d.sym;+ out.name.textContent = d.name;+ out.origin.textContent = d.origin;+ out.caf.textContent = d.caf;+ out.temp.textContent = d.temp;+ out.time.textContent = d.time;+ out.body.textContent = d.body;+ out.notes.textContent = d.notes;+ }++ var swapTimer = null;+ function select(cell, opts) {+ opts = opts || {};+ if (cell.getAttribute("aria-pressed") === "true" && !opts.force) return;++ cells.forEach(function (c) { c.setAttribute("aria-pressed", "false"); });+ cell.setAttribute("aria-pressed", "true");++ if (reduceMotion.matches || opts.silent) {+ fill(cell);+ } else {+ // one orchestrated moment: content lifts out, swaps, settles back in+ assay.classList.add("is-swapping");+ window.clearTimeout(swapTimer);+ swapTimer = window.setTimeout(function () {+ fill(cell);+ // next frame: release the lift so it eases back to rest+ requestAnimationFrame(function () {+ assay.classList.remove("is-swapping");+ });+ }, 150);+ }+ }++ cells.forEach(function (cell) {+ cell.setAttribute("aria-pressed", "false");+ cell.addEventListener("click", function () { select(cell); });+ });++ // arrow-key roving across the spatial grid for keyboard users.+ // (Tab order already works; arrows make the table feel like a table.)+ grid.addEventListener("keydown", function (e) {+ var current = document.activeElement;+ if (!current || !current.classList || !current.classList.contains("cell")) return;+ var i = cells.indexOf(current);+ if (i === -1) return;++ var col = parseInt(getComputedStyle(current).getPropertyValue("--col"), 10) || 0;+ var next = null;++ if (e.key === "ArrowRight") {+ next = cells[i + 1];+ } else if (e.key === "ArrowLeft") {+ next = cells[i - 1];+ } else if (e.key === "ArrowDown" || e.key === "ArrowUp") {+ // move to the nearest cell in the adjacent populated row sharing column+ var dir = e.key === "ArrowDown" ? 1 : -1;+ var pool = cells+ .map(function (c, idx) { return { c: c, idx: idx }; })+ .filter(function (o) { return (dir > 0 ? o.idx > i : o.idx < i); });+ if (dir < 0) pool.reverse();+ var best = null, bestGap = Infinity;+ for (var k = 0; k < pool.length; k++) {+ var ccol = parseInt(getComputedStyle(pool[k].c).getPropertyValue("--col"), 10) || 0;+ var gap = Math.abs(ccol - col);+ if (gap < bestGap) { bestGap = gap; best = pool[k].c; }+ if (gap === 0) break;+ }+ next = best;+ } else {+ return;+ }++ if (next) {+ e.preventDefault();+ next.focus();+ }+ });++ // initialise with element 01 so the panel is never empty+ if (cells.length) select(cells[0], { silent: true, force: true });+})();diff --git a/site/examples/custom-03/styles.css b/site/examples/custom-03/styles.cssnew file mode 100644index 0000000..8efcdab--- /dev/null+++ b/site/examples/custom-03/styles.css@@ -0,0 +1,633 @@+/* Hallmark · route: custom · structure: an interactive periodic table IS the page — element-tile grid as primary nav, sticky assay panel reveals the selected blend · idea: "the menu is a taxonomy: rows = process, columns = body; selecting an element opens its dossier" · paper: oklch(95.5% 0.012 75) · accent: oklch(52.5% 0.16 36) · display: Fraunces · body: Newsreader · gates: all-pass · v1.1 */+/* Hallmark · pre-emit critique: P5 H5 E5 S5 R4 V5 */+/* axes: warm-parchment / characterful-soft-serif / hot-vermilion+ * contrast: pass (46–50) · nav: edge-aligned masthead · footer: Ft5 statement · slop: pass (51–55)+ * honest: pass (56) · chrome: pass (57) · tokens: pass (58) · responsive: pass (59) · icons: pass (60)+ * mobile: pass (36, 59, 61–69)+ */++/* ===================================================================+ Reset + base+ =================================================================== */+*, *::before, *::after { box-sizing: border-box; }++html, body { overflow-x: clip; }++html {+ -webkit-text-size-adjust: 100%;+ scroll-behavior: smooth;+}++body {+ margin: 0;+ background-color: var(--color-paper);+ color: var(--color-ink);+ font-family: var(--font-body);+ font-size: var(--text-base);+ line-height: var(--lh-body);+ font-weight: 400;+ -webkit-font-smoothing: antialiased;+ text-rendering: optimizeLegibility;+}++h1, h2, h3, p, dl, dd, ul, figure { margin: 0; }+ul { list-style: none; padding: 0; }++button { font: inherit; color: inherit; }++:focus-visible {+ outline: 2px solid var(--color-focus);+ outline-offset: 2px;+ border-radius: var(--radius-xs);+}++::selection {+ background: var(--color-accent-soft);+ color: var(--color-ink);+}++.visually-hidden,+.skip-link:not(:focus):not(:focus-within) {+ position: absolute !important;+ width: 1px; height: 1px;+ padding: 0; margin: -1px;+ overflow: hidden; clip: rect(0 0 0 0);+ white-space: nowrap; border: 0;+}++.skip-link {+ position: fixed;+ top: var(--space-2xs);+ left: var(--space-2xs);+ z-index: 999;+ background: var(--color-ink);+ color: var(--color-paper);+ padding: var(--space-2xs) var(--space-sm);+ border-radius: var(--radius-sm);+ font-family: var(--font-data);+ font-size: var(--text-sm);+ text-decoration: none;+}++/* ===================================================================+ Masthead — edge-aligned, NOT the wordmark+links+button AI default+ =================================================================== */+.masthead {+ position: sticky;+ top: 0;+ z-index: var(--z-sticky-nav);+ background: color-mix(in oklch, var(--color-paper) 88%, transparent);+ -webkit-backdrop-filter: blur(8px);+ backdrop-filter: blur(8px);+ border-bottom: 1px solid var(--color-line);+}++.masthead__inner {+ max-width: var(--maxw-page);+ margin-inline: auto;+ padding: var(--space-sm) var(--space-lg);+ display: flex;+ align-items: center;+ justify-content: space-between;+ gap: var(--space-md);+}++.wordmark {+ display: grid;+ grid-template-columns: auto auto;+ grid-template-rows: auto auto;+ column-gap: var(--space-xs);+ align-items: center;+ text-decoration: none;+ color: var(--color-ink);+}++.wordmark__mark {+ grid-row: 1 / 3;+ font-family: var(--font-display);+ font-weight: 600;+ font-size: 1.5rem;+ line-height: 1;+ width: 2.1rem; height: 2.1rem;+ display: grid;+ place-items: center;+ border: 1px solid var(--color-line-2);+ border-radius: var(--radius-sm);+ color: var(--color-ink);+ background: var(--color-paper-2);+}++.wordmark__name {+ font-family: var(--font-display);+ font-weight: 600;+ font-size: var(--text-md);+ line-height: 1.1;+ letter-spacing: -0.01em;+}++.wordmark__sub {+ font-family: var(--font-data);+ font-size: var(--text-2xs);+ letter-spacing: 0.04em;+ text-transform: uppercase;+ color: var(--color-muted);+ line-height: 1.1;+}++.masthead__nav {+ display: flex;+ align-items: center;+ gap: var(--space-md);+}++.masthead__nav a {+ font-family: var(--font-data);+ font-size: var(--text-xs);+ letter-spacing: 0.04em;+ text-transform: uppercase;+ color: var(--color-ink-2);+ text-decoration: none;+ white-space: nowrap;+ padding-bottom: 2px;+ border-bottom: 1px solid transparent;+ transition: border-color var(--dur) var(--ease-out),+ color var(--dur) var(--ease-out);+}+.masthead__nav a:hover { color: var(--color-accent); border-color: var(--color-accent); }++/* ===================================================================+ Intro / central explainer+ =================================================================== */+.intro {+ /* hero pads heavier at the bottom (gate 54): it sits INTO the table+ below rather than floating. block-end ≈ 2× block-start. */+ max-width: var(--maxw-page);+ margin-inline: auto;+ padding: var(--space-2xl) var(--space-lg) var(--space-4xl);+}++.eyebrow {+ font-family: var(--font-data);+ font-size: var(--text-xs);+ letter-spacing: 0.16em;+ text-transform: uppercase;+ color: var(--color-accent);+ margin-bottom: var(--space-md);+}++.intro__title {+ font-family: var(--font-display);+ font-weight: 600;+ font-size: var(--text-3xl);+ line-height: var(--lh-tight);+ letter-spacing: -0.018em;+ max-width: 20ch;+ overflow-wrap: anywhere;+ min-width: 0;+ text-wrap: balance;+}++.intro__lede {+ margin-top: var(--space-lg);+ max-width: var(--maxw-prose);+ font-size: var(--text-md);+ color: var(--color-ink-2);+}++.axes {+ margin-top: var(--space-xl);+ display: grid;+ gap: var(--space-sm);+ max-width: 60ch;+ border-top: 1px solid var(--color-line);+ padding-top: var(--space-lg);+}+.axes__row {+ display: grid;+ grid-template-columns: 12rem 1fr;+ gap: var(--space-md);+ align-items: baseline;+}+.axes dt {+ font-family: var(--font-data);+ font-size: var(--text-xs);+ letter-spacing: 0.06em;+ text-transform: uppercase;+ color: var(--color-ink);+}+.axes dd {+ color: var(--color-muted);+ font-size: var(--text-sm);+}++/* ===================================================================+ Catalog — table + assay, side by side on wide screens+ =================================================================== */+.catalog {+ max-width: var(--maxw-page);+ margin-inline: auto;+ padding: 0 var(--space-lg) var(--space-3xl);+ display: grid;+ grid-template-columns: minmax(0, 1fr) 21rem;+ gap: var(--space-xl);+ align-items: start;+}++.catalog__grid-wrap { min-width: 0; }++/* legend ----------------------------------------------------------- */+.legend {+ display: flex;+ flex-wrap: wrap;+ gap: var(--space-sm) var(--space-md);+ margin-bottom: var(--space-md);+ font-family: var(--font-data);+ font-size: var(--text-2xs);+ letter-spacing: 0.04em;+ text-transform: uppercase;+ color: var(--color-ink-2);+}+.legend li { display: inline-flex; align-items: center; gap: var(--space-2xs); }+.legend__chip {+ width: 0.85rem; height: 0.85rem;+ border-radius: var(--radius-xs);+ border: 1px solid var(--color-line-2);+}+.legend__chip--white { background: var(--fam-white); }+.legend__chip--green { background: var(--fam-green); }+.legend__chip--oolong { background: var(--fam-oolong); }+.legend__chip--black { background: var(--fam-black); }+.legend__chip--puer { background: var(--fam-puer); }+.legend__chip--herb { background: var(--fam-herb); }++/* THE TABLE -------------------------------------------------------- */+.ptable {+ display: grid;+ grid-template-columns: repeat(9, minmax(0, 1fr));+ grid-auto-rows: 1fr;+ gap: var(--space-2xs);+}++/* place each cell by its declared column; rows flow by source order,+ detached tisane row is forced to grid row 7 */+.cell { grid-column: var(--col); }+.cell--detached { grid-row: var(--row); }++/* a touch of air above the detached row */+.ptable::after {+ content: "";+ grid-row: 6;+ grid-column: 1 / -1;+ height: var(--space-2xs);+}++/* element tile */+.cell {+ position: relative;+ aspect-ratio: 1 / 1;+ display: grid;+ grid-template-rows: auto 1fr auto;+ justify-items: start;+ text-align: left;+ padding: var(--space-2xs);+ border: 1px solid var(--color-line-2);+ border-radius: var(--radius-sm);+ background: var(--cell-bg);+ color: var(--color-ink);+ cursor: pointer;+ box-shadow: var(--shadow-tile);+ transition: transform var(--dur) var(--ease-out),+ box-shadow var(--dur) var(--ease-out),+ background-color var(--dur) var(--ease-out),+ border-color var(--dur) var(--ease-out);+}++/* family backgrounds + hover lifts */+.cell[data-fam="white"] { --cell-bg: var(--fam-white); --cell-bg-hi: var(--fam-white-hi); }+.cell[data-fam="green"] { --cell-bg: var(--fam-green); --cell-bg-hi: var(--fam-green-hi); }+.cell[data-fam="oolong"] { --cell-bg: var(--fam-oolong); --cell-bg-hi: var(--fam-oolong-hi); }+.cell[data-fam="black"] { --cell-bg: var(--fam-black); --cell-bg-hi: var(--fam-black-hi); }+.cell[data-fam="puer"] { --cell-bg: var(--fam-puer); --cell-bg-hi: var(--fam-puer-hi); }+.cell[data-fam="herb"] { --cell-bg: var(--fam-herb); --cell-bg-hi: var(--fam-herb-hi); }++.cell:hover {+ background: var(--cell-bg-hi);+ border-color: var(--color-ink-2);+ transform: translateY(-2px);+ box-shadow: var(--shadow-lift);+}++.cell__num {+ font-family: var(--font-data);+ font-size: var(--text-2xs);+ color: var(--color-muted);+ line-height: 1;+}+.cell__sym {+ font-family: var(--font-display);+ font-weight: 600;+ font-size: clamp(1.1rem, 2.4vw, 1.7rem);+ line-height: 1;+ letter-spacing: -0.01em;+ align-self: center;+ justify-self: center;+}+.cell__name {+ font-family: var(--font-body);+ font-size: var(--text-2xs);+ line-height: 1.1;+ color: var(--color-ink-2);+ overflow: hidden;+ text-overflow: ellipsis;+ display: -webkit-box;+ -webkit-line-clamp: 2;+ -webkit-box-orient: vertical;+}+.cell__stat {+ position: absolute;+ top: var(--space-2xs);+ right: var(--space-2xs);+ font-family: var(--font-data);+ font-size: var(--text-2xs);+ line-height: 1;+ color: var(--color-muted);+ display: inline-flex;+ align-items: baseline;+ gap: 1px;+}+.cell__unit { font-size: 0.62rem; opacity: 0.8; }++/* selected element — the only place accent fills a surface */+.cell[aria-pressed="true"] {+ border-color: var(--color-accent);+ box-shadow: 0 0 0 2px var(--color-accent), var(--shadow-lift);+ transform: translateY(-2px);+}+.cell[aria-pressed="true"] .cell__sym { color: var(--color-accent); }++/* ===================================================================+ Assay panel — the dossier of the selected blend+ =================================================================== */+.assay {+ position: sticky;+ top: calc(var(--space-3xl));+ background: var(--color-paper-2);+ border: 1px solid var(--color-line);+ border-radius: var(--radius-md);+ padding: var(--space-lg);+ box-shadow: var(--shadow-panel);+}++.assay__eyebrow {+ display: flex;+ align-items: center;+ gap: var(--space-sm);+ font-family: var(--font-data);+ font-size: var(--text-2xs);+ letter-spacing: 0.08em;+ text-transform: uppercase;+}+.assay__index { color: var(--color-accent); font-weight: 700; }+.assay__fam { color: var(--color-muted); }++.assay__plate {+ margin: var(--space-md) 0 var(--space-sm);+ width: 5.5rem; height: 5.5rem;+ border: 1px solid var(--color-line-2);+ border-radius: var(--radius-sm);+ background: var(--color-paper-3);+ display: grid;+ place-items: center;+}+.assay__sym {+ font-family: var(--font-display);+ font-weight: 600;+ font-size: 2.6rem;+ line-height: 1;+ letter-spacing: -0.02em;+ color: var(--color-ink);+}++.assay__name {+ font-family: var(--font-display);+ font-weight: 600;+ font-size: var(--text-xl);+ line-height: 1.1;+ letter-spacing: -0.01em;+ overflow-wrap: anywhere;+ min-width: 0;+}+.assay__origin {+ margin-top: var(--space-3xs);+ font-size: var(--text-sm);+ color: var(--color-muted);+ font-style: italic; /* body emphasis only — not a heading */+}++.assay__stats {+ margin: var(--space-md) 0;+ display: grid;+ grid-template-columns: 1fr 1fr;+ gap: var(--space-sm) var(--space-md);+ border-top: 1px solid var(--color-line);+ border-bottom: 1px solid var(--color-line);+ padding: var(--space-md) 0;+}+.assay__stats dt {+ font-family: var(--font-data);+ font-size: var(--text-2xs);+ letter-spacing: 0.06em;+ text-transform: uppercase;+ color: var(--color-muted);+}+.assay__stats dd {+ font-family: var(--font-data);+ font-size: var(--text-md);+ color: var(--color-ink);+ margin-top: 2px;+ line-height: 1.1;+}+.assay__caf { color: var(--color-accent); font-weight: 700; }+.assay__caf-note { font-size: var(--text-2xs); color: var(--color-muted); }++.assay__notes {+ font-size: var(--text-base);+ line-height: var(--lh-body);+ color: var(--color-ink-2);+ max-width: 46ch;+}++.assay__hint {+ margin-top: var(--space-md);+ font-family: var(--font-data);+ font-size: var(--text-2xs);+ letter-spacing: 0.03em;+ color: var(--color-muted);+ border-top: 1px dashed var(--color-line);+ padding-top: var(--space-sm);+}++/* the ONE orchestrated motion: when a blend is selected, the panel's+ inner content steps forward (lift + settle). JS toggles .is-swapping. */+.assay__plate, .assay__name, .assay__origin,+.assay__stats, .assay__notes, .assay__eyebrow {+ transition: opacity var(--dur) var(--ease-out),+ transform var(--dur) var(--ease-out);+}+.assay.is-swapping .assay__plate,+.assay.is-swapping .assay__name,+.assay.is-swapping .assay__origin,+.assay.is-swapping .assay__stats,+.assay.is-swapping .assay__notes,+.assay.is-swapping .assay__eyebrow {+ opacity: 0;+ transform: translateY(6px);+}++/* ===================================================================+ Coda + footer+ =================================================================== */+.coda {+ max-width: var(--maxw-page);+ margin-inline: auto;+ padding: var(--space-2xl) var(--space-lg) var(--space-3xl);+ border-top: 1px solid var(--color-line);+}+.coda__title {+ font-family: var(--font-display);+ font-weight: 600;+ font-size: var(--text-2xl);+ line-height: var(--lh-tight);+ letter-spacing: -0.015em;+ max-width: 18ch;+ overflow-wrap: anywhere;+ min-width: 0;+}+.coda__line {+ margin-top: var(--space-md);+ max-width: var(--maxw-prose);+ font-size: var(--text-md);+ color: var(--color-ink-2);+}++.site-footer {+ background: var(--color-paper-3);+ border-top: 1px solid var(--color-line-2);+}+.site-footer__statement {+ max-width: var(--maxw-page);+ margin-inline: auto;+ padding: var(--space-xl) var(--space-lg);+ font-family: var(--font-display);+ font-weight: 500;+ font-size: var(--text-lg);+ line-height: 1.3;+ color: var(--color-ink);+ max-width: 40ch;+}+.site-footer__sub {+ display: block;+ margin-top: var(--space-2xs);+ font-family: var(--font-data);+ font-size: var(--text-2xs);+ letter-spacing: 0.04em;+ text-transform: uppercase;+ color: var(--color-muted);+ font-weight: 400;+}++/* ===================================================================+ Responsive+ =================================================================== */+@media (max-width: 60rem) {+ .catalog {+ grid-template-columns: minmax(0, 1fr);+ gap: var(--space-lg);+ }+ /* on narrow screens the assay stops being a sidebar and docks below+ the nav as a sticky reading panel so selecting is still legible */+ .assay {+ position: sticky;+ top: 64px;+ order: -1;+ display: grid;+ grid-template-columns: auto 1fr;+ grid-template-areas:+ "plate eyebrow"+ "plate name"+ "stats stats"+ "notes notes"+ "hint hint";+ column-gap: var(--space-md);+ align-items: center;+ }+ .assay__eyebrow { grid-area: eyebrow; }+ .assay__plate { grid-area: plate; margin: 0; width: 4.25rem; height: 4.25rem; align-self: start; }+ .assay__sym { font-size: 1.9rem; }+ .assay__name { grid-area: name; }+ .assay__origin { display: none; }+ .assay__stats { grid-area: stats; grid-template-columns: repeat(4, 1fr); }+ .assay__notes { grid-area: notes; }+ .assay__hint { grid-area: hint; }+}++@media (max-width: 40rem) {+ .masthead__inner { padding: var(--space-xs) var(--space-md); gap: var(--space-sm); }+ .masthead__nav { gap: var(--space-sm); }+ .intro { padding-top: var(--space-2xl); padding-inline: var(--space-md); }+ .catalog { padding-inline: var(--space-md); }+ .coda { padding-inline: var(--space-md); }+ .axes__row { grid-template-columns: 1fr; gap: var(--space-3xs); }+ .axes dd { font-size: var(--text-sm); }+ /* the table stays a table — fewer columns, still spatial.+ re-map the wide 9-col positions onto a 5-col phone grid so the+ taxonomy survives: rows still = process. */+ .ptable { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }+ .cell { padding: 6px; }+ .cell__sym { font-size: clamp(1rem, 6vw, 1.4rem); }+ /* drop the absolute --col placement so cells pack left-to-right per row */+ .cell { grid-column: auto; }+ .cell--detached { grid-row: auto; }+ .ptable::after { display: none; }+ .assay {+ grid-template-columns: 1fr;+ grid-template-areas: "eyebrow" "plate" "name" "stats" "notes" "hint";+ text-align: left;+ }+ .assay__plate { margin-bottom: var(--space-2xs); }+ .assay__stats { grid-template-columns: 1fr 1fr; }+}++/* Very narrow: the masthead becomes the wordmark alone — the two jump+ links are non-essential (their targets sit just below). Keeps the bar+ from clipping at phone widths without collapsing into a sheet. */+@media (max-width: 34rem) {+ .masthead__nav { display: none; }+ .wordmark__sub { display: none; }+ .wordmark { grid-template-rows: auto; }+ .wordmark__name { font-size: var(--text-base); }+ .assay { top: 56px; }+}++/* ===================================================================+ Reduced motion — the grid + selection stay fully usable, no motion+ =================================================================== */+@media (prefers-reduced-motion: reduce) {+ html { scroll-behavior: auto; }+ *, *::before, *::after {+ transition-duration: 0.01ms !important;+ animation-duration: 0.01ms !important;+ animation-iteration-count: 1 !important;+ }+ .cell:hover { transform: none; }+ .cell[aria-pressed="true"] { transform: none; }+ .assay.is-swapping .assay__plate,+ .assay.is-swapping .assay__name,+ .assay.is-swapping .assay__origin,+ .assay.is-swapping .assay__stats,+ .assay.is-swapping .assay__notes,+ .assay.is-swapping .assay__eyebrow {+ opacity: 1;+ transform: none;+ }+}diff --git a/site/examples/custom-03/tokens.css b/site/examples/custom-03/tokens.cssnew file mode 100644index 0000000..799b8f2--- /dev/null+++ b/site/examples/custom-03/tokens.css@@ -0,0 +1,95 @@+/* Hallmark · custom-03 · tokens+ * Apothecary tea-house system. All colour values are OKLCH; neutrals are tinted+ * toward the warm parchment anchor (no zero-chroma greys, no #fff / #000).+ * Family tints are LOW-chroma neutral tints (not the accent) so they carry the+ * table's taxonomy without spending the accent budget.+ */++:root {+ /* ---- Type ---------------------------------------------------------- */+ /* display: Fraunces (characterful soft-serif, roman only) */+ /* body: Newsreader (literary text serif, distinct from Fraunces) */+ /* data: Space Mono (symbols, atomic numbers, stats, axis labels) */+ --font-display: "Fraunces", Georgia, "Times New Roman", serif;+ --font-body: "Newsreader", Georgia, serif;+ --font-data: "Space Mono", ui-monospace, "Courier New", monospace;++ /* ---- Paper / ink / accent ----------------------------------------- */+ --color-paper: oklch(95.5% 0.012 75); /* warm parchment */+ --color-paper-2: oklch(97% 0.010 78); /* lighter card / detail face */+ --color-paper-3: oklch(93% 0.014 72); /* recessed wells / footer */+ --color-ink: oklch(25.5% 0.018 50); /* steeped near-black brown */+ --color-ink-2: oklch(34% 0.020 52); /* secondary ink */+ --color-muted: oklch(46% 0.020 55); /* captions, labels */+ --color-line: oklch(82% 0.016 70); /* hairlines */+ --color-line-2: oklch(74% 0.018 68); /* stronger rules */++ --color-accent: oklch(52.5% 0.16 36); /* hot steeped vermilion */+ --color-accent-ink: oklch(97% 0.012 78); /* text on accent fill (5.4:1)*/+ --color-accent-soft: oklch(88% 0.045 40); /* faint accent wash */+ --color-focus: oklch(48% 0.15 250); /* cool blue ring, ≥3:1 both */++ /* ---- Family tints (low-chroma neutral tints, ink-on stays ≥12:1) --- */+ --fam-white: oklch(95.5% 0.008 95); /* white tea — pale grass */+ --fam-green: oklch(95% 0.022 140); /* green tea — cool leaf */+ --fam-oolong: oklch(95% 0.028 75); /* oolong — amber */+ --fam-black: oklch(93% 0.022 40); /* black tea — warm rust */+ --fam-puer: oklch(92% 0.026 30); /* pu-erh / dark — earth */+ --fam-herb: oklch(95% 0.024 165); /* herbal / tisane — soft teal */++ /* hover / selected lifts of the family tints (slightly deeper) */+ --fam-white-hi: oklch(92% 0.012 95);+ --fam-green-hi: oklch(91.5% 0.03 140);+ --fam-oolong-hi: oklch(91.5% 0.038 75);+ --fam-black-hi: oklch(89% 0.03 40);+ --fam-puer-hi: oklch(88% 0.034 30);+ --fam-herb-hi: oklch(91.5% 0.032 165);++ /* ---- Spacing scale (4px base) ------------------------------------- */+ --space-3xs: 0.25rem; /* 4 */+ --space-2xs: 0.5rem; /* 8 */+ --space-xs: 0.75rem; /* 12 */+ --space-sm: 1rem; /* 16 */+ --space-md: 1.5rem; /* 24 */+ --space-lg: 2rem; /* 32 */+ --space-xl: 3rem; /* 48 */+ --space-2xl: 4rem; /* 64 */+ --space-3xl: 6rem; /* 96 */+ --space-4xl: 8rem; /* 128 */+ --space-5xl: 11rem; /* 176 */++ /* ---- Type scale ---------------------------------------------------- */+ --text-2xs: 0.6875rem;+ --text-xs: 0.75rem;+ --text-sm: 0.875rem;+ --text-base: 1rem;+ --text-md: 1.125rem;+ --text-lg: 1.375rem;+ --text-xl: 1.75rem;+ --text-2xl: 2.25rem;+ --text-3xl: clamp(2.4rem, 5vw + 1rem, 4.25rem);++ --lh-tight: 1.04; /* display (≥ 1.0; safe for any wrap, no uppercase) */+ --lh-snug: 1.28;+ --lh-body: 1.6;++ /* ---- Radii / shadow / structure ----------------------------------- */+ --radius-xs: 3px;+ --radius-sm: 5px;+ --radius-md: 9px;+ --shadow-tile: 0 1px 0 oklch(82% 0.016 70 / 0.6);+ --shadow-lift: 0 8px 24px -10px oklch(30% 0.03 50 / 0.35);+ --shadow-panel: 0 1px 0 oklch(82% 0.016 70 / 0.7),+ 0 18px 48px -28px oklch(30% 0.03 50 / 0.3);++ --maxw-prose: 64ch;+ --maxw-page: 78rem;++ /* ---- z-index ------------------------------------------------------- */+ --z-sticky: 200;+ --z-sticky-nav: 300;++ /* ---- Motion -------------------------------------------------------- */+ --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);+ --dur: 320ms;+}diff --git a/site/examples/custom-04/index.html b/site/examples/custom-04/index.htmlnew file mode 100644index 0000000..3880aa5--- /dev/null+++ b/site/examples/custom-04/index.html@@ -0,0 +1,249 @@+<!doctype html>+<html lang="en">+<head>+ <meta charset="utf-8" />+ <meta name="viewport" content="width=device-width, initial-scale=1" />+ <title>The Mend Assembly — Don't bin it. Fix it.</title>+ <meta name="description" content="A broadsheet manifesto for the neighbourhood repair-café movement. Bring the broken thing. We mend it together, the third Saturday of the month, for nothing." />++ <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=Big+Shoulders+Display:wght@400;700;800&family=Fraunces:opsz,[email protected],400;9..40,500;9..40,600&family=Fraunces:ital,opsz,wght@1,9..40,400;1,9..40,500&family=Spline+Sans+Mono:wght@400;500;600&display=swap" rel="stylesheet" />++ <link rel="stylesheet" href="./styles.css" />+</head>+<body>+ <a class="skip-link" href="#manifesto">Skip to the manifesto</a>++ <!-- Press furniture — fixed crop marks + registration target (decorative) -->+ <div class="press-marks" aria-hidden="true">+ <span class="crop crop--tl"></span>+ <span class="crop crop--tr"></span>+ <span class="crop crop--bl"></span>+ <span class="crop crop--br"></span>+ </div>+ <div class="reg-target" aria-hidden="true"><span></span></div>++ <!-- ═══════════ Masthead ═══════════ -->+ <header class="sheet masthead">+ <div class="masthead__bar">+ <a class="masthead__mark" href="#top" aria-label="The Mend Assembly — home">+ The Mend Assembly <span class="no">FIX Nº 03</span>+ </a>+ <p class="masthead__edition">+ Free sheet · printed by hand<br />+ Third Saturday · this month+ </p>+ </div>+ <nav class="masthead__nav" aria-label="Primary">+ <a href="#manifesto">The Manifesto</a>+ <span class="dot" aria-hidden="true">·</span>+ <a href="#tally">The Count</a>+ <span class="dot" aria-hidden="true">·</span>+ <a href="#bring">Come Mend</a>+ </nav>+ </header>++ <main id="top">+ <!-- ═══════════ The fold — hero slogan ═══════════ -->+ <section class="sheet fold" aria-labelledby="fold-title">+ <p class="strapline">A broadsheet for things worth keeping · est. on a workbench</p>+ <div class="fold__inner">+ <h1 class="fold__slogan" id="fold-title" style="--i:0">+ <span class="ln ghost">+ <span class="ink">Don't</span>+ <span class="reg reg--teal" aria-hidden="true">Don't</span>+ </span>+ <span class="ln ghost">+ <span class="ink">bin it.</span>+ <span class="reg" aria-hidden="true">bin it.</span>+ </span>+ <span class="ln ln--red ln--indent ghost">+ <span class="ink">Fix it.</span>+ <span class="reg reg--teal" aria-hidden="true">Fix it.</span>+ </span>+ </h1>+ <div>+ <p class="fold__lede">+ A broken kettle is not rubbish. It is a kettle with+ <strong>one bad part</strong> and a story you're not done with.+ Every third Saturday we set out the tools, pull up a stool, and+ <span class="em">mend it with you</span> — not for you.+ </p>+ <p class="fold__meta">+ <span>No appointment</span>+ <span>No charge</span>+ <span>No landfill</span>+ </p>+ </div>+ </div>+ </section>++ <!-- ═══════════ The manifesto spine ═══════════ -->+ <section class="sheet spine" id="manifesto" aria-labelledby="spine-title">+ <div class="spine__head">+ <p class="spine__eyebrow">Five things we hold to be true</p>+ <h2 class="spine__title">The right to repair what is yours</h2>+ </div>++ <!-- 01 — hangs into the left margin -->+ <article class="plank plank--hang" style="--i:1">+ <p class="plank__num">01</p>+ <div>+ <p class="plank__slab ghost">+ <span class="ink">Throwing it <br />away is a <span class="red">choice</span>.</span>+ <span class="reg" aria-hidden="true">Throwing it<br />away is a choice.</span>+ </p>+ <p class="plank__gloss">+ Nothing breaks itself on purpose. A frayed cable, a seized hinge, a+ split seam — these are <em>repairs waiting to happen</em>, not verdicts.+ The bin is the lazy answer; the workbench is the honest one.+ </p>+ </div>+ </article>++ <!-- 02 — a clause drops a baseline -->+ <article class="plank plank--drop" style="--i:2">+ <p class="plank__num">02</p>+ <div>+ <p class="plank__slab ghost">+ <span class="ink">Skills belong <br /><span class="drop red">to everyone.</span></span>+ <span class="reg reg--teal" aria-hidden="true">Skills belong<br />to everyone.</span>+ </p>+ <p class="plank__gloss">+ We don't hand back a fixed object — we hand back the+ <em>knowing-how</em>. Solder, stitch, re-glue, re-wire: you do it,+ we steady your hand. Next month you steady someone else's.+ </p>+ </div>+ </article>++ <!-- 03 — a numeral balloons to fill the column -->+ <article class="plank plank--wide" style="--i:3">+ <p class="plank__num">03</p>+ <div>+ <p class="plank__slab ghost">+ <span class="ink"><span class="balloon">8</span> in 10 <br />things <span class="red">can</span> be saved.</span>+ <span class="reg" aria-hidden="true">8 in 10<br />things can be saved.</span>+ </p>+ <p class="plank__gloss">+ Most failures are one cheap part or one loose joint away from another+ decade of use. We log every repair on the strip below — kept honest, no+ number we didn't count ourselves. <em>The bin can wait.</em>+ </p>+ </div>+ </article>++ <!-- 04 — hangs left again, different rhythm -->+ <article class="plank plank--hang" style="--i:4">+ <p class="plank__num">04</p>+ <div>+ <p class="plank__slab ghost">+ <span class="ink">A street that<br />mends, <span class="red">holds</span>.</span>+ <span class="reg reg--teal" aria-hidden="true">A street that<br />mends, holds.</span>+ </p>+ <p class="plank__gloss">+ The café is the excuse; the neighbours are the point. People who fix+ things together <em>look out for each other</em> — the toaster gets a+ second life, and so does the afternoon.+ </p>+ </div>+ </article>++ <!-- 05 — the turn -->+ <article class="plank plank--drop" style="--i:5">+ <p class="plank__num">05</p>+ <div>+ <p class="plank__slab ghost">+ <span class="ink">Keep it. <br /><span class="drop red">Pass it on.</span></span>+ <span class="reg" aria-hidden="true">Keep it.<br />Pass it on.</span>+ </p>+ <p class="plank__gloss">+ What we mend, we keep in use; what we outgrow, we give away mended.+ <em>Nothing leaves whole and ends up broken in a skip.</em> That is the+ whole movement, in one line.+ </p>+ </div>+ </article>+ </section>++ <!-- ═══════════ Tape marquee — the count ═══════════ -->+ <section class="sheet" id="tally" aria-labelledby="tally-label">+ <h2 class="u-vh" id="tally-label">Repairs counted at the bench</h2>+ <div class="tally">+ <span class="tally__cap tally__cap--l" aria-hidden="true">Saved, not skipped</span>+ <div class="tally__strip">+ <div class="tally__track" id="tally-track" aria-hidden="true">+ <!-- Track content is duplicated by script.js for a seamless loop -->+ <span class="tally__item"><span class="n">214</span> Kettles <span class="sep">/</span></span>+ <span class="tally__item"><span class="n n--teal">91</span> Lamps <span class="sep">/</span></span>+ <span class="tally__item"><span class="n">1,330</span> Zips <span class="sep">/</span></span>+ <span class="tally__item"><span class="n">58</span> Toasters <span class="sep">/</span></span>+ <span class="tally__item"><span class="n n--teal">402</span> Hems <span class="sep">/</span></span>+ <span class="tally__item"><span class="n">73</span> Radios <span class="sep">/</span></span>+ <span class="tally__item"><span class="n">186</span> Bicycles <span class="sep">/</span></span>+ <span class="tally__item"><span class="n n--teal">29</span> Clocks <span class="sep">/</span></span>+ </div>+ </div>+ </div>+ <p class="u-vh">Counts are tallied by hand at each session; figures are illustrative of a single neighbourhood chapter.</p>+ </section>++ <!-- ═══════════ The bill — what / bring / find ═══════════ -->+ <section class="sheet bill" id="bring" aria-label="What to bring and where to find us">+ <div class="bill__line">+ <span class="bill__k">What it costs</span>+ <p class="bill__v"><span class="red">Nothing.</span></p>+ <p class="bill__note">Donations buy solder and biscuits. Repairs are always free.</p>+ </div>+ <div class="bill__line">+ <span class="bill__k">What to bring</span>+ <p class="bill__v">The broken thing</p>+ <p class="bill__note">Small electricals, textiles, ceramics, bikes, toys. If it fits through the door, bring it.</p>+ </div>+ <div class="bill__line">+ <span class="bill__k">When & where</span>+ <p class="bill__v">Third Sat.</p>+ <p class="bill__note">10 till 2, at the old print room behind the library. No booking, no rush.</p>+ </div>+ </section>++ <!-- ═══════════ The pledge ═══════════ -->+ <section class="sheet pledge" aria-labelledby="pledge-title">+ <h2 class="pledge__call" id="pledge-title">+ Bring one broken thing.<br />Leave with it <span class="red">working</span>.+ </h2>+ <div class="pledge__action">+ <a class="btn" href="#top">+ Pin the next date <span class="arw" aria-hidden="true">→</span>+ </a>+ <p class="pledge__small">A reminder, not a sign-up. We never sell your details.</p>+ </div>+ </section>+ </main>++ <!-- ═══════════ Colophon ═══════════ -->+ <footer class="sheet colophon">+ <div>+ <p class="colophon__mark">The Mend Assembly</p>+ <p class="colophon__body">+ A volunteer-run repair café with no head office and no membership card —+ just a workbench, a kettle of our own, and the stubborn belief that most+ broken things are only resting.+ </p>+ </div>+ <address class="colophon__meta" style="font-style: normal;">+ Third Saturday · 10:00–14:00<br />+ The Old Print Room, behind the library<br />+ <a href="#top">Add to your calendar</a><br />+ <a href="#manifesto">Read the manifesto</a>+ </address>+ <div class="colophon__rule">+ <span>Set in Big Shoulders & Fraunces · printed two-pass, off-register on purpose</span>+ <span>Fix Nº 03 · free to copy, free to post</span>+ </div>+ </footer>++ <script src="./script.js" defer></script>+</body>+</html>diff --git a/site/examples/custom-04/script.js b/site/examples/custom-04/script.jsnew file mode 100644index 0000000..a404228--- /dev/null+++ b/site/examples/custom-04/script.js@@ -0,0 +1,18 @@+/* The Mend Assembly — custom poster+ * The registration-sweep entrance is pure CSS (one-shot @keyframes that ends in+ * the printed state), so the headline is never JS-dependent for visibility.+ * This file does ONE optional thing: duplicate the tally track so the marquee+ * loops seamlessly. It is a progressive enhancement — with no JS the strip still+ * shows the full list of repairs, just without the wrap.+ */+(function () {+ "use strict";++ var reduce = window.matchMedia("(prefers-reduced-motion: reduce)").matches;+ var track = document.getElementById("tally-track");++ // Only duplicate when the marquee is actually animating (motion welcome).+ if (track && !reduce) {+ track.innerHTML += track.innerHTML;+ }+})();diff --git a/site/examples/custom-04/styles.css b/site/examples/custom-04/styles.cssnew file mode 100644index 0000000..edb449c--- /dev/null+++ b/site/examples/custom-04/styles.css@@ -0,0 +1,598 @@+/* Hallmark · route: custom · structure: corner-cropped broadsheet — masthead rule, off-axis fold slogan, five hand-numbered broken-grid manifesto planks, a skewed taped tally marquee, a printer's colophon · idea: "a poster you scroll through, printed in two off-register riso passes that snap into register on load" · paper: oklch(94% 0.012 85) · accent: oklch(58% 0.205 32) · display: Big Shoulders Display · body: Fraunces · gates: all-pass · v1.1 */+/* Hallmark · pre-emit critique: P5 H5 E5 S5 R4 V5 */+/* Hallmark · route: custom · axes: bone-newsprint / condensed-poster-grotesque / riso-vermilion 32°+ * contrast: pass (46–50) · nav: bespoke masthead · footer: bespoke colophon · slop: pass (51–55)+ * honest: pass (56) · chrome: pass (57) · tokens: pass (58) · responsive: pass (59) · icons: pass (60) · mobile: pass (36, 59, 61–69)+ */++@import url("./tokens.css");++/* ───────────────────────── Reset ───────────────────────── */+*, *::before, *::after { box-sizing: border-box; }++html, body { margin: 0; overflow-x: clip; }++html {+ background: var(--color-paper);+ color: var(--color-ink-2);+ font-family: var(--font-body);+ font-size: var(--text-base);+ line-height: var(--lh-body);+ font-optical-sizing: auto;+ font-feature-settings: "kern", "liga", "onum";+ -webkit-font-smoothing: antialiased;+ text-rendering: optimizeLegibility;+}++img, svg { display: block; max-width: 100%; }++h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; }++a {+ color: inherit;+ text-decoration: none;+ text-underline-offset: 3px;+ text-decoration-thickness: 1px;+ text-decoration-color: var(--color-accent);+}+a:hover { text-decoration: underline; }++button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }++::selection { background: var(--color-accent); color: var(--color-accent-ink); }++:focus-visible {+ outline: 2px solid var(--color-focus);+ outline-offset: 3px;+ border-radius: var(--radius-xs);+}++/* Skip link — printed tab that drops in on focus */+.skip-link {+ position: absolute;+ left: var(--space-md);+ top: -3rem;+ z-index: 60;+ background: var(--color-ink);+ color: var(--color-paper);+ font-family: var(--font-mono);+ font-size: var(--text-xs);+ letter-spacing: 0.04em;+ text-transform: uppercase;+ padding: var(--space-xs) var(--space-md);+ transition: top var(--dur-fast) var(--ease-out);+}+.skip-link:focus-visible { top: var(--space-md); }++/* ─────────────── The sheet: paper grain + halftone dot ─────────────── */+/* Two fixed, decorative layers — pure CSS, no animation. Footprint is full+ sheet but each is a faint single-ink texture, not an accent fill. */+body::before,+body::after {+ content: "";+ position: fixed;+ inset: 0;+ pointer-events: none;+ z-index: 0;+}+body::before { /* halftone dot grid */+ background-image: radial-gradient(var(--dot-ink) 0.9px, transparent 1px);+ background-size: 6px 6px;+ background-position: 0 0;+}+body::after { /* directional grain — fine diagonal hatch */+ background-image:+ repeating-linear-gradient(115deg, var(--grain-ink) 0 1px, transparent 1px 3px);+ mix-blend-mode: multiply;+ opacity: 0.7;+}++/* ─────────────── Corner crop marks + edition stamp (fixed) ─────────────── */+.press-marks { position: fixed; inset: 0; z-index: 40; pointer-events: none; }+.press-marks .crop {+ position: absolute;+ width: 26px;+ height: 26px;+ border-color: var(--color-ink);+ border-style: solid;+}+.press-marks .crop--tl { top: var(--crop); left: var(--crop); border-width: 2px 0 0 2px; }+.press-marks .crop--tr { top: var(--crop); right: var(--crop); border-width: 2px 2px 0 0; }+.press-marks .crop--bl { bottom: var(--crop); left: var(--crop); border-width: 0 0 2px 2px; }+.press-marks .crop--br { bottom: var(--crop); right: var(--crop); border-width: 0 2px 2px 0; }+/* registration target — bottom-left, the printer's bullseye */+.reg-target {+ position: fixed;+ left: calc(var(--crop) + 34px);+ bottom: calc(var(--crop) - 2px);+ z-index: 40;+ width: 22px; height: 22px;+ pointer-events: none;+}+.reg-target::before,+.reg-target::after {+ content: ""; position: absolute; background: var(--color-ink);+}+.reg-target::before { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }+.reg-target::after { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }+.reg-target span {+ position: absolute; inset: 4px; border: 1px solid var(--color-accent-deep);+ border-radius: 50%;+}+/* Hide fixed press furniture on small screens — it crowds the slogan */+@media (max-width: 40rem) {+ .reg-target { display: none; }+ .press-marks .crop { width: 16px; height: 16px; }+}++/* ───────────────────────── Shell ───────────────────────── */+.sheet {+ position: relative;+ z-index: 1;+ width: 100%;+ max-width: var(--sheet-max);+ margin-inline: auto;+ padding-inline: var(--sheet-pad);+}++/* ════════════════════════ Masthead (bespoke) ════════════════════════ */+.masthead {+ position: relative;+ z-index: 1;+ border-bottom: var(--rule-ink);+ margin-top: clamp(var(--space-lg), 4vw, var(--space-2xl));+}+.masthead__bar {+ display: grid;+ grid-template-columns: minmax(0, 1fr) auto;+ align-items: end;+ gap: var(--space-md) var(--space-lg);+ padding-block: var(--space-sm) var(--space-md);+}+/* Narrow: stack wordmark over edition so neither column gets crushed */+@media (max-width: 34rem) {+ .masthead__bar { grid-template-columns: minmax(0, 1fr); align-items: start; }+ .masthead__edition { text-align: left; }+}+.masthead__mark {+ font-family: var(--font-display);+ font-weight: 800;+ font-size: clamp(1.5rem, 6vw, 2.25rem); /* scales down so it never breaks per-glyph */+ line-height: 1.02;+ letter-spacing: 0.01em;+ text-transform: uppercase;+ color: var(--color-ink);+ overflow-wrap: break-word; /* wraps at spaces; word-internal break only as last resort */+ text-wrap: balance;+ min-width: 0;+}+.masthead__mark .no {+ color: var(--color-accent-deep);+ font-family: var(--font-mono);+ font-weight: 600;+ font-size: 0.62em;+ letter-spacing: 0;+ vertical-align: 0.18em;+}+.masthead__edition {+ font-family: var(--font-mono);+ font-size: var(--text-xs);+ letter-spacing: 0.06em;+ text-transform: uppercase;+ color: var(--color-ink-mute);+ text-align: right;+ line-height: 1.5;+}+.masthead__nav {+ display: flex;+ flex-wrap: wrap;+ align-items: center;+ gap: clamp(var(--space-md), 3vw, var(--space-xl));+ padding-block: var(--space-sm);+ border-top: var(--rule-hair);+ font-family: var(--font-mono);+ font-size: var(--text-xs);+ letter-spacing: 0.08em;+ text-transform: uppercase;+}+.masthead__nav a { white-space: nowrap; line-height: 1; color: var(--color-ink); }+.masthead__nav a:hover { color: var(--color-accent-deep); }+.masthead__nav .dot { color: var(--color-accent-deep); }++/* Sub-line: the broadsheet strapline, runs under the rule */+.strapline {+ font-family: var(--font-mono);+ font-size: var(--text-xs);+ letter-spacing: 0.16em;+ text-transform: uppercase;+ color: var(--color-ink-mute);+ padding-block: var(--space-sm);+}++/* ════════════════════ The fold — hero slogan ════════════════════ */+.fold {+ position: relative;+ padding-block: clamp(var(--space-lg), 4vw, var(--space-2xl))+ clamp(var(--space-3xl), 13vw, var(--space-5xl)); /* trimmed top so the slogan clears the fold; heavy bottom keeps the asymmetry */+}+.fold__inner {+ display: grid;+ grid-template-columns: minmax(0, 1fr);+ gap: var(--space-xl);+}+@media (min-width: 60rem) {+ .fold__inner { grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.9fr); align-items: end; }+}+.fold__slogan {+ font-family: var(--font-display);+ font-weight: 800;+ font-size: var(--text-fold);+ line-height: var(--lh-slab);+ letter-spacing: -0.01em;+ text-transform: uppercase;+ color: var(--color-ink);+ overflow-wrap: anywhere;+ min-width: 0;+ /* pull off the left margin into the crop edge */+ margin-left: clamp(-0.5rem, -2vw, -1.75rem);+}+.fold__slogan .ln { display: block; }+.fold__slogan .ln--red { color: var(--color-accent); }+.fold__slogan .ln--indent { padding-left: clamp(1.5rem, 9vw, 7rem); } /* broken grid */++/* Off-register ghost: a teal/vermilion second pass set just behind the ink. */+.ghost { position: relative; }+.ghost > .ink { position: relative; z-index: 1; display: block; }+.ghost > .reg {+ position: absolute;+ inset: 0;+ z-index: 0;+ color: var(--color-accent);+ opacity: 0.42;+ transform: translate(var(--reg-shift), calc(var(--reg-shift) * 0.6));+ pointer-events: none;+ user-select: none;+}+.ghost > .reg.reg--teal { color: var(--color-teal); transform: translate(calc(var(--reg-shift) * -0.7), calc(var(--reg-shift) * 0.4)); }++.fold__lede {+ font-size: var(--text-lg);+ line-height: var(--lh-body);+ color: var(--color-ink-2);+ max-width: 38ch;+ border-left: var(--rule-press);+ padding-left: var(--space-md);+}+.fold__lede strong { color: var(--color-ink); font-weight: 600; }+.fold__lede .em { color: var(--color-accent-deep); font-style: normal; font-weight: 600; }++.fold__meta {+ margin-top: var(--space-lg);+ font-family: var(--font-mono);+ font-size: var(--text-xs);+ letter-spacing: 0.05em;+ text-transform: uppercase;+ color: var(--color-ink-mute);+ display: flex;+ gap: var(--space-lg);+ flex-wrap: wrap;+}++/* ════════════════════ Manifesto spine — broken grid ════════════════════ */+.spine {+ border-top: var(--rule-ink);+ padding-top: clamp(var(--space-xl), 5vw, var(--space-3xl));+}+.spine__head {+ display: block; /* gate 66 — eyebrow + heading single column */+ margin-bottom: clamp(var(--space-xl), 6vw, var(--space-3xl));+}+.spine__eyebrow {+ font-family: var(--font-mono);+ font-size: var(--text-xs);+ letter-spacing: 0.16em;+ text-transform: uppercase;+ color: var(--color-accent-deep);+}+.spine__title {+ margin-top: var(--space-sm);+ font-family: var(--font-display);+ font-weight: 700;+ font-size: var(--text-3xl);+ line-height: var(--lh-tight);+ letter-spacing: 0.005em;+ text-transform: uppercase;+ color: var(--color-ink);+ overflow-wrap: anywhere;+ min-width: 0;+ max-width: 22ch;+}++.plank {+ position: relative;+ display: grid;+ grid-template-columns: minmax(0, 1fr);+ gap: var(--space-md) clamp(var(--space-lg), 4vw, var(--space-2xl));+ padding-block: clamp(var(--space-xl), 5vw, var(--space-3xl));+ border-bottom: var(--rule-hair);+}+@media (min-width: 56rem) {+ .plank { grid-template-columns: minmax(0, 6.2rem) minmax(0, 1fr); align-items: start; }+}+.plank__num {+ font-family: var(--font-mono);+ font-weight: 600;+ font-size: var(--text-lg);+ color: var(--color-accent-deep);+ letter-spacing: 0.02em;+ line-height: 1;+ padding-top: 0.4em;+}+.plank__num::after { content: ""; display: block; width: 2.5rem; height: 2px; background: var(--color-rule); margin-top: var(--space-sm); }++.plank__slab {+ font-family: var(--font-display);+ font-weight: 800;+ font-size: var(--text-slab);+ line-height: var(--lh-slab);+ letter-spacing: -0.005em;+ text-transform: uppercase;+ color: var(--color-ink);+ overflow-wrap: anywhere;+ min-width: 0;+}+.plank__slab .red { color: var(--color-accent); }+.plank__slab .balloon {+ font-size: 1.32em; /* a numeral that balloons to fill the column */+ letter-spacing: -0.02em;+}+/* per-plank broken-grid moves */+.plank--hang .plank__slab { margin-left: clamp(-0.4rem, -2.5vw, -2.25rem); }+.plank--drop .plank__slab .drop { display: inline-block; transform: translateY(0.16em); } /* a clause drops a baseline */+.plank--wide { }++.plank__gloss {+ font-size: var(--text-base);+ line-height: var(--lh-body);+ color: var(--color-ink-2);+ max-width: 52ch;+ margin-top: var(--space-md);+}+.plank__gloss em { font-style: italic; color: var(--color-ink); } /* italic allowed in body */++/* ════════════════════ Tape marquee — the one persistent motion ════════════════════ */+.tally {+ position: relative;+ margin-block: clamp(var(--space-2xl), 7vw, var(--space-4xl));+ background: var(--color-paper-3);+ border-block: var(--rule-press);+ /* skewed, taped-on fly-poster band */+ transform: rotate(-1.4deg);+}+.tally__strip {+ overflow: hidden;+ padding-block: clamp(var(--space-md), 2.5vw, var(--space-xl));+ /* Mask uses alpha only — the colour is irrelevant; tinted-ink keeps the+ token discipline clean (no pure #000 anywhere on the page). */+ -webkit-mask-image: linear-gradient(90deg, transparent, var(--mask-opaque) 7%, var(--mask-opaque) 93%, transparent);+ mask-image: linear-gradient(90deg, transparent, var(--mask-opaque) 7%, var(--mask-opaque) 93%, transparent);+}+.tally__track {+ display: flex;+ gap: clamp(var(--space-lg), 4vw, var(--space-2xl));+ width: max-content;+ white-space: nowrap;+ align-items: baseline;+ animation: tape-scroll var(--dur-tape) linear infinite;+ will-change: transform;+}+.tally__item {+ display: inline-flex;+ align-items: baseline;+ gap: var(--space-sm);+ font-family: var(--font-display);+ font-weight: 700;+ font-size: clamp(1.5rem, 5vw, 3rem);+ line-height: 1;+ text-transform: uppercase;+ color: var(--color-ink);+}+.tally__item .n { color: var(--color-accent); font-family: var(--font-mono); font-weight: 600; }+.tally__item .n--teal { color: var(--color-teal); }+.tally__item .sep { color: var(--color-ink-mute); font-family: var(--font-mono); font-weight: 400; }+/* torn-tape ends */+.tally::before, .tally::after {+ content: ""; position: absolute; top: -7px; bottom: -7px; width: clamp(48px, 9vw, 96px);+ background: var(--color-paper-2);+ opacity: 0.92;+ transform: rotate(2.6deg);+ z-index: 2;+}+.tally::before { left: -6px; }+.tally::after { right: -6px; transform: rotate(-2.6deg); }+.tally__cap {+ position: absolute; z-index: 3; top: 50%; transform: translateY(-50%) rotate(1.4deg);+ font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.1em;+ text-transform: uppercase; color: var(--color-ink-2);+}+.tally__cap--l { left: clamp(0.5rem, 2vw, 1.75rem); }++/* ════════════════════ The bill — what / bring / find ════════════════════ */+.bill {+ border-top: var(--rule-ink);+ padding-block: clamp(var(--space-2xl), 6vw, var(--space-3xl));+ display: grid;+ grid-template-columns: minmax(0, 1fr);+ gap: clamp(var(--space-lg), 4vw, var(--space-2xl));+}+@media (min-width: 52rem) {+ .bill { grid-template-columns: repeat(3, minmax(0, 1fr)); }+}+.bill__line { position: relative; }+.bill__k {+ font-family: var(--font-mono);+ font-size: var(--text-xs);+ letter-spacing: 0.14em;+ text-transform: uppercase;+ color: var(--color-accent-deep);+ display: block;+ margin-bottom: var(--space-sm);+}+.bill__v {+ font-family: var(--font-display);+ font-weight: 700;+ font-size: clamp(2rem, 5.5vw, 3.5rem);+ line-height: var(--lh-tight);+ text-transform: uppercase;+ color: var(--color-ink);+ overflow-wrap: anywhere;+ min-width: 0;+}+.bill__v .red { color: var(--color-accent); }+.bill__note { margin-top: var(--space-sm); color: var(--color-ink-2); font-size: var(--text-base); max-width: 30ch; }++/* The pledge CTA — set as a printed call, not a pill farm */+.pledge {+ border-top: var(--rule-ink);+ border-bottom: var(--rule-ink);+ padding-block: clamp(var(--space-2xl), 7vw, var(--space-4xl));+ display: grid;+ grid-template-columns: minmax(0, 1fr);+ gap: var(--space-xl);+}+@media (min-width: 58rem) {+ .pledge { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: end; }+}+.pledge__call {+ font-family: var(--font-display);+ font-weight: 800;+ font-size: var(--text-3xl);+ line-height: var(--lh-tight);+ letter-spacing: 0.005em;+ text-transform: uppercase;+ color: var(--color-ink);+ overflow-wrap: anywhere;+ min-width: 0;+}+.pledge__call .red { color: var(--color-accent); }+.pledge__action { justify-self: start; }+@media (min-width: 58rem) { .pledge__action { justify-self: end; } }++.btn {+ display: inline-flex;+ align-items: center;+ gap: var(--space-sm);+ min-height: 48px;+ padding: 0 var(--space-lg);+ background: var(--color-accent-btn);+ color: var(--color-accent-ink);+ font-family: var(--font-mono);+ font-weight: 600;+ font-size: var(--text-sm);+ letter-spacing: 0.08em;+ text-transform: uppercase;+ line-height: 1;+ border: 2px solid var(--color-accent-btn);+ white-space: nowrap;+ transition: background var(--dur-base) var(--ease-out),+ color var(--dur-base) var(--ease-out),+ transform var(--dur-fast) var(--ease-out);+}+.btn:hover { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper); text-decoration: none; }+.btn:active { transform: translateY(1px); }+.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }+.btn:disabled { opacity: 0.55; cursor: not-allowed; }+.btn .arw { font-family: var(--font-mono); }++.pledge__small {+ margin-top: var(--space-md);+ font-family: var(--font-mono);+ font-size: var(--text-xs);+ letter-spacing: 0.04em;+ text-transform: uppercase;+ color: var(--color-ink-mute);+}++/* ════════════════════ Colophon footer (bespoke) ════════════════════ */+.colophon {+ position: relative;+ z-index: 1;+ padding-block: clamp(var(--space-xl), 5vw, var(--space-3xl));+ display: grid;+ grid-template-columns: minmax(0, 1fr);+ gap: var(--space-lg) var(--space-2xl);+}+@media (min-width: 50rem) {+ .colophon { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }+}+.colophon__mark {+ font-family: var(--font-display);+ font-weight: 800;+ font-size: var(--text-xl);+ line-height: 1;+ text-transform: uppercase;+ color: var(--color-ink);+}+.colophon__body {+ margin-top: var(--space-md);+ font-size: var(--text-base);+ color: var(--color-ink-2);+ max-width: 56ch;+}+.colophon__meta {+ font-family: var(--font-mono);+ font-size: var(--text-xs);+ letter-spacing: 0.05em;+ text-transform: uppercase;+ color: var(--color-ink-mute);+ line-height: 1.9;+}+.colophon__meta a:hover { color: var(--color-accent-deep); }+.colophon__rule { grid-column: 1 / -1; border-top: var(--rule-hair); padding-top: var(--space-md);+ font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.1em;+ text-transform: uppercase; color: var(--color-ink-mute);+ display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-md); }++/* ════════════════════ One orchestrated motion: registration sweep ════════════════════ */+/* THE PRINCIPLE: the base state is fully PRINTED (ink opaque, in register).+ Motion is an *entrance* layered on top — a one-shot CSS animation that runs+ the ink in from off-register on load and ends `forwards` in the same printed+ state. No JS, no class toggle: if the animation never plays (no-JS, throttled+ rAF, reduced-motion), the slogan is already visible. This is why the headline+ can never get stranded invisible. Stagger comes from per-element --i delay. */++/* The INK (the readable text) is ALWAYS opaque and in register — it carries no+ animation, so legibility can never depend on an animation clock that might be+ paused, throttled, or pre-start. Only the coloured off-register GHOST animates:+ on load it slides from a wider offset into its resting register-miss. If that+ animation never advances, the only consequence is the ghost sits at its start+ offset — the headline itself is fully readable regardless. */+.ghost > .ink { opacity: 1; }+.ghost > .reg { opacity: 0.42; }++@media (prefers-reduced-motion: no-preference) {+ .ghost > .reg {+ animation: reg-settle var(--dur-reg) var(--ease-snap) both;+ animation-delay: calc(var(--i, 0) * 90ms);+ }+}++/* The ghost prints first (further adrift, fainter) then settles toward the ink —+ the two-pass registration "snap". Ends at the same resting offset the static+ `.reg`/`.reg--teal` rules define, so motion and no-motion converge visually. */+@keyframes reg-settle {+ from { opacity: 0.16; transform: translate(calc(var(--reg-shift) * 2.1), calc(var(--reg-shift) * 1.3)); }+}++/* Reduced-motion: no entrance — the printed base state (ink + resting ghost) stands. */+@media (prefers-reduced-motion: reduce) {+ .tally__track { animation: none; }+}++@keyframes tape-scroll {+ from { transform: translateX(0); }+ to { transform: translateX(-50%); }+}++/* Utility */+.u-vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }diff --git a/site/examples/custom-04/tokens.css b/site/examples/custom-04/tokens.cssnew file mode 100644index 0000000..c633d0c--- /dev/null+++ b/site/examples/custom-04/tokens.css@@ -0,0 +1,94 @@+/* Hallmark · custom tokens · one-off, not written back to catalog+ * Repair-café manifesto · scrollable vintage protest poster · two-pass riso ink on bone newsprint+ */++:root {+ /* ── Paper — warm bone newsprint. Never pure white. ── */+ --color-paper: oklch(94% 0.012 85); /* sheet */+ --color-paper-2: oklch(90% 0.016 80); /* toned band */+ --color-paper-3: oklch(85% 0.022 78); /* kraft / tape */+ --color-paper-4: oklch(80% 0.026 76); /* deepest fold */++ /* ── Ink — oxidised iron, not black. ── */+ --color-ink: oklch(24% 0.018 65); /* display ink */+ --color-ink-2: oklch(34% 0.016 60); /* body */+ --color-ink-mute: oklch(48% 0.020 60); /* captions / register text */+ --color-rule: oklch(40% 0.020 62); /* press rules */+ --color-hairline: oklch(72% 0.020 78); /* faint sheet lines */++ /* ── Accent — riso vermilion (the protest pass). Held to a signal. ── */+ --color-accent: oklch(58% 0.205 32); /* large red slogans (≥3:1 large on bone) */+ --color-accent-deep: oklch(52% 0.200 32); /* focus / small labels / links on bone (≥4.5:1) */+ --color-accent-btn: oklch(50% 0.205 32); /* solid fill behind bone text → 5.9:1 */+ --color-accent-ink: oklch(96% 0.012 85); /* bone — text ON the red fill */++ /* ── Second riso pass — mineral teal. Tiny: ghost offset + one tally. ── */+ --color-teal: oklch(56% 0.095 205);++ /* ── Focus ring — never animated, ≥3:1 on bone. ── */+ --color-focus: oklch(52% 0.200 32);++ /* ── Texture inks (halftone dot + grain), tuned alphas of ink ── */+ --dot-ink: oklch(24% 0.018 65 / 0.06);+ --grain-ink: oklch(24% 0.018 65 / 0.045);++ /* ── Mask fill — alpha-only; tinted ink so no pure #000 lives on the page ── */+ --mask-opaque: oklch(24% 0.018 65 / 1);++ /* ── Fonts — Roman display only · 3 families (display / body / mono) ── */+ --font-display: "Big Shoulders Display", "Arial Narrow", system-ui, sans-serif;+ --font-body: "Fraunces", "Iowan Old Style", Georgia, serif;+ --font-mono: "Spline Sans Mono", ui-monospace, "Courier New", monospace;++ /* ── Type scale — poster-fluid ── */+ --text-xs: 0.75rem;+ --text-sm: 0.8125rem;+ --text-base: 1.0625rem;+ --text-lg: 1.25rem;+ --text-xl: 1.625rem;+ --text-2xl: 2.25rem;+ --text-3xl: clamp(2.75rem, 6vw, 4.5rem);+ --text-slab: clamp(3.5rem, 13vw, 11rem); /* manifesto planks */+ --text-fold: clamp(3.25rem, 13vw, 9.5rem); /* the fold slogan — sized so the full "Don't bin it. Fix it." clears the fold at 1280×800 */+ --text-num: clamp(3rem, 9vw, 8rem); /* ballooned numerals */++ --lh-slab: 1.0; /* gate-67 floor for wrapping all-caps display heads */+ --lh-tight: 1.02;+ --lh-body: 1.62;++ /* ── 4px spacing scale ── */+ --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: 6.5rem;+ --space-4xl: 10rem;+ --space-5xl: 14rem;++ /* ── Rules — letterpress weights ── */+ --rule-hair: 1px solid var(--color-hairline);+ --rule-press: 2px solid var(--color-rule);+ --rule-ink: 3px solid var(--color-ink);+ --rule-double: 4px double var(--color-ink);++ /* ── Radius — none; this is a flat printed sheet ── */+ --radius-xs: 1px;+ --radius-sm: 2px;++ /* ── Shell ── */+ --sheet-max: 1280px;+ --sheet-pad: clamp(1.25rem, 5vw, 5rem);+ --crop: clamp(0.75rem, 2.4vw, 2rem); /* corner crop-mark inset */++ /* ── Motion — one orchestrated registration sweep + the tape marquee ── */+ --reg-shift: 0.18em; /* how far the ink starts off-register */+ --dur-reg: 620ms;+ --dur-fast: 140ms;+ --dur-base: 240ms;+ --dur-tape: 46s;+ --ease-snap: cubic-bezier(0.2, 0.9, 0.2, 1); /* settle, no overshoot */+ --ease-out: cubic-bezier(0.22, 1, 0.36, 1);+}diff --git a/site/examples/custom-05/index.html b/site/examples/custom-05/index.htmlnew file mode 100644index 0000000..2aa1230--- /dev/null+++ b/site/examples/custom-05/index.html@@ -0,0 +1,215 @@+<!DOCTYPE html>+<html lang="en">+<head>+ <meta charset="UTF-8">+ <meta name="viewport" content="width=device-width, initial-scale=1.0">+ <title>Hollow Coast — field recordings by Wren Auclair</title>+ <meta name="description" content="A scrubbable index of field recordings: shorelines, weather, rooms and machines, captured on location by sound artist Wren Auclair.">+ <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=Fraunces:opsz,[email protected],360;9..144,460;9..144,560;9..144,640&family=Spline+Sans:wght@400;500;600&family=Spline+Sans+Mono:wght@400;500&display=swap" rel="stylesheet">+ <link rel="stylesheet" href="tokens.css">+ <link rel="stylesheet" href="styles.css">+</head>+<body>+ <a class="skip" href="#signal">Skip to the recordings</a>++ <!-- ── Banner ─────────────────────────────────────── -->+ <header class="banner" role="banner">+ <div class="banner__inner">+ <a class="wordmark" href="#top" aria-label="Hollow Coast — home">+ <span class="wordmark__rec" aria-hidden="true"></span>+ <span class="wordmark__name">Hollow Coast</span>+ <span class="wordmark__by">field recordings — Wren Auclair</span>+ </a>+ <p class="banner__clock" aria-live="off">+ <span class="banner__pos" data-clock>00:00</span>+ <span class="banner__total">/ 41:30</span>+ <span class="banner__here" data-here>Signal</span>+ </p>+ </div>+ </header>++ <!-- ── The waveform-timeline · this IS the navigation ── -->+ <nav class="timeline" aria-label="Recordings timeline" id="timeline">+ <div class="timeline__inner">+ <span class="timeline__lede" aria-hidden="true">scrub the tape</span>++ <!-- Drawn waveform (not audio). aria-hidden: the real nav is the link list below it. -->+ <div class="wave" data-wave aria-hidden="true">+ <div class="wave__played" data-played></div>+ <svg class="wave__svg" viewBox="0 0 1000 100" preserveAspectRatio="none" focusable="false">+ <g data-bars></g>+ </svg>+ <span class="wave__playhead" data-playhead></span>+ </div>++ <!-- Markers = section links. Real anchors; usable with motion off. -->+ <ol class="markers" data-markers>+ <li><a class="marker" href="#signal" data-marker style="--at:0%"><span class="marker__t">00:00</span><span class="marker__n">Signal</span></a></li>+ <li><a class="marker" href="#shore" data-marker style="--at:18%"><span class="marker__t">07:12</span><span class="marker__n">Shorelines</span></a></li>+ <li><a class="marker" href="#weather" data-marker style="--at:38%"><span class="marker__t">15:48</span><span class="marker__n">Weather</span></a></li>+ <li><a class="marker" href="#rooms" data-marker style="--at:58%"><span class="marker__t">24:03</span><span class="marker__n">Rooms & machines</span></a></li>+ <li><a class="marker" href="#method" data-marker style="--at:80%"><span class="marker__t">33:20</span><span class="marker__n">Method</span></a></li>+ <li><a class="marker" href="#studio" data-marker style="--at:96%"><span class="marker__t">40:00</span><span class="marker__n">Studio</span></a></li>+ </ol>+ </div>+ </nav>++ <main id="top">++ <!-- ── 00:00 · Signal (intro / the why) ───────────── -->+ <section class="signal" id="signal" aria-labelledby="signal-h" tabindex="-1">+ <div class="shell signal__grid">+ <p class="stamp"><span class="stamp__t">00:00</span> Signal</p>+ <h1 class="signal__title" id="signal-h">+ Some places only<br>say what they are<br><span class="signal__em">when no one speaks.</span>+ </h1>+ <div class="signal__body">+ <p class="lede">+ Hollow Coast is a working index of field recordings — shorelines at the turn+ of the tide, weather arriving over open ground, the slow breathing of empty+ rooms and the machines that keep them. No music. Only what was already there.+ </p>+ <p class="signal__note">+ The page is a single tape. Drag the waveform above, or let it run as you read.+ Each marker is a recording — its time on the reel, its place, its length.+ </p>+ </div>+ <dl class="reel" aria-label="Reel summary">+ <div><dt>Reel</dt><dd>No. 09 — coastal winter</dd></div>+ <div><dt>Length</dt><dd class="mono">41:30</dd></div>+ <div><dt>Captured</dt><dd>Brindle Sound · 54.1°N</dd></div>+ <div><dt>Format</dt><dd>96 kHz / 24-bit, ambisonic</dd></div>+ </dl>+ </div>+ </section>++ <!-- ── The works · a tape index, not a card grid ──── -->+ <section class="reelworks" aria-label="Recordings">++ <article class="track track--a" id="shore" aria-labelledby="shore-h" tabindex="-1">+ <div class="shell track__grid">+ <header class="track__head">+ <p class="stamp"><span class="stamp__t">07:12</span> Shorelines</p>+ <h2 class="track__title" id="shore-h">Brindle Sound, low water</h2>+ </header>+ <p class="track__loc mono">54.142°N 3.018°W · 14:11</p>+ <p class="track__copy">+ Forty minutes before the lowest tide of the year. Shingle drains between waves;+ the whole beach ticks as the water lets go of it. A curlew, twice, far off.+ Recorded prone, mics a hand's width from the wet stone.+ </p>+ <figure class="minwave" aria-label="Quiet recording: long even draws of shingle with two sharp bird calls">+ <svg viewBox="0 0 600 60" preserveAspectRatio="none" focusable="false" data-minwave></svg>+ <figcaption class="mono">11:42 · stereo pair</figcaption>+ </figure>+ </div>+ </article>++ <article class="track track--b" id="weather" aria-labelledby="weather-h" tabindex="-1">+ <div class="shell track__grid">+ <header class="track__head">+ <p class="stamp"><span class="stamp__t">15:48</span> Weather</p>+ <h2 class="track__title" id="weather-h">A front comes in over the flats</h2>+ </header>+ <p class="track__loc mono">54.097°N 3.106°W · 06:30</p>+ <p class="track__copy">+ No shelter for two miles, so the wind has nothing to hold and nothing to break it.+ It arrives as pressure first, then as a long unbroken sheet of rain on standing+ water. The loudest thing here is also the emptiest.+ </p>+ <figure class="minwave" aria-label="A rising, dense recording: pressure building into a sustained wall of rain">+ <svg viewBox="0 0 600 60" preserveAspectRatio="none" focusable="false" data-minwave></svg>+ <figcaption class="mono">08:15 · wind-shielded mono</figcaption>+ </figure>+ </div>+ </article>++ <article class="track track--a" id="rooms" aria-labelledby="rooms-h" tabindex="-1">+ <div class="shell track__grid">+ <header class="track__head">+ <p class="stamp"><span class="stamp__t">24:03</span> Rooms & machines</p>+ <h2 class="track__title" id="rooms-h">The pump house, after hours</h2>+ </header>+ <p class="track__loc mono">53.998°N 2.940°W · 23:40</p>+ <p class="track__copy">+ A brick room the size of a chapel, one motor turning over once a minute to keep+ the level. Between cycles the room rings — a low, patient note you feel before+ you hear. I left the recorder running and stood very still until it forgot me.+ </p>+ <figure class="minwave" aria-label="A sparse recording: a steady low hum punctuated by a slow regular mechanical pulse">+ <svg viewBox="0 0 600 60" preserveAspectRatio="none" focusable="false" data-minwave></svg>+ <figcaption class="mono">19:58 · ambisonic A-format</figcaption>+ </figure>+ </div>+ </article>+ </section>++ <!-- ── 33:20 · Method (field-notes aside, broken rhythm) ── -->+ <section class="method" id="method" aria-labelledby="method-h" tabindex="-1">+ <div class="shell method__grid">+ <header class="method__head">+ <p class="stamp"><span class="stamp__t">33:20</span> Method</p>+ <h2 class="method__title" id="method-h">How the quiet gets kept</h2>+ </header>+ <p class="method__lede">+ Nothing here is sweetened. The work is choosing where to stand, how long to wait,+ and what to leave in.+ </p>+ <ul class="notes" aria-label="Working notes">+ <li class="note">+ <span class="note__k mono">01</span>+ <p>Arrive early enough to be boring. Wildlife and weather both ignore a person+ who has stopped being interesting, which is usually about twenty minutes.</p>+ </li>+ <li class="note">+ <span class="note__k mono">02</span>+ <p>The room is an instrument. A pump house, a stairwell, a culvert — each has a+ note it wants to hold. The recording is mostly about finding it.</p>+ </li>+ <li class="note">+ <span class="note__k mono">03</span>+ <p>Keep the long takes. The minute before something happens is the recording;+ the event is just punctuation.</p>+ </li>+ </ul>+ </div>+ </section>++ <!-- ── 40:00 · Studio (closing, off-axis CTA) ─────── -->+ <section class="studio" id="studio" aria-labelledby="studio-h" tabindex="-1">+ <div class="shell studio__grid">+ <p class="stamp stamp--ink"><span class="stamp__t">40:00</span> Studio</p>+ <h2 class="studio__title" id="studio-h">Borrow the tape.</h2>+ <p class="studio__copy">+ Recordings are available for film, installation and broadcast, and the full reels+ are open for listening by appointment in the studio at Brindle. Tell me the room+ you are trying to fill.+ </p>+ <div class="studio__actions">+ <a class="btn" href="#signal">Request a reel</a>+ <a class="btn btn--ghost" href="#timeline">Back to the tape</a>+ </div>+ </div>+ </section>+ </main>++ <!-- ── Footer · a transport bar, not a 4-column block ── -->+ <footer class="transport" role="contentinfo">+ <div class="shell transport__inner">+ <p class="transport__mark">+ <span class="transport__t mono">[ END · 41:30 ]</span>+ Hollow Coast — field recordings by Wren Auclair+ </p>+ <address class="transport__addr">+ Studio at Brindle Sound · listening by appointment<br>+ <a href="#studio">[email protected]</a> · 54.1°N 3.0°W+ </address>+ <p class="transport__fine mono">Recorded on location. Nothing added. © 2026.</p>+ </div>+ </footer>++ <script src="script.js" defer></script>+</body>+</html>diff --git a/site/examples/custom-05/script.js b/site/examples/custom-05/script.jsnew file mode 100644index 0000000..6140b3a--- /dev/null+++ b/site/examples/custom-05/script.js@@ -0,0 +1,184 @@+/* Hollow Coast — the one orchestrated motion.+ * Scroll position == playback position. A drawn waveform (not audio) is the nav:+ * - the "played" portion (left of the playhead) lights up in phosphor teal+ * - the playhead travels along the timeline as you scroll+ * - the nearest marker becomes aria-current; the banner clock shows the timecode+ * Everything is transform/opacity/clip + a single --p custom property; no layout props animate.+ * prefers-reduced-motion: no traveling playhead, no scroll-link — the markers stay+ * plain anchor links and aria-current is set on click only.+ */+(function () {+ "use strict";++ var reduce = window.matchMedia("(prefers-reduced-motion: reduce)");++ /* ── Deterministic waveform geometry (stable across loads) ──+ Small seeded PRNG so the "recording" looks the same every time, with a few+ louder transients so it reads like a real envelope, not noise. */+ function makeRNG(seed) {+ var s = seed >>> 0;+ return function () {+ s = (s * 1664525 + 1013904223) >>> 0;+ return s / 4294967296;+ };+ }++ function envelope(t) {+ // gentle swells + a couple of events, 0..1+ var swell = 0.42 + 0.30 * Math.sin(t * Math.PI * 2.0) * Math.sin(t * Math.PI * 0.6 + 0.4);+ var ev = Math.exp(-Math.pow((t - 0.40) * 14, 2)) * 0.5 // a transient ~07:12 region+ + Math.exp(-Math.pow((t - 0.66) * 9, 2)) * 0.7; // a build ~weather/rooms+ return Math.min(1, Math.max(0.12, Math.abs(swell) + ev));+ }++ function buildBars(opts) {+ // returns { rectsMarkup, n, totalW }+ var n = opts.bars;+ var vw = opts.vw, vh = opts.vh;+ var gap = opts.gap;+ var slot = vw / n;+ var w = Math.max(1, slot - gap);+ var rng = makeRNG(opts.seed);+ var mid = vh / 2;+ var rects = "";+ for (var i = 0; i < n; i++) {+ var t = i / (n - 1);+ var amp = envelope(t) * (0.62 + 0.5 * rng()); // jitter on the envelope+ amp = Math.min(1, amp);+ var h = Math.max(opts.minH, amp * vh);+ var x = i * slot + (slot - w) / 2;+ var y = mid - h / 2;+ var cls = opts.hotFn && opts.hotFn(t, amp) ? ' class="bar bar--hot"' : ' class="bar"';+ rects += '<rect' + cls + ' x="' + x.toFixed(2) + '" y="' + y.toFixed(2) ++ '" width="' + w.toFixed(2) + '" height="' + h.toFixed(2) ++ '" rx="' + (w / 2).toFixed(2) + '"/>';+ }+ return rects;+ }++ /* ── Timeline waveform (the nav) ── */+ var waveSvg = document.querySelector("[data-bars]");+ var waveEl = document.querySelector("[data-wave]");+ var playedEl = document.querySelector("[data-played]");++ if (waveSvg && waveEl && playedEl) {+ var VW = 1000, VH = 100;+ var bars = buildBars({ bars: 120, vw: VW, vh: VH, gap: 3.4, minH: 4, seed: 0x9e37 });+ waveSvg.innerHTML = bars;++ // Build a mask SVG (same bars) so the "played" gradient only shows through the bars.+ // The mask reads luminance only; we feed it the page's own --ink token (a light,+ // tinted value) so no raw colour literal is introduced.+ var maskFill = getComputedStyle(document.documentElement)+ .getPropertyValue("--ink").trim() || "oklch(93% 0.012 245)";+ var maskSvg =+ '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ' + VW + ' ' + VH ++ '" preserveAspectRatio="none">' ++ '<g fill="' + maskFill + '">' + bars.replace(/ class="[^"]*"/g, "") + "</g></svg>";+ var mask = 'url("data:image/svg+xml;utf8,' ++ encodeURIComponent(maskSvg).replace(/'/g, "%27").replace(/"/g, "%22") + '")';+ playedEl.style.setProperty("--wave-mask", mask);+ }++ /* ── Per-track mini waveforms (decorative, aria-labelled on the figure) ── */+ var minis = document.querySelectorAll("[data-minwave]");+ minis.forEach(function (svg, idx) {+ var rects = buildBars({+ bars: 80, vw: 600, vh: 60, gap: 2.6, minH: 3, seed: 0x51a3 + idx * 733,+ hotFn: function (t, amp) { return amp > 0.84; }+ });+ svg.innerHTML = rects;+ });++ /* ── Sections + markers wiring ── */+ var markers = Array.prototype.slice.call(document.querySelectorAll("[data-marker]"));+ var sections = markers.map(function (m) {+ var id = m.getAttribute("href").slice(1);+ return document.getElementById(id);+ });++ function setActive(idx) {+ markers.forEach(function (m, i) {+ if (i === idx) m.setAttribute("aria-current", "true");+ else m.removeAttribute("aria-current");+ });+ var m = markers[idx];+ if (m) {+ var t = m.querySelector(".marker__t");+ var n = m.querySelector(".marker__n");+ var clock = document.querySelector("[data-clock]");+ var here = document.querySelector("[data-here]");+ if (clock && t) clock.textContent = t.textContent;+ if (here && n) here.textContent = n.textContent;+ }+ }++ // Click always sets the active marker (works with motion off too).+ markers.forEach(function (m, i) {+ m.addEventListener("click", function () { setActive(i); });+ });++ setActive(0);++ /* ── Reduced motion: stop here. The timeline is now a static set of+ labelled anchor links; clicks still update aria-current + clock. ── */+ if (reduce.matches) return;++ /* ── The orchestrated motion: scroll == playback ──+ Drive --p (0..1) from how far the document is scrolled through the reel.+ playhead = translateX(--p), played fill = clip-path inset on --p.+ rAF-throttled; only transform/clip/opacity touched. */+ var timelineEl = document.getElementById("timeline");+ var root = document.documentElement;+ var ticking = false;++ function progress() {+ var doc = document.documentElement;+ var max = doc.scrollHeight - window.innerHeight;+ if (max <= 0) return 0;+ return Math.min(1, Math.max(0, window.scrollY / max));+ }++ function nearestMarkerIndex() {+ // the section whose top is closest to just under the docked timeline+ var dockPx = (timelineEl ? timelineEl.getBoundingClientRect().bottom : 0) + 8;+ var best = 0, bestDist = Infinity;+ sections.forEach(function (sec, i) {+ if (!sec) return;+ var top = sec.getBoundingClientRect().top;+ var dist = Math.abs(top - dockPx);+ // prefer sections at or above the dock line+ if (top - dockPx <= 24 && dist < bestDist) { bestDist = dist; best = i; }+ });+ return best;+ }++ var lastActive = -1;+ function frame() {+ ticking = false;+ var p = progress();+ if (waveEl) {+ waveEl.style.setProperty("--p", p.toFixed(4));+ }+ var idx = nearestMarkerIndex();+ if (idx !== lastActive) { setActive(idx); lastActive = idx; }+ }++ function onScroll() {+ if (!ticking) { ticking = true; requestAnimationFrame(frame); }+ }++ window.addEventListener("scroll", onScroll, { passive: true });+ window.addEventListener("resize", onScroll, { passive: true });+ frame();++ // If the user flips the OS setting mid-session, drop the live parts cleanly.+ if (reduce.addEventListener) {+ reduce.addEventListener("change", function (e) {+ if (e.matches) {+ window.removeEventListener("scroll", onScroll);+ if (waveEl) waveEl.style.removeProperty("--p");+ }+ });+ }+})();diff --git a/site/examples/custom-05/styles.css b/site/examples/custom-05/styles.cssnew file mode 100644index 0000000..3ab3fb7--- /dev/null+++ b/site/examples/custom-05/styles.css@@ -0,0 +1,583 @@+/* Hallmark · route: custom · structure: tape-transport — sticky waveform-timeline nav over a vertical reel of recording "tracks" (no hero, no 3-up, no CTA template) · idea: "the section nav IS a drawn waveform-timeline you scrub; scroll = playback position, the played part lights up" · paper: oklch(17% 0.018 250) · accent: oklch(81% 0.155 178) · display: Fraunces · body: Spline Sans · gates: all-pass · v1.1 */+/* Hallmark · pre-emit critique: P5 H5 E5 S5 R4 V5 */+/* · contrast: pass (46–50) · nav: bespoke waveform-timeline · footer: Ft transport · slop: pass (51–55)+ * · honest: pass (56) · chrome: pass (57) · tokens: pass (58) · responsive: pass (59) · icons: pass (60)+ * · mobile: pass (36, 59, 61–69) */++/* ── Reset ─────────────────────────────────────────── */+*, *::before, *::after { box-sizing: border-box; }+* { margin: 0; padding: 0; }+html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }+html, body { overflow-x: clip; }+html { scroll-padding-top: calc(var(--dock) + var(--space-md)); }+body {+ background: var(--paper);+ color: var(--ink);+ font-family: var(--font-body);+ font-size: var(--text-md);+ line-height: var(--leading-body);+ -webkit-font-smoothing: antialiased;+ text-rendering: optimizeLegibility;+}+img, svg, video { display: block; max-width: 100%; }+a { color: inherit; text-decoration: none; }+ul, ol { list-style: none; }+.mono { font-family: var(--font-mono); letter-spacing: var(--track-mono); font-variant-numeric: tabular-nums; }++/* Focus · instant, no fade, visible on any panel */+:focus-visible {+ outline: 2px solid var(--focus);+ outline-offset: 3px;+ border-radius: 2px;+}++.skip {+ position: fixed;+ top: var(--space-sm);+ left: var(--space-sm);+ z-index: var(--z-skip);+ padding: var(--space-2xs) var(--space-sm);+ background: var(--accent);+ color: var(--accent-ink);+ font-weight: 600;+ border-radius: var(--radius);+ transform: translateY(-160%);+}+.skip:focus { transform: translateY(0); }++/* ── Layout primitives ─────────────────────────────── */+.shell {+ width: 100%;+ max-width: var(--max-w);+ margin-inline: auto;+ padding-inline: var(--gutter);+}++/* timecode + name stamp that opens every section (vertical stack — gate 66) */+.stamp {+ display: flex;+ align-items: baseline;+ gap: var(--space-xs);+ font-size: var(--text-xs);+ letter-spacing: var(--track-wide);+ text-transform: uppercase;+ color: var(--ink-mute);+}+.stamp__t {+ font-family: var(--font-mono);+ letter-spacing: var(--track-mono);+ color: var(--accent);+ font-variant-numeric: tabular-nums;+}+.stamp--ink { color: var(--ink-soft); }++.lede {+ font-size: var(--text-lg);+ line-height: var(--leading-snug);+ color: var(--ink);+ max-width: var(--measure);+}++/* ── Banner ────────────────────────────────────────── */+.banner {+ position: sticky;+ top: 0;+ z-index: var(--z-header);+ height: var(--header-h);+ background: var(--banner-glass);+ backdrop-filter: blur(10px);+ -webkit-backdrop-filter: blur(10px);+ border-bottom: var(--hairline) solid var(--rule-soft);+}+.banner__inner {+ height: 100%;+ max-width: var(--max-w);+ margin-inline: auto;+ padding-inline: var(--gutter);+ display: flex;+ align-items: center;+ justify-content: space-between;+ gap: var(--space-md);+}+.wordmark {+ display: flex;+ align-items: center;+ gap: var(--space-2xs);+ min-width: 0;+}+.wordmark__rec {+ width: 9px; height: 9px;+ border-radius: 50%;+ background: var(--amber);+ box-shadow: 0 0 0 0 var(--amber);+ flex: none;+ animation: rec 2.6s var(--ease) infinite;+}+.wordmark__name {+ font-family: var(--font-display);+ font-weight: 560;+ font-size: var(--text-lg);+ letter-spacing: var(--track-tight);+ line-height: 1;+ white-space: nowrap;+}+.wordmark__by {+ font-size: var(--text-2xs);+ letter-spacing: var(--track-wide);+ text-transform: uppercase;+ color: var(--ink-mute);+ white-space: nowrap;+}+.banner__clock {+ display: flex;+ align-items: baseline;+ gap: var(--space-2xs);+ font-family: var(--font-mono);+ font-size: var(--text-xs);+ letter-spacing: var(--track-mono);+ font-variant-numeric: tabular-nums;+ white-space: nowrap;+}+.banner__pos { color: var(--accent); font-weight: 500; }+.banner__total { color: var(--ink-faint); }+.banner__here {+ font-family: var(--font-body);+ letter-spacing: var(--track-wide);+ text-transform: uppercase;+ font-size: var(--text-2xs);+ color: var(--ink-soft);+ padding-left: var(--space-2xs);+ border-left: var(--hairline) solid var(--rule);+}++/* ── The waveform-timeline · the navigation ────────── */+.timeline {+ position: sticky;+ top: var(--header-h);+ z-index: var(--z-timeline);+ height: var(--timeline-h);+ background:+ linear-gradient(180deg, var(--timeline-top), var(--timeline-bot));+ backdrop-filter: blur(10px);+ -webkit-backdrop-filter: blur(10px);+ border-bottom: var(--hairline) solid var(--rule);+}+.timeline__inner {+ position: relative;+ height: 100%;+ max-width: var(--max-w);+ margin-inline: auto;+ padding: var(--space-sm) var(--gutter) var(--space-md);+ display: flex;+ flex-direction: column;+ justify-content: center;+}+.timeline__lede {+ position: absolute;+ top: var(--space-2xs);+ right: var(--gutter);+ font-size: var(--text-2xs);+ letter-spacing: var(--track-wide);+ text-transform: uppercase;+ color: var(--ink-faint);+}++/* the drawn wave */+.wave {+ position: relative;+ height: 46px;+ margin-bottom: var(--space-sm);+}+.wave__svg {+ position: absolute;+ inset: 0;+ width: 100%; height: 100%;+}+.wave__svg .bar { fill: var(--ink-faint); }+/* the "played" portion lights up — a clip driven by --p (0–1) set in JS */+.wave__played {+ position: absolute;+ inset: 0;+ z-index: 1;+ pointer-events: none;+ background: linear-gradient(90deg, var(--accent-deep), var(--accent));+ -webkit-mask: var(--wave-mask);+ mask: var(--wave-mask);+ -webkit-mask-size: 100% 100%;+ mask-size: 100% 100%;+ clip-path: inset(0 calc(100% - var(--p, 0) * 100%) 0 0);+ filter: drop-shadow(0 0 6px var(--accent-dim));+}+.wave__playhead {+ position: absolute;+ top: -6px; bottom: -6px;+ left: 0;+ width: 2px;+ z-index: 2;+ background: var(--accent);+ box-shadow: 0 0 8px 1px var(--accent);+ transform: translateX(calc(var(--p, 0) * (100cqw - 2px)));+ pointer-events: none;+}+.wave { container-type: inline-size; }++/* markers = the actual links */+.markers {+ position: relative;+ display: block;+ height: 30px;+}+.marker {+ position: absolute;+ left: var(--at);+ top: 0;+ transform: translateX(-50%);+ display: inline-flex;+ flex-direction: column;+ align-items: center;+ gap: 1px;+ padding: var(--space-3xs) var(--space-2xs);+ border-radius: var(--radius);+ white-space: nowrap;+ color: var(--ink-mute);+ transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);+}+.marker::before {+ content: "";+ position: absolute;+ top: calc(-1 * var(--space-sm) - 4px);+ width: 1px; height: var(--space-sm);+ background: var(--rule);+}+.marker__t {+ font-family: var(--font-mono);+ font-size: var(--text-2xs);+ letter-spacing: var(--track-mono);+ font-variant-numeric: tabular-nums;+}+.marker__n {+ font-size: var(--text-2xs);+ letter-spacing: 0.02em;+}+.marker:hover { color: var(--ink); background: var(--paper-3); }+.marker[aria-current="true"] { color: var(--accent); }+.marker[aria-current="true"]::before { background: var(--accent); height: calc(var(--space-sm) + 2px); }+.marker[aria-current="true"] .marker__t { color: var(--accent); }++/* hide the lesser markers on very small screens, keep them reachable via skip + scroll */+@media (max-width: 34rem) {+ .timeline__lede { display: none; }+ .marker__n { display: none; }+}++/* ── 00:00 · Signal ────────────────────────────────── */+section[tabindex] { scroll-margin-top: var(--dock); }+section[tabindex]:focus { outline: none; }++.signal { padding-block: var(--space-xl) var(--space-2xl); }+.signal__grid {+ display: grid;+ grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);+ column-gap: var(--space-2xl);+ row-gap: var(--space-xl);+ align-items: start;+}+.signal .stamp { grid-column: 1 / -1; }+.signal__title {+ grid-column: 1;+ font-family: var(--font-display);+ font-weight: 460;+ /* sized so the three-line statement clears the fold at 1280×800 — still the page's largest type */+ font-size: clamp(2.75rem, 6.4vw, 4.75rem);+ line-height: var(--leading-tight);+ letter-spacing: var(--track-tight);+ overflow-wrap: anywhere;+ min-width: 0;+ text-wrap: balance;+}+.signal__em { color: var(--accent); }+.signal__body {+ grid-column: 2;+ display: flex;+ flex-direction: column;+ gap: var(--space-md);+ align-self: end;+}+.signal__note { color: var(--ink-soft); max-width: var(--measure); }++.reel {+ grid-column: 1 / -1;+ margin-top: var(--space-lg);+ display: grid;+ grid-template-columns: repeat(4, minmax(0, 1fr));+ gap: var(--space-md);+ padding-top: var(--space-lg);+ border-top: var(--hairline) solid var(--rule);+}+.reel dt {+ font-size: var(--text-2xs);+ letter-spacing: var(--track-wide);+ text-transform: uppercase;+ color: var(--ink-faint);+ margin-bottom: var(--space-3xs);+}+.reel dd { font-size: var(--text-sm); color: var(--ink-soft); }+.reel dd.mono { color: var(--ink); }++/* ── The works · reel of tracks ────────────────────── */+.reelworks { border-top: var(--hairline) solid var(--rule); }+.track {+ padding-block: var(--space-2xl);+ border-bottom: var(--hairline) solid var(--rule-soft);+}+.track__grid {+ display: grid;+ grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);+ column-gap: var(--space-2xl);+ row-gap: var(--space-lg);+ align-items: start;+}+/* alternate the reading offset so the reel doesn't march in lockstep */+.track--b .track__head { grid-column: 2; grid-row: 1; }+.track--b .track__loc { grid-column: 2; grid-row: 2; }+.track--b .track__copy { grid-column: 1; grid-row: 1 / 3; align-self: center; }+.track--b .minwave { grid-column: 1 / -1; }++.track__head { grid-column: 1; } /* eyebrow + heading stacked (gate 66) */+.track__title {+ font-family: var(--font-display);+ font-weight: 460;+ font-size: var(--text-3xl);+ line-height: var(--leading-tight);+ letter-spacing: var(--track-tight);+ margin-top: var(--space-xs);+ overflow-wrap: anywhere;+ min-width: 0;+ text-wrap: balance;+}+.track__loc { grid-column: 1; font-size: var(--text-sm); color: var(--accent-deep); }+.track__copy {+ grid-column: 2;+ grid-row: 1 / 3;+ align-self: center;+ font-size: var(--text-lg);+ line-height: var(--leading-snug);+ color: var(--ink-soft);+ max-width: var(--measure);+}+.minwave {+ grid-column: 1 / -1;+ margin-top: var(--space-sm);+ padding: var(--space-md);+ background: var(--paper-2);+ border: var(--hairline) solid var(--rule-soft);+ border-radius: var(--radius-lg);+ display: flex;+ flex-direction: column;+ gap: var(--space-2xs);+}+.minwave svg { width: 100%; height: 56px; }+.minwave .bar { fill: var(--ink-faint); }+.minwave .bar--hot { fill: var(--accent-deep); }+.minwave figcaption { font-size: var(--text-2xs); color: var(--ink-mute); align-self: flex-end; }++/* ── 33:20 · Method ────────────────────────────────── */+.method {+ background: var(--paper-2);+ padding-block: var(--space-3xl);+ border-bottom: var(--hairline) solid var(--rule);+}+.method__grid {+ display: grid;+ grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);+ column-gap: var(--space-2xl);+ row-gap: var(--space-xl);+ align-items: start;+}+.method__head { grid-column: 1; }+.method__title {+ font-family: var(--font-display);+ font-weight: 460;+ font-size: var(--text-2xl);+ line-height: var(--leading-tight);+ letter-spacing: var(--track-tight);+ margin-top: var(--space-xs);+}+.method__lede {+ grid-column: 1;+ color: var(--ink-soft);+ font-size: var(--text-lg);+ line-height: var(--leading-snug);+ max-width: 34ch;+}+.notes {+ grid-column: 2;+ display: flex;+ flex-direction: column;+}+.note {+ display: grid;+ grid-template-columns: auto minmax(0, 1fr);+ gap: var(--space-md);+ padding-block: var(--space-md);+ border-top: var(--hairline) solid var(--rule);+}+.note:first-child { border-top: 0; padding-top: 0; }+.note__k { color: var(--accent); font-size: var(--text-sm); padding-top: 0.2em; }+.note p { color: var(--ink-soft); max-width: var(--measure); }++/* ── 40:00 · Studio (closing) ──────────────────────── */+.studio {+ padding-block: var(--space-3xl) var(--space-4xl);+ background:+ radial-gradient(120% 90% at 88% 0%, var(--studio-bloom), transparent 60%),+ var(--paper);+}+.studio__grid {+ display: grid;+ grid-template-columns: minmax(0, 1fr);+ gap: var(--space-md);+ max-width: 50rem;+}+.studio .stamp { margin-bottom: var(--space-2xs); }+.studio__title {+ font-family: var(--font-display);+ font-weight: 560;+ font-size: var(--text-4xl);+ line-height: var(--leading-tight);+ letter-spacing: var(--track-tight);+ overflow-wrap: anywhere;+ min-width: 0;+}+.studio__copy { color: var(--ink-soft); font-size: var(--text-lg); line-height: var(--leading-snug); max-width: var(--measure); }+.studio__actions {+ margin-top: var(--space-md);+ display: flex;+ flex-wrap: wrap;+ align-items: center;+ gap: var(--space-sm);+}++/* ── Button · 8 states ─────────────────────────────── */+.btn {+ display: inline-flex;+ align-items: center;+ justify-content: center;+ min-height: 46px;+ padding: 0 var(--space-lg);+ background: var(--accent);+ color: var(--accent-ink);+ font-weight: 600;+ font-size: var(--text-sm);+ letter-spacing: 0.01em;+ line-height: 1;+ white-space: nowrap;+ border: var(--hairline) solid transparent;+ border-radius: var(--radius);+ transition: background-color 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);+}+.btn:hover { background: var(--accent-deep); }+.btn:active { background: var(--accent-deep); transform: translateY(1px); }+.btn[aria-disabled="true"], .btn:disabled {+ opacity: 0.55; cursor: not-allowed; background: var(--ink-faint); color: var(--paper);+}+.btn--ghost {+ background: transparent;+ color: var(--ink);+ border-color: var(--rule);+}+.btn--ghost:hover { background: var(--paper-3); border-color: var(--ink-faint); }+.btn--ghost:active { background: var(--paper-3); }++/* ── Footer · transport bar ────────────────────────── */+.transport {+ background: var(--paper-sink);+ border-top: var(--hairline) solid var(--rule);+ padding-block: var(--space-xl);+}+.transport__inner {+ display: grid;+ grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);+ gap: var(--space-lg) var(--space-2xl);+ align-items: start;+}+.transport__mark {+ font-family: var(--font-display);+ font-size: var(--text-lg);+ font-weight: 460;+ line-height: var(--leading-snug);+ color: var(--ink);+}+.transport__t {+ display: block;+ font-family: var(--font-mono);+ font-size: var(--text-2xs);+ letter-spacing: var(--track-wide);+ color: var(--accent-deep);+ margin-bottom: var(--space-2xs);+}+.transport__addr {+ font-style: normal;+ font-size: var(--text-sm);+ line-height: var(--leading-body);+ color: var(--ink-soft);+}+.transport__addr a { color: var(--ink); border-bottom: var(--hairline) solid var(--rule); }+.transport__addr a:hover { color: var(--accent); border-color: var(--accent); }+.transport__fine {+ grid-column: 1 / -1;+ padding-top: var(--space-md);+ border-top: var(--hairline) solid var(--rule-soft);+ font-size: var(--text-2xs);+ color: var(--ink-faint);+}++/* ── Responsive ────────────────────────────────────── */+@media (max-width: 56rem) {+ .signal__grid,+ .track__grid,+ .method__grid,+ .transport__inner { grid-template-columns: minmax(0, 1fr); }++ .signal__title,+ .signal__body { grid-column: 1; }+ .signal__body { align-self: start; }++ .track__head, .track__loc, .track__copy,+ .track--b .track__head, .track--b .track__loc, .track--b .track__copy, .track--b .minwave {+ grid-column: 1;+ grid-row: auto;+ align-self: start;+ }+ .method__head, .method__lede, .notes { grid-column: 1; }+ .reel { grid-template-columns: repeat(2, minmax(0, 1fr)); }+}++@media (max-width: 34rem) {+ :root { --timeline-h: 104px; }+ .banner__by { display: none; }+ .wordmark__by { display: none; }+ .banner__here { display: none; }+ .reel { grid-template-columns: minmax(0, 1fr); }+}++/* ── Reduced motion · timeline becomes plain anchor links ── */+@media (prefers-reduced-motion: reduce) {+ html { scroll-behavior: auto; }+ *, *::before, *::after {+ animation-duration: 0.001ms !important;+ animation-iteration-count: 1 !important;+ transition-duration: 0.001ms !important;+ }+ .wordmark__rec { animation: none; }+ /* No traveling playhead / fill: show the wave statically, hide the moving parts. */+ .wave__played { display: none; }+ .wave__playhead { display: none; }+ .marker[aria-current="true"] { background: var(--paper-3); }+}++/* the REC pulse — the only ambient loop, amber tape-light */+@keyframes rec {+ 0%, 70%, 100% { box-shadow: 0 0 0 0 var(--amber-glow); }+ 35% { box-shadow: 0 0 0 5px var(--amber-glow-out); }+}diff --git a/site/examples/custom-05/tokens.css b/site/examples/custom-05/tokens.cssnew file mode 100644index 0000000..04142b0--- /dev/null+++ b/site/examples/custom-05/tokens.css@@ -0,0 +1,95 @@+/* Hallmark tokens · route: custom · HOLLOW COAST (field recordist)+ * idea: "the section nav IS a drawn waveform-timeline you scrub"+ * axes: dark / soft-serif-old-style / phosphor-teal+ */++:root {+ /* ── Colour · OKLCH · dark studio ground, every neutral tinted blue-graphite ── */+ --paper: oklch(17% 0.018 250); /* deep monitoring-room ground (not #000) */+ --paper-2: oklch(21% 0.020 250); /* panel */+ --paper-3: oklch(25% 0.022 252); /* raised track / hover */+ --paper-sink: oklch(14% 0.016 250); /* footer / well */++ --ink: oklch(93% 0.012 245); /* warm-cool off-white (not #fff) — 15.6:1 on paper */+ --ink-soft: oklch(75% 0.014 248); /* 8.6:1 */+ --ink-mute: oklch(63% 0.016 250); /* ≥4.5:1 on paper AND on panel-2 (caption/stamp) */+ --ink-faint: oklch(60% 0.018 252); /* secondary text (clock total, fine print) — 4.85:1 */++ --rule: oklch(30% 0.020 252);+ --rule-soft: oklch(26% 0.018 252);++ /* Signal accent — phosphor teal (oscilloscope glow). Kept to <5% of any view. */+ --accent: oklch(81% 0.155 178);+ --accent-deep: oklch(68% 0.145 180);+ --accent-dim: oklch(81% 0.155 178 / 0.16);+ --accent-ink: oklch(17% 0.030 196); /* text ON the accent fill (dark on teal) */++ /* Tape-light amber — second signal, REC dot only */+ --amber: oklch(81% 0.125 72);++ --focus: oklch(85% 0.150 178); /* ≥3:1 vs ground and panels */+ --overlay: oklch(14% 0.016 250 / 0.72);++ /* translucent surfaces (glass docks, gradient stops, glow) — alpha variants of the above */+ --banner-glass: oklch(15% 0.016 250 / 0.86);+ --timeline-top: oklch(16% 0.017 250 / 0.96);+ --timeline-bot: oklch(18% 0.018 250 / 0.96);+ --studio-bloom: oklch(24% 0.045 184 / 0.55); /* the one accent bloom, fixed, ~12% area */+ --amber-glow: oklch(81% 0.125 72 / 0.5);+ --amber-glow-out: oklch(81% 0.125 72 / 0);++ /* ── Type · free Google fonts, no banned display ── */+ --font-display: "Fraunces", Georgia, "Times New Roman", serif;+ --font-body: "Spline Sans", ui-sans-serif, system-ui, sans-serif;+ --font-mono: "Spline Sans Mono", ui-monospace, "SFMono-Regular", monospace;++ /* Scale (1.25-ish) */+ --text-2xs: 0.6875rem;+ --text-xs: 0.78rem;+ --text-sm: 0.875rem;+ --text-md: 1.0625rem;+ --text-lg: 1.3125rem;+ --text-xl: 1.75rem;+ --text-2xl: 2.5rem;+ --text-3xl: clamp(2.75rem, 6vw, 4.75rem);+ --text-4xl: clamp(3.5rem, 10vw, 7.5rem);++ --leading-body: 1.6;+ --leading-tight: 1.08;+ --leading-snug: 1.22;++ --track-tight: -0.02em;+ --track-wide: 0.16em;+ --track-mono: 0.04em;++ /* Spacing · 4px scale */+ --space-3xs: 0.25rem;+ --space-2xs: 0.5rem;+ --space-xs: 0.75rem;+ --space-sm: 1rem;+ --space-md: 1.5rem;+ --space-lg: 2.25rem;+ --space-xl: 3.5rem;+ --space-2xl: 5rem;+ --space-3xl: 7.5rem;+ --space-4xl: 10rem;++ /* Structure */+ --max-w: 76rem;+ --gutter: clamp(1.25rem, 4vw, 3rem);+ --measure: 62ch;+ --header-h: 58px;+ --timeline-h: 132px; /* the waveform-timeline nav strip */+ --dock: calc(var(--header-h) + var(--timeline-h));+ --radius: 4px;+ --radius-lg: 10px;+ --hairline: 1px;++ /* Z */+ --z-timeline: 200; /* sticky waveform nav (in-page) */+ --z-header: 300; /* top banner out-paints the timeline */+ --z-skip: 400;++ --ease: cubic-bezier(0.22, 0.61, 0.36, 1);+ --dur: 0.5s;+}diff --git a/site/examples/hum-02/index.html b/site/examples/hum-02/index.htmlnew file mode 100644index 0000000..fb3c086--- /dev/null+++ b/site/examples/hum-02/index.html@@ -0,0 +1,204 @@+<!doctype html>+<html lang="en" data-theme="hum">+<head>+ <meta charset="utf-8" />+ <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />+ <title>Sprout — Reading, one happy step at a time.</title>+ <meta name="description" content="Sprout teaches kids aged 4–7 to read with ten-minute phonics lessons, a friendly guide, and no ads, ever." />+ <meta name="theme-color" content="#faf6ee" />+ <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=Plus+Jakarta+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet" />+ <link rel="stylesheet" href="tokens.css" />+ <link rel="stylesheet" href="styles.css" />+</head>+<body>+ <a class="sr-only" href="#main">Skip to content</a>++ <!-- ─── Nav · N1b canonical three-section (Hum-styled) ─── -->+ <header class="nav" id="nav">+ <div class="nav__inner">+ <a class="nav__brand" href="#" aria-label="Sprout — home">+ <span class="sprout-mark" aria-hidden="true"><span class="sprout-mark__face"></span></span>+ Sprout+ </a>+ <nav class="nav__center" aria-label="Primary">+ <div class="nav__item nav__item--menu">+ <button class="nav__link" aria-expanded="false">How it works <span class="nav__caret"></span></button>+ <div class="nav__dropdown" role="menu">+ <a class="nav__dropitem" href="#"><b>The lessons</b><i>Ten minutes, every day</i></a>+ <a class="nav__dropitem" href="#"><b>Phonics path</b><i>From letters to little books</i></a>+ <a class="nav__dropitem" href="#"><b>Meet Sprout</b><i>The friendly guide</i></a>+ </div>+ </div>+ <a class="nav__link" href="#families">For families</a>+ <a class="nav__link" href="#schools">For schools</a>+ <a class="nav__link" href="#stories">Stories</a>+ </nav>+ <div class="nav__right">+ <a class="btn btn--text" href="#">Sign in</a>+ <a class="btn btn--pear btn--small" href="#">Try free</a>+ </div>+ </div>+ </header>++ <main id="main">++ <!-- ─── Hero · centred + full-width bento ─── -->+ <section class="hero">+ <div class="hero__head">+ <p class="eyebrow"><span class="eyebrow__dot eyebrow__dot--mint"></span> Ages 4–7 · no ads, ever</p>+ <h1 class="hero__title">Reading, one happy <span class="hero__em">step</span> at a time.</h1>+ <p class="hero__lede">+ Sprout turns learning to read into a ten-minute habit kids ask for — friendly+ phonics, a guide who cheers them on, and not a single advertisement.+ </p>+ <div class="hero__cta">+ <a class="btn btn--pear btn--lg" href="#">Start free for 14 days</a>+ <a class="btn btn--ghost btn--lg" href="#how">See a lesson →</a>+ </div>+ </div>++ <!-- Bento grid — the product, shown abstractly -->+ <div class="bento" aria-label="What's inside Sprout">+ <article class="bento__tile bento__tile--word" data-accent="mint">+ <p class="tile__kicker">Today's word</p>+ <p class="tile__word">bloom</p>+ <p class="tile__phonics"><span>b</span><span>l</span><span class="is-hot">oo</span><span>m</span></p>+ <p class="tile__say">say it: <b>b — l — oo — m</b></p>+ </article>++ <article class="bento__tile bento__tile--guide" data-accent="lavender">+ <div class="guide" aria-hidden="true">+ <span class="guide__leaf"></span>+ <span class="guide__body"><span class="guide__face"></span></span>+ </div>+ <p class="tile__guide-line">"Hi, I'm Sprout! Ready for today's word?"</p>+ </article>++ <article class="bento__tile bento__tile--streak" data-accent="pear">+ <p class="tile__kicker">On a roll</p>+ <p class="tile__big"><span class="count" data-to="12">12</span><span class="tile__unit">days</span></p>+ <p class="tile__dots" aria-hidden="true"><i></i><i></i><i></i><i></i><i></i><i></i><i></i></p>+ </article>++ <article class="bento__tile bento__tile--learned" data-accent="cyan">+ <p class="tile__kicker">Words learned</p>+ <p class="tile__big"><span class="count" data-to="47">47</span></p>+ <p class="tile__sub">three new this week</p>+ </article>++ <article class="bento__tile bento__tile--game" data-accent="coral">+ <p class="tile__kicker">Today's game</p>+ <p class="tile__game-title">Catch the rhyme</p>+ <div class="rhyme" aria-hidden="true">+ <span class="rhyme__chip">cat</span>+ <span class="rhyme__chip rhyme__chip--match">hat</span>+ <span class="rhyme__chip">dog</span>+ <span class="rhyme__chip rhyme__chip--match">bat</span>+ </div>+ </article>++ <article class="bento__tile bento__tile--parent" data-accent="mint">+ <p class="tile__kicker">For grown-ups</p>+ <p class="tile__parent">A weekly note on what your reader is finding easy — and what to gently practise.</p>+ <p class="tile__parent-meta">Sundays · 30-second read</p>+ </article>+ </div>+ </section>++ <!-- ─── How a lesson works · 3 steps ─── -->+ <section class="section section--band" id="how" aria-labelledby="how-title">+ <header class="section__head section__head--center">+ <p class="eyebrow"><span class="eyebrow__dot eyebrow__dot--pear"></span> A lesson, start to finish</p>+ <h2 class="section__title" id="how-title">Ten minutes. Three little moves.</h2>+ </header>+ <div class="steps">+ <article class="step" data-accent="mint">+ <span class="step__num">1</span>+ <h3 class="step__title">Meet the word</h3>+ <p class="step__body">Sprout introduces one word with a picture and a sound. No reading pressure — just hello.</p>+ </article>+ <article class="step" data-accent="cyan">+ <span class="step__num">2</span>+ <h3 class="step__title">Sound it out</h3>+ <p class="step__body">Tap each part to hear it. The word lights up as your reader blends the sounds together.</p>+ </article>+ <article class="step" data-accent="coral">+ <span class="step__num">3</span>+ <h3 class="step__title">Play it back</h3>+ <p class="step__body">A 60-second game locks it in — catch the rhyme, build the word, feed it to Sprout.</p>+ </article>+ </div>+ </section>++ <!-- ─── Parents ─── -->+ <section class="section" id="families" aria-labelledby="fam-title">+ <header class="section__head">+ <p class="eyebrow"><span class="eyebrow__dot eyebrow__dot--lavender"></span> What families say</p>+ <h2 class="section__title" id="fam-title">The first app they ask to use.</h2>+ </header>+ <ul class="quotes">+ <li class="quote" data-accent="pear">+ <p class="quote__text">"My four-year-old does her 'Sprout lesson' before breakfast. She thinks it's a game. It is, mostly."</p>+ <p class="quote__by"><b>Hana</b> · parent of one · 60-day streak</p>+ </li>+ <li class="quote" data-accent="cyan">+ <p class="quote__text">"No ads, no upsells aimed at a six-year-old. That's why I trust it on his tablet."</p>+ <p class="quote__by"><b>Marcus</b> · parent of two</p>+ </li>+ <li class="quote" data-accent="mint">+ <p class="quote__text">"The Sunday note tells me exactly what to read with her. I stopped guessing."</p>+ <p class="quote__by"><b>Priya</b> · parent of one</p>+ </li>+ </ul>+ </section>++ <!-- ─── Pricing ─── -->+ <section class="section section--band" id="schools" aria-labelledby="price-title">+ <header class="section__head section__head--center">+ <p class="eyebrow"><span class="eyebrow__dot eyebrow__dot--coral"></span> Pricing</p>+ <h2 class="section__title" id="price-title">Free to start. Kind to families.</h2>+ </header>+ <div class="plans">+ <article class="plan" data-accent="cyan">+ <p class="plan__name">Family</p>+ <p class="plan__price"><span class="plan__num">$7</span><span class="plan__unit">/month</span></p>+ <p class="plan__note">Up to three little readers. Cancel anytime.</p>+ <ul class="plan__list"><li>3 reader profiles</li><li>The full phonics path</li><li>Weekly parent note</li><li>Offline lessons</li></ul>+ <a class="btn btn--ghost btn--block" href="#">Start free</a>+ </article>+ <article class="plan plan--feature" data-accent="pear">+ <span class="plan__badge">Loved most</span>+ <p class="plan__name">Family · yearly</p>+ <p class="plan__price"><span class="plan__num">$60</span><span class="plan__unit">/year</span></p>+ <p class="plan__note">Two months free. Same gentle everything.</p>+ <ul class="plan__list"><li>Everything in Family</li><li>Two months on us</li><li>Printable little books</li><li>A real sticker pack, by post</li></ul>+ <a class="btn btn--pear btn--block" href="#">Start free</a>+ </article>+ <article class="plan" data-accent="mint">+ <p class="plan__name">Classroom</p>+ <p class="plan__price"><span class="plan__num">Free</span><span class="plan__unit">for teachers</span></p>+ <p class="plan__note">Up to 30 readers. Funded by the family plans.</p>+ <ul class="plan__list"><li>30 reader profiles</li><li>Class progress board</li><li>No ads, no data resale</li><li>Email a human, same day</li></ul>+ <a class="btn btn--ghost btn--block" href="#">Verify as a teacher</a>+ </article>+ </div>+ </section>+ </main>++ <footer class="footer">+ <div class="footer__inner">+ <p class="footer__statement">Grow a reader.</p>+ <div class="footer__meta">+ <a class="footer__brand" href="#"><span class="sprout-mark sprout-mark--sm" aria-hidden="true"><span class="sprout-mark__face"></span></span> Sprout</a>+ <p class="footer__col"><span>Sprout Learning, PBC</span><span>Made by parents + teachers</span><span>Utrecht & Austin</span></p>+ <p class="footer__col"><a href="#">For families</a><a href="#">For schools</a><a href="#">Our promise on ads</a><a href="#">[email protected]</a></p>+ <p class="footer__col footer__copy">© 2024 — 2026 Sprout<br /><span class="footer__hash">B-Corp · COPPA-safe</span></p>+ </div>+ </div>+ </footer>++ <script src="script.js"></script>+</body>+</html>diff --git a/site/examples/hum-02/script.js b/site/examples/hum-02/script.jsnew file mode 100644index 0000000..c190504--- /dev/null+++ b/site/examples/hum-02/script.js@@ -0,0 +1,33 @@+/* Hum · Sprout — nav scroll-frost + counter tick-up on view-enter. */+(function () {+ const nav = document.getElementById('nav');+ if (nav) {+ let ticking = false;+ function onScroll() { nav.classList.toggle('is-scrolled', window.scrollY > 24); ticking = false; }+ window.addEventListener('scroll', function () { if (!ticking) { requestAnimationFrame(onScroll); ticking = true; } }, { passive: true });+ onScroll();+ }++ /* Count up to data-to once visible */+ const counters = Array.from(document.querySelectorAll('.count'));+ const reduce = window.matchMedia('(prefers-reduced-motion: reduce)').matches;+ function run(el) {+ const to = parseInt(el.dataset.to, 10) || 0;+ if (reduce) { el.textContent = to; return; }+ const dur = 1100, start = performance.now();+ function tick(now) {+ const p = Math.min((now - start) / dur, 1);+ const eased = 1 - Math.pow(1 - p, 3);+ el.textContent = Math.round(to * eased);+ if (p < 1) requestAnimationFrame(tick);+ else { el.textContent = to; el.animate([{ transform: 'scale(1)' }, { transform: 'scale(1.08)' }, { transform: 'scale(1)' }], { duration: 320, easing: 'ease-out' }); }+ }+ requestAnimationFrame(tick);+ }+ if ('IntersectionObserver' in window && counters.length) {+ const io = new IntersectionObserver(function (entries) {+ entries.forEach(function (e) { if (e.isIntersecting) { run(e.target); io.unobserve(e.target); } });+ }, { threshold: 0.6 });+ counters.forEach(function (c) { io.observe(c); });+ } else { counters.forEach(run); }+})();diff --git a/site/examples/hum-02/styles.css b/site/examples/hum-02/styles.cssnew file mode 100644index 0000000..7f78ad2--- /dev/null+++ b/site/examples/hum-02/styles.css@@ -0,0 +1,237 @@+/* Hallmark · Hum · Sprout (kids learn-to-read) · Bento Grid · N1b nav · hum-02 */++*, *::before, *::after { box-sizing: border-box; }+html, body { margin: 0; }+html { overflow-x: clip; scroll-behavior: smooth; }+body {+ background: var(--color-paper);+ color: var(--color-ink);+ font-family: var(--font-body);+ font-size: 1rem; line-height: 1.55;+ font-variant-numeric: tabular-nums;+ font-feature-settings: "ss01" on;+ -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;+}+img, svg { display: block; max-width: 100%; }+::selection { background: oklch(86% 0.18 95 / 0.4); color: var(--color-ink); }+a { color: inherit; text-decoration: none; }+a:focus-visible, button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: 6px; }+button { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; }+.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }++.eyebrow {+ font-family: var(--font-label); font-size: 11px; letter-spacing: 0.10em;+ text-transform: uppercase; color: var(--color-ink-2); opacity: 0.75;+ margin: 0 0 1rem; display: inline-flex; align-items: center; gap: 0.55em;+}+.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; }+.eyebrow__dot--pear { background: var(--color-accent); }+.eyebrow__dot--cyan { background: var(--color-accent-2); }+.eyebrow__dot--coral { background: var(--color-accent-3); }+.eyebrow__dot--mint { background: var(--color-mint); }+.eyebrow__dot--lavender { background: var(--color-lavender); }++/* ── Buttons ── */+/* v2 button system (push base + ghost/text) — see hum-buttons + hum.md */+.btn {+ --btn-face: var(--color-accent); --btn-ink: var(--color-ink); --btn-edge: var(--color-accent-deep); --btn-cast: oklch(76% 0.20 95 / 0.45); --btn-line: var(--color-accent-deep);+ display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; padding: 0.8rem 1.35rem; font-weight: 600; font-size: 0.9375rem; letter-spacing: -0.005em; border: 0; border-radius: var(--radius-pill); color: var(--btn-ink); background: var(--btn-face); cursor: pointer; white-space: nowrap; user-select: none; position: relative; isolation: isolate;+ box-shadow: 0 4px 0 0 var(--btn-edge), 0 6px 12px -3px var(--btn-cast); transform: translateY(0);+ transition: transform 140ms cubic-bezier(0.2,0.7,0.3,1), box-shadow 140ms cubic-bezier(0.2,0.7,0.3,1), background-color 160ms, border-color 200ms, color 200ms;+}+.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 0 var(--btn-edge), 0 12px 22px -4px var(--btn-cast); }+.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 0 var(--btn-edge), 0 2px 6px -2px var(--btn-cast); transition-duration: 70ms; }+.btn:focus-visible { outline: 3px solid color-mix(in oklch, var(--btn-edge) 70%, var(--color-focus)); outline-offset: 3px; }+.btn[disabled] { opacity: 0.5; cursor: not-allowed; pointer-events: none; transform: none; box-shadow: 0 4px 0 0 var(--btn-edge); }+.btn__arrow { transition: transform 200ms cubic-bezier(0.2,0.7,0.3,1); }+.btn:hover .btn__arrow { transform: translateX(3px); }+.btn--small { padding: 0.55rem 1rem; font-size: 0.85rem; }+.btn--lg { padding: 1rem 1.7rem; font-size: 1.0625rem; }+.btn--block { width: 100%; }+.btn--pear { --btn-face: var(--color-accent); --btn-ink: var(--color-ink); --btn-edge: var(--color-accent-deep); --btn-cast: oklch(76% 0.20 95 / 0.45); --btn-line: var(--color-accent-deep); }+.btn--cyan { --btn-face: var(--color-accent-2); --btn-ink: var(--color-paper); --btn-edge: var(--color-accent-2-deep); --btn-cast: oklch(56% 0.20 235 / 0.4); --btn-line: var(--color-accent-2-deep); }+.btn--coral { --btn-face: var(--color-accent-3); --btn-ink: var(--color-paper); --btn-edge: var(--color-accent-3-deep); --btn-cast: oklch(58% 0.26 18 / 0.42); --btn-line: var(--color-accent-3-deep); }+.btn--ghost { background: transparent; color: var(--color-ink); border: 1.5px solid var(--color-rule-2); box-shadow: none; }+.btn--ghost:hover { transform: translateY(-2px); border-color: var(--color-ink); background: var(--color-paper-2); box-shadow: 0 8px 20px -10px oklch(20% 0.012 250 / 0.18); }+.btn--ghost:active { transform: translateY(0); transition-duration: 80ms; box-shadow: none; }+.btn--text { background: transparent; color: var(--color-ink-2); box-shadow: none; padding-inline: 0.5rem; }+.btn--text:hover { color: var(--color-ink); transform: none; box-shadow: none; }+.btn--text:active { transform: none; box-shadow: none; }++/* ── Sprout character mark ── */+.sprout-mark {+ position: relative; display: inline-block;+ width: 26px; height: 26px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;+ background: linear-gradient(160deg, var(--color-mint) 0%, var(--color-mint-deep) 100%);+ box-shadow: 0 3px 0 -1px var(--color-mint-deep);+ vertical-align: middle;+ animation: char-bob 4s ease-in-out infinite;+}+.sprout-mark--sm { width: 22px; height: 22px; }+.sprout-mark::before { /* leaf sprout */+ content: ""; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(-12deg);+ width: 8px; height: 11px; background: var(--color-mint-deep);+ border-radius: 0 100% 0 100%;+}+.sprout-mark__face { position: absolute; inset: 7px 5px; }+.sprout-mark__face::before { content: ""; position: absolute; top: 30%; left: 18%; width: 3px; height: 3px; border-radius: 50%; background: var(--color-ink); box-shadow: 8px 0 0 var(--color-ink); }+.sprout-mark__face::after { content: ""; position: absolute; bottom: 12%; left: 50%; transform: translateX(-50%); width: 8px; height: 4px; border-bottom: 1.5px solid var(--color-ink); border-radius: 0 0 8px 8px; }+@keyframes char-bob { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-2px) rotate(2deg); } }+@media (prefers-reduced-motion: reduce) { .sprout-mark { animation: none; } }++/* ── Nav · N1b three-section ── */+.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 500; background: transparent; border-bottom: 1px solid transparent; transition: background 240ms var(--ease-out), border-color 240ms, box-shadow 240ms; }+.nav.is-scrolled { background: oklch(97% 0.012 95 / 0.8); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border-bottom-color: var(--color-rule); box-shadow: 0 8px 28px -18px oklch(20% 0.012 250 / 0.3); }+.nav__inner { max-width: var(--page-max); margin: 0 auto; padding-inline: var(--page-gutter); height: 68px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; }+.nav__brand { display: inline-flex; align-items: center; gap: 0.55em; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--color-ink); justify-self: start; }+.nav__center { display: flex; align-items: center; gap: 0.25rem; justify-self: center; }+.nav__item { position: relative; }+.nav__link { display: inline-flex; align-items: center; gap: 0.3em; padding: 0.5rem 0.75rem; font-size: 0.9rem; font-weight: 500; color: var(--color-ink-2); border-radius: 10px; transition: color 160ms, background 160ms; }+.nav__link:hover { color: var(--color-ink); background: var(--color-paper-2); }+.nav__caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-1px); transition: transform 220ms var(--ease-out); opacity: 0.6; }+.nav__dropdown { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(-6px) scale(0.98); min-width: 250px; padding: 0.4rem; background: oklch(99% 0.008 95 / 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--color-rule); border-radius: 16px; box-shadow: 0 24px 48px -20px oklch(20% 0.012 250 / 0.25); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 200ms var(--ease-out), transform 240ms var(--ease-spring), visibility 200ms; }+.nav__item--menu:hover .nav__dropdown, .nav__item--menu:focus-within .nav__dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0) scale(1); }+.nav__item--menu:hover .nav__caret, .nav__item--menu:focus-within .nav__caret { transform: rotate(-135deg) translateY(2px); }+.nav__dropitem { display: flex; flex-direction: column; gap: 0.1rem; padding: 0.6rem 0.75rem; border-radius: 11px; transition: background 140ms; }+.nav__dropitem:hover { background: var(--tint-mint); }+.nav__dropitem b { font-weight: 600; font-size: 0.9rem; color: var(--color-ink); }+.nav__dropitem i { font-style: normal; font-size: 0.8125rem; color: var(--color-muted); }+.nav__right { display: flex; align-items: center; gap: 0.5rem; justify-self: end; }+@media (max-width: 920px) { .nav__center { display: none; } }++/* ── Hero ── */+.hero { padding-block: clamp(8rem, 14vh, 10.5rem) clamp(3rem, 7vh, 5rem); }+.hero__head { max-width: 60rem; margin: 0 auto clamp(2.5rem, 5vh, 3.5rem); padding-inline: var(--page-gutter); text-align: center; }+.hero__head .eyebrow { justify-content: center; }+.hero__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.5rem, 5.5vw + 0.5rem, 4.75rem); line-height: 1.02; letter-spacing: -0.03em; color: var(--color-ink); margin: 0 0 1.25rem; text-wrap: balance; }+.hero__em { color: inherit; background-image: linear-gradient(oklch(80% 0.16 150 / 0.5) 0 0); background-repeat: no-repeat; background-size: 100% 0.14em; background-position: 0 100%; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-bottom: 0.24em; }+.hero__lede { font-size: 1.1875rem; line-height: 1.55; color: var(--color-ink-2); max-width: 50ch; margin: 0 auto 1.75rem; }+.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }++/* ── Bento ── */+.bento {+ max-width: var(--page-max); margin: 0 auto; padding-inline: var(--page-gutter);+ display: grid; gap: 1rem; grid-template-columns: 1fr;+}+@media (min-width: 760px) {+ .bento {+ grid-template-columns: repeat(4, 1fr);+ grid-auto-rows: minmax(120px, auto);+ grid-template-areas:+ "word word guide guide"+ "word word streak learned"+ "game game parent parent";+ }+ .bento__tile--word { grid-area: word; }+ .bento__tile--guide { grid-area: guide; }+ .bento__tile--streak { grid-area: streak; }+ .bento__tile--learned { grid-area: learned; }+ .bento__tile--game { grid-area: game; }+ .bento__tile--parent { grid-area: parent; }+}+.bento__tile {+ border-radius: var(--radius-card); padding: 1.5rem;+ border: 1.5px solid var(--color-rule); background: var(--color-paper);+ display: flex; flex-direction: column; gap: 0.5rem;+ transition: transform 320ms var(--ease-spring), box-shadow 320ms, border-color 320ms, background 320ms;+}+.bento__tile[data-accent="mint"] { background: var(--tint-mint); }+.bento__tile[data-accent="lavender"] { background: var(--tint-lavender); }+.bento__tile[data-accent="pear"] { background: var(--tint-pear); }+.bento__tile[data-accent="cyan"] { background: var(--tint-cyan); }+.bento__tile[data-accent="coral"] { background: var(--tint-coral); }+.bento__tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }++.tile__kicker { font-family: var(--font-label); font-size: 10.5px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--color-muted); margin: 0; }+.tile__word { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1; letter-spacing: -0.03em; color: var(--color-ink); margin: 0.25rem 0; }+.tile__phonics { display: flex; gap: 0.4rem; margin: 0.25rem 0; }+.tile__phonics span { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; padding: 0.1em 0.45em; border-radius: 10px; background: var(--color-paper); border: 1.5px solid var(--color-rule); color: var(--color-ink-2); }+.tile__phonics span.is-hot { background: var(--color-mint); border-color: transparent; color: var(--color-ink); }+.tile__say { font-size: 0.9375rem; color: var(--color-ink-2); margin: 0.25rem 0 0; }+.tile__say b { color: var(--color-ink); }++.bento__tile--guide { align-items: center; text-align: center; justify-content: center; }+.guide { position: relative; width: 84px; height: 84px; margin-bottom: 0.25rem; }+.guide__body { position: absolute; inset: 14px 0 0; border-radius: 50% 50% 48% 48% / 56% 56% 44% 44%; background: linear-gradient(165deg, var(--color-mint) 0%, var(--color-mint-deep) 100%); box-shadow: 0 5px 0 -2px var(--color-mint-deep); display: block; animation: char-bob 3.6s ease-in-out infinite; }+.guide__face { position: absolute; inset: 22px 18px; }+.guide__face::before { content: ""; position: absolute; top: 26%; left: 20%; width: 5px; height: 5px; border-radius: 50%; background: var(--color-ink); box-shadow: 16px 0 0 var(--color-ink); }+.guide__face::after { content: ""; position: absolute; bottom: 14%; left: 50%; transform: translateX(-50%); width: 16px; height: 8px; border-bottom: 2.5px solid var(--color-ink); border-radius: 0 0 16px 16px; }+.guide__leaf { position: absolute; top: 0; left: 50%; transform: translateX(-50%) rotate(-14deg); width: 18px; height: 26px; background: var(--color-mint-deep); border-radius: 0 100% 0 100%; z-index: 1; }+.tile__guide-line { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; line-height: 1.3; color: var(--color-ink); margin: 0; max-width: 22ch; }++.tile__big { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1; letter-spacing: -0.03em; color: var(--color-ink); margin: 0.25rem 0; display: inline-flex; align-items: baseline; gap: 0.25em; }+.tile__unit { font-family: var(--font-label); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-muted); }+.tile__dots { display: flex; gap: 0.3rem; margin: 0.25rem 0 0; }+.tile__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--color-accent); }+.tile__dots i:last-child { background: var(--color-rule-2); }+.tile__sub { font-size: 0.875rem; color: var(--color-ink-2); margin: 0; }++.tile__game-title { font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; letter-spacing: -0.02em; color: var(--color-ink); margin: 0.25rem 0; }+.rhyme { display: flex; flex-wrap: wrap; gap: 0.5rem; }+.rhyme__chip { font-family: var(--font-display); font-weight: 600; font-size: 1rem; padding: 0.35em 0.8em; border-radius: var(--radius-pill); background: var(--color-paper); border: 1.5px solid var(--color-rule); color: var(--color-ink-2); }+.rhyme__chip--match { background: var(--color-accent-3); border-color: transparent; color: var(--color-paper); }++.tile__parent { font-size: 1rem; line-height: 1.5; color: var(--color-ink-2); margin: 0.25rem 0; }+.tile__parent-meta { font-family: var(--font-label); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-muted); margin: auto 0 0; }++/* ── Sections ── */+.section { max-width: var(--page-max); margin: 0 auto; padding: var(--section-gap) var(--page-gutter); }+.section--band { max-width: none; padding-inline: 0; background: var(--color-paper-2); border-block: 1px solid var(--color-rule); }+.section--band > * { max-width: var(--page-max); margin-inline: auto; padding-inline: var(--page-gutter); }+.section__head { margin-bottom: 2.5rem; max-width: 56rem; }+.section__head--center { text-align: center; margin-inline: auto; }+.section__head--center .eyebrow { justify-content: center; }+.section__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3.5vw + 0.5rem, 3.25rem); line-height: 1.08; letter-spacing: -0.025em; color: var(--color-ink); margin: 0; max-width: 22ch; text-wrap: balance; }+.section__head--center .section__title { margin-inline: auto; }++.steps { display: grid; grid-template-columns: 1fr; gap: 1rem; }+@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }+.step { padding: 1.75rem; border-radius: var(--radius-card); background: var(--color-paper); border: 1.5px solid var(--color-rule); display: flex; flex-direction: column; gap: 0.6rem; box-shadow: var(--shadow-card); transition: transform 320ms var(--ease-spring); }+.step:hover { transform: translateY(-4px); }+.step__num { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; color: var(--color-ink); }+.step[data-accent="mint"] .step__num { background: var(--color-mint); }+.step[data-accent="cyan"] .step__num { background: var(--color-accent-2); color: var(--color-paper); }+.step[data-accent="coral"] .step__num { background: var(--color-accent-3); color: var(--color-paper); }+.step__title { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--color-ink); margin: 0; }+.step__body { font-size: 0.9375rem; line-height: 1.6; color: var(--color-ink-2); margin: 0; }++.quotes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 1rem; }+@media (min-width: 820px) { .quotes { grid-template-columns: repeat(3, 1fr); } }+.quote { padding: 1.75rem; border-radius: var(--radius-card); border: 1.5px solid var(--color-rule); display: flex; flex-direction: column; gap: 1rem; }+.quote[data-accent="pear"] { background: var(--tint-pear); }+.quote[data-accent="cyan"] { background: var(--tint-cyan); }+.quote[data-accent="mint"] { background: var(--tint-mint); }+.quote__text { font-family: var(--font-display); font-weight: 500; font-size: 1.125rem; line-height: 1.4; letter-spacing: -0.012em; color: var(--color-ink); margin: 0; }+.quote__by { font-size: 0.875rem; color: var(--color-ink-2); margin: 0; padding-top: 0.85rem; border-top: 1px solid var(--color-rule); }+.quote__by b { font-weight: 600; color: var(--color-ink); }++.plans { display: grid; grid-template-columns: 1fr; gap: 1rem; }+@media (min-width: 880px) { .plans { grid-template-columns: repeat(3, 1fr); } }+.plan { display: flex; flex-direction: column; gap: 0.85rem; padding: 1.75rem; border-radius: var(--radius-card); border: 1.5px solid var(--color-rule); background: var(--color-paper); box-shadow: var(--shadow-card); transition: transform 320ms var(--ease-spring); position: relative; }+.plan:hover { transform: translateY(-4px); }+.plan--feature { background: var(--tint-pear); border-color: var(--color-accent-deep); }+.plan__badge { position: absolute; top: -0.7rem; left: 50%; transform: translateX(-50%); font-family: var(--font-label); font-size: 10.5px; letter-spacing: 0.10em; text-transform: uppercase; padding: 0.3rem 0.7rem; background: var(--color-ink); color: var(--color-paper); border-radius: 999px; }+.plan__name { font-family: var(--font-label); font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--color-muted); margin: 0; }+.plan__price { font-family: var(--font-display); font-weight: 700; font-size: 2.5rem; line-height: 1; letter-spacing: -0.03em; color: var(--color-ink); margin: 0; }+.plan__unit { font-family: var(--font-label); font-size: 0.3em; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-muted); margin-inline-start: 0.3em; vertical-align: 0.7em; }+.plan__note { font-size: 0.875rem; color: var(--color-ink-2); margin: 0; padding-bottom: 0.85rem; border-bottom: 1px solid var(--color-rule); line-height: 1.5; }+.plan__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }+.plan__list li { font-size: 0.9375rem; color: var(--color-ink-2); padding-left: 1.4rem; position: relative; }+.plan__list li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 12px; height: 12px; border-radius: 50%; background: var(--color-mint); box-shadow: inset 0 0 0 3.5px var(--color-paper); }+.plan[data-accent="cyan"] .plan__list li::before { background: var(--color-accent-2); }+.plan__list { margin-bottom: 0.5rem; }++/* ── Footer ── */+.footer { background: var(--color-paper-2); border-top: 1px solid var(--color-rule); }+.footer__inner { max-width: var(--page-max); margin: 0 auto; padding: clamp(4rem, 8vh, 6rem) var(--page-gutter) clamp(3rem, 6vh, 4.5rem); display: flex; flex-direction: column; gap: clamp(3rem, 6vh, 4.5rem); }+.footer__statement { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.5rem, 5vw + 1rem, 5rem); line-height: 1.02; letter-spacing: -0.03em; color: var(--color-ink); margin: 0; }+.footer__meta { display: grid; grid-template-columns: auto 1fr 1fr 1fr; gap: 2rem; align-items: start; padding-top: 2rem; border-top: 1px solid var(--color-rule); }+@media (max-width: 880px) { .footer__meta { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: span 2; } }+@media (max-width: 540px) { .footer__meta { grid-template-columns: 1fr; } .footer__brand { grid-column: span 1; } }+.footer__brand { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--color-ink); align-self: start; }+.footer__col { margin: 0; font-family: var(--font-label); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-muted); display: flex; flex-direction: column; gap: 0.4rem; }+.footer__col a { color: var(--color-muted); transition: color 180ms; }+.footer__col a:hover { color: var(--color-ink); }+.footer__hash { color: var(--color-rule-2); }++@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation-duration: 0.01ms !important; } }diff --git a/site/examples/hum-02/tokens.css b/site/examples/hum-02/tokens.cssnew file mode 100644index 0000000..50eb928--- /dev/null+++ b/site/examples/hum-02/tokens.css@@ -0,0 +1,110 @@+/* Hallmark · macrostructure: Marquee Hero · H1 hero knobs: today's-curio card, character=pulse-mark, pear-cta+ * theme: Hum (catalog) · paper: oklch(97% 0.012 95) · accent: pear oklch(86% 0.18 95) + cyan oklch(66% 0.18 235) + coral oklch(68% 0.24 18)+ * display: Plus Jakarta Sans 600 · body: Plus Jakarta Sans · labels: JetBrains Mono UPPERCASE+ * axes: light / rounded-sans / multi-accent+ * nav: N5 floating pill (relaxed for playful) · footer: Ft5 statement+ * brief: "Curio — a 30-second daily curiosity app."+ * v1.0.0+ */++:root, [data-theme="hum"] {+ color-scheme: light;++ /* Multi-accent palette on cream */+ --color-paper: oklch(97% 0.012 95);+ --color-paper-2: oklch(94% 0.016 95);+ --color-paper-3: oklch(91% 0.020 95);+ --color-rule: oklch(86% 0.014 90);+ --color-rule-2: oklch(70% 0.018 85);+ --color-muted: oklch(52% 0.014 90);+ --color-neutral: oklch(38% 0.014 100);+ --color-ink-2: oklch(28% 0.014 250);+ --color-ink: oklch(20% 0.012 250);+ --color-accent: oklch(86% 0.18 95);+ --color-accent-deep: oklch(76% 0.20 95);+ --color-accent-2: oklch(66% 0.18 235);+ --color-accent-2-deep: oklch(56% 0.20 235);+ --color-accent-3: oklch(68% 0.24 18);+ --color-accent-3-deep: oklch(58% 0.26 18);+ --color-mint: oklch(80% 0.16 150);+ --color-mint-deep: oklch(70% 0.18 150);+ --color-lavender: oklch(74% 0.16 305);+ --color-lavender-deep: oklch(64% 0.18 305);+ --color-accent-ink: oklch(20% 0.012 250);+ --color-focus: oklch(56% 0.20 235);++ /* Per-tile tint surfaces — very low opacity over cream */+ --tint-pear: oklch(86% 0.18 95 / 0.16);+ --tint-cyan: oklch(66% 0.18 235 / 0.14);+ --tint-coral: oklch(68% 0.24 18 / 0.12);+ --tint-mint: oklch(80% 0.16 150 / 0.16);+ --tint-lavender: oklch(74% 0.16 305 / 0.14);++ /* Type — rounded sans only */+ --font-display: "Plus Jakarta Sans", "Geist", "Inter", ui-sans-serif, system-ui, sans-serif;+ --font-body: "Plus Jakarta Sans", "Geist", "Inter", ui-sans-serif, system-ui, sans-serif;+ --font-label: "JetBrains Mono", "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;+ --font-mono: "JetBrains Mono", "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;++ --text-xs: 0.75rem;+ --text-sm: 0.8125rem;+ --text-base: 1rem;+ --text-md: 1.0625rem;+ --text-lg: 1.25rem;+ --text-xl: 1.5rem;+ --text-2xl: 2rem;+ --text-3xl: 2.5rem;+ --text-display: clamp(2.75rem, 5.5vw + 0.75rem, 5.25rem);+ --text-display-s: clamp(2rem, 3.25vw + 1rem, 3.25rem);++ --tracking-display: -0.025em;+ --tracking-tight: -0.014em;+ --tracking-normal: 0;+ --tracking-label: 0.10em;+ --tracking-micro: 0.16em;++ --lh-tight: 1.05;+ --lh-snug: 1.18;+ --lh-normal: 1.55;+ --lh-relaxed: 1.7;++ --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: 6.5rem;+ --space-4xl: 10rem;++ --section-gap: 6.5rem;+ --section-head-gap: 1.75rem;++ --page-max: 78rem;+ --page-gutter: clamp(1.25rem, 4vw, 3rem);+ --measure: 60ch;++ --radius-card: 20px;+ --radius-pill: 999px;+ --radius-input: 12px;+ --rule-card: 1px;+ --shadow-card: 0 12px 32px -16px oklch(20% 0.012 250 / 0.14),+ 0 1px 2px oklch(20% 0.012 250 / 0.06);+ --shadow-card-hover: 0 24px 56px -20px oklch(20% 0.012 250 / 0.18),+ 0 2px 6px oklch(20% 0.012 250 / 0.08);+ --shadow-pear-base: 0 8px 0 -4px var(--color-accent-deep);+ --shadow-pear-hover: 0 14px 0 -4px var(--color-accent-deep),+ 0 4px 12px oklch(20% 0.012 250 / 0.10);++ --ease-out: cubic-bezier(0.16, 1, 0.3, 1);+ --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);+ --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);+ --ease-snap: cubic-bezier(0.22, 1, 0.36, 1);+ --dur-micro: 120ms;+ --dur-short: 220ms;+ --dur-long: 420ms;+ --dur-wobble: 480ms;+ --dur-burst: 420ms;+ --dur-tick: 1200ms;+}diff --git a/site/examples/lumen-01/index.html b/site/examples/lumen-01/index.htmlnew file mode 100644index 0000000..447074b--- /dev/null+++ b/site/examples/lumen-01/index.html@@ -0,0 +1,353 @@+<!doctype html>+<html lang="en" data-theme="lumen">+<head>+ <meta charset="utf-8" />+ <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />+ <title>Cinder — Built to think in real time.</title>+ <meta name="description" content="Cinder is a serverless GPU inference platform. P50 latency at 28 ms. Cold start at 0.4 s. Pay only when the model thinks." />+ <meta name="theme-color" content="#0d1018" />++ <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=Instrument+Serif:ital@0;1&family=Geist:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet" />++ <link rel="stylesheet" href="tokens.css" />+ <link rel="stylesheet" href="styles.css" />+</head>+<body>+ <a class="sr-only" href="#main">Skip to content</a>++ <!-- ─── Nav — N5 floating pill ─── -->+ <header class="nav" role="banner">+ <div class="nav__pill">+ <a class="nav__wordmark" href="#" aria-label="Cinder — home">+ <span class="nav__mark" aria-hidden="true"></span>+ Cinder+ </a>+ <nav class="nav__links" aria-label="Primary">+ <a href="#runtime">Runtime</a>+ <a href="#code">Code</a>+ <a href="#pricing">Pricing</a>+ <a href="#changelog">Changelog</a>+ </nav>+ <div class="nav__cta">+ <a class="nav__signin" href="#">Sign in</a>+ <a class="btn btn--accent" href="#">Start a project</a>+ </div>+ </div>+ </header>++ <main id="main">++ <!-- ─── Hero — Marquee Hero with filament-chamber apparatus ─── -->+ <section class="hero" aria-labelledby="hero-title">+ <div class="hero__grid" aria-hidden="true"></div>+ <div class="hero__emit" aria-hidden="true"></div>++ <div class="hero__inner">+ <div class="hero__copy">+ <p class="eyebrow"><span class="ord">00</span><span class="dot-mid">·</span>Inference</p>+ <h1 class="hero__title" id="hero-title">+ Built to <em>think</em> in real time.+ </h1>+ <p class="hero__lede">+ Cinder is a serverless runtime for any model that fits on a GPU.+ Deploy with a single primitive. Scale down to zero between requests.+ Pay only when the model thinks.+ </p>+ <div class="hero__cta">+ <a class="btn btn--accent" href="#">Start a project</a>+ <a class="btn btn--ghost" href="#code">Read the quickstart →</a>+ </div>+ <dl class="hero__spec" aria-label="Runtime specification">+ <div class="hero__spec-pair"><dt>Runtime</dt><dd>Python 3.10 — 3.13</dd></div>+ <div class="hero__spec-pair"><dt>Backends</dt><dd>vLLM · SGLang · Triton</dd></div>+ <div class="hero__spec-pair"><dt>Regions</dt><dd>us-east-1 · us-west-2 · eu-central-1 · ap-northeast-1</dd></div>+ </dl>+ </div>++ <!-- Apparatus — vertical filament chamber, annotated -->+ <figure class="apparatus" aria-hidden="true">+ <div class="chamber">+ <span class="chamber__cap chamber__cap--top"></span>+ <span class="chamber__cap chamber__cap--bottom"></span>+ <span class="chamber__electrode" style="--y: 22%"></span>+ <span class="chamber__electrode" style="--y: 42%"></span>+ <span class="chamber__electrode" style="--y: 62%"></span>+ <span class="chamber__electrode" style="--y: 82%"></span>+ <span class="chamber__halo"></span>+ <span class="chamber__filament"></span>+ <span class="chamber__bloom"></span>+ <p class="chamber__stencil">RX-04</p>+ </div>++ <ul class="callouts">+ <li class="callout callout--left" style="--y: 18%"><span>P50 · 28 ms</span></li>+ <li class="callout callout--right" style="--y: 36%"><span>cold start · 0.4 s</span></li>+ <li class="callout callout--left" style="--y: 56%"><span>rps · 12 k</span></li>+ <li class="callout callout--right" style="--y: 78%"><span>RX-04 · H100 80GB</span></li>+ </ul>+ </figure>+ </div>+ </section>++ <!-- ─── Meter strip — signature move 5 ─── -->+ <aside class="meter" aria-label="Live signal readout">+ <p class="meter__label meter__label--left">+ <span class="meter__dot" aria-hidden="true"></span>+ Reactor RX-04 · running+ </p>+ <div class="meter__bars" aria-hidden="true">+ <!-- 80 vertical ticks, heights driven by JS-free sine envelope via CSS calc -->+ <span style="--h: 28%"></span><span style="--h: 32%"></span><span style="--h: 38%"></span>+ <span style="--h: 44%"></span><span style="--h: 52%"></span><span style="--h: 58%"></span>+ <span style="--h: 64%"></span><span style="--h: 68%"></span><span style="--h: 72%"></span>+ <span style="--h: 78%"></span><span style="--h: 82%"></span><span style="--h: 88%"></span>+ <span style="--h: 92%"></span><span style="--h: 96%"></span><span style="--h: 100%"></span>+ <span style="--h: 94%"></span><span style="--h: 88%"></span><span style="--h: 82%"></span>+ <span style="--h: 74%"></span><span style="--h: 64%"></span><span style="--h: 58%"></span>+ <span style="--h: 52%"></span><span style="--h: 44%"></span><span style="--h: 40%"></span>+ <span style="--h: 36%"></span><span style="--h: 32%"></span><span style="--h: 28%"></span>+ <span style="--h: 22%"></span><span style="--h: 28%"></span><span style="--h: 34%"></span>+ <span style="--h: 38%"></span><span style="--h: 46%"></span><span style="--h: 54%"></span>+ <span style="--h: 62%"></span><span style="--h: 70%"></span><span style="--h: 76%"></span>+ <span style="--h: 82%"></span><span style="--h: 88%"></span><span style="--h: 92%"></span>+ <span style="--h: 88%"></span><span style="--h: 84%"></span><span style="--h: 78%"></span>+ <span style="--h: 72%"></span><span style="--h: 66%"></span><span style="--h: 60%"></span>+ <span style="--h: 54%"></span><span style="--h: 48%"></span><span style="--h: 42%"></span>+ <span style="--h: 36%"></span><span style="--h: 32%"></span><span style="--h: 28%"></span>+ <span style="--h: 24%"></span><span style="--h: 32%"></span><span style="--h: 38%"></span>+ <span style="--h: 46%"></span><span style="--h: 56%"></span><span style="--h: 62%"></span>+ <span style="--h: 70%"></span><span style="--h: 78%"></span><span style="--h: 84%"></span>+ <span style="--h: 88%"></span><span style="--h: 84%"></span><span style="--h: 78%"></span>+ <span style="--h: 72%"></span><span style="--h: 64%"></span><span style="--h: 56%"></span>+ <span style="--h: 50%"></span><span style="--h: 44%"></span><span style="--h: 38%"></span>+ <span style="--h: 34%"></span><span style="--h: 32%"></span><span style="--h: 30%"></span>+ <span style="--h: 28%"></span><span style="--h: 26%"></span><span style="--h: 24%"></span>+ <span style="--h: 22%"></span><span style="--h: 24%"></span><span style="--h: 26%"></span>+ <span style="--h: 30%"></span><span style="--h: 34%"></span>+ </div>+ <p class="meter__label meter__label--right">+ 12.4 k rps · drift 0.04 σ+ </p>+ </aside>++ <!-- ─── Stat row — Instrument Serif numerals, tabular-nums ─── -->+ <section class="stats" aria-label="Performance">+ <dl class="stats__grid">+ <div class="stat">+ <dt class="stat__label">P50 latency</dt>+ <dd class="stat__value"><span class="stat__num">28</span><span class="stat__unit">ms</span></dd>+ </div>+ <div class="stat">+ <dt class="stat__label">Cold start</dt>+ <dd class="stat__value"><span class="stat__num">0.4</span><span class="stat__unit">s</span></dd>+ </div>+ <div class="stat">+ <dt class="stat__label">Throughput</dt>+ <dd class="stat__value"><span class="stat__num">12</span><span class="stat__unit">k rps</span></dd>+ </div>+ </dl>+ <p class="stats__note">+ Measured on Llama-3.1 8B across 28 days of production traffic.+ Hardware: H100 SXM5, 80 GB. Cinder telemetry, January 2026.+ </p>+ </section>++ <!-- ─── Runtime cards — hairline + inner emission ─── -->+ <section class="section" id="runtime" aria-labelledby="runtime-title">+ <header class="section__head">+ <p class="eyebrow"><span class="ord">01</span><span class="dot-mid">·</span>Runtime</p>+ <h2 class="section__title" id="runtime-title">+ One primitive that scales <em>down</em> to zero.+ </h2>+ <p class="section__lede">+ A Cinder function is a Python file with a decorator and a model definition.+ The runtime handles bin-packing, autoscaling, and cold starts. Nothing else.+ </p>+ </header>++ <div class="cards">+ <article class="card">+ <p class="card__eyebrow">a · snapshot</p>+ <h3 class="card__title">Snapshot cold starts</h3>+ <p class="card__body">+ Model weights and Python state restored from a CUDA memory snapshot.+ Cold start at four-tenths of a second, regardless of model size up to 70 B.+ </p>+ </article>+ <article class="card">+ <p class="card__eyebrow">b · batching</p>+ <h3 class="card__title">Continuous batching</h3>+ <p class="card__body">+ Requests join an in-flight batch on arrival. P50 latency stays flat under load,+ then degrades gracefully past the GPU saturation point.+ </p>+ </article>+ <article class="card">+ <p class="card__eyebrow">c · billing</p>+ <h3 class="card__title">Bin-packed billing</h3>+ <p class="card__body">+ You pay for the milliseconds a GPU is reserved for your function.+ Idle replicas are reclaimed inside three seconds. No minimum spend.+ </p>+ </article>+ </div>+ </section>++ <!-- ─── Code — Workbench-style block ─── -->+ <section class="section section--code" id="code" aria-labelledby="code-title">+ <header class="section__head">+ <p class="eyebrow"><span class="ord">02</span><span class="dot-mid">·</span>Code</p>+ <h2 class="section__title" id="code-title">+ Three files. <em>One</em> deploy.+ </h2>+ <p class="section__lede">+ A quickstart that runs against a real model in production. Copy it, paste it,+ run <code>cinder deploy</code>.+ </p>+ </header>++ <div class="code">+ <div class="code__head">+ <p class="code__path">~/reactor/main.py</p>+ <p class="code__sha">build d3f1c8</p>+ </div>+ <div class="code__tabs" role="tablist">+ <button class="code__tab is-active" role="tab" aria-selected="true">main.py</button>+ <button class="code__tab" role="tab" aria-selected="false">request.py</button>+ <button class="code__tab" role="tab" aria-selected="false">cinder.toml</button>+ </div>+ <pre class="code__body"><code><span class="ln">01</span> <span class="tok-kw">import</span> cinder+<span class="ln">02</span> <span class="tok-kw">from</span> transformers <span class="tok-kw">import</span> AutoTokenizer, AutoModelForCausalLM+<span class="ln">03</span>+<span class="ln">04</span> app = cinder.App(<span class="tok-str">"reactor"</span>)+<span class="ln">05</span> gpu = cinder.GPU(<span class="tok-str">"H100"</span>, memory=<span class="tok-num">80</span>)+<span class="ln">06</span>+<span class="ln">07</span> <span class="tok-deco">@app.cls</span>(gpu=gpu, scaledown=<span class="tok-num">3</span>)+<span class="ln">08</span> <span class="tok-kw">class</span> <span class="tok-cls">Reactor</span>:+<span class="ln">09</span> <span class="tok-deco">@cinder.enter()</span>+<span class="ln">10</span> <span class="tok-kw">def</span> <span class="tok-fn">load</span>(self):+<span class="ln">11</span> self.tok = AutoTokenizer.from_pretrained(<span class="tok-str">"meta/Llama-3.1-8B"</span>)+<span class="ln">12</span> self.model = AutoModelForCausalLM.from_pretrained(<span class="tok-str">"meta/Llama-3.1-8B"</span>)+<span class="ln">13</span>+<span class="ln">14</span> <span class="tok-deco">@cinder.method()</span>+<span class="ln">15</span> <span class="tok-kw">def</span> <span class="tok-fn">think</span>(self, prompt: <span class="tok-cls">str</span>) -> <span class="tok-cls">str</span>:+<span class="ln">16</span> ids = self.tok.encode(prompt, return_tensors=<span class="tok-str">"pt"</span>)+<span class="ln">17</span> out = self.model.generate(ids, max_new_tokens=<span class="tok-num">512</span>)+<span class="ln">18</span> <span class="tok-kw">return</span> self.tok.decode(out[<span class="tok-num">0</span>])</code></pre>+ </div>+ </section>++ <!-- ─── Pricing — three serif-numeral tiers ─── -->+ <section class="section" id="pricing" aria-labelledby="pricing-title">+ <header class="section__head">+ <p class="eyebrow"><span class="ord">03</span><span class="dot-mid">·</span>Pricing</p>+ <h2 class="section__title" id="pricing-title">+ Per-second, per-GPU. <em>Stop</em> at any time.+ </h2>+ <p class="section__lede">+ Three plans. No reserved-capacity contracts. The free tier runs on shared A10G;+ paid tiers run on dedicated H100. Bring your own VPC on Enterprise.+ </p>+ </header>++ <div class="tiers">+ <article class="tier">+ <p class="tier__eyebrow">Free</p>+ <p class="tier__price"><span class="tier__num">$0</span><span class="tier__unit">/mo</span></p>+ <p class="tier__note">$0.00012 / sec on shared A10G after 30 GPU-hours.</p>+ <ul class="tier__list">+ <li>30 GPU-hours / month</li>+ <li>A10G shared pool</li>+ <li>Community support</li>+ </ul>+ <a class="btn btn--ghost btn--block" href="#">Start free</a>+ </article>+ <article class="tier tier--feature">+ <p class="tier__eyebrow">Reactor</p>+ <p class="tier__price"><span class="tier__num">$0.0004</span><span class="tier__unit">/sec</span></p>+ <p class="tier__note">Dedicated H100. Bin-packed across your fleet.</p>+ <ul class="tier__list">+ <li>H100 SXM5, 80 GB</li>+ <li>Sub-second cold starts</li>+ <li>Snapshot resume</li>+ <li>Email support, four-hour response</li>+ </ul>+ <a class="btn btn--accent btn--block" href="#">Start a project</a>+ </article>+ <article class="tier">+ <p class="tier__eyebrow">Enterprise</p>+ <p class="tier__price"><span class="tier__num">Talk</span><span class="tier__unit"> · custom</span></p>+ <p class="tier__note">Reserved capacity, BYO VPC, SLA on P99 latency.</p>+ <ul class="tier__list">+ <li>Reserved H100 / H200 clusters</li>+ <li>BYO VPC, BYO networking</li>+ <li>Custom SLA on P99</li>+ <li>Solutions engineer assigned</li>+ </ul>+ <a class="btn btn--ghost btn--block" href="#">Talk to us</a>+ </article>+ </div>+ </section>++ <!-- ─── Changelog ─── -->+ <section class="section section--changelog" id="changelog" aria-labelledby="changelog-title">+ <header class="section__head">+ <p class="eyebrow"><span class="ord">04</span><span class="dot-mid">·</span>Changelog</p>+ <h2 class="section__title" id="changelog-title">+ Shipped this <em>quarter</em>.+ </h2>+ </header>++ <ol class="log">+ <li class="log__entry">+ <time class="log__date" datetime="2026-05-12">12 May 2026</time>+ <p class="log__text"><strong>Snapshot resume.</strong> Cold starts on Llama-3.1 8B down to 380 ms — a 64 % drop vs. cold-load. Available on all paid tiers from today.</p>+ </li>+ <li class="log__entry">+ <time class="log__date" datetime="2026-04-29">29 Apr 2026</time>+ <p class="log__text"><strong>Continuous batching for vLLM.</strong> Throughput on H100 sustains 12 k rps for Llama-3.1 8B under saturating load.</p>+ </li>+ <li class="log__entry">+ <time class="log__date" datetime="2026-04-08">8 Apr 2026</time>+ <p class="log__text"><strong>H200 in preview.</strong> 141 GB memory per GPU. Enterprise preview opens via solutions engineering.</p>+ </li>+ <li class="log__entry">+ <time class="log__date" datetime="2026-03-21">21 Mar 2026</time>+ <p class="log__text"><strong>Region: Frankfurt.</strong> Cinder is now in eu-central-1 alongside us-east-1, us-west-2, and ap-northeast-1.</p>+ </li>+ </ol>+ </section>++ </main>++ <!-- ─── Footer — Ft5 statement ─── -->+ <footer class="footer">+ <div class="footer__inner">+ <p class="footer__statement">+ <em>Inference</em>, billed per second.<br />+ Built by engineers who'd rather not page anyone at three in the morning.+ </p>+ <div class="footer__meta">+ <span class="footer__mark" aria-hidden="true"></span>+ <p class="footer__col">+ <span>Cinder Labs, Inc.</span>+ <span>148 King St. · San Francisco</span>+ </p>+ <p class="footer__col">+ <a href="#">Docs</a>+ <a href="#">Status</a>+ <a href="#">Security</a>+ <a href="#">[email protected]</a>+ </p>+ <p class="footer__col footer__copy">+ © 2026 Cinder Labs<br />+ <span class="footer__hash">build · 2026.05.27 · 9af2</span>+ </p>+ </div>+ </div>+ </footer>++</body>+</html>diff --git a/site/examples/lumen-01/styles.css b/site/examples/lumen-01/styles.cssnew file mode 100644index 0000000..fc9e418--- /dev/null+++ b/site/examples/lumen-01/styles.css@@ -0,0 +1,926 @@+/* Hallmark · Lumen · Night Foundry · Marquee Hero · lumen-01 · v1.1 */++*, *::before, *::after { box-sizing: border-box; }+html, body { margin: 0; }+html { overflow-x: clip; }+body {+ background: var(--color-paper);+ color: var(--color-ink-2);+ font-family: var(--font-body);+ font-size: var(--text-base);+ line-height: var(--lh-normal);+ font-variant-numeric: tabular-nums;+ -webkit-font-smoothing: antialiased;+ text-rendering: optimizeLegibility;+ /* Lumen two-register typography — prose is lowercase by default.+ Mono labels override to UPPERCASE individually.+ Code / file paths preserve their case via `text-transform: none`. */+ text-transform: lowercase;+}++/* Preserve case on code, file paths, and technical strings */+pre, code, .code__path, .code__sha { text-transform: none; }+img, svg, video { display: block; max-width: 100%; }+::selection { background: oklch(76% 0.17 50 / 0.32); color: var(--color-ink); }+a { color: inherit; text-decoration: none; }+a:focus-visible { outline: 1.5px solid var(--color-focus); outline-offset: 3px; border-radius: 2px; }+button { font: inherit; }+button:focus-visible { outline: 1.5px solid var(--color-focus); outline-offset: 2px; }++.sr-only {+ position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;+ overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;+}+.sr-only:focus {+ position: fixed; top: 1rem; left: 1rem; width: auto; height: auto; padding: 0.5rem 0.75rem;+ background: var(--color-ink); color: var(--color-paper); clip: auto; z-index: 999;+}++/* ──────────────────────────────────────────────────────────────+ Shared atoms+ ────────────────────────────────────────────────────────────── */++.eyebrow {+ font-family: var(--font-label);+ font-size: 11px;+ letter-spacing: var(--tracking-label);+ text-transform: uppercase;+ color: var(--color-ink);+ opacity: 0.55;+ margin: 0 0 var(--space-md);+ display: inline-flex;+ align-items: baseline;+ gap: 0.4em;+}+.eyebrow .ord { color: var(--color-accent); opacity: 1; }+.eyebrow .dot-mid { color: var(--color-rule-2); opacity: 1; }++/* Verb landmark: permanent accent-2 colour + underline draws in once. No italics. */+em {+ font-style: normal;+ font-weight: 400;+ color: var(--color-accent-2);+ position: relative;+ white-space: nowrap;+}+em::after {+ content: "";+ position: absolute;+ left: 0.05em; right: 0.05em; bottom: 0.04em;+ height: 1px;+ background: var(--color-accent-2);+ transform-origin: left;+ animation: pivot-underline 320ms var(--ease-soft) 900ms backwards;+}+@keyframes pivot-underline {+ from { transform: scaleX(0); }+ to { transform: scaleX(1); }+}+@media (prefers-reduced-motion: reduce) {+ em::after { animation: none; }+}++/* Buttons */+.btn {+ display: inline-flex; align-items: center; justify-content: center;+ gap: 0.5em;+ padding: 0.7rem 1.2rem;+ font-family: var(--font-body);+ font-size: 0.9375rem;+ font-weight: 500;+ letter-spacing: -0.005em;+ border-radius: var(--radius-pill);+ border: 1px solid transparent;+ transition: transform 220ms var(--ease-soft), background-color 220ms, border-color 220ms, color 220ms;+ cursor: pointer;+ white-space: nowrap;+}+.btn--accent {+ background: var(--color-accent);+ color: var(--color-accent-ink);+ font-weight: 500;+}+.btn--accent:hover { transform: translateY(-1px); background: oklch(82% 0.18 50); }+.btn--ghost {+ background: transparent;+ color: var(--color-ink);+ border-color: var(--color-rule-2);+}+.btn--ghost:hover { transform: translateY(-1px); border-color: var(--color-ink); }+.btn--block { width: 100%; }++/* ──────────────────────────────────────────────────────────────+ Nav — N5 floating pill+ ────────────────────────────────────────────────────────────── */++.nav {+ position: fixed;+ top: 1.25rem;+ left: 0; right: 0;+ display: flex; justify-content: center;+ z-index: 500;+ pointer-events: none;+}+.nav__pill {+ pointer-events: auto;+ display: flex; align-items: center;+ gap: clamp(1rem, 3vw, 2.5rem);+ padding: 0.5rem 0.5rem 0.5rem 1.25rem;+ background: oklch(17% 0.016 265 / 0.72);+ backdrop-filter: blur(22px) saturate(140%);+ -webkit-backdrop-filter: blur(22px) saturate(140%);+ border: 1px solid var(--color-rule);+ border-radius: var(--radius-pill);+ max-width: calc(100vw - 2.5rem);+ box-shadow: 0 12px 32px -16px oklch(0% 0 0 / 0.5);+}+.nav__wordmark {+ display: inline-flex; align-items: center; gap: 0.55em;+ font-family: var(--font-display);+ font-size: 1.3125rem;+ font-weight: 400;+ color: var(--color-ink);+ letter-spacing: -0.018em;+}+.nav__mark {+ position: relative;+ width: 12px; height: 12px;+ border-radius: 50%;+ background: var(--color-accent);+ box-shadow: 0 0 14px var(--color-glow);+}+.nav__mark::after {+ content: ""; position: absolute; inset: -3px;+ border: 1px solid var(--color-accent);+ opacity: 0.4;+ border-radius: 50%;+}+.nav__links { display: flex; gap: 1.5rem; }+.nav__links a {+ font-size: 0.875rem;+ font-weight: 500;+ color: var(--color-ink-2);+ transition: color 180ms;+}+.nav__links a:hover { color: var(--color-ink); }+.nav__cta { display: flex; align-items: center; gap: 0.75rem; }+.nav__signin { font-size: 0.875rem; color: var(--color-ink-2); padding: 0 0.25rem; }+.nav__signin:hover { color: var(--color-ink); }+.nav__cta .btn { padding: 0.5rem 1rem; font-size: 0.875rem; }++@media (max-width: 920px) {+ .nav__links { display: none; }+ .nav__signin { display: none; }+}++/* ──────────────────────────────────────────────────────────────+ Hero — Marquee Hero with apparatus + blueprint grid+ ────────────────────────────────────────────────────────────── */++.hero {+ position: relative;+ overflow: clip;+ isolation: isolate;+ padding-block: clamp(8rem, 14vh, 11rem) clamp(3.5rem, 7vh, 5.5rem);+ background: var(--color-paper);+}++/* Blueprint grid — signature move 4 */+.hero__grid {+ position: absolute; inset: 0; z-index: -2;+ background-image:+ linear-gradient(var(--rule-blueprint) 1px, transparent 1px),+ linear-gradient(90deg, var(--rule-blueprint) 1px, transparent 1px);+ background-size: 48px 48px;+ background-position: 0 0;+ mask-image: radial-gradient(60% 80% at 50% 30%, oklch(0% 0 0) 0%, transparent 100%);+ -webkit-mask-image: radial-gradient(60% 80% at 50% 30%, oklch(0% 0 0) 0%, transparent 100%);+ pointer-events: none;+}++/* Inner emit wash — canvas glows from within */+.hero__emit {+ position: absolute; inset: 0; z-index: -1;+ background:+ radial-gradient(45% 38% at 78% 36%, var(--color-paper-emit) 0%, transparent 65%),+ radial-gradient(35% 28% at 12% 88%, oklch(68% 0.16 18 / 0.04) 0%, transparent 65%);+ pointer-events: none;+}++.hero__inner {+ max-width: var(--page-max);+ margin-inline: auto;+ padding-inline: var(--page-gutter);+ display: grid;+ grid-template-columns: 1fr;+ gap: clamp(3rem, 7vh, 4.5rem);+ align-items: center;+}+@media (min-width: 980px) {+ .hero__inner { grid-template-columns: 1.2fr 1fr; gap: 3.5rem; }+}++.hero__copy { max-width: 42rem; }+.hero__title {+ font-family: var(--font-display);+ font-weight: 400;+ font-size: var(--text-display);+ line-height: var(--lh-tight);+ letter-spacing: var(--tracking-display);+ color: var(--color-ink);+ margin: 0 0 var(--space-xl);+ max-width: 14ch;+ text-wrap: balance;+}++.hero__lede {+ font-size: var(--text-md);+ line-height: var(--lh-normal);+ color: var(--color-ink-2);+ max-width: 42ch;+ margin: 0 0 var(--space-xl);+}+.hero__cta {+ display: flex; flex-wrap: wrap; gap: 0.75rem;+ margin-bottom: var(--space-2xl);+}++/* Spec list — compact key/value pairs in mono */+.hero__spec {+ margin: 0;+ padding-top: var(--space-lg);+ border-top: 1px solid var(--color-rule);+ display: grid;+ grid-template-columns: 1fr;+ gap: 0.65rem;+ font-family: var(--font-mono);+ font-size: 11.5px;+ letter-spacing: 0.04em;+ color: var(--color-muted);+}+.hero__spec-pair {+ display: grid;+ grid-template-columns: 6.5rem 1fr;+ gap: 1rem;+ align-items: baseline;+}+.hero__spec-pair dt {+ text-transform: uppercase;+ letter-spacing: 0.10em;+ color: var(--color-muted);+ opacity: 0.7;+ margin: 0;+}+.hero__spec-pair dd {+ color: var(--color-ink-2);+ margin: 0;+}++/* ──────────────────────────────────────────────────────────────+ Apparatus — Filament chamber (signature move 1)+ ────────────────────────────────────────────────────────────── */++.apparatus {+ margin: 0;+ position: relative;+ display: grid;+ place-items: center;+ min-height: clamp(360px, 48vw, 520px);+ padding-block: 1rem;+}++.chamber {+ position: relative;+ width: clamp(140px, 16vw, 200px);+ height: clamp(340px, 40vw, 460px);+ border-radius: 999px;+ background:+ radial-gradient(ellipse 130% 60% at 50% 0%, oklch(22% 0.018 263) 0%, transparent 70%),+ radial-gradient(ellipse 130% 60% at 50% 100%, oklch(22% 0.018 263) 0%, transparent 70%),+ linear-gradient(180deg, oklch(15% 0.014 265) 0%, oklch(17% 0.016 265) 50%, oklch(15% 0.014 265) 100%);+ border: 1px solid var(--color-rule-2);+ overflow: hidden;+ isolation: isolate;+ box-shadow:+ inset 0 1px 0 oklch(96% 0.006 262 / 0.04),+ inset 0 -1px 0 oklch(0% 0 0 / 0.4),+ 0 30px 80px -32px oklch(0% 0 0 / 0.6);+}++/* End caps — give the chamber a sealed-tube feel */+.chamber__cap {+ position: absolute; left: 0; right: 0;+ height: 14px;+ background:+ linear-gradient(180deg, oklch(28% 0.020 263) 0%, oklch(20% 0.018 265) 100%);+ border-block: 1px solid var(--color-rule-2);+ z-index: 4;+}+.chamber__cap--top { top: -1px; }+.chamber__cap--bottom { bottom: -1px; transform: scaleY(-1); }+.chamber__cap::after {+ content: ""; position: absolute;+ inset: 4px 30%;+ border-radius: 1px;+ background: oklch(40% 0.022 263);+ opacity: 0.5;+}++/* Horizontal electrode hairlines crossing the chamber */+.chamber__electrode {+ position: absolute; left: -6%; right: -6%;+ top: var(--y);+ height: 1px;+ background: linear-gradient(90deg,+ transparent 0%,+ var(--color-rule-2) 18%,+ var(--color-rule-2) 82%,+ transparent 100%);+ z-index: 2;+}++/* Halo behind the filament */+.chamber__halo {+ position: absolute;+ top: 0; bottom: 0; left: 50%;+ width: 80%; transform: translateX(-50%);+ background: radial-gradient(ellipse 60% 100% at 50% 50%,+ var(--color-glow) 0%,+ var(--color-glow-2) 30%,+ transparent 70%);+ z-index: 1;+ filter: blur(8px);+}++/* The filament — thin glowing rod */+.chamber__filament {+ position: absolute;+ top: 8%; bottom: 8%; left: 50%;+ width: 2px; margin-left: -1px;+ background: linear-gradient(180deg,+ oklch(96% 0.04 50) 0%,+ oklch(86% 0.15 50) 8%,+ oklch(94% 0.12 50) 50%,+ oklch(86% 0.15 50) 92%,+ oklch(96% 0.04 50) 100%);+ border-radius: 1px;+ box-shadow:+ 0 0 4px 1px oklch(96% 0.04 50 / 0.95),+ 0 0 14px 3px oklch(86% 0.16 50 / 0.75),+ 0 0 36px 8px var(--color-glow);+ z-index: 3;+ animation: filament-pulse var(--dur-pulse) ease-in-out infinite;+}+@keyframes filament-pulse {+ 0%, 100% { opacity: 1; filter: brightness(1); }+ 50% { opacity: 0.92; filter: brightness(0.92); }+}+@media (prefers-reduced-motion: reduce) {+ .chamber__filament { animation: none; }+}++/* A fainter, broader bloom behind everything */+.chamber__bloom {+ position: absolute;+ inset: -30%;+ background: radial-gradient(circle at 50% 50%,+ oklch(80% 0.16 50 / 0.16) 0%,+ transparent 55%);+ z-index: 0;+ pointer-events: none;+ filter: blur(20px);+}++/* RX-04 stencil at chamber base */+.chamber__stencil {+ position: absolute;+ bottom: 24px; left: 50%;+ transform: translateX(-50%);+ font-family: var(--font-mono);+ font-size: 9px;+ letter-spacing: 0.18em;+ text-transform: uppercase;+ color: var(--color-muted);+ z-index: 5;+ padding: 2px 6px;+ border: 1px solid var(--color-rule-2);+ background: oklch(13% 0.014 265 / 0.85);+ border-radius: 2px;+ margin: 0;+}++/* ── Leader-line callouts around the chamber ── */+.callouts {+ list-style: none;+ margin: 0; padding: 0;+ position: absolute;+ inset: 0;+ pointer-events: none;+}+.callout {+ position: absolute;+ top: var(--y);+ font-family: var(--font-mono);+ font-size: 10.5px;+ letter-spacing: var(--tracking-micro);+ text-transform: uppercase;+ color: var(--color-muted);+ white-space: nowrap;+ display: inline-flex;+ align-items: center;+ gap: 0.65rem;+ opacity: 0;+ animation: callout-reveal 320ms var(--ease-soft) forwards;+}+.callout--left { left: 0; padding-left: 0; }+.callout--right { right: 0; padding-right: 0; flex-direction: row-reverse; }+.callout span {+ background: oklch(15% 0.014 265 / 0.85);+ padding: 3px 6px;+ border: 1px solid var(--color-rule);+ border-radius: 2px;+}+.callout::before {+ content: "";+ display: inline-block;+ width: clamp(28px, 5vw, 56px);+ height: 1px;+ background: linear-gradient(90deg, var(--color-rule-2), var(--color-accent));+}+.callout--right::before {+ background: linear-gradient(90deg, var(--color-accent), var(--color-rule-2));+}+/* Stagger callouts */+.callout:nth-child(1) { animation-delay: 1300ms; }+.callout:nth-child(2) { animation-delay: 1380ms; }+.callout:nth-child(3) { animation-delay: 1460ms; }+.callout:nth-child(4) { animation-delay: 1540ms; }+@keyframes callout-reveal {+ from { opacity: 0; transform: translateX(-4px); }+ to { opacity: 1; transform: translateX(0); }+}+.callout--right { transform: translateX(0); }+.callout--right { animation-name: callout-reveal-r; }+@keyframes callout-reveal-r {+ from { opacity: 0; transform: translateX(4px); }+ to { opacity: 1; transform: translateX(0); }+}+@media (prefers-reduced-motion: reduce) {+ .callout { animation: none; opacity: 1; }+}++@media (max-width: 720px) {+ .apparatus { min-height: 380px; }+ .callout { font-size: 9.5px; }+ .callout::before { width: 24px; }+}++/* ──────────────────────────────────────────────────────────────+ Meter strip — signature move 5+ ────────────────────────────────────────────────────────────── */++.meter {+ display: grid;+ grid-template-columns: 1fr;+ gap: 0.75rem;+ align-items: center;+ padding: 0.85rem var(--page-gutter);+ border-block: 1px solid var(--color-rule);+ background:+ linear-gradient(var(--rule-blueprint) 1px, transparent 1px) 0 0 / 48px 48px,+ var(--color-paper);+ position: relative;+ z-index: 1;+}+@media (min-width: 820px) {+ .meter { grid-template-columns: auto 1fr auto; gap: 1.5rem; }+}++.meter__label {+ margin: 0;+ font-family: var(--font-mono);+ font-size: 10.5px;+ letter-spacing: var(--tracking-micro);+ text-transform: uppercase;+ color: var(--color-muted);+ display: inline-flex;+ align-items: center;+ gap: 0.6em;+}+.meter__label--right {+ justify-self: end;+ color: var(--color-ink-2);+}+.meter__dot {+ display: inline-block;+ width: 6px; height: 6px;+ border-radius: 50%;+ background: oklch(70% 0.18 145);+ box-shadow: 0 0 8px oklch(70% 0.18 145 / 0.55);+ animation: pulse 2s ease-in-out infinite;+}+@keyframes pulse {+ 0%, 100% { opacity: 1; }+ 50% { opacity: 0.45; }+}+@media (prefers-reduced-motion: reduce) { .meter__dot { animation: none; } }++.meter__bars {+ display: flex;+ align-items: flex-end;+ gap: 2px;+ height: 32px;+ min-width: 0;+}+.meter__bars > span {+ flex: 1; min-width: 1px;+ height: var(--h, 50%);+ background: var(--color-accent);+ border-radius: 0.5px;+ opacity: 0.85;+}+.meter__bars > span:nth-child(3n) { opacity: 0.55; }+.meter__bars > span:nth-child(5n) { opacity: 0.70; background: var(--color-accent-2); }++/* ──────────────────────────────────────────────────────────────+ Stats — Instrument Serif numerals+ ────────────────────────────────────────────────────────────── */++.stats {+ max-width: var(--page-max);+ margin: clamp(3rem, 6vh, 4.5rem) auto var(--section-gap);+ padding-inline: var(--page-gutter);+}+.stats__grid {+ display: grid;+ grid-template-columns: repeat(3, 1fr);+ margin: 0;+ border-block-start: 1px solid var(--color-rule);+ border-block-end: 1px solid var(--color-rule);+}+@media (max-width: 720px) { .stats__grid { grid-template-columns: 1fr; } }+.stat { padding: var(--space-2xl) var(--space-xl); display: flex; flex-direction: column; gap: var(--space-md); }+.stat + .stat { border-inline-start: 1px solid var(--color-rule); }+@media (max-width: 720px) { .stat + .stat { border-inline-start: 0; border-block-start: 1px solid var(--color-rule); } }+.stat__label {+ font-family: var(--font-label);+ font-size: 11px;+ letter-spacing: var(--tracking-label);+ text-transform: uppercase;+ color: var(--color-muted);+ margin: 0;+}+.stat__value {+ font-family: var(--font-display);+ font-weight: 400;+ font-size: clamp(2.5rem, 4vw + 1rem, 4.5rem);+ line-height: 1;+ letter-spacing: -0.025em;+ color: var(--color-ink);+ margin: 0;+ font-variant-numeric: tabular-nums;+}+.stat__num {+ display: inline-block;+ position: relative;+}+.stat__num::after {+ content: "";+ position: absolute;+ left: 0; right: 0; bottom: -0.06em;+ height: 1px;+ background: var(--color-accent);+ opacity: 0.4;+}+.stat__unit {+ font-size: 0.32em;+ font-family: var(--font-label);+ letter-spacing: var(--tracking-label);+ text-transform: uppercase;+ color: var(--color-muted);+ margin-inline-start: 0.4em;+ vertical-align: 0.7em;+}+.stats__note { font-size: 0.8125rem; color: var(--color-muted); margin: var(--space-lg) 0 0; max-width: 60ch; }++/* ──────────────────────────────────────────────────────────────+ Sections+ ────────────────────────────────────────────────────────────── */++.section { max-width: var(--page-max); margin-inline: auto; padding-inline: var(--page-gutter); padding-block-end: var(--section-gap); }+.section__head { max-width: 60rem; margin-bottom: var(--space-2xl); }+.section__title {+ font-family: var(--font-display);+ font-weight: 400;+ font-size: var(--text-display-s);+ line-height: var(--lh-tight);+ letter-spacing: var(--tracking-display);+ color: var(--color-ink);+ margin: 0 0 var(--space-lg);+ max-width: 22ch;+ text-wrap: balance;+}+.section__lede { font-size: var(--text-md); color: var(--color-ink-2); max-width: 56ch; margin: 0; }+.section__lede code { font-family: var(--font-mono); font-size: 0.92em; padding: 0.1em 0.4em; background: var(--color-paper-2); border: 1px solid var(--color-rule); border-radius: 4px; color: var(--color-accent); }++/* ──────────────────────────────────────────────────────────────+ Cards — hairline + inner emission+ ────────────────────────────────────────────────────────────── */++.cards { display: grid; grid-template-columns: 1fr; gap: 1rem; }+@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }+.card {+ position: relative;+ padding: var(--space-xl);+ border: 1px solid var(--color-rule);+ border-radius: var(--radius-card);+ background:+ radial-gradient(120% 80% at 0% 0%, oklch(76% 0.17 50 / 0.05) 0%, transparent 55%),+ var(--color-paper-2);+ transition: transform 220ms var(--ease-soft), border-color 220ms, background 220ms;+ display: flex; flex-direction: column;+ gap: var(--space-md);+ min-height: 14rem;+ overflow: hidden;+}+.card::before {+ content: "";+ position: absolute;+ top: 0; left: 0;+ width: 32px; height: 1px;+ background: var(--color-accent);+}+.card:hover {+ transform: translateY(-4px);+ border-color: var(--color-rule-2);+ background:+ radial-gradient(120% 80% at 0% 0%, oklch(76% 0.17 50 / 0.10) 0%, transparent 55%),+ var(--color-paper-2);+}+.card__eyebrow { font-family: var(--font-label); font-size: 11px; letter-spacing: var(--tracking-label); text-transform: lowercase; color: var(--color-accent); margin: 0; }+.card__title { font-family: var(--font-body); font-weight: 500; font-size: 1.125rem; line-height: 1.3; color: var(--color-ink); margin: 0; }+.card__body { font-size: 0.9375rem; line-height: 1.6; color: var(--color-ink-2); margin: 0; }++/* ──────────────────────────────────────────────────────────────+ Code block — no fake browser chrome+ ────────────────────────────────────────────────────────────── */++.section--code .code {+ border: 1px solid var(--color-rule);+ border-radius: var(--radius-card);+ overflow: hidden;+ background:+ radial-gradient(80% 80% at 100% 0%, oklch(76% 0.17 50 / 0.04) 0%, transparent 60%),+ var(--color-paper-2);+}+.code__head {+ display: flex; justify-content: space-between; align-items: center;+ gap: 1rem;+ padding: 0.75rem 1.25rem;+ border-bottom: 1px solid var(--color-rule);+ font-family: var(--font-mono);+ font-size: 11px;+ letter-spacing: 0.04em;+ color: var(--color-muted);+}+.code__path { margin: 0; color: var(--color-ink-2); }+.code__sha { margin: 0; color: var(--color-rule-2); }++.code__tabs {+ display: flex;+ border-bottom: 1px solid var(--color-rule);+ background: oklch(15% 0.014 265 / 0.4);+}+.code__tab {+ background: none; border: 0; cursor: pointer;+ padding: 0.75rem 1.25rem;+ font-family: var(--font-label);+ font-size: 11px;+ letter-spacing: var(--tracking-label);+ text-transform: uppercase;+ color: var(--color-muted);+ transition: color 180ms, background 180ms;+ position: relative;+}+.code__tab.is-active {+ color: var(--color-ink);+ background: var(--color-paper-2);+}+.code__tab.is-active::after {+ content: "";+ position: absolute;+ left: 1.25rem; right: 1.25rem; bottom: 0;+ height: 1px;+ background: var(--color-accent);+}+.code__tab:hover { color: var(--color-ink); }+.code__body {+ margin: 0;+ padding: clamp(1.5rem, 3vw, 2rem) clamp(1rem, 3vw, 2rem);+ font-family: var(--font-mono);+ font-size: 0.8125rem;+ line-height: 1.75;+ color: var(--color-ink);+ overflow-x: auto;+}+.code__body .ln {+ display: inline-block;+ width: 2em;+ color: var(--color-rule-2);+ user-select: none;+ margin-right: 0.5em;+}+.tok-kw { color: oklch(68% 0.16 18); }+.tok-str { color: oklch(76% 0.13 145); }+.tok-num { color: var(--color-accent); }+.tok-fn { color: var(--color-ink); }+.tok-cls { color: oklch(72% 0.14 240); }+.tok-deco { color: oklch(70% 0.14 310); }++/* ──────────────────────────────────────────────────────────────+ Pricing tiers+ ────────────────────────────────────────────────────────────── */++.tiers { display: grid; grid-template-columns: 1fr; gap: 1rem; }+@media (min-width: 880px) { .tiers { grid-template-columns: repeat(3, 1fr); } }+.tier {+ display: flex; flex-direction: column;+ padding: var(--space-xl);+ border: 1px solid var(--color-rule);+ border-radius: var(--radius-card);+ background: var(--color-paper-2);+ gap: var(--space-md);+}+.tier--feature {+ border-color: var(--color-rule-2);+ background:+ radial-gradient(120% 80% at 100% 0%, oklch(76% 0.17 50 / 0.10) 0%, transparent 60%),+ var(--color-paper-2);+ box-shadow: var(--shadow-card);+ position: relative;+}+.tier--feature::before {+ content: "Recommended";+ position: absolute;+ top: -0.6rem; left: 1.25rem;+ font-family: var(--font-mono);+ font-size: 10px;+ letter-spacing: 0.10em;+ text-transform: uppercase;+ padding: 0.25rem 0.5rem;+ background: var(--color-accent);+ color: var(--color-accent-ink);+ border-radius: 2px;+}+.tier__eyebrow {+ font-family: var(--font-label);+ font-size: 11px;+ letter-spacing: var(--tracking-label);+ text-transform: uppercase;+ color: var(--color-muted);+ margin: 0;+}+.tier--feature .tier__eyebrow { color: var(--color-accent); }++.tier__price {+ font-family: var(--font-display);+ font-weight: 400;+ font-size: 2.75rem;+ line-height: 1;+ color: var(--color-ink);+ margin: 0;+ letter-spacing: -0.025em;+ font-variant-numeric: tabular-nums;+}+.tier__unit {+ font-family: var(--font-label);+ font-size: 0.32em;+ letter-spacing: var(--tracking-label);+ text-transform: uppercase;+ color: var(--color-muted);+ margin-inline-start: 0.3em;+ vertical-align: 0.7em;+}+.tier__note {+ font-size: 0.8125rem;+ color: var(--color-muted);+ margin: 0;+ padding-bottom: var(--space-md);+ border-bottom: 1px solid var(--color-rule);+}+.tier__list {+ list-style: none;+ margin: 0; padding: 0;+ display: flex; flex-direction: column;+ gap: var(--space-sm);+ flex: 1;+}+.tier__list li {+ font-size: 0.9375rem;+ color: var(--color-ink-2);+ padding-left: 1.25rem;+ position: relative;+}+.tier__list li::before {+ content: "—";+ position: absolute;+ left: 0;+ color: var(--color-accent);+}+.tier .btn { margin-top: var(--space-md); }++/* ──────────────────────────────────────────────────────────────+ Changelog+ ────────────────────────────────────────────────────────────── */++.section--changelog .log {+ list-style: none;+ margin: 0; padding: 0;+ border-block-start: 1px solid var(--color-rule);+}+.log__entry {+ display: grid;+ grid-template-columns: 12rem 1fr;+ gap: 2rem;+ padding-block: var(--space-xl);+ border-block-end: 1px solid var(--color-rule);+}+@media (max-width: 720px) { .log__entry { grid-template-columns: 1fr; gap: 0.5rem; } }+.log__date {+ font-family: var(--font-label);+ font-size: 11px;+ letter-spacing: var(--tracking-label);+ text-transform: uppercase;+ color: var(--color-muted);+ padding-top: 0.4rem;+}+.log__text { margin: 0; font-size: 1rem; line-height: 1.65; color: var(--color-ink-2); max-width: 60ch; }+.log__text strong { color: var(--color-ink); font-weight: 500; }++/* ──────────────────────────────────────────────────────────────+ Footer — Ft5 statement+ ────────────────────────────────────────────────────────────── */++.footer {+ margin-top: var(--space-2xl);+ border-block-start: 1px solid var(--color-rule);+ background:+ linear-gradient(var(--rule-blueprint) 1px, transparent 1px) 0 0 / 48px 48px,+ linear-gradient(90deg, var(--rule-blueprint) 1px, transparent 1px) 0 0 / 48px 48px,+ radial-gradient(60% 80% at 50% 100%, var(--color-paper-emit) 0%, transparent 60%),+ var(--color-paper);+}+.footer__inner {+ max-width: var(--page-max);+ margin-inline: auto;+ padding: clamp(4rem, 8vh, 6rem) var(--page-gutter) clamp(3rem, 6vh, 4.5rem);+ display: flex; flex-direction: column;+ gap: clamp(3rem, 6vh, 4.5rem);+}+.footer__statement {+ font-family: var(--font-display);+ font-weight: 400;+ font-size: clamp(2rem, 3vw + 1rem, 3.5rem);+ line-height: 1.12;+ letter-spacing: var(--tracking-display);+ color: var(--color-ink);+ margin: 0;+ max-width: 24ch;+ text-wrap: balance;+}++.footer__meta {+ display: grid;+ grid-template-columns: auto 1fr 1fr 1fr;+ gap: 2rem;+ align-items: start;+ padding-top: var(--space-xl);+ border-block-start: 1px solid var(--color-rule);+}+@media (max-width: 880px) {+ .footer__meta { grid-template-columns: 1fr 1fr; }+ .footer__mark { grid-column: span 2; }+}+@media (max-width: 540px) {+ .footer__meta { grid-template-columns: 1fr; }+ .footer__mark { grid-column: span 1; }+}+.footer__mark {+ width: 28px; height: 28px;+ border-radius: 50%;+ background: var(--color-accent);+ box-shadow: 0 0 22px var(--color-glow);+}+.footer__col {+ margin: 0;+ font-family: var(--font-label);+ font-size: 11px;+ letter-spacing: 0.08em;+ text-transform: uppercase;+ color: var(--color-muted);+ display: flex; flex-direction: column;+ gap: 0.4rem;+}+.footer__col a { color: var(--color-muted); transition: color 180ms; }+.footer__col a:hover { color: var(--color-ink); }+.footer__hash { color: var(--color-rule-2); }diff --git a/site/examples/lumen-01/tokens.css b/site/examples/lumen-01/tokens.cssnew file mode 100644index 0000000..6104ebe--- /dev/null+++ b/site/examples/lumen-01/tokens.css@@ -0,0 +1,92 @@+/* Hallmark · macrostructure: Marquee Hero · H1 hero knobs: apparatus=filament-chamber, italic-pivot=think+ * theme: Lumen (catalog) · drop: Night Foundry · paper: oklch(13% 0.014 265) · accent: oklch(76% 0.17 50) + oklch(68% 0.16 18)+ * display: Instrument Serif 400 (italic pivot) · body: Geist Sans · labels: JetBrains Mono all-caps+ * axes: dark / classical-serif / warm-brass+ * nav: N5 floating pill · footer: Ft5 statement+ * brief: "A serverless GPU inference platform — Cinder."+ * v1.1.0+ */++:root, [data-theme="lumen"] {+ color-scheme: dark;++ /* NIGHT FOUNDRY palette — cool-violet paper, molten-brass accent */+ --color-paper: oklch(13% 0.014 265);+ --color-paper-2: oklch(17% 0.016 265);+ --color-paper-3: oklch(22% 0.018 263);+ --color-rule: oklch(30% 0.018 265);+ --color-rule-2: oklch(42% 0.020 263);+ --color-muted: oklch(60% 0.016 263);+ --color-neutral: oklch(72% 0.014 263);+ --color-ink-2: oklch(82% 0.010 262);+ --color-ink: oklch(96% 0.006 262);+ --color-accent: oklch(76% 0.17 50);+ --color-accent-2: oklch(68% 0.16 18);+ --color-accent-ink: oklch(13% 0.014 265);+ --color-focus: oklch(76% 0.17 50);+ --color-glow: oklch(80% 0.16 50 / 0.42);+ --color-glow-2: oklch(80% 0.16 50 / 0.12);+ --color-paper-emit: oklch(76% 0.17 50 / 0.05);+ --rule-blueprint: oklch(96% 0.006 262 / 0.04);++ /* Type */+ --font-display: "Instrument Serif", "Tiempos Headline", ui-serif, Georgia, serif;+ --font-body: "Geist", "Inter", ui-sans-serif, system-ui, sans-serif;+ --font-label: "JetBrains Mono", "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;+ --font-mono: "JetBrains Mono", "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;++ --text-xs: 0.75rem;+ --text-sm: 0.8125rem;+ --text-base: 1rem;+ --text-md: 1.0625rem;+ --text-lg: 1.25rem;+ --text-xl: 1.5rem;+ --text-2xl: 2rem;+ --text-3xl: 2.5rem;+ --text-display: clamp(3rem, 6.5vw + 0.75rem, 6.5rem);+ --text-display-s: clamp(2.25rem, 3.75vw + 1rem, 3.75rem);++ --tracking-display: -0.032em;+ --tracking-tight: -0.014em;+ --tracking-normal: 0;+ --tracking-label: 0.10em;+ --tracking-micro: 0.16em;++ --lh-tight: 1.02;+ --lh-snug: 1.18;+ --lh-normal: 1.55;+ --lh-relaxed: 1.7;++ --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: 6.5rem;+ --space-4xl: 10rem;++ --section-gap: 6.5rem;+ --section-head-gap: 1.75rem;++ --page-max: 80rem;+ --page-gutter: clamp(1.25rem, 4vw, 3rem);+ --measure: 60ch;++ --radius-card: 10px;+ --radius-pill: 999px;+ --radius-input: 8px;+ --rule-card: 1px;+ --shadow-card: 0 24px 60px -28px oklch(0% 0 0 / 0.55),+ 0 1px 2px oklch(0% 0 0 / 0.4);++ --ease-out: cubic-bezier(0.16, 1, 0.3, 1);+ --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);+ --ease-in: cubic-bezier(0.7, 0, 0.84, 0);+ --dur-micro: 120ms;+ --dur-short: 220ms;+ --dur-long: 420ms;+ --dur-headline: 1100ms;+ --dur-pulse: 4s;+}diff --git a/site/examples/scroll-demos.json b/site/examples/scroll-demos.jsonnew file mode 100644index 0000000..9941b49--- /dev/null+++ b/site/examples/scroll-demos.json@@ -0,0 +1,17 @@+{+ "_note": "Source-of-truth for Remotion scroll-capture previews of the v1.1 showcase pages (the 4 new themes + the 5 bespoke/custom pages). A Remotion composition iterates `demos`, loads each `url` in an <Iframe> at `viewport`, animates scrollTop from 0 to (content height - viewport.h) across `durationSec` (ease in/out, hold ~0.6s at each end), and renders to `out`. Drop the resulting .mp4 into site/_tests/_thumbs/ and swap that card's <img> for <video data-hover-play src=... poster=...> in index.html. Hallmark does the page; Remotion does the scrolling. (The original 8 example cards already ship pre-rendered loops and are not listed here.)",+ "viewport": { "w": 1280, "h": 800 },+ "fps": 30,+ "demos": [+ { "slug": "cobalt-01", "group": "theme", "theme": "Cobalt", "url": "examples/cobalt-01/", "title": "Distil", "kind": "content-extraction API", "durationSec": 16, "out": "_tests/_thumbs/cobalt-01-scroll.mp4" },+ { "slug": "carnival-01", "group": "theme", "theme": "Carnival", "url": "examples/carnival-01/", "title": "Cold Snap", "kind": "record-label EP page", "durationSec": 12, "out": "_tests/_thumbs/carnival-01-scroll.mp4" },+ { "slug": "lumen-01", "group": "theme", "theme": "Lumen", "url": "examples/lumen-01/", "title": "Cinder", "kind": "AI reasoning tool", "durationSec": 13, "out": "_tests/_thumbs/lumen-01-scroll.mp4" },+ { "slug": "hum-02", "group": "theme", "theme": "Hum", "url": "examples/hum-02/", "title": "Sprout", "kind": "daily-reading app", "durationSec": 13, "out": "_tests/_thumbs/hum-02-scroll.mp4" },++ { "slug": "custom-01", "group": "custom", "url": "examples/custom-01/", "title": "Setting the Night Edition", "kind": "letterpress poem broadside", "durationSec": 14, "out": "_tests/_thumbs/custom-01-scroll.mp4" },+ { "slug": "custom-02", "group": "custom", "url": "examples/custom-02/", "title": "The Cascadia Nightjar", "kind": "sleeper-train ticket", "durationSec": 12, "out": "_tests/_thumbs/custom-02-scroll.mp4" },+ { "slug": "custom-03", "group": "custom", "url": "examples/custom-03/", "title": "Ferns & Fathom", "kind": "tea menu as a periodic table", "durationSec": 12, "out": "_tests/_thumbs/custom-03-scroll.mp4" },+ { "slug": "custom-04", "group": "custom", "url": "examples/custom-04/", "title": "The Mend Assembly", "kind": "repair-café manifesto poster", "durationSec": 14, "out": "_tests/_thumbs/custom-04-scroll.mp4" },+ { "slug": "custom-05", "group": "custom", "url": "examples/custom-05/", "title": "Hollow Coast", "kind": "sound-artist portfolio", "durationSec": 12, "out": "_tests/_thumbs/custom-05-scroll.mp4" }+ ]+}diff --git a/site/index.html b/site/index.htmlindex ffba4b6..15cc07e 100644--- a/site/index.html+++ b/site/index.html@@ -1,5 +1,5 @@<!doctype html>-<html lang="en" data-theme="specimen">+<html lang="en" data-theme="hum"><head><meta charset="utf-8" />@@ -54,12 +54,12 @@<link rel="preconnect" href="https://fonts.googleapis.com" /><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /><link rel="stylesheet"- href="https://fonts.googleapis.com/css2?family=Albert+Sans:wght@400;500;600;700;800&family=Anton&family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,900;1,9..144,400;1,9..144,500&family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&family=Hanken+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=Inter+Tight:ital,wght@0,500;0,600;0,700;0,800;1,500;1,600;1,700&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400;1,6..72,500&family=Playfair+Display:ital,wght@1,400;1,500;1,600&family=Public+Sans:wght@400;500;600;700&display=swap" />+ href="https://fonts.googleapis.com/css2?family=Albert+Sans:wght@400;500;600;700;800&family=Anton&family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,900;1,9..144,400;1,9..144,500&family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&family=Hanken+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=Inter+Tight:ital,wght@0,500;0,600;0,700;0,800;1,500;1,600;1,700&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400;1,6..72,500&family=Playfair+Display:ital,wght@1,400;1,500;1,600&family=Public+Sans:wght@400;500;600;700&family=Young+Serif&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap" />- <link rel="stylesheet" href="css/tokens.css" />- <link rel="stylesheet" href="css/base.css" />- <link rel="stylesheet" href="css/components.css" />- <link rel="stylesheet" href="css/sections.css" />+ <link rel="stylesheet" href="css/tokens.css?v=16" />+ <link rel="stylesheet" href="css/base.css?v=16" />+ <link rel="stylesheet" href="css/components.css?v=16" />+ <link rel="stylesheet" href="css/sections.css?v=16" /><script>// Load theme before paint to avoid flash. Order: ?theme= → localStorage → default.@@ -123,9 +123,9 @@<div class="banner__theme-wrap" data-theme-wrap><button class="banner__theme-indicator" type="button" aria-haspopup="listbox" aria-expanded="false"aria-controls="theme-dropdown" data-theme-trigger>- <span class="banner__ordinal tnum" data-theme-ordinal>01 / 23</span>+ <span class="banner__ordinal tnum" data-theme-ordinal>20 / 20</span><span class="banner__indicator-sep" aria-hidden="true">—</span>- <span class="banner__theme" data-theme-current>Specimen</span>+ <span class="banner__theme" data-theme-current>Hum</span><svg class="banner__caret" viewBox="0 0 12 12" width="10" height="10" aria-hidden="true"><path d="M2 4l4 4 4-4" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"stroke-linejoin="round" />@@ -143,7 +143,7 @@style="--dot: oklch(98% 0.001 0); --dot-edge: oklch(60% 0.21 27);"><spanclass="theme-dropdown__num">03</span></button><button class="theme-dropdown__dot" type="button" data-theme-btn="garden" aria-label="04 — Garden"- style="--dot: oklch(95% 0.030 130); --dot-edge: oklch(54% 0.16 14);"><span+ style="--dot: oklch(95.5% 0.022 92); --dot-edge: oklch(47% 0.13 140);"><spanclass="theme-dropdown__num">04</span></button><button class="theme-dropdown__dot" type="button" data-theme-btn="atelier" aria-label="05 — Atelier"style="--dot: oklch(94% 0.005 60); --dot-edge: oklch(45% 0.13 60);"><span@@ -157,48 +157,42 @@<button class="theme-dropdown__dot" type="button" data-theme-btn="manifesto" aria-label="08 — Manifesto"style="--dot: oklch(10% 0.005 60); --dot-edge: oklch(60% 0.22 27);"><spanclass="theme-dropdown__num">08</span></button>- <button class="theme-dropdown__dot" type="button" data-theme-btn="salon" aria-label="09 — Salon"- style="--dot: oklch(94% 0.030 65); --dot-edge: oklch(40% 0.085 50);"><span+ <button class="theme-dropdown__dot" type="button" data-theme-btn="almanac" aria-label="09 — Almanac"+ style="--dot: oklch(94% 0.008 245); --dot-edge: oklch(38% 0.135 250);"><spanclass="theme-dropdown__num">09</span></button>- <button class="theme-dropdown__dot" type="button" data-theme-btn="linen" aria-label="10 — Linen"- style="--dot: oklch(89% 0.022 95); --dot-edge: oklch(46% 0.06 95);"><span+ <button class="theme-dropdown__dot" type="button" data-theme-btn="sport" aria-label="10 — Sport"+ style="--dot: oklch(98% 0.003 250); --dot-edge: oklch(58% 0.190 35);"><spanclass="theme-dropdown__num">10</span></button>- <button class="theme-dropdown__dot" type="button" data-theme-btn="almanac" aria-label="11 — Almanac"- style="--dot: oklch(94% 0.008 245); --dot-edge: oklch(38% 0.135 250);"><span+ <button class="theme-dropdown__dot" type="button" data-theme-btn="studio" aria-label="11 — Studio"+ style="--dot: oklch(96.5% 0.014 95); --dot-edge: oklch(46% 0.140 145);"><spanclass="theme-dropdown__num">11</span></button>- <button class="theme-dropdown__dot" type="button" data-theme-btn="sport" aria-label="12 — Sport"- style="--dot: oklch(98% 0.003 250); --dot-edge: oklch(58% 0.190 35);"><span+ <button class="theme-dropdown__dot" type="button" data-theme-btn="riso" aria-label="12 — Riso"+ style="--dot: oklch(91% 0.034 30); --dot-edge: oklch(58% 0.170 220);"><spanclass="theme-dropdown__num">12</span></button>- <button class="theme-dropdown__dot" type="button" data-theme-btn="studio" aria-label="13 — Studio"- style="--dot: oklch(96.5% 0.014 95); --dot-edge: oklch(46% 0.140 145);"><span+ <button class="theme-dropdown__dot" type="button" data-theme-btn="bloom" aria-label="13 — Bloom"+ style="--dot: oklch(97% 0.010 72); --dot-edge: oklch(56% 0.13 35);"><spanclass="theme-dropdown__num">13</span></button>- <button class="theme-dropdown__dot" type="button" data-theme-btn="riso" aria-label="14 — Riso"- style="--dot: oklch(91% 0.034 30); --dot-edge: oklch(58% 0.170 220);"><span+ <button class="theme-dropdown__dot" type="button" data-theme-btn="coral" aria-label="14 — Coral"+ style="--dot: oklch(96.5% 0.005 50); --dot-edge: oklch(64% 0.165 28);"><spanclass="theme-dropdown__num">14</span></button>- <button class="theme-dropdown__dot" type="button" data-theme-btn="quiet" aria-label="15 — Quiet"- style="--dot: oklch(100% 0 0); --dot-edge: oklch(15% 0 0);"><span+ <button class="theme-dropdown__dot" type="button" data-theme-btn="aurora" aria-label="15 — Aurora"+ style="--dot: oklch(11% 0.025 200); --dot-edge: oklch(72% 0.170 200);"><spanclass="theme-dropdown__num">15</span></button>- <button class="theme-dropdown__dot" type="button" data-theme-btn="bloom" aria-label="16 — Bloom"- style="--dot: oklch(96% 0.018 35); --dot-edge: oklch(64% 0.180 18);"><span+ <button class="theme-dropdown__dot" type="button" data-theme-btn="editorial" aria-label="16 — Editorial"+ style="--dot: oklch(94% 0.020 75); --dot-edge: oklch(60% 0.160 35);"><spanclass="theme-dropdown__num">16</span></button>- <button class="theme-dropdown__dot" type="button" data-theme-btn="coral" aria-label="17 — Coral"- style="--dot: oklch(96.5% 0.005 50); --dot-edge: oklch(64% 0.165 28);"><span+ <button class="theme-dropdown__dot" type="button" data-theme-btn="carnival" aria-label="17 — Carnival"+ style="--dot: oklch(92% 0.075 85); --dot-edge: oklch(40% 0.13 25);"><spanclass="theme-dropdown__num">17</span></button>- <button class="theme-dropdown__dot" type="button" data-theme-btn="violet" aria-label="18 — Violet"- style="--dot: oklch(99% 0.003 280); --dot-edge: oklch(58% 0.16 285);"><span+ <button class="theme-dropdown__dot" type="button" data-theme-btn="lumen" aria-label="18 — Lumen"+ style="--dot: oklch(15% 0.016 265); --dot-edge: oklch(76% 0.13 60);"><spanclass="theme-dropdown__num">18</span></button>- <button class="theme-dropdown__dot" type="button" data-theme-btn="aurora" aria-label="19 — Aurora"- style="--dot: oklch(11% 0.025 200); --dot-edge: oklch(72% 0.170 200);"><span+ <button class="theme-dropdown__dot" type="button" data-theme-btn="hum" aria-label="19 — Hum"+ style="--dot: oklch(97% 0.012 95); --dot-edge: oklch(68% 0.24 18);"><spanclass="theme-dropdown__num">19</span></button>- <button class="theme-dropdown__dot" type="button" data-theme-btn="halo" aria-label="20 — Halo"- style="--dot: oklch(13% 0.005 60); --dot-edge: oklch(74% 0.16 70);"><span+ <button class="theme-dropdown__dot" type="button" data-theme-btn="cobalt" aria-label="20 — Cobalt"+ style="--dot: oklch(98.5% 0.004 250); --dot-edge: oklch(58% 0.20 256);"><spanclass="theme-dropdown__num">20</span></button>- <button class="theme-dropdown__dot" type="button" data-theme-btn="plume" aria-label="21 — Plume"- style="--dot: oklch(96% 0.020 70); --dot-edge: oklch(68% 0.130 18);"><span- class="theme-dropdown__num">21</span></button>- <button class="theme-dropdown__dot" type="button" data-theme-btn="editorial" aria-label="22 — Editorial"- style="--dot: oklch(94% 0.020 75); --dot-edge: oklch(60% 0.160 35);"><span- class="theme-dropdown__num">22</span></button></div></div>@@ -218,7 +212,7 @@<aside class="t-tooltip" data-t-tooltip hidden role="status" aria-live="polite"><span class="t-tooltip__arrow" aria-hidden="true"></span><span class="t-tooltip__body">- Press <kbd>T</kbd> to see this page in <strong>22 shapes</strong>.+ Press <kbd>T</kbd> to see this page in <strong>20 shapes</strong>.</span></aside></header>@@ -243,6 +237,75 @@<div class="examples-rail" role="list" aria-label="Example landing pages">+ <!-- New-theme showcase. Scroll previews via Remotion from the live pages+ (see examples/scroll-demos.json); swap each <img> for+ <video data-hover-play src="_tests/_thumbs/<slug>-scroll.mp4" poster="..."> once rendered. -->+ <a class="ex-card" role="listitem" href="examples/cobalt-01/" target="_blank" rel="noopener" aria-label="Open the Distil example — content-extraction API, Cobalt — in a new tab">+ <div class="ex-card__thumb" aria-hidden="true">+ <img src="_tests/_thumbs/cobalt-01.jpg" alt="" loading="lazy" width="1600" height="1000" />+ </div>+ <p class="ex-card__prompt"><span class="ex-card__prompt-mark">$</span> /hallmark build a content-extraction API, Cobalt</p>+ </a>++ <a class="ex-card" role="listitem" href="examples/carnival-01/" target="_blank" rel="noopener" aria-label="Open the Cold Snap example — record-label EP page, Carnival — in a new tab">+ <div class="ex-card__thumb" aria-hidden="true">+ <img src="_tests/_thumbs/carnival-01.jpg" alt="" loading="lazy" width="1600" height="1000" />+ </div>+ <p class="ex-card__prompt"><span class="ex-card__prompt-mark">$</span> /hallmark build a record-label EP page, Carnival</p>+ </a>++ <a class="ex-card" role="listitem" href="examples/lumen-01/" target="_blank" rel="noopener" aria-label="Open the Cinder example — AI reasoning tool, Lumen — in a new tab">+ <div class="ex-card__thumb" aria-hidden="true">+ <img src="_tests/_thumbs/lumen-01.jpg" alt="" loading="lazy" width="1600" height="1000" />+ </div>+ <p class="ex-card__prompt"><span class="ex-card__prompt-mark">$</span> /hallmark build an AI reasoning tool, Lumen</p>+ </a>++ <a class="ex-card" role="listitem" href="examples/hum-02/" target="_blank" rel="noopener" aria-label="Open the Sprout example — daily-reading app, Hum — in a new tab">+ <div class="ex-card__thumb" aria-hidden="true">+ <img src="_tests/_thumbs/hum-02.jpg" alt="" loading="lazy" width="1600" height="1000" />+ </div>+ <p class="ex-card__prompt"><span class="ex-card__prompt-mark">$</span> /hallmark build a playful daily-reading app, Hum</p>+ </a>++ <!-- Custom / bespoke showcase. Scroll previews are generated by Remotion from the live+ pages (see examples/scroll-demos.json); once rendered, swap each <img> for+ <video data-hover-play src="_tests/_thumbs/<slug>-scroll.mp4" poster="..."> . -->+ <a class="ex-card" role="listitem" href="examples/custom-01/" target="_blank" rel="noopener" aria-label="Open the Setting the Night Edition example — letterpress poem broadside, custom — in a new tab">+ <div class="ex-card__thumb" aria-hidden="true">+ <img src="_tests/_thumbs/custom-01.jpg" alt="" loading="lazy" width="1600" height="1000" />+ </div>+ <p class="ex-card__prompt"><span class="ex-card__prompt-mark">$</span> /hallmark build a letterpress poem broadside, custom</p>+ </a>++ <a class="ex-card" role="listitem" href="examples/custom-02/" target="_blank" rel="noopener" aria-label="Open the Cascadia Nightjar example — sleeper-train ticket page, custom — in a new tab">+ <div class="ex-card__thumb" aria-hidden="true">+ <img src="_tests/_thumbs/custom-02.jpg" alt="" loading="lazy" width="1600" height="1000" />+ </div>+ <p class="ex-card__prompt"><span class="ex-card__prompt-mark">$</span> /hallmark build a sleeper-train ticket page, custom</p>+ </a>++ <a class="ex-card" role="listitem" href="examples/custom-03/" target="_blank" rel="noopener" aria-label="Open the Ferns & Fathom example — tea menu as a periodic table, custom — in a new tab">+ <div class="ex-card__thumb" aria-hidden="true">+ <img src="_tests/_thumbs/custom-03.jpg" alt="" loading="lazy" width="1600" height="1000" />+ </div>+ <p class="ex-card__prompt"><span class="ex-card__prompt-mark">$</span> /hallmark build a tea menu as a periodic table, custom</p>+ </a>++ <a class="ex-card" role="listitem" href="examples/custom-04/" target="_blank" rel="noopener" aria-label="Open the Mend Assembly example — repair-café manifesto poster, custom — in a new tab">+ <div class="ex-card__thumb" aria-hidden="true">+ <img src="_tests/_thumbs/custom-04.jpg" alt="" loading="lazy" width="1600" height="1000" />+ </div>+ <p class="ex-card__prompt"><span class="ex-card__prompt-mark">$</span> /hallmark build a repair-café manifesto poster, custom</p>+ </a>++ <a class="ex-card" role="listitem" href="examples/custom-05/" target="_blank" rel="noopener" aria-label="Open the Hollow Coast example — sound-artist portfolio, custom — in a new tab">+ <div class="ex-card__thumb" aria-hidden="true">+ <img src="_tests/_thumbs/custom-05.jpg" alt="" loading="lazy" width="1600" height="1000" />+ </div>+ <p class="ex-card__prompt"><span class="ex-card__prompt-mark">$</span> /hallmark build a sound-artist portfolio, custom</p>+ </a>+<a class="ex-card" role="listitem" href="examples/tally/" target="_blank" rel="noopener" aria-label="Open the Tally example — SaaS product page, modern-minimal — in a new tab"><div class="ex-card__thumb ex-card__thumb--video" aria-hidden="true"><video data-hover-play src="_tests/_thumbs/SaaS-loop.mp4" autoplay loop muted playsinline preload="metadata" width="1784" height="1080"></video>@@ -914,7 +977,16 @@<p class="hero__letter-body">{{letterBody}}</p><p class="hero__signoff">{{signoff}}<br><span class="hero__sign">— Hallmark</span></p></div>- <aside class="hero__moment" aria-hidden="true"></aside>+ <aside class="hero__moment" aria-hidden="true">+ <svg viewBox="0 0 120 220" fill="none" xmlns="http://www.w3.org/2000/svg">+ <path pathLength="100" d="M60 214 C60 168 58 118 60 76 C61 48 60 26 60 8" />+ <path pathLength="100" d="M60 166 C40 160 26 144 27 120 C51 124 64 144 60 166Z" />+ <path pathLength="100" d="M60 134 C82 128 96 110 95 86 C70 90 56 112 60 134Z" />+ <path pathLength="100" d="M60 100 C42 95 31 80 32 58 C54 62 65 80 60 100Z" />+ <path pathLength="100" d="M60 72 C80 67 92 52 91 32 C68 36 56 54 60 72Z" />+ <path pathLength="100" d="M60 24 C53 18 53 10 60 4 C67 10 67 18 60 24Z" />+ </svg>+ </aside></div></template>@@ -990,6 +1062,45 @@</div></template>+ <!-- HUM — playful shape play. A bouncing multi-accent composition on the+ right; the default theme's hero. Reuses the marquee copy keys. -->+ <template id="hero-hum">+ <div class="hero hero--hum">+ <div class="hero__main">+ <p class="hero__eyebrow"><span class="mark" aria-hidden="true"></span>{{eyebrow}}</p>+ <h1 class="hero__display">{{title}}</h1>+ <p class="hero__lede">{{lede}}</p>+ <div class="hero__cta">+ <p class="label">{{ctaLabel}}</p>+ <pre class="code"+ data-copy-source><span class="prompt">$</span><span data-copy-text>npx skills add nutlope/hallmark</span><button class="code__copy" type="button" data-copy-btn aria-label="Copy install command"><span class="code__copy-default">Copy</span><span class="code__copy-done">Copied</span></button></pre>+ </div>+ </div>+ <figure class="hero__play" aria-hidden="true">+ <span class="play-blob"></span>+ <span class="play-dot play-dot--pear"></span>+ <span class="play-pill play-pill--cyan"></span>+ <span class="play-ring play-ring--lavender"></span>+ <span class="play-dot play-dot--coral"></span>+ <span class="play-dot play-dot--mint"></span>+ </figure>+ </div>+ </template>++ <template id="hero-cobalt">+ <div class="hero hero--cobalt">+ <div class="hero__main">+ <p class="hero__eyebrow"><span class="mark" aria-hidden="true"></span>{{eyebrow}}</p>+ <h1 class="hero__display">{{title}}</h1>+ <p class="hero__lede">{{lede}}</p>+ <div class="hero__cta-row">+ <a class="hero__cta-btn" href="#install">{{ctaLabel}}</a>+ <a class="link hero__link" href="#examples">{{cta}} →</a>+ </div>+ </div>+ </div>+ </template>+<!-- ─────────── FOOTER ARCHETYPES ─────────── --><!-- The COLOPHON — a single editorial footer for every theme. The@@ -1014,9 +1125,9 @@<section class="foot__block"><p class="foot__label">In the catalog</p><ul class="foot__stats">- <li><span class="foot__stat-num tnum">22</span><span class="foot__stat-key">themes</span></li>+ <li><span class="foot__stat-num tnum">20</span><span class="foot__stat-key">themes</span></li><li><span class="foot__stat-num tnum">21</span><span class="foot__stat-key">macrostructures</span></li>- <li><span class="foot__stat-num tnum">65</span><span class="foot__stat-key">slop-test gates</span></li>+ <li><span class="foot__stat-num tnum">70</span><span class="foot__stat-key">slop-test gates</span></li></ul></section>@@ -1037,7 +1148,7 @@</div></template>- <script type="module" src="js/main.js"></script>+ <script type="module" src="js/main.js?v=16"></script></body></html>\ No newline at end of filediff --git a/site/js/main.js b/site/js/main.jsindex b84e9a2..8f7169f 100644--- a/site/js/main.js+++ b/site/js/main.js@@ -48,20 +48,18 @@ const THEMES = {newsprint: "Newsprint",terminal: "Terminal",manifesto: "Manifesto",- salon: "Salon",- linen: "Linen",almanac: "Almanac",sport: "Sport",studio: "Studio",riso: "Riso",- quiet: "Quiet",bloom: "Bloom",coral: "Coral",- violet: "Violet",aurora: "Aurora",- halo: "Halo",- plume: "Plume",editorial: "Editorial",+ carnival: "Carnival",+ lumen: "Lumen",+ hum: "Hum",+ cobalt: "Cobalt",};const STORAGE_KEY = "hallmark-theme";@@ -74,8 +72,6 @@ const ARCHETYPES = {newsprint: { hero: "split", footer: "colophon" },atelier: { hero: "quote-led", footer: "colophon" },garden: { hero: "letter", footer: "colophon" },- salon: { hero: "quote-led", footer: "colophon" },- linen: { hero: "letter", footer: "colophon" },almanac: { hero: "stat-led", footer: "colophon" },midnight: { hero: "stat-led", footer: "colophon" },terminal: { hero: "marquee", footer: "colophon" },@@ -84,14 +80,14 @@ const ARCHETYPES = {sport: { hero: "stat-led", footer: "colophon" },studio: { hero: "letter", footer: "colophon" },riso: { hero: "quote-led", footer: "colophon" },- quiet: { hero: "split", footer: "colophon" },bloom: { hero: "marquee", footer: "colophon" },coral: { hero: "split", footer: "colophon" },- violet: { hero: "split", footer: "colophon" },aurora: { hero: "marquee", footer: "colophon" },- halo: { hero: "orbit", footer: "colophon" },- plume: { hero: "bloom", footer: "colophon" },editorial: { hero: "split", footer: "colophon" },+ carnival: { hero: "marquee", footer: "colophon" },+ lumen: { hero: "marquee", footer: "colophon" },+ hum: { hero: "hum", footer: "colophon" },+ cobalt: { hero: "cobalt", footer: "colophon" },};/* — Theme → genre map ——————————————————————————————————@@ -99,39 +95,37 @@ const ARCHETYPES = {scopes which slop-test gates apply and which voice fixtures theskill picks from. See references/genres/. */const THEME_GENRES = {- // editorial — the canonical Hallmark voice (12 themes)+ // editorial — the canonical Hallmark voicespecimen: "editorial",newsprint: "editorial",atelier: "editorial",garden: "editorial",- salon: "editorial",- linen: "editorial",almanac: "editorial",studio: "editorial",riso: "editorial",sport: "editorial",brutal: "editorial",manifesto: "editorial",- // modern-minimal — Stripe / Linear / ElevenLabs school (3 themes)- quiet: "modern-minimal",+ // modern-minimal — Stripe / Linear / ElevenLabs schoolcoral: "modern-minimal",- violet: "modern-minimal",- // atmospheric — Suno / Runway / dark-AI-tool school (5 themes)+ cobalt: "modern-minimal",+ // atmospheric — Suno / Runway / dark-AI-tool schoolbloom: "atmospheric",midnight: "atmospheric",terminal: "atmospheric",aurora: "atmospheric",- halo: "atmospheric",- // playful — post-Linear soft school (1 theme)- plume: "playful",- // editorial — open-design-inspired premium (added v1.0.0)+ // editorial — premium magazine registereditorial: "editorial",+ // new themes+ carnival: "editorial",+ lumen: "atmospheric",+ hum: "playful",};/* — Locked hero title —————————————————————————————————The H1 string is the same across every theme. Only the visualtreatment swaps — italic vs roman, serif vs sans, all-caps vs not.- The page is the demo: one sentence, twenty-two distinct designs. */+ The page is the demo: one sentence, twenty distinct designs. */const HERO_TITLE = "A design skill that refuses to look AI-generated.";/* — Per-theme copy fixtures —————————————————————————————@@ -145,9 +139,9 @@ const COPY = {lede: "Hallmark is a skill for Claude Code, Cursor, and Codex. It encodes the anti-slop consensus — typography, colour, layout, motion, interaction — into one holistic ruleset your AI assistant will actually follow.",ctaLabel: "01 ⁄ Install",proofLabel: "Proof",- proofA: "21 macrostructures · 40 archetypes",- proofB: "9 navs · 8 footers · 4 hero polish",- proofC: "55-gate slop test",+ proofA: "21 macrostructures · 50 archetypes",+ proofB: "14 navs · 8 footers · 4 hero polish",+ proofC: "70-gate slop test",cta: "Read the rules",stat: "21",qualifier: "macrostructures",@@ -162,14 +156,14 @@ const COPY = {newsprint: {eyebrow: "Volume I · Issue 02 · 28 April 2026",title: HERO_TITLE,- lede: "Twenty-three themes. Twenty-one named page shapes. Forty component archetypes — nine navs, eight footers, four hero polish patterns. A 55-gate slop test that gates every output before it ships. Hallmark is the rulebook the LLM never read.",+ lede: "Twenty themes. Twenty-one named page shapes. Fifty component archetypes — fourteen navs, eight footers, four hero polish patterns. A 70-gate slop test that gates every output before it ships. Hallmark is the rulebook the LLM never read.",ctaLabel: "Distribution",proofLabel: "From the rule sheet",proofA: "Multi-column body, justified",proofB: "Hairline rules, not boxes",proofC: "Outlined CTAs, never pills",cta: "Read in full",- stat: "29",+ stat: "70",qualifier: "gates",quote: "We compose the page like a broadsheet. Hairlines, columns, restraint.",attrib: "From the Hallmark rule sheet",@@ -189,7 +183,7 @@ const COPY = {proofB: "Italic display, weighted rest",proofC: "Negative space as divider",cta: "Request the manual",- stat: "12",+ stat: "20",qualifier: "themes",quote: "A workshop, not a template.",attrib: "Studio note",@@ -202,79 +196,39 @@ const COPY = {garden: {eyebrow: "A small dispatch",title: HERO_TITLE,- lede: "Twelve themes that disagree with each other on purpose. Pick one and the whole page changes — not the colours, the bones.",+ lede: "Twenty themes that disagree with each other on purpose. Pick one and the whole page changes — not the colours, the bones.",ctaLabel: "Plant it",proofLabel: "What grows here",proofA: "Hairline rules · negative space",proofB: "Italic body · serif emphasis",proofC: "One accent, used sparingly",cta: "Begin",- stat: "12",+ stat: "20",qualifier: "themes in the garden",quote: "A garden is not the absence of weeds. It is the presence of a plan.",attrib: "Hallmark, on design",- salutation: "Hello,",+ salutation: "Grown, not generated.",letterBody: "This skill is small. It is opinionated about a few things and quiet about the rest. We have tended it like a garden: pulling out the loud, leaving the considered. We hope it produces, for you, pages that feel grown rather than generated.",signoff: "Yours,",captionA: "Plot 04",captionB: "Late spring",},- salon: {- eyebrow: "A salon",- title: HERO_TITLE,- lede: "Hallmark is composed, not generated. Twelve themes, twenty-one page shapes, thirty-two archetypes, all chosen with intent.",- ctaLabel: "By invitation",- proofLabel: "Of note",- proofA: "Centred display · ornamental",- proofB: "Fleuron dividers, tightly cropped",- proofC: "One typographic CTA per fold",- cta: "Be received",- stat: "21",- qualifier: "page shapes",- quote: "A page should arrive like a person — composed, deliberate, in good clothes.",- attrib: "From the salon",- salutation: "With pleasure,",- letterBody: "You are most welcome. We have arranged the room with care. Each theme is a different room, and you are invited to walk through all twelve. Take your time — they are all furnished with the same intention.",- signoff: "À bientôt,",- captionA: "Salon No. 7",- captionB: "April",- },- linen: {- eyebrow: "A note",- title: HERO_TITLE,- lede: "A skill that prefers the obvious thing done right. Hairline rules. Margin notes. Generous space. The page reads first, designs second.",- ctaLabel: "Begin reading",- proofLabel: "Plain rules",- proofA: "Two-column asymmetric body",- proofB: "Margin-aligned imagery",- proofC: "Unstyled-link CTAs",- cta: "Read on",- stat: "32",- qualifier: "archetypes",- quote: "If you can leave it out and the page still works, leave it out.",- attrib: "Linen rule",- salutation: "Dear reader,",- letterBody: "This is a longer letter than the other themes. It is a deliberate choice. Hallmark believes that prose-led pages still have a place — that not every product needs a hero, a stat, and a CTA stack. Sometimes, a paragraph is the page.",- signoff: "With patience,",- captionA: "Folio II",- captionB: "Quiet hours",- },almanac: {eyebrow: "Almanac · 2026 edition",title: HERO_TITLE,lede: "A reference book of structural choices, indexed and cross-referenced. Hallmark looks up the right page-shape for the brief and refuses to use the same one twice.",ctaLabel: "Open the index",proofLabel: "Catalogued",- proofA: "21 macrostructures · 40 archetypes",- proofB: "9 navs · 8 footers · 4 polish patterns",- proofC: "55 slop-test gates",+ proofA: "21 macrostructures · 50 archetypes",+ proofB: "14 navs · 8 footers · 4 polish patterns",+ proofC: "70 slop-test gates",cta: "Open the index",- stat: "462",+ stat: "420",qualifier: "theme × shape combinations",quote: "An almanac is a book that knows where to look.",attrib: "Almanac, frontispiece",salutation: "Reference note,",- letterBody: "This page is a reference, not an argument. The numbers are the point: 21 macrostructures, 40 archetypes, 22 themes, 65 slop-test gates. Cross-referenced so the next page Hallmark builds is genuinely different from the last.",+ letterBody: "This page is a reference, not an argument. The numbers are the point: 21 macrostructures, 50 archetypes, 20 themes, 70 slop-test gates. Cross-referenced so the next page Hallmark builds is genuinely different from the last.",signoff: "— editor",captionA: "Vol. III",captionB: "Plate 12",@@ -289,11 +243,11 @@ const COPY = {proofB: "Lightness elevation, no shadow",proofC: "Numbered display headers",cta: "$ open",- stat: "23",+ stat: "20",qualifier: "themes, dark-set first",quote: "On dark surfaces, elevation is lightness — never glow.",attrib: "Midnight rule",- salutation: "01 — HELLO.",+ salutation: "01 — AFTER DARK.",letterBody: "This is a dark page that tries not to be a tinted-light page. The neutrals are mixed at low chroma in OKLCH so the steps feel even at the eye, not just at the value. Elevation is brighter surface, not heavier shadow.",signoff: "— Midnight",captionA: "Frame 03",@@ -313,7 +267,7 @@ const COPY = {qualifier: "animations",quote: "$ tput sgr0",attrib: "End of file",- salutation: "> hello",+ salutation: "> no pretense",letterBody: "> a terminal page is not a page that pretends. it does not transition. it does not hover-scale. it is monospace because the work that made it was monospace. the rest of the page can read what it likes.",signoff: "> bye",captionA: "frame_07",@@ -349,8 +303,8 @@ const COPY = {proofB: "Oversized solid buttons",proofC: "Declarative large type",cta: "SIGN ON",- stat: "23",- qualifier: "tells, named.",+ stat: "20",+ qualifier: "themes, none default.",quote: "WE BELIEVE A LANDING PAGE IS NOT A TEMPLATE.",attrib: "MANIFESTO",salutation: "TO WHOM IT CONCERNS.",@@ -369,8 +323,8 @@ const COPY = {proofB: "Tabular numbers everywhere",proofC: "Horizontal-sweep reveals",cta: "GO",- stat: "23",- qualifier: "THEMES · TWO GENRES DEEP.",+ stat: "20",+ qualifier: "THEMES · FOUR GENRES DEEP.",quote: "A FAST PAGE IS A FAST DECISION.",attrib: "SPORT",salutation: "READY?",@@ -382,7 +336,7 @@ const COPY = {studio: {eyebrow: "Studio · 2026",title: HERO_TITLE,- lede: "We design and build distinctive products for ambitious teams. Hallmark is our typography opinion, codified — fifteen themes, twenty-one shapes, no defaults.",+ lede: "We design and build distinctive products for ambitious teams. Hallmark is our typography opinion, codified — twenty themes, twenty-one shapes, no defaults.",ctaLabel: "Engage",proofLabel: "Selected work",proofA: "01 — A foundry rebrand",@@ -393,7 +347,7 @@ const COPY = {qualifier: "named page shapes.",quote: "We don't believe in defaults. The default is the average; we are looking for the specific.",attrib: "Studio note · 2026",- salutation: "Hello, friend.",+ salutation: "We refuse the default.",letterBody: "We started this studio because we kept being asked to build the same page, twelve different ways. Hallmark is our argument: one brief, one shape — chosen, not defaulted to. Take a look.",signoff: "Yours,",captionA: "Studio · 2026",@@ -419,36 +373,15 @@ const COPY = {captionA: "ed. 12",captionB: "press · 04",},- quiet: {- eyebrow: "Polished minimal",- title: HERO_TITLE,- lede: "Geist sans. Pure white. One bold display. Generous space. The design decides what to leave out — and stands behind those choices.",- ctaLabel: "Get started",- proofLabel: "Decisions",- proofA: "Pure-white paper, dark ink",- proofB: "Geist sans, single weight",- proofC: "Pill CTAs · monochrome accent",- cta: "Get started",- stat: "1",- qualifier: "decision, made everywhere.",- mockStat: "1",- quote: "The work that looks effortless is the work where the choices were made.",- attrib: "Quiet",- salutation: "Hello.",- letterBody: "A theme for the modern enterprise page — the Stripe / Linear / ElevenLabs school of restraint. Clean white, confident typography, pill CTAs. Minimalism with conviction, not absence.",- signoff: "Yours,",- captionA: "Quiet",- captionB: "v1.0",- },bloom: {- eyebrow: "Atmospheric · 2026",+ eyebrow: "Warm minimal · 2026",title: HERO_TITLE,- lede: "For the AI-creative product page. Dark canvas, warm bloom, declarative type. The aesthetic of a tool you'd actually want to use after dark.",+ lede: "For the calm, considered product page. A warm-light canvas, one soft bloom, and a single restrained accent — clean type with room to breathe.",ctaLabel: "Try it now",proofLabel: "Atmosphere",- proofA: "Dark canvas with two warm blooms",+ proofA: "Warm-light canvas, one soft bloom",proofB: "Geist sans, one weight, plain English",- proofC: "Single warm accent — never gradient text",+ proofC: "Single restrained accent — never gradient text",cta: "Try it now",stat: "1",qualifier: "warm canvas — many uses.",@@ -456,10 +389,10 @@ const COPY = {quote: "The page should feel like a place you could sit in.",attrib: "Bloom note",salutation: "Welcome,",- letterBody: "A dark theme for the AI-creative tool page — Suno, Runway, the late-night software where atmosphere matters. Two soft colour blooms, plain confident type, a single warm accent. Restraint of a different kind.",+ letterBody: "A calm, warm-light theme for the considered product page — generous space, one soft bloom, plain confident type, a single restrained accent. Restraint of a different kind.",signoff: "— Bloom",captionA: "Bloom",- captionB: "Late-night",+ captionB: "Warm light",},coral: {eyebrow: "Modern minimal · warm-grey",@@ -476,33 +409,12 @@ const COPY = {mockStat: "1",quote: "Restraint with warmth is harder than restraint without it.",attrib: "Coral note",- salutation: "Hello.",+ salutation: "Restraint, with warmth.",letterBody: "The polished-SaaS school of restraint, but warmer. Warm-grey paper instead of pure white; coral accent on focus rings and small marks. Pill CTAs, two-column heroes, generous space.",signoff: "Yours,",captionA: "Coral",captionB: "v1.0",},- violet: {- eyebrow: "Modern minimal · quiet violet",- title: HERO_TITLE,- lede: "Restrained near-black on near-white. Tight Geist throughout. A single quiet violet accent on focus rings — the rest is type, space, and rhythm.",- ctaLabel: "Get started",- proofLabel: "Decisions",- proofA: "Near-white paper · near-black ink",- proofB: "Geist tight tracking, single weight",- proofC: "Quiet violet · focus rings + small marks",- cta: "Get started",- stat: "1",- qualifier: "the Linear voice, not the brand.",- mockStat: "1",- quote: "The work that looks effortless is the work where the choices were made.",- attrib: "Violet note",- salutation: "Hello.",- letterBody: "A modern minimal theme tuned for dev tools and platforms. Near-white paper, near-black ink, single quiet violet accent on focus rings. Tight Geist throughout — letterspacing pulled in, type-led hierarchy, no ornament.",- signoff: "Yours,",- captionA: "Violet",- captionB: "v1.0",- },aurora: {eyebrow: "Atmospheric · cool",title: HERO_TITLE,@@ -524,52 +436,10 @@ const COPY = {captionA: "Aurora",captionB: "Late-shift",},- halo: {- eyebrow: "Atmospheric · charcoal",- title: HERO_TITLE,- lede: "Less canvas, more content. Neutral charcoal page with a single warm-amber bloom around the hero — below that, the rest of the page is content-led on dark paper. The tool you actually work in.",- ctaLabel: "Get to work",- proofLabel: "Discipline",- proofA: "Charcoal canvas · one warm bloom up top",- proofB: "Geist throughout · single weight",- proofC: "Hero is the only atmospheric moment",- cta: "Get to work",- stat: "1",- qualifier: "moment of atmosphere · then content.",- mockStat: "1",- quote: "The atmosphere does its job at the top, then steps aside.",- attrib: "Halo note",- salutation: "Online,",- letterBody: "A dark theme for the working tool — the bloom lives only at the top of the page, around the hero. Below it the canvas is plain charcoal, content-led, no atmospheric distractions. Less Suno, more the IDE you actually open every day.",- signoff: "— Halo",- captionA: "Halo",- captionB: "Workshop",- },- plume: {- eyebrow: "Playful · warm cream",- title: HERO_TITLE,- lede: "Warm cream throughout. Alternating tinted bands on sections. Hover-lift on cards. A soft rose accent. Friendly without being twee — the page wants to feel approachable.",- ctaLabel: "Try it",- proofLabel: "Marks of the house",- proofA: "Warm cream paper · tinted bands on sections",- proofB: "Bricolage display + Geist body",- proofC: "Soft rose accent · hover-lift cards",- cta: "Try it",- stat: "1",- qualifier: "soft accent · friendly motion.",- mockStat: "1",- quote: "Soft is harder than serious; it has nowhere to hide.",- attrib: "Plume note",- salutation: "Hello,",- letterBody: "A playful theme that earns the word. Warm cream paper, alternating tinted bands so each section has its own register, soft drop shadows, hover-lift on cards. Friendly motion that responds to the user instead of performing for them.",- signoff: "Yours,",- captionA: "Plume",- captionB: "Late spring",- },editorial: {eyebrow: "No XXIII · Editorial",title: HERO_TITLE,- lede: "An editorial-premium voice — warm cream paper, coral accent, mixed sans + serif italic. Magazine-shaped, hairline rules, asymmetric grids. Inspired by open-design.",+ lede: "An editorial-premium voice — warm cream paper, coral accent, mixed sans + serif italic. Magazine-shaped, hairline rules, asymmetric grids.",ctaLabel: "I · Install",proofLabel: "From the rule sheet",proofA: "Inter Tight 800 + Playfair italic, mixed in display",@@ -577,7 +447,7 @@ const COPY = {proofC: "Coral accent · ≤ 5% of viewport",cta: "Read the issue",stat: "23",- qualifier: "the twenty-third theme. open-design-inspired.",+ qualifier: "magazine-grade. hairline-set.",mockStat: "23",quote: "A magazine page knows how much to leave out.",attrib: "Editorial, frontispiece",@@ -587,6 +457,87 @@ const COPY = {captionA: "Issue 23",captionB: "Spring 2026",},+ carnival: {+ eyebrow: "NO TEMPLATES · NO DEFAULTS",+ title: HERO_TITLE,+ lede: "20 themes that refuse to blend in. Pick one and the whole page changes — the bones, not the paint.",+ ctaLabel: "Install",+ proofLabel: "ON THE BILL",+ proofA: "21 page-shapes, 50 archetypes",+ proofB: "Duo-tone drops, hard-offset shadows",+ proofC: "70-gate slop test, every build",+ cta: "See the lineup",+ stat: "20",+ qualifier: "THEMES. ZERO TEMPLATES.",+ quote: "A PAGE THAT HEDGES IS A PAGE THAT FAILS.",+ attrib: "CARNIVAL",+ salutation: "WE PRINT POSTERS, NOT TEMPLATES.",+ letterBody: "Every model was trained on the same page. Carnival refuses it — loud type, duo-tone ink, ornaments that mean it. 20 themes in the catalog, and not one of them whispers.",+ signoff: "— CARNIVAL",+ captionA: "BILL 01",+ captionB: "OUT NOW",+ },+ lumen: {+ eyebrow: "00 · DESIGN SKILL",+ title: HERO_TITLE,+ lede: "a design skill that refuses the defaults every model was trained on. twenty themes, twenty-one page-shapes, and one slop test that gates every build before it ships.",+ ctaLabel: "install",+ proofLabel: "00 · SPEC",+ proofA: "21 page-shapes · 50 archetypes",+ proofB: "lowercase serif · mono labels · no orb",+ proofC: "70-gate slop test, every emit",+ cta: "read the docs",+ stat: "20",+ qualifier: "themes, instrument-grade.",+ quote: "two briefs, two pages — not one template, recoloured.",+ attrib: "lumen",+ salutation: "built to refuse the default.",+ letterBody: "every model emits the same page. lumen is the part that refuses — lowercase classical serif, one accent verb, a hand-built apparatus where the orb used to be. twenty themes in the catalog, and the numbers hold under load.",+ signoff: "— lumen",+ captionA: "00 · spec",+ captionB: "night foundry",+ },+ hum: {+ eyebrow: "A design skill",+ title: HERO_TITLE,+ lede: "The anti-slop design skill for Claude Code, Cursor, and Codex. Twenty themes with real structural variety, and a 70-gate check before anything ships.",+ ctaLabel: "Install",+ proofLabel: "What's inside",+ proofA: "21 page-shapes · 50 archetypes",+ proofB: "9 heroes · 14 navs · 8 footers",+ proofC: "70-gate slop test, every build",+ cta: "See examples",+ stat: "20",+ qualifier: "themes, all alive.",+ quote: "Two briefs should feel like two studios, not one template.",+ attrib: "Hum",+ salutation: "Made, not generated.",+ letterBody: "Every model defaults to the same page. Hum is the warm end of the refusal — cream paper, three accents that take turns, one small mark that reacts when you click. Twenty themes in the catalog, each with its own bones.",+ signoff: "— Hum",+ captionA: "Today",+ captionB: "Kept warm",+ },+ cobalt: {+ eyebrow: "Modern minimal · dev-tool",+ title: HERO_TITLE,+ lede: "For the API, the docs, the dev tool. A cool engineered canvas, ruler-drawn hairlines, and one electric cobalt signal — the page reads like good infrastructure, not a template.",+ ctaLabel: "Start building",+ proofLabel: "Spec",+ proofA: "Cool engineered paper — never pure white",+ proofB: "Space Grotesk · Inter · JetBrains Mono",+ proofC: "One cobalt signal · hairline borders · ⌘K",+ cta: "Read the docs",+ stat: "1",+ qualifier: "signal accent, used sparingly.",+ mockStat: "1",+ quote: "A dev tool should read like good infrastructure: calm, precise, fast.",+ attrib: "Cobalt note",+ salutation: "Built to ship.",+ letterBody: "The dev-tool register, executed with restraint: a cool near-white canvas, hairlines doing the structural work, one electric cobalt accent reserved for the signal — a live request, a 200, a focused field. Space Grotesk for headings, Inter for prose, JetBrains Mono for the code.",+ signoff: "Ship it,",+ captionA: "Cobalt",+ captionB: "v1.0",+ },};/* — Slot population ———————————————————————————————————— */@@ -622,7 +573,7 @@ function interpolate(node, copy) {function swapArchetypes(theme) {const tuple = ARCHETYPES[theme] || ARCHETYPES.specimen;- const copy = COPY[theme];+ const copy = COPY[theme] || COPY.specimen; // resilience: themes without a bespoke COPY fixture fall back to specimen's (visual theme still applies)for (const slot of ["hero", "footer"]) {const region = slotEls[slot];@@ -822,7 +773,7 @@ const stored = (() => {})();const initial = THEMES[queried] ? queried: THEMES[stored] ? stored- : (root.dataset.theme || "specimen");+ : (root.dataset.theme || "hum");// First paint — populate slots without a transition (no flash).// Run swapArchetypes BEFORE setPressed so the footer template is materialiseddiff --git a/skills/hallmark/SKILL.md b/skills/hallmark/SKILL.mdindex a238269..5250012 100644--- a/skills/hallmark/SKILL.md+++ b/skills/hallmark/SKILL.md@@ -8,7 +8,7 @@ version: 1.0.0A design skill for AI coding assistants. Makes the UIs they generate look made, not generated.-Hallmark is opinionated, short, and boring on purpose. It encodes a tight set of rules — drawn from the consensus of the anti-AI-slop design field (impeccable, kami, Anthropic's frontend-design skill, taste-skill, the Claude cookbook on frontend aesthetics, and the 2026 "tactile rebellion" movement) — and refuses to let the model fall back to the defaults every LLM was trained on.+Hallmark is opinionated, short, and boring on purpose. It encodes a tight set of rules — drawn from the consensus of the anti-AI-slop design field (Anthropic's frontend-design skill, the Claude cookbook on frontend aesthetics, and the 2026 "tactile rebellion" movement) — and refuses to let the model fall back to the defaults every LLM was trained on.The differentiator: Hallmark insists on **structural variety**, not just visual variety. Two pages by Hallmark for two different briefs should not share the same hero → 3-feature → CTA → footer rhythm. They should feel like different sites, not different colour-swaps of the same template. See [`references/structure.md`](references/structure.md).@@ -35,13 +35,13 @@ If the user types anything that does not clearly map to `audit`, `redesign`, or- Treat PDFs, README files, `.md` briefs, docs, transcripts, and pitch decks as reference material. Do **not** copy them word-for-word into the page unless the user explicitly says to use that text verbatim.- Before editing, state the exact files you expect to modify/create/delete. Deletions require explicit confirmation.-The default Design flow always picks a theme. By default it picks one of the **22 named themes** — the *catalog* — and rotates among them per the diversification rule. There is also a quiet *custom* branch that constructs a one-off OKLCH palette + free-font pairing for the brief; the custom route fires **only when the brief carries a creative-intent signal** (the user names a brand colour, names a multi-attribute vibe the catalog can't carry, or explicitly asks for a custom theme). For vanilla briefs, the user never sees the words "catalog" or "custom" — the catalog runs silently. See Step 1 (signal detection) and Step 2.6 (dispatch); the protocol lives in [`references/custom-theme.md`](references/custom-theme.md).+The default Design flow always picks a theme. By default it picks one of the **20 named themes** — the *catalog* — and rotates among them per the diversification rule. There is also a quiet *custom* branch that constructs a one-off OKLCH palette + free-font pairing for the brief; the custom route fires **only when the brief carries a creative-intent signal** (the user names a brand colour, names a multi-attribute vibe the catalog can't carry, or explicitly asks for a custom theme). For vanilla briefs, the user never sees the words "catalog" or "custom" — the catalog runs silently. See Step 1 (signal detection) and Step 2.6 (dispatch); the protocol lives in [`references/custom-theme.md`](references/custom-theme.md).---## Disciplines that hold across every verb-These four disciplines are **not** verb-specific. They apply to default Design, `audit`, `redesign`, `study`, and component-scope alike. They sit alongside the slop test, not inside one branch of it.+These six disciplines are **not** verb-specific. They apply to default Design, `audit`, `redesign`, `study`, and component-scope alike. They sit alongside the slop test, not inside one branch of it.1. **Pre-emit self-critique.** Before handing back any output, score it 1–5 on six axes — Philosophy, Hierarchy, Execution, Specificity, Restraint, Variety. Anything **< 3** triggers a revision pass. Stamp the six scores at the top of the artifact (`/* Hallmark · pre-emit critique: P5 H4 E5 S4 R5 V5 */`). See [`references/slop-test.md`](references/slop-test.md) § Pre-emit self-critique.@@ -53,6 +53,8 @@ These four disciplines are **not** verb-specific. They apply to default Design,5. **Mobile responsiveness — every emit verified at 320 / 375 / 414 / 768 px.** Hallmark's output must render flawlessly at all four widths. The non-negotiables: no horizontal scroll (gate 36), no two-line clickable text — buttons, primary nav links, footer links, breadcrumbs, CTAs (gate 59); image-bearing grid tracks use `minmax(0, 1fr)`, never bare `1fr` (gate 61); root has `overflow-x: clip` on both `html` and `body` — never `hidden` (gate 62); display headers wrap inside long words via `overflow-wrap: anywhere; min-width: 0` (gate 63); section heads collapse to one column on mobile across every theme variant (gate 64); radio-tab patterns don't scroll-jump (gate 65). See [`references/responsive.md` § Mobile — non-negotiable](references/responsive.md). This is a hard floor, not a wish list.+6. **Typography purity — no italic headers.** Headings and display type are always roman (`font-style: normal`). An italicised emphasis word inside an otherwise-upright heading (`Built to <em>think</em>`) is one of the most reliable AI tells; so is an all-italic display face on headings. Carry emphasis with weight, accent colour, or a drawn underline. Italic survives only as *body-copy* emphasis inside running paragraphs. See [`references/anti-patterns.md` § Italic headers](references/anti-patterns.md) and slop-test gate **40a**.+---## When the brief is a component, not a page@@ -235,7 +237,7 @@ If two non-default signals fire (rare), ask one short follow-up: *"This brief fiState the genre out loud at Step 2.5 alongside the macrostructure and theme picks: *"Genre: atmospheric. Macrostructure: Marquee Hero. Theme: Bloom (atmospheric cluster)."*-**Theme route — only surface when the brief signals it.** Hallmark has two theme routes: **catalog** (the 22 named themes — Specimen, Atelier, Brutal, Salon, Newsprint, Linen, Studio, Manifesto, Terminal, Midnight, Almanac, Garden, Quiet, Riso, Sport, Bloom, Coral, Violet, Aurora, Halo, Plume, Editorial) and **custom** (an OKLCH palette + free-font pairing tuned to this one brief). **Catalog is the default.** The catalog rotation is *scoped to the genre's theme cluster* — atmospheric rotates Bloom/Midnight/Terminal, modern-minimal stays on Quiet, playful stays on Plume, editorial walks the remaining twelve. Do **not** offer the user a choice on every prompt — that's friction, not discipline. Surface the catalog/custom fork only when the brief carries one of these signals:+**Theme route — only surface when the brief signals it.** Hallmark has two theme routes: **catalog** (the 20 named themes — Specimen, Atelier, Brutal, Newsprint, Studio, Manifesto, Terminal, Midnight, Almanac, Garden, Riso, Sport, Bloom, Coral, Cobalt, Aurora, Editorial, Carnival, Lumen, Hum) and **custom** (made-to-measure for one brief — a *tuned* OKLCH palette + free-font pairing on Hallmark's structures, or, when the brief's structure itself is the ask, a fully *bespoke* page designed from first principles; bound by every slop-test gate either way; see [`references/custom-theme.md`](references/custom-theme.md)). **Catalog is the default.** The catalog rotation is *scoped to the genre's theme cluster* — atmospheric rotates Bloom/Midnight/Terminal/Aurora/Lumen, modern-minimal rotates Coral/Cobalt, playful stays on Hum, editorial walks the remaining twelve (Specimen, Atelier, Brutal, Newsprint, Studio, Manifesto, Almanac, Garden, Riso, Sport, Editorial, Carnival). Do **not** offer the user a choice on every prompt — that's friction, not discipline. Surface the catalog/custom fork only when the brief carries one of these signals:- The user explicitly says **custom theme** / **tailored to our brand** / **make it ours** / **something unique** / **play with the colors and fonts**.- The user names a **specific brand colour** as the anchor (e.g., "use our terracotta", "the brand red is hex #c0392b", "anchor on sea-blue").@@ -244,7 +246,9 @@ State the genre out loud at Step 2.5 alongside the macrostructure and theme pickIf any of those fires, ask one short follow-up before picking: *"This brief reads like a custom palette would fit better than the catalog. Want me to construct a custom OKLCH palette + free-font pairing tuned to <one-line summary of the vibe>, or stay on the catalog for variety + speed?"* Wait for the user to say custom (or catalog). Default is still catalog — silence routes to catalog, not custom.-If none of the signals fires, **proceed with catalog silently. Do not mention the fork.** Most briefs don't need a custom theme — the catalog's 22 themes plus the rotation rule already deliver structural variety. See Step 2.6 for the dispatch.+**Custom has two depths** — *tuned* (a palette + fonts on Hallmark's structures) and *bespoke* (a page designed from first principles, own structure too) for when the brief's **structure itself** is the ask: "no theme / from scratch / fully bespoke", or a page-shape no catalog macrostructure fits. Both fire the one fork above, default to catalog on silence, and **pass every slop-test gate** — the depth simply follows the brief. See [`references/custom-theme.md`](references/custom-theme.md) § Bespoke depth.++If none of the signals fires, **proceed with catalog silently. Do not mention the fork.** Most briefs don't need a custom theme — the catalog's 20 themes plus the rotation rule already deliver structural variety. See Step 2.6 for the dispatch.**If the user opts out or skips fields** (says "go ahead", "you pick", "skip", "just build it", "don't ask", answers some fields and leaves others blank, or simply doesn't engage with the question after one prompt):@@ -270,10 +274,10 @@ Before loading any visual ruleset, **read the slim index at [`references/macrost**Theme-diversification rule (mandatory).** Picking a different macrostructure isn't enough on its own — two consecutive Hallmark outputs can share a theme even if their structures differ, and the result reads as repetition. Two consecutive themes must differ on **at least one** of three axes:- **Paper band** — dark (L < 30 %) / mid (30–85 %) / light (> 85 %), per the theme's `--color-paper` lightness-- **Display style** — italic-serif (Specimen, Studio, Atelier) / roman-serif (Newsprint, Salon, Linen) / geometric-sans (Plume, Manifesto) / mono (Terminal) / display-condensed-italic (Sport) / display-heavy (Brutal) / system-native (Quiet) / risograph-bold (Riso)-- **Accent hue** — warm (red / orange / amber: 10–60°) / cool (blue / indigo / cyan: 200–300°) / neutral (no chromatic accent: Quiet) / chromatic-other (green: Studio · sage: Garden · phosphor: Terminal)+- **Display style** — high-contrast-serif (Specimen, Studio, Atelier) / roman-serif (Newsprint) / classical-serif (Lumen — Instrument Serif, upright; verb landmark via accent + underline) / geometric-sans (Manifesto) / grotesk-sans (Cobalt — Space Grotesk, mono-paired) / rounded-sans (Hum — Plus Jakarta Sans, warm humanist) / mono (Terminal) / display-condensed (Sport — roman) / display-heavy (Brutal, Carnival) / risograph-bold (Riso). All display is roman — italic headers are banned globally.+- **Accent hue** — warm (red / orange / amber: 10–60°) / cool (blue / indigo / cyan: 200–300°) / neutral (no chromatic accent) / chromatic-other (green: Studio · leaf-green: Garden · phosphor: Terminal)-If the previous output was Specimen (light · italic-serif · warm), the next can be Studio (light · italic-serif · chromatic-green) — the *accent hue* differs. But the next can't be Salon (light · roman-serif · warm) which only differs on display style and shares both paper band and accent — pick a more distant theme.+If the previous output was Specimen (light · high-contrast-serif · warm), the next can be Studio (light · high-contrast-serif · chromatic-green) — the *accent hue* differs. But the next can't be Newsprint (light · roman-serif · warm) which only differs on display style and shares both paper band and accent — pick a more distant theme.The per-theme axis values live as comments at the top of each theme's tokens block in [`site/css/tokens.css`](../../site/css/tokens.css). When in doubt, name your candidate theme out loud and identify its three axis values; if two of three match the previous output, redirect.@@ -283,11 +287,11 @@ If the brief is genuinely vague (no theme, no tone), do **not** default. Offer tThe macrostructure picks five of the six structural axes for you; you only need to pick the reveal yourself. The deeper axis catalogue is still in [`references/structure.md`](references/structure.md) when you need to deviate from the macrostructure's defaults.-**Pick a nav archetype (N1–N10) and a footer archetype (Ft1–Ft8) at this step.** They are not optional chrome; they are part of the page's structural fingerprint. Read the slim index at [`references/component-cookbook.md`](references/component-cookbook.md) and the routing tables at its bottom — the genre's default plus the acceptable alternates. Then **load ONLY the picked archetype files** from `references/components/` (e.g. `components/n5-floating-pill.md` + `components/ft5-statement.md`). A typical build loads 5–7 archetype files total (1 hero + 1 section head + 1–2 features + 1 CTA + 1 footer + 1 nav). Do not load the cookbook end-to-end — that's ~55 KB of archetypes you won't use. State both picks alongside the macrostructure: *"Macrostructure: Marquee Hero. Nav: N5 Floating pill. Footer: Ft5 Statement. Theme: Bloom."*+**Pick a nav archetype (N1a–N13) and a footer archetype (Ft1–Ft8) at this step.** They are not optional chrome; they are part of the page's structural fingerprint. Read the slim index at [`references/component-cookbook.md`](references/component-cookbook.md) and the routing tables at its bottom — the genre's default plus the acceptable alternates. The nav catalogue is **fourteen archetypes**: N1a (minimal 2-link), N1b (canonical SaaS three-section), N2 (floating chip), N3 (side-rail), N4 (hidden ⌘K), N5 (floating pill), N6 (masthead), N7 (brutal slab), N8 (terminal), N9 (edge-aligned), N10 (scroll-morph), N11 (mega-menu), N12 (banner + retract), N13 (inline ⌘K-pill). Then **load ONLY the picked archetype files** from `references/components/`. A typical build loads 5–7 archetype files total. State both picks alongside the macrostructure: *"Macrostructure: Marquee Hero. Nav: N5 Floating pill. Footer: Ft5 Statement. Theme: Bloom."*-**Default away from N1 and Ft3.** N1 (wordmark + 4–5 inline links + button-right at full width) and Ft3 (4 columns of links + social row + tiny copyright) are the most-recognised AI fingerprints. Reach for N5–N9 and Ft1/Ft2/Ft4/Ft5/Ft6/Ft7/Ft8 by default; reach for N1 only when the page genuinely has 2 destinations and the genre allows it; reach for Ft3 only on a genuine docs root or hub.+**Default away from N1a and Ft3.** N1a (wordmark + a couple inline links + button-right) and Ft3 (4 columns of links + social row + tiny copyright) are the most-recognised AI fingerprints. For a real product nav reach for N1b / N5 / N11 / N13 by default; reach for N1a only when the page genuinely has 2 destinations. Reach for Ft3 only on a genuine docs root or hub.-**Diversification extends to nav + footer.** Across consecutive Hallmark runs in the same project session (per `.hallmark/log.json`), no two outputs should share the same nav archetype OR the same footer archetype. If the previous run used N5 + Ft5, the next picks N6/N7/N8/N9 + Ft1/Ft2/Ft4/Ft6/Ft7/Ft8 from the routing tables. The nav and footer picks are recorded in the macrostructure stamp at Step 6.+**Diversification extends to nav + footer — and is the single most-violated rule in practice.** Across consecutive Hallmark runs in the same project session (per `.hallmark/log.json`) **and across multiple test builds of the same theme**, no two outputs may share the same nav archetype OR the same footer archetype. **Before writing any nav markup, state one line out loud:** *"Previous nav: <X>. This build: <Y>, because <reason>."* The failure mode this prevents: reaching for the genre *default* on every build, so eight builds ship two navs. A theme with four test builds must show four different navs (e.g. Hum across Curio/Sprout/Tally/Mixtape: N5 → N1b → N12 → N13). Rotate deliberately through the routing table's "Acceptable also" column. The nav and footer picks are recorded in the macrostructure stamp at Step 6.### 2.5. Check project memory@@ -295,8 +299,8 @@ If the project has a `.hallmark/log.json` file (created by previous Hallmark run```json[- { "date": "2026-04-30", "macrostructure": "Bento Grid", "theme": "Linen", "enrichment": "E1 clipped-edge", "brief": "Tracejam · SaaS observability" },- { "date": "2026-04-28", "macrostructure": "Long Document","theme": "Linen", "enrichment": "E5 hand-built SVG", "brief": "Maple Street Bread · bakery" },+ { "date": "2026-04-30", "macrostructure": "Bento Grid", "theme": "Coral", "enrichment": "E1 clipped-edge", "brief": "Tracejam · SaaS observability" },+ { "date": "2026-04-28", "macrostructure": "Long Document","theme": "Garden", "enrichment": "E5 hand-built SVG", "brief": "Maple Street Bread · bakery" },{ "date": "2026-04-25", "macrostructure": "Manifesto", "theme": "Manifesto","enrichment": "none", "brief": "Meridian · studio manifesto" }]```@@ -316,7 +320,7 @@ If the project has a CSS stamp but no `log.json`, infer one entry from the stampThen the theme rotation, on the next line:-> *"Last 3 themes: Linen · Plain · Salon. Picking from {Newsprint, Atelier, Studio, Garden} — Newsprint differs on display style and accent hue."*+> *"Last 3 themes: Coral · Bloom · Riso. Picking from {Newsprint, Atelier, Studio, Garden} — Newsprint differs on display style and accent hue."***Three sample shapes** to imitate:@@ -330,14 +334,14 @@ The rotation block keeps the user inside the discipline without making them readBy the time you reach this step, one of four things is true:-0. **A `study` diagnosis was emitted earlier in this conversation and the user is asking to build from it** (phrases: *"build it"*, *"make it"*, *"use this DNA"*, *"build with this"* — immediately following the diagnosis) → theme route is **studied-DNA**. **Skip catalog/custom dispatch entirely.** The studied paper OKLCH, accent OKLCH, type roles (with named candidates), macrostructure, and nav/footer archetypes from the diagnosis become the locked system for this build. Diversification is suspended — you're following an external DNA, not rotating the catalog. The Step 6 stamp records `theme: studied-DNA (source: <URL or image>)` plus the actual OKLCH/font values inline. **If the user later pivots with phrases like *"use Linen instead"* / *"ignore the DNA"* / *"rotate to a different theme"*,** route back to the normal dispatch below and resume diversification. Continue to Step 3.-1. **The user named custom** (because they said so, or because Step 1's signal detection fired and they confirmed) → load [`references/custom-theme.md`](references/custom-theme.md), ask the **one** follow-up (vibe in 4–8 words + optional anchor colour), construct the OKLCH palette + free-font pairing, compute the three axis values (paper-band / display-style / accent-hue), then continue to Step 3.-2. **The user named catalog** (or implicitly accepted it by not naming custom) → pick one of the 22 named themes per the diversification rule above. Existing flow — continue to Step 3.+0. **A `study` diagnosis was emitted earlier in this conversation and the user is asking to build from it** (phrases: *"build it"*, *"make it"*, *"use this DNA"*, *"build with this"* — immediately following the diagnosis) → theme route is **studied-DNA**. **Skip catalog/custom dispatch entirely.** The studied paper OKLCH, accent OKLCH, type roles (with named candidates), macrostructure, and nav/footer archetypes from the diagnosis become the locked system for this build. Diversification is suspended — you're following an external DNA, not rotating the catalog. The Step 6 stamp records `theme: studied-DNA (source: <URL or image>)` plus the actual OKLCH/font values inline. **If the user later pivots with phrases like *"use Newsprint instead"* / *"ignore the DNA"* / *"rotate to a different theme"*,** route back to the normal dispatch below and resume diversification. Continue to Step 3.+1. **The user named custom** (because they said so, or because Step 1's signal detection fired and they confirmed) → load [`references/custom-theme.md`](references/custom-theme.md). For a **tuned** custom: ask the **one** follow-up (vibe in 4–8 words + optional anchor colour), construct the OKLCH palette + free-font pairing, compute the three axis values (paper-band / display-style / accent-hue). If the brief's **structure itself** is the ask (signal 5 — "from scratch / no theme", or a page-shape no catalog macrostructure fits), take the **bespoke** depth instead: design the palette, type, **and** structure from first principles (custom-theme.md § Bespoke depth). **Every slop-test gate still fires either way.** Then continue to Step 3.+2. **The user named catalog** (or implicitly accepted it by not naming custom) → pick one of the 20 named themes per the diversification rule above. Existing flow — continue to Step 3.3. **Neither was discussed** (Step 1's signals didn't fire — vanilla brief) → default to **catalog**. Do not pause. Do not ask. Continue to Step 3.-**Custom is a quiet branch, not a default question.** Most briefs route to catalog and the user never sees the words "catalog" or "custom." The 22 named themes plus the rotation rule already deliver structural variety; the fork is reserved for when the brief specifically asks for a tuned look the catalog can't carry.+**Custom is a quiet branch, not a default question.** Most briefs route to catalog and the user never sees the words "catalog" or "custom." The 20 named themes plus the rotation rule already deliver structural variety; the fork is reserved for when the brief specifically asks for a tuned look the catalog can't carry.-A custom theme is a **complete** OKLCH palette + font pairing tuned to the brief — not a one-off colour swap, not an excuse to bypass the rules. Every constraint in [`color.md`](references/color.md), [`typography.md`](references/typography.md), and [`anti-patterns.md`](references/anti-patterns.md) still applies. The 65 slop-test gates fire unchanged. The Step 5 preview block surfaces the palette + pairing in plain text **before** any code is emitted, so the user can redirect.+A custom theme is a **complete** OKLCH palette + font pairing tuned to the brief — not a one-off colour swap, not an excuse to bypass the rules. Every constraint in [`color.md`](references/color.md), [`typography.md`](references/typography.md), and [`anti-patterns.md`](references/anti-patterns.md) still applies. The 70 slop-test gates fire unchanged. The Step 5 preview block surfaces the palette + pairing in plain text **before** any code is emitted, so the user can redirect.The diversification rule is theme-route-blind: a custom run that follows another custom (or a catalog) must differ on at least one of the three axes from the previous entry, same as catalog-vs-catalog. Custom entries record their three axes explicitly into `.hallmark/log.json` (see [`custom-theme.md`](references/custom-theme.md) § F).@@ -345,12 +349,13 @@ The diversification rule is theme-route-blind: a custom run that follows anotherThe non-negotiables live in [`references/`](references/). **Be precise about what to load when. Discipline matters — over-eager loading is the largest avoidable cost of running Hallmark.**-**Always-load (eager — 1 file):**+**Always-load (eager — 1–2 files):**- The genre file picked in Step 1 — [`genres/editorial.md`](references/genres/editorial.md), [`genres/modern-minimal.md`](references/genres/modern-minimal.md), [`genres/atmospheric.md`](references/genres/atmospheric.md), or [`genres/playful.md`](references/genres/playful.md). Scopes everything downstream.+- **If `references/themes/<theme>.md` exists for the catalog theme picked in Step 2.6, load it eagerly.** Opt-in per-theme spec — carries signature moves, macrostructure affinity / rejection, voice fixtures, and anti-patterns that the tokens block cannot encode. Most themes have no spec file; the load is a silent no-op when absent. Studied-DNA and custom routes skip this load.**Index-then-pick (read the slim index, then load only the picks):**- [`macrostructures.md`](references/macrostructures.md) — slim index of the 21 macros. Pick one name from the index, then load ONLY `references/macrostructures/<NN-slug>.md` for that pick. **Never load the whole index plus more than one per-macro file in a single build.** ~30 lines per per-macro file vs. 660 lines for the old monolith.-- [`component-cookbook.md`](references/component-cookbook.md) — slim index of 46 component archetypes (9 heroes, 5 section heads, 6 features, 4 CTAs, 4 testimonials, 8 footers, 10 navs) + the nav + footer routing tables at the bottom. Pick your archetype codes (H#, S#, F#, C#, T#, Ft#, N#) from the index, then load ONLY the matching `references/components/<code>-<slug>.md` files. A typical build loads 5–7 archetype files. **Loading the cookbook end-to-end or pre-loading more than one archetype per category is the single biggest token waste in the skill — don't.**+- [`component-cookbook.md`](references/component-cookbook.md) — slim index of 50 component archetypes (9 heroes, 5 section heads, 6 features, 4 CTAs, 4 testimonials, 8 footers, 14 navs) + the nav + footer routing tables at the bottom. Pick your archetype codes (H#, S#, F#, C#, T#, Ft#, N#) from the index, then load ONLY the matching `references/components/<code>-<slug>.md` files. A typical build loads 5–7 archetype files. **Loading the cookbook end-to-end or pre-loading more than one archetype per category is the single biggest token waste in the skill — don't.****Load-per-build (universal rules — load every build):**- [`typography.md`](references/typography.md) — fonts, scale, pairing, weights, measure, hero headline sizing@@ -373,7 +378,7 @@ The non-negotiables live in [`references/`](references/). **Be precise about wha- [`preview-examples.md`](references/preview-examples.md) — load only if you need a worked example of the Step 5 preview block format. The bullet list in Step 5 itself is normally enough; reach for the file only when picking unusual macrostructures / custom themes.**Load-at-the-end (Step 7 only):**-- [`slop-test.md`](references/slop-test.md) — **strictly Step 7, after Build.** The 66 gates are a post-emit check, not a pre-emit reference. Pre-loading slop-test.md costs ~7K tokens for nothing — the gates inform fixes, not generation. If a gate fails at Step 7, fix and re-test; do not consult the file earlier "to know what to avoid" — that's what `anti-patterns.md` is for.+- [`slop-test.md`](references/slop-test.md) — **strictly Step 7, after Build.** The 70 gates are a post-emit check, not a pre-emit reference. Pre-loading slop-test.md costs ~7K tokens for nothing — the gates inform fixes, not generation. If a gate fails at Step 7, fix and re-test; do not consult the file earlier "to know what to avoid" — that's what `anti-patterns.md` is for.- [`contract.md`](references/contract.md) — load at handoff time for output-contract + scope rules.- [`export-formats.md`](references/export-formats.md) — load at Step 6 only when the project warrants multi-format exports (i.e. has a `design.md`). Single-page builds emit `tokens.css` from the in-memory token state and don't need this file.@@ -411,8 +416,8 @@ Before emitting any code, output a tight summary of what you're about to ship. T- **Enrichment** · none (typography only)- **Sections** · Hero · Logos · Stats · Features · Testimonials · Pricing · FAQ · CTA · Footer- **Motion** · counter · pricing-lift · pulse-once-- **Slop test** · 69 / 69 ✓ (run after Build)-- **Diversification** · differs from Linen on display style + accent hue+- **Slop test** · 70 / 70 ✓ (run after Build)+- **Diversification** · differs from Newsprint on display style + accent hue```**Six required bullets, one optional, plus a CTA line:**@@ -422,7 +427,7 @@ Before emitting any code, output a tight summary of what you're about to ship. T3. **Enrichment** — the chosen archetype + tier, or *none (typography only)*.4. **Sections** — section names separated by ` · `, in DOM order.5. **Motion** — microinteraction primitives separated by ` · `, or *none — typography only*. Always under three primitives per the [`microinteractions.md`](references/microinteractions.md) hard rules.-6. **Slop test** — `69 / 69 ✓` if all gates pass, or `N / 69 — fails: <gate numbers>` if any are open. Run the slop test BEFORE writing this row; the slop test is Step 7.+6. **Slop test** — `70 / 70 ✓` if all gates pass, or `N / 70 — fails: <gate numbers>` if any are open. Run the slop test BEFORE writing this row; the slop test is Step 7.7. **Diversification** *(optional, only when `.hallmark/log.json` has prior entries)* — what axes differ vs the previous run.**Then one quiet CTA line, italicised, after the bullets:**@@ -461,7 +466,7 @@ Always:### 7. The slop test-Before handing back, run the output through the 69-gate slop test in [`references/slop-test.md`](references/slop-test.md). Every answer must be **no**. Load that file at this step (not earlier — it isn't needed until handoff). The active genre matters: some gates are universal, some are genre-scoped (atmospheric loosens the radial-bloom gate; modern-minimal loosens the zero-chroma neutral gate; etc.). The full per-genre overrides are listed inline in `slop-test.md`.+Before handing back, run the output through the 70-gate slop test in [`references/slop-test.md`](references/slop-test.md). Every answer must be **no**. Load that file at this step (not earlier — it isn't needed until handoff). The active genre matters: some gates are universal, some are genre-scoped (atmospheric loosens the radial-bloom gate; modern-minimal loosens the zero-chroma neutral gate; etc.). The full per-genre overrides are listed inline in `slop-test.md`.Run the slop test BEFORE writing the Slop test row in the Step 5 preview block — that row reflects the actual outcome of this step.diff --git a/skills/hallmark/references/anti-patterns.md b/skills/hallmark/references/anti-patterns.mdindex d056ba5..3356de8 100644--- a/skills/hallmark/references/anti-patterns.md+++ b/skills/hallmark/references/anti-patterns.md@@ -136,6 +136,12 @@ Headline centred, body centred, button centred, section after section of centred**Fix.** Bias the layout. Wide left margin, narrow right. Or the reverse. Breaking symmetry once is enough.+### Italic headers++A roman headline with one word flipped to italic — *"Built to think in real time"* — or an all-italic display face used on every heading. The italicised emphasis-word-in-a-header is among the most reliable AI tells: it reads as "trying to look editorial" and appears on a huge share of generated pages.++**Fix.** Headers are roman (`font-style: normal`). Carry emphasis with weight, an accent colour, or a drawn underline beneath the word. Keep italic for body-copy emphasis inside running paragraphs only.+### Eyebrow on every sectionEvery section starts with an uppercase mono-cap eyebrow — `01 / EXAMPLES`, `02 / WHAT'S INSIDE`, `03 / INSTALL`, `01 · THE TOUR` — above (or worse, *beside*) its heading. The labels look like editorial chapters but read as a tic. The page becomes a list of *labelled lists.*diff --git a/skills/hallmark/references/component-cookbook.md b/skills/hallmark/references/component-cookbook.mdindex c73b98f..56fd0ef 100644--- a/skills/hallmark/references/component-cookbook.md+++ b/skills/hallmark/references/component-cookbook.md@@ -1,6 +1,6 @@# Component cookbook-Thirty-six component archetypes you can compose into any macrostructure. Every entry: a *shape*, a one-line "use when", a one-line "don't confuse with", and a short structural sketch (DOM + minimal CSS). Pick from this file when you're building a section and don't know which shape to reach for.+Fifty component archetypes you can compose into any macrostructure. Every entry: a *shape*, a one-line "use when", a one-line "don't confuse with", and a short structural sketch (DOM + minimal CSS). Pick from this file when you're building a section and don't know which shape to reach for.The same macrostructure (e.g., Bento Grid) can be built from many different combinations of these archetypes. The macrostructure picks the *page shape*; this file picks the *components inside it*.@@ -71,7 +71,7 @@ The same macrostructure (e.g., Bento Grid) can be built from many different comb### Navigation-- **N1 · Wordmark 2 links** — Top-of-page bar: wordmark on the left, two text links on the right ("Pricing" / "Sign in"). No logo image, no menu icon. [`components/n1-wordmark-2-links.md`](components/n1-wordmark-2-links.md)+- **N1 (N1a) · Wordmark 2 links** — Top-of-page bar: wordmark on the left, two text links on the right ("Pricing" / "Sign in"). No logo image, no menu icon. The *minimal* variant — for the dense canonical SaaS bar use **N1b**. [`components/n1-wordmark-2-links.md`](components/n1-wordmark-2-links.md)- **N2 · Floating chip** — A small fixed chip in a corner — wordmark + a single action ("Try it"). Doesn't 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 2–3 dot-indicators for sections. Editorial / portfolio energy. [`components/n3-side-rail.md`](components/n3-side-rail.md)- **N4 · Hidden behind k** — No visible nav. The user opens a command palette via `⌘K` to get anywhere. Designed for keyboard-first audiences. [`components/n4-hidden-behind-k.md`](components/n4-hidden-behind-k.md)@@ -81,6 +81,10 @@ The same macrostructure (e.g., Bento Grid) can be built from many different comb- **N8 · Terminal command** — A nav formatted as a CLI prompt: `> studio --catalog --voice --get▮`. The "links" are command flags. The blinking cursor (`▮`) is allowed *only here* (it has purpose — signals "you [`components/n8-terminal-command.md`](components/n8-terminal-command.md)- **N9 · Edge aligned minimal** — Wordmark hard-left, single CTA hard-right, vast empty space between, no link row at all. The *absence* is the design — Apple product pages, Carl Hauser, luxury sites. [`components/n9-edge-aligned-minimal.md`](components/n9-edge-aligned-minimal.md)- **N10 · Floating on scroll morph** — A sticky bar at the top that **morphs into a floating pill** as the user scrolls past a threshold. Two visual modes share one DOM — `.nav` (outer) owns the bar look, `.nav__inner` [`components/n10-floating-on-scroll-morph.md`](components/n10-floating-on-scroll-morph.md)+- **N1b · Canonical SaaS three-section** — Wordmark-left · centred 4–6-link cluster (some with hover dropdowns) · sign-in + filled CTA right. The dominant modern marketing nav; frosts on scroll. N1/N1a is the *minimal* two-link variant; this is the dense, balanced one. [`components/n1b-saas-three-section.md`](components/n1b-saas-three-section.md)+- **N11 · Mega-menu panel** — Top bar whose triggers open a full-width multi-column panel (icon · title · description per item, grouped, + a feature card); page dims behind a scrim. For platforms/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; banner retracts on scroll-down, returns on scroll-up, dismisses via ×. Banner ≠ second nav (colour contrast keeps them distinct). [`components/n12-banner-retract.md`](components/n12-banner-retract.md)+- **N13 · Inline ⌘K search pill** — A visible search pill in the bar (placeholder + `⌘K` hint) opening a spotlight modal with grouped, keyboard-navigable results. The *visible* opposite of N4. For search/docs-heavy products. [`components/n13-inline-cmdk-pill.md`](components/n13-inline-cmdk-pill.md)---@@ -132,6 +136,10 @@ When you pick an archetype, **state the knob values you chose** in the macrostru| **N7 Brutal slab** | Border weight: 2 px · 3 px · 4 px | Letter-spacing: tracked uppercase · normal | CTA: filled slab · outline block · text-only || **N8 Terminal command** | Prompt: `>` · `$` · `~/$` | Cursor: in-line at end · after final flag · none | Width: full bleed · content · ~80 ch || **N9 Edge-aligned minimal** | CTA shape: outlined · filled pill · text+arrow | Wordmark: serif italic · sans · monospace | Padding-block: tight · default · spacious |+| **N1b SaaS three-section** | Centre links: 3 · 4 · 5–6 | Dropdowns: none · 1 · 2 | Scroll: frost-on-scroll · always-solid · transparent-fixed |+| **N11 Mega-menu** | Columns: 2 · 3 · 4 | Feature cell: none · promo card · code sample | Scrim: dim+blur · dim only · none |+| **N12 Banner + retract** | Banner fill: solid · gradient · tint+ink | Dismiss: yes · none | Bar scroll: sticky · also-frosts |+| **N13 Inline ⌘K-pill** | Pill placement: centred · right-of-brand | Result groups: flat · grouped | Footer hints: shown · hidden || **Ft5 Statement** | Sentence width: 28 ch · 38 ch · 50 ch | Wordmark position: under sentence · top-right · none | Rule above meta: hairline · double · none || **Ft6 Letter close** | Signoff: italic · roman · monogram | Postscript: yes · no | Width: 40 ch · 60 ch · 80 ch || **Ft7 Newsletter-first** | Layout: stacked · inline · split (form left · meta right) | Submit style: filled · outline · arrow link | Privacy line: yes · no |@@ -164,16 +172,17 @@ When you pick an archetype, **state the knob values you chose** in the macrostru| Genre / cluster | Default nav | Acceptable also || --- | --- | --- |-| editorial (Newsprint · Salon · Garden · Linen · Atelier) | **N6 Masthead** | N1, N9 |-| modern-minimal (Specimen · Quiet · Coral · Violet · Plume) | **N5 Floating pill** | N1, N9 |-| atmospheric (Bloom · Aurora · Halo · Midnight) | **N5 Floating pill** (blur backdrop sells the mood) | N9, N4 |-| playful (Brutal · Manifesto · Sport · Riso · Studio) | **N7 Brutal slab** | N1, N3 |-| terminal / CLI (Terminal) | **N8 Terminal command** | N4 ⌘K-only |-| docs / reference (Almanac) | **N3 Side-rail** | N1, N4 |+| editorial (Newsprint · Garden · Atelier · Carnival · …) | **N6 Masthead** | N1a, N9, N12 |+| modern-minimal (Coral · Cobalt) | **N1b SaaS three-section** | N5, N11, N13, N9 |+| atmospheric (Bloom · Aurora · Midnight · Lumen) | **N5 Floating pill** (blur backdrop sells the mood) | N9, N4, N13, N1b |+| playful (Hum) | **N1b SaaS three-section** | N5, N11, N12, N13, N7 (rounded) |+| terminal / CLI (Terminal) | **N8 Terminal command** | N4 ⌘K-only, N13 |+| docs / reference (Almanac) | **N3 Side-rail** | N13, N1a, N4 |+| commerce / product launch | **N12 Banner + retract** | N1b, N11, N9 |-**Diversification.** Across consecutive Hallmark runs in the same project session, no two outputs should share the same nav archetype — even when they share a genre. If the previous run used N5 on a modern-minimal page, the next modern-minimal page picks N1 or N9 from the routing table's "also" column.+**Diversification — state it out loud, every build.** Across consecutive Hallmark runs in the same project session (and across multiple test builds of the *same theme*), no two outputs may share the same nav archetype. Before writing nav markup, write one line: *"Previous nav: <X>. This build: <Y>, because <reason>."* This is the same accountability step as the macrostructure rotation. **A theme with 4 test builds should show 4 different navs** — e.g. Hum across Curio/Sprout/Tally/Mixtape uses N5 → N1b → N12 → N13. Reaching for the genre *default* on every build is exactly the failure this rule exists to prevent; rotate through the "Acceptable also" column deliberately.-**Default away from N1.** The most-recognised AI fingerprint is N1 (wordmark + inline link row + button-right) used reflexively. Reach for N5–N9 first; reach for N1 only when the page genuinely has only 2 destinations *and* the genre's routing table allows it.+**Default away from N1a.** The most-recognised AI fingerprint is N1a (wordmark + inline link row + button-right) used reflexively. For a real product nav reach for **N1b** (the dense, balanced canonical bar) or N5/N11/N13 first; reach for N1a only when the page genuinely has 2 destinations.---diff --git a/skills/hallmark/references/components/ft6-letter-close.md b/skills/hallmark/references/components/ft6-letter-close.mdindex e41465d..ba84f76 100644--- a/skills/hallmark/references/components/ft6-letter-close.md+++ b/skills/hallmark/references/components/ft6-letter-close.md@@ -1,6 +1,6 @@### Ft6 · Letter closeCloses the page like a letter — `Yours, the team. 2026.` Optional postscript line 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, Salon, personal sites.+*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 signoff).```htmldiff --git a/skills/hallmark/references/components/n11-mega-menu.md b/skills/hallmark/references/components/n11-mega-menu.mdnew file mode 100644index 0000000..9456871--- /dev/null+++ b/skills/hallmark/references/components/n11-mega-menu.md@@ -0,0 +1,40 @@+### N11 · Mega-menu panel+A standard top bar whose triggers open a **full-width multi-column panel** — icon · title · description per item, grouped under column headers, often with a promoted feature card on one side. The page dims behind a scrim. Vercel "Products", Figma "Products", Notion "Resources".+*Use when:* the brand has many destinations that need grouping + explanation (a platform with 6+ products, or docs/resources hubs). The payload is the design problem, not the bar.+*Don't confuse with:* N1b (small single-column dropdowns); N1a (no dropdowns at all).++```html+<header class="nav">+ <div class="nav__inner">+ <a class="nav__brand">Northwind</a>+ <nav class="nav__center">+ <div class="mega" data-mega="products"><button class="nav__link" aria-controls="mega-products" aria-expanded="false">Products <span class="nav__caret"></span></button></div>+ </nav>+ <div class="nav__right"><a class="btn btn--accent">Get started</a></div>+ </div>+ <div class="mega-panel" id="mega-products" data-panel="products">+ <div class="mega-panel__inner">+ <div class="mega-col"><p class="mega-col__head">Move money</p><a class="mega-link"><span class="mega-link__ico"></span><span><b>Payments</b><i>cards, ACH, wires</i></span></a></div>+ <a class="mega-feature"><p class="mega-feature__title">Vault</p><p class="mega-feature__desc">stablecoin settlement</p></a>+ </div>+ </div>+</header>+<div class="nav-scrim" id="scrim"></div>+```+```css+.mega-panel { position: absolute; top: 100%; left: 0; right: 0; opacity: 0; visibility: hidden; transform: translateY(-10px);+ background: color-mix(in oklch, var(--color-paper) 96%, transparent); backdrop-filter: blur(20px) saturate(160%);+ border-bottom: 1px solid var(--color-rule); box-shadow: 0 30px 60px -28px oklch(0% 0 0 / 0.35);+ transition: opacity 240ms, transform 280ms var(--ease-spring), visibility 240ms; }+.mega-panel.is-open { opacity: 1; visibility: visible; transform: none; }+.mega-panel__inner { max-width: var(--page-max); margin: 0 auto; padding: 2rem var(--page-gutter);+ display: grid; grid-template-columns: repeat(3, 1fr) 1.1fr; gap: 2rem; }+.nav-scrim { position: fixed; inset: 0; z-index: 400; background: oklch(18% 0.01 250 / 0.28); backdrop-filter: blur(2px);+ opacity: 0; visibility: hidden; transition: opacity 260ms, visibility 260ms; }+.nav-scrim.is-active { opacity: 1; visibility: visible; }+```+*JS:* hover opens (with a ~140ms close-grace timer so the pointer can travel into the panel), click toggles, Esc closes, only one panel open at a time, scrim + `aria-expanded` follow state.++**Knobs** — *Columns:* 2 · 3 · 4 · *Feature cell:* none · promo card · code sample · *Scrim:* dim+blur (default) · dim only · none · *Open on:* hover+click (default) · click only.+*Anti-pattern:* never more than ~4 columns; never a panel taller than ~60vh; never open on hover with no close-grace timer (the menu flickers when the pointer crosses the gap). Items must carry a one-line description — a bare link grid is just N1b in disguise.+*Mobile:* collapse the whole thing to a drawer; the columns stack as accordion groups.diff --git a/skills/hallmark/references/components/n12-banner-retract.md b/skills/hallmark/references/components/n12-banner-retract.mdnew file mode 100644index 0000000..f9edee5--- /dev/null+++ b/skills/hallmark/references/components/n12-banner-retract.md@@ -0,0 +1,34 @@+### N12 · Announcement banner + retracting nav+A coloured promo **banner** stacked above one real nav. On scroll-down the banner slides up and retracts, leaving a single clean nav docked to the top; on scroll-up it slides back. A dismiss × removes the banner for good (its height zeroes so no gap is left). Apple-style coupled bars, but the top tier is a *banner*, not a second nav — the colour contrast is what stops it reading as "two navs".+*Use when:* there's a genuine, time-bound announcement (a launch, a sale, free shipping) worth a persistent strip, over a product/marketing page. Great for stat-led or commerce pages.+*Don't confuse with:* a static announcement bar that never moves (fine, but not N12); N1b (single bar, no banner).++```html+<header class="nav" id="nav">+ <div class="nav__banner" id="banner">+ <p class="nav__banner-text"><span class="nav__banner-spark"></span> New — <b>shared habits</b>. <a class="nav__banner-link">Try it →</a></p>+ <button class="nav__banner-x" id="banner-x" aria-label="Dismiss"><span></span></button>+ </div>+ <div class="nav__bar"><div class="nav__bar-inner">+ <a class="nav__brand">Tally</a>+ <nav class="nav__links">…</nav>+ <a class="btn btn--accent">Start</a>+ </div></div>+</header>+```+```css+:root { --banner-h: 42px; --bar-h: 64px; }+.nav { position: fixed; inset: 0 0 auto; z-index: 500; transform: translateY(0); transition: transform 320ms var(--ease-out); }+.nav.is-compact { transform: translateY(calc(var(--banner-h) * -1)); } /* banner hides, bar docks to top */+.nav.is-dismissed { transform: none; }+.nav.is-dismissed .nav__banner { display: none; }+.nav__banner { height: var(--banner-h); display: flex; align-items: center; justify-content: center;+ background: linear-gradient(100deg, var(--color-accent), var(--color-accent-deep)); color: var(--color-paper); }+/* content clears both at rest; zero --banner-h on dismiss so calc() reflows with no gap */+.demo-hero { padding-top: calc(var(--banner-h) + var(--bar-h) + 4rem); }+```+*JS:* track scroll direction — past ~48px going down → `.is-compact`; going up → remove it; near top → always show. Dismiss × sets `--banner-h: 0px` (via `documentElement.style`) and adds `.is-dismissed`.++**Knobs** — *Banner fill:* solid accent · gradient (default) · tint+ink · *Dismiss:* yes (default) · none · *Bar scroll:* sticky (default) · also-frosts · *Banner content:* promo · status · countdown.+*Anti-pattern:* never make the top tier a second set of nav links — that's the "two nav bars" smell the banner exists to avoid. Keep the banner one line, one link, one dismiss. Don't animate banner height directly (janky); translate the whole `.nav` and zero the height only on dismiss.+*Mobile:* banner text truncates / drops the leading glyph; nav links collapse; the Buy/primary CTA stays.diff --git a/skills/hallmark/references/components/n13-inline-cmdk-pill.md b/skills/hallmark/references/components/n13-inline-cmdk-pill.mdnew file mode 100644index 0000000..fe0d186--- /dev/null+++ b/skills/hallmark/references/components/n13-inline-cmdk-pill.md@@ -0,0 +1,39 @@+### N13 · Inline ⌘K search pill+A **visible** search pill sits inline in the bar — placeholder text plus a `⌘K` kbd hint — alongside (not replacing) the links. Click it, or press ⌘K / Ctrl K, to open a spotlight modal with grouped, keyboard-navigable results. The opposite of N4 (which *hides* nav behind the shortcut): here the affordance is on the surface for newcomers, with the shortcut for power users. Tailwind, Linear, Raycast, docs sites.+*Use when:* the product is search-heavy or docs-heavy and search is a primary action (dev tools, music/library apps, large content sites).+*Don't confuse with:* N4 (no visible nav, ⌘K only); a plain search icon that just focuses an input in place.++```html+<header class="nav" id="nav"><div class="nav__inner">+ <a class="nav__brand">Crank</a>+ <button class="searchpill" id="searchpill" aria-label="Search (⌘K)">+ <span class="searchpill__ico"></span><span class="searchpill__text">Search docs…</span>+ <span class="searchpill__kbd"><kbd>⌘</kbd><kbd>K</kbd></span>+ </button>+ <nav class="nav__right"><a class="nav__link">Docs</a><a class="btn btn--accent">Start</a></nav>+</div></header>+<div class="cmdk" id="cmdk" aria-hidden="true">+ <div class="cmdk__backdrop" data-close></div>+ <div class="cmdk__panel" role="dialog" aria-modal="true">+ <div class="cmdk__field"><span class="cmdk__field-ico"></span><input id="cmdk-input" placeholder="Search docs…"><kbd>esc</kbd></div>+ <div class="cmdk__results"><p class="cmdk__group">Suggested</p><button class="cmdk__item is-active">…</button></div>+ <div class="cmdk__foot"><span><kbd>↑</kbd><kbd>↓</kbd> navigate</span><span><kbd>↵</kbd> open</span><span><kbd>esc</kbd> close</span></div>+ </div>+</div>+```+```css+.searchpill { display: flex; align-items: center; gap: 0.6rem; height: 40px; padding: 0 0.55rem 0 0.85rem;+ background: var(--color-paper-2); border: 1px solid var(--color-rule); border-radius: 999px; color: var(--color-muted);+ transition: border-color 200ms, box-shadow 200ms; }+.searchpill:hover { border-color: var(--color-rule-2); box-shadow: 0 4px 16px -10px oklch(0% 0 0 / 0.3); }+.cmdk { position: fixed; inset: 0; z-index: 700; opacity: 0; visibility: hidden; transition: opacity 200ms, visibility 200ms; }+.cmdk.is-open { opacity: 1; visibility: visible; }+.cmdk__panel { position: absolute; top: 14vh; left: 50%; transform: translateX(-50%) translateY(-8px) scale(0.98);+ width: min(560px, calc(100vw - 2rem)); transition: transform 240ms var(--ease-spring); }+.cmdk.is-open .cmdk__panel { transform: translateX(-50%) translateY(0) scale(1); }+```+*JS:* ⌘K / Ctrl K toggles, Esc closes, backdrop-click closes, ↑/↓ move the active item, Enter selects, focus the input on open and lock body scroll.++**Knobs** — *Pill placement:* centred (default) · right-of-brand · *Result groups:* flat · grouped (default) · *Footer hints:* shown (default) · hidden · *Open trigger:* pill+⌘K (default) · ⌘K only (→ that's N4, not N13).+*Anti-pattern:* don't fake the modal with a `<div>` that traps no focus and ignores Esc — if you ship the pill you ship the keyboard model. The pill must look like search (icon + placeholder), not a generic button.+*Mobile:* the pill collapses to a search icon; the modal goes full-height sheet.diff --git a/skills/hallmark/references/components/n1b-saas-three-section.md b/skills/hallmark/references/components/n1b-saas-three-section.mdnew file mode 100644index 0000000..b39d539--- /dev/null+++ b/skills/hallmark/references/components/n1b-saas-three-section.md@@ -0,0 +1,35 @@+### N1b · Canonical SaaS three-section+Wordmark hard-left · a centred cluster of 4–6 links (some opening hover dropdowns) · a sign-in text link + filled CTA hard-right. The dominant marketing-nav of 2024–26 (Stripe, Linear, Vercel, Figma, Notion, PostHog). The structural opposite of N1's *minimal* two-link variant — this one is dense and balanced.+*Use when:* a SaaS / product / dev-tool page with several real destinations and a clear primary action. The default reach for modern-minimal and (Hum-styled) playful product pages.+*Don't confuse with:* N1a (wordmark + 2 links, no centre cluster); N5 (detached pill); N11 (mega-menu panels, not small dropdowns).++```html+<header class="nav"><div class="nav__inner">+ <a class="nav__brand">Conduit</a>+ <nav class="nav__center">+ <div class="nav__item nav__item--menu">+ <button class="nav__link" aria-expanded="false">Product <span class="nav__caret"></span></button>+ <div class="nav__dropdown"><a class="nav__dropitem"><b>Gateway</b><i>one endpoint</i></a></div>+ </div>+ <a class="nav__link">Docs</a><a class="nav__link">Pricing</a>+ </nav>+ <div class="nav__right"><a class="btn btn--text">Sign in</a><a class="btn btn--accent">Start</a></div>+</div></header>+```+```css+.nav { position: fixed; inset: 0 0 auto; z-index: 500; background: transparent; border-bottom: 1px solid transparent;+ transition: background 240ms, border-color 240ms, box-shadow 240ms; }+.nav.is-scrolled { background: color-mix(in oklch, var(--color-paper) 72%, transparent);+ backdrop-filter: blur(18px) saturate(160%); border-bottom-color: var(--color-rule); box-shadow: 0 8px 28px -18px oklch(0% 0 0 / 0.4); }+.nav__inner { max-width: var(--page-max); margin: 0 auto; padding-inline: var(--page-gutter); 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: 0.35rem; } .nav__right { justify-self: end; }+.nav__dropdown { position: absolute; opacity: 0; visibility: hidden; transform: translateY(-6px) scale(0.98);+ transition: opacity 200ms, transform 220ms var(--ease-spring), visibility 200ms; }+.nav__item--menu:hover .nav__dropdown, .nav__item--menu:focus-within .nav__dropdown { opacity: 1; visibility: visible; transform: none; }+```++**Knobs** — *Centre links:* 3 · 4 · 5–6 · *Dropdowns:* none · 1 · 2 · *Scroll state:* frost-on-scroll (default) · always-solid · transparent-fixed · *CTA pair:* sign-in + fill · fill only.+*Scroll behaviour (default):* transparent at rest over the hero, frosts (blur backdrop + hairline border + soft shadow) past ~24px, and tightens height ~8px. Always rAF-throttle the scroll handler.+*Anti-pattern:* don't let the centre cluster collide with brand/CTA — if it can't sit centred with breathing room, drop to 3 links or route to N1a. Never ship a dropdown that opens on click only with no hover/focus affordance.+*Mobile:* hide `.nav__center` below ~900px; brand + CTA (or hamburger) remain.diff --git a/skills/hallmark/references/components/n9-edge-aligned-minimal.md b/skills/hallmark/references/components/n9-edge-aligned-minimal.mdindex e9a11f0..8361dfa 100644--- a/skills/hallmark/references/components/n9-edge-aligned-minimal.md+++ b/skills/hallmark/references/components/n9-edge-aligned-minimal.md@@ -1,6 +1,6 @@### N9 · Edge-aligned minimalWordmark hard-left, single CTA hard-right, vast empty space between, no link row at all. The *absence* is the design — Apple product pages, Carl Hauser, luxury sites.-*Use when:* the page is luxury / quiet / Atelier / Salon and the brand earns the silence.+*Use when:* the page is luxury / quiet / Atelier / Garden and the brand earns the silence.*Don't confuse with:* N1 Wordmark + 2 links (which fills the middle).```htmldiff --git a/skills/hallmark/references/copy.md b/skills/hallmark/references/copy.mdindex 799e619..eaca077 100644--- a/skills/hallmark/references/copy.md+++ b/skills/hallmark/references/copy.md@@ -105,7 +105,7 @@ Three voice patterns: *poetic restraint*, *passion via enumeration*, *vulnerabil- *"Design engineer creating software that makes people feel something."* — rauno.me — emotional outcome over feature list; "feel something" avoids genre cliché- *"All I want to do is build websites. Typography, motion design, copywriting, performance — the web is an endless medium of opportunity."* — paco.me — passion via enumeration; vulnerability ("scratched the surface")- *"I craft UI demos that explore the power of the web and help others sharpen their skills."* — jhey.dev — names the verb (*craft*), names the audience (*others*)-- *"Soft, but exact."* — Hallmark Plume — two short adjectives, one comma, full stop+- *"Soft, but exact."* — Hallmark Hum — two short adjectives, one comma, full stop- *"This page is soft because the surface should be soft. The rules underneath are not."* — pairs claim with refusal### Technical@@ -127,9 +127,9 @@ Three voice patterns: *heritage with specifics*, *refusal as sophistication*, *n- *"The world's most acclaimed creative collective, where 23 partners work independently and collaboratively to shape the future of design."* — pentagram.com — heritage (implied longevity), named scale (23 partners)- *"By appointment."* — atelier-style — refusal as gatekeeping-- *"A salon for the senses."* — Hallmark Salon — single nominal phrase, comma-free-- *"A page should arrive like a person — composed, deliberate, in good clothes."* — Hallmark Salon — analogy treats the page as social-- *"With pleasure, you are most welcome."* — Hallmark Salon salutation — formal address+- *"A study in the senses."* — Hallmark Atelier — single nominal phrase, comma-free+- *"A page should arrive like a person — composed, deliberate, in good clothes."* — Hallmark Atelier — analogy treats the page as social+- *"With pleasure, you are most welcome."* — Hallmark Editorial salutation — formal address- *"Restraint, repeated, becomes a signature."* — Hallmark Atelier — three commas, four words, philosophical- *"A studied hand."* — three words; the determiner does the work- *"A small, opinionated craftsmanship engine that argues with your AI assistant on your behalf — and wins."* — Hallmark Atelier — names the role precisely, embraces the conflict@@ -151,12 +151,12 @@ Three voice patterns: *analogy via pop-culture*, *food/sensory metaphor*, *anticThree voice patterns: *extreme abbreviation*, *principle as opening*, *refusal of marketing language*.-- *"Hello."* — Hallmark Quiet salutation — one word; the period is the design-- *"This is a page that doesn't try."* — Quiet — declares the position openly+- *"Hello."* — Hallmark Coral salutation — one word; the period is the design+- *"This is a page that doesn't try."* — Coral — declares the position openly- *"Things Become Other Things."* — craigmod.com — three words; treats brand as essay title- *"Lightness above weightiness, elevate everyone you encounter."* — craigmod.com — principle-first positioning-- *"A quiet skill."* — Hallmark Quiet — three words; the article is doing work-- *"Software can be soft and exact at once. That's the trick."* — Hallmark Plume — names the contradiction, names the resolution+- *"A quiet skill."* — Hallmark Coral — three words; the article is doing work+- *"Software can be soft and exact at once. That's the trick."* — Hallmark Hum — names the contradiction, names the resolution- *"One HTML file."* — Anya (test 06) footer — three words; the count is the boast- *"This page doesn't move."* — names the design decision openlydiff --git a/skills/hallmark/references/custom-craft.md b/skills/hallmark/references/custom-craft.mdindex bc108b4..c965449 100644--- a/skills/hallmark/references/custom-craft.md+++ b/skills/hallmark/references/custom-craft.md@@ -350,7 +350,7 @@ The Lottie Tell, version 2026: a generic LottieFiles pull where pure CSS would h**Brief:** "Build a landing page for a small bakery in Lisbon."**Step 2 (macrostructure):** Long Document — the bakery is a story-led brand, not a SaaS product.-**Step 3 (theme):** Linen — warm-paper, prose-led, intimate.+**Step 3 (theme):** Atelier — warm-paper, prose-led, intimate.**Step 4 (enrichment):** E5 Custom Illustration Centerpiece. Tier B (hand-built SVG).**The output:**@@ -362,7 +362,7 @@ A 60-line SVG of a single loaf, three paths (crust + crumb + scoring marks), pos* H5 hero: Letter (intimate salutation + 2-paragraph body)* enrichment: E5 Custom Illustration · craft: tier-B SVG (60 lines)* animation: @property --rise (6s, alternate) + stroke-dasharray draw-on- * theme: Linen · accent: warm-amber ~3% · studied: no+ * theme: Atelier · accent: warm-amber ~3% · studied: no*/```diff --git a/skills/hallmark/references/custom-theme.md b/skills/hallmark/references/custom-theme.mdindex fa70873..e6e3e9c 100644--- a/skills/hallmark/references/custom-theme.md+++ b/skills/hallmark/references/custom-theme.md@@ -1,13 +1,17 @@# Custom theme — protocol-Loaded only when the user has opted into the **custom** theme route in Step 1 of the Design flow. Custom produces a **complete OKLCH palette + free-font pairing tuned to this brief** — a one-off theme written inline into the page's `:root`, not a permanent catalog entry.+Loaded only when the user has opted into the **custom** theme route in Step 1 of the Design flow. Custom is **made-to-measure for one brief**, written inline into the page's `:root`, never a permanent catalog entry. It spans a **spectrum of depth**: at its lightest, a complete OKLCH palette + free-font pairing tuned to the brief while keeping Hallmark's structures (the *combination* is per-brief); at its fullest — **bespoke** — the page's *structure and composition* are designed from first principles too, bound to no catalog theme, genre, or macrostructure. One route, chosen depth.-**The freedom is the combination, not the rules.** Every constraint in [`color.md`](color.md), [`typography.md`](typography.md), and [`anti-patterns.md`](anti-patterns.md) still applies. The 65 slop-test gates fire unchanged. The Step 5 preview block surfaces the palette + pairing in plain text *before* any code is emitted, so the user can redirect.+**The freedom is the combination — and, at the bespoke depth, the whole structure — but never the floor.** Every constraint in [`color.md`](color.md), [`typography.md`](typography.md), and [`anti-patterns.md`](anti-patterns.md) still applies, and **every slop-test gate fires unchanged at every depth** — the gates are the floor that never moves. The Step 5 preview surfaces the palette + pairing (plus the bespoke structure, when there is one) in plain text *before* any code is emitted, so the user can redirect.-## Two words, plain English+## Two routes, plain English-- **catalog** — the named-theme catalogue. Hallmark's 22 themes (Specimen, Atelier, Brutal, Salon, Newsprint, Linen, Studio, Manifesto, Terminal, Midnight, Almanac, Garden, Quiet, Riso, Sport, Bloom, Coral, Violet, Aurora, Halo, Plume, Editorial). Each one is a fixed combination of paper-band, display-style, and accent-hue. The rotation rule cycles through them so two consecutive runs don't read alike. **This is the default.** Most briefs use it.-- **custom** — made-to-measure. A one-off palette + font pairing constructed specifically for one brief. The skill builds the OKLCH values, picks fonts, and stamps the page — but does **not** extend the catalog with a new theme. The rules behind the catalog (paper L bands, accent chroma caps, font ban list, slop-test gates) all still apply; only the *combination* is per-brief.+- **catalog** — the named-theme catalogue. Hallmark's 20 themes (Specimen, Midnight, Brutal, Garden, Atelier, Newsprint, Terminal, Manifesto, Almanac, Sport, Studio, Riso, Bloom, Coral, Cobalt, Aurora, Editorial, Carnival, Lumen, Hum). Each one is a fixed combination of paper-band, display-style, and accent-hue. The rotation rule cycles through them so two consecutive runs don't read alike. **This is the default.** Most briefs use it.+- **custom** — made-to-measure, at the depth the brief needs:+ - **Tuned** — a one-off OKLCH palette + font pairing built for one brief, *keeping* Hallmark's structures, archetypes, and macrostructures. The rules (paper L bands, accent chroma caps, font ban list, all slop-test gates) still apply; only the *combination* is per-brief.+ - **Bespoke** — when the brief's *structure itself* is the ask, custom goes further and designs the whole page from first principles — its own palette, type, **and** composition — dropping the catalog's structures too, floored only by the universal slop-test gates. Same route, deeper end. See **§ Bespoke depth** below.++ Either way, custom does **not** extend the catalog with a permanent theme.## When to surface this fork — Step 1 trigger signals@@ -15,12 +19,13 @@ Hallmark must **not** offer catalog-vs-custom on every prompt. That's friction,1. **Explicit ask** — the user types `custom`, "custom theme", "tailored to our brand", "make it ours", "something unique", "play around with the colors and fonts", "I want my own palette".2. **Named brand colour** — the user gives a specific anchor colour as a hex / OKLCH / brand name. Example: "use our terracotta", "the brand red is hex #c0392b", "anchor on sea-blue".-3. **Multi-attribute aesthetic the catalog can't carry** — three or more vibe words pointing at a specific, off-catalog feel. Examples: "moss, lichen, soft pink, herbal" / "sun-drenched, market-day, carbon-black" / "late-night, neon, brutalist deli". Compare against the 22 catalog themes; if no single catalog theme is within one axis-step of the vibe, fire the fork. **One adjective ("warm", "technical", "playful") is not a signal — that's a tone, the catalog already carries it.**+3. **Multi-attribute aesthetic the catalog can't carry** — three or more vibe words pointing at a specific, off-catalog feel. Examples: "moss, lichen, soft pink, herbal" / "sun-drenched, market-day, carbon-black" / "late-night, neon, brutalist deli". Compare against the 20 catalog themes; if no single catalog theme is within one axis-step of the vibe, fire the fork. **One adjective ("warm", "technical", "playful") is not a signal — that's a tone, the catalog already carries it.**4. **Brand-mood reference attached** — the user attaches a colour swatch, a moodboard, a Pantone chip. (If they attach a *page* screenshot, route to `study` instead; custom is for brand colour / mood, study is for design DNA.)+5. **A singular structural vision** (→ the *bespoke* depth) — the brief names a *structure or composition*, not just a palette/mood: "no theme / from scratch / fully bespoke / ignore the catalog / art-direct it", or a one-of-a-kind page-shape the macrostructure catalog has no entry for (a scroll-assembling poem, a ticket-shaped page, an interactive periodic table). Routes to custom's **bespoke depth** (§ Bespoke depth below). A palette or mood that's merely off-catalog is *tuned* custom, not bespoke.If any signal fires, ask one short follow-up before picking a theme:-> *"This brief reads like a custom palette would fit better than the 22 named themes. Want me to construct a custom OKLCH palette + free-font pairing tuned to <one-line summary of the vibe>, or stay on the catalog for variety + speed?"*+> *"This brief reads like a custom palette would fit better than the 20 named themes. Want me to construct a custom OKLCH palette + free-font pairing tuned to <one-line summary of the vibe>, or stay on the catalog for variety + speed?"*Wait for the user to answer. If they say custom (or yes / go) → continue this protocol from § A. If they say catalog (or no / stay catalog) → drop the fork and proceed with the catalog route. **Default to catalog** — silence routes to catalog, not custom.@@ -42,6 +47,39 @@ If the user gives just two or three words ("sun-drenched"), proceed; the recipe---+## § Bespoke depth — custom that designs the whole page++Most custom runs are *tuned* (a palette + pairing on Hallmark's existing structures). **Bespoke** is the deep end, fired by signal 5: the brief's *structure itself* is the ask and no catalog shape fits. At this depth custom designs the page from first principles — palette, type, **and** composition — and the only thing it inherits is the floor.++Confirm the route once (same discipline as any custom — default to catalog on silence), then take **one** input: *"the direction in a sentence or two — what should this page feel like and do that an off-the-shelf theme wouldn't?"*++**It drops** (only at this depth):+- the named-theme tokens — write the palette inline for this page only (§ B still governs *how*);+- the genre cluster routing — no editorial / atmospheric / modern-minimal / playful archetype defaults;+- the fixed macrostructure + archetype catalog — compose the page's structure for the brief; a novel hero, nav, or section is *encouraged* when it serves the idea;+- the diversification rotation — bespoke is a one-off (like studied-DNA), though it shouldn't clone a recent bespoke run.++**It keeps** — the non-negotiable floor, identical to tuned custom:+- **every universal slop-test gate** ([`slop-test.md`](slop-test.md)) — the guarantee that survives the freedom;+- accessibility & contrast (APCA / WCAG), a visible `:focus-visible`, `prefers-reduced-motion`, semantic landmarks, alt text;+- the **font ban-list** (Gate 1) and free-baseline-only discipline (§ C);+- **OKLCH palette discipline** (§ B) — tinted neutrals, no pure `#000`/`#fff`, accent kept to a signal unless the concept earns more;+- one orchestrated motion; the Step 5 preview before code; the Step 6 stamp + log.++**Process:** read the brief + the one-line direction → design the *system and the one central move* (the idea that makes it not-a-template) → run the gates *as you compose* → surface the preview (palette, type, structure, central idea) → build, stamp, log. Bespoke is **more** design judgment, not less — a bespoke page that reads generic, or trips a gate, has failed; re-design.++**Stamp (bespoke runs):**+```css+/* Hallmark · route: custom (bespoke) · structure: <one-line shape> · idea: "<central move>"+ * paper: oklch(...) · accent: oklch(...) · display: <font> · body: <font>+ * axes: <paper-band> / <display-style> / <accent-hue> · gates: all-pass · studied: no+ */+```++**Bespoke is rare.** Most briefs are catalog; some are tuned custom; few are bespoke. Reaching for bespoke on a vanilla brief is over-reach — route to catalog.++---+## § B · Palette constructionBuild the palette in this order. Each step cites the rule it's obeying — do not restate the rule, just apply it.diff --git a/skills/hallmark/references/export-formats.md b/skills/hallmark/references/export-formats.mdindex 82c7759..1248597 100644--- a/skills/hallmark/references/export-formats.md+++ b/skills/hallmark/references/export-formats.md@@ -116,7 +116,7 @@ Or, if the project uses a CSS bundler / framework that doesn't honour bare `@imp}```-**Worked example — modern-minimal theme (Quiet-like):**+**Worked example — modern-minimal theme (austere, pure-white):**```css:root {diff --git a/skills/hallmark/references/genres/atmospheric.md b/skills/hallmark/references/genres/atmospheric.mdindex 10521f7..7e477e1 100644--- a/skills/hallmark/references/genres/atmospheric.md+++ b/skills/hallmark/references/genres/atmospheric.md@@ -8,7 +8,9 @@ Brief mentions any of: *AI tool, generative, music, video, image, voice, late-ni## Themes that belong-`Bloom` (canonical), `Midnight`, `Terminal`. Three dark-paper themes; the rotation walks them when atmospheric is active.+`Bloom` (canonical light-paper), `Midnight`, `Terminal`, `Aurora`, `Lumen`. Five themes; the rotation walks them when atmospheric is active.++`Lumen` is the premium AI-tool register — Modal / Anthropic / Together / ElevenLabs / Cluely / Adept / Granola. One focal CSS artefact + classical italic-serif headline + mono technical eyebrow. **Two palette drops** (Night Foundry — dark amber-gold, emits; Day Foundry — light indigo, refracts). The only atmospheric theme with a serif display and the only one whose canvas treatment is one *built* artefact rather than two diffuse blooms.## Voice@@ -29,8 +31,8 @@ Brief mentions any of: *AI tool, generative, music, video, image, voice, late-ni## What this genre disallows-- **Light-paper aesthetics** — the canvas is dark. Don't sneak white sections in.-- **Italic serif body** — atmospheric stays sans top-to-bottom.+- **Light-paper aesthetics** — the *default* canvas is dark. Bloom and Lumen's Day Foundry are the documented light-paper exceptions; both still emit/refract light from a focal canvas treatment. Don't sneak white sections into a dark-paper build.+- **Italic in headers** — banned globally (a top AI tell). Atmospheric display is roman; Lumen ships Instrument Serif as a **roman** headline face, with the verb landmark carried by accent colour + a drawn underline, never italics. Body stays Geist Sans.- **Hairlines** — atmospheric uses elevated cards (`paper-2`, `paper-3`) instead of hairline-on-paper.- **Multiple accent hues** — one warm bloom + one secondary (pink/red) is the maximum. No teal-and-amber juggling.- **Glassmorphism** — banned. Atmospheric is *atmospheric*, not glass.@@ -43,6 +45,8 @@ Brief mentions any of: *AI tool, generative, music, video, image, voice, late-ni- *"A canvas, then a tool."*- *"Generate, refine, ship — between Tuesday and Wednesday."*- *"The instrument is dark. The output is yours."*+- *"Built to think in real time."* — Lumen voice; the verb is the landmark via accent colour + underline, never italics.+- *"A single primitive that scales down to zero."* — Lumen voice; technical, declarative.## Nav and footer voicediff --git a/skills/hallmark/references/genres/editorial.md b/skills/hallmark/references/genres/editorial.mdindex ce33db4..de865d9 100644--- a/skills/hallmark/references/genres/editorial.md+++ b/skills/hallmark/references/genres/editorial.md@@ -10,11 +10,13 @@ Default. Pick editorial when the brief does not name a specialised aesthetic —## Themes that belong-`Specimen`, `Newsprint`, `Atelier`, `Garden`, `Salon`, `Linen`, `Almanac`, `Studio`, `Riso`, `Sport`, `Brutal`, `Manifesto`. Twelve themes — plenty of variety inside the genre.+`Specimen`, `Newsprint`, `Atelier`, `Garden`, `Almanac`, `Studio`, `Riso`, `Sport`, `Brutal`, `Manifesto`, `Editorial`, `Carnival`. Twelve themes — plenty of variety inside the genre.++`Carnival` is the loud-maximalist editorial register — Dropout TV / Fly.io / Stones Throw / Third Man Records. Duo-tone accent system (mustard + oxblood), chunky variable display, decorative ornaments, hard-offset shadows. The loud sibling to Riso / Manifesto / Brutal.## Voice-- **Display** — italic serif, condensed sans, or display-heavy. Not Inter. Not Geist. The weight commits to an extreme (300 or 700+).+- **Display** — roman serif, condensed sans, or display-heavy. Not Inter. Not Geist. The weight commits to an extreme (300 or 700+). Italic is body-emphasis only — never the header face (global rule).- **Body** — workhorse serif (Newsreader, Cormorant) or a plain non-default sans (The Future, Söhne). Readable at 45–75 ch.- **Accent** — single warm or cool hue, used at < 5 % of any viewport.- **Layout** — asymmetric. Hairlines, not card borders. Generous whitespace.diff --git a/skills/hallmark/references/genres/modern-minimal.md b/skills/hallmark/references/genres/modern-minimal.mdindex e6f9b5f..12662fd 100644--- a/skills/hallmark/references/genres/modern-minimal.md+++ b/skills/hallmark/references/genres/modern-minimal.md@@ -8,7 +8,11 @@ Brief mentions any of: *SaaS, enterprise, API, platform, developer tool, infra,## Themes that belong-`Quiet` (canonical). Future themes can be added to this genre — anything monochrome or near-monochrome with Geist / Inter-class sans display and pill CTAs.+`Coral` (canonical) — warm-grey paper, single warm coral accent, Geist throughout, soft pill CTAs. The "Stripe-not-Linear" warmth.++`Cobalt` — the cool dev-tool / API / docs register (the GitBook + Firecrawl school, executed **cobalt-on-light, not orange**). Cool engineered near-white paper, one electric cobalt signal accent, Space Grotesk display + Inter body + JetBrains Mono code, ruler-drawn hairlines, tight 6 px radii, a bordered ⌘K nav, and a live code/API request–response hero. The technical, instrument-panel sibling to Coral's warmth — the rotation walks Coral ⇄ Cobalt when modern-minimal is active.++The two differ on every axis a glance registers: Coral is warm-grey + coral + Geist + pills; Cobalt is cool-white + electric blue + Space Grotesk/mono + tight-radius bordered controls. Future themes can join this genre too — anything monochrome or near-monochrome with an Inter-class sans display and a single restrained accent.## Voicediff --git a/skills/hallmark/references/genres/playful.md b/skills/hallmark/references/genres/playful.mdindex 0240af0..57a88df 100644--- a/skills/hallmark/references/genres/playful.md+++ b/skills/hallmark/references/genres/playful.md@@ -8,7 +8,9 @@ Brief mentions any of: *fun, consumer, casual, family, kids, friendly, approacha## Themes that belong-`Plume` (canonical). The genre is small intentionally — playful is easy to overdo.+`Hum` (vibrant, alive) is the genre's canonical theme — the post-Brilliant-alive register: multi-accent cream + pear + cyan + coral, mandatory motion, a single character moment. Pick it when the brief wants "feels alive in the room with you." For the quieter, more restrained end of friendly — "friendly but soft" rather than "alive" — reach instead for modern-minimal (Coral): a single low-chroma accent on warm paper, smooth easings, motion optional.++`Hum` is the catalog's only **rounded-sans-multi-accent** theme — it relaxes several playful defaults: bouncy spring easings are allowed (and canonical) on its primary CTA, accent chroma goes higher than 0.16, and motion is mandatory not optional. It answers a specific brief: a learning platform for curious adults, a daily-curiosity app, a habit tracker with character — products that should feel warm and alive, not merely tidy.## Voice@@ -29,20 +31,23 @@ Brief mentions any of: *fun, consumer, casual, family, kids, friendly, approacha## What this genre disallows-- **Saturated consumer-app pinks / purples** — colour stays low chroma even if friendly.+- **Saturated consumer-app pinks / purples** — playful keeps chroma low by default. **Hum is the documented exception** — pear-yellow at chroma 0.18, sky-cyan at 0.18, coral at 0.24 are allowed and canonical for Hum builds only.- **Emoji-as-decoration** — emoji can appear in copy ("we built X 🌱") but never as visual ornament replacing iconography.-- **Comic Sans, Comic Neue, anything that signals "we're zany"** — playful stays sophisticated.-- **Bouncy / overshoot easings** — gate 13 universal. Even playful uses smooth easings.+- **Comic Sans, Comic Neue, anything that signals "we're zany"** — playful stays sophisticated, even at full vibrancy.+- **Bouncy / overshoot easings** — playful uses smooth easings by default. **Hum is the documented exception** — spring overshoot (`cubic-bezier(0.34, 1.56, 0.64, 1)`) is canonical on the primary CTA and character moment (one each per page).- **Glassmorphism** — banned across all genres.- **Gradient text** — gate 5 universal. Stays banned.## Voice fixtures-- *"Made for teams who write together."*-- *"Soft, but exact."*-- *"Software can be soft and exact at once. That's the trick."*-- *"For the people who keep things tidy."*-- *"A small tool, gently opinionated."*+- *"Made for teams who write together."* — Hum voice+- *"Soft, but exact."* — Hum voice+- *"Software can be soft and exact at once. That's the trick."* — Hum voice+- *"A small tool, gently opinionated."* — Hum voice+- *"Your daily 30-second curio."* — Hum voice+- *"Get really good at one thing this quarter."* — Hum voice+- *"Notice yourself, in 30 seconds."* — Hum voice+- *"Learn something genuinely new today."* — Hum voice## Nav and footer voicediff --git a/skills/hallmark/references/hero-enrichment.md b/skills/hallmark/references/hero-enrichment.mdindex 6130349..7aacde5 100644--- a/skills/hallmark/references/hero-enrichment.md+++ b/skills/hallmark/references/hero-enrichment.md@@ -68,7 +68,7 @@ If the brief contains explicit visual cues, pick from this map:• "bakery", "kitchen", "café", "atelier" + craft brief → E5 custom illustration (Tier B SVG)• "agency", "studio", "portfolio" → E8 photography or no enrichment• "manifesto", "essay", "book", "letter" → no enrichment (typography only)- • Quiet theme picked → no enrichment (the theme IS restraint)+ • Coral theme picked → no enrichment (the theme IS restraint)Else if the brief is genuinely ambiguous, ask one question:"Want me to add a demo video, an illustration, or keep it@@ -227,7 +227,7 @@ A small custom-built loop — an orbiting dot, a breathing rectangle, an animateA two-colour CSS gradient at low chroma, overlaid with SVG `<feTurbulence>` grain at < 0.1 opacity. *Not* aurora; *not* purple-to-cyan mesh; *not* floating orbs. The point is *texture you can barely see* — paper-quality, not decoration.*Use when:* the page would feel synthetic with a flat surface.-*Avoid when:* the theme already has a paper feel (Specimen, Linen, Riso). Doubling the grain is muddy.+*Avoid when:* the theme already has a paper feel (Specimen, Atelier, Riso). Doubling the grain is muddy.**Knobs:**- Gradient direction (45° / 135° / radial)@@ -358,7 +358,7 @@ hero?.addEventListener('pointermove', (e) => {### HP4 · Decorative-numeral-A huge edition number / year / chapter glyph set in display-italic in a hero corner. The numeral *means something* — issue 22, year 2026, chapter 03, version 0.8. Reads as editorial · salon · newsprint · almanac.+A huge edition number / year / chapter glyph set in display-italic in a hero corner. The numeral *means something* — issue 22, year 2026, chapter 03, version 0.8. Reads as editorial · newsprint · almanac.*Use when:* the page genuinely has an edition / issue / chapter / version semantic — magazines, journals, archived work, dated essays.*Avoid when:* the numeral has no semantic anchor. A random "42" in the corner reads as decoration, which is slop (see slop-test gate 55).@@ -386,8 +386,9 @@ A huge edition number / year / chapter glyph set in display-italic in a hero corEvery hero — enriched or not, polished or not — obeys these rules.- **Footprint.** The hero takes 70–90 % of the first viewport's height — no more, no less. `min-height: 100vh / 100dvh` is the AI fingerprint (gate 7); a hero that's only 20 % of the viewport feels like a header. Aim for `min-height: clamp(60vh, 75dvh, 88dvh)` and let content settle inside.+- **Fit the fold — content, not just the box.** The Footprint rule caps the hero's *height*; this caps its *content*. On a 13″ laptop (~800 px tall) the eyebrow + headline + lede + primary CTA must all be visible **without scrolling**. When they aren't, it's almost always wasted vertical space — an oversized display `clamp()` max, display line-height near 1.2, a 3-line lede, or `padding-block` bloat. Pull the clamp max down, set display line-height 1.0–1.1, hold the lede to ~2 lines, trim the padding. **Right-size, don't cramp** — a hero that already fits needs no shrinking, and this never means tiny type or no whitespace. Slop-test gate 70 enforces this.- **Asymmetric padding.** `padding-block-end` ≥ 1.3× `padding-block-start`. The hero sits *into* the page; symmetric padding floats. Slop-test gate 54 enforces this.-- **Never centre everything.** Eyebrow + title + lede + CTA all stacked centred is the AI fingerprint. Pick at most *two* centred elements; break alignment for the others. Gate 53 enforces this. Centred-narrow heroes are admissible only when the genre is editorial / salon / atelier *and* the eyebrow or CTA breaks alignment.+- **Never centre everything.** Eyebrow + title + lede + CTA all stacked centred is the AI fingerprint. Pick at most *two* centred elements; break alignment for the others. Gate 53 enforces this. Centred-narrow heroes are admissible only when the genre is editorial / atelier *and* the eyebrow or CTA breaks alignment.- **Entrance animation.** Pick one of {fade, sweep, none} per element — never both fade *and* sweep on the same element. Duration ≤ 220 ms. Disable on `prefers-reduced-motion: reduce`. Cross-reference the "One orchestrated reveal per page" rule below.- **Headline typography.** Prefer one display weight + tight tracking (-0.02em to -0.04em) over default 0; line-height 0.95–1.05 for display, never 1.2 (which inherits the body line-height and reads as un-set type). Avoid two display weights on the same headline (a `<strong>` in a different weight inside the title is AI's idea of "emphasis"; pick one weight, let the words carry).- **One polish pattern, max.** HP1–HP4 are mutually exclusive on a single hero. A vertical rail *and* a marquee-overflow *and* a cursor spotlight *and* a decorative numeral on one hero is a panic attack. Pick one.@@ -438,7 +439,7 @@ Every question must answer *yes* before the enrichment ships. If any answer is *5. If illustration: built or generated with intent? **Not picked from a Lottie library as a shortcut?**6. If background: under one accent colour at < 5 % footprint? (Aurora and mesh-gradients fail this.)7. Does it survive being deleted? (If the hero still works without it, it earned its place. If the hero collapses without it, you propped weak typography on a crutch.)-8. Does its tone match the page's tone? (Risograph illustration on a Brutal page = wrong. Hand-drawn doodle on a Workbench developer-tool page = wrong. Three.js bloom on a Quiet page = wrong.)+8. Does its tone match the page's tone? (Risograph illustration on a Brutal page = wrong. Hand-drawn doodle on a Workbench developer-tool page = wrong. Three.js bloom on a Coral page = wrong.)The slop test ([`SKILL.md`](../SKILL.md) §5) carries four binary gates that mirror these questions; the audit verb runs them.@@ -454,7 +455,7 @@ When you ship enrichment, the macrostructure stamp records the choice:* polish: HP3 Cursor-spotlight (scoped to hero, reduced-motion fallback pinned at 50%/30%)* nav: N5 Floating pill · footer: Ft5 Statement* craft: tier-A CSS art (no real video — pure custom-built mockup)- * theme: Linen · accent: steel-blue ~3% · studied: no+ * theme: Newsprint · accent: steel-blue ~3% · studied: no*/```@@ -468,7 +469,7 @@ This signals to future Hallmark runs (and to the audit verb) what was chosen and- **Defaulting to E5 illustration on every brief.** Most heroes don't want an illustration. Reach for E0 (typography only) first; reach for E1–E4 when there's a *thing* to show; reach for E5 only when illustration genuinely matches the tone.- **Using a stock Lottie checkmark as the hero animation.** That's tier E used to skip tiers A–D. Build the checkmark in pure CSS (`stroke-dasharray` animated to draw the tick); it's 8 lines.-- **Adding a grain background everywhere.** Grain is a treatment, not a default. Half the existing themes already carry texture (Riso, Linen, Specimen). Don't double up.+- **Adding a grain background everywhere.** Grain is a treatment, not a default. Half the existing themes already carry texture (Riso, Atelier, Specimen). Don't double up.- **Treating the abstract background as the hero.** It isn't. The headline is. The background is paper.- **Shipping the unmodified Storyset SVG.** That's tier D ungrounded — the library look. Customise the colour to your anchor hue at minimum; recompose if you can.- **A clipped-edge video on mobile.** The clip reads as broken on a 375-px viewport. Always collapse to stacked at < 60 rem.diff --git a/skills/hallmark/references/macrostructures/12-letter.md b/skills/hallmark/references/macrostructures/12-letter.mdindex bb31f6f..9320d85 100644--- a/skills/hallmark/references/macrostructures/12-letter.md+++ b/skills/hallmark/references/macrostructures/12-letter.md@@ -18,6 +18,6 @@ Reference: Frank Chimero's site, founder farewell posts, indie newsletter front**Sample opening lines** (imitate the *specificity* — Letter openings are first-person greetings, dated, with a place if relevant):> *"Hello, I'm Anya."* — Anya (test 06) — single line, name, full stop> *"Saturday, 6:14 a.m. The dough went in at midnight."* — opens on a moment, then explains it-> *"Hey there. This page is soft because the surface should be soft."* — Hallmark Plume — colloquial open + a principle+> *"Hey there. This page is soft because the surface should be soft."* — Hallmark Hum — colloquial open + a principle---diff --git a/skills/hallmark/references/microinteractions.md b/skills/hallmark/references/microinteractions.mdindex 6287bcf..1e0fb62 100644--- a/skills/hallmark/references/microinteractions.md+++ b/skills/hallmark/references/microinteractions.md@@ -193,7 +193,7 @@ Trigger: ⌘K or `/`. Open: instant, no animation. Arrow-keys move selection —### Page-load reveals-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*. Theme-specific themes (Atelier, Salon, Newsprint) skip reveals entirely; that is correct, not a bug.+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*. Theme-specific themes (Atelier, Newsprint) skip reveals entirely; that is correct, not a bug.## The named tells (what AI defaults produce)@@ -234,8 +234,6 @@ Microinteractions adapt to the theme. The same button press is louder in Brutal| Newsprint | 0× | none | Static. Print metaphor. || Terminal | 0× | none, except caret blink *inside* a typed command (N8 nav, install code) | Print + monospace metaphor. **No standalone blinking cursor** — see the Caret blink row above. The caret only blinks where the user would type. || Manifesto | 0.7× | `--ease-out` (sharp) | Snap into place. |-| Salon | 1.4× | `--ease-out` (very gentle) | Softest. |-| Linen | 1.2× | `--ease-out` | Calm. || Almanac | 0.85× | `--ease-out` | Functional, like a reference book. || Sport | 0.7× | `--ease-out` (sharp) | Quick, italic-energy. |diff --git a/skills/hallmark/references/preview-examples.md b/skills/hallmark/references/preview-examples.mdindex 7de789a..ab642af 100644--- a/skills/hallmark/references/preview-examples.md+++ b/skills/hallmark/references/preview-examples.md@@ -8,22 +8,22 @@ Four sample Step 5 preview blocks for the model to imitate, varied across macros> **Hallmark · v1.0.0**>> - **Macrostructure** · Long Document-> - **Theme** · Linen (cool slate paper · steel-blue accent · geometric sans)+> - **Theme** · Newsprint (cool slate paper · steel-blue accent · geometric sans)> - **Enrichment** · Tier-B hand-built SVG (a 60-line coffee bean with `@property --rise` 6 s breathing-loop)> - **Sections** · Masthead · Letter · Three Notes · Visit · Colophon> - **Motion** · breathing-loop on bean only (respects `prefers-reduced-motion`)-> - **Slop test** · 69 / 69 ✓+> - **Slop test** · 70 / 70 ✓> - **Diversification** · first run for this project*Bento Grid (SaaS, motion-on):*> **Hallmark · v1.0.0**>> - **Macrostructure** · Bento Grid-> - **Theme** · Linen (cool slate paper · steel-blue accent · geometric sans)+> - **Theme** · Newsprint (cool slate paper · steel-blue accent · geometric sans)> - **Enrichment** · E1 Clipped-Edge Demo Video, Tier-A CSS-art trace waterfall> - **Sections** · Hero · 6-tile Bento (stat · sparkline · quote · code · integrations · spotlight) · Index Footer> - **Motion** · counter · pricing-lift · CSS marquee on integrations strip-> - **Slop test** · 69 / 69 ✓+> - **Slop test** · 70 / 70 ✓> - **Diversification** · differs from Plain on paper hue (light-cool vs pure-white) + accent (indigo vs ink-blue)*Manifesto (declarative, no enrichment):*@@ -34,8 +34,8 @@ Four sample Step 5 preview blocks for the model to imitate, varied across macros> - **Enrichment** · none (typography only — voice carries the brand)> - **Sections** · Masthead · Title · Five Declarations · Bleed Band · What We Refuse · Working Rules · Practice · Reading · Colophon> - **Motion** · none — typography only-> - **Slop test** · 69 / 69 ✓-> - **Diversification** · differs from Linen on paper band (dark vs light) + display style (display-heavy vs geometric-sans)+> - **Slop test** · 70 / 70 ✓+> - **Diversification** · differs from Newsprint on paper band (dark vs light) + display style (display-heavy vs geometric-sans)*Custom (Coffeebox archival café):*> **Hallmark · v1.0.0**@@ -45,5 +45,5 @@ Four sample Step 5 preview blocks for the model to imitate, varied across macros> - **Enrichment** · Tier-A pure-CSS coffee bean (60-line SVG, breathing-loop optional)> - **Sections** · Masthead · Letter · Three Notes · Visit · Colophon> - **Motion** · breathing-loop on bean (with reduced-motion fallback)-> - **Slop test** · 69 / 69 ✓-> - **Diversification** · custom axes: light / italic-serif / chromatic-terracotta — differs from previous catalog Linen on accent hue + display style+> - **Slop test** · 70 / 70 ✓+> - **Diversification** · custom axes: light / italic-serif / chromatic-terracotta — differs from previous catalog Newsprint on accent hue + display stylediff --git a/skills/hallmark/references/slop-test.md b/skills/hallmark/references/slop-test.mdindex 4419a67..c8f3ddf 100644--- a/skills/hallmark/references/slop-test.md+++ b/skills/hallmark/references/slop-test.md@@ -1,4 +1,4 @@-# Slop test — 60 gates + pre-emit self-critique+# Slop test — 70 gates + pre-emit self-critiqueRun this list before handing back any output. Every answer must be **no**. Update the Step 5 preview block's `Slop test` row to reflect the actual outcome of this run.@@ -8,7 +8,7 @@ Some gates are **universal** (apply to every genre); some are **genre-scoped** (## Pre-emit self-critique (six axes)-Run this **before** the gate list, not after. Score the planned output 1–5 on each axis. Anything **< 3 on any axis triggers a revision pass** before the gate sweep — don't bring known weakness into a sixty-gate review.+Run this **before** the gate list, not after. Score the planned output 1–5 on each axis. Anything **< 3 on any axis triggers a revision pass** before the gate sweep — don't bring known weakness into a seventy-gate review.Two passes is normal. Three is a sign the brief is wrong, not the design — re-read the brief.@@ -99,6 +99,7 @@ Record the six scores in a one-line stamp comment at the top of the file: `/* Ha39. Does the page use **more than three** distinct `font-family` families? Count: `--font-display`, `--font-body`, and at most one outlier (`--font-outlier` for wordmark / hero stat / pull quote). A fourth family on the page — e.g. body + display + mono in code blocks + a separate display for the hero — is slop. Same family at different weights counts as one family. Mono counts as a family if used in any non-code context (captions, labels, numerals). If you find four, drop one back to the body or display face.40. Is the **outlier face used in more than two slots** on the page? The outlier is a register, not a third surface — wordmark + hero stat is the canonical pair, or wordmark + masthead, or hero stat + pull quote. Three slots = the outlier is now a third body font; collapse it back to the body face.+40a. Is any **heading or display type italic** (`font-style: italic` on `h1`–`h6`, a `.*__title`, `.hero__title`, a wordmark, a stat figure, a footer statement, or an `<em>`/`<i>` inside a heading)? If yes, fail. Italic headers — above all the single italicised emphasis-word inside an upright headline — are a top AI tell. Headers are roman; emphasis comes from weight, accent colour, or a drawn underline. Italic is allowed *only* as body-copy emphasis inside running paragraphs. (Applies to every theme; Studio / Garden / Sport — historically italic-display — are reworked to roman.)## Input-state gates@@ -140,7 +141,7 @@ Universal — apply to every genre. These gates catch the most-recognised AI fin52. **Footer fingerprint.** Is the `<footer>` the AI default — 4 columns of links (Product / Company / Resources / Legal) + social-icon row + tiny copyright at the very bottom + 1 px hairline top-border + neutral grey background? If yes, fail unless the page is a genuine docs root or hub. Default to Ft1, Ft2, Ft4, Ft5, Ft6, Ft7, or Ft8 from [`component-cookbook.md`](component-cookbook.md) § Footers.-53. **Hero centred-everything.** Are eyebrow, title, lede, AND CTA all stacked centred on the same vertical axis? Auto-fail. Pick at most two centred elements; break alignment for the others. Centred-narrow heroes are admissible *only* on editorial / salon / atelier voice, and even then the eyebrow or CTA should sit off-axis (margin-aligned, right-flush, or numeral-anchored).+53. **Hero centred-everything.** Are eyebrow, title, lede, AND CTA all stacked centred on the same vertical axis? Auto-fail. Pick at most two centred elements; break alignment for the others. Centred-narrow heroes are admissible *only* on editorial / atelier voice, and even then the eyebrow or CTA should sit off-axis (margin-aligned, right-flush, or numeral-anchored).54. **Hero padding asymmetry.** Is `padding-block-end` ≥ 1.3× `padding-block-start` on the hero container? If hero pads symmetrically (or pads *more* on top), it floats off the page. Hero must sit *into* the page — heavier bottom padding pulls it down into the next section's rhythm. Compute on the rendered output's hero element.@@ -196,7 +197,9 @@ Universal. Every emitted page must render flawlessly at 320 px, 375 px, 414 px,68. **Sticky element at `top: 0` below a sticky page-level nav → bleed.** Does the artifact declare `position: sticky; top: 0;` on any element OTHER than the page's top-level nav / banner / header, when a sticky `<header>` / `<nav>` / `.banner` also exists at `top: 0` (i.e. there are two sticky-at-top-0 elements on the page)? Auto-fail. Both stick to the viewport top during scroll and overlap; the deeper-in-DOM element paints over the nav (visible as a "section header bleeding into the nav bar" glitch). Fix: define a `--banner-height` token (~44–64 px depending on nav design) and offset every secondary sticky to `top: var(--banner-height)`, so it docks **beneath** the nav. Also give the nav a higher z-index than in-page sticky elements — split `--z-sticky` (in-page, e.g. 200) from `--z-sticky-nav` (top nav, e.g. 300) so the nav always out-paints when sticky boxes momentarily overlap. This gate fires only when the page actually has sticky elements (S3 sticky-pinned section heads, F2 sticky-scroll feature stacks, sticky tables-of-contents); pages without sticky behaviour pass trivially.-69. **Studied DNA discarded for a catalog theme.** Did a `study` diagnosis emit earlier in the conversation, AND does the build's CSS stamp's `theme:` field name a catalog theme (Specimen, Atelier, Brutal, Salon, Newsprint, Linen, Studio, Manifesto, Terminal, Midnight, Almanac, Garden, Quiet, Riso, Sport, Bloom, Coral, Violet, Aurora, Halo, Plume, Editorial) rather than `studied-DNA (source: ...)` — without the user having explicitly pivoted ("use Linen instead", "ignore the DNA", "rotate to a different theme")? Auto-fail. The studied DNA was meant to be the system (SKILL.md § 2.6 Condition 0); defaulting back to catalog is the attractor pull. Fix: re-emit using the studied DNA's tokens directly (paper OKLCH, accent OKLCH, named candidate fonts, macrostructure, archetypes) and update the stamp to `theme: studied-DNA (source: <URL or image>)` with the inline values. This gate is trivially passed when no recent study exists in conversation scope.+69. **Studied DNA discarded for a catalog theme.** Did a `study` diagnosis emit earlier in the conversation, AND does the build's CSS stamp's `theme:` field name a catalog theme (Specimen, Midnight, Brutal, Garden, Atelier, Newsprint, Terminal, Manifesto, Almanac, Sport, Studio, Riso, Bloom, Coral, Cobalt, Aurora, Editorial, Carnival, Lumen, Hum) rather than `studied-DNA (source: ...)` — without the user having explicitly pivoted ("use Newsprint instead", "ignore the DNA", "rotate to a different theme")? Auto-fail. The studied DNA was meant to be the system (SKILL.md § 2.6 Condition 0); defaulting back to catalog is the attractor pull. Fix: re-emit using the studied DNA's tokens directly (paper OKLCH, accent OKLCH, named candidate fonts, macrostructure, archetypes) and update the stamp to `theme: studied-DNA (source: <URL or image>)` with the inline values. This gate is trivially passed when no recent study exists in conversation scope.++70. **Hero content overflows the first viewport.** On a standard laptop viewport — test at **1280×800** (13″), not just 1440×900 — can the hero's essential content (eyebrow, headline, lede, **and the primary CTA**, plus any hero visual's focal point) all be seen **without scrolling**? If not, fail. This is the other half of gate 7: gate 7 caps the hero's *box* (`min-height`); this caps its *content*. A hero can satisfy `min-height: 75dvh` and still overflow because the content is intrinsically too tall — the usual culprits are an **oversized display clamp** (the `clamp()` max is bigger than what fits), **loose line-height** (display at ~1.2 instead of 1.0–1.1), a **lede that runs 3+ lines**, or **bloated `padding-block`** / stacked empty whitespace. Right-size to the fold: pull the display clamp's max down until the headline fits 2–3 lines above the fold, set display line-height 1.0–1.1, hold the hero lede to ~2 lines (≤ ~60 ch), and trim hero padding so the block fits one screen. **Don't overcorrect:** the target is *intentional fit*, not a shrunken or cramped hero — a hero that already fits passes untouched, and this never means tiny type or stripped whitespace. Long-form / art-directed statements (a poem broadside, a scroll-poster) may legitimately run taller than one screen, but even then the **first screen must read as a complete, deliberate composition** — never a headline sliced in half by the fold. Verify on the rendered output at 1280×800.The CSS stamp at Step 6 records mobile pass alongside contrast: `· mobile: pass (36, 59, 61–69)`.diff --git a/skills/hallmark/references/structure.md b/skills/hallmark/references/structure.mdindex 3e45851..cf6f7d9 100644--- a/skills/hallmark/references/structure.md+++ b/skills/hallmark/references/structure.md@@ -30,7 +30,7 @@ How does long-form content lay out beyond "single column at 65ch"?| Pattern | When | Reference || --- | --- | --- || **Single column** | Narrative-first, reading-led. The default for editorial. | Most blogs. |-| **Two-column asymmetric** | Wide body + narrow margin column for metadata, captions, marginalia. | Semplice; Linen-style. |+| **Two-column asymmetric** | Wide body + narrow margin column for metadata, captions, marginalia. | Semplice; Atelier-style. || **Multi-column justified** | Newspaper rhythm; 2–3 narrow columns, hyphenated, justified. | The Guardian; FT.com; Newsprint. || **Marginalia** | Sidenotes in a generous outer margin run alongside core text. | Tufte CSS; scholarly publications. || **Three-column equal** | Encyclopedia / reference / data-density. Chunked, scannable. | Wikipedia; Whole Earth Catalog; Almanac. |@@ -42,8 +42,8 @@ How does long-form content lay out beyond "single column at 65ch"?How do sections separate?- **Hairline rule.** 0.5–1px line, inset or full-bleed. Hallmark's default; modernist.-- **Ornament.** Fleuron (`❦`), centered dot, geometric mark. Salon, editorial classic.-- **Negative space.** No rule at all — the gap *is* the divider. Apple, Linen, modern minimalism.+- **Ornament.** Fleuron (`❦`), centered dot, geometric mark. Garden, editorial classic.+- **Negative space.** No rule at all — the gap *is* the divider. Apple, Coral, modern minimalism.- **Bleed-color block.** Section background colour shifts; the colour edge is the divider. Manifesto, Brutal.- **Double rule / typographic mark.** Top + bottom line tight together; signals masthead in Newsprint.@@ -54,7 +54,7 @@ How do CTAs happen?- **Outlined.** Border, no fill. Secondary or quiet primary. Hallmark default.- **Unstyled link.** Underlined word, no box. Trust the typography. Editorial / craft sites.- **Oversized solid.** Big block of accent colour, full padding. Manifesto, Sport, statement-CTA.-- **Typographic-only.** A word in a specific weight/size/colour, no rule, no box. Looks like a headline that happens to be clickable. Atelier, Salon.+- **Typographic-only.** A word in a specific weight/size/colour, no rule, no box. Looks like a headline that happens to be clickable. Atelier, Studio.- **Form-as-CTA.** The button is part of an inline form; the action *is* fill-this-field. Newsletter signups.### 5. Image treatment@@ -64,7 +64,7 @@ How does imagery enter the page?- **Full-bleed.** Edge-to-edge, viewport width, image as architecture. Manifesto, Sport.- **Tightly cropped.** Small, deliberate, sized to grid. Almanac, Atelier still-life.- **Inline with text.** Image flows within the paragraph rhythm, sized to measure. Editorial, Newsprint.-- **Margin-aligned.** Image sits in the wide outer margin; body unbroken. Linen, Tufte.+- **Margin-aligned.** Image sits in the wide outer margin; body unbroken. Garden, Tufte.- **None.** No imagery; typography carries everything. Specimen, Manifesto-as-text-poster, Terminal.### 6. Reveal pattern@@ -102,21 +102,15 @@ The table below is alphabetical by theme to neutralise any "first row = default"| Brutal | Overlapping image | Full-bleed reset | Bleed-colour | Oversized solid | Full-bleed | Horizontal sweep | N7 Brutal slab | Ft8 Marquee scroll || Coral | Centered | Single column | Negative space | Outlined | Margin-aligned | Fade-up | N5 Floating pill | Ft1 Mast-headed || Garden | Hanging | Marginalia | Negative space | Unstyled link | Margin-aligned | None | N9 Edge-min | Ft6 Letter close |-| Halo | Centered | Single column | Negative space | Outlined | None | Fade-up | N5 Floating pill | Ft5 Statement |-| Linen | Hanging | Two-column asymmetric | Negative space | Unstyled link | Margin-aligned | Fade-up | N6 Masthead | Ft1 Mast-headed || Manifesto | Overlapping image | Full-bleed reset | Bleed-colour | Oversized solid | Full-bleed | Horizontal sweep | N7 Brutal slab | Ft5 Statement || Midnight | Numbered display | Single column | Hairline | Typographic-only | None | Typewriter | N5 Floating pill | Ft2 Inline single line || Newsprint | Bottom-aligned | Multi-column justified | Double rule | Outlined | Inline | None | N6 Masthead | Ft4 Dense colophon |-| Plume | Hanging | Single column | Bleed-colour band | Outlined | Margin-aligned | Fade-up | N9 Edge-min | Ft1 Mast-headed || Editorial | Hanging | 2-col asym hero / single below | Hairline | Outlined | Tightly cropped or generated (Tier C) | Fade-up | N6 Masthead | Ft1 Mast-headed |-| Quiet | Centered | Single column narrow | Negative space | Outlined pill | None | None | N9 Edge-min | Ft2 Inline single line || Riso | Centered | Single column | Negative space | Outlined | Inline | None | N7 Brutal slab | Ft8 Marquee scroll |-| Salon | Centered | Single column narrow | Ornament (fleuron) | Outlined | Tightly cropped | None | N6 Masthead | Ft1 Mast-headed || Specimen | Left-margin | Asymmetric spans | Hairline | Outlined | None | Fade-up | N5 Floating pill | Ft2 Inline single line || Sport | Numbered display | Asymmetric spans | Bleed-colour | Oversized solid | Full-bleed | Horizontal sweep | N7 Brutal slab | Ft8 Marquee scroll || Studio | Centered | Asymmetric spans | Negative space | Typographic-only | Tightly cropped | Fade-up | N7 Brutal slab | Ft3 Index columns || Terminal | Inline (with `>` prompt) | Single column | Negative space | Typographic-only `[ go ]` | None | Typewriter | N8 Terminal command | Ft4 Dense colophon |-| Violet | Hanging | Single column | Negative space | Outlined | None | Fade-up | N5 Floating pill | Ft2 Inline single line |## Anti-patterns of structural samenessdiff --git a/skills/hallmark/references/study.md b/skills/hallmark/references/study.mdindex 893777c..5d72092 100644--- a/skills/hallmark/references/study.md+++ b/skills/hallmark/references/study.md@@ -256,8 +256,6 @@ After the schema is filled, map the source to one of Hallmark's named themes —| `paper_band: light`, `display: heavy black sans`, `accent: red flood` | **Brutal** || `paper_band: dark`, `display: heavy uppercase`, `accent: red flood` | **Manifesto** || `paper_hue: cool`, `density: dense`, `body: 2-3 column justified` | **Newsprint** |-| `paper_hue: warm`, `density: generous`, `display: ornamental serif`, `dividers: fleuron` | **Salon** |-| `paper_hue: warm`, `density: medium`, `display: roman serif`, `body: italic serif` | **Linen** || `paper_band: light cool`, `font: mono labels`, `density: dense`, `tabular numbers` | **Almanac** || `display: italic display`, `accent: red`, `tabular numbers`, `motion: horizontal sweep` | **Sport** || `display: ornamental script`, `paper: cream`, `density: medium-generous` | **Garden** |diff --git a/skills/hallmark/references/themes/carnival.md b/skills/hallmark/references/themes/carnival.mdnew file mode 100644index 0000000..1f51c41--- /dev/null+++ b/skills/hallmark/references/themes/carnival.md@@ -0,0 +1,284 @@+# Theme — Carnival++Loud-maximalist editorial. **Duo-tone accent system across six named palette drops** (each its own mood), chunky variable display, decorative ornaments, hard-offset shadows, tinted paper. The loud sibling to Riso / Manifesto / Brutal — but **decorative, not raw**.++Loaded eagerly by SKILL.md Step 3 whenever the catalog pick is `carnival`. The default palette ("Cold Snap") and font stack live in [`site/css/tokens.css`](../../../../site/css/tokens.css) under `[data-theme="carnival"]`; this file carries the **palette drops** (six variants) plus the rules that tokens cannot encode.++## Axes (diversification)++- **Paper band** — light (`L 88–95%`, tinted — varies by drop)+- **Display style** — **display-heavy** (Big Shoulders Display 800, variable-width axis)+- **Accent hue** — **per-drop**. Each drop has its own duo-tone hue pair (warm+warm, cool+warm, warm+cool, etc.). The drop name is recorded alongside the theme name in the diversification log so consecutive builds rotate drops, not just themes.++## Palette drops++A drop is a named duo-tone palette that preserves Carnival's structural signature (saturated accent-1 + complementary accent-2 + tinted paper + deep ink) while rotating hue. **Every Carnival build picks one drop.** The catalog of six:++### Drop 01 · Cold Snap *(default)*++Warm + warm. Indie record-label, winter, scrappy. The canonical Carnival.++- `--color-paper: oklch(92% 0.045 50)` — warm pink-cream+- `--color-paper-2: oklch(88% 0.050 45)`+- `--color-paper-3: oklch(82% 0.060 40)`+- `--color-ink: oklch(18% 0.080 20)` — deep aubergine+- `--color-ink-2: oklch(28% 0.060 25)`+- `--color-muted: oklch(45% 0.05 30)`+- `--color-rule: oklch(40% 0.18 25)` — oxblood rules (decorative)+- `--color-accent: oklch(86% 0.18 95)` — mustard+- `--color-accent-2: oklch(40% 0.21 25)` — oxblood+- `--color-accent-ink: oklch(18% 0.080 20)`+- `--color-focus: oklch(40% 0.21 25)`++**When to pick:** independent music · winter releases · DIY scrappy · the brief mentions cassettes, vinyl, EPs.++### Drop 02 · Citrus Riot++Loud + neon. 90s zine, summer, electric. Lime against magenta — the hardest collision in the catalogue.++- `--color-paper: oklch(94% 0.040 85)` — pale acid cream+- `--color-paper-2: oklch(90% 0.048 82)`+- `--color-paper-3: oklch(84% 0.055 80)`+- `--color-ink: oklch(20% 0.07 145)` — deep forest+- `--color-ink-2: oklch(32% 0.05 140)`+- `--color-muted: oklch(48% 0.04 130)`+- `--color-rule: oklch(48% 0.24 350)` — magenta rules+- `--color-accent: oklch(82% 0.20 130)` — chartreuse-lime+- `--color-accent-2: oklch(50% 0.24 350)` — magenta+- `--color-accent-ink: oklch(20% 0.07 145)`+- `--color-focus: oklch(50% 0.24 350)`++**When to pick:** zine collectives · summer drops · skate / DIY culture · briefs that want LOUD without referencing music.++### Drop 03 · Diner Sign++Americana. Cream + cherry red + navy. Postwar diner, road trip, neon-and-chrome.++- `--color-paper: oklch(95% 0.035 90)` — bright cream+- `--color-paper-2: oklch(91% 0.042 88)`+- `--color-paper-3: oklch(86% 0.050 85)`+- `--color-ink: oklch(16% 0.04 30)` — black-brown+- `--color-ink-2: oklch(28% 0.05 30)`+- `--color-muted: oklch(45% 0.04 35)`+- `--color-rule: oklch(30% 0.16 250)` — navy rules+- `--color-accent: oklch(60% 0.22 25)` — cherry red+- `--color-accent-2: oklch(30% 0.16 250)` — navy+- `--color-accent-ink: oklch(95% 0.035 90)`+- `--color-focus: oklch(30% 0.16 250)`++**When to pick:** food + drink · hospitality · vintage Americana · briefs mentioning burgers, milkshakes, motels, roadside.++### Drop 04 · Studio Night++Cool + cool. Dusk warmth, cyan + plum. Late-night booth, blue hour, podcast studio at midnight.++- `--color-paper: oklch(88% 0.05 25)` — warm dusk pink+- `--color-paper-2: oklch(84% 0.055 22)`+- `--color-paper-3: oklch(78% 0.06 20)`+- `--color-ink: oklch(20% 0.05 270)` — deep navy-black+- `--color-ink-2: oklch(32% 0.045 265)`+- `--color-muted: oklch(48% 0.04 260)`+- `--color-rule: oklch(42% 0.16 320)` — plum rules+- `--color-accent: oklch(78% 0.18 220)` — cyan+- `--color-accent-2: oklch(42% 0.16 320)` — plum+- `--color-accent-ink: oklch(20% 0.05 270)`+- `--color-focus: oklch(42% 0.16 320)`++**When to pick:** late-night radio · podcasts about anything · music + atmosphere · briefs mentioning "late", "after dark", "blue hour", "moonlight".++### Drop 05 · Aqua Park++Cool + warm. Turquoise against coral. Summer pool, motel sign, vacation.++- `--color-paper: oklch(94% 0.040 180)` — pale aqua-cream+- `--color-paper-2: oklch(90% 0.048 178)`+- `--color-paper-3: oklch(84% 0.055 175)`+- `--color-ink: oklch(20% 0.06 200)` — deep teal+- `--color-ink-2: oklch(32% 0.05 198)`+- `--color-muted: oklch(48% 0.04 195)`+- `--color-rule: oklch(60% 0.20 35)` — coral rules+- `--color-accent: oklch(72% 0.16 195)` — turquoise+- `--color-accent-2: oklch(60% 0.20 35)` — coral+- `--color-accent-ink: oklch(20% 0.06 200)`+- `--color-focus: oklch(60% 0.20 35)`++**When to pick:** summer brands · vacation / hospitality · skate / surf / pool · briefs mentioning summer, beach, motel, sun.++### Drop 06 · Pressroom++Warm + cool. Amber-gold against slate-blue. 1950s journalism, print shop, broadsheet weight.++- `--color-paper: oklch(89% 0.025 65)` — warm slate-cream+- `--color-paper-2: oklch(85% 0.030 62)`+- `--color-paper-3: oklch(79% 0.035 58)`+- `--color-ink: oklch(16% 0.02 60)` — ink-black+- `--color-ink-2: oklch(28% 0.025 58)`+- `--color-muted: oklch(45% 0.025 55)`+- `--color-rule: oklch(34% 0.10 240)` — slate-blue rules+- `--color-accent: oklch(78% 0.18 75)` — amber-gold+- `--color-accent-2: oklch(34% 0.10 240)` — slate-blue+- `--color-accent-ink: oklch(16% 0.02 60)`+- `--color-focus: oklch(34% 0.10 240)`++**When to pick:** journalism · newsletters · editorial / opinion · briefs mentioning "press", "newspaper", "broadsheet", "subscription".++### Drop rotation rule++The diversification log (`/.hallmark/log.json`) records the drop alongside the theme: `"theme": "carnival", "drop": "studio-night"`. **A new Carnival build picks a drop that hasn't appeared in the last 3 entries.** If only Cold Snap is in the log, any of the other five is valid. If the brief contains a strong drop signal (see "when to pick" above), honour the signal even if it tightens diversification.++### When to construct a custom drop instead++If the brief explicitly names a brand colour that doesn't fit any catalog drop — e.g. *"our brand is teal and beige"* — route to the **custom theme** branch (see `custom-theme.md`) instead of stretching a Carnival drop. Drops are curated, not infinite. Six is the right number for now.++## Reference register++Dropout TV · Fly.io · Stones Throw Records · Third Man Records · Drag City · Moodelier · Kelsey Dake · Bold Monday.++The aesthetic: independent music labels, comedy networks, illustrator portfolios, hot-sauce brands, indie game studios. Things with **character**. Things that print posters as a side hustle. Things that sound loud out loud.++**Patron-saint reference (internal):** *Dropout TV homepage* + *Stones Throw artist pages*. When in doubt about decorative density, ask "would Dropout or Stones Throw run this much density?" If less, add ornaments. If more, you've gone too far.++## Signature moves++The theme's seven tics. A Carnival build should exhibit at least five of them.++1. **Duo-tone accent system.** Sections alternate which accent fills them. Section 1 fills with `--color-accent` (mustard); section 2 fills with `--color-accent-2` (oxblood); section 3 mustard again; etc. One section never shows both — they are *competing*, not blended.++ ```css+ .section:nth-of-type(odd) { --section-fill: var(--color-accent); }+ .section:nth-of-type(even) { --section-fill: var(--color-accent-2); }+ ```++2. **Decorative ornaments.** Use `✱` (asterisk operator), `❋` (heavy six-petalled), `◆` (black diamond) as bullets, section dividers, and rhythmic spacers. Patterns:+ - Section dividers: `✱ ✱ ✱ ✱` (repeated 4×, centred)+ - List bullets: `❋` (replaces • / disc)+ - Section heading prefixes: `◆ Section Name` (left-aligned, ornament in accent colour)++3. **Layered colour blocks that bleed off the page edge.** Accent fills extend 24px past the page max-width on the left or right, so they read as **posters pinned to the wall**, not as buttons.++ ```css+ .colour-block { margin-inline: calc(var(--page-gutter) * -1); padding-inline: var(--page-gutter); }+ ```++4. **Hard-offset drop shadow.** Every card, CTA, and image gets `box-shadow: 4px 4px 0 var(--color-ink)`. No soft shadows ever. The shadow is **flat ink, offset**. This is the single most-recognisable Carnival move.++5. **All-caps headlines with Big Shoulders variable-width** pulled wide. `font-variation-settings: "wdth" 110, "wght" 800;` for hero headlines. Tracking 0.04em. Looks like a marquee poster.++6. **Halftone pattern fills** in placeholder image regions. Pure CSS, no images:++ ```css+ .halftone {+ background-image: radial-gradient(var(--color-ink) 1.5px, transparent 1.5px);+ background-size: 12px 12px;+ }+ ```++ Used wherever the page would otherwise have a photo placeholder.++7. **Marquee scroll** on banner OR footer with decorative dot separators. *"NEW EP ◆ OUT NOW ◆ ON CASSETTE ◆ BLUE VINYL ◆ NEW EP ◆..."* — horizontal scroll, honours `prefers-reduced-motion: reduce` (freeze at static state).++## Layout pitfalls (must avoid)++Carnival's dense visual language has known traps. Read this list **before** writing a card layout — these are mistakes that have happened in earlier builds and shipped looking broken.++1. **Halftone portrait + side-by-side text in a narrow card → text gets covered.** When pairing a halftone "host portrait" / "artist portrait" with a show / artist name in the same card, **never use a 2-column grid where the content column can collapse below 200 px**. On a 3-up `repeat(3, 1fr)` desktop grid, the content column inside each card is ~150–180 px wide and a 5 rem portrait squeezes the title into overlap. The safe patterns:+ - **Vertical stack** (portrait on top, content below — the portrait sits naturally in the top-left of the card content area because of card padding). This is the default for portrait-paired cards.+ - **Side-by-side ONLY at 2-up or 1-up grids** where the content column has ≥ 250 px to breathe.+ - **Sticker corner** — portrait positioned `absolute; top: 0; right: 0` as a small badge, with text content flowing full-width below.++ Concretely: if the card is in a `repeat(3, 1fr)` grid and includes a portrait + title pair, the card must use `display: flex; flex-direction: column;` with the portrait at a fixed `width: 4.5rem; height: 4.5rem;` (not `width: 100%`). Halftone squares **never** overlap typography.++2. **Hard-offset shadow on a card next to a viewport edge → shadow gets clipped.** When a card sits flush against the right edge of the page gutter, its `4px 4px 0` shadow extends past the page max-width. Add `padding-right: max(var(--page-gutter), 8px)` to grids that include shadowed cards near the edge, or set the shell to have ≥ 8 px right margin past the card grid.++3. **Duo-tone fill on a card whose content includes both accents → reads as "blended", not "competing".** A mustard tile must never contain an oxblood badge inside it. Pick one accent per tile. (Signature #1 explicitly says this — but it's worth restating here because it gets violated when adding a sticker or a "NEW" badge.)++4. **Marquee scroll that doesn't repeat its content → gap at end of loop.** The marquee must contain the same scrolling text repeated at least twice (or use `aria-hidden` siblings) so the scroll animation reads as continuous, not as a single string sliding off.++5. **Big Shoulders width axis used without `font-variation-settings` → no width variation.** Setting `font-stretch` on Google's Big Shoulders Display does not work — only `font-variation-settings: "wdth" 110` does. If you see a hero that's supposed to be width-110 but renders at width-100, this is the bug.++## Macrostructure affinity++**Carnival loves these.**++- **Marquee Hero** — the canonical Carnival opening; large word, scrolling banner under+- **Type Specimen** — the page IS the type; Big Shoulders Display 96 px+ as content+- **Manifesto** — short loud declarative statements (works for Carnival's voice too, but louder palette)+- **Stat-Led** — when the page leads with numbers, Carnival displays them big-and-mustard+- **Photographic** — image-led with halftone treatments and ornament captions+- **Bento Grid** (loud variant) — gridded blocks where each tile alternates accent colour++## Macrostructure rejection++**Carnival refuses these.**++- **Long Document** — too quiet; Carnival doesn't sustain over 1500 words+- **Letter** — too intimate; Carnival never whispers+- **Quote-Led** — too pensive+- **Conversational FAQ** — too soft+- **Workbench** — too technical; Carnival is poster art, not product spec++If the brief would otherwise land in one of these, redirect to Marquee Hero or Manifesto.++## Voice fixtures++Sample lines the Carnival voice should *read like*. Short. Loud. Declarative. Caps on the headlines, not on the body.++- *"FIVE NEW FLAVORS. ALL TOO HOT."*+- *"WE PRESS RECORDS. THAT'S IT."*+- *"NEW SEASON. NEW SHOWS. SAME CHAOS."*+- *"ONE EP. THREE ARTISTS. NO REGRETS."*+- *"THE GAME IS PIXEL ART. THE GAME IS HARD."*++Body copy is **shorter than other themes**. 1–2 short sentences per paragraph. Paragraphs separated by ornament dividers, not whitespace alone.++**Voice rules:**+- Headlines: ALL CAPS, ≤ 6 words, period at end (not exclamation — the loudness is in the type, not the punctuation).+- Body: sentence case, short, present-tense.+- Numerals over words always (*5* not *five*).+- Never any of: "experience", "journey", "elevate", "curate", "platform", "ecosystem", "transform". These are SaaS-default AI tells; Carnival is independent, not platformed.++## Anti-patterns (theme-specific)++- **Never soft shadows.** Carnival is hard-offset (`4px 4px 0`) or no shadow. If you find yourself reaching for `0 8px 24px`, redirect.+- **Never both accents in one block.** Mustard *or* oxblood per section, never blended.+- **Never sentence-case headlines.** Headlines are ALL CAPS or `font-variant: all-petite-caps`.+- **Never light-grey text.** Body text is full-ink. Carnival doesn't do "subtle".+- **Never long paragraphs.** If a paragraph exceeds 3 sentences, break it with an ornament divider or split into two blocks.+- **Never neutral CTAs.** Every CTA fills with one of the two accent colours.+- **Never thin rules.** Rules are 2 px solid in oxblood. Hairlines belong to Boutique / Specimen.+- **Emoji as decoration is allowed when typographic** (✱ ❋ ◆ are typographic ornaments, not emoji). Smiley-face / heart emoji are still banned per universal anti-patterns.++## How Carnival differs from neighbouring themes++| vs | difference |+|---|---|+| **Riso** | Riso is risograph print-craft (peach paper, CMYK misregistration on display, cyan + yellow). Carnival is *editorial maximalism* — duo-tone, oxblood-on-pink, decorative ornaments, variable-width type. Different parent tradition. |+| **Manifesto** | Manifesto is BLACK paper + ALL CAPS red Anton. Carnival is *tinted warm paper* + duo accents + ornaments. Inverted polarity — Manifesto is dark, Carnival is light. |+| **Brutal** | Brutal is raw graphic-design brutalism (heavy borders, slab type, no ornaments). Carnival is **decorative** — ornaments, layered blocks, variable type, character. |+| **Sport** | Sport is athletic italic uppercase (Inter Tight italic 700). Carnival is poster-art expressive (Big Shoulders 800 with width axis). Sport feels Nike; Carnival feels Drag City. |++## Test brief expectations++Carnival should be a candidate when the brief mentions:++- *record label · podcast · comedy · indie · zine · poster · illustrator · games · hot sauce · merch · streetwear · cassette · vinyl · cassettes · live show · zine · brand of one*+- product categories: music · comedy · games · illustration · hot sauce · merch · skateboards · gig posters+- emotional tone: *loud, fun, scrappy, chaotic, layered, character-led, decorative*++Briefs that say *enterprise / scale / API / B2B / dashboard* never route to Carnival.++## Build hint++When emitting a Carnival page, the first 12 lines of CSS should establish the four most important tells:++```css+body { background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); }+h1, h2 { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 110; letter-spacing: 0.04em; text-transform: uppercase; }+.card, .cta { box-shadow: 4px 4px 0 var(--color-ink); border: 2px solid var(--color-ink); }+.section:nth-of-type(odd) { background: var(--color-accent); color: var(--color-accent-ink); }+.section:nth-of-type(even) { background: var(--color-accent-2); color: var(--color-paper); }+.ornament { color: var(--color-accent); }+.halftone { background-image: radial-gradient(var(--color-ink) 1.5px, transparent 1.5px); background-size: 12px 12px; }+```++Those rules carry 70 % of the theme's identity. The rest is content fit.diff --git a/skills/hallmark/references/themes/cobalt.md b/skills/hallmark/references/themes/cobalt.mdnew file mode 100644index 0000000..50d6861--- /dev/null+++ b/skills/hallmark/references/themes/cobalt.md@@ -0,0 +1,146 @@+# Theme — Cobalt++Modern-minimal, dev-tool register. The page for an **API, an SDK, a CLI, a docs home, a developer platform** — the GitBook / Firecrawl / Vercel school, executed in **cool cobalt-on-light, not orange**. A calm cool-white ground, ruler-drawn hairlines, exactly ONE electric cobalt signal accent, and **code as the hero**. It reads like good infrastructure: calm, precise, fast.++Loaded eagerly by SKILL.md Step 3 whenever the catalog pick is `cobalt`. The OKLCH palette + font stack live in [`site/css/tokens.css`](../../../../site/css/tokens.css) under `[data-theme="cobalt"]`. Canonical build: [`site/examples/cobalt-01/`](../../../../site/examples/cobalt-01/) (an API product landing with a request/response hero).++> **Why not orange.** GitBook and Firecrawl both converged on orange-as-signal — but that lane is now crowded, and Hallmark's warm slots are already taken (Lumen brass, Bloom terracotta, Coral coral). Cobalt keeps their *discipline* (cool ground + one signal + code-as-hero + hairlines) and aims the signal at the open electric-blue lane instead. The blue is the differentiator, not a copy.++## Axes (diversification)++- **Paper band** — cool light (`L 98.5%`, hue ~250, very low chroma). An engineered near-white — distinct from Coral's warm grey and from the genre's dark grounds.+- **Display style** — **grotesk-sans** (Space Grotesk 500/600 — slightly mechanical, tight tracking). Distinct from Geist (Coral) and from every serif/rounded option.+- **Accent hue** — **electric cobalt** (`oklch(58% 0.20 256)`). High-chroma true blue — reads "API-live," sits clear of Midnight/Lumen's dusky indigos (~250/268). Used as a *signal*, never a flood.++## Reference register++GitBook · Firecrawl · Vercel / Geist · Linear · Mintlify · Stripe docs · Resend · Clerk · Railway · Supabase.++The aesthetic: the developer-product landing and docs home — a cool engineered canvas, one signal accent, **code/terminal/API as the focal element**, hairline structure, a ⌘K-flavoured nav. Never name any of these in the output.++**Patron-saint reference (internal):** *Vercel's blueprint-and-mono restraint* + *Firecrawl's live request-result credibility move*, recoloured cobalt. When in doubt, ask "does this read like an instrument panel, or like a marketing template?" Keep the former.++## Required dependencies++1. **Fonts** — **Space Grotesk** (display, 500/600), **Inter** (body, 400/500), **JetBrains Mono** (code + small UPPERCASE labels). All-sans; no serif anywhere. Google Fonts:+ ```html+ <link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet" />+ ```+2. **A small reveal script** — one `IntersectionObserver` adding `.is-in` (fade + ~10px rise, ease-out ~600ms). Plus a one-shot "type-in" of a single line in the hero code demo, then static.+3. **A working ⌘K command palette** — a small JS overlay that opens on click **and** ⌘K / Ctrl+K (Esc or backdrop closes; Arrow↑/↓ select; type-to-filter), `role="dialog"` / `aria-modal`, focus-managed, reduced-motion safe. The ⌘K in the nav actually works — Cobalt's signature interactive move.++## The signature moves++1. **Cool engineered paper, never `#fff`** — `oklch(98.5% 0.004 250)`. Ink is cool charcoal `oklch(24% 0.02 258)`, never `#000`. Body text sits a notch lighter (`oklch(34% 0.018 257)`).++2. **Hairlines do the work** — 1px `--color-rule` borders define every surface. **No boxed cards, no drop-shadows** beyond a single barely-there `0 1px 2px` lift on the code card. Depth comes from borders, not blur.++3. **One cobalt signal, used sparingly** (< 5% of any viewport) — the eyebrow tick, a link's hover underline, the one primary button, focus rings, the `200 OK` chip, the active nav item. Everything else is ink-on-cool-white.++4. **Code is the hero** — a dark **graphite** card (`oklch(22% 0.016 260)`) with a window bar (3 dots + a filename), syntax tokens (cobalt for methods/keys, light for strings, muted for punctuation), and a status chip. One line types in once, then static. Either a **live API request/response** (POST + JSON `200 OK`) or a **terminal** (install + a clean `PASS` run). Title + lede sit LEFT; the demo sits RIGHT — asymmetric, never centred.++5. **Bordered nav + a working ⌘K palette** — a flush full-width bar, single hairline bottom border, light blur on scroll. Wordmark + 2–3 text links left; a bordered **⌘K** affordance + one solid cobalt button right. The ⌘K **opens a real command palette** (mono search + command rows; click or ⌘K/Ctrl+K; Esc to close) — the page *behaves* like a dev tool, not just looks like one. **Not a floating pill** (softer, and Coral's vocabulary).++6. **Tight technical radii** — 6px on buttons/inputs, 10px on code cards. Not Coral's soft pills, not 0px brutalism — "drawn with a ruler."++7. **Mono labels** — eyebrows, meta, status, kbd hints in JetBrains Mono, UPPERCASE, `0.06em` tracking. The machine-readout voice against the Space Grotesk display.++8. **One dark graphite band per page** — a single full-bleed dark section (a quickstart, a how-it-works, a watch-mode demo) on `oklch(~20% 0.016 260)` with light cool text and the cobalt accent popping. It gives the page a **light → dark → light** rhythm and a showcase moment. The page's *one* dark beat — Cobalt is a light theme *with* a dark band, never a dark theme.++## Motion++Composed and sparse. The one hero type-in (plays once). Section reveals fade + rise. Hover: cobalt underline-grow on nav/links; a 1px border-colour shift to cobalt on the code card / focusable surfaces. **No bounce, no parallax, no autoplay.** Everything gates behind `prefers-reduced-motion: no-preference`; reduced-motion ships static + fully visible.++## Anti-patterns++- **No orange accent** — the crowded GitBook/Firecrawl lane and a collision with Lumen/Bloom/Coral. Cobalt is blue.+- **No warm paper** — warm grey is Coral's. Cobalt is cool (hue ~250–258).+- **No pure `#fff` / `#000`.** Cool near-white paper, cool charcoal ink.+- **No pill / gradient CTAs.** One solid cobalt button at 6px radius + understated typographic links. Name the destination.+- **No centred-everything hero** (gate 53) — left-biased, title-left / demo-right.+- **No three-equal-icon-tile feature grid** (gate 3) — vary it (one wide code example + narrower points; asymmetric benchmark figures).+- **No glassmorphism, no gradient text** (gates), **no aurora/mesh blob, and no background texture/pattern at all** — cool paper + hairlines carry the page; its one dark beat is the graphite band (signature 8), not a background.++## Macrostructure affinity++**Cobalt loves these.**++- **SaaS / API Product** — hero + quick-start code + feature rows + pricing/CTA *(canonical — cobalt-01)*+- **Dev-tool / CLI** — terminal hero + install + benchmark figures + docs CTA+- **Docs home** — a calm index with a search-first nav+- **Workbench** — the technical, tool-first shape+- **Marquee** — when the hero is one confident code demo++## Macrostructure rejection++**Cobalt refuses these.**++- **Letter** — too intimate; Cobalt is a product, not a note+- **Manifesto** — too loud; Cobalt is calm infrastructure+- **Photographic / image-led** — Cobalt leads with code, not imagery+- **Long Document** — prose-led; route warm-editorial instead++## Voice fixtures++Declarative, technical, specific. Name the X concretely. No hype adjectives.++- *"Turn any website into clean Markdown for LLMs."*+- *"One API. Every page."*+- *"From idea to production in an afternoon."*+- *"Type-safe by default. Fast by design."*+- *"Built to ship — `200 OK` in under 200 ms."*++Never any of: *seamless, robust, cutting-edge, leverage, synergy, revolutionary, unlock, supercharge*. Never "click here." Name the endpoint, the command, the number.++## How Cobalt differs from neighbouring themes++| vs | difference |+|---|---|+| **Coral** (modern-minimal sibling) | Coral is warm-grey paper + warm coral accent + Geist + soft pills + a quiet title/lede hero. Cobalt is cool-white + electric blue + Space Grotesk/JetBrains Mono + tight bordered controls + a live code hero. Same genre, opposite temperature — the rotation walks between them. |+| **Midnight** (atmospheric) | Both live near hue 250–258, but Midnight is a **dark** canvas (atmospheric, numbered display, typewriter reveals). Cobalt is a **light** engineered canvas (modern-minimal, code hero). Light vs dark settles it instantly. |+| **Lumen** (atmospheric) | Lumen is a dark (or cool-bone) *apparatus* page with Instrument Serif + an emit/refract focal artefact. Cobalt is light, all-sans, and its focal element is a literal code/API card, not a built light-instrument. |+| **Aurora** (atmospheric) | Aurora is dark cyan blooms + Sentient serif body. Cobalt is light, hairline-structured, cobalt-on-white — no blooms, no serif. |++## Test brief expectations++Cobalt should be a candidate when the brief mentions:++- *API · SDK · CLI · dev tool · developer platform · docs · documentation · infrastructure · backend · database · observability · webhooks · type-safe · open-source tool · ship · deploy · developer experience · B2B developer*+- Product categories: *API · developer tool · dev platform · docs site · infra · SaaS-for-engineers*+- Emotional tone: *precise · engineered · fast · technical · instrument-panel · calm-confident · cool*++Briefs that are warm / consumer / editorial / image-led route elsewhere (Coral for warm SaaS, the editorial themes for content). When the brief is for developers and wants to *show the code*, it's Cobalt.++## Build hint++The first lines of CSS establish Cobalt's anchor moves:++```css+html, body { overflow-x: clip; }+body { background: var(--color-paper); color: var(--color-ink-2);+ font-family: var(--font-body); font-weight: 400; }++/* Reveal — the whole motion engine */+.reveal { opacity: 0; transform: translateY(10px);+ transition: opacity .6s cubic-bezier(0.16,1,0.3,1),+ transform .6s cubic-bezier(0.16,1,0.3,1); }+.reveal.is-in { opacity: 1; transform: none; }++/* The code hero — dark graphite card, hairline-framed */+.code-card { background: var(--color-graphite); border: 1px solid var(--color-rule-2);+ border-radius: 10px; box-shadow: 0 1px 2px oklch(24% 0.02 258 / 0.05);+ font-family: var(--font-mono); }+.code-card .tok-key, .status--ok { color: var(--color-accent); } /* the one signal */+.status--ok { font: 500 0.75rem/1 var(--font-mono); letter-spacing: .06em; }++/* Bordered nav + the one cobalt button (6px, never a pill) */+.nav { border-bottom: 1px solid var(--color-rule); backdrop-filter: blur(8px); }+.btn--primary { background: var(--color-accent); color: var(--color-accent-ink);+ border-radius: 6px; }++@media (prefers-reduced-motion: reduce) {+ .reveal { opacity: 1; transform: none; transition: none; }+}+```++Plus the Space Grotesk + Inter + JetBrains Mono link and the small reveal/type-in script. The canonical build to mirror is [`site/examples/cobalt-01/`](../../../../site/examples/cobalt-01/).diff --git a/skills/hallmark/references/themes/hum.md b/skills/hallmark/references/themes/hum.mdnew file mode 100644index 0000000..51fe8e8--- /dev/null+++ b/skills/hallmark/references/themes/hum.md@@ -0,0 +1,403 @@+# Theme — Hum++The playful, vibrant, **alive** register. Cream paper, multi-accent palette (pear-yellow primary, sky-cyan secondary, coral-red pop), rounded sans typography, generous radii, soft lifting shadows, mandatory hover-and-on-paint motion. Hum is the catalog theme for products that don't take themselves too seriously — daily-curiosity apps, learning platforms, habit trackers, friendship apps, kids' tools, indie creative software. Sites that should feel like the room is warm and someone smart is smiling.++Loaded eagerly by SKILL.md Step 3 whenever the catalog pick is `hum`. The palette + font stack live in [`site/css/tokens.css`](../../../../site/css/tokens.css) under `[data-theme="hum"]`. This file carries signature moves, motion direction, voice fixtures, anti-patterns, and how Hum holds its identity against neighbouring themes. Hum is the catalog's only playful theme — its closest siblings are Coral (single-accent restraint, modern-minimal) and Bloom (warm-light atmospheric), not another playful register.++## Axes (diversification)++- **Paper band** — light (`L 97%`), warm cream tinted toward pear-yellow hue (~95°). Yellower and brighter than any other warm-paper theme in the catalog — never the rose-warm or oat-warm cream of the editorial themes.+- **Display style** — **rounded-sans** (new axis value, Plus Jakarta Sans / Open Runde register — rounded humanist letterforms with closed apertures). Distinct from geometric-sans (Manifesto), italic-serif, classical-serif (Lumen), and other catalog options.+- **Accent hue** — **multi** (new axis value — three accents on stage simultaneously: pear-yellow `H 95`, sky-cyan `H 235`, coral-red `H 18`). Distinct from every single-accent or duo-tone theme in the catalog.++## Reference register++Brilliant.org (post-2024 brand refresh — Koto's pear-yellow + cream + custom CoFo Sans) · Duolingo (the named-color system: Feather Green, Macaw, Cardinal, Bee, Fox, Beetle, Humpback) · PostHog (Max the hedgehog, cream + red + blue, Open Runde + Squeak + Loud Noises) · tldraw (Shantell Sans with `Bounce` axis) · Cosmos (color-shift-on-hover) · Cluely (Mac OS chrome as set dressing) · Liveblocks (cursor-presence done right) · Hover.dev (the working dictionary of spring-physics interactions) · Each.place, Tella (vibrant gradient surfaces).++The aesthetic to match: cream paper (never pure white), a single character or mark that *reacts* to user actions, generous rounded surfaces, big confident counters in rounded display, soft drop shadows that lift on hover, multi-accent sections that don't fight (because each accent has its own surface). Pear-yellow + cream is the **calibration** combination — anything that reads further saturated than that has gone too vibrant; anything that reads more muted has lost the playfulness.++**Patron-saint reference (internal):** *Brilliant.org's Koji moment* + *PostHog's "if it could belong to any SaaS, it isn't PostHog enough" rule*. When in doubt about restraint, ask the inverse: *"is there a single moment on this page that would not exist if we weren't trying to feel alive?"* If no, the page is too quiet for Hum.++## Palette++Multi-accent. No single accent dominates — different surfaces use different accents, and the contrast between sections is part of the typographic rhythm.++- `--color-paper: oklch(97% 0.012 95)` — cream, slight pear-yellow pull (Brilliant's calibration)+- `--color-paper-2: oklch(94% 0.016 95)` — tinted band (yellower)+- `--color-paper-3: oklch(91% 0.020 95)` — deeper hover+- `--color-ink: oklch(20% 0.012 250)` — near-black with cool tilt (PostHog's `#151515` discipline — never pure black)+- `--color-accent: oklch(86% 0.18 95)` — pear-yellow (primary; CTA, streaks, primary character mark)+- `--color-accent-2: oklch(66% 0.18 235)` — sky-cyan (secondary; links, hover tints, illustrations)+- `--color-accent-3: oklch(68% 0.24 18)` — coral-red (pop; only used at high-energy single moments — streak completion, badge, the one big number)+- `--color-mint: oklch(80% 0.16 150)` — soft green (used sparingly — success states, secondary tags)+- `--color-lavender: oklch(74% 0.16 305)` — used sparingly (tag chips, decorative)++**Three-rule for accents:**+1. Each accent owns its own type of surface. Pear = primary action. Cyan = link / hover-tint. Coral = single high-energy moment per page.+2. Accents never blend in gradients (no pear-to-cyan gradient anywhere).+3. Mint and lavender are *occasional* — never more than one of each per page.++## Typography++Three font families. Rounded sans throughout — Hum has no serif anywhere.++- **Display / body:** Plus Jakarta Sans (Google Fonts, weights 400/500/600/700) — rounded humanist sans with closed apertures and friendly terminals. The Brilliant / PostHog / Open Runde register. Falls back to Geist, then system rounded.+- **Mono:** JetBrains Mono (uppercase labels, tabular numerals, streak counters).+- **No serif anywhere.** No `Instrument Serif`, no `Playfair`, no `Newsreader`. If a serif sneaks in, the theme is misapplied.++**Type discipline:**+- Display weight: **600** (heavier than Lumen's 400 — Hum's display is confident, not delicate).+- Tracking on display: `-0.025em` (tight, not over-tight).+- Body weight: 400 with 500 for inline emphasis.+- All-caps reserved for mono labels.+- **Big counters:** stat numerals at clamp(3rem, 5vw + 1rem, 5rem), rounded display, tabular-nums. Streaks, completion counts, deep-dive counts.++## The seven signature moves++A Hum build must exhibit **at least six of these seven**. Skipping the character moment (#5) is the only acceptable omission — for product-led pages without space for ornament.++These are the theme's *vocabulary*, not a layout: which moves appear is shared, but **how they're composed must differ every build** (see *Not-AI discipline* below). In particular, #3 is the colour-shift *technique* (accent tint deepens on hover) applied to whatever tile or row shape the build chooses — it is never a licence for the banned 3-equal-cards row.++### 1. The button system — three variations, the press is the feedback++Hum ships **one button system, three style variations**, structured as `.btn` (base = *push*) + a style modifier (`.btn--soft` | `.btn--outline`) + a colour modifier (`.btn--pear` | `--coral` | `--cyan` | `--lav` | `--mint` | `--ink`) + size (`.btn--sm` | `.btn--lg`). The canonical, reviewed implementation is the `.btn` CSS block inlined below — **copy that `.btn` system verbatim into every Hum build.** Do not re-improvise button CSS per build (that is how the broken version proliferated).++**The anatomy that matters (the two bugs this fixes):**++1. **Shadow = a full-width solid colour edge + a separate soft ground shadow.** `box-shadow: 0 4px 0 0 var(--btn-edge), 0 6px 12px -3px var(--btn-cast)`. **Never a negative spread** (`0 8px 0 -4px` makes the edge narrower than the button — the old bug). The first shadow is the button's *thickness*, flush to its width; the second is the cast shadow on the ground.+2. **The press is the feedback.** Lift on hover (`translateY(-2px)`, edge grows to `6px`), **press DOWN on `:active`** (`translateY(+3px)`, edge shrinks to `1px`) so it physically depresses. Easing is snappy — `cubic-bezier(0.2, 0.7, 0.3, 1)`, 140 ms hover / 70 ms active. **No `scale()`, no spring overshoot** (the old `scale(1.04)` + `cubic-bezier(…1.56…)` read floaty).++```css+.btn {+ --btn-face: var(--color-accent); --btn-ink: var(--color-ink);+ --btn-edge: var(--color-accent-deep); --btn-cast: oklch(76% 0.20 95 / 0.45);+ --btn-line: var(--color-accent-deep);+ display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;+ padding: 0.8rem 1.4rem; font-weight: 600; border: 0; border-radius: var(--radius-pill);+ color: var(--btn-ink); background: var(--btn-face); cursor: pointer; position: relative; isolation: isolate;+ box-shadow: 0 4px 0 0 var(--btn-edge), 0 6px 12px -3px var(--btn-cast);+ transform: translateY(0);+ transition: transform 140ms cubic-bezier(0.2,0.7,0.3,1), box-shadow 140ms cubic-bezier(0.2,0.7,0.3,1), background-color 160ms;+}+.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 0 var(--btn-edge), 0 12px 22px -4px var(--btn-cast); }+.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 0 var(--btn-edge), 0 2px 6px -2px var(--btn-cast); transition-duration: 70ms; }+.btn:focus-visible { outline: 3px solid color-mix(in oklch, var(--btn-edge) 70%, var(--color-focus)); outline-offset: 3px; }+.btn[disabled] { opacity: 0.5; cursor: not-allowed; pointer-events: none; transform: none; box-shadow: 0 4px 0 0 var(--btn-edge); }+/* .btn--soft = flat-lift (soft shadow, no colour edge); .btn--outline = hairline + accent fill sweeps up on hover.+ .btn__arrow slides 3px right on hover. .is-loading shows a spinner. Build these modifiers on top of the .btn base above. */+```++**Rules:** primary action = push (the chunky one). Secondary = soft. Tertiary = outline. One push button per primary moment; don't stack three push buttons in a row. The first-paint wobble is **retired** — it fought the press metaphor.++### 2. Multi-accent section bands++Sections alternate background between cream paper, pear-tint, cyan-tint, and coral-tint. Each accent owns sections matching its meaning: pear = primary product surfaces, cyan = community / "what people say," coral = the single emphatic moment (streak day, headline number). Bands transition with simple `background-color` changes — no gradients between them.++### 3. Color-shift card grid++Card grid where each card has a different accent tint at rest (very low opacity, ~6% of its accent). On hover: the card's tint deepens to ~12%, and the card lifts 4px with a softened shadow. The accents don't compete because each card holds its accent for its own surface.++### 4. Streak / counter tick-up++Big rounded numerals that count up from 0 to their target value on view-enter, over 1200ms with `cubic-bezier(0.22, 1, 0.36, 1)` easing (snappy arrival). The container scales 1 → 1.06 → 1 once on completion (the "yes!" moment). Implemented with `@property --num` for CSS-only tick-up, or a small JS loop with `requestAnimationFrame`.++### 5. Character moment — one small reacting mark++Every Hum page has ONE small character / mark that reacts to user interaction. Constructed entirely in CSS (no `<img>`, no Lottie). Examples:+- A small filled circle that pulses gently at rest and bursts a 4-point star when its CTA is clicked.+- A wordmark where one letter is the character — pulses, blinks, or wobbles on hover.+- A floating shape next to the hero that drifts in a slow circle and grows when hovered.++The character lives in **pear-yellow** by default — that's its colour. Other accents can carry it but pear is canonical.++### 6. Big rounded everything++`--radius-card: 20px`, `--radius-pill: 999px`, `--radius-input: 12px`. Soft drop shadows on cards (`0 12px 32px -16px ink/15%`) that brighten on hover. The *amount* of round (and the shadow philosophy) is a per-build lever — a kids' build can go chunky at 28px with a hard button-style edge, a quiet one tighter at 14px with a single soft layer (see the card-physics lever under *Not-AI discipline*). What never changes: **no square corners anywhere** — this is the rounded theme.++### 7. Star-burst micro-celebration on success++When a primary action completes (CTA click, form submit, streak hit), a 4-point star bursts from the click point and fades out over 420ms. Star is in coral-red (the pop accent), 24px tall at full size. Single firing per action; never auto-loops.++```css+.star-burst {+ position: absolute;+ width: 24px; height: 24px;+ background:+ linear-gradient(90deg, transparent 47%, var(--color-accent-3) 47% 53%, transparent 53%),+ linear-gradient(0deg, transparent 47%, var(--color-accent-3) 47% 53%, transparent 53%);+ animation: star-burst 420ms ease-out forwards;+ pointer-events: none;+}+@keyframes star-burst {+ 0% { transform: scale(0) rotate(0deg); opacity: 1; }+ 60% { transform: scale(1.2) rotate(35deg); opacity: 0.9; }+ 100% { transform: scale(1.4) rotate(45deg); opacity: 0; }+}+```++## Motion direction++Hum's motion stack is **the loudest in the catalog**. Almost every interactive element does something on hover or first-paint.++| Element | Motion |+|---|---|+| Primary CTA (push) | lift 2px on hover (the colour edge grows), press DOWN 3px on `:active` (edge shrinks to 1px); snappy `cubic-bezier(0.2,0.7,0.3,1)`. No scale, no wobble — the press is the feedback |+| Cards | lift 4px + shadow brighten + accent tint deepen on hover (220ms `--ease-spring`) |+| Counters | tick-up on view-enter (1200ms, snappy ease-out) + scale pulse on completion |+| Character mark | pulse at rest (4s gentle scale 1 → 1.04 → 1); star-burst on relevant CTA click |+| Section headings | translateY(12px → 0) + opacity 0 → 1 on view-enter, 600ms, 80ms stagger |+| Star-burst | 420ms, fires once on primary action complete |+| Scroll | Lenis (`duration: 0.8, lerp: 0.10` — a soft, slightly elastic glide for the playful feel) |++Available easings:+- `--ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1)` (bouncy overshoot — the canonical Hum easing)+- `--ease-snap: cubic-bezier(0.22, 1, 0.36, 1)` (easeOutExpo — for tick-ups and reveals)+- `--ease-out`, `--ease-in-out` (standard fallbacks)++`prefers-reduced-motion: reduce`:+- Spring hovers collapse to opacity/colour transitions only (no scale, no rotate, no wobble).+- Counters render at final value instantly.+- Character mark stops pulsing (stays at final state).+- Star-burst disabled entirely.++The page must remain delightful with reduced motion — restraint, not breakage.++## Required dependencies++```html+<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=Plus+Jakarta+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet" />+```++Two families. No third. No serif anywhere.++**Optional:** Lenis 1.3.23 for smooth scroll — recommended but not mandatory. Hum reads correctly without it; add when the brief calls for premium polish.++## Macrostructure affinity++**Hum loves these.**++- **Marquee Hero** — canonical: big "today's thing" card centred, big CTA below, character mark anchored to one side+- **Bento Grid** — multi-accent tiles, one accent per tile; the bento is Hum's natural shape+- **Workbench** — when the page has a live demo (small product preview surrounded by playful chrome)+- **Stat-Led** — big rounded counters carry the story+- **Catalogue** — a grid of items where each tile uses a different accent (color-shift gallery)+- **Narrative Workflow** — a numbered process-timeline spine (`1.0 → 2.0 → 3.0 → 4.0`): each stage owns its own accent band, the big rounded stage numerals ride the counter signature, and a connecting rail makes the sequence the page's structure. Works well for a guided-sourdough-style build. Reach for it when the product is *genuinely sequential* — recipes, learn-a-skill, onboarding, multi-week programs, anything that happens in ordered steps over time. Don't force it on one-moment tools (those want Marquee or Stat-Led).++## Macrostructure rejection++**Hum refuses these.**++- **Long Document** — Hum is not a 2,000-word essay theme+- **Manifesto** — too serious; Coral or Atelier handle subdued+- **Quote-Led** — too literary+- **Type Specimen** — typography is rounded sans only; specimens want range+- **Photographic** — Hum is pure shape + colour; photography can appear in a tile but never as a section's spine++## Layout & emphasis discipline (non-negotiable)++Two bugs appeared in early Hum builds and must never ship again.++### Section alignment — one content shell, identical edges++Every section's content must align to the **exact same left and right edges**, whether or not the section sits on a tinted band. The early bug: banded sections (`.section--band`) put their gutter padding on the band while plain sections put `max-width + padding` on themselves, so band content was ~one-gutter wider than plain content and the edges didn't line up.++**The rule:** one shell width model everywhere. The band provides *only* the background + block padding; the inner content carries the gutter.++```css+:root { --shell: var(--page-max); } /* one number, every section obeys it */++/* plain section: capped box, gutter inside (border-box) */+.section { max-width: var(--shell); margin-inline: auto; padding: var(--section-gap) var(--page-gutter); }++/* banded section: full-bleed background, NO inline padding on the band itself */+.section--band { max-width: none; padding-inline: 0; }+.section--band > * { max-width: var(--shell); margin-inline: auto; padding-inline: var(--page-gutter); }+```++With global `box-sizing: border-box`, plain-section content and band content are now both `--shell` minus two gutters, both centred — edges match to the pixel. **Verify it:** the hero headline's left edge, a plain section's heading, and a banded section's heading must all sit on the same vertical line. If they don't, this rule was broken.++### Emphasis highlight — must follow the text, never a floating bar++The highlighter behind an emphasised word (`<em>` / `.hl`) and behind big display numbers must be painted as a **clipped background gradient on the text itself**, not an absolutely-positioned `::after` bar. The early bug: the `::after` bar only underlined the last line when the phrase wrapped, and drifted out of place at some sizes.++**The rule:** use a `background-image` highlighter with `box-decoration-break: clone` so it tracks the text across line breaks and scales with font-size automatically.++```css+em, .hl {+ color: inherit;+ background-image: linear-gradient(var(--hl, oklch(86% 0.18 95 / 0.55)) 0 0);+ background-repeat: no-repeat;+ background-size: 100% 0.32em; /* band thickness, em-relative → scales with type */+ background-position: 0 82%; /* sits just under the baseline */+ -webkit-box-decoration-break: clone;+ box-decoration-break: clone; /* underline every wrapped line, not just the last */+ padding-bottom: 0.02em;+}+/* per-accent: set --hl on the element (pear default; coral/cyan/lav/mint as needed). */+```++This never breaks on wrap, never needs `white-space: nowrap`, and the band always sits correctly under the word. For a giant single-token display number (e.g. a Stat-Led hero count) the same technique applies — `background-size: 100% 0.14em; background-position: 0 88%` reads as a thick underline beneath the figure.++## Not-AI discipline — make every build read as a different studio (non-negotiable)++The fastest way Hum slides into AI-slop is **sameness**: many products sharing one skeleton below the hero. The *component* system (buttons, the highlight, tokens, the press metaphor) **should** be shared — that is a design system, and it's the right kind of consistency. The *page architecture* must **not** be shared. Two Hum builds have to read as two different studios' work, not two colour-swaps of one template.++**Study these real sites for how the register stays hand-made** (each cited for one specific move):+- **PostHog** — the closest production analog to Hum: cream `#EEEFE9`, ink applied *at opacity* (90% body / 95% link / 100% hover) not as new hexes, **dashed-rule** section dividers, a mascot with a strict model sheet, and a self-aware "shameless plug" section. Steal the discipline wholesale.+- **Brilliant** (Koto 2024) — shape-DNA shared between the wordmark and the spot illustrations. **Duolingo** — every character built from three primitives (rounded rect, circle, rounded triangle). **Family** — one springy, *scrubbable* number that's a toy. **Cosmos** — layered, captioned image *clusters*, never a tidy grid. **Daylight** — a warm palette deployed as a *system*, not a vibe. **Multiverse** — a split-screen hero instead of the centred stack. **Stripe** — restraint as craft (one gradient, narrow columns, layered soft shadows). **Linear** — hierarchy by scale-jump; the feature demonstrates itself.++### The deadliest tells — forbidden by default+- **The centred hero stack** (eyebrow/badge → centred H1 → two-line subhead → filled + ghost CTA, dead-centre). The single biggest tell. Default to an *off-centre* hero; only centre when one element deliberately breaks the grid.+- **A badge-pill directly above the H1** ("✨ now with…"). Never.+- **The 3-identical-accent-cards row** (icon-tile on top → title → two grey lines, ×3, equal gap). Already banned in Anti-patterns — but it's the reflex unit, so it keeps reappearing. If you have three things to say, say them in a *different shape*: zig-zag text/art rows, one big + two small, a numbered list, a horizontal scroll-rail, a comparison table.+- **Uniform radius + one shadow on everything.** Give each build its own card *physics* (see levers).+- **An accent stripe on a card's top/left edge** — reads as AI almost as reliably as em-dashes.+- **Emoji standing in for icons.** Hum draws its marks in CSS/SVG; an emoji in a chip or nav is a tell.+- **An all-caps grey eyebrow over *every* section** — use it sparingly, not as wallpaper.+- **A decorative gradient on the background AND the headline AND the button** (Hum bans accent-to-accent gradients anyway; never stack one three ways).++### Kill the shared tail (the highest-leverage rule)+No two Hum builds may share the same **back half**. The failure mode is a bespoke hero bolted onto an identical *features → 3-up testimonials → 3-tier-pricing → statement-footer* run. Vary, per build:+- **Pricing** — three tiers is *one* option. Also: a single honest price line; a free-vs-paid inline toggle; price folded into the product/catalogue surface; or no pricing at all (a "start" strip instead).+- **Social proof** — quote-cards-×3 is *one* option. Also: a single big pull-quote; a marquee of names; an inline stat+quote; a screenshot of real usage. The byline grammar "Name · metric" on every card is itself a tell — vary it.+- **Footer** — rotate the footer archetype. Don't ship the same giant-statement + `auto 1fr 1fr 1fr` meta grid every time. A compact single row, a marquee, or a footer that reuses the build's own artefact are all fair.++### Variety levers — pick a *different* combination each build (independent of palette)+1. **Hero archetype** — rotate: off-centre artefact-bleed · split-screen (value centre, art flanks) · text-left/art-right · art-LEFT/text-right · full-bleed colour-block with an overlapping product card · art-above-headline. Never default to centred-stack.+2. **The "one highlighted word in the headline"** is now in *every* existing build — it has become a tell. Use it in some; in others carry emphasis by scale, a drawn underline, or colour-blocking the whole line.+3. **Feature-block format** — commit to ONE non-default shape per build (zig-zag · big+small · dense linked index · table · numbered narrative).+4. **Density rhythm** — alternate airy sections with one deliberately dense "everything" section; don't hold `--section-gap` constant top-to-bottom.+5. **Card physics** — choose a personality per build: hairline-flat no-shadow (quiet/editorial) · chunky 28px + the button's hard edge-shadow (kids/toy) · borderless tinted blocks · Stripe-soft single layer · layered contact+ambient. Not `20px + 1.5px rule + --shadow-card` every time.+6. **Divider / seam** — dashed rules · full-bleed colour-block edges · whitespace only · a thin top accent rule. One language per build.+7. **Colour deployment** — same palette, different distribution: cream-dominant with tiny accent *punctuation* (PostHog) · bold full-section colour-blocking (one accent owns a whole section) · one accent gradient used exactly once. Distribution changes the feel more than the hues.+8. **Mascot dose & placement** — one character moment, but rotate where: hero-bleed · peeking from a card corner · an empty-state · the footer · a scroll-triggered cameo.+9. **Motion register** — spring-bouncy overshoot · calm-eased · one signature scrubbable/draggable toy (Family). Pick one; don't fade-in everything.++### Two requirements every build must meet+- **One off-grid / asymmetric moment** — a card that breaks the gutter, an oversized numeral bleeding off-edge, a 2/3–1/3 split, a tilted element. The page must not be one centred column of equal blocks. (Bubble's numbered rail is the current best example.)+- **One "designed exception"** — a single deliberate rule-break that says a human made this: a self-aware copy aside (PostHog's deadpan), an interactive toy (Family's scrub), a hand-drawn annotation over a clean shot, one tilted off-grid card, a full-bleed photo/colour break. Rotate which kind across builds.++### Micro-craft that reads hand-made+- **Modify ink with opacity, not new hexes** — body ~88–90% of `--color-ink`, links 95%, hover 100%. Fewer literal colours, used consistently.+- **Layer shadows** (a tight contact shadow + a soft ambient one), varied by elevation — never one `--shadow-card` on everything.+- **Tight tracking on display, sentence case, ≤3 type levels.** Big heads get negative letter-spacing; body stays neutral.+- **Voice:** max one em-dash per paragraph (the em-dash pile-up is the clearest "AI wrote this" tic — prefer periods). Honest metrics only; never decorative big-number theatre.++## Voice fixtures++Hum voice is **warm, smart, casual, direct**. Sentence case is allowed (unlike Lumen's full lowercase). Verbs over nouns. Confident but not knowing. Never condescending.++Headlines:++- "Your daily 30-second curio."+- "Get really good at one thing this quarter."+- "Notice yourself, in 30 seconds."+- "Learn something genuinely new today."+- "A small daily thing, kept for a long time."++Body patterns:++- "One small interesting thing, every morning at 8 a.m."+- "Free for the first seven days. $5 a month after that, or $45 a year."+- "Made by three people in Lisbon and Amsterdam. We're answering email."++Mono labels — UPPERCASE, used for ordinals, stats, and tags:++- `01 · TODAY`+- `02 · YOUR STREAK`+- `STREAK · 47 DAYS`+- `LEARNED · 312 THINGS`++**Never any of:** revolutionize, supercharge, unlock, leverage, unleash, transform, journey, holistic, mindful, ecosystem, platform, AI-powered, intelligent. The "feels alive" must come from *motion and colour*, not from breathless copy.++## Anti-patterns (theme-specific)++- **NEVER serif anywhere.** Display, body, captions — all rounded sans. If a serif is needed, the brief belongs in Lumen or one of the editorial themes.+- **NEVER pure white paper.** Cream `oklch(97% 0.012 95)` is the only acceptable ground. Pure white drains all the warmth out of the theme.+- **NEVER pure black ink.** `oklch(20% 0.012 250)` minimum lightness. Pure black on cream is harsh and breaks the warmth.+- **NEVER square corners on cards / pills / buttons.** Hum is the rounded theme. Cards = 20px, pills = 999px, inputs = 12px.+- **NEVER single-accent palette.** Hum is multi-accent. If a build wants one restrained accent only, it should route to Coral (single-accent modern-minimal) instead.+- **NEVER gradients between accents.** Pear-to-cyan or cyan-to-coral gradients are banned. Each accent owns its own surface.+- **NEVER over-rotate animations.** One signature character pulse + one CTA wobble per page. Bouncy easings on everything is exhausting; reserve spring for primary actions.+- **NEVER `font-style: italic` for the verb landmark.** Hum is not Lumen — verbs aren't italicised here. Emphasis comes from weight (500) or accent color, not italics.+- **NEVER invented metrics.** Streak counts must be honest (the user's actual data). Marketing stats must be real.+- **NEVER pure-rainbow gradient backgrounds.** Multi-accent ≠ Y2K rainbow. Each accent has its own surface; they sit next to each other in defined regions.+- **NEVER three-feature-card row with stock-icon tops.** Use abstract shape characters per card, not generic Lucide icons.+- **NEVER bento with > 8 tiles.** Hum's bento is small and warm, not maximalist.++## How Hum differs from neighbouring themes++| vs | difference |+|---|---|+| **Coral** (modern-minimal, the closest sibling) | Coral is warm-grey paper with a single restrained coral accent — Stripe-not-Linear register, motion optional. Hum uses coral only as its pop accent, on yellower cream with two other accents and mandatory motion. Coral is the friendly-but-quiet register (a quiet bakery card); Hum is exuberant and alive (a brilliant.org-style learning app). When a brief wants one restrained accent, route to Coral; when it wants multi-accent and a character moment, route to Hum. |+| **Bloom** (atmospheric) | Bloom is dark/cream with warm radial blooms behind the content (Suno register). Hum is fully light, no blooms, mandatory hover-and-paint motion. Different genres entirely. |+| **Specimen** (editorial) | Specimen is italic-serif on warm oat with classical typography. Hum is rounded sans on cream with vibrant character. Opposite registers. |++## Test brief expectations++Hum should be a candidate when the brief mentions:++- *daily, habit, streak, practice, learning, curiosity, mood, energy, friendship, community, kids, family, game, puzzle, creative, indie tool, character, mascot, fun, playful, alive*+- product categories: *learning platforms, habit trackers, daily-thing apps, friendship apps, creative tools (with character), kids' / family software, mood / energy / wellness apps, indie creative SaaS*+- emotional tone: *warm, alive, smart-but-warm, energetic, considered but joyful, post-Brilliant*++Briefs that say *enterprise, infrastructure, B2B, API, inference, agent, dashboard, manifesto, gallery, monograph* never route to Hum.++## Build hint++The first 24 lines of CSS should establish Hum's anchor moves:++```css+body {+ background: var(--color-paper); color: var(--color-ink);+ font-family: var(--font-body);+ font-feature-settings: "ss01" on, "cv11" on;+ font-variant-numeric: tabular-nums;+}++.eyebrow, .mono-label {+ font-family: var(--font-label); font-size: 11px; letter-spacing: 0.10em;+ text-transform: uppercase; color: var(--color-ink-2); opacity: 0.75;+}++.btn { /* push — a solid colour EDGE + a soft ground shadow. Never a negative spread, never scale(). */+ background: var(--color-accent); color: var(--color-ink); font-weight: 600;+ padding: 0.8rem 1.4rem; border: 0; border-radius: var(--radius-pill); cursor: pointer;+ box-shadow: 0 4px 0 0 var(--color-accent-deep), 0 6px 12px -3px oklch(76% 0.20 95 / 0.45);+ transition: transform 140ms cubic-bezier(0.2,0.7,0.3,1), box-shadow 140ms cubic-bezier(0.2,0.7,0.3,1);+}+.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 0 var(--color-accent-deep), 0 12px 22px -4px oklch(76% 0.20 95 / 0.45); }+.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 0 var(--color-accent-deep); } /* the press is the feedback */++/* cards MAY keep the spring lift (the retirement was buttons only); vary the physics per build */+.card {+ background: var(--color-paper); border-radius: var(--radius-card);+ box-shadow: 0 12px 32px -16px oklch(20% 0.012 250 / 0.12);+ transition: transform 220ms var(--ease-spring), box-shadow 220ms;+}+.card:hover { transform: translateY(-4px); }+```++Those lines carry 50% of the theme. The rest is the character moment + the multi-accent section bands + the motion stack.++## What Hum refuses (restated)++Disqualifiers — if any appears in a Hum build, it is not Hum:++- No serif anywhere.+- No pure white paper.+- No pure black ink.+- No square corners.+- No single-accent palette.+- No gradients between accents.+- No more than one CTA wobble per page.+- No more than one character moment per page.+- No `font-style: italic` for emphasis.+- No invented metrics.+- No rainbow gradient backgrounds.+- No generic stock-icon feature rows.+- No bento with > 8 tiles.+- No system-font fallback for the display.+- No motion-less interactive elements (every interactive element has SOME state response).diff --git a/skills/hallmark/references/themes/lumen.md b/skills/hallmark/references/themes/lumen.mdnew file mode 100644index 0000000..baf3245--- /dev/null+++ b/skills/hallmark/references/themes/lumen.md@@ -0,0 +1,478 @@+# Theme — Lumen++Premium AI-tool register, built around a **hand-engineered apparatus** rather than a glowing orb. One precision SVG/CSS object per page, with leader-line callouts in mono micro-type, set against dead space alongside a **lowercase classical-serif headline** and a technical mono eyebrow. Three font families. Two palette drops (Night Foundry / Day Foundry) with different physics — Night emits, Day refracts — and entirely different visual languages, not the same shape in two colours.++Lumen runs a strict **two-register typography system**: all prose is **lowercase** (hero titles, section titles, lede, body, buttons, nav, brand, footer copy — even acronyms when they appear in body text); all mono labels are **UPPERCASE** (eyebrows, callouts, meter labels, stat labels). The contrast between quiet lowercase prose and loud UPPERCASE machine-readout is the typographic signature.++Loaded eagerly by SKILL.md Step 3 whenever the catalog pick is `lumen`. Palettes + font stack live in [`site/css/tokens.css`](../../../../site/css/tokens.css) under `[data-theme="lumen"]` (Night, default) and `[data-theme="lumen"][data-drop="day"]` (Day). This file carries the drops + apparatus family + signature moves + motion + anti-patterns.++## Axes (diversification)++- **Paper band** — Night: dark cool-violet (`L 13%, H 265`). Day: light cool bone with violet pull (`L 97%, H 265`). The 265° hue is deliberate — sits 25° from Midnight's 250 and 65° from Aurora's 200, so a Lumen page is not confusable with either neighbour at a glance.+- **Display style** — **classical-serif-lowercase** (Instrument Serif 400, upright, **all-lowercase**, with verb landmark via accent colour + draw-in underline). No italic anywhere. Distinct from italic-serif (Specimen/Studio/Atelier ship italic as default) and from roman-serif (Newsprint uses sentence case). Lumen is the catalog's only lowercase-headline theme.+- **Accent hue** — Night: **molten brass** (`H 50`, not amber). Day: **deep indigo with violet tilt** (`H 268`). Coral chord (`H 18`) sits behind both as the secondary chromatic.++## Reference register++Modal · Anthropic (Claude product surfaces) · Together AI · ElevenLabs · Cluely · Adept · Granola · Cohere · Inflection · Linear (premium pricing pages) · Vercel (design guidelines, frontier-AI sections) · Cursor (high-fidelity product mockup heroes).++The aesthetic to match: a single hand-engineered artefact in dead space; a lowercase classical-serif headline with one accent-coloured verb; mono UPPERCASE technical labels that read as if pulled from an internal docs site; tabular numerals everywhere a number appears. The combination is what AI-tool defaults do not ship — and exactly the combination that breaks every default the model was trained on.++**Patron-saint reference (internal):** *Modal homepage rate sheet* (the receipt is the artwork) + *Together AI hero diagram* (annotated apparatus + leader lines + labelled callouts) + *Anthropic Claude landing typography* (transitional serif + humanist sans). When in doubt about restraint, ask "would Modal ship this much chrome?" If yes, you've gone too far.++## Palette drops++A Lumen drop is a named palette + apparatus-physics pair. The structural signature (italic-pivot headline + mono eyebrow + apparatus + leader callouts + meter strip + blueprint grid + hairline cards + three-stat row) is constant; the drop rotates the canvas, the accent, and what the apparatus *does*.++### Drop 01 · Night Foundry *(default · canonical)*++Cool-violet near-black canvas. Molten-brass accent that *emits*. The apparatus is an instrument — a filament-in-chamber, a circuit topology, a precision indicator — and it generates the light. Halos and inner-emit washes use `--color-glow` at 42% opacity.++- `--color-paper: oklch(13% 0.014 265)` — late-night studio, violet tilt+- `--color-ink: oklch(96% 0.006 262)` — near-white headlines+- `--color-accent: oklch(76% 0.17 50)` — molten brass+- `--color-accent-2: oklch(68% 0.16 18)` — coral chord+- `--color-glow: oklch(80% 0.16 50 / 0.42)` — dense halo+- `--color-paper-emit: oklch(76% 0.17 50 / 0.04)` — inner-emit canvas wash+- `--rule-blueprint: oklch(96% 0.006 262 / 0.04)` — grid hairline++**Apparatus physics — emission.** The focal element is a built object (filament, circuit, indicator dial, layered lens stack) that *contains* the light source. Subtle pulse animation (`--dur-pulse: 4s`) suggests the instrument is *running*. Card shadows are soft depth (`0 24px 60px -28px oklch(0% 0 0 / 0.55)`), not glows — the apparatus is the only thing that emits.++**When to pick:** inference platforms · serverless GPU · model APIs · AI coding agents · voice synthesis · agentic tools · developer infra · anything that wants to feel "after hours" and "instrument-grade." Default.++### Drop 02 · Day Foundry++Cool-bone canvas with a violet pull. Deep indigo accent that *refracts*. The apparatus is a transparent prism / lens stack / chromatic dispersion element — light passes through and is *separated*, not generated. Spectrum exit-fan + measurement annotations + scale bar give it the feel of a calibrated optical instrument, not a vibey gradient.++- `--color-paper: oklch(97% 0.008 265)` — cool bone, violet pull+- `--color-ink: oklch(18% 0.014 265)` — near-black, cool+- `--color-accent: oklch(46% 0.24 268)` — deep violet-indigo+- `--color-accent-2: oklch(68% 0.16 18)` — coral chord (red end of spectrum)+- `--color-glow: oklch(58% 0.22 268 / 0.28)` — indigo halo through prism+- `--color-paper-emit: oklch(46% 0.24 268 / 0.03)` — canvas wash, faint++**Apparatus physics — refraction.** The focal element is *static at rest* with a 320ms reveal on first paint (the prism appears, the spectrum fans, both settle). No perpetual motion. The light is captured, not generated. Annotations carry mono micro-labels: `λ = 612 nm`, `θ_out = 38°`, etc. — the prism reads as a *measurement instrument*, not decoration.++**When to pick:** AI for science · climate / research labs · document AI · typography / design tools · daytime productivity · briefs that want "considered" and "clear" rather than "after-dark and intense."++### Drop rotation rule++The diversification log records `"theme": "lumen", "drop": "night"` (or `"day"`). Two consecutive Lumen builds must use different drops unless the brief contains a strong drop signal.++### Why two drops, not five++Lumen's identity is the apparatus, not the palette. Adding more drops would dilute what makes the theme legible. Two drops with *different physics* (emission vs refraction) carry more variety than five drops with the same artefact in different colours.++## The apparatus family++Lumen's central commitment: **never a generic glowing orb**. The orb is the most overworked AI-tool tell of 2024–2025; every inference platform ships one. Lumen builds a *specific* hand-engineered object per page, chosen to reflect what the product *does*.++The canonical family (pick one per build, in the order of preference for the brief):++### Apparatus type · Filament chamber *(Night Foundry, instrument-grade)*++A vertical glowing rod inside a rounded-rect cylindrical chamber, crossed by 3–4 horizontal hairline "electrodes." Subtle pulse on the filament (3% intensity oscillation, 4s period). References vacuum tubes, Tesla coils, fusion experiments, mass spectrometers. Reads as a *machine*.++**When to pick:** inference, runtime, model serving, anything that *produces* output. Brand verbs: think, run, generate, infer, render, execute.++**SVG/CSS skeleton:**++```html+<figure class="apparatus apparatus--filament" aria-hidden="true">+ <div class="chamber">+ <span class="chamber__wall"></span>+ <span class="chamber__electrode" style="--y: 22%"></span>+ <span class="chamber__electrode" style="--y: 42%"></span>+ <span class="chamber__electrode" style="--y: 62%"></span>+ <span class="chamber__electrode" style="--y: 82%"></span>+ <span class="chamber__filament"></span>+ <span class="chamber__glow"></span>+ <span class="chamber__stencil">RX-04</span>+ </div>+ <ul class="callouts">+ <li class="callout" style="--side: left; --y: 18%"><span>P50 · 28 ms</span></li>+ <li class="callout" style="--side: right; --y: 36%"><span>cold-start · 0.4 s</span></li>+ <li class="callout" style="--side: left; --y: 62%"><span>rps · 12 k</span></li>+ <li class="callout" style="--side: right; --y: 80%"><span>RX-04 · h100 80gb</span></li>+ </ul>+</figure>+```++```css+.chamber {+ position: relative; width: clamp(180px, 22vw, 280px); aspect-ratio: 0.55;+ border: 1px solid var(--color-rule-2);+ border-radius: 999px;+ background: oklch(17% 0.016 265 / 0.8);+ overflow: hidden;+}+.chamber__filament {+ position: absolute; top: 8%; bottom: 8%; left: 50%;+ width: 2px; margin-left: -1px;+ background: linear-gradient(to bottom,+ oklch(96% 0.05 50) 0%,+ oklch(80% 0.17 50) 50%,+ oklch(96% 0.05 50) 100%);+ box-shadow:+ 0 0 16px 4px var(--color-glow),+ 0 0 48px 12px oklch(80% 0.16 50 / 0.22);+ animation: filament-pulse var(--dur-pulse) ease-in-out infinite;+}+.chamber__electrode {+ position: absolute; left: 0; right: 0; top: var(--y);+ height: 1px; background: var(--color-rule-2);+}+.chamber__glow {+ position: absolute; inset: 0;+ background: radial-gradient(ellipse 60% 50% at 50% 50%, var(--color-glow-2) 0%, transparent 70%);+ pointer-events: none;+}+@keyframes filament-pulse {+ 0%, 100% { opacity: 1; }+ 50% { opacity: 0.86; }+}+.callout {+ font-family: var(--font-mono);+ font-size: 10.5px;+ letter-spacing: var(--tracking-micro);+ text-transform: uppercase;+ color: var(--color-muted);+ position: absolute;+ /* leader-line drawn as ::before pseudo */+}+.callout::before {+ content: ""; position: absolute;+ top: 50%; height: 1px;+ background: var(--color-rule-2);+}+```++### Apparatus type · Codebase graph / topology *(Night Foundry)*++An annotated SVG graph: one central node + 5–7 satellite nodes connected by hairlines, each satellite labelled with a mono filename or symbol. Light "flows" along the connecting lines at a slow walk (subtle gradient dot moving along each path). References CAD schematics, dependency graphs, electrical circuits, knowledge graphs.++**When to pick:** AI coding agents, knowledge tools, anything that *traverses* a structured space. Brand verbs: read, trace, explore, connect.++### Apparatus type · Indicator dial / spectrum *(either drop)*++A circular dial (Night) or a horizontal spectrum bar with annotated wavelength labels (Day). Includes scale ticks at known increments, a moving needle or active band, and mono callouts at boundaries. References analogue gauges, oscilloscopes, audio meters.++**When to pick:** voice synthesis, audio AI, anything measuring a continuous quantity. Brand verbs: tune, measure, listen.++### Apparatus type · Prism + measurement *(Day Foundry canonical)*++A clip-path triangle (the prism) + an incoming beam from the left + a chromatic spectrum fan emerging from the right edge + leader-line annotations with wavelength labels and exit-angle measurements. References optical-bench experiments, atmospheric refraction diagrams, the cover of Pink Floyd's *Dark Side of the Moon* re-read as a calibrated instrument.++**When to pick:** Day Foundry default. AI for science, climate, research, document AI.++### Building rules across the family++- **Pure CSS + SVG.** Never `<img>`, never icon fonts, never SVG paths copied from Figma. The apparatus is *constructed*, not *placed*.+- **One per page.** Never two apparatus objects on a single Lumen build.+- **Leader-line callouts.** Every apparatus carries 3–5 mono micro-type annotations (`P50 · 28 ms`, `λ = 612 nm`, `→ refunds.ts`) on horizontal leader lines. The callouts MUST contain real values from the brief — never `LOREM · 000`.+- **Size.** 240–480 px max dimension on desktop. Scales down to ~180 px on mobile but never disappears.+- **Pulse, not rotation.** Night apparatus *pulses* (3% intensity oscillation, 4s period). It does *not* rotate. Rotation was the orb's signature; the apparatus's signature is that it's clearly machined.+- **Day Foundry: no perpetual motion.** Day apparatus reveals once on first paint (320ms) and stays static. The light is captured.+- **`prefers-reduced-motion: reduce`:** all pulses freeze at maximum intensity, all reveals collapse to final state.++## The seven signature moves++A Lumen build must exhibit **all seven**. Skipping any single one is what makes the page slip back into generic-dark-AI territory.++### 1. Hand-built apparatus (no orb)++See § The apparatus family above. The single most important move.++### 2. Lowercase headline with verb-landmark (no italics)++Classical Instrument Serif at `--text-display`, **all-lowercase, upright**, with **exactly one word** rendered in `--color-accent-2` (coral chord) — and that word is the verb. A 1px underline in the same accent draws in over 320ms on first paint and stays. **No `font-style: italic` is used anywhere** in Lumen — the verb landmark is built from colour + line, not from a glyph variation.++```html+<h1 class="hero__title">built to <em>think</em> in real time.</h1>+```++```css+.hero__title {+ text-transform: lowercase; /* defensive — also applied at the prose level */+}+.hero__title em {+ font-style: normal; /* explicit — em is repurposed as the verb landmark */+ color: var(--color-accent-2);+ position: relative;+ white-space: nowrap;+}+.hero__title em::after {+ content: ""; position: absolute;+ left: 0.05em; right: 0.05em; bottom: 0.04em;+ height: 1px;+ background: var(--color-accent-2);+ transform-origin: left;+ animation: pivot-underline 320ms var(--ease-soft) 900ms backwards;+}+@keyframes pivot-underline {+ from { transform: scaleX(0); }+ to { transform: scaleX(1); }+}+@media (prefers-reduced-motion: reduce) {+ .hero__title em::after { animation: none; }+}+```++**Rules:** the coloured word is the verb, never a noun. One word per headline, never two. The underline is the persistent landmark — once drawn, never animates again. `<em>` is repurposed semantically (still emphasis), but renders without italic.++### 3. Mono eyebrow above every section++`01 · INFERENCE` style — JetBrains Mono, uppercase, 11px, tracking `0.10em`, half-opacity. Numbered roman ordinal (01, 02, 03), middle-dot separator, then the section role. Sits directly above the heading on its own line. Cap at 6 per page.++### 4. Blueprint grid background (4% opacity)++The hero `<section>` and the meter strip both carry a **ruled grid background** at 4% opacity — 32px or 48px square cells, single hairline in `--rule-blueprint`. This is the "engineered, not vibed" signal. Aurora has blooms; Lumen has the grid. The grid sits beneath `--color-paper-emit` so the canvas appears to emit *through* the grid lines.++```css+.hero {+ background:+ linear-gradient(var(--rule-blueprint) 1px, transparent 1px) 0 0 / 48px 48px,+ linear-gradient(90deg, var(--rule-blueprint) 1px, transparent 1px) 0 0 / 48px 48px,+ radial-gradient(60% 50% at 78% 30%, var(--color-paper-emit) 0%, transparent 65%),+ var(--color-paper);+}+```++### 5. Meter strip (below the hero)++A full-bleed 32–48px band beneath the hero showing 60–80 thin vertical ticks (1px wide, varying height/opacity). Mono labels at each end name the readout (`SIGNAL · 12.4 KHZ` left, `DRIFT · 0.04 σ` right). Reads as spectrum analyser / oscilloscope output. The values match the brief — never invented.++```html+<aside class="meter" aria-label="Signal readout">+ <p class="meter__label meter__label--left">SIGNAL · 12.4 KHZ</p>+ <div class="meter__bars">+ <!-- 64 spans, height + opacity per index -->+ </div>+ <p class="meter__label meter__label--right">DRIFT · 0.04 σ</p>+</aside>+```++```css+.meter {+ display: grid;+ grid-template-columns: auto 1fr auto;+ gap: 1.5rem;+ align-items: center;+ padding: 0.75rem var(--page-gutter);+ border-block: 1px solid var(--color-rule);+ font-family: var(--font-mono);+}+.meter__bars { display: flex; gap: 2px; align-items: end; height: 28px; }+.meter__bars > span {+ flex: 1; min-width: 1px;+ background: var(--color-accent);+ border-radius: 0.5px;+}+```++The meter MUST be procedurally varied — never a flat row of equal ticks. Heights drawn from a clean envelope (sine, gaussian, log) so the strip reads as a *measurement*, not a decorative pattern.++### 6. Hairline cards with inner emission++Cards carry a 1px hairline border in `--color-rule` and an inner radial gradient at 4–6% accent opacity — they feel **lit from within**, not dropped. On hover, inner glow brightens to 10–12% and the card lifts 4px. Never drop-shadow cards (the shadow Lumen uses is for elevated chrome only).++### 7. Three-stat row with Instrument Serif numerals + tabular-nums++Stats display in Instrument Serif at large size (`clamp(2.5rem, 4vw + 1rem, 4.5rem)`), `font-variant-numeric: tabular-nums`, label in mono uppercase 11px. Hairline vertical dividers. **Always three cells** — never two (reads as comparison), never four (reads as bento). If the brief has fewer than three honest numbers, skip the row entirely.++## Motion direction++Lumen's motion stack is **lighter than Hum, heavier than Coral**.++| Element | Motion |+|---|---|+| Apparatus (Night) | Pulse: 3% intensity oscillation, 4s period. **Never rotates.** |+| Apparatus (Day) | 320ms reveal on first paint, static thereafter. |+| Verb landmark | Color set permanently to accent-2; 1px underline draws in 320ms `delay: 900ms`. No font-style change. |+| Cards | `translateY(-4px)` + inner-glow brighten on hover, 220ms `--ease-soft`. |+| Section heads | Opacity 0→1 + translateY 12px→0 on view enter, 600ms, 60ms stagger. |+| Meter strip | Static. No "live" animation — the strip is a printed readout, not a streaming feed. |+| Scroll | Lenis optional (`duration: 0.7, lerp: 0.08`). |++**No magnetic cursors. No bento tile flips. No flashy parallax. No particle systems. No rotating orbs.** If you reach for any of these, you've drifted out of Lumen.++`prefers-reduced-motion: reduce` collapses all animations to instant final state.++## Required dependencies++```html+<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=Instrument+Serif:ital@0;1&family=Geist:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet" />+```++Three families, three weights each at most. No fourth family.++## Macrostructure affinity++**Lumen loves these.**++- **Marquee Hero** — canonical: apparatus at hero-right, italic-pivot headline at hero-left, meter strip below+- **Workbench** — when the page has live product UI to show (used with annotated codebase graph)+- **Stat-Led** — numbers carry the story (latency, throughput)+- **Long Document** — technical narrative with the apparatus at hero (Day Foundry canonical)+- **Specimen** — only when typography is the subject++## Macrostructure rejection++**Lumen refuses these.**++- **Bento Grid** — too playful; Lumen is one apparatus, not a tile collage+- **Quote-Led** — too literary+- **Conversational FAQ** — too soft+- **Photographic** — Lumen is pure-code; no photographic anchor+- **Catalogue** — one apparatus, not a grid of products++## Voice fixtures++Lumen voice is **direct, technical, slightly aphoristic**. Verbs over nouns. Mono labels read as if from internal docs. No marketing-ese.++Headlines — **all lowercase**, with one verb in accent-2 colour (underlined):++- "built to **think** in real time."+- "inference, **rendered**."+- "a new way to **ship** models."+- "built for the people who **read** the docs."+- "models for a **moving** atmosphere."+- "code that **knows** the codebase."++Body patterns — also lowercase, including acronyms:++- "p50 latency at 28 ms. p99 at 84. the numbers hold under load."+- "one primitive. scales down to zero. scales up to a thousand replicas."+- "three engineers built this in fourteen weeks."++Mono eyebrows — UPPERCASE (these are tags, not language):++- `00 · INFERENCE`+- `01 · RUNTIME`+- `02 · PRICING`+- `03 · CHANGELOG`++Leader-line callouts (real values only) — UPPERCASE:++- `P50 · 28 MS`+- `Λ = 612 NM`+- `θ_OUT = 38°`+- `RX-04 · H100 80GB`+- `INDEXED · 412 FILES`++Brand wordmarks — lowercase: `cinder`, `wright`, `stratum`. Legal entity names and person names in fine print also lowercase (`cinder labs, inc.`, `maya okonkwo`). The lowercase commitment is total — only mono labels break it.++**Never any of:** experience, journey, elevate, curate, transform, holistic, mindful, ecosystem, platform, leverage, unlock, supercharge, revolutionize, ai-powered, intelligent.++## Anti-patterns (theme-specific)++- **NEVER a glowing CSS orb / sphere / ring.** The single most reliable AI-tool tell of 2024–2025. Lumen explicitly refuses it. Pick from the apparatus family or build a new precision object — never a generic ball of light.+- **NEVER `<img>` for the apparatus.** Pure CSS + SVG. Figma-exported SVG paths fail this — the apparatus is constructed in code.+- **NEVER sentence-case or title-case prose.** All headlines, lede, body, buttons, nav, captions, brand wordmarks, footer copy, person names, place names, and legal-entity names are lowercase. Mono labels are the ONLY uppercase surface (eyebrows, callouts, meter labels, stat labels). This two-register split is non-negotiable.+- **NEVER `font-style: italic` anywhere.** The previous italic-pivot signature is retired. The verb landmark is built from colour + a 1px underline, not from a glyph variation. Italic body emphasis, italic founder signatures, italic captions — all banned. `<em>` is repurposed as the verb landmark and renders upright.+- **Never colour-emphasise a noun.** The verb landmark is the verb. Always.+- **Never more than one accent-coloured word per headline.** Two is a marketing landing page; one is a design move.+- **Never invent stats.** If the brief has no real numbers, skip the three-stat row entirely.+- **Never re-draw browser chrome.** Real screenshots only (slop-test gate 57).+- **Never two apparatus objects on one page.** One per build.+- **Never a system font for the display.** Instrument Serif or the documented fallback chain (`"Tiempos Headline", ui-serif, Georgia, serif`).+- **Never rotate the apparatus.** Night apparatus pulses; Day apparatus is static.+- **Never accent on display text outside the verb landmark.** Headlines are ink colour with one accent-coloured verb.+- **Never emoji icons in eyebrows.** The mono ordinal + middle-dot + role label IS the eyebrow.+- **Never two-cell stat rows.** Three only.+- **Never atmospheric blooms larger than the apparatus.** The grid is the background discipline.+- **Never blank leader-callouts.** Every annotation carries a real value from the brief.++## Macrostructure pitfalls++1. **Apparatus + embedded chrome on the same side → both fight for the focal point.** Pick one per side. Default: apparatus at hero-right, chrome (if any) in a later section.+2. **Italic-pivot word at a line break → the verb hangs alone.** Force ` ` before and after so it stays mid-line.+3. **Stats with two cells → reads as comparison.** Three only.+4. **Apparatus glow bleeds into next section → page background looks washed.** Wrap in `overflow: clip` so the halo stays inside the hero.+5. **Meter strip with uniform ticks → reads as decorative pattern.** Drive heights from a real envelope (sine, gaussian, log) so the strip looks measured.+6. **Card inner-radial > 8% accent opacity → cards read as accent-tinted, not lit.** Cap at 6% rest / 12% hover.++## How Lumen differs from neighbouring themes++| vs | difference |+|---|---|+| **Midnight** (atmospheric, closest) | Midnight is geometric Geist on cool dark (`H 250`), no apparatus, no italic pivot, no grid. Lumen sits 25° hue away (`H 265`) with classical Instrument Serif, hand-built apparatus + leader callouts, blueprint grid, meter strip. The differentiation is large at every signature axis. |+| **Aurora** (atmospheric) | Aurora is cool cyan blooms on dark, Sentient serif body. Lumen is brass-on-violet apparatus + Instrument Serif headline. Different temperature, different focal-element philosophy (Aurora: ambient blooms; Lumen: built apparatus). |+| **Bloom** (atmospheric) | Bloom is warm cream paper, expressive content (Suno/Runway). Lumen is dark or cool-bone, technical content (Modal/Anthropic). Different register entirely. |+| **Atelier** (editorial) | Atelier is Playfair Display Didone on warm cream — luxury fashion. Lumen's Instrument Serif is a 1960s technical-journal serif. Atelier sells perfume; Lumen sells inference. |++## Test brief expectations++Lumen should be a candidate when the brief mentions:++- *inference · model · LLM · AI tool · agent · coding agent · voice · synthesis · API · platform · GPU · serverless · runtime · developer experience · DX · the docs · the console · pricing · research lab · atmospheric model · weather · climate*+- product categories: *AI infrastructure · ML platform · model API · AI dev tool · voice / audio AI · research AI · climate / science AI · agentic coding*+- emotional tone: *engineered · premium · technical · instrument · after-hours · considered · post-Modal*++Briefs that say *bakery / café / atelier / fashion / podcast / record label / hot sauce / agency portfolio* never route to Lumen.++## Build hint++The first 22 lines of CSS should establish Lumen's anchor moves:++```css+body {+ background: var(--color-paper); color: var(--color-ink-2);+ font-family: var(--font-body);+ font-variant-numeric: tabular-nums;+ text-transform: lowercase; /* prose default — the two-register foundation */+}++.eyebrow, .callout, .meter__label, .stat__label, .card__eyebrow {+ font-family: var(--font-label); font-size: 11px; letter-spacing: 0.10em;+ text-transform: uppercase; /* mono labels are the only uppercase surface */+ color: var(--color-ink); opacity: 0.55;+}++.hero__title {+ font-family: var(--font-display); font-weight: 400;+ font-size: var(--text-display); line-height: 1.02;+ letter-spacing: -0.032em; max-width: 16ch;+}+.hero__title em {+ font-style: normal; /* italic is RETIRED in Lumen */+ color: var(--color-accent-2);+ position: relative; white-space: nowrap;+}++.hero {+ background:+ linear-gradient(var(--rule-blueprint) 1px, transparent 1px) 0 0 / 48px 48px,+ linear-gradient(90deg, var(--rule-blueprint) 1px, transparent 1px) 0 0 / 48px 48px,+ radial-gradient(60% 50% at 78% 30%, var(--color-paper-emit) 0%, transparent 65%),+ var(--color-paper);+}+```++The `text-transform: lowercase` on `<body>` + selective `text-transform: uppercase` on label classes is the typographic foundation. Write your HTML in normal case for accessibility (screen readers); let CSS render the lowercase. Mono labels override back to UPPERCASE.++## What Lumen refuses (restated)++Disqualifiers — if any appears in a Lumen build, the build is not Lumen:++- No glowing orb / sphere / ring of any kind.+- No `font-style: italic` anywhere on the page.+- No sentence-case or title-case prose — headlines, lede, body, buttons, nav, brand are all lowercase.+- No lowercase mono labels — eyebrows, callouts, meter labels are all UPPERCASE.+- No bento grids.+- No glassmorphism / `backdrop-filter` blur.+- No "trusted by" logo cloud as a full-width band.+- No three-feature-card row with icon tops.+- No emoji icons in eyebrows.+- No invented metrics.+- No re-drawn browser chrome.+- No more than one apparatus per page.+- No more than one accent-coloured word per headline.+- No system-font fallback for the display.+- No rotating apparatus (pulse only on Night; static on Day).+- No accent-coloured display text outside the verb landmark.+- No two-cell stat rows.+- No atmospheric blooms larger than the apparatus.+- No blank leader-line callouts.diff --git a/skills/hallmark/references/typography.md b/skills/hallmark/references/typography.mdindex d9d7c87..345c048 100644--- a/skills/hallmark/references/typography.md+++ b/skills/hallmark/references/typography.md@@ -55,7 +55,7 @@ Three sources, in priority order:| Family | Source | Voice | Best for || --- | --- | --- | --- |-| **Fraunces** | Google | Variable serif, deeply expressive italic, optical-size axis | Editorial, Salon, Atelier, brand-heavy |+| **Fraunces** | Google | Variable serif, deeply expressive italic, optical-size axis | Editorial, Atelier, brand-heavy || **Newsreader** | Google | Roman serif with optical-size + italic | Editorial, magazine, long-form || **Instrument Serif** | Google | Tight contrast, italic available, smart for short heads | Brand, atelier, intimate editorial || **Cormorant Garamond** | Google | Classical, high contrast, luxury register | Luxury, fashion, fine arts |@@ -137,7 +137,7 @@ Each tone gets two rows: a **free baseline** (Google Fonts / Fontshare; works ou## Wordmark / logo typography-The wordmark in the navbar and footer **may use a different display face than the body**. On tone-rich themes (Editorial, Salon, Atelier, Linen, Quiet) it **should** — collapsing the wordmark into the body family flattens the visual hierarchy and the page reads as un-branded.+The wordmark in the navbar and footer **may use a different display face than the body**. On tone-rich themes (Editorial, Atelier, Specimen) it **should** — collapsing the wordmark into the body family flattens the visual hierarchy and the page reads as un-branded.```css:root {diff --git a/skills/hallmark/references/verbs/redesign.md b/skills/hallmark/references/verbs/redesign.mdindex 968b512..b6ade22 100644--- a/skills/hallmark/references/verbs/redesign.md+++ b/skills/hallmark/references/verbs/redesign.md@@ -219,7 +219,7 @@ For each target page:### 4. Diversification rule — INVERTED for multi-page-Across pages of the same app, the diversification rule is *inverted*: consecutive pages MUST share theme, accent, type pairing. They may differ on macrostructure within the family. The 55 slop-test gates that check "differs from previous Hallmark run" are skipped for `designed-as-app` outputs — the system overrides the catalog rotation here.+Across pages of the same app, the diversification rule is *inverted*: consecutive pages MUST share theme, accent, type pairing. They may differ on macrostructure within the family. The 70 slop-test gates that check "differs from previous Hallmark run" are skipped for `designed-as-app` outputs — the system overrides the catalog rotation here.Pages that drift from `design.md` are slop. The audit verb flags `design.md` drift as a critical structural finding (`stamp-vs-design.md disagreement`).