:root {
    --ink: #17211f;
    --muted: #65716c;
    --paper: #fbfaf6;
    --soft: #f0eee5;
    --wood: #9b5f2d;
    --wood-dark: #5e351c;
    --leaf: #2f5b48;
    --leaf-dark: #17372c;
    --sky: #dfe9ea;
    --white: #ffffff;
    --line: rgba(23, 33, 31, .14);
    --shadow: 0 22px 60px rgba(18, 31, 27, .16);
    --radius: 8px;
    --wide: 1180px;
    --narrow: 820px;
}

* { 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;
    font-size: 17px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.08; margin: 0 0 .65em; font-weight: 760; letter-spacing: 0; }
h1 { font-size: clamp(2.5rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 2rem); }
p { margin: 0 0 1rem; }
.container { width: min(calc(100% - 40px), var(--wide)); margin-inline: auto; }
.container.narrow { width: min(calc(100% - 40px), var(--narrow)); }
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}
.skip-link:focus {
    clip: auto;
    clip-path: none;
    height: auto;
    left: 1rem;
    top: 1rem;
    z-index: 9999;
    width: auto;
    background: var(--leaf);
    color: var(--white);
    padding: .7rem 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 250, 246, .94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}
.topbar {
    background: var(--leaf-dark);
    color: rgba(255,255,255,.88);
    font-size: .82rem;
}
.topbar a { color: var(--white); text-decoration: none; }
.topbar-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.nav-shell {
    min-height: 82px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.4rem;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    text-decoration: none;
    min-width: 250px;
}
.brand-mark {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--leaf);
    color: var(--white);
    font-weight: 800;
    letter-spacing: 0;
}
.brand img { width: auto; max-width: 220px; max-height: 62px; object-fit: contain; }
.brand-text strong { display: block; font-size: 1.1rem; line-height: 1.1; }
.brand-text small { display: block; color: var(--muted); font-size: .78rem; margin-top: .18rem; }
.primary-nav { justify-self: end; }
.primary-nav .menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.primary-nav a {
    display: inline-flex;
    padding: .72rem .74rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: .94rem;
    font-weight: 650;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a { background: var(--soft); color: var(--leaf-dark); }
.header-cta,
.button,
.wp-block-button__link,
.footer-button,
button,
input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: .8rem 1.1rem;
    border: 0;
    border-radius: var(--radius);
    background: var(--wood);
    color: var(--white);
    text-decoration: none;
    font-weight: 760;
    cursor: pointer;
}
.header-cta:hover,
.button:hover,
.wp-block-button__link:hover,
.footer-button:hover { background: var(--wood-dark); }
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    background: var(--leaf);
}
.menu-toggle span:not(.screen-reader-text) {
    width: 20px;
    height: 2px;
    background: var(--white);
    display: block;
    margin: 3px auto;
}

.hero {
    min-height: calc(100vh - 116px);
    display: grid;
    align-items: end;
    position: relative;
    isolation: isolate;
    background: var(--leaf-dark);
    color: var(--white);
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--hero-image);
    background-position: center;
    background-size: cover;
    z-index: -2;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11,28,23,.88), rgba(11,28,23,.55) 47%, rgba(11,28,23,.2));
    z-index: -1;
}
.hero-content {
    width: min(760px, calc(100% - 40px));
    margin: 0 auto 8vh max(20px, calc((100vw - var(--wide)) / 2));
    padding-top: 4rem;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--wood);
    font-size: .78rem;
    font-weight: 860;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .85rem;
}
.hero .eyebrow { color: #f2c390; }
.hero p { font-size: clamp(1.1rem, 2vw, 1.45rem); max-width: 680px; color: rgba(255,255,255,.9); }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.7rem; }
.button.secondary {
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.35);
}
.proof-strip {
    background: var(--leaf);
    color: var(--white);
    padding: 1.15rem 0;
}
.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
}
.proof-grid strong { display: block; font-size: 1.2rem; }
.proof-grid span { color: rgba(255,255,255,.78); font-size: .92rem; }

.section,
.content-band { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section.soft { background: var(--soft); }
.section.dark { background: var(--leaf-dark); color: var(--white); }
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 2rem;
    margin-bottom: 2rem;
}
.section-header p { color: var(--muted); max-width: 620px; }
.dark .section-header p { color: rgba(255,255,255,.72); }
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.service-card,
.work-card,
.post-card,
.feature-card,
.product,
.woocommerce ul.products li.product {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(18,31,27,.05);
}
.service-card a,
.work-card a { text-decoration: none; }
.service-card img,
.work-card-image img,
.post-thumb img {
    width: 100%;
    aspect-ratio: 1.35;
    object-fit: cover;
}
.service-card-body,
.work-card-body,
.post-card-body,
.feature-card { padding: 1.25rem; }
.service-card h3,
.work-card h2,
.post-card h2 { font-size: 1.35rem; margin-bottom: .4rem; }
.service-card p,
.work-card p,
.feature-card p,
.post-card p { color: var(--muted); }
.text-link {
    color: var(--leaf-dark);
    font-weight: 800;
    text-decoration-color: rgba(47,91,72,.25);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .86fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}
.split-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
}
.split-media img {
    width: 100%;
    border-radius: var(--radius);
    object-fit: cover;
    aspect-ratio: .86;
}
.split-media img:first-child { margin-top: 2.4rem; }
.check-list {
    display: grid;
    gap: .65rem;
    padding: 0;
    margin: 1.2rem 0 0;
    list-style: none;
}
.check-list li {
    padding-left: 1.6rem;
    position: relative;
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .58rem;
    width: .6rem;
    height: .6rem;
    border-radius: 50%;
    background: var(--wood);
}
.quote-panel {
    background: var(--leaf);
    color: var(--white);
    padding: clamp(1.5rem, 4vw, 3rem);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.quote-panel p { font-size: clamp(1.25rem, 2.8vw, 2rem); line-height: 1.25; }

.page-hero {
    background: var(--leaf-dark);
    color: var(--white);
    padding: clamp(4rem, 9vw, 8rem) 0 clamp(3rem, 7vw, 5rem);
}
.page-hero p:not(.eyebrow) { color: rgba(255,255,255,.76); font-size: 1.18rem; }
.page-content > *:not(.alignfull),
.single-content > .container {
    width: min(calc(100% - 40px), var(--wide));
    margin-inline: auto;
}
.page-content > .alignfull { width: 100%; }
.single-content { padding: clamp(3rem, 7vw, 6rem) 0; }
.single-hero-image img { width: 100%; border-radius: var(--radius); max-height: 620px; object-fit: cover; }
.entry-meta { color: var(--muted); margin-bottom: 1rem; }

.faq-list {
    display: grid;
    gap: .75rem;
}
.faq-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.15rem 1.25rem;
}
.faq-item h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.contact-panel {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 1.4rem;
    align-items: start;
}
.contact-card,
.form-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.2rem, 3vw, 2rem);
}
input, select, textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    min-height: 46px;
    padding: .72rem .82rem;
    font: inherit;
    background: var(--white);
}
textarea { min-height: 150px; resize: vertical; }
label { display: block; font-weight: 760; margin-bottom: .35rem; }

.site-footer {
    background: #101a17;
    color: rgba(255,255,255,.78);
    padding-top: 3rem;
}
.site-footer h2 { color: var(--white); font-size: 1.12rem; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
}
.site-footer a { color: var(--white); }
.site-footer .menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer .menu li + li { margin-top: .35rem; }
.legal-line { font-size: .88rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.14);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.1rem 0;
    font-size: .9rem;
}

.woocommerce-page .site-main,
.woocommerce .site-main { padding-bottom: 4rem; }
.woocommerce ul.products { width: min(calc(100% - 40px), var(--wide)); margin-inline: auto; }
.woocommerce div.product,
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-account .woocommerce {
    width: min(calc(100% - 40px), var(--wide));
    margin: 3rem auto;
}

@media (max-width: 980px) {
    .topbar-inner { flex-direction: column; align-items: flex-start; padding: .55rem 0; }
    .nav-shell { grid-template-columns: 1fr auto; min-height: 74px; }
    .header-cta { display: none; }
    .menu-toggle { display: inline-grid; place-items: center; justify-self: end; }
    .primary-nav {
        display: none;
        grid-column: 1 / -1;
        justify-self: stretch;
        padding-bottom: 1rem;
    }
    .primary-nav.is-open { display: block; }
    .primary-nav .menu { flex-direction: column; align-items: stretch; }
    .primary-nav a { justify-content: space-between; padding: .85rem 0; }
    .hero { min-height: 760px; }
    .proof-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .card-grid,
    .card-grid.two,
    .split,
    .contact-panel,
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .brand img { max-width: 170px; max-height: 54px; }
    .container,
    .container.narrow,
    .page-content > *:not(.alignfull),
    .single-content > .container { width: min(calc(100% - 28px), var(--wide)); }
    .brand { min-width: 0; }
    .brand-text small { display: none; }
    .hero { min-height: 700px; }
    .hero-content { margin-left: 14px; width: calc(100% - 28px); }
    .proof-grid { grid-template-columns: 1fr; }
    .section-header { display: block; }
    .split-media { grid-template-columns: 1fr; }
    .split-media img:first-child { margin-top: 0; }
    .footer-bottom { flex-direction: column; }
}

.form-grid.two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.project-form p { margin-bottom: 1rem; }
.consent label {
    display: flex;
    gap: .65rem;
    align-items: flex-start;
    font-weight: 500;
}
.consent input { width: auto; min-height: 0; margin-top: .4rem; }
.notice {
    border-radius: var(--radius);
    padding: 1rem 1.15rem;
    margin-bottom: 1rem;
    font-weight: 760;
}
.notice.success { background: #e6f2ea; color: var(--leaf-dark); }
.notice.error { background: #f8e7df; color: #6b2614; }
@media (max-width: 760px) {
    .form-grid.two { grid-template-columns: 1fr; }
}
