@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap');

:root {
    --ink: #253532;
    --muted: #64736d;
    --green: #52746a;
    --sage: #e8efeb;
    --cream: #f7f5ef;
    --line: #dbe4df;
    --accent: #b8795b
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: 'DM Sans', Arial, sans-serif;
    line-height: 1.7;
    font-size: 16px
}

.site-header {
    background: linear-gradient(110deg, #dfece5 0%, #f5f3eb 70%);
    padding: 3.4rem 1.5rem 3rem;
    position: relative;
    overflow: hidden
}

.site-header:after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(82, 116, 106, .2);
    border-radius: 50%;
    right: -100px;
    top: -210px
}

.header-inner {
    max-width: 1160px;
    margin: auto;
    position: relative;
    z-index: 1
}

.eyebrow {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .19em;
    font-size: .72rem;
    font-weight: 700;
    margin-bottom: .8rem
}

.site-header h1 {
    font: 600 clamp(2.2rem, 5vw, 4.6rem)/1.06 'Playfair Display', serif;
    margin: 0;
    color: var(--ink);
    letter-spacing: -.035em
}

.site-header h1 span {
    color: var(--green)
}

.name {
    font-size: 1.15rem;
    margin: .9rem 0 0;
    color: var(--muted)
}

.phone {
    display: inline-block;
    margin-top: 1.25rem;
    color: var(--green);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid var(--green)
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(37, 53, 50, .97);
    box-shadow: 0 5px 20px #25353218
}

.nav-inner {
    max-width: 1160px;
    margin: auto;
    display: flex;
    align-items: center;
    min-height: 58px
}

.menu-toggle {
    display: none
}

.menu-links {
    display: flex;
    gap: .2rem;
    overflow-x: auto;
    scrollbar-width: none
}

.menu-links::-webkit-scrollbar {
    display: none
}

.site-nav a {
    color: #f6f7f3;
    text-decoration: none;
    white-space: nowrap;
    padding: 1rem .9rem;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .02em;
    border-bottom: 3px solid transparent;
    transition: .2s
}

.site-nav a:hover,
.site-nav a.active {
    background: #416058;
    border-color: #d29a7d
}

.page-section {
    padding: 5rem 1.5rem;
    scroll-margin-top: 62px
}

.page-section:nth-child(even) {
    background: #fff
}

.page-section[hidden] {
    display: none
}

.section-inner {
    max-width: 1160px;
    margin: auto
}

.mainimage {
    width: 100%;
    max-width: 480px;
    height: 380px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
    float: left;
    margin: 0 4rem 2.5rem 0;
    box-shadow: 18px 18px 0 var(--sage)
}

.textcolumn {
    max-width: 760px;
    margin: 0 auto;
    padding-top: .2rem
}

.textcolumn:after {
    content: '';
    display: block;
    clear: both
}

h1,
h2 {
    font-family: 'Playfair Display', serif;
    color: var(--ink);
    line-height: 1.2
}

h1 {
    font-size: clamp(2rem, 4vw, 3rem)
}

h2 {
    font-size: 1.55rem;
    margin: 2.1rem 0 .65rem
}

p {
    margin: .7rem 0 1.15rem
}

a {
    color: #3f766d;
    text-underline-offset: 3px
}

.textcolumn>h1:first-child,
.textcolumn>h2:first-child {
    margin-top: 0
}

.logos {
    float: right;
    width: 48%;
    text-align: center
}

.logos img {
    max-width: 145px !important;
    width: 100% !important;
    height: auto !important;
    padding: 10px !important
}

.textcolumn #logopart {
    min-height: 180px
}

#home #defaulttext {
    display: flex;
    flex-direction: column
}

#home #defaulttext #textpart {
    order: 1
}

#home #defaulttext #logopart {
    order: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    min-height: 0;
    padding: 1rem 1.25rem;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(37, 53, 50, .06)
}

#home #defaulttext #logopart .logos {
    float: none;
    width: auto;
    flex: 0 1 150px
}

#about .section-inner {
    display: grid;
    grid-template-columns: minmax(280px, 38%) minmax(0, 1fr);
    gap: 4rem;
    align-items: start
}

#about .mainimage {
    float: none;
    width: 100%;
    height: auto;
    max-width: none;
    object-fit: contain;
    margin: 0;
    box-shadow: 18px 18px 0 var(--sage)
}

#about .textcolumn {
    max-width: none;
    margin: 0
}

#about .livegrid {
    margin-top: 0
}

.livegrid {
    width: 100%;
    border: 0 !important;
    border-collapse: collapse;
    margin-top: 1rem
}

.livegrid td {
    border: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    padding: 1rem .8rem;
    text-align: left;
    vertical-align: top;
    font-size: .94rem
}

.livegrid .item_datum {
    width: 9rem;
    color: var(--accent);
    font-weight: 700;
    border-right: 2px solid var(--green) !important
}

.livegrid .item_text {
    padding-left: 1.2rem
}

.page-section:has(.livegrid) .mainimage {
    height: 470px
}

#maps {
    margin-top: 2rem;
    float: none;
    width: 100%
}

#maps iframe {
    width: 100%;
    max-width: 700px;
    min-height: 350px;
    border: 0;
    border-radius: 4px
}

.page-section:has(#maps) .mainimage {
    height: 420px
}

.page-section:has(.MsoNormal) .mainimage {
    display: none
}

.page-section:has(.MsoNormal) .textcolumn {
    max-width: 900px
}

.MsoNormal,
.MsoListParagraphCxSpFirst,
.MsoListParagraphCxSpMiddle,
.MsoListParagraphCxSpLast {
    font-family: 'DM Sans', Arial, sans-serif !important;
    color: var(--ink) !important;
    line-height: 1.7 !important;
    margin: 0 0 1rem !important;
    background: transparent !important;
    vertical-align: baseline
}

.MsoNormal span,
.MsoListParagraphCxSpFirst span,
.MsoListParagraphCxSpMiddle span,
.MsoListParagraphCxSpLast span {
    font-family: inherit !important;
    color: inherit !important;
    font-size: inherit !important
}

.MsoNormal b span {
    font-weight: 700
}

.MsoNormal:first-child {
    font: 600 2.3rem/1.2 'Playfair Display', serif !important
}

.clear {
    clear: both
}

footer {
    background: var(--ink);
    color: #eaf0ec;
    padding: 2rem 1.5rem;
    font-size: .82rem
}

footer div {
    max-width: 1160px;
    margin: auto;
    display: flex;
    gap: 1.2rem;
    align-items: center;
    flex-wrap: wrap
}

footer span:not(:last-of-type):after {
    content: '·';
    margin-left: 1.2rem;
    color: #91aaa0
}

footer a {
    color: #e3b095;
    margin-left: auto
}

@media(max-width:720px) {
    .site-header {
        padding: 2.5rem 1.2rem 2.2rem
    }

    .site-header h1 {
        font-size: 2.45rem
    }

    .nav-inner {
        padding: 0 1rem;
        position: relative
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        gap: 5px;
        border: 0;
        background: transparent;
        color: #f6f7f3;
        padding: .8rem 0;
        font: 600 .82rem 'DM Sans', sans-serif;
        cursor: pointer
    }

    .menu-toggle span {
        display: block;
        width: 18px;
        height: 2px;
        background: #e3b095;
        position: absolute;
        left: 1rem;
        transition: .2s
    }

    .menu-toggle span:nth-child(1) {
        transform: translateY(-6px)
    }

    .menu-toggle span:nth-child(3) {
        transform: translateY(6px)
    }

    .menu-toggle b {
        margin-left: 28px;
        font-weight: 600
    }

    .menu-links {
        display: none;
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: 58px;
        background: rgba(37, 53, 50, .99);
        flex-direction: column;
        gap: 0;
        padding: .35rem 0 .7rem;
        box-shadow: 0 12px 18px #25353240;
        border-radius: 0 0 8px 8px;
        overflow: hidden
    }

    .menu-links.open {
        display: flex
    }

    .menu-links a {
        padding: .75rem 1.2rem;
        border: 0
    }

    .menu-links a:hover,
    .menu-links a.active {
        border: 0;
        background: #416058
    }

    .page-section {
        padding: 3rem 1.1rem
    }

    .mainimage {
        float: none;
        width: 100%;
        max-width: none;
        height: 260px !important;
        margin: 0 0 2.5rem;
        box-shadow: 10px 10px 0 var(--sage)
    }

    #about .section-inner {
        display: block
    }

    #about .mainimage {
        height: auto !important;
        width: 100%;
        object-fit: contain;
        margin: 0 0 2.5rem;
        box-shadow: 10px 10px 0 var(--sage)
    }

    #home #defaulttext #logopart {
        justify-content: center;
        gap: .8rem;
        margin-left: -.1rem;
        margin-right: -.1rem;
        padding: .85rem .75rem
    }

    #home #defaulttext #logopart .logos {
        flex-basis: 125px
    }

    .textcolumn {
        margin: 0
    }

    .logos {
        float: none;
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 1rem
    }

    .textcolumn #logopart {
        min-height: 0
    }

    .livegrid .item_datum {
        width: 6.5rem;
        font-size: .78rem;
        padding-left: 0
    }

    .livegrid td {
        padding: .8rem .35rem;
        font-size: .86rem
    }

    .livegrid .item_text {
        padding-left: .8rem
    }

    .page-section:has(.MsoNormal) .mainimage {
        display: none
    }

    #maps iframe {
        min-height: 280px
    }

    footer div {
        display: block
    }

    footer span,
    footer a,
    footer strong {
        display: block;
        margin: .35rem 0
    }

    footer span:not(:last-of-type):after {
        display: none
    }

    footer a {
        margin-top: 1rem
    }
}