.profile-hero {
  background: var(--dark);
  color: var(--white);
  border-bottom: 3px solid var(--gold);
}
.profile-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 245px);
  gap: clamp(1.75rem, 7vw, 6rem);
  align-items: center;
  padding-block: clamp(2rem, 5vw, 4.2rem);
}
.profile-hero .breadcrumbs { color: #d0dada; }
.profile-hero .breadcrumbs a { color: var(--gold); }
.profile-lead h1 { font-size: clamp(2.05rem, 4.4vw, 3.85rem); line-height: 1.3; }
.profile-role { font-size: clamp(1rem, 1.6vw, 1.24rem); color: var(--gold); font-weight: 680; margin-block: .75rem; }
.profile-summary { max-width: 61ch; color: #e1e8e8; }
.profile-portrait {
  width: 100%; aspect-ratio: 1 / 1.08; object-fit: cover; object-position: center 28%;
  border: 1px solid #708087; border-radius: 60px 8px 8px 8px;
}
.profile-layout {
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5.8rem);
  align-items: start;
  padding-block: clamp(2rem, 5vw, 4.5rem);
}
.profile-content { max-width: 790px; }
.profile-content > section + section { border-top: 1px solid var(--line); margin-top: 2.3rem; padding-top: 2rem; }
.profile-content h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-bottom: .65rem; }
.profile-content h3 { font-size: 1.05rem; }
.role-list { margin-top: 1.25rem; padding-inline-start: 1.25rem; border-inline-start: 1px solid #c8b68c; }
.role-list article { position: relative; }
.role-list article + article { margin-top: 1.4rem; }
.role-list article::before { content: ""; position: absolute; inset-inline-start: -1.5rem; top: .52rem; width: .45rem; height: .45rem; border-radius: 50%; background: var(--bronze); }
.role-list p { margin-top: .25rem; }
.project-list { margin-top: 1.05rem; }
.project-list > div {
  display: grid; grid-template-columns: minmax(125px, .65fr) minmax(0, 1.6fr);
  gap: .5rem 1.5rem; padding-block: .95rem; border-bottom: 1px solid var(--line);
}
.project-list dt { color: var(--ink); font-weight: 760; }
.project-list dd { margin: 0; color: var(--muted); }
.profile-content .license { margin-top: 1.3rem; }
@media (max-width: 700px) {
  .profile-layout { grid-template-columns: 1fr; gap: 1.75rem; }
  .profile-toc { position: static; }
  .profile-toc ul { display: flex; flex-wrap: wrap; gap: .15rem 1.1rem; }
  .profile-toc li + li { border: 0; }
  .profile-toc a { text-decoration: underline; text-underline-offset: .22em; }
  .profile-lead { grid-template-columns: 1fr; }
  .profile-portrait { width: min(100%, 340px); max-height: 210px; justify-self: center; object-position: center 27%; }
}
@media (max-width: 520px) {
  .project-list > div { grid-template-columns: 1fr; gap: .2rem; }
}
