/* Websites page only: before/after slider */
.ws-ba { position: relative; max-width: 1100px; margin: 0 auto; aspect-ratio: 16 / 10; border-radius: 28px; overflow: clip; background: #ddd; box-shadow: 0 40px 80px -40px rgba(11,43,32,.5); user-select: none; }
@media (max-width: 640px) { .ws-ba { aspect-ratio: 4 / 5; } }
.ws-site { position: absolute; inset: 0; display: flex; flex-direction: column; }
.ws-after { clip-path: inset(0 0 0 var(--x)); }
.ws-bar { height: 36px; flex: none; display: flex; align-items: center; gap: 6px; padding: 0 14px; background: #f1f1f1; border-bottom: 1px solid #e2e2e2; }
.ws-bar i { width: 10px; height: 10px; border-radius: 99px; background: #d0d0d0; }
.ws-bar span { margin-left: 10px; font-size: 12px; color: #555; background: #fff; border-radius: 6px; padding: 3px 10px; }

/* "before": dated, cluttered */
.ws-old { flex: 1; background: #e9e4d4; padding: 14px; display: flex; flex-direction: column; gap: 10px; font-family: "Times New Roman", serif; color: #333; }
.ws-old-nav { background: #23408e; color: #fff; font-size: 11px; padding: 8px; text-align: center; letter-spacing: .05em; }
.ws-old-banner { background: repeating-linear-gradient(45deg, #b33, #b33 10px, #c44 10px, #c44 20px); color: #ff0; font-weight: 700; text-align: center; padding: 26px 8px; font-size: clamp(14px, 2.6vw, 26px); }
.ws-old-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ws-old-cols p { margin: 0; height: 34px; background: repeating-linear-gradient(180deg, #8e8a7c 0 3px, transparent 3px 9px); opacity: .55; }
.ws-old-foot { margin-top: auto; color: #00e; text-decoration: underline; font-size: 13px; }

/* "after": modern, photo-led */
.ws-new { position: relative; flex: 1; background-size: cover; background-position: center; display: flex; flex-direction: column; justify-content: space-between; padding: 18px 22px 26px; color: #fff; }
.ws-new::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.72)); }
.ws-new > * { position: relative; }
.ws-new-nav { display: flex; justify-content: space-between; align-items: center; }
.ws-new-nav b { width: 90px; height: 14px; border-radius: 4px; background: #fff; }
.ws-new-nav span { padding: 6px 12px; border-radius: 99px; background: #FFD60A; color: #111; font: 700 12px var(--sans); }
.ws-new-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; max-width: 520px; }
.ws-new-chip { font: 600 12px var(--sans); background: rgba(255,255,255,.18); padding: 5px 10px; border-radius: 99px; backdrop-filter: blur(6px); }
.ws-new-copy strong { font: 800 clamp(26px, 5vw, 56px)/.95 var(--display); font-stretch: 80%; letter-spacing: -.03em; }
.ws-new-btn { padding: 10px 18px; border-radius: 10px; background: #FFD60A; color: #111; font: 700 14px var(--sans); }

.ws-handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; }
.ws-handle svg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; padding: 11px; border-radius: 99px; background: var(--lime); color: var(--ink); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.ws-lbl { position: absolute; bottom: 14px; padding: 5px 12px; border-radius: 99px; background: rgba(11,43,32,.85); color: #fff; font: 700 12px var(--sans); pointer-events: none; }
.ws-lbl.l { left: 14px; } .ws-lbl.r { right: 14px; background: var(--lime); color: var(--ink); }
.ws-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ws-range:focus-visible + * , .ws-ba:focus-within .ws-handle svg { outline: 3px solid var(--lime-2); outline-offset: 3px; }
.ws-note { text-align: center; margin-top: 14px; font-size: 13px; color: var(--sage); }

.ws-link { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; color: var(--forest); }
.ws-pair { background: var(--ink); color: #fff; }
.ws-pair:hover { background: var(--ink-2); }
.ws-pair small, .ws-pair p { color: rgba(255,255,255,.8); }
.ws-pair .pg-ap { color: var(--lime); }

/* mock 'new site' panel: brand gradient instead of a photo */
.ws-new { background: radial-gradient(80% 80% at 90% 10%, rgba(171,255,68,.25), transparent 60%), linear-gradient(160deg, #1c4d38, #0b2b20); }
.ws-new::before { background: none; }
