.model-section.rental-intelligence {
  background: var(--bg);
}

.rental-intelligence .ri-inner {
  padding-top: clamp(70px, 8vw, 116px);
  padding-bottom: clamp(64px, 7vw, 96px);
}

.ri-intro {
  margin-bottom: clamp(38px, 5.5vw, 72px);
  text-align: center;
}

.ri-intro > .eyebrow,
.ri-module-heading > .eyebrow,
.ri-foundation-item > .eyebrow {
  color: #c7c7c7;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
}

.ri-intro h2 {
  margin-top: 15px;
  color: #f4f3f1;
  font-size: clamp(3rem, 6.6vw, 6.05rem);
  font-weight: 300;
  line-height: .99;
  letter-spacing: -.065em;
}

.ri-intro > p:last-child {
  margin-top: 14px;
  color: #b8b6b3;
  font-family: var(--display);
  font-size: clamp(1.12rem, 1.7vw, 1.5rem);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -.02em;
}

.ri-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 5.3%;
  row-gap: clamp(38px, 5vw, 64px);
}

.ri-module {
  position: relative;
  min-width: 0;
}

.ri-module:nth-child(even)::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -5.6%;
  width: 1px;
  background: #ffffff2b;
  content: "";
}

.ri-module:nth-child(n + 3) {
  padding-top: clamp(27px, 3.5vw, 44px);
  border-top: 1px solid #ffffff2b;
}

.ri-module-heading {
  min-height: 75px;
  margin-bottom: 13px;
}

.ri-module-heading h3 {
  margin-top: 8px;
  color: #f1f0ee;
  font-size: clamp(1.7rem, 2.7vw, 2.48rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.05em;
}

.ri-module-description {
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--display);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -.01em;
}

.ri-artwork {
  position: relative;
  margin: 0;
  background: transparent;
}

.ri-artwork > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
}

.ri-layer img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ri-label-caption {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 23px;
  margin-top: 12px;
  color: #c6c4c1;
  font-size: .78rem;
  line-height: 1.45;
}

.ri-art-labels > span {
  position: relative;
  padding-left: 10px;
}

.ri-art-labels > span::before {
  position: absolute;
  top: .53em;
  left: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #aaa7a2;
  content: "";
}

.ri-art-labels-three {
  column-gap: 17px;
}

.ri-comparison {
  overflow: visible;
  background: transparent;
  aspect-ratio: auto;
}

.ri-compare-canvas {
  position: relative;
  overflow: hidden;
  background: #171614;
  aspect-ratio: 3 / 2;
  isolation: isolate;
}

.ri-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ri-layer img {
  position: absolute;
  inset: 0;
}

.ri-layer-before {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--reveal)) 0 0);
}

.ri-layer-after {
  z-index: 1;
  clip-path: inset(0 0 0 var(--reveal));
}

.ri-image-label {
  position: absolute;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid #ffffff55;
  background: #11110fe8;
  color: #f1efeb;
  font-size: .72rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .025em;
  white-space: nowrap;
}

.ri-label-before {
  left: 15px;
  border: 0;
  background: transparent;
  color: #000;
}

.ri-label-after {
  right: 15px;
}

.ri-divider {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: var(--reveal);
  width: 1px;
  background: #f3f0eb;
  box-shadow: 0 0 0 1px #17161430;
  pointer-events: none;
}

.ri-handle {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: var(--reveal);
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px solid #f3f0eb;
  border-radius: 50%;
  background: #161614;
  color: #f5f3ee;
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.ri-handle span + span {
  margin-left: -3px;
}

.ri-range {
  position: absolute;
  z-index: 6;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  appearance: none;
  border: 0;
  background: transparent;
  cursor: ew-resize;
  touch-action: pan-y;
}

.ri-range::-webkit-slider-runnable-track {
  height: 100%;
  background: transparent;
}

.ri-range::-moz-range-track {
  height: 100%;
  background: transparent;
}

.ri-range::-webkit-slider-thumb {
  width: 48px;
  height: 48px;
  appearance: none;
  border: 0;
  border-radius: 50%;
  background: transparent;
}

.ri-range::-moz-range-thumb {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: transparent;
}

.ri-range:focus-visible {
  outline: 3px solid #f4f2ed;
  outline-offset: -5px;
}

.ri-slider-caption {
  justify-content: space-between;
  gap: 7px 16px;
  color: #aaa8a4;
  font-size: .75rem;
}

.ri-slider-caption span:first-child {
  color: #e0ded9;
}

.ri-reassurance {
  margin-top: 14px;
  color: #c4c1bc;
  font-family: var(--display);
  font-size: clamp(.95rem, 1.2vw, 1.08rem);
  font-weight: 300;
  line-height: 1.5;
}

.ri-foundation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: clamp(48px, 6vw, 79px);
  padding-top: 25px;
  border-top: 1px solid #ffffff35;
}

.ri-foundation-item {
  min-width: 0;
  padding-right: 7%;
}

.ri-foundation-item + .ri-foundation-item {
  padding-right: 0;
  padding-left: 7%;
  border-left: 1px solid #ffffff35;
}

.ri-foundation-item > p:last-child {
  margin-top: 6px;
  color: #d1cfcb;
  font-family: var(--display);
  font-size: clamp(1rem, 1.55vw, 1.28rem);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -.015em;
}

.ri-disclaimer {
  margin-top: 23px;
  color: #777572;
  font-size: .7rem;
  line-height: 1.4;
  text-align: right;
}

@media (max-width: 820px) {
  .rental-intelligence .ri-inner {
    padding-top: 68px;
  }

  .ri-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
  }

  .ri-module,
  .ri-module:nth-child(even),
  .ri-module:nth-child(n + 3) {
    padding: 27px 0 31px;
    border-top: 1px solid #ffffff2b;
    border-left: 0;
  }

  .ri-module-heading {
    min-height: 0;
    margin-bottom: 15px;
  }

  .ri-module-heading h3 {
    font-size: clamp(1.75rem, 5vw, 2.3rem);
  }

  .ri-art-labels {
    gap: 7px 18px;
    margin-top: 10px;
    font-size: .9375rem;
  }

  .ri-module:nth-child(even)::before {
    display: none;
  }

  .ri-foundation {
    margin-top: 32px;
  }
}

@media (max-width: 520px) {
  .rental-intelligence .ri-inner {
    padding-top: 60px;
    padding-bottom: 58px;
  }

  .ri-intro {
    margin-bottom: 35px;
  }

  .ri-intro h2 {
    font-size: clamp(2.8rem, 12vw, 4rem);
    line-height: 1;
  }

  .ri-intro > p:last-child {
    max-width: 24ch;
    margin-left: auto;
    margin-right: auto;
    margin-top: 11px;
    font-size: 1.13rem;
  }

  .ri-module,
  .ri-module:nth-child(even),
  .ri-module:nth-child(n + 3) {
    padding-top: 24px;
    padding-bottom: 27px;
  }

  .ri-image-label {
    bottom: 10px;
    min-height: 28px;
    padding: 4px 8px;
    font-size: .68rem;
  }

  .ri-label-before {
    left: 9px;
  }

  .ri-label-after {
    right: 9px;
  }

  .ri-handle {
    width: 46px;
    height: 46px;
  }

  .ri-slider-caption {
    font-size: .7rem;
  }

  .ri-foundation {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
    margin-top: 28px;
    padding-top: 22px;
  }

  .ri-foundation-item,
  .ri-foundation-item + .ri-foundation-item {
    padding: 0;
    border-left: 0;
  }

  .ri-disclaimer {
    margin-top: 21px;
    text-align: left;
  }
}
