/* ─────────────────────────────────────────────
   OGNIVO — wood-fired kitchen
   Тёмная «каминная» палитра, антиква для заголовков, янтарный акцент.
   ───────────────────────────────────────────── */
:root {
  --bg: #0c0a09;
  --bg-2: #141110;
  --bg-3: #1c1816;
  --ink: #f3ece2;
  --muted: #a39a8f;
  --line: rgba(243, 236, 226, .12);
  --ember: #e3743b;
  --ember-2: #f29b5c;
  --gold: #c9a46a;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.7 var(--sans); letter-spacing: .01em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--ember); color: var(--bg); }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

/* Плёночное зерно поверх всего — даёт «тёплую» фактуру тёмным фонам */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-3%, 2%); } 66% { transform: translate(2%, -3%); } 100% { transform: translate(0, 0); } }

/* ── Типографика ── */
.eyebrow {
  margin: 0 0 18px; font: 500 12px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.h2 { margin: 0 0 28px; font: 400 clamp(40px, 6vw, 84px)/1.02 var(--serif); letter-spacing: -.01em; }
.h2 em, .hero__title em { font-style: italic; color: var(--ember-2); }

/* ── Кнопки ── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px; overflow: hidden; isolation: isolate;
  background: var(--ember); color: #160c06; font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ember-2);
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(227, 116, 59, .7); }
.btn:hover::before { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--bg); box-shadow: none; }
.btn--small { padding: 12px 20px; font-size: 11px; }
.btn--full { width: 100%; }

/* ── Прелоадер ── */
.preloader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 18px;
  background: var(--bg); transition: opacity .8s var(--ease), visibility .8s;
}
.preloader__flame { width: 54px; fill: var(--ember); filter: drop-shadow(0 0 24px rgba(227, 116, 59, .8)); animation: flicker 1.2s ease-in-out infinite alternate; transform-origin: 50% 90%; }
.preloader__word { font: 500 14px/1 var(--sans); letter-spacing: .6em; color: var(--muted); }
.is-loaded .preloader { opacity: 0; visibility: hidden; }
@keyframes flicker { 0% { transform: scale(1) skewX(0); } 50% { transform: scale(1.08, .94) skewX(-3deg); } 100% { transform: scale(.96, 1.06) skewX(3deg); } }

/* ── Прогресс скролла и курсор ── */
.progress { position: fixed; top: 0; left: 0; z-index: 60; height: 2px; width: 100%; background: linear-gradient(90deg, var(--ember), var(--gold)); transform-origin: 0 50%; transform: scaleX(0); }
.cursor {
  position: fixed; top: 0; left: 0; z-index: 150; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 1px solid rgba(242, 155, 92, .6); pointer-events: none; opacity: 0; mix-blend-mode: screen;
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, opacity .3s;
}
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(227, 116, 59, .15); }
@media (hover: none) { .cursor { display: none; } }

/* ── Навигация ── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--pad); transition: padding .4s var(--ease), background .4s, backdrop-filter .4s;
}
.nav.is-scrolled { padding-block: 14px; background: rgba(12, 10, 9, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav__logo { display: flex; align-items: center; gap: 10px; font: 600 15px/1 var(--sans); letter-spacing: .4em; }
.nav__logo svg { width: 22px; fill: var(--ember); }
.nav__links { display: flex; gap: 36px; }
.nav__links a { position: relative; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--ember); transform: scaleX(0); transition: transform .4s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__right { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.lang button { padding: 7px 11px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .1em; color: var(--muted); transition: background .3s, color .3s; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 15px; } .burger span:last-child { top: 24px; }
.menu-open .burger span:first-child { top: 19px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 19px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: var(--pad);
  background: var(--bg); clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .7s var(--ease);
}
.mobile-menu a:not(.btn) { font: 400 44px/1 var(--serif); }
.mobile-menu .btn { align-self: flex-start; margin-top: 16px; }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); }

/* ── Hero ── */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 140px var(--pad) 40px; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; transform: scale(1.12); animation: kenburns 22s ease-out forwards; }
.is-loaded .hero__media img { animation-play-state: running; }
@keyframes kenburns { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,10,9,.55) 0%, rgba(12,10,9,.15) 35%, rgba(12,10,9,.75) 75%, var(--bg) 100%), radial-gradient(ellipse at 20% 80%, rgba(227,116,59,.18), transparent 60%); }
.hero__sparks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero__content { position: relative; z-index: 2; max-width: 1100px; }
.hero__title { margin: 0 0 28px; font: 400 clamp(56px, 11vw, 168px)/.92 var(--serif); letter-spacing: -.02em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > * { display: inline-block; transform: translateY(110%); transition: transform 1.3s var(--ease); }
.hero__title .line:nth-child(2) > * { transition-delay: .12s; }
.is-loaded .hero__title .line > * { transform: translateY(0); }
.hero__lead { max-width: 520px; margin: 0 0 36px; font-size: 17px; color: rgba(243, 236, 226, .78); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta { position: relative; z-index: 2; display: flex; align-items: flex-end; gap: 48px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero__meta span { display: block; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.hero__meta strong { font: 500 22px/1.3 var(--serif); }
.hero__scroll { margin-left: auto; width: 26px; height: 42px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--ember); animation: scroll 2s var(--ease) infinite; }
@keyframes scroll { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ── Бегущая строка ── */
.marquee { overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); background: var(--bg-2); }
.marquee__track { display: inline-block; white-space: nowrap; padding-left: 100%; font: italic 400 clamp(28px, 4vw, 52px)/1 var(--serif); color: var(--muted); animation: marquee 38s linear infinite; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ── Секции ── */
.section { padding: clamp(90px, 13vw, 180px) var(--pad); }
.section__head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 90px); }

/* Появление при скролле */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ── История ── */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.story__images { position: relative; aspect-ratio: 4 / 5; }
.story__img { position: absolute; margin: 0; overflow: hidden; border-radius: 4px; }
.story__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.story__img:hover img { transform: scale(1.05); }
.story__img--a { inset: 0 18% 14% 0; }
.story__img--b { width: 46%; aspect-ratio: 3 / 4; right: 0; bottom: 0; box-shadow: 0 30px 60px -20px #000; outline: 10px solid var(--bg); }
.story__text p:not(.eyebrow) { max-width: 520px; color: rgba(243, 236, 226, .78); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 40px; margin: 48px 0 0; }
.stats div { padding-top: 18px; border-top: 1px solid var(--line); }
.stats dt { font: 400 clamp(46px, 5vw, 68px)/1 var(--serif); color: var(--ember-2); }
.stats small { font-size: .45em; margin-left: 4px; color: var(--muted); }
.stats dd { margin: 8px 0 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ── Фирменные блюда ── */
.signature { background: var(--bg-2); }
.dishes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dish { position: relative; aspect-ratio: 3 / 4.4; overflow: hidden; border-radius: 4px; }
.dish img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 1.2s var(--ease); filter: saturate(.85) brightness(.85); }
.dish::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(12,10,9,.95)); }
.dish__body { position: absolute; inset: auto 0 0; z-index: 1; padding: 26px; }
.dish__no { font: italic 400 15px/1 var(--serif); color: var(--gold); }
.dish h3 { margin: 6px 0 0; font: 400 28px/1.1 var(--serif); }
.dish p { margin: 0; max-height: 0; opacity: 0; font-size: 14px; color: rgba(243, 236, 226, .8); transition: max-height .7s var(--ease), opacity .5s, margin .5s; }
.dish:hover img { transform: scale(1.07); filter: saturate(1) brightness(.75); }
.dish:hover p { max-height: 120px; opacity: 1; margin-top: 12px; }
.dishes .dish:nth-child(2) { transform: translateY(40px); }
.dishes .dish:nth-child(4) { transform: translateY(40px); }
.dishes .dish.reveal:nth-child(2):not(.is-in), .dishes .dish.reveal:nth-child(4):not(.is-in) { transform: translateY(80px); }

/* ── Меню ── */
.menu { max-width: 1200px; margin: 0 auto; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 56px; }
.tabs button { padding: 12px 24px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: background .4s, color .4s, box-shadow .4s; }
.tabs button[aria-selected="true"] { background: var(--ember); color: #160c06; box-shadow: none; }
.menu__panel { display: grid; grid-template-columns: 1fr 1fr; gap: 0 80px; min-height: 420px; overflow-anchor: none; }
.menu__panel.is-switching { animation: fadeUp .7s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.menu__group { grid-column: 1 / -1; margin: 36px 0 6px; font: italic 400 26px/1 var(--serif); color: var(--gold); }
.menu__group:first-child { margin-top: 0; }
.menu__item { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.menu__item h4 { margin: 0; font: 500 24px/1.2 var(--serif); }
.menu__dots { border-bottom: 1px dotted rgba(243, 236, 226, .25); transform: translateY(-6px); }
.menu__price { font: 500 20px/1 var(--serif); color: var(--ember-2); white-space: nowrap; }
.menu__item p { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--muted); }
.menu__tasting { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: start; }
.menu__courses { list-style: none; margin: 0; padding: 0; counter-reset: c; }
.menu__courses li { counter-increment: c; display: grid; grid-template-columns: 48px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.menu__courses li::before { content: counter(c, decimal-leading-zero); font: italic 400 18px/1.6 var(--serif); color: var(--gold); }
.menu__courses strong { font: 500 22px/1.3 var(--serif); }
.menu__courses span { display: block; font-size: 14px; color: var(--muted); }
.menu__price-card { position: sticky; top: 110px; padding: 40px; border-radius: 4px; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line); }
.menu__price-card .big { font: 400 72px/1 var(--serif); color: var(--ember-2); }
.menu__price-card p { color: var(--muted); }
.menu__price-card ul { margin: 22px 0 30px; padding: 0; list-style: none; }
.menu__price-card li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.menu__note { margin-top: 48px; font-size: 13px; color: var(--muted); text-align: center; }

/* ── Шеф ── */
.chef { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: center; background: var(--bg-2); }
.chef__photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
.chef__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.05); }
.chef blockquote { margin: 0 0 28px; padding-left: 28px; border-left: 2px solid var(--ember); }
.chef blockquote p { margin: 0; font: italic 400 clamp(26px, 3vw, 38px)/1.3 var(--serif); }
.chef__text > p:not(.eyebrow) { max-width: 540px; color: rgba(243, 236, 226, .78); }
.chef__sign { width: 220px; margin-top: 20px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; }
.chef__sign.is-in { animation: sign 2.6s var(--ease) .3s forwards; }
@keyframes sign { to { stroke-dashoffset: 0; } }

/* ── Галерея ── */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(180px, 22vw, 300px); gap: 16px; }
.g { position: relative; margin: 0; overflow: hidden; border-radius: 4px; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.g:hover img { transform: scale(1.06); }
.g--tall { grid-row: span 2; }
.g--wide { grid-column: span 2; }

/* ── Отзывы ── */
.reviews { text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(227,116,59,.12), transparent 60%); }
.reviews__track { position: relative; max-width: 900px; min-height: 260px; margin: 0 auto; }
.review { position: absolute; inset: 0; margin: 0; opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); pointer-events: none; }
.review { transition-duration: .5s; }
.review.is-active { opacity: 1; transform: none; pointer-events: auto; transition-duration: .9s; transition-delay: .45s; } /* новый — после того, как погас старый */
.review blockquote { margin: 0 0 28px; font: italic 400 clamp(28px, 3.6vw, 46px)/1.25 var(--serif); }
.review figcaption { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.stars { color: var(--ember-2); letter-spacing: .2em; }
.reviews__dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.reviews__dots button { width: 34px; height: 3px; padding: 0; border-radius: 2px; background: var(--line); transition: background .4s; }
.reviews__dots button[aria-selected="true"] { background: var(--ember); }

/* ── Бронь ── */
.reserve { position: relative; display: grid; place-items: center; min-height: 100vh; overflow: hidden; }
.reserve__bg { position: absolute; inset: 0; }
.reserve__bg img { width: 100%; height: 120%; object-fit: cover; filter: brightness(.35) saturate(.9); will-change: transform; }
.reserve__card { position: relative; width: min(760px, 100%); padding: clamp(28px, 5vw, 60px); border-radius: 6px; background: rgba(20, 17, 16, .82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px var(--line), 0 40px 120px -30px #000; }
.reserve__lead { margin: -8px 0 32px; color: var(--muted); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.form label { display: grid; gap: 8px; }
.form label > span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.form input, .form select {
  width: 100%; height: 52px; padding: 0 16px; border: 0; border-radius: 4px; background: rgba(243, 236, 226, .06); box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink); font: 400 16px var(--sans); color-scheme: dark; transition: box-shadow .3s, background .3s;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 23px, calc(100% - 15px) 23px; background-size: 5px 5px; background-repeat: no-repeat; }
.form input:focus, .form select:focus { outline: none; background-color: rgba(243, 236, 226, .09); box-shadow: inset 0 0 0 1px var(--ember); }
.form .is-invalid { box-shadow: inset 0 0 0 1px #e5484d; }
.stepper { display: grid; grid-template-columns: 52px 1fr 52px; }
.stepper input { text-align: center; border-radius: 0; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper button { height: 52px; background: rgba(243, 236, 226, .06); box-shadow: inset 0 0 0 1px var(--line); font-size: 20px; transition: background .3s; }
.stepper button:first-child { border-radius: 4px 0 0 4px; } .stepper button:last-child { border-radius: 0 4px 4px 0; }
.stepper button:hover { background: rgba(227, 116, 59, .2); }
.form__error { min-height: 1.2em; margin: 0; font-size: 14px; color: #ff8a80; }
.form__success { text-align: center; padding: 20px 0; animation: fadeUp .8s var(--ease); }
.form__success svg { width: 46px; fill: var(--ember); margin: 0 auto 16px; filter: drop-shadow(0 0 20px rgba(227,116,59,.7)); animation: flicker 1.2s ease-in-out infinite alternate; transform-origin: 50% 90%; }
.form__success h3 { margin: 0 0 12px; font: 400 40px/1.1 var(--serif); }
.form__summary { color: var(--muted); margin-bottom: 28px; }

/* ── Визит ── */
.visit { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.visit__addr { font: 400 30px/1.25 var(--serif); margin: 0 0 6px; }
.visit__muted { color: var(--muted); margin: 0 0 22px; }
.visit h3 { margin: 0 0 18px; font: italic 400 26px/1 var(--serif); color: var(--gold); padding-top: 58px; }
.link { display: inline-block; margin-bottom: 6px; border-bottom: 1px solid var(--line); transition: border-color .3s, color .3s; }
.link:hover { color: var(--ember-2); border-color: var(--ember); }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.hours li span:first-child { color: var(--muted); }
.visit__map { aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; background: var(--bg-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.visit__map svg { width: 100%; height: 100%; }
.map-pulse { fill: rgba(227, 116, 59, .25); transform-origin: 200px 150px; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.2); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }

/* ── Футер ── */
.footer { padding: 40px var(--pad) 32px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__big { font: 400 clamp(80px, 21vw, 340px)/.8 var(--serif); letter-spacing: -.03em; text-align: center; background: linear-gradient(180deg, var(--ink) 30%, rgba(243,236,226,.05)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 36px; font-size: 14px; color: var(--muted); }
.footer__row p { margin: 0; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, box-shadow .3s; }
.footer__social a:hover { background: var(--ember); box-shadow: none; }
.footer__social svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.footer__social a:hover svg { stroke: var(--bg); }
.footer__muted { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }

/* ── Адаптив ── */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .dishes { grid-template-columns: repeat(2, 1fr); }
  .visit { grid-template-columns: 1fr 1fr; }
  .visit__map { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .story, .chef { grid-template-columns: 1fr; }
  .chef__photo { max-height: 70vh; }
  .menu__panel, .menu__tasting { grid-template-columns: 1fr; gap: 0; }
  .menu__price-card { position: static; margin-top: 36px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .g--wide { grid-column: span 2; }
}
@media (max-width: 600px) {
  .nav .btn--small { display: none; }
  .hero__meta { gap: 24px; }
  .hero__meta div:nth-child(2) { display: none; }
  .dishes { grid-template-columns: 1fr; }
  .dishes .dish:nth-child(n) { transform: none; aspect-ratio: 4 / 4.6; }
  .dish p { max-height: 120px; opacity: 1; margin-top: 10px; }
  .visit { grid-template-columns: 1fr; }
  .visit h3 { padding-top: 0; }
  .stats { gap: 24px; }
  .menu__item h4 { font-size: 21px; }
  .eyebrow { letter-spacing: .2em; font-size: 11px; }
  .eyebrow::before { width: 18px; }
}

/* Уважение к настройке «уменьшить движение» */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__sparks { display: none; }
}
