From 699c56fd921b877647ed50aa77d18fb59fe8ee93 Mon Sep 17 00:00:00 2001 From: "Jonas B." Date: Sat, 14 Nov 2026 21:24:28 -0600 Subject: [PATCH] feat: add a staged blur fade-in entrance on first load Header drops in, then the hero eyebrow, headline, copy, actions and dashboard preview settle in sequence. Pure CSS so it plays from the server render, releases its filter when done, and is skipped for reduced motion. Co-Authored-By: Claude Sonnet 5.5 --- app/_home/interactions.tsx | 5 +- app/_home/new.css | 100 +++++++++++++++++++++++++++++++++++++ 2 files changed, 104 insertions(+), 1 deletion(-) diff --git a/app/_home/interactions.tsx b/app/_home/interactions.tsx index 815a3ed..b12ca7b 100644 --- a/app/_home/interactions.tsx +++ b/app/_home/interactions.tsx @@ -262,7 +262,10 @@ export function Header({ } return (
-
+
section:first-child { + animation: none; + } + .meridian-page .intro-header, + .meridian-page main > section:first-child > div > div:first-child > *, + .meridian-page main > section:first-child > div > div:last-child { + animation: intro-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) backwards; + animation-delay: calc(var(--intro-i, 0) * 110ms + 60ms); + } + .meridian-page .intro-header { + --intro-i: 0; + animation-name: intro-drop; + } + .meridian-page + main + > section:first-child + > div + > div:first-child + > :nth-child(1) { + --intro-i: 1; + } + .meridian-page + main + > section:first-child + > div + > div:first-child + > :nth-child(2) { + --intro-i: 2; + } + .meridian-page + main + > section:first-child + > div + > div:first-child + > :nth-child(3) { + --intro-i: 3; + } + .meridian-page + main + > section:first-child + > div + > div:first-child + > :nth-child(4) { + --intro-i: 4; + } + .meridian-page + main + > section:first-child + > div + > div:first-child + > :nth-child(5) { + --intro-i: 5; + } + .meridian-page main > section:first-child > div > div:last-child { + --intro-i: 3; + animation-name: intro-visual; + animation-duration: 1.6s; + } +} +@keyframes intro-in { + from { + opacity: 0; + transform: translateY(18px); + filter: blur(10px); + } + to { + opacity: 1; + transform: none; + filter: none; + } +} +@keyframes intro-drop { + from { + opacity: 0; + transform: translateY(-14px); + filter: blur(8px); + } + to { + opacity: 1; + transform: none; + filter: none; + } +} +@keyframes intro-visual { + from { + opacity: 0; + transform: translateY(24px) scale(0.985); + filter: blur(14px); + } + to { + opacity: 1; + transform: none; + filter: none; + } +}