/* Upcoming AI agents — presentation only; no controls are implied. */
.agents-teaser {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 19px;
  padding: 9px 13px;
  border: 1px solid #e1d5f1;
  border-radius: 999px;
  background: #f1ebfc;
  color: #604080;
  font-size: .82rem;
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}
.agents-teaser-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #7550a7; }
.agents-teaser:hover { color: #fff; background: #604080; transform: translateY(-2px); }
.agents-teaser:hover .agents-teaser-dot { background: #ee8a72; }
.agents-section {
  position: relative;
  background: radial-gradient(circle at 91% 8%, rgba(117, 80, 167, .09), transparent 30%),
    radial-gradient(circle at 4% 88%, rgba(238, 138, 114, .08), transparent 28%),
    linear-gradient(135deg, #fbfaff, #f8fbfa 55%, #fff9f6);
}

.agents-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .83fr);
  align-items: end;
  gap: clamp(30px, 7vw, 90px);
  margin-bottom: clamp(34px, 4vw, 54px);
}

.agents-section .section-kicker { color: var(--violet-ink, #604080); }
.agents-header h2 { max-width: 18ch; }
.agents-lead {
  max-width: 55ch;
  color: var(--muted, #526678);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.75;
}
.agents-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  margin-top: 18px;
  padding: 8px 12px;
  border: 1px solid #ecd4c9;
  border-radius: 9px;
  background: #fff3ed;
  color: #743c30;
  font-size: .79rem;
  font-weight: 750;
  line-height: 1.4;
}
.agents-status::before {
  content: '';
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--coral, #ee8a72);
}

.agents-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.agent-card {
  --agent-tint: #f1ebfc;
  --agent-border: #e1d5f1;
  --agent-ink: #604080;
  --agent-accent: #7550a7;
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--agent-border);
  border-radius: var(--radius, 22px);
  background: var(--agent-tint);
  box-shadow: 0 12px 32px rgba(11, 39, 64, .045);
  transition: border-color .24s ease, box-shadow .24s ease;
}
.agent-card--leo {
  --agent-tint: #fff1eb;
  --agent-border: #f1dcd2;
  --agent-ink: #8a402e;
  --agent-accent: #ee8a72;
}
.agent-card--fer {
  --agent-tint: #e7f6f2;
  --agent-border: #cfe9e1;
  --agent-ink: #05655f;
  --agent-accent: #087f79;
}
.agent-art {
  position: relative;
  display: flex;
  height: clamp(250px, 25vw, 320px);
  flex: 0 0 auto;
  align-items: end;
  justify-content: center;
  overflow: hidden;
  padding: 18px 20px 0;
  background: radial-gradient(circle at 50% 47%, rgba(255, 255, 255, .82), rgba(255, 255, 255, .2) 47%, transparent 72%);
}
.agent-art::before {
  content: '';
  position: absolute;
  top: 12%;
  left: 50%;
  width: min(72%, 240px);
  aspect-ratio: 1;
  border: 1px solid var(--agent-accent);
  border-radius: 50%;
  opacity: .18;
  transform: translateX(-50%);
  pointer-events: none;
}
.agent-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 14px 16px rgba(11, 39, 64, .12));
  transition: transform .24s ease;
}
.agent-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 2.5vw, 32px);
}
.agent-tag {
  display: inline-block;
  max-width: 100%;
  padding: 6px 10px;
  border: 1px solid rgba(11, 39, 64, .06);
  border-radius: 8px;
  background: rgba(255, 255, 255, .76);
  color: var(--agent-ink);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .07em;
  line-height: 1.35;
  text-transform: uppercase;
}
.agent-copy h3 {
  margin-top: 18px;
  color: var(--navy, #0b2740);
  font-size: clamp(1.3rem, 1.65vw, 1.55rem);
}
.agent-copy p {
  margin-top: 10px;
  color: #42596b;
  font-size: .95rem;
  line-height: 1.7;
}
.agent-copy .agent-role { color: var(--agent-ink); font-size: .9rem; font-weight: 750; }
.agents-footnote {
  max-width: 78ch;
  margin-top: 24px;
  color: var(--muted, #526678);
  font-size: .88rem;
  line-height: 1.65;
}

/* Preserve a visible keyboard focus if actual links or controls are added later. */
.agents-section :focus-visible {
  outline: 3px solid var(--teal-dark, #05655f);
  outline-offset: 4px;
}
.agent-card:focus-within {
  border-color: var(--agent-accent);
  box-shadow: 0 18px 38px rgba(11, 39, 64, .11);
}
@media (hover: hover) and (pointer: fine) {
  .agent-card:hover {
    border-color: var(--agent-accent);
    box-shadow: 0 18px 38px rgba(11, 39, 64, .11);
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .agent-card:hover .agent-art img { transform: translateY(-4px); }
}
@media (max-width: 860px) {
  .agents-header { grid-template-columns: 1fr; gap: 22px; }
  .agents-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .agents-grid { grid-template-columns: 1fr; }
  .agent-art { height: 260px; }
  .agent-copy { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .agent-card, .agent-art img, .agents-teaser { transition: none; }
  .agents-teaser:hover { transform: none; }
}
