/* ── Team Hero ── */
.team-hero {
  background: var(--color-bg);
  padding: calc(var(--space-2xl) + var(--nav-height)) var(--gutter) var(--space-xl);
}

.team-hero__inner {
  max-width: var(--content-narrow);
  margin: 0 auto;
}

.team-hero__eyebrow {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.team-hero__headline {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  /* h1 defaults to bold, and Fake Receipt only ships a Regular — without
     this the browser synthesises a faux bold and thickens the strokes. */
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-text-primary);
  margin-bottom: var(--space-lg);
}

.team-hero__headline em {
  font-style: normal;
  color: var(--color-monika);
}

.team-hero__intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.team-hero__intro p {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--color-text-secondary);
  font-weight: 300;
}

/* ── Team Grid ── */
.team-grid {
  background: var(--color-surface);
  padding: var(--space-xl) var(--gutter) var(--space-2xl);
}

.team-grid__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

/* ── Team Card ── */
.team-card {
  background: var(--color-bg);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transform: translateZ(0);
  transition: box-shadow var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.team-card__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.team-card__initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--palette-2), var(--palette-4));
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
  user-select: none;
}

.team-card__body {
  padding: var(--space-lg);
}

.team-card__name {
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
}

.team-card__role {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.team-card__bio {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-text-secondary);
  font-weight: 300;
  margin-bottom: var(--space-lg);
}

.team-card__linkedin {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-monika-dark);
  transition: color var(--duration-base);
}

.team-card__linkedin:hover {
  color: var(--color-accent);
}

/* ── Responsive — breakpoints mirror --bp-lg / --bp-sm in tokens.css.
   Headline sizing comes from the fluid --text-4xl token. ── */
@media (max-width: 1024px) {
  .team-grid__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .team-hero__intro p {
    font-size: var(--text-base);
  }
}

@media (max-width: 480px) {
  .team-grid__inner {
    grid-template-columns: 1fr;
  }
}
