/* =========================================
   INGREDIENTS PAGE
========================================= */

.ingredients-page {
  background: #f7f5ef;
  color: #1d1d1a;
}

.ingredients-page .site-header .brand,
.ingredients-page .site-header .site-nav a,
.ingredients-page .site-header .language {
  color: #171715;
}

.ingredients-page .site-header {
  background: rgba(235, 231, 223, .88);
  border-bottom: 1px solid rgba(23, 23, 21, .08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.ingredients-page .site-header .nav-store {
  border-color: rgba(23, 23, 21, .3);
}

.ingredients-page .site-header .nav-store:hover {
  background: #171715;
  color: #fff;
  border-color: #171715;
}

/* =========================================
   COMMON
========================================= */

.ingredients-content {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.ingredients-kicker {
  margin: 0 0 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}


/* =========================================
   HERO
========================================= */

.ingredients-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  padding: 180px 0 100px;
  overflow: hidden;
  background: #ebe7df;
}

.ingredients-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.ingredients-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    90deg,
    rgba(248, 246, 241, .95) 0%,
    rgba(248, 246, 241, .88) 28%,
    rgba(248, 246, 241, .50) 48%,
    rgba(248, 246, 241, .08) 68%,
    rgba(248, 246, 241, 0) 100%
  );
  pointer-events: none;
}

.ingredients-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.ingredients-hero .ingredients-kicker {
  color: #69665f;
}

.ingredients-hero h1 {
  max-width: 860px;
  margin: 0;
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
  font-size: clamp(2.6rem, 3.7vw, 4rem);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -.025em;
}

.ingredients-lead {
  max-width: 650px;
  margin: 52px 0 0 0;
  font-size: 15px;
  line-height: 2;
  color: #5f5c56;
}


/* =========================================
   INTRO
========================================= */

.ingredients-intro {
  padding: 120px 0;
  background: #26241f;
  color: #f4f1e9;
}

.ingredients-intro .ingredients-kicker {
  color: rgba(244, 241, 233, .52);
}

.ingredients-intro .ingredients-content {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(60px, 9vw, 150px);
}

.ingredients-intro-title h2 {
  margin: 0;
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -.025em;
}

.ingredients-intro-copy {
  padding-top: 42px;
}

.ingredients-intro-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 2.1;
  color: rgba(244, 241, 233, .72);
}

.ingredients-intro-copy p + p {
  margin-top: 28px;
}


/* =========================================
   CATEGORY
========================================= */

.ingredient-category {
  padding: 95px 0 120px;
  background: #f8f6f1;
}

.ingredient-category-alt {
  background: #ebe7df;
}

.category-heading {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 55px;
  border-bottom: 1px solid rgba(23, 23, 21, .2);
}

.category-heading > span {
  padding-top: 7px;
  font-size: 12px;
  letter-spacing: .16em;
  color: #77736a;
}

.category-heading p {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #77736a;
}

.category-heading h2 {
  margin: 0;
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
  font-size: clamp(1.9rem, 2.85vw, 3.2rem);
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: -0.02em;
}


/* =========================================
   INGREDIENT ROW
========================================= */

.ingredient-list {
  border-bottom: 1px solid rgba(23, 23, 21, .18);
}

.ingredient-row {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 190px;
  gap: 50px;
  align-items: center;
  min-height: 155px;
  padding: 32px 0;
  border-top: 1px solid rgba(23, 23, 21, .18);

  transition:
    padding 450ms cubic-bezier(.22, 1, .36, 1),
    opacity 350ms ease;
}

.ingredient-row:first-child {
  border-top: 0;
}

.ingredient-name p {
  margin: 0 0 7px;
  font-family:
    "Bodoni 72",
    Didot,
    "Times New Roman",
    serif;
  font-size: 14px;
  letter-spacing: .05em;
  color: #77736a;
}

.ingredient-name h3 {
  margin: 0;
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  font-weight: 400;
}

.ingredient-description {
  max-width: 570px;
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: #5e5b55;
}

.ingredient-recipe {
  justify-self: end;
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: .15em;
  text-align: right;
  white-space: nowrap;
  color: #7b776e;

}@media (hover: hover) {
  .ingredient-row:hover {
    padding-left: 14px;
    padding-right: 14px;
  }

  .ingredient-list:hover .ingredient-row:not(:hover) {
    opacity: .52;
  }
}


/* =========================================
   DARK CATEGORY
========================================= */

.ingredient-category-dark {
  background: #171715;
  color: #f4f1e9;
}

.ingredient-category-dark .category-heading {
  border-color: rgba(255, 255, 255, .2);
}

.ingredient-category-dark .category-heading > span,
.ingredient-category-dark .category-heading p {
  color: rgba(255, 255, 255, .5);
}

.ingredient-category-dark .ingredient-list {
  border-color: rgba(255, 255, 255, .16);
}

.ingredient-category-dark .ingredient-row {
  border-color: rgba(255, 255, 255, .16);
}

.ingredient-category-dark .ingredient-name p,
.ingredient-category-dark .ingredient-recipe {
  color: rgba(255, 255, 255, .48);
}

.ingredient-category-dark .ingredient-description {
  color: rgba(255, 255, 255, .66);
}


/* =========================================
   CLOSING
========================================= */

.ingredients-closing {
  padding: 170px 32px;
  background: #f8f6f1;
  text-align: center;
}

.ingredients-closing-inner {
  max-width: 800px;
  margin: 0 auto;
}

.ingredients-closing .ingredients-kicker {
  color: #77736a;
}

.ingredients-closing h2 {
  margin: 0;
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
  font-size: clamp(1.9rem, 2.85vw, 3.2rem);
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: -0.02em;
}

.ingredients-closing-inner > p:not(.ingredients-kicker) {
  margin: 36px auto 0;
  font-size: 14px;
  line-height: 1.9;
  color: #646159;
}

.ingredients-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 45px;
}

.ingredients-links a {
  min-width: 130px;
  padding: 13px 20px;
  border: 1px solid rgba(23, 23, 21, .3);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .08em;

  transition:
    background-color 300ms ease,
    color 300ms ease,
    border-color 300ms ease;
}

.ingredients-links a:hover {
  background: #171715;
  color: #fff;
  border-color: #171715;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

  .ingredients-content,
  .ingredients-hero-inner {
    width: min(100% - 48px, 1180px);
  }

  .ingredients-hero {
    min-height: 70vh;
    padding: 150px 0 80px;
  }

  .ingredients-lead {
    margin-left: 0;
  }

  .ingredients-intro {
    padding: 110px 0;
  }

  .ingredients-intro .ingredients-content {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .ingredients-intro-copy {
    padding-top: 0;
    max-width: 650px;
  }

  .ingredient-category {
    padding: 105px 0 120px;
  }

  .ingredient-row {
    grid-template-columns: 190px 1fr;
    gap: 22px 38px;
  }

  .ingredient-recipe {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

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

  .ingredients-hero {
    min-height: 72vh;
    padding: 135px 0 65px;
  }

  .ingredients-hero h1 {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

  .ingredients-lead {
    margin-top: 36px;
    font-size: 13px;
    line-height: 1.9;
  }

  .ingredients-lead br {
    display: none;
  }

  .ingredients-intro {
    padding: 85px 0;
  }

  .ingredient-category {
    padding: 80px 0 95px;
  }

  .category-heading {
    grid-template-columns: 45px 1fr;
    gap: 14px;
    padding-bottom: 35px;
  }



  .ingredient-row {
    display: block;
    min-height: 0;
    padding: 30px 0;
  }

  .ingredient-description {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.85;
  }

  .ingredient-recipe {
    display: block;
    margin-top: 20px;
    text-align: left;
  }

  .ingredients-closing {
    padding: 110px 20px;
  }

  .ingredients-links {
    flex-direction: column;
    align-items: stretch;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

  .ingredient-row,
  .ingredients-links a {
    transition: none;
  }
}

/* =========================================
   INGREDIENT INDEX
========================================= */

.ingredient-index {
  position: sticky;
  top: 72px;
  z-index: 50;

  background: #f8f6f1;
  border-top: 1px solid rgba(23, 23, 21, .12);
  border-bottom: 1px solid rgba(23, 23, 21, .12);
}
.ingredient-index-inner {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 34px 0 38px;
}

.ingredient-index-inner > p {
  margin: 0 0 22px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #77736a;
}

.ingredient-index-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.ingredient-index-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  font-size: 12px;
  color: #393731;

  transition:
    opacity 250ms ease,
    transform 250ms ease;
}

.ingredient-index-links a span {
  font-size: 9px;
  letter-spacing: .08em;
  color: #8b877e;
}

.ingredient-index-links a:hover {
  opacity: .55;
  transform: translateY(-2px);
}

#animal-protein,
#grains,
#plants,
#oils,
#nutrition,
#quality-preservation {
  scroll-margin-top: 120px;
}

@media (max-width: 700px) {

  .ingredient-index-inner {
    width: 100%;
    padding: 28px 20px 30px;
  }

  .ingredient-index-inner > p {
    margin-bottom: 18px;
  }

  .ingredient-index-links {
    overflow-x: auto;
    gap: 25px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .ingredient-index-links::-webkit-scrollbar {
    display: none;
  }
}


/* =========================================
   FINAL POLISH — INGREDIENTS
========================================= */

/* Ingredients page uses a light header, including mobile controls. */
.ingredients-page .site-header .mobile-shop,
.ingredients-page .site-header .mobile-menu-toggle {
  color: #171715;
}

/* Ingredient Index arrows are mobile-only. */
.ingredient-index-scroll {
  position: relative;
}

.ingredient-index-arrow {
  display: none;
}

@media (max-width: 700px) {
  /* Shift the hero crop toward the protein side of the still life. */
  .ingredients-hero-bg {
    object-position: 78% center;
  }

  /* Keep text readable while allowing more meat/fish to remain visible. */
  .ingredients-hero::after {
    background: linear-gradient(
      90deg,
      rgba(248, 246, 241, .96) 0%,
      rgba(248, 246, 241, .88) 34%,
      rgba(248, 246, 241, .54) 58%,
      rgba(248, 246, 241, .14) 78%,
      rgba(248, 246, 241, 0) 100%
    );
  }

  /* A little tighter: the sticky index should guide, not cover the page. */
  .ingredient-index-inner {
    width: 100%;
    padding: 18px 14px 16px;
  }

  .ingredient-index-inner > p {
    margin: 0 42px 12px;
  }

  .ingredient-index-scroll {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 7px;
    align-items: center;
  }

  .ingredient-index-links {
    min-width: 0;
    overflow-x: auto;
    gap: 24px;
    padding: 5px 2px 7px;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .ingredient-index-links a {
    scroll-snap-align: start;
  }

  .ingredient-index-links::-webkit-scrollbar {
    display: none;
  }

  .ingredient-index-arrow {
    appearance: none;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0 0 2px;
    border: 1px solid rgba(23, 23, 21, .18);
    border-radius: 999px;
    background: rgba(248, 246, 241, .92);
    color: #393731;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    line-height: 1;
    cursor: pointer;
    transition:
      opacity 220ms ease,
      border-color 220ms ease,
      transform 220ms ease;
  }

  .ingredient-index-arrow:active {
    transform: scale(.94);
  }

  .ingredient-index-arrow:disabled {
    opacity: .20;
    cursor: default;
  }

  /* Long copy reads more comfortably with a touch more width. */
  .ingredient-description {
    max-width: 62ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ingredient-index-links {
    scroll-behavior: auto;
  }

  .ingredient-index-arrow {
    transition: none;
  }
}
.ingredients-hero h1 span {
  display: block;
}

