/* =========================================
   ROOT
========================================= */

:root {
    --black: #111111;
    --dark: #181818;
    --gray: #777777;
    --line: #d8d8d2;
    --white: #f4f4ef;
    --paper: #e9e9e2;
    --blue: #2d63ff;

    --max-width: 1500px;
}


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

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;

    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    overflow-x: hidden;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--white);
    background: var(--black);
}

a {
    color: inherit;

    text-decoration: none;
}

img {
    display: block;

    max-width: 100%;
}

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


/* =========================================
   NAVIGATION
========================================= */

.nav {
    position: fixed;

    z-index: 100;

    top: 0;
    left: 0;

    display: flex;

    width: 100%;

    padding: 1.4rem 3vw;

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

    background: rgba(17, 17, 17, 0.88);

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.brand {
    font-size: 0.95rem;
    font-weight: 700;

    letter-spacing: 0.12em;
}

.nav-links {
    display: flex;

    gap: 2.5rem;
}

.nav-links a {
    position: relative;

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.15em;

    color: #bcbcbc;
}

.nav-links a::after {
    position: absolute;

    bottom: -7px;
    left: 0;

    width: 0;
    height: 1px;

    content: "";

    background: var(--white);

    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: white;
}

.nav-links a:hover::after {
    width: 100%;
}


/* =========================================
   SHARED
========================================= */

.eyebrow {
    margin-bottom: 1.5rem;

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.2em;

    color: #a7a7a7;
}

.eyebrow.dark {
    color: #6a6a65;
}

.section-number {
    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.15em;

    color: var(--gray);
}

.button {
    display: inline-flex;

    padding: 1.15rem 1.45rem;

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

    gap: 3rem;

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.12em;

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

.button span {
    font-size: 1rem;
}

.primary {
    color: white;
    background: var(--blue);
}

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

    background: #4978ff;
}


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

.hero {
    display: grid;

    width: min(94%, var(--max-width));
    min-height: 100vh;

    margin: auto;
    padding-top: 7rem;

    grid-template-columns: 1.05fr 0.95fr;

    align-items: center;

    gap: 6vw;
}

.hero-copy {
    padding: 4rem 0;
}

.hero h1 {
    max-width: 900px;

    font-size: clamp(4rem, 7.5vw, 9rem);
    font-weight: 600;

    line-height: 0.82;

    letter-spacing: -0.07em;
}

.hero h1 span {
    color: var(--blue);
}

.hero-intro {
    max-width: 610px;

    margin-top: 3rem;

    font-size: clamp(1rem, 1.3vw, 1.3rem);

    line-height: 1.6;

    color: #b9b9b9;
}

.hero-actions {
    display: flex;

    margin-top: 3rem;

    align-items: center;

    gap: 2rem;
}

.text-link {
    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.12em;

    color: #a8a8a8;

    transition: color 0.2s ease;
}

.text-link span {
    display: inline-block;

    margin-left: 0.5rem;
}

.text-link:hover {
    color: white;
}


/* =========================================
   PORTRAIT
========================================= */

.hero-visual {
    width: 100%;

    justify-self: end;
}

.portrait-frame {
    position: relative;

    overflow: hidden;

    width: 100%;
    max-height: 75vh;

    background: #222;
}

.portrait-frame::before {
    position: absolute;

    z-index: 2;

    inset: 0;

    content: "";

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            transparent 65%,
            rgba(0, 0, 0, 0.22)
        );
}

.portrait-frame img {
    width: 100%;
    height: 75vh;

    object-fit: cover;

    filter:
        saturate(0.82)
        contrast(1.04);

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

.portrait-frame:hover img {
    transform: scale(1.025);

    filter:
        saturate(1)
        contrast(1.02);
}

.portrait-caption {
    display: flex;

    margin-top: 1rem;

    justify-content: space-between;

    gap: 1rem;

    font-size: 0.62rem;
    font-weight: 700;

    letter-spacing: 0.12em;

    color: #777;
}


/* =========================================
   STATEMENT
========================================= */

.statement {
    display: grid;

    padding: 10rem max(3vw, calc((100vw - var(--max-width)) / 2));

    grid-template-columns: 1fr 4fr;

    color: var(--black);
    background: var(--paper);
}

.statement-copy {
    max-width: 1100px;
}

.statement h2 {
    font-size: clamp(2.7rem, 5vw, 6rem);
    font-weight: 500;

    line-height: 1;

    letter-spacing: -0.055em;
}

.statement h2 span {
    color: #85857f;
}


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

.about {
    width: min(94%, var(--max-width));

    margin: auto;
    padding: 9rem 0;
}

.section-heading {
    display: grid;

    padding-bottom: 4rem;

    grid-template-columns: 1fr 4fr;

    border-bottom: 1px solid #333;
}

.section-heading h2 {
    font-size: clamp(2.3rem, 4vw, 5rem);
    font-weight: 500;

    line-height: 1;

    letter-spacing: -0.05em;
}

.about-grid {
    display: grid;

    padding-top: 5rem;

    grid-template-columns: 1fr 1fr;

    gap: 10vw;
}

.large-copy {
    max-width: 650px;

    font-size: clamp(2rem, 3vw, 3.8rem);

    line-height: 1.08;

    letter-spacing: -0.04em;
}

.body-copy {
    max-width: 620px;

    font-size: 1.1rem;

    line-height: 1.8;

    color: #adadad;
}

.body-copy p + p {
    margin-top: 2rem;
}


/* =========================================
   APPROACH
========================================= */

.approach {
    padding: 9rem max(3vw, calc((100vw - var(--max-width)) / 2));

    color: var(--black);
    background: var(--white);
}

.approach .section-heading {
    border-color: #c9c9c3;
}

.process {
    display: grid;

    margin-top: 5rem;

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

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

.process-card {
    min-height: 380px;

    padding: 2rem 2rem 3rem 0;

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

.process-card + .process-card {
    padding-left: 2rem;
}

.process-card:last-child {
    border-right: none;
}

.process-number {
    font-size: 0.7rem;
    font-weight: 700;

    color: var(--blue);
}

.process-card h3 {
    margin-top: 5rem;

    font-size: 1.6rem;
    font-weight: 500;

    letter-spacing: -0.03em;
}

.process-card p {
    max-width: 280px;

    margin-top: 1.5rem;

    font-size: 0.95rem;

    line-height: 1.65;

    color: #696964;
}


/* =========================================
   DIFFERENTIATOR
========================================= */

.differentiator {
    display: grid;

    width: min(94%, var(--max-width));

    margin: auto;
    padding: 10rem 0;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 10vw;
}

.differentiator-left h2 {
    max-width: 800px;

    font-size: clamp(3rem, 5vw, 6.5rem);
    font-weight: 500;

    line-height: 0.98;

    letter-spacing: -0.055em;
}

.differentiator-right {
    display: flex;

    flex-direction: column;
    justify-content: flex-end;
}

.differentiator-right > p {
    max-width: 550px;

    font-size: 1.2rem;

    line-height: 1.7;

    color: #a9a9a9;
}

.mini-list {
    display: grid;

    margin-top: 4rem;

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

.mini-list span {
    padding: 1.2rem 0;

    font-size: 0.67rem;
    font-weight: 700;

    letter-spacing: 0.14em;

    border-top: 1px solid #333;
}


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

.contact {
    position: relative;

    overflow: hidden;

    padding: 10rem 3vw;

    background: var(--blue);
}

.contact::after {
    position: absolute;

    right: -4vw;
    bottom: -15vw;

    content: "Q";

    font-size: 50vw;
    font-weight: 700;

    line-height: 0.7;

    color: rgba(255, 255, 255, 0.05);

    pointer-events: none;
}

.contact-inner {
    position: relative;

    z-index: 2;

    width: min(100%, var(--max-width));

    margin: auto;
}

.contact .eyebrow {
    color: rgba(255, 255, 255, 0.65);
}

.contact h2 {
    font-size: clamp(4rem, 8vw, 10rem);
    font-weight: 600;

    line-height: 0.82;

    letter-spacing: -0.07em;
}

.contact h2 span {
    color: var(--black);
}

.contact-button {
    margin-top: 4rem;

    color: var(--black);
    background: white;
}

.contact-button:hover {
    transform: translateY(-4px);

    color: white;
    background: var(--black);
}


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

footer {
    display: flex;

    width: min(94%, var(--max-width));

    margin: auto;
    padding: 2.5rem 0;

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

    gap: 2rem;

    font-size: 0.62rem;
    font-weight: 700;

    letter-spacing: 0.12em;

    color: #777;
}

footer a {
    transition: color 0.2s ease;
}

footer a:hover {
    color: white;
}


/* =========================================
   REVEAL ANIMATION
========================================= */

.reveal {
    opacity: 0;

    transform: translateY(35px);

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

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}


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

@media (max-width: 1000px) {

    .hero {
        padding-top: 9rem;

        grid-template-columns: 1fr;

        gap: 3rem;
    }

    .hero-copy {
        padding-bottom: 0;
    }

    .hero-visual {
        max-width: 750px;

        justify-self: start;
    }

    .portrait-frame img {
        height: 70vh;
    }

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

    .process-card:nth-child(2) {
        border-right: none;
    }

    .process-card:nth-child(3),
    .process-card:nth-child(4) {
        border-top: 1px solid var(--line);
    }

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

    .differentiator-right {
        max-width: 650px;
    }

}


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

@media (max-width: 700px) {

    .nav {
        padding: 1.2rem 5vw;
    }

    .nav-links {
        display: none;
    }

    .hero {
        width: 90%;

        min-height: auto;

        padding-top: 8rem;
        padding-bottom: 6rem;
    }

    .hero h1 {
        font-size: clamp(3.5rem, 17vw, 6rem);
    }

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

    .portrait-frame img {
        height: 65vh;
    }

    .portrait-caption {
        flex-direction: column;
    }

    .statement {
        padding: 6rem 5vw;

        grid-template-columns: 1fr;

        gap: 2rem;
    }

    .statement h2 {
        font-size: clamp(2.7rem, 12vw, 4rem);
    }

    .about {
        width: 90%;

        padding: 6rem 0;
    }

    .section-heading {
        grid-template-columns: 1fr;

        gap: 2rem;
    }

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

        gap: 4rem;
    }

    .approach {
        padding: 6rem 5vw;
    }

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

    .process-card,
    .process-card + .process-card {
        min-height: auto;

        padding: 2.5rem 0;

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

    .process-card:first-child {
        border-top: none;
    }

    .process-card h3 {
        margin-top: 2.5rem;
    }

    .differentiator {
        width: 90%;

        padding: 7rem 0;

        gap: 5rem;
    }

    .mini-list {
        grid-template-columns: 1fr;
    }

    .contact {
        padding: 7rem 5vw;
    }

    .contact h2 {
        font-size: clamp(3.4rem, 17vw, 6rem);
    }

    footer {
        width: 90%;

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

        padding: 2.5rem 0;
    }

}


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

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

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .reveal {
        opacity: 1;

        transform: none;
    }

}
