@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@400;500;600&display=swap");

* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100%;
    background: #ffffff;
    color: #0000ff;
    font-family: "Inter", Arial, sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1184px, calc(100% - 64px));
    margin: 0 auto;
}

.eyebrow {
    margin: 0 0 14px;
    color: #008000;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2.24px;
    line-height: 16.8px;
}

.portfolio-hero {
    padding: 128px 0 64px;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 255, 0.15);
}

.portfolio-hero h1 {
    margin: 0;
    color: #0000ff;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(64px, 7vw, 80px);
    font-weight: 400;
    line-height: .98;
}

.hero-description {
    width: min(576px, 100%);
    margin: 40px 0 0;
    color: #0000ff;
    font-size: 14px;
    line-height: 25.2px;
}

.metrics-note {
    margin: 16px 0 0;
    color: #0000ff;
    font-size: 12px;
    line-height: 16px;
    opacity: .6;
}

.projects {
    padding: 0;
    background: #ffffff;
}

.project {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    padding: 96px 0;
    border-bottom: 1px solid rgba(0, 0, 255, 0.15);
    align-items: center;
}

.project--image-right .project-image {
    grid-column: 2;
    grid-row: 1;
}

.project--image-right .project-content {
    grid-column: 1;
    grid-row: 1;
}

.project-image {
    width: 100%;
    height: 400px;
    background-color: #ffffff;
    background-position: center;
    background-size: cover;
}

.project-image--1 {
    background-image: url("./img/image-1.png");
}

.project-image--2 {
    background-image: url("./img/image-2.1.png");
}

.project-image--3 {
    background-image: url("./img/image-3.png");
}

.project-image--4 {
    background-image: url("./img/image-4.2.png");
}

.project-content {
    width: 100%;
}

.industry {
    margin: 0;
    color: #008000;
    font-size: 12px;
    letter-spacing: 2.16px;
    line-height: 16px;
}

.project h2 {
    margin: 8px 0 0;
    color: #0000ff;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 60px;
}

.project-type {
    margin: 4px 0 0;
    color: #0000ff;
    font-size: 12px;
    letter-spacing: 1.44px;
    line-height: 16px;
}

.project-detail {
    padding: 20px 0;
    border-top: 1px solid rgba(0, 0, 255, 0.15);
}

.project-detail:first-of-type {
    margin-top: 32px;
}

.project-detail span,
.project-result > span {
    display: block;
    color: #0000ff;
    font-size: 12px;
    letter-spacing: .6px;
    line-height: 16px;
}

.project-detail p {
    margin: 8px 0 0;
    color: #0000ff;
    font-size: 14px;
    line-height: 25.2px;
}

.project-result {
    padding: 20px 0 0;
    border-top: 1px solid rgba(0, 0, 255, 0.15);
}

.project-result strong {
    display: block;
    margin-top: 8px;
    color: #008000;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 40px;
}

.project-result small {
    display: block;
    margin-top: 4px;
    color: #0000ff;
    font-size: 12px;
    letter-spacing: 1.44px;
    line-height: 16px;
}

.client-quote {
    padding: 128px 0;
    background: #0000ff;
}

.quote-container {
    width: min(896px, calc(100% - 64px));
    margin: 0 auto;
}

.quote-label {
    margin: 0;
    color: #ffffff;
    font-size: 11px;
    letter-spacing: 2.24px;
    opacity: .7;
}

.client-quote blockquote {
    margin: 16px 0 0;
    color: #ffffff;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(30px, 4vw, 38px);
    font-style: italic;
    font-weight: 400;
    line-height: 1.3;
}

.quote-author {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
    gap: 4px;
}

.quote-author strong {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.quote-author span {
    color: #ffffff;
    font-size: 12px;
    letter-spacing: 1.2px;
    line-height: 16px;
    opacity: .7;
}

.next-step {
    padding: 112px 0;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 255, 0.15);
    text-align: center;
}

.next-step .eyebrow {
    color: #008000;
}

.next-step h2 {
    margin: 0;
    color: #0000ff;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(42px, 5vw, 56px);
    font-weight: 400;
    line-height: 1.05;
}

.next-step p:not(.eyebrow) {
    width: min(441px, 100%);
    margin: 24px auto 40px;
    color: #0000ff;
    font-size: 14px;
    line-height: 25.2px;
}

.conversation-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: #008000;
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 1.4px;
    line-height: 20px;
    transition: transform .2s ease, opacity .2s ease;
}

.conversation-button:hover {
    opacity: .9;
    transform: translateY(-2px);
    background: #0000ff;
}

@media (max-width: 900px) {

    .container {
        width: min(720px, calc(100% - 48px));
    }

    .portfolio-hero {
        padding: 120px 0 60px;
    }

    .project {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 72px 0;
    }

    .project--image-right .project-image,
    .project--image-right .project-content {
        grid-column: auto;
        grid-row: auto;
    }

    .project--image-right .project-image {
        order: -1;
    }

    .project-image {
        height: 380px;
    }

    .client-quote {
        padding: 90px 0;
    }

    .quote-container {
        width: min(720px, calc(100% - 48px));
    }
}

@media (max-width: 600px) {

    .container,
    .quote-container {
        width: calc(100% - 40px);
    }

    .portfolio-hero {
        padding: 115px 0 55px;
    }

    .portfolio-hero h1 {
        font-size: 58px;
    }

    .hero-description {
        margin-top: 30px;
    }

    .project {
        gap: 30px;
        padding: 60px 0;
    }

    .project-image {
        height: 280px;
    }

    .project h2 {
        font-size: 34px;
        line-height: 1.2;
    }

    .project-detail:first-of-type {
        margin-top: 26px;
    }

    .client-quote {
        padding: 70px 0;
    }

    .client-quote blockquote {
        font-size: 29px;
    }

    .next-step {
        padding: 75px 0;
    }

    .next-step h2 {
        font-size: 40px;
    }

    .conversation-button {
        width: 100%;
    }
}