.rm-field-role {
  background: #fff9f4;
  color: #302027;
  border-bottom: 1px solid #e7d8d2;
}

.rm-field-role__inner {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  padding: 82px 0 88px;
}

.rm-field-role__head {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(300px, .65fr);
  gap: 72px;
  align-items: end;
}

.rm-field-role__eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #7b1738;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.rm-field-role__head h2 {
  max-width: 720px;
  margin: 0;
  color: #3e0b1c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.045em;
}

.rm-field-role__head p {
  margin: 0;
  color: #75646b;
  font-size: .96rem;
  line-height: 1.75;
}

.rm-field-handoff {
  display: grid;
  grid-template-columns: 1fr 86px 1fr;
  align-items: stretch;
  margin-top: 56px;
  border-top: 1px solid #e7d8d2;
  border-bottom: 1px solid #e7d8d2;
}

.rm-field-handoff__role {
  padding: 28px 0 31px;
}

.rm-field-handoff__role:first-child {
  padding-right: 32px;
}

.rm-field-handoff__role:last-child {
  padding-left: 32px;
}

.rm-field-handoff__label {
  display: block;
  margin-bottom: 9px;
  color: #b36c2d;
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.rm-field-handoff h3 {
  margin: 0;
  color: #3e0b1c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.rm-field-handoff p {
  max-width: 470px;
  margin: 8px 0 0;
  color: #75646b;
  font-size: .82rem;
  line-height: 1.6;
}

.rm-field-handoff__arrow {
  display: grid;
  place-items: center;
  position: relative;
  color: #7b1738;
}

.rm-field-handoff__arrow::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: #e7d8d2;
}

.rm-field-handoff__arrow span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  position: relative;
  border: 1px solid #d9b8aa;
  border-radius: 50%;
  background: #fff9f4;
  font-size: 1.2rem;
  transition: transform .2s ease, background .2s ease;
}

.rm-field-handoff:hover .rm-field-handoff__arrow span {
  transform: translateX(4px);
  background: #f4e4dc;
}

.rm-field-workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 52px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: field-step;
}

.rm-field-workflow li {
  min-width: 0;
  padding: 0 25px;
  border-left: 1px solid #e7d8d2;
  counter-increment: field-step;
}

.rm-field-workflow li:first-child {
  padding-left: 0;
  border-left: 0;
}

.rm-field-workflow li:last-child {
  padding-right: 0;
}

.rm-field-workflow li::before {
  content: "0" counter(field-step);
  display: block;
  margin-bottom: 19px;
  color: #b36c2d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.rm-field-workflow h3 {
  margin: 0;
  color: #3e0b1c;
  font-size: .92rem;
}

.rm-field-workflow p {
  margin: 8px 0 0;
  color: #75646b;
  font-size: .78rem;
  line-height: 1.62;
}

.rm-field-role__boundary {
  margin: 38px 0 0;
  padding-top: 23px;
  border-top: 1px solid #e7d8d2;
  color: #7b1738;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-align: center;
}

@media (max-width: 850px) {
  .rm-field-role__head {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .rm-field-workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 0;
  }

  .rm-field-workflow li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 620px) {
  .rm-field-role__inner {
    width: min(100% - 28px, 1180px);
    padding: 62px 0 66px;
  }

  .rm-field-handoff {
    grid-template-columns: 1fr;
    margin-top: 39px;
  }

  .rm-field-handoff__role:first-child,
  .rm-field-handoff__role:last-child {
    padding: 25px 0 27px;
  }

  .rm-field-handoff__arrow {
    height: 62px;
  }

  .rm-field-handoff__arrow::before {
    inset: 50% 0 auto;
    width: auto;
    height: 1px;
  }

  .rm-field-handoff__arrow span {
    transform: rotate(90deg);
  }

  .rm-field-handoff:hover .rm-field-handoff__arrow span {
    transform: rotate(90deg) translateX(4px);
  }

  .rm-field-workflow {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 40px;
  }

  .rm-field-workflow li,
  .rm-field-workflow li:first-child,
  .rm-field-workflow li:nth-child(3),
  .rm-field-workflow li:last-child {
    padding: 24px 0;
    border-top: 1px solid #e7d8d2;
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rm-field-handoff__arrow span {
    transition: none;
  }
}
