.profile-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.profile-page .site-header nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.profile-edition {
  color: #5c5a53;
}

.profile {
  width: min(90vw, 1200px);
  margin: auto;
  padding: clamp(42px, 6vw, 92px) 0;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
  animation: arrive .7s var(--ease) both;
}

.profile-copy > .eyebrow {
  display: inline-block;
  border-top: 1px solid var(--ink);
  padding-top: 12px;
}

.profile-copy h1 {
  font: 400 clamp(64px, 9vw, 142px)/.94 Georgia, serif;
  letter-spacing: -.085em;
  margin: 16px 0 20px;
}

.profile-copy h1 span {
  color: #68665e;
}

.profile-copy p {
  max-width: 30ch;
  font: clamp(17px, 1.8vw, 23px)/1.48 Georgia, serif;
}

.profile-print {
  min-width: 0;
  border: 1px solid var(--line);
  padding: clamp(10px, 1.5vw, 20px);
}

.profile-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 6 / 5;
  background: #c6c4bb;
}

.profile-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
  filter: grayscale(1) contrast(1.08);
  transition: filter .85s var(--ease);
}

.profile-photo.is-exposed img {
  filter: grayscale(0) contrast(1);
  transition-duration: .65s;
}

.profile-exposure {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0;
}

.profile-exposure:focus-visible {
  outline: 2px solid white;
  outline-offset: -5px;
  box-shadow: inset 0 0 0 7px #151513;
}

.profile-caption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding-top: 12px;
}

@media (max-width: 720px) {
  .profile-edition { display: none; }
  .profile { grid-template-columns: 1fr; gap: 24px; padding: 28px 0 36px; }
  .profile-copy h1 { margin: 10px 0 12px; }
  .profile-copy p { max-width: 38ch; }
  .profile-photo { aspect-ratio: 5 / 4; }
}
