/* ==========================================================================
   Ramen Ten — концепт «Liquid Glass». Второй, самостоятельный прототип.
   Стекло тёплое (красный + янтарь на чёрном), три плотности, и это акцентный
   язык поверх плотной тёмной основы: фото и типографика остаются главными.
   Без библиотек: backdrop-filter, слои градиентов, псевдоэлементы, маски.
   ========================================================================== */

:root {
  --ink:       #070605;
  --ink-2:     #110D0B;
  --ink-3:     #1A1411;
  --line:      rgba(255, 214, 180, .14);
  --paper:     #F6F1EA;
  --dim:       #B3A89D;
  --mute:      #8F857B;
  --red:       #E3000F;
  --hot:       #FF2A1A;
  --amber:     #F0A045;
  --ember:     #FF6A2B;

  /* стекло: три плотности */
  --g-bg:        rgba(44, 24, 14, .36);
  --g-bg-thick:  rgba(26, 15, 10, .58);
  --g-bg-thin:   rgba(70, 38, 22, .26);
  --g-line:      rgba(255, 214, 180, .20);
  --g-hi:        rgba(255, 238, 220, .30);
  --g-blur:      20px;

  --r-panel: 24px;
  --r-card: 20px;
  --r-pill: 999px;

  --ease: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --gut: clamp(18px, 4.5vw, 64px);
  --maxw: 1360px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: 'Manrope', 'Noto Sans Armenian', system-ui, sans-serif;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }

/* ---------------------------------------------------------- типографика */
.display {
  font-family: 'Unbounded', 'Noto Sans Armenian', sans-serif;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 0;
  padding-block-start: .06em;
}
.display--xl { font-size: clamp(2.2rem, 5.1vw, 4.9rem); line-height: .98; }
.display--l  { font-size: clamp(1.9rem, 4.2vw, 3.6rem); }
.display--m  { font-size: clamp(1.3rem, 2.2vw, 1.9rem); }
.lede { color: var(--dim); font-size: clamp(1rem, 1.3vw, 1.2rem); max-width: 46ch; margin: 0; }
.sect { padding-block: clamp(72px, 10vw, 150px); }
.sect-head { margin-bottom: clamp(28px, 4vw, 52px); display: grid; gap: 16px; }

/* ----------------------------------------------------------- свечение */
.light { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--ink); }
.light::before, .light::after { content: ''; position: absolute; border-radius: 50%; filter: blur(80px); }
.light::before { width: 72vmax; height: 72vmax; left: -24vmax; top: -30vmax; background: radial-gradient(circle, rgba(227, 0, 15, .50) 0%, rgba(227, 0, 15, 0) 62%); }
.light::after  { width: 64vmax; height: 64vmax; right: -22vmax; bottom: -24vmax; background: radial-gradient(circle, rgba(240, 160, 69, .42) 0%, rgba(240, 160, 69, 0) 62%); }

/* ------------------------------------------------------------- стекло */
.g {
  position: relative;
  isolation: isolate;
  background: var(--g-bg);
  border: 1px solid var(--g-line);
  -webkit-backdrop-filter: blur(var(--g-blur)) saturate(160%);
  backdrop-filter: blur(var(--g-blur)) saturate(160%);
  box-shadow: inset 0 1px 0 var(--g-hi), inset 0 -1px 0 rgba(0, 0, 0, .4), 0 24px 60px rgba(0, 0, 0, .45);
}
.g::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background:
    radial-gradient(120% 70% at 16% 0%, rgba(255, 222, 190, .20), transparent 55%),
    radial-gradient(80% 60% at 100% 100%, rgba(255, 120, 60, .10), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .05), transparent 42%);
}
.g--thick { background: var(--g-bg-thick); --g-blur: 28px; }
.g--thin  { background: var(--g-bg-thin);  --g-blur: 14px; box-shadow: inset 0 1px 0 var(--g-hi), 0 10px 30px rgba(0, 0, 0, .35); }
.g--panel { border-radius: var(--r-panel); }
.g--card  { border-radius: var(--r-card); }
.g--pill  { border-radius: var(--r-pill); }

/* проблеск: тонкая полоса света проходит по стеклу при наведении */
.g--shine { overflow: hidden; }
.g--shine::after {
  content: ''; position: absolute; top: -50%; bottom: -50%; width: 34%; left: -70%;
  background: linear-gradient(100deg, transparent, rgba(255, 236, 214, .22), transparent);
  transform: skewX(-18deg); pointer-events: none; transition: left 1s var(--ease);
}
@media (hover: hover) and (pointer: fine) { .g--shine:hover::after { left: 140%; } }

/* нет backdrop-filter: плотная тёмная плашка с той же рамкой */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .g { background: rgba(24, 15, 11, .94); }
  .g--thin { background: rgba(30, 19, 13, .92); }
}
@media (prefers-reduced-transparency: reduce) {
  .g, .g--thin, .g--thick { background: rgba(24, 15, 11, .96); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .g::before { display: none; }
}

/* ------------------------------------------------------------- кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: var(--r-pill); border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; white-space: nowrap; cursor: pointer;
  transition: transform .16s var(--ease), background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn:active { transform: scale(.975); }
.btn--solid { background: var(--red); color: #fff; }
.btn--solid:hover { background: var(--hot); }
.btn--glass { color: var(--paper); }
.btn--glass:hover { border-color: rgba(255, 214, 180, .42); }
.btn--sm { padding: 11px 20px; font-size: .86rem; }

/* ----------------------------------------------------------------- шапка */
.header {
  position: fixed; top: 14px; left: 50%; z-index: 80;
  transform: translateX(-50%);
  width: min(100% - 28px, var(--maxw));
  display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px);
  padding: 8px 10px 8px 18px;
  transition: background .4s var(--ease);
}
.header.is-deep { background: var(--g-bg-thick); }
/* шапка: горизонтальный лок-ап (знак + словесный знак) на десктопе,
   только знак на телефоне; полный трёхъярусный логотип остаётся в футере */
.header__logo { display: inline-flex; align-items: center; }
.header__logo-wide { height: 40px; width: auto; }
.header__logo-mark { display: none; height: 40px; width: auto; }
.header__nav { display: flex; gap: 2px; margin-left: auto; }
.header__nav a {
  padding: 10px 14px; border-radius: var(--r-pill); font-size: .9rem; font-weight: 600; color: var(--dim);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.header__nav a:hover, .header__nav a[aria-current='true'] { color: var(--paper); background: rgba(255, 214, 180, .10); }

/* языковой переключатель: стеклянная капсула с бегунком */
.lang { position: relative; display: flex; padding: 3px; gap: 2px; }
.lang button {
  position: relative; z-index: 1; padding: 8px 11px; border-radius: var(--r-pill);
  font-size: .8rem; font-weight: 700; color: var(--mute); transition: color .25s var(--ease);
}
.lang button[aria-pressed='true'] { color: var(--paper); }
.lang__thumb {
  position: absolute; top: 3px; bottom: 3px; left: 3px; width: 44px; border-radius: var(--r-pill);
  background: rgba(255, 214, 180, .14); box-shadow: inset 0 1px 0 rgba(255, 238, 220, .25);
  transition: transform .3s var(--ease), width .3s var(--ease);
}

/* ----------------------------------------------------------------- герой */
.hero { position: relative; min-height: 100dvh; display: grid; align-items: end; padding: 120px 0 clamp(40px, 6vw, 72px); overflow: hidden; isolation: isolate; }
/* японская подпись из логотипа как фактура фона */
.hero__kanji {
  position: absolute; z-index: -1; right: -2vw; top: 8vh;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif; font-weight: 800; font-size: clamp(8rem, 24vw, 26rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 214, 180, .10);
  letter-spacing: -.04em; user-select: none; pointer-events: none;
}
.hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: end; }

/* слева: заголовок поверх всего, под ним стеклянная панель с текстом и CTA */
.hero__copy { position: relative; z-index: 3; }
.hero__tag { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; font-size: .82rem; font-weight: 600; color: var(--dim); margin-bottom: 22px; }
.hero__tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 14px var(--hot); }
.hero__panel { margin-top: 26px; padding: clamp(18px, 2.4vw, 30px); max-width: 560px; display: grid; gap: 22px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* справа: сцена — только большая чаша с живым паром. Поверх еды ничего
   не лежит; глубину даёт тёплое пятно света позади чаши. */
.hero__scene { position: relative; z-index: 2; min-height: 640px; }
.hero__scene::before {
  content: ''; position: absolute; left: 50%; top: 56%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(240, 160, 69, .22), rgba(227, 0, 15, .08) 55%, transparent 72%);
  pointer-events: none;
}
.bowl-stack { position: absolute; left: 0; bottom: 0; width: 100%; isolation: isolate; }
.hero__bowl {
  position: relative; z-index: 1; width: 100%; height: auto;
  filter: drop-shadow(0 46px 70px rgba(0, 0, 0, .7));
}
/* холсты сцены: блики под паром модулируют свет на бульоне, пар светится
   поверх и гаснет градиентом внутри холста (hero-scene.js) */
.fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.fx--broth { z-index: 2; mix-blend-mode: soft-light; opacity: .85; }
/* пар — обычное наложение: над тёмным фоном оно неотличимо от screen,
   но не требует отдельного слоя смешивания; ширину, высоту и сдвиг задаёт hero-scene.js */
.fx--steam { z-index: 3; inset: auto; left: 0; top: 0; width: 100%; height: auto; }

/* --------------------------------------------------------- направления */
.cats { position: relative; }
.cats__switch { display: inline-flex; padding: 5px; gap: 4px; margin-bottom: clamp(22px, 3vw, 36px); }
.cats__tab {
  padding: 12px 22px; border-radius: var(--r-pill);
  font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: .92rem; letter-spacing: .02em; color: var(--mute);
  transition: color .3s var(--ease), background .3s var(--ease);
}
.cats__tab:hover { color: var(--paper); }
.cats__tab[aria-selected='true'] { color: var(--ink); background: var(--paper); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }

/* сцена: большая фотография, сверху стеклянная панель с описанием и блюдами */
.cats__stage { position: relative; border-radius: var(--r-panel); overflow: hidden; aspect-ratio: 16 / 8; background: var(--ink-2); }
.cats__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1.4s var(--ease); }
.cats__img.is-on { opacity: 1; transform: none; }
.cats__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 6, 5, .55) 0%, rgba(7, 6, 5, 0) 55%), linear-gradient(0deg, rgba(7, 6, 5, .5) 0%, transparent 40%); }
.cats__panel {
  position: absolute; left: clamp(16px, 3vw, 36px); bottom: clamp(16px, 3vw, 36px); width: min(92%, 520px);
  padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 14px;
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.cats__panel.is-swapping { opacity: 0; transform: translateY(10px); }
.cats__panel p { margin: 0; color: var(--dim); }
.cats__dishes { display: flex; flex-wrap: wrap; gap: 8px; }
.cats__chip { padding: 8px 12px; font-size: .82rem; font-weight: 600; color: var(--paper); display: inline-flex; gap: 8px; align-items: baseline; }
.cats__chip span { color: var(--amber); font-family: 'Unbounded', sans-serif; font-size: .78rem; }
.cats__count { position: absolute; right: clamp(16px, 3vw, 36px); top: clamp(16px, 3vw, 36px); padding: 10px 16px; font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: .9rem; }

/* --------------------------------------------------------------- меню */
.menu__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.5vw, 20px); }
.dish { position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--ink-2); cursor: pointer; text-align: left; width: 100%; isolation: isolate; }
.dish--lead { grid-column: span 6; grid-row: span 2; aspect-ratio: 4 / 4.2; }
.dish--half { grid-column: span 3; aspect-ratio: 4 / 4.4; }
.dish__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.dish:hover .dish__img { transform: scale(1.06); }
.dish__plate { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 14px 16px; display: grid; gap: 4px; }
.dish__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.dish__name { font-weight: 700; font-size: 1rem; line-height: 1.25; }
.dish--lead .dish__name { font-family: 'Unbounded', sans-serif; font-size: 1.25rem; }
.dish__price { flex: 0 0 auto; font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: .95rem; }
.dish__meta { color: var(--dim); font-size: .8rem; }
.badge { position: absolute; top: 12px; left: 12px; padding: 6px 11px; font-size: .74rem; font-weight: 700; letter-spacing: .04em; color: #FFB4A6; }
.badge i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; }
.menu__foot { margin-top: clamp(22px, 3vw, 36px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; color: var(--mute); font-size: .86rem; }

/* ------------------------------------------------- модал: превью блюда */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__back { position: absolute; inset: 0; background: rgba(7, 6, 5, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.modal__box {
  position: relative; width: min(100%, 880px); display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden;
  transform: scale(.96); opacity: 0; transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.modal.is-open .modal__box { transform: none; opacity: 1; }
.modal__img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.modal__body { padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; align-content: start; }
.modal__body p { margin: 0; color: var(--dim); }
.modal__price { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 1.6rem; }
.modal__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.modal__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: var(--paper); }

/* ----------------------------------------------------------- бренд-блок */
.brand { position: relative; isolation: isolate; }
.brand__media { position: relative; border-radius: var(--r-panel); overflow: hidden; aspect-ratio: 16 / 8.5; }
.brand__photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.brand__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 6, 5, .72) 0%, rgba(7, 6, 5, .2) 50%, rgba(7, 6, 5, 0) 100%); }
.brand__text { position: absolute; left: clamp(18px, 4vw, 56px); top: 50%; transform: translateY(-50%); width: min(88%, 520px); display: grid; gap: 16px; z-index: 2; }
.brand__text p { margin: 0; color: var(--dim); }
.brand__text strong { color: var(--paper); }
.brand__facts { display: flex; gap: 8px; flex-wrap: wrap; }
.brand__fact { padding: 10px 14px; display: grid; gap: 1px; }
.brand__fact b { font-family: 'Unbounded', sans-serif; font-size: 1.15rem; }
.brand__fact span { font-size: .76rem; color: var(--dim); }
.brand__note { position: absolute; right: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 40px); z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; font-size: .84rem; font-weight: 600; color: var(--paper); }
.brand__note i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 14px var(--hot); }

/* ----------------------------------------------------- доставка / CTA */
.cta { padding-block: clamp(40px, 6vw, 80px); }
.cta__panel { padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; overflow: hidden; }
.cta__panel::after { content: ''; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(240, 160, 69, .30), transparent 62%); filter: blur(30px); pointer-events: none; }
.cta__panel p { margin: 0; color: var(--dim); }
.cta__btns { display: grid; gap: 10px; }
.cta__btns .btn { justify-content: space-between; }
.cta__btns .btn small { color: var(--dim); font-weight: 600; }

/* ---------------------------------------------------------- контакты */
.contact { background: var(--ink-2); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.contact__list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.contact__row { background: var(--ink-2); padding: 18px 20px; display: grid; gap: 4px; }
.contact__k { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); font-weight: 700; }
.contact__v { font-family: 'Unbounded', 'Noto Sans Armenian', sans-serif; font-weight: 700; font-size: 1.05rem; }
.contact__v a:hover { color: var(--hot); }
.contact__n { font-size: .84rem; color: var(--mute); }
.mapslot { min-height: 320px; height: 100%; border: 1px dashed var(--mute); border-radius: var(--r-card); display: grid; place-content: center; text-align: center; padding: 30px; gap: 8px;
  background: repeating-linear-gradient(45deg, rgba(246, 241, 234, .035) 0 12px, transparent 12px 24px); }
.mapslot b { color: var(--paper); }
.mapslot p { margin: 0; color: var(--mute); font-size: .86rem; max-width: 34ch; }
.foot { padding: 32px 0 120px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; color: var(--mute); font-size: .82rem; }
.foot img { width: 120px; height: auto; }

/* ----------------------------------------------- плавающие элементы */
.mnav { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 90; transform: translateX(-50%); display: none; gap: 2px; padding: 6px; width: min(100% - 20px, 440px); }
.mnav a { flex: 1; padding: 10px 6px; border-radius: var(--r-pill); font-size: .78rem; font-weight: 600; color: var(--dim); text-align: center; transition: color .25s var(--ease), background .25s var(--ease); }
.mnav a[aria-current='true'] { color: var(--paper); background: rgba(255, 214, 180, .12); }
.totop { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--paper); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }

/* ------------------------------------------------------- появление */
.rise { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.rise.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------- движение (вкл) */
@media (prefers-reduced-motion: no-preference) {
  .light::before { animation: breathe-a 16s ease-in-out infinite alternate; }
  .light::after  { animation: breathe-b 20s ease-in-out infinite alternate; }
  .hero__copy .display, .hero__panel, .hero__tag { animation: hero-in 1s var(--ease) both; }
  .hero__tag { animation-delay: .05s; } .hero__copy .display { animation-delay: .15s; } .hero__panel { animation-delay: .35s; }
  .bowl-stack { animation: bowl-in 1.3s var(--ease) .3s both; }
  /* параллакс свечения по прокрутке там, где поддерживаются scroll-driven animations */
  @supports (animation-timeline: scroll()) {
    .hero__kanji { animation: kanji-drift linear both; animation-timeline: scroll(); animation-range: 0 120vh; }
  }
}
@keyframes breathe-a { to { transform: translate(7vmax, 5vmax) scale(1.07); } }
@keyframes breathe-b { to { transform: translate(-5vmax, -7vmax) scale(1.1); } }
@keyframes hero-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes bowl-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes kanji-drift { to { transform: translateY(-18vh); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { opacity: 1; transform: none; transition: none; }
  .g--shine::after { display: none; }
  .cats__img, .cats__panel, .dish__img, .modal__box, .totop { transition: none; }
  /* пар и блики: холсты скрыты, чаша остаётся неподвижной фотографией */
  .fx { display: none; }
}

/* ------------------------------------------------------------ телефон */
/* Самостоятельная мобильная композиция: заголовок, чаша с ценником,
   стеклянная панель с CTA; категории горизонтальной лентой; меню в две
   колонки; бренд-блок вертикальный; нижняя стеклянная навигация. */
@media (max-width: 1000px) {
  .header__nav { display: none; }
  .header__logo-wide { display: none; }
  .header__logo-mark { display: block; }
  .mnav { display: flex; }
  .totop { bottom: calc(76px + env(safe-area-inset-bottom)); right: 12px; }
}
@media (max-width: 900px) {
  :root { --g-blur: 14px; }
  .hero { min-height: auto; padding-top: 104px; }
  /* заголовок → чаша с паром → панель с CTA: обёртка copy раскрыта,
     чтобы порядок задавался грид-ячейками */
  .hero__in { grid-template-columns: 1fr; gap: 10px; }
  .hero__copy { display: contents; }
  .hero__tag { order: 1; justify-self: start; }
  .hero__copy .display { order: 1; }
  .hero__scene { min-height: 0; order: 2; margin: 6px -6px 0; }
  .hero__scene::before { width: 110%; top: 50%; }
  .hero__panel { order: 3; max-width: none; margin-top: 6px; }
  .hero__kanji { right: -10vw; top: 2vh; font-size: 52vw; }
  /* подпись сверху по центру, чаша под ней в потоке, пар поднимается к подписи */
  .bowl-stack { position: relative; left: auto; bottom: auto; width: 96%; margin: 0 auto; }
  .hero__bowl { filter: drop-shadow(0 24px 36px rgba(0, 0, 0, .6)); }
  .hero__cta .btn { flex: 1 1 100%; }

  .cats__switch { display: flex; width: 100%; }
  .cats__tab { flex: 1; padding: 11px 8px; font-size: .82rem; text-align: center; }
  .cats__stage { aspect-ratio: 3 / 5; }
  .cats__panel { left: 10px; right: 10px; bottom: 10px; width: auto; }
  .cats__count { right: 10px; top: 10px; }

  .menu__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .dish--lead { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 11; }
  .dish--half { grid-column: span 1; aspect-ratio: 4 / 5; }
  .dish__plate { left: 6px; right: 6px; bottom: 6px; padding: 10px 12px; }
  .dish--half .dish__row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .dish__name { font-size: .88rem; }
  .dish--lead .dish__name { font-size: 1.05rem; }
  .dish__price { font-size: .84rem; }
  .dish__meta { display: none; }

  .modal { padding: 0; align-items: end; }
  .modal__box { grid-template-columns: 1fr; width: 100%; max-height: 92dvh; overflow: auto; border-radius: var(--r-panel) var(--r-panel) 0 0; }
  .modal__img { min-height: 0; aspect-ratio: 16 / 10; height: auto; }

  /* фото подложкой, панель в потоке: блок растёт вместе с текстом */
  .brand__media { aspect-ratio: auto; display: grid; }
  .brand__photo { position: absolute; inset: 0; object-position: 50% 40%; }
  .brand__media::after { background: linear-gradient(0deg, rgba(7, 6, 5, .85) 0%, rgba(7, 6, 5, .35) 55%, rgba(7, 6, 5, 0) 100%); }
  .brand__text { position: relative; left: auto; top: auto; transform: none; width: auto; margin: 190px 12px 12px; padding: 20px 18px; }
  .brand__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .brand__fact { padding: 8px 10px; }
  .brand__fact b { font-size: 1rem; }
  .brand__fact span { font-size: .68rem; }
  .brand__note { right: 12px; top: 12px; bottom: auto; font-size: .78rem; padding: 8px 12px 8px 10px; }
  .brand__note-more { display: none; }

  .cta__panel { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .mapslot { min-height: 220px; }
}

/* ---------------------------------------- сезонное меню и структура меню */
.season { margin-top: clamp(40px, 6vw, 72px); }
.season__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.season__tag { padding: 7px 12px; font-size: .76rem; font-weight: 700; letter-spacing: .04em; color: var(--amber); }
.season__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.5vw, 20px); }
.season__card { position: relative; padding: 22px 22px 20px; display: grid; gap: 10px; align-content: start; }
.season__card b { font-family: 'Unbounded', 'Noto Sans Armenian', sans-serif; font-size: 1.05rem; line-height: 1.2; padding-right: 72px; }
.season__card p { margin: 0; color: var(--dim); font-size: .92rem; line-height: 1.5; }
.season__price { font-family: 'Unbounded', sans-serif; font-weight: 700; color: var(--paper); }
.badge--in { top: 14px; left: auto; right: 14px; }
.menucats { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 36px); }
.menucats__col { display: grid; gap: 14px; align-content: start; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
/* чипы без backdrop-filter: их много, а под ними всегда тёмный фон — размытие
   ничего не добавляет, но дорого на телефоне */
.chip { padding: 9px 13px; font-size: .84rem; font-weight: 600; color: var(--paper); line-height: 1.2; -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(44, 24, 14, .55); }

/* ---------------------------------------------------- интерьер и искусство */
.interior__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); }
.interior__card { padding: clamp(22px, 3vw, 36px); display: grid; gap: 14px; align-content: start; }
.interior__card p { margin: 0; color: var(--dim); line-height: 1.55; }
.interior__card .btn { justify-self: start; margin-top: 6px; }
.chips--art { margin-top: 4px; }

/* ----------------------------------------------------- контакты: вакансии */
.contact__side { display: grid; gap: clamp(14px, 2vw, 20px); align-content: start; }
.vacancy { padding: clamp(20px, 2.6vw, 28px); display: grid; gap: 10px; }
.vacancy p { margin: 0; color: var(--dim); }
.vacancy .btn { justify-self: start; margin-top: 4px; }
.brand__team { font-size: .92rem; }

@media (max-width: 1000px) {
  .season__grid { grid-template-columns: 1fr; }
  .menucats { grid-template-columns: 1fr; }
  .interior__grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .brand__team { display: none; }
  .season__card { padding: 18px 16px 16px; }
}
/* планшет: мобильная раскладка, но чаша не на всю ширину, чтобы первый экран не растягивался */
@media (min-width: 600px) and (max-width: 900px) {
  .bowl-stack { width: 72%; }
  .hero__panel { max-width: 640px; }
}

/* ======================================================= данные из CMS: состояния */
/* скелетоны на время загрузки */
.sk { position: relative; overflow: hidden; background: var(--ink-2); border-radius: var(--r-card); }
.sk::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255, 214, 180, .07) 50%, transparent 80%); transform: translateX(-100%); animation: sk 1.6s ease-in-out infinite; }
.contact__row.sk { min-height: 78px; }
@keyframes sk { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .sk::after { animation: none; } }
/* сообщения: загрузка, ошибка, пустой раздел */
.menu__state { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; color: var(--dim); font-size: .95rem; }
.menu__state.notice { padding: 18px 22px; }
.notice { color: var(--paper); }
/* карточки без фото: стеклянная подложка со знаком */
.dish.is-noimg, .cats__stage.is-noimg, .brand__media.is-noimg { background: radial-gradient(120% 90% at 20% 0%, rgba(227, 0, 15, .22), transparent 55%), var(--ink-2); }
.dish.is-noimg picture, .cats__stage.is-noimg picture, .brand__media.is-noimg picture, .modal__box.is-noimg picture { display: none; }
.dish.is-noimg::before, .modal__box.is-noimg .modal__media::before { content: ''; position: absolute; inset: 0; background: url('../img/logo-mark.svg') center 38% / 34% auto no-repeat; opacity: .22; }
.modal__box.is-noimg .modal__media { position: relative; min-height: 220px; background: var(--ink-3); }
.dish.is-off .dish__img, .dish.is-off picture { filter: grayscale(.6) brightness(.6); }
.badge--off { color: var(--dim); }
.badge--new { color: var(--amber); }
.cats__imgs picture { position: absolute; inset: 0; }
.cats__stage.is-loading { background: var(--ink-2); }
/* полное меню: раздел раскрывается списком позиций */
.chips--cats { flex-direction: column; align-items: stretch; gap: 8px; }
.mcat > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mcat > summary::-webkit-details-marker { display: none; }
.mcat > summary small { color: var(--amber); font-family: 'Unbounded', sans-serif; font-size: .74rem; }
.mcat[open] > summary { background: rgba(255, 214, 180, .12); }
.mlist { list-style: none; margin: 6px 0 10px; padding: 0 4px; display: grid; gap: 1px; }
.mlist__row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: baseline; padding: 10px 10px; border-radius: 12px; cursor: pointer; font-size: .9rem; }
.mlist__row:hover, .mlist__row:focus-visible { background: rgba(255, 214, 180, .08); }
.mlist__name em { font-style: normal; color: var(--mute); font-size: .78rem; margin-left: 6px; }
.mlist__meta { color: var(--mute); font-size: .78rem; white-space: nowrap; }
.mlist__price { font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: .82rem; white-space: nowrap; }
.chip--empty { opacity: .45; }
.menucats .display--m { font-size: clamp(1.1rem, 1.6vw, 1.4rem); }
/* бренд-блок и доставка с отрисованным текстом */
.brand__body p { margin: 0; color: var(--dim); } .brand__body p + p { margin-top: 10px; }
.cta__text { margin-top: 14px; } .cta__text p { margin: 0; color: var(--dim); }
.interior__body p + p, .vacancy__body p + p { margin-top: 10px; }
.contact__v--hours { display: grid; gap: 2px; font-size: .88rem; }
.mapslot a { margin-top: 8px; }
.modal__media { position: relative; }
@media (max-width: 900px) { .mlist__row { grid-template-columns: 1fr auto; } .mlist__meta { display: none; } .brand__body p + p { display: none; } }
/* узкие экраны: длинные заголовки и названия переносятся, гибкие контейнеры не растягивают страницу */
.display, .mlist__name, .season__card b, .cats__chip, .contact__v { overflow-wrap: anywhere; }
.dish__name { overflow-wrap: break-word; hyphens: manual; }
.interior__card, .brand__text, .cta__panel > div, .menucats__col, .contact__row { min-width: 0; }
@media (max-width: 360px) { .header { padding-left: 12px; gap: 8px; } .header .btn--sm { padding: 10px 14px; font-size: .8rem; } .lang button { padding: 8px 8px; } }
@media (max-width: 400px) { .btn { white-space: normal; text-align: center; } .cta__btns .btn { text-align: left; } }

/* ======================================================= карточки блюд: компоновка по ширине карточки */
/* Название — отдельной строкой на всю ширину, цена под ним; переносы только между словами; плашка низкая,
   большая часть фотографии открыта. Контейнерный запрос: при широкой карточке (большая) цена встаёт справа. */
.dish { container-type: inline-size; }
.dish__plate { padding: 11px 13px 10px; gap: 3px; }
.dish__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; align-items: baseline; }
.dish__name { font-size: .9rem; line-height: 1.22; font-weight: 700; }
.dish__price { font-size: .86rem; line-height: 1.2; }
.dish--lead .dish__name { font-size: 1.08rem; }
.dish__meta { font-size: .76rem; line-height: 1.3; margin-top: 1px; }
@container (min-width: 460px) {
  .dish__row { grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; }
  .dish__plate { padding: 14px 16px; }
  .dish__name { font-size: 1rem; }
}
@container (min-width: 620px) { .dish--lead .dish__name { font-size: 1.25rem; } .dish__price { font-size: .95rem; } }
@media (max-width: 900px) { .dish--half .dish__row { display: grid; } .dish__meta { display: block; } .dish--half .dish__meta { display: none; } }
/* бренд-блок: кадр с лапшой — чаша и лапша в видимой полосе на компьютере, верхняя часть на телефоне */
/* На компьютере чаша в кадре слева, поэтому стеклянная панель с текстом стоит справа, а тег с адресом — слева внизу;
   видимая полоса кадра — лапша и чаша. На телефоне фото занимает верхнее окно блока, панель идёт ниже. */
.brand__photo { object-position: 50% 80%; }
@media (min-width: 901px) {
  .brand__text { left: auto; right: clamp(18px, 4vw, 56px); }
  .brand__media::after { background: linear-gradient(270deg, rgba(7, 6, 5, .72) 0%, rgba(7, 6, 5, .2) 50%, rgba(7, 6, 5, 0) 100%); }
  .brand__note { right: auto; left: clamp(16px, 3vw, 40px); }
}
@media (max-width: 900px) {
  .brand__photo-host { position: absolute; left: 0; right: 0; top: 0; height: 360px; }
  .brand__photo { position: absolute; inset: 0; height: 100%; object-position: 50% 72%; }
  .brand__media::after { background: linear-gradient(0deg, rgba(7, 6, 5, .9) 0%, rgba(7, 6, 5, .55) 45%, rgba(7, 6, 5, 0) 100%); }
  .brand__text { margin-top: 300px; }
}
/* шапка на средних экранах (1000–1180): пункты не переносятся, отступы компактнее */
.header__nav a { white-space: nowrap; }
@media (max-width: 1180px) { .header { gap: 10px; padding-left: 14px; } .header__nav a { padding: 10px 9px; font-size: .84rem; } .lang button { padding: 8px 9px; } .header .btn--sm { padding: 10px 16px; } }
/* фото бренд-блока: обёртка picture занимает весь блок, иначе object-position не действует */
.brand__photo-host { position: absolute; inset: 0; }
.brand__photo-host picture { display: block; position: absolute; inset: 0; }
.brand__photo { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 900px) { .brand__photo-host { inset: auto 0 auto 0; top: 0; height: 360px; } }
