/* Engagement pricing and scope details */
.engagement-row {
  grid-template-columns: minmax(210px, 0.85fr) minmax(320px, 1.25fr) minmax(230px, 0.7fr);
  align-items: start;
  padding: 34px 0;
}

.engagement-copy > p {
  margin: 2px 0 0;
  color: #c6cac3;
}

.engagement-price {
  justify-self: end;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  text-align: right;
}

.engagement-price strong {
  font-size: 0.88rem;
  font-weight: 600;
  white-space: normal;
}

.engagement-price span {
  color: #aeb4ac;
  font-size: 0.78rem;
  line-height: 1.4;
}

.engagement-details {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--night-line);
}

.engagement-details summary {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: #e1e4df;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  list-style: none;
  user-select: none;
}

.engagement-details summary::-webkit-details-marker {
  display: none;
}

.engagement-details summary::after {
  content: "+";
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #697068;
  border-radius: 50%;
  color: #c6cac3;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1;
}

.engagement-details[open] summary::after {
  content: "−";
}

.engagement-details summary:hover,
.engagement-details summary:focus-visible {
  color: var(--white-soft);
}

.engagement-details summary:focus-visible {
  outline: 1px solid #c6cac3;
  outline-offset: 5px;
}

.engagement-details p {
  max-width: 700px;
  margin: 16px 0 0;
  color: #aeb4ac;
  font-size: 0.86rem;
  line-height: 1.6;
}

.engagement-details p + p {
  margin-top: 10px;
}

.engagement-model-link {
  width: fit-content;
  margin-top: 18px;
  display: inline-flex;
  color: #e1e4df;
  border-bottom: 1px solid #858c84;
  padding-bottom: 3px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
}

.engagement-model-link:hover,
.engagement-model-link:focus-visible {
  color: var(--white-soft);
  border-bottom-color: currentColor;
}

.engagement-model-link:focus-visible {
  outline: 1px solid #c6cac3;
  outline-offset: 5px;
}

@media (max-width: 1080px) {
  .engagement-row {
    grid-template-columns: minmax(190px, 0.75fr) minmax(0, 1.25fr);
  }

  .engagement-price {
    grid-column: 2;
    justify-self: start;
    max-width: 560px;
    align-items: flex-start;
    text-align: left;
    padding-top: 4px;
  }
}

@media (max-width: 900px) {
  .engagement-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 30px 0;
  }

  .engagement-price {
    grid-column: auto;
    order: 2;
    padding: 4px 0 0;
  }

  .engagement-copy {
    order: 3;
  }

  .engagement-title {
    order: 1;
  }
}

@media (max-width: 600px) {
  .engagement-price strong {
    font-size: 0.92rem;
  }

  .engagement-price span,
  .engagement-details summary {
    font-size: 0.8rem;
  }
}
