.profile-page {
    background: var(--light);
}

.profile-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8.5rem 5% 5rem;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9ff 0%, #eef0ff 100%);
}

.profile-hero-inner,
.profile-section,
.profile-final-inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.profile-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
    gap: 4rem;
    align-items: center;
}

.profile-copy h1 {
    font-size: clamp(3rem, 7vw, 5.9rem);
    margin-bottom: 1.25rem;
}

.profile-subtitle {
    max-width: 820px;
    font-size: 1.18rem;
    font-weight: 600;
    color: #484860;
    margin-bottom: 1.2rem;
}

.profile-intro {
    max-width: 780px;
    color: #555;
    font-size: 1.08rem;
    margin-bottom: 2.2rem;
}

.profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.profile-portrait-wrap {
    justify-self: center;
    position: relative;
}

.profile-portrait {
    width: min(380px, 72vw);
    aspect-ratio: 1;
    border-radius: 50%;
    padding: .55rem;
    background: linear-gradient(135deg, rgba(108, 99, 255, .95), rgba(255, 101, 132, .9));
    box-shadow: 0 28px 65px rgba(45, 45, 68, .18);
}

.profile-portrait img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 28%;
    border-radius: 50%;
    background: white;
    border: .55rem solid white;
}

.profile-signal {
    position: absolute;
    right: -1.2rem;
    bottom: 2rem;
    width: min(245px, 72vw);
    padding: 1rem 1.15rem;
    border-radius: 18px;
    color: white;
    background: rgba(45, 45, 68, .92);
    box-shadow: 0 18px 42px rgba(45, 45, 68, .22);
    backdrop-filter: blur(10px);
}

.profile-signal span,
.profile-section-title span,
.section-eyebrow {
    display: inline-block;
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: .8rem;
    letter-spacing: .06em;
    margin-bottom: .7rem;
}

.profile-signal span {
    color: var(--accent);
    margin-bottom: .25rem;
}

.profile-signal strong {
    display: block;
    line-height: 1.25;
}

.profile-section {
    padding: 5.5rem 5%;
}

.profile-editorial {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 4rem;
    align-items: start;
}

.profile-section-title h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.profile-section-title.centered {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 3rem;
}

.profile-editorial-grid {
    display: grid;
    gap: 1.4rem;
}

.profile-editorial-grid p {
    color: #4d4d63;
    font-size: 1.05rem;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
}

.specialty-card {
    min-height: 245px;
    padding: 1.6rem;
    border-radius: 20px;
    background: white;
    border: 1px solid rgba(45, 45, 68, .07);
    box-shadow: 0 12px 34px rgba(45, 45, 68, .06);
    transition: all .3s ease;
}

.specialty-card:hover {
    transform: translateY(-8px);
    color: white;
    background: var(--gradient);
    box-shadow: 0 18px 44px rgba(108, 99, 255, .22);
}

.specialty-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.1rem;
    transition: color .3s ease;
}

.specialty-card:hover i,
.specialty-card:hover p {
    color: white;
}

.specialty-card h3 {
    font-size: 1.24rem;
    margin-bottom: .75rem;
}

.specialty-card p {
    color: #666;
    font-size: .94rem;
}

.experience-band {
    max-width: none;
    background: white;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.profile-experience {
    max-width: 1180px;
    margin: 0 auto;
}

.profile-experience::before {
    display: none;
}

.experience-panel {
    flex: 1;
    display: grid;
    gap: 1rem;
}

.experience-panel div {
    padding: 1.2rem;
    border-radius: 16px;
    background: var(--light);
    border: 1px solid rgba(45, 45, 68, .08);
}

.experience-panel strong {
    display: block;
    color: var(--dark);
    margin-bottom: .35rem;
}

.experience-panel span {
    display: block;
    color: #666;
    font-size: .95rem;
}

.publications-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.publications-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: center;
    padding: 2.2rem;
    border-radius: 22px;
    background: white;
    border: 1px solid rgba(45, 45, 68, .07);
    box-shadow: 0 16px 44px rgba(45, 45, 68, .08);
}

.publications-card h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: .8rem;
}

.publications-card p {
    max-width: 760px;
    color: #555;
}

.profile-final-cta {
    padding: 5.5rem 5%;
    background: var(--gradient);
    color: white;
    clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
}

.profile-final-inner {
    text-align: center;
    padding-top: 2rem;
}

.profile-final-inner h2 {
    max-width: 900px;
    margin: 0 auto 1rem;
    font-size: clamp(2rem, 5vw, 3.6rem);
}

.profile-final-inner p {
    max-width: 720px;
    margin: 0 auto 2rem;
    opacity: .92;
}

.profile-final-inner .btn-primary {
    background: white;
    color: var(--primary);
}

@media (max-width: 1100px) {
    .specialties-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .profile-hero {
        min-height: auto;
        padding-top: 7.5rem;
    }

    .profile-hero-inner,
    .profile-editorial,
    .publications-card {
        grid-template-columns: 1fr;
    }

    .profile-copy {
        text-align: center;
    }

    .profile-subtitle,
    .profile-intro {
        margin-left: auto;
        margin-right: auto;
    }

    .profile-actions {
        justify-content: center;
    }

    .profile-portrait-wrap {
        order: -1;
    }

    .publications-card {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .profile-hero {
        padding-bottom: 3.5rem;
    }

    .profile-copy h1 {
        font-size: 2.65rem;
    }

    .profile-section {
        padding: 4rem 5%;
    }

    .specialties-grid {
        grid-template-columns: 1fr;
    }

    .specialty-card {
        min-height: auto;
    }

    .profile-signal {
        position: static;
        width: 100%;
        margin-top: 1rem;
        text-align: center;
    }

    .profile-final-cta {
        clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%);
        padding-top: 4.5rem;
    }
}
