@media (max-width:1100px) {
    .container {
        width: min(calc(100% - 48px), var(--max))
    }

    .nav {
        gap: 24px
    }

    .brand {
        white-space: nowrap
    }

    .nav-links {
        gap: 20px
    }
}

@media (max-width:900px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 0;
        background: transparent;
        border: 1px solid rgba(255, 255, 255, .35);
        color: #fff;
        cursor: pointer
    }

    .menu-toggle i {
        display: block;
        width: 18px;
        height: 1px;
        background: currentColor;
        margin-inline: auto
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 78px;
        right: 24px;
        left: 24px;
        z-index: 20;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        background: var(--ink);
        box-shadow: 0 12px 30px rgba(0, 0, 0, .22)
    }

    .nav-links.open {
        display: flex
    }

    .nav-links>a {
        padding: 14px 16px
    }

    .nav-links>a.button {
        margin-top: 6px
    }
}

:root {
    --ink: #202321;
    --paper: #f4f3ef;
    --muted: #777873;
    --line: #d8d8d1;
    --accent: #d58b3d;
    --white: #fff;
    --max: 1180px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55
}

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

.container {
    width: min(calc(100% - 72px), var(--max));
    margin-inline: auto
}

.site-header {
    position: absolute;
    z-index: 10;
    inset: 0 0 auto;
    color: #fff
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    font-size: 1rem
}

.brand em {
    font-style: normal;
    color: var(--accent);
    font-size: .68rem;
    margin-left: 3px
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    background: var(--accent);
    color: var(--ink);
    font-size: 1.55rem;
    line-height: 1;
    font-weight: 400
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: .82rem;
    font-weight: 500
}

.nav-links>a:not(.button) {
    opacity: .8;
    transition: opacity .2s
}

.nav-links>a:not(.button):hover {
    opacity: 1
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    min-height: 52px;
    padding: 0 22px;
    background: var(--accent);
    border: 1px solid var(--accent);
    color: var(--ink);
    font-weight: 700;
    font-size: .82rem;
    transition: transform .2s, background .2s
}

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

.button span,
.text-link span {
    font-size: 1.1em
}

.button-small {
    min-height: 43px;
    padding: 0 17px
}

.hero {
    position: relative;
    min-height: 760px;
    background: #28302d;
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden
}

.hero-image {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(25, 31, 29, .9) 0%, rgba(25, 31, 29, .56) 46%, rgba(25, 31, 29, .3)), center/cover
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(25, 31, 29, .45), transparent 40%)
}

.hero-content {
    position: relative;
    padding-top: 80px
}

.eyebrow {
    margin: 0 0 23px;
    color: var(--accent);
    font-size: .69rem;
    letter-spacing: .16em;
    font-weight: 700
}

.eyebrow.light {
    color: #e5b170
}

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

h1,
h2 {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -.045em;
    line-height: 1.02;
    margin-bottom: 25px
}

h1 {
    font-size: clamp(3.2rem, 7vw, 6.45rem);
    max-width: 930px
}

h1 span,
h2 span {
    color: var(--accent)
}

.hero-copy {
    max-width: 510px;
    color: rgba(255, 255, 255, .78);
    font-size: 1.1rem
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 29px;
    margin-top: 35px
}

.text-link {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    font-weight: 700;
    font-size: .8rem;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 5px
}

.text-link.light {
    color: #fff;
    border-color: rgba(255, 255, 255, .6)
}

.hero-foot {
    position: absolute;
    bottom: 31px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, .62);
    font-size: .66rem;
    letter-spacing: .12em
}

.scroll-note {
    color: var(--accent)
}

.scroll-note b {
    font-size: 1.25rem;
    margin-left: 10px
}

.section {
    padding-block: 145px
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px
}

.split-section h2,
.section-heading h2 {
    font-size: clamp(2.55rem, 4vw, 4.25rem);
    max-width: 600px
}

.intro-copy {
    padding-top: 43px;
    max-width: 460px;
    color: var(--muted)
}

.intro-copy p {
    margin-bottom: 24px
}

.intro-copy .text-link {
    margin-top: 22px
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 64px
}

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

.services {
    background: #ebeae5
}

.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: 310px;
    padding: 31px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background .25s, transform .25s
}

.service-card:hover {
    background: #e1dfd8;
    transform: translateY(-3px)
}

.service-card.featured {
    background: var(--ink);
    color: #fff
}

.service-card.featured:hover {
    background: #2a302d
}

.card-number {
    position: absolute;
    right: 29px;
    top: 31px;
    font-size: .67rem;
    color: var(--accent);
    font-weight: 700
}

.service-icon {
    font-size: 2rem;
    line-height: 1;
    color: var(--accent);
    margin: 4px 0 70px
}

.service-card h3 {
    font-family: 'Space Grotesk';
    font-size: 1.22rem;
    margin-bottom: 12px;
    max-width: 230px
}

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

.featured p {
    color: rgba(255, 255, 255, .62)
}

.service-card>a {
    position: absolute;
    bottom: 28px;
    right: 29px;
    color: var(--accent);
    font-size: 1.35rem
}

.why {
    padding-bottom: 160px
}

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

.benefit {
    padding: 27px 27px 0 0;
    border-right: 1px solid var(--line);
    margin-right: 27px
}

.benefit:last-child {
    border: 0;
    margin: 0
}

.benefit>span,
.process-step>span {
    font-size: .68rem;
    color: var(--accent);
    font-weight: 700
}

.benefit h3 {
    font-family: 'Space Grotesk';
    font-size: 1.18rem;
    margin: 58px 0 13px
}

.benefit p {
    font-size: .88rem;
    color: var(--muted);
    max-width: 210px
}

.project-band {
    padding-block: 125px;
    background: var(--ink);
    color: #fff
}

.project-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px
}

.project-layout h2 {
    font-size: clamp(3rem, 5vw, 5rem)
}

.project-list {
    border-top: 1px solid rgba(255, 255, 255, .23)
}

.project-list div {
    display: flex;
    align-items: center;
    gap: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, .23);
    padding: 18px 0;
    font-family: 'Space Grotesk';
    font-size: 1.05rem
}

.project-list span {
    font: 700 .68rem 'DM Sans';
    color: var(--accent)
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    border-top: 1px solid var(--line)
}

.process-step {
    padding-top: 26px;
    border-right: 1px solid var(--line);
    padding-right: 25px
}

.process-step:last-child {
    border: 0
}

.process-step h3 {
    font-family: 'Space Grotesk';
    font-size: 1.15rem;
    margin: 55px 0 12px
}

.process-step p {
    color: var(--muted);
    font-size: .88rem
}

.cta {
    background: var(--accent);
    padding: 110px 0;
    color: var(--ink)
}

.cta-inner {
    max-width: 800px;
    margin-left: max(36px, calc((100% - var(--max))/2));
}

.cta h2 {
    font-size: clamp(3.5rem, 7vw, 6.6rem)
}

.cta h2 span {
    color: #fff
}

.cta p:not(.eyebrow) {
    max-width: 340px
}

.cta-actions {
    display: flex;
    gap: 12px;
    margin-top: 35px
}

.button-outline {
    background: transparent;
    border-color: var(--ink)
}

.button-outline:hover {
    background: var(--ink);
    color: #fff
}

.contact {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 100px
}

.contact-intro>p:not(.eyebrow) {
    color: var(--muted);
    max-width: 365px
}

.contact-details {
    margin-top: 72px
}

.contact-details h3 {
    font-family: 'Space Grotesk';
    font-size: 1.15rem
}

.contact-details address,
.contact-details a,
.contact-details p {
    display: block;
    color: var(--muted);
    font-style: normal;
    font-size: .9rem;
    margin: 0 0 11px
}

.contact-details a:hover,
.footer-contact a:hover {
    color: var(--accent)
}

.contact-details p {
    margin-top: 20px
}

.quote-form {
    border-top: 1px solid var(--ink);
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 18px
}

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

.quote-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    font: 400 .95rem 'DM Sans';
    color: var(--ink);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
    outline: none;
    resize: vertical
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 1px var(--accent)
}

.form-submit {
    align-self: flex-start;
    margin-top: 14px
}

.form-note {
    font-size: .7rem;
    color: var(--muted);
    margin: 0
}

.site-footer {
    background: #181b1a;
    color: #fff;
    padding: 67px 0 28px
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 73px
}

.brand-light {
    color: #fff
}

.footer-address {
    color: #8f938e;
    font-size: .82rem;
    margin: 31px 0 0;
    max-width: 220px
}

.footer-contact,
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: .82rem;
    color: #8f938e
}

.footer-contact a,
.footer-nav a {
    transition: color .2s
}

.footer-nav a:hover {
    color: var(--accent)
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .14);
    padding-top: 21px;
    display: flex;
    justify-content: space-between;
    color: #6d716d;
    font-size: .68rem
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    color: #fff
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .65s ease, transform .65s ease
}

.reveal.is-visible {
    opacity: 1;
    transform: none
}

@media(max-width:800px) {
    .container {
        width: min(calc(100% - 40px), var(--max))
    }

    .nav {
        height: 74px
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding: 10px
    }

    .menu-toggle i {
        display: block;
        width: 23px;
        height: 1px;
        background: #fff
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        background: var(--ink);
        padding: 22px 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 0
    }

    .nav-links.open {
        display: flex
    }

    .nav-links>a:not(.button) {
        padding: 13px 0;
        border-bottom: 1px solid rgba(255, 255, 255, .12)
    }

    .nav-links .button {
        margin-top: 16px
    }

    .hero {
        min-height: 680px
    }

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

    .hero-foot {
        display: none
    }

    h1 {
        font-size: clamp(2.9rem, 13vw, 5rem)
    }

    .section {
        padding-block: 90px
    }

    .split-section,
    .project-layout,
    .contact {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .intro-copy {
        padding: 0
    }

    .section-heading {
        display: block;
        margin-bottom: 40px
    }

    .section-heading>p {
        margin-top: 25px
    }

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

    .service-card {
        min-height: 280px
    }

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

    .benefit {
        margin: 0;
        padding: 22px 18px 20px 0;
        border-bottom: 1px solid var(--line)
    }

    .benefit:nth-child(odd) {
        border-right: 1px solid var(--line);
        margin-right: 18px
    }

    .benefit h3 {
        margin-top: 38px;
        font-size: 1rem
    }

    .project-band {
        padding-block: 90px
    }

    .project-layout {
        gap: 55px
    }

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

    .process-step {
        padding: 22px 18px 20px 0;
        border-bottom: 1px solid var(--line)
    }

    .process-step:nth-child(odd) {
        border-right: 1px solid var(--line);
        margin-right: 18px
    }

    .process-step h3 {
        margin-top: 38px;
        font-size: 1rem
    }

    .cta {
        padding: 80px 0
    }

    .cta-inner {
        margin-left: 20px;
        width: calc(100% - 40px)
    }

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

    .contact-details {
        margin-top: 45px
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-bottom: 45px
    }

    .footer-bottom {
        display: block
    }

    .footer-bottom span {
        display: block;
        margin-bottom: 8px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *:before,
    *:after {
        transition: none !important;
        animation: none !important
    }
}