/* ===========================================
   Staff Page — Clinic Catalog Style
   Wrapper: .staff-page
=========================================== */

/* ---- Page Background ---- */
.staff-page {
    background-color: #f7f6f3;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
}

/* ---- Section overrides ---- */
.staff-page section {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    margin-bottom: 0;
    padding-bottom: var(--spacing-2xl);
}
.staff-page section h2 {
    text-align: left;
    margin-top: 0;
    padding-top: var(--spacing-lg);
    font-size: 20px;
    color: var(--color-text);
    letter-spacing: 0.06em;
    margin-bottom: var(--spacing-xl);
    font-weight: 600;
    border: none;
    position: static;
    transform: none;
    left: auto;
}
.staff-page section h2::after {
    display: none;
}

/* ---- Doctor Profile ---- */
.staff-page .doctor-profile {
    background: #fff;
    border-radius: 3px;
    padding: 28px 32px;
    box-shadow:
        0 1px 3px rgba(0,0,0,0.04),
        0 4px 16px rgba(0,0,0,0.02);
    display: flex;
    align-items: flex-start;
    gap: 32px;
    opacity: 0;
    transform: translateY(24px);
    animation: staffFadeIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}
.staff-page .profile-image {
    flex-shrink: 0;
    width: 200px;
}
.staff-page .profile-image img {
    width: 100%;
    height: auto;
    display: block;
}
.staff-page .profile-text h3 {
    border-left: none;
    padding-left: 0;
    margin-top: 0;
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--color-text);
    font-weight: 600;
    letter-spacing: 0.04em;
}
.staff-page .profile-text .name {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.staff-page .profile-text p {
    font-size: 14px;
    line-height: 1.85;
    color: var(--color-text-light);
}

/* ---- Staff Numbers ---- */
.staff-page .staff-numbers {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-4xl);
}
.staff-page .staff-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.staff-page .staff-item {
    background: #fff;
    border-radius: 3px;
    padding: 28px 24px;
    box-shadow:
        0 1px 3px rgba(0,0,0,0.04),
        0 4px 16px rgba(0,0,0,0.02);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.04);
    opacity: 0;
    transform: translateY(24px);
    animation: staffFadeIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.staff-page .staff-item:nth-child(1) { animation-delay: 0.12s; }
.staff-page .staff-item:nth-child(2) { animation-delay: 0.20s; }
.staff-page .staff-item:nth-child(3) { animation-delay: 0.28s; }

.staff-page .staff-item .number {
    font-family: 'Inter', var(--font-primary);
    font-variant-numeric: tabular-nums;
    font-size: 48px;
    font-weight: 500;
    color: var(--color-primary-dark);
    line-height: 1;
    margin: 0 0 8px;
}
.staff-page .staff-item .number span {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--color-text-muted);
    margin-left: 4px;
    letter-spacing: 0.04em;
}
.staff-page .staff-item h3 {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    margin: 0;
    letter-spacing: 0.04em;
    border: none;
    padding: 0;
    background: none;
}

/* ---- Stagger Animation ---- */
@keyframes staffFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Mobile ---- */
@media (max-width: 767px) {
    .staff-page section {
        padding: 0 12px var(--spacing-xl);
    }
    .staff-page .doctor-profile {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    .staff-page .profile-image {
        width: 100%;
    }
    .staff-page .staff-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .staff-page .staff-item {
        padding: 20px;
    }
    .staff-page .staff-item .number {
        font-size: 40px;
    }
}
