:root {
  --indigo-950: #1f2618;
  --indigo-900: #730361;
  --indigo-700: #536b35;
  --indigo-100: #f5e6f1;
  --grass-700: #526a31;
  --grass-600: #6c8941;
  --grass-100: #eef4e7;
  --gold: #d9962b;
  --ink: #18202f;
  --muted: #617083;
  --line: #dfe6ef;
  --paper: #fbfcf8;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(31, 38, 24, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 300;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

@keyframes fade-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes soft-zoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.06);
  }
}

@keyframes shape-drift {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-18px);
  }
}

@keyframes line-sweep {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal[data-animate="left"] {
  transform: translateX(-28px);
}

.reveal[data-animate="right"] {
  transform: translateX(28px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(251, 252, 248, 0.94);
  border-bottom: 1px solid rgba(108, 137, 65, 0.2);
  backdrop-filter: blur(14px);
  transition: box-shadow 220ms ease, background 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(251, 252, 248, 0.98);
  box-shadow: 0 14px 36px rgba(31, 38, 24, 0.12);
}

.site-header::before {
  content: "";
  position: absolute;
  left: clamp(18px, 5vw, 72px);
  right: clamp(18px, 5vw, 72px);
  bottom: -1px;
  height: 5px;
  background: linear-gradient(90deg, var(--grass-600) 0 68%, var(--indigo-900) 68% 100%);
  clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 18px 100%);
  transform-origin: left;
  animation: line-sweep 900ms ease both;
}

.brand img {
  width: min(240px, 52vw);
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(108, 137, 65, 0.24);
  border-radius: 8px;
  padding: 0;
  background:
    linear-gradient(135deg, rgba(108, 137, 65, 0.12), rgba(115, 3, 97, 0.06)),
    var(--white);
  box-shadow: 0 12px 28px rgba(31, 38, 24, 0.12);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 13px;
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: var(--indigo-900);
  transition: transform 180ms ease, opacity 180ms ease, top 180ms ease, background 180ms ease;
}

.menu-toggle span:nth-child(1) {
  top: 15px;
}

.menu-toggle span:nth-child(2) {
  top: 23px;
}

.menu-toggle span:nth-child(3) {
  top: 31px;
}

.menu-toggle:hover span {
  background: var(--grass-700);
}

.site-header.menu-open .menu-toggle span:nth-child(1) {
  top: 23px;
  transform: rotate(45deg);
}

.site-header.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .menu-toggle span:nth-child(3) {
  top: 23px;
  transform: rotate(-45deg);
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 300;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--indigo-900);
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--grass-600);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: calc(100vh - 86px);
  display: flex;
  align-items: center;
  padding: clamp(80px, 12vw, 150px) clamp(20px, 6vw, 86px);
  overflow: hidden;
  isolation: isolate;
}

.hero::before,
.hero::after,
.page-hero::before,
.contact-hero::before {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  right: -8vw;
  bottom: -1px;
  width: min(52vw, 720px);
  height: 34%;
  background: rgba(108, 137, 65, 0.88);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  animation: shape-drift 9s ease-in-out infinite;
}



.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -2;
  object-fit: cover;
  animation: soft-zoom 18s ease-in-out alternate infinite;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 18, 7, 0.55), rgba(0, 0, 0, 0.155), rgba(0, 0, 0, 0.08)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  color: var(--white);
  animation: fade-rise 800ms ease 160ms both;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--grass-600);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact-hero .eyebrow,
.page-hero .eyebrow {
  color: #d8edbd;
}

h1,
h2,
h3,
p,
strong,
label,
button,
a,
span {
  margin-top: 0;
  font-weight: 300;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.typing-text {
  display: inline-block;
  min-height: 1.88em;
}

.typing-text::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 0.82em;
  margin-left: 0.08em;
  background: #d8edbd;
  vertical-align: -0.04em;
  animation: cursor-blink 850ms steps(2, start) infinite;
}

@keyframes cursor-blink {
  50% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .typing-text::after {
    animation: none;
  }
}

h2 {
  margin-bottom: 18px;
  color: var(--indigo-950);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  color: var(--indigo-950);
  font-size: 1.35rem;
  line-height: 1.15;
}

.hero-copy {
  width: min(620px, 100%);
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 300;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button.primary {
  background: var(--grass-600);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(108, 137, 65, 0.22);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.button:hover {
  transform: translateY(-3px);
}

.intro-section,
.produce-grid,
.values-band,
.why-section,
.vision-section,
.home-cta,
.page-hero,
.story-section,
.values-page,
.cta-band,
.product-section,
.livestock-section,
.contact-hero,
.contact-details,
.contact-form-map {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 6vw, 86px);
}

.intro-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 0.94fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: stretch;
  background: var(--white);
  overflow: hidden;
}

.intro-image {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.intro-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 8px;
  background: linear-gradient(90deg, var(--grass-600), var(--indigo-900));
  clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
  z-index: 1;
}

.intro-image img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
  transition: transform 600ms ease;
}

.intro-image:hover img,
.story-image:hover img,
.why-image:hover img,
.vision-section:hover img,
.livestock-image:hover img,
.contact-details:hover img {
  transform: scale(1.04);
}

.intro-section::after,
.story-section::after,
.product-section::after {
  content: "";
  position: absolute;
  right: clamp(20px, 6vw, 86px);
  bottom: 0;
  width: 170px;
  height: 80px;
  background:
    linear-gradient(135deg, transparent 0 36%, rgba(115, 3, 97, 0.1) 36% 48%, transparent 48% 100%),
    linear-gradient(135deg, transparent 0 58%, rgba(108, 137, 65, 0.18) 58% 70%, transparent 70% 100%);
}

.intro-copy,
.story-copy,
.section-heading,
.livestock-copy,
.contact-details > div {
  position: relative;
}

.intro-copy::before,
.story-copy::before,
.section-heading::before,
.livestock-copy::before,
.contact-details > div::before {
  content: "";
  display: block;
  width: 78px;
  height: 7px;
  margin-bottom: 18px;
  background: linear-gradient(90deg, var(--indigo-900) 0 58%, var(--grass-600) 58% 100%);
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}

.intro-copy p:last-child,
.story-copy p,
.contact-details p,
.livestock-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.quick-contact,
.story-panel,
.contact-panel {
  position: relative;
  display: grid;
  align-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 28px;
  color: var(--white);
  background: var(--grass-700);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.quick-contact::after,
.story-panel::after,
.contact-panel::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: 0;
  width: 140px;
  height: 44px;
  background: var(--grass-600);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}

.quick-contact > *,
.story-panel > *,
.contact-panel > * {
  position: relative;
  z-index: 1;
}

.quick-contact span,
.story-panel span,
.contact-panel span,
.feature-card span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #88a267;
  font-size: 0.78rem;
  font-weight: 300;
  text-transform: uppercase;
}

.quick-contact strong,
.contact-panel strong {
  font-size: 2rem;
  line-height: 1;
}

.quick-contact a,
.contact-panel a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 300;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.produce-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.produce-grid .section-heading {
  grid-column: 1 / -1;
}

.feature-card,
.product-grid article,
.value-cards article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(115, 3, 97, 0.08);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.feature-card:hover,
.product-grid article:hover,
.value-cards article:hover,
.why-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(108, 137, 65, 0.32);
  box-shadow: 0 18px 42px rgba(31, 38, 24, 0.14);
}

.feature-card::before,
.product-grid article::before,
.value-cards article::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 92px;
  height: 8px;
  background: linear-gradient(90deg, var(--grass-600), rgba(108, 137, 65, 0.42));
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
  z-index: 2;
}

.feature-card.large {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.feature-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 650ms ease;
}

.feature-card:hover img,
.product-grid article:hover img {
  transform: scale(1.05);
}

.feature-card.large img {
  height: 420px;
}

.feature-card div {
  padding: 22px;
}

.feature-card p {
  color: var(--muted);
}

.values-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 42px;
  color: var(--white);
  background: var(--indigo-950);
  overflow: hidden;
}

.values-band::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: min(38vw, 520px);
  height: 100%;
  background: rgba(108, 137, 65, 0.22);
  clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%);
  animation: shape-drift 11s ease-in-out infinite;
}

.values-band h2 {
  color: var(--white);
}

.values-band > * {
  position: relative;
}

.values-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.values-list div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  column-gap: 16px;
  align-items: start;
  border-left: 4px solid var(--grass-600);
  padding: 2px 0 4px 18px;
}

.values-list strong,
.livestock-list strong,
.product-grid h3,
.footer-column h2,
.footer-column a,
.footer-column span,
.form-row label,
.contact-panel p {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.values-list strong {
  display: contents;
}

.values-list i,
.livestock-list i,
.product-grid h3 i,
.footer-column h2 i,
.footer-column a i,
.footer-column span i,
.form-row label i,
.contact-panel p i {
  color: var(--grass-600);
}

.values-list i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  grid-row: 1 / span 2;
  border-radius: 50%;
  color: var(--white);
  background: var(--grass-600);
  font-size: 1.3rem;
}

.values-list p {
  grid-column: 2;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.vision-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
  background: var(--grass-100);
  overflow: hidden;
}

.vision-section::before,
.cta-band::before,
.contact-details::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(42vw, 520px);
  height: 10px;
  background: linear-gradient(90deg, var(--grass-600), var(--indigo-900));
  clip-path: polygon(0 0, 100% 0, calc(100% - 24px) 100%, 0 100%);
}

.vision-section > *,
.cta-band > *,
.contact-details > * {
  position: relative;
  z-index: 1;
}

.vision-section img {
  width: 100%;
  max-height: 520px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
  transition: transform 650ms ease;
}

.text-link {
  display: inline-flex;
  color: var(--indigo-900);
  font-weight: 300;
  text-decoration: underline;
  text-decoration-color: var(--grass-600);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.site-footer {
  position: relative;
  display: grid;
  gap: 28px;
  padding: 56px clamp(20px, 6vw, 86px) 28px;
  color: var(--white);
  background: #202020;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: min(48vw, 620px);
  height: 100%;
  background: rgba(108, 137, 65, 0.14);
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.25fr) repeat(3, minmax(150px, 0.75fr));
  gap: clamp(26px, 4vw, 54px);
  align-items: start;
}

.site-footer img {
  width: 240px;
  height: 52px;
  margin-bottom: 12px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1) drop-shadow(0 6px 18px rgba(0, 0, 0, 0.28));
}

.site-footer p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-brand p {
  max-width: 330px;
}

.footer-column {
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.74);
}

.footer-column h2 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.2;
}

.footer-column a,
.footer-column span {
  font-size: 0.95rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.84);
}

.footer-column a:hover {
  color: #d8edbd;
}

.footer-contact a {
  font-weight: 300;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.06);
}

.footer-cta p {
  color: var(--white);
  font-weight: 300;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
}

.footer-bottom a {
  color: #d8edbd;
  font-weight: 300;
}

.footer-bottom a:hover {
  color: var(--white);
}

.page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 760px);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: 560px;
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(31, 38, 24, 0.92), rgba(50, 68, 33, 0.68), rgba(31, 38, 24, 0.2)),
    url("images/about.png") center/cover;
  overflow: hidden;
}

.services-hero {
  background:
    linear-gradient(100deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.68), rgba(31, 38, 24, 0)),
    url("images/sheepsUpscaled.png") center/cover;
}

.about-hero {
  background:
    linear-gradient(100deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.378), rgba(0, 0, 0, 0.2)),
    url("images/hero.jpeg") center/cover;
}



.page-hero > *,
.contact-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero h1,
.contact-hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.page-hero p:not(.eyebrow),
.contact-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

.story-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 36px;
  background: var(--white);
  overflow: hidden;
}

.story-panel strong {
  font-size: 1.7rem;
}

.story-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.story-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.story-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 8px;
  background: linear-gradient(90deg, var(--grass-600), var(--indigo-900));
  clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
  z-index: 1;
}

.story-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
  transition: transform 650ms ease;
}

.value-cards,
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.why-section {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.why-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: min(44vw, 560px);
  height: 10px;
  background: linear-gradient(90deg, var(--indigo-900), var(--grass-600));
  clip-path: polygon(24px 0, 100% 0, 100% 100%, 0 100%);
}

.why-section > * {
  position: relative;
  z-index: 1;
}

.why-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: stretch;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.why-grid article {
  position: relative;
  min-height: 250px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(115, 3, 97, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(245, 230, 241, 0.68), rgba(238, 244, 231, 0.74)),
    var(--white);
  box-shadow: 0 12px 34px rgba(115, 3, 97, 0.08);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.why-grid article::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: 0;
  width: 130px;
  height: 58px;
  background: rgba(108, 137, 65, 0.18);
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
}

.why-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--white);
  background: var(--indigo-900);
  font-weight: 300;
}

.why-grid span i {
  font-size: 1.05rem;
}

.why-grid h3 {
  margin-bottom: 12px;
}

.why-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.why-image {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.why-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 9px;
  background: linear-gradient(90deg, var(--grass-600), var(--indigo-900));
  clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
  z-index: 1;
}

.why-image img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
  transition: transform 650ms ease;
}

.value-cards article {
  padding: 24px;
}

.value-cards span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--grass-100);
  color: var(--grass-700);
  font-size: 1.35rem;
  font-weight: 300;
}

.value-cards p,
.product-grid p {
  color: var(--muted);
}

.cta-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--grass-100);
  overflow: hidden;
}

.cta-band h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.home-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(31, 38, 24, 0.95), rgba(50, 68, 33, 0.86)),
    url("images/market.jpeg") center/cover;
}

.home-cta::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(44vw, 540px);
  height: 54%;
  background: rgba(108, 137, 65, 0.55);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  animation: shape-drift 10s ease-in-out infinite;
}

.home-cta > * {
  position: relative;
  z-index: 1;
}

.home-cta h2 {
  max-width: 820px;
  color: var(--white);
}

.home-cta p:not(.section-kicker) {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.button.secondary.dark {
  border-color: rgba(255, 255, 255, 0.78);
  color: var(--white);
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-section {
  position: relative;
  overflow: hidden;
}

.product-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 650ms ease;
}

.product-grid div {
  padding: 22px;
}

.livestock-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
  background: var(--white);
}

.livestock-image img,
.contact-details img {
  width: 100%;
  height: 560px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 34px 100%, 0 calc(100% - 34px));
  transition: transform 650ms ease;
}

.livestock-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.livestock-list div {
  border-left: 4px solid var(--grass-600);
  padding-left: 18px;
}

.livestock-list p {
  margin-bottom: 0;
}

.contact-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 34px;
  align-items: center;
  min-height: 560px;
  padding: clamp(68px, 9vw, 120px) clamp(20px, 6vw, 86px);
  background:
    linear-gradient(100deg, rgba(31, 38, 24, 0.92), rgba(50, 68, 33, 0.72)),
    url("images/hero.jpeg") center/cover;
  overflow: hidden;
}

.contact-hero::before {
  right: 0;
  bottom: 0;
  width: min(50vw, 700px);
  height: 32%;
  background: rgba(108, 137, 65, 0.55);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  animation: shape-drift 10s ease-in-out infinite;
}

.contact-panel p {
  margin-top: 14px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.contact-details {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
  background: var(--white);
  overflow: hidden;
}

.contact-form-map {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: stretch;
  background: var(--grass-100);
}

.contact-form-card,
.map-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(108, 137, 65, 0.18);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.contact-form-card:hover,
.map-card:hover {
  transform: translateY(-6px);
  border-color: rgba(108, 137, 65, 0.32);
  box-shadow: 0 18px 42px rgba(31, 38, 24, 0.14);
}

.contact-form-card {
  padding: clamp(22px, 4vw, 34px);
}

.contact-form-card::before,
.map-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 130px;
  height: 8px;
  background: linear-gradient(90deg, var(--grass-600), var(--indigo-900));
  clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
  z-index: 1;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.form-row {
  display: grid;
  gap: 7px;
}

.form-row.full {
  grid-column: 1 / -1;
}

.form-row label {
  color: var(--indigo-950);
  font-size: 0.88rem;
  font-weight: 300;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(108, 137, 65, 0.28);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfcf8;
  font: inherit;
}

.form-row textarea {
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--grass-600);
  outline: 3px solid rgba(108, 137, 65, 0.18);
}

.contact-form .button {
  width: fit-content;
  margin-top: 4px;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
}

@media (max-width: 980px) {
  .site-header,
  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    align-items: center;
    flex-direction: row;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .intro-section,
  .values-band,
  .vision-section,
  .page-hero,
  .story-section,
  .home-cta,
  .why-layout,
  .livestock-section,
  .contact-hero,
  .contact-details,
  .contact-form-map {
    grid-template-columns: 1fr;
  }

  .feature-card.large {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .produce-grid,
  .product-grid,
  .value-cards,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-image img {
    min-height: 420px;
  }

  .home-cta-actions {
    justify-content: flex-start;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-cta,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .site-header {
    gap: 14px;
    min-height: 78px;
    padding: 12px 18px;
  }

  .site-header::before {
    left: 18px;
    right: 18px;
  }

  .brand img {
    width: min(210px, calc(100vw - 96px));
    height: 50px;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    margin-left: auto;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 18px;
    right: 18px;
    z-index: 30;
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid rgba(115, 3, 97, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 60px rgba(44, 5, 40, 0.22);
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    visibility: hidden;
    backdrop-filter: blur(16px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .main-nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 6px;
    background: linear-gradient(90deg, var(--indigo-900), var(--grass-600));
    clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
  }

  .site-header.menu-open .main-nav {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
  }

  .main-nav a {
    display: flex;
    align-items: center;
    min-height: 46px;
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--indigo-900);
  }

  .main-nav a:hover,
  .main-nav a.active {
    background: linear-gradient(90deg, var(--indigo-900), var(--indigo-700));
    color: var(--white);
  }
}

@media (max-width: 640px) {
  .site-header {
    position: sticky;
    min-height: auto;
  }

  .brand img {
    height: 48px;
  }

  .main-nav a {
    padding: 8px 10px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 680px;
  }

  h1 {
    font-size: 3rem;
  }

  .produce-grid,
  .product-grid,
  .value-cards,
  .why-grid,
  .values-list {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .footer-cta {
    padding: 18px;
  }

  .feature-card img,
  .feature-card.large img,
  .product-grid img,
  .why-image img,
  .livestock-image img,
  .contact-details img {
    height: 280px;
    min-height: 280px;
  }

  .quick-contact,
  .story-panel,
  .contact-panel {
    padding: 22px;
  }

  .intro-image,
  .intro-image img {
    min-height: 280px;
  }

  .story-image img {
    min-height: 280px;
  }
}
