/* =========================================================
   Remez 44 — crisp, glassy, Hebrew RTL
   Spacing scale (4px base): --s1 4 · --s2 8 · --s3 12 · --s4 16 · --s5 24
   --s6 32 · --s7 48 · --s8 64 · --s9 96 · --s10 128
   ========================================================= */
:root {
  --paper: #fbfaf7;
  --cream: #f4f1ea;
  --ink: #171614;
  --ink-2: #55524b;
  --ink-3: #6b675e;
  --line: rgba(23,22,20,.12);
  --line-strong: rgba(23,22,20,.3);
  --gold: #8a6a35;
  --gold-deep: #6e5428;
  --green: #2f7d4f;
  --red: #b8342f;
  --yellow: #866207;   /* sold (נמכרה): dark enough to read as text on cream */
  --glass: rgba(255,255,255,.48);
  --glass-solid: rgba(255,255,255,.78);
  --glass-dark: rgba(16,15,13,.7);
  --glass-line: rgba(255,255,255,.55);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --nav-bar: 84px;   /* the bar itself: 36px content + 24px padding top and bottom */
  --nav-top: 24px;   /* gap from the top and side edges */
  --nav-h: 108px;    /* space the floating bar occupies: bar + top gap */
  --radius: 20px;
  --font: "Heebo", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
  --shadow-float: 0 18px 50px -12px rgba(23,22,20,.35), 0 2px 6px rgba(23,22,20,.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
h1,h2,h3,h4 { margin: 0; font-weight: 600; letter-spacing: -.015em; text-wrap: balance; }
p { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
dd { margin: 0; }
::selection { background: rgba(138,106,53,.25); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
* { scrollbar-width: thin; scrollbar-color: rgba(23,22,20,.25) transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-thumb { background: rgba(23,22,20,.25); border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
*::-webkit-scrollbar-track { background: transparent; }

[hidden] { display: none !important; }
/* Hebrew direction safeguards: every text block resolves its own direction from its first letter, so
   Hebrew reads right-to-left even inside left-to-right widgets (viewer, map, tour); SVG labels included */
html { direction: rtl; }
body, p, li, td, th, h1, h2, h3, h4, dt, dd, figcaption, label, button, small, .lead, .display { unicode-bidi: isolate; }   /* keeps the page right-to-left; Latin names stay right-aligned */
.stage__overlay text { direction: rtl; unicode-bidi: plaintext; }
.wrap { width: min(1240px, 100% - var(--s7)); margin-inline: auto; }
.label { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.display { font-size: clamp(40px, 6vw, 88px); font-weight: 600; line-height: 1.02; letter-spacing: -.03em; }
.h2 { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.1; letter-spacing: -.025em; }
.h3 { font-size: clamp(21px, 2.2vw, 28px); line-height: 1.25; }
.lead { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.body { font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 68ch; }
.body p + p { margin-top: var(--s4); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); padding: 0 var(--s5); height: 46px; border-radius: 999px; font-weight: 500; font-size: 14px; letter-spacing: .03em; border: 0; background: var(--ink); color: #fff; transition: background .2s, color .2s, transform .2s; white-space: nowrap; }
.btn:hover { background: #2b2925; }
.btn:active { transform: scale(.98); }
.btn--line { background: rgba(23,22,20,.07); color: var(--ink); border-color: transparent; }
.btn--line:hover { background: rgba(23,22,20,.12); }
.btn--lg { height: 52px; padding: 0 var(--s6); font-size: 15px; }
.btn svg, .chip svg, .round svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- NAV (glass) ---------- */
/* navbar: see-through over the hero; once the page scrolls (or on light pages, .nav--solid) it turns white with ink type and the developer logo, in black, on the right beside the wordmark */
.nav { position: fixed; inset-inline: var(--nav-top); top: var(--nav-top); z-index: 100; height: var(--nav-bar); border-radius: 4px; background: transparent; border: 0; box-shadow: none; transition: background .3s, box-shadow .3s, opacity .3s, transform .3s; }
.nav.is-scrolled, .nav--solid { background: #fff; box-shadow: 0 8px 30px rgba(0,0,0,.1); }
body.is-modal .nav, body.is-panning .nav { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.nav__inner { width: 100%; padding: 0 24px; height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.nav__start { justify-self: start; display: flex; align-items: center; gap: var(--s4); }
.nav__brand { display: flex; align-items: center; gap: 6px; color: #fff; font-size: 20px; letter-spacing: -.01em; transition: color .3s; }
.nav__brand b { font-weight: 700; } .nav__brand span { font-weight: 300; }
.nav__mark { display: block; width: 26px; height: auto; margin-inline-end: 4px; }
.nav__menu { display: flex; align-items: center; gap: var(--s6); }
.nav__menu a { color: #fff; font-size: 14px; font-weight: 500; letter-spacing: .05em; opacity: .85; position: relative; padding: var(--s2) 0; transition: opacity .2s, color .3s; text-shadow: 0 1px 8px rgba(0,0,0,.3); }
.nav__menu a:hover, .nav__menu a.is-active { opacity: 1; }
.nav__menu a::after { content: ""; position: absolute; inset-inline: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .25s var(--ease); }
.nav__menu a.is-active::after { transform: scaleX(1); }
.nav__end { justify-self: end; display: flex; align-items: center; gap: var(--s4); }
.nav__cta { color: #fff; font-size: 13px; letter-spacing: .05em; background: rgba(255,255,255,.16); border-radius: 4px; height: 36px; padding: 0 var(--s4); display: inline-flex; align-items: center; transition: background .2s, color .3s; }
.nav__cta:hover { background: rgba(255,255,255,.28); }
.nav__logo { display: block; height: 36px; width: auto; max-width: 120px; filter: brightness(0) invert(1) drop-shadow(0 1px 6px rgba(0,0,0,.35)); transition: filter .3s; }   /* white over the hero, black on the white bar */
.nav.is-scrolled .nav__brand, .nav--solid .nav__brand, .nav.is-scrolled .nav__menu a, .nav--solid .nav__menu a, .nav.is-scrolled .nav__cta, .nav--solid .nav__cta { color: var(--ink); text-shadow: none; }
.nav.is-scrolled .nav__cta, .nav--solid .nav__cta { background: rgba(23,22,20,.06); }
.nav.is-scrolled .nav__cta:hover, .nav--solid .nav__cta:hover { background: rgba(23,22,20,.12); }
.nav.is-scrolled .nav__logo, .nav--solid .nav__logo { filter: brightness(0); }
.nav__logo.nav__logo--mark { height: 30px; }   /* the mark between the developer logo and the רמז 44 wordmark */
.nav.is-scrolled .nav__burger span, .nav--solid .nav__burger span { background: var(--ink); }
.hero .hero__logo { transition: opacity .3s; }
@media (min-width: 861px) { .hero .hero__logo { display: none; } }   /* the navbar carries the logo; phones, whose bar has no room for it, keep it in the hero */
.nav__burger { display: none; justify-self: end; background: none; border: 0; width: 44px; height: 44px; position: relative; }
.nav__burger span { position: absolute; inset-inline: 12px; height: 1.5px; background: #fff; transition: transform .3s, top .3s; }
.nav__burger span:first-child { top: 17px; } .nav__burger span:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
@media (max-width: 860px) {
  /* phones: no logo, no phone button, no burger - the four items sit inline, centred, always visible */
  :root { --nav-bar: 60px; --nav-h: 84px; }   /* phones keep the slimmer bar */
  .nav__inner { grid-template-columns: 1fr; width: 100%; padding: 0; }
  .nav__start, .nav__end, .nav__burger { display: none; }
  .nav__menu { justify-content: center; gap: 0; width: 100%; }
  .nav__menu a { flex: 1; text-align: center; font-size: 13px; letter-spacing: .02em; padding: var(--s2) var(--s1); white-space: nowrap; }
  .nav__menu a::after { inset-inline: 25%; }
}
}

/* ---------- page header ---------- */
.page-head { padding: calc(var(--nav-h) + var(--s9)) 0 var(--s7); }
.page-head .lead { margin-top: var(--s5); }
.page-head--tight { padding-bottom: var(--s6); }

/* ---------- EXPLORER ---------- */
body[data-page="apartments"], body[data-page="neighborhood"] { background: #0f0e0c; }
.explorer { position: relative; width: 100vw; height: 100vh; height: 100dvh; min-height: 640px; overflow: hidden; background: #0f0e0c; --hero-px: 50%; --hero-py: 45%; }
.stage__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-px) var(--hero-py); opacity: 0; transform: scale(1.03); transition: opacity .7s var(--ease), transform .9s var(--ease); user-select: none; -webkit-user-drag: none; }
.stage__img.is-active { opacity: 1; transform: none; }
.explorer.is-grab { cursor: grab; }
.explorer.is-grabbing { cursor: grabbing; }
.stage__overlay { position: absolute; top: 0; left: 0; }
.stage__overlay polygon { fill: rgba(255,255,255,0); stroke: rgba(255,255,255,0); stroke-width: 1.25; cursor: pointer; transition: fill .25s, stroke .25s; pointer-events: all; }
.stage__overlay g.is-match polygon { fill: rgba(255,255,255,.16); stroke: rgba(255,255,255,.6); }
.stage__overlay g.is-dim polygon { fill: rgba(15,14,12,.5); }
.stage__overlay g:hover polygon, .stage__overlay g.is-hot polygon { fill: rgba(15,14,12,.45); stroke: #fff; }
.stage__overlay g.is-selected polygon { fill: rgba(138,106,53,.45); stroke: #fff; }
.stage__overlay text { fill: #fff; font: 500 15px var(--font); letter-spacing: .03em; pointer-events: none; opacity: 0; transition: opacity .25s; filter: drop-shadow(0 0 6px rgba(0,0,0,.75)) drop-shadow(0 0 2px rgba(0,0,0,.6)); }
.stage__overlay g:hover text, .stage__overlay g.is-hot text { opacity: 1; }
/* hotspot edit mode (?edit) */
.stage__overlay.is-editing polygon { fill: rgba(255,255,255,.12); stroke: rgba(255,255,255,.9); stroke-width: 1.5; cursor: move; }
.stage__overlay.is-editing text { opacity: 1; }
.stage__overlay .handle { fill: var(--gold); stroke: #fff; stroke-width: 2; cursor: grab; }
.stage__overlay .handle:active { cursor: grabbing; }
.stage__overlay.is-drawing { cursor: crosshair; }
.stage__overlay.is-drawing g:not(.draw-layer) { opacity: .25; pointer-events: none; }
.edit-hud select { height: 30px; border: 0; border-radius: 999px; padding: 0 var(--s3); background: rgba(23,22,20,.08); color: var(--ink); font: inherit; font-size: 12px; }
.edit-hud #editHint { max-width: 260px; }
.edit-hud { position: absolute; z-index: 6; top: calc(var(--nav-h) + var(--s4)); inset-inline-start: 50%; transform: translateX(50%); display: flex; align-items: center; gap: var(--s3); padding: var(--s2) var(--s3); border-radius: 999px; background: var(--glass-solid); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: var(--shadow-float); font-size: 12px; color: var(--ink-2); }
.explorer.is-editing .stage__side, .explorer.is-editing .stage__title, .explorer.is-editing .stage__shade { display: none; }
.edit-hud b { color: var(--ink); }
.edit-hud button { border: 0; border-radius: 999px; height: 30px; padding: 0 var(--s3); background: var(--ink); color: #fff; font-size: 12px; }
.edit-hud button + button { background: rgba(23,22,20,.08); color: var(--ink); }
.stage__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(0,0,0,.5) 0, transparent 24%), linear-gradient(to top, rgba(0,0,0,.4) 0, transparent 30%); }
.stage__title { transition: opacity .3s; }
.stage__title.is-faded { opacity: 0; pointer-events: none; }
.stage__title { position: absolute; top: calc(var(--nav-h) + var(--s5)); inset-inline-end: var(--s6); color: #fff; z-index: 3; text-align: start; }
.stage__title h1 { font-size: 32px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.stage__title h1 span { font-weight: 300; }
.stage__title p { font-size: 13px; letter-spacing: .04em; color: rgba(255,255,255,.8); margin-top: var(--s1); }
.stage__side { position: absolute; inset-inline-end: var(--s6); bottom: var(--s6); display: flex; flex-direction: column; gap: var(--s3); z-index: 3; }
.round { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--glass-solid); color: var(--ink); border: 0; -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: var(--shadow-float); transition: transform .2s, background .2s; }
.round:hover { transform: translateY(-2px); background: rgba(255,255,255,.8); }
/* rotate chip: floats just outside the building's left edge, mid-height; placed by syncOverlay() from REMEZ.views[k].anchor */
.rotate-chip { position: absolute; z-index: 3; padding: var(--s1); border-radius: 999px; background: var(--glass-solid); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: var(--shadow-float); transition: left .5s var(--ease), top .5s var(--ease); }
.explorer.is-editing .rotate-chip { opacity: .5; }
.stage__bar { position: absolute; bottom: var(--s6); inset-inline-start: 50%; transform: translateX(50%); display: flex; gap: var(--s1); z-index: 3; padding: var(--s1); border-radius: 999px; background: var(--glass-solid); border: 0; -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: var(--shadow-float); }
.chip { display: inline-flex; align-items: center; gap: var(--s2); height: 38px; padding: 0 var(--s4); border-radius: 999px; background: transparent; color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: .04em; border: 0; transition: background .2s, color .2s; }
.chip:hover { background: rgba(23,22,20,.06); }
.chip.is-on { background: var(--ink); color: #fff; }

.panel { position: absolute; z-index: 4; top: calc(var(--nav-h) + var(--s4)); inset-inline-start: var(--s4); width: 292px; max-height: calc(100svh - var(--nav-h) - var(--s6)); display: flex; flex-direction: column; border-radius: var(--s4); background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(32px) saturate(180%); backdrop-filter: blur(32px) saturate(180%); box-shadow: var(--shadow-float), inset 0 1px 0 rgba(255,255,255,.6); overflow: hidden; }
.panel { transition: transform .5s var(--ease), opacity .4s; }
.panel.is-hidden { transform: translateX(calc(100% + var(--s6))); opacity: 0; pointer-events: none; }
.panel-toggle { position: absolute; z-index: 5; top: calc(var(--nav-h) + var(--s4) + 12px); inset-inline-start: calc(var(--s4) + 292px - 13px); width: 26px; height: 26px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--glass-solid); color: var(--ink); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: var(--shadow-float); transition: inset-inline-start .5s var(--ease), transform .2s; }
.panel-toggle svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.panel-toggle:hover { transform: scale(1.06); }
.panel-toggle.is-collapsed { inset-inline-start: var(--s4); }
.panel-toggle.is-collapsed svg { transform: scaleX(-1); }
.panel__scroll { overflow-y: auto; padding: var(--s4) var(--s4) var(--s4); }
.panel__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s3); padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.panel__head h2 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; line-height: 1.1; }
.panel__count { font-size: 12px; letter-spacing: .02em; color: var(--ink-2); margin-top: 2px; }
.panel__clear { background: none; border: 0; padding: 0; font-size: 11px; letter-spacing: .04em; color: var(--gold-deep); line-height: 1.2; }
.panel__clear:hover { text-decoration: underline; text-underline-offset: 3px; }
.fgroup { padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.fgroup .label, .results .label { display: block; margin-bottom: var(--s2); color: var(--ink-2); font-size: 11px; }
.toggles { display: flex; flex-wrap: wrap; gap: 6px; }
.tg { border: 0; background: rgba(255,255,255,.7); border-radius: 999px; min-width: 32px; height: 32px; padding: 0 var(--s3); font-size: 13px; font-weight: 500; color: var(--ink); transition: .2s; display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); }
.tg:hover { background: rgba(255,255,255,.95); }
.tg.is-on { background: var(--ink); color: #fff; }
.tg--status { padding: 0 var(--s3); letter-spacing: .02em; font-size: 11px; font-weight: 600; height: 30px; }
.tg--status i { width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.tg--status.is-on { background: color-mix(in srgb, var(--c) 16%, #fff); color: var(--c); }
.range { position: relative; height: 28px; margin: 0 var(--s2); }
.range__track { position: absolute; top: 13px; inset-inline: 0; height: 1.5px; background: var(--line-strong); }
.range__fill { position: absolute; top: 13px; height: 1.5px; background: var(--ink); }
.range input[type=range] { position: absolute; inset-inline: 0; top: 3px; width: 100%; margin: 0; height: 20px; background: transparent; pointer-events: none; -webkit-appearance: none; appearance: none; }
.range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 1.5px solid var(--ink); pointer-events: auto; cursor: grab; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.range input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 1.5px solid var(--ink); pointer-events: auto; cursor: grab; }
.range__vals { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); margin-top: 0; padding: 0 var(--s2); }
.results { padding-top: var(--s3); }
.results .label { display: block; margin-bottom: var(--s2); }
#results { display: grid; gap: 2px; margin-inline: calc(-1 * var(--s3)); }
.unit { display: grid; grid-template-columns: 36px 1fr auto; gap: var(--s3); align-items: center; padding: var(--s3) var(--s3); border: 0; border-radius: 12px; width: 100%; background: none; text-align: start; transition: background .2s; }
.unit:hover, .unit.is-hot, .unit:focus-visible { background: rgba(255,255,255,.5); }
.unit:focus, .unit:focus-visible { outline: none; }   /* no ring on list rows; the white fill marks the row */
.unit__num { font-size: 19px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.unit__num small { display: block; font-size: 9px; letter-spacing: .1em; color: var(--ink-3); font-weight: 500; margin-top: var(--s1); }
/* type and size stay hidden until the row is hovered (or focused); on touch screens they are always shown */
.unit__meta { display: grid; grid-template-rows: 0fr; opacity: 0; font-size: 12px; color: var(--ink-2); line-height: 1.45; transition: grid-template-rows .3s var(--ease), opacity .2s; }
.unit__meta > span { min-height: 0; overflow: hidden; }
.unit:hover .unit__meta, .unit:focus-visible .unit__meta, .unit.is-hot .unit__meta { grid-template-rows: 1fr; opacity: 1; }
@media (hover: none) { .unit__meta { grid-template-rows: 1fr; opacity: 1; } }
.unit__meta b { color: var(--ink); font-weight: 600; }
.unit__status { font-size: 10px; letter-spacing: .05em; font-weight: 600; color: var(--c); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.unit__status i { width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.unit__plan { font-size: 10px; letter-spacing: .04em; color: var(--gold-deep); margin-top: var(--s1); display: block; }
/* guided picker: entry button at the top of the filters, then the questions in place of them */
.finder-cta { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); width: 100%; margin-bottom: var(--s4); padding: var(--s3) var(--s4); border: 0; border-radius: 12px; background: var(--ink); color: #fff; text-align: start; transition: background .2s, transform .2s; }
.finder-cta:hover { background: #2b2925; }
.finder-cta:active { transform: scale(.985); }
.finder-cta b { display: block; font-size: 14px; font-weight: 600; }
.finder-cta small { display: block; font-size: 11px; color: rgba(255,255,255,.72); margin-top: 2px; }
.finder-cta svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* the selector itself, after the Pinkas step selector: white panel, pill answers with a soft shadow, light title */
.finder { --f-shadow: 10px 10px 54px rgba(0,0,0,.08); --f-line: #eeeeec; --f-mute: #9a9894; }
.finder__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.finder__exit { background: none; border: 0; padding: 0; font-size: 12px; letter-spacing: .02em; color: var(--ink-2); }
.finder__exit:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.finder__count { font-size: 12px; font-weight: 500; color: var(--ink-2); }
.finder__progress { display: flex; gap: 6px; margin: var(--s4) 0 0; }
.finder__progress i { flex: 1; height: 4px; border-radius: 2px; background: #e8e8e6; transition: background .3s; }
.finder__progress i.is-on { background: var(--ink); }
.finder__body { padding-top: var(--s7); }
.finder__step { font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--f-mute); }
.finder__q { font-size: 32px; font-weight: 300; line-height: 1.2; letter-spacing: -.01em; margin-top: var(--s2); }
.finder__hint { font-size: 15px; color: #666664; margin-top: var(--s2); }
.finder__opts { display: grid; gap: var(--s3); margin-top: var(--s6); }
.fopt { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); width: 100%; min-height: 48px; padding: 10px var(--s5); border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--f-line), var(--f-shadow); text-align: start; font-size: 15px; transition: background .25s, color .25s, box-shadow .25s; }
.fopt:hover:not(:disabled) { box-shadow: inset 0 0 0 1px var(--line-strong), var(--f-shadow); }
.fopt b { display: inline; font-size: 15px; font-weight: 500; }
.fopt small { display: inline; font-size: 13px; color: var(--ink-2); }
.fopt small::before { content: " · "; }
.fopt em { flex: none; font-style: normal; font-size: 12px; color: var(--f-mute); }
.fopt.is-on, .fopt.is-on:hover:not(:disabled) { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1px var(--ink), var(--f-shadow); }
.fopt.is-on small, .fopt.is-on em { color: rgba(255,255,255,.72); }
.fopt:disabled { cursor: not-allowed; color: #b0b0ae; box-shadow: inset 0 0 0 1px var(--f-line); }
.fopt:disabled small, .fopt:disabled em { color: #b0b0ae; }
.fopt--any { background: transparent; box-shadow: inset 0 0 0 1px var(--f-line); }
.fopt:focus-visible, .fcard__plan:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.finder__nav { display: flex; gap: var(--s3); margin-top: var(--s6); }
.finder__nav .btn { height: 44px; padding: 0 var(--s6); font-size: 15px; box-shadow: var(--f-shadow); }
.finder__nav .btn--line { background: #fff; box-shadow: inset 0 0 0 1px var(--ink), var(--f-shadow); }
.finder__nav .btn--line:hover { background: var(--cream); }
/* "Next" before an answer: grey and labelled "choose an answer", so it never passes for a live button */
.finder__next:disabled { background: #e8e8e6; color: #9a9894; box-shadow: none; cursor: not-allowed; }
.finder__cards { display: grid; gap: var(--s4); margin-top: var(--s5); }
.fcard { border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: inset 0 0 0 1px var(--f-line), var(--f-shadow); }
.fcard__plan { display: block; width: 100%; padding: 0; border: 0; background: #fff; cursor: zoom-in; }
.fcard__plan img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.fcard__body { padding: var(--s4) var(--s5) var(--s5); }
.fcard h3 { font-size: 20px; font-weight: 500; }
.fcard h3 small { display: block; font-size: 13px; font-weight: 400; color: var(--ink-2); letter-spacing: 0; margin-top: 2px; }
.fcard p { font-size: 13px; color: var(--ink-2); line-height: 1.6; margin-top: var(--s2); }
.fcard__actions { display: flex; gap: var(--s2); margin-top: var(--s4); }
.fcard__actions .btn { flex: 1; height: 40px; padding: 0 var(--s3); font-size: 14px; }
.fcard__actions .btn--line { background: #fff; box-shadow: inset 0 0 0 1px var(--ink); }

/* desktop: while the selector is open the page splits, the live building on the left, a full-height white panel on the right */
@media (min-width: 761px) {
  .explorer.is-finding { --split: clamp(340px, 30vw, 440px); }   /* a narrow question panel; the building gets the rest */
  .explorer.is-finding > .stage__img { left: 0; right: auto; width: calc(100% - var(--split)); }
  .explorer.is-finding .panel { top: 0; bottom: 0; inset-inline-start: 0; width: var(--split); max-height: none; border-radius: 0; border: 0; background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
  .explorer.is-finding .panel__scroll { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; padding: calc(var(--nav-h) + var(--s5)) clamp(var(--s6), 4vw, 56px) var(--s6); }
  .explorer.is-finding .finder { width: 100%; max-width: 340px; margin-inline: auto; }
  .explorer.is-finding .panel-toggle, .explorer.is-finding .stage__title, .explorer.is-finding .stage__bar { opacity: 0; pointer-events: none; }
  .explorer.is-finding .stage__side { inset-inline-end: auto; left: var(--s6); }
}
@media (max-width: 760px) {
  .finder__body { padding-top: var(--s6); }
  .finder__q { font-size: 26px; }
  [data-page="apartments"] .explorer.is-finding .panel { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .finder__nav .btn { flex: 1; }
}
.results__empty { padding: var(--s4) 0; color: var(--ink-2); font-size: 13px; line-height: 1.6; }
@media (max-width: 760px) {
  .explorer { width: auto; height: auto; min-height: 0; display: grid; grid-template-rows: 62svh auto; }
  .explorer > .stage__img, .explorer > .stage__overlay, .explorer > .stage__shade { grid-row: 1; }
  /* the shade covers only the image on phones (not the whole stacked page): a light fade behind the navbar */
  .explorer > .stage__shade { bottom: auto; height: 62svh; background: linear-gradient(to bottom, rgba(0,0,0,.28) 0, transparent 22%); }
  .stage__img { position: absolute; height: 62svh; }
  .explorer > .scene__pano, .explorer > .scene__map { grid-row: 1; height: 62svh; bottom: auto; }
  .panel-toggle { display: none; }
  .panel.is-hidden { transform: none; opacity: 1; pointer-events: auto; }
  .panel { position: static; width: auto; max-height: none; border-radius: var(--radius) var(--radius) 0 0; margin-top: -24px; z-index: 4; box-shadow: 0 -10px 30px rgba(0,0,0,.2); grid-row: 2; background: var(--cream); -webkit-backdrop-filter: none; backdrop-filter: none; border-color: var(--line); }
  .panel__scroll { padding: var(--s5) var(--s5) var(--s7); }
  .tg { background: #fff; box-shadow: 0 1px 2px rgba(23,22,20,.06); }
  .tg.is-on { background: var(--ink); }
  .explorer { --hero-px: 56%; }
  .stage__title { inset-inline-end: var(--s5); }
  .stage__side { position: absolute; top: calc(62svh - 48px - 52px); bottom: auto; inset-inline-end: var(--s4); flex-direction: row; }
  .stage__bar { position: absolute; top: calc(62svh - 48px - 50px); bottom: auto; inset-inline-start: var(--s4); transform: none; }
  .compass { top: calc(var(--nav-h) + var(--s4)); bottom: auto; width: 48px; height: 48px; }
  .panel:not(.is-hidden) ~ .compass { inset-inline-start: var(--s4); }
  /* השכונה on phones: the compass sits in the bottom row, just after the phone button (mail, phone, compass, then the view switch) */
  .scene .compass, .scene .panel:not(.is-hidden) ~ .compass { inset-inline-start: auto; inset-inline-end: calc(var(--s4) + 48px + var(--s3) + 48px + var(--s2)); top: calc(62svh - 48px - 51px); width: 46px; height: 46px; }
  .scene .stage__bar .chip { padding: 0 10px; gap: 6px; }
  .chip { height: 40px; padding: 0 var(--s4); }
  .round { width: 48px; height: 48px; }
  /* הדירות on phones: the building stays put and the filter panel scrolls over it as 50% glass */
  [data-page="apartments"] .explorer { overflow: visible; background: var(--cream); }
  [data-page="apartments"] .explorer > .stage__img, [data-page="apartments"] .explorer > .stage__overlay, [data-page="apartments"] .explorer > .stage__shade { position: fixed; z-index: 0; }
  [data-page="apartments"] .stage__title, [data-page="apartments"] .stage__side, [data-page="apartments"] .stage__bar { position: fixed; }
  [data-page="apartments"] .panel { position: relative; inset: auto; background: rgba(255,255,255,.1); -webkit-backdrop-filter: blur(28px) saturate(150%); backdrop-filter: blur(28px) saturate(150%); border-color: rgba(255,255,255,.55); box-shadow: 0 -10px 30px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.6); }
}

/* ---------- MODAL (plan) ---------- */
.modal { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; visibility: hidden; }
.modal[aria-hidden="false"] { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(23,22,20,.35); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.modal__box { position: relative; width: min(1240px, 100% - var(--s6)); height: min(780px, 100% - var(--s6)); background: rgba(255,255,255,.5); -webkit-backdrop-filter: blur(40px) saturate(170%); backdrop-filter: blur(40px) saturate(170%); border: 1px solid rgba(255,255,255,.55); border-radius: var(--radius); display: grid; grid-template-columns: 340px 1fr; overflow: hidden; transform: translateY(12px); opacity: 0; transition: .35s var(--ease); box-shadow: var(--shadow-float); }
.modal[aria-hidden="false"] .modal__backdrop { opacity: 1; }
.modal[aria-hidden="false"] .modal__box { transform: none; opacity: 1; }
.modal__close { position: absolute; top: var(--s4); inset-inline-end: var(--s4); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.7); font-size: 22px; line-height: 1; z-index: 2; }
.modal__side { padding: var(--s7) var(--s6) var(--s6); background: rgba(255,255,255,.22); display: flex; flex-direction: column; gap: var(--s5); border-inline-end: 1px solid rgba(255,255,255,.55); box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }
.modal__title { font-size: 36px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.modal__title small { display: block; font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--ink-2); margin-top: var(--s2); }
.specs { border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; align-items: baseline; padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: 12px; letter-spacing: .04em; color: var(--ink-3); }
.specs dd { font-size: 17px; font-weight: 600; }
/* layout alternatives (penthouse 25): one strip of tabs under the title */
.modal__alts { display: flex; gap: 2px; padding: 2px; border-radius: 4px; background: rgba(23,22,20,.06); }
.modal__alts[hidden] { display: none; }
.modal__alts button { flex: 1; height: 36px; border: 0; border-radius: 3px; background: transparent; font: inherit; font-size: 13px; font-weight: 500; color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.modal__alts button:hover { background: rgba(255,255,255,.8); }
.modal__alts button.is-on { background: var(--ink); color: #fff; }
.modal__actions { display: flex; flex-direction: column; gap: var(--s2); margin-top: auto; }
.modal__caption { margin-top: var(--s3); font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.modal__noplan { display: grid; gap: var(--s3); align-content: center; justify-items: start; min-height: 320px; padding: var(--s7); background: rgba(255,255,255,.5); border-radius: var(--s4); color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.modal__noplan b { color: var(--ink); font-size: 18px; font-weight: 600; }
.modal__noplan a { color: var(--gold-deep); font-weight: 600; }
.modal__fine { font-size: 11px; color: var(--ink-3); line-height: 1.5; }
.modal__media { display: grid; place-items: center; overflow: auto; padding: var(--s5); background: rgba(255,255,255,.55); }
.modal__media img { background: #fff; border-radius: var(--s3); box-shadow: 0 8px 30px rgba(0,0,0,.12); }
.modal__media img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 820px) {
  .modal__box { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: min(92svh, 100% - var(--s5)); width: calc(100% - var(--s5)); min-width: 0; }
  .modal__side, .modal__media { min-width: 0; }
  .modal__side { padding: var(--s6) var(--s5) var(--s5); border-inline-end: 0; border-bottom: 1px solid var(--line); gap: var(--s4); }
  .modal__actions { flex-direction: row; flex-wrap: wrap; }
  .modal__actions .btn { flex: 1 1 auto; white-space: normal; height: auto; padding: var(--s3) var(--s4); }
}

/* ---------- PROJECT (editorial) ---------- */
/* full-viewport hero: render with the headline at the bottom over a dark gradient */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #111; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #111; }
.hero--video { position: fixed; inset: 0; height: 100svh; z-index: 0; }   /* the video stays put; everything after it scrolls over */
.hero--video + .over { margin-top: 100svh; }
.footer { position: relative; z-index: 2; }
.over { position: relative; z-index: 2; background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(32px) saturate(110%) brightness(1.4); backdrop-filter: blur(32px) saturate(110%) brightness(1.4); border-top: 1px solid rgba(255,255,255,.6); box-shadow: 0 -20px 60px rgba(0,0,0,.18); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(10,9,8,.88) 0, rgba(10,9,8,.5) 32%, rgba(10,9,8,0) 62%), linear-gradient(to bottom, rgba(0,0,0,.4) 0, transparent 22%); }
.hero__text { position: absolute; inset-inline: 0; bottom: var(--s9); z-index: 1; color: #fff; }
.hero__center { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; color: #fff; text-align: center; padding: 0 var(--s5); }
.hero--video .hero__center { align-content: center; gap: var(--s6); }
.hero__find { box-shadow: var(--shadow-float); }
.hero__brand { font-size: clamp(56px, 9vw, 128px); font-weight: 300; letter-spacing: -.02em; line-height: 1; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero__brand b { font-weight: 700; }
.hero__brand { display: inline-flex; align-items: center; }
.hero .hero__mark { position: static; inset: auto; width: auto; height: .82em; object-fit: contain; margin-inline-end: .22em; filter: drop-shadow(0 2px 12px rgba(0,0,0,.3)); }   /* the pink רמז 44 mark, just before the name */
.hero__tagline { position: absolute; inset-inline: 0; bottom: var(--s9); margin: 0; font-size: clamp(18px, 2vw, 26px); font-weight: 400; letter-spacing: .01em; color: rgba(255,255,255,.92); text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.hero--video::after { background: linear-gradient(to top, rgba(10,9,8,.8) 0, rgba(10,9,8,.3) 30%, rgba(10,9,8,.15) 60%, rgba(10,9,8,.3) 100%); }
.hero__text .display { max-width: 15ch; }
.hero__cap { position: absolute; z-index: 1; top: calc(var(--nav-h) + var(--s5)); inset-inline-start: max(var(--s5), calc((100% - 1240px)/2)); color: #fff; font-size: 12px; letter-spacing: .04em; height: 32px; display: inline-flex; align-items: center; padding: 0 var(--s4); border-radius: 999px; background: rgba(16,15,13,.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
/* video hero: developer logo top-left under the navbar, disclaimer bottom-right */
.hero .hero__logo { position: absolute; z-index: 1; inset: auto; top: calc(var(--nav-top) + var(--nav-bar) + var(--s6)); left: var(--nav-top); width: 168px; height: auto; object-fit: contain; filter: drop-shadow(0 2px 12px rgba(0,0,0,.35)); }
.hero__note { position: absolute; z-index: 1; bottom: var(--s6); right: var(--nav-top); color: rgba(255,255,255,.9); font-size: 13px; letter-spacing: .02em; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
@media (max-width: 760px) {
  /* phones: a tall band (about 3:4 of the width), shorter than the screen so the heading shows below it */
  .hero--video { height: 134vw; min-height: 0; bottom: auto; }
  .hero--video + .over { margin-top: 134vw; }
  .hero--video .hero__center { top: var(--nav-h); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s2); }
  .hero--video .hero__brand { font-size: 44px; }
  .hero--video .hero__find { margin-top: var(--s3); height: 46px; padding: 0 var(--s5); font-size: 14px; }
  .hero--video .hero__tagline { position: static; font-size: 15px; }
  .hero .hero__logo { width: 84px; top: calc(var(--nav-h) + var(--s3)); left: var(--s4); }
  .hero__note { bottom: var(--s2); right: var(--s4); font-size: 12px; }
}
.hero--tour { position: relative; width: 100vw; height: 100vh; height: 100svh; min-height: 560px; background: #000; overflow: hidden; }
.hero--tour::after { display: none; }
.hero--tour + .page-head { padding-top: var(--s8); }
.hero__down { position: absolute; z-index: 2; bottom: var(--s5); left: 50%; transform: translateX(-50%); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: var(--glass-solid); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: var(--shadow-float); transition: transform .2s; }
.hero__down:hover { transform: translateX(-50%) translateY(2px); }
.hero__down svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* home hero on phones: a scroll cue at the bottom of the video that nudges down; desktop has none */
.hero__down--cue { display: none; }
@media (max-width: 760px) {
  .hero__down--cue { display: grid; bottom: var(--s7); width: 40px; height: 40px; animation: cue-nudge 1.8s var(--ease) infinite; }
  .hero__down--cue:hover { transform: translateX(-50%); }
}
@keyframes cue-nudge { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@media (prefers-reduced-motion: reduce) { .hero__down--cue { animation: none; } }
@media (max-width: 760px) { .hero--tour { height: 78svh; min-height: 0; } }
.hero--tour iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.hero--ph img { object-position: 50% 55%; }
.statement--center { text-align: center; padding: var(--s9) 0 var(--s7); }
.statement.statement--center .display { max-width: 44ch; margin-inline: auto; }
@media (max-width: 760px) { .statement.statement--center .display { max-width: none; font-size: 22px; } .statement--center { padding-inline: var(--s2); } }
.display--sm { font-size: clamp(26px, 3.2vw, 44px); font-weight: 500; line-height: 1.3; letter-spacing: -.02em; }
/* penthouse alternatives */
.alts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); padding-bottom: var(--s9); }
.alt { display: flex; flex-direction: column; background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 10px 40px rgba(23,22,20,.08); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.alt:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(23,22,20,.14); }
.alt figure { margin: 0; aspect-ratio: 4/3; overflow: hidden; background: #e8e4da; }
.alt img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.alt:hover img { transform: scale(1.04); }
.alt__body { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s5) var(--s5) var(--s6); flex: 1; }
.alt__body h2 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.alt__body h2 small { display: block; font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--ink-3); margin-top: var(--s1); }
/* the cards show each layout's real plan (cropped from the sheet); the whole plan is clickable */
.alt__plan { display: block; width: 100%; aspect-ratio: 4/3; padding: var(--s4); border: 0; background: #fff; cursor: zoom-in; box-shadow: inset 0 -1px 0 var(--line); overflow: hidden; }
.alt .alt__plan img { width: 100%; height: 100%; object-fit: contain; }
.ph-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); margin-top: var(--s2); }
.btn--glass { background: rgba(255,255,255,.16); color: #fff; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.btn--glass:hover { background: rgba(255,255,255,.26); }
.alt__body p { color: var(--ink-2); font-size: 15px; line-height: 1.55; flex: 1; }
.alt__body .btn { align-self: flex-start; }
.tour-band { padding: var(--s9) 0 0; background: var(--cream); }
.tour-band__head { padding-bottom: var(--s6); }
.tour-band__head .lead { margin-top: var(--s3); }
.tour-band__frame { height: 82svh; min-height: 520px; }
@media (max-width: 900px) { .alts { grid-template-columns: 1fr; } .tour-band__frame { height: 70svh; min-height: 0; } }
/* home page, phones only: the navbar's three logos sit above the project paragraph (the phone bar has no room for them) */
.logo-row { display: none; }
@media (max-width: 860px) {
  .logo-row { display: flex; align-items: center; justify-content: flex-start; gap: var(--s4); padding-top: var(--s6); }
  .logo-row__dev { height: 34px; width: auto; filter: brightness(0); }
  .logo-row__mark { height: 28px; width: auto; filter: brightness(0); }
  .logo-row__brand { display: flex; align-items: center; gap: 6px; color: var(--ink); font-size: 20px; letter-spacing: -.01em; }
  .logo-row__brand img { width: 24px; height: auto; margin-inline-end: 4px; }
  .logo-row__brand span { font-weight: 300; } .logo-row__brand b { font-weight: 700; }
  .logo-row + .statement { padding-top: var(--s5); }
}
/* the PropArties paragraphs match the project description below in size, one weight heavier */
.proparties .body p { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; font-weight: 500; }
.statement { padding: var(--s8) 0 var(--s8); }
.statement .display { max-width: 15ch; }
.statement .lead { max-width: 62ch; }
@media (max-width: 760px) { .hero { min-height: 0; } .hero__text { bottom: var(--s7); } .hero__cap { display: none; } }
/* six fact cards in one row */
.facts { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s3); margin: 0; }
.facts div { display: flex; flex-direction: column; justify-content: flex-start; gap: var(--s2); min-height: 136px; padding: var(--s4); border-radius: 4px; background: rgba(255,255,255,.45); border: 0; box-shadow: none; }
.facts__icon { width: 22px; height: 22px; color: var(--gold-deep); margin-bottom: var(--s1); }
.facts dt { font-size: 12px; letter-spacing: .02em; color: var(--ink-2); }
.facts dd { margin: auto 0 0; font-size: 17px; font-weight: 600; line-height: 1.3; }
@media (max-width: 1100px) { .facts { grid-template-columns: repeat(3, 1fr); } .facts div:last-child { grid-column: span 2; } }   /* 5 cards: the last one fills the rest of its row */
@media (max-width: 640px) { .facts { grid-template-columns: repeat(2, 1fr); } .facts div { min-height: 104px; } }
.two { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s8) var(--s9); padding: var(--s9) 0; align-items: start; }
.two--rev { grid-template-columns: 7fr 5fr; }
.two .h2 { max-width: 16ch; margin-bottom: var(--s5); }
.credits { border-top: 1px solid var(--ink); margin-top: var(--s6); }
.credits div { display: grid; grid-template-columns: 128px 1fr; gap: var(--s4); padding: var(--s3) 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.credits span { color: var(--ink-3); font-size: 12px; letter-spacing: .04em; padding-top: 2px; }
.drawing { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--s3); padding: var(--s3); }
.drawing img { width: 100%; border-radius: var(--s1); }
.drawing figcaption { font-size: 12px; color: var(--ink-3); letter-spacing: .04em; padding: var(--s3) var(--s1) var(--s1); }
.tex { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s4); margin-top: var(--s7); }
.tex figure { margin: 0; }
.tex img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--s3); border: 1px solid var(--line); }
.tex figcaption { font-size: 13px; font-weight: 500; margin-top: var(--s3); line-height: 1.35; }
.tex figcaption small { display: block; color: var(--ink-3); font-size: 11px; font-weight: 400; margin-top: 2px; }
.band { background: var(--cream); padding: 96px 24px; }
.band .two { padding: 0; }
.strip { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--s3); width: min(1400px, 100% - var(--s6)); margin: 0 auto; }
.strip figure { margin: 0; position: relative; aspect-ratio: 4/3; overflow: hidden; background: #e8e4da; border-radius: 4px; }
.strip figure:first-child { grid-row: span 2; aspect-ratio: auto; }
.strip img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform .9s var(--ease); }
.strip figure:hover img { transform: scale(1.03); }
.strip figcaption { position: absolute; bottom: var(--s3); inset-inline-start: var(--s3); color: #fff; font-size: 12px; letter-spacing: .04em; height: 30px; display: inline-flex; align-items: center; padding: 0 var(--s3); border-radius: 4px; background: rgba(16,15,13,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.table-wrap { padding: var(--s9) 0; }
.table-wrap .h2 { margin-bottom: var(--s6); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.apt-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.apt-table th, .apt-table td { text-align: right; vertical-align: middle; }
.apt-table th { font-weight: 500; color: var(--ink-3); font-size: 11px; letter-spacing: .04em; padding: 0 var(--s3) var(--s3); border-bottom: 1px solid var(--ink); white-space: nowrap; }
.apt-table td { padding: var(--s4) var(--s3); border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; white-space: nowrap; }
.apt-table td:first-child { font-weight: 600; font-size: 17px; line-height: 1.1; }
.apt-table td small { display: block; color: var(--ink-3); font-weight: 400; font-size: 11px; letter-spacing: .02em; margin-top: 3px; }
.apt-table td:last-child { text-align: left; }
.apt-table .unit__plan { display: inline-flex; align-items: center; gap: var(--s2); margin: 0; height: 32px; padding: 0 var(--s4); border: 0; border-radius: 999px; background: rgba(23,22,20,.07); color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .02em; transition: background .2s, color .2s; }
.apt-table tr:hover .unit__plan, .apt-table .unit__plan:hover, .apt-table .unit__plan:focus-visible { background: var(--ink); color: #fff; text-decoration: none; }
.apt-table tbody tr { cursor: pointer; }
.apt-table .st { display: inline-flex; align-items: center; gap: 7px; }
.apt-table .st i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
@media (max-width: 900px) {
  .band { padding: 64px 16px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .two, .two--rev { grid-template-columns: 1fr; gap: var(--s6); padding: var(--s8) 0; }
  .two .h2 { margin-bottom: 0; }   /* phones: heading to text is just the 32px gap */
  .tex { grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip figure:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16/10; }
  .statement { padding: var(--s8) 0 var(--s7); }
  .band, .table-wrap { padding: var(--s8) 0; }
}

/* ---------- NEIGHBORHOOD: full-screen panorama / map ---------- */
.scene__pano, .scene__map { position: absolute; inset: 0; z-index: 1; transition: opacity .35s; }
.scene[data-mode="pano"] .scene__map, .scene[data-mode="map"] .scene__pano { opacity: 0; pointer-events: none; }
.scene .pnlm-container { background: #0f0e0c; font-family: var(--font); direction: ltr; }
.scene .pnlm-load-box { display: none; }
.scene .stage__shade { z-index: 2; }
.scene[data-mode="map"] .stage__shade { opacity: 0; }
.scene[data-mode="map"] .stage__title { color: var(--ink); }
.scene[data-mode="map"] .stage__title p { display: none; }
.scene .stage__shade { transition: opacity .35s; }
.scene .map { background: #e9e5dc; }
.map-filters { display: flex; flex-wrap: wrap; gap: var(--s2); padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.map-filters button { background: rgba(255,255,255,.7); border: 0; border-radius: 999px; height: 30px; padding: 0 var(--s3); font-size: 12px; letter-spacing: .03em; font-weight: 500; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; transition: background .2s, color .2s; }
.map-filters button i { width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.map-filters button.is-active { background: var(--ink); color: #fff; }
.map-list { display: grid; gap: 2px; margin: var(--s2) calc(-1 * var(--s3)) 0; }
.map-list li button { width: 100%; text-align: start; background: transparent; border: 0; border-radius: 12px; padding: var(--s3); display: grid; grid-template-columns: 8px 1fr auto; gap: var(--s3); align-items: start; transition: background .2s; }
.map-list li button:hover, .map-list li button.is-active { background: rgba(255,255,255,.5); }
.map-list i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); margin-top: 6px; }
.map-list b { font-weight: 600; font-size: 14px; display: block; line-height: 1.25; }
.map-list small { color: var(--ink-2); font-size: 12px; display: block; margin-top: 2px; line-height: 1.45; }
.map-list .walk { font-size: 12px; letter-spacing: .02em; color: var(--ink-3); white-space: nowrap; padding-top: 2px; display: inline-flex; align-items: center; gap: 4px; }
.map-list .walk svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* compass: bottom corner, rotates with the view, click = face north */
.compass { position: absolute; z-index: 4; bottom: var(--s6); inset-inline-start: var(--s4); width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--glass-solid); color: var(--ink); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: var(--shadow-float); transition: inset-inline-start .5s var(--ease), opacity .3s; }
.compass:hover .compass__ring { stroke: rgba(23,22,20,.4); }
.compass svg { width: 36px; height: 36px; }
.compass__ring { fill: none; stroke: rgba(23,22,20,.18); stroke-width: 1; transition: stroke .2s; }
.compass__ticks { fill: none; stroke: rgba(23,22,20,.35); stroke-width: 1.2; stroke-linecap: round; }
.compass__dial { transform-origin: 24px 24px; }
.compass__n { fill: var(--gold); }
.compass__s { fill: rgba(23,22,20,.28); }
@media (min-width: 761px) { .panel:not(.is-hidden) ~ .compass { inset-inline-start: calc(var(--s4) + 292px + var(--s4)); } }
.scene[data-mode="map"] .compass { opacity: 0; pointer-events: none; }
.pano-hot { position: absolute; left: 0; top: 0; width: 10px; height: 10px; cursor: pointer; --stem: 68px; }   /* positioned by Pannellum from the top-left (page is RTL): no transform/transition here */
.pano-hot.is-off { display: none; }
.pano-hot .dot { position: absolute; inset: 0; border-radius: 50%; background: var(--c); border: 2px solid #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 35%, transparent), 0 2px 6px rgba(0,0,0,.4); transition: transform .2s; }
.pano-hot:hover .dot, .pano-hot.is-active .dot { transform: scale(1.4); }
/* thin leader line from the dot up to the floating label */
.pano-hot .stem { position: absolute; bottom: 100%; left: 50%; width: 1px; height: var(--stem); margin-left: -.5px; background: linear-gradient(to top, rgba(255,255,255,.95), rgba(255,255,255,.7)); pointer-events: none; }
.pano-hot .lbl { position: absolute; bottom: calc(100% + var(--stem)); left: 50%; transform: translateX(-50%); direction: rtl; unicode-bidi: plaintext; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; white-space: nowrap; padding: var(--s2) var(--s3); border-radius: 12px; color: #fff; background: var(--glass-dark); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 4px 16px rgba(0,0,0,.3); pointer-events: none; }
.pano-hot .lbl b { font-size: 13px; font-weight: 600; line-height: 1.2; }
.pano-hot .lbl .walk { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: rgba(255,255,255,.78); }
.pano-hot .lbl .walk svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pano-hot.is-active { z-index: 2; }
/* labels glide between heights and fade in and out (phones show only four at a time) */
@property --stem { syntax: "<length>"; inherits: true; initial-value: 68px; }
.pano-hot .stem, .pano-hot .lbl { transition: --stem .35s var(--ease), opacity .35s var(--ease); }
.pano-hot .dot { transition: transform .2s, opacity .35s var(--ease); }
.pano-hot.is-crowd { pointer-events: none; }
.pano-hot.is-crowd .stem, .pano-hot.is-crowd .lbl, .pano-hot.is-crowd .dot { opacity: 0; }
@media (max-width: 760px) {
  .pano-hot { width: 8px; height: 8px; }
  .pano-hot .dot { border-width: 1.5px; box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 35%, transparent), 0 1px 4px rgba(0,0,0,.4); }
  .pano-hot .lbl { gap: 1px; padding: var(--s1) var(--s2); border-radius: 8px; }
  .pano-hot .lbl b { font-size: 10px; }
  .pano-hot .lbl .walk { gap: 3px; font-size: 8px; }
  .pano-hot .lbl .walk svg { width: 8px; height: 8px; }
}
.leaflet-container { font-family: var(--font); background: #e9e5dc; }
.map-tiles { filter: grayscale(.7) saturate(.7) brightness(1.04) contrast(.92) sepia(.12); }
.pin { width: 13px; height: 13px; border-radius: 50%; background: var(--c); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); transition: transform .2s; }
.pin.is-active { transform: scale(1.6); }
.pin--site { width: 24px; height: 24px; background: var(--ink); border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(23,22,20,.15), 0 3px 10px rgba(0,0,0,.35); }
.leaflet-popup-content-wrapper { border-radius: var(--s3); box-shadow: var(--shadow-float); direction: rtl; unicode-bidi: plaintext; font-family: var(--font); }
.leaflet-popup-content { margin: var(--s3) var(--s4); font-size: 14px; }
.leaflet-popup-content b { display: block; font-size: 16px; margin-bottom: 3px; }
.leaflet-popup-content span { color: var(--ink-2); font-size: 13px; }
.leaflet-control-attribution { font-size: 10px; }
.leaflet-bar a { color: var(--ink); }

/* ---------- PENTHOUSE CTA ---------- */
.ph-cta { position: relative; display: grid; place-items: center; min-height: 480px; border-radius: 4px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.ph-cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.ph-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(23,22,20,.8), rgba(23,22,20,.5)); }
.ph-cta:hover > img { transform: scale(1.03); }
.ph-cta__body { display: flex; flex-direction: column; align-items: center; gap: var(--s4); padding: var(--s8) var(--s6); text-align: center; max-width: 60ch; }
.ph-cta__body .display { color: #fff; max-width: none; }
.ph-cta__body p { font-size: 16px; line-height: 1.55; color: #fff; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--cream); }

@media (max-width: 700px) { .ph-cta { min-height: 400px; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 140; background: rgba(12,11,10,.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 94vw; max-height: 90vh; border-radius: var(--s3); }
.lightbox button { position: absolute; top: var(--s4); inset-inline-end: var(--s4); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 22px; }

/* ---------- CONTACT ---------- */
/* ---------- CONTACT: image column + editorial form ---------- */
.contact-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 100svh; }
.contact-visual { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #171614; }
.contact-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.contact-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,9,8,.86) 0, rgba(10,9,8,.35) 45%, rgba(10,9,8,.15) 100%); }
.contact-visual__text { position: absolute; inset-inline: var(--s7); bottom: var(--s8); color: #fff; z-index: 1; }
.contact-visual__text h1 { font-size: clamp(32px, 3.4vw, 50px); font-weight: 600; line-height: 1.06; letter-spacing: -.025em; max-width: 14ch; }
.contact-phone { display: inline-block; margin-top: var(--s6); font-size: clamp(40px, 4.6vw, 68px); font-weight: 300; letter-spacing: -.02em; line-height: 1; color: #fff; direction: ltr; }
.contact-phone:hover { color: #e9d7b4; }
.contact-meta { margin-top: var(--s6); border-top: 1px solid rgba(255,255,255,.22); }
.contact-meta li { display: grid; grid-template-columns: 72px 1fr; gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 15px; line-height: 1.5; }
.contact-meta span { color: rgba(255,255,255,.62); font-size: 12px; padding-top: 3px; }
.contact-form-col { padding: calc(var(--nav-h) + var(--s9)) clamp(var(--s6), 7vw, 120px) var(--s9); background: var(--paper); }
.contact-form-col .lead { margin-bottom: var(--s7); }
.form { display: grid; gap: var(--s6); max-width: 620px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); }
.form label { display: grid; gap: var(--s1); font-size: 12px; letter-spacing: .03em; color: var(--ink-2); }
.form input, .form select, .form textarea { font: inherit; font-size: 17px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; padding: var(--s2) 0 var(--s3); width: 100%; transition: border-color .2s, box-shadow .2s; caret-color: var(--gold); }
.form select { appearance: none; -webkit-appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171614' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat left center / 18px; padding-inline-end: 0; padding-inline-start: var(--s6); cursor: pointer; }
.form textarea { resize: vertical; min-height: 72px; }
.form input::placeholder, .form textarea::placeholder { color: var(--ink-3); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
.form input.is-invalid { border-color: var(--red); box-shadow: 0 1px 0 0 var(--red); }
.form .check { grid-template-columns: auto 1fr; align-items: start; gap: var(--s3); letter-spacing: 0; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.form .check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--ink); border: 0; box-shadow: none; }
.form__actions { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; margin-top: var(--s2); }
.form__fine { font-size: 12px; color: var(--ink-3); }
.form__status { font-size: 14px; min-height: 20px; color: var(--ink-2); }
.form__status.is-ok { color: var(--green); font-weight: 500; }
.form__status.is-err { color: var(--red); }
@media (max-width: 900px) {
  .contact-split { grid-template-columns: 1fr; min-height: 0; }
  .contact-visual { position: relative; height: auto; min-height: 72svh; }
  .contact-visual__text { inset-inline: var(--s5); bottom: var(--s6); }
  .contact-form-col { padding: var(--s7) var(--s5) var(--s9); }
  .form__row { grid-template-columns: 1fr; }
}
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: var(--s6); } .form__row { grid-template-columns: 1fr; } .form { padding: var(--s5); } }

/* ---------- FOOTER ---------- */
.footer { border-top: 0; background: #fff; padding: var(--s6) 0; font-size: 13px; color: var(--ink-2); }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s5); align-items: center; }
.footer__brand { font-size: 20px; } .footer__brand b { font-weight: 700; }
.footer__fine { font-size: 11px; color: var(--ink-3); }
@media (max-width: 700px) { .footer__inner { grid-template-columns: 1fr; gap: var(--s2); } }

/* ---------- loading screen: the PropArties wordmark draws in letter by letter (js/loader.js) ---------- */
.loader { display: none; }
.loader.is-on { position: fixed; inset: 0; z-index: 1000; display: grid; place-content: center; justify-items: center; gap: var(--s6); background: var(--paper); transition: transform .9s cubic-bezier(.76,0,.24,1), visibility .9s; }
.loader.is-done { transform: translateY(-100%); visibility: hidden; }   /* leaves by sliding up, uncovering the page */
@media (prefers-reduced-motion: reduce) { .loader.is-on { transition: opacity .4s, visibility .4s; } .loader.is-done { transform: none; opacity: 0; } }
html.is-loading, html.is-loading body { overflow: hidden; }
.loader__mark { width: min(340px, 64vw); height: auto; direction: ltr; overflow: visible; }
.loader__mark g { opacity: 0; transform: translateY(26px); transform-box: fill-box; transform-origin: 50% 100%; animation: loader-letter .7s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms); }
.loader__sub { margin-top: calc(-1 * var(--s3)); font-size: 15px; font-weight: 400; letter-spacing: .02em; color: var(--ink-2); opacity: 0; animation: loader-letter .7s var(--ease) .75s forwards; transform: translateY(10px); }
.loader__bar { display: block; width: min(140px, 30vw); height: 2px; border-radius: 1px; background: rgba(23,22,20,.1); overflow: hidden; }
.loader__bar i { display: block; height: 100%; background: #5C4B49; transform: scaleX(0); transform-origin: left; animation: loader-bar 2.6s var(--ease) .3s forwards; }
@keyframes loader-letter { to { opacity: 1; transform: none; } }
@keyframes loader-bar { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .loader__mark g, .loader__sub, .loader__bar i { animation: none; opacity: 1; transform: none; } }

/* ---------- motion: one authored moment (page arrival) ---------- */
.arrive { animation: arrive .9s var(--ease) both; }
@keyframes arrive { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@media (prefers-reduced-motion: reduce) { .arrive { animation: none; } html { scroll-behavior: auto; } .pnlm-hotspot-base.hs-scene, .pnlm-hotspot-base.hs-info { animation: none; } }

/* ---------- next page: cue at the bottom while pushing past the end, then the page slides away ---------- */
.next-cue { position: fixed; z-index: 120; inset-inline-start: 50%; bottom: var(--s6); transform: translate(50%, 16px); display: grid; gap: var(--s2); justify-items: center; padding: var(--s3) var(--s5); border-radius: 4px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 500; letter-spacing: .02em; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease); }
.next-cue.is-on { opacity: 1; transform: translate(50%, 0); pointer-events: auto; }
.next-cue__bar { display: block; width: 140px; height: 2px; background: rgba(255,255,255,.25); overflow: hidden; }
.next-cue__bar i { display: block; height: 100%; background: #fff; transform-origin: right; transform: scaleX(var(--p, 0)); transition: transform .12s linear; }
/* fade only: a transform on <main> would unpin the fixed hero video and building mid-exit */
body.is-leaving > :not(.next-cue) { opacity: 0; transition: opacity .45s var(--ease); }

/* ---------- הדירות on phones: Aurelius-style layout ----------
   building on top (scrolls with the page) · floating apartment card · two pill buttons · questions / filters · unit list */
.m-card, .m-actions, .m-eyebrow, .m-count, .m-only { display: none; }

@media (max-width: 760px) {
  /* ---- building: part of the page, not pinned behind it ---- */
  [data-page="apartments"] .explorer { grid-template-rows: 56svh auto auto; background: var(--paper); }
  [data-page="apartments"] .explorer > .stage__img, [data-page="apartments"] .explorer > .stage__overlay, [data-page="apartments"] .explorer > .stage__shade { position: absolute; z-index: 0; }
  [data-page="apartments"] .explorer > .stage__img { height: 56svh; }
  [data-page="apartments"] .explorer > .stage__shade { height: 56svh; }
  [data-page="apartments"] .stage__title, [data-page="apartments"] .stage__bar, [data-page="apartments"] .stage__side { display: none; }
  [data-page="apartments"] .finder-cta { display: none; }   /* the pill button replaces the black "find your apartment" block */

  /* the picked apartment: gold outline, label on */
  [data-page="apartments"] .stage__overlay g.is-picked polygon { fill: rgba(212,175,95,.55); stroke: #fff; stroke-width: 4; }
  [data-page="apartments"] .stage__overlay g.is-picked text { opacity: 1; }

  /* ---- floating card on the building ---- */
  [data-page="apartments"] .m-card { position: absolute; z-index: 5; top: calc(56svh - var(--s4)); transform: translateY(-100%); inset-inline-start: var(--s4); width: min(250px, calc(100% - var(--s7))); display: grid; gap: 0; justify-items: start; padding: var(--s3) var(--s4); border: 0; border-radius: var(--radius); text-align: start; color: var(--ink); background: rgba(251,250,247,.86); -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%); box-shadow: var(--shadow-float); }
  [data-page="apartments"] .m-card[hidden] { display: none; }
  [data-page="apartments"] .m-card.is-top { top: calc(var(--nav-h) - var(--s2)); transform: none; }
  [data-page="apartments"] .m-card.is-top.is-in { animation-name: m-card-in-top; }
  @keyframes m-card-in-top { from { opacity: 0; transform: translateY(-12px); } }
  [data-page="apartments"] .m-card.is-in { animation: m-card-in .45s var(--ease); }
  @keyframes m-card-in { from { opacity: 0; transform: translateY(calc(-100% + 12px)); } }
  [data-page="apartments"] .m-card__status { display: inline-flex; align-items: center; gap: var(--s2); font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--ink-2); padding-bottom: var(--s1); margin-bottom: var(--s2); box-shadow: inset 0 -1px 0 var(--line); }
  [data-page="apartments"] .m-card__status i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
  [data-page="apartments"] .m-card__num { font-size: 24px; font-weight: 400; letter-spacing: -.02em; line-height: 1.15; }
  [data-page="apartments"] .m-card__meta { font-size: 14px; color: var(--ink-2); }
  [data-page="apartments"] .m-card__go { margin-top: var(--s2); font-size: 12px; font-weight: 500; color: var(--gold-deep); }

  /* ---- two pill buttons ---- */
  [data-page="apartments"] .m-actions { grid-row: 2; display: flex; justify-content: center; gap: var(--s2); padding: var(--s3) var(--s4); background: var(--paper); box-shadow: inset 0 -1px 0 var(--line); }
  [data-page="apartments"] .m-pill { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 var(--s4); border: 0; border-radius: 999px; background: #fff; color: var(--gold-deep); font-size: 13px; font-weight: 600; letter-spacing: .02em; box-shadow: inset 0 0 0 1px rgba(138,106,53,.35), 0 4px 12px -8px rgba(23,22,20,.25); white-space: nowrap; }
  [data-page="apartments"] .m-pill svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  [data-page="apartments"] .m-pill:active { transform: scale(.98); }

  /* ---- filters: a plain section of the page ---- */
  [data-page="apartments"] .panel { grid-row: 3; position: static; margin: 0; border: 0; border-radius: 0; background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
  [data-page="apartments"] .panel__scroll { padding: 0 0 var(--s8); }
  [data-page="apartments"] .finder { padding: var(--s5) var(--s5) 0; }   /* the 3 questions keep the page margins */
  [data-page="apartments"] .panel__head { align-items: flex-end; padding: var(--s5) var(--s5) var(--s4); border-bottom: 1px solid var(--line); }
  [data-page="apartments"] .m-eyebrow { display: block; font-size: 11px; letter-spacing: .1em; color: var(--ink-3); margin-bottom: var(--s1); }
  [data-page="apartments"] .panel__head h2 { font-size: 26px; font-weight: 400; letter-spacing: -.01em; }
  [data-page="apartments"] .m-only { display: inline; } [data-page="apartments"] .m-hide, [data-page="apartments"] .panel__count { display: none; }
  [data-page="apartments"] .m-count { display: block; margin-inline-start: auto; font-size: 14px; color: var(--ink-3); }
  [data-page="apartments"] .m-count b { font-size: 20px; font-weight: 500; color: var(--ink); }
  [data-page="apartments"] .panel__clear { font-size: 13px; letter-spacing: .08em; padding-bottom: 2px; box-shadow: inset 0 -1px 0 var(--gold); }
  [data-page="apartments"] .panel__clear:hover { text-decoration: none; }

  /* label beside its circles, like the reference */
  [data-page="apartments"] .fgroup { display: flex; align-items: center; gap: var(--s4); padding: var(--s3) var(--s5); border-bottom: 0; }
  [data-page="apartments"] .fgroup:has(.range) { display: block; padding-top: var(--s4); border-top: 1px solid var(--line); }
  [data-page="apartments"] .fgroup:has(.range) .label { width: auto; margin-bottom: var(--s3); }
  [data-page="apartments"] .fgroup .label { flex: none; width: 52px; margin: 0; font-size: 11px; letter-spacing: .1em; color: var(--ink-3); }
  [data-page="apartments"] .toggles { gap: var(--s2); }
  [data-page="apartments"] .tg { width: 40px; height: 40px; min-width: 0; padding: 0; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 15px; font-weight: 400; color: var(--ink); }
  [data-page="apartments"] .tg.is-on { background: var(--ink); color: #fff; box-shadow: none; }
  [data-page="apartments"] .tg--status { width: auto; height: 34px; padding: 0 var(--s4); border-radius: 999px; box-shadow: inset 0 0 0 1px var(--c); color: var(--c); font-size: 12px; letter-spacing: .06em; }

  /* ---- unit list: rows like a table ---- */
  [data-page="apartments"] .results { padding: var(--s4) var(--s5) 0; border-top: 1px solid var(--line); margin-top: var(--s3); }
  [data-page="apartments"] .unit { border-radius: 0; padding: var(--s4) var(--s2); box-shadow: inset 0 -1px 0 var(--line); }
  [data-page="apartments"] .unit.is-picked { background: rgba(138,106,53,.12); }
}

/* apartment outlines on the building show only while hovered (desktop) or tapped / opened (is-hot, is-picked);
   matches, dimming and selected floors from the questions and filters leave the building clean */
.stage__overlay:not(.is-editing) g:is(.is-match, .is-dim, .is-selected):not(:hover):not(.is-hot):not(.is-picked) polygon { fill: transparent; stroke: transparent; }

/* hovered / pressed apartment (Figma mockup): a dark tint, an outline in the status colour, the number in that colour
   in the right corner and a status pill in the left one. Status colours: green = for sale, red = sold, yellow = unavailable. */
.stage__overlay { --st-sale: #60d498; --st-sold: #f48888; --st-unavailable: #fcd490; }
.stage__overlay > g { --st: var(--st-unavailable); }
.stage__overlay > g[data-status="sale"] { --st: var(--st-sale); }
.stage__overlay > g[data-status="sold"] { --st: var(--st-sold); }
.stage__overlay:not(.is-editing) g:is(:hover, .is-hot, .is-picked) polygon { fill: rgba(18,17,15,.42); stroke: var(--st); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.stage__overlay g.has-tag > text { display: none; }   /* the old centred label; the tag below replaces it */
.stage__overlay .tag { opacity: 0; pointer-events: none; transition: opacity .2s; }
.stage__overlay:not(.is-editing) g:is(:hover, .is-hot, .is-picked) .tag { opacity: 1; }
.stage__overlay .tag text { font-family: var(--font); paint-order: stroke; opacity: 1; direction: ltr; unicode-bidi: normal; }   /* left-to-right: see the iPhone note in apartments-mobile.js */   /* the tag shows or hides as a whole; its text never hides on its own */
.stage__overlay .tag__num { fill: var(--st); font-weight: 700; letter-spacing: .01em; }
.stage__overlay .tag__pill { fill: rgba(18,17,15,.55); stroke: var(--st); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.stage__overlay .tag__label { fill: var(--st); font-weight: 600; }

/* הדירות on desktop: the same bubble, placed next to the pressed apartment (js/apartments-mobile.js sets left / top) */
@media (min-width: 761px) {
  [data-page="apartments"] .m-card { position: absolute; z-index: 6; display: grid; gap: 0; justify-items: start; width: 240px; padding: var(--s3) var(--s4); border: 0; border-radius: var(--radius); text-align: start; color: var(--ink); background: rgba(251,250,247,.9); -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%); box-shadow: var(--shadow-float); cursor: pointer; transition: left .25s var(--ease), top .25s var(--ease); }
  [data-page="apartments"] .m-card[hidden] { display: none; }
  [data-page="apartments"] .m-card.is-unit { cursor: default; }
  [data-page="apartments"] .m-card.is-in { animation: m-card-pop .35s var(--ease); }
  @keyframes m-card-pop { from { opacity: 0; transform: translateY(8px); } }
  [data-page="apartments"] .m-card__status { display: inline-flex; align-items: center; gap: var(--s2); font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--ink-2); padding-bottom: var(--s1); margin-bottom: var(--s2); box-shadow: inset 0 -1px 0 var(--line); }
  [data-page="apartments"] .m-card__status i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
  [data-page="apartments"] .m-card__num { font-size: 24px; font-weight: 400; letter-spacing: -.02em; line-height: 1.15; }
  [data-page="apartments"] .m-card__meta { font-size: 14px; color: var(--ink-2); }
  [data-page="apartments"] .m-card__go { margin-top: var(--s2); font-size: 12px; font-weight: 500; color: var(--gold-deep); }
  [data-page="apartments"] .m-card__go[hidden] { display: none; }
}

/* הדירות on phones: a split screen. The building stays put in the top part; only the lower part
   (pill buttons, questions / filters, list) scrolls, inside its own box. */
@media (max-width: 760px) {
  [data-page="apartments"] .explorer { height: 100svh; height: 100dvh; min-height: 0; overflow: hidden; grid-template-rows: 56svh auto minmax(0, 1fr); }
  [data-page="apartments"] .panel { min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
  [data-page="apartments"] .panel__scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
}

/* bubble bullet points (penthouse 25): the pink Remez star as a small bullet before each line */
[data-page="apartments"] .m-card__meta.has-points { display: flex; flex-wrap: wrap; gap: 2px var(--s4); margin-top: 2px; }
[data-page="apartments"] .m-card__pt { display: flex; align-items: center; gap: 7px; }
[data-page="apartments"] .m-card__pt img { flex: none; width: auto; height: .72em; }

/* הפנטהאוז on phones: the title sits above the scroll arrow, not on it */
/* הפנטהאוז on phones: a shorter hero, so more of the wide living room render shows; the title sits above the scroll arrow */
@media (max-width: 760px) { .hero.hero--ph { height: 56svh; min-height: 0; } .hero--ph .hero__text { bottom: calc(var(--s6) + 52px); } .hero--ph .display { font-size: 32px; } }

/* השכונה "מפה": the illustrated map, its cream background, and the pink Remez star at the project */
.scene__map.leaflet-container { background: #f7f5f0; }
/* the project: the Remez star itself, no background, turning slowly */
.pin.pin--remez { width: 56px; height: 56px; display: grid; place-items: center; border: 0; border-radius: 0; background: none; box-shadow: none; }
.pin--remez img { width: 52px; height: auto; filter: drop-shadow(0 2px 6px rgba(23,22,20,.25)); animation: remez-spin 14s linear infinite; }
@keyframes remez-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .pin--remez img { animation: none; } }

/* השכונה on phones: no side panel any more, so the panorama / map fill the whole screen and the buttons sit at the bottom */
@media (max-width: 760px) {
  [data-page="neighborhood"] .explorer { grid-template-rows: 100svh; }
  [data-page="neighborhood"] .explorer > .scene__pano, [data-page="neighborhood"] .explorer > .scene__map { height: 100svh; }
  [data-page="neighborhood"] .explorer > .stage__shade { height: 100svh; }
  [data-page="neighborhood"] .stage__side { top: auto; bottom: var(--s5); }
  [data-page="neighborhood"] .stage__bar { top: auto; bottom: calc(var(--s5) + 2px); }
  [data-page="neighborhood"] .scene .compass, [data-page="neighborhood"] .scene .panel:not(.is-hidden) ~ .compass { top: auto; bottom: calc(var(--s5) + 1px); }
}
@media (max-width: 760px) { [data-page="neighborhood"] .leaflet-control-zoom { display: none; } }   /* phones zoom the map with two fingers */

/* השכונה map: each place is a small named bubble, black text on a pastel tint of its category colour, centred on its spot */
.leaflet-marker-icon:has(> .pin--tag) { width: 0 !important; height: 0 !important; margin: 0 !important; }
.pin.pin--tag { position: absolute; left: 0; top: 0; width: auto; height: auto; transform: translate(-50%, -50%); padding: 3px 10px; border: 0; border-radius: 999px; background: var(--t); box-shadow: inset 0 0 0 1px var(--e), 0 2px 8px rgba(23,22,20,.16); color: var(--ink); font: 500 12px/1.4 var(--font); white-space: nowrap; direction: rtl; unicode-bidi: plaintext; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.pin.pin--tag:hover, .pin.pin--tag.is-active { transform: translate(-50%, -50%) scale(1.08); box-shadow: inset 0 0 0 1.5px var(--e), 0 4px 12px rgba(23,22,20,.22); z-index: 2; }
/* השכונה: the page title belongs to the panorama; over the map it would cover the place bubbles */
.scene[data-mode="map"] .stage__title { opacity: 0; pointer-events: none; }

/* הדירות on phones: the nav stays see-through over the building (even while the questions are open); white menu,
   the current page in full and the other items at 50% */
@media (max-width: 760px) {
  [data-page="apartments"] .nav, [data-page="apartments"] .nav.nav--solid, [data-page="apartments"] .nav.is-scrolled { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  [data-page="apartments"] .nav .nav__menu a { color: #fff; opacity: .5; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
  [data-page="apartments"] .nav .nav__menu a.is-active, [data-page="apartments"] .nav .nav__menu a:hover { opacity: 1; }
}

/* הדירות: the rotate button is a small pill ("עורף" / "חזית") */
.rotate-chip { padding: 2px; }
.rotate-chip .chip { height: 30px; padding: 0 var(--s3); gap: 6px; font-size: 12px; }
.rotate-chip .chip svg { width: 14px; height: 14px; }
@media (max-width: 760px) { .rotate-chip .chip { height: 30px; padding: 0 var(--s3); } }

/* הדירות on phones: no pill-button strip under the building */
[data-page="apartments"] .m-actions { display: none !important; }

/* הדירות on phones: a small bubble, always in the bottom-left corner of the building image */
@media (max-width: 760px) {
  [data-page="apartments"] .m-card, [data-page="apartments"] .m-card.is-top { inset-inline-start: auto; left: var(--s3); right: auto; top: calc(56svh - var(--s3)); transform: translateY(-100%); width: 156px; padding: 6px 10px; border-radius: 12px; }
  [data-page="apartments"] .m-card__status { font-size: 11px; padding-bottom: 3px; margin-bottom: 4px; gap: 6px; }
  [data-page="apartments"] .m-card__status i { width: 6px; height: 6px; }
  [data-page="apartments"] .m-card__num { font-size: 15px; line-height: 1.2; }
  [data-page="apartments"] .m-card__meta { font-size: 11px; line-height: 1.4; }
  [data-page="apartments"] .m-card__pt img { height: .7em; }
  [data-page="apartments"] .m-card__go { margin-top: 4px; font-size: 11px; }
}

/* הדירות: labels on the lit apartment, as page text over the building (see apartments-mobile.js) */
.tag-layer { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.htag { position: absolute; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding: 10px 12px; overflow: hidden; direction: rtl; opacity: 0; transition: opacity .2s; --st: #fcd490; }
.htag[data-status="sale"] { --st: #60d498; }
.htag[data-status="sold"] { --st: #f48888; }
.htag.is-on { opacity: 1; }
.htag__num { color: var(--st); font: 700 13px/1.1 var(--font); white-space: nowrap; text-shadow: 0 1px 4px rgba(0,0,0,.55); }
.htag__pill { color: var(--st); font: 600 11px/1 var(--font); white-space: nowrap; padding: 4px 9px; border-radius: 999px; background: rgba(18,17,15,.55); box-shadow: inset 0 0 0 1.5px var(--st); }
.htag__num { align-self: flex-end; }
.htag__pill { align-self: flex-end; margin-bottom: -2px; }   /* centred on the number's line */
.htag.is-tight .htag__pill { display: none; }
.htag.is-short { padding: 4px 8px; }
.htag.is-short .htag__pill { display: none; }
.stage__overlay .tag { display: none; }
.finder__multi { font-size: 12px; color: var(--ink-3); margin-top: var(--s1); }

/* the apartment selector (questions): the Remez deep blue instead of black */
.finder { --f-ink: #113544; }
.finder__progress i.is-on { background: var(--f-ink); }
.fopt.is-on, .fopt.is-on:hover:not(:disabled) { background: var(--f-ink); color: #fff; box-shadow: inset 0 0 0 1px var(--f-ink), var(--f-shadow); }
.finder__nav .btn:not(.btn--line):not(:disabled) { background: var(--f-ink); color: #fff; }
.finder__nav .btn:not(.btn--line):not(:disabled):hover { background: #1b4a5c; }
.finder__nav .btn--line { color: var(--f-ink); box-shadow: inset 0 0 0 1px var(--f-ink), var(--f-shadow); }
.fcard__actions .btn:not(.btn--line) { background: var(--f-ink); color: #fff; }
.fcard__actions .btn--line { color: var(--f-ink); box-shadow: inset 0 0 0 1px var(--f-ink); }

/* plan zoom: full screen, white, the plan centred; wheel / pinch to zoom, drag to move */
.zoomer { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; overflow: hidden; background: #fff; touch-action: none; cursor: zoom-in; }
.zoomer.is-open { display: grid; }
.zoomer.is-zoomed { cursor: grab; }
.zoomer.is-zoomed:active { cursor: grabbing; }
.zoomer img { max-width: 96vw; max-height: 92svh; width: auto; height: auto; transform-origin: center; user-select: none; -webkit-user-drag: none; will-change: transform; }
.zoomer__close { position: absolute; top: var(--s4); inset-inline-end: var(--s4); width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; z-index: 1; }
.zoomer__hint { position: absolute; bottom: var(--s5); left: 50%; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; background: rgba(23,22,20,.75); color: #fff; font-size: 12px; white-space: nowrap; pointer-events: none; transition: opacity .3s; }
.zoomer.is-zoomed .zoomer__hint { opacity: 0; }
.modal__media img.is-zoomable { cursor: zoom-in; }

/* nav: the logos take the room they need and the menu centres in what is left, so they never overlap */
@media (min-width: 861px) { .nav__inner { grid-template-columns: auto 1fr auto; column-gap: var(--s5); } .nav__menu { justify-self: center; } }
@media (max-width: 1200px) and (min-width: 861px) {
  .nav__menu { gap: var(--s5); }
  .nav__start { gap: var(--s3); }
  .nav__logo { height: 30px; }
  .nav__logo.nav__logo--mark { height: 26px; }
}

/* home hero: the bouncing scroll arrow on desktop too (phones already have it) */
@media (min-width: 761px) {
  .hero__down--cue { display: grid; bottom: var(--s6); width: 48px; height: 48px; animation: cue-nudge 1.8s var(--ease) infinite; }
  .hero__down--cue:hover { transform: translateX(-50%); animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) { .hero__down--cue { animation: none !important; } }

/* home gallery: the penthouse photo spans both small columns, under the two apartment photos */
.strip figure.strip__wide { grid-column: span 2; aspect-ratio: auto; }
@media (max-width: 900px) { .strip figure.strip__wide { aspect-ratio: 16/9; } }

/* הדירות: "*ההדמיות להמחשה בלבד" in the bottom-right corner of the building image */
.stage__note { position: absolute; z-index: 3; bottom: var(--s4); right: var(--s4); margin: 0; color: rgba(255,255,255,.92); font-size: 12px; letter-spacing: .02em; text-shadow: 0 1px 8px rgba(0,0,0,.55); pointer-events: none; direction: rtl; }
@media (min-width: 761px) {
  .explorer:not(.is-finding) .panel:not(.is-hidden) ~ .stage__note { right: calc(var(--s4) + 292px + var(--s4)); }   /* clear of the floating filter panel */
  .explorer.is-finding .stage__note { right: calc(var(--split) + var(--s4)); }   /* clear of the question panel */
}
@media (max-width: 760px) { [data-page="apartments"] .stage__note { position: fixed; z-index: 1; top: calc(56svh - 26px); bottom: auto; right: var(--s3); font-size: 11px; } }

/* הדירות: first-look hint over the building (finger + text), centred on the image */
.tap-hint { position: absolute; z-index: 4; top: 50%; left: 50%; transform: translate(-50%, 0) translateY(8px); display: inline-flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s5); border-radius: 999px; color: var(--ink); background: rgba(251,250,247,.88); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); box-shadow: var(--shadow-float); font-size: 14px; font-weight: 500; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .45s var(--ease), transform .45s var(--ease); direction: rtl; }
.tap-hint.is-on { opacity: 1; transform: translate(-50%, 0); }
.tap-hint svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--f-ink, #113544); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; animation: tap-press 1.4s var(--ease) infinite; transform-origin: 50% 80%; }
@keyframes tap-press { 0%, 100% { transform: translateY(0) scale(1); } 40% { transform: translateY(3px) scale(.9); } 60% { transform: translateY(3px) scale(.9); } }
@media (max-width: 760px) { [data-page="apartments"] .tap-hint { position: fixed; font-size: 12.5px; padding: var(--s2) var(--s4); gap: var(--s2); } [data-page="apartments"] .tap-hint svg { width: 18px; height: 18px; } }
@media (prefers-reduced-motion: reduce) { .tap-hint svg { animation: none; } }

/* הדירות demo pointer: glides between apartments and "taps" each one */
.demo-cursor { position: absolute; z-index: 5; width: 30px; height: 30px; margin: -4px 0 0 -6px; pointer-events: none; opacity: 0; transition: left .55s cubic-bezier(.45,0,.2,1), top .55s cubic-bezier(.45,0,.2,1), opacity .35s, transform .2s; filter: drop-shadow(0 3px 6px rgba(0,0,0,.45)); }
.demo-cursor.is-on { opacity: 1; }
.demo-cursor.is-tap { transform: scale(.82); }
.demo-cursor svg { width: 100%; height: 100%; fill: #fff; stroke: #113544; stroke-width: 1.6; stroke-linejoin: round; }
@media (max-width: 760px) { [data-page="apartments"] .demo-cursor { position: fixed; } }
@media (prefers-reduced-motion: reduce) { .demo-cursor { transition: opacity .35s; } }

/* הדירות on desktop while the questions are open: no white bar. The menu and the phone button sit over the building
   (white), the logos sit over the white question panel (dark). */
@media (min-width: 761px) {
  [data-page="apartments"] .nav.nav--solid { background: transparent; box-shadow: none; }
  [data-page="apartments"] .nav.nav--solid .nav__menu a { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
  [data-page="apartments"] .nav.nav--solid .nav__cta { color: #fff; background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  [data-page="apartments"] .nav.nav--solid .nav__cta:hover { background: rgba(255,255,255,.28); }
}

/* penthouse hero: a lighter shade, just enough under the title and the nav */
.hero--ph::after { background: linear-gradient(to top, rgba(10,9,8,.55) 0, rgba(10,9,8,.22) 28%, rgba(10,9,8,0) 50%), linear-gradient(to bottom, rgba(0,0,0,.25) 0, transparent 18%); }

/* penthouse alternatives: the box takes the plan's own shape, so the whole plan fills the card's image area */
.alt__plan { aspect-ratio: 1200 / 724; padding: var(--s2); }

/* penthouse highlights: a short list with the Remez pink star as the bullet */
.stars { list-style: none; margin: var(--s6) auto var(--s7); padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s4) var(--s7); max-width: 980px; }
.stars li { display: flex; align-items: center; gap: var(--s2); font-size: 17px; font-weight: 500; color: var(--ink); line-height: 1.4; text-align: start; }
.stars li::before { content: ""; flex: none; width: 22px; height: 24px; background: url(../assets/img/remez-mark-3.png) center / contain no-repeat; }
@media (max-width: 760px) {
  .stars { flex-direction: column; align-items: flex-start; width: fit-content; max-width: 100%; gap: var(--s3); margin: var(--s5) auto var(--s6); }
  .stars li { font-size: 16px; }
}
@media (min-width: 761px) { .stars { display: grid; grid-template-columns: auto auto; justify-content: center; gap: var(--s4) var(--s8); } }
/* the same highlights inside each penthouse alternative card, as a plain list under the title */
.stars.stars--card { display: flex; flex-direction: column; align-items: stretch; gap: var(--s2); margin: var(--s1) 0 var(--s2); max-width: none; width: auto; }
.stars.stars--card li { font-size: 15px; font-weight: 500; gap: var(--s2); }
.stars.stars--card li::before { width: 17px; height: 18px; }
.stars.stars--card li { align-items: flex-start; } .stars.stars--card li::before { margin-top: 2px; }
