:root {
    color-scheme: light;
    --paper: #f5f6f2;
    --surface: #ffffff;
    --ink: #232c2d;
    --muted: #5c6868;
    --line: #d8dfdb;
    --sea: #17616a;
    --sea-dark: #10474e;
    --copper: #b65e37;
    --content-width: 1080px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.65;
}

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

h1,
h2 {
    font-family: "Trebuchet MS", Verdana, sans-serif;
    font-weight: 500;
    line-height: 1.18;
}

h1 {
    max-width: 720px;
    margin-bottom: 24px;
    font-size: 42px;
}

h2 {
    margin-bottom: 18px;
    font-size: 26px;
}

a {
    color: var(--sea-dark);
    text-underline-offset: 3px;
}

a:hover {
    color: var(--copper);
}

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner {
    width: min(var(--content-width), calc(100% - 48px));
    margin: 0 auto;
}

.header-inner {
    display: flex;
    min-height: 94px;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand img {
    display: block;
    width: 190px;
    height: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: "Trebuchet MS", Verdana, sans-serif;
    font-size: 15px;
}

.nav-list a {
    display: block;
    padding: 10px 0;
    color: var(--ink);
    text-decoration: none;
}

.nav-list a[aria-current="page"] {
    color: var(--sea);
    box-shadow: inset 0 -2px var(--copper);
}

.page-content {
    width: min(var(--content-width), calc(100% - 48px));
    min-height: calc(100vh - 190px);
    margin: 0 auto;
    padding: 72px 0 88px;
}

.home-intro,
.content-section,
.services-intro,
.service-detail {
    display: grid;
    align-items: center;
    gap: 64px;
}

.home-intro {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
}

.home-image {
    display: block;
    width: 100%;
    max-height: 460px;
    object-fit: cover;
}

.intro-copy p:not(.eyebrow),
.section-copy > p,
.services-intro p:not(.eyebrow) {
    color: var(--muted);
}

.eyebrow {
    margin-bottom: 12px;
    color: var(--copper);
    font-family: "Trebuchet MS", Verdana, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.content-section {
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
}

.section-copy h2 {
    margin-top: 38px;
    font-size: 21px;
}

.section-image {
    margin: 0;
}

.section-image img {
    display: block;
    width: 100%;
    height: auto;
}

.plain-list {
    margin: 0;
    padding-left: 22px;
    color: var(--muted);
}

.plain-list li {
    padding: 4px 0 4px 5px;
}

.services-intro {
    grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
    padding-bottom: 58px;
    border-bottom: 1px solid var(--line);
}

.services-intro img {
    display: block;
    width: min(100%, 320px);
    height: auto;
    justify-self: end;
}

.capabilities {
    padding: 25px 0;
    border-bottom: 1px solid var(--line);
    font-family: "Trebuchet MS", Verdana, sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.capabilities p {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 22px;
    margin: 0;
}

.capabilities span::before {
    margin-right: 22px;
    color: var(--copper);
    content: "/";
}

.service-process {
    width: min(100%, 430px);
    margin: 38px auto 0;
}

.service-process img {
    display: block;
    width: 100%;
    height: auto;
}

.service-detail {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    padding: 52px 0;
    border-bottom: 1px solid var(--line);
}

.service-detail-reverse .detail-copy {
    order: 1;
}

.detail-image {
    margin: 0;
}

.detail-image img {
    display: block;
    width: 100%;
    max-height: 340px;
    object-fit: contain;
}

.detail-copy h2 {
    color: var(--sea-dark);
}

.site-footer {
    color: #e5ece8;
    background: #263a3b;
    font-family: "Trebuchet MS", Verdana, sans-serif;
    font-size: 13px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 0;
}

.footer-inner p {
    margin: 0;
}

.site-footer a {
    color: #c9dbd5;
}

@media (max-width: 720px) {
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 34px;
    }

    .header-inner,
    .footer-inner,
    .page-content {
        width: min(100% - 36px, var(--content-width));
    }

    .header-inner {
        min-height: 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding: 18px 0;
    }

    .brand img {
        width: 168px;
    }

    .nav-list {
        gap: 25px;
    }

    .page-content {
        min-height: auto;
        padding: 42px 0 56px;
    }

    .home-intro,
    .content-section,
    .services-intro,
    .service-detail {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .home-image {
        max-height: 320px;
    }

    .services-intro {
        padding-bottom: 36px;
    }

    .services-intro img {
        width: min(80%, 300px);
        justify-self: start;
    }

    .service-detail {
        padding: 36px 0;
    }

    .service-detail-reverse .detail-copy {
        order: 0;
    }

    .footer-inner {
        flex-direction: column;
        gap: 8px;
        padding: 18px 0;
    }
}
