/* Our Team page. Uses the shared tokens in styles.css. */
.team-sec {
  padding: 72px 0 88px;
  background: var(--white);
}
.team-sec h1 {
  margin: 0 auto 40px;
  max-width: 640px;
  text-align: center;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.06;
  color: var(--ink);
}
.team-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 760px;
  margin: 0 auto;
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(43, 144, 244, .45);
  box-shadow: 0 20px 48px rgba(43, 144, 244, .18), 0 8px 20px rgba(20, 61, 103, .08);
}
.team-photo {
  width: 168px;
  height: 168px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: #EAF4FE;
  border: 1px solid var(--hair);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-copy h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  text-align: center;
}
.team-role {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
  text-align: center;
}
.team-bio {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-400);
  text-align: center;
}
.team-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
}
.team-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--hair-strong);
  background: var(--white);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color .15s, color .15s, background .15s;
}
.team-btn:hover {
  color: var(--brand);
  border-color: var(--brand);
  background: var(--brand-soft);
}
.team-btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.nav.nav-overlay .nav-links a[aria-current="page"],
.nav-mobile a[aria-current="page"] {
  color: var(--brand) !important;
  font-weight: 600;
}
@media (min-width: 720px) {
  .team-card {
    grid-template-columns: 200px 1fr;
    gap: 36px;
    align-items: center;
    padding: 40px 44px;
  }
  .team-photo {
    width: 200px;
    height: 200px;
    margin: 0;
  }
  .team-copy h2,
  .team-role,
  .team-bio {
    text-align: left;
  }
  .team-actions {
    justify-content: flex-start;
  }
}
@media (max-width: 640px) {
  .team-sec {
    padding: 48px 0 64px;
  }
  .team-card {
    padding: 28px 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .team-card {
    transition: none;
  }
  .team-card:hover {
    transform: none;
  }
}

/* Team page only: blue top banner, white text (beats sitewide white announce) */
a.announce,
.announce {
  background: var(--brand, #2B90F4) !important;
  color: #fff !important;
  border-bottom: none !important;
}
.announce *,
.announce:hover,
.announce .announce-arrow,
.announce .announce-long,
.announce .announce-short {
  color: #fff !important;
}
.announce:hover {
  background: var(--brand-hover, #1F7FE0) !important;
}

.team-btn {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  text-decoration: none;
}
