.client-work,
#hero-portrait {
  scroll-margin-top: 7rem;
}

.hero-portrait-layer {
  position: absolute;
  left: 50%;
  top: 48%;
  width: var(--hero-circle-size, min(27rem, 62vw));
  height: var(--hero-circle-size, min(27rem, 62vw));
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}

.hero-portrait-layer--body {
  z-index: 1;
  border-radius: 50%;
  overflow: hidden;
  -webkit-clip-path: circle(50% at 50% 50%);
  clip-path: circle(50% at 50% 50%);
}

.hero-portrait-layer--head { z-index: 3; }

.hero-cutout {
  display: block;
  position: absolute;
  width: 175%;
  max-width: none;
  height: auto;
  left: -37.5%;
  top: -24%;
}

.hero-portrait-layer--head .hero-cutout {
  clip-path: inset(0 0 69% 0);
}

.client-work-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3rem;
}

.client-work-intro {
  max-width: 26rem;
  color: rgb(255 255 255 / 0.72);
  font-size: 1.125rem;
  line-height: 1.8;
}

.client-work-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.client-work-link:hover { color: var(--fire); }

.client-work-photos {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.client-work-photo { margin: 0; min-width: 0; }
.client-work-photo:first-child { margin-top: 4rem; }

.client-work-image {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 1.5rem;
  background: #16120f;
}

.client-work-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 47%;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.client-work-photo:nth-child(2) img { object-position: 50% 43%; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .client-work-photo:hover img { transform: scale(1.025); }
}

.client-work-photo figcaption {
  margin-top: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
}

.client-work-photo figcaption span {
  color: var(--fire);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.client-work-photo figcaption p {
  margin: 0.65rem 0 0;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 300;
}

.founder-portrait--editorial {
  min-height: 0;
  aspect-ratio: 4 / 5;
  box-shadow: none;
}

.founder-editorial-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 65%;
}

.founder-portrait--editorial::after {
  content: '';
  position: absolute;
  inset: 60% 0 0;
  background: linear-gradient(transparent, rgb(0 0 0 / 0.6));
  pointer-events: none;
}

@media (max-width: 767px) {
  #hero-portrait { --hero-circle-size: min(27rem, 78vw, 80cqh); }
  .client-work-heading { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; margin-bottom: 2rem; }
  .client-work-photos { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .client-work-photo:first-child { margin-top: 0; }
}
