/* Know Your Farmer - Nero design language.
   White ground, Inter, zero radius, hairline rules, heavy tight headlines,
   full-bleed video bands, scroll-reveal motion. */
:root {
  --paper: #ffffff; --ink: rgba(0,0,0,.86); --ink-soft: rgba(0,0,0,.55);
  --line: rgba(0,0,0,.14); --dark: #121212; --tile: #efefef; --green: #1e5631;
  --sans: 'Inter', -apple-system, 'Helvetica Neue', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; border-radius: 0 !important; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans);
       -webkit-font-smoothing: antialiased; opacity: 0; transition: opacity .35s; }
body.on { opacity: 1; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
em { font-style: normal; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* Motion */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
.rv.in { opacity: 1; transform: none; }
.rv2 { transition-delay: .12s; } .rv3 { transition-delay: .24s; } .rv4 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .marquee-inner { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* Header */
header { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 900; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 18px; }
.mark { font-weight: 800; font-size: 16px; letter-spacing: -.03em; white-space: nowrap; }
.mark em { color: inherit; }
.nav-links { display: flex; gap: 30px; font-size: 13px; font-weight: 500; color: var(--ink-soft);
             text-transform: uppercase; letter-spacing: .07em; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { background: var(--dark); color: #fff; padding: 11px 22px; font-size: 12px; font-weight: 500;
           letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
.nav-cta:hover { background: #000; }

/* Type */
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
h1 { font-weight: 800; font-size: clamp(44px, 6.6vw, 88px); line-height: 1; letter-spacing: -.04em;
     margin-top: 20px; max-width: 18ch; }
h2 { font-weight: 800; font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -.035em; line-height: 1.05; }
.lede { margin-top: 26px; max-width: 54ch; font-size: 18px; line-height: 1.7; color: var(--ink-soft); }
.lede strong { color: var(--ink); font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; height: 52px; padding: 0 30px; background: var(--dark);
       color: #fff; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
       border: 0; cursor: pointer; font-family: var(--sans); transition: background .2s; }
.btn:hover { background: #000; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn.ghost:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn.white { background: #fff; color: var(--dark); }
.btn.white:hover { background: var(--tile); }

/* Video hero */
.vhero { position: relative; height: 88vh; min-height: 540px; display: flex; align-items: flex-end;
         color: #fff; overflow: hidden; background: var(--dark); }
.vhero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vhero::after { content: ''; position: absolute; inset: 0;
                background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.18) 50%, rgba(0,0,0,.3) 100%); }
.vhero-inner { position: relative; z-index: 2; width: 100%; padding-bottom: 64px; }
.vhero .eyebrow { color: rgba(255,255,255,.75); }
.vhero .lede { color: rgba(255,255,255,.85); }
.vhero .lede strong { color: #fff; }
.hero-cta { margin-top: 34px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* Plain hero (inner pages) */
.hero { padding: 88px 0 72px; border-bottom: 1px solid var(--line); }

/* Marquee */
.marquee { border-bottom: 1px solid var(--line); overflow: hidden; white-space: nowrap; padding: 15px 0; background: var(--paper); }
.marquee-inner { display: inline-block; animation: slide 28s linear infinite; font-weight: 800;
                 font-size: 17px; letter-spacing: -.01em; text-transform: uppercase; color: var(--ink); }
.marquee-inner b { color: var(--ink-soft); font-weight: 400; margin: 0 20px; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Media bands */
.band { height: 420px; overflow: hidden; background: var(--tile); border-bottom: 1px solid var(--line); }
.band img, .band video, .band-3 img, .band-3 video { width: 100%; height: 100%; object-fit: cover;
  transition: transform 6s cubic-bezier(.2,.6,.2,1); }
.band:hover img, .band:hover video { transform: scale(1.04); }
.band-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; height: 320px; border-bottom: 1px solid var(--line); }
.band-3 > div { overflow: hidden; position: relative; }
.band-3 > div:hover img, .band-3 > div:hover video { transform: scale(1.05); }
.band-tag { position: absolute; left: 16px; bottom: 14px; z-index: 2; color: #fff; font-size: 12px;
            font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,.6); }

/* Sections */
.sec { padding: 80px 0; border-bottom: 1px solid var(--line); }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.sec-note { font-size: 14px; color: var(--ink-soft); }

/* Ledger rows */
.rows { margin-top: 42px; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 64px 1fr 1.3fr auto; gap: 28px; align-items: baseline;
       padding: 25px 0; border-bottom: 1px solid var(--line); transition: padding-left .25s; }
.row:hover { padding-left: 10px; }
.row-n { font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--ink-soft); }
.row-t { font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.row-p { font-size: 15px; line-height: 1.65; color: var(--ink-soft); }
.row-a { font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
         border-bottom: 1px solid var(--ink); padding-bottom: 3px; white-space: nowrap; }
.row-a:hover { color: var(--ink-soft); border-color: var(--ink-soft); }

/* Steps */
.steps { margin-top: 42px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 34px; }
.step { border-top: 1px solid var(--line); padding-top: 20px; }
.step-n { font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--ink-soft); }
.step-t { margin-top: 12px; font-weight: 800; font-size: 19px; letter-spacing: -.025em; }
.step-p { margin-top: 10px; font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); }

/* Proof / map */
.proof-grid { margin-top: 42px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.map-box { border: 1px solid var(--line); background: var(--tile); }
#miniMap { height: 420px; }
.count { font-weight: 800; font-size: clamp(64px, 8vw, 120px); letter-spacing: -.05em; line-height: 1; }
.count small { display: block; font-size: 15px; font-weight: 400; color: var(--ink-soft);
               margin-top: 12px; letter-spacing: 0; line-height: 1.6; }
.names { margin-top: 28px; font-size: 14px; font-weight: 500; letter-spacing: .02em;
         line-height: 2.1; color: var(--ink-soft); text-transform: uppercase; }

/* Dark quote band */
.quote { padding: 100px 0; border-bottom: 1px solid var(--line); background: var(--dark); color: #fff; text-align: center; }
.quote p { font-weight: 800; font-size: clamp(26px, 3.6vw, 46px); line-height: 1.15;
           letter-spacing: -.035em; max-width: 26ch; margin: 0 auto; }
.quote p em { color: rgba(255,255,255,.55); }

/* CTA band */
.cta-band { padding: 92px 0; text-align: center; }
.cta-band h2 { max-width: 24ch; margin: 0 auto; }
.cta-band .lede { margin: 22px auto 0; text-align: center; }
.cta-band .btn { margin-top: 34px; }
.cta-video { position: relative; color: #fff; overflow: hidden; background: var(--dark); border-bottom: 1px solid var(--line); }
.cta-video > video, .cta-video > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-video::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.66); }
.cta-video .wrap { position: relative; z-index: 2; }
.cta-video .lede { color: rgba(255,255,255,.85); }

/* Service detail pages */
.svc-hero { padding: 80px 0 60px; border-bottom: 1px solid var(--line); }
.svc-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.list { margin-top: 34px; border-top: 1px solid var(--line); }
.list li { list-style: none; display: grid; grid-template-columns: 26px 1fr; gap: 14px;
           padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.55; }
.list li::before { content: '✓'; color: var(--green); font-weight: 700; }
.why-box { border: 1px solid var(--line); background: var(--tile); padding: 34px; }
.why-box h3 { font-weight: 800; font-size: 21px; letter-spacing: -.03em; }
.why-box p { margin-top: 14px; font-size: 15px; line-height: 1.7; color: var(--ink-soft); }

/* Forms */
.form { max-width: 640px; }
.f-field { margin-bottom: 22px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.f-field label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em;
                 text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.f-field .opt { font-weight: 400; text-transform: none; letter-spacing: 0; }
.f-field input, .f-field textarea {
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink);
  padding: 14px 16px; border: 1px solid var(--line); background: #fff; }
.f-field textarea { min-height: 130px; resize: vertical; }
.f-field input:focus, .f-field textarea:focus { outline: none; border-color: var(--ink); }
.f-check { display: grid; grid-template-columns: 20px 1fr; gap: 14px; align-items: start;
           border: 1px solid var(--line); padding: 18px; margin-bottom: 12px; cursor: pointer; transition: border-color .2s; }
.f-check:hover { border-color: var(--ink); }
.f-check input { width: 18px; height: 18px; margin-top: 2px; }
.f-check-body { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.f-check-body strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 3px; }

/* Full map page */
.map-page { border-bottom: 1px solid var(--line); }
#bigMap { height: 74vh; min-height: 480px; }
.legend { display: flex; gap: 26px; align-items: center; padding: 18px 0; font-size: 14px; color: var(--ink-soft); flex-wrap: wrap; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50% !important; margin-right: 8px; vertical-align: -1px; }
.dot.v { background: var(--green); }
.dot.l { background: #9a958a; opacity: .7; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 44px 0 60px; font-size: 13px; color: var(--ink-soft); }
.foot-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: baseline; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 12px; font-weight: 500;
              letter-spacing: .07em; text-transform: uppercase; }
.foot-links a:hover { color: var(--ink); }
.foot-row .shop-link { border-bottom: 1px solid var(--line); }
.disc { margin-top: 22px; max-width: 78ch; line-height: 1.6; font-size: 12px; }

/* Mobile */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .vhero { height: 80vh; }
  .row { grid-template-columns: 1fr; gap: 8px; }
  .row:hover { padding-left: 0; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { margin-top: 20px; }
  .proof-grid { grid-template-columns: 1fr; }
  #miniMap { height: 320px; }
  .band { height: 240px; }
  .band-3 { grid-template-columns: 1fr; height: auto; }
  .band-3 > div { height: 210px; }
  .svc-grid { grid-template-columns: 1fr; gap: 36px; }
  .f-row { grid-template-columns: 1fr; gap: 0; }
  .hero, .svc-hero { padding: 56px 0 44px; }
  .sec, .cta-band { padding: 54px 0; }
  .quote { padding: 64px 0; }
  .btn { width: 100%; justify-content: center; }
  .hero-cta .btn { width: auto; }
}
