/*!
 * MEHFIL — Pakistanische Spezialitäten · Hannover
 * Main stylesheet
 *
 * 01. Tokens
 * 02. Base & utilities
 * 03. Buttons & links
 * 04. Preloader, progress, header
 * 05. Hero & lexicon
 * 06. Sections (about, menu, chai, regions, gallery, reservation, contact)
 * 07. Footer, lightbox, toast
 * 08. Motion (reveal, keyframes)
 * 09. Urdu / RTL
 * 10. Responsive
 * 11. Reduced motion
 */

/* ========== 01. Tokens ========== */
:root {
  --bg: #0d0c0a;
  --bg-2: #13110e;
  --surface: #1a1713;
  --surface-2: #221e18;
  --line: rgba(244, 236, 223, .1);
  --line-strong: rgba(214, 174, 103, .32);

  --ivory: #f4ecdf;
  --text: #e9e0d2;
  --muted: #a99f8f;
  --gold: #d6ae67;
  --gold-light: #f2d397;
  --gold-deep: #9c7535;
  --truck-red: #b8432f;
  --truck-green: #1d6b48;
  --truck-blue: #2a4f8f;
  --neon: #4dff9a;

  --gold-gradient: linear-gradient(100deg, #b98b45 0%, #f2d397 45%, #d6ae67 60%, #a8803f 100%);

  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --urdu: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Manrope', system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --container: 1240px;
  --header-h: 84px;
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
}

/* ========== 02. Base & utilities ========== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }

/* Subtle grain over everything for a printed, warm feel */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 500; color: var(--ivory); }
p { margin: 0 0 1em; }
::selection { background: var(--gold); color: #1a140a; }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: currentColor;
}
.icon--sm { width: .85em; height: .85em; }

.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 10000;
  padding: 12px 18px;
  background: var(--gold);
  color: #1a140a;
  font-weight: 700;
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.section {
  position: relative;
  padding-block: clamp(84px, 11vw, 150px);
}

.section-head {
  max-width: 640px;
  margin: 0 auto clamp(40px, 6vw, 70px);
  text-align: center;
}
.section-head p:last-child { color: var(--muted); margin: 0; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.kicker::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.section-head .kicker::after {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}

.title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5.4vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  margin-bottom: 26px;
  text-wrap: balance;
}
.title em,
.hero__title + .hero__sub em {
  font-style: italic;
  background: var(--gold-gradient);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s ease-in-out infinite;
  /* background-clip:text only paints inside the box: pad it so glyph
     overhangs (italic swashes, Nastaliq ascenders/descenders) stay visible.
     Vertical padding on inline elements does not affect line layout. */
  padding: .25em .08em .35em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  color: var(--text);
}
.section p { color: var(--muted); }
.section .lead { color: var(--text); }
.fine { font-size: 13px; color: #8f8576 !important; }

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
  margin: 0 0 28px;
  max-width: 180px;
}
.divider span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.divider span:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.divider .icon { width: 14px; height: 14px; }

/* Decorative band inspired by Pakistani truck-art "jhalar" fringes */
.truck-fringe {
  position: absolute;
  inset-inline: 0;
  inset-block-start: 0;
  height: 24px;
  background:
    linear-gradient(var(--gold-deep), var(--gold-deep)) top / 100% 3px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='24'%3E%3Cpath d='M0 3h18l-9 12z' fill='%23b8432f'/%3E%3Cpath d='M18 3h18l-9 12z' fill='%23d6ae67'/%3E%3Cpath d='M36 3h18l-9 12z' fill='%231d6b48'/%3E%3Cpath d='M54 3h18l-9 12z' fill='%232a4f8f'/%3E%3Ccircle cx='9' cy='19.5' r='2.2' fill='%23d6ae67'/%3E%3Ccircle cx='27' cy='19.5' r='2.2' fill='%23b8432f'/%3E%3Ccircle cx='45' cy='19.5' r='2.2' fill='%23d6ae67'/%3E%3Ccircle cx='63' cy='19.5' r='2.2' fill='%231d6b48'/%3E%3C/svg%3E") 0 0 / 72px 24px repeat-x;
  opacity: .85;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

/* ========== 03. Buttons & links ========== */
.btn {
  --bx: 0px;
  --by: 0px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  transform: translate(var(--bx), var(--by));
  transition: transform .4s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .4s;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translate(var(--bx), var(--by)) scale(.97); }

.btn--gold {
  background: var(--gold);
  color: #1a140a;
  box-shadow: 0 10px 30px -10px rgba(214, 174, 103, .55);
}
.btn--gold:hover { background: var(--gold-light); box-shadow: 0 18px 40px -12px rgba(214, 174, 103, .7); }

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ivory);
  background: rgba(255, 255, 255, .02);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--gold); background: rgba(214, 174, 103, .1); }

.btn--text { color: var(--muted); padding-inline: 12px; }
.btn--text:hover { color: var(--ivory); }

.btn--sm { min-height: 42px; padding: 10px 20px; font-size: 13px; }
.btn--lg { min-height: 56px; padding: 16px 30px; font-size: 15px; }
.btn--block { width: 100%; }
.btn .icon--arrow { transition: transform .4s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  padding-block: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease), color .3s;
}
.link-arrow:hover { background-size: 100% 1px; color: var(--gold-light); }
.link-arrow .icon { transition: transform .4s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ========== 04. Preloader, progress, header ========== */
.preloader { display: none; }
.js .preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity .8s var(--ease), visibility .8s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
/* Hold hero entrance animations until the intro has faded */
.js:not(.is-ready) .hero *,
.js:not(.is-ready) .hero__visual { animation-play-state: paused; }
.preloader__inner { display: grid; justify-items: center; gap: 28px; }
.preloader__logo {
  width: clamp(130px, 22vw, 190px);
  border-radius: 50%;
  animation: preloaderLogo 1.4s var(--ease-out) both;
  box-shadow: 0 0 80px rgba(214, 174, 103, .25);
}
.preloader__line { width: 140px; height: 1px; background: var(--line); overflow: hidden; }
.preloader__line span {
  display: block;
  height: 100%;
  background: var(--gold);
  transform-origin: left;
  animation: preloaderLine 1.2s var(--ease) both;
}

.scroll-progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 1001;
  height: 2px;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
}
[dir='rtl'] .scroll-progress span { transform-origin: right; }

.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: height .4s var(--ease), transform .5s var(--ease);
}
/* Glass background lives on a pseudo-element: a backdrop-filter on the header
   itself would become the containing block of the fixed mobile menu. */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-bottom: 1px solid transparent;
  transition: background-color .4s, border-color .4s, opacity .4s;
}
.site-header.is-scrolled { height: 70px; }
.site-header.is-scrolled::before {
  background: rgba(13, 12, 10, .78);
  border-color: var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.site-header.is-hidden { transform: translateY(-100%); }

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line-strong);
  transition: transform .6s var(--ease), width .4s var(--ease), height .4s var(--ease);
}
.brand:hover .brand__logo { transform: rotate(-12deg) scale(1.05); }
.is-scrolled .brand__logo { width: 44px; height: 44px; }
.brand__text { display: grid; line-height: 1.1; }
.brand__name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .26em;
  color: var(--ivory);
}
.brand__tag {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}

.main-nav { margin-inline: auto; }
.main-nav__list { display: flex; gap: clamp(14px, 2.2vw, 32px); }
.main-nav__list a {
  position: relative;
  display: block;
  padding-block: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #d9cfbf;
  transition: color .3s;
}
.main-nav__list a::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .45s var(--ease);
}
.main-nav__list a:hover,
.main-nav__list a.is-active { color: var(--ivory); }
.main-nav__list a:hover::after,
.main-nav__list a.is-active::after { transform: scaleX(1); }
.main-nav__cta { display: none; }

.header__actions { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; }
.main-nav + .header__actions { margin-inline-start: 0; }

.lang { position: relative; }
.lang__toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding-inline: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--ivory);
  transition: border-color .3s, background-color .3s;
}
.lang__toggle:hover,
.lang__toggle[aria-expanded='true'] { border-color: var(--line-strong); background: rgba(214, 174, 103, .08); }
.lang__toggle .icon { color: var(--gold); }
.lang__chev { transition: transform .3s; }
.lang__toggle[aria-expanded='true'] .lang__chev { transform: rotate(180deg); }
.lang__menu {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 10px);
  min-width: 170px;
  padding: 6px;
  background: rgba(26, 23, 19, .96);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(.98);
  transform-origin: top right;
  transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.lang__menu.is-open { opacity: 1; visibility: visible; transform: none; }
.lang__menu button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 11px 13px;
  border-radius: 9px;
  font-size: 14px;
  color: var(--text);
  text-align: start;
  transition: background-color .2s;
}
.lang__menu button[lang='ur'] span { font-family: var(--urdu); font-size: 15px; line-height: 1.4; }
.lang__menu button small { color: var(--muted); font-size: 11px; letter-spacing: .1em; }
.lang__menu button:hover { background: rgba(214, 174, 103, .1); }
.lang__menu button[aria-checked='true'] { background: rgba(214, 174, 103, .16); color: var(--ivory); }
.lang__menu button[aria-checked='true'] small { color: var(--gold); }

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.burger span {
  position: absolute;
  inset-inline-start: 13px;
  width: 18px;
  height: 1.5px;
  background: var(--ivory);
  border-radius: 2px;
  transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; width: 12px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded='true'] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ========== 05. Hero & lexicon ========== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--header-h) + 40px) 90px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 75% 30%, rgba(214, 174, 103, .1), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(29, 107, 72, .14), transparent 50%),
    var(--bg);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow {
  position: absolute;
  width: 46vmax;
  height: 46vmax;
  inset-inline-end: -10vmax;
  top: -12vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 174, 103, .18), transparent 65%);
  filter: blur(20px);
  animation: glowDrift 14s ease-in-out infinite alternate;
}
.hero__calligraphy {
  position: absolute;
  inset-inline-start: -2vw;
  bottom: -6vw;
  font-family: var(--urdu);
  font-size: clamp(220px, 34vw, 520px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(214, 174, 103, .16);
  white-space: nowrap;
  user-select: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(30px, 5vw, 80px);
}

.hero__kicker { animation: rise 1s var(--ease-out) both .2s; }
.hero__title {
  display: flex;
  font-family: var(--serif);
  font-size: clamp(4.4rem, 11.5vw, 10.5rem);
  font-weight: 500;
  line-height: .9;
  letter-spacing: .1em;
  margin: 0 0 22px;
  direction: ltr;
}
[dir='rtl'] .hero__title { justify-content: flex-end; }
.hero__title span {
  display: inline-block;
  background: linear-gradient(180deg, #fff6e6 20%, #d9c3a0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: letterIn 1.2s var(--ease-out) both;
  animation-delay: calc(.35s + var(--i, 0) * .08s);
}
.hero__title span:nth-child(1) { --i: 0; }
.hero__title span:nth-child(2) { --i: 1; }
.hero__title span:nth-child(3) { --i: 2; }
.hero__title span:nth-child(4) { --i: 3; }
.hero__title span:nth-child(5) { --i: 4; }
.hero__title span:nth-child(6) { --i: 5; }

.hero__sub {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .34em;
  text-transform: uppercase;
  animation: rise 1s var(--ease-out) both .9s;
}
.ornament-dot {
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--gold);
  transform: rotate(45deg);
}
.hero__lead {
  max-width: 480px;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  color: #d4cabb;
  margin-bottom: 36px;
  animation: rise 1s var(--ease-out) both 1.05s;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: rise 1s var(--ease-out) both 1.2s;
}
.hero__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 34px 0 0;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .06em;
  animation: rise 1s var(--ease-out) both 1.35s;
}
.hero__meta .icon { color: var(--gold); }

.hero__visual {
  position: relative;
  justify-self: center;
  width: min(100%, 470px);
  animation: visualIn 1.6s var(--ease-out) both .3s;
}
.arch {
  position: relative;
  overflow: hidden;
  border-radius: 999px 999px var(--radius) var(--radius);
  box-shadow: var(--shadow);
}
.arch::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(242, 211, 151, .45);
  border-radius: inherit;
  pointer-events: none;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--hero { aspect-ratio: 4 / 5.2; }
.arch--hero img { animation: kenBurns 24s ease-in-out infinite alternate; }

.hero__float {
  position: absolute;
  inset-inline-start: -16%;
  bottom: 8%;
  width: 40%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--bg);
  box-shadow: var(--shadow), 0 0 0 1px var(--line-strong);
  animation: float 7s ease-in-out infinite;
}
.hero__float img { width: 100%; height: 100%; object-fit: cover; }

.badge-ring {
  position: absolute;
  inset-inline-end: -9%;
  top: 6%;
  width: 34%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.badge-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 26s linear infinite;
}
.badge-ring text {
  fill: var(--gold-light);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
}
.badge-ring img {
  width: 52%;
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--bg), 0 0 40px rgba(214, 174, 103, .3);
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  translate: -50% 0;
  display: grid;
  justify-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--muted);
  animation: rise 1s var(--ease-out) both 1.6s;
}
.scroll-cue i {
  position: relative;
  width: 1px;
  height: 46px;
  background: var(--line);
  overflow: hidden;
}
.scroll-cue i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  animation: scrollLine 2.2s var(--ease) infinite;
}

/* Lexicon — the word "Mehfil" presented as a dictionary entry */
.lexicon {
  position: relative;
  overflow: hidden;
  padding-block: clamp(70px, 9vw, 120px);
  background:
    repeating-linear-gradient(180deg, transparent 0 43px, rgba(244, 236, 223, .035) 43px 44px),
    var(--bg-2);
  border-block: 1px solid var(--line);
}
.lexicon::before {
  /* fade the ruled lines towards the edges */
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 30%, var(--bg-2) 85%);
}
.lexicon__grid {
  position: relative;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
}

.lexicon__script { position: relative; isolation: isolate; display: grid; justify-items: center; gap: 4px; }
.lexicon__script::before {
  /* soft gold halo behind the calligraphy */
  content: '';
  position: absolute;
  inset: 10% 15%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(214, 174, 103, .14), transparent);
}
.lexicon__word {
  display: block;
  padding: .3em .15em .55em;
  margin-block: -.15em -.3em;
  font-family: var(--urdu);
  font-size: clamp(110px, 15vw, 210px);
  line-height: 1.3;
  direction: rtl;
  background: var(--gold-gradient);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 8s ease-in-out infinite;
}
/* Urdu is written right to left: the word appears as if inked by a pen */
.js .lexicon__script.reveal { opacity: 1; transform: none; }
.js .lexicon__script .lexicon__word {
  clip-path: inset(-40% -10% -40% 100%);
  transition: clip-path 2.4s cubic-bezier(.65, 0, .35, 1) .2s;
}
.js .lexicon__script.is-in .lexicon__word { clip-path: inset(-40% -10% -40% -10%); }
.js .lexicon__script .lexicon__origin { opacity: 0; transition: opacity 1s 2s; }
.js .lexicon__script.is-in .lexicon__origin { opacity: 1; }
.lexicon__origin {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--muted);
}

.lexicon__entry {
  padding-inline-start: clamp(30px, 5vw, 70px);
  border-inline-start: 1px solid var(--line-strong);
}
.lexicon__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  margin-bottom: 26px;
}
.lexicon__head {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.6vw, 3.8rem);
  font-weight: 600;
  line-height: 1;
  color: var(--ivory);
}
.lexicon__ipa {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--gold);
  direction: ltr;
  unicode-bidi: isolate;
}
.lexicon__pos {
  padding: 3px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  font-style: italic;
  color: var(--muted);
}
.lexicon__defs { display: grid; gap: 18px; }
.lexicon__defs li { display: grid; grid-template-columns: 34px 1fr; align-items: baseline; }
.lexicon__num {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 600;
  color: var(--gold);
}
.lexicon__defs p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.4;
  color: var(--ivory);
}
.lexicon__defs li + li p { color: var(--text); font-style: italic; }
.lexicon__see {
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--muted);
}
.lexicon__see > span {
  margin-inline-end: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.lexicon__see em { font-family: var(--serif); font-size: 1.1rem; color: var(--gold-light); }

/* ========== 06. Sections ========== */

/* About */
.about { overflow-x: clip; }
.about__grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
}
.about__media { position: relative; isolation: isolate; padding-block-end: 12%; padding-inline-end: 14%; }
.about__main {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
}
.about__main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about__media:hover .about__main img { transform: scale(1.05); }
.about__accent {
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  width: 52%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  border: 6px solid var(--bg);
  box-shadow: var(--shadow);
}
.about__accent img { width: 100%; height: 100%; object-fit: cover; }
.about__frame {
  position: absolute;
  inset-inline-start: -22px;
  top: -22px;
  width: 55%;
  height: 55%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  z-index: -1;
}

.pillars { display: grid; gap: 14px; margin: 34px 0 34px; }
.pillar {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(255, 255, 255, .025), transparent);
  transition: border-color .4s, background-color .4s, transform .5s var(--ease);
}
.pillar:hover { border-color: var(--line-strong); transform: translateX(6px); }
[dir='rtl'] .pillar:hover { transform: translateX(-6px); }
.pillar__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: rgba(214, 174, 103, .12);
  color: var(--gold);
}
.pillar__icon .icon { width: 21px; height: 21px; }
.pillar h3 { font-family: var(--sans); font-size: 15.5px; font-weight: 700; margin-bottom: 2px; }
.pillar p { margin: 0; font-size: 14px; }

/* Menu */
.menu { background: var(--bg-2); }
.dishes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 30px);
}
.dish {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s;
}
.dish:hover { border-color: var(--line-strong); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(214, 174, 103, .15); }
.dish::before {
  /* pointer-following sheen */
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(242, 211, 151, .14), transparent 45%);
  opacity: 0;
  transition: opacity .4s;
}
.dish:hover::before { opacity: 1; }
.dish__media { position: relative; aspect-ratio: 4 / 4.2; overflow: hidden; }
.dish__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; }
.dish:hover .dish__media img { transform: scale(1.08); filter: saturate(1.15); }
.dish__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, var(--surface));
}
.dish__tag {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-start: 16px;
  z-index: 1;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(13, 12, 10, .65);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.dish__body { position: relative; padding: 6px 28px 30px; }
.dish__num {
  display: block;
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 4px;
}
.dish h3 { font-family: var(--serif); font-size: 1.85rem; line-height: 1.15; margin-bottom: 10px; }
.dish p { margin: 0; font-size: 14.5px; }

.menu__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  margin-top: clamp(36px, 5vw, 56px);
  padding: 26px 30px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}
.menu__foot p { margin: 0; max-width: 620px; font-size: 14.5px; }

/* Chai & truck art */
.chai { overflow-x: clip; }
.chai__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
}
.chai__visual { position: relative; max-width: 460px; justify-self: center; width: 100%; }
.arch--chai { aspect-ratio: 4 / 5.3; }
.chai__visual::before {
  content: '';
  position: absolute;
  inset: -18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px 999px calc(var(--radius) + 12px) calc(var(--radius) + 12px);
  animation: breathe 6s ease-in-out infinite;
}
.steam {
  position: absolute;
  left: 63%;
  top: 46%;
  display: flex;
  gap: 12px;
  pointer-events: none;
}
.steam i {
  display: block;
  width: 10px;
  height: 90px;
  border-inline-start: 3px solid rgba(255, 248, 235, .55);
  border-radius: 50%;
  filter: blur(5px);
  opacity: 0;
  animation: steam 4.5s ease-in-out infinite;
}
.steam i:nth-child(2) { animation-delay: 1.4s; margin-top: -14px; }
.steam i:nth-child(3) { animation-delay: 2.8s; }

/* Regions */
.regions {
  background:
    radial-gradient(ellipse at 85% 50%, rgba(77, 255, 154, .07), transparent 55%),
    var(--bg-2);
}
.regions__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 22px;
}
.tab {
  padding: 11px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: background-color .35s, color .35s, border-color .35s, transform .35s var(--ease);
}
.tab:hover { border-color: var(--gold); transform: translateY(-2px); }
.tab[aria-selected='true'] { background: var(--gold); border-color: var(--gold); color: #1a140a; }
.tab-panel {
  position: relative;
  min-height: 130px;
  padding: 26px 28px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--gold);
}
.tab-panel p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.45;
  color: var(--ivory);
}
.tab-panel.is-switching p { animation: panelIn .6s var(--ease-out) both; }

.neon {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(77, 255, 154, .2), 0 30px 80px -30px rgba(77, 255, 154, .35);
  animation: neonPulse 3.6s ease-in-out infinite;
}
.neon img { width: 100%; aspect-ratio: 709 / 752; object-fit: cover; }
.neon figcaption {
  position: absolute;
  inset-inline: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(13, 12, 10, .72);
  backdrop-filter: blur(10px);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ivory);
}
.neon__dot {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 10px var(--neon), 0 0 22px var(--neon);
  animation: flicker 5s linear infinite;
}

/* Gallery */
.masonry { columns: 3 280px; column-gap: 18px; }
.masonry__item {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  break-inside: avoid;
  cursor: zoom-in;
  background: var(--surface);
}
.masonry__item img { width: 100%; transition: transform 1s var(--ease), filter .6s; }
.masonry__item:hover img { transform: scale(1.06); filter: brightness(.8); }
.masonry__cap {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 50px 20px 18px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .8));
  color: var(--ivory);
  font-size: 14px;
  font-weight: 600;
  text-align: start;
  transform: translateY(20px);
  opacity: 0;
  transition: transform .5s var(--ease), opacity .5s;
}
.masonry__item:hover .masonry__cap,
.masonry__item:focus-visible .masonry__cap { transform: none; opacity: 1; }

/* Reservation */
.reserve {
  background:
    radial-gradient(ellipse at 15% 20%, rgba(184, 67, 47, .12), transparent 50%),
    radial-gradient(ellipse at 90% 90%, rgba(214, 174, 103, .1), transparent 50%),
    var(--bg-2);
}
.reserve__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}
.perks { display: grid; gap: 14px; margin: 30px 0; }
.perks li { display: flex; align-items: center; gap: 14px; color: var(--text); font-weight: 600; font-size: 15px; }
.perks .icon {
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 50%;
  background: rgba(214, 174, 103, .14);
  color: var(--gold);
}
.notice {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(214, 174, 103, .06);
  border: 1px solid rgba(214, 174, 103, .2);
  font-size: 13px;
  line-height: 1.65;
}

.form-card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: clamp(22px, 4vw, 44px);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}
/* Rotating light travelling around the card border */
.form-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -2;
  border-radius: inherit;
  background:
    conic-gradient(from var(--angle, 0deg), transparent 0 65%, rgba(242, 211, 151, .9) 82%, transparent 95%),
    var(--line-strong);
  animation: borderSpin 7s linear infinite;
}
.form-card::after {
  content: '';
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: calc(var(--radius) + 3px);
  background: linear-gradient(160deg, #221e18, #14120f);
}

.steps {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
  counter-reset: step;
}
.steps li {
  flex: 1;
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 3px solid var(--line);
  transition: border-color .5s var(--ease);
}
.steps li span {
  display: none;
}
.steps li em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .4s;
}
.steps li.is-active { border-color: var(--gold); }
.steps li.is-active em { color: var(--gold-light); }

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form__row--3 { grid-template-columns: 1.2fr 1fr 1fr; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(244, 236, 223, .14);
  background: rgba(13, 12, 10, .55);
  color: var(--ivory);
  font-size: 16px;
  color-scheme: dark;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field textarea { min-height: 104px; resize: vertical; }
.field select {
  appearance: none;
  padding-inline-end: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23d6ae67' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 18px;
  background-position: right 14px center;
}
[dir='rtl'] .field select { background-position: left 14px center; }
.field ::placeholder { color: #776e61; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(214, 174, 103, .35); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(13, 12, 10, .8);
  box-shadow: 0 0 0 4px rgba(214, 174, 103, .14);
}
.field.is-invalid input { border-color: #d9654f; box-shadow: 0 0 0 4px rgba(217, 101, 79, .14); }
.form .btn { margin-top: 6px; }

.result { text-align: center; }
.result:focus { outline: none; }
.result.is-visible { animation: panelIn .7s var(--ease-out) both; }
.result__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--gold);
  color: #1a140a;
  box-shadow: 0 0 0 10px rgba(214, 174, 103, .14);
  animation: pop .7s var(--ease-out) both .15s;
}
.result__icon .icon { width: 30px; height: 30px; }
.result h3 { font-family: var(--serif); font-size: 2rem; margin-bottom: 8px; }
.result p { color: var(--muted); font-size: 14.5px; }
.result__text {
  margin: 18px 0 22px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: rgba(13, 12, 10, .65);
  border: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text);
  text-align: start;
  white-space: pre-wrap;
  word-break: break-word;
}
.result__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Contact */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 28px); }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s;
}
.card::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 2px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transition: transform .6s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.card:hover::after { transform: scaleX(1); }
.card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--gold);
}
.card__icon .icon { width: 24px; height: 24px; }
.card .kicker { margin-bottom: 8px; font-size: 11px; }
.card .kicker::before { display: none; }
.card h3 { font-family: var(--serif); font-size: 1.75rem; margin-bottom: 10px; }
.card p { font-size: 14.5px; }
.card .link-arrow { margin-top: auto; align-self: flex-start; }

/* Social icons */
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.social {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--gold);
  transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease);
}
.social .icon { width: 20px; height: 20px; }
.social:hover { background: var(--gold); border-color: var(--gold); color: #1a140a; transform: translateY(-3px); }

/* Contact card details */
.card__strong { color: var(--text) !important; font-weight: 600; margin-bottom: 6px; }
.card__hours { direction: ltr; unicode-bidi: isolate; }
.card__phone { direction: ltr; unicode-bidi: isolate; transition: color .3s; }
.card__phone:hover { color: var(--gold-light); }
.card .socials { margin: 4px 0 22px; }

/* Live open/closed badge */
.status {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 9px;
  margin: 6px 0 20px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ivory) !important;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
}
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: #8f8576; flex: none; }
.status[data-state='open'] { border-color: rgba(77, 255, 154, .3); background: rgba(77, 255, 154, .06); }
.status[data-state='open'] .status__dot { background: var(--neon); box-shadow: 0 0 0 0 rgba(77, 255, 154, .6); animation: livePulse 2s infinite; }
.status[data-state='closed'] .status__dot { background: #d9654f; }
@keyframes livePulse { 70% { box-shadow: 0 0 0 8px rgba(77, 255, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(77, 255, 154, 0); } }

/* Hero meta: location · hours */
.hero__meta { flex-wrap: wrap; }
.hero__meta-sep { width: 4px; height: 4px; margin-inline: 6px; border-radius: 50%; background: var(--gold); opacity: .6; }

/* Footer contact list */
.footer__brand .socials { margin-top: 22px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .icon { color: var(--gold); margin-top: .3em; }
.footer__contact a[href^='tel'] { direction: ltr; unicode-bidi: isolate; }

/* Mobile menu: phone + socials (desktop hidden) */
.main-nav__meta { display: none; }

/* ========== 07. Footer, lightbox, toast ========== */
.site-footer {
  position: relative;
  padding-top: clamp(70px, 9vw, 110px);
  background: #090807;
  border-top: 1px solid var(--line);
}
.truck-fringe--flip { top: 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer__brand img { width: 88px; border-radius: 50%; margin-bottom: 20px; box-shadow: 0 0 0 1px var(--line-strong); }
.footer__brand p { max-width: 340px; color: var(--muted); font-size: 14.5px; }
.footer__col h3 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer__col li { margin-bottom: 10px; color: var(--muted); font-size: 14.5px; }
.footer__col a { transition: color .3s; }
.footer__col a:hover { color: var(--ivory); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 30px;
  padding-block: 26px 34px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: #7f7668;
}
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__legal a { transition: color .3s; }
.footer__legal a:hover { color: var(--gold); }
.to-top { display: inline-flex; align-items: center; gap: 6px; }

.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ivory);
}
.lightbox::backdrop { background: rgba(6, 5, 4, .94); backdrop-filter: blur(8px); }
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 20px; }
.lightbox__figure { display: grid; justify-items: center; gap: 14px; min-width: 0; }
.lightbox__figure img {
  max-width: 100%;
  max-height: 80dvh;
  border-radius: var(--radius-sm);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .7);
  animation: zoomIn .5s var(--ease-out) both;
}
.lightbox figcaption { display: flex; gap: 18px; align-items: baseline; font-size: 14px; color: var(--text); text-align: center; }
.lightbox__count { color: var(--gold); font-size: 12px; letter-spacing: .14em; }
.lightbox__btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(26, 23, 19, .7);
  transition: background-color .3s, border-color .3s, transform .3s var(--ease);
}
.lightbox__btn:hover { background: var(--gold); color: #1a140a; border-color: var(--gold); }
.lightbox__btn .icon { width: 22px; height: 22px; }
.lightbox__close { position: fixed; top: 18px; inset-inline-end: 18px; z-index: 2; }
.icon--back { transform: scaleX(-1); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 2000;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--gold);
  color: #1a140a;
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow);
  translate: -50% 140%;
  opacity: 0;
  transition: translate .5s var(--ease), opacity .4s;
  pointer-events: none;
}
.toast.is-visible { translate: -50% 0; opacity: 1; }

/* Closure notice (opened via #closed) */
.closure {
  width: min(520px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  margin: auto;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(214, 174, 103, .14), transparent 60%),
    linear-gradient(160deg, #221e18, #12100d);
  color: var(--text);
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .9);
}
.closure::backdrop { background: rgba(6, 5, 4, .82); backdrop-filter: blur(6px); }
.closure[open] { animation: closureIn .7s var(--ease-out) both; }
.closure[open]::backdrop { animation: fadeIn .5s ease both; }
.closure .truck-fringe { position: relative; }
.closure__body { padding: 30px clamp(22px, 6vw, 44px) 38px; text-align: center; }
.closure__logo {
  width: 74px;
  margin: 0 auto 18px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line-strong), 0 0 40px rgba(214, 174, 103, .25);
}
.closure__kicker { justify-content: center; }
.closure__kicker::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.closure__title { font-size: clamp(2rem, 7vw, 2.8rem); margin-bottom: 22px; }
.closure__dates {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  direction: ltr;
}
.closure__day {
  font-family: var(--serif);
  font-size: clamp(3.6rem, 14vw, 5rem);
  font-weight: 600;
  line-height: 1;
  background: var(--gold-gradient);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: .1em .05em .15em;
  animation: shimmer 6s ease-in-out infinite;
}
.closure__dash { width: 42px; height: 1px; background: var(--gold); position: relative; }
.closure__dash::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
}
.closure__month {
  margin: 4px 0 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
}
.closure__text { color: var(--text); font-size: 15.5px; margin-bottom: 10px; }
.closure__thanks { color: var(--muted); font-family: var(--serif); font-style: italic; font-size: 1.2rem; margin-bottom: 28px; }
.closure__ok { min-width: 180px; }
html[lang='ur'] .closure__title { font-size: clamp(1.7rem, 6vw, 2.3rem); }
html[lang='ur'] .closure__month { letter-spacing: 0; font-size: 15px; }
html[lang='ur'] .closure__thanks { font-family: var(--urdu); font-style: normal; font-size: 1rem; }
html[lang='ur'] .closure__text { line-height: 2.2; }
@keyframes closureIn { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ========== 08. Motion ========== */
.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }
/* Revealed elements hand transform back to their own hover effects */
.js .dish.reveal.is-in {
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: opacity 1s var(--ease-out) calc(var(--d, 0) * 110ms), transform .5s var(--ease), border-color .4s, box-shadow .5s;
}
.js .pillar.reveal.is-in,
.js .card.reveal.is-in {
  transition: opacity 1s var(--ease-out) calc(var(--d, 0) * 110ms), transform .5s var(--ease), border-color .4s;
}
.js .pillar.reveal.is-in:hover { transform: translateX(6px); }
[dir='rtl'] .pillar.reveal.is-in:hover { transform: translateX(-6px); }
.js .card.reveal.is-in:hover { transform: translateY(-6px); }

@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes letterIn {
  from { opacity: 0; transform: translateY(60%) rotateX(-70deg); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes visualIn { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes kenBurns { from { transform: scale(1.02); } to { transform: scale(1.14) translateY(-2%); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes glowDrift { to { transform: translate(-6vmax, 6vmax) scale(1.1); } }
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@keyframes breathe { 0%, 100% { opacity: .45; transform: scale(1); } 50% { opacity: 1; transform: scale(1.015); } }
@keyframes steam {
  0% { opacity: 0; transform: translateY(20px) scaleY(.8) rotate(-6deg); }
  40% { opacity: .9; }
  100% { opacity: 0; transform: translateY(-80px) scaleY(1.2) rotate(10deg); }
}
@keyframes neonPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(77, 255, 154, .2), 0 30px 80px -30px rgba(77, 255, 154, .3); }
  50% { box-shadow: 0 0 0 1px rgba(77, 255, 154, .4), 0 30px 90px -24px rgba(77, 255, 154, .55); }
}
@keyframes flicker { 0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; } 20%, 24%, 55% { opacity: .3; } }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes borderSpin { to { --angle: 360deg; } }
@keyframes preloaderLogo { from { opacity: 0; transform: scale(.82) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes preloaderLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes shake { 0%, 100% { transform: none; } 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.shake { animation: shake .45s ease; }

/* ========== 09. Urdu / RTL ========== */
html[lang='ur'] body { font-family: var(--urdu); line-height: 2.2; }
html[lang='ur'] .title,
html[lang='ur'] .dish h3,
html[lang='ur'] .card h3,
html[lang='ur'] .result h3,
html[lang='ur'] .tab-panel p,
html[lang='ur'] .lexicon__head,
html[lang='ur'] .lexicon__defs p,
html[lang='ur'] .lexicon__see em {
  font-family: var(--urdu);
  font-style: normal;
  line-height: 1.9;
}
html[lang='ur'] .title { font-size: clamp(2rem, 4.2vw, 3.4rem); }
html[lang='ur'] .title em { font-style: normal; padding: .7em .1em 1em; }
html[lang='ur'] .dish h3,
html[lang='ur'] .card h3 { font-size: 1.45rem; }
html[lang='ur'] .tab-panel p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 2.2; }
html[lang='ur'] .lexicon__head { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 400; line-height: 1.9; }
html[lang='ur'] .lexicon__defs p { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 2.2; }
html[lang='ur'] .lexicon__see em { font-size: 1rem; }
html[lang='ur'] .lexicon__origin,
html[lang='ur'] .lexicon__see > span { letter-spacing: 0; text-transform: none; font-size: 13px; }
html[lang='ur'] .lexicon__pos { font-style: normal; }
/* Letter-spacing and uppercase break Arabic-script joining */
html[lang='ur'] .kicker,
html[lang='ur'] .hero__sub,
html[lang='ur'] .brand__tag,
html[lang='ur'] .field label,
html[lang='ur'] .steps li em,
html[lang='ur'] .dish__tag,
html[lang='ur'] .scroll-cue,
html[lang='ur'] .footer__col h3,
html[lang='ur'] .btn,
html[lang='ur'] .main-nav__list a,
html[lang='ur'] .link-arrow {
  letter-spacing: 0;
  text-transform: none;
}
html[lang='ur'] .kicker,
html[lang='ur'] .hero__sub { font-size: 15px; }
html[lang='ur'] .brand__tag { font-size: 11px; line-height: 1.8; }
html[lang='ur'] .field label { font-size: 13px; }
html[lang='ur'] .btn { line-height: 2; }
html[lang='ur'] .main-nav__list a { font-size: 15px; }
html[lang='ur'] .hero__lead { font-size: 1.05rem; line-height: 2.2; }
/* Keep e-mail, date and time fields left-to-right */
html[lang='ur'] .field input[type='email'],
html[lang='ur'] .field input[type='date'],
html[lang='ur'] .field input[type='time'],
html[lang='ur'] .result__text { direction: ltr; text-align: left; }
html[lang='ur'] .result__text { font-family: var(--urdu); direction: rtl; text-align: right; line-height: 2.2; }

[dir='rtl'] .icon--arrow { transform: scaleX(-1); }
[dir='rtl'] .btn:hover .icon--arrow,
[dir='rtl'] .link-arrow:hover .icon { transform: scaleX(-1) translateX(4px); }
[dir='rtl'] .icon--back { transform: none; }
[dir='rtl'] .divider span { background: linear-gradient(-90deg, transparent, var(--gold)); }
[dir='rtl'] .divider span:last-child { background: linear-gradient(-90deg, var(--gold), transparent); }
[dir='rtl'] .lang__menu { transform-origin: top left; }
[dir='rtl'] .link-arrow { background-position: 100% 100%; }

/* ========== 10. Responsive ========== */
@media (max-width: 1080px) {
  .burger { display: block; }
  .header__cta { display: none; }
  /* Full-screen menu: opacity/transform only (no clip-path or backdrop-filter,
     which flicker on iOS Safari) */
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 28px;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: calc(var(--header-h) + 20px) var(--gutter) max(32px, env(safe-area-inset-bottom));
    background:
      radial-gradient(ellipse at 85% 0%, rgba(214, 174, 103, .16), transparent 55%),
      #0b0a08;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity .35s ease, transform .45s var(--ease-out), visibility 0s linear .45s;
  }
  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .35s ease, transform .45s var(--ease-out), visibility 0s;
  }
  /* "Safe" centring: centred when it fits, scrollable from the top when it doesn't */
  .main-nav__list { margin-top: auto; }
  .main-nav__meta { margin-bottom: auto; }
  .main-nav__list { flex-direction: column; gap: 6px; }
  .main-nav__list a {
    font-family: var(--serif);
    font-size: clamp(1.75rem, 6.5vw, 2.5rem);
    line-height: 1.35;
    font-weight: 500;
    color: var(--ivory);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s, transform .6s var(--ease-out), color .3s;
  }
  html[lang='ur'] .main-nav__list a { font-family: var(--urdu); font-size: clamp(1.6rem, 6vw, 2.2rem); line-height: 2; }
  .main-nav__list a::after { display: none; }
  .main-nav__list a.is-active { color: var(--gold); }
  .main-nav.is-open .main-nav__list a { opacity: 1; transform: none; }
  .main-nav.is-open li:nth-child(1) a { transition-delay: .15s; }
  .main-nav.is-open li:nth-child(2) a { transition-delay: .2s; }
  .main-nav.is-open li:nth-child(3) a { transition-delay: .25s; }
  .main-nav.is-open li:nth-child(4) a { transition-delay: .3s; }
  .main-nav.is-open li:nth-child(5) a { transition-delay: .35s; }
  .main-nav.is-open li:nth-child(6) a { transition-delay: .4s; }
  .main-nav__cta { display: inline-flex; align-self: flex-start; }
  .main-nav__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    opacity: 0;
    transition: opacity .5s .45s;
  }
  .main-nav.is-open .main-nav__meta { opacity: 1; }
  .main-nav__phone { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; color: var(--ivory); direction: ltr; }
  .main-nav__phone .icon { color: var(--gold); }
  .header__actions,
  .main-nav + .header__actions { margin-inline-start: auto; }
  /* While open, the header must not transform (that would trap the fixed menu) */
  .site-header.menu-open { transform: none; transition: none; }
}
@media (max-width: 1080px) and (max-height: 640px) {
  .main-nav { gap: 18px; padding-top: calc(var(--header-h) + 10px); }
  .main-nav__list a { font-size: 1.6rem; }
  html[lang='ur'] .main-nav__list a { font-size: 1.35rem; line-height: 1.8; }
}

@media (max-width: 900px) {
  :root { --header-h: 74px; }
  .hero { padding-block: calc(var(--header-h) + 30px) 80px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__content { text-align: center; }
  .hero__kicker, .hero__sub, .hero__actions, .hero__meta { justify-content: center; }
  .hero__title { justify-content: center !important; letter-spacing: .08em; }
  .hero__lead { margin-inline: auto; }
  .hero__visual { width: min(78%, 360px); margin-top: 20px; }
  .hero__float { inset-inline-start: -14%; }
  .scroll-cue { display: none; }

  .lexicon__grid { grid-template-columns: 1fr; text-align: center; }
  .lexicon__entry {
    padding: 34px 0 0;
    border-inline-start: 0;
    border-top: 1px solid var(--line-strong);
  }
  .lexicon__meta { justify-content: center; }
  .lexicon__defs li { text-align: start; }

  .about__grid,
  .chai__grid,
  .regions__grid,
  .reserve__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; margin-inline: auto; width: 100%; }
  .chai__visual { max-width: 380px; }
  .chai__content, .regions__content { order: 2; }
  .neon { max-width: 560px; margin-inline: auto; width: 100%; }

  .dishes { grid-template-columns: repeat(2, 1fr); }
  .dishes .dish:last-child { grid-column: 1 / -1; }
  .dishes .dish:last-child .dish__media { aspect-ratio: 16 / 9; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card:last-child { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .brand__tag { display: none; }
  .brand__name { font-size: 20px; letter-spacing: .2em; }
  .brand__logo { width: 44px; height: 44px; }
  .lang__toggle { padding-inline: 11px; }
  .lang__toggle > .icon:first-child { display: none; }

  .hero__title { font-size: clamp(3.4rem, 17vw, 5rem); }
  .hero__sub { font-size: 11px; letter-spacing: .22em; gap: 10px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .badge-ring { width: 38%; inset-inline-end: -12%; }

  .dishes,
  .cards { grid-template-columns: 1fr; }
  .dishes .dish:last-child .dish__media { aspect-ratio: 4 / 4.2; }
  .cards .card:last-child { grid-column: auto; }
  .menu__foot { padding: 22px; }
  .menu__foot .btn { width: 100%; }

  .masonry { columns: 2; column-gap: 10px; }
  .masonry__item { margin-bottom: 10px; }
  .masonry__cap { display: none; }

  .form__row,
  .form__row--3 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .form__row--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form__row--3 .field:first-child { grid-column: 1 / -1; }
  .result__actions .btn { flex: 1 1 100%; }

  .lightbox[open] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; padding: 70px 14px 20px; }
  .lightbox__figure { grid-column: 1 / -1; grid-row: 1; }
  .lightbox__prev { grid-row: 2; justify-self: end; }
  .lightbox__next { grid-row: 2; justify-self: start; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}

/* ========== 11. Reduced motion ========== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .js .lexicon__script .lexicon__word { clip-path: none; }
  .js .lexicon__script .lexicon__origin { opacity: 1; }
}

/* ========== 12. Legal pages ========== */
.legal-page .legal { max-width: 760px; padding-block: 60px 100px; }
.legal .brand { margin-bottom: 60px; }
.legal .title { font-size: clamp(2.4rem, 6vw, 3.6rem); }
.legal h2 { font-family: var(--serif); font-size: 1.6rem; margin: 40px 0 10px; }
.legal p { color: var(--muted); }
.legal .notice { margin: 20px 0 30px; }
.legal .link-arrow { margin-top: 40px; }

/* ========== 13. Smooth scroll (Lenis) ========== */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
