.people-strip {
  padding: 64px 0 24px;
  background: var(--bg);
}

.people-strip__viewport {
  width: 100%;
  overflow: hidden;
}

.people-strip__track {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: max-content;
  will-change: transform;
  animation: people-strip-scroll 270s linear infinite;
}



.people-card {
  flex: 0 0 auto;
}

.people-card__image-wrap {
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #ddd;
  height: 260px;
}

.people-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Same displayed height, different widths */
.people-card--portrait {
  width: 195px;
}

.people-card--square {
  width: 260px;
}

.people-card--landscape {
  width: 416px;
}

/* Overlay labels - hidden by default */
.people-card__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #ffffff;
  background: none;
  opacity: 0;
  transition: opacity 480ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.people-card:hover .people-card__meta {
  opacity: 1;
}

.people-card__name {
  font-size: 14px;
  line-height: 1.1;
  font-weight: 500;
  color: #ffffff;
}

.people-card__tags {
  font-size: 13px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.9);
}

@keyframes people-strip-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 4px));
  }
}

/* Tablet */
@media (max-width: 900px) {
  .people-strip {
    padding: 48px 0 48px;
  }

  .people-strip__track {
    gap: 8px;
    animation-duration: 240s;
  }

  .people-card__image-wrap {
    height: 220px;
  }

  .people-card--portrait {
    width: 165px;
  }

  .people-card--square {
    width: 220px;
  }

  .people-card--landscape {
    width: 352px;
  }
}

/* Mobile */
@media (max-width: 680px) {
  .people-strip {
    padding: 40px 0 40px;
  }

  .people-strip__track {
    gap: 8px;
    animation-duration: 220s;
  }

  .people-card__image-wrap {
    height: 170px;
  }

  .people-card--portrait {
    width: 128px;
  }

  .people-card--square {
    width: 170px;
  }

  .people-card--landscape {
    width: 272px;
  }

  .people-card__meta {
    padding: 10px;
  }

  .people-card__name {
    font-size: 13px;
  }

  .people-card__tags {
    font-size: 12px;
  }
}

@media (hover: none) {
  .people-card__meta {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .people-strip__track {
    animation: none;
  }

  .people-card__meta {
    transition: none;
  }
}