/* -------------
  CONF GENERAL
---------------- */

    * { 
        margin: 0; 
        padding: 0; 
        box-sizing: border-box; 
    } 

    body { 
        background: white; 
        color: #1c1c1b; 
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; 
        overflow-x: hidden; 
    } 



/* -------------
  MENÚ SUPERIOR
---------------- */

    .top-menu {
        position: fixed;
        top: 50px;
        right: 150px;
        display: flex;
        gap: 80px;
        z-index: 1000;
        transition: transform 0.25s cubic-bezier(0.77, 0, 0.18, 1);
    }

    .top-menu a {
        color: #1c1c1b;
        text-decoration: none;
        font-size: 17px;
        font-weight: 460;
        transition: opacity 0.3s ease;
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    .top-menu a:hover {
        opacity: 0.45;
    }

    .top-menu.menu-hidden {
        transform: translateY(-100px);
    }



/* ------
    K
-------- */

    .big-k { 
        position: fixed; 
        top: 30px; 
        left: 30px; 
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; 
        font-size: 70px; 
        font-weight: 200; 
        line-height: 0.8; 
        letter-spacing: -0.12em; 
        text-decoration: none; 
        color: #1c1c1b; 
        z-index: 1000;
        transform-origin: top left; 
        transition: transform 0.4s ease; 
    } 

    .big-k:hover { 
        transform: scale(1.08); 
    }



/* ----------------
   FADE DE PÁGINA
---------------- */

    .project-info,
    .project-gif,
    .gif-page,
    .desplegable-info,
    .fotos-proyecto,
    .foto-centro,
    .foto-centro2,
    .project-navigation,
    .footer {
        opacity: 0;
        transition: opacity 1.1s ease;
    }

    body.page-visible .project-info,
    body.page-visible .project-gif,
    body.page-visible .gif-page,
    body.page-visible .desplegable-info,
    body.page-visible .fotos-proyecto,
    body.page-visible .foto-centro,
    body.page-visible .foto-centro2,
    body.page-visible .project-navigation,
    body.page-visible .footer {
        opacity: 1;
    }

    body.page-exit .top-menu,
    body.page-exit .big-k,
    body.page-exit .project-info,
    body.page-exit .project-gif,
    body.page-exit .gif-page,
    body.page-exit .desplegable-info,
    body.page-exit .fotos-proyecto,
    body.page-exit .foto-centro,
    body.page-exit .foto-centro2,
    body.page-exit .project-navigation,
    body.page-exit .footer {
        opacity: 0;
        transition: opacity 1.1s ease;
    }



/* ------
  HEADER
-------- */

    .project-info { 
        width: calc(100% - 160px); 
        margin: 200px 150px 0px 4px; 
        padding-left: 150px; 
        display: grid; 
        grid-template-columns: 7fr 1fr 1fr 1fr; 
        column-gap: 80px; 
        align-items: start; 
    } 

    .project-description h1 { 
        font-size: 70px; 
        font-weight: 400; 
        line-height: 1; 
        letter-spacing: -0.03em; 
    } 

    .project-description h2 { 
        font-style: italic; 
        font-size: 30px; 
        font-weight: 200; 
        line-height: 1; 
        letter-spacing: -0.01em; 
    } 

    .project-text p { 
        margin: 0; 
        font-size: 11px; 
        line-height: 1.3; 
        font-weight: 400; 
    } 



/* ------
   GIF
-------- */

    .project-gif {
        width: 1500px;
        height: auto;
        display: block;
        margin: 0px auto 0;
    }

    .gif-page { 
        margin: 100px 150px 150px auto;
        box-sizing: border-box;
        width: 80vw;
        font-size: 52px;
        line-height: 1.2;
        font-weight: 400;
        letter-spacing: -1.5px;
        word-spacing: 20px;
        text-transform: uppercase;
        text-align: justify;
    } 



/* -----------------
   INFO DESPLEGABLE
-------------------- */

    .desplegable-info {
        width: 400px;
        margin: -50px 960px 150px auto;
    }


/* BOTÓN */

    .desplegable-button {
        background: none;
        border: none;
        padding: 0;
        font-family: inherit;
        font-size: 15px;
        font-weight: 450;
        color: #1c1c1b;
        cursor: none;
        opacity: 1;
        transition: opacity 0.5s ease;
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    .desplegable-button:hover {
        opacity: 0.45;
    }


/* TEXTO OCULTO */

    .desplegable-text {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        margin-top: 0;

        font-size: 18px;
        line-height: 1.3;
        font-weight: 300;
        letter-spacing: -0.20px;
        word-spacing: 12px;
        text-align: justify;

        transition:
            max-height 0.6s ease,
            opacity 0.4s ease,
            margin-top 0.6s ease;
    }


/* TEXTO ABIERTO */

    .desplegable-text.open {
        max-height: 500px;
        opacity: 1;
        margin-top: 40px;
    }

    .desplegable-text p {
        margin-bottom: 25px;
    }



/* -----------------
   FOTOGRAFÍAS
-------------------- */

    .fotos-proyecto { 
        width: 1285px;
        margin: 0 auto 30px; 
        display: flex; 
        gap: 25px; 
        justify-content: center;
    } 

    .fotos-proyecto img { 
        width: calc(50% - 50px); 
        height: auto; 
        display: block; 
    } 

    .foto-centro { 
        width: 80%; 
        margin: 10px auto 200px; 
        display: flex; 
        justify-content: center;
    } 

    .foto-centro img { 
        width: 100%; 
        height: auto; 
        display: block;
    } 

    .foto-centro2 img { 
        margin: -100px auto 10px; 
        width: 1250px; 
        height: auto; 
        display: block; 
    } 



/* -----------------
   PASAR PROYECTO
-------------------- */

    .project-navigation {
        width: 100%;
        height: 180px;
        padding: 150px 150px;
        margin-top: -120px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
    }

    .project-arrow {
        font-family: inherit;
        font-size: 15px;
        font-weight: 450;
        color: #1c1c1b;
        text-decoration: underline;
        text-underline-offset: 4px;
        cursor: none;
        opacity: 1;
        transition: opacity 0.5s ease;
    }

    .project-arrow:hover {
        opacity: 0.45;
    }



/* -------
  FOOTER
---------- */

    .footer {
        width: 100%;
        height: 400px;
        background-color: #121212;
        color: white;
        padding: 40px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .footer-top {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        column-gap: 80px;
    }

    .footer-item {
        display: flex;
        flex-direction: column;
        font-size: 15px;
        line-height: 2;
        font-weight: 300;
        text-align: center;
    }

    .footer-label {
        margin-bottom: 5px;
    }

    .footer-bottom {
        width: 100%;
        text-align: right;
        padding-right: 90px;
        font-size: 15px;
        line-height: 1.2;
        font-weight: 400;
    }



/* ---------
  CURSOR
----------- */

    html {
        cursor: none;
    }

    .cursor {
        position: fixed;
        width: 20px;
        height: 20px;
        border: 2px solid #1c1c1b;
        border-radius: 50%;
        background: transparent;
        pointer-events: none;
        z-index: 99999;
        transform: translate(-50%, -50%);
        transition:
            width 0.2s ease,
            height 0.2s ease,
            background 0.2s ease,
            border 0.2s ease;
    }

    .cursor.cursor-active {
        background: #1c1c1b;
    }

    a,
    button {
        cursor: none;
    }