/* Knee Arthritis — Child master / clinical dossier */
.knee-child-site {
  --ka-paper: #f7f2ea;
  --ka-paper-bright: #fffdf9;
  --ka-paper-deep: #e9e0d4;
  --ka-ink: #1e1d20;
  --ka-muted: #6f686c;
  --ka-wine: #6b1f41;
  --ka-wine-dark: #35101f;
  --ka-wine-black: #210713;
  --ka-wine-soft: #9a516c;
  --ka-lime: #ceed3e;
  --ka-lime-soft: #e2f987;
  --ka-line: rgba(107, 31, 65, .24);
  --ka-line-dark: rgba(30, 29, 32, .16);
  --ka-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --ka-sans: Inter, "Helvetica Neue", Arial, sans-serif;
  background: var(--ka-paper);
  color: var(--ka-ink);
}

.knee-child-site main {
  overflow: clip;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 22px;
  padding: 10px 15px;
  border-radius: 0 0 8px 8px;
  background: var(--ka-lime, #ceed3e);
  color: #17181b;
  font-size: 11px;
  font-weight: 800;
  transform: translateY(-120%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.ka-shell {
  position: relative;
  width: min(88vw, 1510px);
  margin: 0 auto;
}

.ka-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: var(--ka-wine);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .21em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ka-eyebrow::before {
  width: 38px;
  height: 1px;
  background: currentColor;
  content: "";
}

.ka-eyebrow-lime {
  color: var(--ka-lime);
}

.ka-button {
  --mag-x: 0px;
  --mag-y: 0px;
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 800;
  transform: translate(var(--mag-x), var(--mag-y));
  transition: background 220ms ease, box-shadow 220ms ease, transform 160ms ease;
}

.ka-button-lime {
  background: var(--ka-lime);
  box-shadow: 0 18px 40px rgba(206, 237, 62, .16);
  color: #17181b;
}

.ka-button-lime:hover {
  background: #dffa55;
  box-shadow: 0 22px 46px rgba(206, 237, 62, .28);
}

.ka-button span,
.ka-text-link span,
.ka-decision-link b {
  transition: transform 220ms ease;
}

.ka-button:hover span,
.ka-text-link:hover span,
.ka-decision-link:hover b {
  transform: translateX(4px);
}

.knee-child-site [data-reveal] {
  opacity: 1;
  transform: none;
}

.has-js .knee-child-site [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms cubic-bezier(.2, .8, .2, 1), transform 900ms cubic-bezier(.2, .8, .2, 1);
}

.has-js .knee-child-site [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.knee-child-site .current-nav-group > .nav-link {
  color: var(--ka-wine);
}

.knee-child-site .current-nav-group > .nav-link::after {
  transform: scaleX(1);
}

/* Hero — layered case file */
.ka-hero {
  position: relative;
  min-height: 870px;
  padding: 150px 0 68px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(107, 31, 65, .048) 1px, transparent 1px) 0 0 / 12.5% 100%,
    linear-gradient(180deg, rgba(107, 31, 65, .045) 1px, transparent 1px) 0 0 / 100% 138px,
    var(--ka-paper);
}

.ka-hero::before {
  position: absolute;
  top: -19vw;
  left: -12vw;
  width: 53vw;
  height: 53vw;
  border: 1px solid rgba(107, 31, 65, .11);
  border-radius: 50%;
  box-shadow: inset 0 0 0 9vw rgba(107, 31, 65, .025);
  content: "";
}

.ka-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(450px, .82fr);
  align-items: center;
  gap: clamp(70px, 8vw, 145px);
}

.ka-hero-copy {
  position: relative;
  z-index: 3;
}

.ka-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(46px, 5vw, 72px);
  color: rgba(30, 29, 32, .48);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.ka-breadcrumbs a {
  transition: color 180ms ease;
}

.ka-breadcrumbs a:hover {
  color: var(--ka-wine);
}

.ka-hero h1 {
  max-width: 930px;
  margin: 0;
  font-family: var(--ka-serif);
  font-size: clamp(61px, 6vw, 101px);
  font-weight: 400;
  letter-spacing: -.064em;
  line-height: .91;
}

.ka-hero h1 em {
  position: relative;
  display: block;
  margin-top: .12em;
  color: var(--ka-wine);
  font-weight: 400;
}

.ka-hero h1 em::after {
  position: absolute;
  z-index: -1;
  right: 11%;
  bottom: .02em;
  width: 19%;
  height: 8px;
  background: var(--ka-lime);
  content: "";
  transform: rotate(-1deg);
}

.ka-hero-lead {
  max-width: 780px;
  margin: 33px 0 0;
  color: var(--ka-muted);
  font-size: 15px;
  line-height: 1.85;
}

.ka-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

.ka-text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid rgba(107, 31, 65, .35);
  color: var(--ka-wine);
  font-size: 12px;
  font-weight: 780;
  padding-block: 11px;
}

.ka-hero-visual {
  position: relative;
  min-height: 620px;
}

.ka-hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: min(35vw, 535px);
  height: 535px;
  margin: 0;
  border: 1px solid rgba(107, 31, 65, .32);
  background: var(--ka-wine-dark);
  box-shadow: 28px 34px 80px rgba(53, 16, 31, .18);
  overflow: hidden;
}

.ka-hero-photo::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 17px solid rgba(255, 253, 249, .12);
  content: "";
  pointer-events: none;
}

.ka-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 48%;
  filter: saturate(.88) contrast(1.02);
  transition: transform 900ms cubic-bezier(.2, .8, .2, 1);
}

.ka-hero-visual:hover .ka-hero-photo img {
  transform: scale(1.035);
}

.ka-hero-photo figcaption {
  position: absolute;
  z-index: 3;
  right: 15px;
  bottom: 13px;
}

.ka-hero-photo figcaption a {
  color: rgba(255, 255, 255, .58);
  font-size: 7px;
  letter-spacing: .06em;
}

.ka-case-note {
  position: absolute;
  z-index: 4;
  right: clamp(80px, 7vw, 120px);
  bottom: 0;
  width: min(84%, 420px);
  padding: 27px 30px 25px;
  border: 1px solid rgba(107, 31, 65, .25);
  background: rgba(255, 253, 249, .96);
  box-shadow: 18px 22px 50px rgba(53, 16, 31, .14);
  backdrop-filter: blur(12px);
}

.ka-case-note::before {
  position: absolute;
  top: -16px;
  left: 22px;
  width: 104px;
  height: 16px;
  background: var(--ka-lime);
  clip-path: polygon(0 100%, 10% 0, 100% 0, 94% 100%);
  content: "";
}

.ka-case-note > p {
  display: flex;
  justify-content: space-between;
  margin: 0 0 19px;
  color: var(--ka-wine);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .17em;
}

.ka-case-note dl,
.ka-case-note dd {
  margin: 0;
}

.ka-case-note dl > div {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 13px;
  padding: 12px 0;
  border-top: 1px solid var(--ka-line-dark);
}

.ka-case-note dt {
  color: var(--ka-wine);
  font-size: 9px;
  font-weight: 800;
}

.ka-case-note dd {
  color: var(--ka-muted);
  font-size: 10px;
  line-height: 1.55;
}

.ka-case-note > small {
  display: block;
  padding-top: 13px;
  border-top: 1px solid var(--ka-line-dark);
  color: var(--ka-ink);
  font-size: 9px;
  font-weight: 760;
  line-height: 1.5;
}

.ka-hero-stamp {
  position: absolute;
  z-index: 3;
  top: 36px;
  left: -48px;
  display: flex;
  width: 122px;
  height: 122px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(107, 31, 65, .3);
  border-radius: 50%;
  color: var(--ka-wine);
  text-align: center;
  transform: rotate(-11deg);
}

.ka-hero-stamp span {
  font-size: 7px;
  letter-spacing: .18em;
}

.ka-hero-stamp b {
  max-width: 78px;
  margin-top: 7px;
  font-family: var(--ka-serif);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.1;
}

.ka-hero-line {
  display: grid;
  width: min(88vw, 1510px);
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 17px;
  margin: 50px auto 0;
  color: rgba(107, 31, 65, .62);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .2em;
}

.ka-hero-line i {
  height: 1px;
  background: rgba(107, 31, 65, .18);
}

/* Sticky dossier navigation */
.ka-dossier {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 12vw) minmax(0, 1fr);
  background: var(--ka-paper-bright);
}

.ka-chapter-rail {
  position: sticky;
  z-index: 20;
  top: 95px;
  align-self: start;
  min-height: calc(100vh - 95px);
  padding: 44px 18px 30px 26px;
  border-right: 1px solid var(--ka-line);
  background: rgba(247, 242, 234, .94);
  backdrop-filter: blur(14px);
}

.ka-chapter-rail > p {
  margin: 0 0 34px;
  color: var(--ka-wine);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .18em;
  line-height: 1.5;
}

.ka-chapter-rail a {
  position: relative;
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  min-height: 65px;
  border-top: 1px solid rgba(107, 31, 65, .15);
  color: rgba(30, 29, 32, .42);
  transition: color 220ms ease, padding 220ms ease;
}

.ka-chapter-rail a:last-child {
  border-bottom: 1px solid rgba(107, 31, 65, .15);
}

.ka-chapter-rail a::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -26px;
  width: 4px;
  background: var(--ka-lime);
  content: "";
  opacity: 0;
  transform: scaleY(.3);
  transition: opacity 220ms ease, transform 220ms ease;
}

.ka-chapter-rail a span {
  color: var(--ka-wine-soft);
  font-size: 8px;
  font-weight: 820;
}

.ka-chapter-rail a strong {
  font-family: var(--ka-serif);
  font-size: 15px;
  font-weight: 400;
}

.ka-chapter-rail a:hover,
.ka-chapter-rail a.is-active {
  color: var(--ka-ink);
  padding-left: 5px;
}

.ka-chapter-rail a.is-active::before {
  opacity: 1;
  transform: scaleY(1);
}

.ka-dossier-content {
  min-width: 0;
}

.ka-chapter {
  scroll-margin-top: 112px;
}

.ka-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .58fr);
  align-items: end;
  gap: clamp(50px, 8vw, 130px);
}

.ka-section-head h2,
.ka-decision-head h2,
.ka-function-copy h2,
.ka-crossroads-head h2,
.ka-faq-intro h2,
.ka-final h2 {
  margin: 0;
  font-family: var(--ka-serif);
  font-size: clamp(51px, 5.2vw, 84px);
  font-weight: 400;
  letter-spacing: -.057em;
  line-height: .96;
}

.ka-section-head > p,
.ka-section-head > div > p:last-child,
.ka-decision-head > p:last-child,
.ka-crossroads-head > p:last-child {
  margin: 0;
  color: var(--ka-muted);
  font-size: 13px;
  line-height: 1.85;
}

/* Chapter 01 */
.ka-pattern {
  padding: clamp(90px, 9vw, 145px) min(7vw, 110px);
  background:
    linear-gradient(90deg, rgba(107, 31, 65, .035) 1px, transparent 1px) 0 0 / 16.666% 100%,
    var(--ka-paper-bright);
}

.ka-pattern-console {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(440px, 1.15fr);
  gap: 0;
  margin-top: clamp(55px, 6vw, 88px);
  border: 1px solid var(--ka-line);
  background: var(--ka-paper);
  box-shadow: 20px 28px 70px rgba(53, 16, 31, .08);
}

.ka-pattern-list {
  border-right: 1px solid var(--ka-line);
}

.ka-pattern-list button {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 74px;
  grid-template-columns: 34px 1fr 20px;
  align-items: center;
  gap: 11px;
  padding: 14px 19px;
  border-bottom: 1px solid rgba(107, 31, 65, .15);
  background: transparent;
  color: var(--ka-ink);
  text-align: left;
  transition: background 220ms ease, color 220ms ease, padding 220ms ease;
}

.ka-pattern-list button:last-child {
  border-bottom: 0;
}

.ka-pattern-list button span {
  color: var(--ka-wine-soft);
  font-size: 8px;
  font-weight: 850;
}

.ka-pattern-list button strong {
  font-size: 11px;
  font-weight: 740;
}

.ka-pattern-list button i {
  color: var(--ka-wine);
  font-size: 14px;
  font-style: normal;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.ka-pattern-list button::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--ka-lime);
  content: "";
  opacity: 0;
}

.ka-pattern-list button:hover,
.ka-pattern-list button.is-active {
  background: var(--ka-wine-dark);
  color: white;
  padding-left: 25px;
}

.ka-pattern-list button:hover::before,
.ka-pattern-list button.is-active::before,
.ka-pattern-list button:hover i,
.ka-pattern-list button.is-active i {
  opacity: 1;
}

.ka-pattern-list button:hover i,
.ka-pattern-list button.is-active i {
  color: var(--ka-lime);
  transform: none;
}

.ka-pattern-list button:hover span,
.ka-pattern-list button.is-active span {
  color: var(--ka-lime);
}

.ka-pattern-result {
  position: relative;
  min-height: 100%;
  padding: clamp(42px, 5vw, 78px);
  overflow: hidden;
  background:
    radial-gradient(circle at 83% 84%, rgba(206, 237, 62, .12) 0 4%, transparent 4.3%),
    linear-gradient(135deg, rgba(107, 31, 65, .05), transparent 64%),
    var(--ka-paper-bright);
  transition: opacity 150ms ease, transform 150ms ease;
}

.ka-pattern-result::after {
  position: absolute;
  right: -105px;
  bottom: -105px;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(107, 31, 65, .14);
  border-radius: 50%;
  box-shadow: inset 0 0 0 48px rgba(107, 31, 65, .035);
  content: "";
}

.ka-pattern-result.is-changing {
  opacity: .25;
  transform: translateY(5px);
}

.ka-result-top {
  display: flex;
  justify-content: space-between;
  color: var(--ka-wine);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .15em;
}

.ka-result-top small {
  color: rgba(30, 29, 32, .38);
  font-size: 7px;
}

.ka-pattern-result h3 {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: clamp(55px, 7vw, 95px) 0 22px;
  font-family: var(--ka-serif);
  font-size: clamp(42px, 4.4vw, 70px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .98;
}

.ka-pattern-result > p {
  position: relative;
  z-index: 2;
  max-width: 660px;
  margin: 0;
  color: var(--ka-muted);
  font-size: 13px;
  line-height: 1.82;
}

.ka-pattern-result > a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ka-wine);
  color: var(--ka-wine);
  font-size: 10px;
  font-weight: 800;
}

.ka-urgent-note {
  display: grid;
  max-width: 990px;
  grid-template-columns: 44px 1fr;
  align-items: start;
  gap: 18px;
  margin: 30px 0 0 auto;
  padding: 20px 23px;
  border: 1px solid rgba(107, 31, 65, .22);
  background: #fffaf1;
}

.ka-urgent-note > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--ka-wine);
  border-radius: 50%;
  color: var(--ka-wine);
  font-family: var(--ka-serif);
  font-size: 19px;
}

.ka-urgent-note strong {
  color: var(--ka-wine);
  font-size: 11px;
}

.ka-urgent-note p {
  margin: 5px 0 0;
  color: var(--ka-muted);
  font-size: 10px;
  line-height: 1.7;
}

/* Chapter 02 */
.ka-examination {
  padding: clamp(95px, 10vw, 160px) min(7vw, 110px);
  background: var(--ka-paper);
}

.ka-exam-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .62fr);
  align-items: start;
  gap: clamp(60px, 9vw, 150px);
}

.ka-section-head-stacked {
  display: block;
}

.ka-section-head-stacked h2 {
  max-width: 920px;
}

.ka-section-head-stacked > div > p:last-child {
  max-width: 740px;
  margin-top: 28px;
}

.ka-exam-questions {
  margin: 52px 0 0;
  padding: 0;
  border-top: 2px solid var(--ka-wine);
  list-style: none;
}

.ka-exam-questions li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--ka-line-dark);
}

.ka-exam-questions li > span {
  color: var(--ka-lime-dark, #9cb91d);
  font-size: 9px;
  font-weight: 850;
}

.ka-exam-questions h3 {
  margin: 0 0 7px;
  font-family: var(--ka-serif);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -.03em;
}

.ka-exam-questions p {
  margin: 0;
  color: var(--ka-muted);
  font-size: 11px;
  line-height: 1.7;
}

.ka-exam-sleeve {
  position: sticky;
  top: 128px;
  margin: 40px 0 0;
  padding: 34px 28px 27px;
  border: 1px solid var(--ka-line);
  background: var(--ka-paper-bright);
  box-shadow: 22px 30px 75px rgba(53, 16, 31, .12);
  transform: rotate(1.2deg);
}

.ka-exam-sleeve::before,
.ka-exam-sleeve::after {
  position: absolute;
  z-index: -1;
  inset: 12px -14px -14px 12px;
  border: 1px solid rgba(107, 31, 65, .13);
  background: var(--ka-paper-deep);
  content: "";
}

.ka-exam-sleeve::after {
  inset: 23px -25px -26px 23px;
  opacity: .6;
}

.ka-sleeve-tab {
  position: absolute;
  top: -29px;
  right: 24px;
  padding: 10px 17px;
  background: var(--ka-wine);
  color: white;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .15em;
}

.ka-sleeve-image {
  height: 470px;
  overflow: hidden;
  background: #d9d4cd;
}

.ka-sleeve-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.75) contrast(1.02);
  transition: transform 900ms cubic-bezier(.2, .8, .2, 1);
}

.ka-exam-sleeve:hover img {
  transform: scale(1.035);
}

.ka-exam-sleeve blockquote {
  margin: 26px 0 19px;
  color: var(--ka-wine-dark);
  font-family: var(--ka-serif);
  font-size: 22px;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.ka-exam-sleeve figcaption a {
  color: rgba(30, 29, 32, .42);
  font-size: 7px;
}

/* Chapter 03 */
.ka-imaging {
  position: relative;
  padding: clamp(95px, 10vw, 160px) min(7vw, 110px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 12.5% 100%,
    var(--ka-wine-black);
  color: white;
}

.ka-imaging::after {
  position: absolute;
  right: -18vw;
  bottom: -23vw;
  width: 50vw;
  height: 50vw;
  border: 1px solid rgba(206, 237, 62, .13);
  border-radius: 50%;
  box-shadow: inset 0 0 0 8vw rgba(206, 237, 62, .02);
  content: "";
}

.ka-section-head-light h2 em {
  display: block;
  color: var(--ka-lime);
  font-weight: 400;
}

.ka-section-head-light > p {
  color: rgba(255, 255, 255, .58);
}

.ka-imaging-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(380px, .78fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(65px, 9vw, 145px);
  margin-top: clamp(62px, 7vw, 100px);
}

.ka-xray-board {
  position: relative;
  margin: 0;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .035);
  box-shadow: 22px 28px 80px rgba(0, 0, 0, .24);
}

.ka-xray-board::before {
  position: absolute;
  top: -11px;
  left: 26px;
  padding: 7px 13px;
  background: var(--ka-lime);
  color: var(--ka-wine-black);
  content: "EDUCATIONAL IMAGE / 03";
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .16em;
}

.ka-xray-frame {
  position: relative;
  height: 570px;
  overflow: hidden;
  background: #040404;
}

.ka-xray-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: contrast(1.05);
}

.ka-xray-marker {
  position: absolute;
  width: 29px;
  height: 29px;
  border: 1px solid var(--ka-lime);
  border-radius: 50%;
  background: rgba(33, 7, 19, .34);
  box-shadow: 0 0 0 8px rgba(206, 237, 62, .07);
  transition: transform 220ms ease, background 220ms ease;
}

.ka-xray-marker span {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--ka-lime);
}

.ka-xray-marker:hover,
.ka-xray-marker.is-active {
  background: var(--ka-lime);
  transform: scale(1.14);
}

.ka-xray-marker:hover span,
.ka-xray-marker.is-active span {
  background: var(--ka-wine-black);
}

.marker-one {
  top: 46%;
  left: 52%;
}

.marker-two {
  top: 38%;
  right: 24%;
}

.marker-three {
  top: 57%;
  left: 31%;
}

.ka-xray-board figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 13px;
  margin-top: 17px;
  color: rgba(255, 255, 255, .38);
  font-size: 7px;
  line-height: 1.5;
}

.ka-xray-board figcaption a {
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}

.ka-image-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, .16);
}

.ka-image-tabs button {
  min-height: 86px;
  padding: 16px;
  border-right: 1px solid rgba(255, 255, 255, .13);
  background: transparent;
  color: rgba(255, 255, 255, .56);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.4;
  transition: background 220ms ease, color 220ms ease;
}

.ka-image-tabs button:last-child {
  border-right: 0;
}

.ka-image-tabs span {
  display: block;
  margin-bottom: 8px;
  color: var(--ka-lime);
  font-size: 7px;
}

.ka-image-tabs button:hover,
.ka-image-tabs button.is-active {
  background: var(--ka-lime);
  color: var(--ka-wine-black);
}

.ka-image-tabs button:hover span,
.ka-image-tabs button.is-active span {
  color: var(--ka-wine);
}

.ka-image-result {
  min-height: 330px;
  padding: clamp(38px, 5vw, 70px);
  border-right: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  border-left: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .035);
  transition: opacity 150ms ease, transform 150ms ease;
}

.ka-image-result.is-changing {
  opacity: .25;
  transform: translateY(5px);
}

.ka-image-result > p {
  display: flex;
  justify-content: space-between;
  margin: 0 0 60px;
  color: var(--ka-lime);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .15em;
}

.ka-image-result h3 {
  margin: 0 0 18px;
  font-family: var(--ka-serif);
  font-size: clamp(37px, 4vw, 60px);
  font-weight: 400;
  letter-spacing: -.045em;
}

.ka-image-result > div {
  max-width: 660px;
  color: rgba(255, 255, 255, .56);
  font-size: 12px;
  line-height: 1.82;
}

.ka-image-notes > aside {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 26px;
  padding: 27px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .17);
}

.ka-image-notes > aside strong {
  color: var(--ka-lime);
  font-family: var(--ka-serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.15;
}

.ka-image-notes > aside p {
  margin: 0;
  color: rgba(255, 255, 255, .48);
  font-size: 9px;
  line-height: 1.7;
}

/* Chapter 04 */
.ka-options {
  padding: clamp(95px, 10vw, 160px) min(7vw, 110px);
  background:
    linear-gradient(90deg, rgba(107, 31, 65, .035) 1px, transparent 1px) 0 0 / 16.666% 100%,
    var(--ka-paper-bright);
}

.ka-decision-canvas {
  margin-top: clamp(62px, 7vw, 100px);
  border: 1px solid var(--ka-line);
  background: var(--ka-paper);
  box-shadow: 22px 30px 75px rgba(53, 16, 31, .09);
}

.ka-option-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--ka-line);
}

.ka-option-tabs button {
  position: relative;
  min-height: 145px;
  padding: 28px;
  border-right: 1px solid var(--ka-line);
  background: transparent;
  color: var(--ka-ink);
  text-align: left;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.ka-option-tabs button:last-child {
  border-right: 0;
}

.ka-option-tabs button::after {
  position: absolute;
  right: 25px;
  bottom: 22px;
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
}

.ka-option-tabs button span {
  display: block;
  margin-bottom: 29px;
  color: var(--ka-wine);
  font-size: 8px;
  font-weight: 850;
}

.ka-option-tabs button strong {
  display: block;
  font-family: var(--ka-serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.05;
}

.ka-option-tabs button small {
  display: block;
  margin-top: 8px;
  color: var(--ka-muted);
  font-size: 8px;
  line-height: 1.4;
}

.ka-option-tabs button:hover,
.ka-option-tabs button.is-active {
  background: var(--ka-wine-dark);
  color: white;
  transform: translateY(-7px);
}

.ka-option-tabs button:hover span,
.ka-option-tabs button.is-active span,
.ka-option-tabs button:hover small,
.ka-option-tabs button.is-active small {
  color: var(--ka-lime);
}

.ka-route-panel {
  display: grid;
  min-height: 390px;
  grid-template-columns: 155px 1fr;
  transition: opacity 150ms ease, transform 150ms ease;
}

.ka-route-panel.is-changing {
  opacity: .2;
  transform: translateY(5px);
}

.ka-route-index {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--ka-line);
  color: var(--ka-wine);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .16em;
}

.ka-route-index strong {
  margin-top: 7px;
  font-family: var(--ka-serif);
  font-size: 67px;
  font-weight: 400;
  letter-spacing: -.05em;
}

.ka-route-content {
  padding: clamp(44px, 6vw, 80px);
}

.ka-route-content > p {
  margin: 0 0 16px;
  color: var(--ka-wine);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .18em;
}

.ka-route-content h3 {
  max-width: 900px;
  margin: 0;
  font-family: var(--ka-serif);
  font-size: clamp(38px, 4.2vw, 66px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .98;
}

.ka-route-columns {
  display: grid;
  max-width: 980px;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 39px;
}

.ka-route-columns > div {
  padding-top: 16px;
  border-top: 1px solid var(--ka-line-dark);
}

.ka-route-columns strong {
  color: var(--ka-wine);
  font-size: 9px;
}

.ka-route-columns p {
  margin: 8px 0 0;
  color: var(--ka-muted);
  font-size: 10px;
  line-height: 1.72;
}

.ka-route-content > a {
  display: inline-flex;
  gap: 17px;
  margin-top: 34px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--ka-wine);
  color: var(--ka-wine);
  font-size: 9px;
  font-weight: 800;
}

.ka-canvas-note {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 23px 30px;
  border-top: 1px solid var(--ka-line);
  background: var(--ka-wine-dark);
  color: rgba(255, 255, 255, .61);
  font-size: 9px;
  line-height: 1.55;
}

.ka-canvas-note span,
.ka-canvas-note strong {
  color: var(--ka-lime);
}

/* Chapter 05 */
.ka-decision {
  padding: clamp(95px, 10vw, 160px) min(7vw, 110px);
  background: var(--ka-paper);
}

.ka-decision-head {
  max-width: 1120px;
}

.ka-decision-head > p:last-child {
  max-width: 770px;
  margin-top: 29px;
}

.ka-decision-checks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(58px, 7vw, 95px);
  border-top: 2px solid var(--ka-wine);
  border-bottom: 1px solid var(--ka-line-dark);
}

.ka-decision-checks article {
  min-height: 255px;
  padding: 33px 27px;
  border-right: 1px solid var(--ka-line-dark);
}

.ka-decision-checks article:last-child {
  border-right: 0;
}

.ka-decision-checks span {
  color: var(--ka-wine);
  font-size: 8px;
  font-weight: 850;
}

.ka-decision-checks h3 {
  margin: 67px 0 13px;
  font-family: var(--ka-serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1;
}

.ka-decision-checks p {
  margin: 0;
  color: var(--ka-muted);
  font-size: 10px;
  line-height: 1.68;
}

.ka-decision-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 33px;
  padding: 28px 31px;
  border: 1px solid var(--ka-wine);
  background: var(--ka-paper-bright);
  color: var(--ka-wine);
  transition: background 220ms ease, color 220ms ease;
}

.ka-decision-link:hover {
  background: var(--ka-wine-dark);
  color: white;
}

.ka-decision-link span {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ka-decision-link small {
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .16em;
}

.ka-decision-link strong {
  max-width: 820px;
  font-family: var(--ka-serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.15;
}

.ka-decision-link b {
  font-size: 22px;
  font-weight: 400;
}

/* Function image band */
.ka-function {
  display: grid;
  min-height: 630px;
  grid-template-columns: 1.08fr .92fr;
  background: var(--ka-wine-dark);
  color: white;
}

.ka-function-image {
  position: relative;
  min-height: 630px;
  margin: 0;
  overflow: hidden;
}

.ka-function-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, var(--ka-wine-dark) 100%);
  content: "";
}

.ka-function-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.78) contrast(1.05);
  transition: transform 1.1s cubic-bezier(.2, .8, .2, 1);
}

.ka-function:hover .ka-function-image img {
  transform: scale(1.025);
}

.ka-function-image figcaption {
  position: absolute;
  z-index: 2;
  bottom: 18px;
  left: 22px;
}

.ka-function-image figcaption a {
  color: rgba(255, 255, 255, .52);
  font-size: 7px;
}

.ka-function-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(65px, 7vw, 115px);
}

.ka-function-copy h2 {
  font-size: clamp(48px, 5.1vw, 79px);
}

.ka-function-copy > p:not(.ka-eyebrow) {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .6);
  font-size: 12px;
  line-height: 1.82;
}

.ka-function-copy ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px 25px;
  margin: 34px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
  list-style: none;
}

.ka-function-copy li {
  color: rgba(255, 255, 255, .73);
  font-size: 9px;
}

.ka-function-copy li::before {
  margin-right: 11px;
  color: var(--ka-lime);
  content: "·";
}

/* Cross routes */
.ka-crossroads {
  padding: clamp(90px, 9vw, 145px) min(7vw, 110px);
  background: var(--ka-paper-bright);
}

.ka-crossroads-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, .48fr);
  align-items: end;
  gap: 70px;
}

.ka-crossroads-head .ka-eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -46px;
}

.ka-crossroads-head h2 {
  font-size: clamp(50px, 5.6vw, 88px);
}

.ka-crossroads-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 67px;
  border-top: 2px solid var(--ka-wine);
  border-bottom: 1px solid var(--ka-line-dark);
}

.ka-crossroads-grid a {
  position: relative;
  min-height: 248px;
  padding: 30px 27px;
  border-right: 1px solid var(--ka-line-dark);
  transition: background 240ms ease, color 240ms ease, transform 240ms ease;
}

.ka-crossroads-grid a:last-child {
  border-right: 0;
}

.ka-crossroads-grid a > span {
  color: var(--ka-wine);
  font-size: 8px;
  font-weight: 850;
}

.ka-crossroads-grid small {
  display: block;
  margin-top: 55px;
  color: var(--ka-wine-soft);
  font-size: 7px;
  font-weight: 780;
  letter-spacing: .11em;
}

.ka-crossroads-grid strong {
  display: block;
  max-width: 250px;
  margin-top: 11px;
  font-family: var(--ka-serif);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.ka-crossroads-grid b {
  position: absolute;
  right: 25px;
  bottom: 24px;
  color: var(--ka-wine);
  font-size: 19px;
  font-weight: 400;
  transition: transform 220ms ease;
}

.ka-crossroads-grid a:hover {
  z-index: 2;
  background: var(--ka-wine-dark);
  color: white;
  transform: translateY(-8px);
}

.ka-crossroads-grid a:hover > span,
.ka-crossroads-grid a:hover small,
.ka-crossroads-grid a:hover b {
  color: var(--ka-lime);
}

.ka-crossroads-grid a:hover b {
  transform: translate(4px, -4px);
}

/* FAQ */
.ka-faq {
  padding: clamp(90px, 9vw, 145px) min(7vw, 110px);
  background: var(--ka-paper-deep);
}

.ka-faq-grid {
  display: grid;
  grid-template-columns: minmax(300px, .66fr) minmax(520px, 1fr);
  align-items: start;
  gap: clamp(65px, 10vw, 160px);
}

.ka-faq-intro {
  position: sticky;
  top: 135px;
}

.ka-faq-intro h2 {
  font-size: clamp(50px, 5.1vw, 81px);
}

.ka-faq-intro > p:not(.ka-eyebrow) {
  max-width: 440px;
  margin: 28px 0 0;
  color: var(--ka-muted);
  font-size: 11px;
  line-height: 1.8;
}

.ka-faq-intro > a {
  display: inline-flex;
  gap: 19px;
  margin-top: 31px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ka-wine);
  color: var(--ka-wine);
  font-size: 10px;
  font-weight: 800;
}

.ka-faq-list {
  border-top: 2px solid var(--ka-wine);
}

.ka-faq-list details {
  border-bottom: 1px solid rgba(107, 31, 65, .22);
}

.ka-faq-list summary {
  display: grid;
  min-height: 80px;
  grid-template-columns: 38px 1fr 25px;
  align-items: center;
  gap: 15px;
  padding: 18px 0;
  list-style: none;
}

.ka-faq-list summary::-webkit-details-marker {
  display: none;
}

.ka-faq-list summary span {
  color: var(--ka-wine);
  font-size: 8px;
  font-weight: 850;
}

.ka-faq-list summary strong {
  font-size: 11px;
  font-weight: 730;
}

.ka-faq-list summary i {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(107, 31, 65, .28);
  border-radius: 50%;
  color: var(--ka-wine);
  font-size: 15px;
  font-style: normal;
  transition: transform 220ms ease, background 220ms ease;
}

.ka-faq-list details[open] summary i {
  background: var(--ka-wine);
  color: white;
  transform: rotate(45deg);
}

.ka-faq-list details > p {
  max-width: 680px;
  margin: -4px 42px 0 53px;
  padding: 0 0 26px;
  color: var(--ka-muted);
  font-size: 11px;
  line-height: 1.78;
}

.ka-faq-list details > p a {
  border-bottom: 1px solid var(--ka-wine);
  color: var(--ka-wine);
}

/* Final */
.ka-final {
  padding: clamp(70px, 8vw, 115px) min(7vw, 110px);
  background:
    radial-gradient(circle at 8% 130%, rgba(206, 237, 62, .11) 0 11%, transparent 11.2%),
    var(--ka-wine-black);
  color: white;
}

.ka-final-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, .72fr);
  align-items: center;
  gap: clamp(55px, 9vw, 140px);
}

.ka-final h2 {
  font-size: clamp(50px, 5.1vw, 80px);
}

.ka-final-grid > div:last-child > p {
  margin: 0;
  color: rgba(255, 255, 255, .61);
  font-size: 11px;
  line-height: 1.82;
}

.ka-final-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 29px;
}

.ka-final-actions > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ka-final-actions small {
  color: rgba(255, 255, 255, .43);
  font-size: 7px;
}

.ka-final-actions strong {
  color: white;
  font-family: var(--ka-serif);
  font-size: 26px;
  font-weight: 400;
}

.knee-child-site + .site-footer {
  margin-top: 0;
}

@media (max-width: 1280px) {
  .ka-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, .68fr);
    gap: 60px;
  }

  .ka-hero h1 {
    font-size: clamp(58px, 6.7vw, 87px);
  }

  .ka-hero-photo {
    width: 100%;
  }

  .ka-case-note {
    right: 30px;
  }

  .ka-dossier {
    grid-template-columns: 138px minmax(0, 1fr);
  }

  .ka-chapter-rail {
    padding-left: 20px;
  }

  .ka-chapter-rail a::before {
    left: -20px;
  }

  .ka-exam-grid {
    gap: 70px;
  }
}

@media (max-width: 1050px) {
  .ka-shell {
    width: min(91vw, 920px);
  }

  .ka-hero {
    min-height: 0;
    padding-top: 135px;
  }

  .ka-hero-grid {
    grid-template-columns: 1fr;
  }

  .ka-hero-copy {
    max-width: 850px;
  }

  .ka-hero-visual {
    min-height: 610px;
  }

  .ka-hero-photo {
    right: 0;
    left: 9%;
    width: 72%;
  }

  .ka-case-note {
    right: 5%;
    width: 42%;
  }

  .ka-hero-stamp {
    left: 0;
  }

  .ka-dossier {
    display: block;
  }

  .ka-chapter-rail {
    top: 84px;
    display: flex;
    min-height: 0;
    padding: 0 min(5vw, 45px);
    border-right: 0;
    border-bottom: 1px solid var(--ka-line);
    overflow-x: auto;
  }

  .ka-chapter-rail > p {
    display: none;
  }

  .ka-chapter-rail a {
    min-width: 145px;
    grid-template-columns: 26px 1fr;
    border-top: 0;
    border-right: 1px solid rgba(107, 31, 65, .13);
  }

  .ka-chapter-rail a:last-child {
    border-bottom: 0;
  }

  .ka-chapter-rail a::before {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: 3px;
    transform: scaleX(.3);
  }

  .ka-chapter-rail a.is-active::before {
    transform: scaleX(1);
  }

  .ka-pattern,
  .ka-examination,
  .ka-imaging,
  .ka-options,
  .ka-decision,
  .ka-crossroads,
  .ka-faq,
  .ka-final {
    padding-right: min(5vw, 45px);
    padding-left: min(5vw, 45px);
  }

  .ka-section-head {
    gap: 55px;
  }

  .ka-pattern-console {
    grid-template-columns: minmax(260px, .68fr) 1fr;
  }

  .ka-exam-grid {
    grid-template-columns: 1fr minmax(300px, .55fr);
    gap: 50px;
  }

  .ka-imaging-grid {
    grid-template-columns: minmax(320px, .7fr) 1fr;
    gap: 50px;
  }

  .ka-xray-frame {
    height: 500px;
  }

  .ka-option-tabs button {
    padding: 22px 18px;
  }

  .ka-decision-checks article {
    padding: 27px 20px;
  }

  .ka-function-copy {
    padding: 65px 50px;
  }
}

@media (max-width: 820px) {
  .ka-hero h1 {
    font-size: clamp(52px, 10.5vw, 78px);
  }

  .ka-hero-visual {
    min-height: 570px;
  }

  .ka-hero-photo {
    left: 0;
    width: 82%;
    height: 480px;
  }

  .ka-case-note {
    right: 0;
    width: 48%;
  }

  .ka-section-head,
  .ka-crossroads-head,
  .ka-final-grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 27px;
  }

  .ka-crossroads-head .ka-eyebrow {
    grid-column: auto;
    margin-bottom: -4px;
  }

  .ka-pattern-console,
  .ka-exam-grid,
  .ka-imaging-grid,
  .ka-faq-grid {
    grid-template-columns: 1fr;
  }

  .ka-pattern-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-right: 0;
    border-bottom: 1px solid var(--ka-line);
  }

  .ka-pattern-list button:nth-child(odd) {
    border-right: 1px solid var(--ka-line);
  }

  .ka-pattern-result {
    min-height: 460px;
  }

  .ka-exam-sleeve,
  .ka-faq-intro {
    position: relative;
    top: auto;
  }

  .ka-exam-sleeve {
    width: min(88%, 520px);
    margin: 70px auto 25px;
  }

  .ka-imaging-grid {
    width: min(100%, 720px);
    margin-right: auto;
    margin-left: auto;
  }

  .ka-xray-board {
    width: min(78vw, 490px);
    margin-right: auto;
    margin-left: auto;
  }

  .ka-option-tabs,
  .ka-decision-checks,
  .ka-crossroads-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ka-option-tabs button:nth-child(2) {
    border-right: 0;
  }

  .ka-option-tabs button:nth-child(-n+2) {
    border-bottom: 1px solid var(--ka-line);
  }

  .ka-route-panel {
    grid-template-columns: 105px 1fr;
  }

  .ka-decision-checks article:nth-child(2),
  .ka-crossroads-grid a:nth-child(2) {
    border-right: 0;
  }

  .ka-decision-checks article:nth-child(-n+2),
  .ka-crossroads-grid a:nth-child(-n+2) {
    border-bottom: 1px solid var(--ka-line-dark);
  }

  .ka-function {
    grid-template-columns: 1fr;
  }

  .ka-function-image {
    min-height: 480px;
  }

  .ka-function-image::after {
    background: linear-gradient(180deg, transparent 65%, var(--ka-wine-dark) 100%);
  }
}

@media (max-width: 600px) {
  .ka-shell {
    width: min(91vw, 540px);
  }

  .ka-hero {
    padding-top: 112px;
    padding-bottom: 42px;
  }

  .ka-breadcrumbs {
    margin-bottom: 36px;
    font-size: 7px;
  }

  .ka-hero h1 {
    font-size: clamp(45px, 13.4vw, 64px);
    line-height: .94;
  }

  .ka-hero-lead {
    font-size: 13px;
    line-height: 1.72;
  }

  .ka-hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
  }

  .ka-button,
  .ka-text-link {
    width: 100%;
  }

  .ka-text-link {
    justify-content: space-between;
  }

  .ka-hero-visual {
    min-height: 605px;
  }

  .ka-hero-photo {
    width: 100%;
    height: 405px;
  }

  .ka-case-note {
    right: 4%;
    bottom: 4px;
    width: 92%;
    padding: 23px;
  }

  .ka-hero-stamp {
    top: 347px;
    left: -7px;
    width: 90px;
    height: 90px;
  }

  .ka-hero-line {
    display: none;
  }

  .ka-chapter-rail {
    top: 74px;
    padding: 0 4.5vw;
  }

  .ka-chapter-rail a {
    min-width: 113px;
    min-height: 56px;
  }

  .ka-chapter-rail a strong {
    font-size: 13px;
  }

  .ka-section-head h2,
  .ka-decision-head h2,
  .ka-function-copy h2,
  .ka-crossroads-head h2,
  .ka-faq-intro h2,
  .ka-final h2 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .ka-pattern,
  .ka-examination,
  .ka-imaging,
  .ka-options,
  .ka-decision,
  .ka-crossroads,
  .ka-faq,
  .ka-final {
    padding: 78px 4.5vw;
  }

  .ka-pattern-list {
    grid-template-columns: 1fr;
  }

  .ka-pattern-list button:nth-child(odd) {
    border-right: 0;
  }

  .ka-pattern-result {
    min-height: 440px;
    padding: 37px 25px;
  }

  .ka-pattern-result h3 {
    margin-top: 58px;
    font-size: 40px;
  }

  .ka-urgent-note {
    grid-template-columns: 34px 1fr;
    padding: 17px;
  }

  .ka-urgent-note > span {
    width: 31px;
    height: 31px;
  }

  .ka-exam-questions li {
    grid-template-columns: 34px 1fr;
  }

  .ka-exam-sleeve {
    width: calc(100% - 20px);
    padding: 22px;
  }

  .ka-sleeve-image {
    height: 390px;
  }

  .ka-xray-board {
    width: 100%;
    padding: 23px;
  }

  .ka-xray-frame {
    height: 440px;
  }

  .ka-image-tabs {
    grid-template-columns: 1fr;
  }

  .ka-image-tabs button {
    min-height: 58px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
    text-align: left;
  }

  .ka-image-tabs span {
    display: inline-block;
    margin: 0 12px 0 0;
  }

  .ka-image-result {
    min-height: 360px;
    padding: 36px 25px;
  }

  .ka-image-notes > aside {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ka-option-tabs,
  .ka-decision-checks,
  .ka-crossroads-grid {
    grid-template-columns: 1fr;
  }

  .ka-option-tabs button,
  .ka-option-tabs button:nth-child(2),
  .ka-decision-checks article,
  .ka-decision-checks article:nth-child(2),
  .ka-crossroads-grid a,
  .ka-crossroads-grid a:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--ka-line);
  }

  .ka-option-tabs button {
    min-height: 112px;
  }

  .ka-option-tabs button span {
    margin-bottom: 18px;
  }

  .ka-route-panel {
    grid-template-columns: 1fr;
  }

  .ka-route-index {
    min-height: 75px;
    align-items: center;
    flex-direction: row;
    gap: 8px;
    border-right: 0;
    border-bottom: 1px solid var(--ka-line);
  }

  .ka-route-index strong {
    margin: 0;
    font-size: 35px;
  }

  .ka-route-content {
    padding: 38px 25px;
  }

  .ka-route-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ka-canvas-note {
    align-items: flex-start;
  }

  .ka-decision-checks article {
    min-height: 205px;
  }

  .ka-decision-checks h3 {
    margin-top: 38px;
  }

  .ka-decision-link {
    padding: 23px;
  }

  .ka-function-image {
    min-height: 360px;
  }

  .ka-function-copy {
    padding: 67px 4.5vw;
  }

  .ka-function-copy ul {
    grid-template-columns: 1fr;
  }

  .ka-crossroads-grid a {
    min-height: 205px;
  }

  .ka-faq-list summary {
    grid-template-columns: 29px 1fr 25px;
  }

  .ka-faq-list details > p {
    margin-right: 15px;
    margin-left: 44px;
  }

  .ka-final-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .knee-child-site *,
  .knee-child-site *::before,
  .knee-child-site *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .has-js .knee-child-site [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Child master refinement — compact desktop editorial scale
   2026-08-11: preserve visual language, reduce oversized section height,
   and give clinical paragraphs more readable prominence.
   -------------------------------------------------------------------------- */

.ka-specialist {
  padding: 72px min(7vw, 110px) 58px;
  background: var(--ka-paper-bright);
}

.ka-specialist-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--ka-line);
  background: var(--ka-paper);
  box-shadow: 18px 24px 55px rgba(53, 16, 31, .07);
}

.ka-specialist-photo {
  height: 235px;
  margin: 0;
  overflow: hidden;
  background: var(--ka-wine-dark);
}

.ka-specialist-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.ka-specialist-copy h2 {
  margin: 0;
  font-family: var(--ka-serif);
  font-size: clamp(38px, 3.5vw, 56px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1;
}

.ka-specialist-copy > p:not(.ka-eyebrow) {
  max-width: 900px;
  margin: 18px 0 0;
  color: var(--ka-muted);
  font-size: 15px;
  line-height: 1.75;
}

.ka-specialist-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 20px;
}

.ka-medical-note {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  margin-top: 18px;
  padding: 18px 22px;
  border-top: 1px solid var(--ka-line);
  color: var(--ka-muted);
}

.ka-medical-note strong {
  color: var(--ka-wine);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ka-medical-note p {
  max-width: 980px;
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}

@media (min-width: 1051px) {
  .ka-shell {
    width: min(90vw, 1440px);
  }

  .ka-hero {
    min-height: 690px;
    padding: 118px 0 42px;
  }

  .ka-hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(390px, .72fr);
    gap: clamp(52px, 6vw, 92px);
  }

  .ka-breadcrumbs {
    margin-bottom: 30px;
    font-size: 9px;
  }

  .ka-eyebrow {
    margin-bottom: 15px;
    font-size: 9px;
  }

  .ka-hero h1 {
    max-width: 790px;
    font-size: clamp(54px, 5vw, 78px);
    letter-spacing: -.058em;
    line-height: .94;
  }

  .ka-hero-lead {
    max-width: 735px;
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.72;
  }

  .ka-hero-actions {
    margin-top: 26px;
  }

  .ka-button {
    min-height: 52px;
    padding: 0 22px;
  }

  .ka-hero-visual {
    min-height: 510px;
  }

  .ka-hero-photo {
    width: min(34vw, 490px);
    height: 455px;
  }

  .ka-case-note {
    right: 34px;
    width: min(82%, 385px);
    padding: 21px 24px 20px;
  }

  .ka-case-note > p {
    margin-bottom: 13px;
    font-size: 8px;
  }

  .ka-case-note dl > div {
    grid-template-columns: 88px 1fr;
    padding: 9px 0;
  }

  .ka-case-note dt,
  .ka-case-note > small {
    font-size: 9px;
  }

  .ka-case-note dd {
    font-size: 11px;
    line-height: 1.45;
  }

  .ka-hero-stamp {
    top: 24px;
    left: -30px;
    width: 100px;
    height: 100px;
  }

  .ka-hero-line {
    margin-top: 28px;
  }

  .ka-dossier {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .ka-chapter-rail {
    min-height: calc(100vh - 95px);
    padding: 30px 15px 24px 22px;
  }

  .ka-chapter-rail > p {
    margin-bottom: 24px;
  }

  .ka-chapter-rail a {
    min-height: 54px;
    grid-template-columns: 27px 1fr;
  }

  .ka-chapter-rail a strong {
    font-size: 14px;
  }

  .ka-section-head {
    grid-template-columns: minmax(0, 1.17fr) minmax(300px, .55fr);
    gap: clamp(42px, 5vw, 78px);
  }

  .ka-section-head h2,
  .ka-decision-head h2,
  .ka-function-copy h2,
  .ka-crossroads-head h2,
  .ka-faq-intro h2,
  .ka-final h2 {
    font-size: clamp(44px, 4vw, 62px);
    line-height: .99;
  }

  .ka-section-head > p,
  .ka-section-head > div > p:last-child,
  .ka-decision-head > p:last-child,
  .ka-crossroads-head > p:last-child {
    font-size: 15px;
    line-height: 1.72;
  }

  .ka-pattern,
  .ka-examination,
  .ka-imaging,
  .ka-options,
  .ka-decision,
  .ka-crossroads,
  .ka-faq,
  .ka-final {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .ka-pattern,
  .ka-examination,
  .ka-imaging,
  .ka-options,
  .ka-decision,
  .ka-crossroads,
  .ka-faq,
  .ka-final,
  .ka-specialist {
    padding-right: min(5vw, 76px);
    padding-left: min(5vw, 76px);
  }

  .ka-pattern-console {
    grid-template-columns: minmax(280px, .62fr) minmax(430px, 1fr);
    margin-top: 38px;
  }

  .ka-pattern-list button {
    min-height: 58px;
    padding: 11px 17px;
  }

  .ka-pattern-list button strong {
    font-size: 12px;
  }

  .ka-pattern-result {
    padding: 38px 46px;
  }

  .ka-pattern-result h3 {
    max-width: 680px;
    margin: 34px 0 16px;
    font-size: clamp(36px, 3.4vw, 50px);
    line-height: 1.02;
  }

  .ka-pattern-result > p {
    max-width: 650px;
    font-size: 15px;
    line-height: 1.72;
  }

  .ka-pattern-result > a {
    margin-top: 23px;
    font-size: 11px;
  }

  .ka-urgent-note {
    margin-top: 20px;
    padding: 16px 18px;
  }

  .ka-urgent-note p {
    font-size: 13px;
    line-height: 1.6;
  }

  .ka-exam-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, .52fr);
    gap: clamp(45px, 6vw, 82px);
  }

  .ka-exam-questions {
    margin-top: 30px;
  }

  .ka-exam-questions li {
    padding: 15px 0;
  }

  .ka-exam-questions h3 {
    font-size: 21px;
  }

  .ka-exam-questions p {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.62;
  }

  .ka-exam-sleeve {
    padding: 23px 20px 20px;
  }

  .ka-sleeve-image {
    height: 390px;
  }

  .ka-exam-sleeve blockquote {
    margin-top: 18px;
    font-size: 19px;
    line-height: 1.08;
  }

  .ka-imaging-grid {
    gap: clamp(42px, 5vw, 72px);
    margin-top: 38px;
  }

  .ka-xray-board {
    padding: 26px;
  }

  .ka-xray-frame {
    height: 430px;
  }

  .ka-image-tabs button {
    min-height: 63px;
    padding: 12px 14px;
    font-size: 10px;
  }

  .ka-image-result {
    min-height: 245px;
    padding: 34px 40px;
  }

  .ka-image-result h3 {
    font-size: clamp(34px, 3vw, 46px);
  }

  .ka-image-result > div {
    font-size: 14px;
    line-height: 1.7;
  }

  .ka-image-notes > aside {
    padding: 20px 0;
  }

  .ka-image-notes > aside strong {
    font-size: 17px;
  }

  .ka-image-notes > aside p {
    font-size: 13px;
    line-height: 1.62;
  }

  .ka-option-tabs button {
    min-height: 102px;
    padding: 20px;
  }

  .ka-option-tabs button strong {
    font-size: 19px;
  }

  .ka-option-tabs button small {
    font-size: 9px;
  }

  .ka-route-panel {
    min-height: 305px;
    grid-template-columns: 120px 1fr;
  }

  .ka-route-index strong {
    font-size: 52px;
  }

  .ka-route-content {
    padding: 36px 42px;
  }

  .ka-route-content h3 {
    font-size: clamp(34px, 3.2vw, 49px);
    line-height: 1.02;
  }

  .ka-route-columns {
    gap: 42px;
    margin-top: 24px;
  }

  .ka-route-columns strong {
    font-size: 10px;
  }

  .ka-route-columns p {
    font-size: 13px;
    line-height: 1.65;
  }

  .ka-route-content > a {
    margin-top: 22px;
    font-size: 10px;
  }

  .ka-canvas-note {
    padding: 17px 22px;
    font-size: 11px;
  }

  .ka-decision-head > p:last-child {
    max-width: 840px;
    margin-top: 18px;
  }

  .ka-decision-checks {
    margin-top: 38px;
  }

  .ka-decision-checks article {
    min-height: 185px;
    padding: 22px 20px;
  }

  .ka-decision-checks h3 {
    margin: 37px 0 10px;
    font-size: 22px;
  }

  .ka-decision-checks p {
    font-size: 13px;
    line-height: 1.6;
  }

  .ka-decision-link {
    margin-top: 22px;
    padding: 20px 24px;
  }

  .ka-decision-link strong {
    font-size: 21px;
  }

  .ka-function,
  .ka-function-image {
    min-height: 455px;
  }

  .ka-function-copy {
    padding: 52px 58px;
  }

  .ka-function-copy h2 {
    font-size: clamp(42px, 3.8vw, 58px);
  }

  .ka-function-copy > p:not(.ka-eyebrow) {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.7;
  }

  .ka-function-copy ul {
    gap: 13px 22px;
    margin-top: 23px;
    padding-top: 19px;
  }

  .ka-function-copy li {
    font-size: 12px;
  }

  .ka-crossroads-head {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .48fr);
    gap: 48px;
  }

  .ka-crossroads-head .ka-eyebrow {
    margin-bottom: -28px;
  }

  .ka-crossroads-head h2 {
    font-size: clamp(44px, 4vw, 62px);
  }

  .ka-crossroads-grid {
    margin-top: 38px;
  }

  .ka-crossroads-grid a {
    min-height: 170px;
    padding: 21px 20px;
  }

  .ka-crossroads-grid small {
    margin-top: 27px;
    font-size: 8px;
  }

  .ka-crossroads-grid strong {
    font-size: 22px;
  }

  .ka-faq-grid {
    grid-template-columns: minmax(280px, .58fr) minmax(520px, 1fr);
    gap: clamp(46px, 6vw, 82px);
  }

  .ka-faq-intro {
    top: 116px;
  }

  .ka-faq-intro h2 {
    font-size: clamp(42px, 3.8vw, 59px);
  }

  .ka-faq-intro > p:not(.ka-eyebrow) {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.65;
  }

  .ka-faq-list summary {
    min-height: 58px;
    padding: 12px 0;
  }

  .ka-faq-list summary strong {
    font-size: 13px;
    line-height: 1.35;
  }

  .ka-faq-list details > p {
    margin-top: 0;
    padding-bottom: 18px;
    font-size: 14px;
    line-height: 1.68;
  }

  .ka-final-grid {
    grid-template-columns: minmax(0, .9fr) minmax(420px, .7fr);
    gap: clamp(46px, 6vw, 86px);
  }

  .ka-final h2 {
    font-size: clamp(42px, 3.7vw, 58px);
  }

  .ka-final-grid > div:last-child > p {
    font-size: 15px;
    line-height: 1.68;
  }

  .ka-final-actions {
    margin-top: 21px;
  }

  .ka-specialist {
    padding-top: 54px;
    padding-bottom: 46px;
  }
}

@media (max-width: 820px) {
  .ka-specialist {
    padding: 62px 5vw 48px;
  }

  .ka-specialist-card {
    grid-template-columns: 160px 1fr;
    gap: 25px;
    padding: 22px;
  }

  .ka-specialist-photo {
    height: 190px;
  }

  .ka-specialist-copy > p:not(.ka-eyebrow) {
    font-size: 14px;
  }

  .ka-medical-note {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 600px) {
  .ka-specialist-card {
    grid-template-columns: 1fr;
  }

  .ka-specialist-photo {
    width: min(68vw, 260px);
    height: 260px;
  }

  .ka-specialist-copy h2 {
    font-size: 42px;
  }

  .ka-specialist-actions {
    flex-direction: column;
    gap: 8px;
  }
}


/* --------------------------------------------------------------------------
   Child master FINAL refinement — compact, readable, contrast-safe
   -------------------------------------------------------------------------- */
@media (min-width: 1051px) {
  .ka-hero {
    min-height: 645px;
    padding-top: 108px;
    padding-bottom: 34px;
  }
  .ka-hero-grid { gap: clamp(46px, 5.2vw, 78px); }
  .ka-hero h1 { font-size: clamp(52px, 4.65vw, 72px); }
  .ka-hero-lead { font-size: 16.5px; line-height: 1.7; }
  .ka-hero-visual { min-height: 475px; }
  .ka-hero-photo { width: min(33vw, 470px); height: 430px; }
  .ka-case-note { right: 26px; bottom: 3px; width: min(80%, 370px); }
  .ka-hero-line { margin-top: 20px; }

  /* Keep the seal, but make it an intentional image badge rather than a clipped object. */
  .ka-hero-stamp {
    top: 18px;
    left: 18px;
    width: 88px;
    height: 88px;
    padding: 7px;
    border-color: rgba(107, 31, 65, .34);
    background: rgba(247, 242, 234, .88);
    box-shadow: 0 8px 24px rgba(53, 16, 31, .1);
    backdrop-filter: blur(7px);
    transform: rotate(-8deg);
  }
  .ka-hero-stamp span { font-size: 6px; }
  .ka-hero-stamp b { max-width: 66px; margin-top: 5px; font-size: 11px; }

  .ka-pattern,
  .ka-examination,
  .ka-options,
  .ka-decision,
  .ka-crossroads,
  .ka-faq,
  .ka-final { padding-top: 58px; padding-bottom: 58px; }

  .ka-imaging { padding-top: 54px; padding-bottom: 48px; }

  .ka-section-head h2,
  .ka-decision-head h2,
  .ka-function-copy h2,
  .ka-crossroads-head h2,
  .ka-faq-intro h2,
  .ka-final h2 { font-size: clamp(42px, 3.75vw, 58px); }

  .ka-section-head > p,
  .ka-section-head > div > p:last-child,
  .ka-decision-head > p:last-child,
  .ka-crossroads-head > p:last-child { font-size: 15.5px; line-height: 1.68; }

  .ka-pattern-console { margin-top: 30px; }
  .ka-pattern-list button { min-height: 54px; }
  .ka-pattern-result { padding: 32px 40px; }
  .ka-pattern-result h3 { margin-top: 26px; font-size: clamp(34px, 3.15vw, 47px); }
  .ka-pattern-result > p { font-size: 15px; line-height: 1.68; }

  .ka-exam-grid { gap: clamp(38px, 4.5vw, 66px); }
  .ka-section-head-stacked > div > p:last-child { margin-top: 18px; }
  .ka-exam-questions { margin-top: 24px; }
  .ka-exam-questions li { padding: 13px 0; }
  .ka-exam-questions h3 { font-size: 20px; }
  .ka-exam-questions p { font-size: 14.5px; line-height: 1.58; }
  .ka-exam-sleeve { margin-top: 28px; padding: 19px 18px 16px; }
  .ka-sleeve-image { height: 350px; }
  .ka-exam-sleeve blockquote { margin: 14px 0 4px; font-size: 18px; line-height: 1.08; }

  .ka-imaging-grid {
    grid-template-columns: minmax(330px, .72fr) minmax(430px, 1fr);
    gap: clamp(34px, 4.2vw, 62px);
    margin-top: 28px;
  }
  .ka-imaging .ka-section-head { align-items: start; }
  .ka-section-head-light > p { color: rgba(255,255,255,.82); font-size: 15.5px; }
  .ka-xray-board { padding: 20px; }
  .ka-xray-frame { height: 365px; }
  .ka-xray-board figcaption { margin-top: 8px; gap: 5px 10px; color: rgba(255,255,255,.42); font-size: 6.5px; }
  .ka-xray-board figcaption a { border-bottom-color: rgba(255,255,255,.18); }
  .ka-image-tabs button { min-height: 56px; padding: 9px 10px; font-size: 10px; }
  .ka-image-tabs span { margin-bottom: 4px; }
  .ka-image-result { min-height: 205px; padding: 26px 32px; }
  .ka-image-result > p { margin-bottom: 30px; }
  .ka-image-result h3 { margin-bottom: 12px; font-size: clamp(31px, 2.65vw, 41px); }
  .ka-image-result > div { color: rgba(255,255,255,.80); font-size: 14.5px; line-height: 1.65; }
  .ka-image-notes > aside { display: none; }
  .marker-one { top: 49%; left: 27%; }
  .marker-two { top: 50%; right: 21%; }
  .marker-three { display: none; }

  .ka-option-tabs button { min-height: 86px; padding: 16px 18px; }
  .ka-option-tabs button strong { font-size: 18px; }
  .ka-route-panel { min-height: 258px; grid-template-columns: 105px 1fr; }
  .ka-route-index strong { font-size: 46px; }
  .ka-route-content { padding: 29px 34px; }
  .ka-route-content h3 { font-size: clamp(31px, 2.9vw, 44px); }
  .ka-route-columns { gap: 34px; margin-top: 20px; }
  .ka-route-columns p { font-size: 14px; line-height: 1.58; }
  .ka-route-content > a { margin-top: 18px; }
  .ka-canvas-note { padding: 13px 18px; font-size: 11px; }

  .ka-decision-checks { margin-top: 30px; }
  .ka-decision-checks article { min-height: 165px; padding: 18px 18px; }
  .ka-decision-checks h3 { margin: 29px 0 8px; font-size: 21px; }
  .ka-decision-checks p { font-size: 13.5px; line-height: 1.55; }
  .ka-decision-link { padding: 17px 21px; }

  .ka-function,
  .ka-function-image { min-height: 390px; }
  .ka-function-copy { padding: 42px 48px; }
  .ka-function-copy h2 { font-size: clamp(39px, 3.35vw, 51px); }
  .ka-function-copy > p:not(.ka-eyebrow) { color: rgba(255,255,255,.82); font-size: 15.5px; line-height: 1.64; }
  .ka-function-copy ul { margin-top: 18px; padding-top: 15px; }
  .ka-function-copy li { color: rgba(255,255,255,.88); font-size: 12.5px; }

  .ka-crossroads-head .ka-eyebrow { margin-bottom: -20px; }
  .ka-crossroads-grid { margin-top: 28px; }
  .ka-crossroads-grid a { min-height: 145px; padding: 18px 18px; }
  .ka-crossroads-grid small { margin-top: 20px; }
  .ka-crossroads-grid strong { font-size: 21px; }
  .ka-crossroads-grid b { right: 18px; bottom: 17px; }

  .ka-faq-grid { gap: clamp(38px, 5vw, 70px); }
  .ka-faq-intro h2 { font-size: clamp(39px, 3.4vw, 53px); }
  .ka-faq-list summary { min-height: 54px; padding: 10px 0; }
  .ka-faq-list summary strong { font-size: 13.5px; }
  .ka-faq-list details > p { font-size: 14.5px; line-height: 1.62; }

  .ka-final { padding-top: 48px; padding-bottom: 48px; }
  .ka-final-grid > div:last-child > p { color: rgba(255,255,255,.82); font-size: 15.5px; line-height: 1.62; }

  .ka-specialist { padding-top: 44px; padding-bottom: 42px; }
  .ka-specialist-card { grid-template-columns: 205px minmax(0,1fr); gap: 34px; padding: 25px; }
  .ka-specialist-photo { height: 215px; }
  .ka-specialist-copy > p:not(.ka-eyebrow) { font-size: 15px; line-height: 1.68; }
}

/* Light chapters use wine labels; lime is reserved for dark surfaces. */
.ka-examination .ka-eyebrow,
.ka-decision .ka-eyebrow,
.ka-faq .ka-eyebrow { color: var(--ka-wine); }

/* Dark surfaces need readable body contrast. */
.ka-imaging .ka-section-head-light > p,
.ka-imaging .ka-image-result > div,
.ka-function-copy > p:not(.ka-eyebrow),
.ka-final-grid > div:last-child > p { color: rgba(255,255,255,.82); }


/* CHILD MASTER FINAL — Arthritis approval pass */
@media (min-width: 981px) {
  /* Pull content upward: the child pages should read like clinical editorial pages, not full-screen artboards. */
  .ka-options { padding-top: 46px; padding-bottom: 52px; }
  .ka-options .ka-section-head { margin-bottom: 0; }
  .ka-options .ka-decision-canvas { margin-top: 24px; }

  /* Keep clinical paragraphs prominent enough to read beside the display typography. */
  .ka-options .ka-section-head > p { font-size: 16px; line-height: 1.66; color: #756f70; }

  /* The lime route descriptor is a deliberate information label, not faint decoration. */
  .ka-option-tabs button small { font-size: 9.5px; font-weight: 800; letter-spacing: .01em; }
  .ka-option-tabs button.is-active small,
  .ka-option-tabs button:hover small { color: var(--ka-lime); font-weight: 900; }

  /* Third radiographic observation is visible and points to the bone immediately below the joint surface. */
  .marker-three { display: block; top: 59%; left: 39%; }

  /* Keep the educational imaging block compact while preserving readable explanatory copy. */
  .ka-imaging { padding-top: 48px; padding-bottom: 44px; }
  .ka-imaging-grid { margin-top: 22px; }
  .ka-image-result { min-height: 190px; }

  /* Procedure bridge: sister pages connected from the condition page without turning arthritis into a surgery page. */
  .ka-surgery-bridge {
    margin-top: 28px;
    padding-top: 27px;
    border-top: 1px solid var(--ka-line-dark);
  }
  .ka-surgery-bridge > header {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr);
    gap: 18px 54px;
    align-items: end;
  }
  .ka-surgery-bridge > header .ka-eyebrow { grid-column: 1 / -1; margin: 0; color: var(--ka-wine); }
  .ka-surgery-bridge > header h3 {
    margin: 0;
    max-width: 590px;
    font-family: var(--ka-serif);
    font-size: clamp(28px, 2.3vw, 38px);
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: 1.03;
  }
  .ka-surgery-bridge > header > p:last-child {
    margin: 0;
    color: var(--ka-muted);
    font-size: 14.5px;
    line-height: 1.62;
  }
  .ka-surgery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 22px;
    border-top: 1px solid var(--ka-wine);
    border-bottom: 1px solid var(--ka-line-dark);
  }
  .ka-surgery-grid a {
    position: relative;
    min-height: 152px;
    padding: 18px 42px 18px 18px;
    border-right: 1px solid var(--ka-line-dark);
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
  }
  .ka-surgery-grid a:last-child { border-right: 0; }
  .ka-surgery-grid a:hover { background: var(--ka-wine-dark); color: #fff; transform: translateY(-3px); }
  .ka-surgery-grid span { display: block; color: var(--ka-wine); font-size: 8px; font-weight: 900; }
  .ka-surgery-grid strong { display: block; margin-top: 27px; font-family: var(--ka-serif); font-size: 21px; font-weight: 400; line-height: 1.05; }
  .ka-surgery-grid small { display: block; margin-top: 8px; color: var(--ka-muted); font-size: 11px; line-height: 1.5; }
  .ka-surgery-grid b { position: absolute; right: 17px; bottom: 17px; color: var(--ka-wine); font-size: 17px; font-weight: 400; }
  .ka-surgery-grid a:hover span, .ka-surgery-grid a:hover small, .ka-surgery-grid a:hover b { color: var(--ka-lime); }
  .ka-revision-route {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 15px 18px;
    background: rgba(107,31,65,.035);
    border-bottom: 1px solid var(--ka-line-dark);
    color: var(--ka-wine);
  }
  .ka-revision-route span { display: flex; flex-direction: column; gap: 3px; }
  .ka-revision-route small { font-size: 7px; font-weight: 900; letter-spacing: .14em; }
  .ka-revision-route strong { color: var(--ka-ink); font-size: 12.5px; }
  .ka-revision-route > b { font-size: 11.5px; }
}

@media (max-width: 980px) {
  .marker-three { display: block; top: 59%; left: 39%; }
  .ka-surgery-bridge { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--ka-line-dark); }
  .ka-surgery-bridge > header h3 { margin: 10px 0 8px; font-family: var(--ka-serif); font-size: 30px; line-height: 1.06; }
  .ka-surgery-bridge > header > p:last-child { color: var(--ka-muted); font-size: 14px; line-height: 1.6; }
  .ka-surgery-grid { display: grid; margin-top: 18px; border-top: 1px solid var(--ka-wine); }
  .ka-surgery-grid a { position: relative; padding: 17px 38px 17px 0; border-bottom: 1px solid var(--ka-line-dark); }
  .ka-surgery-grid span { color: var(--ka-wine); font-size: 8px; font-weight: 900; }
  .ka-surgery-grid strong { display: block; margin-top: 9px; font-family: var(--ka-serif); font-size: 21px; font-weight: 400; }
  .ka-surgery-grid small { display: block; margin-top: 6px; color: var(--ka-muted); font-size: 11px; line-height: 1.5; }
  .ka-surgery-grid b { position: absolute; right: 4px; bottom: 17px; color: var(--ka-wine); font-weight: 400; }
  .ka-revision-route { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 12px; padding: 15px; background: rgba(107,31,65,.04); }
  .ka-revision-route span { display: flex; flex-direction: column; gap: 4px; }
  .ka-revision-route small { color: var(--ka-wine); font-size: 7px; font-weight: 900; letter-spacing: .13em; }
  .ka-revision-route strong { font-size: 12px; }
  .ka-revision-route > b { color: var(--ka-wine); font-size: 11px; }
}


/* --------------------------------------------------------------------------
   CHILD MASTER v5 — final arthritis lock
   -------------------------------------------------------------------------- */

/* Clear chapter separation without turning each section into a giant panel. */
.ka-examination {
  background: #f3eee6;
  border-top: 1px solid rgba(107, 31, 65, .12);
  border-bottom: 1px solid rgba(107, 31, 65, .12);
}
.ka-options {
  background:
    linear-gradient(90deg, rgba(107,31,65,.028) 1px, transparent 1px) 0 0 / 16.666% 100%,
    #fbf8f3;
  border-top: 1px solid rgba(107, 31, 65, .10);
  border-bottom: 1px solid rgba(107, 31, 65, .12);
}
.ka-decision {
  background: #f2ece3;
  border-top: 1px solid rgba(107, 31, 65, .12);
  border-bottom: 1px solid rgba(107, 31, 65, .12);
}

/* X-ray markers are now positioned relative to the actual 4:5 radiograph. */
.ka-xray-frame {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ka-xray-image-wrap {
  position: relative;
  height: 100%;
  aspect-ratio: 4 / 5;
  flex: 0 0 auto;
}
.ka-xray-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ka-xray-marker { z-index: 3; }
.marker-one { top: 53%; left: 18%; right: auto; }
.marker-two { top: 49%; left: 79%; right: auto; }
.marker-three { display: block !important; top: 61%; left: 31%; right: auto; }

/* Chapter 04 hierarchy: less dead space, stronger route labels. */
.ka-options .ka-section-head h2 em {
  display: block;
  color: var(--ka-wine);
  font-weight: 400;
  font-style: italic;
}
.ka-option-tabs button small {
  font-weight: 900;
  letter-spacing: .01em;
}
.ka-option-tabs button.is-active small,
.ka-option-tabs button:hover small {
  color: var(--ka-lime);
  font-weight: 900;
}

/* Chapter 05 sister-procedure bridge: compact and clean. */
.ka-surgery-bridge {
  margin-top: 24px;
  padding: 24px 0 0;
  border-top: 1px solid rgba(107,31,65,.28);
}
.ka-surgery-bridge > header {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(300px, .75fr);
  gap: 26px 54px;
  align-items: end;
}
.ka-surgery-bridge > header > div .ka-eyebrow {
  margin: 0 0 10px;
  color: var(--ka-wine);
}
.ka-surgery-bridge > header h3 {
  margin: 0;
  max-width: 640px;
  font-family: var(--ka-serif);
  font-size: clamp(28px, 2.35vw, 38px);
  font-weight: 400;
  letter-spacing: -.042em;
  line-height: 1.04;
}
.ka-surgery-bridge > header > p {
  margin: 0;
  color: var(--ka-muted);
  font-size: 14.5px;
  line-height: 1.62;
}
.ka-surgery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 20px;
  border-top: 1px solid var(--ka-wine);
  border-bottom: 1px solid var(--ka-line-dark);
  background: rgba(255,255,255,.28);
}
.ka-surgery-grid a {
  position: relative;
  min-height: 132px;
  padding: 17px 42px 16px 18px;
  border-right: 1px solid var(--ka-line-dark);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.ka-surgery-grid a:last-child { border-right: 0; }
.ka-surgery-grid a:hover { background: var(--ka-wine-dark); color: #fff; transform: translateY(-2px); }
.ka-surgery-grid span {
  display: block;
  color: var(--ka-wine);
  font-size: 8px;
  font-weight: 900;
}
.ka-surgery-grid strong {
  display: block;
  margin-top: 18px;
  font-family: var(--ka-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.06;
}
.ka-surgery-grid small {
  display: block;
  margin-top: 7px;
  max-width: 290px;
  color: var(--ka-muted);
  font-size: 11px;
  line-height: 1.45;
}
.ka-surgery-grid b {
  position: absolute;
  right: 16px;
  bottom: 15px;
  color: var(--ka-wine);
  font-size: 17px;
  font-weight: 400;
}
.ka-surgery-grid a:hover span,
.ka-surgery-grid a:hover small,
.ka-surgery-grid a:hover b { color: var(--ka-lime); }
.ka-revision-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px 17px;
  background: rgba(107,31,65,.045);
  border-bottom: 1px solid var(--ka-line-dark);
  color: var(--ka-wine);
}
.ka-revision-route span { display: flex; flex-direction: column; gap: 3px; }
.ka-revision-route small { font-size: 7px; font-weight: 900; letter-spacing: .14em; }
.ka-revision-route strong { color: var(--ka-ink); font-size: 12px; line-height: 1.4; }
.ka-revision-route > b { font-size: 11.5px; white-space: nowrap; }

/* Once Chapter 05 ends the dossier rail ends too; subsequent sections regain full width. */
.ka-post-dossier { width: 100%; }

@media (min-width: 1051px) {
  .ka-options { padding-top: 48px; padding-bottom: 50px; }
  .ka-options .ka-section-head { margin-bottom: 0; }
  .ka-options .ka-decision-canvas { margin-top: 18px; }
  .ka-option-tabs button { min-height: 82px; padding: 14px 17px; }
  .ka-option-tabs button span { margin-bottom: 17px; }
  .ka-option-tabs button small { margin-top: 7px; font-size: 10px; }
  .ka-route-panel { min-height: 246px; }

  .ka-decision { padding-top: 52px; padding-bottom: 48px; }
  .ka-decision-head > p:last-child { margin-top: 18px; font-size: 15.5px; line-height: 1.66; }
  .ka-decision-checks { margin-top: 24px; }
  .ka-decision-checks article { min-height: 145px; padding: 16px 18px; }
  .ka-decision-checks h3 { margin: 22px 0 7px; font-size: 20px; }
  .ka-decision-checks p { font-size: 13.5px; line-height: 1.5; }

  .ka-function,
  .ka-function-image { min-height: 360px; }
  .ka-function-copy { padding: 36px 46px; }
  .ka-crossroads { padding-top: 50px; padding-bottom: 50px; }
  .ka-faq { padding-top: 50px; padding-bottom: 50px; }
}

@media (max-width: 1050px) {
  .ka-surgery-bridge > header { grid-template-columns: 1fr; gap: 10px; }
  .ka-surgery-grid { grid-template-columns: 1fr; }
  .ka-surgery-grid a { min-height: auto; border-right: 0; border-bottom: 1px solid var(--ka-line-dark); }
  .ka-surgery-grid a:last-child { border-bottom: 0; }
  .ka-revision-route { align-items: flex-start; flex-direction: column; gap: 8px; }
  .marker-three { display: block !important; }
}


/* ============================================================
   PRIMARY KNEE REPLACEMENT — SURGERY CHILD OVERRIDES
   Uses the protected condition-child system; only content-specific
   components and compactness/readability are changed here.
   ============================================================ */

.primary-knee-replacement-child {}

/* Keep this surgical child tighter than the condition pages. */
.pk-hero { min-height: 760px; padding-top: 132px; padding-bottom: 48px; }
.pk-hero .ka-breadcrumbs { margin-bottom: clamp(28px, 3.2vw, 44px); }
.pk-hero .ka-hero-lead,
.pk-comparison .ka-section-head > p,
.ka-examination .ka-section-head > div > p:last-child,
.pk-xrays .ka-section-head > p,
.ka-options .ka-section-head > p,
.pk-procedure .ka-decision-head > p:last-child,
.pk-recovery .ka-function-copy > p:not(.ka-eyebrow),
.ka-crossroads-head > p:last-child,
.ka-faq-intro > p:not(.ka-eyebrow),
.ka-faq-list details > p,
.ka-specialist-copy > p {
  font-weight: 600;
}

.pk-hero .ka-hero-photo img { object-position: 50% 42%; }
.pk-hero .ka-hero-stamp { background: rgba(206,237,62,.96); color: #19191b; }

.pk-comparison { padding-top: clamp(72px, 7vw, 105px); padding-bottom: clamp(72px, 7vw, 105px); }
.pk-comparison .ka-section-head h2 em { color: var(--ka-wine); font-weight: 400; }
.pk-comparison-figure {
  margin: clamp(42px,5vw,66px) 0 0;
  padding: clamp(14px,2vw,24px);
  border: 1px solid rgba(107,31,65,.17);
  background: #fff;
  box-shadow: 18px 24px 60px rgba(53,16,31,.07);
}
.pk-comparison-figure img { display:block; width:100%; height:auto; }
.pk-compare-notes { display:grid; grid-template-columns:1fr 1fr; margin-top:0; border:1px solid rgba(107,31,65,.17); border-top:0; background:var(--ka-paper); }
.pk-compare-notes article { padding:26px 30px 28px; }
.pk-compare-notes article + article { border-left:1px solid rgba(107,31,65,.17); }
.pk-compare-notes span { display:inline-grid; width:30px; height:30px; place-items:center; margin-bottom:18px; background:var(--ka-lime); color:#1e1d20; font-size:8px; font-weight:900; }
.pk-compare-notes small { display:block; margin-bottom:8px; color:var(--ka-wine); font-size:8px; font-weight:850; letter-spacing:.12em; }
.pk-compare-notes h3 { margin:0 0 10px; font-family:var(--ka-serif); font-size:clamp(27px,2.3vw,39px); font-weight:400; letter-spacing:-.035em; }
.pk-compare-notes p { margin:0; color:#48434a; font-size:11px; font-weight:620; line-height:1.72; }
.pk-robot-note { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:24px; margin-top:22px; padding:20px 24px; border:1px solid rgba(107,31,65,.18); background:rgba(255,255,255,.72); }
.pk-robot-note > span { color:var(--ka-wine); font-size:8px; font-weight:900; letter-spacing:.13em; }
.pk-robot-note p { margin:0; color:#48434a; font-size:10px; font-weight:650; line-height:1.6; }
.pk-robot-note a { color:var(--ka-wine); font-size:9px; font-weight:850; white-space:nowrap; }

.ka-examination { padding-top:clamp(72px,7vw,110px); padding-bottom:clamp(72px,7vw,110px); }
.pk-xray-sleeve { top:128px; }
.pk-xray-sleeve .ka-sleeve-image { min-height:440px; background:#101014; }
.pk-xray-sleeve .ka-sleeve-image img { object-fit:contain; background:#101014; }
.pk-xray-sleeve figcaption { margin-top:9px; color:rgba(30,29,32,.55); font-size:7px; line-height:1.5; }

.pk-xrays { padding-top:clamp(72px,7vw,110px); padding-bottom:clamp(72px,7vw,110px); }
.pk-xray-gallery { position:relative; z-index:2; display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:clamp(42px,5vw,66px); }
.pk-xray-gallery article { overflow:hidden; border:1px solid rgba(255,255,255,.16); background:rgba(255,255,255,.045); }
.pk-xray-gallery figure { display:grid; height:340px; place-items:center; margin:0; padding:18px; background:#0d0d10; }
.pk-xray-gallery img { width:100%; height:100%; object-fit:contain; }
.pk-xray-gallery article > div { padding:22px 22px 25px; }
.pk-xray-gallery span { color:var(--ka-lime); font-size:8px; font-weight:900; letter-spacing:.13em; }
.pk-xray-gallery h3 { margin:9px 0 9px; color:white; font-family:var(--ka-serif); font-size:27px; font-weight:400; letter-spacing:-.03em; }
.pk-xray-gallery p { margin:0; color:rgba(255,255,255,.68); font-size:10px; font-weight:620; line-height:1.68; }

.ka-options { padding-top:clamp(72px,7vw,110px); padding-bottom:clamp(72px,7vw,110px); }
.ka-decision-canvas { margin-top:clamp(42px,5vw,64px); }
.ka-option-tabs button { min-height:116px; padding:22px; }

.pk-procedure { padding-top:clamp(72px,7vw,110px); padding-bottom:clamp(72px,7vw,110px); }
.pk-procedure-grid { display:grid; grid-template-columns:minmax(330px,.72fr) minmax(0,1.28fr); gap:38px; align-items:stretch; margin-top:clamp(40px,5vw,62px); }
.pk-procedure-grid > figure { position:relative; min-height:500px; margin:0; overflow:hidden; background:#121214; }
.pk-procedure-grid > figure img { width:100%; height:100%; object-fit:cover; object-position:50% 45%; }
.pk-procedure-grid > figure figcaption { position:absolute; left:16px; bottom:14px; padding:6px 9px; background:rgba(10,10,12,.62); color:rgba(255,255,255,.75); font-size:7px; }
.pk-procedure-checks { grid-template-columns:1fr 1fr; margin-top:0; }
.pk-procedure-checks article { min-height:250px; }
.pk-procedure-checks article:nth-child(2) { border-right:0; }
.pk-procedure-checks article:nth-child(-n+2) { border-bottom:1px solid var(--ka-line-dark); }
.pk-procedure-checks h3 { margin-top:48px; }
.pk-risk-note { display:grid; grid-template-columns:220px 1fr; gap:28px; margin-top:28px; padding:24px 0 0; border-top:1px solid var(--ka-line-dark); }
.pk-risk-note strong { color:var(--ka-wine); font-family:var(--ka-serif); font-size:24px; font-weight:400; }
.pk-risk-note p { margin:0; color:#4d474e; font-size:10px; font-weight:620; line-height:1.72; }

.pk-recovery { min-height:520px; background:#17171b; }
.pk-recovery .ka-function-image { min-height:520px; }
.pk-recovery .ka-function-copy { padding:clamp(52px,6vw,84px); }
.pk-recovery .ka-function-copy h2 { font-size:clamp(44px,4.6vw,70px); }
.pk-recovery .ka-function-copy > p:not(.ka-eyebrow) { color:rgba(255,255,255,.75); }
.pk-recovery .ka-function-copy li { color:rgba(255,255,255,.82); font-weight:650; }

.ka-crossroads, .ka-faq { padding-top:clamp(72px,7vw,110px); padding-bottom:clamp(72px,7vw,110px); }
.ka-crossroads-grid { margin-top:46px; }

.ka-final { padding-top:clamp(58px,6vw,90px); padding-bottom:clamp(58px,6vw,90px); }
.ka-final-grid > div:last-child > p { color:rgba(255,255,255,.78); font-weight:650; }

.pk-specialist { padding-top:clamp(70px,7vw,105px); padding-bottom:clamp(70px,7vw,105px); }
.pk-specialist .ka-specialist-photo img { object-position:center 35%; }
.pk-review-trust { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:24px; }
.pk-review-trust > div { display:flex; align-items:center; gap:13px; min-height:72px; padding:12px 15px; border:1px solid rgba(107,31,65,.16); background:rgba(255,255,255,.62); }
.pk-review-trust img { width:78px; max-height:35px; object-fit:contain; object-position:left center; }
.pk-review-trust span { display:flex; flex-direction:column; gap:3px; }
.pk-review-trust strong { color:var(--ka-ink); font-size:10px; }
.pk-review-trust small { color:var(--ka-muted); font-size:8px; font-weight:650; }

@media (max-width: 980px) {
  .pk-xray-gallery { grid-template-columns:1fr; }
  .pk-xray-gallery article { display:grid; grid-template-columns:minmax(240px,.8fr) 1fr; }
  .pk-xray-gallery figure { height:280px; }
  .pk-procedure-grid { grid-template-columns:1fr; }
  .pk-procedure-grid > figure { min-height:430px; }
  .pk-risk-note { grid-template-columns:1fr; gap:12px; }
}

@media (max-width: 760px) {
  .pk-hero { min-height:0; padding-top:112px; }
  .pk-comparison-figure { padding:7px; overflow:hidden; }
  .pk-comparison-figure img { width:132%; max-width:none; transform:translateX(-12%); }
  .pk-compare-notes { grid-template-columns:1fr; }
  .pk-compare-notes article + article { border-left:0; border-top:1px solid rgba(107,31,65,.17); }
  .pk-robot-note { grid-template-columns:1fr; gap:10px; }
  .pk-robot-note a { white-space:normal; }
  .pk-xray-gallery article { display:block; }
  .pk-xray-gallery figure { height:320px; }
  .pk-procedure-checks { grid-template-columns:1fr; }
  .pk-procedure-checks article { min-height:auto; border-right:0; border-bottom:1px solid var(--ka-line-dark); padding:24px 4px; }
  .pk-procedure-checks h3 { margin-top:18px; }
  .pk-review-trust { grid-template-columns:1fr; }
  .pk-recovery { min-height:0; }
  .pk-recovery .ka-function-image { min-height:350px; }
}

@media (max-width: 520px) {
  .pk-xray-gallery figure { height:270px; }
  .pk-procedure-grid > figure { min-height:360px; }
  .pk-comparison .ka-section-head h2,
  .ka-options .ka-section-head h2,
  .pk-procedure .ka-decision-head h2 { font-size:clamp(42px,12vw,58px); }
}

/* ============================================================
   PRIMARY KNEE REPLACEMENT — V4 COMPACT / READABILITY PASS
   2026-08-13: reduce oversized section heights, prevent X-ray
   card title collisions, and keep all explanatory copy legible.
   ============================================================ */

.primary-knee-replacement-child {
  --pk-copy: #433e43;
  --pk-copy-dark: rgba(255,255,255,.84);
}

/* Paragraph readability — deliberately stronger than the base Child master. */
.primary-knee-replacement-child .ka-hero-lead,
.primary-knee-replacement-child .ka-section-head > p,
.primary-knee-replacement-child .ka-section-head > div > p:last-child,
.primary-knee-replacement-child .ka-exam-questions p,
.primary-knee-replacement-child .ka-route-content > p,
.primary-knee-replacement-child .ka-route-columns p,
.primary-knee-replacement-child .ka-canvas-note,
.primary-knee-replacement-child .ka-decision-head > p:last-child,
.primary-knee-replacement-child .pk-procedure-checks p,
.primary-knee-replacement-child .pk-risk-note p,
.primary-knee-replacement-child .ka-crossroads-head > p:last-child,
.primary-knee-replacement-child .ka-faq-intro > p:not(.ka-eyebrow),
.primary-knee-replacement-child .ka-faq-list details > p,
.primary-knee-replacement-child .pk-compare-notes p,
.primary-knee-replacement-child .pk-robot-note p,
.primary-knee-replacement-child .pk-specialist-copy > p {
  color: var(--pk-copy);
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.62;
}

/* Keep the surgical child visually tighter than symptom/condition children. */
.primary-knee-replacement-child .ka-section-head h2,
.primary-knee-replacement-child .ka-decision-head h2 {
  font-size: clamp(45px, 4.25vw, 66px);
  line-height: .98;
}

.pk-comparison,
.ka-examination,
.pk-xrays,
.ka-options,
.pk-procedure,
.primary-knee-replacement-child .ka-crossroads,
.primary-knee-replacement-child .ka-faq {
  padding-top: clamp(46px, 4.7vw, 72px);
  padding-bottom: clamp(46px, 4.7vw, 72px);
}

/* Chapter 01 — comparison illustration should explain, not dominate a whole screen. */
.pk-comparison-figure {
  display: grid;
  place-items: center;
  max-width: 1080px;
  margin: clamp(26px, 3vw, 40px) auto 0;
  padding: 10px 14px;
}
.pk-comparison-figure img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}
.pk-compare-notes {
  max-width: 1080px;
  margin-inline: auto;
}
.pk-compare-notes article { padding: 18px 24px 20px; }
.pk-compare-notes span { width: 27px; height: 27px; margin-bottom: 11px; }
.pk-compare-notes h3 { margin-bottom: 7px; font-size: clamp(24px, 2vw, 32px); }
.pk-robot-note { max-width:1080px; margin:14px auto 0; padding:14px 18px; }

/* Chapter 02 — shorten the side X-ray sleeve. */
.ka-exam-grid { gap: clamp(40px, 5.5vw, 82px); }
.ka-exam-questions { margin-top: 32px; }
.ka-exam-questions li { padding: 17px 0; }
.ka-exam-questions h3 { font-size: 21px; margin-bottom: 5px; }
.pk-xray-sleeve { margin-top: 26px; padding: 25px 22px 20px; }
.pk-xray-sleeve .ka-sleeve-image { min-height: 0; height: 345px; }
.pk-xray-sleeve blockquote { margin-top: 18px; font-size: 19px; line-height: 1.22; }

/* Chapter 03 — compact real X-ray gallery + hard collision protection. */
.pk-xrays .ka-section-head { gap: clamp(34px, 5vw, 72px); }
.pk-xray-gallery {
  gap: 14px;
  margin-top: clamp(26px, 3vw, 40px);
}
.pk-xray-gallery article {
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.pk-xray-gallery figure {
  flex: 0 0 245px;
  height: 245px;
  min-height: 245px;
  padding: 13px;
}
.pk-xray-gallery article > div {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-height: 152px;
  padding: 16px 18px 18px;
  background: rgba(53,16,31,.36);
}
.pk-xray-gallery span {
  display: block;
  margin: 0 0 7px;
  line-height: 1.25;
}
.pk-xray-gallery h3 {
  display: block;
  max-width: 100%;
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(21px, 1.8vw, 26px);
  line-height: 1.08;
  overflow-wrap: break-word;
  word-break: normal;
}
.pk-xray-gallery p {
  color: var(--pk-copy-dark);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.55;
}

/* Chapter 04 — planning interaction in a compact viewport-friendly block. */
.ka-decision-canvas { margin-top: clamp(25px, 3vw, 38px); }
.ka-option-tabs button { min-height: 84px; padding: 13px 16px; }
.ka-option-tabs button span { margin-bottom: 12px; }
.ka-option-tabs button small { margin-top: 5px; font-size: 9px; }
.ka-route-panel { min-height: 205px; }
.ka-route-content { padding-top: 30px; padding-bottom: 30px; }
.ka-route-content h3 { font-size: clamp(30px, 3vw, 45px); margin-top: 8px; }
.ka-route-columns { margin-top: 18px; }
.ka-canvas-note { padding-block: 14px; }

/* Chapter 05 — stop the vertical OR photo making the whole section enormous. */
.pk-procedure-grid {
  grid-template-columns: minmax(300px,.70fr) minmax(0,1.30fr);
  gap: 28px;
  margin-top: clamp(25px, 3vw, 38px);
}
.pk-procedure-grid > figure {
  min-height: 0;
  height: 365px;
}
.pk-procedure-grid > figure img { object-position: 50% 43%; }
.pk-procedure-checks article {
  min-height: 0;
  height: 182px;
  padding: 16px 18px;
}
.pk-procedure-checks h3 { margin: 27px 0 6px; font-size: 21px; }
.pk-procedure-checks p { font-size: 12.5px; line-height: 1.48; }
.pk-risk-note { margin-top: 20px; padding-top: 18px; }

/* Recovery: one concise visual band, not another full-screen block. */
.pk-recovery,
.pk-recovery .ka-function-image { min-height: 390px; }
.pk-recovery .ka-function-copy { padding: 40px 48px; }
.pk-recovery .ka-function-copy h2 { font-size: clamp(40px, 4vw, 60px); }
.pk-recovery .ka-function-copy > p:not(.ka-eyebrow) {
  color: rgba(255,255,255,.84);
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.62;
}
.pk-recovery .ka-function-copy ul { margin-top: 22px; padding-top: 18px; }
.pk-recovery .ka-function-copy li { font-size: 10.5px; }

/* Related routes / FAQ compactness. */
.primary-knee-replacement-child .ka-crossroads-head h2,
.primary-knee-replacement-child .ka-faq-intro h2 { font-size: clamp(43px, 4.4vw, 64px); }
.primary-knee-replacement-child .ka-crossroads-grid { margin-top: 32px; }
.primary-knee-replacement-child .ka-crossroads-grid a { min-height: 190px; padding: 23px 22px; }
.primary-knee-replacement-child .ka-crossroads-grid small { margin-top: 34px; }
.primary-knee-replacement-child .ka-faq-grid { gap: clamp(48px, 7vw, 100px); }
.primary-knee-replacement-child .ka-faq-list summary { min-height: 67px; padding: 13px 0; }

@media (max-width: 980px) {
  .pk-comparison-figure img { max-height: none; }
  .pk-xray-gallery article { display:grid; grid-template-columns:minmax(210px,.72fr) 1fr; }
  .pk-xray-gallery figure { height: 240px; min-height:240px; }
  .pk-xray-gallery article > div { min-height:0; }
  .pk-procedure-grid { grid-template-columns:1fr; }
  .pk-procedure-grid > figure { height: 390px; }
  .pk-procedure-checks article { height:auto; min-height:145px; }
}

@media (max-width: 760px) {
  .primary-knee-replacement-child .ka-section-head h2,
  .primary-knee-replacement-child .ka-decision-head h2 { font-size: clamp(39px, 10.5vw, 53px); }
  .pk-comparison-figure { margin-top:22px; padding:5px; }
  .pk-comparison-figure img { width:118%; max-width:none; transform:translateX(-7.5%); }
  .pk-xray-gallery article { display:block; }
  .pk-xray-gallery figure { height:230px; min-height:230px; }
  .pk-xray-gallery article > div { min-height:0; padding:15px 17px 17px; }
  .pk-xray-gallery h3 { font-size:23px; }
  .pk-xray-sleeve .ka-sleeve-image { height:300px; }
  .pk-procedure-grid > figure { height:320px; }
  .pk-procedure-checks article { min-height:0; height:auto; padding:20px 4px; }
  .pk-recovery .ka-function-image { min-height:300px; }
  .pk-recovery .ka-function-copy { padding:34px 25px 38px; }
}

/* ============================================================
   PRIMARY KNEE REPLACEMENT — V5 UPPER-SECTION REFINEMENT
   2026-08-13: tighten Chapter 01 / X-rays, lower hero pathway
   strip slightly, add radiology-film treatment, and reveal the
   full supplied theatre photograph without a destructive crop.
   ============================================================ */

/* Hero: use the lower edge better without making the hero taller. */
.pk-hero {
  min-height: 744px;
  padding-bottom: 24px;
}
.pk-hero .ka-hero-line {
  margin-top: 34px;
  transform: translateY(5px);
}

/* Chapter 01: bring the chapter into the viewport sooner and remove dead air. */
.pk-comparison {
  padding-top: clamp(30px, 3.2vw, 48px);
  padding-bottom: clamp(38px, 3.8vw, 56px);
}
.pk-comparison .ka-section-head {
  align-items: start;
  gap: clamp(30px, 4vw, 60px);
}
.pk-comparison .ka-section-head .ka-eyebrow {
  margin-bottom: 14px;
}
.pk-comparison .ka-section-head h2 {
  font-size: clamp(43px, 4vw, 61px);
}
.pk-comparison-figure {
  max-width: 1020px;
  margin-top: clamp(18px, 2.2vw, 30px);
  padding: 8px 11px;
}
.pk-comparison-figure img {
  max-height: 455px;
}
.pk-compare-notes {
  max-width: 1020px;
}
.pk-robot-note {
  max-width: 1020px;
}

/* Chapter 03: denser, more like illuminated diagnostic film than ordinary cards. */
.pk-xrays {
  padding-top: clamp(34px, 3.6vw, 54px);
  padding-bottom: clamp(38px, 4vw, 58px);
}
.pk-xrays .ka-section-head {
  gap: clamp(28px, 4vw, 58px);
}
.pk-xrays .ka-section-head h2 {
  font-size: clamp(42px, 3.8vw, 59px);
}
.pk-xray-gallery {
  gap: 13px;
  margin-top: clamp(18px, 2.2vw, 28px);
}
.pk-xray-gallery article {
  border-color: rgba(206,237,62,.18);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  box-shadow: 0 16px 34px rgba(0,0,0,.18);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.pk-xray-gallery article:hover {
  transform: translateY(-3px);
  border-color: rgba(206,237,62,.38);
  box-shadow: 0 20px 42px rgba(0,0,0,.26);
}
.pk-xray-gallery figure {
  position: relative;
  flex-basis: 218px;
  height: 218px;
  min-height: 218px;
  padding: 11px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.13), transparent 60%),
    linear-gradient(135deg, #111317, #07080a 72%);
  box-shadow: inset 0 0 34px rgba(255,255,255,.035);
}
.pk-xray-gallery figure::after {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: inset 0 0 24px rgba(198,229,255,.06);
  content: "";
  pointer-events: none;
}
.pk-xray-gallery img {
  position: relative;
  z-index: 1;
  filter: grayscale(.05) brightness(1.05) contrast(1.08);
  transition: transform 300ms ease, filter 300ms ease;
}
.pk-xray-gallery article:hover img {
  transform: scale(1.018);
  filter: grayscale(0) brightness(1.11) contrast(1.1);
}
.pk-xray-gallery article > div {
  min-height: 132px;
  padding: 14px 17px 16px;
  background: linear-gradient(180deg, rgba(53,16,31,.38), rgba(22,13,18,.54));
}
.pk-xray-gallery h3 {
  font-size: clamp(20px, 1.65vw, 24px);
}
.pk-xray-gallery p {
  font-size: 11.5px;
  line-height: 1.5;
}

/* Chapter 05: show the COMPLETE portrait OR photograph over a subtle wide backdrop. */
.pk-procedure {
  padding-top: clamp(38px, 4vw, 58px);
}
.pk-procedure-grid > figure {
  position: relative;
  height: 355px;
  isolation: isolate;
  background: #17171a;
}
.pk-procedure-grid > figure::before {
  position: absolute;
  z-index: -1;
  inset: -10px;
  background:
    linear-gradient(rgba(12,12,14,.48), rgba(12,12,14,.48)),
    url('../images/primary-knee-replacement/dr-hanna-knee-replacement-theatre.webp') center 45% / cover no-repeat;
  filter: blur(11px) saturate(.8);
  content: "";
  transform: scale(1.06);
}
.pk-procedure-grid > figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: rgba(10,10,12,.18);
}
.pk-procedure-grid > figure figcaption {
  z-index: 2;
}

@media (max-width: 980px) {
  .pk-hero { min-height: 0; padding-bottom: 28px; }
  .pk-hero .ka-hero-line { transform: none; }
  .pk-comparison-figure img { max-height: none; }
  .pk-xray-gallery figure { height: 220px; min-height: 220px; }
  .pk-procedure-grid > figure { height: 390px; }
}

@media (max-width: 760px) {
  .pk-hero .ka-hero-line { margin-top: 24px; }
  .pk-comparison { padding-top: 30px; padding-bottom: 38px; }
  .pk-comparison .ka-section-head h2 { font-size: clamp(38px, 10vw, 50px); }
  .pk-xrays { padding-top: 34px; padding-bottom: 42px; }
  .pk-xray-gallery figure { height: 218px; min-height: 218px; }
  .pk-procedure-grid > figure { height: 330px; }
}

/* ============================================================
   PRIMARY KNEE REPLACEMENT — V6 TARGETED HERO / X-RAY FIX
   2026-08-13: pin the clinical pathway strip near the hero's
   lower edge and ensure the portrait partial-replacement film
   is shown in full rather than visually filling/cropping frame.
   ============================================================ */

@media (min-width: 981px) {
  /* Use the existing empty hero footer space instead of adding height. */
  .pk-hero {
    position: relative;
    padding-bottom: 24px;
  }
  .pk-hero .ka-hero-line {
    position: absolute;
    left: 50%;
    bottom: 22px;
    width: min(88vw, 1510px);
    margin: 0;
    transform: translateX(-50%);
  }

  /* The source is portrait: preserve the whole clinical film in the card. */
  .pk-xray-gallery article:first-child figure {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .pk-xray-gallery article:first-child figure img {
    width: auto !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
  }
  .pk-xray-gallery article:first-child:hover figure img {
    transform: none !important;
  }
}

@media (max-width: 980px) {
  .pk-hero .ka-hero-line {
    position: static;
    width: min(88vw, 1510px);
    margin: 30px auto 0;
    transform: none;
  }
  .pk-xray-gallery article:first-child figure img {
    width: auto !important;
    max-width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
}

/* FINAL IMAGE PASS 2026-08-14 */

.ka-hero-photo img { object-position: 50% 50%; }
.pk-comparison-figure img { object-fit: contain; background: #fff; }
.pk-xray-gallery article:nth-child(2) figure img { object-fit: contain; background: #fff; }
.ka-function-image img { object-position: 50% 48%; }

