:root {
    --thelawn-canvas: #fff1e5;
    --thelawn-ink: #1c1b1a;
    --thelawn-muted: #6a655e;
    --thelawn-accent: #7c231f;
    --thelawn-line: #ded5c8;
    --thelawn-focus: #145da0;
    --thelawn-radius: 0.25rem;
    --thelawn-shell: 78rem;
    --thelawn-content: 46rem;
    --thelawn-gutter: clamp(1rem, 4vw, 2.5rem);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    min-width: 0;
    margin: 0;
    overflow-wrap: break-word;
    background: var(--thelawn-canvas);
    color: var(--thelawn-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    line-height: 1.6;
}

img,
svg,
video,
iframe {
    max-width: 100%;
}

img,
svg,
video {
    height: auto;
}

a {
    color: var(--thelawn-accent);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.16em;
}

a:hover {
    text-decoration-thickness: 0.14em;
}

:where(a, button, input, textarea, select):focus-visible {
    outline: 3px solid var(--thelawn-focus);
    outline-offset: 3px;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
    position: fixed;
    z-index: 100000;
    top: 0.75rem;
    left: 0.75rem;
    width: auto;
    height: auto;
    padding: 0.75rem 1rem;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: #fff;
    color: #000;
    box-shadow: 0 0 0 3px var(--thelawn-focus);
}

.site-shell {
    width: min(100% - (2 * var(--thelawn-gutter)), var(--thelawn-shell));
    margin-inline: auto;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-menu a {
    color: inherit;
}

.site-main {
    min-height: 50vh;
    padding-block: clamp(1.5rem, 4vw, 3rem);
}

.page-header {
    max-width: var(--thelawn-content);
    margin: 0 auto clamp(1.5rem, 4vw, 3rem);
}

.page-title,
.entry-title {
    margin: 0;
    font-size: clamp(2rem, 6vw, 4rem);
    line-height: 1.06;
    text-wrap: balance;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2.5rem);
}

.article-card {
    min-width: 0;
    border-top: 1px solid var(--thelawn-line);
    padding-top: 1rem;
}

.article-card__media {
    display: block;
    margin-bottom: 1rem;
}

.article-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--thelawn-line);
}

.article-card__category {
    color: var(--thelawn-accent);
    font-family: system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
}

.article-card__title {
    margin: 0.4rem 0;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    line-height: 1.16;
}

.article-card__title a {
    color: var(--thelawn-ink);
    text-decoration: none;
}

/* A regular editorial serif keeps headlines crisp without the heavy bold face. */
.article-card__title,
.article-header__title,
.entry-title {
    font-weight: 400;
    font-kerning: normal;
}

.article-card__date,
.entry-date {
    display: block;
    color: var(--thelawn-muted);
    font-family: system-ui, sans-serif;
    font-size: 0.8125rem;
}

.article-card__excerpt {
    margin-bottom: 0;
    color: var(--thelawn-muted);
}

.navigation.pagination {
    margin-top: 3rem;
    border-top: 1px solid var(--thelawn-line);
    padding-top: 1.5rem;
}

.navigation.pagination .nav-links,
.navigation.pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.navigation.pagination ul.page-numbers > li {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
}

.navigation.pagination :is(a, span).page-numbers {
    display: inline-flex;
    min-width: 2.75rem;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--thelawn-line);
    padding: 0.5rem 0.75rem;
    color: var(--thelawn-ink);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.25;
    text-decoration: none;
}

.navigation.pagination a.page-numbers:hover,
.navigation.pagination a.page-numbers:active {
    border-color: var(--thelawn-accent);
    background: var(--thelawn-accent);
    color: var(--thelawn-canvas);
}

.navigation.pagination a.page-numbers:focus-visible {
    outline: 3px solid var(--thelawn-focus);
    outline-offset: 3px;
}

.navigation.pagination .page-numbers.current {
    border-color: var(--thelawn-ink);
    background: var(--thelawn-ink);
    color: var(--thelawn-canvas);
}

.navigation.pagination .page-numbers.dots {
    min-width: 1.5rem;
    padding-inline: 0;
    border-color: transparent;
    color: var(--thelawn-muted);
    font-weight: 400;
}

.navigation.pagination .page-numbers:is(.prev, .next) {
    padding-inline: 1rem;
    color: var(--thelawn-accent);
}

.navigation.pagination a.page-numbers:is(.prev, .next):hover,
.navigation.pagination a.page-numbers:is(.prev, .next):active {
    color: var(--thelawn-canvas);
}

.site-main--singular .entry,
.empty-state,
.site-main--not-found > * {
    max-width: var(--thelawn-content);
    margin-inline: auto;
}

.entry-header {
    margin-bottom: 2rem;
}

.entry-date {
    margin-top: 1rem;
}

.entry-featured-image {
    margin: 0 0 2rem;
}

.entry-content > * {
    max-width: 100%;
}

.entry-content :where(h2, h3, h4) {
    line-height: 1.2;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.search-field {
    min-width: min(100%, 18rem);
    min-height: 2.75rem;
    border: 1px solid var(--thelawn-muted);
    border-radius: var(--thelawn-radius);
    padding: 0.5rem 0.75rem;
}

.search-submit {
    min-height: 2.75rem;
    border: 1px solid var(--thelawn-accent);
    border-radius: var(--thelawn-radius);
    padding: 0.5rem 1rem;
    background: var(--thelawn-accent);
    color: #fff;
}

.site-footer {
    position: relative;
    z-index: 0;
    margin-top: clamp(3.5rem, 5vw, 5.25rem);
    overflow: visible;
    padding: 3rem 0 1.25rem;
    background: #061e14;
    color: #f7f5ed;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-footer .site-shell {
    width: min(100% - (2 * var(--thelawn-gutter)), 85rem);
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(16rem, 1.5fr) minmax(9rem, 0.74fr) minmax(10rem, 0.86fr) minmax(17rem, 1.28fr);
    gap: clamp(1.75rem, 4vw, 5rem);
    align-items: start;
    position: relative;
    z-index: 2;
}

.site-footer__grass {
    position: absolute;
    inset: auto 0 calc(100% - 1px);
    z-index: 1;
    height: 100px;
    background: #061e14;
    /* Preserve the 8:3 blade proportions; fill the roots into the footer. */
    mask-image: url('../images/footer/lawnland-footer-mask-v1.webp'), linear-gradient(to bottom, transparent 50%, #000 85%);
    mask-size: 400px 150px, 100% 100%;
    mask-position: center top, center;
    mask-repeat: repeat-x, no-repeat;
    pointer-events: none;
}

.site-footer__brand-mark {
    min-height: clamp(3rem, 4vw, 4.5rem);
}

.site-footer .custom-logo-link,
.site-footer__title {
    display: inline-flex;
    max-width: 100%;
    color: #fffdf6;
    text-decoration: none;
}

.site-footer .custom-logo {
    display: block;
    width: clamp(16.5rem, 22vw, 25rem);
    max-width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.site-footer__title {
    margin: 0;
    font-size: clamp(2.5rem, 4vw, 4.15rem);
    font-weight: 700;
    letter-spacing: -0.065em;
    line-height: 0.95;
    overflow-wrap: normal;
    white-space: nowrap;
}

.site-footer__strapline {
    max-width: 26rem;
    margin: 0.7rem 0 0;
    color: #edf5e8;
    font-size: clamp(0.98rem, 1.2vw, 1.12rem);
    line-height: 1.35;
}

.site-footer__statement {
    max-width: 31rem;
    margin: 1.5rem 0 0;
    color: #d7e2d6;
    font-size: clamp(0.96rem, 1.15vw, 1.1rem);
    line-height: 1.62;
}

.site-footer__heading {
    margin: 0 0 1.2rem;
    color: #fffdf6;
    font-size: clamp(1.15rem, 1.4vw, 1.4rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.site-footer :is(a, .footer-menu a) {
    color: #f5f7ed;
    text-decoration-color: rgb(245 247 237 / 48%);
    text-underline-offset: 0.18em;
}

.site-footer :is(a, .footer-menu a):hover,
.site-footer :is(a, .footer-menu a):active {
    color: #c8e9be;
    text-decoration-color: currentcolor;
}

.site-footer :is(a, .footer-menu a):focus-visible {
    outline: 3px solid #f6ca61;
    outline-offset: 4px;
}

.site-footer__read-link {
    display: inline-flex;
    gap: 0.4rem;
    margin-top: 1.35rem;
    font-weight: 700;
}

.site-footer__link-list {
    display: grid;
    gap: 0.68rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__link-list a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    min-height: 1.45rem;
    font-family: system-ui, sans-serif;
    font-size: clamp(0.92rem, 1.1vw, 1.05rem);
    line-height: 1.35;
}

.site-footer__newsletter {
    position: relative;
    min-height: 0;
    padding-left: clamp(1.5rem, 3vw, 3.25rem);
    border-left: 1px solid rgb(237 241 233 / 62%);
}

.site-footer__newsletter-copy {
    position: relative;
    z-index: 1;
    max-width: 22rem;
}

.site-footer__newsletter-copy > p:not(.site-footer__heading):not(.site-footer__newsletter-note) {
    margin: 0;
    color: #e3ecdf;
    font-size: clamp(0.98rem, 1.2vw, 1.1rem);
    line-height: 1.55;
    font-family: inherit;
}

.site-footer__newsletter-link {
    display: inline-flex;
    gap: 0.55rem;
    align-items: center;
    min-height: 3.25rem;
    margin-top: 1.5rem;
    border: 1px solid #f3f5ec;
    padding: 0.75rem 1rem;
    background: #f3f5ec;
    color: #092c1f !important;
    font-weight: 700;
    text-decoration: none !important;
}

.site-footer__newsletter-link:hover,
.site-footer__newsletter-link:active {
    background: #c8e9be;
    border-color: #c8e9be;
    color: #092c1f !important;
}

.site-footer__newsletter-note {
    margin: 0.7rem 0 0;
    color: #c7d6c4;
    font-size: 0.79rem;
}

.site-footer__lower {
    display: flex;
    gap: 1rem 2rem;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    margin-top: 3rem;
    border-top: 1px solid rgb(237 241 233 / 65%);
    padding-top: 1rem;
}

.site-footer__copyright {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    margin: 0;
    color: #d4dfd1;
    font-size: 0.82rem;
    line-height: 1.45;
}

.site-footer__top-link {
    flex: 0 0 auto;
    font-weight: 700;
}

@media (max-width: 60rem) {
    .article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem clamp(1.5rem, 5vw, 4rem);
    }

    .site-footer__newsletter {
        grid-column: span 2;
        padding-top: 2rem;
        padding-left: 0;
        border-top: 1px solid rgb(237 241 233 / 62%);
        border-left: 0;
    }
}

@media (max-width: 43rem) {
    .article-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-footer {
        margin-top: 3.75rem;
        padding-top: 3.25rem;
    }

    .site-footer__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-footer__newsletter {
        grid-column: auto;
        padding-top: 1.75rem;
        padding-left: 0;
    }

    .site-footer .custom-logo {
        width: min(100%, 18rem);
    }

    .site-footer__statement {
        margin-top: 2rem;
    }

    .site-footer__lower {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
/* Prices use the existing interface face: lining digits keep every amount on one baseline. */
:is(.woocommerce-Price-amount,.wc-block-formatted-money-amount,.wc-block-components-formatted-money-amount,.plot-banner__offer strong,.ll-money) {
    font-family: system-ui, sans-serif;
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: "lnum" 1, "tnum" 1;
    font-style: normal;
    letter-spacing: normal;
    white-space: nowrap;
}
.woocommerce-Price-amount .woocommerce-Price-currencySymbol {
    display: inline;
    font: inherit;
    vertical-align: baseline;
    position: static;
}

/* The review step owns the strong rule; the plot's tinted surface needs no frame. */
.ll-journey .ll-review-aside .ll-place-preview {
    border-block: 0;
}

/* Owner-requested public link treatment. Preserve navigation indicators and focus outlines. */
:is(.site-header, .site-main, .site-footer) a,
:is(.site-header, .site-main, .site-footer) a :is(span, strong, em) {
    text-decoration-line: none !important;
}
