.t-experience[data-transform-entrance] {
  --reveal: 88%;
}

.t-experience[data-transform-area] {
  --reveal: 100%;
}

.studio-service-opening[data-comparison-entrance]:not(.compare-ready) .compare-stage {
  position: relative;
  grid-template-columns: minmax(0, 1fr);
}

.studio-service-opening[data-comparison-entrance]:not(.compare-ready) .compare-after {
  display: none;
}

.comparison-work-label,
.comparison-drag-hint {
  position: absolute;
  z-index: 2;
  width: max-content;
  max-width: calc(100% - 24px);
  margin: 0;
  padding: 4px 8px;
  border-radius: 3px;
  background: #071e2edb;
  color: #fff9ed;
  font: 700 clamp(.62rem, 1vw, .83rem)/1.35 Manrope, Arial, sans-serif;
  pointer-events: none;
}

.t-hero-stage > .comparison-work-label {
  inset: auto var(--fs-gutter) calc(var(--fs-dock-offset) + 100px) auto;
}

.comparison-drag-hint {
  z-index: 3;
  top: calc(50% - 28px);
  left: clamp(8.5rem, var(--reveal), calc(100% - 8.5rem));
  opacity: 0;
  text-align: center;
  transform: translate(-50%, -100%);
  transition: opacity 260ms ease-out;
}

.comparison-drag-hint[data-visible] { opacity: 1; }
.comparison-drag-hint:empty { display: none; }

.comparison-play:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  border: 1px solid #c9d7d99c;
  border-radius: 4px;
  background: #071e2eee;
  color: #fff9ed;
  font: 750 .72rem/1 Manrope, Arial, sans-serif;
  pointer-events: auto;
}

.comparison-play:focus-visible {
  outline: 2px solid #f0c878;
  outline-offset: 2px;
}

.comparison-play svg { flex: 0 0 14px; width: 14px; height: 14px; fill: currentColor; }
.comparison-play:not([data-action="stop"]) svg path:last-child,
.comparison-play[data-action="stop"] svg path:first-child { display: none; }

.studio-service-opening .comparison-play,
.studio-property-detail-comparison .compare-stage > .comparison-play,
.t-service-story [data-comparison-entrance] .compare-stage > .comparison-play {
  position: absolute;
  z-index: 3;
  inset: auto auto 9px 12px;
}

.studio-property-detail-copy { padding: 11px 3px 3px; }
.studio-property-detail-copy h3 { font-size: 1.1rem; line-height: 1.35; }
.studio-property-detail-copy p { margin-top: 5px; font-size: .88rem; line-height: 1.55; }

.studio-property-utility .compare-stage > .comparison-play { inset: auto 12px 9px auto; }

.studio-service-opening .comparison-work-label {
  inset: 11px auto auto 12px;
}

.comparison-seasons:not([hidden]) {
  position: absolute;
  z-index: 4;
  inset: auto 12px 9px auto;
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 2px;
  border: 1px solid #c9d7d99c;
  border-radius: 5px;
  background: #071e2eee;
}

.comparison-seasons label {
  position: relative;
  display: grid;
  width: 44px;
  min-height: 44px;
  place-items: center;
  color: #fff9ed;
  cursor: pointer;
}

.comparison-seasons input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: inherit;
}

.comparison-seasons label:has(input:checked) {
  border-radius: 3px;
  background: #f0c878;
  color: #071e2e;
}

.comparison-seasons label:has(input:focus-visible) {
  outline: 2px solid #fff9ed;
  outline-offset: 2px;
}

[data-comparison-seasons] [data-season-status]:empty { display: none; }

@media (max-width: 600px) {
  [data-comparison-seasons] .compare-stage img {
    aspect-ratio: 1018 / 941;
    object-fit: cover;
    object-position: 47.095% center;
  }

  /* Crop both 1672×941 plates to the same 690×656 sink and floor detail. */
  .studio-property-utility .compare-stage picture {
    position: relative;
    aspect-ratio: 690 / 656;
    overflow: hidden;
  }

  .studio-property-utility .compare-stage img {
    position: absolute;
    top: calc(-100% * 285 / 656);
    left: calc(-100% * 360 / 690);
    width: calc(100% * 1672 / 690);
    max-width: none;
  }
}

@media (min-width: 901px) {
  .studio-service-opening .comparison-play { inset: 137px auto auto clamp(12px, 2vw, 22px); }
  .studio-service-opening .comparison-work-label { display: none; }
  .studio-service-opening .comparison-work-label-specific {
    display: block;
    inset: auto 5% max(24px, calc(56.28vw - 100svh + 24px)) auto;
  }
  [data-comparison-seasons] .comparison-seasons {
    bottom: max(12px, calc(56.28vw - 100svh + 12px));
  }
}

@media (max-width: 900px) {
  .t-hero-stage > .comparison-work-label { inset: 9px auto auto var(--fs-gutter); }
  .studio-service-opening .comparison-work-label { inset: auto 12px 9px auto; max-width: calc(100% - 105px); }
}

@media (max-width: 360px) {
  .t-hero-stage > .comparison-work-label { top: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  :root:not([data-ami-preview-motion]) .t-experience[data-transform-entrance] { --reveal: var(--entrance-static-split, 50%); }
  :root:not([data-ami-preview-motion]) .comparison-drag-hint { display: none; }
  :root[data-ami-preview-motion] .comparison-drag-hint { transition: opacity 260ms ease-out !important; }
}
