/*
 * Team strip — two-person split.
 * Source: brief.json > design_system > components > team_strip
 */

.team {
  background-color: var(--color-surface);
  padding: var(--section-padding);
}

.team__heading {
  /* inherits h2 */
  color: var(--color-text);
  margin-bottom: 3rem;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.team__member {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.team__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform var(--duration-slow) var(--easing-standard);
}

.team__member:hover .team__photo img {
  transform: scale(1.03);
}

.team__info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.team__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--color-text);
}

.team__role {
  /* inherits .eyebrow */
}

.team__bio {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.team__linkedin {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-teal);
}

.team__linkedin:hover {
  color: var(--color-orange);
}

@media (max-width: 768px) {
  .team {
    padding: var(--section-padding-mobile);
  }

  .team__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
