/* Бар Кассовый разрыв · Gora Marketing */
:root {
  --bg: #0a0907;
  --ink: #120f0b;
  --txt: #ece4d6;
  --mute: #a39a8b;
  --amber: #e9a441;
  --amber-hi: #ffc873;
  --paper: #efe6d4;
  --paper-ink: #1d1813;
  --line: rgba(236, 228, 214, .14);
  --head: 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
  --hand: 'Marck Script', cursive;
  --bar: calc(100lvh - 100svh);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--txt); font: 400 17px/1.6 var(--body); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: normal; }
[hidden] { display: none !important; }

/* ---------- шапка ---------- */
.bar-top {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(16px, 3vw, 40px); pointer-events: none;
  background: linear-gradient(rgba(5, 4, 3, .72), rgba(5, 4, 3, 0));
  transition: transform .4s ease;
}
.bar-top > * { pointer-events: auto; }
.bar-top.hide { transform: translateY(-100%); }
.bar-top.solid { background: rgba(10, 9, 7, .94); border-bottom: 1px solid var(--line); padding-top: 12px; padding-bottom: 12px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.15; }
.brand b { font: 300 15px/1.2 var(--head); letter-spacing: .16em; text-transform: uppercase; }
.brand span { font-size: 12px; color: var(--mute); letter-spacing: .06em; }
.top-r { display: flex; gap: 22px; align-items: center; }
.snd { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mute); letter-spacing: .04em; }
.snd i { width: 16px; height: 12px; display: inline-flex; gap: 2px; align-items: flex-end; }
.snd i::before, .snd i::after { content: ''; flex: 1; background: currentColor; height: 40%; transition: height .3s; }
.snd[aria-pressed="true"] { color: var(--amber); }
.snd[aria-pressed="true"] i::before { height: 100%; animation: eq .9s infinite alternate; }
.snd[aria-pressed="true"] i::after { height: 60%; animation: eq .7s infinite alternate-reverse; }
@keyframes eq { to { height: 25%; } }
.skip { font-size: 13px; text-decoration: none; color: var(--mute); border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.skip b { font-weight: 500; color: var(--txt); }
.skip:hover { color: var(--txt); border-color: var(--amber); }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 34px;
  font: 400 15px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--amber); transition: background .2s, color .2s;
}
.btn-amber { background: var(--amber); color: #120c05; }
.btn-amber:hover { background: var(--amber-hi); border-color: var(--amber-hi); }
.lnk { font-size: 14px; color: var(--mute); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.lnk:hover { color: var(--txt); border-color: var(--amber); }

/* ---------- закреплённые сцены со скроллом ---------- */
.scrub { position: relative; height: var(--len); }
.stage { position: sticky; top: 0; height: 100lvh; overflow: hidden; background: #000; }
.cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.grain {
  position: absolute; inset: -50%; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  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 1s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }
.vign { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 45%, transparent 55%, rgba(0,0,0,.55) 100%), linear-gradient(transparent 60%, rgba(0,0,0,.6)); }

/* титры комикса: тонкая рамка, бумага на чёрном */
[data-from] { opacity: 0; visibility: hidden; transition: opacity .45s ease, transform .45s ease, visibility 0s .45s; }
[data-from].on { opacity: 1; visibility: visible; transition: opacity .45s ease, transform .45s ease, visibility 0s; }
.cap {
  position: absolute; left: clamp(16px, 6vw, 96px); bottom: calc(clamp(40px, 12vh, 120px) + var(--bar)); z-index: 3; max-width: min(560px, 86vw);
  transform: translateY(14px);
}
.cap.on { transform: none; }
.cap p {
  display: table; margin-top: 8px; padding: 12px 18px; background: rgba(239, 230, 212, .94); color: var(--paper-ink);
  font: 400 clamp(17px, 1.6vw, 21px)/1.45 var(--body); box-shadow: 4px 4px 0 rgba(0,0,0,.6);
}
.cap p em, .lines em, .take-line em, .sign-talk em, .msg em {
  display: block; font: 400 11px/1 var(--head); letter-spacing: .22em; text-transform: uppercase; color: #8a5a17; margin-bottom: 6px;
}
.cap-top { bottom: auto; top: calc(96px); }
.hint {
  position: absolute; left: 50%; bottom: calc(28px + var(--bar)); transform: translateX(-50%); z-index: 3;
  font: 300 12px/1 var(--head); letter-spacing: .3em; text-transform: uppercase; color: var(--mute);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.hint::after { content: ''; width: 1px; height: 38px; background: linear-gradient(var(--amber), transparent); animation: drip 1.8s ease-in-out infinite; }
@keyframes drip { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* ---------- неон ---------- */
.neon {
  position: absolute; left: 50%; top: 13vh; transform: translateX(-50%); z-index: 3; text-align: center;
  display: flex; flex-direction: column; align-items: center; pointer-events: none; white-space: nowrap;
}
.neon-s { font: 300 clamp(14px, 1.4vw, 18px)/1 var(--head); letter-spacing: .6em; text-transform: uppercase; color: var(--amber-hi); margin-bottom: 14px; padding-left: .6em;
  text-shadow: 0 0 6px var(--amber), 0 0 18px rgba(233,164,65,.6); }
.neon-w {
  font: 200 clamp(44px, 8.4vw, 132px)/.98 var(--head); letter-spacing: .06em; color: #fff3dc;
  text-shadow: 0 0 4px #fff0cf, 0 0 12px var(--amber-hi), 0 0 28px var(--amber), 0 0 60px rgba(233,164,65,.55);
}
.neon-w i { font-style: normal; animation: flick 5s infinite; }
@keyframes flick { 0%,91%,93%,95%,100%{opacity:1} 92%,94%{opacity:.18} }
.neon-w.dead { color: #3a2e20; text-shadow: none; transition: color .15s, text-shadow .15s; }

/* ---------- квиз ---------- */
.quiz { position: relative; height: 100lvh; }
.quiz-stage { position: sticky; top: 0; height: 100lvh; overflow: hidden; background: #000; }
.quiz-bg { position: absolute; inset: 0; background: #000 url(assets/img/quiz-bg.webp) center/cover no-repeat; animation: breathe 18s ease-in-out infinite alternate; }
@keyframes breathe { to { transform: scale(1.05); } }
.quiz-stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.2), transparent 40%), linear-gradient(transparent 30%, rgba(0,0,0,.82) 78%); }
.talk {
  position: absolute; z-index: 4; left: 50%; bottom: calc(clamp(22px, 5vh, 56px) + var(--bar)); transform: translateX(-50%);
  width: min(880px, calc(100% - 32px));
}
.log { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; min-height: 40px; }
.msg {
  align-self: flex-start; max-width: 92%; padding: 12px 18px; font: 400 clamp(16px, 1.5vw, 20px)/1.45 var(--body);
  background: rgba(239, 230, 212, .95); color: var(--paper-ink); box-shadow: 4px 4px 0 rgba(0,0,0,.6);
  animation: pop .45s cubic-bezier(.2,.8,.2,1) both;
}
.msg.guest { align-self: flex-end; background: rgba(18, 15, 11, .92); color: var(--txt); border: 1px solid var(--line); }
.msg.guest em { color: var(--mute); }
.msg.old { opacity: .45; }
@keyframes pop { from { opacity: 0; transform: translateY(12px); } }
.answers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ans {
  text-align: left; padding: 15px 18px; min-height: 56px; font: 500 15px/1.35 var(--body); color: var(--txt);
  background: rgba(10, 9, 7, .82); border: 1px solid rgba(233, 164, 65, .45); transition: background .2s, border-color .2s, color .2s;
  animation: pop .45s cubic-bezier(.2,.8,.2,1) both;
}
.ans:hover, .ans:focus-visible { background: var(--amber); color: #120c05; border-color: var(--amber); outline: none; }
.ans:disabled { opacity: .3; pointer-events: none; }
.talk-hint { margin-top: 14px; font: 300 11px/1 var(--head); letter-spacing: .26em; text-transform: uppercase; color: var(--mute); text-align: center; }
.typing { display: inline-flex; gap: 5px; padding: 4px 0; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--paper-ink); opacity: .35; animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { opacity: 1; transform: translateY(-3px); } }

.glass { position: absolute; z-index: 4; right: clamp(16px, 4vw, 56px); top: 96px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.glass svg { width: 44px; height: 52px; }
.glass rect { fill: var(--amber); transition: y .8s ease, height .8s ease; }
.gl-line { fill: none; stroke: var(--txt); stroke-width: 1.5; opacity: .8; }
.glass span { font: 300 10px/1 var(--head); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }

/* ---------- приготовление ---------- */
.shade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, transparent 30%, rgba(0,0,0,.78) 75%); transition: opacity .5s; }
.shade.off { opacity: 0; }
.ings { position: absolute; z-index: 3; right: clamp(16px, 6vw, 96px); top: 50%; transform: translateY(-50%); width: min(420px, 88vw); height: 70vh; }
.ing { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; transform: translateY(24px); }
.ing.on { transform: none; }
.ing img { width: auto; height: min(38vh, 340px); margin: 0 0 10px -10px; object-fit: contain; filter: drop-shadow(0 0 30px rgba(233,164,65,.28)); }
.ing-k { font: 300 12px/1 var(--head); letter-spacing: .3em; text-transform: uppercase; color: var(--amber); }
.ing h3 { font: 200 clamp(34px, 3.6vw, 52px)/1.05 var(--head); text-transform: uppercase; letter-spacing: .03em; margin: 8px 0 12px; }
.ing p { color: var(--mute); font-size: 16px; max-width: 380px; }
.ing-ml { margin-top: 14px; font: 300 22px/1 var(--head); letter-spacing: .08em; color: var(--txt); display: flex; align-items: center; gap: 12px; }
.ing-ml::before { content: ''; width: 36px; height: 1px; background: var(--amber); }
.ing-note { margin-top: 16px; padding: 10px 14px; background: rgba(239,230,212,.94); color: var(--paper-ink); font-size: 15px; box-shadow: 4px 4px 0 rgba(0,0,0,.6); }
.ing-note em { display: block; font: 400 10px/1 var(--head); letter-spacing: .22em; text-transform: uppercase; color: #8a5a17; margin-bottom: 5px; }
.ing-n { position: absolute; top: 0; right: 0; font: 300 12px/1 var(--head); letter-spacing: .2em; color: var(--mute); }

/* ---------- бумага: рецепт, меню, кофе ---------- */
.paper {
  background: var(--paper); color: var(--paper-ink); position: relative;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .36 0 0 0 0 .25 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
  box-shadow: 10px 12px 0 rgba(0,0,0,.55);
}
.recipe, .coffee { position: relative; min-height: 100lvh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.recipe-bg, .coffee-bg { position: absolute; inset: 0; background: center/cover no-repeat; opacity: .32; filter: blur(2px); }
.recipe-bg { background-image: url(assets/img/recipe-bg.webp); }
.coffee-bg { background-image: url(assets/img/coffee.webp); opacity: .5; filter: none; }
.recipe-in, .coffee-in { position: relative; width: min(1120px, calc(100% - 32px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.coffee-in { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); }
.card { padding: 34px 34px 30px; transform: rotate(-1.2deg); }
.card-no { font: 400 12px/1 var(--head); letter-spacing: .24em; text-transform: uppercase; color: #7a6a55; border-bottom: 1px dashed rgba(29,24,19,.3); padding-bottom: 12px; }
.card-for { margin-top: 14px; font-size: 14px; color: #6b5d4b; }
.card h3 { font: 300 clamp(44px, 5vw, 64px)/1 var(--head); text-transform: uppercase; letter-spacing: .02em; margin: 6px 0 18px; }
.card-list { list-style: none; border-top: 1px solid rgba(29,24,19,.2); }
.card-list li { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(29,24,19,.12); font-size: 16px; }
.card-list li b { font-weight: 600; }
.card-list li span { color: #6b5d4b; font-size: 13px; }
.card-list li i { flex: 1; border-bottom: 1px dotted rgba(29,24,19,.35); transform: translateY(-4px); }
.card-list li em { font: 400 15px/1 var(--head); letter-spacing: .06em; white-space: nowrap; }
.card-serve { margin-top: 14px; font-size: 14px; color: #6b5d4b; }
.hand { font: 400 clamp(22px, 2.2vw, 27px)/1.3 var(--hand); color: #7b3f0c; margin-top: 18px; }
.card-case { margin-top: 10px; font-size: 13px; color: #6b5d4b; }
.take-line, .lines p { font: 400 clamp(19px, 1.9vw, 24px)/1.5 var(--body); max-width: 520px; margin-bottom: 28px; }
.take-line em, .lines em { color: var(--amber); }
.lines p { margin-bottom: 18px; opacity: .92; }
.take-alt { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; font-size: 14px; color: var(--mute); }
.coffee-list { margin: 8px 0 0 20px; display: grid; gap: 12px; font-size: 16px; }
.coffee-list a { color: #8a4a0c; }
.coffee .card h3 { margin-bottom: 14px; }

/* ---------- вывеска ---------- */
.neon-scene .stage { background: radial-gradient(ellipse at 50% 40%, #1a120a, #050403 70%); }
.neon-big { top: 50%; transform: translate(-50%, -62%); }
.neon-big .neon-w { font-size: clamp(52px, 11vw, 176px); }
.rain { position: absolute; inset: -20% 0 0; opacity: .22; transition: opacity 1.2s;
  background-image: repeating-linear-gradient(104deg, transparent 0 22px, rgba(255,230,190,.5) 22px 23px, transparent 23px 61px);
  background-size: 140px 220px; animation: rain .45s linear infinite; }
.rain.stop { opacity: 0; }
@keyframes rain { to { background-position: -40px 220px; } }
.sign-talk { position: absolute; z-index: 3; left: 50%; bottom: calc(clamp(40px, 11vh, 110px) + var(--bar)); transform: translateX(-50%); width: min(620px, calc(100% - 32px)); display: flex; flex-direction: column; gap: 8px; }
.sign-talk p { align-self: flex-start; padding: 12px 18px; background: rgba(239,230,212,.95); color: var(--paper-ink); font-size: clamp(16px, 1.5vw, 20px); box-shadow: 4px 4px 0 rgba(0,0,0,.6); transform: translateY(10px); }
.sign-talk p.on { transform: none; }
.sign-talk p:has(.g) { align-self: flex-end; background: rgba(18,15,11,.92); color: var(--txt); border: 1px solid var(--line); }
.sign-talk .g { color: var(--mute); }

/* ---------- разворот ---------- */
.reveal { position: absolute; z-index: 3; left: clamp(16px, 6vw, 96px); bottom: calc(clamp(40px, 10vh, 110px) + var(--bar)); transform: translateY(18px); }
.reveal.on { transform: none; }
.reveal h1 { font: 200 clamp(56px, 9vw, 150px)/.92 var(--head); text-transform: uppercase; letter-spacing: .01em; text-shadow: 0 4px 40px rgba(0,0,0,.8); }
.reveal p { margin: 14px 0 26px; font: 300 clamp(14px, 1.3vw, 17px)/1 var(--head); letter-spacing: .3em; text-transform: uppercase; color: var(--amber-hi); }

/* ---------- блоки ---------- */
.wrap { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.blk { padding: clamp(80px, 13vh, 150px) 0; position: relative; }
.blk + .blk { border-top: 1px solid var(--line); }
.eyebrow { font: 300 12px/1 var(--head); letter-spacing: .34em; text-transform: uppercase; color: var(--amber); margin-bottom: 20px; }
h2 { font: 200 clamp(42px, 6vw, 92px)/.98 var(--head); text-transform: uppercase; letter-spacing: .01em; }
.lead { margin-top: 24px; color: var(--mute); max-width: 640px; font-size: 18px; }

.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.portrait { position: relative; }
.portrait img { width: 100%; -webkit-mask-image: radial-gradient(ellipse 72% 68% at 50% 44%, #000 58%, transparent 100%); mask-image: radial-gradient(ellipse 72% 68% at 50% 44%, #000 58%, transparent 100%); }
.portrait::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(10,9,7,.85)), radial-gradient(circle at 70% 20%, rgba(233,164,65,.18), transparent 60%); mix-blend-mode: normal; }
.lichno .txt { margin-top: 30px; display: grid; gap: 14px; color: #d6cebf; max-width: 560px; }
.sign { font: 400 44px/1 var(--hand); color: var(--amber); margin-top: 26px; }
.slots { margin-top: 26px; display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line); }
.slots span, .slots b { padding: 14px 18px; font: 300 13px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; }
.slots b { background: var(--amber); color: #120c05; font-weight: 400; }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); margin-top: clamp(64px, 10vh, 110px); border: 1px solid var(--line); }
.nums div { background: var(--bg); padding: 30px 24px; }
.nums b { display: block; font: 200 clamp(36px, 4vw, 60px)/1 var(--head); color: var(--txt); }
.nums span { display: block; margin-top: 10px; font-size: 14px; color: var(--mute); }

.menu-card { margin-top: clamp(40px, 7vh, 72px); padding: clamp(28px, 5vw, 64px); transform: rotate(-.5deg); }
.mi + .mi { margin-top: 36px; padding-top: 36px; border-top: 1px dashed rgba(29,24,19,.28); }
.mi-h { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.mi-h span { font: 300 14px/1 var(--head); color: #8a5a17; letter-spacing: .14em; }
.mi-h h3 { font: 300 clamp(30px, 3.4vw, 46px)/1 var(--head); text-transform: uppercase; }
.mi-h i { flex: 1; min-width: 40px; border-bottom: 1px dotted rgba(29,24,19,.4); }
.mi-h em { font: 400 14px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: #6b5d4b; }
.mi p { margin-top: 14px; max-width: 760px; color: #3a3128; font-size: 16px; }

.cases { margin-top: clamp(40px, 7vh, 72px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.case { background: var(--bg); padding: 34px 28px; display: flex; flex-direction: column; }
.case-x { font: 200 clamp(56px, 6vw, 88px)/1 var(--head); color: var(--amber); }
.case h3 { margin-top: 18px; font: 300 26px/1 var(--head); text-transform: uppercase; letter-spacing: .06em; }
.case p { margin-top: 12px; color: var(--mute); font-size: 15px; flex: 1; }
.case-n { margin-top: 26px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font: 300 18px/1 var(--head); }
.case-n span { color: var(--mute); }
.case-n i { width: 26px; height: 1px; background: var(--amber); align-self: center; }
.case-n small { width: 100%; font: 400 12px/1 var(--body); color: var(--mute); margin-top: 4px; }

.sites { margin-top: clamp(40px, 7vh, 72px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.site { text-decoration: none; display: block; }
.site img { aspect-ratio: 16/10; object-fit: cover; width: 100%; filter: grayscale(.2); transition: filter .3s, transform .5s; }
.site:hover img { filter: none; transform: scale(1.02); }
.site div { padding-top: 18px; }
.site h3 { font: 300 22px/1.1 var(--head); text-transform: uppercase; letter-spacing: .05em; }
.site p { margin-top: 8px; color: var(--mute); font-size: 15px; }
.site span { display: inline-block; margin-top: 12px; font: 400 12px/1 var(--head); letter-spacing: .2em; text-transform: uppercase; color: var(--amber); }

.rule-list { margin-top: clamp(40px, 7vh, 72px); list-style: none; counter-reset: r; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.rule-list li { counter-increment: r; background: var(--bg); padding: 30px 28px 30px 88px; position: relative; color: var(--mute); font-size: 16px; }
.rule-list li::before { content: counter(r, decimal-leading-zero); position: absolute; left: 28px; top: 30px; font: 200 32px/1 var(--head); color: var(--amber); }
.rule-list b { display: block; color: var(--txt); font-weight: 500; font-size: 18px; margin-bottom: 6px; }

.mesto { min-height: 100lvh; display: flex; align-items: center; overflow: hidden; }
.mesto-bg { position: absolute; inset: 0; background: url(assets/img/mesto.webp) 30% center/cover no-repeat; transform: scaleX(-1); }
.mesto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,9,7,.94) 32%, rgba(10,9,7,.1) 75%); }
.mesto-in { position: relative; z-index: 1; }
.mesto .btn { margin-top: 30px; }
.mesto .lnk { display: block; margin-top: 18px; width: max-content; }
.mesto-note { margin-top: 22px; display: table; padding: 10px 14px; border: 1px solid rgba(233,164,65,.5); color: var(--amber-hi); font-size: 15px; }

.foot { border-top: 1px solid var(--line); padding: 56px 0 40px; }
.foot-close { font: 300 clamp(20px, 2.4vw, 30px)/1.3 var(--head); text-transform: uppercase; letter-spacing: .04em; }
.foot-cols { margin-top: 34px; display: flex; gap: 48px; flex-wrap: wrap; }
.foot-cols div { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.foot-cols span { color: var(--mute); }
.foot small { display: block; margin-top: 34px; color: #6b6356; font-size: 12px; }

/* ---------- телефон ---------- */
.phone { margin: auto; border: 0; padding: 0; background: transparent; width: min(460px, calc(100% - 32px)); color: var(--txt); }
.phone::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(4px); }
.phone form { background: #15110d; border: 1px solid var(--line); padding: 36px 30px 30px; position: relative; display: grid; gap: 14px; }
.phone h3 { font: 200 40px/1 var(--head); text-transform: uppercase; }
.phone p { color: var(--mute); font-size: 15px; }
.phone label { display: grid; gap: 6px; font-size: 13px; color: var(--mute); }
.phone input { font: 400 17px var(--body); color: var(--txt); background: #0c0a08; border: 1px solid var(--line); padding: 14px 14px; outline: none; }
.phone input:focus { border-color: var(--amber); }
.phone .btn { width: 100%; margin-top: 6px; }
.phone .eyebrow { margin: 0; }
.x { position: absolute; right: 12px; top: 8px; font-size: 30px; color: var(--mute); line-height: 1; padding: 6px; }
.hp { position: absolute; left: -9999px; }
.phone-ok { color: var(--amber-hi); }
.phone-err { color: #ff9a7a; font-size: 14px; }

/* ---------- телефон: вертикальный экран ---------- */
@media (max-width: 767px) {
  body { font-size: 16px; }
  .bar-top { padding: 14px 16px; }
  .brand span { display: none; }
  .brand b { font-size: 13px; }
  .top-r { gap: 14px; }
  .skip { font-size: 12px; max-width: 150px; text-align: right; line-height: 1.3; }
  .snd { font-size: 0; gap: 0; }
  .neon { top: 11vh; }
  .neon-w { font-size: clamp(40px, 12.5vw, 64px); }
  .cap { left: 16px; right: 16px; max-width: none; bottom: calc(22px + var(--bar)); }
  .cap-top { top: 70px; bottom: auto; }
  .answers { grid-template-columns: 1fr; gap: 8px; }
  .ans { min-height: 50px; padding: 12px 14px; font-size: 14px; }
  .msg { font-size: 15px; padding: 10px 14px; }
  .msg.old { display: none; }
  .log { margin-bottom: 12px; }
  .talk { bottom: calc(14px + var(--bar)); }
  .quiz-bg { background-size: auto 62%; background-position: center 18%; animation: none; }
  .glass { top: 70px; }
  .glass svg { width: 34px; height: 40px; }
  .shade { background: linear-gradient(transparent 38%, rgba(0,0,0,.86) 62%); }
  .ings { left: 16px; right: 16px; width: auto; top: auto; bottom: calc(18px + var(--bar)); transform: none; height: 54vh; }
  .ing { justify-content: flex-end; }
  .ing img { height: 18vh; margin: 0 0 6px -10px; }
  .ing h3 { font-size: 34px; margin: 6px 0 8px; }
  .ing p { font-size: 15px; }
  .ing-n { top: auto; bottom: 100%; }
  .recipe-in, .coffee-in { grid-template-columns: 1fr; }
  .coffee-in .lines { order: -1; }
  .card { padding: 26px 22px 24px; }
  .take .btn, .mesto .btn { width: 100%; }
  .reveal { left: 16px; right: 16px; }
  .reveal .btn { width: 100%; }
  .two { grid-template-columns: 1fr; }
  .nums { grid-template-columns: 1fr 1fr; }
  .cases, .sites, .rule-list { grid-template-columns: 1fr; }
  .rule-list li { padding: 24px 20px 24px 72px; }
  .rule-list li::before { left: 20px; top: 24px; }
  .mesto-bg { background-position: 70% center; }
  .mesto::after { background: linear-gradient(rgba(10,9,7,.3), rgba(10,9,7,.95) 58%); }
  .mesto { align-items: flex-end; padding-bottom: 60px; }
  .grain { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .quiz-bg, .rain, .neon-w i { animation: none; }
}

/* ===== v2: шапка, реплика гостя, карта напитков, появление блоков ===== */
.brand b { font-size: 16px; letter-spacing: .22em; }
.cap p.g { background: rgba(18,15,11,.94); color: var(--txt); border: 1px solid var(--line); }
.cap p.g em { color: var(--mute); }
.btn-line { background: transparent; color: var(--txt); border-color: rgba(233,164,65,.6); min-height: 50px; padding: 0 28px; font-size: 13px; }
.btn-line:hover { background: var(--amber); color: #120c05; border-color: var(--amber); }

.menu { overflow: hidden; }
.menu-head { max-width: 760px; }
.drink {
  position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 110px);
  align-items: center; min-height: 92vh; padding: clamp(40px, 8vh, 90px) 0;
}
.drink + .drink { border-top: 1px solid var(--line); }
.drink.flip .drink-vis { order: 2; }
.drink-vis { position: relative; display: flex; justify-content: center; align-items: center; aspect-ratio: 3 / 4; max-height: 80vh; }
.drink-vis::before {
  content: ''; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(233,164,65,.32), rgba(233,164,65,.08) 45%, transparent 70%);
  filter: blur(10px); transform: scale(.6); opacity: 0; transition: transform 1.6s cubic-bezier(.2,.8,.2,1), opacity 1.6s;
}
.drink-vis img {
  position: relative; height: 100%; width: auto; max-width: 100%; object-fit: contain;
  transform: translateY(70px) rotate(-4deg) scale(.94); opacity: 0;
  transition: transform 1.3s cubic-bezier(.2,.8,.2,1), opacity 1.1s ease;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.7));
}
.drink.flip .drink-vis img { transform: translateY(70px) rotate(4deg) scale(.94); }
.drink-no {
  position: absolute; left: -2%; top: 2%; font: 200 clamp(120px, 16vw, 240px)/.8 var(--head); color: transparent;
  -webkit-text-stroke: 1px rgba(233,164,65,.28); letter-spacing: -.02em; pointer-events: none;
}
.drink.flip .drink-no { left: auto; right: -2%; }
.drink-txt > * { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.drink.in .drink-vis::before { transform: scale(1); opacity: 1; }
.drink.in .drink-vis img { transform: none; opacity: 1; }
.drink.in .drink-txt > * { opacity: 1; transform: none; }
.drink.in .drink-txt > :nth-child(2) { transition-delay: .08s; }
.drink.in .drink-txt > :nth-child(3) { transition-delay: .16s; }
.drink.in .drink-txt > :nth-child(4) { transition-delay: .24s; }
.drink.in .drink-txt > :nth-child(5) { transition-delay: .32s; }
.drink.in .drink-txt > :nth-child(6) { transition-delay: .4s; }
.drink.in .drink-txt > :nth-child(7) { transition-delay: .48s; }
.drink.in .drink-vis img { animation: float 7s ease-in-out 1.4s infinite; }
@keyframes float { 50% { transform: translateY(-12px) rotate(.6deg); } }
.drink-glass { font: 300 12px/1.4 var(--head); letter-spacing: .28em; text-transform: uppercase; color: var(--amber); }
.drink h3 { font: 200 clamp(48px, 6.4vw, 104px)/.95 var(--head); text-transform: uppercase; letter-spacing: .01em; margin: 14px 0 12px; }
.drink-svc { display: inline-block; font: 400 14px/1 var(--head); letter-spacing: .2em; text-transform: uppercase; padding: 10px 14px; border: 1px solid var(--line); color: var(--txt); }
.drink-txt p { margin-top: 24px; color: #d6cebf; font-size: 18px; max-width: 540px; }
.drink-in { margin-top: 26px; max-width: 540px; }
.drink-in b { display: block; font: 300 11px/1 var(--head); letter-spacing: .3em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.drink-in ul { list-style: none; border-top: 1px solid var(--line); }
.drink-in li { padding: 10px 0 10px 26px; border-bottom: 1px solid var(--line); position: relative; font-size: 16px; }
.drink-in li::before { content: ''; position: absolute; left: 4px; top: 50%; width: 10px; height: 1px; background: var(--amber); }
.drink-who { margin-top: 22px; font: 400 clamp(22px, 2vw, 26px)/1.3 var(--hand); color: var(--amber-hi); }
.drink-who em { display: block; font: 300 11px/1 var(--head); letter-spacing: .3em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.drink .btn { margin-top: 28px; }

[data-rv]:not(.drink) { opacity: 0; transform: translateY(30px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.8,.2,1); }
[data-rv].in:not(.drink) { opacity: 1; transform: none; }

@media (max-width: 767px) {
  .brand b { font-size: 13px; }
  .drink { grid-template-columns: 1fr; min-height: 0; gap: 18px; padding: 56px 0; }
  .drink.flip .drink-vis { order: 0; }
  .drink-vis { max-height: 52vh; aspect-ratio: auto; height: 52vh; }
  .drink-no { font-size: 110px; }
  .drink h3 { font-size: 48px; }
  .drink-txt p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .drink-vis img, .drink-txt > *, [data-rv] { transition: none !important; animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ===== v3: квиз — короткие ответы и счётчик; телефон — кадры на весь экран ===== */
.ans .s { display: none; }
.step { display: none; }
@media (max-width: 767px) {
  .skip-pre { display: none; }
  .skip { max-width: none; }
  /* фон разговора: камера медленно ходит от гостя к бармену */
  .quiz-bg { background-size: cover; background-position: 18% center; animation: pan 14s ease-in-out infinite alternate; }
  @keyframes pan { to { background-position: 80% center; } }
  .quiz-stage::after { background: linear-gradient(rgba(0,0,0,.35), transparent 18%, transparent 42%, rgba(6,5,4,.9) 66%); }
  .talk {
    left: 0; right: 0; bottom: 0; width: 100%; transform: none;
    padding: 0 14px calc(14px + env(safe-area-inset-bottom) + var(--bar));
  }
  .step { display: block; margin-bottom: 8px; font: 300 11px/1 var(--head); letter-spacing: .26em; text-transform: uppercase; color: var(--amber); }
  .log { min-height: 0; margin-bottom: 10px; }
  .msg { max-width: 100%; font-size: 16px; line-height: 1.4; padding: 10px 14px; box-shadow: 3px 3px 0 rgba(0,0,0,.6); }
  .msg em { font-size: 10px; margin-bottom: 4px; }
  .msg.old { display: none; }
  .msg.guest { max-width: 80%; }
  .answers { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ans { min-height: 48px; padding: 10px 12px; font-size: 14px; line-height: 1.25; display: flex; align-items: center; background: rgba(10,9,7,.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
  .ans:last-child:nth-child(odd) { grid-column: span 2; }
  .ans .l { display: none; }
  .ans .s { display: inline; }
  .talk-hint { display: none; }
  .glass { top: 74px; right: 14px; }
  .glass span { display: none; }
  /* кадры на весь экран: подписи на тёмном градиенте снизу */
  .vign { background: linear-gradient(rgba(0,0,0,.45), transparent 20%, transparent 55%, rgba(0,0,0,.75)); }
  .cap { bottom: calc(26px + env(safe-area-inset-bottom) + var(--bar)); }
  .cap p { font-size: 16px; padding: 10px 14px; }
  .reveal { bottom: calc(28px + env(safe-area-inset-bottom) + var(--bar)); }
  .shade { background: linear-gradient(transparent 35%, rgba(0,0,0,.88) 64%); }
  .ings { bottom: calc(16px + env(safe-area-inset-bottom) + var(--bar)); }
}
@media (max-width: 767px) {
  .hint { bottom: calc(96px + env(safe-area-inset-bottom) + var(--bar)); }
}

/* ===== v5: коктейль над карточкой рецепта ===== */
.card-wrap { position: relative; }
.card-glass {
  position: absolute; z-index: 2; right: -120px; top: 10px; height: 300px; width: auto;
  transform: rotate(6deg); filter: drop-shadow(0 24px 40px rgba(0,0,0,.75)) drop-shadow(0 0 30px rgba(233,164,65,.25));
  pointer-events: none;
}
.recipe .card { padding-right: 110px; }
@media (max-width: 1100px) and (min-width: 768px) { .card-glass { right: -60px; height: 220px; top: 20px; } }
@media (max-width: 767px) {
  .recipe { padding-top: 90px; }
  .card-glass { position: relative; display: block; right: auto; top: auto; margin: 0 auto -44px; height: 36vh; max-height: 300px; transform: rotate(-3deg); }
  .recipe .card { padding-right: 22px; }
}

/* ===== v6: глоток — гость сам подносит бокал к губам ===== */
.sip { position: relative; height: 100lvh; }
.sip-stage { position: sticky; top: 0; height: 100lvh; overflow: hidden; background: #000; touch-action: pan-y; }
.sip-glass {
  position: absolute; left: 0; top: 0; z-index: 5; height: min(30vh, 300px); width: auto;
  cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-user-drag: none;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.7)) drop-shadow(0 0 26px rgba(233,164,65,.35));
  transition: opacity .4s, filter .3s;
  animation: sway 3.2s ease-in-out infinite;
}
@keyframes sway { 50% { margin-top: -8px; } }
.sip-glass.held { cursor: grabbing; animation: none; filter: drop-shadow(0 26px 40px rgba(0,0,0,.8)) drop-shadow(0 0 40px rgba(255,200,115,.55)); }
.sip-glass.gone { opacity: 0; pointer-events: none; }
.sip-target {
  position: absolute; left: 0; top: 0; z-index: 4; border-radius: 50%; pointer-events: none;
  border: 1px dashed rgba(255,200,115,.0); background: radial-gradient(circle, rgba(255,200,115,.0), transparent 70%);
  transition: border-color .3s, background .3s, opacity .3s; opacity: 0;
}
.sip-target.show { opacity: 1; border-color: rgba(255,200,115,.55); background: radial-gradient(circle, rgba(255,200,115,.12), transparent 70%); animation: ring 1.6s ease-in-out infinite; }
.sip-target.hot { border-color: var(--amber-hi); border-style: solid; background: radial-gradient(circle, rgba(255,200,115,.35), transparent 70%); }
@keyframes ring { 50% { box-shadow: 0 0 0 10px rgba(255,200,115,.08); } }
.sip-hint { position: absolute; inset: 0; z-index: 6; pointer-events: none; opacity: 0; transition: opacity .4s; }
.sip-hint.on { opacity: 1; }
.sip-finger {
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  background: rgba(255,240,215,.9); box-shadow: 0 0 0 8px rgba(255,240,215,.18), 0 0 30px rgba(255,200,115,.6);
}
.sip-hint.on .sip-finger { animation: guide 2.2s cubic-bezier(.45,.05,.3,1) infinite; }
@keyframes guide {
  0% { transform: translate(var(--x0), var(--y0)) scale(.8); opacity: 0; }
  12% { transform: translate(var(--x0), var(--y0)) scale(1); opacity: 1; }
  70% { transform: translate(var(--x1), var(--y1)) scale(1); opacity: 1; }
  100% { transform: translate(var(--x1), var(--y1)) scale(.7); opacity: 0; }
}
.sip-ui { position: absolute; z-index: 7; left: clamp(16px, 6vw, 96px); bottom: calc(clamp(34px, 9vh, 96px) + var(--bar)); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: min(520px, 86vw); }
.sip-ui .cap { position: static; }
.sip-help { font: 300 12px/1.4 var(--head); letter-spacing: .24em; text-transform: uppercase; color: var(--amber-hi); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.sip-help.on { opacity: 1; transform: none; }
.sip-btn { opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .4s, transform .4s; animation: pulse 1.8s ease-in-out infinite; }
.sip-btn.on { opacity: 1; pointer-events: auto; transform: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(233,164,65,.12); } }
.sip-line { z-index: 7; }
@media (max-width: 767px) {
  .sip-glass { height: 22vh; }
  .sip-ui .cap p { max-width: 62vw; }
  .sip-ui { left: 16px; right: 16px; max-width: none; bottom: calc(22px + env(safe-area-inset-bottom) + var(--bar)); }
  .sip-btn { width: 100%; }
}
.sip-line, .sip-cap { opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease, visibility 0s .45s; }
.sip-line.on, .sip-cap.on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease, transform .45s ease, visibility 0s; }

/* ===== v7: бокал на рецепте не заезжает на текст при любой ширине коктейля ===== */
@media (min-width: 768px) {
  .recipe-in { gap: clamp(90px, 9vw, 170px); }
  .card-glass { right: -64px; top: 14px; height: 270px; max-width: 200px; object-fit: contain; object-position: center bottom; }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .card-glass { right: -40px; height: 200px; max-width: 150px; }
  .recipe .card { padding-right: 90px; }
}

/* ===== v8: последний блок на телефоне — видно лампу, пустой стул и стойку ===== */
@media (max-width: 767px) {
  .mesto-bg { inset: 0 0 auto 0; height: 64%; transform: none; background-size: cover; background-position: 36% center; }
  .mesto::after { background: linear-gradient(rgba(10,9,7,.35), transparent 16%, transparent 40%, rgba(10,9,7,.96) 62%, var(--bg) 70%); }
}
