.site-header.scrolled {
  background: rgba(5, 5, 5, 0.96);
}

.staff-main {
  position: relative;
  overflow: hidden;
}

.staff-shell {
  width: min(calc(100% - 80px), 1160px);
  margin: 0 auto;
}

.staff-hero {
  position: relative;
  min-height: 700px;
  padding: 132px 0 88px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.staff-hero::before {
  position: absolute;
  top: 2%;
  right: -12%;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(127, 210, 255, 0.12);
  border-radius: 50%;
  content: '';
  box-shadow: 0 0 110px rgba(51, 133, 191, 0.09) inset;
}

.staff-hero::after {
  position: absolute;
  top: 24%;
  right: 5%;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: '';
}

.staff-back-button {
  position: relative;
  z-index: 2;
  display: inline-flex;
  min-height: 44px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid var(--line-bright);
  border-radius: 100px;
  color: #d7d9de;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}

.staff-back-button:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.staff-eyebrow {
  position: relative;
  z-index: 2;
  display: flex;
  margin-top: 70px;
  align-items: center;
  gap: 16px;
  color: var(--blue);
  font-family: var(--font-en);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.staff-eyebrow span {
  width: 38px;
  height: 1px;
  background: var(--blue);
}

.staff-hero h1 {
  position: relative;
  z-index: 2;
  margin-top: 20px;
  font-size: clamp(3.4rem, 6vw, 5.8rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1.05;
}

.staff-lead {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin-top: 34px;
  color: #d9dbe0;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 600;
  line-height: 1.85;
}

.staff-summary {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.95;
}

.staff-counts {
  position: relative;
  z-index: 2;
  display: grid;
  max-width: 720px;
  margin-top: 44px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.staff-counts div {
  display: grid;
  min-height: 88px;
  padding: 18px 24px;
  align-content: center;
  border-left: 1px solid var(--line);
}

.staff-counts div:first-child { border-left: 0; }
.staff-counts strong { font-family: var(--font-en); font-size: 1.9rem; font-weight: 500; line-height: 1; }
.staff-counts span { margin-top: 8px; color: var(--muted); font-family: var(--font-en); font-size: 0.5rem; letter-spacing: 0.16em; }

.staff-directory {
  padding: 105px 0 112px;
}

.staff-section-heading {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.65fr);
  gap: 56px;
}

.staff-kicker {
  color: var(--blue);
  font-family: var(--font-en);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.staff-section-heading h2 {
  max-width: 690px;
  margin-top: 12px;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.45;
}

.staff-section-heading > p {
  max-width: 430px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.95;
}

.member-grid {
  display: grid;
  margin-top: 56px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.member-card {
  position: relative;
  min-height: 285px;
  padding: 24px 23px 25px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(21, 27, 32, 0.74), rgba(6, 7, 9, 0.9));
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}

.member-card::after {
  position: absolute;
  right: -36px;
  bottom: -36px;
  width: 98px;
  height: 98px;
  border: 1px solid rgba(127, 210, 255, 0.09);
  border-radius: 50%;
  content: '';
}

.member-card:hover {
  border-color: rgba(127, 210, 255, 0.42);
  transform: translateY(-3px);
  background: linear-gradient(145deg, rgba(24, 40, 50, 0.76), rgba(6, 7, 9, 0.92));
}

.member-number {
  position: absolute;
  top: 20px;
  right: 22px;
  color: rgba(255, 255, 255, 0.2);
  font-family: var(--font-en);
  font-size: 1.08rem;
  letter-spacing: 0.08em;
}

.member-kind {
  color: var(--blue);
  font-family: var(--font-en);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.member-card h3 {
  margin-top: 32px;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.member-card h3 small {
  display: block;
  margin-top: 5px;
  color: #747983;
  font-size: 0.54rem;
  font-weight: 400;
  letter-spacing: 0.07em;
}

.member-role {
  min-height: 42px;
  margin-top: 18px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.65;
}

.member-profile {
  position: relative;
  z-index: 1;
  margin-top: 13px;
  color: #aeb1b8;
  font-size: 0.77rem;
  line-height: 1.8;
}

.member-card-human {
  grid-column: 1 / -1;
  min-height: 230px;
  padding: 28px min(34%, 390px) 30px 28px;
  border-color: rgba(216, 194, 143, 0.35);
  background: radial-gradient(circle at 82% 50%, rgba(216, 194, 143, 0.14), transparent 31%), linear-gradient(145deg, rgba(31, 29, 23, 0.82), rgba(6, 7, 9, 0.94));
}

.member-kind-human { color: var(--gold); }
.member-card-human .member-role { min-height: 0; }
.member-card-human .member-profile { max-width: 720px; }

.staff-dialogue {
  padding: 0 0 96px;
}

.staff-dialogue-panel {
  position: relative;
  padding: clamp(30px, 4vw, 52px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(14, 30, 41, 0.78), rgba(7, 8, 11, 0.92));
}

.staff-dialogue-panel::after {
  position: absolute;
  top: -180px;
  right: -140px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(127, 210, 255, 0.16);
  border-radius: 50%;
  content: '';
}

.staff-dialogue h2 {
  position: relative;
  z-index: 1;
  max-width: 1060px;
  margin-top: 12px;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.6;
}

.staff-dialogue-panel > p:last-child {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.85;
}

.staff-back-button-bottom { margin-top: 30px; }

@media (max-width: 1100px) {
  .staff-shell { width: min(calc(100% - 56px), 960px); }
  .staff-section-heading { grid-template-columns: 1fr; gap: 24px; }
  .staff-section-heading > p { max-width: 720px; }
  .member-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .staff-shell { width: calc(100% - 32px); }
  .staff-hero { min-height: auto; padding: 104px 0 68px; }
  .staff-hero::before { top: 8%; right: -330px; width: 540px; height: 540px; }
  .staff-hero::after { display: none; }
  .staff-eyebrow { margin-top: 52px; font-size: 0.52rem; letter-spacing: 0.17em; }
  .staff-hero h1 { margin-top: 16px; font-size: clamp(3rem, 16vw, 4.4rem); }
  .staff-lead { margin-top: 28px; font-size: 1rem; }
  .staff-lead br { display: none; }
  .staff-summary { font-size: 0.82rem; }
  .staff-counts { margin-top: 36px; }
  .staff-counts div { min-height: 78px; padding: 14px 8px; }
  .staff-counts strong { font-size: 1.5rem; }
  .staff-counts span { font-size: 0.42rem; letter-spacing: 0.06em; }
  .staff-directory { padding: 78px 0 82px; }
  .staff-section-heading { gap: 20px; }
  .staff-section-heading h2 { font-size: clamp(1.75rem, 8vw, 2.25rem); line-height: 1.5; }
  .staff-section-heading > p { font-size: 0.78rem; }
  .member-grid { margin-top: 40px; grid-template-columns: 1fr; gap: 12px; }
  .member-card { min-height: auto; padding: 22px 20px 24px; }
  .member-card h3 { margin-top: 28px; }
  .member-role { min-height: 0; }
  .member-card-human { grid-column: auto; min-height: auto; padding: 24px 20px 26px; }
  .staff-dialogue { padding-bottom: 72px; }
  .staff-dialogue-panel { padding: 27px 22px; border-radius: 15px; }
  .staff-dialogue h2 { font-size: 1.22rem; line-height: 1.7; }
  .staff-dialogue h2 br { display: none; }
  .staff-back-button,
  .staff-back-button-bottom { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .member-card:hover { transform: none; }
}