/* =========================================================
   STEFANO CEPPI
   ABOUT PAGE
========================================================= */


/* =========================================================
   PAGE
========================================================= */

body.about-page {
    background: #ffffff;
}


/* =========================================================
   ACTIVE ABOUT
========================================================= */

.about-page .main-nav a.active {
    position: relative;
}

.about-page .main-nav a.active::after {
    content: "";
    position: absolute;

    left: 0;
    right: 0;
    bottom: -12px;

    height: 1px;

    background: #111111;
}


/* =========================================================
   SHARED ABOUT ELEMENTS
========================================================= */

.about-page .about-line {
    display: block;

    width: 31px;
    height: 1px;

    margin: 16px 0 21px;

    background: #111111;
}


/* =========================================================
   HERO
========================================================= */

.about-hero {
    width: 100%;

    display: grid;
    grid-template-columns: 48% 52%;

    min-height: 520px;

    padding-left: 4.5%;

    border-bottom: 1px solid #eeeeee;
}


.about-hero-copy {
    padding:
        35px
        9%
        38px
        0;
}


.about-hero-copy .section-label {
    margin-bottom: 15px;

    font-size: 9px;
    font-weight: 650;

    letter-spacing: 0.18em;
}


.about-hero-copy h1 {
    margin: 0;

    font-size: clamp(42px, 4.1vw, 66px);
    font-weight: 300;

    line-height: 0.96;
    letter-spacing: -0.055em;
}


.about-hero-copy p {
    width: 100%;
    max-width: 590px;

    margin: 0 0 22px;

    font-size: 13px;
    font-weight: 400;

    line-height: 1.48;
}


.about-hero-image {
    min-height: 520px;

    overflow: hidden;

    background: #eeeeee;
}


.about-hero-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}



/* =========================================================
   MULTIDISCIPLINARY JOURNEY
========================================================= */

.about-journey {
    position: relative;

    width: 100%;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 25%;

    gap: 45px;

    padding:
        40px
        4.5%
        34px;

    background: #ffffff;
}


.journey-copy {
    min-width: 0;
}


.journey-copy .section-label {
    margin-bottom: 12px;

    font-size: 9px;
    font-weight: 650;

    letter-spacing: 0.22em;
}


.journey-copy h2 {
    margin: 0;

    font-size: clamp(32px, 3.1vw, 48px);
    font-weight: 300;

    line-height: 1;
    letter-spacing: -0.05em;
}


.journey-text {
    width: 100%;
}


.journey-text > p {
    max-width: 1100px;

    margin: 0 0 18px;

    font-size: 13px;
    font-weight: 400;

    line-height: 1.38;
}


.design-collaborative {
    max-width: 1100px;

    margin-top: -4px;
}


.design-collaborative h3 {
    margin: 0 0 2px;

    font-size: 13px;
    font-weight: 450;

    line-height: 1.2;
}


.design-collaborative p {
    margin: 0;

    font-size: 13px;
    font-weight: 400;

    line-height: 1.38;
}



/* =========================================================
   JOURNEY SKETCH
========================================================= */

.journey-sketch {
    width: 100%;

    margin: -40px 0 0;

    align-self: start;
}


.journey-sketch img {
    display: block;

    width: 100%;

    aspect-ratio: 1.55 / 1;

    object-fit: cover;
    object-position: center;

    background: #eeeeee;
}


/* =========================================================
   PROCESS
========================================================= */

.about-process {
    width: 100%;

    padding:
        34px
        4.5%
        58px;

    border-top: 1px solid #eeeeee;

    background: #ffffff;
}


.about-process > .section-label {
    margin-bottom: 12px;

    font-size: 9px;
    font-weight: 650;

    letter-spacing: 0.22em;
}


.about-process > h2 {
    margin: 0;

    font-size: clamp(31px, 3vw, 46px);
    font-weight: 300;

    line-height: 1;
    letter-spacing: -0.05em;
}



/* =========================================================
   PROCESS GRID
========================================================= */

.process-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 30px;

    margin-top: 13px;
}


.process-item {
    min-width: 0;

    padding-top: 10px;

    border-top: 1px solid #999999;
}


.process-number {
    display: block;

    margin-bottom: 9px;

    font-size: 17px;
    font-weight: 300;

    line-height: 1;
}


.process-item h3 {
    margin: 0 0 10px;

    font-size: 9px;
    font-weight: 650;

    line-height: 1;

    letter-spacing: 0.15em;
}


.process-image {
    width: 100%;

    aspect-ratio: 1.48 / 1;

    overflow: hidden;

    background: #eeeeee;
}


.process-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


.process-item p {
    margin: 9px 0 0;

    color: #555555;

    font-size: 9px;
    font-weight: 400;

    line-height: 1.45;
}



/* =========================================================
   TIMELINE
========================================================= */

.about-timeline {
    position: relative;

    width: 100%;
    height: 255px;

    overflow: hidden;

    background: #101010;
    color: #ffffff;
}


.timeline-image {
    position: absolute;

    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


.timeline-overlay {
    position: relative;

    width: 100%;
    height: 100%;

    padding: 0 1.8%;
}


.timeline-axis {
    position: absolute;

    left: 1.8%;
    right: 1.8%;

    top: 52%;

    height: 1px;

    background: rgba(255, 255, 255, 0.85);
}



/* =========================================================
   TIMELINE ITEMS
========================================================= */

.timeline-item {
    position: absolute;

    top: 52%;

    width: 17%;

    font-size: 8px;
}


.timeline-copy > span,
.timeline-copy > strong,
.timeline-copy > small {
    display: block;
}


.timeline-copy > span {
    font-size: 9px;
    font-weight: 500;

    line-height: 1.2;
}


.timeline-copy > strong {
    margin: 3px 0 3px;

    font-size: 8px;
    font-weight: 700;

    line-height: 1.2;
}


.timeline-copy > small {
    font-size: 7px;
    font-weight: 400;

    line-height: 1.4;
}


.timeline-top {
    transform: translateY(-100%);

    padding-bottom: 17px;
}


.timeline-bottom {
    padding-top: 18px;
}


.timeline-dot {
    position: absolute;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #ffffff;
}


.timeline-top .timeline-dot {
    left: 0;
    bottom: -3px;
}


.timeline-bottom .timeline-dot {
    left: 0;
    top: -3px;
}


.timeline-year {
    position: absolute;

    font-size: 8px;
    font-weight: 500;
}


.timeline-top .timeline-year {
    left: 0;
    bottom: -22px;
}


.timeline-bottom .timeline-year {
    left: 0;
    top: -23px;
}



/* =========================================================
   TIMELINE POSITIONS
========================================================= */

.timeline-2001 {
    left: 1.8%;
}


.timeline-2005 {
    left: 15%;
}


.timeline-2009 {
    left: 30%;
}


.timeline-2013 {
    left: 44%;
}


.timeline-2014 {
    left: 61%;
}


.timeline-2019 {
    left: 79%;
}



/* =========================================================
   TIMELINE NOW
========================================================= */

.timeline-now {
    position: absolute;

    right: 1.8%;
    top: 52%;

    font-size: 8px;
    font-weight: 500;
}


.timeline-now .timeline-dot {
    position: absolute;

    right: 0;
    left: auto;

    top: -3px;
}


.timeline-now > span:last-child {
    position: absolute;

    right: 0;
    top: 13px;
}



/* =========================================================
   ABOUT FOOTER
========================================================= */

.about-footer {
    width: 100%;

    min-height: 108px;

    display: grid;

    grid-template-columns:
        1fr
        1.35fr
        1fr;

    align-items: center;

    padding:
        24px
        4.5%;

    background: #050505;
    color: #ffffff;
}



/* FOOTER BRAND */

.about-footer-brand strong,
.about-footer-brand span {
    display: block;
}


.about-footer-brand strong {
    font-size: 16px;
    font-weight: 400;

    line-height: 1;

    letter-spacing: 0.23em;
}


.about-footer-brand span {
    margin-top: 8px;

    font-size: 8px;
    font-weight: 500;

    letter-spacing: 0.27em;
}



/* FOOTER CONTACT */

.about-footer-contact {
    display: flex;

    align-items: baseline;
    justify-content: flex-start;

    gap: 14px;

    white-space: nowrap;
}


.contact-word {
    font-size: 10px;
    font-weight: 400;
}


.about-footer-contact a {
    display: flex;

    align-items: baseline;

    gap: 7px;

    color: #ffffff;

    font-size: 11px;
    font-weight: 400;
}


.about-footer-contact a strong {
    color: #ff0000;

    font-size: 18px;
    font-weight: 800;
}



/* FOOTER NAV */

.about-footer-nav {
    display: flex;

    justify-content: flex-end;

    gap: 42px;
}


.about-footer-nav a {
    position: relative;

    font-size: 9px;
    font-weight: 400;
}


.about-footer-nav a.active {
    font-weight: 600;
}


.about-footer-nav a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: -11px;

    height: 1px;

    background: #ffffff;
}



/* =========================================================
   TABLET
   701px — 1000px
========================================================= */

@media (max-width: 1000px) {


    /* HERO */

    .about-hero {
        grid-template-columns: 43% 57%;

        min-height: 500px;
    }


    .about-hero-copy {
        padding-right: 8%;
    }


    .about-hero-copy h1 {
        font-size: clamp(38px, 5vw, 52px);
    }


    .about-hero-copy p {
        font-size: 12px;
    }


    .about-hero-image {
        min-height: 500px;
    }



    /* JOURNEY */

    .about-journey {
        grid-template-columns:
            minmax(0, 1fr)
            28%;

        gap: 30px;

        padding-left: 6%;
        padding-right: 6%;
    }


    .journey-copy h2 {
        font-size: clamp(30px, 4vw, 40px);
    }


    .journey-text > p,
    .design-collaborative p {
        font-size: 12px;
    }



    /* PROCESS */

    .about-process {
        padding-left: 6%;
        padding-right: 6%;
    }


    .process-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 35px 24px;
    }



    /* TIMELINE */

    .about-timeline {
        height: 300px;

        overflow-x: auto;
        overflow-y: hidden;

        scrollbar-width: none;
    }


    .about-timeline::-webkit-scrollbar {
        display: none;
    }


    .timeline-image {
        width: 1200px;
        max-width: none;
    }


    .timeline-overlay {
        width: 1200px;

        padding: 0 25px;
    }


    .timeline-axis {
        left: 25px;
        right: 25px;
    }


    .timeline-item {
        width: 180px;
    }



    /* FOOTER */

    .about-footer {
        grid-template-columns:
            1fr
            1.25fr
            auto;
    }


    .about-footer-nav {
        gap: 25px;
    }

}



/* =========================================================
   MOBILE
   UP TO 700px
========================================================= */

@media (max-width: 700px) {


    /* =====================================================
       HERO
    ====================================================== */

    .about-hero {
        display: flex;
        flex-direction: column;

        width: 100%;

        min-height: 0;

        padding-left: 0;
    }


    .about-hero-copy {
        order: 1;

        width: 100%;

        padding:
            50px
            25px
            45px;
    }


    .about-hero-copy h1 {
        font-size: clamp(44px, 13vw, 62px);

        line-height: 0.94;
    }


    .about-hero-copy p {
        max-width: 460px;

        font-size: 13px;

        line-height: 1.5;
    }


    .about-hero-image {
        order: 2;

        width: 100%;
        height: 68vh;

        min-height: 450px;
        max-height: 680px;
    }



    /* =====================================================
       JOURNEY
    ====================================================== */

    .about-journey {
        display: flex;
        flex-direction: column;

        width: 100%;

        gap: 0;

        padding:
            48px
            25px
            45px;
    }


    .journey-copy h2 {
        max-width: 500px;

        font-size: clamp(36px, 10vw, 50px);

        line-height: 0.98;
    }


    .journey-text > p,
    .design-collaborative p {
        font-size: 13px;

        line-height: 1.48;
    }


    .design-collaborative h3 {
        font-size: 12px;
    }



    /* SKETCH */

    .journey-sketch {
        width: 62%;
        max-width: 300px;

        margin:
            35px
            0
            0
            auto;
    }



    /* =====================================================
       PROCESS
    ====================================================== */

    .about-process {
        padding:
            45px
            25px
            55px;
    }


    .about-process > h2 {
        max-width: 500px;

        font-size: clamp(34px, 9vw, 46px);

        line-height: 0.98;
    }


    .process-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap:
            35px
            18px;

        margin-top: 20px;
    }


    .process-number {
        font-size: 16px;
    }


    .process-item p {
        font-size: 9px;
    }



    /* =====================================================
       TIMELINE

       La timeline NON viene compressa.
       Su smartphone scorre orizzontalmente.
    ====================================================== */

    .about-timeline {
        height: 300px;

        overflow-x: auto;
        overflow-y: hidden;

        scrollbar-width: none;
    }


    .about-timeline::-webkit-scrollbar {
        display: none;
    }


    .timeline-image {
        width: 1150px;
        max-width: none;

        object-position: center;
    }


    .timeline-overlay {
        width: 1150px;

        padding: 0 20px;
    }


    .timeline-axis {
        left: 20px;
        right: 20px;
    }


    .timeline-item {
        width: 175px;
    }



    /* =====================================================
       FOOTER
    ====================================================== */

    .about-footer {
        display: flex;
        flex-direction: column;

        align-items: flex-start;

        gap: 28px;

        min-height: 0;

        padding:
            32px
            25px
            38px;
    }


    .about-footer-contact {
        width: 100%;

        flex-wrap: wrap;

        gap: 8px 12px;
    }


    .about-footer-nav {
        width: 100%;

        justify-content: space-between;

        gap: 15px;
    }

}
/* =========================================================
   FINAL ALIGNMENT FIXES
   ========================================================= */

/* Journey image reaches the right viewport edge like the home hero. */
.about-journey {
    padding-right: 0;
}

.journey-sketch {
    margin-right: 0;
}

/* Preserve the whole sketch instead of cropping hand/tablet. */
.journey-sketch img {
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
}

/* Footer brand is a functional home link. */
.about-footer-brand {
    color: inherit;
    text-decoration: none;
}

@media (max-width: 1000px) {
    .about-journey { padding-right: 0; }
}

@media (max-width: 700px) {
    .about-journey { padding-right: 25px; }
}

.about-footer-cn {
    margin-top: 4px !important;
    font-size: 9px !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
}
