/* Glowing Text Marquee: adapted from Darkroom / Kaploom Creative House.
 * Copyright (c) 2024 Ulvis. MIT notice retained in LICENSE.codrops.txt.
 * LUMBRE's outlined type, colours, products and lifecycle are its own adaptation.
 */
.lm-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #07090c;
  --lm-word-aspect: 7.7;
  --lm-entrance-distance: 100vh;
}
.lm-stage .lm-glow-scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}
.lm-stage[data-ready="ready"] .lm-glow-scene { opacity: 1; }
.lm-stage .lm-glow-rail {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}
.lm-stage .lm-glow-rail-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.lm-stage .lm-glow-sizing {
  position: relative;
  display: block;
  width: 232vw;
  height: auto;
  opacity: 0;
  aspect-ratio: var(--lm-word-aspect);
}
.lm-stage .lm-glow-mask {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  -webkit-clip-path: url("#lumbre-clip");
  clip-path: url("#lumbre-clip");
}
.lm-stage .lm-glow-color {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: #111216;
}
.lm-stage .lm-glow-gradients {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.lm-stage .lm-glow-gradient {
  position: absolute;
  width: 52vw;
  height: 52vw;
  min-width: 52vw;
  min-height: 52vw;
  max-width: none;
}
.lm-stage .lm-glow-gradient--core,
.lm-stage .lm-glow-product--core {
  transform: translate(-7vw, calc(-2.3vw + var(--lm-entrance-distance)));
}
.lm-stage .lm-glow-gradient--pro,
.lm-stage .lm-glow-product--pro {
  transform: translate(7vw, calc(5vw + var(--lm-entrance-distance)));
}
.lm-stage .lm-glow-products {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.lm-stage .lm-glow-product { position: absolute; }
.lm-stage .lm-glow-product-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.lm-stage .lm-glow-product-gradient {
  position: absolute;
  display: block;
  width: 180%;
  height: 180%;
  max-width: none;
  opacity: .4;
  object-fit: contain;
}
.lm-stage .lm-glow-product-image {
  position: relative;
  display: block;
  height: auto;
  max-width: none;
  object-fit: contain;
}
.lm-stage .lm-glow-product--core .lm-glow-product-image { width: 26vw; }
.lm-stage .lm-glow-product--pro .lm-glow-product-image { width: 22vw; }
.lm-stage .lm-glow-product--core .lm-glow-product-gradient { transform: translateX(-2vw); }
.lm-stage .lm-glow-product--pro .lm-glow-product-gradient { transform: translate(2vw, 2vw); }
.lm-stage .lm-glow-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.lm-stage .lm-glow-fallback { visibility: hidden; }
.lm-stage[data-mode="fallback"] .lm-glow-fallback,
.no-js .lm-stage .lm-glow-fallback { visibility: visible; display: flex; }
.lm-stage[data-mode="fallback"] .lm-glow-scene { opacity: 0; }
.lm-stage[data-ready="ready"][data-mode="animated"] .lm-glow-mask {
  animation: lm-glow-clip 20s linear infinite;
}
.lm-stage[data-ready="ready"][data-mode="animated"] .lm-glow-color {
  animation: lm-glow-color 20s linear infinite;
}
.lm-stage[data-ready="ready"][data-mode="animated"] .lm-glow-gradient--core,
.lm-stage[data-ready="ready"][data-mode="animated"] .lm-glow-product--core {
  animation: lm-glow-intro-core 3s cubic-bezier(.04,1.15,.4,.99) .5s forwards;
}
.lm-stage[data-ready="ready"][data-mode="animated"] .lm-glow-gradient--pro,
.lm-stage[data-ready="ready"][data-mode="animated"] .lm-glow-product--pro {
  animation: lm-glow-intro-pro 2.75s cubic-bezier(.04,1.15,.4,.99) .75s forwards;
}
.lm-stage[data-ready="ready"][data-mode="animated"] .lm-glow-product--core .lm-glow-product-container {
  animation: lm-glow-float-core 4s ease-in-out infinite alternate;
}
.lm-stage[data-ready="ready"][data-mode="animated"] .lm-glow-product--pro .lm-glow-product-container {
  animation: lm-glow-float-pro 3s ease-in-out infinite alternate;
}
.lm-stage[data-paused="true"] .lm-glow-animated { animation-play-state: paused !important; }
.lm-stage[data-mode="reduced"] .lm-glow-animated { animation: none !important; }
.lm-stage[data-mode="reduced"] .lm-glow-gradient--core,
.lm-stage[data-mode="reduced"] .lm-glow-product--core,
.lm-stage[data-intro-done="true"] .lm-glow-gradient--core,
.lm-stage[data-intro-done="true"] .lm-glow-product--core {
  transform: translate(-7vw, -2.3vw);
}
.lm-stage[data-mode="reduced"] .lm-glow-gradient--pro,
.lm-stage[data-mode="reduced"] .lm-glow-product--pro,
.lm-stage[data-intro-done="true"] .lm-glow-gradient--pro,
.lm-stage[data-intro-done="true"] .lm-glow-product--pro {
  transform: translate(7vw, 5vw);
}
.lm-stage[data-intro-done="true"] .lm-glow-gradient--core,
.lm-stage[data-intro-done="true"] .lm-glow-gradient--pro,
.lm-stage[data-intro-done="true"] .lm-glow-product--core,
.lm-stage[data-intro-done="true"] .lm-glow-product--pro { animation: none !important; }
.lm-stage .lm-glow-motion {
  position: absolute;
  z-index: 4;
  inset: auto 24px 24px auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border: 1px solid #6c6e72;
  border-radius: 100px;
  background: #07090ce6;
  color: #f6f3e9;
  font: inherit;
  font-size: 12px;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  touch-action: manipulation;
}
.lm-stage .lm-glow-motion svg { width: 14px; height: 14px; flex: none; }
.lm-stage .lm-glow-motion:focus-visible { outline: 2px solid #f9c57d; outline-offset: 4px; }
.lm-stage .lm-glow-motion[disabled] { cursor: default; }
.lm-stage .lm-glow-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@keyframes lm-glow-clip { from { transform: translateX(0%); } to { transform: translateX(-50%); } }
@keyframes lm-glow-color { from { transform: translateX(0%); } to { transform: translateX(50%); } }
@keyframes lm-glow-float-core { from { transform: translateY(0%); } to { transform: translateY(5%); } }
@keyframes lm-glow-float-pro { from { transform: translateY(4%); } to { transform: translateY(0%); } }
@keyframes lm-glow-intro-core {
  from { transform: translate(-7vw, calc(-2.3vw + var(--lm-entrance-distance))); }
  to { transform: translate(-7vw, -2.3vw); }
}
@keyframes lm-glow-intro-pro {
  from { transform: translate(7vw, calc(5vw + var(--lm-entrance-distance))); }
  to { transform: translate(7vw, 5vw); }
}
@media (max-width: 52.999em) {
  .lm-stage .lm-glow-sizing { width: 420vw; }
  .lm-stage .lm-glow-gradients,
  .lm-stage .lm-glow-products { transform: scale(1.75); }
  .lm-stage .lm-glow-motion { inset: auto 18px 18px auto; }
}
@media (prefers-reduced-motion: reduce) {
  .lm-stage .lm-glow-animated { animation: none !important; }
  .lm-stage .lm-glow-gradient--core,
  .lm-stage .lm-glow-product--core { transform: translate(-7vw, -2.3vw); }
  .lm-stage .lm-glow-gradient--pro,
  .lm-stage .lm-glow-product--pro { transform: translate(7vw, 5vw); }
}
