mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-21 02:26:31 +03:00
* fix(home): command-wheel contrast, slop copy, line-length Address P1/P2/P3 findings from /impeccable critique of the homepage: - Command wheel (The Language): off-center command names floored at ~1.43:1 contrast were illegible (WCAG 1.4.3 fail) and hid most of the 23-command vocabulary. Raise the fisheye opacity floor 0.25 -> 0.62, MIN_SCALE 0.35 -> 0.52, and lift the base color from --ks-text-muted to --ks-text. Off-center now measures >=4.59:1; full list stays scannable while gold + size + weight still carry focus. - Slop section copy: rewrite all 7 discipline cards off the uniform "No X. No Y. No Z." triad into varied cadence with positives, and lead the section with what Impeccable does instead of the "Skills can't..." negation pivot. Drops the en-dash joiners too. - Line length: cap .downloads-rebuild-note (was unbounded, ~102ch) and tighten the homepage .section-lead 68ch -> 62ch (rendered ~86 actual chars/line). The diagonal plinth ramp on the slop grid is intentionally kept per design preference. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * refactor(home): de-warm and brighten the text ramp Warmth now lives only in the gold accents and surfaces, not the type. Body, headings, and the secondary tiers read crisp on lacquer instead of mushing into the warm floor: - --ks-champagne 84% .035 82 -> 91% .006 90 (headings/strong, now neutral; token name kept for compatibility) - --ks-text 81% .03 82 -> 88% .008 90 (body) - --ks-text-muted / -faint / -mute-deep lifted and de-warmed to match DESIGN.md frontmatter + prose synced to the new values. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * refactor(home): outlined testimonials + cleaner hero boundary Testimonials: - Flatten the double container: drop the t-plinth shelf wrapper (markup + CSS); the marquee sits directly in the section and carries its inset. - Outlined cards: no fill, 1px solid neutral border (oklch .64 0 0 / .22), no dead drop-shadow. Removes the mushy gray-on-gray blend and the stacked dotted-divider + gold-hairline chrome. - Section has no background of its own (rides the body lacquer gradient) and no top padding, so cards sit right under the hero divider. Hero: - Drop the bottom fade and the top nav scrim; the kintsugi art runs at full strength. A 1px neutral border-bottom (matching the card border) marks the testimonials boundary instead of a wash. - "How it works" is the kit ghost link (white), not an outlined button. Foundation/slop cards: lift the surface 9% -> 15% so they read as raised specimen cards instead of vanishing into the ground. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * refactor(live): quieter, more refined picker chrome Gold is reserved for the brand mark and the active control instead of ringing every container. Applied to the homepage demo, /live-mode, and the real injected picker (skill/scripts/live-browser.js, rebuilt into the harness dirs): - Container: neutral 1px hairline + tight neutral shadow (was a 1.5px gold border + gold halo ring); radius 10px -> 8px. - Active toggle: crisp graphite pill with gold text (was a murky kinpaku-dim wash). - Internal control borders (action pill / input / count): neutral hairline (was a warm gold rule); configure-row controls share one 30px baseline. - Pick outline: crisp 1.5px line, no soft gold glow ring; tighter radius. - Demo browser chrome: small uniform neutral dots, neutral URL pill, slimmer bar; frame edge neutral hairline + tighter shadow that registers on dark. DESIGN.md "Live Mode Picker" spec + "Picker Is Brand Rule" updated. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * refactor(design): neutral default hairline (--ks-rule) The default border/divider token was a warm gold hairline, used ~200x as the site-wide default border — so every small label, pill, counter, card, and divider carried warmth. Redefine it neutral so borders read clean; gold stays where it signals. - --ks-rule oklch(58% 0.065 82 / 0.32) -> oklch(78% 0 0 / 0.16) - --ks-rule-strong (active/focus/brand borders) unchanged, still gold - GitHub star pill: explicit near-white border (oklch 92% 0 0 / 0.18) - DESIGN.md hairline mirror + prose synced Verified across home, /design-system, and /docs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * fix(home): testimonials separator + visible star-pill border - Move the dotted accent to the bottom of the testimonials (neutral dots) as a deliberate separator into the slop section; drop the oversized bottom padding to 1em so cards sit near the separator. - Star-counter pill: solid oklch(80% 0 0) border. The previous near-white at 0.32 alpha rendered as faded mid-gray on the near-black pill; a solid light border reads as the intended white hairline. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * refactor(design): neutralize body text (--ks-text) Drop the last bit of warm chroma from the body text token; it still read slightly warm at 0.008 chroma. --ks-text oklch(88% 0.008 90) -> oklch(88% 0 0) (pure neutral) DESIGN.md mirror + prose synced. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * refactor(design): neutral text everywhere Zero the residual warm chroma across the rest of the text ramp so no text tier carries warmth (warmth lives only in gold accents + surfaces). - --ks-champagne 91% .006 90 -> 91% 0 0 - --ks-text-muted 72% .01 90 -> 72% 0 0 - --ks-text-faint 62% .008 90 -> 62% 0 0 - --ks-text-mute-deep 52% .008 90 -> 52% 0 0 (--ks-text was already neutralized.) DESIGN.md mirror + prose synced. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * refactor(home): crisp, neutral Desloppification section - Foundation card background: oklch(15% .004 95) -> oklch(15% 0 0) (neutral graphite) so cards read crisp, not warm. - Plinth hatch: kinpaku gold -> neutral (oklch 80% 0 0 / .07) on a neutral base; the gold hatch was washing the section champagne. - Remove the plinth bottom mask-fade so the pedestals end on a clean edge. Gold stays only on the card icons as the accent. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * refactor(home): drop the homepage warm-token overrides The homepage redefined --ks-rule, --ks-rule-strong, and --ks-muted to warm values locally (an old "busier surfaces" tweak), so homepage borders and secondary text stayed champagne even after the global de-warm. That's why the Desloppification cards still read warm. - Remove the --ks-rule / --ks-rule-strong overrides; inherit the global tokens (neutral default border, gold strong/active border). - Alias --ks-muted to the global --ks-text-muted (no divergent value); legacy code still reads the --ks-muted name. Result: all homepage borders + secondary text are neutral; gold stays on accents (icons, mark, CTAs, active/focus). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * refactor(design): canonical code tokens (inline + block) Code styling was all over the place: homepage inline code was gold-on-gold, the slop CLI was a one-off gold-on-raised-lacquer, downloads used a separate --card-cmd-* set, docs used yet another. Add one shared token set and point the canonical surfaces at it. New :root tokens: - --ks-code-fg / --ks-code-bg / --ks-code-radius (inline: neutral chip) - --ks-code-block-fg / -bg / -border / -radius (block/CLI: lacquer terminal) - --ks-code-cmd (code that's a command link) Migrated: homepage inline code (was gold -> neutral chip), slop-teaser-cli (the "weird color" -> neutral terminal), downloads-cmd, and the docs inline + fenced-block rules (now the token source of truth; block text also neutralized). Remaining pages (designing, changelog/faq, detector, case studies) swept next. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * refactor(design): sweep remaining pages onto code tokens Point the rest of the site's code rules at the shared code tokens so inline code and blocks are consistent everywhere: - Inline code (designing, changelog, faq): gold -> neutral chip (--ks-code-fg / --ks-code-bg). - Detector rule pills + table cells: code text -> --ks-code-fg. - Neon-mirai case-study code block -> --ks-code-block-* tokens. Command tags (the gold /command pills: spread-flow-cmd, docs-flow-cmd, designing-phase-cmd, why-ci-cmd, etc.) are intentionally left as their own interactive category, not generic code. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * refactor(home): polish "The Language" section - Command tags (/polish, /adapt): gold command text on a neutral code chip (--ks-code-cmd / --ks-code-bg), dropping the muddy gold-tint border. - Commands panel kept as the solid oklch(0.17 0 0) panel (no border). - Demo preview cleaned up to a single framed split: strip the grid ::before, the gold-grid/radial-glow container background, and the inner drop-shadow; before-half inherits the panel, after-half is near-black, with one thin neutral border on the demo itself (caption sits outside it). - Periodic table: crisp flat neutral graphite tiles. Removed the JS-inlined category bg (var(--cat-*-bg)) + 1.5px colored border + hover drop-shadow, the gold-leaf ::before texture, the ::after accent line, the inset box-shadow, and the gold hover glow. Now a 1px neutral border, white symbols, readable neutral names, and a clean neutral-border hover with no shadow. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * refactor(design): roomier inline-code padding Inline code chips were tight top/bottom (the homepage one was only 0.05em). Add a --ks-code-pad token (0.3em 0.5em) and point every inline-code rule at it so the chips have consistent breathing room. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * refactor(home): drop non-steering commands from the command palette impeccable, init, extract, document, and live are setup/management commands, not steering verbs. Filter them out of the palette (fisheye + mobile carousel) via a shared PALETTE_EXCLUDED set. They stay in the periodic table, which is rendered separately by framework-viz.js. Palette: 23 -> 18 commands. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * fix(designing): flatten the pre-ship nested box The pre-ship cards were a box-in-box: a legacy .designing-polish-grid panel (cream bg + L/R/B border + padding, from docs-visuals.css) wrapping cards that already have their own border + fill. Override the grid to a plain transparent layout so the three cards are the only surface. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * fix(designing): remove step counter + flatten design-debt boxes - Drop the cryptic "03 · 04" pre-ship step counter (.designing-polish-band-meta) and tighten the band to a single bottom hairline. - Design-debt: flatten the box-in-box (bento plinth > tile > stage). The .designing-maintain-stage no longer adds its own border + fill; the demo sits directly in the bento tile. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * fix(designing): neutralize code/terminal/panel surfaces The terminal block, surface-cmd chips, command pills, live-frame, and other dark panels used a slightly-warm dark fill (oklch 1X% 0.006 95). Drop the warm chroma so they read neutral like the rest of the de-warmed site; the page ground + deep surfaces stay lacquer-warm. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * fix(designing): neutralize inline code + live-mock picker chrome - Inline code: the phase-sub and avoid-title code were still gold; point them at --ks-code-fg so all inline code reads neutral (gold stays only on command *links*). - docs-viz-live mock: bring the duplicated picker chrome in line with the refactored neutral treatment — neutral 1px container borders (no gold halo), neutral active "Pick" pill (was the kinpaku-dim wash), crisp pick outline (no glow), tighter radii. - CTAs (SEND ME ONE, Accept): pale-cream kinpaku-pale -> solid kinpaku gold. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * fix(designing): flatten lanes + avoid sections - Brand/Product lane mock cards: drop the inner border+fill box; the mock sits directly in the bento tile, separated by a top hairline (no plinth>tile>mock nesting). - "What to avoid" list: flatten the boxed list cards into a clean divided list (hairline separators, no per-item border/fill). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * fix(designing): clean up the Brand/Product lanes - Drop the bento plinth (0.17 fill + 8px gutter that drew the weird gutter "borders") and the tile fill; the two lanes sit on the page split by a single center hairline. - Brand mock title used the pinstripe display face at 1.6rem (reads broken at that size, the "champagne text"); switch it to the clean body face so it matches the product mock title. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * chore(site): update GitHub star count to 31k 31,188 stars as of now; header pill + aria-label were stale at 30k. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * Add Neo Kinpaku light mode across the site. Wire theme persistence and a header toggle, then layer light-mode overrides for docs viz contrast, command demos, live-mode pathway cards, and the designing/home surfaces. Co-authored-by: Cursor <cursoragent@cursor.com> * fix(designing): replace em dashes flagged by prose validator Brand/Product lane copy used em dashes ("the deliverable —", "the task —"); swap for colons per STYLE.md so the Cloudflare build's validateProse passes. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * fix(designing): address Cursor bugbot nits - Fold the duplicate .designing-avoid { gap: 0 } override into the original rule (the gap: 18px was dead code). - Drop the leftover el.style.boxShadow = 'none' in the periodic-tile deactivate handler — activate no longer sets a box-shadow, so this only left a dead inline none that could suppress a future CSS shadow. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Co-authored-by: Cursor <cursoragent@cursor.com>
650 lines
19 KiB
CSS
650 lines
19 KiB
CSS
/* ============================================================================
|
|
/live-mode — Neo Kinpaku redesign
|
|
|
|
Same page-scope pattern as docs-kinpaku.css and slop-kinpaku.css. The
|
|
interactive demo at the top of the page simulates a real dev server with
|
|
Impeccable's picker overlaid. The simulated user-app surface inside the
|
|
browser mock stays light (it represents any app, not Impeccable itself).
|
|
The Impeccable-branded picker bar at the bottom of the mock — which IS
|
|
Impeccable's UI — gets the kinpaku treatment.
|
|
|
|
Sections of this file:
|
|
1. Page scope + base
|
|
2. Hero
|
|
3. Demo frame chrome + Impeccable picker bar re-skin
|
|
4. Stages (3-up "What happens")
|
|
5. Pathways (3-up "Where next")
|
|
6. Frameworks list
|
|
7. Footer
|
|
============================================================================ */
|
|
|
|
@import "./kinpaku-tokens.css";
|
|
|
|
|
|
/* ============================================================================
|
|
1. PAGE SCOPE + BASE
|
|
============================================================================ */
|
|
|
|
.live-mode-kinpaku {
|
|
/* Surface/text/accent/font tokens default to kinpaku at :root now; only
|
|
the --ks-muted alias and the page shell remain here. */
|
|
--ks-muted: var(--ks-text-muted);
|
|
|
|
background:
|
|
linear-gradient(180deg, oklch(7% 0.006 95), oklch(4% 0.004 95));
|
|
color: var(--ks-text);
|
|
font-family: var(--ks-font);
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.live-mode-kinpaku a {
|
|
color: inherit;
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-page {
|
|
max-width: 1180px;
|
|
margin: 0 auto;
|
|
/* Tighter top so the auto-playing demo lands closer to the fold — the
|
|
demo is the page's main asset; preamble shouldn't push it away. */
|
|
padding: clamp(32px, 4vw, 64px) clamp(22px, 4vw, 56px) clamp(80px, 10vw, 140px);
|
|
}
|
|
|
|
|
|
/* ============================================================================
|
|
2. HERO
|
|
============================================================================ */
|
|
|
|
.live-mode-kinpaku .live-mode-page-header {
|
|
max-width: 760px;
|
|
/* Pulled in from clamp(64px, 8vw, 96px). The demo viewport carries its
|
|
own margin-bottom; we don't need a big gap on both sides. */
|
|
margin: 0 0 clamp(32px, 4vw, 48px);
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-page-eyebrow {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-family: var(--ks-mono);
|
|
font-size: var(--ks-type-eyebrow-size);
|
|
letter-spacing: var(--ks-type-eyebrow-track);
|
|
text-transform: uppercase;
|
|
color: var(--ks-kinpaku);
|
|
margin: 0 0 18px;
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-page-eyebrow-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
font-family: var(--ks-mono);
|
|
font-size: 0.62rem;
|
|
letter-spacing: 0.18em;
|
|
padding: 2px 8px;
|
|
border: 1px solid oklch(70% 0.12 188 / 0.4);
|
|
border-radius: 2px;
|
|
color: var(--ks-patina);
|
|
background: oklch(70% 0.12 188 / 0.10);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-page-title {
|
|
font-family: var(--ks-font-display);
|
|
font-style: normal;
|
|
font-weight: var(--ks-type-display-weight);
|
|
font-size: var(--ks-type-display-size);
|
|
line-height: var(--ks-type-display-line);
|
|
letter-spacing: var(--ks-type-display-track);
|
|
color: var(--ks-champagne);
|
|
margin: 0 0 22px;
|
|
text-wrap: balance;
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-page-lede {
|
|
font-size: 1.1rem;
|
|
line-height: 1.65;
|
|
color: var(--ks-text);
|
|
margin: 0 0 22px;
|
|
max-width: 56ch;
|
|
}
|
|
|
|
/* Alpha note — quiet inline footnote below the command pill, not a card.
|
|
Previously a bordered callout, but it ate vertical space above the
|
|
demo without earning it. Compact form keeps the disclaimer honest
|
|
without blocking the demo. */
|
|
.live-mode-kinpaku .live-mode-page-alpha-note {
|
|
margin: 14px 0 0;
|
|
padding: 0;
|
|
background: transparent;
|
|
border: 0;
|
|
border-radius: 0;
|
|
font-size: 0.82rem;
|
|
line-height: 1.5;
|
|
color: var(--ks-text-muted);
|
|
max-width: 60ch;
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-page-alpha-note strong {
|
|
color: var(--ks-patina);
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Start command pill — terminal-style, kinpaku-tinted. */
|
|
.live-mode-kinpaku .live-mode-start {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 12px 18px;
|
|
background: var(--ks-lacquer-deep);
|
|
border: 1px solid var(--ks-rule);
|
|
border-radius: 2px;
|
|
font-family: var(--ks-mono);
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-start-prompt {
|
|
color: var(--ks-kinpaku);
|
|
font-size: 0.92rem;
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-start-cmd {
|
|
color: var(--ks-champagne);
|
|
font-size: 0.92rem;
|
|
background: transparent;
|
|
border: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-start-copy {
|
|
appearance: none;
|
|
background: transparent;
|
|
border: 0;
|
|
color: var(--ks-text-muted);
|
|
cursor: pointer;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 4px;
|
|
border-radius: 2px;
|
|
transition: color 160ms var(--ks-ease);
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-start-copy:hover {
|
|
color: var(--ks-kinpaku);
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-start-copy.is-copied {
|
|
color: var(--ks-kinpaku);
|
|
}
|
|
|
|
|
|
/* ============================================================================
|
|
3. INTERACTIVE DEMO — frame chrome + Impeccable picker bar re-skin
|
|
|
|
The mock represents: a real user dev server (light "app" inside) with
|
|
Impeccable's picker bar (kinpaku) layered on top. Only the Impeccable
|
|
chrome flips dark; the simulated app stays cream so it reads as a
|
|
generic dev preview, not as Impeccable-themed.
|
|
============================================================================ */
|
|
|
|
.live-mode-kinpaku .live-mode-demo-wrap {
|
|
margin-bottom: clamp(72px, 9vw, 110px);
|
|
}
|
|
|
|
.live-mode-kinpaku .live-demo-frame {
|
|
background: var(--ks-lacquer-deep);
|
|
/* Crisp neutral hairline + tighter, deeper shadow that registers, instead of
|
|
a warm gold edge and a broad soft shadow that washes out on dark. */
|
|
border: 1px solid oklch(92% 0 0 / 0.1);
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
box-shadow:
|
|
inset 0 1px 0 oklch(100% 0 0 / 0.05),
|
|
0 20px 48px -14px oklch(0% 0 0 / 0.6);
|
|
}
|
|
|
|
/* All .live-demo-* picker chrome (chrome bar, gbar, ctx, outline,
|
|
annotations, comment, stroke) lives in kinpaku-kit.css under the
|
|
"Live picker (kinpaku theme)" section so the homepage and this page
|
|
share one source of truth. Only the page-specific bits below remain:
|
|
the demo frame surface and the simulated user-app stage. */
|
|
|
|
/* The simulated user-app stage in the middle of the mock previously
|
|
re-established light token values to read as "a generic light dev
|
|
preview", but on the dark page chrome that white slab between two
|
|
dark surfaces hurts the eye. Pull it into the kinpaku dark palette
|
|
so the demo reads as one coherent surface. The cost is the metaphor
|
|
shifts from "any user's app" to "a dark-themed user's app"; the
|
|
payoff is the page no longer flashes white at scroll. */
|
|
.live-mode-kinpaku .live-demo-stage {
|
|
background: var(--ks-lacquer);
|
|
color: var(--ks-text);
|
|
}
|
|
|
|
/* The three card variants in the cycling demo were authored for the old
|
|
magenta editorial brand: v1 italic-serif column, v2 brutalist ticket
|
|
on `--color-ink`, v3 pastel-pink card. None of those survive the
|
|
kinpaku remap (champagne reads as sand, pink reads off-brand, italic
|
|
display is banned by DESIGN.md). Re-skin each variant to feel like a
|
|
distinct design direction inside the kinpaku world.
|
|
|
|
- v1: editorial — lacquer-raised with a kinpaku top rule, display
|
|
headline at weight 600.
|
|
- v2: brutalist ticket — deeper lacquer with a chunky kinpaku
|
|
side-bar (rendered via ::before, not a CSS side-stripe accent on a
|
|
card), all-caps body face, kinpaku CTA.
|
|
- v3: soft — slightly tinted lacquer with a hairline kinpaku border,
|
|
body-face heading.
|
|
|
|
The cycling animation also temporarily applies these as `.is-active`
|
|
variants; the kinpaku styling holds in both static and animated states. */
|
|
|
|
.live-mode-kinpaku .live-demo-card--v1,
|
|
.live-mode-kinpaku .live-demo-card--v2,
|
|
.live-mode-kinpaku .live-demo-card--v3 {
|
|
color: var(--ks-text);
|
|
}
|
|
|
|
.live-mode-kinpaku .live-demo-card--v1 {
|
|
background: var(--ks-lacquer-raised);
|
|
border: 0;
|
|
border-top: 3px solid var(--ks-kinpaku);
|
|
border-radius: 0;
|
|
}
|
|
|
|
.live-mode-kinpaku .live-demo-card--v1 .live-demo-card-kicker {
|
|
color: var(--ks-kinpaku);
|
|
}
|
|
|
|
.live-mode-kinpaku .live-demo-card--v1 h3 {
|
|
font-family: var(--ks-font-display);
|
|
font-style: normal;
|
|
font-weight: 600;
|
|
color: var(--ks-champagne);
|
|
}
|
|
|
|
.live-mode-kinpaku .live-demo-card--v1 h3 em {
|
|
color: var(--ks-kinpaku);
|
|
font-style: normal;
|
|
}
|
|
|
|
.live-mode-kinpaku .live-demo-card--v1 p {
|
|
font-family: var(--ks-font);
|
|
font-style: normal;
|
|
color: var(--ks-text-muted);
|
|
}
|
|
|
|
.live-mode-kinpaku .live-demo-card--v1 button {
|
|
background: transparent;
|
|
color: var(--ks-kinpaku);
|
|
border-bottom: 1.5px solid var(--ks-kinpaku);
|
|
border-radius: 0;
|
|
}
|
|
|
|
.live-mode-kinpaku .live-demo-card--v2 {
|
|
background: var(--ks-lacquer-deep);
|
|
color: var(--ks-champagne);
|
|
border: 0;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.live-mode-kinpaku .live-demo-card--v2::before {
|
|
background: var(--ks-kinpaku);
|
|
}
|
|
|
|
.live-mode-kinpaku .live-demo-card--v2 .live-demo-card-kicker,
|
|
.live-mode-kinpaku .live-demo-card--v2 .live-demo-card-stamp {
|
|
color: var(--ks-kinpaku);
|
|
}
|
|
|
|
.live-mode-kinpaku .live-demo-card--v2 h3 {
|
|
font-family: var(--ks-font);
|
|
font-style: normal;
|
|
font-weight: 600;
|
|
color: var(--ks-champagne);
|
|
}
|
|
|
|
.live-mode-kinpaku .live-demo-card--v2 button {
|
|
background: var(--ks-kinpaku);
|
|
color: var(--ks-lacquer-deep);
|
|
}
|
|
|
|
.live-mode-kinpaku .live-demo-card--v3 {
|
|
background: oklch(11% 0.012 82);
|
|
border: 1px solid var(--ks-rule);
|
|
color: var(--ks-text);
|
|
}
|
|
|
|
.live-mode-kinpaku .live-demo-card--v3 .live-demo-card-kicker {
|
|
color: var(--ks-kinpaku);
|
|
}
|
|
|
|
.live-mode-kinpaku .live-demo-card--v3 h3 {
|
|
font-family: var(--ks-font);
|
|
font-style: normal;
|
|
font-weight: 600;
|
|
color: var(--ks-champagne);
|
|
}
|
|
|
|
.live-mode-kinpaku .live-demo-card--v3 h3 em {
|
|
color: var(--ks-kinpaku);
|
|
font-style: normal;
|
|
}
|
|
|
|
.live-mode-kinpaku .live-demo-card--v3 button {
|
|
background: transparent;
|
|
color: var(--ks-kinpaku);
|
|
border: 1px solid var(--ks-kinpaku);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-demo-caption {
|
|
margin: 18px 0 0;
|
|
font-size: 0.92rem;
|
|
line-height: 1.55;
|
|
color: var(--ks-text-muted);
|
|
font-style: normal;
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-demo-caption code {
|
|
font-family: var(--ks-mono);
|
|
font-size: 0.86em;
|
|
color: var(--ks-champagne);
|
|
background: var(--ks-graphite-2);
|
|
border: 1px solid var(--ks-rule);
|
|
padding: 1px 6px;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
|
|
/* ============================================================================
|
|
4. STAGES — 3-up "What happens, in three moves"
|
|
============================================================================ */
|
|
|
|
.live-mode-kinpaku .live-mode-stages {
|
|
margin-bottom: clamp(72px, 9vw, 110px);
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-stages-title,
|
|
.live-mode-kinpaku .live-mode-pathways-title {
|
|
font-family: var(--ks-font-display);
|
|
font-style: normal;
|
|
font-weight: var(--ks-type-headline-weight);
|
|
font-size: var(--ks-type-headline-size);
|
|
line-height: var(--ks-type-headline-line);
|
|
letter-spacing: -0.005em;
|
|
color: var(--ks-champagne);
|
|
margin: 0 0 28px;
|
|
text-wrap: balance;
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-stages-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
@media (max-width: 880px) {
|
|
.live-mode-kinpaku .live-mode-stages-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* Flex column so the viz band can stick to the bottom (margin-top: auto)
|
|
and all three cards align their viz bands at the same baseline,
|
|
regardless of how many lines of body copy each one has. */
|
|
.live-mode-kinpaku .live-mode-stage {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
padding: 24px 24px 0;
|
|
background: var(--ks-lacquer-raised);
|
|
border: 1px solid var(--ks-rule);
|
|
border-radius: 2px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Numbered markers are allowed here — one deliberate sequence on a single
|
|
page is not the saturated "every section has 01/02/03/04 numbers" tell.
|
|
See the relaxed wording in DESIGN.md §7. Restyle as a mono caps
|
|
eyebrow in kinpaku, paired with the kinpaku flow shape. */
|
|
.live-mode-kinpaku .live-mode-stage-num {
|
|
display: block;
|
|
font-family: var(--ks-mono);
|
|
font-size: 0.7rem;
|
|
letter-spacing: 0.22em;
|
|
text-transform: uppercase;
|
|
color: var(--ks-kinpaku);
|
|
margin: 0;
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-stage-name {
|
|
font-family: var(--ks-font);
|
|
font-style: normal;
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
line-height: 1.25;
|
|
color: var(--ks-champagne);
|
|
margin: 0;
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-stage-desc {
|
|
font-size: 0.92rem;
|
|
line-height: 1.55;
|
|
color: var(--ks-text);
|
|
margin: 0;
|
|
}
|
|
|
|
/* Stage viz — a dark inset band that anchors to the bottom of the card.
|
|
`margin-top: auto` (with the parent flex column) pushes it down so all
|
|
three cards align their viz at the same baseline. Fixed height so the
|
|
bands are visually equal regardless of mock content size. */
|
|
.live-mode-kinpaku .live-mode-stage-viz {
|
|
margin: 14px -24px 0;
|
|
margin-top: auto;
|
|
padding: 20px 24px;
|
|
background: var(--ks-lacquer-deep);
|
|
border-top: 1px solid var(--ks-rule);
|
|
height: 132px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
/* No border-radius — the card's overflow:hidden + 2px corner radius is
|
|
enough; the band should look flush against the card sides. */
|
|
}
|
|
|
|
/* Re-skin the docs-viz-* mini-mocks inside the viz band for the dark
|
|
kinpaku surface. docs-visuals.css gives them light-theme backgrounds
|
|
and borders that don't read on lacquer. Match the patterns used in
|
|
/docs and /slop so the same mock vocabulary feels consistent.
|
|
|
|
Picker-target pin (PICK card) — kinpaku outline on lacquer. */
|
|
.live-mode-kinpaku .live-mode-stage-viz .docs-viz-picker-row {
|
|
background: transparent;
|
|
border: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-stage-viz .docs-viz-picker-target {
|
|
background: var(--ks-lacquer-raised);
|
|
border: 1.5px solid var(--ks-kinpaku);
|
|
color: var(--ks-champagne);
|
|
/* Pinstripe display font loses legibility below ~1.2rem (Two-Face Rule).
|
|
The mock renders at 12px, so force the body face here. */
|
|
font-family: var(--ks-font);
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
box-shadow: 0 0 0 4px oklch(78% 0.12 82 / 0.16);
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-stage-viz .docs-viz-picker-pin {
|
|
background: var(--ks-kinpaku);
|
|
color: var(--ks-lacquer-deep);
|
|
box-shadow: none;
|
|
}
|
|
|
|
/* Three-up variants strip (GENERATE card) — lacquer tiles, active gets
|
|
the kinpaku-tinted bg. */
|
|
.live-mode-kinpaku .live-mode-stage-viz .docs-viz-variant {
|
|
background: var(--ks-lacquer-raised);
|
|
border: 1px solid var(--ks-rule);
|
|
color: var(--ks-text-muted);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-stage-viz .docs-viz-variant.is-active {
|
|
background: oklch(78% 0.12 82 / 0.16);
|
|
border-color: var(--ks-kinpaku);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-stage-viz .docs-viz-variant-kicker {
|
|
color: var(--ks-text-muted);
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-stage-viz .docs-viz-variant.is-active .docs-viz-variant-kicker {
|
|
color: var(--ks-kinpaku);
|
|
}
|
|
|
|
/* Accept pill (ACCEPT card) — kinpaku gold ink on a subtle kinpaku wash. */
|
|
.live-mode-kinpaku .live-mode-stage-viz .docs-viz-accept-pill {
|
|
background: oklch(78% 0.12 82 / 0.16);
|
|
border: 1px solid var(--ks-kinpaku);
|
|
color: var(--ks-kinpaku);
|
|
}
|
|
|
|
|
|
/* ============================================================================
|
|
5. PATHWAYS — 3-up "Where next"
|
|
============================================================================ */
|
|
|
|
.live-mode-kinpaku .live-mode-pathways {
|
|
margin-bottom: clamp(56px, 7vw, 88px);
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-pathways-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
@media (max-width: 880px) {
|
|
.live-mode-kinpaku .live-mode-pathways-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-pathway {
|
|
display: grid;
|
|
align-content: start;
|
|
gap: 10px;
|
|
padding: 28px 28px 32px;
|
|
background: var(--ks-lacquer-raised);
|
|
border: 1px solid var(--ks-rule);
|
|
border-radius: 2px;
|
|
text-decoration: none;
|
|
color: inherit;
|
|
transition: border-color 180ms var(--ks-ease),
|
|
background 180ms var(--ks-ease);
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-pathway:hover {
|
|
border-color: var(--ks-kinpaku);
|
|
background: oklch(13% 0.012 82);
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-pathway-kind {
|
|
font-family: var(--ks-mono);
|
|
font-size: 0.7rem;
|
|
letter-spacing: 0.22em;
|
|
text-transform: uppercase;
|
|
color: var(--ks-kinpaku);
|
|
margin: 0;
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-pathway-title {
|
|
font-family: var(--ks-font);
|
|
font-style: normal;
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
line-height: 1.25;
|
|
color: var(--ks-champagne);
|
|
margin: 0;
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-pathway-desc {
|
|
font-size: 0.92rem;
|
|
line-height: 1.55;
|
|
color: var(--ks-text-muted);
|
|
margin: 0;
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-pathway-desc code {
|
|
font-family: var(--ks-mono);
|
|
font-size: 0.86em;
|
|
color: var(--ks-champagne);
|
|
background: var(--ks-graphite-2);
|
|
border: 1px solid var(--ks-rule);
|
|
padding: 1px 6px;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-pathway-cta {
|
|
margin-top: 4px;
|
|
font-family: var(--ks-mono);
|
|
font-size: 0.78rem;
|
|
color: var(--ks-kinpaku);
|
|
}
|
|
|
|
|
|
/* ============================================================================
|
|
6. FRAMEWORKS
|
|
============================================================================ */
|
|
|
|
/* docs-visuals.css sets `background: cream; border: 1px solid mist;
|
|
border-radius: 8px; padding: 18px 20px` here. My previous override only
|
|
touched border-top + zeroed padding, leaving the inherited box border
|
|
in place with no inset — text and pills landed flush against the
|
|
border. Strip the entire box: background, all sides of the border,
|
|
and the radius. Keep just a top hairline rule as a separator. */
|
|
.live-mode-kinpaku .live-mode-frameworks {
|
|
padding: 28px 0 0;
|
|
background: transparent;
|
|
border: 0;
|
|
border-top: 1px solid var(--ks-rule);
|
|
border-radius: 0;
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-frameworks-label {
|
|
display: block;
|
|
font-family: var(--ks-mono);
|
|
font-size: 0.7rem;
|
|
letter-spacing: 0.22em;
|
|
text-transform: uppercase;
|
|
color: var(--ks-kinpaku);
|
|
margin: 0 0 14px;
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-frameworks-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.live-mode-kinpaku .live-mode-frameworks-list li {
|
|
font-family: var(--ks-mono);
|
|
font-size: 0.82rem;
|
|
color: var(--ks-champagne);
|
|
padding: 6px 12px;
|
|
background: var(--ks-graphite-2);
|
|
border: 1px solid var(--ks-rule);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
|
|
/* ============================================================================
|
|
7. FOOTER on dark surface
|
|
============================================================================ */
|
|
|
|
/* Footer chrome moved to kinpaku-kit.css (.kinpaku-chrome .site-footer). */
|