:root {
    color-scheme: light;
    --ink: #18251e;
    --paper: #f4f1e8;
    --moss: #d7e287;
    --coral: #e5795f;
    --muted: #68746d;
    --line: rgba(24, 37, 30, .18);
    --serif: Georgia, "Times New Roman", serif;
    --sans: "DM Sans", sans-serif;
    --display: "Space Grotesk", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5.5rem;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
}

a {
    color: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 4px;
}

img {
    display: block;
    max-width: 100%;
}

.skip-link {
    position: absolute;
    z-index: 20;
    top: .75rem;
    left: .75rem;
    padding: .7rem 1rem;
    background: var(--moss);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.wrap {
    width: min(1120px, calc(100% - 3rem));
    margin-inline: auto;
}

.site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 5;
    color: white;
}

.nav {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, .28);
}

.wordmark {
    display: inline-flex;
    gap: .65rem;
    align-items: center;
    text-decoration: none;
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 700;
}

.mark {
    width: 14px;
    height: 14px;
    display: inline-block;
    background: var(--moss);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links a {
    font-size: .88rem;
    text-decoration: none;
    color: rgba(255, 255, 255, .86);
    transition: color .2s ease;
}

.nav-links a:hover {
    color: var(--moss);
}

.nav-links .nav-contact {
    padding: .7rem 1rem;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 2px;
    color: white;
}

.menu-toggle {
    display: none;
    border: 1px solid rgba(255, 255, 255, .55);
    background: transparent;
    color: white;
    padding: .55rem .75rem;
    font: 600 .85rem var(--sans);
    cursor: pointer;
}

.hero {
    position: relative;
    min-height: 690px;
    min-height: min(780px, 100svh);
    display: flex;
    align-items: end;
    overflow: hidden;
    color: white;
    background: #24352b;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 54%;
    animation: settle 1.2s ease-out both;
}

.hero::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(14, 24, 18, .78) 0%, rgba(14, 24, 18, .36) 57%, rgba(14, 24, 18, .08) 100%), linear-gradient(0deg, rgba(14, 24, 18, .55), transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-block: 10rem 5.5rem;
    animation: rise .75s .1s ease-out both;
}

.eyebrow {
    margin: 0 0 1.25rem;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: var(--moss);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 780px;
    margin-bottom: 1.25rem;
    font: 500 clamp(3.3rem, 8vw, 7rem)/.98 var(--display);
}

.hero-copy {
    max-width: 480px;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, .84);
    font-size: 1.08rem;
    line-height: 1.7;
}

.button {
    min-height: 48px;
    display: inline-flex;
    gap: .75rem;
    align-items: center;
    justify-content: center;
    padding: .8rem 1.1rem;
    border: 0;
    border-radius: 2px;
    background: var(--moss);
    color: var(--ink);
    font: 700 .9rem var(--sans);
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

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

.button .arrow {
    font-size: 1.15rem;
    line-height: 1;
}

.hero-note {
    position: absolute;
    right: 0;
    bottom: 5.6rem;
    color: rgba(255, 255, 255, .75);
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

.project {
    padding-block: 7rem 7.5rem;
}

.section-top {
    display: flex;
    gap: 2rem;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.section-top .eyebrow {
    color: #64734b;
}

h2 {
    margin-bottom: 0;
    font: 500 clamp(2rem, 5vw, 4.25rem)/1.05 var(--display);
}

.project-intro {
    max-width: 370px;
    margin-bottom: .2rem;
    color: var(--muted);
    line-height: 1.7;
}

.project-frame {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    background: #344638;
}

.project-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}

.project-frame:hover img {
    transform: scale(1.025);
}

.image-caption {
    position: absolute;
    right: 1.1rem;
    bottom: 1rem;
    padding: .45rem .65rem;
    background: rgba(24, 37, 30, .76);
    color: white;
    font-size: .72rem;
}

.project-details {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(240px, .7fr);
    gap: 4rem;
    padding-top: 2.5rem;
}

.project-details h3 {
    margin-bottom: 1rem;
    font: 500 1.75rem/1.2 var(--display);
}

.project-details p {
    max-width: 590px;
    margin-bottom: 1.25rem;
    color: var(--muted);
    line-height: 1.8;
}

.text-link {
    display: inline-flex;
    gap: .6rem;
    align-items: center;
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.text-link:hover {
    color: #53633b;
}

.facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-content: start;
    border-top: 1px solid var(--line);
}

.fact {
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--line);
}

.fact:nth-child(odd) {
    margin-right: 1rem;
}

.fact-label {
    display: block;
    margin-bottom: .35rem;
    color: var(--muted);
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.fact-value {
    font: 600 1rem var(--display);
}

.team {
    padding-block: 6rem 7rem;
    background: #e8e8d9;
}

.team-heading {
    display: flex;
    gap: 2rem;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.team-heading>p {
    max-width: 390px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.member {
    min-width: 0;
    border-top: 1px solid rgba(24, 37, 30, .35);
    padding-top: 1rem;
}

.member-portrait {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin-bottom: 1.1rem;
    background: #c5cbb0;
}

.member-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.72);
    transition: transform .5s ease;
}

.member:hover .member-portrait img {
    transform: scale(1.035);
}

.member h3 {
    margin-bottom: .25rem;
    font: 600 1.2rem var(--display);
}

.member-role {
    margin-bottom: .85rem;
    color: var(--muted);
    font-size: .88rem;
}

.member-link {
    color: var(--ink);
    font-size: .84rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact {
    position: relative;
    overflow: hidden;
    padding-block: 6.5rem;
    background: var(--ink);
    color: var(--paper);
}

.contact::before {
    position: absolute;
    width: 360px;
    height: 360px;
    right: -120px;
    top: -190px;
    content: "";
    border: 1px solid rgba(215, 226, 135, .28);
    border-radius: 50%;
    box-shadow: 0 0 0 35px rgba(215, 226, 135, .035), 0 0 0 70px rgba(215, 226, 135, .03);
}

.contact-content {
    position: relative;
    display: flex;
    gap: 2rem;
    align-items: end;
    justify-content: space-between;
}

.contact .eyebrow {
    color: var(--moss);
}

.contact h2 {
    max-width: 640px;
    margin-bottom: 1rem;
}

.contact-copy {
    max-width: 440px;
    margin-bottom: 0;
    color: rgba(244, 241, 232, .72);
    line-height: 1.7;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
}

.contact-actions .button {
    flex: 0 0 auto;
}

.social-link {
    min-height: 48px;
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    padding: .7rem .8rem;
    color: var(--paper);
    font-size: .88rem;
    text-decoration: none;
}

.social-link:hover {
    color: var(--moss);
}

.footer {
    padding-block: 1.25rem;
    background: #111a15;
    color: rgba(244, 241, 232, .67);
    font-size: .78rem;
}

.footer-inner {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.footer p {
    margin: 0;
}

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

.footer a:hover {
    color: var(--moss);
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes settle {
    from {
        transform: scale(1.035);
    }

    to {
        transform: scale(1);
    }
}

@media (max-width: 700px) {
    .wrap {
        width: min(100% - 2rem, 540px);
    }

    .nav {
        min-height: 70px;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
    }

    .nav-links {
        position: absolute;
        top: 62px;
        right: 1rem;
        left: 1rem;
        display: none;
        gap: 0;
        padding: .5rem 1rem;
        background: var(--ink);
    }

    .nav-links.is-open {
        display: grid;
    }

    .nav-links a,
    .nav-links .nav-contact {
        display: block;
        padding: .9rem 0;
        border: 0;
    }

    .hero {
        min-height: 670px;
        min-height: 88svh;
    }

    .hero-image {
        object-position: 58% center;
    }

    .hero-content {
        padding-block: 8rem 4rem;
    }

    .hero-note {
        display: none;
    }

    .section-top,
    .team-heading,
    .contact-content {
        align-items: start;
        flex-direction: column;
    }

    .project {
        padding-block: 5rem;
    }

    .project-frame {
        min-height: 330px;
    }

    .project-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team {
        padding-block: 5rem;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1rem;
    }

    .contact {
        padding-block: 5rem;
    }
}

@media (max-width: 420px) {
    h1 {
        font-size: 3.2rem;
    }

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

    .member-portrait {
        aspect-ratio: 5 / 3;
    }

    .footer-inner {
        align-items: start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}