/* Cultivera V1.45 RC visual-correction batch.
   Scoped DTP, state and hierarchy refinements for the five audited pages.
   No homepage composition or site architecture changes. */

/* Shared functional legibility and rules. */
body:is(.page-field-systems,.page-farms,.page-insights,.page-crop-intelligence,.theme-green-flame) :is(.nav-links.mono a,.nav-cta.mono,.mobile-menu-button){
  letter-spacing:.055em;
}
body:is(.page-field-systems,.page-farms,.page-insights,.page-crop-intelligence) :is(.section-kicker,.eyebrow,.image-caption,.source-line),
body.theme-green-flame :is(.project-eyebrow,.project-source,.project-caption){
  text-rendering:geometricPrecision;
}
body:is(.page-field-systems,.page-farms,.page-insights,.page-crop-intelligence) :is(.media-index__row,.definition-ledger>div,.article-row){
  border-color:rgba(20,23,20,.15);
}

/* GREEN FLAME ----------------------------------------------------------- */
body.theme-green-flame .green-flame-evidence-page .hero-status{
  grid-template-columns:minmax(250px,.82fr) minmax(480px,1.38fr);
}
body.theme-green-flame .green-flame-evidence-page .hero-status__facts{
  border-right:0;
}
body.theme-green-flame .green-flame-evidence-page .hero-status>p{display:none}
body.theme-green-flame .green-flame-evidence-page .section-head--contract{
  grid-template-columns:minmax(0,1.18fr) minmax(310px,.72fr);
  gap:clamp(34px,5vw,76px);
}
body.theme-green-flame .green-flame-evidence-page .section-head--contract h2{
  max-width:20ch !important;
  text-wrap:balance;
}
body.theme-green-flame .green-flame-evidence-page .contract-grid article{
  min-height:230px;
  padding:28px 30px;
}
body.theme-green-flame .green-flame-evidence-page .contract-grid strong{
  margin-top:24px;
  font-size:clamp(2.35rem,3.65vw,3.85rem);
}
body.theme-green-flame .green-flame-evidence-page .contract-grid h3{
  font-size:1.22rem;
  line-height:1.25;
}
body.theme-green-flame .green-flame-evidence-page .table-wrap{
  border-color:rgba(20,23,20,.17);
  box-shadow:0 18px 45px rgba(20,35,27,.08);
}
body.theme-green-flame .green-flame-evidence-page .evidence-table :is(th,td){
  padding:23px 24px;
  border-bottom-color:rgba(20,23,20,.14);
  font-size:.97rem;
  line-height:1.55;
}
body.theme-green-flame .green-flame-evidence-page .evidence-table thead th{
  padding-block:17px;
  font-size:.78rem;
  letter-spacing:.055em;
}
body.theme-green-flame .green-flame-evidence-page .evidence-table tbody th{width:21%;font-size:1rem}
body.theme-green-flame .green-flame-evidence-page .evidence-table td:nth-child(2){width:23%}
body.theme-green-flame .green-flame-evidence-page .evidence-table td:nth-child(3){width:22%}
body.theme-green-flame .green-flame-evidence-page .evidence-table small{
  margin-top:8px;
  font-size:.8rem;
  line-height:1.5;
}
body.theme-green-flame .green-flame-evidence-page .proofs-layout{
  grid-template-columns:minmax(270px,.58fr) minmax(620px,1.56fr);
  gap:clamp(28px,3vw,42px);
}
body.theme-green-flame .green-flame-evidence-page .proof-steps::before,
body.theme-green-flame .green-flame-evidence-page .proof-steps::after{
  min-height:38px;
}
body.theme-green-flame .green-flame-evidence-page .proof-step{
  min-height:132px;
  padding:19px 18px;
  opacity:.56;
  border-left-color:rgba(255,255,255,.16);
  transition:opacity .18s ease,background-color .18s ease,border-color .18s ease;
}
body.theme-green-flame .green-flame-evidence-page .proof-step:is(.is-active,[aria-selected="true"]){
  opacity:1;
  border-left-color:#b7df62;
  background:rgba(183,223,98,.075);
}
body.theme-green-flame .green-flame-evidence-page .proof-step strong{
  font-size:clamp(1.55rem,2.1vw,2.35rem);
}
body.theme-green-flame .green-flame-evidence-page .proof-step__description{
  margin-top:8px;
  font-size:.88rem;
  line-height:1.48;
}
body.theme-green-flame .green-flame-evidence-page .proof-stage{
  border-color:rgba(255,255,255,.22);
}

/* FIELD SYSTEMS --------------------------------------------------------- */
body.page-field-systems .field-system-method{
  padding-block:clamp(76px,7vw,106px);
}
body.page-field-systems .field-system-method__head{
  margin-bottom:clamp(34px,4vw,58px);
}
body.page-field-systems .field-system-method__grid{
  grid-template-columns:minmax(270px,.48fr) minmax(560px,1.52fr);
  gap:clamp(30px,3.8vw,58px);
}
body.page-field-systems .field-system-step{
  min-height:clamp(150px,19vh,188px);
  padding:clamp(23px,2.4vw,34px) 0 clamp(26px,2.8vw,38px) clamp(54px,5vw,72px);
}
body.page-field-systems .field-system-step::before{
  top:clamp(29px,2.7vw,40px);
  width:11px;
  height:11px;
  border-color:rgba(244,247,239,.42);
  background:transparent;
  box-shadow:none;
}
body.page-field-systems .field-system-step::after{
  top:calc(clamp(29px,2.7vw,40px) + 18px);
  background:rgba(244,247,239,.13);
}
body.page-field-systems .field-system-step:not(.is-active) .field-system-step__button .mono{color:rgba(244,247,239,.48)}
body.page-field-systems .field-system-step:not(.is-active) .field-system-step__button strong{color:rgba(244,247,239,.76)}
body.page-field-systems .field-system-step:not(.is-active) p{color:rgba(244,247,239,.5)}
body.page-field-systems .field-system-step.is-active{
  background:linear-gradient(90deg,rgba(183,223,98,.065),transparent 76%);
}
body.page-field-systems .field-system-step.is-active::before{
  border-color:#b7df62;
  background:#b7df62;
  box-shadow:0 0 0 6px rgba(183,223,98,.11),0 0 24px rgba(183,223,98,.22);
}
body.page-field-systems .field-system-step__button strong{
  font-size:clamp(1.55rem,2.2vw,2.45rem);
}
body.page-field-systems .field-system-step p{
  margin-top:12px;
  font-size:.94rem;
  line-height:1.5;
}
body.page-field-systems .field-system-method__stage{
  min-height:clamp(600px,68vh,690px);
  border-color:rgba(255,255,255,.2);
}
body.page-field-systems .field-system-method__visual :is(.method-stage-rail,.method-rail-read,.method-rail-break,.method-rail-intervention,.method-rail-connect,.method-rail-advance){
  transition:none !important;
}
body.page-field-systems .field-system-method__caption{
  padding-top:15px;
  border-top:1px solid rgba(255,255,255,.14);
}
body.page-field-systems .field-system-method__caption span{font-size:.78rem;letter-spacing:.055em}
body.page-field-systems .field-system-method__caption strong{max-width:34ch;font-size:clamp(1.08rem,1.35vw,1.3rem)}
body.page-field-systems .explorer{
  padding-block:clamp(72px,7vw,104px);
}
body.page-field-systems .explorer-head{margin-bottom:clamp(28px,3vw,42px)}

/* FARMS ----------------------------------------------------------------- */
@media (min-width:901px){
  body.page-farms main>.hero.visual-hero,
  body.page-farms main>.hero.visual-hero .container.hero-content{
    min-height:clamp(535px,62svh,605px);
  }
}
body.page-farms{--farms-section-space:clamp(50px,4.5vw,68px)}
body.page-farms .farms-head{
  --editorial-head-title-track:1.14fr;
  --editorial-head-copy-track:.54fr;
  --editorial-head-gap:clamp(24px,3.6vw,54px);
  align-items:end;
}
body.page-farms .farms-head h2{max-width:18ch}
body.page-farms .farms-head p{margin:0 0 .35em;max-width:38ch}
body.page-farms .handoff-step::after{
  background:linear-gradient(180deg,rgba(5,15,10,.12) 10%,rgba(5,15,10,.5) 48%,rgba(5,15,10,.96) 100%);
}
body.page-farms .handoff-step div{left:16px;right:16px;bottom:18px;text-shadow:0 1px 10px rgba(0,0,0,.45)}
body.page-farms .handoff-step small{font-size:.72rem;color:#f0d7bc}
body.page-farms .handoff-step h3{font-size:clamp(1.48rem,1.75vw,1.9rem)}
body.page-farms .handoff-discipline{font-size:.7rem;color:#d8ebd6}
body.page-farms .handoff-owner{font-size:.77rem;line-height:1.4}
body.page-farms .handoff-step p{display:none}
body.page-farms .route-playback{
  align-items:center;
  padding:22px 24px;
  border-color:rgba(20,23,20,.18);
  background:#fffdf7;
}
body.page-farms .route-playback__controls{align-items:stretch}
body.page-farms .route-playback button{
  min-width:54px;
  min-height:48px;
  padding-inline:16px;
  font-size:.73rem;
  letter-spacing:.055em;
}
body.page-farms .feature-route{
  grid-template-columns:1fr 1fr;
  min-height:clamp(390px,36vw,450px);
}
body.page-farms .feature-copy{padding:clamp(30px,3.5vw,46px)}
body.page-farms .feature-copy h3{font-size:clamp(2.45rem,3.55vw,3.9rem)}
body.page-farms .support-route{
  grid-template-columns:150px 220px minmax(0,1fr) auto;
  gap:24px;
  padding:24px 0;
}
body.page-farms .support-route img{height:116px}
body.page-farms .support-route h3{font-size:1.62rem}
body.page-farms .support-route .btn.text-link{
  min-height:44px;
  align-items:center;
  font-size:.74rem;
}

/* INSIGHTS -------------------------------------------------------------- */
body.page-insights-v7 .masthead-inner{
  grid-template-columns:minmax(220px,.72fr) minmax(340px,1.28fr);
  gap:clamp(28px,3vw,46px);
  align-items:end;
}
body.page-insights-v7 .masthead h1{font-size:clamp(3.25rem,4.2vw,3.85rem)}
body.page-insights-v7 .masthead-copy{justify-self:start;max-width:38ch;padding-bottom:.32em}
body.page-insights-v7 .front-top{
  grid-template-columns:minmax(0,2.15fr) minmax(290px,.75fr);
  gap:clamp(42px,5vw,72px);
}
body.page-insights-v7 .policy-inset__body{
  grid-template-columns:74px minmax(0,1fr);
  gap:16px;
  padding:18px;
}
body.page-insights-v7 .policy-inset h3{font-size:clamp(1.38rem,1.55vw,1.62rem)}
body.page-insights-v7 .policy-inset p{font-size:.94rem}
body.page-insights-v7 .lead-figure--wide{
  width:min(100%,1050px);
}
body.page-insights-v7 .lead-figure--wide img{
  width:100%;
  aspect-ratio:1.72/1;
  object-position:center 42%;
}
body.page-insights-v7 .lead-figure figcaption{font-size:.9rem;border-left-width:4px}
body.page-insights-v7 .biogas-summary{padding-block:44px 48px}
body.page-insights-v7 .evidence-response{
  grid-template-columns:minmax(0,1.55fr) minmax(340px,.85fr);
}
body.page-insights-v7 .finding-list--quiet p{font-size:1rem;line-height:1.56}
body.page-insights-v7 .response-row{padding:15px 0}
body.page-insights-v7 .response-row span{font-size:1rem}
body.page-insights-v7 .response-row strong{font-size:clamp(1.12rem,1.28vw,1.28rem)}
body.page-insights-v7 .decision-grid{
  grid-template-columns:minmax(0,1fr) minmax(390px,1fr);
  gap:clamp(42px,5vw,76px);
}
body.page-insights-v7 .decision img{aspect-ratio:1.72/1}
body.page-insights-v7 .decision figcaption{font-size:.88rem;line-height:1.5}
body.page-insights-v7 .article-row{
  grid-template-columns:190px minmax(0,1fr) 46px;
  gap:24px;
  min-height:82px;
  padding:16px 12px;
  margin-inline:-12px;
  transition:background-color .16s ease;
}
body.page-insights-v7 .article-row:hover,
body.page-insights-v7 .article-row:focus-visible{background:rgba(26,100,64,.055)}
body.page-insights-v7 .article-row__meta{
  display:flex;
  flex-wrap:wrap;
  gap:4px 12px;
  font-size:.74rem;
  letter-spacing:.025em;
}
body.page-insights-v7 .article-row__title h3{font-size:clamp(1.14rem,1.2vw,1.28rem);line-height:1.25}
body.page-insights-v7 .article-row__title p{font-size:.88rem}
body.page-insights-v7 .article-row .arrow-out{
  display:grid;
  width:42px;
  height:42px;
  place-items:center;
  border:1px solid rgba(9,42,28,.15);
  border-radius:50%;
  font-size:1rem;
}

/* CROP INTELLIGENCE ----------------------------------------------------- */
body.page-crop-intelligence .hero-photo-frame img{
  transform:none;
  image-rendering:auto;
}
body.page-crop-intelligence .atlas-command-bar{
  grid-template-columns:minmax(300px,1fr) auto;
  gap:16px 24px;
  padding:22px 24px;
  border:1px solid rgba(20,26,22,.14);
  border-radius:12px;
  background:#f5f4ed;
  box-shadow:0 16px 36px rgba(21,39,29,.055);
}
body.page-crop-intelligence .atlas-crop-picker{max-width:none}
body.page-crop-intelligence .atlas-refine-summary{
  min-height:58px;
  min-width:116px;
  justify-content:center;
  border:1px solid rgba(20,26,22,.16);
  border-radius:6px;
  background:#fff;
}
body.page-crop-intelligence .atlas-coverage-line{
  grid-column:1/-1;
  padding-top:14px;
  border-top:1px solid rgba(20,26,22,.12);
}
body.page-crop-intelligence .atlas-decision-grid{
  grid-template-columns:minmax(0,1.34fr) minmax(390px,1fr);
  gap:clamp(30px,3.2vw,48px);
}
body.page-crop-intelligence .atlas-map-card{min-height:clamp(570px,62vh,650px)}
body.page-crop-intelligence .atlas-map-frame{min-height:440px}
body.page-crop-intelligence .atlas-svg{transform:scale(1.04)}
body.page-crop-intelligence .atlas-intelligence-pane{
  padding:0 2px;
  border-top-color:rgba(20,26,22,.18);
}
body.page-crop-intelligence .atlas-pane-tab{min-height:50px;font-size:.78rem}
body.page-crop-intelligence .atlas-decision-block{margin-top:16px;padding-top:15px}
body.page-crop-intelligence .atlas-verification{
  padding-block:clamp(64px,6vw,88px);
}
body.page-crop-intelligence .atlas-verification-grid{
  grid-template-columns:minmax(0,1.08fr) minmax(380px,.92fr);
  gap:clamp(44px,6vw,88px);
  align-items:center;
}
body.page-crop-intelligence .atlas-field-proof{max-width:520px;justify-self:end}
body.page-crop-intelligence .atlas-field-proof img{aspect-ratio:4/4.35;object-fit:cover}
body.page-crop-intelligence .crop-editorial-close{padding-block:clamp(54px,5.5vw,78px)}
body.page-crop-intelligence .crop-editorial-close__inner{
  grid-template-columns:minmax(0,.64fr) minmax(290px,.36fr);
  gap:clamp(30px,4vw,58px);
  align-items:center;
}
body.page-crop-intelligence .crop-editorial-close__link{
  min-height:52px;
  padding:0 18px;
  border:1px solid rgba(255,255,255,.34);
  border-radius:999px;
  text-decoration:none;
  font-size:1rem;
}
body.page-crop-intelligence .crop-editorial-close__link:hover,
body.page-crop-intelligence .crop-editorial-close__link:focus-visible{
  border-color:#b7df62;
  color:#b7df62;
}

@media (max-width:980px){
  body.theme-green-flame .green-flame-evidence-page .hero-status{grid-template-columns:1fr}
  body.theme-green-flame .green-flame-evidence-page .proofs-layout{grid-template-columns:1fr}
  body.page-field-systems .field-system-method__grid{grid-template-columns:1fr}
  body.page-field-systems .field-system-step{min-height:auto}
  body.page-farms .support-route{grid-template-columns:120px minmax(0,1fr)}
  body.page-farms .support-route img{height:96px}
  body.page-insights-v7 .front-top{grid-template-columns:1fr}
  body.page-insights-v7 .lead-figure--wide{width:100%}
  body.page-crop-intelligence .atlas-decision-grid{grid-template-columns:1fr}
  body.page-crop-intelligence .atlas-verification-grid{grid-template-columns:1fr}
  body.page-crop-intelligence .atlas-field-proof{max-width:680px;justify-self:start}
}
@media (max-width:720px){
  body.theme-green-flame .green-flame-evidence-page .section-head--contract{grid-template-columns:1fr}
  body.theme-green-flame .green-flame-evidence-page .contract-grid article{min-height:auto}
  body.page-farms .handoff-step p{display:block;font-size:.82rem}
  body.page-farms .route-playback{grid-template-columns:1fr}
  body.page-insights-v7 .masthead-inner{grid-template-columns:1fr;gap:8px}
  body.page-insights-v7 .masthead-copy{padding-bottom:0}
  body.page-insights-v7 .lead-figure--wide img{aspect-ratio:1.35/1}
  body.page-insights-v7 .article-row{grid-template-columns:1fr 42px;gap:10px 16px;margin-inline:0;padding-inline:0}
  body.page-insights-v7 .article-row__meta{grid-column:1}
  body.page-insights-v7 .article-row__title{grid-column:1}
  body.page-insights-v7 .article-row .arrow-out{grid-column:2;grid-row:1/3;align-self:center}
  body.page-crop-intelligence .atlas-command-bar{grid-template-columns:1fr;padding:18px}
  body.page-crop-intelligence .atlas-refine-summary{width:100%}
  body.page-crop-intelligence .atlas-coverage-line{grid-column:1}
  body.page-crop-intelligence .crop-editorial-close__inner{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  body.theme-green-flame .green-flame-evidence-page .proof-step,
  body.page-insights-v7 .article-row{transition:none}
}

/* Keep the signature instrument present in static/full-page captures; stage changes remain interactive. */
body.page-field-systems.motion-enabled .field-system-method__stage[data-motion-reveal],
body.page-field-systems .motion-enabled .field-system-method__stage[data-motion-reveal]{
  opacity:1 !important;
  transform:none !important;
}
@media (min-width:981px){
  body.page-field-systems .field-system-step{min-height:clamp(148px,16vh,170px)}
}
html.motion-enabled body.page-field-systems .field-system-method__stage[data-motion-reveal]{
  opacity:1 !important;
  transform:none !important;
}
