@font-face {
  font-family: Golos;
  src: url("/assets/golos-text-cyrillic-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Golos;
  src: url("/assets/golos-text-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

:root {
  color-scheme: dark;
  font-family: Golos, Arial, sans-serif;
  font-synthesis: none;
  background: #1e141c;
  color: #fff4e8;
  --ink: #1e141c;
  --text: #fff4e8;
  --muted: #d4c4ca;
  --accent: #ffc964;
  --accent-hover: #ffdb8f;
  --panel: #2c1f2b;
  --line: #533f4f;
  --media: #dccbd9;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --shell: min(100% - 2 * var(--gutter), 1344px);
  --gutter: clamp(20px, 4.5vw, 64px);
  --header-height: 72px;
  --radius: 16px;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .5; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, p { margin: 0; }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }
.shell { width: var(--shell); margin-inline: auto; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  z-index: 4;
  inset: 10px auto auto 10px;
  padding: 12px;
  background: var(--accent);
  color: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 2;
  background: #231622;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.mark { display: inline-flex; align-items: center; min-height: 48px; }
.mark img { width: 138px; }
.header-inner nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 30px); }
.header-inner nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .91rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.header-menu { padding-inline: 8px; }
.header-menu[aria-current] { color: var(--accent); }
.header-cart { padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; }
.header-cart[aria-current] { border-color: var(--accent); }
.bag {
  width: 14px;
  height: 13px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  position: relative;
  margin-inline-end: 2px;
}
.bag::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -5px;
  translate: -50% 0;
  width: 6px;
  height: 6px;
  border: 1.5px solid currentColor;
  border-bottom: none;
  border-radius: 5px 5px 0 0;
}
.badge {
  color: var(--ink);
  background: var(--accent);
  border-radius: 99px;
  min-width: 21px;
  height: 21px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  font-size: .72rem;
  font-variant-numeric: tabular-nums;
}

.button, .text-link, .back-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .8em;
  min-height: 48px;
  font-weight: 700;
  text-decoration: none;
  touch-action: manipulation;
}
.button {
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  min-height: 54px;
  text-align: start;
  font-size: 1rem;
  transition: background-color 150ms ease;
}
.button-primary { background: var(--accent); color: var(--ink); }
.button-primary span { font-size: 1.25em; line-height: 1; }
.button-primary:hover { background: var(--accent-hover); }
.text-link { color: var(--accent); width: fit-content; }
.back-link { color: var(--muted); font-size: .88rem; }
.text-link:hover, .back-link:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: .24em; }

.hero {
  display: grid;
  position: relative;
  isolation: isolate;
  background: #190a17;
  overflow: hidden;
  min-height: calc(100svh - var(--header-height));
}
.hero-media, .hero::after { position: absolute; z-index: -1; inset: 0; }
.hero-media { overflow: hidden; }
.hero-media img { height: 100%; object-fit: cover; object-position: right center; }
.hero::after {
  content: "";
  background: linear-gradient(90deg, rgba(26, 11, 21, .68) 5%, rgba(26, 11, 21, .18) 38%, transparent 63%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  min-height: inherit;
  display: grid;
  align-items: center;
  padding-block: 84px 108px;
}
.hero-copy { min-width: 0; width: max-content; max-width: 100%; }
.hero-tag, .eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .045em;
  font-size: .76rem;
  font-weight: 750;
  line-height: 1.5;
}
.hero-tag { display: flex; align-items: center; gap: 9px; margin-bottom: clamp(18px, 3vw, 32px); }
.hero-tag span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  font-size: clamp(5.3rem, 10vw, 10rem);
  letter-spacing: -.062em;
  line-height: .86;
  font-weight: 820;
  text-shadow: 0 4px 24px rgba(25, 10, 23, .2);
}
.hero h1 span { color: var(--accent); }
.hero-description {
  max-width: 15.5em;
  margin-top: clamp(21px, 3vw, 34px);
  font-size: clamp(1rem, 1.65vw, 1.39rem);
  color: #f8e6eb;
  line-height: 1.44;
}
.hero-button { margin-top: 24px; min-width: 190px; }
.hero-feature {
  position: absolute;
  right: 0;
  bottom: 28px;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: .25em;
  font-weight: 700;
  text-shadow: 0 1px 9px #190a17, 0 2px 3px #190a17;
  min-height: 44px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.hero-feature:hover { color: var(--accent); }

.home-menu { padding-block: clamp(68px, 9vw, 132px); }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: clamp(20px, 3vw, 38px);
}
.section-heading h2 {
  font-size: clamp(2rem, 6vw, 5.15rem);
  font-weight: 770;
  line-height: .98;
  letter-spacing: -.047em;
}
.section-heading .text-link { flex: none; }
.category-deck { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); }
.category-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 0 0 1px var(--line);
  text-decoration: none;
}
.category-image, .food-photo, .dish-photo, .cart-photo {
  display: block;
  overflow: hidden;
  background: var(--media);
  outline: 1px solid rgba(0, 0, 0, .1);
  outline-offset: -1px;
}
.category-image { aspect-ratio: 4 / 3; }
.category-image img, .food-photo img, .dish-photo img, .cart-photo img { height: 100%; object-fit: cover; }
.category-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px;
  font-size: clamp(1rem, 2.5vw, 2rem);
  font-weight: 700;
  gap: 5px;
}
.category-label span { color: var(--accent); }

.inner-page { padding-block: clamp(16px, 3vw, 40px) clamp(68px, 9vw, 144px); }
.page-heading { margin-block: 12px clamp(26px, 4vw, 54px); }
.page-heading h1, .dish h1, .confirmation h1 {
  font-size: clamp(3rem, 8.5vw, 7rem);
  font-weight: 780;
  line-height: .95;
  letter-spacing: -.046em;
  overflow-wrap: anywhere;
  text-wrap: initial;
}
.page-heading p, .dish-description {
  margin-top: .9em;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.3rem);
  line-height: 1.55;
}
.menu-controls {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: start;
  gap: 12px 20px;
  margin-bottom: 26px;
}
.menu-search { flex: 0 1 250px; }
.menu-search input {
  color: var(--text);
  background: var(--panel);
  border: 1px solid #897486;
  border-radius: 999px;
  width: 100%;
  min-height: 48px;
  padding: 0 17px;
  font-size: 1rem;
}
.menu-search input::placeholder { color: var(--muted); }
.menu-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.menu-filter button, .option-list label {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding-inline: 17px;
  font-size: .93rem;
  font-weight: 650;
  transition: background-color 150ms ease, border-color 150ms ease;
}
.menu-filter button[aria-pressed="true"], .option-list input:checked + label {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}
.menu-filter button:hover, .option-list label:hover { border-color: var(--accent); }
.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); }
.food-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--line);
}
.food-photo { aspect-ratio: 4 / 3; border-radius: var(--radius) var(--radius) 0 0; }
.food-photo:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.food-info { display: flex; flex-direction: column; flex: 1; padding: clamp(13px, 2vw, 23px); }
.food-info h2 { font-size: clamp(1.15rem, 2.5vw, 1.9rem); font-weight: 740; letter-spacing: -.055em; line-height: 1.12; }
.food-info h2 a { text-decoration: none; }
.food-info h2 a:hover { text-decoration: underline; text-underline-offset: .2em; }
.food-info p { color: var(--muted); line-height: 1.45; margin-block: 8px 12px; font-size: .94rem; }
.food-price { display: flex; justify-content: space-between; gap: 5px; align-items: center; margin-top: auto; }
.food-price strong { white-space: nowrap; font-size: clamp(1rem, 2.2vw, 1.27rem); font-weight: 730; font-variant-numeric: tabular-nums; }
.choose-item {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-inline: 12px;
  color: var(--ink);
  background: var(--accent);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  transition: background-color 150ms ease;
}
.choose-item:hover { background: var(--accent-hover); }
.quick-add, .quantity button {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  width: 45px;
  height: 45px;
  border: 0;
  background: var(--accent);
  border-radius: 50%;
  color: var(--ink);
  font-size: 1.48rem;
  line-height: 1;
  touch-action: manipulation;
  transition: background-color 150ms ease;
}
.quick-add:hover, .quantity button:hover:not(:disabled) { background: var(--accent-hover); }
.quick-add.is-added { background: #f0dce6; font-size: 1.15rem; }

.dish { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 75px); align-items: center; margin-top: clamp(10px, 3vw, 35px); }
.dish-photo { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.dish-content .eyebrow { margin-bottom: 10px; }
.dish h1 { font-size: clamp(2.6rem, 6.65vw, 6.2rem); }
.dish-description { max-width: 29em; }
.dish-options, .checkout-form fieldset { margin: 22px 0 0; padding: 0; border: none; min-width: 0; }
.dish-options legend, .checkout-form legend, .form-heading h2 { font-weight: 720; }
.option-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.option-list > div { position: relative; }
.option-list input {
  position: absolute;
  clip-path: inset(50%);
  pointer-events: none;
}
.option-list input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 3px; }
.option-list label { cursor: pointer; }
.dish-weight { color: var(--muted); margin-top: 14px; }
.dish-buy { display: flex; align-items: center; gap: 20px; margin-top: 24px; }
.dish-buy strong { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: clamp(1.5rem, 3vw, 2.3rem); }
.inline-feedback { margin-top: 14px; color: var(--muted); }
.inline-feedback a { color: var(--accent); display: inline-block; padding-block: 6px; }

.order-page { max-width: 1160px; }
.order-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(270px, 1fr); align-items: start; gap: clamp(25px, 5vw, 76px); }
.cart-lines, .checkout-lines { list-style: none; padding: 0; margin: 0; }
.cart-line {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto minmax(70px, auto);
  gap: clamp(10px, 2vw, 18px);
  align-items: center;
  min-height: 98px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
}
.cart-photo { aspect-ratio: 1; border-radius: 10px; }
.line-info a { font-weight: 700; text-decoration: none; }
.line-info a:hover { text-decoration: underline; text-underline-offset: .2em; }
.line-info p { color: var(--muted); margin-top: 5px; font-size: .82rem; }
.quantity { display: flex; align-items: center; gap: 5px; }
.quantity button { background: var(--panel); border: 1px solid var(--line); color: var(--text); width: 40px; height: 40px; }
.quantity button:hover:not(:disabled) { color: var(--ink); }
.quantity output, .line-sum { font-variant-numeric: tabular-nums; }
.quantity output { min-width: 2ch; text-align: center; }
.line-sum { justify-self: end; white-space: nowrap; }
.order-summary, .checkout-form {
  background: var(--panel);
  border-radius: var(--radius);
  padding: clamp(19px, 3vw, 34px);
  box-shadow: 0 0 0 1px var(--line);
}
.order-summary { position: sticky; top: 18px; }
.summary-title { font-weight: 750; font-size: 1.32rem; letter-spacing: -.03em; }
.order-summary p { margin-top: 12px; color: var(--muted); text-align: center; font-size: .8rem; }
.order-summary dl { margin: 16px 0 20px; }
.order-summary dl > div, .checkout-lines li { display: flex; justify-content: space-between; gap: 8px; padding-block: 9px; line-height: 1.4; }
.order-summary .summary-total { border-top: 1px solid var(--line); margin-top: 7px; font-size: 1.18rem; font-weight: 740; }
.order-summary dd { margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.order-summary .button { width: 100%; }
.order-summary:has(.checkout-lines) dl { margin-bottom: 0; }
.checkout-lines { margin-top: 8px; }
.checkout-lines strong { white-space: nowrap; }
.checkout-lines small { color: var(--muted); }
.checkout-variant { display: block; }
.empty-state { padding: clamp(20px, 5vw, 48px); background: var(--panel); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); }
.empty-state p { color: var(--muted); line-height: 1.5; margin-bottom: 18px; }
.empty-state h1 { margin-bottom: 18px; font-size: clamp(2rem, 5vw, 4rem); }
.menu-empty { grid-column: 1 / -1; }

.checkout-form fieldset { margin-top: 0; }
.field { display: grid; align-content: start; gap: 6px; min-width: 0; }
.field label { font-size: .92rem; font-weight: 620; }
.field input, .field textarea {
  min-height: 48px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #897486;
  border-radius: 9px;
  outline-offset: 2px;
  color: var(--text);
  background: var(--ink);
  font-size: 1rem;
}
.field textarea { resize: vertical; }
.field :user-invalid { border-color: #ffa69b; }
.field small, .form-note, .pickup-note { color: var(--muted); line-height: 1.45; font-size: .85rem; }
[data-address-field], .pickup-note { margin-top: 20px; }
.form-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 10px; margin-block: 12px 3px; }
.form-heading h2 { font-size: 1.08rem; }
.fill-example { border: 0; padding: 0; background: none; font-size: .84rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.form-note { margin-block: 19px 12px; }
.confirmation { padding-block: clamp(35px, 9vw, 150px); }
.confirmation-mark {
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--accent);
  color: var(--ink);
  width: 56px;
  aspect-ratio: 1;
  border-radius: 50%;
  margin-bottom: 18px;
}
.confirmation h1 { font-size: clamp(2.6rem, 7vw, 5.9rem); margin-bottom: .25em; }
.confirmation p { color: var(--muted); line-height: 1.55; }
.confirmation-actions { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 25px; }

.site-footer { border-top: 1px solid var(--line); padding-block: 22px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px 30px; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.footer-inner strong { color: var(--text); }
.footer-inner p { margin-top: 2px; }
.footer-inner a { color: var(--accent); font-weight: 650; text-decoration: none; white-space: nowrap; display: flex; align-items: center; min-height: 44px; gap: 5px; }

@media (prefers-reduced-motion: no-preference) {
  .hero-media img { animation: serve 850ms var(--ease-out) both; }
  .hero-copy > [data-enter] { animation: enter 460ms var(--ease-out) both; }
  .hero-copy > [data-enter]:nth-child(2) { animation-delay: 55ms; }
  .hero-copy > [data-enter]:nth-child(3) { animation-delay: 110ms; }
  .hero-copy > [data-enter]:nth-child(4) { animation-delay: 165ms; }
  .dish [data-enter] { animation: enter 420ms var(--ease-out) both; }
  .dish-content[data-enter] { animation-delay: 75ms; }
  .menu-changing .food-card { animation: menu-enter 205ms var(--ease-out) both; }
  .menu-changing .food-card:nth-child(3n + 2) { animation-delay: 28ms; }
  .menu-changing .food-card:nth-child(3n) { animation-delay: 56ms; }
  .order-summary[data-enter], .confirmation:not([hidden]) { animation: enter 280ms var(--ease-out) both; }
  .button, .quick-add, .quantity button { transition: background-color 150ms ease, transform 130ms var(--ease-out); }
  .button:active, .quick-add:active, .quantity button:active { transform: scale(.97); }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .category-card, .food-card { transition: transform 200ms var(--ease-out); }
  .category-card:hover, .food-card:has(.food-photo:hover) { transform: translateY(-2px); }
  .category-image img, .food-photo img { transition: transform 270ms var(--ease-out); }
  .category-card:hover img, .food-photo:hover img { transform: scale(1.035); }
}
@keyframes serve { from { transform: translate3d(1.75%, 0, 0) scale(1.075); } to { transform: translate3d(0, 0, 0) scale(1); } }
@keyframes enter { from { opacity: 0; transform: translateY(13px); } to { opacity: 1; transform: translateY(0); } }
@keyframes menu-enter { from { opacity: .4; transform: translateY(9px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 820px) {
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}
@media (max-width: 680px) {
  :root { --header-height: 64px; }
  .mark img { width: 113px; }
  .header-menu { padding-inline: 4px; }
  .header-inner nav a { gap: 5px; font-size: .83rem; }
  .header-cart { padding-inline: 11px; }
  .bag { width: 12px; height: 11px; margin-inline-end: 0; }
  .hero { min-height: max(630px, 100svh - var(--header-height)); }
  .hero-inner { align-items: start; padding-block: clamp(30px, 6svh, 64px) 72px; }
  .hero-media { top: auto; height: 66%; }
  .hero-media img { object-position: center 55%; }
  .hero::after { background: linear-gradient(180deg, #190a17 0 29%, rgba(25, 10, 23, .83) 38%, transparent 57%); }
  .hero h1 { font-size: clamp(4.35rem, 14.5vw, 7.5rem); }
  .hero-description { max-width: 18em; margin-top: 16px; }
  .hero-tag { margin-bottom: 14px; font-size: .68rem; }
  .hero-button { min-width: 0; min-height: 49px; margin-top: 17px; }
  .hero-feature { bottom: 15px; min-height: 42px; font-size: .84rem; }
  .category-deck { gap: 9px; }
  .category-label { padding: 11px 9px; font-size: clamp(.9rem, 3.1vw, 1.22rem); line-height: 1.12; }
  .category-label span { display: none; }
  .page-heading { margin-top: 9px; }
  .page-heading p { margin-top: .6em; }
  .menu-controls { margin-bottom: 20px; }
  .menu-search { flex-basis: 100%; }
  .menu-filter button { padding-inline: 12px; font-size: .87rem; min-height: 44px; }
  .food-info p { font-size: .8rem; }
  .food-price strong { font-size: .9rem; }
  .choose-item { padding-inline: 7px; font-size: .77rem; }
  .quick-add { width: 44px; height: 44px; }
  .dish { grid-template-columns: minmax(0, 1fr); }
  .dish-photo { max-height: 440px; }
  .dish h1 { font-size: clamp(2.5rem, 11vw, 5rem); }
  .footer-inner { flex-wrap: wrap; }
}
@media (max-width: 420px) {
  :root { --gutter: 17px; }
  .cart-line { grid-template-columns: 52px minmax(0, 1fr) auto; row-gap: 7px; }
  .cart-photo { grid-row: 1 / span 2; align-self: start; }
  .line-info { grid-column: span 2; }
  .quantity button { width: 44px; height: 44px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 340px) {
  :root { --gutter: 13px; }
  .mark img { width: 100px; }
  .bag { display: none; }
  .menu-grid { grid-template-columns: minmax(0, 1fr); }
  .section-heading { align-items: flex-start; }
}
