.plantpal-research-editorial .kohler-research-figure {
  min-width: 0;
  margin: 0;
}
.kohler-research-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgb(23 23 29 / 10%);
  border-radius: 8px;
}
.kohler-research-figure figcaption {
  margin-top: 0.65rem;
  font-size: 0.78rem;
  line-height: 1.5;
}
.kohler-research-figure figcaption a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Use the PlantPal case components, preserving each original Kohler screen’s aspect ratio. */
.kohler-case .kt-screen-grid article { min-width: 0; }
.kohler-case .kt-screen-grid article > a { display: block; width: fit-content; max-width: 100%; margin: 0 auto 20px; }
.kohler-case .kt-screen-grid article > a img { display: block; width: min(100%, 205px); height: auto; margin: auto; }
.kohler-case .kt-screen-grid article > a:focus-visible,
.kohler-case .kt-later-screens summary:focus-visible,
.kohler-case .kt-source-links a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.kohler-case .kt-later-screens { margin-top: 26px; border-block: 1px solid rgba(23,23,29,.18); }
.kohler-case .kt-later-screens summary { cursor: pointer; padding: 16px 0; font-weight: 650; }
.kohler-case .kt-later-screens[open] { padding-bottom: 20px; }
.kohler-case .kt-later-screens > p { margin: 0 0 20px; }
.kohler-case #design .shop-decision-card { grid-template-columns: 1fr; }
.kohler-case #journey .work-trace-card img { height: auto !important; aspect-ratio: 1100 / 619; object-fit: contain; }
.kohler-case #household .switch-phone-shell { width: min(255px, 100%) !important; height: auto; aspect-ratio: auto; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.kohler-case #household .switch-phone-shell::before { display: none; }
.kohler-case #household .switch-phone-shell img,
.kohler-case .kt-landscape-feature img { width: 100%; height: auto !important; object-fit: contain !important; border-radius: 0 !important; background: transparent; }
.kohler-case .kt-landscape-feature { width: min(455px, 100%); }
.kohler-case .kt-source-links a { text-decoration: underline; text-underline-offset: .15em; }
@media (max-width: 1120px), (prefers-reduced-motion: reduce) {
  .kohler-case #household .feature-switcher { height: auto !important; min-height: 0 !important; }
  .kohler-case #household .feature-switcher-stage { position: static !important; display: grid; width: 100% !important; height: auto; min-height: 0; grid-template-columns: 1fr; gap: 18px; }
  .kohler-case #household :is(.feature-switch-copy, .feature-switch-media) { display: contents; }
  .kohler-case #household :is([data-feature-panel], [data-feature-media]) { position: static; height: auto; min-height: 0; visibility: visible !important; opacity: 1 !important; transform: none; pointer-events: auto; animation: none !important; }
  .kohler-case #household [data-feature-panel="0"] { order: 0; } .kohler-case #household [data-feature-media="0"] { order: 1; }
  .kohler-case #household [data-feature-panel="1"] { order: 2; } .kohler-case #household [data-feature-media="1"] { order: 3; }
  .kohler-case #household [data-feature-panel="2"] { order: 4; } .kohler-case #household [data-feature-media="2"] { order: 5; }
  .kohler-case #household [data-feature-panel="3"] { order: 6; } .kohler-case #household [data-feature-media="3"] { order: 7; }
  .kohler-case #household [data-feature-media] { margin-bottom: 30px; }
  .kohler-case #household .feature-switch-dots { display: none; }
}

@media (max-width: 620px) {
  .kohler-case :is(.kt-screen-grid, #direction) { grid-template-columns: minmax(0, 1fr); }
}

/* Keep the exported UX frames visible at their native proportions. */
.kohler-case .overview-phone-shell video { object-fit: contain !important; }

.kohler-case .overview-phone-shell {
  aspect-ratio: 484 / 990;
  border: 0 !important;
  background: transparent !important;
}
.kohler-case .overview-phone-shell video { border-radius: 0 !important; }
@media (max-width: 1000px) {
  .kohler-case .plantpal-overview-lab {
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 32px !important;
    min-height: 0 !important;
  }
  .kohler-case .project-phone-demo {
    position: relative !important;
    top: auto !important;
    min-height: 0 !important;
    height: auto !important;
  }
  .kohler-case .overview-phone-shell { width: min(290px, 68vw) !important; }
  .kohler-case .plantpal-overview-copy { justify-self: center; }
}
.kohler-case .research-quote-row img {
  height: auto;
  aspect-ratio: auto;
  border-radius: 0;
  align-self: center;
  object-fit: contain;
  background: transparent;
}

/* Keep the existing PlantPal composition on desktop and restore the reading column below its rail breakpoint. */
@media (max-width: 900px) {
  .kohler-case .plantpal-shell {
    width: min(680px, calc(100% - 40px)) !important;
    max-width: none !important;
    margin-inline: auto !important;
  }
  .kohler-case .plantpal-cover-copy,
  .kohler-case .plantpal-overview-copy { width: 100%; min-width: 0; }
  .kohler-case .plantpal-overview-copy { justify-self: stretch; }
}
@media (max-width: 620px) {
  .kohler-case .plantpal-shell { padding-top: 98px !important; }
  .kohler-case .plantpal-cover { padding-top: 24px !important; }
  .kohler-case .case-meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .kohler-case .case-meta-grid > div { min-width: 0; }
  .kohler-case .case-meta-grid > div:nth-child(2n) { border-right: 0; }
  .kohler-case .plantpal-overview-copy { max-width: 100% !important; }
}
/* A complete chapter can exceed the scroll-reveal observer's 16% threshold. */
.kohler-case #research > .research-editorial-wrap.reveal {
  opacity: 1;
  transform: none;
}

/* Pair original working artifacts with their captions using the existing case layout. */
.kohler-case .kohler-artifact-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.kohler-case .kohler-artifact-pair > *,
.kohler-case .kohler-evidence-details article { min-width: 0; }
.kohler-case .kohler-handoff { margin-top: clamp(52px, 7vw, 92px); }
.kohler-case .kohler-handoff > figure { margin: clamp(26px, 4vw, 50px) 0 0; }
.kohler-case .kohler-evidence-details[open] .overview-text-grid { padding-block: 4px 18px; }
@media (max-width: 900px) {
  .kohler-case .kohler-artifact-pair { grid-template-columns: minmax(0, 1fr); }
}

.kohler-case .kohler-framework-pair {grid-column: 1 / -1; align-items: start; margin-block: 12px;}

.kohler-case .kohler-artifact-pair > .kohler-research-figure { margin: 0; min-width: 0; }

.kohler-case .kt-presentation-figure {
  max-width: 980px;
  margin: clamp(24px, 4vw, 54px) auto;
}
.kohler-case .kt-presentation-figure a,
.kohler-case .kt-horizon-image { display: block; }
.kohler-case .kt-horizon-image { margin-top: 1rem; }
.kohler-case .kt-horizon-image img { display: block; width: 100%; height: auto; border-radius: 6px; }
.kohler-case .kt-research-decisions { align-items: start; }
.kohler-case .kt-research-decisions article > a { text-decoration: underline; text-underline-offset: .18em; }
.kohler-case .kt-benchmark-gallery { margin: clamp(20px, 3vw, 36px) 0 0; }
.kohler-case .kt-benchmark-gallery figure { align-self: start; }
.kohler-case .kt-benchmark-gallery figure > a {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: #f2f1ed;
}
.kohler-case .kt-benchmark-gallery img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  padding: clamp(10px, 1.5vw, 22px);
  box-sizing: border-box;
  object-fit: contain;
  border: 0;
}
.kohler-case .kt-oura-first { margin-bottom: clamp(36px, 5vw, 64px); }
.kohler-case .kt-oura-first figure { max-width: 760px; margin-inline: auto; }
.kohler-case #horizons article { display: flex; flex-direction: column; }
.kohler-case #horizons article > p { margin-bottom: 16px; }
.kohler-case #horizons .kt-horizon-image { margin-top: auto; }

.kohler-case #customer-interviews, .kohler-case #first-visit { scroll-margin-top: 100px; }
.kohler-case .kt-interview-pair {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(24px,5vw,72px);margin-top:clamp(20px,3vw,44px);}
.kohler-case .kt-interview-pair article {border-top:1px solid currentColor;padding-top:18px;}
.kohler-case .kt-interview-pair h3, .kohler-case .kt-evidence-to-screen h3 {font-size:clamp(1.45rem,2.5vw,2.05rem);line-height:1.12;margin:10px 0 12px;letter-spacing:-.035em;}
.kohler-case .kt-interview-pair p:not(.kicker), .kohler-case .kt-evidence-to-screen p:not(.kicker), .kohler-case .kt-secondary-story {font-size:1.03rem;line-height:1.65;max-width:63ch;}
.kohler-case .kt-evidence-note {margin-top:0;font-size:.8rem;line-height:1.5;}
.kohler-case .kt-evidence-to-screen {align-items:center;gap:clamp(24px,6vw,70px);padding-top:30px;border-top:1px solid rgb(29 27 23 / 22%);}
.kohler-case .kt-explore-evidence {display:grid;justify-items:center;text-align:center;}
.kohler-case .kt-explore-evidence img {width:min(214px,70vw);height:auto;border:0;}
.kohler-case .kt-secondary-story {margin:1rem auto;}
@media(max-width:720px) {.kohler-case .kt-interview-pair,.kohler-case .kt-evidence-to-screen {grid-template-columns:minmax(0,1fr);}}
.kohler-case .kt-interview-pair + .kt-evidence-note { margin-block:1.4rem 2rem; }
.kohler-case #customer-interviews .research-intro { max-width:62ch; }
.kohler-case #team-concept { scroll-margin-top:100px; }

/* Kohler case palette and research chapter */
body.case-page.kohler-case {
  --kk-ink: #17343c;
  --kk-lake: #165363;
  --kk-muted: #425c60;
  --kk-copper: #805238;
  --kk-rule: #c8cfca;
  --kk-stone: #e7e9e3;
  --kk-paper: #f6f3ec;
  --plant-green: var(--kk-lake);
  --plant-green-soft: #dfebe9;
  --plant-green-pale: #edf1eb;
  background: var(--kk-paper) !important;
  color: var(--kk-ink);
}
body.kohler-case .plantpal-shell :is(.kicker,.case-meta-grid dt),
body.kohler-case .impact-result-strip span,
body.kohler-case .case-rail a::after { color: var(--kk-lake) !important; }
body.kohler-case .case-rail a::after { background: var(--kk-paper) !important; }
body.kohler-case .case-rail a:is(.active,:hover),
body.kohler-case .case-rail a:is(.active,:hover) span { box-shadow: 0 0 0 6px rgb(22 83 99 / 9%) !important; }
body.kohler-case .case-rail a:is(.active,:hover) span { background: var(--kk-lake) !important; }
body.kohler-case .plantpal-project-name,
body.kohler-case .research-headline .research-accent { color: var(--kk-lake) !important; }
body.kohler-case main :is(h1,h2,h3,h4),
body.kohler-case .impact-result-strip strong { color: var(--kk-ink) !important; }
body.kohler-case .impact-result-strip article,
body.kohler-case .kt-screen-grid article { background: #f5f6f1; border-color: var(--kk-rule); }
body.kohler-case .plantpal-research-editorial { background: transparent; }
body.kohler-case .button-link { color: var(--kk-lake) !important; border-color: var(--kk-lake) !important; }
body.kohler-case main :focus-visible { outline: 2px solid var(--kk-lake); outline-offset: 4px; }
.kohler-case .kk-block { margin-block: clamp(44px,6vw,84px); scroll-margin-top: 106px; }
.kohler-case .kk-heading { max-width: 72ch; margin-bottom: 24px; }
.kohler-case .kk-heading h3 {
  margin: 0 0 12px; font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.65rem,3.1vw,2.65rem); letter-spacing: -.025em; line-height: 1.1;
}
.kohler-case .kk-heading p:not(.kicker), .kohler-case .kk-prose p,
.kohler-case .kk-personas article > p, .kohler-case .kk-voice-copy > p:not(.kicker), .kohler-case .kk-field-note {
  font-size: clamp(.98rem,1.06vw,1.08rem); line-height: 1.62; color: var(--kk-muted);
}
.kohler-case #research .research-intro { max-width: 68ch; }
.kohler-case .kk-heading .kicker { margin: 0 0 12px; }
.kohler-case .kk-jumps { display:flex; flex-wrap:wrap; gap: 8px 22px; margin: 20px 0; }
.kohler-case .kk-jumps a, .kohler-case .kk-field-note a {
  color: var(--kk-lake); font-size:.93rem; text-decoration: underline;
  text-decoration-color: #91a9a9; text-underline-offset: .23em;
}
.kohler-case .kk-figure { min-width:0; margin:0; }
.kohler-case .kk-figure > a { display:block; }
.kohler-case .kk-figure img { width:100%; height:auto; display:block; border-radius:6px; }
.kohler-case .kk-figure figcaption { margin: 8px 0 0; color: var(--kk-muted); font-size:.8rem; line-height:1.48; }
.kohler-case .kk-cover-image { margin: clamp(24px,4vw,48px) 0 0; }
.kohler-case .kk-cover-image img { max-height: min(58vw,610px); object-fit:contain; background: #101a20; }
.kohler-case .kk-cover-image > a { max-width:1080px; margin:auto; }
.kohler-case .kk-field { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.kohler-case .kk-field > :is(.kk-heading,.kk-field-note) { grid-column:1/-1; margin:0; }
.kohler-case .kk-field .kk-figure img { aspect-ratio: 16 / 9; object-fit:cover; }
.kohler-case .kk-field-note { max-width:76ch; margin:18px 0 0; }
.kohler-case .kk-pair, .kohler-case .kk-voice {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center; gap:clamp(22px,4vw,58px);
}
.kohler-case .kk-voice { padding: clamp(22px,3.2vw,40px) 0; border-top:1px solid var(--kk-rule); }
.kohler-case .kk-voice-copy .kicker { margin-top:0; }
.kohler-case .kk-voice blockquote { margin:16px 0; border-left:3px solid var(--kk-copper); padding-left:19px; }
.kohler-case .kk-voice blockquote p {
  font: 500 clamp(1.38rem,2.1vw,2.05rem)/1.22 var(--serif); letter-spacing:-.016em;
  color:var(--kk-ink); margin:0 0 10px;
}
.kohler-case .kk-voice blockquote footer { font-size:.77rem; line-height:1.4; color:var(--kk-copper); }
.kohler-case .kk-voice h4, .kohler-case .kk-prose h4, .kohler-case .kk-personas h4 {
  font-size:1.15rem; line-height:1.25; margin:16px 0 5px;
}
.kohler-case .kk-voice-copy > p:not(.kicker), .kohler-case .kk-prose p, .kohler-case .kk-personas article > p { margin:0; }
.kohler-case .kk-goal-detail > a {
  background:var(--kk-stone); min-height: clamp(150px,16vw,240px); display:grid; place-items:center;
  padding:24px; border-radius:6px;
}
.kohler-case .kk-goal-detail img { width:min(100%,330px); }
.kohler-case .kk-detail { border-top:1px solid var(--kk-rule); border-bottom:1px solid var(--kk-rule); margin-top:24px; }
.kohler-case .kk-detail summary { padding:17px 4px; color:var(--kk-lake); cursor:pointer; font-weight:650; }
.kohler-case .kk-detail[open] > :last-child { margin-bottom:22px; }
.kohler-case .kk-detail > .kk-figure { max-width:800px; margin-inline:auto; }
.kohler-case .kk-block > .kk-figure { max-width:1010px; margin-inline:auto; }
.kohler-case .kk-personas { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(20px,3vw,46px); }
.kohler-case .kk-personas .kk-figure a {
  background:var(--kk-stone); height:clamp(190px,23vw,295px);
  border-radius:6px; display:grid; place-items:center; padding:18px;
}
.kohler-case .kk-personas .kk-figure img { width:100%; max-height:100%; object-fit:contain; min-height:0; }
.kohler-case .kk-personas .kk-small-phone img { width:auto; max-width:100%; }
@media(max-width:740px) {
  .kohler-case :is(.kk-pair,.kk-personas,.kk-voice,.kk-field) { grid-template-columns:minmax(0,1fr); }
  .kohler-case .kk-voice { gap:18px; }
  .kohler-case .kk-goal-detail > a { min-height:135px; }
  .kohler-case .kk-jumps a { padding-block:4px; }
  .kohler-case .kk-cover-image img { max-height:none; }
}

.kohler-case .kk-journey-insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 38px);
  margin-top: 24px;
}
.kohler-case .kk-journey-insights h4 { margin-top: 0; }
@media (max-width: 740px) {
  .kohler-case .kk-journey-insights { grid-template-columns: 1fr; }
}

.kohler-case .kk-day-map {
  --map-columns: 6.5rem repeat(6, minmax(0, 1fr));
  --map-gutter: clamp(8px, 1vw, 14px);
  container-type: inline-size;
  margin: 0;
  padding-block: clamp(20px, 3vw, 34px) 0;
  border-block: 2px solid var(--kk-lake);
  color: var(--kk-ink);
}
.kohler-case .kk-day-map figcaption { margin: 0 0 20px; }
.kohler-case .kk-map-eyebrow,
.kohler-case .kk-map-axis,
.kohler-case .kk-map-key,
.kohler-case .kk-map-label {
  font: 600 .72rem/1.4 var(--mono);
  letter-spacing: .025em;
  color: var(--kk-lake);
}
.kohler-case .kk-map-eyebrow { text-transform: uppercase; letter-spacing: .13em; }
.kohler-case .kk-day-map figcaption h4 {
  margin: 6px 0;
  font: 500 clamp(1.55rem, 2.8vw, 2.25rem)/1.13 var(--serif);
  letter-spacing: -.025em;
}
.kohler-case .kk-day-map figcaption p {
  margin: 0; color: var(--kk-muted); font-size: 1rem; line-height: 1.5;
}
.kohler-case .kk-map-profile {
  display: grid;
  grid-template-columns: var(--map-columns);
  align-items: center;
  padding-block: 3px 12px;
  background: linear-gradient(110deg, #e9f0e9, #e0ebe8 60%, #e9ece4);
  border-block: 1px solid var(--kk-rule);
}
.kohler-case .kk-map-axis { padding-inline: var(--map-gutter); }
.kohler-case .kk-map-trace { position: relative; grid-column: 2 / -1; }
.kohler-case .kk-map-trace svg {
  display: block; width: 100%; height: 62px; color: var(--kk-lake);
}
.kohler-case .kk-map-trace ol {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0; padding: 0; list-style: none;
}
.kohler-case .kk-map-trace li {
  position: relative; padding: 0;
  color: var(--kk-lake); font: 600 .85rem/1.4 var(--sans); text-align: center;
}
.kohler-case .kk-map-trace li::before {
  content: ''; position: absolute; top: calc(var(--point-y) - 62px); left: 50%;
  width: 7px; height: 7px; transform: translate(-50%, -50%);
  background: var(--kk-lake); border: 1.5px solid var(--kk-paper); border-radius: 50%;
}
.kohler-case .kk-map-stages {
  display: grid; grid-template-columns: var(--map-columns); grid-template-rows: repeat(5, auto);
}
.kohler-case :is(.kk-map-stage,.kk-map-key) {
  display: grid; grid-row: 1 / span 5; grid-template-rows: subgrid; min-width: 0;
}
.kohler-case :is(.kk-map-stage,.kk-map-key) > * {
  margin: 0; padding: 14px var(--map-gutter);
}
.kohler-case :is(.kk-map-stage,.kk-map-key) > :nth-child(n+2) { border-top: 1px solid var(--kk-rule); }
.kohler-case .kk-map-stage h5 {
  color: var(--kk-ink); font: 600 1.05rem/1.25 var(--serif); letter-spacing: -.012em;
}
.kohler-case .kk-map-stage p {
  font: 400 .91rem/1.45 var(--sans); color: var(--kk-muted);
}
.kohler-case .kk-map-stage .kk-map-thought { color: var(--kk-ink); font: italic 1rem/1.4 var(--serif); }
.kohler-case .kk-map-sr,
.kohler-case .kk-map-label {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
@container (max-width: 925px) {
  .kohler-case .kk-map-profile { display: block; padding-top: 12px; }
  .kohler-case .kk-map-axis { display: block; padding-inline: 14px; }
  .kohler-case .kk-map-stages { display: grid; grid-template: auto / repeat(2, minmax(0, 1fr)); column-gap: 28px; }
  .kohler-case .kk-map-key { display: none; }
  .kohler-case .kk-map-stage {
    display: block; grid-row: auto;
    padding: 20px 0; border-bottom: 1px solid var(--kk-rule);
  }
  .kohler-case .kk-map-stage > * { padding: 0; }
  .kohler-case .kk-map-stage > :nth-child(n+2) { border: 0; }
  .kohler-case .kk-map-stage h5 { font-size: 1.3rem; margin: 0 0 12px; }
  .kohler-case .kk-map-stage p {
    display: grid; grid-template-columns: 5.6rem 1fr; gap: 8px;
    margin: 8px 0 0; font-size: .96rem;
  }
  .kohler-case .kk-map-stage .kk-map-thought { margin-top: 12px; }
  .kohler-case .kk-map-label {
    position: static; width: auto; height: auto; padding-top: .16rem;
    overflow: visible; clip-path: none; white-space: normal;
  }
}
@container (max-width: 620px) {
  .kohler-case .kk-map-stages { grid-template-columns: minmax(0, 1fr); }
  .kohler-case .kk-map-stage:last-child { border-bottom: 0; }
  .kohler-case .kk-map-trace li { font-size: clamp(.655rem, 3.03cqi, .825rem); }
}
