/* =========================================================================
   Slingshot v5 · Team (/team/, copy/team.md, SPEC-V5 §7)
   A plain head on #121214, then one grid of nine equal cards on #1C1C1E:
   photo (or the dot-matrix initials tile), name, title in mono, LinkedIn
   where we have it. No hover on the card (v5.1). The closing partial follows.
   ========================================================================= */

.t-head {
  position: relative;
}
.t-head-in {
  display: grid;
  gap: 20px;
  padding-block: calc(var(--bar-h) + clamp(64px, 8vw, 112px))
    clamp(48px, 5vw, 72px);
}
.t-head .t-d2 {
  max-width: 16ch;
  color: var(--stone);
}

.t-grid-sec {
  padding-block: clamp(48px, 5vw, 80px) clamp(80px, 8vw, 128px);
}
.t-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 3vw, 48px) var(--gut);
  padding: 0;
}
@media (min-width: 640px) {
  .t-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* v5.1 (Ethan): larger photos, two across from tablet up, on a narrower
   measure so each portrait reads at about 500px */
@media (min-width: 1024px) {
  .t-grid {
    /* two 480px cards: the 960w portrait stays sharp at DPR 2 */
    max-width: calc(960px + clamp(32px, 4vw, 64px));
    column-gap: clamp(32px, 4vw, 64px);
  }
}
.tcard {
  display: grid;
  align-content: start;
  gap: 8px;
  scroll-margin-top: calc(var(--bar-h) + 24px);
}
.tcard-img {
  aspect-ratio: 4 / 5;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--s2);
  border-radius: 2px;
}
.tcard-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* v5.1 (SPEC-V5.1 §C3): a card is not a link, so nothing on it answers a
   hover; only its LinkedIn link does */
.tcard-name {
  font: 600 var(--fs-h3) / 1.15 var(--f-display);
  letter-spacing: -0.01em;
  color: var(--stone);
}
.tcard-title {
  font: 500 var(--fs-tag) / 1.4 var(--f-mono);
  letter-spacing: 0.08em;
  color: var(--heat-peach);
}
.tcard-li {
  justify-self: start;
  margin-top: 4px;
  font-size: 0.875rem;
}
.tcard:target .tcard-img {
  box-shadow: 0 0 0 2px var(--heat-amber-d);
}
