.jj-value-intro-dek,
.jj-faq-intro-dek {
  margin: 1em 0 0;
  max-width: 28em;
  line-height: 1.65;
}

/* Spacious homepage layout — /home-value-preview/ only
   Grid placement: jj-site.css + jj-home-value-preview.css + jj-home-sxo-preview.css
   (same main-grid as testimonials, FAQ, hero — do not override grid-column here) */

/* Value section — no top border; optional sticky intro in left column only */
.jj-home-spacious-preview .jj-value-wte.jj-wte-inner:not(.jj-value-wte--dark) {
  border-top: none !important;
}

@media screen and (min-width: 992px) {
  /* Webflow .page-wrapper { overflow: hidden } breaks position: sticky (same fix as blog) */
  .jj-home-spacious-preview .page-wrapper:has(.jj-value-wte:not(.jj-value-wte--dark)) {
    overflow: visible !important;
  }

  .jj-home-spacious-preview .section:has(.jj-value-wte:not(.jj-value-wte--dark)),
  .jj-home-spacious-preview div:has(> .container.home.w-container > .jj-value-wte:not(.jj-value-wte--dark)),
  .jj-home-spacious-preview .container.home.w-container:has(.jj-value-wte:not(.jj-value-wte--dark)) {
    overflow: visible !important;
  }

  .jj-home-spacious-preview .jj-value-wte.jj-wte-inner:not(.jj-value-wte--dark) {
    overflow: visible;
    align-items: start;
  }

  .jj-home-spacious-preview .jj-value-wte.jj-wte-inner:not(.jj-value-wte--dark) .jj-value-wte-intro {
    position: sticky;
    top: 7em;
    z-index: 2;
    align-self: start;
    height: max-content;
  }
}

/* Spacious rows live inside .jj-section-right (cols 3–5) — internal layout only */
.jj-home-spacious-preview .jj-spacious-rows {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.jj-home-spacious-preview .jj-spacious-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
  padding: clamp(2rem, 3.5vw, 3.25rem) 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.jj-home-spacious-preview .jj-spacious-row:first-child {
  border-top: none;
  padding-top: 0;
}

.jj-home-spacious-preview .jj-spacious-row__tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin: 0 0 0.65em;
}

.jj-home-spacious-preview .jj-spacious-row__title {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: #131417;
  max-width: 11em;
}

.jj-home-spacious-preview .jj-spacious-row__body {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.72;
  color: rgba(0, 0, 0, 0.58);
  max-width: 36em;
}

/* Testimonials — compact focus switcher (main-grid: intro cols 1–2, stage cols 3–5) */
.jj-home-spacious-preview .container.home.w-container:has(.jj-testi-focus) {
  padding-bottom: 0 !important;
}

.jj-home-spacious-preview .jj-testi-focus.jj-testi-inner {
  padding-top: clamp(4.25rem, 7.5vw, 6rem) !important;
  padding-bottom: clamp(4.25rem, 7.5vw, 6rem) !important;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  align-items: center;
  margin-bottom: 0 !important;
}

.jj-home-spacious-preview .jj-testi-focus .jj-testi-intro {
  grid-column: 1 / 3;
  align-self: center;
  min-width: 0;
}

.jj-home-spacious-preview .jj-testi-focus .jj-section-right {
  display: block !important;
  align-self: center;
  min-width: 0;
}

.jj-home-spacious-preview .jj-testi-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.35em;
  margin-top: 1.75em;
  width: 100%;
  max-width: 16em;
}

.jj-home-spacious-preview .jj-testi-tab {
  display: flex;
  align-items: center;
  gap: 0.75em;
  width: 100%;
  margin: 0;
  padding: 0.65em 0.75em;
  border: none;
  border-radius: 0.35em;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: rgba(19, 20, 23, 0.45);
  transition:
    color 0.25s ease,
    background-color 0.25s ease;
}

.jj-home-spacious-preview .jj-testi-tab:hover {
  color: rgba(19, 20, 23, 0.72);
  background: rgba(0, 0, 0, 0.03);
}

.jj-home-spacious-preview .jj-testi-tab.is-active {
  color: #131417;
  background: rgba(0, 0, 0, 0.05);
}

.jj-home-spacious-preview .jj-testi-tab:focus-visible {
  outline: 2px solid rgba(19, 20, 23, 0.35);
  outline-offset: 2px;
}

.jj-home-spacious-preview .jj-testi-tab__logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  min-height: 2.5em;
  padding: 0.5em 1em;
  /* border: 1px solid rgba(19, 20, 23, 0.2); */
  border-radius: 99px;
  /* background: #fff; */
  box-sizing: border-box;
}

.jj-home-spacious-preview .jj-testi-tab__logo img {
  height: 1rem;
  width: auto;
  max-width: 5.75rem;
  display: block;
  filter: brightness(0);
  opacity: 0.85;
}

.jj-home-spacious-preview .jj-testi-tab.is-active .jj-testi-tab__logo img {
  opacity: 1;
}

.jj-home-spacious-preview .jj-testi-tab__text {
  display: flex;
  flex-direction: column;
  gap: 0.15em;
  min-width: 0;
}

.jj-home-spacious-preview .jj-testi-tab__name {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
}

.jj-home-spacious-preview .jj-testi-tab__org {
  font-size: 0.72rem;
  line-height: 1.35;
  color: rgba(0, 0, 0, 0.45);
}

.jj-home-spacious-preview .jj-testi-tab.is-active .jj-testi-tab__org {
  color: rgba(0, 0, 0, 0.55);
}

.jj-home-spacious-preview .jj-testi-progress {
  margin-top: 1.25em;
  width: 100%;
  max-width: 16em;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.jj-home-spacious-preview .jj-testi-progress__fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--jj-blue, #3035a2);
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.jj-home-spacious-preview .jj-testi-stage {
  position: relative;
  width: 100%;
  min-width: 0;
}

.jj-home-spacious-preview .jj-testi-panel {
  margin: 0;
  width: 100%;
  max-width: 40em;
}

/* Only the active panel is in flow — others overlay same top-left (true slider) */
.jj-home-spacious-preview .jj-testi-focus--motion .jj-testi-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.jj-home-spacious-preview .jj-testi-focus--motion .jj-testi-panel.is-active {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.jj-home-spacious-preview .jj-testi-focus:not(.jj-testi-focus--motion) .jj-testi-panel:not(.is-active) {
  display: none;
}

.jj-home-spacious-preview .jj-testi-panel .jj-testi-quote {
  margin: 0 0 1.65em;
  padding: 0;
  border: none;
  font-size: clamp(1rem, 1.45vw, 1.125rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: #131417;
}

.jj-home-spacious-preview .jj-testi-panel .jj-testi-quote::before {
  content: "\201C";
  display: block;
  margin-bottom: 0.35em;
  font-size: 1.75rem;
  line-height: 1;
  color: rgba(19, 20, 23, 0.18);
  font-weight: 400;
}

.jj-home-spacious-preview .jj-testi-panel__foot {
  margin: 0;
  padding-top: 1.35em;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.jj-home-spacious-preview .jj-testi-panel .jj-testi-name {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #131417;
}

.jj-home-spacious-preview .jj-testi-panel .jj-testi-role {
  display: block;
  margin-top: 0.4em;
  font-size: 0.78rem;
  color: rgba(0, 0, 0, 0.5);
}

@media screen and (max-width: 991px) {
  .jj-home-spacious-preview .jj-testi-focus.jj-testi-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start;
    padding-top: clamp(3.5rem, 7vw, 5rem) !important;
    padding-bottom: clamp(3.5rem, 7vw, 5rem) !important;
  }

  .jj-home-spacious-preview .jj-testi-focus .jj-testi-intro,
  .jj-home-spacious-preview .jj-testi-focus .jj-section-right {
    grid-column: 1 / -1 !important;
    grid-area: auto !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    align-self: stretch;
  }

  .jj-home-spacious-preview .jj-testi-focus .jj-testi-intro {
    margin-bottom: 0;
  }

  .jj-home-spacious-preview .jj-testi-focus .jj-section-right {
    margin-top: 1.25em;
  }

  .jj-home-spacious-preview .jj-testi-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5em;
    width: 100%;
    max-width: 100%;
    margin-top: 1.25em;
    overflow: visible;
  }

  .jj-home-spacious-preview .jj-testi-tab {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1.55em;
    width: 100%;
    min-width: 0;
    padding: 1.85em 1.45em;
    text-align: center;
  }

  .jj-home-spacious-preview .jj-testi-tab__logo {
    min-height: 2.65em;
    padding: 0.55em 1.05em;
  }

  .jj-home-spacious-preview .jj-testi-tab__logo img {
    height: 1.1rem;
    max-width: 5.5rem;
  }

  .jj-home-spacious-preview .jj-testi-tab__text {
    align-items: center;
    min-width: 0;
    width: 100%;
  }

  .jj-home-spacious-preview .jj-testi-tab__name,
  .jj-home-spacious-preview .jj-testi-tab__org {
    overflow: visible;
    text-overflow: unset;
    white-space: normal;
    line-height: 1.3;
  }

  .jj-home-spacious-preview .jj-testi-tab__name {
    font-size: 0.75rem;
  }

  .jj-home-spacious-preview .jj-testi-tab__org {
    font-size: 0.68rem;
  }

  .jj-home-spacious-preview .jj-testi-progress {
    max-width: none;
    width: 100%;
    margin-top: 1em;
  }

  .jj-home-spacious-preview .jj-testi-stage {
    width: 100%;
    min-width: 0;
    padding-top: 1.25em;
  }

  .jj-home-spacious-preview .jj-testi-panel {
    max-width: 100%;
  }

  .jj-home-spacious-preview .jj-testi-panel .jj-testi-quote {
    max-width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .jj-home-spacious-preview .jj-testi-focus.jj-testi-inner {
    margin-top: 0 !important;
  }
}

/* Who it's for — dark rows only; grid from jj-home-sxo-preview.css */
.jj-home-spacious-preview .jj-sxo-best-fit-slot .jj-spacious-rows--dark .jj-spacious-row {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.jj-home-spacious-preview .jj-sxo-best-fit-slot .jj-spacious-rows--dark .jj-spacious-row:first-child {
  border-top: none;
  padding-top: 0;
}

.jj-home-spacious-preview .jj-sxo-best-fit-slot .jj-spacious-row__tag {
  display: none;
}

.jj-home-spacious-preview .jj-sxo-best-fit-slot .jj-spacious-rows--dark .jj-spacious-row__title {
  color: #fff;
  font-weight: 500;
  max-width: 8.75em;
  line-height: 1.28;
}

.jj-home-spacious-preview .jj-sxo-best-fit-slot .jj-spacious-rows--dark .jj-spacious-row__body {
  color: rgba(255, 255, 255, 0.62);
}

.jj-home-spacious-preview .jj-sxo-best-fit-slot .jj-sxo-band__footnote {
  margin-top: clamp(2rem, 3vw, 2.75rem);
}

/* FAQ — match value section (no top rule) */
.jj-home-spacious-preview .jj-faq-inner {
  border-top: none !important;
}

@media screen and (max-width: 991px) {
  .jj-home-spacious-preview .jj-spacious-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .jj-home-spacious-preview .jj-value-wte.jj-wte-inner:not(.jj-value-wte--dark) .jj-value-wte-intro {
    position: static;
  }
}
