.container-wide {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.profile-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    align-items: start;
}

.profile-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.avatar {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s cubic-bezier(.2, .9, .2, 1);
}

.avatar img:hover {
    transform: scale(1.03);
}

.bio {
    line-height: 1.6;
    color: var(--muted);
    margin-top: 10px;
    font-size: 15px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.chip {
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    font-weight: 700;
    font-size: 13px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.02);
    transition: transform .12s ease, box-shadow .12s ease;
}

.chip:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
}

.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.project {
    background: var(--glass);
    padding: 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    transition: transform .14s ease, box-shadow .14s ease;
}

.project:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.contact-cta {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.download-cv {
    padding: 10px 12px;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--accent-3), var(--accent-1));
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
    transition: transform .12s ease, opacity .12s ease;
}

.download-cv:hover {
    transform: translateY(-3px);
    opacity: .98;
}

.profile-card .btn {
    padding: 10px 12px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.timeline {
    margin-top: 18px;
    border-left: 2px solid rgba(255, 255, 255, 0.03);
    padding-left: 16px;
}

.timeline-item {
    margin-bottom: 12px;
    color: var(--muted);
}

.profile-card a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    transition: color .12s ease;
}

.profile-card a:hover {
    color: #fff;
    text-decoration: underline;
}

footer .socials a {
    margin-left: 12px;
    color: var(--muted);
    text-decoration: none;
    transition: transform .12s ease, color .12s ease;
}

footer .socials a:hover {
    transform: translateY(-3px);
    color: var(--accent-3);
}

.download-cv:focus,
.profile-card a:focus,
.chip:focus,
.btn:focus {
    outline: 3px solid rgba(78, 161, 255, 0.12);
    outline-offset: 3px;
}

nav.menu a[aria-current="page"] {
    color: #fff;
    position: relative;
}

nav.menu a[aria-current="page"]::after {
    content: "";
    display: block;
    height: 3px;
    width: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--accent-3), var(--accent-1));
    margin-top: 6px;
}

@media (max-width: 920px) {
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .avatar {
        max-height: 340px;
    }

    .download-cv {
        width: auto;
    }
}

@media (max-width: 480px) {
    .container-wide {
        padding: 28px 14px;
    }

    .chip {
        font-size: 12px;
        padding: 7px 9px;
    }

    .bio {
        font-size: 14px;
    }
}