/* About Page Content Styles */

:root {
    --grey-card: #D9D9D9;
    --grey-text: #8A8A8A;
}

.flex-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Standard Container override for spacing consistency */
.container {
    padding: 0 100px !important;
    /* Forces alignment with home page content blocks */
}

/* Hero Section V2 */
/* Seamless Header Overlay */
.navbar {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent !important;
}

.about-hero-v2 {
    padding: 300px 0 80px;
    /* Increased top padding to add even more space at the top */
    position: relative;
}

.hero-glow-v2 {
    position: absolute;
    width: 100%;
    height: 800px;
    left: 50%;
    top: -100px;
    /* Bleed into navbar */
    transform: translateX(-50%);
    background: radial-gradient(circle at center, rgba(255, 116, 31, 0.3) 0%, transparent 70%);
    filter: blur(120px);
    z-index: -1;
}

.hero-top-text {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 25px;
    max-width: none;
    opacity: 0.8;
}

.hero-pill-badge {
    background: white;
    padding: 25px 80px;
    border-radius: 100px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    display: inline-block;
}

.badge-text {
    font-size: 56px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.01em;
    font-family: var(--font-satoshi);
}

.btn-hero-work-v2 {
    background: var(--primary);
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: transform 0.2s;
}

.btn-hero-work-v2:hover {
    transform: scale(1.05);
}

/* Intro Text */
.about-intro-text {
    padding: 100px 0;
    text-align: left;
}

.about-intro-text h1 {
    font-size: 42px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1a1a1a;
    max-width: 600px;
    /* Aligned with image width */
}

.about-intro-text p {
    font-size: 16px;
    line-height: 1.5;
    color: #8A8A8A;
    /* Greyer as in image */
    max-width: 550px;
}

/* Experience Box */
.experience-section {
    padding: 100px 0 150px;
    /* Added spacing after */
}

.experience-card-grey {
    background: var(--grey-card);
    border-radius: 25px;
    padding: 50px;
    position: relative;
}

.exp-tag {
    position: absolute;
    top: 20px;
    left: 30px;
    background: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 800;
    color: #333;
}

.exp-content {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-top: 20px;
}

.exp-placeholder {
    width: 250px;
    height: 150px;
    background: #BABABA;
    border-radius: 20px;
    flex-shrink: 0;
}

.exp-stats {
    display: flex;
    flex-grow: 1;
    justify-content: space-between;
}

.stat-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.stat-label {
    font-size: 20px;
    font-weight: 700;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value {
    font-size: 48px;
    font-weight: 600;
    color: #000;
}

/* Team Section V3 - Sculpted Design */
.team-section {
    padding: 40px 0 40px;
    text-align: center;
}

.team-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.team-card-v3 {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    margin-top: 170px;
    /* Extra space for taller headshot pop-out */
}

.team-card-main {
    background: #FF8541;
    border-radius: 32px 32px 32px 32px;
    /* Full rounded, only bottom-right cut by tab */
    border-bottom-right-radius: 0;
    /* Connects to the li-tab below */
    position: relative;
    z-index: 2;
    /* Removed overflow: hidden to allow headshot pop-out */
    display: flex;
    flex-direction: column;
    height: 380px;
    justify-content: flex-end;
}

.member-photo-wrap {
    position: absolute;
    top: -100px;
    /* Further reduced pop-out height */
    left: 0;
    width: 100%;
    height: 400px;
    /* Reduced from 440px */
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: visible;
    z-index: 5;
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
    filter: grayscale(1);
}

.member-name {
    font-family: var(--font-satoshi);
    font-size: 50px;
    font-weight: 800;
    /* Heavy Satoshi — lighter than Anton */
    text-align: left;
    padding: 0 30px 20px;
    line-height: 0.95;
    color: #000;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 4;
    /* Above the photo wrap */
}

.team-footer {
    display: flex;
    align-items: stretch;
    /* Both pill and tab share same height */
    margin-top: -1px;
    position: relative;
    z-index: 10;
    gap: 0;
}

.role-pill {
    background: linear-gradient(180deg, #E5E5E5 0%, #D1D1D1 100%);
    padding: 0 28px;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-top: 12px;
    margin-left: 0;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    flex-grow: 1;
    display: flex;
    align-items: center;
    /* Vertically center text */
    min-height: 60px;
}

.li-tab {
    margin-left: 12px;
    width: 80px;
    /* Slightly narrower */
    height: 80px;
    /* Reduced height */
    background: #FF8541;
    border-radius: 0 0 28px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    /* Don't shrink */
}

/* Sculpted scoops — only between card bottom and li-tab */
.li-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -32px;
    width: 32px;
    height: 32px;
    background: transparent;
    border-top-right-radius: 32px;
    /* Creates an inward scoop curling from card's bottom-right corner into the tab */
    box-shadow: 16px -16px 0 16px #FF8541;
    pointer-events: none;
}

/* No ::after — we don't want a scoop on the outer top-right of the tab */
.li-tab::after {
    content: none;
}

.li-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s;
}

.li-link:hover {
    transform: scale(1.1);
}

.li-link svg {
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.team-title-anton {
    font-family: var(--font-anton);
    font-size: 84px;
    font-weight: 400;
    margin-bottom: 0;
    letter-spacing: 0.02em;
}

/* Group Photo */
.group-photo-section {
    padding-top: 100px;
    padding-bottom: 250px;
}

.group-working-img {
    width: 100%;
    border-radius: 40px;
    height: 600px;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .team-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid-v2 {
        grid-template-columns: 1fr;
    }

    .team-card-v3 {
        margin-top: 60px;
    }

    .team-card-main {
        height: 320px;
    }

    .member-photo-wrap {
        top: -30px;
        height: 280px;
    }

    .member-name {
        font-size: 40px;
        padding: 0 20px 16px;
    }

    .role-pill {
        font-size: 16px;
        padding: 12px 22px;
    }

    .li-tab {
        width: 90px;
        height: 90px;
    }

    .team-title-anton {
        font-size: 56px;
        margin-bottom: 80px;
    }

    .badge-text {
        font-size: 32px;
    }

    .hero-pill-badge {
        padding: 20px 40px;
    }

    .exp-content {
        flex-direction: column;
    }

    .exp-stats {
        flex-direction: column;
        gap: 30px;
    }
}