.transformation-section {background:#f1ebe2;border-top:1px solid var(--line)}
.transformation-heading {display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:32px}
.transformation-heading .eyebrow {margin-bottom:14px}
.transformation-heading h2 {font-size:clamp(36px,3.8vw,54px)}
.transformation-heading>p {max-width:260px;font-size:12px;line-height:1.8;color:var(--muted)}
.transformation-grid {display:grid;grid-template-columns:minmax(0,2.828685fr) minmax(0,1fr);gap:24px;align-items:start}
.transformation-grid>figure {min-width:0}
.comparison-stage {position:relative;aspect-ratio:1680/1055;overflow:hidden;border-radius:24px;isolation:isolate;background:#aaa191}
.comparison-stage img {position:absolute;inset:0;width:100%;height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none;pointer-events:none}
.comparison-after {clip-path:inset(0 0 0 var(--split))}
.comparison-divider {position:absolute;left:var(--split);top:0;bottom:0;width:2px;transform:translateX(-50%);background:#fffdfa;pointer-events:none;box-shadow:0 0 5px #24221f30}
.comparison-handle {position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:46px;height:46px;border:1px solid #fffdfac9;border-radius:50%;background:#3d352a44;backdrop-filter:blur(4px);color:#fffdfa}
.comparison-handle svg {width:30px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.comparison-slider {position:absolute;inset:0;z-index:2;display:block;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize;touch-action:none;appearance:none;-webkit-appearance:none}
.comparison-slider::-webkit-slider-thumb {appearance:none;-webkit-appearance:none;width:0;height:100%}
.comparison-slider::-moz-range-thumb {width:0;height:100%;border:0}
.comparison-stage:focus-within {outline:3px solid var(--gold-dark);outline-offset:5px}
.transformation-video-frame {aspect-ratio:608/1080;border-radius:24px;isolation:isolate}
.transformation-video-frame video {display:block;width:100%;height:100%;object-fit:contain}
.transformation-grid figcaption {padding-top:15px;font:25px/1.2 var(--serif);letter-spacing:-.3px}
.transformation-grid figcaption>span {display:block;margin-bottom:6px;font:8px/1.7 var(--sans);letter-spacing:1.4px;color:var(--gold-dark)}
@media(max-width:850px) {
 .transformation-grid {gap:18px}
 .comparison-stage,.transformation-video-frame {border-radius:18px}
 .transformation-heading>p {max-width:230px}
 .transformation-grid figcaption {font-size:23px}
}
@media(max-width:600px) {
 .transformation-heading {display:block;margin-bottom:25px}
 .transformation-heading h2 {font-size:39px}
 .transformation-heading>p {margin-top:17px;max-width:290px}
 .transformation-grid {grid-template-columns:minmax(0,1fr);gap:30px}
 .transformation-video {width:min(100%,320px);justify-self:center}
 .comparison-handle {width:38px;height:38px}
 .comparison-handle svg {width:26px}
 .transformation-grid figcaption {font-size:25px}
}
/* Explicit pointer handling avoids native invisible-range thumb differences on mobile. */
.comparison-stage,.comparison-slider {touch-action:none}
.comparison-slider {padding:0;border:0;min-height:0}
.comparison-divider {z-index:3}
.comparison-stage .comparison-handle {display:flex;width:64px;height:48px;background:#493a2de6;pointer-events:auto;overflow:hidden}
.comparison-handle button {display:grid;place-items:center;width:32px;height:48px;padding:0;border:0;color:#fff;background:transparent;font-size:25px;line-height:1;touch-action:none;cursor:ew-resize}
.comparison-handle button:focus-visible {outline:2px solid white;outline-offset:-4px}
.comparison-handle button:hover {background:#ffffff22}

/* A gesture begun on the comparison belongs to it, even with vertical finger drift. */
.comparison-stage {user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
