/* Orbit Index reference, rebuilt as an original Atreon workflow observation field. */
.ops-lab-grid {
  grid-template-columns: minmax(260px, .72fr) minmax(600px, 1.28fr);
  gap: 70px;
  align-items: center;
}

.orbit-workflow {
  min-width: 0;
  border: 1px solid #303535;
  background: #090a0b;
  color: #111313;
}

.orbit-workflow-top {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px;
  border-bottom: 1px solid #303535;
  color: #747b79;
  font: 500 9px/1 Manrope, sans-serif;
  letter-spacing: .14em;
}

.orbit-workflow-top small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c7cbc8;
  font: inherit;
}

.orbit-workflow-top i {
  width: 6px;
  height: 6px;
  background: #e8eae7;
  box-shadow: 0 0 0 4px rgba(232,234,231,.07);
}

.orbit-field {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background-image:
    radial-gradient(circle, rgba(241,243,240,.18) 0 1px, transparent 1.3px),
    linear-gradient(rgba(241,243,240,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241,243,240,.04) 1px, transparent 1px);
  background-size: 8px 8px, 40px 40px, 40px 40px;
  background-position: center;
}

.orbit-field::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(9,10,11,0) 0 18%, rgba(9,10,11,.5) 57%, #090a0b 92%);
}

.orbit-lines {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.orbit-lines path {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.orbit-line-base {
  stroke: rgba(231,234,230,.22);
  stroke-width: 1;
  stroke-dasharray: 4 7;
}

.orbit-line-live {
  stroke: #f1f2ef;
  stroke-width: 1.5;
  stroke-linecap: square;
  stroke-dasharray: .12 .88;
  stroke-dashoffset: 1;
  opacity: 0;
}

.orbit-workflow.is-running .orbit-line-live {
  opacity: 1;
  animation: orbit-signal 8.8s linear infinite;
}

.orbit-card {
  position: absolute;
  z-index: 3;
  width: 208px;
  min-height: 100px;
  padding: 15px 16px;
  border: 1px solid #c8c9c5;
  background: #f2f2ed;
  opacity: .22;
  transform: translateY(12px);
}

.orbit-card::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 6px;
  height: 6px;
  border: 1px solid #111313;
  background: transparent;
}

.orbit-card span,
.orbit-card b,
.orbit-card small { display: block; }
.orbit-card span { color: #666b69; font: 600 8px/1 Manrope, sans-serif; letter-spacing: .12em; }
.orbit-card b { margin-top: 13px; color: #111313; font: 600 15px/1.2 Manrope, sans-serif; }
.orbit-card small { margin-top: 5px; color: #686d6b; font-size: 10px; line-height: 1.4; }

.orbit-card-input { top: 72px; left: 26px; }
.orbit-card-rules { top: 72px; right: 26px; }
.orbit-card-route { right: 26px; bottom: 72px; }
.orbit-card-result { bottom: 72px; left: 26px; }

.orbit-workflow.is-running .orbit-card {
  animation: orbit-card-in .62s cubic-bezier(.2,.8,.2,1) both;
}
.orbit-workflow.is-running .orbit-card-rules { animation-delay: .22s; }
.orbit-workflow.is-running .orbit-card-route { animation-delay: .44s; }
.orbit-workflow.is-running .orbit-card-result { animation-delay: .66s; }

.orbit-workflow.is-running .orbit-card::after {
  animation: orbit-card-status 5.2s steps(1,end) infinite;
}
.orbit-workflow.is-running .orbit-card-rules::after { animation-delay: 1.3s; }
.orbit-workflow.is-running .orbit-card-route::after { animation-delay: 2.6s; }
.orbit-workflow.is-running .orbit-card-result::after { animation-delay: 3.9s; }

.orbit-core {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: 116px;
  height: 116px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 7px;
  border: 1px solid #d8dbd7;
  background: #101213;
  color: #f0f1ee;
  transform: translate(-50%,-50%);
}

.orbit-core::before {
  content: "";
  position: absolute;
  inset: -15px;
  border: 1px dashed rgba(235,238,234,.27);
}

.orbit-workflow.is-running .orbit-core::before {
  animation: orbit-core-turn 24s linear infinite;
}

.orbit-core svg { width: 37px; height: 37px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.orbit-core span { font: 600 9px/1 Manrope, sans-serif; letter-spacing: .14em; }

.orbit-strip {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-top: 1px solid #303535;
}

.orbit-strip div {
  min-width: 0;
  padding: 15px 14px;
  border-right: 1px solid #303535;
}
.orbit-strip div:last-child { border-right: 0; }
.orbit-strip b,
.orbit-strip span { display: block; }
.orbit-strip b { color: #eef0ed; font: 600 16px/1 Manrope, sans-serif; }
.orbit-strip span { margin-top: 6px; color: #6f7674; font-size: 9px; }

/* Orbit Index's measured paper, reserved for the two light decision sections. */
.process,
.plans {
  background-color: #f5f5f1;
  background-image:
    linear-gradient(rgba(39,44,43,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39,44,43,.045) 1px, transparent 1px);
  background-size: 64px 64px;
}

@keyframes orbit-signal { to { stroke-dashoffset: 0; } }
@keyframes orbit-card-in { to { opacity: 1; transform: translateY(0); } }
@keyframes orbit-card-status { 0%,22%,100% { background: transparent; } 23%,46% { background: #111313; } }
@keyframes orbit-core-turn { to { transform: rotate(360deg); } }

@media (max-width: 1040px) {
  .ops-lab-grid { grid-template-columns: 1fr; gap: 44px; }
  .orbit-workflow { width: 100%; }
}

@media (max-width: 720px) {
  .orbit-workflow-top { padding-inline: 13px; }
  .orbit-field {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 82px 12px 16px;
    background-size: 8px 8px, 32px 32px, 32px 32px;
  }
  .orbit-field::after { background: linear-gradient(180deg, transparent, rgba(9,10,11,.62)); }
  .orbit-lines { display: none; }
  .orbit-card {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 94px;
  }
  .orbit-core {
    top: 16px;
    left: 50%;
    width: 52px;
    height: 52px;
    display: grid;
    transform: translateX(-50%);
  }
  .orbit-core::before { inset: -7px; }
  .orbit-core svg { width: 24px; height: 24px; }
  .orbit-core span { display: none; }
  .orbit-strip { grid-template-columns: 1fr 1fr; }
  .orbit-strip div:nth-child(2) { border-right: 0; }
  .orbit-strip div:nth-child(-n+2) { border-bottom: 1px solid #303535; }
  .process,
  .plans { background-size: 40px 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-workflow .orbit-line-live,
  .orbit-workflow .orbit-card,
  .orbit-workflow .orbit-card::after,
  .orbit-workflow .orbit-core::before { animation: none; }
  .orbit-workflow .orbit-line-live { opacity: .5; stroke-dasharray: none; stroke-dashoffset: 0; }
  .orbit-workflow .orbit-card { opacity: 1; transform: none; }
}
