:root {
  --bg: #1e070c;
  --bg-2: #2a0b12;
  --bg-3: #35101a;
  --line: rgba(201, 162, 106, .28);
  --line-soft: rgba(201, 162, 106, .14);
  --gold: #c9a26a;
  --gold-soft: #e4c99c;
  --red: #c0303c;
  --text: #f3ece2;
  --muted: #a99d8c;
  --serif: "Cormorant Garamond", "Amiri", Georgia, serif;
  --sans: "Inter", "Cairo", system-ui, sans-serif;
  --pad: clamp(16px, 4vw, 48px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); font-weight: 300; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-family: "Amiri", var(--serif); font-weight: 500; }

.eyebrow { font-size: .72rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-soft); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem 1.5rem; border: 1px solid var(--gold); color: var(--gold-soft); background: transparent;
  font: 400 .72rem var(--sans); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
  transition: background .25s, color .25s; cursor: pointer;
}
.btn:hover { background: var(--gold); color: var(--bg); }
.btn.arrow::after { content: "→"; letter-spacing: 0; }
.btn.solid { background: var(--gold); color: var(--bg); }
.btn.solid:hover { background: var(--gold-soft); }

/* ---------- HEADER ---------- */
header {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: .7rem var(--pad);
  background: linear-gradient(to bottom, rgba(30,7,12,.92), rgba(30,7,12,0));
  transition: background .3s;
}
header.solid, body.inner header { background: rgba(30,7,12,.97); border-bottom: 1px solid var(--line); }
.logo img { height: 56px; width: auto; }
nav ul { display: flex; gap: 2rem; list-style: none; }
nav a { white-space: nowrap; font-family: var(--serif); font-size: 1.05rem; opacity: .85; padding-bottom: .3rem; border-bottom: 1px solid transparent; }
html[lang="ar"] nav a { font-family: "Cairo", var(--sans); font-size: .9rem; }
nav a:hover, nav a.active { opacity: 1; border-color: var(--gold); }
.head-right { display: flex; align-items: center; gap: 1rem; }
.langs { display: flex; gap: .15rem; }
.langs button { background: none; border: 0; border-bottom: 1px solid transparent; color: var(--muted); font: 500 .72rem var(--sans); letter-spacing: .12em; padding: .35rem .45rem; cursor: pointer; }
.langs button.on { color: var(--gold-soft); border-color: var(--gold); }
.cart-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--line); color: var(--gold-soft); }
.cart-link:hover { border-color: var(--gold); }
.cart-link svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.cart-count { position: absolute; top: -7px; right: -7px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--red); color: #fff; font: 500 .68rem/19px var(--sans); text-align: center; }
.cart-count:empty { display: none; }
.burger { display: none; background: none; border: 0; color: var(--gold-soft); font-size: 1.6rem; cursor: pointer; }

/* ---------- PAGE TITLE (inner pages) ---------- */
.page-head { position: relative; padding: 9rem var(--pad) 3.5rem; text-align: center; overflow: hidden;
  background: #2a0b12 url("../img/texture.jpg") center / cover; }
.page-head::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(30,7,12,.78), rgba(30,7,12,.92)); }
.page-head > * { position: relative; }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); margin-top: .5rem; }

/* ---------- SECTION HEAD ---------- */
.sec-head { text-align: center; padding: 5rem 16px 2.8rem; }
.sec-head h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-top: .6rem; display: flex; align-items: center; justify-content: center; gap: 2rem; }
.sec-head h2::before, .sec-head h2::after { content: ""; height: 1px; width: min(16vw, 160px); background: linear-gradient(90deg, transparent, var(--gold)); flex-shrink: 0; }
.sec-head h2::after { transform: scaleX(-1); }

/* ---------- HOME ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 8rem clamp(16px, 6vw, 80px) 5rem; overflow: hidden;
  background: #1e070c url("../img/hero.jpg") right center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(30,7,12,.97) 0%, rgba(30,7,12,.85) 45%, rgba(30,7,12,.35) 100%), linear-gradient(to top, var(--bg), transparent 30%); }
.hero-inner { position: relative; max-width: 640px; }
.hero h1 { font-size: clamp(3rem, 8vw, 6rem); margin: 1rem 0 1.2rem; line-height: 1.05; }
html[lang="ar"] .hero h1, html[lang="ru"] .hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.8rem); }
.hero .tag { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2.4vw, 1.6rem); opacity: .92; margin-bottom: 2.4rem; }
.hero .btns { display: flex; flex-wrap: wrap; gap: 1rem; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; max-width: 1200px; margin: 0 auto; padding: 6rem var(--pad); }
.about h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin: .7rem 0 1.4rem; }
.about p { color: var(--muted); margin-bottom: 1rem; max-width: 520px; }
.about .ph { aspect-ratio: 4 / 5; background: #2a0b12 url("../img/texture.jpg") center / cover; border: 1px solid var(--line); position: relative; }
.about .ph img { position: absolute; width: 70%; left: 15%; top: 50%; transform: translateY(-50%); filter: drop-shadow(0 10px 30px rgba(0,0,0,.6)); }

.offer { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1320px; margin: 0 auto; padding: 0 var(--pad) 5rem; gap: 1.2rem; }
.offer div { border: 1px solid var(--line); padding: 2rem 1.4rem; background: var(--bg-2); text-align: center; }
.offer svg { width: 40px; height: 40px; stroke: var(--gold); fill: none; stroke-width: 1.2; margin: 0 auto 1rem; }
.offer h3 { font-size: 1.35rem; margin-bottom: .6rem; }
html[lang="ar"] .offer h3 { font-size: 1.1rem; }
.offer p { font-size: .88rem; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; padding: 0 var(--pad) 5rem; max-width: 1320px; margin: 0 auto; }
.sig { border: 1px solid var(--line); background: var(--bg-2); transition: transform .3s, border-color .3s; text-align: center; }
.sig:hover { transform: translateY(-4px); border-color: var(--gold); }
.sig .ph { background: var(--bg-2); aspect-ratio: 1 / 1; overflow: hidden; }
.sig .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sig:hover .ph img { transform: scale(1.04); }
.sig h3 { font-size: 1.45rem; padding: 1.1rem 1rem 1.3rem; }

.split { display: grid; grid-template-columns: 1.2fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 440px; }
.split .ph { background: #d9cfc0 url("../img/stone.jpg") center bottom / cover; }
.split .txt { display: flex; flex-direction: column; justify-content: center; padding: 3.5rem clamp(16px, 5vw, 64px); background: var(--bg-2); }
.split h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin: .6rem 0 1rem; }
.split p { color: var(--muted); margin-bottom: 1.8rem; max-width: 440px; }

.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: 0 var(--pad) 5rem; max-width: 1320px; margin: 0 auto; }
.contact > div { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.contact h3 { font-size: 1.35rem; color: var(--gold-soft); margin-bottom: .6rem; }
.contact p { color: var(--muted); font-size: .92rem; }

/* ---------- MENU PAGE ---------- */
.cat-nav { position: sticky; top: 77px; z-index: 20; background: rgba(30,7,12,.97); border-bottom: 1px solid var(--line); }
.cat-nav ul { list-style: none; display: flex; gap: .5rem; overflow-x: auto; padding: .8rem var(--pad); max-width: 1320px; margin: 0 auto; scrollbar-width: none; }
.cat-nav ul::-webkit-scrollbar { display: none; }
.cat-nav a { display: block; white-space: nowrap; border: 1px solid var(--line); padding: .5rem 1rem; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; transition: all .2s; }
.cat-nav a:hover { border-color: var(--gold); }
.cat-nav a.on { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.menu-wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--pad) 4rem; }
.cat { padding-top: 3.5rem; }
.cat > h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 1.6rem; display: flex; align-items: center; gap: 1.2rem; }
.cat > h2::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.dishes { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.2rem; }
.dish { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--bg-2); transition: border-color .3s; }
.dish:hover { border-color: var(--gold); }
.dish .ph { aspect-ratio: 1 / 1; background: var(--bg-2); overflow: hidden; }
.dish .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dish:hover .ph img { transform: scale(1.04); }
.dish .body { flex: 1; display: flex; flex-direction: column; padding: 1rem 1.1rem 1.1rem; }
.dish h3 { font-size: 1.3rem; line-height: 1.2; }
html[lang="ar"] .dish h3 { font-size: 1.05rem; }
.dish .desc { font-size: .8rem; color: var(--muted); margin-top: .4rem; }
.dish .w { font-size: .76rem; color: var(--muted); margin-top: .3rem; }
.dish .foot { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.price b { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; color: var(--gold-soft); }
.price small { font-size: .74rem; color: var(--muted); margin-left: .35rem; }
.add { background: none; border: 1px solid var(--gold); color: var(--gold-soft); padding: .5rem .85rem; font: 400 .7rem var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: all .2s; white-space: nowrap; }
.add:hover { background: var(--gold); color: var(--bg); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--gold); }
.qty button { width: 32px; height: 32px; background: none; border: 0; color: var(--gold-soft); font-size: 1.1rem; cursor: pointer; }
.qty button:hover { background: var(--gold); color: var(--bg); }
.qty span { min-width: 28px; text-align: center; font-weight: 500; }
.menu-note { text-align: center; color: var(--muted); font-size: .8rem; padding: 2rem 16px 0; }

/* floating cart bar */
.cart-bar { position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 140%); z-index: 25; display: flex; align-items: center; gap: 1.2rem;
  background: var(--gold); color: var(--bg); padding: .8rem 1rem .8rem 1.4rem; box-shadow: 0 10px 30px rgba(0,0,0,.5); transition: transform .35s; width: max-content; max-width: calc(100% - 32px); }
.cart-bar.show { transform: translate(-50%, 0); }
.cart-bar b { font-weight: 500; }
.cart-bar a { background: var(--bg); color: var(--gold-soft); padding: .6rem 1rem; font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; white-space: nowrap; }

/* ---------- DELIVERY PAGE ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; max-width: 1320px; margin: 0 auto; padding: 3.5rem var(--pad) 1rem; counter-reset: s; }
.steps div { border: 1px solid var(--line); background: var(--bg-2); padding: 1.6rem 1.3rem; counter-increment: s; }
.steps div::before { content: counter(s); display: block; font-family: var(--serif); font-size: 2.4rem; color: var(--gold); line-height: 1; margin-bottom: .8rem; }
.steps h3 { font-size: 1.25rem; margin-bottom: .4rem; }
html[lang="ar"] .steps h3 { font-size: 1.05rem; }
.steps p { font-size: .86rem; color: var(--muted); }
.del-info { text-align: center; color: var(--gold-soft); font-size: .9rem; padding: 1rem var(--pad) 0; }
.checkout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2rem; max-width: 1320px; margin: 0 auto; padding: 3rem var(--pad) 5rem; align-items: start; }
.panel { border: 1px solid var(--line); background: var(--bg-2); padding: 1.6rem; }
.panel h2 { font-size: 1.9rem; margin-bottom: 1.2rem; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 1rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--line-soft); }
.line img { width: 64px; height: 64px; object-fit: cover; background: var(--bg-2); }
.line .nm { font-family: var(--serif); font-size: 1.15rem; line-height: 1.2; }
html[lang="ar"] .line .nm { font-family: "Amiri", var(--serif); font-size: .98rem; }
.line .each { font-size: .76rem; color: var(--muted); }
.line .right { display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; }
.line .sum { font-family: var(--serif); font-size: 1.2rem; color: var(--gold-soft); white-space: nowrap; }
.totals { display: flex; justify-content: space-between; align-items: baseline; padding-top: 1.2rem; }
.totals span { letter-spacing: .15em; text-transform: uppercase; font-size: .8rem; color: var(--muted); }
.totals b { font-family: var(--serif); font-weight: 500; font-size: 2rem; color: var(--gold-soft); }
.totals small { display: block; text-align: right; color: var(--muted); font-size: .8rem; }
.link-btn { background: none; border: 0; color: var(--muted); font: inherit; font-size: .8rem; text-decoration: underline; cursor: pointer; margin-top: 1rem; }
.empty { text-align: center; padding: 2rem 0 1rem; color: var(--muted); }
.empty .btn { margin-top: 1.2rem; }
form label { display: block; font-size: .78rem; letter-spacing: .08em; color: var(--muted); margin: 0 0 .35rem; }
form input, form textarea { width: 100%; background: var(--bg); border: 1px solid var(--line); color: var(--text); padding: .8rem .9rem; font: 300 .95rem var(--sans); margin-bottom: 1rem; }
form input:focus, form textarea:focus { outline: none; border-color: var(--gold); }
form textarea { min-height: 84px; resize: vertical; }
.pay { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.4rem; }
.pay label { display: flex; align-items: center; gap: .5rem; border: 1px solid var(--line); padding: .6rem .9rem; margin: 0; cursor: pointer; color: var(--text); font-size: .86rem; letter-spacing: 0; }
.pay input { width: auto; margin: 0; accent-color: var(--gold); }
form .btn { width: 100%; padding: 1rem; }
.form-msg { margin-top: 1rem; font-size: .88rem; color: var(--gold-soft); }
.form-msg.err { color: #e48a8a; }

/* ---------- FOOTER ---------- */
footer { border-top: 1px solid var(--line); padding: 2rem var(--pad); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; font-size: .78rem; color: var(--muted); }
footer img { height: 44px; }
footer nav ul { gap: 1.4rem; }
footer nav a { font-size: .95rem; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  header nav { position: fixed; inset: 77px 0 auto 0; background: rgba(30,7,12,.98); border-bottom: 1px solid var(--line); display: none; }
  header nav.open { display: block; }
  header nav ul { flex-direction: column; gap: 0; padding: .5rem 16px 1rem; }
  header nav li a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line-soft); }
  .burger { display: block; }
  .head-right .btn { display: none; }
  .cards, .offer, .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .about, .split, .checkout { grid-template-columns: 1fr; }
  .about .ph { aspect-ratio: 4 / 3; }
  .split .ph { min-height: 280px; }
  .contact { grid-template-columns: 1fr; }
  .sec-head h2::before, .sec-head h2::after { display: none; }
  .logo img { height: 44px; }
  .cat-nav { top: 65px; }
  header nav { inset: 65px 0 auto 0; }
}
@media (max-width: 520px) {
  .cards, .offer, .steps { grid-template-columns: 1fr; }
  .dishes { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .dish .body { padding: .8rem; }
  .dish h3, html[lang="ar"] .dish h3 { font-size: 1rem; }
  .dish .foot { flex-direction: column; align-items: stretch; }
  .add { width: 100%; }
  .qty { justify-content: space-between; }
  .price b { font-size: 1.2rem; }
  .langs button { padding: .35rem .3rem; }
  .head-right { gap: .6rem; }
}

/* ---------- ARABIC (right to left) ---------- */
html[lang="ar"] body { font-family: "Cairo", var(--sans); }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-weight: 700; line-height: 1.35; }
html[lang="ar"] *, html[lang="ar"] *::before, html[lang="ar"] *::after { letter-spacing: 0 !important; }
html[lang="ar"] .eyebrow { font-size: .9rem; }
html[lang="ar"] .btn, html[lang="ar"] .add, html[lang="ar"] .cat-nav a { font-family: "Cairo", var(--sans); font-size: .85rem; }
html[lang="ar"] nav a { font-family: "Cairo", var(--sans); font-size: .95rem; }
html[lang="ar"] .hero .tag { font-family: "Amiri", var(--serif); font-style: normal; }
html[lang="ar"] .hero h1 { font-size: clamp(2.8rem, 7vw, 5rem); }
html[dir="rtl"] .hero { background-position: left center; }
html[dir="rtl"] .hero::before { background: linear-gradient(270deg, rgba(30,7,12,.97) 0%, rgba(30,7,12,.85) 45%, rgba(30,7,12,.35) 100%), linear-gradient(to top, var(--bg), transparent 30%); }
html[dir="rtl"] .btn.arrow::after { content: "←"; }
html[dir="rtl"] .cat > h2::after { background: linear-gradient(270deg, var(--gold), transparent); }
html[dir="rtl"] .langs button[data-lang="ar"], .langs button[data-lang="ar"] { font-family: "Cairo", var(--sans); font-size: .8rem; }
.langs button[data-lang="ar"] { letter-spacing: 0; }


/* ---------- HERO: bus photo, full screen ---------- */
.hero { background: #14040a url("../img/hero.jpg") center 42% / cover no-repeat; }
.hero::before { background: linear-gradient(90deg, rgba(20,4,10,.9) 0%, rgba(20,4,10,.7) 35%, rgba(20,4,10,.15) 65%, rgba(20,4,10,0) 100%), linear-gradient(to top, var(--bg), transparent 22%); }
html[dir="rtl"] .hero { background-position: center 42%; }
html[dir="rtl"] .hero::before { background: linear-gradient(270deg, rgba(20,4,10,.9) 0%, rgba(20,4,10,.7) 35%, rgba(20,4,10,.15) 65%, rgba(20,4,10,0) 100%), linear-gradient(to top, var(--bg), transparent 22%); }
@media (max-width: 900px) {
  .hero, html[dir="rtl"] .hero { background-size: cover; background-position: center 40%; align-items: flex-end; padding-bottom: 3rem; }
  .hero::before, html[dir="rtl"] .hero::before { background: linear-gradient(to top, var(--bg) 0%, rgba(30,7,12,.85) 30%, rgba(30,7,12,.2) 55%, rgba(30,7,12,0) 100%); }
}

/* ---------- About poster + table booking ---------- */
.about .ph.poster { background: none; aspect-ratio: auto; }
.about .ph.poster img { position: static; width: 100%; height: auto; transform: none; display: block; filter: none; }
.book { text-align: center; max-width: 760px; margin: 0 auto; padding: 4.5rem var(--pad); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.book h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin: .7rem 0 1rem; }
.book p { color: var(--muted); margin: 0 auto 2rem; max-width: 560px; }
.btn.wa { display: inline-flex; align-items: center; gap: .6rem; }
.btn.wa svg { width: 20px; height: 20px; fill: currentColor; }
.book .book-phone { margin: 1.4rem auto 0; font-size: 1.1rem; letter-spacing: .06em; }
.book .book-phone a { color: var(--gold-soft); }
.contact a[data-wa-book] { color: var(--gold-soft); }
#book + #contact .sec-head { padding-top: 4rem; }

/* ---------- booking form ---------- */
.book-form { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 1rem; text-align: start; max-width: 860px; margin: 0 auto; }
.book { max-width: 940px; }
.book-form select { width: 100%; background: var(--bg); border: 1px solid var(--line); color: var(--text); padding: .8rem .9rem; font: 300 .95rem var(--sans); margin-bottom: 1rem; appearance: none; -webkit-appearance: none; }
.book-form select:focus { outline: none; border-color: var(--gold); }
.book-form input[type=date] { color-scheme: dark; }
.book-form button { grid-column: 1 / -1; justify-self: center; margin-top: .6rem; cursor: pointer; }
.book-form .form-msg { grid-column: 1 / -1; text-align: center; }
@media (max-width: 700px) { .book-form { grid-template-columns: 1fr 1fr; } }

a[data-phone] { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* =====================================================================
   MOTION — dark & gold animations
   ===================================================================== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.14); filter: brightness(.4); } to { transform: scale(1.02); filter: none; } }
@keyframes heroDrift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.07) translate(-1%, -1%); } }
@keyframes shine { from { transform: translateX(-120%) skewX(-20deg); } to { transform: translateX(260%) skewX(-20deg); } }
@keyframes mq { to { transform: translateX(-50%); } }
@keyframes mqR { to { transform: translateX(50%); } }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.25); } 60% { transform: scale(.92); } 100% { transform: scale(1); } }
@keyframes shake { 0%,100% { transform: none; } 15% { transform: translateX(-6px); } 30% { transform: translateX(6px); } 45% { transform: translateX(-4px); } 60% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }
@keyframes tabIn { from { opacity: 0; transform: translate(-50%, 40px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes ring { to { transform: rotate(360deg); } }
@keyframes glowPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(201,162,106,.0); } 50% { box-shadow: 0 0 28px 2px rgba(201,162,106,.35); } }

/* intro: over the dimmed page a big lavash lands first, then the khorovats falls onto it, pieces tumble onto the lavash, then it all falls away */
.intro { position: fixed; inset: 0; z-index: 100; pointer-events: none; overflow: hidden; }
/* the restaurant behind is dimmed at first, so the khorovats is the star; it clears as everything falls away */
.intro .dim { position: absolute; inset: 0; background: rgba(14, 3, 6, .74); -webkit-backdrop-filter: blur(5px) saturate(.7); backdrop-filter: blur(5px) saturate(.7); }
.intro.open .dim { animation: fadeOut .7s ease-out .1s forwards; }
.intro .stage { position: absolute; inset: 0; display: grid; place-items: center; }
.intro .kh { position: relative; height: min(90vh, 106vw); aspect-ratio: 820 / 897; }
.intro .L, .intro .L > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro img { filter: drop-shadow(0 10px 14px rgba(0,0,0,.45)); }
.intro .pc { position: absolute; }
.intro .p0 { left: 41.6%; top: 54.8%; width: 24.3%; }
.intro .p1 { left: 20.7%; top: 71.6%; width: 19.3%; }
.intro .kh-glow { position: absolute; inset: 5% 0 30% 10%; background: radial-gradient(closest-side, rgba(255,140,60,.25), rgba(255,90,30,.07) 60%, transparent); filter: blur(10px); opacity: 0; animation: fadeIn .6s ease 1.2s forwards, ember 1.3s ease-in-out 1.8s infinite alternate; }
.intro .smk { position: absolute; top: 2%; width: 9%; height: 30%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,238,220,.22), transparent); filter: blur(12px); opacity: 0; animation: smoke 2s ease-out calc(1.2s + var(--k) * .3s) both; }
/* 0) the big lavash floats down first and lies behind / under everything */
.intro .lvb { position: absolute; left: -14%; top: 27%; width: 122%; max-width: none; transform-origin: 50% 60%;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); animation: lvIn .9s cubic-bezier(.25,.8,.35,1) .05s both; }
@keyframes lvIn {
  0% { transform: translateY(-70vh) rotate(-16deg) scale(.9); opacity: 0; }
  25% { opacity: 1; }
  65% { transform: translateY(2%) rotate(3deg); }
  85% { transform: translateY(-.5%) rotate(-1.5deg) scaleY(.98); }
  100% { transform: none; opacity: 1; }
}
/* 1) the skewer drops onto the lavash and settles */
.intro .skw { animation: fDrop 1s cubic-bezier(.3,1.25,.5,1) .55s both; }
/* 2) the loose pieces fall with it, slide off and tumble onto the lavash */
.intro .p0 { animation: fPiece 1.7s linear .55s both; --r: 38deg; --y: 18%; --x: 10%; }
.intro .p1 { animation: fPiece 1.7s linear .63s both; --r: -46deg; --y: 6%; --x: 12%; }
@keyframes fDrop { from { transform: translateY(-115vh) rotate(-14deg); } to { transform: none; } }
@keyframes fPiece {
  0% { transform: translateY(-115vh) rotate(-14deg); animation-timing-function: cubic-bezier(.3,1.2,.5,1); }
  55% { transform: none; animation-timing-function: ease-in-out; }
  65% { transform: translateY(-4%) rotate(calc(var(--r) * .08)); animation-timing-function: cubic-bezier(.5,0,.9,.6); }
  85% { transform: translate(var(--x), var(--y)) rotate(var(--r)); animation-timing-function: ease-out; }
  92% { transform: translate(var(--x), calc(var(--y) - 6%)) rotate(var(--r)); animation-timing-function: ease-in; }
  100% { transform: translate(var(--x), var(--y)) rotate(var(--r)); }
}
/* 3) then the whole thing — lavash, khorovats and pieces — falls away and the page clears */
.intro.open .kh { animation: fFall .7s cubic-bezier(.5,0,.75,.3) forwards; }
.intro.open .kh-glow, .intro.open .smk { animation: fadeOut .3s forwards; }
@keyframes fFall { from { transform: none; } 20% { transform: translateY(-4%) rotate(-3deg); } to { transform: translateY(130vh) rotate(14deg); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes ember { from { opacity: .55; } to { opacity: 1; } }
@keyframes smoke { 0% { opacity: 0; transform: translateY(20px) scale(.6); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateY(-80px) scale(1.4); } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes ring { to { transform: rotate(360deg); } }
@keyframes glowPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(201,162,106,.0); } 50% { box-shadow: 0 0 28px 2px rgba(201,162,106,.35); } }

/* hero: zooming photo layer + staggered text */
.hero .hero-bg { position: absolute; inset: 0; z-index: 0; background: #14040a url("../img/hero.jpg") center 42% / cover no-repeat; will-change: transform; }
@media (max-width: 900px) { .hero .hero-bg { background-position: center 40%; } }
.hero::before { z-index: 1; }
.hero .hero-inner { z-index: 2; }
.hero.play .hero-bg { animation: heroZoom 2.6s cubic-bezier(.2,.7,.2,1) both, heroDrift 24s ease-in-out 2.6s infinite alternate; }
.hero.play .hero-inner > * { animation: fadeUp 1s cubic-bezier(.2,.7,.2,1) var(--d, 0s) both; }

/* golden marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: linear-gradient(90deg, var(--bg), var(--bg-2), var(--bg)); padding: 1.05rem 0; direction: ltr; }
.mq-track { display: flex; width: max-content; animation: mq 50s linear infinite; }
html[dir="rtl"] .mq-track { animation-name: mqR; flex-direction: row-reverse; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-track > div { display: flex; align-items: center; }
.mq-track span { font: italic 400 clamp(1.3rem, 2.4vw, 1.9rem) var(--serif); color: var(--gold-soft); white-space: nowrap; padding: 0 1.6rem; }
html[lang="ar"] .mq-track span { font-family: "Amiri", var(--serif); font-style: normal; }
.mq-track b { color: var(--gold); font-size: .9rem; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(30px); transition: opacity .9s cubic-bezier(.2,.7,.2,1) var(--rd, 0s), transform .9s cubic-bezier(.2,.7,.2,1) var(--rd, 0s); }
.rv.in { opacity: 1; transform: none; }
.about .ph.rv { transform: translateY(40px) scale(.96); clip-path: inset(12% 0 0 0); transition-property: opacity, transform, clip-path; transition-duration: 1.2s; }
.about .ph.rv.in { transform: none; clip-path: inset(0 0 0 0); }
.eyebrow.rv { letter-spacing: .6em; transition-property: opacity, transform, letter-spacing; }
.eyebrow.rv.in { letter-spacing: .32em; }
html[lang="ar"] .eyebrow.rv, html[lang="ar"] .eyebrow.rv.in { letter-spacing: 0; }

/* buttons: golden shine sweep + arrow slide */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: background .35s, color .35s, transform .35s, box-shadow .35s; }
.btn::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; z-index: -1; background: linear-gradient(90deg, transparent, rgba(255,240,210,.45), transparent); transform: translateX(-120%) skewX(-20deg); pointer-events: none; }
.btn:hover::before { animation: shine .9s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.45), 0 0 0 1px rgba(201,162,106,.35); }
.btn.arrow::after { display: inline-block; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.btn.arrow:hover::after { transform: translateX(6px); }
html[dir="rtl"] .btn.arrow:hover::after { transform: translateX(-6px); }
.hero .btn.solid { animation: glowPulse 3.2s ease-in-out 3s infinite; }

/* cards */
.dish { transition: border-color .35s, transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s; }
.dish:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,.55), 0 0 0 1px rgba(201,162,106,.25); }
.dish .ph { position: relative; }
/* plates: on hover the plate grows a little and turns, with a warm light under it */
.dish .ph { overflow: visible; }
.dish .ph img, .line img, img.fly { -webkit-mask: var(--m) center / 100% 100% no-repeat; mask: var(--m) center / 100% 100% no-repeat; }
.dish { position: relative; }
.dish:hover, .dish.picked { z-index: 3; }
.dish .ph::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,170,90,.32), rgba(201,162,106,.1) 60%, transparent); opacity: 0; transform: scale(.7); transition: opacity .5s, transform .6s; pointer-events: none; }
.dish .ph img { position: relative; transition: transform .7s cubic-bezier(.3,1.4,.5,1), filter .5s; }
.dish:hover .ph::before { opacity: 1; transform: scale(1.15); }
.dish:hover .ph img { transform: scale(1.1) rotate(-3deg); filter: saturate(1.12) brightness(1.04); }
/* picked (added to the order): the plate is "served" — lifts, spins, lands — plus a golden ring and sparks */
.dish .ph::after { content: ""; position: absolute; left: 50%; top: 50%; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; transform: translate(-50%,-50%) scale(.4); pointer-events: none; }
.dish.picked .ph::after { animation: pickRing .8s cubic-bezier(.2,.7,.3,1) forwards; }
.dish.picked .ph img { animation: pickServe .9s cubic-bezier(.3,.9,.4,1); }
@keyframes pickServe { 0% { transform: scale(1.1) rotate(-3deg); } 30% { transform: scale(.9) rotate(8deg) translateY(4%); } 60% { transform: scale(1.16) rotate(-14deg) translateY(-5%); } 100% { transform: scale(1.1) rotate(-3deg); } }
@keyframes pickRing { 0% { opacity: .9; transform: translate(-50%,-50%) scale(.4); } 100% { opacity: 0; transform: translate(-50%,-50%) scale(1.45); border-width: 1px; } }
.dish .spark { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: radial-gradient(circle, #fff3d6, var(--gold) 60%, transparent 70%); pointer-events: none; animation: spark .8s cubic-bezier(.2,.8,.3,1) calc(var(--k) * 12ms) forwards; }
@keyframes spark { 0% { transform: rotate(var(--a)) translateX(10px) scale(.4); opacity: 1; } 100% { transform: rotate(var(--a)) translateX(min(22vw, 140px)) scale(1); opacity: 0; } }
.offer > div { transition: transform .45s cubic-bezier(.2,.7,.2,1), border-color .35s; }
.offer > div:hover { transform: translateY(-6px); }
.offer > div svg { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.offer > div:hover svg { transform: rotate(-8deg) scale(1.12); }
.about .ph.poster { overflow: hidden; }
.about .ph.poster img { transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.about .ph.poster:hover img { transform: scale(1.04); }
.cat-nav a { transition: background .35s, color .35s, border-color .35s, transform .35s; }
.cat-nav a:hover { transform: translateY(-2px); }
.cat:not([hidden]) > h2 { animation: fadeUp .7s both; }

/* fly-to-cart, bump, toast */
.fly { position: fixed; z-index: 90; object-fit: cover; pointer-events: none; }
.bump { animation: bump .55s cubic-bezier(.2,.7,.2,1); }
.bump .cart-count { animation: bump .55s cubic-bezier(.2,.7,.2,1); }
.toast { position: fixed; left: 50%; top: 92px; z-index: 80; transform: translate(-50%, -20px); opacity: 0; pointer-events: none; background: rgba(42,11,18,.96); color: var(--gold-soft); border: 1px solid var(--gold); padding: .7rem 1.3rem; font-size: .82rem; letter-spacing: .06em; box-shadow: 0 12px 30px rgba(0,0,0,.5); transition: opacity .35s, transform .45s cubic-bezier(.2,.7,.2,1); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* form shake */
.shake { animation: shake .6s cubic-bezier(.36,.07,.19,.97); border-color: #e48a8a !important; }
form input, form select, form textarea { transition: border-color .3s, box-shadow .3s; }
form input:focus, form select:focus, form textarea:focus { box-shadow: 0 0 0 3px rgba(201,162,106,.15); }

/* header shrink */
header .logo img { transition: height .35s, width .35s; }
header.solid { box-shadow: 0 8px 30px rgba(0,0,0,.4); }

/* bottom pill nav — phones only */
.tabbar { display: none; }
@media (max-width: 900px) {
  .tabbar { display: flex; position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 40; padding: 6px; gap: 2px; border-radius: 40px;
    background: rgba(42,11,18,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); box-shadow: 0 12px 34px rgba(0,0,0,.6); direction: ltr; animation: tabIn .8s .4s cubic-bezier(.2,.7,.2,1) both; }
  .tabbar a { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 14px; border-radius: 30px; color: var(--muted); transition: color .35s; min-width: 64px; }
  .tabbar a.on { color: var(--bg); }
  .tabbar svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar em { font-style: normal; font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
  html[lang="ar"] .tabbar em { letter-spacing: 0; font-size: .68rem; }
  .tabbar .cart-count { top: 0; right: 8px; }
  .tb-ind { position: absolute; left: 0; top: 6px; bottom: 6px; border-radius: 30px; background: var(--gold); transition: transform .5s cubic-bezier(.2,.7,.2,1), width .5s cubic-bezier(.2,.7,.2,1); }
  body { padding-bottom: 84px; }
  .hero, html[dir="rtl"] .hero { padding-bottom: 6.5rem; }
  .cart-bar { bottom: 92px; }
  .toast { top: 78px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* about: the "how to find us" walk video in place of the poster */
.ph.poster.video { aspect-ratio: 9 / 16; max-height: 82vh; justify-self: center; width: auto; height: auto; }
.ph.poster.video video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* =========================================================
   ADMIN (#admin) — owner-only editing of the menu and contacts
   ========================================================= */
.dish .ph img.own, .line img.own { object-fit: cover; border-radius: 10px; }
.admin-link { color: inherit; opacity: .45; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; margin-left: 1rem; }
.admin-link:hover { opacity: .9; }
.admin { max-width: 1100px; margin: 0 auto; padding: 7.5rem 1.25rem 4rem; font-family: Inter, system-ui, sans-serif; }
.adm-head { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: flex-end; justify-content: space-between; border-bottom: 1px solid rgba(201,162,107,.25); padding-bottom: 1.2rem; }
.adm-head h1 { font-family: "Cormorant Garamond", serif; font-size: 2.6rem; margin: 0 0 .3rem; }
.adm-head p { margin: 0; opacity: .7; font-size: .92rem; }
.adm-actions { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.adm-msg { font-size: .85rem; min-height: 1em; margin-right: .4rem; opacity: .85; }
.adm-msg.warn { color: #e6c07b; } .adm-msg.ok { color: #8fd18f; } .adm-msg.err { color: #ff8a80; }
.adm-tabs { position: sticky; top: 64px; z-index: 5; display: flex; gap: .4rem; overflow-x: auto; padding: .9rem 0; background: var(--bg, #1c0a0e); }
.adm-tabs button { flex: none; background: transparent; color: inherit; border: 1px solid rgba(201,162,107,.35); padding: .5rem .9rem; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; border-radius: 2px; }
.adm-tabs button.on { background: #c9a26b; color: #1c0a0e; border-color: #c9a26b; }
.adm-cat { display: grid; gap: 1rem; padding-top: .6rem; }
.adm-catnames, .adm-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .7rem; }
.adm-item { display: grid; grid-template-columns: 150px 1fr; gap: 1.1rem; padding: 1rem; background: rgba(255,255,255,.035); border: 1px solid rgba(201,162,107,.16); border-radius: 6px; }
.adm-item.off { opacity: .5; }
.adm-ph { display: grid; gap: .5rem; align-content: start; }
.adm-ph img { width: 150px; height: 150px; object-fit: contain; background: rgba(0,0,0,.25); border-radius: 6px; }
.adm-up { position: relative; text-align: center; font-size: .75rem; padding: .45rem; border: 1px dashed rgba(201,162,107,.5); border-radius: 4px; cursor: pointer; }
.adm-up input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.adm-fields { display: grid; gap: .6rem; }
.adm-f { display: grid; gap: .25rem; font-size: .72rem; letter-spacing: .04em; opacity: .95; }
.adm-f span { opacity: .65; }
.adm-f input { width: 100%; box-sizing: border-box; background: rgba(0,0,0,.28); color: inherit; border: 1px solid rgba(201,162,107,.25); border-radius: 4px; padding: .55rem .65rem; font: inherit; font-size: .92rem; }
.adm-f input:focus { outline: none; border-color: #c9a26b; }
.adm-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.adm-chk { display: flex; gap: .45rem; align-items: center; font-size: .85rem; margin-right: auto; cursor: pointer; }
.adm-mini { background: transparent; color: inherit; border: 1px solid rgba(201,162,107,.3); border-radius: 4px; padding: .35rem .7rem; cursor: pointer; font-size: .85rem; }
.adm-mini:disabled { opacity: .3; cursor: default; }
.adm-mini.del { color: #ff8a80; border-color: rgba(255,138,128,.4); }
.adm-add { justify-self: start; }
.adm-foot { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid rgba(201,162,107,.15); }
.btn.ghost { opacity: .6; }
@media (max-width: 640px) {
  .admin { padding-top: 6rem; }
  .adm-item { grid-template-columns: 1fr; }
  .adm-ph { grid-template-columns: 110px 1fr; align-items: center; }
  .adm-ph img { width: 110px; height: 110px; }
}
.adm-gate { display: block; max-width: 420px; margin: 0 auto; border: 0; text-align: left; }
.adm-login { display: grid; gap: .9rem; margin-top: 1rem; }
.adm-login p { opacity: .8; }
.adm-pass { align-items: end; margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(201,162,107,.15); }
.adm-up.dis { opacity: .4; }
