/* ============================================================================
   AI TEAM PAGE — /ai-team
   All selectors namespaced .at-* and scoped under the page's .aiteam wrapper.
   Light, de-boxed editorial style on the sand-blue palette:
     deep #2c4a80 · primary #3d63a4 · mid #5a82c2 · light #8aa6dd · pale #c3d0ea
     teal #2f9e8f RESERVED for tiny live/on dots only.
   House classes (.wrap .section-pad .eyebrow .lead .btn .ios) come from the
   global marketing stylesheet; this file only adds the .at-* layer.
   ========================================================================== */

.aiteam {
  color: var(--ink, #1e2636);
}

/* ---- shared type ---- */
.aiteam .at-h1 {
  font-size: clamp(38px, 4.8vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.022em;
  font-weight: 650;
  color: var(--ink, #1e2636);
  margin: 14px 0 18px;
}
.aiteam .at-h1 em {
  font-style: normal;
  color: #3d63a4;
}
.aiteam .at-h2 {
  font-size: clamp(30px, 3.1vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.018em;
  font-weight: 640;
  color: var(--ink, #1e2636);
  margin: 12px 0 14px;
}

/* ---- shared bits ---- */
.aiteam .at-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.aiteam .at-actions-center {
  justify-content: center;
}
.aiteam .at-arrow {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* the one teal affordance — tiny "on" dot, softly pulsing */
.aiteam .at-live {
  display: inline-block;
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2f9e8f;
  box-shadow: 0 0 0 0 rgba(47, 158, 143, 0.35);
  animation: at-pulse 2.8s ease-out infinite;
}
@keyframes at-pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 158, 143, 0.35); }
  55% { box-shadow: 0 0 0 6px rgba(47, 158, 143, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 158, 143, 0); }
}

/* ============================================================================
   1. HERO — copy + the shift board
   ========================================================================== */
.aiteam .at-hero {
  background:
    radial-gradient(110% 80% at 85% -10%, color-mix(in srgb, #8aa6dd 12%, transparent), transparent 58%),
    radial-gradient(70% 60% at 0% 100%, color-mix(in srgb, #c3d0ea 18%, transparent), transparent 60%),
    var(--white, #fff);
}
.aiteam .at-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}
.aiteam .at-hero-lead {
  max-width: 54ch;
}
.aiteam .at-hero-fact {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-60, #5a6479);
}

/* the shift board */
.aiteam .at-board {
  background: #fff;
  border: 1px solid var(--line, #dce0ee);
  border-radius: 20px;
  box-shadow: 0 18px 50px -30px rgba(32, 48, 77, 0.35);
  padding: clamp(18px, 2.2vw, 26px);
}
.aiteam .at-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line, #dce0ee);
  margin-bottom: 18px;
}
.aiteam .at-board-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-60, #5a6479);
}
.aiteam .at-board-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2c4a80;
  background: color-mix(in srgb, #c3d0ea 26%, #fff);
  border: 1px solid color-mix(in srgb, #c3d0ea 60%, #fff);
  border-radius: 999px;
  padding: 5px 11px;
}
.aiteam .at-board-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 10px;
}
.aiteam .at-seat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin: 0;
  min-width: 0;
}
.aiteam .at-seat-tile {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--at-tint, #3d63a4) 11%, #fff);
  color: var(--at-tint, #3d63a4);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.aiteam .at-seat:hover .at-seat-tile {
  transform: translateY(-2px);
}
.aiteam .at-seat-glyph {
  font-size: 21px;
  line-height: 1;
}
.aiteam .at-seat-on {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2f9e8f;
  box-shadow: 0 0 0 2.5px #fff;
  animation: at-pulse 2.8s ease-out infinite;
}
.aiteam .at-seat:nth-child(3n) .at-seat-on { animation-delay: 0.9s; }
.aiteam .at-seat:nth-child(3n + 2) .at-seat-on { animation-delay: 1.8s; }
.aiteam .at-seat-name {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-60, #5a6479);
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.aiteam .at-seat-badge {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2c4a80;
  background: color-mix(in srgb, #c3d0ea 32%, #fff);
  border-radius: 999px;
  padding: 2px 8px;
  margin-top: -2px;
}
.aiteam .at-seat-cap .at-seat-tile {
  background: #2c4a80;
  color: #fff;
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 3.5px color-mix(in srgb, #2c4a80 30%, #fff),
    0 14px 26px -14px rgba(44, 74, 128, 0.6);
}
.aiteam .at-seat-cap .at-seat-name {
  color: var(--ink, #1e2636);
  font-weight: 600;
}
.aiteam .at-board-foot {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line, #dce0ee);
  font-size: 12.5px;
  color: var(--ink-60, #5a6479);
  text-align: center;
}
.aiteam .at-board-foot b {
  color: var(--ink, #1e2636);
  font-weight: 600;
}

/* ============================================================================
   2. TOOTHMATE — the captain spotlight
   ========================================================================== */
.aiteam .at-tm {
  background:
    radial-gradient(120% 90% at 88% 0%, color-mix(in srgb, #5a82c2 7%, transparent), transparent 60%),
    var(--white, #fff);
  border-top: 1px solid var(--line, #dce0ee);
}
.aiteam .at-tm-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
  margin-bottom: clamp(40px, 5.5vw, 68px);
}
.aiteam .at-tm-copy .lead {
  max-width: 50ch;
}
.aiteam .at-tm-trust {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  padding: 14px 16px;
  border-left: 2px solid #3d63a4;
  background: color-mix(in srgb, #c3d0ea 14%, transparent);
  border-radius: 0 12px 12px 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-60, #5a6479);
  max-width: 52ch;
}
.aiteam .at-tm-trust b {
  color: var(--ink, #1e2636);
  font-weight: 600;
}
.aiteam .at-tm-trust-mark {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #fff;
  background: #3d63a4;
  margin-top: 2px;
}

/* the console — type what you want */
.aiteam .at-console {
  background: #fff;
  border: 1px solid var(--line, #dce0ee);
  border-radius: 18px;
  box-shadow: 0 18px 50px -30px rgba(32, 48, 77, 0.35);
  padding: 20px 22px;
}
.aiteam .at-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line, #dce0ee);
}
.aiteam .at-console-id {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink, #1e2636);
}
.aiteam .at-console-glyph {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: #fff;
  background: #2c4a80;
}
.aiteam .at-console-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-60, #5a6479);
}
.aiteam .at-console-ask {
  margin: 14px 0;
  padding: 12px 15px;
  border: 1px solid color-mix(in srgb, #8aa6dd 45%, var(--line, #dce0ee));
  border-radius: 12px;
  background: color-mix(in srgb, #c3d0ea 10%, #fff);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink, #1e2636);
}
.aiteam .at-console-caret-wrap {
  display: inline;
}
.aiteam .at-caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 3px;
  vertical-align: -0.15em;
  background: #3d63a4;
  animation: at-caret 1.1s steps(1) infinite;
}
@keyframes at-caret {
  0%, 55% { opacity: 1; }
  56%, 100% { opacity: 0; }
}
.aiteam .at-console-feed {
  list-style: none;
  margin: 0;
  padding: 0;
}
.aiteam .at-console-feed li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--line-2, #e8ebf5);
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-60, #5a6479);
}
.aiteam .at-console-txt {
  min-width: 0;
}
.aiteam .at-pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #2c4a80;
  background: color-mix(in srgb, #c3d0ea 28%, #fff);
  border-radius: 999px;
  padding: 4px 10px;
}
.aiteam .at-okdot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2f9e8f;
}
.aiteam .at-console-confirm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: 12px;
  background: color-mix(in srgb, #2c4a80 5%, #fff);
  border: 1px dashed color-mix(in srgb, #2c4a80 22%, #fff);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-60, #5a6479);
}
.aiteam .at-console-btn {
  flex: none;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  background: #3d63a4;
  border-radius: 999px;
  padding: 7px 16px;
  box-shadow: 0 10px 22px -12px rgba(61, 99, 164, 0.7);
}

/* the four pillars — de-boxed hairline grid */
.aiteam .at-tm-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(36px, 5vw, 72px);
}
.aiteam .at-pillar {
  padding-block: clamp(24px, 3vw, 34px);
  border-top: 1px solid var(--line, #dce0ee);
}
.aiteam .at-pillar-kick {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
}
.aiteam .at-pillar-glyph {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: #3d63a4;
  background: color-mix(in srgb, #3d63a4 10%, #fff);
}
.aiteam .at-pillar-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-60, #5a6479);
}
.aiteam .at-pillar-title {
  font-size: clamp(18px, 1.7vw, 21px);
  font-weight: 620;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink, #1e2636);
  margin: 0 0 12px;
}
.aiteam .at-pillar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.aiteam .at-pillar-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-60, #5a6479);
}
.aiteam .at-pillar-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8aa6dd;
}

/* ============================================================================
   3. ROSTER — the eleven specialists
   ========================================================================== */
.aiteam .at-roster {
  /* transparent so the page-level .hp2-bg wash carries through the band */
  background: transparent;
  border-top: 1px solid var(--line, #dce0ee);
}
.aiteam .at-roster-head {
  max-width: 64ch;
  margin-bottom: clamp(30px, 4vw, 46px);
}
.aiteam .at-roster-head .eyebrow {
  display: block;
  margin-bottom: 4px;
}
.aiteam .at-roster-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2c7a6e;
  white-space: nowrap;
  vertical-align: 1px;
}

/* directory — departments in a 2-up grid, teammates as de-boxed hairline rows */
.aiteam .at-dirs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 3.4vw, 52px) clamp(40px, 5vw, 80px);
  align-items: start;
}
.aiteam .at-dir {
  min-width: 0;
}
.aiteam .at-dir-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid color-mix(in srgb, #3d63a4 22%, var(--line, #dce0ee));
}
.aiteam .at-dir-label {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #2c4a80;
}
.aiteam .at-dir-note {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: var(--ink-60, #5a6479);
}
.aiteam .at-dir-count {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-60, #5a6479);
  background: color-mix(in srgb, #c3d0ea 30%, #fff);
  border-radius: 999px;
  min-width: 20px;
  text-align: center;
  padding: 2px 7px;
}
.aiteam .at-dir-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.aiteam .at-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 16px 12px 16px 6px;
  margin: 0 -12px;
  border-bottom: 1px solid var(--line, #dce0ee);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 0.25s ease;
}
.aiteam .at-dir-list li:last-child .at-row {
  border-bottom: 0;
}
.aiteam .at-row:hover {
  background: color-mix(in srgb, var(--at-tint, #3d63a4) 7%, #fff);
}
.aiteam .at-row-tile {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
  color: var(--at-tint, #3d63a4);
  background: color-mix(in srgb, var(--at-tint, #3d63a4) 12%, #fff);
}
.aiteam .at-row-body {
  min-width: 0;
}
.aiteam .at-row-name {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 15.5px;
  font-weight: 620;
  letter-spacing: -0.008em;
  color: var(--ink, #1e2636);
}
.aiteam .at-row-dot {
  width: 6px;
  height: 6px;
}
.aiteam .at-row-tag {
  display: block;
  margin-top: 3px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-60, #5a6479);
}
.aiteam .at-row-go {
  flex: none;
  font-size: 17px;
  color: color-mix(in srgb, var(--at-tint, #3d63a4) 55%, var(--ink-60, #5a6479));
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.aiteam .at-row:hover .at-row-go {
  transform: translateX(4px);
  color: var(--at-tint, #3d63a4);
}
.aiteam .at-roster-foot {
  margin: clamp(26px, 3.5vw, 38px) 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line, #dce0ee);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-60, #5a6479);
  max-width: 62ch;
}
.aiteam .at-roster-foot a {
  color: #3d63a4;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, #3d63a4 35%, transparent);
}
.aiteam .at-roster-foot a:hover {
  border-bottom-color: #3d63a4;
}

/* ============================================================================
   4. CTA — hire the whole team
   ========================================================================== */
.aiteam .at-cta {
  /* transparent — the tinted band panel below sits on the .hp2-bg wash */
  background: transparent;
}
.aiteam .at-cta-band {
  text-align: center;
  padding: clamp(48px, 6.5vw, 84px) clamp(20px, 4vw, 56px);
  border: 1px solid var(--line, #dce0ee);
  border-radius: 24px;
  background:
    radial-gradient(90% 120% at 50% -20%, color-mix(in srgb, #8aa6dd 13%, transparent), transparent 62%),
    linear-gradient(180deg, #fdfdff, color-mix(in srgb, #c3d0ea 12%, #fff));
  box-shadow: 0 18px 50px -30px rgba(32, 48, 77, 0.35);
}
.aiteam .at-cta-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 26px;
}
.aiteam .at-cta-chip {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 14px;
  line-height: 1;
  color: var(--at-tint, #3d63a4);
  background: color-mix(in srgb, var(--at-tint, #3d63a4) 11%, #fff);
}
.aiteam .at-cta-chip-on {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2f9e8f;
  box-shadow: 0 0 0 2px #fff;
}
.aiteam .at-cta-h {
  max-width: 22ch;
  margin-inline: auto;
}
.aiteam .at-cta-sub {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--ink-60, #5a6479);
  margin: 0 0 6px;
}
.aiteam .at-cta-sub b {
  color: var(--ink, #1e2636);
  font-weight: 650;
}
.aiteam .at-cta-note {
  margin: 22px 0 0;
  font-size: 13px;
  color: var(--ink-60, #5a6479);
}

/* ============================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .aiteam .at-hero-grid,
  .aiteam .at-tm-top {
    grid-template-columns: 1fr;
    gap: clamp(32px, 6vw, 48px);
  }
  .aiteam .at-board {
    max-width: 480px;
  }
  .aiteam .at-console {
    max-width: 560px;
  }
}
@media (max-width: 820px) {
  .aiteam .at-dirs {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .aiteam .at-tm-pillars {
    grid-template-columns: 1fr;
  }
  .aiteam .at-board-grid {
    gap: 16px 6px;
  }
  .aiteam .at-seat-tile {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }
  .aiteam .at-seat-glyph {
    font-size: 18px;
  }
}
@media (max-width: 560px) {
  .aiteam .at-console-feed li {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .aiteam .at-console-confirm {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
@media (max-width: 460px) {
  .aiteam .at-board-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 8px;
  }
  .aiteam .at-seat-name {
    font-size: 10.5px;
  }
  .aiteam .at-cta-band {
    padding: clamp(36px, 9vw, 48px) 18px;
  }
  .aiteam .at-cta-h {
    max-width: 100%;
  }
}

/* ---- reduced motion ---- */
@media (prefers-reduced-motion: reduce), (max-width: 700px) {
  .aiteam .at-live,
  .aiteam .at-seat-on,
  .aiteam .at-caret {
    animation: none !important;
  }
  .aiteam .at-card,
  .aiteam .at-seat-tile,
  .aiteam .at-arrow {
    transition: none !important;
  }
}

/* ---- phone: tighten the console feed rows before the 560px re-stack ---- */
@media (max-width: 700px) {
  .aiteam .at-console-feed li {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .aiteam .at-console-confirm {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  /* the roving spotlight is a decorative, self-cycling highlight — disable
     the glow/lift effect on phones so it never reads as a stray unexplained
     highlight; the row content and the hover/focus reveal stay intact */
  .aiteam .at-row-spot {
    background: none;
  }
  .aiteam .at-row-spot .at-row-tile {
    transform: none;
    box-shadow: none;
  }
  .aiteam .at-row-spot .at-row-go {
    transform: none;
  }
}

/* ============================================================================
   Toothmate flagship — the .tm-* section embedded mid-page (was a page-top
   hero at /toothmate). Trim the hero's top padding so it reads as a section,
   not a second landing, and give the jump anchors clearance under the nav.
   ========================================================================== */
.aiteam .at-tm-flagship {
  border-top: 1px solid var(--line, #dce0ee);
}
.aiteam .at-tm-flagship .tm-hero {
  padding-top: clamp(44px, 6vw, 76px);
}
.aiteam #toothmate,
.aiteam #specialists {
  scroll-margin-top: 88px;
}

/* ============================================================================
   ROSTER — "staffed floor" life: a roving spotlight lights one teammate at a
   time and reveals its live "now working" status; every row also reveals its
   status on hover/focus. (AtRoster.tsx)
   ========================================================================== */
.aiteam .at-dir-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.aiteam .at-dir-count .at-live {
  width: 6px;
  height: 6px;
}
.aiteam .at-row-tile {
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease;
}
/* the live "now working" line — collapsed until spotlit / hovered / focused */
.aiteam .at-row-live {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 0;
  font-size: 12.5px;
  font-weight: 500;
  color: #2c7a6e;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-2px);
  transition: max-height 0.32s ease, opacity 0.32s ease, transform 0.32s ease, margin-top 0.32s ease;
}
.aiteam .at-row-live .at-live {
  width: 6px;
  height: 6px;
}
.aiteam .at-row:hover .at-row-live,
.aiteam .at-row:focus-visible .at-row-live,
.aiteam .at-row-spot .at-row-live {
  max-height: 26px;
  opacity: 1;
  margin-top: 6px;
  transform: none;
}
/* the roving spotlight highlight */
.aiteam .at-row-spot {
  background: color-mix(in srgb, var(--at-tint, #3d63a4) 9%, transparent);
}
.aiteam .at-row-spot .at-row-tile {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -12px color-mix(in srgb, var(--at-tint, #3d63a4) 75%, transparent);
}
.aiteam .at-row-spot .at-row-go {
  transform: translateX(3px);
  color: var(--at-tint, #3d63a4);
}

/* ============================================================================
   CTA — the twelve teammate glyphs "assemble" in sequence on scroll-in.
   Default (SSR / no-JS) shows them assembled; the animation only fires when the
   client adds .assembled while the band is in view. (AtCta.tsx)
   ========================================================================== */
.aiteam .at-cta-strip.assembled .at-cta-chip {
  animation: at-cta-pop 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--at-i, 0) * 55ms);
}
.aiteam .at-cta-strip.assembled .at-cta-chip-on {
  animation: at-cta-dot 0.4s ease both;
  animation-delay: calc(var(--at-i, 0) * 55ms + 0.28s);
}
@keyframes at-cta-pop {
  from { opacity: 0; transform: translateY(9px) scale(0.85); }
  to { opacity: 1; transform: none; }
}
@keyframes at-cta-dot {
  from { opacity: 0; transform: scale(0); }
  to { opacity: 1; transform: none; }
}

/* ---- reduced motion for the rebuilt roster + CTA ---- */
@media (prefers-reduced-motion: reduce), (max-width: 700px) {
  .aiteam .at-row-live { transition: none !important; }
  .aiteam .at-row-tile { transition: none !important; }
  .aiteam .at-cta-strip.assembled .at-cta-chip,
  .aiteam .at-cta-strip.assembled .at-cta-chip-on {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
