.team-home {
  background: #f6f3ed;
  color: var(--ink, #292923);
  padding-top: clamp(76px, 8vw, 132px);
  padding-bottom: clamp(90px, 9vw, 150px);
  scroll-margin-top: 70px;
}

.team-home-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(28px, 3.5vw, 52px);
}

.team-home-eyebrow {
  margin-bottom: clamp(22px, 3vw, 42px);
  color: #95513b;
  font: 11px/1.4 'DM Sans', Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.team-home-heading h2 {
  font-size: clamp(48px, 5.5vw, 88px);
  line-height: 1.02;
}

.team-home-heading > p {
  max-width: 230px;
  padding-bottom: 7px;
  color: #5e5d54;
  font-size: 14px;
  line-height: 1.5;
}

.team-home-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 1.25vw, 22px);
  align-items: start;
}

.team-home-card {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.team-home-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1122 / 1402;
  background: #302f2d;
}

.team-home-media picture,
.team-home-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.team-home-media img {
  object-fit: cover;
}

.team-home-fallback {
  display: none;
  position: absolute;
  inset: 0;
  place-items: center;
  color: #e8e1d3;
  font: 400 clamp(34px, 5vw, 78px)/1 'Instrument Serif', Georgia, serif;
}

.team-home-media.is-broken picture { display: none; }
.team-home-media.is-broken .team-home-fallback { display: grid; }

.team-home-info {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 8px;
  min-height: 109px;
  padding: 17px 0 0;
  border-top: 1px solid transparent;
  border-bottom: 1px solid #bbb6aa;
  transition: border-color .3s ease;
}

.team-home-details { display: grid; gap: 5px; min-width: 0; }
.team-home-name {
  font-size: clamp(17px, 1.38vw, 22px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -.035em;
}
.team-home-discipline {
  color: #67665e;
  font-size: 11px;
  line-height: 1.35;
}
.team-home-profile-call {
  width: fit-content;
  margin-top: 8px;
  color: #95513b;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .035em;
  border-bottom: 1px solid #95513b80;
}
.team-home-open {
  flex: none;
  color: #95513b;
  font: 24px/1 'DM Sans', Arial, sans-serif;
  transition: transform .3s ease;
}

.team-home-card:hover .team-home-info,
.team-home-card:focus-visible .team-home-info { border-bottom-color: #95513b; }
.team-home-card:hover .team-home-open,
.team-home-card:focus-visible .team-home-open { transform: translate(3px, -3px); }
.team-home-card:focus-visible { outline: 2px solid #95513b; outline-offset: 6px; }

.team-home[data-team-motion='ready'] .team-home-card:not(.is-visible) {
  opacity: 0;
  transform: translateY(14px);
}
.team-home[data-team-motion='ready'] .team-home-card {
  transition: opacity .65s ease, transform .65s ease;
  transition-delay: calc(var(--team-order, 0) * 65ms);
}
.team-home-noscript { padding-top: 22px; font-size: 14px; }
.team-home-noscript a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1150px) {
  .team-home-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .team-home-name { font-size: clamp(18px, 2vw, 22px); }
}

@media (max-width: 720px) {
  .team-home { padding-top: 70px; padding-bottom: 86px; }
  .team-home-heading { display: block; padding-bottom: 30px; }
  .team-home-eyebrow { margin-bottom: 22px; }
  .team-home-heading h2 { font-size: clamp(43px, 11vw, 62px); }
  .team-home-heading > p { margin-top: 20px; padding: 0; font-size: 13px; }
  .team-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 27px 12px; }
  .team-home-info { min-height: 119px; padding-top: 12px; }
  .team-home-name { font-size: clamp(16px, 4.35vw, 19px); }
  .team-home-discipline { font-size: 10px; }
  .team-home-open { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .team-home-card, .team-home-info, .team-home-open { transition: none !important; transform: none !important; opacity: 1 !important; }
}
