@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
    --navy: #102c58;
    --teal: #16877e;
    --amber: #f4a411;
    --text: #223047;
    --muted: #627083;
    --line: #dce4e8;
    --soft: #f0f7f7;
    --white: #fff;
    --max: 1120px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #fff;
    color: var(--text);
    font: 16px/1.65 'IBM Plex Sans', sans-serif
}

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

a {
    color: inherit
}

.wrap {
    width: min(var(--max), calc(100% - 40px));
    margin: auto
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--line)
}

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

.brand img {
    width: 285px;
    height: auto
}

.nav-toggle,
.menu-label {
    display: none
}

.nav {
    display: flex;
    gap: 28px
}

.nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: .92rem
}

.nav a:hover,
.nav a[aria-current=page] {
    color: var(--navy);
    text-decoration: underline;
    text-decoration-color: var(--teal);
    text-underline-offset: 7px
}

.eyebrow {
    font: 500 .7rem/1.4 'IBM Plex Mono', monospace;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--teal)
}

h1,
h2,
h3 {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    line-height: 1.08;
    color: var(--navy);
    margin: 0
}

h1 {
    font-size: clamp(2.65rem, 7vw, 5rem);
    max-width: 900px
}

h2 {
    font-size: clamp(2rem, 4vw, 3.25rem)
}

h3 {
    font-size: 1.55rem
}

p {
    margin: 0
}

.lede {
    max-width: 680px;
    margin-top: 24px;
    color: var(--muted);
    font-size: 1.08rem
}

.hero {
    padding: 92px 0 88px;
    border-bottom: 1px solid var(--line);
    74%)
}

.hero h1 {
    margin-top: 18px
}

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

.button {
    display: inline-block;
    background: var(--navy);
    color: #fff;
    text-decoration: none;
    padding: 12px 20px;
    border: 0;
    font: 500 .9rem 'IBM Plex Sans', sans-serif;
    cursor: pointer
}

.text-link {
    color: var(--navy);
    text-decoration-color: var(--teal);
    text-underline-offset: 5px
}

.section {
    padding: 78px 0;
    border-bottom: 1px solid var(--line)
}

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

.dark {
    background: var(--navy);
    color: #fff
}

.dark h2 {
    color: #fff
}

.dark .eyebrow {
    color: #8fd7d0
}

.section-title {
    max-width: 760px;
    margin-top: 14px
}

.grid {
    display: grid;
    gap: 1px;
    margin-top: 42px;
    background: var(--line);
    border: 1px solid var(--line)
}

.grid.two {
    grid-template-columns: repeat(2, 1fr)
}

.grid.three {
    grid-template-columns: repeat(3, 1fr)
}

.grid.four {
    grid-template-columns: repeat(4, 1fr)
}

.panel {
    background: #fff;
    padding: 30px
}

.panel p:last-child,
.copy {
    color: var(--muted);
    font-size: .92rem;
    margin-top: 14px
}

.number {
    font: 500 .75rem 'IBM Plex Mono', monospace;
    color: var(--teal);
    margin-bottom: 10px
}

.dots {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 28px
}

.dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--amber)
}

.dots.dispersed {
    gap: 24px
}

.dots.dispersed span {
    background: #8491a2
}

.statement {
    font: 1.5rem 'Instrument Serif', serif;
    color: var(--navy);
    margin-top: 30px
}

.table-scroll {
    overflow: auto;
    margin-top: 40px
}

table {
    border-collapse: collapse;
    width: 100%;
    min-width: 640px;
    text-align: left
}

th {
    font: 500 .7rem 'IBM Plex Mono', monospace;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--teal)
}

th,
td {
    padding: 16px;
    border-bottom: 1px solid var(--line);
    vertical-align: top
}

td:nth-child(2) {
    color: var(--muted)
}

.team {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px
}

.portrait {
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: top;
    background: var(--soft)
}

.team h2 {
    font-size: 1.8rem;
    margin-top: 8px
}

.team .eyebrow {
    margin-top: 20px
}

.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px
}

.field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

.field {
    margin-bottom: 22px
}

label {
    display: block;
    font: 500 .7rem 'IBM Plex Mono', monospace;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted)
}

input,
textarea {
    width: 100%;
    border: 1px solid #c9d5da;
    background: #fff;
    padding: 12px;
    margin-top: 7px;
    font: inherit;
    color: var(--text)
}

input:focus,
textarea:focus {
    outline: 2px solid var(--teal);
    outline-offset: 1px
}

.hp {
    position: absolute;
    left: -9999px
}

.notice {
    border-left: 4px solid var(--teal);
    padding: 14px 18px;
    background: var(--soft);
    margin-bottom: 24px
}

.error {
    border-left-color: #b42318;
    background: #fff0ef
}

.site-footer {
    padding: 36px 0;
    border-top: 1px solid var(--line)
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px
}

.footer-row img {
    width: 210px
}

.footer-row a {
    color: var(--navy);
    text-decoration-color: var(--teal)
}

@media(max-width:760px) {
    .wrap {
        width: min(100% - 32px, var(--max))
    }

    .nav-row {
        min-height: 76px
    }

    .brand img {
        width: 225px
    }

    .nav-toggle {
        display: block;
        position: absolute;
        opacity: 0
    }

    .menu-label {
        display: block;
        font: 500 .72rem 'IBM Plex Mono', monospace;
        text-transform: uppercase;
        color: var(--navy);
        cursor: pointer
    }

    .nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 10px 16px;
        flex-direction: column;
        gap: 0
    }

    .nav a {
        padding: 12px;
        border-bottom: 1px solid var(--line)
    }

    .nav-toggle:checked~.nav {
        display: flex
    }

    .hero {
        padding: 64px 0;
        background: #fff
    }

    .section {
        padding: 58px 0
    }

    .grid.two,
    .grid.three,
    .grid.four,
    .team,
    .contact-grid,
    .field-grid {
        grid-template-columns: 1fr
    }

    .team {
        gap: 50px
    }

    .footer-row {
        align-items: flex-start;
        flex-direction: column
    }
}

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