/* ================= Direction landings: websites for projects (onekey.co.il/websites/) — desktop first ================= */

/* status: free, reserved, sold */
.ws-dots { display: inline-flex; gap: 3px; }
.ws-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.ws-dots i.is-r { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.ws-dots i.is-s { background: currentColor; opacity: .28; }

/* ---------- the building ---------- */
.wsb { display: block; overflow: visible; }
.wsb-face { fill: var(--white); stroke: var(--green); stroke-width: 1.5; stroke-linejoin: round; transition: fill .3s; }
.wsb-face.is-side { fill: var(--green-100); }
.wsb-win { fill: var(--green-200); transition: fill .3s; }
.wsb-balc { fill: none; stroke: var(--green); stroke-width: 1.5; }
.wsb-door { fill: var(--green); }
.wsb-roof { fill: var(--white); stroke: var(--green); stroke-width: 1.5; stroke-linejoin: round; }
.wsb-ground { stroke: var(--green); stroke-width: 1.5; }
.wsb-n { font-size: 11px; fill: var(--ink-muted); }
.wsb-f.is-on .wsb-face, .wsb-f.is-hit .wsb-face { fill: var(--lime); }
.wsb-f.is-on .wsb-face.is-side, .wsb-f.is-hit .wsb-face.is-side { fill: #a4e24c; }
.wsb-f.is-on .wsb-win, .wsb-f.is-hit .wsb-win { fill: var(--green); }
.wsb.is-dark .wsb-face { fill: #113f3a; stroke: rgba(255, 255, 255, .5); }
.wsb.is-dark .wsb-face.is-side { fill: #0d3430; }
.wsb.is-dark .wsb-win { fill: rgba(255, 255, 255, .2); }
.wsb.is-dark .wsb-balc { stroke: rgba(255, 255, 255, .5); }
.wsb.is-dark .wsb-door { fill: rgba(255, 255, 255, .3); }
.wsb.is-dark .wsb-roof { fill: #164d47; stroke: rgba(255, 255, 255, .5); }
.wsb.is-dark .wsb-ground { stroke: rgba(255, 255, 255, .35); }
.wsb.is-dark .wsb-n { fill: rgba(255, 255, 255, .65); }
.wsb.is-dark .wsb-f.is-on .wsb-face, .wsb.is-dark .wsb-f.is-hit .wsb-face { fill: var(--lime); stroke: var(--lime); }
.wsb.is-dark .wsb-f.is-on .wsb-face.is-side, .wsb.is-dark .wsb-f.is-hit .wsb-face.is-side { fill: #9bd947; stroke: #9bd947; }
.wsb.is-dark .wsb-f.is-on .wsb-win, .wsb.is-dark .wsb-f.is-hit .wsb-win { fill: var(--green-900); }
.wsb.is-dark .wsb-f.is-on .wsb-balc, .wsb.is-dark .wsb-f.is-hit .wsb-balc { stroke: var(--green-900); }
.wsb.is-dark .wsb-f.is-on .wsb-n, .wsb.is-dark .wsb-f.is-hit .wsb-n { fill: var(--lime); }

/* ---------- the floor plan ---------- */
.wsk { display: block; width: 100%; height: auto; overflow: visible; }
.wsk-h0 { fill: var(--white); }
.wsk-h1 { fill: var(--green-200); }
.wsk-sea path { fill: none; stroke: var(--green-200); stroke-width: 1.5; }
.wsk-sea text, .wsk-n text { font-size: 11px; fill: var(--ink-muted); }
.wsk-n path { fill: none; stroke: var(--black); stroke-width: 1.5; }
.wsk-p { fill: var(--lime); stroke: var(--green); stroke-width: 1.5; stroke-linejoin: round; transition: fill .4s var(--okx-ease); }
.wsk-b { fill: none; stroke: var(--green); stroke-width: 1; stroke-dasharray: 3 3; }
.wsk-t { font-family: var(--font-display); font-size: 24px; fill: var(--black); transition: fill .4s; }
.wsk-s { font-size: 11px; fill: var(--black); transition: fill .4s; }
.wsk-a.is-s .wsk-p { fill: var(--gray-200); }
.wsk-a.is-s .wsk-t, .wsk-a.is-s .wsk-s { fill: var(--gray-600); }
.wsk-a.is-btn { cursor: pointer; }
.wsk-a.is-btn:hover .wsk-p { stroke-width: 3.5; }
.wsk-a.is-sel .wsk-p { fill: var(--black); stroke: var(--black); }
.wsk-a.is-sel .wsk-t { fill: var(--lime); }
.wsk-a.is-sel .wsk-s { fill: var(--white); }
.wsk-core rect { fill: var(--white); stroke: var(--green); stroke-width: 1.5; }
.wsk-core path { fill: none; stroke: var(--green-200); stroke-width: 1; }

/* ---------- the apartment plan ---------- */
.wsn { display: block; width: 100%; height: auto; }
.wsn-wall { fill: none; stroke: var(--black); stroke-width: 4; stroke-linejoin: miter; }
.wsn-door { fill: none; stroke: var(--green); stroke-width: 1; }
.wsn-fur { fill: none; stroke: var(--green-200); stroke-width: 1.2; }
.wsn-win { fill: none; stroke: var(--lime); stroke-width: 4; }
.wsn-balc { fill: var(--lime-100); stroke: var(--green); stroke-width: 1; stroke-dasharray: 4 3; }
.wsn-t { font-size: 9px; fill: var(--black); }

/* ---------- the 360° room ---------- */
/* the background is the ceiling over the horizon (the middle of the view) and the floor under it */
.wsr { position: absolute; inset: 0; overflow: hidden; container-type: size; background: linear-gradient(#fbfcfc, #eef3f2 50%, #d6e0de 50%, #bfccc9); }
.wsr-view { position: absolute; inset: 0; --u: max(calc(100cqw / 1440), calc(100cqh / 640)); --p: calc(var(--u) * 560); perspective: var(--p); }
.wsr-cam { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: translateZ(var(--p)) rotateY(var(--a, 0deg)) translate3d(0, 0, calc(var(--u) * 120)); }
.wsr-cam.is-ease { transition: transform .9s var(--okx-ease); }
.wsr-w, .wsr-bx { position: absolute; left: 0; top: 0; display: block; backface-visibility: hidden; }
.wsr-w { height: calc(var(--u) * 520); margin-top: calc(var(--u) * -260); }
.wsr-w.is-n, .wsr-w.is-s { width: calc(var(--u) * 1400); margin-left: calc(var(--u) * -700); }
.wsr-w.is-e, .wsr-w.is-w { width: calc(var(--u) * 1500); margin-left: calc(var(--u) * -750); }
.wsr-w.is-n { transform: translateZ(calc(var(--u) * -750)); }
.wsr-w.is-s { transform: rotateY(180deg) translateZ(calc(var(--u) * -750)); }
.wsr-w.is-e { transform: rotateY(-90deg) translateZ(calc(var(--u) * -700)); }
.wsr-w.is-w { transform: rotateY(90deg) translateZ(calc(var(--u) * -700)); }
.wsr-wall { fill: #f2f5f4; }
.wsr-wall.is-e { fill: #e7edec; }
.wsr-wall.is-s { fill: #dee6e4; }
.wsr-wall.is-w { fill: #eaf0ee; }
.wsr-sky { fill: #bcd3e6; }
.wsr-frame { fill: none; stroke: var(--black); stroke-width: 8; stroke-linejoin: miter; }
.wsr-rail { fill: none; stroke: rgba(255, 255, 255, .9); stroke-width: 3; }
.wsr-curtain rect { fill: var(--lime-100); }
.wsr-curtain path { fill: none; stroke: rgba(18, 73, 68, .22); stroke-width: 2; }
.wsr-line { fill: none; stroke: var(--black); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.wsr-leaf { fill: var(--green); }
.wsr-pot, .wsr-black { fill: var(--black); }
.wsr-lime { fill: var(--lime); }
.wsr-dark { fill: var(--green-900); }
.wsr-lime-l { fill: none; stroke: var(--lime); stroke-width: 3; }
.wsr-unit { fill: var(--white); stroke: rgba(18, 73, 68, .3); stroke-width: 2; }
.wsr-unit.is-green { fill: var(--green); stroke: none; }
.wsr-seam { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 2; }
.wsr-seam.is-dark { stroke: rgba(18, 73, 68, .4); }
.wsr-splash { fill: var(--lime-100); }
.wsr-tile { fill: none; stroke: rgba(18, 73, 68, .14); stroke-width: 1.5; }
.wsr-art { fill: var(--white); stroke: var(--black); stroke-width: 6; }
.wsr-art.is-lime { fill: var(--lime); }
.wsr-art.is-green { fill: var(--green); }
.wsr-mark .is-green { fill: var(--green); }
.wsr-mark .is-lime { fill: var(--lime); }
.wsr-mark .is-ink { fill: var(--black); }
.wsr-mirror { fill: var(--lime-100); stroke: var(--black); stroke-width: 6; }
.wsr-hot-r { fill: rgba(191, 246, 112, .45); transform-box: fill-box; transform-origin: center; animation: wsr-pulse 2s ease-out infinite; }
.wsr-hot-c { fill: var(--lime); stroke: var(--black); stroke-width: 3; }
.wsr-hot rect { fill: var(--black); }
.wsr-hot text { fill: var(--white); font-size: 21px; }
@keyframes wsr-pulse { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.wsr-bx.is-island { background: #f4f7f6; box-shadow: inset 0 0 0 calc(var(--u) * 2) rgba(18, 73, 68, .25); }
.wsr-bx.is-island.is-top { background: var(--black); box-shadow: none; }
.wsr-bx.is-island.is-fn, .wsr-bx.is-island.is-fs { background: #e2e9e7; }
.wsr-bx.is-sofa { background: var(--green); }
.wsr-bx.is-sofa.is-top { background: var(--green-700); }
.wsr-bx.is-sofa.is-fe, .wsr-bx.is-sofa.is-fw { background: #0f3f3a; }
.wsr-bx.is-sofa.is-back.is-fn { background: #0f3f3a; }
.wsr-bx.is-sofa.is-back.is-top { background: #1d544e; }
.wsr-bx.is-table { background: var(--black); }
.wsr-bx.is-table.is-top { background: var(--lime); }

/* the viewer in the demo */
.wst { display: flex; flex-direction: column; height: 100%; }
.wst-view { position: relative; flex: 1; min-height: 0; overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.wst-view.is-grab { cursor: grabbing; }
.wst-view:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }
.wst-badge { position: absolute; top: 12px; left: 12px; padding: 3px 12px; border-radius: var(--radius-pill); background: var(--black); color: var(--lime); font-size: 13px; }
.wst-hint { position: absolute; bottom: 12px; left: 50%; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: var(--radius-pill); background: rgba(0, 0, 0, .78); color: var(--white); font-size: 12px; white-space: nowrap; transform: translateX(-50%); pointer-events: none; }
.wst-rooms { display: flex; gap: 6px; padding-top: 8px; background: var(--white); }
.wst-rooms button { flex: 1; min-height: 40px; border: 0; background: var(--green-100); color: var(--black); font: inherit; font-size: 14px; cursor: pointer; transition: background-color .5s var(--okx-ease); }
.wst-rooms button:hover { background: var(--lime); }

/* the view from the window */
.wsv { position: relative; height: 100%; overflow: hidden; background: var(--green-900); }
/* the picture is one and a half frames tall: floor 9 shows its top, floor 1 its bottom */
.wsv-img, .wsv-sky { position: absolute; top: 0; left: 0; width: 100%; height: 150%; object-fit: cover; transform: translateY(calc((var(--f) - 9) * 4.1%)); transition: transform 1.2s var(--okx-ease); }
.wsv-sky-bg { fill: #e4f0ee; }
.wsv-sun { fill: var(--lime); }
.wsv-far { fill: var(--green-200); }
.wsv-near { fill: var(--green); }
.wsv-gr { fill: var(--green-900); }
.wsv-frame { position: absolute; inset: 0; box-shadow: inset 0 0 0 10px var(--black); pointer-events: none; }
.wsv-frame i { position: absolute; top: 0; bottom: 0; left: 33.3%; width: 6px; background: var(--black); }
.wsv-frame i:last-child { left: 66.6%; }
.wsv-tag { position: absolute; top: 24px; inset-inline-start: 24px; display: inline-flex; flex-direction: column; gap: 2px; margin: 0; padding: 8px 14px; background: var(--black); color: var(--white); }
.wsv-tag b { font-family: var(--font-display); font-weight: 400; font-size: 20px; line-height: 1.1; }
.wsv-tag span { font-size: 12px; color: var(--lime); }
.wsv-note { position: absolute; bottom: 22px; inset-inline-start: 24px; max-width: calc(100% - 48px); margin: 0; padding: 6px 10px; background: rgba(0, 0, 0, .78); color: var(--white); font-size: 12px; box-sizing: border-box; }

/* a question to the assistant */
.wsq { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 18px; background: var(--green-900); color: var(--white); box-sizing: border-box; }
.wsq-log { display: flex; flex: 1; flex-direction: column; gap: 8px; min-height: 0; overflow: auto; }
.wsq-m { max-width: 86%; margin: 0; padding: 10px 14px; font-size: 15px; line-height: 1.45; animation: brf-up .5s var(--okx-ease) both; }
.wsq-m p { margin: 0; }
.wsq-m.is-a { align-self: flex-start; background: rgba(255, 255, 255, .12); }
.wsq-m.is-u { align-self: flex-end; background: var(--lime); color: var(--black); }
.wsq-act { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; margin-top: 8px; padding: 0 14px; border: 0; border-radius: var(--radius-pill); background: var(--lime); color: var(--black); font: inherit; font-size: 13px; cursor: pointer; }
.wsq-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.wsq-ask span { width: 100%; font-size: 12px; color: rgba(255, 255, 255, .75); }
.wsq-ask button { min-height: 36px; padding: 0 12px; border: 0; border-radius: var(--radius-pill); background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); color: var(--white); font: inherit; font-size: 13px; cursor: pointer; transition: background-color .4s, color .4s; }
.wsq-ask button:hover, .wsq-ask button.is-on { background: var(--white); box-shadow: none; color: var(--black); }
.wsq-note { margin: 0; font-size: 11px; color: rgba(255, 255, 255, .75); }
.wsq :focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }

/* ---------- try it yourself ---------- */
.wsp-lead, .wsl-lead, .wsw-lead { max-width: 30em; margin: 0; }
.wsp-box { display: grid; grid-template-columns: 264px minmax(0, 1fr) minmax(0, 1.22fr); background: var(--white); }
.wsp-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 26px 28px 28px; }
.wsp-col + .wsp-col { border-inline-start: 1px solid var(--line); }
.wsp-step { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 14px; color: var(--ink-muted); }
.wsp-step span { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--black); color: var(--lime); font-size: 12px; }
.wsp-tower { display: flex; flex-direction: column; }
.wsp-roof { align-self: center; width: 36%; height: 14px; background: var(--green); }
.wsp-floors { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; box-shadow: inset 0 0 0 1.5px var(--green); }
.wsp-floors button { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px; width: 100%; height: 44px; padding: 0 12px; border: 0; border-bottom: 1px solid var(--green-200); background: transparent; color: var(--black); font: inherit; font-size: 14px; text-align: start; cursor: pointer; transition: background-color .4s var(--okx-ease), color .4s var(--okx-ease); }
.wsp-floors li:last-child button { border-bottom: 0; }
.wsp-floors button:hover { background: var(--lime-100); }
.wsp-floors button.is-on { background: var(--black); color: var(--white); }
.wsp-floors b { font-weight: 400; }
.wsp-floors small { font-size: 12px; }
.wsp-floors .ws-dots { gap: 5px; }
.wsp-floors .ws-dots i { width: 24px; height: 18px; border-radius: 0; }
.wsp-floors .ws-dots i.is-f { box-shadow: inset 0 0 0 1px var(--green); }
.wsp-floors .ws-dots i.is-r { background: repeating-linear-gradient(45deg, var(--white) 0 3px, var(--green-200) 3px 5px); box-shadow: inset 0 0 0 1px var(--green-200); }
.wsp-floors .ws-dots i.is-s { background: var(--gray-200); opacity: 1; }
.wsp-floors button.is-on .ws-dots i.is-s { background: rgba(255, 255, 255, .28); }
.wsp-floors button.is-on .ws-dots i.is-f { box-shadow: none; }
.wsp-lobby { display: flex; align-items: center; justify-content: center; height: 38px; background: var(--green); color: var(--white); font-size: 12px; }
.wsp-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; font-size: 12px; color: var(--ink-muted); }
.wsp-legend li { display: inline-flex; align-items: center; gap: 6px; }
.wsp-legend i { width: 14px; height: 14px; background: var(--lime); box-shadow: inset 0 0 0 1px var(--green); }
.wsp-legend i.is-r { background: repeating-linear-gradient(45deg, var(--white) 0 3px, var(--green-200) 3px 5px); }
.wsp-legend i.is-s { background: var(--gray-200); box-shadow: none; }
.wsp-floor-t { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0; }
.wsp-floor-t b { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1; }
.wsp-floor-t span { font-size: 13px; color: var(--ink-muted); }
.wsp-col.is-key .wsk { margin-block: auto; }
.wsp-apts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.wsp-apts button { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-height: 60px; padding: 8px 10px; border: 0; background: var(--green-100); color: var(--black); font: inherit; text-align: start; cursor: pointer; transition: background-color .4s var(--okx-ease), color .4s var(--okx-ease); }
.wsp-apts b { font-family: var(--font-display); font-weight: 400; font-size: 20px; line-height: 1.1; }
.wsp-apts span { font-size: 12px; }
.wsp-apts small { font-size: 11px; }
.wsp-apts button.is-f { background: var(--lime); }
.wsp-apts button.is-s { background: var(--gray-200); color: var(--gray-600); }
.wsp-apts button.is-on { background: var(--black); color: var(--white); }
.wsp-apt-head { display: flex; flex-direction: column; gap: 10px; }
.wsp-apt-n { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--font-display); font-size: 30px; line-height: 1; }
.wsp-apt-n b { font-weight: 400; }
.wsp-st { padding: 4px 12px; border-radius: var(--radius-pill); background: var(--lime); color: var(--black); font-family: var(--font-text); font-size: 12px; line-height: 1.3; }
.wsp-st.is-r { background: var(--green-100); }
.wsp-st.is-s { background: var(--gray-200); }
.wsp-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.wsp-facts li { padding: 4px 10px; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; }
.wsp-tabs { display: flex; box-shadow: inset 0 -1px 0 var(--line); }
.wsp-tabs button { flex: 1; min-height: 44px; padding: 0 6px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--ink-muted); font: inherit; font-size: 14px; cursor: pointer; transition: color .4s, border-color .4s; }
.wsp-tabs button:hover { color: var(--black); }
.wsp-tabs button[aria-selected="true"] { border-bottom-color: var(--black); color: var(--black); }
.wsp-panel { position: relative; height: 350px; overflow: hidden; }
.wsp-plan { display: flex; align-items: center; justify-content: center; height: 100%; padding: 14px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); box-sizing: border-box; }
.wsp-plan .wsn { width: auto; height: 100%; max-width: 100%; }
.wsp-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 4px; }
.wsp-sold { margin: 0; font-size: 14px; color: var(--ink-muted); }
.wsp-sample { padding: 3px 12px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px var(--green-200); font-size: 12px; color: var(--ink-muted); white-space: nowrap; }
.wsp-box :focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* ---------- the assistant's chat and the CRM card ---------- */
.wsc { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: #0c1514; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); color: var(--white); box-sizing: border-box; }
.wsc-head { display: flex; align-items: center; gap: 10px; margin: 0; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .16); font-size: 14px; }
.wsc-av { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--lime); color: var(--black); }
.wsc-head b { font-weight: 500; }
.wsc-head small { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: auto; font-size: 12px; color: rgba(255, 255, 255, .78); }
.wsc-head small i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.wsc-log { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.wsc-m { max-width: 88%; padding: 10px 14px; font-size: 15px; line-height: 1.45; }
.wsc-m p { margin: 0; }
.wsc-m.is-u { align-self: flex-end; background: var(--lime); color: var(--black); }
.wsc-m.is-a { align-self: flex-start; background: rgba(255, 255, 255, .12); }
.wsc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.wsc-chips i { padding: 3px 10px; border-radius: var(--radius-pill); background: var(--black); box-shadow: inset 0 0 0 1px var(--lime); color: var(--lime); font-style: normal; font-size: 12px; }
.wsc-lang { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 12px; color: rgba(255, 255, 255, .78); }
.wsc.is-on .wsc-m { animation: brf-up .6s var(--okx-ease) both; animation-delay: calc(.8s + var(--i) * 1.45s); }
.wsc-crm { padding: 16px 18px; background: var(--white); color: var(--black); box-sizing: border-box; }
.wsc-crm-t { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 13px; }
.wsc-crm-t i { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(191, 246, 112, .45); }
.wsc-crm dl { display: grid; gap: 6px; margin: 0; }
.wsc-crm dl div { display: grid; grid-template-columns: 60px 1fr; gap: 10px; padding-top: 6px; border-top: 1px solid var(--line); font-size: 14px; }
.wsc-crm dt { color: var(--ink-muted); }
.wsc-crm dd { margin: 0; }

/* ---------- the film ---------- */
@keyframes wsf-rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes wsf-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes wsf-dev { from { opacity: 0; transform: translateY(44px); } }
@keyframes wsf-spin { to { transform: rotate(360deg); } }
/* 01 floor */
.wsf-floor { background: var(--green-900); color: var(--white); }
.wsf-bld { position: absolute; left: 26%; top: 3.5%; width: auto; height: 93%; }
.wsf-list { position: absolute; left: 5%; top: 50%; display: flex; flex-direction: column; width: 200px; margin: 0; padding: 0; list-style: none; transform: translateY(-50%); }
.wsf-list li { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px; height: 38px; padding: 0 12px; border-bottom: 1px solid rgba(255, 255, 255, .16); font-size: 13px; color: rgba(255, 255, 255, .78); transition: background-color .2s, color .2s; }
.wsf-list b { font-weight: 400; }
.wsf-list li.is-on { background: var(--lime); color: var(--black); }
.wsf-list li.is-on .ws-dots i.is-f { background: var(--black); }
.wsf-num { position: absolute; inset-inline-start: var(--okx-pad); top: 30px; display: flex; flex-direction: column; align-items: flex-start; width: min(430px, 34%); }
.wsf-num small { font-size: 14px; color: var(--lime); }
.wsf-num b { font-family: var(--font-display); font-weight: 300; font-size: clamp(150px, 15vw, 230px); line-height: .92; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .9); transition: color .5s, -webkit-text-stroke-color .5s; }
.wsf-floor.is-done .wsf-num b { color: var(--lime); -webkit-text-stroke-color: var(--lime); }
.wsf-num p { display: flex; align-items: center; gap: 12px; margin: 12px 0 0; font-size: 17px; opacity: 0; transform: translateY(10px); transition: opacity .6s .2s, transform .6s .2s; }
.wsf-num .ws-dots i { width: 12px; height: 12px; }
.wsf-floor.is-done .wsf-num p { opacity: 1; transform: none; }
.wsf-floor.is-on .wsb-f, .wsf-floor.is-on .wsb-lobby, .wsf-floor.is-on .wsb-roof { animation: wsf-rise .7s var(--okx-ease) both; animation-delay: calc(.45s + var(--i, 0) * .09s); }
.wsf-floor.is-on .wsb-roof { animation-delay: 1.4s; }
.wsf-floor.is-on .wsf-list li { animation: brf-fade .6s both; animation-delay: calc(.6s + var(--i) * .06s); }
.wsf-floor.is-on .wsf-num > small, .wsf-floor.is-on .wsf-num > b { animation: brf-fade .8s both 1.2s; }
/* 02 apartment */
@keyframes wsf-sel { from { fill: var(--lime); stroke: var(--green); } }
@keyframes wsf-selt { from { fill: var(--black); } }
.wsf-apt { background: var(--white); color: var(--black); }
.wsf-key { position: absolute; inset-inline-start: var(--okx-pad); top: 20px; display: flex; flex-direction: column; gap: 8px; width: min(400px, 31%); }
.wsf-key > p { display: flex; align-items: baseline; justify-content: space-between; margin: 0; }
.wsf-key > p b { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1; }
.wsf-key > p span { font-size: 13px; color: var(--ink-muted); }
.wsf-plan { position: absolute; left: 5%; top: 18px; bottom: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; width: 52%; }
.wsf-plan-t { display: flex; align-items: center; gap: 12px; margin: 0; }
.wsf-plan-t small { font-size: 15px; color: var(--ink-muted); }
.wsf-plan-t b { font-family: var(--font-display); font-weight: 300; font-size: 60px; line-height: 1; }
.wsf-plan .wsn { flex: 1; width: auto; min-height: 0; max-width: 100%; }
.wsf-facts { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.wsf-facts li { padding: 6px 14px; border-radius: var(--radius-pill); background: var(--black); color: var(--white); font-size: 14px; }
.wsf-apt.is-on .wsf-key > p, .wsf-apt.is-on .wsk-core, .wsf-apt.is-on .wsk-sea, .wsf-apt.is-on .wsk-n, .wsf-apt.is-on .wsf-key .wsp-legend { animation: brf-fade .7s both .5s; }
.wsf-apt.is-on .wsk-a { animation: brf-up .6s var(--okx-ease) both; animation-delay: calc(.7s + var(--i) * .14s); }
.wsf-apt.is-on .wsk-a.is-sel .wsk-p { animation: wsf-sel .5s both 2.1s; }
.wsf-apt.is-on .wsk-a.is-sel .wsk-t, .wsf-apt.is-on .wsk-a.is-sel .wsk-s { animation: wsf-selt .5s both 2.1s; }
.wsf-apt.is-on .wsf-plan-t { animation: brf-up .8s var(--okx-ease) both 2.5s; }
.wsf-apt.is-on .wsn-wall { stroke-dasharray: 1; animation: wsf-draw 2.3s cubic-bezier(.5, 0, .2, 1) both 2.7s; }
.wsf-apt.is-on .wsn-balc, .wsf-apt.is-on .wsn-fur, .wsf-apt.is-on .wsn-door, .wsf-apt.is-on .wsn-win { animation: brf-fade .8s both 4.3s; }
.wsf-apt.is-on .wsn-t { animation: brf-fade .6s both; animation-delay: calc(4.5s + var(--i, 0) * .1s); }
.wsf-apt.is-on .wsf-facts li { animation: brf-up .6s var(--okx-ease) both; animation-delay: calc(5s + var(--i) * .12s); }
/* 03 tour */
@keyframes wsf-tour {
  0% { transform: translateZ(var(--p)) rotateY(158deg) translate3d(0, 0, calc(var(--u) * 120)); animation-timing-function: cubic-bezier(.45, 0, .3, 1); }
  72% { transform: translateZ(var(--p)) rotateY(0deg) translate3d(0, 0, calc(var(--u) * 120)); animation-timing-function: cubic-bezier(.6, 0, .85, .6); }
  100% { transform: translateZ(var(--p)) rotateY(0deg) translate3d(0, 0, calc(var(--u) * 420)); }
}
@keyframes wsf-chip { 0%, 30%, 100% { background: rgba(0, 0, 0, .78); color: #fff; } 4%, 26% { background: var(--lime); color: #000; } }
.wsf-tour { background: #e3eae8; }
.wsf-tour .brf-cap { padding-block: 16px; padding-inline-end: 18px; background: var(--white); }
.wsf-rooms { position: absolute; z-index: 2; top: 22px; left: 5%; display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.wsf-rooms li { padding: 6px 16px; border-radius: var(--radius-pill); background: rgba(0, 0, 0, .78); color: var(--white); font-size: 14px; }
.wsf-deg { position: absolute; z-index: 2; left: 5%; bottom: 26px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: var(--radius-pill); background: var(--black); color: var(--lime); font-size: 15px; }
.wsf-deg i { width: 22px; height: 22px; border: 2px solid var(--lime); border-top-color: transparent; border-radius: 50%; box-sizing: border-box; }
.wsf-tour.is-on .wsr-cam { animation: wsf-tour 7.3s both .2s; }
.wsf-tour.is-on .wsf-rooms li { animation: wsf-chip 7.4s linear both; animation-delay: calc(.2s + var(--i) * 2.35s); }
.wsf-tour.is-on .wsf-deg i { animation: wsf-spin 2.4s linear infinite; }
/* 04 view */
.wsf-view { background: var(--black); }
.wsf-view-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% calc((9 - var(--f)) * 12.5%); transition: object-position 1s var(--okx-ease); }
.wsf-view::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(0, 0, 0, .66), rgba(0, 0, 0, 0) 48%), linear-gradient(to top, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 40%); }
.wsf-view-frame { position: absolute; inset: 0; z-index: 1; box-shadow: inset 0 0 0 14px var(--black); }
.wsf-view-frame i { position: absolute; top: 0; bottom: 0; left: 33.33%; width: 6px; background: var(--black); }
.wsf-view-frame i:nth-child(2) { left: 66.66%; }
.wsf-view-frame i:nth-child(3) { display: none; }
.wsf-view-floors { position: absolute; z-index: 2; left: 5%; top: 50%; display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; transform: translateY(-50%); }
.wsf-view-floors li { display: flex; align-items: center; justify-content: center; width: 46px; height: 34px; background: rgba(0, 0, 0, .6); color: rgba(255, 255, 255, .8); font-size: 13px; transition: width .4s var(--okx-ease), background-color .4s, color .4s; }
.wsf-view-floors li.is-on { width: 72px; background: var(--lime); color: var(--black); }
.wsf-view-tag { position: absolute; z-index: 2; left: calc(5% + 92px); top: 50%; display: inline-flex; flex-direction: column; gap: 2px; margin: 0; padding: 10px 18px; background: var(--black); color: var(--white); transform: translateY(-50%); }
.wsf-view-tag b { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.1; }
.wsf-view-tag span { font-size: 13px; color: var(--lime); }
.wsf-view .brf-cap { z-index: 3; }
.wsf-view.is-on .wsf-view-floors, .wsf-view.is-on .wsf-view-tag { animation: brf-fade .8s both .8s; }
/* 05 the assistant */
@keyframes wsf-hit { from { filter: saturate(0) brightness(.3); } }
.wsf-ai { background: var(--black); color: var(--white); }
.wsf-ai-bld { position: absolute; left: 3.5%; top: 8%; width: auto; height: 84%; }
.wsf-chat { position: absolute; left: 31.5%; top: 26px; width: min(400px, 28.5%); }
.wsf-crm { position: absolute; inset-inline-start: var(--okx-pad); top: 30px; width: min(360px, 28%); }
.wsf-ai.is-on .wsf-ai-bld, .wsf-ai.is-on .wsf-chat { animation: brf-fade .8s both .45s; }
.wsf-ai.is-on .wsb-f.is-hit { animation: wsf-hit .6s both; animation-delay: calc(2.7s + (var(--i) - 7) * .2s); }
.wsf-ai.is-on .wsf-crm { animation: brf-up .7s var(--okx-ease) both 6.4s; }
/* 06 the reel */
.wsf-reel { background: var(--black); }
.wsf-cut { position: absolute; inset: 0; overflow: hidden; background: var(--black); }
.wsf-cut-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.wsf-cut::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(0, 0, 0, .86), rgba(0, 0, 0, .1) 60%); }
.wsf-cut-web { position: absolute; z-index: 1; left: 5%; top: 30px; width: min(680px, 48%); background: var(--black); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); }
.wsf-cut-web img { display: block; width: 100%; aspect-ratio: 1200 / 750; object-fit: cover; object-position: top; }
.wsf-cut-mob { position: absolute; z-index: 2; left: calc(5% + min(680px, 48%) - 64px); top: 150px; width: 150px; padding: 6px; border-radius: 22px; background: var(--black); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); box-sizing: border-box; }
.wsf-cut-mob img { display: block; width: 100%; aspect-ratio: 585 / 1180; border-radius: 16px; object-fit: cover; object-position: top; }
.wsf-cut-meta { position: absolute; z-index: 2; inset-inline-start: var(--okx-pad); top: 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; width: min(430px, 34%); color: var(--white); }
.wsf-cut-meta b { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 4vw, 60px); line-height: 1; }
.wsf-cut-meta small { font-size: 15px; color: rgba(255, 255, 255, .86); }
.wsf-cut-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.wsf-cut-tags i { padding: 4px 12px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); font-style: normal; font-size: 12px; }
.wsf-reel.is-on .wsf-cut { animation: brf-cut .9s cubic-bezier(.7, 0, .2, 1) both; animation-delay: calc(.5s + var(--i) * 1.8s); }
.wsf-reel.is-on .wsf-cut-bg { animation: brf-ken 4.5s linear both; animation-delay: calc(.5s + var(--i) * 1.8s); }
.wsf-reel.is-on .wsf-cut-web { animation: wsf-dev .9s var(--okx-ease) both; animation-delay: calc(.8s + var(--i) * 1.8s); }
.wsf-reel.is-on .wsf-cut-mob { animation: wsf-dev .9s var(--okx-ease) both; animation-delay: calc(1s + var(--i) * 1.8s); }
.wsf-reel.is-on .wsf-cut-meta > * { animation: brf-up .7s var(--okx-ease) both; animation-delay: calc(1s + var(--i) * 1.8s); }
.wsf-reel .brf-cap { z-index: 4; }

/* ---------- what the site includes: the small pictures ---------- */
.wsm { position: relative; display: flex; align-items: center; justify-content: center; }
@keyframes wsm-pick { 0%, 18% { background: var(--lime); } 20%, 100% { background: var(--white); } }
.wsm-pick { flex-direction: column-reverse; gap: 3px; }
.wsm-pick i { display: flex; gap: 4px; padding: 4px; background: var(--white); box-shadow: inset 0 0 0 1px var(--green); }
.wsm-pick b { width: 18px; height: 10px; background: var(--green-200); }
.wsm-pick i:nth-child(4) { background: var(--lime); }
.wsm-pick i:nth-child(4) b { background: var(--green); }
.bri-card:hover .wsm-pick i { animation: wsm-pick 2.5s linear infinite; animation-delay: calc(var(--i) * .5s); }
.wsm-tour { width: 100px; height: 100px; }
.wsm-tour i { position: absolute; inset: 0; border: 2px solid var(--green); border-inline-color: transparent; border-radius: 50%; transform: rotate(-40deg); transition: transform 1.8s var(--okx-ease); }
.wsm-tour i:nth-child(2) { inset: 0 28px; border: 1.5px solid var(--green-200); transform: none; }
.wsm-tour b { font-family: var(--font-display); font-weight: 400; font-size: 22px; }
.bri.is-in .wsm-tour i:first-child { transform: rotate(140deg); }
.bri-card:hover .wsm-tour i:first-child { transform: rotate(320deg); }
.wsm-view { position: absolute; inset: 16px 30px; overflow: hidden; box-shadow: 0 0 0 4px var(--black); }
.wsm-view img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.5) translateY(-10%); transition: transform 1.8s var(--okx-ease); }
.bri.is-in .wsm-view img { transform: scale(1.5) translateY(8%); }
.bri-card:hover .wsm-view img { transform: scale(1.5) translateY(-8%); }
.wsm-view i { position: absolute; top: 0; bottom: 0; left: 33.3%; width: 4px; background: var(--black); }
.wsm-view i:last-child { left: 66.6%; }
.wsm-gal { width: 160px; height: 100px; }
.wsm-gal i { position: absolute; top: 20px; left: 0; width: 86px; height: 62px; overflow: hidden; box-shadow: 0 0 0 3px var(--white), 0 10px 18px -8px rgba(0, 0, 0, .45); transition: transform .9s var(--okx-ease); }
.wsm-gal i img { width: 100%; height: 100%; object-fit: cover; }
.wsm-gal i:nth-child(2) { top: 8px; left: 37px; z-index: 1; }
.wsm-gal i:nth-child(3) { left: auto; right: 0; }
.bri.is-in .wsm-gal i:nth-child(1) { transform: rotate(-9deg); }
.bri.is-in .wsm-gal i:nth-child(3) { transform: rotate(9deg); }
.bri-card:hover .wsm-gal i:nth-child(1) { transform: translateX(-8px) rotate(-14deg); }
.bri-card:hover .wsm-gal i:nth-child(3) { transform: translateX(8px) rotate(14deg); }
.wsm-map { position: absolute; inset: 0; background: linear-gradient(var(--green-200), var(--green-200)) 0 34% / 100% 2px no-repeat, linear-gradient(var(--green-200), var(--green-200)) 0 74% / 100% 2px no-repeat, linear-gradient(var(--green-200), var(--green-200)) 22% 0 / 2px 100% no-repeat, linear-gradient(var(--green-200), var(--green-200)) 66% 0 / 2px 100% no-repeat; }
.wsm-map i { position: absolute; top: 20%; left: 12%; width: 10px; height: 10px; border-radius: 50%; background: var(--green); transform: scale(0); transition: transform .6s cubic-bezier(.2, .9, .3, 1.4); }
.wsm-map i:nth-child(2) { top: 60%; left: 34%; transition-delay: .15s; }
.wsm-map i:nth-child(3) { top: 16%; left: 80%; transition-delay: .3s; }
.wsm-map i:nth-child(4) { top: 82%; left: 78%; transition-delay: .45s; }
.bri.is-in .wsm-map i { transform: none; }
.wsm-map b { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin: -28px 0 0 -24px; border-radius: 50%; background: var(--lime); color: var(--black); transition: transform .6s var(--okx-ease); }
.bri-card:hover .wsm-map b { transform: translateY(-8px); }
.wsm-crm { flex-direction: column; align-items: stretch; gap: 6px; width: 124px; }
.wsm-crm i { height: 16px; background: var(--white); box-shadow: inset 0 0 0 1px var(--green-200); }
.wsm-crm i:nth-child(3) { width: 60%; height: 20px; background: var(--black); box-shadow: none; }
.wsm-crm b { position: absolute; left: -16px; bottom: -6px; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--lime); color: var(--black); transform: scale(0); transition: transform .6s cubic-bezier(.2, .9, .3, 1.4) .7s; }
.bri.is-in .wsm-crm b { transform: none; }
.bri-card:hover .wsm-crm b { transform: scale(1.2); transition-delay: 0s; }
.wsm-mob i { display: flex; flex-direction: column; gap: 5px; width: 56px; height: 100px; padding: 12px 7px; border-radius: 10px; background: var(--white); box-shadow: inset 0 0 0 2px var(--black); box-sizing: border-box; }
.wsm-mob i b { height: 8px; background: var(--green-100); transform: scaleX(.2); transform-origin: right; transition: transform .7s var(--okx-ease); }
.wsm-mob i b:first-child { height: 28px; background: var(--green); }
.wsm-mob i b:nth-child(2) { transition-delay: .15s; }
.wsm-mob i b:nth-child(3) { width: 60%; transition-delay: .3s; }
.bri.is-in .wsm-mob i b { transform: none; }
.wsm-mob em { position: absolute; top: 14px; left: calc(50% + 14px); display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--lime); color: var(--black); transition: transform .6s var(--okx-ease); }
.bri-card:hover .wsm-mob em { transform: translate(6px, -6px); }

/* ---------- the assistant on the site ---------- */
.wsa { position: relative; padding-block: clamp(80px, 9vw, 150px); overflow: hidden; background: var(--black); color: var(--white); }
.wsa-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); align-items: center; gap: clamp(40px, 5vw, 90px); }
.wsa .okp-h2.wsa-h { color: var(--white); }
.wsa-lead { max-width: 32em; margin: 22px 0 0; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .86); }
.wsa-items { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 38px 0 36px; padding: 0; list-style: none; }
.wsa-items li { display: grid; grid-template-columns: 40px 1fr; align-content: start; gap: 6px 14px; }
.wsa-ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lime); color: var(--black); }
.wsa-items h3 { align-self: center; margin: 0; font-weight: 500; font-size: 18px; }
.wsa-items p { grid-column: 2; margin: 0; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .82); }
.wsa-demo { display: grid; grid-template-columns: minmax(0, 1fr) 230px; align-items: center; gap: 16px 24px; }
.wsa-demo .wsc { grid-column: 1; grid-row: 1; }
.wsa-demo .wsc-crm { grid-column: 1; grid-row: 2; }
.wsa-bld { grid-column: 2; grid-row: 1 / 3; width: 100%; height: auto; }
.wsa-sample { grid-column: 1 / -1; justify-self: start; padding: 3px 12px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); font-size: 12px; color: rgba(255, 255, 255, .85); }
.wsa :focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

/* ---------- built for organic search ---------- */
.wso-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: start; gap: clamp(40px, 5vw, 90px); }
.wso-lead { max-width: 34em; margin: 22px 0 0; }
.wso-items { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 36px 0 0; padding: 0; list-style: none; }
.wso-items li { display: grid; grid-template-columns: auto 1fr; align-content: start; gap: 4px 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.wso-items span { grid-row: 1 / 3; padding-top: 4px; font-size: 12px; color: var(--ink-muted); }
.wso-items h3 { margin: 0; font-weight: 500; font-size: 17px; }
.wso-items p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-muted); }
.wso-note { max-width: 36em; margin: 20px 0 0; padding-inline-start: 14px; border-inline-start: 3px solid var(--lime); font-size: 14px; line-height: 1.5; color: var(--ink-muted); }
.wso-demo { display: flex; flex-direction: column; gap: 14px; padding: 26px; background: var(--green-100); }
.wso-sample { align-self: flex-start; margin: 0; padding: 3px 12px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px var(--green); font-size: 12px; }
.wso-search { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 20px; border-radius: var(--radius-pill); background: var(--white); font-size: 16px; }
.wso-search i { width: 2px; height: 20px; background: var(--black); animation: brf-blink 1.1s steps(1) infinite; }
.wso-res { display: grid; gap: 6px; padding: 20px 22px; background: var(--white); box-shadow: 0 0 0 2px var(--black); }
.wso-url { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--ink-muted); }
.wso-url b { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: var(--lime); font-weight: 400; font-size: 13px; }
.wso-url i { font-style: normal; }
.wso-title { margin: 2px 0 0; font-size: 21px; line-height: 1.25; color: var(--green); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.wso-desc { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-muted); }
.wso-links { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; }
.wso-links span { padding: 4px 12px; border-radius: var(--radius-pill); background: var(--green-100); font-size: 13px; }
.wso-ghost { display: grid; gap: 8px; padding: 2px 22px; }
.wso-ghost i { width: 38%; height: 10px; background: var(--green-200); }
.wso-ghost i:nth-child(2) { width: 84%; }
.wso-ghost i:nth-child(3) { width: 66%; }
.wso-seen { padding: 18px 22px 20px; background: var(--black); color: var(--white); }
.wso-seen p { margin: 0 0 12px; font-size: 13px; color: var(--lime); }
.wso-seen ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.wso-seen li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.wso-seen li span { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--lime); color: var(--black); transform: scale(0); transition: transform .5s cubic-bezier(.2, .9, .3, 1.4); transition-delay: calc(.9s + var(--i) * .16s); }
.wso.is-in .wso-seen li span { transform: none; }

/* ---------- a landing page for every audience ---------- */
.wsl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.wsl-card { display: flex; flex-direction: column; gap: 12px; }
.wsl-k { align-self: flex-start; margin: 0; padding: 5px 14px; border-radius: var(--radius-pill); background: var(--black); color: var(--white); font-weight: 400; font-size: 14px; }
.wsl-page { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 12px 12px 18px; background: var(--white); box-shadow: 0 30px 50px -36px rgba(0, 0, 0, .5); transition: transform .8s var(--okx-ease); }
.wsl-card:hover .wsl-page { transform: translateY(-8px); }
.wsl-pic { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--green-100); }
.wsl-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--okx-ease); }
.wsl-card:hover .wsl-pic img { transform: scale(1.08); }
.wsl-pic b { position: absolute; top: 10px; left: 10px; padding: 2px 8px; background: var(--white); font-family: var(--font-display); font-weight: 400; font-size: 13px; letter-spacing: .08em; }
.wsl-page > b { margin-top: 6px; font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.14; }
.wsl-page > small { font-size: 14px; line-height: 1.45; color: var(--ink-muted); }
.wsl-page > i { align-self: flex-start; margin-top: auto; padding: 7px 14px; border-radius: var(--radius-pill); background: var(--lime); color: var(--black); font-style: normal; font-size: 13px; }
.wsl-card.is-1 .wsl-page > i { background: var(--black); color: var(--white); }
.wsl-card.is-3 .wsl-page > i { background: var(--green); color: var(--white); }
.wsl-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(32px, 4vw, 56px); }
.wsl-flow { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.wsl-flow li { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; }
.wsl-flow li span { font-size: 11px; color: rgba(0, 0, 0, .66); }
.wsl-flow li + li::before { content: ""; width: 40px; height: 1.5px; margin-inline: 14px; background: var(--black); }

/* ---------- the sites we built ---------- */
.wsw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 26px; margin: 0; padding: 0; list-style: none; }
.wsw-card { display: flex; flex-direction: column; gap: 16px; color: var(--black); text-decoration: none; }
.wsw-dev { position: relative; display: block; aspect-ratio: 16 / 10.2; overflow: hidden; background: var(--green-900); }
.wsw-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: transform 1.8s var(--okx-ease); }
.wsw-card:hover .wsw-bg, .wsw-card:focus-visible .wsw-bg { transform: scale(1.08); }
.wsw-web { position: absolute; top: 11%; inset-inline-start: 7%; width: 68%; background: var(--black); box-shadow: 0 30px 60px -26px rgba(0, 0, 0, .85); transition: transform .9s var(--okx-ease); }
.wsw-web img { display: block; width: 100%; aspect-ratio: 1200 / 750; object-fit: cover; object-position: top; }
.wsw-mob { position: absolute; bottom: -7%; inset-inline-end: 8%; width: 19%; padding: 5px; border-radius: 18px; background: var(--black); box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .85); box-sizing: border-box; transition: transform .9s var(--okx-ease); }
.wsw-mob img { display: block; width: 100%; aspect-ratio: 585 / 1120; border-radius: 13px; object-fit: cover; object-position: top; }
.wsw-card:hover .wsw-web, .wsw-card:focus-visible .wsw-web { transform: translateY(-6px); }
.wsw-card:hover .wsw-mob, .wsw-card:focus-visible .wsw-mob { transform: translateY(-14px); }
.wsw-meta { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 4px 12px; }
.wsw-meta b { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.1; }
.wsw-meta small { grid-column: 1; font-size: 14px; color: var(--ink-muted); }
.wsw-tags { grid-column: 1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.wsw-tags i { padding: 3px 10px; box-shadow: inset 0 0 0 1px var(--line); font-style: normal; font-size: 12px; }
.wsw-meta .okx-arrow { grid-row: 1 / 3; grid-column: 2; }
.wsw-more-t { margin: clamp(40px, 5vw, 72px) 0 16px; font-size: 14px; color: var(--ink-muted); }
.wsw-more { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.wsw-more a { display: flex; flex-direction: column; gap: 3px; color: var(--black); text-decoration: none; }
.wsw-thumb { display: block; aspect-ratio: 16 / 10; margin-bottom: 6px; overflow: hidden; background: var(--green-100); }
.wsw-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--okx-ease); }
.wsw-more a:hover img { transform: scale(1.08); }
.wsw-more b { font-weight: 500; font-size: 15px; }
.wsw-more small { font-size: 12px; color: var(--ink-muted); }
.ok-site a.okx-btn.wsw-all { margin-top: clamp(32px, 4vw, 48px); }

/* ================= phones and tablets ================= */
@media (max-width: 1080px) {
  .wsp-box { grid-template-columns: 240px minmax(0, 1fr); }
  .wsp-col.is-apt { grid-column: 1 / -1; border-inline-start: 0; border-top: 1px solid var(--line); }
  .wsa-grid, .wso-grid { grid-template-columns: 1fr; }
  .wsl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wsw-more { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* the film in portrait (the shell is in landing.css): every scene keeps the band at the bottom free for the caption */
@media (max-width: 900px) {
  /* 01 floor: the building and the big number, without the list */
  .wsf-list { display: none; }
  .wsf-bld { left: 8px; top: 16px; width: auto; height: calc(100% - var(--cap) - 30px); max-width: calc(100% - 150px); }
  .wsf-num { top: 18px; width: auto; max-width: 150px; }
  .wsf-num small { font-size: 12px; }
  .wsf-num b { font-size: clamp(84px, 23vw, 150px); }
  .wsf-num p { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 8px; font-size: 13px; }
  .wsf-num .ws-dots i { width: 10px; height: 10px; }
  /* 02 apartment: the floor plan shrinks into the corner, then the apartment plan is drawn under the title */
  @keyframes wsf-key-sm { from { transform: none; } }
  .wsf-key { top: 14px; inset-inline: var(--okx-pad); width: auto; transform: scale(.38); transform-origin: left top; }
  .wsf-apt.is-on .wsf-key { animation: wsf-key-sm .9s var(--okx-ease) both 2.5s; }
  .wsf-plan { left: var(--okx-pad); right: var(--okx-pad); top: 14px; bottom: calc(var(--cap) + 8px); width: auto; gap: 8px; }
  .wsf-plan-t { order: 0; gap: 8px; }
  .wsf-plan-t small { font-size: 13px; }
  .wsf-plan-t b { font-size: 44px; }
  .wsf-facts { order: 1; flex-wrap: wrap; gap: 5px; max-width: calc(100% - 156px); }
  .wsf-facts li { padding: 4px 10px; font-size: 12px; }
  .wsf-plan .wsn { order: 2; width: 100%; }
  .wsf-apt.is-on .wsf-plan-t { animation-delay: 3.2s; }
  .wsf-apt.is-on .wsn-wall { animation-delay: 3.4s; }
  .wsf-apt.is-on .wsn-balc, .wsf-apt.is-on .wsn-fur, .wsf-apt.is-on .wsn-door, .wsf-apt.is-on .wsn-win { animation-delay: 4.9s; }
  .wsf-apt.is-on .wsn-t { animation-delay: calc(5.1s + var(--i, 0) * .1s); }
  .wsf-apt.is-on .wsf-facts li { animation-delay: calc(3.5s + var(--i) * .1s); }
  /* 03 tour */
  .wsf-rooms { top: 14px; left: var(--okx-pad); }
  .wsf-rooms li { padding: 5px 12px; font-size: 13px; }
  .wsf-deg { top: 56px; bottom: auto; left: var(--okx-pad); padding: 6px 12px 6px 8px; font-size: 13px; }
  .wsf-deg i { width: 18px; height: 18px; }
  /* 04 view */
  .wsf-view-frame { box-shadow: inset 0 0 0 10px var(--black); }
  .wsf-view-frame i { width: 5px; }
  .wsf-view::after { background: linear-gradient(to bottom, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 30%); }
  .wsf-view-floors { left: 18px; top: calc((100% - var(--cap)) / 2); gap: 3px; }
  .wsf-view-floors li { width: 36px; height: 26px; font-size: 11px; }
  .wsf-view-floors li.is-on { width: 54px; }
  .wsf-view-tag { left: auto; inset-inline-start: var(--okx-pad); top: 22px; padding: 8px 14px; transform: none; }
  .wsf-view-tag b { font-size: 22px; }
  .wsf-view-tag span { font-size: 12px; }
  /* 05 assistant: the chat; the lead card arrives on top of it like a notification */
  .wsf-ai-bld { display: none; }
  .wsf-chat { left: var(--okx-pad); right: var(--okx-pad); top: 14px; width: auto; max-width: 560px; }
  .wsf-crm { top: 10px; inset-inline: calc(var(--okx-pad) + 12px); width: auto; max-width: 420px; box-shadow: 0 24px 40px -16px rgba(0, 0, 0, .85); }
  /* 06 works: the site's screen on top, the phone and the name under it */
  .wsf-cut::after { background: linear-gradient(to top, rgba(0, 0, 0, .92), rgba(0, 0, 0, .2) 70%); }
  .wsf-cut-web { left: var(--okx-pad); right: var(--okx-pad); top: 14px; width: auto; }
  .wsf-cut-mob { left: var(--okx-pad); top: auto; bottom: calc(var(--cap) + 12px); width: clamp(96px, 27vw, 150px); padding: 4px; border-radius: 16px; }
  .wsf-cut-mob img { border-radius: 12px; }
  .wsf-cut-meta { top: auto; bottom: calc(var(--cap) + 14px); gap: 6px; width: calc(100% - 2 * var(--okx-pad) - clamp(96px, 27vw, 150px) - 16px); }
  .wsf-cut-meta b { font-size: clamp(28px, 7.4vw, 44px); }
  .wsf-cut-meta small { font-size: 12px; }
  .wsf-cut-tags i { padding: 3px 9px; font-size: 11px; }
}

@media (max-width: 760px) {
  /* the demo: the three steps one under the other */
  .wsp-box { grid-template-columns: 1fr; }
  .wsp-col { gap: 12px; padding: 20px var(--okx-pad) 22px; }
  .wsp-col.is-apt { grid-column: auto; }
  .wsp-floors button { height: 38px; }
  .wsp-floors .ws-dots i { width: 30px; height: 16px; }
  .wsp-floor-t b, .wsp-apt-n { font-size: 26px; }
  .wsp-apts { gap: 5px; }
  .wsp-apts button { min-height: 56px; padding: 6px 8px; }
  .wsp-apts b { font-size: 18px; }
  .wsp-facts li { padding: 3px 8px; font-size: 12px; }
  .wsp-tabs button { padding: 0 2px; font-size: 13px; }
  .wsp-panel { height: 310px; }
  .wsp-foot { flex-wrap: wrap; gap: 10px; }
  .wsq { gap: 10px; padding: 14px; }
  .wsq-m { max-width: 92%; font-size: 14px; }
  .wsq-ask button { font-size: 12px; }
  .wsv-tag { top: 16px; inset-inline-start: 16px; }
  .wsv-tag b { font-size: 17px; }
  .wsv-note { bottom: 14px; inset-inline-start: 14px; max-width: calc(100% - 28px); font-size: 11px; }
  .wst-hint { font-size: 11px; }
  .wst-rooms { gap: 4px; }
  .wst-rooms button { min-height: 40px; font-size: 13px; }

  .wsm-gal { width: 140px; }

  .wsa-lead { font-size: 16px; }
  .wsa-items { grid-template-columns: 1fr; gap: 20px; margin: 30px 0 28px; }
  .wsa-demo { grid-template-columns: 1fr; gap: 12px; }
  .wsa-demo .wsc, .wsa-demo .wsc-crm { grid-row: auto; }
  .wsa-bld { display: none; }

  .wso-items { grid-template-columns: 1fr; margin-top: 24px; }
  .wso-demo { gap: 12px; padding: 16px; }
  .wso-search { height: 44px; padding: 0 16px; font-size: 14px; }
  .wso-res { padding: 16px; }
  .wso-title { font-size: 17px; }
  .wso-seen { padding: 16px; }
  .wso-seen ul { grid-template-columns: 1fr 1fr; }

  /* landing pages per audience: a carousel swiped by hand */
  .wsl-grid { display: flex; gap: 12px; margin-inline: calc(-1 * var(--okx-pad)); padding: 0 var(--okx-pad) 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .wsl-grid::-webkit-scrollbar { display: none; }
  .wsl-grid:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }
  .wsl-card { flex: 0 0 76%; scroll-snap-align: center; }
  .wsl-card:hover .wsl-page { transform: none; }
  .wsl-foot { flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 20px; }
  .wsl-flow { flex-wrap: wrap; row-gap: 10px; }
  .wsl-flow li { font-size: 14px; }
  .wsl-flow li + li::before { width: 16px; margin-inline: 8px; }

  .wsw-grid { grid-template-columns: 1fr; gap: 30px; }
  .wsw-meta b { font-size: 24px; }
  .wsw-mob { padding: 4px; border-radius: 14px; }
  .wsw-mob img { border-radius: 10px; }
  .wsw-more { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .wsr-hot-r, .wso-search i, .wsq-m, .wsc.is-on .wsc-m { animation: none !important; }
  .wsr-cam.is-ease, .wsv-img, .wsv-sky, .wsm *, .wsl-page, .wsl-pic img, .wsw-bg, .wsw-web, .wsw-mob, .wsw-thumb img, .wso-seen li span { transition: none !important; }
  .wsf-key { animation: none !important; }
  .bri-card:hover .wsm-pick i { animation: none; }
}
