/* =========================================================
   PULSE COFFEE — черновой макет
   ========================================================= */

@font-face { font-family: "Citrogen"; src: url("../fonts/Citrogen.woff2"), url("../fonts/Citrogen.woff"), url("../fonts/Citrogen.ttf"), url("../fonts/Citrogen.otf"), url("../fonts/Citrogen.TTF"), url("../fonts/Citrogen.OTF"); font-display: swap; }
@font-face { font-family: "Bebas"; src: url("../fonts/AA_BEBASNEUE.woff2"), url("../fonts/AA_BEBASNEUE.woff"), url("../fonts/AA_BEBASNEUE.ttf"), url("../fonts/AA_BEBASNEUE.otf"), url("../fonts/AA_BEBASNEUE.TTF"), url("../fonts/AA_BEBASNEUE.OTF"); font-display: swap; }
@font-face { font-family: "Schoolbook"; src: url("../fonts/SCHLBKI.woff2"), url("../fonts/SCHLBKI.woff"), url("../fonts/SCHLBKI.ttf"), url("../fonts/SCHLBKI.otf"), url("../fonts/SCHLBKI.TTF"), url("../fonts/SCHLBKI.OTF"); font-style: italic; font-display: swap; }

/*
  Метрики шрифтов (доли em), снятые в браузере — на них построены оптические поправки:
  Citrogen    cap .70  ascent .83  descent .32
  Bebas       cap .70  ascent .75  descent .25
  Schoolbook  cap .72  x-height .47  ascent .99  descent .22
  Inter Tight cap .73  x-height .55
*/

:root {
  /* palette */
  --ink: #0c0c0d;
  --ink-2: #161618;
  --milk: #f1ede4;
  --milk-2: #e6e0d3;
  --cobalt: #2b2bff;
  --cobalt-light: #8481ff;
  --cobalt-bright: #5653ff; /* синий для тёмного фона — ближе к фирменному, но читается на чёрном */
  --muted: #7d796f;
  --line: rgba(12, 12, 13, .16);
  --line-light: rgba(241, 237, 228, .16);

  /* type */
  --f-wide: "Citrogen", "Arial Black", sans-serif;
  --f-tall: "Bebas", "Oswald", "Arial Narrow", sans-serif;
  --f-serif: "Schoolbook", "Century Schoolbook", Georgia, serif;
  --f-body: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Schoolbook italic внутри текста Inter Tight: выравниваем по x-height (.55 / .47 ≈ 1.16) */
  --serif-in-body: 1.16em;

  /* layout */
  --gutter: clamp(16px, 2.6vw, 48px);
  --radius: clamp(14px, 1.4vw, 24px);
  --header-h: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--milk);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
em { font-style: italic; }
svg { display: block; }
img { display: block; max-width: 100%; }
p, figcaption, .typo { text-wrap: pretty; }
h1, h2 { text-wrap: balance; }
::selection { background: var(--cobalt); color: var(--milk); }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- type helpers ---------- */
.t-wide { font-family: var(--f-wide); font-weight: 400; text-transform: uppercase; letter-spacing: -.01em; line-height: .86; }
.t-tall { font-family: var(--f-tall); font-weight: 400; text-transform: uppercase; letter-spacing: .005em; line-height: .86; }
.t-serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.02em; }

/* masked line reveal */
.line { display: block; overflow: hidden; padding-bottom: .04em; }
.line > span { display: inline-block; }

/* ---------- buttons ---------- */
.btn {
  --h: clamp(44px, 3.4vw, 58px);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  height: var(--h); padding: 0 calc(var(--h) * .5);
  border-radius: 999px; overflow: hidden; isolation: isolate;
  font-weight: 500; font-size: .82em; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  transition: color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn__arrow { width: 34px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .6s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(6px); }
.btn--line { border: 1px solid currentColor; }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: var(--milk); }
.btn--fill { background: var(--cobalt); color: var(--milk); }
.btn--fill::before { background: var(--ink); }

.chip {
  height: 40px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-light);
  font-size: .8em; letter-spacing: .08em; text-transform: uppercase; transition: .4s var(--ease);
}
.chip:hover { border-color: var(--milk); }
.chip.is-active { background: var(--milk); color: var(--ink); border-color: var(--milk); }

.link-roll { display: inline-block; overflow: hidden; line-height: 1.2; }
.link-roll span { display: inline-block; position: relative; transition: transform .5s var(--ease); }
.link-roll span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; font-family: var(--f-serif); font-style: italic; font-size: 1.16em; line-height: 1.03; text-transform: none; letter-spacing: 0; white-space: nowrap; }
.link-roll:hover span { transform: translateY(-100%); }

/* ---------- photo slots ---------- */
.ph {
  --line: rgba(12, 12, 13, .16);
  --ph-bg: var(--milk-2);
  position: relative; display: block; width: 100%; overflow: hidden; border-radius: var(--radius);
  background:
    linear-gradient(135deg, transparent 49.6%, var(--line) 49.6%, var(--line) 50.4%, transparent 50.4%),
    linear-gradient(45deg, transparent 49.6%, var(--line) 49.6%, var(--line) 50.4%, transparent 50.4%),
    var(--ph-bg);
  outline: 1px solid var(--line); outline-offset: -1px;
}
.ph--dark { --line: rgba(241, 237, 228, .14); --ph-bg: var(--ink-2); }
.ph--accent { --line: rgba(241, 237, 228, .25); --ph-bg: var(--cobalt); }
.ph__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph.has-img { outline: 0; background: var(--ph-bg); }
.ph__tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 2; max-width: calc(100% - 24px);
  padding: 6px 10px; border-radius: 999px; background: var(--milk); color: var(--ink);
  font-size: 10px; line-height: 1.2; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ph.has-img .ph__tag { display: none; }
.ph--glass { aspect-ratio: 3 / 4; }
.ph--tall { aspect-ratio: 4 / 5; }
.ph--wide { aspect-ratio: 16 / 10; }
.ph--card { height: 100%; }

/* ---------- section head ---------- */
.section-head {
  display: flex; align-items: center; gap: 16px;
  font-size: .78em; letter-spacing: .14em; text-transform: uppercase; line-height: 1;
  margin-bottom: clamp(40px, 6vw, 110px);
}
.section-head__num { font-family: var(--f-serif); font-style: italic; font-size: 1.5em; letter-spacing: 0; color: var(--cobalt); }
.section-head__line { flex: 1; height: 1px; background: currentColor; opacity: .2; transform-origin: left; }
.section-head--light .section-head__num { color: inherit; }

/* =========================================================
   PRELOADER
   ========================================================= */
.preloader {
  position: fixed; inset: 0; z-index: 100; background: var(--cobalt); color: var(--milk);
  display: grid; place-items: center; align-content: center; gap: 4vh;
}
.preloader__logo svg { width: clamp(140px, 16vw, 260px); fill: currentColor; animation: beat 1s var(--ease) infinite; }
.preloader__ecg { width: min(70vw, 900px); height: 12vh; fill: none; stroke: var(--milk); stroke-width: 2.5; stroke-linejoin: round; }
.preloader__ecg path { stroke-dasharray: 100; stroke-dashoffset: 100; animation: ecg 1.6s linear infinite; }
.preloader__meta { position: absolute; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); display: flex; justify-content: space-between; align-items: baseline; font-size: .8em; letter-spacing: .14em; text-transform: uppercase; }
.preloader__count b { font-family: var(--f-wide); font-weight: 400; font-size: 2.4em; letter-spacing: 0; margin-right: 6px; }

@keyframes beat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.12); } 28% { transform: scale(.98); } 42% { transform: scale(1.06); } 60% { transform: scale(1); } }
@keyframes ecg { to { stroke-dashoffset: -100; } }

/* =========================================================
   CURSOR (только для мыши)
   ========================================================= */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--cobalt); display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s;
}
.cursor::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--cobalt); animation: ping 1.4s var(--ease) infinite; }
.cursor__label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--milk); opacity: 0; transition: opacity .3s; }
.cursor.is-big { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
.cursor.is-big .cursor__label { opacity: 1; }
.cursor.is-on-accent { background: var(--milk); }
.cursor.is-on-accent::after { border-color: var(--milk); }
.cursor.is-on-accent .cursor__label { color: var(--cobalt); }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.6); opacity: 0; } }
@media (hover: none), (pointer: coarse), (max-width: 900px) { .cursor { display: none !important; } }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--header-h); padding: 0 var(--gutter);
  color: var(--ink);
  transition: transform .6s var(--ease), color .4s, background .4s;
}
.header::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 1px; background: currentColor; opacity: .25; }
.header.is-hidden { transform: translateY(-110%); }
.header.is-scrolled { background: color-mix(in srgb, var(--milk) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header.on-dark { color: var(--milk); }
.header.on-dark.is-scrolled { background: color-mix(in srgb, var(--ink) 70%, transparent); }
.header.on-accent { color: var(--milk); }
.header.on-accent.is-scrolled { background: color-mix(in srgb, var(--cobalt) 80%, transparent); }
.header.on-dark .btn--line::before, .header.on-accent .btn--line::before { background: var(--milk); }
.header.on-dark .btn--line:hover, .header.on-accent .btn--line:hover { color: var(--ink); }

.header__brand { justify-self: start; display: flex; align-items: center; gap: clamp(10px, 1vw, 16px); }
.header__logo { display: block; }
.header__x { width: 1px; height: clamp(24px, 2vw, 34px); background: currentColor; opacity: .3; }
.header__partner { display: block; }
.header__partner-logo { width: clamp(26px, 2.2vw, 36px); height: clamp(26px, 2.2vw, 36px); fill: currentColor; transition: transform .8s var(--ease); }
.header__partner:hover .header__partner-logo { transform: rotate(360deg); }
.header__logo svg { width: clamp(64px, 5.4vw, 92px); fill: currentColor; }
.header__logo:hover svg { animation: beat .9s var(--ease); }
.header__nav { display: flex; gap: clamp(20px, 3vw, 56px); font-size: .78em; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.header__cta { justify-self: end; --h: 42px !important; }
.header__burger { display: none; justify-self: end; width: 44px; height: 44px; position: relative; z-index: 2; }
.header__burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: .5s var(--ease); }
.header__burger span:first-child { top: 18px; } .header__burger span:last-child { top: 25px; }
body.nav-open .header__burger span:first-child { top: 21px; transform: rotate(45deg); }
body.nav-open .header__burger span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 45; background: var(--cobalt); color: var(--milk);
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  padding: calc(var(--header-h) + 40px) var(--gutter) var(--gutter);
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io);
}
.mobile-nav__links { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(22px, 3.6vh, 34px); }
.mobile-nav__links a { display: block; font-family: var(--f-wide); font-size: clamp(26px, 7.4vw, 52px); text-transform: uppercase; line-height: 1; margin: -.055em 0 -.245em; }
.mobile-nav__meta { display: flex; flex-direction: column; gap: 6px; font-size: .9em; opacity: .8; }
body.nav-open .mobile-nav { clip-path: inset(0 0 0 0); }
body.nav-open .header { color: var(--milk); background: transparent !important; backdrop-filter: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding: calc(var(--header-h) + 3vw) var(--gutter) clamp(60px, 8vw, 140px); }
.hero__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 4vw; position: relative; z-index: 3; }
.hero__heart-o { left: calc(100% + 1.4vw); top: 6%; width: 3.4vw; height: 3vw; color: var(--ink); rotate: -14deg; animation: floaty 5s ease-in-out infinite; }
.hero__heart { --h: clamp(24px, 2.2vw, 40px); position: absolute; right: 0; top: calc(50% + 7px - var(--h) * .45); width: var(--h); height: calc(var(--h) * .9); fill: var(--cobalt); rotate: 12deg; animation: beat 1.4s var(--ease) infinite; }
.hero__kicker { position: relative; font-weight: 400; font-size: clamp(56px, 9.5vw, 190px); line-height: .85; color: var(--cobalt); }
.hero__kicker .t-serif { font-size: .72em; color: var(--ink); margin-left: .06em; }
.hero__lead { position: relative; max-width: calc(30ch + 4vw); padding-right: calc(clamp(24px, 2.2vw, 40px) + 1.6vw); font-size: clamp(14px, 1.15vw, 20px); padding-bottom: 1.6vw; border-top: 1px solid var(--line); padding-top: 14px; }

.hero__pulse { position: relative; margin: 3.4vw 0 0; }
.pulse-word {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between;
  font-family: var(--f-wide); text-transform: uppercase; line-height: .8; color: var(--cobalt);
  font-size: 21vw;
  user-select: none; cursor: default;
}
.pulse-word span { display: inline-block; transform-origin: 50% 100%; will-change: transform; }
.hero__ecg {
  position: absolute; z-index: 3; left: calc(var(--gutter) * -1); top: 50%;
  width: calc(100% + var(--gutter) * 2); height: 70%; transform: translateY(-50%);
  fill: none; stroke: var(--milk); stroke-width: 3; vector-effect: non-scaling-stroke; pointer-events: none;
}
.hero__ecg path { stroke-dasharray: 3200; stroke-dashoffset: 3200; }

/* графика за PULSE (концепт; заменится на hero/hero-cup.png) */
.hero__cup { position: absolute; z-index: 1; left: 57%; top: 50%; height: min(92vh, 56vw); aspect-ratio: 300 / 440; transform: translate(-50%, -52%) rotate(7deg); pointer-events: none; }
.hero__cup-inner { position: absolute; inset: 0; }
.hero__cup-svg, .hero__cup-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hero__cup-img:not([src]) { display: none; }
.hero__cup-inner.has-img .hero__cup-svg { display: none; }

.hero__bottom { position: relative; z-index: 3; display: flex; align-items: center; gap: clamp(20px, 3vw, 56px); margin-top: 1.4vw; }
.hero__actions { flex: 1; display: flex; align-items: center; gap: clamp(20px, 3vw, 56px); }
.hero__btn { flex-shrink: 0; }
.hero__sub { font-size: clamp(48px, 8vw, 160px); line-height: .85; text-align: right; }
.hero__sub .t-serif { font-size: .72em; margin-right: .08em; }
.hero__sub .t-tall { color: var(--ink); }

.badge { position: relative; isolation: isolate; width: clamp(110px, 10vw, 180px); height: clamp(110px, 10vw, 180px); flex: 0 0 auto; margin-left: auto; }
.badge::before { content: ""; position: absolute; inset: -5%; z-index: -1; border-radius: 50%; background: var(--milk); }
.badge__ring { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge__ring text { font-family: var(--f-body); font-weight: 600; font-size: 12px; letter-spacing: 1.5px; fill: var(--ink); }
.badge__star { fill: var(--cobalt); }
.badge__core { position: absolute; inset: 27%; border-radius: 50%; background: var(--cobalt); display: grid; place-items: center; }
.badge__core i { width: 26%; aspect-ratio: 1; border-radius: 50%; background: var(--milk); animation: beat 1.2s var(--ease) infinite; }
.badge:hover .badge__ring { animation-duration: 3s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinr { to { rotate: 360deg; } }

.hero__drinks {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: 1fr 1fr 1.7fr 1fr 1fr; align-items: end; gap: clamp(12px, 2vw, 36px);
  margin-top: clamp(40px, 6vw, 110px);
}
.drink figcaption { margin-top: 14px; font-size: .74em; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-align: center; line-height: 1.2; }
.drink--big figcaption { font-family: var(--f-tall); font-size: clamp(22px, 2.4vw, 42px); font-weight: 400; letter-spacing: 0; display: flex; justify-content: center; align-items: baseline; gap: .22em; }
.drink--big figcaption .t-serif { font-size: 1.05em; }
.drink .ph { transition: transform .8s var(--ease), border-radius .8s var(--ease); }
@media (hover: hover) { .drink:hover .ph { transform: translateY(-10px) rotate(-1.5deg); border-radius: calc(var(--radius) * 3); } }

/* =========================================================
   MARQUEE — общий оптический центр для трёх шрифтов
   ========================================================= */
.marquee { overflow: hidden; background: var(--cobalt); color: var(--milk); padding: clamp(18px, 1.8vw, 32px) 0; transform: rotate(-2deg) scale(1.04); margin: 2vw 0; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__row { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 40px); padding-right: clamp(18px, 2.2vw, 40px); white-space: nowrap; font-size: clamp(36px, 5.4vw, 104px); line-height: 1; }
/* Bebas: прописные стоят на .10em выше центра строки — опускаем */
.mq-t { font-family: var(--f-tall); text-transform: uppercase; line-height: 1; transform: translateY(.1em); }
/* Schoolbook italic: центр по x-height строчных, а не по кеглю — поднимаем на .15em */
.mq-s { font-family: var(--f-serif); font-size: .78em; line-height: 1; letter-spacing: -.01em; transform: translateY(-.15em); }
.mq-star { width: .46em; height: .4em; fill: currentColor; flex-shrink: 0; }

/* =========================================================
   ABOUT
   ========================================================= */
.about { padding: clamp(80px, 10vw, 200px) var(--gutter); }
.manifesto { font-size: clamp(28px, 4.4vw, 84px); line-height: 1.06; font-weight: 500; letter-spacing: -.035em; text-indent: 18vw; }
.manifesto em { font-family: var(--f-serif); font-weight: 400; font-size: var(--serif-in-body); line-height: .9; color: var(--cobalt); letter-spacing: -.025em; }
.manifesto .w { opacity: .14; }

.about__grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 80px);
  margin-top: clamp(60px, 9vw, 180px); align-items: start;
}
.about__media { grid-row: span 2; }
.ph--clip { clip-path: inset(18% 18% 18% 18% round var(--radius)); }

/* цифра обрезана ровно по cap-height → воздух сверху и снизу одинаковый;
   подпись стоит на одной базовой линии с цифрой, колонка подписей единая */
.stats li {
  --num-fs: clamp(48px, 5.4vw, 104px);
  display: grid; grid-template-columns: 1fr minmax(0, 15ch); align-items: last baseline; column-gap: 24px;
  padding: clamp(22px, 2vw, 34px) 0; border-top: 1px solid var(--line);
}
.stats li:last-child { border-bottom: 1px solid var(--line); }
.stats__num { display: block; font-family: var(--f-wide); font-weight: 400; font-size: var(--num-fs); line-height: 1; margin: -.055em 0 -.245em; color: var(--cobalt); font-variant-numeric: tabular-nums; }
.stats li > span { color: var(--muted); line-height: 1.3; }
.about__note { align-self: end; }
.about__note-big { display: block; font-size: clamp(56px, 7vw, 140px); }
.about__note p { max-width: 34ch; margin-top: clamp(16px, 1.6vw, 26px); }

/* =========================================================
   MENU
   ========================================================= */
.menu { position: relative; overflow-x: clip; background: var(--ink); color: var(--milk); padding: clamp(80px, 10vw, 180px) var(--gutter); border-radius: calc(var(--radius) * 2) calc(var(--radius) * 2) 0 0; }
.menu__title { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3em 2vw; }
.menu__title h2 { font-size: clamp(56px, 12vw, 240px); }
.menu__title-accent { font-size: clamp(28px, 4vw, 76px); color: var(--cobalt-bright); }
.menu__title-word { position: relative; }
.menu__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: clamp(40px, 5vw, 80px) 0 clamp(20px, 2vw, 32px); }

.menu-row {
  --ph-w: clamp(120px, 13vw, 240px);
  position: relative; display: grid; grid-template-columns: 5ch minmax(0, 1.75fr) minmax(0, 1fr) auto; align-items: center; column-gap: 1.4vw;
  padding: clamp(16px, 1.6vw, 28px) 0; border-top: 1px solid var(--line-light); isolation: isolate; cursor: pointer; outline: none; overflow: hidden;
  transition: padding .7s var(--ease);
}
.menu-row:last-child { border-bottom: 1px solid var(--line-light); }
.menu-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cobalt); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.menu-row__idx { font-family: var(--f-serif); font-style: italic; opacity: .5; }
.menu-row__name { display: block; font-family: var(--f-tall); font-size: clamp(36px, 4.6vw, 92px); line-height: 1; margin: -.05em 0 -.25em; text-transform: uppercase; white-space: nowrap; transition: letter-spacing .6s var(--ease); }
.menu-row__desc { color: rgba(241, 237, 228, .6); font-size: .9em; max-width: 34ch; transition: color .4s; }
.menu-row__price { font-family: var(--f-wide); font-size: clamp(16px, 1.5vw, 28px); white-space: nowrap; }
/* фото на всю высоту строки: выезжает справа, состав и цена уходят влево */
.menu-row__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 0; overflow: hidden; transition: width .7s var(--ease); }
.menu-row__photo .ph { position: absolute; top: 0; right: 0; width: var(--ph-w); height: 100%; border-radius: 0; outline: 0; --line: rgba(241, 237, 228, .25); --ph-bg: #23232a; transform: scale(1.2); transform-origin: right center; transition: transform .9s var(--ease); }
.menu-row.is-hidden { display: none; }

.menu-row.is-open { padding-left: 1.4vw; padding-right: calc(var(--ph-w) + 2vw); }
.menu-row.is-open::before { transform: scaleY(1); }
.menu-row.is-open .menu-row__name { letter-spacing: .03em; }
.menu-row.is-open .menu-row__desc { color: var(--milk); }
.menu-row.is-open .menu-row__photo { width: var(--ph-w); }
.menu-row.is-open .menu-row__photo .ph { transform: scale(1); }
@media (hover: hover) and (pointer: fine) {
  .menu-row:hover { padding-left: 1.4vw; padding-right: calc(var(--ph-w) + 2vw); }
  .menu-row:hover::before { transform: scaleY(1); }
  .menu-row:hover .menu-row__name { letter-spacing: .03em; }
  .menu-row:hover .menu-row__desc { color: var(--milk); }
  .menu-row:hover .menu-row__photo { width: var(--ph-w); }
  .menu-row:hover .menu-row__photo .ph { transform: scale(1); }
}
.menu__full { margin-top: clamp(28px, 3vw, 48px); border: 1px solid var(--milk); color: var(--milk); }
.menu__full::before { background: var(--milk); }
.menu__full:hover { color: var(--ink); }

/* =========================================================
   BPM
   ========================================================= */
.bpm { position: relative; overflow: hidden; background: var(--cobalt); color: var(--milk); padding: clamp(56px, 5.5vw, 100px) var(--gutter); }
.bpm .section-head { margin-bottom: clamp(28px, 3.4vw, 60px); }
.bpm__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 100px); align-items: center; }
.bpm__title { font-weight: 400; font-size: clamp(48px, 6.6vw, 128px); line-height: .88; }
.bpm__title > span { display: block; }
/* курсив с line-height 0 не раздувает межстрочник; справа — воздух под «хвост» p */
.bpm__title .t-serif { font-size: .82em; line-height: 0; margin-right: .2em; }
.bpm__text { margin: clamp(18px, 1.8vw, 32px) 0 clamp(24px, 2.6vw, 48px); max-width: 36ch; opacity: .85; }

.bpm__range { display: block; }
.bpm__range input { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: rgba(241,237,228,.25); outline: none; cursor: pointer; }
.bpm__range input::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; border-radius: 50%; background: var(--milk); animation: thumb 1.2s infinite; transition: transform .3s var(--ease); }
.bpm__range input::-webkit-slider-thumb:hover { transform: scale(1.2); }
.bpm__range input::-moz-range-thumb { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--milk); }
@keyframes thumb { 0% { box-shadow: 0 0 0 0 rgba(241,237,228,.5); } 100% { box-shadow: 0 0 0 18px rgba(241,237,228,0); } }
.bpm__scale { position: relative; display: block; height: 2.6em; margin-top: 14px; font-size: .72em; letter-spacing: .12em; text-transform: uppercase; }
/* 17px — радиус ручки: центр ручки в крайних точках смещён от края трека */
.bpm__scale i { position: absolute; top: 0; left: calc(17px + (100% - 34px) * var(--p)); translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 4px; font-style: normal; opacity: .55; cursor: pointer; white-space: nowrap; transition: opacity .4s; }
.bpm__scale i small { font-size: .9em; letter-spacing: .06em; }
.bpm__scale i:hover { opacity: .85; }
.bpm__scale i.is-active { opacity: 1; }

.bpm__right { display: grid; justify-items: center; gap: clamp(8px, 1vw, 18px); }
.bpm__stage { position: relative; width: min(24vw, 42vh, 420px); aspect-ratio: 1; }

/* фото напитка на прозрачном фоне — выглядывает из-за круга */
.bpm__bg { position: absolute; inset: 0; pointer-events: none; }
.bpm__drink { position: absolute; left: 50%; top: 50%; height: 100%; aspect-ratio: 120 / 170; translate: 22% -50%; opacity: 0; transform: translateY(24px) rotate(10deg) scale(.92); transition: opacity .6s var(--ease), transform .9s var(--ease); }
.bpm__drink.is-active { opacity: 1; transform: rotate(4deg); }
.bpm__drink img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.bpm__drink img:not([src]) { display: none; }
.bpm__drink.has-img .bpm__drink-ph { display: none; }
.bpm__drink-ph { position: absolute; inset: 0; }
.bpm__drink-ph svg { width: 100%; height: 100%; fill: rgba(241, 237, 228, .07); stroke: rgba(241, 237, 228, .5); stroke-width: 1.5; stroke-dasharray: 4 5; overflow: visible; }
.bpm__drink-ph i { position: absolute; right: -6px; bottom: -18px; font-style: normal; font-size: 10px; letter-spacing: .06em; opacity: .7; white-space: nowrap; }

.bpm__heart { --dur: .625s; position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; container-type: inline-size; }
.bpm__heart::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--milk); animation: heart var(--dur) var(--ease) infinite; }
.bpm__ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--milk); animation: ring calc(var(--dur) * 2) var(--ease) infinite; }
.bpm__ring + .bpm__ring { animation-delay: var(--dur); }
/* число и подпись обрезаны по cap-height → группа центрируется в круге оптически */
.bpm__value { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5cqi; color: var(--cobalt); }
.bpm__value b { display: block; font-family: var(--f-wide); font-weight: 400; font-size: 16cqi; line-height: 1; margin: -.055em 0 -.245em; font-variant-numeric: tabular-nums; }
.bpm__genre { display: block; font-family: var(--f-serif); font-size: 6cqi; line-height: 1; letter-spacing: -.01em; margin-top: -1.5cqi; }
.bpm__value span { display: block; font-size: 3.6cqi; font-weight: 600; letter-spacing: .3em; padding-left: .3em; line-height: 1; margin: -.135em 0; }
@keyframes heart { 0%, 100% { transform: scale(.94); } 15% { transform: scale(1.02); } 30% { transform: scale(.96); } 45% { transform: scale(1); } }
@keyframes ring { 0% { transform: scale(.95); opacity: .9; } 100% { transform: scale(1.45); opacity: 0; } }

.bpm__ecg { position: relative; z-index: 2; width: min(100%, 460px); height: clamp(44px, 4.4vw, 70px); fill: none; stroke: var(--milk); stroke-width: 2.5; stroke-linejoin: round; }
.bpm__ecg path { stroke-dasharray: 100; animation: ecg-small calc(var(--dur, .6s) * 2) linear infinite; }
@keyframes ecg-small { from { stroke-dashoffset: 100; } to { stroke-dashoffset: -100; } }
.bpm__match { position: relative; z-index: 2; text-align: center; }
.bpm__match-label { display: inline-flex; align-items: center; gap: 8px; font-size: .72em; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 8px; }
.bpm__beat { width: 14px; height: 13px; fill: var(--milk); animation: beat calc(var(--dur, .6s) * 2) var(--ease) infinite; }
.bpm__match-name { display: block; font-family: var(--f-tall); font-size: clamp(36px, 3.6vw, 72px); line-height: 1; text-transform: uppercase; }
.bpm__match-desc { display: block; max-width: 34ch; margin: 6px auto 0; opacity: .85; }

/* =========================================================
   HORIZONTAL SPACE
   ========================================================= */
.space { position: relative; overflow: hidden; }
.space__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: var(--header-h) 0 4vh; }
.space__head { display: flex; align-items: baseline; gap: 2vw; padding: 0 var(--gutter); margin-bottom: 4vh; }
.space__head .section-head__num { font-size: 1.4em; }
.space__head h2 { font-weight: 400; font-size: clamp(44px, 7vw, 140px); line-height: .9; }
.space__head .t-serif { color: var(--cobalt); font-size: 1.04em; }
.space__track { display: flex; align-items: stretch; gap: clamp(16px, 2vw, 36px); padding: 0 var(--gutter); height: min(58vh, 640px); width: max-content; will-change: transform; }
.space__card { height: 100%; aspect-ratio: 4 / 5; display: flex; flex-direction: column; }
.space__card--land { aspect-ratio: 3 / 2.3; }
.space__card .ph { flex: 1; transition: transform .8s var(--ease); }
@media (hover: hover) { .space__card:hover .ph { transform: scale(.97); } }
.space__card figcaption { display: flex; gap: 14px; align-items: baseline; margin-top: 14px; font-size: .9em; color: var(--muted); }
.space__card figcaption b { font-family: var(--f-tall); font-weight: 400; font-size: 1.8em; line-height: 1; color: var(--ink); text-transform: uppercase; }
.space__end { display: flex; flex-direction: column; justify-content: center; padding: 0 6vw; }
.space__end .t-tall { font-size: clamp(64px, 10vw, 200px); }
.space__end .t-serif { font-size: clamp(48px, 7vw, 140px); color: var(--cobalt); line-height: .8; margin-left: 1em; }

/* =========================================================
   STRETCH
   ========================================================= */
.stretch { padding: clamp(80px, 10vw, 200px) var(--gutter) clamp(60px, 8vw, 160px); overflow: hidden; }
.stretch__row--tall { display: flex; justify-content: space-between; font-family: var(--f-tall); text-transform: uppercase; font-size: clamp(90px, 22vw, 460px); line-height: .78; }
.stretch__row--tall span { display: inline-block; transform-origin: 50% 100%; }
.stretch__row--wide { font-family: var(--f-wide); text-transform: uppercase; color: var(--cobalt); line-height: .8; font-size: 21vw; white-space: nowrap; text-align: center; transform-origin: 50% 0; margin-top: 1vw; }
.stretch__caption { text-align: right; font-size: clamp(28px, 3.4vw, 64px); margin-top: 2vw; }

/* =========================================================
   PLACES
   ========================================================= */
.places { padding: clamp(60px, 8vw, 160px) var(--gutter) clamp(80px, 10vw, 200px); }
.place {
  position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr auto; align-items: center; gap: 2vw;
  padding: clamp(18px, 2vw, 34px) 0; border-top: 1px solid var(--line); isolation: isolate; cursor: pointer;
  transition: color .5s var(--ease), padding .5s var(--ease);
}
.place:last-child { border-bottom: 1px solid var(--line); }
.place::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); clip-path: inset(50% 0 50% 0); transition: clip-path .6s var(--ease); }
.place__name { display: block; font-size: clamp(44px, 6.4vw, 128px); line-height: 1; margin: -.05em 0 -.25em; }
.place__time { font-family: var(--f-serif); font-style: italic; font-size: var(--serif-in-body); }
.place__go { width: clamp(44px, 4vw, 72px); aspect-ratio: 1; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; transition: transform .6s var(--ease), background .4s; }
.place__go svg { width: 40%; fill: none; stroke: currentColor; stroke-width: 1.6; }
@media (hover: hover) {
  .place:hover { color: var(--milk); padding-left: 1.4vw; padding-right: 1.4vw; }
  .place:hover::before { clip-path: inset(0 0 0 0); }
  .place:hover .place__go { transform: rotate(45deg); background: var(--cobalt); border-color: var(--cobalt); }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer { position: relative; overflow: hidden; background: var(--ink); color: var(--milk); padding: clamp(80px, 9vw, 160px) var(--gutter) 0; border-radius: calc(var(--radius) * 2) calc(var(--radius) * 2) 0 0; }
.footer__mark { position: absolute; left: 50%; top: 4%; width: 92vw; transform: translateX(-50%); pointer-events: none; }
.footer__mark svg { width: 100%; fill: rgba(241, 237, 228, .045); }
.footer__cols { position: relative; display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: start; text-align: center; gap: 4vw; }
.footer__col { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 1.4vw; }
.footer__label { font-size: .7em; letter-spacing: .16em; text-transform: uppercase; opacity: .45; margin-bottom: 14px; }
.footer__link { font-size: clamp(17px, 1.5vw, 28px); line-height: 1.25; text-transform: uppercase; letter-spacing: -.03em; font-weight: 500; opacity: .85; transition: opacity .3s, color .3s; }
.footer__link--lower { text-transform: none; letter-spacing: -.02em; }
.footer__link:hover { opacity: 1; color: var(--cobalt-light); }
.footer__link--static { opacity: 1; }
.footer__link--static .t-serif { text-transform: none; font-size: var(--serif-in-body); }
.footer__nav { display: flex; flex-direction: column; align-items: center; }
.footer__nav a { position: relative; display: block; overflow: hidden; font-size: clamp(44px, 5.6vw, 110px); line-height: 1.02; text-transform: uppercase; letter-spacing: -.05em; font-weight: 500; color: rgba(241, 237, 228, .55); transition: color .4s; }
.footer__nav a::after { content: attr(data-text); position: absolute; left: 0; right: 0; top: 0; font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.02em; color: var(--milk); transform: translateY(100%); transition: transform .6s var(--ease); }
.footer__nav a:hover { color: transparent; }
.footer__nav a:hover::after { transform: translateY(0); }

.subscribe { display: flex; gap: 4px; margin-top: 18px; }
.subscribe input { height: 46px; width: clamp(170px, 14vw, 240px); padding: 0 18px; border-radius: 12px; border: 0; background: var(--milk-2); color: var(--ink); font: inherit; font-size: .9em; outline: none; }
.subscribe button { width: 50px; height: 46px; border-radius: 12px; background: var(--cobalt); display: grid; place-items: center; transition: transform .4s var(--ease); }
.subscribe button svg { width: 24px; fill: none; stroke: var(--milk); stroke-width: 1.6; }
.subscribe button:hover { transform: translateX(4px); }

.footer__bar { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px 24px; margin-top: clamp(60px, 9vw, 180px); padding-top: 20px; border-top: 1px solid var(--line-light); font-size: .72em; letter-spacing: .1em; text-transform: uppercase; }
.footer__bar > * { opacity: .55; transition: opacity .3s; }
.footer__legal { display: flex; gap: 30px; }
.footer__legal a:hover { color: var(--milk); }
.credit { justify-self: end; display: inline-flex; align-items: center; gap: 10px; }
.credit b { font-weight: 600; letter-spacing: .06em; }
.credit__logo { width: 20px; height: 20px; fill: currentColor; transition: transform .8s var(--ease), fill .3s; }
.credit:hover { opacity: 1; }
.credit:hover .credit__logo { transform: rotate(360deg) scale(1.15); fill: var(--cobalt-light); }

/* гигантский wordmark: PULSE (Citrogen) + COFFEE (Bebas), как в логотипе.
   У обоих шрифтов cap-height .70 → один кегль даёт одинаковую высоту;
   ширину скрипт подгоняет ровно в поля (data-fit) */
.footer__giant { position: relative; margin-top: clamp(40px, 5vw, 90px); padding-bottom: calc(var(--gutter) * .9); }
.footer__giant-row { display: flex; justify-content: space-between; align-items: flex-end; gap: .1em; font-size: 13vw; text-transform: uppercase; white-space: nowrap; }
.footer__giant-word { display: block; line-height: 1; transform-origin: 50% 100%; }
.footer__giant-word--wide { font-family: var(--f-wide); color: var(--milk); margin: -.055em 0 -.245em; }
.footer__giant-word--tall { font-family: var(--f-tall); color: var(--cobalt); margin: -.05em 0 -.25em; }

/* =========================================================
   ФИРМЕННАЯ ГРАФИКА
   ========================================================= */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
symbol { overflow: visible; }
.deco { position: absolute; pointer-events: none; overflow: visible; }

/* «дышащая» фигура (pucker & bloat): форму рисует скрипт, обводка цвета фона — «вырезает» текст под ней */
.bloom { position: absolute; z-index: 4; aspect-ratio: 1; overflow: visible; pointer-events: none; --knock: var(--milk); --fill: var(--ink); }
.bloom__knock { fill: var(--knock); stroke: var(--knock); stroke-width: 26; stroke-linejoin: round; }
.bloom__fill { fill: var(--fill); }
.bloom--hero { left: -1.4vw; top: -3.4vw; width: 9.5vw; animation: spinr 40s linear infinite; }
.bloom--menu { right: -4.6vw; top: -2.4vw; width: 10vw; --knock: var(--ink); --fill: var(--cobalt); animation: spinr 36s linear infinite reverse; }
.stretch__wide-wrap { position: relative; }
.bloom--stretch { right: -1.4vw; top: -2.2vw; width: 7.5vw; animation: spinr 44s linear infinite; }
.drink { position: relative; }
.bloom--photo { --s: clamp(54px, 5.6vw, 100px); z-index: 2; width: var(--s); top: calc(var(--s) * -.3); animation: spinr 30s linear infinite; }
.bloom--photo-ink { right: calc(var(--s) * -.3); }
.bloom--photo-blue { left: calc(var(--s) * -.3); --fill: var(--cobalt); animation-direction: reverse; }

/* звезда в отступе манифеста */
.manifesto-wrap { position: relative; }
.deco--manifesto-star { left: 5.4vw; top: .05vw; width: 5.6vw; height: 4.8vw; fill: var(--cobalt); animation: spin 26s linear infinite; }

/* сердце, «вырезающее» заголовок No basic. */
.about__note-big { position: relative; display: inline-block; }
.about__note-big .t-tall { display: block; line-height: 1; margin: -.05em 0 -.25em; }
.knock-heart { position: absolute; right: -.34em; top: -.3em; width: .56em; height: .5em; overflow: visible; fill: var(--cobalt); rotate: 14deg; animation: beat 1.6s var(--ease) infinite; }
.knock-heart__knock { fill: var(--milk); stroke: var(--milk); stroke-width: 9; stroke-linejoin: round; }

/* BPM: контурные сердца на фоне */
.deco--bpm-h1, .deco--bpm-h2 { color: var(--milk); opacity: .35; }
.deco--bpm-h1 { left: 40%; top: 14%; width: 4.6vw; height: 4.1vw; rotate: -14deg; animation: floaty 6s ease-in-out infinite; }
.deco--bpm-h2 { left: 3%; bottom: 7%; width: 3vw; height: 2.7vw; rotate: 16deg; animation: floaty 7s ease-in-out -2s infinite; }
@keyframes floaty { 50% { transform: translateY(-14px); } }

.space__end { position: relative; }
.deco--bean { right: 1vw; bottom: 30%; width: 4.4vw; height: 6vw; fill: var(--cobalt); rotate: 24deg; animation: floaty 5s ease-in-out infinite; }

.footer__star { display: inline-block; width: .95em; height: .82em; margin-right: .35em; vertical-align: -.08em; fill: var(--cobalt-bright); animation: spin 12s linear infinite; }

/* =========================================================
   FOOTER NOTE + TOAST
   ========================================================= */
.footer__note { position: relative; padding: 0 0 18px; text-align: center; font-size: 11px; line-height: 1.4; letter-spacing: .02em; opacity: .4; max-width: 70ch; margin: 0 auto; }

.toast {
  position: fixed; left: 50%; bottom: clamp(16px, 3vw, 40px); z-index: 80;
  display: flex; align-items: center; gap: clamp(14px, 1.4vw, 22px);
  width: min(520px, calc(100vw - 32px)); padding: 14px; padding-right: 24px; overflow: hidden;
  background: var(--milk); color: var(--ink); border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  translate: -50% 0; opacity: 0; transform: translateY(40px) scale(.96); pointer-events: none;
  transition: opacity .5s var(--ease), transform .7s var(--ease);
}
.toast.is-on { opacity: 1; transform: none; pointer-events: auto; }
.toast__icon { flex: 0 0 auto; width: clamp(84px, 8vw, 112px); }
.ph--icon { aspect-ratio: 1; border-radius: 16px; }
.ph--icon .ph__tag { display: none; }
.toast__body { display: flex; flex-direction: column; gap: 6px; }
.toast__title { font-family: var(--f-tall); font-weight: 400; font-size: clamp(28px, 2.4vw, 40px); line-height: 1; text-transform: uppercase; }
.toast__title .t-serif { font-size: 1.05em; color: var(--cobalt); }
.toast__text { font-size: .9em; color: var(--muted); }
.toast__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--cobalt); transform-origin: left; transform: scaleX(0); }
.toast.is-on .toast__bar { animation: toastbar 3s linear forwards; }
@keyframes toastbar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.subscribe.is-error input { box-shadow: 0 0 0 2px #ff5a5a; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* =========================================================
   PAPER TEXTURE — поверх всего, умножение 20%.
   Своё фото: assets/img/texture/paper.jpg (без него — процедурный шум)
   ========================================================= */
.paper {
  position: fixed; inset: 0; z-index: 89; pointer-events: none;
  /* обычное наложение, 100%: файл texture/paper должен быть с прозрачностью (PNG/WebP) */
  opacity: 1; mix-blend-mode: normal; transform: translateZ(0);
  background-position: center; background-size: cover; background-repeat: no-repeat;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .menu-row { grid-template-columns: 4ch minmax(0, 1fr) auto; row-gap: 8px; }
  .menu-row__idx { grid-row: 1 / span 2; align-self: start; padding-top: .2em; }
  .menu-row__name { grid-column: 2; grid-row: 1; }
  .menu-row__desc { grid-column: 2; grid-row: 2; }
  .menu-row__price { grid-column: 3; grid-row: 1 / span 2; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { grid-row: auto; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .header { grid-template-columns: 1fr auto; }
  .header__nav, .header__cta { display: none; }
  .header__burger { display: block; }
  /* порядок чтения на мобилке: CATCH the → PULSE → of the CITY → текст → кнопка */
  .hero { display: flex; flex-direction: column; }
  .hero__top, .hero__bottom { display: contents; }
  .hero__kicker { order: 1; }
  .hero__pulse { order: 2; margin-top: 6vw; }
  .hero__sub { order: 3; margin-top: 3vw; position: relative; z-index: 3; }
  .hero__lead { order: 4; margin-top: 8vw; padding-bottom: 0; max-width: 34ch; }
  .hero__actions { order: 5; margin-top: 6vw; width: 100%; }
  .hero__drinks { order: 6; }
  .bloom--menu { width: 15vw !important; }
  .bloom--hero { width: 8vw; top: -2.8vw; left: -1.6vw; }
  .bloom--stretch { width: 9vw; top: -3vw; }
  .bloom--menu { right: -4vw; top: -10vw; }
  .hero__heart-o { display: none; }
  .deco--bpm-h1 { left: auto; right: 7%; top: 128px; width: 54px; height: 48px; }
  .deco--bpm-h2 { left: 7%; bottom: 10%; width: 44px; height: 40px; }
  .hero__drinks { row-gap: 36px; }
  .bloom--photo-ink { right: -6px; }
  .bloom--photo-blue { left: -6px; }
  .stats li { grid-template-columns: calc(var(--num-fs) * 2.55) minmax(0, 1fr); column-gap: 12px; }
  .deco--manifesto-star { display: none; }
  .hero__drinks { grid-template-columns: repeat(2, 1fr); align-items: start; }
  .drink--big { grid-column: 1 / -1; grid-row: 1; }
  .drink--big .ph { aspect-ratio: 4 / 3; }
  .bpm__grid { grid-template-columns: 1fr; }
  .bpm__stage { width: min(64vw, 340px); }
  .place { grid-template-columns: 1fr auto; row-gap: 6px; }
  .place__addr, .place__time { grid-column: 1; }
  .place__go { grid-row: 1 / span 3; grid-column: 2; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__bar { grid-template-columns: 1fr; justify-items: start; }
  .credit { justify-self: start; }
  .manifesto { text-indent: 0; }
  .space__track { height: 52vh; }
}

@media (max-width: 560px) {
  .badge { width: 92px; height: 92px; }
  /* мобилка: цена уходит под состав, чтобы название не переносилось, когда выезжает фото */
  .menu-row { --ph-w: 96px; grid-template-columns: 3ch minmax(0, 1fr); column-gap: 12px; row-gap: 6px; }
  .menu-row.is-open { padding-left: 12px; padding-right: calc(var(--ph-w) + 12px); }
  .menu-row__name { font-size: 28px; }
  .menu-row__price { grid-column: 2; grid-row: 3; font-size: 14px; }
  .menu-row__idx { grid-row: 1 / span 3; }
}

/* =========================================================
   ТАЧ-УСТРОЙСТВА: убираем тяжёлые для GPU эффекты, из-за которых скролл дёргается
   ========================================================= */
@media (hover: none), (pointer: coarse), (max-width: 900px) {
  /* размытие под шапкой перерисовывается на каждом кадре скролла — заменяем плотным фоном */
  .header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: color-mix(in srgb, var(--milk) 96%, transparent); }
  .header.on-dark.is-scrolled { background: color-mix(in srgb, var(--ink) 94%, transparent); }
  .header.on-accent.is-scrolled { background: color-mix(in srgb, var(--cobalt) 96%, transparent); }
  /* «умножение» на весь экран пересчитывается каждым кадром — на телефоне обычное наложение */
  /* галерея: без закрепления, обычная горизонтальная лента с примагничиванием карточек */
  .space__pin { height: auto; padding: clamp(60px, 14vw, 100px) 0; }
  .space__track { width: auto; height: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain; }
  .space__track::-webkit-scrollbar { display: none; }
  .space__card { height: 56vw; max-height: 420px; flex: 0 0 auto; scroll-snap-align: start; }
  .space__end { flex: 0 0 auto; scroll-snap-align: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
