/* Staff-only composition; header/footer/menu retain shared declarations. */
.staff-page { background: var(--cream); }
.staff-page main { font-weight: 400; }


.staff-hero { display: grid; place-items: center; min-height: 461px; padding: 48px 24px; background: #003b82 url('../assets/staff/hero.jpg') center / cover no-repeat; color: #fff; text-align: center; }
.staff-hero-heading > p:first-child { margin: 0; font: 700 16px/1.2 "Barlow", sans-serif; letter-spacing: .05em; }
.staff-hero h1 { margin: 26px 0 0; font-family: "Shippori Mincho", serif; font-size: 50px; font-weight: 500; line-height: 1.4; letter-spacing: .1em; }
.staff-hero h1::after { display: block; width: 74px; height: 2px; margin: 28px auto 0; background: var(--gold); content: ''; }
.staff-intro { margin: 42px 0 0; font-size: 14px; line-height: 30px; letter-spacing: .05em; }
.staff-list { padding: 164px 32px 224px; }
.staff-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 96px 28px; width: min(1164px, 100%); margin: 0 auto; padding: 0; list-style: none; }
.staff-card { min-width: 0; text-align: center; }
.staff-photo { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 40px; }
.staff-role { margin: 24px 0 0; font-size: 16px; line-height: 1.5; letter-spacing: .025em; }
.staff-role::after { display: block; width: 126px; height: 2px; margin: 6px auto 12px; background: var(--gold); content: ''; }
.staff-qualifications { min-height: 40px; margin: 0; font-size: 11.57612878644685px; line-height: 20px; letter-spacing: .05em; overflow-wrap: anywhere; }
/* Uniform two-line label/qualification slots keep names aligned at all columns. */
.staff-card .staff-role { margin-top: 12px; line-height: 20px; }
.staff-role-label { display: grid; align-content: center; min-height: 40px; }
.staff-card .staff-role::after { margin: 4px auto; }
.staff-card .staff-qualifications { min-height: 32px; line-height: 16px; }
.staff-name { margin: 0; font-size: 24px; font-weight: 400; line-height: 1.5; letter-spacing: .025em; }
@media (max-width: 1199px) { .staff-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 24px; } .staff-list { padding: 72px 24px 96px; }  .staff-hero { min-height: 350px; } }
@media (max-width: 600px) { .staff-grid { grid-template-columns: minmax(0, 1fr); width: min(362px, 100%); } .staff-hero { min-height: 320px; } }
.staff-card-link { display: block; color: inherit; text-decoration: none; }
.staff-card-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 8px; }
.staff-card-link:hover .staff-name { color: var(--blue); }
.staff-detail-hero { position: relative; width: min(1380px, calc(100% - 64px)); min-height: 479px; margin: 0 0 0; overflow: hidden; border-radius: 0 100px 100px 0; }
.staff-detail-hero > img { width: 100%; height: 479px; object-fit: cover; }
.staff-detail-hero.has-wide-photo .staff-detail-copy { position: absolute; top: 50%; left: 62.3%; transform: translateY(-50%); padding-right: 32px; }
.staff-detail-copy .staff-role { text-align: left; }
.staff-detail-copy .staff-role::after { width: 74px; margin: 10px 0 16px; }
.staff-detail-copy .staff-qualifications { font-size: 14px; min-height: 0; line-height: 1.8; }
.staff-detail-copy h1 { margin: 10px 0 0; font-size: 36px; font-weight: 400; line-height: 1.5; }
.staff-detail-hero.has-list-photo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px; padding: 48px max(32px, calc((100vw - 1164px)/2)); background: #ede9df; }
.staff-detail-hero.has-list-photo > img { width: 362px; max-width: 100%; height: auto; border-radius: 40px; }
.staff-detail-body { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 80px; width: min(1088px, calc(100% - 64px)); margin: 104px auto 0; }
.staff-detail-body--message-only { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
.staff-detail-body h2 { margin: 0 0 24px; padding-bottom: 10px; border-bottom: 1px solid #777; font-size: 20px; font-weight: 500; line-height: 1.5; }
.staff-detail-body p { margin: 0; font-size: 14px; line-height: 30px; }
.staff-detail-body p + p { margin-top: 32px; }
.staff-back { margin: 112px auto 96px; text-align: center; }
.staff-back a { display: inline-block; padding: 12px 36px; border-radius: 40px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; }
@media (max-width: 900px) { .staff-detail-hero { width: calc(100% - 24px); border-radius: 0 48px 48px 0; } .staff-detail-hero > img { height: auto; } .staff-detail-hero.has-wide-photo .staff-detail-copy { position: static; transform: none; padding: 28px; background: #ede9df; } .staff-detail-hero.has-list-photo { grid-template-columns: 1fr; gap: 24px; padding: 28px; } .staff-detail-body { grid-template-columns: 1fr; gap: 48px; width: calc(100% - 48px); margin-top: 64px; } .staff-back { margin: 72px auto; } }
