/* Phone composition: keep the full test-drive form above the fixed contact bar.
   Coordinates use the existing 402px canvas; --mfit preserves its scale.
   svh avoids a layout jump when browser controls or the keyboard open. */
@media (max-width: 599px) {
  .hero {
    --hero-room: calc(100svh / var(--mfit, 1) - 48.67px);
    --hero-form-top: min(418.7px, calc(var(--hero-room) - 242px));
    height: clamp(600px, var(--hero-room), 737px);
  }
  .page-tsa .hero {
    --hero-form-top: min(392.9px, calc(var(--hero-room) - 242px));
    height: clamp(600px, var(--hero-room), 737px);
  }
  .hero__bg {
    top: -84px;
    height: max(818.2px, calc(100% + 84px));
    width: auto;
  }
  .page-tsa .hero__bg {
    left: 50%;
    top: -84px;
    height: max(801.3px, calc(100% + 84px));
    width: auto;
    transform: translateX(-50%);
  }
  .hero__eyebrow { top: 137.6px; }
  .hero__title-m,
  .hero__shade { top: -84px; }
  .hero-form,
  .page-tsa .hero-form {
    top: var(--hero-form-top);
  }
  .hero__route-m,
  .page-tsa .hero__route-m { top: calc(var(--hero-form-top) - 12.7px); }
}
