/* CoreVital Ingredients route only: sequence and five-botanical story. */
html:has(body > main._page_8y9k7_1 > section._ingredientGrid_8y9k7_1) {
  overflow-x: clip;
  overscroll-behavior-x: none;
}

html:has(body > main._page_8y9k7_1 > section._ingredientGrid_8y9k7_1) body {
  overflow-x: clip;
}

body > main._page_8y9k7_1:has(> section._ingredientGrid_8y9k7_1) {
  display: flex;
  width: 100%;
  max-width: 100%;
  flex-direction: column;
  overflow-x: clip;
}

body > main._page_8y9k7_1:has(> section._ingredientGrid_8y9k7_1) > header {
  order: 0;
}

body > main._page_8y9k7_1:has(> section._ingredientGrid_8y9k7_1) > section[class*="_hero_"] {
  order: 10;
}

body > main._page_8y9k7_1:has(> section._ingredientGrid_8y9k7_1) > .cv2Orientation {
  display: none !important;
}

body > main._page_8y9k7_1:has(> section._ingredientGrid_8y9k7_1) > section[class*="_ingredientGrid_"] {
  order: 20;
}

body > main._page_8y9k7_1:has(> section._ingredientGrid_8y9k7_1) > .ingredientFilm {
  order: 30;
}

body > main._page_8y9k7_1:has(> section._ingredientGrid_8y9k7_1) > section[class*="_principles_"] {
  order: 40;
  min-height: clamp(44rem, 72vw, 67rem);
  opacity: 0;
  pointer-events: none;
}

body > main._page_8y9k7_1:has(> section._ingredientGrid_8y9k7_1) > section[class*="_principles_"].cvIngredientsStory {
  min-height: 0;
  opacity: 1;
  pointer-events: auto;
}

body > main._page_8y9k7_1:has(> section._ingredientGrid_8y9k7_1) > section[class*="_cta_"] {
  order: 50;
}

body > main._page_8y9k7_1:has(> section._ingredientGrid_8y9k7_1) > footer {
  order: 60;
}

body > main._page_8y9k7_1:has(> section._ingredientGrid_8y9k7_1) > a[class*="_mobileCta_"] {
  order: 70;
}

.cvIngredientsStory {
  position: relative;
  isolation: isolate;
  padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 6vw, 6rem);
  overflow: hidden;
  color: #ecfbfd;
  background:
    radial-gradient(circle at 12% 12%, rgba(73, 218, 222, .12), transparent 30rem),
    radial-gradient(circle at 88% 82%, rgba(232, 174, 91, .1), transparent 28rem),
    linear-gradient(145deg, #041a25 0%, #03141e 58%, #061d27 100%);
  border-block: 1px solid rgba(119, 232, 237, .12);
}

.cvIngredientsStory::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .34;
  background-image:
    linear-gradient(rgba(118, 234, 239, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 234, 239, .045) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}

.cvIngredientsStory__intro,
.cvIngredientsStory__portrait,
.cvIngredientsStory__footer {
  width: min(1200px, 100%);
  margin-inline: auto;
}

.cvIngredientsStory__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(18rem, .72fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: end;
  margin-bottom: clamp(2.8rem, 6vw, 5.5rem);
}

.cvIngredientsStory__kicker {
  display: flex;
  gap: .85rem;
  align-items: center;
  margin: 0 0 1.2rem;
  color: #75e8ed;
  font: 700 .71rem/1.25 "Geist Mono", ui-monospace, monospace;
  letter-spacing: .19em;
}

.cvIngredientsStory__kicker::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 1rem currentColor;
}

.cvIngredientsStory h2 {
  max-width: 13ch;
  margin: 0;
  color: #f3fcfd;
  font: 500 clamp(3rem, 6.4vw, 6rem)/.93 Georgia, serif;
  letter-spacing: -.048em;
}

.cvIngredientsStory h2 em {
  display: block;
  color: #7ae5e9;
  font-weight: 400;
}

.cvIngredientsStory__lead {
  margin: 0;
  color: #aec4cc;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.75;
}

.cvIngredientsStory__portrait {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(.55rem, 1.2vw, 1rem);
  align-items: stretch;
  perspective: 1200px;
}

.cvIngredientsStory__plant {
  --cv-story-accent: #79e9ec;
  position: relative;
  min-height: clamp(27rem, 42vw, 39rem);
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(210, 249, 250, .18);
  background: #08212b;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, .24);
  transform: translateY(var(--cv-story-offset, 0));
  transition: transform .55s cubic-bezier(.2, .8, .2, 1), border-color .35s ease, box-shadow .35s ease;
}

.cvIngredientsStory__plant:nth-child(2),
.cvIngredientsStory__plant:nth-child(4) {
  --cv-story-offset: 1.8rem;
}

.cvIngredientsStory__plant:nth-child(2) {
  --cv-story-accent: #f2be70;
}

.cvIngredientsStory__plant:nth-child(3) {
  --cv-story-accent: #bd98ef;
}

.cvIngredientsStory__plant:nth-child(4) {
  --cv-story-accent: #e9a766;
}

.cvIngredientsStory__plant:nth-child(5) {
  --cv-story-accent: #a7d07c;
}

.cvIngredientsStory__plant::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(1, 12, 18, .08) 20%, rgba(2, 15, 22, .2) 48%, rgba(2, 14, 20, .96) 100%),
    linear-gradient(125deg, color-mix(in srgb, var(--cv-story-accent) 18%, transparent), transparent 50%);
}

.cvIngredientsStory__plant::after {
  content: "";
  position: absolute;
  inset: .75rem;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .1);
  transition: border-color .35s ease;
}

.cvIngredientsStory__plant img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.05) brightness(.78);
  transform: scale(1.045);
  transition: transform .9s cubic-bezier(.2, .8, .2, 1), filter .55s ease;
}

.cvIngredientsStory__number,
.cvIngredientsStory__plantCopy {
  position: absolute;
  z-index: 3;
}

.cvIngredientsStory__number {
  top: 1.35rem;
  left: 1.35rem;
  color: var(--cv-story-accent);
  font: 700 .68rem/1 "Geist Mono", ui-monospace, monospace;
  letter-spacing: .16em;
}

.cvIngredientsStory__plantCopy {
  right: 1.35rem;
  bottom: 1.55rem;
  left: 1.35rem;
}

.cvIngredientsStory__plantCopy small {
  display: block;
  margin-bottom: .7rem;
  color: var(--cv-story-accent);
  font: 700 .62rem/1.35 "Geist Mono", ui-monospace, monospace;
  letter-spacing: .13em;
}

.cvIngredientsStory__plantCopy strong {
  display: block;
  font: 500 clamp(1.45rem, 2.2vw, 2.2rem)/1 Georgia, serif;
  letter-spacing: -.035em;
}

.cvIngredientsStory__plantCopy span {
  display: block;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  color: #b9cbd0;
  font-size: .82rem;
  line-height: 1.5;
  opacity: 0;
  transition: max-height .45s ease, margin .45s ease, opacity .35s ease;
}

.cvIngredientsStory__plant:hover,
.cvIngredientsStory__plant:focus-visible {
  z-index: 4;
  border-color: color-mix(in srgb, var(--cv-story-accent) 68%, transparent);
  box-shadow: 0 2.8rem 6rem rgba(0, 0, 0, .42), 0 0 2.5rem color-mix(in srgb, var(--cv-story-accent) 14%, transparent);
  transform: translateY(calc(var(--cv-story-offset, 0px) - .8rem)) scale(1.025);
  outline: none;
}

.cvIngredientsStory__plant:hover::after,
.cvIngredientsStory__plant:focus-visible::after {
  border-color: color-mix(in srgb, var(--cv-story-accent) 56%, transparent);
}

.cvIngredientsStory__plant:hover img,
.cvIngredientsStory__plant:focus-visible img {
  filter: saturate(1.06) contrast(1.04) brightness(.9);
  transform: scale(1.1);
}

.cvIngredientsStory__plant:hover .cvIngredientsStory__plantCopy span,
.cvIngredientsStory__plant:focus-visible .cvIngredientsStory__plantCopy span {
  max-height: 4.5rem;
  margin-top: .65rem;
  opacity: 1;
}

.cvIngredientsStory__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  margin-top: clamp(4.2rem, 7vw, 6.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(117, 232, 237, .18);
}

.cvIngredientsStory__footer p {
  max-width: 72ch;
  margin: 0;
  color: #9fb6be;
  line-height: 1.7;
}

.cvIngredientsStory__footer a {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.2rem;
  color: #e9fbfc;
  border: 1px solid rgba(117, 232, 237, .28);
  font: 700 .69rem/1 "Geist Mono", ui-monospace, monospace;
  letter-spacing: .13em;
  text-decoration: none;
  transition: color .25s ease, background .25s ease, border-color .25s ease;
}

.cvIngredientsStory__footer a:hover,
.cvIngredientsStory__footer a:focus-visible {
  color: #031820;
  border-color: #75e8ed;
  background: #75e8ed;
  outline: none;
}

.cvIngredientsStory__plant {
  opacity: 0;
  transform: translateY(calc(var(--cv-story-offset, 0px) + 2rem));
}

.cvIngredientsStory[data-visible="true"] .cvIngredientsStory__plant {
  opacity: 1;
  transform: translateY(var(--cv-story-offset, 0px));
  transition-delay: calc(var(--cv-story-index, 0) * 90ms);
}

.cvIngredientsStory[data-visible="true"] .cvIngredientsStory__plant:hover,
.cvIngredientsStory[data-visible="true"] .cvIngredientsStory__plant:focus-visible {
  transform: translateY(calc(var(--cv-story-offset, 0px) - .8rem)) scale(1.025);
}

@media (max-width: 980px) {
  .cvIngredientsStory__intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cvIngredientsStory__lead {
    max-width: 62ch;
  }

  .cvIngredientsStory__portrait {
    grid-template-columns: repeat(5, minmax(12rem, 1fr));
    width: calc(100% + clamp(1.25rem, 6vw, 6rem));
    max-width: none;
    padding: 0 clamp(1.25rem, 6vw, 6rem) 2.5rem 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scrollbar-color: #75e8ed rgba(117, 232, 237, .08);
  }

  .cvIngredientsStory__plant {
    min-height: 31rem;
    scroll-snap-align: start;
  }
}

@media (max-width: 680px) {
  body > main._page_8y9k7_1:has(> section._ingredientGrid_8y9k7_1) > section[class*="_principles_"] {
    min-height: 55rem;
  }

  .cvIngredientsStory {
    padding: 4.75rem 1rem 5.5rem;
  }

  .cvIngredientsStory h2 {
    font-size: clamp(2.75rem, 14vw, 4.35rem);
  }

  .cvIngredientsStory__portrait {
    grid-template-columns: repeat(5, minmax(78vw, 1fr));
    width: calc(100% + 1rem);
    padding-right: 1rem;
  }

  .cvIngredientsStory__plant,
  .cvIngredientsStory__plant:nth-child(2),
  .cvIngredientsStory__plant:nth-child(4) {
    --cv-story-offset: 0px;
    min-height: min(34rem, 118vw);
  }

  .cvIngredientsStory__plantCopy strong {
    font-size: 2rem;
  }

  .cvIngredientsStory__plantCopy span {
    max-height: 4.5rem;
    margin-top: .65rem;
    opacity: 1;
  }

  .cvIngredientsStory__footer {
    grid-template-columns: 1fr;
  }

  .cvIngredientsStory__footer a {
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cvIngredientsStory__plant,
  .cvIngredientsStory__plant img,
  .cvIngredientsStory__plantCopy span {
    transition: none !important;
  }

  .cvIngredientsStory__plant {
    opacity: 1;
    transform: translateY(var(--cv-story-offset, 0px));
  }
}
