@font-face {
    font-family: "Ancient";
    src: url("font/Ancient Medium.ttf") format("truetype");
}


/* ==============================
   RESET
============================== */

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

html,
body {
    width: 100%;
    height: 100%;

    overflow: hidden;

    background: #000;
    color: #fff;

    font-family: "Inter", sans-serif;
}


/* ==============================
   VARIABLES
============================== */

:root {
    --white: #f5f5f5;
    --gray: #777;
    --dark-gray: #444;

    --line: rgba(255,255,255,0.13);

    --mouse-x: 0px;
    --mouse-y: 0px;
}


/* ==============================
   SPACE
============================== */

.space {
    position: fixed;
    inset: -100px;

    pointer-events: none;

    transition: transform .15s linear;
}

.space-1 {
    z-index: -10;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(255,255,255,0.035),
            transparent 50%
        ),
        #000;

    transform:
        translate(
            calc(var(--mouse-x) * -0.1),
            calc(var(--mouse-y) * -0.1)
        );
}

.space-2 {
    z-index: -9;

    opacity: .55;

    background-image:
        radial-gradient(
            circle,
            rgba(255,255,255,.7) .7px,
            transparent 1px
        );

    background-size: 130px 130px;

    transform:
        translate(
            calc(var(--mouse-x) * -.35),
            calc(var(--mouse-y) * -.35)
        );
}

.space-3 {
    z-index: -8;

    opacity: .45;

    background-image:
        radial-gradient(
            circle,
            rgba(255,255,255,.5) .45px,
            transparent .8px
        );

    background-size: 65px 72px;

    transform:
        translate(
            calc(var(--mouse-x) * -.7),
            calc(var(--mouse-y) * -.7)
        );
}


/* ==============================
   NOISE
============================== */

.noise {
    position: fixed;
    inset: 0;

    z-index: 1000;

    pointer-events: none;

    opacity: .025;

    background-image:
        radial-gradient(
            rgba(255,255,255,.7) .5px,
            transparent .5px
        );

    background-size: 4px 4px;
}


/* ==============================
   NAVBAR
============================== */

.navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    height: 72px;

    padding: 0 4vw;

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

    z-index: 500;

    border-bottom: 1px solid var(--line);

    background: rgba(0,0,0,.45);

    backdrop-filter: blur(15px);
}

.logo-text {
    font-family: "DM Mono", monospace;

    font-size: 15px;

    letter-spacing: -2px;
}

.logo-text span {
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.navbar nav {
    display: flex;

    gap: 25px;
}

.navbar nav button {
    border: none;

    background: none;

    color: #555;

    font-family: "DM Mono", monospace;

    font-size: 8px;

    letter-spacing: 1px;

    cursor: pointer;

    transition: .3s;
}

.navbar nav button:hover,
.navbar nav button.active {
    color: white;
}

.status {
    display: flex;

    align-items: center;

    gap: 7px;

    color: #555;

    font-family: "DM Mono", monospace;

    font-size: 8px;
}

.status i {
    width: 5px;
    height: 5px;

    display: block;

    border-radius: 50%;

    background: white;

    box-shadow: 0 0 10px white;
}


/* ==============================
   PAGE
============================== */

.page {
    position: fixed;

    inset: 0;

    width: 100vw;
    height: 100vh;

    padding: 100px 6vw 90px;

    display: flex;

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

    visibility: hidden;

    opacity: 0;

    transform:
        scale(1.06)
        translateY(25px);

    transition:
        opacity .55s ease,
        transform .75s cubic-bezier(.2,.8,.2,1),
        visibility .55s;

    pointer-events: none;
}

.page.active {
    visibility: visible;

    opacity: 1;

    transform:
        scale(1)
        translateY(0);

    pointer-events: auto;
}


/* ==============================
   PAGE NUMBER
============================== */

.page-number {
    position: absolute;

    top: 105px;
    left: 5vw;

    color: #444;

    font-family: "DM Mono", monospace;

    font-size: 8px;

    letter-spacing: 2px;
}


/* ==============================
   HOME
============================== */

.home-layout {
    width: 100%;

    display: grid;

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

    align-items: center;

    gap: 30px;
}


/* ==============================
   HOME CENTER
============================== */

.hero-center {
    text-align: center;

    z-index: 5;
}

.small-title {
    margin-bottom: 25px;

    color: #777;

    font-family: "DM Mono", monospace;

    font-size: 8px;

    letter-spacing: 3px;
}

.hero-center h1 {
    font-family: "Ancient", serif;

    font-weight: normal;

    font-size: clamp(65px, 8vw, 125px);

    line-height: .75;

    letter-spacing: 1px;

    text-transform: none;
}

.hero-center h1 span {
    display: block;
}

.title-line {
    width: 150px;

    height: 1px;

    margin: 35px auto;

    background: rgba(255,255,255,.3);
}

.motto {
    font-family: "Ancient", serif;

    font-size: 22px;

    letter-spacing: 1px;
}

.motto-small {
    margin-top: 10px;

    color: #555;

    font-family: "DM Mono", monospace;

    font-size: 7px;

    letter-spacing: 2px;
}


/* ==============================
   CHROME EMBLEM
============================== */

.hero-emblem {
    position: relative;

    display: flex;

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

.chrome-ring {
    width: 270px;
    height: 270px;

    padding: 22px;

    border-radius: 50%;

    background:
        linear-gradient(
            140deg,
            #fff 0%,
            #777 18%,
            #111 42%,
            #ddd 58%,
            #333 75%,
            #fff 100%
        );

    box-shadow:
        inset 0 0 20px rgba(255,255,255,.7),
        inset 0 0 55px rgba(0,0,0,.95),
        0 30px 70px rgba(0,0,0,.9),
        0 0 40px rgba(255,255,255,.08);

    transition: transform .15s linear;
}

.chrome-logo {
    width: 100%;
    height: 100%;

    border-radius: 50%;

    display: flex;

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

    background:
        radial-gradient(
            circle,
            #333,
            #050505 65%
        );

    box-shadow:
        inset 0 0 30px #000;
}

.chrome-logo img {
    width: 78%;
    height: 78%;

    object-fit: contain;

    filter:
        grayscale(1)
        brightness(1.7)
        contrast(1.4)
        drop-shadow(0 12px 8px #000);

    mix-blend-mode: screen;
}


/* ==============================
   ORBITS
============================== */

.orbit {
    position: absolute;

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 50%;

    pointer-events: none;
}

.orbit-a {
    width: 330px;
    height: 100px;

    transform: rotate(-25deg);
}

.orbit-b {
    width: 320px;
    height: 90px;

    transform: rotate(55deg);
}


/* ==============================
   PROFILE
============================== */

.profile {
    display: flex;

    flex-direction: column;

    align-items: center;
}

.photo-box {
    width: 235px;
    height: 330px;

    padding: 5px;

    border: 1px solid rgba(255,255,255,.3);

    transform: rotate(2deg);

    background: #050505;
}

.photo-box img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter:
        grayscale(1)
        contrast(1.1)
        brightness(.8);
}

.profile p {
    margin-top: 18px;

    color: #444;

    font-family: "DM Mono", monospace;

    font-size: 7px;

    letter-spacing: 3px;
}


/* ==============================
   CONTENT
============================== */

.content {
    width: min(800px, 90%);

    text-align: center;
}

.content.wide {
    width: min(1100px, 92%);
}

.content h2,
.future-copy h2 {
    font-family: "Ancient", serif;

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

    font-weight: normal;

    line-height: .85;

    text-transform: none;
}

.ornament {
    margin: 28px 0 42px;

    color: #777;

    font-size: 15px;
}


/* ==============================
   ABOUT
============================== */

.about {
    width: min(650px, 100%);

    margin: auto;
}

.about p {
    margin-bottom: 22px;

    color: #999;

    font-size: 17px;

    line-height: 1.7;
}

.about .quote {
    margin-top: 40px;

    color: #eee;

    font-family: "Ancient", serif;

    font-size: 21px;
}


/* ==============================
   INTERESTS
============================== */

.interest-grid {
    display: grid;

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

    border-top: 1px solid var(--line);

    border-bottom: 1px solid var(--line);
}

.interest-grid article {
    min-height: 270px;

    padding: 35px;

    text-align: center;
}

.interest-grid article + article {
    border-left: 1px solid var(--line);
}

.number {
    color: #444;

    font-family: "DM Mono", monospace;

    font-size: 8px;

    letter-spacing: 2px;
}

.icon {
    margin: 20px 0;

    color: #aaa;

    font-size: 28px;
}

.interest-grid h3 {
    font-family: "Ancient", serif;

    font-size: 32px;

    font-weight: normal;
}

.mini-line {
    width: 40px;

    height: 1px;

    margin: 17px auto;

    background: #555;
}

.interest-grid p {
    color: #666;

    font-family: "DM Mono", monospace;

    font-size: 8px;

    line-height: 1.8;
}


/* ==============================
   FUTURE
============================== */

.future-layout {
    width: min(1100px, 90%);

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 70px;
}

.future-copy {
    text-align: center;
}

.future-label {
    margin-top: 5px;

    color: #555;

    font-family: "DM Mono", monospace;

    font-size: 8px;

    letter-spacing: 3px;
}

.future-copy h3 {
    margin: 22px 0;

    font-family: "Ancient", serif;

    font-size: clamp(70px, 8vw, 125px);

    font-weight: normal;
}

.future-description {
    max-width: 500px;

    margin: auto;

    color: #888;

    font-size: 16px;

    line-height: 1.7;
}

.future-info {
    margin-top: 30px;

    display: flex;

    justify-content: center;

    gap: 30px;

    color: #555;

    font-family: "DM Mono", monospace;

    font-size: 7px;

    letter-spacing: 2px;
}


/* ==============================
   BIG CHROME
============================== */

.future-emblem {
    position: relative;

    display: flex;

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

.big-chrome {
    width: 330px;
    height: 330px;

    padding: 35px;

    border-radius: 50%;

    background:
        linear-gradient(
            140deg,
            #fff,
            #666,
            #111,
            #ddd,
            #222,
            #fff
        );

    box-shadow:
        inset 0 0 30px rgba(255,255,255,.7),
        inset 0 0 70px rgba(0,0,0,.95),
        0 30px 70px rgba(0,0,0,.9);

    transition: transform .15s linear;
}

.big-chrome img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    filter:
        grayscale(1)
        brightness(1.8)
        contrast(1.5)
        drop-shadow(0 15px 10px #000);

    mix-blend-mode: screen;
}

.big-orbit {
    position: absolute;

    width: 410px;
    height: 120px;

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 50%;

    transform: rotate(-25deg);
}


/* ==============================
   CONTACT
============================== */

.contact-content {
    text-align: center;
}

.contact-description {
    margin-bottom: 35px;

    color: #666;

    font-family: "DM Mono", monospace;

    font-size: 8px;

    letter-spacing: 3px;
}

.instagram {
    width: min(600px, 100%);

    margin: auto;

    padding: 22px 28px;

    display: flex;

    justify-content: space-between;

    border: 1px solid rgba(255,255,255,.25);

    color: white;

    text-decoration: none;

    font-family: "DM Mono", monospace;

    font-size: 8px;

    letter-spacing: 2px;

    transition: .3s;
}

.instagram:hover {
    background: rgba(255,255,255,.05);

    border-color: rgba(255,255,255,.6);
}

.instagram strong {
    color: #888;

    font-weight: normal;
}

.final-motto {
    margin-top: 75px;

    color: #666;

    font-family: "Ancient", serif;

    font-size: 21px;
}


/* ==============================
   BUTTONS
============================== */

.page-button {
    border: 1px solid rgba(255,255,255,.22);

    background: rgba(0,0,0,.25);

    color: #888;

    padding: 12px 20px;

    display: flex;

    align-items: center;

    gap: 14px;

    font-family: "DM Mono", monospace;

    font-size: 8px;

    letter-spacing: 2px;

    cursor: pointer;

    transition:
        .3s;
}

.page-button:hover {
    color: white;

    border-color: rgba(255,255,255,.6);

    background: rgba(255,255,255,.04);
}

.page-button b {
    font-size: 15px;

    font-weight: normal;

    transition: .3s;
}

.page-button:hover b {
    transform: translateX(5px);
}

.page-button.next {
    position: absolute;

    bottom: 38px;

    left: 50%;

    transform: translateX(-50%);
}

.button-row {
    position: absolute;

    bottom: 38px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    gap: 15px;
}


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

footer {
    position: absolute;

    left: 5vw;
    right: 5vw;

    bottom: 20px;

    display: flex;

    justify-content: space-between;

    color: #333;

    font-family: "DM Mono", monospace;

    font-size: 7px;

    letter-spacing: 2px;
}


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

@media (max-width: 850px) {

    .navbar {
        height: 60px;
    }

    .navbar nav {
        display: none;
    }

    .status {
        display: none;
    }

    .page {
        padding:
            90px 25px
            80px;
    }

    .home-layout {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .hero-emblem {
        order: 1;
    }

    .hero-center {
        order: 2;
    }

    .profile {
        order: 3;
    }

    .chrome-ring {
        width: 150px;
        height: 150px;

        padding: 13px;
    }

    .orbit-a {
        width: 190px;
    }

    .orbit-b {
        width: 180px;
    }

    .photo-box {
        width: 130px;
        height: 175px;
    }

    .hero-center h1 {
        font-size: 55px;
    }

    .content h2,
    .future-copy h2 {
        font-size: 58px;
    }

    .interest-grid {
        grid-template-columns: 1fr;
    }

    .interest-grid article {
        min-height: auto;
    }

    .interest-grid article + article {
        border-left: none;

        border-top: 1px solid var(--line);
    }

    .future-layout {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .future-copy h3 {
        font-size: 65px;
    }

    .future-description {
        font-size: 13px;
    }

    .big-chrome {
        width: 170px;
        height: 170px;

        padding: 20px;
    }

    .big-orbit {
        width: 220px;
    }

    .instagram {
        flex-direction: column;

        gap: 12px;

        align-items: center;
    }
}
