/* Optional editorial photograph; the header sketch remains unchanged. */
.subject-portrait {
  max-width: 490px;
  margin: 0 0 30px;
}
.subject-portrait-stage {
  position: relative;
  isolation: isolate;
}
.subject-portrait-wash {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: -20px -16px -13px;
  width: calc(100% + 32px);
  height: calc(100% + 33px);
  fill: #edf0e7;
}
.subject-portrait-wash path + path { fill: #e5eadf; }
.subject-portrait img {
  display: block;
  width: 100%;
  height: auto;
  object-position: center;
  filter: grayscale(1);
  -webkit-mask: url('/profile/portrait-wave-mask.svg') center / 100% 100% no-repeat;
  mask: url('/profile/portrait-wave-mask.svg') center / 100% 100% no-repeat;
}
.subject-portrait figcaption {
  margin-top: 4px;
  font: 400 11px/1.5 'Glimpse Graphik', var(--sans);
  color: #697167;
}
.subject-portrait figcaption a {
  text-decoration-color: #c6cbbf;
  text-underline-offset: 3px;
}
.photo-credit { text-align: right; }
.photo-credit summary {
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  min-height: 32px;
  padding: 6px 0;
  margin: 0 0 0 auto;
  list-style: none;
  cursor: pointer;
  font: inherit;
  line-height: 20px;
  color: inherit;
}
.photo-credit summary::-webkit-details-marker { display: none; }
.photo-credit summary::marker { content: ''; }
.photo-credit-chevron {
  display: block;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 160ms ease;
}
.photo-credit[open] .photo-credit-chevron { transform: rotate(180deg); }
.photo-credit summary:hover { color: var(--ink); }
.photo-credit summary:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}
.photo-credit-content { padding: 2px 0 6px; font-size: 11px; line-height: 1.65; }
.photo-credit-content p { margin: 0; }
.photo-credit-content p + p { margin-top: 7px; }
.photo-credit-links { display: flex; align-items: baseline; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.photo-credit-note { color: #80867b; }
@media (prefers-reduced-motion: reduce) {
  .photo-credit-chevron { transition: none; }
}
.subject-portrait--mobile { display: none; }
.subject-portrait--desktop { margin: 22px 0 0; }
@media (min-width: 721px) {
  .subject-portrait--desktop + .profile-people { margin-top: 8px; }
}
@media (max-width: 720px) {
  .subject-portrait--desktop { display: none; }
  .subject-portrait--mobile { display: block; margin: 28px auto 32px; }
}
