.gn-mind {
    --gn-mind-wrap: 1160px;
    --gn-mind-text: #20242b;
    --gn-mind-muted: #6b7078;
    --gn-mind-bg: #f8f8f7;

    color: var(--gn-mind-text);
    background: var(--gn-mind-bg);

    padding: 72px 24px 110px;
}


/* ==========================================================
   INTRO
   ========================================================== */

.gn-mind__intro {
    width: min(100%, var(--gn-mind-wrap));
    margin-inline: auto;
}

.gn-mind__eyebrow {
    margin: 0 0 18px;

    font-size: 11px;
    line-height: 1.2;
    letter-spacing: .22em;
    text-transform: uppercase;

    color: var(--gn-mind-muted);
}

.gn-mind__title {
    max-width: none;

    margin: 0 0 28px;

    font-size: clamp(3rem, 4.25vw, 4.5rem);
    line-height: 1;
    letter-spacing: -.035em;

    white-space: nowrap;
}

.gn-mind__lead {
    max-width: 650px;
}

.gn-mind__lead p {
    margin: 0 0 16px;

    font-size: 1rem;
    line-height: 1.8;
}

.gn-mind__lead-main {
    font-size: clamp(1.2rem, 1.7vw, 1.55rem) !important;
    line-height: 1.45 !important;
}


/* ==========================================================
   NOTEBOOK COMPOSITION
   ========================================================== */

.gn-mind__notebook {
    position: relative;

    width: min(100%, 1040px);
    min-height: 1050px;

    margin: 104px auto 0;
}

.gn-mind__piece {
    position: absolute;

    margin: 0;

    background: #fff;

    padding: 5px;

    box-shadow:
        0 1px 0 rgba(32, 36, 43, .055),
        0 8px 22px rgba(32, 36, 43, .035);
}

.gn-mind__image {
    display: block;

    width: 100%;
    height: auto;
}


/*
   The three drawings deliberately do not form
   a mathematical grid. They read as pages placed
   on a desk, but remain compositionally connected.
*/

.gn-mind__piece--shark {
    width: 39%;

    left: 4%;
    top: 0;

    transform: rotate(-1.1deg);
}

.gn-mind__piece--still-life {
    width: 41%;

    right: 3%;
    top: 128px;

    transform: rotate(.7deg);
}

.gn-mind__piece--flowers {
    width: 34%;

    left: 34%;
    top: 610px;

    transform: rotate(-.45deg);
}


/* tiny notebook note */

.gn-mind__sketch-note {
    position: absolute;

    left: 69%;
    top: 760px;

    width: 210px;

    font-family:
        "Segoe Print",
        "Bradley Hand",
        "Comic Sans MS",
        cursive;

    font-size: .98rem;
    line-height: 1.4;

    color: #40444a;

    transform: rotate(-2deg);
}

.gn-mind__sketch-line {
    display: block;

    width: 145px;
    height: 1px;

    margin-top: 8px;

    background: currentColor;

    opacity: .45;

    transform: rotate(-1deg);
}


/* ==========================================================
   END NOTE
   ========================================================== */

.gn-mind__ending {
    width: min(100%, 760px);

    margin: 28px auto 0;

    text-align: center;
}

.gn-mind__ending p {
    margin: 0;

    font-family:
        "Segoe Print",
        "Bradley Hand",
        "Comic Sans MS",
        cursive;

    font-size: clamp(1.35rem, 2vw, 1.8rem);
    line-height: 1.3;
}

.gn-mind__ending span {
    display: block;

    margin-top: 12px;

    font-size: 1.25rem;

    transform: translateX(18px) rotate(5deg);
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {

    .gn-mind__title {
        white-space: normal;
        max-width: 760px;
    }

    .gn-mind__notebook {
        min-height: 920px;

        margin-top: 80px;
    }

    .gn-mind__piece--shark {
        width: 42%;
        left: 2%;
    }

    .gn-mind__piece--still-life {
        width: 44%;
        right: 2%;
        top: 105px;
    }

    .gn-mind__piece--flowers {
        width: 38%;
        left: 30%;
        top: 545px;
    }

    .gn-mind__sketch-note {
        left: 68%;
        top: 680px;
    }
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 680px) {

    .gn-mind {
        padding:
            42px
            16px
            80px;
    }

    .gn-mind__title {
        font-size: 2.75rem;
    }

    .gn-mind__notebook {
        display: flex;
        flex-direction: column;
        gap: 24px;

        min-height: 0;

        margin-top: 64px;
    }

    .gn-mind__piece {
        position: relative;

        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        margin-inline: auto;
    }

    .gn-mind__piece--shark {
        width: 88%;

        transform: rotate(-.7deg);
    }

    .gn-mind__piece--still-life {
        width: 90%;

        transform: rotate(.45deg);
    }

    .gn-mind__piece--flowers {
        width: 80%;

        transform: rotate(-.35deg);
    }

    .gn-mind__sketch-note {
        position: relative;

        top: auto;
        left: auto;

        width: auto;

        margin: 2px 8% 0 auto;

        text-align: right;
    }

    .gn-mind__sketch-line {
        margin-left: auto;
    }

    .gn-mind__ending {
        margin-top: 58px;
    }
}
