/* r86c · the home preloader, the old one cleaned (David, 18 Nov: the punk version and the logo version are dropped;
   "just clean up the old one, it was weird"). The same words and the painted kicker K, without the graffiti wipe.
   Purpose: one calm sentence before the film. "we play" rises out of its mask, the K settles in whole beside it, then
   "every week." rises (.75 s each on an expo ease, 140 ms apart); at 1.75 s they sink back into their masks, K last,
   and the hero comes up (behaviors.js). Transform and opacity only; the words have their final size and place from
   the first frame, so nothing reflows. Reduced motion: no intro. */
.intro .pk-c { display: inline-block; overflow: hidden; padding: .04em .02em .14em; margin-bottom: -.14em; }
.intro .pk-c > span { display: inline-block; animation: pk-rise .75s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(.12s + var(--i) * 140ms); }
/* the K whole from the first frame (its mask paths drawn), scaled up from its foot with a small settle */
.intro .pk-k .pk { stroke-dashoffset: 0 !important; animation: none !important; transition: none !important; }
.intro .pk-k svg { transform-origin: 50% 90%; animation: pk-k .7s cubic-bezier(.34, 1.4, .5, 1) .26s both; }

.intro.pk-out .pk-c > span { animation: pk-sink .36s cubic-bezier(.7, 0, .84, 0) calc(var(--i) * 50ms) both; }
.intro.pk-out .pk-k svg { animation: pk-k-out .3s cubic-bezier(.7, 0, .84, 0) .12s both; }

@keyframes pk-rise { from { transform: translateY(115%); } }
@keyframes pk-sink { to { transform: translateY(115%); } }
@keyframes pk-k { from { opacity: 0; transform: translateY(28%) scale(.55) rotate(-8deg); } to { transform: translateY(28%); } }
@keyframes pk-k-out { from { transform: translateY(28%); } to { opacity: 0; transform: translateY(28%) scale(.6); } }

/* the hero comes up with a short push, much subtler than KICKS Media's opening (David): the film rises from 90 % to
   full on the same slow-fast-slow curve (1.25 s), with a fine film grain that is gone as it lands */
.kv-grain { position: absolute; inset: -20%; z-index: 2; pointer-events: none; mix-blend-mode: overlay; opacity: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.6 -.3'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 220px 220px;
  animation: kv-jit .33s steps(4) infinite; }
@keyframes kv-jit { 0% { background-position: 0 0; } 100% { background-position: 132px -88px; } }
@media (prefers-reduced-motion: reduce) { .intro .pk-c > span, .intro .pk-k svg { animation: none; } .kv-grain { display: none; } }
