.people-page-hero {
  padding-top: 40px;
  padding-bottom: 30px;
}

.people-page-hero__inner {
  max-width: 860px;
}

.people-page-hero__title {
  margin: 0 0 28px;
  font-size: clamp(2.8rem, 8vw, 7rem);
  line-height: 0.92;
  font-weight: 500;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  max-width: 8ch;
}

.people-page-hero__copy {
  max-width: 46ch;
}

.people-page-hero__copy p {
  margin: 0 0 14px;
}

.people-page-filter-state {
  margin-top: 22px;
}

.people-page-clear {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  padding: 10px 14px;
  cursor: pointer;
}

.people-page-grid {
  padding-bottom: 72px;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: clamp(24px, 3vw, 36px);
  align-items: start;
  grid-auto-flow: dense;
}

.people-card {
  position: relative;
}

.people-card--portrait {
  grid-column: span 3;
}

.people-card--square {
  grid-column: span 4;
}

.people-card--landscape {
  grid-column: span 5;
}

.people-card--feature {
  grid-column: span 8;
  margin-top: clamp(18px, 2vw, 28px);
  margin-bottom: clamp(18px, 2vw, 28px);
}

.people-card__image-wrap {
  position: relative;
  overflow: hidden;
  background: #d8d8d3;
}

.people-card--portrait .people-card__image-wrap {
  aspect-ratio: 3 / 4;
}

.people-card--square .people-card__image-wrap {
  aspect-ratio: 1 / 1;
}

.people-card--landscape .people-card__image-wrap {
  aspect-ratio: 16 / 10;
}

.people-card--feature .people-card__image-wrap {
  aspect-ratio: 16 / 9;
}

.people-card__media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.people-card:hover .people-card__media {
  transform: scale(1.02);
}

.people-card__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  opacity: 0;
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.people-card:hover .people-card__meta,
.people-card.is-in-view .people-card__meta {
  opacity: 1;
}

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

.people-card__tags {
  display: flex;
  flex-wrap: wrap;
  pointer-events: auto;
}

.people-card__tag {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-size: 13px;
  line-height: 1.2;
  padding: 0;
  cursor: pointer;
  position: relative;
}

.people-card__tag::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--ease);
}

.people-card__tag:hover::after {
  transform: scaleX(1);
}

.people-card__tag + .people-card__tag {
  margin-left: 18px;
}

.people-card__tag + .people-card__tag::before {
  content: "•";
  position: absolute;
  left: -12px;
  opacity: 0.9;
}

.people-card.is-hidden {
  display: none;
}

/* Tablet: keep editorial grid, just smaller */
@media (max-width: 900px) {
  .people-page-hero {
    padding-top: 34px;
    padding-bottom: 28px;
  }

  .people-page-hero__title {
    margin-bottom: 24px;
    max-width: 9ch;
  }

  .people-grid {
    column-gap: 14px;
    row-gap: clamp(22px, 3vw, 30px);
  }

  .people-card--portrait {
    grid-column: span 3;
  }

  .people-card--square {
    grid-column: span 4;
  }

  .people-card--landscape {
    grid-column: span 6;
  }

  .people-card--feature {
    grid-column: span 8;
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

/* Mobile: narrow editorial grid */
@media (max-width: 680px) {
  .people-page-hero {
    padding-top: 28px;
    padding-bottom: 24px;
  }

  .people-page-hero__title {
    margin-bottom: 20px;
    max-width: none;
  }

  .people-page-hero__copy {
    max-width: 100%;
  }

  .people-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 18px;
  }

  .people-card--portrait,
  .people-card--square {
    grid-column: span 1;
  }

  .people-card--landscape,
  .people-card--feature {
    grid-column: 1 / -1;
  }

  .people-card--feature {
    margin-top: 12px;
    margin-bottom: 12px;
  }

  .people-card__meta {
    padding: 10px;
  }

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

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

@media (hover: none) {
  .people-card:hover .people-card__media {
    transform: none;
  }

  .people-card__tag::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .people-card__media,
  .people-card__meta {
    transition: none;
  }
}
