.writing-window--feature {
  position: relative;
  cursor: pointer;
}

.writing-window--feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.article-figure {
  margin: 48px 0 58px;
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(142, 177, 220, 0.28);
  border-radius: 12px;
  background: #030b14;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.3);
}

.article-figure figcaption {
  margin-top: 12px;
  color: #718198;
  font: 11px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.article-figure figcaption strong {
  color: #9fb0c7;
  font-weight: 600;
}

.article-toc a[aria-current="location"] {
  color: #39ff5a;
}

.article-toc a[aria-current="location"]::before {
  color: #39ff5a;
  text-shadow: 0 0 9px rgba(57, 255, 90, 0.55);
}

.article-return {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 48px;
  padding: 24px 26px;
  border: 1px solid rgba(57, 255, 90, 0.28);
  border-radius: 10px;
  background: rgba(57, 255, 90, 0.035);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.article-return:hover {
  transform: translateY(-3px);
  border-color: rgba(57, 255, 90, 0.58);
  background: rgba(57, 255, 90, 0.065);
}

.article-return span:first-child {
  color: #dce6f4;
  font: 600 14px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.article-return span:last-child {
  color: #39ff5a;
  font: 20px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.article-copy :not(pre) > code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Evidence blocks: timelines and architecture diagrams */
.journey-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 54px 0;
}

.journey-timeline > div {
  padding: 18px 15px;
  border-top: 2px solid rgba(57, 255, 90, 0.45);
  background: linear-gradient(145deg, rgba(12, 34, 58, 0.78), rgba(4, 13, 23, 0.88));
}

.journey-timeline span,
.architecture-map span {
  display: block;
  color: var(--green);
  font: 10px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.journey-timeline strong {
  display: block;
  margin-top: 13px;
  color: #e8eff9;
  font-size: 15px;
  line-height: 1.25;
}

.journey-timeline p {
  margin: 8px 0 0;
  color: #8fa0b6;
  font-size: 13px;
  line-height: 1.45;
}

.architecture-map {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 10px;
  margin: 54px 0;
  padding: 20px;
  border: 1px solid rgba(142, 177, 220, 0.24);
  border-radius: 10px;
  background: #030b14;
}

.architecture-map > div {
  padding: 18px 14px;
  border: 1px solid rgba(120, 157, 205, 0.25);
  border-radius: 8px;
  background: linear-gradient(145deg, #0a1b2e, #040d18);
}

.architecture-map strong {
  display: block;
  margin-top: 12px;
  color: #e8eff9;
  font-size: 15px;
  line-height: 1.25;
}

.architecture-map small {
  display: block;
  margin-top: 7px;
  color: #8190a5;
  font: 11px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.architecture-map > b {
  align-self: center;
  color: var(--green);
  font: 18px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.notebook-quote { border-left: 3px solid var(--green); }
.terminal-evidence { border-left: 3px solid rgba(142, 177, 220, 0.75); }
.terminal-evidence pre { margin: 16px 0; padding: 14px 16px; overflow-x: auto; border: 1px solid rgba(142, 177, 220, 0.2); border-radius: 8px; background: #020811; color: #b9c9dc; font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; }
.terminal-evidence code { color: inherit; }

.article-progress {
  border-color: rgba(57, 255, 90, 0.3);
}

.journey-timeline--compact {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
  .journey-timeline,
  .journey-timeline--compact {
    grid-template-columns: repeat(2, 1fr);
  }

  .architecture-map {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .architecture-map > b {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .journey-timeline,
  .journey-timeline--compact {
    grid-template-columns: 1fr;
    margin-inline: -4px;
  }

  .architecture-map {
    margin-inline: -4px;
    padding: 14px;
  }
}
 .investigation-note{border-color:rgba(57,255,90,.28);background:linear-gradient(145deg,rgba(11,43,43,.72),rgba(4,13,23,.9))}
