.team-hero {
  position: relative;
  background: #071526 url("/assets/images/phase7.jpeg") center center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.team-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(7, 18, 36, 0.92) 0%, rgba(10, 37, 64, 0.84) 52%, rgba(10, 37, 64, 0.62) 100%);
}
.team-hero .container {
  position: relative;
  z-index: 1;
  padding-top: 72px;
  padding-bottom: 64px;
  max-width: 820px;
  margin-left: max(24px, calc((100% - 1200px) / 2));
}
.team-kicker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #f3d27a;
  margin-bottom: 14px;
}
.team-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 52px;
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 14px;
}
.team-hero p {
  font-size: 16.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  max-width: 640px;
}

.team-section { padding: 56px 0 72px; background: var(--gray-100); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 240px));
  justify-content: center;
  gap: 16px;
}
.team-card {
  background: #fff;
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  padding: 18px 14px 16px;
}
.team-photo {
  width: 136px;
  height: 136px;
  margin: 0 auto 12px;
  border-radius: 50%;
  overflow: hidden;
  background: #e8edf3;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--blue-mid);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.team-photo i {
  color: #8ea0b3;
  font-size: 36px;
}
.team-meta strong {
  display: block;
  font-size: 15px;
  color: var(--blue-dark);
  margin-bottom: 4px;
}
.team-role {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray-600);
  line-height: 1.4;
  margin-bottom: 8px;
}
.team-dept {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red-main);
  background: var(--red-pale);
  border-radius: 20px;
  padding: 3px 9px;
}

@media (max-width: 980px) {
  .team-hero h1 { font-size: 38px; }
  .team-hero .container { margin-left: 0; padding-top: 48px; padding-bottom: 42px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 240px)); }
}
@media (max-width: 640px) {
  .team-hero h1 { font-size: 32px; }
  .team-section { padding: 36px 0 48px; }
  .team-grid { grid-template-columns: minmax(0, 280px); }
  .team-photo { width: 120px; height: 120px; }
}
