:root {
  --bg: #f5f1ea; --paper: #fffdf9; --ink: #1d1a16; --muted: #5d564d; --line: #d9d1c5;
  --accent: #6e4527; --accent-ink: #fff; --oak: #b48a5e; --enamel: #c9c4bb; --chip: #ebe4d9;
  --photo: #ece8e1; --radius: 2px; --gutter: 16px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif; --warn: #f3e6c8; --warn-ink: #4a3a17;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #191714; --paper: #22201c; --ink: #f1ece4; --muted: #b5ac9f; --line: #3a362f;
    --accent: #d9a273; --accent-ink: #1d1a16; --chip: #2d2a25; --enamel: #8f8a82; --photo: #e4e0d9; --warn: #3a3222; --warn-ink: #f0dfb8;
  }
}
:root[data-theme="dark"] {
  --bg: #191714; --paper: #22201c; --ink: #f1ece4; --muted: #b5ac9f; --line: #3a362f;
  --accent: #d9a273; --accent-ink: #1d1a16; --chip: #2d2a25; --enamel: #8f8a82; --photo: #e4e0d9; --warn: #3a3222; --warn-ink: #f0dfb8;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.top { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center;
  padding: 10px var(--gutter); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line); }
.brand { display: inline-block; font-weight: 600; letter-spacing: .18em; text-decoration: none; padding: 10px 0; }
.idea-btn { min-height: 44px; padding: 0 14px; border: 1px solid var(--ink); background: transparent; border-radius: 999px; }
.idea-btn .count { display: inline-block; min-width: 1.6em; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: var(--bg); }

main { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter) 64px; }
.ask { padding: 40px 0 24px; max-width: 980px; }
.sentence { margin: 0; font-weight: 500; font-family: var(--serif); font-size: clamp(28px, 6vw, 56px); line-height: 1.25; letter-spacing: -.01em; }
.slot { border: 0; background: none; padding: 0 .05em; font: inherit; color: var(--muted);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; text-decoration-color: var(--line); }
.slot.set { color: var(--accent); text-decoration-color: currentColor; }
.slot:hover { text-decoration-color: currentColor; }
/* A chevron says "this opens a choice"; the wave below invites the first tap (Andrey, 2026-11-24). */
.slot::after { content: "▾"; display: inline-block; margin-left: .12em; font-size: .4em; vertical-align: .55em; opacity: .55; text-decoration: none; }
.sentence.invite .slot { animation: invite 3.6s ease-in-out calc(.3s + var(--i, 0) * .22s) 3; }
@keyframes invite { 62% { transform: none; } 70% { transform: translateY(-.1em); color: var(--accent); text-decoration-color: var(--accent); } 80% { transform: none; } }
.hint { color: var(--muted); max-width: 60ch; margin: 16px 0 0; }

.res-title { font-size: 15px; font-weight: 500; color: var(--muted); margin: 8px 0 16px; }
.grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.grid { grid-auto-flow: row dense; }
/* Editorial stories: a room shot across two columns (two rows from 720px), alternating sides. */
.story { grid-column: 1 / -1; }
.story a { position: relative; display: block; height: 100%; min-height: 0; overflow: hidden; border-radius: var(--radius); text-decoration: none; color: #fff; background: var(--photo); }
.story img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.story a:hover img { transform: scale(1.02); }
.story .s-txt { position: absolute; inset: auto 0 0 0; display: grid; gap: 4px; padding: 64px 20px 18px; background: linear-gradient(transparent, rgb(0 0 0 / .62)); }
.s-coll { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.s-name { font-family: var(--serif); font-size: clamp(28px, 4vw, 44px); line-height: 1.05; font-weight: 500; }
.s-meta { font-size: 14px; opacity: .92; }
@media (min-width: 720px) {
  .story { grid-column: span 2; grid-row: span 2; }
  .story.s-r { grid-column: -3 / -1; }
  .story img { aspect-ratio: auto; position: absolute; inset: 0; }
  .story a { min-height: 420px; }
  .story .s-txt { padding: 96px 28px 24px; }
}
/* The interior: hover swaps it in on a desktop; on touch the tile is a two-slide strip, the cover
   leaving a sliver of the room in view so the swipe is discoverable. */
.pic .alt { display: none; }
.pic .alt img { object-fit: cover; mix-blend-mode: normal; }
.alt-tag { position: absolute; left: 10px; bottom: 10px; font-size: 12px; color: #1d1a16; background: rgb(255 255 255 / .8); padding: 4px 8px; border-radius: var(--radius); }
@media (hover: hover) {
  .pic .alt { display: block; position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; }
  .tile:hover .pic .alt, .tile:focus-visible .pic .alt { opacity: 1; }
}
@media (hover: none) {
  .pic:has(.alt) { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
  .pic:has(.alt)::-webkit-scrollbar { display: none; }
  .pic:has(.alt) > :is(img, .sw) { flex: 0 0 88%; width: 88%; scroll-snap-align: start; }
  .pic .alt { display: block; position: relative; flex: 0 0 100%; scroll-snap-align: end; }
}
.tile { display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
.pic { position: relative; display: block; aspect-ratio: 1; background: var(--photo); overflow: hidden; border-radius: var(--radius); }
.pic img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s ease; }
.tile:hover .pic img { transform: scale(1.03); }
.sw { display: block; width: 100%; height: 100%; }
.nophoto { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); font-size: 12px; color: #1d1a16; background: rgb(255 255 255 / .8); padding: 4px 8px; border-radius: var(--radius); }
.badge { position: absolute; top: 10px; left: 10px; font-size: 13px; background: var(--accent); color: var(--accent-ink); padding: 3px 8px; border-radius: var(--radius); }
.pic.kin img { opacity: .9; }
.t-coll { margin-top: 12px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.t-name { font-family: var(--serif); font-size: 21px; line-height: 1.2; font-weight: 500; }
.t-meta { font-size: 14px; color: var(--muted); }
.t-price { font-size: 15px; }

.empty p { color: var(--muted); }
.relax, .tones { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); background: var(--chip); border-radius: 999px; text-align: left; }
.chip.on { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }

.services { margin-top: 80px; border-top: 1px solid var(--ink); padding-top: 24px; }
.services h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 4vw, 36px); margin: 0 0 24px; }
.svc { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.svc h3 { font-size: 17px; margin: 0 0 6px; }
.svc p { margin: 0; color: var(--muted); }

dialog { border: 0; padding: 0; color: var(--ink); background: var(--paper); }
dialog::backdrop { background: rgb(20 16 12 / .55); }
.close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: var(--chip); border-radius: 50%; font-size: 24px; line-height: 1; }
.sheet { width: min(560px, 100vw); max-height: 85vh; margin: auto auto 0; border-radius: 12px 12px 0 0; }
@media (min-width: 720px) { .sheet { margin: auto; border-radius: 8px; } }
.sheet form, .idea { padding: 20px var(--gutter) 24px; }
.sheet h2 { margin: 0 52px 12px 0; font-size: 20px; }
.options { display: grid; gap: 6px; }
.opt { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 14px; border: 1px solid var(--line); background: var(--bg); border-radius: var(--radius); text-align: left; }
.opt.on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.opt:disabled { opacity: .45; cursor: not-allowed; }
.opt .n { color: var(--muted); font-size: 14px; }

.page { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; }
.m { height: 100%; overflow-y: auto; padding: 0 var(--gutter) 32px; }
.m-top { display: grid; gap: 0 48px; }
.m-top > * { min-width: 0; }
.m-photo { position: relative; margin: 0 calc(-1 * var(--gutter)); background: var(--photo); }
.m-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.m-photo .sw.big { aspect-ratio: 1; }
.m-photo.room img { aspect-ratio: 4 / 3; object-fit: cover; mix-blend-mode: normal; }
.thumbs button.room img { object-fit: cover; mix-blend-mode: normal; }
.cap { margin: 0; padding: 10px var(--gutter); font-size: 14px; line-height: 1.45; color: var(--muted); background: var(--paper); }
.cap.warn { background: var(--warn); color: var(--warn-ink); }
.cap a { font-weight: 600; }
.thumbs { display: flex; gap: 8px; align-items: center; overflow-x: auto; padding: 12px 0; scrollbar-width: thin; }
.thumbs button { flex: 0 0 72px; height: 72px; padding: 0; border: 1px solid transparent; background: var(--photo); border-radius: var(--radius); overflow: hidden; }
.thumbs button.on { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.t-sep { flex: 0 0 auto; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 6px 0 10px; border-left: 1px solid var(--line); white-space: nowrap; }
.eyebrow { margin: 24px 0 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.m h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 5vw, 52px); line-height: 1.05; margin: 6px 52px 8px 0; }
.m h3 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--ink); margin: 32px 0 12px; }
.h-val { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); font-size: 14px; }
.m-meta { color: var(--muted); margin: 0; font-size: 14px; }
.m-price { font-family: var(--serif); font-size: 32px; margin: 20px 0 0; line-height: 1; }
.m-price-note { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.finishes { display: grid; gap: 6px; }
.fin { display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center; min-height: 56px; padding: 8px 12px; border: 1px solid var(--line); background: transparent; border-radius: var(--radius); text-align: left; }
.fin.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.fin .sw { width: 32px; height: 32px; border-radius: 50%; }
.f-txt { font-size: 14px; color: var(--muted); }
.f-txt b { display: block; color: var(--ink); font-weight: 600; }
.f-price { white-space: nowrap; font-variant-numeric: tabular-nums; }
.tones .chip { display: inline-flex; align-items: center; gap: 8px; background: transparent; }
.tones .chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.dot { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15); }
.note { color: var(--muted); font-size: 14px; max-width: 65ch; margin: 10px 0 0; }
.size { display: flex; align-items: center; gap: 12px; }
.size button { width: 48px; height: 48px; border: 1px solid var(--ink); background: transparent; border-radius: 50%; font-size: 22px; }
.size button:disabled { opacity: .3; cursor: not-allowed; }
.size output { font-variant-numeric: tabular-nums; font-size: 18px; }
.m-cta { position: sticky; bottom: 0; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0 max(12px, env(safe-area-inset-bottom)); margin-top: 28px; background: var(--paper); border-top: 1px solid var(--line); }
.btn { flex: 1 1 200px; min-height: 52px; padding: 0 20px; border: 1px solid var(--ink); background: transparent; border-radius: var(--radius); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
.btn.primary { background: var(--ink); color: var(--bg); }
.trust { list-style: none; margin: 40px 0 0; padding: 20px 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.trust b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.spec dl { margin: 0; display: grid; }
.spec dl > div { display: grid; grid-template-columns: minmax(120px, 1fr) 2fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; }
.coll h3 { font-family: var(--serif); font-size: clamp(26px, 4vw, 36px); font-weight: 500; text-transform: none; letter-spacing: 0; margin-top: 48px; }
.mosaic { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mosaic a { display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
.mosaic img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: var(--photo); mix-blend-mode: multiply; margin-bottom: 8px; }
.mosaic .t-name { font-size: 19px; }
@media (min-width: 720px) { .mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 960px) {
  .m { padding: 0 40px 48px; }
  .m-top { grid-template-columns: minmax(0, 1.35fr) minmax(340px, 1fr); align-items: start; padding-top: 40px; }
  .m-gal { position: sticky; top: 24px; }
  .m-photo { margin: 0; }
  .cap { padding: 10px 14px; }
  .eyebrow { margin-top: 0; }
  .m-cta { position: static; border-top: 0; padding: 0; }
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) :is(.m-photo, .thumbs, .mosaic, .pic) img { mix-blend-mode: normal; } }
:root[data-theme="dark"] :is(.m-photo, .thumbs, .mosaic, .pic) img { mix-blend-mode: normal; }

.idea h2 { margin: 0 52px 12px 0; }
.idea-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.idea-list li { display: grid; grid-template-columns: 72px 1fr 44px; gap: 12px; align-items: center; font-size: 14px; }
.idea-list img, .idea-list .sw { width: 72px; height: 72px; object-fit: contain; background: var(--bg); border-radius: var(--radius); }
.idea-list .rm { width: 44px; height: 44px; border: 0; background: var(--chip); border-radius: 50%; font-size: 20px; }
textarea { width: 100%; font: 16px/1.4 inherit; font-family: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.proto { border-left: 3px solid var(--accent); padding-left: 10px; }
.noscript { padding: var(--gutter); }

.sheet form.lead { display: grid; gap: 14px; margin-top: 16px; padding: 0; }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > label, .field > legend { font-size: 14px; color: var(--muted); padding: 0; margin-bottom: 6px; }
.field input { width: 100%; min-height: 48px; padding: 0 12px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.field input:focus-visible { border-color: var(--accent); }
.chip.radio { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.chip.radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip.radio:has(input:checked) { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.chip.radio:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 0; accent-color: var(--accent); }
.err { margin: 0; min-height: 1.2em; color: #b3261e; font-size: 14px; }
:root[data-theme="dark"] .err { color: #f2b8b5; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .err { color: #f2b8b5; } }
.done { font-size: 18px; margin: 0 52px 8px 0; }
.linkish { min-height: 44px; margin-top: 8px; padding: 0; border: 0; background: none; text-decoration: underline; text-underline-offset: .2em; color: var(--muted); }
.btn[aria-busy="true"] { opacity: .7; }

/* Icons: one 24px line set (sprite in index.html), stroke follows the text colour. */
.ico { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.close, .size button, .idea-list .rm, .t-x, .lb-nav, .m-zoom { display: inline-grid; place-items: center; color: var(--ink); cursor: pointer; }
.close .ico { width: 22px; height: 22px; }
.size button .ico { width: 20px; height: 20px; }
.idea-list .rm .ico { width: 18px; height: 18px; }
.idea-btn { display: inline-flex; align-items: center; gap: 6px; }
.btn .ico { margin-right: 8px; }
.btn .ico:last-child:not(:first-child) { margin: 0 0 0 8px; }
.close, .idea-list .rm, .size button:not(:disabled) { transition: transform .15s ease, background-color .15s ease; }
.close:hover, .idea-list .rm:hover { transform: rotate(90deg); }
.size button:not(:disabled):active, .close:active { transform: scale(.92); }

/* Add-to-idea: the button settles into its done state, the badge counts up. */
#toIdea { transition: background-color .25s ease, color .25s ease; }
#toIdea.done { background: transparent; color: var(--ink); }
#toIdea.done .ico { animation: tick .35s ease-out; }
@keyframes tick { from { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.2); } to { transform: none; opacity: 1; } }
.idea-btn .count.bump { animation: bump .45s ease-out; }
@keyframes bump { 30% { transform: scale(1.45); } to { transform: none; } }

/* Toast inside the model dialog (top layer), above the sticky CTA on phones. */
.toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 5; width: min(520px, calc(100% - 2 * var(--gutter)));
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; background: var(--ink); color: var(--bg); border-radius: var(--radius);
  box-shadow: 0 10px 30px rgb(0 0 0 / .25); transform: translate(-50%, 24px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .2s ease, visibility 0s linear .3s; }
.toast.in { transform: translate(-50%, 0); opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.toast:empty { display: none; }
.toast img { width: 48px; height: 48px; object-fit: contain; background: var(--photo); border-radius: var(--radius); flex: none; }
.toast p { flex: 1; min-width: 0; margin: 0; font-size: 14px; line-height: 1.3; }
.toast p b, .toast p span { display: block; }
.toast p span { opacity: .75; }
.toast .btn { flex: none; min-height: 44px; padding: 0 14px; border-color: var(--bg); background: var(--bg); color: var(--ink); }
.toast .t-x { width: 44px; height: 44px; border: 0; background: transparent; color: var(--bg); border-radius: 50%; flex: none; }
@media (max-width: 420px) {
  .toast img { display: none; }
  .toast p { font-size: 13px; }
  .toast p b, .toast p span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .toast .btn { padding: 0 12px; font-size: 14px; }
  .toast .t-x { width: 36px; }
}
@media (min-width: 960px) { .toast { bottom: 24px; } }

/* Model photo: tap or the corner button opens it full screen. */
.m-photo img.zoomable { cursor: zoom-in; }
.m-zoom { position: absolute; top: 12px; left: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(255 253 249 / .85); color: #1d1a16; }
.m-zoom .ico { width: 20px; height: 20px; }

/* Fullscreen viewer. Always dark, whatever the page theme: photos read best on near-black. */
dialog.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; background: #0d0c0b; color: #f1ece4; overflow: hidden; }
dialog.lb::backdrop { background: #0d0c0b; }
.lb-track { position: absolute; inset: 0 0 64px; display: grid; place-items: center; touch-action: pan-y; user-select: none; transition: transform .25s ease; }
.lb-track.drag { transition: none; }
.lb-track img { max-width: 100%; max-height: 100%; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }
.lb-track.from-r img { animation: from-r .28s ease-out; }
.lb-track.from-l img { animation: from-l .28s ease-out; }
@keyframes from-r { from { transform: translateX(40px); opacity: 0; } }
@keyframes from-l { from { transform: translateX(-40px); opacity: 0; } }
.lb-nav { position: absolute; top: calc(50% - 32px); width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgb(13 12 11 / .55); color: #f1ece4; }
.lb-nav:hover { background: rgb(13 12 11 / .8); }
.lb-nav .ico { width: 26px; height: 26px; }
.lb-nav.prev { left: 12px; } .lb-nav.next { right: 12px; }
.lb.single .lb-nav, .lb.single .lb-n { display: none; }
.lb-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; padding: 0 var(--gutter) env(safe-area-inset-bottom); display: flex; align-items: center; gap: 16px; }
.lb-cap { flex: 1; min-width: 0; margin: 0; font-size: 14px; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-n { font-variant-numeric: tabular-nums; font-size: 14px; opacity: .8; }
.lb .close { background: rgb(13 12 11 / .55); color: #f1ece4; top: calc(8px + env(safe-area-inset-top)); }
@media (max-width: 600px) { .lb-nav { display: none; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
.sentence, .t-name, .m h2, .m-price, .coll h3, .services h2 { font-variant-numeric: lining-nums; }

/* ---------- first screen (2026-11-23, Andrey: intro, facts, social proof for ad traffic) ---------- */
.hero { display: grid; gap: 24px; padding: 24px 0 8px; }
.eyebrow { margin: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero h1 { margin: 8px 0 0; font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 6.4vw, 64px); line-height: 1.04; letter-spacing: -.01em; }
.lede { margin: 16px 0 0; max-width: 52ch; font-size: 17px; line-height: 1.5; }
.facts { list-style: none; margin: 24px 0 0; padding: 16px 0 0; border-top: 1px solid var(--ink); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.facts li { display: grid; gap: 2px; }
.facts b { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 4vw, 40px); line-height: 1; font-variant-numeric: lining-nums; }
.facts span { font-size: 13px; line-height: 1.35; color: var(--muted); }
.hero-cta { display: flex; margin-top: 24px; }
.hero-cta .btn { flex: 0 1 320px; }
.reach-lead { margin: 20px 0 8px; font-size: 14px; color: var(--muted); }
.reach { display: flex; flex-wrap: wrap; gap: 8px; }
.reach .chip { display: inline-flex; align-items: center; text-decoration: none; color: inherit; cursor: pointer; }
.hero-pic { margin: 0; order: -1; overflow: hidden; border-radius: var(--radius); background: var(--photo); aspect-ratio: 16 / 9; }
.hero-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ask-title { margin: 0 0 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.ask { scroll-margin-top: 72px; }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: center; padding: 48px 0 24px; min-height: min(78vh, 760px); }
  .hero-pic { order: 0; aspect-ratio: 4 / 5; height: 100%; max-height: 720px; }
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.idea .reach { margin-bottom: 8px; }

/* ---------- bolder grid: full-width bands between 2x2 stories, paging ---------- */
.story.s-w { grid-column: 1 / -1; }
@media (min-width: 720px) {
  .story.s-w { grid-row: span 1; }
  .story.s-w a { min-height: 0; aspect-ratio: 21 / 9; }
  .story.s-w .s-name { font-size: clamp(36px, 5vw, 64px); }
}
.more { display: flex; justify-content: center; margin-top: 40px; }
.more .btn { flex: 0 1 360px; }

/* Metrika consent (2026-11-23). Non-modal: the page stays usable; the Bitrix button hides until a choice is made, so it does not cover the bar. */
.consent-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px;
  padding: 14px var(--gutter) max(14px, env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgb(0 0 0 / .08); }
.consent-bar[hidden] { display: none; }
.consent-bar p { flex: 1 1 420px; margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.consent-bar p b { color: var(--ink); margin-right: 6px; }
.consent-actions { display: flex; gap: 8px; flex: 1 1 320px; max-width: 420px; }
.consent-actions .btn { min-height: 44px; flex: 1 1 0; padding: 0 14px; font-size: 15px; }
.consent-open .b24-widget-button-wrapper { display: none !important; }
@media (max-width: 420px) { .consent-actions { flex-basis: 100%; max-width: none; } }
