:root {
  --paper: #FDF6E5;
  --green: #518430;
  --ink: #595556;
  --max: 72rem;
  --space-section: clamp(4rem, 9vw, 9rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 1.4rem;
  line-height: 1.35;
}
h1,
h2,
h3 {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 500;
   font-size: 1.4rem;
}
h4{
  font-size: 1rem;
  line-height: 1.1;
  font-weight: 300;
  font-family: 'Oswald';
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: .75rem;
  left: .75rem;
  padding: .7rem 1rem;
  background: #fff;
  color: #111;
  transform: translateY(-180%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: .2rem solid #145f19;
  outline-offset: .25rem;
}
[class*="__container"] {
  max-width: 108.125rem;
  margin: 0 auto;
  padding: 0 0.9375rem;
}

.hero {
  position: relative;
  min-height: clamp(30rem, 62vw, 48rem);
  overflow: hidden;
  background: var(--paper);
}

.hero__image {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  color: #fff;
  padding: 2rem;
  text-shadow: 0 .15rem .8rem rgb(0 0 0 / 30%);
}

.hero__logo {
  width: clamp(17rem, 26vw, 20rem);

  margin-bottom: 1rem;
}

.hero h1, .closing h2 {
  margin: 0;
 
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: .92;
  font-size: clamp(3rem, 7vw, 6rem);
}

.hero p, .closing p {
  margin: .8rem 0 0;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-style: italic;
}


.intro{
  background-color: var(--paper);;
}
.products { background: linear-gradient(180deg, #FFFFFF 0%, #FCF4E6 100%);}
.products--processed {background: linear-gradient(180deg, #FCF4E6 0%, #ffffff 100%); }
.section-white { background: #fff; }

.intro, .story { padding: var(--space-section) 1.25rem; }

.content-grid {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.content-grid--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: start;
}

h2 {
  margin: 0;
 
  text-transform: uppercase;
  letter-spacing: .025em;
  line-height: .95;
  font-size: clamp(2rem, 4vw, 2.5rem);
}

.intro h2, .story h2 { color: var(--green); }
.intro p, .story p {
  max-width: 36rem;
  margin: 0;
}

.story { padding-bottom: clamp(3rem, 7vw, 6rem); }

.products { padding: 4rem 1.25rem var(--space-section) ; }
.products--processed { padding-top: 0; }

.section-heading {
  width: min(100%, var(--max));
  margin: 0 auto clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(4rem, 1fr) auto minmax(4rem, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
}

.section-heading h2 {
  text-transform: none;
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  white-space: nowrap;
  font-weight: 500;
}



.product-grid {
  width: min(100%, 60rem);
  margin-inline: auto;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
}

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

.product-card {
  display: grid;
  justify-items: center;
  text-align: center;
  min-width: 0;
}

.product-card img {
  width: min(100%, 14rem);
  height: 13rem;
  object-fit: contain;
}

.product-card h3 {
  margin: 1rem 0 0;

}

.product-swiper {
  width: min(100%, 60rem);
  margin-inline: auto;
  padding-bottom: 3.5rem;
}

.product-swiper .swiper-slide { height: auto; }

.product-swiper .product-card img {
  width: min(100%, 16rem);
  height: 14rem;
}

.swiper-pagination { bottom: .5rem !important; }

.swiper-pagination-bullet {
  width: .65rem;
  height: .65rem;
  opacity: .5;
}

.swiper-pagination-bullet-active { opacity: 1; }

.closing {
 
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--space-section) 1.25rem;
}

.closing__inner { display: grid; justify-items: center; }
.closing__inner>img{
  margin-bottom: 2rem;
}

.site-footer {
  padding: 0 1.25rem 2rem;
  text-align: center;
  font-size: 1rem;
  color: #777;
}

.footer__line {
  width: min(100%, 68rem);
  height: 1px;
  margin: 0 auto 2rem;
  background: #ddd;
}
.footer__container{
  padding-top: 1rem;
  display: flex;
justify-content: space-between;
align-items: center;
}

.footer__social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  text-decoration: none;
  font-weight: 600;
}
.footer__right img{
  display: inline-block;
}

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

@media (max-width: 48rem) {
  .hero { min-height: 32rem; }
.footer__container{
  flex-direction: column;
}
  .content-grid--split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-heading {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: .75rem;
    text-align: center;
  }

  .section-heading h2 { white-space: normal; }

.closing__inner .hero__logo-dark{
max-width: 50%;
}

  .product-grid--milk {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .product-grid--milk .product-card img { height: 12rem; }
  .product-swiper { width: min(100%, 24rem); }
}

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