/* ===================================================== */
/* RESET */
/* ===================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
}


body {
    background: #000000;
    color: #ffffff;

    font-family:
        "DM Sans",
        sans-serif;

    overflow-x: hidden;
}


/* ===================================================== */
/* BACK HOME */
/* ===================================================== */

.back-home {
    position: fixed;

    top: 30px;
    left: 30px;

    width: 44px;
    height: 44px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 4px;

    background: rgba(8, 8, 8, .7);

    border: 1px solid #242424;

    border-radius:
        4px
        15px
        15px
        15px;

    backdrop-filter: blur(12px);

    z-index: 100;

    text-decoration: none;

    transition:
        transform .3s ease,
        border-color .3s ease;
}


.back-home span {
    display: block;

    width: 16px;
    height: 1px;

    background: #bdbdbd;

    transition: width .3s ease;
}


.back-home span:nth-child(2) {
    width: 11px;
}


.back-home:hover {
    transform: scale(1.08);

    border-color: #555555;
}


.back-home:hover span:nth-child(2) {
    width: 16px;
}


/* ===================================================== */
/* BRAIN SCROLL SECTION */
/* ===================================================== */

.brain-scroll {
    position: relative;

    height: 300vh;

    background: #000000;
}


.brain-sticky {
    position: sticky;

    top: 0;

    width: 100%;
    height: 100vh;

    overflow: hidden;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at center,
            #101010 0%,
            #050505 38%,
            #000000 72%
        );
}


/* ===================================================== */
/* BRAIN */
/* ===================================================== */

.brain-image {
    position: absolute;

    left: 50%;
    top: 50%;

    width: min(48vw, 720px);

    height: auto;

    display: block;

    transform:
        translate(-50%, -50%)
        scale(.78);

    transform-origin: center;

    will-change:
        transform,
        opacity;

    filter:
        grayscale(100%)
        contrast(1.1)
        brightness(.85);

    opacity: .88;

    z-index: 2;

    pointer-events: none;
}


.brain-background-glow {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 55vw;
    height: 55vw;

    max-width: 900px;
    max-height: 900px;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.045),
            rgba(255,255,255,.01) 35%,
            transparent 70%
        );

    filter: blur(30px);

    z-index: 1;
}


/* ===================================================== */
/* INTRO */
/* ===================================================== */

.brain-intro {
    position: relative;

    z-index: 5;

    width: min(900px, 90%);

    text-align: center;

    pointer-events: none;

    will-change:
        opacity,
        transform;
}


.brain-kicker {
    margin-bottom: 30px;

    color: #696969;

    font-size: 9px;

    letter-spacing: 7px;
}


.brain-intro h1 {
    font-family:
        "Manrope",
        sans-serif;

    font-size:
        clamp(
            85px,
            15vw,
            230px
        );

    font-weight: 500;

    line-height: .82;

    letter-spacing: -10px;
}


.brain-subtitle {
    max-width: 570px;

    margin:
        45px
        auto
        0;

    color: #767676;

    font-size: 14px;

    line-height: 1.9;
}


/* ===================================================== */
/* WORDS */
/* ===================================================== */

.thought-word {
    position: absolute;

    z-index: 6;

    color: rgba(255,255,255,.75);

    font-size: 10px;

    letter-spacing: 5px;

    opacity: 0;

    will-change:
        opacity,
        transform;

    pointer-events: none;
}


.word-one {
    left: 9%;
    top: 30%;
}


.word-two {
    right: 9%;
    top: 40%;
}


.word-three {
    left: 15%;
    bottom: 25%;
}


.word-four {
    right: 14%;
    bottom: 20%;
}


/* ===================================================== */
/* SCROLL HINT */
/* ===================================================== */

.scroll-hint {
    position: absolute;

    left: 50%;
    bottom: 30px;

    transform: translateX(-50%);

    display: flex;
    flex-direction: column;

    align-items: center;

    gap: 12px;

    z-index: 8;

    color: #3f3f3f;

    font-size: 7px;

    letter-spacing: 4px;
}


.scroll-hint div {
    width: 1px;
    height: 40px;

    background:
        linear-gradient(
            to bottom,
            #494949,
            transparent
        );
}


/* ===================================================== */
/* THOUGHTS CONTENT */
/* ===================================================== */

.thoughts-content {
    position: relative;

    min-height: 100vh;

    background: #000000;

    border-top: 1px solid #111111;
}


.thoughts-container {
    width: min(1180px, calc(100% - 100px));

    margin: 0 auto;

    padding:
        140px
        0
        180px;
}


.section-number {
    margin-bottom: 35px;

    color: #4d4d4d;

    font-size: 9px;

    letter-spacing: 5px;
}


.thoughts-container h2 {
    max-width: 900px;

    font-family:
        "Manrope",
        sans-serif;

    font-size:
        clamp(
            65px,
            9vw,
            140px
        );

    font-weight: 500;

    line-height: .92;

    letter-spacing: -7px;
}


.thoughts-container h2 span {
    display: block;

    color: #646464;
}


.thoughts-introduction {
    margin-top: 100px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.3fr)
        minmax(280px, .7fr);

    gap: 9vw;

    align-items: start;
}


.large-copy {
    max-width: 720px;

    font-family:
        "Manrope",
        sans-serif;

    font-size:
        clamp(
            25px,
            3vw,
            44px
        );

    line-height: 1.35;

    letter-spacing: -1.5px;

    color: #d7d7d7;
}


.small-copy {
    max-width: 420px;

    color: #686868;

    font-size: 14px;

    line-height: 2;
}


.thought-divider {
    width: 100%;
    height: 1px;

    margin:
        120px
        0;

    background: #181818;
}


/* ===================================================== */
/* COMING SOON */
/* ===================================================== */

.coming-soon span {
    color: #444444;

    font-size: 8px;

    letter-spacing: 5px;
}


.coming-soon h3 {
    margin:
        25px
        0;

    font-family:
        "Manrope",
        sans-serif;

    font-size:
        clamp(
            38px,
            5vw,
            70px
        );

    font-weight: 500;

    letter-spacing: -3px;
}


.coming-soon p {
    max-width: 580px;

    color: #666666;

    font-size: 14px;

    line-height: 1.9;
}


/* ===================================================== */
/* MOBILE */
/* ===================================================== */

@media (max-width: 820px) {

    .back-home {
        top: 20px;
        left: 20px;
    }


    .brain-image {
        width: min(86vw, 540px);
    }


    .brain-intro h1 {
        font-size:
            clamp(
                65px,
                22vw,
                105px
            );

        letter-spacing: -5px;
    }


    .brain-kicker {
        font-size: 7px;

        letter-spacing: 4px;
    }


    .brain-subtitle {
        width: 85%;

        font-size: 12px;
    }


    .thought-word {
        font-size: 7px;

        letter-spacing: 3px;
    }


    .word-one {
        left: 5%;
    }


    .word-two {
        right: 4%;
    }


    .word-three {
        left: 6%;
    }


    .word-four {
        right: 5%;
    }


    .thoughts-container {
        width: calc(100% - 44px);

        padding:
            100px
            0
            120px;
    }


    .thoughts-container h2 {
        font-size:
            clamp(
                55px,
                17vw,
                90px
            );

        letter-spacing: -4px;
    }


    .thoughts-introduction {
        margin-top: 70px;

        grid-template-columns: 1fr;

        gap: 45px;
    }


    .thought-divider {
        margin:
            80px
            0;
    }

}