:root {
  --green-950: #122316;
  --green-850: #1e3823;
  --green-700: #3f6f39;
  --green-500: #70a64b;
  --gold: #d8a842;
  --cream: #f6f1e7;
  --paper: #fffdf7;
  --ink: #22251f;
  --muted: #6b705f;
  --line: rgba(18, 35, 22, 0.13);
  --shadow: 0 22px 60px rgba(18, 35, 22, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 86px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(255, 253, 247, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(18, 35, 22, 0.08);
  backdrop-filter: blur(12px);
}

.brand img {
  width: 176px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 34px);
  color: var(--green-950);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transition: width 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 4px;
}

.nav-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: var(--green-950);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 132px clamp(20px, 6vw, 92px) 70px;
  color: white;
  background: url("assets/goat-cover.jpg") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 35, 22, 0.88), rgba(18, 35, 22, 0.42) 58%, rgba(18, 35, 22, 0.18));
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.sdg-copy h2,
.contact-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(48px, 7vw, 90px);
}

.hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 26px 0 0;
  font-size: clamp(18px, 2vw, 23px);
}

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

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  color: var(--green-950);
  background: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 3px;
  font-weight: 800;
  text-decoration: none;
}

.button-ghost {
  color: white;
  background: transparent;
}

.hero address {
  margin-top: 46px;
  color: rgba(255, 255, 255, 0.86);
  font-style: normal;
}

.section {
  padding: clamp(74px, 10vw, 122px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 880px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2,
.sdg-copy h2 {
  color: var(--green-950);
  font-size: clamp(34px, 5vw, 58px);
}

.section-heading p:not(.eyebrow),
.sdg-copy p {
  max-width: 790px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.story-grid,
.farm-layout,
.contact-panel {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: center;
}

.statement,
.benefits,
.farm-copy,
.product {
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: var(--shadow);
}

.statement {
  min-height: 210px;
  padding: 34px;
  text-align: center;
}

.statement h3,
.farm-copy h3,
.benefits h3,
.product h3 {
  margin: 0 0 14px;
  color: var(--green-850);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}

.statement p,
.story-copy p,
.farm-copy p,
.benefits li,
.product p {
  margin: 0;
  color: var(--muted);
}

.story-copy {
  padding-right: 20px;
}

.story-copy p + p {
  margin-top: 16px;
}

.text-link {
  margin-top: 24px;
}

.story-image {
  margin: 0;
}

.story-image img,
.gallery img,
.product img {
  width: 100%;
  object-fit: cover;
}

.story-image img {
  height: 470px;
  border-radius: 7px;
  box-shadow: var(--shadow);
}

.farm-section,
.products-section {
  background: var(--cream);
}

.farm-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
}

.farm-copy,
.benefits {
  padding: 36px;
}

blockquote {
  margin: 26px 0 0;
  padding: 22px 24px;
  color: var(--green-950);
  background: rgba(112, 166, 75, 0.12);
  border-left: 5px solid var(--green-500);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.35;
}

.benefits ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding-left: 22px;
}

.sdg-section {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 42px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.sdg-section img {
  justify-self: end;
}

.sdg-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.sdg-list span {
  padding: 16px 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--green-850);
  font-weight: 800;
  text-align: center;
}

.gallery,
.product-grid {
  display: grid;
  width: min(1160px, 100%);
  margin: 0 auto;
  gap: 22px;
}

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

.gallery figure {
  position: relative;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  border-radius: 7px;
  background: var(--green-950);
}

.gallery img {
  height: 100%;
  min-height: 320px;
  opacity: 0.88;
  transition: transform 220ms ease, opacity 220ms ease;
}

.gallery figure:hover img {
  transform: scale(1.05);
  opacity: 0.72;
}

.gallery figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 700;
}

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

.product {
  overflow: hidden;
}

.product img {
  height: 190px;
}

.product h3,
.product p {
  padding-left: 18px;
  padding-right: 18px;
}

.product h3 {
  margin-top: 18px;
}

.product p {
  padding-bottom: 22px;
  font-size: 15px;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--green-950);
  color: white;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: clamp(44px, 6vw, 82px);
}

.footer-logo {
  grid-column: 1 / -1;
  width: 220px;
  padding: 12px;
  background: white;
  border-radius: 5px;
}

.contact-panel h2 {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 31px;
}

.contact-panel p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-panel a {
  color: white;
  text-decoration-color: rgba(216, 168, 66, 0.7);
}

.contact-section iframe {
  width: 100%;
  min-height: 480px;
  border: 0;
  filter: saturate(0.82);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  padding: 20px;
  color: rgba(255, 255, 255, 0.72);
  background: #0c180f;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 76px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 24px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 13px 0;
  }

  .story-grid,
  .farm-layout,
  .sdg-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .gallery,
  .product-grid,
  .sdg-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-section iframe {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .brand img {
    width: 140px;
  }

  .hero {
    min-height: 92vh;
  }

  .hero h1 {
    font-size: 44px;
  }

  .story-grid,
  .gallery,
  .product-grid,
  .sdg-list,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .statement,
  .farm-copy,
  .benefits {
    padding: 26px;
  }

  .story-image img {
    height: 340px;
  }
}
