/* About Page Narrative Layout */
.about-story-page {
    position: relative;
    background: var(--bg-main);
    padding-top: 120px;
    padding-bottom: 80px;
}

.about-container {
    display: grid;
    grid-template-columns: 35% 55%;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1200px;
    align-items: start;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 992px) {
    .sticky-wrapper {
        position: sticky;
        top: 120px;
        height: fit-content;
    }
}

.profile-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    padding: 0;
    aspect-ratio: 4/5;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255, 79, 0, 0.3);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.9) contrast(1.15) grayscale(0.1);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.profile-card:hover .profile-image {
    filter: brightness(1) contrast(1.1) grayscale(0);
    transform: scale(1.02);
}

.profile-glow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(12, 12, 16, 1) 0%, transparent 40%);
    pointer-events: none;
}

.tech-badge {
    display: inline-block;
    background: rgba(255, 79, 0, 0.1);
    color: var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 79, 0, 0.3);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* Narrative Side */
.about-narrative {
    padding-left: 2rem;
    border-left: 1px dashed rgba(255,255,255,0.05);
}

.story-block {
    margin-bottom: 5rem;
    opacity: 0; /* GSAP triggers this */
    transform: translateY(40px);
}

.story-block p {
    font-size: 1.2rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.85);
}

.story-large {
    font-size: 1.7rem !important;
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.4 !important;
}

.story-highlight {
    font-size: 1.4rem !important;
    color: #fff !important;
    border-left: 3px solid var(--primary);
    padding-left: 1.5rem;
    font-weight: 500;
}

.standout-box {
    background: rgba(15, 15, 18, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 79, 0, 0.2);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
    margin: 6rem 0;
}

.finale-block {
    margin-bottom: 2rem;
    padding-top: 3rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .about-story-page {
        padding-top: 100px;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1rem;
    }
    
    .about-narrative {
        padding-left: 0;
        border-left: none;
        padding-top: 0;
    }
    
    .profile-card {
        aspect-ratio: 4/5;
        max-width: 280px;
        margin: 0 auto;
        border-radius: 24px;
    }
    
    .profile-meta h1 {
        font-size: 2.2rem !important;
    }
    
    .tech-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }
    
    .story-large {
        font-size: 1.4rem !important;
    }
    
    .story-highlight {
        font-size: 1.25rem !important;
        padding-left: 1rem;
    }
    
    .story-block {
        margin-bottom: 3.5rem;
    }
    
    .story-block p {
        font-size: 1.1rem;
    }
    
    .standout-box {
        padding: 2rem 1.5rem;
        margin: 4rem 0;
    }
}
