/* team page */
/* sections */
.t2-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: var(--pad);
}

.t2-sec {
  padding-block: clamp(32px, 4vw, 54px);
}

.t2-sec:first-of-type {
  padding-top: clamp(46px, 6.4vw, 83px);
}

.t2-sec:last-of-type {
  padding-bottom: clamp(58px, 8vw, 106px);
}


/* group title */
.t2-title {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.8rem);
  margin-bottom: clamp(1.9rem, 3vw, 2.7rem);
}

.t2-title span {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.9vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -.015em;
  color: var(--ink);
}

.t2-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}


/* rows */
.t2-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.8rem, 2.8vw, 2.6rem) clamp(1.2rem, 2.2vw, 2rem);
}

.t2-row--lead {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 3vw, 3rem) clamp(1.6rem, 2.8vw, 2.6rem);
}


/* a person */
.t2-person {
  display: block;
  color: inherit;
}

a.t2-person {
  cursor: pointer;
}

a.t2-person:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 8px;
  border-radius: var(--r);
}

.t2-person .pic {
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--r);
  background: var(--cream);
  transition: background-color .35s;
}

.t2-person .pic img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  mix-blend-mode: multiply;
  transition: transform .55s cubic-bezier(.2, .7, .3, 1);
}

a.t2-person:hover .pic img {
  transform: scale(1.035);
}

.t2-person h3 {
  margin-top: clamp(.9rem, 1.1vw, 1.15rem);
  padding-top: clamp(.75rem, .95vw, .95rem);
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--ink);
  transition: color .25s, border-color .25s;
}

.t2-row--lead .t2-person h3 {
  font-size: clamp(1.35rem, 1.9vw, 1.75rem);
}

a.t2-person:hover h3 {
  color: var(--wine);
  border-top-color: rgba(148, 50, 67, .45);
}

a.t2-person h3::after {
  content: "\2192";
  display: inline-block;
  margin-left: .4em;
  font-family: var(--sans);
  font-size: .68em;
  color: var(--wine);
  opacity: 0;
  transform: translateX(-.35em);
  transition: opacity .28s, transform .28s;
}

a.t2-person:hover h3::after,
a.t2-person:focus-visible h3::after {
  opacity: 1;
  transform: none;
}

.t2-person .role {
  margin-top: .5rem;
  font-size: .76rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  line-height: 1.5;
  font-weight: 600;
  color: var(--body);
}


/* paired tiers */
.t2-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 3vw, 2.8rem);
}

.t2-pair .t2-title {
  gap: clamp(.9rem, 1.6vw, 1.4rem);
}

.t2-pair .t2-title span {
  min-width: 0;
}

.t2-pair .t2-title::after {
  min-width: clamp(20px, 4vw, 60px);
}

.t2-row--half {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .t2-pair {
    grid-template-columns: 1fr;
    gap: clamp(2.7rem, 7vw, 3.4rem);
  }

}

@media (max-width: 1040px) {
  .t2-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

@media (max-width: 760px) {
  .t2-row,
  .t2-row--lead {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .t2-title {
    gap: 1rem;
  }

  .t2-row--lead .t2-person h3 {
    font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  }

}

@media (max-width: 560px) {
  .t2-title::after {
    display: none;
  }

}
