.rh {
  position: relative;
  height: calc(613.1 * var(--u));
  overflow: clip;
}

.rh__media {
  position: absolute;
  top: calc(2.9 * var(--u));
  right: calc(9.6 * var(--u));
  width: calc(1073.1 * var(--u));
  height: calc(611.1 * var(--u));
}

.rh__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rh__content {
  position: relative;
  z-index: 1;
  padding: calc(205.9 * var(--u)) 0 0 calc(68.7 * var(--u));
}

.rh__eyebrow {
  margin-left: calc(2.7 * var(--u));
  font-size: calc(19 * var(--u));
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--c-teal);
}

.rh__title {
  margin-top: calc(13.3 * var(--u));
  font-size: calc(44.2 * var(--u));
  line-height: calc(54.2 * var(--u));
  letter-spacing: 0;
  white-space: nowrap;
}

.rh__lead {
  margin-top: calc(26.1 * var(--u));
  margin-left: calc(2.8 * var(--u));
  font-size: calc(18.7 * var(--u));
  font-weight: 600;
  line-height: calc(32.3 * var(--u));
  white-space: nowrap;
}

.rp {
  position: relative;
  container-type: inline-size;
  height: calc(1489.2 * var(--u));
  overflow: clip;
}

.rp__pattern {
  position: absolute;
  top: calc(602 * var(--u));
  right: calc(4.6 * var(--u));
  width: calc(940.8 * var(--u));
  height: calc(1044.3 * var(--u));
  pointer-events: none;
}

.rp__features,
.rp__steps {
  margin: 0;
}

.rp__el {
  position: absolute;
  z-index: 1;
  left: calc(var(--x) * var(--u) + var(--k, 0) * max(0px, 100cqw - 1440 * var(--u)));
  top: calc((var(--y) - 613.1) * var(--u));
  margin: 0;
  font-weight: 600;
  white-space: nowrap;
}

.rp__el--quarter { --k: 0.25; }
.rp__el--mid     { --k: 0.5; }
.rp__el--right   { --k: 1; }

.rp__num {
  font-size: calc(111.7 * var(--u));
  margin-top: calc(-14.5 * var(--u));
  line-height: 1;
  color: var(--c-teal);
}

.rp__divider {
  width: calc(2 * var(--u));
  height: calc(194.1 * var(--u));
  background: #cccccc;
}

.rp__icon,
.rp__contact-icon {
  width: calc(var(--w) * var(--u));
}

.rp__title,
.rp__journey-title {
  font-size: calc(28 * var(--u));
  margin-top: calc(-2 * var(--u));
  line-height: 1;
  letter-spacing: 0;
}

.rp__text {
  margin-top: calc(-2 * var(--u));
  font-size: calc(20.7 * var(--u));
  line-height: calc(31.5 * var(--u));
}

.rp__frame {
  width: calc(540.7 * var(--u));
  height: calc(var(--h) * var(--u));
  overflow: hidden;
  border: calc(2 * var(--u)) solid #cccccc;
  border-radius: calc(8 * var(--u));
}

.rp__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rp__box {
  position: absolute;
  left: calc(45.6 * var(--u));
  right: calc(41.9 * var(--u));
  border: calc(2 * var(--u)) solid #cccccc;
  border-radius: calc(8 * var(--u));
}

.rp__box--journey {
  top: calc(1123.1 * var(--u));
  height: calc(224.3 * var(--u));
}

.rp__box--contact {
  top: calc(1358.4 * var(--u));
  height: calc(103.3 * var(--u));
}

.rp__journey-text {
  font-size: calc(16.6 * var(--u));
  line-height: calc(25.2 * var(--u));
}

.rp__step-icon {
  width: calc(75.5 * var(--u));
}

.rp__step-num,
.rp__step-label {
  text-align: center;
  transform: translateX(-50%);
}

.rp__step-num {
  font-size: calc(25.1 * var(--u));
  margin-top: calc(-3 * var(--u));
  line-height: 1;
  color: var(--c-blue);
}

.rp__step-label {
  font-size: calc(16.6 * var(--u));
  line-height: calc(25.2 * var(--u));
}

.rp__arrow {
  width: calc(12.6 * var(--u));
}

.rp__contact-lead {
  margin-top: calc(-2 * var(--u));
  font-size: calc(18.6 * var(--u));
  line-height: calc(28.3 * var(--u));
}

.rp__cta {
  display: flex;
  align-items: center;
  width: calc(223.7 * var(--u));
  height: calc(53.4 * var(--u));
  padding-left: calc(42.4 * var(--u));
  border-radius: 2px;
  font-size: calc(18.2 * var(--u));
  line-height: 1;
  color: var(--c-white);
  background: var(--c-blue);
  transition: background var(--transition);
}

.rp__cta:hover {
  color: var(--c-white);
  background: var(--c-blue-dark);
}

.rp__contact-title,
.rp__contact-link {
  font-size: calc(18 * var(--u));
  line-height: 1;
}

.rp__contact-link:hover {
  color: var(--c-teal);
}

@media (max-width: 900px) {
  .rh {
    display: flex;
    flex-direction: column-reverse;
    height: auto;
  }

  .rh__media {
    position: relative;
    top: 0;
    right: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 1073.1 / 611.1;
    -webkit-mask: linear-gradient(to bottom, transparent 0%, #000 25%);
    mask: linear-gradient(to bottom, transparent 0%, #000 25%);
  }

  .rh__content {
    padding: var(--sp-5) var(--gutter) 0;
  }

  .rh__eyebrow,
  .rh__lead {
    margin-left: 0;
  }

  .rh__eyebrow {
    font-size: 15px;
  }

  .rh__title {
    margin-top: var(--sp-4);
    font-size: 30px;
    line-height: 1.2;
    white-space: normal;
  }

  .rh__lead {
    margin-top: var(--sp-4);
    font-size: 16px;
    line-height: 1.6;
    white-space: normal;
  }

  .rp {
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
    height: auto;
    padding: var(--sp-7) var(--gutter) var(--section-y);
  }

  .rp__pattern,
  .rp__divider,
  .rp__arrow,
  .rp__box {
    display: none;
  }

  .rp__el {
    position: static;
    margin: 0;
    white-space: normal;
    transform: none;
  }

  .rp__features {
    display: grid;
    gap: var(--sp-7);
  }

  .rp__feature {
    display: grid;
    grid-template-columns: auto 56px;
    gap: var(--sp-3) var(--sp-4);
    align-items: center;
  }

  .rp__num {
    font-size: 56px;
  }

  .rp__icon {
    width: 56px;
  }

  .rp__title,
  .rp__text,
  .rp__frame {
    grid-column: 1 / -1;
  }

  .rp__title {
    font-size: 22px;
    line-height: 1.25;
  }

  .rp__text {
    font-size: 16px;
    line-height: 1.6;
  }

  .rp__frame {
    width: 100%;
    height: auto;
    aspect-ratio: 540.7 / 275.2;
    border-width: 2px;
    border-radius: var(--radius);
  }

  .rp__journey-title {
    margin-top: var(--sp-6);
    font-size: 24px;
    line-height: 1.25;
  }

  .rp__journey-text {
    font-size: 15px;
    line-height: 1.6;
  }

  .rp__steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-6) var(--sp-4);
  }

  .rp__steps li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-2);
  }

  .rp__step-icon {
    width: 64px;
  }

  .rp__step-num {
    font-size: 20px;
  }

  .rp__step-label {
    font-size: 15px;
    line-height: 1.4;
  }

  .rp__contact-icon {
    width: 48px;
    margin-top: var(--sp-5);
  }

  .rp__contact-lead,
  .rp__contact-title,
  .rp__contact-link {
    font-size: 16px;
    line-height: 1.5;
  }

  .rp__cta {
    width: 100%;
    max-width: 320px;
    height: 52px;
    padding-left: 24px;
    font-size: 16px;
  }

  .rp__contact-link {
    word-break: break-word;
  }
}
