:root {
  --diagnostic-bg: #f1e5d8;
  --workshops-bg: #04747b;
  --coaching-bg: #d2eceb;
  --programme-bg: #064c57;
  --service-ink: #113e46;
  --service-white: #fff;
}

@media (max-width: 760px) {
  .home-page .hero-copy > p:not([class]),
  .work-page .opening-grid > div > p:not([class]),
  .about-page .about-opening-grid > div > p:not([class]),
  .about-page .career-section > .wrap > p:not([class]),
  .about-page .career-story-copy .story-editorial p {
    font-size: 1.0625rem;
    line-height: 1.65;
  }
}

/* A visitor who uses the browser's text zoom can still read unbroken service names. */
.home-page .compact-service, .work-page .service-jump, .work-page .offer-copy {
  min-width: 0;
  overflow-wrap: break-word;
}

/* The document already offsets anchors by the measured sticky header height. */
.home-page section[id], .work-page section[id], .about-page section[id],
.about-page #career-scale, .home-page #home-portrait, .work-page #work-portrait {
  scroll-margin-top: 0;
}

/* The crop belongs to the frame; the credit follows it in normal flow. */
#home-portrait, #work-portrait {
  display: block;
  height: auto;
  aspect-ratio: auto;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.portrait-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 28px;
}
#home-portrait .portrait-frame { aspect-ratio: .93; }
#work-portrait .portrait-frame { height: 420px; }
#work-portrait .portrait-frame img { display:block; width:100%; height:100%; object-fit:cover; }
#home-portrait figcaption, #work-portrait figcaption,
.home-page .home-retail-break figcaption {
  position: static;
  display: block;
  background: transparent;
  color: inherit;
  text-align: left;
  font-size: .75rem;
  line-height: 1.45;
  padding: .35rem 0 0;
}
.home-page .home-retail-break figcaption {
  width: min(1000px, calc(100% - 96px));
  margin-inline: auto;
  color: var(--deep);
}
@media (max-width: 760px) {
  #home-portrait .portrait-frame { aspect-ratio: 1.13; }
  #work-portrait .portrait-frame { height: 380px; }
  .home-page .home-retail-break figcaption { width: calc(100% - 40px); }
}
