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

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

html {
    scroll-behavior: smooth;
}

body {
    background: #f4f2ed;
    color: #090909;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}


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

:root {

    --off-white: #f4f2ed;
    --black: #080808;
    --lime: #eaff00;
    --teal: #005965;
    --border: rgba(0, 0, 0, 0.25);

    --page-padding: 5.7vw;

}


/* =========================================================
   TYPOGRAPHY
========================================================= */

.eyebrow {
    font-family: "DM Mono", monospace;
    font-size: 10px;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: 0.14em;
}

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

h1,
h2 {
    font-weight: 900;
    letter-spacing: -0.055em;
}


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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;

    min-width: 142px;
    padding: 12px 17px;

    border-radius: 100px;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.button span {
    font-size: 18px;
    line-height: 0;
}

.button:hover {
    transform: translateY(-3px);
}

.button-dark {
    background: var(--black);
    color: white;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    height: 78px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    padding: 0 var(--page-padding);

    background: var(--off-white);
}

.logo {
    width: 75px;
}

.logo img {
    width: 100%;
}

.main-nav {
    display: flex;
    gap: 34px;
}

.main-nav a,
.nav-talk {
    font-family: "DM Mono", monospace;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.nav-talk {
    justify-self: end;

    display: flex;
    align-items: center;
    gap: 13px;
}

.arrow-circle {
    width: 34px;
    height: 34px;

    border-radius: 50%;
    background: var(--black);
    color: white;

    display: grid;
    place-items: center;

    font-size: 16px;

    transition: transform 0.25s ease;
}

.nav-talk:hover .arrow-circle {
    transform: rotate(-35deg);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 540px;

    display: grid;
    grid-template-columns: 40% 60%;

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

.hero-copy {
    padding: 65px var(--page-padding) 65px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    background: var(--off-white);
}

.hero-copy h1 {
    font-size: clamp(65px, 7.4vw, 125px);
    line-height: 0.86;

    margin-top: 25px;
}

.hero-description {
    margin-top: 26px;

    max-width: 340px;

    font-size: 13px;
    line-height: 1.45;
}

.hero-copy .button {
    margin-top: 28px;
}


/* HERO IMAGE */

.hero-visual {
    position: relative;
    overflow: hidden;
    min-height: 540px;

    background: #d6d4cd;
}

.hero-visual > img {
    height: 100%;
    object-fit: cover;
}


/* Lime graphic */

.hero-visual::after {
    content: "";

    position: absolute;

    width: 47%;
    height: 61%;

    top: 0;
    left: 14%;

    background: var(--lime);

    clip-path: polygon(
        0 20%,
        100% 0,
        100% 65%,
        70% 100%,
        0 78%
    );

    mix-blend-mode: normal;
}


/* Hero note */

.hero-note {
    position: absolute;

    z-index: 3;

    top: 105px;
    left: 27%;

    font-size: 13px;
    line-height: 1.55;

    font-style: italic;
}

.small-line {
    display: block;

    width: 30px;
    height: 3px;

    margin-top: 12px;

    background: var(--black);
}


/* Large tum tak word */

.hero-wordmark {
    position: absolute;

    z-index: 4;

    right: -18px;
    bottom: -30px;

    font-size: clamp(100px, 14vw, 220px);
    line-height: 0.63;

    font-weight: 900;
    letter-spacing: -0.1em;
}


/* Side note */

.hero-side-note {
    position: absolute;

    z-index: 5;

    right: 11%;
    top: 150px;

    font-size: 11px;
    line-height: 1.5;
    letter-spacing: 0.05em;
}


/* =========================================================
   MARQUEE
========================================================= */

.marquee {
    width: 100%;
    overflow: hidden;

    background: var(--lime);

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

    padding: 12px 0;
}

.marquee-track {
    display: flex;
    align-items: center;

    width: max-content;

    animation: marquee 25s linear infinite;
}

.marquee-track span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;

    margin: 0 17px;
}

.marquee-track b {
    font-size: 13px;
}

@keyframes marquee {

    from {
        transform: translateX(0);
    }

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

}


/* =========================================================
   FEATURED WORK
========================================================= */

.featured-work {
    padding: 60px var(--page-padding) 70px;
    background: var(--off-white);
}

.work-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    margin-bottom: 40px;
}

.work-heading h2 {
    margin-top: 23px;

    font-size: clamp(45px, 5vw, 75px);
    line-height: 0.86;
}

.view-link {
    display: flex;
    align-items: center;
    gap: 15px;

    font-family: "DM Mono", monospace;
    font-size: 9px;
    letter-spacing: 0.08em;
}

.view-link span {
    font-size: 20px;
}


/* Projects */

.projects {
    position: relative;

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

    gap: 12px;
}

.project-card {
    min-width: 0;
}

.project-image {
    aspect-ratio: 1.12 / 1;
    overflow: hidden;
    background: #d7d5cf;
}

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

    object-fit: cover;

    transition: transform 0.5s cubic-bezier(.2,.7,.2,1);
}

.project-card:hover .project-image img {
    transform: scale(1.04);
}

.project-type {
    margin-top: 10px;

    font-family: "DM Mono", monospace;
    font-size: 9px;
    letter-spacing: 0.1em;
}

.project-name {
    margin-top: 4px;

    font-size: 11px;
    color: #555;
}

.project-next {
    position: absolute;

    right: -17px;
    top: 42%;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: white;

    display: grid;
    place-items: center;

    font-size: 20px;

    box-shadow: 0 2px 15px rgba(0,0,0,.1);
}


/* =========================================================
   SERVICES
========================================================= */

.services {
    padding: 58px var(--page-padding) 62px;

    background: var(--teal);
    color: white;

    display: grid;
    grid-template-columns: 28% 72%;
}

.services-intro h2 {
    margin-top: 23px;

    font-size: clamp(42px, 4.5vw, 68px);
    line-height: 0.87;
}


/* Service grid */

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

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

.service-item {
    padding: 4px 24px;

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

    text-align: center;
}

.service-icon {
    width: 39px;
    height: 39px;

    object-fit: contain;

    margin: 0 auto 18px;
}

.service-item h3 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.service-item p {
    margin-top: 12px;

    color: rgba(255,255,255,.78);

    font-size: 11px;
    line-height: 1.45;
}


/* =========================================================
   PROCESS
========================================================= */

.process {
    padding: 62px var(--page-padding) 70px;
    background: var(--off-white);
}

.process-header {
    display: grid;
    grid-template-columns: 42% 29% 29%;
    align-items: center;

    margin-bottom: 45px;
}

.process-header h2 {
    margin-top: 18px;

    font-size: clamp(45px, 5vw, 74px);
    line-height: .86;
}

.process-header h2 span {
    color: var(--lime);
}

.process-intro {
    max-width: 280px;

    font-size: 12px;
    line-height: 1.5;

    padding-left: 25px;

    border-left: 1px solid var(--black);
}

.process-header .button {
    justify-self: end;
}


/* Process cards */

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 30px;
}

.process-step {
    position: relative;
    min-width: 0;
}

.step-number {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;

    margin-bottom: -3px;
}

.process-image {
    height: 160px;

    margin-bottom: 14px;

    overflow: hidden;

    background: #ddd;
}

.process-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.process-step h3 {
    font-size: 12px;
    font-weight: 800;
}

.step-line {
    display: block;

    width: 22px;
    height: 3px;

    margin: 8px 0;

    background: var(--lime);
}

.process-step p {
    max-width: 200px;

    font-size: 10px;
    line-height: 1.45;

    color: #4e4e4e;
}


/* Tags */

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;

    margin-top: 13px;
}

.tags span {
    padding: 4px 7px;

    border: 1px solid #999;
    border-radius: 100px;

    font-family: "DM Mono", monospace;

    font-size: 7px;
    letter-spacing: 0.05em;
}


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

.about {
    display: grid;
    grid-template-columns: 32% 30% 38%;

    min-height: 340px;

    background: var(--off-white);

    border-top: 1px solid rgba(0,0,0,.1);
}

.about-copy {
    padding: 60px var(--page-padding);
}

.about-copy h2 {
    margin-top: 22px;

    font-size: clamp(38px, 4vw, 60px);
    line-height: .88;
}

.about-description {
    padding: 90px 50px 50px 20px;
}

.about-description p {
    max-width: 330px;

    font-size: 13px;
    line-height: 1.55;
}

.outline-button {
    display: inline-flex;
    align-items: center;
    gap: 20px;

    margin-top: 22px;

    padding: 11px 17px;

    border: 1px solid var(--black);
    border-radius: 100px;

    font-family: "DM Mono", monospace;
    font-size: 9px;
    letter-spacing: .08em;
}

.outline-button span {
    font-size: 17px;
}

.about-image {
    min-height: 340px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   CTA
========================================================= */

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

    padding: 42px var(--page-padding);

    background: var(--lime);
}

.cta h2 {
    margin-top: 16px;

    font-size: clamp(45px, 5vw, 70px);
    line-height: .86;
}

.cta .button {
    min-width: 205px;
}


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

.footer {
    min-height: 105px;

    padding: 27px var(--page-padding);

    display: grid;
    grid-template-columns: 1.3fr 2fr 1fr 1fr;
    align-items: center;

    background: var(--off-white);
}

.footer-logo {
    width: 70px;
}

.footer-nav {
    display: flex;
    gap: 30px;
}

.footer-nav a,
.socials a {
    font-family: "DM Mono", monospace;
    font-size: 8px;
    letter-spacing: .08em;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 17px;
}

.socials a {
    font-size: 10px;
}

.footer-tagline {
    justify-self: end;

    font-family: "DM Mono", monospace;
    font-size: 8px;
    line-height: 1.45;
}

.footer-tagline span {
    display: block;

    width: 27px;
    height: 2px;

    margin-top: 8px;

    background: var(--black);
}


/* =========================================================
   HOVER STATES
========================================================= */

.main-nav a,
.footer-nav a,
.socials a,
.view-link {
    transition: opacity .2s ease;
}

.main-nav a:hover,
.footer-nav a:hover,
.socials a:hover,
.view-link:hover {
    opacity: .55;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    :root {
        --page-padding: 4vw;
    }

    .hero {
        grid-template-columns: 45% 55%;
    }

    .hero-copy h1 {
        font-size: 75px;
    }

    .services {
        grid-template-columns: 100%;
        gap: 40px;
    }

    .service-grid {
        border-left: none;
    }

    .service-item {
        padding: 4px 12px;
    }

    .process-header {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .process-header .button {
        justify-self: start;
    }

    .process-intro {
        padding-left: 20px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 45px;
    }

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

    .about-image {
        grid-column: span 2;
        height: 350px;
    }

    .footer {
        grid-template-columns: 1fr 2fr 1fr;
    }

    .footer-tagline {
        display: none;
    }
}


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

@media (max-width: 700px) {

    :root {
        --page-padding: 6vw;
    }


    /* Header */

    .site-header {
        height: 70px;

        grid-template-columns: 1fr auto;
    }

    .main-nav {
        display: none;
    }

    .nav-talk {
        gap: 8px;
    }

    .arrow-circle {
        width: 30px;
        height: 30px;
    }


    /* Hero */

    .hero {
        display: flex;
        flex-direction: column;
    }

    .hero-copy {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .hero-copy h1 {
        font-size: clamp(62px, 18vw, 105px);
    }

    .hero-visual {
        min-height: 420px;
    }

    .hero-note {
        left: 12%;
        top: 80px;

        font-size: 10px;
    }

    .hero-side-note {
        top: 120px;
        right: 8%;

        font-size: 9px;
    }

    .hero-wordmark {
        font-size: 100px;
    }


    /* Featured */

    .featured-work {
        padding-top: 50px;
    }

    .work-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
    }

    .work-heading h2 {
        font-size: 52px;
    }

    .projects {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .project-next {
        display: none;
    }


    /* Services */

    .services {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .services-intro h2 {
        font-size: 49px;
    }

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

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

    .service-item {
        min-height: 170px;

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

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


    /* Process */

    .process-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;

        gap: 25px;
    }

    .process-header h2 {
        font-size: 49px;
    }

    .process-intro {
        padding-left: 0;
        padding-top: 18px;

        border-left: none;
        border-top: 1px solid var(--black);
    }

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

    .process-image {
        height: 240px;
    }

    .process-step p {
        max-width: 300px;
    }


    /* About */

    .about {
        display: flex;
        flex-direction: column;
    }

    .about-copy {
        padding-bottom: 20px;
    }

    .about-description {
        padding: 20px var(--page-padding) 50px;
    }

    .about-image {
        height: 300px;
        min-height: 0;
    }


    /* CTA */

    .cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 35px;
    }

    .cta h2 {
        font-size: 51px;
    }


    /* Footer */

    .footer {
        display: flex;
        flex-direction: column;
        align-items: flex-start;

        gap: 25px;

        padding-top: 40px;
        padding-bottom: 40px;
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: 18px;
    }

    .socials {
        justify-content: flex-start;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .marquee-track {
        animation: none;
    }

    * {
        transition: none !important;
    }

}
