/* A human pair coordinates four fictional AI assistants. */
.agents-duo-slide h2 { font-size: 60px; }
.agents-duo-slide .agent-team {
  grid-template-columns: minmax(0, 1fr) 340px minmax(0, 1fr);
  grid-template-rows: repeat(2, 1fr);
  height: 395px;
  gap: 25px 28px;
  margin-top: 20px;
  isolation: isolate;
}
.agents-duo-slide .team-network { z-index: -1; stroke-width: 3; stroke: #819caa; opacity: .7; }
.agents-duo-slide .team-network path { animation: team-transfer 3s linear infinite; animation-play-state: paused; }
.agents-duo-slide .agent-role {
  --agent-angle: -2deg;
  --agent-color: #ffc49d;
  gap: 17px;
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--agent-color) 45%, #152b3b);
  border-radius: 24px;
  background: linear-gradient(90deg, #132936f2, #102230cc),
    repeating-linear-gradient(0deg, transparent 0 17px, #4bdac524 17px 18px),
    repeating-linear-gradient(90deg, transparent 0 17px, #4bdac524 17px 18px), #102230;
  box-shadow: 0 13px 27px #172c3820, inset 0 1px 0 #ffffff12;
  color: #f3faff;
  overflow: hidden;
  animation: team-card-float 6s ease-in-out infinite;
  animation-play-state: paused;
  rotate: var(--agent-angle);
}
.agents-duo-slide .role-admin { --agent-angle: 1.5deg; --agent-color: #91e6c4; animation-delay: -1.5s; }
.agents-duo-slide .role-sales { --agent-angle: 2deg; --agent-color: #91d6ff; animation-delay: -3s; }
.agents-duo-slide .role-support { --agent-angle: -1.5deg; --agent-color: #d9b5ff; animation-delay: -4.5s; }
.agent-binary { position: absolute; z-index: 0; right: 8px; top: 5px; color: #5ce4d0; opacity: .22; font: 14px/1.8 Consolas, monospace; letter-spacing: 4px; pointer-events: none; user-select: none; }
.agents-duo-slide .agent-role > div { position: relative; z-index: 1; padding: 5px 4px; border-radius: 8px; background: #122633c9; }
.team-avatar-shell { position: relative; z-index: 1; flex-shrink: 0; border-radius: 18px; border: 1px solid #80e9db83; box-shadow: 0 0 17px #50d4c51d; overflow: hidden; }
.team-avatar-shell::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, #1fdbc218 0 1px, transparent 1px 4px); box-shadow: inset 0 0 18px #27c9c14d; }
.agents-duo-slide .team-avatar { width: 98px; height: 110px; border-radius: 17px; object-fit: cover; border: 0; box-shadow: none; filter: grayscale(.7) sepia(.15) hue-rotate(125deg); }
.team-avatar-ai { position: absolute; z-index: 1; right: 4px; bottom: 4px; padding: 2px 6px; border: 1px solid #7fe4d6; border-radius: 5px; background: #102633; color: #b8fff0; font: 700 11px/1.2 Consolas, monospace; letter-spacing: 1px; }
.agents-duo-slide .team-name { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; color: var(--agent-color); margin-bottom: 8px; letter-spacing: 0; }
.agents-duo-slide .team-name .icon { width: 25px; height: 25px; }
.agents-duo-slide .agent-role h3 { font-size: 28px; letter-spacing: -.04em; }
.agents-duo-slide .agent-role p { font-size: 21px; margin-top: 10px; letter-spacing: -.035em; color: #c4d7e2; }
.agents-duo-slide .agent-coordination { gap: 0; justify-content: flex-end; margin: 0; }
.team-human-duo { position: relative; z-index: 1; width: 355px; max-width: none; height: 344px; object-fit: contain; filter: drop-shadow(0 12px 13px #172c3817); }
.team-human-label { position: absolute; top: 5px; z-index: 2; padding: 8px 26px; border-radius: 30px; background: var(--ink); color: white; font-size: 27px; font-weight: 600; box-shadow: 0 8px 20px #172c381b; }
.team-human-halo { position: absolute; width: 310px; height: 310px; top: 61px; border-radius: 50%; background: radial-gradient(circle, #ddece5 10%, #e6eef3 55%, #e6eef300 70%); }
.team-human-halo::before, .team-human-halo::after { content: ""; position: absolute; inset: -9px; border: 1px dashed #749b93; border-radius: 50%; opacity: .5; animation: usage-ring 38s linear infinite; animation-play-state: paused; }
.team-human-halo::after { inset: 10px; border-style: solid; border-color: #b6cbbb; animation-direction: reverse; }
.agents-duo-slide[data-team-running="true"] .agent-role,
.agents-duo-slide[data-team-running="true"] .team-network path,
.agents-duo-slide[data-team-running="true"] .team-human-halo::before,
.agents-duo-slide[data-team-running="true"] .team-human-halo::after { animation-play-state: running; }
@keyframes team-card-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media screen and (max-width: 759px) {
  .agents-duo-slide h2 { font-size: 40px; }
  .agents-duo-slide .agent-team { height: auto; display: flex; flex-direction: column; gap: 16px; margin-top: 25px; }
  .agents-duo-slide .agent-coordination { order: -1; height: 333px; margin: 0 0 12px; }
  .team-human-duo { width: 305px; height: 296px; }
  .team-human-label { top: 0; font-size: 23px; padding: 6px 23px; }
  .team-human-halo { width: 270px; height: 270px; top: 53px; }
  .agents-duo-slide .agent-role { min-height: 143px; padding: 16px; gap: 16px; rotate: none; }
  .agents-duo-slide .team-avatar { width: 82px; height: 94px; }
  .agents-duo-slide .team-name { font-size: 18px; }
  .agents-duo-slide .agent-role h3 { font-size: 25px; }
  .agents-duo-slide .agent-role p { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .agents-duo-slide .agent-role, .agents-duo-slide .team-network path,
  .agents-duo-slide .team-human-halo::before, .agents-duo-slide .team-human-halo::after { animation: none !important; }
}
@media print {
  .agents-duo-slide .agent-role, .agents-duo-slide .team-network path,
  .agents-duo-slide .team-human-halo::before, .agents-duo-slide .team-human-halo::after { animation: none !important; }
  .agents-duo-slide .agent-role { rotate: none; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
