/* The clock and ticker are part of the first viewport. */
.page-profile .profile-hero {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  box-sizing: border-box;
  color: var(--white);
}
.profile-hero > header, .profile-hero > .profile-clock { flex: none; }
.page-profile .profile-clock { margin-top: 0; }
.profile-hero-copy {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  overflow-y: auto;
}
.page-profile .profile-poster > img, .page-profile .profile-poster > video {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.page-profile .profile-poster > img:only-child { object-position: center 30%; }
.profile-poster::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,rgba(0,0,0,.38),rgba(0,0,0,.24) 50%,rgba(0,0,0,.70));
  pointer-events: none;
}
.profile-hero-copy .section { flex: none; }
.page-profile .profile-heading h1 > span { display: block; }
.page-profile .profile-bio { padding-block: 16px; }
.page-profile .profile-bio > p { width: min(100%, 52ch); }
.page-profile .profile-desktop-facts { margin-top: clamp(12px, 3vh, 36px); }
.profile-desktop-facts .profile-facts { gap: clamp(12px, 2vh, 24px) 20px; }
.profile-hero .fact, .profile-mobile-facts .fact { min-width: 0; overflow-wrap: anywhere; }
.page-profile .resume-section { margin-top: clamp(60px, 7vw, 100px); }
.resume-section > p, .resume-section > .resume-list { margin-top: 24px; }
.resume-section > p { max-width: 70ch; white-space: pre-line; }
.resume-list {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px 40px; padding: 0; list-style: none;
}
.resume-list li { display: flex; align-items: baseline; gap: .8em; }
.resume-list li::before { content: "—"; flex: none; }
.page-profile .profile-gallery .profile-banner { aspect-ratio: 16 / 10; height: auto; width: 100%; }
.page-profile .profile-banner :is(img,video) { width: 100%; height: 100%; object-fit: contain; }
@media (max-width:767px) {
  .page-profile .profile-hero-copy { min-height: 0; }
  .page-profile .profile-desktop-facts { display: none; }
  .page-profile .profile-bio { padding-bottom: max(32px,env(safe-area-inset-bottom)); }
  .page-profile .profile-bio > p { width: 100%; }
  .page-profile .resume-list { grid-template-columns: 1fr; gap: 12px; }
  .page-profile .resume-section { margin-top: 64px; }
}
.page-profile .profile-content { display: flow-root; }
.profile-hero-details { display: none; }
@media (max-width:767px) {
  .page-profile .profile-heading .breadcrumbs { white-space: normal; flex-wrap: wrap; }
  .profile-hero-details { display: block; margin-top: 12px; }
  .profile-hero-details summary {
    width: fit-content; cursor: pointer; color: var(--yellow); font: 700 14px/1.3 var(--mono);
  }
  .profile-hero-details .profile-facts { padding-block: 16px; gap: 12px; }
  .profile-hero-details .fact { display: block; }
  .profile-hero-details .fact h2 { margin-bottom: 4px; }
  .profile-hero-details .fact p { text-align: left; }
}
