:root {
  --green: #2f4a3f;        /* logo ring */
  --green-dark: #1d2f28;
  --green-deep: #15221d;
  --gold: #d9a441;         /* accent */
  --gold-dark: #c08d2c;
  --brown: #6b4630;        /* cardamom pod */
  --cream: #faf8f2;
  --alt: #f0ece1;
  --text: #1f2421;
  --muted: #5d625e;
  --line: #ddd6c6;
  --heading: "Plus Jakarta Sans", system-ui, sans-serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent; /* no grey flash on tap; buttons have their own :active */
  -webkit-text-size-adjust: 100%;           /* no font inflation in landscape */
}
section[id], #form { scroll-margin-top: 96px; } /* keep headings clear of the sticky header */

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
}

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--green); touch-action: manipulation; } /* no double-tap-zoom delay on taps */

h1, h2, h3, h4 {
  font-family: var(--heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--green-dark);
  margin: 0 0 0.5em;
  text-wrap: balance; /* no lone last word */
}
h1 { font-size: clamp(2.2rem, 4.8vw, 3.9rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  /* stay clear of the notch in landscape (needs viewport-fit=cover) */
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 0.8em;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9em 1.7em;
  border: 2px solid transparent;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 120ms ease-out;
  user-select: none;            /* long-press shouldn't select the label */
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.btn:active { transform: scale(0.97); } /* press feedback when the finger lands */
.btn-primary { background: var(--gold); color: var(--green-deep); }
.btn-ghost { border-color: #fff; color: #fff; }
button.btn { font: inherit; font-weight: 600; cursor: pointer; }
.btn-small { padding: 0.55em 1.1em; font-size: 0.92rem; white-space: nowrap; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 248, 242, 0.96);
  box-shadow: 0 1px 0 var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.brand img { width: 52px; height: 52px; }
.brand strong {
  display: block;
  font-family: var(--heading);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--green-dark);
}
.brand small { display: block; font-size: 0.8rem; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 22px; white-space: nowrap; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav a[aria-current="page"]:not(.btn) { color: var(--brown); font-weight: 700; }

/* Menu button, shown on tablets and phones */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: none;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}
.nav-toggle span { display: block; height: 2px; background: var(--green-dark); border-radius: 2px; transition: transform 150ms ease-out, opacity 150ms; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero {
  background: var(--green-dark);
  color: #e6e9e4;
  padding: 96px 0 120px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: center;
}
.hero h1 { color: #fff; }
.hero-kicker {
  font-family: var(--heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1em;
}
.lead { font-size: 1.15rem; max-width: 560px; color: #cdd5cf; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero-logo {
  width: 100%;
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.06);
}

/* Full-width photo with a diagonal accent edge */
.banner { position: relative; margin-top: -48px; }
.banner::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 48px;
  background: linear-gradient(to right, var(--gold) 70%, var(--brown) 70%);
  clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
  transform: translateY(-14px);
}
.banner img {
  position: relative;
  width: 100%;
  height: min(60vw, 560px);
  object-fit: cover;
  clip-path: polygon(0 48px, 100% 0, 100% 100%, 0 100%);
}
.banner figcaption,
.photo figcaption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  background: rgba(21, 34, 29, 0.85);
  color: #fff;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 4px;
}

/* Gold info strip */
.strip { background: var(--gold); color: var(--green-deep); }
.strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.strip p { margin: 0; font-size: 1.05rem; }
.strip a { color: var(--green-deep); font-weight: 700; white-space: nowrap; }

/* Sections */
.section { padding: 104px 0; }
.section-alt { background: var(--alt); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split-top { align-items: start; }
.split-stretch { align-items: stretch; }
.photo.photo-wide img { aspect-ratio: 4 / 3.3; } /* landscape shots, e.g. the labelled sack, keep the full label */
.photo.photo-fill img { height: 100%; min-height: 320px; aspect-ratio: auto; } /* photo matches the text column's height */
.split-stretch > div > :last-child { margin-bottom: 0; }

/* One-row fact strip */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 24px;
  margin: 64px 0 0;
  padding-top: 24px;
  border-top: 2px solid var(--green-dark);
}
.facts dt {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 6px;
}
.facts dd { margin: 0; font-size: 1.1rem; font-weight: 700; line-height: 1.35; color: var(--green-dark); }
.split-reverse > .photo { order: -1; }

.photo { position: relative; }
.photo img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  border-radius: 4px;
}

.highlight {
  border-left: 4px solid var(--gold);
  padding-left: 18px;
  font-weight: 500;
  color: var(--green-dark);
}
.note { color: var(--muted); font-size: 0.95rem; }
.intro { max-width: 640px; color: var(--muted); }

/* Product spec */
.spec { margin: 28px 0; border-top: 2px solid var(--green-dark); }
.spec div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.spec dt { font-weight: 600; color: var(--green-dark); }
.spec dd { margin: 0; text-align: right; }

/* Markets list */
.markets { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--green-dark); }
.markets li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.market-name { font-family: var(--heading); font-size: 1.9rem; font-weight: 700; color: var(--green-dark); }
.tag {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--alt);
  color: var(--green);
  white-space: nowrap;
}
.tag-open { background: var(--gold); color: var(--green-deep); }

/* Feature columns with accent bar */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
  margin-top: 48px;
}
.feature { border-top: 4px solid var(--gold); padding-top: 22px; }
.feature p { margin: 0; color: var(--muted); }
.features-2 { grid-template-columns: repeat(2, 1fr); }

/* Buyer FAQ */
.faq { max-width: 820px; margin-top: 32px; border-top: 2px solid var(--green-dark); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--green-dark);
  cursor: pointer;
  list-style: none;
  touch-action: manipulation;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brown); }
.faq details[open] summary::after { content: "2"; }
.faq details p { margin: 0 0 20px; color: var(--muted); max-width: 720px; }

/* Call to action band */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--green-dark);
  color: #dfe5e0;
  padding: 104px 0;
}
.cta::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 100%;
  background: linear-gradient(to right, var(--gold) 50%, var(--brown) 50%);
  clip-path: polygon(70% 0, 100% 0, 100% 100%, 10% 100%);
  opacity: 0.9;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-right: 180px;
}
.cta h2, .cta h3 { color: #fff; }
.cta-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 32px;
}
.checklist { list-style: none; padding: 0; margin: 0 0 22px; }
.checklist li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.4fr;
  gap: 20px;
  margin-top: 40px;
}
.contact-item {
  background: var(--alt);
  border-top: 4px solid var(--green);
  border-radius: 4px;
  padding: 26px 24px;
  overflow-wrap: anywhere;
}
.contact-item span {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brown);
  margin-bottom: 6px;
}
.contact-item a, .contact-item strong { font-weight: 600; font-size: 1.05rem; color: var(--green-dark); text-decoration: none; }

/* Footer */
.site-footer { background: var(--green-deep); color: #b9c3bc; padding: 72px 0 0; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.site-footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 1em; }
.site-footer a, .site-footer .footer-grid span:not(.brand span) { display: block; color: #b9c3bc; text-decoration: none; margin-bottom: 8px; }
.brand-footer { margin-bottom: 18px; }
.brand-footer strong { color: #fff; }
.brand-footer small { color: #8f9b93; }
.footer-bottom {
  margin-top: 56px;
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #8f9b93;
}

/* Inner page header */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--green-dark);
  color: #cdd5cf;
  padding: 80px 0 104px;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 32px;
  background: linear-gradient(to right, var(--gold) 70%, var(--brown) 70%);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.3rem); max-width: 860px; }
.page-hero .lead { margin: 0; max-width: 680px; }

.link-arrow {
  display: inline-block;
  margin-top: 6px;
  font-weight: 700;
  color: var(--green-dark);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head h2 { margin-bottom: 0; }

/* Numbered steps */
.steps {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 32px 28px;
  counter-reset: step;
}
.steps li { counter-increment: step; border-top: 4px solid var(--gold); padding-top: 18px; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--brown);
  margin-bottom: 12px;
}
.steps h3 { font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Photo row */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }

/* Pill list */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 24px 0 0; }
.chips li { padding: 8px 18px; border: 1px solid var(--green); border-radius: 999px; font-weight: 600; color: var(--green-dark); }

.checklist-light li { border-bottom-color: var(--line); }

/* Contact page */
.contact-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.contact-stack { display: grid; gap: 16px; margin-top: 28px; }

.form {
  display: grid;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 36px;
}
.form h2 { font-size: 1.6rem; margin-bottom: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 600; color: var(--green-dark); }
.form .optional { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%;
  font: inherit;
  font-size: 16px; /* below 16px iOS zooms the page on focus */
  font-weight: 400;
  color: var(--text);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 14px;
}
.form textarea { resize: vertical; min-height: 150px; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.form button { justify-self: start; }
.form-note { margin: 0; font-size: 0.85rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; } /* spam trap: bots fill it, people never see it */

/* Floating WhatsApp button */
.wa-float {
  position: fixed;
  z-index: 20;
  right: max(20px, env(safe-area-inset-right));
  bottom: calc(80px + env(safe-area-inset-bottom, 0px)); /* sits above the "Powered by Netlify" badge Netlify adds bottom-right */
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 14px;
  background: #16804a;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  transition: transform 120ms ease-out, background 0.2s;
}
.wa-float svg { width: 28px; height: 28px; flex: none; }
.wa-float small { display: block; font-size: 0.8rem; font-weight: 500; opacity: 0.9; }
.wa-float:active { transform: scale(0.97); }
.site-footer { padding-bottom: 72px; } /* room so the WhatsApp button never covers the last line */

/* Hover only for real pointers; on touch it sticks after a tap */
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--gold-dark); }
  .btn-ghost:hover { background: #fff; color: var(--green-dark); }
  .nav a:not(.btn):hover { color: var(--brown); }
  .contact-item a:hover { text-decoration: underline; }
  .site-footer a:hover { color: var(--gold); }
  .link-arrow:hover { color: var(--brown); }
  .wa-float:hover { background: #126b3d; }
}

/* Responsive */
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-top: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
    padding: 8px max(24px, env(safe-area-inset-left)) 24px;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .btn { margin-top: 20px; text-align: center; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .page-hero { padding: 64px 0 88px; }
  .hero { position: relative; overflow: hidden; padding: 72px 0 112px; }
  .hero-inner, .split, .cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-text { position: relative; z-index: 1; }
  /* stacked above the headline the logo just repeats the header's; as a faded watermark it adds depth instead */
  .hero-logo {
    position: absolute;
    top: 50%;
    right: -140px;
    width: 440px;
    transform: translateY(-50%); /* centred behind the headline, not above it */
    opacity: 0.1;
    box-shadow: none;
    pointer-events: none;
  }
  .split-reverse > .photo { order: 0; }
  .photo.photo-fill img { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .cta-inner { padding-right: 24px; }
  .cta::after { width: 90px; opacity: 0.6; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .section, .cta { padding: 72px 0; }
}

@media (max-width: 640px) {
  .container {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .header-inner { min-height: 66px; }
  .brand img { width: 42px; height: 42px; }
  .brand strong { font-size: 1.1rem; white-space: nowrap; }
  .brand small { display: none; }
  /* natural height: a full-screen hero left a dead band above the text on tall phones */
  .hero { padding: 56px 0 104px; } /* bottom: 48px is overlapped by the banner's diagonal edge */
  .hero-logo { width: 380px; right: -150px; }
  .hero-kicker { font-size: 0.95rem; text-wrap: balance; }
  .hero .hero-actions { flex-direction: column; gap: 12px; margin-top: 28px; }
  .hero .hero-actions .btn { width: 100%; padding: 1em; text-align: center; } /* full-width thumb targets */
  .strip-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .features, .features-2, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .cta::after { display: none; }
  .cta-box { padding: 24px; }
  .market-name { font-size: 1.5rem; }
  .markets li { flex-wrap: wrap; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img:last-child { display: none; }
  .form { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .wa-float {
    padding: 10px 16px 10px 12px;
    transition: transform 200ms ease-out, opacity 200ms ease-out, visibility 0s;
  }
  .wa-float.is-tucked {
    opacity: 0;
    visibility: hidden; /* also out of tap and screen-reader reach while hidden */
    transform: translateY(16px);
    transition: transform 200ms ease-out, opacity 200ms ease-out, visibility 0s 200ms;
  }
  .wa-float small { display: none; }
}

/* Breadcrumbs (inner pages) */
.crumbs { background: var(--cream); border-bottom: 1px solid var(--line); font-size: 0.85rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 auto; padding-top: 10px; padding-bottom: 10px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { color: var(--green-dark); text-decoration: underline; }

/* Large vs green cardamom table */
.table-wrap { overflow-x: auto; margin: 28px 0 20px; }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; background: #fff; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--green-dark); color: #fff; }
.compare tbody th { width: 22%; color: var(--green-dark); }

/* Contact form result banner */
.form-status { padding: 14px 16px; border-radius: 8px; background: #e6f0e8; color: var(--green-dark); font-weight: 600; margin: 0 0 18px; }
.form-status.is-error { background: #f8e4de; color: #7a2a14; }
.form-status[hidden] { display: none; }
