@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght,SOFT@9..144,400,50;9..144,500,50;9..144,600,50;9..144,700,50&display=swap');

:root {
  --forest: #153b2b;
  --dark: #10271d;
  --sage: #7e946f;
  --cream: #f8f6ef;
  --sand: #eee9dc;
  --white: #fff;
  --ink: #25352b;
  --muted: #68786c;
  --gold: #cba965;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: "DM Sans", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
h1,h2,h3,.footer-brand { font-family: "Fraunces", Georgia, serif; }
h1,h2,h3,p { margin-top: 0; }
h1 { letter-spacing: -.045em; line-height: 1.08; }
h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); letter-spacing: -.04em; line-height: 1.12; }
h3 { letter-spacing: -.025em; }

.announcement { background: var(--forest); color: #eae7d5; text-align: center; padding: 10px 15px; font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.site-header { height: 92px; display: flex; align-items: center; justify-content: space-between; padding: 0 6%; background: rgba(248,246,239,.95); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #e8e5d8; backdrop-filter: blur(14px); }
.brand img { width: 110px; height: 83px; object-fit: contain; }
.site-header nav { display: flex; gap: 36px; align-items: center; }
.site-header nav a { font-size: 13px; font-weight: 700; transition: color .2s; }
.site-header nav a:hover { color: #7d976e; }
.cart-toggle { border: 1px solid #bccbb8; background: none; border-radius: 999px; padding: 13px 20px; font-weight: 700; }
#cart-count { margin-left: 8px; display: inline-grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: var(--forest); color: white; font-size: 12px; }

.hero { min-height: 690px; display: grid; grid-template-columns: 48% 52%; overflow: hidden; }
.hero-copy { padding: clamp(70px, 8vw, 145px) 8% 65px 12%; background: #f4f1e7; display: flex; flex-direction: column; justify-content: center; }
.eyebrow { font-size: 11px; color: #667b50; letter-spacing: .18em; font-weight: 800; text-transform: uppercase; display: block; margin-bottom: 22px; }
.hero h1 { font-size: clamp(3.5rem, 5.25vw, 6rem); max-width: 760px; margin-bottom: 30px; color: var(--forest); }
em { font-style: italic; color: #82966b; }
.hero-copy > p { font-size: 17px; max-width: 500px; color: #5d6c60; line-height: 1.85; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 15px; text-align: center; padding: 17px 25px; font-size: 13px; font-weight: 800; border-radius: 50px; border: 1px solid transparent; transition: .2s; }
.btn:hover,.small-btn:hover { transform: translateY(-2px); }
.primary { background: var(--forest); color: white; }
.primary:hover { background: #24523c; }
.secondary { background: transparent; color: var(--forest); border-color: #97a595; }
.secondary:hover { background: #e5ebdf; }
.light { background: #f6f1de; color: var(--forest); }
.full { width: 100%; }
.hero-trust { display: flex; gap: 25px; flex-wrap: wrap; font-size: 12px; color: #6c7a65; font-weight: 600; margin-top: 35px; }
.hero-photo { position: relative; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-label { position: absolute; right: 8%; bottom: 8%; padding: 19px 30px; border-radius: 3px; background: rgba(249,246,233,.94); color: var(--forest); }
.photo-label span { display: block; font-size: 10px; letter-spacing: .18em; }
.photo-label strong { font: 600 28px "Fraunces",serif; }

.intro-strip { display: flex; align-items: center; justify-content: center; gap: 5%; padding: 27px 15px; border-bottom: 1px solid #e4e0d3; background: white; font-size: 11px; font-weight: 800; letter-spacing: .11em; color: var(--forest); }
.intro-strip i { color: #a2aa75; font-style: normal; font-size: 22px; }

.section { padding: 105px 6%; max-width: 1650px; margin: auto; }
.section.warm { max-width: none; background: #eeecdf; }
.section-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 45px; }
.section-heading h2 { color: var(--forest); margin-bottom: 0; }
.section-heading p { max-width: 380px; color: #69746a; line-height: 1.8; margin-bottom: 4px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.text-link { font-weight: 800; font-size: 13px; color: var(--forest); padding-bottom: 8px; border-bottom: 1px solid #a9b4a1; }

.store-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.store-panel { color: white; min-height: 470px; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 22px; position: relative; overflow: hidden; isolation: isolate; }
.store-panel:before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,rgba(7,30,19,.15),rgba(7,30,19,.90)); }
.farmstand-panel { background: #35523a url('/farm.jpg') center/cover; }
.marketplace-panel { background: linear-gradient(125deg,#42664a,#102c22); }
.panel-index { font-size: 11px; letter-spacing: .2em; font-weight: 800; }
.store-panel h3 { font-size: clamp(2.6rem,4vw,4.5rem); line-height: 1.07; margin-bottom: 15px; }
.store-panel p { max-width: 450px; line-height: 1.75; color: #e3e8df; }
.panel-cta { display: inline-block; border-bottom: 1px solid #d5e1d5; padding: 8px 0; font-size: 13px; font-weight: 800; }

.product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.product-card { background: white; border: 1px solid #e3e4d9; border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 20px rgba(18,51,31,.04); transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(18,51,31,.10); }
.product-image-link { display: block; aspect-ratio: 1.2; background: linear-gradient(135deg,#768a65,#d2c7ac); overflow: hidden; }
.product-image-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.product-card:hover img { transform: scale(1.045); }
.product-body { padding: 23px; }
.product-category { display: block; font-size: 10px; letter-spacing: .12em; font-weight: 800; color: #7b8a6f; text-transform: uppercase; margin-bottom: 11px; }
.product-title { display: block; font: 600 23px/1.24 "Fraunces",serif; color: var(--forest); min-height: 58px; }
.product-body p { line-height: 1.7; font-size: 12px; color: #778278; min-height: 62px; margin: 12px 0 20px; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 17px; border-top: 1px solid #e9ece6; }
.product-bottom strong { font-size: 15px; color: var(--forest); }
.small-btn { border: none; background: var(--forest); color: white; font-weight: 700; font-size: 11px; padding: 10px 13px; border-radius: 999px; }
.small-btn.outline { border: 1px solid #96a999; color: var(--forest); background: transparent; }

.story-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 550px; background: #e1e8d9; }
.story-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.story-copy { display: flex; flex-direction: column; align-items: start; justify-content: center; padding: 85px 11%; }
.story-copy h2 { color: var(--forest); max-width: 620px; }
.story-copy p { font-size: 16px; color: #536a59; line-height: 1.9; max-width: 540px; }
.story-copy .btn { margin-top: 15px; }
.seller-cta { padding: 105px 25px; text-align: center; color: white; background: var(--forest); }
.seller-cta h2 { color: white; }
.seller-cta p { color: #c8d8c9; margin-bottom: 30px; }

.page-hero { padding: 100px 6% 85px; background: #e8eddf; text-align: center; }
.page-hero h1 { font-size: clamp(3.8rem,7vw,7.2rem); color: var(--forest); margin-bottom: 20px; }
.page-hero p { font-size: 17px; line-height: 1.8; color: #5c6e61; max-width: 760px; margin: 0 auto 24px; }
.marketplace-hero { background: #e6e9db; }
.notice { max-width: 850px; margin: 25px auto 0; padding: 18px 24px; font-size: 12px; line-height: 1.7; color: #657063; border: 1px solid #cbd4c2; border-radius: 8px; }
.shop-top { display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.shop-top h2 { font-size: 2.3rem; margin: 0; }
#product-search { padding: 15px 20px; border: 1px solid #c9d3c8; border-radius: 50px; background: white; outline-color: var(--forest); min-width: 270px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 28px 0 36px; }
.filter { background: transparent; color: var(--forest); border: 1px solid #bccaba; border-radius: 30px; padding: 11px 20px; font-size: 12px; font-weight: 700; }
.filter.active,.filter:hover { background: var(--forest); color: white; }
.category-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.category-card { padding: 35px; min-height: 200px; border-radius: 15px; background: #e7eade; }
.category-icon { font-size: 27px; color: #7b9a77; }
.category-card h3 { color: var(--forest); font-size: 25px; margin: 22px 0 12px; }
.category-card p { color: #6e7b70; font-size: 13px; }
.extra-top { margin-top: 95px; }
.empty-market { padding: 65px 30px; background: #e8eadd; border-radius: 18px; text-align: center; }
.empty-market h3 { font-size: 35px; color: var(--forest); }
.empty-market p { color: var(--muted); margin-bottom: 25px; }

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 7%; align-items: center; padding: 90px 6%; }
.detail-photo { background: #d7dacc; aspect-ratio: 1; border-radius: 20px; overflow: hidden; }
.detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.detail-info h1 { font-size: clamp(3rem,5vw,5rem); color: var(--forest); }
.detail-info p { color: #637267; line-height: 1.9; max-width: 540px; }
.detail-price { font-size: 28px; font-weight: 800; color: var(--forest); margin: 20px 0; }
.back-link { display: block; margin-bottom: 50px; color: var(--sage); font-weight: 700; }
.detail-notes { margin-top: 50px; padding-top: 25px; border-top: 1px solid #d7dfd2; }

.seller-form-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; padding: 90px 8%; }
.seller-info h2 { color: var(--forest); }
.seller-info p { color: var(--muted); line-height: 1.8; }
.seller-benefit { margin: 23px 0; color: var(--forest); font-weight: 700; }
.seller-form { padding: 40px; background: white; border-radius: 20px; box-shadow: 0 15px 45px rgba(18,51,31,.05); }
.seller-form h3 { font-size: 30px; color: var(--forest); }
.seller-form label { display: block; font-size: 12px; color: #536453; font-weight: 800; margin: 20px 0; }
.seller-form input,.seller-form textarea { display: block; width: 100%; margin-top: 10px; padding: 15px; border-radius: 8px; border: 1px solid #cbd5c9; resize: vertical; background: #fafbf8; }
.seller-form small { display: block; margin-top: 20px; color: var(--muted); font-size: 11px; }
.success-notice { color: var(--forest); font-weight: 800; }
.honeypot { position: absolute; opacity: 0; pointer-events: none; }

.footer { background: #102e21; color: #e8e9df; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 55px; padding: 80px 7%; }
.footer h3 { font-family: "DM Sans",sans-serif; font-size: 13px; margin-bottom: 20px; color: white; }
.footer-brand { font-size: 32px; font-weight: 700; color: white; margin-bottom: 15px; }
.footer a { display: block; font-size: 13px; margin: 13px 0; color: #cfdbcf; }
.footer p { color: #9eafa3; line-height: 1.8; font-size: 12px; max-width: 280px; }
.footer-bottom { padding: 24px 7%; border-top: 1px solid #32503c; font-size: 11px; color: #9eafa3; }

.overlay { position: fixed; inset: 0; background: rgba(8,28,17,.5); opacity: 0; pointer-events: none; z-index: 99; transition: .3s; }
.overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; right: 0; top: 0; height: 100dvh; width: min(440px,100%); background: #fbfaf6; z-index: 100; transform: translateX(105%); transition: transform .3s; padding: 28px; overflow-y: auto; box-shadow: -20px 0 45px rgba(0,0,0,.1); }
.cart-drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e3e5d8; margin-bottom: 25px; }
.drawer-head h2 { font-size: 29px; }
.drawer-head button { border: 0; background: transparent; font-size: 32px; }
.cart-line { display: flex; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid #e1e6dd; gap: 20px; font-size: 13px; }
.cart-line button { border: 0; color: #ad4a40; background: none; font-size: 11px; text-decoration: underline; }
#cart-total { font-size: 20px; color: var(--forest); font-weight: 800; padding: 30px 0; }
.checkout-message { color: #935444; font-size: 13px; line-height: 1.7; }
.cart-drawer small { color: var(--muted); display: block; margin-top: 15px; line-height: 1.6; }

@media (max-width: 1100px) {
  .site-header nav { gap: 15px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero-copy { padding-left: 7%; }
  .footer-inner { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 750px) {
  .site-header { padding: 0 4%; height: auto; min-height: 82px; flex-wrap: wrap; }
  .brand img { width: 82px; height: 68px; }
  .site-header nav { order: 3; width: 100%; justify-content: center; overflow-x: auto; padding: 0 0 14px; gap: 18px; }
  .site-header nav a { white-space: nowrap; font-size: 11px; }
  .hero,.story-section,.product-detail,.seller-form-section { grid-template-columns: 1fr; }
  .hero-copy { padding: 65px 7%; }
  .hero h1 { font-size: 3.9rem; }
  .hero-photo { height: 350px; }
  .intro-strip { gap: 12px; font-size: 9px; flex-wrap: wrap; }
  .section { padding: 70px 5%; }
  .section-heading { align-items: start; flex-direction: column; }
  .store-grid,.category-grid { grid-template-columns: 1fr; }
  .store-panel { min-height: 370px; padding: 30px; }
  .story-image { height: 340px; }
  .story-copy { padding: 65px 7%; }
  .shop-top { align-items: stretch; flex-direction: column; }
  .footer-inner { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px; padding: 60px 6%; }
  .seller-form-section { padding: 55px 5%; gap: 30px; }
  .product-detail { padding: 55px 5%; }
}
@media (max-width: 470px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 3.2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .footer-inner { grid-template-columns: 1fr; }
  .section-heading h2 { font-size: 2.5rem; }
}
/* New sections. Replace placeholder art with approved 2 SILOS photos after they are supplied. */
.farmstand-panel{background:#35523a url('/farm-placeholder.svg') center/cover}
@media(max-width:1120px){.site-header nav{gap:14px}.site-header nav a{font-size:11px}}
/* 2 SILOS / a field-to-table journal */
:root{--forest:#123d28;--cream:#faf7ee;--gold:#bd8b45;--ink:#183827;--radius:6px}
body{background:var(--cream)}
.announcement{background:#103622;color:#eee5c9;font-size:10px;letter-spacing:.2em;padding:9px}
.site-header{height:104px;padding:0 5%;background:#faf7ee;backdrop-filter:none}
.brand img{width:115px;height:92px;object-fit:contain}.site-header nav{gap:28px}.site-header nav a{font-size:12px}
.hero{min-height:635px;grid-template-columns:49% 51%;margin:0 2.3%;border-radius:5px;position:relative}
.hero-copy{padding:70px 9%;background:#eeeadc}.hero h1{font-size:clamp(3.4rem,5.9vw,6.4rem);font-weight:500;line-height:1.03;letter-spacing:-.055em}.hero em{color:#78875c}
.hero-copy>p{font-size:15px;line-height:1.8;max-width:400px}.eyebrow{font-size:10px;letter-spacing:.18em;color:#6c754d}.btn{border-radius:3px;padding:17px 23px;letter-spacing:.02em;font-size:12px}.hero-photo{position:relative;min-height:530px}.hero-photo>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.photo-label{border-radius:3px;background:#f7f0dfe8;bottom:28px;right:28px;transform:rotate(-3deg);padding:20px 25px}.photo-label strong{font-family:Georgia,serif;font-size:28px}.hero-trust{font-size:10px;gap:16px;margin-top:34px}
.intro-strip{background:transparent;border-bottom:1px solid #ddd9cb;padding:28px 6%;font-size:10px;letter-spacing:.16em}.section{padding:76px 5%;max-width:1600px;margin:auto}.section-heading h2{font-weight:500;font-size:clamp(2.4rem,4vw,3.8rem)}.section-heading p{font-size:14px;line-height:1.8}.store-panel{border-radius:5px;min-height:385px;position:relative;overflow:hidden;background-size:cover;background-position:center;color:white;padding:34px}.store-panel:before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0d291fe8,#102a1f10)}.store-panel>*{position:relative}.farmstand-panel{background-image:url('/images/eggs.jpg')}.marketplace-panel{background-image:url('/images/harvest.jpg')}.store-panel h3{font-size:43px;font-weight:500}.store-panel p{color:#f2ecd9;max-width:350px}.panel-index{font-size:10px;letter-spacing:.15em}.panel-cta{font-size:12px}.warm{background:#f0ecdf;max-width:none}.product-card{border-radius:5px;background:transparent;border:0;box-shadow:none}.product-image-link{border-radius:5px;overflow:hidden;aspect-ratio:1/1;display:block}.product-image-link img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.product-card:hover img{transform:scale(1.04)}.product-body{padding:22px 0}.product-title{font-weight:500;font-size:24px}.product-body p{font-size:12px;line-height:1.7}.product-category{font-size:9px;letter-spacing:.16em}.small-btn{border-radius:3px;font-size:10px;padding:10px 12px}.product-bottom strong{font-size:13px}.story-section{background:#faf7ee}.story-copy h2{font-weight:500}.story-image img{object-fit:cover}.seller-cta{background:#173f2a;border-top:1px solid #d6dcc7}.seller-cta h2{font-weight:500}.footer{background:#0e2c1d}.footer-logo{background:#f6f0df;border-radius:4px;object-fit:contain;padding:8px}.footer a{font-size:12px}.footer p{font-size:12px;line-height:1.8}.page-hero{background:#eeeadc;padding:75px 6%}.page-hero h1{font-weight:500}.category-card,.empty-market,.seller-form{border-radius:5px}.legal-copy{max-width:860px;line-height:1.9;font-size:15px}.legal-copy h2{font-size:28px;margin-top:36px}.legal-copy a{text-decoration:underline}.menu-toggle{display:none}.skip-link{position:fixed;left:12px;top:-100px;z-index:999;background:white;padding:14px}.skip-link:focus{top:12px}:focus-visible{outline:3px solid #bc8a3d;outline-offset:4px}.cart-drawer{z-index:102}.overlay{z-index:101}.cart-drawer small{display:block;line-height:1.7}.portal-root{min-height:250px}button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:900px){.site-header{height:87px;padding:0 5%;gap:12px}.brand img{height:77px;width:94px}.menu-toggle{display:block;margin-left:auto;background:none;border:1px solid #bdc4b5;padding:10px;border-radius:3px;font-size:12px}.site-header nav{display:none;position:absolute;left:0;right:0;top:87px;background:#faf7ee;box-shadow:0 10px 20px #0002;padding:24px;flex-direction:column;align-items:flex-start;gap:24px}.site-header nav.is-open{display:flex}.cart-toggle{padding:8px 12px;font-size:12px}.hero{grid-template-columns:1fr;margin:0 3%}.hero-copy{padding:50px 8%}.hero h1{font-size:clamp(3.5rem,10vw,5.5rem)}.hero-photo{min-height:360px}.hero-trust{flex-wrap:wrap}.intro-strip{font-size:8px;gap:12px;padding:24px 4%}.intro-strip i{display:none}.section{padding:50px 6%}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 16px}.product-title{font-size:21px}.product-bottom{flex-direction:column;align-items:flex-start;gap:12px}.product-body p{min-height:0}.story-section{padding:45px 6%}.footer-inner{gap:30px}.section-heading{gap:20px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Stage 1: keep the illustrated reference's forest/cream palette usable on small screens. */
@media(max-width:600px){.store-grid{grid-template-columns:1fr}.hero-actions{flex-direction:column;align-items:stretch}.intro-strip{flex-wrap:wrap;justify-content:center}.hero h1{font-size:clamp(2.8rem,11vw,4rem)}.product-grid{grid-template-columns:1fr}.hero-photo{min-height:300px}.photo-label{right:18px;bottom:18px}.store-panel{min-height:340px}}

.cart-quantity { display: flex; gap: 12px; margin-top: 8px; }
.cart-line .cart-quantity button { border: 1px solid #bccbb8; border-radius: 3px; min-width: 32px; min-height: 32px; color: var(--forest); font-size: 18px; text-decoration: none; }

.coming-soon-banner { background: #244b37; color: #fff; text-align: center; padding: 0.8rem 1rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
