@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
  .scroll-reveal.is-visible { opacity: 1; transform: translateY(0); }
}

.yield-section { background: #eef2e8; }
.yield-layout { display: grid; grid-template-columns: 1fr .88fr; gap: 52px; align-items: start; }
.yield-panel { background: #fffefa; padding: 28px; border: 1px solid #d9dfd5; }
.yield-fields { display: grid; grid-template-columns: 1fr 140px; gap: 12px; margin: 24px 0 14px; }
.yield-result { background: #173f32; color: #f7f6f0; padding: 28px; min-height: 215px; }
.yield-result .eyebrow { color: #cce178; }
.yield-result p { color: #cad7ce; font-size: .87rem; }
.yield-result strong { display: block; font-family: 'DM Serif Display', Georgia, serif; font-size: 2rem; line-height: 1.12; margin-top: 20px; font-weight: 400; }
.yield-note { font-size: .74rem; color: #65716a; margin: 13px 0 0; }

@media (max-width: 850px) { .yield-layout { grid-template-columns: 1fr; gap: 26px; } }
@media (max-width: 520px) { .yield-fields { grid-template-columns: 1fr; } }

@media (max-width: 850px) {
  .nav.open .nav-links { max-height: calc(100vh - 78px); overflow-y: auto; }
  .yield-panel, .yield-result { padding: 22px; }
}

/* Homepage service imagery: deliberately soft so content remains primary. */
.hero ~ .section .service-grid .card { background-size: cover; background-position: center; background-blend-mode: normal; }
.hero ~ .section .service-grid .card:nth-child(1) { background-image: linear-gradient(rgba(255,254,250,.90), rgba(255,254,250,.94)), url('assets/consultancy/commercial-aquaponics-online.avif'); }
.hero ~ .section .service-grid .card:nth-child(2) { background-image: linear-gradient(rgba(255,254,250,.89), rgba(255,254,250,.94)), url('assets/consultancy/urban-organic-onsite.avif'); }
.hero ~ .section .service-grid .card:nth-child(3) { background-image: linear-gradient(rgba(255,254,250,.89), rgba(255,254,250,.94)), url('assets/consultancy/aquaponics-certificate.avif'); }
.hero ~ .section .service-grid .card:nth-child(4) { background-image: linear-gradient(rgba(255,254,250,.89), rgba(255,254,250,.94)), url('assets/consultancy/rural-online.avif'); }
.hero ~ .section .service-grid .card:nth-child(5) { background-image: linear-gradient(rgba(255,254,250,.89), rgba(255,254,250,.94)), url('assets/consultancy/farm-design-onsite.avif'); }
.hero ~ .section .service-grid .card:nth-child(6) { background-image: linear-gradient(rgba(255,254,250,.89), rgba(255,254,250,.94)), url('assets/consultancy/urban-organic-online.avif'); }

/* Founder profile */
.founder-section { background: #f5f7f2; }
.founder-intro { display: flex; justify-content: space-between; gap: 42px; align-items: end; margin-bottom: 44px; }
.founder-intro h2 { margin: 8px 0 10px; }
.founder-specialism { margin: 0; color: #53645b; font-size: .85rem; letter-spacing: .025em; }
.founder-stats { display: grid; grid-template-columns: repeat(3, minmax(105px,1fr)); max-width: 480px; border-left: 1px solid #d5ddd2; }
.founder-stats div { padding: 0 15px; border-right: 1px solid #d5ddd2; }
.founder-stats b { display: block; color: #1b4a38; font-family: 'DM Serif Display', Georgia, serif; font-size: 1.85rem; font-weight: 400; }
.founder-stats span { display: block; color: #637168; font-size: .7rem; line-height: 1.35; }
.founder-feature { display: grid; grid-template-columns: .82fr 1.18fr; gap: 52px; align-items: center; }
.founder-photo { margin: 0; position: relative; }
.founder-photo img { width: 100%; height: 470px; display: block; object-fit: cover; }
.founder-photo figcaption { background: #173f32; color: #f6f5ef; font-size: .68rem; letter-spacing: .04em; padding: 12px 15px; }
.lead-paragraph { font-size: 1.13rem; line-height: 1.66; }
.founder-system { display: grid; grid-template-columns: 1fr 1fr; margin-top: 66px; background: #173f32; color: #f7f6f0; }
.founder-system img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; opacity: .82; }
.founder-system > div { padding: 52px; }
.founder-system h3 { font-family: 'DM Serif Display', Georgia, serif; font-size: 2rem; line-height: 1.1; font-weight: 400; margin: 10px 0 20px; }
.founder-system p { color: #d6e0d8; line-height: 1.7; }
.founder-system .eyebrow { color: #cce178; }
.founder-engagements { display: grid; grid-template-columns: .83fr 1.17fr; gap: 52px; padding: 72px 0; }
.founder-engagements h2 { margin-top: 8px; }
.founder-engagements ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid #d5ddd2; }
.founder-engagements li { padding: 13px 0 13px 30px; position: relative; border-bottom: 1px solid #d5ddd2; color: #34463c; font-size: .91rem; line-height: 1.45; }
.founder-engagements li::before { content: '↗'; position: absolute; left: 2px; color: #6f932d; }
.founder-impact { display: grid; grid-template-columns: 1.15fr .85fr; gap: 52px; align-items: center; padding-top: 14px; }
.founder-impact img { width: 100%; height: 350px; object-fit: cover; }
@media (max-width:850px) { .founder-intro, .founder-feature, .founder-engagements, .founder-impact, .founder-system { grid-template-columns: 1fr; display: grid; } .founder-intro { align-items: start; } .founder-stats { max-width: none; width: 100%; } .founder-feature, .founder-engagements, .founder-impact { gap: 28px; } .founder-photo img { height: 360px; } .founder-system > div { padding: 34px 28px; } .founder-system img { min-height: 260px; } .founder-engagements { padding: 52px 0; } }
@media (max-width:520px) { .founder-stats { grid-template-columns: 1fr; border-top: 1px solid #d5ddd2; } .founder-stats div { border-bottom: 1px solid #d5ddd2; padding: 11px 0; display: flex; justify-content: space-between; gap: 20px; align-items: baseline; } .founder-stats span { text-align: right; } .founder-photo img { height: 300px; } .founder-system h3 { font-size: 1.7rem; } }

/* Yield calculator */
.calculator-section { background: #eef2e8; }
.calculator-intro { max-width: 710px; margin-bottom: 42px; }
.calculator-intro p { max-width: 630px; color: #526058; }
.calculator-card { background: #fffefa; border: 1px solid #d9dfd5; padding: 48px; }
.calculator-field { padding: 29px 0; border-top: 1px solid #d9dfd5; }
.calculator-field:first-child { border-top: 0; padding-top: 0; }
.calculator-field > label, .calculator-label { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .085em; text-transform: uppercase; color: #163e32; margin-bottom: 13px; }
.calculator-field small { color: #65716a; font-size: .74rem; }
.calculator-area-input { display: grid; grid-template-columns: minmax(0, 1fr) 145px; gap: 10px; max-width: 510px; }
.area-type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.area-type-card { text-align: left; min-height: 148px; padding: 22px; color: #263a30; background: #fffefa; border: 1px solid #d9dfd5; cursor: pointer; transition: .2s; }
.area-type-card:hover { border-color: #4f8558; transform: translateY(-2px); }
.area-type-card.selected { border-color: #163e32; background: #e6efdc; box-shadow: inset 0 0 0 1px #163e32; }
.area-type-card b, .area-type-card small { display: block; }
.area-type-card b { margin: 15px 0 4px; font-size: 1rem; }
.area-type-icon { color: #4f8558; font-size: 1.8rem; line-height: 1; }
.season-control { display: inline-flex; padding: 4px; background: #edf1e9; border: 1px solid #d9dfd5; border-radius: 999px; }
.season-control button { border: 0; border-radius: 999px; background: transparent; color: #526058; padding: 10px 22px; cursor: pointer; font-weight: 800; font-size: .78rem; }
.season-control button.selected { background: #163e32; color: #fff; }
.crop-heading { display: flex; justify-content: space-between; gap: 24px; align-items: start; }
.crop-heading p { color: #65716a; font-size: .82rem; margin: 0; }
#crop-count { flex: 0 0 auto; color: #163e32; background: #e6efdc; font-size: .76rem; padding: 7px 10px; border-radius: 999px; }
.crop-options { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.crop-chip { background: #fffefa; border: 1px solid #cfd8cc; border-radius: 999px; color: #405047; padding: 9px 13px; font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; transition: .16s; }
.crop-chip:hover { border-color: #4f8558; }
.crop-chip.selected { background: #163e32; border-color: #163e32; color: #fff; }
.crop-empty { margin: 0; color: #65716a; font-size: .82rem; }
.calculator-errors { color: #8a3322; font-size: .8rem; }
.calculator-errors:empty { display: none; }
.calculator-errors ul { margin: 0 0 18px; padding: 12px 16px 12px 30px; border-left: 3px solid #c9714d; background: #fff4ee; }
.yield-plan-result { margin-top: 34px; padding: 48px; background: #163e32; color: #fff; }
.result-header { display: flex; justify-content: space-between; gap: 24px; align-items: start; }
.result-header h2 { margin: 0; }
.result-header .eyebrow, .estimated-yield .eyebrow { color: #cce178; }
.result-badge { color: #163e32; background: #cce178; padding: 5px 9px; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.result-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 32px; background: rgba(255,255,255,.15); }
.result-summary div { padding: 17px; background: rgba(255,255,255,.055); }
.result-summary small, .result-crops small { display: block; color: #bdcbc1; text-transform: uppercase; font-size: .62rem; font-weight: 800; letter-spacing: .1em; }
.result-summary b { display: block; margin-top: 5px; color: #fff; font-size: .9rem; }
.result-crops { margin-top: 28px; }
.result-crops p { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.result-crops span { padding: 5px 9px; color: #dcebdc; border: 1px solid rgba(204,225,120,.35); font-size: .72rem; }
.estimated-yield { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 30px; margin-top: 34px; background: #102b23; }
.estimated-yield strong { display: block; font-family: 'DM Serif Display', Georgia, serif; font-size: 2rem; font-weight: 400; margin-top: 8px; }
.estimated-yield p { color: #c5d0c8; font-size: .82rem; }
.allocation-placeholder { display: grid; grid-template-columns: repeat(2, 1fr); align-content: start; gap: 0; border: 1px solid rgba(255,255,255,.2); }
.allocation-placeholder b { grid-column: 1 / -1; color: #cce178; padding: 12px; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.allocation-placeholder span { padding: 10px 12px; border-top: 1px solid rgba(255,255,255,.15); color: #bdcbc1; font-size: .72rem; }
@media (max-width:850px) { .calculator-card, .yield-plan-result { padding: 30px; } .result-summary { grid-template-columns: repeat(2,1fr); } .estimated-yield { grid-template-columns: 1fr; } }
@media (max-width:520px) { .calculator-card, .yield-plan-result { padding: 22px; } .calculator-area-input, .area-type-grid, .result-summary { grid-template-columns: 1fr; } .crop-heading, .result-header { display: block; } #crop-count { display: inline-block; margin-top: 12px; } .area-type-card { min-height: 115px; } .estimated-yield { padding: 21px; } }

.calculator-svg { width: 20px; height: 20px; display: inline-block; flex: 0 0 auto; }
.area-type-icon { display: flex; align-items: center; color: #4f8558; }
.area-type-icon .calculator-svg { width: 31px; height: 31px; }
.season-control button { display: inline-flex; align-items: center; gap: 8px; }
.season-control .calculator-svg { width: 16px; height: 16px; }
.crop-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: end; }
.crop-tools > div { display: flex; gap: 5px; }
.crop-action { border: 1px solid #cfd8cc; background: #fffefa; color: #163e32; padding: 6px 9px; cursor: pointer; font: inherit; font-size: .68rem; font-weight: 800; }
.crop-action:hover:not(:disabled) { border-color: #4f8558; color: #4f8558; }
.crop-action:disabled { cursor: not-allowed; opacity: .45; }
.crop-chip { display: inline-flex; align-items: center; gap: 6px; }
.crop-chip .calculator-svg { width: 14px; height: 14px; color: #4f8558; }
.crop-chip.selected .calculator-svg { color: #cce178; }
@media (max-width:520px) { .crop-tools { justify-content: start; margin-top: 12px; } }

.result-next { display: flex; flex-direction: column; align-items: end; gap: 10px; }
.result-next a { color: #dfe9dc; font-size: .72rem; font-weight: 800; text-align: right; }
.result-next a:hover { color: #cce178; }
.result-next a span { color: #cce178; font-size: .95rem; }
.result-metric { display: flex; gap: 11px; align-items: flex-start; }
.result-metric .calculator-svg { color: #cce178; width: 19px; height: 19px; margin-top: 2px; }
.yield-disclaimer { border-top: 1px solid rgba(255,255,255,.18); margin: 22px 0 0; padding-top: 16px; color: #bdcbc1 !important; font-size: .72rem !important; line-height: 1.6; }
.calculator-discovery { display: flex; justify-content: space-between; gap: 42px; align-items: center; padding: 58px 52px; margin-top: 38px; background: #102b23; color: #fff; }
.calculator-discovery .eyebrow { color: #cce178; }
.calculator-discovery h2 { max-width: 620px; margin: 0 0 14px; }
.calculator-discovery p { max-width: 620px; color: #c5d0c8; margin: 0; }
.calculator-discovery .button { white-space: nowrap; }
@media (max-width:850px) { .calculator-discovery { padding: 38px 30px; align-items: flex-start; flex-direction: column; } }
@media (max-width:520px) { .result-next { align-items: start; margin-top: 16px; } .result-next a { text-align: left; } .calculator-discovery { padding: 30px 22px; } }

.allocation-table { border: 1px solid rgba(255,255,255,.2); align-self: start; }
.allocation-table > b { display: block; color: #cce178; padding: 12px; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.allocation-row { display: grid; grid-template-columns: 1.35fr .9fr .75fr 1fr; gap: 8px; border-top: 1px solid rgba(255,255,255,.15); padding: 10px 12px; color: #dcebdc; font-size: .72rem; line-height: 1.35; }
.allocation-row span:not(:first-child) { text-align: right; }
.allocation-row em { color: #bdcbc1; font-style: normal; font-size: .65rem; }
.allocation-head { color: #bdcbc1; font-size: .63rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
@media (max-width:520px) { .allocation-row { grid-template-columns: 1.25fr .85fr .8fr 1fr; padding: 9px 8px; font-size: .64rem; gap: 3px; } .allocation-head { font-size: .57rem; } }

.yield-disclaimer a { color: #cce178; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
