/* =========================
   TEAM HERO
========================= */

.team-hero{
  position: relative;
  background: #000;
  color: #fff;
  overflow: hidden;
  border-bottom: 2px solid #fff;
}

.team-hero__bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.22;
  z-index: 0;
}

.team-hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.68);
  z-index: 0;
}

.team-hero__inner{
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 150px 24px 96px;
}

.team-hero__eyebrow{
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.68);
}

.team-hero__title{
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
  color: #fff;
}

.team-hero__text{
  max-width: 760px;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255,255,255,.84);
}

@media (max-width: 991px){
  .team-hero__inner{
    padding: calc(var(--mobile-header-height, 55px) + 48px) 22px 72px;
  }
}

@media (max-width: 640px){
  .team-hero__inner{
    padding: calc(var(--mobile-header-height, 55px) + 34px) 18px 56px;
  }

  .team-hero__text{
    font-size: 16px;
  }
}

/* =========================
   TEAM GRID
========================= */

.team-section{
  background: #fff;
  color: #000;
}

.team-section__inner{
  max-width: 1320px;
  margin: 0 auto;
  padding: 90px 24px;
}

.team-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.team-card{
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid #000;
}

.team-card__media{
  position: relative;
  aspect-ratio: 1 / 1;
  background: #eceae6;
  overflow: hidden;
}

.team-card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card__media--placeholder{
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(rgba(0,0,0,.12), rgba(0,0,0,.12)),
    #d8d4cd;
}

.team-card__media--placeholder span{
  display: inline-block;
  padding: 12px 16px;
  border: 1px solid rgba(0,0,0,.42);
  font-family: var(--font-sans);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(0,0,0,.68);
  background: rgba(255,255,255,.5);
}

.team-card__content{
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 24px 28px;
}

.team-card__role{
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(0,0,0,.56);
}

.team-card__name{
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.08;
  color: #000;
}

.team-card__bio{
  margin: 0 0 22px;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.8;
  color: rgba(0,0,0,.82);
}


@media (max-width: 1100px){
  .team-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px){
  .team-section__inner{
    padding: 56px 18px;
  }

  .team-card__content{
    padding: 22px 18px 24px;
  }
}