.about-split {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* PANELS */
.about-panel {
    flex: 1;
    position: relative;
    transition: flex 0.7s cubic-bezier(.22,.61,.36,1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* BACKGROUNDS (customize these) */
.about-panel--story {
    background: linear-gradient(180deg,#0f2f24,#144a33);
}
.about-panel--production {
    background: linear-gradient(180deg,#1c1c1c,#2b2b2b);
}
.about-panel--product {
    background: linear-gradient(180deg,#c9a14a,#b8933f);
}

/* CONTENT */
.about-content {
    color: white;
    text-align: center;
    max-width: 320px;
    opacity: 0.7;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.about-panel:hover .about-content {
    opacity: 1;
    transform: translateY(0);
}

/* EXPANSION LOGIC */
.about-split:hover .about-panel {
    flex: 0.8;
}

.about-panel:hover {
    flex: 2.5;
}


.about-hero{
    position: relative;
    height: 70vh;
    background: #f5f5f5;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

/* ROBOT */
.robot-wrap{
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    perspective: 1000px;
}
.robot-base{
    width: 520px;
    max-width: none;
    transition: transform 0.2s ease-out;
    will-change: transform;
}

.robot-img{
    width: 420px;
    max-width: none;
    pointer-events: none;

    /* DARK FACE EFFECT */
    filter: contrast(1.2) brightness(0.75);
}

/* TEXT OVERLAY */
.hero-text{
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 60px;
}

.hero-text h1{
    font-size: 64px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #111;
}

.hero-text p{
    font-size: 18px;
    color: #666;
}

@media (max-width: 900px){
    .about-split {
        flex-direction: column;
        height: auto;
    }

    .about-panel {
        flex: none;
        height: 60vh;
    }

    .about-panel:hover {
        flex: none;
    }
}

.about-panel::after {
    content:"";
    position:absolute;
    inset:0;
    background: radial-gradient(circle at center, transparent, rgba(0,0,0,0.4));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-panel:hover::after {
    opacity: 1;
}

.about-panel {
    background-size: cover;
    background-position: center;
}

.about-panel:hover {
    background-size: 110%;
}

.about-panel + .about-panel {
    border-left: 1px solid rgba(255,255,255,0.1);
}

.robot-img{
    animation: float 4s ease-in-out infinite;
}

@keyframes float{
    0%,100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.about-hero::after{
    content:"";
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:40%;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.6));
}

@media (max-width: 768px){
    .robot-img{
        width: 260px;
    }

    .hero-text h1{
        font-size: 36px;
    }
}

.robot-img{
    max-width: 170vw;
}
.robot-base{
    width: 520px;
    max-width: none;
}