.business-transformation-diagram {
  width: min(640px, 100%);
  min-width: 0;
  margin: 0;
  justify-self: end;
}

.transformation-artwork {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  font-family: var(--font-sans);
}

.transformation-field {
  fill: url(#transformation-field);
}

.transformation-half-line,
.transformation-reference-rings,
.transformation-boundary {
  stroke: rgba(112, 104, 94, 0.2);
  stroke-width: 0.8;
}

.transformation-reference-rings {
  stroke-dasharray: 2 7;
}

.transformation-boundary {
  stroke: rgba(36, 79, 60, 0.65);
  stroke-width: 1.35;
}

.complexity-network {
  stroke: rgba(92, 84, 75, 0.42);
  stroke-linecap: round;
  stroke-width: 0.9;
}

.complexity-links {
  stroke: rgba(82, 76, 68, 0.55);
  stroke-width: 0.85;
}

.complexity-nodes,
.complexity-fragments {
  fill: rgba(104, 96, 85, 0.72);
}

.ordered-paths {
  stroke: rgba(36, 79, 60, 0.58);
  stroke-linecap: round;
  stroke-width: 1.3;
}

.ordered-nodes {
  fill: var(--color-accent);
  stroke: var(--color-surface);
  stroke-width: 1.5;
}

.flow-particles {
  fill: var(--color-accent);
  filter: drop-shadow(0 0 4px rgba(36, 79, 60, 0.34));
  opacity: 0;
}

.boundary-markers {
  fill: var(--color-accent);
  stroke: var(--color-canvas);
  stroke-width: 1.5;
}

.operation-icons > g > rect,
.outcome-disc {
  fill: var(--color-surface);
  stroke: rgba(120, 110, 98, 0.18);
  stroke-width: 1;
}

.operation-icons > g {
  stroke: rgba(102, 93, 82, 0.82);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.outcome-icon {
  stroke: var(--color-accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.outcome text {
  fill: var(--color-accent);
  font-size: 15px;
  font-weight: 760;
  letter-spacing: 0.8px;
  paint-order: stroke fill;
  stroke: #e5ede6;
  stroke-linejoin: round;
  stroke-width: 6px;
}

.mobile-outcome-labels {
  display: none;
}

.mobile-background-wiring {
  display: none;
}

.transformation-core > circle:first-child {
  fill: url(#transformation-core);
  stroke: rgba(255, 253, 248, 0.95);
  stroke-width: 8;
}

.transformation-core .core-reference {
  stroke: rgba(36, 79, 60, 0.17);
  stroke-width: 0.8;
}

.core-pulse-rings {
  fill: none;
  stroke: rgba(36, 79, 60, 0.24);
  stroke-width: 1.25;
  pointer-events: none;
}

.core-pulse-rings circle {
  opacity: 0;
}

.core-content rect {
  fill: var(--color-accent);
}

.core-mark {
  fill: var(--color-accent-ink);
  font-size: 37px;
  font-weight: 790;
}

.core-name {
  fill: var(--color-accent);
  font-size: 18px;
  font-weight: 780;
  letter-spacing: 2.3px;
}

.transformation-summary {
  display: grid;
  grid-template-columns: max-content minmax(60px, 84px) max-content;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  margin: 24px auto 0;
}

.transformation-summary-state {
  color: var(--color-text-soft);
  font-size: clamp(0.8rem, 0.9vw, 0.9rem);
  font-weight: 580;
  line-height: 1.4;
  letter-spacing: 0.005em;
  white-space: nowrap;
}

.transformation-summary-state--after {
  color: var(--color-accent);
  font-weight: 650;
}

.transformation-summary-arrow {
  position: relative;
  width: 100%;
  height: 12px;
}

.transformation-summary-arrow::before {
  position: absolute;
  top: 50%;
  right: 3px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(112, 104, 94, 0.42), var(--color-accent));
  content: "";
}

.transformation-summary-arrow::after {
  position: absolute;
  top: 50%;
  right: 1px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--color-accent);
  border-right: 1px solid var(--color-accent);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.has-js .business-transformation-diagram .complexity-network path,
.has-js .business-transformation-diagram .complexity-links path {
  opacity: 0;
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
}

.has-js .business-transformation-diagram .operation-icons > g,
.has-js .business-transformation-diagram .transformation-core,
.has-js .business-transformation-diagram .core-content {
  opacity: 0;
}

.has-js .business-transformation-diagram .transformation-core,
.has-js .business-transformation-diagram .core-content {
  transform: scale(0.86);
  transform-box: view-box;
  transform-origin: 350px 331px;
}

.has-js .business-transformation-diagram .ordered-paths path {
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
}

.has-js .business-transformation-diagram .outcome {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.has-js .business-transformation-diagram.is-diagram-active .complexity-network path,
.has-js .business-transformation-diagram.is-diagram-active .complexity-links path {
  animation: transformation-network-in 1.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.has-js .business-transformation-diagram.is-diagram-active .complexity-network path:nth-child(2),
.has-js .business-transformation-diagram.is-diagram-active .complexity-links path:nth-child(2) { animation-delay: 70ms; }
.has-js .business-transformation-diagram.is-diagram-active .complexity-network path:nth-child(3),
.has-js .business-transformation-diagram.is-diagram-active .complexity-links path:nth-child(3) { animation-delay: 140ms; }
.has-js .business-transformation-diagram.is-diagram-active .complexity-network path:nth-child(4) { animation-delay: 210ms; }
.has-js .business-transformation-diagram.is-diagram-active .complexity-network path:nth-child(5) { animation-delay: 280ms; }
.has-js .business-transformation-diagram.is-diagram-active .complexity-network path:nth-child(6) { animation-delay: 350ms; }
.has-js .business-transformation-diagram.is-diagram-active .complexity-network path:nth-child(7) { animation-delay: 420ms; }

.has-js .business-transformation-diagram.is-diagram-active .operation-icons > g {
  animation:
    transformation-icon-in 640ms cubic-bezier(0.22, 1, 0.36, 1) forwards,
    transformation-icon-float 5.8s ease-in-out infinite;
}

.has-js .business-transformation-diagram.is-diagram-active .operation-icons > g:nth-child(1) { animation-delay: 240ms, 1.2s; }
.has-js .business-transformation-diagram.is-diagram-active .operation-icons > g:nth-child(2) { animation-delay: 330ms, 1.55s; }
.has-js .business-transformation-diagram.is-diagram-active .operation-icons > g:nth-child(3) { animation-delay: 420ms, 1.9s; }
.has-js .business-transformation-diagram.is-diagram-active .operation-icons > g:nth-child(4) { animation-delay: 510ms, 2.25s; }
.has-js .business-transformation-diagram.is-diagram-active .operation-icons > g:nth-child(5) { animation-delay: 600ms, 2.6s; }

.has-js .business-transformation-diagram.is-diagram-active .transformation-core,
.has-js .business-transformation-diagram.is-diagram-active .core-content {
  animation: transformation-core-in 760ms 380ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.has-js .business-transformation-diagram.is-diagram-active .ordered-paths path {
  animation: transformation-path-in 1.05s 720ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.has-js .business-transformation-diagram.is-diagram-active .ordered-paths path:nth-child(2) { animation-delay: 800ms; }
.has-js .business-transformation-diagram.is-diagram-active .ordered-paths path:nth-child(3) { animation-delay: 880ms; }
.has-js .business-transformation-diagram.is-diagram-active .ordered-paths path:nth-child(4) { animation-delay: 960ms; }
.has-js .business-transformation-diagram.is-diagram-active .ordered-paths path:nth-child(5) { animation-delay: 1040ms; }
.has-js .business-transformation-diagram.is-diagram-active .ordered-paths path:nth-child(6) { animation-delay: 1120ms; }
.has-js .business-transformation-diagram.is-diagram-active .ordered-paths path:nth-child(7) { animation-delay: 1200ms; }

.has-js .business-transformation-diagram.is-diagram-active .outcome {
  animation: transformation-outcome-in 600ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.has-js .business-transformation-diagram.is-diagram-active .outcome-clarity { animation-delay: 1300ms; }
.has-js .business-transformation-diagram.is-diagram-active .outcome-efficiency { animation-delay: 1450ms; }
.has-js .business-transformation-diagram.is-diagram-active .outcome-growth { animation-delay: 1600ms; }

.has-js .business-transformation-diagram.is-diagram-active .flow-particles {
  animation: transformation-flow-in 400ms 1750ms ease-out forwards;
}

.has-js .business-transformation-diagram.is-diagram-active .transformation-boundary {
  animation: transformation-boundary-pulse 4.8s 600ms ease-in-out infinite;
}

.has-js .business-transformation-diagram.is-diagram-active .boundary-markers {
  animation: transformation-boundary-orbit 22s 800ms linear infinite;
  transform-box: view-box;
  transform-origin: 350px 331px;
}

.has-js .business-transformation-diagram.is-diagram-active .core-pulse-rings circle {
  animation: transformation-core-pulse 4.6s 1.9s ease-out infinite;
  transform-box: view-box;
  transform-origin: 350px 331px;
}

.has-js .business-transformation-diagram.is-diagram-active .core-pulse-rings circle:nth-child(2) {
  animation-delay: 4.2s;
}

.ordered-nodes circle:nth-child(3n + 1) {
  animation: transformation-node-pulse 5.5s ease-in-out infinite;
}

@keyframes transformation-network-in {
  0% { opacity: 0; stroke-dashoffset: 520; }
  100% { opacity: 1; stroke-dashoffset: 0; }
}

@keyframes transformation-path-in {
  to { stroke-dashoffset: 0; }
}

@keyframes transformation-outcome-in {
  from { opacity: 0; scale: 0.84; translate: -8px 0; }
  to { opacity: 1; scale: 1; translate: 0 0; }
}

@keyframes transformation-icon-in {
  from { opacity: 0; translate: -10px 0; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes transformation-icon-float {
  0%, 100% { translate: var(--icon-offset-x, 0) var(--icon-offset-y, 0); }
  50% { translate: var(--icon-offset-x, 0) calc(var(--icon-offset-y, 0px) - 3px); }
}

@keyframes transformation-core-in {
  from { opacity: 0; transform: scale(0.86); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes transformation-flow-in {
  to { opacity: 1; }
}

@keyframes transformation-boundary-pulse {
  0%, 100% {
    stroke: rgba(36, 79, 60, 0.65);
    stroke-width: 1.35;
  }
  50% {
    stroke: rgba(36, 79, 60, 0.95);
    stroke-width: 2.1;
  }
}

@keyframes transformation-boundary-orbit {
  to { transform: rotate(360deg); }
}

@keyframes transformation-core-pulse {
  0% { opacity: 0; transform: scale(0.98); }
  18% { opacity: 0.45; }
  72%, 100% { opacity: 0; transform: scale(1.38); }
}

@keyframes transformation-node-pulse {
  50% { opacity: 0.42; }
}

@media (max-width: 1220px) {
  .business-transformation-diagram {
    width: min(620px, 100%);
    margin-inline: auto;
    justify-self: center;
  }
}

@media (max-width: 900px) {
  .business-transformation-diagram {
    order: 4;
    width: min(520px, 100%);
    margin-inline: auto;
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .business-transformation-diagram {
    width: min(430px, calc(100vw - 64px));
    max-width: calc(100vw - 64px);
    margin-inline: auto;
    padding-block: 16px;
  }

  .operation-icon-minor,
  .complexity-fragments {
    display: none;
  }

  .outcomes {
    display: none;
  }

  .ordered-paths,
  .ordered-nodes,
  .flow-particles {
    display: none;
  }

  .mobile-background-wiring {
    display: block;
    stroke: rgba(36, 79, 60, 0.2);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1;
  }

  .mobile-background-wiring path:nth-child(even) {
    stroke-dasharray: 3 7;
  }

  .mobile-background-wiring-nodes {
    fill: rgba(36, 79, 60, 0.25);
    stroke: none;
  }

  .mobile-outcome-labels {
    display: block;
    fill: var(--color-accent);
  }

  .mobile-outcome-labels text {
    font-size: 24px;
    font-weight: 780;
    letter-spacing: 0.7px;
    paint-order: stroke fill;
    stroke: #e5ede6;
    stroke-width: 5px;
    stroke-linejoin: round;
    text-anchor: middle;
  }

  .operation-icons > g {
    transform-box: fill-box;
    transform-origin: center;
    scale: 1.2097;
    stroke-width: 2.4;
  }

  .operation-icons > g:nth-child(1) {
    --icon-offset-x: -12.8px;
    --icon-offset-y: -61px;
  }

  .operation-icons > g:nth-child(2) {
    --icon-offset-x: -12.5px;
    --icon-offset-y: -63px;
  }

  .operation-icons > g:nth-child(3) {
    --icon-offset-x: -13px;
    --icon-offset-y: -65px;
  }

  .has-js .business-transformation-diagram .operation-icons > g:not(.operation-icon-minor) {
    opacity: 1;
  }

  .has-js .business-transformation-diagram.is-diagram-active .operation-icons > g:not(.operation-icon-minor) {
    animation: transformation-icon-float 5.8s ease-in-out infinite;
  }

  .outcome text {
    font-size: 16px;
  }

  .transformation-summary {
    display: none;
  }

  .transformation-summary-state {
    font-size: 0.8rem;
    white-space: normal;
  }

  .transformation-summary-arrow {
    width: 12px;
    height: 28px;
  }

  .transformation-summary-arrow::before {
    top: 0;
    right: auto;
    bottom: 3px;
    left: 50%;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(112, 104, 94, 0.42), var(--color-accent));
  }

  .transformation-summary-arrow::after {
    top: auto;
    right: auto;
    bottom: 1px;
    left: 50%;
    border-top: 0;
    border-right: 1px solid var(--color-accent);
    border-bottom: 1px solid var(--color-accent);
    transform: translateX(-50%) rotate(45deg);
  }
}

@media (max-width: 640px) and (max-height: 749px) {
  .business-transformation-diagram {
    order: 5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .business-transformation-diagram .flow-particles,
  .business-transformation-diagram .core-pulse-rings {
    display: none;
  }

  .business-transformation-diagram *,
  .has-js .business-transformation-diagram * {
    animation: none !important;
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
    transition: none !important;
  }
}
