/* ============================
   ABOUT — Brand Massimo × Apple-style
============================= */

.about-section {
    width: 100%;
    padding: 120px 0 120px !important;
    position: relative;
}

.about-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 6vw;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 6vw;
    align-items: flex-start;
}

/* ----------------------------------------------
   LEFT — HOW I WORK
-----------------------------------------------*/

.about-how {
    position: relative;
}

.about-kicker {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #8a8a8f;
    letter-spacing: 0.12em;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.about-title {
    font-size: clamp(2.1rem, 3.6vw, 3rem);
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.03em;
    margin-bottom: 0.9rem;
}

.about-subtitle {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.65;
    color: #4b4b4f;
    max-width: 60ch;
    margin-bottom: 2.6rem;
}

/* STEPS */

.about-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-step {
    display: flex;
    align-items: flex-start;
    gap: 1.3rem;
}

.about-step-number {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, #ffffff, #f1f2f5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #111111;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow:
        0 6px 14px rgba(0, 0, 0, 0.06),
        inset 0 0 10px rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.about-step-content {
    flex: 1;
}

.about-step-title {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-weight: 650;
    margin-bottom: 0.35rem;
    letter-spacing: -0.015em;
    color: #111111;
}

.about-step-text {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    color: #444448;
    line-height: 1.6;
}

/* ----------------------------------------------
   RIGHT — BIO
-----------------------------------------------*/

.about-bio {
    position: relative;
}

.about-photo {
    width: 100%;
    height: 340px;
    border-radius: 24px;
    border: none;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('../img/massp.png'); /* aggiorna con la tua immagine */
    margin-bottom: 1.9rem;
    position: relative;
    overflow: hidden;
    transform: translateY(40px) scale(0.94);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 0;
}

/* sottile highlight in alto, stile Apple */
.about-photo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: transparent;
    pointer-events: none;
}

.about-bio-title {
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #111111;
    margin-bottom: 0.3rem;
}

.about-bio-role {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color: #6c6c70;
    margin-bottom: 1.7rem;
}

.about-bio-text {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.6;
    color: #3d3d41;
    margin-bottom: 1.4rem;
}

.about-bio-button {
    display: inline-block;
    background: linear-gradient(180deg, #ffffff, #f3f3f5);
    padding: 14px 32px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    font-size: 1.05rem;
    color: #111111;
    text-decoration: none;
    transition: all 0.22s ease;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.08),
        inset 0 0 12px rgba(255, 255, 255, 0.8);
}

.about-bio-button:hover {
    transform: translateY(-3px);
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.14),
        inset 0 0 16px rgba(255, 255, 255, 0.9);
}

.about-photo.in-view {
    opacity: 1;
    transform: translateY(0) scale(1.015);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    animation: bounceIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ----------------------------------------------
   MICRO INTERAZIONI (opzionali, ma già pronte)
-----------------------------------------------*/

.about-step,
.about-bio,
.about-photo {
    transition: transform 0.45s ease, box-shadow 0.45s ease, opacity 0.45s ease;
}

.about-step:hover {
    transform: translateY(-2px);
}

.about-photo:hover {
    transform: translateY(-14px) scale(1.035);
    
}

/* ----------------------------------------------
   SCROLL ANIMATION HELPERS
-----------------------------------------------*/

.about-photo {
    will-change: transform, opacity;
}

@keyframes subtleMotion {
    0% { transform: translateY(0) scale(1); opacity: 0.95; }
    30% { transform: translateY(-10px) scale(1.025); opacity: 1; }
    60% { transform: translateY(-4px) scale(1.015); opacity: 0.97; }
    100% { transform: translateY(0) scale(1); opacity: 0.95; }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.6) translateY(20px);
        opacity: 0;
    }
    40% {
        transform: scale(1.08) translateY(-10px);
        opacity: 1;
    }
    65% {
        transform: scale(0.97) translateY(4px);
    }
    100% {
        transform: scale(1) translateY(0);
    }
}

.about-photo.bounce-in {
    animation: bounceIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ----------------------------------------------
   RESPONSIVE
-----------------------------------------------*/

@media (max-width: 900px) {
    .about-section {
        padding: 14vh 0 14vh;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 3.2rem;
    }

    .about-photo {
        height: 280px;
    }
}

@media (max-width: 600px) {
    .about-section {
        padding: 12vh 0 12vh;
    }

    .about-wrapper {
        padding: 0 5vw;
    }

    .about-title {
        font-size: 2rem;
    }

    .about-subtitle {
        font-size: 1.05rem;
    }

    .about-step-text,
    .about-bio-text {
        font-size: 0.98rem;
    }

    .about-bio-button {
        width: 100%;
        text-align: center;
    }
}