/* ═══════════════════════════════════════
   STAFF PAGE — TBU
═══════════════════════════════════════ */

.staff-page {
  background: #050505;
  padding: 3rem 0 8rem;
}

/* ── FILTERS ── */
.staff-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-bottom: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

.staff-filter {
  padding: 0.75rem 2rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: inherit;
  transition: all 0.2s ease;
}

.staff-filter:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.7);
}

.staff-filter.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* ── GRID (wrapper) ── */
.staff-grid {
  display: flex;
  flex-direction: column;
}

/* ── CARD ROW ── */
.staff-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  background: transparent;
}

.staff-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Alternate: photo right */
.staff-card:nth-child(even) .staff-photo,
.staff-card--alt .staff-photo { order: 2; }
.staff-card:nth-child(even) .staff-info,
.staff-card--alt .staff-info  { order: 1; border-right: 1px solid rgba(255,255,255,0.04); border-left: none; }

/* Force photo left */
.staff-card--left .staff-photo { order: 1 !important; }
.staff-card--left .staff-info  { order: 2 !important; border-left: 1px solid rgba(255,255,255,0.04) !important; border-right: none !important; }

/* ── PHOTO ── */
.staff-photo {
  width: 100%;
  overflow: hidden;
  background: #0a0a0a;
  position: relative;
  aspect-ratio: 3 / 4;
  border: none;
  border-left: 1px solid rgba(255,255,255,0.04);
}

.staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(15%);
  transition: filter 0.4s ease, transform 0.5s ease;
}

.staff-card:hover .staff-photo img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.staff-photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.staff-photo--placeholder::after {
  content: '?';
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.04);
}

/* ── INFO ── */
.staff-info {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
  background: #070707;
  border-left: 1px solid rgba(255,255,255,0.04);
  flex: unset;
}

.staff-role {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  opacity: 0.85;
}

.staff-name {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1;
}

.staff-langs {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.2rem;
}

.staff-langs img {
  width: 26px;
  height: 17px;
  object-fit: cover;
  border-radius: 2px;
  opacity: 0.85;
}

.staff-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.staff-tag {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.3rem 0.75rem;
  border-radius: 3px;
}

.staff-tag--same {
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.25);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.05em;
}

/* ── STAFF PAIR (courtesan duo) ── */
.staff-pair {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
}

.staff-pair-photos {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}

.staff-pair-photo {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
}

.staff-pair-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.staff-pair-photo:hover img { transform: scale(1.05); }

.staff-pair-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  gap: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.staff-pair-photo:hover .staff-pair-overlay { opacity: 1; }

.staff-pair-overlay-name {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.staff-pair-overlay-bio {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  text-align: center;
}

/* Red separator between the two photos */
.staff-pair-sep {
  width: 2rem;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}

.staff-pair-sep::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 5%;
  bottom: 5%;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, transparent, rgba(224,16,32,0.7) 15%, rgba(224,16,32,0.7) 85%, transparent);
}

/* Shared info top */
.staff-pair-shared {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.2rem 2rem;
  border-bottom: 1px solid rgba(224,16,32,0.15);
}

.staff-pair-shared .staff-role { margin: 0; }
.staff-pair-shared .staff-langs { margin: 0; }
.staff-pair-shared .staff-tags  { margin: 0; }

@media (max-width: 700px) {
  .staff-pair-photos { grid-template-columns: 1fr; }
  .staff-pair-sep { width: 100%; height: 1px; align-self: auto; background: linear-gradient(to right, transparent, rgba(224,16,32,0.7) 15%, rgba(224,16,32,0.7) 85%, transparent); }
}

.staff-bio {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-style: normal;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.9;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 340px;
}

/* ── HIDDEN (filter) ── */
.staff-card[style*="display: none"] { display: none !important; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .staff-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .staff-card:nth-child(even) .staff-photo,
  .staff-card:nth-child(even) .staff-info { order: unset; }

  .staff-photo--placeholder { min-height: 280px; }

  .staff-info {
    padding: 2.5rem 2rem;
    border-left: none !important;
    border-right: none !important;
    border-top: 1px solid rgba(255,255,255,0.04);
  }
}
