/* =========================================================
   CARA — RED EXTERIOR
   ========================================================= */
/* =========================================================
   BASE
========================================================= */

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

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    background: #a7ecbc;
    color: #111111;
    overflow: hidden;
}

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

button {
    font: inherit;
}


/* =========================================================
   VOLVER
========================================================= */

.back-home {
    position: fixed;
    top: 25px;
    left: 28px;
    z-index: 1000;

    font-family: "Times New Roman", Times, serif;
    font-size: 30px;
    line-height: 1;

    color: #111111;
    opacity: 0.55;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.back-home:hover {
    opacity: 1;
    transform: translateX(-4px);
}


/* =========================================================
   RED EXTERIOR
========================================================= */

.network {
    width: 100vw;
    height: 100vh;
    overflow: auto;
}

.network-canvas {
    position: relative;

    width: 1800px;
    height: 1100px;

    min-width: 100vw;
    min-height: 100vh;
}


/* =========================================================
   HILO ROJO
========================================================= */

.red-thread {
    position: absolute;
    inset: 0;
    z-index: 1;

    width: 100%;
    height: 100%;

    overflow: visible;
    pointer-events: none;
}

.red-thread path {
    fill: none;

    stroke: #0e004b;
    stroke-width: 2.1;

    stroke-linecap: round;
    stroke-linejoin: round;

    vector-effect: non-scaling-stroke;
    opacity: 0.88;
}


/* =========================================================
   NUDOS PRINCIPALES
========================================================= */

.node {
    position: absolute;
    z-index: 10;

    width: 180px;
    height: 150px;

    padding: 0;
    border: 0;
    outline: 0;

    background: transparent;

    color: #17131b;

    transform-origin: center;

    transition:
        transform 0.3s cubic-bezier(.2, .8, .2, 1),
        filter 0.3s ease;
}

.node:hover {
    z-index: 30;

    transform:
        translateY(-3px)
        scale(1.035);

    filter:
        drop-shadow(
            0 10px 14px
            rgba(0, 0, 0, 0.06)
        );
}


/* =========================================================
   HALO — sustituye al alfiler rojo
========================================================= */

.node-pin,
.external-pin {
    position: absolute;
    left: 50%;
    top: 50%;

    z-index: 2;

    width: 158px;
    height: 136px;

    border-radius: 50%;

    transform:
        translate(-50%, -50%);

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(255, 245, 188, 0.98) 0%,
            rgba(255, 229, 120, 0.72) 6%,
            rgba(247, 224, 151, 0.35) 14%,
            rgba(160, 190, 226, 0.30) 32%,
            rgba(142, 177, 219, 0.19) 50%,
            rgba(255, 255, 255, 0) 75%
        ),
        radial-gradient(
            ellipse at 35% 40%,
            rgba(127, 167, 218, 0.22) 0%,
            rgba(127, 167, 218, 0.12) 25%,
            transparent 62%
        ),
        radial-gradient(
            ellipse at 70% 63%,
            rgba(178, 201, 231, 0.25) 0%,
            transparent 58%
        );

    filter: blur(5px);
    opacity: 0.96;

    pointer-events: none;

    transition:
        transform 0.35s ease,
        opacity 0.35s ease,
        filter 0.35s ease;
}

.node-pin::before,
.external-pin::before {
    content: "";

    position: absolute;
    inset: 8%;

    border-radius: 50%;

    background:
        conic-gradient(
            from 20deg,
            transparent 0deg 24deg,
            rgba(120, 158, 211, 0.11) 24deg 44deg,
            transparent 44deg 92deg,
            rgba(245, 211, 112, 0.10) 92deg 112deg,
            transparent 112deg 168deg,
            rgba(109, 150, 206, 0.12) 168deg 197deg,
            transparent 197deg 258deg,
            rgba(248, 219, 128, 0.10) 258deg 278deg,
            transparent 278deg 360deg
        );

    filter: blur(8px);
}

.node-pin::after,
.external-pin::after {
    content: "";

    position: absolute;
    left: 50%;
    top: 50%;

    width: 24px;
    height: 24px;

    border-radius: 50%;

    transform:
        translate(-50%, -50%);

    background:
        radial-gradient(
            circle,
            rgba(255, 252, 214, 1) 0%,
            rgba(255, 223, 91, 0.58) 38%,
            rgba(255, 220, 90, 0) 78%
        );

    filter: blur(3px);
}

.node:hover .node-pin,
.external-node:hover .external-pin {
    transform:
        translate(-50%, -50%)
        scale(1.06);

    filter: blur(4px);
    opacity: 1;
}


/* =========================================================
   TEXTO DE LOS NUDOS
========================================================= */

.node-copy {
    position: absolute;
    inset: 0;

    z-index: 4;

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

    padding: 24px;

    text-align: center;

    background: transparent;
    border: 0;
    box-shadow: none;
}

.node h2 {
    margin: 0;

    max-width: 145px;

    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
    font-weight: 400;

    line-height: 1.04;
    letter-spacing: -0.025em;

    color: #17131b;
}

.node p {
    margin-top: 7px;

    max-width: 128px;

    font-family: 'Times New Roman', Times, serif;
    font-size: 8px;
    line-height: 1.25;

    color: rgba(23, 19, 27, 0.62);
}

.node-enter {
    display: none !important;
}


/* =========================================================
   PERFECT DAYS — EXTERIOR
========================================================= */

.node-perfect-days {
    left: 130px;
    top: 165px;

    width: 170px;
    height: 145px;
}

.node-perfect-days .node-pin {
    width: 150px;
    height: 130px;
}

.node-perfect-days h2 {
    font-size: 19px;
    color: #50143d;
}

.node-perfect-days p {
    display: none;
}



/* =========================================================
   DIRECTORES — EXTERIOR
========================================================= */

.node-directores {
    left: 650px;
    top: 265px;

    width: 205px;
    height: 165px;
}

.node-directores .node-pin {
    width: 180px;
    height: 150px;
}

.node-directores h2 {
    max-width: 155px;
    font-size: 17px;

    color: #50143d;
}


/* =========================================================
   ROCHE BOBOIS — EXTERIOR
========================================================= */

.node-roche {
    left: 1140px;
    top: 180px;

    width: 190px;
    height: 155px;
}

.node-roche .node-pin {
    width: 168px;
    height: 142px;
}

.node-roche h2 {
    max-width: 145px;
    font-size: 17px;

    color: #6f2132;
}


/* =========================================================
   NUDOS EXTERNOS — OBJETOS
========================================================= */

.external-node {
    position: absolute;
    z-index: 10;

    display: block;

    width: 92px;
    height: 86px;

    color: inherit;

    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}

.external-node .external-pin {
    width: 96px;
    height: 82px;
}

.external-node:hover {
    z-index: 30;

    filter:
        drop-shadow(
            0 8px 12px
            rgba(0, 0, 0, 0.08)
        );
}

.lynch-interview-node {
    left: 820px;
    top: 610px;

    transform: rotate(-6deg);
}

.lynch-interview-image {
    position: absolute;
    left: 50%;
    top: 50%;

    z-index: 4;

    display: block;

    width: 58px;
    height: 52px;

    object-fit: contain;

    transform:
        translate(-50%, -50%);

    transition:
        transform 0.3s ease;
}

.lynch-interview-node:hover .lynch-interview-image {
    transform:
        translate(-50%, -50%)
        rotate(4deg)
        scale(1.10);
}

.chairs-video-node {
    left: 1350px;
    top: 610px;

    transform: rotate(5deg);
}

.chairs-video-image {
    position: absolute;
    left: 50%;
    top: 50%;

    z-index: 4;

    display: block;

    width: 62px;
    height: 58px;

    object-fit: contain;

    transform:
        translate(-50%, -50%);

    transition:
        transform 0.3s ease;
}

.chairs-video-node:hover .chairs-video-image {
    transform:
        translate(-50%, -50%)
        rotate(-5deg)
        scale(1.10);
}


/* Etiquetas discretas al hover */
.lynch-interview-node::after,
.chairs-video-node::after {
    position: absolute;
    left: 50%;
    top: calc(100% + 4px);

    z-index: 6;

    width: 150px;

    transform:
        translateX(-50%)
        translateY(4px);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    line-height: 1.2;

    text-align: center;

    color: #17131b;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}

.lynch-interview-node::after {
    content: "David Lynch × Patti Smith ↗";
}

.chairs-video-node::after {
    content: "chairs through time ↗";
}

.lynch-interview-node:hover::after,
.chairs-video-node:hover::after {
    opacity: 0.72;
    visibility: visible;

    transform:
        translateX(-50%)
        translateY(0);
}


/* =========================================================
   CURSOR
========================================================= */

@media (pointer: fine) {

    body,
    body *,
    a,
    button {
        cursor: none !important;
    }

    .custom-cursor {
        position: fixed;

        top: 0;
        left: 0;

        z-index: 30000;

        width: 150px;
        height: 150px;

        pointer-events: none;

        transform:
            translate(-50%, -50%);

        will-change:
            left,
            top,
            transform;
    }

    .custom-cursor img {
        display: block;

        width: 100%;
        height: 100%;

        object-fit: contain;
    }

    .custom-cursor.is-hovering {
        transform:
            translate(-50%, -50%)
            rotate(10deg)
            scale(0.72);
    }
}

@media (pointer: coarse) {
    .custom-cursor {
        display: none;
    }
}


/* =========================================================
   RESPONSIVE — RED EXTERIOR
========================================================= */

@media (max-width: 1100px) {

    body {
        overflow: auto;
    }

    .network {
        height: auto;
        overflow: visible;
    }

    .network-canvas {
        width: 100%;
        height: 1200px;

        min-width: 100%;
        min-height: 1200px;
    }

    .red-thread {
        width: 100%;
        height: 1200px;
    }

    .node {
        width: 160px;
        height: 138px;
    }

    .node-pin {
        width: 142px;
        height: 122px;
    }

    .node-perfect-days {
        left: 6vw;
        top: 115px;

        width: 150px;
        height: 132px;
    }

    .node-perfect-days .node-pin {
        width: 136px;
        height: 116px;
    }

    .node-perfect-days .node-image {
        right: -10px;
        top: 0;

        width: 52px;
        height: 38px;
    }

    .node-perfect-days h2 {
        font-size: 16px;
    }

    .node-directores {
        left: auto;
        right: 7vw;
        top: 295px;

        width: 170px;
        height: 145px;
    }

    .node-directores .node-pin {
        width: 154px;
        height: 130px;
    }

    .node-directores h2 {
        max-width: 132px;
        font-size: 15px;
    }

    .lynch-interview-node {
        left: 14vw;
        top: 505px;

        width: 78px;
        height: 72px;
    }

    .node-roche {
        left: 8vw;
        top: 700px;

        width: 165px;
        height: 140px;
    }

    .node-roche .node-pin {
        width: 150px;
        height: 126px;
    }

    .node-roche h2 {
        max-width: 128px;
        font-size: 15px;
    }

    .chairs-video-node {
        left: auto;
        right: 12vw;
        top: 920px;

        width: 80px;
        height: 74px;
    }
}


@media (max-width: 700px) {

    .network-canvas {
        height: 1040px;
        min-height: 1040px;
    }

    .red-thread {
        height: 1040px;
    }

    .node-perfect-days {
        left: 4vw;
        top: 95px;

        width: 135px;
        height: 118px;
    }

    .node-perfect-days .node-pin {
        width: 124px;
        height: 106px;
    }

    .node-perfect-days .node-image {
        width: 45px;
        height: 33px;
    }

    .node-perfect-days h2 {
        font-size: 14px;
    }

    .node-directores {
        left: auto;
        right: 3vw;
        top: 255px;

        width: 150px;
        height: 130px;
    }

    .node-directores .node-pin {
        width: 138px;
        height: 116px;
    }

    .node-directores h2 {
        max-width: 118px;
        font-size: 13px;
    }

    .lynch-interview-node {
        left: 10vw;
        top: 445px;

        width: 68px;
        height: 64px;
    }

    .lynch-interview-node .external-pin,
    .chairs-video-node .external-pin {
        width: 78px;
        height: 66px;
    }

    .lynch-interview-image {
        width: 46px;
        height: 42px;
    }

    .node-roche {
        left: auto;
        right: 4vw;
        top: 620px;

        width: 145px;
        height: 126px;
    }

    .node-roche .node-pin {
        width: 132px;
        height: 112px;
    }

    .node-roche h2 {
        max-width: 112px;
        font-size: 13px;
    }

    .chairs-video-node {
        left: 12vw;
        right: auto;
        top: 815px;

        width: 70px;
        height: 66px;
    }

    .chairs-video-image {
        width: 50px;
        height: 46px;
    }

    .lynch-interview-node::after,
    .chairs-video-node::after {
        width: 120px;
        font-size: 8px;
    }
}


/* =========================================================
   INTERIORES — BASE
========================================================= */

.node-inside {
    position: fixed;
    inset: 0;

    z-index: 20000;

    overflow-y: auto;

    background: #ffffff;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.node-inside.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.node-inside-close {
    position: fixed;

    top: 24px;
    right: 28px;

    z-index: 100;

    padding: 0;

    border: 0;
    background: transparent;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 30px;

    color: #111;
}


/* =========================================================
   PERFECT DAYS — INTERIOR EDITORIAL
========================================================= */

#perfectDaysInside {
    background: #f8f6f0;
    color: #111111;
}


.perfect-days-zine {
    position: relative;

    width: min(1180px, calc(100% - 50px));

    margin: 0 auto;

    padding:
        80px
        0
        160px;

    display: grid;

    grid-template-columns:
        repeat(12, 1fr);

    gap:
        18px
        18px;
}


/* -------------------------
   CABECERA
------------------------- */

.pd-header {
    grid-column: 1 / 7;

    position: relative;

    z-index: 5;

    margin-bottom: -30px;
}


.pd-header h1 {
    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size:
        clamp(70px, 10vw, 150px);

    font-weight: 400;

    line-height: 0.72;

    letter-spacing: -0.07em;
}


.pd-director {
    margin-top: 24px;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 10px;

    letter-spacing: 0.16em;
}


/* -------------------------
   TODAS LAS FOTOS
------------------------- */

.pd-photo {
    position: relative;

    overflow: hidden;
}


.pd-photo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* -------------------------
   FOTO 1
------------------------- */

.pd-photo-1 {
    grid-column: 5 / 13;

    height: 460px;

    margin-top: -45px;
}


/* -------------------------
   TEXTO GENERAL
------------------------- */

.pd-text {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 12px;

    line-height: 1.45;
}


.pd-text p + p {
    margin-top: 15px;
}


.pd-text-1 {
    grid-column: 1 / 5;

    padding:
        28px
        20px
        20px
        0;
}


/* -------------------------
   FOTO 2
------------------------- */

.pd-photo-2 {
    grid-column: 6 / 10;

    height: 390px;

    margin-top: 65px;

    transform: rotate(1.5deg);
}


/* -------------------------
   FRASE GRANDE
------------------------- */

.pd-pullquote {
    grid-column: 1 / 7;

    align-self: center;

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size:
        clamp(34px, 5vw, 68px);

    line-height: 0.92;

    letter-spacing: -0.035em;

    margin-top: 70px;
}


/* -------------------------
   TEXTO 2
------------------------- */

.pd-text-2 {
    grid-column: 8 / 12;

    margin-top: 60px;
}


/* -------------------------
   FOTO 3
------------------------- */

.pd-photo-3 {
    grid-column: 2 / 6;

    height: 360px;

    margin-top: 90px;
}


/* -------------------------
   FOTO 4
------------------------- */

.pd-photo-4 {
    grid-column: 7 / 13;

    height: 430px;

    margin-top: 10px;

    transform: rotate(-1deg);
}


/* -------------------------
   TEXTO 3
------------------------- */

.pd-text-3 {
    grid-column: 2 / 6;

    margin-top: 35px;
}


/* -------------------------
   PREGUNTA
------------------------- */

.pd-question {
    grid-column: 5 / 13;

    margin-top: 80px;

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size:
        clamp(55px, 8vw, 120px);

    line-height: 0.78;

    letter-spacing: -0.06em;
}


/* -------------------------
   FOTO 5
------------------------- */

.pd-photo-5 {
    grid-column: 1 / 8;

    height: 560px;

    margin-top: 60px;
}


/* -------------------------
   TEXTO FINAL
------------------------- */

.pd-text-4 {
    grid-column: 9 / 13;

    align-self: end;

    margin-bottom: 40px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 800px) {

    .perfect-days-zine {
        width:
            calc(100% - 36px);

        padding-top: 80px;

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

        gap: 16px;
    }


    .pd-header {
        grid-column: 1 / 7;
    }


    .pd-photo-1 {
        grid-column: 2 / 7;

        height: 320px;

        margin-top: 15px;
    }


    .pd-text-1 {
        grid-column: 1 / 6;
    }


    .pd-photo-2 {
        grid-column: 3 / 7;

        height: 330px;
    }


    .pd-pullquote {
        grid-column: 1 / 7;
    }


    .pd-text-2 {
        grid-column: 2 / 6;
    }


    .pd-photo-3 {
        grid-column: 1 / 5;

        height: 300px;
    }


    .pd-photo-4 {
        grid-column: 2 / 7;

        height: 310px;
    }


    .pd-text-3 {
        grid-column: 1 / 6;
    }


    .pd-question {
        grid-column: 1 / 7;
    }


    .pd-photo-5 {
        grid-column: 1 / 7;

        height: auto;
    }


    .pd-photo-5 img {
        height: auto;
    }


    .pd-text-4 {
        grid-column: 2 / 7;

        margin-top: 30px;
    }

}

/* =====================================================
   DIRECTOR
===================================================== */

.director {
    position: relative;
    width: 100%;
    min-height: 650px;
    margin-bottom: 180px;
}


/* ---------- NOMBRE ---------- */

.director-nombre {
    position: absolute;
    z-index: 20;
    left: 4%;
    top: 40px;
    pointer-events: none;
}

.director-nombre span {
    display: block;
    font-size: 12px;
    margin-bottom: 12px;
}

.director-nombre h3 {
    margin: 0;
    font-size: clamp(50px, 7vw, 110px);
    line-height: 0.78;
    letter-spacing: -4px;
    font-weight: 400;
}


/* =====================================================
   COLLAGE
===================================================== */

.director-collage {
    position: relative;
    width: 100%;
    height: 650px;
}


/* ---------- FOTOS ---------- */

.director-collage .foto {
    position: absolute;
    object-fit: cover;
    display: block;

    cursor: pointer;

    transition:
        transform 0.45s ease,
        z-index 0s,
        filter 0.45s ease;
}


/* efecto al pasar el ratón */

.director-collage .foto:hover {
    z-index: 50;
    transform:
        scale(1.08)
        rotate(0deg) !important;

    filter: none;
}


/* =====================================================
   WIM WENDERS
===================================================== */

.wenders .foto-1 {
    width: 330px;
    height: 430px;

    left: 28%;
    top: 40px;

    transform: rotate(-5deg);
}

.wenders .foto-2 {
    width: 280px;
    height: 190px;

    left: 52%;
    top: 0;

    transform: rotate(4deg);
}

.wenders .foto-3 {
    width: 250px;
    height: 330px;

    left: 62%;
    top: 220px;

    transform: rotate(-7deg);
}

.wenders .foto-4 {
    width: 260px;
    height: 180px;

    left: 18%;
    top: 400px;

    transform: rotate(6deg);
}


/* =====================================================
   DAVID LYNCH
===================================================== */

.lynch .foto-1 {
    width: 280px;
    height: 390px;

    left: 18%;
    top: 20px;

    transform: rotate(5deg);
}

.lynch .foto-2 {
    width: 360px;
    height: 230px;

    left: 40%;
    top: 80px;

    transform: rotate(-4deg);
}

.lynch .foto-3 {
    width: 230px;
    height: 320px;

    left: 68%;
    top: 20px;

    transform: rotate(7deg);
}

.lynch .foto-4 {
    width: 300px;
    height: 200px;

    left: 42%;
    top: 350px;

    transform: rotate(3deg);
}


/* =====================================================
   PEDRO ALMODÓVAR
===================================================== */

.almodovar .foto-1 {
    width: 350px;
    height: 250px;

    left: 20%;
    top: 40px;

    transform: rotate(-4deg);
}

.almodovar .foto-2 {
    width: 250px;
    height: 360px;

    left: 52%;
    top: 10px;

    transform: rotate(6deg);
}

.almodovar .foto-3 {
    width: 290px;
    height: 200px;

    left: 63%;
    top: 370px;

    transform: rotate(-5deg);
}

.almodovar .foto-4 {
    width: 230px;
    height: 310px;

    left: 28%;
    top: 300px;

    transform: rotate(4deg);
}


/* =====================================================
   WONG KAR-WAI
===================================================== */

.wong .foto-1 {
    width: 290px;
    height: 400px;

    left: 20%;
    top: 20px;

    transform: rotate(-6deg);
}

.wong .foto-2 {
    width: 340px;
    height: 220px;

    left: 43%;
    top: 40px;

    transform: rotate(4deg);
}

.wong .foto-3 {
    width: 240px;
    height: 350px;

    left: 68%;
    top: 10px;

    transform: rotate(-4deg);
}

.wong .foto-4 {
    width: 300px;
    height: 200px;

    left: 42%;
    top: 350px;

    transform: rotate(-7deg);
}


/* =====================================================
   PEQUEÑO EFECTO DE PROFUNDIDAD
===================================================== */

.director-collage .foto-1 {
    z-index: 4;
}

.director-collage .foto-2 {
    z-index: 3;
}

.director-collage .foto-3 {
    z-index: 2;
}

.director-collage .foto-4 {
    z-index: 1;
}


/* =====================================================
   MÓVIL
===================================================== */

@media (max-width: 700px) {

    .nodo-directores {
        padding: 80px 20px 100px;
    }

    .directores-header {
        margin-bottom: 100px;
    }

    .directores-header h2 {
        font-size: 55px;
        letter-spacing: -3px;
    }

    .directores-intro {
        margin-left: 0;
        width: 250px;
    }

    .director {
        min-height: 500px;
        margin-bottom: 100px;
    }

    .director-nombre {
        left: 5%;
        top: 10px;
    }

    .director-nombre h3 {
        font-size: 55px;
    }

    .director-collage {
        height: 500px;
    }

    .director-collage .foto {
        max-width: 55vw;
    }

    .wenders .foto-1,
    .lynch .foto-1,
    .almodovar .foto-1,
    .wong .foto-1 {
        left: 10%;
    }

    .wenders .foto-2,
    .lynch .foto-2,
    .almodovar .foto-2,
    .wong .foto-2 {
        left: 40%;
    }

    .wenders .foto-3,
    .lynch .foto-3,
    .almodovar .foto-3,
    .wong .foto-3 {
        left: 45%;
        top: 250px;
    }

    .wenders .foto-4,
    .lynch .foto-4,
    .almodovar .foto-4,
    .wong .foto-4 {
        left: 5%;
        top: 330px;
    }
}


/* =========================================================
   ROCHE BOBOIS
   SCRAPBOOK / COLLAGE
========================================================= */

.roche-inside {
    background: #dedbd0;
    color: #111;
}


/* =========================================================
   LIENZO
========================================================= */

.roche-scrapbook {
    position: relative;

    width: min(1260px, calc(100% - 50px));

    min-height: 1500px;

    margin: 0 auto;

    padding:
        80px
        0
        140px;

    overflow: hidden;
}


/* =========================================================
   TÍTULO
========================================================= */

.roche-title-paper {
    position: absolute;

    top: 85px;
    left: 6%;

    z-index: 30;

    width: 410px;

    padding:
        18px
        24px
        20px;

    background: #f6f1e7;

    transform:
        rotate(-2.5deg);

    box-shadow:
        4px
        5px
        0
        rgba(0, 0, 0, 0.12);
}


.roche-title-small {
    display: block;

    margin-bottom: 4px;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 0.12em;
}


.roche-title-paper h1 {
    margin: 0;

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: 62px;

    font-weight: 400;

    line-height: 0.85;

    letter-spacing: -0.055em;
}


/* =========================================================
   IMÁGENES
========================================================= */

.roche-cutout {
    position: absolute;

    z-index: 5;

    margin: 0;

    padding: 0;

    background: #fff;

    box-shadow:
        4px
        6px
        0
        rgba(0, 0, 0, 0.15);

    transition:
        transform 0.35s ease,
        z-index 0s;
}


.roche-cutout img {
    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;
}


/*
   Al pasar por una foto,
   se levanta ligeramente.
*/

.roche-cutout:hover {
    z-index: 50;
}


/* =========================================================
   FOTO 01
========================================================= */

.roche-cutout-1 {
    top: 55px;
    right: 5%;

    width: 43%;
    height: 410px;

    transform:
        rotate(3deg);
}


.roche-cutout-1:hover {
    transform:
        rotate(1deg)
        scale(1.025);
}


/* =========================================================
   FOTO 02
========================================================= */

.roche-cutout-2 {
    top: 350px;
    left: 2%;

    width: 36%;
    height: 390px;

    z-index: 12;

    transform:
        rotate(-5deg);
}


.roche-cutout-2:hover {
    transform:
        rotate(-2deg)
        scale(1.025);
}


/* =========================================================
   FOTO 03
========================================================= */

.roche-cutout-3 {
    top: 450px;
    left: 29%;

    width: 40%;
    height: 440px;

    z-index: 8;

    transform:
        rotate(2.5deg);
}


.roche-cutout-3:hover {
    transform:
        rotate(0.5deg)
        scale(1.025);
}


/* =========================================================
   FOTO 04
========================================================= */

.roche-cutout-4 {
    top: 650px;
    right: 0;

    width: 36%;
    height: 400px;

    z-index: 14;

    transform:
        rotate(-4deg);
}


.roche-cutout-4:hover {
    transform:
        rotate(-1deg)
        scale(1.025);
}


/* =========================================================
   FOTO 05
========================================================= */

.roche-cutout-5 {
    top: 925px;
    left: 5%;

    width: 43%;
    height: 430px;

    z-index: 7;

    transform:
        rotate(3.5deg);
}


.roche-cutout-5:hover {
    transform:
        rotate(1deg)
        scale(1.025);
}


/* =========================================================
   FOTO 06
========================================================= */

.roche-cutout-6 {
    top: 1040px;
    right: 5%;

    width: 43%;
    height: 390px;

    z-index: 10;

    transform:
        rotate(-2deg);
}


.roche-cutout-6:hover {
    transform:
        rotate(0deg)
        scale(1.025);
}


/* =========================================================
   TEXTOS RECORTADOS
========================================================= */

.roche-note {
    position: absolute;

    z-index: 25;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 13px;

    line-height: 1.38;

    box-shadow:
        3px
        4px
        0
        rgba(0, 0, 0, 0.13);
}


.roche-note p {
    margin: 0;
}


/* =========================================================
   TEXTO 01
========================================================= */

.roche-note-1 {
    top: 300px;
    left: 32%;

    width: 315px;

    padding:
        18px
        20px;

    background: #fff8dc;

    transform:
        rotate(1.5deg);
}


/* =========================================================
   TEXTO 02
========================================================= */

.roche-note-2 {
    top: 865px;
    right: 19%;

    width: 295px;

    padding:
        18px
        20px;

    background: #f7f3ea;

    transform:
        rotate(-2deg);
}


/* =========================================================
   CERRAR
========================================================= */

.roche-close {
    z-index: 100;

    color: #111;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 850px) {

    .roche-scrapbook {
        width:
            calc(100% - 28px);

        min-height: 2050px;

        padding-top: 80px;
    }


    .roche-title-paper {
        top: 80px;
        left: 3%;

        width: 78%;
    }


    .roche-title-paper h1 {
        font-size:
            clamp(44px, 12vw, 66px);
    }


    .roche-cutout-1 {
        top: 245px;
        right: 0;

        width: 72%;
        height: 330px;
    }


    .roche-note-1 {
        top: 505px;
        left: 2%;

        width: 65%;
    }


    .roche-cutout-2 {
        top: 680px;
        left: 1%;

        width: 65%;
        height: 320px;
    }


    .roche-cutout-3 {
        top: 835px;
        left: 33%;

        width: 64%;
        height: 350px;
    }


    .roche-cutout-4 {
        top: 1110px;
        right: 1%;

        width: 68%;
        height: 330px;
    }


    .roche-note-2 {
        top: 1365px;
        left: 4%;

        width: 67%;
    }


    .roche-cutout-5 {
        top: 1530px;
        left: 0;

        width: 67%;
        height: 330px;
    }


    .roche-cutout-6 {
        top: 1690px;
        right: 0;

        width: 68%;
        height: 330px;
    }

}


/* =========================================================
   VIDEO LYNCH × PATTI SMITH — MÁS GRANDE
========================================================= */

.lynch-interview-node {
    width: 155px !important;
    height: 125px !important;
}

.lynch-interview-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}


/* =========================================================
   VIDEO DE LAS SILLAS — MÁS GRANDE
========================================================= */

.chairs-video-node {
    width: 165px !important;
    height: 145px !important;
}

.chairs-video-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}


/* =========================================================
   PANTALLAS MEDIANAS
========================================================= */

@media (max-width: 1100px) {

    .lynch-interview-node {
        width: 125px !important;
        height: 100px !important;
    }

    .chairs-video-node {
        width: 135px !important;
        height: 120px !important;
    }

}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 700px) {

    .lynch-interview-node {
        width: 100px !important;
        height: 82px !important;
    }

    .chairs-video-node {
        width: 110px !important;
        height: 100px !important;
    }

}

/* =========================================================
   VIDEOS — ICONOS GRANDES + AUREOLA PROPORCIONAL
========================================================= */


/* Los enlaces externos sirven de referencia
   para colocar la aureola detrás */

.lynch-interview-node,
.chairs-video-node {
    position: absolute;
}


/* =========================================================
   AUREOLA DE LOS DOS VIDEOS
========================================================= */

.lynch-interview-node .external-pin,
.chairs-video-node .external-pin {

    position: absolute;

    /* centrada detrás del icono */
    left: 50% !important;
    top: 50% !important;

    /*
       La aureola crece proporcionalmente
       al tamaño del propio icono
    */
    width: 180% !important;
    height: 180% !important;

    transform:
        translate(-50%, -50%) !important;

    border-radius: 50%;

    border: none !important;
    box-shadow: none !important;

    background:
        radial-gradient(
            circle at center,

            rgba(255, 246, 177, 0.95) 0%,

            rgba(255, 246, 177, 0.70) 8%,

            rgba(203, 218, 239, 0.58) 26%,

            rgba(191, 211, 235, 0.38) 45%,

            rgba(221, 229, 238, 0.18) 62%,

            rgba(243, 239, 232, 0) 78%
        ) !important;

    filter: blur(9px);

    opacity: 0.9;

    z-index: -1;

    pointer-events: none;
}


/* =========================================================
   LOS ICONOS SIEMPRE POR ENCIMA DE LA AUREOLA
========================================================= */

.lynch-interview-image,
.chairs-video-image {
    position: relative;

    z-index: 2;
}


/* =========================================================
   ELIMINAR CUALQUIER TEXTO AL HOVER
========================================================= */

.external-node-label,
.chairs-video-label {
    display: none !important;
}


/*
   Por si el CSS limpio estuviera generando
   texto automáticamente mediante un pseudo-elemento
*/

.lynch-interview-node::after,
.chairs-video-node::after {
    content: none !important;
    display: none !important;
}

/* =========================================================
   NUDOS DE USUARIOS
========================================================= */

.user-node {
    position: absolute;

    width: 150px;
    min-height: 110px;

    z-index: 8;

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

    text-decoration: none;
    color: #111;

    transform:
        translate(-50%, -50%);

    --aura-scale: 1;
}


/* =========================================================
   AUREOLA
========================================================= */

.user-node-aura {
    position: absolute !important;

    left: 50% !important;
    top: 50% !important;

    width: calc(155px * var(--aura-scale)) !important;
    height: calc(155px * var(--aura-scale)) !important;

    margin: 0 !important;

    transform:
        translate(-50%, -50%) !important;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at center,

            rgba(255, 247, 181, .95) 0%,

            rgba(255, 245, 178, .68) 8%,

            rgba(197, 218, 239, .56) 28%,

            rgba(197, 218, 239, .34) 48%,

            rgba(197, 218, 239, .14) 66%,

            rgba(243, 239, 232, 0) 82%
        ) !important;

    filter: blur(8px);

    box-shadow: none !important;

    pointer-events: none;

    z-index: 0;
}


/* =========================================================
   CONTENIDO
========================================================= */

.user-node-content {
    position: relative;

    z-index: 2;

    width: 130px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}


.user-node-media {
    display: block;

    max-width: 100px;
    max-height: 90px;

    object-fit: contain;

    margin: 0 auto 7px;
}


.user-node-title {
    max-width: 125px;

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: 17px;
    line-height: .95;

    text-align: center;
}


.user-node-text {
    max-width: 120px;

    margin-top: 5px;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 8px;
    line-height: 1.25;

    text-align: center;
}


/* pequeño movimiento */

.user-node {
    transition:
        transform .25s ease;
}


.user-node:hover {
    transform:
        translate(-50%, -50%)
        scale(1.05);
}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 700px) {

    .user-node {
        width: 115px;
        min-height: 90px;
    }

    .user-node-aura {
        width:
            calc(125px * var(--aura-scale)) !important;

        height:
            calc(125px * var(--aura-scale)) !important;
    }

    .user-node-content {
        width: 100px;
    }

    .user-node-media {
        max-width: 75px;
        max-height: 70px;
    }

    .user-node-title {
        font-size: 14px;
    }

}
/* =========================================================
   CURSOR — NUDOS CREADOS POR USUARIOS
========================================================= */

@media (pointer: fine) {

    .user-node,
    .user-node *,
    .placement-preview,
    .placement-preview * {
        cursor: none !important;
    }

}

/* =========================================================
   CURSOR — CORRECCIÓN GLOBAL DE CARA
========================================================= */

@media (pointer: fine) {

    html,
    body,
    .network,
    .network *,
    .network-canvas,
    .network-canvas *,
    .node,
    .node *,
    .external-node,
    .external-node *,
    .user-node,
    .user-node *,
    .placement-preview,
    .placement-preview * {
        cursor: none !important;
    }

}

/* =========================================================
   FIRMA DEL USUARIO
========================================================= */

.user-node-author {
    display: block;

    margin-top: 8px;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 9px;
    line-height: 1;

    letter-spacing: 0.03em;

    opacity: 0.7;

    white-space: nowrap;
}

/* =========================================================
   DESORDEN — CONEXIONES SIN LÍNEAS
========================================================= */

/* desaparecen definitivamente los hilos */

.red-thread {
    display: none !important;
}


/* estado normal */

.node,
.external-node,
.user-node {
    transition:
        transform 0.28s cubic-bezier(.2,.8,.2,1),
        filter 0.28s ease,
        opacity 0.28s ease;
}


/* nudo conectado con el que estamos mirando */

.node.is-connected-highlight,
.external-node.is-connected-highlight,
.user-node.is-connected-highlight {
    z-index: 60 !important;

    transform:
        scale(1.13) !important;

    filter:
        brightness(1.12)
        drop-shadow(
            0 10px 16px
            rgba(0,0,0,.08)
        );
}


/* su aureola se vuelve más presente */

.is-connected-highlight .node-pin,
.is-connected-highlight .external-pin,
.is-connected-highlight .user-node-aura {
    transform:
        translate(-50%, -50%)
        scale(1.16) !important;

    filter:
        blur(7px)
        brightness(1.22) !important;

    opacity:
        1 !important;
}


/* el nudo sobre el que está el cursor
   también responde un poco */

.node.is-connection-origin,
.external-node.is-connection-origin,
.user-node.is-connection-origin {
    z-index: 70 !important;

    transform:
        scale(1.06) !important;
}

/* =========================================================
   CARA — COMPOSICIÓN COMPACTA DE LOS NUDOS ORIGINALES
   ========================================================= */

/* PERFECT DAYS */

.node-perfect-days {
    left: 9% !important;
    top: 90px !important;
}


/* DIRECTORES */

.node-directores,
.node-almodovar {
    left: 55% !important;
    top: 170px !important;
}


/* LYNCH × PATTI SMITH */

.lynch-interview-node {
    left: 30% !important;
    top: 350px !important;
}


/* SILLAS */

.chairs-video-node {
    left: 58% !important;
    top: 390px !important;
}


/* ROCHE BOBOIS */

.node-roche {
    left: 44% !important;
    top: 545px !important;
}


/* =========================================================
   PANTALLAS MEDIANAS
========================================================= */

@media (max-width: 1100px) {

    .node-perfect-days {
        left: 9% !important;
        top: 75px !important;
    }

    .node-directores,
    .node-almodovar {
        left: 55% !important;
        top: 170px !important;
    }

    .lynch-interview-node {
        left: 28% !important;
        top: 330px !important;
    }

    .chairs-video-node {
        left: 59% !important;
        top: 355px !important;
    }

    .node-roche {
        left: 45% !important;
        top: 510px !important;
    }

}

/* TEST CURSOR DIFERENCIA */

@media (pointer: fine) {

    .custom-cursor {
        mix-blend-mode: difference !important;
        isolation: auto !important;
        z-index: 999999 !important;
    }

    .custom-cursor img {
        filter: brightness(0) invert(1) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

}