:root {
  --home-cream: #f8f7f4;
  --home-sand: #e9e5de;
  --home-taupe: #c9bdae;
  --home-charcoal: #1e2329;
  --home-sage: #6f7d71;
  --home-white: #ffffff;
  --home-muted: #62676b;
  --home-line: rgba(30, 35, 41, 0.13);
  --home-shell: min(90vw, 1380px);
  --home-radius: 18px;
  --home-sans: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.home-page {
  color: var(--home-charcoal);
  background: var(--home-cream);
  font-family: var(--home-sans);
}

.home-page main {
  overflow: hidden;
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page p {
  margin-top: 0;
}

.home-page h1,
.home-page h2,
.home-page h3 {
  color: var(--home-charcoal);
  font-family: var(--home-sans);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.home-page h2 {
  margin-bottom: 0;
  font-size: clamp(2.65rem, 4.25vw, 5rem);
  line-height: 1.02;
}

.home-shell {
  width: var(--home-shell);
  margin-inline: auto;
}

.home-kicker {
  margin-bottom: 20px;
  color: var(--home-sage);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.home-lead {
  color: var(--home-charcoal);
  font-size: clamp(1.2rem, 1.65vw, 1.55rem);
  line-height: 1.52;
  letter-spacing: -0.018em;
}

.home-button {
  min-height: 50px;
  padding: 14px 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: var(--home-white);
  background: var(--home-charcoal);
  border: 1px solid var(--home-charcoal);
  border-radius: 9px;
  font-size: 0.69rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.home-button span {
  font-size: 1rem;
  transition: transform 180ms ease;
}

.home-button:hover,
.home-button:focus-visible {
  color: var(--home-white);
  background: var(--home-sage);
  border-color: var(--home-sage);
  transform: translateY(-2px);
}

.home-button:hover span,
.home-button:focus-visible span {
  transform: translateX(3px);
}

.home-button-outline {
  color: var(--home-charcoal);
  background: transparent;
  border-color: rgba(30, 35, 41, 0.28);
}

.home-button-outline:hover,
.home-button-outline:focus-visible {
  color: var(--home-charcoal);
  background: var(--home-white);
  border-color: var(--home-charcoal);
}

.home-text-link {
  padding-bottom: 5px;
  display: inline-block;
  color: var(--home-charcoal);
  border-bottom: 1px solid rgba(30, 35, 41, 0.55);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease;
}

.home-text-link:hover,
.home-text-link:focus-visible {
  color: var(--home-sage);
  border-color: var(--home-sage);
}

/* The split-hero styles are retained for future use; the live banner uses the
   full-bleed hero from the original homepage direction. */

.home-page .site-header,
.home-page .hero {
  font-family: var(--sans);
}

.home-page .hero h1 {
  color: var(--white);
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.home-hero {
  padding: 122px 0 56px;
  background: var(--home-cream);
}

.home-hero-shell {
  width: min(94vw, 1480px);
  min-height: clamp(570px, 72vh, 710px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(370px, 0.88fr);
  background: var(--home-white);
  border: 1px solid rgba(30, 35, 41, 0.1);
  border-radius: 20px;
  box-shadow: 0 22px 60px rgba(30, 35, 41, 0.08);
  overflow: hidden;
}

.home-hero-media {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
}

.home-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 66%, rgba(30, 35, 41, 0.18));
}

.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
  filter: saturate(0.92) contrast(0.98) brightness(1.04);
  animation: home-hero-image-in 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.home-hero-media figcaption {
  position: absolute;
  z-index: 1;
  bottom: 22px;
  left: 24px;
  padding: 8px 11px;
  color: var(--home-white);
  background: rgba(30, 35, 41, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 7px;
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(7px);
}

.home-hero-copy {
  padding: clamp(42px, 4.7vw, 76px) clamp(34px, 4.2vw, 68px) 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, #ffffff, #f8f7f4 150%);
}

.home-hero-copy .home-kicker {
  margin-bottom: 25px;
}

.home-hero h1 {
  margin: 0;
  font-size: clamp(3.55rem, 5.25vw, 6.2rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.home-hero-intro {
  max-width: 480px;
  margin: 27px 0 0;
  color: var(--home-muted);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.62;
}

.home-hero-actions {
  margin-top: 31px;
  display: flex;
  align-items: center;
  gap: 23px;
}

.home-hero-facts {
  margin: clamp(40px, 6vh, 68px) 0 0;
  padding-top: 23px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border-top: 1px solid var(--home-line);
}

.home-hero-facts div {
  display: grid;
  gap: 4px;
}

.home-hero-facts dt {
  color: var(--home-sage);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-hero-facts dd {
  margin: 0;
  font-size: 0.77rem;
  font-weight: 600;
}

/* Services */

.home-services {
  padding: clamp(82px, 9vw, 132px) 0 clamp(48px, 4.5vw, 64px);
  background: var(--home-white);
}

.home-section-heading,
.home-results-heading {
  margin-bottom: clamp(43px, 5.5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.55fr);
  gap: clamp(42px, 8vw, 125px);
  align-items: end;
}

.home-section-heading h2,
.home-results-heading h2 {
  max-width: 800px;
}

.home-section-heading > p,
.home-results-heading > p {
  margin: 0 0 5px;
  color: var(--home-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.home-service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-service-card {
  min-height: 560px;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: var(--home-cream);
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.home-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(111, 125, 113, 0.45);
  box-shadow: 0 16px 40px rgba(30, 35, 41, 0.07);
}

.home-service-card-media {
  width: 100%;
  max-height: 320px;
  margin: 0;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  background: var(--home-sand);
}

.home-service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(0.98) brightness(1.03);
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.home-service-card:nth-child(2) .home-service-card-media img {
  object-position: 50% 58%;
}

.home-service-card:hover .home-service-card-media img {
  transform: scale(1.025);
}

.home-service-card-body {
  flex: 1;
  padding: clamp(27px, 2.6vw, 38px);
  display: flex;
  flex-direction: column;
}

.home-card-number {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--home-sage);
  background: rgba(111, 125, 113, 0.1);
  border-radius: 50%;
  font-size: 0.61rem;
  font-weight: 700;
}

.home-service-card h3 {
  margin: 28px 0 14px;
  font-size: clamp(1.65rem, 2.25vw, 2.35rem);
  line-height: 1.06;
}

.home-service-card p {
  margin-bottom: 27px;
  color: var(--home-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.home-service-card-body > a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  color: var(--home-charcoal);
  border-top: 1px solid var(--home-line);
  padding-top: 18px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.home-service-card-body > a span {
  font-size: 1rem;
  transition: transform 180ms ease;
}

.home-service-card-body > a:hover span,
.home-service-card-body > a:focus-visible span {
  transform: translate(3px, -3px);
}

/* Program and results */

.home-program {
  padding: clamp(48px, 4.5vw, 64px) 0 clamp(68px, 7vw, 104px);
  background: var(--home-cream);
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.home-program-grid {
  display: grid;
  grid-template-columns: minmax(380px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
}

.home-program-copy h2 {
  max-width: 650px;
}

.home-program-copy .home-lead {
  margin: 31px 0 20px;
}

.home-program-copy > p:not(.home-kicker):not(.home-lead) {
  margin-bottom: 28px;
  color: var(--home-muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

.home-program-stats {
  margin: clamp(42px, 5vw, 64px) 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.home-program-stats div {
  min-height: 100px;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--home-line);
}

.home-program-stats div:last-child {
  border-right: 0;
}

.home-program-stats dt {
  color: var(--home-charcoal);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.home-program-stats dd {
  margin: 5px 0 0;
  color: var(--home-muted);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-program-media,
.home-base-media {
  margin: 0;
}

.home-program-media img {
  width: 100%;
  height: auto;
  border-radius: var(--home-radius);
  box-shadow: 0 20px 50px rgba(30, 35, 41, 0.1);
}

.home-program-media figcaption {
  margin-top: 13px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--home-muted);
  font-size: 0.61rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-results {
  padding: clamp(82px, 9vw, 132px) 0 clamp(48px, 4.5vw, 64px);
  background: var(--home-white);
}

.home-results-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(46px, 7vw, 100px);
  align-items: start;
}

.home-results-gallery {
  display: grid;
  gap: clamp(30px, 3vw, 42px);
  align-content: start;
}

.home-results-media {
  margin: 0;
}

.home-results-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 62% center;
  border-radius: var(--home-radius);
  box-shadow: 0 20px 50px rgba(30, 35, 41, 0.1);
}

.home-results-media-secondary img {
  aspect-ratio: 16 / 9;
  object-position: 54% center;
}

.home-results-media figcaption {
  margin-top: 13px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--home-muted);
  font-size: 0.61rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-results-ledger-heading {
  padding-bottom: 17px;
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  color: var(--home-sage);
  border-bottom: 2px solid var(--home-sage);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-results-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 4vw, 56px);
  list-style: none;
}

.home-results-list li {
  min-height: 104px;
  padding: 23px 0;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--home-line);
}

.home-results-list li:nth-child(even) {
  padding-right: clamp(14px, 2vw, 28px);
}

.home-results-list li:nth-child(odd):not(:first-child) {
  padding-left: clamp(22px, 3vw, 42px);
  border-left: 1px solid var(--home-line);
}

.home-results-list li p {
  margin: 0;
  color: var(--home-charcoal);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
}

.home-results-list .home-result-featured {
  min-height: 130px;
  padding: clamp(28px, 3vw, 38px) 0;
  grid-column: 1 / -1;
  align-items: center;
}

.home-results-list .home-result-featured p {
  max-width: 680px;
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

/* Home base, farm and people */

.home-base-light {
  padding: clamp(44px, 5.5vh, 64px) 0;
  background: var(--home-sand);
}

.home-base-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(410px, 0.78fr);
  gap: clamp(30px, 4.5vw, 68px);
  align-items: stretch;
}

.home-base-media {
  position: relative;
}

.home-base-media::before {
  content: "";
  position: absolute;
  z-index: 1;
  right: -13px;
  bottom: -13px;
  width: 35%;
  height: 32%;
  border-right: 2px solid var(--home-sage);
  border-bottom: 2px solid var(--home-sage);
  border-radius: 0 0 var(--home-radius) 0;
}

.home-base-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--home-radius);
  box-shadow: 0 18px 45px rgba(30, 35, 41, 0.09);
}

.home-base-copy h2 {
  max-width: 650px;
}

.home-base-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.home-base-copy .home-kicker {
  margin-bottom: 14px;
}

.home-base-copy .home-lead {
  margin: 0 0 16px;
}

.home-base-gallery {
  height: clamp(305px, 38vh, 370px);
  min-height: 0;
  margin-top: auto;
  padding-top: 24px;
  display: grid;
  flex: none;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.home-base-gallery figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 11px;
  background: var(--home-cream);
  box-shadow: 0 10px 24px rgba(30, 35, 41, 0.08);
}

.home-base-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.home-base-gallery-feature {
  grid-column: 1 / 5;
  grid-row: 1;
}

.home-base-gallery .home-base-gallery-feature img {
  object-position: center 58%;
}

.home-base-gallery figure:nth-child(2) {
  grid-column: 5 / 7;
  grid-row: 1;
}

.home-base-gallery figure:nth-child(2) img {
  object-position: center 44%;
}

.home-base-gallery figure:nth-child(3) {
  grid-column: 1 / 3;
  grid-row: 2;
}

.home-base-gallery figure:nth-child(3) img {
  object-position: center;
}

.home-base-gallery figure:nth-child(4) {
  grid-column: 3 / 5;
  grid-row: 2;
}

.home-base-gallery figure:nth-child(5) {
  grid-column: 5 / 7;
  grid-row: 2;
}

.home-base-copy > p:not(.home-kicker):not(.home-lead) {
  margin-bottom: 18px;
  color: var(--home-muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

.home-base-copy > .home-button {
  flex: 0 0 auto;
  align-self: flex-start;
}

@media (min-width: 981px) {
  .home-base-grid {
    height: clamp(540px, calc(100svh - 210px), 660px);
  }

  .home-base-media img {
    height: 100%;
    aspect-ratio: auto;
  }
}

.home-farm {
  padding: clamp(88px, 10vw, 150px) 0;
  background: var(--home-cream);
}

.home-farm-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(370px, 0.95fr);
  gap: clamp(48px, 8vw, 124px);
  align-items: start;
}

.home-farm-intro h2 {
  max-width: 720px;
}

.home-farm-copy .home-lead {
  margin: 0 0 21px;
}

.home-farm-copy > p:not(.home-lead) {
  margin-bottom: 18px;
  color: var(--home-muted);
  font-size: 1rem;
  line-height: 1.76;
}

.home-farm-copy .home-button {
  margin-top: 14px;
}

.home-farm-features {
  margin-top: clamp(54px, 7vw, 94px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.home-farm-features article {
  min-height: 220px;
  padding: 34px clamp(25px, 3.2vw, 48px) 34px;
  border-right: 1px solid var(--home-line);
}

.home-farm-features article:first-child {
  padding-left: 0;
}

.home-farm-features article:last-child {
  padding-right: 0;
  border-right: 0;
}

.home-farm-features span {
  color: var(--home-sage);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.home-farm-features h3 {
  margin: 39px 0 11px;
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  line-height: 1.15;
}

.home-farm-features p {
  max-width: 330px;
  margin-bottom: 0;
  color: var(--home-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.home-farm-gallery {
  margin-top: clamp(58px, 7.5vw, 104px);
  display: grid;
  gap: clamp(22px, 2vw, 30px);
}

.home-farm-gallery-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 2vw, 30px);
}

.home-farm-gallery-row-feature {
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
}

.home-farm-photo {
  margin: 0;
}

.home-farm-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  display: block;
  object-fit: cover;
  border-radius: var(--home-radius);
  box-shadow: 0 20px 50px rgba(30, 35, 41, 0.1);
}

.home-farm-photo-hero img {
  aspect-ratio: 16 / 7;
  object-position: center 58%;
}

.home-farm-photo-tall img {
  height: clamp(480px, 45vw, 650px);
  aspect-ratio: auto;
}

.home-farm-photo-stalls img {
  object-position: center 46%;
}

.home-farm-photo-training img {
  object-position: center center;
}

.home-farm-photo figcaption {
  margin-top: 13px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--home-muted);
  font-size: 0.61rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-farm-photo figcaption span {
  color: var(--home-sage);
  text-align: right;
}

.home-training-clients {
  padding: clamp(48px, 4.5vw, 64px) 0 clamp(88px, 10vw, 150px);
  background: var(--home-cream);
}

.home-training-clients-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 1.18fr);
  gap: clamp(48px, 8vw, 124px);
  align-items: start;
}

.home-training-clients-intro h2 {
  max-width: 620px;
}

.home-training-clients-copy {
  max-width: 680px;
  padding-top: 28px;
}

.home-training-clients-copy .home-lead {
  margin: 0 0 20px;
}

.home-training-clients-copy > p:not(.home-lead) {
  margin-bottom: 25px;
  color: var(--home-muted);
  font-size: 1rem;
  line-height: 1.76;
}

.home-training-client-gallery {
  margin-top: clamp(54px, 7vw, 94px);
  column-count: 4;
  column-gap: clamp(12px, 1.4vw, 20px);
}

.home-training-client-photo {
  margin: 0 0 clamp(12px, 1.4vw, 20px);
  break-inside: avoid;
  overflow: hidden;
  background: var(--home-sand);
  border-radius: var(--home-radius);
  box-shadow: 0 16px 38px rgba(30, 35, 41, 0.09);
}

.home-training-client-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.home-people {
  padding: clamp(82px, 9vw, 124px) 0;
  background: var(--home-white);
  border-top: 1px solid var(--home-line);
}

.home-people-heading {
  max-width: 860px;
}

.home-people-heading > p:last-child {
  max-width: 650px;
  margin: 27px 0 0;
  color: var(--home-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.home-people-cards {
  margin-top: clamp(45px, 5vw, 70px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-people-cards article {
  padding: clamp(28px, 3.5vw, 46px);
  background: var(--home-cream);
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
}

.home-person-card-featured {
  min-height: 380px;
  padding: 0 !important;
  display: grid;
  grid-template-columns: minmax(185px, 0.82fr) minmax(230px, 1.18fr);
  overflow: hidden;
}

.home-person-card-media {
  min-width: 0;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--home-taupe);
}

.home-person-card-media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
  object-fit: cover;
  object-position: 54% 44%;
}

.home-person-card-jackson .home-person-card-media img {
  object-position: 48% 50%;
}

.home-person-card-copy {
  min-width: 0;
  padding: clamp(24px, 2.8vw, 38px);
  align-self: center;
}

.home-people-cards article > span,
.home-person-card-copy > span {
  color: var(--home-sage);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-people-cards h3 {
  margin: 42px 0 13px;
  font-size: clamp(1.75rem, 2.5vw, 2.6rem);
}

.home-person-card-copy h3 {
  margin-top: 32px;
}

.home-people-cards p {
  max-width: 470px;
  margin: 0;
  color: var(--home-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Partners, contact and footer */

.home-partners {
  padding: 52px 0;
  background: var(--home-cream);
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.home-partners-inner {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 48px;
  align-items: center;
}

.home-partners-inner .home-kicker {
  margin: 0;
  font-size: 0.8rem;
}

.home-partner-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.home-partner-logos img {
  width: 100%;
  height: 62px;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

.home-contact {
  padding: clamp(82px, 9vw, 124px) 0 58px;
  background: #e9ede9;
}

.home-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.7fr);
  gap: clamp(50px, 9vw, 135px);
}

.home-contact-title h2 {
  max-width: 740px;
}

.home-contact-copy > p {
  margin: 0;
  color: var(--home-muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.home-contact-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-contact-details {
  margin-top: 32px;
  padding-top: 24px;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid rgba(30, 35, 41, 0.16);
  font-style: normal;
}

.home-contact-details div {
  min-width: 0;
  padding: 18px 0;
}

.home-contact-details span {
  display: block;
  margin-bottom: 8px;
  color: var(--home-sage);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-contact-details p,
.home-contact-details a {
  margin: 0;
  color: var(--home-charcoal);
  font-size: clamp(0.92rem, 1.25vw, 1.08rem);
  overflow-wrap: anywhere;
}

.home-page .site-footer {
  padding-block: 30px;
  color: var(--home-muted);
  background: var(--home-white);
  border-top: 1px solid var(--home-line);
}

.home-page .footer-brand img {
  filter: brightness(0.25) saturate(0);
}

@keyframes home-hero-image-in {
  from { opacity: 0.76; transform: scale(1.025); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 1120px) {
  .home-hero-shell {
    grid-template-columns: minmax(0, 1.18fr) minmax(350px, 0.82fr);
  }

  .home-hero-copy {
    padding-inline: 38px;
  }

  .home-hero h1 {
    font-size: clamp(3.5rem, 6vw, 5.2rem);
  }

  .home-program-grid,
  .home-base-grid {
    gap: 52px;
  }

  .home-training-client-gallery {
    column-count: 3;
  }
}

@media (max-width: 980px) {
  :root {
    --home-shell: min(90vw, 780px);
  }

  .home-hero-shell {
    width: var(--home-shell);
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .home-hero-media {
    min-height: 480px;
  }

  .home-hero-media img {
    position: absolute;
    inset: 0;
  }

  .home-hero-copy {
    padding: 56px 50px 43px;
  }

  .home-hero h1 {
    font-size: clamp(4.3rem, 10vw, 6.2rem);
  }

  .home-hero-facts {
    margin-top: 48px;
  }

  .home-section-heading,
  .home-results-heading {
    grid-template-columns: 1fr;
    gap: 27px;
    align-items: start;
  }

  .home-section-heading > p,
  .home-results-heading > p {
    max-width: 560px;
  }

  .home-service-cards {
    grid-template-columns: 1fr;
  }

  .home-service-card {
    min-height: 270px;
  }

  .home-program-grid,
  .home-base-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .home-program-media {
    grid-row: 1;
  }

  .home-program-copy,
  .home-base-copy {
    max-width: 680px;
  }

  .home-base-gallery {
    height: 360px;
    flex: none;
  }

  .home-people-cards {
    grid-template-columns: 1fr;
  }

  .home-training-clients-intro {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .home-training-clients-copy {
    max-width: 680px;
    padding-top: 0;
  }

  .home-farm-intro {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .home-farm-copy {
    max-width: 680px;
  }

  .home-farm-features article {
    min-height: 205px;
  }

  .home-farm-photo-tall img {
    height: clamp(420px, 56vw, 560px);
  }

  .home-results-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .home-results-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .home-results-media img {
    aspect-ratio: 3 / 2;
  }

  .home-results-media-secondary img {
    aspect-ratio: 16 / 9;
  }

  .home-program-media figcaption,
  .home-results-media figcaption {
    padding-inline: 2px;
  }
}

@media (max-width: 700px) {
  :root {
    --home-shell: calc(100vw - 36px);
  }

  .home-hero {
    padding: 96px 0 34px;
  }

  .home-hero-shell {
    border-radius: 15px;
  }

  .home-hero-media {
    min-height: 0;
    aspect-ratio: 1.15 / 1;
  }

  .home-hero-media figcaption {
    bottom: 13px;
    left: 13px;
    font-size: 0.53rem;
  }

  .home-hero-copy {
    padding: 40px 25px 30px;
  }

  .home-hero-copy .home-kicker {
    margin-bottom: 20px;
  }

  .home-hero h1 {
    font-size: clamp(3.4rem, 17.2vw, 4.65rem);
  }

  .home-hero-intro {
    margin-top: 22px;
    font-size: 0.98rem;
  }

  .home-hero-actions {
    margin-top: 26px;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .home-hero-facts {
    margin-top: 35px;
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .home-services,
  .home-results,
  .home-farm,
  .home-people,
  .home-contact {
    padding-block: 70px;
  }

  .home-program {
    padding: 48px 0 58px;
  }

  .home-services {
    padding-bottom: 52px;
  }

  .home-base-light {
    padding: 64px 0 70px;
  }

  .home-training-clients {
    padding: 48px 0 70px;
  }

  .home-results {
    padding-bottom: 52px;
  }

  .home-training-clients-intro {
    gap: 27px;
  }

  .home-training-client-gallery {
    margin-top: 46px;
    column-count: 2;
    column-gap: 12px;
  }

  .home-training-client-photo {
    margin-bottom: 12px;
    border-radius: 14px;
  }

  .home-page h2 {
    font-size: clamp(2.35rem, 11.8vw, 3.25rem);
  }

  .home-section-heading,
  .home-results-heading {
    margin-bottom: 38px;
    gap: 20px;
  }

  .home-service-card {
    min-height: 255px;
    padding: 0;
    border-radius: 14px;
  }

  .home-service-card-body {
    padding: 26px;
  }

  .home-service-card h3 {
    margin-top: 31px;
  }

  .home-program-grid,
  .home-base-grid {
    gap: 40px;
  }

  .home-program-media img,
  .home-base-media img,
  .home-farm-photo img {
    border-radius: 14px;
  }

  .home-program-media figcaption,
  .home-farm-photo figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .home-farm-photo figcaption span {
    text-align: left;
  }

  .home-program-copy .home-lead {
    margin-top: 25px;
  }

  .home-base-copy .home-lead {
    margin-top: 0;
  }

  .home-base-gallery {
    height: auto;
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 9px;
  }

  .home-base-gallery figure,
  .home-base-gallery .home-base-gallery-feature,
  .home-base-gallery figure:nth-child(2),
  .home-base-gallery figure:nth-child(3),
  .home-base-gallery figure:nth-child(4),
  .home-base-gallery figure:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }

  .home-base-gallery .home-base-gallery-feature {
    grid-column: 1 / -1;
  }

  .home-base-gallery img,
  .home-base-gallery .home-base-gallery-feature img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .home-base-gallery .home-base-gallery-feature img {
    aspect-ratio: 16 / 9;
  }

  .home-farm-intro {
    gap: 27px;
  }

  .home-farm-copy .home-lead {
    margin-bottom: 18px;
  }

  .home-farm-features {
    margin-top: 48px;
    grid-template-columns: 1fr;
  }

  .home-farm-features article,
  .home-farm-features article:first-child,
  .home-farm-features article:last-child {
    min-height: 0;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--home-line);
  }

  .home-farm-features article:last-child {
    border-bottom: 0;
  }

  .home-farm-features h3 {
    margin-top: 22px;
  }

  .home-farm-gallery {
    margin-top: 50px;
    gap: 28px;
  }

  .home-farm-gallery-row,
  .home-farm-gallery-row-feature {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-farm-photo-hero img,
  .home-farm-photo img,
  .home-farm-photo-training img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .home-farm-photo-stalls img {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .home-program-stats {
    grid-template-columns: 1fr;
  }

  .home-program-stats div {
    min-height: 78px;
    padding-inline: 0;
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--home-line);
  }

  .home-program-stats div:last-child {
    border-bottom: 0;
  }

  .home-program-stats dd {
    margin: 0;
  }

  .home-results-list li,
  .home-results-list .home-result-featured {
    min-height: 0;
    padding: 20px 0;
  }

  .home-results-list .home-result-featured {
    padding-block: 26px;
    grid-column: 1;
  }

  .home-results-list {
    grid-template-columns: 1fr;
  }

  .home-results-list li:nth-child(even),
  .home-results-list li:nth-child(odd):not(:first-child) {
    padding-right: 0;
    padding-left: 0;
    border-left: 0;
  }

  .home-results-list .home-result-featured p {
    font-size: 1.12rem;
  }

  .home-results-media img {
    border-radius: 14px;
  }

  .home-results-media figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .home-results-gallery {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-base-media::before {
    right: -7px;
    bottom: -7px;
  }

  .home-people-cards article {
    padding: 27px;
  }

  .home-person-card-featured {
    padding: 0;
    grid-template-columns: 1fr;
  }

  .home-person-card-media {
    min-height: 0;
    grid-row: 1;
    aspect-ratio: 4 / 3;
  }

  .home-person-card-copy {
    padding: 27px;
    grid-row: 2;
  }

  .home-people-cards h3 {
    margin-top: 33px;
  }

  .home-partners {
    padding: 46px 0;
  }

  .home-partners-inner {
    grid-template-columns: 1fr;
    gap: 31px;
  }

  .home-partner-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 35px;
  }

  .home-contact {
    padding-bottom: 42px;
  }

  .home-contact-grid {
    grid-template-columns: 1fr;
    gap: 37px;
  }

  .home-contact-details {
    margin-top: 10px;
    grid-column: 1;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .home-contact-details div {
    padding: 17px 0;
    border-bottom: 1px solid rgba(30, 35, 41, 0.12);
  }

  .home-contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-contact-actions .home-button {
    width: 100%;
  }
}

/* iPhone layout polish */

@media (max-width: 980px) {
  :root {
    --home-shell: min(calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 36px), 780px);
  }
}

@media (max-width: 700px) {
  :root {
    --home-shell: min(calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 36px), 780px);
  }

  .home-page h2 {
    font-size: clamp(2.25rem, 10.8vw, 3rem);
    line-height: 1.04;
    text-wrap: balance;
  }

  .home-kicker {
    margin-bottom: 16px;
    font-size: 0.75rem;
    letter-spacing: 0.19em;
  }

  .home-lead {
    font-size: 1.15rem;
    line-height: 1.52;
  }

  .home-button {
    min-height: 52px;
  }

  .home-text-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .home-services,
  .home-results,
  .home-people,
  .home-contact {
    padding-top: 64px;
  }

  .home-program {
    padding: 44px 0 52px;
  }

  .home-base-light {
    padding: 56px 0 62px;
  }

  .home-training-clients {
    padding: 44px 0 64px;
  }

  .home-section-heading,
  .home-results-heading {
    margin-bottom: 34px;
    gap: 17px;
  }

  .home-section-heading > p,
  .home-results-heading > p,
  .home-people-heading > p:last-child,
  .home-training-clients-copy > p:not(.home-lead),
  .home-contact-copy > p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .home-service-cards {
    gap: 13px;
  }

  .home-service-card {
    min-height: 0;
  }

  .home-service-card-body {
    padding: 24px;
  }

  .home-service-card h3 {
    margin: 24px 0 12px;
    font-size: 1.85rem;
  }

  .home-service-card p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
  }

  .home-service-card-body > a {
    min-height: 48px;
    padding-top: 14px;
    font-size: 0.75rem;
  }

  .home-card-number,
  .home-program-stats dd,
  .home-results-ledger-heading,
  .home-people-cards article > span,
  .home-person-card-copy > span,
  .home-contact-details span {
    font-size: 0.72rem;
  }

  .home-program-grid,
  .home-base-grid {
    gap: 32px;
  }

  .home-program-stats {
    margin-top: 36px;
  }

  .home-base-gallery {
    padding-top: 20px;
  }

  .home-base-media {
    display: none;
  }

  .home-results-layout {
    gap: 38px;
  }

  .home-results-gallery {
    gap: 22px;
  }

  .home-results-media-secondary {
    display: none;
  }

  .home-results-media figcaption,
  .home-program-media figcaption {
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .home-results-list li,
  .home-results-list .home-result-featured {
    padding-block: 18px;
  }

  .home-results-list .home-result-featured {
    padding-block: 23px;
  }

  .home-training-clients-intro {
    gap: 22px;
  }

  .home-training-client-gallery {
    margin-top: 38px;
    column-gap: 10px;
  }

  .home-training-client-photo {
    margin-bottom: 10px;
    border-radius: 12px;
  }

  .home-people-cards {
    margin-top: 38px;
    gap: 12px;
  }

  .home-person-card-copy {
    padding: 24px;
  }

  .home-partners {
    padding: 42px 0;
  }

  .home-partner-logos {
    gap: 24px 30px;
  }

  .home-partner-logos img {
    height: 58px;
  }

  .home-contact-grid {
    gap: 30px;
  }

  .home-page .site-footer {
    padding-bottom: calc(30px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 390px) {
  :root {
    --home-shell: calc(100vw - 32px);
  }

  .home-partner-logos {
    gap: 22px 24px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .home-service-card:hover,
  .home-button:hover,
  .home-button:focus-visible {
    transform: none;
  }

  .home-service-card:hover .home-service-card-media img {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-media img {
    animation: none;
  }
}
