/* ==========================================================================
   TEAM PAGE — /team/
   Compact ink hero band + Ratio-style member grid
   ========================================================================== */

/* ---------- hero ---------- */

.team-hero {
  padding: clamp(150px, 18vw, 210px) 0 clamp(56px, 7vw, 84px);
  border-bottom: 1px solid var(--line);
}

.team-hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 5.4vw, 74px);
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.team-hero .lead { margin-top: 26px; max-width: 42em; }

/* ---------- member grid ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.team-card {
  background: var(--charcoal);
  transition: background 0.4s ease;
}

.team-card:hover { background: var(--charcoal-2); }

.team-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(160deg, var(--charcoal) 0%, var(--charcoal-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-tile::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--teal);
  transition: background 0.3s ease;
}

.team-card:hover .team-tile::before { background: var(--teal); }

.team-tile::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--teal);
  transition: right 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.team-card:hover .team-tile::after { right: 0; }

.team-monogram {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(44px, 4.6vw, 64px);
  letter-spacing: 0.18em;
  padding-left: 0.18em; /* balances the tracking so the monogram sits centered */
  color: var(--steel);
  transition: color 0.5s ease, transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.team-card:hover .team-monogram { color: var(--white); transform: scale(1.06); }

.team-info {
  padding: 22px 26px 26px;
  border-top: 1px solid var(--line);
}

.team-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.team-role {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 8px;
}

/* ---------- plain charcoal quote band ---------- */

.quote-plain { background: var(--charcoal); }

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; }
}
