/* CMS copy stays within the accepted layouts; mobile art direction fills the same image stage. */
.showcase-art > picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-switches {
  min-width: 0;
  overflow-x: auto;
}
.hero-switches button {
  flex-shrink: 0;
  white-space: nowrap;
}
.showcase-title,
.scene-intro,
.company-hero-copy,
.technology-hero .category-copy,
.location-hq,
.location-list,
.footer-contact,
.contact-title {
  overflow-wrap: anywhere;
}

@media (min-width: 901px) {
  .home-scene-page .home-product-grid[data-count='1'] {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-scene-page .home-product-grid[data-count='2'] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-scene-page .home-product-grid[data-count] > a:nth-child(3n + 1) {
    border-left: 0;
    padding-left: 0;
  }
  .home-scene-page .home-product-grid[data-count] > a:nth-child(n + 4) {
    margin-top: 32px;
  }
}
.home-product-grid[data-count] > a {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* English headlines need room for longer words without displacing the shared hero controls. */
@media (min-width: 901px) {
  html[lang='en'] .showcase-title {
    font-size: clamp(48px, 4.4vw, 68px);
  }
  html[lang='en'] .showcase-title span {
    font-size: 0.72em;
    line-height: 1.25;
  }
}
