/* Automation hero layout. */
.page-hero.automation-hero {
  position: relative;
  isolation: isolate;
  padding: 26px 0 48px;
  background: #fff;
  color: #211a2b;
}
.automation-hero .breadcrumbs { margin-bottom: 34px; }
.page-hero.automation-hero .eyebrow { color: #7650a1; }
.page-hero.automation-hero .lead { color: #665d70; }
.page-hero.automation-hero .tag-row > span {
  color: #59496b;
  border-color: #72588c40;
}
.automation-hero .page-hero-grid {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 30px;
  min-height: 580px;
}
.automation-hero-copy { position: relative; z-index: 1; min-width: 0; max-width: 510px; }
.page-hero.automation-hero .eyebrow { font-size: 11px !important; margin-bottom: 25px; }
.page-hero.automation-hero h1 { font-size: clamp(48px, 4.45vw, 64px); line-height: 1.08; letter-spacing: -.055em; }
.automation-hero .lead { --copy-size: 18px; max-width: 490px; margin-top: 25px; }
.automation-hero .button.primary { margin-top: 28px; }
.automation-hero .tag-row { margin-top: 24px; gap: 8px; }
.page-hero.automation-hero .tag-row > span { font-size: 12px; }
.automation-hero-scene { position: relative; min-width: 0; width: 100%; margin: 0; }
.automation-hero-viewport {
  position: relative;
  width: calc(122% + 39px);
  margin-left: -76px;
  aspect-ratio: 1482 / 768;
  isolation: isolate;
}
.automation-hero-viewport img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent),
    linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent),
    linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent);
  mask-composite: intersect;
}
@media (max-width: 1200px) {
  .automation-hero .page-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 22px; min-height: 550px; }
  .page-hero.automation-hero h1 { font-size: clamp(46px, 4.8vw, 58px); }
  .automation-hero .lead { --copy-size: 17px; }
}
@media (max-width: 900px) {
  .page-hero.automation-hero { padding-bottom: 28px; }
  .automation-hero .page-hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 16px; }
  .automation-hero-copy { max-width: 650px; }
  .page-hero.automation-hero h1 { max-width: 650px; font-size: clamp(44px, 6.5vw, 58px); }
  .automation-hero .lead { max-width: 620px; }
  .automation-hero-scene { max-width: 700px; margin: 0 auto; }
  .automation-hero-viewport { width: 100%; margin-left: 0; }
}
@media (max-width: 700px) {
  .page-hero.automation-hero { padding-top: 24px; padding-bottom: 24px; }
  .automation-hero .breadcrumbs { margin-bottom: 30px; font-size: 12px; line-height: 1.6; gap: 10px; }
  .page-hero.automation-hero .eyebrow { margin-bottom: 21px; font-size: 10px !important; }
  .page-hero.automation-hero h1 { font-size: clamp(39px, 10vw, 52px); line-height: 1.09; letter-spacing: -.05em; }
  .automation-hero .lead { --copy-size: 17px; margin-top: 24px; }
  .automation-hero .button.primary { margin-top: 24px; margin-right: 0; }
  .automation-hero .tag-row { margin-top: 22px; gap: 7px; }
  .page-hero.automation-hero .tag-row > span { font-size: 11px; padding: 5px 10px; }
  .automation-hero-viewport { width: calc(100% + 20px); margin-left: -10px; }
}
