@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg: #f1efe8;
    --text: #111111;
    --accent: #ff4d00;
    --border: rgba(17, 17, 17, 0.25);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", sans-serif;
    cursor: none;
    overflow-x: hidden;
}

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

button {
    font: inherit;
}

/* CURSOR */

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;

    width: 54px;
    height: 54px;

    border-radius: 50%;

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

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

    font-size: 11px;
    font-weight: 700;

    pointer-events: none;

    transform: translate(-50%, -50%);

    z-index: 9999;

    transition:
        width .25s ease,
        height .25s ease,
        background .25s ease;
}

.custom-cursor.active {
    width: 78px;
    height: 78px;
    background: var(--accent);
}

/* HEADER */

.site-header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    padding: 24px 32px;

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

    z-index: 1000;

    mix-blend-mode: difference;
    color: white;
}

.logo {
    font-size: 14px;
    font-weight: 800;
}

.menu-toggle {
    border: 0;
    background: transparent;
    color: inherit;

    cursor: pointer;

    font-size: 13px;
    font-weight: 700;
}

/* FULLSCREEN MENU */

.menu-overlay {
    position: fixed;
    inset: 0;

    background: #111;
    color: #f5f5f5;

    z-index: 5000;

    transform: translateY(-100%);
    transition: transform .6s cubic-bezier(.76, 0, .24, 1);
}

.menu-overlay.open {
    transform: translateY(0);
}

.menu-overlay-inner {
    height: 100%;

    display: flex;
    flex-direction: column;

    padding: 30px;
}

.menu-top,
.menu-footer {
    display: flex;
    justify-content: space-between;
}

.menu-top button {
    border: 0;
    background: transparent;
    color: white;

    cursor: pointer;
}

.fullscreen-nav {
    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fullscreen-nav a {
    display: flex;
    align-items: center;
    gap: 25px;

    font-size: clamp(45px, 7vw, 110px);
    font-weight: 800;

    border-bottom: 1px solid #333;

    padding: 10px 0;

    transition: padding-left .3s ease;
}

.fullscreen-nav a:hover {
    padding-left: 30px;
    color: var(--accent);
}

.fullscreen-nav span {
    font-size: 13px;
}

.social-links {
    display: flex;
    gap: 20px;
}

/* HERO */

.hero {
    min-height: 100vh;

    padding:
        110px
        32px
        35px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-small {
    display: flex;
    justify-content: space-between;

    font-size: 11px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(70px, 14vw, 220px);

    line-height: .76;

    letter-spacing: -0.08em;

    font-weight: 900;

    text-transform: uppercase;
}

.hero-title span {
    display: block;
}

.hero-title span:nth-child(2) {
    margin-left: 9%;
}

.hero-title span:nth-child(3) {
    color: var(--accent);
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.hero-bottom p {
    max-width: 430px;

    font-size: 22px;
    line-height: 1.3;
}

.scroll-link {
    font-size: 12px;
    font-weight: 700;
}

/* GENERAL */

.section {
    padding: 120px 32px;
}

.section-label {
    display: flex;
    gap: 40px;

    padding-bottom: 25px;

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

    font-size: 11px;
}

/* SERVICES */

.services-list {
    margin-top: 40px;
}

.service-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;

    align-items: center;

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

    padding: 30px 0;

    transition:
        background .3s ease,
        padding .3s ease;
}

.service-item:hover {
    padding-left: 20px;
    padding-right: 20px;

    background: var(--text);
    color: var(--bg);
}

.service-number {
    font-size: 12px;
}

.service-item h2 {
    font-size: clamp(45px, 7vw, 110px);

    letter-spacing: -0.06em;
}

.service-arrow {
    font-size: 35px;
}

/* MANIFESTO */

.manifesto {
    min-height: 100vh;

    background: #111;
    color: white;

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

    padding: 60px 32px;
}

.manifesto-number {
    font-size: 45vw;

    line-height: .75;

    letter-spacing: -0.1em;

    color: var(--accent);

    font-weight: 900;
}

.manifesto-text {
    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 35px;
}

.manifesto-text p {
    font-size: clamp(30px, 5vw, 80px);

    opacity: .25;

    transition: opacity .4s ease;
}

.manifesto-text p.visible {
    opacity: 1;
}

.manifesto-text .highlight {
    color: var(--accent);
}

/* PROJECTS */

.projects {
    margin-top: 40px;
}

.project {
    position: relative;

    display: grid;
    grid-template-columns: 80px 1fr 120px;

    align-items: center;

    padding: 30px 0;

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

    cursor: pointer;
}

.project-main {
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.project-main h3 {
    font-size: clamp(35px, 5vw, 75px);

    letter-spacing: -0.05em;
}

.project-main span {
    font-size: 11px;
}

.project-index,
.project-year {
    font-size: 11px;
}

.project-preview {
    position: fixed;

    width: 420px;
    height: 270px;

    top: 0;
    left: 0;

    pointer-events: none;

    opacity: 0;

    z-index: 500;

    transform: translate(-50%, -50%) scale(.9);

    transition:
        opacity .2s ease,
        transform .2s ease;
}

.project-preview.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.project-preview img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* PROCESS */

.process-list {
    margin-top: 40px;
}

.process-step {
    display: flex;
    align-items: center;

    gap: 50px;

    padding: 25px 0;

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

.process-step span {
    font-size: 11px;
}

.process-step h3 {
    font-size: clamp(35px, 6vw, 90px);

    letter-spacing: -0.05em;

    transition: transform .3s ease;
}

.process-step:hover h3 {
    transform: translateX(30px);
}

/* CONTACT */

.contact {
    min-height: 100vh;

    background: var(--accent);
    color: #111;

    padding: 50px 32px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-small {
    font-size: 12px;
}

.contact-title {
    font-size: clamp(65px, 13vw, 200px);

    line-height: .85;

    letter-spacing: -0.07em;

    font-weight: 900;
}

.contact-title:hover {
    color: white;
}

.contact-bottom {
    display: flex;
    justify-content: space-between;

    font-size: 11px;
}

/* ANIMATIONS */

.hero-title span {
    opacity: 0;

    transform: translateY(100px);

    animation: titleReveal 1s forwards;
}

.hero-title span:nth-child(2) {
    animation-delay: .15s;
}

.hero-title span:nth-child(3) {
    animation-delay: .3s;
}

@keyframes titleReveal {

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* MOBILE */

@media(max-width: 768px) {

    body {
        cursor: auto;
    }

    .custom-cursor {
        display: none;
    }

    .site-header {
        padding: 20px;
    }

    .hero {
        padding: 100px 20px 25px;
    }

    .hero-small span:last-child {
        display: none;
    }

    .hero-title {
        font-size: 20vw;
        line-height: .82;
    }

    .hero-title span:nth-child(2) {
        margin-left: 0;
    }

    .hero-bottom {
        flex-direction: column;
        align-items: flex-start;

        gap: 30px;
    }

    .hero-bottom p {
        font-size: 18px;
    }

    .section {
        padding: 80px 20px;
    }

    .service-item {
        grid-template-columns: 40px 1fr auto;
    }

    .service-item h2 {
        font-size: 10vw;
    }

    .manifesto {
        grid-template-columns: 1fr;

        padding: 60px 20px;
    }

    .manifesto-number {
        font-size: 70vw;
    }

    .project {
        grid-template-columns: 40px 1fr;
    }

    .project-year {
        display: none;
    }

    .project-main {
        flex-direction: column;
        gap: 5px;
    }

    .project-preview {
        display: none;
    }

    .process-step {
        gap: 20px;
    }

    .contact {
        padding: 40px 20px;
    }

    .menu-overlay-inner {
        padding: 20px;
    }

    .fullscreen-nav a {
        font-size: 11vw;
    }

    .menu-footer {
        flex-direction: column;
        gap: 25px;
    }

    .social-links {
        flex-direction: column;
        gap: 8px;
    }

}