:root {
  --forest-950: #203a26;
  --forest-900: #29482d;
  --forest-800: #395837;
  --olive-700: #56652f;
  --olive-500: #8b8c4b;
  --cream-50: #fbf8ef;
  --cream-100: #f5f0e4;
  --cream-200: #ebe3d1;
  --red-700: #9e342e;
  --red-800: #842821;
  --gold-500: #a9a066;
  --text: #273127;
  --muted: #5c665e;
  --white: #ffffff;
  --border: #d7d0c1;
  --max-width: 1240px;
}

* { box-sizing: border-box; }

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream-50);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
}

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

.responsive-picture {
  display: block;
  min-width: 0;
}

.farm-hero__photo > .responsive-picture {
  width: 100%;
  height: 100%;
}

a { color: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid #c69a3a;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -6rem;
  z-index: 999;
  padding: .7rem 1rem;
  background: var(--white);
  color: var(--text);
}

.skip-link:focus { top: 1rem; }

.section-wrap,
.site-header__inner,
.site-footer__inner {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: relative;
  z-index: 30;
  background: var(--cream-50);
  border-bottom: 1px solid rgba(51, 62, 50, .08);
}

.site-header__inner {
  min-height: 126px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  width: min(360px, 34vw);
  flex: 0 0 auto;
}

.brand__logo {
  width: 100%;
  height: auto;
}

.header-navigation {
  margin-left: auto;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "social utility"
    "primary primary";
  align-items: center;
  justify-content: flex-end;
  column-gap: 1rem;
  row-gap: .35rem;
  min-width: 0;
}

.primary-nav {
  grid-area: primary;
  justify-self: end;
}

.utility-nav {
  grid-area: utility;
  justify-self: end;
}

.header-social {
  grid-area: social;
  justify-self: end;
}

.primary-nav ul,
.utility-nav ul {
  display: flex;
  align-items: center;
  gap: .15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  display: inline-block;
  padding: .65rem .5rem;
  color: #273027;
  text-decoration: none;
  font-size: 1rem;
  white-space: nowrap;
}

.primary-nav a:hover,
.utility-nav a:hover {
  color: var(--red-700);
}

.utility-nav {
  padding-left: 1rem;
  border-left: 1px solid var(--border);
}

.utility-nav ul {
  gap: .5rem;
}

.utility-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: .52rem .72rem;
  border: 1px solid var(--forest-800);
  background: var(--cream-50);
  color: var(--forest-950);
  font: 700 .78rem/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.utility-nav__item--forest a {
  border-color: #111111;
  background: var(--forest-900);
  color: var(--white);
}

.utility-nav__item--forest a:hover {
  border-color: #111111;
  background: var(--forest-950);
  color: var(--white);
}

.utility-nav__item--emphasis a {
  border-color: #111111;
  background: var(--red-700);
  color: var(--white);
}

.utility-nav__item--emphasis a:hover {
  border-color: #111111;
  background: var(--red-800);
  color: var(--white);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  padding: .65rem .8rem;
  background: transparent;
  color: var(--forest-950);
  border: 1px solid var(--border);
  border-radius: .25rem;
  font: 700 .9rem system-ui, sans-serif;
  cursor: pointer;
}

.menu-toggle__icon {
  display: inline-block;
  position: relative;
  width: 1.05rem;
  height: .72rem;
  margin-left: .45rem;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.menu-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 2px solid currentColor;
  transform: translateY(-50%);
}

/* Hero */
.farm-hero {
  position: relative;
  min-height: 555px;
  overflow: hidden;
  background: var(--cream-100);
}

.farm-hero__photo {
  position: absolute;
  inset: 0;
}

.farm-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.farm-hero__content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 2rem), var(--max-width));
  min-height: 555px;
  margin-inline: auto;
  display: flex;
  align-items: stretch;
}

.farm-hero__panel {
  width: min(47%, 560px);
  padding: clamp(3rem, 6vw, 5.2rem) clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(90deg,
      rgba(251,248,239,.99) 0%,
      rgba(251,248,239,.98) 68%,
      rgba(251,248,239,.87) 84%,
      rgba(251,248,239,0) 100%);
}

.farm-hero h1 {
  max-width: 470px;
  margin: 0;
  color: var(--forest-950);
  font-weight: 400;
  font-size: clamp(2.5rem, 4.8vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -.02em;
}

.farm-hero p {
  max-width: 430px;
  margin: 0 0 1.6rem;
  font-size: 1.04rem;
}

.ornament {
  display: flex;
  align-items: center;
  gap: .6rem;
  width: min(260px, 100%);
  margin: 1.3rem 0 1.5rem;
  color: var(--gold-500);
}

.ornament span {
  height: 1px;
  flex: 1;
  background: currentColor;
  opacity: .7;
}

.ornament b {
  font-size: .78rem;
  font-weight: 400;
}

.ornament--left {
  max-width: 260px;
}

.button {
  width: fit-content;
  display: inline-block;
  padding: .85rem 1.2rem;
  border-radius: .3rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.button--red {
  background: var(--red-700);
  color: var(--white);
}

.button--red:hover {
  background: var(--red-800);
}

/* Facts */
.facts-band {
  background: linear-gradient(90deg, #334723, #41542b 55%, #334723);
  color: var(--white);
}

.facts-band__grid {
  min-height: 126px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.fact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding: 1.25rem 2rem;
  border-right: 1px solid rgba(255,255,255,.35);
}

.fact:last-child {
  border-right: 0;
}

.fact__icon {
  color: #d4c96e;
  font-size: 2.6rem;
  line-height: 1;
}

.fact strong {
  display: inline-block;
  margin-right: .45rem;
  color: var(--white);
  font-size: 3.25rem;
  font-weight: 400;
  line-height: .95;
}

.fact span:not(.fact__icon) {
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .08em;
}

.fact small {
  display: block;
  margin-top: .35rem;
  font-size: .78rem;
  line-height: 1.35;
}

.fact .fact__word {
  display: block;
  margin: 0 0 .15rem;
  font-size: 1.9rem;
}

/* Feature cards */
.feature-links {
  padding: 1.45rem 0 1.7rem;
  background:
    linear-gradient(rgba(251,248,239,.95), rgba(251,248,239,.95)),
    radial-gradient(circle at 10% 15%, rgba(90, 105, 69, .08), transparent 25%);
}

.feature-links__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .9rem;
}

.feature-card {
  min-height: 285px;
  padding: 1.45rem 1rem 1.2rem;
  text-align: center;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.28);
}

.feature-card__icon {
  margin-bottom: .75rem;
  color: var(--forest-800);
  font-size: 2.45rem;
  line-height: 1;
}

.feature-card__icon--red {
  color: var(--red-700);
}

.feature-card h2 {
  min-height: 3.3rem;
  margin: 0 0 .65rem;
  color: var(--forest-950);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.1;
}

.feature-card p {
  min-height: 5.1rem;
  margin: 0 0 .8rem;
  color: #3c463e;
  font-size: .9rem;
  line-height: 1.45;
}

.feature-card a {
  color: var(--red-700);
  font-family: system-ui, sans-serif;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}

/* Story */
.story-section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background:
    linear-gradient(rgba(247,241,229,.96), rgba(247,241,229,.96)),
    radial-gradient(circle at 30% 20%, rgba(76, 91, 55, .08), transparent 28%);
}

.story-section__grid {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(0, 1.8fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 .65rem;
  font-family: system-ui, sans-serif;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.eyebrow--red {
  color: var(--red-700);
}

.story-copy h2 {
  margin: 0;
  color: var(--forest-950);
  font-size: clamp(2.6rem, 4.4vw, 4.4rem);
  font-weight: 400;
  line-height: 1.03;
}

.story-copy p {
  max-width: 470px;
  font-size: .98rem;
}

.story-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .55rem;
}

.story-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.story-gallery__wide {
  grid-column: 1 / -1;
  aspect-ratio: 2.6 / 1 !important;
  object-position: center;
}

.story-gallery > .responsive-picture:first-child {
  grid-column: 1 / -1;
}

/* Interior placeholders */
.page-shell {
  width: min(calc(100% - 2rem), 780px);
  margin-inline: auto;
  padding: 5rem 0 6rem;
}

.page-shell h1 {
  margin: 0 0 1rem;
  color: var(--forest-950);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400;
}

/* Footer */
.site-footer {
  background: #263d25;
  color: #e8eee4;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr auto;
  gap: 2rem;
  padding: 2.3rem 0;
  align-items: start;
}

.site-footer p {
  margin: 0 0 .3rem;
}

.site-footer__name {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
}

.site-footer__tagline,
.site-footer__note {
  color: #cdd8c9;
  font-size: .82rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1rem;
}

.footer-nav a {
  color: #e8eee4;
  font-size: .84rem;
  text-decoration: none;
}

.site-footer__note {
  text-align: right;
}

/* Responsive */
@media (min-width: 1101px) and (max-width: 1240px) {
  .site-header__inner {
    gap: 1rem;
  }

  .header-navigation {
    column-gap: .5rem;
    row-gap: .3rem;
  }

  .primary-nav a {
    padding-inline: .2rem;
    font-size: .94rem;
  }

  .utility-nav {
    padding-left: .6rem;
  }

  .utility-nav a {
    padding-inline: .55rem;
    font-size: .74rem;
  }
}

@media (max-width: 1100px) {
  .site-header__inner {
    min-height: 96px;
  }

  .brand {
    width: min(330px, 55vw);
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .header-navigation {
    display: none;
    position: absolute;
    inset: 100% 0 auto 0;
    background: var(--cream-50);
    border-bottom: 1px solid var(--border);
  }

  .menu-open .header-navigation {
    display: block;
  }

  .primary-nav ul,
  .utility-nav ul {
    width: min(calc(100% - 2rem), var(--max-width));
    margin-inline: auto;
    display: grid;
  }

  .primary-nav,
  .utility-nav {
    width: 100%;
    justify-self: stretch;
  }

  .primary-nav ul {
    padding: .75rem 0 .25rem;
  }

  .primary-nav a,
  .utility-nav a {
    width: 100%;
    padding: .75rem 0;
    border: 0;
    background: transparent;
    color: #273027;
    font: inherit;
    font-size: .95rem;
    letter-spacing: 0;
    text-transform: none;
    justify-content: flex-start;
  }

  .utility-nav {
    padding: 0;
    border-left: 0;
  }

  .utility-nav ul {
    padding: .25rem 0 1rem;
    border-top: 1px solid var(--border);
  }

  .utility-nav__item--forest a,
  .utility-nav__item--forest a:hover,
  .utility-nav__item--emphasis a,
  .utility-nav__item--emphasis a:hover {
    border: 0;
    background: transparent;
    color: #273027;
  }

  .feature-links__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .farm-hero {
    min-height: 0;
  }

  .farm-hero__photo {
    position: relative;
    height: 360px;
  }

  .farm-hero__photo img {
    object-position: center;
  }

  .farm-hero__content {
    min-height: 0;
    width: 100%;
  }

  .farm-hero__panel {
    width: 100%;
    max-width: none;
    padding: 2.5rem 1rem 3rem;
    background: var(--cream-50);
  }

  .farm-hero h1,
  .farm-hero p {
    max-width: 680px;
  }

  .facts-band__grid {
    grid-template-columns: 1fr;
  }

  .fact {
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.3);
  }

  .fact:last-child {
    border-bottom: 0;
  }

  .story-section__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .brand {
    width: min(240px, 62vw);
  }

  .feature-links__grid {
    grid-template-columns: 1fr;
  }

  .feature-card:last-child {
    grid-column: auto;
  }

  .story-gallery {
    grid-template-columns: 1fr;
  }

  .story-gallery__wide {
    grid-column: auto;
    aspect-ratio: 4 / 3 !important;
  }

  .story-gallery > .responsive-picture:first-child {
    grid-column: auto;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__note {
    text-align: left;
  }
}

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