/* ===== brand: Fields Family Farmz
   build: SF/FFF v2
   ===== */
:root {
  --ink: #141413;
  --ink-2: #2e2e28;
  --muted: #6e6e64;
  --line: #e7e5dd;
  --paper: #f7f6f1;
  --green: #009949;
  --green-dark: #00682f;
  --yellow: #f3e82a;
  --neon-purple: #b026ff;
  --neon-yellow: #ffea00;
  --neon-green: #ccff00;
  --radius: 20px;
  --card-img-h: 220px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* nav */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.logo img { height: 60px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  padding: 10px 14px; border-radius: 999px;
  font-weight: 600; color: var(--ink);
}
.site-nav a:hover { background: #efeee8; text-decoration: none; }
.site-nav a.active { background: var(--neon-purple); color: #fff; }

.nav-toggle { display: none; background: transparent; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 18px; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; inset: 76px 12px auto auto;
    width: 220px; background: #ffffffdf; backdrop-filter: blur(14px);
    border: 1px solid var(--line); border-radius: 18px; padding: 10px;
    flex-direction: column; gap: 2px;
  }
  .site-nav.open { display: flex; }
}

/* hero */
.hero {
  position: relative;
  padding: 110px 0 100px;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0.55;
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 1.05; letter-spacing: -.03em;
  color: #fff;
}
.hero .lead { margin: 0 0 22px; font-size: 20px; color: rgba(255,255,255,0.82); max-width: 50ch; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }

.hero-art {
  aspect-ratio: 1/1;
  max-width: 340px;
  margin: 0 auto;
  border-radius: 24px;
  background: #ffffff1f;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px;
  text-align: center;
}
.hero-art img {
  max-width: 100%;
  max-height: 70%;
  object-fit: contain;
  display: block;
}
.hero-product-meta {
  margin-top: 14px;
}
.hero-product-name {
  font-weight: 700;
  font-size: 18px;
}
.hero-product-size {
  color: #ffffffcc;
  font-size: 14px;
  margin-top: 6px;
}
@media (max-width: 900px) {
  .hero { padding: 64px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 260px; }
}
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  margin-bottom: 28px; flex-wrap: wrap;
}
.section-head h2 { margin: 0; font-size: 32px; letter-spacing: -.02em; }
.section-head p { margin: 0; color: var(--muted); max-width: 52ch; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--neon-purple); color: #fff;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 700; border: 0; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(176,38,255,.35); text-decoration: none; }
.btn-sm { padding: 10px 14px; font-size: 14px; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid #cbc8be; }

/* cards — strict alignment */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.06);
  transition: transform .15s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.card:hover { transform: translateY(-2px); }
.card-visual {
  height: 300px;
  flex: 0 0 auto;
  overflow: hidden;
  background: #f5f4ee;
  display: grid;
  place-items: center;
  padding: 18px;
}
.card-visual img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #f5f4ee;
}
.card-body {
  padding: 16px;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.card-body .name {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}
.card-body .muted {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}
.card-body .badges {
  margin-top: auto;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  display: inline-block;
  background: #eaf8ef;
  color: var(--green-dark);
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #d4f7de;
  line-height: 1.1;
  white-space: nowrap;
}
.meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.price { color: var(--green-dark); font-weight: 700; }

/* products */
.filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.filter {
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
  border-radius: 999px; padding: 9px 14px; font-weight: 700; cursor: pointer;
}
.filter.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* locator */
.locator { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.locator-map {
  background: linear-gradient(180deg,#eef8f1,#e6f4ea);
  border: 1px solid var(--line); border-radius: 22px; min-height: 520px;
  display: grid; place-items: center; color: var(--ink-2); font-weight: 600;
}
.locator-list {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  overflow: hidden; display: flex; flex-direction: column;
}
.locator-bar { padding: 14px 16px; border-bottom: 1px solid var(--line); display: flex; gap: 10px; }
.locator-bar input { flex: 1; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); font: inherit; background: #fff; }
.store { padding: 14px 16px; border-bottom: 1px solid #f2f1ec; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.store:last-child { border-bottom: 0; }
.store h4 { margin: 0; font-size: 16px; }
.store .muted { color: var(--muted); font-size: 13px; text-align: center; }

.store-toolbar { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-bottom: 14px; }
.store-toolbar input, .store-toolbar select { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); font: inherit; background: #fff; color: var(--ink); }
.store-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.store-grid .store {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px;
  text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 8px;
}
.store-grid .store h4 { font-size: 15px; }
.store-cta { color: #006633; font-weight: 700; font-size: 13px; }

@media (max-width: 860px) {
  .locator { grid-template-columns: 1fr; }
  .locator-map { min-height: 240px; }
}

/* about */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 18px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px; }
.value h4 { margin: 0 0 6px; }
.value p { margin: 0; color: var(--ink-2); }
.license-box { margin-top: 16px; display: inline-flex; gap: 14px; flex-wrap: wrap; }
.license { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; }
.license strong { color: var(--green-dark); }

/* connect */
.lead-form { display: grid; gap: 12px; max-width: 620px; }
.lead-form label span { display: block; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; color: var(--ink-2); }
.lead-form input, .lead-form textarea { width: 100%; padding: 14px; border-radius: 12px; border: 1px solid #d6d3c9; background: #fff; font: inherit; }
.form-note { color: var(--muted); font-size: 13px; }

/* age gate */
#age-gate {
  position: fixed; inset: 0; background: #0009; display: none;
  align-items: center; justify-content: center; z-index: 9999;
}
.gate {
  background: #fff; max-width: 420px; width: 92%; border-radius: 22px;
  padding: 24px; text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.2);
}

.site-footer {
  padding: 26px 20px; text-align: center; color: var(--muted);
  font-size: 14px; background: #fff; border-top: 1px solid var(--line);
}
.disclaimer { max-width: 780px; margin: 6px auto 0; color: var(--muted); font-size: 13px; }
