:root {
  --ink: #142315;
  --green: #3f7428;
  --green-dark: #1f4f18;
  --orange: #e86f05;
  --cream: #faf5ea;
  --line: #d9cba5;
  --farm-scale: 1;
  --farm-width: calc(1024px * var(--farm-scale));
  --farm-offset: max(0px, calc((100vw - var(--farm-width)) / 2));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.farmers-page {
  margin: 0;
  background: #fbf6ec;
  color: var(--ink);
  font-family: "Nunito Sans", Arial, sans-serif;
}

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

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

.farm-wrap {
  width: var(--farm-width);
  max-width: calc(100vw - 38px);
  margin: 0 auto;
}

.farm-header {
  position: relative;
  z-index: 10;
  background: linear-gradient(180deg, #fffaf0 0%, rgba(255, 250, 240, 0.92) 100%);
}

.farm-nav {
  display: flex;
  align-items: center;
  gap: calc(32px * var(--farm-scale));
  height: calc(84px * var(--farm-scale));
}

.farm-brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: calc(12px * var(--farm-scale));
  width: calc(278px * var(--farm-scale));
}

.farm-brand img {
  width: calc(55px * var(--farm-scale));
  height: calc(55px * var(--farm-scale));
  flex: 0 0 auto;
}

.farm-brand strong {
  display: block;
  color: #20461d;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: calc(32px * var(--farm-scale));
  font-weight: 700;
  line-height: 0.9;
}

.farm-brand strong span {
  color: var(--orange);
}

.farm-brand em {
  display: block;
  margin-top: calc(4px * var(--farm-scale));
  color: #234019;
  font-size: calc(12px * var(--farm-scale));
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.farm-menu {
  display: flex;
  align-items: center;
  gap: calc(34px * var(--farm-scale));
  margin-left: auto;
  color: #0d1b12;
  font-size: calc(15px * var(--farm-scale));
  font-weight: 700;
  white-space: nowrap;
}

.farm-menu a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.farm-join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(93px * var(--farm-scale));
  height: calc(37px * var(--farm-scale));
  border-radius: 6px;
  background: linear-gradient(180deg, #3d7228 0%, #245a18 100%);
  color: #fffdf4;
  font-size: calc(14px * var(--farm-scale));
  font-weight: 800;
  white-space: nowrap;
}

.farm-hero {
  position: relative;
  min-height: calc(502px * var(--farm-scale));
  overflow: hidden;
  background:
    linear-gradient(90deg, #fbf7ef 0%, rgba(251, 247, 239, 0.98) 34%, rgba(251, 247, 239, 0.72) 51%, rgba(251, 247, 239, 0.12) 70%),
    radial-gradient(circle at 45% 38%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 34%),
    #fbf6ec;
}

.farm-hero-photo {
  position: absolute;
  top: calc(12px * var(--farm-scale));
  right: var(--farm-offset);
  z-index: 0;
  width: calc(520px * var(--farm-scale));
  height: calc(510px * var(--farm-scale));
  background: url("assets/farmers-hero.png") center center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 100%);
}

.farm-hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(12px * var(--farm-scale));
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: calc(11px * var(--farm-scale));
  color: #102016;
  font-size: calc(13px * var(--farm-scale));
  font-weight: 700;
}

.breadcrumb span {
  color: #4e6b44;
  font-size: calc(20px * var(--farm-scale));
  line-height: 1;
}

.breadcrumb strong {
  font-weight: 800;
}

.hero-text {
  width: calc(464px * var(--farm-scale));
  margin-top: calc(26px * var(--farm-scale));
}

.hero-text h1 {
  margin: 0;
  color: #173b1b;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: calc(48px * var(--farm-scale));
  font-weight: 700;
  line-height: 0.98;
}

.hero-text p {
  width: calc(498px * var(--farm-scale));
  margin: calc(20px * var(--farm-scale)) 0 0;
  color: #17231a;
  font-size: calc(15.5px * var(--farm-scale));
  line-height: 1.48;
}

.hero-metrics {
  display: grid;
  grid-template-columns: calc(88px * var(--farm-scale)) calc(166px * var(--farm-scale)) calc(172px * var(--farm-scale));
  gap: calc(25px * var(--farm-scale));
  width: calc(480px * var(--farm-scale));
  margin-top: calc(34px * var(--farm-scale));
}

.hero-metrics article {
  position: relative;
}

.hero-metrics article + article::before {
  position: absolute;
  top: calc(7px * var(--farm-scale));
  bottom: calc(28px * var(--farm-scale));
  left: calc(-13px * var(--farm-scale));
  width: 1px;
  background: #cfc6ad;
  content: "";
}

.metric-icon {
  display: block;
  width: calc(45px * var(--farm-scale));
  height: calc(45px * var(--farm-scale));
  color: var(--green);
}

.metric-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.hero-metrics h3 {
  margin: calc(8px * var(--farm-scale)) 0 calc(5px * var(--farm-scale));
  color: #173b1b;
  font-size: calc(14.5px * var(--farm-scale));
  font-weight: 800;
  line-height: 1.24;
}

.hero-metrics p {
  margin: 0;
  font-size: calc(12.5px * var(--farm-scale));
  line-height: 1.45;
}

.hero-buttons {
  display: flex;
  gap: calc(18px * var(--farm-scale));
  margin-top: calc(24px * var(--farm-scale));
}

.farm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: calc(40px * var(--farm-scale));
  border-radius: 6px;
  font-size: calc(14.5px * var(--farm-scale));
  font-weight: 800;
}

.farm-button.primary {
  width: calc(177px * var(--farm-scale));
  background: linear-gradient(180deg, #42792c 0%, #286119 100%);
  color: #fffdf4;
}

.farm-button.secondary {
  width: calc(134px * var(--farm-scale));
  border: 1px solid #4b7d35;
  background: rgba(255, 255, 255, 0.42);
  color: #2b5f1c;
}

.video-panel {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: calc(512px * var(--farm-scale)) 1fr;
  gap: calc(30px * var(--farm-scale));
  min-height: calc(344px * var(--farm-scale));
  margin-top: calc(0px * var(--farm-scale));
  padding: calc(21px * var(--farm-scale)) calc(22px * var(--farm-scale)) calc(28px * var(--farm-scale));
  border: 1px solid #e6cfa1;
  border-radius: 10px 10px 0 0;
  background:
    radial-gradient(circle at 58% 50%, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0) 42%),
    #fbf6ec;
}

.video-thumb {
  position: relative;
  display: block;
  width: 100%;
  height: calc(293px * var(--farm-scale));
  overflow: hidden;
  border: 0;
  border-radius: 5px;
  background:
    linear-gradient(180deg, rgba(255, 245, 216, 0.18), rgba(0, 0, 0, 0.22) 70%, rgba(0, 0, 0, 0.72) 100%),
    url("assets/hero-landscape.png") center center / cover no-repeat;
  box-shadow: 0 1px 1px rgba(22, 30, 18, 0.14);
  cursor: pointer;
  padding: 0;
}

.video-thumb iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-question {
  position: absolute;
  top: calc(54px * var(--farm-scale));
  left: 0;
  right: 0;
  color: #173b1b;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: calc(27px * var(--farm-scale));
  font-weight: 700;
  line-height: 1.02;
  text-align: center;
  text-shadow: 0 1px 3px rgba(255, 246, 226, 0.9);
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: calc(58px * var(--farm-scale));
  height: calc(58px * var(--farm-scale));
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(51, 55, 58, 0.82);
  color: #fff;
  font-size: calc(27px * var(--farm-scale));
  line-height: 1;
  text-indent: calc(4px * var(--farm-scale));
}

.video-controls {
  position: absolute;
  right: calc(14px * var(--farm-scale));
  bottom: calc(12px * var(--farm-scale));
  left: calc(14px * var(--farm-scale));
  display: grid;
  grid-template-columns: 1fr auto auto auto auto auto auto auto;
  align-items: center;
  gap: calc(14px * var(--farm-scale));
  color: #fff;
  font-size: calc(13px * var(--farm-scale));
  font-style: normal;
  font-weight: 700;
}

.video-controls i {
  position: absolute;
  right: 0;
  bottom: calc(31px * var(--farm-scale));
  left: 0;
  height: calc(4px * var(--farm-scale));
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.video-controls i::before {
  display: block;
  width: 2%;
  height: 100%;
  border-radius: 999px;
  background: var(--orange);
  content: "";
}

.video-controls b,
.video-controls small,
.video-controls em {
  position: relative;
  z-index: 1;
  font-style: normal;
}

.video-controls em {
  min-width: calc(168px * var(--farm-scale));
}

.video-copy {
  padding-top: calc(2px * var(--farm-scale));
}

.video-copy h2 {
  display: flex;
  align-items: center;
  gap: calc(12px * var(--farm-scale));
  margin: 0 0 calc(13px * var(--farm-scale));
  color: #27231e;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: calc(24px * var(--farm-scale));
  font-weight: 700;
  line-height: 1.05;
}

.video-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(31px * var(--farm-scale));
  height: calc(26px * var(--farm-scale));
  color: var(--green);
}

.video-title-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.video-copy p,
.video-copy li {
  color: #17231a;
  font-size: calc(13px * var(--farm-scale));
  line-height: 1.52;
}

.video-copy p {
  width: calc(342px * var(--farm-scale));
  margin: 0 0 calc(13px * var(--farm-scale));
}

.video-copy ul {
  display: grid;
  gap: calc(8px * var(--farm-scale));
  margin: 0 0 calc(18px * var(--farm-scale));
  padding: 0;
  list-style: none;
}

.video-copy li {
  position: relative;
  padding-left: calc(22px * var(--farm-scale));
}

.video-copy li::before {
  position: absolute;
  top: calc(2px * var(--farm-scale));
  left: 0;
  display: grid;
  place-items: center;
  width: calc(14px * var(--farm-scale));
  height: calc(14px * var(--farm-scale));
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: calc(9px * var(--farm-scale));
  font-weight: 900;
  content: "✓";
}

.play-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(9px * var(--farm-scale));
  width: calc(145px * var(--farm-scale));
  height: calc(37px * var(--farm-scale));
  border: 1px solid #3f7428;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.48);
  color: #234b18;
  cursor: pointer;
  font-size: calc(13px * var(--farm-scale));
  font-weight: 800;
  font-family: inherit;
}

.farm-content {
  padding: 0 calc(16px * var(--farm-scale)) calc(18px * var(--farm-scale));
  border-right: 1px solid #e6cfa1;
  border-bottom: 1px solid #e6cfa1;
  border-left: 1px solid #e6cfa1;
  border-radius: 0 0 10px 10px;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0) 44%),
    #fbf6ec;
}

.farm-section-title {
  padding-top: calc(9px * var(--farm-scale));
  text-align: center;
}

.farm-section-title h2 {
  margin: 0;
  color: #24221e;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: calc(27px * var(--farm-scale));
  font-weight: 700;
  line-height: 1;
}

.farm-section-title div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(8px * var(--farm-scale));
  margin-top: calc(8px * var(--farm-scale));
  color: var(--green);
}

.farm-section-title span {
  width: calc(36px * var(--farm-scale));
  height: 1px;
  background: #b7c795;
}

.farm-section-title em {
  font-style: normal;
  font-size: calc(17px * var(--farm-scale));
}

.farmer-benefits {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: calc(12px * var(--farm-scale));
  margin-top: calc(12px * var(--farm-scale));
}

.farmer-benefits article {
  min-height: calc(255px * var(--farm-scale));
  padding: calc(14px * var(--farm-scale)) calc(16px * var(--farm-scale));
  border: 1px solid #d6c894;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.18);
  text-align: center;
}

.circle {
  display: grid;
  place-items: center;
  width: calc(72px * var(--farm-scale));
  height: calc(72px * var(--farm-scale));
  margin: 0 auto calc(12px * var(--farm-scale));
  border-radius: 50%;
  color: #fff;
}

.circle.green {
  background: linear-gradient(180deg, #5b913a, #2c6a1e);
}

.circle.orange {
  background: linear-gradient(180deg, #f69213, #e66a00);
}

.circle svg {
  width: calc(40px * var(--farm-scale));
  height: calc(40px * var(--farm-scale));
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
}

.farmer-benefits h3 {
  margin: 0 0 calc(11px * var(--farm-scale));
  color: var(--green);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: calc(21px * var(--farm-scale));
  font-weight: 700;
  line-height: 1.05;
}

.farmer-benefits .orange-card h3 {
  color: var(--orange);
}

.farmer-benefits p {
  margin: 0;
  color: #171f17;
  font-size: calc(12px * var(--farm-scale));
  line-height: 1.45;
}

.steps-title {
  padding-top: calc(18px * var(--farm-scale));
}

.farm-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: calc(12px * var(--farm-scale));
  margin-top: calc(12px * var(--farm-scale));
}

.farm-steps article {
  display: grid;
  grid-template-columns: calc(76px * var(--farm-scale)) 1fr;
  gap: calc(8px * var(--farm-scale));
  align-items: center;
  min-width: 0;
}

.farm-steps h3 {
  margin: 0 0 calc(4px * var(--farm-scale));
  color: #142315;
  font-size: calc(12.5px * var(--farm-scale));
  font-weight: 900;
  line-height: 1.15;
}

.farm-steps p {
  margin: 0;
  color: #17231a;
  font-size: calc(10.6px * var(--farm-scale));
  line-height: 1.38;
}

.step-icon {
  display: block;
  width: calc(67px * var(--farm-scale));
  height: calc(67px * var(--farm-scale));
  border: 1px solid #d9d7b8;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.28);
  background-position: center;
  background-repeat: no-repeat;
  background-size: calc(42px * var(--farm-scale)) calc(42px * var(--farm-scale));
}

.step-icon.basket {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%233f7428' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 24h28l-3 18H15z'/%3E%3Cpath d='M18 24c0-7 4-11 8-11s8 4 8 11'/%3E%3Cpath d='M16 31h22'/%3E%3C/g%3E%3Ccircle cx='18' cy='20' r='4' fill='%23e86f05'/%3E%3Ccircle cx='27' cy='19' r='4' fill='%23e86f05'/%3E%3Ccircle cx='35' cy='21' r='4' fill='%23e86f05'/%3E%3C/svg%3E");
}

.step-icon.list {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%233f7428' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 8h22v36H15z'/%3E%3Cpath d='M20 17l3 3 6-7'/%3E%3Cpath d='M20 27l3 3 6-7'/%3E%3Cpath d='M20 37l3 3 6-7'/%3E%3C/g%3E%3C/svg%3E");
}

.step-icon.truck {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%233f7428' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h25v17H9z'/%3E%3Cpath d='M34 23h7l4 6v6H34z'/%3E%3Ccircle cx='18' cy='38' r='3'/%3E%3Ccircle cx='39' cy='38' r='3'/%3E%3Cpath d='M22 24c-4-5-8-4-10-3 1 5 5 7 10 6'/%3E%3C/g%3E%3C/svg%3E");
}

.step-icon.euro {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23e86f05' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 30c7-6 15-8 24-4'/%3E%3Cpath d='M11 40h26l5-10'/%3E%3Ccircle cx='31' cy='17' r='9'/%3E%3Cpath d='M34 13c-6-2-10 6-3 9'/%3E%3Cpath d='M27 17h9'/%3E%3C/g%3E%3C/svg%3E");
}

.step-icon.growth {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%233f7428' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 38h32'/%3E%3Cpath d='M14 34l8-9 7 5 10-15'/%3E%3Cpath d='M35 15h6v6'/%3E%3Cpath d='M29 33c0-8 5-14 12-17'/%3E%3Cpath d='M29 33c-6-6-11-7-17-5'/%3E%3C/g%3E%3Ccircle cx='20' cy='36' r='6' fill='none' stroke='%23e86f05' stroke-width='3'/%3E%3Cpath d='M22 32c-4-1-6 5-1 7' fill='none' stroke='%23e86f05' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.farm-cta {
  display: grid;
  grid-template-columns: calc(160px * var(--farm-scale)) 1fr calc(284px * var(--farm-scale));
  align-items: center;
  min-height: calc(78px * var(--farm-scale));
  margin-top: calc(24px * var(--farm-scale));
  padding: 0 calc(30px * var(--farm-scale));
  border-radius: 7px;
  background:
    radial-gradient(circle at 58% 50%, rgba(84, 125, 48, 0.34), rgba(84, 125, 48, 0) 46%),
    linear-gradient(90deg, #1f5524, #214d1c);
  color: #fff;
}

.cta-logo {
  display: grid;
  place-items: center;
  width: calc(68px * var(--farm-scale));
  height: calc(68px * var(--farm-scale));
  overflow: hidden;
}

.cta-logo img {
  width: calc(86px * var(--farm-scale));
  max-width: none;
  filter: saturate(0) brightness(1.75);
}

.farm-cta p {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: calc(22px * var(--farm-scale));
  font-weight: 700;
  line-height: 1.1;
}

.farm-cta a {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(164px * var(--farm-scale));
  height: calc(39px * var(--farm-scale));
  border-radius: 6px;
  background: #fffaf0;
  color: #1b3919;
  font-size: calc(14px * var(--farm-scale));
  font-weight: 800;
}

@media (min-width: 1180px) {
  :root {
    --farm-scale: 1.08;
  }
}

@media (min-width: 1360px) {
  :root {
    --farm-scale: 1.14;
  }
}

@media (min-width: 1560px) {
  :root {
    --farm-scale: 1.2;
  }
}

@media (max-width: 900px) {
  :root {
    --farm-scale: 1;
  }

  .farm-wrap {
    width: calc(100vw - 32px);
  }

  .farm-nav {
    height: auto;
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .farm-brand {
    width: 242px;
  }

  .farm-menu {
    order: 3;
    width: 100%;
    gap: 18px;
    overflow-x: auto;
  }

  .farm-hero {
    min-height: auto;
    padding-bottom: 30px;
  }

  .farm-hero-photo {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: 420px;
    margin-top: 18px;
    border-radius: 8px;
  }

  .hero-text,
  .hero-text p,
  .hero-metrics {
    width: 100%;
  }

  .hero-metrics,
  .video-panel,
  .farmer-benefits,
  .farm-steps,
  .farm-cta {
    grid-template-columns: 1fr;
  }

  .hero-metrics article + article::before {
    display: none;
  }

  .video-panel {
    gap: 22px;
  }

  .video-copy p {
    width: auto;
  }

  .farm-cta {
    justify-items: center;
    gap: 14px;
    padding: 20px;
    text-align: center;
  }

  .farm-cta a {
    justify-self: center;
  }
}
