/* Staff page */

.staff-top {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid color-mix(in srgb, var(--flame-mid) 18%, transparent);
  background: transparent;
}

.staff-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.staff-nav a {
  color: var(--ink-dim);
  font-weight: 600;
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.95);
}

.staff-nav a:hover,
.staff-nav a[aria-current="page"] {
  color: var(--flame);
}

.staff-main {
  position: relative;
  z-index: 1;
  width: min(52rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

.staff-hero h1 {
  margin: 0.35rem 0 0.75rem;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: var(--glow);
}

.staff-lede {
  margin: 0;
  max-width: 32rem;
  color: #d0d0d8;
  font-weight: 500;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.95);
}

.staff-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}

.staff-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem 2rem;
  align-items: center;
  padding: 1.5rem;
  border: 1px solid color-mix(in srgb, var(--flame-mid) 30%, transparent);
  background: color-mix(in srgb, var(--void) 40%, transparent);
}

.staff-photo {
  width: min(42vw, 11.5rem);
  height: min(42vw, 11.5rem);
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--flame-mid);
  box-shadow:
    0 0 0 1px rgba(255, 215, 0, 0.35),
    0 0 28px rgba(255, 140, 0, 0.35);
}

.staff-role {
  margin: 0 0 0.25rem;
  font-family: var(--font-brand);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--flame);
}

.staff-info h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.25);
}

.staff-cred {
  margin: 0 0 0.9rem;
  color: #c8c8d0;
  font-weight: 600;
  line-height: 1.45;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}

.staff-bio {
  margin: 0 0 1.1rem;
  color: #d0d0d8;
  font-weight: 500;
  line-height: 1.6;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}

.staff-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

@media (max-width: 720px) {
  .staff-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .staff-links {
    justify-content: center;
  }
}
