:root {
    --background: #f4f4f1;
    --surface: #ffffff;
    --text: #151515;
    --muted: #686868;
    --line: #d8d8d3;
    --dark: #171717;
    --max-width: 1440px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

.header {
    height: 88px;
    max-width: var(--max-width);
    margin: auto;
    padding: 0 44px;

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

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: .15em;
}

.brand-symbol {
    display: grid;
    place-items: center;

    width: 30px;
    height: 30px;

    border: 1px solid var(--text);
    border-radius: 50%;

    font-size: 13px;
    letter-spacing: 0;
}

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

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;
    padding: 0 24px;

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

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

    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

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

.button-light {
    background: transparent;
    color: var(--text);
}

.button-small {
    min-height: 40px;
    padding: 0 18px;
}

.hero {
    max-width: var(--max-width);
    margin: auto;

    min-height: 720px;
    padding: 110px 44px 90px;

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

.eyebrow,
.quote-label,
.section-heading > span,
.about-title > span,
.contact > span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
}

.hero h1 {
    max-width: 1000px;

    margin: 28px 0 30px;

    font-size: clamp(64px, 8vw, 126px);
    line-height: .90;
    letter-spacing: -.065em;
    font-weight: 700;
}

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

    margin: 0;

    color: var(--muted);

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

.hero-actions {
    display: flex;
    gap: 12px;

    margin-top: 42px;
}

.services {
    max-width: var(--max-width);
    margin: auto;

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

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

.service-card {
    min-height: 390px;
    padding: 42px;

    display: flex;
    flex-direction: column;

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

.service-card:last-child {
    border-right: 0;
}

.number,
.project-index {
    color: var(--muted);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: .15em;
}

.service-card h2 {
    margin: 70px 0 18px;

    font-size: 34px;
    letter-spacing: -.04em;
}

.service-card p {
    max-width: 390px;

    margin: 0;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.6;
}

.service-card a,
.text-link {
    margin-top: auto;

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

.quote-section {
    background: var(--dark);
    color: white;

    padding: 100px max(44px, calc((100vw - var(--max-width)) / 2 + 44px));
}

.quote-label {
    color: #aaa;
}

.quote-content {
    margin-top: 60px;

    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 100px;
    align-items: end;
}

.quote-content h2 {
    margin: 0;

    font-size: clamp(60px, 7vw, 110px);
    line-height: .92;
    letter-spacing: -.06em;
}

.quote-content p {
    margin: 0 0 34px;

    color: #bbb;

    font-size: 18px;
    line-height: 1.6;
}

.quote-content .button {
    background: white;
    color: var(--dark);
    border-color: white;
}

.projects {
    max-width: var(--max-width);
    margin: auto;

    padding: 120px 44px;
}

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

.section-heading h2 {
    margin: 0;

    font-size: clamp(48px, 6vw, 86px);
    line-height: .95;
    letter-spacing: -.055em;
}

.project-grid {
    margin-top: 90px;

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

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

.project {
    min-height: 320px;
    padding: 36px 36px 36px 0;

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

.project + .project {
    padding-left: 36px;
    border-right: 0;
}

.project h3 {
    margin: 80px 0 14px;

    font-size: 36px;
    letter-spacing: -.04em;
}

.project p {
    max-width: 430px;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.6;
}

.about {
    max-width: var(--max-width);
    margin: auto;

    padding: 110px 44px;

    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 100px;

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

.about-title h2 {
    margin: 40px 0 0;

    font-size: clamp(52px, 6vw, 88px);
    line-height: .95;
    letter-spacing: -.055em;
}

.about-copy {
    padding-top: 55px;
}

.about-copy p {
    color: var(--muted);

    font-size: 18px;
    line-height: 1.7;
}

.about-copy .text-link {
    display: inline-block;
    margin-top: 35px;
}

.contact {
    padding: 110px 44px;
    text-align: center;

    background: var(--surface);
}

.contact h2 {
    margin: 24px 0;

    font-size: clamp(60px, 7vw, 100px);
    line-height: .95;
    letter-spacing: -.055em;
}

.contact p {
    color: var(--muted);
    font-size: 18px;
}

.contact-actions {
    margin-top: 38px;

    display: flex;
    justify-content: center;
    gap: 12px;
}

footer {
    max-width: var(--max-width);
    margin: auto;

    min-height: 120px;
    padding: 35px 44px;

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

    color: var(--muted);

    font-size: 12px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;

    color: var(--text);
}

footer > div:last-child {
    text-align: right;
}


/* ---------- Responsive ---------- */

@media (max-width: 900px) {

    .header {
        padding: 0 22px;
    }

    .navigation > a:not(.button) {
        display: none;
    }

    .hero {
        min-height: 620px;
        padding: 80px 22px;
    }

    .hero h1 {
        font-size: clamp(56px, 14vw, 88px);
    }

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

    .service-card {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .quote-section {
        padding: 80px 22px;
    }

    .quote-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .projects {
        padding: 90px 22px;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .project {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .project + .project {
        padding-left: 0;
    }

    .about {
        padding: 90px 22px;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact {
        padding: 90px 22px;
    }

    footer {
        padding: 35px 22px;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    footer > div:last-child {
        text-align: left;
    }
}

@media (max-width: 600px) {

    .brand span:last-child {
        display: none;
    }

    .button-small {
        font-size: 10px;
    }

    .hero-actions,
    .contact-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .service-card {
        min-height: 330px;
        padding: 32px 22px;
    }
}
