/* Cultivera final award pass — Farms production instrument.
   Canonical activeHandoff state, photographic custody route and route comparison. */
.page-farms .handoff{padding-block:clamp(52px,5vw,74px);background:#e9e5d9}
.page-farms .handoff .farms-head{margin-bottom:clamp(24px,3vw,38px)}
.page-farms .handoff-console{
  --handoff-progress:0;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:clamp(22px,3vw,42px);
  margin:0;
  padding:clamp(20px,2.6vw,30px) clamp(20px,2.8vw,34px);
  border:1px solid rgba(20,23,20,.17);
  border-bottom:0;
  background:#f8f7f1;
  color:#141714;
}
.page-farms .handoff-console__route{
  position:relative;
  grid-column:1/-1;
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:0;
  isolation:isolate;
}
.page-farms .handoff-console__route::before,
.page-farms .handoff-console__route::after{
  content:"";
  position:absolute;
  z-index:-1;
  top:8px;
  right:calc(100% / 12);
  left:calc(100% / 12);
  height:1px;
  transform-origin:left center;
}
.page-farms .handoff-console__route::before{background:rgba(20,23,20,.19)}
.page-farms .handoff-console__route::after{
  background:#315444;
  transform:scaleX(var(--handoff-progress));
  transition:transform var(--cultivera-route-repeat-duration) var(--cultivera-route-ease);
}
.page-farms .handoff-console__node{
  display:grid;
  min-width:44px;
  min-height:54px;
  padding:0 5px;
  justify-items:center;
  align-content:start;
  gap:9px;
  border:0;
  background:transparent;
  color:rgba(20,23,20,.46);
  font:650 .72rem/1.25 var(--mono);
  letter-spacing:.045em;
  text-transform:uppercase;
  text-align:center;
  cursor:pointer;
  touch-action:manipulation;
}
.page-farms .handoff-console__node::before{
  content:"";
  width:16px;
  height:16px;
  box-sizing:border-box;
  border:1px solid currentColor;
  border-radius:50%;
  background:#f8f7f1;
  transition:background var(--cultivera-route-content-duration) ease,transform var(--cultivera-route-repeat-duration) var(--cultivera-route-ease),box-shadow var(--cultivera-route-content-duration) ease;
}
.page-farms .handoff-console__node:is(.is-complete,.is-active){color:#315444}
.page-farms .handoff-console__node.is-complete::before{background:#315444}
.page-farms .handoff-console__node.is-active::before{background:#315444;transform:scale(1.16);box-shadow:0 0 0 5px rgba(49,84,68,.13)}
.page-farms .handoff-console__node:focus-visible{outline:2px solid #315444;outline-offset:4px}
.page-farms .handoff-console__readout{display:grid;grid-template-columns:minmax(0,.72fr) minmax(260px,1.28fr);gap:clamp(22px,3vw,48px);align-items:end}
.page-farms .handoff-console__identity small{display:block;margin-bottom:9px;color:#6f4f38;font:650 .76rem/1.35 var(--mono);letter-spacing:.075em;text-transform:uppercase}
.page-farms .handoff-console__identity strong{display:block;font-family:var(--serif);font-size:clamp(2rem,3.6vw,3.7rem);font-weight:400;line-height:.92;letter-spacing:-.045em}
.page-farms .handoff-console__evidence{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 22px;margin:0}
.page-farms .handoff-console__evidence div{padding-top:12px;border-top:1px solid rgba(20,23,20,.14)}
.page-farms .handoff-console__evidence dt{margin-bottom:5px;color:rgba(20,23,20,.5);font:650 .68rem/1.3 var(--mono);letter-spacing:.07em;text-transform:uppercase}
.page-farms .handoff-console__evidence dd{margin:0;font-size:.92rem;line-height:1.45}
.page-farms .handoff-console__controls{display:flex;align-items:flex-end;gap:8px}
.page-farms .handoff-console__controls button{
  display:inline-flex;
  min-width:44px;
  min-height:44px;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 15px;
  border:1px solid rgba(20,23,20,.24);
  background:transparent;
  color:#141714;
  font:650 .72rem/1 var(--mono);
  letter-spacing:.055em;
  text-transform:uppercase;
  cursor:pointer;
}
.page-farms .handoff-console__controls button:is(:hover,:focus-visible){border-color:#315444;background:#315444;color:#fff}
.page-farms .handoff-strip[data-enhanced="true"]{
  display:flex;
  grid-template-columns:none;
  align-items:stretch;
  border:1px solid rgba(20,23,20,.17);
  background:#17372d;
}
.page-farms .handoff-strip[data-enhanced="true"] .handoff-step{
  flex:1 1 0;
  min-width:0;
  min-height:clamp(380px,36vw,520px);
  border-right:1px solid rgba(255,255,255,.18);
  outline:0;
  transition:flex var(--cultivera-route-repeat-duration) var(--cultivera-route-ease),filter var(--cultivera-route-content-duration) ease;
  scroll-snap-align:center;
}
.page-farms .handoff-strip[data-enhanced="true"] .handoff-step:last-child{border-right:0}
.page-farms .handoff-strip[data-enhanced="true"] .handoff-step.is-active{flex:2.15 1 0;box-shadow:inset 0 0 0 3px #d7c394}
.page-farms .handoff-strip[data-enhanced="true"] .handoff-step:not(.is-active){filter:saturate(.72) brightness(.84)}
.page-farms .handoff-strip[data-enhanced="true"] .handoff-step::after{background:linear-gradient(180deg,rgba(5,17,11,.04) 22%,rgba(5,17,11,.45) 51%,rgba(5,17,11,.97) 100%)}
.page-farms .handoff-strip[data-enhanced="true"] .handoff-step img{filter:saturate(.86) contrast(1.04);transition:transform var(--cultivera-route-repeat-duration) var(--cultivera-route-ease),filter var(--cultivera-route-content-duration) ease}
.page-farms .handoff-strip[data-enhanced="true"] .handoff-step.is-active img{transform:scale(1.018);filter:saturate(.96) contrast(1.04)}
.page-farms .handoff-strip[data-enhanced="true"] .handoff-step>div{left:clamp(18px,2vw,28px);right:clamp(18px,2vw,28px);bottom:clamp(20px,2.4vw,30px)}
.page-farms .handoff-strip[data-enhanced="true"] .handoff-step small{font-size:.75rem;letter-spacing:.075em}
.page-farms .handoff-strip[data-enhanced="true"] .handoff-step h3{font-size:clamp(1.7rem,2.45vw,2.8rem)}
.page-farms .handoff-strip[data-enhanced="true"] :is(.handoff-discipline,.handoff-owner,.handoff-step p){overflow:hidden;max-height:0;margin-top:0;opacity:0;transform:translateY(8px);transition:max-height var(--cultivera-route-repeat-duration) var(--cultivera-route-ease),opacity var(--cultivera-route-content-duration) ease,transform var(--cultivera-route-repeat-duration) var(--cultivera-route-ease),margin var(--cultivera-route-content-duration) ease}
.page-farms .handoff-strip[data-enhanced="true"] .handoff-step.is-active :is(.handoff-discipline,.handoff-owner,.handoff-step p){max-height:90px;opacity:1;transform:none}
.page-farms .handoff-strip[data-enhanced="true"] .handoff-step.is-active .handoff-discipline{margin-top:11px;font-size:.72rem}
.page-farms .handoff-strip[data-enhanced="true"] .handoff-step.is-active .handoff-owner{margin-top:8px;font-size:.88rem}
.page-farms .handoff-strip[data-enhanced="true"] .handoff-step.is-active p{margin-top:8px;font-size:.94rem;line-height:1.5;color:rgba(255,255,255,.84)}
.page-farms .handoff-strip[data-enhanced="true"] .handoff-step:focus-visible{z-index:3;outline:3px solid #b7df62;outline-offset:-5px}
.page-farms .handoff-step[data-handoff="grow"] img{object-position:52% 50%}
.page-farms .handoff-step[data-handoff="collect"] img{object-position:48% 48%}
.page-farms .handoff-step[data-handoff="grade"] img{object-position:55% 50%}
.page-farms .handoff-step[data-handoff="move"] img{object-position:48% 48%}
.page-farms .handoff-step[data-handoff="handover"] img{object-position:52% 50%}
.page-farms .handoff-step[data-handoff="settle"] img{object-position:56% 50%}
.page-farms .feature-route__action{display:inline-flex;margin-top:18px;min-height:44px;align-items:center;color:#fff}
.page-farms .support-routes{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1px;
  margin-top:1px;
  background:rgba(20,23,20,.15);
}
.page-farms .support-route.media-index__row{
  display:grid;
  grid-template-columns:1fr;
  gap:0;
  padding:0;
  border:0;
  background:#f8f7f1;
}
.page-farms .support-route.media-index__row>img{grid-column:1;width:100%;height:clamp(170px,18vw,230px);object-fit:cover}
.page-farms .support-route.media-index__row>.status{grid-column:1;margin:0;padding:20px 24px 0;color:#6f4f38;font-size:.72rem}
.page-farms .support-route.media-index__row>div{grid-column:1;padding:12px 24px 18px}
.page-farms .support-route.media-index__row h3{font-size:clamp(1.55rem,2.2vw,2.05rem)}
.page-farms .support-route.media-index__row>a{grid-column:1;justify-self:start;min-height:44px;margin:0 24px 22px;align-items:center;font-size:.74rem}
@media(max-width:980px){
  .page-farms .handoff-console{grid-template-columns:1fr}
  .page-farms .handoff-console__readout{grid-template-columns:1fr}
  .page-farms .handoff-console__controls{justify-content:flex-start}
  .page-farms .handoff-strip[data-enhanced="true"]{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(72vw,1fr);overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;scrollbar-width:thin}
  .page-farms .handoff-strip[data-enhanced="true"] .handoff-step,.page-farms .handoff-strip[data-enhanced="true"] .handoff-step.is-active{flex:none;min-height:480px;border-right:1px solid rgba(255,255,255,.18)}
  .page-farms .handoff-strip[data-enhanced="true"] .handoff-step:not(.is-active){filter:saturate(.76) brightness(.88)}
}
@media(max-width:700px){
  .page-farms .handoff-console{padding:18px 16px}
  .page-farms .handoff-console__route{overflow-x:auto;grid-template-columns:repeat(6,minmax(82px,1fr));padding-bottom:5px}
  .page-farms .handoff-console__route::before,.page-farms .handoff-console__route::after{right:41px;left:41px}
  .page-farms .handoff-console__node{font-size:.66rem}
  .page-farms .handoff-console__readout{gap:18px}
  .page-farms .handoff-console__evidence{grid-template-columns:1fr 1fr;gap:12px}
  .page-farms .handoff-console__controls{display:grid;grid-template-columns:1fr 1fr}
  .page-farms .handoff-console__controls button{width:100%}
  .page-farms .handoff-strip[data-enhanced="true"]{grid-auto-columns:minmax(84vw,1fr)}
  .page-farms .handoff-strip[data-enhanced="true"] .handoff-step,.page-farms .handoff-strip[data-enhanced="true"] .handoff-step.is-active{min-height:440px}
  .page-farms .support-routes{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  .page-farms .handoff-console__route::after,
  .page-farms .handoff-console__node::before,
  .page-farms .handoff-strip[data-enhanced="true"] .handoff-step,
  .page-farms .handoff-strip[data-enhanced="true"] .handoff-step img,
  .page-farms .handoff-strip[data-enhanced="true"] :is(.handoff-discipline,.handoff-owner,.handoff-step p){transition-duration:var(--cultivera-motion-reduced)!important;scroll-behavior:auto!important}
}
/* Stage 04 measured production correction. */
@media(min-width:981px){
  .page-farms .handoff-strip[data-enhanced="true"] .handoff-step.is-active{flex-grow:2.65}
}
.page-farms .handoff-strip[data-enhanced="true"] .handoff-step.is-active .handoff-owner{font-size:14px}
@media(min-width:981px){
  .page-farms .handoff-strip[data-enhanced="true"] .handoff-step.is-active{flex-grow:3}
}
.page-farms .handoff-strip[data-enhanced="true"] .handoff-step.is-active .handoff-owner{font-size:14px!important}
.page-farms .handoff-strip[data-enhanced="true"] .handoff-step:not(.is-active) h3{
  max-width:100%;
  font-size:clamp(1.25rem,1.5vw,1.62rem);
  line-height:.98;
  overflow-wrap:anywhere;
}
@media(max-width:760px){
  .page-farms .farms-head,
  .page-farms .routes-top{grid-template-columns:minmax(0,1fr)!important;gap:16px!important;align-items:start!important}
  .page-farms .farms-head>div:first-child{width:100%}
  .page-farms .farms-head h2{width:100%;max-width:12ch;font-size:clamp(2.65rem,12vw,3.5rem)}
}
.page-farms .feature-route__action,
.page-farms .feature-route__action:is(:hover,:focus-visible){color:#fff!important}
.page-farms .feature-route__action::after{background:#fff!important}
