/* styles.css — вид History Lounge «Ромб зажигается». Всё из токенов. */

/* ── Основа ─────────────────────────────────────────── */
body { line-height: 1.6; }
::selection { background: var(--accent); color: var(--surface); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.price { font-family: var(--font-display); font-weight: 300; font-variant-numeric: tabular-nums; color: var(--accent); white-space: nowrap; }
/* Реальные телефонные фото клиента — в тёплый свет ламп зала */
.graded { position: relative; }
.graded img { filter: saturate(1.05) contrast(1.04) brightness(.92); }
/* Тёплый тон ламп поверх холодного телефонного кадра */
.graded::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: oklch(0.62 0.14 55 / .32); mix-blend-mode: soft-light; }

/* ── Сигнатура: зеркальный ромб ─────────────────────── */
.rhomb { position: absolute; pointer-events: none; overflow: visible; filter: var(--signature-glow); }
/* Толщина — в единицах viewBox 440: --sw подобран под ширину ромба, чтобы на экране было ~1.5–2px */
.rhomb path { fill: none; stroke: var(--signature-line); stroke-width: var(--sw, 1.5); stroke-dasharray: 1; stroke-dashoffset: 0; }
.rhomb path:nth-child(2) { opacity: .7; --lit: .7; }
.rhomb path:nth-child(3) { opacity: .45; --lit: .45; }
/* Зажигание: полосы по одной, мерцание — как подсветка панели в зале */
.js .rhomb[data-ignite] path { stroke-dashoffset: 1; opacity: 0; }
.js .rhomb.is-lit path { animation: rhomb-draw 1400ms var(--ease-out) forwards, rhomb-flicker var(--signature-ignite) steps(1) forwards; }
.js .rhomb.is-lit path:nth-child(2) { animation-delay: 320ms; }
.js .rhomb.is-lit path:nth-child(3) { animation-delay: 640ms; }
@keyframes rhomb-draw { to { stroke-dashoffset: 0; } }
@keyframes rhomb-flicker {
  0% { opacity: 0; } 6% { opacity: var(--lit, 1); } 12% { opacity: .1; } 20% { opacity: var(--lit, 1); }
  27% { opacity: .35; } 31% { opacity: var(--lit, 1); } 52% { opacity: .55; } 56%, 100% { opacity: var(--lit, 1); }
}

/* Метка секции: малый ромб + номер + раздел */
.idx { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-5); font: 600 var(--step--1)/1 var(--font-utility); letter-spacing: var(--track-utility); text-transform: uppercase; color: var(--accent); }
.idx::before { content: ""; width: 10px; height: 10px; border: var(--signature-stroke) solid var(--signature-line); transform: rotate(45deg); filter: var(--signature-glow); }
.idx span:first-child { color: var(--ink-muted); }

.h-big { font-weight: 300; font-size: var(--step-3); line-height: 1.04; letter-spacing: -0.025em; max-width: 15ch; }

/* ── Шапка ─────────────────────────────────────────── */
.header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header__inner { min-height: 84px; }
.logo { display: block; }
.logo img { height: 46px; width: auto; }
.nav__list { gap: var(--space-5); font-size: var(--step-0); }
.nav__list li + li::before { content: "·"; margin-right: var(--space-5); color: var(--ink-muted); }
.nav__list a { text-decoration: none; transition: color var(--dur-micro) var(--ease-out); }
.nav__list a:hover { color: var(--accent); }
.lang button { font: 600 var(--step--1)/1 var(--font-utility); letter-spacing: .08em; color: var(--ink-muted); opacity: 1; }
.lang button[aria-pressed="true"] { color: var(--accent); text-decoration: none; }
.lang button:hover { color: var(--ink); }
.header__phone { padding-left: var(--space-5); border-left: 1px solid var(--line); text-decoration: none; font-size: var(--step-0); white-space: nowrap; }
.header__phone:hover { color: var(--accent); }
.header__call { display: none; }

/* ── Кнопки и ссылки ───────────────────────────────── */
.btn { font: 600 var(--step--1)/1 var(--font-utility); letter-spacing: .16em; text-transform: uppercase; padding: 1.25em 2em; border-radius: var(--radius-control); }
.btn--primary { background: var(--button); color: var(--on-accent); box-shadow: inset 0 1px 0 oklch(1 0 0 / .12); }
.btn--primary:hover { background: var(--button-hover); }
.btn--ghost { background: transparent; border-color: color-mix(in oklab, var(--ink) 35%, transparent); color: var(--ink); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.link-arrow { display: inline-flex; gap: var(--space-2); align-items: center; font: 600 var(--step--1)/1 var(--font-utility); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--accent); padding-block: var(--space-3); }
.link-arrow::after { content: "→"; transition: transform var(--dur-micro) var(--ease-out); }
.link-arrow:hover::after { transform: translateX(4px); }

/* Живой статус */
.status { display: inline-flex; align-items: center; gap: var(--space-3); padding: .6em 1.1em .6em .9em; border-radius: var(--radius-pill); background: var(--green); font: 600 var(--step--1)/1 var(--font-utility); letter-spacing: .12em; text-transform: uppercase; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: status-pulse 2.4s var(--ease-out) infinite; }
.status[data-open="false"] { background: var(--plane); color: var(--ink-muted); }
.status[data-open="false"]::before { background: var(--ink-muted); animation: none; }
@keyframes status-pulse { 0% { box-shadow: 0 0 0 0 oklch(0.70 0.14 65 / .6); } 70%, 100% { box-shadow: 0 0 0 10px oklch(0.70 0.14 65 / 0); } }

/* Цитата */
.quote p { font-style: italic; font-size: var(--step-1); line-height: 1.4; }
.quote cite { display: block; margin-top: var(--space-3); font: 600 var(--step--1)/1.3 var(--font-utility); letter-spacing: .1em; text-transform: uppercase; font-style: normal; color: var(--ink-muted); }

/* ── 1. Первый экран ───────────────────────────────── */
.hero { position: relative; min-height: calc(100svh - 84px); display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0 0 0 28%; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.js .hero__media img { animation: push var(--dur-push) var(--ease-out) both; }
@keyframes push { from { transform: scale(1.06); filter: brightness(.55); } to { transform: none; filter: none; } }
/* Затемнение к тексту — для контраста, не декор */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, var(--surface) 26%, oklch(0.165 0.008 70 / .55) 44%, oklch(0.165 0.008 70 / 0) 64%),
              linear-gradient(0deg, var(--surface) 0, oklch(0.165 0.008 70 / 0) 22%); }
/* Ромб — целиком над залом, вне колонки текста */
.rhomb--hero { width: min(38vw, 36rem); left: 49%; top: 50%; transform: translateY(-50%); z-index: 0; filter: var(--signature-glow) drop-shadow(0 0 30px oklch(0.70 0.14 65 / .45)); }
.rhomb--hero { --sw: 1.7; }
.js .rhomb--hero.is-lit path { animation-delay: 500ms, 500ms; }
.js .rhomb--hero.is-lit path:nth-child(2) { animation-delay: 820ms, 820ms; }
.js .rhomb--hero.is-lit path:nth-child(3) { animation-delay: 1140ms, 1140ms; }
.hero__inner { position: relative; z-index: 1; padding-block: var(--space-9) var(--space-10); }
.hero__title { margin-block: var(--space-6) var(--space-6); font-weight: 200; font-size: var(--step-hero); line-height: .94; letter-spacing: -0.04em; }
.hero__title em { display: block; font-style: normal; color: var(--accent); }
.hero__lead { font-size: var(--step-1); line-height: 1.4; color: var(--ink-muted); max-width: 26ch; }
.hero__addr { font: 600 var(--step--1)/2.4 var(--font-utility); letter-spacing: var(--track-utility); text-transform: uppercase; color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-6); margin-top: var(--space-7); }
.hero__phone { font-size: var(--step-1); text-decoration: none; border-bottom: 1px solid var(--line); }
.hero__phone:hover { border-color: var(--accent); }
.js .hero__inner > * { animation: warm var(--dur-reveal) var(--ease-out) both; }
.js .hero__inner > :nth-child(2) { animation-delay: 120ms; }
.js .hero__inner > :nth-child(3) { animation-delay: 240ms; }
.js .hero__inner > :nth-child(4) { animation-delay: 360ms; }
@keyframes warm { from { opacity: 0; filter: brightness(.3); } to { opacity: 1; filter: none; } }

/* Появление ниже — «из темноты в свет», без подпрыгивания */
.reveal { transform: none; filter: brightness(.4); transition: opacity var(--dur-reveal) var(--ease-out), filter var(--dur-reveal) var(--ease-out); }
.reveal.is-in { filter: none; }

/* ── 3. Кухня: афиша блюда + меню-книга ─────────── */
.kitchen { padding-block: var(--section) calc(var(--section) * .6); }
.kitchen__top { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--space-6); align-items: end; margin-bottom: var(--space-10); }
.kitchen__head { grid-column: 1 / 7; }
.kitchen__lead { margin-top: var(--space-5); font-size: var(--step-1); line-height: 1.4; color: var(--ink-muted); max-width: 30ch; }
.kitchen__facts { margin-top: var(--space-5); font: 600 var(--step--1)/1.4 var(--font-utility); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
/* Афиша: цена фирменного стейка — самое крупное число страницы, в горящем ромбе */
.signature-dish { grid-column: 7 / 13; display: grid; justify-items: end; text-align: right; text-decoration: none; }
.signature-dish__label { font: 600 var(--step--1)/1 var(--font-utility); letter-spacing: var(--track-utility); text-transform: uppercase; color: var(--accent); }
.signature-dish__name { margin-top: var(--space-4); font: 200 var(--step-3)/1 var(--font-display); letter-spacing: -0.03em; }
.signature-dish__price { position: relative; display: flex; align-items: flex-start; isolation: isolate; margin-top: var(--space-2); }
.signature-dish__num { font: 200 clamp(7rem, 14vw, 13rem)/.86 var(--font-display); letter-spacing: -0.06em; color: var(--accent); font-variant-numeric: tabular-nums; }
.signature-dish__k { position: relative; display: grid; place-items: center; width: 5.2rem; aspect-ratio: 1; margin: .35em 0 0 .3em; font: 300 var(--step-1)/1 var(--font-display); color: var(--ink); }
.rhomb--price { inset: 0; width: 100%; height: 100%; --sw: 8; }
.signature-dish:hover .signature-dish__name { color: var(--accent); }

/* Стол сверху: блюда из их печатного меню на их же охристой скатерти, медленно едут лентой */
.table-strip { display: flex; width: max-content; height: 13.5rem; margin: 0 0 var(--space-9); padding: 0; list-style: none; background: oklch(0.7 0.085 65); animation: strip 70s linear infinite; animation-play-state: paused; }
.table-strip.is-playing { animation-play-state: running; }
.table-strip:hover { animation-play-state: paused; }
.table-strip li { flex: none; height: 100%; }
.table-strip img { height: 100%; width: auto; filter: sepia(.18) saturate(.92) brightness(.82) contrast(1.05); }
@keyframes strip { to { transform: translateX(-50%); } }
.kitchen { overflow-x: clip; }
.menu { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--space-6); align-items: start; }
.menu__nav { grid-column: 1 / 5; position: sticky; top: calc(var(--header-h, 84px) + var(--space-5)); }
.menu__nav ol { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.menu__nav a { position: relative; display: grid; grid-template-columns: 2.6rem 1fr auto; align-items: baseline; gap: var(--space-3); padding: var(--space-4) 0 var(--space-4) var(--space-5); font: 300 var(--step-1)/1.1 var(--font-display); letter-spacing: -0.015em; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink-muted); transition: color var(--dur-micro) var(--ease-out); }
.menu__nav a:hover { color: var(--ink); }
.menu__n { font: 300 var(--step-0)/1 var(--font-display); font-variant-numeric: tabular-nums; }
.menu__c { font: 600 var(--step--1)/1 var(--font-utility); color: var(--ink-muted); }
.menu__nav a::before { content: ""; position: absolute; left: 2px; top: 50%; width: 8px; height: 8px; border: var(--signature-stroke) solid var(--signature-line); transform: translateY(-50%) rotate(45deg) scale(0); filter: var(--signature-glow); transition: transform var(--dur-micro) var(--ease-out); }
.menu__nav a.is-active { color: var(--ink); }
.menu__nav a.is-active .menu__n { color: var(--accent); }
.menu__nav a.is-active::before { transform: translateY(-50%) rotate(45deg) scale(1); }
.menu__book { grid-column: 5 / 13; padding-left: var(--space-7); min-height: 40rem; }
/* Одна глава на экран — переключение по оглавлению */
.menu.is-tabs .chapter { display: none; }
.menu.is-tabs .chapter.is-active { display: block; animation: chapter-in 500ms var(--ease-out) both; }
@keyframes chapter-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.chapter { position: relative; isolation: isolate; container-type: inline-size; padding-top: var(--space-9); margin-bottom: 0; scroll-margin-top: calc(var(--header-h, 84px) + var(--space-4)); }
/* Огромное бледное имя раздела — как на их печатном меню */
.chapter__ghost { position: absolute; right: -.04em; top: 0; z-index: -1; font: 200 min(10rem, 12.5cqi)/.8 var(--font-display); letter-spacing: -0.05em; text-transform: lowercase; white-space: nowrap; color: color-mix(in oklab, var(--accent) 13%, transparent); pointer-events: none; user-select: none; }
.chapter__title { display: flex; align-items: baseline; gap: var(--space-4); padding-bottom: var(--space-4); margin-bottom: var(--space-2); border-bottom: 1px solid color-mix(in oklab, var(--ink) 30%, transparent); font-weight: 300; font-size: var(--step-2); letter-spacing: -0.02em; }
.chapter__n { font: 600 var(--step--1)/1 var(--font-utility); letter-spacing: .12em; color: var(--accent); }
.dishes { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--space-8); list-style: none; padding: 0; margin: 0; }
.dish { display: grid; grid-template-columns: 1fr auto; column-gap: var(--space-4); align-items: baseline; padding-block: var(--space-4); border-bottom: 1px solid var(--line); }
.dish__name { line-height: 1.35; }
.dish .price { font-size: var(--step-0); }
.dish__desc { grid-column: 1 / -1; margin-top: var(--space-1); font-size: var(--step--1); font-style: italic; line-height: 1.45; color: var(--ink-muted); }
.dish--hero { grid-column: 1 / -1; padding-block: var(--space-5); }
.dish--hero .dish__name { font: 200 var(--step-2)/1.1 var(--font-display); letter-spacing: -0.025em; }
.dish--hero .price { font-size: var(--step-2); font-weight: 200; }

/* ── 4. Бар: стена коктейлей ───────────────────────── */
.bar { position: relative; isolation: isolate; background: var(--surface); padding-block: var(--section); overflow-x: clip; }
/* Их стойка (фото владельца, 2026-10-17) — справа, на высоту стены коктейлей, книга меню ниже на тёмном */
.bar__photo { position: absolute; top: 0; right: 0; width: 48%; height: calc(74vw + 3rem); max-height: 100%; z-index: -2; margin: 0;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.bar__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.bar::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, var(--surface) 52%, oklch(0.165 0.008 70 / .9) 60%, oklch(0.165 0.008 70 / .74) 72%, oklch(0.165 0.008 70 / .38) 84%, oklch(0.165 0.008 70 / .14) 100%),
              linear-gradient(180deg, var(--surface) 0, oklch(0.165 0.008 70 / 0) 12%, oklch(0.165 0.008 70 / 0) 88%, var(--surface) 100%); }
.bar__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-3) var(--space-6); padding-bottom: var(--space-5); border-bottom: 1px solid var(--line); }
.bar__head .idx { margin: 0; }
.bar__title { font-weight: 300; font-size: var(--step-1); letter-spacing: -0.01em; }
.bar__hint { margin-left: auto; font-style: italic; color: var(--ink-muted); }
.hint-touch { display: none; }
@media (hover: none) { .hint-mouse { display: none; } .hint-touch { display: inline; } }
.wall { list-style: none; padding: 0; margin: var(--space-8) 0 0; max-width: 64rem; font: 200 clamp(2.1rem, 5.4vw, 5.2rem)/1.14 var(--font-display); letter-spacing: -0.035em; text-wrap: pretty; }
.wall__item { display: inline; white-space: nowrap; cursor: default; outline: none; transition: opacity 400ms var(--ease-out), color 400ms var(--ease-out), text-shadow 400ms var(--ease-out); }
.wall__item::after { content: ""; display: inline-block; width: .2em; height: .2em; margin: 0 .42em 0 .3em; border: var(--signature-stroke) solid var(--signature-line); transform: translateY(-.12em) rotate(45deg); opacity: .7; }
.wall__price { margin-left: .28em; font: 600 var(--step--1)/1 var(--font-utility); letter-spacing: .06em; color: var(--accent); vertical-align: .9em; white-space: nowrap; }
.wall:hover .wall__item, .wall:focus-within .wall__item { opacity: .2; }
.wall .wall__item:hover, .wall .wall__item:focus { opacity: 1; color: var(--accent); text-shadow: 0 0 .5em oklch(0.70 0.14 65 / .5); }
.wall .wall__item:hover .wall__price, .wall .wall__item:focus .wall__price, .wall__item.is-lit .wall__price { color: var(--ink); text-shadow: none; }
.wall .wall__item:hover::after, .wall .wall__item:focus::after, .wall__item.is-lit::after { opacity: 1; background: var(--accent); filter: var(--signature-glow); }
.wall.is-scroll .wall__item { opacity: .22; }
.wall.is-scroll .wall__item.is-lit { opacity: 1; color: var(--accent); text-shadow: 0 0 .5em oklch(0.70 0.14 65 / .5); }
.wall__item:focus-visible .wall__name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .12em; }

/* ── 5. Залы: мозаика разного веса ─────────────────── */
.halls { padding-block: 0 calc(var(--section) * .5); }
.halls__stage { position: relative; isolation: isolate; height: min(88svh, 52rem); margin: 0 0 var(--space-4); display: grid; align-items: end; }
.halls__stage img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.halls__stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--surface) 0, oklch(0.165 0.008 70 / .55) 30%, oklch(0.165 0.008 70 / 0) 60%), linear-gradient(180deg, var(--surface) 0, oklch(0.165 0.008 70 / 0) 18%); }
.halls__stage.graded::after { z-index: -1; }
.halls__cap { padding-bottom: var(--space-8); }
.halls__lower { margin-top: var(--space-4); color: var(--ink-muted); font-size: var(--step-1); }
.halls__pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.hall { position: relative; overflow: hidden; background: var(--plane); }
.hall .slot { aspect-ratio: 4 / 3; }
.hall .slot img { transition: transform 1200ms var(--ease-out); }
.hall:hover .slot img { transform: scale(1.03); }
.hall__cap { position: absolute; inset: auto 0 0 0; padding: var(--space-8) var(--space-5) var(--space-5); background: linear-gradient(0deg, oklch(0.165 0.008 70 / .9), oklch(0.165 0.008 70 / 0)); }
.hall__cap h3 { font-weight: 300; font-size: var(--step-2); letter-spacing: -0.02em; }
.hall__cap p { color: var(--ink-muted); font-size: var(--step--1); margin-top: var(--space-1); }

/* ── 6. Веранда в двух светах + гости ──────────────── */
.terrace { padding-block: calc(var(--section) * .5) var(--section); }
.terrace__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--space-6); align-items: end; margin-bottom: var(--space-7); }
.terrace__head .idx, .terrace__head .h-big { grid-column: 1 / 8; }
.terrace__lead { grid-column: 8 / 13; grid-row: 2; color: var(--ink-muted); font-size: var(--step-1); line-height: 1.4; }
.terrace__pair { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--space-6); align-items: start; }
.terrace__frame { transition: filter 900ms var(--ease-out); }
.terrace__frame--day { grid-column: 1 / 6; }
.terrace__frame--night { grid-column: 6 / 13; margin-top: var(--space-10); }
.terrace__frame figcaption { display: flex; align-items: baseline; gap: var(--space-4); margin-top: var(--space-4); }
.terrace__n { font: 600 var(--step--1)/1 var(--font-utility); letter-spacing: .12em; color: var(--accent); }
.terrace__dj { display: inline-block; margin-right: var(--space-2); padding: .25em .6em; border: 1px solid var(--accent); border-radius: var(--radius-control); font: 600 var(--step--1)/1 var(--font-utility); letter-spacing: .14em; color: var(--accent); vertical-align: .2em; }


/* ── 5. Фото заведения: мозаика разного веса, заголовок — её клетка ── */
.gallery { padding-block: calc(var(--section) * .5) var(--section); }
.gallery__mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(clamp(6.5rem, 11vw, 10rem), auto); gap: var(--space-4); }
.gallery__head { grid-column: 1 / 5; grid-row: 1 / 3; align-self: end; padding-bottom: var(--space-2); }
.gallery__head .h-big em { font-style: normal; color: var(--accent); }
.gallery__lead { margin-top: var(--space-5); color: var(--ink-muted); line-height: 1.45; }
.gallery__hint { margin-top: var(--space-3); font-style: italic; font-size: var(--step--1); color: var(--ink-muted); }
.gallery__item--b { grid-column: 5 / 13; grid-row: 1 / 3; }
.gallery__item--a { grid-column: 1 / 5; grid-row: 3 / 7; }
.gallery__item--c { grid-column: 5 / 8; grid-row: 3 / 5; }
.gallery__item--d { grid-column: 8 / 13; grid-row: 3 / 5; }
.gallery__item--f { grid-column: 5 / 10; grid-row: 5 / 7; }
.gallery__item--e { grid-column: 10 / 13; grid-row: 5 / 7; }
.gallery__btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--plane); overflow: hidden; cursor: zoom-in; }
.gallery__btn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-out); }
.gallery__item--a img { object-position: 30% 50%; }
.gallery__item--c img { object-position: 50% 30%; }
.gallery__item--e img { object-position: 50% 25%; }
.gallery__item--f img { object-position: 50% 72%; }
.gallery__btn:hover img, .gallery__btn:focus-visible img { transform: scale(1.04); }
/* появление — из темноты в свет, по очереди */
.js .gallery__item { opacity: 0; filter: brightness(.3); transition: opacity 700ms var(--ease-out) calc(var(--i) * 90ms), filter 900ms var(--ease-out) calc(var(--i) * 90ms); }
.js .gallery__item.is-in { opacity: 1; filter: none; }

/* Просмотр фото: на весь экран, стрелки, свайп */
html:has(.lightbox[open]) { overflow: hidden; }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: var(--space-6) var(--space-10); border: 0; background: oklch(0.1 0.01 70 / .985); color: var(--ink); touch-action: pan-y pinch-zoom; }
.lightbox[open] { display: grid; place-items: center; animation: lb-in 600ms var(--ease-out); }
.lightbox::backdrop { background: oklch(0.1 0.01 70 / .6); }
@keyframes lb-in { from { opacity: 0; filter: brightness(.35); } }
.lightbox__fig { margin: 0; display: grid; gap: var(--space-4); justify-items: center; max-width: 100%; }
.lightbox__img { display: block; max-width: 100%; max-height: calc(100dvh - 9rem); width: auto; height: auto; transition: opacity 300ms var(--ease-out); user-select: none; -webkit-user-drag: none; }
.lightbox__img.is-loading { opacity: .25; }
.lightbox__cap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: var(--space-2) var(--space-4); text-align: center; color: var(--ink-muted); }
.lightbox__n { margin: 0; gap: var(--space-2); }
.lightbox__n [data-lb-n] { color: var(--accent); }
.lightbox__n [data-lb-total] { color: var(--ink-muted); }
.lightbox:focus-visible { outline: none; }
.lightbox__nav, .lightbox__close { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-control); background: oklch(0.165 0.008 70 / .7); color: var(--ink); font: 300 1.5rem/1 var(--font-display); cursor: pointer; transition: color 300ms var(--ease-out), border-color 300ms var(--ease-out); }
.lightbox__nav:hover, .lightbox__close:hover { color: var(--accent); border-color: var(--accent); }
.lightbox__nav { top: 50%; translate: 0 -50%; }
.lightbox__nav--prev { left: var(--space-5); }
.lightbox__nav--next { right: var(--space-5); }
.lightbox__close { top: var(--space-4); right: var(--space-4); font-size: 2rem; }

/* ── 5. Отзывы: ромб с рейтингом — источник света у правого края, фраза гостя крупно наезжает на него,
      два отзыва лесенкой разного веса. Три уровня масштаба: фраза → заголовок отзыва → текст ── */
.reviews { position: relative; overflow-x: clip; padding-block: var(--section); border-top: 1px solid var(--line); }
.reviews__stage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--space-6); align-items: start; }
.reviews__head { grid-column: 1 / 6; grid-row: 1; }
.reviews__title { font-weight: 300; font-size: var(--step-2); line-height: 1.1; letter-spacing: -0.02em; max-width: 12ch; }
/* ромб уходит за правый край контейнера — свет как будто идёт из зала дальше */
.reviews__score { grid-column: 7 / 13; grid-row: 1 / 3; justify-self: end; position: relative; display: grid; place-items: center;
  width: min(44rem, 50vw); aspect-ratio: 1; margin-right: calc(-1 * var(--gutter) - 5vw); margin-top: calc(-1 * var(--space-6)); isolation: isolate; }
.rhomb--score { inset: 0; width: 100%; height: 100%; z-index: -1; --sw: 1.1; filter: var(--signature-glow) drop-shadow(0 0 40px oklch(0.70 0.14 65 / .35)); }
.reviews__num { display: grid; justify-items: center; gap: var(--space-3); margin: 0; text-align: center; transform: translateX(-4%); }
.reviews__value { font: 200 clamp(7rem, 12.5vw, 12rem)/.85 var(--font-display); letter-spacing: -0.06em; color: var(--accent);
  font-variant-numeric: tabular-nums; text-shadow: 0 0 .25em oklch(0.70 0.14 65 / .35); }
.reviews__of { font: 600 var(--step--1)/1.4 var(--font-utility); letter-spacing: var(--track-utility); text-transform: uppercase; color: var(--ink-muted); max-width: 16ch; }
.review { margin: 0; min-width: 0; }
.review blockquote { margin: 0; }
.review__stars { font-size: var(--step--1); letter-spacing: .2em; color: var(--accent); }
.review figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2) var(--space-3); margin-top: var(--space-5); }
.review__name { font: 600 var(--step--1)/1 var(--font-utility); letter-spacing: .12em; text-transform: uppercase; }
.review__meta { font-size: var(--step--1); color: var(--ink-muted); }
.review__text { font-style: italic; font-size: var(--step-0); line-height: 1.6; color: var(--ink-muted); max-width: 44ch; }
/* главная фраза: самый крупный текст секции, наезжает на ромб; последнее слово — свет охры */
.review--lead { grid-column: 1 / 8; grid-row: 2; position: relative; z-index: 1; margin-top: var(--space-6); }
.review__pull { font: 200 clamp(4.2rem, 7.4vw, 8rem)/.92 var(--font-display); letter-spacing: -0.05em; text-wrap: balance; margin-bottom: var(--space-7); text-indent: -.42em; }
.review__pull em { font-style: normal; color: var(--accent); text-shadow: 0 0 .3em oklch(0.70 0.14 65 / .4); }
.review--lead .review__text { max-width: 40ch; }
/* второй и третий — лесенкой: третий ниже и правее, разной ширины */
.review--2, .review--3 { padding-top: var(--space-6); border-top: 1px solid var(--line); }
.review--2 { grid-column: 1 / 6; grid-row: 3; margin-top: var(--space-9); }
.review--3 { grid-column: 7 / 12; grid-row: 3; margin-top: calc(var(--space-9) + var(--space-8)); }
.review__head { font: 300 var(--step-2)/1.12 var(--font-display); letter-spacing: -0.02em; margin-bottom: var(--space-4); text-wrap: balance; }
/* действие — прямо под остриём ромба: «4,7 → оставьте свою оценку» */
.reviews__cta { display: flex; align-items: center; gap: var(--space-5); margin-left: auto; }


/* Ещё отзывы — лента карточек; на ПК листается стрелками, на телефоне пальцем */
.reviews__more { grid-column: 1 / -1; grid-row: 4; min-width: 0; margin-top: var(--space-9); padding-top: var(--space-6); border-top: 1px solid var(--line); }
.reviews__more-head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-5); margin-bottom: var(--space-6); }
.reviews__more-title { font-weight: 300; font-size: var(--step-1); letter-spacing: -0.01em; }
.reviews__arrows { display: flex; gap: var(--space-2); }
.reviews__arrow { width: 48px; height: 48px; background: none; border: 1px solid color-mix(in oklab, var(--ink) 28%, transparent); border-radius: var(--radius-control); color: var(--ink); font: 300 1.2rem/1 var(--font-display); transition: border-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), opacity var(--dur-micro) var(--ease-out); }
.reviews__arrow:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.reviews__arrow:disabled { opacity: .3; cursor: default; }
.reviews__track { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--space-5)) / 3); gap: var(--space-5); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.reviews__track::-webkit-scrollbar { display: none; }
.review--card { scroll-snap-align: start; display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-6); background: var(--plane); border: 1px solid var(--line); border-radius: var(--radius-control); }
.review--card .review__text { color: var(--ink); max-width: none; }
.review__by { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2) var(--space-3); margin-top: auto; padding-top: var(--space-4); border-top: 1px solid var(--line); }

/* ── 7. Контакты: фасад, адрес крупно, панель действий, неделя ── */
.contact { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; display: grid; align-items: end; padding-block: var(--section) var(--space-9); }
.contact__bg { position: absolute; inset: 0; z-index: -2; margin: 0; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
/* Тон вывески: зелёный слева под текстом, ночь снизу — для читаемости */
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, oklch(0.24 0.045 165 / .94) 0, oklch(0.24 0.045 165 / .72) 46%, oklch(0.24 0.045 165 / .2) 78%),
              linear-gradient(0deg, var(--surface) 0, oklch(0.165 0.008 70 / 0) 38%); }
.contact__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--space-6); align-items: end; }
.contact__main { grid-column: 1 / 8; }
.contact__addr { margin-top: var(--space-4); font-weight: 200; font-size: clamp(3.6rem, 7.4vw, 7.4rem); line-height: .9; letter-spacing: -0.045em; }
.contact__no { display: flex; align-items: center; gap: .14em; font-size: 1.9em; line-height: .82; color: var(--accent); text-shadow: 0 0 .35em oklch(0.70 0.14 65 / .35); }
/* Метка места — горящий ромб рядом с номером дома */
.rhomb--no { position: relative; width: .42em; height: .42em; flex: none; --sw: 14; }
.contact .status { background: oklch(0.165 0.008 70 / .72); }
.contact__near { margin-block: var(--space-5) var(--space-5); font: 600 var(--step--1)/1.4 var(--font-utility); letter-spacing: var(--track-utility); text-transform: uppercase; }
.contact__phone { display: block; width: fit-content; margin-top: var(--space-6); font: 200 clamp(2rem, 3.6vw, 3.4rem)/1 var(--font-display); letter-spacing: -0.03em; text-decoration: none; border-bottom: 1px solid color-mix(in oklab, var(--ink) 30%, transparent); padding-bottom: var(--space-2); transition: color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out); }
.contact__phone:hover { color: var(--accent); border-color: var(--accent); }
.actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--space-7); border: 1px solid color-mix(in oklab, var(--ink) 28%, transparent); border-radius: var(--radius-control); background: oklch(0.165 0.008 70 / .55); }
.actions li:first-child { grid-column: 1 / -1; }
.actions li:nth-child(n+2) .action { border-top: 1px solid color-mix(in oklab, var(--ink) 20%, transparent); }
.actions li:nth-child(n+3) .action { border-left: 1px solid color-mix(in oklab, var(--ink) 20%, transparent); }
.action { position: relative; display: grid; gap: var(--space-2); height: 100%; padding: var(--space-5) var(--space-5) var(--space-5); text-decoration: none; transition: background-color var(--dur-micro) var(--ease-out); }
.action::after { content: "→"; position: absolute; right: var(--space-4); top: var(--space-4); color: var(--accent); transition: transform var(--dur-micro) var(--ease-out); }
.action:hover { background: oklch(0.93 0.018 80 / .07); }
.action:hover::after { transform: translateX(3px); }
.action__t { font: 600 var(--step--1)/1.2 var(--font-utility); letter-spacing: .08em; padding-right: var(--space-5); text-transform: uppercase; }
.action__s { font-size: var(--step--1); color: var(--ink-muted); }
.action--main { background: var(--button); }
.action--main:hover { background: var(--button-hover); }
.action--main::after, .action--main .action__s { color: var(--ink); }
.week { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: grid; grid-template-columns: repeat(7, 1fr); max-width: 40rem; border: 1px solid color-mix(in oklab, var(--ink) 22%, transparent); border-radius: var(--radius-control); background: oklch(0.165 0.008 70 / .55); }
.week li { position: relative; display: grid; justify-items: center; gap: var(--space-1); padding: var(--space-4) var(--space-1); color: var(--ink-muted); font-variant-numeric: tabular-nums; font-size: var(--step--1); }
.week li + li { border-left: 1px solid var(--line); }
.week__d { font: 600 var(--step--1)/1 var(--font-utility); letter-spacing: .12em; text-transform: uppercase; margin-bottom: var(--space-1); }
.week li.is-today { color: var(--ink); background: oklch(0.70 0.14 65 / .14); }
.week li.is-today .week__d { color: var(--accent); }
.week li.is-today::before { content: ""; position: absolute; top: -5px; left: 50%; width: 8px; height: 8px; background: var(--surface); border: var(--signature-stroke) solid var(--signature-line); transform: translateX(-50%) rotate(45deg); filter: var(--signature-glow); }
.contact__info { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: var(--space-4) var(--space-7); margin-top: var(--space-6); }
.contact__info dt { font: 600 var(--step--1)/1 var(--font-utility); letter-spacing: var(--track-utility); text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--space-1); }
.contact__info dd { margin: 0; }
.contact__info a { text-decoration-color: var(--accent); text-underline-offset: 4px; }


/* Подзаголовок внутри главы (жареные роллы, виски, фреши…) */
.dishes__sub { grid-column: 1 / -1; margin-top: var(--space-6); padding-bottom: var(--space-2); border-bottom: 1px solid color-mix(in oklab, var(--ink) 30%, transparent); font: 600 var(--step--1)/1.3 var(--font-utility); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.dishes__sub:first-child { margin-top: var(--space-3); }
.kitchen__terms { margin-top: var(--space-2); font-size: var(--step--1); font-style: italic; color: var(--ink-muted); }
button.link-arrow { background: none; border: 0; padding-inline: 0; cursor: pointer; }

/* Книга бара — тёмная плоскость поверх света зала */
.menu--bar { margin-top: var(--space-9); padding: var(--space-6); background: oklch(0.165 0.008 70 / .9); border: 1px solid var(--line); border-radius: var(--radius-control); }
.menu--bar .menu__book { min-height: 34rem; }
.menu--bar .chapter { padding-top: var(--space-8); }

/* Окна: выбор карты для отзыва и приветствие */
.modal { width: min(30rem, calc(100% - 2 * var(--gutter))); padding: var(--space-7) var(--space-6) var(--space-6); border: 1px solid color-mix(in oklab, var(--ink) 18%, transparent); border-radius: var(--radius-control); background: var(--plane); color: var(--ink); box-shadow: 0 24px 60px oklch(0.08 0.01 70 / .6); overflow: visible; }
.modal::backdrop { background: oklch(0.1 0.01 70 / .72); }
.modal[open] { animation: modal-in 320ms var(--ease-out); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.modal__close { position: absolute; top: var(--space-2); right: var(--space-2); width: 44px; height: 44px; background: none; border: 0; font: 300 1.8rem/1 var(--font-display); color: var(--ink-muted); }
.modal__close:hover { color: var(--ink); }
.modal .idx { margin-bottom: var(--space-3); }
.modal__title { font-weight: 300; font-size: var(--step-2); line-height: 1.1; letter-spacing: -0.02em; padding-right: var(--space-6); }
.modal__title:focus { outline: none; }
.modal__text { margin-top: var(--space-3); color: var(--ink-muted); }
.modal__list { margin-top: var(--space-5); border-top: 1px solid var(--line); }
.modal__link { display: flex; justify-content: space-between; align-items: center; padding: var(--space-4) var(--space-1); border-bottom: 1px solid var(--line); text-decoration: none; font: 300 var(--step-1)/1.2 var(--font-display); transition: color var(--dur-micro) var(--ease-out), padding var(--dur-micro) var(--ease-out); }
.modal__link::after { content: "→"; color: var(--accent); }
.modal__link:hover { color: var(--accent); padding-left: var(--space-3); }
/* Анонимный отзыв — отдельно от карт: другой путь, через Telegram-бот */
.modal__link--anon { margin-top: var(--space-5); border: 1px solid color-mix(in oklab, var(--accent) 45%, transparent); border-radius: var(--radius-control); padding: var(--space-4) var(--space-4); }
.modal__link--anon:hover { padding-left: var(--space-5); border-color: var(--accent); }
.modal__link-t { display: grid; gap: var(--space-1); }
.modal__link-t small { font: 400 var(--step--1)/1.3 var(--font-body); color: var(--ink-muted); }
.modal--welcome { text-align: center; padding-top: var(--space-9); }
.modal--welcome .modal__title { padding-right: 0; }
.rhomb--modal { position: absolute; left: 50%; top: 0; width: 4.5rem; height: 4.5rem; transform: translate(-50%, -50%); --sw: 12; }
.rhomb--modal path:first-child { fill: var(--plane); }
.modal__actions { display: grid; gap: var(--space-3); margin-top: var(--space-6); }
.modal__actions .btn { width: 100%; padding-inline: var(--space-3); letter-spacing: .1em; white-space: nowrap; }

/* Подвал */
.footer { padding-block: var(--space-7); border-top: 1px solid var(--line); color: var(--ink-muted); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--space-4); padding-right: var(--space-10); }
.footer__slogan { font: 200 var(--step-2)/1 var(--font-display); letter-spacing: -0.03em; color: var(--ink); }

@media (max-width: 1200px) {
  .hero__phone { display: none; }
  .nav__list { gap: var(--space-4); }
  .nav__list li + li::before { margin-right: var(--space-4); }
  .header__inner { gap: var(--space-6); }
}

/* ── Мобильная композиция ──────────────────────────── */
@media (max-width: 900px) {
  /* Отзывы на телефоне: ромб срезан правым краем экрана, фраза наезжает на его низ, отзывы лесенкой */
  .reviews__stage { grid-template-columns: minmax(0, 1fr); }
  .reviews__head, .reviews__score, .review--lead, .review--2, .review--3 { grid-column: 1; grid-row: auto; }
  .reviews__score { width: 92vw; margin: var(--space-3) calc(-1 * var(--gutter) - 22vw) 0 0; }
  .rhomb--score { --sw: 2; }
  .reviews__num { transform: translateX(-14%); gap: var(--space-2); }
  .reviews__value { font-size: clamp(5.25rem, 26vw, 7rem); }
  .reviews__of { font-size: .75rem; max-width: 13ch; }
  .review--lead { margin-top: -6vw; }
  .review__pull { font-size: clamp(3.1rem, 15vw, 4.25rem); max-width: 8ch; margin-bottom: var(--space-6); text-indent: -.2em; }
  .review--2, .review--3 { margin-top: var(--space-8); }
  .review--3 { margin-left: 14vw; }
  .review__head { font-size: var(--step-2); }
  .reviews__more-head { flex-wrap: wrap; }
  .reviews__cta { order: 3; flex: 1 1 100%; margin-left: 0; justify-content: space-between; }
  .reviews__cta { flex-wrap: wrap; gap: var(--space-3); }
  .reviews__cta .btn { flex: 1 1 100%; }
  .reviews__cta .link-arrow { white-space: nowrap; }
  .review__pull { text-indent: 0; }
  .reviews__more { grid-row: auto; order: 1; margin-top: var(--space-8); }
  .reviews__arrows { display: none; }
  ul.reviews__track { grid-auto-columns: 84%; gap: var(--space-3); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .review--card { padding: var(--space-5); }
  .menu__nav { top: var(--header-h, 64px); }

  .header__inner { min-height: 64px; }
  .logo img { height: 30px; }
  .header__phone { display: none; }
  .header__call { display: grid; place-items: center; width: 44px; height: 44px; color: var(--accent); }
  .header__inner { gap: var(--space-2); }
  .header__actions { gap: var(--space-1); }
  .header__actions .lang { display: flex; }
  .header__actions .lang button { min-width: 30px; min-height: 44px; padding: 0 2px; }
  .mobile-menu .lang { display: none; }
  .mobile-menu { background: var(--surface); min-height: calc(100svh - 64px); }
  .mobile-menu ul { font: 300 var(--step-3)/1.15 var(--font-display); letter-spacing: -0.02em; }
  .mobile-menu .nav__list li + li::before { content: none; }
  .mobile-menu__foot { display: grid; gap: var(--space-4); justify-items: start; margin-top: var(--space-7); }
  .mobile-menu__phone { font-size: var(--step-1); text-decoration: none; }
  .socials { display: flex; gap: var(--space-5); }
  .mobile-menu .socials { font: 600 var(--step--1)/1 var(--font-utility); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }

  /* Первый экран: зал сверху с целым ромбом, слоган и бронь — в первом экране */
  .hero { min-height: 0; display: block; padding-top: 30svh; }
  .hero__media { inset: 0 0 auto 0; height: 46svh; }
  .hero__media img { object-position: 50% 40%; }
  .hero::before { background: linear-gradient(0deg, var(--surface) 50%, oklch(0.165 0.008 70 / 0) 72%); }
  .rhomb--hero { width: 50vw; left: 25vw; top: 3svh; transform: none; --sw: 4.5; }
  .hero__inner { padding-block: 0 var(--space-7); }
  .hero__title { margin-block: var(--space-4); }
  .hero__lead { font-size: var(--step-0); }
  .hero__addr { line-height: 2; letter-spacing: .14em; }
  .hero__actions { margin-top: var(--space-5); }
  .hero__actions { display: grid; grid-template-columns: 1fr; gap: var(--space-2); }
  .hero__actions .btn { width: 100%; max-width: 26rem; }
  .hero__actions .btn--ghost { padding-block: .95em; }
  .hero__phone { display: none; }


  /* Кухня: афиша под заголовком, одна колонка */
  .kitchen__top { grid-template-columns: 1fr; margin-bottom: var(--space-8); }
  .kitchen__head, .signature-dish { grid-column: 1; }

  /* Веранды: метка, заголовок, DJ; два кадра на всю ширину один под другим */
  .terrace__head { grid-template-columns: 1fr; gap: var(--space-4); margin-bottom: var(--space-6); }
  .terrace__head > * { grid-column: 1; grid-row: auto; }
  .terrace__head .idx { margin-bottom: 0; }
  .terrace__lead { font-size: var(--step-0); }
  .terrace__pair { grid-template-columns: 1fr; gap: var(--space-7); margin-inline: calc(-1 * var(--gutter)); }
  .terrace__frame--day, .terrace__frame--night { grid-column: 1; width: auto; margin-top: 0; justify-self: stretch; }
  .terrace__frame--day .slot { aspect-ratio: 4 / 5; }
  .terrace__frame figcaption { padding-inline: var(--gutter); margin-top: var(--space-3); }
  .signature-dish { justify-items: start; text-align: left; margin-top: var(--space-5); }
  .signature-dish__num { font-size: clamp(6rem, 31vw, 8.5rem); }
  .signature-dish__k { width: 4rem; }
  .table-strip { height: 9.5rem; margin-bottom: var(--space-7); }
  .menu { display: block; }
  .menu__nav { position: sticky; top: var(--header-h, 64px); z-index: 5; margin-inline: calc(-1 * var(--gutter)); background: var(--surface); border-bottom: 1px solid var(--line); }
  .menu__nav ol { display: flex; gap: var(--space-2); overflow-x: auto; padding: 0 var(--gutter); border: 0; scrollbar-width: none; scroll-snap-type: x proximity; }
  .menu__nav a { display: flex; gap: var(--space-2); padding: var(--space-4) var(--space-3); border: 0; white-space: nowrap; scroll-snap-align: start; }
  .menu__nav a::before { left: 50%; top: auto; bottom: 0; width: 100%; height: 2px; border: 0; background: var(--accent); transform: translateX(-50%) scaleX(0); filter: none; }
  .menu__nav a.is-active::before { transform: translateX(-50%) scaleX(1); }
  .menu__c { display: none; }
  .menu__book { padding-left: 0; }
  .chapter { padding-top: var(--space-7); }
  .menu__nav a { font: inherit; }
  .menu__book { min-height: 0; }
  .chapter__ghost { font-size: 4.2rem; top: var(--space-4); }
  .dishes { grid-template-columns: 1fr; }
  .dish--hero .dish__name, .dish--hero .price { font-size: var(--step-1); }

  /* Бар */
  .bar__hint { margin-left: 0; }
  .halls__head { justify-items: start; text-align: left; }
  .wall { margin-top: var(--space-7); font-size: 2.6rem; }
  .menu--bar { margin-inline: calc(-1 * var(--gutter)); padding: var(--space-5) var(--gutter); border-inline: 0; }
  .menu--bar .menu__nav { background: oklch(0.165 0.008 70 / 1); }
  .menu--bar .menu__book { min-height: 0; }
  .wall__item { display: block; white-space: normal; }
  /* телефон: стойка отдельным резким кадром в начале блока, стена коктейлей — на чистом тёмном */
  .bar__photo { position: relative; width: auto; height: auto; aspect-ratio: 4 / 5; max-height: 78svh; margin: calc(-1 * var(--section)) 0 var(--space-6); }
  .bar__photo img { object-position: 50% 28%; }
  .bar::before { content: none; }
  
  /* Фото заведения: две колонки — вертикаль на всю ширину, пары, панорама */
  .gallery__mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; gap: var(--space-2); }
  .gallery__head { grid-column: 1 / -1; grid-row: auto; margin-bottom: var(--space-5); padding-bottom: 0; }
  .gallery__lead { margin-top: var(--space-4); }
  .gallery__item { grid-column: auto; grid-row: auto; aspect-ratio: 3 / 4; }
  .gallery__item--a { grid-column: 1 / -1; aspect-ratio: 4 / 5; order: 1; }
  .gallery__item--c { order: 2; } .gallery__item--d { order: 3; }
  .gallery__item--b { grid-column: 1 / -1; aspect-ratio: 16 / 9; order: 4; }
  .gallery__item--f { order: 5; } .gallery__item--e { order: 6; }
  .gallery__btn { position: relative; }
  .js .gallery__item { transition-delay: 0s; }
  /* окно — три ряда ровно на высоту экрана, без прокрутки: × / кадр / ← подпись → */
  .lightbox { padding: max(var(--space-3), env(safe-area-inset-top)) var(--space-3) max(var(--space-3), env(safe-area-inset-bottom)); overflow: hidden; }
  .lightbox[open] { grid-template: "close close close" auto "img img img" minmax(0, 1fr) "prev cap next" auto / auto 1fr auto; place-items: stretch; gap: var(--space-3); }
  .lightbox__fig { display: contents; }
  .lightbox__img { grid-area: img; width: 100%; height: 100%; max-height: none; object-fit: contain; }
  .lightbox__cap { grid-area: cap; align-self: center; font-size: var(--step--1); line-height: 1.35; }
  .lightbox__nav, .lightbox__close { position: static; translate: none; width: 48px; height: 48px; }
  .lightbox__nav--prev { grid-area: prev; align-self: center; }
  .lightbox__nav--next { grid-area: next; align-self: center; }
  .lightbox__close { grid-area: close; justify-self: end; }

  /* Контакты */
  .contact { min-height: 0; padding-block: 62vw var(--space-9); background: var(--green); }
  .contact__bg { bottom: auto; height: 92vw; }
  .contact::before { background: linear-gradient(0deg, var(--green) 0, var(--green) calc(100% - 92vw), oklch(0.32 0.045 165 / .55) calc(100% - 52vw), oklch(0.24 0.045 165 / .2) 100%); }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__main { grid-column: 1; }
  .contact__addr { font-size: 13vw; }
  .contact__phone { font-size: 9.4vw; }
  .actions { grid-template-columns: 1fr; }
  .actions li:nth-child(n+3) .action { border-left: 0; }
  .actions li:nth-child(n+2) .action { display: flex; justify-content: space-between; align-items: baseline; padding: var(--space-4) var(--space-5); }
  .actions li:nth-child(n+2) .action::after { position: static; margin-left: var(--space-3); }
  .actions li:nth-child(n+2) .action__s { margin-left: auto; }
  .week { max-width: none; }
  .week li { padding-inline: 0; font-size: .78rem; }
  .contact__info { grid-template-columns: 1fr; }

  .halls__stage { height: 72svh; }
  .halls__pair { grid-template-columns: 1fr; }
  .halls__grid { display: flex; gap: var(--space-3); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }

  body:has(.burger[aria-expanded="true"]) .pu-badge, body.is-actions .pu-badge { display: none; }
  
  .footer__inner { padding-right: 0; padding-bottom: var(--space-8); }

  /* Липкая бронь: видна после первого экрана, прячется у контактов */
  .sticky-cta { display: flex; gap: var(--space-3); }
  .sticky-cta.is-away { transform: translateY(calc(100% + 2 * var(--gutter))); }
  .sticky-cta .btn { flex: 1; width: auto; box-shadow: 0 8px 24px oklch(0.1 0.01 70 / .5); }
  .sticky-cta__call { display: grid; place-items: center; flex: 0 0 56px; background: var(--green); color: var(--ink); border-radius: var(--radius-control); }
}

@media (prefers-reduced-motion: reduce) {
  .reviews__track { scroll-behavior: auto; }
  .table-strip { animation: none; width: auto; overflow-x: auto; }
  .menu.is-tabs .chapter.is-active { animation: none; }
  .js .rhomb[data-ignite] path, .js .rhomb.is-lit path { stroke-dashoffset: 0; opacity: var(--lit, 1); animation: none; }
  .js .hero__media img, .js .hero__inner > * { animation: none; }
  .reveal { filter: none; }
  .js .gallery__item { opacity: 1; filter: none; transition: none; }
  .gallery__btn img { transition: none; }
  .lightbox[open] { animation: none; }
}

/* ── Плашка PowerUP (чужой фирменный элемент, не из токенов) ── */
/* Плашка PowerUP — в духе «Powered by Netlify» (пилюля, отступ 18px от угла, системный шрифт 13px)
   в фирменных цветах powerup-go.uz. Самодостаточна: не зависит от токенов проекта. Одна и та же во всех проектах —
   текст, цвета и размеры не менять без явной просьбы. */
.pu-badge {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: flex; align-items: center; gap: 9px; white-space: nowrap;
  padding: 8px 12px 8px 16px;
  border: 1px solid rgba(212, 175, 55, 0.22); border-radius: 999px;
  background: linear-gradient(180deg, #151515, #050505);
  color: #F0F0F0; text-decoration: none;
  font: 600 13px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: .01em; -webkit-font-smoothing: antialiased;
  transition: border-color .2s ease, bottom .5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pu-badge:hover { border-color: rgba(212, 175, 55, 0.55); }
.pu-badge:focus-visible { outline: 2px solid #D4AF37; outline-offset: 3px; }
.pu-badge__label { color: #D5D5D5; font-weight: 500; }
.pu-badge img { display: block; width: auto; height: 26px; max-width: none; flex: none; }
@media (prefers-reduced-motion: reduce) { .pu-badge { transition: none; } }

@media (max-width: 900px) { .sticky-cta.is-on:not(.is-away) ~ .pu-badge { bottom: 94px; } }
/* Если у сайта есть липкая нижняя панель (кнопки на телефоне) — поднять плашку над ней, пока панель видна.
   Пример для static-starter (.sticky-cta.is-on, высота ~76px):
   @media (max-width: 900px) { .sticky-cta.is-on:not(.is-away) ~ .pu-badge { bottom: 94px; } } */
