:root {
    --ink: #202321;
    --muted: #6a6e69;
    --paper: #f7f6f2;
    --line: #deddd7;
    --accent: #8b7656;
    --white: #fff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
}

.site-header {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5vw;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, .96);
    z-index: 10;
}

.brand {
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    letter-spacing: .06em;
}

.brand span {
    color: var(--accent);
}

nav {
    display: flex;
    gap: 24px;
}

nav a,
.footerlinks a {
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
}

nav a.active,
nav a:hover {
    color: var(--accent);
}

.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(120deg, #f4f1e9, #e5e1d8);
    padding: 7vw;
}

.hero-inner {
    max-width: 850px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 12px;
    color: var(--accent);
    font-weight: 700;
}

h1 {
    font-size: clamp(42px, 6vw, 78px);
    line-height: 1.04;
    margin: .2em 0;
}

.lead {
    font-size: 21px;
    max-width: 760px;
    color: #4d514d;
}

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

.btn {
    display: inline-block;
    padding: 13px 20px;
    background: var(--ink);
    color: white;
    text-decoration: none;
}

.btn.secondary {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
}

.section,
.pagehead {
    padding: 72px 7vw;
}

.pagehead {
    background: var(--paper);
    padding-top: 90px;
    padding-bottom: 60px;
}

.pagehead p {
    max-width: 760px;
}

.pagehead h1 {
    font-size: clamp(38px, 5vw, 64px);
}

.section h2 {
    font-size: 32px;
    margin-top: 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    padding: 28px;
    border: 1px solid var(--line);
    min-height: 190px;
}

.card h3,
.card-title {
    margin-top: 0;
    font-size: 20px;
    line-height: 1.3;
}

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

.steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.steps div {
    padding: 18px 12px;
    border-top: 2px solid var(--accent);
}

.steps b {
    display: block;
    color: var(--accent);
    font-size: 22px;
}

.steps span {
    font-size: 13px;
}

.wide {
    max-width: 850px;
    font-size: 19px;
}

.split,
.project-placeholder {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.quote {
    font-size: 26px;
    line-height: 1.45;
    border-left: 3px solid var(--accent);
    padding-left: 28px;
}

.placeholder-img {
    min-height: 360px;
    background: #e6e3db;
    display: grid;
    place-items: center;
    color: #777;
    letter-spacing: .12em;
}

.project-figure {
    margin: 0;
}

.project-image {
    width: 100%;
    height: auto;
    display: block;
    background: #f3f1ec;
    border: 1px solid #ddd8cd;
    aspect-ratio: 1400 / 990;
    object-fit: contain;
}

.project-figure figcaption {
    margin-top: 10px;
    font-size: 13px;
    color: var(--muted);
}

.muted {
    color: var(--muted);
}

.contactbox,
.legal {
    max-width: 850px;
}

footer {
    padding: 35px 5vw;
    background: var(--ink);
    color: white;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

footer span {
    color: #c8cbc7;
}

.footerlinks {
    display: flex;
    gap: 18px;
}

.footerlinks a {
    color: white;
}


/* Accessibility */

a:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

nav a[aria-current="page"],
.footerlinks a[aria-current="page"] {
    text-decoration: underline;
    text-underline-offset: 4px;
}


/* Privacy information notice */

.privacy-notice {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 1000;

    max-width: 820px;
    margin: 0 auto;
    padding: 20px 24px;

    background: var(--ink);
    color: var(--white);

    box-shadow: 0 10px 35px rgba(0, 0, 0, .22);
}

.privacy-notice[hidden] {
    display: none;
}

.privacy-notice__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.privacy-notice__text {
    min-width: 0;
}

.privacy-notice__text strong {
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
}

.privacy-notice__text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #e4e5e2;
}

.privacy-notice__text a {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.privacy-notice__button {
    flex: 0 0 auto;

    border: 1px solid var(--white);
    background: var(--white);
    color: var(--ink);

    padding: 10px 18px;

    font: inherit;
    font-weight: 700;

    cursor: pointer;
}

.privacy-notice__button:hover {
    background: transparent;
    color: var(--white);
}

.privacy-notice__button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}


/* Tablet */

@media (max-width: 900px) {

    .site-header {
        height: auto;
        padding: 18px 5vw;
        align-items: flex-start;
        gap: 18px;
    }

    .site-header nav {
        flex-wrap: wrap;
        gap: 10px 16px;
    }

    nav {
        justify-content: flex-end;
    }

    .brand {
        white-space: nowrap;
    }

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

    .steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .split,
    .project-placeholder {
        grid-template-columns: 1fr;
    }
}


/* Mobile */

@media (max-width: 600px) {

    .site-header {
        position: static;
        display: block;
    }

    .brand {
        display: block;
        margin-bottom: 12px;
    }

    nav {
        justify-content: flex-start;
    }

    .site-header nav {
        row-gap: 8px;
    }

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

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

    .section,
    .pagehead {
        padding: 48px 6vw;
    }

    .pagehead h1 {
        overflow-wrap: anywhere;
    }

    .hero {
        padding: 70px 6vw;
        min-height: auto;
    }

    .lead {
        font-size: 18px;
    }

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

    footer {
        display: block;
    }

    .footerlinks {
        margin-top: 20px;
        flex-wrap: wrap;
    }

    .privacy-notice {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 18px;
    }

    .privacy-notice__content {
        display: block;
    }

    .privacy-notice__button {
        width: 100%;
        margin-top: 16px;
    }
}