/* «Ярус» — invented pastry shop, demo of the studio tariff «Каталог». One stylesheet for every page (RU and /en/).
   World: a cookbook anatomy print — vanilla-cream paper, cocoa ink, one cherry accent, fine leader lines.
   Display: Oranienbaum (high-contrast condensed serif, a confectionery label). Text and UI: Manrope. */

:root {
  --bg: #f6eee2;
  --bg-2: #efe4d2;
  --bg-3: #e6d8c2;
  --paper: #fdf9f3;
  --ink: #2a1712;
  --ink-2: #5c4237;
  --ink-3: #75594c;
  --line: rgba(42, 23, 18, .13);
  --line-2: rgba(42, 23, 18, .26);
  --cherry: #a3172e;
  --cherry-2: #851022;
  --cherry-soft: #f6dcd6;
  --ganache: #2b1712;
  --on-dark: #f6eee2;
  --on-dark-2: #cfbdab;
  --ff: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-d: "Oranienbaum", "Times New Roman", serif;
  --hh: 60px;
  --tb: 0px;
  --gut: 16px;
  --max: 1280px;
  --demo: 96px;
  --r-s: 12px;
  --r: 20px;
  --r-l: 28px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.5, 0, .75, 0);
  --sh-1: 0 1px 2px rgba(42, 23, 18, .06), 0 10px 24px -14px rgba(42, 23, 18, .3);
  --sh-2: 0 2px 6px rgba(42, 23, 18, .08), 0 30px 60px -26px rgba(42, 23, 18, .45);
}
@media (min-width: 600px) { :root { --gut: 24px; } }
@media (min-width: 960px) { :root { --hh: 76px; --gut: 40px; } }
@media (min-width: 1280px) { :root { --gut: 56px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--hh) + var(--tb) + 16px);
  scrollbar-color: var(--ink-3) var(--bg-2);
  scrollbar-gutter: stable;
}
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 var(--ff);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  caret-color: var(--cherry);
}
::selection { background: var(--cherry); color: #fff6ef; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-color: var(--cherry); }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
button, a, label, select, input { touch-action: manipulation; }
:focus-visible { outline: 2.5px solid var(--cherry); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--ff-d); font-weight: 400; line-height: 1; letter-spacing: -.005em; text-wrap: balance; }
p, ul, ol, dl, dd, figure { margin: 0; }
p { text-wrap: pretty; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; padding: 0; } /* zero specificity: .pop, .toc, .hero__facts set their own padding */
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; transform: translateY(-160%); transition: transform .3s var(--ease); }
.skip:focus { transform: none; }

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px;
  font: 650 .9375rem/1.1 var(--ff); letter-spacing: .005em; text-decoration: none; text-align: center;
  transition: background-color .25s, color .25s, box-shadow .25s, transform .25s var(--ease);
}
.btn:active { transform: scale(.975); }
.btn--primary { background: var(--cherry); color: #fff7ef; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 12px 22px -12px rgba(133, 16, 34, .75); }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--s { min-height: 42px; padding: 0 18px; font-size: .875rem; }
.btn--block { width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--bg-3); color: var(--ink-3); box-shadow: none; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn .dots { display: inline-flex; gap: 3px; }
.btn .dots i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: dot 1s infinite both; }
.btn .dots i:nth-child(2) { animation-delay: .15s; }
.btn .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--ink); text-decoration: none; }
.link-arrow .ico { transition: transform .35s var(--ease); }
.link-arrow:hover { color: var(--cherry); }

.x {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  border: 0; border-radius: 50%; background: var(--bg-2); color: var(--ink);
  transition: background-color .2s;
}

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 40; height: var(--hh); background: var(--bg); transition: box-shadow .3s; }
.hdr.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 12px 24px -22px rgba(42, 23, 18, .4); }
.hdr__in { display: flex; align-items: center; gap: 8px; height: 100%; }
.logo { display: inline-flex; align-items: center; gap: 9px; margin-right: auto; color: var(--ink); text-decoration: none; }
.logo__mark { width: 26px; height: 26px; color: var(--cherry); }
.logo__word { font: 400 1.95rem/1 var(--ff-d); letter-spacing: .01em; transform: translateY(1px); }
.hdr__nav { display: none; }
.hdr__end { display: flex; align-items: center; gap: 6px; }
.lang { display: flex; align-items: center; }
.lang a { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 999px; font: 750 .75rem/1 var(--ff); letter-spacing: .08em; color: var(--ink-2); text-decoration: none; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { display: none; }
.burger { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--bg-2); color: var(--ink); }
.order-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 12px;
  border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); font: 650 .875rem/1 var(--ff);
  transition: background-color .25s;
}
.order-btn__n {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--cherry); color: #fff7ef;
  font: 750 .75rem/22px var(--ff); text-align: center; font-variant-numeric: tabular-nums;
}
.order-btn__sum { display: none; font-variant-numeric: tabular-nums; color: var(--on-dark-2); font-weight: 600; }
.is-bump { animation: bump .6s var(--ease); }
.hdr__cta { gap: 8px; }
.hdr__cta .order-btn__n { background: #fff7ef; color: var(--cherry-2); }
@keyframes bump { 25% { transform: scale(1.1); } }
.logo__mark, .burger, .order-btn, .hdr__cta { flex: none; } /* a narrow header must not squash the logo or the menu button */
@media (max-width: 374.98px) { .order-btn > .ico { display: none; } .order-btn { padding: 0 12px; } }
@media (max-width: 359.98px) { .hdr .lang { display: none; } } /* 320 px phones: the language switch stays in the menu */

@media (min-width: 960px) {
  .hdr__in { gap: 12px; }
  .logo { margin-right: 44px; }
  .logo__word { font-size: 2.2rem; }
  .hdr__nav { display: flex; flex: 1; gap: 30px; }
  .hdr__nav a { position: relative; padding: 10px 0; font-weight: 550; font-size: .9375rem; color: var(--ink-2); text-decoration: none; transition: color .2s; }
  .hdr__nav a:hover { color: var(--ink); }
  .hdr__nav a[aria-current="page"] { color: var(--ink); }
  .hdr__nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; border-radius: 2px; background: var(--cherry); }
  .lang { gap: 2px; padding: 3px; margin-right: 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
  .lang a { min-width: 38px; height: 32px; }
  .lang a[aria-current] { display: grid; background: var(--ink); color: var(--bg); }
  .burger { display: none; }
  .order-btn { min-height: 46px; padding: 0 18px 0 16px; }
  .order-btn__sum:not(:empty) { display: inline; }
}

/* mobile menu */
.menu[open] {
  position: fixed; inset: 0; width: 100%; height: 100dvh; max-height: none; margin: 0;
  display: flex; flex-direction: column; background: var(--bg);
  animation: menu-in .55s var(--ease);
}
.menu.is-closing { animation: menu-out .3s var(--ease-in) forwards; }
@keyframes menu-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes menu-out { to { clip-path: inset(0 0 100% 0); } }
.menu__head { display: flex; align-items: center; justify-content: space-between; height: var(--hh); padding-inline: var(--gut); }
.menu__nav { display: flex; flex-direction: column; padding: 16px var(--gut); }
.menu__nav a { padding: 8px 0; font: 400 2.6rem/1.05 var(--ff-d); color: var(--ink); text-decoration: none; }
.menu__nav a[aria-current="page"] { color: var(--cherry); }
.menu__foot { margin-top: auto; padding: 20px var(--gut) calc(var(--demo) + 8px); display: grid; gap: 14px; color: var(--ink-2); font-size: .9375rem; border-top: 1px solid var(--line); }
.menu__lang { display: flex; gap: 8px; }
.menu__lang a { display: grid; place-items: center; min-width: 56px; height: 40px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 700; font-size: .8125rem; letter-spacing: .06em; text-decoration: none; }
.menu__lang a[aria-current] { background: var(--ink); color: var(--bg); box-shadow: none; }

/* ---------- dialogs: shared ---------- */
dialog { padding: 0; border: 0; color: var(--ink); background: var(--paper); max-width: none; max-height: none; overscroll-behavior: contain; }
dialog::backdrop { background: rgba(33, 17, 12, .5); }
dialog[open]::backdrop { animation: fade-in .4s ease; }
dialog.is-closing::backdrop { animation: fade-out .3s ease forwards; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
.sheet[open] {
  position: fixed; inset: auto 0 0 0; width: 100%; max-height: 92dvh; margin: 0;
  display: flex; flex-direction: column; border-radius: 24px 24px 0 0; box-shadow: var(--sh-2);
  animation: sheet-in .55s var(--ease);
}
.sheet.is-closing { animation: sheet-out .3s var(--ease-in) forwards; }
@keyframes sheet-in { from { transform: translateY(100%); } }
@keyframes sheet-out { to { transform: translateY(100%); } }
.dlg__head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 14px 12px 20px; }
.sheet .dlg__head::before { content: ""; position: absolute; top: 7px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: var(--line-2); }
.dlg__title { font: 400 1.9rem/1 var(--ff-d); }
.dlg__title:focus, .qv__title:focus, dialog:focus { outline: none; } /* focus lands on the title (or the menu itself) when a dialog opens */
.dlg__body { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 4px 20px 20px; }
.dlg__foot { padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }
@media (max-height: 560px) { /* a phone on its side or with the keyboard up: the field being typed in must stay visible */
  .sheet[open] { max-height: 100dvh; }
  .sheet .dlg__head { padding-top: 10px; padding-bottom: 6px; }
  .sheet .dlg__head::before { display: none; }
  .dlg__title { font-size: 1.6rem; }
  .dlg__foot { padding-top: 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  .ototal { margin-bottom: 8px; }
  .onote { display: none; }
}

@media (min-width: 960px) {
  .drawer[open] { inset: 0 0 0 auto; width: min(480px, 100vw); height: 100dvh; max-height: none; border-radius: 26px 0 0 26px; animation-name: drawer-in; }
  .drawer.is-closing { animation-name: drawer-out; }
  .drawer .dlg__head::before { display: none; }
  .drawer .dlg__head { padding: 22px 20px 14px 28px; }
  .drawer .dlg__body { padding: 4px 28px 24px; }
  .drawer .dlg__foot { padding: 16px 28px 20px; }
  @keyframes drawer-in { from { transform: translateX(100%); } }
  @keyframes drawer-out { to { transform: translateX(100%); } }
}

/* ---------- forms & chips ---------- */
.field { display: grid; gap: 6px; }
.field + .field, .field + .seg, .seg + .field { margin-top: 14px; }
.field label, .seg legend, .group__title { font-weight: 650; font-size: .875rem; color: var(--ink); }
.input, .field input, .field textarea, .select {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 0; border-radius: var(--r-s);
  background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2);
  transition: box-shadow .2s;
}
.field textarea { min-height: 76px; resize: vertical; line-height: 1.45; }
.input::placeholder, .field input::placeholder, .field textarea::placeholder { color: var(--ink-3); opacity: 1; }
.input:hover, .field input:hover, .field textarea:hover, .select:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.input:focus, .field input:focus, .field textarea:focus, .select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--cherry); background: #fff8f6; }
.field__err { display: flex; gap: 6px; align-items: flex-start; font-size: .8125rem; font-weight: 600; color: var(--cherry-2); }
.field__hint { font-size: .8125rem; color: var(--ink-3); }
.select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a1712' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; cursor: pointer; font-weight: 600; font-size: .875rem; }
input[type="date"] { font-variant-numeric: tabular-nums; }
input[type="date"]::-webkit-date-and-time-value { min-height: 1.5em; text-align: left; } /* iOS: an empty date field keeps its height, the date sits left like the other fields */
@media (pointer: coarse) { .select { font-size: 1rem; } }
input[type="date"]::-webkit-calendar-picker-indicator { opacity: .6; cursor: pointer; }

.seg { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; border: 0; }
.seg legend { width: 100%; margin-bottom: 6px; }

.chip { position: relative; display: inline-flex; flex: none; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 600; font-size: .875rem; white-space: nowrap;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.chip span i { font-style: normal; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.chip input:checked + span { background: var(--ink); color: var(--bg); box-shadow: none; }
.chip input:checked + span i { color: var(--on-dark-2); }
.chip input:focus-visible + span { outline: 2.5px solid var(--cherry); outline-offset: 2px; }
.chip--tag input:checked + span { background: var(--cherry-soft); color: var(--cherry-2); box-shadow: inset 0 0 0 1.5px var(--cherry); }
.chip--tag input:checked + span i { color: var(--cherry-2); }
.chip--tag span .ico { display: none; width: 16px; height: 16px; stroke-width: 2.2; }
.chip--tag input:checked + span .ico { display: block; }
.chip.is-empty span { opacity: .5; }

/* ---------- toasts ---------- */
.toasts {
  position: fixed; inset: auto; top: calc(var(--hh) + 10px); left: 50%; transform: translateX(-50%);
  width: min(460px, calc(100vw - 24px)); margin: 0; padding: 0; border: 0; background: none; overflow: visible;
  display: grid; gap: 8px; z-index: 2147483100; color: var(--bg);
}
.toasts:not(:popover-open) { display: none; }
.toast {
  display: flex; align-items: flex-start; gap: 10px; padding: 13px 14px 13px 16px; border-radius: 16px;
  background: var(--ink); color: var(--bg); box-shadow: 0 2px 6px rgba(42, 23, 18, .2), 0 24px 40px -18px rgba(42, 23, 18, .6);
  font-size: .875rem; line-height: 1.45; animation: toast-in .55s var(--ease);
}
.toast .ico { margin-top: 1px; color: #f3b8a8; }
.toast p { flex: 1; }
.toast b { font-weight: 750; }
.toast__act { flex: none; align-self: center; min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--bg); color: var(--ink); font-weight: 700; font-size: .8125rem; }
.toast.is-out { animation: toast-out .3s var(--ease-in) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-14px) scale(.97); filter: blur(4px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-10px); } }
@media (max-width: 959.98px) { /* phones: at the bottom, over the studio strip, so the header, the filters and the cards' «+» stay free */
  .toasts { top: auto; bottom: calc(12px + env(safe-area-inset-bottom)); }
  .toast { animation-name: toast-up; }
  .toast.is-out { animation-name: toast-down; }
}
@keyframes toast-up { from { opacity: 0; transform: translateY(14px) scale(.97); filter: blur(4px); } }
@keyframes toast-down { to { opacity: 0; transform: translateY(10px); } }
.fly { position: fixed; z-index: 2147483050; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--cherry); box-shadow: 0 4px 10px -2px rgba(133, 16, 34, .6); pointer-events: none; }

/* ---------- sections ---------- */
.sec { padding-block: clamp(64px, 9vw, 128px); }
.sec__head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); }
.h2 { font-size: clamp(2.4rem, 1.7rem + 2.6vw, 4rem); line-height: .98; }
.lede { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.55; color: var(--ink-2); max-width: 38rem; }
.sec__head--row { align-items: end; }
@media (min-width: 960px) { .sec__head--row { grid-template-columns: 1fr auto; } }

/* ---------- hero + anatomy (the signature) ---------- */
.hero { padding-top: clamp(18px, 4vw, 40px); }
.hero__copy { padding-inline: var(--gut); }
.hero__title { font-size: clamp(2.6rem, 1.6rem + 4.4vw, 6rem); line-height: .93; }
.hero__lede { margin-top: 14px; font-size: 1.0625rem; line-height: 1.55; color: var(--ink-2); max-width: 31rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
@media (max-width: 599.98px) { .hero__lede { font-size: 1rem; } .hero__cta .btn { padding: 0 18px; } }
.hero__facts { display: none; }
.anatomy { position: relative; margin-top: 18px; }
.anatomy__stage { position: relative; width: 100%; max-width: 820px; margin-inline: auto; aspect-ratio: 560 / 440; isolation: isolate; }
.anatomy__stage::before { content: ""; position: absolute; z-index: -1; left: 4%; right: 28%; top: 14%; bottom: 0; border-radius: 50%; background: radial-gradient(closest-side, var(--bg-2) 30%, rgba(239, 228, 210, 0)); }
.slice { width: 100%; height: 100%; overflow: visible; }
.leader { fill: none; stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .6; }
.leader-dot { fill: var(--ink); }
.anatomy__labels { margin: 0; padding: 0; list-style: none; }
.lbl { position: absolute; left: 68.6%; right: 0; top: calc(var(--y) * 100% / 440); transform: translateY(-50%); font-size: .75rem; line-height: 1.2; }
.lbl b { display: block; font-weight: 750; }
.lbl span { display: none; color: var(--ink-2); }
.anatomy__hint { position: absolute; left: 0; right: 0; top: 4%; display: flex; justify-content: center; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 650; color: var(--ink-2); opacity: 0; pointer-events: none; transition: opacity .5s; }
.anatomy__hint .ico { width: 16px; height: 16px; }
.anatomy__stage.is-motion .anatomy__hint { opacity: 1; }
.anatomy__stage.is-motion .anatomy__hint.is-off { opacity: 0; }
.anatomy__cap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 16px; padding: 8px var(--gut) 0; text-align: center; }
.anatomy__name { font: 400 1.6rem/1.1 var(--ff-d); }
.anatomy__price { font-weight: 650; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.js .anatomy__stage:not(.is-live) { visibility: hidden; animation: reveal 0s 2.5s forwards; }
@keyframes reveal { to { visibility: visible; } }
@media (prefers-reduced-motion: reduce) { .js .anatomy__stage:not(.is-live) { visibility: visible; animation: none; } }
@media (min-width: 600px) {
  .lbl { font-size: .9375rem; }
  .lbl span { display: block; margin-top: 2px; font-size: .8125rem; }
}
@media (max-width: 959.98px) {
  .anatomy { min-height: calc(100svh - var(--hh)); }
}
@media (min-width: 960px) {
  .hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 16px; min-height: calc(100vh - var(--hh)); max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding: 8px var(--gut) 32px; }
  .hero__copy { padding: 0; }
  .hero__title { max-width: 10.5ch; }
  .hero__lede { margin-top: 22px; font-size: 1.1875rem; }
  .hero__cta { margin-top: 30px; }
  .hero__facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
  .hero__facts li { display: flex; align-items: center; gap: 8px; }
  .hero__facts .ico { width: 18px; height: 18px; color: var(--cherry); }
  .anatomy { margin: 0; }
  .lbl { font-size: 1rem; }
  .lbl span { font-size: .875rem; }
}

/* ---------- live photo ---------- */
.live { display: grid; gap: 22px; }
.live__media { overflow: hidden; border-radius: var(--r-l); background: var(--bg-3); }
.live__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.live__text { display: grid; gap: 14px; align-content: start; }
.live__text .link-arrow { margin-top: 6px; }
@media (min-width: 760px) {
  .live { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
  .live__media img { aspect-ratio: 1600 / 1056; }
  .live__text { padding-bottom: 12px; }
}

/* ---------- popular (home) ---------- */
.pop { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 14px; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; list-style: none; }
.pop::-webkit-scrollbar { display: none; }
.pop__item { position: relative; scroll-snap-align: start; }
.pop .pop__add { position: absolute; top: 10px; right: 10px; box-shadow: 0 6px 16px -8px rgba(42, 23, 18, .6); }
html:not(.js) .pop__add { display: none; }
.pop__link { display: grid; gap: 12px; color: var(--ink); text-decoration: none; }
.pop__media { display: block; overflow: hidden; border-radius: var(--r); background: var(--bg-3); }
.pop__media img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .8s var(--ease); }
.pop__name { font: 400 1.6rem/1.05 var(--ff-d); }
.pop__price { font-weight: 650; color: var(--ink-2); font-variant-numeric: tabular-nums; margin-top: -6px; }
@media (min-width: 760px) { .pop { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; overflow: visible; } }

/* ---------- how to order ---------- */
.steps { display: grid; gap: 0; counter-reset: s; list-style: none; padding: 0; }
.step-i { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 4px 16px; padding-bottom: 30px; }
.step-i::before { content: ""; position: absolute; left: 25px; top: 54px; bottom: 6px; width: 1px; background: var(--line-2); }
.step-i:last-child::before { display: none; }
.step-i__n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); font: 400 1.75rem/1 var(--ff-d); color: var(--cherry); }
.step-i h3 { align-self: center; font-size: 1.75rem; line-height: 1.05; }
.step-i p { grid-column: 2; color: var(--ink-2); max-width: 30rem; }
.steps__note { display: flex; gap: 10px; align-items: flex-start; margin-top: 8px; padding: 16px 18px; border-radius: var(--r); background: var(--bg-2); color: var(--ink-2); font-size: .9375rem; }
.steps__note .ico { color: var(--cherry); margin-top: 2px; }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .step-i { grid-template-columns: 1fr; padding: 0; }
  .step-i::before { left: 64px; right: -28px; top: 26px; bottom: auto; width: auto; height: 1px; }
  .step-i h3 { margin-top: 18px; }
  .step-i p { grid-column: 1; }
  .steps__note { margin-top: 40px; }
}

/* ---------- map card ---------- */
.mapcard { display: grid; overflow: hidden; border-radius: var(--r-l); background: var(--bg-2); }
.mapcard__map { position: relative; background: #ece1ce; }
.mapcard__map svg { width: 100%; height: auto; }
.mapcard__info { display: grid; gap: 16px; align-content: start; padding: 24px 20px 26px; }
.mapcard__addr { font: 400 1.6rem/1.1 var(--ff-d); }
.mapcard__how { color: var(--ink-2); margin-top: -8px; }
.hours { display: grid; gap: 6px; font-variant-numeric: tabular-nums; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 1px dashed var(--line-2); }
.hours dt { color: var(--ink-2); }
.hours dd { font-weight: 650; }
.open-now { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: .9375rem; }
.open-now::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #5d8a3a; box-shadow: 0 0 0 4px rgba(93, 138, 58, .18); }
.open-now.is-closed::before { background: var(--ink-3); box-shadow: 0 0 0 4px rgba(117, 89, 76, .16); }
.mapcard__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.map-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .55; } 100% { transform: scale(1.8); opacity: 0; } }
@media (min-width: 860px) {
  .mapcard { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
  .mapcard__map svg { height: 100%; object-fit: cover; }
  .mapcard__info { padding: clamp(28px, 4vw, 48px); align-content: center; }
  .mapcard__addr { font-size: 1.9rem; }
}

/* ---------- footer ---------- */
.foot { position: relative; margin-top: clamp(40px, 6vw, 80px); padding-top: 64px; padding-bottom: var(--demo); background: var(--ganache); color: var(--on-dark); }
.foot__drip { position: absolute; top: -1px; left: 0; width: 100%; height: 52px; }
.foot__drip path { fill: var(--bg); }
.foot__in { display: grid; gap: 34px; padding-top: 28px; padding-bottom: 36px; }
.foot .logo { color: var(--on-dark); }
.foot .logo__mark { color: #e8738a; }
.foot__brand p { margin-top: 12px; max-width: 22rem; color: var(--on-dark-2); }
.foot__col h2 { font: 700 .8125rem/1.2 var(--ff); letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 12px; }
.foot__col ul { display: grid; gap: 4px; padding: 0; list-style: none; }
.foot__col a { display: inline-block; padding: 6px 0; color: var(--on-dark); text-decoration: none; }
.foot__col a:hover { text-decoration: underline; text-decoration-color: #e8738a; }
.foot__col p { color: var(--on-dark); line-height: 1.7; }
.foot__col p + p { margin-top: 10px; }
.foot__base { display: grid; gap: 8px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(246, 238, 226, .14); font-size: .8125rem; color: var(--on-dark-2); }
.foot__base a { color: var(--on-dark); }
.foot__base a:hover { text-decoration-color: #e8738a; }
.foot :focus-visible { outline-color: #f3a3b1; }
@media (min-width: 760px) {
  .foot__in { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
  .foot__base { grid-template-columns: auto 1fr; gap: 24px; }
  .foot__base p:last-child { text-align: right; }
}

/* ---------- page head (inner pages) ---------- */
.phead { padding-top: clamp(28px, 5vw, 64px); padding-bottom: clamp(24px, 4vw, 48px); }
.phead h1 { font-size: clamp(3rem, 2.2rem + 3.6vw, 5.5rem); line-height: .95; }
.phead .lede { margin-top: 22px; }

/* ---------- catalogue ---------- */
.cat-head { display: grid; gap: 18px; padding-top: clamp(24px, 4vw, 56px); padding-bottom: 18px; }
.cat-head h1 { font-size: clamp(3rem, 2.2rem + 3.6vw, 5.5rem); line-height: .95; }
.cat-head .lede { margin-top: 10px; font-size: 1rem; }
.search { position: relative; }
.search .ico { position: absolute; left: 15px; top: 50%; margin-top: -10px; color: var(--ink-2); pointer-events: none; }
.search .input { padding-left: 46px; padding-right: 44px; min-height: 52px; border-radius: 999px; }
.search .input::-webkit-search-cancel-button { display: none; }
.search__clear { position: absolute; right: 4px; top: 50%; margin-top: -22px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--ink-2); }
.search__clear:hover { color: var(--ink); }
@media (min-width: 960px) {
  .cat-head { grid-template-columns: 1fr minmax(0, 420px); align-items: end; gap: 40px; }
}

.toolbar { position: sticky; top: var(--hh); z-index: 30; background: var(--bg); transition: box-shadow .3s; }
.toolbar.is-stuck { box-shadow: 0 1px 0 var(--line), 0 12px 20px -20px rgba(42, 23, 18, .4); }
.toolbar__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding-block: 10px; }
.cats { min-width: 0; min-inline-size: 0; display: flex; gap: 8px; margin: 0 calc(-1 * var(--gut)); padding: 2px var(--gut); overflow-x: auto; border: 0; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
.cats::-webkit-scrollbar { display: none; }
.cats legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.toolbar__row { display: flex; align-items: center; gap: 8px; }
.filter-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 14px; border: 0; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 650; font-size: .875rem; }
.filter-btn__n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--cherry); color: #fff7ef; font: 750 .75rem/20px var(--ff); text-align: center; }
.count { margin-right: auto; font-size: .875rem; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sort { width: auto; min-width: 0; max-width: 100%; min-height: 44px; border-radius: 999px; padding: 0 38px 0 16px; background-color: var(--paper); }
@media (max-width: 599.98px) { .count { display: none; } .toolbar__row .sort { margin-left: auto; flex: 0 1 auto; } }
@media (min-width: 960px) {
  :root { --tb: 68px; }
  .toolbar__in { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding-block: 12px; }
  .cats { margin: 0; padding: 2px 0; -webkit-mask-image: none; mask-image: none; flex-wrap: wrap; }
  .filter-btn { display: none; }
}

.cat { display: grid; gap: 24px; padding-top: 20px; }
.filters { display: none; }
@media (min-width: 960px) {
  .cat { grid-template-columns: 264px minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 28px; }
  .filters { display: block; position: sticky; top: calc(var(--hh) + var(--tb) + 20px); max-height: calc(100vh - var(--hh) - var(--tb) - 40px - var(--vs-demo-h, 0px)); overflow: auto; padding: 2px 4px 24px 2px; scrollbar-width: thin; }
}
.panel { display: grid; gap: 26px; }
.group { display: grid; gap: 10px; padding: 0; margin: 0; border: 0; min-width: 0; }
.group__title { padding: 0; margin-bottom: 2px; }
.group__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.group__chips .chip span { min-height: 40px; padding: 0 14px; }
@media (max-width: 959.98px) { .group__chips .chip span { min-height: 44px; } }
.price { display: grid; gap: 14px; }
.price__out { display: flex; justify-content: space-between; font-weight: 650; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.range { position: relative; height: 32px; --a: 0%; --b: 100%; }
.range::before, .range::after { content: ""; position: absolute; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; }
.range::before { left: 0; right: 0; background: var(--bg-3); }
.range::after { left: var(--a); right: calc(100% - var(--b)); background: var(--ink); }
.range input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; z-index: 1; }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); box-shadow: 0 4px 10px -4px rgba(42, 23, 18, .5); pointer-events: auto; cursor: grab; }
.range input::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); box-shadow: 0 4px 10px -4px rgba(42, 23, 18, .5); pointer-events: auto; cursor: grab; }
.range input::-webkit-slider-runnable-track { background: none; }
.range input::-moz-range-track { background: none; }
.range input:focus-visible { outline: none; }
.range input:focus-visible::-webkit-slider-thumb { outline: 2.5px solid var(--cherry); outline-offset: 2px; }
.range input:focus-visible::-moz-range-thumb { outline: 2.5px solid var(--cherry); outline-offset: 2px; }
.reset { justify-self: start; padding: 8px 0; border: 0; background: none; font-weight: 650; font-size: .875rem; color: var(--ink-2); text-decoration: underline; text-underline-offset: .25em; text-decoration-color: var(--line-2); }
.reset:hover { color: var(--cherry); text-decoration-color: currentColor; }

.grid { position: relative; overflow-anchor: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; padding: 0; margin: 0; list-style: none; }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 20px; } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 24px; } }
@media (min-width: 1180px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card__media { position: relative; overflow: hidden; border-radius: var(--r); background: var(--bg-3); }
.card__media img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .9s var(--ease); }
.card__tags { position: absolute; top: 8px; left: 8px; right: 8px; display: flex; flex-wrap: wrap; gap: 4px; pointer-events: none; }
.tag { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: 999px; background: rgba(253, 249, 243, .94); color: var(--ink); font-weight: 700; font-size: .6875rem; letter-spacing: .01em; box-shadow: 0 2px 8px -4px rgba(42, 23, 18, .4); }
.tag--new { background: var(--cherry); color: #fff7ef; }
.card__name { font-size: 1.3rem; line-height: 1.02; }
.card__open { padding: 0; border: 0; background: none; text-align: left; font: inherit; line-height: inherit; color: var(--ink); cursor: pointer; }
.card__open::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r); }
.card__open:focus-visible { outline: none; }
.card__open:focus-visible::after { outline: 2.5px solid var(--cherry); outline-offset: 4px; }
.card__desc { display: none; color: var(--ink-2); font-size: .875rem; line-height: 1.45; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.card__price { display: grid; gap: 1px; font-weight: 750; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.card__price small { font-weight: 550; font-size: .75rem; color: var(--ink-3); }
.card__add { position: relative; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--ink); color: var(--bg); transition: background-color .25s, transform .3s var(--ease); }
.card__add:active { transform: scale(.92); }
.card__add .ico { width: 20px; height: 20px; stroke-width: 2; }
.card__add .ico--check { display: none; }
.card__add.is-added { background: var(--cherry); }
.card__add.is-added .ico--plus { display: none; }
.card__add.is-added .ico--check { display: block; animation: pop-in .35s var(--ease); }
@keyframes pop-in { from { transform: scale(.4); opacity: 0; } }
@media (min-width: 600px) {
  .card__name { font-size: 1.55rem; }
  .card__desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: -4px; }
  .card__price { font-size: 1rem; }
  .card__add { width: 48px; height: 48px; }
}

.empty { display: grid; justify-items: center; gap: 14px; padding: 48px 16px 64px; text-align: center; }
.empty svg { width: 160px; height: auto; }
.empty h2 { font-size: 2.2rem; }
.empty p { color: var(--ink-2); max-width: 26rem; }
.cat-error { padding: 32px 0; color: var(--ink-2); }
.ns-list { display: grid; gap: 0; padding: 0; list-style: none; }
.ns-list li { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ns-list b { font: 400 1.5rem/1.1 var(--ff-d); }
.ns-note { margin: 16px 0; padding: 14px 16px; border-radius: var(--r-s); background: var(--bg-2); }

/* filter sheet */
.fsheet .dlg__body { padding-top: 8px; }
.fsheet .reset { display: none; }
.fsheet__foot { display: flex; gap: 10px; }
.fsheet__foot .btn--primary { flex: 1; }

/* ---------- quick view ---------- */
.qv__x { position: absolute; z-index: 3; top: 12px; right: 12px; background: rgba(253, 249, 243, .92); box-shadow: var(--sh-1); }
.qv__scroll { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.qv__media { background: var(--bg-3); }
.qv__media img { width: 100%; aspect-ratio: 1; max-height: 46dvh; object-fit: cover; }
.qv__info { display: grid; gap: 14px; padding: 22px 20px 24px; }
.qv__title { font-size: 2.4rem; line-height: .98; }
.qv__tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; list-style: none; }
.qv__tags .tag { box-shadow: inset 0 0 0 1px var(--line-2); background: var(--bg); }
.qv__desc { color: var(--ink-2); }
.opts { display: grid; gap: 8px; padding: 0; margin: 4px 0 0; border: 0; min-width: 0; }
.opts legend { padding: 0; margin-bottom: 8px; font-weight: 650; font-size: .875rem; }
.opt { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2px 12px; min-height: 58px; padding: 10px 16px 10px 14px; border-radius: var(--r-s); background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; transition: box-shadow .2s, background-color .2s; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt__dot { grid-row: span 2; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink-3); transition: box-shadow .25s var(--ease); }
.opt__l { font-weight: 700; }
.opt__n { grid-column: 2; font-size: .8125rem; color: var(--ink-3); }
.opt__p { grid-row: 1 / span 2; grid-column: 3; font-weight: 750; font-variant-numeric: tabular-nums; }
.opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); background: var(--paper); }
.opt:has(input:checked) .opt__dot { box-shadow: inset 0 0 0 6px var(--cherry); }
.opt:has(input:focus-visible) { outline: 2.5px solid var(--cherry); outline-offset: 2px; }
.qv__foot { display: flex; gap: 10px; align-items: center; }
.qv__foot .btn { flex: 1; }
.stepper { display: inline-flex; align-items: center; flex: none; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); background: #fff; }
.stepper button { display: grid; place-items: center; width: 44px; height: 48px; border: 0; background: none; color: var(--ink); border-radius: 999px; }
.stepper button:disabled { color: var(--line-2); cursor: not-allowed; }
.stepper output { min-width: 22px; text-align: center; font-weight: 750; font-variant-numeric: tabular-nums; }
.stepper--s button { width: 38px; height: 38px; }
.stepper--s .ico { width: 17px; height: 17px; }
@media (min-width: 960px) {
  .qv[open] {
    position: fixed; inset: 0; margin: auto; width: min(980px, calc(100vw - 64px)); height: min(640px, calc(100dvh - 64px));
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto;
    border-radius: var(--r-l); box-shadow: var(--sh-2); animation: qv-in .5s var(--ease);
  }
  .qv.is-closing { animation: qv-out .25s var(--ease-in) forwards; }
  @keyframes qv-in { from { opacity: 0; transform: translateY(18px) scale(.97); } }
  @keyframes qv-out { to { opacity: 0; transform: translateY(10px) scale(.98); } }
  .qv .dlg__head { display: none; }
  .qv__scroll { display: contents; }
  .qv__media { grid-row: 1 / span 2; grid-column: 1; }
  .qv__media img { height: 100%; max-height: none; }
  .qv__info { grid-row: 1; grid-column: 2; overflow: auto; padding: 40px 36px 24px; align-content: start; }
  .qv__title { font-size: 3rem; padding-right: 40px; }
  .qv__foot { grid-row: 2; grid-column: 2; padding: 16px 36px 24px; }
}

/* ---------- order drawer ---------- */
.order-empty { display: grid; justify-items: center; gap: 12px; padding: 24px 8px 12px; text-align: center; }
.order-empty svg { width: 150px; height: auto; }
.order-empty p { color: var(--ink-2); max-width: 22rem; }
.olist { display: grid; padding: 0; margin: 0 0 6px; list-style: none; }
.oi { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.oi img { grid-row: span 2; width: 60px; height: 60px; border-radius: 14px; object-fit: cover; background: var(--bg-3); }
.oi__name { font-weight: 700; line-height: 1.25; }
.oi__name small { display: block; font-weight: 550; font-size: .8125rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.oi__sum { font-weight: 750; font-variant-numeric: tabular-nums; text-align: right; }
.oi .stepper { grid-column: 2; justify-self: start; }
.oform { display: grid; gap: 0; margin-top: 18px; padding-top: 18px; }
.oform__title { font: 400 1.5rem/1.1 var(--ff-d); margin-bottom: 14px; }
.seg .chip span { min-height: 44px; }
.ototal { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.ototal span { color: var(--ink-2); font-weight: 600; }
.ototal b { font: 750 1.6rem/1 var(--ff); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.ototal > span:last-child { text-align: right; }
.ototal small { display: block; font-size: .75rem; color: var(--ink-3); text-align: right; font-weight: 550; }
.oactions { display: grid; gap: 8px; }
.onote { margin-top: 10px; font-size: .75rem; color: var(--ink-3); text-align: center; }
.view-lede { color: var(--ink-2); margin-bottom: 16px; }
.back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px 0 8px; border: 0; border-radius: 999px; background: none; font-weight: 650; font-size: .875rem; color: var(--ink-2); }
.back:hover { color: var(--ink); background: var(--bg-2); }
.back .ico { transform: scaleX(-1); }
.vfoot { display: flex; gap: 8px; align-items: center; }
.vfoot .btn { flex: 1; }

/* the chat preview */
.chat { overflow: hidden; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); background: var(--bg-2); }
.chat__bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--paper); border-bottom: 1px solid var(--line); }
.chat__ava { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--cherry); color: #fff7ef; font: 400 1.35rem/1 var(--ff-d); }
.chat__bar b { display: block; font-size: .9375rem; line-height: 1.2; }
.chat__bar small { display: block; color: var(--ink-3); font-size: .75rem; }
.chat__body { padding: 16px 12px 18px; background-image: radial-gradient(rgba(42, 23, 18, .07) 1px, transparent 1.4px); background-size: 14px 14px; }
.chat__day { display: table; margin: 0 auto 12px; padding: 3px 10px; border-radius: 999px; background: rgba(253, 249, 243, .9); font-size: .6875rem; font-weight: 700; color: var(--ink-2); }
.bubble { position: relative; max-width: 92%; padding: 10px 12px 8px; border-radius: 16px 16px 16px 4px; background: #fff; box-shadow: 0 1px 1px rgba(42, 23, 18, .08); font-size: .875rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; transition: transform .5s var(--ease), opacity .5s; }
.bubble b { font-weight: 750; }
.bubble__meta { display: flex; justify-content: flex-end; align-items: center; gap: 4px; margin-top: 2px; font-size: .6875rem; color: var(--ink-3); }
.bubble__meta svg { width: 18px; height: 12px; fill: none; stroke: var(--ink-3); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bubble__meta .tick2 { opacity: 0; transition: opacity .3s; }
.bubble.is-read .tick2 { opacity: 1; }
.bubble.is-read .bubble__meta svg { stroke: #4f8a3b; }

/* sent */
.done { display: grid; justify-items: center; gap: 14px; padding: 18px 4px; text-align: center; }
.done > svg { width: 96px; height: 96px; }
.done__ring { fill: none; stroke: var(--bg-3); stroke-width: 3; }
.done__check { fill: none; stroke: var(--cherry); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.done.is-on .done__check { animation: draw .7s .15s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h3 { font-size: 2.2rem; }
.done p { color: var(--ink-2); max-width: 24rem; }
.demo-note { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-s); background: var(--cherry-soft); color: var(--cherry-2); font-size: .875rem; font-weight: 600; line-height: 1.45; text-align: left; }
.demo-note .ico { margin-top: 1px; }

/* ---------- about ---------- */
.about-hero { display: grid; gap: 28px; }
.about-hero__media { overflow: hidden; border-radius: var(--r-l); background: var(--bg-3); }
.about-hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-hero figcaption { margin-top: 10px; font-size: .875rem; color: var(--ink-3); }
@media (min-width: 860px) {
  .about-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: end; }
  .about-hero__media img { aspect-ratio: 3 / 2; }
}
.facts { display: grid; gap: 0; padding: 0; margin: 0; }
.facts > div { display: grid; gap: 8px; padding: 22px 0; border-top: 1px solid var(--line-2); }
.facts > div:last-child { border-bottom: 1px solid var(--line-2); }
.facts dt { font: 400 1.9rem/1.05 var(--ff-d); }
.facts dd { color: var(--ink-2); max-width: 36rem; }
@media (min-width: 860px) { .facts > div { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); padding: 28px 0; } }
.team { display: grid; gap: 18px; max-width: 46rem; }
.team p { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.55; }
.cta-band { display: grid; gap: 20px; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-l); background: var(--bg-2); }
.cta-band h2 { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- prose pages: delivery, legal ---------- */
.doc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-bottom: 24px; }
.toc { display: flex; gap: 8px; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) 4px; overflow-x: auto; list-style: none; scrollbar-width: none; }
.toc::-webkit-scrollbar { display: none; }
.toc a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 600; font-size: .875rem; text-decoration: none; white-space: nowrap; }
.toc a:hover { box-shadow: inset 0 0 0 1px var(--ink); }
@media (min-width: 960px) {
  .doc { grid-template-columns: 220px minmax(0, 1fr); gap: 64px; align-items: start; }
  .toc { position: sticky; top: calc(var(--hh) + 28px); flex-direction: column; gap: 2px; margin: 0; padding: 0; overflow: visible; }
  .toc a { box-shadow: none; padding: 0 0 0 14px; min-height: 36px; border-left: 1px solid var(--line-2); border-radius: 0; color: var(--ink-2); }
  .toc a:hover { color: var(--ink); border-left-color: var(--cherry); box-shadow: none; }
}
.prose { max-width: 44rem; }
.prose section + section { margin-top: clamp(44px, 6vw, 64px); }
.prose h2 { font-size: clamp(2.1rem, 1.7rem + 1.6vw, 3rem); margin-bottom: 18px; }
.prose h3 { font: 700 1.0625rem/1.3 var(--ff); margin: 24px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 1.2em; margin-top: 10px; display: grid; gap: 6px; }
.prose li::marker { color: var(--cherry); }
.prose strong { color: var(--ink); font-weight: 700; }
.terms { width: 100%; border-collapse: collapse; margin-top: 6px; font-variant-numeric: tabular-nums; }
.terms th, .terms td { padding: 14px 0; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.terms th { padding-right: 16px; font-weight: 650; color: var(--ink); width: 55%; }
.terms td { color: var(--ink-2); }
.note-box { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); background: var(--bg-2); color: var(--ink-2); font-size: .9375rem; }
.note-box .ico { color: var(--cherry); margin-top: 2px; }
.req { display: grid; gap: 0; margin-top: 8px; }
.req div { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.req dt { font-size: .8125rem; color: var(--ink-3); font-weight: 600; }
.req dd { color: var(--ink); font-variant-numeric: tabular-nums; }
@media (min-width: 600px) { .req div { grid-template-columns: 200px 1fr; gap: 16px; } }

/* ---------- contacts ---------- */
.ways { display: grid; gap: 0; padding: 0; list-style: none; }
.way { display: grid; grid-template-columns: 48px 1fr; gap: 4px 16px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line-2); }
.way:last-child { border-bottom: 1px solid var(--line-2); }
.way__ico { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--bg-2); color: var(--cherry); }
.way b { font: 400 1.6rem/1.1 var(--ff-d); }
.way span { color: var(--ink-2); font-size: .9375rem; }
.way .btn { grid-column: 2; justify-self: start; margin-top: 8px; }
@media (min-width: 760px) { .way { grid-template-columns: 48px 1fr auto; } .way .btn { grid-column: 3; grid-row: 1 / span 2; margin: 0; } }
.contacts-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .contacts-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; } }

/* ---------- hover: only for a real pointer ---------- */
@media (hover: hover) {
  .btn--primary:hover { background: var(--cherry-2); color: #fff7ef; }
  .btn--dark:hover { background: #3d241c; color: var(--bg); }
  .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .x:hover { background: var(--bg-3); }
  .burger:hover { background: var(--bg-3); }
  .order-btn:hover { background: #3d241c; }
  .chip input:hover + span { box-shadow: inset 0 0 0 1px var(--ink-3); }
  .pop__link:hover img { transform: scale(1.045); }
  .card:hover .card__media img { transform: scale(1.05); }
  .card__add:hover { background: var(--cherry); }
  .stepper button:hover { color: var(--cherry); }
  .filter-btn:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
  .opt:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
  .link-arrow:hover .ico { transform: translateX(4px); }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .map-pulse { display: none; }
  .js .anatomy__stage:not(.is-live) { visibility: visible; }
}
