:root {
    --ivory: #faf9f6;
    --paper: #f1f0e9;
    --ink: #292b27;
    --muted: #6b6d65;
    --wine: #6c283d;
    --line: #deded4;
    --serif: Georgia, 'Times New Roman', serif;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: var(--ivory);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.dialog-open {
    overflow: hidden;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

button, input {
    font: inherit;
}

button, a, dialog {
    outline-offset: 5px;
}

:focus-visible {
    outline: 2px solid var(--wine);
}

button, a {
    touch-action: manipulation;
}

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

button {
    cursor: pointer;
}

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

h1, h2, h3, p {
    margin: 0;
}

h1, h2 {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -1.8px;
}

h2 {
    font-size: clamp(36px, 3.4vw, 48px);
    line-height: 1.16;
}

h1 em, h2 em {
    color: var(--wine);
    font-weight: 400;
}

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

.section-space {
    padding-block: 100px;
}

.icon-library {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon, .service-icon {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: -80px;
    z-index: 100;
    padding: 14px 22px;
    color: white;
    background: var(--wine);
}

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

.site-header {
    position: relative;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    background: var(--ivory);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    flex-shrink: 0;
}

.brand-mark {
    display: grid;
    place-content: center;
    position: relative;
    width: 47px;
    height: 47px;
    border: 1px solid var(--wine);
    color: var(--wine);
    font-family: var(--serif);
    font-size: 35px;
    line-height: 1;
}

.brand-mark span {
    position: absolute;
    bottom: 7px;
    right: 7px;
    font-size: 25px;
}

.brand-wordmark {
    font-family: var(--serif);
    font-size: 25px;
    letter-spacing: 1px;
    line-height: 1.1;
}

.brand-wordmark > span {
    display: block;
    margin-top: 6px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 2.3px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 34px;
    margin-left: auto;
    margin-right: 36px;
    font-size: 13px;
}

.desktop-nav a, .back-top, .text-link {
    transition: color 180ms ease;
}

.desktop-nav a:hover, .back-top:hover, .text-link:hover {
    color: var(--wine);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    min-height: 53px;
    padding: 15px 24px;
    border: 1px solid var(--wine);
    border-radius: 2px;
    background: var(--wine);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    transition: background 180ms ease, transform 180ms ease;
}

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

.button-small {
    min-height: 44px;
    padding: 10px 21px;
}

.button .icon {
    width: 18px;
    height: 18px;
}

.menu-toggle, .mobile-nav {
    display: none;
}

.hero {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 58px;
    align-items: center;
    padding-top: 68px;
    padding-bottom: 76px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 9px;
    line-height: 1.6;
    font-weight: 600;
    letter-spacing: 1.65px;
}

.status-dot {
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background: var(--wine);
    flex-shrink: 0;
}

.hero h1 {
    margin-top: 26px;
    font-size: clamp(46px, 4.6vw, 66px);
    line-height: 1.13;
    letter-spacing: -2.6px;
}

.hero-description {
    max-width: 445px;
    margin-top: 25px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 25px;
    margin-top: 29px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 12px;
}

.text-link .icon {
    width: 17px;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 39px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .15px;
}

.note-rule {
    width: 25px;
    height: 1px;
    background: #a3a294;
}

.hero-visual {
    position: relative;
    margin: 0 16px 0 0;
    isolation: isolate;
}

.image-corner {
    position: absolute;
    z-index: -1;
    top: -15px;
    right: -15px;
    width: 160px;
    height: 190px;
    border-radius: 2px;
    background: var(--wine);
}

.hero-image {
    width: 100%;
    height: 510px;
    border-radius: 120px 2px 2px 2px;
    object-position: 50% 48%;
}

.image-caption {
    position: absolute;
    top: 26px;
    right: 18px;
    color: white;
    text-shadow: 0 1px 7px #000;
    font-size: 7px;
    letter-spacing: 1.4px;
}

.insight-card {
    position: absolute;
    left: -35px;
    bottom: 36px;
    display: flex;
    align-items: center;
    gap: 23px;
    width: 276px;
    min-height: 111px;
    padding: 24px;
    background: var(--ivory);
    border: 1px solid #e9e6dd;
    box-shadow: 0 8px 30px #2222180a;
}

.mini-label {
    font-size: 7px;
    letter-spacing: 1px;
    color: var(--muted);
}

.insight-card p {
    margin-top: 6px;
    font-family: var(--serif);
    font-size: 21px;
    line-height: 1.23;
    letter-spacing: -.4px;
}

.insight-icon {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 45px;
    width: 45px;
    padding-bottom: 2px;
    position: relative;
    border-bottom: 1px solid #bdb6ad;
    flex-shrink: 0;
}

.insight-icon span {
    width: 9px;
    height: 15px;
    background: #c5a2aa;
}

.insight-icon span:nth-child(2) {
    height: 25px;
    background: #a6697b;
}

.insight-icon span:nth-child(3) {
    height: 36px;
    background: var(--wine);
}

.insight-icon .icon {
    position: absolute;
    top: -5px;
    right: -7px;
    width: 15px;
    height: 15px;
    color: var(--wine);
}

.image-index {
    position: absolute;
    bottom: -25px;
    right: 0;
    font-size: 8px;
    letter-spacing: 1.4px;
    color: var(--muted);
}

.focus-strip {
    border-block: 1px solid var(--line);
    background: var(--paper);
}

.focus-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 77px;
    gap: 15px;
    color: #53564c;
    font-size: 12px;
}

.focus-inner .focus-label {
    color: var(--muted);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 1.3px;
}

.focus-inner i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #a6a398;
}

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.section-label {
    margin-bottom: 23px;
    color: var(--wine);
}

.section-label > span {
    color: #949086;
    margin-right: 5px;
    font-weight: 400;
}

.about-copy {
    padding-top: 4px;
}

.about-copy > p {
    margin-bottom: 17px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

.about-copy > .lead {
    margin-bottom: 19px;
    font-size: 19px;
    font-family: var(--serif);
    line-height: 1.6;
    color: var(--ink);
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
    margin-top: 27px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 10px;
}

.about-values > span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-values .icon {
    width: 16px;
    height: 16px;
    color: var(--wine);
}

.expertise {
    background: var(--paper);
    border-block: 1px solid #e7e5dc;
}

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

.section-heading > p {
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 325px;
    padding: 27px 24px 22px;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: var(--ivory);
    transition: transform 200ms ease, border-color 200ms ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #bca0a6;
}

.service-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 27px;
}

.service-icon {
    width: 33px;
    height: 33px;
    color: var(--wine);
    stroke-width: 1.3;
}

.service-top > span {
    color: #8c8d81;
    font-size: 10px;
}

.service-card h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 25px;
    line-height: 1.16;
    letter-spacing: -.55px;
}

.service-card > p {
    margin-top: 17px;
    margin-bottom: 27px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.85;
}

.service-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 35px;
    margin-top: auto;
    padding: 7px 0 0;
    border: 0;
    background: transparent;
    color: var(--wine);
    font-size: 11px;
    text-align: left;
}

.service-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.service-link .icon {
    width: 18px;
    height: 18px;
}

.expertise-note {
    margin-top: 29px;
    text-align: center;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.8;
}

.expertise-note a {
    margin-left: 9px;
    color: var(--wine);
    border-bottom: 1px solid #c4a7ae;
    padding-bottom: 3px;
}

.approach {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 90px;
    padding-block: 110px;
}

.approach-visual img {
    width: 100%;
    height: 465px;
    object-position: 46% center;
    border-radius: 2px 2px 75px 2px;
}

.approach-caption {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 18px;
    font-size: 10px;
    color: var(--muted);
}

.small-cross {
    color: var(--wine);
    font-size: 24px;
    font-weight: 300;
}

.approach h2 {
    font-size: clamp(36px, 3vw, 43px);
}

.approach-intro {
    margin-top: 20px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.85;
}

.process-list {
    list-style: none;
    padding: 0;
    margin: 29px 0 0;
}

.process-list li {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.step-number {
    margin-top: 3px;
    color: var(--wine);
    font-size: 10px;
    font-weight: 600;
}

.process-list h3 {
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 500;
}

.process-list p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.contact {
    padding-block: 76px 54px;
    background: var(--wine);
    color: var(--ivory);
}

.contact-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding-bottom: 49px;
}

.contact .section-label {
    color: #e3c4c9;
    font-size: 8px;
    letter-spacing: 1.5px;
}

.contact h2 {
    font-size: clamp(37px, 3.6vw, 51px);
}

.contact h2 em {
    color: #e7c8c7;
}

.button-light {
    border-color: var(--ivory);
    background: var(--ivory);
    color: var(--wine);
    flex-shrink: 0;
}

.button-light:hover {
    background: #eadfdc;
}

.contact :focus-visible {
    outline-color: var(--ivory);
}

.contact-details {
    display: grid;
    grid-template-columns: 1.1fr .85fr 1.4fr;
    gap: 40px;
    border-top: 1px solid #ffffff26;
    padding-top: 34px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item > .icon {
    color: #dfbbc4;
    width: 19px;
    height: 19px;
}

.contact-item h3 {
    margin: 3px 0 13px;
    font-size: 8px;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: #e3c4c9;
}

.contact-item a {
    font-size: 13px;
    overflow-wrap: anywhere;
}

.contact-item a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.contact-item address {
    max-width: 335px;
    color: #f1e5e7;
    font-size: 10px;
    font-style: normal;
    line-height: 1.9;
}

.site-footer {
    padding-block: 29px;
}

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

.footer-brand .brand-mark {
    width: 35px;
    height: 35px;
    font-size: 26px;
}

.footer-brand .brand-mark span {
    bottom: 4px;
    right: 4px;
    font-size: 21px;
}

.footer-brand .brand-wordmark {
    font-size: 19px;
}

.footer-brand .brand-wordmark > span {
    margin-top: 4px;
    font-size: 6px;
    letter-spacing: 1.8px;
}

.footer-inner > p {
    color: var(--muted);
    font-size: 9px;
}

.back-top {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 10px;
}

.back-top .icon {
    width: 16px;
    height: 16px;
}

.service-dialog {
    width: min(600px, calc(100% - 32px));
    max-height: calc(100dvh - 48px);
    margin: auto;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: var(--ivory);
    color: var(--ink);
    box-shadow: 0 25px 100px #0003;
}

.service-dialog::backdrop {
    background: #22251fd1;
    backdrop-filter: blur(4px);
}

.dialog-inner {
    position: relative;
    padding: 48px;
}

.dialog-close {
    position: absolute;
    top: 15px;
    right: 15px;
    display: grid;
    place-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
}

.dialog-close:hover {
    background: var(--paper);
}

.service-dialog h2 {
    margin-bottom: 22px;
    font-size: 39px;
}

#dialog-description {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.dialog-subtitle {
    margin-top: 26px;
    font-size: 14px;
    font-weight: 600;
}

#dialog-deliverables {
    margin: 14px 0 28px;
    padding-left: 19px;
    list-style: disc;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

#dialog-deliverables li {
    padding-left: 5px;
    margin-bottom: 7px;
}

#dialog-deliverables li::marker {
    color: var(--wine);
}

.dialog-note {
    margin-top: 15px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
}

@media (min-width: 1600px) {
    .hero {
        padding-block: 85px 95px;
    }

    .hero-image {
        height: 550px;
    }
}

@media (max-width: 1100px) {
    .container {
        width: calc(100% - 72px);
    }

    .desktop-nav {
        gap: 23px;
        margin-right: 15px;
    }

    .hero {
        gap: 40px;
    }

    .hero h1 {
        font-size: clamp(39px, 4.7vw, 53px);
    }

    .hero-image {
        height: 480px;
    }

    .hero-actions {
        gap: 20px;
    }

    .hero-note {
        margin-top: 27px;
    }

    .about, .approach {
        gap: 50px;
    }

    .services-grid {
        gap: 12px;
    }

    .service-card {
        padding: 24px 18px 18px;
    }

    .service-card h3 {
        font-size: 23px;
    }

    .contact-details {
        gap: 25px;
    }
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .service-card {
        min-height: 315px;
        padding: 28px;
    }

    .service-card h3 {
        font-size: 28px;
    }

    .service-card > p {
        font-size: 14px;
    }

    .focus-inner {
        flex-wrap: wrap;
        justify-content: center;
        column-gap: 22px;
        padding-block: 20px;
    }

    .focus-label {
        width: 100%;
        text-align: center;
    }

    .about-values {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 767px) {
    .container {
        width: calc(100% - 44px);
    }

    .header-inner {
        height: 80px;
        gap: 18px;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
        font-size: 30px;
    }

    .brand-mark span {
        bottom: 5px;
        right: 5px;
    }

    .brand-wordmark {
        font-size: 22px;
    }

    .brand-wordmark > span {
        font-size: 7px;
        letter-spacing: 2px;
    }

    .desktop-nav, .header-contact {
        display: none;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 7px;
        width: 44px;
        height: 44px;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 2px;
        background: transparent;
    }

    .menu-toggle span {
        width: 20px;
        height: 1px;
        background: var(--wine);
        transition: transform 180ms ease;
    }

    .menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(4px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-4px) rotate(-45deg);
    }

    .mobile-nav:not([hidden]) {
        display: flex;
        flex-direction: column;
        padding: 10px 22px 20px;
        border-top: 1px solid var(--line);
        background: var(--ivory);
    }

    .mobile-nav a {
        display: flex;
        justify-content: space-between;
        padding: 14px 0;
        color: var(--ink);
        font-size: 14px;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 53px;
        padding-top: 42px;
        padding-bottom: 90px;
    }

    .hero .eyebrow {
        font-size: 7px;
        letter-spacing: 1.3px;
    }

    .hero h1 {
        margin-top: 23px;
        font-size: clamp(35px, 9.5vw, 58px);
        letter-spacing: -1.6px;
        line-height: 1.17;
    }

    .hero-description {
        max-width: 100%;
        font-size: 14px;
        margin-top: 23px;
    }

    .hero-actions {
        column-gap: 24px;
        row-gap: 20px;
    }

    .button {
        padding-inline: 19px;
        gap: 19px;
    }

    .hero-note {
        margin-top: 27px;
    }

    .hero-visual {
        margin-left: 14px;
        margin-right: 12px;
    }

    .hero-image {
        height: auto;
        aspect-ratio: 1;
        border-top-left-radius: 95px;
    }

    .image-corner {
        top: -12px;
        right: -12px;
        width: 120px;
        height: 150px;
    }

    .image-caption {
        font-size: 6px;
        right: 10px;
        top: 24px;
        letter-spacing: .8px;
    }

    .insight-card {
        left: -14px;
        bottom: -28px;
        width: 260px;
        padding: 20px;
    }

    .image-index {
        bottom: -53px;
    }

    .focus-inner {
        gap: 16px;
        font-size: 10px;
        padding-block: 24px;
    }

    .focus-inner i {
        display: none;
    }

    .focus-inner > span:not(.focus-label) {
        width: calc(50% - 8px);
        text-align: center;
    }

    .section-space {
        padding-block: 64px;
    }

    .about, .approach {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    h2 {
        font-size: 37px;
        letter-spacing: -1.3px;
    }

    .section-label {
        margin-bottom: 18px;
        font-size: 8px;
    }

    .about-copy > p {
        font-size: 14px;
    }

    .about-copy > .lead {
        font-size: 21px;
    }

    .about-values {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        line-height: 1.6;
    }

    .about-values > span {
        align-items: flex-start;
    }

    .section-heading {
        display: block;
        margin-bottom: 30px;
    }

    .section-heading > p {
        margin-top: 20px;
        font-size: 13px;
    }

    .services-grid {
        gap: 14px;
    }

    .service-card {
        padding: 22px;
    }

    .expertise-note {
        max-width: 290px;
        margin-inline: auto;
        font-size: 11px;
        line-height: 2.2;
    }

    .expertise-note a {
        display: inline-block;
        margin-left: 0;
        padding-bottom: 0;
    }

    .approach-visual img {
        height: 330px;
        border-bottom-right-radius: 60px;
    }

    .approach-copy {
        margin-top: 14px;
    }

    .approach h2 {
        font-size: 36px;
    }

    .process-list p, .approach-intro {
        font-size: 14px;
    }

    .process-list h3 {
        font-size: 15px;
    }

    .contact {
        padding-block: 54px 44px;
    }

    .contact-heading {
        display: block;
        padding-bottom: 35px;
    }

    .contact .section-label {
        max-width: 300px;
        font-size: 7px;
        line-height: 1.8;
        letter-spacing: 1.2px;
    }

    .contact h2 {
        font-size: clamp(32px, 8.2vw, 44px);
    }

    .contact .button {
        margin-top: 28px;
    }

    .contact-details {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-item h3 {
        margin-bottom: 9px;
    }

    .contact-item a {
        font-size: 15px;
    }

    .contact-item address {
        max-width: 310px;
        font-size: 11px;
    }

    .footer-inner {
        flex-wrap: wrap;
        gap: 25px 16px;
    }

    .footer-inner > p {
        order: 3;
        width: 100%;
        padding-top: 20px;
        border-top: 1px solid var(--line);
        font-size: 8px;
    }

    .dialog-inner {
        padding: 50px 27px 30px;
    }

    .service-dialog h2 {
        font-size: 32px;
    }
}

@media (max-width: 520px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 310px;
        padding: 27px;
    }

    .service-card h3 {
        font-size: 29px;
    }

    .service-card h3 br {
        display: none;
    }

    .service-top {
        margin-bottom: 23px;
    }

    .service-card > p {
        margin-bottom: 18px;
    }

    .service-link {
        min-height: 44px;
        font-size: 12px;
    }
}

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

    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
