:root {
  --green: #0c831f;
  --green-deep: #065814;
  --green-ink: #0a2e12;
  --orange: #e37222;
  --orange-soft: #ffb07a;
  --cream: #f4f7f2;
  --mist: #e7efe6;
  --ink: #142018;
  --muted: #4a5c4e;
  --white: #ffffff;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --max: 1120px;
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Nav —— */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(12, 131, 31, 0.12);
}

.site-nav .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.nav-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.35rem 0;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green);
}

.nav-cta {
  background: var(--green) !important;
  color: var(--white) !important;
  padding: 0.55rem 1rem !important;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--green-deep) !important;
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(12, 131, 31, 0.25);
  background: var(--white);
  padding: 0.45rem 0.8rem;
  font-family: inherit;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 46, 18, 0.88) 0%, rgba(10, 46, 18, 0.45) 48%, rgba(10, 46, 18, 0.2) 100%),
    url("https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=2000&q=80")
      center / cover no-repeat;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4rem;
}

.hero-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-soft);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 9vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 10ch;
  animation: riseIn 0.9s ease both;
}

.hero-lead {
  margin: 1.25rem 0 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  animation: riseIn 1s ease 0.12s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  animation: riseIn 1s ease 0.22s both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
}

.btn-orange:hover {
  background: #c85e16;
}

.btn-green {
  background: var(--green);
  color: var(--white);
}

.btn-green:hover {
  background: var(--green-deep);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-dark {
  background: var(--green-ink);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border: 1.5px solid var(--green);
}

/* —— Sections —— */
.section {
  padding: 5rem 0;
}

.section-mist {
  background: var(--mist);
}

.section-dark {
  background: var(--green-ink);
  color: var(--cream);
}

.section-dark p,
.section-dark .muted {
  color: rgba(244, 247, 242, 0.72);
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}

.section-dark .eyebrow {
  color: var(--orange-soft);
}

.section-head h2,
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0.5rem 0 0.8rem;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.feature {
  background: var(--white);
  padding: 1.5rem;
  border: 1px solid rgba(12, 131, 31, 0.1);
}

.feature h3 {
  font-family: var(--font-display);
  margin: 0.6rem 0 0.5rem;
  font-size: 1.25rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(12, 131, 31, 0.1);
  padding: 0.25rem 0.55rem;
}

.panel-dark {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
}

.panel-dark h3 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.stat {
  border-top: 2px solid var(--orange);
  padding-top: 0.85rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.stat span {
  font-size: 0.88rem;
  color: rgba(244, 247, 242, 0.65);
}

/* Produce bands */
.produce-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
}

.produce-block.reverse .produce-copy {
  order: 2;
}

.produce-copy {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.produce-copy.dark {
  background: var(--green-deep);
  color: var(--cream);
}

.produce-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0.4rem 0 0.8rem;
  letter-spacing: -0.03em;
}

.produce-copy ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.produce-copy.dark ul,
.produce-copy.dark p {
  color: rgba(244, 247, 242, 0.78);
}

.produce-visual {
  background-size: cover;
  background-position: center;
  min-height: 280px;
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 46, 18, 0.35), rgba(10, 46, 18, 0.85));
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
  padding: 4rem 0 2.5rem;
}

.page-hero p {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* Lists / cards */
.list-check {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.list-check li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.5rem;
  border-bottom: 1px solid rgba(12, 131, 31, 0.1);
  color: var(--muted);
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--orange);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.chip {
  background: var(--mist);
  border: 1px solid rgba(12, 131, 31, 0.15);
  padding: 0.4rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
}

/* Contact / forms */
.form-card,
.login-card {
  background: var(--white);
  border: 1px solid rgba(12, 131, 31, 0.12);
  padding: clamp(1.25rem, 3vw, 2rem);
  max-width: 460px;
}

.contact-panel {
  background: var(--white);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(12, 131, 31, 0.12);
}

.contact-panel > h3 {
  font-family: var(--font-display);
  margin: 0.4rem 0 0.5rem;
  font-size: 1.55rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.contact-line {
  color: var(--muted);
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

.contact-dl {
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.contact-dl div {
  margin: 0;
  padding: 0;
}

.contact-dl dt {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

.contact-dl dd {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.contact-dl a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.contact-dl a:hover {
  text-decoration: underline;
  color: var(--green-deep);
}

.contact-actions {
  margin-top: 0.25rem;
}

.contact-actions .action-label {
  margin: 1.25rem 0 0.45rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.contact-actions .action-label:first-child {
  margin-top: 0;
}

.contact-actions .btn {
  display: inline-flex;
}

.map-embed {
  border: 1px solid rgba(12, 131, 31, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mist);
  aspect-ratio: 16 / 9;
  min-height: 280px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1.5px solid rgba(12, 131, 31, 0.2);
  border-radius: var(--radius);
  font: inherit;
  background: #fbfcfb;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid rgba(12, 131, 31, 0.25);
  border-color: var(--green);
}

.mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  background: var(--mist);
  padding: 0.35rem;
}

.mode-tabs button {
  border: none;
  background: transparent;
  padding: 0.7rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  color: var(--muted);
}

.mode-tabs button.active {
  background: var(--white);
  color: var(--green);
  box-shadow: 0 1px 0 rgba(12, 131, 31, 0.08);
}

.form-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 1rem;
}

.form-error {
  color: #c62828;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.2em;
  margin: 0.4rem 0 0.8rem;
}

.login-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100vh - 72px);
}

.login-visual {
  background:
    linear-gradient(160deg, rgba(10, 46, 18, 0.82), rgba(12, 131, 31, 0.55)),
    url("https://images.unsplash.com/photo-1610832958506-aa56368176cf?auto=format&fit=crop&w=1400&q=80")
      center / cover;
  color: var(--white);
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.login-visual h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  margin: 0.4rem 0 0.8rem;
  max-width: 10ch;
}

.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  background: var(--cream);
}

/* Footer */
.site-footer {
  background: #08180c;
  color: rgba(244, 247, 242, 0.8);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  gap: 0.85rem;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  margin-bottom: 0.35rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.92rem;
}

.footer-col h4 {
  margin: 0 0 0.75rem;
  color: var(--orange-soft);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 900px) {
  .grid-3,
  .grid-2,
  .stats,
  .produce-block,
  .footer-grid,
  .login-shell,
  .split {
    grid-template-columns: 1fr;
  }

  .produce-block.reverse .produce-copy {
    order: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--cream);
    padding: 1rem;
    border-bottom: 1px solid rgba(12, 131, 31, 0.12);
    gap: 0.35rem;
  }

  .nav-links.open {
    display: flex;
  }

  .login-visual {
    min-height: 280px;
  }
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.product-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.product-toolbar input {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(12, 131, 31, 0.2);
  border-radius: 4px;
  font: inherit;
  background: #fff;
}

.product-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.product-filters button {
  border: 1px solid rgba(12, 131, 31, 0.2);
  background: #fff;
  padding: 0.45rem 0.85rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--muted);
}

.product-filters button.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.product-card {
  background: #fff;
  border: 1px solid rgba(12, 131, 31, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 46, 18, 0.08);
}

.product-card .img-wrap {
  aspect-ratio: 1;
  background: var(--mist);
  overflow: hidden;
}

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

.product-card .body {
  padding: 0.75rem 0.85rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.product-card h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  font-family: var(--font-body);
}

.product-card .cat {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.product-card .price {
  margin-top: auto;
  padding-top: 0.4rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--green);
  font-size: 1.05rem;
}

.product-card .unit {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.product-empty,
.product-loading {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
  font-weight: 600;
}

.product-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #d8e8d6, #f0f5ef);
  color: var(--green);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
}
