/* ═══════════════════════════════════════════════════════
   NDF ARCHITECTURE PAGE — Diagram Styles
   Only affects elements with class="arch-diagram"
   Does not touch existing page styles
   ═══════════════════════════════════════════════════════ */

.arch-diagram-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 2.5rem 0 3.5rem;
}

.arch-diagram {
  display: block;
  width: 100%;
  overflow: visible;
}

/* Neutral layer boxes (most layers) */
.arch-diagram .abox-neutral {
  fill: rgba(255, 255, 255, 0.025);
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 0.5;
}

/* NDF Core layer — teal accent */
.arch-diagram .abox-core {
  fill: rgba(10, 184, 204, 0.08);
  stroke: rgba(10, 184, 204, 0.55);
  stroke-width: 1;
}

/* Mission Outcomes — green accent */
.arch-diagram .abox-outcome {
  fill: rgba(69, 194, 122, 0.06);
  stroke: rgba(69, 194, 122, 0.38);
  stroke-width: 0.5;
}

/* Signed artifact — indigo accent */
.arch-diagram .abox-artifact {
  fill: rgba(83, 74, 183, 0.08);
  stroke: rgba(83, 74, 183, 0.42);
  stroke-width: 0.5;
}

/* Text classes */
.arch-diagram .atitle {
  font-family: 'Courier New', 'Consolas', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  fill: rgba(255, 255, 255, 0.85);
}

.arch-diagram .asub {
  font-family: 'Courier New', 'Consolas', monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
  fill: rgba(255, 255, 255, 0.42);
}

.arch-diagram .atitle-core { fill: rgba(10, 184, 204, 0.92); }
.arch-diagram .asub-core   { fill: rgba(10, 184, 204, 0.5); }
.arch-diagram .atitle-outcome { fill: rgba(69, 194, 122, 0.88); }
.arch-diagram .asub-outcome   { fill: rgba(69, 194, 122, 0.5); }
.arch-diagram .atitle-artifact { fill: rgba(140, 130, 220, 0.88); }

/* Arrows */
.arch-diagram .aflow {
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1;
  fill: none;
}

/* Mesh connectivity */
.arch-diagram .amesh-line {
  stroke: rgba(10, 184, 204, 0.4);
  stroke-width: 0.5;
  stroke-dasharray: 4 3;
}

.arch-diagram .amesh-node {
  fill: rgba(10, 184, 204, 0.12);
  stroke: rgba(10, 184, 204, 0.55);
  stroke-width: 0.5;
}

.arch-diagram .amesh-label {
  fill: rgba(10, 184, 204, 0.45);
  font-family: 'Courier New', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Caption */
.arch-diagram .acaption {
  font-family: 'Courier New', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  fill: rgba(255, 255, 255, 0.28);
}

/* Hover */
.arch-diagram g.anode {
  cursor: default;
  transition: opacity 0.2s ease;
}

.arch-diagram g.anode:hover {
  opacity: 0.82;
}

@media (max-width: 768px) {
  .arch-diagram-wrap {
    margin: 2rem 0;
  }
}
