@font-face {
  font-family: Montserrat;
  src: url("assets/montserrat-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --forest: #153d05;
  --green: #006633;
  --gold: #99852f;
  --gold-light: #e0cb79;
  --ink: #182313;
  --muted: #465340;
  --paper: #f8f8f0;
  --white: #fffef7;
  --line: #d9dfd0;
  --font: Montserrat, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .25em; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.07; }
section[id] { scroll-margin-top: 2rem; }

.container {
  width: min(100% - 2 * clamp(1.25rem, 6.1vw, 6.5rem), 81rem);
  margin-inline: auto;
}
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 10;
  inset: .75rem auto auto .75rem;
  padding: .8rem 1.2rem;
  background: var(--white);
  color: var(--forest);
}
:focus-visible { outline: 3px solid #b49c38; outline-offset: 4px; }

.site-header { background: var(--white); }
.header-inner {
  display: grid;
  min-height: 5.7rem;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}
.brand { display: inline-block; width: fit-content; }
.brand img { height: auto; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 1.7vw, 1.8rem); }
.site-nav a {
  padding: .65rem 0;
  font-size: .875rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover { text-decoration: underline; }
.header-action { justify-self: end; }

.button {
  display: inline-flex;
  width: fit-content;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.3rem;
  border: 1px solid transparent;
  border-radius: .22rem;
  font-size: .9rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: color .17s ease, background-color .17s ease, border-color .17s ease;
}
.button-outline { border-color: var(--forest); color: var(--forest); }
.button-outline:hover { background: var(--forest); color: var(--white); }
.button-gold { background: var(--gold-light); color: #1e250c; }
.button-gold:hover { background: #f0dc8d; }
.button-primary { background: var(--forest); color: var(--white); }
.button-primary:hover { background: var(--green); }

.hero { background: var(--forest); color: var(--white); }
.hero-inner {
  display: grid;
  max-width: 104rem;
  min-height: clamp(32rem, 43vw, 44.5rem);
  margin-inline: auto;
  grid-template-columns: 48% 52%;
}
.hero-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3.75rem, 5.5vw, 6.5rem) clamp(1.5rem, 4vw, 4rem)
    clamp(3.75rem, 5.5vw, 6.5rem) clamp(1.25rem, 6.1vw, 6.5rem);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: .8rem;
  color: var(--green);
  font-size: .875rem;
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 1.85rem;
  height: 2px;
  flex: 0 0 1.85rem;
  background: var(--gold);
  content: "";
}
.hero .eyebrow, .approach .eyebrow { color: var(--gold-light); }
.hero h1 {
  margin-top: 1.35rem;
  font-size: clamp(3.2rem, 5.65vw, 6.15rem);
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: .99;
}
.hero h1 em {
  display: block;
  color: var(--gold-light);
  font-style: normal;
}
.hero-description {
  max-width: 27rem;
  margin-block: 1.7rem 2rem;
  color: #edf2e5;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; }
.hero-product-link { padding-block: .35rem; color: var(--gold-light); font-size: .9rem; font-weight: 750; }
.hero-product-link:hover { color: var(--white); }
.hero-media { position: relative; min-height: 100%; }
.hero-media img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 50%;
}

.proof { background: #edf0e5; border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: 1fr 1.3fr 1fr; }
.proof-grid > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  gap: .35rem;
  min-height: 8.25rem;
  padding: 1.4rem 1.75rem;
}
.proof-grid > div:first-child { padding-inline-start: 0; }
.proof-grid > div + div { border-inline-start: 1px solid #d2dac8; }
.proof-value {
  color: var(--forest);
  font-size: clamp(1.55rem, 3.2vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: 1.12;
}
.proof-label { color: var(--muted); font-size: .875rem; font-weight: 650; line-height: 1.42; }

.section { padding-block: clamp(3.75rem, 7.2vw, 7rem); }
.section h2 {
  max-width: 16em;
  margin-top: 1rem;
  font-size: clamp(2.15rem, 4.25vw, 4.1rem);
  font-weight: 800;
  letter-spacing: -.064em;
}
.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(14rem, .55fr);
  align-items: end;
  gap: clamp(1.25rem, 5vw, 6rem);
  margin-bottom: 2.4rem;
}
.section-intro > p { max-width: 31rem; color: var(--muted); }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.service {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  background: var(--white);
}
.service-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}
.service-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.4rem, 3.5vw, 3.2rem);
}
.service-pasture { border-top-color: var(--gold); }
.service h3 { color: var(--forest); font-size: clamp(1.5rem, 2.75vw, 2.5rem); font-weight: 800; letter-spacing: -.045em; }
.service p { max-width: 37rem; margin-top: .8rem; color: var(--muted); }
.service-details {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .5rem;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.service-details li {
  padding: .25rem .55rem;
  border-radius: .18rem;
  background: #edf0e5;
  color: var(--forest);
  font-size: .875rem;
  font-weight: 650;
}

.agrocore {
  background: #102a08;
  color: var(--white);
}
.agrocore-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4.25rem);
}
.agrocore .eyebrow { color: var(--gold-light); }
.agrocore-brand {
  display: inline-flex;
  max-width: 100%;
  margin-top: 1.1rem;
  padding: .6rem .85rem;
  background: var(--white);
}
.agrocore-brand img { width: 12rem; height: auto; }
.agrocore-copy > p:not(.eyebrow) { margin-top: 1rem; color: #dbe6d4; }
.agrocore-features { display: grid; gap: .45rem; margin: 1.15rem 0 1.6rem; padding-left: 1.15rem; }
.agrocore-features li::marker { color: var(--gold-light); }
.core-dashboard {
  container-type: inline-size;
  margin: 0;
  padding: clamp(1rem, 2.65vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: .35rem;
  background: var(--white);
  color: var(--ink);
}
.core-dashboard figcaption { display: grid; gap: .25rem; margin-bottom: 1.25rem; }
.core-dashboard figcaption strong { color: var(--forest); font-size: 1.23rem; line-height: 1.25; }
.core-dashboard figcaption span { color: var(--muted); font-size: .875rem; }
.core-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
}
.core-metrics > div { display: flex; flex-direction: column; justify-content: space-between; gap: .35rem; padding: .7rem; background: #edf0e5; }
.core-metrics dt { color: var(--muted); font-size: .875rem; font-weight: 700; line-height: 1.3; }
.core-metrics dd { color: var(--forest); font-size: 1.4rem; font-weight: 800; line-height: 1.1; }
.core-metrics small { display: block; margin-top: .2rem; font-size: .875rem; font-weight: 650; }
.core-table { margin-top: 1.15rem; font-size: .875rem; }
.core-table caption { margin-bottom: .4rem; color: var(--forest); font-weight: 750; text-align: left; }
.core-table caption span { display: block; color: var(--muted); font-weight: 500; }
.core-alert-value { color: #704919; font-weight: 800; }
.core-action { margin-top: 1rem; padding: .7rem .85rem; background: #f6eedc; color: #533911; font-size: .875rem; }
.core-action strong { display: block; }

@container (max-width: 365px) {
  .core-metrics { grid-template-columns: minmax(0, 1fr); }
  .core-metrics > div { flex-direction: row; align-items: center; }
  .core-metrics dd { text-align: right; }
}

.deliverables { background: #edf0e5; }
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.deliverable {
  display: flex;
  flex-direction: column;
  padding: clamp(1rem, 2.7vw, 2.5rem);
  border: 1px solid var(--line);
  border-top: 3px solid var(--forest);
  background: var(--white);
}
.deliverable h3 {
  color: var(--forest);
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  font-weight: 800;
  letter-spacing: -.045em;
}
.deliverable > p { margin-top: .7rem; color: var(--muted); }
.deliverable-summary { border-top-width: 1px; }
.report-example {
  flex: 1;
  margin: 1.4rem 0 0;
  padding: clamp(.7rem, 1.5vw, 1.15rem);
  border: 1px solid var(--line);
  background: #f4f6ed;
  font-size: .875rem;
}
.report-example figcaption {
  margin-bottom: .75rem;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
}
.feed-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.feed-table :is(th, td) { padding: .55rem .2rem; border-bottom: 1px solid var(--line); text-align: right; }
.feed-table th:first-child { text-align: left; }
.feed-table thead { color: var(--forest); }
.report-note { margin-top: 1rem; color: var(--muted); }
.report-note strong { display: block; color: var(--forest); }
.forage-legend { display: flex; flex-wrap: wrap; gap: .15rem .8rem; margin-bottom: .55rem; }
.forage-legend span { display: inline-flex; align-items: center; gap: .35rem; }
.forage-legend span::before {
  width: .65rem;
  height: .65rem;
  background: var(--green);
  content: "";
}
.forage-legend span:last-child::before { background: var(--gold); }
.forage-chart { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.forage-chart li { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); align-items: center; gap: .5rem; }
.forage-bars { display: grid; }
.forage-bar { display: grid; grid-template-columns: minmax(0, 1fr) 2.25rem; align-items: center; gap: .35rem; }
.forage-bar span { text-align: right; font-variant-numeric: tabular-nums; }
.forage-bar meter {
  width: 100%;
  height: .5rem;
  appearance: none;
  border: 0;
  background: #e1e6d8;
  --bar: var(--green);
}
.forage-demand meter { --bar: var(--gold); }
.forage-bar meter::-webkit-meter-bar { height: .5rem; border: 0; border-radius: 0; background: #e1e6d8; }
.forage-bar meter::-webkit-meter-optimum-value { background: var(--bar); }
.forage-bar meter::-moz-meter-bar { background: var(--bar); }

.approach { background: #102a08; color: var(--white); }
.approach-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 8vw, 8rem); }
.approach h2 { max-width: 11em; }
.approach-intro > p:last-child { max-width: 28rem; margin-top: 1.2rem; color: #dbe6d4; }
.approach-list { align-self: center; }
.approach-list > div {
  position: relative;
  padding: 1.3rem 0 1.3rem 1.45rem;
  border-top: 1px solid #4e6345;
}
.approach-list > div:last-child { border-bottom: 1px solid #4e6345; }
.approach-list > div::before {
  position: absolute;
  inset: 1.77rem auto auto 0;
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--gold-light);
  content: "";
}
.approach-list dt { color: var(--white); font-size: 1.075rem; font-weight: 750; }
.approach-list dd { margin-top: .3rem; color: #dbe6d4; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}
.team-member {
  border: 1px solid var(--line);
  background: var(--white);
}
.team-member img {
  width: 100%;
  height: auto;
  border-bottom: 3px solid var(--gold);
  background: #edf0e5;
}
.team-member > div { padding: 1rem; }
.team-member h3, .partner h3 {
  color: var(--forest);
  font-weight: 800;
  letter-spacing: -.045em;
}
.team-member h3 { font-size: 1.3rem; }
.team-member p { margin-top: .55rem; color: var(--muted); }
.team-member .team-role { color: var(--green); font-size: .875rem; font-weight: 750; }

.partners { background: #edf0e5; }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.partner {
  padding: clamp(1.25rem, 3vw, 2.6rem);
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  background: var(--white);
}
.partner-feature { grid-column: 1 / -1; border-top-color: var(--gold); }
.partner h3 { font-size: clamp(1.65rem, 3vw, 2.55rem); }
.partner-heading {
  display: flex;
  min-height: 3.75rem;
  align-items: center;
  gap: .7rem;
}
.partner-logo {
  width: auto;
  height: auto;
  max-width: min(100%, 11rem);
  max-height: 3.75rem;
}
.partner-feature .partner-logo { max-width: min(100%, 14rem); }
.partner p { max-width: 60rem; margin-top: .75rem; color: var(--muted); }
.product-lines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}
.product-lines li {
  display: grid;
  gap: .35rem;
  align-content: start;
  padding: 1rem;
  background: #edf0e5;
  color: var(--muted);
}
.product-lines strong, .partner-note strong { color: var(--forest); }
.partner .partner-note { margin-top: 1.3rem; }
.nutrition-partners { grid-column: 1 / -1; scroll-margin-top: 2rem; }
.nutrition-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .75rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
.nutrition-logos li {
  display: grid;
  min-height: 6.25rem;
  place-items: center;
  padding: .75rem;
  border: 1px solid var(--line);
  background: var(--white);
}
.nutrition-logos img {
  width: auto;
  height: auto;
  max-width: min(100%, 9.25rem);
  max-height: 3.75rem;
  object-fit: contain;
}

.contact { background: #e8ebdb; }
.contact-inner { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.contact h2 { max-width: 13em; }
.contact p:last-child { max-width: 35rem; margin-top: 1.15rem; color: var(--muted); }
.contact .button { flex-shrink: 0; }
.site-footer { background: #15310b; color: var(--white); }
.footer-inner {
  display: flex;
  min-height: 7rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding-block: 1.4rem;
}
.footer-inner p, .footer-inner > a:last-child { font-size: .875rem; }
.footer-inner p { color: #dce8d4; }
.footer-inner > a:last-child { font-weight: 750; }

@media (max-width: 1240px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .header-action { display: none; }
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .nutrition-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-copy { padding-inline-end: 1.75rem; }
  .hero-inner { grid-template-columns: 51% 49%; }
  .hero h1 { font-size: clamp(3rem, 6.3vw, 4.8rem); }
  .approach-grid { gap: 2.5rem; }
}

@media (max-width: 900px) {
  .header-inner { display: flex; min-height: 0; flex-wrap: wrap; gap: .35rem; padding-top: .8rem; }
  .brand img { width: 180px; }
  .site-nav { width: 100%; justify-content: space-between; gap: .7rem; }
  .site-nav a { padding-block: .8rem; }
}

@media (max-width: 700px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-copy { padding: 3.2rem max(1.25rem, 6.1vw) 2.65rem; }
  .hero h1 { max-width: 9em; font-size: clamp(2.85rem, 10.5vw, 4.8rem); }
  .hero-description { margin-block: 1.25rem 1.5rem; }
  .hero-media { aspect-ratio: 4 / 3; min-height: 0; }
  .hero-media img { object-position: 52% 52%; }
  .proof-grid { grid-template-columns: minmax(0, 1fr); }
  .proof-grid > div, .proof-grid > div:first-child { min-height: 0; padding: 1rem 0; }
  .proof-grid > div + div { border-top: 1px solid #d2dac8; border-inline-start: 0; }
  .section-intro, .services-grid, .agrocore-grid, .deliverables-grid, .approach-grid { grid-template-columns: minmax(0, 1fr); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partners-grid, .product-lines { grid-template-columns: minmax(0, 1fr); }
  .section-intro { margin-bottom: 1.55rem; }
  .contact-inner { align-items: flex-start; flex-direction: column; gap: 1.45rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: .75rem; }
}

@media (max-width: 570px) {
  .site-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 .6rem; }
  .site-nav a { padding-block: .5rem; white-space: normal; }
}

@media (max-width: 430px) {
  .team-grid { grid-template-columns: minmax(0, 1fr); }
  .nutrition-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
