:root {
  --ink: #0a0a0a;
  --ink-2: #1a1a1a;
  --paper: #f7f4ef;
  --paper-2: #efeae2;
  --orange: #ff5a00;
  --orange-2: #ff7a33;
  --muted: #6b6560;
  --line: rgba(10, 10, 10, 0.08);
  --ok: #2f6b4f;
  --shadow: 0 18px 50px rgba(10, 10, 10, 0.12);
  --radius: 18px;
  --font-display: "Oswald", sans-serif;
  --font: "Outfit", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 90, 0, 0.12), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(255, 180, 120, 0.18), transparent 50%),
    linear-gradient(180deg, #fffdf9 0%, var(--paper) 40%, #f3efe8 100%);
  min-height: 100vh;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.035;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.topbar, main, footer, .sheet { position: relative; z-index: 1; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  backdrop-filter: blur(14px);
  background: rgba(247, 244, 239, 0.82);
  border-bottom: 1px solid var(--line);
}

.brand-logo { height: 28px; width: auto; display: block; }

.lang {
  display: inline-flex;
  background: var(--ink);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  border: 0;
  background: transparent;
  color: #fff;
  font: 600 12px/1 var(--font);
  letter-spacing: 0.06em;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.lang-btn.active { background: var(--orange); color: #fff; }

.hero {
  position: relative;
  margin: 14px 14px 0;
  border-radius: 24px;
  overflow: hidden;
  min-height: min(58vh, 420px);
  background: var(--ink);
  box-shadow: var(--shadow);
}
.hero-track {
  display: flex;
  width: 100%;
  height: min(58vh, 420px);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: grid;
  align-items: end;
  padding: 28px 22px 36px;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.15) 0%, rgba(10,10,10,0.72) 100%),
    radial-gradient(circle at 70% 20%, rgba(255,90,0,0.35), transparent 45%),
    var(--ink-2);
  color: #fff;
}
.slide.has-img {
  background-size: cover;
  background-position: center;
}
.slide-kicker {
  font: 600 12px/1 var(--font);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-2);
  margin-bottom: 10px;
}
.slide h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 8vw, 3.6rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 0.95;
  max-width: 12ch;
}
.slide p {
  margin: 12px 0 0;
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  max-width: 28ch;
}
.hero-dots {
  position: absolute;
  left: 0; right: 0; bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 7px;
}
.hero-dots button {
  width: 7px; height: 7px; border-radius: 99px;
  border: 0; background: rgba(255,255,255,0.35); padding: 0; cursor: pointer;
}
.hero-dots button.on { width: 22px; background: var(--orange); }

.cats {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 16px 14px 8px;
  scrollbar-width: none;
  position: sticky;
  top: 56px;
  z-index: 30;
  background: linear-gradient(180deg, rgba(247,244,239,0.95), rgba(247,244,239,0.75));
  backdrop-filter: blur(10px);
}
.cats::-webkit-scrollbar { display: none; }
.cat-chip {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 14px;
  font: 600 13px/1 var(--font);
  cursor: pointer;
  white-space: nowrap;
  transition: 0.2s ease;
}
.cat-chip.active, .cat-chip:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.menu-section { padding: 8px 14px 48px; }

.block { margin-top: 18px; scroll-margin-top: 120px; }
.block-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.block-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
}
.block-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sub-title {
  margin: 18px 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (min-width: 1100px) {
  .hero { margin: 18px 24px 0; }
  .menu-section, .cats { padding-left: 24px; padding-right: 24px; }
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  width: 100%;
  color: inherit;
  font: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card-img {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  border-radius: 0;
  object-fit: cover;
  background:
    linear-gradient(145deg, #2a2a2a, #111),
    radial-gradient(circle at 30% 20%, rgba(255,90,0,0.4), transparent 50%);
  display: block;
}
.card-img.placeholder {
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-display);
  font-size: clamp(28px, 8vw, 40px);
  letter-spacing: 0.08em;
}
.card-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 10px 12px;
}
.card-body h3 {
  margin: 0;
  font-size: clamp(0.82rem, 3.2vw, 1rem);
  font-weight: 700;
  line-height: 1.25;
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.price {
  font-weight: 700;
  color: var(--ink);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: var(--paper-2);
  border-radius: 999px;
  padding: 4px 8px;
}
.badge.kcal { color: var(--ok); }
.allergen-dots { display: flex; gap: 4px; flex-wrap: wrap; }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  opacity: 0.85;
}

.site-foot {
  text-align: center;
  padding: 28px 16px 48px;
  color: var(--muted);
}
.foot-logo { height: 22px; opacity: 0.85; margin-bottom: 8px; }
.site-foot p { margin: 0; font-size: 13px; }

.sheet {
  border: 0;
  padding: 0;
  width: min(520px, 100%);
  max-width: 100%;
  margin: auto auto 0;
  border-radius: 24px 24px 0 0;
  background: #fff;
  box-shadow: var(--shadow);
}
.sheet::backdrop { background: rgba(10,10,10,0.5); backdrop-filter: blur(4px); }
.sheet-inner { margin: 0; }
.sheet-close {
  position: absolute;
  right: 12px; top: 12px;
  z-index: 2;
  width: 40px; height: 40px;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,0.9);
  font-size: 24px;
  cursor: pointer;
}
.sheet-media {
  height: 220px;
  background:
    linear-gradient(145deg, #2a2a2a, #111),
    radial-gradient(circle at 30% 20%, rgba(255,90,0,0.45), transparent 55%);
  background-size: cover;
  background-position: center;
}
.sheet-body { padding: 18px 18px 28px; }
.sheet-body h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.sheet-price {
  margin: 8px 0 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--orange);
}
.sheet-desc { color: var(--muted); margin: 10px 0 0; line-height: 1.5; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.allergen-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.allergen-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  background: var(--paper);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.card, .block-head { animation: rise 0.45s ease both; }
