.profile {
  width: min(84rem, calc(100% - clamp(2rem, 9vw, 8rem)));
  margin-inline: auto;
}

.profile [id] { scroll-margin-top: 6rem; }
.profile a:focus-visible, .profile :is(button, summary):focus-visible {
  outline: 2px solid #315c52;
  outline-offset: .24rem;
}
.profile a:hover { color: #315c52; }
.profile-label, .profile-date {
  margin: 0;
  color: #315c52;
  font: .8rem/1.5 var(--font-mono);
}
.profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(2.2rem, 5vw, 5rem);
}
.profile-hero h1 {
  max-width: 8ch;
  margin: .65rem 0 1.15rem;
  font-size: clamp(4rem, 7.8vw, 7.65rem);
  line-height: .88;
  letter-spacing: -.065em;
}
.profile-intro {
  max-width: 38ch;
  margin: 0;
  font-size: clamp(1.05rem, 1.55vw, 1.48rem);
  line-height: 1.45;
}
.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.35rem;
  align-items: center;
  margin-top: 1.4rem;
  font: .85rem/1.5 var(--font-mono);
}
.profile-links a { padding-block: .35rem; }
.profile :is(.profile-links, .profile-prose, figcaption, h3) a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
.profile-portrait { position: relative; margin: 0; background: var(--black); }
.profile-portrait video { display: block; width: 100%; height: auto; aspect-ratio: 7/5; object-fit: cover; object-position: 59% center; }
.profile-motion {
  position: absolute;
  right: .65rem;
  bottom: .65rem;
  z-index: 2;
  min-height: 2.5rem;
  padding: .45rem .7rem;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(0,0,0,.76);
  color: white;
  font: .74rem/1.2 var(--font-mono);
  cursor: pointer;
}
.profile-motion:hover { background: #193c34; }
.profile-story, .profile-section, .profile-contact {
  padding-block: clamp(2.3rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
}
.profile-story {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: start;
}
.profile-prose h2, .profile-section h2, .profile-contact h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  letter-spacing: -.05em;
  line-height: 1;
}
.profile-prose p, .profile-credits p {
  max-width: 65ch;
  margin: 1.05rem 0 0;
  color: #434743;
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  line-height: 1.58;
}
.profile-press { padding-inline-start: clamp(1.2rem, 2vw, 2rem); border-left: 1px solid var(--line); }
.profile-press figure { margin: 1.3rem 0 0; }
.profile-press figure + figure { margin-top: 2.4rem; }
.profile-press blockquote {
  margin: 0;
  color: #254e45;
  font-size: clamp(1.45rem, 2.25vw, 2.4rem);
  letter-spacing: -.035em;
  line-height: 1.19;
  text-wrap: pretty;
}
.profile-press figcaption, .profile-performance-photo figcaption {
  max-width: 40ch;
  margin-top: .7rem;
  color: var(--muted);
  font: .78rem/1.55 var(--font-mono);
}
.profile-review-photo, .profile-performance-photo img { display: block; width: 100%; height: auto; }
.profile-review-photo { margin-bottom: 1rem; }
.profile-performance-photo { max-width: 31rem; margin: 1.7rem 0 0; }
.profile-section {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.profile-credits { list-style: none; margin: 0; padding: 0; }
.profile-credits li {
  display: grid;
  grid-template-columns: minmax(7.8rem, .31fr) minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1.3rem;
  border-top: 1px solid var(--line);
}
.profile-credits li:first-child { padding-top: .2rem; border: 0; }
.profile-date { padding-block: .15rem; }
.profile-credits h3 { margin: 0; font-size: clamp(1.22rem, 1.8vw, 1.65rem); line-height: 1.2; }
.profile-credits p { margin-top: .55rem; font-size: 1rem; }
.profile-gallery { border-top: 1px solid var(--line); }
.profile-gallery summary { padding-block: 1.3rem; font: .92rem/1.5 var(--font-mono); cursor: pointer; }
.profile-gallery[open] .about-media-system { margin-bottom: 2rem; }
.profile-contact .profile-links { margin-top: .8rem; }
.profile .site-social { width: 100%; border-top: 1px solid var(--line); }

@media (max-width: 800px) {
  .profile [id] { scroll-margin-top: 8.5rem; }
  .profile-story, .profile-section { grid-template-columns: 1fr; }
  .profile-press {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 2rem;
    padding: 1.5rem 0 0;
    border: 0;
    border-top: 1px solid var(--line);
  }
  .profile-press h2 { grid-column: 1/-1; }
  .profile-press figure, .profile-press figure + figure { margin: 0; }
}
@media (max-width: 650px) {
  .profile-hero { grid-template-columns: 1fr; gap: 1.5rem; }
  .profile-hero h1 { max-width: none; font-size: clamp(2.65rem, 11vw, 4.5rem); }
  .profile-portrait video { aspect-ratio: 16/9; }
  .profile-credits li { grid-template-columns: 1fr; gap: .35rem; }
  .profile-press { grid-template-columns: 1fr; }
  .profile-press figure + figure { margin-top: 1rem; }
}
