@keyframes slideRight {
  0% {
    left: 0;
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: calc(100% - 20px);
    opacity: 0;
  }
}

#home .s1 {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

#home .s1 .text-masks {
  position: absolute;
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  width: 100vw;
  height: 100%;
  left: 0;
  top: 0;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

#home .s1 .text-masks .text-mask-col {
  width: 25%;
  height: 100%;
  will-change: clip-path;
  clip-path: inset(0% 0% 0% 100%);
  overflow: hidden;
  background: url(/i/home-hero-1920.png) 0 0/100vw 100vh no-repeat;
}

#home .s1 .text-masks .text-mask-col:nth-child(2) {
  background-position: -25vw 0;
}

#home .s1 .text-masks .text-mask-col:nth-child(3) {
  background-position: -50vw 0;
}

#home .s1 .text-masks .text-mask-col:nth-child(4) {
  background-position: -75vw 0;
}

#home .s1 .cols {
  position: absolute;
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  width: 100vw;
  height: 100%;
  left: 0;
  top: 0;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}

#home .s1 .cols .col {
  width: 25%;
  height: 100%;
  transform: translate3d(0, 0, 0) scale(1, 1);
  transform-origin: left center;
  will-change: transform;
  background: linear-gradient(302deg, #11213F 5.23%, #295280 83.28%);
  background-size: 100vw auto;
}

#home .s1 .cols .col:nth-child(2) {
  background-position: -25vw 0;
}

#home .s1 .cols .col:nth-child(3) {
  background-position: -50vw 0;
}

#home .s1 .cols .col:nth-child(4) {
  background-position: -75vw 0;
}

#home .s1 .hero-foreground {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: calc(100% - 2rem);
  margin: 0 auto;
  max-width: 1130px;
  gap: 2.5rem;
  z-index: 3;
  pointer-events: none;
}

#home .s1 .hero-foreground h2 {
  opacity: 0;
}

#home .s1 .hero-text {
  height: 100%;
  padding: 7.5rem 0;
  width: calc(100% - 2rem);
  margin: 0 auto;
  max-width: 1130px;
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 2.5rem;
  position: relative;
  z-index: 6;
}

#home .s1 .hero-text h1 {
  opacity: 0;
  transition: opacity .2s ease;
}

#home .s1 .hero-text h1.--active {
  opacity: 1;
  transition: opacity 1s ease;
}

#home .s1 h1 {
  font-family: "Manrope", sans-serif;
  font-style: normal;
  font-weight: 200;
  font-size: clamp(2.5rem, 10vw, 6.6rem);
  line-height: 1em;
}

#home .s1 h2 {
  font-family: "Manrope", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: .9rem;
  line-height: normal;
  max-width: 530px;
  margin: 0 auto;
}

#home .s1 h1, #home .s1 h2 {
  color: #fff;
  text-align: center;
}

#home .s1 .lines {
  position: absolute;
  width: 0;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 5;
  opacity: .1;
}

#home .s1 .lines.--active {
  opacity: .2;
}

#home .s1 .lines div {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  border-right: 1px solid #fff;
}

#home .s1 .lines div:nth-child(1) {
  left: 25vw;
}

#home .s1 .lines div:nth-child(2) {
  left: 50vw;
}

#home .s1 .lines div:nth-child(3) {
  left: 75vw;
}

#home .s1 .scrollTo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10vh;
  z-index: 6;
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: .9rem;
  letter-spacing: .7em;
  line-height: 1em;
  text-transform: uppercase;
}

#home .s1 .scrollTo::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  height: 1px;
  width: 20px;
  background-color: #fff;
  display: block;
  animation: slideRight 2s linear infinite;
}

@media all and (max-width: 1024px) {
  #home .s1 .text-masks .text-mask-col {
    background-image: url(/i/home-hero-1024.png);
  }
  #home .s1.--active .text-masks .text-mask-col {
    clip-path: inset(0 0 0 0);
    transition: clip-path 1s linear;
  }
  #home .s1.--active .cols .col {
    transform: translate(0, 0) scale(0, 1);
    transition: transform 1s linear;
  }
  #home .s1.--active .hero-text h1 {
    font-size: clamp(2.5rem, 8vw, 6.6rem);
    opacity: 1;
    transition: opacity 1s ease 1.1s;
  }
  #home .s1.--active .lines {
    opacity: .2;
  }
}

@media all and (max-width: 767px) {
  #home .s1 .text-masks .text-mask-col {
    background-image: url(/i/home-hero-767.png);
  }
}

@media all and (max-width: 430px) {
  #home .s1 .text-masks .text-mask-col {
    background-image: url(/i/home-hero-430.png);
  }
}

#home .s2 {
  padding-top: 10rem;
  overflow: hidden;
}

#home .s2 .contain {
  padding: 3.5rem 0 8.5rem;
  border-top: 2px solid rgba(0, 61, 77, 0.2);
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
}

#home .s2 .contain::before {
  content: '';
  position: absolute;
  display: block;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100vw;
  height: 50%;
  background-color: #11213F;
}

#home .s2 h3 {
  font-family: "Manrope", sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: .9rem;
  line-height: normal;
  color: #1E1E1E;
  margin-bottom: 1.2rem;
}

#home .s2 .box-wrapper {
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  gap: 1rem;
}

#home .s2 .box {
  width: calc(100% / 3);
  padding: 2.5rem 3.5%;
  height: auto;
  background-color: #fff;
}

#home .s2 .box:nth-child(1) {
  transform: translateY(100px) scale(0.95);
}

#home .s2 .box:nth-child(2) {
  transform: translateY(200px) scale(0.925);
}

#home .s2 .box:nth-child(3) {
  transform: translateY(300px) scale(0.9);
}

#home .s2 .box-inner {
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 7rem;
}

#home .s2 .img-wrapper {
  width: 37px;
  height: 37px;
}

#home .s2 .img-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#home .s2 h4 {
  font-size: 3.1rem;
  font-weight: 200;
  line-height: 1.08em;
  color: #293F80;
  margin-bottom: .9rem;
}

#home .s2 h4 span {
  color: #B2B2B2;
}

@media all and (max-width: 1150px) {
  #home .s2 h4 {
    font-size: 2.75rem;
  }
}

@media all and (max-width: 1024px) {
  #home .s2 {
    padding-top: 9rem;
  }
  #home .s2 .contain {
    padding-bottom: 7.5rem;
  }
  #home .s2 .box-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  #home .s2 .box {
    width: 100%;
    transform: translate(0, 0) scale(1, 1) !important;
  }
}

@media all and (max-width: 767px) {
  #home .s2 {
    padding-top: 7.5rem;
  }
  #home .s2 .box {
    padding: 1.5rem 1rem;
  }
  #home .s2 .box-inner {
    gap: 4rem;
  }
  #home .s2 .contain {
    padding-bottom: 6rem;
  }
}

#home .s3 {
  padding: 3rem 0 6rem;
  background-color: #11213F;
  margin-top: -5px;
}

#home .s3 .contain {
  position: relative;
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 1.5rem;
}

#home .s3 .left, #home .s3 .right {
  width: 50%;
}

#home .s3 .left {
  position: sticky;
  top: 110px;
  left: 0;
  height: 100%;
  padding-bottom: 10rem;
}

#home .s3 .left h4 {
  font-size: 2.1rem;
  font-family: "Manrope", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #fff;
  line-height: normal;
}

#home .s3 .left h4 span {
  color: #4292E8;
}

#home .s3 h3 {
  font-family: "Manrope", sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: .9rem;
  line-height: normal;
  color: #fff;
  margin-bottom: 1.2rem;
}

#home .s3 .box {
  background-color: #fff;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

#home .s3 .box:nth-child(1) {
  background: url(/i/home-difference-bg1.jpeg) center/cover no-repeat;
}

#home .s3 .box:nth-child(2) {
  background: url(/i/home-difference-bg2.jpeg) center/cover no-repeat;
}

#home .s3 .box:nth-child(3) {
  background: url(/i/home-difference-bg3.jpeg) center/cover no-repeat;
}

#home .s3 .img-wrapper {
  width: 100%;
}

#home .s3 .img-wrapper img {
  display: block;
  margin: 0 0 0 auto;
  width: 17px;
  height: 13px;
  object-fit: contain;
}

#home .s3 .box-inner {
  background-color: #fff;
  padding: 2rem;
  height: 500px;
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 5rem;
  clip-path: inset(100% 0 0 0);
  overflow: hidden;
}

#home .s3 .box-inner .content.--sml {
  max-width: 305px;
}

#home .s3 .box-inner h4 {
  font-family: "Manrope", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: .75rem;
  letter-spacing: 0.13em;
  line-height: 1em;
  text-transform: uppercase;
  margin-bottom: .5em;
  color: #293F80;
}

#home .s3 .box-inner p {
  font-size: 1.55rem;
  line-height: normal;
  font-weight: 400;
  color: #1E1E1E;
}

@media all and (max-width: 1024px) {
  #home .s3 {
    padding-bottom: 5rem;
  }
  #home .s3 .box {
    padding: 1.5rem;
  }
  #home .s3 .box-inner {
    height: 500px;
    padding: 1.5rem;
  }
}

@media all and (max-width: 767px) {
  #home .s3 {
    padding-bottom: 3.5rem;
  }
  #home .s3 .contain {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  #home .s3 .contain .left, #home .s3 .contain .right {
    position: static;
    top: 0;
    width: 100%;
  }
  #home .s3 .contain .left {
    padding-bottom: 3rem;
  }
  #home .s3 .box-inner {
    clip-path: inset(0 0 0 0) !important;
    height: 300px;
    padding: 1.5rem;
  }
}

@media all and (max-width: 500px) {
  #home .s3 .box-inner {
    padding: 1rem;
  }
}

#home .s4 h4 {
  font-size: 3.1rem;
  font-family: "Manrope", sans-serif;
  font-style: normal;
  font-weight: 200;
  line-height: 1.24em;
}

#home .s4 h4 .char {
  transition: color .05s linear, opacity .05s linear;
  color: #7E7E7E;
  opacity: 0.2;
}

#home .s4 .ww {
  position: relative;
}

#home .s4 h4 {
  color: #7E7E7E;
  opacity: 0.2;
  display: inline;
}

#home .s4 h4:nth-child(2) {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  color: #293F80;
  opacity: 1;
  transition: clip-path 0.1s linear;
}

#home .s4 .bot {
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin: 2.5rem 0 0;
  padding-top: 1rem;
  gap: 2rem;
  border-top: 2px solid #293F80;
}

#home .s4 .bot p {
  font-weight: 400;
  color: #595959;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  max-width: 555px;
}

#home .s4 .bot .img-wrapper {
  width: 17px;
  height: 13px;
}

#home .s4 .bot .img-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#home .s4 .bot:hover p {
  color: #4292E8;
}

@media all and (max-width: 767px) {
  #home .s4 h4 {
    font-size: 2.8rem;
  }
}

@media all and (max-width: 500px) {
  #home .s4 h4 {
    font-size: 2rem;
  }
}
