:root {
    --forest: #183d2f;
    --forest-light: #285b46;
    --leaf: #84a867;
    --cream: #f3f0e8;
    --paper: #faf9f5;
    --ink: #14231c;
    --muted: #66736c;
    --line: #dce1da;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

.site-header,
main,
footer {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 116px;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    color: var(--forest);
    text-decoration: none;
}

.brand-name {
    display: grid;
    line-height: 1.25;
}

.brand-name strong {
    font-size: 13px;
    font-weight: 650;
}

.brand-name span {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-weight: 700;
}

.header-contact {
    color: var(--forest);
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr);
    gap: clamp(48px, 8vw, 112px);
    align-items: center;
    min-height: 520px;
    padding-block: 80px;
}

.hero-copy {
    max-width: 720px;
}

.eyebrow {
    margin: 0 0 20px;
    color: var(--forest-light);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.hero .eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero .eyebrow span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--leaf);
    box-shadow: 0 0 0 5px rgb(132 168 103 / 15%);
}

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

h1,
.section-heading h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1.05;
}

h1 {
    max-width: 680px;
    margin-bottom: 30px;
    color: var(--forest);
    font-size: clamp(52px, 7.1vw, 88px);
}

.intro {
    max-width: 650px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: clamp(18px, 2vw, 21px);
    line-height: 1.75;
}

.office-hours {
    position: relative;
    overflow: hidden;
    padding: 42px;
    color: var(--white);
    background: var(--forest);
    border-radius: 3px;
    box-shadow: 0 24px 60px rgb(24 61 47 / 16%);
}

.office-hours::after {
    position: absolute;
    right: -48px;
    bottom: -62px;
    width: 190px;
    height: 190px;
    border: 34px solid rgb(255 255 255 / 5%);
    border-radius: 50%;
    content: "";
}

.hours-icon {
    display: grid;
    width: 50px;
    height: 50px;
    margin-bottom: 55px;
    place-items: center;
    color: var(--forest);
    background: var(--cream);
    border-radius: 50%;
}

.hours-icon svg {
    width: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.card-label {
    margin-bottom: 6px;
    color: #b8cdbf;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.office-hours h2 {
    margin-bottom: 25px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 500;
}

.office-hours dl {
    position: relative;
    z-index: 1;
    margin: 0;
}

.office-hours dl div {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-block: 15px;
    border-top: 1px solid rgb(255 255 255 / 16%);
}

.office-hours dt,
.office-hours dd {
    margin: 0;
}

.office-hours dt {
    color: #dce6df;
}

.office-hours dd {
    font-weight: 800;
    white-space: nowrap;
}

.contacts {
    padding: 95px 0 110px;
    border-top: 1px solid var(--line);
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: end;
    margin-bottom: 48px;
}

.section-heading .eyebrow {
    margin-bottom: 9px;
}

.section-heading h2 {
    margin: 0;
    color: var(--forest);
    font-size: clamp(40px, 5vw, 60px);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
}

.contact-card {
    min-height: 215px;
    padding: 38px 42px 36px 0;
    border-bottom: 1px solid var(--line);
}

.contact-card:nth-child(odd):not(.contact-card-wide) {
    padding-left: 42px;
    border-left: 1px solid var(--line);
}

.contact-card-wide {
    grid-column: 1 / -1;
}

.contact-card .role {
    margin-bottom: 19px;
    color: var(--forest-light);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.contact-card h3 {
    margin-bottom: 18px;
    color: var(--ink);
    font-size: 23px;
    font-weight: 650;
    line-height: 1.3;
}

.contact-card a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 17px;
    text-decoration: none;
    transition: color 160ms ease;
}

.contact-card a:hover,
.contact-card a:focus-visible,
.header-contact:hover,
.header-contact:focus-visible,
footer a:hover,
footer a:focus-visible {
    color: var(--leaf);
}

.phone-icon {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    font-size: 12px;
}

footer {
    display: flex;
    justify-content: space-between;
    padding-block: 32px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

footer p {
    margin: 0;
}

footer a {
    color: var(--forest);
    font-weight: 700;
    text-underline-offset: 4px;
}

@media (max-width: 800px) {
    .site-header,
    main,
    footer {
        width: min(100% - 32px, 620px);
    }

    .site-header {
        min-height: 96px;
    }

    .header-contact {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 55px;
        padding-block: 64px 72px;
    }

    h1 {
        font-size: clamp(48px, 15vw, 72px);
    }

    .office-hours {
        padding: 34px 28px;
    }

    .hours-icon {
        margin-bottom: 42px;
    }

    .contacts {
        padding-block: 68px 80px;
    }

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

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

    .contact-card,
    .contact-card:nth-child(odd):not(.contact-card-wide) {
        min-height: 0;
        padding: 30px 0;
        border-left: 0;
    }

    .contact-card-wide {
        grid-column: auto;
    }
}

@media (max-width: 420px) {
    .brand-name strong {
        font-size: 10px;
    }

    .brand-name span {
        font-size: 19px;
    }

    h1 {
        font-size: 46px;
    }

    .office-hours dl div {
        display: block;
    }

    .office-hours dd {
        margin-top: 3px;
    }
}

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

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
    }
}
