/* PV2 2:3 Portrait Wall 6-col (Center 20% Face Protection) + PS1 Rounded Square */
.person-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.person-bleed-card {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}
.person-bleed-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.28s ease;
}
.person-bleed-card:hover { border-color: var(--cyan); box-shadow: var(--shadow-hover); }
.person-bleed-card:hover > img { transform: scale(1.04); }
.person-bleed-cap {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, transparent, rgba(7, 12, 22, 0.94));
}
.person-bleed-cap h3 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.person-bleed-cap small { font-size: 11.5px; color: var(--cyan); }

.person-square-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.person-sq-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
}
.person-sq-card:hover { border-color: var(--cyan); }
.person-sq-avatar {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-2);
}
.person-sq-avatar > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.person-sq-card h3 { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.person-sq-card small { font-size: 12px; color: var(--ink-3); }

.person-works-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.person-work-card { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.person-work-poster {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}
.person-work-poster > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.person-work-card h3 { font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.person-work-card p { font-size: 12px; color: var(--ink-3); }

@media (max-width: 1280px) {
  .person-wall, .person-square-grid, .person-works-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .person-wall, .person-square-grid, .person-works-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  /* MPV2: 2-col immersive + MPS1: 3-col square */
  .person-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .person-square-grid, .person-works-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
}
