/* Ways to Work Together — services tiers */
.room-services--ways {
  position: relative;
  z-index: 1;
  color: var(--color-charcoal);
  background: var(--color-canvas);
  padding: clamp(4.5rem, 11vh, 7.5rem) var(--content-pad) clamp(5rem, 12vh, 8.5rem);
}

.room-services--ways .room-services__intro--ways {
  max-width: 78rem;
  margin: 0 auto clamp(2.75rem, 6vh, 4rem);
  padding-bottom: clamp(1.75rem, 4vh, 2.75rem);
  border-bottom: 1px solid rgba(60, 56, 53, 0.14);
}

.room-services--ways .room-services__kicker {
  margin: 0 0 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(60, 56, 53, 0.65);
}

.room-services--ways .room-services__intro-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: end;
}

.room-services--ways .room-services__title {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.room-services--page .room-services__title {
  max-width: 22ch;
}

.room-services--ways .room-services__subtitle {
  margin: 0;
  max-width: 34ch;
  justify-self: end;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(60, 56, 53, 0.78);
}

.room-services--ways .room-services__tiers {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 78rem;
  display: grid;
  gap: 0;
}

.room-services--ways .room-services__tier {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas:
    "copy media"
    "foot foot";
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(2rem, 4.5vh, 3rem) 0;
  border-top: 1px solid rgba(60, 56, 53, 0.14);
}

.room-services--ways .room-services__tiers .room-services__tier:first-child {
  border-top: 0;
  padding-top: clamp(1.5rem, 3vh, 2.25rem);
}

.room-services--ways .room-services__tier-copy {
  grid-area: copy;
  min-width: 0;
}

.room-services--ways .room-services__media {
  grid-area: media;
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: visible;
  background: rgba(60, 56, 53, 0.06);
}

.room-services--ways .room-services__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.room-services--ways .room-services__caption {
  margin: 0.55rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(60, 56, 53, 0.5);
}

.room-services--ways .room-services__inset {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  width: min(38%, 11rem);
  aspect-ratio: 1;
  background: var(--color-canvas);
  box-shadow: 0 0 0 1px rgba(60, 56, 53, 0.1);
  overflow: hidden;
  z-index: 1;
}

.room-services--ways .room-services__inset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.room-services--ways .room-services__inset-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.4rem 0.45rem;
  font-family: var(--font-sans);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-charcoal);
  background: rgba(249, 247, 242, 0.92);
}

.room-services--ways .room-services__index {
  display: block;
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1;
  color: rgba(181, 154, 125, 0.85);
}

.room-services--ways .room-services__offer-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  font-weight: 500;
  line-height: 1.2;
}

.room-services--ways .room-services__tags {
  margin: 0 0 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(60, 56, 53, 0.58);
}

.room-services--ways .room-services__lead {
  margin: 0 0 1.1rem;
  max-width: 38ch;
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.45;
  color: rgba(60, 56, 53, 0.88);
}

.room-services--ways .room-services__bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.room-services--ways .room-services__bullets li {
  position: relative;
  padding-left: 1rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(60, 56, 53, 0.8);
}

.room-services--ways .room-services__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.35rem;
  height: 1px;
  background: rgba(60, 56, 53, 0.45);
}

.room-services--ways .room-services__tier-foot {
  grid-area: foot;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.35rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(60, 56, 53, 0.12);
}

.room-services--ways .room-services__investment {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.65rem;
  align-items: baseline;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.room-services--ways .room-services__investment-label {
  color: rgba(60, 56, 53, 0.55);
  letter-spacing: 0.16em;
}

.room-services--ways .room-services__investment-rule {
  color: rgba(60, 56, 53, 0.35);
}

.room-services--ways .room-services__investment-value {
  color: var(--color-charcoal);
  font-weight: 500;
}

.room-services--ways .room-services__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-charcoal);
  border-bottom: 1px solid rgba(60, 56, 53, 0.35);
  padding-bottom: 0.2rem;
  transition: border-color 0.2s ease, gap 0.2s ease;
}

.room-services--ways .room-services__cta:hover,
.room-services--ways .room-services__cta:focus-visible {
  border-color: var(--color-charcoal);
  gap: 0.75rem;
}

.room-services__studio {
  max-width: 78rem;
  margin: clamp(2rem, 5vh, 3rem) auto 0;
  text-align: center;
}

.room-services__studio a {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-charcoal);
  text-decoration: none;
  border-bottom: 1px solid rgba(60, 56, 53, 0.35);
  padding-bottom: 0.2rem;
}

.room-services__page-foot {
  max-width: 78rem;
  margin: clamp(2.5rem, 6vh, 4rem) auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(60, 56, 53, 0.14);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(60, 56, 53, 0.55);
}

.room-services--page {
  padding-top: clamp(3rem, 8vh, 5rem);
}

@media (max-width: 820px) {
  .room-services--ways .room-services__intro-row {
    grid-template-columns: 1fr;
  }

  .room-services--ways .room-services__subtitle {
    justify-self: start;
    text-align: left;
  }

  .room-services--ways .room-services__tier {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "media"
      "foot";
  }

  .room-services--ways .room-services__inset {
    right: 0.5rem;
    top: auto;
    bottom: 2.25rem;
    width: min(42%, 9rem);
  }
}
