:root {
    --navy: #0d2741;
    --navy-2: #20364d;
    --navy-3: #294761;
    --gold: #9f7a35;
    --gold-2: #c5a05b;
    --cream: #faf8f4;
    --cream-2: #f7f3ec;
    --ink: #24313d;
    --muted: #5d6b78;
    --line: #e2e5e8;
    --white: #fff;
    --serif: Georgia, "Times New Roman", serif;
    --sans: Arial, Helvetica, sans-serif;
    --wrap: min(1180px, calc(100vw - 40px));
    --shadow: 0 18px 50px rgba(13, 39, 65, .09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
}

body.nav-open {
    overflow: hidden;
}

a {
    color: var(--navy);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

a:hover {
    color: var(--gold);
}

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

h1,
h2,
h3 {
    margin: 0 0 18px;
    color: var(--navy);
    font-family: var(--serif);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0;
}

h1 {
    font-size: clamp(34px, 5vw, 64px);
}

h2 {
    font-size: clamp(30px, 3.5vw, 42px);
}

h3 {
    font-size: 24px;
}

p {
    margin: 0 0 18px;
}

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

:focus-visible {
    outline: 3px solid var(--gold-2);
    outline-offset: 3px;
}

.screen-reader-text,
.skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 12px 16px;
    background: var(--white);
    color: var(--navy);
    border: 2px solid var(--gold);
}

.wrap {
    width: var(--wrap);
    margin: 0 auto;
}

.narrow {
    max-width: 820px;
}

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    background: rgba(250, 248, 244, .96);
    border-bottom: 1px solid rgba(13, 39, 65, .12);
    backdrop-filter: blur(12px);
}

.site-header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    width: var(--wrap);
    min-height: 82px;
    margin: 0 auto;
}

.brand,
.footer-brand {
    color: var(--navy);
    text-decoration: none;
}

.brand span,
.footer-brand {
    display: block;
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.primary-nav ul {
    display: flex;
    justify-content: flex-end;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--navy);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    color: var(--white);
    background: var(--navy);
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
    display: block;
    width: 22px;
    height: 2px;
    margin: 0 auto;
    background: var(--navy);
    content: "";
}

.nav-toggle-bars::before {
    transform: translateY(-7px);
}

.nav-toggle-bars::after {
    transform: translateY(5px);
}

.hero {
    padding: 82px 0;
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}

.hero-grid,
.split,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    align-items: center;
    gap: 56px;
}

.hero-copy .lead {
    max-width: 660px;
    color: #354454;
    font-size: 20px;
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button-row.centered {
    justify-content: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.button-primary {
    color: var(--white);
    background: var(--navy);
}

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

.button-light {
    color: var(--navy);
    background: var(--white);
    border-color: var(--white);
}

.image-picture,
.image-frame {
    display: block;
    width: 100%;
}

.image-frame {
    min-height: 500px;
    border-radius: 14px;
    overflow: hidden;
}

.site-photo {
    height: 500px;
    object-fit: cover;
    object-position: center top;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: var(--cream-2);
}

.hero-photo {
    min-height: 500px;
}

.image-placeholder {
    display: grid;
    place-items: center;
    min-height: 500px;
    padding: 28px;
    color: var(--navy);
    background:
        linear-gradient(135deg, rgba(197, 160, 91, .22), rgba(255, 255, 255, .7)),
        var(--cream-2);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    text-align: center;
}

.image-placeholder span {
    max-width: 280px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.proof-strip {
    padding: 24px 0;
    background: var(--navy);
    color: var(--white);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.proof-grid p {
    margin: 0;
    font-weight: 700;
}

.section {
    padding: 82px 0;
    background: var(--white);
}

.section.cream,
.cream {
    background: var(--cream);
}

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

.dark h2,
.dark h3,
.dark p {
    color: var(--white);
}

.section-heading {
    max-width: 850px;
    margin-bottom: 34px;
    text-align: center;
}

.section-heading p {
    color: var(--muted);
    font-size: 18px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.card,
.mini-card,
.service-summary,
.contact-form {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.card {
    padding: 30px;
}

.dark .card {
    background: var(--navy-2);
    border-color: rgba(255, 255, 255, .18);
}

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

.mini-card {
    padding: 24px;
}

.mini-card h3 {
    font-size: 22px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stats-grid div {
    padding: 28px;
    border-top: 4px solid var(--gold);
    background: var(--cream);
}

.stats-grid strong {
    display: block;
    color: var(--navy);
    font-family: var(--serif);
    font-size: 34px;
    line-height: 1.08;
}

.stats-grid span {
    display: block;
    margin-top: 12px;
}

.pill-list,
.check-list {
    display: grid;
    gap: 12px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.pill-list {
    grid-template-columns: repeat(3, 1fr);
}

.pill-list li,
.check-list li {
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 700;
}

.cta-band {
    padding: 82px 0;
    color: var(--white);
    background: var(--navy);
    text-align: center;
}

.cta-band h2,
.cta-band p {
    color: var(--white);
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details {
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.faq-list summary {
    min-height: 44px;
    color: var(--navy);
    font-weight: 800;
    cursor: pointer;
}

.contact-grid {
    align-items: start;
}

.contact-form,
.service-summary {
    padding: 32px;
}

.contact-form label {
    display: grid;
    gap: 7px;
    margin-top: 16px;
    color: var(--navy);
    font-weight: 800;
}

.contact-form label span {
    color: var(--muted);
    font-weight: 400;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid #b9c3cc;
    border-radius: 8px;
}

.contact-form textarea {
    min-height: 160px;
    resize: vertical;
}

.form-notice {
    padding: 14px;
    background: var(--cream);
    border-left: 4px solid var(--gold);
    color: var(--ink);
}

.notice {
    padding: 14px;
    border-radius: 8px;
    font-weight: 800;
}

.notice.success {
    color: #164427;
    background: #e9f5ee;
    border: 1px solid #b7dcc5;
}

.notice.error {
    color: #6c1d1d;
    background: #fbecec;
    border: 1px solid #e5b1b1;
}

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

.service-summary article {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.service-summary article:last-child {
    border-bottom: 0;
}

.legal-copy p {
    font-size: 18px;
}

.site-footer {
    color: var(--white);
    background: var(--navy);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr auto;
    gap: 32px;
    width: var(--wrap);
    margin: 0 auto;
    padding: 54px 0;
}

.footer-brand,
.site-footer h2,
.site-footer p,
.site-footer a {
    color: var(--white);
}

.site-footer h2 {
    font-family: var(--sans);
    font-size: 14px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.site-footer nav a {
    display: block;
    min-height: 32px;
    text-decoration: none;
}

.footer-bottom {
    width: var(--wrap);
    margin: 0 auto;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, .18);
    color: rgba(255, 255, 255, .8);
}

@media (max-width: 1024px) {
    .site-header-inner {
        grid-template-columns: auto auto;
    }

    .nav-toggle {
        display: block;
        justify-self: end;
    }

    .primary-nav,
    .header-cta {
        display: none;
    }

    body.nav-open .primary-nav,
    body.nav-open .header-cta {
        display: block;
        grid-column: 1 / -1;
    }

    .primary-nav ul {
        display: grid;
        gap: 4px;
        padding: 12px 0;
    }

    .header-cta {
        margin-bottom: 18px;
        text-align: center;
    }

    .hero-grid,
    .split,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .proof-grid,
    .card-grid,
    .compact-grid,
    .stats-grid,
    .pill-list,
    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    :root {
        --wrap: min(100vw - 28px, 1180px);
    }

    .site-header-inner {
        min-height: 72px;
    }

    .brand span {
        font-size: 21px;
    }

    .brand small {
        max-width: 220px;
        font-size: 10px;
    }

    .hero,
    .section,
    .cta-band {
        padding: 56px 0;
    }

    .hero-copy .lead {
        font-size: 18px;
    }

    .image-frame,
    .image-placeholder,
    .site-photo,
    .hero-photo {
        height: 350px;
        min-height: 350px;
    }

    .proof-grid,
    .card-grid,
    .compact-grid,
    .stats-grid,
    .pill-list,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .button-row,
    .button {
        width: 100%;
    }

    .contact-form,
    .service-summary {
        padding: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
