/* Cinema v2 — the product stages explain themselves through motion, not cards. */

:root {
  --cinema-v2-ink: #4d4659;
  --cinema-v2-muted: rgba(77, 70, 89, 0.54);
  --cinema-v2-line: rgba(105, 94, 210, 0.24);
  --cinema-v2-blue: #6d86f5;
  --cinema-v2-violet: #7a61e4;
  --cinema-v2-ease: cubic-bezier(0.23, 1, 0.32, 1);
}

/* 02 — Decoder: many context signals become one need, never advice or diagnosis. */

body.product-page .decoder-cinema-field {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 49% 50%, rgba(121, 98, 226, 0.1), transparent 23%),
    radial-gradient(circle at 84% 50%, rgba(100, 126, 242, 0.07), transparent 28%);
}

.decoder-flow-lines {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.decoder-flow-lines path {
  fill: none;
  stroke-linecap: round;
}

.decoder-context-lines path {
  stroke: rgba(100, 113, 222, 0.28);
  stroke-width: 1.35;
  stroke-dasharray: 4 7;
  stroke-dashoffset: 260;
  animation: decoder-v2-line-in 5.2s cubic-bezier(0.77, 0, 0.175, 1) both;
}

.decoder-context-lines path:nth-child(2) { animation-delay: 120ms; }
.decoder-context-lines path:nth-child(3) { animation-delay: 240ms; }
.decoder-context-lines path:nth-child(4) { animation-delay: 360ms; }

.decoder-need-line {
  stroke: rgba(112, 93, 226, 0.82);
  stroke-width: 2.35;
  stroke-dasharray: 7 7;
  stroke-dashoffset: 260;
  filter: drop-shadow(0 0 6px rgba(111, 96, 225, 0.32));
  animation: decoder-v2-need-line 5.2s cubic-bezier(0.77, 0, 0.175, 1) 1660ms both;
}

.decoder-rejected-line {
  stroke: rgba(95, 88, 115, 0.19);
  stroke-width: 1.2;
  stroke-dasharray: 3 8;
  stroke-dashoffset: 240;
  animation: decoder-v2-rejected-line 5.2s cubic-bezier(0.77, 0, 0.175, 1) 1460ms both;
}

.decoder-flow-dot,
.router-route-dot,
.orchestration-flow-dot {
  fill: rgba(255, 255, 255, 0.98);
  filter: drop-shadow(0 0 6px rgba(103, 90, 224, 0.88));
}

.decoder-need-dot,
.orchestration-output-dot {
  fill: #7863e5;
}

@keyframes decoder-v2-line-in {
  0%, 4% { opacity: 0; stroke-dashoffset: 260; }
  18%, 100% { opacity: 1; stroke-dashoffset: 0; }
}

@keyframes decoder-v2-need-line {
  0%, 5% { opacity: 0; stroke-dashoffset: 260; }
  22%, 100% { opacity: 1; stroke-dashoffset: 0; }
}

@keyframes decoder-v2-rejected-line {
  0%, 5% { opacity: 0; stroke-dashoffset: 240; }
  20%, 72% { opacity: 0.72; stroke-dashoffset: 0; }
  100% { opacity: 0.34; stroke-dashoffset: 0; }
}

.decoder-context-cluster {
  position: absolute;
  z-index: 5;
  inset: 0;
}

.decoder-context-signal {
  --decoder-delay: 80ms;
  position: absolute;
  display: grid;
  width: 64px;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 5px;
  color: var(--cinema-v2-muted);
  opacity: 0;
  transform: translateX(-8px) scale(0.96);
  animation: decoder-v2-node-in 5.2s var(--cinema-v2-ease) var(--decoder-delay) both;
}

.decoder-context-signal > i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 8px 24px rgba(61, 52, 112, 0.07), 0 0 0 7px rgba(108, 121, 231, 0.035);
  color: #7180df;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.decoder-context-signal svg,
.decoder-outcome svg,
.router-need-node svg,
.router-gate svg,
.router-match-node svg,
.orchestration-node svg,
.orchestration-gate svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.decoder-context-signal small,
.decoder-outcome small,
.router-need-node small,
.router-gate small,
.router-match-node small,
.orchestration-node small,
.orchestration-gate small {
  font-size: 6px;
  font-weight: 720;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.signal-bed { top: 9%; left: 8%; }
.signal-activity { --decoder-delay: 180ms; top: 31%; left: 8%; }
.signal-calendar { --decoder-delay: 280ms; top: 53%; left: 8%; }
.signal-reported { --decoder-delay: 380ms; top: 69%; left: 8%; }

@keyframes decoder-v2-node-in {
  0%, 3% { opacity: 0; transform: translateX(-8px) scale(0.96); }
  16%, 100% { opacity: 1; transform: none; }
}

.decoder-lens {
  position: absolute;
  z-index: 7;
  top: 50%;
  left: 50%;
  display: grid;
  width: 108px;
  aspect-ratio: 1;
  place-content: center;
  justify-items: center;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: rgba(242, 241, 255, 0.66);
  box-shadow: 0 16px 45px rgba(76, 58, 151, 0.12), inset 0 0 30px rgba(112, 100, 225, 0.08);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
  animation: decoder-v2-lens-in 5.2s var(--cinema-v2-ease) 620ms both;
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.decoder-lens-ring {
  position: absolute;
  inset: -17px;
  border: 1px solid rgba(112, 96, 223, 0.18);
  border-radius: 50%;
  animation: decoder-v2-ring 2.8s ease-in-out infinite;
}

.decoder-lens-ring.ring-two {
  inset: -34px;
  border-style: dashed;
  opacity: 0.54;
  animation-delay: 380ms;
}

.decoder-lens > i {
  display: flex;
  height: 34px;
  align-items: center;
  gap: 5px;
}

.decoder-lens > i b {
  display: block;
  width: 6px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--cinema-v2-blue), var(--cinema-v2-violet));
  animation: decoder-v2-interpret 1.2s ease-in-out infinite;
}

.decoder-lens > i b:nth-child(2) { height: 34px; animation-delay: 120ms; }
.decoder-lens > i b:nth-child(3) { height: 18px; animation-delay: 240ms; }

.decoder-lens > small {
  margin-top: 7px;
  color: #6f6485;
  font-size: 7px;
  font-weight: 780;
  letter-spacing: 0.08em;
}

@keyframes decoder-v2-lens-in {
  0%, 3% { opacity: 0; transform: translate(-50%, -50%) scale(0.92); }
  16%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes decoder-v2-ring {
  50% { opacity: 0.32; transform: scale(1.06); }
}

@keyframes decoder-v2-interpret {
  50% { opacity: 0.42; transform: scaleY(0.64); }
}

.decoder-outcome {
  position: absolute;
  z-index: 7;
  color: var(--cinema-v2-muted);
  opacity: 0;
  animation: decoder-v2-outcome-in 5.2s var(--cinema-v2-ease) 1700ms both;
}

.decoder-outcome > i {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px dashed rgba(79, 72, 95, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.decoder-outcome > i > span {
  position: absolute;
  width: 30px;
  height: 1px;
  background: rgba(91, 82, 104, 0.52);
  transform: rotate(-42deg);
}

.decoder-outcome-advice {
  top: 8%;
  right: 15%;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 5px;
}

.decoder-outcome-diagnosis {
  right: 12%;
  bottom: 13%;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 5px;
  animation-delay: 1850ms;
}

.decoder-outcome-need {
  top: 50%;
  right: 6%;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--cinema-v2-ink);
  transform: translateY(-50%) scale(0.94);
  animation: decoder-v2-need-in 5.2s var(--cinema-v2-ease) 2600ms both;
}

.decoder-outcome-need > i {
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(245, 245, 255, 0.76);
  color: #745fe0;
  box-shadow: 0 14px 38px rgba(75, 59, 148, 0.14), 0 0 0 13px rgba(111, 96, 225, 0.045);
}

.decoder-outcome-need > i::before {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(113, 96, 225, 0.22);
  border-radius: 50%;
  animation: decoder-v2-need-pulse 1.9s ease-out infinite;
}

.decoder-outcome-need svg { width: 32px; }

.decoder-outcome-need span,
.decoder-outcome-need strong {
  display: block;
}

.decoder-outcome-need small {
  color: #75688d;
  font-size: 7px;
}

.decoder-outcome-need strong {
  width: 84px;
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.25;
}

.decoder-branch-stop {
  position: absolute;
  z-index: 8;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: rgba(242, 241, 247, 0.82);
  opacity: 0;
  animation: decoder-v2-stop-in 5.2s var(--cinema-v2-ease) 2300ms both;
}

.decoder-branch-stop > i {
  width: 9px;
  height: 1px;
  background: rgba(77, 70, 89, 0.56);
  transform: rotate(-42deg);
}

.stop-advice { top: 27%; left: 68%; }
.stop-diagnosis { bottom: 31%; left: 68%; animation-delay: 2440ms; }

@keyframes decoder-v2-outcome-in {
  0%, 4% { opacity: 0; transform: translateX(7px) scale(0.96); }
  18%, 100% { opacity: 0.54; transform: none; }
}

@keyframes decoder-v2-need-in {
  0%, 4% { opacity: 0; transform: translateY(-50%) scale(0.94); }
  18%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
}

@keyframes decoder-v2-stop-in {
  0%, 4% { opacity: 0; transform: scale(0.7); }
  16%, 100% { opacity: 1; transform: scale(1); }
}

@keyframes decoder-v2-need-pulse {
  0% { opacity: 0.5; transform: scale(0.94); }
  100% { opacity: 0; transform: scale(1.12); }
}

/* 03 — Router: the selected route is part of the graph, not a card laid over it. */

body.product-page .router-cinema-field,
body.product-page .router-skill-viz.router-cinema-field {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 48% 52%, rgba(112, 94, 226, 0.11), transparent 42%),
    radial-gradient(circle at 86% 78%, rgba(102, 125, 239, 0.07), transparent 30%);
}

body.product-page .router-cinema-field::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -12%;
  display: block;
  background-image:
    radial-gradient(circle, rgba(111, 101, 224, 0.16) 0 1px, transparent 1.5px),
    linear-gradient(rgba(102, 92, 168, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 92, 168, 0.035) 1px, transparent 1px);
  background-position: 17px 23px, center, center;
  background-size: 46px 46px, 32px 32px, 32px 32px;
  opacity: 0.52;
  pointer-events: none;
  -webkit-mask-image: none;
  mask-image: none;
}

body.product-page .router-cinema-field::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: -8%;
  display: block;
  background:
    radial-gradient(circle at 96% 78%, rgba(111, 96, 226, 0.075), transparent 23%),
    radial-gradient(circle at 52% 99%, rgba(92, 124, 242, 0.065), transparent 28%);
  pointer-events: none;
}

body.product-page .router-cinema-field .router-graph-canvas,
body.product-page .workspace-demo[data-phase="router"] .router-cinema-field .router-graph-canvas {
  position: absolute;
  z-index: 1;
  inset: -7%;
  width: 114%;
  height: 114%;
  opacity: 0;
  filter: saturate(1.18) contrast(1.04);
  -webkit-mask-image: none;
  mask-image: none;
  transform: scale(0.985);
  animation: router-v2-network-in 5.5s var(--cinema-v2-ease) 120ms both;
}

@keyframes router-v2-network-in {
  0%, 3% { opacity: 0; transform: scale(0.985); }
  16%, 100% { opacity: 0.96; transform: none; }
}

.router-best-route {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.router-best-route path {
  fill: none;
  stroke: rgba(112, 94, 226, 0.84);
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-dasharray: 7 8;
  stroke-dashoffset: 720;
  filter: drop-shadow(0 0 6px rgba(101, 90, 222, 0.46));
  animation: router-v2-route-draw 5.5s cubic-bezier(0.77, 0, 0.175, 1) 760ms both;
}

@keyframes router-v2-route-draw {
  0%, 4% { opacity: 0; stroke-dashoffset: 720; }
  15% { opacity: 1; }
  68%, 100% { opacity: 1; stroke-dashoffset: 0; }
}

.router-need-node,
.router-match-node,
.router-gate {
  position: absolute;
  z-index: 7;
  color: var(--cinema-v2-ink);
  opacity: 0;
}

.router-need-node {
  top: 39%;
  left: 4%;
  display: grid;
  width: 58px;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 5px;
  animation: router-v2-origin-in 5.5s var(--cinema-v2-ease) both;
}

.router-need-node > span {
  position: absolute;
  top: 2px;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(112, 96, 223, 0.26);
  border-radius: 50%;
  animation: router-v2-origin-pulse 1.9s ease-out infinite;
}

.router-need-node > i,
.router-gate > i,
.router-match-node > i {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: rgba(247, 247, 255, 0.72);
  box-shadow: 0 10px 28px rgba(64, 52, 122, 0.1);
  color: #6f68d7;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.router-need-node > i {
  width: 48px;
  height: 48px;
}

.router-need-node svg { width: 24px; }

@keyframes router-v2-origin-in {
  0%, 4% { opacity: 0; transform: translateX(-8px) scale(0.94); }
  16%, 100% { opacity: 1; transform: none; }
}

@keyframes router-v2-origin-pulse {
  from { opacity: 0.6; transform: scale(0.88); }
  to { opacity: 0; transform: scale(1.22); }
}

.router-gate {
  display: grid;
  width: 58px;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 4px;
  animation: router-v2-gate-in 5.5s var(--cinema-v2-ease) 1120ms both;
}

.router-gate > i {
  width: 38px;
  height: 38px;
}

.router-gate > b {
  position: absolute;
  top: -1px;
  right: 6px;
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border: 2px solid rgba(250, 250, 255, 0.96);
  border-radius: 50%;
  background: #7061de;
  color: white;
  font-size: 8px;
  opacity: 0;
  transform: scale(0.72);
  animation: router-v2-check 5.5s var(--cinema-v2-ease) 2100ms both;
}

.router-gate small { color: rgba(68, 62, 82, 0.68); }
.gate-funded { top: 21%; left: 27%; }
.gate-eligible { bottom: 11%; left: 41%; animation-delay: 1320ms; }
.gate-skilled { top: 44%; left: 53%; animation-delay: 1520ms; }
.gate-available { right: 21%; bottom: 16%; animation-delay: 1720ms; }
.gate-eligible > b { animation-delay: 2440ms; }
.gate-skilled > b { animation-delay: 2780ms; }
.gate-available > b { animation-delay: 3160ms; }

@keyframes router-v2-gate-in {
  0%, 4% { opacity: 0; transform: translateY(8px) scale(0.94); }
  18%, 100% { opacity: 1; transform: none; }
}

@keyframes router-v2-check {
  0%, 4% { opacity: 0; transform: scale(0.72); }
  16%, 100% { opacity: 1; transform: scale(1); }
}

.router-match-node {
  top: 43%;
  right: 3.5%;
  display: grid;
  width: 86px;
  grid-template-columns: 1fr;
  justify-items: center;
  color: var(--cinema-v2-ink);
  transform: scale(0.92);
  animation: router-v2-match-in 5.5s var(--cinema-v2-ease) 3360ms both;
}

.router-match-node > i {
  width: 68px;
  height: 68px;
  color: #6f5ddd;
  box-shadow: 0 15px 40px rgba(67, 51, 139, 0.15), 0 0 0 12px rgba(112, 95, 225, 0.045);
}

.router-match-node svg { width: 29px; }

.router-match-ring {
  position: absolute;
  top: -8px;
  width: 84px;
  height: 84px;
  border: 1px solid rgba(112, 94, 225, 0.24);
  border-radius: 50%;
  animation: router-v2-match-ring 2.2s ease-out infinite;
}

.router-match-ring.ring-b { top: -16px; width: 100px; height: 100px; animation-delay: 480ms; }

.router-match-node strong {
  margin-top: 8px;
  font-size: 9px;
  letter-spacing: 0.02em;
}

.router-match-node small {
  margin-top: 2px;
  color: #756c83;
  font-size: 6px;
}

@keyframes router-v2-match-in {
  0%, 4% { opacity: 0; transform: scale(0.92); }
  18%, 100% { opacity: 1; transform: scale(1); }
}

@keyframes router-v2-match-ring {
  0% { opacity: 0.54; transform: scale(0.88); }
  100% { opacity: 0; transform: scale(1.12); }
}

.router-route-beacon {
  position: absolute;
  z-index: 6;
  width: 6px;
  height: 6px;
  border: 2px solid white;
  border-radius: 50%;
  background: #7963e4;
  box-shadow: 0 0 0 6px rgba(117, 99, 226, 0.08), 0 0 16px rgba(108, 94, 222, 0.5);
  opacity: 0;
  animation: router-v2-beacon 5.5s ease-in-out 1850ms both;
}

.beacon-one { top: 28%; left: 31%; }
.beacon-two { bottom: 20%; left: 53%; animation-delay: 2450ms; }
.beacon-three { top: 44%; right: 18%; animation-delay: 3050ms; }

@keyframes router-v2-beacon {
  0%, 4% { opacity: 0; transform: scale(0.7); }
  18%, 64% { opacity: 1; transform: scale(1.12); }
  100% { opacity: 0.42; transform: scale(1); }
}

/* 04 — Orchestrator: four systems are completed, then execution pauses at permission. */

body.product-page .orchestrator-cinema-field,
body.product-page .orchestrator-action-viz.orchestrator-cinema-field {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(121, 98, 226, 0.11), transparent 29%),
    radial-gradient(circle at 76% 69%, rgba(97, 127, 242, 0.08), transparent 30%);
}

.orchestration-weave {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.orchestration-weave path {
  fill: none;
  stroke-linecap: round;
}

.orchestration-input-paths path {
  stroke: rgba(109, 96, 220, 0.31);
  stroke-width: 1.45;
  stroke-dasharray: 5 7;
  stroke-dashoffset: 360;
  animation: orchestration-v2-input-draw 5.6s cubic-bezier(0.77, 0, 0.175, 1) 420ms both;
}

.orchestration-input-paths path:nth-child(2) { animation-delay: 650ms; }
.orchestration-input-paths path:nth-child(3) { animation-delay: 880ms; }
.orchestration-input-paths path:nth-child(4) { animation-delay: 1110ms; }

.orchestration-ready-path {
  stroke: rgba(112, 94, 225, 0.78);
  stroke-width: 2.2;
  stroke-dasharray: 6 7;
  stroke-dashoffset: 260;
  filter: drop-shadow(0 0 5px rgba(102, 92, 220, 0.34));
  animation: orchestration-v2-ready-draw 5.6s cubic-bezier(0.77, 0, 0.175, 1) 2180ms both;
}

.orchestration-approved-path {
  stroke: rgba(110, 96, 221, 0.44);
  stroke-width: 1.5;
  stroke-dasharray: 3 8;
  stroke-dashoffset: 160;
  animation: orchestration-v2-approved-draw 5.6s cubic-bezier(0.77, 0, 0.175, 1) 3600ms both;
}

@keyframes orchestration-v2-input-draw {
  0%, 3% { opacity: 0; stroke-dashoffset: 360; }
  20%, 100% { opacity: 1; stroke-dashoffset: 0; }
}

@keyframes orchestration-v2-ready-draw {
  0%, 4% { opacity: 0; stroke-dashoffset: 260; }
  24%, 100% { opacity: 1; stroke-dashoffset: 0; }
}

@keyframes orchestration-v2-approved-draw {
  0%, 4% { opacity: 0; stroke-dashoffset: 160; }
  28%, 100% { opacity: 0.76; stroke-dashoffset: 0; }
}

.orchestration-node {
  --orchestration-delay: 260ms;
  position: absolute;
  z-index: 6;
  display: grid;
  width: 70px;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  justify-items: center;
  gap: 5px;
  color: var(--cinema-v2-muted);
  opacity: 0;
  transform: translateY(7px) scale(0.95);
  animation: orchestration-v2-node-in 5.6s var(--cinema-v2-ease) var(--orchestration-delay) both;
}

body.product-page .workspace-insight.is-active .orchestrator-action-viz > .orchestration-node {
  min-height: 0;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  align-items: initial;
  gap: 5px;
  padding: 0;
  border: 0;
  animation: orchestration-v2-node-in 5.6s var(--cinema-v2-ease) var(--orchestration-delay) both;
}

.orchestration-node > i {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  background: rgba(247, 247, 255, 0.7);
  box-shadow: 0 11px 28px rgba(59, 49, 106, 0.09);
  color: #7066d3;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.orchestration-node img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.orchestration-node > b {
  position: absolute;
  top: -3px;
  right: 5px;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border: 2px solid rgba(250, 250, 255, 0.98);
  border-radius: 50%;
  background: #7062dc;
  color: white;
  font-size: 8px;
  opacity: 0;
  transform: scale(0.7);
  animation: orchestration-v2-check-in 5.6s var(--cinema-v2-ease) calc(var(--orchestration-delay) + 1050ms) both;
}

.orchestration-benefits { top: 9%; left: 10%; }
.orchestration-intake { --orchestration-delay: 500ms; bottom: 8%; left: 10%; }
.orchestration-message { --orchestration-delay: 740ms; top: 9%; right: 10%; }
.orchestration-provider { --orchestration-delay: 980ms; right: 10%; bottom: 8%; }

@keyframes orchestration-v2-node-in {
  0%, 3% { opacity: 0; transform: translateY(7px) scale(0.95); }
  16%, 100% { opacity: 1; transform: none; }
}

@keyframes orchestration-v2-check-in {
  0%, 4% { opacity: 0; transform: scale(0.7); }
  16%, 100% { opacity: 1; transform: scale(1); }
}

.orchestration-core {
  position: absolute;
  z-index: 8;
  top: 50%;
  left: 50%;
  display: grid;
  width: 94px;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  aspect-ratio: 1;
  place-content: center;
  justify-items: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(243, 243, 255, 0.76);
  box-shadow: 0 17px 44px rgba(70, 54, 139, 0.14), inset 0 0 28px rgba(109, 95, 219, 0.07);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
  animation: orchestration-v2-core-in 5.6s var(--cinema-v2-ease) 280ms both;
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  backdrop-filter: blur(20px) saturate(145%);
}

body.product-page .workspace-insight.is-active .orchestrator-action-viz > .orchestration-core {
  min-height: 0;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  align-items: initial;
  gap: 0;
  padding: 0;
  border-bottom: 0;
  animation: orchestration-v2-core-in 5.6s var(--cinema-v2-ease) 280ms both;
}

.orchestration-core > i {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: rgba(117, 98, 224, 0.08);
}

.orchestration-core img { width: 35px; height: 35px; object-fit: contain; }

.orchestration-core > b {
  display: flex;
  gap: 4px;
  margin-top: 7px;
}

.orchestration-core > b em {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7762df;
  opacity: 0;
  animation: orchestration-v2-core-dot 5.6s var(--cinema-v2-ease) 1460ms both;
}

.orchestration-core > b em:nth-child(2) { animation-delay: 1700ms; }
.orchestration-core > b em:nth-child(3) { animation-delay: 1940ms; }
.orchestration-core > b em:nth-child(4) { animation-delay: 2180ms; }

.orchestration-core-ring {
  position: absolute;
  inset: -15px;
  border: 1px dashed rgba(111, 95, 222, 0.25);
  border-radius: 50%;
  animation: orchestration-v2-core-ring 9s linear infinite;
}

.orchestration-core-ring.ring-two {
  inset: -30px;
  border-style: solid;
  opacity: 0.45;
  animation-direction: reverse;
  animation-duration: 12s;
}

@keyframes orchestration-v2-core-in {
  0%, 3% { opacity: 0; transform: translate(-50%, -50%) scale(0.92); }
  16%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes orchestration-v2-core-dot {
  0%, 4% { opacity: 0; transform: scale(0.6); }
  16%, 100% { opacity: 1; transform: scale(1); }
}

@keyframes orchestration-v2-core-ring {
  to { transform: rotate(360deg); }
}

.orchestration-gate {
  position: absolute;
  z-index: 9;
  top: 62%;
  left: 73%;
  display: grid;
  width: 70px;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  justify-items: center;
  gap: 6px;
  color: #655b78;
  opacity: 0;
  transform: scale(0.92);
  animation: orchestration-v2-gate-in 5.6s var(--cinema-v2-ease) 2860ms both;
}

body.product-page .workspace-insight.is-active .orchestrator-action-viz > .orchestration-gate {
  min-height: 0;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  align-items: initial;
  gap: 6px;
  padding: 0;
  border: 0;
  animation: orchestration-v2-gate-in 5.6s var(--cinema-v2-ease) 2860ms both;
}

.orchestration-gate > span {
  position: absolute;
  top: -7px;
  width: 66px;
  height: 66px;
  border: 1px solid rgba(111, 95, 222, 0.26);
  border-radius: 50%;
  animation: orchestration-v2-gate-pulse 1.9s ease-out infinite;
}

body.product-page .orchestrator-action-viz > .orchestration-gate > span {
  top: -7px;
  width: 66px;
  height: 66px;
  border: 1px solid rgba(111, 95, 222, 0.26);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.orchestration-gate > i {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(247, 247, 255, 0.8);
  box-shadow: 0 13px 34px rgba(62, 49, 123, 0.13);
  color: #6e5ed5;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.orchestration-gate svg { width: 26px; }

@keyframes orchestration-v2-gate-in {
  0%, 4% { opacity: 0; transform: scale(0.92); }
  18%, 100% { opacity: 1; transform: scale(1); }
}

@keyframes orchestration-v2-gate-pulse {
  from { opacity: 0.62; transform: scale(0.86); }
  to { opacity: 0; transform: scale(1.18); }
}

.orchestration-event {
  position: absolute;
  z-index: 8;
  top: 65%;
  right: 2.5%;
  display: grid;
  width: 82px;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  color: var(--cinema-v2-ink);
  opacity: 0;
  transform: translateX(9px) scale(0.94);
  animation: orchestration-v2-event-in 5.6s var(--cinema-v2-ease) 3840ms both;
}

body.product-page .workspace-insight.is-active .orchestrator-action-viz > .orchestration-event {
  min-height: 0;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  animation: orchestration-v2-event-in 5.6s var(--cinema-v2-ease) 3840ms both;
}

.orchestration-event > img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 8px 22px rgba(57, 47, 103, 0.12);
}

.orchestration-event time,
.orchestration-event small,
.orchestration-event strong {
  display: block;
  font-style: normal;
}

.orchestration-event small {
  color: #7a7187;
  font-size: 6px;
  font-weight: 720;
  letter-spacing: 0.08em;
}

.orchestration-event strong {
  margin-top: 2px;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.orchestration-event > i {
  position: absolute;
  top: -8px;
  left: 25px;
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border: 2px solid white;
  border-radius: 50%;
  background: #7062dd;
  color: white;
  font-size: 8px;
  font-style: normal;
}

@keyframes orchestration-v2-event-in {
  0%, 4% { opacity: 0; transform: translateX(9px) scale(0.94); }
  18%, 100% { opacity: 1; transform: none; }
}

.orchestration-packet { display: none; }

@media (max-width: 820px) {
  .decoder-context-signal { width: 54px; }
  .decoder-context-signal > i { width: 38px; height: 38px; }
  .decoder-lens { width: 94px; }
  .decoder-outcome-need { right: 3%; gap: 8px; }
  .decoder-outcome-need > i { width: 64px; height: 64px; }
  .decoder-outcome-need strong { width: 70px; font-size: 9px; }
  .decoder-outcome-advice { right: 11%; }
  .decoder-outcome-diagnosis { right: 9%; }
  .stop-advice, .stop-diagnosis { left: 66%; }

  .gate-funded { left: 25%; }
  .gate-eligible { left: 39%; }
  .gate-skilled { left: 51%; }
  .gate-available { right: 20%; }
  .router-match-node { right: 1%; }

  .orchestration-benefits, .orchestration-intake { left: 7%; }
  .orchestration-message, .orchestration-provider { right: 7%; }
  .orchestration-gate { left: 70%; }
  .orchestration-event { right: 1%; }
}

@media (max-width: 640px) {
  .decoder-context-signal { left: 3%; width: 48px; }
  .decoder-context-signal > i { width: 34px; height: 34px; }
  .decoder-context-signal small { font-size: 5px; }
  .decoder-context-signal svg { width: 17px; }
  .decoder-lens { left: 43%; width: 82px; }
  .decoder-lens-ring.ring-two { display: none; }
  .decoder-outcome-advice { top: 9%; right: 5%; }
  .decoder-outcome-diagnosis { right: 3%; bottom: 12%; }
  .decoder-outcome > i { width: 38px; height: 38px; }
  .decoder-outcome-need { right: 1%; display: grid; justify-items: center; }
  .decoder-outcome-need > i { width: 58px; height: 58px; }
  .decoder-outcome-need span { text-align: center; }
  .decoder-outcome-need strong { width: 74px; }
  .decoder-branch-stop { display: none; }

  .router-need-node { left: 1%; }
  .router-gate { width: 48px; }
  .router-gate > i { width: 32px; height: 32px; }
  .router-gate svg { width: 17px; }
  .gate-funded { top: 22%; left: 22%; }
  .gate-eligible { bottom: 12%; left: 37%; }
  .gate-skilled { top: 44%; left: 50%; }
  .gate-available { right: 19%; bottom: 16%; }
  .router-match-node { right: -1%; width: 72px; }
  .router-match-node > i { width: 56px; height: 56px; }
  .router-match-ring { top: -6px; width: 68px; height: 68px; }
  .router-match-ring.ring-b { display: none; }
  .router-route-beacon { display: none; }

  .orchestration-node { width: 56px; }
  .orchestration-node > i { width: 38px; height: 38px; border-radius: 11px; }
  .orchestration-node small { font-size: 5px; }
  .orchestration-benefits, .orchestration-intake { left: 3%; }
  .orchestration-message, .orchestration-provider { right: 3%; }
  .orchestration-core { width: 78px; }
  .orchestration-core > i { width: 40px; height: 40px; }
  .orchestration-core img { width: 30px; height: 30px; }
  .orchestration-core-ring.ring-two { display: none; }
  .orchestration-gate { top: 60%; left: 67%; width: 58px; }
  .orchestration-gate > i { width: 44px; height: 44px; }
  .orchestration-gate > span { width: 56px; height: 56px; }
  .orchestration-event { top: 76%; right: 2%; width: 70px; }
  .orchestration-event > img { width: 30px; height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .decoder-context-lines path,
  .decoder-need-line,
  .decoder-rejected-line,
  .decoder-context-signal,
  .decoder-lens,
  .decoder-lens-ring,
  .decoder-lens > i b,
  .decoder-outcome,
  .decoder-branch-stop,
  body.product-page .router-cinema-field .router-graph-canvas,
  .router-best-route path,
  .router-need-node,
  .router-need-node > span,
  .router-gate,
  .router-gate > b,
  .router-match-node,
  .router-match-ring,
  .router-route-beacon,
  .orchestration-input-paths path,
  .orchestration-ready-path,
  .orchestration-approved-path,
  .orchestration-node,
  .orchestration-node > b,
  .orchestration-core,
  .orchestration-core-ring,
  .orchestration-core > b em,
  .orchestration-gate,
  .orchestration-gate > span,
  .orchestration-event {
    animation: none !important;
  }

  .decoder-context-signal,
  .decoder-lens,
  .decoder-outcome,
  .decoder-branch-stop,
  body.product-page .router-cinema-field .router-graph-canvas,
  .router-need-node,
  .router-gate,
  .router-gate > b,
  .router-match-node,
  .router-route-beacon,
  .orchestration-node,
  .orchestration-node > b,
  .orchestration-core,
  .orchestration-core > b em,
  .orchestration-gate,
  .orchestration-event {
    opacity: 1 !important;
  }

  .decoder-lens,
  .orchestration-core { transform: translate(-50%, -50%) !important; }
  .decoder-outcome-need { transform: translateY(-50%) !important; }
  .router-best-route path,
  .decoder-flow-lines path,
  .orchestration-weave path { stroke-dashoffset: 0 !important; opacity: 1 !important; }
  .decoder-flow-dot,
  .router-route-dot,
  .orchestration-flow-dot { display: none; }
}
