/* ── Team Hero ── */
.team-hero {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-bg-deep);
}

.team-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,0.6) 100%);
}

.team-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
}

/* ── Team Members Section ── */
.team-members-section {
  width: 100%;
  background: var(--color-bg);
  border-top: 1px solid var(--color-glass-border);
}

.team-members-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.team-avatars {
  display: flex;
  gap: 0.5em;
  justify-content: center;
  flex-wrap: wrap;
  min-width: 90%;
  padding: 0;
  margin: 0;
  list-style: none;
}

.team-avatar {
  border: 0.2em solid white;
  border-radius: 50%;
  flex: 1;
  max-width: 100px;
  aspect-ratio: 1;
  object-fit: cover;
  list-style: none;
  padding: 0;
  margin: 0;
  background-size: cover;
  box-shadow: .25em .25em .5em #7a7b7b;
  z-index: 1;
  scale: 1;
  transition: scale 0.5s;
}

.team-avatar:hover {
  scale: 1.5;
  z-index: 3;
  transition: scale 0.5s;
}

.team-avatar:hover + .team-avatar,
.team-avatar:has(+ .team-avatar:hover) {
  scale: 1.2;
  z-index: 2;
  transition: scale 0.5s;
  transition-delay: 0.1s;
}

/* ── Quote Display ── */
.team-quote-wrap {
  position: relative;
  width: 100%;
  max-width: 700px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-quote {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.team-quote.active {
  opacity: 1;
  visibility: visible;
}

.team-quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.team-quote-text::before {
  content: open-quote;
  font-family: 'Times New Roman', Times, serif;
  font-size: 2em;
  line-height: 0;
  vertical-align: -0.4em;
  color: var(--color-accent-green);
  margin-right: 0.1em;
}

.team-quote-text::after {
  content: close-quote;
  font-family: 'Times New Roman', Times, serif;
  font-size: 2em;
  line-height: 0;
  vertical-align: -0.4em;
  color: var(--color-accent-green);
  margin-left: 0.1em;
}

.team-quote-author {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-accent-green);
  letter-spacing: 0.05em;
}

/* ── Hiring Banner ── */
.team-hiring-section {
  width: 100%;
  background: var(--color-bg-deep);
  border-top: 1px solid var(--color-glass-border);
}

.hiring-box {
  background: rgba(63,185,80,0.06);
  border: 1px solid rgba(63,185,80,0.2);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  margin-top: 2rem;
}

.hiring-box p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ── Founders CTA ── */
.team-founders-section {
  width: 100%;
  background: var(--color-bg);
  border-top: 1px solid var(--color-glass-border);
}

/* ── SVG Logo Animation ── */
@keyframes move-left {
  to { transform: translateX(0); }
}

@keyframes move-right {
  to { transform: translateX(0); }
}

@keyframes grow-dot {
  from { transform: scale(0.3); }
  to { transform: scale(1); }
}

.svg-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.svg-logo-wrap svg {
  max-width: min(400px, 80vw);
  height: auto;
}

/* ── Responsive ── */
@media (width < 600px) {
  .team-quote-text {
    font-size: 1rem;
  }
}
