#home .s1 {
  position: relative;
  height: 100vh;
  min-height: 900px;
  overflow: hidden;
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}

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

#home .s1::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(26, 36, 54, 0.3);
  mix-blend-mode: multiply;
  z-index: 1;
  pointer-events: none;
}

#home .s1::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  top: 0;
  left: 0;
  background: url(/i/svg/gradient.svg) no-repeat left/cover;
  z-index: 1;
  pointer-events: none;
}

#home .s1 .container {
  position: relative;
  z-index: 2;
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  gap: 3rem;
  padding-bottom: 4rem;
}

#home .s1 .s1-left {
  max-width: 65%;
  align-self: flex-end;
  margin-right: auto;
}

#home .s1 .s1-left h1 {
  font-family: "raleway";
  font-style: normal;
  font-weight: 200;
  font-size: 3.5rem;
  line-height: 1.15em;
  color: #fff;
}

#home .s1 .s1-left .line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
  transform-origin: left;
  transform: scaleX(0);
  margin: 1.5rem 0;
  margin-left: calc(-50vw + 50%);
  width: calc(100% + (50vw - 50%));
}

#home .s1 .s1-left p {
  color: #fff;
  opacity: 0;
}

#home .s1 .s1-right {
  padding-left: 1rem;
  border-left: solid 1px #fff;
  max-width: 280px;
}

#home .s1 .s1-right .splide .splide__slide h4 {
  font-weight: 500;
  color: #fff;
}

#home .s2 {
  position: relative;
}

#home .s2 .logo-mark {
  width: 95%;
  height: 800px;
  position: absolute;
  background: url(/i/svg/logo-mark.svg) no-repeat left/contain;
  top: 80%;
  transform: translateY(-50%);
  left: 0;
  opacity: 0;
}

#home .s2 .container {
  max-width: 1100px;
}

#home .s2 h3 {
  color: #5A76A8;
  margin-bottom: 2.5rem;
}

#home .s2 .two-col {
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  gap: 1.5rem;
  max-width: 800px;
  margin-left: auto;
}

#home .s2 .two-col p {
  width: 50%;
}

#home .s3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  position: relative;
}

#home .s3::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(26, 36, 54, 0.3);
  mix-blend-mode: multiply;
  z-index: 0;
  pointer-events: none;
  z-index: 1;
}

#home .s3 .plx-wrap .plx-bg {
  background: url(/i/homepage-bythenumbers.png) no-repeat 90%/cover;
}

#home .s3 .box {
  height: 449px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1;
  border-right: solid 1px rgba(255, 255, 255, 0.6);
  border-top: solid 1px rgba(255, 255, 255, 0.6);
}

#home .s3 .box .counter {
  font-weight: 100;
  display: flex;
  gap: 10px;
  font-family: "sofia-pro";
  font-style: normal;
  font-weight: 200;
}

#home .s3 .box .counter .dl {
  font-size: 2.5rem;
  color: #fff;
  font-weight: 300;
  position: relative;
  top: 1rem;
}

#home .s3 .box .counter .b {
  font-size: 2.5rem;
  color: #fff;
  font-weight: 300;
  position: relative;
  top: 2.7rem;
}

#home .s3 .box .counter-value {
  font-size: 5.5rem;
  height: 5.5rem;
  color: #fff;
  position: relative;
  display: flex;
  justify-content: center;
  overflow: hidden;
  align-items: center;
  text-align: center;
}

#home .s3 .box .counter-value > span {
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 2s ease;
  transform: translateY(0);
  line-height: 1;
}

#home .s3 .box .counter-value > span span {
  flex: 0 0 100%;
  height: 100%;
}

#home .s3 .box p {
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2.16px;
  margin-top: 1.5rem;
  color: #fff;
  text-align: center;
}

#home .s3 .box .counter-value:nth-child(1) > span {
  transition-delay: 0s;
}

#home .s3 .box .counter-value > span span:first-child {
  opacity: 0;
}

#home .s3 .box:nth-child(4), #home .s3 .box:nth-child(8) {
  border-right: none;
}

#home .s4 {
  position: relative;
}

#home .s4 .s4-sticky {
  width: 100%;
  height: 100vh;
  min-height: 900px;
  display: flex;
  overflow: hidden;
}

#home .s4 .s4-images {
  width: 50%;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

#home .s4 .s4-images .s4-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
}

#home .s4 .s4-images .s4-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

#home .s4 .s4-text {
  width: 50%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 4.5rem 2.5rem;
}

#home .s4 .s4-text .s4-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid rgba(30, 30, 30, 0.3);
  cursor: pointer;
  overflow: hidden;
  transition: flex 0.6s cubic-bezier(0.77, 0, 0.18, 1);
  padding-right: 1rem;
}

#home .s4 .s4-text .s4-item h3 {
  font-size: 1.45rem;
  color: #1A2436;
  margin-bottom: 1rem;
  opacity: 0.2;
  transition: opacity .5s ease;
}

#home .s4 .s4-text .s4-item .s4-detail {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  max-width: 620px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease;
}

#home .s4 .s4-text .s4-item .s4-detail p {
  max-width: 406px;
}

#home .s4 .s4-text .s4-item:last-child {
  border-bottom: none;
}

#home .s4 .s4-text .s4-item.is-active h3 {
  opacity: 1;
}

#home .s4 .s4-text .s4-item.is-active .s4-detail {
  opacity: 1;
  visibility: visible;
}

#home .s4-mobile {
  display: none;
  padding: 5rem 0;
}

#home .s4-mobile .fx-nav {
  padding: 1rem;
  border-top: solid 1px rgba(30, 30, 30, 0.3);
  position: relative;
}

#home .s4-mobile .fx-nav h3 {
  font-size: 1.45rem;
  color: #1A2436;
  padding-right: 1.7rem;
}

#home .s4-mobile .last {
  border-bottom: solid 1px rgba(30, 30, 30, 0.3);
}

#home .s4-mobile .last.fx-on {
  border-bottom: none;
}

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

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

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

#home .s4-mobile .fx-slide .content img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
}

#home .s4-mobile .fx-slide .content .last-img {
  object-position: top;
}

@media (max-width: 1100px), (max-height: 900px) {
  #home .s4 {
    display: none;
  }
  #home .s4-mobile {
    display: block;
  }
}

@media screen and (max-width: 1100px) {
  #home .s1 .container {
    flex-direction: column;
  }
  #home .s1 .s1-left {
    width: 100%;
    max-width: none;
  }
  #home .s1 .s1-right {
    margin-right: auto;
  }
}

@media screen and (max-width: 980px) {
  #home .s3 {
    grid-template-columns: repeat(2, 1fr);
  }
  #home .s3 .box {
    height: 400px;
  }
  #home .s3 .box:nth-child(3), #home .s3 .box:nth-child(5), #home .s3 .box:nth-child(7) {
    border-right: none;
  }
  #home .s3 .box:nth-child(4) {
    border-right: solid 1px rgba(255, 255, 255, 0.6);
  }
}

@media screen and (max-width: 767px) {
  #home .s1 {
    min-height: 600px;
  }
  #home .s1 .s1-left h1 {
    font-size: 3rem;
  }
  #home .s2 .logo-mark {
    height: 45vw;
    top: auto;
    bottom: -20vw;
    transform: none;
  }
  #home .s2 h3 {
    margin-bottom: 2rem;
  }
  #home .s2 .two-col {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    max-width: none;
    gap: 1rem;
  }
  #home .s2 .two-col p {
    width: 100%;
  }
  #home .s3 {
    grid-template-columns: repeat(1, 1fr);
  }
  #home .s3 .box {
    height: 250px;
    border-right: none;
  }
  #home .s3 .box .counter-value {
    font-size: 4.5rem;
    height: 4.5rem;
  }
  #home .s3 .box .counter .b {
    top: 2rem;
  }
  #home .s4-mobile .fx-nav h3 {
    font-size: 1.2rem;
  }
  #home .s4-mobile .fx-slide .content img {
    height: 300px;
  }
}
