/* =====================================================================
   Abundant Harvest Digital — main stylesheet
   ===================================================================== */

:root {
    /* --- Harvest greens (deeper, more old-world; no neon) --- */
    --green-darkest: #1E2F1A;          /* deep forest, near-black */
    --green-dark:    #2E4A25;          /* forest */
    --green:         #4A5D2E;          /* moss */
    --green-bright:  #6E7B3F;          /* olive (was neon — softened) */
    --green-soft:    #E4E2C8;          /* dried-grass tint */
    --green-tint:    #EEEAD2;

    /* --- Harvest golds & wheat --- */
    --gold-dark:     #8E5A1A;          /* burnt amber */
    --gold:          #C8901C;           /* rich harvest gold */
    --gold-soft:     #F1DDA6;          /* wheat tint */
    --wheat:         #E0BC72;

    /* --- Earth accents --- */
    --rust:          #A0501C;           /* burnt orange */
    --rust-soft:     #E8C9A6;
    --bark:          #4A3520;           /* warm brown text */
    --bark-deep:     #2E2114;

    /* --- Paper & cream --- */
    --cream:         #F5EEDA;           /* parchment / page background */
    --cream-deep:    #EDE2C2;           /* deeper cream for sections */
    --cream-light:   #FAF5E6;           /* lightest highlight */
    --paper-line:    #C9BD9A;           /* warm tan border */
    --border:        #D9CEAF;

    /* --- Text --- */
    --text:          #2E2114;           /* warm dark brown — never pure black */
    --text-muted:    #6A5A3F;           /* muted brown */
    --text-light:    #8E7E5F;

    /* --- Backgrounds --- */
    --bg:            var(--cream);
    --bg-warm:       var(--cream-deep);
    --bg-tint:       #E6DCB8;

    /* --- Warm-brown shadows (no cool tones) --- */
    --shadow-sm:     0 1px 2px rgba(78, 53, 25, 0.08);
    --shadow-md:     0 6px 16px rgba(78, 53, 25, 0.10);
    --shadow-lg:     0 18px 40px rgba(78, 53, 25, 0.14);

    /* --- Less roundness; more print-feel --- */
    --radius-sm:     3px;
    --radius:        5px;
    --radius-lg:     8px;

    /* --- Traditional serif everything --- */
    --font-serif:    'Playfair Display', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans:     'Lora', Georgia, 'Times New Roman', serif;

    --container:     1180px;
}

/* ---------- Reset & base ---------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Subtle paper grain */
    background-image:
        radial-gradient(rgba(78, 53, 25, 0.025) 1px, transparent 1px),
        radial-gradient(rgba(78, 53, 25, 0.02) 1px, transparent 1px);
    background-size: 3px 3px, 7px 7px;
    background-position: 0 0, 1px 2px;
}

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

h1, h2, h3, h4, h5 {
    font-family: var(--font-serif);
    font-weight: 700;            /* Playfair needs explicit bold */
    line-height: 1.15;
    color: var(--bark-deep);
    margin: 0 0 0.5em;
    letter-spacing: -0.005em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.35rem, 2.1vw, 1.7rem); }
h4 {
    font-size: 0.92rem;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    color: var(--bark);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--gold-dark); text-decoration: none; transition: color 0.15s ease; border-bottom: 1px dotted transparent; }
a:hover { color: var(--rust); border-bottom-color: currentColor; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--green-darkest); color: #fff;
    padding: 8px 16px; z-index: 1000;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Header / Nav ---------- */

.site-header {
    background: var(--cream);
    border-bottom: 2px solid var(--bark);
    box-shadow: 0 1px 0 var(--bark), 0 3px 0 var(--cream), 0 4px 0 var(--paper-line);
    position: sticky; top: 0; z-index: 100;
}

.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 24px;
    gap: 24px;
}

.brand {
    display: flex; align-items: center; gap: 14px;
    color: var(--bark-deep); border-bottom: 0;
}
.brand:hover { color: var(--bark-deep); border-bottom: 0; }
.brand-logo { width: 48px; height: 48px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
    font-family: var(--font-serif);
    font-size: 1.25rem; font-weight: 400;
    letter-spacing: 0.01em;
}
.brand-suffix {
    font-size: 0.65rem; font-weight: 700;
    letter-spacing: 0.32em; color: var(--gold-dark);
    margin-top: 5px;
    text-transform: uppercase;
}

.primary-nav { display: flex; align-items: center; gap: 8px; }

.nav-link {
    color: var(--bark);
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.05rem;
    padding: 8px 12px;
    border-bottom: 0;
    transition: color 0.15s ease;
}
.nav-link:hover { background: transparent; color: var(--rust); }
.nav-link.active { color: var(--rust); }
.nav-link.active::after {
    content: ''; display: block; height: 2px; width: 28px;
    background: var(--gold-dark); margin: 4px auto 0;
}

.nav-cta {
    background: var(--green-dark); color: var(--cream);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 10px 18px;
    margin-left: 10px;
    border: 1px solid var(--green-darkest);
}
.nav-cta:hover { background: var(--bark-deep); color: var(--cream-light); }
.nav-cta.active::after { display: none; }

.nav-toggle {
    display: none;
    background: none; border: 0; padding: 8px;
    cursor: pointer;
}
.nav-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--green-darkest);
    margin: 5px 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
    .nav-toggle { display: block; }
    .primary-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; border-bottom: 1px solid var(--border);
        flex-direction: column; align-items: stretch;
        padding: 12px 24px 20px; gap: 4px;
        display: none;
        box-shadow: var(--shadow-md);
    }
    .primary-nav.open { display: flex; }
    .nav-link { padding: 12px 14px; }
    .nav-cta { margin: 8px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    line-height: 1;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
    text-align: center;
    border-bottom: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-1px); border-bottom-color: transparent; }

.btn-primary {
    background: var(--green-dark); color: var(--cream-light);
    border-color: var(--green-darkest);
    box-shadow: 0 2px 0 var(--bark-deep);
}
.btn-primary:hover { background: var(--bark-deep); color: var(--cream-light); box-shadow: 0 3px 0 var(--bark-deep); }

.btn-secondary {
    background: transparent; color: var(--green-dark);
    border-color: var(--green-dark);
}
.btn-secondary:hover { background: var(--green-dark); color: var(--cream-light); }

.btn-gold {
    background: var(--gold); color: var(--bark-deep);
    border-color: var(--gold-dark);
    box-shadow: 0 2px 0 var(--gold-dark);
}
.btn-gold:hover { background: var(--gold-dark); color: var(--cream-light); box-shadow: 0 3px 0 var(--bark); }

.btn-ghost { background: transparent; color: var(--gold-dark); padding-left: 0; padding-right: 0; }
.btn-ghost:hover { color: var(--rust); background: transparent; }

/* ---------- Sections ---------- */

section { padding: 88px 0; }

@media (max-width: 820px) {
    section { padding: 56px 0; }
}

.section-tint   { background: var(--bg-tint); }
.section-warm   { background: var(--bg-warm); }
.section-dark   { background: var(--green-darkest); color: var(--cream-light); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--cream-light); }
.section-dark a { color: var(--wheat); }
.section-dark a:hover { color: var(--cream-light); }

/* Eyebrow: small caps style, framed by little harvest dashes */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--rust);
    margin-bottom: 20px;
}
.eyebrow::before,
.eyebrow::after {
    content: ''; display: inline-block;
    width: 18px; height: 1px;
    background: var(--gold-dark);
}

.lead {
    font-size: 1.18rem;
    color: var(--text-muted);
    max-width: 720px;
    line-height: 1.55;
}

.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head .lead { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    padding: 96px 0 88px;
    background:
        radial-gradient(ellipse at 15% 0%, rgba(200, 144, 28, 0.18), transparent 55%),
        radial-gradient(ellipse at 100% 100%, rgba(160, 80, 28, 0.10), transparent 60%),
        linear-gradient(180deg, var(--cream-light) 0%, var(--cream) 100%);
    border-bottom: 1px solid var(--paper-line);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero h1 {
    margin-bottom: 24px;
    font-style: normal;
}
.hero h1 .accent {
    color: var(--rust);
    font-style: italic;
    font-family: var(--font-serif);
    /* clear any old gradient text trick */
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}
.hero .lead { font-size: 1.2rem; margin-bottom: 32px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-art {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
}
.hero-art::before {
    content: '';
    position: absolute; inset: 8% 12%;
    background: radial-gradient(circle at 50% 50%, rgba(76, 175, 80, 0.18), transparent 65%);
    filter: blur(20px);
    z-index: 0;
}
.hero-logo {
    position: relative; z-index: 1;
    max-width: 420px;
    filter: drop-shadow(0 16px 32px rgba(31, 61, 31, 0.12));
}

@media (max-width: 820px) {
    .hero { padding: 56px 0 48px; }
    .hero-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-logo { max-width: 280px; margin: 0 auto; }
}

/* ---------- Values strip ---------- */

.values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.value-card {
    background: var(--cream-light);
    border: 1px solid var(--paper-line);
    border-radius: var(--radius);
    padding: 40px 32px 36px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.value-icon {
    width: 64px; height: 64px;
    border-radius: 50%;                /* round seal/medallion */
    display: flex; align-items: center; justify-content: center;
    background: var(--green-soft); color: var(--bark-deep);
    border: 1.5px solid var(--paper-line);
    margin-bottom: 22px;
}
.value-card:nth-child(2) .value-icon { background: var(--gold-soft); color: var(--gold-dark); }
.value-card:nth-child(3) .value-icon { background: var(--rust-soft); color: var(--rust); }

.value-card h3 { margin-bottom: 10px; font-style: italic; }
.value-card p { color: var(--text-muted); margin: 0; }

@media (max-width: 820px) {
    .values { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- Product cards ---------- */

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.product-card {
    background: var(--cream-light);
    border: 1px solid var(--paper-line);
    border-radius: var(--radius);
    padding: 40px;
    display: flex; flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative; overflow: hidden;
}
.product-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
    background: var(--green-dark);
}
.product-card.product-amen::before {
    background: var(--gold);
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* 14% harvest tint of each card's accent — moss for farm, gold for church */
.product-card {
    background: rgba(74, 93, 46, 0.14);         /* --green / moss @ 14% */
    border-color: rgba(74, 93, 46, 0.30);
}
.product-card.product-amen {
    background: rgba(200, 144, 28, 0.14);       /* --gold @ 14% */
    border-color: rgba(200, 144, 28, 0.32);
}

/* Match the showcase blocks on products.php to the same tint scheme */
.product-showcase {
    background: rgba(74, 93, 46, 0.14) !important;
    border: 1px solid rgba(74, 93, 46, 0.25);
}
.product-showcase.product-showcase-amen {
    background: rgba(200, 144, 28, 0.14) !important;
    border-color: rgba(200, 144, 28, 0.28);
}

.product-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--green-dark);
    margin-bottom: 14px;
}
.product-card.product-amen .product-eyebrow { color: var(--gold-dark); }

.product-card h3 { font-size: 1.9rem; margin-bottom: 14px; font-style: italic; }

/* Product logo used in place of the h3 text. The h3 wraps the <img>
   so heading semantics are preserved; the image alt carries the name. */
.product-logo-heading {
    margin: 0 0 18px;
    line-height: 1;
}
.product-logo-heading img {
    max-width: 260px;
    width: 100%;
    height: auto;
    display: block;
}
/* After Amen's PNG has more transparent padding, so bump it to match
   AgriCore visually. */
.product-card.product-amen .product-logo-heading img {
    max-width: 340px;
}

/* Larger logo for showcase blocks (replaces emoji art in products.php) */
.product-showcase-logo {
    max-width: 320px;
    width: 100%;
    height: auto;
    margin: 0 auto 18px;
    display: block;
}

/* Vertical stack of branded product links (contact page) */
.product-links {
    display: flex; flex-direction: column; gap: 12px;
    margin-top: 16px;
}
.product-link {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 18px;
    border: 1px solid var(--paper-line);
    border-radius: var(--radius-sm);
    background: var(--cream-light);
    color: var(--text);
    transition: border-color 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
    border-bottom: 1px solid var(--paper-line);
}
.product-link:hover {
    border-color: var(--gold-dark);
    box-shadow: var(--shadow-sm);
    color: var(--bark-deep);
    transform: translateY(-1px);
}
.product-link img {
    max-width: 110px;
    max-height: 40px;
    width: auto;
    height: auto;
    flex-shrink: 0;
}
.product-link span {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--rust);
}

.product-card .product-desc { color: var(--text-muted); margin-bottom: 20px; }
/* Push only the CTA to the card bottom — bullets stay snug to the paragraph */
.product-card .btn { margin-top: auto; }
.product-features { list-style: none; padding: 0; margin: 0 0 24px; }
.product-features li {
    padding: 8px 0 8px 28px; position: relative;
    color: var(--text); font-size: 0.96rem;
}
.product-features li::before {
    content: ''; position: absolute; left: 0; top: 14px;
    width: 16px; height: 16px;
    background: var(--green-soft); border-radius: 50%;
}
.product-features li::after {
    content: ''; position: absolute; left: 4px; top: 18px;
    width: 8px; height: 4px;
    border-left: 2px solid var(--green-dark);
    border-bottom: 2px solid var(--green-dark);
    transform: rotate(-45deg);
}
.product-card.product-amen .product-features li::before { background: var(--gold-soft); }
.product-card.product-amen .product-features li::after  {
    border-left-color: var(--gold-dark); border-bottom-color: var(--gold-dark);
}

@media (max-width: 820px) {
    .products-grid { grid-template-columns: 1fr; }
    .product-card { padding: 28px; }
}

/* ---------- Mission / About ---------- */

.about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.about-grid .about-image {
    background: linear-gradient(135deg, var(--green-soft), var(--gold-soft));
    border: 1px solid var(--paper-line);
    border-radius: var(--radius);
    padding: 48px;
    display: flex; align-items: center; justify-content: center;
}
.about-grid .about-image img { max-width: 340px; }

@media (max-width: 820px) {
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
}

.principles { list-style: none; padding: 0; margin: 24px 0 0; }
.principles li {
    padding: 14px 0 14px 40px;
    position: relative;
    border-top: 1px solid var(--border);
}
.principles li:first-child { border-top: 0; }
.principles li strong { display: block; color: var(--green-darkest); margin-bottom: 4px; }
.principles li::before {
    /* Wheat-grain motif instead of a checkmark */
    content: '\273D';                /* ✽ heavy teardrop-spoked asterisk */
    position: absolute; left: 0; top: 14px;
    width: 24px; height: 24px;
    color: var(--gold-dark);
    font-size: 1.4rem;
    line-height: 1;
    text-align: center;
}

/* ---------- Blog ---------- */

.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.blog-card {
    display: flex; flex-direction: column;
    background: var(--cream-light);
    border: 1px solid var(--paper-line);
    border-radius: var(--radius);
    padding: 32px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    color: inherit;
    border-bottom: 1px solid var(--paper-line);
}
.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-dark);
    color: inherit;
}
.blog-meta {
    font-size: 0.78rem; color: var(--text-light);
    letter-spacing: 0.14em; text-transform: uppercase;
    margin-bottom: 14px;
    font-weight: 700;
}
.blog-card h3 {
    margin-bottom: 14px; font-size: 1.45rem;
    color: var(--bark-deep);
    font-style: italic;
}
.blog-excerpt { color: var(--text-muted); flex: 1; margin-bottom: 18px; }
.blog-readmore {
    font-family: var(--font-sans);
    font-weight: 700; color: var(--rust);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}
.blog-readmore::after { content: ' \2192'; }

/* ---------- Single post ---------- */

.post-header {
    padding: 80px 0 40px;
    text-align: center;
    background:
        radial-gradient(ellipse at top, rgba(200, 144, 28, 0.18), transparent 60%),
        var(--bg-warm);
    border-bottom: 1px solid var(--paper-line);
}
.post-header .post-meta {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rust);
    font-weight: 700;
    margin-bottom: 14px;
}
.post-header h1 { max-width: 820px; margin: 0 auto; font-style: italic; }

.post-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 56px 24px 96px;
    font-size: 1.12rem;
    line-height: 1.78;
    color: var(--text);
    font-family: var(--font-sans);
}
.post-body h2 { margin-top: 2.2em; font-style: italic; }
.post-body h3 { margin-top: 1.8em; font-style: italic; }
.post-body img { border-radius: var(--radius); margin: 1.5em 0; }
.post-body blockquote {
    border-left: 3px solid var(--gold-dark);
    padding: 8px 0 8px 28px;
    margin: 1.8em 0;
    color: var(--bark);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.2em;
    line-height: 1.45;
}
.post-body code {
    background: var(--cream-deep); padding: 2px 6px; border-radius: 3px;
    font-size: 0.92em;
    font-family: 'Courier New', monospace;
}
.post-body pre {
    background: var(--bark-deep); color: var(--cream-light);
    padding: 20px 24px; border-radius: var(--radius);
    overflow-x: auto; font-size: 0.92rem;
}
.post-body pre code { background: transparent; padding: 0; color: inherit; }

.post-nav {
    max-width: 720px; margin: 0 auto;
    padding: 24px; border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; gap: 16px;
}

/* ---------- CTA band ---------- */

.cta-band {
    background:
        radial-gradient(ellipse at 80% 50%, rgba(200, 144, 28, 0.25), transparent 60%),
        var(--green-darkest);
    color: var(--cream-light);
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid var(--paper-line);
    border-bottom: 1px solid var(--paper-line);
}
.cta-band h2 { color: var(--cream-light); max-width: 720px; margin: 0 auto 18px; font-style: italic; }
.cta-band p { max-width: 600px; margin: 0 auto 28px; color: var(--gold-soft); font-size: 1.15rem; }
.cta-band .btn-primary { background: var(--gold); color: var(--bark-deep); border-color: var(--gold-dark); box-shadow: 0 2px 0 var(--bark); }
.cta-band .btn-primary:hover { background: var(--cream-light); color: var(--bark-deep); }
.cta-band .btn-secondary { background: transparent; color: var(--cream-light); border-color: var(--gold-soft); }
.cta-band .btn-secondary:hover { background: var(--cream-light); color: var(--green-darkest); border-color: var(--cream-light); }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Contact form ---------- */

.contact-grid {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px;
    align-items: start;
}
@media (max-width: 820px) {
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

.contact-info ul { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-info li { padding: 10px 0; color: var(--text-muted); }
.contact-info li strong { color: var(--text); display: block; }

.form-card {
    background: var(--cream-light);
    border: 1px solid var(--paper-line);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-md);
}
@media (max-width: 820px) {
    .form-card { padding: 28px; }
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-field { margin-bottom: 18px; }
.form-field label {
    display: block; font-weight: 700; font-size: 0.78rem;
    text-transform: uppercase; letter-spacing: 0.14em;
    margin-bottom: 8px; color: var(--bark);
    font-family: var(--font-sans);
}
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--paper-line);
    border-radius: var(--radius-sm);
    background: var(--cream);
    font-family: var(--font-sans); font-size: 1rem; color: var(--text);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--gold-dark);
    box-shadow: 0 0 0 3px rgba(200, 144, 28, 0.20);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.96rem;
}
.alert-success { background: var(--green-soft); border: 1px solid var(--green-dark); color: var(--green-darkest); }
.alert-error   { background: var(--rust-soft); border: 1px solid var(--rust); color: var(--bark-deep); }

/* ---------- Footer ---------- */

.site-footer {
    background: var(--green-darkest);
    color: var(--gold-soft);
    padding: 72px 0 32px;
    margin-top: 64px;
    border-top: 4px solid var(--gold-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(241, 221, 166, 0.15);
}

.footer-logo { width: 64px; height: 64px; margin-bottom: 16px; }
.footer-tagline {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.25rem; color: var(--wheat); margin-bottom: 8px;
}
.footer-blurb { color: rgba(241, 221, 166, 0.7); font-size: 0.95rem; max-width: 320px; }

.footer-col h4 {
    color: var(--cream-light); font-size: 0.75rem;
    letter-spacing: 0.22em; text-transform: uppercase;
    margin-bottom: 18px;
    font-weight: 700;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
    color: var(--gold-soft); font-size: 0.95rem;
    border-bottom: 0;
    font-family: var(--font-serif);
}
.footer-col a:hover { color: var(--cream-light); border-bottom: 1px dotted var(--cream-light); }

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px; padding-top: 28px;
    flex-wrap: wrap;
    color: rgba(241, 221, 166, 0.55); font-size: 0.85rem;
}
.footer-verse { font-family: var(--font-serif); font-style: italic; color: var(--wheat); font-size: 0.95rem; }

@media (max-width: 820px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- Utilities ---------- */

.text-center { text-align: center; }
.mt-2 { margin-top: 16px; } .mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; } .mb-4 { margin-bottom: 32px; }
