:root {
  --ink: #211714;
  --brown: #77584e;
  --brown-deep: #3b2822;
  --cream: #f4eee7;
  --paper: #fffaf5;
  --orange: #f36b21;
  --red: #d82f25;
  --muted: #9d8c84;
  --line: rgba(82, 55, 45, 0.16);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
button { font: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px max(18px, calc((100vw - var(--max)) / 2));
  background: rgba(255,250,245,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.brand { display: block; width: 178px; overflow: hidden; }
.brand img { width: 178px; height: 56px; object-fit: cover; object-position: right center; }
.language {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  background: white;
  display: flex;
  align-items: center;
  gap: 2px;
  cursor: pointer;
}
.language span { min-width: 34px; padding: 7px 8px; border-radius: 999px; text-align: center; font-weight: 800; font-size: .82rem; }
.language__active { background: var(--brown-deep); color: white; }

main { overflow: clip; }
.intro {
  min-height: 460px;
  position: relative;
  display: grid;
  align-items: end;
  color: white;
  background: var(--ink);
}
.intro__image, .intro__image::after { position: absolute; inset: 0; }
.intro__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .72; }
.intro__image::after { content: ""; background: linear-gradient(180deg, rgba(23,14,11,.08), rgba(23,14,11,.84)); }
.intro__content { position: relative; z-index: 1; width: min(var(--max), 100%); margin: 0 auto; padding: 120px 24px 46px; }
.eyebrow { margin: 0 0 8px; color: #ff9a52; font-weight: 800; }
.intro h1 { margin: 0; font-size: clamp(2.5rem, 7vw, 5rem); line-height: 1.05; letter-spacing: -.04em; }
.intro__content > p:last-child { margin: 14px 0 0; max-width: 570px; color: rgba(255,255,255,.84); font-size: 1.05rem; }

.category-nav {
  position: sticky;
  z-index: 15;
  top: 74px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 12px max(18px, calc((100vw - var(--max)) / 2));
  background: rgba(244,238,231,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.category-nav::-webkit-scrollbar { display: none; }
.category-nav a {
  flex: 0 0 auto;
  color: var(--brown-deep);
  text-decoration: none;
  font-weight: 800;
  font-size: .9rem;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.62);
}
.category-nav a:hover, .category-nav a:focus-visible { background: var(--orange); color: white; outline: none; }

.menu { width: min(var(--max), 100%); margin: 0 auto; padding: 14px 18px 80px; }
.category { scroll-margin-top: 145px; padding-top: 52px; }
.category__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr);
  min-height: 280px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--brown-deep);
  color: white;
}
.category__copy { display: flex; flex-direction: column; justify-content: end; padding: 34px; }
.category__number { color: #ff9651; font-weight: 900; letter-spacing: .12em; }
.category h2 { margin: 6px 0 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.05; }
.category__hero { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.dish-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; padding-top: 18px; }
.dish {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.dish__image-button { display: block; width: 100%; padding: 0; border: 0; background: #d7cec8; cursor: zoom-in; }
.dish__image { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .35s ease; }
.dish:hover .dish__image { transform: scale(1.025); }
.dish__body { min-height: 112px; display: grid; grid-template-columns: 1fr auto; align-content: center; gap: 10px 16px; padding: 20px; }
.dish__name { margin: 0; font-size: 1.08rem; line-height: 1.45; }
.dish__price { align-self: start; direction: ltr; white-space: nowrap; color: var(--orange); font-weight: 900; font-size: 1.05rem; }
.dish__options { grid-column: 1 / -1; display: grid; gap: 7px; margin-top: 4px; }
.dish__option { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding-top: 7px; border-top: 1px solid var(--line); color: var(--brown); font-size: .94rem; }
.dish__option-price { direction: ltr; white-space: nowrap; color: var(--orange); font-weight: 900; }
.dish__ref {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 2;
  padding: 5px 9px;
  color: white;
  background: rgba(31,21,17,.78);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  font: 700 .72rem/1 Tahoma, Arial, sans-serif;
  direction: ltr;
  backdrop-filter: blur(8px);
}
.placeholder { display: block; height: 16px; width: 118px; border-radius: 3px; border-bottom: 2px dashed #c9bcb5; }
.placeholder--price { width: 62px; }
.dish--missing { outline: 1px dashed rgba(243,107,33,.42); outline-offset: -5px; }
.detail-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-top: 18px; }
.detail-gallery .dish__image-button { overflow: hidden; border-radius: 18px; }
.detail-gallery img { width: 100%; max-height: 360px; object-fit: cover; }

footer { display: grid; place-items: center; padding: 54px 20px; color: #dacbc4; background: var(--ink); }
footer img { width: 170px; height: 118px; object-fit: cover; object-position: right; border-radius: 18px; }
footer p { margin: 14px 0 0; }

.lightbox { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px; background: rgba(20,13,11,.92); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 96vw); max-height: 86vh; border-radius: 12px; }
.lightbox__close { position: fixed; top: 18px; inset-inline-end: 18px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: white; color: var(--ink); font-size: 1.8rem; cursor: pointer; }

html[dir="ltr"] .brand img { object-position: left center; }

@media (max-width: 850px) {
  .intro { min-height: 390px; }
  .category__head { grid-template-columns: 1fr; }
  .category__copy { min-height: 150px; order: 2; padding: 24px; }
  .category__hero { min-height: 220px; max-height: 300px; }
  .dish-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .site-header { height: 66px; padding-inline: 14px; }
  .brand { width: 142px; }
  .brand img { width: 142px; height: 48px; }
  .category-nav { top: 66px; padding-inline: 14px; }
  .intro { min-height: 350px; }
  .intro__content { padding: 100px 20px 30px; }
  .menu { padding-inline: 12px; }
  .category { scroll-margin-top: 132px; padding-top: 36px; }
  .category__head { border-radius: 18px; }
  .category__copy { min-height: 126px; }
  .category__hero { min-height: 190px; }
  .dish-grid { gap: 10px; padding-top: 10px; }
  .detail-gallery { gap: 10px; margin-top: 10px; }
  .dish { border-radius: 14px; }
  .dish__body { min-height: 104px; grid-template-columns: 1fr; gap: 8px; padding: 14px; }
  .dish__name { font-size: .95rem; }
  .dish__price { font-size: .92rem; }
  .placeholder { width: 92px; }
  .placeholder--price { width: 48px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .dish__image { transition: none; } }

.category__head--text { grid-template-columns: 1fr; min-height: 150px; }
