:root {
    --ink: #08090b;
    --cream: #edede8;
    --line: rgba(237, 237, 232, 0.18);
    --lime: #c7ff38;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--ink);
    color: var(--cream);
    font-family: Manrope, Arial, sans-serif;
    overflow-x: hidden;
}

.grain {
    position: fixed;
    z-index: 20;
    inset: 0;
    pointer-events: none;
    opacity: 0.12;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.cursor-glow {
    position: fixed;
    z-index: -1;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(143, 114, 255, 0.13),
        transparent 66%
    );
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.site-header {
    height: 94px;
    padding: 0 clamp(24px, 5vw, 78px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    z-index: 5;
    top: 0;
    width: 100%;
    border-bottom: 1px solid var(--line);
}

.monogram {
    color: var(--cream);
    font-size: 27px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -2px;
}

.monogram span {
    color: var(--lime);
}

nav {
    display: flex;
    gap: 30px;
}

nav a,
.menu-link {
    color: #aaa;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: 0.25s;
}

nav a:hover,
nav .active,
.menu-link:hover {
    color: var(--cream);
}

.menu-link i {
    font-style: normal;
    font-size: 18px;
    margin-left: 8px;
}

.hero {
    min-height: 100svh;
    padding: 150px clamp(24px, 10vw, 160px) 70px;
    position: relative;
    overflow: hidden;
    display: grid;
    align-items: center;
}

.hero-copy {
    position: relative;
    z-index: 3;
    max-width: 610px;
}

.eyebrow {
    font-family: "DM Mono", monospace;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #b8b8b3;
}

.eyebrow span {
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--lime);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(65px, 9vw, 150px);
    line-height: 0.83;
    letter-spacing: -0.09em;
    margin: 31px 0 31px;
    font-weight: 800;
}

h1 em,
h2 em {
    font-family: Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.09em;
}

.intro {
    max-width: 330px;
    font-size: 14px;
    line-height: 1.7;
    color: #a3a39f;
}

.circle-cta {
    margin-top: 34px;
    width: 115px;
    height: 115px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    text-decoration: none;
    font-size: 11px;
    line-height: 1.35;
    position: relative;
    transition: 0.4s;
}

.circle-cta b {
    position: absolute;
    right: 18px;
    bottom: 14px;
    font-size: 19px;
    font-weight: 400;
}

.circle-cta:hover {
    background: var(--lime);
    color: #111;
    border-color: var(--lime);
    transform: rotate(-12deg);
}

.portrait-stage {
    position: absolute;
    right: 5vw;
    bottom: 0;
    width: min(47vw, 680px);
    height: min(87vh, 850px);
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out;
}

.portrait-placeholder {
    position: absolute;
    inset: 70px 0 0;
    background: radial-gradient(
        ellipse at 52% 30%,
        #5a5b61 0%,
        #25262a 27%,
        #090a0c 66%
    );
    overflow: hidden;
    clip-path: polygon(
        17% 100%,
        24% 60%,
        35% 41%,
        40% 18%,
        48% 7%,
        58% 7%,
        67% 17%,
        72% 41%,
        83% 60%,
        95% 100%
    );
}

.head {
    position: absolute;
    width: 34%;
    height: 39%;
    background: linear-gradient(
        105deg,
        #101114 10%,
        #c0c1bd 60%,
        #6e6f70
    );
    border-radius: 47% 47% 42% 44%;
    left: 35%;
    top: 8%;
    filter: drop-shadow(-15px 3px 5px #000);
}

.neck {
    position: absolute;
    width: 16%;
    height: 22%;
    background: linear-gradient(90deg, #151619, #9c9d9a);
    left: 44%;
    top: 41%;
}

.torso {
    position: absolute;
    width: 105%;
    height: 48%;
    background: linear-gradient(
        90deg,
        #050607,
        #33343a 51%,
        #0b0c0f
    );
    left: -2%;
    top: 54%;
    border-radius: 50% 50% 0 0;
}

.portrait-placeholder span {
    font-family: "DM Mono";
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 2px;
    position: absolute;
    right: 14%;
    top: 32%;
    color: #d3ff4f;
    mix-blend-mode: screen;
}

.portrait-frame {
    position: absolute;
    inset: 48px 10% 30px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    transform: translateZ(45px);
    pointer-events: none;
}

.portrait-shadow {
    position: absolute;
    inset: 100px -20px 0;
    background: radial-gradient(
        ellipse at center,
        #c7ff38 0,
        rgba(199, 255, 56, 0.1) 29%,
        transparent 67%
    );
    filter: blur(22px);
    opacity: 0.23;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(199, 255, 56, 0.42);
    border-radius: 50%;
    transform: rotateX(72deg) rotateZ(-13deg);
    z-index: 2;
}

.orbit-one {
    width: 82%;
    height: 32%;
    left: 8%;
    top: 42%;
}

.orbit-two {
    width: 55%;
    height: 22%;
    right: -1%;
    top: 29%;
    border-color: rgba(255, 255, 255, 0.25);
}

.float-card {
    position: absolute;
    z-index: 3;
    padding: 14px 16px;
    backdrop-filter: blur(12px);
    background: rgba(11, 12, 14, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateZ(70px);
    min-width: 145px;
}

.float-card small {
    font-family: "DM Mono";
    font-size: 8px;
    color: #aaa;
    display: block;
    margin-bottom: 7px;
}

.float-card strong {
    font-size: 12px;
    line-height: 1.2;
}

.float-card i {
    color: var(--lime);
    font-size: 9px;
    font-style: normal;
}

.card-top {
    right: -3%;
    top: 23%;
}

.card-bottom {
    left: 0;
    bottom: 13%;
}

.vertical-label {
    position: absolute;
    right: -3%;
    bottom: 31px;
    font: 9px "DM Mono";
    letter-spacing: 2px;
    writing-mode: vertical-rl;
    color: #9d9d99;
}

.hero-index {
    position: absolute;
    right: 5vw;
    bottom: 26px;
    display: flex;
    gap: 10px;
    font: 10px "DM Mono";
    color: #999;
}

.statement {
    padding: 160px clamp(24px, 10vw, 160px);
    min-height: 75vh;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.statement h2,
.contact h2 {
    font-size: clamp(45px, 6vw, 100px);
    line-height: 0.94;
    letter-spacing: -0.075em;
    margin: 0;
}

.statement > p:last-child {
    align-self: end;
    max-width: 300px;
    color: #aaa;
    font-size: 14px;
    line-height: 1.7;
}

.work {
    padding: 100px clamp(24px, 10vw, 160px);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    padding-bottom: 17px;
    font: 10px "DM Mono";
    color: #aaa;
}

.project {
    height: 640px;
    margin-top: 50px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out;
}

.project-cobalt {
    background: linear-gradient(
        125deg,
        #0d1046,
        #5527a2 58%,
        #e2cdfb
    );
}

.project-coral {
    background: linear-gradient(
        135deg,
        #f7b7a8,
        #e35355 55%,
        #4a0f34
    );
}

.project-number {
    position: absolute;
    top: 25px;
    right: 30px;
    font: 11px "DM Mono";
    z-index: 2;
}

.project-info {
    position: absolute;
    z-index: 3;
    left: clamp(24px, 5vw, 80px);
    bottom: 50px;
    transform: translateZ(55px);
}

.project-info p {
    font: 10px "DM Mono";
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project h3 {
    font-size: clamp(55px, 7vw, 108px);
    line-height: 0.8;
    letter-spacing: -0.09em;
    margin: 15px 0 28px;
}

.project-info a {
    font-size: 12px;
    color: var(--cream);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 6px;
}

.project-info b,
.contact b {
    font-size: 17px;
    margin-left: 16px;
}

.project-orb {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    right: 12%;
    top: 10%;
    background: radial-gradient(
        circle at 31% 28%,
        #fff 0 2%,
        #a5ff62 8%,
        #4455ff 28%,
        #12134f 70%
    );
    box-shadow: -40px 30px 70px #080b3d;
    transform: translateZ(20px);
    animation: float 8s ease-in-out infinite;
}

.project-orb:after {
    content: "";
    position: absolute;
    inset: -30px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    transform: rotateX(69deg);
}

.project-object {
    position: absolute;
    width: 400px;
    height: 400px;
    right: 16%;
    top: 17%;
    transform: rotate(-18deg) translateZ(20px);
}

.project-object i {
    position: absolute;
    width: 280px;
    height: 80px;
    border-radius: 100%;
    background: linear-gradient(#fbe4d7, #9d183a);
    box-shadow:
        0 35px 0 rgba(55, 0, 20, 0.37),
        inset 0 10px 12px rgba(255, 255, 255, 0.55);
    transform: rotate(35deg);
}

.project-object i:nth-child(1) {
    top: 22px;
    left: 24px;
}

.project-object i:nth-child(2) {
    top: 134px;
    left: 58px;
    transform: rotate(35deg) scale(0.93);
}

.project-object i:nth-child(3) {
    top: 242px;
    left: 94px;
    transform: rotate(35deg) scale(0.86);
}

.contact {
    min-height: 80vh;
    padding: 150px clamp(24px, 10vw, 160px);
    background: var(--lime);
    color: #111;
    position: relative;
}

.contact .eyebrow {
    color: #30351c;
}

.contact .eyebrow span {
    background: #111;
}

.contact h2 {
    margin: 36px 0 50px;
}

.contact > a {
    font-size: clamp(18px, 2vw, 28px);
    color: #111;
    text-decoration: none;
    border-bottom: 2px solid #111;
    padding-bottom: 8px;
}

footer {
    padding: 25px clamp(24px, 5vw, 78px);
    display: flex;
    justify-content: space-between;
    background: #111;
    color: #777;
    font: 9px "DM Mono";
    letter-spacing: 1px;
}

@keyframes float {
    50% {
        transform: translateY(-25px) rotate(9deg);
    }
}

.reveal {
    animation: rise 0.9s ease both;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 760px) {
    .site-header {
        height: 70px;
    }

    nav {
        display: none;
    }

    .menu-link {
        font-size: 11px;
    }

    .hero {
        padding: 125px 24px 40px;
        min-height: 820px;
        align-items: start;
    }

    .portrait-stage {
        width: 100%;
        height: 520px;
        right: -5%;
        bottom: 0;
        opacity: 0.72;
    }

    .hero-copy {
        max-width: 380px;
    }

    .intro {
        max-width: 250px;
    }

    .hero-index {
        display: none;
    }

    .portrait-frame {
        inset: 40px 10% 20px;
    }

    .card-top {
        right: 10%;
    }

    .card-bottom {
        left: 2%;
    }

    .statement {
        padding: 100px 24px;
        display: block;
    }

    .statement h2 {
        margin: 28px 0 45px;
    }

    .work {
        padding: 70px 24px;
    }

    .project {
        height: 500px;
    }

    .project-orb {
        width: 340px;
        height: 340px;
        right: -15%;
        top: 18%;
    }

    .project-object {
        right: -17%;
        transform: scale(0.72) rotate(-18deg);
    }

    .contact {
        padding: 110px 24px;
        min-height: 60vh;
    }

    footer {
        font-size: 8px;
        gap: 10px;
    }

    .vertical-label {
        display: none;
    }
}