/* ════════════════════════════════════════════════════════
   PROCESS FLOW DIAGRAMS & DATA VISUALIZATIONS
   Brand: Navy #1C2B4A | Gold #A8842C | Pink #D76388
   ════════════════════════════════════════════════════════ */

/* ── Shared Diagram Styles ── */
.diagram-section {
  padding: var(--space-16) 0;
  position: relative;
  overflow: hidden;
}
.diagram-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ── 1. END-TO-END REFERRAL PIPELINE ── */
.pipeline-flow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  margin-top: var(--space-10);
  position: relative;
}
.pipeline-flow__connector {
  position: absolute;
  top: 52px;
  left: 60px;
  right: 60px;
  height: 3px;
  background: rgba(168,132,44,0.15);
  z-index: 0;
}
.pipeline-flow__connector-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #A8842C, #D76388);
  border-radius: 2px;
  transition: width 1.8s cubic-bezier(0.22,1,0.36,1);
}
.pipeline-flow.is-visible .pipeline-flow__connector-fill {
  width: 100%;
}
.pipeline-flow__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.pipeline-flow.is-visible .pipeline-flow__step {
  opacity: 1;
  transform: translateY(0);
}
.pipeline-flow.is-visible .pipeline-flow__step:nth-child(2) { transition-delay: 0.2s; }
.pipeline-flow.is-visible .pipeline-flow__step:nth-child(3) { transition-delay: 0.4s; }
.pipeline-flow.is-visible .pipeline-flow__step:nth-child(4) { transition-delay: 0.6s; }
.pipeline-flow.is-visible .pipeline-flow__step:nth-child(5) { transition-delay: 0.8s; }
.pipeline-flow.is-visible .pipeline-flow__step:nth-child(6) { transition-delay: 1.0s; }

.pipeline-flow__node {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  position: relative;
  background: rgba(168,132,44,0.08);
  border: 2px solid rgba(168,132,44,0.25);
  transition: all 0.5s ease;
}
.pipeline-flow.is-visible .pipeline-flow__node {
  background: rgba(168,132,44,0.12);
  border-color: #A8842C;
  box-shadow: 0 0 24px rgba(168,132,44,0.15);
}
.pipeline-flow__node svg {
  width: 32px;
  height: 32px;
  color: #A8842C;
}
.pipeline-flow__node::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(168,132,44,0.1);
}
.pipeline-flow.is-visible .pipeline-flow__node::after {
  border-color: rgba(168,132,44,0.3);
  animation: node-pulse 2.5s ease-in-out infinite;
}
@keyframes node-pulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.12); opacity: 0.6; }
}
.pipeline-flow__label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.pipeline-flow__time {
  font-family: var(--font-body);
  font-size: 11px;
  color: #D76388;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pipeline-flow__desc {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  line-height: 1.4;
  max-width: 140px;
}

/* ── 2. PERFORMANCE COMPARISON BARS ── */
.comparison-chart {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.comparison-chart__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: var(--space-4);
  align-items: center;
}
.comparison-chart__label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: #fff;
  text-align: right;
}
.comparison-chart__bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.comparison-chart__bar {
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  position: relative;
  overflow: hidden;
  width: 0%;
  transition: width 1.2s cubic-bezier(0.22,1,0.36,1);
}
.comparison-chart__bar--traditional {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
}
.comparison-chart__bar--pip {
  background: linear-gradient(90deg, #D76388, #A8842C);
  box-shadow: 0 2px 12px rgba(215,99,136,0.3);
}
.comparison-chart.is-visible .comparison-chart__bar {
  width: var(--bar-width);
}
.comparison-chart__bar-label {
  white-space: nowrap;
  z-index: 1;
}
.comparison-chart__bar-tag {
  display: inline-block;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.comparison-chart__bar-tag--trad {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.4);
}
.comparison-chart__bar-tag--pip {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* ── 3. KPI METRICS STRIP ── */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.metrics-strip__card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(168,132,44,0.15);
  border-radius: 12px;
  padding: var(--space-6) var(--space-4);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.metrics-strip__card:hover {
  border-color: rgba(168,132,44,0.4);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}
.metrics-strip__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #A8842C, #D76388);
  border-radius: 0 0 2px 2px;
}
.metrics-strip__number {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.metrics-strip__number .metrics-strip__accent {
  color: #D76388;
}
.metrics-strip__label {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}
.metrics-strip__trend {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  color: #2dd4a8;
  margin-top: 6px;
}
.metrics-strip__sparkline {
  width: 100%;
  height: 24px;
  margin-top: 8px;
}
.metrics-strip__sparkline path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 1.5s ease;
}
.metrics-strip.is-visible .metrics-strip__sparkline path {
  stroke-dashoffset: 0;
}

/* ── 4. THREE-AUDIENCE HUB DIAGRAM ── */
.hub-diagram {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: var(--space-10) auto 0;
  aspect-ratio: 1;
}
.hub-diagram__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(28, 43, 74, 0.9);
  border: 1.5px solid rgba(168,132,44,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(168,132,44,0.08), 0 0 20px rgba(168,132,44,0.12);
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hub-diagram.is-visible .hub-diagram__center {
  opacity: 1;
}
.hub-diagram__center-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #A8842C;
  text-align: center;
  line-height: 1.2;
}
.hub-diagram__center-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}
.hub-diagram__spoke {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hub-diagram.is-visible .hub-diagram__spoke {
  opacity: 1;
  transform: translate(0, 0) !important;
}
.hub-diagram__spoke--attorneys {
  top: 5%;
  left: 50%;
  transform: translate(-50%, 20px) !important;
}
.hub-diagram.is-visible .hub-diagram__spoke--attorneys {
  transform: translate(-50%, 0) !important;
}
.hub-diagram__spoke--physicians {
  bottom: 12%;
  left: 8%;
  transform: translate(-20px, 0) !important;
}
.hub-diagram.is-visible .hub-diagram__spoke--physicians {
  transform: translate(0, 0) !important;
}
.hub-diagram__spoke--imaging {
  bottom: 12%;
  right: 8%;
  transform: translate(20px, 0) !important;
}
.hub-diagram.is-visible .hub-diagram__spoke--imaging {
  transform: translate(0, 0) !important;
}
.hub-diagram__spoke-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(28,43,74,0.9);
  border: 2px solid rgba(168,132,44,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.hub-diagram__spoke-icon svg {
  width: 28px;
  height: 28px;
  color: #A8842C;
}
.hub-diagram__spoke-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.hub-diagram__spoke-items {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  font-size: 12px; /* audit fix: was 11px */
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
}
.hub-diagram__spoke-items li::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #D76388;
  margin-right: 6px;
  vertical-align: middle;
}
.hub-diagram__lines {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hub-diagram__lines line {
  stroke: rgba(168,132,44,0.2);
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
}
.hub-diagram.is-visible .hub-diagram__lines line {
  animation: dash-flow 2s linear infinite;
}
@keyframes dash-flow {
  to { stroke-dashoffset: -20; }
}
/* Service connection labels on lines */
.hub-diagram__service-tags {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.hub-diagram__service-tag {
  position: absolute;
  background: rgba(28,43,74,0.95);
  border: 1px solid rgba(168,132,44,0.3);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 9px;
  font-weight: 600;
  color: #A8842C;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* ── 5. DONUT CHARTS ── */
.donut-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
}
.donut-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(168,132,44,0.12);
  border-radius: 16px;
  padding: var(--space-6);
  text-align: center;
}
.donut-card__chart {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-4);
  position: relative;
}
.donut-card__chart svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.donut-card__chart circle {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}
.donut-card__chart .donut-bg {
  stroke: rgba(255,255,255,0.06);
}
.donut-card__chart .donut-fill {
  stroke: #D76388;
  stroke-dasharray: var(--circumference);
  stroke-dashoffset: var(--circumference);
  transition: stroke-dashoffset 1.5s cubic-bezier(0.22,1,0.36,1);
}
.donut-card__chart .donut-fill--gold {
  stroke: #A8842C;
}
.donut-grid.is-visible .donut-card__chart .donut-fill {
  stroke-dashoffset: var(--target-offset);
}
.donut-card__value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}
.donut-card__label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.donut-card__sublabel {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.4;
}

/* ── 6. TIMELINE (72hr Transformation) ── */
.timeline-visual {
  position: relative;
  margin-top: var(--space-10);
  padding: 0 var(--space-4);
  max-width: 680px;
}
.timeline-visual__track {
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(168,132,44,0.12);
}
.timeline-visual__track-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, #A8842C, #D76388);
  border-radius: 2px;
  transition: height 2s cubic-bezier(0.22,1,0.36,1);
}
.timeline-visual.is-visible .timeline-visual__track-fill {
  height: 100%;
}
.timeline-visual__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
  padding-left: 64px;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.timeline-visual.is-visible .timeline-visual__item {
  opacity: 1;
  transform: translateY(0);
}
.timeline-visual.is-visible .timeline-visual__item:nth-child(2) { transition-delay: 0.3s; }
.timeline-visual.is-visible .timeline-visual__item:nth-child(3) { transition-delay: 0.6s; }
.timeline-visual.is-visible .timeline-visual__item:nth-child(4) { transition-delay: 0.9s; }
.timeline-visual.is-visible .timeline-visual__item:nth-child(5) { transition-delay: 1.2s; }

/* Remove alternating direction — all items left-aligned */
.timeline-visual__item:nth-child(even) {
  flex-direction: row;
  text-align: left;
}
.timeline-visual__dot {
  position: absolute;
  left: 20px;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1C2B4A;
  border: 3px solid #A8842C;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 12px rgba(168,132,44,0.3);
}
.timeline-visual__item:last-child .timeline-visual__dot {
  border-color: #D76388;
  box-shadow: 0 0 16px rgba(215,99,136,0.4);
}
.timeline-visual__content {
  flex: 1;
  max-width: 100%;
}
/* Hide the empty spacer content divs used in alternating layout */
.timeline-visual__item > .timeline-visual__content:empty {
  display: none;
}
.timeline-visual__hour {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: #D76388;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.timeline-visual__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.timeline-visual__desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}
.timeline-visual__item:nth-child(even) .timeline-visual__content {
  margin-left: 0;
}

/* ── 7. NETWORK STATS GRAPH (animated bar chart) ── */
.network-graph {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  margin-top: var(--space-8);
}
.network-graph__chart {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(168,132,44,0.12);
  border-radius: 16px;
  padding: var(--space-6);
}
.network-graph__title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 160px;
}
.bar-chart__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
}
.bar-chart__bar {
  width: 100%;
  max-width: 32px;
  border-radius: 4px 4px 0 0;
  height: 0%;
  transition: height 1.2s cubic-bezier(0.22,1,0.36,1);
  position: relative;
}
.bar-chart__bar--gold { background: linear-gradient(180deg, #A8842C, rgba(168,132,44,0.5)); }
.bar-chart__bar--pink { background: linear-gradient(180deg, #D76388, rgba(215,99,136,0.5)); }
.bar-chart__bar--white { background: linear-gradient(180deg, rgba(255,255,255,0.5), rgba(255,255,255,0.15)); }
.network-graph.is-visible .bar-chart__bar {
  height: var(--bar-h);
}
.bar-chart__label {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* area chart */
.area-chart {
  width: 100%;
  height: 160px;
}
.area-chart__fill {
  opacity: 0;
  transition: opacity 1s ease 0.3s;
}
.area-chart__line {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  transition: stroke-dashoffset 2s cubic-bezier(0.22,1,0.36,1);
}
.network-graph.is-visible .area-chart__fill { opacity: 1; }
.network-graph.is-visible .area-chart__line { stroke-dashoffset: 0; }

/* ── 8. FULL-WIDTH VISUAL DIVIDER ── */
.visual-divider {
  width: 100%;
  height: 280px;
  position: relative;
  overflow: hidden;
}
.visual-divider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.visual-divider::before,
.visual-divider::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 1;
}
.visual-divider::before { top: 0; background: linear-gradient(180deg, #1C2B4A, transparent); }
.visual-divider::after { bottom: 0; background: linear-gradient(0deg, #1C2B4A, transparent); }
.visual-divider--dark::before { background: linear-gradient(180deg, #151f33, transparent); }
.visual-divider--dark::after { bottom: 0; background: linear-gradient(0deg, #151f33, transparent); }

/* ── 9. PROCESS FLOWCHART (detailed) ── */
.flowchart {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.flowchart__card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(168,132,44,0.12);
  border-radius: 12px;
  padding: var(--space-5);
  position: relative;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.5s ease;
}
.flowchart.is-visible .flowchart__card {
  opacity: 1;
  transform: translateY(0);
}
.flowchart.is-visible .flowchart__card:nth-child(2) { transition-delay: 0.15s; }
.flowchart.is-visible .flowchart__card:nth-child(3) { transition-delay: 0.3s; }
.flowchart.is-visible .flowchart__card:nth-child(4) { transition-delay: 0.45s; }
.flowchart.is-visible .flowchart__card:nth-child(5) { transition-delay: 0.6s; }
.flowchart.is-visible .flowchart__card:nth-child(6) { transition-delay: 0.75s; }
.flowchart__card:hover {
  border-color: rgba(168,132,44,0.35);
  transform: translateY(-2px);
}
.flowchart__step-number {
  position: absolute;
  top: -10px;
  left: 16px;
  background: linear-gradient(135deg, #A8842C, #D76388);
  color: #fff;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flowchart__card-icon {
  color: #A8842C;
  margin-bottom: 8px;
}
.flowchart__card-icon svg { width: 22px; height: 22px; }
.flowchart__card-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.flowchart__card-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}
.flowchart__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(168,132,44,0.4);
}
.flowchart__arrow svg { width: 20px; height: 20px; }

/* ── 10. CIRCULAR CYCLE DIAGRAM ── */
.cycle-diagram {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1;
  margin: var(--space-10) auto 0;
}
.cycle-diagram__ring {
  position: absolute;
  inset: 0;
}
.cycle-diagram__ring svg {
  width: 100%;
  height: 100%;
}
.cycle-diagram__ring-bg {
  fill: none;
  stroke: rgba(168,132,44,0.08);
  stroke-width: 2.5;
}
.cycle-diagram__ring-fill {
  fill: none;
  stroke: url(#cycle-gradient);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: var(--circumference);
  stroke-dashoffset: var(--circumference);
  transition: stroke-dashoffset 2s cubic-bezier(0.22,1,0.36,1);
}
.cycle-diagram.is-visible .cycle-diagram__ring-fill {
  stroke-dashoffset: 0;
}
/* Rotating glow dot on the ring */
.cycle-diagram__orbit-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D76388;
  box-shadow: 0 0 14px rgba(215,99,136,0.6);
  opacity: 0;
  z-index: 3;
}
.cycle-diagram.is-visible .cycle-diagram__orbit-dot {
  opacity: 1;
  animation: orbit-spin 6s linear infinite;
}
@keyframes orbit-spin {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}

.cycle-diagram__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 30% 30%, rgba(168,132,44,0.15), rgba(28,43,74,0.95));
  border: 2px solid rgba(168,132,44,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 4;
  box-shadow: 0 0 50px rgba(168,132,44,0.15), inset 0 0 30px rgba(168,132,44,0.05);
  opacity: 0;
  transition: opacity 0.8s ease 0.4s;
}
.cycle-diagram.is-visible .cycle-diagram__center {
  opacity: 1;
}
.cycle-diagram__center-icon {
  color: #A8842C;
  margin-bottom: 4px;
}
.cycle-diagram__center-icon svg { width: 28px; height: 28px; }
.cycle-diagram__center-text {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.2;
}
.cycle-diagram__center-sub {
  font-size: 9px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Nodes positioned around the circle */
.cycle-diagram__node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.cycle-diagram.is-visible .cycle-diagram__node {
  opacity: 1;
  transform: translate(0,0) !important;
}
.cycle-diagram.is-visible .cycle-diagram__node:nth-child(2) { transition-delay: 0.3s; }
.cycle-diagram.is-visible .cycle-diagram__node:nth-child(3) { transition-delay: 0.5s; }
.cycle-diagram.is-visible .cycle-diagram__node:nth-child(4) { transition-delay: 0.7s; }
.cycle-diagram.is-visible .cycle-diagram__node:nth-child(5) { transition-delay: 0.9s; }
.cycle-diagram.is-visible .cycle-diagram__node:nth-child(6) { transition-delay: 1.1s; }
.cycle-diagram.is-visible .cycle-diagram__node:nth-child(7) { transition-delay: 1.3s; }

.cycle-diagram__node-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  border: 2px solid rgba(168,132,44,0.3);
  background: rgba(28,43,74,0.95);
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.cycle-diagram__node:hover .cycle-diagram__node-icon {
  border-color: #A8842C;
  box-shadow: 0 0 20px rgba(168,132,44,0.25), 0 4px 16px rgba(0,0,0,0.3);
  transform: scale(1.08);
}
.cycle-diagram__node-icon svg {
  width: 22px;
  height: 22px;
  color: #A8842C;
}
.cycle-diagram__node-icon--pink svg { color: #D76388; }
.cycle-diagram__node-icon--pink {
  border-color: rgba(215,99,136,0.3);
}
.cycle-diagram__node:hover .cycle-diagram__node-icon--pink {
  border-color: #D76388;
  box-shadow: 0 0 20px rgba(215,99,136,0.25), 0 4px 16px rgba(0,0,0,0.3);
}
.cycle-diagram__node-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  max-width: 100px;
}
.cycle-diagram__node-sublabel {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  max-width: 110px;
  line-height: 1.3;
  margin-top: 2px;
}
/* Direction arrows between nodes */
.cycle-diagram__arrow {
  position: absolute;
  z-index: 3;
  color: rgba(168,132,44,0.35);
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.5s ease 1.5s;
}
.cycle-diagram.is-visible .cycle-diagram__arrow {
  opacity: 1;
}

/* ── 11. SECONDARY CYCLE (Compact — for Services page) ── */
.mini-cycle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: var(--space-8);
  flex-wrap: wrap;
}
.mini-cycle__step {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.mini-cycle.is-visible .mini-cycle__step {
  opacity: 1;
  transform: translateX(0);
}
.mini-cycle.is-visible .mini-cycle__step:nth-child(2) { transition-delay: 0.15s; }
.mini-cycle.is-visible .mini-cycle__step:nth-child(3) { transition-delay: 0.3s; }
.mini-cycle.is-visible .mini-cycle__step:nth-child(4) { transition-delay: 0.45s; }
.mini-cycle.is-visible .mini-cycle__step:nth-child(5) { transition-delay: 0.6s; }
.mini-cycle.is-visible .mini-cycle__step:nth-child(6) { transition-delay: 0.75s; }
.mini-cycle.is-visible .mini-cycle__step:nth-child(7) { transition-delay: 0.9s; }

.mini-cycle__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(168,132,44,0.08);
  border: 1.5px solid rgba(168,132,44,0.25);
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.mini-cycle__step:hover .mini-cycle__icon {
  border-color: #A8842C;
  background: rgba(168,132,44,0.15);
}
.mini-cycle__icon svg {
  width: 20px;
  height: 20px;
  color: #A8842C;
}
.mini-cycle__text {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.mini-cycle__arrow {
  color: rgba(168,132,44,0.3);
  padding: 0 var(--space-2);
  flex-shrink: 0;
}
.mini-cycle__arrow svg { width: 18px; height: 18px; }
.mini-cycle__return-arrow {
  display: flex;
  justify-content: center;
  margin-top: var(--space-4);
  color: rgba(215,99,136,0.4);
  font-size: 12px;
  gap: var(--space-2);
  align-items: center;
}
.mini-cycle__return-arrow svg { width: 16px; height: 16px; }
.mini-cycle__return-label {
  font-family: var(--font-body);
  font-size: 12px; /* audit fix: min readable */
  color: rgba(215,99,136,0.7);
  font-style: italic;
}

/* ── 12. RADIAL STAT WHEEL ── */
.stat-wheel {
  position: relative;
  width: 280px;
  height: 280px;
  margin: var(--space-8) auto 0;
}
.stat-wheel__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(168,132,44,0.1);
}
.stat-wheel__ring--inner {
  inset: 30px;
  border-color: rgba(215,99,136,0.1);
}
.stat-wheel__center {
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  background: rgba(168,132,44,0.06);
  border: 2px solid rgba(168,132,44,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.stat-wheel__center-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: #fff;
}
.stat-wheel__center-label {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.stat-wheel__badge {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.stat-wheel.is-visible .stat-wheel__badge { opacity: 1; }
.stat-wheel__badge-value {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #D76388;
}
.stat-wheel__badge-label {
  font-size: 9px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  max-width: 70px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .cycle-diagram { max-width: 450px; }
  .cycle-diagram__center { width: 100px; height: 100px; }
  .cycle-diagram__center-text { font-size: 11px; }
  .cycle-diagram__node-icon { width: 44px; height: 44px; }
  .cycle-diagram__node-icon svg { width: 18px; height: 18px; }
  .cycle-diagram__node-label { font-size: 10px; max-width: 80px; }
  .cycle-diagram__node-sublabel { display: none; }
  
  .mini-cycle { gap: var(--space-2); }
  .mini-cycle__icon { width: 40px; height: 40px; }
  .mini-cycle__text { font-size: 11px; }
  
  .stat-wheel { width: 220px; height: 220px; }
  .stat-wheel__center-value { font-size: 24px; }
  
  .pipeline-flow {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-6);
  }
  .pipeline-flow__connector { display: none; }
  .pipeline-flow__step { flex: 0 0 30%; }
  
  .metrics-strip { grid-template-columns: repeat(2, 1fr); }
  .donut-grid { grid-template-columns: repeat(2, 1fr); }
  .network-graph { grid-template-columns: 1fr; }
  .flowchart { grid-template-columns: 1fr 1fr; }
  
  .comparison-chart__row {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
  .comparison-chart__label { text-align: left; }
  
  .hub-diagram { max-width: 500px; }
  .hub-diagram__spoke-icon { width: 56px; height: 56px; }
  .hub-diagram__spoke-icon svg { width: 22px; height: 22px; }
  
  .timeline-visual__track { left: 20px; }
  .timeline-visual__dot { left: 20px; }
  .timeline-visual__item,
  .timeline-visual__item:nth-child(even) {
    flex-direction: row;
    text-align: left;
    padding-left: 50px;
  }
  .timeline-visual__content,
  .timeline-visual__item:nth-child(even) .timeline-visual__content {
    max-width: 100%;
    margin-left: 0;
  }
}
@media (max-width: 600px) {
  .pipeline-flow__step { flex: 0 0 45%; }
  .pipeline-flow__node { width: 64px; height: 64px; }
  .pipeline-flow__node svg { width: 24px; height: 24px; }
  
  .metrics-strip { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .metrics-strip__card { padding: var(--space-4); }
  
  .donut-grid { grid-template-columns: 1fr; }
  .flowchart { grid-template-columns: 1fr; }
  
  .hub-diagram { max-width: 340px; }
  .hub-diagram__center { width: 100px; height: 100px; }
  .hub-diagram__center-label { font-size: 11px; }
  
  .bar-chart { height: 120px; }
  .area-chart { height: 120px; }
}
