:root {
 --wo-reviews-top-space: clamp(116px, 18svh, 184px);
 --wo-reviews-heading-size: var(--wo-type-banner);
 --wo-reviews-heading-leading: .98;
 --wo-reviews-heading-gap: clamp(28px, 5vw, 54px);
 --wo-reviews-map-depth: calc(var(--wo-reviews-top-space) + var(--wo-reviews-heading-size) * var(--wo-reviews-heading-leading) + var(--wo-reviews-heading-gap));
}

.wo-reviews {
 --wo-review-divider-height: clamp(104px, 14vw, 200px);
 --wo-review-divider-travel: 0px;
 --wo-review-columns: calc(var(--grid-columns) - 2);
 --wo-review-photo-span: 7;
 --wo-review-quote-start: 8;
 --wo-review-parallax-travel: calc(var(--wo-review-entry, 0) * clamp(56px, 8vw, 120px));
 position: relative;
 z-index: 2;
 display: grid;
 grid-template-columns: var(--wo-grid-tracks);
 column-gap: var(--grid-gap);
 width: 100%;
 box-sizing: border-box;
 /* Preserve the approved clearance above the anchored ridge. */
 padding-block: var(--wo-reviews-top-space) calc(var(--wo-review-divider-height) + var(--wo-review-divider-travel) + clamp(56px, 8svh, 88px));
 padding-inline: var(--wo-grid-inset);
 scroll-margin-top: 68px;
 color: var(--wo-text);
 background: var(--wo-chapter-deep);
}

.wo-team-section + .wo-reviews {
 background: linear-gradient(to bottom, transparent var(--wo-reviews-map-depth), var(--wo-chapter-deep) var(--wo-reviews-map-depth));
}

.wo-review-divider {
 position: absolute;
 inset: auto 0 calc(var(--wo-review-divider-travel) - 1px);
 display: block;
 width: 100%;
 height: var(--wo-review-divider-height);
 fill: none;
 pointer-events: none;
}

.wo-review-divider-fill { fill: var(--wo-plans-background); }

/* Join the fixed silhouette to the next chapter with the same settled overlap. */
.wo-reviews::after {
 content: '';
 position: absolute;
 inset: auto 0 -1px;
 z-index: 0;
 height: calc(var(--wo-review-divider-travel) + 2px);
 background: var(--wo-plans-background);
 pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
 .wo-reviews { --wo-review-divider-travel: clamp(64px, 9vw, 128px); }
}

/* Keep the plans section below the divider. */
#main .wo-reviews + .framer-1w87vuw-container { margin-top: 0 !important; }

/* Match the feature cards' inner grid, including the heading and controls. */
.wo-reviews-heading, .wo-reviews-wrap { grid-column: 2 / -2; min-width: 0; }
.wo-reviews-heading { margin-bottom: var(--wo-reviews-heading-gap); }
.wo-reviews h2 {
 margin: 0;
 font-size: var(--wo-reviews-heading-size);
 font-weight: 500;
 line-height: var(--wo-reviews-heading-leading);
 letter-spacing: -.055em;
}

.wo-reviews-carousel {
 --wo-review-inset: 5px;
 --wo-review-copy-inset: 12px;
 --wo-review-controls-inset: 28px;
 --wo-review-photo-foot: calc(var(--wo-type-small) * 1.4 + 26px);
 position: relative;
 overflow: hidden;
 padding: var(--wo-review-inset);
 border-radius: var(--wo-radius-card);
 background: var(--wo-paper);
 color: var(--wo-ink);
 box-shadow: 0 12px 40px rgb(14 28 39 / .11);
 transform-origin: center center;
}

@media (prefers-reduced-motion: no-preference) {
 .wo-reviews-carousel[data-review-entrance="pending"] { opacity: 0; transform: scale(.985); pointer-events: none; }
 .wo-reviews-heading, .wo-reviews-wrap { translate: 0 calc(var(--wo-review-parallax-travel) * -1); }
}
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
 .wo-reviews-carousel[data-review-entrance="pending"] { transform: none; opacity: 1; pointer-events: auto; }
}
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
 .wo-reviews { --wo-review-divider-travel: 24px; }
 .wo-reviews-heading, .wo-reviews-wrap { translate: none; }
}

/* The complete dark chapter owns depth; the title/card stay on its surface. */
.wo-dark-chapter :is(.wo-reviews-heading, .wo-reviews-wrap) { translate: none; pointer-events: auto; }
.wo-dark-chapter .wo-reviews {
 /* Paint only the navy side of the exit. The transparent part of the ridge
    exposes the real plans below, rather than covering their title in grey. */
 background: linear-gradient(to bottom,
  transparent var(--wo-reviews-map-depth),
  var(--wo-chapter-deep) var(--wo-reviews-map-depth),
  var(--wo-chapter-deep) calc(100% - var(--wo-review-divider-height) - var(--wo-review-divider-travel) + 2px),
  transparent calc(100% - var(--wo-review-divider-height) - var(--wo-review-divider-travel) + 2px));
}
.wo-dark-chapter .wo-reviews::after { background: transparent; }
.wo-dark-chapter .wo-review-divider { overflow: hidden; }
.wo-dark-chapter .wo-review-divider-fill { fill: var(--wo-chapter-deep); }

.wo-reviews-footer {
 position: absolute;
 z-index: 2;
 inset: auto var(--wo-review-inset) 24px;
 display: grid;
 grid-template-columns: repeat(var(--wo-review-columns), minmax(0, 1fr));
 column-gap: var(--grid-gap);
}

.wo-reviews-stage, .wo-reviews-slides { display: grid; }
.wo-reviews-slides, .wo-review-slide { grid-area: 1 / 1; min-width: 0; }
.wo-reviews-controls {
 grid-column: var(--wo-review-quote-start) / -1;
 display: grid;
 grid-template-columns: minmax(32px, 1fr) 44px 44px;
 align-items: center;
 gap: 8px;
 padding-inline: var(--wo-review-copy-inset) calc(var(--wo-review-controls-inset) - var(--wo-review-inset));
}
.wo-reviews-controls[hidden], .wo-review-timer[hidden] { display: none; }
.wo-reviews-controls button {
 display: grid;
 place-items: center;
 width: 44px;
 height: 44px;
 padding: 0;
 border: 0;
 border-radius: var(--wo-radius-button);
 background: rgb(14 28 39 / .05);
 color: var(--wo-ink);
 cursor: pointer;
 transition: background var(--motion-feedback-enter);
}
.wo-reviews-controls button:hover { background: rgb(14 28 39 / .12); }
.wo-reviews-controls button[data-review-step="-1"] { grid-column: 2; }
.wo-reviews-controls button[data-review-step="1"] { grid-column: 3; background: var(--wo-ink); color: var(--wo-text); }
.wo-reviews-controls button[data-review-step="1"]:hover { background: var(--wo-surface); }
.wo-reviews-controls button:focus-visible { outline: 2px solid var(--wo-ink); outline-offset: 3px; }
.wo-reviews-controls button svg {
 width: 18px;
 height: 18px;
 fill: none;
 stroke: currentColor;
 stroke-width: 1.65;
 stroke-linecap: round;
 stroke-linejoin: round;
}
.wo-review-timer { grid-column: 1; justify-self: start; display: grid; place-items: center; width: 32px; height: 44px; }
.wo-review-timer svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 3; transform: rotate(-90deg); }
.wo-review-timer-track { stroke: var(--wo-line); }
.wo-review-timer-progress { stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: round; }
.wo-review-timer { transition: opacity 140ms ease; }
.wo-reviews-carousel[data-review-swapping] .wo-review-timer { opacity: .4; }
@media (prefers-reduced-motion: reduce) { .wo-review-timer { transition: none; } }

.wo-review-slide {
 display: grid;
 grid-template-columns: repeat(var(--wo-review-columns), minmax(0, 1fr));
 align-items: stretch;
 align-content: stretch;
 column-gap: var(--grid-gap);
 visibility: hidden;
}
.wo-review-slide[data-current] { visibility: visible; }
.wo-review-slide[data-review-outgoing] {
 visibility: visible;
 z-index: 1;
 background: var(--wo-paper);
 pointer-events: none;
}
.wo-review-copy {
 display: flex;
 flex-direction: column;
 justify-content: center;
 min-width: 0;
 grid-column: var(--wo-review-quote-start) / -1;
 grid-row: 1;
 padding: 24px 28px 100px var(--wo-review-copy-inset);
}
.wo-review-copy blockquote {
 position: relative;
 margin: 0;
 font-size: var(--wo-type-card);
 font-weight: 400;
 line-height: 1.3;
 letter-spacing: -.025em;
}
.wo-review-copy blockquote p { margin: 0; }
.wo-review-by {
 margin-top: 32px;
 font-size: var(--wo-type-small);
 line-height: 1.4;
}
.wo-review-by strong, .wo-review-by small { display: block; }
.wo-review-by strong { font-size: var(--wo-type-body); font-weight: 600; }
.wo-review-by small { margin-top: 4px; color: var(--wo-muted-light); font-size: var(--wo-type-small); }

.wo-review-photos {
 --wo-review-photo-scale: 1.22;
 grid-column: 1 / span var(--wo-review-photo-span);
 grid-row: 1;
 display: grid;
 grid-template-columns: repeat(2, minmax(0, 1fr));
 gap: var(--wo-review-inset);
 color: var(--wo-text);
}
.wo-review-photos figure {
 position: relative;
 isolation: isolate;
 margin: 0;
 overflow: hidden;
 box-sizing: content-box;
 aspect-ratio: 4 / 5;
 padding-bottom: var(--wo-review-photo-foot);
 min-width: 0;
 border-radius: calc(var(--wo-radius-card) - var(--wo-review-inset));
 clip-path: inset(0 round calc(var(--wo-radius-card) - var(--wo-review-inset)));
 background: color-mix(in srgb, var(--wo-bg) 76%, var(--wo-surface));
 box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06);
}
.wo-review-photos figure::after {
 content: '';
 position: absolute;
 inset: 0 0 auto;
 height: clamp(40px, 20%, 112px);
 z-index: 1;
 background: linear-gradient(to bottom, rgb(14 28 39 / .12), transparent);
 pointer-events: none;
}
/* Blur a copy of the photo itself once, rather than re-sampling the moving
   chapter through four live backdrop filters on every scroll frame. */
.wo-review-photos .wo-review-photo-softness {
 position: absolute;
 inset: 0;
 display: block;
 filter: blur(4px);
 -webkit-mask-image: linear-gradient(#000, transparent 22%, transparent 72%, #000);
 mask-image: linear-gradient(#000, transparent 22%, transparent 72%, #000);
 pointer-events: none;
}
.wo-review-photos img {
 position: absolute;
 inset: 0 0 auto;
 display: block;
 width: 100%;
 /* Use the existing zoom's spare pixels without resizing the comparison
    photos as the drift surface gains its protective top/bottom margin. */
 height: calc(100% - 2 * var(--wo-photo-cover, 0px));
 min-height: 0;
 aspect-ratio: auto;
 object-fit: contain;
 object-position: center top;
 transform: scale(var(--wo-review-photo-scale));
 transform-origin: center top;
}
.wo-review-photos figcaption {
 position: absolute;
 inset: auto 0 0;
 z-index: 2;
 margin: 0;
 padding: 12px 20px 14px;
 border: 0;
 border-radius: 0;
 background: transparent;
 color: var(--wo-text);
 font-size: var(--wo-type-small);
 font-weight: 400;
 line-height: 1.4;
 text-align: center;
}
.wo-review-photos figcaption::before {
 content: '';
 position: absolute;
 inset: -40px 0 0;
 z-index: -1;
 background: linear-gradient(transparent, rgb(14 28 39 / .4));
 pointer-events: none;
}
.wo-review-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

@media (max-width: 1100px) {
 .wo-reviews { --wo-review-photo-span: 4; --wo-review-quote-start: 5; }
 .wo-reviews-carousel { --wo-review-copy-inset: 4px; }
 .wo-review-copy { padding-inline: var(--wo-review-copy-inset) 20px; }
 .wo-review-copy blockquote { font-size: var(--wo-type-card-small); }
}

@media (max-width: 809px) {
 .wo-reviews-carousel { --wo-review-copy-inset: 23px; }
 .wo-review-slide { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 0; }
 .wo-review-copy { grid-column: 1; grid-row: 2; padding: 24px var(--wo-review-copy-inset) 96px; }
 .wo-review-photos { grid-column: 1; grid-row: 1; width: 100%; }
 .wo-review-photos img { transform: scale(1.27); }
 .wo-review-copy blockquote { font-size: var(--wo-type-card-small); line-height: 1.4; }
 .wo-review-by { margin-top: 24px; }
 .wo-reviews-footer { grid-template-columns: minmax(0, 1fr); }
 .wo-reviews-controls { grid-column: 1; gap: 4px; }
}

@media (max-width: 767px) {
 .wo-reviews-heading, .wo-reviews-wrap { grid-column: 1 / -1; }
}

@media (max-width: 359px) {
 .wo-reviews-carousel { --wo-review-copy-inset: 19px; --wo-review-controls-inset: 24px; --wo-review-photo-foot: calc(var(--wo-type-small) * 1.4 + 24px); }
 .wo-review-copy { padding-inline: var(--wo-review-copy-inset); }
 .wo-review-photos figcaption { padding: 12px 14px; }
}
