@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@600;700;800&display=swap");

:root {
  --green: #0f4f2f;
  --green-2: #2f7a3e;
  --leaf: #eef7e8;
  --red: #c93a2c;
  --yellow: #f4bb35;
  --soil: #7a5638;
  --cream: #fffaf0;
  --ink: #243026;
  --muted: #526056;
  --line: #dce6d7;
  --shadow: 0 18px 45px rgba(28, 56, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  border-radius: 10px;
  filter: brightness(1.05) contrast(1.05);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 4vw, 48px);
  min-height: 84px;
  padding: 10px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  max-width: 430px;
  text-decoration: none;
}

.brand-logo {
  width: 82px;
  height: 62px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.15;
}

.brand small {
  color: #526056;
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex: 1 1 auto;
  font-size: 0.94rem;
  font-weight: 700;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #243026;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--green);
}

.hero {
  position: relative;
  min-height: 480px;
  height: 65vh;
  max-height: 700px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: flex;
  width: 400%;
  animation: heroSlide 24s infinite;
}

.hero-slide {
  position: relative;
  flex: 0 0 25%;
  width: 25%;
  height: 100%;
  object-fit: cover;
}

@keyframes heroSlide {
  0%,
  18% {
    transform: translateX(0);
  }

  25%,
  43% {
    transform: translateX(-25%);
  }

  50%,
  68% {
    transform: translateX(-50%);
  }

  75%,
  93% {
    transform: translateX(-75%);
  }

  100% {
    transform: translateX(0);
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.16) 46%, rgba(0, 0, 0, 0.06) 100%),
    rgba(0, 0, 0, 0.18);
}

.hero-content {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 52px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Poppins", "Inter", Arial, Helvetica, sans-serif;
  line-height: 1.08;
  color: var(--green);
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.45rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.65rem);
}

p {
  margin: 0;
}

.hero-content > p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 20px;
  color: #243026;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero h1 {
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.26);
}

.hero .eyebrow {
  color: var(--yellow);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.28);
}

.hero-content > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.22);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #ffffff;
  background: var(--green);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #0f3d1e;
}

.button.secondary {
  color: var(--green);
  background: #ffffff;
  border-color: var(--green);
}

.button.light {
  color: var(--green);
  background: #ffffff;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 80px 0;
}

.intro-section,
.two-column,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.section-text p:not(.eyebrow),
.story-copy p {
  margin-top: 20px;
  color: #243026;
  font-size: 1.08rem;
}

.story-copy p + p {
  margin-top: 18px;
}

.feature-panel,
.mission-card,
.contact-card,
.specialty-card,
.produce-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.feature-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 0;
}

.feature-panel div {
  padding: 24px;
}

.feature-panel strong {
  display: block;
  color: var(--green);
  font-size: 1.25rem;
}

.feature-panel p {
  margin-top: 8px;
  color: var(--muted);
}

.highlight-band,
.contact-strip {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 80px;
  padding: clamp(28px, 5vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--green), #316b35);
}

.highlight-band h2,
.contact-strip p {
  color: #ffffff;
}

.page-hero {
  position: relative;
  min-height: 340px;
  display: grid;
  align-items: end;
  padding: 72px 18px;
  background: url("images/farm/hero-leafy.png") center / cover;
  isolation: isolate;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.16));
}

.page-hero > div {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.page-hero h1 {
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.page-hero .eyebrow {
  color: var(--yellow);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.24);
}

.page-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.22);
}

.produce-hero {
  background: url("images/farm/hero-field.png") center / cover;
}

.specialty-hero {
  background: url("images/farm/hero-pepper-field.png") center / cover;
}

.specialty-showcase {
  background: linear-gradient(180deg, #fffdf8 0%, #ffffff 70%);
  padding: 72px 18px 48px;
}

.specialty-showcase-content {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.specialty-showcase-copy p:not(.eyebrow) {
  max-width: 540px;
  margin-top: 18px;
  color: #243026;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.specialty-showcase h1 {
  color: var(--green);
}

.specialty-showcase img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  padding: clamp(12px, 2vw, 22px);
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.contact-hero {
  background: url("images/farm/hero-field.png") center / cover;
}

.mission-card {
  padding: clamp(28px, 4vw, 42px);
  background: var(--cream);
  border-left: 6px solid var(--yellow);
}

.mission-card h2 {
  font-size: clamp(1.34rem, 2.4vw, 2rem);
}

.image-band {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 80px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-band img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: contain;
  background: #ffffff;
  border-radius: 0;
}

.produce-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.produce-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.produce-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 55px rgba(28, 56, 35, 0.16);
}

.produce-card-link,
.specialty-card-link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.produce-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
}

.produce-card div {
  padding: 20px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.produce-card h2 {
  font-size: 1.16rem;
}

.produce-card p,
.specialty-card p {
  margin-top: 10px;
  color: #243026;
}

.learn-more {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding-top: 16px;
  color: var(--green);
  font-weight: 800;
}

.catalog-intro {
  max-width: 760px;
  margin-bottom: 34px;
}

.catalog-intro p:not(.eyebrow) {
  margin-top: 14px;
  color: #243026;
  font-size: 1.06rem;
}

.product-detail-hero {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0 36px;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.product-detail-copy p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 18px;
  color: #243026;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.product-detail-copy .button {
  margin-top: 28px;
}

.product-detail-image {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #ffffff;
}

.product-detail-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
}

.product-detail-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-top: 44px;
}

.product-detail-sections article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(28, 56, 35, 0.08);
}

.product-detail-sections h2 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.product-detail-sections p {
  margin-top: 12px;
  color: #243026;
}

.availability-cta {
  grid-column: 1 / -1;
  background: var(--leaf) !important;
}

.availability-cta .button {
  margin-top: 18px;
}

.season-note {
  margin-top: 34px;
  padding: 18px 20px;
  border-left: 5px solid var(--yellow);
  background: var(--cream);
  color: #594126;
  font-weight: 700;
}

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.specialty-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: contain;
  padding: 18px;
  background: #ffffff;
  border-radius: 0;
}

.specialty-card-link div {
  padding: 24px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.specialty-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 55px rgba(28, 56, 35, 0.16);
}

.specialty-detail-image img {
  object-fit: contain;
  padding: 18px;
  background: #ffffff;
}

.labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.labels span {
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--green);
  background: var(--leaf);
  font-size: 0.86rem;
  font-weight: 800;
}

.contact-strip {
  margin-bottom: 80px;
  background: var(--leaf);
}

.contact-strip p {
  color: var(--green);
  font-size: 1.18rem;
  font-weight: 800;
}

.contact-card {
  padding: clamp(26px, 4vw, 42px);
}

.contact-card h2 {
  margin-bottom: 22px;
}

.contact-card > a,
.contact-card > p {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.contact-card strong {
  color: var(--green);
}

.contact-card span {
  color: #243026;
}

.contact-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 0;
}

.poster-contact-image img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: clamp(10px, 2vw, 18px);
  background: #ffffff;
}

.site-footer {
  display: grid;
  gap: 28px;
  padding: 52px clamp(18px, 4vw, 56px) 30px;
  color: #eaf3ea;
  background: var(--green);
}

.footer-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 1fr;
  gap: clamp(32px, 5vw, 78px);
}

.footer-brand img {
  width: 118px;
  height: 94px;
  object-fit: contain;
  margin-bottom: 14px;
  border-radius: 8px;
  background: #ffffff;
  filter: none;
}

.site-footer h2 {
  color: #ffffff;
  font-size: 1.38rem;
}

.site-footer h3 {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 1rem;
}

.site-footer p {
  color: #d5e5d6;
}

.site-footer nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.copyright {
  width: min(1180px, 100%);
  margin-right: auto;
  margin-left: auto;
  margin-top: 10px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.92rem;
  text-align: center;
}

.footer-credit {
  width: min(1180px, 100%);
  margin: -18px auto 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
  text-align: center;
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  text-decoration: none;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .intro-section,
  .two-column,
  .contact-layout,
  .product-detail-hero,
  .specialty-showcase-content,
  .specialty-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .produce-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-detail-sections {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 430px;
    height: 58vh;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 78px;
    padding: 10px 16px;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo {
    width: 66px;
    height: 52px;
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .hero {
    min-height: 420px;
    height: auto;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.2) 58%, rgba(0, 0, 0, 0.12) 100%),
      rgba(0, 0, 0, 0.18);
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 auto;
    padding: 48px 0;
  }

  .section {
    padding: 48px 0;
  }

  .product-detail-hero {
    padding: 48px 0 18px;
  }

  .specialty-showcase {
    padding: 48px 18px 32px;
  }

  .button,
  .button-row {
    width: 100%;
  }

  .produce-grid {
    grid-template-columns: 1fr;
  }

  .highlight-band,
  .contact-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-hero {
    min-height: 300px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .contact-image img {
    height: 340px;
  }
}
