* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: "DM Sans", sans-serif;
    background-color: #f5f2e9;
    color: #182019;
}


/* NAVIGATION */

header {
    padding: 24px 6%;
}


nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    row-gap: 14px;
}


.brand {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-decoration: none;
    color: #1c241c;
}


.brand-logo {
    display: block;
    width: 320px;
    height: auto;
}


.nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px;
    row-gap: 10px;
}


.nav-links a {
    color: #1c241c;
    text-decoration: none;
}


.nav-links > a:not(.nav-cta) {
    position: relative;
}

.nav-links > a:not(.nav-cta)::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -5px;

    width: 100%;
    height: 1px;

    background-color: #203c2a;

    transform: scaleX(0);
    transform-origin: right;

    transition: transform 0.25s ease;
}

.nav-links > a:not(.nav-cta):hover::after {
    transform: scaleX(1);
    transform-origin: left;
}


.nav-cta {
    padding: 10px 18px;
    background-color: #203a2b;
    color: white !important;
    border-radius: 3px;
}


/* HERO */

.hero {
    min-height: 85vh;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 80px 8%;

    background:
        radial-gradient(
            circle at 82% 32%,
            rgba(66, 95, 69, 0.22),
            transparent 32%
        ),
        radial-gradient(
            circle at 65% 75%,
            rgba(130, 151, 116, 0.10),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #f6f3ea 0%,
            #eaede2 100%
        );
}


.eyebrow {
    font-size: 10px;
    font-weight: 600;

    letter-spacing: 5px;
    text-transform: uppercase;

    color: #637365;

    margin-bottom: 32px;
}


.hero h1 {
    font-family: "DM Serif Display", serif;

    font-size: clamp(62px, 8vw, 118px);
    font-weight: 400;

    line-height: 0.88;
    letter-spacing: -4px;

    max-width: 1150px;
}


.hero-description {
    max-width: 590px;

    font-size: 18px;
    line-height: 1.75;

    margin-top: 40px;

    color: #566057;
}


.hero-buttons {
    display: flex;
    gap: 15px;

    margin-top: 35px;
}


.primary-button,
.secondary-button {
    padding: 16px 26px;

    text-decoration: none;
    border-radius: 999px;
}


.primary-button {
    background-color: #203a2b;
    color: white;
}


.secondary-button {
    border: 1px solid #203a2b;
    color: #203a2b;
}


/* SECTIONS */

section:not(.hero) {
    padding: 100px 8%;
}


/* ---------------- SERVICES ---------------- */

.services-section {
    background-color: #172319;
    color: #f5f2e9;
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    column-gap: 60px;
    margin-bottom: 80px;
}

.section-label {
    font-size: 11px;
    letter-spacing: 4px;
    color: #9aaa94;
    padding-top: 12px;
}

.section-heading h2 {
    font-size: clamp(45px, 6vw, 85px);
    line-height: 1;
    letter-spacing: -3px;
    max-width: 900px;
}

.section-intro {
    grid-column: 2;
    max-width: 600px;
    margin-top: 30px;
    font-size: 17px;
    line-height: 1.7;
    color: #abb6aa;
}


/* SERVICE CARDS */

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid rgba(255,255,255,0.15);
}

.service-card {
    min-height: 320px;
    padding: 45px 35px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    position: relative;

    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}

.service-card:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.15);
}

.service-card:hover {
    background-color: #203326;
}

.service-number {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    color: #839582;
    margin-bottom: 80px;
}

.service-card h3 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 18px;
}

.service-card p {
    max-width: 440px;
    line-height: 1.7;
    color: #aeb9ad;
}


/* ---------------- ABOUT ---------------- */

.about-section {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 60px;

    background-color: #f5f2e9;
    color: #182019;
}

.about-label p {
    font-size: 11px;
    letter-spacing: 4px;
    color: #667368;
    padding-top: 12px;
}

.about-content {
    max-width: 850px;
}

.about-content h2 {
    font-size: clamp(48px, 6vw, 85px);
    line-height: 1;
    letter-spacing: -3px;
    margin-bottom: 45px;
}

.about-lead {
    font-size: 24px;
    line-height: 1.5;
    max-width: 750px;
    margin-bottom: 35px;
}

.about-body {
    max-width: 620px;
    font-size: 17px;
    line-height: 1.8;
    color: #566057;
}


/* ---------------- CONTACT ---------------- */

.contact-section {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 60px;

    background-color: #172319;
    color: #f5f2e9;
}

.contact-label p {
    font-size: 11px;
    letter-spacing: 4px;
    color: #9aaa94;
    padding-top: 12px;
}

.contact-content h2 {
    font-size: clamp(50px, 7vw, 95px);
    line-height: 0.95;
    letter-spacing: -4px;

    margin-bottom: 35px;
}

.contact-intro {
    max-width: 600px;

    font-size: 18px;
    line-height: 1.7;

    color: #abb6aa;

    margin-bottom: 60px;
}

.contact-details {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-link {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 28px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.15);

    color: #f5f2e9;
    text-decoration: none;

    font-size: clamp(18px, 2vw, 28px);

    transition: opacity 0.2s ease;
}

.contact-link span {
    font-size: 10px;
    letter-spacing: 3px;
    color: #839582;
}

.contact-link:hover {
    opacity: 0.65;
}


/* ---------------- RECENT WORK ---------------- */

.work-section {
    background-color: #f5f2e9;
    color: #182019;
}

.work-heading {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 60px;
    margin-bottom: 70px;
}

.work-heading h2 {
    font-size: clamp(48px, 6vw, 85px);
    line-height: 1;
    letter-spacing: -3px;
    max-width: 900px;
    margin-bottom: 30px;
}

.work-intro {
    max-width: 600px;
    font-size: 17px;
    line-height: 1.7;
    color: #566057;
}


/* GALLERY */

.work-grid {
    columns: 2;
    column-gap: 28px;
}

.project-card {
    margin: 0 0 28px;
    break-inside: avoid;

    overflow: hidden;

    background-color: #172319;

    border-radius: 4px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.project-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.10);
}

.project-card img {
    display: block;
    width: 100%;
    height: auto;

    transition:
        transform 0.5s ease,
        opacity 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.015);
}


/* ---------------- WHY CHOOSE US ---------------- */

.why-section {
    background-color: #172319;
    color: #f5f2e9;
}

.why-heading {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 60px;

    margin-bottom: 75px;
}

.why-heading h2 {
    font-size: clamp(48px, 6vw, 85px);
    line-height: 1;
    letter-spacing: -3px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.why-card {
    padding: 45px 35px;

    min-height: 280px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.why-card:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.why-card span {
    display: block;

    font-size: 10px;
    letter-spacing: 2px;

    color: #839582;

    margin-bottom: 55px;
}

.why-card h3 {
    font-size: 28px;
    font-weight: 500;

    margin-bottom: 18px;
}

.why-card p {
    max-width: 460px;

    font-size: 16px;
    line-height: 1.7;

    color: #aeb9ad;
}


/* ---------------- FOOTER ---------------- */

.site-footer {
    padding: 80px 8% 30px;

    background-color: #101711;
    color: #f5f2e9;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;

    padding-bottom: 70px;
}

.footer-logo {
    width: 280px;
    max-width: 100%;
    height: auto;
}

.footer-nav,
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.footer-nav p,
.footer-contact p {
    font-size: 10px;
    letter-spacing: 3px;

    color: #839582;

    margin-bottom: 10px;
}

.footer-nav a,
.footer-contact a {
    color: #f5f2e9;
    text-decoration: none;

    font-size: 15px;
}

.footer-nav a:hover,
.footer-contact a:hover {
    opacity: 0.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;

    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    font-size: 11px;

    color: #839582;
}


/* ---------------- MOBILE MENU BUTTON ---------------- */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    border: 0;
    background: transparent;

    cursor: pointer;

    position: relative;
    z-index: 1001;
}

.menu-toggle span {
    position: absolute;
    left: 8px;

    width: 26px;
    height: 2px;

    background-color: #182019;

    transition:
        transform 0.3s ease,
        top 0.3s ease;
}

.menu-toggle span:first-child {
    top: 16px;
}

.menu-toggle span:last-child {
    top: 25px;
}

.menu-toggle.active span:first-child {
    top: 21px;
    transform: rotate(45deg);
}

.menu-toggle.active span:last-child {
    top: 21px;
    transform: rotate(-45deg);
}


/* ---------------- SCROLL REVEAL ---------------- */

.reveal {
    opacity: 0;
    transform: translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ---------------- MOBILE ---------------- */

@media (max-width: 700px) {

    header {
        padding: 22px 6%;
    }

    .brand-logo {
        width: 190px;
    }

    .navbar {
        position: relative;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;

        top: calc(100% + 15px);
        left: 0;
        right: 0;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 25px;

        background-color: #f5f2e9;

        border: 1px solid rgba(24, 32, 25, 0.12);

        box-shadow:
            0 20px 40px rgba(0, 0, 0, 0.08);

        opacity: 0;
        visibility: hidden;

        transform: translateY(-10px);

        transition:
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0.25s ease;

        z-index: 1000;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);
    }

    .nav-links a {
        display: block;

        width: 100%;

        padding: 15px 0;

        font-size: 15px;

        border-bottom: 1px solid rgba(24, 32, 25, 0.08);
    }

    .nav-links .nav-cta {
        margin-top: 18px;

        padding: 15px 20px;

        text-align: center;

        border: none;
        border-radius: 999px;

        background-color: #203c2a;
        color: white;
    }

    .hero {
        padding: 130px 7% 70px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-heading {
        display: block;
    }

    .section-label {
        margin-bottom: 25px;
    }

    .section-heading h2 {
        letter-spacing: -2px;
    }

    .section-intro {
        margin-top: 25px;
    }

    .about-section {
        display: block;
    }

    .about-label {
        margin-bottom: 30px;
    }

    .about-content h2 {
        letter-spacing: -2px;
    }

    .about-lead {
        font-size: 20px;
    }

    .contact-section {
        display: block;
    }

    .contact-label {
        margin-bottom: 30px;
    }

    .contact-content h2 {
        letter-spacing: -2px;
    }

    .contact-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .work-heading {
        display: block;
    }

    .work-heading h2 {
        letter-spacing: -2px;
        margin-top: 25px;
    }

    .work-grid {
        columns: 1;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card:nth-child(odd) {
        border-right: none;
    }

    .service-card {
        min-height: auto;
        padding: 40px 0;
    }

    .service-number {
        margin-bottom: 45px;
    }

    .why-heading {
        display: block;
    }

    .why-heading .section-label {
        margin-bottom: 25px;
    }

    .why-heading h2 {
        letter-spacing: -2px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-card:nth-child(odd) {
        border-right: none;
    }

    .why-card {
        min-height: auto;
        padding: 40px 0;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .footer-logo {
        width: 220px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }

}


/* ---------------- ACCESSIBILITY ---------------- */

a:focus-visible,
button:focus-visible {
    outline: 2px solid #59775f;
    outline-offset: 5px;
}


@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

}