/* V31 — map evidence assembles progressively into the final analytical drawing. */
.relations-map-reveal {
  width: min(1120px, calc(100% - 44px));
  margin: clamp(56px, 8vw, 110px) auto 0;
}

.relations-map-stage {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.relations-map-stage img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 0;
  background: transparent;
}

.relations-map-base { z-index: 1; }
.relations-map-overlay {
  z-index: 2;
  object-fit: fill !important;
  mix-blend-mode: screen;
  transform-origin: 50% 50%;
}
.relations-map-final { z-index: 3; }

.relations-map-scan {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0 48%, rgba(242,241,236,.2) 50%, transparent 52% 100%);
  transform: translateX(-110%);
}

.relations-map-reveal figcaption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 11px;
  color: var(--muted);
  font-size: 11px;
}

.relations-map-reveal figcaption strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
}

@media (max-width: 760px) {
  .relations-map-reveal { width: calc(100% - 36px); }
  .relations-map-reveal figcaption { display: grid; }
}
