@font-face {
    font-family: Oswald;
    src: url('../fonts/Oswald.ttf') format('truetype');
    font-weight: 200 700;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans.ttf') format('truetype');
    font-weight: 300 800;
    font-style: normal;
    font-display: swap
}

:root {
    --ink: #262824;
    --olive: #7b874a;
    --line: #a9aca6;
    --width: 900px;
    font-family: 'Open Sans', Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.55;
    font-weight: 400;
    font-synthesis: none;
    color-scheme: light;
    scroll-behavior: smooth;
    scroll-padding-top: 84px
}

* {
    box-sizing: border-box
}

body {
    margin: 0
}

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

a:focus-visible {
    outline: 2px solid var(--olive);
    outline-offset: 5px
}

img {
    display: block;
    width: 100%;
    height: auto
}

figure {
    margin: 0
}

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

h1,
h2,
h3,
.slogan,
.navigation {
    font-family: Oswald, 'Arial Narrow', Arial, sans-serif
}

h1,
h2,
h3 {
    text-transform: uppercase
}

p {
    margin-bottom: 1.5em
}

p:last-child {
    margin-bottom: 0
}

.skip-link {
    position: fixed;
    left: 20px;
    top: -100px;
    z-index: 10;
    background: #fff;
    padding: 12px
}

.skip-link:focus {
    top: 12px
}

.brand {
    width: min(var(--width), calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    padding: 56px 0 38px
}

.name {
    margin: 0;
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 500;
    white-space: nowrap
}

.slogan {
    font-size: 1.6rem;
    line-height: 1.3;
    color: var(--olive);
    font-weight: 500;
    white-space: nowrap;
    justify-self: start
}

.navigation {
    position: sticky;
    top: 0;
    z-index: 5;
    background: rgba(255, 255, 255, .98)
}

.nav-inner {
    width: min(var(--width), calc(100% - 48px));
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 16px 0 28px;
    flex-wrap: wrap
}

.navigation a {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.5;
    transition: color .2s
}

.navigation a:hover,
.navigation a:focus-visible,
.navigation a.active {
    color: var(--olive)
}

.page-column {
    width: min(var(--width), calc(100% - 48px));
    margin: 0 auto
}

.opening-photo img {
    aspect-ratio: 1.75;
    object-fit: cover;
    object-position: 50% 41%
}

.section {
    scroll-margin-top: 92px;
    padding-top: 74px
}

.service:first-of-type {
    padding-top: 36px
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 42px;
    margin-bottom: 48px
}

.section-heading h2 {
    font-size: 2.25rem;
    line-height: 1.3;
    letter-spacing: .12em;
    font-weight: 500;
    flex: 0 1 auto;
    margin: 0;
    overflow-wrap: anywhere
}

.section-heading>span {
    height: 1px;
    background: var(--line);
    flex: 1;
    min-width: 30px;
    margin-top: 13px
}

.section-copy,
.about-copy,
.about-details {
    font-size: 1rem
}

.section-copy p {
    margin-bottom: 1.5em
}

.section-copy p:last-child {
    margin-bottom: 0
}

.about {
    padding-top: 84px
}

.about .section-heading {
    margin-bottom: 52px
}

.about-columns {
    display: grid;
    grid-template-columns: 44% 42%;
    gap: 14%
}

.about h3,
.contact h3 {
    font-size: 1rem;
    letter-spacing: .16em;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 16px
}

.about ul {
    margin: 0;
    padding-left: 20px
}

.about li {
    padding-left: 2px;
    margin-bottom: 3px
}

.fields {
    margin-top: 76px
}

.closing-photo {
    margin-top: 90px
}

.closing-photo img {
    aspect-ratio: 2;
    object-fit: cover;
    object-position: center 48%
}

.contact {
    padding-top: 68px;
    padding-bottom: 122px
}

.contact .section-heading {
    margin-bottom: 64px
}

.contact-columns {
    display: grid;
    grid-template-columns: 31% 25% 29%;
    gap: 7.5%;
    font-size: 1rem
}

.contact-intro {
    line-height: 1.65;
    margin: 0
}

.contact-methods {
    display: grid;
    align-content: start;
    gap: 52px
}

.contact h3 {
    margin-bottom: 7px
}

.contact-methods a {
    text-decoration: underline;
    text-underline-offset: 3px;
    overflow-wrap: anywhere
}

.contact-methods a:hover {
    color: var(--olive)
}

.contact-address p {
    font-family: Oswald, 'Arial Narrow', sans-serif;
    letter-spacing: .13em;
    line-height: 1.8;
    font-size: 1.05rem
}

.footer {
    width: min(1020px, calc(100% - 48px));
    margin: 0 auto;
    background: var(--olive);
    color: #fff;
    padding: 17px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    font-size: .75rem
}

.footer a {
    text-decoration: underline;
    text-underline-offset: 3px
}

.footer a:hover {
    opacity: .8
}

.legal {
    width: min(900px, calc(100% - 48px));
    margin: 0 auto;
    padding: 52px 0 86px;
    font-size: 1rem;
    overflow-wrap: anywhere
}

.legal .back-link {
    display: inline-block;
    margin-bottom: 36px;
    border-bottom: 1px solid var(--olive)
}

.legal h1 {
    font-size: 2.8rem;
    font-weight: 500;
    letter-spacing: .1em;
    line-height: 1.3
}

.legal h2 {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: .08em;
    line-height: 1.4;
    margin-top: 54px;
    scroll-margin-top: 95px
}

.legal h3 {
    font-size: 1.2rem;
    letter-spacing: .07em;
    margin-top: 28px;
    font-weight: 500;
    line-height: 1.4
}

.legal p {
    margin-bottom: 1.3em
}

@media(max-width:900px) {
    .brand {
        gap: 16px
    }

    .name {
        font-size: 2.7rem
    }

    .slogan {
        font-size: 1.3rem
    }

    .nav-inner {
        gap: 24px
    }

    .section-heading h2 {
        font-size: 2rem
    }

    .contact-columns {
        grid-template-columns: 31% 29% 30%;
        gap: 5%
    }

    .section-heading {
        gap: 28px
    }
}

@media(max-width:680px) {
    :root {
        scroll-padding-top: 116px
    }

    .brand {
        padding: 32px 0 24px;
        gap: 12px;
        grid-template-columns: 1fr auto 1fr
    }

    .name {
        font-size: 1.9rem
    }

    .slogan {
        font-size: .9rem;
        white-space: normal;
        max-width: 75px
    }

    .nav-inner {
        gap: 12px 20px;
        padding: 13px 0 22px
    }

    .navigation a {
        font-size: .9rem
    }

    .section {
        padding-top: 52px;
        scroll-margin-top: 120px
    }

    .service:first-of-type {
        padding-top: 28px
    }

    .section-heading {
        gap: 20px;
        margin-bottom: 28px
    }

    .section-heading h2 {
        font-size: 1.55rem;
        letter-spacing: .08em
    }

    .section-heading>span {
        min-width: 20px;
        margin-top: 8px
    }

    .about .section-heading {
        margin-bottom: 32px
    }

    .about-columns {
        grid-template-columns: 1fr;
        gap: 36px
    }

    .about-details {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px
    }

    .fields {
        margin-top: 0
    }

    .closing-photo {
        margin-top: 52px
    }

    .closing-photo img {
        aspect-ratio: 1.7
    }

    .contact {
        padding-top: 48px;
        padding-bottom: 64px
    }

    .contact .section-heading {
        margin-bottom: 32px
    }

    .contact-columns {
        grid-template-columns: 1fr 1fr;
        gap: 32px
    }

    .contact-intro {
        grid-column: 1/-1
    }

    .contact-methods {
        gap: 28px
    }

    .contact-address p {
        font-size: 1rem;
        letter-spacing: .07em
    }

    .footer {
        padding: 17px 22px;
        gap: 15px
    }

    .legal {
        padding-top: 36px
    }

    .legal h2 {
        font-size: 1.6rem
    }

    .opening-photo img {
        aspect-ratio: 1.6
    }
}

@media(max-width:390px) {
    .name {
        font-size: 1.6rem
    }

    .slogan {
        font-size: .8rem
    }

    .brand {
        gap: 10px
    }

    .nav-inner {
        gap: 10px 16px
    }

    .navigation a {
        font-size: .875rem
    }

    .section-heading h2 {
        font-size: 1.35rem;
        letter-spacing: .055em
    }

    .section-heading {
        gap: 16px
    }

    .about-details {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .contact-columns {
        grid-template-columns: 1fr;
        gap: 26px
    }

    .contact-intro {
        grid-column: auto
    }

    .footer {
        flex-wrap: wrap
    }

    .contact-address p {
        font-size: 1rem
    }
}

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

    * {
        transition: none !important
    }
}