/* Lumera v6 «Sunset» — warm plaster, espresso ink, light Didone + wide grotesque */

:root {
  /* round 6 · one milk palette for every v6 page: a base, a deeper alternate for sheets that must separate, a lighter
     fill for panels / tiles / popovers, the line colour. --plaster now means the base. */
  --milk: #EFE8DE;
  --milk-2: #E6DDD1;
  --milk-hi: #F8F4EE;
  --milk-line: rgba(42, 34, 27, .14);
  --milk-k: #6B5F53; /* tiny labels on milk (AA on --milk-hi) */
  --plaster: var(--milk);
  --plaster-2: var(--milk-2);
  --plaster-3: var(--milk-2);
  --ink: #1F1B17;
  --ink-2: #3B332C;
  --taupe: #74685C;
  --taupe-2: #9A8D80;
  --line: rgba(31, 27, 23, .15);
  --line-2: rgba(31, 27, 23, .3);
  --card: #1A1D1B;
  --espresso: #342A22;
  --cream: #F3ECE2;
  --cream-2: rgba(243, 236, 226, .76);
  --cream-line: rgba(243, 236, 226, .32);

  --serif: 'Noto Serif Display', 'Didot', 'Bodoni 72', 'Times New Roman', serif;
  --sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  --pad: clamp(20px, 6.8vw, 104px);
  --pad-r: clamp(16px, 3.4vw, 52px);
  --gut: clamp(16px, 3.9vw, 56px);
  --hdr-h: clamp(72px, min(8.6vw, 13vh), 124px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* type scale (1440 → concept) */
  --fs-display: clamp(40px, 5.65vw, 84px);
  --fs-lead: clamp(16px, 1.5vw, 21.5px);
  --fs-eyebrow: clamp(12px, 1.17vw, 17px);
  --fs-cta: clamp(13px, 1.27vw, 18.3px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  background: var(--plaster);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  font-optical-sizing: auto;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
::selection { background: rgba(52, 42, 34, .85); color: var(--cream); }
[hidden] { display: none !important; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: var(--cream); padding: 10px 16px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; transition: top .2s; }
.skip:focus { top: 16px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--taupe); }
.note { color: var(--ink-2); font-size: 16px; padding: 40px 0; }
.note a { text-decoration: underline; text-underline-offset: 4px; }

/* ── Type ─────────────────────────────────────────────────── */
.eyebrow {
  font: 500 var(--fs-eyebrow)/1.2 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
}
.eyebrow--sm { font-size: clamp(11px, .9vw, 13px); letter-spacing: .2em; }
.h-display {
  font-family: var(--serif);
  font-weight: 380;
  font-stretch: 87.5%;
  font-size: var(--fs-h, var(--fs-display));
  line-height: 1.1;
  letter-spacing: -.008em;
  margin-top: clamp(18px, 2.4vw, 36px);
  text-wrap: balance;
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.52;
  color: var(--ink-2);
  max-width: 27em;
  letter-spacing: .005em;
}
.lead--sm { font-size: clamp(15px, 1.25vw, 18px); }

/* CTA: caps + long thin arrow */
.cta {
  display: inline-flex; align-items: center; gap: clamp(14px, 1.6vw, 24px);
  font: 600 var(--fs-cta)/1 var(--sans);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: inherit;
  padding: 6px 0;
  cursor: pointer;
}
.cta .i--long { width: clamp(24px, 2.3vw, 32px); height: 12px; transition: transform .5s var(--ease-out); }
.cta:hover .i--long, .cta:focus-visible .i--long { transform: translateX(6px); }
.cta--sm { font-size: clamp(12px, .95vw, 13.5px); font-weight: 600; gap: 14px; }
.cta--sm .i--long { width: 26px; }

.i { width: 22px; height: 22px; flex: none; display: block; }
.i--chev { width: 9px; height: 6px; }
.i--line { width: 24px; height: 24px; }

/* Circle buttons */
.circ {
  display: inline-grid; place-items: center; flex: none;
  width: var(--cs, 58px); height: var(--cs, 58px);
  border-radius: 50%;
  border: 1px solid currentColor;
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s;
}
.circ .i { width: 22px; height: 22px; }
.circ--lg { --cs: clamp(52px, 4.9vw, 70px); }
.circ--lg .i { width: 26px; height: 26px; }
.circ--md { --cs: 48px; }
.circ--sm { --cs: 34px; }
.circ--sm .i { width: 16px; height: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 22px;
  min-height: clamp(54px, 4.6vw, 66px);
  padding: 0 34px;
  border-radius: 3px;
  font: 600 clamp(12.5px, 1vw, 14.5px)/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: background-color .4s var(--ease), color .4s, transform .4s var(--ease-out);
}
.btn .i--long { width: 28px; height: 12px; transition: transform .5s var(--ease-out); }
.btn:hover .i--long { transform: translateX(5px); }
.btn--dark { background: var(--card); color: var(--cream); }
.btn--dark:hover { background: #2B2E2B; }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--cream:hover { background: #fff; }
.btn--line { border: 1px solid currentColor; }
.btn--block { width: 100%; }
.btn { white-space: nowrap; }

/* Photo grade: CMS and library photos are pulled into one warm sunset family; the client's renders keep their own grade */
.ph { position: relative; overflow: hidden; background: #2a2420; }
.ph img, .pcard__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) sepia(.22) contrast(1.06) brightness(.94); }
.pcard__media::after, .loc__ph::after, .split__ph:not(.ph--client)::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(200, 140, 90, .14), rgba(40, 28, 20, .18)); mix-blend-mode: multiply; }
.ph--client img { filter: none; }

/* ── Reveal ───────────────────────────────────────────────── */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.3s var(--ease-out) var(--d, 0s); }
.rv.is-in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

/* ── Header ───────────────────────────────────────────────── */
.hdr { position: fixed; inset: 0 0 auto; height: var(--hdr-h); z-index: 60; pointer-events: none; transition: height .5s var(--ease); }
.hdr__layer { position: absolute; inset: 0; transition: background-color .5s var(--ease), backdrop-filter .5s; }
.hdr__layer--b { display: none; pointer-events: none; }
.hdr.is-split .hdr__layer--a { -webkit-mask-image: linear-gradient(90deg, #000 var(--split), transparent var(--split)); mask-image: linear-gradient(90deg, #000 var(--split), transparent var(--split)); }
.hdr.is-split .hdr__layer--b { display: block; -webkit-mask-image: linear-gradient(90deg, transparent var(--split), #000 var(--split)); mask-image: linear-gradient(90deg, transparent var(--split), #000 var(--split)); }
.hdr__layer.is-cream { color: var(--cream); }
.hdr__layer.is-ink { color: var(--ink); }
.hdr.is-float { height: clamp(64px, 5.6vw, 82px); }
.hdr.is-float .hdr__layer.is-ink { background: linear-gradient(180deg, rgba(239, 232, 222, .98) 0%, rgba(239, 232, 222, .96) 84%, rgba(239, 232, 222, 0) 100%); }
.hdr.is-float .hdr__layer.is-cream { background: linear-gradient(180deg, rgba(30, 25, 21, .86) 0%, rgba(30, 25, 21, .72) 70%, rgba(30, 25, 21, 0) 100%); }
.hdr { transition: height .5s var(--ease), transform .55s var(--ease-out); }
.hdr.is-away { transform: translateY(-100%); }
.hdr .nav { transition: opacity .3s, visibility .3s; }
.hdr.is-split-narrow .nav { opacity: 0; visibility: hidden; }
.hdr__bar { height: 100%; display: flex; align-items: center; padding: 0 var(--pad-r) 0 calc(var(--pad) - 6px); }
.hdr__bar > * { pointer-events: auto; }
.logo {
  font-family: var(--serif);
  font-weight: 360;
  font-stretch: 100%;
  font-size: clamp(25px, 2.45vw, 35px);
  line-height: 1;
  letter-spacing: .045em;
  padding: 6px;
  white-space: nowrap;
}
.nav { flex: 1; display: flex; justify-content: center; align-items: center; gap: clamp(22px, 3.05vw, 46px); padding: 0 24px; }
.nav a {
  position: relative;
  font: 500 clamp(11px, 1.04vw, 15px)/1 var(--sans);
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 10px 0;
  white-space: nowrap;
  opacity: .92;
}
.nav a::after { content: ''; position: absolute; left: 0; right: .16em; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav__sep { width: clamp(14px, 1.5vw, 22px); height: 1px; background: currentColor; opacity: .55; }
.hdr__aside { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 38px); }
.lang { display: inline-flex; align-items: center; gap: 8px; font: 500 clamp(11px, 1.04vw, 15px)/1 var(--sans); letter-spacing: .14em; padding: 10px 2px; }
.lang .i--chev { opacity: .8; transition: transform .3s; }
.lang[aria-expanded="true"] .i--chev { transform: rotate(180deg); }
.burger {
  width: clamp(46px, 4vw, 58px); height: clamp(46px, 4vw, 58px);
  border-radius: 50%;
  border: 1px solid currentColor;
  display: grid; place-content: center; gap: 4px;
  transition: background-color .4s, color .4s;
}
.burger span { display: block; width: 16px; height: 1px; background: currentColor; transition: transform .4s var(--ease-out); }
.burger:hover span:nth-child(1) { transform: translateX(-2px); }
.burger:hover span:nth-child(3) { transform: translateX(2px); }
.burger--close { display: grid; place-items: center; }
.burger--close .i { width: 22px; height: 22px; }

.lang-pop {
  position: fixed; z-index: 70; pointer-events: auto;
  min-width: 220px;
  padding: 16px 0 10px;
  background: var(--plaster);
  color: var(--ink);
  box-shadow: 0 18px 50px -18px rgba(31, 27, 23, .45), 0 0 0 1px var(--line);
  border-radius: 3px;
}
.lang-pop__h { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); padding: 0 20px 8px; }
.lang-pop a, .lang-pop span { display: flex; align-items: center; gap: 12px; padding: 11px 20px; font-size: 14px; }
.lang-pop b { font-weight: 600; letter-spacing: .12em; font-size: 12px; width: 24px; }
.lang-pop a .i { width: 16px; height: 16px; margin-left: auto; }
.lang-pop a:hover, .lang-pop a:focus-visible { background: rgba(31, 27, 23, .06); outline: none; }
.lang-pop .is-soon { color: var(--taupe-2); cursor: default; }
.lang-pop em { margin-left: auto; font-style: normal; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

/* Full-screen menu */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--espresso);
  color: var(--cream);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility 0s linear .45s;
  overflow-y: auto;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
.menu__top { position: relative; display: flex; align-items: center; justify-content: space-between; height: var(--hdr-h); padding: 0 var(--pad-r) 0 calc(var(--pad) - 6px); flex: none; }
.menu__grid { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: clamp(30px, 5vh, 56px); padding: 2vh calc(38% + var(--pad)) 8vh var(--pad); }
.menu__ph { position: absolute; top: 0; right: 0; bottom: 0; width: 38%; margin: 0; overflow: hidden; }
.menu__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 88% 70%; transform: scale(1.35); transform-origin: 88% 70%; }
.menu__ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--espresso), rgba(52, 42, 34, 0) 22%); }
.menu__top { z-index: 2; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 26px;
  font-family: var(--serif); font-weight: 300; font-stretch: 87.5%;
  font-size: clamp(34px, 4.6vw, 66px); line-height: 1.16;
  opacity: 0; transform: translateY(16px);
  transition: opacity .7s var(--ease) calc(.08s + var(--i) * .05s), transform .9s var(--ease-out) calc(.08s + var(--i) * .05s), color .3s;
}
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu__nav a i { font: 500 12px/1 var(--sans); font-style: normal; letter-spacing: .18em; color: var(--cream-2); width: 28px; }
.menu__nav a:hover span { font-style: italic; }
.menu__side { display: flex; flex-wrap: wrap; gap: 18px 34px; align-items: center; padding-left: 54px; }
.menu__contacts { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 16px; flex-basis: 100%; }
.menu__contacts a:hover { text-decoration: underline; text-underline-offset: 5px; }
.menu__lang { font-size: 13px; letter-spacing: .16em; color: var(--cream-2); }
.menu__lang em { font-style: normal; font-size: 11px; text-transform: uppercase; }

/* ── Screens ──────────────────────────────────────────────── */
.screen { position: relative; isolation: isolate; min-height: clamp(720px, 100svh, 1200px); overflow: hidden; }

/* 01 Hero */
.hero {
  --h: max(560px, min(100svh, 68vw));
  --H: max(var(--h), 66.667vw);
  position: relative; isolation: isolate;
  height: var(--h);
  overflow: hidden;
  color: var(--cream);
  background: #8d8580;
}
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg img { object-fit: cover; object-position: 0% 15%; }
.hero__word { display: none; }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 22%; pointer-events: none; background: linear-gradient(0deg, rgba(18, 20, 22, .32), rgba(18, 20, 22, 0)); }
.hero__foot { z-index: 2; }
.hero__content {
  position: absolute;
  left: var(--pad);
  top: calc(var(--H) * .418 - (var(--H) - var(--h)) * .15);
  color: #3E342B;
}
.hero__title {
  font: 400 clamp(15px, 1.5vw, 22px)/1.55 var(--sans);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(62, 52, 43, .9);
}
.hero__cta { margin-top: clamp(26px, 3.4vw, 50px); color: #2A221B; font-size: clamp(13px, 1.27vw, 18px); letter-spacing: .12em; gap: clamp(16px, 1.7vw, 24px); }
.hero__cta .circ { border-color: rgba(42, 34, 27, .75); }
.hero__cta:hover .circ { background: #2A221B; color: var(--cream); }
.hero__foot {
  position: absolute; left: var(--pad); right: calc(var(--pad-r) + 6px); bottom: clamp(28px, 4.2vw, 60px);
  display: flex; justify-content: flex-end; align-items: baseline; gap: 24px;
  font: 500 clamp(11px, 1vw, 14.5px)/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: rgba(243, 236, 226, .86);
}
.hero__cap { text-align: right; }

/* 02 Catalog */
.cat { position: relative; isolation: isolate; z-index: 2; padding: clamp(118px, 13.6vw, 196px) var(--gut) clamp(34px, 3.4vw, 48px); color: var(--cream); min-height: 0; text-shadow: 0 1px 24px rgba(40, 26, 16, .25); }
.cat__deco { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.cat__bg { position: absolute; inset: 0; background: var(--milk); }
.cat__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 0%; filter: sepia(.28) saturate(1.15) brightness(.72) contrast(1.12); }
.cat__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(70, 46, 28, .38), rgba(70, 46, 28, .18) 45%, rgba(70, 46, 28, .3)); }
.cat__leaves { position: absolute; top: 0; left: 0; width: 42vw; height: min(64vw, 900px); pointer-events: none; mix-blend-mode: multiply; opacity: .92; -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 96%), linear-gradient(180deg, #000 30%, transparent 92%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, #000 40%, transparent 96%), linear-gradient(180deg, #000 30%, transparent 92%); mask-composite: intersect; }
.cat__leaves img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 0%; transform: scale(1.25); transform-origin: 0 0; filter: sepia(.5) saturate(.9) contrast(1.35) brightness(.86); }
.cat__head { display: grid; grid-template-columns: 1fr minmax(0, 29.6vw); gap: 40px; padding: 0 calc(10.4vw - var(--gut)) 0 calc(var(--pad) - var(--gut)); align-items: start; }
.cat__side { padding-top: clamp(40px, 5.2vw, 76px); display: flex; flex-direction: column; align-items: flex-start; gap: clamp(20px, 2.4vw, 34px); }
.cat__side .lead { color: rgba(243, 236, 226, .88); }
.cat { --fs-h: clamp(40px, 5.9vw, 86px); }
.cat .h-display { line-height: 1.12; }
.cat .filters__row { border-bottom-color: var(--cream-line); }
.cat .filters__reset-t { border-bottom-color: var(--cream-line); }
.cat .filters__reset:hover .circ { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.cat .dd__list, .cat .pcard { text-shadow: none; }

/* filter row (home + catalog) */
.filters { display: flex; align-items: flex-end; gap: clamp(24px, 3vw, 46px); margin: clamp(30px, 4.2vw, 62px) calc(var(--pad) - var(--gut)) 0; }
.filters__row { flex: 1; display: flex; align-items: flex-end; gap: clamp(20px, 4vw, 64px); border-bottom: 1px solid var(--line-2); min-width: 0; }
.filters--home .filters__row { gap: clamp(28px, 6.2vw, 92px); }
.filters__reset {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: clamp(14px, 1.2vw, 17px);
  padding-bottom: 10px;
  white-space: nowrap;
}
.filters__reset-t { border-bottom: 1px solid var(--line-2); padding-bottom: 6px; }
.filters__reset .circ { margin-bottom: -4px; }
.filters__reset:hover .circ { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.dd { position: relative; }
.dd__btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: clamp(14px, 1.2vw, 17px);
  padding: 8px 0 13px;
  white-space: nowrap;
  color: inherit;
}
.dd__btn .i--chev { opacity: .75; transition: transform .35s var(--ease); }
.dd.is-open .dd__btn .i--chev { transform: rotate(180deg); }
.dd.is-set .dd__btn { font-weight: 600; }
.dd.is-set .dd__btn::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; margin-left: -4px; order: -1; display: none; }
.dd__list {
  position: absolute; left: -18px; top: calc(100% + 8px); z-index: 30;
  min-width: calc(100% + 36px); max-height: 340px; overflow-y: auto;
  padding: 10px 0;
  background: var(--plaster);
  color: var(--ink);
  border-radius: 3px;
  box-shadow: 0 22px 60px -22px rgba(31, 27, 23, .5), 0 0 0 1px var(--line);
  outline: none;
  scrollbar-width: thin;
}
.dd.is-up .dd__list { top: auto; bottom: calc(100% + 8px); }
.dd__list li { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 18px; font-size: 15px; white-space: nowrap; cursor: pointer; }
.dd__list li .i { width: 15px; height: 15px; opacity: 0; }
.dd__list li[aria-selected="true"] { font-weight: 600; }
.dd__list li[aria-selected="true"] .i { opacity: 1; }
.dd__list li.is-active { background: rgba(31, 27, 23, .07); }

/* dark photo cards */
.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.1vw, 30px); margin-top: clamp(28px, 3.4vw, 46px); }
.pcard {
  position: relative; display: block;
  aspect-ratio: .89;
  border-radius: 4px;
  overflow: hidden;
  background: var(--card);
  color: var(--cream);
  isolation: isolate;
}
.pcard__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.pcard__media img { transition: transform 1.6s var(--ease-out); }
.pcard::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22, 26, 24, .08) 0%, rgba(22, 26, 24, 0) 30%, rgba(22, 26, 24, .5) 58%, rgba(23, 27, 25, .93) 80%, #171B19 100%); }
.pcard:hover .pcard__media img { transform: scale(1.045); }
.pcard__body { position: absolute; left: clamp(20px, 2.4vw, 34px); right: clamp(84px, 7.6vw, 110px); bottom: clamp(20px, 2.3vw, 32px); display: flex; flex-direction: column; }
.pcard__n { font: 340 clamp(32px, 3.1vw, 46px)/1 var(--serif); font-stretch: 87.5%; letter-spacing: .01em; }
.pcard__title { font: 420 clamp(24px, 2.3vw, 34px)/1.12 var(--serif); font-stretch: 87.5%; margin-top: clamp(10px, 1.1vw, 16px); letter-spacing: -.005em; min-height: 2.24em; display: flex; align-items: flex-end; }
.pcards--home .pcard__title { min-height: 0; }
.pcard__d { font-size: clamp(13px, 1.18vw, 17px); margin-top: clamp(8px, .9vw, 13px); color: var(--cream-2); letter-spacing: .02em; }
.pcard .circ--card { position: absolute; right: clamp(18px, 2.1vw, 30px); bottom: clamp(18px, 2.1vw, 30px); --cs: clamp(46px, 4.3vw, 62px); border-color: rgba(243, 236, 226, .7); }
.pcard:hover .circ--card, .pcard:focus-visible .circ--card { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.pcard:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
.pcard__top { position: absolute; top: 22px; left: clamp(20px, 2.4vw, 34px); right: clamp(20px, 2.4vw, 34px); display: flex; justify-content: space-between; gap: 12px; font: 500 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--cream); text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.pcard__top span + span { border: 1px solid var(--cream-line); padding: 6px 9px; margin-top: -7px; border-radius: 2px; backdrop-filter: blur(4px); background: rgba(26, 29, 27, .25); }
.pcard__meta { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--cream-line); font-size: 13.5px; color: var(--cream-2); }
.pcard__price { font-size: 15.5px; color: var(--cream); font-weight: 500; letter-spacing: .01em; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.pcard__price small { font-size: 12.5px; color: var(--cream-2); font-weight: 400; }
.pcard--skel { background: linear-gradient(100deg, rgba(26, 29, 27, .18) 30%, rgba(26, 29, 27, .1) 50%, rgba(26, 29, 27, .18) 70%) 0 0 / 200% 100%; animation: skel 1.6s linear infinite; }
@keyframes skel { to { background-position: -200% 0; } }

/* 03 Locations */
.loc { --fs-h: clamp(40px, min(5.15vw, 9.2vh), 75px); background: var(--milk-2); padding: clamp(96px, 12.6vh, 126px) 0 0; display: flex; flex-direction: column; }
.loc__grid { position: relative; z-index: 2; margin-bottom: calc(clamp(180px, 25vh, 260px) * -.4); display: grid; grid-template-columns: minmax(0, 31.2fr) minmax(0, 29.6fr) minmax(0, 26.8fr); gap: 0 clamp(16px, 1.3vw, 20px); padding: 0 clamp(20px, 5.9vw, 85px) 0 var(--pad); align-items: start; }
.loc__grid > * { min-width: 0; }
.loc__text { padding-top: clamp(24px, 4.6vh, 64px); }
.loc__text .h-display { line-height: 1.08; margin-bottom: clamp(20px, 2.7vw, 40px); }
.loc__text .lead { max-width: 420px; }
.loc__text .cta { margin-top: clamp(22px, 3.6vh, 52px); }
.loc__coast { position: relative; flex: none; margin-top: auto; width: 100%; height: clamp(180px, 25vh, 260px); z-index: 1; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .4) 26%, rgba(0, 0, 0, .78) 46%, #000 60%), linear-gradient(90deg, #000 58%, transparent 74%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .4) 26%, rgba(0, 0, 0, .78) 46%, #000 60%), linear-gradient(90deg, #000 58%, transparent 74%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.loc__coast img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(.66) sepia(.22) hue-rotate(-6deg) contrast(1.02) brightness(.99); }
.loc__nomap { padding-top: 120px; }

/* the island */
.map { position: relative; }
.map__box { position: relative; height: clamp(480px, 66vh, 720px); aspect-ratio: 360 / 820; margin-left: clamp(0px, 1.4vw, 24px); }
.map__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map__cues { fill: none; stroke: rgba(116, 104, 92, .7); stroke-width: 1; vector-effect: non-scaling-stroke; }
.map__cues path { vector-effect: non-scaling-stroke; }
.map__cues text { fill: rgba(116, 104, 92, .9); stroke: none; font: 500 13px/1 var(--sans); letter-spacing: .08em; text-anchor: middle; }
.map__line path { fill: none; vector-effect: non-scaling-stroke; stroke-width: 1; transition: stroke .3s, opacity .3s, stroke-width .3s; }
.map__land { stroke: rgba(248, 243, 232, .6); stroke-width: .9; }
.map__line--p .map__sea { stroke: rgba(31, 27, 23, .55); }
.map__line--s .map__sea { stroke: rgba(31, 27, 23, .32); }
.map__dot { fill: #231E19; transition: opacity .3s; }
.map__pin--s .map__dot { fill-opacity: .8; }
.map__dot-ring { fill: none; stroke: rgba(248, 243, 232, .8); stroke-width: 1; vector-effect: non-scaling-stroke; }
.map__ring { fill: none; stroke: #231E19; stroke-width: 1; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .3s; }
.map__hit { fill: transparent; cursor: pointer; }
.map__lbl {
  position: absolute; left: calc((384 - 20) / 360 * 100%); transform: translateY(-50%);
  color: var(--ink);
  white-space: nowrap;
  padding: 4px 2px;
  transition: opacity .3s, color .3s;
}
.map__lbl--p { font: 500 clamp(13px, 1.08vw, 15.5px)/1 var(--sans); letter-spacing: .01em; }
.map__lbl--s { font: 400 clamp(11px, .87vw, 12.5px)/1 var(--sans); letter-spacing: .03em; color: #625548; }
.map__box.has-active .map__line:not(.is-on) { opacity: .28; }
.map__box.has-active .map__pin:not(.is-on) .map__dot { opacity: .5; }
.map__box.has-active .map__lbl:not(.is-on) { opacity: .38; }
.map__line.is-on path { stroke: var(--ink); stroke-width: 1.2; }
.map__pin.is-on .map__ring { opacity: .9; }
.map__lbl--p.is-on { font-weight: 600; }
.map__lbl--s.is-on { color: var(--ink); }
.map__lbl:focus-visible { outline-offset: 2px; }
.map__credit { position: absolute; right: calc(100% - (94 - 20) / 360 * 100%); top: calc((164 - 22) / 820 * 100%); width: 10.5em; text-align: right; font-size: 10.5px; line-height: 1.35; letter-spacing: .03em; color: #625548; z-index: 3; }
.map__credit a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* the district column: five rows, paged by the button (the wheel always scrolls the page) */
.loc__list-wrap { position: relative; --row: clamp(96px, min(9.7vw, 13.6vh), 140px); --thumb: clamp(84px, min(9.5vw, 13.3vh), 137px); }
.loc__more { display: inline-flex; align-items: center; gap: 10px; margin: 16px 0 0 calc(var(--thumb) + clamp(18px, 2.4vw, 34px)); font: 500 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); padding: 6px 0; }
.loc__more .i--chev { transition: transform .3s; }
.loc__more.is-end .i--chev { transform: rotate(180deg); }
.loc__list { height: calc(var(--row) * 5); overflow: hidden; overscroll-behavior: auto; margin-top: -3px; }
.loc__list li { height: var(--row); }
.loc__list a { display: grid; grid-template-columns: var(--thumb) 1fr; grid-template-rows: minmax(0, 1fr); gap: clamp(18px, 2.4vw, 34px); height: 100%; padding: 0 0 clamp(10px, 1vw, 14px); align-items: stretch; }
.loc__ph { height: auto; min-height: 0; border-radius: 2px; }
.loc__ph img { transition: transform 1.2s var(--ease-out); }
.loc__list a:hover .loc__ph img, .loc__list a.is-on .loc__ph img { transform: scale(1.06); }
.loc__txt { display: flex; flex-direction: column; justify-content: flex-start; padding-top: clamp(14px, 2.2vw, 32px); border-bottom: 1px solid var(--line-2); min-height: 0; overflow: hidden; }
.loc__name { font-size: clamp(16px, 1.56vw, 22.5px); line-height: 1.2; letter-spacing: .005em; transition: font-weight .2s; }
.loc__tag { font-size: clamp(12.5px, 1.18vw, 17px); color: var(--taupe); margin-top: 8px; line-height: 1.35; }
.loc__list a.is-on .loc__name, .loc__list a:hover .loc__name { font-weight: 600; }
.loc__list a:focus-visible { outline-offset: -2px; }
@media (max-height: 879px) and (min-width: 761px) {
  .loc__grid { margin-bottom: calc(clamp(150px, 22vh, 260px) * -.12); }
  .loc__coast { height: clamp(150px, 22vh, 260px); }
  .loc__txt { padding-top: clamp(8px, 1.6vh, 18px); }
  .loc__tag { margin-top: 6px; }
  .map__lbl { padding-top: 1px; padding-bottom: 1px; }
  .map__lbl--s { font-size: 11px; }
}
@media (min-width: 1600px) {
  .loc__grid { grid-template-columns: minmax(0, 30fr) minmax(0, 33fr) minmax(0, 26fr); }
  .loc__map { display: flex; justify-content: flex-end; padding-right: var(--map-pr, 150px); }
}

/* 04 Services — a flex column: the band always sits under the text, never over it */
.svc { --fs-h: clamp(40px, min(5.76vw, 10.4vh), 84px); color: var(--ink); background: var(--milk-2); display: flex; flex-direction: column; }
.svc__bg { position: absolute; top: 0; right: 0; bottom: 0; left: 12vw; z-index: -1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8vw); mask-image: linear-gradient(90deg, transparent, #000 8vw); }
.svc__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 40%; filter: saturate(.86) brightness(.97); }
.svc__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(120, 92, 70, .3), rgba(120, 92, 70, .16) 40%, transparent 62%), linear-gradient(0deg, rgba(60, 44, 32, .32), transparent 45%); }
.svc::before { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(150, 120, 96, .34), rgba(150, 120, 96, .1) 12vw, transparent 20vw), linear-gradient(0deg, rgba(60, 44, 32, .28), transparent 45%); }
.svc__text { padding: calc(var(--hdr-h) + clamp(12px, 6vh, 90px)) var(--pad) clamp(40px, 6vh, 80px); max-width: calc(var(--pad) + 640px); }
.svc__text .h-display { margin-top: clamp(12px, 2.6vh, 36px); }
.svc__text .lead { margin-top: clamp(16px, 3vh, 38px); max-width: 24em; }
.svc__text .cta { margin-top: clamp(22px, 5vh, 66px); }
.svc__band {
  margin-top: auto;
  display: grid; grid-template-columns: .8fr 1.15fr 1fr 1fr;
  padding: 0 var(--pad);
  background: linear-gradient(100deg, rgba(66, 59, 51, .74) 0%, rgba(44, 40, 35, .84) 55%, rgba(34, 31, 27, .9) 100%);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  color: var(--cream);
}
.svc__band li { position: relative; }
.svc__band li + li::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--cream-line); }
.svc__band button { display: flex; flex-direction: column; align-items: flex-start; text-align: left; width: 100%; height: 100%; padding: clamp(20px, min(2.6vw, 3.6vh), 38px) 20px clamp(24px, min(3.2vw, 4.4vh), 46px) 0; }
.svc__band li + li button { padding-left: clamp(20px, 3vw, 44px); }
.svc__n { font: 300 clamp(36px, min(3.9vw, 6.6vh), 57px)/1 var(--serif); font-stretch: 87.5%; letter-spacing: .01em; }
.svc__t { font-size: clamp(14px, 1.56vw, 22.5px); line-height: 1.38; margin-top: clamp(10px, 1.3vw, 18px); color: rgba(243, 236, 226, .92); }
.svc__band button:hover .svc__t { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* 07–08 Split screens */
.split { display: grid; grid-template-columns: 54fr 46fr; color: var(--ink); }
.split__panel { display: flex; flex-direction: column; justify-content: center; }
.req { grid-template-columns: 56fr 44fr; }
.split__panel { background: var(--milk); padding: calc(var(--hdr-h) + clamp(8px, 2vh, 20px)) clamp(24px, 5vw, 80px) clamp(36px, 6vh, 72px) var(--pad); }
.req .split__panel { background: var(--milk-2); }
.req { --fs-h: clamp(38px, min(4.5vw, 8vh), 65px); }
.contacts { --fs-h: clamp(40px, min(5.15vw, 9vh), 75px); }
.split__ph { min-height: 100%; background: var(--milk-2); }
.split__ph img { position: absolute; inset: 0; }
.contacts .split__ph::before, .req .split__ph::before { content: ''; position: absolute; inset: 0 0 auto; height: 170px; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(22, 18, 15, .42), rgba(22, 18, 15, 0)); }
.req .split__ph.ph--client img { object-position: 92% 34%; scale: 1.7; transform-origin: 92% 34%; }
.contacts .split__ph img { transform: none; object-position: 0% 0%; scale: 1.35; transform-origin: 0 0; filter: sepia(.2) contrast(1.15) brightness(.88); }
.split .lead { margin-top: clamp(22px, 2.6vw, 38px); max-width: 26em; }
.contacts .h-display { line-height: 1.16; }
.crows { margin-top: clamp(28px, min(4.8vw, 6.4vh), 70px); display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 34px); }
.crows li { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 34px); font-size: clamp(16px, 1.68vw, 24px); letter-spacing: .01em; }
.crows__i { width: 26px; display: grid; place-items: center; color: var(--ink-2); }
.crows a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.cmsg { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: clamp(30px, 3.6vw, 50px); }
.cmsg:empty { display: none; }

/* lead form */
.lform { position: relative; margin-top: clamp(14px, 1.6vw, 22px); max-width: 630px; }
.lform__fields { display: flex; flex-direction: column; gap: clamp(4px, .6vw, 8px); }
.fld { position: relative; padding-top: 18px; }
.fld input, .fld textarea {
  width: 100%;
  font: 400 clamp(15px, 1.25vw, 17px)/1.4 var(--sans);
  color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  padding: 8px 0 12px;
  outline: none;
  transition: border-color .3s;
  resize: none;
}
.fld textarea { min-height: 64px; padding-bottom: 26px; }
.fld label {
  position: absolute; left: 0; top: 26px;
  font-size: clamp(14px, 1.15vw, 16px);
  color: var(--taupe-2);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .35s var(--ease-out), color .3s;
}
.fld input:focus, .fld textarea:focus { border-bottom-color: var(--ink); }
.fld input:focus + label, .fld input:not(:placeholder-shown) + label,
.fld textarea:focus + label, .fld textarea:not(:placeholder-shown) + label { transform: translateY(-24px) scale(.8); color: var(--taupe); }
.fld__hint { position: absolute; right: 0; top: 30px; font-size: 12px; color: var(--taupe-2); opacity: 0; transition: opacity .3s; pointer-events: none; }
.fld input:focus ~ .fld__hint { opacity: 1; }
.fld input:not(:placeholder-shown) ~ .fld__hint { opacity: 0; }
.fld.is-bad input, .fld.is-bad textarea { border-bottom-color: #9A3B26; }
.fld.is-bad label { color: #9A3B26; }
.lform .btn { margin-top: clamp(24px, 2.7vw, 38px); min-height: clamp(56px, 5.2vw, 76px); }
.lform__consent { font-size: 12px; color: var(--taupe); margin-top: 14px; line-height: 1.5; max-width: 52em; }
.lform__consent a, .lform__alt a { text-decoration: underline; text-underline-offset: 3px; }
.lform__alt { font-size: 12.5px; color: var(--taupe); margin-top: 6px; }
.lform__status { font-size: 14px; margin-top: 8px; min-height: 1.4em; }
.lform.is-error .lform__status { color: #8F3522; }
.lform.is-sending .btn { opacity: .6; pointer-events: none; }
.lform.is-sending .btn::after { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 1px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.lform__done { position: absolute; inset: -8px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s .6s; outline: none; }
.lform > :not(.lform__done) { transition: opacity .4s var(--ease), visibility 0s; }
.lform.is-success > :not(.lform__done) { opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s; }
.lform.is-success .lform__done { opacity: 1; visibility: visible; transition: opacity .6s var(--ease); }
.lform__done-t { font: 300 clamp(34px, 3.4vw, 50px)/1.1 var(--serif); font-stretch: 87.5%; }
.lform__done p:not(.lform__done-t) { color: var(--ink-2); max-width: 26em; font-size: 16px; }

/* ── Footer ───────────────────────────────────────────────── */
.ftr { position: relative; isolation: isolate; overflow: hidden; color: var(--ink); background: var(--milk-2); }
.ftr__bg { position: absolute; inset: 0; z-index: -1; }
.ftr__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; filter: saturate(.72) brightness(.99); }
.ftr__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(232, 220, 206, .55) 0%, rgba(232, 220, 206, .12) 45%, rgba(236, 222, 206, .38) 88%, rgba(236, 222, 206, .55) 100%); }
.ftr__bg::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(70, 50, 36, .25), transparent 60%); }
.ftr__in { padding: clamp(80px, 9vw, 130px) var(--pad) 28px; }
.ftr__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.1fr; gap: 40px; }
.ftr__brand .logo { padding: 0; display: inline-block; }
.ftr__brand p { margin-top: 20px; max-width: 22em; color: var(--ink-2); font-size: 15px; }
.ftr__h { font: 500 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); margin-bottom: 20px; }
.ftr ul { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.ftr ul a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ftr__word {
  font-family: var(--serif); font-weight: 300; font-stretch: 100%;
  font-size: clamp(76px, 19.4vw, 290px);
  line-height: .8;
  letter-spacing: .07em;
  color: rgba(250, 244, 236, .9);
  text-align: center;
  margin: clamp(60px, 8vw, 120px) calc(var(--pad) * -1) 0;
  padding-left: .07em;
  text-shadow: 0 1px 40px rgba(170, 110, 70, .12);
  user-select: none;
}
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; padding-top: 26px; margin-top: clamp(40px, 5vw, 70px); border-top: 1px solid rgba(31, 27, 23, .22); font-size: 13px; color: var(--ink-2); }
.ftr__bottom a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ftr__legal { font-size: 11.5px; line-height: 1.5; color: rgba(59, 51, 44, .78); margin-top: 14px; max-width: 80em; }

/* ── Lightbox ─────────────────────────────────────────────── */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(24, 20, 17, .96); color: var(--cream); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; transition: opacity .35s var(--ease); }
.lb.is-open { opacity: 1; }
.lb__top { display: flex; justify-content: space-between; align-items: center; padding: 20px var(--pad-r) 0 var(--pad); }
.lb__count { font-size: 13px; letter-spacing: .2em; color: var(--cream-2); }
.lb__stage { display: grid; place-items: center; padding: 16px clamp(16px, 8vw, 120px); min-height: 0; }
.lb__stage img { max-width: 100%; max-height: calc(100svh - 170px); object-fit: contain; filter: saturate(.88) sepia(.06); }
.lb__cap { text-align: center; padding: 0 24px 28px; font-size: 14px; color: var(--cream-2); min-height: 1.5em; }
.lb__nav { position: absolute; top: 50%; translate: 0 -50%; border-color: rgba(243, 236, 226, .5); }
.lb__nav:hover, .lb__close:hover { background: var(--cream); color: var(--ink); }
.lb__prev { left: clamp(12px, 2.6vw, 40px); }
.lb__next { right: clamp(12px, 2.6vw, 40px); }

/* ── Drawer ───────────────────────────────────────────────── */
.drw { position: fixed; inset: 0; z-index: 95; }
.drw__scrim { position: absolute; inset: 0; background: rgba(31, 24, 18, .45); opacity: 0; transition: opacity .45s var(--ease); }
.drw__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(640px, 100%); background: var(--plaster); color: var(--ink); transform: translateX(100%); transition: transform .6s var(--ease-out); display: flex; flex-direction: column; box-shadow: -30px 0 80px -40px rgba(31, 24, 18, .5); }
.drw.is-open .drw__scrim { opacity: 1; }
.drw.is-open .drw__panel { transform: none; }
.drw__close { position: absolute; top: 22px; right: 22px; z-index: 2; background: var(--plaster); }
.drw__close:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.drw__body { overflow-y: auto; padding: 84px clamp(24px, 4.4vw, 64px) 56px; overscroll-behavior: contain; }
.drw__title { font: 300 clamp(36px, 3.6vw, 54px)/1.1 var(--serif); font-stretch: 87.5%; margin: 18px 0 22px; }
.drw__lead { font-size: 18px; color: var(--ink-2); margin-bottom: 18px; }
.drw__body > p { color: var(--ink-2); margin-bottom: 16px; }
.drw__h { font: 300 28px/1.2 var(--serif); font-stretch: 87.5%; margin: 34px 0 14px; }
.drw__list { margin: 30px 0 40px; border-top: 1px solid var(--line-2); }
.drw__list > li { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 26px 0; border-bottom: 1px solid var(--line-2); scroll-margin-top: 30px; transition: background-color 1.2s; }
.drw__list > li.is-hl { background: linear-gradient(90deg, rgba(31, 27, 23, .045), transparent); }
.drw__n { font: 300 34px/1 var(--serif); font-stretch: 87.5%; }
.drw__list h3 { font: 500 18px/1.3 var(--sans); }
.drw__short { color: var(--ink); margin: 6px 0 10px; font-size: 15.5px; }
.drw__list p { color: var(--ink-2); font-size: 15px; }
.drw__points { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px; }
.drw__points li { position: relative; font-size: 13.5px; line-height: 1.45; padding-left: 18px; color: var(--ink-2); }
.drw__points li::before { content: ''; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: currentColor; opacity: .6; }
.drw__values { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; margin: 34px 0 40px; padding-top: 30px; border-top: 1px solid var(--line-2); }
.drw__values h3 { font: 300 24px/1.2 var(--serif); font-stretch: 87.5%; margin-bottom: 8px; }
.drw__values p { font-size: 14.5px; color: var(--ink-2); }

/* ── Inner pages: shared plaster header block ─────────────── */
.page-plain { background: var(--plaster); }
.phead { position: relative; isolation: isolate; overflow: hidden; padding: clamp(118px, 16.4vh, 168px) var(--gut) clamp(30px, 3vw, 44px); }

/* ── Catalog page ─────────────────────────────────────────── */
.cat--page { min-height: 0; padding-bottom: clamp(36px, 4vw, 56px); }
.cat--page .cat__bg img { object-position: 30% 8%; }
.cat--page .cat__bg { -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.cat--page { background: var(--plaster); }
.cat--page .cat__leaves { height: min(52vw, 720px); }
.crumbs { position: absolute; top: calc(var(--hdr-h) + 4px); left: var(--pad); display: flex; gap: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.filters__reset.is-off { opacity: .45; pointer-events: none; }
button.filters__reset { cursor: pointer; }
.results { background: var(--plaster); padding: clamp(36px, 4vw, 56px) var(--gut) clamp(70px, 8vw, 120px); }
.results__bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; padding: 0 calc(var(--pad) - var(--gut)); }
.results__h { font: 300 clamp(26px, 2.4vw, 36px)/1.15 var(--serif); font-stretch: 87.5%; }
.results__sort { display: flex; align-items: baseline; gap: 14px; font-size: 14px; color: var(--taupe); }
.dd--sort .dd__btn { padding: 6px 0 8px; border-bottom: 1px solid var(--line-2); font-size: 15px; color: var(--ink); }
.dd--sort.is-set .dd__btn { font-weight: 400; }
.dd--sort .dd__list { left: auto; right: -18px; }
.pcards--grid { margin-top: clamp(26px, 3vw, 40px); transition: opacity .3s; }
.pcards--grid.is-loading { opacity: .55; }
.pcards--grid .pcard { aspect-ratio: .8; }
.more { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: clamp(40px, 4.4vw, 64px); }
.more p { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); }
.empty { grid-column: 1 / -1; padding: clamp(40px, 6vw, 90px) 0; max-width: 620px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.empty__t { font: 300 clamp(34px, 3.4vw, 50px)/1.1 var(--serif); font-stretch: 87.5%; }
.empty p:not(.empty__t) { color: var(--ink-2); }
.empty__a { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; margin-top: 14px; }

/* ── Object page: project lots and payment plan (kept from round 4; the page itself is round 5, see the end) ── */
.pkpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0 28px; }
.pkpis > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.pkpis dt { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); }
.pkpis dd { font: 300 26px/1.2 var(--serif); font-stretch: 87.5%; margin-top: 6px; }
.ptable { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 16px; }
.ptable th { text-align: left; font: 500 11.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); padding: 0 0 12px; border-bottom: 1px solid var(--line-2); }
.ptable td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.ptable small { display: block; font-size: 13px; color: var(--taupe); margin-top: 2px; }
.pplan { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
.pplan li { padding: 22px 24px 4px 0; display: flex; flex-direction: column; gap: 6px; }
.pplan li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.pplan__n { font-size: 11.5px; letter-spacing: .18em; color: var(--taupe); }
.pplan b { font: 300 46px/1 var(--serif); font-stretch: 87.5%; }
.pplan span:last-child { font-size: 15px; color: var(--ink-2); }
.disclaimer { font-size: 12.5px; color: var(--taupe); margin-top: 20px; }


.similar { background: var(--plaster); padding: clamp(70px, 8vw, 120px) var(--gut) clamp(70px, 8vw, 120px); }
.similar__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 40px; flex-wrap: wrap; padding: 0 calc(var(--pad) - var(--gut)); }
.similar .h-display { --fs-h: clamp(36px, 4.4vw, 64px); }

/* 404 / not found / privacy */
.nf { position: relative; isolation: isolate; min-height: max(640px, 100svh); display: flex; align-items: center; padding: var(--hdr-h) var(--pad) 60px; overflow: hidden; }
.nf__bg { position: absolute; inset: 0; z-index: -1; }
.nf__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.55) brightness(.94); transform: scaleX(-1); }
.nf__in { max-width: 760px; }
.nf .lead { margin-top: 26px; }
.nf__a { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; margin-top: 40px; }
.legal { background: var(--plaster); padding: calc(var(--hdr-h) + 40px) var(--pad) 100px; }
.legal__in { max-width: 820px; }
.legal h1 { margin-bottom: 40px; }
.legal .h-display { --fs-h: clamp(32px, 5.4vw, 78px); overflow-wrap: break-word; hyphens: auto; }
.legal h2 { font: 300 30px/1.2 var(--serif); font-stretch: 87.5%; margin: 44px 0 14px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.legal p + p { margin-top: .8em; }
.legal ul { list-style: disc; padding-left: 1.2em; margin: .6em 0; }
.legal a { text-decoration: underline; text-underline-offset: 4px; }

/* ══ Round 3 — the six-frame ТЗ ══════════════════════════════ */
.nav { gap: clamp(24px, 3.75vw, 54px); }
.nav__sep { display: none; }

/* Frame 1 — dark subtitle like the CTA */
.hero__title { color: #241D17; font-weight: 500; letter-spacing: .15em; }
.hero__cta { color: #1F1913; }

/* Frame 2 — amber palm wall, cream heading, dark intro and filters, landscape cards */
.cat { --fs-h: clamp(40px, 4.15vw, 64px); min-height: max(640px, 100svh); display: flex; flex-direction: column; justify-content: center; padding: calc(var(--hdr-h) + 8px) var(--gut) clamp(28px, 5vh, 56px); text-shadow: none; }
.cat__bg img { object-position: 22% 30%; filter: sepia(.18) saturate(1.05) brightness(.9) contrast(1.06); }
.cat__bg::after { background: linear-gradient(100deg, rgba(58, 40, 26, .58) 0%, rgba(58, 40, 26, .32) 30%, rgba(58, 40, 26, .06) 58%, rgba(58, 40, 26, 0) 100%), linear-gradient(180deg, rgba(58, 40, 26, .26), rgba(58, 40, 26, 0) 30%, rgba(58, 40, 26, .12)); }
.cat .h-display, .cat .eyebrow { text-shadow: 0 1px 22px rgba(40, 26, 16, .3); }
.cat .h-display { font-weight: 420; line-height: 1.08; margin-top: clamp(14px, 1.6vw, 24px); }
.cat__head { grid-template-columns: 1fr minmax(0, 30vw); padding: 0 calc(5vw - var(--gut)) 0 calc(var(--pad) - var(--gut)); align-items: start; }
.cat__side { padding-top: clamp(30px, 3.6vw, 52px); }
.cat__side .lead { color: #2A221B; font-size: clamp(14px, 1.18vw, 17px); font-weight: 500; line-height: 1.5; max-width: none; text-shadow: none; }
.cat .filters { margin: clamp(22px, 2.3vw, 34px) calc(5vw - var(--gut)) 0 calc(var(--pad) - var(--gut)); color: #2A221B; align-items: center; }
.cat .filters__row { border-bottom: 0; border-top: 1px solid rgba(42, 34, 27, .32); padding-top: 6px; }
.filters--home .filters__row { gap: clamp(28px, 6.2vw, 92px); }
.cat .dd__btn { font-weight: 500; font-size: clamp(13px, 1.1vw, 16px); }
.cat .filters__reset { color: #2A221B; font-weight: 500; font-size: clamp(13px, 1.1vw, 16px); padding-bottom: 0; }
.cat .filters__reset-t { border-bottom: 0; padding-bottom: 0; }
.cat .filters__reset .circ { --cs: clamp(32px, 2.7vw, 40px); border-color: rgba(42, 34, 27, .7); margin: 0; }
.cat .filters__reset:hover .circ { background: #2A221B; color: var(--cream); border-color: #2A221B; }
.cat .pcards { margin: clamp(18px, 2vw, 30px) calc(5vw - var(--gut)) 0 calc(var(--pad) - var(--gut)); gap: clamp(14px, 1.7vw, 24px); }
.pcard { aspect-ratio: 1.52; border-radius: 6px; box-shadow: 0 18px 40px -26px rgba(30, 18, 10, .7); }
.pcard::before { background: linear-gradient(180deg, rgba(20, 22, 20, 0) 0%, rgba(20, 22, 20, 0) 40%, rgba(20, 22, 20, .55) 66%, rgba(19, 21, 19, .9) 100%); }
.pcard__body { left: clamp(18px, 2.4vw, 34px); right: clamp(70px, 6vw, 90px); bottom: clamp(16px, 1.7vw, 24px); }
.pcard__n { font: 400 clamp(28px, 2.8vw, 40px)/1 var(--serif); font-stretch: 87.5%; }
.pcard__title { font: 420 clamp(20px, 1.8vw, 26px)/1.12 var(--serif); font-stretch: 87.5%; margin-top: clamp(6px, .7vw, 10px); min-height: 0; display: block; }
.pcard__d { font-size: clamp(12.5px, .98vw, 14px); margin-top: 6px; font-weight: 500; }
.pcard .circ--card { --cs: clamp(38px, 3.06vw, 44px); right: clamp(16px, 1.8vw, 26px); bottom: clamp(16px, 1.8vw, 26px); }
.pcard .circ--card .i { width: 18px; height: 18px; }
.pcards--grid .pcard { aspect-ratio: 1.52; }
.pcards--grid .pcard__meta { margin-top: 8px; padding-top: 8px; font-size: 12.5px; }
.pcards--grid .pcard__price { font-size: 14px; }
.pcards--grid .pcard__specs { display: none; }
.pcards--grid .pcard__title { min-height: 0; }
.cat--page { min-height: 0; padding-bottom: clamp(30px, 3vw, 44px); }
.cat--page .cat__bg { -webkit-mask-image: none; mask-image: none; }


/* Frame 4 — locations on the sunset sky */
.loc { --fs-h: clamp(40px, 4.5vw, 66px); background: var(--milk-2); padding: calc(var(--hdr-h) + 4px) 0 clamp(30px, 5vh, 60px); min-height: max(640px, 100svh); display: flex; flex-direction: column; justify-content: center; }
.loc__bg { position: absolute; inset: 0; z-index: -1; }
.loc__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; filter: saturate(.92); }
.loc__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(240, 222, 204, .38) 0%, rgba(240, 222, 204, .18) 55%, rgba(240, 222, 204, 0) 80%); }
.loc__coast, .loc__more { display: none; }
.loc__grid { grid-template-columns: minmax(0, 31fr) minmax(0, 27fr) minmax(0, 32fr); gap: 0; padding: 0 clamp(20px, 5.5vw, 80px) 0 calc(var(--pad) + .8vw); align-items: center; margin-bottom: 0; }
.loc__text { padding-top: 0; }
.loc__text .h-display { font-weight: 420; line-height: 1.05; margin: clamp(14px, 1.6vw, 24px) 0 clamp(20px, 2.4vw, 34px); }
.loc__text .lead { color: #2A221B; font-weight: 500; font-size: clamp(14px, 1.18vw, 17px); line-height: 1.5; max-width: none; }
.loc__text .cta { margin-top: clamp(22px, 3vw, 40px); font-size: clamp(12.5px, 1.04vw, 15px); }
.loc__map { display: flex; justify-content: center; }
.map__box { height: clamp(440px, 34vw, 560px); margin-left: 0; }
.map__credit { right: auto; left: 0; top: calc(100% + 6px); width: auto; text-align: left; white-space: nowrap; color: #5D4F42; }
.loc__list { height: auto; overflow: visible; margin: 0; display: flex; flex-direction: column; gap: clamp(12px, 1.4vw, 20px); }
.loc__list li { height: auto; }
.loc__list a { grid-template-columns: clamp(130px, 11.1vw, 160px) 1fr; grid-template-rows: auto; gap: clamp(18px, 3.4vw, 50px); align-items: center; padding: 0; }
.loc__ph { height: auto; aspect-ratio: 2.2; border-radius: 4px; box-shadow: 0 10px 24px -16px rgba(60, 36, 20, .6); }
.loc__ph::after { display: none; }
.loc__txt { padding: 0 0 clamp(8px, .9vw, 12px); border-bottom: 1px solid rgba(42, 34, 27, .22); overflow: visible; }
.loc__name { font-size: clamp(15px, 1.2vw, 17.5px); font-weight: 500; color: #1F1913; }
.loc__tag { font-size: clamp(13px, 1.04vw, 15px); margin-top: 4px; color: #3B3129; font-weight: 400; }
.loc__list a.is-on .loc__name, .loc__list a:hover .loc__name { font-weight: 600; }
.map__line--p .map__sea { stroke: rgba(42, 34, 27, .55); }

/* Frame 5 — services band on the blank plaster */
.svc { --fs-h: clamp(40px, 4.45vw, 66px); justify-content: center; min-height: max(640px, 100svh); padding-bottom: clamp(30px, 6vh, 70px); }
.svc::before { display: none; }
.svc__bg { left: 0; -webkit-mask-image: none; mask-image: none; }
.svc__bg img { object-position: 0% 30%; filter: none; }
.svc__bg::after { background: linear-gradient(90deg, rgba(232, 214, 198, .3), rgba(232, 214, 198, 0) 45%); }
.svc__text { padding: calc(var(--hdr-h) + 8px) var(--pad) 0 calc(var(--pad) + 1.3vw); max-width: calc(var(--pad) + 620px); }
.svc__text .h-display { font-weight: 420; line-height: 1.05; margin-top: clamp(12px, 1.4vw, 22px); }
.svc__text .lead { color: #2A221B; font-weight: 500; font-size: clamp(14px, 1.18vw, 17px); line-height: 1.5; margin-top: clamp(16px, 1.8vw, 26px); max-width: none; }
.svc__text .cta { margin-top: clamp(20px, 2.6vw, 38px); font-size: clamp(12.5px, 1.04vw, 15px); }
.svc__band { margin-top: clamp(28px, 4vh, 48px); background: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: #1F1913; padding: 0 var(--pad) 0 calc(var(--pad) + 1.3vw); grid-template-columns: 1fr 1.25fr 1.15fr 1fr; }
.svc__band li + li::before { background: rgba(42, 34, 27, .3); top: 8%; bottom: 0; }
.svc__band button, .svc__band li + li button { padding: 0 16px 0 0; }
.svc__band li + li button { padding-left: clamp(20px, 6.7vw, 96px); }
.svc__n { font: 400 clamp(32px, 3.05vw, 44px)/1 var(--serif); font-stretch: 87.5%; }
.svc__t { font-size: clamp(14px, 1.18vw, 17px); color: #241D17; font-weight: 500; line-height: 1.42; margin-top: clamp(10px, 1.1vw, 16px); }
.svc__band button:hover .svc__t { text-decoration-color: rgba(31, 25, 19, .5); }

/* Frame 6 — form boxes, contacts column, terrace photo on the right */
.req6 { --fs-h: clamp(38px, 3.9vw, 58px); position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 7.8vw minmax(0, 35.6vw) 4.4vw minmax(0, 18vw) 1fr; grid-template-areas: '. form . ct ph'; align-items: center; min-height: max(640px, 100svh); padding: calc(var(--hdr-h) + 8px) 0 clamp(30px, 5vh, 60px); background: var(--milk); color: #1F1913; }
.req6__wall { position: absolute; inset: 0 34% 0 0; z-index: -2; background: url(../img/terrace-olive.webp) 0% 30% / calc(66vw / .47) auto no-repeat; }
.req6__wall::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(236, 222, 208, .18), rgba(236, 222, 208, 0)); }
.req6--plain { background: var(--milk-2); }
.req6__ph { position: absolute; top: 0; right: 0; bottom: 0; width: 34%; margin: 0; z-index: -1; overflow: hidden; background: var(--milk-2); }
.req6__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 82% 55%; }
.req6__form { grid-area: form; }
.req6__form .h-display { font-weight: 420; line-height: 1.05; margin-top: clamp(12px, 1.4vw, 22px); }
.req6__form .lead { color: #2A221B; font-weight: 500; font-size: clamp(14px, 1.18vw, 17px); line-height: 1.5; margin-top: clamp(12px, 1.4vw, 20px); max-width: none; }
.req6__contacts { grid-area: ct; align-self: center; padding-top: clamp(80px, 11vw, 150px); }
.req6 .crows { margin-top: 0; gap: clamp(16px, 2vw, 28px); }
.req6 .crows li { font-size: clamp(15px, 1.4vw, 20px); font-weight: 500; gap: clamp(14px, 1.7vw, 24px); }
.req6 .crows__i { color: #1F1913; width: 24px; }
.req6 .cmsg { gap: 6px 10px; margin-top: clamp(20px, 2.2vw, 30px); font-size: 13px; font-weight: 500; letter-spacing: .04em; color: #3B3129; }
.req6 .cmsg a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(42, 34, 27, .35); }
.lform--boxed { margin-top: clamp(16px, 2vw, 28px); max-width: none; }
.lform--boxed .lform__fields { gap: clamp(6px, .55vw, 8px); }
.lform--boxed .fld { padding-top: 0; }
.lform--boxed .fld input, .lform--boxed .fld textarea { height: clamp(44px, 3.6vw, 52px); padding: 0 clamp(14px, 1.2vw, 18px); background: rgba(248, 241, 232, .72); border: 0; border-radius: 2px; font-size: clamp(14px, 1.12vw, 16px); box-shadow: inset 0 -1px 0 rgba(42, 34, 27, .06); transition: background-color .3s, box-shadow .3s; }
.lform--boxed .fld textarea { min-height: clamp(44px, 3.6vw, 52px); padding-top: clamp(12px, 1vw, 15px); padding-bottom: 10px; height: auto; }
.lform--boxed .fld input:focus, .lform--boxed .fld textarea:focus { background: rgba(252, 248, 242, .95); box-shadow: inset 0 -1px 0 #1F1913; }
.lform--boxed .fld label { top: 50%; left: clamp(14px, 1.2vw, 18px); transform: translateY(-50%); color: #8A7B6D; font-size: clamp(14px, 1.12vw, 16px); transition: opacity .2s; }
.lform--boxed .fld--area label { top: clamp(22px, 1.8vw, 26px); }
.lform--boxed .fld input:focus + label, .lform--boxed .fld input:not(:placeholder-shown) + label,
.lform--boxed .fld textarea:focus + label, .lform--boxed .fld textarea:not(:placeholder-shown) + label { transform: translateY(-50%); opacity: 0; }
.lform--boxed .fld__hint { top: 50%; right: 14px; transform: translateY(-50%); }
.lform--boxed .fld.is-bad input, .lform--boxed .fld.is-bad textarea { box-shadow: inset 0 -2px 0 #9A3B26; }
.lform--boxed .btn { margin-top: clamp(14px, 1.6vw, 24px); min-height: clamp(48px, 4vw, 58px); border-radius: 4px; }
.lform--boxed .lform__consent, .lform--boxed .lform__alt { font-size: 11.5px; }

/* Footer — calm plaster, about + stats */
.ftr { background: var(--milk-2); color: #1F1913; padding: clamp(48px, 5.6vw, 80px) var(--pad) 26px; }
.ftr__in { display: grid; grid-template-columns: 1.5fr 1.3fr .8fr 1fr; gap: 32px clamp(24px, 3.5vw, 56px); padding: 0; align-items: start; }
.ftr__about .logo { padding: 0; display: inline-block; font-size: clamp(26px, 2.2vw, 32px); }
.ftr__lead { margin: 16px 0 18px; color: #3B3129; font-size: 15px; line-height: 1.55; max-width: 30em; }
.ftr__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; align-self: center; }
.ftr__stats li { padding: 0 18px; border-left: 1px solid rgba(42, 34, 27, .22); }
.ftr__stats li:first-child { padding-left: 0; border-left: 0; }
.ftr__stats b { display: block; font: 400 clamp(30px, 2.6vw, 40px)/1 var(--serif); font-stretch: 87.5%; }
.ftr__stats span { display: block; margin-top: 8px; font-size: 12.5px; line-height: 1.4; color: #4A3F35; }
.ftr__h { color: #6B5D50; margin-bottom: 14px; }
.ftr ul { gap: 8px; font-size: 14.5px; }
.ftr .muted { color: #6B5D50; font-size: 13px; }
.ftr__bottom { margin-top: clamp(32px, 3.4vw, 48px); padding-top: 18px; border-top: 1px solid rgba(42, 34, 27, .2); color: #4A3F35; font-size: 12.5px; }
.ftr__legal { color: #6B5D50; font-size: 11px; margin-top: 10px; }

/* 404 / not found: plain plaster */
.nf { background: var(--milk); }
.nf__bg { display: none; }

/* Round 3 · pass 2 (side-by-side with v6b-1…6) */
.nav { gap: clamp(22px, 3.45vw, 50px); padding: 0 calc(24px + 2.6vw) 0 24px; }
.nav a { font-size: clamp(11px, .94vw, 13.5px); font-weight: 600; letter-spacing: .14em; }
.lang { font-weight: 600; }
.eyebrow { font-size: clamp(11.5px, .95vw, 13.5px); font-weight: 600; letter-spacing: .2em; }
.cat .h-display, .loc__text .h-display, .svc__text .h-display, .req6__form .h-display { font-weight: 470; }
.hero__title { font-weight: 600; letter-spacing: .13em; }

.cat__bg img { object-position: 30% 0%; filter: sepia(.32) saturate(1.38) brightness(.84) contrast(1.14); }
.cat__head { grid-template-columns: minmax(0, 1fr) 39vw; }
.cat__side .lead { font-size: clamp(14px, 1.22vw, 17.5px); }
.cat .dd__btn, .cat .filters__reset { font-size: clamp(13px, 1.25vw, 18px); }
.cat .filters__reset .circ { --cs: clamp(34px, 2.65vw, 38px); }
.pcard__n { font-size: clamp(30px, 3.05vw, 44px); }
.pcard__title { font-size: clamp(21px, 2vw, 29px); }
.pcard__d { font-size: clamp(13px, 1.04vw, 15px); }
.pcard .circ--card { --cs: clamp(40px, 3.33vw, 48px); }


.loc__map { justify-content: flex-start; }
.svc__bg img { object-position: 85% 30%; }
.svc__band { grid-template-columns: .74fr 1.3fr 1.18fr 1fr; }
.svc__band li + li button { padding-left: clamp(20px, 6.25vw, 90px); }
.svc__n { font-size: clamp(34px, 3.4vw, 50px); }
.svc__t { font-size: clamp(14px, 1.36vw, 20px); }
.req6__ph img { object-position: 100% 60%; transform: scale(1.22); transform-origin: 100% 100%; }

/* Round 3 · pass 3 */
.cat .h-display, .loc__text .h-display, .svc__text .h-display, .req6__form .h-display { font-weight: 540; }
.cat__bg img { filter: sepia(.16) saturate(1.3) hue-rotate(-8deg) brightness(.86) contrast(1.16); }
.cat__bg::after { background: linear-gradient(100deg, rgba(64, 38, 22, .55) 0%, rgba(64, 38, 22, .28) 32%, rgba(64, 38, 22, .04) 60%, rgba(64, 38, 22, .08) 100%), linear-gradient(180deg, rgba(64, 38, 22, .28), rgba(64, 38, 22, 0) 32%, rgba(64, 38, 22, .1)); }
.cat .pcards { margin-top: clamp(14px, 1.4vw, 22px); }
.map__box { height: clamp(440px, min(42vw, 66vh), 600px); }
.req6 .crows li { font-size: clamp(14px, 1.28vw, 18.5px); gap: clamp(12px, 1.4vw, 20px); }
.req6__ph img { object-position: 90% 60%; transform: scale(1.08); }


/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1180px) {
  .nav { gap: 20px; }
  .nav__sep { display: none; }
  .loc__grid { grid-template-columns: minmax(0, 27fr) minmax(0, 34fr) minmax(0, 29fr); padding-right: 32px; }
  .loc { --fs-h: clamp(38px, 4.4vw, 52px); }
  .loc__list-wrap { --row: 100px; --thumb: 84px; }
  .loc__list a { gap: 16px; }
  .loc__txt { padding-top: 12px; }
  .loc__name { font-size: 16px; }
  .loc__tag { font-size: 12.5px; }
  .map__lbl--p { font-size: 13px; }
  .map__lbl--s { font-size: 11.5px; }
}
/* tablet portrait: text on top, then the island beside the five-row column */
@media (max-width: 1023px) and (min-width: 761px) {
  .loc__grid { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); }
  .map__box { height: clamp(400px, 61vw, 480px); margin-left: 0; }
  .loc__list-wrap { --row: clamp(80px, 12.2vw, 96px); --thumb: clamp(72px, 10.6vw, 84px); }
  .map__lbl { padding-top: 1px; padding-bottom: 1px; }
  .map__credit { right: auto; left: 0; top: calc(100% + 8px); width: auto; text-align: left; white-space: nowrap; }
  .loc__grid { margin-bottom: 0; padding-bottom: 40px; }
  .loc__coast { margin-top: 0; }
  .svc__bg img { object-position: 34% 40%; }
  .loc__text { grid-column: 1 / -1; padding-top: 0; }
  .loc__text .lead { max-width: 560px; }
  .loc__map { margin-top: 48px; }
  .loc__list-wrap { margin-top: 48px; }
}

@media (max-width: 1100px) {
  .pcards--grid .pcard__specs { display: none; }
}
@media (max-width: 900px) {
  .pcards--grid { grid-template-columns: repeat(2, 1fr); }
  .pcards--grid .pcard__specs { display: block; }
}

@media (max-width: 1024px) {
  .nav a { font-size: 11px; letter-spacing: .13em; }
  .hdr__aside { gap: 16px; }
  .cat__head { grid-template-columns: 1fr; }
  .cat__side { padding-top: 0; max-width: 560px; }
  .filters { flex-wrap: wrap; }
  .pcards { gap: 14px; }
  .pcard__body { right: 72px; }
  .svc__band button { padding-right: 10px; }
  .stats li { min-width: 0; width: clamp(170px, 26vw, 260px); }
  .about::before { right: 24%; }
}

@media (max-width: 900px) {
  .nav, .lang-label { display: none; }
  .hdr__bar { justify-content: space-between; }
  .split, .req { grid-template-columns: 1fr; }
  .split__ph { min-height: 70vw; }
  .menu__grid { padding-right: var(--pad); justify-content: flex-start; gap: 40px; }
  .menu__ph { display: none; }
  .menu__side { padding-left: 0; }
}

/* Portrait screens: the plate + a live wordmark across the sky */
@media (max-aspect-ratio: 6/5) {
  .hero { --h: max(600px, 100svh); height: var(--h); background: #6f6a69; }
  .hero__bg img { object-position: 64% 50%; }
  .hero::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(40, 36, 38, .1) 0%, rgba(40, 36, 38, 0) 30%, rgba(30, 26, 24, 0) 52%, rgba(26, 22, 19, .55) 78%, rgba(22, 19, 16, .78) 100%); }
  .hero__word {
    display: block; position: absolute; z-index: 1; left: 0; right: 0;
    top: calc(var(--hdr-h) + 4vh);
    text-align: center;
    font-family: var(--serif); font-weight: 300; font-stretch: 100%;
    font-size: 19.2vw; line-height: 1; letter-spacing: .05em; padding-left: .05em;
    color: rgba(250, 244, 236, .94);
    margin: 0;
  }
  .hero__content { top: auto; bottom: calc(clamp(28px, 4.2vw, 60px) + 70px); left: var(--pad); right: var(--pad); z-index: 2; color: var(--cream); }
  .hero__title { color: var(--cream); font-size: clamp(15px, 2.2vw, 22px); }
  .hero__cta { color: var(--cream); }
  .hero__cta .circ { border-color: rgba(243, 236, 226, .7); }
  .hero__cta:hover .circ { background: var(--cream); color: var(--ink); }
  .hero__foot { z-index: 2; }
}

@media (max-width: 760px) {
  :root { --pad: 20px; --pad-r: 16px; --gut: 20px; --hdr-h: 76px; --fs-display: clamp(38px, 10.6vw, 46px); --fs-lead: 16px; --fs-eyebrow: 12px; --fs-cta: 13px; }
  .screen { min-height: 0; }
  .logo { font-size: 27px; }
  .hdr.is-float { height: 64px; }
  .burger { width: 46px; height: 46px; }
  .h-display { line-height: 1.08; }
  .lead { max-width: none; }

  .hero__word { font-size: 19.4vw; top: calc(var(--hdr-h) + 5vh); }
  .hero__title { font-size: 15px; letter-spacing: .14em; line-height: 1.6; }
  .hero__content { bottom: 92px; }
  .hero__foot { font-size: 10.5px; letter-spacing: .16em; bottom: 26px; }
  .hero__cap { max-width: 64%; }

  .cat { padding: 112px 0 56px; }
  .cat__bg img { object-position: 88% 0%; }
  .cat__leaves { width: 86vw; height: 110vw; }
  .cat__head, .filters { padding: 0 var(--pad); margin-left: 0; margin-right: 0; }
  .cat__side { gap: 22px; padding-top: 4px; }
  .filters { margin-top: 30px; flex-direction: column; align-items: stretch; gap: 14px; }
  .filters__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; border-bottom: 0; }
  .filters__row .dd { border-bottom: 1px solid var(--line-2); }
  .filters__row .dd__btn { width: 100%; justify-content: space-between; padding: 14px 0 12px; font-size: 15px; }
  .filters__reset { justify-content: space-between; padding-bottom: 0; font-size: 15px; }
  .dd__list { left: 0; min-width: 100%; }
  .pcards--home { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); gap: 12px; padding: 0 var(--pad) 4px; margin-top: 26px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .pcards--home::-webkit-scrollbar { display: none; }
  .pcards--home .pcard { flex: 0 0 82%; scroll-snap-align: start; aspect-ratio: .82; }
  .pcard__body { left: 22px; bottom: 22px; right: 80px; }
  .pcard .circ--card { right: 18px; bottom: 20px; }

  .loc { padding: 108px 0 0; display: flex; flex-direction: column; }
  .loc__grid { order: 1; }
  .loc__grid { grid-template-columns: 1fr; padding: 0 var(--pad); }
  .loc__text { padding-top: 0; }
  .loc__map { margin: 40px 0 0; width: 100%; display: flex; justify-content: center; }
  .map { width: 300px; }
  .map__box { height: auto; width: 190px; margin-left: calc(var(--inset, 0px) * -1); }
  .map__lbl--p { font-size: 13.5px; padding: 8px 4px; }
  .map__line--s, .map__pin--s, .map__lbl--s { display: none; }
  .map__credit { left: auto; right: 0; top: calc(100% + 6px); width: auto; white-space: nowrap; }
  .loc__list-wrap { margin: 64px calc(var(--pad) * -1) 0; }
  .loc__list { display: flex; overflow-x: auto; overflow-y: hidden; height: auto; gap: 14px; padding: 0 var(--pad) 8px; scroll-padding-inline: var(--pad); scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0; }
  .loc__list::-webkit-scrollbar { display: none; }
  .loc__list li { flex: 0 0 62%; scroll-snap-align: start; height: auto; }
  .loc__list a { grid-template-columns: 1fr; gap: 14px; height: auto; }
  .loc__ph { aspect-ratio: 1 / .86; height: auto; }
  .loc__txt { padding: 0 0 14px; }
  .loc__name { font-size: 18px; }
  .loc__tag { font-size: 13.5px; margin-top: 6px; }
  .loc__grid { margin-bottom: 0; }
  .loc__coast { position: relative; order: 2; width: 100%; height: 190px; margin-top: -30px; -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .55) 22%, #000 46%); mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .55) 22%, #000 46%); }
  .loc__more { display: none; }
  .loc { padding-bottom: 0; }

  .svc { display: flex; flex-direction: column; min-height: 0; }
  .svc::before { display: none; }
  .svc__bg { position: relative; order: 2; height: 74vw; z-index: 0; left: 0; -webkit-mask-image: none; mask-image: none; }
  .svc__bg img { object-position: 78% 30%; }
  .svc__bg::after { display: none; }
  .svc__text { padding: 108px var(--pad) 40px; background: var(--milk-2); }
  .svc__band { position: relative; order: 3; grid-template-columns: 1fr 1fr; padding: 0; background: #2E2924; }
  .svc__band li { border-top: 1px solid var(--cream-line); }
  .svc__band li + li::before { display: none; }
  .svc__band li:nth-child(even) { border-left: 1px solid var(--cream-line); }
  .svc__band li button, .svc__band li + li button { padding: 22px 16px 26px 20px; }
  .svc__n { font-size: 36px; }
  .svc__t { font-size: 15px; }

  .about { display: flex; flex-direction: column; background: var(--milk); min-height: 0; padding-bottom: 0; }
  .about::before { display: none; }
  .about__bg { position: relative; order: 3; height: 92vw; z-index: 0; }
  .about__bg img { object-position: 62% 50%; }
  .about__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #E7D9CB 0%, rgba(231, 217, 203, 0) 26%); }
  .about__text { padding: 108px var(--pad) 0; }
  .stats { order: 2; margin-top: 0; padding: 34px var(--pad) 40px; display: flex; flex-direction: column; }
  .stats li, .stats li:first-child { width: auto; flex-direction: row; align-items: center; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line-2); }
  .stats li:last-child { border-bottom: 1px solid var(--line-2); }
  .stats li + li::before { display: none; }
  .stats b { font-size: 38px; flex: 0 0 96px; }
  .stats span { font-size: 14px; }

  .life { display: flex; flex-direction: column; }
  .life__text { padding: 108px var(--pad) 44px; }
  .life__ph { position: relative; width: 100%; height: 108vw; order: 2; z-index: 0; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%); mask-image: linear-gradient(180deg, transparent 0%, #000 14%); }
  .life__ph img { object-position: 80% 70%; transform: scale(1.6); transform-origin: 80% 70%; }
  .life__text .lead { max-width: none; }

  .split__panel, .req .split__panel { padding: 108px var(--pad) 52px; }
  .split__ph { min-height: 0; height: 96vw; }
  .crows { margin-top: 36px; }
  .crows li { font-size: 17px; gap: 18px; }

  .ftr__in { padding: 64px var(--pad) 24px; }
  .ftr__grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .ftr__brand, .ftr__grid > div:last-child { grid-column: 1 / -1; }
  .ftr__word { font-size: 18.6vw; margin-top: 56px; letter-spacing: .05em; }
  .ftr__bottom { flex-direction: column; }

  .drw__values { grid-template-columns: 1fr; }
  .btn { padding: 0 20px; gap: 14px; letter-spacing: .12em; font-size: 12px; }
  .drw__points { grid-template-columns: 1fr; }
  .crumbs { display: none; }
  .cat--page { padding-bottom: 28px; }
  .results { padding: 30px var(--pad) 70px; }
  .results__bar { padding: 0; align-items: flex-start; flex-direction: column; gap: 14px; }
  .pcards--grid { grid-template-columns: 1fr; gap: 14px; }
  .pcards--grid .pcard { aspect-ratio: .86; }
  .menu__nav a { font-size: 36px; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}

/* ══ Round 3 — tablet and phone ═════════════════════════════ */
@media (max-width: 1180px) {
  .loc__grid { grid-template-columns: minmax(0, 30fr) minmax(0, 26fr) minmax(0, 34fr); padding-right: 32px; }
  .loc__list a { grid-template-columns: clamp(110px, 12vw, 140px) 1fr; gap: 18px; }
  .req6 { grid-template-columns: 5vw minmax(0, 40vw) 3vw minmax(0, 18vw) 1fr; }
  .req6 .crows li { font-size: 14px; }
  .ftr__in { grid-template-columns: 1.3fr 1.2fr; }
}
@media (max-width: 1100px) {
  .pcards--grid .pcard__meta { display: none; }
}
@media (max-width: 1024px) {
  .cat__head { grid-template-columns: minmax(0, 1fr) 42vw; }
  .cat__side { padding-top: clamp(30px, 3.6vw, 52px); }
}
@media (max-width: 1023px) and (min-width: 761px) {
  .loc__grid { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); }
  .loc__text { grid-column: 1 / -1; margin-bottom: 40px; }
  .map__box { height: clamp(420px, 60vw, 520px); }
  .loc__list { gap: 14px; }
  .req6 { grid-template-columns: 6vw minmax(0, 52vw) 1fr; grid-template-areas: '. form .' '. ct .'; align-content: center; row-gap: 40px; }
  .req6__ph { display: none; }
  .req6__wall { right: 0; background-size: calc(100vw / .47) auto; }
  .req6__contacts { padding-top: 0; }
  .pcards--grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .cat { min-height: 0; padding: 104px 0 48px; justify-content: flex-start; }
  .cat__head { grid-template-columns: 1fr; padding: 0 var(--pad); }
  .cat__side { padding-top: 14px; }
  .cat__side .lead br { display: none; }
  .cat__bg img { object-position: 70% 0%; }
  .cat__bg::after { background: linear-gradient(180deg, rgba(64, 38, 22, .5), rgba(64, 38, 22, .12) 40%, rgba(64, 38, 22, .1)); }
  .cat__side .lead { color: #241D17; text-shadow: 0 0 18px rgba(240, 214, 190, .55); }
  .cat .filters { margin: 26px 0 0; padding: 0 var(--pad); align-items: stretch; }
  .cat .filters__row { border-top: 0; padding-top: 0; }
  .cat .filters__row .dd { border-bottom-color: rgba(42, 34, 27, .3); }
  .cat .pcards { margin: 22px 0 0; }
  .pcards--home { padding: 0 var(--pad) 4px; }
  .pcards--home .pcard { flex: 0 0 84%; aspect-ratio: 1.45; }
  .pcards--grid .pcard { aspect-ratio: 1.45; }
  .pcards--grid .pcard__meta { display: flex; }

  .loc { min-height: 0; padding: 104px 0 56px; justify-content: flex-start; }
  .loc__bg img { object-position: 30% 100%; }
  .loc__grid { grid-template-columns: 1fr; padding: 0 var(--pad); }
  .loc__text .lead br { display: none; }
  .loc__map { justify-content: center; margin: 36px 0 0; }
  .map { width: auto; }
  .map__box { height: 420px; width: auto; margin: 0 auto; }
  .map__lines { display: none; }
  .map__credit { left: 0; right: auto; }
  .loc__list { display: flex; flex-direction: column; overflow: visible; gap: 12px; margin-top: 44px; padding: 0; }
  .loc__list li { flex: none; }
  .loc__list a { grid-template-columns: 44% 1fr; gap: 16px; }
  .loc__ph { aspect-ratio: 2.2; height: auto; }
  .loc__name { font-size: 16px; }
  .loc__tag { font-size: 13.5px; }

  .svc { min-height: 0; padding-bottom: 0; }
  .svc__text { padding: 104px var(--pad) 32px; background: none; }
  .svc__text .lead br { display: none; }
  .svc__bg { position: absolute; inset: 0; height: auto; order: 0; z-index: -1; }
  .svc__bg img { object-position: 8% 30%; }
  .svc__bg::after { display: block; background: linear-gradient(180deg, rgba(232, 214, 198, .1), rgba(232, 214, 198, .4) 60%, rgba(232, 214, 198, .8)); }
  .svc__band { grid-template-columns: 1fr 1fr; padding: 0 var(--pad) 48px; margin-top: 8px; background: none; }
  .svc__band li { border-top: 1px solid rgba(42, 34, 27, .22); }
  .svc__band li:nth-child(even) { border-left: 1px solid rgba(42, 34, 27, .22); }
  .svc__band li + li::before { display: none; }
  .svc__band li button, .svc__band li + li button { padding: 18px 12px 20px 0; }
  .svc__band li:nth-child(even) button { padding-left: 16px; }
  .svc__n { font-size: 34px; }
  .svc__t { font-size: 15px; }

  .req6 { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding: 104px 0 0; }
  .req6__wall { inset: 0; background-size: auto 100%; background-position: 0 0; opacity: .9; }
  .req6__form { padding: 0 var(--pad); order: 1; }
  .req6__form .lead br { display: none; }
  .req6__contacts { padding: 40px var(--pad) 44px; order: 2; align-self: stretch; }
  .req6__ph { position: relative; width: 100%; height: 112vw; z-index: 0; order: 3; }
  .req6__ph img { transform: none; object-position: 82% 60%; }

  .ftr { padding: 48px var(--pad) 24px; }
  .ftr .ftr__in { padding: 0; }
  .ftr__in { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .ftr__about, .ftr__stats { grid-column: 1 / -1; }
  .ftr__stats li { padding: 0 12px; }
  .ftr__stats b { font-size: 30px; }
  .ftr__bottom { flex-direction: column; }

}

.ftr .ftr__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
@media (max-width: 1100px) and (min-width: 761px) {
  .pcards--grid { grid-template-columns: repeat(2, 1fr); }
  .pcards--grid .pcard__meta { display: flex; }
}
/* Round 3 · pass 4: the terrace starts under the header (plaster above), leaves clear of the logo */
@media (min-width: 761px) {
  .svc__bg { top: clamp(56px, 9.6vh, 96px); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 3%); mask-image: linear-gradient(180deg, transparent 0, #000 3%); }
  .svc__bg img { object-position: 85% 0%; }
}
/* the open dropdown paints above the cards (the reveal transform makes the row its own stacking context) */
.filters { position: relative; z-index: 5; }

/* ══ Round 3b — frame rhythm (2.27:1), header over the top ~80 px ═══════ */
:root { --hdr-h: clamp(68px, 5.6vw, 84px); --top: clamp(80px, 6.95vw, 108px); --frame-h: clamp(600px, 44vw, 760px); }
@media (min-width: 761px) {
  .cat, .loc, .svc, .req6 { min-height: var(--frame-h); justify-content: flex-start; }
  .cat:not(.cat--page) { padding-top: var(--top); padding-bottom: clamp(26px, 2.6vw, 40px); }
  .cat--page { padding-top: var(--top); }
  .cat__side { padding-top: clamp(26px, 2.8vw, 40px); }

  /* Frame 4 */
  .loc { padding: clamp(60px, 5.8vw, 86px) 0 clamp(24px, 2.4vw, 36px); }
  .loc__grid { align-items: start; }
  .loc__text { padding-top: calc(var(--top) - clamp(60px, 5.8vw, 86px) + 12px); }
  .map__box { height: clamp(420px, 36.5vw, 600px); }
  .loc__list { position: relative; gap: clamp(12px, 1.3vw, 20px); }
  .loc__list::before { content: ''; position: absolute; inset: -28px -36px -28px -40px; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(240, 224, 207, .62), rgba(240, 224, 207, .34) 70%, rgba(240, 224, 207, 0)); }
  .loc__bg img { object-position: 50% 100%; }

  /* Frame 5: the terrace starts at the top edge; no band, no fade */
  .svc { padding-top: var(--top); padding-bottom: clamp(30px, 3.4vw, 50px); }
  .svc__bg { top: 0; -webkit-mask-image: none; mask-image: none; }
  .svc__bg img { object-position: 85% 0%; }
  .svc__text { padding-top: 0; }
  .svc__band { margin-top: clamp(26px, 2.6vw, 40px); }

  /* Frame 6 */
  .req6 { align-items: start; padding-top: var(--top); padding-bottom: clamp(30px, 3vw, 44px); }
  .req6__contacts { align-self: start; padding-top: clamp(196px, 17.2vw, 262px); }
  .req6__ph--col img { object-position: 0% 100%; transform: none; }

}
/* Round 3b · pass 2 */
@media (min-width: 761px) {
  .req6 { --fs-h: clamp(36px, 3.35vw, 52px); padding-bottom: clamp(22px, 2.2vw, 32px); }
  .req6__form .lead { margin-top: clamp(10px, 1vw, 14px); }
  .lform--boxed { margin-top: clamp(14px, 1.5vw, 22px); }
  .lform--boxed .lform__consent { margin-top: 10px; }
  .req6__contacts { padding-top: clamp(170px, 14.8vw, 230px); }
  .req6__ph--col img { object-position: 12% 100%; }
  .svc { --fs-h: clamp(40px, 4vw, 60px); }
  .loc__list::before { inset: -24px -30px -24px 34%; background: linear-gradient(90deg, rgba(240, 224, 207, 0), rgba(240, 224, 207, .78) 22%, rgba(240, 224, 207, .78) 82%, rgba(240, 224, 207, 0)); -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); }
}
.lform__status:empty { min-height: 0; margin: 0; }
@media (min-width: 761px) {
  .loc__list::before { inset: -24px -110px -24px 30%; background: linear-gradient(90deg, rgba(240, 224, 207, 0), rgba(240, 224, 207, .66) 24%, rgba(240, 224, 207, .62) 62%, rgba(240, 224, 207, 0)); }
}
@media (min-width: 1600px) {
  .svc__bg img { object-position: 85% 45%; }
}
@media (max-width: 760px) { :root { --hdr-h: 76px; } }
/* Frame 6 photo: the uncropped terrace-olive, right part — ceiling, column, sea and lounger as in the ТЗ */
@media (min-width: 761px) { .req6__ph--col img { object-position: 100% 50%; transform: none; } }
@media (max-width: 760px) { .req6__ph--col img { object-position: 80% 55%; transform: none; } }

/* Round 4 · a clear seam between frames, as in the ТЗ sheet (frames on a light ground, thin gap) */
:root { --seam: clamp(6px, .62vw, 10px); --seam-c: var(--milk-hi); }
main > section + section, .ftr { border-top: var(--seam) solid var(--seam-c); }

/* Round 4 · frame 4 map box (the look itself is round 5, «champagne relief», at the end of this file) */
.loc__map { justify-content: center; }
.isle { height: clamp(440px, 38.5vw, 600px); aspect-ratio: 428 / 826; max-width: 100%; margin-top: clamp(-18px, -1.1vw, -10px); }
@media (max-width: 1100px) and (min-width: 761px) { .isle { height: clamp(400px, 52vw, 480px); } }
@media (max-width: 760px) {
  .loc__map { margin: 36px 0 0; }
  .isle { height: auto; width: min(300px, 80vw); margin: 0 auto; }
  .isle__svg { height: auto; }
}

/* ══ Round 4 · catalog — «Купить / Арендовать», filter bar, popovers, drawer, chips ══════════════
   Everything for the round-4 catalog lives here (the round-3 .cfilters / .filters--page / .fpanel sheet was removed with its markup). */
.csearch { position: relative; z-index: 5; margin: clamp(24px, 2.6vw, 38px) calc(5vw - var(--gut)) 0 calc(var(--pad) - var(--gut)); color: #2A221B; text-shadow: none; }

/* deal + term: segmented controls on the wall */
.cdeal { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; }
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 6px; border: 1px solid rgba(243, 236, 226, .6); background: rgba(52, 34, 20, .26); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.seg [role="radio"] { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 18px; border-radius: 4px; color: var(--cream); font: 500 13.5px/1 var(--sans); letter-spacing: .02em; white-space: nowrap; transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s; }
.seg [role="radio"][aria-checked="true"] { background: var(--cream); color: var(--espresso); box-shadow: 0 8px 20px -12px rgba(30, 18, 10, .7); }
.seg [role="radio"]:focus-visible { outline: 1px solid var(--cream); outline-offset: 4px; }
.seg--deal [role="radio"] { min-width: clamp(150px, 12.4vw, 186px); min-height: clamp(48px, 3.7vw, 56px); padding: 0 28px; font: 600 clamp(12px, .92vw, 13.5px)/1 var(--sans); letter-spacing: .17em; text-transform: uppercase; }
.seg--term { border-color: rgba(243, 236, 226, .42); }

/* primary bar */
.cbar { display: flex; align-items: center; gap: 24px; margin-top: clamp(20px, 2vw, 30px); padding-top: 4px; border-top: 1px solid rgba(42, 34, 27, .32); }
.cbar__row { flex: 1; display: flex; align-items: center; flex-wrap: wrap; gap: 0 clamp(20px, 3.5vw, 54px); min-width: 0; }
.cbar .filters__reset { flex: none; }
.fb { position: relative; }
.fb__btn, .fb__more { display: inline-flex; align-items: center; gap: 11px; min-height: 50px; font: 500 clamp(13px, 1.2vw, 17.5px)/1.2 var(--sans); white-space: nowrap; color: inherit; }
.fb__btn .i--chev { opacity: .7; transition: transform .35s var(--ease); }
.fb.is-open .fb__btn .i--chev { transform: rotate(180deg); }
.fb.is-set .fb__btn { font-weight: 600; }
.fb__v { max-width: 15em; overflow: hidden; text-overflow: ellipsis; }
.fb__btn:focus-visible, .fb__more:focus-visible { outline: 1px solid currentColor; outline-offset: 2px; }
.fb__more { gap: 10px; }
.fb__more .i { width: 20px; height: 20px; }
.fcount { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #2A221B; color: var(--cream); font: 600 11.5px/1 var(--sans); letter-spacing: 0; }

/* popovers: plaster sheet under the trigger */
.fb__pop { position: absolute; left: -22px; top: calc(100% + 8px); z-index: 40; width: 340px; padding: 22px 24px 0; background: var(--plaster); color: var(--ink); border-radius: 5px; box-shadow: 0 30px 70px -30px rgba(31, 24, 18, .6), 0 0 0 1px rgba(31, 27, 23, .1); animation: fbIn .3s var(--ease-out); }
@keyframes fbIn { from { opacity: 0; transform: translateY(-6px); } }
.fb__pop--wide { width: min(660px, calc(100vw - 32px)); }
.fb--budget .fb__pop { width: 440px; }
.fb--beds .fb__pop { width: 420px; }
.fb__h, .fsec__h { font: 600 11.5px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); margin: 0 0 14px; }
.fb__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 20px -24px 0; padding: 12px 24px; border-top: 1px solid var(--line); }
.fb__clear, .fsh__reset { min-height: 40px; font-size: 14px; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 5px; }
.fb__clear:hover, .fsh__reset:hover { color: var(--ink); text-decoration-color: currentColor; }
.fb__done { min-height: 40px; padding: 0 24px; border-radius: 3px; background: var(--card); color: var(--cream); font: 600 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; transition: background-color .3s; }
.fb__done:hover { background: #2B2E2B; }
.fb__note { font-size: 12.5px; color: var(--taupe); margin-top: 12px; }
.fb__done:focus-visible, .fb__clear:focus-visible, .fsh__reset:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

/* custom checkboxes */
.cks { display: flex; flex-direction: column; }
.ck { position: relative; display: flex; align-items: center; gap: 14px; min-height: 38px; font-size: 15px; color: var(--ink); cursor: pointer; }
.ck input, .chip input, .tgl input { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; pointer-events: none; }
.ck__box { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border: 1px solid rgba(31, 27, 23, .5); border-radius: 3px; transition: background-color .2s, border-color .2s; }
.ck__box .i { width: 14px; height: 14px; color: var(--cream); opacity: 0; stroke-width: 1.8; }
.ck input:checked + .ck__box { background: var(--espresso); border-color: var(--espresso); }
.ck input:checked + .ck__box .i { opacity: 1; }
.ck input:indeterminate + .ck__box { border-color: var(--espresso); background: linear-gradient(var(--espresso), var(--espresso)) 50% 50% / 8px 1.5px no-repeat; }
.ck input:focus-visible + .ck__box { outline: 1px solid var(--ink); outline-offset: 3px; }
.ck--g { font: 600 11.5px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }

/* districts: every district under its coast, two columns (round 5: no map) */
.dsel__cols { columns: 2; column-gap: 34px; }
.dsel__g { break-inside: avoid; padding-bottom: 10px; }
.dsel__g .cks { padding-left: 32px; }
.dsel__g .ck:not(.ck--g) { min-height: 34px; font-size: 14.5px; }

/* chips (multi / single), preset buttons */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip > span, .chip--b { display: inline-flex; align-items: center; min-height: 38px; padding: 0 15px; border: 1px solid var(--line-2); border-radius: 4px; font: 500 14px/1.2 var(--sans); color: var(--ink); white-space: nowrap; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.chip input:checked + span, .chip--b[aria-pressed="true"] { background: var(--espresso); border-color: var(--espresso); color: var(--cream); }
.chip input:focus-visible + span, .chip--b:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.chips--p { margin-top: 18px; }
/* the «Любое» default of a single-choice group reads as a calm outline, not a dark fill */
.chip input[value=""]:checked + span { background: none; border-color: var(--ink); color: var(--ink); box-shadow: inset 0 0 0 .5px var(--ink); }

/* number ranges (от / до) */
.rng__f { display: flex; align-items: flex-end; gap: 14px; }
.rng__dash { flex: none; width: 10px; height: 1px; margin-bottom: 20px; background: var(--line-2); }
.nfield { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 8px; padding: 4px 0 9px; border-bottom: 1px solid var(--line-2); transition: border-color .25s, box-shadow .25s; }
.nfield:focus-within { border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.nfield label { flex: none; font-size: 13px; color: var(--taupe); }
.nfield input { flex: 1; min-width: 0; width: 100%; padding: 6px 0 0; border: 0; background: none; outline: none; font: 500 17px/1.2 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
.nfield input::placeholder { color: var(--taupe-2); }
.nfield__u { flex: none; font-size: 13px; color: var(--taupe); white-space: nowrap; }

/* budget: currency switch top-right of the popover */
.bud .seg--cur { padding: 2px; border-color: var(--line-2); background: none; -webkit-backdrop-filter: none; backdrop-filter: none; margin-bottom: 16px; }
.fb__pop .bud .seg--cur { position: absolute; top: 13px; right: 18px; margin: 0; }
.bud .seg--cur [role="radio"] { min-height: 30px; padding: 0 12px; color: var(--ink-2); font: 600 11px/1 var(--sans); letter-spacing: .12em; }
.bud .seg--cur [role="radio"][aria-checked="true"] { background: var(--espresso); color: var(--cream); box-shadow: none; }
.bud .seg--cur [role="radio"]:focus-visible { outline-color: var(--ink); }
.bud__note { font-size: 12.5px; color: var(--taupe); margin-top: 12px; }
.bud__note:empty { display: none; }

/* bedrooms: one segmented row */
.bseg { display: grid; grid-template-columns: 1.7fr repeat(5, 1fr); border: 1px solid var(--line-2); border-radius: 4px; overflow: hidden; }
.bseg button { min-height: 46px; font: 500 15px/1 var(--sans); color: var(--ink); transition: background-color .25s, color .25s; }
.bseg button + button { border-left: 1px solid var(--line-2); }
.bseg button[aria-pressed="true"] { background: var(--espresso); color: var(--cream); }
.bseg button[aria-pressed="true"] + button[aria-pressed="true"] { border-left-color: rgba(243, 236, 226, .25); }
.bseg button:focus-visible { outline: 1px solid currentColor; outline-offset: -5px; }

/* switches */
.tgl { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 54px; cursor: pointer; }
.tgls .tgl + .tgl { border-top: 1px solid var(--line); }
.tgl__t { display: flex; flex-direction: column; gap: 3px; font-size: 15px; color: var(--ink); }
.tgl__t small { font-size: 12.5px; color: var(--taupe); }
.tgl__sw { flex: none; position: relative; width: 44px; height: 24px; border-radius: 12px; border: 1px solid rgba(31, 27, 23, .45); transition: background-color .3s, border-color .3s; }
.tgl__sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: rgba(31, 27, 23, .55); transition: transform .4s var(--ease-out), background-color .3s; }
.tgl input:checked + .tgl__sw { background: var(--espresso); border-color: var(--espresso); }
.tgl input:checked + .tgl__sw::after { transform: translateX(20px); background: var(--cream); }
.tgl input:focus-visible + .tgl__sw { outline: 1px solid var(--ink); outline-offset: 3px; }

/* drawer: «Ещё фильтры» from the right (the site drawer look), bottom sheet on phones */
/* a drawer that is fading out no longer catches clicks (its scrim used to swallow the next click for half a second) */
.drw:not(.is-open) { pointer-events: none; }
.drw--f .drw__panel.fsh { width: min(560px, 100%); }
.fsh__head { flex: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 30px clamp(24px, 3vw, 44px) 16px; }
.fsh__k { font: 600 11.5px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); }
.fsh__t { font: 300 clamp(32px, 2.6vw, 40px)/1.1 var(--serif); font-stretch: 87.5%; margin-top: 10px; }
.fsh__x { flex: none; }
.fsh__x:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.fsh__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 clamp(24px, 3vw, 44px) 24px; scrollbar-width: thin; }
.fsec { padding: 22px 0 24px; border-top: 1px solid var(--line); }
.fsec__sub { margin-top: 18px; }
.fsec__k { font-size: 13px; color: var(--taupe); margin-bottom: 10px; }
.fsec--budget .seg--cur { margin-bottom: 18px; }
.fsec .tgl:first-child { margin-top: -10px; }
.fsec .tgls .tgl:last-child { margin-bottom: -10px; }
.fsh__foot { flex: none; display: flex; align-items: center; gap: 24px; padding: 16px clamp(24px, 3vw, 44px) calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--plaster); }
.fsh__go { flex: 1; min-height: 56px; padding: 0 24px; transition: background-color .3s, opacity .3s; }
.fsh__go.is-counting { opacity: .78; }
.fsh__go.is-zero { background: #4A423B; }
.fsh__go:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

/* active chips */
.cchips { margin-top: 14px; }
.cchips__l { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fchip { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 9px 0 14px; border-radius: 4px; background: rgba(243, 236, 226, .9); color: var(--espresso); font: 500 13.5px/1.2 var(--sans); white-space: nowrap; box-shadow: 0 8px 18px -14px rgba(30, 18, 10, .7); transition: background-color .25s; }
.fchip .i { width: 15px; height: 15px; opacity: .6; transition: opacity .25s; }
.fchip:focus-visible { outline: 1px solid #2A221B; outline-offset: 3px; }
.fchip-all { min-height: 34px; padding: 0 6px; font: 500 13.5px/1.2 var(--sans); color: #2A221B; text-decoration: underline; text-decoration-color: rgba(42, 34, 27, .45); text-underline-offset: 5px; white-space: nowrap; }
.fchip-all:hover { text-decoration-color: currentColor; }

/* phone row (Фильтры + sort) — phones only */
.cbar-m { display: none; }

/* results + cards */
.results__h:focus { outline: none; }
.results__h:focus-visible { outline: 1px solid var(--ink); outline-offset: 6px; }
.pcard__top .pcard__tags { display: flex; gap: 6px; padding: 0; margin: 0; border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.pcard__top .pcard__tags > span { border: 1px solid var(--cream-line); padding: 6px 9px; margin-top: -7px; border-radius: 2px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); background: rgba(26, 29, 27, .25); }
.pcard__terms { font-size: 12.5px; color: var(--cream-2); letter-spacing: .01em; }

/* empty state: relax chips */
.empty--r4 { max-width: 860px; }
.results.is-empty .results__h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.results.is-empty .results__sort { visibility: hidden; }
.results.is-empty .results__bar { min-height: 0; }
.relax:empty { display: none; }
.relax { margin-top: 10px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.relax__h { font: 600 11.5px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); }
.relax ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.rchip { display: inline-flex; align-items: baseline; gap: 10px; min-height: 42px; padding: 11px 16px; border: 1px solid var(--line-2); border-radius: 4px; font: 500 14px/1.2 var(--sans); color: var(--ink); transition: background-color .25s, color .25s, border-color .25s; }
.rchip span { font-size: 12.5px; color: var(--taupe); transition: color .25s; }
.rchip:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

/* tablet: the bar may wrap; the drawer stays on the right */
@media (max-width: 1100px) and (min-width: 761px) {
  .cbar { align-items: flex-start; }
  .cbar .filters__reset { margin-top: 8px; }
  .cbar__row { gap: 0 clamp(18px, 3vw, 34px); }
}

/* phones: full-width deal tabs, term below, one row «Фильтры (n)» + sort, chips scroll sideways, a bottom sheet with every filter */
@media (max-width: 760px) {
  .csearch { margin: 26px 0 0; padding: 0 var(--pad); }
  .cdeal { flex-direction: column; align-items: stretch; gap: 10px; }
  .seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
  .seg--deal [role="radio"] { min-width: 0; min-height: 52px; padding: 0 12px; }
  .seg--term [role="radio"] { min-height: 44px; }
  .cbar { display: none; }
  .cbar-m { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; border-top: 1px solid rgba(42, 34, 27, .32); border-bottom: 1px solid rgba(42, 34, 27, .32); }
  .cbar-m__open { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; font: 500 15px/1 var(--sans); color: #2A221B; }
  .cbar-m__open .i { width: 20px; height: 20px; }
  .cbar-m__sort .dd__btn { min-height: 52px; padding: 0; border: 0; font-size: 14.5px; font-weight: 500; color: #2A221B; }
  .cbar-m__sort .dd__list { left: auto; right: 0; min-width: 230px; }
  .results__sort { display: none; }
  .cchips { margin: 12px calc(-1 * var(--pad)) 0; }
  .cchips__l { flex-wrap: nowrap; overflow-x: auto; padding: 2px var(--pad) 6px; scroll-padding-inline: var(--pad); scrollbar-width: none; overscroll-behavior-x: contain; }
  .cchips__l::-webkit-scrollbar { display: none; }
  .cchips__l li { flex: none; }
  .fchip, .fchip-all { min-height: 44px; }
  .fchip { padding: 0 12px 0 16px; }

  .drw--sheet .drw__panel.fsh { top: auto; left: 0; right: 0; width: 100%; height: min(92svh, 100%); border-radius: 14px 14px 0 0; transform: translateY(100%); box-shadow: 0 -24px 60px -24px rgba(31, 24, 18, .5); }
  .drw--sheet.is-open .drw__panel.fsh { transform: none; }
  .drw--sheet .fsh::before { content: ''; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: var(--line-2); }
  .fsh__head { padding: 22px var(--pad) 12px; }
  .fsh__t { font-size: 32px; margin-top: 6px; }
  .fsh__body { padding: 0 var(--pad) 20px; }
  .fsh__foot { padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom)); gap: 18px; }
  .fsh__reset { min-height: 44px; }
  .chip > span, .chip--b { min-height: 44px; padding: 0 16px; }
  .ck { min-height: 44px; }
  .dsel__g .ck:not(.ck--g) { min-height: 44px; }
  .dsel__cols { column-gap: 18px; }
  .dsel__g .cks { padding-left: 0; }
  .bseg button { min-height: 50px; }
  .bud .seg--cur [role="radio"] { min-height: 44px; }
  .fsec { padding: 20px 0 22px; }
  .results__bar { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .fb__pop { animation: none; }
}

/* ══ Round 4 · home frame 2 — compact «Купить · Арендовать» at the left end of the filter row ══ */
.filters--home .filters__row { align-items: center; gap: clamp(22px, 4.6vw, 70px); }
.seg--home { align-self: center; margin: 4px 0; }
.seg--home.seg--deal [role="radio"] { min-width: 0; min-height: 38px; padding: 0 clamp(14px, 1.3vw, 20px); font-size: clamp(11px, .8vw, 12px); letter-spacing: .15em; }
.pcards--home { transition: opacity .35s var(--ease); }
.pcards--home.is-loading { opacity: .45; }
@media (max-width: 760px) {
  .cat .filters__row .seg--home { grid-column: 1 / -1; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin: 0 0 6px; }
  .seg--home.seg--deal [role="radio"] { min-height: 46px; }
}

/* ══ Round 4 · menu — «Купить · Арендовать» under «Объекты» ══ */
.menu__sub { display: flex; align-items: center; gap: 12px; margin: -4px 0 10px 54px; font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--cream-2); opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease) calc(.08s + var(--i) * .05s), transform .9s var(--ease-out) calc(.08s + var(--i) * .05s); }
.menu.is-open .menu__sub { opacity: 1; transform: none; }
.menu__nav .menu__sub a { display: inline-flex; align-items: center; min-height: 36px; font: inherit; letter-spacing: inherit; opacity: 1; transform: none; color: var(--cream); transition: color .3s; }
.menu__nav .menu__sub a:hover { text-decoration: underline; text-underline-offset: 6px; }
.menu__sub > span { opacity: .6; }
@media (max-width: 760px) { .menu__sub { margin-left: 44px; } .menu__nav .menu__sub a { min-height: 44px; } }

/* ══ Round 4b · critique + QA fixes ═════════════════════════════════════════ */
/* hover looks only for real pointers: a tap on a phone must not leave a hover border behind (#24) */
@media (hover: hover) and (pointer: fine) {
  .seg [role="radio"][aria-checked="false"]:hover { background: rgba(243, 236, 226, .14); }
  .ck:hover .ck__box { border-color: var(--ink); }
  .chip:hover > span, .chip--b:hover { border-color: var(--ink); }
  .bud .seg--cur [role="radio"][aria-checked="false"]:hover { background: rgba(31, 27, 23, .06); }
  .bseg button:hover { background: rgba(31, 27, 23, .05); }
  .fchip:hover { background: var(--cream); }
  .fchip:hover .i { opacity: 1; }
  .rchip:hover { background: var(--espresso); border-color: var(--espresso); color: var(--cream); }
  .rchip:hover span { color: var(--cream-2); }
}

/* #1 the catalog wall ends 40–56 px under the bar / chips; #2 results share the page column (pad → 5vw) */
@media (min-width: 761px) {
  .cat--page { min-height: 0; padding-bottom: clamp(40px, 3.6vw, 56px); }
  .results { padding-top: clamp(32px, 3.2vw, 48px); }
  .results, .similar { padding-left: var(--pad); padding-right: 5vw; }
  .results__bar, .similar__head { padding: 0; }
}

/* #3 labels stay legible on bright photos: a soft top shade + the bottom fade */
.pcards--grid .pcard::before, .pcards--home .pcard::before { background: linear-gradient(180deg, rgba(20, 22, 20, .46) 0%, rgba(20, 22, 20, 0) 24%, rgba(20, 22, 20, 0) 34%, rgba(20, 22, 20, .6) 60%, rgba(19, 21, 19, .92) 100%); }

/* #22 the «Не нашли?» tile closing an incomplete last row */
.pcard--fill { display: flex; aspect-ratio: auto !important; background: var(--espresso); box-shadow: 0 18px 40px -26px rgba(30, 18, 10, .7); }
.pcard--fill::before { display: none; }
.pcard--fill .pcard__body { position: absolute; }
.pcard__k { font: 600 11.5px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--cream-2); margin-bottom: clamp(10px, 1vw, 16px); }
.pcard--fill .pcard__title { font-size: clamp(24px, 2.2vw, 32px); }
.pcard--fill .pcard__d { max-width: 30em; font-weight: 400; }
@media (hover: hover) and (pointer: fine) { .pcard--fill:hover { background: #3E3229; } }

/* #4 amenities: a two-column checklist, eight first */
.cks--2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.fam .ck { min-height: 36px; font-size: 14.5px; }
.fam__more { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; min-height: 40px; font-size: 14px; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 5px; }
.fam__more .i--chev { transition: transform .3s var(--ease); }
.fam__more[aria-expanded="true"] .i--chev { transform: rotate(180deg); }
.fam__more:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

/* #6 home frame 4: the island a little smaller, lower and left of the thumbnails (Раваи keeps its leader) */
@media (min-width: 761px) {
  .isle { height: clamp(420px, 35vw, 520px); margin-top: clamp(14px, 1.6vw, 26px); transform: translateX(clamp(-56px, -3.8vw, -30px)); }
}
@media (max-width: 1100px) and (min-width: 761px) { .isle { height: 420px; } }

/* #12 the floating cream header is opaque enough that text never ghosts through it */
.hdr.is-float .hdr__layer.is-cream { background: linear-gradient(180deg, rgba(30, 25, 21, .95) 0%, rgba(30, 25, 21, .92) 84%, rgba(30, 25, 21, 0) 100%); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

/* #13 «Сбросить» appears with the first filter (keeps its place); #14 on desktop the bar's «Сбросить» replaces «Сбросить всё» */
.cbar .filters__reset.is-off { visibility: hidden; }
@media (min-width: 761px) { .cchips__all { display: none; } }

/* #15 the term switch is secondary: text tabs on desktop (the phone keeps the segmented control) */
@media (min-width: 761px) {
  .seg--term { border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; gap: 24px; padding: 0; }
  .seg--term [role="radio"] { padding: 0; min-height: 44px; border-radius: 0; background: none !important; box-shadow: none; color: rgba(243, 236, 226, .78); text-shadow: 0 1px 14px rgba(40, 26, 16, .35); }
  .seg--term [role="radio"][aria-checked="true"] { color: var(--cream); box-shadow: inset 0 -1px 0 var(--cream); }
}

/* #17 the empty state sits close under the head; the drawer's zero state is a quiet outline, not an error */
.results.is-empty { padding-top: 72px; padding-bottom: 88px; }
.results.is-empty .results__bar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.results.is-empty .pcards--grid { margin-top: 0; }
.results.is-empty .empty { padding: 0; }
.empty--r4 > p { max-width: 560px; margin-inline: auto; }
.fsh__go.is-zero { background: none; color: var(--ink); border: 1px solid var(--line-2); font: 500 14.5px/1.3 var(--sans); letter-spacing: .01em; text-transform: none; white-space: normal; }

/* #18 no orphans in the drawer's choice rows */
.fsh .chip > span, .fsh .chip--b { padding: 0 12px; }
.fb__pop .chips--p { gap: 6px; }
.fb__pop .chip--b { padding: 0 10px; }
.fsec--stay .chips { display: grid; grid-template-columns: repeat(3, 1fr); }
.fsec--stay .chip { display: flex; }
.fsec--stay .chip > span { width: 100%; justify-content: center; }

/* #19 all five budget presets fit one row */
.fb--budget .fb__pop { width: min(600px, calc(100vw - 32px)); }

/* #20 home frame 2 at tablet width: the cards fill the frame */
@media (max-width: 1100px) and (min-width: 761px) { .pcards--home .pcard { aspect-ratio: 1.25; } }

/* #21 sheets alternate, so every seam separates two different tones */
.page-catalog .req6--plain { background: var(--milk-2); }
.similar { background: var(--milk); }

/* #23 footer stats: captions wrap in two or three lines, not word by word */
@media (min-width: 761px) { .ftr .ftr__stats { grid-template-columns: repeat(3, minmax(112px, 1fr)); } .ftr__stats li { padding: 0 14px; } }
@media (min-width: 1101px) { .ftr__in { grid-template-columns: 1.2fr 2fr .8fr 1fr; } }

/* #25 menu: an even rhythm under «Объекты»; one close ring (the header burger hides while the menu is open) */
.menu__sub { margin: -12px 0 2px 54px; }
body:has(.menu.is-open) .hdr .burger { visibility: hidden; }

/* R4-16 phone touch targets: number fields and dropdown options */
@media (max-width: 760px) {
  .menu__sub { margin-left: 44px; }
  .nfield { min-height: 44px; align-items: center; padding: 2px 0 4px; }
  .dd__list li { min-height: 44px; }
  .fsec--stay .chips { grid-template-columns: repeat(2, 1fr); }
  .fsh .chip > span, .fsh .chip--b { min-width: 44px; justify-content: center; }
  .fam .ck, .fam__more { min-height: 44px; }
}

/* ══ Round 4c · scenario chips, facet counts, «Гости» ═════════════════════════ */
/* «Быстрые подборки»: outline chips on the wall with a live count; on = filled cream */
.cquick { margin-top: 14px; }
.cquick__l { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.qchip { display: inline-flex; align-items: center; gap: 9px; min-height: 34px; padding: 0 12px 0 14px; border: 1px solid rgba(42, 34, 27, .4); border-radius: 4px; color: #2A221B; font: 500 13.5px/1.2 var(--sans); white-space: nowrap; background: rgba(243, 236, 226, .1); transition: background-color .25s, border-color .25s, color .25s; }
.qchip__n { font-size: 12px; font-weight: 500; opacity: .62; font-variant-numeric: tabular-nums; }
.qchip[aria-pressed="true"] { background: var(--cream); border-color: var(--cream); color: var(--espresso); box-shadow: 0 8px 18px -14px rgba(30, 18, 10, .7); }
.qchip:focus-visible { outline: 1px solid #2A221B; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .qchip:hover { border-color: #2A221B; background: rgba(243, 236, 226, .28); } .qchip[aria-pressed="true"]:hover { background: #fff; } }
.cquick + .cchips { margin-top: 10px; }

/* facet counts next to options; options with nothing to show grey out */
.fn { margin-left: auto; padding-left: 10px; font-size: 12.5px; color: var(--taupe); font-variant-numeric: tabular-nums; }
.chip .fn { margin-left: 0; padding-left: 8px; font-size: 12px; }
.chip input:checked + span .fn { color: var(--cream-2); }
.ck.is-zero, .chip.is-zero { opacity: .42; }
.ck.is-zero:has(input:disabled), .chip.is-zero:has(input:disabled) { cursor: default; }

/* «Гости»: one choice of five */
.bseg--g { grid-template-columns: repeat(5, 1fr); }
.fb--guests .fb__pop { width: 380px; }

@media (max-width: 760px) {
  .cquick { margin: 12px calc(-1 * var(--pad)) 0; }
  .cquick__l { flex-wrap: nowrap; overflow-x: auto; padding: 2px var(--pad) 6px; scroll-padding-inline: var(--pad); scrollbar-width: none; overscroll-behavior-x: contain; }
  .cquick__l::-webkit-scrollbar { display: none; }
  .cquick__l li { flex: none; }
  .qchip { min-height: 44px; padding: 0 14px 0 16px; }
  .cquick + .cchips { margin-top: 6px; }
}

/* ══ Round 5 · logo lockup — LUMERA over a tiny «REAL ESTATE» spread to the wordmark's width ══════════
   The line hangs under the wordmark (absolute), so the bar height and the nav alignment do not move. */
.logo { position: relative; display: inline-block; }
.logo__w { display: block; margin-right: -.045em; } /* the wordmark's own trailing tracking, so the line spans L…A exactly */
.logo__s {
  position: absolute; left: calc(6px + .02em); right: calc(6px + .02em); top: calc(100% - 6px + .08em);
  display: flex; justify-content: space-between; align-items: center;
  font: 500 max(7.5px, .262em)/1 var(--sans); letter-spacing: 0;
  pointer-events: none;
}
.logo__s b { font-weight: 500; }
.logo__s i { width: .15em; }
.ftr__about .logo .logo__s { left: .02em; right: .02em; top: calc(100% + .1em); }
.ftr__about .logo { margin-bottom: 14px; }

/* ══ Round 5 · home frame 2 — filters in place ═══════════════════════════════════════════════ */
.cat .filters .fb__btn { font-weight: 500; font-size: clamp(13px, 1.25vw, 18px); min-height: 52px; color: #2A221B; }
.cat .fb.is-set .fb__btn { font-weight: 600; }
.cat .fb__pop { text-shadow: none; }
.filters--home .filters__row { align-items: center; gap: clamp(20px, 4.2vw, 64px); }
.filters--home .fb__v { max-width: 13em; }
.fb__pop--wide { width: min(580px, calc(100vw - 32px)); }
.fb--h-area .fb__pop, .fb--h-price .fb__pop { width: 290px; }
.fb--h-type .fb__pop { width: 320px; }
/* one-choice lists (Площадь, Цена): a round mark */
.ck--r .ck__box { border-radius: 50%; }
.ck--r input:checked + .ck__box { border-color: var(--espresso); background: radial-gradient(circle, var(--espresso) 0 4px, transparent 4.6px); }
.cks--r .ck { min-height: 40px; }
@media (hover: hover) and (pointer: fine) { .ck--r:hover .ck__box { border-color: var(--ink); } }

/* cards update in place: a fade only when the answer is slow, a soft settle when it lands */
.pcards--home { min-height: 1px; }
.pcards--home.is-swap .pcard { animation: pcIn .5s var(--ease) both; }
@keyframes pcIn { from { opacity: .35; } }
.pcards--home .pcard--fill { grid-column: span var(--span, 1); }
.hempty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 32px 24px; text-align: center; border-radius: 6px; background: rgba(243, 233, 221, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #241D17; text-shadow: none; box-shadow: 0 18px 40px -30px rgba(30, 18, 10, .6); }
.hempty__t { font: 420 clamp(24px, 2.2vw, 32px)/1.15 var(--serif); font-stretch: 87.5%; }
.hempty__a { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 40px; }
.hempty .cta { color: #241D17; }
/* «Смотреть все … · N» under the three cards */
.cat__all { display: flex; justify-content: flex-end; margin: clamp(14px, 1.5vw, 22px) calc(5vw - var(--gut)) 0 calc(var(--pad) - var(--gut)); }
.cat__all .cta { color: #241D17; font-size: clamp(12px, 1vw, 14.5px); text-shadow: none; padding: 8px 0; border-bottom: 1px solid rgba(36, 29, 23, .35); transition: border-color .3s; }
.cat__all .cta:hover { border-bottom-color: #241D17; }
.cat__all .cta:focus-visible { outline: 1px solid #241D17; outline-offset: 6px; }
@media (prefers-reduced-motion: reduce) { .pcards--home.is-swap .pcard { animation: none; } }
@media (max-width: 760px) {
  .cat .filters__row .fb { border-bottom: 1px solid rgba(42, 34, 27, .3); min-width: 0; }
  .cat .filters__row .fb__btn { width: 100%; justify-content: space-between; padding: 14px 0 12px; min-height: 50px; font-size: 15px; }
  .filters--home .fb__v { max-width: none; overflow: hidden; text-overflow: ellipsis; }
  .pcards--home .pcard--fill { flex: 0 0 84%; }
  .pcards--home .hempty { flex: 1 0 100%; min-height: 0 !important; padding: 36px 20px; }
  .cat__all { margin: 18px var(--pad) 0; justify-content: stretch; }
  .cat__all .cta { width: 100%; justify-content: space-between; min-height: 48px; }
  .ck--r { min-height: 48px; }
}

/* ══ Round 5 · concierge and car rental ══════════════════════════════════════════════════════ */
.svc-ico { display: inline-grid; place-items: center; }
.svc-ico .i { width: 14px; height: 14px; }
.svc-ico .i--ext { width: 13px; height: 13px; }
/* hero foot: the caption, then the two links */
.hero__foot { flex-direction: column; align-items: flex-end; gap: clamp(10px, 1vw, 14px); }
.hero__svc { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px 16px; text-shadow: 0 1px 14px rgba(14, 12, 10, .45); }
.hero__svc a { display: inline-flex; align-items: center; gap: 9px; padding: 3px 0 5px; color: var(--cream); border-bottom: 1px solid rgba(243, 236, 226, .45); transition: border-color .3s; }
.hero__svc a:hover { border-bottom-color: var(--cream); }
.hero__svc a:focus-visible { outline: 1px solid var(--cream); outline-offset: 5px; }
.hero__dot { opacity: .6; }
/* services frame: two separate Lumera services after the four steps */
.svx { display: grid; grid-template-columns: minmax(0, .74fr) minmax(0, 1.3fr) minmax(0, 1.18fr) minmax(0, 1fr); align-items: stretch; gap: 0; margin: clamp(22px, 2.2vw, 32px) var(--pad) 0 calc(var(--pad) + 1.3vw); color: #1F1913; }
.svx__h { align-self: center; font: 600 clamp(11px, .85vw, 12.5px)/1.45 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #2A221B; max-width: 12em; }
.svx__l { grid-column: 2 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-left: clamp(20px, 6.25vw, 90px); }
.svx__a { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 18px; align-items: center; height: 100%; padding: clamp(16px, 1.5vw, 22px) clamp(16px, 1.6vw, 24px); border-radius: 6px; background: rgba(245, 237, 227, .74); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 16px 36px -26px rgba(40, 24, 12, .7), inset 0 0 0 1px rgba(255, 250, 242, .5); transition: background-color .35s var(--ease); }
.svx__t { grid-column: 1; font: 470 clamp(19px, 1.6vw, 24px)/1.15 var(--serif); font-stretch: 87.5%; }
.svx__d { grid-column: 1; margin-top: 6px; font-size: clamp(12.5px, .95vw, 14px); line-height: 1.4; color: #4A3F35; }
.svx__i { grid-column: 2; grid-row: 1 / 3; --cs: clamp(38px, 3vw, 44px); border-color: rgba(31, 25, 19, .55); }
.svx__i .i { width: 16px; height: 16px; }
.svx__a:hover { background: rgba(250, 245, 238, .92); }
.svx__a:hover .svx__i { background: #1F1913; color: var(--cream); border-color: #1F1913; }
.svx__a:focus-visible { outline: 1px solid #1F1913; outline-offset: 3px; }
/* menu: «Сервисы Lumera» */
.menu__svc { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 30px; padding-bottom: 18px; border-bottom: 1px solid var(--cream-line); }
.menu__h { flex-basis: 100%; margin-bottom: 4px; font: 600 11.5px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--cream-2); }
.menu__svc-a { display: inline-flex; align-items: center; gap: 0; min-height: 40px; font-size: 16px; }
.menu__svc-a .svc-ico { margin-left: 10px; }
.menu__svc-a:hover > span:first-child { text-decoration: underline; text-underline-offset: 5px; }
/* footer column */
.ftr__svc a { display: inline; }
.ftr__svc a > span:first-child { margin-right: 6px; }
.ftr__svc .svc-ico { display: inline; }
.ftr__svc .svc-ico .i { display: inline; vertical-align: -1px; }
.ftr__svc .svc-ico .i { width: 12px; height: 12px; opacity: .75; }
/* footer, desktop: about | Разделы | Сервисы Lumera | Связаться, the company figures in a row under the three link columns */
@media (min-width: 1101px) {
  .ftr__in { grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: 'about nav svc ct' 'about stats stats stats'; gap: 34px clamp(24px, 3vw, 52px); }
  .ftr__about { grid-area: about; }
  .ftr__nav { grid-area: nav; }
  .ftr__svc { grid-area: svc; }
  .ftr__ct { grid-area: ct; }
  .ftr .ftr__stats { grid-area: stats; align-self: start; padding-top: 26px; border-top: 1px solid rgba(42, 34, 27, .2); grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftr__stats li { padding: 0 22px; }
  .ftr__stats span { max-width: 15em; }
}
.ftr__about .cta { white-space: nowrap; }
/* the request topic on a lead form */
.lform__topic { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; padding: 6px 6px 6px 14px; border-radius: 2px; background: rgba(248, 241, 232, .72); font-size: 14px; }
.lform__topic span { font: 600 10.5px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); }
.lform__topic b { font-weight: 600; }
.lform__topic button { margin-left: auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--ink-2); }
.lform__topic button .i { width: 16px; height: 16px; }
.lform__topic button:hover { background: rgba(31, 27, 23, .07); }
@media (max-width: 1100px) and (min-width: 761px) {
  .svx { grid-template-columns: 1fr; gap: 12px; }
  .svx__l { grid-column: 1; padding-left: 0; }
}
@media (max-width: 760px) {
  .hero__svc { flex-direction: column; align-items: flex-end; gap: 6px; }
  .hero__dot { display: none; }
  .hero__content { bottom: 150px; }
  .svx { grid-template-columns: 1fr; gap: 12px; margin: 26px var(--pad) 48px; }
  .svx__l { grid-column: 1; grid-template-columns: 1fr; padding-left: 0; gap: 10px; }
  .svc__band { padding-bottom: 0; }
  .menu__svc-a { min-height: 44px; }
}

/* ══ Round 5 · object page — a calm listing: photo in its own frame, thumbnails below, sticky panel, open sections ══ */
.page-property { --lp-bg: var(--milk); --hdr-f: clamp(64px, 5.6vw, 82px); background: var(--lp-bg); }
.page-property .hdr.is-float .hdr__layer.is-ink { background: rgba(239, 232, 222, .97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lp { --lpx: clamp(20px, 5vw, 96px); background: var(--lp-bg); padding: calc(var(--hdr-h) + clamp(4px, .8vw, 14px)) var(--lpx) clamp(56px, 6vw, 96px); }
main > .lp + section { border-top: 0; }
.lp__top { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 48px; margin-bottom: clamp(12px, 1.2vw, 18px); }
.lp__path { display: flex; align-items: center; gap: 20px; min-width: 0; }
.lp__back { display: inline-flex; align-items: center; gap: 10px; flex: none; padding: 8px 0; font: 500 14px/1 var(--sans); color: #2A221B; }
.lp__back .i { width: 18px; height: 18px; transition: transform .4s var(--ease-out); }
.lp__back:hover .i { transform: translateX(-4px); }
.lp-crumbs { min-width: 0; padding-left: 20px; border-left: 1px solid var(--line-2); }
.lp-crumbs ol { display: flex; align-items: center; font-size: 13px; color: var(--taupe); white-space: nowrap; overflow: hidden; }
.lp-crumbs li { min-width: 0; }
.lp-crumbs li:last-child { overflow: hidden; text-overflow: ellipsis; }
.lp-crumbs li + li::before { content: '/'; margin: 0 10px; opacity: .55; }
.lp-crumbs a { transition: color .25s; }
.lp-crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.lp-crumbs [aria-current] { color: var(--ink-2); }
.lp__nav { display: flex; align-items: center; gap: 8px; flex: none; }
.lp__count { margin-right: 8px; font-size: 13px; letter-spacing: .08em; color: var(--taupe); font-variant-numeric: tabular-nums; }
.lp__count b { font-weight: 500; color: var(--ink); }
.lp__step { --cs: 40px; border-color: rgba(31, 27, 23, .35); color: var(--ink); }
.lp__step .i { width: 18px; height: 18px; }
.lp__step:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.lp__grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(320px, 31%, 440px); grid-template-areas: 'gal panel' 'body panel'; column-gap: clamp(32px, 4.6vw, 76px); align-items: start; }
.lp-gal { grid-area: gal; min-width: 0; }
.lp__aside { grid-area: panel; align-self: stretch; }
.lp__body { grid-area: body; min-width: 0; margin-top: clamp(30px, 3vw, 46px); }

/* gallery: one photo in its frame; a counter, «На весь экран» and arrows are all that sit on it */
.lp-gal__frame { position: relative; aspect-ratio: 3 / 2; border-radius: 6px; overflow: hidden; background: #2a2420; box-shadow: 0 30px 60px -42px rgba(40, 26, 14, .6); isolation: isolate; }
.lp-gal__track { position: absolute; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.lp-gal__track::-webkit-scrollbar { display: none; }
.lp-gal__s { flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; cursor: zoom-in; }
.lp-gal__s img { width: 100%; height: 100%; object-fit: cover; }
.lp-gal__s::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(200, 140, 90, .1), rgba(40, 28, 20, .14)); mix-blend-mode: multiply; }
.lp-gal__s:focus-visible { outline: 0; box-shadow: inset 0 0 0 2px var(--cream); }
.lp-gal__nav { position: absolute; top: 50%; z-index: 2; translate: 0 -50%; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(246, 240, 232, .9); color: var(--ink); box-shadow: 0 8px 22px -10px rgba(0, 0, 0, .45); opacity: 0; transition: opacity .35s var(--ease), background-color .3s; }
.lp-gal__nav .i { width: 20px; height: 20px; }
.lp-gal__nav--prev { left: 18px; }
.lp-gal__nav--next { right: 18px; }
.lp-gal__frame:hover .lp-gal__nav, .lp-gal__nav:focus-visible { opacity: 1; }
.lp-gal__nav:hover { background: #fff; }
.lp-gal__nav:focus-visible { outline: 1px solid var(--cream); outline-offset: 3px; }
@media (hover: none) { .lp-gal__nav { opacity: 1; width: 40px; height: 40px; } }
.lp-gal__bar { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.lp-gal__count, .lp-gal__full { pointer-events: auto; display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 13px; border-radius: 16px; background: rgba(24, 20, 17, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--cream); font: 500 12.5px/1 var(--sans); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.lp-gal__count b { font-weight: 600; }
.lp-gal__full { transition: background-color .3s; }
.lp-gal__full .i { width: 15px; height: 15px; }
.lp-gal__full:hover { background: rgba(24, 20, 17, .78); }
.lp-gal__full:focus-visible { outline: 1px solid var(--cream); outline-offset: 2px; }
.lp-gal__thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 10px) / 6); gap: 10px; margin: 10px -4px 0; padding: 4px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.lp-gal__thumbs::-webkit-scrollbar { display: none; }
.lp-gal__th { position: relative; aspect-ratio: 3 / 2; border-radius: 4px; overflow: hidden; opacity: .62; scroll-snap-align: start; transition: opacity .3s, outline-color .3s; outline: 1.5px solid transparent; outline-offset: 2px; }
.lp-gal__th img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) sepia(.22) contrast(1.06) brightness(.94); }
.lp-gal__th:hover { opacity: 1; }
.lp-gal__th.is-on { opacity: 1; outline-color: var(--ink); }
.lp-gal__th:focus-visible { opacity: 1; outline-color: var(--ink); }
.lp-gal__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.lp-media { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 4px; font-size: 14px; font-weight: 500; transition: background-color .3s, border-color .3s; }
.lp-media .i { width: 20px; height: 20px; }
.lp-media .i--ext { width: 13px; height: 13px; opacity: .7; }
.lp-media:hover { background: rgba(255, 255, 255, .45); border-color: var(--ink); }

/* the info panel: sticky under the header while the sections scroll */
.lp-panel { position: sticky; top: calc(var(--hdr-f) + 20px); padding: clamp(24px, 2.3vw, 34px); border-radius: 6px; background: var(--milk-hi); border: 1px solid rgba(31, 27, 23, .07); box-shadow: 0 26px 60px -44px rgba(40, 26, 14, .55); }
.lp-panel__k { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font: 600 11px/1.35 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); }
.lp-badge { padding: 5px 8px 4px; border: 1px solid #9A5A36; border-radius: 3px; color: #8A4B2A; font-size: 10px; letter-spacing: .16em; }
.lp-panel__t { margin-top: 14px; font: 470 clamp(30px, 2.65vw, 42px)/1.06 var(--serif); font-stretch: 87.5%; letter-spacing: -.008em; text-wrap: balance; overflow-wrap: anywhere; }
.lp-panel__loc { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }
.lp-panel__loc .i { width: 18px; height: 18px; flex: none; margin-top: -1px; color: var(--taupe); }
.lp-panel__price { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.lp-price { font: 420 clamp(28px, 2.35vw, 36px)/1.1 var(--serif); font-stretch: 87.5%; letter-spacing: -.004em; white-space: nowrap; }
.lp-price--req { white-space: normal; }
.lp-price__sub { margin-top: 6px; font-size: 14px; color: var(--taupe); }
.lp-also { display: inline-flex; align-items: center; gap: 12px; margin-top: 14px; padding: 6px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; color: var(--ink); transition: border-color .3s; }
.lp-also .i--long { width: 22px; height: 12px; transition: transform .45s var(--ease-out); }
.lp-also:hover { border-bottom-color: var(--ink); }
.lp-also:hover .i--long { transform: translateX(4px); }
.lp-facts { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); margin-top: 22px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-facts > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 5px; min-width: 0; padding: 0 12px; border-left: 1px solid var(--line); }
.lp-facts > div:first-child { padding-left: 0; border-left: 0; }
.lp-facts dd { font: 500 clamp(15px, 1.2vw, 17px)/1.2 var(--sans); white-space: nowrap; }
.lp-facts dt { font-size: 12px; color: var(--taupe); }
.lp-panel__cta { margin-top: 22px; min-height: 56px; padding: 0 22px; gap: 16px; border-radius: 4px; font-size: clamp(11.5px, .86vw, 12.5px); letter-spacing: .14em; }
.lp-panel__cta .i--long { width: 24px; }
.lp-panel__q { display: flex; justify-content: center; align-items: center; margin-top: 12px; font-size: 13px; color: var(--ink-2); }
.lp-panel__q a { flex: 1 1 0; display: inline-flex; justify-content: center; align-items: center; gap: 7px; min-height: 40px; padding: 0 4px; white-space: nowrap; transition: color .25s; }
.lp-panel__q a:hover { color: var(--ink); }
.lp-panel__q a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.lp-panel__q .i { width: 15px; height: 15px; flex: none; }
.lp-panel__q > span { flex: none; width: 1px; height: 14px; background: var(--line-2); }

/* the anchor bar: sticks under the header, the current section underlined */
.lp-tabs { position: sticky; top: var(--hdr-f); z-index: 20; background: var(--lp-bg); border-bottom: 1px solid var(--line-2); }
.lp-tabs.is-stuck { box-shadow: 0 10px 18px -16px rgba(40, 26, 14, .35); }
.lp-tabs__in { display: flex; gap: clamp(14px, 1.5vw, 28px); overflow-x: auto; scrollbar-width: none; }
.lp-tabs__in.is-over { -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); }
.lp-tabs__in.is-over.is-end { -webkit-mask-image: none; mask-image: none; }
.lp-tabs__in::-webkit-scrollbar { display: none; }
.lp-tabs a { position: relative; flex: none; padding: 17px 0 16px; font: 600 11.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; color: var(--taupe); transition: color .3s; }
.lp-tabs a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.lp-tabs a:hover, .lp-tabs a.is-on { color: var(--ink); }
.lp-tabs a.is-on::after { transform: none; }
.lp-tabs a:focus-visible { outline-offset: -2px; }

/* sections */
.lp-sec { padding: clamp(36px, 3.4vw, 54px) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--hdr-f) + 66px); }
.lp-tabs + .lp-sec { border-top: 0; }
.lp-sec:last-child { padding-bottom: 0; }
.lp-sec:focus { outline: none; }
.lp-sec__h { margin-bottom: clamp(18px, 1.7vw, 26px); font: 470 clamp(25px, 2vw, 31px)/1.1 var(--serif); font-stretch: 87.5%; letter-spacing: -.004em; }
.lp-sub { margin: 34px 0 16px; font: 470 22px/1.2 var(--serif); font-stretch: 87.5%; }
.lp-prose { max-width: 40em; font-size: clamp(15.5px, 1.12vw, 17px); line-height: 1.72; color: var(--ink-2); }
.lp-prose p + p, .lp-prose p + div, .lp-more p { margin-top: .9em; }
.lp-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(20px, 2.4vw, 40px); }
.lp-specs > div { padding: 14px 0 13px; border-bottom: 1px solid var(--line); min-width: 0; }
.lp-specs dt, .lp-dist dt { font: 600 10.5px/1.2 var(--sans); letter-spacing: .17em; text-transform: uppercase; color: var(--taupe); }
.lp-specs dd { margin-top: 7px; font-size: 16px; line-height: 1.35; color: var(--ink); }
.lp-amen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px clamp(20px, 2.4vw, 40px); }
.lp-amen li { display: flex; align-items: center; gap: 14px; font-size: 15.5px; line-height: 1.3; color: var(--ink); }
.lp-amen .i { flex: none; width: 30px; height: 30px; color: #3B332C; }
.lp-soft { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: clamp(20px, 2vw, 28px); border-radius: 6px; background: rgba(255, 255, 255, .34); border: 1px solid var(--line); }
.lp-soft__i { width: 42px; height: 42px; color: var(--ink-2); }
.lp-soft__t { font: 470 clamp(19px, 1.45vw, 22px)/1.25 var(--serif); font-stretch: 87.5%; }
.lp-soft__d { margin-top: 6px; max-width: 34em; font-size: 14px; color: var(--taupe); }
.lp-soft__b { min-height: 48px; padding: 0 22px; gap: 16px; border-radius: 4px; font-size: 11.5px; }
.lp-soft__b:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.lp-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.lp-plans__b { aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; background: #fff; cursor: zoom-in; }
.lp-plans__b img { width: 100%; height: 100%; object-fit: contain; }
/* location: the island card (placeholder renderer until the new map) + the district */
.lp-loc { display: grid; grid-template-columns: minmax(250px, .82fr) minmax(0, 1.18fr); gap: clamp(26px, 3.2vw, 52px); align-items: center; }
.lp-loc--nomap { grid-template-columns: 1fr; }
.lp-loc__map { display: grid; place-items: center; }
.lp-loc__name { font: 470 clamp(28px, 2.4vw, 36px)/1.05 var(--serif); font-stretch: 87.5%; }
.lp-loc__tag { margin-top: 8px; font-size: 15px; color: var(--taupe); }
.lp-loc__prose { margin-top: 18px; }
.lp-more__b { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px 0; font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 5px; }
.lp-more__b .i--chev { transition: transform .3s var(--ease); }
.lp-more__b[aria-expanded="true"] .i--chev { transform: rotate(180deg); }
.lp-dist { display: flex; flex-wrap: wrap; gap: 12px 36px; margin: 22px 0 18px; }
.lp-dist dd { margin-top: 6px; font-size: 17px; }
/* documents and rent terms */
.lp-own > div { display: grid; grid-template-columns: minmax(130px, 180px) minmax(0, 1fr); gap: 8px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.lp-own > div:first-child { border-top: 1px solid var(--line); }
.lp-own dt { font: 470 20px/1.25 var(--serif); font-stretch: 87.5%; }
.lp-own dd { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.lp-own dd::first-letter { text-transform: uppercase; }
.lp-legal { display: flex; gap: 14px; margin: 22px 0 18px; padding: 18px 20px; border-radius: 6px; background: rgba(255, 255, 255, .34); border: 1px solid var(--line); font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.lp-legal .i { flex: none; width: 22px; height: 22px; margin-top: 1px; color: #2A221B; }
.lp-legal b { font-weight: 600; color: var(--ink); }
.lp-terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); }
.lp-terms > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.lp-terms dt { flex: none; font-size: 14.5px; color: var(--taupe); }
.lp-terms dd { font-size: 15.5px; color: var(--ink); text-align: right; }
.lp-car { display: flex; align-items: center; gap: 14px; margin: 22px 0 16px; padding: 14px 18px; border-radius: 6px; background: rgba(255, 255, 255, .34); border: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.lp-car__i { flex: none; width: 28px; height: 28px; color: #2A221B; }
.lp-car__a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-2); transition: border-color .3s; }
.lp-car__a:hover { border-bottom-color: var(--ink); }
.lp-sec .cta--sm { margin-top: 4px; }
.lp-sec .ptable { margin-top: 22px; }
.lp-sec .pkpis dd { font-size: 23px; }

/* the form block and the similar objects after the page */
.lp-form { border-top: 0; }
.lp-form .req6__ph img { object-position: 50% 68%; transform: none; }

/* loading */
.lp--loading .lp-gal__frame { background: var(--milk-2); box-shadow: none; }
.lp-skel { background: linear-gradient(100deg, rgba(31, 27, 23, .07) 30%, rgba(31, 27, 23, .03) 50%, rgba(31, 27, 23, .07) 70%) 0 0 / 200% 100%; animation: skel 1.6s linear infinite; border-radius: 4px; }
.lp-skel--t { height: 40px; width: 80%; margin: 14px 0 18px; }
.lp-skel--l { height: 14px; margin-top: 12px; }
.lp-skel--s { width: 60%; }
.lp--loading .lp-panel { min-height: 360px; }

/* the phone bar (below 900 px) */
.lp-bar { display: none; }

/* tablet: the same two columns, a narrower panel */
@media (max-width: 1180px) and (min-width: 900px) {
  .lp-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-amen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-loc { grid-template-columns: 1fr; }
  .lp-loc__map { justify-self: start; }
  .lp-terms { grid-template-columns: 1fr; }
  .lp-soft { grid-template-columns: auto minmax(0, 1fr); }
  .lp-soft__b { grid-column: 2; justify-self: start; }
  .lp-gal__thumbs { grid-auto-columns: calc((100% - 4 * 10px) / 5); }
  .lp-facts dd { font-size: 15px; }
}
/* below 900 px: one column — gallery, the info card, the sticky bar, sections; a fixed bottom bar */
@media (max-width: 899px) {
  .lp { padding: calc(var(--hdr-h) + 2px) 0 48px; }
  .lp__top { padding: 0 var(--pad); margin-bottom: 8px; }
  .lp__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'gal' 'panel' 'body'; }
  .lp-gal__frame { border-radius: 0; aspect-ratio: 4 / 3; box-shadow: none; }
  .lp-gal__thumbs { grid-auto-columns: 92px; margin: 8px 0 0; padding: 4px var(--pad); scroll-padding-inline: var(--pad); }
  .lp-gal__links { padding: 0 var(--pad); }
  .lp__aside { padding: 0 var(--pad); }
  .lp-panel { position: static; margin-top: 18px; }
  .lp-panel__cta { display: none; }
  .lp__body { padding: 0 var(--pad); margin-top: 26px; }
  .lp-tabs { margin: 0 calc(-1 * var(--pad)); }
  .lp-tabs__in { padding: 0 var(--pad); scroll-padding-inline: var(--pad); }
  .lp-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-amen { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
  .lp-loc { grid-template-columns: 1fr; }
  .lp-terms { grid-template-columns: 1fr; }
  .lp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; gap: 10px; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); background: rgba(239, 232, 222, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transition: transform .45s var(--ease-out), visibility 0s; }
  .lp-bar.is-away { transform: translateY(110%); visibility: hidden; transition: transform .45s var(--ease-out), visibility 0s .45s; }
  .lp-bar__cta { flex: 1; min-height: 52px; padding: 0 16px; border-radius: 4px; }
  .lp-bar__wa { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 4px; border: 1px solid var(--line-2); color: #1F1913; }
  .lp-bar__wa .i { width: 24px; height: 24px; }
  body.has-lp-bar .similar { padding-bottom: 100px; }
}
@media (max-width: 760px) {
  .lp-crumbs { display: none; }
  .lp__step { --cs: 38px; }
  .lp-gal__full span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lp-gal__full { width: 32px; padding: 0; justify-content: center; }
  .lp-gal__bar { left: 12px; right: 12px; bottom: 12px; }
  .lp-gal__nav--prev { left: 10px; }
  .lp-gal__nav--next { right: 10px; }
  .lp-panel { padding: 22px 20px; }
  .lp-panel__t { font-size: 32px; }
  .lp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .lp-facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .lp-tabs a { padding: 16px 0 15px; font-size: 11.5px; }
  .lp-specs dd { font-size: 15px; }
  .lp-amen li { font-size: 14.5px; gap: 10px; }
  .lp-amen .i { width: 26px; height: 26px; }
  .lp-soft { grid-template-columns: 1fr; gap: 14px; }
  .lp-soft__b { justify-self: stretch; }
  .lp-own > div { grid-template-columns: 1fr; gap: 4px; }
  .lp-terms dd { text-align: right; }
  .lp-car { align-items: flex-start; }
  .ptable { font-size: 14.5px; }
}
/* the home row's popovers may reach past the frame's bottom edge (the frame paints above the next one) */
.page-home .cat { overflow: visible; }
@media (max-width: 760px) {
  /* a filter sheet is as tall as its list (up to 92 % of the screen) */
  .drw--sheet.fpsh .drw__panel.fsh { height: auto; max-height: min(92svh, 100%); }
  .fpsh .fsh__body { padding-bottom: 24px; }
  .cat__all .cta { font-size: 11.5px; letter-spacing: .1em; gap: 12px; }
}
@media (max-width: 1180px) and (min-width: 900px) {
  .lp-panel__q .i { display: none; }
  .lp-panel__q a { padding: 0 2px; }
  .lp-panel__cta { letter-spacing: .1em; padding: 0 18px; }
  .lp-facts > div { padding: 0 9px; }
}

/* ══ Round 5 · the island «champagne relief» — home frame 4 and the object page «Локация» ══════════════════════
   Replaces: the round-4 map block (.isle__land, .isle__name, .isle__ap, .mk*), the old stone classes
   (.isl__base / .isl__rim / .isl__edge) and .pdist__svg / .pdist__pin. Keep the existing .isle box sizing rules.
   Label size comes from the renderer (option `fs`, in map units) and can be bumped per breakpoint with --mk-fs. */
.isle__svg { --isle-ink: #241D17; --isle-dot: #2A221B; display: block; width: 100%; height: 100%; overflow: visible; }
.isle__drop { fill: rgba(110, 62, 30, .38); }          /* warm drop shadow, offset 7/16 map units, blur 13 */
.isle__contact { fill: rgba(92, 56, 30, .42); }        /* contact shadow: lifts the coast off the ground */
.isle__base { fill: #DDC4A7; }                          /* mean colour of the relief, visible until it loads */
.isle__rim { fill: none; stroke: rgba(255, 249, 238, .75); stroke-width: 1.8; }   /* clipped: .9 inside = beach line */
.isle__edge { fill: none; stroke: rgba(112, 76, 46, .7); stroke-width: .6; stroke-linejoin: round; }
.isle__ap { fill: rgba(64, 44, 28, .6); }
.isle__cap text { font: 400 30px var(--serif); letter-spacing: .34em; fill: #2A221B; pointer-events: none; }
.isle__cap .isle__sub { font: 500 13.5px var(--sans); letter-spacing: .24em; fill: rgba(42, 34, 27, .62); }

.mk { outline: none; transition: opacity .25s; }
.mk text { font-family: var(--sans); font-weight: 500; fill: var(--isle-ink); transition: font-weight .2s;
  paint-order: stroke; stroke: rgba(242, 224, 206, .55); stroke-width: 4px; stroke-linejoin: round; }
.mk__hit { fill: transparent; }
.mk__dot { fill: var(--isle-dot); stroke: #F6F0E8; stroke-width: 1.6; }
.mk__ring { fill: none; stroke: var(--isle-dot); stroke-width: 1.2; opacity: 0; transition: opacity .25s; }
.mk__lead { fill: none; stroke: var(--isle-dot); stroke-width: 1.2; }
.mk:hover .mk__ring, .mk.is-on .mk__ring, .mk:focus-visible .mk__ring { opacity: 1; }
.mk:hover text, .mk.is-on text { font-weight: 600; }
.mk:focus-visible text { text-decoration: underline; }
.loc__map.has-active .mk:not(.is-on) { opacity: .42; }
/* the island box is shortest at 761–1100 px (≈ 0.49 px per map unit): lift the labels from ≈ 11 to ≈ 13 px */
@media (max-width: 1100px) and (min-width: 761px) { .loc__map { --mk-fs: 27px; } }

/* object page: one district — big dot with a ring and a slow pulse, the rest are quiet context dots */
.mk--quiet .mk__dot { fill: rgba(42, 34, 27, .42); stroke: none; }
.mk.is-active .mk__dot { stroke-width: 2; }
.mk.is-active text { font-weight: 600; letter-spacing: .01em; stroke: rgba(233, 224, 211, .7); stroke-width: 5px; }
.mk__pulse { fill: none; stroke: var(--isle-dot); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center;
  animation: isle-pulse 3.2s cubic-bezier(.16, 1, .3, 1) infinite; }
@keyframes isle-pulse { 0% { transform: scale(.4); opacity: .5; } 75%, 100% { transform: scale(1.9); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .mk__pulse { animation: none; } }

/* object page box: the svg carries its own room for the label (viewBox -84 18 524 836) */
.pdist__box { position: relative; height: clamp(440px, 72vh, 680px); aspect-ratio: 524 / 836; }
@media (max-width: 900px) {   /* one column: centre the island (drop the old margin-left: -90px) */
  .pdist__box { height: min(128vw, 540px); margin: 0 auto; }
}

/* Optional «green» fallback, if the client asks for it after seeing the champagne map: set ISLE.relief to
   'img/phuket-relief-sage.webp' and add these overrides (sage relief, cream beach rim, light plane). */
/*
.isle__base { fill: #A4A582; }
.isle__rim { stroke: rgba(240, 228, 196, .85); stroke-width: 2.4; }
.isle__edge { stroke: rgba(62, 58, 40, .55); }
.isle__ap { fill: rgba(246, 240, 224, .9); }
*/
/* the object page's location card: the island beside the district text (round 5 layout) */
@media (min-width: 900px) { .lp-loc__map .pdist__box { height: clamp(400px, 34vw, 500px); } }
@media (max-width: 1180px) and (min-width: 900px) { .lp-loc__map .pdist__box { height: 440px; } }
@media (max-width: 1180px) and (min-width: 900px) { .lp-panel__cta .i--long { display: none; } .lp-panel__cta { padding: 0 12px; } }
/* the two service tiles follow the four steps on every width; their heading runs on one line when it sits above them */
@media (max-width: 1100px) { .svx__h { max-width: none; } }
@media (max-width: 760px) { .svx { order: 4; margin-top: 22px; } .svc__band { padding-bottom: 0; } }

/* ══ Round 5b · critique + QA ═══════════════════════════════════════════════════════════════════
   Numbers refer to sites/v6-sunset/CRITIQUE-r5.md (#n) and docs/qa/functional-v6-r5.md (R5-nn). */

/* ── Object page #1: a title row across the page, a flat «deal» panel, a 16:10 photo ── */
.lp { padding-left: var(--pad); padding-right: 5vw; } /* #3: one left edge with the header, the form and «Похожие объекты» */
.lp__grid { grid-template-areas: 'title title' 'gal panel' 'body panel'; }
.lp-title { grid-area: title; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 40px; padding: 2px 0 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); min-width: 0; }
.lp-title__main { min-width: 0; }
.lp-title__k { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font: 600 11px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); }
.lp-title__h { margin-top: 12px; font: 420 clamp(40px, 4.3vw, 62px)/1.02 var(--serif); font-stretch: 87.5%; letter-spacing: -.012em; text-wrap: balance; overflow-wrap: anywhere; }
.lp-title__loc { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.lp-title__loc .i { flex: none; width: 18px; height: 18px; color: var(--taupe); }
.lp-title__facts { flex: none; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: baseline; gap: 6px 0; max-width: 46%; padding-bottom: 3px; font: 500 15px/1.3 var(--sans); color: var(--ink); }
.lp-title__facts span { white-space: nowrap; }
.lp-title__facts span + span::before { content: ''; display: inline-block; width: 1px; height: 13px; margin: 0 16px; vertical-align: -1px; background: var(--line-2); }
@media (min-width: 1200px) { .lp-gal__frame { aspect-ratio: 16 / 10; } }
/* the deal panel: price → «Также сдаётся» → CTA → messengers; the name and the facts come back once the title row is gone */
.lp-panel { background: var(--milk-hi); border: 1px solid var(--milk-line); box-shadow: none; }
.lp-panel .lp-panel__price { margin-top: 0; padding-top: 0; border-top: 0; }
.lp-reveal { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.lp-reveal > div { overflow: hidden; min-height: 0; }
.lp-panel.is-named .lp-reveal { grid-template-rows: 1fr; }
.lp-panel__name { padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); font: 600 12px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-panel .lp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; margin-top: 20px; }
.lp-panel .lp-facts > div:nth-child(odd) { padding-left: 0; border-left: 0; }
.lp-price small { font: 400 .5em/1 var(--sans); letter-spacing: .01em; color: var(--taupe); }
.lp-panel__q > span { margin: 0 10px; }  /* #21 */
.lp-panel__q a { flex: 0 1 auto; padding: 0; }
/* #13 type scale: the property name is the largest object type on the page */
.lp-sec__h { font-size: clamp(28px, 2.3vw, 34px); }
.page-property .similar .h-display { font-size: clamp(34px, 3.2vw, 46px); }
.page-property .req6 { --fs-h: clamp(32px, 3vw, 42px); }
/* #3 the form block starts on the page's left edge too */
@media (min-width: 1181px) { .lp-form.req6 { grid-template-columns: var(--pad) minmax(0, 35.6vw) 4.4vw minmax(0, 18vw) 1fr; } }
@media (max-width: 1023px) and (min-width: 761px) { .lp-form.req6 { grid-template-columns: var(--pad) minmax(0, 52vw) 1fr; } }

/* #8 gallery: thumbnails at a fixed size with the actions on the same row; no double dimming */
.lp-gal__row { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 10px; min-width: 0; }
.lp-gal__row .lp-gal__thumbs { flex: 0 1 auto; min-width: 0; grid-auto-columns: 124px; margin: 0 0 0 -4px; }
.lp-gal__th { opacity: .8; }
.lp-gal__th img { filter: none; }
.lp-gal__acts { flex: none; display: flex; align-items: center; gap: 22px; }
.lp-gal__act { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font: 500 13px/1 var(--sans); color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 5px; transition: text-decoration-color .3s; }
.lp-gal__act:hover { text-decoration-color: currentColor; }
.lp-gal__act .i { width: 12px; height: 12px; }

/* #4 tab bar: the underline sits on the hairline (not clipped), fades on both sides, the active tab centred (JS) */
.lp-tabs { border-bottom: 0; }
.lp-tabs__in { box-shadow: inset 0 -1px var(--line-2); }
.lp-tabs a::after { bottom: 0; height: 2px; }
.lp-tabs__in.is-over:not(.is-start):not(.is-end) { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 88%, transparent); }
.lp-tabs__in.is-over.is-start:not(.is-end) { -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); }
.lp-tabs__in.is-over.is-end:not(.is-start) { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%); mask-image: linear-gradient(90deg, transparent 0, #000 12%); }
@media (max-width: 1199px) { .lp-tabs a { font-size: 11px; letter-spacing: .08em; } .lp-tabs__in { gap: 16px; } }

/* #2 location: the same champagne island on a calm sea-tone ground; a big marker; neighbours named */
.lp-loc__map { padding: 26px 18px; border-radius: 6px; background: radial-gradient(110% 85% at 46% 42%, #E4E2D9 0%, #D6D5CC 62%, #CFCDC2 100%); }
.lp-loc__map .pdist__box { aspect-ratio: 552 / 836; }
.lp-loc__name { font-size: 26px; }
.isle__svg--prop .mk__ring { stroke: rgba(31, 27, 23, .35); stroke-width: 1; }
.isle__svg--prop .mk.is-active .mk__dot { stroke: #F6F0E8; stroke-width: 2.4; }
.isle__svg--prop .mk__pulse { stroke: rgba(31, 27, 23, .5); stroke-width: 1.2; animation: isle-pulse-lg 2.4s cubic-bezier(.16, 1, .3, 1) infinite; }
@keyframes isle-pulse-lg { 0% { transform: scale(1); opacity: .7; } 85%, 100% { transform: scale(1.53); opacity: 0; } }
.isle__svg--prop .mk.is-active text { font-weight: 600; stroke: rgba(226, 224, 216, .85); stroke-width: 6px; }
.isle__svg--prop .mk--near text { font-weight: 500; fill: #6B5D50; stroke: rgba(226, 224, 216, .8); stroke-width: 4px; }
.isle__svg--prop .mk--near .mk__dot { fill: rgba(42, 34, 27, .62); }
@media (prefers-reduced-motion: reduce) { .isle__svg--prop .mk__pulse { animation: none; opacity: 0; } }
@media (max-width: 1180px) { .lp-loc__map { justify-self: stretch; } }
/* #24 one bordered box (the car line); the plans request and the legal note read as a left rule */
.lp-rule { border: 0; border-left: 2px solid var(--ink); border-radius: 0; background: none; padding: 4px 0 4px 18px; }
.lp-soft.lp-rule { grid-template-columns: minmax(0, 1fr) auto; }
.lp-soft__b { justify-self: start; }
.lp-legal.lp-rule { display: block; }
/* #20 rent terms: a long value goes under its label, left-aligned */
.lp-terms > div.is-long { flex-direction: column; align-items: flex-start; gap: 4px; }
.lp-terms > div.is-long dd { text-align: left; }
/* #14 lightbox: an opaque ground (nothing ghosts through), the counter in the caption's size */
.lb { background: #181411; }
.lb__count { font: 400 14px/1 var(--sans); letter-spacing: .08em; }
/* #10 phone: the payment plan stays one row of three */
@media (max-width: 600px) {
  .pplan { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
  .pplan li { padding: 16px 10px 4px 0; }
  .pplan li + li { padding-left: 12px; }
  .pplan b { font-size: 34px; }
  .pplan span:last-child { font-size: 13px; line-height: 1.35; }
}
/* tablet: the same two columns; the panel facts 2 × 2 (#21) */
@media (max-width: 1180px) and (min-width: 900px) {
  .lp-title__facts { max-width: 50%; font-size: 14px; }
  .lp-title__facts span + span::before { margin: 0 12px; }
  .lp-gal__row .lp-gal__thumbs { grid-auto-columns: 100px; }
  .lp-gal__acts { gap: 16px; }
}
/* phone and narrow tablet: gallery → title → a flat info block (#22) → the bar → sections */
@media (max-width: 899px) {
  .lp { padding-left: 0; padding-right: 0; }
  .lp__grid { grid-template-areas: 'gal' 'title' 'panel' 'body'; }
  .lp-title { padding: 22px var(--pad) 0; margin: 0; border-bottom: 0; }
  .lp-title__h { font-size: clamp(32px, 8.4vw, 44px); margin-top: 10px; }
  .lp-title__facts { display: none; }
  .lp-panel, .lp-panel.is-named { background: none; border: 0; box-shadow: none; padding: 0; margin-top: 0; }
  .lp-panel .lp-panel__price { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
  .lp-reveal--facts { grid-template-rows: 1fr; }
  .lp-gal__row { padding: 0 var(--pad); }
  .lp-gal__row .lp-gal__thumbs { margin: 0 calc(-1 * var(--pad)); padding: 4px var(--pad); grid-auto-columns: 92px; flex: 1 1 auto; }
  .lp-gal__row { flex-wrap: wrap; }
  .lp-gal__acts { width: 100%; justify-content: flex-start; }
}
@media (max-width: 760px) {
  .lp-gal__acts { gap: 18px; }
  .lp-panel__q { justify-content: flex-start; }
  .lp-tabs a { font-size: 11px; letter-spacing: .1em; }
}

/* ── Home frame 2 ── */
/* R5-01: the row never runs into «Сбросить фильтры»: long choices are cut with «…» (full value in the tooltip) and the
   reset wraps onto its own line when the row needs the room */
@media (min-width: 761px) {
  .filters--home { flex-wrap: wrap; row-gap: 6px; }
  .filters--home .filters__row { flex: 1 1 auto; min-width: 0; gap: clamp(16px, 2.6vw, 48px); }
  .filters--home .fb { flex: 0 1 auto; min-width: 0; }
  .filters--home .fb__btn { max-width: 100%; }
  .filters--home .fb__v { min-width: 0; max-width: 11em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .filters--home .filters__reset { flex: 0 0 auto; margin-left: auto; }
}
/* #15 the reset carries a reset mark; a calm focus ring on the triggers */
.fb__btn:focus-visible { outline: 1px solid currentColor; outline-offset: 6px; border-radius: 4px; }
/* #6 «Смотреть все … · N»: a centred outlined button; the count lighter */
.cat__all { justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px 28px; margin-top: clamp(20px, 2vw, 30px); }
.cat__all .cat__all-b { height: 56px; padding: 0 34px; gap: 18px; border: 1px solid rgba(42, 34, 27, .55); border-radius: 4px; font: 600 12.5px/1 var(--sans); letter-spacing: .14em; color: #241D17; transition: background-color .35s var(--ease), color .35s, border-color .35s; }
.cat__all .cat__all-b:hover { background: #2A221B; color: var(--cream); border-color: #2A221B; border-bottom-color: #2A221B; }
.cat__all-n { font-weight: 400; opacity: .7; }
.cat__night { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 500 13.5px/1 var(--sans); color: #241D17; text-decoration: underline; text-decoration-color: rgba(36, 29, 23, .35); text-underline-offset: 5px; }
.cat__night .i--long { width: 22px; height: 12px; }
.cat__night:hover { text-decoration-color: currentColor; }
/* #16 phone sheets: districts in one column, a shorter sheet title */
@media (max-width: 600px) { .dsel__cols { columns: 1; } }
@media (max-width: 760px) {
  .fsh__t { font-size: 28px; }
  .cat__all { flex-direction: column; align-items: stretch; }
  .cat__all .cat__all-b { width: 100%; height: 52px; padding: 0 18px; justify-content: space-between; font-size: 11.5px; letter-spacing: .1em; }
  .cat__night { justify-content: center; }
}

/* ── #17 hero foot: no separator dot, an icon only when the link leaves the site; R5-10 touch targets ── */
.hero__foot { text-shadow: 0 1px 14px rgba(20, 15, 10, .45); }
.hero__svc { gap: 6px 28px; }
.hero__svc a:not(.is-ext) .svc-ico { display: none; }
.hero__svc .svc-ico .i--ext { width: 12px; height: 12px; }
@media (max-width: 760px) {
  .hero__svc { gap: 0; }
  .hero__svc a { min-height: 44px; padding: 12px 0 10px; box-sizing: border-box; }
  .ftr__svc a { display: inline-block; padding: 12px 0; }
  .ftr__svc ul { gap: 0; }
}
/* #18 service tiles: titles on one baseline, balanced lines */
.svx__a { align-items: start; }
.svx__d { text-wrap: balance; }
.svx__i { align-self: center; }

/* #9 the menu photo: Phuket at dusk (palms over an infinity pool) */
.menu__ph img { object-position: 62% 50%; transform: none; }

/* #12 home frame 4: a soft veil lifts the map off the photo's own island */
.loc .isle { position: relative; isolation: isolate; }
.loc .isle::before { content: ''; position: absolute; inset: -6% -16%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(246, 238, 228, .62), rgba(246, 238, 228, .3) 60%, rgba(246, 238, 228, 0)); }

/* #23 frame 6 at tablet width: the e-mail never runs into the photo; the cream half of a split header keeps contrast */
@media (max-width: 1180px) and (min-width: 1024px) {
  .req6 { grid-template-columns: 5vw minmax(0, 36vw) 3vw minmax(0, 20vw) 1fr; }
  .lp-form.req6 { grid-template-columns: var(--pad) minmax(0, 35vw) 3vw minmax(0, 20vw) 1fr; }
  .req6__contacts { min-width: 0; }
  .req6 .crows li { font-size: 13.5px; gap: 12px; white-space: nowrap; }
}
.hdr.is-split .hdr__layer--b.is-cream { text-shadow: 0 1px 10px rgba(20, 15, 10, .35); }
@media (max-width: 899px) { .lp-reveal--name { display: none; } }
@media (max-width: 1180px) { .lp-loc { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 899px) { .lp-loc__map { padding: 20px 12px; } .lp-loc__map .pdist__box { height: auto; width: 100%; max-width: 380px; margin: 0 auto; } }
@media (max-width: 760px) { .lp-gal__act[data-all] { display: none; } .lp-gal__acts:not(:has(a)) { display: none; } }
/* R5-01 at 761–1000 px: «Купить / Арендовать» on its own line, the four menus on the next, so labels are rarely cut */
@media (max-width: 1000px) and (min-width: 761px) {
  .filters--home .filters__row { flex-wrap: wrap; row-gap: 4px; }
  .filters--home .filters__row::before { content: ''; order: 1; flex: 0 0 100%; height: 0; }
  .filters--home .fb { order: 2; }
}
/* #12 the photo's own island slides right, out from under the map's south (the sky is soft, so the extra scale holds) */
@media (min-width: 761px) { .loc__bg img { transform: scale(1.32); transform-origin: 0% 100%; } }
/* R5-08 the map box takes its width from the card (its height follows the viewBox), so an east-coast label stays inside */
.lp-loc { grid-template-columns: minmax(280px, .95fr) minmax(0, 1.05fr); }
.lp-loc__map .pdist__box { height: auto; width: 100%; max-width: 380px; margin: 0 auto; }
@media (max-width: 1180px) { .lp-loc { grid-template-columns: minmax(0, 1fr); } .lp-loc__map .pdist__box { max-width: 360px; } }
@media (min-width: 1181px) { .lp-loc { grid-template-columns: minmax(300px, 1fr) minmax(0, 1fr); } .lp-loc__map .pdist__box { max-width: 400px; } }

/* ══ Round 6 · milk grounds, the search panel, the compact card, soft photo blends (BRIEF-v6-round6.md) ═════════════ */

/* §1 no seam under the hero; the catalog head and its results are one sheet */
main > .hero + section { border-top: 0; }
main > .cat--page + .results { border-top: 0; }

/* §2 frame 2 and the catalog head on milk: ink type, the palm only as a faint shadow at the right edge */
.cat { color: var(--ink); background: var(--milk); text-shadow: none; }
.cat .h-display, .cat .eyebrow { color: var(--ink); text-shadow: none; }
.cat__side .lead, .cat--page .cat__side .lead { color: var(--ink-2); text-shadow: none; }
.cat__bg, .cat--page .cat__bg { background: var(--milk); }
.cat__bg::after { display: none; }
.cat__bg img, .cat--page .cat__bg img {
  opacity: .2; mix-blend-mode: multiply; filter: grayscale(.4) sepia(.3) contrast(.92) brightness(1.05);
  object-position: 30% 0%;
  -webkit-mask-image: linear-gradient(90deg, transparent 38%, rgba(0, 0, 0, .35) 62%, #000 92%), linear-gradient(180deg, #000 0%, #000 55%, transparent 96%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 38%, rgba(0, 0, 0, .35) 62%, #000 92%), linear-gradient(180deg, #000 0%, #000 55%, transparent 96%);
  mask-composite: intersect;
}
.cat--page { background: var(--milk); }
.results { background: var(--milk); }
/* the photo frames' wash belongs to the milk family too: no orange, pink or grey next to a milk neighbour */
.loc__bg img { filter: saturate(.6) sepia(.04); }
.loc__bg::after { background: linear-gradient(180deg, rgba(239, 232, 222, .6) 0%, rgba(239, 232, 222, .44) 48%, rgba(239, 232, 222, .2) 80%, rgba(239, 232, 222, .06) 100%); }
.svc__bg img { filter: saturate(.8); }
.svc__bg::after { background: linear-gradient(90deg, rgba(239, 232, 222, .72), rgba(239, 232, 222, .5) 30%, rgba(239, 232, 222, .12) 52%, rgba(239, 232, 222, 0) 64%); }
.req6__wall { right: 0; filter: saturate(.8); }
.req6__wall::after { background: rgba(239, 232, 222, .74); }
@media (max-width: 760px) { .svc__bg::after { background: linear-gradient(180deg, rgba(239, 232, 222, .3), rgba(239, 232, 222, .55) 60%, rgba(239, 232, 222, .85)); } }
/* boxed form fields and the topic line read on milk */
.lform--boxed .fld input, .lform--boxed .fld textarea, .lform__topic { background: var(--milk-hi); box-shadow: inset 0 0 0 1px var(--milk-line); }
.lform--boxed .fld input:focus, .lform--boxed .fld textarea:focus { background: #FCFAF7; box-shadow: inset 0 0 0 1px var(--milk-line), inset 0 -1px 0 var(--ink); }
/* the empty state on frame 2 */
.hempty { background: var(--milk-hi); -webkit-backdrop-filter: none; backdrop-filter: none; border: 1px solid var(--milk-line); box-shadow: none; }

/* §3 the search panel — one component on home frame 2 and the catalog head */
.fpanel { position: relative; z-index: 5; display: flex; align-items: stretch; padding: 8px; color: var(--ink); text-shadow: none;
  background: var(--milk-hi); border: 1px solid var(--milk-line); border-radius: 6px; box-shadow: 0 24px 46px -38px rgba(60, 40, 22, .5); }
.fpanel--home { margin: clamp(24px, 2.6vw, 38px) calc(5vw - var(--gut)) 0 calc(var(--pad) - var(--gut)); }
.fpanel__deal { flex: none; display: flex; align-self: center; gap: 2px; padding: 3px; border-radius: 5px; box-shadow: inset 0 0 0 1px var(--milk-line); }
.fpanel__deal [role="radio"] { min-height: 46px; padding: 0 clamp(16px, 1.5vw, 22px); border-radius: 3px; font: 600 12px/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--ink); white-space: nowrap; transition: background-color .3s var(--ease), color .3s; }
.fpanel__deal [role="radio"][aria-checked="true"] { background: var(--ink); color: var(--cream); }
.fpanel__deal [role="radio"]:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .fpanel__deal [role="radio"][aria-checked="false"]:hover { background: rgba(31, 27, 23, .06); } }
/* fields: two lines, thin rules between them (the 1 px gaps show the line colour), they wrap — never cut — when room runs out */
.fpanel__fields { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: wrap; gap: 1px; margin-left: 8px; background: var(--milk-line); border-left: 1px solid var(--milk-line); }
.fpanel .fb { position: relative; flex: 1 1 auto; min-width: 0; background: var(--milk-hi); }
.fpanel .fb__btn { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; height: 100%; min-height: 58px; padding: 8px 18px 8px 20px; text-align: left; color: var(--ink); font: inherit; white-space: normal; transition: background-color .25s; }
.fb__t { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fb__k { font: 600 10.5px/1.1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--milk-k); white-space: nowrap; }
.fpanel .fb__v { max-width: none; overflow: visible; text-overflow: clip; font: 500 15.5px/1.2 var(--sans); color: var(--ink); white-space: nowrap; }
.fpanel .fb.is-set .fb__v { font-weight: 600; }
.fpanel .fb__btn .i--chev { flex: none; width: 10px; height: 7px; opacity: .6; }
.fpanel .fb.is-open .fb__btn { background: rgba(31, 27, 23, .05); }
.fpanel .fb__btn:focus-visible { outline: 1px solid var(--ink); outline-offset: -5px; border-radius: 4px; }
@media (hover: hover) and (pointer: fine) { .fpanel .fb__btn:hover { background: rgba(31, 27, 23, .035); } }
.fpanel .fb__pop { left: 0; top: calc(100% + 10px); }
.fpanel .fb--more .fb__btn { gap: 10px; }
.fpanel .fb--more .fb__btn > .i { flex: none; width: 20px; height: 20px; opacity: .7; margin-left: auto; }
.fpanel .fb--more .fcount { flex: none; }
/* «Сбросить» — a quiet text action at the right end, dimmed until something is set */
.fpanel__reset { flex: none; align-self: center; margin: 0 8px 0 16px; padding: 10px 6px; font: 500 14px/1 var(--sans); color: var(--ink-2); text-decoration: underline; text-decoration-color: rgba(31, 27, 23, .3); text-underline-offset: 5px; transition: opacity .3s, color .25s; }
.fpanel__reset:hover { color: var(--ink); text-decoration-color: currentColor; }
.fpanel__reset:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.fpanel__reset.is-off { opacity: .38; pointer-events: none; }
/* catalog: the rent term as text tabs under the panel, scenario chips and applied filters on milk */
.csearch { color: var(--ink); text-shadow: none; }
.csearch .seg--term { display: inline-flex; gap: 26px; margin-top: 16px; padding: 0; border: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.csearch .seg--term[hidden] { display: none; }
.csearch .seg--term [role="radio"] { min-height: 40px; min-width: 0; padding: 0; border-radius: 0; background: none !important; box-shadow: none; text-shadow: none; color: var(--ink-2); font: 500 14px/1 var(--sans); letter-spacing: .01em; text-transform: none; }
.csearch .seg--term [role="radio"][aria-checked="true"] { color: var(--ink); box-shadow: inset 0 -1.5px 0 var(--ink); }
.csearch .seg--term [role="radio"]:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
.cquick { margin-top: 16px; }
.csearch .seg--term:not([hidden]) + .cquick { margin-top: 10px; }
.qchip { border-color: rgba(31, 27, 23, .45); color: var(--ink); background: transparent; }
.qchip__n { color: var(--milk-k); opacity: 1; }
.qchip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); box-shadow: none; }
.qchip[aria-pressed="true"] .qchip__n { color: var(--cream-2); }
.qchip:focus-visible { outline-color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .qchip:hover { border-color: var(--ink); background: rgba(31, 27, 23, .04); } .qchip[aria-pressed="true"]:hover { background: #2B2420; } }
.fchip { background: var(--milk-hi); color: var(--ink); box-shadow: inset 0 0 0 1px var(--milk-line); }
@media (hover: hover) and (pointer: fine) { .fchip:hover { background: #fff; } }
.fchip-all { color: var(--ink); }
/* when the fields don't fit beside the switch (JS: V.fitPanel → .is-stack, typically tablets): the deal switch on its own
   line with «Сбросить» on its right, the fields under it in one full-width row */
@media (min-width: 761px) {
  .fpanel.is-stack { flex-wrap: wrap; padding: 0; }
  .fpanel.is-stack .fpanel__deal { margin: 8px; }
  .fpanel.is-stack .fpanel__reset { margin-left: auto; margin-right: 12px; }
  .fpanel.is-stack .fpanel__fields { order: 3; flex: 1 1 100%; margin: 0; border-left: 0; border-top: 1px solid var(--milk-line); border-radius: 0 0 5px 5px; }
  .fpanel.is-stack .fb:first-child { border-bottom-left-radius: 5px; }
  .fpanel.is-stack .fb:last-child { border-bottom-right-radius: 5px; }
  .fpanel.is-stack .fb__btn { min-height: 62px; }
}
/* phone: deal full width, then a 2 × 2 grid of the same fields («Ещё фильтры» full width), the menus as bottom sheets */
@media (max-width: 760px) {
  .fpanel { flex-direction: column; flex-wrap: nowrap; }
  .fpanel--home { margin: 26px var(--pad) 0; }
  .fpanel__deal { display: grid; grid-template-columns: 1fr 1fr; align-self: stretch; margin: 6px; }
  .fpanel__deal [role="radio"] { min-height: 46px; padding: 0 10px; }
  .fpanel__fields { order: 2; }
  .fpanel .fb { flex: 1 1 calc(50% - 1px); }
  .fpanel .fb--more { flex-basis: 100%; }
  .fpanel .fb__btn { min-height: 64px; padding: 10px 12px 10px 14px; gap: 8px; }
  .fpanel .fb__v { white-space: normal; font-size: 14.5px; line-height: 1.25; }
  .fb__k { font-size: 10px; letter-spacing: .14em; }
  .fpanel__reset { order: 4; align-self: flex-end; margin: 2px 6px 4px; padding: 12px 6px; }
  .fpanel__reset.is-off { display: none; }
  .csearch .seg--term { display: inline-flex; }
  .results__sort { display: flex; }
}

/* §5 the card: one quiet tag line, number, title, «Район · цена», arrow; the gradient only as tall as the info */
.pcard__top { display: block; top: clamp(14px, 1.4vw, 20px); left: clamp(18px, 2.4vw, 34px); right: clamp(18px, 2.4vw, 34px); font: 500 10.5px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(243, 236, 226, .94); text-shadow: 0 1px 10px rgba(0, 0, 0, .45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__top:empty { display: none; }
.pcard::before, .pcards--grid .pcard::before, .pcards--home .pcard::before { background: linear-gradient(180deg, rgba(20, 22, 20, .46) 0%, rgba(20, 22, 20, .12) 12%, rgba(20, 22, 20, 0) 22%, rgba(20, 22, 20, 0) 50%, rgba(20, 22, 20, .46) 70%, rgba(19, 21, 19, .86) 100%); }
.pcard__d { white-space: normal; }
/* «Не нашли свой объект?»: a light milk tile with a line, serif title, one line of text, an arrow ring */
.pcard--fill, .pcards--home .pcard--fill { background: var(--milk-hi); color: var(--ink); border: 1px solid var(--milk-line); box-shadow: none; text-shadow: none; }
.pcard--fill .pcard__k { color: var(--milk-k); }
.pcard--fill .pcard__title { color: var(--ink); }
.pcard--fill .pcard__d { color: var(--ink-2); font-weight: 400; }
.pcard--fill .circ--card { border-color: rgba(31, 27, 23, .45); color: var(--ink); }
.pcard--fill:hover .circ--card, .pcard--fill:focus-visible .circ--card { background: var(--ink); color: var(--cream); border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .pcard--fill:hover { background: #FCFAF7; } }

/* §6 every photo ⇄ text split melts into the milk ground (the frame-5 technique): eased, wide, no visible edge */
@media (min-width: 761px) {
  .req6__ph {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .05) 1.6vw, rgba(0, 0, 0, .22) 4vw, rgba(0, 0, 0, .52) 7vw, rgba(0, 0, 0, .82) 10vw, #000 13vw);
    mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .05) 1.6vw, rgba(0, 0, 0, .22) 4vw, rgba(0, 0, 0, .52) 7vw, rgba(0, 0, 0, .82) 10vw, #000 13vw);
    background: none;
  }
}
@media (max-width: 760px) {
  .req6__ph {
    -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .06) 5vw, rgba(0, 0, 0, .3) 14vw, rgba(0, 0, 0, .7) 26vw, #000 36vw);
    mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .06) 5vw, rgba(0, 0, 0, .3) 14vw, rgba(0, 0, 0, .7) 26vw, #000 36vw);
    background: none;
  }
}
/* popovers and the filter sheet: the panel's lighter milk, so they lift off the ground */
.fb__pop { background: var(--milk-hi); }
.fpsh .drw__panel.fsh, .fpsh .fsh__foot { background: var(--milk-hi); }

/* ══ Round 6b · critique (CRITIQUE-r6.md #n) + QA (functional-v6-r6.md R6-nn) ══════════════════════════════════ */

/* #1 / #8 / R6-05 · the floating header is one solid milk bar with a hairline (the split stays only at rest — JS) */
.hdr.is-float .hdr__layer.is-ink, .page-property .hdr.is-float .hdr__layer.is-ink { background: var(--milk); box-shadow: 0 1px 0 var(--milk-line); }   /* round 8: opaque — at .97 a heading under the bar still showed through */
/* round 8 · QA R8-02: the milk bar comes on at once — a .5 s fade let headings show through the logo while scrolling
   (inner pages and home alike) — and goes off softly, so home's clear frame tops dip instead of blinking (re-check 6;
   a transition is taken from the state entered); the dark bar over the dark frames keeps its own fade */
.hdr__layer.is-ink { transition: background-color .35s var(--ease), box-shadow .35s var(--ease); }   /* the hairline leaves with the band */
.hdr.is-float .hdr__layer.is-ink { transition: none; }

/* #2 · frame 4: the sunset sky calmed into the milk family (b* ≤ 8 across the frame); the wash is even, not top-heavy */
.loc__bg img { filter: saturate(.3) sepia(.02); }
.loc__bg::after { background: linear-gradient(180deg, rgba(239, 232, 222, .52) 0%, rgba(239, 232, 222, .48) 45%, rgba(239, 232, 222, .56) 72%, rgba(239, 232, 222, .6) 100%); }

/* #4 · seams: the light seam only beside a full-bleed photo frame (home 2→4, 4→5, 5→6); milk meets milk on a hairline;
   the catalog request block runs into the footer with no border (its photo fades out at the bottom too) */
main > section + section, .ftr { border-top: 1px solid var(--milk-line); }
main > .hero + section, main > .cat--page + .results { border-top: 0; }
.page-home #locations, .page-home #services, .page-home #contacts { border-top: var(--seam) solid var(--seam-c); }
.page-catalog .ftr { border-top: 0; }
@media (min-width: 761px) {
  .page-catalog .req6__ph {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .05) 1.6vw, rgba(0, 0, 0, .22) 4vw, rgba(0, 0, 0, .52) 7vw, rgba(0, 0, 0, .82) 10vw, #000 13vw), linear-gradient(180deg, #000 0%, #000 72%, rgba(0, 0, 0, .55) 86%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .05) 1.6vw, rgba(0, 0, 0, .22) 4vw, rgba(0, 0, 0, .52) 7vw, rgba(0, 0, 0, .82) 10vw, #000 13vw), linear-gradient(180deg, #000 0%, #000 72%, rgba(0, 0, 0, .55) 86%, transparent 100%);
    mask-composite: intersect;
  }
}
@media (max-width: 760px) {
  .page-catalog .req6__ph {
    -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .06) 5vw, rgba(0, 0, 0, .3) 14vw, rgba(0, 0, 0, .7) 26vw, #000 36vw, #000 72%, rgba(0, 0, 0, .5) 88%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .06) 5vw, rgba(0, 0, 0, .3) 14vw, rgba(0, 0, 0, .7) 26vw, #000 36vw, #000 72%, rgba(0, 0, 0, .5) 88%, transparent 100%);
  }
}
/* #3 · the catalog request photo is a light, warm daytime interior: a gentle grade only */
.req6__ph--light img { object-position: 30% 50%; filter: saturate(.78) sepia(.16) brightness(1.02); }

/* #6 / #14 · cards: shade only where the info sits, a soft lift for the numeral, a lighter shadow on milk */
.pcard::before, .pcards--grid .pcard::before, .pcards--home .pcard::before {
  background: linear-gradient(180deg, rgba(20, 22, 20, .5) 0%, rgba(20, 22, 20, .16) 13%, rgba(20, 22, 20, 0) 24%, rgba(20, 22, 20, 0) 38%, rgba(20, 22, 20, .34) 54%, rgba(20, 22, 20, .66) 74%, rgba(19, 21, 19, .9) 100%);
}
.pcard__n { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.pcard { box-shadow: 0 16px 34px -24px rgba(60, 40, 20, .32); }
.pcard--fill { box-shadow: none; }

/* #9 · «Не нашли свой объект?»: the ring is an outline at rest (filled on hover only); across two slots, two centred columns */
.pcard--fill .circ--card, .pcard--fill:hover .circ--card, .pcard--fill:focus-visible .circ--card { background: transparent; color: var(--ink); border-color: rgba(31, 27, 23, .45); }
@media (hover: hover) and (pointer: fine) { .pcard--fill:hover .circ--card { background: var(--ink); color: var(--cream); border-color: var(--ink); } }
.pcard__aside { display: none; }
@media (min-width: 761px) {
  .pcard--fill-wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 3vw, 48px); padding: clamp(24px, 2.6vw, 40px) clamp(28px, 3.2vw, 52px); }
  .pcard--fill-wide .pcard__body { position: static; }
  .pcard--fill-wide .pcard__body .pcard__d, .pcard--fill-wide .circ--card { display: none; }
  .pcard--fill-wide .pcard__title { font-size: clamp(28px, 2.4vw, 36px); }
  .pcard--fill-wide .pcard__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
  .pcard--fill-wide .pcard__aside .pcard__d { max-width: 26em; margin: 0; font-size: clamp(14px, 1.05vw, 15.5px); line-height: 1.5; color: var(--ink-2); }
  .pcard--fill-wide .pcard__cta { color: var(--ink); }
}

/* the panel */
.fpanel__reset.is-off { visibility: hidden; opacity: 1; }                               /* #10 keeps its width */
.fpanel .fb__v, .fpanel .fb.is-set .fb__v { font-weight: 500; }                         /* #11 no weight jump */
.fpanel .fb__v { color: var(--ink-2); }
.fpanel .fb.is-set .fb__v { color: var(--ink); }
.fb__k { font-size: 11px; letter-spacing: .15em; }
.fpanel .fb__btn:focus-visible { outline: 0; box-shadow: inset 0 0 0 1.5px var(--ink); border-radius: 4px; }   /* #12 */
@media (max-width: 760px) {
  /* #7 / R6-03 · no stray rule; the grid's outer edges line up with the switch box; 360 px fits «Апартаменты» */
  .fpanel__fields { border-left: 0; margin: 0 6px 6px; border-top: 1px solid var(--milk-line); }
  .fpanel .fb__btn { padding: 10px 10px 10px 12px; gap: 6px; }
  .fb__k { font-size: 10.5px; letter-spacing: .14em; }
}

/* #13 · the catalog head and its results are one sheet: no leftover gap between the chips and the results heading */
@media (min-width: 761px) { .cat--page { padding-bottom: clamp(8px, 1vw, 16px); } }
@media (max-width: 760px) { .cat--page { padding-bottom: 8px; } }
.page-catalog .results { padding-top: clamp(28px, 3vw, 48px); }
/* R6-06 · «Сортировка» at ≥ 4.5 : 1 */
.results__sort { color: var(--milk-k); }

/* #15 · frame 6 lead: no forced breaks below 1200 px, balanced lines */
.req6__form .lead { text-wrap: balance; }
@media (max-width: 1199px) { .req6__form .lead br { display: none; } }

/* R6-02 · anchors to the request form land with the heading clear of the header */
#request, #lead { scroll-margin-top: calc(var(--hdr-h) + 24px); }

/* #16 · 404: the olive terrace on the right, melting into the milk like the other splits */
.nf--photo .nf__in { position: relative; z-index: 1; }
.nf__ph { position: absolute; top: 0; right: 0; bottom: 0; width: 44%; margin: 0; z-index: 0; overflow: hidden; }
.nf__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 55%; }
@media (min-width: 761px) {
  .nf--photo .nf__in { max-width: min(760px, 50vw); }
  .nf__ph {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .05) 1.6vw, rgba(0, 0, 0, .22) 4vw, rgba(0, 0, 0, .52) 7vw, rgba(0, 0, 0, .82) 10vw, #000 13vw);
    mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .05) 1.6vw, rgba(0, 0, 0, .22) 4vw, rgba(0, 0, 0, .52) 7vw, rgba(0, 0, 0, .82) 10vw, #000 13vw);
  }
}
@media (max-width: 760px) {
  .nf--photo { flex-direction: column; align-items: stretch; padding-bottom: 0; min-height: 0; }
  .nf--photo .nf__in { padding-top: 40px; }
  .nf__ph { position: relative; width: auto; height: 92vw; margin: 40px calc(-1 * var(--pad)) 0;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .06) 5vw, rgba(0, 0, 0, .3) 14vw, rgba(0, 0, 0, .7) 26vw, #000 36vw);
    mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .06) 5vw, rgba(0, 0, 0, .3) 14vw, rgba(0, 0, 0, .7) 26vw, #000 36vw); }
}
@media (max-width: 760px) { .nf--photo .nf__in { order: 1; } .nf__ph { order: 2; } }

/* Round 6b · the object's own photo is often a night shot: a milk veil lifts its left edge before the mask fades it, so the blend passes through light tones, not a grey haze */
@media (min-width: 761px) {
  .lp-form .req6__ph::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--milk-2) 0, rgba(230, 221, 209, .72) 4vw, rgba(230, 221, 209, .36) 9vw, rgba(230, 221, 209, 0) 16vw); }
}
@media (max-width: 760px) {
  .lp-form .req6__ph::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, var(--milk-2) 0, rgba(230, 221, 209, .72) 10vw, rgba(230, 221, 209, .36) 22vw, rgba(230, 221, 209, 0) 40vw); }
}

/* ══ Round 7 · Builder A ══════════════════════════════════════════════════════════════════════════════════════ */
/* §1 · the card's photos flip — by the mouse across the card (desktop), by an in-card swipe (touch) */
.pcard { container-type: inline-size; }
/* the hover zoom moves to the whole photo stack and goes very quiet, so it never fights the crossfade */
.pcard__media img { transition: none; }
.pcard:hover .pcard__media img { transform: none; }
.pcard__media { transition: transform 1.6s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .pcard:hover .pcard__media { transform: scale(1.02); } }
.pcard__media::after { z-index: 20; }                                     /* the shared grade stays over every photo */
.pcard__media .pcard__ph { position: absolute; inset: 0; opacity: 0; }   /* round 12: an instant swap under the pointer */
.pcard__slide .pcard__ph { transition: opacity .28s var(--ease); }       /* touch: a photo that arrives in its slide fades in */
.pcard__media .pcard__ph.is-on { opacity: 1; }
/* the dashes: one per photo, a hairline row centred along the very bottom — under the info, clear of the ring */
.pcard__dots { position: absolute; left: 50%; bottom: clamp(7px, .62vw, 9px); transform: translateX(-50%); z-index: 1; display: flex; gap: 4px; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease); }
.pcard__dots i { display: block; width: 12px; height: 2px; border-radius: 1px; background: rgba(243, 236, 226, .35); transition: width .28s var(--ease), background-color .28s var(--ease); }
.pcard__dots i.is-on { width: 24px; background: var(--cream); }
@media (hover: hover) and (pointer: fine) { .pcard--flip:hover .pcard__dots { opacity: 1; } }
/* touch: the photo row scrolls inside the card; the overlays let the finger through to it, a tap still opens the object */
.pcard__media--swipe { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.pcard__media--swipe::-webkit-scrollbar { display: none; }
.pcard__media--swipe::after { display: none; }
.pcard__slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; background: var(--card); }
.pcard__slide::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(200, 140, 90, .14), rgba(40, 28, 20, .18)); mix-blend-mode: multiply; }
.pcard--swipe::before, .pcard--swipe .pcard__top, .pcard--swipe .pcard__body, .pcard--swipe .circ--card { pointer-events: none; }
.pcard--swipe .pcard__dots { opacity: 1; }
/* the home phone carousel owns the sideways swipe: its cards keep the cover, no dashes */
@media (max-width: 760px) {
  .pcards--home .pcard__media--swipe { overflow: hidden; }
  .pcards--home .pcard__slide + .pcard__slide, .pcards--home .pcard__dots { display: none; }
  .pcards--home .pcard--swipe::before, .pcards--home .pcard--swipe .pcard__body { pointer-events: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .pcard__media .pcard__ph, .pcard__dots, .pcard__dots i, .pcard__media { transition: none; }
}
/* §2 · a card 320px wide or less drops the middle tag (the build stage, «Также аренда») */
.pcard__top .pcard__ts, .pcard__top .pcard__tl { border: 0; padding: 0; margin: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; }
.pcard__top .pcard__ts { display: none; }
@container (max-width: 320px) {
  .pcard__top .pcard__tl { display: none; }
  .pcard__top .pcard__ts { display: inline; }
}
/* §2 · home frame 2: six smaller cards, 3 × 2 — the same card, scaled down as a whole (number 34 · title 23 · line 13.5 ·
   ring 40 · tag 10 at 1440; 28 · 19 · 12.5 · 36 at 1024) */
@media (min-width: 761px) {
  .cat .pcards--home { row-gap: clamp(14px, 1.53vw, 22px); }
  .pcards--home .pcard { aspect-ratio: 1.6; }
  .pcards--home .pcard__n { font-size: clamp(26px, calc(13.2px + 1.44vw), 38px); }
  .pcards--home .pcard__title { font-size: clamp(18px, calc(9.2px + .96vw), 25px); margin-top: clamp(5px, .55vw, 8px); }
  .pcards--home .pcard__d { font-size: clamp(12.5px, calc(10px + .24vw), 14px); margin-top: 5px; }
  .pcards--home .pcard .circ--card { --cs: clamp(36px, calc(26.2px + .96vw), 42px); }
  .pcards--home .pcard__top { font-size: 10px; }
}
@media (max-width: 1100px) and (min-width: 761px) { .pcards--home .pcard { aspect-ratio: 1.42; } }
/* a quiet dash per slide under the phone carousel */
.hcue { display: none; }
@media (max-width: 760px) {
  .hcue { display: flex; justify-content: center; gap: 5px; margin: 16px var(--pad) 0; }
  .hcue:empty { display: none; }
  .hcue i { display: block; width: 12px; height: 2px; border-radius: 1px; background: rgba(42, 34, 27, .22); transition: width .28s var(--ease), background-color .28s var(--ease); }
  .hcue i.is-on { width: 24px; background: rgba(42, 34, 27, .7); }
}
@media (prefers-reduced-motion: reduce) { .hcue i { transition: none; } }
/* §4 · «Локации» over the client's sunset (sun low on the left, two islands mid-sea, mountains on the right): the photo sits
   bottom-aligned at its own scale, the frame keeps a free lower band where the sun, the islands and the mountains show
   untouched; the milk wash lifts only the dark upper sky behind the heading, the map and the list */
.loc__bg img { filter: saturate(.9) sepia(.05); }
@media (min-width: 761px) {
  .loc { padding-bottom: clamp(120px, 12.4vw, 200px); }
  .loc__bg img { transform: none; object-position: 15% 100%; }
  /* the list's bottom rows meet the mountain ridge: its veil holds to the last row */
  .loc__list::before { inset: -70px -110px -50px -90px; background: rgba(241, 233, 222, .7);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 90px, #000 calc(100% - 110px), transparent 100%), linear-gradient(180deg, transparent 0, #000 70px, #000 calc(100% - 64px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 90px, #000 calc(100% - 110px), transparent 100%), linear-gradient(180deg, transparent 0, #000 70px, #000 calc(100% - 64px), transparent 100%);
    -webkit-mask-composite: source-in; mask-composite: intersect; }
  .loc__bg::after { background: linear-gradient(180deg, rgba(239, 232, 222, .86) 0%, rgba(239, 232, 222, .76) 30%, rgba(239, 232, 222, .52) 52%, rgba(239, 232, 222, .2) 68%, rgba(239, 232, 222, 0) 80%); }
}
/* phone: the photo is a band under the list, at 140 % of the width so the sun, both islands and the first slopes fit;
   its dark upper sky fades out before it reaches the last row */
@media (max-width: 760px) {
  .loc { padding-bottom: 50vw; }
  .loc__bg { top: auto; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent 0, transparent 30%, rgba(0, 0, 0, .55) 42%, #000 56%); mask-image: linear-gradient(180deg, transparent 0, transparent 30%, rgba(0, 0, 0, .55) 42%, #000 56%); }
  .loc__bg img { display: block; width: 140vw; max-width: none; height: auto; margin-left: -6vw; }
  .loc__bg::after { background: none; }
}
/* §6 · catalog segment pages: the trail over the head, the type as sibling tabs with counts, «Также посмотрите» */
.ccrumbs { position: relative; z-index: 1; padding: 0 calc(5vw - var(--gut)) 0 calc(var(--pad) - var(--gut)); margin-bottom: clamp(16px, 1.6vw, 24px); }
.ccrumbs ol { display: flex; flex-wrap: wrap; align-items: center; font: 500 12.5px/1.4 var(--sans); letter-spacing: .02em; color: var(--ink-2); }
.ccrumbs li + li::before { content: '/'; margin: 0 10px; opacity: .5; }
.ccrumbs a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .25s, color .25s; }
.ccrumbs a:hover { color: var(--ink); text-decoration-color: currentColor; }
.ccrumbs a:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.ccrumbs [aria-current] { color: var(--ink); }
.cat--page .eyebrow { margin-bottom: 0; }
.cat--page.is-seg .cat__side .lead { font-size: clamp(14.5px, 1.1vw, 16px); line-height: 1.6; max-width: 34em; }
.ctabs { margin: 0 0 clamp(12px, 1.2vw, 18px); }
.ctabs__l { display: flex; flex-wrap: wrap; gap: 4px clamp(22px, 2.2vw, 34px); }
.ctab { display: inline-flex; align-items: baseline; gap: 7px; min-height: 40px; padding: 10px 0 8px; font: 500 15px/1 var(--sans); letter-spacing: .01em; color: var(--ink-2); box-shadow: inset 0 -1px 0 transparent; transition: color .25s, box-shadow .25s; }
.ctab__n { font-size: 12px; font-weight: 500; color: var(--milk-k); font-variant-numeric: tabular-nums; }
.ctab[aria-current] { color: var(--ink); box-shadow: inset 0 -1.5px 0 var(--ink); }
.ctab.is-zero { color: rgba(31, 27, 23, .42); }
.ctab.is-zero .ctab__n { color: rgba(107, 95, 83, .6); }
.ctab:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { .ctab:hover { color: var(--ink); box-shadow: inset 0 -1px 0 rgba(31, 27, 23, .4); } .ctab[aria-current]:hover { box-shadow: inset 0 -1.5px 0 var(--ink); } }
.also { margin-top: clamp(48px, 5vw, 80px); padding-top: clamp(28px, 3vw, 44px); border-top: 1px solid var(--milk-line); }
.also[hidden] { display: none; }
.also__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; flex-wrap: wrap; }
.also__head .eyebrow { margin-bottom: 10px; }
.also__h { font: 420 clamp(28px, 2.6vw, 38px)/1.1 var(--serif); font-stretch: 87.5%; color: var(--ink); }
.also__h span { color: var(--ink-2); }
.also .cta { color: var(--ink); }
.also .pcards--grid { margin-top: clamp(18px, 2vw, 28px); }
@media (max-width: 760px) {
  .ccrumbs { padding: 0 var(--pad); margin-bottom: 14px; }
  .ctabs { margin: 0 calc(var(--pad) * -1) 12px; }
  .ctabs__l { flex-wrap: nowrap; overflow-x: auto; padding: 0 var(--pad); scrollbar-width: none; gap: 22px; }
  .ctabs__l::-webkit-scrollbar { display: none; }
  .ctabs__l li { flex: none; }
  /* round 8 · critique #7: a soft edge only where more tabs follow (JS: .is-l / .is-r) */
  .ctabs__l.is-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); }
  .ctabs__l.is-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 44px); mask-image: linear-gradient(90deg, transparent, #000 44px); }
  .ctabs__l.is-l.is-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 44px, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, transparent, #000 44px, #000 calc(100% - 44px), transparent); }
  .ctab { min-height: 44px; font-size: 14.5px; }
  .cat--page.is-seg .cat__side .lead { font-size: 14.5px; }
}
/* round 7 · the object page's «Локация» district name links to the district page (Builder B's link): the site's thin underline */
.lp-loc__name a { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: rgba(31, 27, 23, .3); text-underline-offset: .16em; transition: text-decoration-color .25s; }
.lp-loc__name a:hover { text-decoration-color: currentColor; }
.lp-loc__name a:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
/* a segment's five fields + «Ещё фильтры» stay on one line down to ~1000 px: tighter fields, the drawer button keeps its label only */
@media (max-width: 1240px) and (min-width: 761px) {
  .fpanel--cat .fb__btn { padding: 8px 12px 8px 16px; gap: 8px; }
  .fpanel--cat .fb--more .fb__v { display: none; }
  .fpanel--cat .fb--more .fb__btn { min-width: 0; }
  .fpanel--cat .fb__v { font-size: 14.5px; }
}
@media (max-width: 760px) { .cat--page.is-seg .h-display { font-size: clamp(34px, 10.4vw, 44px); line-height: 1.04; } }
/* round 7 follow-up · a quieter catalog head: the trail, a one-line H1 with one short line beside it, then straight to the search */
.cat--page .cat__head { align-items: end; }
.cat--page .cat__side { padding-top: 0; }
.cat--page .cat__side .lead, .cat--page.is-seg .cat__side .lead { font-size: clamp(14.5px, 1.1vw, 16px); line-height: 1.55; max-width: 30em; padding-bottom: .5em; }
.cat--page .cat__head .h-display { margin-top: 0; }
.ccrumbs { margin-bottom: clamp(10px, 1.1vw, 16px); }
@media (min-width: 761px) { .page-catalog .results { padding-top: clamp(18px, 1.8vw, 28px); } }
@media (max-width: 760px) { .cat--page .cat__head { gap: 12px; } .cat--page .cat__side .lead { padding-bottom: 0; } }

/* ══ Round 7 · review fixes (Builder A) ═════════════════════════════════════════════════════════════════════════ */
/* #1 · catalog: ONE control row (deal · the term on rent · type tabs · «Сбросить»), then the fields in one row */
.crow { display: flex; align-items: center; flex-wrap: wrap; gap: 12px clamp(24px, 2.6vw, 40px); margin-bottom: clamp(12px, 1.2vw, 16px); }
.cmode { flex: none; display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 5px; background: var(--milk-hi); box-shadow: inset 0 0 0 1px var(--milk-line); }
.cmode__deal, .cmode__term { display: flex; gap: 2px; }
.cmode__term { margin-left: 3px; padding-left: 5px; border-left: 1px solid var(--milk-line); }
.cmode__term[hidden] { display: none; }
.cmode [role="radio"] { min-height: 34px; padding: 0 16px; border-radius: 3px; font: 600 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); white-space: nowrap; transition: background-color .3s var(--ease), color .3s; }
.cmode [role="radio"][aria-checked="true"] { background: var(--ink); color: var(--cream); }
.cmode__term [role="radio"] { padding: 0 11px; font: 500 13px/1 var(--sans); letter-spacing: .01em; text-transform: none; color: var(--ink-2); }
.cmode__term [role="radio"][aria-checked="true"] { background: rgba(31, 27, 23, .08); color: var(--ink); }
.cmode [role="radio"]:focus-visible { outline: 1px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .cmode [role="radio"][aria-checked="false"]:hover { background: rgba(31, 27, 23, .05); } }
.crow .ctabs { flex: 1 1 auto; min-width: 0; margin: 0; }
.crow__reset { margin: 0 0 0 auto; align-self: center; }
.fpanel--cat { padding: 0; }
.fpanel--cat .fpanel__fields { margin: 0; border-left: 0; border-radius: 5px; overflow: hidden; }
/* round 8: that clip rounds the row's corners — and hid every menu under the results; it lifts while a menu is open,
   and the panel's ring is drawn once more above the fields so the rounded corners stay crisp meanwhile (critique #5) */
.fpanel--cat .fpanel__fields.has-open { overflow: visible; }      /* common.js filterPop sets it — no :has() needed (QA R8-03) */
.fpanel--cat::after { content: ''; position: absolute; inset: -1px; z-index: 1; border: 1px solid var(--milk-line); border-radius: 6px; pointer-events: none; }
/* critique #3 · where the control row cannot hold «Сбросить» beside the tabs, it goes: «Сбросить всё» in the chips row
   under the panel does the same, and the row keeps one line (no empty band above the panel) */
@media (min-width: 761px) and (max-width: 1239px) { .crow__reset { display: none; } }
/* critique N1 · while a menu is open, what lies under it (quick picks, applied filters, the results) fades back as one
   layer — no half-words beside the menu's edge; the menu's button carries the live count (catalog.js · goText); a click
   on the faded page only closes the menu */
.cquick, .cchips, .page-catalog .results { transition: opacity .3s var(--ease); }
.page-catalog:has(.fpanel--cat .fb.is-open) :is(.cquick, .cchips, .results) { opacity: .2; pointer-events: none; }
.fpanel--cat .fb__pop { min-width: 380px; }                         /* «Очистить» + «Показать 10 объектов» on one line */
.fpanel--cat .fb__done { min-width: 224px; padding: 0 20px; letter-spacing: .12em; white-space: nowrap; }
/* re-check 2 · «Нет объектов» is not an action: the button goes quiet and «Очистить» leads */
.fpanel--cat .fb__done.is-zero { background: transparent; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.fpanel--cat .fb__done.is-zero:hover { background: rgba(31, 27, 23, .04); color: var(--ink); }
.fb__foot:has(.fb__done.is-zero) .fb__clear { color: var(--ink); text-decoration-color: currentColor; }
/* QA R8-04 · a list shortened to fit the screen scrolls inside its menu; its foot fades into the menu's milk to say it
   goes on (re-check 7), and the room below the last row lets that row rise clear of the fade at the end of the scroll */
.fb__in.is-capped { overscroll-behavior: contain; padding-bottom: 28px; -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 28px), transparent); }
/* re-check 7 · home's stacked panel (761–1280): equal fields, so ticking a type or a district never shifts the others */
.fpanel--home.is-stack .fpanel__fields > .fb { flex: 1 1 0; min-width: 0; }
/* re-check 7 · inside a scrolling tab row the focus ring is drawn inset — the scroller would clip an outline */
.ctab:focus-visible { outline: 0; box-shadow: inset 0 0 0 1.5px var(--ink); border-radius: 4px; }
/* re-check 4 · a one-line row of fields stays one line while a menu is open (common.js filterPop: `.is-held`) */
.fpanel__fields.is-held { flex-wrap: nowrap; }
/* re-check 3 · 761–1023: the type tabs keep a line of their own and scroll sideways (soft edge where more follow), so
   tabs coming and going never change the row's height — nothing above the results moves when a menu closes */
@media (min-width: 761px) and (max-width: 1023px) {
  .crow .ctabs { flex: 1 1 100%; }
  .ctabs__l { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .ctabs__l::-webkit-scrollbar { display: none; }
  .ctabs__l li { flex: none; }
  .ctabs__l.is-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); }
  .ctabs__l.is-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 44px); mask-image: linear-gradient(90deg, transparent, #000 44px); }
  .ctabs__l.is-l.is-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 44px, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, transparent, #000 44px, #000 calc(100% - 44px), transparent); }
}
/* critique N3 · 761–1279: five or six fields make an even grid, three to a row — never one field alone on a row, and
   long values (several districts, «В течение месяца», «Год и дольше») always fit; from 1280 they share one line */
@media (min-width: 761px) and (max-width: 1279px) {
  .fpanel--cat .fpanel__fields:has(> .fb:nth-child(5 of :not([hidden]))) > .fb:not([hidden]) { flex: 1 1 calc(33.34% - 1px); }
  /* in the grid «Ещё фильтры» has a full cell again: its value line comes back, like its neighbours' (re-check 5) */
  .fpanel--cat .fpanel__fields:has(> .fb:nth-child(5 of :not([hidden]))) > .fb--more .fb__v { display: block; }
}
.fpanel--cat .fb__btn { min-height: 62px; }
.cfilt { display: none; }
@media (max-width: 760px) {
  .crow { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 6px; margin-bottom: 4px; }
  .cmode { display: flex; }
  .cmode__deal { flex: 1 1 auto; }
  .cmode__deal [role="radio"] { flex: 1 1 0; padding: 0 10px; }
  .cmode__term [role="radio"] { padding: 0 9px; }
  /* round 8 · critique #8: on rent the term takes a second line of the same control, the deal keeps its full width */
  .cmode { flex-wrap: wrap; }
  .cmode__term { flex: 1 1 100%; margin: 2px 0 0; padding: 2px 0 0; border-left: 0; border-top: 1px solid var(--milk-line); }
  .cmode__term [role="radio"] { flex: 1 1 0; min-height: 30px; }
  .crow .ctabs { margin: 0 calc(var(--pad) * -1); }
  .crow__reset { display: none; }
  .fpanel--cat, .cquick { display: none !important; }       /* phone: every filter is in the «Фильтры» sheet */
  .cat--page .ccrumbs { display: none; }                      /* the header and the H1 say where you are */
  .page-catalog .results { padding-top: 14px; }
  .results__bar { gap: 8px; }
  .results__h { font-size: 22px; }
  .results__sort { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; }
  .results__sort-l { display: none; }
  .cfilt { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid rgba(42, 34, 27, .4); border-radius: 4px; font: 500 14.5px/1 var(--sans); color: var(--ink); }
  .cfilt .i { width: 18px; height: 18px; }
  .cfilt__n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--ink); color: var(--cream); font: 600 11.5px/1 var(--sans); }
  .cfilt__n[hidden] { display: none; }
  .pcards--grid { margin-top: 14px; }
}
/* #9 · one «see all» button site-wide: centred, outlined, 56 px (52 px and full width on phones). Markup:
   <div class="seeall"><a class="seeall__b" href="…"><span>Смотреть все виллы<span class="seeall__n"> · 4</span></span><svg class="i i--long">…</svg></a></div>
   Section-header links are the small caps text link: <a class="hlink" href="…">Весь каталог <svg class="i i--long">…</svg></a> */
.seeall { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px 28px; margin-top: clamp(24px, 2.6vw, 36px); }
.seeall__b { display: inline-flex; align-items: center; justify-content: center; gap: 18px; height: 56px; padding: 0 34px; border: 1px solid rgba(42, 34, 27, .55); border-radius: 4px; font: 600 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #241D17; transition: background-color .35s var(--ease), color .35s, border-color .35s; }
.seeall__b:hover { background: #2A221B; color: var(--cream); border-color: #2A221B; }
.seeall__b:focus-visible { outline: 1px solid #241D17; outline-offset: 4px; }
.seeall__b .i--long { width: 26px; height: 12px; }
.seeall__n { font-weight: 400; opacity: .7; }
.hlink { display: inline-flex; align-items: center; gap: 12px; padding: 8px 0; font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid rgba(31, 27, 23, .3); transition: border-color .25s; }
.hlink:hover { border-bottom-color: currentColor; }
.hlink:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
.hlink .i--long { width: 22px; height: 12px; }
@media (max-width: 760px) {
  .seeall { flex-direction: column; align-items: stretch; margin-top: 22px; }
  .seeall__b { width: 100%; height: 52px; padding: 0 18px; justify-content: space-between; font-size: 11.5px; letter-spacing: .1em; }
}
.also__head { display: block; }
/* #13 · card tags stay legible on bright skies */
.pcard__top { text-shadow: 0 1px 12px rgba(0, 0, 0, .55); }
.pcard::before, .pcards--grid .pcard::before, .pcards--home .pcard::before {
  background: linear-gradient(180deg, rgba(20, 22, 20, .55) 0%, rgba(20, 22, 20, .2) 13%, rgba(20, 22, 20, 0) 24%, rgba(20, 22, 20, 0) 38%, rgba(20, 22, 20, .34) 54%, rgba(20, 22, 20, .66) 74%, rgba(19, 21, 19, .9) 100%);
}
/* R7-03 · no hover zoom under reduced motion */
@media (prefers-reduced-motion: reduce) { .pcard:hover .pcard__media { transform: none; } }
/* #5 · frame 4: a warm milk haze over the upper sky that ends higher, and the photo pulled up (less dark sky under the
   heading); the lower band, the sun, the islands and the mountains stay clear */
@media (min-width: 761px) {
  .loc__bg { top: -8%; }
  .loc__bg::after { background: linear-gradient(180deg, rgba(244, 232, 215, .97) 0%, rgba(244, 232, 215, .95) 20%, rgba(244, 232, 215, .88) 32%, rgba(244, 232, 215, .52) 43%, rgba(244, 232, 215, .18) 51%, rgba(244, 232, 215, 0) 57%); }
}
/* phone rhythm: the first card's top at ≤ 420 px at 390 × 844 (review #1) */
@media (max-width: 760px) {
  .cat--page.is-seg .h-display, .cat--page .cat__head .h-display { font-size: clamp(27px, 7.7vw, 32px); line-height: 1.08; }
  .cat--page .cat__side .lead, .cat--page.is-seg .cat__side .lead { font-size: 14px; line-height: 1.5; }
  .cat--page .csearch { margin-top: 14px; }
  .cat--page { padding-bottom: 0; }
  .page-catalog .results { padding-top: 12px; }
  .results__h { font-size: 20px; line-height: 1.2; }
  .results__bar { gap: 6px; }
  .pcards--grid { margin-top: 12px; }
}
/* the catalog's request photo: the olive terrace (no object uses it — the dining room was Laguna Apartment's cover) */
.req6__ph--olive img { object-position: 72% 55%; filter: saturate(.9) sepia(.06); }
@media (max-width: 760px) { .req6__ph--olive img { object-position: 70% 60%; } }

/* ══ Round 9 · Builder A ═════════════════════════════════════════════════════════════════════════════════════════ */
/* §5 · a section or heading focused by script (in-page links, «К содержанию», results) never draws a black frame */
[tabindex="-1"]:not(a, button, input, select, textarea, [role="radio"], [role="option"], [role="tab"], [role="dialog"]):focus,
[tabindex="-1"]:not(a, button, input, select, textarea, [role="radio"], [role="option"], [role="tab"], [role="dialog"]):focus-visible,
main:focus, section:focus, footer:focus { outline: none; box-shadow: none; }
/* §6 · the map credit: the smallest compliant form, quiet in the footer's bottom line */
.ftr__osm { opacity: .7; text-decoration: none; }
.ftr__osm:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
/* Round 15 · the photo credits sit on their own page (photos.html), linked here beside the map credit — no captions under the photos */
.ftr__cred { display: inline-flex; flex-wrap: wrap; gap: 6px 22px; }
.legal .credits { list-style: none; padding-left: 0; }
.legal .credits li { padding: 10px 0; border-top: 1px solid rgba(31, 27, 23, .14); font-size: 15.5px; line-height: 1.55; }
.legal .credits li:last-child { border-bottom: 1px solid rgba(31, 27, 23, .14); }
/* §4 · the request window (V.ask): a calm milk card over a soft scrim; a bottom sheet on phones */
.ask { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px; }
.ask[hidden] { display: none; }
.ask:not(.is-open) { pointer-events: none; }
.ask__scrim { position: absolute; inset: 0; background: rgba(31, 24, 18, .5); opacity: 0; transition: opacity .35s var(--ease); }
.ask__panel { position: relative; width: min(560px, 100%); max-height: min(92svh, 860px); display: flex; flex-direction: column; background: var(--milk-hi); color: var(--ink); border-radius: 8px; box-shadow: 0 40px 90px -40px rgba(31, 24, 18, .6); opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .35s var(--ease), transform .45s var(--ease-out); text-shadow: none; }
.ask.is-open .ask__scrim { opacity: 1; }
.ask.is-open .ask__panel { opacity: 1; transform: none; }
.ask__grip { display: none; }
.ask__x { position: absolute; top: 16px; right: 16px; z-index: 2; --cs: 40px; background: var(--milk-hi); }
.ask__x:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.ask__body { overflow-y: auto; overscroll-behavior: contain; padding: clamp(26px, 2.6vw, 36px) clamp(22px, 2.6vw, 36px) clamp(22px, 2.2vw, 30px); }
.ask__k { font: 600 11px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--milk-k); }
.ask__t { font: 420 clamp(26px, 2.2vw, 32px)/1.12 var(--serif); font-stretch: 87.5%; margin: 8px 48px 18px 0; }
.ask__ctx { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 10px; border: 1px solid var(--milk-line); border-radius: 6px; background: var(--milk); }
.ask__ctx img { flex: none; width: 88px; height: 66px; object-fit: cover; border-radius: 4px; filter: saturate(.85) sepia(.06); }
.ask__ctx div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ask__ctx b { font: 420 19px/1.15 var(--serif); font-stretch: 87.5%; }
.ask__ctx span { font-size: 13.5px; color: var(--ink-2); }
.ask__ctx--text { padding: 12px 14px; }
.ask__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.afld { display: flex; flex-direction: column; gap: 6px; }
.afld__l { font: 600 10.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--milk-k); }
.afld input, .afld textarea { width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid var(--milk-line); border-radius: 4px; background: #FDFBF8; font: 400 15px/1.45 var(--sans); color: var(--ink); transition: border-color .25s, box-shadow .25s; }
.afld textarea { min-height: 96px; resize: vertical; }
.afld input:focus, .afld textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.afld.is-bad input, .afld.is-bad textarea { border-color: #9A3B26; box-shadow: 0 0 0 1px #9A3B26; }
.afld--msg { margin-top: 14px; }
.ask__ch { margin: 14px 0 0; padding: 0; border: 0; }
.ask__ch legend { padding: 0; margin-bottom: 8px; font: 600 10.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--milk-k); }
.ask__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.achip { position: relative; }
.achip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.achip span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid rgba(31, 27, 23, .3); border-radius: 18px; font: 500 13.5px/1 var(--sans); color: var(--ink); transition: background-color .2s, color .2s, border-color .2s; }
.achip input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.achip input:focus-visible + span { outline: 1px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .achip input:not(:checked):hover + span { border-color: var(--ink); } }
.ask__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ask__st { min-height: 1.3em; margin: 12px 0 0; font-size: 13.5px; line-height: 1.45; }
.ask__st.is-bad { color: #8F3522; }
.ask__st a { text-decoration: underline; text-underline-offset: 3px; }
.ask__go { margin-top: 8px; }
.ask__f.is-sending .ask__go { opacity: .7; cursor: progress; }
.ask__consent { margin-top: 10px; font-size: 11.5px; line-height: 1.5; color: var(--taupe); }
.ask__consent a { text-decoration: underline; text-underline-offset: 3px; }
.ask__done { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 10px 0 6px; outline: none; }
.ask__done[hidden] { display: none; }
.ask__done-t { font: 420 26px/1.15 var(--serif); font-stretch: 87.5%; margin-top: 6px; }
.ask__done-d { color: var(--ink-2); }
.ask__done .btn { margin-top: 10px; }
@media (max-width: 760px) {
  .ask { padding: 0; place-items: end stretch; }
  .ask__panel { width: 100%; max-height: 92svh; border-radius: 14px 14px 0 0; opacity: 1; transform: translateY(100%); transition: transform .45s var(--ease-out); }
  .ask.is-open .ask__panel { transform: none; }
  .ask__grip { display: block; width: 44px; height: 4px; margin: 10px auto 0; border-radius: 2px; background: rgba(31, 27, 23, .18); }
  .ask__x { top: 12px; right: 12px; --cs: 40px; }
  .ask__body { padding: 14px 20px calc(18px + env(safe-area-inset-bottom)); }
  .ask__t { font-size: 26px; margin-right: 48px; }
  .ask__row { grid-template-columns: 1fr; gap: 10px; }
  .afld input, .afld textarea { font-size: 16px; }   /* no zoom on focus (iOS) */
  .afld textarea { min-height: 84px; }
}
@media (prefers-reduced-motion: reduce) { .ask__panel, .ask__scrim { transition: none; } }
@media (max-width: 760px) { .achip span { min-height: 38px; padding: 0 11px; font-size: 13px; } .ask__chips { gap: 5px; } }
/* round 9 · the «Локации» thumbnails are the vivid CMS district photos: no sunset grade (B removed it on district pages) */
.loc__ph img { filter: none; }
.loc__ph--none { background: var(--milk-2); box-shadow: inset 0 0 0 1px var(--milk-line); }
/* review r9 #1 · no black frame in the request window: a field in focus shows a darker hairline and a faint glow; with the
   keyboard (a Tab inside the window) the ring is a little clearer, still quiet. The window itself takes focus silently. */
.ask__panel:focus { outline: none; }
.afld input:focus, .afld textarea:focus { outline: none; border-color: rgba(31, 27, 23, .45); box-shadow: 0 0 0 3px rgba(31, 27, 23, .06); }
.ask.is-kbd .afld input:focus, .ask.is-kbd .afld textarea:focus { border-color: rgba(31, 27, 23, .7); box-shadow: 0 0 0 3px rgba(31, 27, 23, .1); }
.afld.is-bad input, .afld.is-bad textarea { border-color: #9A3B26; box-shadow: 0 0 0 3px rgba(154, 59, 38, .1); }
/* review r9 #9 · the thank-you keeps the window's height (no dead half on a phone): the check and the text sit centred */
.ask__body { flex: 1 1 auto; display: flex; flex-direction: column; }
.ask__f[hidden] { display: none; }
.ask__done { margin: auto 0; }
.ask__done-o { font-size: 14px; color: var(--ink-2); }

/* ── round 11 · the object page: a structured description, lot type cards, a payment plan that fits any number of steps ── */
/* description (round 16, after the design critic): one column, a clear ladder of sizes —
   section 34 → title 27 → lead 23 → text 16.5 (phone 28 → 23 → 20 → 16); one hairline per section, rows without caps or lines */
.lp-desc { max-width: 720px; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
.lp-desc p { max-width: 640px; }
.lp-desc p + p { margin-top: 12px; }
.lp-lead { font: 400 23px/1.38 var(--serif); font-stretch: 87.5%; letter-spacing: -.005em; color: var(--ink); text-wrap: pretty; }
.lp-desc .lp-lead { max-width: 600px; }
.lp-desc .lp-lead + p { margin-top: 14px; }
.lp-desc .lp-dsec { margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); }
.lp-desc > .lp-dsec:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.lp-dh { font: 450 27px/1.15 var(--serif); font-stretch: 87.5%; letter-spacing: -.006em; color: var(--ink); text-wrap: balance; }
.lp-desc .lp-dh__s { margin-top: 6px; font: 400 15px/1.45 var(--sans); color: var(--milk-k); }
.lp-desc .lp-dsec__b { margin-top: 16px; }
.lp-dsec__b > * + * { margin-top: 12px; }
.lp-dh:focus { outline: none; }
/* rows «Название — текст»: the name on the left in plain case, the text on the right, no lines */
.lp-drows { display: grid; grid-template-columns: 176px minmax(0, 1fr); column-gap: 24px; row-gap: 14px; }
.lp-drows > div { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: baseline; }
.lp-drows dt { font: 500 16px/1.6 var(--sans); color: var(--ink); }
.lp-drows dd { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
/* distances: the place on the left, the distance on the right */
.lp-drows--dist { grid-template-columns: minmax(0, 1fr) auto; max-width: 400px; row-gap: 0; }
.lp-drows--dist > div { padding: 8px 0; border-bottom: 1px solid var(--line); }
.lp-drows--dist > div:last-child { border-bottom: 0; }
.lp-drows--dist dt { font-weight: 400; color: var(--ink-2); }
.lp-drows--dist dd { text-align: right; white-space: nowrap; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
/* a plain list; six or more short lines go in two columns */
.lp-dlist li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.6; }
.lp-dlist li + li { margin-top: 8px; }
.lp-dlist li::before { content: ''; position: absolute; left: 0; top: .8em; width: 12px; height: 1px; background: var(--taupe-2); }
.lp-dlist--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; row-gap: 8px; }
.lp-dlist--2 li + li { margin-top: 0; }
/* «Читать полностью» exists only on a phone */
.lp-desc__more { display: none; }
.lp-desc__more.lp-more__b { flex-direction: column; align-items: flex-start; gap: 4px; text-decoration: none; text-align: left; }
.lp-desc__more-t { display: inline-flex; align-items: center; gap: 8px; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 5px; }
.lp-desc__more-s { font: 400 14px/1.45 var(--sans); color: var(--milk-k); }
@media (max-width: 760px) {
  .lp-desc { font-size: 16px; line-height: 1.6; }
  .lp-lead { font-size: 20px; line-height: 1.4; }
  .lp-desc .lp-lead + p { margin-top: 12px; }
  .lp-desc .lp-dsec { margin-top: 32px; padding-top: 24px; }
  .lp-dh { font-size: 23px; line-height: 1.18; }
  .lp-desc .lp-dh__s { font-size: 14.5px; }
  .lp-desc .lp-dsec__b { margin-top: 12px; }
  /* rows run in: «Кухня — встроенная, с раковиной…» */
  .lp-drows:not(.lp-drows--dist) { display: block; }
  .lp-drows:not(.lp-drows--dist) > div { display: block; }
  .lp-drows:not(.lp-drows--dist) > div + div { margin-top: 14px; }
  .lp-drows:not(.lp-drows--dist) :is(dt, dd) { display: inline; font-size: 16px; line-height: 1.55; }
  .lp-drows:not(.lp-drows--dist) dt { font-weight: 600; }
  .lp-drows:not(.lp-drows--dist) dd::before { content: '\00a0— '; }
  .lp-drows--dist { max-width: none; column-gap: 16px; }
  .lp-dlist--2 { grid-template-columns: 1fr; }
  .lp-desc__more { display: inline-flex; min-height: 44px; margin-top: 18px; }
  .lp-desc__rest:not(.is-open) { display: none; }
}

/* the lots block: the developer / lots / free figures in one row */
.page-property .pkpis { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.page-property .pkpis > div { border-bottom: 0; padding: 0 0 4px; }
.page-property .pkpis dt { font: 600 10.5px/1.2 var(--sans); letter-spacing: .17em; }
.page-property .pkpis dd { font-size: clamp(24px, 2vw, 30px); }

/* lot types as cards: eyebrow «Тип A», the name, area and stock, the price «от» at the foot */
.punits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 18px); margin-top: clamp(22px, 2.2vw, 32px); }
.punit { display: flex; flex-direction: column; padding: clamp(22px, 2vw, 30px) clamp(22px, 2vw, 30px) clamp(20px, 1.8vw, 26px); border-radius: 6px; background: var(--milk-hi); box-shadow: inset 0 0 0 1px var(--milk-line); }
.punit__k { font: 600 10.5px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--milk-k); }
.punit__t { margin-top: 12px; font: 470 clamp(21px, 1.6vw, 24px)/1.22 var(--serif); font-stretch: 87.5%; color: var(--ink); }
.punit__k + .punit__t { margin-top: 10px; }
.punit__t { text-wrap: balance; }
.punits--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.punits--3 .punit { padding-left: clamp(18px, 1.6vw, 24px); padding-right: clamp(18px, 1.6vw, 24px); }
@media (max-width: 1180px) { .punits--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .punits, .punits--3 { grid-template-columns: 1fr; } }
.punit__a { margin-top: 10px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.punit__s { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 13.5px; color: var(--milk-k); }
.punit__s::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #7C8B6A; }
.punit__p { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font: 400 clamp(26px, 2.1vw, 31px)/1.1 var(--serif); font-stretch: 87.5%; color: var(--ink); }
.punit__p::before { content: ''; flex: 0 0 100%; height: 1px; margin-bottom: 18px; background: var(--milk-line); }
.punit__p small { font: 500 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--milk-k); }
.punit__p span { flex: 0 0 100%; font: 400 13px/1.3 var(--sans); color: var(--milk-k); }

/* payment plan: one bar in proportion to the instalments, then the steps in two columns, top to bottom */
.pplan2__bar { display: flex; gap: 2px; height: 38px; border-radius: 4px; overflow: hidden; }
.pplan2__bar span { display: flex; align-items: center; justify-content: center; min-width: 0; font: 500 12px/1 var(--sans); letter-spacing: .04em; color: var(--cream); background: color-mix(in oklab, #2C241D calc((1 - var(--k, 0)) * 100%), #CBB9A2); }
.pplan2__bar span.is-lt { color: var(--ink); }
.pplan2__l { display: grid; grid-auto-flow: column; grid-template-rows: repeat(var(--rows, 4), auto); grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); margin-top: clamp(16px, 1.6vw, 22px); }
.pplan2__l li { display: grid; grid-template-columns: 2.2em 3.4em minmax(0, 1fr); align-items: baseline; column-gap: 10px; padding: 13px 0 14px; border-bottom: 1px solid var(--line); }
.pplan2__n { font: 500 11px/1 var(--sans); letter-spacing: .14em; color: var(--taupe); }
.pplan2__l b { font: 400 clamp(24px, 1.9vw, 28px)/1 var(--serif); font-stretch: 87.5%; color: var(--ink); }
.pplan2__t { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.lp-sec--lots .lp-sub { margin-top: clamp(36px, 3.2vw, 48px); }

/* a narrow main column (tablet): the steps go in one column */
@media (max-width: 1180px) {
  .pplan2__l { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .page-property .pkpis { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 18px; } /* round 16: four figures in one row widened the page */
  .page-property .pkpis > div { min-width: 0; }
  .page-property .pkpis dd { font-size: 20px; }
  .pplan2__bar { height: 30px; }
  .pplan2__bar span { font-size: 11px; }
  .pplan2__l { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: 1fr; }
  .pplan2__l li { grid-template-columns: 2em 3.2em minmax(0, 1fr); padding: 12px 0; }
}
.lp-sec--lots > .cta--sm { margin-top: clamp(24px, 2.2vw, 32px); }
/* round 11 · a special offer over the price in the panel: a small label and the condition in one quiet line */
.lp-offer { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-bottom: 14px; }
.lp-offer__k { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 3px; background: var(--ink); color: var(--cream); font: 600 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.lp-offer__t { font-size: 14px; line-height: 1.4; color: var(--ink); }
/* review r11 · up to four payment steps sit in one row under the bar (it reads left to right); a range never splits */
.pplan2__l.is-row { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
.pplan2__l.is-row li { grid-template-columns: 2.2em minmax(0, 1fr); grid-template-rows: auto auto; row-gap: 6px; }
.pplan2__l.is-row .pplan2__t { grid-column: 2; }
.nw { white-space: nowrap; }
@media (max-width: 760px) {
  .pplan2__l.is-row { grid-template-columns: 1fr; }
  .pplan2__l.is-row li { grid-template-columns: 2em 3.2em minmax(0, 1fr); grid-template-rows: none; }
  .pplan2__l.is-row .pplan2__t { grid-column: auto; }
}
/* round 12 · an empty home section (no filters chosen): one quiet line under the title */
.hempty__d { margin-top: 8px; max-width: 34em; text-align: center; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* ══ Round 13 — Frame 6 «Архитектура» (the client picked it on 7 Nov 2026; the «Шёлк» variant is gone) ══════════════
   the gold button */
.reqa .lform .btn { background: linear-gradient(100deg, #B4884C 0%, #D6B47B 40%, #C79E62 68%, #A97C43 100%); color: #2A1E12; border-radius: 6px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), 0 10px 24px -14px rgba(90, 58, 24, .55); letter-spacing: .2em; transition: filter .35s var(--ease), transform .35s var(--ease-out); }
.reqa .lform .btn:hover { filter: brightness(1.06) saturate(1.05); }
.reqa .lform .btn:focus-visible { outline: 2px solid #2A1E12; outline-offset: 3px; }
.reqa .lform { margin-top: 0; max-width: none; }

/* ── Вариант 2 «Архитектура»: the curved plaster wall; text on the calm left of the wall, an arched plaster card over the slats */
.reqa { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: var(--pad) minmax(0, 34vw) 1fr minmax(0, 29vw) calc(var(--pad-r) + 2vw); grid-template-areas: '. txt . card .'; align-items: center; min-height: clamp(660px, 52vw, 1000px); padding: calc(var(--hdr-h) + 24px) 0 clamp(36px, 4vw, 64px); background: #6E4B36; color: var(--cream); }
.reqa__bg { position: absolute; inset: 0; z-index: -2; margin: 0; }
/* a soft dusk along the top edge: the cream header stays legible over the light wall on the right */
.reqa::before { content: ''; position: absolute; z-index: -1; inset: 0 0 auto; height: clamp(150px, 13vw, 240px); pointer-events: none; background: radial-gradient(42% 120% at 100% 0, rgba(38, 22, 12, .42), rgba(38, 22, 12, 0)), linear-gradient(180deg, rgba(38, 22, 12, .46), rgba(38, 22, 12, .2) 55%, rgba(38, 22, 12, 0)); }
.reqa__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.reqa__txt { grid-area: txt; position: relative; }
.reqa__txt::before { content: ''; position: absolute; z-index: -1; inset: -14% -24% -16% -32%; pointer-events: none; background: radial-gradient(closest-side, rgba(36, 20, 10, .34), rgba(36, 20, 10, .16) 64%, rgba(36, 20, 10, 0)); }
.reqa .eyebrow, .reqa .h-display, .reqa .lead { text-shadow: 0 1px 22px rgba(30, 16, 8, .38); }
.reqa .h-display { --fs-h: clamp(40px, 4.3vw, 84px); color: var(--cream); font-weight: 440; line-height: 1.04; margin-top: clamp(14px, 1.5vw, 26px); }
.reqa .lead { margin-top: clamp(14px, 1.5vw, 24px); max-width: 26em; color: rgba(243, 236, 226, .92); font-weight: 500; font-size: clamp(14px, 1.18vw, 20px); line-height: 1.55; }
.reqa__ct { margin-top: clamp(26px, 3vw, 54px); }
.reqa .crows { margin: 0; gap: clamp(12px, 1.3vw, 22px); }
.reqa .crows li { color: var(--cream); font-size: clamp(14px, 1.2vw, 21px); font-weight: 500; gap: clamp(12px, 1.2vw, 20px); }
.reqa .crows__i { width: 22px; color: var(--cream); }
.reqa .cmsg { gap: 6px 10px; margin-top: clamp(16px, 1.8vw, 28px); font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--cream); }
.reqa .cmsg a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(243, 236, 226, .45); }
.reqa__card { --fh: clamp(46px, 3.7vw, 70px); grid-area: card; position: relative; padding: clamp(104px, 9.4vw, 180px) clamp(22px, 2.5vw, 46px) clamp(20px, 2vw, 36px); border-radius: 50% 50% 8px 8px / clamp(96px, 9.4vw, 180px) clamp(96px, 9.4vw, 180px) 8px 8px; background: linear-gradient(180deg, rgba(247, 239, 229, .94), rgba(241, 230, 216, .92)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 2.4vw 5vw -1.6vw rgba(70, 40, 16, .45), inset 0 0 0 1px rgba(255, 255, 255, .5); }
.reqa__k { position: absolute; left: 0; right: 0; top: clamp(36px, 3.5vw, 66px); margin: 0; text-align: center; font: 600 clamp(10.5px, .82vw, 15px)/1.7 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: #6B5A49; }
.reqa__k::after { content: ''; display: block; width: 36px; height: 1px; margin: 12px auto 0; background: rgba(107, 90, 73, .5); }
.reqa .lform__fields { gap: clamp(8px, .7vw, 14px); }
.reqa .fld { padding-top: 0; }
.reqa .fld input, .reqa .fld textarea { height: var(--fh); padding: 0 clamp(14px, 1.2vw, 22px); border: 1px solid rgba(42, 34, 27, .12); border-radius: 4px; background: rgba(253, 250, 245, .9); font-size: clamp(14px, 1.1vw, 20px); color: #1F1913; box-shadow: none; transition: border-color .3s, background-color .3s; }
.reqa .fld textarea { min-height: var(--fh); padding-top: calc((var(--fh) - 1.5em) / 2); padding-bottom: 8px; line-height: 1.5; }
.reqa .fld input:focus, .reqa .fld textarea:focus { border-color: rgba(31, 25, 19, .55); background: #FFFDF9; box-shadow: none; }
.reqa .fld label { left: clamp(14px, 1.2vw, 22px); top: calc(var(--fh) / 2); transform: translateY(-50%); color: #7A6A5B; font-size: clamp(14px, 1.1vw, 20px); }
.reqa .fld--area label { top: calc(var(--fh) / 2); }
.reqa .fld.is-bad input, .reqa .fld.is-bad textarea { border-color: #9A3B26; box-shadow: inset 0 -2px 0 #9A3B26; }
.reqa .lform .btn { width: 100%; min-height: 0; height: clamp(50px, 4vw, 80px); margin-top: clamp(18px, 1.7vw, 30px); font-size: clamp(12px, .95vw, 18px); }
.reqa .lform__consent { margin-top: 12px; font-size: clamp(10.5px, .78vw, 14px); line-height: 1.45; color: #6B5A49; text-align: center; }
.reqa .lform__done { align-items: center; text-align: center; }
@media (max-width: 1180px) and (min-width: 761px) {
  .reqa { grid-template-columns: var(--pad) minmax(0, 38vw) 1fr minmax(0, 36vw) var(--pad-r); }
}
@media (max-width: 1023px) and (min-width: 761px) {
  .reqa { grid-template-columns: var(--pad) minmax(0, 1fr) var(--pad); grid-template-areas: '. txt .' '. card .'; row-gap: 44px; align-items: start; padding-bottom: 56px; }
  .reqa__card { width: min(100%, 520px); justify-self: end; }
  .reqa__bg img { object-position: 38% 50%; }
}
@media (max-width: 760px) {
  .reqa { display: flex; flex-direction: column; min-height: 0; padding: calc(var(--hdr-h) + 36px) var(--pad) 44px; }
  .reqa__bg img { object-position: 40% 50%; }
  .reqa__txt::before { inset: -8% -18% -6% -22%; }
  .reqa .h-display { --fs-h: clamp(36px, 10.6vw, 46px); }
  .reqa .lead { font-size: 15px; }
  .reqa__ct { margin-top: 26px; }
  .reqa .crows li { font-size: 16px; gap: 14px; }
  .reqa__card { --fh: 52px; margin-top: 36px; padding: 92px 18px 18px; border-radius: 50% 50% 8px 8px / 88px 88px 8px 8px; }
  .reqa__k { top: 30px; font-size: 10.5px; }
  .reqa .fld input, .reqa .fld textarea { font-size: 16px; }
  .reqa .fld label { font-size: 15px; }
  .reqa .lform .btn { height: 56px; font-size: 13px; }
}

/* ══ Round 17 · full-screen frames (the client, 8 Nov 2026: «экран не на всю страницу») ══════════════════════════════
   «Локации» and «Услуги» fill the window, not the 2.27:1 frame of the ТЗ sheet, and the light seams between frames are gone */
.page-home #locations, .page-home #services, .page-home #contacts { border-top: 0; }
@media (min-width: 761px) {
  .loc, .svc { min-height: max(var(--frame-h), 100svh); justify-content: center; }
}

/* ══ Round 18 · readable figures (the client, 8 Nov 2026: «каша… плохой шрифт… сама сумма — сделай нормальный, чтобы это
   читалось»; the payment plan bar was the one part that read well) ══════════════════════════════════════════════════
   On the object page every figure, price and data name is set like that bar: Montserrat, lining tabular digits, firm
   weights and full-contrast ink. The condensed display serif stays for the page title and the section headings only. */
.page-property { --num: lining-nums proportional-nums; }
/* the panel price */
.page-property .lp-price { font: 600 clamp(26px, 2.05vw, 31px)/1.15 var(--sans); font-stretch: normal; letter-spacing: -.012em; font-variant-numeric: var(--num); }
.page-property .lp-price--req { font-size: 22px; letter-spacing: -.005em; }
.page-property .lp-price small { font: 500 15px/1 var(--sans); letter-spacing: 0; color: var(--ink-2); }
.page-property .lp-price__sub { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); font-variant-numeric: var(--num); }
/* the description lead: the first sentence in the text face, a step larger and full ink */
.page-property .lp-lead { font: 500 19px/1.55 var(--sans); font-stretch: normal; letter-spacing: -.004em; color: var(--ink); }
.page-property .lp-drows dd, .page-property .lp-desc { font-variant-numeric: var(--num); }
/* the lots row: developer · lots · free · stage */
.page-property .lp-sec .pkpis { padding-bottom: clamp(20px, 1.8vw, 26px); border-bottom: 1px solid var(--line); }
.page-property .lp-sec .pkpis dt { font: 600 11px/1.2 var(--sans); letter-spacing: .16em; color: var(--taupe); }
.page-property .lp-sec .pkpis dd { margin-top: 10px; font: 600 clamp(19px, 1.5vw, 22px)/1.25 var(--sans); font-stretch: normal; letter-spacing: -.008em; color: var(--ink); font-variant-numeric: var(--num); }
/* lot cards: the name, the facts, a rule, the price — one face, three clear steps */
.page-property .punit { box-shadow: inset 0 0 0 1px var(--line); }
.page-property .punit__t { margin-top: 0; font: 600 18px/1.3 var(--sans); font-stretch: normal; letter-spacing: -.006em; color: var(--ink); }
.page-property .punit__k + .punit__t { margin-top: 10px; }
.page-property .punit__a { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--ink-2); font-variant-numeric: var(--num); }
.page-property .punit__s { margin-top: 6px; font-size: 14px; color: var(--ink-2); font-variant-numeric: var(--num); }
.page-property .punit__p { padding-top: 20px; gap: 6px 8px; font: 600 clamp(21px, 1.6vw, 24px)/1.15 var(--sans); font-stretch: normal; letter-spacing: -.012em; color: var(--ink); font-variant-numeric: var(--num); }
.page-property .punit__p::before { margin-bottom: 16px; background: var(--line); }
.page-property .punit__p small { font: 500 14px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.page-property .punit__p span { font: 500 14px/1.3 var(--sans); letter-spacing: 0; color: var(--taupe); }
/* the payment plan steps: the share in the same face as the bar */
.page-property .pplan2__l b { font: 600 clamp(19px, 1.45vw, 21px)/1 var(--sans); font-stretch: normal; letter-spacing: -.01em; font-variant-numeric: var(--num); }
.page-property .pplan2__t { font-size: 15px; color: var(--ink-2); }
/* documents: the form of ownership as a firm label, not a display word */
.page-property .lp-own dt { font: 600 16px/1.5 var(--sans); font-stretch: normal; color: var(--ink); }
.page-property .lp-own dd { font-size: 15.5px; color: var(--ink-2); }
.page-property .lp-specs dd, .page-property .lp-dist dd, .page-property .lp-terms dd { font-variant-numeric: var(--num); }
@media (max-width: 760px) {
  .page-property .lp-price { font-size: 26px; }
  .page-property .lp-lead { font-size: 18px; line-height: 1.5; }
  .page-property .lp-sec .pkpis dd { font-size: 18px; margin-top: 8px; }
  .page-property .punit__t { font-size: 17px; }
  .page-property .punit__p { font-size: 22px; }
}
/* round 18 · critic pass: the lots row steps back from the lot prices; «План платежей» stands as a heading over its bar */
.page-property .lp-sec .pkpis dd { font-weight: 500; font-size: clamp(17px, 1.3vw, 19px); text-wrap: balance; }
.page-property .lp-sub { font: 500 clamp(24px, 1.9vw, 27px)/1.15 var(--serif); font-stretch: 87.5%; letter-spacing: -.006em; }
@media (max-width: 760px) { .page-property .lp-sec .pkpis dd { font-size: 17px; } .page-property .lp-sub { font-size: 23px; } }

/* ══ Round 19 · «Подберём идеальный объект» fills the window too (the client, 8 Nov 2026): its height followed the window's
   width (up to 1000 px), so on a tall window it fell short and on a short one it ran past; side by side it is one screen ══ */
@media (min-width: 1024px) {
  .page-home .reqa { min-height: max(640px, 100svh); }
}

/* ══ Round 20 · the home catalog is one screen too (the client, 8 Nov 2026): one row of three cards (home.js), the frame
   fills the window, and on a short laptop window the cards give up height before the frame runs past the window ══ */
@media (min-width: 761px) {
  .page-home .cat:not(.cat--page) { min-height: max(640px, 100svh); justify-content: center; }
  .page-home .pcards--home .pcard { max-height: max(210px, calc(100svh - 560px)); }
}

/* ══ Round 21 · «Персональная подборка» on the client's dusk-sea photo (a frangipani on a stone, 8 Nov 2026), and the
   footer in the same dusk blue (the photo's sky, #373F4D): the overlays turn from brown to blue-grey, the footer from milk
   to dusk with cream type ══════════════════════════════════════════════════════════════════════════════════════════ */
:root { --dusk: #363D4A; --dusk-ink: #F1EAE0; --dusk-2: rgba(241, 234, 224, .7); --dusk-line: rgba(241, 234, 224, .18); }
.reqa { background: var(--dusk); }
.reqa__bg img { object-position: 28% 60%; }
.reqa::before { background: radial-gradient(42% 120% at 100% 0, rgba(22, 26, 36, .38), rgba(22, 26, 36, 0)), linear-gradient(180deg, rgba(22, 26, 36, .4), rgba(22, 26, 36, .14) 55%, rgba(22, 26, 36, 0)); }
.reqa__txt::before { background: radial-gradient(closest-side, rgba(22, 26, 36, .36), rgba(22, 26, 36, .16) 64%, rgba(22, 26, 36, 0)); }
.reqa .eyebrow, .reqa .h-display, .reqa .lead { text-shadow: 0 1px 22px rgba(14, 18, 28, .42); }

.ftr { background: var(--dusk); color: var(--dusk-ink); }
main > section + section.reqa, .ftr, .page-home .ftr { border-top: 0; }
.ftr__lead { color: rgba(241, 234, 224, .84); }
.ftr__h, .ftr .muted, .ftr__legal { color: rgba(241, 234, 224, .6); }
.ftr__stats li { border-left-color: var(--dusk-line); }
.ftr__stats span { color: var(--dusk-2); }
.ftr .ftr__stats { border-top-color: var(--dusk-line); }
.ftr__bottom { border-top-color: var(--dusk-line); color: var(--dusk-2); }
.ftr a:focus-visible { outline-color: var(--dusk-ink); }

/* ══ Round 22 · «Локации Пхукета» (the client's mockup, 8 Nov 2026): the bay at dusk; the title, a hairline and an italic line
   on the left; the districts north → south on a gold arc on the right (home.js sets each row's --x on one circle and draws
   the line through the dots). The earlier screen (the .loc rules above) lives on as locations-classic.html ════════════ */
.lca { --lca-gold: #E8C27E; --lca-ink: #F3ECE2; position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: var(--pad) minmax(0, 1fr) minmax(0, 25vw) calc(var(--pad-r) + 1.5vw); grid-template-areas: '. txt arc .'; align-items: center; min-height: max(640px, 100svh); padding: var(--hdr-h) 0 clamp(36px, 6vh, 72px); background: #2F3542; color: var(--lca-ink); }
.lca__bg { position: absolute; inset: 0; z-index: -2; }
.lca__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* dusk behind the title, a little night under the cream header, a soft shade behind the names */
.lca::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  linear-gradient(90deg, rgba(20, 24, 34, .5) 0%, rgba(20, 24, 34, .2) 34%, rgba(20, 24, 34, 0) 52%),
  linear-gradient(180deg, rgba(20, 24, 34, .42) 0%, rgba(20, 24, 34, 0) 22%),
  radial-gradient(34% 58% at 82% 52%, rgba(16, 20, 30, .34), rgba(16, 20, 30, 0)); }
.lca__text { grid-area: txt; margin-top: -4vh; }
.lca__title { margin: 0; font: 300 clamp(44px, 5.9vw, 104px)/1.02 var(--serif); font-stretch: 87.5%; text-transform: uppercase; letter-spacing: .035em; color: var(--lca-ink); text-shadow: 0 2px 28px rgba(12, 16, 26, .35); }
.lca__rule { display: block; width: clamp(56px, 6vw, 96px); height: 1px; margin: clamp(26px, 3.4vw, 50px) 0 clamp(22px, 2.6vw, 38px); background: rgba(243, 236, 226, .62); }
.lca__sub { margin: 0; font: italic 400 clamp(18px, 1.75vw, 28px)/1.42 var(--serif); color: rgba(243, 236, 226, .9); text-shadow: 0 1px 18px rgba(12, 16, 26, .45); }

.lca__arc { grid-area: arc; position: relative; --row: clamp(38px, 6.3svh, 62px); }
.lca__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; filter: drop-shadow(0 0 4px rgba(235, 200, 140, .45)); }
.lca__path { fill: none; stroke: url(#lca-g); stroke-width: 1.3; stroke-linecap: round; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 1.9s var(--ease) .3s; }
.lca__arc.is-in .lca__path { stroke-dashoffset: 0; }
.lca__list { position: relative; list-style: none; margin: 0; padding: 0; }
.lca__list li { height: var(--row); display: flex; align-items: center; transform: translateX(var(--x, 0px)); }
.lca__list a { display: inline-flex; align-items: center; gap: clamp(18px, 2.3vw, 36px); padding: 6px 0; color: rgba(243, 236, 226, .92); font: 500 clamp(12.5px, 1.08vw, 17px)/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; text-shadow: 0 1px 14px rgba(10, 14, 24, .75); transition: color .35s; }
.lca__dot { position: relative; flex: none; width: 9px; height: 9px; border-radius: 50%; background: #F7F0E5; box-shadow: 0 0 0 3px rgba(20, 24, 34, .42), 0 0 8px rgba(247, 240, 229, .55); transition: background .35s, box-shadow .35s, transform .35s; }
.lca__go { display: inline-flex; width: 26px; margin-left: -10px; opacity: 0; transform: translateX(-6px); transition: opacity .35s, transform .45s var(--ease-out); }
.lca__go .i--long { width: 26px; height: 10px; }
.lca__list li.is-on a { color: var(--lca-gold); }
.lca__list li.is-on .lca__dot { background: var(--lca-gold); transform: scale(1.3); box-shadow: 0 0 0 3px rgba(20, 24, 34, .3), 0 0 14px 3px rgba(235, 190, 110, .7); }
.lca__list li.is-on .lca__go { opacity: 1; transform: none; }
.lca__list a:focus-visible { outline: 1px solid var(--lca-gold); outline-offset: 6px; }
@media (prefers-reduced-motion: reduce) { .lca__path { transition: none; stroke-dashoffset: 0; } }
.page-home .lca { border-top: 0; }

@media (min-width: 761px) and (max-width: 1023px) {
  .lca { grid-template-columns: var(--pad) minmax(0, 1fr) minmax(0, 34vw) var(--pad-r); }
}
@media (max-width: 760px) {
  .lca { grid-template-columns: var(--pad) minmax(0, 1fr) var(--pad); grid-template-areas: '. txt .' '. arc .'; grid-template-rows: auto 1fr; align-items: start; min-height: max(640px, 100svh); padding: calc(var(--hdr-h) + 18px) 0 44px; }
  .lca::before { background:
    linear-gradient(180deg, rgba(20, 24, 34, .55) 0%, rgba(20, 24, 34, .12) 40%, rgba(20, 24, 34, .1) 55%, rgba(20, 24, 34, .55) 100%); }
  .lca__bg img { object-position: 46% 50%; }
  .lca__text { margin-top: 0; }
  .lca__title { font-size: clamp(40px, 12.2vw, 58px); }
  .lca__rule { margin: 22px 0 18px; }
  .lca__arc { justify-self: end; align-self: end; width: min(60vw, 250px); margin-top: 28px; --row: clamp(34px, 5.1svh, 44px); }
  .lca__list a { font-size: 12.5px; letter-spacing: .16em; gap: 16px; }
}

/* ══ Round 23 · the request card as dusk glass (the client, 8 Nov 2026: the light plaster arch looked foreign on the sea at
   dusk — «неконгруэнтно, скучно»; their reference: a dark frosted pane, dark fields, the gold button). The arch goes; a gold
   glint on the top edge echoes the arc of districts and the dusk footer ═══════════════════════════════════════════════ */
.reqa__card { --fh: clamp(48px, 3.5vw, 64px); --g-ink: #F3ECE2; --g-gold: #E8C27E; padding: clamp(30px, 2.8vw, 52px) clamp(24px, 2.4vw, 44px) clamp(22px, 2vw, 36px); border-radius: 10px; color: var(--g-ink);
  background: linear-gradient(155deg, rgba(255, 255, 255, .13) 0%, rgba(255, 255, 255, .04) 38%, rgba(255, 255, 255, .02) 62%, rgba(255, 236, 210, .07) 100%), rgba(26, 30, 42, .46);
  -webkit-backdrop-filter: blur(18px) saturate(1.25); backdrop-filter: blur(18px) saturate(1.25);
  border: 1px solid rgba(243, 236, 226, .2); box-shadow: 0 40px 80px -40px rgba(6, 8, 16, .7), inset 0 1px 0 rgba(255, 255, 255, .14); }
.reqa__card::before { content: ''; position: absolute; left: 12%; right: 12%; top: -1px; height: 1px; pointer-events: none; background: linear-gradient(90deg, rgba(232, 194, 126, 0), rgba(232, 194, 126, .9) 50%, rgba(232, 194, 126, 0)); box-shadow: 0 0 10px rgba(232, 194, 126, .5); }
.reqa__k { position: static; margin: 0 0 clamp(22px, 2vw, 34px); color: rgba(243, 236, 226, .86); }
.reqa__k::after { width: 44px; margin-top: 14px; background: linear-gradient(90deg, rgba(232, 194, 126, 0), var(--g-gold), rgba(232, 194, 126, 0)); }

.reqa .fld input, .reqa .fld textarea { border: 1px solid rgba(243, 236, 226, .15); border-radius: 6px; background: rgba(12, 15, 24, .34); color: var(--g-ink); caret-color: var(--g-gold); }
.reqa .fld input:hover, .reqa .fld textarea:hover { border-color: rgba(243, 236, 226, .28); }
.reqa .fld input:focus, .reqa .fld textarea:focus { border-color: rgba(232, 194, 126, .72); background: rgba(12, 15, 24, .5); box-shadow: 0 0 0 3px rgba(232, 194, 126, .13); }
.reqa .fld label { color: rgba(243, 236, 226, .62); }
.reqa .fld__hint { color: rgba(243, 236, 226, .5); }
.reqa .fld.is-bad input, .reqa .fld.is-bad textarea { border-color: #E39A82; box-shadow: 0 0 0 3px rgba(227, 154, 130, .15); }
.reqa .fld.is-bad label { color: #F2B6A3; }
.reqa .fld input:-webkit-autofill, .reqa .fld input:-webkit-autofill:hover, .reqa .fld input:-webkit-autofill:focus { -webkit-text-fill-color: var(--g-ink); -webkit-box-shadow: 0 0 0 1000px #272C38 inset; transition: background-color 9999s; }

.reqa .lform .btn { border-radius: 6px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 16px 32px -16px rgba(214, 160, 80, .55); }
.reqa .lform .btn:focus-visible { outline: 2px solid var(--g-gold); outline-offset: 3px; }
.reqa .lform__consent { color: rgba(243, 236, 226, .58); }
.reqa .lform__consent a { color: rgba(243, 236, 226, .88); text-decoration-color: rgba(243, 236, 226, .4); }
.reqa .lform__status { color: var(--g-ink); }
.reqa .lform.is-error .lform__status { color: #F2B6A3; }
.reqa .lform__topic { background: rgba(12, 15, 24, .34); border: 1px solid rgba(243, 236, 226, .15); border-radius: 6px; color: var(--g-ink); }
.reqa .lform__topic span { color: var(--g-gold); }
.reqa .lform__topic button { color: rgba(243, 236, 226, .8); }
.reqa .lform__done-t { color: var(--g-ink); }
.reqa .lform__done p:not(.lform__done-t) { color: rgba(243, 236, 226, .78); }
.reqa .lform__done .circ { color: var(--g-gold); border-color: rgba(232, 194, 126, .7); }
.reqa .lform__done .cta { color: var(--g-ink); }
@media (max-width: 760px) {
  .reqa__card { --fh: 52px; padding: 28px 18px 20px; border-radius: 10px; }
  .reqa__k { top: auto; margin-bottom: 22px; }
}
.reqa .lform__status { text-align: center; }
