/* =========================================================
   FONT
========================================================= */

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/montserrat/Montserrat-VariableFont_wght.ttf")
         format("truetype");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}


/* =========================================================
   BASE
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #ffffff;
    color: #111111;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    height: 82px;
    padding: 18px 4.5%;

    display: grid;
    grid-template-columns: 260px 1fr auto;
    align-items: start;

    border-bottom: 1px solid #dddddd;
}


/* BRAND */

.brand {
    display: flex;
    flex-direction: column;
    width: max-content;
}

.brand-name {
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
}

.brand-role {
    margin-top: 5px;

    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.25em;
}

.brand-cn {
    margin-top: 4px;
    font-size: 9px;
}


/* MAIN NAVIGATION */

.main-nav {
    display: flex;
    justify-content: center;

    gap: 70px;
    padding-top: 2px;
}

.main-nav a {
    font-size: 10px;
    font-weight: 600;
}


/* HEADER TOOLS */

.header-tools {
    display: flex;
    align-items: center;
    gap: 22px;
}

.chinese-link {
    font-size: 11px;
}


/* SEARCH ICON */

.search-button {
    position: relative;

    width: 18px;
    height: 18px;

    padding: 0;
    border: 0;

    background: transparent;
    cursor: pointer;
}

.search-button::before {
    content: "";

    position: absolute;

    width: 12px;
    height: 12px;

    left: 0;
    top: 0;

    border: 1.5px solid #111111;
    border-radius: 50%;
}

.search-button::after {
    content: "";

    position: absolute;

    width: 6px;
    height: 1.5px;

    left: 11px;
    top: 12px;

    background: #111111;

    transform: rotate(45deg);
}


/* HAMBURGER */

.menu-button {
    width: 24px;
    height: 18px;

    padding: 0;
    border: 0;

    background: transparent;

    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 6px;

    cursor: pointer;
}

.menu-button span {
    display: block;

    width: 24px;
    height: 1px;

    background: #111111;
}


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

.hero {
    min-height: 620px;

    display: grid;

    grid-template-columns:
        32%
        52%
        16%;

    border-bottom: 1px solid #dddddd;
}


/* HERO TEXT */

.hero-text {
    padding: 145px 12% 70px 14%;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hero-text h1 {
    margin: 0;

    font-size: clamp(52px, 4.6vw, 76px);
    font-weight: 300;

    line-height: 0.90;
    letter-spacing: -0.07em;
}

.hero-text p {
    margin: 30px 0 17px;

    font-size: 15px;
    line-height: 1.4;
}


/* SMALL LINE */

.small-line {
    width: 25px;
    height: 1px;

    margin-bottom: 20px;

    background: #777777;
}


/* EXPLORE LINK */

.explore-link {
    width: 190px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 10px;
    font-weight: 600;
}

.explore-link span {
    font-size: 20px;
    font-weight: 300;
}


/* HERO IMAGE */

.hero-image {
    min-height: 620px;
    overflow: hidden;
}

.hero-image img {
    display: block;

    width: 100%;
    height: 100%;

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


/* HERO RIGHT SIDE */

.hero-side {
    padding: 155px 20% 0;
}

.hero-side p {
    margin: 20px 0;

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

    line-height: 1.6;
    letter-spacing: 0.22em;
}


/* =========================================================
   SELECTED PROJECTS
========================================================= */

.selected-projects {
    width: 100%;

    padding: 34px 4.5% 40px;

    border-bottom: 1px solid #dddddd;
}


/* PROJECTS HEADER */

.projects-intro {
    width: 100%;

    display: grid;
    grid-template-columns: 220px 1fr;

    column-gap: 65px;
    align-items: end;

    margin-bottom: 42px;
}

.section-label {
    display: block;

    margin-bottom: 7px;

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

.chinese-title-row {
    display: flex;
    align-items: center;

    gap: 22px;
}

.chinese-title-row h2 {
    margin: 0;

    font-size: 25px;
    font-weight: 500;
    line-height: 1;
}

.title-line {
    display: block;

    width: 25px;
    height: 1px;

    background: #555555;
}


/* CHINESE PROJECT LINK */

.chinese-project-link {
    display: flex;
    align-items: center;

    gap: 24px;
}

.chinese-project-link > span:first-child {
    display: flex;
    flex-direction: column;
}

.chinese-project-link strong {
    display: block;

    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.chinese-project-link small {
    display: block;

    margin-top: 7px;

    font-size: 9px;
    font-weight: 400;
    line-height: 1.4;
}

.project-arrow {
    font-size: 20px;
    font-weight: 300;
}


/* =========================================================
   PROJECT GRID
========================================================= */

.projects-grid {
    width: 100%;

    display: grid;

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

    gap: 24px;
}

.project-card {
    min-width: 0;
}

.project-number {
    display: block;

    margin-bottom: 8px;

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


/* =========================================================
   REAL PROJECT IMAGES
========================================================= */

.project-image {
    width: 100%;

    aspect-ratio: 1.35 / 1;

    margin-bottom: 11px;

    overflow: hidden;

    background: #eeeeee;
}

.project-image img {
    display: block;

    width: 100%;
    height: 100%;

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


/* =========================================================
   TEMPORARY PROJECT PLACEHOLDERS
========================================================= */

.project-placeholder {
    width: 100%;

    aspect-ratio: 1.35 / 1;

    margin-bottom: 11px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 10px;

    background: #eeeeee;
    color: #777777;

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

    letter-spacing: 0.06em;
}


/* PROJECT TEXT */

.project-card h3 {
    margin: 0 0 4px;

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

.project-card p {
    margin: 0;

    font-size: 9px;
    line-height: 1.5;
}


/* Keeps the lower text and lines aligned */

.project-card > p:not(.project-cn) {
    min-height: 27px;
}

.project-card .project-cn {
    min-height: 15px;

    margin-top: 4px;

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

.card-line {
    display: block;

    width: 22px;
    height: 1px;

    margin-top: 10px;

    background: #777777;
}


/* VIEW ALL PROJECTS */

.view-all-projects {
    width: 175px;

    margin-top: 28px;

    display: flex;
    justify-content: space-between;
    align-items: center;

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

.view-all-projects span:last-child {
    font-size: 19px;
    font-weight: 300;
}


/* =========================================================
   ABOUT — HOME
========================================================= */

.about-home {
    width: 100%;

    display: grid;

    grid-template-columns:
        38%
        62%;

    min-height: 500px;

    /* No line between ABOUT and APPROACH */
    border-bottom: 0;
}


/* ABOUT CONTENT */

.about-content {
    padding: 75px 12% 70px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content h2 {
    margin: 0;

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

    line-height: 0.92;
    letter-spacing: -0.065em;
}

.about-description {
    max-width: 410px;

    margin: 28px 0 18px;

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

    line-height: 1.55;
}


/* ABOUT LINK */

.about-link {
    width: 190px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    font-size: 10px;
    font-weight: 600;
}

.about-link .arrow {
    font-size: 20px;
    font-weight: 300;
}


/* ABOUT IMAGE */

.about-image {
    position: relative;

    min-height: 500px;

    overflow: hidden;

    background: #eeeeee;
}

.about-image img {
    display: block;

    width: 100%;
    height: 100%;

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


/* ABOUT KEYWORDS */

.about-keywords {
    position: absolute;

    top: 48px;
    left: 3.5%;

    display: flex;
    flex-direction: column;

    color: #111111;

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

    line-height: 1.65;
    letter-spacing: 0.04em;
}


/* =========================================================
   APPROACH — HOME
========================================================= */

.approach-home {
    width: 100%;

    display: grid;

    grid-template-columns:
        62%
        38%;

    min-height: 430px;

    border-bottom: 1px solid #dddddd;
}


/* APPROACH IMAGE */

.approach-image {
    position: relative;

    min-height: 430px;

    overflow: hidden;

    background: #111111;
}

.approach-image img {
    display: block;

    width: 100%;
    height: 100%;

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


/* APPROACH KEYWORDS */

.approach-keywords {
    position: absolute;

    top: 42px;
    left: 7.3%;

    display: flex;
    flex-direction: column;

    color: #ffffff;

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

    line-height: 1.65;
    letter-spacing: 0.04em;
}

.approach-keyword-line {
    display: block;

    width: 25px;
    height: 1px;

    margin-top: 17px;

    background: #ffffff;
}


/* COLLABORATION TEXT */

.approach-collaboration {
    width: 100%;
    max-width: 340px;

    margin: 18px 0 0;

    color: #ffffff;

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

    line-height: 1.55;
    letter-spacing: 0;
}


/* APPROACH CONTENT */

.approach-content {
    padding: 65px 12% 60px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.approach-content h2 {
    margin: 0;

    font-size: clamp(37px, 3.6vw, 58px);
    font-weight: 300;

    line-height: 0.92;
    letter-spacing: -0.06em;
}

.approach-description {
    max-width: 400px;

    margin: 25px 0 18px;

    font-size: 13px;
    line-height: 1.55;
}


/* APPROACH LINK */

.approach-link {
    width: 205px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    font-size: 10px;
    font-weight: 600;
}

.approach-link .arrow {
    font-size: 20px;
    font-weight: 300;
}


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

.site-footer {
    width: 100%;

    padding: 48px 4.5% 22px;

    background: #ffffff;
    color: #111111;
}


/* FOOTER MAIN */

.footer-main {
    display: grid;

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

    align-items: center;

    padding-bottom: 55px;
}



/* FOOTER BRAND / NAVIGATION SHORTCUT */
.footer-brand {
    grid-column: 1;
    justify-self: start;
    display: flex;
    flex-direction: column;
    width: max-content;
    color: #111111;
    text-decoration: none;
}

.footer-brand .brand-name { font-size: 20px; }
.footer-brand .brand-role { font-size: 8px; }
.footer-brand .brand-cn { font-size: 9px; }

/* CONTACT */

.footer-contact {
    grid-column: 2;

    display: flex;
    flex-direction: row;

    align-items: baseline;
    justify-content: center;

    gap: 7px;

    white-space: nowrap;
}

.footer-label {
    font-size: 16px;
    font-weight: 800;

    line-height: 1;
}

.footer-email {
    display: flex;
    flex-direction: row;

    align-items: baseline;

    gap: 4px;

    color: #111111;

    font-size: 16px;
    font-weight: 800;

    line-height: 1;
}

.footer-at {
    color: #d71920;
    font-weight: 800;
}


/* FOOTER LINKS */

.footer-links {
    grid-column: 3;

    justify-self: end;

    display: flex;

    gap: 45px;
}

.footer-links a {
    font-size: 10px;
    font-weight: 600;
}


/* FOOTER BOTTOM */

.footer-bottom {
    width: 100%;

    padding-top: 18px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 30px;

    border-top: 1px solid #dddddd;

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

    line-height: 1.5;
    letter-spacing: 0.02em;
}

.footer-vat {
    white-space: nowrap;
}



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

.footer-social {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: 35px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #111111;
    line-height: 1;
}

.social-linkedin img {
    display: block;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.social-coroflot {
    width: auto !important;
    height: auto !important;

    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 600;

    line-height: 1;
    letter-spacing: 0.02em;
}
/* DESKTOP: sposta insieme contact + email + social leggermente a sinistra */
.footer-contact {
    transform: translateX(-45px);
}

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

@media (max-width: 1000px) {

    /* HEADER */

    .site-header {
        grid-template-columns:
            220px
            1fr
            auto;
    }

    .main-nav {
        gap: 30px;
    }


    /* HERO */

    .hero {
        grid-template-columns:
            40%
            60%;
    }

    .hero-side {
        display: none;
    }

    .hero-text {
        padding-left: 11%;
        padding-right: 9%;
    }

    .hero-text h1 {
        font-size: clamp(44px, 6vw, 62px);
    }


    /* PROJECTS */

    .selected-projects {
        padding-left: 6%;
        padding-right: 6%;
    }

    .projects-intro {
        grid-template-columns:
            190px
            1fr;

        column-gap: 40px;
    }

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

        gap: 35px 24px;
    }


    /* ABOUT */

    .about-home {
        grid-template-columns:
            48%
            52%;
    }

    .about-content {
        padding: 65px 10%;
    }

    .about-content h2 {
        font-size: clamp(36px, 4.5vw, 50px);
        line-height: 0.94;
    }

    .about-description {
        font-size: 12px;
    }


    /* APPROACH */

    .approach-home {
        grid-template-columns:
            55%
            45%;
    }

    .approach-content {
        padding: 55px 10%;
    }

    .approach-content h2 {
        font-size: clamp(34px, 4.3vw, 46px);
        line-height: 0.94;
    }

    .approach-description {
        font-size: 12px;
    }

    .approach-keywords {
        left: 7%;
    }

    .approach-collaboration {
        max-width: 300px;
        font-size: 14px;
    }


    /* FOOTER TABLET */

    .footer-main {
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 40px;
    }

    .footer-contact {
        grid-column: 1;
        justify-self: start;
        transform: none;
    }

    .footer-links {
        grid-column: 2;
        justify-self: end;
        gap: 24px;
    }
}


/* =========================================================
   SMARTPHONE
   fino a 700px
========================================================= */

@media (max-width: 700px) {

    /* HEADER */

    .site-header {
        height: 90px;

        padding: 16px 20px;

        grid-template-columns:
            1fr
            auto;

        align-items: start;
    }

    .main-nav {
        display: none;
    }

    .brand-name {
        font-size: 17px;
    }

    .brand-role {
        font-size: 7px;
    }

    .brand-cn {
        font-size: 8px;
    }

    .header-tools {
        gap: 15px;
    }

    .chinese-link {
        font-size: 10px;
    }


    /* HERO MOBILE */

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

        min-height: auto;
    }

    .hero-text {
        order: 1;

        width: 100%;

        padding: 60px 25px;
    }

    .hero-text h1 {
        font-size: clamp(52px, 17vw, 76px);
    }

    .hero-image {
        order: 2;

        width: 100%;

        min-height: 60vh;
    }

    .hero-image img {
        width: 100%;
        height: 100%;

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

    .hero-side {
        display: none;
    }


    /* SELECTED PROJECTS MOBILE */

    .selected-projects {
        padding: 35px 20px 40px;
    }

    .projects-intro {
        display: block;

        margin-bottom: 35px;
    }

    .chinese-project-link {
        margin-top: 22px;

        justify-content: space-between;
    }

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

        gap: 32px 16px;
    }


    /*
       Sia le fotografie reali sia i placeholder
       diventano quadrati su smartphone.
    */

    .project-image,
    .project-placeholder {
        aspect-ratio: 1 / 1;
    }


    /* ABOUT MOBILE */

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

        width: 100%;

        min-height: 0;
    }

    .about-content {
        order: 1;

        width: 100%;

        padding: 55px 25px 50px;

        display: flex;
        flex-direction: column;

        justify-content: flex-start;
    }

    .about-content h2 {
        margin: 0;

        font-size: clamp(40px, 12vw, 58px);

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

    .about-description {
        width: 100%;
        max-width: 430px;

        margin: 25px 0 18px;

        font-size: 13px;
        line-height: 1.55;
    }

    .about-image {
        order: 2;

        position: relative;

        width: 100%;

        height: 72vh;
        min-height: 480px;
        max-height: 720px;
    }

    .about-image img {
        width: 100%;
        height: 100%;

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

    .about-keywords {
        top: 30px;
        left: 25px;

        color: #111111;

        font-size: 9px;
    }


    /* APPROACH MOBILE */

    .approach-home {
        display: flex;
        flex-direction: column;

        width: 100%;

        min-height: auto;
    }

    .approach-image {
        order: 1;

        position: relative;

        width: 100%;

        height: 65vh;
        min-height: 420px;
        max-height: 650px;

        background: #eeeeee;
    }

    .approach-image img {
        width: 100%;
        height: 100%;

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

    .approach-keywords {
        top: 28px;
        left: 25px;

        color: #111111;

        font-size: 9px;

        line-height: 1.65;
    }

    .approach-keyword-line {
        background: #111111;
    }


    /*
       Su mobile la frase dei professionisti
       diventa rossa e viene spostata verso l'alto.
    */

    .approach-collaboration {
        width: calc(100vw - 50px);
        max-width: 320px;

        margin-top: -12px;

        color: #d71920;

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

        line-height: 1.4;
        letter-spacing: 0;
    }


    /* APPROACH CONTENT */

    .approach-content {
        order: 2;

        width: 100%;

        padding: 55px 25px 50px;

        display: flex;
        flex-direction: column;

        justify-content: flex-start;
    }

    .approach-content h2 {
        margin: 0;

        font-size: clamp(38px, 11vw, 56px);

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

    .approach-description {
        width: 100%;
        max-width: 430px;

        margin: 25px 0 18px;

        font-size: 13px;
        line-height: 1.55;
    }


    /* FOOTER MOBILE */

    .site-footer {
        padding: 40px 25px 20px;
    }

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

        align-items: center;

        gap: 35px;

        padding-bottom: 40px;
    }


    /* CONTACT */

    .footer-contact {
        display: flex;
        flex-direction: row;

        align-items: baseline;
        justify-content: center;

        gap: 6px;

        white-space: nowrap;
        transform: none;
    }

    .footer-label {
        font-size: 15px;
    }

    .footer-email {
        font-size: 15px;
    }


    /* FOOTER LINKS */

    .footer-links {
        width: 100%;

        display: flex;

        justify-content: space-between;

        gap: 15px;
    }


    /* COPYRIGHT + VAT */

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

        align-items: flex-start;

        gap: 7px;

        padding-top: 16px;

        font-size: 8px;
        line-height: 1.5;
    }

    .footer-vat {
        white-space: normal;
    }
}
/* Header brand is identical on all desktop pages. */
@media (min-width: 701px) {
    .work-page .site-header .brand-name,
    .about-page .site-header .brand-name { font-size: 20px; }
}

@media (max-width: 700px) {
    .footer-brand .brand-name { font-size: 17px; }
    .footer-brand .brand-role { font-size: 7px; }
    .footer-brand .brand-cn { font-size: 8px; }
}


/* BIANCHI HOME CARD — preserve the complete bicycle composition */
.project-card:nth-child(4) .project-image img{object-fit:contain;object-position:center;background:#f2f2f2;}

/* =========================================================
   ENGLISH HEADER: desktop links / functional mobile menu
   ========================================================= */
@media (min-width: 701px) {
  .site-header .search-button,
  .site-header .menu-button { display: none; }
  .site-header .main-nav { display: flex; }
}
@media (max-width: 700px) {
  .site-header { position: relative; z-index: 20; }
  .site-header .search-button { display: none; }
  .site-header .menu-button { display: flex; align-self: center; }
  .site-header .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    z-index: 30;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 14px;
    background: #fff;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 8px 16px rgba(0,0,0,.06);
  }
  .site-header .main-nav.mobile-open { display: flex; }
  .site-header .main-nav a {
    display: block;
    padding: 14px 0;
    font-size: 11px;
  }
  .site-header .main-nav a.active { text-decoration: underline; text-underline-offset: 6px; }
}
