:root {
    --cream: #fbf7ef;
    --paper: #fffdf8;
    --red: #c84f3d;
    --red-dark: #a83c2d;
    --green: #627b59;
    --green-light: #e7eddf;
    --ink: #292923;
    --muted: #68675f;
    --line: #ded8cc;
    --white: #fff;
    --serif: Georgia, 'Times New Roman', serif;
    --sans: Arial, Helvetica, sans-serif;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.65;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.wrap {
    width: min(var(--max), calc(100% - 42px));
    margin: auto;
}

.topline {
    background: var(--green);
    color: #fff;
    font-size: .83rem;
    padding: 8px 0;
}

.topline .wrap {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.site-header {
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 20;
}

.nav {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: -.04em;
    font-size: 1.15rem;
}

.brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.brand span {
    display: block;
    line-height: 1.15;
}

.brand small {
    display: block;
    font-size: .64rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 21px;
    font-size: .9rem;
    font-weight: 700;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--red);
}

.nav-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 19px;
    border: 1px solid var(--red);
    background: var(--red);
    color: #fff;
    border-radius: 3px;
    font-weight: 800;
    transition: .2s;
}

.nav-cta:hover,
.btn:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}

.btn-outline:hover {
    background: var(--ink);
    color: #fff;
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: transparent;
    padding: 9px 12px;
    border-radius: 3px;
}

.eyebrow {
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--red);
    display: flex;
    align-items: center;
    gap: 10px;
}

.eyebrow::before {
    content: "";
    width: 27px;
    height: 2px;
    background: currentColor;
}

.serif {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -.045em;
}

.hero {
    padding: 76px 0 82px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.06fr .94fr;
    align-items: center;
    gap: 60px;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.7rem);
    line-height: .98;
    margin: 18px 0 25px;
    max-width: 750px;
}

.hero h1 em {
    font-style: normal;
    color: var(--red);
}

.lead {
    font-size: 1.13rem;
    max-width: 650px;
    color: var(--muted);
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-visual {
    position: relative;
    min-height: 440px;
}

.hero-visual img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: 48% 48% 3px 3px;
}

.visual-note {
    position: absolute;
    left: -28px;
    bottom: 25px;
    background: var(--green-light);
    padding: 19px 22px;
    max-width: 225px;
    border-left: 4px solid var(--green);
    font-family: var(--serif);
    font-size: 1.25rem;
    line-height: 1.25;
}

.section {
    padding: 78px 0;
}

.section-white {
    background: var(--paper);
}

.section-green {
    background: var(--green-light);
}

.section-red {
    background: var(--red);
    color: #fff;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 34px;
}

.section-head h2,
.section h2 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.05;
    margin: 12px 0 14px;
}

.section-head p {
    max-width: 470px;
    color: var(--muted);
    margin: 0;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.card {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 27px;
    min-height: 235px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card .num {
    font-family: var(--serif);
    font-size: 2.2rem;
    color: var(--red);
}

.card h3 {
    font-size: 1.3rem;
    line-height: 1.2;
    margin: 15px 0 10px;
}

.card p {
    color: var(--muted);
    margin: 0 0 22px;
}

.text-link {
    font-weight: 800;
    color: var(--red);
    margin-top: auto;
}

.text-link::after {
    content: " ↗";
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.split img {
    width: 100%;
    height: 430px;
    object-fit: cover;
}

.list-check {
    list-style: none;
    padding: 0;
    margin: 22px 0;
}

.list-check li {
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
}

.list-check li::before {
    content: "✓";
    color: var(--green);
    font-weight: 900;
    margin-right: 12px;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.stat {
    border-top: 2px solid var(--red);
    padding-top: 14px;
}

.stat strong {
    display: block;
    font: 2.3rem var(--serif);
}

.stat span {
    color: var(--muted);
    font-size: .9rem;
}

.banner {
    padding: 50px;
    background: var(--green-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.banner h2 {
    max-width: 650px;
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.page-hero {
    padding: 67px 0 60px;
    border-bottom: 1px solid var(--line);
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1fr .72fr;
    gap: 55px;
    align-items: center;
}

.page-hero h1 {
    font-size: clamp(3rem, 6vw, 5.2rem);
    line-height: .98;
    margin: 16px 0 22px;
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 690px;
}

.page-art {
    background: var(--green-light);
    padding: 24px;
    min-height: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.page-art img {
    width: 100%;
    height: 270px;
    object-fit: cover;
}

.page-art .art-tag {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: var(--red);
    color: white;
    padding: 10px 13px;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.kicker {
    color: var(--green);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .76rem;
}

.service-layout {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 50px;
}

.side-note {
    background: var(--green-light);
    padding: 28px;
    height: max-content;
}

.side-note h3 {
    font: 1.8rem var(--serif);
    margin: 0 0 12px;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.feature {
    padding: 23px;
    border: 1px solid var(--line);
    background: var(--paper);
}

.feature h3 {
    margin: 0 0 8px;
}

.feature p {
    margin: 0;
    color: var(--muted);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 30px;
}

.step {
    padding: 20px;
    border-top: 2px solid var(--green);
    border-right: 1px solid var(--line);
}

.step:last-child {
    border-right: 0;
}

.step b {
    font: 2rem var(--serif);
    color: var(--red);
}

.step h3 {
    margin: 8px 0;
}

.faq-list {
    max-width: 850px;
    margin: auto;
}

.faq-item {
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
}

.faq-item summary {
    font-weight: 800;
    cursor: pointer;
    font-size: 1.08rem;
}

.faq-item p {
    color: var(--muted);
    max-width: 740px;
}

.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 40px;
}

.contact-card {
    background: var(--green-light);
    padding: 30px;
}

.contact-card h3 {
    font: 2rem var(--serif);
    margin-top: 0;
}

.contact-form {
    background: var(--paper);
    padding: 30px;
    border: 1px solid var(--line);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.field.full {
    grid-column: 1 / -1;
}

.field label {
    font-size: .88rem;
    font-weight: 800;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    border: 1px solid var(--line);
    padding: 13px;
    background: #fffdf9;
    border-radius: 2px;
}

.field textarea {
    min-height: 140px;
    resize: vertical;
}

.note {
    font-size: .85rem;
    color: var(--muted);
}

.quote-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.quote {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 25px;
}

.quote .stars {
    color: var(--red);
    letter-spacing: .15em;
}

.quote blockquote {
    margin: 17px 0;
    font: 1.35rem/1.35 var(--serif);
}

.quote cite {
    font-style: normal;
    font-weight: 800;
    font-size: .9rem;
}

.quote small {
    display: block;
    color: var(--muted);
    font-weight: 400;
}

.legal {
    max-width: 850px;
}

.legal h2 {
    font-size: 1.7rem;
    margin-top: 35px;
}

.legal p,
.legal li {
    color: var(--muted);
}

.footer {
    background: var(--ink);
    color: #f7f2e8;
    padding: 60px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr .8fr .8fr 1fr;
    gap: 35px;
}

.footer .brand {
    color: #fff;
}

.footer .brand small {
    color: #c8c3b8;
}

.footer p,
.footer a {
    color: #d6d0c4;
}

.footer h3 {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #fff;
}

.footer-links {
    display: grid;
    gap: 9px;
    font-size: .92rem;
}

.footer a:hover {
    color: #f4a08e;
}

.footer-bottom {
    border-top: 1px solid #55534b;
    margin-top: 38px;
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    font-size: .82rem;
    color: #bdb7ab;
}

.mobile-cta {
    display: none;
}

.pill {
    display: inline-block;
    border: 1px solid var(--line);
    border-radius: 99px;
    padding: 7px 12px;
    font-size: .8rem;
    font-weight: 800;
    margin: 4px 4px 0 0;
}

.editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.editorial-card {
    padding: 30px;
    background: var(--paper);
    border-top: 4px solid var(--red);
}

.editorial-card:nth-child(even) {
    border-color: var(--green);
}

.editorial-card .category {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--red);
}

.editorial-card h3 {
    font: 2rem/1.1 var(--serif);
    margin: 12px 0;
}

.editorial-card p {
    color: var(--muted);
}

.dashboard {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 24px;
    box-shadow: 8px 8px 0 var(--green-light);
}

.dashboard-top {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
}

.dashboard-top strong {
    font-size: 1.05rem;
}

.dashboard-bars {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.bar-line {
    display: grid;
    grid-template-columns: 105px 1fr 35px;
    gap: 10px;
    align-items: center;
    font-size: .82rem;
}

.bar {
    height: 10px;
    background: #e9e2d5;
}

.bar i {
    display: block;
    height: 100%;
    background: var(--red);
}

.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-top: 20px;
}

.calendar span {
    background: #f0e9dc;
    min-height: 42px;
    display: grid;
    place-items: center;
    font-size: .76rem;
}

.calendar span.active {
    background: var(--green);
    color: #fff;
}

.funnel {
    max-width: 600px;
    margin: 25px auto 0;
    text-align: center;
}

.funnel div {
    padding: 15px;
    margin: 7px auto;
    color: #fff;
    font-weight: 800;
}

.funnel div:nth-child(1) {
    width: 100%;
    background: var(--red);
}

.funnel div:nth-child(2) {
    width: 82%;
    background: #b94736;
}

.funnel div:nth-child(3) {
    width: 64%;
    background: var(--green);
}

.funnel div:nth-child(4) {
    width: 46%;
    background: var(--ink);
}

.portfolio {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.portfolio-item {
    background: var(--paper);
    border: 1px solid var(--line);
}

.portfolio-item .mock {
    min-height: 185px;
    padding: 20px;
    background: var(--green-light);
}

.mock .mock-window {
    background: #fffdf8;
    border: 1px solid var(--line);
    padding: 15px;
    max-width: 320px;
    margin: auto;
    box-shadow: 7px 7px 0 #d5ddcb;
}

.mock .mock-line {
    height: 8px;
    background: #ded8cc;
    margin: 8px 0;
    width: 75%;
}

.mock .mock-line.short {
    width: 45%;
}

.portfolio-item .caption {
    padding: 20px;
}

.portfolio-item h3 {
    margin: 0 0 6px;
}

.portfolio-item p {
    margin: 0;
    color: var(--muted);
}

.notice {
    padding: 16px 18px;
    border-left: 3px solid var(--red);
    background: #f4eadf;
    color: var(--muted);
    margin: 22px 0;
}

/* Tablet styles */
@media (max-width: 980px) {
    .nav-links {
        gap: 12px;
        font-size: .82rem;
    }

    .nav-cta {
        display: none;
    }

    .hero-grid,
    .page-hero-grid,
    .split,
    .contact-grid,
    .service-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero-visual {
        max-width: 650px;
    }

    .cards,
    .quote-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-art {
        max-width: 650px;
    }

    .side-note {
        order: 2;
    }
}

/* Mobile styles */
@media (max-width: 700px) {
    .wrap {
        width: min(var(--max), calc(100% - 30px));
    }

    .topline .wrap {
        justify-content: center;
        text-align: center;
    }

    .nav {
        min-height: 72px;
        flex-wrap: wrap;
    }

    .brand img {
        width: 46px;
        height: 46px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-basis: 100%;
        padding: 0 0 18px;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 10px 0;
        border-top: 1px solid var(--line);
    }

    .hero {
        padding: 48px 0 55px;
    }

    .hero-grid {
        gap: 35px;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 13vw, 4.5rem);
    }

    .hero-visual {
        min-height: 310px;
    }

    .hero-visual img {
        height: 320px;
    }

    .visual-note {
        left: -5px;
        bottom: 12px;
    }

    .section {
        padding: 54px 0;
    }

    .section-head {
        display: block;
    }

    .cards,
    .quote-grid,
    .feature-list,
    .editorial-grid,
    .portfolio {
        grid-template-columns: 1fr;
    }

    .card {
        min-height: auto;
    }

    .page-hero {
        padding: 46px 0;
    }

    .page-hero h1 {
        font-size: clamp(2.7rem, 12vw, 4.3rem);
    }

    .page-art img {
        height: 220px;
    }

    .page-art {
        min-height: 220px;
        padding: 15px;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .step {
        border-right: 0;
    }

    .banner {
        padding: 28px;
        display: block;
    }

    .banner .btn {
        margin-top: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer {
        padding: 44px 0 22px;
    }

    .footer-bottom {
        display: block;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .field.full {
        grid-column: auto;
    }

    .contact-form,
    .contact-card {
        padding: 22px;
    }

    .stat-row {
        grid-template-columns: 1fr;
    }

    .mobile-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--red);
        color: white;
        text-align: center;
        padding: 13px;
        font-weight: 800;
        z-index: 30;
    }

    .mobile-cta a {
        display: block;
    }

    .footer {
        padding-bottom: 65px;
    }
}