/* ============================================================
   UR — engine.css (structure & behavior — theme-agnostic)
   Every color/font token below is defined by a theme-*.css file
   loaded alongside this one (see /themes). This file must never
   hardcode a color — only reference var(--token) or color-mix().
   ============================================================ */
:root {
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--noir);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--gold-soft); }

h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.05; }
.tag {
  font-family: var(--sans);
  font-size: .72rem; letter-spacing: .35em; text-transform: uppercase;
  color: var(--gold); display: inline-block; margin-bottom: 1rem;
}
.img-fallback { background: linear-gradient(135deg, var(--noir-2), color-mix(in srgb, var(--gold) 20%, var(--noir-2))); }

/* ---------- Crest (brand mark) ---------- */
.crest { color: var(--gold-soft); flex-shrink: 0; }
.crest--sm { width: 26px; height: 26px; }
.crest--lg { width: 52px; height: 52px; margin: 0 auto 1.4rem; display: block; }
.crest--watermark {
  position: absolute; top: -40px; right: -20px; width: 260px; height: 260px;
  color: var(--gold); opacity: .06; z-index: 0; pointer-events: none;
  animation: crestSpin 90s linear infinite;
}
@keyframes crestSpin { to { transform: rotate(360deg); } }

/* ---------- Custom cursor ---------- */
.has-fine-pointer, .has-fine-pointer a, .has-fine-pointer button { cursor: none; }
.cursor-ring, .cursor-dot { position: fixed; top: 0; left: 0; z-index: 900; pointer-events: none; }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
  border: 1px solid var(--gold-soft);
  display: grid; place-items: center;
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease),
              background .3s var(--ease), border-color .3s var(--ease), opacity .3s;
  opacity: 0;
}
.cursor-dot {
  width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%;
  background: var(--gold-soft); opacity: 0; transition: opacity .3s, transform .15s var(--ease);
}
.has-fine-pointer .cursor-ring, .has-fine-pointer .cursor-dot { opacity: 1; }
.cursor-ring.is-active {
  width: 68px; height: 68px; margin: -34px 0 0 -34px;
  background: color-mix(in srgb, var(--gold-soft) 10%, transparent); border-color: var(--gold-soft);
}
.cursor-ring.is-active .cursor-dot { transform: scale(0); }
.cursor-label {
  font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft);
  opacity: 0; transition: opacity .25s;
}
.cursor-ring.is-active .cursor-label { opacity: 1; }

/* ---------- Menu hover-preview panel ---------- */
.menu-preview {
  position: fixed; top: 0; left: 0; z-index: 60; pointer-events: none;
  width: 200px; height: 140px; margin: -70px 0 0 24px;
  border-radius: 3px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--gold-soft) 40%, transparent);
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
  opacity: 0; transform: scale(.92) rotate(-2deg);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.menu-preview.is-visible { opacity: 1; transform: scale(1) rotate(-1deg); }
.menu-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 999;
  background: var(--overlay);
  display: grid; place-items: center;
  transition: opacity .8s var(--ease), visibility .8s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; }
.preloader__brand {
  font-family: var(--serif); font-size: 2rem; letter-spacing: .3em;
  color: var(--overlay-text); display: block;
  opacity: 0; animation: fadeIn 1s var(--ease) .1s forwards;
}
.preloader__line {
  display: block; height: 1px; width: 0; margin: 1.2rem auto 0;
  background: var(--gold);
  animation: growLine 1.4s var(--ease) .3s forwards;
}
@keyframes growLine { to { width: 200px; } }
@keyframes fadeIn { to { opacity: 1; } }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 500; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 8s steps(6) infinite;
}
@keyframes grainShift {
  0%,100% { transform: translate(0,0); }
  20% { transform: translate(-8%, 4%); }
  40% { transform: translate(6%, -6%); }
  60% { transform: translate(-4%, 8%); }
  80% { transform: translate(8%, -2%); }
}

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem 3.5rem;
  transition: background .5s var(--ease), padding .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--overlay) 82%, transparent);
  backdrop-filter: blur(12px);
  padding: 1rem 3.5rem;
  border-color: color-mix(in srgb, var(--gold) 22%, transparent);
}
.nav__logo {
  font-family: var(--serif); font-size: 1.35rem; letter-spacing: .22em;
  display: flex; align-items: center; gap: .7rem; color: var(--overlay-text);
}
.nav__links { display: flex; gap: 1.7rem; }
.nav__links a {
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: color-mix(in srgb, var(--overlay-text) 65%, transparent); position: relative; transition: color .3s; display: inline-block;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--gold); transition: width .35s var(--ease);
}
.nav__links a:hover { color: var(--overlay-text); }
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid var(--gold); color: var(--gold-soft);
  padding: .65rem 1.4rem; border-radius: 2px; transition: background .4s var(--ease), color .4s var(--ease);
  display: inline-block;
}
.nav__cta:hover { background: var(--gold); color: var(--ink); }

.nav__lang {
  font-family: var(--sans); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-soft); background: none; border: 1px solid color-mix(in srgb, var(--gold-soft) 35%, transparent);
  padding: .55rem .95rem; border-radius: 2px; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.nav__lang:hover { background: color-mix(in srgb, var(--gold-soft) 12%, transparent); border-color: var(--gold-soft); }

/* magnetic buttons/links get their transform overridden by JS on mousemove */
.magnetic { transition: transform .25s var(--ease), background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }

/* ---------- Mobile nav burger + overlay ---------- */
.nav__burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 34px; height: 34px; background: none; border: none; cursor: pointer; z-index: 210;
}
.nav__burger span { display: block; height: 1px; width: 100%; background: var(--overlay-text); transition: transform .35s var(--ease), opacity .35s var(--ease); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 200; background: color-mix(in srgb, var(--overlay) 98%, transparent);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.mobile-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav nav { display: flex; flex-direction: column; gap: 1.8rem; text-align: center; }
.mobile-nav a { font-family: var(--serif); font-size: 1.8rem; color: var(--overlay-text); }
.mobile-nav a:hover { color: var(--gold-soft); }
.mobile-nav__lang {
  font-family: var(--sans); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-soft); background: none; border: 1px solid color-mix(in srgb, var(--gold-soft) 40%, transparent);
  padding: .75rem 1.8rem; border-radius: 2px; cursor: pointer; margin-top: .8rem;
}
.mobile-nav__lang:hover { background: color-mix(in srgb, var(--gold-soft) 12%, transparent); }

/* ============================================================
   HERO — the animated image
   ============================================================ */
.hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; display: grid; }
.hero__media { position: absolute; inset: 0; z-index: 0; will-change: transform; }
.hero__img {
  position: absolute; inset: -4%; width: 108%; height: 108%;
  transform: scale(1.15);
  animation: kenburns 20s ease-in-out infinite alternate;
  filter: saturate(1.05) contrast(1.03);
}
/* slow cinematic zoom + pan on the image */
@keyframes kenburns {
  0%   { transform: scale(1.15) translate(0, 0); }
  100% { transform: scale(1.28) translate(-2.5%, -2%); }
}
.hero__vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 30%, color-mix(in srgb, var(--overlay) 55%, transparent) 72%, color-mix(in srgb, var(--overlay) 92%, transparent) 100%),
    linear-gradient(to top, var(--overlay) 4%, transparent 45%),
    linear-gradient(to right, color-mix(in srgb, var(--overlay) 72%, transparent), color-mix(in srgb, var(--overlay) 18%, transparent) 55%, color-mix(in srgb, var(--overlay) 55%, transparent));
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: .82; } }

/* rising steam particles */
.steam { position: absolute; left: 50%; top: 46%; z-index: 1; transform: translateX(-50%); }
.steam span {
  position: absolute; bottom: 0; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,250,240,.5), transparent 70%);
  filter: blur(6px); opacity: 0;
  animation: steam 6s ease-in infinite;
}
.steam span:nth-child(1){ left:-30px; animation-delay:0s; }
.steam span:nth-child(2){ left:0;    animation-delay:1.6s; }
.steam span:nth-child(3){ left:24px; animation-delay:3.1s; }
.steam span:nth-child(4){ left:-12px;animation-delay:4.4s; }
@keyframes steam {
  0%   { transform: translateY(0) scale(.6); opacity: 0; }
  15%  { opacity: .55; }
  100% { transform: translateY(-160px) scale(2.4); opacity: 0; }
}

.hero__content {
  position: relative; z-index: 3; align-self: center;
  padding: clamp(5.5rem, 14vh, 8rem) 3.5rem 0; max-width: 900px;
}
.hero__eyebrow {
  font-size: .78rem; letter-spacing: .4em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 1.6rem;
}
.hero__title { font-size: clamp(3rem, 9vw, 7rem); margin-bottom: 1.6rem; color: var(--overlay-text); }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span {
  display: block; transform: translateY(110%);
  animation: riseIn 1.1s var(--ease) forwards;
}
.hero__title .line:nth-child(1) > span { animation-delay: .9s; }
.hero__title .line:nth-child(2) > span { animation-delay: 1.05s; }
@keyframes riseIn { to { transform: translateY(0); } }
.hero__sub {
  font-family: var(--serif); font-size: 1.5rem; color: color-mix(in srgb, var(--overlay-text) 70%, transparent);
  margin-bottom: 2.4rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* buttons */
.btn {
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  padding: 1rem 2.2rem; border-radius: 2px; transition: background .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease);
  display: inline-block; position: relative;
}
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-soft); box-shadow: 0 12px 40px color-mix(in srgb, var(--gold) 32%, transparent); }
.btn--ghost { border: 1px solid color-mix(in srgb, var(--overlay-text) 35%, transparent); color: var(--overlay-text); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-soft); }

/* scroll cue */
.hero__scroll {
  position: absolute; left: 50%; bottom: 2.2rem; z-index: 3; transform: translateX(-50%);
  width: 26px; height: 44px; border: 1px solid color-mix(in srgb, var(--overlay-text) 40%, transparent); border-radius: 14px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 2px;
  background: var(--gold); transform: translateX(-50%);
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot { 50% { transform: translate(-50%, 14px); opacity: .3; } }

/* ---------- Reveal-on-load (hero) & scroll ---------- */
.reveal { opacity: 0; animation: fadeUp 1s var(--ease) forwards; }
.hero__eyebrow.reveal { animation-delay: .7s; }
.hero__sub.reveal { animation-delay: 1.3s; }
.hero__actions.reveal { animation-delay: 1.5s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.reveal-up { opacity: 0; transform: translateY(48px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-up.in { opacity: 1; transform: translateY(0); }

/* clip-path wipe reveal, used on gallery figures */
.reveal-clip { clip-path: inset(0 0 100% 0); transition: clip-path 1.15s var(--ease); }
.reveal-clip.in { clip-path: inset(0 0 0% 0); }

/* ---------- Marquee ticker ---------- */
.marquee {
  background: var(--maroon); border-top: 1px solid color-mix(in srgb, var(--gold-soft) 25%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--gold-soft) 25%, transparent);
  overflow: hidden; white-space: nowrap; padding: .9rem 0;
}
.marquee__track { display: inline-flex; animation: marqueeScroll 26s linear infinite; }
.marquee__track span {
  font-family: var(--serif); font-style: italic; font-size: 1.2rem; letter-spacing: .04em;
  color: var(--gold-soft); padding-right: .3rem;
}
@keyframes marqueeScroll { to { transform: translateX(-50%); } }

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
  padding: 8rem 3.5rem; max-width: 1280px; margin: 0 auto; position: relative;
}
.about__col { position: relative; }
.about h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 1.6rem; }
.about p { color: var(--muted); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.2rem; max-width: 46ch; position: relative; z-index: 1; }
.about p.dropcap::first-letter {
  font-family: var(--serif); font-size: 4.2rem; float: left; line-height: .78;
  color: var(--gold); margin: .06em .12em 0 0; font-weight: 500;
}
.about__stats { display: flex; gap: 2.6rem; margin-top: 2.6rem; position: relative; z-index: 1; }
.about__stats div { display: flex; flex-direction: column; }
.about__stats strong { font-family: var(--serif); font-size: 2.4rem; color: var(--gold); }
.about__stats .star { font-size: 1.4rem; }
.stat > span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); display: block; margin-top: .3rem; }
.about__img { height: 560px; border-radius: 3px; overflow: hidden; position: relative; }
.about__img img { transition: transform 1.4s var(--ease); }
.about__img:hover img { transform: scale(1.06); }
.about__img::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); margin: 14px; pointer-events: none;
}

/* ============================================================
   MENU
   ============================================================ */
.menu { padding: 7rem 3.5rem; background: var(--noir-2); }
.section-head { text-align: center; margin-bottom: 4rem; }
.section-head h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
.menu__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.4rem 5rem;
  max-width: 1100px; margin: 0 auto;
}
.dish {
  display: grid; grid-template-columns: auto auto 1fr auto;
  align-items: baseline; column-gap: 1rem;
  padding-bottom: 1.4rem; border-bottom: 1px solid color-mix(in srgb, var(--gold) 16%, transparent);
  cursor: pointer; transition: padding-left .35s var(--ease), border-color .35s;
}
.dish:hover { padding-left: .5rem; border-color: color-mix(in srgb, var(--gold-soft) 40%, transparent); }
.dish__num { font-family: var(--serif); font-size: .95rem; color: var(--gold); opacity: .7; }
.dish__name { font-family: var(--serif); font-size: 1.5rem; transition: color .3s; }
.dish:hover .dish__name { color: var(--gold-soft); }
.dish__dots { border-bottom: 1px dotted color-mix(in srgb, var(--muted) 40%, transparent); transform: translateY(-4px); }
.dish__price { font-family: var(--serif); font-size: 1.4rem; color: var(--gold); }
.dish__desc { grid-column: 1 / -1; color: var(--muted); font-size: .92rem; margin-top: .5rem; }

/* ============================================================
   ORDERING (delivery + dine-in) — shared cart UI
   ============================================================ */
.order { padding: 7rem 3.5rem; max-width: 1280px; margin: 0 auto; }
.order--dinein { background: var(--noir-2); max-width: 100%; }
.order--dinein .order__layout { max-width: 1280px; margin: 0 auto; }
.order__lead { color: var(--muted); max-width: 46ch; margin: 0 auto; }
.order__layout {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 3.5rem; align-items: start;
}

/* menu list */
.item-group__title {
  font-family: var(--serif); font-size: 1.1rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); margin: 2.2rem 0 1rem; padding-bottom: .5rem; border-bottom: 1px solid color-mix(in srgb, var(--gold) 20%, transparent);
}
.item-group:first-child .item-group__title { margin-top: 0; }
.item-row {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 1rem;
  padding: .9rem 0; border-bottom: 1px solid color-mix(in srgb, var(--gold) 10%, transparent);
}
.item-row__badge {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--gold-soft) 40%, transparent);
  display: grid; place-items: center; font-family: var(--serif); font-size: 1.1rem; color: var(--gold-soft);
  flex-shrink: 0;
}
.item-row__info { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.item-row__name { font-family: var(--serif); font-size: 1.15rem; }
.item-row__desc { color: var(--muted); font-size: .82rem; }
.item-row__price { font-family: var(--serif); font-size: 1.1rem; color: var(--gold); white-space: nowrap; }

.stepper { display: flex; align-items: center; gap: .7rem; }
.stepper__btn {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--gold-soft) 40%, transparent);
  background: none; color: var(--gold-soft); font-size: 1rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: background .3s, color .3s;
}
.stepper__btn:hover { background: var(--gold); color: var(--ink); }
.stepper__btn:disabled { opacity: .3; cursor: default; }
.stepper__btn:disabled:hover { background: none; color: var(--gold-soft); }
.stepper__qty { min-width: 1.2rem; text-align: center; font-family: var(--serif); font-size: 1.05rem; }

/* cart panel */
.cart {
  position: sticky; top: 6.5rem; background: var(--noir-2); border: 1px solid color-mix(in srgb, var(--gold) 20%, transparent);
  border-radius: 4px; padding: 2rem; align-self: start;
}
.order--dinein .cart { background: var(--noir); }
.cart h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 1.4rem; }
.cart__items { min-height: 3rem; margin-bottom: 1.2rem; display: flex; flex-direction: column; gap: .6rem; }
.cart__empty { color: var(--muted); font-size: .9rem; }
.cart__min-hint { color: var(--gold-soft); font-size: .82rem; margin-top: .6rem; }
.cart__line {
  display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem;
  color: var(--cream); padding-bottom: .5rem; border-bottom: 1px dotted color-mix(in srgb, var(--muted) 25%, transparent);
}
.cart__total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 1rem; margin-bottom: 1.4rem; border-top: 1px solid color-mix(in srgb, var(--gold) 25%, transparent);
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.cart__total strong { font-family: var(--serif); font-size: 1.6rem; color: var(--gold); text-transform: none; letter-spacing: 0; }

.cart__checkout { display: flex; flex-direction: column; gap: .8rem; }
.cart__checkout input {
  background: color-mix(in srgb, var(--cream) 4%, transparent); border: 1px solid color-mix(in srgb, var(--gold) 28%, transparent);
  color: var(--cream); padding: .85rem 1rem; border-radius: 2px;
  font-family: var(--sans); font-size: .92rem; transition: border-color .3s;
}
.cart__checkout input::placeholder { color: var(--muted); }
.cart__checkout input:focus { outline: none; border-color: var(--gold); }
.table-badge {
  background: color-mix(in srgb, var(--gold) 12%, transparent); border: 1px solid color-mix(in srgb, var(--gold-soft) 40%, transparent);
  color: var(--gold-soft); border-radius: 2px; padding: .85rem 1rem;
  font-family: var(--serif); font-size: 1.1rem; text-align: center;
}
.cart__submit { border: none; cursor: pointer; width: 100%; text-align: center; }
.cart__submit:disabled { opacity: .35; cursor: not-allowed; box-shadow: none; }
.cart__submit:disabled:hover { background: var(--gold); }

.fulfil-toggle { display: flex; border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent); border-radius: 2px; overflow: hidden; }
.fulfil-toggle__btn {
  flex: 1; padding: .7rem; background: none; border: none; color: var(--muted);
  font-family: var(--sans); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer; transition: background .3s, color .3s;
}
.fulfil-toggle__btn.is-active { background: var(--gold); color: var(--ink); }
.fulfil-toggle__btn + .fulfil-toggle__btn { border-left: 1px solid color-mix(in srgb, var(--gold) 30%, transparent); }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { padding: 7rem 3.5rem; }
.gallery__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
  max-width: 1280px; margin: 0 auto; grid-auto-rows: 240px;
}
.gallery figure { overflow: hidden; border-radius: 3px; position: relative; }
.gallery figure.tall { grid-row: span 2; }
.gallery figure img { transition: transform 1.2s var(--ease), filter 1.2s var(--ease); filter: grayscale(.2) brightness(.85); }
.gallery figure:hover img { transform: scale(1.08); filter: grayscale(0) brightness(1); }

/* ============================================================
   RESERVE
   ============================================================ */
.reserve {
  padding: 8rem 3.5rem; text-align: center; position: relative;
  background:
    linear-gradient(color-mix(in srgb, var(--overlay) 86%, transparent), color-mix(in srgb, var(--overlay) 92%, transparent)),
    url("images/hero.jpg") center/cover fixed;
}
.reserve__inner { max-width: 720px; margin: 0 auto; }
.reserve h2 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 1rem; }
.reserve__lead { color: color-mix(in srgb, var(--overlay-text) 70%, transparent); margin-bottom: 2.6rem; }
.reserve__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.reserve__form input, .reserve__form select {
  background: color-mix(in srgb, var(--overlay-text) 4%, transparent); border: 1px solid color-mix(in srgb, var(--gold) 28%, transparent);
  color: var(--overlay-text); padding: 1rem 1.2rem; border-radius: 2px;
  font-family: var(--sans); font-size: .95rem; transition: border-color .3s;
}
.reserve__form input::placeholder { color: color-mix(in srgb, var(--overlay-text) 55%, transparent); }
.reserve__form input:focus, .reserve__form select:focus { outline: none; border-color: var(--gold); }
.reserve__form option { background: var(--overlay); }
.reserve__submit { grid-column: 1 / -1; border: none; cursor: pointer; margin-top: .6rem; }

/* ============================================================
   CONTACT / VISIT US
   ============================================================ */
.contact { padding: 7rem 3.5rem; background: var(--noir-2); }
.contact__layout {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem;
  max-width: 1100px; margin: 0 auto; align-items: stretch;
}
.contact__info { display: flex; flex-direction: column; gap: 1.6rem; justify-content: center; }
.contact__item { display: flex; flex-direction: column; gap: .3rem; }
.contact__label { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.contact__item span:not(.contact__label) { font-family: var(--serif); font-size: 1.2rem; }
.contact__whatsapp { border: none; cursor: pointer; width: fit-content; text-align: center; }
.contact__map {
  border-radius: 4px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--gold) 20%, transparent);
  min-height: 320px;
}
.contact__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; filter: grayscale(.3) invert(.92) contrast(.9); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { text-align: center; padding: 4rem 3.5rem; border-top: 1px solid color-mix(in srgb, var(--gold) 16%, transparent); }
.footer .crest { margin: 0 auto 1rem; }
.footer__brand { font-family: var(--serif); font-size: 1.6rem; letter-spacing: .28em; margin-bottom: 1rem; }
.footer p { color: var(--muted); font-size: .9rem; margin-bottom: .4rem; }
.footer__small { opacity: .6; font-size: .8rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav { padding: 1.2rem 1.5rem; }
  .nav.scrolled { padding: .9rem 1.5rem; }
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__lang { display: none; }
  .nav__burger { display: flex; }
  .hero__content { padding: 0 1.5rem; }
  .about { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 1.5rem; }
  .about__img { height: 380px; }
  .crest--watermark { width: 180px; height: 180px; top: -20px; right: -10px; }
  .menu, .gallery, .reserve, .order, .contact { padding: 5rem 1.5rem; }
  .menu__grid { grid-template-columns: 1fr; gap: 2rem; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery figure.tall { grid-row: span 1; }
  .reserve__form { grid-template-columns: 1fr; }
  .reserve { background-attachment: scroll; }
  .contact__layout { grid-template-columns: 1fr; }
  .menu-preview { display: none; }
  .cursor-ring, .cursor-dot { display: none; }
  .order__layout { grid-template-columns: 1fr; gap: 2.4rem; }
  .cart { position: static; }
  .item-row { grid-template-columns: auto 1fr; row-gap: .5rem; }
  .item-row__price { grid-column: 2; justify-self: start; order: 3; }
  .stepper { grid-column: 1 / -1; order: 4; margin-left: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .hero__img { animation: none; transform: scale(1.1); }
  .reveal-up, .reveal-clip { opacity: 1; transform: none; clip-path: none; }
}

/* ============================================================
   RTL (Arabic) polish
   ============================================================ */
[dir="rtl"] .about p.dropcap::first-letter {
  float: right; margin: .06em 0 0 .12em;
}
[dir="rtl"] .nav__links a::after { left: auto; right: 0; }
[dir="rtl"] .item-row__badge { font-family: var(--serif); }
[dir="rtl"] .stat strong { direction: ltr; }
[dir="rtl"] .cart__total strong { direction: ltr; }
[dir="rtl"] .item-row__price,
[dir="rtl"] .dish__price,
[dir="rtl"] .cart__line span:last-child { direction: ltr; unicode-bidi: isolate; }
