/* Quentin — team portrait */
.team {
  position: relative;
  padding: 128px 0;
  overflow: hidden;
  background: #101210;
  color: var(--paper);
}

.team::after {
  position: absolute;
  right: -76px;
  bottom: -76px;
  width: 230px;
  height: 230px;
  background: repeating-conic-gradient(rgba(216,239,197,.7) 0 25%,transparent 0 50%) 0/46px 46px;
  content: "";
  opacity: .17;
  pointer-events: none;
  transform: rotate(8deg);
}

.team-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
  gap: clamp(64px,9vw,128px);
  align-items: center;
}

.team-slideshow {
  position: relative;
  height: 700px;
  min-width: 0;
}

.team-slideshow::before {
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgba(216,239,197,.38);
  content: "";
  pointer-events: none;
}

.team-slideshow .team-portrait {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #050605;
}

.team-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity .8s ease, transform 2.8s ease;
}

.team-slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.team-slide:nth-child(1) { object-position: center 42%; }
.team-slide:nth-child(2) { object-position: center 44%; }
.team-slide:nth-child(3) { object-position: center 34%; }
.team-slide:nth-child(4) { object-position: center 35%; }

.team-portrait figcaption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  display: grid;
  min-width: 210px;
  padding: 18px 22px;
  background: var(--mint);
  color: var(--ink);
}

.team-directory-hero { background: var(--mint); }
.team-directory-hero .section-copy { max-width: 680px; }
.team--directory { padding-top: 104px; }

.team-portrait figcaption strong {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1;
}

.team-portrait figcaption span {
  margin-top: 6px;
  color: #435647;
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.team .eyebrow { color: var(--copper-light); }
.team .section-title { font-size: clamp(2.75rem,5vw,4.8rem); }

.team-copy > p:not(.eyebrow) {
  max-width: 610px;
  margin: 20px 0 0;
  color: #b9c2ba;
}

.team-copy .team-lead {
  color: #e5e9e3;
  font-size: 1.12rem;
}

.team-facts {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  margin: 42px 0 34px;
  border-block: 1px solid rgba(255,255,255,.18);
}

.team-facts div {
  display: grid;
  gap: 4px;
  padding: 23px 22px 22px 0;
}

.team-facts div + div {
  padding-left: 28px;
  border-left: 1px solid rgba(255,255,255,.18);
}

.team-facts strong {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
}

.team-facts span {
  color: #8e9b91;
  font-size: .66rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.team .button {
  border-color: var(--mint);
  background: var(--mint);
  color: var(--ink);
}

.team .button:hover,
.team .button:focus-visible {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}
