/* KiwiTile bathhouse morph gallery — homepage case study section
   Depends on kiwi-css/kt-tokens.css and kt-charcoal-plark.css */

/* ── Bathhouse gallery ── */

.kt-bathhouse-opening {
  width: 77vw;
  margin-inline: auto;
}

.kt-bathhouse-section-kicker {
  font-size: clamp(
    15.5px,
    calc(15.5px + (100vw - 1280px) * 0.00546875),
    19px
  );
}

.kt-bathhouse-section-title { font-size: var(--section-title-size); }

.kt-bathhouse-section-intro {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  margin: 0 auto -10px;
  padding: 0;
}

.kt-bathhouse-section-intro-left {
  width: var(--intro-copy-width);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.kt-bathhouse-section-intro::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: var(--intro-rule-width);
  height: 1px;
  opacity: 0.7;
  background: var(--gradient-gold-line);
}

.bhx-wrap {
  width: 100%;
}

.gallery-zone.method-gallery :is(
  .image-cluster[data-cluster="bathhouse"] .bathhouse-strip-inner.bathhouse-authority
) {
  grid-template-areas: "eyebrow" "title" "caption";
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-content: center;
  row-gap: 10px;
  min-height: auto;
  text-align: center;
}

.gallery-zone.method-gallery .image-cluster[data-cluster="bathhouse"] .bathhouse-strip-eyebrow {
  grid-area: eyebrow;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold-muted);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.54);
}

.gallery-zone.method-gallery .image-cluster[data-cluster="bathhouse"] .bathhouse-strip-title {
  grid-area: title;
  width: 100%;
  text-align: center;
}

.gallery-zone.method-gallery .image-cluster[data-cluster="bathhouse"] .bathhouse-strip-caption {
  grid-area: caption;
  width: 100%;
  text-align: center;
}

.gallery-zone.method-gallery .image-cluster[data-cluster="bathhouse"] .bhx-captions {
  min-height: auto;
}

.gallery-zone .zone-content {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
}

.gallery-zone {
  position: relative;
  display: grid;
  isolation: isolate;
  z-index: 1;
  min-height: auto;
  padding: clamp(18px, 3.4vw, 44px) 0 clamp(46px, 5vw, 82px);
  background: transparent;
}

.method-gallery .image-cluster[data-cluster="bathhouse"] .bathhouse-strip {
  width: 100%;
  min-height: var(--bh-strip-h);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: var(--bathhouse-gap) auto 0;
  background: transparent;
}

.method-gallery .image-cluster[data-cluster="bathhouse"] .bathhouse-strip-inner,
.bathhouse-authority {
  position: relative;
  width: 100%;
  min-height: auto;
  margin: 0 auto;
  padding: 18px 28px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "title" "caption";
  align-items: center;
  justify-content: center;
  row-gap: 12px;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(210, 165, 95, 0.3);
  border-radius: 0 0 18px 18px;
  background:
    linear-gradient(
      180deg,
      rgba(210, 165, 95, 0.1),
      rgba(255, 255, 255, 0.022)
    ),
    radial-gradient(
      ellipse at 50% 0%,
      rgba(120, 82, 42, 0.2) 0%,
      transparent 72%
    ),
    var(--surface-dark);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 228, 190, 0.09);
}

.image-cluster {
  width: 100%;
  margin: 0 auto;
}

.bhx-stage .bhx-slides,
.bhx-stage .bhx-slides * {
  cursor: none;
}

.bhx-stage .bhx-thumbs,
.bhx-stage .bhx-thumbs * {
  cursor: pointer;
}

.bhx-stage {
  --bhx-duration: 1900ms;
  --bhx-move-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --bhx-fade-ease: cubic-bezier(0.42, 0, 0.2, 1);
  --bhx-bleed-x: 0%;
  --bhx-bleed-y: 0%;
  --bhx-out-start-x: 1;
  --bhx-out-end-x: 0.7;
  --bhx-out-start-y: 1;
  --bhx-out-end-y: 1.05;
  --bhx-in-start-x: 1.08;
  --bhx-in-start-y: 0.46;
  --bhx-in-end-x: 1;
  --bhx-in-end-y: 1;
  --bhx-alt-out-start-x: 1;
  --bhx-alt-out-end-x: 1.05;
  --bhx-alt-out-start-y: 1;
  --bhx-alt-out-end-y: 0.7;
  --bhx-alt-in-start-x: 0.46;
  --bhx-alt-in-start-y: 1.08;
  --bhx-alt-in-end-x: 1;
  --bhx-alt-in-end-y: 1;
  --bhx-zoom-in-start: 1.7;
  --bhx-zoom-out-end: 1;
  --bhx-zoom-leave-end: 1.4;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8.4;
  min-height: 0;
  margin: 0 auto;
  overflow: hidden;
  isolation: isolate;
  border-radius: 6px;
  background: transparent;
  cursor: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  box-shadow:
    0 42px 110px rgba(0, 0, 0, 0.54),
    var(--shadow-stage-edge);
}

.bhx-stage.is-morphing::after {
  animation: premiumFlowVeil var(--bhx-duration) cubic-bezier(0.2, 0.7, 0.18, 1)
    both;
}

.bhx-stage::after {
  inset: 0;
  z-index: 8;
  border-radius: inherit;
  opacity: 0.68;
  mix-blend-mode: soft-light;
  background:
    linear-gradient(
      90deg,
      rgba(255, 247, 226, 0.12),
      transparent 18%,
      transparent 82%,
      rgba(105, 174, 165, 0.1)
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.06),
      transparent 42%,
      rgba(0, 0, 0, 0.2)
    );
}

.bhx-stage::before {
  inset: 0;
  z-index: 7;
  opacity: 0;
  background:
    radial-gradient(
      circle at 50% 42%,
      transparent 0 40%,
      rgba(0, 0, 0, 0.1) 74%,
      rgba(0, 0, 0, 0.32) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.12),
      rgba(0, 0, 0, 0.02) 48%,
      rgba(0, 0, 0, 0.24)
    );
  transition: opacity 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.bhx-stage::before,
.bhx-stage::after,
.bhx-media::before,
.bhx-media::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.bhx-slide {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

.bhx-slide.is-current .bhx-media img {
  opacity: 1;
  transform: translate3d(0, 0, 0) scaleX(1) scaleY(1);
}

.bhx-slide.is-current {
  z-index: 2;
  opacity: 1;
}

.bhx-slide.is-entering .bhx-media img {
  animation:
    bhxEnterImage var(--bhx-duration) var(--bhx-move-ease) forwards,
    bhxEnterFade var(--bhx-duration) var(--bhx-fade-ease) forwards;
}

.bhx-slide.is-entering {
  z-index: 4;
  opacity: 1;
}

.bhx-slide.is-leaving .bhx-media img {
  animation:
    bhxLeaveImage var(--bhx-duration) var(--bhx-move-ease) forwards,
    bhxLeaveFade var(--bhx-duration) var(--bhx-fade-ease) forwards;
}

.bhx-slide.is-leaving .bhx-media::before,
.bhx-slide.is-entering .bhx-media::before {
  animation: premiumMorphSheen var(--bhx-duration)
    cubic-bezier(0.2, 0.7, 0.18, 1) forwards;
}

.bhx-slide.is-leaving {
  z-index: 3;
  opacity: 1;
}

.bhx-slide:nth-child(6) .bhx-media img {
  filter: brightness(0.94) contrast(1.08) saturate(0.94) sepia(0.05)
    hue-rotate(-6deg);
}

.bhx-slides {
  overflow: hidden;
}

.bhx-slides,
.bhx-slide {
  position: absolute;
  inset: 0;
}

.bhx-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
  backface-visibility: hidden;
  user-select: none;
  -webkit-user-drag: none;
}

.bhx-media {
  position: absolute;
  inset: calc(var(--bhx-bleed-y) * -1) calc(var(--bhx-bleed-x) * -1);
  overflow: visible;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.bhx-media::after {
  opacity: 0.62;
  background:
    linear-gradient(
      180deg,
      rgba(4, 5, 5, 0.08),
      transparent 38%,
      rgba(4, 5, 5, 0.24)
    ),
    linear-gradient(
      90deg,
      rgba(4, 5, 5, 0.18),
      transparent 24%,
      transparent 76%,
      rgba(4, 5, 5, 0.18)
    );
}

.bhx-media::before {
  opacity: 0;
  mix-blend-mode: screen;
  transform: translateX(-120%) skewX(-10deg);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 238, 205, 0.24) 47%,
    rgba(105, 174, 165, 0.13) 51%,
    transparent 100%
  );
}

.bhx-media::before,
.bhx-media::after {
  inset: 0;
  z-index: 2;
}

.bhx-thumbs {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border: 1px solid rgba(246, 218, 172, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.018)
    ),
    rgba(5, 7, 7, 0.46);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  transform: translateX(-50%);
  box-shadow:
    0 20px 46px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.bhx-thumb {
  position: relative;
  width: 32px;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  appearance: none;
  cursor: pointer;
  opacity: 0.58;
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1);
  transition:
    opacity 0.24s ease,
    transform 0.24s ease,
    box-shadow 0.24s ease,
    filter 0.24s ease;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  -webkit-tap-highlight-color: transparent;
}

.bhx-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: saturate(0.92) brightness(0.84);
  transform: scale(1.03);
  transition:
    filter 0.24s ease,
    transform 0.24s ease;
}

.bhx-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.bhx-thumb:hover {
  opacity: 0.82;
}

.bhx-thumb.is-active img {
  filter: saturate(1) brightness(1);
  transform: scale(1);
}

.bhx-thumb.is-active {
  opacity: 1;
  transform: scale(1.05);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 0 2px rgba(255, 255, 255, 0.18),
    0 8px 20px rgba(0, 0, 0, 0.18);
}

.kt-trail-layer {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.morph-hover-cue {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 50;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 246, 224, 0.42);
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background:
    linear-gradient(
      145deg,
      rgba(255, 248, 232, 0.24),
      var(--accent-teal)
    ),
    var(--surface-glass);
  backdrop-filter: blur(14px) saturate(1.16);
  -webkit-backdrop-filter: blur(14px) saturate(1.16);
  transform: translate3d(-50%, -50%, 0) scale(0.88);
  box-shadow:
    0 28px 74px rgba(0, 0, 0, 0.44),
    0 0 34px rgba(105, 174, 165, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
  transition:
    opacity 0.1s ease,
    transform 0.12s ease,
    visibility 0s linear 0.1s;
}

.morph-hover-cue span {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.48);
}

.morph-hover-cue.is-active {
  opacity: 1;
  visibility: visible;
  transform: translate3d(-50%, -50%, 0) scale(1);
  transition:
    opacity 0.1s ease,
    transform 0.12s ease,
    visibility 0s linear 0s;
}

.morph-hover-cue.is-suppressed {
  opacity: 0;
  visibility: hidden;
  transform: translate3d(-50%, -50%, 0) scale(0.88);
  transition:
    opacity 0.1s ease,
    transform 0.12s ease,
    visibility 0s linear 0.1s;
}

.morph-hover-cue::after {
  content: "";
  position: absolute;
  inset: -4.5px;
  border: 3px solid rgba(255, 255, 255, 0.55);
  border-radius: inherit;
  pointer-events: none;
}

.trail-dot {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  filter: blur(6px);
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(255, 248, 232, 0.72) 0%,
    rgba(105, 174, 165, 0.3) 36%,
    transparent 78%
  );
}

.bhx-caption {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition:
    opacity 300ms ease,
    transform 300ms ease;
}

.bhx-caption.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.bhx-captions {
  position: relative;
  min-height: auto;
  width: 100%;
  margin: 0 auto 54px;
}

.bathhouse-strip-title {
  grid-area: title;
  position: relative;
  margin: 0 auto;
  padding: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: normal;
  text-overflow: clip;
  font-family: var(--font-serif);
  font-size: clamp(
  28px,
  calc(28px + (100vw - 1280px) * 0.021875),
  42px
);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.42),
    0 18px 34px rgba(0, 0, 0, 0.42);
}

.bathhouse-strip-caption {
  grid-area: caption;
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: clamp(
    980px,
    calc(980px + (100vw - 1280px) * 0.34375),
    1200px
  );
  padding-inline: clamp(24px, 3vw, 44px);
  font-family: var(--font-sans);
  font-size: clamp(
    17px,
    calc(17px + (100vw - 1280px) * 0.0046875),
    20px
  );
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.015em;
  text-align: center;
  color: var(--cream-muted);
  opacity: 0.94;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.42);
}

@media (min-width: 1025px) {

  .kt-bathhouse-opening {
     width: clamp(985.6px, calc(77vw + ((100vw - 1280px) * 0.12)), 1555px);
  margin-inline: auto;
    margin-bottom: 120px;
  }

  .kt-bathhouse-opening.kt-section-opening .kt-charcoal-plark > h2 {
    max-width: none;
  }

  .kt-bathhouse-opening .bathhouse-strip {
    margin-top: 0;
  }

  .kt-bathhouse-opening .bathhouse-strip-inner.bathhouse-authority {
    border-radius: 0;
    border-top: 0;
  }

  .kt-bathhouse-opening .bhx-captions {
    border-radius: 0 0 3px 3px;
  }

  .kt-bathhouse-opening .bhx-stage {
    margin-top: 0;
    border-radius: 0;
    border-top: 0;
    box-shadow: var(--shadow-stage-edge);
  }

  .kt-bathhouse-opening .bathhouse-strip-inner.bathhouse-authority,
  .kt-bathhouse-opening
    .method-gallery
    .image-cluster[data-cluster="bathhouse"]
    .bathhouse-strip-inner {
    min-height: auto;
  }

  .kt-bathhouse-opening .bhx-captions,
  .kt-bathhouse-opening
    .gallery-zone.method-gallery
    .image-cluster[data-cluster="bathhouse"]
    .bhx-captions {
    min-height: auto;
    margin-bottom: 0;
  }

  .kt-bathhouse-opening .bhx-wrap {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .kt-bathhouse-opening .gallery-zone.method-gallery {
    width: 100%;
    min-height: 0;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .kt-bathhouse-opening .image-cluster[data-cluster="bathhouse"],
    .kt-bathhouse-opening .image-cluster[data-cluster="bathhouse"] > .bhx-wrap,
    .kt-bathhouse-opening .bhx-stage,
    .kt-bathhouse-opening .bhx-captions {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .kt-bathhouse-opening .kt-bathhouse-section-intro {
    display: block;
    width: 100%;
    margin: 0;
    margin-bottom: 0;
    padding: 0;
  }

  .kt-bathhouse-opening .kt-bathhouse-section-intro-left {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .kt-bathhouse-opening .kt-bathhouse-section-kicker {
    margin-top: 0;
  }

  .kt-bathhouse-opening .kt-bathhouse-section-intro::after {
    content: none;
    display: none;
  }

}

@media (prefers-reduced-transparency: reduce) {

  .method-gallery
    .image-cluster[data-cluster="bathhouse"]
    .bathhouse-strip-inner {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

}


/* ─────────────────────────────────────────────
   Bathhouse editorial spread — Exhibit A
   ───────────────────────────────────────────── */

.kt-bathhouse-editorial {
  position: relative;
  z-index: 5;
  width: 100%;
  margin: 0;
  padding: clamp(48px, 5vh, 72px) 0 clamp(56px, 6vh, 88px);
  isolation: isolate;
}

.kt-bathhouse-editorial__frame {
  position: relative;
  width: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.30fr) minmax(0, 0.70fr);
  min-height: clamp(380px, 48vh, 500px);
  overflow: hidden;
  border: 1px solid rgb(var(--rgb-gold-ui) / 0.42);
  border-radius: 2px;
  background:
    radial-gradient(ellipse at 23% 12%, rgb(var(--rgb-gold-highlight) / 0.09), transparent 34%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.96) 0%, rgba(12, 9, 7, 0.92) 34%, rgba(8, 8, 8, 0.72) 48%, rgba(4, 4, 4, 0.38) 100%);
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.54),
    inset 0 1px 0 rgba(255, 232, 184, 0.08);
}

.kt-bathhouse-editorial__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.42) 28%, rgba(0, 0, 0, 0.14) 46%, transparent 66%),
    radial-gradient(ellipse at 30% 50%, rgba(0, 0, 0, 0.68), transparent 48%);
}

.kt-bathhouse-editorial__copy,
.kt-bathhouse-editorial__media {
  position: relative;
  z-index: 5;
}

.kt-bathhouse-editorial__copy {
  min-width: 0;
  padding:
    clamp(34px, 4vw, 58px)
    clamp(34px, 3.4vw, 58px)
    calc(clamp(34px, 4vw, 58px) + clamp(10px, 1.2vh, 18px));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: rgb(var(--rgb-cream-strong) / 0.88);
}

.kt-bathhouse-editorial__kicker {
  width: fit-content;
  margin: 0 0 clamp(18px, 2.2vh, 28px);
  padding-bottom: 10px;
  font-family: var(--font-sans);
  font-size: clamp(11px, 0.82vw, 14px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgb(var(--rgb-gold-highlight) / 0.92);
  border-bottom: 1px solid rgb(var(--rgb-gold-ui) / 0.58);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.58);
}

.kt-bathhouse-editorial__title {
  margin: 0;
  max-width: 100%;
  perspective: 800px;
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  text-wrap: balance;
}

.kt-bathhouse-editorial__title > span {
  display: block;
  color: transparent;
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  filter: var(--shadow-title-span);
}

.kt-bathhouse-editorial__title-ivory {
  font-size: clamp(34px, 3.2vw, 50px);
}

.kt-bathhouse-editorial__title-gold {
  margin-top: 0;
  font-size: clamp(38px, 3.6vw, 56px);
}

.kt-bathhouse-editorial__title--landscape {
  display: none;
}

.kt-bathhouse-editorial__kicker--landscape {
  display: none;
}

.kt-bathhouse-editorial__landscape-heading {
  display: none;
}

[data-kt-character-reveal] {
  perspective: 800px;
}

[data-kt-character-reveal] > .kt-character-reveal__line {
  display: block;
}

.kt-bathhouse-editorial__character-shell {
  display: inline-block;
  overflow: hidden;
  padding-block: 0.08em 0.12em;
  margin-block: -0.08em -0.12em;
  vertical-align: top;
}

.kt-bathhouse-editorial__character {
  display: inline-block;
  color: transparent;
  background: var(--gradient-gold-text);
  background-repeat: no-repeat;
  background-size:
    var(--kt-title-gradient-width, 100%)
    var(--kt-title-gradient-height, 100%);
  background-position:
    var(--kt-title-gradient-x, 0)
    var(--kt-title-gradient-y, 0);
  -webkit-background-clip: text;
  background-clip: text;
  backface-visibility: hidden;
  transform-origin: 50% 100%;
  will-change: transform, opacity, filter;
}

[data-kt-character-reveal].is-character-ready
  .kt-bathhouse-editorial__character {
  opacity: 0;
  filter: blur(5px);
  transform:
    translate3d(calc(var(--kt-character-direction) * 0.06em), 112%, 0)
    rotateX(-62deg)
    skewX(calc(var(--kt-character-direction) * 2deg));
}

[data-kt-character-reveal].is-character-revealed
  .kt-bathhouse-editorial__character {
  animation: bathhouseCharacterReveal 920ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(90ms + var(--kt-character-index) * 58ms);
}

[data-kt-character-reveal].is-character-ready
  .kt-bathhouse-editorial__character.is-character-settled,
[data-kt-character-reveal].is-character-revealed
  .kt-bathhouse-editorial__character.is-character-settled {
  animation: none;
  opacity: 1;
  filter: none;
  transform: none;
  will-change: auto;
}

@keyframes bathhouseCharacterReveal {
  0% {
    opacity: 0;
    filter: blur(5px);
    transform:
      translate3d(calc(var(--kt-character-direction) * 0.06em), 112%, 0)
      rotateX(-62deg)
      skewX(calc(var(--kt-character-direction) * 2deg));
  }

  62% {
    opacity: 1;
    filter: blur(0.5px);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) rotateX(0) skewX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-kt-character-reveal].is-character-ready
    .kt-bathhouse-editorial__character,
  [data-kt-character-reveal].is-character-revealed
    .kt-bathhouse-editorial__character {
    animation: none;
    opacity: 1;
    filter: none;
    transform: none;
  }
}

.kt-bathhouse-editorial__subline {
  position: relative;
  margin: clamp(14px, 1.6vh, 20px) 0 0;
  padding: 10px 0;
  font-family: var(--font-sans);
  font-size: clamp(11px, 0.86vw, 14px);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgb(var(--rgb-gold-highlight) / 0.84);
}

.kt-bathhouse-editorial__subline::before,
.kt-bathhouse-editorial__subline::after {
  content: "";
  position: absolute;
  left: 0;
  width: min(100%, 470px);
  height: 1px;
  background: linear-gradient(90deg, rgb(var(--rgb-gold-ui) / 0.62), transparent);
}

.kt-bathhouse-editorial__subline::before {
  top: 0;
}

.kt-bathhouse-editorial__subline::after {
  bottom: 0;
}

.kt-bathhouse-editorial__media {
  min-width: 0;
  display: block;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.18);
}

.kt-bathhouse-editorial__gallery,
.kt-bathhouse-editorial .bhx-wrap {
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
}

.kt-bathhouse-editorial .bhx-stage {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  border: 0;
  overflow: visible;
  cursor: default;
}

.kt-bathhouse-editorial__image-area {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.5;
  min-height: clamp(260px, 36vh, 400px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgb(215 168 96 / 0.52);
  cursor: none;
}

.kt-bathhouse-editorial__image-area .kt-trail-layer {
  inset: 0;
}

.kt-bathhouse-editorial .bhx-slides,
.kt-bathhouse-editorial .bhx-slide {
  position: absolute;
  inset: 0;
}

.kt-bathhouse-editorial .bhx-stage::before,
.kt-bathhouse-editorial .bhx-stage::after {
  display: none;
}

.kt-bathhouse-editorial__image-area::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: soft-light;
  background:
    linear-gradient(90deg, rgba(255, 247, 226, 0.1), transparent 18%, transparent 82%, rgba(105, 174, 165, 0.08)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), transparent 42%, rgba(0, 0, 0, 0.18));
}

.kt-bathhouse-editorial__controls {
  position: relative;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 1.8vw, 28px);
  padding:
    clamp(12px, 1.2vw, 16px)
    clamp(14px, 1.4vw, 22px)
    clamp(12px, 1.2vw, 16px)
    0;
  border-top: 1px solid rgb(var(--rgb-gold-ui) / 0.32);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.88)),
    radial-gradient(ellipse at 72% 0%, rgba(210, 165, 95, 0.07), transparent 58%);
}

.kt-bathhouse-editorial .bhx-media::after {
  opacity: 0.32;
}

.kt-bathhouse-editorial .bhx-slide:first-child .bhx-media img {
  object-position: center center !important;
}

.kt-bathhouse-editorial .bhx-thumbs {
  --svc-cta-gold: 215 168 96;
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  transform: none;
  flex: 0 0 auto;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 4px;
  border: 1px solid rgb(var(--svc-cta-gold) / 0.52);
  background: rgba(8, 7, 5, 0.48);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.kt-bathhouse-editorial .bhx-thumb {
  width: 58px;
  aspect-ratio: 4 / 3;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
  opacity: 0.56;
  box-shadow: inset 0 0 0 1px rgb(var(--svc-cta-gold) / 0.52);
}

.kt-bathhouse-editorial .bhx-thumb::after {
  box-shadow: inset 0 0 0 1px rgb(var(--svc-cta-gold) / 0.52);
}

.kt-bathhouse-editorial .bhx-thumb img {
  filter: saturate(0.88) brightness(0.82);
  transform: scale(1.04);
}

.kt-bathhouse-editorial .bhx-thumb:hover {
  opacity: 0.84;
}

.kt-bathhouse-editorial .bhx-thumb.is-active,
.kt-bathhouse-editorial .bhx-thumb[aria-current="true"] {
  opacity: 1;
  transform: scale(1.06);
  box-shadow:
    inset 0 0 0 1px rgb(var(--svc-cta-gold) / 0.72),
    0 0 0 2px rgb(var(--svc-cta-gold) / 0.52),
    0 8px 20px rgba(0, 0, 0, 0.28);
}

.kt-bathhouse-editorial .bhx-thumb.is-active img,
.kt-bathhouse-editorial .bhx-thumb[aria-current="true"] img {
  filter: saturate(1) brightness(1);
  transform: scale(1);
}

.kt-bathhouse-editorial__captions {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.kt-bathhouse-editorial__emphasis {
  color: var(--kt-gold, #c99a45);
  font-weight: 800;
  letter-spacing: 0.035em;
}

.kt-bathhouse-editorial__rail {
  position: relative;
  z-index: 8;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  text-align: right;
  border: 0;
  background: transparent;
}

.kt-bathhouse-editorial__rail::before {
  content: none;
}

.kt-bathhouse-editorial__rail-kicker,
.kt-bathhouse-editorial__rail-copy {
  width: min(100%, 320px);
}

.kt-bathhouse-editorial__rail-kicker {
  margin: 0 0 4px;
  font-family: var(--font-sans);
  font-size: clamp(9px, 0.68vw, 11px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgb(var(--rgb-gold-highlight) / 0.98);
}

.kt-bathhouse-editorial__rail-copy {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(12px, 0.88vw, 15px);
  line-height: 1.55;
  color: rgb(var(--rgb-cream-strong) / 0.92);
}

.kt-bathhouse-editorial .morph-hover-cue {
  z-index: 50;
  background: rgba(5, 5, 5, 0.96);
}

.kt-bathhouse-editorial .morph-hover-cue span {
  color: rgb(var(--rgb-gold-bright) / 0.96);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.58);
}

.kt-bathhouse-editorial .trail-dot {
  background: radial-gradient(
    circle,
    rgb(var(--rgb-gold-highlight) / 0.72) 0%,
    rgb(var(--rgb-gold-ui) / 0.3) 36%,
    transparent 78%
  );
}

@media (max-height: 760px) and (min-width: 1025px) {
  .kt-bathhouse-editorial {
    padding-top: 40px;
    padding-bottom: 52px;
  }

  .kt-bathhouse-editorial__frame {
    min-height: 360px;
  }

  .kt-bathhouse-editorial__copy {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .kt-bathhouse-editorial__kicker {
    margin-bottom: 14px;
  }

  .kt-bathhouse-editorial__subline {
    margin-top: 12px;
    margin-bottom: 0;
  }

  .kt-bathhouse-editorial__case-stack {
    margin-top: 24px;
    min-height: 300px;
  }

  .kt-bathhouse-editorial__case-title {
    font-size: clamp(27px, 2.35vw, 36px);
    margin-bottom: 14px;
  }

  .kt-bathhouse-editorial__case-copy {
    font-size: 14px;
    line-height: 1.44;
  }

  .kt-bathhouse-editorial__cta {
    padding-top: 16px;
  }

  .kt-bathhouse-editorial__image-area {
    min-height: 240px;
  }

  .kt-bathhouse-editorial__controls {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .kt-bathhouse-editorial .bhx-thumbs {
    gap: 6px;
    padding: 5px 6px;
  }

  .kt-bathhouse-editorial .bhx-thumb {
    width: 46px;
  }
}


/* Bathhouse editorial — case stack (cascade override) */

.kt-bathhouse-editorial__case-stack {
  position: relative;
  width: 100%;
  max-width: 520px;
  min-height: clamp(325px, 38vh, 440px);
  margin-top: clamp(30px, 4vh, 56px);
  padding-top: clamp(18px, 2vh, 28px);
  padding-bottom: clamp(8px, 1vh, 14px);
  border-top: 1px solid rgb(var(--rgb-gold-ui) / 0.34);
  overflow: hidden;
}

.kt-bathhouse-editorial__case-panel {
  position: absolute !important;
  inset: clamp(18px, 2vh, 28px) 0 clamp(8px, 1vh, 14px) 0 !important;
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(12px);
  transition:
    opacity 360ms ease,
    transform 360ms ease,
    visibility 0s linear 360ms;
}

.kt-bathhouse-editorial__case-panel.is-active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0);
  transition:
    opacity 360ms ease,
    transform 360ms ease,
    visibility 0s linear 0s;
}

.kt-bathhouse-editorial__case-panel::before,
.kt-bathhouse-editorial__case-panel::after {
  content: none !important;
  display: none !important;
}

.kt-bathhouse-editorial__case-label {
  margin: 0 0 clamp(12px, 1.4vh, 18px);
  font-family: var(--font-sans);
  font-size: clamp(11px, 0.82vw, 14px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgb(var(--rgb-gold-highlight) / 0.78);
}

.kt-bathhouse-editorial__case-title {
  margin: 15px 0 clamp(14px, 1.8vh, 22px);
  max-width: 500px;
  font-family: var(--font-serif);
  font-size: clamp(27px, 2.4vw, 42px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: rgb(var(--rgb-gold-highlight) / 0.94);
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.46),
    0 12px 28px rgba(0, 0, 0, 0.34);
}

.kt-bathhouse-editorial__case-title--red-tinge {
  color: #d68168;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.kt-bathhouse-editorial__case-title--green-tinge {
  color: #6f8f7e;
  background: none;
  -webkit-text-fill-color: currentColor;
}

/* Precision Wipe — major Bathhouse case titles only. */
#bathhouse .kt-bathhouse-editorial__precision-reveal {
  position: relative;
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  vertical-align: top;
}

#bathhouse .kt-bathhouse-editorial__precision-text {
  display: block;
}

#bathhouse .kt-bathhouse-editorial__precision-line {
  display: none;
}

#bathhouse.is-precision-ready .kt-bathhouse-editorial__precision-text {
  clip-path: inset(0 100% 0 0);
}

#bathhouse.is-precision-ready .kt-bathhouse-editorial__precision-line {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  display: block;
  width: 1px;
  background: rgb(var(--rgb-gold-ui) / 0.75);
  opacity: 0;
  pointer-events: none;
}

#bathhouse.is-precision-ready .kt-bathhouse-editorial__precision-reveal.is-revealing .kt-bathhouse-editorial__precision-text {
  animation: bathhousePrecisionText 1500ms cubic-bezier(.77, 0, .18, 1) both;
}

#bathhouse.is-precision-ready .kt-bathhouse-editorial__precision-reveal.is-revealing .kt-bathhouse-editorial__precision-line {
  animation: bathhousePrecisionLine 1500ms cubic-bezier(.77, 0, .18, 1) both;
}

#bathhouse.is-precision-ready .kt-bathhouse-editorial__precision-reveal.is-revealed .kt-bathhouse-editorial__precision-text {
  clip-path: none;
}

#bathhouse.is-precision-ready .kt-bathhouse-editorial__precision-reveal.is-revealed .kt-bathhouse-editorial__precision-line {
  display: none;
}

.kt-bathhouse-editorial__case-copy {
  margin: 0;
  max-width: 500px;
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.08vw, 18px);
  font-weight: 430;
  line-height: 1.54;
  color: rgb(var(--rgb-cream-strong) / 0.96);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.54);
}

/* Independent of line-height — only the gap between body paragraphs. */
.kt-bathhouse-editorial__para-gap {
  display: block;
  width: 100%;
  height: 0.9em;
  margin: 0;
  padding: 0;
  border: 0;
  pointer-events: none;
}

.kt-bathhouse-editorial__cta {
  position: relative;
  z-index: 6;
  width: 100%;
  max-width: 520px;
  margin-top: clamp(24px, 3vh, 42px);
  padding-top: clamp(20px, 2.4vh, 30px);
  border-top: 1px solid rgb(var(--rgb-gold-ui) / 0.34);
}

.kt-bathhouse-editorial__cta .kt-svc-cta {
  margin: 0;
  width: 100%;
  min-width: 0;
}

@media (min-width: 1025px) {
  .kt-bathhouse-editorial__case-stack {
    margin-top: 14px;
    padding-top: 8px;
    border-top: none;
  }

  .kt-bathhouse-editorial__case-panel {
    inset: 8px 0 clamp(8px, 1vh, 14px) 0 !important;
  }

  .kt-bathhouse-editorial__cta {
    margin-top: 16px;
    padding-top: 0;
    border-top: none !important;
    transform: translateY(8px);
  }

  .kt-bathhouse-editorial__cta .kt-svc-cta {
    --svc-cta-gold: 232 183 108;
    border-width: 2px;
    font-size: clamp(17px, 1.25vw, 19px);
    font-weight: 600;
    letter-spacing: 0.18em;
    color: rgb(239 181 82 / 0.99);
    white-space: nowrap;
  }
}

/* Wrapper: transparent on desktop (thumbs sit where they always have). */
.kt-bathhouse-editorial__thumb-stack {
  display: contents;
}

.kt-bathhouse-editorial__cta--landscape {
  display: none;
}


/* --- Keyframes: bathhouse --- */

@keyframes bathhousePrecisionText {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes bathhousePrecisionLine {
  0% {
    opacity: 0.75;
    left: 0;
  }
  99% {
    opacity: 0.75;
    left: calc(100% - 1px);
  }
  100% {
    opacity: 0;
    left: calc(100% - 1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  #bathhouse.is-precision-ready .kt-bathhouse-editorial__precision-text {
    clip-path: none;
    animation: none;
  }

  #bathhouse.is-precision-ready .kt-bathhouse-editorial__precision-line {
    display: none;
    animation: none;
  }
}

/* Bathhouse */

@keyframes bhxLeaveImage {
  0% {
    transform: translate3d(0, 0, 0) scaleX(var(--bhx-out-start-x))
      scaleY(var(--bhx-out-start-y));
  }
  100% {
    transform: translate3d(0, 0, 0)
      scaleX(calc(var(--bhx-out-end-x) * var(--bhx-zoom-leave-end)))
      scaleY(calc(var(--bhx-out-end-y) * var(--bhx-zoom-leave-end)));
  }
}

@keyframes bhxEnterImage {
  0%,
  18% {
    transform: translate3d(0, 0, 0)
      scaleX(calc(var(--bhx-in-start-x) * var(--bhx-zoom-in-start)))
      scaleY(calc(var(--bhx-in-start-y) * var(--bhx-zoom-in-start)));
  }
  100% {
    transform: translate3d(0, 0, 0)
      scaleX(calc(var(--bhx-in-end-x) * var(--bhx-zoom-out-end)))
      scaleY(calc(var(--bhx-in-end-y) * var(--bhx-zoom-out-end)));
  }
}

@keyframes bhxLeaveFade {
  0%,
  40% {
    opacity: 1;
  }
  70% {
    opacity: 0.35;
  }
  88% {
    opacity: 0.08;
  }
  100% {
    opacity: 0;
  }
}

@keyframes bhxEnterFade {
  0%,
  20% {
    opacity: 0;
  }
  46% {
    opacity: 0.66;
  }
  76%,
  100% {
    opacity: 1;
  }
}

@keyframes premiumMorphSheen {
  0% {
    opacity: 0;
    transform: translateX(-120%) skewX(-10deg);
  }
  28%,
  52% {
    opacity: 0.3;
  }
  100% {
    opacity: 0;
    transform: translateX(120%) skewX(-10deg);
  }
}

@keyframes premiumFlowVeil {
  0%,
  100% {
    opacity: 0.68;
    filter: saturate(1) brightness(1);
  }
  36%,
  64% {
    opacity: 0.86;
    filter: saturate(1.06) brightness(1.03);
  }
}

@media (max-width: 1180px) {
  .kt-bathhouse-editorial__frame {
    width: 100%;
    grid-template-columns: minmax(260px, 0.32fr) minmax(0, 0.68fr);
  }

  .kt-bathhouse-editorial__copy {
    padding: 28px 34px;
  }

  .kt-bathhouse-editorial__title-ivory {
    font-size: clamp(30px, 3.4vw, 44px);
  }

  .kt-bathhouse-editorial__title-gold {
    font-size: clamp(34px, 3.8vw, 50px);
  }
}

/* Exhibit A — phone layout: heading, full-bleed image, thumbnail rail, copy. */
@media (max-width: 767px) {
  .kt-bathhouse-editorial {
    padding-inline: 0;
  }

  .kt-bathhouse-editorial__frame {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto auto auto auto;
    min-height: 0;
  }

  .kt-bathhouse-editorial__frame::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.16) 34%, transparent 58%),
      radial-gradient(ellipse at 50% 12%, rgba(0, 0, 0, 0.58), transparent 44%);
  }

  .kt-bathhouse-editorial__copy {
    display: contents;
  }

  .kt-bathhouse-editorial__kicker,
  .kt-bathhouse-editorial__title,
  .kt-bathhouse-editorial__subline,
  .kt-bathhouse-editorial__case-stack,
  .kt-bathhouse-editorial__cta {
    position: relative;
    z-index: 5;
    grid-column: 1;
  }

  .kt-bathhouse-editorial__kicker {
    grid-row: 1;
    margin: 28px 20px 18px;
  }

  .kt-bathhouse-editorial__title {
    grid-row: 2;
    padding-inline: 20px;
  }

  .kt-bathhouse-editorial__title-ivory {
    font-size: clamp(34px, 10vw, 42px);
  }

  .kt-bathhouse-editorial__title-gold {
    font-size: clamp(40px, 12vw, 50px);
  }

  .kt-bathhouse-editorial__subline {
    grid-row: 3;
    margin: 16px 20px 0;
    padding-bottom: 18px;
    font-size: 15px;
  }

  .kt-bathhouse-editorial__media {
    grid-column: 1;
    grid-row: 4;
    width: 100%;
    overflow: visible;
  }

  .kt-bathhouse-editorial__image-area {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-right: 0;
    border-left: 0;
  }

  .kt-bathhouse-editorial__controls {
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    padding: 8px 10px 6px;
  }

  .kt-bathhouse-editorial .bhx-thumbs {
    width: fit-content;
    max-width: 100%;
    gap: 6px;
    padding: 5px 6px;
  }

  .kt-bathhouse-editorial .bhx-thumb {
    flex: 0 0 clamp(40px, 11vw, 44px);
    width: clamp(40px, 11vw, 44px);
  }

  /* Hide methodology/material rail so captions & case stack shift up. */
  .kt-bathhouse-editorial__rail {
    display: none;
  }

  .kt-bathhouse-editorial__case-stack {
    grid-row: 5;
    width: auto;
    max-width: none;
    /* Pull the case text up under the image; no top rule on phone. */
    margin: 10px 20px 0;
    padding-top: 0;
    padding-bottom: 0;
    border-top: 0;
    /* Height follows the active panel so the CTA can reflow with it. */
    min-height: 0 !important;
    height: auto;
    overflow: visible;
  }

  /* Hide per-image kickers e.g. “A STANDARD REVEALED - COLD POOL”. */
  .kt-bathhouse-editorial__case-label {
    display: none;
  }

  /*
    Only the active case panel sits in normal flow.
    Inactive panels are taken out of flow so stack height = active copy height.
  */
  .kt-bathhouse-editorial__case-panel {
    position: absolute !important;
    inset: 0 0 auto 0 !important;
    width: 100% !important;
    height: auto !important;
  }

  .kt-bathhouse-editorial__case-panel.is-active {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    transform: none;
  }

  .kt-bathhouse-editorial__case-title {
    margin-top: 0;
  }

  /* Space between lead copy and the title on the first case panel. */
  .kt-bathhouse-editorial__case-copy + .kt-bathhouse-editorial__case-title {
    margin-top: 14px;
  }

  /*
    Two separate controls on phone:
    - line-height = spacing between lines inside a paragraph
    - .para-gap height = spacing between paragraphs only
  */
  .kt-bathhouse-editorial__case-copy {
    line-height: 1.55;
  }

  .kt-bathhouse-editorial__para-gap {
    height: 0.95em;
  }

  .kt-bathhouse-editorial__cta {
    grid-row: 6;
    position: relative;
    width: auto;
    max-width: none;
    margin: 16px 20px 30px;
    margin-top: 16px;
    padding-top: 16px;
  }

  .kt-bathhouse-editorial__cta .kt-svc-cta {
    min-height: 52px;
    padding-block: 16px;
    font-size: 20px;
    letter-spacing: 0.12em;
  }
}

/*
  Bathhouse — phone landscape ONLY.
  Keep max-height tight so tablet landscape (typically ≥600px tall) falls
  through to the desktop Exhibit A layout. Phones in landscape stay well
  under ~500px CSS height. Portrait phone layout remains max-width: 767px.
*/
@media (orientation: landscape) and (max-width: 1000px) and (max-height: 500px) {
  .kt-bathhouse-editorial {
    width: 100%;
    margin: 0;
    padding: 20px 0 28px;
  }

  .kt-bathhouse-editorial__frame {
    display: grid;
    grid-template-columns: minmax(0, 40%) minmax(0, 60%);
    grid-template-rows: auto;
    align-items: start;
    width: 100%;
    min-height: 0;
    overflow: hidden;
  }

  .kt-bathhouse-editorial__frame::after {
    display: none;
  }

  .kt-bathhouse-editorial__copy {
    display: flex;
    grid-column: 1;
    grid-row: 1;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
    width: 100%;
    padding: clamp(16px, 3vw, 28px);
    overflow: visible;
  }

  .kt-bathhouse-editorial__copy > .kt-bathhouse-editorial__kicker,
  .kt-bathhouse-editorial__copy > .kt-bathhouse-editorial__title,
  .kt-bathhouse-editorial__copy > .kt-bathhouse-editorial__cta {
    display: none;
  }

  .kt-bathhouse-editorial__subline {
    display: none;
  }

  .kt-bathhouse-editorial__case-stack {
    position: relative;
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    max-width: none;
    min-height: 0 !important;
    height: auto;
    margin: 0;
    padding: 0;
    border-top: 0;
    overflow: visible;
  }

  .kt-bathhouse-editorial__case-panel {
    position: absolute !important;
    inset: 12px 0 auto !important;
    width: 100% !important;
    height: auto !important;
  }

  .kt-bathhouse-editorial__case-panel.is-active {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    transform: none;
  }

  .kt-bathhouse-editorial__case-label {
    display: none;
  }

  .kt-bathhouse-editorial__case-title {
    margin: 0 0 10px;
    font-size: clamp(19px, 2.8vw, 27px);
    line-height: 1;
  }

  .kt-bathhouse-editorial__case-copy {
    margin: 0;
    font-size: clamp(16px, calc(1.6vw + 4px), 18px);
    line-height: 1.42;
  }

  .kt-bathhouse-editorial__case-copy + .kt-bathhouse-editorial__case-title {
    margin-top: 10px;
  }

  .kt-bathhouse-editorial__para-gap {
    height: 0.65em;
  }

  .kt-bathhouse-editorial__media {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    overflow: hidden;
  }

  .kt-bathhouse-editorial__title--landscape {
    display: block;
    flex: 0 0 auto;
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    line-height: 0.92;
    white-space: nowrap;
  }

  .kt-bathhouse-editorial__landscape-heading {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 10px 14px 9px;
    border-bottom: 1px solid rgb(var(--rgb-gold-ui) / 0.42);
    background: linear-gradient(90deg, rgba(7, 6, 5, 0.98), rgba(12, 9, 7, 0.92));
  }

  .kt-bathhouse-editorial__title--landscape > span {
    display: inline;
  }

  .kt-bathhouse-editorial__title--landscape .kt-bathhouse-editorial__title-ivory {
    margin-right: 0.2em;
    font-size: clamp(23px, 3.5vw, 32px);
  }

  .kt-bathhouse-editorial__title--landscape .kt-bathhouse-editorial__title-gold {
    font-size: clamp(23px, 3.5vw, 32px);
  }

  .kt-bathhouse-editorial__gallery,
  .kt-bathhouse-editorial .bhx-wrap,
  .kt-bathhouse-editorial .bhx-stage {
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
  }

  .kt-bathhouse-editorial__image-area {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9.5;
    border-right: 0;
    border-left: 0;
  }

  .kt-bathhouse-editorial__kicker--landscape {
    display: block;
    position: relative;
    top: auto;
    right: auto;
    z-index: auto;
    flex: 0 0 auto;
    align-self: center;
    width: fit-content;
    margin: 0;
    padding: 7px 9px 6px;
    border: 1px solid rgb(var(--rgb-gold-ui) / 0.58);
    background: rgba(5, 4, 3, 0.92);
    font-size: clamp(10px, 1.25vw, 12px);
    line-height: 1;
    letter-spacing: 0.2em;
  }

  .kt-bathhouse-editorial__controls {
    display: flex;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    width: auto;
    padding: 7px 8px;
    border-top: 1px solid rgb(var(--rgb-gold-ui) / 0.52);
    background: linear-gradient(90deg, rgba(4, 4, 3, 0.94), rgba(8, 6, 4, 0.9));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .kt-bathhouse-editorial .bhx-thumbs {
    display: flex;
    flex: 0 0 auto;
    width: fit-content;
    max-width: 100%;
    margin: 0;
    gap: 4px;
    padding: 4px;
    overflow: visible;
    align-self: flex-start;
  }

  .kt-bathhouse-editorial .bhx-thumb {
    flex: 0 0 clamp(22px, 2.8vw, 28px);
    width: clamp(22px, 2.8vw, 28px);
  }

  .kt-bathhouse-editorial__cta--landscape {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    border-top: 0;
  }

  .kt-bathhouse-editorial__cta--landscape .kt-svc-cta {
    width: 100%;
    min-width: 0;
    height: 100%;
    min-height: 40px;
    margin: 0;
    padding: 9px 2px;
    font-size: clamp(18px, calc(1.65vw + 5px), 21px);
    line-height: 1.15;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .kt-bathhouse-editorial__rail {
    display: none;
  }
}

/*
  Coarse-input tablet landscape only.
  Keep controls as desktop: thumbs on the left, rail on the right.
  Stack the “Beneath the finish” CTA directly under the thumbs.
  Phone landscape uses its own absolute controls bar (max-height: 500px).
*/
@media (orientation: landscape) and (min-width: 768px) and (max-width: 1366px) and (min-height: 501px) and (hover: none) and (pointer: coarse) {
  /* Hide left-column CTA — landscape CTA under thumbs replaces it. */
  .kt-bathhouse-editorial__copy > .kt-bathhouse-editorial__cta:not(.kt-bathhouse-editorial__cta--landscape) {
    display: none !important;
  }

  /*
    Frame/copy were clipping case body text: absolute panels inside a
    fixed-height, overflow:hidden stack. Let the active panel define height.
  */
  .kt-bathhouse-editorial__frame {
    min-height: 0;
    overflow: visible;
    align-items: start;
  }

  .kt-bathhouse-editorial__copy {
    overflow: visible;
    min-height: 0;
    padding-bottom: clamp(24px, 3vh, 36px);
  }

  .kt-bathhouse-editorial__case-stack {
    min-height: 0 !important;
    height: auto;
    margin-top: clamp(20px, 2.6vh, 36px);
    padding-top: clamp(14px, 1.8vh, 22px);
    padding-bottom: 0;
    overflow: visible;
  }

  .kt-bathhouse-editorial__case-panel {
    position: absolute !important;
    inset: 0 0 auto !important;
    width: 100% !important;
    height: auto !important;
  }

  .kt-bathhouse-editorial__case-panel.is-active {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    transform: none;
  }

  .kt-bathhouse-editorial__case-copy {
    overflow: visible;
  }

  /* Preserve desktop controls row: left stack + right rail. */
  .kt-bathhouse-editorial__controls {
    display: flex !important;
    position: relative !important;
    inset: auto !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: clamp(14px, 1.8vw, 28px) !important;
    width: 100% !important;
    padding:
      clamp(12px, 1.2vw, 16px)
      clamp(14px, 1.4vw, 22px)
      clamp(12px, 1.2vw, 16px)
      0 !important;
  }

  .kt-bathhouse-editorial__thumb-stack {
    display: flex !important;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    min-width: 0;
  }

  /* Thumbs back to desktop rail sizing / placement (left of controls). */
  .kt-bathhouse-editorial .bhx-thumbs {
    display: flex !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    flex: 0 0 auto;
    align-self: center;
    width: fit-content;
    max-width: 100%;
    margin: 0;
    gap: 8px;
    padding: 6px 8px;
    overflow: visible;
  }

  .kt-bathhouse-editorial .bhx-thumb {
    flex: 0 0 42px;
    width: 42px;
    margin-left: 0;
  }

  .kt-bathhouse-editorial__cta--landscape {
    display: block !important;
    position: relative;
    z-index: 6;
    width: 0;
    min-width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border-top: 0;
  }

  .kt-bathhouse-editorial__cta--landscape .kt-svc-cta {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 12px clamp(22px, 2.4vw, 36px);
    font-size: clamp(13px, 1.1vw, 15px);
    line-height: 1.15;
    letter-spacing: 0.14em;
    white-space: nowrap;
  }

  .kt-bathhouse-editorial__rail {
    display: flex !important;
    flex: 1 1 auto;
    align-self: center;
  }
}

@media (min-width: 1025px) {
  .kt-bathhouse-editorial {
    padding-bottom: 0;
    margin-bottom: clamp(56px, 6vh, 88px);
  }
}

@media (max-height: 760px) and (min-width: 1025px) {
  .kt-bathhouse-editorial {
    margin-bottom: 52px;
  }

  .kt-bathhouse-editorial__case-stack {
    min-height: 315px;
  }
}
