/* English homepage repair. Content only; shared header/footer are untouched.
   Phone <= 600px, tablet 601-1199px, desktop >= 1200px.
   The existing application controls keep their 600px interaction breakpoint. */
html#atlas-site[lang^="en"] body.home-page main .home-studio-label strong {
  font-size: 1rem !important;
  white-space: normal;
}
html#atlas-site[lang^="en"] body.home-page main .home-cta-row > a {
  overflow-wrap: anywhere;
  white-space: normal;
}
@media (min-width: 601px) and (max-width: 1199px) {
  html#atlas-site[lang^="en"] body.home-page main .home-first-copy {
    padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  }
  html#atlas-site[lang^="en"] body.home-page main .home-first h1 {
    font-size: clamp(2.25rem, 1.5rem + 2vw, 3rem) !important;
    line-height: 1.12 !important;
  }
  html#atlas-site[lang^="en"] body.home-page main .home-first-lead {
    font-size: 1.125rem !important;
  }
  html#atlas-site[lang^="en"] body.home-page main .home-cta-row > a {
    font-size: 1rem;
  }
}
/* At tablet widths stack before text and controls become cramped.
   This also covers desktop browser zoom that reduces the CSS viewport. */
@media (min-width: 601px) and (max-width: 1023px) {
  html#atlas-site[lang^="en"] body.home-page main .home-first {
    grid-template-columns: minmax(0, 1fr);
  }
  html#atlas-site[lang^="en"] body.home-page main .home-first-image {
    height: auto;
    min-height: 22rem;
    aspect-ratio: 3 / 2;
  }
}
@media (min-width: 1200px) {
  html#atlas-site[lang^="en"] body.home-page main .home-first {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  }
  html#atlas-site[lang^="en"] body.home-page main .home-first-copy {
    padding: clamp(2rem, 1rem + 2.5vw, 4.5rem) clamp(1.5rem, 5vw, 6rem);
  }
  html#atlas-site[lang^="en"] body.home-page main .home-first h1 {
    font-size: clamp(3rem, 1.25rem + 3.5vw, 4.65rem) !important;
    line-height: 1.05 !important;
  }
  html#atlas-site[lang^="en"] body.home-page main .home-brand-line {
    font-size: clamp(1.4rem, .6rem + 1.3vw, 2.2rem) !important;
  }
  html#atlas-site[lang^="en"] body.home-page main .home-first-lead {
    font-size: 1.125rem !important;
    line-height: 1.65 !important;
  }
  html#atlas-site[lang^="en"] body.home-page main .home-trust-line {
    font-size: .9rem !important;
  }
  html#atlas-site[lang^="en"] body.home-page main .home-cta-row {
    display: flex !important;
    flex-wrap: wrap;
    gap: .7rem;
  }
  html#atlas-site[lang^="en"] body.home-page main .home-cta-row > a {
    flex: 0 1 auto;
    min-height: 54px;
    padding: .8rem 1.15rem;
    font-size: 1rem;
  }
  html#atlas-site[lang^="en"] body.home-page main .home-cta-row .home-studio-trigger {
    width: auto;
    padding: .65rem 1rem;
    gap: .75rem;
  }
  html#atlas-site[lang^="en"] body.home-page main .home-studio-label {
    width: auto;
    align-items: flex-start;
    text-align: left;
  }
  html#atlas-site[lang^="en"] body.home-page main :is(.home-studio-icon,.home-studio-arrow) {
    position: static;
    transform: none;
  }
}
