.recipes-page {
  overflow: hidden;
  background: var(--paper);
}

.recipes-hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--bark-deep);
}

.recipes-hero > img,
.recipes-donation > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recipes-hero > img {
  object-position: center 46%;
}

.recipes-hero-shade,
.recipes-donation-shade {
  position: absolute;
  inset: 0;
}

.recipes-hero-shade {
  background:
    linear-gradient(90deg, rgba(45,26,16,.92), rgba(45,26,16,.54) 46%, rgba(45,26,16,.08) 82%),
    linear-gradient(0deg, rgba(45,26,16,.45), transparent 52%);
}

.recipes-hero-inner,
.recipes-list {
  width: min(var(--content-max), calc(100% - (2 * var(--page-pad))));
  margin-inline: auto;
}

.recipes-hero-inner {
  position: relative;
  z-index: 1;
  padding: 100px 0 88px;
}

.recipes-hero h1 {
  max-width: 920px;
  font-size: clamp(82px, 8.5vw, 128px);
}

.recipes-list {
  padding-block: 110px 125px;
}

.recipes-list-heading {
  max-width: 760px;
  margin-bottom: 58px;
}

.recipes-list-heading h2 {
  font-size: clamp(52px, 5vw, 76px);
}

.recipes-grid {
  display: grid;
  gap: 46px;
}

.recipe-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr);
  min-height: 560px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(111,67,43,.18);
  border-radius: 6px;
}

.recipe-entry-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: var(--bark-deep);
}

.recipe-entry-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(.2,.65,.3,1);
}

.recipe-entry:hover .recipe-entry-media img {
  transform: scale(1.025);
}

.recipe-entry-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(42px, 5vw, 78px);
}

.recipe-entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-bottom: 28px;
  color: #7e6759;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.recipe-entry-meta span + span::before {
  content: "•";
  margin-right: 20px;
  color: var(--honey);
}

.recipe-entry h3 {
  margin: 0 0 38px;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: clamp(42px, 4vw, 64px);
  line-height: 1.06;
}

.recipe-entry h3 a {
  color: inherit;
}

.recipes-empty {
  margin: 0;
  font-size: 20px;
}

.recipes-donation {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bark-deep);
}

.recipes-donation > img {
  object-position: center 28%;
}

.recipes-donation-shade {
  background: rgba(45,26,16,.64);
}

.recipes-donation .button {
  position: relative;
  z-index: 1;
  min-width: 250px;
  box-shadow: 0 18px 50px rgba(45,26,16,.28);
}

.motion-ready .recipes-grid [data-v2-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s ease, transform .75s ease;
}

.motion-ready .recipes-grid [data-v2-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .recipe-entry {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .recipe-entry-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 620px) {
  .recipes-hero {
    min-height: 420px;
  }

  .recipes-hero > img {
    object-position: 52% center;
  }

  .recipes-hero-shade {
    background: linear-gradient(0deg, rgba(45,26,16,.94), rgba(45,26,16,.18) 84%);
  }

  .recipes-hero-inner,
  .recipes-list {
    width: calc(100% - 40px);
  }

  .recipes-hero-inner {
    padding: 150px 0 42px;
  }

  .recipes-hero h1 {
    font-size: 54px;
    line-height: 1;
  }

  .recipes-list {
    padding-block: 72px 82px;
  }

  .recipes-list-heading {
    margin-bottom: 34px;
  }

  .recipes-list-heading h2 {
    font-size: 42px;
    line-height: 1.08;
  }

  .recipe-entry-media {
    aspect-ratio: 4 / 3;
  }

  .recipe-entry-content {
    padding: 28px 20px 32px;
  }

  .recipe-entry-meta {
    display: grid;
    gap: 4px;
    margin-bottom: 20px;
    font-size: 11px;
    line-height: 1.5;
  }

  .recipe-entry-meta span + span::before {
    content: none;
  }

  .recipe-entry h3 {
    margin-bottom: 28px;
    font-size: 38px;
    line-height: 1.1;
  }

  .recipe-entry .button,
  .recipes-donation .button {
    width: 100%;
  }

  .recipe-entry .button {
    gap: 12px;
    padding-inline: 16px;
    font-size: 13px;
    white-space: nowrap;
  }

  .recipes-donation {
    min-height: 440px;
  }

  .recipes-donation > img {
    object-position: 58% center;
  }

  .recipes-donation .button {
    width: calc(100% - 40px);
  }

  .motion-ready .recipes-grid [data-v2-reveal] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .recipe-entry-media img,
  .motion-ready .recipes-grid [data-v2-reveal] {
    transition: none;
  }

  .motion-ready .recipes-grid [data-v2-reveal] {
    opacity: 1;
    transform: none;
  }
}
