:root {
    --paper: #f8f7f3;
    --white: #fdfcf9;
    --ink: #292c26;
    --muted: #73756c;
    --accent: #a34e36;
    --line: #deded5;
    --serif: Georgia, 'Times New Roman', serif;
}

* {
    box-sizing: border-box;
}

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

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

body.dialog-open {
    overflow: hidden;
}

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

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

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

button, summary {
    cursor: pointer;
}

button {
    border: 0;
}

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

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

::selection {
    background: #e6c7b6;
    color: var(--ink);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 5px;
}

.page-container {
    width: calc(100% - 112px);
    max-width: 1248px;
    margin-inline: auto;
}

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

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

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

.icon {
    width: 19px;
    height: 19px;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    padding: 10px 18px;
    color: white;
    background: var(--ink);
    z-index: 100;
}

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

.site-header {
    border-bottom: 1px solid var(--line);
}

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

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

.brand-mark {
    display: flex;
    align-items: center;
    font-family: var(--serif);
    font-size: 39px;
    line-height: 1;
    letter-spacing: -9px;
    border-right: 1px solid #a9aba0;
    padding-right: 22px;
}

.brand-mark span:last-child {
    font-size: 33px;
    padding-top: 5px;
}

.brand-type {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1.8px;
    line-height: 1.4;
}

.brand-type > span {
    display: block;
    font-size: 8px;
    letter-spacing: 3.5px;
    font-weight: 400;
    margin-top: 3px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 38px;
    font-size: 12px;
}

.main-nav > a:not(.nav-contact) {
    padding-block: 12px;
}

.main-nav a:hover, .text-link:hover, .footer-grid a:hover {
    color: var(--accent);
}

.nav-contact {
    display: inline-flex;
    align-items: center;
    gap: 27px;
    padding: 12px 20px;
    margin-left: 6px;
    border: 1px solid #b2b3a8;
}

.menu-toggle {
    display: none;
}

.hero {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    gap: 64px;
    padding-block: 58px 67px;
    align-items: center;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.65px;
    line-height: 1.5;
}

.accent-line {
    display: inline-block;
    flex-shrink: 0;
    width: 25px;
    height: 1px;
    background: var(--accent);
}

body h1, body h2 {
    font-family: var(--serif);
    font-weight: 400;
}

body h1 {
    font-size: clamp(60px, 6.1vw, 86px);
    line-height: 1.045;
    letter-spacing: -4.2px;
    margin-top: 26px;
}

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

.hero-description {
    max-width: 445px;
    margin-top: 28px;
    color: #6b6e64;
    font-size: 15px;
    line-height: 1.8;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    padding: 16px 22px;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 500;
    transition: background 180ms, transform 180ms;
}

.button:hover {
    transform: translateY(-2px);
}

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

.button-primary:hover {
    background: #853e2b;
}

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

.button-dark:hover {
    background: #474b40;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    font-size: 12px;
    font-weight: 500;
    background: transparent;
    padding: 4px 0;
}

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

.status-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #7f8b73;
}

.hero-visual {
    position: relative;
    padding-bottom: 24px;
}

.hero-image {
    width: 100%;
    height: 560px;
    object-fit: cover;
}

.image-label {
    position: absolute;
    top: 21px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: white;
    font-size: 9px;
    letter-spacing: 1.5px;
    text-shadow: 0 1px 8px #292c26;
}

.small-cross {
    font-size: 21px;
    font-weight: 300;
}

.insight-card {
    position: absolute;
    bottom: 54px;
    left: -30px;
    width: 319px;
    padding: 24px;
    background: var(--white);
    box-shadow: 0 8px 24px #24251b15;
}

.insight-top, .insight-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.insight-top .eyebrow {
    font-size: 8px;
    letter-spacing: 1.3px;
}

.insight-top .icon {
    color: var(--accent);
    width: 16px;
    height: 16px;
}

.insight-bottom {
    margin-top: 17px;
}

.insight-bottom p {
    font-size: 15px;
    line-height: 1.6;
}

.insight-bottom strong {
    font-weight: 500;
}

.mini-chart {
    display: flex;
    gap: 5px;
    align-items: flex-end;
    height: 48px;
    border-bottom: 1px solid var(--line);
}

.mini-chart i {
    display: block;
    width: 8px;
    height: 15px;
    background: #d9bfb0;
}

.mini-chart i:nth-child(2) {
    height: 22px;
}
.mini-chart i:nth-child(3) {
    height: 20px;
}
.mini-chart i:nth-child(4) {
    height: 31px;
}
.mini-chart i:nth-child(5) {
    height: 37px;
}
.mini-chart i:nth-child(6) {
    height: 47px;
    background: var(--accent);
}

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

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

.expertise-strip .page-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding-block: 27px;
}

.expertise-strip .page-container > span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border-right: 1px solid var(--line);
    font-size: 12px;
}

.expertise-strip .page-container > span:first-child {
    justify-content: flex-start;
}

.expertise-strip .page-container > span:last-child {
    border: 0;
    justify-content: flex-end;
}

.line-icon {
    width: 24px;
    height: 24px;
    color: #828675;
    stroke-width: 1.1;
}

.about-section {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    gap: 64px;
}

body h2 {
    font-size: clamp(36px, 3.6vw, 51px);
    line-height: 1.15;
    letter-spacing: -1.8px;
    margin-top: 22px;
}

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

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

.about-copy > p:not(.lead), .review-copy > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
    margin-bottom: 16px;
}

.about-copy .text-link {
    margin-top: 8px;
}

.services-section {
    background: #eeeee7;
}

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

.section-intro > p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.85;
    padding-bottom: 4px;
}

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

.service-card {
    padding: 27px 25px 0;
    border: 1px solid #ddddd3;
    background: var(--paper);
    transition: border-color 180ms, box-shadow 180ms;
}

.service-card:hover {
    border-color: #bdb7a6;
    box-shadow: 0 6px 18px #292c2608;
}

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

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

.service-icon {
    width: 32px;
    height: 32px;
    color: var(--accent);
    stroke-width: 1.2;
}

.service-card h3 {
    font-family: var(--serif);
    font-size: 25px;
    font-weight: 400;
    letter-spacing: -.6px;
    line-height: 1.18;
    margin-bottom: 16px;
}

.service-card > p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.85;
    min-height: 110px;
}

.service-card details {
    border-top: 1px solid var(--line);
    margin-top: 16px;
}

.service-card summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    list-style: none;
    padding-block: 20px;
    font-size: 11px;
}

.service-card summary::-webkit-details-marker {
    display: none;
}

.service-card summary > span {
    font-size: 20px;
    color: var(--accent);
    line-height: 1;
    transition: transform 180ms;
}

.service-card details[open] summary > span {
    transform: rotate(45deg);
}

.service-detail {
    padding-bottom: 23px;
    font-size: 12px;
    line-height: 1.8;
    color: var(--muted);
}

.services-note {
    margin-top: 28px;
    text-align: center;
    font-size: 11px;
    color: var(--muted);
}

.services-note a {
    color: var(--ink);
    margin-left: 9px;
    border-bottom: 1px solid #a5a799;
    padding-bottom: 3px;
}

.services-note a span {
    margin-left: 6px;
}

.approach-section {
    background: #2c3028;
    color: #f2f0e8;
}

.approach-section .eyebrow {
    color: #c6c8ba;
}

.approach-section .accent-line {
    background: #c58d70;
}

.approach-section h2 em {
    color: #c5bfae;
}

.approach-section .section-intro > p {
    color: #b8bbae;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
    margin-top: 57px;
}

.approach-step {
    border-top: 1px solid #565b4e;
    padding-top: 24px;
}

.step-number {
    font-size: 12px;
    letter-spacing: 1px;
    color: #c8b396;
}

.approach-step h3 {
    margin-block: 23px 13px;
    font-family: var(--serif);
    font-size: 23px;
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: -.5px;
}

.approach-step > p {
    color: #b8bbae;
    font-size: 13px;
    line-height: 1.85;
}

.step-output {
    display: block;
    margin-top: 32px;
    font-size: 8px;
    letter-spacing: 1.3px;
    color: #b8bbae;
}

.step-output > span {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    color: #e9e8df;
    letter-spacing: .1px;
}

.review-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 90px;
}

.review-visual {
    position: relative;
}

.review-visual img {
    width: 100%;
    height: 474px;
    object-fit: cover;
}

.review-image-caption {
    position: absolute;
    left: 26px;
    bottom: 25px;
    padding: 9px 13px;
    background: var(--paper);
    font-size: 10px;
    letter-spacing: .3px;
}

.review-copy h2 {
    margin-block: 21px;
}

.review-copy > p:not(.eyebrow) {
    max-width: 430px;
}

.review-points {
    padding: 0;
    margin: 21px 0 27px;
    list-style: none;
    font-size: 11px;
    line-height: 2.5;
}

.review-points li::before {
    content: '↗';
    color: var(--accent);
    font-size: 13px;
    margin-right: 12px;
}

.contact-section {
    background: #e9e8df;
    padding-top: 83px;
}

.contact-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 36px;
    padding-bottom: 62px;
    border-bottom: 1px solid #cccdc0;
}

.contact-top h2 {
    font-size: clamp(35px, 3.4vw, 47px);
}

.contact-top .button {
    flex-shrink: 0;
    margin-top: 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 45px;
    padding-block: 49px;
}

.footer-brand > p {
    margin-top: 19px;
    font-size: 11px;
    color: #6a6d61;
}

.footer-grid h3 {
    font-size: 9px;
    letter-spacing: 1.4px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #676b5d;
}

.footer-grid > div:not(:first-child) {
    padding-top: 5px;
}

.footer-grid > div:not(:first-child) > a {
    display: block;
    font-size: 13px;
    margin-bottom: 11px;
}

.contact-email {
    overflow-wrap: anywhere;
}

.contact-email span {
    margin-left: 7px;
}

address {
    font-style: normal;
    font-size: 12px;
    line-height: 1.95;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #cccdc0;
    padding-block: 23px;
    color: #6a6d61;
    font-size: 9px;
}

body dialog {
    width: min(530px, calc(100% - 32px));
    max-height: calc(100dvh - 40px);
    margin: auto;
    padding: 40px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    overflow-y: auto;
}

dialog::backdrop {
    background: #20231ce0;
    backdrop-filter: blur(5px);
}

.dialog-close {
    position: absolute;
    top: 12px;
    right: 15px;
    width: 36px;
    height: 36px;
    font-size: 29px;
    line-height: 1;
    background: transparent;
    color: var(--ink);
}

dialog h2 {
    font-size: 44px;
    margin-block: 17px;
}

#brief-description {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 23px;
}

#brief-form label {
    display: block;
    font-size: 12px;
    margin-block: 14px 5px;
}

#brief-form label span {
    font-size: 10px;
    color: var(--muted);
}

#brief-form input, #brief-form select, #brief-form textarea {
    display: block;
    width: 100%;
    border: 1px solid #c7c9bc;
    border-radius: 0;
    padding: 10px 12px;
    font-size: 13px;
    background: var(--white);
    color: var(--ink);
}

#brief-form textarea {
    resize: vertical;
    min-height: 90px;
}

#brief-form .button {
    width: 100%;
    margin-top: 23px;
}

.form-note {
    margin-top: 13px;
    font-size: 10px;
    color: var(--muted);
    line-height: 1.6;
}

.form-note a {
    text-decoration: underline;
    overflow-wrap: anywhere;
}

.brief-result > p:first-child {
    margin-bottom: 20px;
    font-size: 14px;
}

.brief-result .text-link {
    margin-top: 15px;
}

[hidden] {
    display: none !important;
}

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

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

    .hero, .about-section {
        gap: 42px;
    }

    body h1 {
        font-size: 65px;
        letter-spacing: -3.5px;
    }

    .hero-image {
        height: 525px;
    }

    .hero-actions {
        gap: 15px;
    }

    .hero-actions .button {
        padding-inline: 17px;
        gap: 15px;
    }

    .hero-actions .text-link {
        font-size: 11px;
        gap: 8px;
    }

    .main-nav {
        gap: 25px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-card > p {
        min-height: 65px;
        max-width: 350px;
    }

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

    .review-section {
        gap: 55px;
    }

    .approach-grid {
        gap: 32px;
    }

    .footer-grid {
        gap: 26px;
    }
}

@media (max-width: 900px) {
    body h1 {
        font-size: 57px;
        letter-spacing: -3px;
    }

    .hero {
        gap: 34px;
    }

    .hero-actions {
        gap: 13px;
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-description {
        font-size: 14px;
    }

    .insight-card {
        width: 280px;
        padding: 20px;
        left: -18px;
    }

    .insight-top .eyebrow {
        font-size: 7px;
    }

    .expertise-strip .page-container > span {
        gap: 8px;
        font-size: 10px;
    }

    .section-intro > p {
        max-width: 270px;
    }

    .review-section {
        gap: 35px;
    }

    .contact-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 35px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom > span {
        display: none;
    }
}

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

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

    .header-inner {
        min-height: 81px;
    }

    .brand-type {
        font-size: 15px;
    }

    .brand-mark {
        font-size: 34px;
    }

    .brand-mark span:last-child {
        font-size: 29px;
    }

    .menu-toggle {
        display: flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 6px;
        background: transparent;
        position: relative;
    }

    .menu-toggle > span {
        display: block;
        width: 23px;
        height: 1px;
        background: var(--ink);
        transition: transform 180ms;
    }

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

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

    .main-nav {
        display: none;
        position: absolute;
        z-index: 10;
        left: 0;
        right: 0;
        top: 81px;
        background: var(--paper);
        padding: 22px;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 12px 20px #292c2610;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav > a {
        font-size: 14px;
    }

    .nav-contact {
        margin: 5px 0;
        justify-content: space-between;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-block: 45px 40px;
        gap: 38px;
    }

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

    body h1 {
        font-size: clamp(49px, 13.7vw, 80px);
        letter-spacing: -2.7px;
        line-height: 1.08;
        margin-top: 23px;
    }

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

    .hero-actions {
        flex-direction: row;
        align-items: center;
        gap: 18px;
        margin-top: 26px;
    }

    .hero-actions .button {
        padding: 15px 17px;
    }

    .hero-note {
        margin-top: 25px;
        font-size: 9px;
    }

    .hero-image {
        height: 430px;
        object-position: center 48%;
    }

    .insight-card {
        left: -9px;
        bottom: 49px;
        width: 283px;
    }

    .expertise-strip .page-container {
        grid-template-columns: 1fr 1fr;
        padding-block: 7px;
    }

    .expertise-strip .page-container > span,
    .expertise-strip .page-container > span:last-child {
        font-size: 10px;
        justify-content: flex-start;
        padding-block: 16px;
        border: 0;
        gap: 9px;
    }

    .expertise-strip .page-container > span:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .line-icon {
        width: 20px;
        height: 20px;
    }

    .about-section, .review-section {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    body h2 {
        font-size: 39px;
        letter-spacing: -1.7px;
    }

    .about-copy .lead {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .section-intro {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
        margin-bottom: 30px;
    }

    .section-intro > p {
        max-width: none;
    }

    .services-grid {
        gap: 12px;
    }

    .service-card {
        padding: 23px 20px 0;
    }

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

    .service-card > p {
        min-height: 114px;
    }

    .services-note {
        line-height: 2.3;
        max-width: 370px;
        margin-inline: auto;
    }

    .services-note a {
        display: inline-block;
    }

    .approach-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        margin-top: 36px;
    }

    .approach-step h3 {
        margin-top: 15px;
        font-size: 25px;
    }

    .step-output {
        margin-top: 19px;
    }

    .review-visual img {
        height: 350px;
    }

    .review-copy {
        padding-top: 8px;
    }

    .review-copy h2 {
        font-size: 46px;
    }

    .contact-section {
        padding-top: 65px;
    }

    .contact-top {
        padding-bottom: 42px;
    }

    .contact-top h2 {
        font-size: 37px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        padding-block: 38px;
    }

    .footer-grid h3 {
        margin-bottom: 13px;
    }

    .footer-bottom {
        font-size: 8px;
        align-items: flex-start;
    }

    .footer-bottom > p {
        max-width: 230px;
    }

    .footer-bottom > a {
        white-space: nowrap;
    }

    body dialog {
        padding: 34px 23px 26px;
    }
}

@media (max-width: 420px) {
    .hero-actions {
        gap: 15px;
    }

    .hero-actions .button {
        gap: 12px;
        padding-inline: 13px;
        font-size: 11px;
    }

    .hero-actions .text-link {
        font-size: 10px;
        gap: 6px;
    }

    .hero-image {
        height: 395px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .service-card > p {
        min-height: 0;
        font-size: 13px;
    }

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

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

    .service-card details {
        margin-top: 22px;
    }

    .review-points {
        font-size: 10px;
    }

    .contact-top h2 {
        font-size: 32px;
    }
}

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

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