@media (min-width: 1340px) { .ag-stage { min-height: 476px; } }
.ag-links { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ag-links path { fill: none; stroke: rgba(127, 209, 168, .34); stroke-width: 1; }
.ag-links .ag-l-end { fill: #7FD1A8; }
.ag-links .ag-l-start { fill: rgba(242, 241, 236, .5); }
.ag-links .ag-l-run { fill: #7FD1A8; }

.ag-cards { position: absolute; inset: 0; z-index: 2; list-style: none; margin: 0; padding: 0; pointer-events: none; }
.ag-card {
  --ag-cw: min(256px, calc((100% - 760px) / 2 - 48px));
  position: absolute; width: var(--ag-cw); pointer-events: auto;
  padding: 0 16px 15px; border-radius: 14px; isolation: isolate;
  background: #121614; border: 1px solid rgba(242, 241, 236, .08);
  box-shadow: inset 0 1px 0 rgba(242, 241, 236, .04), 0 1px 3px rgba(0, 0, 0, .3);
}
.ag-card[data-pos="left"] { left: 0; top: 33%; }
.ag-card[data-pos="right-top"] { right: 0; top: 3%; }
.ag-card[data-pos="right-bottom"] { right: 0; bottom: 3%; }

.ag-card-art { display: block; width: calc(100% + 32px); height: 70px; margin: 0 -16px 10px;    border-radius: 14px 14px 0 0; }
.ag-card-n { margin: 0 0 5px; font: 500 10px/1 var(--mono); letter-spacing: .14em; color: rgba(127, 209, 168, .85); }
.ag-card-t { margin: 0 0 7px; font-size: 14.5px; line-height: 1.3; font-weight: 500; letter-spacing: -0.006em; color: var(--forest-ink); }
.ag-card-d { margin: 0; font-size: 13px; line-height: 1.5; color: #B3B4B1; text-wrap: pretty; }

@media (max-width: 1339px) {
  .ag-stage { height: auto; display: flex; flex-direction: column; align-items: center; padding: 26px 0 0; }
  .ag-links { display: none; }
  .ag-cards { position: static; inset: auto; width: 100%; margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; pointer-events: auto; }
  .ag-card, .ag-card[data-pos] { position: relative; inset: auto; width: auto; }
}
@media (max-width: 767px) {
  .ag-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
