/* Keep the original mark and card layout; animate only their visual position. */
svg.aiux-mark {
  width: 315px;
  height: auto;
  overflow: visible;
}
@media (prefers-reduced-motion: no-preference) {
  .aiux-mark .aiux-ai {
    transform: translateX(calc(-1 * var(--aiux-offset, 0px)));
  }
  .aiux-mark .aiux-ux {
    transform: translateX(var(--aiux-offset, 0px));
  }
  #services .grid-services .service_card {
    transition: transform 180ms ease;
  }
  #services .grid-services .service_card:focus-visible {
    transform: scale(1.025);
  }
  @media (hover: hover) and (pointer: fine) {
    #services .grid-services .service_card:hover {
      transform: scale(1.025);
    }
  }
}

.resume-request { margin: 24px 0 0; text-align: center; }

/* Homepage positioning and product domains. */
.home-page #hero {
  margin-bottom: 0;
}

.home-page #hero .pattern_bg {
  padding-top: 48px;
  padding-bottom: 40px;
}

.home-domains {
  padding-top: 48px;
  padding-bottom: 48px;
  background: #242424;
  text-align: center;
}

.home-domains h2 {
  margin: 0 0 24px;
  padding-top: 0;
  color: #f6f6f4;
  text-align: center;
}

.home-domains__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-domains__list li {
  max-width: 100%;
  margin: 0;
  padding: 10px 18px;
  border-radius: 28px;
  background: #333;
  color: #f6f6f4;
  font-size: 1rem;
  line-height: 1.5;
}

.home-page .home-ai-position {
  padding-top: 48px;
  padding-bottom: 48px;
  background: #e8eee9;
  color: #202020;
}

.home-ai-position__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 40px;
}

.home-ai-position__label {
  display: inline-block;
  min-width: 190px;
  max-width: 100%;
  margin: 0 0 16px;
  padding: 4px 12px;
  background: #087f6d;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
}

.home-ai-position__heading .heading-as-h1 {
  padding-top: 0;
  color: #202b27;
}

.home-ai-position__copy {
  font-size: 1rem;
  line-height: 1.5;
}

.home-ai-position__copy p {
  margin: 0;
}

.home-ai-position__copy p + p {
  margin-top: 20px;
}

.home-page #services {
  padding-top: 48px;
  background: #101010;
}

@media (max-width: 650px) {
  .home-page .home-ai-position,
  .home-page #hero .pattern_bg,
  .home-domains {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .home-ai-position__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .home-page #services {
    padding-top: 32px;
  }

  .home-domains__list {
    gap: 8px;
  }

  .home-domains__list li {
    padding: 8px 14px;
    font-size: 0.875rem;
  }
}
