/* Our Team. Page-specific layout */

.team-h1 {
  font-size: 56px;
  line-height: 1.06;
}
.team-lead {
  max-width: 720px;
  margin: 22px auto 30px;
}

.team-room {
  margin-bottom: 56px;
}
.team-room--last {
  margin-bottom: 0;
}
.team-room-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}
.team-room-head h2 {
  font-family: var(--tt-serif);
  font-weight: 600;
  font-size: 32px;
  color: var(--tt-espresso);
  white-space: nowrap;
}
.team-room-line {
  height: 1px;
  background: var(--tt-hairline-2);
  flex: 1;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.team-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(92, 59, 40, 0.06);
}
.team-photo {
  aspect-ratio: 5 / 6;
  overflow: hidden;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-meta {
  padding: 18px 16px;
  text-align: center;
}
.team-name {
  font-family: var(--tt-serif);
  font-weight: 600;
  font-size: 23px;
  color: var(--tt-espresso);
}
.team-role {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tt-clay);
  font-weight: 800;
  margin: 6px 0 8px;
}
.team-detail {
  font-size: 13px;
  color: var(--tt-muted);
  line-height: 1.5;
}

.team-reviews-h3 {
  font-size: 40px;
  margin-bottom: 10px;
}

.tt-reviews-box {
  width: min(100%, 1120px);
  max-width: 1120px;
  min-height: 220px;
  padding: 12px 0 0;
  border: 0;
  border-radius: 0;
  margin: 0 auto;
  background: transparent;
}

@media (max-width: 980px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 620px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
