@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@500;600;700;800&family=Work+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap');

:root{
  /* Brand colours sampled directly from the Farmers Desk logo */
  --navy: #12428a;
  --navy-deep: #0a2d61;
  --navy-tint: #eaf0f8;
  --green: #74ba4a;
  --green-deep: #558a34;
  --green-tint: #eef6e8;

  --paper: #ffffff;
  --bg: #f5f8fb;
  --ink: #16233a;
  --ink-soft: #55647a;
  --line: #dfe6ee;
  --radius: 6px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

h1, h2, h3{
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--navy);
  margin: 0 0 .5em;
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }

.eyebrow{
  font-family: 'IBM Plex Mono', monospace;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin: 0 0 .7em;
  display: flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before{
  content: "";
  width: 20px;
  height: 3px;
  background: var(--green);
  display: inline-block;
}

.wrap{
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Signature motif: the logo's own diagonal-cut ribbon, reused as a divider */
.ribbon-divider{
  display: flex;
  height: 20px;
  width: 100%;
}
.ribbon-divider span{ flex: 1; }
.ribbon-divider span:nth-child(1){ background: var(--navy-deep); clip-path: polygon(0 0,100% 0,94% 100%,0 100%); }
.ribbon-divider span:nth-child(2){ background: var(--navy); clip-path: polygon(6% 0,100% 0,100% 100%,0 100%); }

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}
.brand img{ height: 42px; width: auto; }
nav.main-nav{ display: flex; align-items: center; gap: 36px; }
nav.main-nav a{
  font-size: .94rem;
  font-weight: 600;
  color: var(--navy);
  position: relative;
}
nav.main-nav a::after{
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0%; height: 2px;
  background: var(--green);
  transition: width .2s ease;
}
nav.main-nav a:hover::after{ width: 100%; }

.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .92rem;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn-primary{ background: var(--green); color: #fff; }
.btn-primary:hover{ background: var(--green-deep); }
.btn-ghost{ border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover{ background: var(--navy); color: #fff; }
.btn-ghost-light{ border-color: rgba(255,255,255,.65); color: #fff; }
.btn-ghost-light:hover{ background: #fff; color: var(--navy); }
.header-cta{ display: flex; align-items: center; gap: 14px; }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 62%);
  color: #fff;
  overflow: hidden;
  padding: 90px 0 0;
}
.hero::after{
  content:"";
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 38%;
  background: linear-gradient(160deg, rgba(116,186,74,.24), transparent 70%);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-grid{
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 44px;
  align-items: center;
  padding-bottom: 64px;
}
.hero .eyebrow{ color: #cfe4bd; }
.hero .eyebrow::before{ background: var(--green); }
.hero h1{
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.15rem);
  line-height: 1.14;
  max-width: 13ch;
}
.hero p.lede{
  color: #d6e0ea;
  font-size: 1.08rem;
  max-width: 46ch;
  margin-bottom: 30px;
}
.hero-actions{ display: flex; gap: 14px; flex-wrap: wrap; }

.hero-figure{
  position: relative;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  padding: 8px;
}
.hero-figure ul{ list-style: none; margin: 0; padding: 22px; display: grid; gap: 16px; }
.hero-figure li{
  display: flex; align-items: center; gap: 14px;
  font-size: .92rem;
  color: #eef2ea;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.hero-figure li:last-child{ border-bottom: none; padding-bottom: 0; }
.hero-figure .ic{
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
}
.hero-figure .ic svg{ width: 17px; height: 17px; stroke: #fff; fill: none; }

/* ---------- Sections ---------- */
section{ padding: 88px 0; }
.section-head{ max-width: 640px; margin-bottom: 48px; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow{ justify-content: center; }
.section-head p{ color: var(--ink-soft); font-size: 1.02rem; }

/* About */
.about{ background: var(--paper); }
.about-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-grid p{ color: var(--ink-soft); margin-bottom: 1em; }
.about-points{ list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.about-points li{
  display: flex; gap: 14px; align-items: flex-start;
  font-size: .96rem;
  background: var(--green-tint);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.about-points li svg{ flex: none; width: 18px; height: 18px; stroke: var(--green-deep); fill: none; margin-top: 2px; }

/* Product categories */
.product-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(18,50,88,.04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.product-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(18,66,138,.12);
  border-color: var(--green);
}
.product-card .icon{
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.product-card .icon svg{ width: 24px; height: 24px; stroke: #fff; fill: none; }
.product-card h3{ font-size: 1.1rem; margin-bottom: 8px; }
.product-card p{ color: var(--ink-soft); font-size: .92rem; margin: 0; }

/* Why choose us */
.why{ background: var(--navy-tint); }
.why-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.why-item{
  background: var(--paper);
  border-radius: var(--radius);
  padding: 26px;
  border-top: 3px solid var(--green);
}
.why-item h3{ font-size: 1.06rem; }
.why-item p{ color: var(--ink-soft); font-size: .94rem; margin: 0; }

/* Location */
.location{ background: var(--paper); }
.location-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.location p{ color: var(--ink-soft); margin-bottom: 1.4em; }
.location-details{ list-style: none; margin: 0 0 28px; padding: 0; }
.location-details li{ display: flex; gap: 14px; align-items: flex-start; }
.location-details .ic{
  flex: none;
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--navy-tint);
  display: flex; align-items: center; justify-content: center;
}
.location-details .ic svg{ width: 20px; height: 20px; stroke: var(--navy); fill: none; }
.location-details .label{ font-family: 'IBM Plex Mono', monospace; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 4px; }
.location-details .value{ font-family: 'Libre Franklin', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--navy); margin: 0; }
.map-frame{
  aspect-ratio: 4 / 3.2;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 14px 28px rgba(18,66,138,.1);
}

/* Contact */
.contact{ background: var(--navy-deep); color: #fff; }
.contact .section-head p{ color: #c3d1de; }
.contact .eyebrow{ color: #a9d68d; }
.contact .eyebrow::before{ background: var(--green); }
.contact-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.contact-card{
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-card .ic{
  flex: none;
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
}
.contact-card .ic svg{ width: 20px; height: 20px; stroke: #fff; fill: none; }
.contact-card .label{ font-family: 'IBM Plex Mono', monospace; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #9fb3c4; margin: 0 0 4px; }
.contact-card a.value, .contact-card p.value{
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  display: block;
}
.contact-card a.value:hover{ color: var(--green); }

/* Footer */
footer{
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 30px 0;
}
footer .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
footer .brand img{ height: 28px; filter: brightness(0) invert(1); }
footer p{ color: #93a7b8; font-size: .85rem; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 880px){
  nav.main-nav{ display: none; }
  .hero-grid{ grid-template-columns: 1fr; }
  .about-grid{ grid-template-columns: 1fr; }
  .product-grid{ grid-template-columns: repeat(2, 1fr); }
  .why-grid{ grid-template-columns: 1fr; }
  .location-grid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px){
  .product-grid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .site-header .wrap{ height: 68px; }
  .brand img{ height: 34px; }
  section{ padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .product-card{ transition: none; }
}

:focus-visible{
  outline: 2px solid var(--green);
  outline-offset: 2px;
}