/* =========================================================
   Kitsune · аниме-кафе в Ташкенте
   Ночь, неон, лисий огонь. Тёмная тема это часть бренда.
   ========================================================= */

:root {
  --bg: #0b0918;
  --bg-2: #110d24;
  --bg-3: #1a1435;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --ink: #f7efe6;
  --ink-2: #cfc6e2;
  --muted: #978fb2;

  --fox: #ff7a1a;
  --fox-2: #ffa24c;
  --vermillion: #e8461e;
  --sakura: #ff4f9a;
  --spirit: #5ee7ff;
  --gold: #ffcf6e;
  --halal: #3ddc97;
  --on-accent: #170a12;

  --radius: 24px;
  --radius-sm: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --container: 1200px;

  --font-display: "Dela Gothic One", "M PLUS Rounded 1c", system-ui, sans-serif;
  --font-body: "M PLUS Rounded 1c", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* зерно поверх всего: даёт «плёночную» глубину тёмному фону */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--spirit); outline-offset: 3px; border-radius: 10px; }
::selection { background: var(--sakura); color: #fff; }

/* двуязычность: показываем только активный язык */
html[lang="ru"] [data-l="uz"],
html[lang="uz"] [data-l="ru"] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 300;
  padding: 10px 16px; border-radius: 12px;
  background: var(--ink); color: var(--bg); font-weight: 800;
  transition: top .2s;
}
.skip:focus { top: 16px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.55em;
  border-radius: 999px;
  font-weight: 800; font-size: 1rem; letter-spacing: .01em; line-height: 1;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s, background .25s, color .25s;
}
.btn .ic { width: 1.1em; height: 1.1em; }
.btn-sm { padding: .72em 1.15em; font-size: .9rem; }
.btn-primary {
  color: var(--on-accent);
  background: linear-gradient(120deg, #ffb35c 0%, var(--fox) 35%, var(--vermillion) 70%, var(--sakura) 100%);
  background-size: 160% 100%;
  background-position: 0% 0;
  box-shadow: 0 12px 32px -12px rgba(255, 106, 26, .75), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.btn-primary:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 18px 40px -14px rgba(255, 79, 154, .85), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .04);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: rgba(94, 231, 255, .7); box-shadow: 0 0 0 4px rgba(94, 231, 255, .1), 0 10px 30px -14px rgba(94, 231, 255, .6); }
.btn:active { transform: translateY(0) scale(.98); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background .35s, padding .35s, border-color .35s;
}
.nav.scrolled {
  padding-block: 10px;
  background: rgba(11, 9, 24, .74);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand svg { width: 40px; height: 40px; filter: drop-shadow(0 4px 14px rgba(255, 122, 26, .45)); transition: transform .4s var(--ease); }
.brand:hover svg { transform: rotate(-8deg) scale(1.06); }
.brand-word { font-family: var(--font-display); font-size: 1.28rem; letter-spacing: .08em; line-height: 1; }
.brand-jp { font-family: var(--font-body); font-weight: 800; font-size: .74rem; letter-spacing: .3em; color: var(--fox); padding-left: 10px; border-left: 1px solid var(--line-2); line-height: 1; }

.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 34px); font-weight: 700; font-size: .95rem; }
.nav-links a { position: relative; color: var(--ink-2); transition: color .2s; padding-block: 6px; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--fox), var(--sakura));
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links .nav-links-call { display: none; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .04); }
.lang button { padding: 6px 11px; border-radius: 999px; font-size: .76rem; font-weight: 800; letter-spacing: .08em; color: var(--muted); transition: background .25s, color .25s; }
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

.burger { display: none; position: relative; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.nav.open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav.open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid; align-items: center;
  padding: 120px 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: -10%; z-index: -3;
  background:
    radial-gradient(38% 42% at 74% 44%, rgba(255, 106, 26, .26), transparent 70%),
    radial-gradient(34% 36% at 18% 78%, rgba(255, 79, 154, .17), transparent 70%),
    radial-gradient(28% 30% at 12% 18%, rgba(94, 231, 255, .11), transparent 70%),
    linear-gradient(180deg, #0d0a1f 0%, var(--bg) 100%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; z-index: -1;
  background: linear-gradient(180deg, transparent, var(--bg));
}
.foxfire { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.hero-vertical {
  position: absolute; right: clamp(8px, 2vw, 28px); top: 50%; z-index: -1;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4.6rem); letter-spacing: .3em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .13);
  user-select: none;
}

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(24px, 4vw, 64px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 15px 8px 12px;
  border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .04);
  font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--spirit); box-shadow: 0 0 12px var(--spirit); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.8); } }

.hero-title { margin: 24px 0 20px; font-family: var(--font-display); font-weight: 400; line-height: .88; }
.ht-word {
  display: block;
  font-size: clamp(3.2rem, 6.7vw, 6.2rem);
  letter-spacing: .015em;
  background: linear-gradient(100deg, #fff7ee 0%, #ffcf9a 26%, var(--fox) 54%, var(--sakura) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 34px rgba(255, 122, 26, .32));
}
.ht-sub {
  display: block; margin-top: 18px;
  font-family: var(--font-body); font-weight: 800;
  font-size: clamp(.9rem, 1.5vw, 1.15rem); letter-spacing: .5em;
  color: var(--sakura);
  text-shadow: 0 0 18px rgba(255, 79, 154, .65);
}
.hero-lead { max-width: 37ch; font-size: clamp(1.04rem, 1.45vw, 1.24rem); color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .035);
  font-size: .84rem; font-weight: 700; color: var(--ink-2);
}
.chip .ic { width: 16px; height: 16px; }
.chip-halal .ic { color: var(--halal); }
.chip-rating .ic { color: var(--gold); }
.sdot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--muted); }
[data-open-status].is-open .sdot { background: var(--halal); box-shadow: 0 0 10px var(--halal); animation: pulse 2s ease-in-out infinite; }
[data-open-status].is-closed .sdot { background: var(--sakura); box-shadow: 0 0 10px var(--sakura); }

.hero-art { position: relative; display: grid; place-items: center; }
.emblem { width: min(100%, 580px); height: auto; overflow: visible; animation: float 7s ease-in-out infinite alternate; }
@keyframes float { from { transform: translateY(-10px); } to { transform: translateY(12px); } }
.e-ring { opacity: .9; animation: flicker 6s linear infinite; }
.e-dash { opacity: .7; animation: spin 70s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flicker {
  0%, 18%, 22%, 62%, 64%, 100% { opacity: .9; }
  20%, 63% { opacity: .35; }
}
.tail { transform: rotate(var(--r)); animation: sway 5.5s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
.tail-in { animation: grow 1.4s var(--ease) both; animation-delay: calc(.25s + var(--i) * .09s); }
.tail use, .legend-tails use { fill: url(#eTail); stroke: #ffd7b0; stroke-opacity: .5; stroke-width: 2; }
@keyframes sway { from { transform: rotate(calc(var(--r) - 2.4deg)); } to { transform: rotate(calc(var(--r) + 2.4deg)); } }
@keyframes grow { from { transform: scale(.15); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.e-fox { filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); }
.hero.paused .tail, .hero.paused .emblem, .hero.paused .e-dash, .hero.paused .e-ring { animation-play-state: paused; }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--line-2); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--fox); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- marquee ---------- */
.marquee { position: relative; padding: 52px 0; overflow: hidden; }
.band { position: relative; margin-inline: -6vw; padding: 16px 0; white-space: nowrap; overflow: hidden; }
.band-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.band-item { display: inline-flex; align-items: center; gap: .55em; padding-inline: .7em; font-family: var(--font-display); font-size: clamp(1.1rem, 2.4vw, 1.9rem); letter-spacing: .04em; line-height: 1.2; }
.band-item .jp { font-family: var(--font-body); font-weight: 800; font-size: .7em; opacity: .8; }
.band-item .star { font-size: .7em; }
.band-a {
  z-index: 2;
  transform: rotate(-2.4deg);
  color: var(--on-accent);
  background: linear-gradient(90deg, var(--fox), var(--vermillion) 45%, var(--sakura));
  box-shadow: 0 14px 44px -14px rgba(255, 79, 154, .6);
}
.band-b {
  position: absolute; left: 0; right: 0; top: 50%; z-index: 1;
  transform: translateY(-50%) rotate(2deg);
  background: #15112c;
  border-block: 1px solid var(--line);
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .32);
}
.band-b .band-track { animation-direction: reverse; animation-duration: 56s; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(72px, 8.5vw, 120px) 0; }
.section-head { display: grid; gap: 18px; max-width: 780px; margin-bottom: clamp(36px, 6vw, 64px); }
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-weight: 800; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--fox); }
.k-num { font-family: var(--font-display); font-size: .92rem; letter-spacing: .06em; color: var(--ink); padding: 5px 10px; border: 1px solid rgba(255, 122, 26, .5); border-radius: 9px; background: rgba(255, 122, 26, .08); }
.k-jp { color: var(--muted); letter-spacing: .35em; }
.h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.15rem, 5.4vw, 4.1rem); line-height: 1.04; letter-spacing: .005em; text-wrap: balance; }
.h2 em { font-style: normal; background: linear-gradient(90deg, var(--fox), var(--sakura)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 58ch; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--ink-2); }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(22px, 2.8vw, 32px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
  transition: transform .4s var(--ease), border-color .4s;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(420px circle at var(--px, 50%) var(--py, 0%), rgba(255, 122, 26, .16), transparent 62%);
  opacity: 0; transition: opacity .45s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.card:hover::before { opacity: 1; }
.card h3 { margin: 20px 0 10px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.22rem, 1.9vw, 1.55rem); line-height: 1.18; }
.card p { color: var(--ink-2); font-size: .98rem; }
.icon-badge {
  width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center;
  color: var(--fox); background: rgba(255, 122, 26, .12); border: 1px solid rgba(255, 122, 26, .38);
  box-shadow: 0 0 26px -8px rgba(255, 122, 26, .6);
}
.icon-badge .ic { width: 26px; height: 26px; }
.icon-badge.c-spirit { color: var(--spirit); background: rgba(94, 231, 255, .1); border-color: rgba(94, 231, 255, .38); box-shadow: 0 0 26px -8px rgba(94, 231, 255, .6); }
.icon-badge.c-sakura { color: var(--sakura); background: rgba(255, 79, 154, .1); border-color: rgba(255, 79, 154, .4); box-shadow: 0 0 26px -8px rgba(255, 79, 154, .6); }
.icon-badge.c-halal { color: var(--halal); background: rgba(61, 220, 151, .1); border-color: rgba(61, 220, 151, .4); box-shadow: 0 0 26px -8px rgba(61, 220, 151, .55); }
.icon-badge.c-gold { color: var(--gold); background: rgba(255, 207, 110, .1); border-color: rgba(255, 207, 110, .4); box-shadow: 0 0 26px -8px rgba(255, 207, 110, .55); }

.b-legend {
  grid-column: span 7; grid-row: span 2;
  min-height: 440px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background:
    radial-gradient(80% 70% at 85% 10%, rgba(255, 106, 26, .26), transparent 65%),
    radial-gradient(60% 60% at 0% 100%, rgba(255, 79, 154, .14), transparent 70%),
    linear-gradient(160deg, #1d1538, #120e27);
}
.legend-kanji {
  position: absolute; right: 5%; top: 4%; z-index: -1;
  font-family: var(--font-display); font-size: clamp(9rem, 17vw, 14.5rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 122, 26, .42);
  text-shadow: 0 0 60px rgba(255, 122, 26, .18);
  user-select: none;
}
.legend-tails { position: absolute; left: 4%; top: 7%; width: min(56%, 360px); z-index: -1; opacity: .55; overflow: visible; }
.legend-body { max-width: 460px; }
.card-tag { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: .74rem !important; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--on-accent) !important; background: var(--fox); }
.b-legend h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-top: 16px; }
.b-legend p:not(.card-tag) { font-size: 1.05rem; }
.b-anime, .b-manga { grid-column: span 5; }
.b-fig, .b-halal, .b-night { grid-column: span 4; }

/* ---------- drinks (holo cards) ---------- */
.heroes { background: linear-gradient(180deg, transparent, rgba(255, 79, 154, .045) 30%, rgba(94, 231, 255, .035) 70%, transparent); }
.heroes::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='72' height='36' viewBox='0 0 72 36'><g fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1.2'><path d='M0 36a36 36 0 0 1 72 0'/><path d='M9 36a27 27 0 0 1 54 0'/><path d='M18 36a18 18 0 0 1 36 0'/><path d='M27 36a9 9 0 0 1 18 0'/><path d='M-36 18a36 36 0 0 1 72 0M36 18a36 36 0 0 1 72 0'/></g></svg>");
  -webkit-mask-image: radial-gradient(70% 60% at 50% 50%, #000, transparent);
  mask-image: radial-gradient(70% 60% at 50% 50%, #000, transparent);
}
.drinks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; perspective: 1400px; }
.drink {
  --c1: #ff7a1a; --c2: #e8461e; --acc: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 520px;
  padding: 22px 22px 24px;
  border-radius: 28px;
  border: 1px solid color-mix(in oklab, var(--c1) 42%, rgba(255, 255, 255, .1));
  background:
    radial-gradient(110% 70% at 50% 34%, color-mix(in oklab, var(--c1) 34%, transparent), transparent 70%),
    linear-gradient(180deg, #1b1536, #0f0b21);
  box-shadow: 0 34px 60px -34px color-mix(in oklab, var(--c2) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, .08);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
  will-change: transform;
}
.drink.tilting { transition: transform .1s linear, box-shadow .6s var(--ease); }
.drink:hover { border-color: color-mix(in oklab, var(--c1) 75%, white); box-shadow: 0 40px 70px -30px color-mix(in oklab, var(--c2) 85%, transparent), inset 0 1px 0 rgba(255, 255, 255, .12); }
.drink::after {
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .45s;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 40%), rgba(255, 255, 255, .35), transparent 38%),
    linear-gradient(115deg, transparent 20%, rgba(255, 79, 154, .35) 36%, rgba(255, 207, 110, .3) 46%, rgba(94, 231, 255, .35) 56%, rgba(179, 136, 255, .3) 66%, transparent 80%);
  background-size: 100% 100%, 220% 220%;
  background-position: 0 0, var(--mx, 50%) var(--my, 50%);
  mix-blend-mode: color-dodge;
}
.drink:hover::after { opacity: .55; }
.drink-top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: .76rem; letter-spacing: .16em; color: var(--ink-2); }
.drink-no { font-family: var(--font-display); letter-spacing: .08em; }
.drink-rar { padding: 4px 9px; border-radius: 8px; border: 1px solid color-mix(in oklab, var(--c1) 60%, white); color: #fff; background: color-mix(in oklab, var(--c1) 30%, transparent); }
.drink-rar.ur { border-color: var(--gold); color: var(--on-accent); background: linear-gradient(120deg, #fff1b8, var(--gold), #ffb347); box-shadow: 0 0 18px -2px rgba(255, 207, 110, .7); }
.drink-jp {
  position: absolute; right: 16px; top: 62px; z-index: 1;
  writing-mode: vertical-rl;
  font-family: var(--font-display); font-size: 2.1rem; letter-spacing: .12em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px color-mix(in oklab, var(--c1) 65%, white);
  opacity: .75;
}
.drink-glass { position: relative; z-index: 2; flex: 1; display: grid; place-items: center; padding: 6px 0; transform: translateZ(50px); }
.drink-glass svg { width: min(176px, 64%); height: auto; overflow: visible; filter: drop-shadow(0 24px 30px color-mix(in oklab, var(--c2) 55%, transparent)); transition: transform .6s var(--ease); }
.drink:hover .drink-glass svg { transform: translateY(-6px) rotate(-3deg); }
.drink-body { position: relative; z-index: 2; transform: translateZ(30px); }
.drink h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.62rem; line-height: 1.08; }
.drink .tag { margin: 8px 0 10px; color: var(--ink); opacity: .86; font-size: .95rem; }
.drink .ing { font-size: .85rem; color: var(--muted); }
.drink-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px dashed rgba(255, 255, 255, .15); font-weight: 800; }
.drink-foot .vol { color: var(--muted); font-weight: 700; font-size: .9rem; }
.drink-foot .price { font-family: var(--font-display); font-weight: 400; color: #fff; }
.bubble { animation: rise 3.2s linear infinite; }
@keyframes rise { from { transform: translateY(0); opacity: .6; } to { transform: translateY(-120px); opacity: 0; } }
.swipe-hint { display: none; }

/* ---------- hits ---------- */
.hits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hit {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  transition: transform .45s var(--ease), border-color .45s, box-shadow .45s;
}
.hit:hover { transform: translateY(-8px) rotate(-.6deg); border-color: color-mix(in oklab, var(--h) 55%, transparent); box-shadow: 0 30px 50px -30px color-mix(in oklab, var(--h) 70%, transparent); }
.hit-art { position: relative; display: grid; place-items: center; aspect-ratio: 6 / 5; background: radial-gradient(64% 64% at 50% 62%, color-mix(in oklab, var(--h) 32%, transparent), transparent 72%); }
.hit-art svg { width: 84%; height: auto; transition: transform .6s var(--ease); }
.hit:hover .hit-art svg { transform: scale(1.06) rotate(-2deg); }
.hit-jp { position: absolute; top: 14px; left: 16px; font-weight: 800; font-size: .86rem; letter-spacing: .2em; color: var(--h); }
.hit-body { display: flex; flex-direction: column; flex: 1; padding: 6px 20px 22px; }
.hit-body h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.28rem; line-height: 1.15; }
.hit-body p { flex: 1; margin: 8px 0 16px; color: var(--ink-2); font-size: .92rem; }
.hit-price { align-self: flex-start; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); font-weight: 800; font-size: .92rem; }
.steam path { animation: steam 3.6s ease-in-out infinite; }
.steam path:nth-child(2) { animation-delay: -1.2s; }
.steam path:nth-child(3) { animation-delay: -2.4s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(8px); } 40% { opacity: .9; } 100% { opacity: 0; transform: translateY(-10px); } }

/* ---------- menu ---------- */
.menu-shell { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
.tabs {
  display: flex; gap: 6px; width: max-content; max-width: 100%;
  padding: 6px; overflow-x: auto; scrollbar-width: none;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .03);
}
.tabs::-webkit-scrollbar { display: none; }
.tab { padding: 10px 18px; border-radius: 999px; font-weight: 800; font-size: .92rem; color: var(--ink-2); white-space: nowrap; transition: background .3s, color .3s; }
.tab:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.tab[aria-selected="true"] { color: var(--on-accent); background: linear-gradient(120deg, var(--fox), var(--sakura)); box-shadow: 0 8px 22px -10px rgba(255, 79, 154, .8); }
.menu-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
.menu-panel[hidden] { display: none; }
.dish { padding: 18px 0 16px; border-bottom: 1px dashed rgba(255, 255, 255, .1); animation: dishIn .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 32ms); }
@keyframes dishIn { from { opacity: 0; transform: translateY(10px); } }
.dish-row { display: flex; align-items: baseline; gap: 10px; }
.dish-name { font-family: var(--font-body); font-weight: 800; font-size: 1.06rem; line-height: 1.3; }
.dish-leader { flex: 1; min-width: 16px; border-bottom: 2px dotted rgba(255, 255, 255, .18); transform: translateY(-5px); }
.dish-price { font-family: var(--font-display); font-size: 1.02rem; color: var(--gold); white-space: nowrap; }
.dish-desc { margin-top: 4px; color: var(--muted); font-size: .9rem; }
.dish-jp { margin-right: 6px; color: var(--fox); font-weight: 700; }
.dish-w { margin-top: 2px; color: var(--ink-2); opacity: .6; font-size: .78rem; font-weight: 700; }
.badge-hit { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; vertical-align: 2px; font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sakura); background: rgba(255, 79, 154, .14); border: 1px solid rgba(255, 79, 154, .42); }
.menu-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 6px; }
.menu-note { color: var(--muted); font-size: .9rem; max-width: 60ch; }
.menu-note a { color: var(--fox); text-decoration: underline; }

/* ---------- proof ---------- */
.proof { padding-bottom: clamp(20px, 4vw, 40px); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .025); }
.stat { display: grid; gap: 10px; padding: clamp(22px, 3vw, 34px); border-right: 1px solid var(--line); transition: background .3s; }
.stat:last-child { border-right: 0; }
a.stat:hover { background: rgba(255, 255, 255, .04); }
.stat b { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.3rem, 4.4vw, 3.4rem); line-height: 1; background: linear-gradient(100deg, #fff4e8, var(--fox-2) 45%, var(--sakura)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { display: flex; align-items: center; gap: 7px; color: var(--ink-2); font-size: .92rem; font-weight: 700; }
.stat small { margin-top: -6px; color: var(--muted); font-size: .84rem; font-weight: 700; }
.stat .star { color: var(--gold); width: 16px; height: 16px; }

/* ---------- visit ---------- */
.branches { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.branch {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 400px;
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: 30px; border: 1px solid var(--line);
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(255, 106, 26, .24), transparent 65%),
    linear-gradient(160deg, #1d1638, #110d25);
}
.branch-2 { background: radial-gradient(70% 60% at 100% 0%, rgba(94, 231, 255, .16), transparent 65%), radial-gradient(60% 50% at 0% 100%, rgba(255, 79, 154, .14), transparent 70%), linear-gradient(160deg, #1d1638, #110d25); }
.branch::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; z-index: -1;
  width: 260px; height: 260px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .07);
  box-shadow: 0 0 0 30px rgba(255, 255, 255, .02), 0 0 0 60px rgba(255, 255, 255, .015);
}
.branch-jp { font-weight: 800; font-size: .86rem; letter-spacing: .32em; color: var(--fox); }
.branch-2 .branch-jp { color: var(--spirit); }
.branch h3 { margin: 10px 0 22px; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 4.4vw, 3.3rem); line-height: 1; }
.branch-info { display: grid; gap: 14px; margin-bottom: 18px; }
.branch-info li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-2); }
.branch-info .ic { width: 20px; height: 20px; margin-top: 3px; color: var(--fox); }
.branch-2 .branch-info .ic { color: var(--spirit); }
.branch-info small { display: block; color: var(--muted); font-size: .85rem; }
.branch-info a:hover { color: #fff; }
.branch-status { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-size: .84rem; font-weight: 800; }
.branch-status:empty { display: none; }
.branch-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 26px; }

.contact-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px;
  margin-top: 20px; padding: 26px 30px;
  border-radius: 26px; border: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 122, 26, .13), rgba(255, 79, 154, .08) 50%, rgba(94, 231, 255, .08));
}
.contact-bar h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; }
.contact-bar p { color: var(--ink-2); margin-top: 4px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.social { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 15px; border: 1px solid var(--line-2); background: rgba(11, 9, 24, .45); font-weight: 800; font-size: .94rem; transition: transform .25s var(--ease), border-color .25s; }
.social:hover { transform: translateY(-2px); border-color: var(--fox); }
.social .ic { width: 20px; height: 20px; }

/* ---------- footer ---------- */
.footer { position: relative; overflow: hidden; padding: 30px 0 40px; border-top: 1px solid var(--line); }
.footer-word {
  text-align: center; white-space: nowrap; user-select: none;
  font-family: var(--font-display); font-size: clamp(3rem, 13.2vw, 13rem); line-height: .9; letter-spacing: .03em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .12);
  background: linear-gradient(180deg, rgba(255, 122, 26, .3), rgba(255, 79, 154, .05) 70%, transparent);
  -webkit-background-clip: text; background-clip: text;
}
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; color: var(--muted); font-size: .9rem; }
.footer-credit a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.footer-credit a:hover { color: var(--fox); }
.brand-sm svg { width: 30px; height: 30px; }
.brand-sm .brand-word { font-size: 1rem; }

/* ---------- reveal ---------- */
/* появление через отдельное свойство translate: не конфликтует с hover-transform и 3D-наклоном */
.js .reveal {
  opacity: 0; translate: 0 26px;
  transition-property: opacity, translate, transform, border-color, box-shadow;
  transition-duration: .9s, .9s, .45s, .45s, .45s;
  transition-timing-function: var(--ease);
  transition-delay: var(--rd, 0s), var(--rd, 0s), 0s, 0s, 0s;
}
.js .reveal.in { opacity: 1; translate: 0 0; }
.js .drink { opacity: 0; }
.js .drink.in { animation: cardIn 1s var(--ease) both; animation-delay: var(--rd, 0s); }
@keyframes cardIn { from { opacity: 0; translate: 0 36px; } to { opacity: 1; translate: 0 0; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .drinks { grid-template-columns: repeat(2, 1fr); }
  .hits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .burger { display: block; }
  .nav-call { display: none; }
  .nav.open { background: transparent !important; border-color: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .nav-links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 22px;
    font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 8vw, 2.6rem);
    background: radial-gradient(60% 50% at 80% 20%, rgba(255, 106, 26, .22), transparent 70%), radial-gradient(50% 40% at 10% 90%, rgba(255, 79, 154, .14), transparent 70%), var(--bg);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav.open .nav-links { opacity: 1; visibility: visible; }
  .nav-links a { color: var(--ink); }
  .nav-links .nav-links-call { display: block; margin-top: 10px; font-family: var(--font-body); font-weight: 800; font-size: 1.05rem; color: var(--fox); }

  .hero { padding-top: 104px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .hero-art { order: -1; margin-bottom: -6px; }
  .ht-word { font-size: clamp(2.6rem, 14.2vw, 7rem); }
  .emblem { width: min(74vw, 400px); }
  .hero-vertical { display: none; }
  .scroll-cue { display: none; }

  .bento { grid-template-columns: 1fr 1fr; }
  .b-legend { grid-column: 1 / -1; grid-row: auto; min-height: 380px; }
  .b-anime, .b-manga, .b-fig, .b-halal { grid-column: span 1; }
  .b-night { grid-column: 1 / -1; }

  .menu-panel { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .branches { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .brand-jp { display: none; }
  .hero-cta .btn { flex: 1 1 auto; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .b-anime, .b-manga, .b-fig, .b-halal, .b-night { grid-column: 1 / -1; }
  .b-legend { min-height: 440px; }
  .legend-tails { width: 70%; left: 2%; }
  .legend-kanji { right: 2%; top: 2%; }

  .drinks {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%;
    gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 18px; scroll-padding-inline: var(--gutter);
    scrollbar-width: none; perspective: none;
  }
  .drinks::-webkit-scrollbar { display: none; }
  .drink { min-height: 480px; scroll-snap-align: center; }
  .swipe-hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; color: var(--muted); font-size: .85rem; font-weight: 700; }

  .hits-grid { gap: 12px; }
  .hit-body { padding: 4px 14px 16px; }
  .hit-body h3 { font-size: 1.05rem; }
  .hit-body p { font-size: .82rem; }
  .hit-price { font-size: .82rem; padding: 6px 10px; }

  .menu-shell { gap: 22px; }
  .tabs { border-radius: 18px; }
  .dish-name { font-size: 1rem; }
  .contact-bar { padding: 22px; }
  .socials { width: 100%; }
  .social { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 380px) {
  .hits-grid { grid-template-columns: 1fr; }
  .lang button { padding: 6px 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal, .js .drink { opacity: 1; translate: 0 0; }
}
