/* =====================================================
   SAVE WEBSITE
   ===================================================== */

:root {
    --green: #173d2d;
    --green-dark: #0b241a;
    --green-light: #dce8dc;
    --lime: #c9e86b;
    --cream: #f4f2ea;
    --white: #ffffff;
    --black: #101411;
    --gray: #737872;

    --max-width: 1380px;

    --font-body: "DM Sans", sans-serif;
    --font-heading: "Manrope", sans-serif;
}


/* ================= RESET ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--black);
    font-family: var(--font-body);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input {
    font-family: inherit;
}


/* ================= HEADER ================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    padding: 24px 0;

    transition:
        background .4s ease,
        padding .4s ease,
        box-shadow .4s ease;
}

.header.scrolled {
    background: rgba(244, 242, 234, .94);
    backdrop-filter: blur(18px);
    padding: 15px 0;
    box-shadow: 0 5px 30px rgba(0,0,0,.08);
}

.nav-container {
    width: min(var(--max-width), calc(100% - 70px));
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: var(--lime);
    color: var(--green-dark);

    display: grid;
    place-items: center;

    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
}

.logo-text {
    display: flex;
    flex-direction: column;

    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 800;
    line-height: 1;
}

.logo-text small {
    max-width: 210px;

    margin-top: 5px;

    font-family: var(--font-body);
    font-size: 7px;
    line-height: 1.3;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 600;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;

    font-size: 14px;
    font-weight: 600;
}

.nav a {
    transition: opacity .3s ease;
}

.nav a:hover {
    opacity: .55;
}

.nav-button {
    background: var(--green);
    color: white;

    padding: 13px 20px;

    border-radius: 50px;
}

.menu-button {
    display: none;

    border: none;
    background: transparent;

    width: 38px;
    height: 38px;

    cursor: pointer;
}

.menu-button span {
    display: block;

    height: 2px;
    width: 25px;

    background: var(--black);

    margin: 5px auto;
}


/* ================= HERO ================= */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    color: white;

    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;

    background:
        url("https://images.unsplash.com/photo-1469474968028-56623f02e42e?auto=format&fit=crop&w=2200&q=90")
        center / cover;

    transform: scale(1.03);

    animation: heroZoom 12s ease forwards;
}

@keyframes heroZoom {
    from {
        transform: scale(1.08);
    }

    to {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4, 21, 13, .82),
            rgba(4, 21, 13, .32),
            rgba(4, 21, 13, .05)
        );
}

.hero-content {
    position: relative;

    width: min(var(--max-width), calc(100% - 70px));

    margin: auto;

    padding-top: 90px;
}

.eyebrow {
    margin-bottom: 22px;

    font-size: 11px;
    letter-spacing: .16em;
    font-weight: 700;

    text-transform: uppercase;
}

.hero h1 {
    max-width: 950px;

    font-family: var(--font-heading);
    font-size: clamp(48px, 6vw, 90px);

    line-height: .99;
    letter-spacing: -.055em;

    font-weight: 700;
}

.hero-description {
    max-width: 550px;

    margin-top: 32px;

    font-size: 18px;
    line-height: 1.6;

    color: rgba(255,255,255,.86);
}

.hero-buttons {
    display: flex;
    gap: 12px;

    margin-top: 38px;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 15px;

    padding: 16px 22px;

    border-radius: 50px;

    font-size: 13px;
    font-weight: 700;

    transition:
        transform .3s ease,
        background .3s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-light {
    background: var(--lime);
    color: var(--green-dark);
}

.button-outline {
    border: 1px solid rgba(255,255,255,.55);
    color: white;
}

.button-outline:hover {
    background: white;
    color: var(--green-dark);
}

.hero-scroll {
    position: absolute;

    bottom: 35px;
    right: 40px;

    display: flex;
    align-items: center;
    gap: 15px;

    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 70px;
    height: 1px;
    background: rgba(255,255,255,.7);
}


/* ================= GENERAL ================= */

.section {
    padding: 130px max(35px, calc((100vw - 1380px) / 2));
}

.section-label {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 70px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
}

.section-label span {
    color: var(--gray);
}


/* ================= INTRO ================= */

.intro-content {
    display: grid;
    grid-template-columns: 1.3fr .7fr;

    gap: 100px;
}

.intro h2,
.impact h2,
.insights h2,
.projects h2 {
    font-family: var(--font-heading);

    font-size: clamp(45px, 6vw, 80px);

    line-height: 1;
    letter-spacing: -.055em;
}

h2 em {
    color: #5d7661;
    font-style: normal;
}

.intro-text {
    padding-top: 10px;
}

.intro-text p {
    margin-bottom: 25px;

    color: #555b55;

    font-size: 17px;
    line-height: 1.7;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-top: 15px;

    padding-bottom: 7px;

    border-bottom: 1px solid var(--black);

    font-weight: 700;
    font-size: 14px;
}


/* ================= WORK ================= */

.section-dark {
    background: var(--green-dark);
    color: white;

    padding: 130px max(35px, calc((100vw - 1380px) / 2));
}

.light-label {
    color: rgba(255,255,255,.8);
}

.light-label span {
    color: rgba(255,255,255,.4);
}

.work-heading {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 100px;

    margin-bottom: 70px;
}

.work-heading h2 {
    font-family: var(--font-heading);

    font-size: clamp(48px, 6vw, 80px);

    line-height: 1;
    letter-spacing: -.055em;
}

.work-heading h2 em {
    color: var(--lime);
    font-style: normal;
}

.work-heading p {
    align-self: end;

    max-width: 450px;

    color: rgba(255,255,255,.65);

    line-height: 1.7;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid rgba(255,255,255,.15);
}

.work-card {
    position: relative;

    min-height: 390px;

    padding: 32px 28px;

    border-right: 1px solid rgba(255,255,255,.15);

    transition:
        background .4s ease,
        transform .4s ease;
}

.work-card:last-child {
    border-right: none;
}

.work-card:hover {
    background: #123525;
    transform: translateY(-6px);
}

.card-number {
    font-size: 11px;
    color: rgba(255,255,255,.4);
}

.card-icon {
    margin-top: 65px;

    font-size: 40px;

    color: var(--lime);
}

.work-card h3 {
    margin-top: 25px;

    font-family: var(--font-heading);

    font-size: 25px;
}

.work-card p {
    margin-top: 15px;

    color: rgba(255,255,255,.6);

    line-height: 1.6;
    font-size: 14px;
}

.work-card a {
    position: absolute;
    bottom: 30px;

    color: var(--lime);

    font-size: 13px;
    font-weight: 700;
}


/* ================= STATEMENT ================= */

.statement {
    position: relative;

    min-height: 750px;

    display: flex;
    align-items: center;

    color: white;
}

.statement-image {
    position: absolute;
    inset: 0;

    background:
        url("https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&w=2200&q=90")
        center / cover;
}

.statement::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(7,30,19,.86),
        rgba(7,30,19,.35)
    );
}

.statement-content {
    position: relative;
    z-index: 2;

    width: min(var(--max-width), calc(100% - 70px));

    margin: auto;
}

.statement h2 {
    max-width: 800px;

    font-family: var(--font-heading);

    font-size: clamp(55px, 7vw, 105px);

    line-height: .92;
    letter-spacing: -.065em;
}

.statement h2 span {
    color: var(--lime);
}

.statement-content > p:not(.eyebrow) {
    max-width: 520px;

    margin: 30px 0;

    color: rgba(255,255,255,.8);

    line-height: 1.7;
}


/* ================= IMPACT ================= */

.impact-heading {
    display: grid;
    grid-template-columns: 1.2fr .8fr;

    gap: 100px;
}

.impact-heading p {
    max-width: 430px;

    color: var(--gray);

    line-height: 1.7;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    margin-top: 100px;

    border-top: 1px solid #cfd0ca;
}

.stat {
    padding: 35px 25px;

    border-right: 1px solid #cfd0ca;
}

.stat:last-child {
    border-right: none;
}

.stat strong {
    font-family: var(--font-heading);

    font-size: clamp(50px, 6vw, 80px);

    letter-spacing: -.06em;
}

.stat span {
    font-size: 35px;
    color: #617660;
}

.stat p {
    margin-top: 15px;

    color: var(--gray);

    font-size: 13px;
}


/* ================= PROJECTS ================= */

.section-light {
    background: #e7e8df;

    padding: 130px max(35px, calc((100vw - 1380px) / 2));
}

.projects-top {
    display: flex;
    align-items: end;
    justify-content: space-between;

    margin-bottom: 70px;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;

    gap: 25px;
}

.project-large {
    grid-row: span 2;
}

.project-image {
    height: 430px;

    background-position: center;
    background-size: cover;

    transition: transform .6s ease;
}

.project-large .project-image {
    height: 680px;
}

.project:hover .project-image {
    transform: scale(1.025);
}

.project {
    overflow: hidden;
}

.project-one {
    background-image:
        url("https://images.unsplash.com/photo-1500534623283-312aade485b7?auto=format&fit=crop&w=1600&q=85");
}

.project-two {
    background-image:
        url("https://images.unsplash.com/photo-1497250681960-ef046c08a56e?auto=format&fit=crop&w=1400&q=85");
}

.project-three {
    background-image:
        url("https://images.unsplash.com/photo-1513836279014-a89f7a76ae86?auto=format&fit=crop&w=1400&q=85");
}

.project-info {
    padding: 25px 0 35px;
}

.project-info span,
.insight-content span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em;
}

.project-info h3 {
    max-width: 650px;

    margin: 10px 0 15px;

    font-family: var(--font-heading);

    font-size: 28px;
    line-height: 1.1;
}

.project-info a {
    font-size: 13px;
    font-weight: 700;
}


/* ================= INSIGHTS ================= */

.insights-top {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 100px;
}

.insights-top p {
    max-width: 450px;

    align-self: end;

    color: var(--gray);

    line-height: 1.7;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    margin-top: 75px;
}

.insight {
    background: #e8ebe5;

    overflow: hidden;
}

.insight-image {
    height: 310px;

    background-position: center;
    background-size: cover;

    transition: transform .6s ease;
}

.insight:hover .insight-image {
    transform: scale(1.04);
}

.insight-one {
    background-image:
        url("https://images.unsplash.com/photo-1448375240586-882707db888b?auto=format&fit=crop&w=1200&q=85");
}

.insight-two {
    background-image:
        url("https://images.unsplash.com/photo-1470770841072-f978cf4d019e?auto=format&fit=crop&w=1200&q=85");
}

.insight-three {
    background-image:
        url("https://images.unsplash.com/photo-1448375240586-882707db888b?auto=format&fit=crop&w=1200&q=85");
}

.insight-content {
    padding: 25px;
}

.insight-content h3 {
    margin: 14px 0 25px;

    font-family: var(--font-heading);

    font-size: 24px;
    line-height: 1.15;
}

.insight-content a {
    font-size: 13px;
    font-weight: 700;
}


/* ================= JOIN ================= */

.join {
    position: relative;

    min-height: 650px;

    display: flex;
    align-items: center;

    color: white;

    overflow: hidden;
}

.join-background {
    position: absolute;
    inset: 0;

    background:
        url("https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=2200&q=90")
        center / cover;
}

.join-overlay {
    position: absolute;
    inset: 0;

    background: rgba(5, 27, 17, .68);
}

.join-content {
    position: relative;
    z-index: 2;

    width: min(var(--max-width), calc(100% - 70px));

    margin: auto;
}

.join h2 {
    font-family: var(--font-heading);

    font-size: clamp(55px, 7vw, 100px);

    line-height: .92;
    letter-spacing: -.06em;
}

.join h2 em {
    color: var(--lime);
}

.join-content > p:not(.eyebrow) {
    max-width: 500px;

    margin: 30px 0;

    color: rgba(255,255,255,.8);

    line-height: 1.7;
}


/* ================= NEWSLETTER ================= */

.newsletter {
    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 100px;

    padding: 90px max(35px, calc((100vw - 1380px) / 2));

    background: var(--lime);
}

.newsletter h2 {
    font-family: var(--font-heading);

    font-size: clamp(35px, 4vw, 55px);

    line-height: 1;
    letter-spacing: -.05em;
}

.dark-eyebrow {
    color: var(--green-dark);
}

#newsletterForm {
    display: flex;

    border-bottom: 1px solid var(--green-dark);
}

#newsletterForm input {
    flex: 1;

    padding: 20px 5px;

    border: none;
    outline: none;

    background: transparent;

    font-size: 15px;
}

#newsletterForm input::placeholder {
    color: rgba(0,0,0,.55);
}

#newsletterForm button {
    border: none;
    background: transparent;

    cursor: pointer;

    font-weight: 700;
}


/* ================= FOOTER ================= */

.footer {
    background: var(--green-dark);
    color: white;

    padding: 85px max(35px, calc((100vw - 1380px) / 2)) 30px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 100px;

    padding-bottom: 80px;
}

.footer-brand p {
    max-width: 360px;

    margin-top: 25px;

    color: rgba(255,255,255,.55);

    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}

.footer-links div {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.footer-links h4 {
    margin-bottom: 10px;

    color: var(--lime);

    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.footer-links a {
    color: rgba(255,255,255,.65);

    font-size: 13px;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;

    padding-top: 25px;

    border-top: 1px solid rgba(255,255,255,.12);

    color: rgba(255,255,255,.4);

    font-size: 11px;
}

.footer-bottom div {
    display: flex;
    gap: 25px;
}


/* ================= MOBILE ================= */

@media (max-width: 1000px) {

    .nav {
        gap: 18px;
    }

    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .work-card:nth-child(2) {
        border-right: none;
    }

    .intro-content,
    .work-heading,
    .impact-heading,
    .insights-top {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat:nth-child(2) {
        border-right: none;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-large {
        grid-row: auto;
    }

    .project-large .project-image {
        height: 500px;
    }

    .insights-grid {
        grid-template-columns: 1fr 1fr;
    }

    .insight:last-child {
        display: none;
    }

    .newsletter {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 760px) {

    .header {
        padding: 18px 0;
    }

    .nav-container {
        width: calc(100% - 35px);
    }

    .nav {
        position: fixed;

        top: 78px;
        left: 18px;
        right: 18px;

        padding: 30px;

        display: none;
        flex-direction: column;
        align-items: flex-start;

        background: var(--cream);

        box-shadow: 0 20px 50px rgba(0,0,0,.15);

        border-radius: 15px;
    }

    .nav.active {
        display: flex;
    }

    .nav-button {
        width: 100%;
        text-align: center;
    }

    .menu-button {
        display: block;
    }

    .hero-content,
    .statement-content,
    .join-content {
        width: calc(100% - 35px);
    }

    .hero h1 {
        font-size: 49px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-scroll {
        display: none;
    }

    .section,
    .section-dark,
    .section-light {
        padding: 90px 20px;
    }

    .section-label {
        margin-bottom: 45px;
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    .work-card {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.15);
    }

    .stats {
        grid-template-columns: 1fr 1fr;
        margin-top: 60px;
    }

    .stat {
        padding: 25px 10px;
    }

    .projects-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 30px;
    }

    .project-large .project-image,
    .project-image {
        height: 400px;
    }

    .insights-grid {
        grid-template-columns: 1fr;
    }

    .insight:last-child {
        display: block;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}


@media (max-width: 480px) {

    .logo-text small {
        display: none;
    }

    .hero h1 {
        font-size: 43px;
    }

    .statement h2,
    .join h2 {
        font-size: 52px;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .stat {
        border-right: none;
        border-bottom: 1px solid #cfd0ca;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

}