[data-navbar].is-scrolled {
  box-shadow: 0 2px 12px rgba(11, 27, 58, 0.08);
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 39;
  width: 100%;
  height: 3px;
  background: #fe6a19;
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 10rem;
  z-index: 49;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #fe6a19;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(11, 27, 58, 0.2);
  opacity: 0;
  translate: 0 8px;
  pointer-events: none;
  transition: opacity 200ms ease, translate 200ms ease, background-color 200ms ease;
  cursor: pointer;
}

.back-to-top.is-visible {
  opacity: 1;
  translate: 0 0;
  pointer-events: auto;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: #e55a0d;
}

.back-to-top:focus-visible {
  outline: 3px solid #0b1b3a;
  outline-offset: 3px;
}

.back-to-top .lucide {
  width: 1.5rem;
  height: 1.5rem;
  font-size: 1.5rem;
}

.js.animations-ready [data-reveal] {
  --reveal-delay: 0ms;
  opacity: 0;
  translate: 0 24px;
  scale: 1;
  will-change: opacity, translate, scale;
  transition:
    opacity 600ms cubic-bezier(0.22, 0.61, 0.36, 1),
    translate 600ms cubic-bezier(0.22, 0.61, 0.36, 1),
    scale 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay);
}

.js.animations-ready [data-reveal="left"] {
  translate: -32px 0;
}

.js.animations-ready [data-reveal="right"] {
  translate: 32px 0;
}

.js.animations-ready [data-reveal="right"][data-zoom] {
  scale: 0.95;
}

.js.animations-ready [data-reveal="zoom"] {
  translate: 0 0;
  scale: 0.95;
}

.js.animations-ready [data-reveal="zoom"][data-float] {
  scale: 0.9;
}

.js.animations-ready [data-pop] {
  translate: 0 0;
  scale: 0.88;
}

.js.animations-ready [data-pop].is-visible {
  animation: reveal-pop 600ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
  animation-delay: var(--reveal-delay);
}

.js.animations-ready [data-reveal="fade"] {
  translate: 0 0;
}

.js.animations-ready [data-reveal="bar"] {
  opacity: 1;
  translate: 0 0;
  scale: 0 1;
  transform-origin: left center;
}

.js.animations-ready [data-reveal="line"] {
  opacity: 1;
  translate: 0 0;
  scale: 0 1;
  transform-origin: left center;
}

.js.animations-ready [data-reveal].is-visible {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}

.js.animations-ready [data-reveal="line"].is-visible {
  scale: 1 1;
}

.js.animations-ready [data-reveal="bar"].is-visible {
  scale: 1 1;
}

.js.animations-ready [data-reveal][data-float].is-visible {
  animation: gentle-float 5s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}

.js.animations-ready [data-parallax] {
  translate: 0 var(--parallax-y, 0px);
}

@media (max-width: 1024px) {
  .js.animations-ready .home-hero [data-parallax] {
    translate: none;
  }
}

@keyframes gentle-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -8px;
  }
}

@keyframes reveal-pop {
  0% {
    opacity: 0;
    scale: 0.88;
  }

  75% {
    opacity: 1;
    scale: 1.04;
  }

  100% {
    opacity: 1;
    scale: 1;
  }
}

@media (max-width: 767px) {
  .back-to-top {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  .js.animations-ready [data-reveal],
  .js.animations-ready [data-reveal].is-visible {
    opacity: 1;
    translate: none;
    scale: none;
    animation: none !important;
    transition: opacity 150ms ease !important;
    will-change: auto;
  }

  .js.animations-ready .home-hero [data-reveal],
  .js.animations-ready .home-hero [data-reveal].is-visible {
    transition: none !important;
  }

  .js.animations-ready [data-parallax] {
    translate: none;
  }

  a:hover,
  button:hover,
  .hover-lift:hover,
  .hover-lift:focus-visible,
  .card-hover-tier2:hover,
  .card-hover-tier2:focus-within,
  .tier-1-card:hover {
    transform: none !important;
  }

  .back-to-top {
    transition: opacity 150ms ease;
    translate: none;
  }

  .scroll-progress {
    display: none;
  }
}
