/* The First 39: Agents (/agents/). Coming soon: every card is greyed out until that person can talk.
   A person's portrait is their front-facing PFP (web copy in agents/media/, 480px); people without one
   yet get a lettered tile. When an agent goes live, drop .ag-card's greyed look with .is-live. */

.ag-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); }
.ag-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ag-pic { position: relative; aspect-ratio: 1; background: #B2B2B2; overflow: hidden; }
.ag-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ag-card:not(.is-live) .ag-pic img { filter: grayscale(1) contrast(.9); opacity: .55; }
.ag-initial { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; font-size: clamp(5rem, 11vw, 8rem); line-height: 1; color: rgba(22, 21, 20, .22); background: repeating-linear-gradient(135deg, #B9B9B9 0 14px, #B2B2B2 14px 28px); }
.ag-no { position: absolute; left: var(--s-3); top: var(--s-3); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-small); letter-spacing: .08em; color: var(--ink); background: var(--scroll); padding: .15rem .45rem; border-radius: 2px; }
.ag-body { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-2); padding: var(--s-4) var(--s-4) var(--s-5); flex: 1; }
.ag-body h3 { font-size: 1.5rem; font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; margin: 0; }
.ag-tag { margin: 0; font-size: var(--fs-small); color: var(--stone); }
.ag-ask { margin: var(--s-2) 0 var(--s-3); font-family: var(--font-scripture); font-size: 1.05rem; line-height: 1.4; font-style: italic; flex: 1; }
.ag-card .pill--soon { color: var(--accent); }

.ag-steps { list-style: none; counter-reset: step; margin: 0 0 var(--s-7); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.ag-steps li { counter-increment: step; display: grid; gap: var(--s-2); border-top: 1px solid var(--line-on-dark); padding-top: var(--s-4); }
.ag-steps li::before { content: "0" counter(step); font-family: var(--font-display); font-weight: 900; font-size: 2.5rem; line-height: 1; color: var(--gold); }
.ag-steps b { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; }
.ag-steps span { color: var(--muted-on-dark); }
.ag-honest { max-width: 62ch; border-left: 4px solid var(--gold); padding-left: var(--s-5); }
.ag-honest h3 { font-size: 1.25rem; margin-bottom: var(--s-2); }
.ag-honest p { margin: 0; color: var(--muted-on-dark); }

.ag-premium { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-6); flex-wrap: wrap; }
.ag-premium > div:first-child { max-width: 56ch; }
.ag-premium p:last-child { margin-bottom: 0; }
.ag-premium .row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

@media (max-width: 1023px) {
  .ag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .ag-steps { grid-template-columns: 1fr; }
}
@media (max-width: 479px) {
  .ag-grid { gap: var(--s-3); }
  .ag-body { padding: var(--s-3) var(--s-3) var(--s-4); }
  .ag-body h3 { font-size: 1.2rem; }
  .ag-ask { font-size: .95rem; }
}
