/* ============================================================
   Charsi Restaurant, Ajman — stylesheet
   No framework. Custom properties, one scale, RTL handled with
   logical properties so Arabic and Urdu flip without overrides.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --yellow: #F5D21F;
  --yellow-deep: #E0BC10;
  --red: #B91C1C;
  --red-deep: #8E1414;
  --ink: #191714;
  --ink-soft: #221F1A;
  --ink-line: #332E26;
  --cream: #FFF5E5;
  --cream-deep: #F7E8D2;
  --brown: #795238;
  --white: #FFFCF6;

  --on-dark: #FFFCF6;
  --on-dark-muted: #C9BEB0;
  --on-light: #241F19;
  --on-light-muted: #5E5347;

  --font-display: "Playfair Display", "Noto Naskh Arabic", Georgia, serif;
  --font-body: "Poppins", "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(0.78rem, 0.76rem + 0.1vw, 0.84rem);
  --step-0: clamp(0.95rem, 0.92rem + 0.16vw, 1.05rem);
  --step-1: clamp(1.1rem, 1.03rem + 0.34vw, 1.32rem);
  --step-2: clamp(1.35rem, 1.2rem + 0.75vw, 1.85rem);
  --step-3: clamp(1.7rem, 1.4rem + 1.5vw, 2.6rem);
  --step-4: clamp(2.1rem, 1.5rem + 3vw, 3.7rem);
  --step-5: clamp(2.4rem, 1.5rem + 4.2vw, 4.4rem);

  --sp-1: 0.35rem;
  --sp-2: 0.7rem;
  --sp-3: 1.1rem;
  --sp-4: 1.7rem;
  --sp-5: 2.6rem;
  --sp-6: 4rem;
  --sp-7: clamp(4rem, 3rem + 5vw, 7.5rem);

  --wrap: 1240px;
  --radius: 3px;
  --radius-lg: 5px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--on-light);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.015em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol, dl, dd, dt { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; inset-inline-start: var(--sp-3); inset-block-start: var(--sp-3);
  z-index: 999; background: var(--yellow); color: var(--ink);
  padding: .7rem 1.2rem; font-weight: 600; border-radius: var(--radius);
}

.wrap { width: min(100% - 2.4rem, var(--wrap)); margin-inline: auto; }
@media (max-width: 620px) { .wrap { width: min(100% - 1.6rem, var(--wrap)); } }

/* ---------- Shared type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: var(--step--1); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--brown); margin-bottom: var(--sp-3);
}
.eyebrow--light { color: var(--yellow); }
.eyebrow__rule { width: 2.2rem; height: 2px; background: currentColor; flex: none; }

.stars { color: var(--yellow); letter-spacing: .08em; font-size: .95em; }
.stars--lg { font-size: 1.15rem; }
.stars--xl { font-size: 1.5rem; }

.textlink {
  display: inline-block; font-weight: 500;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
  transition: color .2s var(--ease), gap .2s var(--ease);
}
.textlink:hover { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; border: 1px solid transparent;
  border-radius: var(--radius); font-weight: 500; font-size: var(--step-0);
  line-height: 1.2; cursor: pointer; text-align: center;
  transition: transform .18s var(--ease), background-color .2s var(--ease),
              color .2s var(--ease), border-color .2s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: .55rem 1rem; font-size: var(--step--1); }
.btn--lg { padding: 1rem 1.6rem; flex-direction: column; gap: .1rem; align-items: flex-start; }
.btn--lg small { font-size: var(--step--1); opacity: .78; font-weight: 400; }

.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--yellow-deep); box-shadow: 0 8px 22px rgba(245, 210, 31, .22); }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-deep); box-shadow: 0 8px 22px rgba(185, 28, 28, .28); }
.btn--line { background: transparent; color: var(--white); border-color: rgba(255, 252, 246, .45); }
.btn--line:hover { border-color: var(--white); background: rgba(255, 252, 246, .07); }
.section--cream .btn--line, .visit .btn--line { color: var(--on-light); border-color: rgba(36, 31, 25, .3); }
.section--cream .btn--line:hover { border-color: var(--on-light); background: rgba(36, 31, 25, .05); }
.btn--ghost { background: transparent; color: var(--on-dark); border-color: rgba(255,252,246,.25); }
.btn--ghost:hover { border-color: var(--yellow); color: var(--yellow); }

/* ---------- Utility strip ---------- */
.strip {
  background: var(--ink); color: var(--on-dark-muted);
  font-size: var(--step--1); border-bottom: 1px solid var(--ink-line);
}
.strip__inner {
  display: flex; align-items: center; gap: var(--sp-3);
  min-height: 2.5rem; flex-wrap: wrap;
  padding-block: .35rem;
}
.strip__state { display: inline-flex; align-items: center; gap: .5rem; color: var(--on-dark); margin-inline-end: auto; }
.strip__state .dot {
  width: 7px; height: 7px; border-radius: 50%; background: #6B7280; flex: none;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.strip__state.is-open .dot { background: #4ADE80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .18); }
.strip__state.is-closed .dot { background: #F87171; box-shadow: 0 0 0 3px rgba(248, 113, 113, .16); }
.strip__item { color: var(--on-dark-muted); }
.strip__item a:hover { color: var(--yellow); }
.strip__item--hide-sm + .strip__item { margin-inline-end: var(--sp-2); }

.langs { display: inline-flex; border: 1px solid var(--ink-line); border-radius: var(--radius); overflow: hidden; }
.lang {
  background: transparent; border: 0; color: var(--on-dark-muted);
  padding: .3rem .6rem; font-size: .74rem; font-weight: 600; cursor: pointer;
  letter-spacing: .04em; transition: background-color .18s var(--ease), color .18s var(--ease);
}
.lang + .lang { border-inline-start: 1px solid var(--ink-line); }
.lang:hover { color: var(--on-dark); }
.lang[aria-pressed="true"] { background: var(--yellow); color: var(--ink); }

@media (max-width: 700px) {
  .strip__item--hide-sm { display: none; }
  .langs { margin-inline-start: auto; }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 90;
  background: var(--ink); color: var(--on-dark);
  border-bottom: 1px solid var(--ink-line);
  transition: box-shadow .3s var(--ease);
}
.nav.is-stuck { box-shadow: 0 12px 32px rgba(0, 0, 0, .28); }
.nav__inner {
  display: flex; align-items: center; gap: var(--sp-4);
  min-height: 4.3rem; padding-block: .55rem;
}
.brand { display: inline-flex; align-items: center; gap: .65rem; flex: none; }
.brand__mark { color: var(--on-dark); display: grid; place-items: center; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong {
  font-family: var(--font-display); font-size: 1.22rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}
.brand__text em {
  font-style: normal; font-size: .64rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--on-dark-muted);
}
.brand--light .brand__mark, .brand--light .brand__text { color: var(--on-dark); }

.nav__links { display: flex; gap: var(--sp-4); margin-inline-start: auto; }
.nav__links a {
  font-size: var(--step--1); font-weight: 500; letter-spacing: .02em;
  color: var(--on-dark-muted); position: relative; padding-block: .35rem;
  transition: color .2s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px;
  background: var(--yellow); transform: scaleX(0); transform-origin: inline-start;
  transition: transform .25s var(--ease);
}
.nav__links a:hover { color: var(--on-dark); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta { display: flex; gap: .5rem; align-items: center; }

.burger {
  display: none; background: transparent; border: 0; padding: .5rem;
  margin-inline-start: auto; cursor: pointer;
}
.burger span {
  display: block; width: 22px; height: 2px; background: var(--on-dark);
  margin-block: 4.5px; transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.drawer {
  display: none;
  border-top: 1px solid var(--ink-line); background: var(--ink-soft);
  padding: var(--sp-3) 1.2rem var(--sp-4);
  flex-direction: column; gap: .1rem;
}
@media (max-width: 980px) {
  .drawer:not([hidden]) { display: flex; }
}
.drawer a {
  padding: .8rem .2rem; border-bottom: 1px solid var(--ink-line);
  font-size: var(--step-1); font-family: var(--font-display);
}
.drawer__call { color: var(--yellow); font-family: var(--font-body) !important; font-weight: 600; }

@media (max-width: 980px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .burger { display: block; }
}
@media (max-width: 520px) {
  .nav__cta .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--on-dark);
  padding-block: clamp(3.6rem, 2rem + 8vw, 8rem) clamp(3rem, 2rem + 6vw, 6rem);
  isolation: isolate;
}
.hero__glow {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(58% 62% at 82% 18%, rgba(245, 210, 31, .16), transparent 62%),
    radial-gradient(52% 55% at 12% 86%, rgba(185, 28, 28, .28), transparent 66%),
    linear-gradient(180deg, #191714 0%, #16130F 100%);
}
.hero__jali {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,252,246,.045) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(-45deg, rgba(255,252,246,.045) 0 1px, transparent 1px 26px);
  mask-image: radial-gradient(120% 90% at 70% 20%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 90% at 70% 20%, #000 0%, transparent 72%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1fr 0.86fr; gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.hero__copy { min-width: 0; }
.hero__art { margin: 0; position: relative; }
.hero__art .tile {
  border-radius: 6px; aspect-ratio: 4 / 3;
  border: 1px solid rgba(245, 210, 31, .22);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .62), 0 0 0 8px rgba(255, 252, 246, .03);
}
.hero__artcap {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; margin-top: .85rem; padding-inline: .2rem;
  font-size: var(--step--1); color: var(--on-dark-muted);
}
.hero__artcap-k { font-weight: 600; color: var(--on-dark); letter-spacing: .02em; }
.hero__artcap-v { letter-spacing: .12em; text-transform: uppercase; font-size: .68rem; }
@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 560px; width: 100%; }
  .hero__art .tile { aspect-ratio: 16 / 10; }
}
.hero__title {
  font-size: var(--step-5); font-weight: 600; letter-spacing: -0.02em;
  max-width: 26ch; margin-block: var(--sp-2) var(--sp-3);
  text-wrap: balance;
}
.hero__title em { font-style: italic; color: var(--yellow); }
.hero__sub {
  max-width: 46ch; color: var(--on-dark-muted);
  font-size: var(--step-1); font-weight: 300; line-height: 1.6;
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: .7rem;
  margin-block: var(--sp-5) var(--sp-6);
}
.hero__facts {
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5);
  border-top: 1px solid rgba(255, 252, 246, .16);
  padding-top: var(--sp-4); max-width: 780px;
}
.hero__facts dt {
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--on-dark-muted); margin-bottom: .3rem;
}
.hero__facts dd { font-size: 1rem; font-weight: 500; white-space: nowrap; }
.hero__facts small { display: block; font-size: .74rem; color: var(--on-dark-muted); font-weight: 400; }
@media (max-width: 640px) {
  .hero__facts { grid-template-columns: 1fr 1fr; }
  .hero__facts > div:last-child { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Reputation ---------- */
.reputation { background: var(--yellow); color: var(--ink); }
.reputation__inner {
  display: flex; align-items: center; gap: var(--sp-4);
  padding-block: var(--sp-3); flex-wrap: wrap;
}
.reputation__score { display: flex; align-items: center; gap: .9rem; }
.reputation__num {
  font-family: var(--font-display); font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem);
  font-weight: 700; line-height: 1;
}
.reputation__meta { font-size: var(--step--1); font-weight: 500; }
.reputation__line {
  font-size: var(--step-0); font-weight: 500; max-width: 34ch;
  border-inline-start: 1px solid rgba(25, 23, 20, .28); padding-inline-start: var(--sp-4);
}
.reputation__link {
  margin-inline-start: auto; font-weight: 600; font-size: var(--step--1);
  text-transform: uppercase; letter-spacing: .12em;
  border-bottom: 2px solid var(--ink); padding-bottom: 2px;
}
.reputation__link:hover { color: var(--red); border-color: var(--red); }
@media (max-width: 860px) {
  .reputation__line { border: 0; padding: 0; max-width: none; }
  .reputation__link { margin-inline-start: 0; }
}

/* ---------- Section shell ---------- */
.section { padding-block: var(--sp-7); position: relative; }
.section--cream { background: var(--cream); }
.signature { background: var(--white); }
.sec-head { max-width: 62ch; margin-bottom: var(--sp-5); }
.sec-head h2 { font-size: var(--step-3); margin-bottom: var(--sp-3); }
.sec-head__lede { color: var(--on-light-muted); font-size: var(--step-0); max-width: 56ch; }
.sec-head--split {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--sp-4); max-width: none; flex-wrap: wrap;
}
.sec-head--split .sec-head__lede { max-width: 44ch; }

/* ---------- Signature grid ---------- */
.sig-grid {
  display: grid; gap: var(--sp-3);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.sig-card {
  position: relative;
  background: var(--cream); border: 1px solid var(--cream-deep);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.sig-card:hover { transform: translateY(-4px); border-color: var(--yellow); box-shadow: 0 16px 40px rgba(25, 23, 20, .1); }
.sig-card .tile { aspect-ratio: 16 / 9; width: 100%; }
.sig-card__body { padding: var(--sp-4); }
.sig-card__kicker {
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); font-weight: 600; margin-bottom: .5rem;
}
.sig-card__body h3 { font-size: var(--step-2); margin-bottom: .6rem; }
.sig-card__body p:last-child { color: var(--on-light-muted); font-size: var(--step--1); line-height: 1.7; }

.sig-card--lead { grid-column: span 2; flex-direction: row; align-items: stretch; }
.sig-card--lead .tile { width: 46%; aspect-ratio: auto; min-height: 100%; }
.sig-card--lead .sig-card__body { display: flex; flex-direction: column; justify-content: center; }
.sig-card--lead .sig-card__body h3 { font-size: var(--step-3); }
.sig-card--lead .sig-card__body p:last-child { font-size: var(--step-0); max-width: 46ch; }

.sig-card--wide { grid-column: span 2; flex-direction: row-reverse; align-items: stretch; }
.sig-card--wide .tile { width: 42%; aspect-ratio: auto; min-height: 100%; }
.sig-card--wide .sig-card__body { display: flex; flex-direction: column; justify-content: center; }

@media (max-width: 820px) {
  .sig-card--lead, .sig-card--wide { flex-direction: column; }
  .sig-card--lead .tile, .sig-card--wide .tile { width: 100%; aspect-ratio: 16 / 9; min-height: 0; }
}
@media (max-width: 560px) {
  .sig-grid { grid-template-columns: 1fr; }
  .sig-card--lead, .sig-card--wide { grid-column: span 1; }
}

/* ---------- Procedural tiles ---------- */
.tile {
  position: relative; width: 100%; aspect-ratio: 4 / 3;
  background: #0E0B09; overflow: hidden; flex: none;
}
.tile svg { width: 100%; height: 100%; display: block; }
.tile img {
  width: 100%; height: 100%; display: block; object-fit: cover;
  transition: transform .55s var(--ease), filter .4s var(--ease);
}
.dish:hover .tile img, .sig-card:hover .tile img, .gallery__item:hover .tile img {
  transform: scale(1.045);
}
.tile--big { aspect-ratio: 4 / 5; height: 100%; }
.tile--hero { aspect-ratio: 4 / 3.6; }

/* ---------- Menu ---------- */
.menu__tools {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: var(--sp-4); flex-wrap: wrap; margin-bottom: var(--sp-3);
  border-bottom: 1px solid var(--cream-deep); padding-bottom: var(--sp-3);
}
.tabs { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  background: transparent; border: 0; cursor: pointer; white-space: nowrap;
  padding: .55rem .85rem; font-size: var(--step--1); font-weight: 500;
  color: var(--on-light-muted); border-bottom: 2px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.tab:hover { color: var(--on-light); }
.tab[aria-selected="true"] { color: var(--red); border-color: var(--red); font-weight: 600; }
.tab small { display: block; font-size: .62rem; letter-spacing: .12em; opacity: .55; }

.search { position: relative; display: flex; align-items: center; flex: 1 1 260px; max-width: 340px; }
.search__icon { position: absolute; inset-inline-start: .85rem; width: 16px; height: 16px; color: var(--brown); pointer-events: none; }
.search input {
  width: 100%; padding: .7rem 2.4rem .7rem 2.5rem;
  border: 1px solid var(--cream-deep); background: var(--white);
  border-radius: 100px; font: inherit; font-size: var(--step--1); color: var(--on-light);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
[dir="rtl"] .search input { padding: .7rem 2.5rem .7rem 2.4rem; }
.search input::placeholder { color: #9C8F80; }
.search input:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(245, 210, 31, .22); }
.search__clear {
  position: absolute; inset-inline-end: .55rem; border: 0; background: var(--cream-deep);
  width: 22px; height: 22px; border-radius: 50%; cursor: pointer; line-height: 1;
  color: var(--brown); font-size: 1rem; display: grid; place-items: center;
}
.search__clear[hidden] { display: none; }
.menu__note {
  font-size: var(--step--1); color: var(--on-light-muted);
  max-width: 84ch; margin-bottom: var(--sp-4);
  padding-inline-start: .9rem; border-inline-start: 2px solid var(--yellow);
}
.menu__grid {
  display: grid; gap: var(--sp-3);
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
}
.dish {
  background: var(--white); border: 1px solid var(--cream-deep);
  border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.dish:hover { transform: translateY(-3px); border-color: rgba(245, 210, 31, .8); box-shadow: 0 14px 34px rgba(25, 23, 20, .09); }
.dish .tile { aspect-ratio: 16 / 10; }
.dish__body { padding: var(--sp-3); display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.dish__top { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; }
.dish__name { font-family: var(--font-display); font-size: 1.16rem; font-weight: 600; line-height: 1.2; }
.dish__name[dir="rtl"] { font-family: var(--font-body); font-size: 1.05rem; }
.dish__desc { font-size: .83rem; color: var(--on-light-muted); line-height: 1.62; flex: 1; }
.dish__meta { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; margin-top: .2rem; }
.chip {
  font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  padding: .2rem .5rem; border-radius: 100px;
}
.chip--sig { background: rgba(185, 28, 28, .1); color: var(--red); }
.chip--mild { background: rgba(121, 82, 56, .12); color: var(--brown); }
.chip--hot { background: rgba(245, 210, 31, .28); color: #6B4F00; }
.heat { display: inline-flex; align-items: flex-end; gap: 2px; margin-inline-start: auto; height: 13px; }
.heat i { width: 3px; height: 6px; border-radius: 1px; background: var(--cream-deep); }
.heat i:nth-child(2) { height: 9px; }
.heat i:nth-child(3) { height: 12px; }
.heat i.on { background: var(--red); }
.dish__cat {
  font-size: .62rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brown); font-weight: 600;
}
.dish.is-hidden { display: none; }
.menu__empty {
  text-align: center; padding: var(--sp-6) 0; color: var(--on-light-muted);
  font-size: var(--step-1); font-family: var(--font-display);
}

/* ---------- Heritage ---------- */
.heritage { background: var(--ink); color: var(--on-dark); overflow: hidden; }
.heritage__inner {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 4vw, 5rem); align-items: center;
}
.heritage__art { position: relative; }
.heritage__art .tile { border-radius: var(--radius-lg); }
.heritage__stamp {
  position: absolute; inset-block-end: -1.4rem; inset-inline-end: -1.2rem;
  background: var(--yellow); color: var(--ink);
  width: 8.4rem; height: 8.4rem; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; font-size: .6rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 600; line-height: 1.5; transform: rotate(-8deg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
}
.heritage__stamp strong {
  font-family: var(--font-display); font-size: 1rem; letter-spacing: .02em;
  text-transform: none; margin-block: .1rem;
}
.heritage__copy h2 { font-size: var(--step-3); margin-bottom: var(--sp-3); max-width: 18ch; }
.heritage__copy > p { color: var(--on-dark-muted); margin-bottom: var(--sp-3); max-width: 56ch; }
.heritage__pillars {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-3); margin-top: var(--sp-5);
  border-top: 1px solid rgba(255, 252, 246, .14); padding-top: var(--sp-4);
}
.heritage__pillars h3 { font-size: 1rem; margin-bottom: .4rem; color: var(--yellow); }
.heritage__pillars p { font-size: .8rem; color: var(--on-dark-muted); line-height: 1.6; }
@media (max-width: 900px) {
  .heritage__inner { grid-template-columns: 1fr; }
  .heritage__art { max-width: 420px; }
  .heritage__stamp { inset-inline-end: auto; inset-inline-start: -0.8rem; inset-block-end: -1rem; width: 7rem; height: 7rem; }
}
@media (max-width: 620px) {
  .heritage__pillars { grid-template-columns: 1fr; gap: var(--sp-3); }
}

/* ---------- Gallery ---------- */
.gallery__grid {
  display: grid; gap: var(--sp-2);
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 16vw, 228px);
}
.gallery__item { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.gallery__item .tile { aspect-ratio: auto; height: 100%; }
.gallery__item figcaption {
  position: absolute; inset-block-end: 0; inset-inline: 0;
  padding: var(--sp-3); font-size: .76rem; letter-spacing: .06em;
  color: var(--white); background: linear-gradient(transparent, rgba(10, 8, 7, .88));
  font-weight: 500;
}
.gallery__item .tile { aspect-ratio: 1 / 1; }
.gallery__item--a { grid-column: span 2; grid-row: span 2; }
.gallery__item--b, .gallery__item--c, .gallery__item--d, .gallery__item--e { grid-column: span 1; }
@media (max-width: 880px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .gallery__item--a { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 480px) {
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .gallery__item--a { grid-column: span 1; grid-row: auto; }
}

/* ---------- Reviews ---------- */
.reviews { background: var(--ink); color: var(--on-dark); }
.reviews .sec-head__lede { color: var(--on-dark-muted); }
.reviews__panel {
  display: grid; grid-template-columns: 0.72fr 1.28fr;
  background: var(--ink-soft); border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg); overflow: hidden;
}
.reviews__big {
  padding: clamp(1.6rem, 3vw, 3rem); text-align: center;
  background: linear-gradient(160deg, rgba(245, 210, 31, .1), transparent 70%);
  border-inline-end: 1px solid var(--ink-line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
}
.reviews__score {
  font-family: var(--font-display); font-size: clamp(3.4rem, 2.4rem + 4vw, 5.4rem);
  line-height: 1; font-weight: 700; color: var(--yellow);
}
.reviews__count { font-size: var(--step--1); color: var(--on-dark-muted); letter-spacing: .06em; }
.reviews__body { padding: clamp(1.6rem, 3vw, 3rem); }
.reviews__body h3 { font-size: var(--step-2); margin-bottom: var(--sp-2); }
.reviews__body p { color: var(--on-dark-muted); max-width: 52ch; }
.reviews__actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-block: var(--sp-4) var(--sp-3); }
.reviews__disclaimer { font-size: .74rem; opacity: .62; }
@media (max-width: 820px) {
  .reviews__panel { grid-template-columns: 1fr; }
  .reviews__big { border-inline-end: 0; border-block-end: 1px solid var(--ink-line); }
}

/* ---------- Visit ---------- */
.visit__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: var(--sp-4); align-items: stretch; }
.visit__map {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--cream-deep); min-height: 380px; background: var(--cream-deep);
}
.visit__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: saturate(.92); }
.visit__info { display: flex; flex-direction: column; gap: var(--sp-4); }
.visit__block {
  background: var(--white); border: 1px solid var(--cream-deep);
  border-radius: var(--radius-lg); padding: var(--sp-4);
}
.visit__block h3 {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brown); margin-bottom: .6rem; font-family: var(--font-body); font-weight: 600;
}
.visit__block p { margin-bottom: .7rem; }
.visit__phones { display: flex; flex-direction: column; gap: .3rem; }
.visit__phones a { font-weight: 500; font-size: var(--step-1); }
.visit__phones a:hover { color: var(--red); }
.hours { width: 100%; border-collapse: collapse; font-size: var(--step--1); margin-bottom: .6rem; }
.hours th { text-align: start; font-weight: 500; padding-block: .4rem; color: var(--on-light-muted); }
.hours td { text-align: end; padding-block: .4rem; font-weight: 500; }
.visit__live { font-size: .8rem; font-weight: 500; }
.visit__live.is-open { color: #15803D; }
.visit__live.is-closed { color: var(--red); }
@media (max-width: 880px) {
  .visit__grid { grid-template-columns: 1fr; }
  .visit__map, .visit__map iframe { min-height: 300px; }
}

/* ---------- Order ---------- */
.order { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.order::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 70% at 8% 20%, rgba(185, 28, 28, .2), transparent 60%);
  pointer-events: none;
}
.order__inner {
  position: relative; display: grid; grid-template-columns: 1.35fr 1fr;
  gap: clamp(2rem, 4vw, 4rem); align-items: center;
}
.order h2 { font-size: var(--step-3); margin-bottom: var(--sp-3); max-width: 20ch; }
.order__copy > p { color: var(--on-dark-muted); max-width: 54ch; }
.order__actions {
  display: flex; flex-direction: column; gap: .55rem;
  margin-block: var(--sp-4) var(--sp-3); max-width: 420px;
}
.order__actions .btn--line { color: var(--white); border-color: rgba(255, 252, 246, .3); }
.order__note { font-size: .74rem; opacity: .6; max-width: 46ch; }
.order__card {
  background: rgba(255, 252, 246, .045); border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg); padding: var(--sp-5);
  backdrop-filter: blur(4px);
}
.order__card h3 { font-size: var(--step-2); margin-bottom: var(--sp-2); color: var(--yellow); }
.order__card p { color: var(--on-dark-muted); font-size: var(--step--1); }
.order__list { margin-block: var(--sp-3); display: flex; flex-direction: column; gap: .45rem; }
.order__list li {
  font-size: var(--step--1); padding-inline-start: 1.1rem; position: relative;
  color: var(--on-dark);
}
.order__list li::before {
  content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .55em;
  width: 6px; height: 6px; background: var(--red); border-radius: 50%;
}
@media (max-width: 880px) {
  .order__inner { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.foot { background: #110F0D; color: var(--on-dark-muted); padding-block: var(--sp-6) var(--sp-4); }
.foot__inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--sp-5); padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--ink-line);
}
.foot__brand p { margin-block: var(--sp-3); font-size: var(--step--1); max-width: 34ch; line-height: 1.7; }
.foot__social { display: flex; gap: .5rem; }
.foot__social a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--ink-line); border-radius: 50%; color: var(--on-dark-muted);
  transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}
.foot__social a:hover { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }
.foot__col { display: flex; flex-direction: column; gap: .5rem; }
.foot__col h4 {
  font-family: var(--font-body); font-size: .68rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--yellow); margin-bottom: .3rem; font-weight: 600;
}
.foot__col a, .foot__col p { font-size: var(--step--1); line-height: 1.8; }
.foot__col a:hover { color: var(--yellow); }
.foot__addr { margin-top: .6rem; opacity: .8; }
.foot__base {
  display: flex; justify-content: space-between; gap: var(--sp-3);
  padding-top: var(--sp-4); font-size: .72rem; flex-wrap: wrap; opacity: .72;
}
@media (max-width: 880px) {
  .foot__inner { grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
}
@media (max-width: 540px) {
  .foot__inner { grid-template-columns: 1fr; }
}

/* ---------- Floating WhatsApp ---------- */
.fab {
  position: fixed; inset-block-end: 1.2rem; inset-inline-end: 1.2rem; z-index: 80;
  display: inline-flex; align-items: center; gap: .5rem;
  background: #1FAA59; color: #fff; padding: .75rem 1.1rem;
  border-radius: 100px; font-size: .82rem; font-weight: 600;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
  transition: transform .22s var(--ease), background-color .22s var(--ease);
}
.fab:hover { transform: translateY(-3px) scale(1.02); background: #178F4B; }
@media (max-width: 620px) {
  .fab span { display: none; }
  .fab { padding: .85rem; inset-block-end: 1rem; inset-inline-end: 1rem; }
}

/* ---------- Cart button in the nav ---------- */
.cartbtn {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--red); color: var(--white);
  border: 1px solid var(--red); border-radius: var(--radius);
  padding: .55rem .9rem; font: inherit; font-size: var(--step--1);
  font-weight: 500; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .18s var(--ease);
}
.cartbtn:hover { background: var(--red-deep); border-color: var(--red-deep); transform: translateY(-1px); }
.cartbtn__count {
  min-width: 1.35rem; height: 1.35rem; padding-inline: .3rem;
  display: inline-grid; place-items: center;
  border-radius: 100px; background: rgba(255, 252, 246, .18);
  color: var(--white); font-size: .7rem; font-weight: 600; font-variant-numeric: tabular-nums;
}
.cartbtn__count.is-live { background: var(--yellow); color: var(--ink); }
@media (max-width: 520px) {
  .cartbtn__label { display: none; }
  .cartbtn { padding: .55rem .7rem; }
}

/* ---------- Price + add on a menu card ---------- */
.dish__price {
  flex: none; font-weight: 600; font-size: .92rem; color: var(--red);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.dish__price .cur { font-size: .68rem; letter-spacing: .06em; opacity: .8; }
.dish__price--ask { font-size: .72rem; color: var(--brown); font-weight: 500; }

.dish__add {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: .45rem;
  background: transparent; color: var(--on-light);
  border: 1px solid rgba(36, 31, 25, .22); border-radius: 100px;
  padding: .45rem .9rem .45rem .5rem;
  font: inherit; font-size: var(--step--1); font-weight: 500;
  cursor: pointer; text-decoration: none;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.dish__add:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.dish__add-ico {
  width: 1.35rem; height: 1.35rem; display: grid; place-items: center;
  border-radius: 100px; background: var(--yellow); color: var(--ink);
  font-size: 1rem; font-weight: 600; line-height: 1;
}
.dish__add.is-added { background: #1F7A44; border-color: #1F7A44; color: #fff; }
.dish__add--ask { padding-inline: .9rem; }
.dish__add--ask:hover { background: var(--brown); border-color: var(--brown); }

/* ---------- Order sheet (cart) ---------- */
.cartwrap { position: fixed; inset: 0; z-index: 120; display: flex; justify-content: flex-end; }
.cartwrap[hidden] { display: none; }
.cartwrap__scrim {
  position: absolute; inset: 0; background: rgba(15, 13, 11, .62);
  backdrop-filter: blur(3px); animation: cartFade .28s var(--ease);
}
.cart {
  position: relative; z-index: 1;
  width: min(430px, 100%); height: 100%;
  display: flex; flex-direction: column;
  background: var(--white); color: var(--on-light);
  box-shadow: -18px 0 50px rgba(0, 0, 0, .28);
  animation: cartIn .32s var(--ease);
}
[dir="rtl"] .cart { box-shadow: 18px 0 50px rgba(0, 0, 0, .28); }
@keyframes cartIn { from { transform: translateX(24px); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes cartFade { from { opacity: 0; } to { opacity: 1; } }

.cart__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-2); padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--cream-deep);
}
.cart__head h2 { font-size: var(--step-1); }
.cart__close {
  background: transparent; border: 0; cursor: pointer;
  font-size: 1.7rem; line-height: 1; color: var(--on-light-muted);
  padding: .1rem .4rem; border-radius: var(--radius);
}
.cart__close:hover { color: var(--red); }

.cart__empty {
  padding: var(--sp-4); color: var(--on-light-muted);
  font-size: var(--step--1); line-height: 1.7;
}
.cart__items {
  list-style: none; margin: 0; padding: var(--sp-2) var(--sp-4);
  overflow-y: auto; flex: 1;
}
.cart__items[hidden] { display: none; }

.cart-line {
  display: grid; grid-template-columns: 64px 1fr auto;
  align-items: center; gap: var(--sp-2);
  padding: var(--sp-2) 0; border-bottom: 1px solid var(--cream-deep);
}
.cart-line__img { width: 64px; height: 64px; border-radius: var(--radius); overflow: hidden; background: var(--cream-deep); }
.cart-line__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-line__blank { display: block; width: 100%; height: 100%; background: var(--cream-deep); }
.cart-line__name { font-size: .88rem; font-weight: 500; line-height: 1.35; margin: 0 0 .15rem; }
.cart-line__price { font-size: .78rem; color: var(--brown); margin: 0; font-variant-numeric: tabular-nums; }
.cart-line__qty { display: inline-flex; align-items: center; gap: .45rem; }
.cart-line__qty button {
  width: 1.8rem; height: 1.8rem; display: grid; place-items: center;
  background: var(--cream); border: 1px solid var(--cream-deep); border-radius: 100px;
  font: inherit; font-size: 1rem; line-height: 1; cursor: pointer; color: var(--on-light);
}
.cart-line__qty button:hover { border-color: var(--yellow-deep); background: var(--yellow); }
.cart-line__qty span { min-width: 1.1rem; text-align: center; font-size: .85rem; font-weight: 600; font-variant-numeric: tabular-nums; }

.cart__foot {
  padding: var(--sp-3) var(--sp-4) var(--sp-4);
  border-top: 1px solid var(--cream-deep); background: var(--cream);
}
.cart__foot[hidden] { display: none; }
.cart__total {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--sp-2); margin-bottom: var(--sp-2);
  font-size: var(--step--1); color: var(--on-light-muted);
}
.cart__total strong { font-size: var(--step-1); color: var(--ink); font-variant-numeric: tabular-nums; }
.cart__total .cur { font-size: .7rem; letter-spacing: .06em; color: var(--brown); }
.cart__hint { font-size: .74rem; line-height: 1.6; color: var(--on-light-muted); margin: 0 0 var(--sp-3); }
.cart__send { width: 100%; justify-content: center; }
.cart__send[disabled] { opacity: .6; cursor: progress; }
.cart__status { font-size: .74rem; color: var(--brown); min-height: 1.1em; margin: .6rem 0 0; }
.cart__clear {
  display: block; margin: .5rem auto 0; background: transparent; border: 0;
  color: var(--on-light-muted); font: inherit; font-size: .74rem;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.cart__clear:hover { color: var(--red); }

/* ---------- Reveal ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- RTL ---------- */
[dir="rtl"] body, [dir="rtl"] { font-family: var(--font-body); }
[dir="rtl"] .hero__title,
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4,
[dir="rtl"] .dish__name, [dir="rtl"] .brand__text strong,
[dir="rtl"] .reputation__num, [dir="rtl"] .reviews__score,
[dir="rtl"] .heritage__stamp strong, [dir="rtl"] .menu__empty {
  font-family: "Noto Sans Arabic", var(--font-body);
  letter-spacing: 0;
  font-weight: 600;
}
[dir="rtl"] .hero__title { line-height: 1.35; font-size: clamp(2rem, 1.3rem + 4vw, 3.9rem); }
[dir="rtl"] .eyebrow, [dir="rtl"] .brand__text em, [dir="rtl"] .foot__col h4 { letter-spacing: .04em; }
[dir="rtl"] .btn--lg { align-items: flex-start; }
[dir="rtl"] .hero__facts dt { letter-spacing: .04em; }

/* ---------- Print ---------- */
@media print {
  .strip, .nav, .fab, .order__actions, .hero__actions { display: none; }
  body { background: #fff; color: #000; }
  .hero, .heritage, .reviews, .order, .foot { background: #fff !important; color: #000 !important; }
}
