/*
Theme Name: White Rock Farm
Theme URI: https://whiterockfarmsri.com
Author: White Rock Farm Tech
Author URI: https://whiterockfarmsri.com
Description: Custom landing page theme for White Rock Farm
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: whiterock
*/

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
--green-deep:   #1C3320;
--green-mid:    #2D5233;
--green-light:  #4A7C59;
--gold:         #C4974A;
--gold-light:   #D4AB6A;
--cream:        #F7F2EA;
--cream-dark:   #EDE5D8;
--brown:        #5C3D1E;
--text:         #1A1A18;
--text-muted:   #5A5A52;
--white:        #FFFFFF;
--border:       rgba(0,0,0,0.10);
--shadow:       0 4px 24px rgba(0,0,0,0.10);
--radius:       4px;
--max-w:        1160px;
}

html { scroll-behavior: smooth; }

body {
font-family: 'Inter', system-ui, sans-serif;
background: var(--cream);
color: var(--text);
line-height: 1.6;
font-size: 16px;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

/* ── Typography ── */
.serif { font-family: 'Playfair Display', Georgia, serif; }

h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.15; }

.section-label {
font-size: 11px;
font-weight: 600;
letter-spacing: 0.18em;
text-transform: uppercase;
color: var(--gold);
margin-bottom: 12px;
}

/* ── Buttons ── */
.btn {
display: inline-block;
padding: 14px 32px;
font-family: 'Inter', sans-serif;
font-size: 13px;
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
border-radius: var(--radius);
cursor: pointer;
transition: all 0.2s ease;
}

.btn-primary {
background: var(--gold);
color: #000000;
border: 2px solid var(--gold);
}
.btn-primary:hover { background: #B8883C; border-color: #B8883C; }

.btn-outline {
background: transparent;
color: var(--gold-light);
border: 2px solid var(--gold-light);
}

/* outline buttons on light sections (e.g. recipe-samples on cream) need dark text */
#recipe-samples .btn-outline { color: var(--green-deep); border-color: var(--green-deep); }
#recipe-samples .btn-outline:hover { background: var(--green-deep); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-dark {
background: var(--green-deep);
color: var(--white);
border: 2px solid var(--green-deep);
}
.btn-dark:hover { background: var(--green-mid); border-color: var(--green-mid); }

/* ── Nav ── */
nav {
position: fixed;
top: 0; left: 0; right: 0;
z-index: 100;
background: rgba(28, 51, 32, 0.96);
backdrop-filter: blur(8px);
border-bottom: 2px solid var(--gold);
}

.nav-inner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 28px;
height: 68px;
max-width: var(--max-w);
margin: 0 auto;
padding: 0 24px;
}

.nav-logo {
display: flex;
align-items: center;
gap: 12px;
font-family: 'Playfair Display', serif;
font-size: 20px;
font-weight: 700;
color: var(--white);
letter-spacing: 0.01em;
}
.nav-logo img {
width: 44px;
height: 44px;
border-radius: 50%;
object-fit: cover;
border: 2px solid rgba(196,151,74,0.50);
}
.nav-logo span { color: var(--gold); }

.nav-links {
display: flex;
gap: 36px;
list-style: none;
}

.nav-links a {
font-size: 13px;
font-weight: 500;
letter-spacing: 0.06em;
text-transform: uppercase;
color: rgba(255,255,255,0.80);
transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-light); }

/* ── Dropdown ── */
.nav-dropdown {
position: relative;
}

.nav-dropdown > a {
display: flex;
align-items: center;
gap: 5px;
}

.nav-dropdown > a::after {
content: '';
width: 6px; height: 6px;
border-right: 1.5px solid currentColor;
border-bottom: 1.5px solid currentColor;
transform: rotate(45deg) translateY(-2px);
transition: transform 0.2s;
}

.nav-dropdown.open > a::after {
transform: rotate(-135deg) translateY(-2px);
}

.dropdown-menu {
position: absolute;
top: calc(100% + 16px);
left: 50%;
background: var(--green-deep);
border: 1px solid rgba(255,255,255,0.10);
border-radius: 6px;
min-width: 220px;
padding: 8px 0;
opacity: 0;
pointer-events: none;
transform: translateX(-50%) translateY(-6px);
transition: opacity 0.2s ease, transform 0.2s ease;
box-shadow: 0 12px 32px rgba(0,0,0,0.30);
}

.dropdown-menu::before {
content: '';
position: absolute;
top: -6px;
left: 50%;
transform: translateX(-50%) rotate(45deg);
width: 10px; height: 10px;
background: var(--green-deep);
border-left: 1px solid rgba(255,255,255,0.10);
border-top: 1px solid rgba(255,255,255,0.10);
}

.nav-dropdown.open .dropdown-menu,
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
opacity: 1;
pointer-events: auto;
transform: translateX(-50%) translateY(0);
}

/* transparent bridge over the 16px gap so hover doesn't drop when moving to the menu */
.nav-dropdown::after {
content: '';
position: absolute;
top: 100%;
left: 0;
right: 0;
height: 20px;
}

.dropdown-menu a {
display: block;
padding: 11px 20px;
font-size: 13px;
font-weight: 500;
letter-spacing: 0.04em;
color: rgba(255,255,255,0.78) !important;
text-transform: none !important;
transition: background 0.15s, color 0.15s;
white-space: nowrap;
}

.dropdown-menu a:hover {
background: rgba(255,255,255,0.08);
color: var(--gold-light) !important;
}

.dropdown-divider {
height: 1px;
background: rgba(255,255,255,0.08);
margin: 6px 0;
}

.nav-cta {
/* background: var(--gold); */
color: var(--gold-light) !important;
padding: 10px 4px 10px 4px;
border-radius: var(--radius);
font-weight: 600 !important;
}

/* Proposal header bar: gold "Farm" wordmark, domain at right */
.nav-logo span { color: var(--gold); }
.nav-logo { white-space: nowrap; flex: 0 0 auto; }
.nav-domain {
margin-left: 22px;
padding-left: 18px;
border-left: 1px solid rgba(196,151,74,0.5);
font-family: 'Playfair Display', serif;
font-size: 15px;
font-weight: 600;
color: var(--gold);
white-space: nowrap;
}
@media (max-width: 980px) { .nav-domain { display: none; } }

/* Mobile nav: hamburger toggle (A1) */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  border-radius: 5px;
  padding: 5px 11px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(28, 51, 32, 0.98);
    border-bottom: 2px solid var(--gold);
    padding: 6px 0;
  }
  nav.nav-open .nav-links { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links li a { display: block; padding: 13px 24px; }
  .nav-links .nav-cta { display: inline-block; margin: 8px 24px; }
  /* dropdown opens inline on mobile */
  .nav-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: rgba(0,0,0,0.18);
    box-shadow: none;
    border: 0;
    display: none;
    width: 100%;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .nav-dropdown .dropdown-menu a { padding: 11px 36px; }
  .nav-dropdown::after { content: none; }                 /* no hover bridge on mobile */
  .nav-dropdown:hover .dropdown-menu { transform: none; }  /* mobile uses click/.open */
}
.nav-cta:hover { background: #B8883C; color: var(--white) !important; }

/* ── Hero ── */
#hero {
min-height: 100vh;
display: flex;
align-items: center;
position: relative;
overflow: hidden;
background:
linear-gradient(to bottom, rgba(15,28,17,0.72) 0%, rgba(20,38,22,0.58) 60%, rgba(28,51,32,0.80) 100%),
url('img/cows-in-pasture.jpg') center/cover no-repeat;
}

.hero-content {
position: relative;
z-index: 1;
max-width: 780px;
padding: 120px 24px 80px;
margin: 0 auto;
text-align: center;
}

.hero-tagline {
display: inline-block;
background: rgba(196,151,74,0.18);
border: 1px solid rgba(196,151,74,0.45);
font-size: 12px;
font-weight: 600;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--gold-light);
line-height: 1.3;
padding: 7px 16px;
border-radius: 100px;
margin-bottom: 16px;
}

.hero-badge {
display: inline-flex;
align-items: center;
gap: 8px;
background: rgba(196,151,74,0.18);
border: 1px solid rgba(196,151,74,0.45);
color: var(--gold-light);
font-size: 11px;
font-weight: 600;
letter-spacing: 0.14em;
text-transform: uppercase;
padding: 7px 16px;
border-radius: 100px;
margin-top: 24px;
}

.hero-badge::before {
content: '';
width: 6px; height: 6px;
background: var(--gold);
border-radius: 50%;
}

.hero-title {
font-size: clamp(32px, 5vw, 60px);
font-weight: 700;
color: var(--white);
line-height: 1.08;
margin-bottom: 24px;
}

.hero-title em {
font-style: italic;
color: var(--gold-light);
}

.hero-sub {
font-size: 18px;
font-weight: 300;
color: rgba(255,255,255,0.82);
max-width: 520px;
margin: 0 auto 40px;
line-height: 1.65;
}

.hero-actions {
display: flex;
gap: 16px;
justify-content: center;
flex-wrap: wrap;
}

.hero-scroll {
position: absolute;
bottom: 32px;
left: 50%;
transform: translateX(-50%);
color: rgba(255,255,255,0.45);
font-size: 11px;
letter-spacing: 0.12em;
text-transform: uppercase;
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
animation: bounce 2s infinite;
}

.hero-scroll::after {
content: '';
width: 1px;
height: 40px;
background: rgba(255,255,255,0.30);
}

@keyframes bounce {
0%, 100% { transform: translateX(-50%) translateY(0); }
50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Trust Bar ── */
#trust {
background: var(--green-deep);
padding: 20px 0;
border-bottom: 1px solid rgba(255,255,255,0.06);
}

.trust-inner {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
gap: 0;
}

.trust-item {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 28px;
color: rgba(255,255,255,0.80);
font-size: 12px;
font-weight: 500;
letter-spacing: 0.08em;
text-transform: uppercase;
border-right: 1px solid rgba(255,255,255,0.12);
}
.trust-item:last-child { border-right: none; }

.trust-item svg { flex-shrink: 0; }

/* ── Sections ── */
section { padding: 96px 0; }

/* ── Products ── */
#products { background: var(--cream); }

.section-header {
text-align: center;
margin-bottom: 56px;
}

.section-header h2 { font-size: clamp(30px, 4vw, 48px); color: var(--green-deep); margin-bottom: 16px; }
.section-header p { font-size: 17px; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

.products-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
gap: 24px;
}

.product-card {
background: var(--white);
border-radius: 8px;
overflow: hidden;
box-shadow: var(--shadow);
transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.14); }

.product-img {
height: 220px;
overflow: hidden;
background: var(--cream-dark);
}

.product-img img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.4s ease;
}

.product-card:hover .product-img img { transform: scale(1.05); }

.product-body { padding: 20px; }
.product-name { font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 600; color: var(--green-deep); margin-bottom: 6px; }
.product-desc { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

/* ── Our Story ── */
#story { background: var(--white); }

.story-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 72px;
align-items: center;
}

.story-img-wrap {
position: relative;
}

.story-img {
width: 100%;
aspect-ratio: 4/5;
border-radius: 8px;
overflow: hidden;
background: var(--cream-dark);
}

.story-img img {
width: 100%;
height: 100%;
object-fit: cover;
}

.story-img-accent {
position: absolute;
bottom: -24px;
right: -24px;
width: 180px;
height: 180px;
background: var(--green-deep);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
text-align: center;
padding: 20px;
z-index: 1;
}

.accent-num { font-family: 'Playfair Display', serif; font-size: 52px; font-weight: 700; color: var(--gold); line-height: 1; }
.accent-txt { font-size: 11px; font-weight: 600; letter-spacing: 0.10em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-top: 6px; }

.story-text h2 { font-size: clamp(28px, 3.5vw, 42px); color: var(--green-deep); margin-bottom: 20px; }
.story-text p { font-size: 16px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.75; }
.story-text p:last-of-type { margin-bottom: 32px; }

blockquote {
border-left: 3px solid var(--gold);
padding: 16px 24px;
margin: 28px 0;
background: var(--cream);
border-radius: 0 6px 6px 0;
}
blockquote p {
font-family: 'Playfair Display', serif;
font-style: italic;
font-size: 18px !important;
color: var(--green-deep) !important;
margin-bottom: 8px !important;
}
blockquote cite { font-size: 12px; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; }

/* ── Philosophy ── */
#philosophy { background: var(--green-deep); }

#philosophy .section-header h2 { color: var(--white); }
#philosophy .section-header p { color: rgba(255,255,255,0.65); }
#philosophy .section-label { color: var(--gold-light); }

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

.pillar {
padding: 36px 28px;
border: 1px solid rgba(255,255,255,0.10);
border-radius: 8px;
background: rgba(255,255,255,0.04);
transition: background 0.2s, border-color 0.2s;
}
.pillar:hover { background: rgba(255,255,255,0.08); border-color: rgba(196,151,74,0.40); }

.pillar-icon {
font-size: 36px;
margin-bottom: 18px;
}

.pillar h3 {
font-family: 'Playfair Display', serif;
font-size: 20px;
color: var(--white);
margin-bottom: 12px;
}

.pillar p { font-size: 14px; color: rgba(255,255,255,0.62); line-height: 1.70; }

/* ── Farm Stand ── */
#farmstand { background: var(--cream); }

.stand-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 56px;
align-items: start;
}

.stand-info h2 { font-size: clamp(26px, 3vw, 38px); color: var(--green-deep); margin-bottom: 28px; }

.stand-detail {
display: flex;
gap: 16px;
margin-bottom: 24px;
align-items: flex-start;
}

.stand-detail-icon {
width: 44px; height: 44px;
background: var(--green-deep);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
font-size: 18px;
}

.stand-detail-body h4 { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.stand-detail-body p { font-size: 15px; color: var(--text); font-weight: 500; }
.stand-detail-body small { font-size: 13px; color: var(--text-muted); }

.stand-map {
background: linear-gradient(135deg, #C8D8C0 0%, #A8C098 50%, var(--green-light) 100%);
border-radius: 8px;
height: 400px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
gap: 12px;
color: var(--green-deep);
font-size: 14px;
font-weight: 500;
border: 1px solid var(--border);
position: relative;
overflow: hidden;
}

.stand-map::before {
content: '';
position: absolute;
inset: 0;
background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232D5233' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.map-pin { font-size: 40px; }
.map-label { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 600; color: var(--green-deep); }
.map-sub { font-size: 13px; color: var(--green-mid); }
.map-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 24px;
    background: var(--green-deep);
    color: var(--white) !important;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: background 0.2s;
}
.map-btn:hover { background: var(--green-mid); }

.payment-row {
display: flex;
gap: 10px;
flex-wrap: wrap;
margin-top: 20px;
}

.payment-chip {
display: inline-flex;
align-items: center;
gap: 6px;
background: var(--white);
border: 1px solid var(--border);
padding: 7px 14px;
border-radius: 100px;
font-size: 12px;
font-weight: 500;
color: var(--text-muted);
}

/* ── Recipes ── */
#recipes { background: var(--white); }

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

.recipe-card {
border-radius: 8px;
overflow: hidden;
border: 1px solid var(--border);
transition: box-shadow 0.25s;
}
.recipe-card:hover { box-shadow: var(--shadow); }

.recipe-img {
height: 220px;
display: flex;
align-items: center;
justify-content: center;
font-size: 56px;
}

.recipe-img.r1 { background: linear-gradient(135deg, #D4A574 0%, #B8845A 100%); }
.recipe-img.r2 { background: linear-gradient(135deg, #C47060 0%, #A04030 100%); }
.recipe-img.r3 { background: linear-gradient(135deg, #8B6B4A 0%, #6B4B2A 100%); }

.recipe-body { padding: 24px; }
.recipe-by { font-size: 11px; font-weight: 600; letter-spacing: 0.10em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.recipe-name { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--green-deep); margin-bottom: 10px; }
.recipe-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.recipe-link { display: inline-block; margin-top: 16px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-mid); border-bottom: 1px solid var(--green-light); padding-bottom: 2px; }

/* ── Farm Life ── */
#farm-life { background: var(--cream); }

/* ── Carousel wrapper ── */
.carousel-wrap {
position: relative;
display: flex;
align-items: center;
gap: 20px;
}

.carousel-track-outer {
overflow: hidden;
flex: 1;
border-radius: 8px;
}

.farm-life-grid {
display: flex;
transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Carousel nav buttons */
.carousel-btn {
flex-shrink: 0;
width: 52px; height: 52px;
border-radius: 50%;
border: 2px solid var(--green-deep);
background: var(--white);
color: var(--green-deep);
font-size: 20px;
font-weight: 700;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s, color 0.2s, border-color 0.2s;
user-select: none;
box-shadow: var(--shadow);
}
.carousel-btn:hover { background: var(--green-deep); color: var(--white); }
.carousel-btn:disabled { opacity: 0.25; pointer-events: none; }

/* Dots */
.carousel-dots {
display: flex;
justify-content: center;
gap: 8px;
margin-top: 28px;
}
.carousel-dot {
width: 8px; height: 8px;
border-radius: 50%;
background: var(--cream-dark);
border: 2px solid var(--green-light);
cursor: pointer;
transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active { background: var(--green-deep); border-color: var(--green-deep); transform: scale(1.3); }

.story-card {
background: var(--white);
border-radius: 8px;
overflow: hidden;
box-shadow: var(--shadow);
display: flex;
flex-direction: column;
flex: 0 0 100%;
width: 100%;
}

.story-card-img {
height: 340px;
overflow: hidden;
background: var(--cream-dark);
flex-shrink: 0;
}

.story-card-img img {
width: 100%;
height: 100%;
object-fit: cover;
}

.story-card-img.no-photo {
display: flex;
align-items: center;
justify-content: center;
font-size: 72px;
}
.story-card-img.no-photo.green { background: linear-gradient(135deg, var(--green-mid) 0%, var(--green-deep) 100%); }
.story-card-img.no-photo.gold  { background: linear-gradient(135deg, #C4974A 0%, #8B6020 100%); }
.story-card-img.no-photo.brown { background: linear-gradient(135deg, #7A5030 0%, #4A2810 100%); }
.story-card-img.no-photo.earth { background: linear-gradient(135deg, #8A7060 0%, #5A4030 100%); }

.story-card-body { padding: 36px 48px; flex: 1; display: flex; flex-direction: column; max-width: 680px; margin: 0 auto; width: 100%; }
.story-card-date { font-size: 11px; font-weight: 600; letter-spacing: 0.10em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.story-card-title { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--green-deep); margin-bottom: 14px; line-height: 1.25; }
.story-card-text { font-size: 15px; color: var(--text-muted); line-height: 1.75; flex: 1; }
.story-card-link { display: inline-block; margin-top: 24px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-mid); border-bottom: 1px solid var(--green-light); padding-bottom: 2px; }

/* ── Newsletter ── */
#newsletter {
background:
linear-gradient(to right, rgba(28,51,32,0.94), rgba(45,82,51,0.94)),
url('img/cows-in-pasture.jpg') center/cover no-repeat;
padding: 80px 0;
text-align: center;
}

#newsletter h2 { color: var(--white); font-size: clamp(26px, 3.5vw, 42px); margin-bottom: 12px; }
#newsletter p { color: rgba(255,255,255,0.70); font-size: 16px; max-width: 480px; margin: 0 auto 36px; }

.email-form {
display: flex;
gap: 12px;
justify-content: center;
flex-wrap: wrap;
}

.email-form input {
padding: 14px 20px;
border-radius: var(--radius);
border: 2px solid rgba(255,255,255,0.20);
background: rgba(255,255,255,0.10);
color: var(--white);
font-size: 15px;
font-family: 'Inter', sans-serif;
width: 300px;
outline: none;
transition: border-color 0.2s;
}
.email-form input::placeholder { color: rgba(255,255,255,0.45); }
.email-form input:focus { border-color: var(--gold); }

/* ── Footer ── */
footer {
background: var(--green-deep);
color: rgba(255,255,255,0.70);
padding: 60px 0 32px;
}

.footer-grid {
display: grid;
grid-template-columns: 2fr 1fr 1fr 1fr;
gap: 48px;
margin-bottom: 48px;
}

.footer-brand .nav-logo { font-size: 22px; margin-bottom: 16px; display: block; }

.footer-brand p { font-size: 13px; line-height: 1.70; max-width: 280px; color: rgba(255,255,255,0.55); margin-bottom: 20px; }

.footer-col h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px; }

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 13px; color: rgba(255,255,255,0.58); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
border-top: 1px solid rgba(255,255,255,0.08);
padding-top: 28px;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 12px;
color: rgba(255,255,255,0.35);
flex-wrap: wrap;
gap: 12px;
}

.social-row { display: flex; gap: 12px; }
.social-btn {
width: 36px; height: 36px;
border-radius: 50%;
border: 1px solid rgba(255,255,255,0.18);
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
color: rgba(255,255,255,0.60);
transition: all 0.2s;
cursor: pointer;
}
.social-btn:hover { background: rgba(255,255,255,0.10); color: var(--white); border-color: rgba(255,255,255,0.40); }

/* ── Responsive ── */
@media (max-width: 900px) {
.story-grid, .stand-grid { grid-template-columns: 1fr; gap: 40px; }
.story-img-accent { display: none; }
.footer-grid { grid-template-columns: 1fr 1fr; }
.nav-links { display: none; }
}

@media (max-width: 600px) {
section { padding: 64px 0; }
.footer-grid { grid-template-columns: 1fr; }
.hero-actions { flex-direction: column; align-items: center; }
.trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.10); width: 100%; justify-content: center; }
}
/* Philosophy Section Cards */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.philosophy-card {
  padding: 36px 28px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  transition: background 0.2s, border-color 0.2s;
}

.philosophy-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(196,151,74,0.40);
}

.phil-icon {
  font-size: 36px;
  margin-bottom: 18px;
  color: var(--gold);
}

.philosophy-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 12px;
}

.philosophy-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.62);
  line-height: 1.70;
}

/* ── Multi-page additions ── */

/* Sub-page hero header */
.page-hero {
  background: var(--green-deep);
  color: var(--white);
  /* top clears the 68px fixed nav; band itself stays compact */
  padding: clamp(88px, 11vh, 108px) 0 clamp(16px, 2.6vh, 26px);
  text-align: center;
}
.page-hero .container { max-width: 1040px; }
.page-hero .section-label { color: var(--gold-light); }
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.1;
  margin: 4px 0 8px;
  white-space: nowrap;        /* keep titles on one line on desktop */
}
.page-hero p { font-size: 15px; color: rgba(255,255,255,0.72); line-height: 1.5; margin: 0 auto; max-width: 680px; }
@media (max-width: 600px) {
  .page-hero h1 { white-space: normal; }   /* allow wrap only on small screens */
}

/* Home intro + teasers */
#home-intro { padding: 72px 0 8px; }
#home-teasers { padding: 40px 0 88px; }
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.teaser-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.teaser-card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(0,0,0,0.14); }
.teaser-img { height: 200px; overflow: hidden; }
.teaser-img img { width: 100%; height: 100%; object-fit: cover; }
.teaser-body { padding: 24px 24px 28px; }
.teaser-body h3 { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--green-deep); margin: 6px 0 10px; }
.teaser-body p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.teaser-link { display: inline-block; margin-top: 16px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-mid); }

/* Product price + page CTA */
.product-price { font-size: 15px; font-weight: 600; color: var(--gold); margin: 4px 0 8px; }
.section-cta { text-align: center; margin-top: 48px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.empty-state { text-align: center; color: var(--text-muted); padding: 40px 0; }

/* Recipe detail: clear the 68px fixed nav so the title isn't hidden */
.recipe-page { padding-top: clamp(88px, 11vh, 108px); padding-bottom: 56px; }

/* Recipe index grid (was undefined → cards stacked full-width) */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.recipe-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.recipe-card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(0,0,0,0.14); }
.recipe-card:hover .recipe-link { color: var(--gold); }
/* Recipe card photo: scales with card width, gentle uniform crop */
.recipe-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  background-size: cover;
  background-position: center;
  font-size: 0;
}

/* Recipe detail hero image: capped at 1/3 of viewport so the recipe shows on entry */
.recipe-hero-img {
  margin: 20px auto 8px;
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 640px;
}
.recipe-hero-img img {
  width: 100%;
  height: 33vh;
  max-height: 33vh;
  object-fit: cover;
  display: block;
}

/* Contact */
#contact { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-block { margin-bottom: 24px; }
.contact-block h4 { font-size: 12px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.contact-block p, .contact-block a { font-size: 16px; color: var(--text); }
.contact-form { display: flex; flex-direction: column; gap: 16px; background: var(--cream-dark); padding: 32px; border-radius: var(--radius); }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--green-deep); }
.contact-form input, .contact-form textarea {
  font: inherit; font-size: 15px; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--white);
}
.contact-form button { align-self: flex-start; }
.form-notice { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; font-size: 14px; }
.form-notice.ok { background: rgba(74,124,89,0.15); border: 1px solid var(--green-light); color: var(--green-deep); }
.form-notice.err { background: rgba(122,45,45,0.10); border: 1px solid #7a2d2d; color: #7a2d2d; }
.form-notice a { color: inherit; text-decoration: underline; }
.wr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Help / FAQ */
.help-section { padding: 72px 0; }
.help-section.alt { background: var(--cream-dark); }
.help-body { max-width: 720px; margin: 0 auto; }
.help-body p { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 14px; }
.faq-item summary { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--green-deep); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; float: right; color: var(--gold); font-weight: 700; }
.faq-item[open] summary::after { content: '\2013'; }
.faq-item p { margin-top: 12px; font-size: 15px; color: var(--text-muted); line-height: 1.65; }

@media (max-width: 820px) {
  .teaser-grid { grid-template-columns: 1fr; }
  .recipe-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-hero { padding: clamp(84px, 11vh, 96px) 0 clamp(14px, 2.4vh, 22px); }
}
@media (min-width: 821px) and (max-width: 1080px) {
  .recipe-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Our Practices: compact so "Get Farm Updates" shows without scrolling ── */
#philosophy { padding: 26px 0 34px; }
.philosophy-grid { margin-top: 0; gap: 22px; }
.philosophy-card { padding: 22px 24px; }
.phil-icon { margin-bottom: 8px; font-size: 28px; }
.philosophy-card h3 { font-size: 18px; margin-bottom: 8px; }
.philosophy-card p { font-size: 13.5px; }

/* ── Promotional popup card (~1/3 screen), dismissible ── */
.wr-promo-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15,28,17,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.wr-promo-overlay.open { display: flex; }
.wr-promo-card {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(15,28,17,0.35);
  width: clamp(320px, 33vw, 540px);
  max-width: 100%;
  max-height: 86vh;
  overflow: auto;
  padding: 34px 32px 28px;
  text-align: center;
}
.wr-promo-close {
  position: absolute; top: 8px; right: 14px;
  background: none; border: 0; font-size: 28px; line-height: 1;
  color: var(--text-muted); cursor: pointer;
}
.wr-promo-content { color: var(--text); line-height: 1.6; }
.wr-promo-content h1, .wr-promo-content h2, .wr-promo-content h3 {
  font-family: 'Playfair Display', serif; color: var(--green-deep); margin-bottom: 10px; line-height: 1.15;
}
.wr-promo-content img { max-width: 100%; border-radius: 6px; margin: 6px 0 14px; }
.wr-promo-content p { margin-bottom: 12px; }
.wr-promo-actions { margin-top: 18px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
/* festive bunting (July 4th) — red/white/blue triangle pennants across the card top */
.wr-promo-bunting {
  position: absolute; top: 0; left: 0; right: 0; height: 22px;
  display: flex; z-index: 2; pointer-events: none; overflow: hidden;
  border-radius: 8px 8px 0 0; filter: drop-shadow(0 2px 1px rgba(0,0,0,0.25));
}
.wr-promo-bunting i { flex: 1; height: 22px; border-radius: 0 0 50% 50%; }
.wr-promo-bunting i:nth-child(3n+1) { background: #B22234; }
.wr-promo-bunting i:nth-child(3n+2) { background: #ffffff; }
.wr-promo-bunting i:nth-child(3n)   { background: #3C3B6E; }
.wr-promo-card.has-bunting { padding-top: 42px; }
.wr-promo-card.has-bunting .wr-promo-close { top: 26px; z-index: 3; color: #B22234; }
/* standalone preview page */
.wr-promo-standalone { padding: clamp(100px, 14vh, 140px) 20px 60px; display: flex; justify-content: center; background: var(--cream-dark); min-height: 60vh; }
.wr-promo-standalone .wr-promo-card { box-shadow: var(--shadow); }
.wr-promo-preview-note { margin-top: 18px; font-size: 12px; color: var(--text-muted); font-style: italic; }

/* A3 trust bar: text claims (no hand-drawn icons). USDA item links to AMS. */
.trust-item:last-child { border-right: none; }
.trust-item a { color: var(--gold-light); text-decoration: none; }
.trust-item a:hover { text-decoration: underline; }

/* ── Canvas guard: never scroll horizontally on any viewport ── */
html, body { max-width: 100%; overflow-x: clip; }
html { scroll-padding-top: 84px; } /* in-page anchors clear the fixed nav */
img, svg, video, iframe, table { max-width: 100%; }
.carousel-viewport { width: 100%; overflow: hidden; }
.container, .nav-inner { max-width: min(var(--max-w), 100%); }

/* ── Hero fills the screen on entry; content below scrolls naturally ── */
#hero { min-height: 100dvh; }
/* Landing fits one screen (hero + trust bar) up to 1920x1080 — no scroll */
body.home { min-height: 100vh; display: flex; flex-direction: column; }
body.home #hero { min-height: 0; flex: 1 0 auto; flex-direction: column; justify-content: flex-end; align-items: center; padding: 0; }   /* kill inherited section 96px padding so content bottom-anchors */
body.home #trust { flex: 0 0 auto; }
body.home .hero-content { transform: none; margin: 0 auto; max-width: 70vw; padding-top: 0; padding-bottom: 36px; }   /* 70% width; buttons 36px above trust bar */
/* Landing ends at the trust bar — nothing after "Humanely Raised" */
body.home #newsletter, body.home footer { display: none; }

/* ── Design target maxes at 1920x1080. Cap content width; center beyond. ── */
@media (min-width: 1600px) {
  :root { --max-w: 1360px; }
  body { font-size: 17px; }
}

/* --- Native-block spacing parity: block wrappers follow the theme's own rhythm --- */
.wp-block-group { margin-top: 0; margin-bottom: 0; }
.wp-block-group.container, .wp-block-group.hero-content { display: block; }
.entry-content > * { margin-block: 0; }

/* F5: outline buttons on light/cream sections need dark text for contrast */
#products .btn-outline { color: var(--green-deep); border-color: var(--green-deep); }
#products .btn-outline:hover { background: var(--green-deep); color: var(--white); }

/* ===== Recipe single: variant-A "editorial" layout (scoped to .wr-recipe) ===== */
.wr-recipe { background: var(--cream); padding-top: 68px; }              /* clear the fixed nav */
.wr-recipe .recipe { max-width: 720px; margin: 0 auto; padding: 56px 28px 88px; }
.wr-recipe .kicker { text-align: center; color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; margin: 0 0 20px; }
.wr-recipe .title { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: clamp(38px, 7vw, 58px); line-height: 1.08; text-align: center; color: var(--green-deep); margin: 0 0 22px; }
.wr-recipe .headnote { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 400; font-size: 20px; line-height: 1.55; text-align: center; color: var(--text-muted); max-width: 560px; margin: 0 auto 44px; }
.wr-recipe .meta { display: flex; justify-content: center; align-items: stretch; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); margin: 0 0 52px; padding: 20px 0; }
.wr-recipe .meta-cell { flex: 1; text-align: center; padding: 0 12px; position: relative; }
.wr-recipe .meta-cell + .meta-cell::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: var(--gold); }
.wr-recipe .meta-label { display: block; color: var(--gold); font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 6px; }
.wr-recipe .meta-value { display: block; color: var(--text); font-size: 16px; font-weight: 700; }
.wr-recipe .hero { margin: 0 0 60px; }
.wr-recipe .hero img { display: block; width: 100%; height: auto; border-radius: 2px; object-fit: cover; object-position: center; }
.wr-recipe .section-label { font-family: 'Inter', sans-serif; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; padding-bottom: 12px; margin: 0 0 26px; border-bottom: 1px solid var(--gold); }
.wr-recipe section { margin-bottom: 56px; }
.wr-recipe .ingredients { list-style: none; margin: 0; padding: 0; }
.wr-recipe .ingredients li { padding: 15px 0; border-bottom: 1px solid var(--cream-dark); font-size: 17px; color: var(--text); }
.wr-recipe .ingredients li:last-child { border-bottom: none; }
.wr-recipe .steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.wr-recipe .steps li { counter-increment: step; display: flex; align-items: flex-start; gap: 22px; padding: 18px 0; }
.wr-recipe .steps li + li { border-top: 1px solid var(--cream-dark); }
.wr-recipe .steps li::before { content: counter(step); font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: 40px; line-height: 1; color: var(--gold); flex: 0 0 auto; min-width: 42px; text-align: center; }
.wr-recipe .steps .step-text { padding-top: 6px; }
.wr-recipe .tip { background: var(--cream-dark); border-left: 4px solid var(--gold); padding: 22px 26px; margin: 0 0 48px; }
.wr-recipe .tip-label { display: block; font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: 19px; color: var(--green-deep); margin-bottom: 6px; }
.wr-recipe .tip-text { color: var(--text-muted); font-size: 16px; line-height: 1.6; }
.wr-recipe .print-row { text-align: center; margin-bottom: 28px; }
.wr-recipe .print-btn { appearance: none; border: none; background: var(--gold); color: var(--cream); font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 15px 38px; border-radius: 2px; cursor: pointer; transition: background-color 0.18s ease; }
.wr-recipe .print-btn:hover { background: var(--gold-light); }
.wr-recipe .recipe-footer-nav { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.wr-recipe .recipe-footer-nav .btn-outline { color: var(--green-deep); border-color: var(--green-deep); }
.wr-recipe .recipe-footer-nav .btn-outline:hover { background: var(--green-deep); color: var(--cream); }
.wr-recipe .print-footer { display: none; }
@media (max-width: 600px) {
  .wr-recipe .recipe { padding: 40px 20px 64px; }
  .wr-recipe .meta { flex-wrap: wrap; }
  .wr-recipe .meta-cell { flex: 1 1 50%; padding: 8px 12px; }
  .wr-recipe .meta-cell:nth-child(3)::before, .wr-recipe .meta-cell + .meta-cell::before { display: none; }
}
@media print {
  nav, footer.site-footer, #newsletter { display: none !important; }
  .wr-recipe { background: #fff; padding: 0; }
  .wr-recipe .recipe { max-width: 100%; padding: 0; }
  .wr-recipe .title { color: #000; }
  .wr-recipe .print-row, .wr-recipe .print-btn, .wr-recipe .recipe-footer-nav { display: none !important; }
  .wr-recipe .ingredients, .wr-recipe .steps li, .wr-recipe .tip { break-inside: avoid; page-break-inside: avoid; }
  .wr-recipe .tip { background: #fff; }
  .wr-recipe .hero img { max-height: 3.5in; width: auto; margin: 0 auto; }
  .wr-recipe .print-footer { display: block; text-align: center; margin-top: 32px; padding-top: 14px; border-top: 1px solid #ccc; font-size: 9pt; color: #555; }
}
