/* ==========================================================================
   МАНГАЛ — ночной мангал
   Real fire and smoke footage, the owner's own food photography, a quiet flat interface.
   Rules: no gradients or bevels on controls, no glow around UI edges, no pills. Hairlines, matte fills.
   Light comes only from filmed footage, and as a faint firelight warmth over a dish photo on hover.
   ========================================================================== */

/* ---------- fonts ---------- */
@font-face { font-family: 'Forum'; src: url('../assets/fonts/forum-cyr.woff2') format('woff2'); font-weight: 400; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Forum'; src: url('../assets/fonts/forum-lat.woff2') format('woff2'); font-weight: 400; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Onest'; src: url('../assets/fonts/onest-cyr.woff2') format('woff2'); font-weight: 100 900; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; src: url('../assets/fonts/onest-lat.woff2') format('woff2'); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Onest'; src: url('../assets/fonts/onest-latext.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+20BD; }
@font-face { font-family: 'Noto Serif Armenian'; src: url('../assets/fonts/armenian-serif-vf.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0530-058F, U+FB13-FB17; }

@property --ignite { syntax: '<percentage>'; inherits: false; initial-value: 140%; }

/* ---------- tokens ---------- */
:root {
  --bg: #0d0a09;
  --bg-1: #141010;
  --bg-2: #1c1614;
  --line: rgba(243, 230, 211, .12);
  --line-2: rgba(243, 230, 211, .26);
  --text: #f3e6d3;
  --text-2: rgba(243, 230, 211, .74);
  --text-3: rgba(243, 230, 211, .58);
  --tuff: #e4a990;
  --pom: #a51d36;
  --pom-2: #be2a45;
  --ember: #ff9a42;

  --f-display: 'Forum', 'Times New Roman', serif;
  --f-body: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-hy: 'Noto Serif Armenian', 'Forum', serif;

  --bar: 68px;
  --gutter: clamp(16px, 4vw, 56px);
  --wrap: min(1320px, 100% - 2 * var(--gutter));
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.nw { white-space: nowrap; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar) + 64px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--f-body);
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  scrollbar-color: #4a3a33 var(--bg);
  scrollbar-width: thin;
}
::selection { background: var(--ember); color: var(--bg); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #4a3a33; border: 2px solid var(--bg); }
input, textarea, button { font: inherit; color: inherit; caret-color: var(--ember); }
button { cursor: pointer; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .24em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ico { width: 1.2em; height: 1.2em; flex: none; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 400; padding: 10px 14px; background: var(--text); color: var(--bg); transition: top .2s; }
.skip:focus { top: 12px; }

#sparks { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 80; pointer-events: none; mix-blend-mode: screen; }

/* ---------- buttons: flat, square-cornered ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 2px;
  font: 500 15px/1 var(--f-body); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  transition: background-color .25s, border-color .25s, color .25s; -webkit-tap-highlight-color: transparent; }
.btn--primary { background: var(--pom); color: #fff; }
.btn--primary:hover { background: var(--pom-2); }
.btn--line { border-color: var(--line-2); color: var(--text); }
.btn--line:hover { border-color: var(--text); }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.btn--primary .ico { transition: transform .3s var(--ease); }
.btn--primary:hover .ico { transform: translateX(3px); }
.linklike { background: none; border: 0; padding: 0; color: var(--text-3); text-decoration: underline; font-size: 14px; }
.linklike:hover { color: var(--text); }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 2px; background: transparent; color: var(--text); transition: border-color .25s; }
.icon-btn:hover { border-color: var(--text); }

/* ---------- header ---------- */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--bar); display: flex; align-items: center; gap: clamp(16px, 2.6vw, 40px); padding: 0 var(--gutter);
  border-bottom: 1px solid transparent; transition: background-color .4s, border-color .4s, transform .5s var(--ease), opacity 1s ease; }
.bar.is-solid { background: rgba(13, 10, 9, .98); border-bottom-color: var(--line); }
.bar.is-hidden { transform: translateY(-101%); }
.bar:not(.is-solid) .brand { opacity: 0; pointer-events: none; }
.brand { margin-right: auto; transition: opacity .4s ease; font: 400 22px/1 var(--f-display); letter-spacing: .32em; text-transform: uppercase; text-decoration: none; color: var(--text); }
.bar__nav { display: flex; gap: clamp(18px, 2.4vw, 34px); }
.bar__nav a { font-size: 15px; color: var(--text-2); text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
.bar__nav a:hover { color: var(--text); border-color: var(--line-2); }
.bar__phone { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-variant-numeric: tabular-nums; color: var(--text); text-decoration: none; white-space: nowrap; }
.bar__phone:hover { color: var(--ember); }
.bar__cart { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 2px; background: transparent; color: var(--text); font: 500 15px/1 var(--f-body); font-variant-numeric: tabular-nums; transition: background-color .25s, border-color .25s; }
.bar__cart:hover { border-color: var(--text); }
.bar__cart.has-items { background: var(--pom); border-color: var(--pom); color: #fff; }
.bar__cart.has-items:hover { background: var(--pom-2); border-color: var(--pom-2); }
.bar__cart-count { min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; background: #fff; color: var(--pom); font-size: 13px; font-weight: 600; }
.bar__cart.is-bump { animation: tick .6s var(--ease); }
@keyframes tick { 30% { background: #c8461f; } }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: #000; }
.hero__media { position: absolute; inset: 0; }
.hero__video, .veil { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { object-position: 50% 58%; transform: scale(var(--hz, 1.02)); filter: brightness(.9) contrast(1.05);
  -webkit-mask-image: radial-gradient(140% 125% at 50% 100%, #000 var(--ignite), transparent calc(var(--ignite) + 28%));
  mask-image: radial-gradient(140% 125% at 50% 100%, #000 var(--ignite), transparent calc(var(--ignite) + 28%)); }
.veil { pointer-events: none; mix-blend-mode: screen; transition: opacity 2.4s ease .6s; }
.veil--smoke { opacity: .5; transform: translateY(var(--smy, 0px)) scale(1.18); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 6%, #000 30%, #000 74%, transparent 94%); mask-image: linear-gradient(90deg, transparent 6%, #000 30%, #000 74%, transparent 94%); }
.veil--embers { opacity: .5; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(13, 10, 9, .6) 0%, rgba(13, 10, 9, 0) 22%, rgba(13, 10, 9, 0) 50%, rgba(13, 10, 9, .55) 76%, rgba(13, 10, 9, .96) 100%); }
.hero__content { position: relative; z-index: 2; height: 100%; display: grid; grid-template-rows: 1fr auto; width: min(1600px, 100%); margin: 0 auto;
  padding: calc(var(--bar) + 1vh) var(--gutter) clamp(22px, 4.5vh, 52px); }
.hero__title { margin: 0; align-self: start; text-align: center; transform: translateY(var(--ty, 0px)); opacity: var(--to, 1);
  font: 400 clamp(72px, 15.5vw, 290px)/.84 var(--f-display); letter-spacing: .07em; color: var(--text);
  text-shadow: 0 6px 70px rgba(0, 0, 0, .6); }
.hero__word { display: inline-block; margin-right: -.07em; text-transform: uppercase; }
.hero__word .ch { display: inline-block; transition: opacity 1.5s ease, filter 1.8s var(--ease), transform 1.8s var(--ease); transition-delay: calc(.5s + var(--i, 0) * .09s); }
.hero__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'lead actions' 'facts facts'; gap: 20px 40px; align-items: end; padding-top: 22px; border-top: 1px solid var(--line-2); transition: opacity 1.2s ease 1.5s; }
.hero__lead { grid-area: lead; margin: 0; max-width: 46ch; font-size: 17px; line-height: 1.55; color: var(--text-2); }
.hero__actions { grid-area: actions; display: flex; gap: 12px; }
.hero__facts { grid-area: facts; display: flex; flex-wrap: wrap; gap: 6px 36px; margin: 0; padding-top: 16px; border-top: 1px solid var(--line); }
.hero__facts > div { display: flex; gap: 8px; align-items: baseline; }
.hero__facts dt { font-size: 14px; color: var(--text-3); }
.hero__facts dd { margin: 0; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; }
.hero__facts dd.is-open::before { content: ''; display: inline-block; width: 7px; height: 7px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--ember); vertical-align: middle; }

@media (max-aspect-ratio: 4/5) { .hero__shade { background: linear-gradient(180deg, rgba(13, 10, 9, .55) 0%, rgba(13, 10, 9, 0) 18%, rgba(13, 10, 9, 0) 38%, rgba(13, 10, 9, .66) 58%, rgba(13, 10, 9, .94) 78%, var(--bg) 100%); } }

/* ignition: the footage burns in from the coals, the word clears out of the smoke */
.hero__video { transition: --ignite 2.4s cubic-bezier(.3, .1, .2, 1); }
.is-intro .hero__video { --ignite: 0%; }
.is-intro .veil, .is-intro .hero__row, .is-intro .bar { opacity: 0; }
.is-intro .hero__word .ch { opacity: 0; filter: blur(16px); transform: translateY(.1em); }

/* ---------- intro statement ---------- */
.intro { position: relative; overflow: hidden; padding: clamp(110px, 18vh, 220px) var(--gutter); text-align: center; }
.intro__embers { opacity: .42; -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 22%, #000 70%, transparent); }
.intro::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, var(--bg) 0%, rgba(13, 10, 9, 0) 30%, rgba(13, 10, 9, 0) 70%, var(--bg) 100%); }
.intro__line { position: relative; z-index: 1; margin: 0 auto; max-width: 17em; font: 400 clamp(34px, 4.8vw, 72px)/1.1 var(--f-display); color: var(--text); text-wrap: balance; }
.intro__hy { position: relative; z-index: 1; margin: 40px 0 0; font: 500 clamp(34px, 5vw, 76px)/1 var(--f-hy); letter-spacing: .08em; color: var(--tuff); }

/* ---------- headings & reveals ---------- */
.h2 { margin: 0; font: 400 clamp(50px, 7vw, 96px)/.95 var(--f-display); letter-spacing: -.005em; color: var(--text); text-wrap: balance; }
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 1s ease, transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.h2.reveal { transform: translateY(14px); filter: blur(10px); }
.h2.reveal.is-in { filter: none; transform: none; transition: opacity 1.2s ease, transform 1.4s var(--ease), filter 1.6s var(--ease); }

/* ---------- menu ---------- */
.menu { width: var(--wrap); margin: 0 auto; padding: clamp(40px, 6vw, 80px) 0 clamp(90px, 12vw, 160px); }
.menu__head { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 64px; align-items: end; }
.menu__embers { opacity: .4; inset: -90px calc(-1 * var(--gutter)) -40px; width: auto; height: auto;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); }
.menu__head > :not(.menu__embers) { position: relative; z-index: 1; }
.menu__sub { margin: 0 0 8px; max-width: 46ch; justify-self: end; font-size: 16px; color: var(--text-2); }
.tabs { position: sticky; top: var(--bar); z-index: 40; margin: 48px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter); background: var(--bg); border-bottom: 1px solid var(--line); transition: top .5s var(--ease); }
.bar-hidden .tabs { top: 0; }
.tabs__track { display: flex; gap: clamp(20px, 3vw, 40px); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabs__track::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: 18px 0 15px; border-bottom: 2px solid transparent; margin-bottom: -1px; font-size: 15px; color: var(--text-3); text-decoration: none; transition: color .25s, border-color .25s; }
.tab:hover { color: var(--text); }
.tab.is-active { color: var(--text); border-bottom-color: var(--ember); }

.msec { padding-top: clamp(60px, 8vw, 104px); scroll-margin-top: calc(var(--bar) + 56px); }
.msec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; padding-bottom: 18px; margin-bottom: clamp(26px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.msec__title { margin: 0; font: 400 clamp(38px, 4.4vw, 60px)/1 var(--f-display); color: var(--text); }
.msec__note { margin: 0; max-width: 44ch; font-size: 15px; color: var(--text-2); }

.grid { display: grid; }
.grid--feature { grid-template-columns: repeat(auto-fill, minmax(min(100%, 292px), 1fr)); gap: clamp(36px, 4vw, 56px) clamp(20px, 2.4vw, 32px); }
.grid--rows { grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: 0 clamp(28px, 4vw, 64px); }

.item { display: flex; flex-direction: column; min-width: 0; }
.item__pic { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.item__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.item__pic::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 120%, rgba(255, 120, 40, .3), transparent 60%); opacity: 0; transition: opacity .8s ease; }
.item:hover .item__pic img { transform: scale(1.045); }
.item:hover .item__pic::after { opacity: 1; }
.item__body { display: flex; flex-direction: column; flex: 1; padding-top: 18px; }
.item__head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.item__name { margin: 0; font: 400 26px/1.08 var(--f-display); color: var(--text); text-wrap: balance; }
.item__weight { flex: none; font-size: 14px; color: var(--text-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.item__desc { margin: 10px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.item__desc.is-open { display: block; -webkit-line-clamp: unset; }
.more { align-self: flex-start; margin-top: 6px; padding: 0; border: 0; background: none; font-size: 13.5px; color: var(--text-3); text-decoration: underline; }
.more:hover { color: var(--text); }
.item__foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.price { font: 500 20px/1 var(--f-body); font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; }

.seg { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 12px; }
.seg button { padding: 4px 0; border: 0; border-bottom: 1px solid transparent; background: none; font-size: 14px; color: var(--text-3); transition: color .2s, border-color .2s; }
.seg button:hover { color: var(--text); }
.seg button[aria-checked='true'] { color: var(--text); border-bottom-color: var(--ember); }

.add { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 2px; background: transparent;
  font-size: 15px; color: var(--text); white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s; }
.add:hover { background: var(--pom); border-color: var(--pom); color: #fff; }
.stepper { display: inline-flex; align-items: center; height: 44px; border: 1px solid var(--pom); border-radius: 2px; }
.stepper button { width: 42px; height: 42px; display: grid; place-items: center; border: 0; background: transparent; color: var(--text); transition: background-color .2s; }
.stepper button:hover { background: rgba(165, 29, 54, .4); }
.stepper output { min-width: 26px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }

/* sets: wide rows with what is inside */
.set { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); padding: clamp(36px, 4vw, 56px) 0; border-top: 1px solid var(--line); }
.set:first-child { border-top: 0; padding-top: 0; }
.set:nth-child(even) .set__pic { order: 2; }
.set__pic { aspect-ratio: 1; overflow: hidden; background: var(--bg-2); }
.set__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.set:hover .set__pic img { transform: scale(1.03); }
.set__body { display: flex; flex-direction: column; min-width: 0; }
.set__name { margin: 0; font: 400 clamp(38px, 4vw, 56px)/1 var(--f-display); color: var(--text); }
.set__lead { margin: 12px 0 0; font-size: 18px; color: var(--tuff); }
.set__meta { margin: 8px 0 0; font-size: 14px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.set__desc { margin: 18px 0 0; max-width: 60ch; color: var(--text-2); }
.parts { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 32px; }
.parts li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.35; }
.parts b { font-weight: 500; color: var(--tuff); font-variant-numeric: tabular-nums; }
.parts em { display: block; margin-top: 2px; font-style: normal; font-size: 13.5px; color: var(--text-3); }
.set__extra { margin: 16px 0 0; font-size: 14px; color: var(--text-3); }
.set__foot { display: flex; align-items: center; gap: 24px; margin-top: auto; padding-top: 28px; }
.set .price { font-size: 28px; }

/* compact rows: sides, sauces, bread, drinks */
.row { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 6px 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.row__pic { width: 92px; height: 92px; overflow: hidden; background: #efe5d8; }
.row__pic img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.row__body { min-width: 0; }
.row__name { margin: 0; font: 400 23px/1.1 var(--f-display); color: var(--text); }
.row__meta { margin: 4px 0 0; font-size: 13.5px; color: var(--text-3); }
.row__desc { margin: 6px 0 0; font-size: 14px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row__desc.is-open { display: block; -webkit-line-clamp: unset; }
.row .seg { margin-top: 8px; }
.row__side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }

/* ---------- delivery over the coals ---------- */
.delivery { position: relative; overflow: hidden; padding: clamp(100px, 14vw, 190px) 0 clamp(56px, 6vw, 84px); border-top: 1px solid var(--line); }
.delivery__coals { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.delivery::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, var(--bg) 0%, rgba(13, 10, 9, .42) 22%, rgba(13, 10, 9, .66) 58%, rgba(13, 10, 9, .5) 84%, rgba(13, 10, 9, .9) 100%); }
.delivery__inner { position: relative; z-index: 1; width: var(--wrap); margin: 0 auto; }
.terms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; margin: clamp(40px, 5vw, 64px) 0 0; }
.terms > div { padding-top: 20px; border-top: 1px solid var(--line-2); }
.terms dt { font: 400 30px/1 var(--f-display); color: var(--tuff); }
.terms dd { margin: 14px 0 0; font-size: 16px; line-height: 1.6; color: var(--text); text-shadow: 0 1px 16px rgba(0, 0, 0, .9), 0 0 3px rgba(0, 0, 0, .6); }

/* ---------- footer ending in fire ---------- */
.foot { position: relative; overflow: hidden; padding: clamp(60px, 7vw, 100px) 0 0; }
.foot__inner { position: relative; z-index: 1; width: var(--wrap); margin: 0 auto; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 48px; align-items: end; margin-top: clamp(32px, 4vw, 52px); }
.foot__phone { display: inline-block; font: 400 clamp(40px, 5.4vw, 76px)/1 var(--f-display); color: var(--text); text-decoration: none; font-variant-numeric: tabular-nums; }
.foot__phone:hover { color: var(--ember); }
.foot__line { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; color: var(--text-2); }
.foot__links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.foot__legal { margin: clamp(48px, 6vw, 80px) 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); }
.foot__blaze { position: relative; height: clamp(300px, 46vh, 500px); margin-top: 8px; display: grid; place-items: start center; overflow: hidden; }
.foot__fire { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(0deg, #000 30%, transparent 66%); mask-image: linear-gradient(0deg, #000 30%, transparent 66%); }
.foot__hy { position: relative; z-index: 1; margin: clamp(22px, 4vh, 44px) 0 0; text-align: center; font: 400 16px/1.4 var(--f-body); color: var(--text); }
.foot__hy span { display: block; margin-bottom: 8px; font: 500 clamp(32px, 3.6vw, 50px)/1.1 var(--f-hy); color: var(--tuff); }

/* ---------- cart ---------- */
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(5, 3, 3, .66); opacity: 0; transition: opacity .4s ease; }
.scrim.is-on { opacity: 1; }
.cart { position: fixed; z-index: 100; top: 0; right: 0; bottom: 0; width: min(100vw, 460px); display: flex; flex-direction: column; background: var(--bg-1); border-left: 1px solid var(--line);
  transform: translateX(100%); visibility: hidden; transition: transform .55s var(--ease), visibility 0s .55s; }
.cart.is-open { transform: none; visibility: visible; transition: transform .55s var(--ease); }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.cart__title { margin: 0; font: 400 34px/1 var(--f-display); }
.cart__scroll { flex: 1; overflow-y: auto; padding: 4px 24px 24px; overscroll-behavior: contain; }
.cart__lines { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-areas: 'pic name sum' 'pic step sum'; gap: 6px 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line__pic { grid-area: pic; width: 56px; height: 56px; object-fit: cover; background: var(--bg-2); }
.line__name { grid-area: name; font-size: 15px; line-height: 1.3; }
.line__name small { color: var(--text-3); font-size: 13px; }
.line__sum { grid-area: sum; align-self: start; font-variant-numeric: tabular-nums; white-space: nowrap; }
.line .stepper { grid-area: step; justify-self: start; height: 34px; border-color: var(--line-2); }
.line .stepper button { width: 32px; height: 32px; }
.cart__empty { margin: 24px 0; color: var(--text-2); }
.cart__free { margin: 18px 0 4px; }
.cart__free-text { margin: 0; font-size: 14.5px; color: var(--text); }
.meter { height: 2px; margin-top: 10px; background: var(--line); }
.meter i { display: block; height: 100%; width: 100%; background: var(--ember); transform: scaleX(var(--s, 0)); transform-origin: 0 50%; transition: transform .7s var(--ease); }
.cart__form { display: grid; gap: 14px; margin-top: 22px; }
.mode { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin: 0; padding: 3px; border: 1px solid var(--line-2); border-radius: 2px; }
.mode label { position: relative; }
.mode input { position: absolute; opacity: 0; pointer-events: none; }
.mode span { display: block; padding: 12px; text-align: center; font-size: 15px; color: var(--text-2); cursor: pointer; transition: background-color .2s, color .2s; }
.mode input:checked + span { background: var(--text); color: var(--bg); }
.mode input:focus-visible + span { outline: 2px solid var(--ember); outline-offset: 2px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; color: var(--text-3); }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 2px; background: var(--bg); color: var(--text); font-size: 16px; resize: vertical; transition: border-color .2s; }
.field input::placeholder, .field textarea::placeholder { color: rgba(243, 230, 211, .56); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ember); }
.field.is-bad input { border-color: #e2465f; }
.cart__note { margin: 0; padding: 12px 14px; border: 1px solid var(--line); font-size: 14.5px; color: var(--text-2); }
.cart__foot { padding: 18px 24px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.sums { display: grid; gap: 6px; margin: 0 0 14px; }
.sums > div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--text-2); }
.sums dt, .sums dd { margin: 0; }
.sums dd { font-variant-numeric: tabular-nums; color: var(--text); }
.sums__total { padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--line); }
.sums__total dt { color: var(--text); }
.sums__total dd { font-size: 22px; font-weight: 500; }
.cart__warn { margin: 0 0 12px; padding: 10px 12px; border: 1px solid rgba(226, 70, 95, .5); font-size: 14px; color: #ffb3bf; }
.cart.is-failed .cart__aside, .cart.is-failed .sums > div:not(.sums__total) { display: none; }
.cart.is-failed .sums { margin-bottom: 10px; }
.btn--order { justify-content: space-between; height: 56px; font-size: 16px; }
.btn__sum { font-variant-numeric: tabular-nums; opacity: .9; }
.cart__fallback { margin: 14px 0 6px; padding: 14px; border: 1px solid var(--pom); }
.cart__fallback p { margin: 0 0 12px; font-size: 14.5px; color: var(--text-2); }
.cart__fallback-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cart__done { flex: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; padding: 32px 24px; outline: none; }
.cart__done-title { margin: 0; font: 400 clamp(40px, 6vw, 56px)/1 var(--f-display); color: var(--text); }
.cart__done-text { margin: 0; max-width: 34ch; color: var(--text-2); }
.cart__aside { margin: 12px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--text-3); }
.cart__aside a { color: var(--text-2); white-space: nowrap; }

.dock { position: fixed; z-index: 70; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: none; align-items: center; justify-content: space-between; gap: 12px; height: 56px; padding: 0 18px;
  border: 0; border-radius: 2px; background: var(--pom); color: #fff; font: 500 16px/1 var(--f-body); font-variant-numeric: tabular-nums; transform: translateY(150%); transition: transform .5s var(--ease); }
.dock span { display: inline-flex; align-items: center; gap: 10px; }
.dock.is-on { transform: none; }

.toast { position: fixed; z-index: 250; left: 50%; bottom: 24px; max-width: min(92vw, 520px); padding: 14px 18px; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text); font-size: 15px;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: transform .45s var(--ease), opacity .45s ease; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .bar__nav { display: none; }
  .hero__row { grid-template-columns: 1fr; grid-template-areas: 'lead' 'actions' 'facts'; justify-items: start; }
  .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu__head { grid-template-columns: 1fr; }
  .menu__sub { justify-self: start; }
}
@media (max-width: 760px) {
  :root { --bar: 58px; }
  .brand { font-size: 19px; letter-spacing: .28em; }
  .bar__phone span { display: none; }
  .bar__phone { width: 42px; height: 42px; justify-content: center; border: 1px solid var(--line-2); border-radius: 2px; }
  .hero { min-height: 560px; }
  .hero .veil--embers { display: none; }
  .hero__video { object-position: 50% 50%; }
  .intro__embers { opacity: .3; }
  .hero__title { font-size: clamp(64px, 23vw, 140px); letter-spacing: .05em; }
  .hero__lead { font-size: 16px; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1; }
  .hero__facts { gap: 20px; flex-wrap: wrap; }
  .set, .set:nth-child(even) { grid-template-columns: 1fr; }
  .set:nth-child(even) .set__pic { order: 0; }
  .set__pic { aspect-ratio: 4 / 3; }
  .grid--feature { grid-template-columns: 1fr; gap: 0; }
  .grid--feature .item { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .grid--feature .item__pic { aspect-ratio: 1; }
  .grid--feature .item__body { padding-top: 0; }
  .grid--feature .item__name { font-size: 22px; }
  .grid--feature .item__desc { -webkit-line-clamp: 2; font-size: 14px; }
  .grid--feature .item__foot { padding-top: 12px; }
  .row { grid-template-columns: 76px minmax(0, 1fr); }
  .row__pic { width: 76px; height: 76px; }
  .row__side { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; }
  .terms { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .foot__links { justify-content: flex-start; }
  .dock { display: flex; }
  .cart { top: auto; left: 0; width: 100%; max-height: 92svh; border-left: 0; border-top: 1px solid var(--line-2); transform: translateY(100%); }
  .cart.is-open { transform: none; }
  body { padding-bottom: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .reveal, .h2.reveal { opacity: 1; transform: none; filter: none; }
}
