:root {
    --ink: #11110f;
    --muted: #6c6b65;
    --paper: #f5f4ef;
    --line: #d8d6ce;
    --white: #fffdf8;
    --accent: #c9f15a;
    --dark: #171715;
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;

    height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 28px;

    padding: 0 5vw;

    background: rgba(245, 244, 239, 0.92);

    backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(216, 214, 206, 0.7);
}

.brand {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 0.13em;
}

.brand-mark {
    width: 31px;
    height: 31px;

    display: grid;
    place-items: center;

    background: var(--ink);
    color: var(--white);

    border-radius: 9px;

    font-size: 10px;
    letter-spacing: -0.04em;
}

.brand-dot {
    color: #758c36;
}

.nav {
    display: flex;
    gap: 30px;
    margin-left: auto;
}

.nav a,
.nav-cta {
    font-size: 12px;
    font-weight: 700;
    color: #4c4b46;
}

.nav a:hover {
    color: var(--ink);
}

.nav-cta {
    padding: 11px 16px;

    border: 1px solid var(--ink);

    border-radius: 999px;

    color: var(--ink);
}

.nav-cta:hover {
    background: var(--ink);
    color: var(--white);
}

.menu-toggle {
    display: none;

    border: 0;
    background: none;

    font-size: 23px;

    cursor: pointer;
}

.section-pad {
    padding: 105px 7vw;
}


/* HERO */

.hero {
    padding-top: 82px;
    padding-bottom: 0;

    min-height: 760px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-grid {
    display: grid;

    grid-template-columns: 1.45fr 0.75fr;

    gap: 8vw;

    align-items: end;

    max-width: 1400px;
    width: 100%;

    margin: auto;
}

.eyebrow,
.section-label {
    font-size: 10px;
    font-weight: 900;

    letter-spacing: 0.16em;
    text-transform: uppercase;

    color: var(--muted);
}

.eyebrow {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 28px;
}

.eyebrow-line {
    width: 34px;
    height: 1px;

    background: var(--ink);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 980px;

    font-size: clamp(44px, 6.1vw, 92px);

    line-height: 0.98;

    letter-spacing: -0.055em;

    margin-bottom: 32px;
}

h1 em,
h2 em {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 400;

    letter-spacing: -0.04em;
}

h1 em {
    color: #5b5a54;
}

.hero-copy {
    max-width: 690px;

    color: var(--muted);

    font-size: 17px;

    line-height: 1.75;
}

.hero-actions {
    display: flex;
    align-items: center;

    gap: 26px;

    margin-top: 35px;

    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;

    gap: 14px;

    border-radius: 999px;

    padding: 15px 21px;

    font-size: 12px;
    font-weight: 800;
}

.button-dark {
    background: var(--ink);
    color: var(--white);
}

.text-link {
    font-size: 12px;
    font-weight: 800;

    border-bottom: 1px solid var(--ink);

    padding-bottom: 4px;
}

.hero-side {
    padding-bottom: 25px;
}

.signal-card {
    background: var(--dark);
    color: var(--white);

    padding: 27px;

    min-height: 290px;

    border-radius: var(--radius);

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.signal-top {
    display: flex;
    justify-content: space-between;

    font-size: 9px;

    letter-spacing: 0.14em;

    color: #a5a49d;
}

.signal-word {
    font-size: clamp(32px, 4vw, 54px);

    letter-spacing: -0.06em;

    font-weight: 800;
}

.signal-flow {
    display: flex;

    gap: 8px;

    flex-wrap: wrap;

    align-items: center;

    font-size: 10px;

    color: #d6d4cb;
}

.signal-flow i {
    color: var(--accent);
    font-style: normal;
}

.hero-note {
    display: flex;

    gap: 11px;

    margin-top: 17px;

    font-size: 12px;

    color: var(--muted);
}

.pulse {
    width: 7px;
    height: 7px;

    background: var(--accent);

    border-radius: 50%;

    margin-top: 6px;

    box-shadow:
        0 0 0 5px rgba(201, 241, 90, 0.15);
}

.trust-strip {
    max-width: 1400px;
    width: 100%;

    margin: 90px auto 0;

    padding: 20px 0;

    border-top: 1px solid var(--line);

    display: flex;
    align-items: center;

    gap: 17px;

    flex-wrap: wrap;

    font-size: 11px;
}

.trust-strip > span {
    color: var(--muted);

    letter-spacing: 0.13em;

    font-size: 9px;

    margin-right: 14px;
}

.trust-strip i {
    color: #aaa8a0;
}


/* INTRO */

.intro {
    background: var(--white);
}

.intro-grid,
.positioning-grid {
    max-width: 1400px;

    margin: 55px auto 0;

    display: grid;

    grid-template-columns: 0.85fr 1.15fr;

    gap: 9vw;
}

h2 {
    font-size: clamp(38px, 5vw, 70px);

    line-height: 0.99;

    letter-spacing: -0.055em;
}

h2 span {
    color: #77756e;
}

.lead {
    font-size: 18px;

    line-height: 1.65;

    color: #55534d;

    max-width: 690px;
}

.process-grid {
    display: grid;

    grid-template-columns: repeat(5, 1fr);

    border-top: 1px solid var(--line);

    margin-top: 45px;
}

.process-grid article {
    padding: 20px 15px 0 0;

    border-right: 1px solid var(--line);

    margin-right: 15px;
}

.process-grid article:last-child {
    border-right: 0;
    margin-right: 0;
}

.process-grid span,
.service-grid span {
    font-size: 9px;

    color: var(--muted);

    font-weight: 800;
}

.process-grid h3 {
    font-size: 15px;

    margin: 17px 0 7px;
}

.process-grid p {
    font-size: 11px;

    color: var(--muted);

    line-height: 1.55;
}


/* SECTION HEADINGS */

.section-head {
    max-width: 1400px;

    margin: auto;

    display: flex;

    justify-content: space-between;

    align-items: end;

    gap: 50px;
}

.section-head h2 {
    margin: 15px 0 0;
}

.section-head > p {
    max-width: 340px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}


/* FILTERS */

.filters {
    max-width: 1400px;

    margin: 50px auto 25px;

    display: flex;

    gap: 8px;
}

.filter {
    border: 1px solid var(--line);

    background: transparent;

    border-radius: 999px;

    padding: 9px 14px;

    font-size: 11px;

    cursor: pointer;
}

.filter.active,
.filter:hover {
    background: var(--ink);

    color: var(--white);

    border-color: var(--ink);
}


/* PROJECTS */

.project-grid {
    max-width: 1400px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}

.project-card {
    background: var(--white);

    border-radius: var(--radius);

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.project-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 20px 45px rgba(25, 25, 20, 0.08);
}

.project-card.hidden {
    display: none;
}

.project-visual {
    height: 330px;

    padding: 25px;

    position: relative;

    display: flex;
    flex-direction: column;

    justify-content: space-between;

    overflow: hidden;
}

.project-visual.dark {
    background: #151514;
    color: var(--white);
}

.project-visual.neutral {
    background: #dcdad1;
}

.project-visual.accent {
    background: #d6e9a2;
}

.project-visual.light {
    background: #efede4;
}

.project-visual.blush {
    background: #e9dfd7;
}

.visual-tag {
    font-size: 9px;

    letter-spacing: 0.13em;

    font-weight: 900;
}

.visual-main {
    font-size: clamp(30px, 4vw, 58px);

    line-height: 0.86;

    letter-spacing: -0.07em;

    font-weight: 900;
}

.visual-main em {
    font-family: Georgia, serif;

    font-weight: 400;
}

.visual-footer {
    display: flex;

    justify-content: space-between;

    font-size: 8px;

    letter-spacing: 0.14em;

    font-weight: 800;

    opacity: 0.65;
}

.project-body {
    padding: 27px 29px 30px;
}

.project-meta {
    display: flex;

    justify-content: space-between;

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: 0.13em;

    font-weight: 900;

    color: var(--muted);
}

.project-body h3 {
    font-size: 25px;

    line-height: 1.1;

    letter-spacing: -0.035em;

    margin: 17px 0 10px;

    max-width: 600px;
}

.project-body p {
    color: var(--muted);

    font-size: 13px;

    line-height: 1.65;

    max-width: 600px;

    min-height: 43px;
}

.case-link {
    border: 0;

    border-bottom: 1px solid var(--ink);

    background: none;

    padding: 0 0 3px;

    margin-top: 12px;

    cursor: pointer;

    font-size: 11px;

    font-weight: 900;
}


/* RESULTS */

.results {
    background: var(--dark);

    color: var(--white);
}

.results .section-label {
    color: #99978f;
}

.results-grid {
    max-width: 1400px;

    margin: 55px auto 0;

    display: grid;

    grid-template-columns: 1.25fr repeat(2, 0.9fr);

    gap: 0;
}

.result-intro {
    grid-row: span 2;

    padding-right: 7vw;

    border-right: 1px solid #373731;
}

.result-intro h2 {
    margin: 0 0 25px;
}

.result-intro h2 span {
    color: #96948b;
}

.result-intro p {
    color: #aaa89f;

    max-width: 390px;

    font-size: 13px;

    line-height: 1.7;
}

.metric {
    padding: 38px 32px;

    border-bottom: 1px solid #373731;
}

.metric:nth-child(3),
.metric:nth-child(5) {
    border-left: 1px solid #373731;
}

.metric strong {
    display: block;

    font-size: clamp(35px, 4vw, 55px);

    letter-spacing: -0.055em;

    color: var(--accent);
}

.metric span {
    display: block;

    margin-top: 10px;

    max-width: 240px;

    color: #aaa89f;

    font-size: 11px;

    line-height: 1.55;
}

.evidence-note {
    max-width: 1400px;

    margin: 45px auto 0;

    color: #77756d;

    font-size: 10px;
}


/* WEB */

.web-work {
    background: var(--white);
}

.web-list {
    max-width: 1400px;

    margin: 55px auto 0;

    border-top: 1px solid var(--line);
}

.web-item {
    display: grid;

    grid-template-columns: 70px 1fr 30px;

    gap: 20px;

    align-items: center;

    padding: 24px 0;

    border-bottom: 1px solid var(--line);

    transition: padding 0.2s ease;
}

.web-item:hover {
    padding-left: 10px;
}

.web-item > span {
    font-size: 10px;

    color: var(--muted);
}

.web-item b {
    display: block;

    font-size: 18px;

    letter-spacing: -0.02em;
}

.web-item small {
    display: block;

    color: var(--muted);

    font-size: 11px;

    margin-top: 3px;
}

.web-item > span:last-child {
    text-align: right;

    color: var(--muted);
}

.web-count {
    max-width: 1400px;

    margin: 50px auto 0;

    display: flex;

    align-items: center;

    gap: 18px;

    color: var(--muted);

    font-size: 11px;
}

.web-count strong {
    font-size: 52px;

    color: var(--ink);

    letter-spacing: -0.06em;
}

.count-rule {
    width: 90px;

    height: 1px;

    background: var(--line);
}


/* SERVICES */

.services {
    background: var(--paper);
}

.service-heading {
    max-width: 1400px;

    margin: 55px auto 0;

    display: flex;

    justify-content: space-between;

    gap: 60px;

    align-items: end;
}

.service-heading h2 {
    margin: 0;
}

.service-heading p {
    max-width: 410px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}

.service-grid {
    max-width: 1400px;

    margin: 55px auto 0;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--line);

    border-left: 1px solid var(--line);
}

.service-grid article {
    min-height: 210px;

    padding: 22px;

    border-right: 1px solid var(--line);

    border-bottom: 1px solid var(--line);
}

.service-grid h3 {
    font-size: 19px;

    margin: 42px 0 9px;

    letter-spacing: -0.025em;
}

.service-grid p {
    color: var(--muted);

    font-size: 11px;

    line-height: 1.6;

    margin: 0;
}


/* AI */

.ai-section {
    background: var(--paper);

    padding-top: 10px;
}

.ai-panel {
    max-width: 1400px;

    margin: auto;

    padding: 55px;

    border-radius: var(--radius);

    background: #dfeac2;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 7vw;
}

.ai-panel h2 {
    margin: 18px 0 0;
}

.ai-panel p {
    color: #5c6250;

    font-size: 14px;

    line-height: 1.75;
}

.ai-flow {
    display: flex;

    gap: 9px;

    flex-wrap: wrap;

    align-items: center;

    margin-top: 30px;

    font-size: 10px;

    font-weight: 900;
}

.ai-flow span:nth-child(even) {
    color: #6f7c50;
}


/* POSITIONING */

.positioning {
    background: var(--white);
}

.check-list {
    list-style: none;

    padding: 0;

    margin: 40px 0 0;

    border-top: 1px solid var(--line);
}

.check-list li {
    display: grid;

    grid-template-columns: 150px 1fr;

    gap: 20px;

    padding: 16px 0;

    border-bottom: 1px solid var(--line);

    font-size: 12px;
}

.check-list span {
    color: var(--muted);
}


/* CONTACT */

.contact {
    background: var(--dark);

    color: var(--white);

    padding-top: 80px;

    padding-bottom: 80px;
}

.contact-panel {
    max-width: 1400px;

    margin: auto;
}

.contact .section-label {
    color: #929087;
}

.contact h2 {
    max-width: 1000px;

    margin: 50px 0 25px;
}

.contact h2 em {
    color: var(--accent);
}

.contact p {
    max-width: 650px;

    color: #aaa89f;

    font-size: 14px;

    line-height: 1.75;

    margin-bottom: 32px;
}

.button-light {
    background: var(--white);

    color: var(--ink);
}


/* FOOTER */

.footer {
    background: #0f0f0e;

    color: #a7a59c;

    padding: 55px 7vw 25px;
}

.footer .brand {
    color: var(--white);
}

.footer p {
    font-size: 11px;

    margin: 15px 0 0;
}

.footer-links {
    display: flex;

    gap: 25px;

    justify-content: flex-end;

    margin-top: -20px;

    font-size: 11px;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #292925;

    margin-top: 45px;

    padding-top: 18px;

    display: flex;

    justify-content: space-between;

    font-size: 9px;

    letter-spacing: 0.06em;
}


/* MODAL */

.modal {
    display: none;

    position: fixed;

    inset: 0;

    z-index: 100;

    align-items: center;

    justify-content: center;

    padding: 24px;
}

.modal.open {
    display: flex;
}

.modal-backdrop {
    position: absolute;

    inset: 0;

    background: rgba(12, 12, 11, 0.72);

    backdrop-filter: blur(7px);
}

.modal-card {
    position: relative;

    z-index: 2;

    max-width: 800px;

    width: 100%;

    max-height: 88vh;

    overflow: auto;

    background: var(--white);

    border-radius: var(--radius);

    padding: 42px;

    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;

    right: 18px;

    top: 15px;

    border: 0;

    background: none;

    font-size: 30px;

    cursor: pointer;

    color: var(--muted);
}

.modal-kicker {
    color: var(--muted);

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}

.modal-card h2 {
    margin: 15px 0 16px;

    font-size: clamp(36px, 5vw, 58px);
}

.modal-summary {
    color: #55534d;

    font-size: 15px;

    line-height: 1.7;
}

.modal-content {
    border-top: 1px solid var(--line);

    margin-top: 28px;

    padding-top: 25px;
}

.modal-content h4 {
    margin: 24px 0 8px;

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 0.1em;
}

.modal-content p,
.modal-content li {
    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}

.modal-content ul {
    padding-left: 18px;
}


/* TABLET */

@media (max-width: 980px) {

    .nav {
        display: none;

        position: absolute;

        left: 0;
        right: 0;

        top: 76px;

        background: var(--paper);

        border-bottom: 1px solid var(--line);

        padding: 22px 7vw;

        flex-direction: column;
    }

    .nav.open {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    .hero-grid,
    .intro-grid,
    .positioning-grid,
    .ai-panel {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-side {
        padding-top: 40px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid article {
        border-bottom: 1px solid var(--line);

        padding-bottom: 20px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .results-grid {
        grid-template-columns: 1fr 1fr;
    }

    .result-intro {
        grid-column: span 2;

        grid-row: auto;

        border-right: 0;

        border-bottom: 1px solid #373731;

        padding: 0 0 35px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-heading,
    .section-head {
        align-items: start;

        flex-direction: column;
    }

    .footer-links {
        justify-content: flex-start;

        margin-top: 30px;

        flex-wrap: wrap;
    }
}


/* MOBILE */

@media (max-width: 620px) {

    .site-header {
        padding: 0 5vw;
    }

    .section-pad {
        padding: 76px 5vw;
    }

    .hero {
        padding-top: 55px;
    }

    h1 {
        font-size: clamp(42px, 13vw, 65px);
    }

    h2 {
        font-size: clamp(38px, 12vw, 55px);
    }

    .hero-copy {
        font-size: 15px;
    }

    .trust-strip {
        margin-top: 65px;
    }

    .process-grid {
        grid-template-columns: 1fr 1fr;
    }

    .project-visual {
        height: 260px;
    }

    .project-body {
        padding: 23px;
    }

    .project-body h3 {
        font-size: 22px;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .result-intro {
        grid-column: auto;
    }

    .metric,
    .metric:nth-child(3),
    .metric:nth-child(5) {
        border-left: 0;
    }

    .web-item {
        grid-template-columns: 35px 1fr 20px;
    }

    .web-count {
        flex-wrap: wrap;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .ai-panel {
        padding: 30px;
    }

    .check-list li {
        grid-template-columns: 1fr;

        gap: 5px;
    }

    .contact h2 {
        margin-top: 35px;
    }

    .modal-card {
        padding: 32px 24px;
    }

    .footer {
        padding-left: 5vw;
        padding-right: 5vw;
    }
}
.brand-logo {
  display: block;
  width: 140px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
}