/* Static-site adaptation: https://ui.aceternity.com/components/hero-highlight */
.hero-highlight {
  --mouse-x: 50%;
  --mouse-y: 50%;
  background: #090b10;
  isolation: isolate;
}
.hero-beams {
  position: absolute;
  inset: 0;
  z-index: -10;
  pointer-events: none;
  --aura-mask: radial-gradient(ellipse  min(38vw, 500px) 300px at var(--mouse-x, 50%) var(--mouse-y, 50%), transparent 0% 35%, #000 100%);
  --text-mask: radial-gradient(ellipse at center, transparent 0% 20%, #000 75%);
  -webkit-mask-image: var(--aura-mask), var(--text-mask);
  -webkit-mask-composite: source-in;
  mask-image: var(--aura-mask), var(--text-mask);
  mask-composite: intersect;
}
.hero-beams svg { width: 100%; height: 100%; fill: none; }
.hero-beam-track { stroke: #0d9488; stroke-width: .6; opacity: .12; }
.hero-beam-meteor {
  stroke: url(#hero-beam-gradient);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-dasharray: 12 88;
  animation: hero-beam-travel var(--beam-duration) var(--beam-delay) linear infinite;
}
.hero-highlight[data-beams-paused] .hero-beam-meteor { animation-play-state: paused; }
@keyframes hero-beam-travel { from { stroke-dashoffset: 100; } to { stroke-dashoffset: -100; } }
.hero-highlight-text {
  color: #090b10;
  padding: 0 .12em;
  border-radius: .12em;
  background-image: linear-gradient(90deg, #84cc16, #bef264);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  animation: hero-highlight-reveal 2s .5s ease-in-out both;
}
/* A single box avoids overlapping cloned inline backgrounds when Safari wraps
   the phrase onto two lines inside the tightly spaced mobile heading. */
@media (max-width: 639px) {
  .hero-highlight-text {
    display: inline-block;
    max-width: 100%;
    padding: .06em .12em .1em;
    margin-bottom: .12em;
    line-height: 1.1;
    vertical-align: baseline;
  }
}
@keyframes hero-highlight-reveal {
  0% { background-size: 0% 100%; color: #d4ff3a; }
  25% { color: #f6f6f4; }
  100% { background-size: 100% 100%; color: #090b10; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-highlight-text { animation: none; }
  .hero-beam-meteor { animation: none; opacity: .25; }
}
