.bio-container {
    margin-top: 6rem;
    padding-bottom: 8rem;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 6rem;
    align-items: start;
}

/* Left Side: Sticky Portrait Panel */
.bio-sidebar {
    position: sticky;
    top: 6rem; /* Closer to top */
    max-height: calc(100vh - 4rem); /* Stretched downwards */
    overflow: hidden; 
    background: rgba(20, 20, 25, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 1.5rem; /* Restored some padding */
    display: flex;
    flex-direction: column;
    gap: 1.2rem; /* Comfortable gap */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.bio-sidebar::-webkit-scrollbar {
    display: none;
}

.bio-portrait {
    width: 100%;
    aspect-ratio: 3/4;
    max-height: 52vh; /* Significantly larger portrait */
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    position: relative;
    filter: grayscale(80%) contrast(1.2);
    transition: filter 0.5s ease;
}

.bio-portrait:hover {
    filter: grayscale(0%) contrast(1);
}

.bio-portrait::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 40%);
    border-radius: 16px;
}

.bio-quick-facts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fact-item {
    display: flex;
    flex-direction: column;
}

.fact-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.fact-value {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.8rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Right Side: Narrative Content */
.bio-content {
    padding-top: 2rem;
    max-width: 800px;
}

.bio-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 700;
}

.bio-subtitle {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 4rem;
    display: block;
}

.bio-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
}

.bio-text p {
    margin-bottom: 2rem;
}

.bio-quote {
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 16px 16px 0;
    margin: 4rem 0;
    font-size: 1.4rem;
    font-style: italic;
    color: #fff;
    line-height: 1.6;
}

/* Timeline inside bio */
.bio-timeline {
    margin-top: 5rem;
    position: relative;
}

.bio-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.timeline-year {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

@media (max-width: 1024px) {
    .bio-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .bio-sidebar {
        position: relative;
        top: 0;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .bio-container {
        margin-top: 4rem;
        gap: 2rem;
    }

    .bio-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .bio-subtitle {
        text-align: center;
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .bio-quote {
        padding: 2rem;
        font-size: 1.2rem;
        margin: 2rem 0;
    }

    .timeline-item {
        padding-left: 2rem;
    }
}