/* Staff page */
.staff__intro { padding-top: clamp(7rem, 16vh, 10rem); }
.staff__section { padding: 2rem 0 4rem; }
.staff__heading { font-size: clamp(1.6rem, 3.4vw, 2.2rem); text-align: center; }
.staff__sub { text-align: center; margin-bottom: 2rem; }
.staff__link { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }

.staff-grid { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 240px)); justify-content: center; }
.staff__sub + .staff-grid { margin-top: 0; }
.staff-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .6rem; padding: 1.4rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .25s, transform .25s; }
.staff-card:hover { border-color: rgba(246, 237, 214, .3); transform: translateY(-3px); }
.staff-card__name { margin: .4rem 0 0; font-family: var(--font-display); font-weight: 400; letter-spacing: .02em; color: var(--cream); font-size: 1.25rem; }
.staff-card__text { font-size: .9rem; margin: .3rem 0 0; }

/* Avatar frame: navy panel, cream border, logo-style 3D drop */
.staff-card__frame { width: 100%; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border-radius: 8px; border: 3px solid var(--cream); box-shadow: 0 4px 0 var(--navy-deep), 0 10px 24px rgba(0, 0, 0, .35);
  background: radial-gradient(ellipse at 50% 35%, rgba(246, 237, 214, .12), transparent 65%), linear-gradient(180deg, var(--navy), var(--navy-deep)); }
.staff-card__frame img { width: 92%; height: 92%; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); }
.staff-card__frame--empty { border-style: dashed; border-color: rgba(246, 237, 214, .45); }
.staff-card__frame--empty span { font-size: clamp(4rem, 9vw, 5.5rem); line-height: 1; }
.staff-card__rank { color: var(--rank, inherit); }
/* Initial shown when the avatar image cannot load (D-256) */
.staff-card__frame.is-initial { font-family: var(--font-display); font-size: clamp(4rem, 9vw, 5.5rem); color: var(--cream); }
