/* v1 Ночной рынок — black + mustard neon, Sqew/Tugg street, food in hero, marquee */
:root {
  --bg: #050505;
  --bg-2: #111;
  --ink: #f4f0e6;
  --muted: #a9a398;
  --line: rgba(244, 240, 230, .14);
  --accent: #ffc107;
  --btn: #ffc107;
  --btn-ink: #111111;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --text: "Manrope", system-ui, sans-serif;
  --switcher-h: 0px;
  --header-h: 64px;
  --radius: 999px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  overflow-x: clip;
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--text); font-size: 16px; line-height: 1.55;
  padding-top: var(--switcher-h);
}
img { max-width: 100%; height: auto; display: block; }
img.is-missing { visibility: hidden; }
.food-fx { position: absolute; pointer-events: none; z-index: 2; display: block; background: transparent; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: .01em; text-wrap: balance; margin: 0; line-height: 1.05; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .7rem 1.25rem; border-radius: var(--radius);
  text-decoration: none; font-weight: 700; letter-spacing: .02em; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s ease, background .2s, color .2s, border-color .2s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--btn); color: var(--btn-ink); }
.btn-solid:hover { background: #ffd54a; box-shadow: 0 0 24px rgba(255,193,7,.35); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.site-header {
  position: sticky; top: var(--switcher-h); z-index: 40;
  display: flex; align-items: center; gap: 1rem; min-height: var(--header-h);
  padding: .4rem 1.25rem;
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
  background: rgba(5,5,5,.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.logo { font-family: var(--display); font-weight: 600; font-size: 1.35rem; text-decoration: none; letter-spacing: .08em; text-transform: uppercase; }
.site-header nav { display: flex; gap: 1.25rem; margin-left: auto; margin-right: .5rem; }
.site-header nav a { text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--muted); }
.site-header nav a:hover { color: var(--accent); }
.site-header .btn { min-height: 42px; padding: .45rem 1.1rem; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 0; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 7px 10px; }

.marquee { overflow: hidden; border-bottom: 1px solid var(--line); background: #000; }
.marquee-track { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--display); font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); padding: .45rem 0; padding-right: 2rem;
  font-size: .82rem; white-space: nowrap;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.hero, .hero-panel, .hero-media, .hero-copy { min-width: 0; }
.hero {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr);
  min-height: calc(100svh - var(--switcher-h) - var(--header-h) - 36px);
  background: var(--bg);
}
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 3.2rem 4vw 3.2rem 6vw; background: var(--bg); }
.kicker { margin: 0 0 1rem; font-family: var(--display); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; font-size: .82rem; color: var(--accent); }
.hero h1 { font-size: clamp(4.2rem, 9vw, 8.2rem); text-transform: uppercase; letter-spacing: .01em; line-height: .88; }
.lead { margin: 1.3rem 0 1.6rem; max-width: 28rem; color: var(--muted); font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.facts { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .85rem; }
.facts li { display: grid; gap: .15rem; }
.facts span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts a { text-decoration: none; border-bottom: 1px solid var(--accent); }
.hero-media { position: relative; background: #0a0a0a; min-height: 100%; overflow: hidden; }
.hero-media picture { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: block; width: 100%; height: 100%; z-index: 1; }
.hero-media img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; object-position: center; z-index: 1; }
.hero-media img.is-missing { visibility: visible; }
.hero-smoke { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; display: block; background: transparent; mix-blend-mode: screen; }

.featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.feat { display: grid; grid-template-rows: auto 1fr; background: var(--bg); border-right: 1px solid var(--line); }
.feat:last-child { border-right: 0; }
.feat-photo { position: relative; aspect-ratio: 1; background: #0a0a0a; overflow: hidden; }
.feat-photo picture { display: block; position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; }
.feat-photo img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; transition: transform .6s ease; }
.feat:hover .feat-photo img { transform: scale(1.05); }
.feat-body { padding: 1.1rem 1.2rem 1.4rem; }
.feat-body h2 { font-size: 1.5rem; text-transform: uppercase; margin-bottom: .3rem; }
.feat-body p { margin: 0 0 .5rem; color: var(--muted); font-size: .9rem; }
.feat-body strong { color: var(--accent); font-size: 1.05rem; }

#menu, #delivery, #place, #boards, #top { scroll-margin-top: calc(var(--switcher-h) + var(--header-h) + 12px); }
.section { padding: 4.5rem 6vw 5rem; }
.section-head { max-width: 40rem; margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(2.4rem, 5vw, 4rem); text-transform: uppercase; margin-bottom: .7rem; }
.section-head p { margin: 0; color: var(--muted); }
.tabs { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.8rem; }
.tab { background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem 1rem; cursor: pointer; font-weight: 600; transition: background .2s, color .2s, border-color .2s; }
.tab.is-on, .tab:hover { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.menu-block { display: none; }
.menu-block.is-on { display: block; }
.menu-lead, .syrup { color: var(--muted); margin: 0 0 1.2rem; }
.subhead { font-size: 1.6rem; text-transform: uppercase; margin: 2rem 0 1rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 2.2rem; border-top: 1px solid var(--line); }
.card { display: grid; grid-template-columns: 1fr auto; gap: .15rem 1rem; align-items: baseline; padding: .85rem 0; border-bottom: 1px solid var(--line); transition: background .2s; }
.card:hover { background: rgba(255,193,7,.04); }
.card-photo { display: none; }
.card-body { display: contents; }
.card-body h3 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; }
.desc { margin: 0; color: var(--muted); font-size: .85rem; grid-column: 1; }
.price, .prices { font-weight: 700; font-size: .95rem; white-space: nowrap; color: var(--accent); }
.groups { display: grid; gap: 0; border-top: 1px solid var(--line); }
.group { display: grid; grid-template-columns: 1fr; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.group-photo { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .5rem; }
.chips span { border: 1px solid var(--line); border-radius: var(--radius); padding: .15rem .6rem; font-size: .8rem; color: var(--muted); }

.boards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.board { margin: 0; }
.board a { display: block; overflow: hidden; background: var(--bg-2); }
.board img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; transition: transform .5s; }
.board a:hover img { transform: scale(1.03); }
.board figcaption { margin-top: .55rem; color: var(--muted); font-size: .85rem; }

.section-band { padding-top: 0; }
.band { background: var(--bg-2); border: 1px solid var(--line); padding: 3rem 8vw; display: grid; gap: 1rem; justify-items: start; }
.band h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); text-transform: uppercase; }
.band p { margin: 0; max-width: 36rem; color: var(--muted); }

.section-place { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3vw; align-items: center; }
.place-copy h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); text-transform: uppercase; margin-bottom: .8rem; }
.place-addr { font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; margin: 0 0 .8rem; color: var(--accent); }
.place-media { margin: 0; }
.place-media picture { display: block; position: relative; width: 100%; aspect-ratio: 2000 / 1260; overflow: hidden; }
.place-media img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.place-media figcaption { margin-top: .5rem; color: var(--muted); font-size: .85rem; }

.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.5rem 6vw calc(6rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); background: #000; border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .28s ease; }
.sticky-cta.is-show { transform: translateY(0); }
.sticky-cta span { font-weight: 600; }
a[data-tel], [data-phone] { white-space: nowrap; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { position: relative; height: 48vh; min-height: 240px; order: -1; }
  .hero-media picture, .hero-media img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
  .hero-copy { padding: 1.8rem 1.15rem 2.4rem; }
  .hero h1 { font-size: clamp(3.2rem, 16vw, 5.2rem); }
  .featured { grid-template-columns: 1fr; }
  .feat { border-right: 0; border-bottom: 1px solid var(--line); }
  .section-place { grid-template-columns: 1fr; }
  .boards { grid-template-columns: 1fr; }
  .site-header nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; background: #000; border-bottom: 1px solid var(--line); }
  .site-header nav.is-open { display: flex; }
  .site-header nav a { padding: .9rem 1.2rem; border-top: 1px solid var(--line); }
  .nav-toggle { display: block; margin-left: auto; }
}
