/* HomeLynx V8.0.177 — Link Sweep.
   Cold-load brand animation only. HomeLynx stays Graphite at rest; a brief
   neon signal travels through the wordmark, draws the outbound arrow, blooms
   faintly, then dies completely back to the static V8.0.176 lockup. */

.hlx-wordmark,
.hlx-wordmark-inline{
  position:relative!important;
  isolation:isolate!important;
  overflow:visible!important;
}

.hlx-wordmark__text,
.hlx-wordmark-inline__text{
  position:relative!important;
  display:inline-block!important;
  z-index:2!important;
}

/* Optical-fiber pass through the letters. It never becomes the resting fill. */
.hlx-wordmark.hlx-link-sweep .hlx-wordmark__text::after,
.hlx-wordmark-inline.hlx-link-sweep .hlx-wordmark-inline__text::after{
  content:'HomeLynx';
  position:absolute;
  inset:0;
  z-index:3;
  color:transparent;
  pointer-events:none;
  background:linear-gradient(
    90deg,
    transparent 0%,
    transparent 31%,
    #2ee6c0 42%,
    #4aa8ff 49%,
    #8f67ff 56%,
    #ff5ed1 64%,
    transparent 76%,
    transparent 100%
  );
  background-size:320% 100%;
  background-position:120% 0;
  -webkit-background-clip:text;
  background-clip:text;
  filter:drop-shadow(0 0 1.5px rgba(74,168,255,.42)) drop-shadow(0 0 3px rgba(255,94,209,.18));
  opacity:0;
  animation:hlx177-word-signal 920ms cubic-bezier(.20,.72,.18,1) 90ms both;
}

/* Faint aura behind the travelling signal — intentionally not a persistent glow. */
.hlx-wordmark.hlx-link-sweep::before,
.hlx-wordmark-inline.hlx-link-sweep::before{
  content:'';
  position:absolute;
  z-index:0;
  left:-18%;
  top:50%;
  width:42%;
  height:22px;
  transform:translate3d(0,-50%,0) scaleX(.72);
  border-radius:999px;
  pointer-events:none;
  opacity:0;
  background:linear-gradient(90deg,transparent,rgba(46,230,192,.14),rgba(74,168,255,.20),rgba(143,103,255,.18),rgba(255,94,209,.14),transparent);
  filter:blur(7px);
  animation:hlx177-aura 940ms cubic-bezier(.20,.72,.18,1) 70ms both;
}

.hlx-wordmark__arrow,
.hlx-wordmark-inline__arrow{
  position:relative!important;
  z-index:2!important;
}

.hlx-wordmark__arrow .hlx-wordmark-signal-path,
.hlx-wordmark-inline__arrow .hlx-wordmark-signal-path{
  opacity:0;
  stroke:#4aa8ff!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  stroke-dasharray:1!important;
  stroke-dashoffset:1!important;
  filter:drop-shadow(0 0 1px rgba(74,168,255,.70)) drop-shadow(0 0 3px rgba(143,103,255,.44)) drop-shadow(0 0 5px rgba(255,94,209,.18));
  pointer-events:none;
}

.hlx-wordmark.hlx-link-sweep .hlx-wordmark-signal-path,
.hlx-wordmark-inline.hlx-link-sweep .hlx-wordmark-signal-path{
  animation:hlx177-arrow-draw 410ms cubic-bezier(.16,.84,.24,1) 610ms both;
}

/* Tiny terminal bloom at the link-out arrow. */
.hlx-wordmark.hlx-link-sweep .hlx-wordmark__arrow::after,
.hlx-wordmark-inline.hlx-link-sweep .hlx-wordmark-inline__arrow::after{
  content:'';
  position:absolute;
  width:8px;
  height:8px;
  right:-2px;
  top:-2px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.80) 0 10%,rgba(74,168,255,.36) 24%,rgba(143,103,255,.23) 46%,rgba(255,94,209,.12) 64%,transparent 76%);
  filter:blur(.6px);
  opacity:0;
  pointer-events:none;
  animation:hlx177-tip-bloom 280ms ease-out 795ms both;
}

@keyframes hlx177-word-signal{
  0%{opacity:0;background-position:120% 0}
  10%{opacity:.42}
  42%{opacity:.94}
  76%{opacity:.76}
  100%{opacity:0;background-position:-120% 0}
}

@keyframes hlx177-aura{
  0%{opacity:0;transform:translate3d(-12%,-50%,0) scaleX(.62)}
  18%{opacity:.34}
  54%{opacity:.48}
  82%{opacity:.20}
  100%{opacity:0;transform:translate3d(280%,-50%,0) scaleX(.94)}
}

@keyframes hlx177-arrow-draw{
  0%{opacity:0;stroke-dashoffset:1;stroke:#2ee6c0}
  14%{opacity:.88}
  54%{opacity:1;stroke:#4aa8ff}
  78%{opacity:1;stroke:#8f67ff;stroke-dashoffset:0}
  100%{opacity:0;stroke:#ff5ed1;stroke-dashoffset:0}
}

@keyframes hlx177-tip-bloom{
  0%{opacity:0;transform:scale(.42)}
  38%{opacity:.72;transform:scale(1)}
  100%{opacity:0;transform:scale(1.45)}
}

@media(prefers-reduced-motion:reduce){
  .hlx-wordmark::before,
  .hlx-wordmark-inline::before,
  .hlx-wordmark__text::after,
  .hlx-wordmark-inline__text::after,
  .hlx-wordmark-signal-path,
  .hlx-wordmark__arrow::after,
  .hlx-wordmark-inline__arrow::after{
    animation:none!important;
    opacity:0!important;
  }
}
