:root {
    --ink: #173d37;
    --muted: #64746e;
    --paper: #f7f8f4;
    --white: #ffffff;
    --mint: #dcece1;
    --coral: #e77d64;
    --line: rgba(23, 61, 55, .14);
    --display: Georgia, 'Times New Roman', serif;
    --sans: 'Avenir Next', Avenir, 'Segoe UI', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    z-index: -1;
    top: -240px;
    right: -180px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(23, 61, 55, .1);
    border-radius: 50%;
    box-shadow: 0 0 0 52px rgba(23, 61, 55, .025), 0 0 0 104px rgba(23, 61, 55, .025);
    pointer-events: none;
}

a {
    color: inherit;
}

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

.topbar,
main,
footer {
    width: min(1160px, calc(100% - 64px));
    margin-inline: auto;
}

.topbar {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: clamp(24px, 4vw, 56px);
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
    color: var(--muted);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.site-nav a {
    text-decoration: none;
}

.site-nav a:hover {
    color: var(--coral);
}

.site-nav .nav-appointment {
    padding: 10px 14px;
    background: var(--coral);
    color: var(--white);
    border-radius: 8px;
}

.site-nav .nav-appointment:hover {
    background: var(--ink);
    color: var(--white);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
}

.menu-icon {
    position: relative;
    margin: 11px auto;
}

.menu-icon::before,
.menu-icon::after {
    position: absolute;
    content: '';
    left: 0;
}

.menu-icon::before {
    top: -7px;
}

.menu-icon::after {
    top: 7px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.brand-mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: var(--ink);
    color: var(--white);
    font-size: 1.25rem;
    line-height: 1;
}

.location {
    color: var(--muted);
    font-size: .78rem;
    letter-spacing: .12em;
    line-height: 1;
    white-space: nowrap;
    text-transform: uppercase;
}

main {
    padding: 86px 0 110px;
}

.back-link {
    display: inline-block;
    margin-bottom: 36px;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-decoration: none;
    text-transform: uppercase;
}

.back-link:hover {
    color: var(--coral);
}

.eyebrow,
.section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 24px;
    color: var(--coral);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.eyebrow::before,
.section-label::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--coral);
}

h1,
h2,
h3 {
    font-family: var(--display);
    font-weight: 400;
}

h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(3.6rem, 8vw, 7.4rem);
    letter-spacing: -.045em;
    line-height: .92;
}

h1 em {
    color: var(--coral);
}

.lead {
    max-width: 600px;
    margin: 30px 0 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.7vw, 1.25rem);
    line-height: 1.65;
}

.section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: .86rem;
}

footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 24px;
    justify-content: space-between;
    padding: 20px 0 28px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .75rem;
}

@media (max-width: 720px) {

    .topbar,
    main,
    footer {
        width: min(100% - 40px, 560px);
    }

    .topbar {
        padding: 22px 0;
    }

    .location {
        display: none;
    }

    .topbar {
        gap: 0;
    }

    .site-nav {
        position: absolute;
        z-index: 10;
        top: calc(100% + 1px);
        right: 0;
        display: none;
        flex-direction: column;
        width: min(260px, calc(100vw - 40px));
        margin-left: 0;
        padding: 10px;
        gap: 2px;
        background: var(--white);
        border: 1px solid var(--line);
        box-shadow: 0 18px 35px rgba(23, 61, 55, .12);
        font-size: .62rem;
    }

    .site-nav a {
        padding: 12px 10px;
    }

    .menu-toggle {
        display: block;
    }

    .site-nav.is-open {
        display: flex;
    }

    main {
        padding: 64px 0 76px;
    }

    h1 {
        font-size: clamp(3.8rem, 18vw, 6.4rem);
    }

    .section-heading {
        display: block;
    }

    .section-heading p {
        margin-top: 8px;
    }

    footer {
        display: block;
        line-height: 1.7;
    }

    footer span {
        display: block;
    }

}

@media (prefers-reduced-motion: reduce) {

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