/* Text rhythm for the three revised profile sections only.
   Body copy inherits the site's shared sans-serif rule. */

.profile-page .profile-hero__expertise {
  max-width: 31rem;
  margin-top: 24px;
  color: #3f3a3d;
  font-size: clamp(.9rem, 1.05vw, .98rem);
  line-height: 1.95;
  letter-spacing: .025em;
}

.profile-page .profile-hero__expertise p + p {
  margin-top: 12px;
}

.profile-page .profile-performance-invitation__inner {
  max-width: 820px;
}

.profile-page .profile-performance-invitation h2 {
  font-size: clamp(1.85rem, 3vw, 2.75rem);
}

.profile-page .profile-performance-invitation__copy {
  max-width: 690px;
  margin: 36px auto 0;
  text-align: left;
}

.profile-page .profile-performance-invitation__copy .body-copy {
  margin-top: 0;
  line-height: 2;
}

.profile-page .profile-performance-invitation__copy .body-copy + .body-copy {
  margin-top: 14px;
}

.profile-page .profile-performance-invitation__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 38px;
}

.profile-page .profile-performance-invitation__actions .button {
  margin-top: 0;
}

.profile-page .profile-performance-invitation__secondary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  border-bottom: 1px solid #d6c29a;
  color: #22394a;
  font-size: .8rem;
  letter-spacing: .06em;
  text-decoration: none;
}

.profile-page .profile-performance-invitation__secondary:focus-visible {
  outline: 2px solid #d6c29a;
  outline-offset: 5px;
}

.profile-page .profile-origin-copy .body-copy + .body-copy {
  margin-top: 16px;
}

.profile-page .profile-education-story {
  max-width: 680px;
  margin: 42px auto 0;
  text-align: left;
}

.profile-page .profile-education-story .body-copy {
  margin-top: 0;
}

.profile-page .profile-education-story .body-copy + .body-copy {
  margin-top: 17px;
}

.profile-page .profile-values-copy .body-copy {
  margin-top: 17px;
}

.profile-page .profile-values-copy .profile-values-message + .body-copy {
  margin-top: 25px;
}

.profile-page .profile-values-copy .profile-values-inheritance {
  margin-top: 24px;
  color: #22394A;
  letter-spacing: .075em;
}

@media (min-width: 1101px) {
  .profile-page .profile-values-copy .body-copy {
    font-size: 1rem;
    letter-spacing: .025em;
  }

  .profile-page .profile-values-copy .profile-values-inheritance {
    letter-spacing: .075em;
  }
}

@media (max-width: 620px) {
  .profile-page .profile-hero__expertise {
    margin-top: 22px;
  }

  .profile-page .profile-performance-invitation__copy {
    margin-top: 28px;
  }

  .profile-page .profile-performance-invitation__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .profile-page .profile-performance-invitation__actions .button {
    width: 100%;
  }

  .profile-page .profile-performance-invitation__secondary {
    align-self: center;
  }

  .profile-page .profile-education-story {
    margin-top: 34px;
  }

  .profile-page .profile-values-copy .profile-values-message {
    margin-top: 26px;
  }
}
