/* Final phone sizing: preserve desktop crops and layouts above 700px. */
@media (max-width: 700px) {
  /* Foreground photography uses its source proportions, without zoom or crop. */
  .service-intro img,
  .folio-composition img,
  .health-photographs img,
  .service-photo,
  .inner-page .split img,
  .inner-page .photo-frame img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }
  .folio-main,
  .service-folio--week .folio-main,
  .arena__img,
  .founder__frame {
    height: auto;
    aspect-ratio: auto;
  }
  .arena__img img,
  .arena:hover .arena__img img,
  .founder__frame img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    /* The founder's desktop parallax writes an inline transform. */
    transform: none !important;
  }
}
@media (max-width: 380px) {
  /* Keep the final application action inside narrow phone form panels. */
  .restored-application .form__row {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 12px;
  }
  .restored-application .form__row .btn {
    width: 100%;
    white-space: normal;
    justify-content: center;
    padding-block: 14px;
  }
  .restored-application .form__back {
    align-self: flex-start;
  }
}

/* Center the mobile opening scene and its closing message. */
@media(max-width:700px){
 .hero__poster{object-position:48.5% center;transform-origin:48.5% 50%}
 .hero__canvas{transform-origin:50% 50%}
 .hero__copy--b{left:24px;right:24px;top:0;bottom:0;width:auto;display:flex;flex-direction:column;justify-content:center;align-items:center;transform:none!important;text-align:center}
 .hero__copy--b .eyebrow{justify-content:center}
}

/* Keep service photographs uncropped without changing the original hero. */
@media(max-width:700px){
 .whole__media img,.collective__media img,.apply__bg img,.founder__media img{object-fit:contain;object-position:center;transform:none!important;height:100%;width:100%}
 .service-intro figure{min-height:0}
 .health-photographs img,.folio-composition img,.service-intro img{height:auto!important;max-height:none;object-fit:contain}
}
