/* Compact directory using the same clean theme as Home and Games. */
.page-team-studio { min-height: 100vh; display: flex; flex-direction: column; background: var(--page); }
.page-team-studio .navigation-links [aria-current="page"] { color: white; }
.members-page { flex: 1; padding-block: 64px 76px; }
.members-hero { margin-bottom: 54px; }
.members-hero .eyebrow { color: #9aa1af; }
.members-hero h1 { font-size: clamp(3.4rem, 5.6vw, 5rem); font-weight: 800; line-height: 1.07; letter-spacing: -.055em; margin-block: 20px; }
.members-hero .section-sub { max-width: 610px; font-size: 16px; line-height: 1.8; color: var(--muted); }
.members-directory { display: grid; gap: 58px; }
.department-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.department-kicker { color: var(--blue-light); font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.department-heading h2 { font-size: 30px; font-weight: 750; line-height: 1.2; letter-spacing: -.035em; margin-block: 8px; }
.department-heading p { max-width: 670px; font-size: 16px; color: var(--muted); line-height: 1.7; }
.department-count { flex: none; color: #b2b7c2; font-size: 12px; padding: 6px 11px; border-radius: 100px; background: #101114; white-space: nowrap; }
.leadership-grid, .member-role-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.directory-lead-card, .member-role-card { min-width: 0; padding: 20px; border: 1px solid #24262e; border-radius: 16px; background: #101114; transition: border-color .2s; }
.directory-lead-card:hover, .member-role-card:hover { border-color: #414a5c; }
.directory-lead-card { display: flex; flex-direction: column; }
.directory-lead-media { position: relative; min-height: 80px; }
.directory-lead-media img { width: 80px; height: 80px; border-radius: 15px; object-fit: cover; }
.member-rank { position: absolute; top: 0; right: 0; color: var(--blue-light); background: #17213c; border-radius: 100px; padding: 5px 11px; font-size: 13px; font-weight: 650; }
.directory-lead-body { display: flex; flex: 1; flex-direction: column; padding-top: 16px; min-width: 0; }
.directory-member-title h3, .member-role-card h3 { font-size: 23px; line-height: 1.2; font-weight: 750; letter-spacing: -.025em; overflow-wrap: anywhere; }
.directory-member-title > span, .member-role-card > div > p:not(.member-card-description) { display: none; }
.directory-tags { display: flex; gap: 6px 12px; flex-wrap: wrap; margin-top: 10px; }
.directory-tags span { font-size: 13px; color: #b7bdca; }
.member-card-description { font-size: 16px; line-height: 1.65; color: var(--muted); }
.directory-lead-card .member-card-description { margin-block: 14px 18px; }
.member-role-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-content: start; gap: 5px 14px; }
.member-role-card > img { grid-row: 1 / span 2; width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.member-role-card > div:not(.member-role-actions) { display: contents; }
.member-role-label { grid-column: 2; align-self: end; color: var(--blue-light); font-size: 12px; font-weight: 600; line-height: 1.4; }
.member-role-card h3 { grid-column: 2; font-size: 21px; }
.member-role-card .member-card-description { grid-column: 1 / -1; margin-top: 12px; }
.directory-actions, .member-role-actions { display: flex; align-items: center; gap: 9px; min-width: 0; }
.directory-actions { margin-top: auto; }
.member-role-actions { grid-column: 1 / -1; padding-top: 13px; }
.team-discord-button, .team-profile-link { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; border: 1px solid #343946; border-radius: 100px; color: #f5f6f8; background: transparent; transition: background .2s, border-color .2s; }
.team-discord-button { min-width: 0; gap: 9px; padding: 9px 13px; font-size: 13px; }
.team-discord-button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.discord-symbol { width: 17px; height: 17px; flex: none; }
.team-profile-link { width: 40px; flex: none; }
.team-profile-link .roblox-icon { width: 17px; height: 17px; object-fit: contain; }
.team-discord-button:hover, .team-profile-link:hover { background: #1b2e59; border-color: var(--blue); }
.team-discord-button.copied { color: #a2e7c1; border-color: #428a62; }
.team-careers { display: flex; align-items: center; justify-content: space-between; gap: 36px; margin-top: 76px; padding: 40px; border: 1px solid #24262e; border-radius: 20px; background: var(--surface); }
.team-careers > div { max-width: 690px; }
.team-careers h2 { font-size: clamp(1.9rem, 3.3vw, 2.6rem); font-weight: 750; line-height: 1.15; letter-spacing: -.04em; }
.team-careers p { margin-top: 15px; max-width: 580px; font-size: 16px; line-height: 1.75; color: var(--muted); }
.team-careers .button { flex: none; }
@media (max-width: 1100px) {
  .leadership-grid, .member-role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .team-careers { align-items: flex-start; flex-direction: column; gap: 24px; margin-top: 48px; padding: 26px; }
  .department-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .leadership-grid, .member-role-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .members-page { padding-block: 40px 48px; }
  .members-hero { margin-bottom: 38px; }
  .members-hero h1 { font-size: clamp(2.8rem, 11.6vw, 4rem); }
  .members-directory { gap: 40px; }
  .department-heading h2 { font-size: 27px; }
  .directory-lead-card, .member-role-card { padding: 18px; }
}
