* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f5f0;
    color: #292929;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}


/* HEADER */

.site-header {
    height: 85px;
    padding: 0 6%;
    background: #fff;
    border-bottom: 1px solid #e7e3da;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 28px;
    font-weight: 600;
    color: #84b2a7;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-size: 14px;
    color: #555;
    transition: .2s;
}

.main-nav a:hover,
.main-nav .active {
    color: #84b2a7;
}

.header-button {
    padding: 11px 20px;
    background: #84b2a7;
    color: white;
    font-size: 14px;
}

.header-button:hover {
    background: #719d93;
}


/* HERO */

.hero {
    max-width: 850px;
    margin: auto;
    padding: 100px 20px 80px;
    text-align: center;
}

.eyebrow {
    color: #84b2a7;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 12px;
}

.hero h1 {
    font-size: clamp(42px, 7vw, 70px);
    line-height: 1.1;
    font-weight: 500;
    margin-bottom: 25px;
}

.hero p:last-child {
    max-width: 620px;
    margin: auto;
    color: #777;
    font-size: 17px;
}


/* PORTFOLIO */

.portfolio {
    max-width: 1200px;
    width: 90%;
    margin: auto;
    padding-bottom: 100px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.portfolio-card {
    background: #fff;
    border: 1px solid #e4e1da;
    transition: .25s;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .07);
}


/* IMAGE PLACEHOLDER */

.portfolio-image {
    height: 300px;
    background: #dfe8e4;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #84b2a7;
    font-size: 13px;
    letter-spacing: 1px;
}

/* ========================================
   PROJECT IMAGES
======================================== */

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 300px;
    padding: 0;
}

.portfolio-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 0.6s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.04);
}

/* CONTENT */

.portfolio-content {
    padding: 25px;
}

.portfolio-content span {
    color: #84b2a7;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.portfolio-content h2 {
    font-size: 22px;
    font-weight: 500;
    margin: 8px 0 10px;
}

.portfolio-content p {
    color: #777;
    font-size: 14px;
    margin-bottom: 20px;
}

.portfolio-content a {
    color: #84b2a7;
    font-size: 14px;
}

.portfolio-content a:hover {
    color: #e3b55f;
}


/* CTA */

.cta {
    background: #84b2a7;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.cta .eyebrow {
    color: #f8e0aa;
}

.cta h2 {
    max-width: 700px;
    margin: auto;
    font-size: 40px;
    font-weight: 500;
}

.cta p:not(.eyebrow) {
    max-width: 600px;
    margin: 15px auto 30px;
    opacity: .9;
}

.cta a {
    display: inline-block;
    padding: 13px 25px;
    background: #e3b55f;
    color: white;
}

.cta a:hover {
    background: #d0a34f;
}


/* FOOTER */

.site-footer {
    background: white;
    border-top: 1px solid #e5e1d9;
    padding: 40px 6%;

    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.site-footer h3 {
    color: #84b2a7;
    font-size: 22px;
    margin-bottom: 5px;
}

.site-footer p {
    color: #777;
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.footer-links a {
    color: #666;
    font-size: 13px;
}

.footer-links a:hover {
    color: #84b2a7;
}


/* MOBILE */

@media (max-width: 850px) {

    .main-nav {
        display: none;
    }

    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {

    .header-button {
        display: none;
    }

    .hero {
        padding: 75px 20px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-image {
        height: 250px;
    }

    .cta h2 {
        font-size: 30px;
    }

    .site-footer {
        flex-direction: column;
    }

    .footer-links {
        flex-wrap: wrap;
    }
}