/*
 * Subpage Hero 4J — "orbit" presentation (Integration Marketplace, Asana 1218563874494234).
 * Ported from the approved Staging preview (STAGING-OPTIONS/assets/featured.css, November 2/16/17
 * revisions) with selectors scoped to .subpage-hero-4j--orbit; default 4J output is unaffected.
 */
/* ---------- Hero CTAs (4j buttons) ---------- */
.subpage-hero-4j--orbit .mp-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.subpage-hero-4j--orbit .mp-hero-buttons .btn {
  transition: border-radius 0.3s ease-in-out, background-color 0.2s ease, color 0.2s ease;
}
.subpage-hero-4j--orbit .mp-hero-buttons .btn-secondary:hover {
  background-color: var(--wp--preset--color--celigo-black);
  color: var(--wp--preset--color--celigo-white);
}
.subpage-hero-4j--orbit .mp-hero-buttons .btn:focus-visible {
  outline: 2px solid var(--wp--preset--color--celigo-black);
  outline-offset: 3px;
}
/* The 4j text column is centered below 1139px; the buttons follow it. */
@media screen and (max-width: 1138px) {
  .subpage-hero-4j--orbit .mp-hero-buttons {
    justify-content: center;
  }
}
/* Phones: two equal, full-width buttons. */
@media screen and (max-width: 576px) {
  .subpage-hero-4j--orbit .mp-hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
    max-width: 22rem;
    margin-inline: auto;
  }
  .subpage-hero-4j--orbit .mp-hero-buttons .btn {
    text-align: center;
  }
}

/* ---------- Orbit hero (November 16, 2026) ----------
   Gabriel's "Orbit" concept on the 4j hero: deep cobalt ground from the Move as one campaign,
   one canvas behind the content (orbit.js), the 4j text column and buttons unchanged. */
.subpage-hero-4j--orbit {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: #26314a;
  color: var(--wp--preset--color--celigo-white);
}
.subpage-hero-4j--orbit .mp-orbit__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.subpage-hero-4j--orbit > .container {
  position: relative;
  z-index: 1;
}
.subpage-hero-4j--orbit .subpage-hero-4j__content--text {
  position: relative;
  z-index: 2;
}
.subpage-hero-4j--orbit .subpage-hero-4j__content--graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.subpage-hero-4j--orbit .mp-orbit__stage {
  width: 100%;
  max-width: 38rem;
  aspect-ratio: 1 / 0.9;
  min-height: 20rem;
}
.subpage-hero-4j--orbit .subpage-hero-4j__eyebrow p,
.subpage-hero-4j--orbit .subpage-hero-4j__eyebrow {
  color: var(--wp--preset--color--peach);
  opacity: 1;
}
.subpage-hero-4j--orbit .subpage-hero-4j__headline h1 {
  color: var(--wp--preset--color--celigo-white);
}
.subpage-hero-4j--orbit .subpage-hero-4j__subhead p {
  color: #d9dee6;
}
.subpage-hero-4j--orbit .mp-hero-buttons .btn-primary {
  border-color: var(--wp--preset--color--peach);
  background-color: var(--wp--preset--color--peach);
  color: var(--wp--preset--color--celigo-black);
}
.subpage-hero-4j--orbit .mp-hero-buttons .btn-primary:hover {
  border-color: var(--wp--preset--color--celigo-white);
  background-color: var(--wp--preset--color--celigo-white);
}
.subpage-hero-4j--orbit .mp-hero-buttons .btn-primary span {
  color: var(--wp--preset--color--celigo-black);
}
/* "Sign to start building" reads as the concept's text link with an arrow. */
.subpage-hero-4j--orbit .mp-hero-buttons .mp-hero-link,
.subpage-hero-4j--orbit .mp-hero-buttons .mp-hero-link:hover {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-color: transparent;
  background: transparent;
  color: var(--wp--preset--color--celigo-white);
  padding-inline: 0.5rem;
}
.subpage-hero-4j--orbit .mp-hero-buttons .mp-hero-link span {
  color: var(--wp--preset--color--celigo-white);
  text-decoration: underline transparent;
  text-underline-offset: 0.3em;
  transition: text-decoration-color 0.2s ease;
}
.subpage-hero-4j--orbit .mp-hero-buttons .mp-hero-link:hover span {
  text-decoration-color: currentColor;
}
.subpage-hero-4j--orbit .mp-hero-buttons .mp-hero-link .mp-hero-link__icon {
  font-size: 1.125rem;
  transition: transform 0.2s ease;
}
.subpage-hero-4j--orbit .mp-hero-buttons .mp-hero-link:hover .mp-hero-link__icon {
  transform: translateX(0.25rem);
}
.subpage-hero-4j--orbit .mp-hero-buttons .btn:focus-visible,
.subpage-hero-4j--orbit .mp-orbit__control:focus-visible {
  outline: 2px solid var(--wp--preset--color--celigo-white);
  outline-offset: 3px;
}
/* Pause/play for the continuous animation (WCAG 2.2.2), as in the concept's in-hero control. */
.subpage-hero-4j--orbit .mp-orbit__control {
  position: absolute;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 2.25rem;
  padding: 0.5rem 0.875rem 0.5rem 0.625rem;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.12);
  color: var(--wp--preset--color--celigo-white);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.subpage-hero-4j--orbit .mp-orbit__control:hover {
  background: rgb(255 255 255 / 0.22);
}
.subpage-hero-4j--orbit .mp-orbit__control svg {
  flex: none;
  width: 1rem;
  height: 1rem;
}
/* Like the concept, the copy and globe stay side by side down to tablet landscape. */
@media screen and (min-width: 900px) and (max-width: 1138px) {
  .subpage-hero-4j--orbit .subpage-hero-4j__content {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 3rem;
  }
  .subpage-hero-4j--orbit .subpage-hero-4j__content--text {
    order: 1;
    text-align: left;
  }
  .subpage-hero-4j--orbit .subpage-hero-4j__content--graphic {
    order: 2;
  }
  .subpage-hero-4j--orbit .mp-hero-buttons {
    justify-content: flex-start;
  }
}
/* Stacked: copy and CTAs first, then the globe, as in the concept's narrow layout. */
@media screen and (max-width: 899px) {
  .subpage-hero-4j--orbit .subpage-hero-4j__content {
    gap: 2.5rem;
  }
  .subpage-hero-4j--orbit .subpage-hero-4j__content--text {
    order: 1;
  }
  .subpage-hero-4j--orbit .subpage-hero-4j__content--graphic {
    order: 2;
  }
  .subpage-hero-4j--orbit .mp-orbit__stage {
    max-width: 30rem;
    min-height: 18rem;
  }
  /* Room for the pause control below the globe. */
  .subpage-hero-4j--orbit .subpage-hero-4j__content {
    padding-bottom: 4.5rem;
  }
}
@media screen and (max-width: 576px) {
  .subpage-hero-4j--orbit .mp-orbit__stage {
    aspect-ratio: 1 / 0.95;
    min-height: 17rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .subpage-hero-4j--orbit .mp-hero-buttons .mp-hero-link .mp-hero-link__icon,
  .subpage-hero-4j--orbit .mp-hero-buttons .mp-hero-link span {
    transition: none;
  }
  .subpage-hero-4j--orbit .mp-hero-buttons .mp-hero-link:hover .mp-hero-link__icon {
    transform: none;
  }
}

.subpage-hero-4j--orbit .mp-orbit__data {
  display: none;
}
.subpage-hero-4j--orbit .mp-hero-link__icon {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
}
