.pipeline-view {
  position: relative;
  overflow: hidden;
  margin: 34px 0 var(--go-page-end);
  padding: 28px;
  border: 1px solid rgba(245, 158, 11, 0.32);
  background:
    radial-gradient(circle at 82% 18%, rgba(245, 158, 11, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(86, 182, 194, 0.06) 42%, var(--panel));
}

.pipeline-view::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.pipeline-head,
.pipeline-stats,
.pipeline-rail,
.pipeline-bottom {
  position: relative;
  z-index: 1;
}

.pipeline-head,
.pipeline-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.pipeline-head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
  font-weight: 600;
}

.pipeline-head p,
.pipeline-bottom p {
  max-width: 740px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.pipeline-orb {
  display: grid;
  place-items: center;
  width: 124px;
  aspect-ratio: 1;
  border: 1px solid rgba(245, 158, 11, 0.42);
  border-radius: 50%;
  background: conic-gradient(from 30deg, var(--amber), var(--cyan), var(--green), var(--amber));
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.18);
}

.pipeline-orb span {
  display: grid;
  place-items: center;
  width: 74px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(9, 9, 9, 0.88);
  font-weight: 700;
}

.pipeline-stats,
.pipeline-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pipeline-stats {
  gap: 1px;
  margin-top: 26px;
  background: rgba(245, 158, 11, 0.28);
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.pipeline-rail {
  gap: 12px;
  margin-top: 24px;
}

.pipeline-stage {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 102px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(18, 18, 18, 0.84);
}

.stage-pulse {
  width: 14px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--faint);
  box-shadow: 0 0 0 6px rgba(111, 106, 98, 0.12);
}

.pipeline-stage[data-stage-status="live"] .stage-pulse {
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(152, 195, 121, 0.14), 0 0 24px rgba(152, 195, 121, 0.4);
}

.stage-copy {
  display: grid;
  gap: 5px;
}

.stage-copy span,
.pipeline-asset span {
  color: var(--muted);
  font-size: 12px;
}

.pipeline-stage em {
  color: var(--amber);
  font-style: normal;
  font-size: 22px;
  font-weight: 700;
}

.pipeline-bottom {
  grid-template-columns: 2fr 1fr;
  align-items: start;
  margin-top: 20px;
}

.pipeline-bottom article,
.pipeline-asset {
  border: 1px solid var(--line);
  background: rgba(18, 18, 18, 0.78);
  padding: 18px;
}

.pipeline-assets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.pipeline-asset {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px;
  border-color: rgba(245, 158, 11, 0.18);
  background: rgba(245, 158, 11, 0.06);
}
