 .home-hero-mobile {
  --default-transition: all 300ms ease-out;
  --hero-transition: all 400ms ease-in-out;
  position: relative;
  padding: 30px 0 0;
  letter-spacing: 0;;
  background-color: var(--colour-black);
  overflow: hidden;
}
.home-hero-mobile .frame {
  position: relative;
  max-width: 375px;
  height: 596px;
  margin: 0 auto;
}

.home-hero-mobile img {
  height: auto;
}

/* Landing */
.home-hero-mobile .landing {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: var(--hero-transition);
}
.home-hero-mobile .landing.is-active {
  opacity: 1;
  pointer-events: all;
}
.home-hero-mobile .landing:before {
  position: absolute;
  top: 0;
  left: 28px;
  width: 16px;
  aspect-ratio: 1;
  content: "";
  display: block;
  background-color: var(--colour-green);
}
.home-hero-mobile .landing .img-one {
  position: absolute;
  top: 16px;
  left: 44px;
  width: 188px;
  aspect-ratio: 1;
}
.home-hero-mobile .landing .img-one:before {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 40px;
  height: 40px;
  display: block;
  content: "";
  background-color: var(--colour-black);
}
.home-hero-mobile .landing .logo {
  position: absolute;
  top: 218px;
  left: 101px;
  width: 173px;
  height: 64px;
}
.home-hero-mobile .landing .img-two {
  position: absolute;
  right: 0;
  top: 295px;
  width: 202px;
  aspect-ratio: 1;
}
.home-hero-mobile .landing .img-two:before {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 40px;
  height: 40px;
  display: block;
  content: "";
  background-color: var(--colour-black);
}
.home-hero-mobile .landing .img-two:after {
  position: absolute;
  bottom: -8px;
  left: -8px;
  width: 178px;
  height: 40px;
  display: block;
  content: "";
  background-color: var(--colour-black);
}
.home-hero-mobile .landing .Button {
  position: absolute;
  top: 505px;
  width: 100%;
  text-align: center;
  z-index: 10;
}
.home-hero-mobile .landing .Button a {
  font-size: 16px;
  background-color: transparent;
}
.home-hero-mobile .slides .Button a {
  font-size: 14px;
  background-color: transparent;
}
.home-hero-mobile .Button a {
  cursor: pointer;
}
.home-hero-mobile .Button a:after {
  background-size: 1.5rem;
}
.home-hero-mobile .Button--arrow-right a:after {
  background-color: var(--colour-blue);
}
.home-hero-mobile .landing #hero-loader {
  position: absolute;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: var(--colour-blue);
  transition: width 250ms linear;
  z-index: -1;
}

/* Slides */
.home-hero-mobile .slides {
  position: absolute;
  inset: 0;
  opacity: 0;
  color: var(--colour-white);
  pointer-events: none;
  transition: var(--hero-transition);
}
.home-hero-mobile .slides.is-active {
  opacity: 1;
  pointer-events: all;
}

.home-hero-mobile .slides .img {
  position: absolute;
  top: 0;
  right: 28px;
  width: 256px;
  aspect-ratio: 1;
}
.home-hero-mobile .slides .img .box-1 {
  position: absolute;
  top: -8px;
  height: 40px;
  background-color: var(--colour-black);
  transition: var(--hero-transition);
  z-index: 10;
}
.home-hero-mobile .slides .img.position-0 .box-1 {
  left: 224px;
  width: 40px;
}
.home-hero-mobile .slides .img.position-1 .box-1 {
  left: 64px;
  width: 64px;
}
.home-hero-mobile .slides .img.position-2 .box-1 {
  left: -8px;
  width: 40px;
}
.home-hero-mobile .slides .img.position-3 .box-1 {
  left: -8px;
  width: 80px;
}

.home-hero-mobile .slides .img .box-2 {
  position: absolute;
  bottom: -8px;
  left: -63px;
  height: 40px;
  background-color: var(--colour-black);
  transition: var(--hero-transition);
  z-index: 10;
}
.home-hero-mobile .slides .img.position-0 .box-2 {
  width: 160px;
}
.home-hero-mobile .slides .img.position-1 .box-2 {
  width: 279px;
}
.home-hero-mobile .slides .img.position-2 .box-2 {
  width: 157px;
}
.home-hero-mobile .slides .img.position-3 .box-2 {
  width: 176px;
}
.home-hero-mobile .slides .img .box-2:after {
  position: absolute;
  right: 0;
  bottom: -8px;
  width: 16px;
  height: 16px;
  content: "";
  background-color: var(--colour-green);
}
.home-hero-mobile .slides .img img {
  position: absolute;
  opacity: 0;
  transition: var(--hero-transition);
}
.home-hero-mobile .slides .img img.is-active {
  opacity: 1;
}

.home-hero-mobile .slides .info {
  position: relative;
  top: 288px;
  left: 28px;
  z-index: 20;
}
.home-hero-mobile .slides .txt {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: var(--hero-transition);
}
.home-hero-mobile .slides .txt.is-active {
  opacity: 1;
  pointer-events: all;
}
.home-hero-mobile .slides .txt h2 {
  margin-bottom: 16px;
  font-size: 50px;
  font-weight: 600;
  line-height: 90%;
}
.home-hero-mobile .slides .txt p {
  margin-bottom: 24px;
  font-size: 18px;
  line-height: 116%;
}
.home-hero-mobile .slides .txt strong {
  font-weight: 600;
}

/* Controls */
.home-hero-mobile .controls {
  position: absolute;
  top: 519px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 64px;
  opacity: 0;
  pointer-events: none;
  transition: var(--default-transition);
  z-index: 10;
}
.home-hero-mobile .controls.is-active {
  opacity: 1;
  pointer-events: all;
}
.home-hero-mobile .controls:before,
.home-hero-mobile .controls:after {
  position: absolute;
  right: 0;
  width: 188px;
  height: 135px;
  content: "";
  background-image: url(https://www.luxidgroup.com/hubfs/Luxid%20site/Images/Home%20Hero/hero-mobile-nav-gradient-glow-right@2x.png);
  background-size: contain;
  z-index: -1;
}
.home-hero-mobile .controls:before {
  left: 0;
  scale: -1;
}
.home-hero-mobile .nav-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--colour-white);
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: var(--default-transition);
}
.home-hero-mobile .nav-button:before {
  display: block;
  width: 100%;
  height: 100%;
  background-image: var(--white-arrow);
  background-repeat: no-repeat;
  background-size: 1.5rem;
  background-position: center;
  content: "";
}
.home-hero-mobile .nav-button.previous:before {
  transform: scale(-1) translateY(2px);;
}

/* Controls */
.home-hero-mobile .dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  transition: var(--hero-transition);
}
.home-hero-mobile .dots button {
  position: relative;
  display: inline-block;
  width: 6px;
  height: 6px;
  padding: 0;
  background-color: transparent;
  border: 1px solid var(--colour-white);
  appearance: none;
  transition: var(--default-transition);
}
.home-hero-mobile .dots button:before {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 0;
  height: calc(100% + 2px);
  background-color: var(--colour-green);
  content: "";
  transition: var(--default-transition);
}
.home-hero-mobile .dots button:after {
  position: absolute;
  top: -9px;
  left: -9px;
  width: 22px;
  height: 22px;
  content: "";
}
.home-hero-mobile .dots button.is-active {
  width: 40px;
  pointer-events: none;
}
.home-hero-mobile .dots button.is-active:before {
  width: calc(var(--before-width, 0) + 2px);
}

@media (max-width: 1023px) {
  /* remove hover state from mobile button */
  .home-hero-mobile .slides .Button a {
    padding-left: 0;
  }
  .home-hero-mobile .Button a:hover {
    background-color: unset;
  }
  .home-hero-mobile .Button a:hover:after {
    transform: unset;
  }
}

@media (min-width: 1024px) {
  .home-hero-mobile {
    display: none;
  }
}
