body.wjm-home-page .entry-hero,
body.wjm-home-page .entry-hero-container-inner,
body.wjm-home-page .page-hero-section,
body.wjm-home-page .kadence-page-title-wrap,
body.wjm-home-page .entry-header,
body.wjm-home-page .wp-block-post-title {
    display: none !important;
}

body.wjm-home-page .content-area,
body.wjm-home-page .site-main,
body.wjm-home-page .entry-content-wrap {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.wjm-site {
    --wjm-ink: #151515;
    --wjm-muted: #5f5b57;
    --wjm-line: #e8e1d6;
    --wjm-paper: #fff;
    width: min(1180px, calc(100vw - 64px));
    max-width: none;
    margin: 0 auto;
    color: var(--wjm-ink);
}

.wjm-site,
.wjm-site * {
    box-sizing: border-box;
}

.wjm-site h1,
.wjm-site h2,
.wjm-site h3 {
    color: var(--wjm-ink);
}

.wjm-site h1,
.wjm-site h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.wjm-home-hero {
    display: grid;
    grid-template-columns: minmax(420px, 1.08fr) minmax(360px, 0.92fr);
    gap: clamp(36px, 6vw, 78px);
    align-items: center;
    margin: 44px 0 76px;
    padding: clamp(34px, 5vw, 64px);
    background: var(--wjm-paper);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.06);
}

.wjm-home-kicker {
    margin: 0 0 26px;
    color: #6f7680;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.wjm-home-hero h1 {
    max-width: 620px;
    margin: 0 0 20px;
    font-size: clamp(3.15rem, 5.2vw, 5.35rem);
    line-height: 0.93;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.wjm-home-strapline {
    max-width: 520px;
    margin: 0;
    color: var(--wjm-muted);
    font-size: 1.1rem;
    line-height: 1.55;
}

.wjm-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.wjm-button {
    display: inline-block;
    padding: 13px 20px;
    border-radius: 999px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
}

.wjm-button-primary {
    border: 1px solid var(--wjm-ink);
    background: var(--wjm-ink);
    color: #fff !important;
}

.wjm-button-secondary {
    border: 1px solid var(--wjm-ink);
    background: transparent;
    color: var(--wjm-ink) !important;
}

.wjm-button:hover,
.wjm-button:focus {
    opacity: 0.82;
}

.wjm-home-hero-copy,
.wjm-home-hero-image {
    min-width: 0;
}

.wjm-home-hero-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
}

.wjm-home-section {
    margin: 0 0 78px;
}

.wjm-home-section > h2,
.wjm-home-panel h2 {
    margin: 0 0 18px;
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.02;
}

.wjm-home-section > p,
.wjm-home-panel p {
    max-width: 820px;
    color: var(--wjm-muted);
    font-size: 1.03rem;
    line-height: 1.7;
}

.wjm-home-services {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.wjm-home-services article {
    padding: 24px;
    border-top: 1px solid var(--wjm-line);
}

.wjm-home-services h3 {
    margin: 0 0 10px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.18rem;
}

.wjm-home-services p {
    margin: 0;
    color: var(--wjm-muted);
    line-height: 1.6;
}

.wjm-selected-work {
    columns: 3 280px;
    column-gap: 16px;
    margin-top: 30px;
}

.wjm-selected-work img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 16px;
    break-inside: avoid;
}

.wjm-home-lower-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 0 0 72px;
}

.wjm-home-panel {
    padding: clamp(28px, 4vw, 46px);
    border: 1px solid var(--wjm-line);
    background: var(--wjm-paper);
}

.wjm-home-panel h2 {
    font-size: clamp(2.2rem, 3.5vw, 3.5rem);
}

.wjm-text-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--wjm-ink);
    font-weight: 700;
}

@media (max-width: 1040px) {
    .wjm-home-hero {
        grid-template-columns: minmax(360px, 1fr) minmax(320px, 0.9fr);
    }
}

@media (max-width: 900px) {
    .wjm-site {
        width: min(calc(100% - 32px), 760px);
        max-width: 100%;
    }

    .wjm-home-hero {
        width: 100%;
        min-width: 0;
        grid-template-columns: minmax(0, 1fr);
        margin-top: 24px;
    }

    .wjm-home-hero-image {
        order: -1;
    }

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

    .wjm-home-lower-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .wjm-site {
        width: 100%;
        max-width: 100%;
        padding: 0 14px;
    }

    .wjm-home-hero {
        width: 100%;
        max-width: 100%;
        gap: 26px;
        margin: 20px 0 54px;
        padding: 20px;
    }

    .wjm-home-hero h1 {
        max-width: 100%;
        font-size: clamp(2.65rem, 13vw, 4rem);
        line-height: 0.96;
    }

    .wjm-home-hero-image {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .wjm-home-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .wjm-button {
        text-align: center;
    }

    .wjm-home-services {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .wjm-home-services article {
        padding: 20px 0;
    }

    .wjm-selected-work {
        columns: 1;
    }

    .wjm-home-section {
        margin-bottom: 56px;
    }
}
