:root {
    --bg: #f8f7f2;
    --surface: #fffefa;
    --text: #17342e;
    --muted: #52665e;
    --line: #d7ddd2;
    --green: #236356;
    --sage: #d7e7b6;
    --gold: #c7a86a;
    --tint: #edf1e9;
    --shadow: 0 18px 48px #17342e0c;
    --head: Georgia, "Times New Roman", serif;
    --body: Arial, Helvetica, sans-serif;
    color-scheme: light
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.65 var(--body);
    overflow-wrap: anywhere
}

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

a {
    color: var(--green);
    text-underline-offset: 4px
}

button,
input,
select,
textarea {
    font: inherit
}

button {
    cursor: pointer
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid #c79c41;
    outline-offset: 4px
}

[hidden] {
    display: none !important
}

.wrap {
    width: min(1240px, calc(100% - 96px));
    margin-inline: auto
}

.skip {
    position: absolute;
    left: 12px;
    top: -100px;
    z-index: 100;
    background: var(--surface);
    padding: 10px
}

.skip:focus {
    top: 10px
}

.utility {
    background: #102f2a;
    color: #d6e4d7;
    font-size: 10px;
    letter-spacing: .1em
}

.utility .wrap {
    display: flex;
    justify-content: space-between;
    padding-block: 8px;
    gap: 10px
}

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

header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--surface);
    border-bottom: 1px solid var(--line)
}

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

.brand {
    display: block;
    flex-shrink: 0;
    text-decoration: none
}

.logo {
    width: 205px;
    height: auto;
    max-height: 76px;
    object-fit: contain;
    object-position: left center
}

.dark-logo {
    display: none
}

nav {
    display: flex;
    align-items: center;
    gap: 19px
}

nav a {
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    color: var(--text);
    white-space: nowrap;
    padding-block: 8px;
    position: relative
}

nav a[aria-current=page]:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold)
}

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

.iconbutton {
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    font-size: 19px
}

.menu-toggle {
    display: none
}

.button {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    background: #215b4d;
    border: 1px solid #215b4d;
    border-radius: 3px;
    color: #fff;
    padding: 13px 19px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.4;
    transition: background .2s, transform .2s
}

.button:hover {
    background: #153e33;
    transform: translateY(-2px)
}

.button.lime {
    background: var(--sage);
    color: #15372c;
    border-color: var(--sage)
}

.button.secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--line)
}

.textlink {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--green);
    font-weight: 700;
    text-decoration: none;
    border: 0;
    border-bottom: 1px solid var(--gold);
    background: none;
    padding: 4px 0;
    align-self: start;
    font-size: 14px
}

.textlink:hover {
    border-color: var(--green)
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: .18em;
    font-weight: 700;
    color: var(--green);
    line-height: 1.5
}

.eyebrow:before {
    content: "";
    width: 29px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0
}

.pagehero .eyebrow {
    color: #d5e4bc
}

h1,
h2,
h3 {
    line-height: 1.12;
    margin: 0 0 16px;
    letter-spacing: -.035em;
    font-family: var(--head);
    font-weight: 400;
    text-wrap: balance
}

h1 {
    font-size: clamp(46px, 5.4vw, 85px);
    margin-top: 26px
}

h2 {
    font-size: clamp(34px, 4vw, 57px)
}

h3 {
    font-size: 25px;
    line-height: 1.2
}

h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin: 25px 0 10px
}

p {
    margin: 0 0 18px
}

em {
    font-weight: 400;
    color: var(--green)
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 26px
}

.statsband {
    border-bottom: 1px solid var(--line)
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
    padding: 30px 0;
    list-style: none
}

.stats li {
    border-right: 1px solid var(--line);
    padding: 4px 28px;
    font-size: 13px;
    color: var(--muted)
}

.stats li:first-child {
    padding-left: 0
}

.stats li:last-child {
    border: 0
}

.stats b {
    display: block;
    font: 48px/1.15 var(--head);
    color: var(--green);
    margin-bottom: 9px
}

.small {
    font-size: 12px;
    color: var(--muted)
}

.statsband .small {
    text-align: right;
    margin-bottom: 18px
}

.section {
    padding-block: 80px
}

.sectionhead {
    display: flex;
    justify-content: space-between;
    gap: 35px;
    align-items: end;
    margin-bottom: 32px
}

.sectionhead h2 {
    margin: 13px 0 0
}

.sectionhead>p {
    max-width: 360px;
    color: var(--muted);
    margin: 0
}

.bento {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px
}

.servicecard {
    border: 1px solid var(--line);
    background: var(--surface);
    padding: 25px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .2s, border-color .2s
}

.servicecard:hover {
    transform: translateY(-4px);
    border-color: var(--gold)
}

.servicecard h3 {
    margin: 8px 0;
    font-size: 28px
}

.servicecard p {
    font-size: 14px;
    color: var(--muted);
    margin: 0 0 8px
}

.servicecard .textlink {
    margin-top: auto
}

.cardtop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--green);
    font-size: 11px;
    letter-spacing: .12em
}

.cardtop svg {
    width: 38px;
    height: 38px
}

.tint {
    background: var(--tint)
}

.profile-preview,
.detailgrid,
.founder {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 80px);
    align-items: start
}

.profile-preview h2,
.detailgrid h2 {
    margin-top: 15px
}

.why,
.checklist {
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px
}

.why li,
.checklist li {
    padding: 11px 0 11px 27px;
    border-bottom: 1px solid var(--line);
    position: relative
}

.why li:before,
.checklist li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: bold
}

.profile-preview {
    align-items: center
}

.profile-preview figure {
    background: var(--tint);
    padding: 25px;
    max-width: 420px
}

.profile-preview figure img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover
}

.muted {
    color: var(--muted)
}

figure {
    margin: 0
}

figcaption {
    padding-top: 12px;
    color: var(--muted);
    font-size: 13px
}

.photogrid,
.gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px
}

.photogrid img,
.gallery img {
    width: 100%;
    height: 240px;
    object-fit: cover
}

.faq details {
    border-top: 1px solid var(--line);
    padding: 18px 0
}

.faq details:last-child {
    border-bottom: 1px solid var(--line)
}

summary {
    cursor: pointer;
    font-weight: 700
}

.faq p {
    color: var(--muted);
    margin: 15px 0 0;
    max-width: 850px
}

.pagehero {
    background: #12382f;
    color: #f4f6ed;
    overflow: hidden;
    position: relative
}

.pageintro {
    display: grid;
    grid-template-columns: 1.4fr .7fr;
    gap: 35px;
    align-items: center;
    min-height: 310px;
    padding-block: 48px
}

.pageintro h1 {
    font-size: clamp(40px, 5vw, 69px);
    margin: 18px 0
}

.pageintro p {
    color: #d9e5d8;
    max-width: 650px;
    font-size: 17px
}

.pagephoto {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border: 1px solid #ffffff30
}

.contours {
    height: 250px;
    background: repeating-radial-gradient(ellipse at 83% 60%, transparent 0 11px, #acc4a330 12px 13px, transparent 14px 24px);
    mask-image: linear-gradient(90deg, transparent, #000)
}

.panel {
    border: 1px solid var(--line);
    padding: 27px;
    background: var(--surface);
    box-shadow: var(--shadow);
    min-width: 0
}

.panel h3 {
    margin-top: 10px
}

.panel .button {
    margin-top: 10px
}

.related {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px
}

.related>.textlink {
    padding: 10px 0
}

.portrait {
    width: 200px;
    aspect-ratio: 1;
    object-fit: cover;
    border: 6px solid var(--tint);
    margin-bottom: 25px
}

.founder .links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

.founder .role {
    color: var(--green);
    font-weight: bold
}

.founder li {
    margin-bottom: 10px
}

.filters,
.formgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.filters {
    max-width: 800px;
    margin: 18px 0
}

.publist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.publication {
    padding: 25px;
    background: var(--surface);
    border: 1px solid var(--line)
}

.publication h3 {
    font-size: 23px;
    margin: 16px 0
}

.publication p {
    color: var(--muted);
    font-size: 14px
}

.tag {
    display: inline-block;
    color: var(--green);
    background: var(--tint);
    padding: 5px 9px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .09em;
    font-weight: bold
}

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

.filter {
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    padding: 8px 15px;
    border-radius: 2px
}

.filter[aria-pressed=true] {
    background: #215b4d;
    color: white;
    border-color: #215b4d
}

.gallery-open {
    padding: 0;
    display: block;
    position: relative;
    border: 0;
    width: 100%;
    background: var(--tint)
}

.gallery-open span {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: #133a31;
    color: white;
    padding: 5px 11px
}

.gallery figcaption {
    display: grid;
    gap: 8px;
    justify-items: start
}

.reading {
    max-width: 850px
}

.reading h2 {
    font-size: 34px;
    margin-top: 25px
}

.contactgrid {
    grid-template-columns: .7fr 1.3fr
}

.contactgrid aside {
    min-width: 0
}

label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px
}

input:not([type=checkbox]),
textarea,
select {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 11px 12px;
    margin-top: 6px;
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 3px
}

textarea {
    resize: vertical
}

input[type=checkbox] {
    accent-color: #215b4d
}

.consent {
    font-weight: 400
}

output {
    display: block;
    font: 32px var(--head);
    color: var(--green);
    padding: 15px 0
}

hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 26px 0
}

footer {
    background: var(--surface);
    border-top: 1px solid var(--line);
    padding: 48px 0 0
}

.footergrid {
    display: grid;
    grid-template-columns: 1.4fr .8fr 1fr;
    gap: 40px
}

.footergrid .logo {
    width: 235px;
    max-height: 90px;
    margin-bottom: 18px
}

.footergrid h3 {
    font: 700 13px var(--body);
    letter-spacing: .1em;
    text-transform: uppercase
}

.footergrid a:not(.brand) {
    display: block;
    margin: 8px 0;
    font-size: 13px;
    text-decoration: none
}

.footergrid p {
    font-size: 14px;
    margin-bottom: 10px
}

.footend {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    border-top: 1px solid var(--line);
    padding: 19px 0;
    margin-top: 30px;
    color: var(--muted);
    font-size: 12px
}

.footend span {
    margin-right: auto
}

.floating {
    position: fixed;
    z-index: 10;
    bottom: 18px;
    right: 18px;
    background: #10382d;
    color: #fff;
    text-decoration: none;
    border: 1px solid #b7ccaa;
    padding: 12px 15px;
    border-radius: 4px;
    box-shadow: 0 8px 28px #0003;
    font-size: 13px;
    font-weight: bold
}

dialog {
    max-width: 94vw;
    max-height: 94vh;
    border: 0;
    background: #102f2a;
    color: #fff;
    padding: 20px;
    border-radius: 5px
}

dialog::backdrop {
    background: #000c
}

dialog img {
    max-height: 75vh;
    max-width: 85vw;
    object-fit: contain
}

dialog p {
    margin: 12px 0 0
}

.close-dialog {
    margin: 0 0 10px auto;
    color: white;
    border-color: #fff5
}

@media(max-width:1150px) {
    .wrap {
        width: calc(100% - 56px)
    }

    nav {
        gap: 12px
    }

    .logo {
        width: 175px
    }
}

@media(max-width:860px) {
    .wrap {
        width: calc(100% - 36px)
    }

    .utility a:first-of-type {
        display: none
    }

    .nav {
        min-height: 76px
    }

    .menu-toggle {
        display: grid
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--surface);
        padding: 16px 24px;
        border-bottom: 1px solid var(--line);
        gap: 0
    }

    nav.open {
        display: flex
    }

    nav a {
        padding: 11px 0;
        font-size: 15px
    }

    .bento {
        grid-template-columns: 1fr 1fr
    }

    .section {
        padding-block: 50px
    }

    .sectionhead {
        display: block
    }

    .sectionhead>p {
        margin-top: 12px
    }

    .sectionhead .textlink {
        margin-top: 12px
    }

    .pageintro {
        grid-template-columns: 1fr;
        gap: 15px
    }

    .contours {
        display: none
    }

    .pagephoto {
        height: 220px
    }

    .related,
    .photogrid,
    .gallery {
        grid-template-columns: 1fr 1fr
    }

    .profile-preview,
    .detailgrid,
    .founder {
        gap: 25px
    }

    .footergrid {
        grid-template-columns: 1fr 1fr
    }

    .footergrid>div:first-child {
        grid-column: span 2
    }
}

@media(max-width:560px) {
    .logo {
        width: 155px
    }

    .nav {
        gap: 8px
    }

    .navtools {
        gap: 6px
    }

    .utility {
        font-size: 8px;
        letter-spacing: .04em
    }

    .utility .wrap {
        gap: 7px
    }

    .iconbutton {
        width: 35px;
        height: 35px
    }

    .stats {
        grid-template-columns: 1fr 1fr;
        gap: 18px
    }

    .stats li {
        padding: 0 12px
    }

    .stats li:nth-child(2) {
        border: 0
    }

    .stats li:nth-child(3) {
        padding-left: 0
    }

    .stats b {
        font-size: 40px
    }

    .bento,
    .profile-preview,
    .detailgrid,
    .founder,
    .related,
    .photogrid,
    .gallery,
    .publist,
    .filters,
    .formgrid,
    .footergrid {
        grid-template-columns: 1fr
    }

    .servicecard {
        min-height: 0;
        padding: 22px
    }

    .footergrid>div:first-child {
        grid-column: auto
    }

    .panel {
        padding: 19px
    }

    .floating {
        padding: 9px 12px
    }

    .section h2 {
        font-size: 38px
    }

    .footend {
        padding-bottom: 60px
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important
    }
}