/* Extended team profiles. Loaded after site.css. */
.profile-page .profile-hero {
  padding-block: 35px 78px;
}

.profile-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: center;
  gap: clamp(36px, 7vw, 100px);
}

.profile-hero-copy > .eyebrow {
  margin-bottom: 23px;
  font-size: 10px;
}

.profile-hero-copy h1 {
  max-width: 650px;
  font-size: clamp(45px, 5.6vw, 76px);
  line-height: 1.08;
  text-wrap: balance;
}

.profile-hero-copy h1 > span { color: var(--purple); }

.profile-lead {
  max-width: 36em;
  margin-top: 26px;
  font-size: 16px;
  line-height: 1.9;
}

.profile-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 29px;
}

.profile-portrait {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  overflow: hidden;
  justify-self: end;
  border: 1px solid #ded6e9;
  border-radius: 24px;
  background: #e8e1f3;
}

.profile-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.profile-reading-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: clamp(45px, 7vw, 100px);
  align-items: start;
  padding-block: 64px 60px;
  border-top: 1px solid var(--line);
}

.profile-reading-column {
  min-width: 0;
  max-width: 760px;
}

.profile-narrative.prose {
  font-size: 16px;
  line-height: 1.9;
}

.profile-narrative.prose > p:first-child {
  margin-bottom: 32px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.85;
}

.profile-narrative.prose h2 {
  margin-block: 42px 18px;
  font-size: clamp(25px, 2.3vw, 30px);
  line-height: 1.25;
  text-wrap: balance;
}

.profile-narrative.prose p { margin-bottom: 22px; }
.profile-narrative.prose > :last-child { margin-bottom: 0; }

.profile-sidebar {
  position: sticky;
  top: 110px;
  min-width: 0;
  padding: 28px 25px;
  border: 1px solid #ded6e9;
  border-radius: 16px;
  background: #efebf6;
}

.profile-sidebar-section + .profile-sidebar-section {
  margin-top: 27px;
  padding-top: 25px;
  border-top: 1px solid #d9d1e5;
}

.profile-sidebar-section > .eyebrow {
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: .12em;
}

.profile-focus-list,
.profile-link-list,
.profile-talk-list {
  list-style: none;
  padding: 0;
}

.profile-focus-list {
  display: grid;
  gap: 16px;
  margin: 23px 0 0;
}

.profile-focus-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13px;
  line-height: 1.6;
}

.profile-focus-list .icon {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--purple);
}

.profile-link-list { margin: 15px 0 0; }

.profile-link-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  min-height: 44px;
  padding-block: 9px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.profile-link-list a:hover { color: var(--purple); }

.profile-link-list .icon {
  width: 16px;
  height: 16px;
  color: var(--purple);
}

.profile-section {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 110px;
}

.profile-section-heading { margin-bottom: 35px; }

.profile-section-heading h2 {
  margin-top: 14px;
  font-size: clamp(29px, 3vw, 38px);
  line-height: 1.2;
  text-wrap: balance;
}

.profile-timeline {
  list-style: none;
  margin: 0 0 0 5px;
  padding: 0 0 0 29px;
  border-left: 1px solid #d9cde7;
}

.profile-timeline > li {
  position: relative;
  padding-bottom: 37px;
}

.profile-timeline > li:last-child { padding-bottom: 4px; }

.profile-timeline > li::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -35px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--purple);
  border-radius: 50%;
  background: var(--paper);
}

.profile-timeline-period {
  margin-bottom: 12px;
  color: var(--purple);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.6;
}

.profile-timeline h3 {
  margin-bottom: 8px;
  font-size: 25px;
  line-height: 1.2;
}

.profile-timeline-role {
  color: #5d5368;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.7;
}

.profile-timeline-description {
  max-width: 43em;
  margin-top: 13px;
  font-size: 14px;
  line-height: 1.85;
}

.profile-talk-list {
  display: grid;
  gap: 18px;
  margin: 0;
}

.profile-talk {
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfaf8;
}

.profile-talk-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 7px 16px;
  margin-bottom: 17px;
  font-size: 11px;
  line-height: 1.65;
}

.profile-talk-event {
  color: var(--purple);
  font-weight: 750;
}

.profile-talk-date { color: var(--muted); }

.profile-talk h3 {
  max-width: 30em;
  font-size: 23px;
  line-height: 1.35;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.profile-talk-role {
  margin-top: 12px;
  color: #5d5368;
  font-size: 13px;
  line-height: 1.8;
}

.profile-talk-description {
  margin-top: 13px;
  font-size: 14px;
  line-height: 1.85;
}

.profile-talk-source.text-link {
  min-height: 44px;
  margin-top: 10px;
  color: var(--purple);
  font-size: 12px;
}

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

@media (max-width: 1050px) {
  .profile-reading-layout {
    grid-template-columns: minmax(0, 1fr) 245px;
    gap: 40px;
  }
  .profile-sidebar { padding: 25px 21px; }
  .profile-hero-actions .button {
    padding-inline: 18px;
    font-size: 12px;
  }
}

@media (max-width: 800px) {
  .profile-page .profile-hero { padding-bottom: 52px; }
  .profile-hero-grid { gap: 30px; }
  .profile-hero-copy h1 { font-size: clamp(42px, 6.4vw, 55px); }
  .profile-lead { font-size: 15px; }
  .profile-reading-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 45px;
    padding-top: 44px;
  }
  .profile-reading-column { max-width: 100%; }
  .profile-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 28px;
  }
  .profile-sidebar-section + .profile-sidebar-section {
    margin: 0;
    padding: 0 0 0 28px;
    border-top: 0;
    border-left: 1px solid #d9d1e5;
  }
}

@media (max-width: 580px) {
  .profile-page .profile-hero { padding-block: 26px 42px; }
  .profile-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .profile-hero-copy > .eyebrow {
    margin-bottom: 17px;
    font-size: 9px;
  }
  .profile-hero-copy h1 { font-size: clamp(43px, 11vw, 60px); }
  .profile-lead { margin-top: 22px; }
  .profile-hero-actions {
    margin-top: 24px;
    gap: 10px;
  }
  .profile-portrait {
    max-width: 340px;
    justify-self: center;
    border-radius: 18px;
  }
  .profile-reading-layout { padding-block: 36px 42px; }
  .profile-narrative.prose {
    font-size: 15px;
    line-height: 1.85;
  }
  .profile-narrative.prose > p:first-child { font-size: 17px; }
  .profile-narrative.prose h2 {
    margin-top: 34px;
    font-size: 26px;
  }
  .profile-section {
    margin-top: 45px;
    padding-top: 35px;
  }
  .profile-section-heading { margin-bottom: 28px; }
  .profile-section-heading h2 { font-size: 31px; }
  .profile-timeline { padding-left: 23px; }
  .profile-timeline > li::before { left: -29px; }
  .profile-timeline h3 { font-size: 24px; }
  .profile-talk { padding: 23px 21px; }
  .profile-talk h3 { font-size: 22px; }
  .profile-sidebar {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
    padding: 25px;
  }
  .profile-sidebar-section + .profile-sidebar-section {
    padding: 25px 0 0;
    border-top: 1px solid #d9d1e5;
    border-left: 0;
  }
}
