html[data-local-page="home"] body section[data-framer-name="Image/Quote"] [data-plan-journey-quote-frame="true"] {
  background: #171719 !important;
  transform: none !important;
}

html[data-local-page="home"] body section[data-framer-name="Image/Quote"] .nw-before-after {
  --nw-reveal: 50%;
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: #171719;
  isolation: isolate;
  cursor: ew-resize;
  -webkit-user-select: none;
  user-select: none;
}

html[data-local-page="home"] body section[data-framer-name="Image/Quote"] .nw-before-after__panel {
  position: absolute;
  inset: 0;
  min-width: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}

html[data-local-page="home"] body section[data-framer-name="Image/Quote"] .nw-before-after__panel--before {
  z-index: 0;
}

html[data-local-page="home"] body section[data-framer-name="Image/Quote"] .nw-before-after__panel--after {
  z-index: 1;
  clip-path: inset(0 calc(100% - var(--nw-reveal)) 0 0);
  will-change: clip-path;
}

html[data-local-page="home"] body section[data-framer-name="Image/Quote"] .nw-before-after__panel::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(9, 10, 12, 0.18), transparent 34%, rgba(9, 10, 12, 0.08));
}

/* A shared 1300 × 720 scene keeps the registered roof positions identical
   across every aspect ratio. Only the reveal mask moves with the handle. */
html[data-local-page="home"] body section[data-framer-name="Image/Quote"] .nw-before-after__scene {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1300px;
  height: 720px;
  transform: translate(-50%, -50%) scale(var(--nw-scene-scale, 1));
  transform-origin: center;
}

html[data-local-page="home"] body section[data-framer-name="Image/Quote"] .nw-before-after__panel .nw-before-after__scene img {
  position: absolute;
  display: block;
  max-width: none !important;
  height: auto !important;
  object-fit: contain;
  object-position: center;
  transform: none !important;
}

html[data-local-page="home"] body section[data-framer-name="Image/Quote"] .nw-before-after__panel--before .nw-before-after__scene img {
  width: 1370.46px !important;
  left: -45px;
  top: -614px;
}

html[data-local-page="home"] body section[data-framer-name="Image/Quote"] .nw-before-after__panel--after .nw-before-after__scene img {
  width: 2000px !important;
  left: -400px;
  top: -260px;
}

html[data-local-page="home"] body section[data-framer-name="Image/Quote"] .nw-before-after__label {
  position: absolute;
  z-index: 2;
  top: clamp(18px, 2.4vw, 38px);
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 9px 14px 8px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: #fff;
  background: rgba(17, 17, 18, 0.76);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: var(--site-font-family, "Inter Variable", Inter, Arial, sans-serif);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

html[data-local-page="home"] body section[data-framer-name="Image/Quote"] .nw-before-after__panel--before .nw-before-after__label {
  left: clamp(18px, 2.4vw, 38px);
}

html[data-local-page="home"] body section[data-framer-name="Image/Quote"] .nw-before-after__panel--after .nw-before-after__label {
  right: clamp(18px, 2.4vw, 38px);
}

html[data-local-page="home"] body section[data-framer-name="Image/Quote"] .nw-before-after__handle {
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  left: var(--nw-reveal);
  width: 62px;
  padding: 0;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  transform: translateX(-50%);
  cursor: ew-resize;
  touch-action: none;
}

html[data-local-page="home"] body section[data-framer-name="Image/Quote"] .nw-before-after__handle::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  content: "";
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 0 1px rgba(17, 17, 18, 0.15), 0 0 22px rgba(17, 17, 18, 0.2);
  transform: translateX(-50%);
}

html[data-local-page="home"] body section[data-framer-name="Image/Quote"] .nw-before-after__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 52px;
  height: 52px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(20, 20, 22, 0.82);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transform: translate(-50%, -50%);
  transition: background-color 180ms ease, transform 180ms ease;
}

html[data-local-page="home"] body section[data-framer-name="Image/Quote"] .nw-before-after__knob::before,
html[data-local-page="home"] body section[data-framer-name="Image/Quote"] .nw-before-after__knob::after {
  display: block;
  font-size: 27px;
  font-weight: 300;
  line-height: 1;
}

html[data-local-page="home"] body section[data-framer-name="Image/Quote"] .nw-before-after__knob::before {
  content: "\2039";
}

html[data-local-page="home"] body section[data-framer-name="Image/Quote"] .nw-before-after__knob::after {
  content: "\203A";
}

html[data-local-page="home"] body section[data-framer-name="Image/Quote"] .nw-before-after__handle:hover .nw-before-after__knob,
html[data-local-page="home"] body section[data-framer-name="Image/Quote"] .nw-before-after.is-dragging .nw-before-after__knob {
  background: #92009b;
  transform: translate(-50%, -50%) scale(1.06);
}

html[data-local-page="home"] body section[data-framer-name="Image/Quote"] .nw-before-after__handle:focus-visible .nw-before-after__knob {
  outline: 3px solid #fff;
  outline-offset: 4px;
  background: #92009b;
}

html[data-local-page="home"] body section[data-framer-name="Image/Quote"] .nw-before-after__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 809.98px) {
  html[data-local-page="home"] body section[data-framer-name="Image/Quote"] .nw-before-after__label {
    top: 16px;
    min-height: 30px;
    padding: 8px 10px 7px;
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  html[data-local-page="home"] body section[data-framer-name="Image/Quote"] .nw-before-after__panel--before .nw-before-after__label {
    left: 12px;
  }

  html[data-local-page="home"] body section[data-framer-name="Image/Quote"] .nw-before-after__panel--after .nw-before-after__label {
    right: 12px;
  }

  html[data-local-page="home"] body section[data-framer-name="Image/Quote"] .nw-before-after__handle {
    width: 54px;
  }

  html[data-local-page="home"] body section[data-framer-name="Image/Quote"] .nw-before-after__knob {
    width: 46px;
    height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-local-page="home"] body section[data-framer-name="Image/Quote"] .nw-before-after__knob {
    transition: none;
  }
}
