/* HomeLynx V8.0.179 — Link Sweep / Yeet.
   Brand-intro only. Slower one-shot signal pass with a restrained outbound-arrow
   launch/re-entry and faint optical glow. Resting state remains Graphite/Ink. */

/* Slightly larger lockup. Keep Neo/header geometry fixed; only the wordmark box grows. */
body.hlx-search-active .hlx-v8-brand{
  width:124px!important;
  min-width:124px!important;
  max-width:124px!important;
}
body.hlx-search-active .hlx-v8-brand .hlx-wordmark{
  font-size:19px!important;
}
.hlx-search-brand .hlx-wordmark{font-size:19px!important;}
.brand .hlx-wordmark{font-size:20px!important;}
.hlx-owner-auth-brand .hlx-wordmark,
.hlx-finance-brand .hlx-wordmark,
.hlx-owner-topline .hlx-wordmark-inline,
.hlx-os-top .hlx-wordmark-inline{font-size:18px!important;}

.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;
}

/* Slow optical-fiber pass. The final logo never retains color. */
.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 29%,
    #2ee6c0 41%,
    #4aa8ff 49%,
    #8f67ff 57%,
    #ff5ed1 66%,
    transparent 79%,
    transparent 100%
  );
  background-size:340% 100%;
  background-position:125% 0;
  -webkit-background-clip:text;
  background-clip:text;
  filter:drop-shadow(0 0 1.5px rgba(74,168,255,.48))
         drop-shadow(0 0 4px rgba(143,103,255,.24))
         drop-shadow(0 0 7px rgba(255,94,209,.10));
  opacity:0;
  animation:hlx179-word-signal 2850ms cubic-bezier(.18,.63,.18,1) 260ms both;
}

/* Faint, wide glow: visible enough to feel intentional, never neon signage. */
.hlx-wordmark.hlx-link-sweep::before,
.hlx-wordmark-inline.hlx-link-sweep::before{
  content:'';
  position:absolute;
  z-index:0;
  left:-20%;
  top:50%;
  width:46%;
  height:24px;
  transform:translate3d(-4%,-50%,0) scaleX(.68);
  border-radius:999px;
  pointer-events:none;
  opacity:0;
  background:linear-gradient(90deg,
    transparent,
    rgba(46,230,192,.13),
    rgba(74,168,255,.22),
    rgba(143,103,255,.20),
    rgba(255,94,209,.13),
    transparent);
  filter:blur(8px);
  animation:hlx179-aura 3150ms cubic-bezier(.18,.63,.18,1) 180ms both;
}

/* A second very faint lockup bloom gives the same 'AI woke up' read without
   becoming a permanent brand color. */
.hlx-wordmark.hlx-link-sweep,
.hlx-wordmark-inline.hlx-link-sweep{
  animation:hlx179-lockup-glow 3900ms ease-in-out 120ms both;
}

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

.hlx-wordmark__arrow svg,
.hlx-wordmark-inline__arrow svg{
  transform-box:fill-box;
  transform-origin:center;
  will-change:transform,opacity,filter;
}

/* Signal stroke still draws the arrow before the physical arrow moves. */
.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,.75))
         drop-shadow(0 0 4px rgba(143,103,255,.46))
         drop-shadow(0 0 7px 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:hlx179-arrow-draw 1120ms cubic-bezier(.16,.75,.20,1) 1880ms both;
}

/* The actual ↗ 'yeets' out, disappears for a beat, then re-enters with a
   small recoil. Motion is transform-only so it never changes layout. */
.hlx-wordmark.hlx-link-sweep .hlx-wordmark__arrow svg,
.hlx-wordmark-inline.hlx-link-sweep .hlx-wordmark-inline__arrow svg{
  animation:hlx179-arrow-yeet 1450ms cubic-bezier(.22,.72,.18,1) 2220ms both;
}

/* Light trail behind the outbound arrow during launch. */
.hlx-wordmark.hlx-link-sweep .hlx-wordmark__arrow::before,
.hlx-wordmark-inline.hlx-link-sweep .hlx-wordmark-inline__arrow::before{
  content:'';
  position:absolute;
  z-index:-1;
  width:22px;
  height:3px;
  right:3px;
  top:9px;
  border-radius:999px;
  transform:rotate(-43deg) scaleX(.18);
  transform-origin:right center;
  opacity:0;
  background:linear-gradient(90deg,transparent,rgba(74,168,255,.22),rgba(143,103,255,.28),rgba(255,94,209,.12));
  filter:blur(1.8px);
  pointer-events:none;
  animation:hlx179-trail 980ms ease-out 2380ms both;
}

/* Terminal bloom when the arrow locks back into place. */
.hlx-wordmark.hlx-link-sweep .hlx-wordmark__arrow::after,
.hlx-wordmark-inline.hlx-link-sweep .hlx-wordmark-inline__arrow::after{
  content:'';
  position:absolute;
  width:10px;
  height:10px;
  right:-3px;
  top:-3px;
  border-radius:50%;
  background:radial-gradient(circle,
    rgba(255,255,255,.86) 0 8%,
    rgba(74,168,255,.40) 22%,
    rgba(143,103,255,.26) 45%,
    rgba(255,94,209,.13) 63%,
    transparent 78%);
  filter:blur(.7px);
  opacity:0;
  pointer-events:none;
  animation:hlx179-tip-bloom 760ms ease-out 3300ms both;
}

@keyframes hlx179-word-signal{
  0%{opacity:0;background-position:125% 0}
  8%{opacity:.20}
  22%{opacity:.52}
  50%{opacity:.96}
  76%{opacity:.78}
  92%{opacity:.32}
  100%{opacity:0;background-position:-125% 0}
}

@keyframes hlx179-aura{
  0%{opacity:0;transform:translate3d(-12%,-50%,0) scaleX(.58)}
  14%{opacity:.20}
  38%{opacity:.42}
  62%{opacity:.50}
  82%{opacity:.25}
  100%{opacity:0;transform:translate3d(285%,-50%,0) scaleX(.98)}
}

@keyframes hlx179-lockup-glow{
  0%,8%{filter:none}
  34%{filter:drop-shadow(0 0 2px rgba(74,168,255,.08))}
  58%{filter:drop-shadow(0 0 3px rgba(74,168,255,.13)) drop-shadow(0 0 7px rgba(143,103,255,.06))}
  82%{filter:drop-shadow(0 0 2px rgba(255,94,209,.06))}
  100%{filter:none}
}

@keyframes hlx179-arrow-draw{
  0%{opacity:0;stroke-dashoffset:1;stroke:#2ee6c0}
  16%{opacity:.72}
  46%{opacity:1;stroke:#4aa8ff}
  72%{opacity:1;stroke:#8f67ff;stroke-dashoffset:0}
  88%{opacity:.72;stroke:#ff5ed1;stroke-dashoffset:0}
  100%{opacity:0;stroke:#ff5ed1;stroke-dashoffset:0}
}

@keyframes hlx179-arrow-yeet{
  0%,10%{transform:translate3d(0,0,0) rotate(0deg) scale(1);opacity:1;filter:none}
  20%{transform:translate3d(-1px,1px,0) rotate(-5deg) scale(.98);opacity:1;filter:drop-shadow(0 0 2px rgba(74,168,255,.18))}
  38%{transform:translate3d(5px,-5px,0) rotate(6deg) scale(1.04);opacity:1;filter:drop-shadow(0 0 3px rgba(74,168,255,.30)) drop-shadow(0 0 6px rgba(143,103,255,.14))}
  52%{transform:translate3d(13px,-13px,0) rotate(14deg) scale(.90);opacity:.10;filter:drop-shadow(0 0 5px rgba(143,103,255,.25))}
  60%{transform:translate3d(15px,-15px,0) rotate(18deg) scale(.82);opacity:0;filter:none}
  68%{transform:translate3d(8px,-8px,0) rotate(8deg) scale(.93);opacity:.22;filter:drop-shadow(0 0 4px rgba(255,94,209,.18))}
  79%{transform:translate3d(-1.4px,1.4px,0) rotate(-4deg) scale(1.04);opacity:1;filter:drop-shadow(0 0 3px rgba(74,168,255,.20))}
  89%{transform:translate3d(.7px,-.7px,0) rotate(2deg) scale(.99);opacity:1;filter:none}
  100%{transform:translate3d(0,0,0) rotate(0deg) scale(1);opacity:1;filter:none}
}

@keyframes hlx179-trail{
  0%{opacity:0;transform:rotate(-43deg) scaleX(.14)}
  24%{opacity:.48;transform:rotate(-43deg) scaleX(.62)}
  52%{opacity:.34;transform:rotate(-43deg) scaleX(1)}
  100%{opacity:0;transform:rotate(-43deg) scaleX(1.22)}
}

@keyframes hlx179-tip-bloom{
  0%{opacity:0;transform:scale(.34)}
  34%{opacity:.78;transform:scale(1)}
  64%{opacity:.38;transform:scale(1.28)}
  100%{opacity:0;transform:scale(1.58)}
}

@media(max-width:390px){
  body.hlx-search-active .hlx-v8-brand{
    width:120px!important;
    min-width:120px!important;
    max-width:120px!important;
  }
  body.hlx-search-active .hlx-v8-brand .hlx-wordmark{font-size:18.5px!important;}
}

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