:root {
  --smartbox-gold: #E2B24A;
  --smartbox-teal: #3E9AA8;
  --smartbox-petrol: #12303A;
  --smartbox-ink: #080F13;
  --smartbox-ease: cubic-bezier(.22, 1, .36, 1);
}

.smartbox-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 82;
  height: 4px;
  pointer-events: none;
  transition: opacity .25s ease;
}

.smartbox-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--smartbox-gold), var(--smartbox-teal), #46A98F);
  box-shadow: 0 0 18px rgba(226, 178, 74, .42);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.smartbox-intro {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--smartbox-gold);
  color: var(--smartbox-ink);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

.smartbox-intro::before,
.smartbox-intro::after {
  content: "";
  position: absolute;
  border: clamp(28px, 5vw, 76px) solid rgba(8, 15, 19, .11);
  border-radius: 50%;
}

.smartbox-intro::before {
  width: min(55vw, 740px);
  aspect-ratio: 1;
  right: -17vw;
  top: -35vw;
}

.smartbox-intro::after {
  width: min(38vw, 520px);
  aspect-ratio: 1;
  left: -12vw;
  bottom: -25vw;
}

.smartbox-intro-lockup {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: clamp(12px, 2vw, 28px);
  font-family: "Space Grotesk", sans-serif;
  line-height: .82;
  letter-spacing: -.055em;
}

.smartbox-intro-lockup strong {
  font-size: clamp(58px, 12vw, 176px);
}

.smartbox-intro-lockup i {
  color: var(--smartbox-petrol);
  font-size: clamp(25px, 4vw, 58px);
  font-style: normal;
}

.smartbox-intro-lockup span {
  font-family: Manrope, sans-serif;
  font-size: clamp(12px, 1.7vw, 24px);
  font-weight: 800;
  letter-spacing: .16em;
}

.smartbox-motion-ready .smartbox-intro {
  opacity: 1;
  visibility: visible;
  animation: smartbox-intro-away 1.2s cubic-bezier(.77, 0, .18, 1) .34s both;
}

.smartbox-motion-ready .smartbox-intro-lockup {
  animation: smartbox-lockup-in .9s var(--smartbox-ease) both;
}

.smartbox-motion-ready .case-header {
  transition: transform .78s var(--smartbox-ease), background .3s ease, box-shadow .3s ease;
}

.smartbox-motion-ready:not(.smartbox-loaded) .case-header {
  transform: translateY(-110%);
}

.smartbox-motion-ready .case-header.smartbox-scrolled {
  background: rgba(8, 15, 19, .95) !important;
  box-shadow: 0 16px 44px rgba(0, 0, 0, .28);
}

.smartbox-motion-ready .case-hero {
  position: relative;
  isolation: isolate;
}

.smartbox-motion-ready .case-hero::before,
.smartbox-motion-ready .case-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(1px);
}

.smartbox-motion-ready .case-hero::before {
  width: min(42vw, 560px);
  aspect-ratio: 1;
  right: -12vw;
  top: 4vw;
  border: clamp(34px, 5vw, 74px) solid rgba(62, 154, 168, .07);
  animation: smartbox-orbit 15s ease-in-out infinite alternate;
}

.smartbox-motion-ready .case-hero::after {
  width: 11px;
  height: 11px;
  left: 2%;
  top: 34%;
  background: var(--smartbox-gold);
  box-shadow: 0 0 0 9px rgba(226, 178, 74, .09), 0 0 36px rgba(226, 178, 74, .55);
  animation: smartbox-pulse 2.8s ease-in-out infinite;
}

.smartbox-motion-ready .smartbox-hero-copy,
.smartbox-motion-ready .smartbox-hero-visual {
  opacity: 0;
  transition: opacity .82s ease, transform 1.05s var(--smartbox-ease);
}

.smartbox-motion-ready .smartbox-hero-copy {
  transform: translateX(-56px);
}

.smartbox-motion-ready .smartbox-hero-visual {
  transform: translateY(64px) scale(.94) rotate(2deg);
}

.smartbox-motion-ready.smartbox-loaded .smartbox-hero-copy,
.smartbox-motion-ready.smartbox-loaded .smartbox-hero-visual {
  opacity: 1;
  transform: none;
}

.smartbox-motion-ready.smartbox-loaded .smartbox-hero-copy {
  transition-delay: .44s;
}

.smartbox-motion-ready.smartbox-loaded .smartbox-hero-visual {
  transition-delay: .66s;
}

.smartbox-motion-ready .case-hero-title {
  background: linear-gradient(102deg, #E7EEEF 0 46%, #E2B24A 52%, #E7EEEF 58% 100%);
  background-size: 230% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.smartbox-motion-ready.smartbox-loaded .case-hero-title {
  animation: smartbox-title-shine 1.65s var(--smartbox-ease) .62s both;
}

.smartbox-motion-ready .smartbox-reveal {
  opacity: 0;
  transform: translateY(58px);
  transition: opacity .78s ease, transform .95s var(--smartbox-ease);
  transition-delay: var(--smartbox-delay, 0ms);
}

.smartbox-motion-ready .smartbox-reveal.smartbox-from-left {
  transform: translateX(-56px);
}

.smartbox-motion-ready .smartbox-reveal.smartbox-from-right {
  transform: translateX(56px);
}

.smartbox-motion-ready .smartbox-reveal.smartbox-scale-in {
  transform: translateY(34px) scale(.945);
}

.smartbox-motion-ready .smartbox-reveal.smartbox-visible {
  opacity: 1;
  transform: none;
}

.smartbox-motion-ready main article.smartbox-visible {
  transition-property: opacity, transform, border-color, box-shadow, background-color;
}

.smartbox-motion-ready main article.smartbox-visible:hover {
  border-color: rgba(226, 178, 74, .34) !important;
  box-shadow: 0 28px 68px -36px rgba(226, 178, 74, .35);
  transform: translateY(-7px);
}

.smartbox-motion-ready .smartbox-media-stage {
  transform-style: preserve-3d;
  transition: opacity .8s ease, transform .85s var(--smartbox-ease), box-shadow .5s ease;
  will-change: transform;
}

.smartbox-motion-ready .smartbox-media-stage.smartbox-visible {
  box-shadow: 0 38px 86px -50px rgba(62, 154, 168, .58);
}

.smartbox-motion-ready .smartbox-accent-sweep {
  position: relative;
  overflow: hidden;
}

.smartbox-motion-ready .smartbox-accent-sweep::after {
  content: "";
  position: absolute;
  inset: -30% auto -30% -30%;
  width: 20%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
  transform: skewX(-18deg) translateX(-250%);
}

.smartbox-motion-ready .smartbox-accent-sweep.smartbox-visible::after {
  animation: smartbox-sweep 1.25s var(--smartbox-ease) .2s both;
}

.smartbox-demo-open .smartbox-progress {
  opacity: 0;
}

@keyframes smartbox-lockup-in {
  from { opacity: 0; transform: translateY(50px) scale(.94); }
  to { opacity: 1; transform: none; }
}

@keyframes smartbox-intro-away {
  0%, 45% { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 0 100% 0); visibility: hidden; }
}

@keyframes smartbox-title-shine {
  from { background-position: 100% 0; }
  to { background-position: 0 0; }
}

@keyframes smartbox-orbit {
  from { transform: translate3d(0, 0, 0) rotate(-4deg); }
  to { transform: translate3d(-34px, 28px, 0) rotate(6deg); }
}

@keyframes smartbox-pulse {
  0%, 100% { opacity: .42; transform: scale(.78); }
  50% { opacity: 1; transform: scale(1.15); }
}

@keyframes smartbox-sweep {
  from { transform: skewX(-18deg) translateX(-250%); }
  to { transform: skewX(-18deg) translateX(780%); }
}

@media (max-width: 700px) {
  .smartbox-progress { height: 3px; }
  .smartbox-intro-lockup { flex-wrap: wrap; justify-content: center; padding: 24px; }
  .smartbox-motion-ready .smartbox-hero-copy { transform: translateY(34px); }
  .smartbox-motion-ready .smartbox-hero-visual { transform: translateY(46px) scale(.96); }
}

@media (prefers-reduced-motion: reduce) {
  .smartbox-intro,
  .smartbox-progress { display: none !important; }
  .smartbox-motion-ready .case-header,
  .smartbox-motion-ready .smartbox-hero-copy,
  .smartbox-motion-ready .smartbox-hero-visual,
  .smartbox-motion-ready .smartbox-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .smartbox-motion-ready .case-hero-title { color: #E7EEEF !important; background: none !important; }
  .smartbox-motion-ready main article.smartbox-visible:hover { transform: none; }
}
