@import url('https://fonts.googleapis.com/css2?family=Lora:wght@500;600;700&family=Source+Sans+3:wght@400;500;600;700;800&display=swap');

:root {
  --soil: #49382a;
  --soil-soft: #6b523c;
  --moss: #31452f;
  --leaf: #5f7b47;
  --sage: #a8b98f;
  --sage-light: #dfe8d2;
  --oat: #f0e4cc;
  --cream: #fbf3df;
  --butter: #fff7df;
  --clay: #b46d45;
  --berry: #73364b;
  --blueberry: #344768;
  --text: #342d22;
  --muted: #6c6254;
  --line: rgba(73, 56, 42, 0.16);
  --shadow: 0 28px 80px rgba(54, 44, 31, 0.18);
  --radius-xl: 42px;
  --radius-lg: 28px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans 3", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(168, 185, 143, 0.32), transparent 34rem),
    linear-gradient(180deg, var(--cream), var(--oat));
  color: var(--text);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(73,56,42,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(73,56,42,.05) 1px, transparent 1px);
  background-size: 42px 42px;
  z-index: -1;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 243, 223, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: 1220px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  font-family: "Lora", Georgia, serif;
  font-size: 27px;
  line-height: 1.05;
  color: var(--moss);
  letter-spacing: -0.01em;
}

.logo span {
  display: block;
  margin-top: 6px;
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soil-soft);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  font-weight: 800;
  color: var(--soil);
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--butter);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--moss);
  border-radius: 99px;
}

.container {
  max-width: 1220px;
  margin: 0 auto;
}

.section {
  padding: 96px 24px;
}

.eyebrow {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
}

h1,
h2,
h3 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  color: var(--moss);
  letter-spacing: -0.012em;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.08;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.14;
}

h3 {
  font-size: 23px;
  line-height: 1.18;
}

p {
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button.primary {
  background: var(--moss);
  color: var(--cream);
  box-shadow: 0 14px 34px rgba(49, 69, 47, 0.22);
}

.button.primary:hover {
  background: var(--soil);
  transform: translateY(-2px);
}

.button.secondary {
  background: rgba(255, 247, 223, 0.72);
  border-color: rgba(73, 56, 42, 0.24);
  color: var(--soil);
}

.button.secondary:hover {
  background: var(--sage-light);
  transform: translateY(-2px);
}

.hero {
  max-width: 1220px;
  margin: 0 auto;
  padding: 74px 24px 88px;
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 54px;
  align-items: center;
}

.hero-description {
  max-width: 680px;
  margin-bottom: 32px;
  font-size: 18px;
  color: var(--soil-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.season-note {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 520px;
  padding: 18px 20px;
  border-left: 5px solid var(--clay);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(255, 247, 223, 0.64);
}

.season-note strong {
  color: var(--soil);
}

.season-note span {
  color: var(--muted);
}

.hero-photo,
.intro-photo,
.box-photo,
.self-photo {
  min-height: 590px;
  border-radius: var(--radius-xl);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
  border: 10px solid rgba(255, 247, 223, 0.55);
}

.hero-photo {
  position: relative;
  background-image:
    linear-gradient(rgba(52,45,34,0.05), rgba(52,45,34,0.18)),
    url("images/hero-berries-vegetables.jpg");
}

.farm-label {
  position: absolute;
  left: 26px;
  bottom: 26px;
  padding: 18px 22px;
  border-radius: 22px;
  background: rgba(251, 243, 223, 0.92);
  color: var(--soil);
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
}

.farm-label span {
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
}

.farm-label strong {
  font-family: "Lora", Georgia, serif;
  font-size: 18px;
}

.story-intro {
  background: rgba(223, 232, 210, 0.64);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-layout,
.boxes-layout,
.self-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
}

.intro-photo {
  background-image: url("images/farm-landscape.jpg");
}

.intro-text p,
.section-heading p,
.box-copy p,
.self-copy p,
.closing-card p,
.contact-copy p {
  margin-bottom: 18px;
  font-size: 18px;
}

.farm-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.farm-values span {
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--soil);
  font-weight: 900;
}

.harvest-section {
  background:
    radial-gradient(circle at top right, rgba(180, 109, 69, 0.16), transparent 28rem),
    var(--oat);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 46px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255, 247, 223, 0.72);
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px rgba(73, 56, 42, 0.09);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product-card:hover {
  transform: translateY(-6px) rotate(-0.4deg);
  box-shadow: 0 26px 68px rgba(73, 56, 42, 0.16);
}

.product-image {
  min-height: 205px;
  background-size: cover;
  background-position: center;
}

.product-info {
  padding: 22px;
}

.product-info h3 {
  margin-bottom: 8px;
}

.product-info p {
  min-height: 74px;
  margin-bottom: 14px;
  font-size: 16px;
}

.product-info span {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--sage-light);
  color: var(--moss);
  font-size: 13px;
  font-weight: 900;
}

.blueberries { background-image: url("images/harvest-blueberries.jpg"); }
.raspberries { background-image: url("images/harvest-raspberries.jpg"); }
.tomatoes { background-image: url("images/harvest-tomatoes.jpg"); }
.cucumbers { background-image: url("images/harvest-cucumbers.jpg"); }
.herbs { background-image: url("images/harvest-herbs.jpg"); }
.carrots { background-image: url("images/harvest-carrots.jpg"); }
.garlic { background-image: url("images/harvest-garlic.jpg"); }
.greens { background-image: url("images/harvest-greens.jpg"); }
.cauliflower { background-image: url("images/harvest-cauliflower.jpg"); }
.pumpkin { background-image: url("images/harvest-pumpkin.jpg"); }
.potatoes { background-image: url("images/harvest-potatoes.jpg"); }
.mushrooms { background-image: url("images/harvest-mushrooms.jpg"); }

.how-section {
  background: var(--cream);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  padding: 28px;
  border-radius: 28px;
  background: var(--butter);
  border: 1px solid var(--line);
}

.step span {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--clay);
  color: var(--cream);
  font-weight: 900;
}

.step h3 {
  margin-bottom: 9px;
}

.step p {
  font-size: 16px;
}

.boxes-section {
  background: rgba(168, 185, 143, 0.28);
}

.box-photo {
  background-image: url("images/seasonal-box.jpg");
}

.box-options {
  display: grid;
  gap: 12px;
  margin: 26px 0 30px;
}

.box-options div {
  display: grid;
  gap: 2px;
  padding: 17px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 247, 223, 0.72);
  border: 1px solid var(--line);
}

.box-options strong {
  color: var(--soil);
  font-size: 18px;
}

.box-options span {
  color: var(--muted);
}

.self-section {
  background: var(--oat);
}

.self-photo {
  background-image: url("images/self-picking.jpg");
}

.closing-story {
  padding-top: 56px;
  padding-bottom: 56px;
  background: var(--moss);
}

.closing-card {
  max-width: 920px;
  text-align: center;
}

.closing-card h2,
.closing-card p {
  color: var(--cream);
}

.closing-card .eyebrow {
  color: #efc38d;
}

.contact-section {
  background:
    radial-gradient(circle at bottom left, rgba(115, 54, 75, 0.16), transparent 27rem),
    var(--cream);
}

.contact-layout {
  padding: 52px;
  border-radius: var(--radius-xl);
  background: rgba(255, 247, 223, 0.68);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.signup-form {
  padding: 30px;
  border-radius: 30px;
  background: var(--butter);
  border: 1px solid var(--line);
}

.signup-form label {
  display: block;
  margin-bottom: 7px;
  color: var(--soil);
  font-size: 14px;
  font-weight: 900;
}

.signup-form input,
.signup-form select,
.signup-form textarea {
  width: 100%;
  margin-bottom: 14px;
  padding: 14px 15px;
  border-radius: 15px;
  border: 1px solid rgba(73, 56, 42, 0.2);
  background: #fffdf4;
  color: var(--text);
}

.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus {
  outline: 3px solid rgba(168, 185, 143, 0.5);
  border-color: var(--leaf);
}

.signup-form textarea {
  min-height: 96px;
  resize: vertical;
}

.signup-form button {
  width: 100%;
}

.form-message {
  margin-top: 13px;
  font-weight: 800;
  color: var(--moss);
}

.footer {
  max-width: 1220px;
  margin: 0 auto;
  padding: 44px 24px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer strong {
  color: var(--moss);
}

@media (max-width: 1080px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 14px;
    border-radius: 22px;
    background: var(--butter);
    border: 1px solid var(--line);
    box-shadow: 0 22px 60px rgba(73, 56, 42, 0.16);
  }

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

  .nav-links a {
    width: 100%;
    padding: 12px 8px;
  }

  .hero,
  .intro-layout,
  .boxes-layout,
  .self-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-photo,
  .intro-photo,
  .box-photo,
  .self-photo {
    min-height: 430px;
  }

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

  .contact-layout {
    padding: 32px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 68px 20px;
  }

  .nav {
    padding: 16px 20px;
  }

  .hero {
    padding: 44px 20px 66px;
    gap: 36px;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 40px;
  }

  .hero-description,
  .intro-text p,
  .section-heading p,
  .box-copy p,
  .self-copy p,
  .closing-card p,
  .contact-copy p {
    font-size: 18px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .product-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .product-image {
    min-height: 240px;
  }

  .footer {
    flex-direction: column;
  }
}


/* Readability refinement: softer farm style without cramped letters */
h1, h2, h3, .logo, .farm-label strong {
  font-family: "Lora", Georgia, serif;
  letter-spacing: -0.012em;
  font-kerning: normal;
}

h1 {
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.08;
  max-width: 780px;
}

h2 {
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.14;
}

h3 {
  font-size: 23px;
  line-height: 1.2;
}

.logo {
  font-size: 27px;
  line-height: 1.05;
}

.hero-description {
  font-size: 20px;
  line-height: 1.65;
}

.intro-text p,
.section-heading p,
.box-copy p,
.self-copy p,
.closing-card p,
.contact-copy p {
  font-size: 18px;
  line-height: 1.7;
}

.product-info h3 {
  margin-bottom: 10px;
}

@media (max-width: 640px) {
  h1 {
    font-size: 40px;
    line-height: 1.1;
  }

  h2 {
    font-size: 31px;
    line-height: 1.16;
  }
}
