/* Homepage. Direction A: flat shapes, hard offset shadows, limited palette. */
.defs{position:absolute;width:0;height:0;overflow:hidden}
.home{--red:#C23B2F;--red-d:#8F2A21;--ink:#2f2619;--soft:#5b4e3a;--sheet:#FAF5E8;--edge:#3A2E22;
  max-width:1160px;margin:0 auto;padding:22px 18px 72px;overflow-x:clip}
.home h1,.home h2,.home h3{font-family:"Avenir Next Rounded","Arial Rounded MT Bold",ui-rounded,"Nunito","Trebuchet MS",system-ui,sans-serif;font-weight:800;letter-spacing:-.015em;color:var(--ink)}
.home a{color:#235a3e}
.home a:focus-visible,.h-btn:focus-visible{outline:3px solid #1d6fb8;outline-offset:3px;border-radius:6px}
.home svg{display:block;width:100%;height:auto}
.home svg text{font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.home figure{margin:0}
.home figcaption{font-size:14px;color:var(--soft);margin-top:10px;max-width:56ch}

/* hero */
.hero{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:34px;align-items:center;padding:14px 0 40px}
.hero h1{font-size:clamp(34px,5.2vw,58px);line-height:1.04;margin:0 0 16px;text-wrap:balance}
.hero .lede{font-size:clamp(17px,2vw,20px);line-height:1.5;max-width:44ch;margin:0 0 24px;color:#3d3220}
.cta{margin:0 0 18px}
.cta.center{display:flex;flex-direction:column;align-items:center}
.h-btn{display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:0 34px;border-radius:14px;font:800 22px/1 "Avenir Next Rounded","Arial Rounded MT Bold",ui-rounded,system-ui,sans-serif;text-decoration:none;
  background:var(--red);color:#fff!important;box-shadow:0 5px 0 var(--red-d),5px 9px 0 rgba(58,46,34,.25);transition:transform .08s,box-shadow .08s}
.h-btn:hover{background:#cf4336}
.h-btn:active{transform:translateY(4px);box-shadow:0 1px 0 var(--red-d),2px 4px 0 rgba(58,46,34,.25)}
.cta-note{margin:16px 0 4px;font-weight:700;font-size:16px}
.cta-alt{margin:0;font-size:16px;color:var(--soft)}
.cta-alt a{font-weight:700}
.fine{font-size:15px;color:var(--soft);margin:0}
.scene svg{border-radius:18px;box-shadow:7px 9px 0 rgba(58,46,34,.3)}

/* sheets: paper cut cards, text beside a drawing */
.sheet{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,5fr);gap:34px;align-items:center;background:var(--sheet);border-radius:22px;padding:34px 36px;margin:0 0 26px;box-shadow:7px 9px 0 rgba(58,46,34,.22)}
.sheet.flip{grid-template-columns:minmax(0,5fr) minmax(0,4fr)}
.sheet.flip .sheet-text{order:2}
.sheet h2{font-size:clamp(25px,3.2vw,34px);line-height:1.1;margin:0 0 12px;text-wrap:balance}
.sheet p{margin:0 0 12px;font-size:17px;line-height:1.55;max-width:46ch}
.art svg:not(.year){border-radius:14px;box-shadow:4px 6px 0 rgba(58,46,34,.25)}
.art .year{margin-top:18px}

/* soil cards */
.soils{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.soil{background:#fff;border-radius:14px;padding:10px 10px 12px;box-shadow:3px 4px 0 rgba(58,46,34,.25)}
.soil svg{box-shadow:none!important;border-radius:8px!important;margin-bottom:8px}
.soil h3{font-size:16px;margin:0 0 3px;display:flex;align-items:center;gap:7px}
.soil p{font-size:14px;line-height:1.4;margin:0}
.grade{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:6px;color:#fff;font-size:14px;font-weight:800;flex:none}
.g-a{background:#2E6E4E}.g-c{background:#8A6A1B}.g-d{background:#B03A2E}

/* forecast */
.fc{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;background:#EAF1F5;border-radius:14px;padding:14px 8px;box-shadow:4px 6px 0 rgba(58,46,34,.25)}
.fc-day{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:12.5px;font-variant-numeric:tabular-nums;color:var(--ink)}
.fc-day b{font-size:14px}
.fc-day svg{width:34px;height:34px;box-shadow:none!important;border-radius:0!important}
.fc-day i{display:block;width:70%;max-width:38px;height:7px;border-radius:4px;margin-top:2px}
.fc-day .ok{background:#4F8A32}.fc-day .mid{background:#D6A21E}.fc-day .no{background:#C23B2F}
.fc-day.d1{opacity:1}.fc-day.d2{opacity:.97}.fc-day.d3{opacity:.92}.fc-day.d4{opacity:.84}.fc-day.d5{opacity:.76}.fc-day.d6{opacity:.68}.fc-day.d7{opacity:.6}

/* speed control */
.speed{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;background:#3A2E22;border-radius:16px;padding:10px;box-shadow:4px 6px 0 rgba(58,46,34,.25)}
.sp{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 4px 10px;border-radius:10px;background:#54463A;color:#F4EAD2;font-size:14px;font-weight:700}
.sp svg{width:26px;height:26px;fill:currentColor;box-shadow:none!important;border-radius:0!important}
.sp.on{background:#F2BF3E;color:#2f2619;box-shadow:0 3px 0 #B88A12}

/* closer */
.closer{text-align:center;background:var(--sheet);border-radius:22px;padding:44px 20px 36px;box-shadow:7px 9px 0 rgba(58,46,34,.22);background-image:linear-gradient(#6BA843 0 0),linear-gradient(#E6C66A 0 0),linear-gradient(#B98A5E 0 0);background-size:33.4% 12px,33.4% 12px,33.4% 12px;background-position:0 100%,50% 100%,100% 100%;background-repeat:no-repeat;padding-bottom:50px}
.closer h2{font-size:clamp(28px,4vw,40px);margin:0 0 8px}
.closer p{margin:0 0 22px;font-size:18px}
.closer .cta-alt{margin-top:16px}
.closer .fine{margin-top:22px}

/* motion: a few things drift, nothing demands attention */
@media (prefers-reduced-motion:no-preference){
  .tractor{animation:plow 14s ease-in-out infinite alternate}
  .cloudy{animation:drift 60s linear infinite;transform:translate(-80px,60px)}
  .shimmer{animation:flow 2.4s linear infinite}
  .ripple{animation:ripple 3.6s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
}
@keyframes plow{from{transform:translate(0,0)}to{transform:translate(160px,0)}}
@keyframes drift{from{transform:translate(-80px,60px)}to{transform:translate(700px,60px)}}
@keyframes flow{to{stroke-dashoffset:-36}}
@keyframes ripple{0%,100%{transform:scale(.7);opacity:.9}50%{transform:scale(1.15);opacity:.3}}

@media (max-width:860px){
  .hero{grid-template-columns:1fr;gap:26px;padding-bottom:30px}
  .hero .scene{order:2}
  .sheet,.sheet.flip{grid-template-columns:1fr;gap:22px;padding:24px 18px}
  .sheet.flip .sheet-text{order:0}
  .sheet p{max-width:none}
}
@media (max-width:480px){
  .home{padding:14px 12px 40px}
  .h-btn{display:flex;width:100%}
  .cta.center .h-btn{width:100%}
  .soils{grid-template-columns:1fr}
  .soil{display:grid;grid-template-columns:96px 1fr;gap:0 12px;align-items:center}
  .soil svg{grid-row:1/3;margin:0}
  .soil p{align-self:start}
  .fc{padding:12px 4px;gap:2px}
  .fc-day{font-size:11.5px}
  .fc-day svg{width:28px;height:28px}
  .sp{font-size:12.5px}
}
