:root {
  --bg: #000;
  --ink: #fbe8bd;                    /* светло-золотой, с луны */
  --muted: rgba(248, 228, 185, .58);
  --line: rgba(248, 228, 185, .16);
  --accent: #fcdf9b;                 /* цвет лунной половины */
  --serif: "Poiret One", Georgia, serif;
  --script: "Playfair Display", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  /* неон «лунный свет»: яркий контур у букв + медово-золотой ореол */
  --neon: 0 0 2px rgba(255, 244, 214, .9), 0 0 9px rgba(252, 215, 130, .6), 0 0 22px rgba(235, 175, 70, .4), 0 0 46px rgba(220, 155, 50, .3);
  --neon-soft: 0 0 2px rgba(255, 244, 214, .6), 0 0 10px rgba(252, 215, 130, .38), 0 0 26px rgba(235, 175, 70, .24);
  --pad: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: none; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

/* ---------- общие ---------- */
.eyebrow {
  font: 500 12px/1 var(--sans);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
}
/* заголовки: заглавные ар-деко + курсив, один цвет, неон */
.hero-title, .drink-name, .hours-title, .book-title {
  text-transform: uppercase;
  letter-spacing: .16em;
  text-shadow: var(--neon);
}
.hero-title em, .drink-name em, .hours-title em, .book-title em {
  font-family: var(--script);
  font-style: italic;
  text-transform: none;
  letter-spacing: -.01em;
  color: var(--ink);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px;
  border-radius: 999px;
  background: var(--ink); color: #0b0805;
  font: 600 14px/1 var(--sans); letter-spacing: .02em;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background .3s, color .3s, transform .3s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--ink); color: #0b0805; border-color: var(--ink); }
.btn--full { width: 100%; }

.logo {
  font: 400 22px/1 var(--serif);
  letter-spacing: .42em;
  text-transform: uppercase;
  text-shadow: var(--neon);
}

/* ---------- шапка ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 40px;
  padding: 22px var(--pad);
  background: linear-gradient(#000c, #0000);
}
/* шапка целиком шрифтом логотипа: заглавные с разрядкой */
.nav, .top-btn { font-family: var(--serif); font-weight: 400; text-transform: uppercase; letter-spacing: .22em; white-space: nowrap; }
@media (max-width: 1200px) {
  .top { gap: 28px; }
  .nav { gap: 26px; font-size: 14px !important; letter-spacing: .18em; }
  .top-btn { font-size: 13px !important; padding: 0 20px !important; letter-spacing: .16em; }
}
.nav { display: flex; gap: 40px; margin-left: auto; font-size: 16px; color: var(--ink); }
.nav a { text-shadow: var(--neon-soft); transition: text-shadow .3s; }
.nav a:hover { text-shadow: var(--neon); }
.top-btn { min-height: 46px; padding: 0 26px; font-size: 15px; text-shadow: var(--neon-soft); }
.top-btn:hover { text-shadow: none; }

/* ---------- закреплённые сцены ---------- */
.hero { height: 280vh; }
.menu { height: 480vh; }
.manifest { height: 220vh; }
.stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
}

/* слой «разлёта»: одна картинка в двух слоях, центр и края */
.shot {
  position: absolute; left: 50%; top: 50%;
  width: min(88vw, 150vh, 1250px);
  aspect-ratio: 3 / 2;
  transform: translate(-50%, -50%);
  pointer-events: none;
  mix-blend-mode: screen; /* чёрный фон картинки становится прозрачным */
}
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform, opacity; }
.shot-core {
  -webkit-mask-image: radial-gradient(ellipse var(--rx) var(--ry) at var(--cx) var(--cy), #000 72%, transparent 100%);
          mask-image: radial-gradient(ellipse var(--rx) var(--ry) at var(--cx) var(--cy), #000 72%, transparent 100%);
}
.shot-burst {
  transform-origin: var(--cx) var(--cy);
  -webkit-mask-image: radial-gradient(ellipse var(--rx) var(--ry) at var(--cx) var(--cy), transparent 70%, #000 100%);
          mask-image: radial-gradient(ellipse var(--rx) var(--ry) at var(--cx) var(--cy), transparent 70%, #000 100%);
}
.shot-core { transform-origin: var(--cx) var(--cy); }

/* ---------- 1. первый экран ---------- */
.moon {
  position: absolute; left: 50%; top: 50%;
  width: min(74vh, 70vw); height: auto;
  transform: translate(-50%, -50%);
  will-change: transform, opacity, filter;
}
.hero .moon, .hero-shot { left: 63%; }
.hero-shot { width: min(76vw, 118vh, 1150px); }
.hero-text {
  position: absolute; left: var(--pad); bottom: clamp(40px, 9vh, 96px);
  max-width: 520px; z-index: 3;
}
.hero-title {
  margin: 22px 0;
  font: 400 clamp(26px, 3vw, 48px)/1.1 var(--serif);
}
.hero-title .line { display: block; }
.hero-title em { display: block; font-size: 1.4em; line-height: 1.1; margin: .04em 0 .08em -.02em; }
.hero-sub { color: var(--muted); max-width: 400px; margin-bottom: 28px; }
.scroll-hint {
  position: absolute; right: var(--pad); bottom: clamp(40px, 9vh, 96px);
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
}
.scroll-hint span { width: 1px; height: 48px; background: var(--line); position: relative; overflow: hidden; }
.scroll-hint span::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%;
  background: var(--accent); animation: drip 2s ease-in-out infinite;
}
@keyframes drip { to { top: 100%; } }

/* появление при загрузке */
.hero-title .line, .hero-text .eyebrow, .hero-sub, .hero-text .btn {
  opacity: 0; transform: translateY(30px);
  animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) forwards;
}
.hero-text .eyebrow { animation-delay: .2s; }
.hero-title .line:nth-child(1) { animation-delay: .35s; }
.hero-title .line:nth-child(2) { animation-delay: .5s; }
.hero-title .line:nth-child(3) { animation-delay: .65s; }
.hero-sub { animation-delay: .85s; }
.hero-text .btn { animation-delay: 1s; }
.moon { animation: moonIn 2.2s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes moonIn { from { opacity: 0; filter: blur(30px); } }

/* ---------- 2. коктейли ---------- */
.glow {
  position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(ellipse 50% 60% at 62% 52%, color-mix(in srgb, var(--g) 34%, transparent), transparent 70%);
}
.shots .shot { left: 62%; width: min(70vw, 120vh, 1150px); }
.menu-head {
  position: absolute; top: 96px; left: var(--pad); right: var(--pad);
  display: flex; justify-content: space-between; align-items: baseline; z-index: 3;
}
.counter { font: 400 18px/1 var(--serif); color: var(--muted); }
.counter b { font-weight: 500; color: var(--ink); font-size: 26px; }
.drinks { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.drink {
  position: absolute; left: var(--pad); top: 50%;
  width: min(420px, 34vw);
  transform: translateY(-50%);
  opacity: 0;
}
.drink-num {
  display: block; margin-bottom: 12px;
  font: 400 14px/1 var(--sans); letter-spacing: .2em; color: var(--muted);
}
.drink-name {
  font: 400 clamp(24px, 2.6vw, 40px)/1.1 var(--serif);
  margin-bottom: 20px;
}
.drink-name em { display: block; font-size: 1.35em; }
.drink:nth-child(2) .drink-name em { display: inline; }
.drink-desc { color: var(--muted); margin-bottom: 18px; }
.drink-price { font: 500 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.dots {
  position: absolute; left: var(--pad); bottom: 48px; z-index: 3;
  display: flex; gap: 10px;
}
.dots i { width: 28px; height: 2px; background: var(--line); transition: background .4s, width .4s; }
.dots i.on { background: var(--accent); width: 56px; }

/* ---------- 3. манифест ---------- */
.manifest .stage {
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--pad); gap: 36px;
}
.manifest-text {
  max-width: 860px;
  font: italic 400 clamp(26px, 2.9vw, 44px)/1.3 var(--script);
}
/* слова «зажигаются» неоном по мере прокрутки */
.manifest-text .w { opacity: .14; transition: opacity .35s, text-shadow .35s; }
.manifest-text .w.lit { opacity: 1; text-shadow: var(--neon); }

/* ---------- 4. часы ---------- */
.hours {
  position: relative;
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 48px;
  padding: 18vh var(--pad) 14vh;
  border-top: 1px solid var(--line);
}
.hours-arc { position: relative; aspect-ratio: 600 / 320; }
.hours-arc svg { width: 100%; height: 100%; overflow: visible; }
.hours-arc path { fill: none; stroke: rgba(252, 223, 155, .45); stroke-width: 1.5; stroke-dasharray: 2 9; stroke-linecap: round; }
.arc-moon {
  position: absolute; left: 0; top: 0;
  width: 22%; height: auto;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
}
.hours-title {
  margin: 22px 0 36px;
  font: 400 clamp(22px, 2.3vw, 36px)/1.25 var(--serif);
}
.hours-title em { font-size: 1.35em; }
.hours-list div {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.hours-list dt { color: var(--muted); }
.hours-list dd { font: 500 22px/1.2 var(--serif); }

/* ---------- 5. бронирование ---------- */
.book {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px);
  padding: 14vh var(--pad);
  border-top: 1px solid var(--line);
  background: radial-gradient(ellipse 60% 70% at 15% 30%, rgba(252, 215, 130, .06), transparent 70%);
}
.book-title { margin: 22px 0; font: 400 clamp(22px, 2.3vw, 36px)/1.25 var(--serif); }
.book-title em { display: block; font-size: 1.35em; }
.book-sub { color: var(--muted); max-width: 420px; margin-bottom: 40px; }
.contacts { list-style: none; display: grid; gap: 18px; }
.contacts li { display: grid; gap: 4px; font-size: 17px; }
.contacts span { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.contacts a { border-bottom: 1px solid var(--line); }

.form {
  display: grid; gap: 18px; align-content: start;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line); border-radius: 24px;
  background: #ffffff06;
}
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.form input:not([type=checkbox]), .form select {
  width: 100%; min-height: 50px; padding: 0 16px;
  background: #000; color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px;
  font: 400 16px/1 var(--sans); letter-spacing: 0; text-transform: none;
  color-scheme: dark;
}
.form input:focus, .form select:focus { outline: none; border-color: var(--accent); }
.form .check {
  display: flex; align-items: flex-start; gap: 12px;
  text-transform: none; letter-spacing: 0; font-size: 14px; line-height: 1.4;
}
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--accent); flex: none; }
.form-msg { font-size: 15px; color: var(--accent); }
.form-msg.err { color: #ff8a7a; }

/* ---------- подвал ---------- */
.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  padding: 36px var(--pad) 40px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 14px;
}
.foot .logo { color: var(--ink); font-size: 18px; }
.foot-demo { opacity: .7; }

.mobile-book { display: none; }

/* ---------- планшет и телефон ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .top { justify-content: space-between; }
  .hours, .book { grid-template-columns: 1fr; }
  .hours-arc { max-width: 520px; }
}

@media (max-width: 700px) {
  .top { padding: 16px 20px; }
  .top-btn { display: none; }
  .logo { font-size: 18px; }

  .hero .moon { width: 92vw; top: 36%; left: 50%; }
  .hero-shot { width: 190vw; top: 36%; left: 50%; }
  .hero-text { left: 20px; right: 20px; bottom: 96px; }
  .hero-title { font-size: 28px; margin: 14px 0 12px; }
  .hero-sub { font-size: 15px; margin-bottom: 0; }
  .hero-text .btn { display: none; }
  .scroll-hint { display: none; }

  .shots .shot { left: 50%; top: 33%; width: 170vw; }
  .glow { background: radial-gradient(ellipse 80% 40% at 50% 33%, color-mix(in srgb, var(--g) 36%, transparent), transparent 70%); }
  .menu-head { top: 72px; left: 20px; right: 20px; }
  .drink { left: 20px; right: 20px; width: auto; top: auto; bottom: 100px; transform: none; }
  .drink-name { font-size: 26px; margin-bottom: 12px; }
  .drink-desc { font-size: 15px; margin-bottom: 10px; }
  .dots { display: none; }

  .manifest-text { font-size: 26px; }
  .hours { padding: 12vh 20px 10vh; gap: 32px; }
  .book { padding: 10vh 20px 14vh; }
  .row { grid-template-columns: 1fr; }
  .foot { flex-direction: column; align-items: flex-start; padding-bottom: 100px; }

  .mobile-book {
    display: inline-flex; position: fixed; z-index: 60;
    left: 16px; right: 16px; bottom: 16px;
    box-shadow: 0 10px 40px #0009;
    transition: transform .4s, opacity .4s;
  }
  .mobile-book.hide { transform: translateY(120%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-title .line, .hero-text .eyebrow, .hero-sub, .hero-text .btn { opacity: 1; transform: none; }
}
