/* Mobile composition: preserve architectural proportions above the copy. */
@media (max-width: 899px) {
  body .home-page.home-page #space.image-section {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 22px 18px 36px !important;
    scroll-margin-top: 100px;
  }
  body .home-page.home-page #space > a {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
  }
  body .home-page.home-page #space > a.space-promo {
    aspect-ratio: 4 / 5 !important;
    min-height: 410px !important;
  }
  body .home-page.home-page #space > a > img:not(.space-promo__media) {
    display: block;
    width: 100%;
    height: auto !important;
    transform: none !important;
  }
  body .home-page.home-page .hero {
    --mobile-photo-height: clamp(260px, 75vw, 400px);
    position: relative;
    isolation: isolate;
    display: block;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    padding: calc(76px + var(--mobile-photo-height) - 24px) 22px 32px !important;
    background: #101715 !important;
    overflow: hidden;
  }
  body .home-page.home-page .hero .hero-desktop-media {
    display: block !important;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    height: var(--mobile-photo-height);
    max-width: none;
    object-fit: cover !important;
    object-position: 60% center;
    z-index: -2;
  }
  body .home-page.home-page .hero::after {
    content: "";
    position: absolute;
    inset: 76px 0 auto;
    height: var(--mobile-photo-height);
    background: linear-gradient(180deg, #101715 0%, transparent 12%, transparent 64%, #101715 100%);
    z-index: -1;
    pointer-events: none;
  }
  body .home-page.home-page .hero-content { position: relative; width: 100%; }
  body .home-page.home-page .hero h1 {
    font-size: clamp(29px, 7.7vw, 38px);
    line-height: 1.08;
    max-width: 470px;
    margin-bottom: 16px;
    text-wrap: balance;
  }
  body .home-page.home-page .hero p {
    font-size: 15px;
    line-height: 1.45;
    max-width: 400px;
    margin-bottom: 22px;
  }
  body .home-page.home-page .hero .actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    max-width: 400px;
  }
  body .home-page.home-page .hero .btn,
  body .home-page.home-page .hero .btn.outline {
    width: 100% !important;
    min-height: 48px;
    font-size: 15px;
    padding: 0 18px;
  }
}
