/* GENKI's own product imagery and content with a bolder supplement-page rhythm. */
html[data-product="joint"] { --campaign-yellow: #ffe356; --campaign-blue: #071b3d; }
html[data-product="joint"] .world { background: #071b3d; }
html[data-product="joint"] #ingredients { background: #003848; }
html[data-product="joint"] .range-title h1 {
  color: #fff;
  font-size: clamp(50px, 6vw, 94px);
  font-weight: 850;
  letter-spacing: -.065em;
  text-shadow: 0 5px 28px #06183280;
}

/* The two patented ingredients are complete, portrait image cards. */
html[data-product="joint"] #ingredients .ingredient-poster-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(18px, 2vw, 30px);
}
html[data-product="joint"] #ingredients .patent-poster-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #003848;
}
html[data-product="joint"] #ingredients .patent-poster-card img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 760px) {
  html[data-product="joint"] #ingredients .ingredient-poster-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
}
html[data-product="joint"] .range-title #range-subtitle { letter-spacing: .16em; }
html[data-product="joint"] .nav-cta {
  border-color: var(--campaign-yellow);
  background: var(--campaign-yellow);
  color: #08283a;
  font-weight: 800;
}
html[data-product="joint"] .nav-cta:hover { background: #fff3a2; color: #08283a; }
html[data-product="joint"] .range-explore {
  background: transparent;
  border-color: transparent;
  font-weight: 800;
}
html[data-product="joint"] .range-explore:hover { background: transparent; }
html[data-product="joint"] #inside.joint-check-chapter,
html[data-product="joint"] #inside .joint-check-film-stage { background-color: #071b3d; }
html[data-product="joint"] #inside .joint-check-intro h2 { font-weight: 800; }
html[data-product="joint"] #inside .joint-check-intro { align-self: start; padding-top: 20px; }
html[data-product="joint"] #inside .joint-check-track .is-active { color: var(--campaign-yellow); font-weight: 800; }
html[data-product="joint"] #inside .joint-check-link { border-color: var(--campaign-yellow); color: var(--campaign-yellow); font-weight: 750; }
html[data-product="joint"] #formula,
html[data-product="joint"] #product { background: #071b3d; }
html[data-product="joint"] :is(#formula, #product) .formula-hero__copy h2 { color: #fff; font-weight: 800; }
html[data-product="joint"] :is(#formula, #product) .ingredient-hero__emphasis { color: var(--campaign-yellow); }
html[data-product="joint"] :is(#formula, #product) .benefit-panel-head .benefit-ribbon,
html[data-product="joint"] #ingredients .ingredient-blend > .benefit-ribbon {
  background: linear-gradient(95deg, #31c1e7, #9ee6be 58%, var(--campaign-yellow));
  color: #08283a;
}
html[data-product="joint"] :is(#formula, #product) .benefit-card-title,
html[data-product="joint"] #ingredients .benefit-card-title {
  background: linear-gradient(95deg, #9de5bc, #4bd0e3);
}
html[data-product="joint"] :is(#formula, #product) .text-link:hover { color: var(--campaign-yellow); }

/* Chapter 06: ingredient-study comparison, set as editable text and charts. */
.joint-comparison[hidden] { display: none; }
#product [data-comparison-link][hidden], #product .closing-line[hidden] { display: none; }
.joint-comparison {
  background: #071b3d;
  color: #fff;
  position: relative;
  isolation: isolate;
  padding: clamp(64px, 6vw, 94px) 0 clamp(60px, 6vw, 90px);
}
.joint-comparison::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: clamp(680px, 58vw, 790px);
  background: linear-gradient(110deg, #0d689a 0 64%, #ffedb7 64% 100%);
}
.joint-comparison__wrap { max-width: 1540px; }
.joint-comparison__header {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  align-items: center;
  gap: clamp(30px, 5vw, 80px);
  min-height: 490px;
  margin-bottom: clamp(38px, 5vw, 78px);
}
.joint-comparison__intro { max-width: 900px; }
.joint-comparison__header .eyebrow { color: #b9f2f1; font-size: 12px; letter-spacing: .16em; }
.joint-comparison__header h2 {
  margin: 28px 0 22px;
  font-size: clamp(48px, 6vw, 94px);
  line-height: 1.08;
  letter-spacing: -.055em;
  font-weight: 800;
  text-wrap: balance;
}
.joint-comparison__header h2 em { color: var(--campaign-yellow); font-style: normal; }
.joint-comparison__intro > p:last-child { max-width: 650px; color: #e2eff4; font-size: clamp(17px, 1.35vw, 22px); line-height: 1.65; }
.joint-comparison__seal {
  justify-self: center;
  width: clamp(290px, 27vw, 415px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 28% 25%, #f9a537, #e76422 62%, #d94725);
  box-shadow: 16px 20px 0 #713c1d21, 0 24px 65px #902e172b;
  color: white;
  text-align: center;
  transform: rotate(-7deg);
}
.joint-comparison__seal span { font-size: clamp(22px, 2.4vw, 36px); line-height: 1.2; font-weight: 800; letter-spacing: .05em; }
.joint-comparison__seal strong { font-size: clamp(112px, 13vw, 195px); line-height: .95; letter-spacing: -.09em; font-weight: 850; }
.joint-comparison__seal small { font-size: .29em; margin-left: .13em; letter-spacing: 0; }
.joint-comparison__figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 30px); }
.joint-comparison__figure {
  min-width: 0;
  min-height: 530px;
  display: flex;
  flex-direction: column;
  padding: clamp(27px, 3vw, 48px);
  border: 1px solid #8edce443;
  background: #0b2945;
}
.joint-comparison__figure--ovomet { background: #0a3547; }
.joint-comparison__figure-head { display: flex; justify-content: space-between; gap: 15px; color: #9cdde4; font-size: 13px; font-weight: 750; letter-spacing: .09em; }
.joint-comparison__figure-head span:last-child { color: #bed1db; font-weight: 500; }
.joint-comparison__number {
  display: block;
  margin: 35px 0 4px;
  color: var(--campaign-yellow);
  font-size: clamp(92px, 12vw, 182px);
  line-height: .98;
  letter-spacing: -.08em;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.joint-comparison__number small { font-size: .34em; letter-spacing: -.04em; margin-left: .06em; }
.joint-comparison__figure h3 { margin: 12px 0 32px; font-size: clamp(19px, 1.7vw, 27px); line-height: 1.4; font-weight: 750; }
.joint-comparison__days { display: flex; align-items: center; gap: 15px; margin-top: auto; color: #9de7da; font-size: 15px; font-weight: 700; white-space: nowrap; }
.joint-comparison__days i { flex: 1; height: 2px; background: linear-gradient(90deg, #68d8e7, var(--campaign-yellow)); position: relative; }
.joint-comparison__days i::before, .joint-comparison__days i::after { content: ''; position: absolute; top: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--campaign-yellow); transform: translateY(-50%); }
.joint-comparison__days i::before { left: 0; }.joint-comparison__days i::after { right: 0; }
.joint-comparison__day-note { color: #fff; font-size: 16px; line-height: 1.5; margin: 18px 0 0; }
.joint-comparison__caption { border-top: 1px solid #b7dce04a; padding-top: 18px; margin: 30px 0 0; color: #afcbd5; font-size: 13px; line-height: 1.6; }
.joint-comparison__table-wrap { margin-top: clamp(48px, 5vw, 80px); }
.joint-comparison__table-wrap h3 { margin: 0 0 25px; font-size: clamp(28px, 2.7vw, 42px); font-weight: 750; }
.joint-comparison__table-scroll { overflow-x: auto; }
.joint-comparison__table { width: 100%; min-width: 680px; border-collapse: collapse; text-align: left; table-layout: fixed; }
.joint-comparison__table th, .joint-comparison__table td { padding: 22px 25px; border-bottom: 1px solid #accbd04f; font-size: clamp(15px, 1.25vw, 19px); line-height: 1.45; }
.joint-comparison__table thead th { color: #071b3d; background: linear-gradient(95deg, #9de5bc, #4bd0e3); font-weight: 800; }
.joint-comparison__table thead th:first-child { width: 23%; }
.joint-comparison__table tbody th { color: #9de5df; font-weight: 700; }
.joint-comparison__table tbody tr:nth-child(even) { background: #ffffff08; }
.joint-comparison__note { max-width: 1040px; color: #b5ccd6; font-size: 13px; line-height: 1.7; margin: 22px 0 0; }
.joint-comparison__sources { display: flex; gap: 14px 30px; flex-wrap: wrap; margin-top: 25px; }
.joint-comparison__sources a { color: var(--campaign-yellow); font-size: 14px; text-underline-offset: 5px; }
.joint-comparison__sources a:hover { color: #fff3a2; }
@media (max-width: 760px) {
  .joint-comparison::before { height: 770px; background: linear-gradient(150deg, #0d689a 0 70%, #ffedb7 70%); }
  .joint-comparison__header { grid-template-columns: 1fr; min-height: 0; gap: 32px; }
  .joint-comparison__seal { width: min(64vw, 320px); justify-self: end; }
  .joint-comparison__figures { grid-template-columns: 1fr; }
  .joint-comparison__figure { min-height: 470px; }
  .joint-comparison__number { font-size: clamp(92px, 23vw, 160px); }
}
@media (max-width: 480px) {
  .joint-comparison { padding: 78px 0 90px; }
  .joint-comparison::before { height: 695px; }
  .joint-comparison__header h2 { font-size: clamp(42px, 12vw, 58px); }
  .joint-comparison__seal { width: min(55vw, 245px); }
  .joint-comparison__seal span { font-size: 20px; }
  .joint-comparison__seal strong { font-size: clamp(100px, 27vw, 135px); }
  .joint-comparison__figure { min-height: 420px; padding: 25px 22px; }
  .joint-comparison__figure-head { font-size: 11px; }
  .joint-comparison__figure h3 { font-size: 19px; }
  .joint-comparison__table th, .joint-comparison__table td { padding: 17px 15px; }
}

@media (max-width: 640px) {
  html[data-product="joint"] .range-title h1 { font-size: clamp(46px, 13vw, 65px); }
  html[data-product="joint"] #inside .joint-check-track .is-active { font-weight: 800; }
  html[data-product="joint"] #inside.joint-check-chapter > .chapter-wrap { padding-top: 76px; }
  html[data-product="joint"] #inside .joint-check-intro { padding-top: 0; }
  html[data-product="joint"] #inside .joint-check-intro h2 { top: 76px; }
}

/* Ingredient-card typography: patent, material, then research context. */
html[data-product="joint"] #ingredients .ingredient-blend__list .benefit-card-copy {
  min-width: 0;
}
html[data-product="joint"] #ingredients .ingredient-blend__list .benefit-card-title {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 13px;
  padding: .18em .65em .22em;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(25px, 2.75vw, 42px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
}
html[data-product="joint"] #ingredients .ingredient-blend__list .benefit-card-title span {
  font-size: .86em;
  line-height: 1;
}
html[data-product="joint"] #ingredients .ingredient-blend__list .ingredient-blend__label {
  margin: 0 0 10px;
  color: #bdf1df;
  font-size: clamp(15px, 1.35vw, 19px);
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: .01em;
}
html[data-product="joint"] #ingredients .ingredient-blend__list small {
  max-width: 32em;
  padding-top: 10px;
  border-top: 1px solid #b5e6da59;
  color: #e8f1ed;
  font-size: clamp(13px, 1.15vw, 16px);
  font-weight: 450;
  line-height: 1.55;
}
@media (max-width: 760px) {
  html[data-product="joint"] #ingredients .ingredient-blend__list .benefit-card-title { font-size: clamp(24px, 7vw, 32px); }
  html[data-product="joint"] #ingredients .ingredient-blend__list .ingredient-blend__label { font-size: clamp(14px, 4vw, 17px); }
}

html[data-product="joint"] #ingredients .ingredient-blend__list .benefit-card {
  background: #fffdf7;
  border: 1px solid #cbded9;
  border-radius: 16px;
  box-shadow: 0 12px 30px #0019231c;
}
html[data-product="joint"] #ingredients .ingredient-blend__list .benefit-card-title {
  color: #08283a;
}
html[data-product="joint"] #ingredients .ingredient-blend__list .ingredient-blend__label {
  color: #14566a;
}
html[data-product="joint"] #ingredients .ingredient-blend__list small {
  border-color: #c5d9d7;
  color: #34464a;
}

html[data-product="joint"] #ingredients .ingredient-blend__list .benefit-card-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  width: fit-content;
  min-height: 0;
  margin: 0 0 14px;
  padding: 0 0 10px;
  clip-path: none;
  border: 0;
  border-bottom: 3px solid #62c9cc;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #082f40;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(27px, 2.7vw, 40px);
  font-weight: 800;
  line-height: 1.05;
}
html[data-product="joint"] #ingredients .ingredient-blend__list .benefit-card-title span {
  display: inline;
  width: auto;
  height: auto;
  flex: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: #1c9bab;
  font: 700 .55em/1 "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-style: normal;
  vertical-align: baseline;
  -webkit-text-stroke: 0;
}
@media (max-width: 760px) {
  html[data-product="joint"] #ingredients .ingredient-blend__list .benefit-card-title { font-size: clamp(25px, 7vw, 34px); }
}

html[data-product="joint"] #ingredients .ingredient-blend__list :is(.benefit-card--ucii, .benefit-card--ovomet) {
  position: relative;
}
html[data-product="joint"] #ingredients .ingredient-study-badge {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 1;
  width: clamp(138px, 12vw, 170px);
  height: auto;
  border: 0;
  background: none;
  filter: drop-shadow(0 7px 10px #0c2a3340);
}

@media (max-width: 760px) {
  html[data-product="joint"] #ingredients .ingredient-blend__list :is(.benefit-card--ucii, .benefit-card--ovomet) {
    padding-top: 52px;
  }
  html[data-product="joint"] #ingredients .ingredient-study-badge {
    top: 4px;
    right: 7px;
    width: 112px;
  }
}



/* Keep the study table close to the introduction when the two figure cards are absent. */
.joint-comparison__header { min-height: 0; margin-bottom: clamp(32px, 4vw, 56px); }
.joint-comparison__table-wrap { margin-top: 0; padding: clamp(22px, 3vw, 44px); border: 1px solid #8edce443; background: #0b2945; }

/* A clear three-level typographic hierarchy inside the formula seal. */
.joint-comparison__seal { gap: 5px; padding: 20px; transform: rotate(-5deg); }
.joint-comparison__seal .joint-comparison__seal-top { color: #fffaf0; font-family: "PingFang HK", "Noto Sans CJK TC", Arial, sans-serif; font-size: clamp(24px, 2.3vw, 34px); font-weight: 900; line-height: 1.1; letter-spacing: .12em; text-shadow: 0 2px 5px #79280d66; }
.joint-comparison__seal strong { display: flex; align-items: baseline; gap: .02em; color: #ffe663; font-family: Arial, sans-serif; font-size: clamp(128px, 12vw, 182px); font-weight: 900; line-height: .82; letter-spacing: -.09em; text-shadow: 0 5px 0 #ac3f13, 0 8px 14px #6b220c66; }
.joint-comparison__seal strong small { flex: none; margin-left: .08em; color: #fff; font-family: "PingFang HK", "Noto Sans CJK TC", Arial, sans-serif; font-size: .24em; font-weight: 900; letter-spacing: 0; text-shadow: 0 2px 5px #79280d66; }
.joint-comparison__seal .joint-comparison__seal-bottom { margin-top: 5px; padding: 8px 17px 9px; border-top: 2px solid #ffe7a2b8; border-bottom: 2px solid #ffe7a2b8; color: #fff; font-family: "PingFang HK", "Noto Sans CJK TC", Arial, sans-serif; font-size: clamp(20px, 2vw, 30px); font-weight: 900; line-height: 1.1; letter-spacing: .08em; text-shadow: 0 2px 5px #79280d66; }
.joint-comparison__table { min-width: 760px; }
.joint-comparison__table thead th:first-child { width: 18%; }
.joint-comparison__table thead th:nth-child(2) { width: 41%; }
.joint-comparison__table thead th small { display: block; margin-top: 6px; font-size: .72em; font-weight: 700; line-height: 1.35; }
.joint-comparison__table tbody td:nth-child(2) { background: #3eafba1a; color: #fff; font-weight: 700; }
.joint-comparison__table tbody td:nth-child(3) { color: #c3d6da; }
.joint-comparison__table tbody th { vertical-align: top; }
.joint-comparison__table th, .joint-comparison__table td { vertical-align: top; line-height: 1.55; }
@media (max-width: 480px) {
  .joint-comparison__seal { gap: 3px; padding: 11px; }
  .joint-comparison__seal .joint-comparison__seal-top { font-size: 20px; }
  .joint-comparison__seal strong { font-size: clamp(102px, 27vw, 124px); }
  .joint-comparison__seal .joint-comparison__seal-bottom { margin-top: 2px; padding: 5px 12px 6px; font-size: 18px; }
}
@media (max-width: 900px) {
  .joint-comparison__table-wrap { padding: 21px 15px 25px; }
  .joint-comparison__table-scroll { overflow: visible; min-width: 0; }
  .joint-comparison__table { display: block; min-width: 0; width: 100%; }
  .joint-comparison__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .joint-comparison__table tbody { display: grid; gap: 13px; }
  .joint-comparison__table tbody tr { display: block; overflow: hidden; border: 1px solid #62c8cd7a; border-radius: 12px; background: #102f48; }
  .joint-comparison__table tbody th { display: block; padding: 11px 15px; border-bottom: 0; background: #0b6174; color: #fff; font-size: 17px; }
  .joint-comparison__table tbody td { display: block; min-width: 0; padding: 13px 15px; border-bottom: 0; font-size: 15px; overflow-wrap: anywhere; }
  .joint-comparison__table tbody td:nth-child(2) { background: #2e9da925; }
  .joint-comparison__table tbody td:nth-child(3) { border-top: 1px solid #8edce43b; }
  .joint-comparison__table tbody td::before { display: block; margin-bottom: 4px; color: #9ce9e0; content: attr(data-label); font-size: 11px; font-weight: 900; letter-spacing: .06em; }
  .joint-comparison__table tbody td:nth-child(2)::before { color: #ffe356; }
}

/* The comparison is presented as responsive SVG artwork. Keep the source table
   available to assistive technology without displaying a second copy. */
.joint-comparison__table-wrap { border: 0; background: transparent; padding: 0; }
.joint-comparison__art { display: block; width: 100%; }
.joint-comparison__art img { display: block; width: 100%; height: auto; }
.joint-comparison__table-scroll--accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .joint-comparison__table-wrap h3 {
    margin-bottom: 16px;
    padding: 13px 16px 15px;
    border-left: 5px solid #ffe356;
    background: linear-gradient(105deg, #a9ebdd, #6dd8e8);
    color: #061d38;
    font-size: clamp(22px, 6vw, 27px);
    font-weight: 900;
    line-height: 1.32;
    letter-spacing: -.035em;
    text-wrap: balance;
  }
}

html[data-product="joint"] .joint-comparison.has-motion :is(.joint-comparison__header, .joint-comparison__table-wrap h3, .joint-comparison__art) {
  opacity: 0;
  translate: 0 22px;
  transition: opacity .7s ease, translate .8s cubic-bezier(.18,.7,.25,1);
}
html[data-product="joint"] .joint-comparison.has-motion :is(.joint-comparison__header, .joint-comparison__table-wrap h3, .joint-comparison__art).is-visible {
  opacity: 1;
  translate: 0 0;
}

html:is([data-product="joint"], [data-product="heart"]) .range-title h1 {
  font-size: clamp(38px, 3.6vw, 54px);
}
@media (max-width: 640px) {
  html:is([data-product="joint"], [data-product="heart"]) .range-title h1 {
    font-size: clamp(40px, 10.8vw, 46px);
  }
}
.joint-comparison.has-motion .joint-comparison__art { transition-delay: .12s; }
@media (prefers-reduced-motion: reduce) {
  html[data-product="joint"] .joint-comparison.has-motion :is(.joint-comparison__header, .joint-comparison__table-wrap h3, .joint-comparison__art) {
    opacity: 1;
    translate: none;
    transition: none;
  }
}
