/* Curry Leaf Indian Restaurant — styles
   Palette taken from the logo: deep maroon-brown, gold, lotus red, leaf green. */

:root {
  --brown-950: #1a0b06;
  --brown-900: #2b130c;
  --brown-800: #3d1c12;
  --brown-700: #5a2c1b;
  --gold: #d9a640;
  --gold-light: #f0c45c;
  --gold-pale: #f5e4b8;
  --red: #a8261d;
  --green: #3b6630;
  --cream: #fbf6ec;
  --paper: #f4ebda;
  --ink: #2a1710;
  --muted: #75625a;
  --line: #e4d5ba;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1200px;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(43, 19, 12, .14);
  --header-h: 76px;
}

/* ---------- Language switching ---------- */
html[data-lang="en"] body [lang="vi"],
html[data-lang="vi"] body [lang="en"] { display: none !important; }

/* Items waiting for real info (phone, Instagram…) stay hidden until filled in */
[data-todo] { display: none !important; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
svg { flex: none; }

.container { width: min(100% - 48px, var(--max)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: .6em 1em; border-radius: 8px;
  background: var(--gold); color: var(--brown-900); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  margin: 0 0 .9rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow-gold { color: var(--gold-light); }

.ornament { display: block; width: 120px; height: 16px; color: var(--gold); margin: 1.1rem 0 1.4rem; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); }
.section-head .ornament { margin-inline: auto; }
.section-sub { margin: 0; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .8em 1.5em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 600 .93rem/1.2 var(--sans);
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 1em 1.9em; font-size: 1rem; }
.btn-gold { background: var(--gold); color: var(--brown-900); box-shadow: 0 8px 24px rgba(217, 166, 64, .28); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { border-color: rgba(251, 246, 236, .55); color: var(--cream); }
.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* ---------- Top bar ---------- */
.topbar { background: var(--brown-950); color: var(--gold-pale); font-size: .82rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar-info { display: flex; flex-wrap: wrap; gap: .2rem 1.6rem; }
.topbar-info li { display: inline-flex; align-items: center; gap: .45rem; opacity: .85; }
.topbar-info svg { width: 15px; height: 15px; color: var(--gold); }
.topbar-info a { text-decoration: none; }
.topbar-info a:hover { color: var(--gold-light); }

.socials { display: flex; gap: .55rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(245, 228, 184, .28);
  color: var(--gold-pale);
  transition: background-color .2s, color .2s, border-color .2s;
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--brown-900); }
.socials svg { width: 19px; height: 19px; }
.socials-sm a { width: 28px; height: 28px; border: 0; }
.socials-sm svg { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--brown-900);
  color: var(--cream);
  border-bottom: 1px solid rgba(217, 166, 64, .18);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.header-inner { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(217, 166, 64, .35); }
.brand-text { display: flex; flex-direction: column; font: 600 1.45rem/1 var(--serif); letter-spacing: .01em; }
.brand-text small {
  margin-top: .35rem;
  font: 500 .64rem/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.nav { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
.nav a:not(.btn) {
  position: relative;
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  color: rgba(251, 246, 236, .85);
  transition: color .2s;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .25s;
}
.nav a:not(.btn):hover { color: var(--cream); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.header-tools { display: flex; align-items: center; gap: .6rem; }
.lang-toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(245, 228, 184, .3);
  border-radius: 999px;
  background: none;
  color: var(--cream);
  font: 600 .74rem/1 var(--sans);
  letter-spacing: .08em;
  cursor: pointer;
}
.lang-toggle span { padding: .5em .75em; border-radius: 999px; opacity: .6; transition: background-color .2s, color .2s, opacity .2s; }
html[data-lang="en"] .lang-toggle [data-l="en"],
html[data-lang="vi"] .lang-toggle [data-l="vi"] { background: var(--gold); color: var(--brown-900); opacity: 1; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  border: 0; background: none; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero slideshow ---------- */
.hero {
  --dwell: 7.5s;                 /* how long each slide stays */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: min(calc(100svh - var(--header-h) - 40px), 900px);
  padding-top: 3.5rem;
  color: var(--cream);
  background: var(--brown-950);
  overflow: hidden;
}

/* Blurred, colour-matched backdrop for each slide */
.hero-bgs { position: absolute; inset: 0; z-index: -3; }
.hero-bgs img {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  max-width: none;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s ease, transform 9s ease-out;
}
.hero-bgs img.is-active { opacity: 1; transform: scale(1); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 78% 45%, rgba(217, 166, 64, .14), transparent 55%),
    linear-gradient(90deg, rgba(26, 11, 6, .96) 0%, rgba(26, 11, 6, .88) 42%, rgba(26, 11, 6, .62) 100%),
    linear-gradient(0deg, rgba(26, 11, 6, .9) 0%, transparent 30%);
}
.hero-mandala {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -6%;
  width: min(62vw, 820px);
  height: min(62vw, 820px);
  margin-top: -410px;
  color: var(--gold);
  opacity: .1;
  animation: spin 160s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-inner {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  gap: 4.5rem;
  padding-bottom: 3rem;
}

/* All slides share one grid cell, so the block is as tall as the longest slide (no jumping) */
.slides { display: grid; }
.slide { grid-area: 1 / 1; align-self: end; }
.js .slide:not(.is-active):not(.is-leaving) { visibility: hidden; }
.js .slide.is-leaving { pointer-events: none; }

.slide-title { max-width: 15ch; font-size: clamp(2.6rem, 4.7vw, 4.3rem); font-weight: 600; line-height: 1.06; letter-spacing: -.015em; }
.slide-title em { display: block; font-style: italic; font-weight: 500; color: var(--gold-light); }
/* Each word sits in a mask (.w) and slides up into view; padding keeps accents and descenders visible */
.slide-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em .08em .1em 0; margin: -.14em -.08em -.1em 0; }
.slide-title .w > span { display: inline-block; }
.lead { max-width: 33rem; margin: 1.5rem 0 0; font-size: 1.12rem; line-height: 1.7; color: rgba(251, 246, 236, .86); }

.js .slide.is-active .eyebrow { animation: fade-right .8s var(--ease-out) .1s both; }
.js .slide.is-active .w > span { animation: word-in 1s var(--ease-out) both; animation-delay: calc(.25s + var(--i) * 55ms); }
.js .slide.is-active .lead { animation: fade-up 1s var(--ease-out) .7s both; }
.js .slide.is-leaving .eyebrow,
.js .slide.is-leaving .lead { animation: fade-out .4s ease both; }
.js .slide.is-leaving .w > span { animation: word-out .55s cubic-bezier(.7, 0, .84, 0) both; animation-delay: calc(var(--i) * 22ms); }

@keyframes word-in { from { transform: translateY(110%) rotate(6deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes word-out { to { transform: translateY(-110%); opacity: 0; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade-right { from { opacity: 0; transform: translateX(-18px); letter-spacing: .4em; } to { opacity: 1; transform: none; } }
@keyframes fade-out { to { opacity: 0; transform: translateY(-10px); } }

.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.3rem; }
.hero-actions .btn-gold svg { transition: transform .25s; }
.hero-actions .btn-gold:hover svg { transform: translateX(4px); }
.hero-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.8rem; margin-top: 2.2rem; font-size: .92rem; color: rgba(251, 246, 236, .82); }
.hero-meta li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-meta svg { width: 18px; height: 18px; color: var(--gold-light); }
.js .hero-actions { animation: fade-up 1s var(--ease-out) 1s both; }
.js .hero-meta { animation: fade-up 1s var(--ease-out) 1.15s both; }

/* Photo in a Mughal arch */
.hero-visual { position: relative; justify-self: center; width: min(100%, 440px); }
.arch {
  position: relative;
  aspect-ratio: 100 / 130;
  overflow: hidden;
  background: var(--brown-800);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 130' preserveAspectRatio='none'%3E%3Cpath d='M0 130V52C0 33 13 21 30 14 39 10 46 6 50 0c4 6 11 10 20 14 17 7 30 19 30 38v78z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 130' preserveAspectRatio='none'%3E%3Cpath d='M0 130V52C0 33 13 21 30 14 39 10 46 6 50 0c4 6 11 10 20 14 17 7 30 19 30 38v78z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .45);
}
.arch-slide { position: absolute; inset: 0; opacity: 0; }
.arch-slide img { width: 100%; height: 100%; object-fit: cover; }
.arch-slide.is-active { z-index: 2; opacity: 1; }
.arch-slide.is-leaving { z-index: 1; opacity: 1; }
/* Same animation list on both states, so the outgoing photo keeps moving instead of snapping */
.js .arch-slide.is-active,
.js .arch-slide.is-leaving { animation: wipe-up 1.5s cubic-bezier(.76, 0, .24, 1) both; }
.js .arch-slide.is-active img,
.js .arch-slide.is-leaving img { animation: settle 1.8s var(--ease-out) both, drift 10s linear 1.8s forwards; }
.arch-slide img { transition: filter 1.5s ease; }
.arch-slide.is-leaving img { filter: brightness(.55); }
@keyframes wipe-up { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.3); } to { transform: scale(1.06); } }
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1.16) translate(-1.5%, -1.5%); } }

.arch-line {
  position: absolute;
  inset: -16px;
  width: calc(100% + 32px);
  height: calc(100% + 32px);
  overflow: visible;
  pointer-events: none;
}
.arch-line path { fill: none; stroke: var(--gold); stroke-width: 1.5; opacity: .75; }
.js .arch-line path { stroke-dasharray: 3000; animation: draw 3s var(--ease-out) .2s both; }
@keyframes draw { from { stroke-dashoffset: 3000; } to { stroke-dashoffset: 0; } }

.seal { position: absolute; left: -54px; bottom: 54px; z-index: 3; width: 132px; height: 132px; }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
.seal text { fill: var(--gold-light); font: 600 10.4px/1 var(--sans); letter-spacing: .14em; }
.seal::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(26, 11, 6, .9); box-shadow: 0 0 0 1px rgba(217, 166, 64, .35), 0 16px 40px rgba(0, 0, 0, .45); }
.seal img { position: absolute; inset: 30px; width: 72px; height: 72px; border-radius: 50%; }

.arch-caption {
  position: absolute;
  right: -34px;
  bottom: 22%;
  z-index: 3;
  display: grid;
  min-width: 200px;
  padding: 1rem 1.3rem;
  border: 1px solid rgba(245, 228, 184, .18);
  border-radius: 16px;
  background: rgba(26, 11, 6, .72);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
  animation: float 6s ease-in-out infinite;
}
.cap { grid-area: 1 / 1; margin: 0; display: grid; gap: .15rem; opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .6s var(--ease-out); }
.cap.is-active { opacity: 1; transform: none; transition-delay: .6s; }
.cap strong { font: 600 1.15rem/1.2 var(--serif); color: var(--cream); }
.cap > span { display: inline-flex; align-items: center; gap: .4rem; font-size: .84rem; color: var(--gold-light); }
.cap .diet { color: #6fd08a; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Controls: numbered tabs with a progress line, arrows, pause */
.hero-controls {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.1rem 0 1.5rem;
  border-top: 1px solid rgba(245, 228, 184, .12);
}
.hero-tabs { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.hero-tab {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: .2rem .7rem;
  padding: .5rem 0;
  border: 0;
  background: none;
  color: rgba(251, 246, 236, .5);
  font: 500 .88rem/1.2 var(--sans);
  text-align: left;
  cursor: pointer;
  transition: color .3s;
}
.hero-tab:hover, .hero-tab.is-active { color: var(--cream); }
.hero-tab .n { font: 500 .78rem/1 var(--sans); letter-spacing: .12em; color: var(--gold); }
.hero-tab .bar { grid-column: 1 / -1; height: 2px; margin-top: .55rem; border-radius: 2px; background: rgba(245, 228, 184, .16); overflow: hidden; }
.hero-tab .bar i { display: block; height: 100%; background: var(--gold-light); transform: scaleX(0); transform-origin: left; }
.hero-tab.is-done .bar i { transform: scaleX(1); opacity: .45; }
.hero-tab.is-active .bar i { animation: progress var(--dwell) linear both; }
.hero.is-paused .hero-tab.is-active .bar i { animation-play-state: paused; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-arrows { display: flex; gap: .5rem; }
.round {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(245, 228, 184, .28);
  border-radius: 50%;
  background: none;
  color: var(--cream);
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.round:hover { background: var(--gold); border-color: var(--gold); color: var(--brown-900); }
.round svg { width: 18px; height: 18px; }
.round .flip { transform: scaleX(-1); }
.round .i-play, .hero.is-paused .round .i-pause { display: none; }
.hero.is-paused .round .i-play { display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Without JavaScript: first slide only, no controls */
html:not(.js) .slide:not(:first-child),
html:not(.js) .arch-slide:not(:first-child),
html:not(.js) .cap:not(:first-child),
html:not(.js) .hero-controls { display: none; }
html:not(.js) .arch-slide:first-child, html:not(.js) .cap:first-child { opacity: 1; transform: none; }

/* ---------- Dish ticker ---------- */
.ticker {
  overflow: hidden;
  padding: 1.05rem 0;
  background: var(--gold);
  color: var(--brown-900);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: ticker 55s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; flex: none; }
.ticker li { display: flex; align-items: center; font: italic 500 1.3rem/1.2 var(--serif); white-space: nowrap; }
.ticker li::after { content: "✦"; margin: 0 1.6rem; font: normal .8rem/1 var(--sans); color: var(--red); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Scroll reveal (only once script.js is running) ---------- */
.reveal-on [data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s ease, transform 1.1s cubic-bezier(.16, 1, .3, 1);
  transition-delay: calc(var(--d, 0) * 120ms);
}
.reveal-on [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Features ---------- */
.features { padding-top: 5.5rem; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.feature { display: flex; gap: 1.1rem; padding: 2rem 2rem 2.1rem; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-light), var(--gold));
  color: var(--brown-900);
  flex: none;
}
.feature-icon svg { width: 25px; height: 25px; }
.feature h2 { font-size: 1.2rem; margin: .2rem 0 .45rem; }
.feature p { margin: 0; font-size: .93rem; line-height: 1.6; color: var(--muted); }

/* ---------- About ---------- */
.about { padding: 6.5rem 0 7rem; }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5.5rem; align-items: center; }
.about-media { position: relative; padding: 0 12% 12% 0; }
.about-main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
  border: 6px solid var(--cream);
  box-shadow: var(--shadow);
}
.about-media::before {
  content: "";
  position: absolute;
  top: -18px;
  left: -18px;
  width: 45%;
  height: 45%;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  border-top-left-radius: calc(var(--radius) + 10px);
}
.about-copy h2 { font-size: clamp(2.1rem, 4vw, 3rem); }
.about-copy > p { font-size: 1.07rem; color: #4a3a33; }
.note {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 2rem;
  padding: 1.3rem 1.4rem;
  border-radius: 14px;
  background: var(--paper);
}
.note img { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.note p { margin: 0; font-size: .94rem; line-height: 1.6; color: var(--muted); }
.note strong { display: block; margin-bottom: .15rem; color: var(--ink); }

/* ---------- Menu ---------- */
.menu {
  padding: 7rem 0;
  background:
    radial-gradient(rgba(217, 166, 64, .14) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--paper);
}
.featured { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-bottom: 3.5rem; }
.feature-dish {
  display: grid;
  grid-template-columns: 42% 1fr;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--brown-900);
  color: var(--cream);
  box-shadow: var(--shadow);
}
.feature-dish img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.feature-dish:hover img { transform: scale(1.06); }
.feature-dish-body { padding: 2rem 2rem 2.1rem; align-self: center; }
.feature-dish h3 { font-size: 1.85rem; margin-bottom: .6rem; }
.feature-dish p { margin: 0; font-size: .95rem; line-height: 1.65; color: rgba(251, 246, 236, .82); }
.feature-dish .tag {
  display: inline-block;
  margin-bottom: .8rem;
  padding: .3em .8em;
  border-radius: 999px;
  background: rgba(217, 166, 64, .16);
  color: var(--gold-light);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.legend { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem 1.6rem; margin-bottom: 1.5rem; font-size: .86rem; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: .45rem; }

.tabs {
  display: flex;
  gap: .35rem;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 auto 3rem;
  padding: .35rem;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(43, 19, 12, .08);
}
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  flex: none;
  padding: .75em 1.35em;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font: 600 .9rem/1.2 var(--sans);
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--brown-900); color: var(--gold-pale); }

/* Without JS every category is listed; with JS only the active tab shows */
.tabs { display: none; }
.js .tabs { display: flex; }
.js .panel:not(.active) { display: none; }
.js .panel-title { display: none; }
.panel + .panel { margin-top: 3rem; }
.js .panel + .panel { margin-top: 0; }
.panel-title { font-size: 1.6rem; margin-bottom: 1.4rem; text-align: center; }
.js .panel.active .dish { animation: fade .6s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--i, 0) * 35ms); }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } }

.dishes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.1rem 4.5rem; max-width: 1040px; margin: 0 auto; }
.dish-head { display: flex; align-items: baseline; gap: .7rem; }
.dish h4 { display: inline-flex; align-items: center; gap: .5rem; font-size: 1.24rem; }
.dots { flex: 1; min-width: 1.5rem; border-bottom: 1.5px dotted #c9b48e; transform: translateY(-.3em); }
.price { font-weight: 600; color: var(--red); white-space: nowrap; font-variant-numeric: tabular-nums; }
.no-prices .dots, .no-prices .price { display: none; }
.dish p { margin: .35rem 0 0 calc(14px + .5rem); color: var(--muted); font-size: .94rem; line-height: 1.6; }

.diet {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border: 1.8px solid currentColor;
  border-radius: 3px;
}
.diet::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.diet.veg { color: #23893d; }
.diet.nonveg { color: #8a3b1c; }
.diet.nonveg::after {
  width: 0; height: 0; border-radius: 0; background: none;
  border-left: 3.5px solid transparent; border-right: 3.5px solid transparent; border-bottom: 6px solid currentColor;
}
.chili { width: 15px; height: 15px; color: var(--red); }
.spice { display: inline-flex; margin-left: .1rem; }
.spice .chili + .chili { margin-left: -5px; }
.dish h4 .diet + .diet { margin-left: -.3rem; }

/* Google rating */
.stars { color: var(--gold-light); letter-spacing: .08em; }
.rating { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; }
.rating:hover span[lang] { text-decoration: underline; }
.info-row .stars { color: var(--gold); font-size: 1.1rem; }
.info-star { color: var(--gold); font-size: 1.35rem; line-height: 1; }
.phone { font-weight: 600; color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.phone:hover { color: var(--red); }

/* ---------- Favourites carousel ---------- */
.favs {
  padding: 6.5rem 0 5.5rem;
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 12% 0%, rgba(217, 166, 64, .14), transparent 42%),
    radial-gradient(circle at 95% 100%, rgba(168, 38, 29, .22), transparent 45%),
    var(--brown-950);
}
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.4rem; }
.rail-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.rail-head h2 em { font-style: italic; font-weight: 500; color: var(--gold-light); }
.rail-sub { max-width: 30rem; margin: 1rem 0 0; color: rgba(251, 246, 236, .7); }
.rail-nav { display: flex; gap: .5rem; flex: none; }

.rail {
  --pad: max(24px, calc((100vw - var(--max)) / 2));
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  scrollbar-width: none;
  padding: .5rem 0 2rem;
  cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; border-radius: 0; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.rail.is-dragging a { pointer-events: none; }
.rail-track { display: flex; gap: 1.4rem; width: max-content; padding-inline: var(--pad); }

.fav {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  width: clamp(268px, 25vw, 300px);
  scroll-snap-align: start;
  border: 1px solid rgba(245, 228, 184, .12);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
  overflow: hidden;
  transition: border-color .4s, opacity .9s ease, transform 1.1s cubic-bezier(.16, 1, .3, 1);
}
.fav::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 70%;
  background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--tint) 55%, transparent), transparent 62%);
  opacity: .5;
  transition: opacity .5s;
}
.fav:hover { border-color: rgba(217, 166, 64, .5); }
.fav:hover::before { opacity: .9; }

.fav-art { position: relative; padding: 1.9rem 2.1rem .6rem; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.fav:hover .fav-art { transform: scale(1.05) rotate(-4deg); }
.fav-art::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: -2%;
  z-index: -1;
  height: 18%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .6), transparent);
}
.fav-art svg, .fav-art img { display: block; width: 100%; height: auto; aspect-ratio: 1; }
.fav-art img { border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 7px rgba(245, 228, 184, .14); }
.fav-art .food { transform-box: view-box; transform-origin: 100px 100px; animation: spin 70s linear infinite; }
.fav:nth-child(even) .fav-art .food { animation-direction: reverse; }

.fav-body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.6rem 1.5rem; }
.fav-cat { display: flex; align-items: center; gap: .6rem; margin: 0 0 .55rem; font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); }
.fav-n { color: rgba(251, 246, 236, .38); }
.fav h3 { font-size: 1.55rem; margin-bottom: .5rem; }
.fav-desc { flex: 1; margin: 0 0 1.1rem; font-size: .92rem; line-height: 1.6; color: rgba(251, 246, 236, .7); }
.fav-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px dashed rgba(245, 228, 184, .2); }
.fav .price { color: var(--gold-light); font-size: 1.15rem; }
.fav-tags { display: inline-flex; align-items: center; gap: .35rem; }
.fav .diet.veg { color: #63d083; }
.fav .diet.nonveg { color: #e98a5b; }
.fav .chili { color: #ff7350; }
.fav-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; font-size: .86rem; font-weight: 600; color: rgba(251, 246, 236, .75); text-decoration: none; transition: color .2s; }
.fav-link svg { width: 15px; height: 15px; transition: transform .2s; }
.fav-link:hover { color: var(--gold-light); }
.fav-link:hover svg { transform: translateX(3px); }

.rail-foot { display: flex; align-items: center; gap: 2rem; }
.rail-progress { position: relative; flex: 1; height: 2px; border-radius: 2px; background: rgba(245, 228, 184, .14); overflow: hidden; }
.rail-progress i { position: absolute; top: 0; bottom: 0; left: var(--x, 0%); width: var(--w, 25%); border-radius: 2px; background: var(--gold-light); }
.btn-line { flex: none; border-color: var(--gold-light); color: var(--gold-light); }
.btn-line:hover { background: var(--gold); border-color: var(--gold); color: var(--brown-900); box-shadow: 0 8px 24px rgba(217, 166, 64, .25); }
.btn-line svg { transition: transform .2s; }
.btn-line:hover svg { transform: translateX(4px); }

/* ---------- Book ---------- */
.book {
  position: relative;
  padding: 5.5rem 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(217, 166, 64, .18), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(168, 38, 29, .25), transparent 45%),
    var(--brown-900);
  color: var(--cream);
}
.book-inner { display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.book h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: .8rem; }
.book p { max-width: 34rem; margin: 0; color: rgba(251, 246, 236, .82); }
.book-actions { display: flex; flex-wrap: wrap; gap: .8rem; flex: none; }

/* ---------- Visit ---------- */
.visit { padding: 7rem 0; }
.visit-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2rem; align-items: stretch; }
.visit-info {
  display: grid;
  gap: 1.8rem;
  align-content: center;
  padding: 2.6rem;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.info-row { display: flex; gap: 1.1rem; }
.info-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--red);
  flex: none;
}
.info-icon svg { width: 22px; height: 22px; }
.info-row h3 { font-size: 1.2rem; margin: .25rem 0 .35rem; }
.info-row p { margin: 0 0 .5rem; color: var(--muted); }
.info-row strong { color: var(--ink); font-weight: 600; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
}
.text-link svg { width: 16px; height: 16px; transition: transform .2s; }
.text-link:hover svg { transform: translateX(3px); }
.map { min-height: 420px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--paper); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown-950); color: rgba(251, 246, 236, .78); padding-top: 4.5rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand .brand { color: var(--cream); }
.footer-brand .brand img { width: 64px; height: 64px; }
.site-footer .footer-brand p { margin: 1.2rem 0 1.4rem; max-width: 22rem; }
.site-footer h3 {
  margin: .4rem 0 1rem;
  font: 600 .78rem/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.site-footer p { margin: 0; }
.footer-links { display: grid; gap: .45rem; }
.footer-links a { text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  margin-top: 3.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(245, 228, 184, .12);
  font-size: .82rem;
  color: rgba(251, 246, 236, .5);
}

/* ---------- Mobile quick-action bar ---------- */
.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .menu-toggle { display: flex; }
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 24px 1.6rem;
    background: var(--brown-900);
    border-top: 1px solid rgba(217, 166, 64, .15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 1rem 0; border-bottom: 1px solid rgba(245, 228, 184, .08); font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 1.3rem; }
  .header-tools { margin-left: auto; }

  .features-grid { grid-template-columns: 1fr; }
  .feature + .feature { border-left: 0; border-top: 1px solid var(--line); }
  .about-inner { grid-template-columns: 1fr; gap: 4rem; }
  .about-media { max-width: 560px; }
  .featured { grid-template-columns: 1fr; }
  .book-inner { flex-direction: column; align-items: flex-start; }
  .visit-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hero { padding-top: 2.5rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; align-items: end; padding-bottom: 2.2rem; }
  .hero-bgs, .hero-mandala, .arch-line, .seal, .arch-caption { display: none; }
  .hero-visual { position: absolute; inset: 0; z-index: -3; width: auto; justify-self: stretch; align-self: stretch; }
  .arch { position: absolute; inset: 0; aspect-ratio: auto; -webkit-mask: none; mask: none; box-shadow: none; }
  .hero::before {
    background: linear-gradient(180deg, rgba(26, 11, 6, .3) 0%, rgba(26, 11, 6, .5) 30%, rgba(26, 11, 6, .9) 62%, rgba(26, 11, 6, .97) 100%);
  }
  .slide-title { max-width: 17ch; }
}

@media (max-width: 720px) {
  :root { --header-h: 66px; }
  body { font-size: 16px; padding-bottom: 68px; }
  .container { width: min(100% - 40px, var(--max)); }
  .topbar-info li:last-child { display: none; }
  .brand img { width: 44px; height: 44px; }
  .brand-text { font-size: 1.25rem; }
  .brand-text small { font-size: .58rem; letter-spacing: .16em; }
  .site-header .brand-city { display: none; }

  .hero { min-height: calc(100svh - var(--header-h) - 40px - 68px); padding-top: 2rem; }
  .hero-inner { padding-bottom: 1.6rem; }
  .slide-title { font-size: clamp(2.3rem, 10.5vw, 2.9rem); }
  .lead { margin-top: 1.1rem; font-size: 1rem; line-height: 1.6; }
  .hero-actions { margin-top: 1.6rem; gap: .6rem; }
  .hero-actions .btn { flex: 1 1 auto; padding: .95em 1.1em; font-size: .95rem; }
  .hero-actions .btn svg { display: none; }
  .hero-meta { margin-top: 1.3rem; }
  .hero-meta li:not(:last-child) { display: none; }
  .hero-controls { gap: 1rem; padding: .8rem 0 1rem; }
  .hero-tabs { gap: .6rem; }
  .hero-tab .t { display: none; }
  .round { width: 38px; height: 38px; }
  .round svg { width: 15px; height: 15px; }
  .ticker { padding: .8rem 0; }
  .ticker li { font-size: 1.1rem; }
  .ticker li::after { margin: 0 1.1rem; }
  .features { padding-top: 4rem; }
  .favs { padding: 5rem 0 4rem; }
  .rail-head { margin-bottom: 1.6rem; }
  .rail-nav { display: none; }
  .rail-track { gap: 1rem; }
  .fav { width: 78vw; max-width: 320px; }
  .rail-foot { flex-direction: column; align-items: stretch; gap: 1.4rem; }
  .rail-progress { flex: none; }

  .feature { padding: 1.5rem; }
  .about, .menu, .visit { padding: 5rem 0; }
  .about-media { padding: 0 10% 14% 0; }
  .about-media::before { top: -12px; left: -12px; }
  .feature-dish { grid-template-columns: 1fr; }
  .feature-dish img { aspect-ratio: 16 / 10; min-height: 0; }
  .feature-dish-body { padding: 1.6rem; }
  .tabs { width: auto; max-width: none; margin-inline: -20px; padding-inline: 20px; border-radius: 0; box-shadow: none; background: transparent; }
  .tabs button { background: #fff; }
  .dishes { grid-template-columns: 1fr; gap: 1.6rem; }
  .book { padding: 4rem 0; }
  .book-actions, .book-actions .btn { width: 100%; }
  .visit-info { padding: 1.8rem; }
  .map, .map iframe { min-height: 320px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 6px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(26, 11, 6, .96);
    border-top: 1px solid rgba(217, 166, 64, .2);
  }
  .mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .7rem .4rem;
    border-radius: 10px;
    color: var(--gold-pale);
    font-size: .86rem;
    font-weight: 600;
    text-decoration: none;
    background: rgba(245, 228, 184, .07);
  }
  .mobile-bar a.primary { background: var(--gold); color: var(--brown-900); }
  .mobile-bar svg { width: 18px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-on [data-reveal] { opacity: 1; transform: none; }
  .hero-tab.is-active .bar i { transform: scaleX(1); }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
