/* About / Team */



.about {
  background:
    linear-gradient(180deg, var(--ivory) 0%, var(--paper) 40%, var(--ivory) 100%);
}

.about .sec-head h2 .italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--clay-deep);
  letter-spacing: -0.01em;
}

.about-head { margin-bottom: 72px; }

/* Grid: 4 cards/row on wide, gracefully wraps. The 7th card centers nicely
   thanks to the last-row layout (CSS auto-fill keeps them aligned). */
.team-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 24px;
}

@media (max-width: 1100px) {
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
}
@media (max-width: 420px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* Editorial stagger: every other card drops a little for rhythm */
.team-card:nth-child(even) { transform: translateY(18px); }
@media (max-width: 760px) {
  .team-card:nth-child(even) { transform: none; }
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.team-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--sand);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), box-shadow 280ms ease;
}
.team-card:hover .team-photo {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  filter: saturate(0.96);
  transition: transform 520ms cubic-bezier(.2,.7,.2,1), filter 280ms ease;
}
.team-card:hover .team-photo img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

.team-num {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: var(--r-pill);
  background: rgba(20, 17, 13, 0.55);
  color: var(--paper);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.team-info {
  padding: 0 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.team-name {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
}
.team-role {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.team-role::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--clay);
  display: inline-block;
}
