@import url("dim-contact-footer-sticky.css");
/* Page: Residential — S/S H (Figma 99:1427), 1512×4500 artboard, no Safari chrome */

:root {
  --ssc-board-w: 1512px;
  --ssc-board-h: 4500px;
  --ssc-text: #595656;
  /* Split at image column edge (same x as PN: 688) */
  --ssc-split-x: 688px;
  --ssc-right-board-w: 824px; /* 1512 - 688 */
  --ssc-back-top-x: 1447px;
  --ssc-back-top-y: 860px;
}

html:has(main.dim-ss-house-c),
body:has(main.dim-ss-house-c) {
  height: 100%;
  overflow: hidden;
  margin: 0;
}

.dim-ss-house-c {
  width: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  height: calc(
    100dvh - (78px * min(100vw, var(--ssc-board-w)) / var(--ssc-board-w)) - env(safe-area-inset-bottom, 0px)
  );
  max-height: calc(
    100dvh - (78px * min(100vw, var(--ssc-board-w)) / var(--ssc-board-w)) - env(safe-area-inset-bottom, 0px)
  );
  overflow: hidden;
}

.dim-ss-house-c__header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 45;
  height: 0;
  overflow: visible;
  pointer-events: none;
  padding-top: env(safe-area-inset-top, 0px);
}

.dim-ss-house-c__header-fixed-inner {
  position: absolute;
  left: max(0px, calc((100vw - min(100vw, var(--ssc-board-w))) / 2));
  top: 0;
  width: 688px;
  height: 360px;
  box-sizing: border-box;
  pointer-events: auto;
  transform: scale(calc(min(100vw, var(--ssc-board-w)) / var(--ssc-board-w)));
  transform-origin: top left;
  background: #fff;
  box-shadow: 0 1px 0 transparent;
}

.dim-ss-house-c__scale-wrap {
  flex: 1 1 auto;
  min-height: 0;
  width: min(100vw, var(--ssc-board-w));
  margin-inline: auto;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.dim-ss-house-c__split-view {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--ssc-text);
}

.dim-ss-house-c__split-scroll {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  min-height: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.dim-ss-house-c__split-scroll::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.dim-ss-house-c__split-scroll--left {
  flex: 0 0 calc(var(--ssc-split-x) * min(100vw, var(--ssc-board-w)) / var(--ssc-board-w));
  max-width: calc(var(--ssc-split-x) * min(100vw, var(--ssc-board-w)) / var(--ssc-board-w));
  box-shadow: 1px 0 0 rgba(0, 0, 0, 0.06);
}

.dim-ss-house-c__split-scroll--right {
  flex: 1 1 auto;
  min-width: 0;
}

.dim-ss-house-c__split-clip {
  position: relative;
  flex-shrink: 0;
}

.dim-ss-house-c__split-clip--left {
  width: 100%;
  height: 100%;
  min-height: calc(var(--ssc-board-h) * min(100vw, var(--ssc-board-w)) / var(--ssc-board-w));
}

.dim-ss-house-c__split-clip--right {
  width: 100%;
  min-width: calc(var(--ssc-right-board-w) * min(100vw, var(--ssc-board-w)) / var(--ssc-board-w));
  height: 100%;
  min-height: calc(var(--ssc-board-h) * min(100vw, var(--ssc-board-w)) / var(--ssc-board-w));
}

.dim-ss-house-c__split-board {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: top left;
  transform: scale(calc(min(100vw, var(--ssc-board-w)) / var(--ssc-board-w)));
  background: #fff;
}

.dim-ss-house-c__split-board--left {
  width: var(--ssc-split-x);
  height: var(--ssc-board-h);
}

.dim-ss-house-c__split-board--right {
  width: var(--ssc-right-board-w);
  height: var(--ssc-board-h);
}

.dim-ss-house-c__split-board figure {
  margin: 0;
}

.dim-ss-house-c__logo {
  position: absolute;
  left: 64px;
  top: 48px;
  width: 213px;
  height: 58px;
  z-index: 6;
  display: block;
}

.dim-ss-house-c__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left top;
  display: block;
}

.dim-ss-house-c__eyebrow {
  position: absolute;
  left: 64px;
  top: 200px;
  transform: translateY(-50%);
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.064px;
  line-height: 1;
  text-transform: uppercase;
}

.dim-ss-house-c__divider {
  position: absolute;
  left: 190px;
  top: 228px;
  transform: translateY(-50%);
  width: 23px;
  height: 1px;
  background: var(--ssc-text);
}

.dim-ss-house-c__title {
  position: absolute;
  left: 229px;
  top: 228px;
  transform: translateY(-50%);
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.064px;
  line-height: 1;
  text-transform: uppercase;
}

.dim-ss-house-c__meta-row {
  position: absolute;
  left: 64px;
  transform: translateY(-50%);
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.064px;
  line-height: 1;
}

.dim-ss-house-c__meta-row--loc-label {
  top: 288px;
  width: 70px;
}

.dim-ss-house-c__meta-row--loc-value {
  left: 168px;
  top: 288px;
  width: 242px;
}

.dim-ss-house-c__meta-row--owner-label {
  top: 308px;
  width: 55px;
}

.dim-ss-house-c__meta-row--owner-value {
  left: 168px;
  top: 308px;
  width: 270px;
}

.dim-ss-house-c__meta-row--year-label {
  top: 328px;
  width: 43px;
}

.dim-ss-house-c__meta-row--year-value {
  left: 168px;
  top: 328px;
  width: 300px;
}

.dim-ss-house-c__description {
  position: absolute;
  left: 64px;
  top: 398px;
  width: 560px;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.064px;
  line-height: normal;
  text-align: justify;
  z-index: 2;
}

.dim-ss-house-c__description p {
  margin: 0 0 1em;
}

.dim-ss-house-c__description p:last-child {
  margin-bottom: 0;
}

.dim-ss-house-c__stage {
  position: absolute;
  left: 0;
  overflow: hidden;
  background: transparent;
}

.dim-ss-house-c__stage-inner {
  position: absolute;
  left: 0;
  width: 760px;
  height: 427px;
  overflow: hidden;
}

.dim-ss-house-c__stage-inner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 760×760 slots: center 427px-tall panoramic */
.dim-ss-house-c__stage--01,
.dim-ss-house-c__stage--02,
.dim-ss-house-c__stage--03,
.dim-ss-house-c__stage--05 {
  width: 760px;
  height: 760px;
}

.dim-ss-house-c__stage--01 .dim-ss-house-c__stage-inner,
.dim-ss-house-c__stage--02 .dim-ss-house-c__stage-inner,
.dim-ss-house-c__stage--03 .dim-ss-house-c__stage-inner,
.dim-ss-house-c__stage--05 .dim-ss-house-c__stage-inner {
  top: 167px;
}

.dim-ss-house-c__stage--04 {
  width: 760px;
  height: 747px;
}

.dim-ss-house-c__stage--04 .dim-ss-house-c__stage-inner {
  top: 160px;
}

.dim-ss-house-c__stage--01 {
  top: 48px;
}

.dim-ss-house-c__stage--02 {
  top: 960px;
}

.dim-ss-house-c__stage--03 {
  top: 1872px;
}

.dim-ss-house-c__stage--04 {
  top: 2797px;
}

.dim-ss-house-c__stage--05 {
  top: 3696px;
}

.dim-ss-house-c__footer {
  position: absolute;
  left: 0;
  top: 814px;
  width: 1512px;
  height: 78px;
  z-index: 4;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.dim-ss-house-c__footer-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 64px;
  gap: 24px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.052px;
  line-height: 1.35;
  color: var(--ssc-text);
}

.dim-ss-house-c__footer-col {
  flex: 0 1 auto;
  min-width: 0;
}

.dim-ss-house-c__footer-col p {
  margin: 0;
}

.dim-ss-house-c__footer-col--mid {
  text-align: center;
  flex: 1 1 auto;
}

.dim-ss-house-c__footer-col--right {
  text-align: right;
}

.dim-ss-house-c__footer a {
  color: var(--ssc-text);
  text-decoration: none;
}

.dim-ss-house-c__footer a:hover {
  text-decoration: underline;
}

.dim-ss-house-c__back-top {
  position: fixed;
  z-index: 55;
  width: 64px;
  height: 64px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

body:has(main.dim-ss-house-c > footer[data-name="Contact info"]) .dim-ss-house-c__back-top {
  right: auto !important;
  bottom: auto !important;
  left: calc(
    (100vw - min(100vw, var(--ssc-board-w))) / 2
    + var(--ssc-back-top-x) * min(100vw, var(--ssc-board-w)) / var(--ssc-board-w)
  ) !important;
  top: calc(
    var(--ssc-back-top-y) * min(100vw, var(--ssc-board-w)) / var(--ssc-board-w) + env(safe-area-inset-top, 0px)
  ) !important;
}

.dim-ss-house-c__back-top-icon {
  display: block;
  width: 26.667px;
  height: 26.667px;
}

.dim-ss-house-c__back-top-ring,
.dim-ss-house-c__back-top-path {
  stroke: var(--Main, #595656);
  stroke-width: 1px;
}

@media (max-width: 480px) {
  .dim-ss-house-c__footer-inner {
    padding: 0 20px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    row-gap: 4px;
  }

  .dim-ss-house-c__footer-col--mid,
  .dim-ss-house-c__footer-col--right {
    text-align: center;
  }
}
