The design language that makes your AI harness better at design.
JavaScript
Fix: Restore public directory from accidental regression
Paul Bakaus5d65154deedf
diff --git a/public/app.js b/public/app.jsindex abc45c980..8bba49dbe 100644--- a/public/app.js+++ b/public/app.js@@ -1,64 +1,101 @@-// ============================================-// MAIN APP - Entry point and orchestration-// ============================================-import {- filterCommands,- renderCommandsGrid,- renderWorkflowDiagram,- selectCommand,- setupCategoryTabs,-} from "./js/commands.js";-import { renderSkillsNav, selectSkill } from "./js/skills.js";+ initGlassTerminal,+ renderTerminalLayout,+} from "./js/components/glass-terminal.js";+import { initLensEffect } from "./js/components/lens.js";+import { initFrameworkViz } from "./js/components/framework-viz.js";+import { initHeroEffect } from "./js/effects/liquid-canvas.js";+import { initScrollReveal } from "./js/utils/reveal.js";+import { initScrollIndicator, initSmoothScroll, initHashTracking } from "./js/utils/scroll.js";// ============================================// STATE// ============================================-let allSkills = [];let allCommands = [];// ============================================-// INITIALIZATION+// CONTENT LOADING// ============================================async function loadContent() {try {- const [skillsRes, commandsRes] = await Promise.all([- fetch("/api/skills"),+ const [commandsRes, patternsRes] = await Promise.all([fetch("/api/commands"),+ fetch("/api/patterns"),]);- allSkills = await skillsRes.json();allCommands = await commandsRes.json();+ const patternsData = await patternsRes.json();- // Render skills- renderSkillsNav(allSkills, (skill) => selectSkill(skill, allSkills));+ // Render commands (Glass Terminal)+ renderTerminalLayout(allCommands);- // Render commands- renderWorkflowDiagram(allCommands, (cmd) =>- selectCommand(cmd, allCommands),- );- renderCommandsGrid(allCommands, (cmd) => selectCommand(cmd, allCommands));- setupCategoryTabs(filterCommands);-- // Select first items by default- if (allSkills.length > 0) selectSkill(allSkills[0], allSkills);- if (allCommands.length > 0) selectCommand(allCommands[0], allCommands);+ // Render patterns with tabbed navigation+ renderPatternsWithTabs(patternsData.patterns, patternsData.antipatterns);} catch (error) {console.error("Failed to load content:", error);}}-// ============================================-// UTILITIES-// ============================================+function renderPatternsWithTabs(patterns, antipatterns) {+ const container = document.getElementById("patterns-categories");+ if (!container || !patterns || !antipatterns) return;++ // Create a map of antipatterns by category name+ const antipatternMap = {};+ antipatterns.forEach(cat => {+ antipatternMap[cat.name] = cat.items;+ });-function animateIn() {- const elements = document.querySelectorAll("[data-animate]:not(.animated)");- elements.forEach((el, i) => {- el.style.animationDelay = `${i * 0.05}s`;- el.classList.add("animated");+ // Build tabs+ const tabsHTML = patterns+ .map((category, i) => `<button class="pattern-tab${i === 0 ? ' active' : ''}" data-tab="${category.name}">${category.name}</button>`)+ .join("");++ // Build panels+ const panelsHTML = patterns+ .map((category, i) => {+ const antiItems = antipatternMap[category.name] || [];+ return `+ <div class="pattern-panel${i === 0 ? ' active' : ''}" data-panel="${category.name}">+ <div class="pattern-columns">+ <div class="pattern-column pattern-column--anti">+ <span class="pattern-column-label">Don't</span>+ <ul class="pattern-list">+ ${antiItems.map((item) => `<li class="pattern-item pattern-item--anti">${item}</li>`).join("")}+ </ul>+ </div>+ <div class="pattern-column pattern-column--do">+ <span class="pattern-column-label">Do</span>+ <ul class="pattern-list">+ ${category.items.map((item) => `<li class="pattern-item pattern-item--do">${item}</li>`).join("")}+ </ul>+ </div>+ </div>+ </div>+ `;+ })+ .join("");++ container.innerHTML = `+ <div class="pattern-tabs">${tabsHTML}</div>+ <div class="pattern-panels">${panelsHTML}</div>+ `;++ // Tab click handling+ container.querySelectorAll('.pattern-tab').forEach(tab => {+ tab.addEventListener('click', () => {+ const tabName = tab.dataset.tab;++ // Update active tab+ container.querySelectorAll('.pattern-tab').forEach(t => t.classList.remove('active'));+ tab.classList.add('active');++ // Update active panel+ container.querySelectorAll('.pattern-panel').forEach(p => p.classList.remove('active'));+ container.querySelector(`[data-panel="${tabName}"]`).classList.add('active');+ });});}@@ -79,13 +116,22 @@ document.addEventListener("click", (e) => {// STARTUP// ============================================-if (document.readyState === "loading") {- document.addEventListener("DOMContentLoaded", loadContent);-} else {+function init() {+ initSmoothScroll();+ initScrollIndicator();+ initHashTracking();+ initHeroEffect();+ initLensEffect();+ initScrollReveal();+ initGlassTerminal();+ initFrameworkViz();loadContent();-}-window.addEventListener("load", () => {+document.body.classList.add("loaded");- animateIn();-});+}+if (document.readyState === "loading") {+ document.addEventListener("DOMContentLoaded", init);+} else {+ init();+}diff --git a/public/css/main.css b/public/css/main.cssindex c133c3d5c..ca36ec8af 100644--- a/public/css/main.css+++ b/public/css/main.css@@ -1,16 +1,14 @@/*- * impeccable.style — Tailwind CSS v4 + Custom Components+ * impeccable.style — Renaissance Redesign*- * Architecture:- * - Tailwind v4 with custom theme tokens- * - Custom components for complex UI patterns- * - Minimal CSS for what Tailwind can't express+ * Editorial precision meets fluid motion.+ * Light, high-contrast, typographically bold.*/@import "tailwindcss";/* ============================================- TAILWIND THEME - Static Design Tokens+ TAILWIND THEME - Design Tokens============================================ */@theme {@@ -29,13 +27,14 @@--spacing-3xl: 192px;/* Width */- --width-max: 1280px;- --width-content: 840px;+ --width-max: 1400px;+ --width-content: 900px;/* Animation */--ease-out: cubic-bezier(0.16, 1, 0.3, 1);--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);- --duration-fast: 0.2s;+ --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);+ --duration-fast: 0.15s;--duration-base: 0.3s;--duration-slow: 0.6s;--duration-slower: 0.8s;@@ -43,33 +42,43 @@}/* ============================================- COLOR TOKENS - Light/Dark Mode via CSS+ COLOR TOKENS - Renaissance Palette============================================ */:root {- /* Colors - Light Mode */+ /* Core Colors - Light Mode */--color-ink: oklch(10% 0 0);+ --color-text: oklch(10% 0 0);--color-paper: oklch(98% 0 0);+ --color-cream: oklch(96% 0.005 350);--color-charcoal: oklch(25% 0 0);--color-ash: oklch(55% 0 0);--color-mist: oklch(92% 0 0);--color-bg: oklch(96% 0.005 350);++ /* Accent - Vibrant Magenta/Rose (original) */--color-accent: oklch(60% 0.25 350);--color-accent-hover: oklch(52% 0.25 350);--color-accent-dim: oklch(60% 0.25 350 / 0.15);+ --color-accent-soft: oklch(60% 0.25 350 / 0.25);}/* Dark Mode */@media (prefers-color-scheme: dark) {:root {--color-ink: oklch(98% 0 0);+ --color-text: oklch(98% 0 0);--color-paper: oklch(10% 0 0);+ --color-cream: oklch(12% 0.005 350);--color-charcoal: oklch(92% 0 0);--color-ash: oklch(65% 0 0);--color-mist: oklch(20% 0 0);--color-bg: oklch(12% 0.005 350);+--color-accent: oklch(68% 0.23 350);--color-accent-hover: oklch(76% 0.23 350);+ --color-accent-dim: oklch(68% 0.23 350 / 0.15);+ --color-accent-soft: oklch(68% 0.23 350 / 0.25);}}@@ -77,299 +86,1480 @@BASE STYLES============================================ */+* {+ box-sizing: border-box;+}+html {-webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale;text-rendering: optimizeLegibility;+ scroll-behavior: smooth;+}++html.lenis, html.lenis body {+ height: auto;+}++.lenis.lenis-smooth {+ scroll-behavior: auto !important;+}++.lenis.lenis-smooth [data-lenis-prevent] {+ overscroll-behavior: contain;+}++.lenis.lenis-stopped {+ overflow: hidden;}body {font-family: var(--font-body);- color: var(--color-ink);+ font-size: 16px;+ line-height: 1.6;+ color: var(--color-text);background: var(--color-paper);+ overflow-x: hidden;}h1, h2, h3, h4, h5, h6 {font-family: var(--font-display);- font-weight: 600;+ font-weight: 400;line-height: 1.1;letter-spacing: -0.02em;+ color: var(--color-ink);}a {color: var(--color-accent);text-decoration: none;- transition: opacity var(--duration-fast) var(--ease-out);+ transition: color var(--duration-fast) var(--ease-out);}a:hover {- opacity: 0.7;+ color: var(--color-accent-hover);}-/* ============================================- SECTION TITLE - With accent underline- ============================================ */--.section-title {- font-size: clamp(2rem, 4vw, 3rem);+strong {font-weight: 600;- position: relative;- display: block;- padding-bottom: var(--spacing-sm);+ color: var(--color-ink);}-.section-title::after {- content: '';- position: absolute;- bottom: -0.25em;- left: 0;- width: 80px;- height: 2px;- background: var(--color-accent);+code {+ font-family: var(--font-mono);+ font-size: 0.9em;+ padding: 0.15em 0.4em;+ background: var(--color-accent-dim);+ color: var(--color-accent);+ border-radius: 4px;+}++::selection {+ background: var(--color-accent-soft);+ color: var(--color-ink);}/* ============================================- BACKGROUND ATMOSPHERE+ GRAIN OVERLAY============================================ */-body::before {- content: '';+.grain-overlay {position: fixed;inset: 0;- background:- radial-gradient(circle at 20% 30%, var(--color-accent-dim) 0%, transparent 50%),- radial-gradient(circle at 80% 70%, var(--color-accent-dim) 0%, transparent 50%);- opacity: 0;- z-index: -1;- animation: fadeInBg var(--duration-slowest) var(--ease-out) 0.3s forwards;pointer-events: none;+ z-index: 9999;+ opacity: 0.03;+ background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");+ background-repeat: repeat;+}++/* ============================================+ LAYOUT+ ============================================ */++.site-content {+ max-width: var(--width-max);+ margin: 0 auto;+ padding: 0 var(--spacing-lg);+}++@media (max-width: 768px) {+ .site-content {+ padding: 0 var(--spacing-md);+ }}/* ============================================- HERO DECORATIONS+ SECTION HEADERS============================================ */-.deco-line {+.section-header {+ margin-bottom: var(--spacing-xl);+ position: relative;+}++.section-number {+ display: block;+ font-family: var(--font-mono);+ font-size: 0.75rem;+ font-weight: 500;+ letter-spacing: 0.1em;+ color: var(--color-accent);+ margin-bottom: var(--spacing-sm);+ text-transform: uppercase;+}++.section-title {+ font-size: clamp(2.5rem, 6vw, 4.5rem);+ font-weight: 300;+ line-height: 1;+ margin: 0;+ position: relative;+}++.section-title::after {+ content: '';position: absolute;- width: 160px;+ bottom: -0.3em;+ left: 0;+ width: 60px;height: 2px;background: var(--color-accent);- top: 50%;- left: 50%;- transform: translate(-50%, -50%) rotate(-25deg);- animation: expandLine 1s var(--ease-out) 0.6s both;}-.deco-circle {- position: absolute;- width: 120px;- height: 120px;- border: 2px solid var(--color-accent);- border-radius: 50%;- top: 50%;- left: 50%;- transform: translate(-50%, -50%);- animation: drawCircle 1s var(--ease-out) 0.8s both;- opacity: 0.3;+.section-subtitle {+ font-size: 1.125rem;+ color: var(--color-ash);+ margin-top: var(--spacing-md);+ max-width: 50ch;+}++.section-lead {+ font-size: clamp(1.125rem, 2.5vw, 1.5rem);+ line-height: 1.5;+ color: var(--color-charcoal);+ max-width: 55ch;+ margin-bottom: var(--spacing-xl);}/* ============================================- BUTTONS+ HERO SECTION============================================ */-.btn {- display: inline-flex;- align-items: center;+.hero-section {+ min-height: 100vh;+ /* Use dynamic viewport height for mobile browsers */+ min-height: 100dvh;+ display: flex;+ flex-direction: column;justify-content: center;- padding: 0.875rem 2rem;- font-family: var(--font-body);- font-size: 0.9375rem;- font-weight: 600;- text-transform: uppercase;- letter-spacing: 0.05em;- border: none;- cursor: pointer;- transition: all var(--duration-base) var(--ease-out);+ align-items: center;position: relative;overflow: hidden;- text-decoration: none;+ padding: var(--spacing-2xl) var(--spacing-lg);}-.btn-primary {- background: var(--color-accent);- color: var(--color-paper);+.hero-canvas {+ position: absolute;+ inset: 0;width: 100%;+ height: 100%;+ pointer-events: none;+ opacity: 0.4;+}++.hero-container {position: relative;z-index: 1;+ text-align: center;+ max-width: 900px;}-.btn-primary::before {- content: '';- position: absolute;- inset: 0;- background: var(--color-ink);- transform: translateY(100%);- transition: transform var(--duration-base) var(--ease-out);- z-index: -1;+.hero-content {+ display: flex;+ flex-direction: column;+ align-items: center;+ gap: var(--spacing-md);}-.btn-primary:hover::before {- transform: translateY(0);+.hero-eyebrow {+ font-family: var(--font-mono);+ font-size: 0.8125rem;+ font-weight: 500;+ letter-spacing: 0.15em;+ text-transform: uppercase;+ color: var(--color-accent);+ /* Animation handled by JS reveal.js */}-.btn-secondary {- background: transparent;- color: var(--color-ink);- border: 1px solid var(--color-ink);+.hero-title {+ font-size: clamp(4rem, 15vw, 12rem);+ font-weight: 300;+ line-height: 0.9;+ letter-spacing: -0.04em;+ margin: var(--spacing-md) 0;+ display: flex;+ flex-direction: column;}-.btn-secondary:hover {- background: var(--color-ink);- color: var(--color-paper);+.hero-title-line {+ display: block;}-/* ============================================- CARD COMPONENTS- ============================================ */+.hero-title-accent {+ font-style: italic;+ color: var(--color-accent);+}-.card-inner {- height: 100%;- padding: var(--spacing-lg);- background: var(--color-paper);- border: 1px solid var(--color-mist);+.hero-subtitle {+ font-size: clamp(1rem, 2.5vw, 1.375rem);+ color: var(--color-charcoal);+ max-width: 45ch;+ line-height: 1.5;+}++.hero-cta {display: flex;flex-direction: column;+ align-items: center;gap: var(--spacing-md);- transition: all var(--duration-base) var(--ease-out);+ margin-top: var(--spacing-lg);+}++.hero-providers {+ font-size: 0.8125rem;+ color: var(--color-ash);+ letter-spacing: 0.03em;+}++.hero-scroll-indicator {+ position: absolute;+ bottom: var(--spacing-lg);+ left: 50%;+ transform: translateX(-50%);+ display: flex;+ flex-direction: column;+ align-items: center;+ gap: var(--spacing-xs);+ color: var(--color-ash);+ font-size: 0.6875rem;+ font-weight: 500;+ letter-spacing: 0.1em;+ text-transform: uppercase;+ opacity: 0;+ /* Restore simple CSS animation */+ animation: fadeIn 1s var(--ease-out) 1.5s forwards, float 2s ease-in-out infinite 2s;+}++/* Removed .revealed dependency for scroll indicator */++.hero-scroll-indicator svg {+ /* No separate bounce animation needed, handled by float */+}++/* ============================================+ PROBLEM SECTION - Clarity Lens+ ============================================ */++.problem-section {+ padding: var(--spacing-2xl) 0;+ border-top: 1px solid var(--color-mist);+}++.problem-content {+ display: grid;+ gap: var(--spacing-xl);+}++/* Split Screen Comparison */+.split-comparison {+ position: relative;+ width: 100%;+ max-width: 600px;+ margin: 0 auto;+}++.split-container {position: relative;+ width: 100%;+ max-width: 500px;+ height: 380px;+ margin: 0 auto;+ border-radius: 12px;overflow: hidden;+ background: var(--color-cream);+ border: 1px solid var(--color-mist);+ cursor: ew-resize;+ user-select: none;}-.card-inner::before {- content: '';+.split-before,+.split-after {position: absolute;- top: 0;- left: 0;- right: 0;- height: 2px;- background: var(--color-accent);- transform: translateX(-100%);- transition: transform 0.4s var(--ease-out);+ inset: 0;+ display: flex;+ align-items: center;+ justify-content: center;}-.card-inner:hover {- border-color: var(--color-accent);- transform: translateY(-4px);+.split-before {+ z-index: 1;}-.card-inner:hover::before {- transform: translateX(0);+.split-after {+ /* Angled clip-path matching divider's skewX(-10deg): top-right, bottom-left */+ clip-path: polygon(78% 0%, 100% 0%, 100% 100%, 62% 100%);+ z-index: 2;+ background: var(--color-paper);}-.badge {- font-size: 0.625rem;- text-transform: uppercase;- letter-spacing: 0.1em;- padding: 0.25em 0.625em;- border: 1px solid var(--color-accent);- color: var(--color-accent);- border-radius: 2px;+.split-divider {+ position: absolute;+ top: 0;+ bottom: 0;+ left: 70%;+ width: 3px;+ background: var(--color-accent);+ transform: translateX(-50%) skewX(-10deg);+ pointer-events: none;+ z-index: 3;+ box-shadow: 0 0 20px rgba(0,0,0,0.15);+}++.split-label {+ position: absolute;+ top: 50%;+ left: 50%;+ transform: translate(-50%, -50%) skewX(10deg);+ font-size: 0.6875rem;font-weight: 600;+ letter-spacing: 0.08em;+ text-transform: uppercase;+ color: var(--color-paper);+ background: var(--color-accent);+ padding: 6px 14px;+ border-radius: 4px;white-space: nowrap;+ box-shadow: 0 2px 8px rgba(0,0,0,0.2);}-/* ============================================- SOLUTION CARDS- ============================================ */+/* Slop Card - Generic AI output */+.slop-card {+ width: 280px;+ height: 280px;+ background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 50%, #ddd6fe 100%);+ border-radius: 16px;+ padding: 24px;+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);+ font-family: 'Inter', system-ui, sans-serif;+ display: flex;+ flex-direction: column;+}-.solution-card {- padding: var(--spacing-lg);- background: var(--color-paper);- border-left: 3px solid var(--color-accent);- transition: all var(--duration-base) var(--ease-out);+.slop-header {+ display: flex;+ align-items: center;+ gap: 12px;+ margin-bottom: 16px;}-.solution-card:hover {- background: color-mix(in oklch, var(--color-paper) 90%, var(--color-accent));- transform: translateX(4px);+.slop-avatar {+ width: 40px;+ height: 40px;+ border-radius: 50%;+ background: linear-gradient(135deg, #8b5cf6, #7c3aed);+ flex-shrink: 0;}-.solution-card code {- font-family: var(--font-mono);- font-size: 0.875em;- background: color-mix(in oklch, var(--color-accent) 15%, transparent);- color: var(--color-accent);- padding: 0.125em 0.375em;- border-radius: 3px;+.slop-text { flex: 1; }+.slop-title { font-size: 14px; font-weight: 600; color: #1f2937; margin-bottom: 2px; }+.slop-subtitle { font-size: 12px; color: #6b7280; }+.slop-body { font-size: 13px; line-height: 1.5; color: #4b5563; margin-bottom: auto; flex: 1; }++.slop-button {+ width: 100%;+ padding: 10px 20px;+ background: linear-gradient(135deg, #8b5cf6, #7c3aed);+ color: white;+ border: none;+ border-radius: 8px;+ font-family: 'Inter', system-ui, sans-serif;+ font-size: 13px;+ font-weight: 500;+ cursor: pointer;+ margin-top: auto;}-/* ============================================- ANIMATIONS- ============================================ */+/* Callout labels pointing to issues */+.slop-callouts {+ position: absolute;+ inset: 0;+ pointer-events: none;+}-@keyframes fadeInBg {- to { opacity: 1; }+.slop-callout {+ position: absolute;+ font-size: 0.625rem;+ font-weight: 600;+ text-transform: uppercase;+ letter-spacing: 0.06em;+ color: var(--color-accent);+ background: var(--color-paper);+ padding: 4px 8px;+ border: 1px solid var(--color-accent);+ border-radius: 3px;+ white-space: nowrap;+ opacity: 0;+ animation: calloutFadeIn 0.4s var(--ease-out) forwards;+ box-shadow: 0 2px 8px rgba(0,0,0,0.1);}-@keyframes slideInLeft {- from {- opacity: 0;- transform: translateX(-40px);- }+.slop-callout[data-point="font"] {+ top: 15%;+ right: 5%;+ animation-delay: 0.1s;}-@keyframes slideInRight {- from {- opacity: 0;- transform: translateX(40px);- }+.slop-callout[data-point="gradient"] {+ top: 40%;+ left: 5%;+ animation-delay: 0.25s;}-@keyframes fadeInUp {- to {- opacity: 1;- transform: translateY(0);- }+.slop-callout[data-point="copy"] {+ bottom: 35%;+ right: 8%;+ animation-delay: 0.4s;}-@keyframes expandLine {- from { width: 0; }+.slop-callout[data-point="rounded"] {+ bottom: 12%;+ left: 10%;+ animation-delay: 0.55s;}-@keyframes drawCircle {+@keyframes calloutFadeIn {from {opacity: 0;- scale: 0;+ transform: scale(0.9);}to {opacity: 1;- scale: 1;+ transform: scale(1);}}-[data-animate] {- opacity: 0;- transform: translateY(20px);+/* Impeccable Card - With Design Skills */+.impeccable-card {+ width: 280px;+ height: 280px;+ background: var(--color-paper);+ border: 1px solid var(--color-mist);+ padding: var(--spacing-lg);+ text-align: left;+ display: flex;+ flex-direction: column;}-[data-animate].animated {- animation: fadeInUp var(--duration-slow) var(--ease-out) both;+.impeccable-eyebrow {+ font-family: var(--font-mono);+ font-size: 0.625rem;+ font-weight: 500;+ letter-spacing: 0.15em;+ text-transform: uppercase;+ color: var(--color-accent);+ margin-bottom: var(--spacing-xs);}-/* Hero animations */-.hero-content {- animation: slideInLeft var(--duration-slower) var(--ease-out) 0.1s both;+.impeccable-title {+ font-family: var(--font-display);+ font-size: 1.75rem;+ font-weight: 300;+ font-style: italic;+ color: var(--color-ink);+ margin-bottom: var(--spacing-sm);+ line-height: 1.1;}-.hero-decoration {- animation: slideInRight var(--duration-slower) var(--ease-out) 0.3s both;+.impeccable-body {+ font-size: 0.875rem;+ line-height: 1.6;+ color: var(--color-ash);+ margin-bottom: auto;+ flex: 1;}-/* ============================================- IMPORTS - Complex components that need custom CSS+.impeccable-button {+ display: inline-flex;+ padding: 0.625rem 1.5rem;+ background: var(--color-ink);+ color: var(--color-paper);+ border: none;+ font-family: var(--font-body);+ font-size: 0.8125rem;+ font-weight: 500;+ letter-spacing: 0.03em;+ cursor: pointer;+ transition: all var(--duration-base) var(--ease-out);+ margin-top: auto;+ align-self: flex-start;+}++.impeccable-button:hover {+ background: var(--color-accent);+}++/* Split Labels */+.split-labels {+ display: flex;+ justify-content: center;+ gap: var(--spacing-xl);+ margin-top: var(--spacing-md);+}++.split-label-item {+ display: flex;+ align-items: center;+ gap: var(--spacing-xs);+ font-size: 0.8125rem;+ color: var(--color-ash);+}++.split-label-dot {+ width: 8px;+ height: 8px;+ border-radius: 50%;+ background: var(--color-mist);+}++.split-label-dot--accent {+ background: var(--color-accent);+}++/* ============================================+ SOLUTION SECTION+ ============================================ */++.solution-section {+ padding: var(--spacing-2xl) 0;+ border-top: 1px solid var(--color-mist);+}++.solution-content {+ display: grid;+ gap: var(--spacing-lg);+}++.solution-content .section-lead {+ margin-bottom: 0;+}++/* Two-pillar visual layout */+.solution-visual {+ display: grid;+ grid-template-columns: 1fr auto 1fr;+ gap: var(--spacing-lg);+ align-items: stretch;+}++@media (max-width: 900px) {+ .solution-visual {+ grid-template-columns: 1fr;+ gap: var(--spacing-md);+ }+}++/* Interactive Framework Viz - Periodic Table */+.solution-visual-interactive {+ width: 100%;+ min-height: 380px;+ background: var(--color-paper);+ border: 1px solid var(--color-mist);+ border-radius: 8px;+ position: relative;+ overflow: hidden;+}++.solution-pillar {+ background: var(--color-cream);+ border: 1px solid var(--color-mist);+ padding: var(--spacing-lg);+ transition: all var(--duration-base) var(--ease-out);+}++.solution-pillar:hover {+ border-color: var(--color-accent);+ transform: translateY(-4px);+ box-shadow: 0 20px 60px var(--color-accent-dim);+}++.pillar-header {+ text-align: center;+ margin-bottom: var(--spacing-lg);+ padding-bottom: var(--spacing-md);+ border-bottom: 1px solid var(--color-mist);+}++.pillar-icon {+ display: inline-flex;+ align-items: center;+ justify-content: center;+ width: 56px;+ height: 56px;+ border-radius: 50%;+ background: var(--color-accent-dim);+ color: var(--color-accent);+ margin-bottom: var(--spacing-sm);+}++.pillar-title {+ font-family: var(--font-display);+ font-size: 1.75rem;+ font-weight: 400;+ margin: 0 0 var(--spacing-xs);+}++.pillar-subtitle {+ font-size: 0.875rem;+ color: var(--color-ash);+ margin: 0;+}++.pillar-content {+ display: flex;+ flex-direction: column;+ gap: var(--spacing-sm);+}++.pillar-item {+ display: flex;+ justify-content: space-between;+ align-items: center;+ padding: var(--spacing-sm);+ background: var(--color-paper);+ border-radius: 4px;+ transition: all var(--duration-fast) var(--ease-out);+}++.pillar-item:hover {+ background: var(--color-accent-dim);+}++.pillar-item-name {+ font-weight: 500;+ color: var(--color-ink);+ font-size: 0.9375rem;+}++.pillar-item-code {+ font-family: var(--font-mono);+ font-size: 0.875rem;+ font-weight: 500;+ color: var(--color-accent);+ background: transparent;+ padding: 0;+}++.pillar-item-desc {+ font-size: 0.75rem;+ color: var(--color-ash);+}++.pillar-item--more {+ justify-content: center;+ font-size: 0.8125rem;+ font-weight: 500;+ color: var(--color-accent);+ background: transparent;+ border: 1px dashed var(--color-mist);+}++/* Connector between pillars */+.solution-connector {+ display: flex;+ align-items: center;+ justify-content: center;+}++.connector-plus {+ font-family: var(--font-display);+ font-size: 3rem;+ font-weight: 300;+ color: var(--color-accent);+ opacity: 0.5;+}++@media (max-width: 900px) {+ .solution-connector {+ padding: var(--spacing-sm) 0;+ }++ .connector-plus {+ font-size: 2rem;+ }+}++/* Result statement */+.solution-result {+ text-align: center;+ padding-top: var(--spacing-lg);+}++.result-arrow {+ display: block;+ font-size: 2rem;+ color: var(--color-accent);+ margin-bottom: var(--spacing-sm);+ animation: bounce 1.5s ease-in-out infinite;+}++.result-text {+ font-size: 1.25rem;+ color: var(--color-charcoal);+ margin: 0;+}++.result-text em {+ font-style: italic;+ color: var(--color-accent);+ font-weight: 500;+}++/* ============================================+ SKILLS SECTION+ ============================================ */++.skills-section {+ padding: var(--spacing-2xl) 0;+ border-top: 1px solid var(--color-mist);+}++.skills-gallery {+ display: grid;+ grid-template-columns: 200px 1fr;+ gap: var(--spacing-xl);+ align-items: start;+}++@media (max-width: 968px) {+ .skills-gallery {+ grid-template-columns: 1fr;+ gap: var(--spacing-lg);+ }+}++.skills-nav {+ display: flex;+ flex-direction: column;+ gap: 2px;+ position: sticky;+ top: var(--spacing-lg);+}++@media (max-width: 968px) {+ .skills-nav {+ flex-direction: row;+ flex-wrap: wrap;+ gap: var(--spacing-xs);+ position: static;+ }+}++.skill-nav-item {+ padding: var(--spacing-sm) var(--spacing-md);+ background: transparent;+ border: none;+ border-left: 2px solid transparent;+ color: var(--color-ash);+ font-family: var(--font-body);+ font-size: 0.9375rem;+ font-weight: 400;+ cursor: pointer;+ transition: all 0.2s ease;+ text-align: left;+ text-decoration: none;+ display: block;+}++.skill-nav-item:hover {+ color: var(--color-text);+ background: var(--color-cream);+}++.skill-nav-item.active {+ color: var(--color-accent);+ border-left-color: var(--color-accent);+ background: var(--color-accent-dim);+ font-weight: 500;+}++@media (max-width: 968px) {+ .skill-nav-item {+ border-left: none;+ border-bottom: 2px solid transparent;+ padding: var(--spacing-xs) var(--spacing-md);+ }++ .skill-nav-item.active {+ border-bottom-color: var(--color-accent);+ }+}++.skills-showcase {+ display: grid;+ grid-template-columns: 1.2fr 1fr;+ gap: var(--spacing-lg);+ align-items: start;+}++@media (max-width: 1100px) {+ .skills-showcase {+ grid-template-columns: 1fr;+ }+}++.loading-state {+ padding: var(--spacing-xl);+ text-align: center;+ color: var(--color-ash);+ font-style: italic;+}++/* ============================================+ COMMANDS SECTION+ ============================================ */++.commands-section {+ padding: var(--spacing-2xl) 0;+ border-top: 1px solid var(--color-mist);+}++.commands-gallery {+ display: grid;+ grid-template-columns: 200px 1fr;+ gap: var(--spacing-xl);+ align-items: start;+}++@media (max-width: 968px) {+ .commands-gallery {+ grid-template-columns: 1fr;+ gap: var(--spacing-lg);+ }+}++.commands-nav {+ display: flex;+ flex-direction: column;+ gap: 2px;+ position: sticky;+ top: var(--spacing-lg);+}++@media (max-width: 968px) {+ .commands-nav {+ flex-direction: row;+ flex-wrap: wrap;+ gap: var(--spacing-xs);+ position: static;+ }+}++.commands-showcase {+ display: grid;+ grid-template-columns: 1.2fr 1fr;+ gap: var(--spacing-lg);+ align-items: start;+}++@media (max-width: 1100px) {+ .commands-showcase {+ grid-template-columns: 1fr;+ }+}++/* ============================================+ DOWNLOADS SECTION+ ============================================ */++.downloads-section {+ padding: var(--spacing-2xl) 0;+ border-top: 1px solid var(--color-mist);+}++.downloads-grid {+ display: grid;+ grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));+ gap: var(--spacing-lg);+}++.download-card {+ display: flex;+ flex-direction: column;+ padding: var(--spacing-lg);+ background: var(--color-cream);+ border: 1px solid var(--color-mist);+ transition: all var(--duration-base) var(--ease-out);+}++.download-card:hover {+ border-color: var(--color-accent);+ transform: translateY(-4px);+ box-shadow: 0 20px 60px var(--color-accent-dim);+}++.download-card-icon {+ color: var(--color-accent);+ margin-bottom: var(--spacing-md);+}++.download-card-content {+ flex: 1;+ display: flex;+ flex-direction: column;+ gap: var(--spacing-sm);+}++.download-card-title {+ font-family: var(--font-display);+ font-size: 1.5rem;+ font-weight: 400;+ margin: 0;+}++.download-card-badge {+ display: inline-block;+ align-self: flex-start;+ font-size: 0.625rem;+ font-weight: 600;+ letter-spacing: 0.08em;+ text-transform: uppercase;+ padding: 4px 10px;+ background: var(--color-accent-dim);+ color: var(--color-accent);+ border-radius: 4px;+}++.download-card-desc {+ font-size: 0.9375rem;+ line-height: 1.6;+ color: var(--color-ash);+ flex: 1;+}++.download-card .btn {+ margin-top: var(--spacing-md);+}++/* ============================================+ OPEN SOURCE SECTION+ ============================================ */++.opensource-section {+ padding: var(--spacing-2xl) 0;+ border-top: 1px solid var(--color-mist);+ text-align: center;+}++.opensource-content {+ max-width: 500px;+ margin: 0 auto;+ display: flex;+ flex-direction: column;+ align-items: center;+ gap: var(--spacing-md);+}++.opensource-title {+ font-size: clamp(2rem, 5vw, 3.5rem);+ font-weight: 300;+}++.opensource-desc {+ font-size: 1.125rem;+ color: var(--color-ash);+ line-height: 1.6;+}++/* ============================================+ FOOTER+ ============================================ */++.site-footer {+ border-top: 1px solid var(--color-mist);+ padding: var(--spacing-xl) var(--spacing-lg);+ background: var(--color-cream);+}++.footer-content {+ max-width: var(--width-max);+ margin: 0 auto;+ display: flex;+ justify-content: space-between;+ align-items: center;+ flex-wrap: wrap;+ gap: var(--spacing-lg);+}++@media (max-width: 768px) {+ .footer-content {+ flex-direction: column;+ text-align: center;+ }+}++.footer-brand {+ display: flex;+ flex-direction: column;+ gap: var(--spacing-xs);+}++.footer-logo {+ font-family: var(--font-display);+ font-size: 1.25rem;+ font-weight: 400;+ color: var(--color-ink);+}++.footer-tagline {+ font-size: 0.875rem;+ color: var(--color-ash);+}++.footer-links {+ display: flex;+ gap: var(--spacing-lg);+ flex-wrap: wrap;+}++.footer-links a {+ font-size: 0.875rem;+ color: var(--color-ash);+ transition: color var(--duration-fast) var(--ease-out);+}++.footer-links a:hover {+ color: var(--color-accent);+}++/* ============================================+ BUTTONS+ ============================================ */++.btn {+ display: inline-flex;+ align-items: center;+ justify-content: center;+ gap: var(--spacing-xs);+ padding: 1rem 2rem;+ font-family: var(--font-body);+ font-size: 0.9375rem;+ font-weight: 600;+ letter-spacing: 0.03em;+ border: none;+ cursor: pointer;+ transition: all var(--duration-base) var(--ease-out);+ position: relative;+ overflow: hidden;+ text-decoration: none;+}++.btn-primary {+ background: var(--color-ink);+ color: var(--color-paper);+}++.btn-primary::before {+ content: '';+ position: absolute;+ inset: 0;+ background: var(--color-accent);+ transform: translateY(100%);+ transition: transform var(--duration-base) var(--ease-out);+ z-index: 0;+}++.btn-primary:hover::before {+ transform: translateY(0);+}++.btn-primary:hover {+ color: var(--color-paper);+}++.btn-primary span,+.btn-primary svg {+ position: relative;+ z-index: 1;+}++/* For buttons without span wrapper */+.btn-primary:not(:has(span)) {+ position: relative;+ z-index: 1;+}++.btn-secondary {+ background: transparent;+ color: var(--color-ink);+ border: 1px solid var(--color-ink);+}++.btn-secondary:hover {+ background: var(--color-ink);+ color: var(--color-paper);+}++/* ============================================+ ANIMATIONS+ ============================================ */++@keyframes revealUp {+ to {+ opacity: 1;+ transform: translateY(0);+ }+}++@keyframes fadeIn {+ to {+ opacity: 1;+ }+}++@keyframes float {+ 0%, 100% { transform: translateX(-50%) translateY(0); }+ 50% { transform: translateX(-50%) translateY(-8px); }+}++@keyframes bounce {+ 0%, 100% { transform: translateY(0); }+ 50% { transform: translateY(4px); }+}++/* Reveal animation for scroll */+[data-reveal] {+ opacity: 0;+ transform: translateY(30px);+ transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);+}++[data-reveal].revealed {+ opacity: 1;+ transform: translateY(0);+}++/* Staggered reveals */+[data-reveal]:nth-child(1) { transition-delay: 0s; }+[data-reveal]:nth-child(2) { transition-delay: 0.1s; }+[data-reveal]:nth-child(3) { transition-delay: 0.2s; }+[data-reveal]:nth-child(4) { transition-delay: 0.3s; }++/* ============================================+ IMPORTS============================================ */@import "./problem-section.css";@import "./skill-demos.css";@import "./gallery.css";@import "./workflow.css";++/* ============================================+ BIAS GRID (Problem Section Enhancement)+ ============================================ */++.bias-grid {+ display: grid;+ grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));+ gap: var(--spacing-md);+ margin-bottom: var(--spacing-xl);+}++.bias-item {+ display: flex;+ align-items: flex-start;+ gap: var(--spacing-sm);+ padding: var(--spacing-md);+ background: var(--color-cream);+ border: 1px solid var(--color-mist);+ border-left: 3px solid var(--color-accent);+ transition: all var(--duration-fast) var(--ease-out);+}++.bias-item:hover {+ border-color: var(--color-accent);+ transform: translateX(4px);+}++.bias-icon {+ font-size: 1.25rem;+ color: var(--color-accent);+ font-weight: 300;+ width: 32px;+ height: 32px;+ display: flex;+ align-items: center;+ justify-content: center;+ flex-shrink: 0;+}++.bias-content {+ display: flex;+ flex-direction: column;+ gap: 2px;+}++.bias-content strong {+ font-size: 0.9375rem;+ font-weight: 600;+ color: var(--color-ink);+}++.bias-content span {+ font-size: 0.8125rem;+ color: var(--color-ash);+}++/* ============================================+ ANTIDOTE SECTION+ ============================================ */++.antidote-section {+ padding: var(--spacing-2xl) 0;+ border-top: 1px solid var(--color-mist);+ background: var(--color-cream);+ margin-left: calc(-50vw + 50%);+ margin-right: calc(-50vw + 50%);+ padding-left: calc(50vw - 50% + var(--spacing-lg));+ padding-right: calc(50vw - 50% + var(--spacing-lg));+}++.antidote-content {+ max-width: var(--width-max);+ margin: 0 auto;+}++/* Patterns - tabbed layout */+.patterns-categories {+ margin-bottom: var(--spacing-xl);+}++/* Tab bar */+.pattern-tabs {+ display: flex;+ flex-wrap: wrap;+ gap: var(--spacing-xs);+ margin-bottom: var(--spacing-lg);+ border-bottom: 1px solid var(--color-mist);+ padding-bottom: var(--spacing-sm);+}++.pattern-tab {+ background: none;+ border: none;+ font-family: var(--font-body);+ font-size: 0.875rem;+ color: var(--color-ash);+ padding: var(--spacing-xs) var(--spacing-sm);+ cursor: pointer;+ transition: color var(--duration-fast) var(--ease-out);+ position: relative;+}++.pattern-tab:hover {+ color: var(--color-charcoal);+}++.pattern-tab.active {+ color: var(--color-ink);+ font-weight: 500;+}++.pattern-tab.active::after {+ content: '';+ position: absolute;+ bottom: calc(-1 * var(--spacing-sm) - 1px);+ left: 0;+ right: 0;+ height: 2px;+ background: var(--color-accent);+}++/* Panels */+.pattern-panel {+ display: none;+}++.pattern-panel.active {+ display: block;+}++.pattern-columns {+ display: grid;+ grid-template-columns: 1fr 1fr;+ gap: var(--spacing-xl);+}++@media (max-width: 768px) {+ .pattern-columns {+ grid-template-columns: 1fr;+ gap: var(--spacing-md);+ }+}++.pattern-column-label {+ display: block;+ font-size: 0.6875rem;+ font-weight: 600;+ text-transform: uppercase;+ letter-spacing: 0.1em;+ margin-bottom: var(--spacing-sm);+ color: var(--color-ash);+}++.pattern-column--anti .pattern-column-label {+ color: var(--color-accent);+}++.pattern-column--do .pattern-column-label {+ color: var(--color-success, #22c55e);+}++/* Pattern list styles */+.pattern-list {+ list-style: none;+ padding: 0;+ margin: 0;+ display: flex;+ flex-direction: column;+ gap: var(--spacing-xs);+}++.pattern-item {+ font-size: 0.8125rem;+ padding-left: var(--spacing-md);+ position: relative;+ line-height: 1.5;+}++/* Anti-pattern items - muted */+.pattern-item--anti {+ color: var(--color-ash);+}++.pattern-item--anti::before {+ content: '×';+ position: absolute;+ left: 0;+ color: var(--color-accent);+ font-weight: 600;+}++/* Pattern items - prominent */+.pattern-item--do {+ color: var(--color-charcoal);+}++.pattern-item--do::before {+ content: '✓';+ position: absolute;+ left: 0;+ color: var(--color-success, #22c55e);+ font-weight: 600;+}++/* ============================================+ SOLUTION SECTION ENHANCEMENTS+ ============================================ */++/* Main skill item styling */+.pillar-item--main {+ background: var(--color-accent-dim);+ border: 1px solid var(--color-accent);+}++.pillar-item--main .pillar-item-name {+ font-size: 1.125rem;+ font-weight: 600;+ color: var(--color-accent);+}++.pillar-item--ref {+ background: transparent;+ padding: var(--spacing-xs) var(--spacing-sm);+}++.pillar-item-label {+ font-size: 0.75rem;+ font-weight: 500;+ text-transform: uppercase;+ letter-spacing: 0.05em;+ color: var(--color-ash);+}++/* Reference domain tags */+.pillar-refs {+ display: flex;+ flex-wrap: wrap;+ gap: var(--spacing-xs);+ padding: 0 var(--spacing-sm);+}++.pillar-ref {+ font-size: 0.6875rem;+ font-weight: 500;+ text-transform: uppercase;+ letter-spacing: 0.03em;+ padding: 4px 10px;+ background: var(--color-paper);+ color: var(--color-ash);+ border: 1px solid var(--color-mist);+ border-radius: 3px;+ transition: all var(--duration-fast) var(--ease-out);+}++.pillar-ref:hover {+ border-color: var(--color-accent);+ color: var(--color-accent);+}++/* Command groups */+.pillar-command-group {+ display: flex;+ flex-wrap: wrap;+ align-items: center;+ gap: var(--spacing-xs);+ padding: var(--spacing-sm);+ background: var(--color-paper);+ border-radius: 4px;+}++.pillar-group-label {+ font-size: 0.6875rem;+ font-weight: 600;+ text-transform: uppercase;+ letter-spacing: 0.05em;+ color: var(--color-ash);+ width: 100%;+ margin-bottom: 4px;+}++.pillar-command-group .pillar-item-code {+ font-size: 0.8125rem;+ padding: 4px 8px;+ background: var(--color-accent-dim);+ border-radius: 3px;+}++/* ============================================+ PLATFORMS SECTION (alias for downloads)+ ============================================ */++.platforms-section {+ padding: var(--spacing-2xl) 0;+ border-top: 1px solid var(--color-mist);+}++.platforms-section .section-subtitle {+ max-width: 60ch;+}diff --git a/public/index.html b/public/index.htmlindex fb288142f..7c3b57a80 100644--- a/public/index.html+++ b/public/index.html@@ -9,191 +9,316 @@<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=Instrument+Sans:wght@400;500;600;700&family=Inter:wght@400;500;600&family=Space+Grotesk:wght@400;500;600&display=swap" rel="stylesheet"><link rel="stylesheet" href="tailwindcss" /><link rel="stylesheet" href="./css/main.css">++ <!-- Import Maps for ES Module dependencies -->+ <script type="importmap">+ {+ "imports": {+ "lenis": "https://cdn.jsdelivr.net/npm/[email protected]/+esm",+ "motion": "https://cdn.jsdelivr.net/npm/[email protected]/+esm",+ "three": "https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js"+ }+ }+ </script></head>-<body>- <!-- 1. HERO - Hook with the problem statement -->- <header class="hero">- <div class="hero-grid">+<body class="min-h-screen overflow-x-hidden leading-relaxed">+ <!-- Grain Overlay -->+ <div class="grain-overlay" aria-hidden="true"></div>++ <!-- 1. HERO - Liquid Typography -->+ <header class="hero-section" id="hero">+ <canvas class="hero-canvas" id="hero-canvas"></canvas>+ <div class="hero-container"><div class="hero-content">- <h1 class="title">- <span class="title-main">Impeccable style</span>- <span class="title-sub">made easy</span>+ <p class="hero-eyebrow" data-reveal data-split-text>The Anti-Slop Framework for AI Design</p>+ <h1 class="hero-title" data-reveal>+ <span class="hero-title-line" data-split-text>Impeccable</span>+ <span class="hero-title-line hero-title-accent" data-split-text>Style</span></h1>- <p class="tagline">Your LLM can design beautiful interfaces.<br>It just needs to know what to ask for.</p>- <p class="providers">Works with Cursor · Claude Code · Gemini CLI · Codex CLI</p>- </div>- <div class="hero-decoration" aria-hidden="true">- <div class="deco-line"></div>- <div class="deco-circle"></div>+ <p class="hero-subtitle" data-reveal>One design skill and 15 commands that work across Cursor, Claude Code, Gemini CLI, and Codex CLI. Stop getting generic AI output. Start getting intentional design.</p>+ <div class="hero-cta" data-reveal>+ <a href="#downloads" class="btn btn-primary">Get the Framework</a>+ </div></div></div>+ <div class="hero-scroll-indicator" aria-hidden="true">+ <span>Scroll</span>+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5">+ <path d="M12 5v14M19 12l-7 7-7-7"/>+ </svg>+ </div></header>- <main class="container">- <!-- 2. THE PROBLEM - Show the "AI slop" aesthetic -->- <section class="problem-section">- <div class="problem-grid">- <div class="problem-content">- <h2 class="section-title">The Problem</h2>- <p class="problem-lead">LLMs are biased toward safe, generic design choices. Without guidance, you get the same predictable aesthetic every time.</p>+ <main class="site-content">+ <!-- 2. THE PROBLEM - AI Design Bias -->+ <section class="problem-section" id="problem">+ <div class="section-header" data-reveal>+ <span class="section-number">01</span>+ <h2 class="section-title">AI Has Design Bias</h2>+ </div>+ <div class="problem-content">+ <p class="section-lead" data-reveal>Every LLM learned from the same generic templates. Without guidance, you get the same predictable mistakes—every single time.</p>++ <!-- Bias Examples Grid -->+ <div class="bias-grid" data-reveal>+ <div class="bias-item">+ <span class="bias-icon">Aa</span>+ <div class="bias-content">+ <strong>Safe fonts</strong>+ <span>Defaults to Inter, Roboto, system fonts</span>+ </div>+ </div>+ <div class="bias-item">+ <span class="bias-icon">◐</span>+ <div class="bias-content">+ <strong>Purple gradients</strong>+ <span>Purple-to-blue on white backgrounds</span>+ </div>+ </div>+ <div class="bias-item">+ <span class="bias-icon">▢</span>+ <div class="bias-content">+ <strong>Cards everywhere</strong>+ <span>Wraps everything in rounded boxes</span>+ </div>+ </div>+ <div class="bias-item">+ <span class="bias-icon">◫</span>+ <div class="bias-content">+ <strong>Gray on color</strong>+ <span>Gray text on colored backgrounds</span>+ </div>+ </div>+ <div class="bias-item">+ <span class="bias-icon">≡</span>+ <div class="bias-content">+ <strong>Centered everything</strong>+ <span>Centers all text and layouts</span>+ </div>+ </div>+ <div class="bias-item">+ <span class="bias-icon">◌</span>+ <div class="bias-content">+ <strong>Decorative shadows</strong>+ <span>Adds shadows without purpose</span>+ </div>+ </div></div>- <div class="problem-showcase">- <div class="ai-slop-demo">- <div class="slop-card">- <div class="slop-header">- <div class="slop-avatar"></div>- <div class="slop-text">- <div class="slop-title">Welcome to Our Platform</div>- <div class="slop-subtitle">The best solution for your needs</div>++ <div class="split-comparison" id="lens-comparison">+ <div class="split-container">+ <!-- Before: AI Slop -->+ <div class="split-before">+ <div class="slop-card">+ <div class="slop-header">+ <div class="slop-avatar"></div>+ <div class="slop-text">+ <div class="slop-title">Welcome to Our Platform</div>+ <div class="slop-subtitle">The best solution for your needs</div>+ </div></div>+ <p class="slop-body">Lorem ipsum dolor sit amet, consectetur adipiscing elit. This is generic placeholder text.</p>+ <button class="slop-button">Get Started</button></div>- <p class="slop-body">Lorem ipsum dolor sit amet, consectetur adipiscing elit. This is generic placeholder text in a card layout.</p>- <button class="slop-button">Get Started</button>+ <!-- Callout labels pointing to issues -->+ <div class="slop-callouts">+ <span class="slop-callout" data-point="font">Inter font (again)</span>+ <span class="slop-callout" data-point="gradient">Purple gradient</span>+ <span class="slop-callout" data-point="copy">Generic copy</span>+ <span class="slop-callout" data-point="rounded">Cards on cards</span>+ </div>+ </div>+ <!-- After: Impeccable (shown through split) -->+ <div class="split-after">+ <div class="impeccable-card">+ <p class="impeccable-eyebrow">Introducing</p>+ <h3 class="impeccable-title">Thoughtful Design</h3>+ <p class="impeccable-body">Every element serves a purpose. Hierarchy guides the eye. Whitespace breathes.</p>+ <button class="impeccable-button">Explore</button>+ </div>+ </div>+ <!-- The Divider -->+ <div class="split-divider">+ <span class="split-label">With Skills</span>+ </div>+ </div>+ <div class="split-labels">+ <div class="split-label-item" data-point="before">+ <span class="split-label-dot"></span>+ <span>Generic AI Output</span></div>- <div class="slop-labels">- <span class="slop-label" data-point="font">Inter font</span>- <span class="slop-label" data-point="gradient">Purple gradient</span>- <span class="slop-label" data-point="layout">Card layout</span>- <span class="slop-label" data-point="copy">Generic copy</span>+ <div class="split-label-item" data-point="after">+ <span class="split-label-dot split-label-dot--accent"></span>+ <span>With Design Skills</span></div></div></div></div></section>- <!-- 3. THE SOLUTION - Brief explanation -->- <section class="solution-section">- <div class="solution-grid">- <div class="solution-content">- <h2 class="section-title">The Solution</h2>- <p class="solution-lead">Teach your AI assistant the language of design. <strong>Skills</strong> provide deep design knowledge. <strong>Commands</strong> give you precise control over the creative process.</p>- </div>- <div class="solution-cards">- <div class="solution-card">- <div class="solution-icon">- <svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5">- <path d="M12 6.042A8.967 8.967 0 006 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 016 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 016-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0018 18a8.967 8.967 0 00-6 2.292m0-14.25v14.25"/>- </svg>- </div>- <h3>8 Skills</h3>- <p>Deep knowledge in typography, color, motion, spatial design, and more. The AI learns <em>how</em> to think about design.</p>- </div>- <div class="solution-card">- <div class="solution-icon">- <svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5">- <path d="M6.75 7.5l3 2.25-3 2.25m4.5 0h3m-9 8.25h13.5A2.25 2.25 0 0021 18V6a2.25 2.25 0 00-2.25-2.25H5.25A2.25 2.25 0 003 6v12a2.25 2.25 0 002.25 2.25z"/>- </svg>- </div>- <h3>15 Commands</h3>- <p>Precise actions like <code>/bolder</code>, <code>/animate</code>, <code>/audit</code>. Steer the AI through iterative design refinement.</p>- </div>+ <!-- 3. THE ANTIDOTE - Patterns & Anti-Patterns -->+ <section class="antidote-section" id="antidote">+ <div class="section-header" data-reveal>+ <span class="section-number">02</span>+ <h2 class="section-title">The Antidote</h2>+ </div>+ <div class="antidote-content">+ <p class="section-lead" data-reveal>The original Claude frontend-design skill says to avoid Arial and Inter. We've expanded it with 60+ specific patterns that fight model bias across every design domain.</p>++ <!-- Patterns by category with tabs -->+ <div class="patterns-categories" id="patterns-categories">+ <!-- Rendered by JS --></div></div></section>- <!-- 4. SKILLS SHOWCASE - Interactive demos -->- <section class="skills-section" id="skills-section">- <div class="section-header-sticky">- <h2 class="section-title">Skills</h2>- <p class="section-subtitle">Design knowledge that transforms AI output</p>+ <!-- 4. THE SOLUTION - Two-part system -->+ <section class="solution-section" id="solution">+ <div class="section-header" data-reveal>+ <span class="section-number">03</span>+ <h2 class="section-title">The Framework</h2></div>- <div class="skills-layout">- <nav class="skills-nav" id="skills-nav">- <div class="loading">Loading...</div>- </nav>- <div class="skills-showcase" id="skills-detail">- <div class="loading">Select a skill to see it in action</div>+ <div class="solution-content">+ <p class="section-lead" data-reveal>One comprehensive skill with deep expertise, plus 15 commands that form the language of design.</p>++ <div class="solution-visual-interactive" id="framework-viz-container" data-reveal>+ <!-- Subway map generated by JS -->+ </div>++ <div class="solution-result" data-reveal>+ <span class="result-arrow">↓</span>+ <p class="result-text">Together, they transform generic output into <em>impeccable</em> design.</p></div></div></section>- <!-- 5. COMMANDS - Sidebar nav + details (mirrors skills layout) -->+ <!-- 4. COMMANDS - Glass Terminal --><section class="commands-section" id="commands-section">- <div class="section-header-sticky">- <h2 class="section-title">Commands</h2>- <p class="section-subtitle">Precise control over the design process</p>+ <div class="section-header" data-reveal>+ <span class="section-number">04</span>+ <h2 class="section-title">Commands in Action</h2>+ <p class="section-subtitle">See how commands transform your designs</p></div>-- <div class="commands-layout">- <!-- Commands nav (left sidebar) -->- <nav class="commands-nav" id="workflow-diagram">- <!-- Will be rendered by JS -->- </nav>-- <!-- Command detail (right side) -->- <div class="commands-showcase" id="commands-detail">- <div class="loading">Select a command to view details</div>- </div>++ <div class="commands-gallery">+ <!-- Rendered by JS --></div></section>- <!-- 6. DOWNLOAD BUNDLES - After demonstrating value -->- <section class="downloads-section" id="downloads">- <div class="downloads-header">- <h2 class="section-title">Get Started</h2>- <p class="downloads-lead">Download the complete bundle for your preferred AI tool. Extract into your project root and start creating.</p>+ <!-- 5. PLATFORMS -->+ <section class="platforms-section" id="downloads">+ <div class="section-header" data-reveal>+ <span class="section-number">05</span>+ <h2 class="section-title">One Framework, Every Agent Harness</h2>+ <p class="section-subtitle">We wrote it once, then compiled it for each platform. Same design intelligence, native to your workflow.</p></div>- <div class="download-grid">- <article class="download-card" data-animate>- <div class="card-inner">- <div class="card-header">- <h3>Cursor</h3>- <span class="badge">Rules + Commands</span>- </div>- <p>Commands and rules for Cursor IDE. Works via appending, no frontmatter required.</p>- <button class="btn btn-primary" data-bundle="cursor">Download</button>++ <div class="downloads-grid">+ <article class="download-card" data-reveal>+ <div class="download-card-icon">+ <svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5">+ <path d="M9 3H5a2 2 0 00-2 2v4m6-6h10a2 2 0 012 2v4M9 3v18m0 0h10a2 2 0 002-2v-4M9 21H5a2 2 0 01-2-2v-4m0-6v6m18-6v6"/>+ </svg>+ </div>+ <div class="download-card-content">+ <h3 class="download-card-title">Cursor</h3>+ <span class="download-card-badge">Rules + Commands</span>+ <p class="download-card-desc">Commands and rules for Cursor IDE. Works via appending, no frontmatter required.</p></div>+ <button class="btn btn-primary" data-bundle="cursor">+ <span>Download</span>+ <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">+ <path d="M21 15v4a2 2 0 01-2 2H5a2 2 0 01-2-2v-4M7 10l5 5 5-5M12 15V3"/>+ </svg>+ </button></article>- <article class="download-card" data-animate>- <div class="card-inner">- <div class="card-header">- <h3>Claude Code</h3>- <span class="badge">Full Featured</span>- </div>- <p>Complete YAML frontmatter with argument support. Follows Anthropic Skills specification.</p>- <button class="btn btn-primary" data-bundle="claude-code">Download</button>+ <article class="download-card" data-reveal>+ <div class="download-card-icon">+ <svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5">+ <path d="M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"/>+ </svg>+ </div>+ <div class="download-card-content">+ <h3 class="download-card-title">Claude Code</h3>+ <span class="download-card-badge">Full Featured</span>+ <p class="download-card-desc">Complete YAML frontmatter with argument support. Follows Anthropic Skills specification.</p></div>+ <button class="btn btn-primary" data-bundle="claude-code">+ <span>Download</span>+ <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">+ <path d="M21 15v4a2 2 0 01-2 2H5a2 2 0 01-2-2v-4M7 10l5 5 5-5M12 15V3"/>+ </svg>+ </button></article>- <article class="download-card" data-animate>- <div class="card-inner">- <div class="card-header">- <h3>Gemini CLI</h3>- <span class="badge">TOML + Modular</span>- </div>- <p>TOML-formatted commands with modular skill imports via GEMINI.md.</p>- <button class="btn btn-primary" data-bundle="gemini">Download</button>+ <article class="download-card" data-reveal>+ <div class="download-card-icon">+ <svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5">+ <path d="M12 6.042A8.967 8.967 0 006 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 016 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 016-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0018 18a8.967 8.967 0 00-6 2.292m0-14.25v14.25"/>+ </svg></div>+ <div class="download-card-content">+ <h3 class="download-card-title">Gemini CLI</h3>+ <span class="download-card-badge">TOML + Modular</span>+ <p class="download-card-desc">TOML-formatted commands with modular skill imports via GEMINI.md.</p>+ </div>+ <button class="btn btn-primary" data-bundle="gemini">+ <span>Download</span>+ <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">+ <path d="M21 15v4a2 2 0 01-2 2H5a2 2 0 01-2-2v-4M7 10l5 5 5-5M12 15V3"/>+ </svg>+ </button></article>- <article class="download-card" data-animate>- <div class="card-inner">- <div class="card-header">- <h3>Codex CLI</h3>- <span class="badge">Prompts + Routing</span>- </div>- <p>Custom prompt format with skill routing through AGENTS.md architecture.</p>- <button class="btn btn-primary" data-bundle="codex">Download</button>+ <article class="download-card" data-reveal>+ <div class="download-card-icon">+ <svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5">+ <path d="M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z"/>+ </svg>+ </div>+ <div class="download-card-content">+ <h3 class="download-card-title">Codex CLI</h3>+ <span class="download-card-badge">Prompts + Routing</span>+ <p class="download-card-desc">Custom prompt format with skill routing through AGENTS.md architecture.</p></div>+ <button class="btn btn-primary" data-bundle="codex">+ <span>Download</span>+ <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">+ <path d="M21 15v4a2 2 0 01-2 2H5a2 2 0 01-2-2v-4M7 10l5 5 5-5M12 15V3"/>+ </svg>+ </button></article></div></section><!-- 7. OPEN SOURCE -->- <section class="contribute">- <div class="contribute-content">- <h2>Open Source</h2>- <p>View the source, contribute skills and commands, or report issues on GitHub.</p>- <a href="https://github.com/pbakaus/vibe-design-plugins" class="btn btn-secondary">View Repository</a>+ <section class="opensource-section" id="opensource">+ <div class="opensource-content" data-reveal>+ <h2 class="opensource-title">Open Source</h2>+ <p class="opensource-desc">View the source, contribute skills and commands, or report issues on GitHub.</p>+ <a href="https://github.com/pbakaus/vibe-design-plugins" class="btn btn-secondary">+ <svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">+ <path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/>+ </svg>+ <span>View Repository</span>+ </a></div></section></main>- <footer>+ <footer class="site-footer"><div class="footer-content">- <p>impeccable.style</p>- <p><a href="https://github.com/pbakaus/vibe-design-plugins">GitHub</a></p>+ <div class="footer-brand">+ <span class="footer-logo">impeccable.style</span>+ <p class="footer-tagline">The anti-slop framework for AI design</p>+ </div>+ <div class="footer-links">+ <a href="#antidote">Anti-Patterns</a>+ <a href="#commands-section">Commands</a>+ <a href="#downloads">Downloads</a>+ <a href="https://github.com/pbakaus/vibe-design-plugins">GitHub</a>+ </div></div></footer>diff --git a/public/js/components/art-gallery.js b/public/js/components/art-gallery.jsindex c472749cd..bbe2a005e 100644--- a/public/js/components/art-gallery.js+++ b/public/js/components/art-gallery.js@@ -133,4 +133,3 @@ function setupInteractions() {}-diff --git a/public/js/components/framework-viz.js b/public/js/components/framework-viz.jsnew file mode 100644index 000000000..e0e78f0bb--- /dev/null+++ b/public/js/components/framework-viz.js@@ -0,0 +1,357 @@+/**+ * Periodic Table of Commands+ * Clean grid visualization showing all commands organized by category+ */++import { commandCategories, commandRelationships } from '../data.js';++const categoryColors = {+ diagnostic: { bg: '#fdf4ff', border: '#d946ef', text: '#a21caf' },+ quality: { bg: '#f0fdf4', border: '#22c55e', text: '#15803d' },+ intensity: { bg: '#fffbeb', border: '#f59e0b', text: '#b45309' },+ adaptation: { bg: '#eff6ff', border: '#3b82f6', text: '#1d4ed8' },+ enhancement: { bg: '#fdf2f8', border: '#ec4899', text: '#be185d' },+ system: { bg: '#f9fafb', border: '#6b7280', text: '#374151' }+};++const categoryLabels = {+ diagnostic: 'Diagnostic',+ quality: 'Quality',+ intensity: 'Intensity',+ adaptation: 'Adaptation',+ enhancement: 'Enhancement',+ system: 'System'+};++// Short symbols for each command (like element symbols)+const commandSymbols = {+ audit: 'Au',+ normalize: 'No',+ polish: 'Po',+ optimize: 'Op',+ harden: 'Ha',+ clarify: 'Cl',+ simplify: 'Si',+ adapt: 'Ad',+ extract: 'Ex',+ animate: 'An',+ colorize: 'Co',+ delight: 'De',+ bolder: 'Bo',+ quieter: 'Qu',+ onboard: 'On'+};++// Atomic numbers (just for visual interest)+const commandNumbers = {+ audit: 1,+ normalize: 2,+ polish: 3,+ optimize: 4,+ harden: 5,+ clarify: 6,+ simplify: 7,+ adapt: 8,+ extract: 9,+ animate: 10,+ colorize: 11,+ delight: 12,+ bolder: 13,+ quieter: 14,+ onboard: 15+};++export class PeriodicTable {+ constructor(container) {+ this.container = container;+ this.infoPanel = null;+ this.activeElement = null;+ this.init();+ }++ init() {+ this.container.innerHTML = '';+ this.container.style.cssText = `+ display: flex;+ flex-direction: column;+ gap: 16px;+ padding: 20px;+ height: 100%;+ box-sizing: border-box;+ `;++ this.renderTable();+ this.renderInfoPanel();+ }++ renderTable() {+ // Group commands by category+ const groups = {};+ Object.entries(commandCategories).forEach(([cmd, cat]) => {+ if (!groups[cat]) groups[cat] = [];+ groups[cat].push(cmd);+ });++ // Category order+ const categoryOrder = ['diagnostic', 'quality', 'adaptation', 'enhancement', 'intensity', 'system'];++ // Create grid container+ const grid = document.createElement('div');+ grid.style.cssText = `+ display: grid;+ grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));+ gap: 16px;+ flex: 1;+ `;++ categoryOrder.forEach(cat => {+ const commands = groups[cat];+ if (!commands) return;++ const group = this.createCategoryGroup(cat, commands);+ grid.appendChild(group);+ });++ this.container.appendChild(grid);+ }++ renderInfoPanel() {+ this.infoPanel = document.createElement('div');+ this.infoPanel.style.cssText = `+ background: var(--color-cream);+ border: 1px solid var(--color-mist);+ border-radius: 8px;+ padding: 16px 20px;+ height: 96px;+ display: flex;+ align-items: center;+ gap: 20px;+ flex-shrink: 0;+ overflow: hidden;+ `;++ // Default state+ this.showDefaultInfo();++ this.container.appendChild(this.infoPanel);+ }++ showDefaultInfo() {+ this.infoPanel.innerHTML = `+ <div style="+ font-family: var(--font-body);+ font-size: 14px;+ color: var(--color-ash);+ font-style: italic;+ ">+ Hover over a command to see details+ </div>+ `;+ }++ showCommandInfo(cmd) {+ const category = commandCategories[cmd];+ const colors = categoryColors[category];+ const rel = commandRelationships[cmd] || {};++ // Normalize to arrays (pairs can be string or array)+ const toArray = (val) => {+ if (!val) return [];+ if (Array.isArray(val)) return val;+ return [val];+ };++ const pairs = toArray(rel.pairs);+ const leadsTo = toArray(rel.leadsTo);+ const combinesWith = toArray(rel.combinesWith);++ // Build related info+ let relatedHtml = '';++ if (pairs.length > 0) {+ const list = pairs.map(p => `<span style="font-family: var(--font-mono); color: var(--color-ink)">/${p}</span>`).join(', ');+ relatedHtml += `<span style="color: var(--color-ash)">Pairs with:</span> ${list}`;+ }+ if (combinesWith.length > 0) {+ const list = combinesWith.map(p => `<span style="font-family: var(--font-mono); color: var(--color-ink)">/${p}</span>`).join(', ');+ if (relatedHtml) relatedHtml += '<span style="color: var(--color-mist); margin: 0 8px;">•</span>';+ relatedHtml += `<span style="color: var(--color-ash)">Combines with:</span> ${list}`;+ }+ if (leadsTo.length > 0) {+ const list = leadsTo.map(p => `<span style="font-family: var(--font-mono); color: var(--color-ink)">/${p}</span>`).join(', ');+ if (relatedHtml) relatedHtml += '<span style="color: var(--color-mist); margin: 0 8px;">•</span>';+ relatedHtml += `<span style="color: var(--color-ash)">Then:</span> ${list}`;+ }++ this.infoPanel.innerHTML = `+ <div style="flex: 1; min-width: 0;">+ <div style="+ display: flex;+ align-items: baseline;+ gap: 10px;+ margin-bottom: 4px;+ ">+ <span style="+ font-family: var(--font-mono);+ font-size: 15px;+ font-weight: 500;+ color: var(--color-ink);+ ">/${cmd}</span>+ <span style="+ font-size: 11px;+ text-transform: uppercase;+ letter-spacing: 0.05em;+ color: ${colors.text};+ font-weight: 500;+ ">${categoryLabels[category]}</span>+ </div>+ <div style="+ font-family: var(--font-body);+ font-size: 13px;+ color: var(--color-charcoal);+ line-height: 1.4;+ margin-bottom: ${relatedHtml ? '6px' : '0'};+ ">${rel.flow || 'Design command'}</div>+ ${relatedHtml ? `<div style="font-size: 12px; line-height: 1.4;">${relatedHtml}</div>` : ''}+ </div>+ `;+ }++ createCategoryGroup(category, commands) {+ const colors = categoryColors[category];++ const group = document.createElement('div');+ group.style.cssText = `+ display: flex;+ flex-direction: column;+ gap: 6px;+ `;++ // Category label+ const label = document.createElement('div');+ label.style.cssText = `+ font-family: var(--font-body);+ font-size: 10px;+ font-weight: 500;+ text-transform: uppercase;+ letter-spacing: 0.05em;+ color: ${colors.text};+ padding-left: 2px;+ `;+ label.textContent = categoryLabels[category];+ group.appendChild(label);++ // Elements row+ const row = document.createElement('div');+ row.style.cssText = `+ display: flex;+ flex-wrap: wrap;+ gap: 6px;+ `;++ commands.forEach(cmd => {+ const element = this.createElement(cmd, category);+ row.appendChild(element);+ });++ group.appendChild(row);+ return group;+ }++ createElement(cmd, category) {+ const colors = categoryColors[category];++ const el = document.createElement('div');+ el.style.cssText = `+ width: 56px;+ height: 64px;+ background: ${colors.bg};+ border: 1.5px solid ${colors.border};+ border-radius: 5px;+ display: flex;+ flex-direction: column;+ align-items: center;+ justify-content: center;+ cursor: pointer;+ transition: transform 0.15s ease, box-shadow 0.15s ease;+ position: relative;+ `;++ // Atomic number+ const number = document.createElement('div');+ number.style.cssText = `+ position: absolute;+ top: 3px;+ left: 5px;+ font-family: var(--font-mono);+ font-size: 7px;+ color: ${colors.text};+ opacity: 0.5;+ `;+ number.textContent = commandNumbers[cmd];+ el.appendChild(number);++ // Symbol+ const symbol = document.createElement('div');+ symbol.style.cssText = `+ font-family: var(--font-display);+ font-size: 20px;+ font-weight: 500;+ color: ${colors.text};+ line-height: 1;+ `;+ symbol.textContent = commandSymbols[cmd];+ el.appendChild(symbol);++ // Command name+ const name = document.createElement('div');+ name.style.cssText = `+ font-family: var(--font-mono);+ font-size: 8px;+ color: ${colors.text};+ opacity: 0.7;+ margin-top: 3px;+ `;+ name.textContent = `/${cmd}`;+ el.appendChild(name);++ // Hover effects+ el.addEventListener('mouseenter', () => {+ // Visual feedback+ el.style.transform = 'translateY(-2px)';+ el.style.boxShadow = `0 4px 12px ${colors.border}40`;++ // Update info panel+ this.showCommandInfo(cmd);++ // Track active element+ if (this.activeElement) {+ this.activeElement.style.transform = 'translateY(0)';+ this.activeElement.style.boxShadow = 'none';+ }+ this.activeElement = el;+ });++ el.addEventListener('mouseleave', () => {+ el.style.transform = 'translateY(0)';+ el.style.boxShadow = 'none';+ });++ // Click to scroll to command+ el.addEventListener('click', () => {+ const target = document.getElementById(`cmd-${cmd}`);+ if (target) {+ target.scrollIntoView({ behavior: 'smooth', block: 'center' });+ }+ });++ return el;+ }+}++export function initFrameworkViz() {+ const container = document.getElementById('framework-viz-container');+ if (container) {+ new PeriodicTable(container);+ }+}diff --git a/public/js/components/glass-terminal.js b/public/js/components/glass-terminal.jsindex 43183c10b..8a0fce3b7 100644--- a/public/js/components/glass-terminal.js+++ b/public/js/components/glass-terminal.js@@ -183,4 +183,3 @@ function updateTerminal(cmd, container, allCommands) {}-diff --git a/public/js/components/lens.js b/public/js/components/lens.jsindex c3fc87eb7..38ef79c04 100644--- a/public/js/components/lens.js+++ b/public/js/components/lens.js@@ -13,4 +13,3 @@ export function initLensEffect() {}-diff --git a/public/js/demo-renderer.js b/public/js/demo-renderer.jsindex 59dc72a7b..d7805a059 100644--- a/public/js/demo-renderer.js+++ b/public/js/demo-renderer.js@@ -127,4 +127,3 @@ export function setupDemoTabs() {}-diff --git a/public/js/demos/commands/animate.js b/public/js/demos/commands/animate.jsindex f46c79033..a5a31906e 100644--- a/public/js/demos/commands/animate.js+++ b/public/js/demos/commands/animate.js@@ -41,4 +41,3 @@ export default {};-diff --git a/public/js/demos/commands/bolder.js b/public/js/demos/commands/bolder.jsindex 1c1791c42..8c455211e 100644--- a/public/js/demos/commands/bolder.js+++ b/public/js/demos/commands/bolder.js@@ -21,4 +21,3 @@ export default {};-diff --git a/public/js/demos/commands/index.js b/public/js/demos/commands/index.jsindex cc7bd4880..ac2df7f53 100644--- a/public/js/demos/commands/index.js+++ b/public/js/demos/commands/index.js@@ -39,4 +39,3 @@ export function getCommandDemo(commandId) {}-diff --git a/public/js/demos/commands/normalize.js b/public/js/demos/commands/normalize.jsindex 58bf16547..6167aa370 100644--- a/public/js/demos/commands/normalize.js+++ b/public/js/demos/commands/normalize.js@@ -39,4 +39,3 @@ export default {};-diff --git a/public/js/demos/index.js b/public/js/demos/index.jsindex 1701b1617..cad39aa70 100644--- a/public/js/demos/index.js+++ b/public/js/demos/index.js@@ -3,4 +3,3 @@ export { commandDemos, getCommandDemo } from "./commands/index.js";export { getSkillDemo, skillDemos } from "./skills/index.js";-diff --git a/public/js/demos/skills/color-and-contrast.js b/public/js/demos/skills/color-and-contrast.jsindex 306010310..d5cd23be8 100644--- a/public/js/demos/skills/color-and-contrast.js+++ b/public/js/demos/skills/color-and-contrast.js@@ -65,4 +65,3 @@ export default {};-diff --git a/public/js/demos/skills/index.js b/public/js/demos/skills/index.jsindex f11caf482..ae935e15c 100644--- a/public/js/demos/skills/index.js+++ b/public/js/demos/skills/index.js@@ -23,4 +23,3 @@ export function getSkillDemo(skillId) {}-diff --git a/public/js/demos/skills/interaction-design.js b/public/js/demos/skills/interaction-design.jsindex 3432922a1..d580afbc3 100644--- a/public/js/demos/skills/interaction-design.js+++ b/public/js/demos/skills/interaction-design.js@@ -76,4 +76,3 @@ export default {};-diff --git a/public/js/demos/skills/motion-design.js b/public/js/demos/skills/motion-design.jsindex ec615db8b..7fecd65df 100644--- a/public/js/demos/skills/motion-design.js+++ b/public/js/demos/skills/motion-design.js@@ -66,4 +66,3 @@ export default {};-diff --git a/public/js/demos/skills/responsive-design.js b/public/js/demos/skills/responsive-design.jsindex 238f40bf5..fbbe82062 100644--- a/public/js/demos/skills/responsive-design.js+++ b/public/js/demos/skills/responsive-design.js@@ -88,4 +88,3 @@ export default {};-diff --git a/public/js/demos/skills/spatial-design.js b/public/js/demos/skills/spatial-design.jsindex fd7a440aa..2563b18f9 100644--- a/public/js/demos/skills/spatial-design.js+++ b/public/js/demos/skills/spatial-design.js@@ -59,4 +59,3 @@ export default {};-diff --git a/public/js/demos/skills/typography.js b/public/js/demos/skills/typography.jsindex 5acd6c589..13acc3c18 100644--- a/public/js/demos/skills/typography.js+++ b/public/js/demos/skills/typography.js@@ -35,4 +35,3 @@ export default {};-diff --git a/public/js/demos/skills/ux-writing.js b/public/js/demos/skills/ux-writing.jsindex b04a52336..187c3da27 100644--- a/public/js/demos/skills/ux-writing.js+++ b/public/js/demos/skills/ux-writing.js@@ -68,4 +68,3 @@ export default {};-diff --git a/public/js/effects/liquid-canvas.js b/public/js/effects/liquid-canvas.jsindex 212d2d78b..5feda32e0 100644--- a/public/js/effects/liquid-canvas.js+++ b/public/js/effects/liquid-canvas.js@@ -156,4 +156,3 @@ export function initHeroEffect() {}-diff --git a/public/js/utils/reveal.js b/public/js/utils/reveal.jsindex 96d2b750c..d2a8e11bf 100644--- a/public/js/utils/reveal.js+++ b/public/js/utils/reveal.js@@ -15,4 +15,3 @@ export function initScrollReveal() {}-diff --git a/public/js/utils/scroll.js b/public/js/utils/scroll.jsindex 6bbd6c593..cc4f7efe7 100644--- a/public/js/utils/scroll.js+++ b/public/js/utils/scroll.js@@ -100,4 +100,3 @@ export function initHashTracking() {// Initial checkupdateHash();}-