#home .video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

#home .video-bg__vid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#home .video-bg__vid#vid2 {
  opacity: 0;
}

#home .golden-ratio {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: url(/i/svg/golden-ratio.svg) no-repeat bottom right/cover;
  z-index: 1;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

#home .s1 {
  position: relative;
  height: 100vh;
  min-height: 900px;
}

#home .s1 .container {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 2rem);
  text-align: center;
  z-index: 1;
}

#home .s1 h1 {
  font-family: "neue-haas-grotesk-display";
  font-style: normal;
  font-weight: 200;
  font-size: 5.5rem;
  line-height: 1.1em;
  margin-bottom: 3rem;
}

#home .s1 h2 {
  font-weight: 300;
  font-size: 1.65rem;
  letter-spacing: 0.05em;
}

#home .s1 .wrap {
  margin-top: 7.25rem;
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1020px;
  margin: 7.25rem auto 0 auto;
}

#home .s1 .wrap > div {
  width: 33.33%;
  padding-bottom: 1.5rem;
  border-bottom: solid 1px rgba(165, 210, 255, 0.5);
}

#home .s1 .wrap > div p {
  font-size: 1.65rem;
  letter-spacing: 0.05em;
  line-height: 1.3em;
}

#home .s1 .wrap > div span {
  color: #389CFF;
}

#home .s2 {
  padding: 5rem 0 10rem;
  text-align: center;
}

#home .s2 h3 {
  color: #fff;
  max-width: 1158px;
  margin: 0 auto;
}

#home .s2 h3 span {
  color: #389CFF;
}

#home .s3 {
  position: relative;
  z-index: 1;
}

#home .s3 .wrap {
  display: flex;
  height: 100%;
}

#home .s3 .wrap .card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 560px;
  padding: 0 1rem;
  border-right: solid 1px rgba(165, 210, 255, 0.3);
  cursor: pointer;
  overflow: hidden;
}

#home .s3 .wrap .card .text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 320px;
  margin: 0 auto;
}

#home .s3 .wrap .card .text .icon {
  display: block;
  width: 60px;
  height: 60px;
  background: url(/i/svg/plus.svg) no-repeat center/contain;
  margin-bottom: 5rem;
  transition: opacity 0.5s ease;
}

#home .s3 .wrap .card .text h2 {
  transform: translateY(1rem);
  transition: transform 0.5s ease;
}

#home .s3 .wrap .card .text p {
  height: 0;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#home .s3 .wrap .card.active .text .icon {
  opacity: 0;
}

#home .s3 .wrap .card.active .text h2 {
  transform: translateY(-1rem);
}

#home .s3 .wrap .card.active .text p {
  opacity: 1;
  height: auto;
  transform: translateY(0);
}

#home .s3 .wrap .card:first-child {
  padding-left: 0;
}

#home .s3 .wrap .card:last-child {
  border-right: none;
  padding-right: 0;
}

#home .s3 .mobile {
  display: none;
  border-bottom: solid 1px rgba(255, 255, 255, 0.3);
}

#home .s3 .mobile .fx-nav {
  padding: 1rem 0;
  border-top: solid 1px rgba(255, 255, 255, 0.3);
}

#home .s3 .mobile .fx-nav h2 {
  position: relative;
}

#home .s3 .mobile .fx-nav h2 br {
  display: none;
}

#home .s3 .mobile .fx-nav h2::after {
  content: '';
  position: absolute;
  display: block;
  width: 40px;
  height: 40px;
  background: url(/i/svg/plus.svg) no-repeat center/contain;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

#home .s3 .mobile .fx-nav.fx-on h2::after {
  background-image: url(/i/svg/minus.svg);
}

#home .s3 .mobile .fx-slide .content {
  padding: 1rem 0 2rem 0;
}

#home .s3 .mobile .fx-slide p {
  max-width: 650px;
}

#home .s4 {
  text-align: center;
}

#home .s4 h3 {
  max-width: 1158px;
  margin: 0 auto;
  transition: color 1s ease;
  margin-bottom: 4rem;
}

#home .s4 h3 span {
  color: #389CFF;
}

#home .s4 h3.light {
  color: #23356E;
}

#home .s5 {
  padding-bottom: 10rem;
  position: relative;
  z-index: 1;
}

#home .s5 .container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

#home .s5 .left {
  max-width: 516px;
  position: sticky;
  top: 8rem;
  height: 400px;
}

#home .s5 .left h2 {
  margin-bottom: 3rem;
  color: #23356E;
}

#home .s5 .left h2 span {
  color: #389CFF;
}

#home .s5 .left p {
  color: #23356E;
}

#home .s5 .right {
  max-width: 565px;
  width: 100%;
}

#home .s5 .right > div, #home .s5 .right .last {
  display: block;
  height: 300px;
  border-radius: 12px;
  border: 1px solid var(--Border-D-Border, rgba(16, 98, 179, 0.5));
  background: var(--Gradient-Linear-Light, linear-gradient(319deg, rgba(175, 215, 255, 0.15) -0.52%, rgba(175, 215, 255, 0.05) 99.67%));
  margin-bottom: 2.5rem;
  position: relative;
}

#home .s5 .right > div h3, #home .s5 .right .last h3 {
  position: absolute;
  left: 2.5rem;
  bottom: 2.5rem;
  max-width: 360px;
  padding-top: 4rem;
  color: #23356E;
}

#home .s5 .right > div h3::before, #home .s5 .right .last h3::before {
  content: '';
  position: absolute;
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #389CFF;
  top: 0;
  left: 0;
}

#home .s5 .right .last {
  margin-bottom: 0;
  background: #2879C8;
  transition: background-color .5s ease;
}

#home .s5 .right .last h3 {
  max-width: none;
  padding-top: 0;
  color: #fff;
  padding-right: 10rem;
}

#home .s5 .right .last h3::before {
  display: none;
}

#home .s5 .right .last h3::after {
  content: '';
  position: absolute;
  display: block;
  width: 150px;
  height: 150px;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: url(/i/svg/right-arrow-lg.svg) no-repeat center/contain;
}

#home .s5 .right .last:hover {
  background: #032251;
}

@media screen and (max-width: 980px) {
  #home .s1 h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
  }
  #home .s2 {
    padding: 2rem 0 7rem 0;
  }
  #home .s3 .desk {
    display: none;
  }
  #home .s3 .mobile {
    display: block;
  }
  #home .s5 {
    padding-bottom: 7rem;
  }
  #home .s5 .container {
    flex-direction: column;
  }
  #home .s5 .left {
    top: auto;
    width: 100%;
    max-width: none;
    height: auto;
    position: relative;
  }
  #home .s5 .left h2 {
    margin-bottom: 2rem;
  }
  #home .s5 .left h2 br {
    display: none;
  }
  #home .s5 .left p {
    max-width: 650px;
  }
  #home .s5 .right {
    display: grid;
    max-width: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  #home .s5 .right > div, #home .s5 .right .last {
    height: 250px;
    margin-bottom: 0;
  }
  #home .s5 .right > div h3, #home .s5 .right .last h3 {
    bottom: 1rem;
    left: 1rem;
  }
  #home .s5 .right .last h3 {
    padding-right: 7rem;
  }
  #home .s5 .right .last h3::after {
    width: 80px;
    height: 80px;
  }
}

@media screen and (max-width: 767px) {
  #home .s1 {
    min-height: auto;
  }
  #home .s1 h1 {
    font-size: 3rem;
  }
  #home .s1 h2, #home .s1 p {
    font-size: 1.3rem;
  }
  #home .s1 .wrap {
    flex-direction: column;
    gap: 1rem;
    max-width: 300px;
    margin-top: 4rem;
  }
  #home .s1 .wrap > div {
    width: 100%;
    padding-bottom: 1rem;
  }
  #home .s1 .wrap > div p {
    font-size: 1.3rem;
  }
  #home .s2 {
    padding: 2rem 0 5rem 0;
  }
  #home .s3 .mobile .fx-nav h2::after {
    width: 30px;
    height: 30px;
  }
  #home .s5 {
    padding-bottom: 5rem;
  }
  #home .s5 .right {
    grid-template-columns: repeat(1, 1fr);
  }
  #home .s5 .right > div, #home .s5 .right .last {
    width: 100%;
    height: 150px;
  }
  #home .s5 .right > div h3 br, #home .s5 .right .last h3 br {
    display: none;
  }
  #home .s5 .right > div h3, #home .s5 .right .last h3 {
    padding-top: 2rem;
  }
  #home .s5 .right .last h3 {
    padding-top: 0;
    padding-right: 4rem;
  }
  #home .s5 .right .last h3::after {
    width: 50px;
    height: 50px;
  }
}
