.wire-effect,
.project-effect {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.wire-effect { display: none; fill: none; stroke-linecap: round; }
.wire-ready .wire-effect { display: block; }
.wire-ready .signature-wire { visibility: hidden; }
.wire-ink {
  stroke: #fff;
  stroke-width: 2.3px;
  stroke-dasharray: 100 101;
  filter: drop-shadow(0 1px .9px rgb(41 99 136 / 31%));
}
.wire-light { opacity: 0; }
.wire-bloom { stroke: #d4ffff; stroke-width: 7px; stroke-dasharray: 3.4 104; filter: blur(2.5px); }
.wire-tail { stroke: #e3fbff; stroke-width: 2.9px; stroke-dasharray: 3.4 104; }
.wire-tip { stroke: #fff; stroke-width: 4px; stroke-dasharray: .35 101; }
.wire-waiting .wire-ink { stroke-dashoffset: 100; }
.wire-playing .wire-ink { animation: sign-name var(--ink-time) linear var(--lead-time) both; }
.wire-playing .wire-light { animation: light-envelope var(--intro-time) linear both; }
.wire-playing .wire-tail, .wire-playing .wire-bloom { animation: run-wire var(--intro-time) linear both; }
.wire-playing .wire-tip { animation: run-tip var(--intro-time) linear both; }

@keyframes sign-name { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes run-wire { from { stroke-dashoffset: 3.4; } to { stroke-dashoffset: -96.6; } }
@keyframes run-tip { from { stroke-dashoffset: .35; } to { stroke-dashoffset: -99.65; } }
@keyframes light-envelope { 0%, 100% { opacity: 0; } 7%, 92% { opacity: 1; } }

.project-effect { opacity: 0; }
.emerald-effect { --effect-duration: 720ms; }
.infinity-effect { --effect-duration: 1440ms; }
.stripe-effect { --effect-duration: 820ms; transition: transform .42s cubic-bezier(.22,.61,.35,1); }
.project-effect.is-playing { animation: light-envelope var(--effect-duration) linear both; }
.is-playing .facet-sheen { animation: catch-facet var(--effect-duration) cubic-bezier(.27,.55,.5,1) both; }
.is-playing .facet-star { animation: glint var(--effect-duration) ease-out both; transform-origin: 502px 338px; }
.is-playing .orbit-halo, .is-playing .orbit-tip { animation: orbit var(--effect-duration) linear both; }
.is-playing .orbit-trail { animation: orbit-trail var(--effect-duration) linear both; }
.is-playing .stripe-sheen { animation: cross-enamel var(--effect-duration) cubic-bezier(.32,.05,.42,1) both; }

@keyframes catch-facet { from { transform: translateX(-40px); } to { transform: translateX(174px); } }
@keyframes glint {
  0%, 26%, 85%, 100% { opacity: 0; transform: scale(.45); }
  47% { opacity: 1; transform: scale(1.35); }
}
@keyframes orbit { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -100; } }
@keyframes orbit-trail { from { stroke-dashoffset: 2.4; } to { stroke-dashoffset: -97.6; } }
@keyframes cross-enamel { from { transform: translateX(0); } to { transform: translateX(680px); } }

@media (hover: hover) {
  .project a:hover .stripe-effect { transform: scale(1.055); }
}
@media (max-width: 720px) {
  .wire-ink { stroke-width: 1.8px; }
  .wire-bloom { stroke-width: 5.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .wire-light, .project-effect { display: none; }
  .wire-ink { animation: none !important; stroke-dashoffset: 0 !important; }
  .project a:hover .blood-art > * { transform: none; }
}
