/* Original line icons extracted from the approved package artwork. */
.benefit-grid .benefit-icon {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: cover;
  object-position: center;
  opacity: .96;
}

.patent-signature {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 11px 0 8px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(170, 202, 195, .48);
  color: #d9ebe4;
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1;
}
.patent-signature strong {
  color: #f3f5ed;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
}
.patent-signature i {
  color: #86c8bd;
  font-size: 14px;
  font-style: normal;
}
.patent-signature span {
  margin-left: 3px;
  padding-left: 8px;
  border-left: 1px solid rgba(170, 202, 195, .45);
  color: #97b9b3;
  font-size: 9px;
  letter-spacing: .13em;
}

.audience-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.audience-heading h2 { margin-bottom: 0; }
.audience-copy .lead { max-width: 520px; margin-top: 15px; }
.audience-proof {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  padding: 10px 13px;
  border: 1px solid rgba(181, 224, 212, .55);
  color: #c6dfd8;
  font-size: 11px;
  letter-spacing: .01em;
}
.audience-proof strong {
  color: #f6f3e8;
  font-size: 15px;
  font-weight: 600;
}
.audience-proof i {
  width: 1px;
  height: 17px;
  background: rgba(181, 224, 212, .45);
}
.audience-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0 25px;
  border-top: 1px solid rgba(170, 202, 195, .5);
  border-bottom: 1px solid rgba(170, 202, 195, .5);
}
.audience-list article {
  position: relative;
  min-height: 142px;
  padding: 15px 14px 13px 0;
  border-right: 1px solid rgba(170, 202, 195, .5);
  border-bottom: 1px solid rgba(170, 202, 195, .5);
  overflow: hidden;
  transition: background .18s ease;
}
.audience-list article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #bfe9dd;
  box-shadow: 0 0 12px rgba(153, 231, 209, .46);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s cubic-bezier(.2,.7,.2,1);
}
.audience-list article::after {
  content: '';
  position: absolute;
  top: 18px;
  right: 14px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d4eee6;
  opacity: 0;
}
.audience-list article.is-active {
  background: linear-gradient(90deg, rgba(128, 193, 178, .1), rgba(128, 193, 178, .025));
}
.audience-list article.is-active::before { transform: scaleX(1); }
.audience-list article.is-active::after { animation: benefit-signal 2.8s ease-in-out infinite; }
.audience-list article:nth-child(3n+2) { padding-left: 14px; padding-right: 14px; }
.audience-list article:nth-child(3n) { padding-left: 14px; padding-right: 0; border-right: 0; }
.audience-list article:nth-last-child(-n+3) { border-bottom: 0; }
.audience-list .audience-icon {
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 0;
  filter: drop-shadow(0 0 7px rgba(129, 220, 197, .18));
  object-fit: contain;
  transition: filter .3s ease, transform .3s ease;
}
.audience-list article:hover .audience-icon { filter: brightness(1.12) drop-shadow(0 0 9px rgba(120, 228, 205, .42)); transform: translateY(-2px); }
.audience-list article.is-active .audience-icon { animation: benefit-icon-breathe 3.2s ease-in-out infinite; }
.audience-list article > div { margin-top: 13px; }
.audience-list strong {
  display: block;
  margin-top: 0;
  color: #f4f3e9;
  font-size: clamp(19px, 1.75vw, 26px);
  font-weight: 500;
  letter-spacing: -.05em;
}
.audience-list small {
  display: block;
  margin-top: 8px;
  color: #9db9b4;
  font-size: 10px;
  line-height: 1.55;
}

/* Keep the chapter label action in the copy, matching page 03. The revisit link is global. */
.fixed-explore-link {
  position: fixed;
  z-index: 20;
  right: 28px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 44px;
  padding: 10px 13px 10px 15px;
  color: #eef5ee;
  background: rgba(7, 21, 29, .72);
  border: 1px solid rgba(184, 234, 215, .3);
  backdrop-filter: blur(10px);
  font-size: 10px;
  letter-spacing: .08em;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.fixed-explore-link i {
  color: #b8ead7;
  font-size: 15px;
  font-style: normal;
  transition: transform .2s ease;
}
.fixed-explore-link:hover { background: rgba(14, 50, 58, .88); border-color: #b8ead7; transform: translateY(-2px); }
.fixed-explore-link:hover i { transform: translateY(-2px); }

/* Section 05 is an empty canvas beside the carton, which remains locked in its page-04 pose. */
.chapter-placeholder {
  z-index: 2;
  min-height: 100svh;
  /* Section 05 is a separate document layer: no fixed 3D scene may show through. */
  background: #07151d;
}
.section-05 {
  position: relative;
  z-index: 3;
  height: 100svh;
  min-height: 760px;
}
.world { transition: opacity .18s ease; }
body.is-after-product .world { opacity: 0; }
.chapter-placeholder__wrap {
  position: relative;
  height: 100%;
  width: calc(50% - var(--edge));
  max-width: none;
  margin-left: 50%;
  margin-right: var(--edge);
  border-top: 1px solid rgba(184, 234, 215, .14);
  border-bottom: 1px solid rgba(184, 234, 215, .1);
}
.chapter-placeholder__wrap span {
  position: absolute;
  top: 50%;
  left: 0;
  color: transparent;
  font-size: clamp(110px, 17vw, 280px);
  font-weight: 600;
  line-height: .8;
  letter-spacing: -.09em;
  -webkit-text-stroke: 1px rgba(184, 234, 215, .07);
  transform: translateY(-50%);
}
.chapter-placeholder__wrap i {
  position: absolute;
  top: 50%;
  left: 0;
  width: min(22vw, 260px);
  height: 1px;
  background: rgba(184, 234, 215, .15);
}
.chapter-placeholder__wrap small {
  position: absolute;
  top: calc(50% + 20px);
  left: min(24vw, 290px);
  color: rgba(184, 234, 215, .24);
  font-size: 8px;
  letter-spacing: .18em;
}
@media (max-width: 760px) {
  .audience-heading { display: block; }
  .audience-proof { margin-top: 13px; }
  .audience-list { grid-template-columns: 1fr; margin: 20px 0 24px; }
  .audience-list article, .audience-list article:nth-child(n) { min-height: 0; padding: 12px 0; border-right: 0; border-bottom: 1px solid rgba(170, 202, 195, .35); }
  .audience-list article:last-child { border-bottom: 0; }
  .audience-list .audience-icon { float: right; width: 40px; height: 40px; margin: 0 0 0 14px; }
  .audience-list article > div { margin-top: 0; }
  .fixed-explore-link { right: 18px; bottom: 18px; }
  .chapter-placeholder__wrap { width: calc(100% - var(--edge) * 2); margin: 0 auto; }
  .chapter-placeholder__wrap span { font-size: 120px; }
  .chapter-placeholder__wrap small { left: 145px; }
}

@media (max-width: 640px) {
  .benefit-grid .benefit-icon { width: 40px; height: 40px; }

  /* Section 04 follows the same two-column information grid as section 03. */
  .audience-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 20px 0 18px;
  }
  .audience-list article,
  .audience-list article:nth-child(n) {
    min-height: 119px;
    padding: 14px 16px 12px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(170, 202, 195, .35);
  }
  .audience-list article:nth-child(even) {
    padding: 14px 0 12px 16px;
    border-left: 1px solid rgba(170, 202, 195, .35);
  }
  .audience-list article:nth-last-child(-n + 2) { border-bottom: 0; }
  .audience-list .audience-icon {
    float: none;
    width: 40px;
    height: 40px;
    margin: 0;
  }
  .audience-list article > div { margin-top: 12px; }
  .audience-list strong { font-size: 20px; }
  .audience-list small { margin-top: 7px; font-size: 9px; }

}

/* On phone, section 02 reads as an editorial ingredient list rather than a
   scroll-control UI. The study data remains available, while progress labels
   and the active-card treatment stay desktop-only. */
@media (max-width: 640px) {
  .joint02-card-top { display: none; }
  .joint02-card.is-highlighted {
    outline: 1px solid #ffffff20;
    box-shadow: none;
  }
  .joint02-card::before,
  .joint02-card.is-highlighted::before { display: none; }

  /* Do not pin section 02 on phones. All four studies are visible together,
     then the page continues in a single natural downward scroll. */
  html[data-product="joint"].joint02-scroll-linked #inside {
    height: auto;
    min-height: 1030px;
  }
  html[data-product="joint"].joint02-scroll-linked #inside .chapter-wrap {
    position: relative;
    top: auto;
    height: 100%;
  }

  .joint02-ingredient-map {
    display: flex;
    justify-content: center;
    height: auto;
    margin: 12px 0 2px;
    overflow: hidden;
    pointer-events: none;
  }
  .joint02-ingredient-map img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    transform: none;
    opacity: 1;
    filter: drop-shadow(0 7px 15px rgba(41, 168, 255, .16));
  }
}

@media (min-width: 641px) { .joint02-ingredient-map { display: none; } }

/* Back-panel motion: a calm sequential reveal, using the original package icons. */
.benefit-grid article::after {
  content: '';
  position: absolute;
  top: 22px;
  right: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d4eee6;
  box-shadow: 0 0 0 0 rgba(178, 239, 221, 0);
  opacity: 0;
}

.benefit-grid article {
  transition: background .35s ease, box-shadow .35s ease;
}
.benefit-grid article.is-active {
  background: linear-gradient(90deg, rgba(128, 193, 178, .1), rgba(128, 193, 178, .025)) !important;
  box-shadow: none;
}
.benefit-grid article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #bfe9dd;
  box-shadow: 0 0 12px rgba(153, 231, 209, .46);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.benefit-grid article.is-active::before {
  transform: scaleX(1);
}
.benefit-grid article.is-active::after {
  animation: benefit-signal 2.8s ease-in-out infinite;
}
.benefit-grid article:nth-child(2).is-active::after { animation-delay: .18s; }
.benefit-grid article:nth-child(3).is-active::after { animation-delay: .36s; }
.benefit-grid article:nth-child(4).is-active::after { animation-delay: .54s; }
.benefit-grid article.is-active .benefit-icon {
  animation: benefit-icon-breathe 3.2s ease-in-out infinite;
}
.benefit-grid article:nth-child(2).is-active .benefit-icon { animation-delay: .16s; }
.benefit-grid article:nth-child(3).is-active .benefit-icon { animation-delay: .32s; }
.benefit-grid article:nth-child(4).is-active .benefit-icon { animation-delay: .48s; }

@keyframes benefit-reveal {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes benefit-signal {
  0%, 60%, 100% { opacity: .15; box-shadow: 0 0 0 0 rgba(178,239,221,0); }
  18% { opacity: 1; box-shadow: 0 0 0 8px rgba(178,239,221,0); }
}
@keyframes benefit-icon-breathe {
  0%, 100% { opacity: .83; filter: drop-shadow(0 0 0 rgba(183,241,225,0)); }
  50% { opacity: 1; filter: drop-shadow(0 0 7px rgba(183,241,225,.4)); }
}

@media (prefers-reduced-motion: reduce) {
  .benefit-grid article { transition: none; }
  .benefit-grid article::after,
  .benefit-grid .benefit-icon { animation: none; }
  .benefit-grid article::after { opacity: .35; }
}

/* Five-part story layout: the product is a deliberate, standalone explorer
   before the editorial ingredient section begins. */
.product-showcase-chapter .copy-right { width: 38%; margin-right: 3%; }
.product-showcase-copy h2 { font-size: clamp(40px, 4.3vw, 66px); }
.product-showcase-copy .lead { max-width: 310px; }
.product-drag-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 6px;
  color: #a8c6c0;
  font-size: 10px;
  letter-spacing: .08em;
}
.product-drag-note i { color: #c5ede1; font-size: 20px; font-style: normal; }
html[data-product="joint"] #ingredients .joint02-composition { display: block; }
html[data-product="joint"] #ingredients .joint02-standard { display: none; }
html[data-product="joint"] #ingredients .ingredient-copy { width: 52%; max-width: 620px; margin-left: auto; margin-right: 24px; padding-bottom: 0; }
#ingredients .joint02-ingredient-map { display: none; }

@media (max-width: 640px) {
  .product-showcase-chapter .copy-right { width: 100%; margin: 0; padding-top: 30px; }
  .product-showcase-copy { padding-top: 0; }
  .product-showcase-copy h2 { font-size: 38px; }
  .product-showcase-copy .lead { max-width: 220px; margin-top: 14px; }
  .product-drag-note { margin-top: 15px; }
  html[data-product="joint"] #ingredients .ingredient-copy { width: 100%; max-width: none; margin: 0; }
  #ingredients .joint02-ingredient-map { display: none; }
}

/* Section 01 owns the 3D product stage. From section 02 onward, content has
   a clean independent canvas; the shared dark-blue identity can remain, but
   no WebGL carton may influence composition or readability. */
body[data-chapter]:not([data-chapter="1"]) #webgl {
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility 0s linear .22s;
}
body[data-chapter="1"] #webgl {
  opacity: 1;
  visibility: visible;
  transition: opacity .22s ease;
}

/* The generated knee artwork belongs only to the hero. Later pages retain a
   quiet studio-blue ground so typography and editorial content lead. */
body[data-chapter]:not([data-chapter="1"]) .product-motif {
  opacity: 0 !important;
}
body[data-chapter]:not([data-chapter="1"]) .world {
  background: radial-gradient(ellipse at 78% 18%, #123a4b 0%, #0a2735 36%, #061721 82%);
}
body[data-chapter]:not([data-chapter="1"]) .world::before {
  background: linear-gradient(116deg, rgba(119, 219, 197, .055), transparent 42%, rgba(11, 38, 53, .16));
}
body[data-chapter]:not([data-chapter="1"]) .world-glow { opacity: .26; }
body[data-chapter]:not([data-chapter="1"]) .orbit { opacity: .22; }

/* Do not depend on scroll-state classes for this separation: every editorial
   chapter has its own opaque canvas, so the hero artwork can never bleed
   through behind sections 02–05. */
html[data-product="joint"] #inside.joint-check-chapter,
html[data-product="joint"] #ingredients,
html[data-product="joint"] #formula,
html[data-product="joint"] #product {
  background: radial-gradient(ellipse at 82% 12%, rgba(28, 82, 101, .48) 0%, transparent 38%), linear-gradient(132deg, #092431 0%, #061923 72%);
}
html[data-product="joint"] #ingredients { background: radial-gradient(ellipse at 14% 86%, rgba(17, 76, 88, .35) 0%, transparent 40%), linear-gradient(132deg, #08232e 0%, #061923 72%); }
html[data-product="joint"] #formula { background: radial-gradient(ellipse at 78% 18%, rgba(17, 94, 107, .38) 0%, transparent 43%), linear-gradient(132deg, #082532 0%, #061923 72%); }
html[data-product="joint"] #product { background: radial-gradient(ellipse at 20% 78%, rgba(18, 72, 86, .35) 0%, transparent 43%), linear-gradient(132deg, #082431 0%, #061923 72%); }

.joint-check-film-stage {
  position: sticky; top: 0; width: 100%; height: 100svh; margin-bottom: -100svh;
  overflow: hidden; pointer-events: none; background: #081921;
}
.joint-check-film {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 62%;
  filter: saturate(.82) contrast(1.1);
}
/* A bounded, native scroll stage. Its track starts half a row above centre. */
html[data-product] #inside.joint-check-chapter {
  height: 320svh;
  min-height: 0;
  overflow: visible;
  background: #0b1c25;
}
html[data-product] #inside.joint-check-chapter > .chapter-wrap {
  position: sticky;
  top: 0;
  display: grid;
  align-content: center;
  width: 100%;
  max-width: none;
  height: 100svh;
  min-height: 0;
  overflow: clip;
  padding: 0 max(7vw, calc((100vw - 1460px)/2));
  background: linear-gradient(90deg,rgba(8,23,31,.91),rgba(9,24,32,.6) 58%,rgba(8,22,30,.22)),transparent;
}
html[data-product] #inside.joint-check-chapter .copy-right {
  width: 100%; max-width: none; margin: 0; padding: 0;
}
.joint-check-copy {
  display: grid; grid-template-columns: .93fr 1.07fr;
  column-gap: 5vw; align-items: center;
  grid-template-areas: "intro words" "summary words";
  grid-template-rows: 1fr 1fr;
}
.joint-check-intro { grid-area: intro; align-self: end; }
.joint-check-summary { grid-area: summary; align-self: start; }
.joint-check-intro .eyebrow { margin: 0 0 24px; color: #bbd7d1; }
#inside .joint-check-intro h2 {
  margin: 0; font: 500 clamp(46px,5.1vw,96px)/1.06 "Songti TC","Noto Serif TC",serif;
  letter-spacing: -.055em; color: #fff9ef;
}
.joint-check-intro h2 span { display: block; }
.joint-check-summary > p { margin: 24px 0 18px; font-size: clamp(15px,1.18vw,20px); line-height: 1.65; color: #e1e9e5; }
.joint-check-link { display: inline-flex; align-items: center; gap: 22px; padding: 8px 0; border-bottom: 1px solid #a9c5be; color: #fff; pointer-events: auto; }
.joint-check-link:hover { color: #ffe071; }
.joint-check-words {
  grid-area: words; --row: clamp(72px,7.5vw,144px);
  position: relative; height: 76svh; overflow: hidden;
  mask-image: linear-gradient(transparent,#000 18% 82%,transparent);
}
.joint-check-track { position: absolute; top: calc(50% - var(--row)/2); transform: translateY(var(--track-shift,0px)); }
.joint-check-track span { display: flex; align-items: center; white-space: nowrap; height: var(--row); font-size: clamp(44px,5.1vw,96px); font-weight: 400; letter-spacing: -.055em; color: #b7bfbe; }
.joint-check-track .is-active { color: #ffdb52; }
#inside.joint-check-chapter .chapter-foot { left: 7%; right: 7%; width: auto; }
@media (max-width:640px) {
  html[data-product] #inside.joint-check-chapter {
    position: relative; isolation: isolate; overflow: clip; height: auto;
  }
  html[data-product] #inside.joint-check-chapter > .chapter-wrap {
    display: block; position: relative; height: auto; overflow: visible;
    background: linear-gradient(90deg,#07182480,#07182432); padding: 96px 4.1vw 15vh;
  }
  .joint-check-copy { display: block; }
  .joint-check-intro { height: 55vh; }
  .joint-check-intro .eyebrow, #inside.joint-check-chapter .chapter-foot { display: none; }
  #inside .joint-check-intro h2 {
    position: sticky; top: 96px; padding-bottom: 40px;
    font: 400 clamp(40px,12vw,65px)/1.04 "Songti TC","Songti SC",Georgia,serif;
  }
  .joint-check-words { height: auto; overflow: visible; mask-image: none; }
  .joint-check-track { position: static; display: grid; gap: 12px; transform: none; }
  .joint-check-track span {
    height: auto; line-height: 1; font-size: min(4rem,18vw); font-weight: 300;
    color: #f5f5f7; transform-origin: left center;
    transition: opacity .16s ease, transform .16s ease, color .1s ease;
  }
  .joint-check-words.has-focus span { opacity: .55; }
  .joint-check-words.has-focus .is-active { opacity: 1; transform: scale(1.02); color: #ffda00; }
  .joint-check-summary { padding-top: 15vh; }
  .joint-check-summary > p { margin: 0 0 24px; }
}
@media (prefers-reduced-motion:reduce) {
  html[data-product] #inside.joint-check-chapter { height: auto; }
  html[data-product] #inside.joint-check-chapter > .chapter-wrap {
    position: relative; height: auto; min-height: 100svh;
    padding: calc(var(--header) + 32px) 7vw 100px;
  }
  .joint-check-copy { display: block; }
  .joint-check-words { height: auto; margin-top: 30px; mask-image: none; }
  .joint-check-track { position: static; transform: none; }
  .joint-check-track span { height: auto; padding: 6px 0; border-top: 1px solid #ffffff32; font-size: clamp(25px,6vw,38px); color: #f4eee4; }
}


@media (max-width:640px) and (prefers-reduced-motion:reduce) {

  .joint-check-intro { height: auto; }
  #inside .joint-check-intro h2 { position: static; padding: 0; }
  .joint-check-track span { transition: none; }
  .joint-check-words.has-focus .is-active { transform: none; }
}

/* Shared background for the ingredient and study sections. */
html[data-product="joint"] {
  --joint-research-background: #fbfaf7;
}

/* 03 — editorial heading and photographic study cards. */
html[data-product="joint"] #ingredients { height:auto; min-height:100svh; background:var(--joint-research-background); color:#252421; }
html[data-product="joint"] #ingredients .ingredient-scroll-stage > .chapter-wrap {
  display:block; height:auto; min-height:0; padding-block:calc(var(--header) + 36px) 0;
}
html[data-product="joint"] #ingredients .ingredient-copy { width:100%; max-width:none; margin:0; }
#ingredients .joint02-composition > :is(.eyebrow,h2,.joint02-intro) { width:min(100%,860px); margin-inline:0 auto; text-align:left; }
#ingredients .eyebrow { color:#566358; font-size:8px; }
#ingredients .joint02-composition h2 { font:650 clamp(36px,5.2vw,88px)/1.14 "Songti TC","Noto Serif TC",serif!important; letter-spacing:-.05em; color:#252421; margin-block:12px 18px; }
#ingredients .joint02-intro { display:block; font-size:clamp(16px,1.35vw,22px); line-height:1.7; color:#484943; }
#ingredients .joint02-window { height:auto; padding:3px; margin:clamp(30px,5vh,65px) -3px 0; overflow-x:auto; scroll-snap-type:x proximity; scroll-padding-inline:3px; }
#ingredients .joint02-grid { display:grid; grid-auto-flow:column; grid-template-columns:none; grid-auto-columns:max(260px,calc((100% - 48px)/4)); gap:16px; }
#ingredients .joint02-card { display:flex; flex-direction:column; justify-content:flex-end; height:auto; min-height:clamp(390px,32vw,540px); padding:22px; border-radius:16px; outline:none; scroll-snap-align:start; background:#162224; }
#ingredients .joint02-card img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
#ingredients .joint02-card::after { z-index:0; background:linear-gradient(180deg,#07101255,transparent 20%,#08101059 40%,#0d1314ed 80%); }
#ingredients .joint02-card-top { top:20px; left:22px; right:22px; font-size:12px; }
#ingredients .joint02-card-copy, #ingredients .joint02-card-action { position:static; width:auto; height:auto; z-index:1; }
#ingredients .joint02-card h3 { font-size:clamp(26px,2vw,38px); }
#ingredients .joint02-card .joint02-kind, #ingredients .joint02-card .joint02-latin { display:block; font-size:12px; }
#ingredients .joint02-card-action::after { content:""; position:absolute; inset:0; }
#ingredients .joint02-card-footer { position:static; margin-top:16px; padding-top:14px; }
#ingredients .joint02-study-stat > strong { font-size:clamp(37px,3vw,55px); color:white; }
#ingredients .joint02-study-stat > span { font-size:14px; }
#ingredients .joint02-study-stat > small { font-size:12px; padding:0; color:#e4e5de; }
#ingredients .joint02-study-link { position:static; display:flex; justify-content:flex-end; margin-top:8px; font-size:13px; }
#ingredients .joint02-scroll-guide { display:none; }
#ingredients .joint02-bottom { margin:12px 0 20px; }
#ingredients .joint02-bottom .text-link { display:inline-flex; color:#28382e; font-size:13px; }
#ingredients .joint02-note,#ingredients .chapter-foot,#ingredients .chapter-foot * { color:#49584e; border-color:#bbc0b9; }
#ingredients .chapter-foot { position:static; width:100%; margin:0; }
@media(max-width:640px) {
  #ingredients .joint02-grid { grid-auto-columns:84%; gap:12px; }
  #ingredients .joint02-card { min-height:400px; padding:20px; }
  #ingredients .joint02-composition h2 { font-size:clamp(30px,8.4vw,44px)!important; }
}

header.nav.over-light-section {
  background-color: #102d3a;
}
html[data-product="joint"] header.nav.has-scrolled {
  background: #102d3af2;
  border-bottom: 1px solid #d7f1f01c;
  backdrop-filter: blur(12px);
}
html[data-product="heart"] header.nav.has-scrolled {
  background: #371526f2;
  border-bottom: 1px solid #ffe6d91c;
  backdrop-filter: blur(12px);
}

.chapter-rail.over-light-section::before {
  content: "";
  position: absolute;
  inset: -5px -6px;
  z-index: -1;
  border-radius: 18px;
  background: #102d3a;
  pointer-events: none;
}

/* The vertical scroll distance moves the card row before the section releases. */
html[data-product="joint"] #ingredients.has-ingredient-motion {
  overflow: clip;
}

html[data-product="joint"] #ingredients.has-ingredient-motion .ingredient-scroll-stage::after {
  content: "";
  display: block;
  height: var(--ingredient-travel);
}

html[data-product="joint"] #ingredients.has-ingredient-motion .ingredient-scroll-stage > .chapter-wrap {
  position: sticky;
  top: 0;
  padding-top: calc(var(--header) + 20px);
}

#ingredients.has-ingredient-motion .joint02-window {
  margin-top: clamp(18px, 3vh, 40px);
  scroll-snap-type: none;
  scrollbar-width: none;
  scroll-behavior: auto;
}

#ingredients.has-ingredient-motion .joint02-card {
  min-height: clamp(295px, 43svh, 490px);
}

@media (min-width: 641px) {
  #ingredients .joint02-grid {
    grid-auto-columns: max(260px, 30%);
  }
}

#study-timeline { scroll-margin-top: var(--header); }
.study-timeline__layout { padding-block: 18px 28px; }
.study-timeline__intro { margin-bottom: 16px; }
.study-timeline__intro h2 {
  margin: 0;
  font: 650 clamp(24px, 2.7vw, 42px)/1.2 "Songti TC", "Noto Serif TC", serif;
  letter-spacing: -.04em;
}
.study-timeline__research {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.study-chart { min-width: 0; margin: 0; }
.study-chart__image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d6ddd8;
  border-radius: 16px;
}
#study-timeline .chapter-foot { margin-top: 32px; }

@media (max-width: 640px) {
  .study-timeline__research { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}

@media (prefers-reduced-motion: no-preference) {
  .study-chart.is-visible .study-chart__image { animation: study-image-enter .45s ease-out both; }
}
@keyframes study-image-enter {
  from { opacity: .3; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Portrait ingredient cards pair photography with their study data. */
#ingredients .joint02-composition h2 {
  font-size: clamp(35px, 4.6vw, 74px) !important;
  line-height: 1.15 !important;
}
#ingredients .joint02-intro {
  max-width: 39em;
  font-size: clamp(15px, 1.2vw, 19px);
}
#ingredients .joint02-grid {
  grid-auto-columns: max(228px, 27%);
  gap: 20px;
}
#ingredients .joint02-card,
#ingredients.has-ingredient-motion .joint02-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  min-height: 0;
  padding: 0;
  border: 1px solid #d6ded9;
  border-radius: 14px;
  background: #fff;
}
#ingredients .joint02-card::after { content: none; }
#ingredients .joint02-card-visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: clamp(238px, 39svh, 410px);
  background: #102630;
}
#ingredients .joint02-card-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #06191ef5, #081b216e 38%, #081b2100 72%);
  pointer-events: none;
}
#ingredients .joint02-card img { object-position: center; }
#ingredients .joint02-card-top { inset: 14px 18px auto auto; z-index: 2; }
#ingredients .joint02-card-copy {
  position: absolute;
  z-index: 1;
  inset: auto 16px 16px 20px;
}
#ingredients .joint02-card h3 {
  font-size: clamp(26px, 2.6vw, 43px);
  text-wrap: balance;
}
#ingredients .joint02-card .joint02-kind { font-size: 13px; }
#ingredients .joint02-card .joint02-latin { display: none; }
#ingredients .joint02-card-action {
  display: block;
  min-width: 0;
  padding: 16px 20px;
  color: #163a37;
}
#ingredients .joint02-card-action:focus-visible { outline-color: #13706a; }
#ingredients .joint02-card-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px 18px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  border: 0;
}
#ingredients .joint02-study-stat > strong {
  font: 650 clamp(31px, 3vw, 47px)/1 Georgia, serif;
  letter-spacing: -.05em;
  color: #12645c;
}
#ingredients .joint02-study-stat > span { font-size: 14px; font-weight: 650; }
#ingredients .joint02-study-stat > small { font-size: 11px; line-height: 1.35; color: #506861; }
#ingredients .joint02-study-link {
  flex-shrink: 0;
  margin: 0;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
#ingredients .joint02-card:hover .joint02-study-link { color: #12645c; }
#ingredients .joint02-bottom { margin-block: 10px 14px; }
#ingredients .joint02-note { font-size: 11px; }

@media (max-width: 640px) {
  #ingredients .joint02-composition h2 { font-size: clamp(30px, 8.4vw, 44px) !important; }
  #ingredients .joint02-grid { grid-auto-columns: 100%; gap: 12px; }
  #ingredients .joint02-card-visual { height: clamp(150px, min(70vw, 35svh), 300px); }
  #ingredients .joint02-card-copy { left: 16px; }
  #ingredients .joint02-card-action { padding: 13px 16px; }
}

#ingredients .joint02-scroll-guide {
  display: flex;
  margin-top: 10px;
  color: #31524d;
  font-size: 12px;
  font-weight: 650;
}
#ingredients .joint02-guide-vertical,
#ingredients.has-ingredient-motion .joint02-guide-horizontal { display: none; }
#ingredients.has-ingredient-motion .joint02-guide-vertical { display: inline; }
#ingredients .joint02-progress { width: min(30%, 170px); background: #cfded6; }
#ingredients .joint02-progress i {
  background: #12645c;
  transform: scaleX(max(.06, var(--research-progress, 0)));
}
@media (max-width: 640px) {
  .chapter-rail.over-light-section::before {
    inset-inline: calc(50% - 8px);
  }
}

/* 03 introduces the ingredient cards and research on a solid navy background. */
html[data-product="joint"] #ingredients {
  background: #082633;
  color: #f8f4e9;
}
#ingredients .ingredient-hero { display: none; }
html[data-product="joint"] #ingredients .ingredient-hero {
  display: block;
  padding-block: calc(var(--header) + 34px) 22px;
}
.ingredient-hero__copy { max-width: 900px; }
#ingredients .ingredient-hero .eyebrow {
  margin: 0 0 18px;
  color: #bcdfdf;
  font-size: 10px;
}
#ingredients .ingredient-hero h2,
:is(#formula, #product) .formula-hero__copy h2 {
  margin: 0 0 20px;
  font: 800 clamp(29px, 3.4vw, 54px)/1.24 var(--font-display);
  letter-spacing: -.04em;
  color: #faf6ee;
}
:is(#ingredients, #formula, #product) .ingredient-hero__emphasis {
  display: inline-block;
  background: linear-gradient(90deg, #54d5e9, #f9dc71) 0 100% / 100% 3px no-repeat;
  padding-bottom: .12em;
}
#ingredients .ingredient-hero .joint02-intro {
  max-width: 30em;
  margin: 0;
  color: #d7e7e4;
}
html[data-product="joint"] #ingredients .ingredient-scroll-stage > .chapter-wrap {
  padding-top: 12px;
}
html[data-product="joint"] #ingredients.has-ingredient-motion .ingredient-scroll-stage > .chapter-wrap {
  top: calc(var(--header) + 16px);
  padding-top: 12px;
}
#ingredients .joint02-window,
#ingredients.has-ingredient-motion .joint02-window { margin-top: 0; }
#ingredients .joint02-scroll-guide,
#ingredients .joint02-bottom .text-link,
#ingredients .joint02-note,
#ingredients .chapter-foot,
#ingredients .chapter-foot * {
  color: #d4e6e3;
  border-color: #b8dad65c;
}
#ingredients .joint02-progress { background: #bedfda48; }
#ingredients .joint02-progress i { background: #a5e2d4; }
#ingredients .study-timeline__intro h2 { color: #faf6ee; }
#ingredients .study-chart__image { border-color: #b8dad65c; }

@media (max-width: 640px) {
  html[data-product="joint"] #ingredients .ingredient-hero {
    padding-block: calc(var(--header) + 24px) 16px;
  }
  #ingredients .ingredient-hero h2,
  :is(#formula, #product) .formula-hero__copy h2 { font-size: clamp(24px, 6.8vw, 32px); }
  #ingredients .ingredient-hero .eyebrow { margin-bottom: 10px; }
}

@media (max-width: 640px) {
  #ingredients.has-ingredient-motion .joint02-window { touch-action: pan-y; }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  #ingredients .joint02-window {
    overflow: visible;
    scroll-snap-type: none;
  }
  #ingredients .joint02-grid {
    grid-auto-flow: row;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-columns: auto;
    gap: 16px;
  }
  #ingredients .joint02-card-visual { height: clamp(278px, 91vw, 500px); }
  #ingredients .joint02-scroll-guide { display: none; }
}

@media (max-width: 640px) {
  #intro .range-title h1,
  #inside .joint-check-intro h2,
  #inside .joint-check-track span {
    font-weight: 800;
    -webkit-text-stroke: .012em currentColor;
  }
}

:is(#formula, #product) .benefit-panel-head .benefit-ribbon,
#ingredients .study-timeline__intro .benefit-ribbon,
#ingredients .ingredient-blend .benefit-ribbon {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: .38em 1.05em;
  clip-path: polygon(.56em 0, 100% 0, calc(100% - .56em) 100%, 0 100%);
  background: linear-gradient(102deg, #53d9f2, #78e2bb 52%, #ffe251);
  color: #07252c;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.9vw, 29px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .02em;
}

#ingredients .study-timeline__intro .benefit-ribbon {
  display: inline-block;
  max-width: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  .benefit-ribbon.is-visible::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 37%, #ffffff85 50%, transparent 63%);
    animation: benefit-ribbon-shine .9s ease-out both;
  }
}

@keyframes benefit-ribbon-shine {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

#ingredients .ingredient-blend {
  padding-block: clamp(18px, 3vw, 42px) clamp(22px, 4vw, 56px);
}
#ingredients .ingredient-blend h2 {
  display: inline-block;
  margin: 0 0 18px;
}
.ingredient-blend__list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
#ingredients .ingredient-blend__label {
  margin: 0 0 6px;
  color: #b4e4d7;
  font-size: clamp(13px, 1.25vw, 17px);
  font-weight: 750;
}

:is(#formula, #product) {
  height: auto;
  min-height: 100svh;
}
:is(#formula, #product) > .chapter-wrap {
  display: block;
  height: auto;
  min-height: 0;
  padding-block: calc(var(--header) + 38px) 36px;
}
:is(#formula, #product) .formula-hero__copy .lead {
  max-width: 30em;
  margin: 0 0 10px;
  color: #d4e6e3;
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.65;
}
:is(#formula, #product) .formula-hero__copy .text-link { margin: 0; pointer-events: auto; }
:is(#formula, #product) .benefit-panel { margin-block: clamp(24px, 4vw, 50px) 24px; }
:is(#formula, #product) .benefit-panel-head { padding-bottom: 16px; border: 0; }
:is(#formula, #product) .benefit-panel-head h3 { margin: 0; }
:is(:is(#formula, #product) .benefit-grid, #ingredients .ingredient-blend__list) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 22px);
}
:is(#formula, #ingredients, #product) .benefit-card {
  display: grid;
  grid-template-columns: clamp(94px, 11.5vw, 168px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
  min-height: 0;
  padding: clamp(14px, 2vw, 28px);
  border: 1px solid #a7d6d45c;
}
:is(#formula, #product) .benefit-grid article::after { content: none; }
:is(#formula, #ingredients, #product) .benefit-card .benefit-icon {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 5%;
  margin: 0;
  background: radial-gradient(circle at 42% 34%, #20576a, #0b2935 72%);
  border: 2px solid #ccf5f0;
  border-radius: 50%;
  opacity: 1;
  animation: none;
}
:is(#formula, #ingredients, #product) .benefit-card-title {
  display: flex;
  align-items: baseline;
  gap: .35em;
  margin: 0 0 10px;
  padding: .32em .65em;
  clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
  background: linear-gradient(96deg, #b5e782, #7be3ca 60%, #46cbe4);
  color: #092732;
  font: 800 clamp(19px, 2.4vw, 34px)/1.15 var(--font-display);
}
:is(#formula, #ingredients, #product) .benefit-card-title span {
  color: #a9222d;
  font-size: 1.32em;
  font-style: italic;
  -webkit-text-stroke: .45px #fff8f1;
}
:is(#formula, #ingredients, #product) .benefit-card small {
  display: block;
  margin: 0;
  color: #f0faf8;
  font-size: clamp(13px, 1.3vw, 18px);
  line-height: 1.45;
}
#ingredients .benefit-card .benefit-icon { padding: 0; object-fit: cover; }
:is(#formula, #product) .chapter-foot { position: static; width: 100%; }

@media (max-width: 760px) {
  :is(#formula, #product) > .chapter-wrap { padding-block: calc(var(--header) + 26px) 26px; }
  :is(:is(#formula, #product) .benefit-grid, #ingredients .ingredient-blend__list) { grid-template-columns: minmax(0, 1fr); }
  :is(#formula, #ingredients, #product) .benefit-card {
    grid-template-columns: clamp(72px, 24vw, 110px) minmax(0, 1fr);
  }
}

#product .audience-proof { width: fit-content; flex-wrap: wrap; margin: 12px 0; }
#product .benefit-card .benefit-icon { padding: 19%; }

html:not([data-product="joint"]):not([data-product="heart"]):not([data-product="height"]):not([data-product="croc"]) .customer-stories { display: none; }
.customer-stories {
  position: relative;
  z-index: 2;
  isolation: isolate;
  scroll-margin-top: var(--header);
  background: radial-gradient(ellipse at 72% 22%, #193b47 0%, #10232d 44%, #0b1922 100%);
  color: #f9f6ed;
}
.customer-stories__layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(24px, 5vw, 82px);
  padding-block: clamp(48px, 6vw, 88px);
}
.customer-stories__intro .eyebrow { color: #a7dbd0; }
.customer-stories__intro h2 {
  margin: 12px 0 18px;
  font: 650 clamp(40px, 7vw, 106px)/1.08 "Songti TC", "Noto Serif TC", serif;
  letter-spacing: -.04em;
}
.customer-stories__intro > p:last-child {
  margin: 0;
  color: #d3dfdc;
  font-size: clamp(14px, 1.15vw, 18px);
}
.customer-stories__cards {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.customer-story {
  grid-column: 3 / -1;
  min-height: 132px;
  padding: clamp(18px, 2vw, 30px);
  border: 1px solid #8ecbc76b;
  border-radius: 18px;
  background: linear-gradient(120deg, #25434ee8, #172e39f5);
  box-shadow: 0 12px 32px #03111b4d;
}
.customer-story:nth-child(2) { grid-column: 1 / 11; }
.customer-story:last-child { grid-column: 4 / -1; }
.customer-story h3 {
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #bde1db40;
  color: #b5e6da;
  font-size: clamp(17px, 1.65vw, 24px);
}
.customer-story p {
  margin: 0;
  color: #edf4f1;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.65;
}
@media (max-width: 760px) {
  .customer-stories__layout { grid-template-columns: minmax(0, 1fr); }
  .customer-stories__cards { grid-template-columns: minmax(0, 1fr); }
  .customer-story:nth-child(n) { grid-column: 1; min-height: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .customer-story.is-visible { animation: customer-story-enter .65s ease-out both; }
}
@keyframes customer-story-enter {
  from { opacity: .65; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.customer-stories__notice {
  color: #d3dfdc;
  line-height: 1.6;
}
.customer-stories__notice [lang="en"] { font-size: 13px; }
.customer-stories__controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  color: #d3dfdc;
  font-size: 14px;
}
.customer-stories__controls button {
  width: 44px;
  height: 44px;
  border: 1px solid #94c6be;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 19px;
  cursor: pointer;
}
.customer-stories__controls button:hover:enabled { background: #274e58; }
.customer-stories__controls button:disabled { opacity: .45; cursor: default; }
.customer-stories__cards[hidden] { display: none; }
.customer-story__header { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.customer-story__header h3 { margin: 0 0 4px; padding: 0; border: 0; }
:is([data-footer-product="joint"], [data-footer-product="heart"], [data-footer-product="height"], [data-footer-product="croc"]) .customer-story__person { display: inline-block; margin-left: .55em; color: #eef8f5; font-size: .7em; font-weight: 600; vertical-align: .08em; }
:is([data-footer-product="joint"], [data-footer-product="heart"], [data-footer-product="height"], [data-footer-product="croc"]) .customer-story__header h3 { min-width: 0; }
.customer-story__rating { flex: none; color: #ffe19a; font-weight: 750; }
.customer-story__location {
  margin: 10px 0 12px !important;
  padding-bottom: 10px;
  border-bottom: 1px solid #bde1db40;
  color: #c0d7d4 !important;
}
:is([data-footer-product="joint"], [data-footer-product="heart"], [data-footer-product="height"], [data-footer-product="croc"]) .customer-story__location { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
:is([data-footer-product="joint"], [data-footer-product="heart"], [data-footer-product="height"], [data-footer-product="croc"]) .customer-story__location time { color: #a8c5c0; font-size: .82em; white-space: nowrap; font-variant-numeric: tabular-nums; }

html:not([data-product="joint"]):not([data-product="heart"]):not([data-product="height"]):not([data-product="croc"]) .joint-faq { display: none; }
.joint-faq {
  position: relative;
  z-index: 2;
  scroll-margin-top: var(--header);
  background: #fbfaf7;
  color: #252421;
}
.joint-faq__layout { padding-block: clamp(48px, 6vw, 84px); }
.joint-faq__intro {
  width: min(100%, 850px);
  margin: 0 auto clamp(28px, 5vw, 64px);
}
.joint-faq__intro .eyebrow { color: #4b665c; }
.joint-faq__intro h2 {
  margin: 12px 0 16px;
  font: 750 clamp(36px, 5vw, 70px)/1.15 "Songti TC", "Noto Serif TC", serif;
  letter-spacing: -.04em;
}
.joint-faq__intro > p:last-child {
  margin: 0;
  color: #4a4840;
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.7;
}
.joint-faq__questions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(12px, 2vw, 26px);
}
.joint-faq__group {
  border: 1px solid #e5ded0;
  border-radius: clamp(16px, 2vw, 28px);
  padding: clamp(18px, 2.4vw, 34px);
  background: #f7f1e6;
}
.joint-faq__group h3 {
  margin: 0 0 20px;
  font: 750 clamp(24px, 2.45vw, 34px)/1.2 "Songti TC", "Noto Serif TC", serif;
  letter-spacing: -.035em;
}
.joint-faq__questions details { border-top: 1px solid #dcd4c6; }
.joint-faq__questions details:last-child { border-bottom: 1px solid #dcd4c6; }
.joint-faq__questions summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 12px 0;
  color: #252421;
  font-size: clamp(16px, 1.22vw, 19px);
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.joint-faq__questions summary::-webkit-details-marker { display: none; }
.joint-faq__questions summary::after {
  content: "";
  flex: 0 0 8px;
  height: 8px;
  margin-right: 4px;
  border-right: 1.5px solid #4a554c;
  border-bottom: 1.5px solid #4a554c;
  transform: rotate(45deg);
}
.joint-faq__questions details[open] summary::after { transform: rotate(225deg); }
.joint-faq__answer { padding: 0 0 16px; color: #524e46; line-height: 1.65; }
.joint-faq__answer p { margin: 0 0 8px; }
.joint-evidence-sources { margin-top: clamp(36px, 5vw, 64px); padding: 22px clamp(18px, 3vw, 38px); border-radius: 14px; background: #0b2945; color: #d7e6ec; font-size: 13px; line-height: 1.65; }
.joint-evidence-sources h3 { margin: 0 0 8px; color: #fff; font-size: 15px; font-weight: 800; }
.joint-evidence-sources ol { margin: 0; padding-left: 1.4em; }
.joint-evidence-sources li { padding-left: .15em; scroll-margin-top: 100px; }
.joint-evidence-sources a { color: #e8f4f6; text-underline-offset: 3px; }
.joint-evidence-sources li span { display: block; color: #afc9d2; }
.joint-faq__answer :is(a, button) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: #14554a;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
@media (max-width: 850px) {
  .joint-faq__questions { grid-template-columns: minmax(0, 1fr); }
}

[data-heart-section] { display: none; }
html[data-product="heart"] [data-heart-section] { display: block; }
html[data-product="heart"] #ingredients .ingredient-scroll-stage,
html[data-product="heart"] :is(#formula, #product) :is(.formula-hero__copy, .benefit-panel) { display: none; }
html[data-product="heart"] :is(#ingredients, #formula, #product) {
  height: auto;
  min-height: 100svh;
  background: radial-gradient(ellipse at 78% 15%, #70233c 0%, #391527 42%, #22111b 82%);
}
html[data-product="heart"] #inside.joint-check-chapter { background: #2a111f; }
html[data-product="heart"] .joint-check-film { visibility: hidden; }
html[data-product="heart"] .joint-check-film-stage,
html[data-product="heart"] #inside.joint-check-chapter > .chapter-wrap {
  background: radial-gradient(ellipse at 77% 40%, #812e4c, #341522 60%, #21101a);
}
html[data-product="heart"] .joint-check-track span { color: #e3cbd3; }
html[data-product="heart"] .joint-check-track .is-active { color: #ffe2a4; }
html[data-product="heart"] header.nav.over-light-section,
html[data-product="heart"] .chapter-rail.over-light-section::before { background: #371526; }
#ingredients .heart-chapter-content { padding-block: calc(var(--header) + 34px) 32px; }
#ingredients .heart-chapter-content .eyebrow,
.heart-chapter-content .eyebrow { color: #f7d5b1; }
.heart-chapter-content h2 {
  margin: 12px 0 20px;
  color: #fff5e8;
  font: 800 clamp(26px, 3.4vw, 54px)/1.25 var(--font-display);
  letter-spacing: -.04em;
}
.heart-chapter-content h2 span {
  display: inline-block;
  padding-bottom: .12em;
  background: linear-gradient(90deg, #f0959c, #f8dc8e) 0 100%/100% 3px no-repeat;
}
.heart-chapter-content .lead {
  max-width: 36em;
  color: #f1dce2;
  font-size: clamp(14px, 1.3vw, 18px);
  line-height: 1.7;
}
.heart-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-block: 26px;
}
.heart-card-grid article {
  min-width: 0;
  padding: clamp(15px, 2.4vw, 32px);
  border: 1px solid #e7adb367;
  border-radius: 14px;
  background: linear-gradient(130deg, #633048, #381824);
}
.heart-card-grid h3 {
  display: inline-block;
  margin: 0 0 10px;
  padding: .35em .8em;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  background: linear-gradient(95deg, #efacaf, #f9dda0);
  color: #341520;
  font-size: clamp(16px, 1.8vw, 25px);
}
.heart-card-grid p { margin: 0; color: #f8e8e9; line-height: 1.6; }
.heart-chapter-content .text-link { pointer-events: auto; margin-bottom: 18px; }
html[data-product="heart"] #ingredients .chapter-foot,
html[data-product="heart"] #ingredients .chapter-foot * { color: #f3dad8; border-color: #e7adb367; }
@media (max-width: 640px) {
  .heart-card-grid { grid-template-columns: minmax(0, 1fr); }
}

html:not([data-product="croc"]) [data-footer-product="croc"],
html:not([data-product="height"]) [data-footer-product="height"],
html:not([data-product="heart"]) [data-footer-product="heart"],
html:not([data-product="joint"]) [data-footer-product="joint"] { display: none; }
html[data-product="heart"] .customer-stories { background: linear-gradient(125deg, #341321, #501c30); }
[data-footer-product="heart"] .customer-story { background: #532438; border-color: #b8916580; }
[data-footer-product="heart"] .customer-story h3,
[data-footer-product="heart"] .customer-stories__intro .eyebrow { color: #f3d3a3; }
[data-footer-product="heart"] .joint-faq__intro .eyebrow,
[data-footer-product="heart"] .joint-faq__group h3 { color: #76243e; }
[data-footer-product="heart"] .joint-faq__answer :is(a, button) { color: #76243e; }
[data-footer-product="heart"] .joint-evidence-sources { background: #42172c; }

html[data-product="height"] .customer-stories { background: linear-gradient(125deg, #332411, #59401d); }
[data-footer-product="height"] .customer-story { background: #513c23; border-color: #bc9a63; }
[data-footer-product="height"] .customer-story h3,
[data-footer-product="height"] .customer-stories__intro .eyebrow { color: #ffe3a7; }
[data-footer-product="height"] .joint-faq__intro .eyebrow,
[data-footer-product="height"] .joint-faq__group h3 { color: #70460e; }
[data-footer-product="height"] .joint-evidence-sources { background: #3b2b18; color: #f1e6d3; }
[data-footer-product="height"] .joint-evidence-sources > p { color: #f1e6d3; }

.growth-content { display: none; }
html[data-product="height"] [data-growth-section],
html[data-product="croc"] [data-croc-section] { display: block; }
html:is([data-product="height"], [data-product="croc"]) #ingredients .ingredient-scroll-stage,
html:is([data-product="height"], [data-product="croc"]) :is(#formula, #product) :is(.formula-hero__copy, .benefit-panel),
html:is([data-product="height"], [data-product="croc"]) .joint-check-film { display: none; }
html:is([data-product="height"], [data-product="croc"]) :is(#ingredients, #formula, #product),
html:is([data-product="height"], [data-product="croc"]) #inside.joint-check-chapter > .chapter-wrap,
html:is([data-product="height"], [data-product="croc"]) .joint-check-film-stage {
  background: radial-gradient(ellipse at 80% 15%, #704b1b, #412d19 55%, #271e16);
}
html:is([data-product="height"], [data-product="croc"]) :is(#ingredients, #formula, #product) { height: auto; min-height: 100svh; }
html:is([data-product="height"], [data-product="croc"]) #ingredients { overflow: visible; }
html:is([data-product="height"], [data-product="croc"]) .joint-check-track span { color: #ccbaa3; }
html:is([data-product="height"], [data-product="croc"]) .joint-check-track .is-active { color: #ffe196; }
html:is([data-product="height"], [data-product="croc"]) header.nav.over-light-section { background: #372919; }
.growth-content { color: #fff7e7; pointer-events: auto; }
#ingredients .growth-content { padding-block: calc(var(--header) + 36px) 56px; }
.growth-content h2 { margin: .35em 0; font: 800 clamp(28px, 3.7vw, 56px)/1.18 var(--font-display); }
.growth-content h2 span { display: inline-block; color: #ffda89; }
.growth-content .lead { color: #f4e6cf; max-width: 35em; line-height: 1.65; }
.growth-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-block: 24px; }
.growth-cards article { padding: clamp(20px, 3vw, 40px); border: 1px solid #a3855c; border-radius: 14px; background: #4b351f; }
.growth-cards h3 { margin: 0 0 .5em; font-size: clamp(22px, 2.2vw, 34px); color: #ffdfa0; }
.growth-cards p { margin: 0; line-height: 1.7; }
.growth-cards small { display: block; margin-bottom: 2em; color: #efd8af; letter-spacing: .12em; }
@media (max-width: 640px) {
  .growth-cards { grid-template-columns: 1fr; }
  .growth-ingredients article { min-height: 38svh; }
}
@media (max-width: 640px) and (prefers-reduced-motion: no-preference) {
  .growth-ingredients article { position: sticky; top: calc(var(--header) + 12px); }
}

html[data-product="croc"] :is(#ingredients, #formula, #product),
html[data-product="croc"] #inside.joint-check-chapter > .chapter-wrap,
html[data-product="croc"] .joint-check-film-stage,
html[data-product="croc"] .customer-stories { background: radial-gradient(ellipse at 78% 12%, #215d43, #103a2c 55%, #0b291e); }
[data-croc-section] .growth-cards article,
[data-footer-product="croc"] .customer-story { background: #174331; border-color: #699879; }
[data-croc-section] .growth-cards h3, [data-croc-section] h2 span,
[data-footer-product="croc"] .customer-story h3, [data-footer-product="croc"] .customer-stories__intro .eyebrow { color: #f6dfa1; }
html[data-product="croc"] .joint-check-track span { color: #bad3c5; }
html[data-product="croc"] .joint-check-track .is-active { color: #f8df93; }
html[data-product="croc"] header.nav.over-light-section { background: #143d2d; }
[data-footer-product="croc"] .joint-faq__group h3 { color: #155239; }

/* Keep the original ingredient-card design with a more even reading rhythm. */
html[data-product="joint"] #ingredients .ingredient-blend > h2 {
  margin-bottom: 24px;
  padding-block: .4em;
  font-size: clamp(18px, 2.1vw, 32px);
}
html[data-product="joint"] #ingredients .ingredient-blend__list { gap: clamp(14px, 1.5vw, 22px); }
html[data-product="joint"] #ingredients .ingredient-blend__list .benefit-card {
  grid-template-columns: clamp(104px, 9vw, 148px) minmax(0, 1fr);
  gap: clamp(16px, 1.7vw, 26px);
  min-height: clamp(188px, 15vw, 222px);
  padding: clamp(16px, 1.7vw, 25px);
}
html[data-product="joint"] #ingredients .ingredient-blend__list .benefit-card-title {
  margin-bottom: 12px;
  padding-block: .24em;
  font-size: clamp(21px, 2.1vw, 31px);
}
html[data-product="joint"] #ingredients .ingredient-blend__label { line-height: 1.45; }
html[data-product="joint"] #ingredients .ingredient-blend__list small { line-height: 1.6; }
@media (max-width: 760px) {
  html[data-product="joint"] #ingredients .ingredient-blend > h2 { margin-bottom: 16px; }
  html[data-product="joint"] #ingredients .ingredient-blend__list .benefit-card {
    grid-template-columns: clamp(78px, 24vw, 108px) minmax(0, 1fr);
    min-height: 0;
    padding: 14px;
  }
  html[data-product="joint"] #ingredients .ingredient-blend__list .benefit-card-title { font-size: clamp(19px, 5vw, 25px); }
}
