/* NOR-90 article-only system: ivory, ink and sand. */
.close-finding strong { color: #16191d; }

.close-cuts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 34px 0 44px;
  border-block: 1px solid #e2e5ea;
}
.close-cuts > div { padding: 23px 18px; }
.close-cuts > div + div { border-left: 1px solid #e2e5ea; }
.close-cuts strong {
  display: block;
  color: #0d0f12;
  font-size: clamp(26px, 5vw, 40px);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.045em;
  line-height: 1;
}
.close-cuts span {
  display: block;
  margin-top: 10px;
  color: #5e646e;
  font-size: 12px;
  line-height: 1.5;
}

.close-clocks {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 28px 0 40px;
  border-block: 1px solid #e2e5ea;
}
.close-clocks > div { padding: 19px 12px; }
.close-clocks > div + div { border-left: 1px solid #e2e5ea; }
.close-clocks span,
.close-clocks strong,
.close-clocks small { display: block; }
.close-clocks span {
  color: #5e646e;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
}
.close-clocks strong { margin: 8px 0 6px; color: #0d0f12; font-size: 13px; }
.close-clocks small { color: #5e646e; font-size: 11px; line-height: 1.45; }

.close-explainer {
  margin: 34px 0 46px;
  padding: 28px 0 14px;
  border-block: 1px solid #9ea4b0;
  outline: none;
}
.close-explainer:focus-visible { outline: 3px solid #5e646e; outline-offset: 5px; }
.close-explainer-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, .85fr);
  gap: 28px;
  align-items: end;
}
.close-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #5e646e;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .11em;
}
.blog-article .close-explainer h3 {
  margin: 0;
  color: #0d0f12;
  font-size: clamp(22px, 4vw, 31px);
  letter-spacing: -.025em;
  line-height: 1.2;
}
.blog-article .close-explainer-head p {
  margin: 0;
  color: #5e646e;
  font-size: 14px;
  line-height: 1.6;
}
.close-figure { margin: 24px 0 0; }
.close-svg-scroll { overflow-x: auto; padding-bottom: 3px; }
.close-figure svg {
  display: block;
  width: 100%;
  height: auto;
  background: #f7f8fa;
  border-radius: 8px;
}
.close-route {
  fill: none;
  stroke: #9ea4b0;
  stroke-width: 2;
}
.close-connectors {
  fill: none;
  stroke: #6e747e;
  stroke-width: 1.5;
}
.close-actor rect {
  fill: #f7f8fa;
  stroke: #9ea4b0;
  stroke-width: 1.3;
}
.close-actor path { fill: none; stroke: #e2e5ea; stroke-width: 1.2; stroke-dasharray: 4 5; }
.close-actor text {
  fill: #0d0f12;
  font: 600 12px Inter, system-ui, sans-serif;
  text-anchor: middle;
}
.close-actor .close-owner { fill: #5e646e; font-size: 10px; font-weight: 500; }
.close-node circle {
  fill: #f7f8fa;
  stroke: #9ea4b0;
  stroke-width: 1.5;
  transition: fill 320ms ease, stroke 320ms ease;
}
.close-node text {
  fill: #5e646e;
  font: 600 12px Inter, system-ui, sans-serif;
  text-anchor: middle;
}
.close-node.is-complete circle { fill: #e2e5ea; stroke: #107c55; }
.close-node.is-current circle { fill: #9ea4b0; stroke: #5e646e; stroke-width: 3; }
.close-node.is-current text { fill: #0d0f12; }
.close-document {
  color: #5e646e;
  transform: translate(95px, 178px);
  transition: transform 650ms cubic-bezier(.22,.8,.25,1);
}
.close-document rect { fill: #ffffff; stroke: currentColor; stroke-width: 1.6; }
.close-document path { fill: none; stroke: currentColor; stroke-width: 1.2; }
.close-state-label {
  fill: #16191d;
  font: 500 13px Inter, system-ui, sans-serif;
}
.close-legend rect { fill: #eaecef; stroke: #e2e5ea; }
.close-legend text {
  fill: #5e646e;
  font: 600 10px Inter, system-ui, sans-serif;
  letter-spacing: .08em;
  text-anchor: middle;
  dominant-baseline: central;
}
.close-explainer[data-motion="running"] .close-node.is-current circle {
  animation: close-focus 1.5s ease-in-out infinite;
}
.close-progress { height: 3px; overflow: hidden; background: #e2e5ea; }
.close-progress span {
  display: block;
  width: 20%;
  height: 100%;
  background: #5e646e;
  transition: width 420ms ease;
}
.close-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
}
.close-controls button {
  min-height: 40px;
  padding: 8px 12px;
  color: #0d0f12;
  font: inherit;
  font-size: 13px;
  background: transparent;
  border: 1px solid #9ea4b0;
  border-radius: 5px;
  cursor: pointer;
}
.close-controls button:hover { background: #eaecef; }
.close-controls button:focus-visible { outline: 3px solid #5e646e; outline-offset: 3px; }
.close-controls button:disabled { color: #6e747e; background: #eaecef; cursor: default; }
.close-counter {
  margin-left: auto;
  color: #5e646e;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.close-figure figcaption { margin-top: 14px; color: #5e646e; font-size: 13px; line-height: 1.6; }

.close-state-copy {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #e2e5ea;
}
.close-state-copy li {
  padding: 15px 11px 4px;
  color: #5e646e;
  border-top: 3px solid transparent;
}
.close-state-copy li.is-current { color: #0d0f12; border-top-color: #5e646e; }
.close-state-copy strong,
.close-state-copy span { display: block; }
.close-state-copy strong { margin-bottom: 8px; font-size: 13px; line-height: 1.4; }
.close-state-copy span { font-size: 12px; line-height: 1.55; }

.close-checklist {
  margin: 26px 0 38px;
  padding: 8px 0;
  border-block: 1px solid #e2e5ea;
}
.close-checklist ol { margin: 0; padding: 0; list-style: none; counter-reset: close-check; }
.close-checklist li {
  position: relative;
  min-height: 50px;
  padding: 15px 12px 15px 52px;
  color: #16191d;
  border-bottom: 1px solid #e2e5ea;
  counter-increment: close-check;
}
.close-checklist li:last-child { border-bottom: 0; }
.close-checklist li::before {
  position: absolute;
  top: 14px;
  left: 8px;
  color: #5e646e;
  font-size: 12px;
  font-weight: 600;
  content: counter(close-check, decimal-leading-zero);
}
.close-checklist strong { color: #0d0f12; }

.close-northledger {
  margin: 42px 0;
  padding: 25px 28px;
  background: #eaecef;
  border-left: 4px solid #5e646e;
}
.close-northledger > span { color: #5e646e; font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.blog-article .close-northledger p { margin: 10px 0 0; color: #0d0f12; font-size: 16px; line-height: 1.7; }

#simulation,
[id^="source-"] { scroll-margin-top: 100px; }

@keyframes close-focus {
  0%, 100% { stroke-width: 2px; }
  50% { stroke-width: 5px; }
}

@media (max-width: 820px) {
  .close-clocks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .close-clocks > div + div { border-left: 0; }
  .close-clocks > div:nth-child(even) { border-left: 1px solid #e2e5ea; }
  .close-clocks > div:nth-child(n + 3) { border-top: 1px solid #e2e5ea; }
  .close-explainer-head { grid-template-columns: 1fr; gap: 12px; }
  .close-figure svg { min-width: 720px; }
  .close-state-copy { grid-template-columns: 1fr; }
  .close-state-copy li {
    padding: 14px 4px 14px 16px;
    border-top: 0;
    border-left: 3px solid transparent;
    border-bottom: 1px solid #e2e5ea;
  }
  .close-state-copy li.is-current { border-top-color: transparent; border-left-color: #5e646e; }
}

@media (max-width: 520px) {
  .close-cuts { grid-template-columns: 1fr; }
  .close-cuts > div { display: flex; align-items: baseline; gap: 18px; padding: 18px 4px; }
  .close-cuts > div + div { border-top: 1px solid #e2e5ea; border-left: 0; }
  .close-cuts strong { min-width: 112px; }
  .close-cuts span { margin-top: 0; }
  .close-clocks { grid-template-columns: 1fr; }
  .close-clocks > div:nth-child(even) { border-left: 0; }
  .close-clocks > div + div { border-top: 1px solid #e2e5ea; }
  .close-controls button { min-height: 44px; }
  .close-counter { width: 100%; margin: 2px 0 0; }
  .close-northledger { padding: 22px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .close-node circle,
  .close-document,
  .close-progress span { transition: none; }
  .close-explainer[data-motion="running"] .close-node.is-current circle { animation: none; }
}

@media print {
  .close-controls,
  .close-progress,
  .close-document { display: none; }
  .close-state-copy li { color: #0d0f12; }
}
