/* Шрифты — свои, с хостинга (не Google Fonts): грузятся всегда, в т.ч. из России.
   Вариативные woff2: Cormorant Garamond 300–700 (+ курсив), Jost 300–600; кириллица + латиница. */
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/cormorant-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/cormorant-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/cormorant-italic-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/cormorant-italic-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jost"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("../fonts/jost-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Jost"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("../fonts/jost-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =============================================================
   ЧЁРНЫЙ ЖЕМЧУГ — премиум-ресторан. Шаблон.
   Палитра: чёрный + золото. Правьте только переменные в :root,
   если нужно быстро поменять оттенки / шрифты / отступы.
   ============================================================= */

:root {
  /* --- Цвет --- */
  --bg:            #0a0a0a;   /* основной фон */
  --bg-2:          #111110;   /* секции-чередование */
  --bg-3:          #16150f;   /* карточки / тёплый уголь */
  --ink:           #efeee9;  /* основной текст (светлый) */
  --ink-dim:       #a6a29a;   /* второстепенный текст */
  --line:          #2a2823;   /* тонкие линии/границы */

  --gold:          #c8a24a;   /* основное золото */
  --gold-bright:   #e6c878;   /* блик */
  --gold-deep:     #8a6d2f;   /* тень золота */
  --gold-grad:     linear-gradient(135deg, #e6c878 0%, #c8a24a 45%, #9a7a34 100%);

  /* --- Типографика --- */
  --font-display:  "Cormorant Garamond", "Playfair Display", "Times New Roman", Georgia, serif;
  --font-body:     "Jost", "Inter", "Helvetica Neue", Arial, sans-serif;
  --tracking:      .22em;     /* межбуквенное для надписей капсом */

  /* --- Ритм --- */
  --section-y:     clamp(4.5rem, 12vw, 10rem);
  --wrap:          1200px;
  --wrap-narrow:   760px;
  --radius:        4px;   /* лёгкое скругление кнопок, рамок, карточек */
  --ease:          cubic-bezier(.22, .61, .36, 1);

  /* --- Фоновая сеточка (диагональная, 45°) + точки в узлах --- */
  /* Крупнее ячейка / меньше alpha = менее заметно.
     --grid-dot — точки в углах ромбиков, чуть ярче линий.
     Шаг точек = диагональ ячейки (--grid-cell * √2), в шахматном порядке. */
  --grid-cell:     34px;
  --grid-diag:     48.08px;            /* 34 * √2 — размер тайла сетки */
  /* один фон на весь сайт — яркость как на начальном экране.
     Сетка = ПОВТОРЯЮЩИЙСЯ ТАЙЛ (SVG data-URI), привязан к углу (0,0):
     не зависит от JS и размера окна → идентичен на всех страницах,
     при переходах НЕ пересчитывается и НЕ «дёргается». */
  --grid: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='48.08'%20height='48.08'%3E%3Cpath%20d='M0%200L48.08%2048.08M48.08%200L0%2048.08'%20stroke='rgba(214,178,110,0.15)'%20stroke-width='1'/%3E%3Cg%20fill='rgba(224,194,130,0.30)'%3E%3Ccircle%20cx='0'%20cy='0'%20r='1.3'/%3E%3Ccircle%20cx='48.08'%20cy='0'%20r='1.3'/%3E%3Ccircle%20cx='0'%20cy='48.08'%20r='1.3'/%3E%3Ccircle%20cx='48.08'%20cy='48.08'%20r='1.3'/%3E%3Ccircle%20cx='24.04'%20cy='24.04'%20r='1.3'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%;
  overflow-y: scroll;        /* полоса прокрутки зарезервирована всегда — ширина вьюпорта
                                не «прыгает» между страницами */
  background-color: #0a0a0a; /* самый ранний кадр при навигации — уже тёмный, без белой вспышки */
  color-scheme: dark;
  /* мягкий скролл-снап по секциям (как на theessence.ru): "proximity", а не "mandatory" —
     подхватывает и мягко доводит страницу до начала секции, когда прокрутка уже
     остановилась рядом; не бьёт по content-heavy страницам (меню, формы, галерея),
     как это сделал бы жёсткий mandatory + 100vh-панели. Выключается в reduced-motion ниже. */
  scroll-snap-type: y proximity;
}
/* Чтобы фиксированная шапка не перекрывала заголовок секции при переходе по якорю —
   используем ТОЛЬКО scroll-padding-top на скроллере (html, выше), а не scroll-margin-top
   на самих секциях: два одновременных механизма с разными значениями (было и здесь,
   и ниже — [id] { scroll-margin-top: 110px }) давали то 96, то 110px, и разделы после
   клика по меню выравнивались под шапку на разную высоту. Теперь источник один —
   секции ложатся точно по одной линии независимо от того, <section> это или .page-head. */
/* точки привязки скролл-снапа — ТОЛЬКО начало каждого именованного раздела
   (.hero + .page-head), не каждой внутренней .section/подвал. Раньше сюда входили
   ещё .section и .site-footer — лишние промежуточные снап-точки на длинных прыжках
   не нужны и только мешают (см. ниже про main.js → initAnchorScroll — реальная
   причина «зависания» длинных прыжков была не в них, а в scroll-behavior:smooth). */
.hero, .page-head { scroll-snap-align: start; }
body {
  background-color: var(--bg);   /* фоновая сеточка — в блоке «ФОНОВАЯ СЕТОЧКА» ниже */
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.7;
  font-weight: 300;
  letter-spacing: .01em;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--gold); color: #000; }

/* ---------- helpers ---------- */
/* контейнер контента — приём с theessence.ru: max-width + margin:auto +
   ТЕКУЧИЙ боковой отступ через clamp(), а не фиксированные 3rem. На узких
   экранах отступ уже (меньше 1.25rem не бывает), на широких — свободнее
   (растёт вместе с vw, но не больше 3rem), вместо того чтобы контент
   упирался в фиксированный зазор при любой ширине окна. */
.wrap        { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 3rem); }
.wrap--narrow{ max-width: var(--wrap-narrow); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 3rem); }
.section     { padding-block: var(--section-y); position: relative; }
/* один фон на весь сайт (как на начальном экране) — матовых секций больше нет,
   сетка body::before видна сквозь все секции одинаково */
.section--alt{ background-color: transparent; }

.eyebrow {
  font-size: .72rem;
  letter-spacing: var(--tracking);
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: .9rem;
}
.eyebrow::before {
  content: ""; width: 34px; height: 1px; background: var(--gold-grad);
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: ""; width: 34px; height: 1px; background: var(--gold-grad);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: .01em;
}
h2.title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: 1.2rem 0 1.5rem;
}
.title--center { text-align: center; }
.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  color: var(--ink-dim);
  font-weight: 300;
}

.gold-text { color: var(--gold); }
.muted { color: var(--ink-dim); }

.divider {
  width: 1px; height: 64px; margin: 2.5rem auto;
  background: linear-gradient(var(--gold), transparent);
}

/* ---------- buttons ---------- */
.btn {
  --pad: .95rem 2.2rem;
  display: inline-block;
  padding: var(--pad);
  font-size: .78rem;
  letter-spacing: var(--tracking);
  text-transform: uppercase;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  color: var(--gold);
  background: transparent;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.btn:hover { background: var(--gold-grad); color: #000; border-color: transparent; }
.btn--solid { background: var(--gold-grad); color: #000; border-color: transparent; }
.btn--solid:hover { filter: brightness(1.1); }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--gold); background: transparent; color: var(--gold); }
.btn--sm { padding: .7rem 1.5rem; font-size: .7rem; }

/* ---------- header / nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  /* без backdrop-filter: он создаёт containing block для fixed-потомков
     и ломает мобильное меню-оверлей. Достаточно плотного фона. */
  background: rgba(10,10,10,.97);
  padding-block: 1rem;
  border-color: var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--ink);
}
.brand__logo { width: 51px; height: auto; flex: none; }
.brand__text {
  font-family: var(--font-display);
  font-size: 1.28rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand__text small { display: block; font-size: .5rem; letter-spacing: .32em; color: var(--gold); margin-top: .2rem; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.2rem); }
.nav a {
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color .3s;
  position: relative;
  white-space: nowrap;
}
.nav a:hover { color: var(--gold); }
.nav a[aria-current="page"] { color: var(--gold); }   /* текущая страница */
/* кнопка «Забронировать» в шапке — как обычный .btn: золото в покое,
   тёмный текст на золотом фоне при наведении (иначе не читается) */
.nav a.btn { color: var(--gold); }
.nav a.btn:hover { color: #000; }
.nav a.btn[aria-current="page"] { background: var(--gold-grad); color: #000; border-color: transparent; }
.nav__lang { display: flex; gap: .4rem; align-items: center; color: var(--ink-dim); font-size: .72rem; letter-spacing: .1em; }
.nav__lang button.is-active { color: var(--gold); }

.nav-toggle { display: none; width: 30px; height: 18px; position: relative; z-index: 110; }
.nav-toggle span { position: absolute; left: 0; width: 100%; height: 1px; background: var(--ink); transition: .3s var(--ease); }
.nav-toggle span:nth-child(1){ top: 0; }
.nav-toggle span:nth-child(2){ top: 50%; }
.nav-toggle span:nth-child(3){ bottom: 0; }
body.nav-open .nav-toggle span:nth-child(1){ top: 50%; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2){ opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3){ bottom: 50%; transform: rotate(-45deg); }

/* ---------- hero (только главная) ---------- */
.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  padding: 7rem 1.5rem 8.5rem;
  isolation: isolate;
  overflow: hidden;
}

/* ---------- шапка подстраницы (вместо 100vh hero) ---------- */
.page-head {
  position: relative;
  text-align: center;
  padding: clamp(8.5rem, 20vh, 12rem) 1.5rem clamp(2.5rem, 7vw, 4.5rem);
  overflow: hidden;
}
.page-head h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6.5vw, 4.4rem);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: 1rem;
}
.page-head .lead { margin: 1.4rem auto 0; max-width: 54ch; }
.hero__media {
  position: absolute; inset: 0; z-index: -2;
  /* без фото — только тёмный фон под сеткой */
  background:
    radial-gradient(120% 80% at 50% 0%, #1c1a14 0%, #0a0a0a 60%),
    #0a0a0a;
}
/* сетка первого экрана — отдельным слоем НАД фото/затемнением (не внутри
   .hero__media, у которого transform ломает background-attachment: fixed).
   Линии чуть плотнее общей сетки — чтобы сквозь затемнение читались так же,
   как на обычных чёрных секциях. */
.hero::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: var(--grid) 0 0 repeat;   /* тот же тайл, что и на всём сайте — фаза совпадает */
}
/* логотип на первом экране: чёрный знак в золотой обводке, без круга */
.hero__logo {
  position: relative;
  display: grid; place-items: center;
  width: clamp(132px, 18vw, 184px);
  aspect-ratio: 1;
  margin: 0 auto 1.9rem;
}
.hero__mark {
  width: 100%; height: auto; display: block;
  overflow: visible;
}
.hero h1 {
  font-size: clamp(2.3rem, 6.5vw, 5rem);
  letter-spacing: .05em;
  text-transform: uppercase;
  text-wrap: balance;   /* двусловное имя на узких экранах переносится ровно по словам */
}
.hero__sub {
  margin-top: 1.4rem;
  font-size: .8rem;
  letter-spacing: var(--tracking);
  text-transform: uppercase;
  color: var(--gold);
}
.hero__tagline { margin: 1.6rem auto 0; max-width: 40ch; color: var(--ink-dim); }
.hero__actions { margin-top: 2.2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* тонкий индикатор прокрутки: подпись + волосок, по которому стекает блик */
.hero__scroll {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
  font-size: .58rem; letter-spacing: .34em; text-transform: uppercase; color: var(--ink-dim);
}
.hero__scroll i {
  width: 1px; height: 52px; background: var(--line); position: relative; overflow: hidden;
}
.hero__scroll i::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%;
  background: linear-gradient(var(--gold-bright), transparent);
}

/* ---------- generic two-col ---------- */
.split {
  display: grid;
  /* minmax(0, 1fr), не голый 1fr — приём с theessence.ru: без него колонка
     с неразрывным содержимым (длинное слово, широкий кадр) может продавить
     трек шире отведённой доли и сместить вёрстку на разных ширинах окна. */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.media-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.media-frame::before {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--ink-dim); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  text-align: center; padding: 1rem;
}
.media-frame--wide { aspect-ratio: 16 / 10; }
.media-frame img, .gallery figure img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* ---------- формы: ловушка для ботов и статус отправки ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin-top: .8rem; font-size: .85rem; min-height: 1.2em; }
.form-status.is-ok { color: var(--gold); }
.form-status.is-err { color: #d98b7a; }

/* ---------- stats / capacity ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: var(--bg); padding: 2.2rem 1.4rem; text-align: center; }
.stat b {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--gold);
  font-weight: 500;
  display: block;
}
.stat span { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-dim); }

/* ---------- menu ---------- */
.menu-tabs { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3.5rem; }
.menu-tab {
  font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-dim);
  padding-bottom: .5rem; border-bottom: 1px solid transparent; transition: .3s;
}
.menu-tab.is-active { color: var(--gold); border-color: var(--gold); }

.menu-list { display: grid; gap: 1.6rem; }
.menu-list[hidden] { display: none; }   /* иначе display: grid перебивает hidden и видны все разделы сразу */
.menu-item { display: grid; gap: .35rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.menu-item__head { display: flex; align-items: baseline; gap: 1rem; }
.menu-item__name { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); }
.menu-item__dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-.3rem); }
.menu-item__price { color: var(--gold); font-size: 1rem; white-space: nowrap; }
.menu-item__desc { color: var(--ink-dim); font-size: .92rem; }
.menu-note { margin-top: 3rem; text-align: center; font-size: .85rem; color: var(--ink-dim); }
.menu-set {
  text-align: center; border: 1px solid var(--gold); border-radius: var(--radius); padding: 2.5rem;
  max-width: 520px; margin: 0 auto 3rem;
}
.menu-set b { font-family: var(--font-display); font-size: 2.6rem; color: var(--gold); font-weight: 500; }

/* ---------- events ---------- */
.event-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.event-card { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem; transition: border-color .4s; }
.event-card:hover { border-color: var(--gold-deep); }
.event-card h3 { font-size: 1.5rem; margin-bottom: .8rem; }
.event-card p { font-size: .9rem; color: var(--ink-dim); }
.event-card ul { list-style: none; margin-top: 1.2rem; font-size: .85rem; color: var(--ink-dim); }
.event-card li { padding: .35rem 0; border-bottom: 1px solid var(--line); }
.event-card li::before { content: "— "; color: var(--gold); }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.gallery figure { aspect-ratio: 1; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); position: relative; overflow: hidden; }
.gallery figure::after {
  content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--ink-dim); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; text-align: center; padding: .5rem;
}
.gallery figure.tall { grid-row: span 2; aspect-ratio: auto; }

/* ---------- press ---------- */
.press-row { display: flex; flex-wrap: wrap; gap: 3rem 4rem; align-items: center; justify-content: center; }
.press-row span { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .1em; color: var(--ink-dim); }
.quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; margin-top: 4rem; }
.quote { border-left: 1px solid var(--gold); padding-left: 1.6rem; }
.quote p { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.4; }
.quote cite { display: block; margin-top: 1rem; font-style: normal; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }

/* ---------- info list (dress code, policies) ---------- */
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 4rem; }
.info-item h4 { font-size: 1.15rem; color: var(--gold); margin-bottom: .5rem; }
.info-item p { font-size: .9rem; color: var(--ink-dim); }

/* ---------- reservation / contact ---------- */
.reserve { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 5rem); }
.form-field { margin-bottom: 1.4rem; }
.form-field label { display: block; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: .5rem; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink);
  padding: .9rem 1rem; font: inherit; border-radius: var(--radius); transition: border-color .3s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: none; border-color: var(--gold); }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.form-note { font-size: .78rem; color: var(--ink-dim); margin-top: 1rem; }

.contact-block { display: grid; gap: 1.5rem; }
.contact-block h4 { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .4rem; }
.contact-block a:hover { color: var(--gold); }
.map-frame { margin-top: 1.5rem; width: 100%; aspect-ratio: 3/2; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-3); display: grid; place-items: center; color: var(--ink-dim); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; }
iframe.map-frame { display: block; }

/* ---------- footer ---------- */
.site-footer {
  background-color: transparent;   /* единый фон-сетка виден и в подвале */
  border-top: 1px solid var(--line); padding-block: 4rem 2.5rem;
}
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.footer-grid h5 { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.footer-grid a, .footer-grid p { display: block; font-size: .85rem; color: var(--ink-dim); padding: .25rem 0; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-sub { display: flex; gap: .5rem; margin-top: .8rem; max-width: 320px; }
.footer-sub input { flex: 1; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); padding: .6rem .8rem; font: inherit; font-size: .85rem; }
.footer-sub input:focus { outline: none; border-color: var(--gold); }
.footer-sub .btn { align-self: stretch; }
.footer-legal { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; font-size: .72rem; color: #6b675e; }

/* ---------- newsletter ---------- */
.newsletter { text-align: center; }
.newsletter form { display: flex; gap: .8rem; max-width: 460px; margin: 2rem auto 0; }
.newsletter input { flex: 1; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); padding: .9rem 1rem; font: inherit; }
.newsletter input:focus { outline: none; border-color: var(--gold); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- mobile ---------- */
@media (max-width: 900px) {
  .split, .reserve { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__media { order: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-grid, .info-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .nav {
    position: fixed; top: 0; left: 0; z-index: 105;
    width: 100vw; height: 100dvh;
    flex-direction: column; justify-content: center;
    background: rgba(8,8,8,.98);
    gap: 2rem;
    transform: translateY(-100%); transition: transform .5s var(--ease);
  }
  body.nav-open .nav { transform: none; }
  .nav a { font-size: 1rem; }
  .nav-toggle { display: block; }
  /* дескриптор под названием прячем — на мобильном места нет */
  .brand__text small { display: none; }
  .brand__text { font-size: 1.15rem; letter-spacing: .12em; }
  .brand__logo { width: 45px; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .newsletter form { flex-direction: column; }
}

/* =============================================================
   ФОНОВАЯ СЕТОЧКА — только на «чёрных» зонах
   Ритм по странице: первый экран → сетка, следующая (матовая, --bg-2)
   секция → без сетки, следующая чёрная → снова сетка, и т.д.
   Матовые секции (.section--alt), карточки и рамки (--bg-3) остаются гладкими.
   Сетка сплошная (background-attachment: fixed) — линии не «едут».
   Правится через --grid-cell / --grid-line в :root.
   ============================================================= */
/* Сетка — отдельный неподвижный слой body::before.
   z-index: 0 (НЕ -1!) — иначе слой уходит ПОД собственную заливку body и сетки
   не видно на страницах без .hero (там сетку даёт .hero::before). При z-index: 0
   слой рисуется поверх заливки body, но под всем контентом (main z-index 1 и выше).
   position: fixed → сетка неподвижна и не «дёргается» при фейде переходов.
   Одинаково видна на всех страницах и секциях (матовых секций нет). */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  background: var(--grid) 0 0 repeat;   /* тайл от угла (0,0) — статичен, JS не нужен */
}

/* --- Бегущие проблески вдоль линий сетки ---------------------
   Отдельный слой МЕЖДУ фоном-сеткой и контентом: position: fixed,
   поэтому при прокрутке НЕ едет (как и сама сетка). Контент — сверху
   (main/footer подняты z-index:1), матовые секции его перекрывают,
   так что проблески видны только на «чёрных» зонах, как и сетка.
   Слой создаётся из JS: main.js → initGlints. */
main, .site-footer { position: relative; z-index: 1; }

.glints {
  position: fixed; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
}
/* плавный ввод — ТОЛЬКО при самой первой генерации за сессию (класс ставит JS).
   При переходах штрихи берутся из sessionStorage в той же фазе и не «проступают» заново. */
.glints--intro { opacity: 0; animation: glints-in 1s ease .15s forwards; }
@keyframes glints-in { to { opacity: 1; } }
/* слой первого экрана: тот же fixed, но в стек-контексте .hero — над сеткой
   (.hero::before, z-index -1), под текстом; при прокрутке перекрывается
   следующей секцией, так что виден только на самом первом экране */
.glints--hero { z-index: -1; }

/* Каждый «проблеск» — тонкий световой штрих. Повёрнут на ±45° и едет вдоль
   своей оси, лёжа ровно на линии сетки: --glint-phase-a/b и центр вьюпорта
   (--glint-cx/cy) считаются в main.js. */
.glint {
  position: absolute; left: 0; top: 0;
  width: var(--len, 110px); height: 1px;   /* было 2px — вдвое тоньше */
  border-radius: 1px;
  /* золото: края — основное золото, сердцевина — светлое золото (без белого) */
  background: linear-gradient(90deg,
    transparent,
    rgba(200, 162, 74, .75) 30%,
    #e9cc7c 50%,
    rgba(200, 162, 74, .75) 70%,
    transparent);
  box-shadow: 0 0 4px rgba(200, 162, 74, .5);
  filter: blur(.2px);
  opacity: 0;
  will-change: transform, opacity;
  transform-origin: 0 0;
  transform:
    translate(var(--glint-cx, 50vw), var(--glint-cy, 50vh))
    rotate(var(--rot, 45deg))
    translate(calc(var(--from, 0px) - var(--len, 110px) / 2),
              calc(var(--perp, 0px) + var(--phase, 0px)));
  animation: glint-run var(--dur, 6s) linear var(--delay, 0s) infinite;
}
@keyframes glint-run {
  0% {
    opacity: 0;
    transform: translate(var(--glint-cx), var(--glint-cy)) rotate(var(--rot))
      translate(calc(var(--from) - var(--len) / 2), calc(var(--perp) + var(--phase, 0px)));
  }
  9%, 40% { opacity: var(--peak, .7); }
  50% { opacity: 0; }
  50.01%, 100% {
    opacity: 0;
    transform: translate(var(--glint-cx), var(--glint-cy)) rotate(var(--rot))
      translate(calc(var(--to) - var(--len) / 2), calc(var(--perp) + var(--phase, 0px)));
  }
}

/* =============================================================
   ЖИВОСТЬ / МИКРО-АНИМАЦИИ
   Всё сдержанно. Отключается через prefers-reduced-motion (в самом низу).
   Две «ручки» скорости:
     --glint-speed — как часто пробегает блик по логотипу/вордмарку/рамке
     --glint-sweep — длительность одиночного блик-свипа по заголовку/плитке
   Больше значение = медленнее и реже.
   ============================================================= */
:root {
  --glint-speed: 16s;
  --glint-sweep: 2.4s;
  /* плавная кривая для всех бликов/переливов: мягкий разгон и мягкое торможение */
  --glint-ease: cubic-bezier(.5, 0, .2, 1);
}

/* --- 1. Бегущий блик по золотым надписям-логотипам ---------------- */
/* Применяется к .brand и .footer-brand: по золоту раз в --glint-speed
   пробегает световой блик. Текст красится градиентом (background-clip). */
.brand__text,
.footer-brand {
  background-image: linear-gradient(
    100deg,
    var(--ink) 0 26%,
    #d8c48f 42%,
    var(--gold-bright) 50%,
    #d8c48f 58%,
    var(--ink) 74% 100%);
  background-size: 340% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glint-text var(--glint-speed) var(--glint-ease) infinite;
}
.footer-brand { animation-delay: 2s; }
@keyframes glint-text {
  0%, 66%, 100% { background-position: 100% 0; }
  85%           { background-position: -35% 0; }
}
/* дескриптор под логотипом не должен наследовать прозрачную заливку */
.brand__text small { -webkit-text-fill-color: var(--gold); background: none; }

/* --- 2. Блик-свип по заголовкам секций при появлении -------------- */
/* .title получает .title-sweep (через JS) когда секция входит во вьюпорт —
   одна диагональная вспышка. Плюс повтор при наведении. */
.title { position: relative; }
.title::after {
  content: "";
  position: absolute; inset: -0.1em -0.3em;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(230, 200, 120, .10) 42%,
    rgba(255, 244, 214, .34) 50%,
    rgba(230, 200, 120, .10) 58%,
    transparent 70%);
  background-size: 260% 100%;
  background-position: 135% 0;
  opacity: 0;
  /* мягкие края — без светлой «плашки» с жёсткой границей */
  -webkit-mask: radial-gradient(closest-side, #000 55%, transparent);
          mask: radial-gradient(closest-side, #000 55%, transparent);
}
.title.title-sweep::after,
.title:hover::after { animation: glint-sweep var(--glint-sweep) var(--glint-ease); }
@keyframes glint-sweep {
  0%   { opacity: 0; background-position: 135% 0; }
  22%  { opacity: 1; }
  72%  { opacity: 1; }
  100% { opacity: 0; background-position: -75% 0; }
}

/* --- 3. Кнопки: световой отблеск на hover ------------------------- */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: "";
  position: absolute; top: 0; left: 0; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,246,224,.38), transparent);
  transform: translateX(-180%) skewX(-18deg);
  pointer-events: none;
}
/* ровный пробег без задержки в начале */
.btn:hover::after { animation: btn-shine 1.05s ease-out; }
@keyframes btn-shine {
  from { transform: translateX(-180%) skewX(-18deg); }
  to   { transform: translateX(320%) skewX(-18deg); }
}

/* мягкое золотое свечение под основной кнопкой, чуть пульсирует */
.btn--solid { box-shadow: 0 0 0 rgba(200,162,74,0); animation: btn-breathe 8s ease-in-out infinite; }
@keyframes btn-breathe {
  50% { box-shadow: 0 6px 34px -8px rgba(200,162,74,.45); }
}

/* --- 4. Навигация: подчёркивание вырастает из центра ------------- */
.nav a:not(.btn)::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--gold-grad);
  transform: scaleX(0); transform-origin: center;
  transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }

/* --- 5. Монограмма на первом экране: парение + ореол ------------- */
/* окантовка мягко парит; перелив по знаку — анимированный градиент внутри SVG (16s) */
.hero__logo { animation: mark-float 11s ease-in-out infinite; transform-origin: center; }
@keyframes mark-float {
  50% { transform: translateY(-9px); }   /* без свечения — box-shadow давал видимый квадрат */
}

/* --- 6. Фон первого экрана: очень медленный наезд --------------- */
.hero__media { animation: hero-drift 40s ease-in-out infinite alternate; }
@keyframes hero-drift { to { transform: scale(1.08); } }

/* --- 7. Индикатор прокрутки: блик стекает по волоску вниз ------- */
.hero__scroll i::after { animation: scroll-drip 4.2s var(--glint-ease) infinite; }
@keyframes scroll-drip {
  0%   { transform: translateY(0);    opacity: 0; }
  18%  { opacity: 1; }
  68%  { opacity: 1; }
  100% { transform: translateY(74px); opacity: 0; }
}
.hero__scroll span { animation: nudge 4s ease-in-out infinite; }
@keyframes nudge { 50% { opacity: .5; } }

/* --- 7b. Вордмарк на первом экране ----
   Тёмные буквы («чёрная жемчужина») в тонкой светлой обводке. Поверх — несколько
   искр разной толщины (создаются в main.js), что вразнобой проходят под 35°,
   как отблески на гранях бриллианта. Плюс мягкий тёплый ореол. */
.hero__title {
  position: relative;
  --dark: #110f0b;
  background: none;
  -webkit-text-fill-color: var(--dark);
  color: var(--dark);
  -webkit-text-stroke: 1.1px rgba(228, 210, 172, .88);   /* тонкая изящная обводка */
  paint-order: stroke fill;
  animation: wordmark-aura 9s ease-in-out infinite;
}
/* переливной ореол — тёплый, мягко «дышит» */
@keyframes wordmark-aura {
  0%, 100% { text-shadow: 0 0 18px rgba(196,140,58,.28), 0 0 46px rgba(150,108,64,.15); }
  50%      { text-shadow: 0 0 24px rgba(236,178,88,.42), 0 0 56px rgba(200,140,58,.20); }
}

/* искра-проблеск: копия слова, из прозрачного градиента с жёлто-оранжевым
   ядром, наклонённым на 35°. Толщина — var(--band), тайминг — var(--dur/delay/peak). */
.hero__spark {
  position: absolute; left: 0; right: 0; top: 0;
  pointer-events: none;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0;
  background-image: linear-gradient(125deg,
    transparent calc(50% - var(--band, 6%)),
    #ffc94f  calc(50% - var(--band, 6%) / 2.6),
    #fff4de  50%,
    #ffc94f  calc(50% + var(--band, 6%) / 2.6),
    transparent calc(50% + var(--band, 6%)));
  background-size: 300% 100%;
  background-position: 145% 0;
  -webkit-background-clip: text; background-clip: text;
  opacity: 0;
  will-change: background-position, opacity;
  animation: wm-spark var(--dur, 9s) cubic-bezier(.4, 0, .3, 1) var(--delay, 0s) infinite;
}
@keyframes wm-spark {
  0%           { opacity: 0; background-position: 145% 0; }
  16%          { opacity: var(--peak, .8); }
  38%          { opacity: var(--peak, .8); }
  56%          { opacity: 0; background-position: -45% 0; }
  56.01%, 100% { opacity: 0; background-position: -45% 0; }
}

/* --- 8. Разделитель-волосок: перелив по вертикали -------------- */
.divider {
  background: linear-gradient(var(--gold), transparent);
  background-size: 100% 260%;
  animation: divider-flow 7s ease-in-out infinite;
}
@keyframes divider-flow {
  0%, 100% { background-position: 0 -60%; }
  50%      { background-position: 0 40%; }
}

/* --- 9. Линии у надзаголовков (eyebrow) вырастают ------------- */
.reveal .eyebrow::before,
.reveal .eyebrow::after { width: 0; transition: width .7s var(--ease) .15s; }
.reveal.is-in .eyebrow::before,
.reveal.is-in .eyebrow::after { width: 34px; }

/* --- 10. Ступенчатое появление плиток в сетках --------------- */
.reveal.is-in .stat,
.reveal.is-in .event-card,
.reveal.is-in .gallery figure,
.reveal.is-in .menu-item,
.reveal.is-in .quote,
.reveal.is-in .info-item {
  animation: tile-in .7s var(--ease) both;
}
.reveal.is-in .stat:nth-child(2),
.reveal.is-in .event-card:nth-child(2),
.reveal.is-in .menu-item:nth-child(2) { animation-delay: .08s; }
.reveal.is-in .stat:nth-child(3),
.reveal.is-in .event-card:nth-child(3),
.reveal.is-in .menu-item:nth-child(3) { animation-delay: .16s; }
.reveal.is-in .stat:nth-child(4),
.reveal.is-in .menu-item:nth-child(4) { animation-delay: .24s; }
.reveal.is-in .menu-item:nth-child(5) { animation-delay: .32s; }
@keyframes tile-in { from { opacity: 0; transform: translateY(16px); } }

/* --- 11. Карточки: золотая рамка «оживает» на hover --------- */
.event-card, .media-frame, .gallery figure {
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.event-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 18px 50px -22px rgba(200,162,74,.4);
}
.gallery figure:hover { transform: scale(1.015); border-color: var(--gold-deep); z-index: 1; }
.gallery figure::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(115deg, transparent 30%, rgba(255,246,224,.06) 42%, rgba(255,246,224,.32) 50%, rgba(255,246,224,.06) 58%, transparent 70%);
  background-size: 260% 100%; background-position: 150% 0;
}
.gallery figure:hover::before { animation: glint-sweep var(--glint-sweep) var(--glint-ease); }

/* --- 12. Цифры-показатели: лёгкий подсвет на появлении ------ */
.reveal.is-in .stat b { animation: stat-pop 1.2s var(--glint-ease) both; }
@keyframes stat-pop {
  from { opacity: 0; transform: translateY(8px); text-shadow: 0 0 18px rgba(200,162,74,.5); }
  to   { text-shadow: 0 0 0 rgba(200,162,74,0); }
}

/* --- 13. Пункты меню: имя чуть уходит вправо, цена вспыхивает - */
.menu-item { transition: border-color .4s var(--ease); }
.menu-item__name { display: inline-block; transition: transform .35s var(--ease), color .35s; }
.menu-item__price { transition: color .35s, text-shadow .35s; }
.menu-item:hover { border-color: var(--gold-deep); }
.menu-item:hover .menu-item__name { transform: translateX(6px); color: #f9f2e2; }
.menu-item:hover .menu-item__price { color: var(--gold-bright); text-shadow: 0 0 14px rgba(200,162,74,.5); }

/* --- 14. Сет-меню в рамке: контур дышит + периодический блик --- */
.menu-set {
  position: relative; overflow: hidden;
  animation: set-breathe 9s ease-in-out infinite;
}
@keyframes set-breathe {
  50% { border-color: var(--gold-bright); box-shadow: inset 0 0 40px -18px rgba(200,162,74,.5); }
}
.menu-set::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,246,224,.05) 42%, rgba(255,246,224,.2) 50%, rgba(255,246,224,.05) 58%, transparent 70%);
  background-size: 280% 100%; background-position: 150% 0;
  animation: frame-flow 18s var(--glint-ease) infinite;
}
@keyframes frame-flow {
  0%, 68%, 100% { background-position: 150% 0; }
  88%           { background-position: -70% 0; }
}

/* --- 15. Ссылки-контакты: подчёркивание-росчерк ------------ */
.contact-block a, .footer-grid a {
  background-image: linear-gradient(var(--gold), var(--gold));
  background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .3s var(--ease), color .3s;
}
.contact-block a:hover, .footer-grid a:hover { background-size: 100% 1px; }

/* --- 16. Плавающие кнопки (музыка + «Наверх») -------------- */
.floaters {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  display: flex; flex-direction: column; gap: .6rem;
}
.floaters button {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold);
  border: 1px solid var(--line);
  background: rgba(10,10,10,.78); backdrop-filter: blur(6px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), border-color .3s, color .3s;
}
.floaters button:hover { border-color: var(--gold); color: var(--gold-bright); }

.sound-toggle[hidden] { display: none; }
.sound-toggle:hover { transform: scale(1.06); }
.sound-toggle .sound-on { transition: none; }

/* «Наверх»: скрыта у верха страницы, показывается по классу is-visible */
.to-top {
  opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-2px); }
/* блик пробегает по стрелке при наведении */
.to-top svg { transition: transform .3s var(--ease); }
.to-top:hover svg { transform: translateY(-2px); }
.sound-toggle .sound-wave { opacity: 0; transition: opacity .3s; }
.sound-toggle[aria-pressed="true"] .sound-slash { opacity: 0; }
.sound-toggle[aria-pressed="true"] .sound-wave { opacity: 1; }
.sound-toggle[aria-pressed="true"] {
  color: var(--gold-bright);
  animation: sound-ring 5s ease-in-out infinite;
}
@keyframes sound-ring {
  50% { box-shadow: 0 0 0 6px rgba(200,162,74,.08), 0 0 22px -4px rgba(200,162,74,.5); }
}

/* =============================================================
   ПЕРЕХОД МЕЖДУ СТРАНИЦАМИ — простой фейд контента, без оверлея и лого.
   Фон body (цвет + фикс-сетка) и слой штрихов .glints НЕ трогаются —
   гаснет только контент (шапка / main / подвал / floaters), затем на новой
   странице так же плавно проявляется. Состояние — класс body.fx-active:
   инлайн-скрипт ставит его сразу на загрузке (контент не мигает),
   main.js → initPageFx снимает после load и ставит снова при уходе на ссылку.
   Без JS ничего не прячется — сайт работает.
   ============================================================= */
main, .site-footer, .floaters {
  transition: opacity 1.15s cubic-bezier(.4, 0, .2, 1);
}
/* шапка при переходе НЕ гаснет — логотип и меню одинаковы на всех страницах,
   поэтому остаются на месте, а под ними плавно меняется контент */
body.fx-active main,
body.fx-active .site-footer,
body.fx-active .floaters {
  opacity: 0;
  pointer-events: none;
}
/* пока контент гаснет — замораживаем анимации внутри hero (перелив вордмарка,
   искры, ауру): их непрерывная перерисовка под груп-прозрачностью = мерцание. */
body.fx-active .hero *,
body.fx-active .hero::before { animation-play-state: paused !important; }

/* --- reduced motion: всё выключаем ------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .brand__text, .footer-brand { -webkit-text-fill-color: var(--ink); background: none; }
  /* вордмарк в покое: тёмные буквы в тонкой обводке, без анимации */
  .hero__title { -webkit-text-fill-color: #16130e; color: #16130e; background: none; text-shadow: none; }
  .hero__spark { display: none; }
  .reveal.is-in .eyebrow::before, .reveal.is-in .eyebrow::after { width: 34px; }
  .glints { display: none; }
}

/* ===================================================================
   РУБИН — маленькая фишка под курсором.
   1) Рубиновые алмазики с гранями (SVG-огранка), медленно вращаются
      вокруг вертикальной оси и вспыхивают проблеском.
   2) Под мышью — рубиновый свет на карточках, плитках и фото.
   3) Ссылки: вместо полосок — алмазик над ссылкой (курсор его не закрывает).
   На тач-экранах и при reduced-motion всё статично и спокойно.
   =================================================================== */
:root {
  --ruby:      #e0283e;   /* яркий рубиновый красный */
  --ruby-hi:   #ff5a6a;   /* блик рубина */
  --ruby-glow: rgba(232, 48, 68, .45);
  /* огранённый рубин (бриллиантовая огранка, вид сбоку): 8 граней короны,
     18 граней павильона; каждая грань переливается своим циклом (игра камня),
     проблеск пробегает по граням слева направо, по кантику переливается блик, как у логотипа,
     вспыхивают пять искр — всё внутри SVG */
  --gem: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cdefs%3E%3ClinearGradient id='cr' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='.28'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0'/%3E%3C/linearGradient%3E%3ClinearGradient id='lt' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23000' stop-opacity='0'/%3E%3Cstop offset='.55' stop-color='%23000' stop-opacity='.05'/%3E%3Cstop offset='1' stop-color='%23000' stop-opacity='.45'/%3E%3C/linearGradient%3E%3CradialGradient id='cu' cx='.5' cy='1' r='.7'%3E%3Cstop offset='0' stop-color='%23000' stop-opacity='.55'/%3E%3Cstop offset='1' stop-color='%23000' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='g' cx='.5' cy='.5' r='.5'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.5' stop-color='%23fff4f5'/%3E%3Cstop offset='1' stop-color='%23ff8796' stop-opacity='0'/%3E%3C/radialGradient%3E%3ClinearGradient id='rs' x1='0' y1='0' x2='.72' y2='.22'%3E%3Cstop offset='0' stop-color='%23ffd6dc' stop-opacity='0'/%3E%3Cstop offset='.32' stop-color='%23ffd6dc' stop-opacity='0'/%3E%3Cstop offset='.5' stop-color='%23fff'/%3E%3Cstop offset='.68' stop-color='%23ffd6dc' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23ffd6dc' stop-opacity='0'/%3E%3CanimateTransform attributeName='gradientTransform' type='translate' values='-.7 0;.7 0;-.7 0' dur='9s' calcMode='spline' keyTimes='0;.5;1' keySplines='.45 0 .55 1;.45 0 .55 1' repeatCount='indefinite'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg stroke='%23ffc9d0' stroke-opacity='.32' stroke-width='.28' stroke-linejoin='round'%3E%3Cpolygon points='2,15 12,6 8,15'%3E%3Canimate attributeName='fill' values='%23e3203c;%23ff4d63;%23b0102a;%23ff8796;%23e3203c' dur='7s' begin='-0.00s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='8,15 12,6 14,15'%3E%3Canimate attributeName='fill' values='%23b0102a;%23e3203c;%237a0818;%23ff4d63;%23b0102a' dur='7s' begin='-0.90s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='12,6 20,6 14,15'%3E%3Canimate attributeName='fill' values='%23ff4d63;%23ffb3bd;%23e3203c;%23b0102a;%23ff4d63' dur='7s' begin='-1.80s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='14,15 20,6 20,15'%3E%3Canimate attributeName='fill' values='%23e3203c;%23ff4d63;%23b0102a;%23ff8796;%23e3203c' dur='7s' begin='-2.70s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='20,15 20,6 26,15'%3E%3Canimate attributeName='fill' values='%23b0102a;%23e3203c;%237a0818;%23ff4d63;%23b0102a' dur='7s' begin='-3.60s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='20,6 28,6 26,15'%3E%3Canimate attributeName='fill' values='%23ff4d63;%23ffb3bd;%23e3203c;%23b0102a;%23ff4d63' dur='7s' begin='-4.50s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='26,15 28,6 32,15'%3E%3Canimate attributeName='fill' values='%23e3203c;%23ff4d63;%23b0102a;%23ff8796;%23e3203c' dur='7s' begin='-5.40s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='32,15 28,6 38,15'%3E%3Canimate attributeName='fill' values='%23b0102a;%23e3203c;%237a0818;%23ff4d63;%23b0102a' dur='7s' begin='-6.30s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='2,15 8,15 11.30,24.24'%3E%3Canimate attributeName='fill' values='%237a0818;%23b0102a;%234a030c;%23e3203c;%237a0818' dur='7.7s' begin='-0.30s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='2,15 11.30,24.24 20,37'%3E%3Canimate attributeName='fill' values='%234a030c;%237a0818;%232a0207;%23b0102a;%234a030c' dur='7.7s' begin='-0.83s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='11.30,24.24 8,15 20,37'%3E%3Canimate attributeName='fill' values='%23b0102a;%23e3203c;%237a0818;%23ff4d63;%23b0102a' dur='7.7s' begin='-1.36s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='8,15 14,15 14.78,24.24'%3E%3Canimate attributeName='fill' values='%237a0818;%23b0102a;%234a030c;%23e3203c;%237a0818' dur='7.7s' begin='-1.89s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='8,15 14.78,24.24 20,37'%3E%3Canimate attributeName='fill' values='%234a030c;%237a0818;%232a0207;%23b0102a;%234a030c' dur='7.7s' begin='-2.42s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='14.78,24.24 14,15 20,37'%3E%3Canimate attributeName='fill' values='%23b0102a;%23e3203c;%237a0818;%23ff4d63;%23b0102a' dur='7.7s' begin='-2.95s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='14,15 20,15 18.26,24.24'%3E%3Canimate attributeName='fill' values='%237a0818;%23b0102a;%234a030c;%23e3203c;%237a0818' dur='7.7s' begin='-3.48s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='14,15 18.26,24.24 20,37'%3E%3Canimate attributeName='fill' values='%234a030c;%237a0818;%232a0207;%23b0102a;%234a030c' dur='7.7s' begin='-4.01s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='18.26,24.24 20,15 20,37'%3E%3Canimate attributeName='fill' values='%23b0102a;%23e3203c;%237a0818;%23ff4d63;%23b0102a' dur='7.7s' begin='-4.54s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='20,15 26,15 21.74,24.24'%3E%3Canimate attributeName='fill' values='%237a0818;%23b0102a;%234a030c;%23e3203c;%237a0818' dur='7.7s' begin='-5.07s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='20,15 21.74,24.24 20,37'%3E%3Canimate attributeName='fill' values='%234a030c;%237a0818;%232a0207;%23b0102a;%234a030c' dur='7.7s' begin='-5.60s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='21.74,24.24 26,15 20,37'%3E%3Canimate attributeName='fill' values='%23b0102a;%23e3203c;%237a0818;%23ff4d63;%23b0102a' dur='7.7s' begin='-6.13s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='26,15 32,15 25.22,24.24'%3E%3Canimate attributeName='fill' values='%237a0818;%23b0102a;%234a030c;%23e3203c;%237a0818' dur='7.7s' begin='-6.66s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='26,15 25.22,24.24 20,37'%3E%3Canimate attributeName='fill' values='%234a030c;%237a0818;%232a0207;%23b0102a;%234a030c' dur='7.7s' begin='-7.19s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='25.22,24.24 32,15 20,37'%3E%3Canimate attributeName='fill' values='%23b0102a;%23e3203c;%237a0818;%23ff4d63;%23b0102a' dur='7.7s' begin='-7.72s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='32,15 38,15 28.70,24.24'%3E%3Canimate attributeName='fill' values='%237a0818;%23b0102a;%234a030c;%23e3203c;%237a0818' dur='7.7s' begin='-8.25s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='32,15 28.70,24.24 20,37'%3E%3Canimate attributeName='fill' values='%234a030c;%237a0818;%232a0207;%23b0102a;%234a030c' dur='7.7s' begin='-8.78s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='28.70,24.24 38,15 20,37'%3E%3Canimate attributeName='fill' values='%23b0102a;%23e3203c;%237a0818;%23ff4d63;%23b0102a' dur='7.7s' begin='-9.31s' repeatCount='indefinite'/%3E%3C/polygon%3E%3C/g%3E%3Cpolygon points='2,15 12,6 28,6 38,15' fill='url(%23cr)'/%3E%3Cpolygon points='2,15 12,6 28,6 38,15 20,37' fill='url(%23lt)'/%3E%3Cpolygon points='2,15 38,15 20,37' fill='url(%23cu)'/%3E%3Cpolygon points='2,15 12,6 8,15' fill='%23fff' opacity='0'%3E%3Canimate attributeName='opacity' values='0;.7;0;0' keyTimes='0;.035;.1;1' dur='8s' begin='1.23s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='8,15 12,6 14,15' fill='%23fff' opacity='0'%3E%3Canimate attributeName='opacity' values='0;.7;0;0' keyTimes='0;.035;.1;1' dur='8s' begin='1.41s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='12,6 20,6 14,15' fill='%23fff' opacity='0'%3E%3Canimate attributeName='opacity' values='0;.7;0;0' keyTimes='0;.035;.1;1' dur='8s' begin='1.59s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='14,15 20,6 20,15' fill='%23fff' opacity='0'%3E%3Canimate attributeName='opacity' values='0;.7;0;0' keyTimes='0;.035;.1;1' dur='8s' begin='1.71s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='20,15 20,6 26,15' fill='%23fff' opacity='0'%3E%3Canimate attributeName='opacity' values='0;.7;0;0' keyTimes='0;.035;.1;1' dur='8s' begin='1.89s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='20,6 28,6 26,15' fill='%23fff' opacity='0'%3E%3Canimate attributeName='opacity' values='0;.7;0;0' keyTimes='0;.035;.1;1' dur='8s' begin='2.01s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='26,15 28,6 32,15' fill='%23fff' opacity='0'%3E%3Canimate attributeName='opacity' values='0;.7;0;0' keyTimes='0;.035;.1;1' dur='8s' begin='2.19s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='32,15 28,6 38,15' fill='%23fff' opacity='0'%3E%3Canimate attributeName='opacity' values='0;.7;0;0' keyTimes='0;.035;.1;1' dur='8s' begin='2.37s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='2,15 8,15 11.30,24.24' fill='%23fff' opacity='0'%3E%3Canimate attributeName='opacity' values='0;.42;0;0' keyTimes='0;.035;.1;1' dur='8s' begin='1.22s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='11.30,24.24 8,15 20,37' fill='%23fff' opacity='0'%3E%3Canimate attributeName='opacity' values='0;.42;0;0' keyTimes='0;.035;.1;1' dur='8s' begin='1.49s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='8,15 14.78,24.24 20,37' fill='%23fff' opacity='0'%3E%3Canimate attributeName='opacity' values='0;.42;0;0' keyTimes='0;.035;.1;1' dur='8s' begin='1.54s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='14,15 20,15 18.26,24.24' fill='%23fff' opacity='0'%3E%3Canimate attributeName='opacity' values='0;.42;0;0' keyTimes='0;.035;.1;1' dur='8s' begin='1.68s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='18.26,24.24 20,15 20,37' fill='%23fff' opacity='0'%3E%3Canimate attributeName='opacity' values='0;.42;0;0' keyTimes='0;.035;.1;1' dur='8s' begin='1.77s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='20,15 21.74,24.24 20,37' fill='%23fff' opacity='0'%3E%3Canimate attributeName='opacity' values='0;.42;0;0' keyTimes='0;.035;.1;1' dur='8s' begin='1.83s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='26,15 32,15 25.22,24.24' fill='%23fff' opacity='0'%3E%3Canimate attributeName='opacity' values='0;.42;0;0' keyTimes='0;.035;.1;1' dur='8s' begin='2.15s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='25.22,24.24 32,15 20,37' fill='%23fff' opacity='0'%3E%3Canimate attributeName='opacity' values='0;.42;0;0' keyTimes='0;.035;.1;1' dur='8s' begin='2.06s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='32,15 28.70,24.24 20,37' fill='%23fff' opacity='0'%3E%3Canimate attributeName='opacity' values='0;.42;0;0' keyTimes='0;.035;.1;1' dur='8s' begin='2.11s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpath d='M2 15H38' stroke='%23ffd6dc' stroke-opacity='.55' stroke-width='.45'/%3E%3Cpath d='M12.3 6.2H27.7' stroke='%23fff' stroke-opacity='.75' stroke-width='.45'/%3E%3Cpath d='M2 15 12 6H28L38 15 20 37Z' fill='none' stroke='%233a0209' stroke-opacity='.6' stroke-width='.5' stroke-linejoin='round'/%3E%3Cg fill='none' stroke='url(%23rs)' stroke-linejoin='round'%3E%3Cpath d='M2 15 12 6H28L38 15 20 37Z' stroke-width='2.8' stroke-opacity='.5'/%3E%3Cpath d='M2 15 12 6H28L38 15 20 37Z' stroke-width='.95'/%3E%3C/g%3E%3Cg transform='translate(13.5,7.5) scale(1.65)'%3E%3Cg%3E%3Cpath d='M0-5.5 0.55-0.55 5.5 0 0.55 0.55 0 5.5-0.55 0.55-5.5 0-0.55-0.55Z' fill='url(%23g)'/%3E%3CanimateTransform attributeName='transform' type='scale' values='0;0;1;0;0' keyTimes='0;0.47;.56;0.67;1' dur='8s' repeatCount='indefinite'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(24,20) scale(1.51)'%3E%3Cg%3E%3Cpath d='M0-5.5 0.55-0.55 5.5 0 0.55 0.55 0 5.5-0.55 0.55-5.5 0-0.55-0.55Z' fill='url(%23g)'/%3E%3CanimateTransform attributeName='transform' type='scale' values='0;0;1;0;0' keyTimes='0;0.09;.17;0.27;1' dur='10.5s' repeatCount='indefinite'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(31,11) scale(1.23)'%3E%3Cg%3E%3Cpath d='M0-5.5 0.55-0.55 5.5 0 0.55 0.55 0 5.5-0.55 0.55-5.5 0-0.55-0.55Z' fill='url(%23g)'/%3E%3CanimateTransform attributeName='transform' type='scale' values='0;0;1;0;0' keyTimes='0;0.75;.83;0.93;1' dur='9.3s' repeatCount='indefinite'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(15.5,25) scale(1.04)'%3E%3Cg%3E%3Cpath d='M0-5.5 0.55-0.55 5.5 0 0.55 0.55 0 5.5-0.55 0.55-5.5 0-0.55-0.55Z' fill='url(%23g)'/%3E%3CanimateTransform attributeName='transform' type='scale' values='0;0;1;0;0' keyTimes='0;0.30;.38;0.48;1' dur='11.7s' repeatCount='indefinite'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(7,13.5) scale(0.94)'%3E%3Cg%3E%3Cpath d='M0-5.5 0.55-0.55 5.5 0 0.55 0.55 0 5.5-0.55 0.55-5.5 0-0.55-0.55Z' fill='url(%23g)'/%3E%3CanimateTransform attributeName='transform' type='scale' values='0;0;1;0;0' keyTimes='0;0.61;.68;0.78;1' dur='12.9s' repeatCount='indefinite'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* камень «дышит»: лёгкое покачивание и мягкое свечение — сама игра граней
   и проблески анимированы внутри SVG */
@keyframes gem-turn {
  0%, 100% { transform: rotate(-4deg); filter: drop-shadow(0 0 2px var(--ruby-glow)); }
  50%      { transform: rotate(4deg);  filter: drop-shadow(0 0 6px var(--ruby-glow)); }
}

/* камень под заголовком раздела — всегда медленно вращается,
   при наведении на шапку раздела вращается быстрее и ярче */
.page-head h1::after {
  content: "";
  display: block;
  width: 26px; height: 26px;
  margin: 1.1rem auto 0;
  background: var(--gem) center / contain no-repeat;
  animation: gem-turn 9s linear infinite;
}
.page-head:hover h1::after { animation-duration: 4s; }

/* пункты меню в шапке: золотую черту под словом заменяет камень сверху
   (сверху — чтобы курсор-стрелка его не закрывал) —
   у активного пункта всегда, у остальных проявляется при наведении */
.nav a:not(.btn) { position: relative; }
.nav a:not(.btn)::after {
  left: 50%; right: auto; bottom: auto; top: -17px;
  width: 13px; height: 13px; margin-left: -6.5px;
  background: var(--gem) center / contain no-repeat;
  transform: none;
  opacity: 0;
  transition: opacity .35s var(--ease);
  animation: gem-turn 7s linear infinite;
}
.nav a:not(.btn):hover::after { transform: none; }
.nav a[aria-current="page"]:not(.btn)::after,
.nav a:not(.btn):hover::after { opacity: 1; }

/* вкладки меню: камень над активной и над вкладкой при наведении */
.menu-tab { position: relative; }
.menu-tab::after {
  content: "";
  position: absolute; left: 50%; top: -19px;
  width: 15px; height: 15px; margin-left: -7.5px;
  background: var(--gem) center / contain no-repeat;
  opacity: 0;
  transition: opacity .35s var(--ease);
  animation: gem-turn 8s linear infinite;
}
.menu-tab.is-active::after, .menu-tab:hover::after { opacity: 1; }
/* золотую черту под активной вкладкой заменяет камень */
.menu-tab.is-active { border-color: transparent; }

/* ФИШКА: мягкий свет цвета шампанского идёт за курсором — карточки банкетов,
   плитки «Интерьера», фото (координаты --mx/--my ставит main.js) */
.event-card, .info-item { position: relative; }
.event-card::before, .info-item::before,
.media-frame::before, .gallery figure::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%),
    rgba(238,210,150,.15), rgba(214,180,110,.05) 40%, transparent 70%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  z-index: 1;
}
.media-frame::before, .gallery figure::after { mix-blend-mode: screen; }
.event-card:hover::before, .info-item:hover::before,
.media-frame:hover::before, .gallery figure:hover::after { opacity: 1; }
/* фото под мышью — тонкая золотая кромка поверх рамки */
.media-frame:hover, .gallery figure:hover { box-shadow: inset 0 0 0 1px rgba(230,200,120,.55); }
/* и золотая нить по верхней кромке карточки банкета */
.event-card { overflow: hidden; }
.event-card::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  transform: scaleX(0);
  transition: transform .6s var(--ease);
}
.event-card:hover::after { transform: scaleX(1); }

/* --- Ссылки: полоски убраны, над ссылкой — рубиновый камень ------ */
.contact-block a, .footer-grid a, .footer-legal a, a.gold-text {
  background-image: none;
  position: relative;
}
.footer-grid a { width: fit-content; }
.contact-block a::after, .footer-grid a::after, .footer-legal a::after, a.gold-text::after {
  content: "";
  position: absolute; left: 50%; top: -15px;
  width: 13px; height: 13px; margin-left: -6.5px;
  background: var(--gem) center / contain no-repeat;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  animation: gem-turn 6s linear infinite paused;
  pointer-events: none;
}
.contact-block a:hover::after, .footer-grid a:hover::after, .footer-legal a:hover::after, a.gold-text:hover::after,
.contact-block a:focus-visible::after, .footer-grid a:focus-visible::after, .footer-legal a:focus-visible::after, a.gold-text:focus-visible::after {
  opacity: 1;
  transform: none;
  animation-play-state: running;
}
/* момент нажатия — ссылка вспыхивает рубином */
.contact-block a:active, .footer-grid a:active, .footer-legal a:active, a.gold-text:active { color: var(--ruby-hi); }
/* фокус с клавиатуры — аккуратная рубиновая рамка */
.contact-block a:focus-visible, .footer-grid a:focus-visible, .footer-legal a:focus-visible, a.gold-text:focus-visible {
  outline: 1px solid var(--ruby); outline-offset: 3px; border-radius: 2px;
}

/* выделение текста — рубин */
::selection { background: var(--ruby); color: #fff4ec; }

@media (hover: none), (prefers-reduced-motion: reduce) {
  .event-card::before, .info-item::before,
  .media-frame::before, .gallery figure::after { display: none; }
  .page-head h1::after, .nav a:not(.btn)::after, .menu-tab::after,
  .contact-block a::after, .footer-grid a::after, a.gold-text::after { animation: none; }
}

/* подвал: ссылки идут плотным списком — камень меньше и ближе к тексту */
.footer-grid a::after { width: 10px; height: 10px; margin-left: -5px; top: -6px; }
/* на фото свет чуть сильнее — светлые снимки «съедают» слабое свечение */
.media-frame::before, .gallery figure::after {
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%),
    rgba(240,214,156,.30), rgba(214,180,110,.10) 40%, transparent 70%);
}

/* Тонировка через раздел — ровно как первый экран.
   На первом экране сетка рисуется один раз поверх тёмной основы
   (.hero__media), а дальше по странице — дважды (общая сетка body::before
   + фиксированный слой .hero::before), поэтому там линии ярче.
   .tint подкладывает непрозрачную основу первого экрана: она закрывает
   общую сетку, остаётся одна — линии мягче, как в начале.
   Чередование: первый экран — есть, Концепция — нет, Кухня и бар — есть,
   Артисты — нет, Меню — есть, Доставка — нет, Интерьер — есть, Галерея — нет,
   Банкеты — есть, Заявка — нет, Контакты — есть, Адрес — нет.
   Края плавные; .tint--top / .tint--bottom — когда раздел из двух блоков. */
.tint { position: relative; }
.tint::before {
  content: "";
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 0%, #1c1a14 0%, #0a0a0a 60%),
    #0a0a0a;
  -webkit-mask: linear-gradient(180deg, transparent, #000 120px, #000 calc(100% - 120px), transparent);
          mask: linear-gradient(180deg, transparent, #000 120px, #000 calc(100% - 120px), transparent);
}
.tint--top::before {
  -webkit-mask: linear-gradient(180deg, transparent, #000 120px);
          mask: linear-gradient(180deg, transparent, #000 120px);
}
.tint--bottom::before {
  background: #0a0a0a;
  -webkit-mask: linear-gradient(180deg, #000 calc(100% - 120px), transparent);
          mask: linear-gradient(180deg, #000 calc(100% - 120px), transparent);
}

/* подвал: ссылки и так блочные — переносы <br> между ними давали
   двойные пустые строки (особенно заметно на телефоне) */
.footer-grid p br { display: none; }

/* телефон в шапке — тихо, без акцента: обычный регистр, чуть тусклее
   пунктов меню, тонкая вертикальная черта отделяет его от разделов */
.nav a.nav__phone {
  text-transform: none;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ink-dim);
  padding-left: clamp(1rem, 2.2vw, 2.2rem);
  border-left: 1px solid var(--line);
}
.nav a.nav__phone:hover { color: var(--gold); }
.nav a.nav__phone::after { margin-left: calc(-6.5px + clamp(1rem, 2.2vw, 2.2rem) / 2); }
@media (max-width: 900px) {
  .nav a.nav__phone { padding-left: 0; border-left: 0; font-size: .95rem; }
  .nav a.nav__phone::after { margin-left: -6.5px; }
}
/* на средних экранах (ноутбуки) места в шапке не хватает — номер прячем,
   он есть в контактах и подвале; на широких и в мобильном меню — виден */
@media (min-width: 1300px) and (max-width: 1499px) {
  .nav a.nav__phone { display: none; }
}

/* ===================================================================
   ЕДИНАЯ ТИПОГРАФИКА (2026-10-31)
   Две гарнитуры, у каждой своя роль:
   • Cormorant Garamond 500 — заголовки, названия, вводные фразы (курсив);
   • Jost 400 — основной текст; Jost 500 капсом с разрядкой — подписи,
     меню, кнопки. Ничего мельче 12px, основной текст 16–17.5px.
   Цвета: заголовки — --ink, текст — --ink-2, второстепенное — --ink-dim,
   подписи-метки — золото.
   =================================================================== */
:root {
  --ink-2:   #d9d4c9;   /* основной текст абзацев */
  --ink-dim: #b9b3a8;   /* второстепенный — светлее прежнего #a6a29a, читается на чёрном */
  --ink-faint: #8f897e; /* юр. строки, сноски */
}
body { font-weight: 400; font-size: clamp(16px, 1.05vw, 17.5px); line-height: 1.75; }

/* заголовки — Cormorant Medium: на чёрном тонкие штрихи 400 «тают» */
h1, h2, h3, h4, h5 { font-weight: 500; }
.hero h1, .page-head h1 { font-weight: 500; letter-spacing: .06em; }
h2.title { letter-spacing: .005em; line-height: 1.12; }

/* вводные фразы — курсив Cormorant: и под шапками разделов, и на первом экране */
.lead, .hero__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.25rem, 1.9vw, 1.55rem);
  line-height: 1.5;
  color: var(--ink-2);
  letter-spacing: .005em;
}

/* обычный текст абзацев */
.muted, .split__text p, .event-card p, .info-item p { color: var(--ink-2); }
.event-card p, .info-item p { font-size: 1rem; }
.event-card ul { font-size: .95rem; color: var(--ink-dim); }
.menu-item__name { font-weight: 500; font-size: 1.4rem; }
.menu-item__desc { font-size: .95rem; color: var(--ink-dim); }
.menu-item__price { font-weight: 500; letter-spacing: .04em; }
.note { font-size: .92rem; color: var(--ink-dim); }
.fine { font-size: .78rem; color: var(--ink-faint); }

/* подписи капсом: одна система — Jost 500, разрядка, не мельче 12px */
.eyebrow, .hero__sub, .stat span, .form-field label, .contact-block h4,
.footer-grid h5, .menu-tab, .btn, .nav a:not(.nav__phone) {
  font-weight: 500;
  letter-spacing: .2em;
}
.eyebrow, .stat span, .form-field label, .contact-block h4, .footer-grid h5 { font-size: .75rem; }
.hero__sub { font-size: .8rem; }
.menu-tab { font-size: .78rem; }
.nav a:not(.nav__phone) { font-size: .76rem; }
.nav a.nav__phone { font-size: .9rem; font-weight: 400; }
.btn { font-size: .78rem; }
.btn--sm { font-size: .74rem; }

/* формы и подвал */
.form-field input, .form-field select, .form-field textarea { font-size: 1rem; font-weight: 400; color: var(--ink); }
.form-note { font-size: .85rem; color: var(--ink-dim); }
.contact-block p, .contact-block a { color: var(--ink-2); }
.footer-grid a, .footer-grid p { font-size: .92rem; }
.footer-legal { font-size: .8rem; color: var(--ink-faint); }

/* ===================================================================
   КНОПКИ — вместо золотого «пятна» ювелирная рамка
   Основная: тёмное поле с лёгким золотым отсветом, золотая кромка
   и вторая тонкая рамка внутри (как паспарту), золотой текст.
   При наведении — рамка и текст светлеют, поле чуть теплеет;
   сплошной заливки больше нет ни в покое, ни под курсором.
   =================================================================== */
.btn--solid {
  background: linear-gradient(180deg, rgba(200,162,74,.16), rgba(200,162,74,.04));
  color: var(--gold-bright);
  border: 1px solid var(--gold);
  box-shadow: inset 0 0 0 3px var(--bg), inset 0 0 0 4px rgba(200,162,74,.38);
  animation: none;
}
.btn--solid:hover {
  filter: none;
  background: linear-gradient(180deg, rgba(200,162,74,.26), rgba(200,162,74,.08));
  color: #f3dc9a;
  border-color: var(--gold-bright);
  box-shadow: inset 0 0 0 3px var(--bg), inset 0 0 0 4px rgba(230,200,120,.6), 0 0 22px -6px rgba(200,162,74,.45);
}
/* обычная и «бронь в шапке»: под курсором тоже без заливки */
.btn:hover, .nav a.btn:hover {
  background: rgba(200,162,74,.12);
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}
.btn--ghost:hover { background: rgba(200,162,74,.06); }
.nav a.btn[aria-current="page"] {
  background: rgba(200,162,74,.14);
  color: var(--gold-bright);
  border-color: var(--gold);
}

/* ===================================================================
   ГРАНИЦЫ РАЗДЕЛОВ — тонкая золотая черта, к краям растворяется.
   Стоит в начале каждого раздела (там же, где меняется тонировка).
   =================================================================== */
main > .page-head, #kitchen, #artists, #gallery, #request, #address, .site-footer {
  border-style: solid;
  border-width: 1px 0 0;
  border-image: linear-gradient(90deg, transparent 6%, rgba(200,162,74,.30) 50%, transparent 94%) 1;
}

/* Телефоны — ссылка только на телефоне. На компьютере (есть мышь и наведение)
   номер — обычный текст: не кликается, без курсора-руки, без камня и вспышек. */
@media (hover: hover) and (pointer: fine) {
  a[href^="tel:"] { pointer-events: none; cursor: text; }
  a[href^="tel:"]::after { display: none; }
}

/* Белый текст — один оттенок, как белые буквы названия в шапке (--ink):
   абзацы и вводные фразы больше не отличаются от заголовков по тону */
:root { --ink-2: var(--ink); }

/* Весь «белый» текст — чуть кремовый (было холодное #efeee9):
   заголовки, абзацы, название в шапке и подвале — всё через --ink */
:root { --ink: #f1e8d5; }

/* Кант надписи «Чёрный Жемчуг» на первом экране — тоньше
   (было 1.1px), на телефоне ещё тоньше */
.hero__title { -webkit-text-stroke-width: .7px; }
@media (max-width: 600px) {
  .hero__title { -webkit-text-stroke-width: .4px; }
}

/* Заставка первого экрана (как у ammolite-restaurant.de), при каждом открытии:
   по очереди, мягким fade-in — сначала знак, затем название «Чёрный Жемчуг»;
   каждый проявляется чуть крупнее и неспешно отдаляется до своего размера.
   Без filter: blur — он пересчитывается каждый кадр и даёт подтормаживание;
   только opacity + transform на отдельном слое (will-change) — это идёт на GPU.
   Прозрачность и масштаб — две отдельные анимации, каждая одним отрезком без
   промежуточных ключевых кадров, поэтому движение ровное, без «стыков».
   Анимируем .hero__mark, а не .hero__logo — у того своё парение (transform).
   При prefers-reduced-motion длительности сжимаются до нуля — сразу финальный вид. */
.hero__mark, .hero__title { will-change: opacity, transform; }
/* волна: каждый следующий элемент начинает проявляться, пока предыдущий ещё
   набирает яркость, с ровным шагом — логотип → название → подпись → слоган →
   кнопки по одной → «Далее». Одна кривая и одна длительность — единый ритм. */
.hero__mark {
  animation: hero-fade 1.5s cubic-bezier(.4, 0, .2, 1) .15s both,
             hero-recede 2.6s cubic-bezier(.25, .1, .25, 1) .15s both;
}
.hero__title {
  animation: hero-fade 1.5s cubic-bezier(.4, 0, .2, 1) .9s both,
             hero-recede 2.6s cubic-bezier(.25, .1, .25, 1) .9s both,
             wordmark-aura 9s ease-in-out 3s infinite;
}
.hero__sub                   { animation: hero-rise 1.4s cubic-bezier(.4, 0, .2, 1) 1.6s both; }
.hero__tagline               { animation: hero-rise 1.4s cubic-bezier(.4, 0, .2, 1) 2s both; }
/* без btn-breathe: оно анимирует box-shadow и затирает паспарту-рамку кнопки (и её hover) */
.hero__actions .btn:nth-child(1) { animation: hero-rise 1.4s cubic-bezier(.4, 0, .2, 1) 2.4s both; }
.hero__actions .btn:nth-child(2) { animation: hero-rise 1.4s cubic-bezier(.4, 0, .2, 1) 2.7s both; }
.hero__scroll                { animation: hero-fade 1.4s cubic-bezier(.4, 0, .2, 1) 3.1s both; }
/* шапка — продолжение волны (только на главной, где есть первый экран):
   знак с названием, затем пункты меню слева направо; на телефоне — значок меню */
body:has(.hero) .brand,
body:has(.hero) .nav-toggle    { animation: hero-fade 1.4s cubic-bezier(.4, 0, .2, 1) 3.4s both; }
body:has(.hero) .nav > a       { animation: hero-fade 1.2s cubic-bezier(.4, 0, .2, 1) 3.6s both; }
body:has(.hero) .nav > a:nth-child(2) { animation-delay: 3.71s; }
body:has(.hero) .nav > a:nth-child(3) { animation-delay: 3.82s; }
body:has(.hero) .nav > a:nth-child(4) { animation-delay: 3.93s; }
body:has(.hero) .nav > a:nth-child(5) { animation-delay: 4.04s; }
body:has(.hero) .nav > a:nth-child(6) { animation-delay: 4.15s; }
body:has(.hero) .nav > a:nth-child(7) { animation-delay: 4.26s; }

@keyframes hero-fade   { from { opacity: 0; } to { opacity: 1; } }
@keyframes hero-recede { from { transform: scale(1.09); } to { transform: scale(1); } }
/* только проявление, без подъёма — иначе при открытии кажется, что страница «уезжает» вверх */
@keyframes hero-rise { from { opacity: 0; } to { opacity: 1; } }
/* знак на первом экране стоит неподвижно: парение (mark-float, ±9px) воспринималось
   как «страница съезжает вверх» после открытия — отключено */
.hero__logo { animation: none; }

/* Волна проблеска по точкам сетки — еле заметная.
   Слой «только точки» (те же места и фаза, что у --grid, но светлее) виден лишь
   внутри мягкого кольца-маски; кольцо расходится из центра экрана
   к краям, как круг по воде. Ритм пульса: одна волна — пауза — две подряд — пауза.
   Два слоя, как у штрихов: общий (body::after, над сеткой body::before)
   и первого экрана (.hero::after, над его сеткой .hero::before).
   На главной — стартует после заставки. */
/* радиус кольца волны — анимируемая длина (@property), чтобы ширина кольца не росла вместе с ним */
@property --dw-r { syntax: "<length>"; inherits: false; initial-value: -120px; }
@property --dw-r2 { syntax: "<length>"; inherits: false; initial-value: -120px; }
:root {
  --grid-dots: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='48.08'%20height='48.08'%3E%3Cg%20fill='rgb(255,232,176)'%3E%3Ccircle%20cx='0'%20cy='0'%20r='1.3'/%3E%3Ccircle%20cx='48.08'%20cy='0'%20r='1.3'/%3E%3Ccircle%20cx='0'%20cy='48.08'%20r='1.3'/%3E%3Ccircle%20cx='48.08'%20cy='48.08'%20r='1.3'/%3E%3Ccircle%20cx='24.04'%20cy='24.04'%20r='1.3'/%3E%3C/g%3E%3C/svg%3E");
}
body::after, .hero::after {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: var(--grid-dots) 0 0 repeat;
  opacity: 1;
  /* кольцо из центра экрана: мягкие края, ширина ~200px */
  /* два кольца в одной маске: второе нужно для двойного удара пульса */
  --dw-r: -120px; --dw-r2: -120px;   /* старт — кольца ещё «под» центром, без вспышки пятном */
  -webkit-mask-image:
    radial-gradient(circle at 50% 50%, transparent calc(var(--dw-r) - 100px), #000 var(--dw-r), transparent calc(var(--dw-r) + 100px)),
    radial-gradient(circle at 50% 50%, transparent calc(var(--dw-r2) - 100px), #000 var(--dw-r2), transparent calc(var(--dw-r2) + 100px));
          mask-image:
    radial-gradient(circle at 50% 50%, transparent calc(var(--dw-r) - 100px), #000 var(--dw-r), transparent calc(var(--dw-r) + 100px)),
    radial-gradient(circle at 50% 50%, transparent calc(var(--dw-r2) - 100px), #000 var(--dw-r2), transparent calc(var(--dw-r2) + 100px));
  /* пульс, цикл 16.5s: одна волна (~5s) — пауза ~2.8s — две подряд — пауза ~2.4s */
  animation: dot-pulse-a 16.5s linear 1s infinite, dot-pulse-b 16.5s linear 1s infinite;
}
.hero::after { z-index: -1; }
body:has(.hero)::after, .hero::after { animation-delay: 6s; }
/* кольцо 1: одиночный удар (0–5s), затем первый из двойного (7.8–12.8s) */
@keyframes dot-pulse-a {
  0%            { --dw-r: -120px; animation-timing-function: ease-in-out; }
  30.3%         { --dw-r: calc(75vmax + 120px); }
  30.31%, 47.3% { --dw-r: -120px; animation-timing-function: ease-in-out; }
  77.6%, 100%   { --dw-r: calc(75vmax + 120px); }
}
/* кольцо 2: второй из двойного — вслед за первым через ~1.3s */
@keyframes dot-pulse-b {
  0%, 55.2%     { --dw-r2: -120px; animation-timing-function: ease-in-out; }
  85.5%, 100%   { --dw-r2: calc(75vmax + 120px); }
}
@media (prefers-reduced-motion: reduce) {
  body::after, .hero::after { display: none; }
}

/* ЖЕМЧУЖИНА вместо рубина — везде, где был камень: под заголовками разделов,
   над пунктами меню, вкладками и ссылками. Чёрная жемчужина в тонком золотом
   кольце (assets/img/pearl.svg) — рифмуется с логотипом. Под заголовком — спокойно,
   без покачивания; у маленьких кольцо подчёркнуто тонкой золотой каймой,
   а при наведении жемчужина коротко вспыхивает. */
:root { --gem: url("../img/pearl.svg"); }
.page-head h1::after {
  animation: none;
  filter: drop-shadow(0 0 3px rgba(200,162,74,.22));
}
.nav a:not(.btn)::after, .menu-tab::after,
.contact-block a::after, .footer-grid a::after, .footer-legal a::after, a.gold-text::after {
  animation: none;
  filter: brightness(1) drop-shadow(0 0 .5px rgba(236,208,140,.95)) drop-shadow(0 0 1.5px rgba(200,162,74,.4)) drop-shadow(0 0 11px rgba(220,180,90,0));
}
.nav a:not(.btn):hover::after, .menu-tab:hover::after,
.contact-block a:hover::after, .footer-grid a:hover::after, .footer-legal a:hover::after, a.gold-text:hover::after {
  /* появляется сразу в пике вспышки (без плавного проявления) и плавно гаснет до обычного вида;
     при уходе курсора исчезает мягко — по переходу из базового правила */
  animation: pearl-flash 1s cubic-bezier(.25, .1, .25, 1);
  transition-duration: 0s;
}
@keyframes pearl-flash {
  /* чистое затухание: размер постоянный, гаснет только свечение; набор фильтров
     одинаковый в начале и в конце — браузер интерполирует их плавно */
  from { filter: brightness(1.12) drop-shadow(0 0 .8px rgba(255,246,224,.9)) drop-shadow(0 0 3.5px rgba(250,225,160,.45)) drop-shadow(0 0 11px rgba(220,180,90,.2)); }
  to   { filter: brightness(1) drop-shadow(0 0 .5px rgba(236,208,140,.95)) drop-shadow(0 0 1.5px rgba(200,162,74,.4)) drop-shadow(0 0 11px rgba(220,180,90,0)); }
}


/* У ссылок (меню в шапке, вкладки меню, ссылки в контактах и подвале) —
   одна жемчужина, чуть ближе к тексту. При наведении появляется сразу во вспышке:
   белый тонкий ореол (--hc) и лёгкое свечение, затем плавно гаснет.
   --c — размер жемчужины, --pad — запас под ореол. */
@property --hc { syntax: "<number>"; inherits: false; initial-value: 0; }
.nav a:not(.btn)::after, .menu-tab::after,
.contact-block a::after, .footer-grid a::after, .footer-legal a::after, a.gold-text::after {
  --c: 13px; --pad: 6px;
  --w: calc(var(--c) + 2 * var(--pad));
  width: var(--w); height: var(--w);
  margin-left: calc(var(--w) / -2);
  background-image:
    var(--gem),
    radial-gradient(circle at 50% 50%, rgba(255,250,238,calc(.45 * var(--hc))) 0, rgba(245,232,200,calc(.17 * var(--hc))) calc(var(--c) * .52), transparent calc(var(--c) * .7));
  background-size: var(--c) var(--c), auto;
  background-position: var(--pad) var(--pad), 0 0;
  background-repeat: no-repeat;
}
/* чуть ниже прежнего — ближе к тексту */
.nav a:not(.btn)::after { top: calc(-14px - var(--pad)); }
.menu-tab::after { --c: 15px; top: calc(-16px - var(--pad)); }
.contact-block a::after, .footer-grid a::after, .footer-legal a::after, a.gold-text::after { top: calc(-13px - var(--pad)); }
/* при наведении: сразу во вспышке, плавно гаснет */
.nav a:not(.btn):hover::after, .menu-tab:hover::after,
.contact-block a:hover::after, .footer-grid a:hover::after, .footer-legal a:hover::after, a.gold-text:hover::after {
  animation: pearl-flash .7s cubic-bezier(.25, .1, .25, 1),
             halo-c .6s cubic-bezier(.25, .1, .25, 1);
  transition-duration: 0s;
}
@keyframes halo-c { from { --hc: 1; } to { --hc: 0; } }
/* выбранный раздел (текущий пункт меню, активная вкладка): при наведении не вспыхивает */
.nav a[aria-current="page"]:not(.btn):hover::after, .menu-tab.is-active:hover::after { animation: none; }

/* Миниатюры к позициям меню: золотая линейная иконка (assets/img/menu-icons.svg)
   в квадрате с тонкой золотой рамкой и паспарту — как у кнопок сайта.
   Иконка слева, название/цена и описание — справа. */
.menu-item { grid-template-columns: 56px 1fr; column-gap: 1.25rem; align-items: start; }
.menu-item__head, .menu-item__desc { grid-column: 2; }
.menu-item__thumb {
  grid-column: 1; grid-row: 1 / span 2;
  width: 56px; height: 56px; padding: 7px;
  color: var(--gold);
  background: radial-gradient(circle at 50% 35%, #1d1a13, #0c0b09 75%);
  border: 1px solid rgba(200,162,74,.42);
  box-shadow: inset 0 0 0 3px var(--bg), inset 0 0 0 4px rgba(200,162,74,.2);
  transition: color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.menu-item:hover .menu-item__thumb {
  color: var(--gold-bright);
  border-color: rgba(230,200,120,.75);
  box-shadow: inset 0 0 0 3px var(--bg), inset 0 0 0 4px rgba(230,200,120,.38), 0 0 18px -8px rgba(200,162,74,.5);
}
@media (max-width: 600px) {
  .menu-item { grid-template-columns: 46px 1fr; column-gap: .9rem; }
  .menu-item__thumb { width: 46px; height: 46px; padding: 5px; }
}

/* Доставка — пока заглушка «скоро»: текст по центру, одна кнопка */
.delivery__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.delivery__inner .muted { margin-top: 1.2rem; }
.delivery__actions { margin-top: 2rem; display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* Шапка на средних экранах (901–1299px): пунктов стало больше (Доставка),
   и в строку они не помещаются — меню сворачивается в значок, как на планшете.
   Остальная раскладка страницы при этом остаётся «настольной». */
@media (min-width: 901px) and (max-width: 1299px) {
  .nav {
    position: fixed; top: 0; left: 0; z-index: 105;
    width: 100vw; height: 100dvh;
    flex-direction: column; justify-content: center;
    background: rgba(8,8,8,.98);
    gap: 2rem;
    transform: translateY(-100%); transition: transform .5s var(--ease);
  }
  body.nav-open .nav { transform: none; }
  .nav a { font-size: 1rem; }
  .nav-toggle { display: block; }
  .nav a.nav__phone { padding-left: 0; border-left: 0; font-size: .95rem; }
}
/* жемчужина над телефоном — по центру текста (у телефона слева отступ до разделителя) */
.nav a.nav__phone::after { margin-left: calc(var(--w) / -2 + clamp(1rem, 2.2vw, 2.2rem) / 2); }
@media (max-width: 1299px) { .nav a.nav__phone::after { margin-left: calc(var(--w) / -2); } }

/* номер телефона не разрывается переносом строки — переносится целиком */
a[href^="tel:"] { white-space: nowrap; }

/* Первый экран (2026-11-11): только знак и название.
   Название — ровно по центру экрана (сетка 1fr / auto / 1fr, без смещающих отступов),
   знак — над ним, на расстоянии в 3/4 высоты самого знака.
   Размер знака ограничен и высотой экрана, чтобы на низких экранах он не упирался в шапку. */
.hero {
  --logo: min(clamp(132px, 18vw, 184px), 17svh);
  grid-template-rows: 1fr auto 1fr;
  place-items: initial; justify-items: center;
  padding: 0 1.5rem;
}
.hero__logo { grid-row: 1; align-self: end; width: var(--logo); margin: 0 auto calc(var(--logo) * .75); }
.hero__title { grid-row: 2; margin: 0; }

/* Под названием — «РЕСТОРАН — БАНКЕТНЫЙ ЗАЛ» во всю ширину названия.
   Блок .hero__name (сетка, ряд 2) — по ширине названия; строка под ним
   спозиционирована абсолютно, поэтому само название остаётся ровно по центру экрана.
   Буквы — отдельными элементами, разнесены justify-content: space-between.
   Справа вычитаем трекинг названия (.06em его размера) — у последней буквы
   названия он добавляет пустой хвост, и строка иначе выходила бы за край букв. */
.hero__name { grid-row: 2; position: relative; }
.hero__title { grid-row: auto; }
.hero__line {
  position: absolute; left: 0; top: 100%;
  right: calc(clamp(2.3rem, 6.5vw, 5rem) * .06);
  margin-top: .9rem;
  font: 500 clamp(.68rem, 1.05vw, .86rem)/1 var(--font-body);
  color: var(--gold);
  animation: hero-fade 1.4s cubic-bezier(.4, 0, .2, 1) 1.6s both;   /* сразу после названия */
}
.hero__line-in { display: flex; justify-content: space-between; align-items: baseline; }
.hero__line-in i { width: .9em; }   /* пробел между словами — чуть шире промежутка между буквами */
/* название — всегда в одну строку (на телефоне чуть меньше), чтобы строка под ним
   совпадала по ширине с буквами, а не с шириной блока */
.hero h1.hero__title { white-space: nowrap; font-size: min(clamp(2.3rem, 6.5vw, 5rem), 8.3vw); }
.hero__line { right: calc(min(clamp(2.3rem, 6.5vw, 5rem), 8.3vw) * .06); }
/* между «РЕСТОРАН» и «БАНКЕТНЫЙ ЗАЛ» вместо тире — маленькая жемчужина (assets/img/pearl.svg) */
.hero__line-pearl {
  width: 1.15em; height: 1.15em; align-self: center;
  background: url("../img/pearl.svg") center / contain no-repeat;
  filter: drop-shadow(0 0 .5px rgba(236,208,140,.95)) drop-shadow(0 0 1.5px rgba(200,162,74,.4));
}

/* ── Кинематографичное проявление первого экрана ──────────────────────────
   Медленнее и глубже: фон выходит из темноты → знак проступает и долго
   «отъезжает» (scale 1.14 → 1, мягкое торможение) → название проявляется
   световой шторкой слева направо → в центре строки загорается жемчужина →
   буквы «РЕСТОРАН · БАНКЕТНЫЙ ЗАЛ» расходятся от неё волной в обе стороны →
   шапка. Только opacity / transform / mask — без blur, чтобы не тормозило. */
@property --rv { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
.hero__media { animation: hero-dawn 3.2s cubic-bezier(.4, 0, .2, 1) both, hero-drift 40s ease-in-out infinite alternate; }
.hero__mark {
  animation: hero-fade 2.6s cubic-bezier(.33, 0, .2, 1) .6s both,
             hero-recede-c 5s cubic-bezier(.16, 1, .3, 1) .6s both;
}
.hero__title {
  -webkit-mask-image: linear-gradient(90deg, #000 var(--rv), transparent calc(var(--rv) + 30%));
          mask-image: linear-gradient(90deg, #000 var(--rv), transparent calc(var(--rv) + 30%));
  animation: hero-fade 2.4s cubic-bezier(.33, 0, .2, 1) 1.9s both,
             hero-curtain 2.8s cubic-bezier(.45, 0, .2, 1) 1.9s both,
             hero-recede-c 5s cubic-bezier(.16, 1, .3, 1) 1.9s both,
             wordmark-aura 9s ease-in-out 6s infinite;
}
.hero__line { animation: none; }
.hero__line-in > * {
  --d: max(var(--n) - 9, 9 - var(--n));            /* удаление от жемчужины */
  animation: hero-fade 1.6s cubic-bezier(.4, 0, .2, 1) calc(4.1s + var(--d) * .07s) both;
}
.hero__line-in > .hero__line-pearl { animation: pearl-birth 1.8s cubic-bezier(.2, .8, .2, 1) 3.7s both; }
body:has(.hero) .brand { animation: hero-fade 1.6s cubic-bezier(.4, 0, .2, 1) 5.4s both; }
body:has(.hero)::after, .hero::after { animation-delay: 7s; }

@keyframes hero-dawn     { from { opacity: 0; } to { opacity: 1; } }
@keyframes hero-recede-c { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes hero-curtain  { from { --rv: -30%; } to { --rv: 100%; } }
@keyframes pearl-birth {
  0%   { opacity: 0; transform: scale(.3);
         filter: drop-shadow(0 0 .5px rgba(236,208,140,0)) drop-shadow(0 0 1.5px rgba(200,162,74,0)); }
  45%  { opacity: 1; transform: scale(1.12);
         filter: drop-shadow(0 0 2px rgba(255,236,190,1)) drop-shadow(0 0 7px rgba(236,208,140,.75)); }
  100% { opacity: 1; transform: scale(1);
         filter: drop-shadow(0 0 .5px rgba(236,208,140,.95)) drop-shadow(0 0 1.5px rgba(200,162,74,.4)); }
}

/* строка: буквы чуть крупнее жемчужины, промежутки между ними уже; знак ниже */
.hero__line { font-size: clamp(.9rem, 1.45vw, 1.15rem); margin-top: 1rem; }
.hero__line-in i { width: .7em; }
.hero__line-pearl { width: .66em; height: .66em; }
.hero__logo { margin-bottom: calc(var(--logo) * .5); }
@media (prefers-reduced-motion: reduce) {
  .hero__title { -webkit-mask-image: none; mask-image: none; }
}

/* строка — от нижней засечки «Ч» до нижней засечки «Г» (замер глифов Cormorant:
   низ «Ч» начинается на .3475em от начала буквы, низ «Г» кончается за .197em до
   конца буквы + трекинг .06em), ближе к названию и тоньше */
.hero__line {
  left:  calc(min(clamp(2.3rem, 6.5vw, 5rem), 8.3vw) * .3475);
  right: calc(min(clamp(2.3rem, 6.5vw, 5rem), 8.3vw) * .257);
  margin-top: .2rem;
  font-weight: 300;
}

/* проявление с более крупного плана и дольше: знак с 1.6×, название с 1.35×,
   отъезд 7 с с долгим мягким торможением — эффект читается до конца */
.hero__mark  { animation: hero-fade 3s cubic-bezier(.33, 0, .2, 1) .6s both,
                          hero-zoom-mark 7s cubic-bezier(.3, .25, .2, 1) .6s both; }
.hero__title { animation: hero-fade 2.8s cubic-bezier(.33, 0, .2, 1) 1.9s both,
                          hero-curtain 3s cubic-bezier(.45, 0, .2, 1) 1.9s both,
                          hero-zoom-title 7s cubic-bezier(.3, .25, .2, 1) 1.9s both,
                          wordmark-aura 9s ease-in-out 7s infinite; }
@keyframes hero-zoom-mark  { from { transform: scale(1.6); }  to { transform: scale(1); } }
@keyframes hero-zoom-title { from { transform: scale(1.35); } to { transform: scale(1); } }

/* «РЕСТОРАН ● БАНКЕТНЫЙ ЗАЛ» — проявляется мерцанием одновременно со знаком:
   каждая буква вспыхивает-гаснет несколько раз неровно и остаётся гореть;
   --r (в разметке) — свой сдвиг у каждой буквы, чтобы мерцали вразнобой */
.hero__line-in > *,
.hero__line-in > .hero__line-pearl {
  animation: line-flicker 2.4s linear calc(.7s + var(--r) * .11s) both;
}
@keyframes line-flicker {
  0%   { opacity: 0; }
  8%   { opacity: .55; }
  12%  { opacity: .05; }
  22%  { opacity: .7; }
  27%  { opacity: .15; }
  34%  { opacity: .35; }
  40%  { opacity: .9; }
  46%  { opacity: .3; }
  58%  { opacity: 1; }
  64%  { opacity: .6; }
  76%  { opacity: 1; }
  100% { opacity: 1; }
}
/* мерцание у всех букв заканчивается вместе с проявлением названия (шторка: 1.9s + 3s = 4.9s):
   старт .7s + r·.11s, длительность — остаток до 4.9s */
.hero__line-in > *,
.hero__line-in > .hero__line-pearl { animation-duration: calc(4.2s - var(--r) * .11s); }
/* мерцание дольше — до конца проявления названия целиком (отъезд: 1.9s + 7s = 8.9s);
   больше вспышек, к концу всё реже и ровнее, финал — ровное свечение */
.hero__line-in > *,
.hero__line-in > .hero__line-pearl {
  animation-name: line-flicker-long;
  animation-duration: calc(8.2s - var(--r) * .11s);
}
@keyframes line-flicker-long {
  0%   { opacity: 0; }
  4%   { opacity: .5; }
  6%   { opacity: .05; }
  11%  { opacity: .65; }
  14%  { opacity: .1; }
  18%  { opacity: .4; }
  22%  { opacity: .85; }
  25%  { opacity: .2; }
  31%  { opacity: .7; }
  34%  { opacity: .35; }
  40%  { opacity: 1; }
  44%  { opacity: .3; }
  50%  { opacity: .9; }
  55%  { opacity: .5; }
  62%  { opacity: 1; }
  67%  { opacity: .55; }
  75%  { opacity: 1; }
  81%  { opacity: .7; }
  90%  { opacity: 1; }
  94%  { opacity: .85; }
  100% { opacity: 1; }
}

/* мерцание строки: вспышка → полное угасание → вспышка → … → ровный свет.
   Вспышка резкая (быстрый подъём до 1), угасание плавное до 0; без белого и ореолов */
.hero__line-in > *,
.hero__line-in > .hero__line-pearl { animation-name: line-blink; }
@keyframes line-blink {
  0%   { opacity: 0; animation-timing-function: cubic-bezier(.2, .9, .3, 1); }
  3%   { opacity: 1; animation-timing-function: ease-in; }
  15%  { opacity: 0; animation-timing-function: cubic-bezier(.2, .9, .3, 1); }
  21%  { opacity: 1; animation-timing-function: ease-in; }
  33%  { opacity: 0; animation-timing-function: cubic-bezier(.2, .9, .3, 1); }
  39%  { opacity: 1; animation-timing-function: ease-in; }
  51%  { opacity: 0; animation-timing-function: cubic-bezier(.2, .9, .3, 1); }
  57%  { opacity: 1; animation-timing-function: ease-in; }
  69%  { opacity: 0; animation-timing-function: cubic-bezier(.2, .9, .3, 1); }
  75%  { opacity: 1; animation-timing-function: ease-in; }
  86%  { opacity: 0; animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
  100% { opacity: 1; }
}
/* мерцание строки задаёт main.js (случайная серия у каждой буквы); до его запуска — скрыто */
.hero__line-in > *, .hero__line-in > .hero__line-pearl { animation: none; opacity: 0; }

/* «Чёрный Жемчуг» — вместо прежнего (шторка + отъезд всего слова): эффект знака,
   но по буквам — каждая буква сама выходит из темноты с крупного плана (1.6×) и
   отъезжает до своего размера той же кривой, что знак. Порядок букв случайный
   (--i в разметке), не слева направо. Тайминг прежний: старт 1.9s, проявление —
   к ~4.8s, отъезд у всех букв заканчивается в 8.9s */
.hero__title { -webkit-mask-image: none; mask-image: none; will-change: auto; transform: none;
               animation: wordmark-aura 9s ease-in-out 7s infinite; }
.hero__ch {
  display: inline-block; transform-origin: 50% 55%; will-change: opacity, transform;
  animation: hero-fade 1.6s cubic-bezier(.33, 0, .2, 1) calc(1.9s + var(--i) * .12s) both,
             hero-zoom-mark calc(7s - var(--i) * .12s) cubic-bezier(.3, .25, .2, 1) calc(1.9s + var(--i) * .12s) both;
}

/* «Чёрный Жемчуг» — новое проявление (вместо всех прежних):
   1) по ещё невидимому слову пробегает первый проблеск — буквы вспыхивают только
      под ним (1.9s → 3.4s);
   2) пробегает второй — и вслед за ним проявляется контур названия и остаётся
      (3.4s → 4.9s). Край проявления (--rv) идёт синхронно с центром проблеска:
      центр полосы = 1.5W − 2W·p при background-size 300%, p: 100% → 0%,
      то есть от −50% до 150% ширины — так же линейно идёт и --rv. */
.hero__title { -webkit-mask-image: none; mask-image: none; will-change: auto;
               animation: wordmark-aura 9s ease-in-out 7s infinite; }
.hero__title-txt {
  display: inline-block;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--rv) - 12%), transparent calc(var(--rv) + 4%));
          mask-image: linear-gradient(90deg, #000 calc(var(--rv) - 12%), transparent calc(var(--rv) + 4%));
  animation: title-contour 1.5s linear 3.4s both;
}
@keyframes title-contour { from { --rv: -50%; } to { --rv: 150%; } }
.hero__glint {
  position: absolute; left: 0; right: 0; top: 0;
  pointer-events: none; white-space: nowrap;
  color: transparent; -webkit-text-fill-color: transparent; -webkit-text-stroke: 0;
  text-shadow: none;
  background-image: linear-gradient(90deg,
    transparent 47.3%, #ffc94f 49.2%, #fff4de 50%, #ffc94f 50.8%, transparent 52.7%);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  opacity: 0;
  animation: title-glint 1.5s linear calc(1.9s + var(--g) * 1.5s) both;
}
@keyframes title-glint {
  0%   { opacity: 0;  background-position: 100% 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { opacity: 0;  background-position: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__title-txt { -webkit-mask-image: none; mask-image: none; }
  .hero__glint { display: none; }
}

/* три пробежки (каждая 1s, итог прежний — к 4.9s):
   1) 1.9–2.9s — проблеск внешнего свечения: под полосой видно только сияние вокруг букв;
   2) 2.9–3.9s — золотой проблеск по буквам, как раньше;
   3) 3.9–4.9s — ещё проблеск, и за ним остаются контур и внешнее свечение.
   У контура и сияния поле расширено (padding) — иначе маска срезала бы свечение по краю букв. */
@property --gx { syntax: "<percentage>"; inherits: false; initial-value: -30%; }
.hero__title { animation: wordmark-aura 9s ease-in-out 3.9s infinite both; }
.hero__title-txt {
  padding: .45em .6em; margin: -.45em -.6em;
  animation: title-contour 1s linear 3.9s both;
}
.hero__glint { animation: title-glint 1s linear calc(2.9s + var(--g) * 1s) both; }
.hero__halo {
  position: absolute; left: -.6em; right: -.6em; top: -.45em; padding: .45em .6em;
  pointer-events: none; white-space: nowrap;
  color: transparent; -webkit-text-fill-color: transparent; -webkit-text-stroke: 0;
  text-shadow: 0 0 6px rgba(255,214,140,.95), 0 0 18px rgba(236,178,88,.7), 0 0 38px rgba(200,140,58,.45);
  -webkit-mask-image: linear-gradient(90deg, transparent calc(var(--gx) - 12%), #000 var(--gx), transparent calc(var(--gx) + 12%));
          mask-image: linear-gradient(90deg, transparent calc(var(--gx) - 12%), #000 var(--gx), transparent calc(var(--gx) + 12%));
  animation: halo-sweep 1s linear 1.9s both;
}
@keyframes halo-sweep {
  0%   { --gx: -15%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { --gx: 115%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .hero__halo { display: none; } }

/* проблески — гораздо плавнее, тот же размер и тайминг:
   • полоса той же ширины, но яркость к краям спадает мягко (много промежуточных
     ступеней, без резкой кромки), пик чуть приглушён;
   • движение — плавный разгон и торможение вместо линейного;
   • появление и угасание полосы растянуты на первую/последнюю треть пробежки;
   • контур открывается той же кривой, что и третий проблеск, — край идёт за ним. */
.hero__glint {
  background-image: linear-gradient(90deg,
    rgba(255,201,79,0)   47.3%,
    rgba(255,201,79,.12) 48%,
    rgba(255,205,96,.38) 48.7%,
    rgba(255,220,140,.7) 49.4%,
    rgba(255,240,210,.92) 50%,
    rgba(255,220,140,.7) 50.6%,
    rgba(255,205,96,.38) 51.3%,
    rgba(255,201,79,.12) 52%,
    rgba(255,201,79,0)   52.7%);
  animation: title-glint 1s cubic-bezier(.45, .05, .55, .95) calc(2.9s + var(--g) * 1s) both;
}
@keyframes title-glint {
  0%   { opacity: 0; background-position: 100% 0; }
  30%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { opacity: 0; background-position: 0 0; }
}
.hero__halo {
  -webkit-mask-image: linear-gradient(90deg, transparent calc(var(--gx) - 12%), rgba(0,0,0,.5) calc(var(--gx) - 5%), #000 var(--gx), rgba(0,0,0,.5) calc(var(--gx) + 5%), transparent calc(var(--gx) + 12%));
          mask-image: linear-gradient(90deg, transparent calc(var(--gx) - 12%), rgba(0,0,0,.5) calc(var(--gx) - 5%), #000 var(--gx), rgba(0,0,0,.5) calc(var(--gx) + 5%), transparent calc(var(--gx) + 12%));
  animation: halo-sweep 1s cubic-bezier(.45, .05, .55, .95) 1.9s both;
}
@keyframes halo-sweep {
  0%   { --gx: -15%; opacity: 0; }
  30%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { --gx: 115%; opacity: 0; }
}
.hero__title-txt {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--rv) - 14%), rgba(0,0,0,.5) calc(var(--rv) - 5%), transparent calc(var(--rv) + 3%));
          mask-image: linear-gradient(90deg, #000 calc(var(--rv) - 14%), rgba(0,0,0,.5) calc(var(--rv) - 5%), transparent calc(var(--rv) + 3%));
  animation: title-contour 1s cubic-bezier(.45, .05, .55, .95) 3.9s both;
}
/* проблески в 5 раз медленнее: каждая пробежка 5s (была 1s); старты прежние —
   1.9s / 2.9s / 3.9s, поэтому полосы идут друг за другом в том же порядке
   (свечение → проблеск → проблеск с контуром), а всё заканчивается к 8.9s */
.hero__halo      { animation-duration: 5s; }
.hero__glint     { animation-duration: 5s; }
.hero__title-txt { animation-duration: 5s; }
/* строго по очереди: следующая пробежка начинается, только когда закончилась
   предыдущая — свечение 1.9–6.9s, проблеск 6.9–11.9s, проблеск с контуром 11.9–16.9s */
.hero__glint     { animation-delay: calc(6.9s + var(--g) * 5s); }
.hero__title-txt { animation-delay: 11.9s; }
/* без пауз между пробежками: раньше полоса бо́льшую часть времени шла за пределами
   слова (центр от −50% до 150% ширины) и долго проявлялась/гасла — между пробежками
   виделась пустота. Теперь центр полосы идёт ровно по слову (≈ −8% → 108%),
   появление/угасание короткие — следующая начинается сразу, как ушла предыдущая */
@keyframes title-glint {
  0%   { opacity: 0; background-position: 79% 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { opacity: 0; background-position: 21% 0; }
}
@keyframes halo-sweep {
  0%   { --gx: -6%; opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { --gx: 106%; opacity: 0; }
}
@keyframes title-contour { from { --rv: -6%; } to { --rv: 112%; } }
/* проблески вдвое быстрее: по 2.5s, строго по очереди —
   свечение 1.9–4.4s, проблеск 4.4–6.9s, проблеск с контуром 6.9–9.4s */
.hero__halo      { animation-duration: 2.5s; }
.hero__glint     { animation-duration: 2.5s; animation-delay: calc(4.4s + var(--g) * 2.5s); }
.hero__title-txt { animation-duration: 2.5s; animation-delay: 6.9s; }
/* проблеск шире, между проблесками — 0 мс:
   • полоса вдвое шире (≈ 0.3 ширины слова);
   • без затуханий по краям пробежки и с равномерной скоростью — иначе в начале и
     в конце полоса «замирает» у края/гаснет, и между пробежками видна пауза;
   • полоса входит в слово и выходит из него целиком: центр от −15% до 115% ширины.
     Когда хвост одной уходит за правый край, голова следующей уже у левого. */
.hero__glint {
  background-image: linear-gradient(90deg,
    rgba(255,201,79,0)    45%,
    rgba(255,201,79,.12)  46.4%,
    rgba(255,205,96,.38)  47.6%,
    rgba(255,220,140,.7)  48.8%,
    rgba(255,240,210,.92) 50%,
    rgba(255,220,140,.7)  51.2%,
    rgba(255,205,96,.38)  52.4%,
    rgba(255,201,79,.12)  53.6%,
    rgba(255,201,79,0)    55%);
  animation-timing-function: linear;
}
@keyframes title-glint {
  from { opacity: 1; background-position: 82.5% 0; }
  to   { opacity: 1; background-position: 17.5% 0; }
}
.hero__halo {
  -webkit-mask-image: linear-gradient(90deg, transparent calc(var(--gx) - 20%), rgba(0,0,0,.5) calc(var(--gx) - 8%), #000 var(--gx), rgba(0,0,0,.5) calc(var(--gx) + 8%), transparent calc(var(--gx) + 20%));
          mask-image: linear-gradient(90deg, transparent calc(var(--gx) - 20%), rgba(0,0,0,.5) calc(var(--gx) - 8%), #000 var(--gx), rgba(0,0,0,.5) calc(var(--gx) + 8%), transparent calc(var(--gx) + 20%));
  animation-timing-function: linear;
}
@keyframes halo-sweep {
  from { --gx: -20%; opacity: 1; }
  to   { --gx: 120%; opacity: 1; }
}
.hero__title-txt { animation-timing-function: linear; }
@keyframes title-contour { from { --rv: -14%; } to { --rv: 116%; } }
/* пробежки короче: по 1.5s (были 2.5s), без пауз —
   свечение 1.9–3.4s, проблеск 3.4–4.9s, проблеск с контуром 4.9–6.4s */
.hero__halo      { animation-duration: 1.5s; }
.hero__glint     { animation-duration: 1.5s; animation-delay: calc(3.4s + var(--g) * 1.5s); }
.hero__title-txt { animation-duration: 1.5s; animation-delay: 4.9s; }
/* второй проход: золотой проблеск + та же полоса внешнего свечения, что в первом
   (второй .hero__halo, --h:1 — стартует вместе с проблеском, 3.4s) */
.hero__halo { animation-delay: calc(1.9s + var(--h, 0) * 1.5s); }
/* третий проход: проблеск с контуром + та же полоса свечения (--h:2, 4.9s) */

/* ---------- первый экран чистый: шапка появляется только после пролистывания ---------- */
.site-header {
  opacity: 0; visibility: hidden; transform: translateY(-100%); pointer-events: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease), visibility 0s linear .7s,
              background .4s var(--ease), padding .4s var(--ease), border-color .4s;
}
.site-header.is-shown {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  transition: opacity .7s var(--ease), transform .7s var(--ease), visibility 0s,
              background .4s var(--ease), padding .4s var(--ease), border-color .4s;
}
body:has(.hero) .brand { animation: none; }
.next-screen { min-height: 100svh; background: var(--bg, #0a0a0a); scroll-snap-align: start; }

/* волны точек — всегда парами: два кольца подряд (второе через 1.3s), затем пауза ~2.4s; цикл 8.7s */
body::after, .hero::after { animation-name: dot-pair-a, dot-pair-b; animation-duration: 8.7s, 8.7s; }
@keyframes dot-pair-a {
  0%          { --dw-r: -120px; animation-timing-function: ease-in-out; }
  57.47%, 100% { --dw-r: calc(75vmax + 120px); }
}
@keyframes dot-pair-b {
  0%, 14.94%  { --dw-r2: -120px; animation-timing-function: ease-in-out; }
  72.41%, 100% { --dw-r2: calc(75vmax + 120px); }
}


/* ── шапка повторяет первый экран в миниатюре: знак, название с золотым кантом,
      строка «РЕСТОРАН ● БАНКЕТНЫЙ ЗАЛ» с жемчужиной на всю ширину названия ── */
.brand { gap: .8rem; }
.brand__logo-box { display: block; width: 50px; aspect-ratio: 1; flex: none; }
.brand__logo-box .brand__logo, .brand__mark { width: 100%; height: 100%; display: block; overflow: visible; }
.brand__text {
  display: inline-flex; flex-direction: column; align-items: stretch;
  background: none; -webkit-text-fill-color: initial; animation: none; letter-spacing: normal;
}
.brand__title {
  font-family: var(--font-display); font-weight: 500; text-transform: uppercase;
  font-size: 1.3rem; line-height: 1; letter-spacing: .06em;
  color: #110f0b; -webkit-text-fill-color: #110f0b;
  -webkit-text-stroke: .3px rgba(228, 210, 172, .9); paint-order: stroke fill;
  animation: wordmark-aura 9s ease-in-out infinite;
}
.brand__line {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: .3rem; padding-inline: .04em;
  font: 300 .5rem/1 var(--font-body); letter-spacing: 0;
  color: var(--gold); -webkit-text-fill-color: var(--gold);
}
.brand__line i { width: .5em; flex: none; }
.brand__pearl {
  width: .8em; height: .8em; flex: none;
  background: url("../img/pearl.svg") center / contain no-repeat;
  filter: drop-shadow(0 0 .5px rgba(236,208,140,.95)) drop-shadow(0 0 1.5px rgba(200,162,74,.4));
}
@media (max-width: 900px) {
  .brand__logo-box { width: 44px; }
  .brand__title { font-size: 1.1rem; }
  .brand__line { font-size: .44rem; }
}

/* строка в шапке — как на первом экране: от нижней засечки «Ч» до нижней засечки «Г»
   (.3475em слева и .257em справа от размера названия), пробелы .7em, жемчужина .66em */
.brand { --bt: 1.3rem; }
.brand__title { font-size: var(--bt); }
.brand__line {
  margin-left: calc(var(--bt) * .3475); margin-right: calc(var(--bt) * .257);
  padding-inline: 0; margin-top: .2rem;
}
.brand__line i { width: .7em; }
.brand__pearl { width: .66em; height: .66em; }
@media (max-width: 900px) { .brand { --bt: 1.1rem; } }

/* надпись в шапке чуть крупнее (+15%) — строка под ней в той же пропорции */
.brand { --bt: 1.5rem; }
.brand__line { font-size: .58rem; }
@media (max-width: 900px) { .brand { --bt: 1.27rem; } .brand__line { font-size: .5rem; } }

/* знак в шапке чуть крупнее (+15%) — под надпись */
.brand__logo-box { width: 58px; }
@media (max-width: 900px) { .brand__logo-box { width: 50px; } }

/* телефон в шапке — под надписью, по её центру */
.brand-box { display: inline-flex; flex-direction: column; align-items: stretch; }
.brand__phone {
  display: block; text-align: center;
  padding-left: calc(58px + .8rem);           /* ширина знака + зазор — номер стоит под надписью */
  margin-top: .45rem;
  font: 300 .78rem/1 var(--font-body); letter-spacing: .14em;
  color: var(--gold); white-space: nowrap;
  transition: color .3s;
}
.brand__phone:hover { color: var(--gold-bright, #e9cf8a); }
@media (max-width: 900px) {
  .brand__phone { padding-left: calc(50px + .8rem); font-size: .7rem; letter-spacing: .1em; }
}

/* шапка: знак слева во всю высоту блока надписи — верх знака = верх букв названия,
   низ знака = низ цифр телефона; телефон ближе к строке */
.brand-box { display: inline-grid; grid-template-columns: auto auto; column-gap: .9rem; align-items: start; }
.brand-box .brand { display: contents; }
.brand-box .brand__logo-box { grid-row: 1 / span 2; grid-column: 1; width: var(--lg, 66px); }
.brand-box .brand__text { grid-row: 1; grid-column: 2; }
.brand-box .brand__phone { grid-row: 2; grid-column: 2; padding-left: 0; margin-top: .3rem; }
@media (max-width: 900px) {
  .brand-box .brand__logo-box { width: var(--lg-m, 56px); }
  .brand-box .brand__phone { padding-left: 0; }
}

/* блок надписи (название + строка + телефон) чуть крупнее, телефон ближе к строке;
   размер и сдвиг знака по вертикали подгоняет main.js — по верху букв названия и низу цифр телефона */
.brand { --bt: 1.7rem; }
.brand__line { font-size: .66rem; }
.brand-box .brand__phone { margin-top: .32rem; font-size: .86rem; line-height: 1; }
@media (max-width: 900px) {
  .brand { --bt: 1.42rem; }
  .brand__line { font-size: .56rem; }
  .brand-box .brand__phone { font-size: .76rem; }
}

/* знак — отдельным слоем слева (не влияет на сетку текста); его размер и сдвиг ставит main.js */
.brand-box { position: relative; display: inline-flex; flex-direction: column; align-items: stretch;
             padding-left: calc(var(--lgw, 60px) + .9rem); }
.brand-box .brand { display: block; }
.brand-box .brand__logo-box { position: absolute; left: 0; top: 0; width: var(--lgw, 60px); margin: 0; }
.brand-box .brand__text { display: flex; }
.brand-box .brand__phone { margin-top: .3rem; }
.brand { --bt: 1.85rem; }
.brand__line { font-size: .72rem; }
.brand-box .brand__phone { font-size: .94rem; }
@media (max-width: 900px) {
  .brand-box .brand__logo-box { width: var(--lgw, 54px); }
  .brand { --bt: 1.65rem; }
  .brand__line { font-size: .64rem; }
  .brand-box .brand__phone { font-size: .84rem; }
}

/* слоган первого экрана — под строкой «РЕСТОРАН ● БАНКЕТНЫЙ ЗАЛ», по центру названия;
   Cormorant курсив, тёплое светлое золото; проявляется последним, когда строка
   отмерцала (7.5 с): медленный выход из темноты с лёгким сужением разрядки */
.hero__motto {
  position: absolute; left: 50%; top: 100%;
  transform: translateX(-50%);
  margin-top: clamp(2.6rem, 4.8vw, 3.8rem);
  white-space: nowrap; text-align: center;
  font: italic 400 clamp(1.1rem, 1.8vw, 1.5rem)/1.2 var(--font-display);
  letter-spacing: .04em;
  color: #e4d2ac;
  text-shadow: 0 0 14px rgba(196, 140, 58, .25);
  animation: motto-in 2.8s cubic-bezier(.33, 0, .2, 1) 7.6s both;
}
@keyframes motto-in {
  from { opacity: 0; letter-spacing: .16em; }
  to   { opacity: 1; letter-spacing: .04em; }
}
@media (prefers-reduced-motion: reduce) { .hero__motto { animation: none; } }

/* кнопка звонка — только на телефоне: золотой круг с тонкой трубкой, в духе жемчужины;
   проявляется после заставки (8.2 с) и изредка мягко «дышит» золотым кольцом */
.call-btn {
  position: relative;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  color: #f2d690;
  background: radial-gradient(circle at 36% 30%, #2a2520 0%, #121012 55%, #070708 100%);
  border: 1px solid rgba(228, 210, 172, .55);
  box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 6px 18px rgba(0,0,0,.55), inset 0 0 10px rgba(242,214,144,.12);
  -webkit-tap-highlight-color: transparent;
  animation: call-in 1.8s cubic-bezier(.2, .8, .2, 1) 8.2s both;
}
.call-btn::before {                    /* кольцо-волна */
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid rgba(242, 214, 144, .7);
  opacity: 0; pointer-events: none;
  animation: call-ring 6s ease-out 10.5s infinite;
}
.call-btn:active { transform: scale(.94); }
@keyframes call-in {
  from { opacity: 0; transform: scale(.4); }
  60%  { opacity: 1; transform: scale(1.08); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes call-ring {
  0%       { opacity: .8; transform: scale(1); }
  35%, 100% { opacity: 0; transform: scale(1.7); }
}
/* на компьютере (мышь + наведение) кнопки нет */
@media (hover: hover) and (pointer: fine) { .call-btn { display: none; } }
@media (prefers-reduced-motion: reduce) { .call-btn, .call-btn::before { animation: none; } }

/* на телефоне клетки сетки вдвое мельче (тайл 24.04px вместо 48.08px) — и линии, и точки,
   и слой волн; проблески по линиям (шаг 34px) по-прежнему ложатся на линии */
@media (max-width: 760px) {
  body::before, .hero::before, body::after, .hero::after { background-size: 24.04px 24.04px; }
}

/* шапка: знак и надпись прижаты к верхней границе */
.site-header, .site-header.is-stuck { padding-top: .45rem; }

/* телефон: всё в шапке сдвинуто влево — справа место под кнопку меню (~44px) */
@media (max-width: 760px) {
  .site-header, .site-header.is-stuck { padding-left: .6rem; padding-right: .6rem; }
  .brand-box { padding-left: calc(var(--lgw, 54px) + .6rem); }
  .brand { --bt: 1.56rem; }
  .brand__line { font-size: .6rem; }
  .brand-box .brand__phone { font-size: .8rem; }
}

/* слоган — рукописный (Marck Script, кириллица), строка чуть уходит снизу вверх;
   «пишется» слева направо: мягкий край маски бежит по строке, как перо */
@property --wr { syntax: "<percentage>"; inherits: false; initial-value: -10%; }
.hero__motto {
  font: 400 clamp(1.45rem, 2.5vw, 2.05rem)/1.3 "Marck Script", "Cormorant Garamond", cursive;
  letter-spacing: .01em;
  color: #ecdcb6;
  text-shadow: 0 0 12px rgba(196, 140, 58, .3);
  transform: translateX(-50%) rotate(-4deg);
  transform-origin: 50% 60%;
  padding: .1em .3em;
  -webkit-mask-image: linear-gradient(90deg, #000 var(--wr), transparent calc(var(--wr) + 8%));
          mask-image: linear-gradient(90deg, #000 var(--wr), transparent calc(var(--wr) + 8%));
  animation: motto-write 2.6s cubic-bezier(.45, .05, .55, .95) 7.6s both;
}
@keyframes motto-write {
  from { --wr: -10%; opacity: 1; }
  to   { --wr: 100%; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__motto { animation: none; -webkit-mask-image: none; mask-image: none; }
}

/* слоган — тоньше и тише: каллиграфия Great Vibes, приглушённое золото без свечения;
   пишется по буквам (main.js): у каждой буквы свой «ход пера» слева направо,
   темп — по ширине буквы, между словами — короткая пауза, как при письме */
@font-face {
  font-family: "Great Vibes"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/greatvibes-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Great Vibes"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/greatvibes-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F;
}
.hero__motto {
  font: 400 clamp(1.7rem, 2.9vw, 2.4rem)/1.3 "Great Vibes", "Cormorant Garamond", cursive;
  letter-spacing: 0;
  color: rgba(222, 204, 166, .72);
  text-shadow: none;
  -webkit-mask-image: none; mask-image: none;
  animation: none;
}
.hero__motto .wl {
  display: inline-block;
  padding: .35em .3em; margin: -.35em -.3em;          /* поле под росчерки — маска их не режет */
  --wr: -30%;
  -webkit-mask-image: linear-gradient(100deg, #000 var(--wr), transparent calc(var(--wr) + 30%));
          mask-image: linear-gradient(100deg, #000 var(--wr), transparent calc(var(--wr) + 30%));
}
.hero__motto .ws { display: inline-block; width: .28em; }
@media (prefers-reduced-motion: reduce) {
  .hero__motto .wl { -webkit-mask-image: none; mask-image: none; }
}

/* слоган: чуть крупнее (тот же тонкий Great Vibes — толще не становится), чуть ниже,
   цвет ближе к золоту */
.hero__motto {
  font-size: clamp(1.95rem, 3.3vw, 2.75rem);
  margin-top: clamp(3.1rem, 5.6vw, 4.5rem);
  color: rgba(214, 178, 104, .9);
}

/* слоган: ещё чуть ниже и тоньше на вид — легче цвет, больше воздуха между буквами
   (обводка «для утончения» ломает отрисовку первого экрана в Chrome — не использовать) */
.hero__motto {
  margin-top: clamp(3.7rem, 6.6vw, 5.3rem);
  letter-spacing: .025em;
  color: rgba(214, 178, 104, .8);
}

/* слоган: ещё чуть ниже; на телефоне заметно меньше */
.hero__motto { margin-top: clamp(4.2rem, 7.4vw, 6rem); }
@media (max-width: 600px) {
  .hero__motto { font-size: 1.35rem; margin-top: 3.4rem; }
}

/* штрихи-проблески по линиям сетки — ВРЕМЕННО выключены (вернуть: удалить это правило) */
.glints { display: none !important; }

/* ══ ШАПКА ПО ЖЕМЧУЖИНЕ — кинематографичное появление ══════════════════════
   нажатие на чёрную жемчужину (знак первого экрана или маленькая в строке)
   открывает/закрывает шапку. Появление: из темноты сверху опускается вуаль →
   знак выплывает из крупного плана сквозь расфокус → название проступает
   со сходящейся разрядкой → строка и телефон → по всему блоку проходит
   золотой проблеск, вслед за ним вспыхивают лёгкие искры (main.js) */
.pearl-hit { cursor: pointer; outline: none; }
.hero__line-pearl { cursor: pointer; }
.site-header {
  transform: none; background: none; border-color: transparent;
  transition: opacity .7s cubic-bezier(.4,0,.2,1), visibility 0s linear .7s;
}
.site-header.is-shown { transform: none; transition: opacity .3s, visibility 0s; }
.site-header::before {                                   /* вуаль */
  content: ""; position: absolute; inset: 0 0 -3.5rem 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,6,5,.94) 0%, rgba(7,6,5,.7) 55%, rgba(7,6,5,0) 100%);
  opacity: 0; transform: translateY(-30%);
}
.site-header.is-shown::before { animation: hdr-veil 1.6s cubic-bezier(.2,.7,.2,1) both; }
.site-header.is-shown .brand__logo-box { animation: hdr-logo 2.2s cubic-bezier(.16,1,.3,1) .25s both; }
.site-header.is-shown .brand__title    { animation: hdr-title 2.4s cubic-bezier(.16,1,.3,1) .6s both,
                                                    wordmark-aura 9s ease-in-out 3s infinite; }
.site-header.is-shown .brand__line     { animation: hdr-fade 1.4s cubic-bezier(.4,0,.2,1) 1.25s both; }
.site-header.is-shown .brand__phone    { animation: hdr-fade 1.4s cubic-bezier(.4,0,.2,1) 1.5s both; }
.brand-box::after {                                      /* золотой проблеск */
  content: ""; position: absolute; inset: -30% -12%; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255,214,140,.10) 44%,
              rgba(255,240,205,.55) 50%, rgba(255,214,140,.10) 56%, transparent 62%) 120% 0 / 260% 100% no-repeat;
  mix-blend-mode: screen; opacity: 0;
}
.site-header.is-shown .brand-box::after { animation: hdr-sweep 1.6s cubic-bezier(.45,.05,.55,.95) 1.55s both; }
.hdr-spark {
  position: absolute; left: 0; top: 0; width: 3px; height: 3px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, #fffaf0 0 30%, #f2d690 55%, rgba(242,214,144,0) 75%);
  box-shadow: 0 0 6px 1px rgba(255,214,140,.75);
  opacity: 0;
}
@keyframes hdr-veil  { from { opacity: 0; transform: translateY(-30%); } to { opacity: 1; transform: none; } }
@keyframes hdr-logo  { from { opacity: 0; transform: scale(1.9); filter: blur(8px) brightness(1.6); }
                       60% { filter: blur(0) brightness(1.25); }
                       to   { opacity: 1; transform: none; filter: none; } }
@keyframes hdr-title { from { opacity: 0; letter-spacing: .45em; filter: blur(6px); }
                       to   { opacity: 1; letter-spacing: .06em; filter: none; } }
@keyframes hdr-fade  { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes hdr-sweep { 0% { opacity: 0; background-position: 120% 0; } 15% { opacity: 1; }
                       85% { opacity: 1; } 100% { opacity: 0; background-position: -20% 0; } }
@media (prefers-reduced-motion: reduce) {
  .site-header.is-shown::before { animation: none; opacity: 1; transform: none; }
  .site-header.is-shown .brand__logo-box, .site-header.is-shown .brand__title,
  .site-header.is-shown .brand__line, .site-header.is-shown .brand__phone,
  .site-header.is-shown .brand-box::after { animation: none; }
}

/* кольца вокруг жемчужины активно пульсируют до первого нажатия (подсказка);
   стартуют после заставки, после первого открытия шапки гаснут */
.pearl-rings { pointer-events: none; transition: opacity .5s; }   /* анимация — SMIL в разметке */
.pearl-used .pearl-rings { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .pearl-rings { display: none; } }

/* проблеск в шапке — элегантнее: вместо полосы через весь блок — мягкий тёплый свет,
   медленно проходящий только по буквам «ЧЁРНЫЙ ЖЕМЧУГ» (копия слова, клип по тексту) */
.brand-box::after { display: none; }
.brand__title { position: relative; }
.brand__title::after {
  content: "Чёрный Жемчуг";
  position: absolute; inset: 0; pointer-events: none;
  -webkit-text-stroke: 0; color: transparent; -webkit-text-fill-color: transparent; text-shadow: none;
  background: linear-gradient(100deg, transparent 0%, transparent 35%,
              rgba(255,222,160,.18) 42%, rgba(255,238,200,.62) 50%, rgba(255,222,160,.18) 58%,
              transparent 65%, transparent 100%) 100% 0 / 300% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text;
  opacity: 0; animation: none;
}
.site-header.is-shown .brand__title::after { animation: hdr-glint 2.6s cubic-bezier(.4,0,.3,1) 1.7s both; }
@keyframes hdr-glint {
  0%   { opacity: 0; background-position: 100% 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { opacity: 0; background-position: 0% 0; }
}
.hdr-spark { width: 2px; height: 2px; box-shadow: 0 0 4px 1px rgba(255,214,140,.5); }

/* ── плашка cookie — в стиле сайта: тёмное стекло, тонкая золотая рамка;
      появляется после заставки (9 с), выбор запоминается (main.js) ── */
.cookie {
  position: fixed; z-index: 120;
  left: 50%; bottom: clamp(1rem, 3vw, 1.75rem);
  width: min(680px, calc(100% - 2rem));
  transform: translate(-50%, 14px);
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1rem 1.15rem 1rem 1.35rem;
  background: rgba(12, 11, 9, .9);
  border: 1px solid rgba(228, 210, 172, .28);
  box-shadow: 0 18px 50px rgba(0,0,0,.6), inset 0 0 0 1px rgba(0,0,0,.4);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 300 .78rem/1.55 var(--font-body); letter-spacing: .02em;
  color: rgba(241, 232, 213, .82);
  opacity: 0; pointer-events: none;
  transition: opacity .9s cubic-bezier(.4,0,.2,1), transform .9s cubic-bezier(.2,.8,.2,1);
}
.cookie[hidden] { display: none; }
.cookie.is-in { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.cookie__text { margin: 0; flex: 1; }
.cookie__text a { color: var(--gold); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cookie__actions { display: flex; gap: .5rem; flex: none; }
.cookie__btn {
  font: 400 .66rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
  padding: .8rem 1.1rem; cursor: pointer; white-space: nowrap;
  color: #0b0a09; background: linear-gradient(135deg, #e6c983, #c49a48);
  border: 1px solid transparent; transition: filter .3s, border-color .3s, color .3s;
}
.cookie__btn:hover { filter: brightness(1.1); }
.cookie__btn--ghost { background: transparent; color: rgba(228, 210, 172, .85); border-color: rgba(228, 210, 172, .3); }
.cookie__btn--ghost:hover { filter: none; border-color: var(--gold); color: var(--gold); }
@media (max-width: 600px) {
  .cookie { flex-direction: column; align-items: stretch; gap: .85rem; bottom: calc(1rem + 52px + .75rem); }  /* над кнопкой звонка */
  .cookie__actions .cookie__btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .cookie { transition: none; } }

/* искры шапки — крупнее, ярче, кинематографичнее: горячее белое ядро, тёплый ореол;
   часть искр — звёздочки с тонкими лучами (как блик на бриллианте) */
.hdr-spark {
  width: 4px; height: 4px; margin: -2px 0 0 -2px;
  background: radial-gradient(circle, #ffffff 0 28%, #fff1c8 45%, #f2c766 65%, rgba(242,199,102,0) 78%);
  box-shadow: 0 0 6px 1px rgba(255,236,190,.95), 0 0 14px 3px rgba(242,190,90,.55);
  mix-blend-mode: screen;
}
.hdr-spark--star::before, .hdr-spark--star::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 18px; height: 1px; margin: -.5px 0 0 -9px;
  background: linear-gradient(90deg, transparent, rgba(255,246,220,.95) 50%, transparent);
}
.hdr-spark--star::after { transform: rotate(90deg); }

/* искры элегантнее: мельче, ореол деликатнее, лучи звёздочек короче и тоньше */
.hdr-spark {
  width: 3px; height: 3px; margin: -1.5px 0 0 -1.5px;
  box-shadow: 0 0 4px 1px rgba(255,236,190,.85), 0 0 9px 2px rgba(242,190,90,.35);
}
.hdr-spark--star::before, .hdr-spark--star::after {
  width: 12px; margin-left: -6px; height: .7px;
  background: linear-gradient(90deg, transparent, rgba(255,246,220,.8) 50%, transparent);
}

/* шапка появляется ПОСЛЕ искр: искры сыплются сверху (main.js) и там, где касаются,
   проступает содержимое — маска идёт слева направо в такт касаниям (0.9 с → 2.6 с);
   прежние отдельные выходы знака/названия/строки выключены, затем — блик по названию */
@property --hx { syntax: "<percentage>"; inherits: false; initial-value: -15%; }
.site-header .brand-box {
  --hx: -15%;
  -webkit-mask-image: linear-gradient(90deg, #000 var(--hx), transparent calc(var(--hx) + 14%));
          mask-image: linear-gradient(90deg, #000 var(--hx), transparent calc(var(--hx) + 14%));
}
.site-header.is-shown .brand-box { animation: hdr-draw 1.7s linear .9s both; }
@keyframes hdr-draw { from { --hx: -15%; } to { --hx: 115%; } }
.site-header.is-shown .brand__logo-box,
.site-header.is-shown .brand__line,
.site-header.is-shown .brand__phone { animation: none; }
.site-header.is-shown .brand__title { animation: wordmark-aura 9s ease-in-out 3s infinite; }
.site-header.is-shown .brand__title::after { animation-delay: 2.7s; }
.site-header > .hdr-spark { z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .site-header .brand-box, .site-header.is-shown .brand-box { animation: none; -webkit-mask-image: none; mask-image: none; }
}

/* прорисовка по всей длине шапки: маска идёт по всей ширине шапки (вместе с вуалью),
   искры — в отдельном слое над ней, мельче и плотнее */
.site-header .brand-box, .site-header.is-shown .brand-box { -webkit-mask-image: none; mask-image: none; animation: none; }
.site-header {
  --hx: -15%;
  -webkit-mask-image: linear-gradient(90deg, #000 var(--hx), transparent calc(var(--hx) + 10%));
          mask-image: linear-gradient(90deg, #000 var(--hx), transparent calc(var(--hx) + 10%));
}
.site-header.is-shown { animation: hdr-draw 2s linear .9s both; }
.site-header.is-shown .brand__title::after { animation-delay: 3s; }
.hdr-rain { position: fixed; inset: 0; z-index: 101; pointer-events: none; overflow: hidden; }
.hdr-rain .hdr-spark {
  width: 2px; height: 2px; margin: -1px 0 0 -1px;
  box-shadow: 0 0 3px 1px rgba(255,236,190,.85), 0 0 7px 1px rgba(242,190,90,.3);
}
.hdr-rain .hdr-spark--star::before, .hdr-rain .hdr-spark--star::after { width: 9px; margin-left: -4.5px; }
@media (prefers-reduced-motion: reduce) {
  .site-header, .site-header.is-shown { animation: none; -webkit-mask-image: none; mask-image: none; }
}

/* искры прорисовки → блики как у раковины: та же звёздочка cgFlare
   (четыре тонких луча + мягкое ядро + диагональные лучики), картинкой-фоном */
.hdr-rain .hdr-spark, .hdr-rain .hdr-spark--star {
  width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 2 2'%3E%3Cdefs%3E%3CradialGradient id='c'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.35' stop-color='%23fff6e0' stop-opacity='.6'/%3E%3Cstop offset='1' stop-color='%23fff6e0' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle r='.46' fill='url(%23c)'/%3E%3Cpath d='M0-1 .06-.06 1 0 .06.06 0 1-.06.06-1 0-.06-.06Z' fill='%23fffaf0'/%3E%3Cpath d='M-.4-.4 0-.03.4-.4.03 0 .4.4 0 .03-.4.4-.03 0Z' fill='%23fff' fill-opacity='.55'/%3E%3C/svg%3E") center / contain no-repeat;
  box-shadow: none;
  filter: drop-shadow(0 0 2px rgba(255, 220, 150, .7));
}
.hdr-rain .hdr-spark--star::before, .hdr-rain .hdr-spark--star::after { display: none; }
/* блики прорисовки чуть мельче */
.hdr-rain .hdr-spark, .hdr-rain .hdr-spark--star { width: 8px; height: 8px; margin: -4px 0 0 -4px; }

/* шапка поджата снизу; фон заканчивается ровно по её краю, внизу — тонкая
   элегантная золотая линия, к краям тает */
.site-header, .site-header.is-stuck { padding-bottom: .5rem; }
.site-header::before {
  inset: 0;
  background: linear-gradient(180deg, rgba(7,6,5,.95), rgba(7,6,5,.88));
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(228,210,172,.18) 12%, rgba(242,214,144,.6) 50%,
              rgba(228,210,172,.18) 88%, transparent 100%);
  transform: scaleY(.6); transform-origin: bottom;
}
/* блики прорисовки — мельче, гуще и медленнее (прорисовка 3.2 с) */
.hdr-rain .hdr-spark, .hdr-rain .hdr-spark--star { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; filter: none; }
.site-header.is-shown { animation: hdr-draw 3.2s linear .9s both; }
.site-header.is-shown .brand__title::after { animation-delay: 4.2s; }
/* блики прорисовки — золотистее: тёплое светлое ядро, золотые лучи */
.hdr-rain .hdr-spark, .hdr-rain .hdr-spark--star {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 2 2'%3E%3Cdefs%3E%3CradialGradient id='c'%3E%3Cstop offset='0' stop-color='%23fff4d2'/%3E%3Cstop offset='.35' stop-color='%23f2d690' stop-opacity='.7'/%3E%3Cstop offset='1' stop-color='%23e0b25a' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle r='.46' fill='url(%23c)'/%3E%3Cpath d='M0-1 .06-.06 1 0 .06.06 0 1-.06.06-1 0-.06-.06Z' fill='%23f6d98e'/%3E%3Cpath d='M-.4-.4 0-.03.4-.4.03 0 .4.4 0 .03-.4.4-.03 0Z' fill='%23ffe9b0' fill-opacity='.6'/%3E%3C/svg%3E");
}

/* ══ ШАПКА: «ЗОЛОТАЯ НИТЬ» + тиснение ═════════════════════════════════════
   0–0.7 с  от жемчужины вверх бежит светящаяся нить (main.js, .hdr-thread)
   0.7–1.3  у шапки нить разбегается в стороны — это нижняя граница шапки
   1.1–1.9  из линии вверх раскрывается тёмный фон шапки
   1.6–2.6  по очереди проступают знак, название, строка, телефон
   2.5–3.3  тиснение: контур названия вспыхивает золотом, затем один блик */
.site-header, .site-header.is-shown { -webkit-mask-image: none; mask-image: none; animation: none; }
.site-header::before { transform-origin: 50% 100%; transform: scaleY(0); opacity: 1; }
.site-header.is-shown::before { animation: hdr-unfold .8s cubic-bezier(.65,0,.25,1) 1.1s both; }
.site-header::after { transform-origin: var(--tx, 50%) 100%; transform: scale(0, .6); }
.site-header.is-shown::after { animation: hdr-spread .65s cubic-bezier(.55,0,.2,1) .68s both; }
.site-header.is-shown .brand__logo-box { animation: hdr-rise 1s cubic-bezier(.2,.7,.2,1) 1.6s both; }
.site-header.is-shown .brand__title    { animation: hdr-rise 1s cubic-bezier(.2,.7,.2,1) 1.75s both,
                                                    hdr-emboss 1.1s ease-out 2.5s both,
                                                    wordmark-aura 9s ease-in-out 3.6s infinite; }
.site-header.is-shown .brand__line     { animation: hdr-rise 1s cubic-bezier(.2,.7,.2,1) 1.9s both; }
.site-header.is-shown .brand__phone    { animation: hdr-rise 1s cubic-bezier(.2,.7,.2,1) 2.05s both; }
.site-header.is-shown .brand__title::after { animation-delay: 2.9s; animation-duration: 2.2s; }
@keyframes hdr-unfold { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes hdr-spread {
  0%   { transform: scale(0, 2.2); filter: brightness(2.2); }
  70%  { filter: brightness(1.6); }
  100% { transform: scale(1, .6); filter: none; }
}
@keyframes hdr-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes hdr-emboss {
  0%   { -webkit-text-stroke-color: rgba(228,210,172,.9); filter: none; }
  30%  { -webkit-text-stroke-color: rgba(255,236,190,1); filter: drop-shadow(0 0 5px rgba(242,200,110,.75)); }
  100% { -webkit-text-stroke-color: rgba(228,210,172,.9); filter: none; }
}
.hdr-thread {
  position: fixed; z-index: 102; pointer-events: none; width: 1px; margin-left: -.5px;
  background: linear-gradient(180deg, rgba(255,240,205,.95), rgba(242,214,144,.75) 40%, rgba(196,154,72,.25));
  box-shadow: 0 0 6px rgba(242,200,110,.65);
}
.hdr-thread__tip {
  position: absolute; left: 50%; top: 0; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%;
  background: radial-gradient(circle, #fff8e6 0 30%, #f2d690 55%, rgba(242,214,144,0) 75%);
  box-shadow: 0 0 10px 3px rgba(242,200,110,.6);
}
@media (prefers-reduced-motion: reduce) {
  .site-header.is-shown::before, .site-header.is-shown::after,
  .site-header.is-shown .brand__logo-box, .site-header.is-shown .brand__title,
  .site-header.is-shown .brand__line, .site-header.is-shown .brand__phone { animation: none; transform: none; }
}
.hdr-thread__tip { position: fixed; z-index: 103; pointer-events: none; left: 0; }

/* ══ ШАПКА: разделы + «Забронировать»; на телефоне — кнопка меню и полноэкранное меню ══ */
.site-header { justify-content: flex-start; gap: clamp(1.5rem, 3vw, 3rem); }
.hnav { display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.4rem); margin-left: auto; }
.hnav a {
  position: relative; padding: .4rem 0;
  font: 300 .7rem/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase;
  color: rgba(241, 232, 213, .78); transition: color .4s;
}
.hnav a::after {                                   /* тонкая золотая черта при наведении — из центра */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.hnav a:hover { color: #f2d690; }
.hnav a:hover::after { transform: scaleX(1); }
.hnav .hnav__phone { display: none; }
.hbook {
  flex: none; padding: .85rem 1.5rem;
  font: 400 .66rem/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase;
  color: #f2d690; border: 1px solid rgba(228, 210, 172, .45);
  background: linear-gradient(135deg, rgba(242,214,144,.10), rgba(196,154,72,.04));
  transition: color .4s, background .4s, border-color .4s;
}
.hbook:hover { color: #0b0a09; border-color: transparent; background: linear-gradient(135deg, #e6c983, #c49a48); }
.site-header a.hbook[href^="tel:"] { pointer-events: auto; cursor: pointer; }   /* бронь кликается и на компьютере */
.hburger { display: none; }

/* появление вслед за надписью шапки */
.site-header.is-shown .hnav a { animation: hdr-rise 1s cubic-bezier(.2,.7,.2,1) both; }
.site-header.is-shown .hnav a:nth-child(1) { animation-delay: 2.05s; }
.site-header.is-shown .hnav a:nth-child(2) { animation-delay: 2.15s; }
.site-header.is-shown .hnav a:nth-child(3) { animation-delay: 2.25s; }
.site-header.is-shown .hnav a:nth-child(4) { animation-delay: 2.35s; }
.site-header.is-shown .hnav a:nth-child(5) { animation-delay: 2.45s; }
.site-header.is-shown .hbook  { animation: hdr-rise 1s cubic-bezier(.2,.7,.2,1) 2.6s both; }
.site-header.is-shown .hburger { animation: hdr-rise 1s cubic-bezier(.2,.7,.2,1) 2.1s both; }

@media (max-width: 1100px) { .hnav { gap: 1.1rem; } .hnav a { letter-spacing: .16em; } .hbook { padding: .8rem 1.1rem; } }
@media (max-width: 900px) {
  .hbook { display: none; }
  .hburger {
    display: grid; place-content: center; gap: 6px; flex: none; margin-left: auto;
    width: 44px; height: 44px; position: relative; z-index: 130; cursor: pointer;
    border: 1px solid rgba(228, 210, 172, .35); background: rgba(10, 9, 8, .4);
  }
  .hburger i { display: block; width: 20px; height: 1px; background: #f2d690; transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .3s; }
  body.nav-open .hburger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .hburger i:nth-child(2) { opacity: 0; }
  body.nav-open .hburger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hnav {                                        /* полноэкранное меню */
    position: fixed; inset: 0; z-index: 120; margin: 0;
    flex-direction: column; justify-content: center; gap: 1.6rem;
    background: radial-gradient(ellipse at 50% 40%, rgba(24, 20, 14, .97), rgba(7, 6, 5, .98));
    opacity: 0; visibility: hidden; transition: opacity .6s cubic-bezier(.4,0,.2,1), visibility 0s linear .6s;
  }
  body.nav-open .hnav { opacity: 1; visibility: visible; transition: opacity .6s cubic-bezier(.4,0,.2,1), visibility 0s; }
  .hnav a { font: 400 1.6rem/1 var(--font-display); letter-spacing: .14em; color: #e4d2ac; }
  .site-header.is-shown .hnav a { animation: none; }
  body.nav-open .hnav a { animation: hdr-rise .8s cubic-bezier(.2,.7,.2,1) both; }
  body.nav-open .hnav a:nth-child(2) { animation-delay: .06s; }
  body.nav-open .hnav a:nth-child(3) { animation-delay: .12s; }
  body.nav-open .hnav a:nth-child(4) { animation-delay: .18s; }
  body.nav-open .hnav a:nth-child(5) { animation-delay: .24s; }
  body.nav-open .hnav a:nth-child(6) { animation-delay: .32s; }
  .hnav .hnav__phone { display: block; margin-top: 1rem; font: 300 .95rem/1 var(--font-body); letter-spacing: .14em; color: var(--gold); }
  .hnav .hnav__phone::after { display: none; }
}

/* шапка прорисовывается кусками от касаний нитей (маска — main.js): фон и граница уже
   на месте целиком, содержимое не ждёт — проступает вместе со своим куском;
   тиснение и блик — когда все куски сошлись */
.site-header::before, .site-header.is-shown::before { animation: none; transform: none; }
.site-header::after, .site-header.is-shown::after { animation: none; transform: scaleY(.6); }
.site-header.is-shown .brand__logo-box, .site-header.is-shown .brand__line,
.site-header.is-shown .brand__phone, .site-header.is-shown .hnav a,
.site-header.is-shown .hbook, .site-header.is-shown .hburger { animation: none; }
.site-header.is-shown .brand__title { animation: hdr-emboss 1.1s ease-out 2.4s both, wordmark-aura 9s ease-in-out 3.5s infinite; }
.site-header.is-shown .brand__title::after { animation-delay: 2.8s; }
@media (max-width: 900px) { body.nav-open .hnav a { animation: hdr-rise .8s cubic-bezier(.2,.7,.2,1) both; } }

/* шапка открывается сама, одновременно с письмом слогана (без нажатия на жемчужину);
   тиснение, блик и ореол названия — по хронометражу из main.js */
.pearl-hit, .hero__line-pearl { cursor: default; }
.site-header.is-shown .brand__title { animation: hdr-emboss 1.1s ease-out var(--hdrT, 2.4s) both,
                                                 wordmark-aura 9s ease-in-out var(--hdrA, 3.5s) infinite; }
.site-header.is-shown .brand__title::after { animation-delay: var(--hdrG, 2.8s); }


/* плашка cookie — компактнее и элегантнее; кнопки тонкие, без заливки,
   золото приглушено, при наведении по кнопке пробегает проблеск */
.cookie {
  width: min(500px, calc(100% - 2rem));
  gap: 1rem; padding: .7rem .8rem .7rem 1.05rem;
  font-size: .68rem; line-height: 1.5; letter-spacing: .02em;
  color: rgba(241, 232, 213, .7);
  background: rgba(10, 9, 8, .86);
  border-color: rgba(228, 210, 172, .16);
  box-shadow: 0 12px 34px rgba(0,0,0,.5);
}
.cookie__text a { color: rgba(228, 200, 140, .85); text-decoration-color: rgba(228, 200, 140, .35); }
.cookie__actions { gap: .4rem; }
.cookie__btn, .cookie__btn--ghost {
  position: relative; overflow: hidden;
  padding: .58rem .85rem;
  font: 300 .58rem/1 var(--font-body); letter-spacing: .18em;
  background: transparent; filter: none;
  color: rgba(228, 205, 160, .78);
  border: 1px solid rgba(228, 210, 172, .22);
  transition: color .4s, border-color .4s;
}
.cookie__btn { color: rgba(242, 214, 144, .92); border-color: rgba(228, 200, 140, .42); }
.cookie__btn::after {                                   /* проблеск при наведении */
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; pointer-events: none;
  background: linear-gradient(105deg, transparent, rgba(255, 232, 180, .28), transparent);
  transform: skewX(-18deg); opacity: 0;
}
.cookie__btn:hover, .cookie__btn--ghost:hover { filter: none; color: #f2d690; border-color: rgba(242, 214, 144, .6); background: transparent; }
.cookie__btn:hover::after { animation: ck-glint .9s cubic-bezier(.4, 0, .2, 1); }
@keyframes ck-glint { 0% { left: -60%; opacity: 1; } 100% { left: 120%; opacity: 1; } }
@media (max-width: 600px) { .cookie { padding: .8rem .9rem; } }
@media (prefers-reduced-motion: reduce) { .cookie__btn:hover::after { animation: none; } }
/* нити спокойнее: тоньше свечение, кончик меньше и мягче */
.hdr-thread { box-shadow: 0 0 4px rgba(242, 200, 110, .4); opacity: .85;
  background: linear-gradient(180deg, rgba(255,240,205,.8), rgba(242,214,144,.55) 40%, rgba(196,154,72,.15)); }
.hdr-thread__tip { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; box-shadow: 0 0 7px 2px rgba(242, 200, 110, .4); }

/* «Забронировать» при наведении — без заливки-пятна: рамка и текст разгораются,
   по кнопке пробегает тонкий золотой проблеск */
.hbook { position: relative; overflow: hidden; background: transparent; border-color: rgba(228, 210, 172, .38); color: rgba(242, 214, 144, .9); }
.hbook::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(105deg, transparent, rgba(255, 232, 180, .3), transparent);
  transform: skewX(-18deg); opacity: 0;
}
.hbook:hover { background: transparent; color: #f6dc9c; border-color: rgba(242, 214, 144, .7);
  box-shadow: inset 0 0 0 1px rgba(242, 214, 144, .08); }
.hbook:hover::after { animation: ck-glint 1s cubic-bezier(.4, 0, .2, 1); }
.hburger:hover { border-color: rgba(242, 214, 144, .65); }
@media (prefers-reduced-motion: reduce) { .hbook:hover::after { animation: none; } }

/* проблеск при наведении — заметнее: ярче ядро, шире полоса, медленнее проход */
.hbook::after, .cookie__btn::after {
  width: 55%;
  background: linear-gradient(105deg, transparent 0%, rgba(242, 214, 144, .18) 35%,
              rgba(255, 244, 214, .75) 50%, rgba(242, 214, 144, .18) 65%, transparent 100%);
  mix-blend-mode: screen;
}
.hbook:hover::after, .cookie__btn:hover::after { animation: ck-glint 1.1s cubic-bezier(.45, .05, .35, 1) both; }
/* у «Забронировать» ссылка tel:, а для tel:-ссылок на компьютере ::after выключен —
   возвращаем слой проблеска этой кнопке */
.site-header a.hbook[href^="tel:"]::after { display: block; }

/* ══════════════════ РАЗДЕЛЫ (главная — тизеры, внутренние страницы) ══════════════════
   свои классы bp-*, чтобы не тянуть стили старой версии сайта */
html { scroll-snap-type: none; }
.bp-wrap { max-width: 1180px; margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 4rem); }
.bp-sec { position: relative; padding-block: clamp(5rem, 13vh, 9rem); }
.bp-row { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: clamp(2.5rem, 7vw, 6.5rem); }
.bp-sec--rev .bp-row { grid-template-columns: 1fr 1.08fr; }
.bp-sec--rev .bp-frame { order: 2; }
.bp-eyebrow {
  display: flex; align-items: center; gap: .9rem; margin: 0 0 1.4rem;
  font: 300 .66rem/1 var(--font-body); letter-spacing: .34em; text-transform: uppercase; color: var(--gold);
}
.bp-eyebrow::before { content: ""; width: 38px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.bp-h2 {
  margin: 0 0 1.5rem; font: 400 clamp(2rem, 3.9vw, 3.3rem)/1.08 var(--font-display);
  letter-spacing: .01em; color: #efe6d2;
}
.bp-h2 em { font-style: italic; color: #e4c784; }
.bp-text { margin: 0 0 2.2rem; max-width: 36ch; font: 300 1rem/1.85 var(--font-body); color: rgba(241, 232, 213, .72); }
.bp-text + .bp-text { margin-top: -1rem; }
.bp-btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: .9rem;
  padding: .95rem 1.6rem; font: 400 .64rem/1 var(--font-body); letter-spacing: .24em; text-transform: uppercase;
  color: rgba(242, 214, 144, .92); border: 1px solid rgba(228, 210, 172, .38); transition: color .4s, border-color .4s;
}
.bp-btn::before { content: ""; width: 22px; height: 1px; background: currentColor; transition: width .5s cubic-bezier(.2,.7,.2,1); }
.bp-btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 55%; pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(242,214,144,.18) 35%, rgba(255,244,214,.7) 50%, rgba(242,214,144,.18) 65%, transparent 100%);
  transform: skewX(-18deg); opacity: 0; mix-blend-mode: screen;
}
.bp-btn:hover { color: #f6dc9c; border-color: rgba(242, 214, 144, .7); }
.bp-btn:hover::before { width: 34px; }
.bp-btn:hover::after { animation: ck-glint 1.1s cubic-bezier(.45,.05,.35,1) both; }
a.bp-btn[href^="tel:"] { pointer-events: auto; cursor: pointer; }
a.bp-btn[href^="tel:"]::after { display: block; }

/* рамка под фото — пока без снимка: двойная тонкая золотая рамка, уголки, подпись — что здесь будет */
.bp-frame {
  position: relative; aspect-ratio: 4 / 5; width: 100%;
  background: radial-gradient(ellipse at 50% 40%, rgba(40, 32, 20, .55), rgba(12, 11, 9, .9));
  border: 1px solid rgba(228, 210, 172, .22);
}
.bp-frame--wide { aspect-ratio: 3 / 2; }
.bp-frame--sq { aspect-ratio: 1; }
.bp-frame::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(228, 210, 172, .12); pointer-events: none; }
.bp-frame::after {
  content: attr(data-photo); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 80%; text-align: center; font: 300 .6rem/1.7 var(--font-body); letter-spacing: .3em; text-transform: uppercase;
  color: rgba(228, 210, 172, .38);
}
.bp-frame i { position: absolute; width: 18px; height: 18px; border: 1px solid rgba(242, 214, 144, .55); pointer-events: none; }
.bp-frame i:nth-of-type(1) { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.bp-frame i:nth-of-type(2) { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.bp-frame i:nth-of-type(3) { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.bp-frame i:nth-of-type(4) { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.bp-frame img { position: absolute; inset: 13px; width: calc(100% - 26px); height: calc(100% - 26px); object-fit: cover; }   /* фото — внутри внутренней полосы рамки (::before, inset 12px + 1px линия) */

/* шапка внутренней страницы */
.bp-head { padding: calc(110px + 9vh) 0 clamp(3rem, 8vh, 5rem); text-align: center; }
.bp-head .bp-eyebrow { justify-content: center; }
.bp-head .bp-eyebrow::after { content: ""; width: 38px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.bp-h1 { margin: 0 auto 1.4rem; font: 400 clamp(2.6rem, 6vw, 4.8rem)/1.02 var(--font-display); color: #efe6d2; letter-spacing: .01em; }
.bp-h1 em { font-style: italic; color: #e4c784; }
.bp-lead { margin: 0 auto; max-width: 46ch; font: 300 1.05rem/1.85 var(--font-body); color: rgba(241, 232, 213, .7); }

/* карточки (форматы банкетов, блоки «гостям»), список, галерея, призыв, карта */
.bp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: rgba(228, 210, 172, .14); border: 1px solid rgba(228, 210, 172, .14); }
.bp-card { padding: clamp(1.8rem, 3vw, 2.6rem); background: #0c0b09; }
.bp-card h3 { margin: 0 0 .9rem; font: 400 1.55rem/1.15 var(--font-display); color: #efe6d2; }
.bp-card p { margin: 0; font: 300 .92rem/1.75 var(--font-body); color: rgba(241, 232, 213, .66); }
.bp-card a { color: rgba(242, 214, 144, .9); }
.bp-num { display: block; margin-bottom: 1.1rem; font: 300 .62rem/1 var(--font-body); letter-spacing: .3em; color: var(--gold); text-transform: uppercase; }
.bp-list { list-style: none; margin: 0 0 2.2rem; padding: 0; max-width: 40ch; }
.bp-list li { position: relative; padding: .8rem 0 .8rem 1.6rem; border-bottom: 1px solid rgba(228, 210, 172, .1);
  font: 300 .95rem/1.6 var(--font-body); color: rgba(241, 232, 213, .74); }
.bp-list li::before { content: ""; position: absolute; left: 0; top: 1.35rem; width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #6b6a70, #0d0d10 70%); box-shadow: 0 0 0 1px rgba(242,214,144,.5); }
.bp-gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(.8rem, 1.6vw, 1.4rem); }
.bp-gallery .bp-frame { aspect-ratio: 1; }
.bp-gallery .bp-frame:first-child { grid-row: span 2; aspect-ratio: auto; }
.bp-cta { text-align: center; padding-block: clamp(5rem, 12vh, 8rem); border-top: 1px solid rgba(228, 210, 172, .1); }
.bp-cta .bp-eyebrow { justify-content: center; }
.bp-cta .bp-eyebrow::after { content: ""; width: 38px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.bp-cta .bp-h2 { margin-bottom: 1rem; }
.bp-cta .bp-text { margin-inline: auto; }
.bp-map { display: block; width: 100%; aspect-ratio: 16 / 7; border: 1px solid rgba(228, 210, 172, .22); filter: grayscale(.85) contrast(1.05) brightness(.8); }

/* ══ ПОДВАЛ ══ */
.bp-footer { position: relative; padding: clamp(4rem, 9vh, 6rem) 0 2rem; border-top: 1px solid rgba(228, 210, 172, .14);
  background: linear-gradient(180deg, rgba(10, 9, 8, .6), #070605); }
.bp-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); }
.bp-footer__brand { font: 400 1.7rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: #efe6d2; }
.bp-footer__brand small { display: block; margin-top: .7rem; font: 300 .58rem/1 var(--font-body); letter-spacing: .32em; color: var(--gold); }
.bp-footer__note { margin: 1.4rem 0 0; max-width: 30ch; font: 300 .85rem/1.7 var(--font-body); color: rgba(241, 232, 213, .5); }
.bp-footer h4 { margin: 0 0 1.2rem; font: 300 .6rem/1 var(--font-body); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.bp-footer p, .bp-footer a { display: block; margin: 0 0 .6rem; font: 300 .9rem/1.6 var(--font-body); color: rgba(241, 232, 213, .7); }
.bp-footer a:hover { color: #f2d690; }
.bp-footer__legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: clamp(3rem, 7vh, 4.5rem); padding-top: 1.5rem;
  border-top: 1px solid rgba(228, 210, 172, .1); font: 300 .72rem/1.6 var(--font-body); color: rgba(241, 232, 213, .38); }
.bp-footer__legal a { display: inline; margin: 0; font-size: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .bp-row, .bp-sec--rev .bp-row { grid-template-columns: 1fr; }
  .bp-sec--rev .bp-frame { order: 0; }
  .bp-frame { aspect-ratio: 4 / 3; }
  .bp-gallery { grid-template-columns: 1fr 1fr; }
  .bp-gallery .bp-frame:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 3 / 2; }
  .bp-footer__grid { grid-template-columns: 1fr 1fr; }
  .bp-footer__grid > :first-child { grid-column: span 2; }
}
@media (max-width: 520px) {
  .bp-footer__grid { grid-template-columns: 1fr; }
  .bp-footer__grid > :first-child { grid-column: auto; }
  .bp-map { aspect-ratio: 4 / 3; }
}

/* текущий раздел в меню шапки */
.hnav a[aria-current="page"] { color: #f2d690; }
.hnav a[aria-current="page"]::after { transform: scaleX(1); }

/* «Наверх» — на всех страницах: тонкий золотой круг со стрелкой, появляется после прокрутки */
.floaters .to-top {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  color: rgba(242, 214, 144, .9); background: rgba(10, 9, 8, .7);
  border: 1px solid rgba(228, 210, 172, .38);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .5s cubic-bezier(.4,0,.2,1), transform .5s cubic-bezier(.2,.7,.2,1), border-color .4s, color .4s;
}
.floaters .to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.floaters .to-top:hover { color: #f6dc9c; border-color: rgba(242, 214, 144, .75); transform: translateY(-2px); }
.floaters { align-items: center; }

/* «Наверх» — лёгкий пульс: тонкое золотое кольцо мягко расходится раз в 3.2 с */
.floaters .to-top { position: relative; }
.floaters .to-top::before {
  content: ""; position: absolute; inset: -1px; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(242, 214, 144, .55); opacity: 0;
}
.floaters .to-top.is-visible::before { animation: top-pulse 3.2s cubic-bezier(.2, .6, .3, 1) 1s infinite; }
.floaters .to-top:hover::before { animation-play-state: paused; opacity: 0; }
@keyframes top-pulse {
  0%   { opacity: .7; transform: scale(1); }
  45%, 100% { opacity: 0; transform: scale(1.45); }
}
@media (prefers-reduced-motion: reduce) { .floaters .to-top.is-visible::before { animation: none; } }

/* «Наверх» — пульс как у колец жемчужины: два светлых золотых кольца с мягким ореолом
   расходятся от края кнопки и тают; ход 3.2 с, второе — через 1.6 с, тонеют по пути */
.floaters .to-top::before, .floaters .to-top::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%; pointer-events: none;
  border: 1.6px solid #fff4d6; opacity: 0;
  box-shadow: 0 0 6px rgba(255, 236, 190, .55), inset 0 0 4px rgba(255, 236, 190, .3);
}
.floaters .to-top.is-visible::before { animation: top-ring 3.2s cubic-bezier(.25, .5, .35, 1) .6s infinite; }
.floaters .to-top.is-visible::after  { animation: top-ring 3.2s cubic-bezier(.25, .5, .35, 1) 2.2s infinite; }
.floaters .to-top:hover::before, .floaters .to-top:hover::after { animation-play-state: paused; opacity: 0; }
@keyframes top-ring {
  0%   { opacity: 0;  transform: scale(1);    border-width: 1.6px; }
  25%  { opacity: .7; }
  100% { opacity: 0;  transform: scale(1.38); border-width: .4px; }
}
@media (prefers-reduced-motion: reduce) { .floaters .to-top.is-visible::before, .floaters .to-top.is-visible::after { animation: none; } }

/* заставка названия: вторая пробежка убрана; остались две, медленнее (2.2 с вместо 1.5 с),
   без паузы между ними: 1) свечение 1.9–4.1 с — ШИРЕ (полоса ±32% вместо ±20%);
   2) проблеск + свечение + проявление контура 4.1–6.3 с (до масштаба BP_K) */
.hero__halo { animation-duration: 2.2s; animation-delay: 1.9s; }
.hero__halo[style*="--h:2"] { animation-delay: 4.1s; }
.hero__halo:not([style]) {
  -webkit-mask-image: linear-gradient(90deg, transparent calc(var(--gx) - 32%), rgba(0,0,0,.5) calc(var(--gx) - 13%), #000 var(--gx), rgba(0,0,0,.5) calc(var(--gx) + 13%), transparent calc(var(--gx) + 32%));
          mask-image: linear-gradient(90deg, transparent calc(var(--gx) - 32%), rgba(0,0,0,.5) calc(var(--gx) - 13%), #000 var(--gx), rgba(0,0,0,.5) calc(var(--gx) + 13%), transparent calc(var(--gx) + 32%));
  animation-name: halo-sweep-wide;
}
@keyframes halo-sweep-wide { from { --gx: -32%; opacity: 1; } to { --gx: 132%; opacity: 1; } }
.hero__glint { animation-duration: 2.2s; animation-delay: 4.1s; }
.hero__title-txt { animation-duration: 2.2s; animation-delay: 4.1s; }

/* ══════════════════ СТРАНИЦА МЕНЮ ══════════════════ */
.mn-doors { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.4vw, 2rem); margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.mn-door {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: .3rem;
  padding: 0 0 1.6rem; cursor: pointer; text-align: center; color: inherit; font: inherit;
  background: #0c0b09; border: 1px solid rgba(228, 210, 172, .16); transition: border-color .5s, background .5s;
}
.mn-door .bp-frame { border: 0; border-bottom: 1px solid rgba(228, 210, 172, .14); margin-bottom: 1.3rem; opacity: .7; transition: opacity .5s; }
.mn-door__title { font: 400 clamp(2rem, 3.6vw, 2.9rem)/1 var(--font-display); color: #efe6d2; letter-spacing: .02em; }
.mn-door__sub { font: 300 .62rem/1.6 var(--font-body); letter-spacing: .26em; text-transform: uppercase; color: rgba(228, 210, 172, .5); }
.mn-door::after {                                         /* проблеск при наведении */
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(242,214,144,.10) 35%, rgba(255,244,214,.35) 50%, rgba(242,214,144,.10) 65%, transparent 100%);
  transform: skewX(-18deg); opacity: 0; mix-blend-mode: screen;
}
.mn-door:hover::after { animation: ck-glint 1.3s cubic-bezier(.45,.05,.35,1) both; }
.mn-door:hover, .mn-door.is-on { border-color: rgba(242, 214, 144, .5); background: #110e0a; }
.mn-door.is-on .bp-frame, .mn-door:hover .bp-frame { opacity: 1; }
.mn-door.is-on .mn-door__title { color: #f2d690; }
.mn-door.is-on::before {                                  /* золотая черта под выбранной */
  content: ""; position: absolute; left: 30%; right: 30%; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, #f2d690, transparent);
}

/* лента разделов — закреплена под шапкой */
.mn-chips {
  position: sticky; top: 79px; z-index: 50; display: flex; gap: clamp(1.2rem, 2.4vw, 2.2rem);
  overflow-x: auto; scrollbar-width: none; padding: 1rem clamp(1.25rem, 5vw, 4rem);
  background: rgba(8, 7, 6, .94); border-top: 1px solid rgba(228, 210, 172, .1); border-bottom: 1px solid rgba(228, 210, 172, .1);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.mn-chips::-webkit-scrollbar { display: none; }
.mn-chips a {
  position: relative; flex: none; padding: .35rem 0; white-space: nowrap;
  font: 300 .64rem/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: rgba(241, 232, 213, .6); transition: color .4s;
}
.mn-chips a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform: scaleX(0); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.mn-chips a:hover, .mn-chips a.is-on { color: #f2d690; }
.mn-chips a.is-on::after, .mn-chips a:hover::after { transform: scaleX(1); }

/* разделы и позиции */
.mn-body { padding-top: clamp(2.5rem, 6vh, 4rem); }
.mn-group { padding-block: clamp(2rem, 5vh, 3.2rem); scroll-margin-top: 150px; }
.mn-head { margin-bottom: clamp(1.5rem, 3vh, 2.2rem); text-align: center; }
.mn-head--photo { display: grid; grid-template-columns: minmax(0, 340px) 1fr; align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); text-align: left; }
.mn-title { margin: 0; font: 400 clamp(1.9rem, 3.4vw, 2.8rem)/1.05 var(--font-display); color: #efe6d2; letter-spacing: .02em; }
.mn-note { margin: .7rem 0 0; font: 300 .66rem/1.5 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.mn-items { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 4.5rem); }
.mn-item { padding: .85rem 0; border-bottom: 1px solid rgba(228, 210, 172, .07); }
.mn-line { display: flex; align-items: baseline; gap: .6rem; }
.mn-name { font: 400 1.22rem/1.25 var(--font-display); color: #efe6d2; }
.mn-dots { flex: 1; min-width: 1.5rem; border-bottom: 1px dotted rgba(228, 210, 172, .28); transform: translateY(-.3rem); }
.mn-price { flex: none; font: 300 .95rem/1 var(--font-body); color: #e4c784; letter-spacing: .02em; }
.mn-meta { margin-top: .3rem; font: 300 .78rem/1.4 var(--font-body); color: rgba(241, 232, 213, .48); }
.mn-pearl {
  width: 9px; height: 9px; margin: clamp(2rem, 5vh, 3rem) auto 0; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #6b6a70, #0d0d10 70%); box-shadow: 0 0 0 1px rgba(242, 214, 144, .55), 0 0 10px rgba(242, 214, 144, .2);
}
.mn-group:last-child .mn-pearl { display: none; }
.mn-offers { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: clamp(2rem, 5vh, 3rem); background: rgba(228, 210, 172, .14); border: 1px solid rgba(228, 210, 172, .14); padding: 0; }
.mn-offer { padding: 1.6rem 2rem; background: #0c0b09; }
.mn-offer p { margin: 0; font: 400 1.4rem/1.2 var(--font-display); color: #efe6d2; }
.mn-offer b { font-weight: 500; color: #f2d690; }
.mn-foot { margin-top: 1.4rem; font: 300 .78rem/1.6 var(--font-body); color: rgba(241, 232, 213, .42); text-align: center; }

@media (max-width: 900px) {
  .mn-chips { top: 63px; }
  .mn-items { grid-template-columns: 1fr; }
  .mn-head--photo { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 600px) {
  .mn-doors { gap: .6rem; }
  .mn-door__sub { display: none; }
  .mn-offers { grid-template-columns: 1fr; }
  .mn-name { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) { .mn-door:hover::after { animation: none; } }

/* «двери» меню пониже — карта видна быстрее */
.mn-door .bp-frame { aspect-ratio: 16 / 7; }

/* overflow-x: hidden на body ломает position: sticky (ленту разделов меню) — clip режет так же, но без этого */
body { overflow-x: clip; }

/* переход по якорю (напр. «Контакты» → guests.html#contacts): блок не уезжает под закреплённую шапку */
section[id], footer[id] { scroll-margin-top: 120px; }
@media (max-width: 900px) { section[id], footer[id] { scroll-margin-top: 90px; } }

/* ══ БАНКЕТНОЕ МЕНЮ (banquets.html) — те же классы, что у меню; справа вместо цены — выход ══ */
.bq-menu { padding-top: clamp(4rem, 10vh, 7rem); border-top: 1px solid rgba(228, 210, 172, .1); }
.bq-intro { text-align: center; margin-bottom: clamp(2rem, 5vh, 3rem); }
.bq-intro .bp-eyebrow { justify-content: center; }
.bq-intro .bp-eyebrow::after { content: ""; width: 38px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.bq-intro .bp-text { margin-inline: auto; max-width: 52ch; }
.bq-menu .mn-price { color: rgba(228, 199, 132, .8); font-size: .82rem; letter-spacing: .04em; }
.bq-menu .mn-group h3.mn-title { font-weight: 400; }
/* «Блюда целиком» — карточками с рамкой под фото */
.bq-big { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.bq-dish h4 { margin: 1rem 0 .35rem; font: 400 1.25rem/1.2 var(--font-display); color: #efe6d2; }
.bq-dish p { margin: 0; font: 300 .78rem/1.5 var(--font-body); color: rgba(228, 199, 132, .75); letter-spacing: .03em; }
@media (max-width: 600px) { .bq-big { grid-template-columns: 1fr 1fr; } .bq-dish h4 { font-size: 1.08rem; } }

/* первая пробежка (широкое свечение) — размытее: мягче и шире ореол, лёгкий расфокус,
   края полосы без ступенек */
.hero__halo:not([style]) {
  text-shadow: 0 0 10px rgba(255, 214, 140, .75), 0 0 30px rgba(236, 178, 88, .55), 0 0 60px rgba(200, 140, 58, .38);
  filter: blur(2px);
  -webkit-mask-image: linear-gradient(90deg, transparent calc(var(--gx) - 36%), rgba(0,0,0,.35) calc(var(--gx) - 18%), #000 var(--gx), rgba(0,0,0,.35) calc(var(--gx) + 18%), transparent calc(var(--gx) + 36%));
          mask-image: linear-gradient(90deg, transparent calc(var(--gx) - 36%), rgba(0,0,0,.35) calc(var(--gx) - 18%), #000 var(--gx), rgba(0,0,0,.35) calc(var(--gx) + 18%), transparent calc(var(--gx) + 36%));
}

/* ---------- фото в рамках ---------- */
.bp-frame:has(img)::after { display: none; }
.bp-frame img { z-index: 0; filter: saturate(.92) contrast(1.04); transition: filter .8s; }
.bp-frame::before, .bp-frame i { z-index: 1; }
.bp-frame:hover img, .mn-door:hover .bp-frame img { filter: saturate(1.05) contrast(1.06) brightness(1.06); }
@media (prefers-reduced-motion: reduce) { .bp-frame img { transition: none; } }

/* шапка: два номера в одну строку под надписью, разрядка цифр меньше — строка по ширине названия */
.brand-box .brand__phone { letter-spacing: .02em; }
div.brand__phone:hover { color: var(--gold); }
.brand__phone a { color: inherit; transition: color .3s; }
.brand__phone a:hover { color: var(--gold-bright, #e9cf8a); }
.brand__phone-sep { margin: 0 .45em; opacity: .55; }
@media (max-width: 900px) {
  .hnav .hnav__phone { letter-spacing: .04em; }
  .hnav .hnav__phone--2 { margin-top: -.85rem; }   /* к первому номеру ближе, чем разделы между собой */
}

/* разделы шапки: черты под ссылкой больше нет — над словом ряд маленьких жемчужин,
   шаг постоянный, количество — по длине слова (ставит main.js: --i — номер, --n — сколько);
   при наведении проявляются слева направо, при уходе мыши гаснут справа налево;
   у текущей страницы горят постоянно */
.hnav a::after, .hnav a:hover::after, .hnav a[aria-current="page"]::after { display: none; }
.hnav__pearls {
  position: absolute; left: 0; bottom: 100%; margin-bottom: .1rem;   /* left — от main.js, по центру букв */
  display: flex; gap: 5px; pointer-events: none;
}
.hnav__pearls i {
  --st: .03s;                                                      /* шаг между жемчужинами */
  width: 4px; height: 4px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #d9d0bd 0, #b3a78f 35%, #7d725f 72%, #4a4236 100%);
  box-shadow: 0 0 3px rgba(242, 214, 144, .2);
  opacity: 0; transform: translateY(3px) scale(.4);
  transition: opacity .16s ease, transform .2s cubic-bezier(.2, .8, .2, 1);
  transition-delay: calc((var(--n) - 1 - var(--i)) * var(--st));     /* уход мыши: справа налево */
}
.hnav a:hover .hnav__pearls i, .hnav a:focus-visible .hnav__pearls i,
.hnav a[aria-current="page"] .hnav__pearls i { opacity: .75; transform: none; }
.hnav a:hover .hnav__pearls i, .hnav a:focus-visible .hnav__pearls i {
  transition-delay: calc(var(--i) * var(--st));                    /* наведение: слева направо */
  animation: pearl-glint .38s ease-out calc(var(--i) * var(--st)) both;   /* проблеск при появлении */
}
@keyframes pearl-glint {
  0%   { filter: brightness(1); box-shadow: 0 0 3px rgba(242, 214, 144, .2); }
  30%  { filter: brightness(2.3); box-shadow: 0 0 6px 1px rgba(255, 238, 200, .7); }
  100% { filter: brightness(1); box-shadow: 0 0 3px rgba(242, 214, 144, .2); }
}
@media (max-width: 900px) { .hnav .hnav__pearls { display: none; } }
@media (prefers-reduced-motion: reduce) { .hnav__pearls i { transition: opacity .2s; transition-delay: 0s !important; animation: none !important; } }

/* шапка: название чуть ярче (обводка светлее и плотнее, ореол сильнее);
   проблеск по буквам — ярче и по кругу, каждые ~5 с (раньше — один раз) */
.brand__title { -webkit-text-stroke: .45px rgba(244, 228, 192, 1); }
.site-header.is-shown .brand__title { animation: hdr-emboss 1.1s ease-out var(--hdrT, 2.4s) both,
                                                 hdr-aura 9s ease-in-out var(--hdrA, 3.5s) infinite; }
@keyframes hdr-aura {
  0%, 100% { text-shadow: 0 0 14px rgba(214,158,70,.42), 0 0 36px rgba(170,122,66,.22); }
  50%      { text-shadow: 0 0 20px rgba(246,192,100,.6),  0 0 46px rgba(214,152,64,.3); }
}
.brand__title::after {
  background: linear-gradient(100deg, transparent 0%, transparent 34%,
              rgba(255,226,170,.35) 42%, rgba(255,246,222,1) 50%, rgba(255,226,170,.35) 58%,
              transparent 66%, transparent 100%) 100% 0 / 300% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text;
}
.site-header.is-shown .brand__title::after {
  animation: hdr-glint-loop 5s cubic-bezier(.4, 0, .3, 1) var(--hdrG, 2.8s) infinite both;
}
@keyframes hdr-glint-loop {                 /* проход ~1.9 с, затем пауза до следующего */
  0%   { opacity: 0; background-position: 100% 0; }
  8%   { opacity: 1; }
  30%  { opacity: 1; }
  38%  { opacity: 0; background-position: 0% 0; }
  100% { opacity: 0; background-position: 0% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header.is-shown .brand__title, .site-header.is-shown .brand__title::after { animation: none; }
}
@keyframes hdr-emboss {                     /* тиснение — к новой, более светлой обводке */
  0%   { -webkit-text-stroke-color: rgba(244,228,192,1); filter: none; }
  30%  { -webkit-text-stroke-color: rgba(255,242,210,1); filter: drop-shadow(0 0 6px rgba(246,206,120,.85)); }
  100% { -webkit-text-stroke-color: rgba(244,228,192,1); filter: none; }
}

/* ══ появление при прокрутке — медленнее и эффектнее (виды ставит main.js) ══
   rv-photo: фото раскрывается из центра «окном» и медленно оседает из приближения,
             затем проступают золотые уголки и по снимку проходит мягкий блик;
   rv-kids:  надзаголовок, заголовок, текст, кнопка выплывают по очереди из размытия;
   rv-self:  одиночный заголовок/строка — так же, целиком.
   Анимации (а не переходы) с fill: backwards — после конца у элементов снова их обычные стили */
.reveal.rv-photo, .reveal.rv-kids, .reveal.rv-self { opacity: 1; transform: none; transition: none; }
.reveal.rv-kids:not(.is-in) > .rv-kid, .reveal.rv-self:not(.is-in),
.reveal.rv-photo:not(.is-in) img, .reveal.rv-photo:not(.is-in) i,
.reveal.rv-kids:not(.is-in) > .bp-frame img { opacity: 0; }
.reveal.rv-self.is-in {
  animation: rv-up 1.1s cubic-bezier(.16, 1, .3, 1) var(--rv0, 0s) backwards;
}
.reveal.rv-kids.is-in > .rv-kid {
  animation: rv-up 1.1s cubic-bezier(.16, 1, .3, 1) calc(var(--rv0, 0s) + .05s + var(--k, 0) * .12s) backwards;
}
@keyframes rv-up {
  from { opacity: 0; transform: translateY(42px); filter: blur(8px); }
  45%  { opacity: 1; }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
/* фото: окно из центра + оседание из приближения */
.reveal.rv-photo { overflow: clip; overflow-clip-margin: 1px; }   /* уголки выступают на 1px — не срезать */
.reveal.rv-photo.is-in img,
.reveal.rv-kids.is-in > .bp-frame img {
  animation: rv-photo 2.4s cubic-bezier(.16, 1, .3, 1) calc(var(--rv0, 0s) + var(--k, 0) * .2s) backwards;
}
@keyframes rv-photo {
  from { opacity: 0; clip-path: inset(22% 18% 22% 18%); transform: scale(1.14); }
  30%  { opacity: 1; }
  to   { opacity: 1; clip-path: inset(0); transform: scale(1); }
}
/* уголки рамки — после раскрытия, сходятся к углам */
.reveal.rv-photo.is-in i { animation: rv-corner 1.1s cubic-bezier(.16, 1, .3, 1) 1.1s backwards; }
@keyframes rv-corner { from { opacity: 0; transform: scale(.3); } }
.bp-frame i:nth-of-type(1) { transform-origin: 0 0; }
.bp-frame i:nth-of-type(2) { transform-origin: 100% 0; }
.bp-frame i:nth-of-type(3) { transform-origin: 0 100%; }
.bp-frame i:nth-of-type(4) { transform-origin: 100% 100%; }
/* мягкий блик по снимку — один раз, когда фото раскрылось */
.reveal.rv-photo:has(img)::after {
  display: block; content: ""; inset: 0; left: 0; top: 0; width: auto; transform: none; z-index: 1;
  pointer-events: none; opacity: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 240, 205, .05) 42%,
              rgba(255, 240, 205, .26) 50%, rgba(255, 240, 205, .05) 58%, transparent 70%) 150% 0 / 260% 100% no-repeat;
}
.reveal.rv-photo.is-in:has(img)::after { animation: rv-sweep 1.8s cubic-bezier(.45, .05, .55, .95) 1.3s both; }
@keyframes rv-sweep {
  0%   { opacity: 0; background-position: 150% 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { opacity: 0; background-position: -50% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal.rv-kids > .rv-kid, .reveal.rv-self, .reveal.rv-photo img, .reveal.rv-photo i,
  .reveal.rv-kids > .bp-frame img { opacity: 1 !important; animation: none !important; }
  .reveal.rv-photo::after { display: none !important; }
}

/* ---- меню и банкетное меню: строка разделов по центру, вместо черты — жемчужины сверху, как в шапке ---- */
.mn-chips a:first-child { margin-left: auto; }   /* по центру, но строку по-прежнему можно листать на узком экране */
.mn-chips a:last-child { margin-right: auto; }
.mn-chips a::after { display: none; }
.mn-chips a:hover .hnav__pearls i, .mn-chips a:focus-visible .hnav__pearls i,
.mn-chips a.is-on .hnav__pearls i { opacity: .75; transform: none; }
.mn-chips a:hover .hnav__pearls i, .mn-chips a:focus-visible .hnav__pearls i {
  transition-delay: calc(var(--i) * var(--st));
  animation: pearl-glint .38s ease-out calc(var(--i) * var(--st)) both;
}

/* ---- книга отзывов и предложений (otzyv.html) ---- */
.fb-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.fb-form { padding: clamp(1.6rem, 3vw, 2.6rem); background: #0c0b09; border: 1px solid rgba(228, 210, 172, .12); }
.fb-types { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.8rem; padding: 0; border: 0; }
.fb-types legend { width: 100%; margin-bottom: .8rem; font: 300 .64rem/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.fb-types label { cursor: pointer; }
.fb-types input { position: absolute; opacity: 0; pointer-events: none; }
.fb-types span {
  display: inline-block; padding: .65rem 1.1rem; border: 1px solid rgba(228, 210, 172, .18);
  font: 300 .7rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: rgba(241, 232, 213, .7);
  transition: color .3s, border-color .3s, background .3s;
}
.fb-types label:hover span { color: #f2d690; border-color: rgba(242, 214, 144, .45); }
.fb-types input:checked + span { color: #0a0a0a; background: linear-gradient(180deg, #f2d690, #c8a24a); border-color: transparent; }
.fb-types input:focus-visible + span { outline: 1px solid #f2d690; outline-offset: 3px; }
.fb-form .form-field input, .fb-form .form-field textarea { background: #080706; border-color: rgba(228, 210, 172, .14); }
.fb-form .form-field textarea { resize: vertical; min-height: 9rem; line-height: 1.55; }
.fb-form .form-field input[type="date"] { color-scheme: dark; }
.fb-date { max-width: 16rem; }
.fb-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fb-consent { display: flex; gap: .7rem; align-items: flex-start; margin: .4rem 0 1.6rem; font: 300 .82rem/1.5 var(--font-body); color: rgba(241, 232, 213, .6); cursor: pointer; }
.fb-consent input { flex: none; width: 1rem; height: 1rem; margin-top: .15rem; accent-color: #c8a24a; }
.fb-consent a { color: rgba(228, 200, 140, .9); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(228, 200, 140, .35); }
.fb-send { border: 0; cursor: pointer; }
.fb-send:disabled { opacity: .55; cursor: wait; }
.fb-form .form-status { margin-top: 1.2rem; font: 300 .95rem/1.5 var(--font-body); }
.fb-side { display: grid; gap: 1px; background: rgba(228, 210, 172, .12); border: 1px solid rgba(228, 210, 172, .12); }
@media (max-width: 900px) { .fb-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .fb-form .form-row { grid-template-columns: 1fr; gap: 0; } .fb-date { max-width: none; } }

/* ---- QR-код книги отзывов на сайте (с компьютера — перейти на телефон); на телефоне не нужен ---- */
.bp-qr { display: block; flex: none; width: 120px; height: 120px; padding: 7px; background: #f6f0e2; border-radius: 4px; box-shadow: 0 0 0 1px rgba(200, 162, 74, .7); }
.bp-qr--card { width: 96px; height: 96px; padding: 6px; margin-top: 1.4rem; }
.fb-qr-row { display: flex; gap: 1.3rem; align-items: center; margin-top: 1rem; }
.fb-qr-row p { margin: 0; }
.bp-qr-url { display: inline-block; margin-top: .5rem; color: #e4c784; letter-spacing: .06em; }
@media (max-width: 600px), (hover: none) and (pointer: coarse) { .bp-qr, .fb-qr-card { display: none; } }
/* контакты: 4 карточки — без «дырок» в сетке (4 в ряд → 2×2 → 1 колонка) */
#contacts .bp-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) { #contacts .bp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { #contacts .bp-cards { grid-template-columns: 1fr; } }

/* ══ АФИША (afisha.html): карточки событий и заглушка ══ */
.af-list { display: grid; gap: 1px; background: rgba(228, 210, 172, .14); border: 1px solid rgba(228, 210, 172, .14); }
.af-list[hidden], .af-empty[hidden] { display: none; }
.af-ev { display: grid; grid-template-columns: 9rem 1fr auto; align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.5rem, 3vw, 2.6rem); background: #0c0b09; }
.af-ev__date { text-align: center; padding-right: clamp(1.5rem, 4vw, 3.5rem); border-right: 1px solid rgba(228, 210, 172, .14); }
.af-ev__date b { display: block; font: 400 3.4rem/1 var(--font-display); color: #e4c784; }
.af-ev__date span { display: block; margin-top: .4rem; font: 300 .66rem/1 var(--font-body); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.af-ev__date small { display: block; margin-top: .7rem; font: 300 .8rem/1 var(--font-body); color: rgba(241, 232, 213, .55); }
.af-ev__tag { margin: 0 0 .6rem; font: 300 .6rem/1 var(--font-body); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.af-ev h3 { margin: 0 0 .6rem; font: 400 1.7rem/1.15 var(--font-display); color: #efe6d2; }
.af-ev__body p:last-child { margin: 0; max-width: 52ch; font: 300 .92rem/1.75 var(--font-body); color: rgba(241, 232, 213, .66); }
.af-empty { max-width: 640px; margin-inline: auto; padding: clamp(2.4rem, 5vw, 3.6rem); text-align: center;
  background: #0c0b09; border: 1px solid rgba(228, 210, 172, .14); }
.af-empty h3 { margin: 0 0 1rem; font: 400 clamp(1.6rem, 3vw, 2.1rem)/1.15 var(--font-display); color: #efe6d2; }
.af-empty p { margin: 0 auto 2rem; max-width: 46ch; font: 300 .95rem/1.8 var(--font-body); color: rgba(241, 232, 213, .66); }
@media (max-width: 760px) {
  .af-ev { grid-template-columns: 6.5rem 1fr; }
  .af-ev__btn { grid-column: 1 / -1; justify-self: start; }
  .af-ev__date b { font-size: 2.6rem; }
}

/* ══ ПОДВАЛ компактнее (20.11.2026): меньше воздуха сверху и перед строкой ©, строки плотнее;
   на телефоне — две колонки вместо одной ══ */
.bp-footer { padding: clamp(2.6rem, 5vh, 3.4rem) 0 1.4rem; }
.bp-footer__grid { gap: clamp(1.5rem, 3vw, 2.5rem); }
.bp-footer__brand { font-size: 1.5rem; }
.bp-footer__brand small { margin-top: .55rem; }
.bp-footer__note { margin-top: .9rem; font-size: .82rem; line-height: 1.6; }
.bp-footer h4 { margin-bottom: .85rem; }
.bp-footer p, .bp-footer a { margin-bottom: .3rem; font-size: .88rem; line-height: 1.5; }
.bp-footer__legal { margin-top: clamp(1.8rem, 4vh, 2.4rem); padding-top: 1.1rem; }
@media (max-width: 520px) {
  .bp-footer { padding-top: 2.2rem; }
  .bp-footer__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1.2rem; }
  .bp-footer__grid > :first-child { grid-column: span 2; }
  .bp-footer__brand { font-size: 1.3rem; }
  .bp-footer h4 { margin-bottom: .6rem; }
  .bp-footer p, .bp-footer a { font-size: .84rem; }
  .bp-footer__legal { flex-direction: column; gap: .35rem; margin-top: 1.6rem; }
}

/* ══ блики по рамкам фото (main.js: .bp-glint, 4 края s > u) ══ */
.bp-glint { position: absolute; inset: -4px; overflow: hidden; pointer-events: none; z-index: 2; }
.bp-glint s { position: absolute; display: block; text-decoration: none; }
.bp-glint .g-t, .bp-glint .g-b { left: 3px; right: 3px; height: 1px; }
.bp-glint .g-l, .bp-glint .g-r { top: 3px; bottom: 3px; width: 1px; }
.bp-glint .g-t { top: 3px; } .bp-glint .g-b { bottom: 3px; }
.bp-glint .g-l { left: 3px; } .bp-glint .g-r { right: 3px; }
.bp-glint u { position: absolute; left: 0; top: 0; opacity: 0; text-decoration: none; }
.bp-glint .g-t u, .bp-glint .g-b u { width: 90px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 214, 144, .75) 40%, #fff3d2 55%, rgba(242, 214, 144, .75) 70%, transparent);
  box-shadow: 0 0 8px 1px rgba(242, 214, 144, .5); }
.bp-glint .g-l u, .bp-glint .g-r u { width: 1px; height: 90px;
  background: linear-gradient(180deg, transparent, rgba(242, 214, 144, .75) 40%, #fff3d2 55%, rgba(242, 214, 144, .75) 70%, transparent);
  box-shadow: 0 0 8px 1px rgba(242, 214, 144, .5); }
.reveal.rv-photo { overflow-clip-margin: 4px; }   /* блику с ореолом нужно чуть места за рамкой */
