.about-us-s1,
.about-us-s2 {
  color: #222;
}

.about-us-s1 .s1-wrapper {
  height: 1278.45px;
}

@media (max-width: 768px) {
  .about-us-s1 .s1-wrapper {
    height: auto;
  }
}

.s1-text {
  margin: 90px 0;
}

.s1-title {
  font-size: 20px;
  margin-bottom: 24px;
}

.s1-desc {
  font-size: 55px;
  font-weight: 500;
  line-height: 70px;
}

.s1-image-wrap {
  width: 100vw;
  height: auto;
  display: inline-block;
  margin-inline: calc(50% - 50vw);
}

.s1-image-wrap img {
  display: block;
  height: auto;
}

.about-us-s2 .s2-title {
  font-weight: bold;
  font-size: 40px;
  line-height: 55px;
  margin-top: 210px;
  position: absolute;
  z-index: 10;
}

.about-us-s2 .s2-title div {
  color: rgba(28, 28, 28, 0.2);
  will-change: color, transform, opacity;
}

.about-us-s2 .s2-image-wrap {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: inline-block;
  margin-inline: calc(50% - 50vw);
  overflow: hidden;

  --veilX: 0%;
  --overlay: 0;
}

.about-us-s2 .s2-image-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: var(--overlay, 0);
  transition: opacity 0s;
  pointer-events: none;
  z-index: 1;
}

.about-us-s2 .s2-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  left: 0;
  width: 50%;
  background: #fff;
  pointer-events: none;

  transform: translateX(var(--veilX));
  will-change: transform;
}

.about-us-s2 .s2-content {
  position: absolute;
  z-index: 2;
  opacity: 0;
  transform: translate(-50%, -50%) translateY(18px);
  filter: blur(4px);
  will-change: opacity, transform, filter;
  top: 50%;
  left: 50%;
  color: white;
  text-align: center;
}

.about-us-s2 .s2-caption,
.about-us-s2 .s2-desc {
  color: #fff;
}

.about-us-s2 .s2-caption {
  font-weight: bold;
  font-size: 40px;
  line-height: 55px;
  margin-bottom: 16px;
}

.about-us-s2 .s2-desc {
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
}

.about-us-s2 .s2-image-wrap img {
  display: block;
  height: 100vh;
}

.about-us-s3 {
  margin-top: 222px;
}

.s3-wrapper {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
}

.s3-content {
  display: flex;
  justify-content: center;
  gap: 148px;
  background-image: url("/wp-content/uploads/2025/10/twohjoint-about-us-006.png");
  aspect-ratio: calc(1920 / 1108);
}

.s3-title {
  font-weight: bold;
  font-size: 40px;
  line-height: 55px;
  color: #222;
  margin-top: 4px;
}

.s3-content-right img {
  margin-bottom: 64px;
}

.s3-lead {
  font-weight: 600;
  font-size: 25px;
  line-height: 33px;
  margin-bottom: 52px;
}

.s3-body {
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  color: #3c3c3c;
  margin-bottom: 96px;
}

.s3-signature {
  font-weight: 600;
  font-size: 22px;
  color: #304172;
}

@media (max-width: 1440px) {
  .about-us-s1 .s1-desc {
    font-size: 48px;
  }

  .about-us-s2 .s2-image-wrap img {
    object-fit: cover;
  }

  .about-us-s3 .s3-content {
    aspect-ratio: auto;
    gap: 0;
  }

  .about-us-s3 .s3-content-left {
    width: 80%;
    margin-left: 6%;
  }
}

@media (max-width: 768px) {
  .about-us-s1 .s1-desc {
    font-size: 30px;
    line-height: 48px;
  }

  .about-us-s1 .s1-image-wrap img {
    height: 600px;
    object-fit: cover;
  }

  .about-us-s2 .s2-title {
    font-size: 34px;
  }

  .about-us-s2 .s2-image-wrap img {
    height: 800px;
    object-fit: cover;
  }

  .about-us-s2 .s2-content {
    width: 60%;
  }

  .about-us-s2 .s2-caption {
    font-size: 34px;
  }

  .about-us-s2 .s2-desc {
    font-size: 18px;
  }

  .about-us-s3 {
    margin-top: 0;
  }

  .about-us-s3 .s3-wrapper {
    margin-inline: auto;
    width: auto;
  }

  .about-us-s3 .s3-title {
    margin-top: 0;
    font-size: 36px;
  }

  .about-us-s3 .s3-content {
    flex-direction: column;
    gap: 0;
  }

  .about-us-s3 .s3-lead {
    font-size: 23px;
  }

  .about-us-s3 .s3-body {
    font-size: 18px;
  }

  .about-us-s3 .s3-signature {
    font-size: 20px;
  }

  .about-us-s3 .s3-content-left {
    width: 80%;
    margin-left: 0;
  }
}
