.showcase-scenes {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  row-gap: .55rem;
  container-type: inline-size;
  min-width: 0;
}
.process-map {
  grid-column: 1 / span 8;
  display: block;
  width: 100%;
  height: auto;
  --scene-line: color-mix(in srgb, var(--scene-accent) 53%, var(--bg-subtle));
  --scene-panel: color-mix(in srgb, var(--bg-elevated) 93%, var(--scene-accent));
  color: var(--scene-accent);
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--scene-accent) 8%, transparent), transparent 71%);
}
.process-map[data-product="rw"] { --scene-accent: #ff9457; }
.process-map[data-product="sw"] { --scene-accent: #59dec0; grid-column: 5 / span 8; }
.process-map[data-product="wp"] { --scene-accent: #81aaff; grid-column: 2 / span 8; }
[data-theme="light"] .process-map[data-product="rw"] { --scene-accent: #ac521f; }
[data-theme="light"] .process-map[data-product="sw"] { --scene-accent: #137864; }
[data-theme="light"] .process-map[data-product="wp"] { --scene-accent: #416db8; }
.process-hub { stroke: currentColor; stroke-width: 1; }
.process-hub-core { fill: var(--scene-panel); stroke: var(--scene-line); }
.process-rotor {
  stroke: currentColor;
  stroke-width: 2.5;
  opacity: .85;
  transform-box: fill-box;
  transform-origin: center;
}
.process-rotor-inner { stroke-width: 1.75; opacity: .55; }
.process-panel { fill: var(--scene-panel); stroke: var(--scene-line); stroke-width: 1.7; stroke-linejoin: round; }
.process-inset { fill: var(--bg-primary); stroke: var(--scene-line); stroke-width: .8; }
.process-grid, .process-route { stroke: var(--scene-line); stroke-width: 1.35; }
.process-grid { opacity: .4; }
.process-ink { stroke: var(--text-muted); stroke-width: 2.5; stroke-linecap: round; }
.process-label {
  fill: var(--text-body); text-anchor: middle;
  font: 500 22px 'Outfit', sans-serif; letter-spacing: .1px;
}
@container (max-width: 470px) {
  .process-map[data-product="rw"] { grid-column: 1 / span 10; }
  .process-map[data-product="sw"] { grid-column: 3 / span 10; }
  .process-map[data-product="wp"] { grid-column: 2 / span 10; }
  .process-label { font-size: 26px; }
}
@container (max-width: 310px) {
  .process-label { font-size: 31px; }
}
.process-message { stroke: currentColor; stroke-width: 3; stroke-dasharray: 5 100; stroke-linecap: round; }
.process-result { transform-box: fill-box; transform-origin: center; }
.process-result circle { fill: var(--scene-panel); stroke: currentColor; stroke-width: 2; }
.process-result path, .diagnostic-trace, .brief-plot, .quote-signature {
  stroke: currentColor; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round;
}
.process-dot, .process-dots, .work-slots { fill: currentColor; }
.radar-echo { stroke: currentColor; stroke-width: 1; opacity: .25; transform-origin: 280px 148px; }
.work-slots rect { transform-box: fill-box; transform-origin: left; }
.work-slots rect:nth-child(2) { opacity: .8; }
.work-slots rect:nth-child(3) { opacity: .65; }

@media (prefers-reduced-motion: no-preference) {
  .showcase-scenes[data-running] .process-rotor {
    animation: process-rotate 14s linear infinite;
  }
  .showcase-scenes[data-running] .process-rotor-inner { animation-direction: reverse; }
  .showcase-scenes[data-running] .process-message {
    animation: process-transmit 2.5s linear infinite;
  }
  .showcase-scenes[data-running] :is(.diagnostic-trace, .quote-signature, .brief-plot) {
    stroke-dasharray: 1;
    animation: process-write 5.4s ease-in-out infinite;
  }
  .showcase-scenes[data-running] .brief-plot { animation-delay: -1.8s; }
  .showcase-scenes[data-running] .quote-signature { animation-delay: -3.6s; }
  .showcase-scenes[data-running] .radar-echo { animation: process-radar 3.6s ease-out infinite; }
  .showcase-scenes[data-running] .work-slots rect { animation: process-book 5.4s ease-in-out infinite; }
  .showcase-scenes[data-running] .work-slots rect:nth-child(2) { animation-delay: .25s; }
  .showcase-scenes[data-running] .work-slots rect:nth-child(3) { animation-delay: .5s; }
}
@keyframes process-rotate { to { transform: rotate(1turn); } }
@keyframes process-transmit { from { stroke-dashoffset: 105; } to { stroke-dashoffset: 0; } }
@keyframes process-write { 0%, 100% { stroke-dashoffset: .83; } 35%, 82% { stroke-dashoffset: 0; } }
@keyframes process-radar { from { opacity: .7; transform: scale(.85); } to { opacity: 0; transform: scale(1.42); } }
@keyframes process-book { 0%, 100% { transform: scaleX(.56); } 40%, 83% { transform: scaleX(1); } }
