/* The agents page */
.ag-hero { padding-bottom: 30px; }
.ag-hero .copy { display: grid; gap: 22px; }
.cast { display: flex; justify-content: center; align-items: flex-end; gap: 2%; height: 300px; margin-top: 40px; }
.cast img { height: 78%; width: auto; filter: drop-shadow(0 24px 24px rgba(40, 30, 15, .2)); animation: idle 4.2s ease-in-out infinite; animation-delay: calc(var(--i) * -1.3s); }
.cast img.mid { height: 100%; }
.lineup-pea { margin-top: 26px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 30px; text-decoration: none; border-radius: var(--r-xl); background: var(--pea-paper); box-shadow: var(--shadow-sm); overflow: hidden; margin-bottom: 26px; transition: transform .35s var(--pop), box-shadow .35s; }
.lineup-pea:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.lineup-pea .art { height: 440px; display: flex; align-items: flex-end; justify-content: center; background: radial-gradient(70% 70% at 50% 92%, #cfe2b6, rgba(207, 226, 182, 0)); }
.lineup-pea .art img { height: 86%; width: auto; margin-bottom: 26px; animation: peabob 3.6s ease-in-out infinite; }
@keyframes peabob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-2deg); } }
.lineup-pea .txt { display: grid; gap: 16px; justify-items: start; padding: 40px 48px 40px 0; }
.lineup-pea .pea-word { height: 52px; width: auto; }
.lineup-pea h2 { font-size: clamp(34px, 4vw, 56px); color: #18201a; line-height: .98; letter-spacing: -.04em; }
.lineup-pea p { color: #56604f; font-size: 19px; }
.rowcard { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: center; background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-sm); overflow: hidden; margin-bottom: 26px; }
.rowcard .art { height: 400px; display: flex; align-items: flex-end; justify-content: center; }
.rowcard.tc .art { background: radial-gradient(70% 70% at 50% 95%, #ffd6c9, #fff3ee); }
.rowcard.bg .art { background: radial-gradient(70% 70% at 50% 95%, #f2d9b8, #fbf3e8); }
.rowcard .art img { height: 84%; width: auto; margin-bottom: 22px; animation: idle 4.2s ease-in-out infinite; }
.rowcard .txt { display: grid; gap: 16px; justify-items: start; padding: 40px 48px 40px 0; }
.rowcard.flip { grid-template-columns: 1.1fr .9fr; }
.rowcard.flip .art { order: 2; }
.rowcard.flip .txt { padding: 40px 0 40px 48px; }
.rowcard h2 { font-size: clamp(40px, 4.6vw, 64px); letter-spacing: -.045em; line-height: .95; }
.rowcard p { color: var(--muted); font-size: 19px; max-width: 34ch; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 26px; }
.mini { display: grid; grid-template-columns: 180px 1fr; gap: 18px; align-items: center; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 22px 28px 22px 18px; text-decoration: none; transition: transform .35s var(--pop), box-shadow .35s; }
.mini:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mini .art { height: 150px; display: flex; align-items: center; justify-content: center; border-radius: 18px; background: radial-gradient(70% 70% at 50% 80%, #f3dcae, #fbf6ec); }
.mini .art img { height: 80%; width: auto; transition: transform .5s var(--pop); }
.mini:hover .art img { transform: rotate(-8deg) scale(1.06); }
.mini h3 { font-size: 30px; margin: 10px 0 6px; letter-spacing: -.035em; }
.mini p { color: var(--muted); margin-bottom: 10px; }
.packs { display: flex; align-items: center; gap: 26px; max-width: 720px; margin: 0 auto; padding: 16px 32px 16px 16px; border-radius: var(--r-lg); background: linear-gradient(90deg, #f4efe0, #fff); box-shadow: inset 0 0 0 1.5px #ece2c8; }
.packs img { height: 140px; width: auto; }
.packs h3 { font-size: 30px; margin: 10px 0 4px; }
.packs p { color: var(--muted); }
.compare { max-width: 1100px; margin: 0 auto; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.crow { display: grid; grid-template-columns: 1.1fr 2fr .8fr 1.1fr; gap: 16px; align-items: center; padding: 16px 26px; border-top: 1px solid var(--line); text-decoration: none; transition: background .2s; }
.crow:hover { background: var(--accent-tint); }
.crow.head { border-top: 0; background: var(--paper-2); font: 800 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 14px; padding-bottom: 14px; }
.crow .who { display: flex; align-items: center; gap: 12px; font: 800 20px/1 var(--display); letter-spacing: -.02em; }
.crow .who img { width: 44px; height: 44px; object-fit: contain; }
.crow span { color: var(--muted); font-size: 16px; }
.crow span.who { color: var(--ink); }
@media (max-width: 900px) {
  .lineup-pea, .rowcard, .rowcard.flip { grid-template-columns: 1fr; }
  .rowcard.flip .art { order: 0; }
  .lineup-pea .txt, .rowcard .txt, .rowcard.flip .txt { padding: 6px 28px 34px; }
  .lineup-pea .art, .rowcard .art { height: 320px; }
  .pair { grid-template-columns: 1fr; }
  .mini { grid-template-columns: 120px 1fr; }
  .mini .art { height: 120px; }
  .cast { height: 200px; }
  .crow { grid-template-columns: 1fr 1fr; }
  .crow.head { display: none; }
  .crow span:nth-child(2) { grid-column: 1 / -1; order: 3; }
}

@media (max-width: 900px) {
  .cast { gap: 1%; }
  .cast img { height: auto; max-height: 78%; max-width: 30%; }
  .cast img.mid { max-height: 100%; max-width: 36%; }
  .crow span[data-label]::before { content: attr(data-label) ": "; font-weight: 800; color: var(--ink); }
  .packs { flex-direction: column; text-align: center; padding: 18px; }
}
/* Round 5: the free tools are words, not objects */
.mini.lite, .mini.lite:not(x) { grid-template-columns: 1fr; padding: 28px 32px; background: linear-gradient(160deg, #fff 55%, var(--accent-tint)); box-shadow: inset 0 0 0 1.5px var(--accent-soft), var(--shadow-sm); }
.crow .who .mk { flex: none; width: 44px; height: 44px; display: grid; place-items: center; }
.crow .who .mk::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent-fill); box-shadow: 0 0 12px rgba(242, 181, 68, .7); }
