@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --brown: #70451f;
    --dark-brown: #40230f;
    --cream: #f3f0e1;
    --orange: #ff4b16;
    --yellow: #f4d24b;
    --blue: #3765bb;
    --light-blue: #d8ebf8;
    --lavender: #aaaff1;
    --pink: #ed8cdd;
    --green: #d8d4a9;
    --font-display: "Space Grotesk", sans-serif;
    --font-body: "DM Sans", sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--dark-brown);
    font-family: var(--font-body);
    overflow-x: hidden;
}

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

button {
    font: inherit;
}

.header {
    align-items: center;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    left: 0;
    padding: 28px 42px;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 20;
}

.brand {
    align-items: flex-start;
    display: inline-flex;
    flex-direction: column;
    justify-self: start;
    line-height: 0.72;
    position: relative;
    z-index: 3;
}

.brand-main {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.1em;
}

.brand-small {
    align-self: flex-end;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    margin-top: 8px;
    text-transform: uppercase;
}

.navigation {
    align-items: center;
    display: flex;
    gap: 34px;
}

.navigation a {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    position: relative;
    text-transform: uppercase;
}

.navigation a::after {
    background: currentColor;
    bottom: -7px;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s ease;
    width: 100%;
}

.navigation a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.contact-button {
    align-items: center;
    background: var(--dark-brown);
    border-radius: 100px;
    color: var(--cream);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 600;
    gap: 18px;
    justify-self: end;
    padding: 13px 17px 13px 23px;
    text-transform: uppercase;
    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.contact-button:hover {
    background: var(--orange);
    transform: translateY(-3px);
}

.contact-arrow {
    align-items: center;
    background: var(--cream);
    border-radius: 50%;
    color: var(--dark-brown);
    display: flex;
    height: 28px;
    justify-content: center;
    width: 28px;
}

.menu-button {
    background: transparent;
    border: 0;
    display: none;
}

.hero {
    align-items: center;
    background:
        radial-gradient(circle at 20% 30%, rgba(237, 140, 221, 0.18), transparent 22%),
        radial-gradient(circle at 85% 22%, rgba(244, 210, 75, 0.22), transparent 24%),
        var(--cream);
    display: flex;
    min-height: 100vh;
    overflow: hidden;
    padding: 140px 6vw 70px;
    position: relative;
}

.noise {
    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='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.17'/%3E%3C/svg%3E");
    inset: 0;
    opacity: 0.14;
    pointer-events: none;
    position: absolute;
    z-index: 2;
}

.hero-content {
    margin: auto;
    max-width: 1500px;
    position: relative;
    width: 100%;
    z-index: 5;
}

.hero-label {
    align-items: center;
    display: flex;
    font-size: 0.68rem;
    font-weight: 600;
    gap: 12px;
    left: 6vw;
    letter-spacing: 0.16em;
    position: absolute;
    text-transform: uppercase;
    top: 160px;
    z-index: 6;
}

.hero-label span {
    background: var(--orange);
    border-radius: 50%;
    display: block;
    height: 7px;
    width: 7px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(4.2rem, 10.5vw, 11rem);
    font-weight: 600;
    letter-spacing: -0.085em;
    line-height: 0.77;
    text-transform: uppercase;
}

.title-line {
    display: block;
    position: relative;
    width: fit-content;
}

.title-line:first-child {
    margin-left: 8vw;
}

.title-line:last-child {
    margin-left: 0;
    white-space: nowrap;
}

.title-special {
    align-items: center;
    display: flex;
    margin-left: 24vw;
    position: relative;
    z-index: 2;
}

.title-special em {
    color: var(--orange);
    font-family: Georgia, serif;
    font-size: 0.83em;
    font-weight: 400;
    letter-spacing: -0.06em;
    text-transform: none;
}

.title-circle {
    background: var(--blue);
    border-radius: 50%;
    display: inline-block;
    height: 0.72em;
    margin-left: 0.12em;
    position: relative;
    width: 0.72em;
}

.title-circle::before {
    border: 2px solid var(--cream);
    border-radius: 50%;
    content: "";
    inset: 22%;
    position: absolute;
}

.hero-bottom {
    align-items: flex-end;
    display: flex;
    justify-content: space-between;
    margin: 50px 4vw 0 8vw;
}

.hero-description {
    font-size: clamp(1rem, 1.35vw, 1.35rem);
    line-height: 1.45;
    max-width: 470px;
}

.project-link {
    align-items: center;
    display: flex;
    font-size: 0.76rem;
    font-weight: 600;
    gap: 20px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.project-link-circle {
    align-items: center;
    border: 1px solid var(--dark-brown);
    border-radius: 50%;
    display: flex;
    font-size: 1.2rem;
    height: 58px;
    justify-content: center;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
    width: 58px;
}

.project-link:hover .project-link-circle {
    background: var(--dark-brown);
    color: var(--cream);
    transform: rotate(-45deg);
}

.hero-decoration {
    border-radius: 50%;
    pointer-events: none;
    position: absolute;
}

.hero-decoration-one {
    background: var(--yellow);
    height: 170px;
    right: 7%;
    top: 20%;
    width: 170px;
}

.hero-decoration-two {
    background: var(--pink);
    bottom: 8%;
    height: 110px;
    left: -30px;
    width: 110px;
}

.hero-decoration-three {
    background: var(--green);
    height: 72px;
    right: 34%;
    top: 12%;
    width: 72px;
}

.orbit {
    border: 1px solid rgba(64, 35, 15, 0.35);
    border-radius: 50%;
    pointer-events: none;
    position: absolute;
}

.orbit span {
    background: var(--orange);
    border-radius: 50%;
    height: 12px;
    left: 50%;
    position: absolute;
    top: -6px;
    width: 12px;
}

.orbit-one {
    animation: rotate 14s linear infinite;
    height: 260px;
    right: -60px;
    top: 32%;
    width: 260px;
}

.orbit-two {
    animation: rotateReverse 18s linear infinite;
    bottom: -140px;
    height: 360px;
    left: 28%;
    width: 360px;
}

.orbit-two span {
    background: var(--blue);
}

.floating-message {
    animation: floatMessage 14s linear infinite;
    bottom: 20px;
    display: flex;
    gap: 60px;
    left: 0;
    opacity: 0.46;
    position: absolute;
    white-space: nowrap;
}

.floating-message span {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-indicator {
    align-items: center;
    display: flex;
    font-size: 0.61rem;
    gap: 13px;
    letter-spacing: 0.12em;
    position: absolute;
    right: 38px;
    top: 50%;
    transform: rotate(90deg) translateX(50%);
    transform-origin: right center;
    text-transform: uppercase;
    z-index: 6;
}

.scroll-line {
    background: var(--dark-brown);
    height: 1px;
    overflow: hidden;
    position: relative;
    width: 70px;
}

.scroll-line::after {
    animation: scrollLine 1.8s ease infinite;
    background: var(--orange);
    content: "";
    height: 2px;
    left: -100%;
    position: absolute;
    top: 0;
    width: 100%;
}

.placeholder-section {
    background: var(--dark-brown);
    color: var(--cream);
    min-height: 80vh;
    padding: 100px 8vw;
}

.placeholder-section span {
    color: var(--orange);
    font-size: 0.8rem;
}

.placeholder-section h2 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 8rem);
    letter-spacing: -0.06em;
    line-height: 0.95;
    margin-top: 80px;
    max-width: 1200px;
}

.reveal {
    opacity: 0;
    transform: translateY(55px);
}

body.loaded .reveal {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 1s cubic-bezier(.2,.8,.2,1),
        transform 1s cubic-bezier(.2,.8,.2,1);
}

body.loaded .title-line:nth-child(1) {
    transition-delay: 0.15s;
}

body.loaded .title-line:nth-child(2) {
    transition-delay: 0.3s;
}

body.loaded .title-line:nth-child(3) {
    transition-delay: 0.45s;
}

body.loaded .hero-bottom .reveal {
    transition-delay: 0.65s;
}

.cursor,
.cursor-dot {
    border-radius: 50%;
    left: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    z-index: 999;
}

.cursor {
    border: 1px solid var(--dark-brown);
    height: 38px;
    transition:
        height 0.2s ease,
        width 0.2s ease,
        background 0.2s ease;
    width: 38px;
}

.cursor-dot {
    background: var(--orange);
    height: 6px;
    width: 6px;
}

.cursor.active {
    background: rgba(255, 75, 22, 0.15);
    height: 58px;
    width: 58px;
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateReverse {
    to {
        transform: rotate(-360deg);
    }
}

@keyframes floatMessage {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-33%);
    }
}

@keyframes scrollLine {
    from {
        left: -100%;
    }

    to {
        left: 100%;
    }
}

@media (max-width: 900px) {
    .header {
        display: flex;
        justify-content: space-between;
        padding: 23px 24px;
    }

    .navigation,
    .contact-button {
        display: none;
    }

    .menu-button {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .menu-button span {
        background: var(--dark-brown);
        height: 2px;
        width: 27px;
    }

    .hero {
        min-height: 100svh;
        padding: 130px 23px 70px;
    }

    .hero-label {
        left: 24px;
        top: 110px;
    }

    .hero-title {
        font-size: clamp(3.6rem, 17vw, 7rem);
        line-height: 0.83;
    }

    .title-line:first-child {
        margin-left: 0;
    }

    .title-special {
        margin-left: 12vw;
    }

    .title-line:last-child {
        white-space: normal;
    }

    .hero-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 38px;
        margin: 42px 0 0;
    }

    .hero-description {
        max-width: 90%;
    }

    .hero-decoration-one {
        height: 100px;
        right: -25px;
        top: 24%;
        width: 100px;
    }

    .hero-decoration-three {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }

    .orbit-one {
        height: 180px;
        right: -90px;
        width: 180px;
    }

    .orbit-two {
        bottom: -120px;
        height: 240px;
        left: 10%;
        width: 240px;
    }

    .cursor,
    .cursor-dot {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
