/* GLOBAL */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #263626;
    line-height: 1.6;
    background: #fffdf7;
}

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid #b98b46;
    outline-offset: 3px;
}

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

.container {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
}

/* HERO SECTION */
.hero {
    min-height: 78vh;
    padding: 52px 16px;
    background: url("Moore Header.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    background: rgba(22, 30, 21, 0.58);
    padding: 46px 56px;
    border-radius: 8px;
    max-width: 780px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.hero h1 {
    font-size: clamp(34px, 8vw, 48px);
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.1;
}

.subtitle {
    font-size: clamp(18px, 4vw, 22px);
    color: #f8f8f8;
    margin-bottom: 5px;
}

.sub-info {
    color: #e0e0e0;
    margin-bottom: 20px;
}

.hero-buttons {
    margin-bottom: 15px;
}

/* BUTTONS */
.btn {
    padding: 10px 24px;
    border-radius: 30px;
    margin: 5px;
    font-weight: bold;
    display: inline-block;
}

/* GALLERY PAGE NAV */
.site-header {
    background: linear-gradient(180deg, #fbf6ed 0%, #f4eadc 100%);
    border-bottom: 1px solid rgba(90, 60, 35, 0.12);
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 18px rgba(37, 48, 34, 0.08);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
}

.brand-link {
    color: #2e4a2f;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    min-width: 0;
    font-size: 17px;
}

.brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
    border: 2px solid #eadfc9;
    box-shadow: 0 4px 12px rgba(68, 48, 29, 0.14);
}

.nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px 16px;
    font-size: 16px;
    font-weight: 700;
}

.nav-links a {
    border-radius: 999px;
    color: #2e4a2f;
    line-height: 1;
    padding: 8px 10px;
    transition: background-color 160ms ease, color 160ms ease;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(50, 116, 59, 0.08);
    color: #32743b;
}

.nav-cta {
    background: rgba(50, 116, 59, 0.12);
    color: #2e7d32;
    font-weight: 700;
}

.green {
    background: #32743b;
    color: white;
}

.text-link {
    color: #32743b;
    display: inline-block;
    font-weight: 800;
    margin-top: 8px;
}

.outline {
    border: 2px solid white;
    color: white;
}

.fb {
    background: #1877f2;
    color: white;
}

.ig {
    background: #e1306c;
    color: white;
}

.tt {
    background: #111;
    color: white;
}

/* ABOUT SECTION */
.about {
    display: flex;
    justify-content: space-between;
    padding: 60px 10%;
    align-items: center;
}

.about-content {
    width: 50%;
}

.about-img {
    width: 40%;
    border-radius: 10px;
}

/* GALLERY */
.gallery-section {
    text-align: center;
    padding: 50px 5%;
}

.gallery-sub {
    margin: 0 auto 28px;
    max-width: 640px;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.gallery-grid img {
    width: min(30%, 320px);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
}

.preview-grid img {
    width: min(23%, 260px);
}

.gallery-actions {
    margin-top: 28px;
}

.section {
    padding: 56px 0;
}

.section-light {
    background: #fbfbf7;
}

.section-header {
    margin: 0 auto 28px;
    max-width: 720px;
    text-align: center;
}

.section-header h1,
.section-header h2 {
    margin-bottom: 8px;
}

.section-header h1 {
    font-size: clamp(30px, 5vw, 40px);
    line-height: 1.12;
}

.gallery-page-grid {
    align-items: stretch;
}

.gallery-page-grid figure {
    margin: 0;
    width: min(30%, 320px);
    background: #fff;
    border: 1px solid #e7e2d6;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(31, 46, 31, 0.08);
}

.gallery-page-grid img {
    width: 100%;
    border-radius: 0;
    cursor: zoom-in;
}

.gallery-page-grid figcaption {
    padding: 10px 12px 12px;
    color: #40533e;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
}

/* BUY SECTION */
.market-week {
    background: #f2f6ed;
    padding: 64px 0;
}

.market-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
    align-items: stretch;
    gap: 32px;
}

.market-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eyebrow {
    color: #32743b;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.market-copy h2 {
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.1;
    margin: 0 0 14px;
}

.market-copy > p {
    font-size: 18px;
    margin-top: 0;
    max-width: 620px;
}

.market-details {
    background: #fff;
    border: 1px solid #e0dccf;
    border-radius: 8px;
    margin: 10px 0 22px;
    padding: 18px 20px;
}

.market-details p {
    margin: 0;
}

.market-details p + p {
    margin-top: 10px;
}

.market-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-actions {
    justify-content: center;
}

.market-actions .btn,
.contact-actions .btn {
    margin: 0;
}

.map-card {
    background: #fff;
    border: 1px solid #e0dccf;
    border-radius: 8px;
    min-height: 360px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(31, 46, 31, 0.1);
}

.map-card iframe {
    border: 0;
    display: block;
    height: 100%;
    min-height: 360px;
    width: 100%;
}

.buy {
    padding: 60px 10%;
    background: #f7f7f7;
    display: flex;
    gap: 40px;
    justify-content: space-between;
}

.buy > div {
    flex: 1;
}

/* CONTACT */
.contact {
    text-align: center;
    padding: 60px 0;
}

.contact-btn {
    padding: 14px 40px;
    font-size: 18px;
}

/* NEWSLETTER */
.newsletter-section {
    background:
        linear-gradient(135deg, rgba(50, 116, 59, 0.08), rgba(185, 139, 70, 0.12)),
        #fffdf7;
    border-top: 1px solid #e7e2d6;
    padding: 72px 0;
}

.newsletter-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 34px;
    align-items: center;
}

.newsletter-copy h2 {
    font-size: clamp(32px, 5vw, 46px);
    line-height: 1.1;
    margin: 0 0 14px;
}

.newsletter-copy p {
    font-size: 18px;
    margin-top: 0;
    max-width: 620px;
}

.newsletter-routing-note {
    color: #586852;
    font-size: 15px !important;
    font-weight: 700;
}

.newsletter-form {
    background: #fff;
    border: 1px solid #e3dccd;
    border-radius: 12px;
    box-shadow: 0 18px 42px rgba(31, 46, 31, 0.12);
    padding: 28px;
}

.form-hidden {
    display: none;
}

.form-row {
    margin-bottom: 18px;
}

.form-row label,
.interest-fieldset legend {
    color: #334833;
    display: block;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 8px;
}

.optional-label {
    color: #6b5a3d;
    font-size: 12px;
    font-weight: 700;
    margin-left: 6px;
    text-transform: uppercase;
}

.form-row input {
    background: #fffdf7;
    border: 1px solid #d8d0bf;
    border-radius: 8px;
    color: #263626;
    font: inherit;
    padding: 13px 14px;
    width: 100%;
}

.interest-fieldset {
    border: 0;
    margin: 0 0 22px;
    padding: 0;
}

.interest-options {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.interest-options label {
    align-items: center;
    background: #fbf8ef;
    border: 1px solid #e3dccd;
    border-radius: 8px;
    color: #334833;
    display: flex;
    font-size: 14px;
    font-weight: 700;
    gap: 8px;
    padding: 10px 12px;
}

.interest-options input {
    accent-color: #32743b;
    flex: 0 0 auto;
}

.submit-btn {
    border: 0;
    cursor: pointer;
    font: inherit;
    margin: 0;
    width: 100%;
}

.privacy-note {
    color: #5b6757;
    font-size: 14px;
    margin: 14px 0 0;
    text-align: center;
}

/* FOOTER */
.site-footer {
    background: #263626;
    color: #f7f3e8;
    padding: 28px 20px;
    text-align: center;
}

.site-footer p {
    margin: 14px 0 0;
}

.footer-cta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.footer-cta span {
    font-weight: 800;
}

.footer-btn {
    margin: 0;
    padding: 9px 20px;
}

/* ABOUT PAGE */
.page-hero {
    background:
        radial-gradient(circle at center, rgba(28, 39, 27, 0.06), rgba(28, 39, 27, 0.64) 76%),
        linear-gradient(rgba(28, 39, 27, 0.56), rgba(28, 39, 27, 0.7)),
        url("images/gallery/farm-family.jpg") center 44% / cover no-repeat;
    color: #fff;
    padding: 92px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(36px, 7vw, 58px);
    line-height: 1.08;
    margin: 0 0 14px;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.34);
}

.page-hero p {
    font-size: clamp(18px, 3vw, 22px);
    margin: 0 auto;
    max-width: 760px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.34);
}

.story-section {
    padding: 62px 0;
}

.story-grid {
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    align-items: center;
}

.story-grid.reverse {
    grid-template-columns: minmax(320px, 1.05fr) minmax(0, 0.95fr);
}

.story-copy h2 {
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.15;
    margin: 0 0 14px;
}

.story-copy p {
    margin: 0;
}

.story-copy p + p {
    margin-top: 14px;
}

.story-image {
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(31, 46, 31, 0.14);
    overflow: hidden;
}

.story-image img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.story-card {
    background: #fff;
    border: 1px solid #e3dccd;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(31, 46, 31, 0.09);
    padding: 26px;
}

.about-cta {
    background: #f2f6ed;
    padding: 54px 0;
    text-align: center;
}

.about-cta p {
    font-size: 20px;
    margin: 0 auto 18px;
    max-width: 680px;
}

.thank-you-section {
    min-height: 58vh;
    padding: 76px 0;
    text-align: center;
}

.thank-you-card {
    background: #fff;
    border: 1px solid #e3dccd;
    border-radius: 12px;
    box-shadow: 0 18px 42px rgba(31, 46, 31, 0.12);
    margin: 0 auto;
    max-width: 760px;
    padding: 42px 30px;
}

.thank-you-card h1 {
    font-size: clamp(32px, 6vw, 46px);
    line-height: 1.1;
    margin: 0 0 16px;
}

.thank-you-card p {
    font-size: 18px;
    margin: 0 auto 24px;
    max-width: 620px;
}

/* BLOG */
.blog-hero {
    background:
        radial-gradient(circle at center, rgba(28, 39, 27, 0.04), rgba(28, 39, 27, 0.62) 76%),
        linear-gradient(rgba(28, 39, 27, 0.48), rgba(28, 39, 27, 0.76)),
        url("images/gallery/farm-rows-sunset-hero.jpg") center 56% / cover no-repeat;
    color: #fff;
    padding: 92px 0;
    text-align: center;
}

.blog-hero .eyebrow {
    color: #f7d99b;
}

.blog-hero h1 {
    font-size: clamp(36px, 7vw, 58px);
    line-height: 1.08;
    margin: 0 0 14px;
}

.blog-hero p:not(.eyebrow) {
    font-size: clamp(18px, 3vw, 22px);
    margin: 0 auto;
    max-width: 760px;
}

.blog-list-section {
    background: #fffdf7;
    padding: 64px 0;
}

.blog-list {
    display: grid;
    gap: 24px;
}

.blog-card {
    background: #fff;
    border: 1px solid #e3dccd;
    border-radius: 12px;
    box-shadow: 0 16px 38px rgba(31, 46, 31, 0.12);
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    overflow: hidden;
}

.blog-card:hover {
    box-shadow: 0 20px 44px rgba(31, 46, 31, 0.16);
}

.blog-card img {
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    width: 100%;
}

.blog-card-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px;
}

.blog-date,
.article-byline {
    color: #6b5a3d;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.blog-card h2 {
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.12;
    margin: 0 0 14px;
}

.blog-card p {
    margin-top: 0;
}

.article-page {
    background: #fffdf7;
    padding: 56px 0 72px;
}

.article-container {
    margin: 0 auto;
    max-width: 860px;
    width: min(860px, calc(100% - 32px));
}

.back-link {
    color: #32743b;
    display: inline-block;
    font-weight: 800;
    margin-bottom: 22px;
}

.article-container h1 {
    font-size: clamp(34px, 7vw, 56px);
    line-height: 1.08;
    margin: 0 0 12px;
}

.article-feature-image {
    border-radius: 12px;
    box-shadow: 0 16px 38px rgba(31, 46, 31, 0.13);
    margin: 28px 0 32px;
    max-height: 470px;
    object-fit: cover;
    width: 100%;
}

.article-body {
    color: #263626;
    font-size: 18px;
}

.article-body p {
    margin: 0 0 18px;
}

.article-body h2 {
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.15;
    margin: 36px 0 14px;
}

.caption-card {
    background: #f7f1e8;
    border: 1px solid #e3d4bd;
    border-radius: 12px;
    margin: 30px 0;
    padding: 24px;
}

.caption-card p {
    margin: 0;
    padding-left: 18px;
    position: relative;
}

.caption-card p::before {
    background: #32743b;
    border-radius: 999px;
    content: "";
    height: 6px;
    left: 0;
    position: absolute;
    top: 0.72em;
    width: 6px;
}

.caption-card p + p {
    margin-top: 12px;
}

@media (max-width: 760px) {
    .hero {
        min-height: 82vh;
        align-items: flex-end;
        background-position: 58% center;
        padding: 24px 16px;
    }

    .hero-overlay {
        width: 100%;
        padding: 34px 20px;
        border-radius: 8px;
    }

    .hero-buttons,
    .social-buttons {
        display: grid;
        gap: 10px;
    }

    .btn {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
        text-align: center;
    }

    .about,
    .buy,
    .market-layout,
    .newsletter-layout,
    .story-grid,
    .story-grid.reverse {
        flex-direction: column;
        padding: 44px 20px;
        gap: 28px;
    }

    .market-week {
        padding: 0;
    }

    .market-layout {
        display: flex;
    }

    .newsletter-section,
    .story-section,
    .blog-list-section,
    .article-page {
        padding: 0;
    }

    .about-cta {
        padding: 44px 20px;
    }

    .newsletter-layout,
    .story-grid,
    .story-grid.reverse {
        display: flex;
    }

    .newsletter-form {
        padding: 22px;
    }

    .interest-options {
        grid-template-columns: 1fr;
    }

    .market-actions,
    .contact-actions {
        display: grid;
    }

    .market-actions .btn,
    .contact-actions .btn {
        width: 100%;
    }

    .map-card,
    .map-card iframe {
        min-height: 300px;
    }

    .about-content,
    .about-img {
        width: 100%;
    }

    .about-content ul,
    .buy ul {
        padding-left: 20px;
    }

    .gallery-section {
        padding: 44px 20px;
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .gallery-grid img,
    .gallery-page-grid figure {
        width: 100%;
    }

    .contact {
        padding: 44px 20px;
    }

    .nav {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding: 14px 0;
    }

    .nav-links {
        justify-content: flex-start;
        gap: 8px;
        font-size: 15px;
    }

    .page-hero {
        padding: 62px 0;
    }

    .blog-hero {
        background-position: center 58%;
        padding: 62px 0;
    }

    .blog-card {
        grid-template-columns: 1fr;
    }

    .blog-card img {
        min-height: 230px;
    }

    .blog-card-copy,
    .caption-card {
        padding: 22px;
    }

    .article-container {
        padding: 44px 0;
    }

    .footer-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .footer-btn {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .hero-overlay {
        padding: 24px 16px;
    }

    .sub-info {
        font-size: 15px;
    }
}
