/* Change the site's palette here */
:root {
    --ink: #192438;
    --dark: #111c2e;
    --accent: #d9a257;
    --accent-dark: #9c6529;
    --paper: #fff;
    --soft: #f2f5f7;
    --line: #dce2e6;
    --muted: #627080;
    --on-dark: #fff;
    --radius: 3px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65
}

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

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

button {
    cursor: pointer
}

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

.header {
    height: 86px;
    background: var(--paper);
    position: relative;
    z-index: 10
}

.nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 800;
    font-size: 17px;
    line-height: 1.1;
    letter-spacing: -.03em
}

.brand small {
    display: block;
    font-size: 8px;
    letter-spacing: .18em;
    margin-top: 5px;
    font-weight: 700
}

.brandmark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    background: var(--ink);
    color: white;
    font-size: 23px;
    letter-spacing: -.13em;
    padding-right: 3px
}

.brandmark span {
    color: var(--accent)
}

.navlinks {
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: 13px;
    font-weight: 700
}

.navlinks>a:not(.nav-cta):hover {
    color: var(--accent-dark)
}

.nav-cta {
    padding: 15px 21px;
    background: var(--ink);
    color: white;
    min-width: 150px;
    display: flex;
    justify-content: space-between;
    gap: 20px
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    font-size: 25px;
    color: var(--ink)
}

.hero {
    position: relative;
    background: var(--dark);
    color: white;
    min-height: 660px;
    overflow: hidden
}

.hero-image {
    position: absolute;
    inset: 0 0 0 46%;
    background: linear-gradient(90deg, var(--dark), transparent 58%), linear-gradient(0deg, rgba(17, 28, 46, .35), rgba(17, 28, 46, .15)), url('hero.jpg') center 47%/cover
}

.hero-inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    min-height: 555px;
    align-items: center;
    padding-top: 34px
}

.hero-copy {
    max-width: 740px
}

.eyebrow {
    font-size: 10px;
    letter-spacing: .2em;
    font-weight: 800;
    color: var(--accent-dark);
    text-transform: uppercase
}

.eyebrow.light {
    color: var(--accent)
}

.dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    margin-right: 9px
}

.hero h1,
.page-intro h1 {
    font-family: Georgia, serif;
    font-size: clamp(52px, 6vw, 86px);
    line-height: 1.04;
    letter-spacing: -.045em;
    font-weight: 400;
    margin: 26px 0
}

.hero h1 em,
.page-intro h1 em,
h2 em {
    font-weight: 400;
    color: var(--accent);
    font-style: italic
}

.hero-copy>p {
    max-width: 550px;
    color: #c4ccd5;
    font-size: 16px;
    line-height: 1.8
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
    border: 0;
    background: var(--accent);
    color: var(--dark);
    padding: 17px 22px;
    font-weight: 800;
    font-size: 12px;
    transition: transform .25s, background .25s
}

.button:hover {
    transform: translateY(-3px);
    background: #e8b978
}

.text-link {
    display: inline-flex;
    gap: 30px;
    font-size: 12px;
    font-weight: 800;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 8px;
    margin-top: 20px
}

.light-link {
    color: white;
    margin: 0
}

.hero-side {
    align-self: flex-end;
    margin-bottom: 55px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    font-size: 10px;
    letter-spacing: .15em;
    color: #e6e9ec;
    text-align: right
}

.hero-bottom {
    position: relative;
    border-top: 1px solid #ffffff30;
    display: flex;
    align-items: center;
    gap: 75px;
    padding: 24px 0
}

.hero-bottom>span {
    font: 25px Georgia, serif
}

.hero-bottom small {
    font: 10px Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #bbc4ce;
    display: block;
    margin-top: 3px
}

.hero-bottom .scroll-note {
    margin-left: auto;
    font: 9px Arial, sans-serif;
    letter-spacing: .2em;
    color: #c9d1db
}

.section {
    padding-top: 115px;
    padding-bottom: 115px
}

.about-preview,
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12%
}

h2 {
    font: 400 clamp(38px, 4vw, 58px)/1.13 Georgia, serif;
    letter-spacing: -.035em;
    margin: 20px 0 30px
}

h3 {
    line-height: 1.3
}

p {
    color: var(--muted);
    margin: 0 0 20px
}

.lead {
    font-size: 19px;
    color: var(--ink);
    line-height: 1.7
}

.service-preview,
.pale {
    background: var(--soft)
}

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

.section-heading p {
    max-width: 380px
}

.service-list {
    border-top: 1px solid var(--line)
}

.service-link {
    display: grid;
    grid-template-columns: 70px 1fr 45px;
    gap: 20px;
    align-items: start;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
    transition: padding .25s, color .25s
}

.service-link:hover {
    padding-left: 12px;
    color: var(--accent-dark)
}

.service-num,
.item-index {
    font-size: 10px;
    letter-spacing: .12em;
    color: var(--accent-dark);
    font-weight: 800
}

.service-link h3 {
    margin: 0 0 5px;
    font: 400 26px Georgia, serif
}

.service-link p {
    margin: 0;
    max-width: 740px;
    font-size: 13px
}

.arrow {
    font-size: 24px;
    text-align: right
}

.section-end {
    margin-top: 36px
}

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

.dark-button:hover {
    background: var(--accent-dark);
    color: white
}

.cta-band {
    background: var(--dark);
    color: white;
    padding: 75px 0
}

.cta-band .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.cta-band h2 {
    margin-bottom: 0
}

.page-intro {
    background: var(--dark);
    color: white;
    padding: 105px 0 95px
}

.page-intro h1 {
    max-width: 950px
}

.page-intro p {
    max-width: 680px;
    color: #c4ccd5;
    font-size: 17px
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 45px
}

.value-grid article {
    border-top: 1px solid var(--line);
    padding-top: 22px
}

.value-grid article>span {
    font-size: 11px;
    color: var(--accent-dark);
    font-weight: bold
}

.value-grid h3 {
    font: 400 25px Georgia, serif;
    margin: 30px 0 12px
}

.value-grid p {
    font-size: 14px
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.chips span {
    border: 1px solid var(--line);
    padding: 9px 13px;
    font-size: 12px
}

.dark-section {
    background: var(--dark);
    color: white
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: #ffffff25;
    margin-top: 45px
}

.testimonials blockquote {
    background: var(--dark);
    margin: 0;
    padding: 35px 45px 35px 0
}

.testimonials blockquote:nth-child(even) {
    padding-left: 45px
}

.stars {
    color: var(--accent);
    letter-spacing: .15em;
    font-size: 13px
}

.testimonials p {
    color: white;
    font: 22px/1.5 Georgia, serif;
    margin: 20px 0
}

.testimonials cite {
    font-style: normal;
    font-size: 13px;
    font-weight: bold
}

.testimonials small {
    display: block;
    color: #a9b4c1;
    font-weight: normal
}

.faq {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 10%
}

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

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

summary {
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    list-style: none
}

summary::-webkit-details-marker {
    display: none
}

summary span {
    font-size: 22px;
    color: var(--accent-dark)
}

details[open] summary span {
    transform: rotate(45deg)
}

details p {
    margin: 15px 0 0;
    font-size: 14px
}

.service-section {
    padding: 85px 0;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 25px
}

.service-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10%;
    align-items: end
}

.service-head p {
    max-width: 570px
}

.item-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    margin-top: 35px
}

.item-grid article {
    background: var(--paper);
    padding: 30px;
    min-height: 200px
}

.item-grid h3 {
    font: 400 23px Georgia, serif;
    margin: 26px 0 12px
}

.item-grid p {
    font-size: 14px;
    margin: 0
}

.form-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12%
}

.contact-line {
    border-top: 1px solid var(--line);
    padding: 20px 0
}

.contact-line small {
    display: block;
    font-size: 10px;
    letter-spacing: .15em;
    color: var(--accent-dark);
    font-weight: bold
}

.contact-line span,
.contact-line a {
    font-size: 17px
}

.form-card {
    background: var(--soft);
    padding: 45px
}

.form-card h3 {
    font: 32px Georgia, serif;
    margin: 0 0 30px
}

.form-card label:not(.check) {
    display: block;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 20px
}

.form-card input:not([type=checkbox]),
.form-card textarea,
.form-card select {
    display: block;
    width: 100%;
    border: 1px solid #ccd5dc;
    background: white;
    padding: 13px;
    margin-top: 7px;
    border-radius: 0;
    color: var(--ink)
}

.form-card input:focus,
.form-card textarea:focus,
.form-card select:focus {
    outline: 2px solid var(--accent);
    outline-offset: 1px
}

.form-card .button {
    width: 100%
}

.form-card p {
    font-size: 13px;
    margin: 20px 0 0
}

.form-card p a {
    text-decoration: underline
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px
}

.check {
    display: flex;
    gap: 10px;
    font-size: 13px;
    margin-bottom: 25px
}

.narrow {
    max-width: 760px
}

.legal {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 10%
}

.legal h3 {
    font: 26px Georgia, serif;
    margin: 35px 0 12px
}

.legal p {
    line-height: 1.85
}

footer {
    background: #0a1422;
    color: white;
    padding: 75px 0 25px
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 50px
}

.footer-brand .brandmark {
    background: var(--accent);
    color: var(--dark)
}

.footer-brand .brandmark span {
    color: white
}

.footer-top p {
    color: #a6b2bf;
    font-size: 13px;
    max-width: 260px;
    margin-top: 25px
}

.footer-top h4 {
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 20px
}

.footer-top>div>a:not(.brand) {
    display: block;
    color: #c1c9d1;
    font-size: 13px;
    margin: 9px 0
}

.footer-top a:hover {
    color: var(--accent)
}

.footer-bottom {
    border-top: 1px solid #ffffff25;
    margin-top: 65px;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    color: #96a3b1;
    font-size: 10px;
    letter-spacing: .08em
}

#toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    max-width: 380px;
    background: var(--ink);
    color: white;
    padding: 18px 22px;
    border-left: 4px solid var(--accent);
    box-shadow: 0 10px 35px #0003;
    z-index: 99;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: .3s
}

#toast.visible {
    opacity: 1;
    transform: none
}

.reveal {
    animation: appear .8s both
}

@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@media(max-width:850px) {
    .wrap {
        width: min(100% - 40px, 1320px)
    }

    .header {
        height: 72px
    }

    .menu-toggle {
        display: block
    }

    .navlinks {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 15px #0001;
        flex-direction: column;
        align-items: stretch;
        gap: 0
    }

    .navlinks.open {
        display: flex
    }

    .navlinks a {
        padding: 12px
    }

    .hero-image {
        left: 15%;
        opacity: .45
    }

    .hero-inner {
        min-height: 530px
    }

    .hero-side {
        display: none
    }

    .hero-bottom {
        gap: 25px
    }

    .hero-bottom .scroll-note {
        display: none
    }

    .section {
        padding-top: 75px;
        padding-bottom: 75px
    }

    .about-preview,
    .split,
    .faq,
    .form-layout,
    .legal {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .section-heading {
        display: block
    }

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

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

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

    .page-intro {
        padding: 75px 0
    }

    .service-head {
        grid-template-columns: 1fr;
        gap: 0
    }
}

@media(max-width:520px) {

    .hero h1,
    .page-intro h1 {
        font-size: 49px
    }

    .hero-bottom>span {
        font-size: 19px
    }

    .hero-bottom {
        gap: 20px
    }

    .hero-bottom small {
        font-size: 8px
    }

    .actions {
        gap: 20px;
        flex-wrap: wrap
    }

    .value-grid,
    .item-grid,
    .testimonials,
    .form-grid {
        grid-template-columns: 1fr
    }

    .testimonials blockquote,
    .testimonials blockquote:nth-child(even) {
        padding: 25px 0
    }

    .cta-band .wrap {
        display: block
    }

    .cta-band .button {
        margin-top: 30px
    }

    .form-card {
        padding: 25px
    }

    .footer-top {
        gap: 30px
    }

    .footer-top>div:first-child {
        grid-column: 1/-1
    }

    .footer-bottom {
        display: block
    }

    .footer-bottom span {
        display: block;
        margin: 10px 0
    }
}

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

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