/* Motion. Loaded only when the visitor has not asked their device for less motion, or has switched it on here. */
html { scroll-behavior: smooth; }

/* hero: words rise, the rest fades up, the timeline builds entry by entry, then the thread settles */
.hl .w { animation: rise 0.9s var(--out) both; }
.hl .w:nth-child(1) { animation-delay: 0.10s; } .hl .w:nth-child(2) { animation-delay: 0.17s; } .hl .w:nth-child(3) { animation-delay: 0.24s; }
.hl .w:nth-child(4) { animation-delay: 0.31s; } .hl .w:nth-child(5) { animation-delay: 0.38s; } .hl .w:nth-child(6) { animation-delay: 0.45s; }
@keyframes rise { from { opacity: 0; transform: translateY(0.7em) rotate(2deg); } to { opacity: 1; transform: none; } }
.fade-1, .fade-2, .fade-3 { animation: up 0.9s var(--out) both; }
.fade-1 { animation-delay: 0.6s; } .fade-2 { animation-delay: 0.75s; } .fade-3 { animation-delay: 0.9s; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.tl-card { animation: card-in 1.1s var(--out) 0.25s both; }
@keyframes card-in { from { opacity: 0; transform: translateY(40px) rotate(4deg) scale(0.96); } to { opacity: 1; } }
.tl::before { animation: grow 3.4s cubic-bezier(0.45, 0, 0.2, 1) 0.9s both; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.tl-item { animation: entry 0.7s var(--out) both; }
.tl-item:nth-child(1) { animation-delay: 0.95s; } .tl-item:nth-child(2) { animation-delay: 1.55s; } .tl-item:nth-child(3) { animation-delay: 2.15s; }
.tl-item:nth-child(4) { animation-delay: 2.75s; } .tl-item:nth-child(5) { animation-delay: 3.35s; }
@keyframes entry { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
.k-follow .tl-ic { animation: ping 2.4s ease-out 4.2s 2; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 oklch(0.7 0.14 65 / 0.55); } 100% { box-shadow: 0 0 0 16px oklch(0.7 0.14 65 / 0); } }

.ticker-track { animation: marquee 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* scroll reveals: content is visible unless the script is running, so nothing is ever stuck hidden */
.js-ready .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--out), transform 0.9s var(--out); }
.js-ready .reveal.in { opacity: 1; transform: none; }
.js-ready .reveal-wipe { transform: translateY(28px) scale(0.96); clip-path: inset(0 0 14% 0 round 16px); transition: opacity 0.9s var(--out), transform 0.9s var(--out), clip-path 1.1s var(--out); }
.js-ready .reveal-wipe.in { clip-path: inset(0 0 0 0 round 16px); }
.js-ready .bento .reveal:nth-child(2) { transition-delay: 0.05s; } .js-ready .bento .reveal:nth-child(3) { transition-delay: 0.1s; } .js-ready .bento .reveal:nth-child(4) { transition-delay: 0.15s; }
.js-ready .bento .reveal:nth-child(5) { transition-delay: 0.08s; } .js-ready .bento .reveal:nth-child(6) { transition-delay: 0.13s; } .js-ready .bento .reveal:nth-child(7) { transition-delay: 0.18s; } .js-ready .bento .reveal:nth-child(8) { transition-delay: 0.23s; }

/* the lock draws itself, and the receipt prints, when they scroll into view */
.js-ready .privacy-art:not(.in) .lp { stroke-dashoffset: 1; }
.privacy-art.in .lp { transition: stroke-dashoffset 1.6s cubic-bezier(0.45, 0, 0.2, 1); }
.privacy-art.in .lp-base { transition-delay: 0.5s; } .privacy-art.in .lp-lock { transition-delay: 1.1s; }
.js-ready .receipt-steps .steps-run > * , .js-ready .receipt-steps li { transition: opacity 0.5s var(--out), transform 0.5s var(--out); }
.js-ready .receipt-steps:not(.in) .steps-run > *, .js-ready .receipt-steps:not(.in) li { opacity: 0; transform: translateY(8px); }
.receipt-steps.in .steps-run > :nth-child(2) { transition-delay: 0.15s; } .receipt-steps.in .steps-run > :nth-child(3) { transition-delay: 0.3s; }
.receipt-steps.in li:nth-child(1) { transition-delay: 0.5s; } .receipt-steps.in li:nth-child(2) { transition-delay: 0.9s; } .receipt-steps.in li:nth-child(3) { transition-delay: 1.3s; }
.receipt-steps.in .steps-run > :nth-child(5) { transition-delay: 1.7s; } .receipt-steps.in .steps-run > :nth-child(6) { transition-delay: 1.85s; } .receipt-steps.in .steps-run > :nth-child(7) { transition-delay: 2s; }
