.profile-heading {
  background: var(--sky);
  padding-block: clamp(32px, 6vw, 72px);
}

.profile-heading h1 {
  margin: 0;
}

.header [aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: .3em;
}

.profile-content {
  max-width: 920px;
}

.profile-section {
  padding-block: clamp(34px, 6vw, 64px);
}

.profile-section + .profile-section {
  border-top: 1px solid var(--line);
}

.profile-section h2 {
  margin-bottom: 1rem;
}

.profile-name {
  color: var(--navy);
  font-weight: 700;
}

.profile-details {
  margin: 0;
  border-top: 1px solid var(--line);
}

.profile-details > div {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) minmax(0, 3fr);
  border-bottom: 1px solid var(--line);
}

.profile-details dt,
.profile-details dd {
  margin: 0;
  padding: .75rem 1rem;
}

.profile-details dt {
  background: var(--sky);
  color: var(--navy);
  font-weight: 700;
}

.profile-map {
  display: block;
  width: 100%;
  height: clamp(260px, 42vw, 420px);
  margin-bottom: .75rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
}

@media (max-width: 460px) {
  .profile-details > div {
    grid-template-columns: 1fr;
  }
}

.profile-message {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, min(300px, 38%));
  align-items: start;
  gap: clamp(20px, 4vw, 40px);
}

.profile-message p:last-child {
  margin-bottom: 0;
}

.profile-portrait {
  width: min(100%, 300px);
  justify-self: end;
  border-radius: .5rem;
}

@media (max-width: 640px) {
  .profile-message {
    grid-template-columns: 1fr;
  }
}
