/*
Theme Name: Oakfield Marketing
Theme URI: https://oakfield.marketing/
Author: Oakfield Marketing
Description: Pixel-accurate Gutenberg theme for Oakfield Marketing.
Version: 1.0.0
Text Domain: oakfield
*/

:root {
    --canvas: #efeee9;
    --paper: #fff;
    --ink: #0e140f;
    --forest: #14261e;
    --lime: #afe063;
    --muted: #6b7268;
    --line: #dfddd5;
    --sand: #e3d8c6;
    --soft: #f4f6f2
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--canvas);
    color: var(--ink);
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6
}

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

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

.oak-container {
    width: 1200px;
    max-width: calc(100% - 48px);
    margin: 0 auto
}

.site-header {
    height: 91px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    background: var(--canvas);
    position: relative;
    z-index: 20;
    width: 100%;
    display: block;
    position: fixed;
    left: 0;
    top: 0;
}

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

.oak-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Manrope, Arial, sans-serif;
    font-weight: 800;
    line-height: 1
}

.oak-logo-mark {
    display: grid;
    grid-template-columns: 4px 4px 4px;
    align-items: end;
    gap: 3px;
    width: 28px;
    height: 28px;
    padding: 5px
}

.oak-logo-mark i {
    display: block;
    border-radius: 4px;
    background: var(--forest)
}

.oak-logo-mark i:nth-child(1) {
    height: 7px
}

.oak-logo-mark i:nth-child(2) {
    height: 13px
}

.oak-logo-mark i:nth-child(3) {
    height: 20px;
    background: var(--lime)
}

.oak-logo strong {
    display: block;
    font-size: 19px;
    letter-spacing: -.2px
}

.oak-logo small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-family: Inter, Arial, sans-serif;
    font-size: 8px;
    letter-spacing: 2px;
    font-weight: 500
}

.primary-nav ul,
.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0
}

.primary-nav>ul {
    display: flex;
    gap: 36px;
    align-items: center
}

.primary-nav a {
    font-size: 16px;
    font-weight: 500
}

.menu-item-has-children {
    position: relative
}

.sub-menu {
    display: none;
    position: absolute;
    top: 25px;
    left: -20px;
    width: 260px;
    background: #fff;
    padding: 18px !important;
    border-radius: 16px;
    box-shadow: 0 16px 45px rgba(14, 20, 15, .12)
}

.menu-item-has-children:hover>.sub-menu {
    display: block
}

.sub-menu li+li {
    margin-top: 10px
}

.oak-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 6px 6px 6px 26px;
    min-height: 50px;
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer
}

.oak-button::after {
    content: '';
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--lime);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M6.18182 11.0227L5.01136 9.86366L8.51705 6.35798H0V4.66479H8.51705L5.01136 1.16479L6.18182 0L11.6932 5.51139L6.18182 11.0227Z' fill='%2314261E'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.oak-form .oak-button.lime::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M6.18182 11.023L5.01136 9.8639L8.51705 6.35822H0V4.66504H8.51705L5.01136 1.16504L6.18182 0.000266075L11.6932 5.51163L6.18182 11.023Z' fill='%23AFE063'/%3E%3C/svg%3E");
    content: '';
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
        background-repeat: no-repeat;
    background-position: center;
}

.oak-button.lime {
    background: var(--lime);
    color: var(--forest)
}

.contact-form-section .oak-button.lime {
    margin: 20px 0 0 0;
}

.oak-button.lime:after {
    background: var(--forest);
    color: var(--lime);
    content: "->"
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    font-size: 25px
}

.oak-section {
    padding: 120px 0
}

.oak-section.white {
    background: #fff
}

.oak-section.sand {
    background: var(--sand)
}

.oak-section.dark {
    background: var(--forest);
    color: var(--soft)
}

.eyebrow {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500
}

.dark .eyebrow,
.oak-cta .eyebrow {
    color: var(--lime)
}

h1,
h2,
h3 {
    font-family: Manrope, Arial, sans-serif;
    margin: 0;
    line-height: 1.08
}

h1 {
    font-size: 58px;
    letter-spacing: -1.7px;
    font-weight: 800
}

h2 {
    font-size: 44px;
    letter-spacing: -1.1px;
    font-weight: 800
}

h3 {
    font-size: 21px;
    letter-spacing: -.2px
}

.lead {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.68
}

.hero {
    padding: 76px 0 112px;
    margin: 80px 0 0 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 600px 560px;
    gap: 40px
}

.hero-copy {
    padding-top: 6px
}

.hero-copy .lead {
    width: 560px;
    max-width: 100%;
    font-size: 18px;
    margin: 30px 0 38px
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px
}

.text-link {
    text-decoration: underline;
    font-weight: 600;
    font-size: 15px
}

.hero-visual {
    display: grid;
    grid-template-columns: 330px 210px;
    gap: 20px
}

.hero-main {
    width: 330px;
    height: 300px;
    border-radius: 28px;
    object-fit: cover
}

.hero-tile {
    height: 300px;
    border-radius: 28px;
    background: #fff;
    padding: 26px 24px
}

.icon-dot {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--lime);
    font-size: 20px
}

.hero-tile .eyebrow {
    margin: 14px 0
}

.hero-statement {
    grid-column: 1/-1;
    background: var(--forest);
    color: var(--soft);
    padding: 34px;
    border-radius: 28px
}

.hero-statement h3 {
    font-size: 26px;
    line-height: 1.24
}

.hero-statement p {
    color: #a4b0a5;
    font-size: 14px;
    line-height: 1.58;
    margin-bottom: 0
}

.split-grid {
    display: grid;
    grid-template-columns: 630px 460px;
    gap: 110px;
    align-items: center
}

.split-grid.reverse {
    grid-template-columns: 460px 630px
}

.split-grid.reverse .split-copy {
    order: 2
}

.split-copy p {
    white-space: pre-line
}

.split-image {
    width: 460px;
    height: 470px;
    border-radius: 32px;
    object-fit: cover
}

.quote-card {
    margin-top: 20px;
    padding: 30px;
    background: var(--sand);
    border-radius: 28px;
    font-family: Manrope;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.38
}

.section-head {
    display: grid;
    grid-template-columns: 620px 500px;
    gap: 80px;
    margin-bottom: 64px
}

.section-head .lead {
    margin: 14px 0 0
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.card {
    min-height: 252px;
    padding: 30px;
    background: var(--canvas);
    border-radius: 24px
}

.card.white {
    background: #fff
}

.card .number {
    color: var(--muted);
    font-family: Manrope;
    font-size: 13px;
    font-weight: 800
}

.card h3 {
    margin: 26px 0 12px
}

.card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.58
}

.services-panel {
    width: 1360px;
    max-width: calc(100% - 40px);
    margin: 40px auto;
    border-radius: 44px;
    background: var(--forest);
    color: var(--soft);
    padding: 92px 80px
}

.services-panel .section-head {
    margin-bottom: 64px
}

.services-panel .lead {
    color: #a4b0a5
}

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

.service-card {
    background: #193126;
    border: 1px solid #2c4237;
    border-radius: 28px;
    padding: 38px
}

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

.service-card p {
    color: #a4b0a5
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 25px 0
}

.tag {
    border: 1px solid #506157;
    border-radius: 999px;
    padding: 8px 15px;
    font-size: 13px;
    color: #c8d1c8
}

.process-wrap {
    padding: 36px;
    border-radius: 34px;
    background: var(--forest);
    color: #fff
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 32px 0 24px
}

.process-step {
    background: #1b3529;
    border-radius: 16px;
    padding: 24px;
    min-height: 170px
}

.process-step .number {
    color: var(--lime);
    font-weight: 700
}

.process-step p {
    color: #a4b0a5;
    font-size: 14px
}

.process-image {
    width: 100%;
    height: 270px;
    border-radius: 22px;
    object-fit: cover
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 60px;
    margin-top: 42px
}

.feature-item {
    padding: 16px 0;
    border-top: 1px solid var(--line);
    font-weight: 600
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.post-card {
    background: #fff;
    border-radius: 26px;
    padding: 16px;
    display: flex;
    flex-direction: column
}

.post-card img {
    width: 100%;
    height: 220px;
    border-radius: 18px;
    object-fit: cover
}

.post-card .eyebrow {
    margin: 20px 6px 12px
}

.post-card h3 {
    margin: 0 6px 12px
}

.post-card p {
    margin: 0 6px;
    color: var(--muted);
    font-size: 14px
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 28px 6px 4px;
    color: var(--muted);
    font-size: 12px
}

.archive-hero {
    padding: 86px 0 90px
}

.archive-hero .section-head {
    margin-bottom: 0
}

.oak-cta {
    margin: 0 auto 120px;
    width: 1360px;
    max-width: calc(100% - 40px);
    padding: 90px;
    background: var(--forest);
    color: #fff;
    border-radius: 40px;
    text-align: center
}

.oak-cta p {
    color: #a4b0a5;
    max-width: 620px;
    margin: 24px auto 30px
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px
}

.contact-card {
    background: #fff;
    border-radius: 26px;
    padding: 30px;
    min-height: 215px
}

.contact-card strong {
    display: block;
    margin-top: 20px
}

.contact-photo {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 32px;
    margin-top: 64px
}

.contact-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    background: var(--forest);
    border-radius: 42px;
    padding: 80px;
    color: #fff;
    margin-top: 64px
}

.contact-panel p {
    color: #a4b0a5
}

.oak-form {
    background: #fff;
    border-radius: 32px;
    padding: 40px;
    color: var(--ink)
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.oak-form label {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 20px
}

.oak-form input,
.oak-form textarea,
.oak-form select {
    display: block;
    width: 100%;
    border: 0;
    background: var(--canvas);
    border-radius: 14px;
    padding: 17px 18px;
    margin-top: 10px;
    font: 15px Inter
}

.oak-form textarea {
    height: 120px;
    resize: vertical
}

.article-header {
    width: 900px;
    max-width: calc(100% - 48px);
    text-align: center;
    margin: 0 auto;
    padding: 82px 0 55px
}

.article-header h1 {
    font-size: 52px
}

.article-meta {
    color: var(--muted);
    margin-top: 24px
}

.article-hero-image {
    width: 1120px;
    max-width: calc(100% - 48px);
    height: 520px;
    object-fit: cover;
    border-radius: 32px;
    margin: 0 auto
}

.article-content {
    width: 760px;
    max-width: calc(100% - 48px);
    margin: 70px auto 110px;
    font-size: 17px;
    line-height: 1.75
}

.article-content h2 {
    font-size: 30px;
    margin: 45px 0 18px
}

.article-content blockquote {
    margin: 35px 0;
    padding: 28px;
    background: var(--sand);
    border-radius: 20px;
    font-family: Manrope;
    font-size: 20px;
    font-weight: 700
}

.related {
    padding: 100px 0;
    background: #fff
}

.not-found {
    min-height: 640px;
    display: grid;
    place-items: center;
    text-align: center
}

.not-found .code {
    font: 800 126px Manrope;
    color: #dedace
}

.not-found p {
    color: var(--muted);
    max-width: 600px
}

.thank-card {
    width: 900px;
    max-width: calc(100% - 48px);
    margin: 120px auto;
    padding: 85px 60px;
    border-radius: 44px;
    background: #fff;
    text-align: center
}

.thank-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--lime);
    margin: 0 auto 28px;
    font-size: 28px
}

.site-footer {
    background: #08110c;
    color: #8c948b;
    padding: 88px 0 40px
}

.footer-grid {
    display: grid;
    grid-template-columns: 430px 1fr 1fr 1fr;
    gap: 80px
}

.site-footer .oak-logo strong {
    color: #fff
}

.footer-title {
    color: var(--lime);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 22px
}

.footer-menu li+li {
    margin-top: 10px
}

.footer-menu a,
.site-footer p {
    font-size: 14px;
    line-height: 1.5
}

.footer-bottom {
    border-top: 1px solid #262c26;
    margin-top: 72px;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 13px
}

.pagination {
    margin-top: 45px
}

.nav-links {
    display: flex;
    gap: 10px
}

.page-numbers {
    padding: 8px 14px;
    background: #fff;
    border-radius: 99px
}

.page-numbers.current {
    background: var(--forest);
    color: #fff
}

.screen-reader-text {
    position: absolute;
    left: -9999px
}

.notice {
    padding: 14px;
    border-radius: 12px;
    background: #e7f5d2;
    margin-bottom: 20px
}

@media(max-width:900px) {
    .oak-container {
        max-width: calc(100% - 36px)
    }

    .site-header {
        height: 74px;
        width: 100%;
        display: block;
    }

    .primary-nav,
    .header-cta {
        display: none
    }

    .menu-toggle {
        display: block
    }

    .primary-nav.open {
        display: block;
        position: absolute;
        top: 74px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 25px
    }

    .primary-nav.open>ul {
        display: block
    }

    .primary-nav.open li+li {
        margin-top: 15px
    }

    .oak-section {
        padding: 72px 0
    }

    .hero {
        padding: 55px 0 72px
    }

    .hero-grid,
    .split-grid,
    .split-grid.reverse,
    .section-head,
    .contact-panel {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .hero-visual {
        grid-template-columns: calc(62% - 10px) calc(38% - 10px)
    }

    .hero-copy,
    .hero-copy .lead,
    .split-image {
        width: 100%
    }

    h1 {
        font-size: 42px
    }

    h2 {
        font-size: 34px
    }

    .cards-grid,
    .posts-grid {
        grid-template-columns: 1fr 1fr
    }

    .services-panel {
        padding: 64px 30px
    }

    .services-grid {
        grid-template-columns: 1fr
    }

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

    .article-hero-image {
        height: 380px
    }

    .contact-panel {
        padding: 48px 30px
    }
}

@media(max-width:580px) {
    h1 {
        font-size: 36px
    }

    .hero-visual,
    .cards-grid,
    .posts-grid,
    .contact-cards,
    .form-row,
    .process-steps,
    .feature-list,
    .footer-grid {
        grid-template-columns: 1fr
    }

    .hero-main {
        width: 100%
    }

    .hero-tile {
        display: none
    }

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

    .services-panel,
    .oak-cta {
        max-width: calc(100% - 20px)
    }

    .services-panel {
        padding: 55px 22px
    }

    .service-card {
        padding: 28px 15px;
        border-radius: 20px;
    }

    .process-wrap {
        padding: 22px
    }

    .contact-photo {
        height: 260px
    }

    .article-header h1 {
        font-size: 36px
    }

    .article-hero-image {
        height: 250px
    }

    .oak-cta {
        padding: 60px 24px
    }

    .footer-bottom {
        display: block
    }

    .footer-bottom span {
        display: block;
        margin-top: 15px
    }
}

.oak-section.canvas .card {
    background: #fff
}

.quote-card img {
    margin-bottom: 14px
}

.cards-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr)
}

.cards-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr)
}

.cards-grid.cols-5 {
    grid-template-columns: repeat(5, 1fr)
}

.cards-grid.cols-5 .card {
    padding: 24px;
    min-height: 220px
}

.services-panel .service-card img[src=""],
.services-panel .service-card>img:not([src]) {
    display: none
}

.service-overview {
    padding: 90px 0 120px
}

.service-overview .services-grid {
    margin-top: 60px
}

.service-overview .service-card {
    background: #fff;
    color: var(--ink);
    padding: 14px 14px 30px;
    border-color: transparent
}

.service-overview .service-card img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    border-radius: 22px
}

.service-overview .service-card h3,
.service-overview .service-card p,
.service-overview .service-card .tags,
.service-overview .service-card .text-link {
    margin-left: 14px;
    margin-right: 14px
}

.service-overview .service-card h3 {
    margin-top: 24px
}

.service-overview .service-card .tag {
    border-color: var(--line);
    color: var(--muted)
}

.post-card-cta {
    background: var(--forest);
    color: #fff;
    padding: 32px;
    justify-content: center
}

.post-card-cta .eyebrow {
    color: var(--lime);
    margin-left: 0
}

.post-card-cta h2 {
    font-size: 30px
}

.post-card-cta p {
    color: #a4b0a5;
    margin: 18px 0 34px
}

.post-card-cta .oak-button {
    align-self: flex-start
}

.article-header .lead {
    margin: 24px auto 0;
    max-width: 760px
}

.article-content img {
    width: 100%;
    height: auto;
    border-radius: 28px;
    margin: 42px 0
}

.article-content h3 {
    margin-top: 30px
}

.article-content li {
    margin-bottom: 10px
}

@media(max-width:900px) {

    .cards-grid.cols-4,
    .cards-grid.cols-5 {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:580px) {

    .cards-grid.cols-2,
    .cards-grid.cols-4,
    .cards-grid.cols-5 {
        grid-template-columns: 1fr
    }
}

.not-found {
    min-height: 906px
}

.thank-card {
    margin-top: 160px;
    margin-bottom: 160px
}

.oak-section.contact {
    padding: 70px 0
}

.oak-section.contact .card {
    background: #fff
}

.contact-image-section {
    padding: 32px 0
}

.contact-image-section .contact-photo {
    margin-top: 0
}

.error-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px
}

.error-links a {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 14px
}

.oak-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(14, 20, 15, .62);
    padding: 50px;
    overflow: auto
}

.oak-modal.open {
    display: grid;
    place-items: center
}

.oak-modal-dialog {
    position: relative;
    width: 830px;
    max-width: 100%;
    background: var(--canvas);
    border-radius: 36px;
    padding: 52px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px
}

.oak-modal-close {
    position: absolute;
    right: 22px;
    top: 18px;
    border: 0;
    background: none;
    font-size: 30px;
    cursor: pointer
}

.oak-modal-copy {
    padding-top: 30px
}

.oak-modal-copy p {
    color: var(--muted)
}

.oak-modal .contact-panel>div:first-child {
    display: none
}

.oak-modal .contact-panel {
    display: block;
    margin: 0;
    padding: 0;
    background: none
}

.oak-modal .oak-form {
    padding: 30px
}

.oak-modal .oak-section,
.oak-modal .oak-container {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0
}

@media(max-width:700px) {
    .oak-modal {
        padding: 15px
    }

    .oak-modal-dialog {
        grid-template-columns: 1fr;
        padding: 30px
    }

    .oak-modal-copy {
        padding-top: 10px
    }
}