.profile-page {
  color: #1a1a1a;
  color-scheme: light;
}

.profile-content {
  width: min(100%, 1360px);
  margin-inline: auto;
  padding: clamp(82px, 8vw, 120px) clamp(20px, 5vw, 75px) 0;
}

.profile-intro,
.profile-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 96px);
}

.profile-intro {
  align-items: center;
}

.profile-intro h1 {
  margin: 0 0 12px;
  font-size: clamp(46px, 6.75vw, 100px);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.98;
}

.profile-role {
  max-width: 30ch;
  margin: 0;
  font-size: clamp(19px, 2.1vw, 28px);
  font-weight: 600;
  line-height: 1.2;
}

.profile-bio {
  max-width: 47ch;
  margin: 22px 0 0;
  color: #484848;
  font: 500 16px/1.55 "Inter Display", sans-serif;
}

.profile-portrait {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #43264c;
}

.profile-details {
  margin-block: clamp(48px, 7vw, 94px);
  padding-top: clamp(24px, 4vw, 52px);
  border-top: 1px solid #dedede;
}

.profile-details h2 {
  margin: 0 0 18px;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.profile-experience,
.profile-awards {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-experience li,
.profile-awards li {
  padding: 14px 0;
  border-top: 1px solid #dedede;
}

.profile-experience li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.profile-awards li {
  display: grid;
  gap: 3px;
}

.profile-details p {
  margin: 0;
  color: #484848;
  font: 500 15px/1.45 "Inter Display", sans-serif;
}

.profile-details strong {
  display: block;
  margin-bottom: 2px;
  color: #1a1a1a;
  font: 650 16px/1.35 "Rethink Sans", sans-serif;
}

.profile-details span {
  color: #555;
  font: 500 13px/1.45 "Inter Display", sans-serif;
}

.profile-education {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #dedede;
}

.profile-education span {
  display: block;
  margin-top: 4px;
}

.profile-footer {
  padding-block: 32px 36px;
  border-top: 1px solid #dedede;
}

.profile-footer h2 {
  margin-bottom: 11px;
  font-family: "Rethink Sans", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.profile-footer a {
  text-underline-offset: 3px;
}

.profile-footer a:focus-visible {
  outline-color: #1747ae;
}

@media (max-width: 809px) {
  .profile-intro,
  .profile-details {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-portrait {
    max-width: 560px;
  }

  .profile-details {
    gap: 34px;
  }
}
