/* ============================================================
   65-serv-what — "What It Is" explainer split. Scoped under
   .sec-65-serv-what.
   ============================================================ */

.sec-65-serv-what {
  background: var(--bone);
}

.sec-65-serv-what__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 1.5rem + 2vw, 4rem);
  align-items: center;
}

.sec-65-serv-what__copy {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.sec-65-serv-what__copy p {
  color: var(--text-on-bone-dim);
  max-width: 54ch;
}

.sec-65-serv-what__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}

.sec-65-serv-what__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 800 / 600;
  object-fit: cover;
}

/* Modifier for source photos that are natively portrait (400x516 clinic
   stills): match the box to their real aspect ratio instead of forcing a
   4:3 landscape crop, which was cropping heavily into low-res source
   images and making the crop look soft/zoomed. */
.sec-65-serv-what__media--portrait {
  max-width: 420px;
  margin-inline: auto;
}
.sec-65-serv-what__photo--portrait {
  aspect-ratio: 400 / 516;
}
@media (min-width: 861px) {
  .sec-65-serv-what__media--portrait { margin-inline: 0; }
}

/* Modifier for a logo/wordmark image (wide, mostly-white background):
   show it uncropped on its own white field instead of forcing the 4:3
   photo crop, which chopped off the wordmark. */
.sec-65-serv-what__media--logo {
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.sec-65-serv-what__photo--logo {
  aspect-ratio: 800 / 600;
  object-fit: contain;
  padding: 3rem;
}

.sec-65-serv-what__chip {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  max-width: calc(100% - 2.5rem);
  background: var(--white);
  color: var(--text-on-bone);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 860px) {
  .sec-65-serv-what__split {
    grid-template-columns: 1fr;
  }
  .sec-65-serv-what__media { order: -1; }
}
