/* ===== Profile Hero ===== */
.profile-section {
    background: #f5f9ff;
}

.profile-hero {
    background: #fff;
    padding: 60px 0 48px;
    border-bottom: 1px solid #e5e7eb;
}

.profile-hero-inner {
    display: flex;
    gap: 36px;
    align-items: center;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

.profile-hero-photo {
    flex-shrink: 0;
    width: 500px;
}

.profile-hero-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.profile-hero-tag {
    display: none;
}

.profile-hero-name {
    font-size: 2rem;
    font-weight: 900;
    color: #1f2937;
    line-height: 1.2;
    margin: 0 0 4px;
}

.profile-hero-kana {
    font-size: 0.9rem;
    color: #9ca3af;
    margin: 0 0 12px;
    letter-spacing: .08em;
}

.profile-hero-role {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #1a4ed8;
    background: #e6effd;
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.profile-hero-bio {
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
}

/* ===== Profile Cards ===== */
.profile-cards-wrap {
    max-width: 860px;
    margin: -40px auto 0;
    padding: 0 24px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 3%;
}

.pcard {
    background: #fff;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 4px 24px rgba(26, 78, 216, 0.08);
    border-top: 4px solid transparent;
    text-align: center;
}

.pcard--blue {
    border-top-color: #1a4ed8;
}

.pcard--green {
    border-top-color: #14b8a6;
}

.pcard--pink {
    border-top-color: #f43f5e;
}

.pcard-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.pcard--blue .pcard-icon {
    background: #e6effd;
    color: #1a4ed8;
}

.pcard--green .pcard-icon {
    background: #e0f7f3;
    color: #14b8a6;
}

.pcard--pink .pcard-icon {
    background: #ffe4e8;
    color: #f43f5e;
}

.pcard-label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.pcard--blue .pcard-label {
    color: #1a4ed8;
}

.pcard--green .pcard-label {
    color: #0d9488;
}

.pcard--pink .pcard-label {
    color: #e11d48;
}

.pcard h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 14px;
}

.pcard-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f2937;
}

.pcard-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pcard-list li {
    font-size: 0.9rem;
    color: #4b5563;
    padding-left: 16px;
    position: relative;
    line-height: 1.55;
}

.pcard-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.pcard--blue .pcard-list li::before {
    background: #1a4ed8;
}

.pcard--green .pcard-list li::before {
    background: #14b8a6;
}

.pcard--pink .pcard-list li::before {
    background: #f43f5e;
}

.pcard-hobby {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pcard-hobby-item {
    padding: 10px 12px;
    background: #f9fafb;
    border-radius: 10px;
}

.pcard-hobby-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 3px;
}

.pcard-hobby-desc {
    font-size: 0.78rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* ===== Timeline links ===== */
.timeline-content a {
    color: #1a4ed8;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s;
}

.timeline-content a:hover {
    color: #1640b0;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .profile-hero {
        padding: 48px 0 36px;
    }

    .profile-hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .profile-hero-photo {
        width: 80%;
        max-width: 320px;
        margin: 0 auto;
    }

    .profile-hero-name {
        font-size: 1.6rem;
    }

    .profile-cards-wrap {
        grid-template-columns: 1fr;
        margin-top: 32px;
    }

    .pcard {
        text-align: center;
    }

    .pcard-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .pcard-list li {
        text-align: left;
        margin-left: 25%;
    }
}