/* Shared desktop/mobile composition: customer experience above marketing and automation.
   Existing illustrations are edited conventionally; no new image generation. */
.hero { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
.hero-visual--focused {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 500px;
  aspect-ratio: auto;
  gap: 12px;
  padding: 0;
  margin: 0 auto;
}
.hero-visual--focused .hero-field-scenes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 5%;
  width: 78%;
  margin: 0 auto;
}
.hero-visual--focused .hero-process-scene {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  margin: 0;
  overflow: visible;
  clip-path: none;
}
.hero-visual--focused .hero-process-scene > img,
.hero-visual--focused .hero-focus-scene > img:not(.hero-customer-heart) {
  position: static;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  transform: none;
}
.hero-visual--focused > .hero-smart-store {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  padding: 0;
  margin: 0;
  clip-path: none;
}
.hero-visual--focused .hero-focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 0 10px;
}
.hero-focus-scene { position: relative; min-width: 0; }
.hero-focus-scene--customer {
  grid-column: 1 / -1;
  width: 49%;
  justify-self: center;
  /* Offset the transparent top padding inside the lower illustrations. */
  margin-bottom: -12px;
}
.hero-focus-scene--marketing { grid-column: 1; }
.hero-focus-scene--automation { grid-column: 2; }
.hero-visual--focused .hero-customer-heart {
  position: absolute;
  width: 26%;
  height: auto;
  top: 3%;
  left: 8%;
}
@media (min-width: 761px) and (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
  .hero h1 { font-size: clamp(38px, 5.5vw, 60px); }
}
@media (max-width: 760px) {
  .hero-visual--focused { max-width: 430px; margin: 12px auto 0; gap: 8px; }
  .hero-visual--focused .hero-field-scenes { width: 86%; }
  .hero-visual--focused .hero-focus-grid { gap: 0 8px; }
  .hero-focus-scene--customer { width: 57%; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-intro .hero-visual--focused .hero-process-scene,
  .hero-intro .hero-visual--focused > .hero-smart-store { transform: none; }
  .hero-intro .hero-visual--focused .hero-process-scene.is-visible,
  .hero-intro .hero-visual--focused > .hero-smart-store.is-visible {
    transform: none;
    animation: hero-focused-fade-in 620ms ease-out both;
  }
}
@keyframes hero-focused-fade-in { from { opacity: 0; } to { opacity: 1; } }
