/* מפלס · תיווך בוטיק — base styles (developer skeleton; Neta owns the visual polish).
   Palette: COLOR-BOOK #11 (Soft Sand + Mocha Green), the niche rule for brokers ("stone, sand, ink").
   Accent: Watermelon Pink from #11, kept to the logo dot and tiny marks only (<5%), never text on sand.
   Fonts (task 73, Dan 11.11: the condensed Noto Serif read "a bit odd"): FONT-BOOK pair 18 "classic boutique": Frank Ruhl Libre 700/800 (instanced 700-800) + Noto Sans Hebrew 400/600.
   Self-hosted, instanced and subset (assets/fonts, OFL). */

@font-face { font-family: "Miflas Head"; src: url("assets/fonts/head-he.woff2") format("woff2"); font-weight: 700 800; font-display: swap; unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Miflas Head"; src: url("assets/fonts/head-la.woff2") format("woff2"); font-weight: 700 800; font-display: swap; unicode-range: U+0000-00FF, U+2013-2014, U+2018-201E, U+2022, U+2026, U+2190, U+2192; }
@font-face { font-family: "Miflas Sans"; src: url("assets/fonts/sans-he.woff2") format("woff2"); font-weight: 400 600; font-display: swap; unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Miflas Sans"; src: url("assets/fonts/sans-la.woff2") format("woff2"); font-weight: 400 600; font-display: swap; unicode-range: U+0000-00FF, U+2013-2014, U+2018-201E, U+2022, U+2026, U+2190, U+2192; }

:root {
  --c-base-1: #F0E5DB;   /* Soft Sand — main light base, ~60% */
  --c-base-2: #474329;   /* Mocha Green — dark base, ~30% */
  --c-accent: #FC75B4;   /* Watermelon Pink — dot of the logo, tiny marks only */
  --c-on-accent: #0C0C0E;
  --c-text-on-1: #474329;          /* 8.0:1 on sand */
  --c-text-on-2: #F0E5DB;          /* 8.0:1 on mocha */
  --c-muted-on-1: #5E5A44;         /* secondary text on sand (mocha, lighter) ≥ 5.9:1 */
  --c-muted-on-2: #D6CCBF;         /* secondary text on mocha ≥ 6:1 */
  --c-line-on-1: rgba(71, 67, 41, .22);
  --c-line-on-2: rgba(240, 229, 219, .22);
  --c-deep: #2E2B1A;               /* mocha, darker, for footer and image shade */

  --f-head: "Miflas Head", "Frank Ruhl Libre", "Times New Roman", serif;
  --f-body: "Miflas Sans", "Noto Sans Hebrew", "Arial Hebrew", Arial, sans-serif;

  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 48px);
  --sec: clamp(80px, 11vw, 160px);
  --r: 2px;
  --ease-out: cubic-bezier(.19, 1, .22, 1);
  --ease-io: cubic-bezier(.625, .05, 0, 1);
  --hdr-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html:not(.lenis) { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--c-base-1); color: var(--c-text-on-1);
  font-family: var(--f-body); font-size: 17px; line-height: 1.65; font-weight: 400;
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
bdi { unicode-bidi: isolate; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -80px; z-index: 200; background: var(--c-base-2); color: var(--c-text-on-2); padding: 12px 18px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
[data-theme="dark"] :focus-visible { outline-color: var(--c-base-1); }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.sec-title { font-size: clamp(36px, 5.4vw, 76px); }
.sec-lead { font-size: clamp(17px, 1.3vw, 19px); max-width: 52ch; }
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head--split { display: grid; gap: 24px; align-items: end; }
@media (min-width: 900px) { .sec-head--split { grid-template-columns: 1.3fr 1fr; gap: 64px; } }

/* ---------- Buttons: P1 "clean, like Apple" (CHOSEN.md) + K8 primary motion / K14 secondary ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 30px;
  border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; font-weight: 600; font-size: 16px;
  background: var(--c-base-2); color: var(--c-text-on-2);
  transition: transform .12s ease, opacity .25s ease;
}
.btn--light { background: var(--c-base-1); color: var(--c-base-2); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn:active { transform: scale(.96); transition: transform .12s ease; }
/* K8: the label rolls up and a serif copy of it rolls in from below. Hover only on fine pointers. */
.btn__roll { position: relative; display: inline-block; overflow: hidden; line-height: 1.35; vertical-align: top; }
.btn__t { display: block; transition: transform .7s var(--ease-out); }
.btn__roll::after { content: attr(data-alt); position: absolute; inset: 0; transform: translateY(100%); font-family: var(--f-head); font-weight: 700; white-space: nowrap; transition: transform .7s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .btn__t { transform: translateY(-100%); }
  .btn:hover .btn__roll::after { transform: none; }
}

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; position: relative; padding-block: 10px; min-height: 44px; }
.link-arrow::after { content: ""; position: absolute; inset-inline: 0; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.link-arrow__i { display: inline-block; transition: transform .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover::after { transform: scaleX(1); transform-origin: right; }
  .link-arrow:hover .link-arrow__i { transform: translateX(-4px); }
}
.link-arrow:active { opacity: .7; }
.link-arrow--light { color: var(--c-base-1); }

/* ---------- Header (B5: colour follows the section under it) ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--c-base-1); transition: color .4s ease, background-color .4s ease; }
.hdr[data-theme="light"] { color: var(--c-base-2); background: rgba(240, 229, 219, .94); }
.hdr[data-theme="dark"].is-scrolled { background: rgba(46, 43, 26, .94); }
.hdr__in { max-width: 1400px; margin-inline: auto; padding: 10px var(--gut); display: flex; align-items: center; gap: 24px; min-height: var(--hdr-h); }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.brand__mark { width: 56px; height: 56px; flex: none; color: currentColor; }
.logo-dot { fill: var(--c-accent); }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--f-head); font-weight: 800; font-size: 34px; letter-spacing: -.01em; }
.brand__sub { font-size: 12px; letter-spacing: .22em; margin-top: 6px; font-weight: 600; }
.nav { margin-inline-start: auto; }
.nav ul { display: flex; gap: 30px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 0; position: relative; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .nav a:hover::after { transform: scaleX(1); transform-origin: right; } }
.hdr__call { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 15px; min-height: 44px; min-width: 44px; justify-content: center; }
.hdr__call svg { width: 18px; height: 18px; fill: currentColor; }
.hdr[data-theme="dark"] .hdr__cta { background: var(--c-base-1); color: var(--c-base-2); }
@media (max-width: 1099px) { .nav { display: none; } .hdr__call { margin-inline-start: auto; } }
@media (max-width: 699px) {
  :root { --hdr-h: 78px; }
  .brand__mark { width: 56px; height: 56px; }
  .brand__name { font-size: 30px; }
  .hero__shade { background: linear-gradient(180deg, rgba(46,43,26,.6) 0%, rgba(46,43,26,.2) 22%, rgba(46,43,26,.55) 45%, rgba(46,43,26,.9) 100%); }
  .brand__sub { font-size: 11px; }
  .hdr__in { gap: 10px; }
  .hdr__call-num { display: none; }
  .hdr__call { border: 1px solid currentColor; border-radius: 999px; width: 44px; }
}
@media (min-width: 900px) { .brand__mark { width: 72px; height: 72px; } .brand__name { font-size: 40px; } }

/* ---------- Intro (S19) ---------- */
.intro { display: none; }
.intro-on .intro { display: grid; place-items: center; position: fixed; inset: 0; z-index: 100; background: var(--c-base-2); color: var(--c-base-1); }
.intro__logo { opacity: 0; will-change: transform, opacity; }
.intro__seal { display: block; width: clamp(220px, 38vmin, 340px); height: clamp(220px, 38vmin, 340px); }
.intro-on:not(.intro-land) .hdr .brand { opacity: 0; }
.hdr .brand { transition: opacity .35s ease; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: var(--c-base-1); background: var(--c-deep); isolation: isolate; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0; transition: opacity 1.4s ease; pointer-events: none; }
.hero.has-video .hero__video { opacity: 1; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(46,43,26,.55) 0%, rgba(46,43,26,.12) 30%, rgba(46,43,26,.35) 55%, rgba(46,43,26,.88) 100%); }
.hero__body { padding-top: calc(var(--hdr-h) + 40px); padding-bottom: 96px; }
.hero__title { font-size: clamp(46px, 8.4vw, 132px); line-height: 1; max-width: 13ch; font-weight: 800; }
.hero__title .ln { display: block; }
.hero__lead { margin-top: 26px; max-width: 46ch; font-size: clamp(17px, 1.4vw, 20px); color: var(--c-base-1); }
.hero__ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; }
.hero__license { position: absolute; bottom: 22px; inset-inline: 0; font-size: 13px; color: var(--c-muted-on-2); }

/* ---------- Trust / numbers (B3) ---------- */
.trust { padding-block: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--c-line-on-1); }
.stats { display: grid; gap: 32px; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--c-line-on-1); padding-top: 22px; }
.stat__num { font-family: var(--f-head); font-weight: 800; font-size: clamp(56px, 7vw, 96px); line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { color: var(--c-muted-on-1); max-width: 24ch; }
.trust__note { margin-top: 28px; font-size: 13px; color: var(--c-muted-on-1); }

/* ---------- Listings + filter ---------- */
.listings { padding-block: var(--sec); }
.filters { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; align-items: end; padding: 22px; border: 1px solid var(--c-line-on-1); margin-bottom: 40px; background: rgba(255,255,255,.28); }
.filters .field:first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .filters { grid-template-columns: repeat(3, 1fr) auto auto; gap: 18px; } .filters .field:first-child { grid-column: auto; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid rgba(71,67,41,.5); border-radius: var(--r);
  background: #FBF7F2; color: var(--c-text-on-1); font-size: 16px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field--sel select { appearance: none; -webkit-appearance: none; padding-left: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23474329' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 14px center; background-size: 12px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--c-base-2); outline-offset: 1px; border-color: var(--c-base-2); }
.field__hint, .field__opt { font-size: 13px; color: var(--c-muted-on-1); font-weight: 400; }
.filters__reset { min-height: 50px; padding: 0 18px; background: none; border: 1px solid var(--c-base-2); border-radius: 999px; cursor: pointer; font-weight: 600; }
.filters__reset:active { transform: scale(.96); }
.filters__count { grid-column: 1 / -1; font-size: 14px; color: var(--c-muted-on-1); }
@media (min-width: 900px) { .filters__count { grid-column: auto; align-self: center; white-space: nowrap; } }

.props { display: grid; gap: 48px 28px; }
@media (min-width: 700px) { .props { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .props { grid-template-columns: repeat(3, 1fr); } .prop.is-feature { grid-column: span 2; } }
.prop[hidden] { display: none; }
.prop__card { display: flex; flex-direction: column; height: 100%; position: relative; }
.prop__img { overflow: hidden; aspect-ratio: 4 / 3; background: #DCD0C2; }
@media (min-width: 1100px) { .prop.is-feature .prop__img { aspect-ratio: 2.6 / 1; } }
.prop__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .prop__card:hover .prop__img img { transform: scale(1.04); } }
.prop__body { padding-top: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prop__where { font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--c-muted-on-1); }
.prop__title { font-size: clamp(24px, 2.2vw, 32px); }
.prop__facts { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 15px; color: var(--c-muted-on-1); }
.prop__facts li + li::before { content: "·"; margin-inline-end: 16px; }
.prop__price { font-family: var(--f-head); font-weight: 700; font-size: 24px; margin-top: 4px; }
.prop__open { margin-top: 8px; align-self: flex-start; background: none; border: 0; padding: 10px 0; min-height: 44px; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.prop__open::before { content: ""; position: absolute; inset: 0; } /* the whole card is the hit area */
.prop__open:focus-visible { outline: none; }
.prop__open:focus-visible::before { outline: 2px solid var(--c-base-2); outline-offset: 6px; }
.prop__lic { font-size: 12px; color: var(--c-muted-on-1); margin-top: auto; padding-top: 6px; position: relative; }
.props__empty[hidden] { display: none; }
.props__empty { padding: 40px; border: 1px dashed var(--c-line-on-1); text-align: center; display: grid; gap: 12px; justify-items: center; }
.listings__note { margin-top: 48px; font-size: 13px; color: var(--c-muted-on-1); }

/* ---------- Property dialog ---------- */
.pd { width: min(1180px, 100vw - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--r); background: var(--c-base-1); color: var(--c-text-on-1); overflow: auto; overscroll-behavior: contain; }
.pd::backdrop { background: rgba(46, 43, 26, .78); }
.pd__in { display: grid; position: relative; }
@media (min-width: 900px) { .pd__in { grid-template-columns: 1.5fr 1fr; } }
.pd__close { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--c-base-1); cursor: pointer; display: grid; place-items: center; }
.pd__close svg { width: 22px; height: 22px; stroke: var(--c-base-2); stroke-width: 1.8; fill: none; }
.pd__close:active { transform: scale(.94); }
.pd__stage { aspect-ratio: 3 / 2; background: #DCD0C2; overflow: hidden; }
.pd__img { width: 100%; height: 100%; object-fit: cover; }
.pd__thumbs { display: flex; gap: 8px; padding: 8px; }
.pd__thumbs button { flex: 1; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; aspect-ratio: 3 / 2; overflow: hidden; min-height: 44px; }
.pd__thumbs button[aria-current="true"] { border-color: var(--c-base-2); }
.pd__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd__body { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; gap: 12px; }
.pd__title { font-size: clamp(30px, 3vw, 42px); }
.pd__price { font-family: var(--f-head); font-weight: 700; font-size: 30px; }
.pd__ctas { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; margin-block: 12px; }

/* ---------- Staging: before / after (S7, slider version) ---------- */
.staging { background: var(--c-base-2); color: var(--c-text-on-2); padding-block: var(--sec); }
.staging .sec-lead { color: var(--c-muted-on-2); }
.ba { margin: 0; }
.ba__frame { position: relative; aspect-ratio: 1600 / 893; overflow: hidden; background: var(--c-deep); touch-action: pan-y; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--c-base-1); pointer-events: none; }
.ba__knob { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--c-base-1); box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.ba__knob::before, .ba__knob::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border: solid var(--c-base-2); border-width: 0 0 2px 2px; }
.ba__knob::before { left: 14px; transform: rotate(45deg); }
.ba__knob::after { right: 14px; transform: rotate(-135deg); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba__range:focus-visible + * , .ba__frame:has(.ba__range:focus-visible) { outline: 3px solid var(--c-base-1); outline-offset: 4px; }
.ba__tag { position: absolute; top: 16px; padding: 6px 14px; border-radius: 999px; background: rgba(46,43,26,.82); color: var(--c-base-1); font-size: 14px; font-weight: 600; pointer-events: none; }
.ba__tag--after { left: 16px; }
.ba__tag--before { right: 16px; }
.ba__cap { margin-top: 16px; font-size: 14px; color: var(--c-muted-on-2); }

/* ---------- Tour (S13) ---------- */
/* desktop stage: set by main.js when GSAP runs */

/* ---------- Services (S3) ---------- */
.services { padding-block: var(--sec); }
.services__in { display: grid; gap: 40px; }
@media (min-width: 900px) { .services__in { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; } }
.services__media { display: none; }
@media (min-width: 900px) {
  .services__media { display: block; position: sticky; top: calc(var(--hdr-h) + 24px); aspect-ratio: 4 / 5; overflow: hidden; background: #DCD0C2; }
  .svc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s ease, transform 1.2s var(--ease-out); }
  .svc-img.is-on { opacity: 1; transform: none; }
}
.svc { margin-top: 40px; counter-reset: s; }
.svc__item { position: relative; padding: 28px 0; border-top: 1px solid var(--c-line-on-1); display: grid; grid-template-columns: 48px 1fr; gap: 6px 12px; }
/* S3 active row: the title darkens and a line draws along the top. No opacity dimming, so every row stays AA. */
.svc__item::before { content: ""; position: absolute; top: -1px; inset-inline: 0; height: 2px; background: var(--c-base-2); transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease-out); }
.svc__item.is-on::before { transform: scaleX(1); }
.svc__title { color: var(--c-muted-on-1); transition: color .4s ease; }
.svc__item.is-on .svc__title { color: var(--c-text-on-1); }
.svc__n { grid-row: span 2; font-size: 14px; font-weight: 600; padding-top: 10px; }
.svc__title { font-size: clamp(30px, 3.4vw, 48px); }
.svc__txt { color: var(--c-muted-on-1); max-width: 46ch; }
@media (min-width: 900px) { .svc__item { min-height: 34vh; align-content: center; } }

/* ---------- Why (S4) ---------- */
.why { background: var(--c-base-2); color: var(--c-text-on-2); padding-block: var(--sec); }
.why__fill { font-family: var(--f-head); font-weight: 700; font-size: clamp(30px, 4.2vw, 60px); line-height: 1.2; max-width: 22ch; }
.why__fill .w { opacity: .52; transition: opacity .5s ease; } /* .52 keeps the unfilled words at 3.4:1 (AA for large text) */
.why__fill .w.is-on, .no-js .why__fill .w { opacity: 1; }
.why__points { margin-top: clamp(48px, 6vw, 88px); display: grid; gap: 32px; }
@media (min-width: 800px) { .why__points { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.why__points li { border-top: 1px solid var(--c-line-on-2); padding-top: 22px; }
.why__points h3 { font-size: 24px; margin-bottom: 10px; }
.why__points p { color: var(--c-muted-on-2); }

/* ---------- Valuation form ---------- */
.valuation { padding-block: var(--sec); }
.valuation__in { display: grid; gap: 48px; }
@media (min-width: 960px) { .valuation__in { grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: start; } }
.valuation__intro .sec-lead { margin-top: 22px; color: var(--c-muted-on-1); }
.valuation__alt { margin-top: 24px; display: grid; gap: 2px; }
.vform { display: grid; gap: 18px; padding: clamp(22px, 3vw, 40px); background: #FBF7F2; border: 1px solid var(--c-line-on-1); }
.vform__row { display: grid; gap: 18px; }
@media (min-width: 600px) { .vform__row { grid-template-columns: 1fr 1fr; } .vform__row--3 { grid-template-columns: repeat(3, 1fr); } }
.vform .field input, .vform .field select, .vform .field textarea { background: #fff; }
.vform__submit { justify-self: start; margin-top: 6px; }
.form-note { font-size: 14px; color: var(--c-muted-on-1); }
.form-status { font-weight: 600; min-height: 1.6em; }
.form-status[data-kind="err"] { color: #8A1F11; }
.hp { position: absolute; top: 0; inset-inline-start: 0; width: 1px; height: 1px; margin: 0; opacity: 0; overflow: hidden; clip-path: inset(50%); pointer-events: none; }
.vform { position: relative; }
@media (max-width: 599px) { .vform__submit { width: 100%; } }

/* ---------- FAQ ---------- */
.faq { padding-bottom: var(--sec); }
.faq__in { display: grid; gap: 32px; }
@media (min-width: 900px) { .faq__in { grid-template-columns: 1fr 2fr; gap: 72px; } .faq .sec-title { font-size: clamp(36px, 4vw, 56px); } }
.faq details { border-top: 1px solid var(--c-line-on-1); }
.faq details:last-child { border-bottom: 1px solid var(--c-line-on-1); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-family: var(--f-head); font-weight: 700; font-size: 22px; display: flex; justify-content: space-between; gap: 16px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-body); font-weight: 400; font-size: 26px; line-height: 1; transition: transform .3s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--c-muted-on-1); max-width: 62ch; }

/* ---------- Footer ---------- */
.ftr { background: var(--c-deep); color: var(--c-text-on-2); padding-top: clamp(64px, 8vw, 112px); }
.ftr__in { display: grid; gap: 40px; }
@media (min-width: 800px) { .ftr__in { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.brand__seal { display: block; width: 132px; height: 132px; }
@media (min-width: 800px) { .brand__seal { width: 156px; height: 156px; } }
.ftr__lic { margin-top: 20px; font-size: 14px; color: var(--c-muted-on-2); }
.ftr__h { font-family: var(--f-body); font-size: 13px; font-weight: 600; letter-spacing: .14em; margin-bottom: 14px; color: var(--c-muted-on-2); }
.ftr__col p { margin-bottom: 8px; }
.ftr__col a { text-decoration: none; display: inline-block; padding-block: 6px; }
@media (hover: hover) and (pointer: fine) { .ftr__col a:hover { text-decoration: underline; text-underline-offset: 5px; } }
.ftr__small { font-size: 13px; color: var(--c-muted-on-2); }
.ftr__bottom { margin-top: 64px; padding-block: 22px 96px; border-top: 1px solid var(--c-line-on-2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: var(--c-muted-on-2); }
@media (min-width: 800px) { .ftr__bottom { padding-bottom: 28px; } }

/* ---------- Floating WhatsApp (K5, one only) ---------- */
.wa-float { position: fixed; z-index: 40; bottom: 18px; left: 18px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c-base-2); color: var(--c-base-1); box-shadow: 0 8px 24px rgba(46,43,26,.3);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .35s ease, transform .35s var(--ease-out), background-color .35s ease, color .35s ease; }
.wa-float svg { width: 24px; height: 24px; fill: currentColor; }
.wa-float.is-on { opacity: 1; transform: none; pointer-events: auto; }
.wa-float.on-dark { background: var(--c-base-1); color: var(--c-base-2); }
.wa-float:active { transform: scale(.94); }
.wa-float:focus-visible { outline: 2px solid var(--c-base-2); outline-offset: 3px; }
.wa-float.on-dark:focus-visible { outline-color: var(--c-base-1); }

/* ---------- Base motion: B1 lines, B2 image reveal (mobile: IO adds .is-in; desktop: GSAP takes over) ---------- */
.js .reveal-lines .ln { display: inline-block; clip-path: inset(0 0 -0.15em 0); }
.js .reveal-lines .ln > span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal-lines:not(.is-in) .ln > span { transform: translateY(105%); }
  .js .reveal-lines .ln > span { transition: transform 1s var(--ease-out); }
  .js .reveal-lines .ln:nth-child(2) > span { transition-delay: .08s; }
  .js .reveal-lines .ln:nth-child(3) > span { transition-delay: .16s; }
  .js .img-reveal:not(.is-in) { clip-path: inset(12% 12% 12% 12%); }
  .js .img-reveal:not(.is-in) img { transform: scale(1.1); }
  .js .img-reveal { transition: clip-path .9s var(--ease-io); }
  .js .img-reveal img { transition: transform 1.1s var(--ease-io); }
}
.hero__title.reveal-lines .ln { display: block; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .btn:active { transform: none; }
}

/* ---------- Accessibility statement page ---------- */
.hdr.is-static { position: sticky; top: 0; }
.a11y-back { margin-inline-start: auto; }
.a11y { max-width: 820px; padding-block: 56px 120px; }
.a11y h1 { margin-bottom: 12px; }
.a11y h2 { font-size: 28px; margin: 44px 0 14px; }
.a11y p { margin-bottom: 12px; max-width: 68ch; }
.a11y__date { color: var(--c-muted-on-1); }
.a11y__list { list-style: disc; padding-inline-start: 22px; display: grid; gap: 10px; }
.a11y__demo { margin-top: 56px; font-size: 13px; color: var(--c-muted-on-1); }

/* ================= Neta polish, 10.11.2026 ================= */

/* Video pause / play (WCAG 2.2.2). Neta, 11.11 (task 74, QUALITY-GATE rule): icon only, a 32px circle at 25% that comes
   up to full on hover / keyboard focus. The button itself is 44px, so the finger target stays comfortable on a phone. */
.vid-toggle { position: absolute; z-index: 3; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; color: var(--c-base-1); cursor: pointer; opacity: .25;
  background: radial-gradient(circle at center, rgba(46,43,26,.78) 0 15px, rgba(240,229,219,.6) 15.5px 16px, transparent 16.5px);
  transition: opacity .25s ease, transform .12s ease; -webkit-tap-highlight-color: transparent; }
.vid-toggle[hidden] { display: none; }
.vid-toggle:active { transform: scale(.94); }
.vid-toggle:focus-visible { opacity: 1; outline: 2px solid var(--c-base-1); outline-offset: -4px; box-shadow: 0 0 0 4px rgba(46,43,26,.55); }
@media (hover: hover) and (pointer: fine) { .vid-toggle:hover { opacity: 1; } }
.vid-toggle__i { position: relative; width: 10px; height: 12px; }
.vid-toggle__i::before, .vid-toggle__i::after { content: ""; position: absolute; top: 0; width: 3px; height: 12px; background: currentColor; }
.vid-toggle__i::before { right: 0; } .vid-toggle__i::after { left: 0; }
.vid-toggle.is-paused .vid-toggle__i { width: 9px; }
.vid-toggle.is-paused .vid-toggle__i::before { right: -1px; width: 0; height: 0; background: none; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
.vid-toggle.is-paused .vid-toggle__i::after { display: none; }
.hero__toggle { bottom: 12px; left: calc(var(--gut) - 6px); }

/* Hero: the new still is bright at the window, so the shade weighs a touch more on the text side (right, RTL). */
@media (min-width: 900px) {
  .hero__shade { background:
    linear-gradient(270deg, rgba(38,35,20,.8) 0%, rgba(38,35,20,.66) 30%, rgba(38,35,20,.3) 55%, rgba(38,35,20,0) 78%),
    linear-gradient(180deg, rgba(38,35,20,.5) 0%, rgba(38,35,20,0) 24%, rgba(38,35,20,.1) 60%, rgba(38,35,20,.7) 100%); }
  .hero__title { text-shadow: 0 2px 40px rgba(30,27,15,.35); }
}
.hero__title { text-wrap: balance; }
.hero__lead { text-wrap: pretty; }
.eyebrow { color: inherit; }

/* Section titles: balanced lines, never a lonely word. Staging title gets the wide column. */
.sec-title { text-wrap: balance; }
@media (min-width: 900px) { .sec-head--split { grid-template-columns: 1.7fr 1fr; } .staging .sec-title { font-size: clamp(40px, 4.4vw, 66px); } }

/* Listings: cards read as a catalogue. Thin rule under the image, the price set apart, and room between rows. */
.prop__img { position: relative; }
.prop__img::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(71,67,41,.08); pointer-events: none; }
.prop__body { border-bottom: 1px solid var(--c-line-on-1); padding-bottom: 16px; }
.prop__title { text-wrap: balance; }
.prop__price { font-size: 26px; letter-spacing: -.005em; }
.prop.is-feature .prop__title { font-size: clamp(28px, 2.8vw, 40px); }
@media (min-width: 1100px) { .prop.is-feature .prop__img { aspect-ratio: 16 / 9; } .props { gap: 64px 32px; } }

/* Staging: the frame is the hero of the section. Tags read as quiet labels, and the knob shows a clear grab. */
.ba__frame { box-shadow: 0 30px 80px rgba(0,0,0,.28); }
.ba__tag { top: 18px; padding: 7px 16px; font-size: 13px; letter-spacing: .08em; background: rgba(240,229,219,.92); color: var(--c-base-2); }
.ba__handle { width: 2px; }
.ba__knob { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
@media (max-width: 699px) { .ba__frame { aspect-ratio: 4 / 3; } .ba__img { object-position: 50% 50%; } .ba__knob { width: 52px; height: 52px; margin: -26px 0 0 -26px; } }


/* Services: the sticky picture gets a caption-free frame and the list breathes less at the end. */
@media (min-width: 900px) { .services__media { aspect-ratio: 4 / 5; box-shadow: 0 24px 60px rgba(46,43,26,.16); } .svc__item:last-child { min-height: 28vh; } }

/* Why: the fill paragraph is the voice of the brand, so it gets more measure on big screens. */
@media (min-width: 1100px) { .why__fill { max-width: 24ch; } }

/* Valuation: the form card lifts off the sand a little. */
.vform { box-shadow: 0 24px 60px rgba(46,43,26,.10); }

/* Phone hero: the title lands on the bright sky, so the shade is deeper through the middle band (AA, measured). */
@media (max-width: 899px) {
  .hero__shade { background: linear-gradient(180deg, rgba(38,35,20,.5) 0%, rgba(38,35,20,.08) 22%, rgba(38,35,20,.2) 32%, rgba(38,35,20,.7) 44%, rgba(38,35,20,.82) 62%, rgba(38,35,20,.92) 100%); }
  .hero__title { text-shadow: 0 2px 28px rgba(30,27,15,.4); }
}

/* The trust strip already closes with a rule, so the listings open closer to it. */
.listings { padding-top: clamp(64px, 7vw, 104px); }



/* ===== S21 · Virtual staging film (Neta, 10.11) =====
   Base (phone, no JS): a 16:10 clip that plays once, the four steps as a quiet list, then the slider.
   .has-seq (desktop, GSAP loaded): the section pins for ~3 screens, the film is drawn on the canvas by scroll,
   the steps fade in one at a time on the text side, and the slider steps aside (the film already shows it).
   Reduced motion: no clip at all, the steps and the static slider stay. */
.seq { margin-block: clamp(40px, 5vw, 64px); }
.seq__pin { position: relative; }
.seq__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-deep); }
.seq__canvas { display: none; width: 100%; height: 100%; }
.seq__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.seq__shade { display: none; }
.seq__toggle { bottom: 8px; left: 8px; }
.seq__steps { list-style: none; margin: 28px auto 0; padding-block: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; counter-reset: none; }
.seq__step { display: grid; gap: 6px; align-content: start; border-top: 1px solid var(--c-line-on-2); padding-top: 14px; }
.seq__n { font-family: var(--f-body); font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--c-muted-on-2); font-variant-numeric: tabular-nums; }
.seq__t { font-family: var(--f-head); font-weight: 700; font-size: 22px; line-height: 1.15; }
.seq__d { font-size: 15px; line-height: 1.55; color: var(--c-muted-on-2); text-wrap: pretty; }
.seq__bar { display: none; }
@media (min-width: 700px) and (max-width: 899px) { .seq__steps { grid-template-columns: repeat(4, 1fr); } }
@media (prefers-reduced-motion: reduce) { .seq__media { display: none; } .seq__steps { margin-top: 0; } }

.has-seq .seq { margin-block: clamp(48px, 5vw, 72px) 0; }
.has-seq .seq__pin { height: 100vh; overflow: hidden; }
.has-seq .seq__media { position: absolute; inset: 0; aspect-ratio: auto; }
.has-seq .seq__canvas { display: block; }
.has-seq .seq__video, .has-seq .seq__toggle { display: none; }
.has-seq .seq__shade { display: block; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(270deg, rgba(38,35,20,.88) 0%, rgba(38,35,20,.8) 22%, rgba(38,35,20,.5) 36%, rgba(38,35,20,.12) 50%, rgba(38,35,20,0) 60%),
              linear-gradient(0deg, rgba(38,35,20,.45) 0%, rgba(38,35,20,0) 22%); }
.has-seq .seq__steps { position: absolute; inset: 0; margin: 0 auto; display: block; padding-inline: var(--gut); }
.has-seq .seq__step { position: absolute; top: 50%; right: var(--gut); width: min(420px, 29vw); border-top-color: rgba(240,229,219,.4); padding-top: 18px; gap: 12px;
  opacity: 0; transform: translateY(calc(-50% + 28px)); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out); }
.has-seq .seq__step.is-on { opacity: 1; transform: translateY(-50%); }
.has-seq .seq__t { font-size: clamp(34px, 3.3vw, 52px); line-height: 1.05; text-shadow: 0 2px 30px rgba(30,27,15,.35); }
.has-seq .seq__d { font-size: 18px; color: var(--c-base-1); max-width: 30ch; text-shadow: 0 1px 18px rgba(30,27,15,.5); }
.has-seq .seq__n { color: var(--c-base-1); }
.has-seq .seq__bar { display: block; position: absolute; left: var(--gut); right: var(--gut); bottom: 32px; height: 2px; background: rgba(240,229,219,.25); }
.has-seq .seq__bar span { display: block; height: 100%; background: var(--c-base-1); transform-origin: right; transform: scaleX(var(--p, 0)); }
.has-seq .staging .ba { display: none; }
.has-seq .staging { padding-bottom: 0; }
