:root {
    --forest: #18392b;
    --forest-dark: #10271e;
    --forest-light: #2d5a43;

    --sage: #879b79;
    --sage-light: #dfe6d9;

    --cream: #f5f3ec;
    --paper: #fbfaf6;
    --white: #ffffff;

    --gold: #c4a66b;

    --ink: #20261f;
    --muted: #70776e;

    --line: #d9ddd4;

    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;

    --container: 1180px;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.6;
}


img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


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


button,
input,
textarea,
select {
    font: inherit;
}


.container {
    width: min(90%, var(--container));
    margin: 0 auto;
}


.section {
    padding: 120px 0;
}


.eyebrow {
    margin-bottom: 20px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .67rem;
    font-weight: 700;
}


.eyebrow.dark {
    color: var(--forest-light);
}


h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.12;
}


h1 {
    font-size: clamp(3.5rem, 7vw, 7rem);
}


h2 {
    font-size: clamp(2.4rem, 5vw, 4.5rem);
}


h1 span,
h2 span {
    display: block;
}


.button {
    min-height: 55px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    font-size: .76rem;
    font-weight: 700;
    transition: .25s ease;
}


.button-primary {
    background: var(--gold);
    color: var(--forest-dark);
}


.button-primary:hover {
    background: #d1b77e;
    transform: translateY(-2px);
}


.button-outline {
    color: white;
    border-color: rgba(255,255,255,.6);
}


.button-outline:hover {
    background: white;
    color: var(--forest);
}


/* HEADER */


.site-header {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    width: 100%;
    color: white;
    border-bottom: 1px solid rgba(255,255,255,.18);
}


.nav-container {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


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


.logo-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid currentColor;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
}


.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}


.logo-text strong {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 600;
}


.logo-text small {
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: .48rem;
    opacity: .65;
}


.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}


.main-nav a {
    font-size: .75rem;
    font-weight: 600;
}


.nav-cta {
    padding: 12px 19px;
    border: 1px solid rgba(255,255,255,.6);
}


/* MOBILE MENU */


.menu-toggle {
    display: none;
    border: none;
    background: none;
    cursor: pointer;
}


.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background: white;
}


/* HERO */


.hero {
    min-height: 850px;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}


.hero-background {
    position: absolute;
    inset: 0;

    background:
        url("images/hero.jpg")
        center / cover
        no-repeat;

    background-color: var(--forest-dark);
}


.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(16,39,30,.94),
            rgba(16,39,30,.72) 48%,
            rgba(16,39,30,.25)
        );
}


.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding-top: 80px;
}


.hero-text {
    max-width: 560px;
    margin: 30px 0 38px;
    color: rgba(255,255,255,.82);
    font-size: 1rem;
}


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


.hero-bottom {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    width: 100%;
    border-top: 1px solid rgba(255,255,255,.18);
}


.hero-bottom-inner {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.hero-bottom span {
    color: rgba(255,255,255,.58);
    text-transform: uppercase;
    letter-spacing: .11em;
    font-size: .62rem;
}


/* INTRO */


.intro {
    background: var(--cream);
}


.intro-grid {
    display: grid;
    grid-template-columns: 110px 1.2fr .8fr;
    gap: 60px;
    align-items: end;
}


.intro-label {
    align-self: start;
    color: var(--forest-light);
    font-size: .65rem;
    font-weight: 700;
}


.intro-label span {
    display: block;
    margin-bottom: 12px;
    font-size: 1.1rem;
}


.intro-label p {
    letter-spacing: .15em;
}


.intro-copy {
    max-width: 440px;
}


.intro-copy p {
    color: var(--muted);
    margin-bottom: 18px;
}


.text-link {
    display: inline-flex;
    gap: 12px;
    margin-top: 10px;
    font-size: .77rem;
    font-weight: 700;
}


.text-link span {
    transition: .2s ease;
}


.text-link:hover span {
    transform: translateX(5px);
}


/* SERVICES */


.services {
    background: var(--paper);
}


.section-heading {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 100px;
    align-items: end;
    margin-bottom: 65px;
}


.section-heading > p {
    max-width: 420px;
    color: var(--muted);
}


.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}


.service-card {
    position: relative;
    min-height: 320px;
    padding: 35px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: .25s ease;
}


.service-card:hover {
    background: var(--forest);
    color: white;
}


.service-number {
    position: absolute;
    top: 28px;
    right: 30px;
    color: var(--forest-light);
    font-size: .63rem;
    font-weight: 700;
}


.service-card:hover .service-number {
    color: var(--gold);
}


.service-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 35px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    color: var(--forest-light);
    font-size: 1.2rem;
}


.service-card:hover .service-icon {
    border-color: rgba(255,255,255,.3);
    color: var(--gold);
}


.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.45rem;
}


.service-card p {
    max-width: 300px;
    color: var(--muted);
    font-size: .79rem;
}


.service-card:hover p {
    color: rgba(255,255,255,.65);
}


.service-card a {
    position: absolute;
    bottom: 32px;
    left: 35px;
    font-size: .68rem;
    font-weight: 700;
}


/* FEATURE */


.feature {
    background: var(--sage-light);
}


.feature-grid {
    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: 110px;
    align-items: center;
}


.feature-image {
    height: 620px;
    position: relative;
}


.image-label {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    background: rgba(16,39,30,.82);
    color: white;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .6rem;
}


.feature-content > p:not(.eyebrow) {
    max-width: 500px;
    margin-top: 24px;
    color: var(--muted);
}


.feature-points {
    margin-top: 45px;
    border-top: 1px solid #c7d0c0;
}


.feature-points div {
    display: flex;
    gap: 30px;
    padding: 17px 0;
    border-bottom: 1px solid #c7d0c0;
}


.feature-points strong {
    color: var(--forest-light);
    font-size: .65rem;
}


.feature-points span {
    font-size: .77rem;
    font-weight: 700;
}


/* WORK */


.work {
    background: var(--white);
}


.work-heading {
    display: grid;
    grid-template-columns: 1fr .6fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 60px;
}


.work-heading > p {
    max-width: 350px;
    color: var(--muted);
}


.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 12px;
}


.gallery-item {
    position: relative;
    overflow: hidden;
}


.gallery-large {
    grid-row: span 2;
}


.gallery-item img {
    transition: transform .5s ease;
}


.gallery-item:hover img {
    transform: scale(1.04);
}


.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        transparent 50%,
        rgba(16,39,30,.75)
    );
}


.gallery-item figcaption {
    position: absolute;
    z-index: 2;
    left: 20px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    color: white;
    font-size: .78rem;
    font-weight: 600;
}


.gallery-item figcaption span {
    margin-bottom: 3px;
    color: var(--gold);
    font-size: .58rem;
}


/* CTA */


.cta {
    background: var(--forest);
    color: white;
    text-align: center;
}


.cta-content {
    max-width: 850px;
}


.cta h2 {
    margin-bottom: 22px;
}


.cta > .container > p:not(.eyebrow) {
    margin-bottom: 32px;
    color: rgba(255,255,255,.65);
}


/* CONTACT */


.contact {
    background: var(--forest-dark);
    color: white;
}


.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 110px;
}


.contact-intro > p:not(.eyebrow) {
    max-width: 440px;
    margin-top: 25px;
    color: rgba(255,255,255,.6);
}


.contact-details {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 50px;
}


.contact-details a,
.contact-details div {
    display: flex;
    flex-direction: column;
    font-size: .95rem;
    font-weight: 600;
}


.contact-details small {
    margin-bottom: 3px;
    color: rgba(255,255,255,.4);
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: .58rem;
}


/* FORM */


.quote-form {
    padding: 45px;
    background: var(--paper);
    color: var(--ink);
}


.form-header {
    display: flex;
    justify-content: space-between;
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--line);
}


.form-header span {
    color: var(--forest-light);
    font-size: .63rem;
    font-weight: 700;
}


.form-header p {
    font-family: var(--serif);
    font-size: 1.15rem;
}


.quote-form label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 19px;
    font-size: .67rem;
    font-weight: 700;
}


.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}


.quote-form input,
.quote-form textarea,
.quote-form select {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--line);
    background: white;
    color: var(--ink);
    outline: none;
}


.quote-form input:focus,
.quote-form textarea:focus,
.quote-form select:focus {
    border-color: var(--forest-light);
}


.quote-form textarea {
    resize: vertical;
}


.quote-form .button {
    width: 100%;
    border: none;
    cursor: pointer;
}


.form-note {
    margin-top: 12px;
    color: var(--muted);
    text-align: center;
    font-size: .6rem;
}


/* FOOTER */


.site-footer {
    padding: 75px 0 25px;
    background: #0b1b14;
    color: white;
}


.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 80px;
}


.footer-brand p {
    max-width: 300px;
    margin-top: 20px;
    color: rgba(255,255,255,.42);
    font-size: .77rem;
}


.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.footer-column h4 {
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: .62rem;
}


.footer-column a,
.footer-column span {
    color: rgba(255,255,255,.48);
    font-size: .73rem;
}


.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 60px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.28);
    font-size: .58rem;
}


/* RESPONSIVE */


@media (max-width: 900px) {

    .main-nav {
        display: none;
    }


    .main-nav.mobile-open {
        display: flex;
        position: absolute;
        top: 92px;
        left: 0;
        width: 100%;
        padding: 25px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        background: var(--forest-dark);
    }


    .menu-toggle {
        display: block;
    }


    .hero {
        min-height: 750px;
    }


    .hero-bottom-inner {
        display: none;
    }


    .intro-grid,
    .section-heading,
    .feature-grid,
    .work-heading,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }


    .intro-label {
        display: none;
    }


    .feature-image {
        height: 500px;
    }


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


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


    .footer-brand {
        grid-column: 1 / -1;
    }

}


@media (max-width: 600px) {

    .section {
        padding: 70px 0;
    }


    .hero {
        min-height: 680px;
    }


    .hero-content {
        padding-top: 60px;
    }


    h1 {
        font-size: 3.25rem;
    }


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


    .hero-actions .button {
        width: 100%;
    }


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


    .service-card {
        min-height: 290px;
    }


    .feature-image {
        height: 380px;
    }


    .gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
    }


    .gallery-large {
        grid-row: span 1;
    }


    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }


    .quote-form {
        padding: 25px;
    }


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


    .footer-brand {
        grid-column: auto;
    }


    .footer-bottom {
        flex-direction: column;
    }

}