#salt-archive .archive-unfold-inner {
  display: block;
  min-height: auto;
  padding: clamp(42px, 6vw, 88px) 0 0;
  overflow: visible;
  background: #11110f;
}

#salt-archive .archive-unfold-copy {
  max-width: 620px;
  margin: 0 clamp(28px, 5vw, 78px) clamp(42px, 5vw, 72px);
}

#salt-archive .archive-unfold-note { display: none; }
#salt-archive .agents-replica-host { height: auto; perspective: none; }

.agents-replica {
  --agents-ink: #f0f0eb;
  --agents-line: rgba(234, 237, 228, .48);
  --agents-red: #ff542b;
  --agents-teal: #54c1b5;
  position: relative;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
  color: var(--agents-ink);
  background: #000;
  font-family: Arial, Helvetica, sans-serif;
}

.agents-replica * { box-sizing: border-box; }
.agents-first-page {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  container-type: size;
  background: radial-gradient(circle at 40% 68%, #111817 0, #070909 34%, #030404 68%);
}

.agents-header { position: absolute; z-index: 20; left: 3.2cqw; top: 4.5cqh; }
.agents-eyebrow,
.agents-source-index-head { font: 10px/1.2 monospace; letter-spacing: .16em; }
.agents-eyebrow { color: var(--agents-teal); margin: 0 0 11px; }
.agents-header h4 {
  margin: 0;
  color: var(--agents-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(26px, 2.45cqw, 48px);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.agents-header h4 em { color: #858b87; font-style: normal; font-weight: 400; }

.agents-scene { position: absolute; left: 1.5cqw; top: 14cqh; width: 67cqw; height: 80cqh; perspective: none; }
.agents-source-stack {
  position: absolute;
  width: min(40cqw, 680px);
  aspect-ratio: 1;
  left: calc(48.5cqw - min(20cqw, 340px));
  top: calc(36cqh - min(20cqw, 340px));
  transform-style: preserve-3d;
  transform: rotateX(0) rotateZ(0) scale(.72);
  transition: transform 2.8s cubic-bezier(.2, .78, .16, 1), top 2.8s cubic-bezier(.2, .78, .16, 1), left 2.8s cubic-bezier(.2, .78, .16, 1);
}
.agents-replica.is-ready .agents-source-stack { left: 12%; top: 40%; transform: rotateX(54.7356deg) rotateZ(-45deg) scale(.9); }

.agents-satellite,
.agents-data-layer {
  position: absolute;
  inset: 0;
  border: 1px solid var(--agents-line);
  transform-style: preserve-3d;
  transition: transform 1.2s cubic-bezier(.2, .75, .2, 1), opacity .45s, filter .45s, box-shadow .45s;
}
.agents-satellite {
  overflow: hidden;
  background: #303634;
  transform: translateZ(0) rotateZ(-90deg);
  transition-duration: 2.8s;
  transition-timing-function: cubic-bezier(.2, .78, .16, 1);
}
.agents-replica.is-ready .agents-satellite { transform: translateZ(0) rotateZ(0); }
.agents-satellite > img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.62) contrast(1.04) brightness(.94); transform: rotate(90deg); }

.agents-data-layer { opacity: 0; background: transparent; transform: translateZ(0); }
.agents-layer-image { width: 100%; height: 100%; display: block; object-fit: cover; mix-blend-mode: screen; transform: rotate(90deg); }
.agents-layer-0 > .agents-layer-image { opacity: .98; filter: grayscale(1) brightness(1.82) contrast(1.16); }
.agents-layer-1 > .agents-layer-image { opacity: .84; filter: grayscale(1) brightness(1.72) contrast(1.08); }
.agents-layer-2 > .agents-layer-image { opacity: .9; filter: brightness(1.12) contrast(1.16) saturate(1.08); }
.agents-layer-3 > .agents-layer-image { opacity: .88; filter: grayscale(.42) brightness(1.86) contrast(1.08) saturate(.78); }
.agents-layer-4 > .agents-layer-image { opacity: .88; filter: brightness(1.3) contrast(1.1) saturate(1.06); }
.agents-layer-5 > .agents-layer-image { opacity: .76; filter: brightness(1.68) contrast(1.16) saturate(.88); }
.agents-layer-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 52px 52px; }
.agents-edge-label {
  position: absolute;
  z-index: 10;
  display: block;
  right: -102px;
  bottom: -2px;
  width: 102px;
  height: 16px;
  padding-left: 39px;
  color: #f2f2ec;
  font: italic 11px/1 Arial, Helvetica, sans-serif;
  letter-spacing: .015em;
  white-space: nowrap;
  opacity: 1;
  text-shadow: 0 0 5px rgba(0,0,0,.95);
  transform: rotateX(-90deg) translateY(-1px) translateZ(3px);
  transform-origin: left bottom;
  backface-visibility: visible;
}
.agents-edge-label::before { content: ""; position: absolute; left: 0; top: 5px; width: 32px; border-top: 1px solid rgba(232,232,226,.72); }
.agents-replica.is-ready .agents-data-layer { opacity: .92; transform: translateZ(var(--layer-z)); transition-delay: calc(.35s + var(--i) * .12s); }
.agents-replica.is-ready.has-selection .agents-data-layer { transition-delay: 0s; }
.agents-replica.is-ready .agents-data-layer.active { transform: translateZ(var(--layer-z)) scale(1.025); opacity: 1; filter: none; box-shadow: 0 0 34px color-mix(in srgb, var(--accent) 32%, transparent); }
.agents-replica.is-ready .agents-data-layer.muted { opacity: .38; filter: grayscale(.45) brightness(.7); }

.agents-source-index {
  position: absolute;
  z-index: 10;
  right: 3cqw;
  top: calc(10cqh - 50px);
  width: 29cqw;
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 1s 2.15s, transform 1s 2.15s;
}
.agents-replica.is-ready .agents-source-index { opacity: 1; transform: none; }
.agents-source-index-head { display: flex; justify-content: space-between; border-top: 1px solid #626865; padding-top: 9px; color: #8e9692; }
.agents-source-cards { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 2.2cqh 2cqw; }
.agents-source-cards button { position: relative; appearance: none; border: 0; min-height: 0; padding: 0 0 17px; background: none; color: inherit; text-align: left; cursor: pointer; outline: none; }
.agents-source-thumb { position: relative; aspect-ratio: 1; overflow: hidden; border: 1px solid #292d2b; transition: border-color .3s, transform .3s, box-shadow .3s; }
.agents-source-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; filter: grayscale(1) contrast(1.25); transition: filter .35s, transform .5s; }
.agents-source-thumb-index { position: absolute; left: 7px; top: 6px; color: #0b0c0b; font: 9px monospace; mix-blend-mode: difference; }
.agents-source-thumb-name { position: absolute; right: 0; bottom: 0; color: #fff; background: transparent; font-family: monospace; font-size: 12px; line-height: 1; letter-spacing: .11em; }
.agents-source-cards button:hover .agents-source-thumb,
.agents-source-cards button:focus-visible .agents-source-thumb,
.agents-source-cards button.selected .agents-source-thumb { border-color: var(--agents-teal); transform: translateY(-3px); box-shadow: 0 0 24px rgba(84,193,181,.15); }
.agents-source-cards button:hover img,
.agents-source-cards button.selected img { filter: grayscale(0) sepia(.25) hue-rotate(118deg) contrast(1.35); transform: scale(1.025); }

@media (max-width: 820px) {
  .agents-replica { min-height: 1200px; }
  .agents-first-page { width: 100%; height: 1200px; }
  .agents-scene { width: 100%; height: 590px; top: 120px; left: 0; }
  .agents-source-stack { width: 72vw; left: 14vw; top: calc(50vh - 120px - 36vw); }
  .agents-replica.is-ready .agents-source-stack { left: 12%; transform: rotateX(54.7356deg) rotateZ(-45deg) scale(.75); top: 32%; }
  .agents-edge-label { right: -72px; width: 72px; height: 16px; padding-left: 28px; font-size: 9px; }
  .agents-edge-label::before { top: 5px; width: 22px; }
  .agents-source-index { width: auto; left: 5vw; right: 5vw; top: 620px; }
  .agents-source-cards { gap: 18px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .agents-replica *,
  .agents-replica *::before,
  .agents-replica *::after { transition-duration: .01ms !important; transition-delay: 0ms !important; }
}
