From 3383b384a15bdc0046c706f5d340989da243de38 Mon Sep 17 00:00:00 2001 From: Steven Welch Date: Mon, 7 Sep 2026 22:59:49 -0600 Subject: [PATCH 1/2] Add click/tap celebration interaction to employee koan ornament Replace the decorative aria-hidden span with a semantic button that plays a one-shot squash/bounce celebration with blue-accent glow on activation, while keeping the continuous float animation, sprite geometry, and all surrounding copy, layout, tokens, and assets unchanged. - button.koan-ornament with aria-label "Celebrate enlightenment"; SVG aria-hidden - 280ms employeeCelebrate keyframes on the SVG (wrapper float untouched) - focus-visible outline using the existing --focus-ring token - prefers-reduced-motion: float and celebration animation/glow disabled, button and focus behavior retained - minimal JS replays the class on each activation and removes it after the effect (animationend + timeout fallback) --- makeitwork.cloud/index.html | 72 +++++++++++++++++++++++++++++++++++-- 1 file changed, 69 insertions(+), 3 deletions(-) diff --git a/makeitwork.cloud/index.html b/makeitwork.cloud/index.html index f59b905..feb1984 100644 --- a/makeitwork.cloud/index.html +++ b/makeitwork.cloud/index.html @@ -183,6 +183,11 @@ width: 1rem; height: 2rem; flex: 0 0 auto; + padding: 0; + border: none; + background: none; + color: inherit; + cursor: pointer; animation: employeeFloat 2.8s ease-in-out infinite alternate; } @@ -192,6 +197,7 @@ height: 100%; overflow: hidden; image-rendering: pixelated; + transform-origin: 50% 100%; } .koan-ornament .koan-skin, @@ -216,6 +222,10 @@ fill: var(--bg); } + .koan-ornament.koan-celebrating svg { + animation: employeeCelebrate 280ms ease-out; + } + .subheader { margin: 0; max-width: 34ch; @@ -394,6 +404,7 @@ .resource:focus-visible, .contact-icon:focus-visible, + .koan-ornament:focus-visible, .install-btn:focus-visible, .install-dismiss:focus-visible { outline: 2px solid var(--focus-ring); @@ -424,6 +435,25 @@ } } + @keyframes employeeCelebrate { + 0% { + transform: scale(1, 1); + filter: none; + } + 30% { + transform: scale(1.15, 0.85); + filter: drop-shadow(0 0 4px var(--accent)); + } + 60% { + transform: scale(0.92, 1.1); + filter: drop-shadow(0 0 2px var(--accent)); + } + 100% { + transform: scale(1, 1); + filter: none; + } + } + @keyframes flicker { 0% { opacity: 0.75; @@ -501,6 +531,11 @@ animation: none; } + .koan-ornament.koan-celebrating svg { + animation: none; + filter: none; + } + .resource, .contact-icon, .install-banner, @@ -666,10 +701,16 @@

MAKE IT WORK

-