:root {
    --navy: #173652;
    --navy-deep: #102a40;
    --ink: #1d2b35;
    --muted: #64727a;
    --line: #d8d8d1;
    --paper: #f5f3ed;
    --paper-deep: #ebe8df;
    --white: #fffefa;
    --accent: #a58358;
    --max-width: 1180px;
    --serif: Georgia, "Times New Roman", serif;
    --sans:
        Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

.container {
    width: min(calc(100% - 48px), var(--max-width));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 10;
    padding: 8px 12px;
    color: var(--white);
    background: var(--navy);
}

.skip-link:focus {
    top: 16px;
}

.topbar {
    color: rgba(255, 254, 250, 0.78);
    background: var(--navy-deep);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.topbar__inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-block: 8px;
}

.topbar a {
    color: var(--white);
    text-decoration: none;
}

.site-header {
    border-bottom: 1px solid var(--line);
    background: rgba(245, 243, 237, 0.96);
    position: sticky;
    top: 0;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 92px;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: var(--navy);
    text-decoration: none;
}

.brand__mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--navy);
    font-family: var(--serif);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
}

.brand__text {
    display: grid;
    line-height: 1.2;
}
.brand__text span {
    font-size: 0.64rem;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}
.brand__text strong {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 500;
}

.desktop-menu {
    display: flex;
    gap: 30px;
    font-size: 0.84rem;
}
.desktop-menu a,
.mobile-menu a {
    text-decoration: none;
}
.desktop-menu a:hover,
.mobile-menu a:hover {
    color: var(--accent);
}

.mobile-menu {
    display: none;
}

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

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
    align-items: center;
    gap: 88px;
}

.eyebrow {
    margin: 0 0 19px;
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.3;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}
h1,
h2 {
    font-family: var(--serif);
    font-weight: 400;
}

h1 {
    max-width: 720px;
    margin-bottom: 28px;
    color: var(--navy);
    font-size: clamp(3.2rem, 6vw, 5.6rem);
    letter-spacing: -0.045em;
    line-height: 0.98;
}

h1 em {
    color: var(--accent);
    font-style: normal;
}

.hero__lead {
    max-width: 610px;
    margin-bottom: 32px;
    color: #43515a;
    font-size: 1.12rem;
}

.hero__actions,
.contact__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid transparent;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: all 250ms;
}

.button--primary {
    color: var(--white);
    background: var(--navy);
}
.button--primary:hover {
    background: var(--navy-deep);
}
.button--text {
    padding-inline: 0;
    color: var(--navy);
    border-bottom-color: var(--navy);
}
.button--text:hover {
    color: var(--accent);
    border-color: var(--accent);
}
.button--light {
    color: var(--navy);
    background: var(--white);
}
.button--light:hover {
    color: var(--white);
    background: var(--accent);
}
.button--outline-light {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.45);
}
.button--outline-light:hover {
    border-color: var(--white);
}

.hero__details {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    margin-top: 54px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.hero__details > div {
    min-width: 150px;
}
.detail-label {
    display: block;
    margin-bottom: 5px;
    color: var(--accent);
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}
.hero__details strong {
    color: var(--navy);
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.5;
}

.placeholder {
    display: grid;
    place-items: center;
    color: var(--navy);
    border: 1px dashed #a5a9a3;
    background: var(--paper-deep);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    line-height: 1.7;
    text-align: center;
    text-transform: uppercase;
}

.placeholder--hero {
    aspect-ratio: 1 / 1.05;
}

.section {
    padding: 116px 0;
}
.section--intro {
    background: var(--white);
}
.intro-grid,
.split-grid,
.process-grid,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 90px;
}
h2 {
    margin-bottom: 24px;
    color: var(--navy);
    font-size: clamp(2.35rem, 4vw, 4rem);
    letter-spacing: -0.04em;
    line-height: 1.03;
}
.copy {
    max-width: 660px;
    color: #4e5d64;
}
.copy p:last-child {
    margin-bottom: 0;
}
.copy--large {
    font-size: 1.12rem;
}

.section--services {
    background: var(--paper);
}
.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 55px;
}
.section-heading h2 {
    margin-bottom: 0;
}
.section-heading__note {
    max-width: 290px;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 0.82rem;
    text-align: right;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.service {
    min-height: 245px;
    padding: 27px 27px 30px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.service--featured {
    background: var(--navy);
    color: var(--white);
}
.service__number {
    display: block;
    margin-bottom: 42px;
    color: var(--accent);
    font-family: var(--serif);
    font-size: 0.95rem;
}
.service h3,
.audience-item h3 {
    margin-bottom: 10px;
    color: var(--navy);
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.15;
}
.service--featured h3 {
    color: var(--white);
}
.service p,
.audience-item p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.6;
}
.service--featured p {
    color: rgba(255, 255, 255, 0.75);
}

.section--quiet {
    background: var(--paper-deep);
}
.split-grid__heading h2 {
    max-width: 440px;
}
.audience-list {
    border-top: 1px solid #c8c7bf;
}
.audience-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid #c8c7bf;
}
.audience-item__label {
    color: var(--accent);
    font-family: var(--serif);
    font-size: 0.95rem;
}

.section--process {
    background: var(--white);
}
.process-grid {
    align-items: start;
}
.process-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}
.process-list li {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 20px;
    padding: 21px 0;
    border-bottom: 1px solid var(--line);
}
.process-list span {
    color: var(--accent);
    font-family: var(--serif);
}
.process-list strong {
    color: var(--navy);
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 400;
}

.section--contact {
    color: rgba(255, 255, 255, 0.76);
    background: var(--navy);
}
.section--contact h2 {
    color: var(--white);
}
.section--contact .eyebrow {
    color: #d0b488;
}
.contact__content > p:not(.eyebrow) {
    max-width: 545px;
}
.contact-card {
    align-self: center;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: var(--white);
}
.contact-card address {
    margin-bottom: 28px;
    font-style: normal;
    font-family: var(--serif);
    font-size: 1.6rem;
    line-height: 1.3;
}
.contact-card p {
    margin-bottom: 28px;
}
.map-link {
    color: var(--white);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
}
.map-link span {
    color: #d0b488;
}

.site-footer {
    color: rgba(255, 255, 255, 0.62);
    background: var(--navy-deep);
    font-size: 0.75rem;
}
.footer__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 25px;
    padding-block: 22px;
}
.footer__inner p {
    margin: 0;
}
.footer__note {
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 820px) {
    .container {
        width: min(calc(100% - 32px), var(--max-width));
    }
    .topbar__inner {
        flex-wrap: wrap;
        gap: 4px 18px;
    }
    .topbar__inner span:first-child {
        width: 100%;
    }
    .desktop-menu {
        display: none;
    }
    .mobile-menu {
        display: block;
        position: relative;
    }
    .mobile-menu summary {
        color: var(--navy);
        cursor: pointer;
        font-size: 0.84rem;
        font-weight: 700;
        list-style: none;
    }
    .mobile-menu summary::-webkit-details-marker {
        display: none;
    }
    .mobile-menu summary::after {
        content: " +";
        color: var(--accent);
    }
    .mobile-menu[open] summary::after {
        content: " −";
    }
    .mobile-menu nav {
        position: absolute;
        right: 0;
        top: calc(100% + 17px);
        z-index: 2;
        display: grid;
        min-width: 190px;
        padding: 12px 18px;
        border: 1px solid var(--line);
        background: var(--white);
        box-shadow: 0 14px 35px rgba(16, 42, 64, 0.12);
    }
    .mobile-menu a {
        padding: 8px 0;
        border-bottom: 1px solid var(--line);
        font-size: 0.86rem;
    }
    .mobile-menu a:last-child {
        border-bottom: 0;
    }
    .hero {
        padding: 64px 0 72px;
    }
    .hero__grid,
    .intro-grid,
    .split-grid,
    .process-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 52px;
    }
    .hero__grid {
        gap: 46px;
    }
    .hero__content {
        order: 1;
    }
    .placeholder--hero {
        width: min(100%, 520px);
        max-width: 520px;
        margin-inline: auto;
        justify-self: center;
    }
    .section {
        padding: 78px 0;
    }
    .section-heading {
        display: block;
        margin-bottom: 38px;
    }
    .section-heading__note {
        margin-top: 20px;
        text-align: left;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service {
        min-height: 220px;
    }
}

@media (max-width: 520px) {
    .topbar__inner {
        font-size: 0.7rem;
    }
    .site-header__inner {
        min-height: 78px;
    }
    .brand__mark {
        width: 36px;
        height: 36px;
    }
    .brand__text span {
        font-size: 0.55rem;
    }
    .brand__text strong {
        font-size: 1.05rem;
    }
    h1 {
        font-size: clamp(2.8rem, 12vw, 4.1rem);
    }
    h2 {
        font-size: 2.45rem;
    }
    .hero__lead,
    .copy--large {
        font-size: 1rem;
    }
    .hero__details {
        gap: 22px;
        margin-top: 40px;
    }
    .hero__actions,
    .contact__actions {
        align-items: stretch;
        flex-direction: column;
    }
    .hero__actions .button,
    .contact__actions .button {
        width: 100%;
    }
    .hero__actions .button--text {
        align-self: flex-start;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service {
        min-height: 0;
    }
    .service__number {
        margin-bottom: 28px;
    }
    .contact-card {
        padding: 23px;
    }
    .contact-card address {
        font-size: 1.4rem;
    }
    .footer__inner {
        display: grid;
    }
}
