/* assets/css/style.css — The Taste of Village
   Theme: locked dark navy. Accent: gold. Radius system: sharp (0) everywhere.
   Fonts: Cormorant Garamond (display) / Hanken Grotesk (body). */

:root {
  --ink: #0a0e1a;            /* page base, deep ink navy */
  --navy: #202c4d;           /* brand navy (logo) */
  --navy-soft: #131c33;      /* elevated surface */
  --navy-line: #212a44;      /* hairlines */
  --gold: #c9a35a;           /* champagne gold, single accent */
  --gold-soft: #e2c78e;
  --cream: #f2ecdf;          /* warm ivory on dark */
  --cream-dim: #b6afa1;      /* secondary text */
  --neon: #ff5f8f;           /* TAMASHA neon wordmark reproduction ONLY */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --nav-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scrollbar-color: var(--navy-line) var(--ink);   /* themed scrollbar (Firefox) */
}
body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-track { background: var(--ink); }
body::-webkit-scrollbar-thumb { background: var(--navy-line); border-radius: 0; }
body::-webkit-scrollbar-thumb:hover { background: var(--gold); }
a, button { -webkit-tap-highlight-color: rgba(201, 163, 90, 0.25); }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--gold); color: var(--ink); }

/* ---------- Typography ---------- */

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; color: var(--gold-soft); }
h2 { padding-bottom: 0.08em; }   /* italic descender clearance */

.display-xl { font-size: clamp(2.8rem, 6.5vw, 5.6rem); line-height: 1.02; letter-spacing: -0.015em; }
.display-lg { font-size: clamp(1.9rem, 3.6vw, 3.1rem); letter-spacing: -0.005em; }
.display-md { font-size: clamp(1.4rem, 2.1vw, 1.8rem); }

.wordmark {
  font-family: var(--font-body); font-weight: 400;
  font-size: 0.92rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--cream);
}
.kicker {
  display: inline-flex; align-items: center; gap: 0.9rem;
  font-size: 0.78rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); font-weight: 400;
}
.kicker::before { content: ""; width: 40px; height: 1px; background: var(--gold); }

.lead { color: var(--cream-dim); max-width: 62ch; }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1rem;
}

/* ---------- Layout primitives ---------- */

.wrap { max-width: 1320px; margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 3rem); }

section { position: relative; padding-block: clamp(3.5rem, 6.5vw, 6rem); overflow-x: clip; }

/* Anchor jumps land below the fixed nav */
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
.menu-section[id] { scroll-margin-top: calc(var(--nav-h) + 64px); }

.hairline { border: 0; border-top: 1px solid var(--navy-line); }

/* Gold rule that draws itself in on reveal */
.gold-rule {
  width: 56px; height: 1px; background: var(--gold);
  transform-origin: left; margin-block: 1.4rem;
}
.reveal .gold-rule { transform: scaleX(0); }
.reveal.in-view .gold-rule { transform: scaleX(1); transition: transform 1s var(--ease-out) 0.35s; }

/* ---------- Scroll reveal system ---------- */

/* When Motion (vendor/motion.js) is active it owns reveal opacity/transform */
.motion-on .reveal, .motion-on .reveal.in-view { transition: none; }

.reveal { opacity: 0; transform: translateY(28px); }
.reveal.in-view {
  opacity: 1; transform: none;
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}

/* ---------- Navigation ---------- */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.45s ease, box-shadow 0.45s ease, backdrop-filter 0.45s ease;
}
.nav.solid {
  background: rgba(14, 21, 38, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--navy-line);
}
.nav-inner {
  width: 100%; max-width: 1320px; margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.nav-brand { display: flex; align-items: center; gap: 0.9rem; white-space: nowrap; }
.nav-brand .wordmark { font-size: 0.82rem; }
.nav-logo { width: 40px; height: 40px; border-radius: 50%; }
.footer-logo { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 1.1rem; }
.nav-links { display: flex; gap: clamp(1.1rem, 2.2vw, 2rem); align-items: center; }
.nav-links a {
  font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream-dim); position: relative; padding-block: 0.4rem;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--cream); }
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.btn {
  font-family: var(--font-body);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.85rem 1.7rem; border: 1px solid var(--gold); color: var(--gold);
  background: transparent; cursor: pointer; white-space: nowrap;
  transition: background 0.35s ease, color 0.35s ease, transform 0.2s ease;
}
.btn:hover, .btn:focus-visible { background: var(--gold); color: var(--ink); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-solid { background: var(--gold); color: var(--ink); }
.btn-solid:hover, .btn-solid:focus-visible { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream); padding-block: 0.85rem; position: relative;
}
.link-arrow::before {
  content: ""; position: absolute; left: 0; bottom: 0.45rem; height: 1px; width: 100%;
  background: var(--gold); transform-origin: left; transition: transform 0.5s var(--ease-out);
}
.link-arrow::after { content: "\2192"; color: var(--gold); transition: transform 0.4s var(--ease-out); }
.link-arrow:hover::after, .link-arrow:focus-visible::after { transform: translateX(6px); }
.link-arrow:hover::before { transform: scaleX(0.4); }

.nav-toggle { display: none; }
.nav-drawer { display: none; }   /* mobile-only element; shown in the ≤1024px block */

/* ---------- Hero: centered editorial cover — one column, no seam.
   Type commands the viewport; the dish is a low cinematic band at the fold,
   blended into the ink so it emerges from the page rather than sitting beside it. */

.hero {
  min-height: 100dvh;
  display: flex; flex-direction: column;
  isolation: isolate; overflow: hidden;
  background: var(--ink);
  text-align: center;
}
.hero-panel {
  position: relative; z-index: 2; flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 2.5rem) clamp(1.25rem, 4vw, 3rem) 3rem;
}
.hero-mandala {
  left: calc(50% - 310px); top: calc(50% - 340px);
  right: auto; opacity: 0.05;
}
.hero-content { position: relative; max-width: 880px; }
.hero h1 {
  font-size: clamp(3rem, 7.5vw, 6rem);
  font-weight: 500; letter-spacing: -0.025em;
}
.hero .kicker { margin-bottom: 1.5rem; }
.hero .kicker::after { content: ""; width: 40px; height: 1px; background: var(--gold); }  /* rule both sides when centered */
.hero .lead {
  margin-top: 1.6rem; margin-inline: auto;
  font-size: clamp(1rem, 1.4vw, 1.15rem); color: #dcd5c6; max-width: 46ch;
}
.hero-ctas {
  display: flex; gap: 1.4rem; align-items: center; justify-content: center;
  margin-top: 2.4rem; flex-wrap: wrap;
}
.hero-proof {
  margin-top: 2rem; font-size: 0.88rem; color: var(--cream-dim);
  display: flex; gap: 0.7rem; align-items: baseline; justify-content: center; flex-wrap: wrap;
}
.hero-proof .stars { color: var(--gold); letter-spacing: 0.2em; font-size: 0.85rem; }
.hero-proof .star-half {
  background: linear-gradient(90deg, var(--gold) 50%, var(--navy-line) 50%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-proof b { color: var(--cream); font-weight: 500; }

/* The table at the fold: full-width, low, cropped by the viewport edge */
.hero-visual {
  position: relative; z-index: 1;
  height: clamp(240px, 34vh, 380px);
  overflow: hidden;   /* parallax scale must never escape the band */
}
.hero-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 82%;
}
/* Blend the band's top into the ink — no hard edge, one continuous page */
.hero-visual::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink) 6%, rgba(10, 14, 26, 0.82) 28%, rgba(10, 14, 26, 0.25) 60%, rgba(10, 14, 26, 0) 85%);
}
/* Band rises from the fold on load */
@media (prefers-reduced-motion: no-preference) {
  .hero-visual img { clip-path: inset(100% 0 0 0); }
  body.loaded .hero-visual img {
    clip-path: inset(0 0 0 0);
    transition: clip-path 1.4s var(--ease-out) 0.5s;   /* transform belongs to Motion's parallax */
  }
}

/* Hero load-in choreography */
.hero [data-hero] { opacity: 0; transform: translateY(30px); }
body.loaded .hero [data-hero] {
  opacity: 1; transform: none;
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}
body.loaded .hero [data-hero="1"] { transition-delay: 0.2s; }
body.loaded .hero [data-hero="3"] { transition-delay: 1s; }
body.loaded .hero [data-hero="4"] { transition-delay: 1.2s; }
body.loaded .hero [data-hero="5"] { transition-delay: 1.4s; }

/* Headline lines rise out of a masked wrapper, one after the other */
.hero h1 { padding-bottom: 0.06em; }
.hero h1 .line {
  display: block; overflow: hidden;
  padding-bottom: 0.18em; margin-bottom: -0.18em;   /* italic descender clearance inside the mask */
}
.hero h1 .line > span { display: block; transform: translateY(110%); }
body.loaded .hero h1 .line > span {
  transform: none;
  transition: transform 1.3s var(--ease-out);
}
body.loaded .hero h1 .line:nth-child(1) > span { transition-delay: 0.35s; }
body.loaded .hero h1 .line:nth-child(2) > span { transition-delay: 0.5s; }
@media (prefers-reduced-motion: reduce) {
  .hero h1 .line > span { transform: none !important; }
}

/* ---------- Story (asymmetric split, image leads on the left) ---------- */

.story-grid {
  display: grid; grid-template-columns: 4fr 5fr; gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.story-grid > div:first-child { order: 2; }   /* copy right, photo left: breaks the image-right run after the hero */
.story-grid .media-col { position: relative; }
.story-grid .media-col img { width: 100%; height: 480px; object-fit: cover; }
.media-frame { position: relative; }
.media-frame::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold); opacity: 0.4; pointer-events: none; z-index: -1;
}
@media (prefers-reduced-motion: no-preference) {
  .reveal .media-frame img { clip-path: inset(0 100% 0 0); transform: scale(1.08); }
  .reveal.in-view .media-frame img {
    clip-path: inset(0 0 0 0); transform: none;
    transition: clip-path 1.2s var(--ease-out) 0.15s, transform 1.8s var(--ease-out) 0.15s;
  }
}
.story-stats {
  display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 2rem; flex-wrap: wrap;
}
.story-stats .stat + .stat { border-left: 1px solid var(--navy-line); padding-left: clamp(1.5rem, 4vw, 3.5rem); }
.story-stats .stat b {
  display: block; font-family: var(--font-display); font-weight: 500;
  font-size: 2.3rem; color: var(--gold); line-height: 1;
}
.story-stats .stat span { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream-dim); }

/* ---------- Signature dishes (asymmetric bento) ---------- */

.bento {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 210px;
}
.bento-cell { position: relative; overflow: hidden; background: var(--navy-soft); }
.bento-cell img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
@media (prefers-reduced-motion: no-preference) {
  .bento-cell.reveal img { transform: scale(1.1); }
  .bento-cell.reveal.in-view img { transform: scale(1); }
  .bento-cell.reveal.in-view:hover img { transform: scale(1.05); }
}
.bento-cell .cell-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,21,38,0) 45%, rgba(14,21,38,0.92) 100%);
}
.bento-cell .cell-copy { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.2rem; }
.bento-cell h3 {
  font-size: 1.3rem; color: var(--cream);
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
}
.bento-cell p { font-size: 0.88rem; color: var(--cream-dim); margin-top: 0.15rem; }
.bento-cell .price { font-family: var(--font-body); color: var(--gold); font-weight: 400; font-size: 0.88rem; white-space: nowrap; }
.bento-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 2rem; border: 1px solid var(--navy-line); background: transparent;
}
.bento-text p { color: var(--cream-dim); font-size: 0.98rem; }
.bento-text .btn { margin-top: 1.6rem; align-self: flex-start; }
.b-1 { grid-column: span 7; grid-row: span 2; }
.b-2 { grid-column: span 5; grid-row: span 1; }
.b-3 { grid-column: span 5; grid-row: span 2; }
.b-4 { grid-column: span 4; grid-row: span 1; }
.b-5 { grid-column: span 3; grid-row: span 1; }

/* ---------- Menu chapters (editorial index — the menu is a book) ---------- */

.chapters { border-top: 1px solid var(--navy-line); }
.chapter {
  display: grid; grid-template-columns: 4.5rem 1fr auto; align-items: center;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  padding: 1.5rem 0.5rem 1.6rem 0;
  border-bottom: 1px solid var(--navy-line);
  position: relative;
  transition: border-color 0.5s ease;
}
.chapter:hover, .chapter:focus-visible { border-bottom-color: var(--gold); }
.chapter:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 4px; }
.chapter .num {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: 1.5rem; color: var(--gold); opacity: 0.75; line-height: 1;
}
.chapter h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500;
  transition: transform 0.5s var(--ease-out), color 0.4s ease;
}
.chapter:hover h3 { transform: translateX(10px); }
.chapter-copy p { color: var(--cream-dim); font-size: 0.92rem; margin-top: 0.25rem; max-width: 60ch; }
.chapter .count {
  color: var(--gold); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  white-space: nowrap; display: inline-flex; align-items: center; gap: 0.8rem;
}
.chapter .count::after {
  content: "\2192"; font-size: 1rem;
  opacity: 0; transform: translateX(-6px);
  transition: opacity 0.4s ease, transform 0.5s var(--ease-out);
}
.chapter:hover .count::after, .chapter:focus-visible .count::after { opacity: 1; transform: none; }

/* ---------- Banquets (featured + stacked) ---------- */

.banquet-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 1.25rem; }
.banquet-featured {
  position: relative; overflow: hidden; padding: clamp(2rem, 4vw, 3.5rem);
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 520px;
  isolation: isolate;
}
.banquet-featured img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.banquet-featured::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(185deg, rgba(14,21,38,0.15) 0%, rgba(14,21,38,0.93) 78%);
}
.banquet-side { display: flex; flex-direction: column; gap: 1.25rem; }
.banquet-card {
  flex: 1; border-top: 1px solid var(--navy-line); padding: 2rem 0;
  display: flex; gap: 1.6rem; align-items: center;
  transition: border-color 0.5s ease;
}
.banquet-card .banquet-copy { flex: 1; }
.banquet-card picture { flex-shrink: 0; }
.banquet-card img {
  width: 148px; height: 148px; object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.banquet-card:hover img { transform: scale(1.05); }
.banquet-card:hover { border-top-color: var(--gold); }
.banquet-price {
  font-family: var(--font-display); font-size: 2rem; color: var(--gold); line-height: 1;
}
.banquet-price small { font-size: 0.9rem; font-family: var(--font-body); color: var(--cream-dim); letter-spacing: 0.08em; }
.banquet-card h3, .banquet-featured h3 { font-size: 1.6rem; margin-top: 0.5rem; }
.banquet-card p, .banquet-featured p { color: var(--cream-dim); font-size: 0.94rem; margin-top: 0.5rem; max-width: 52ch; }
.banquet-note { margin-top: 1.6rem; color: var(--cream-dim); font-size: 0.88rem; }

/* ---------- TAMASHA bar ---------- */

.tamasha { background: var(--navy-soft); border-block: 1px solid var(--navy-line); overflow: hidden; }
.tamasha-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.neon {
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.14em;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem); color: var(--neon);
  text-shadow: 0 0 14px rgba(255, 95, 143, 0.4), 0 0 40px rgba(255, 95, 143, 0.18);
}
@media (prefers-reduced-motion: no-preference) {
  .in-view .neon { animation: neonFlicker 4.5s ease-in-out 1; }
  @keyframes neonFlicker {
    0%, 100% { opacity: 1; }
    3% { opacity: 0.6; } 5% { opacity: 1; } 8% { opacity: 0.75; } 10% { opacity: 1; }
  }
}
.tamasha-tag { font-family: var(--font-script); font-size: 1.7rem; color: var(--cream-dim); display: block; margin-top: 0.4rem; }
.tamasha-media { position: relative; }
.tamasha-media .media-frame img { width: 100%; height: 620px; object-fit: cover; object-position: center 30%; }
.tamasha-pour {
  position: absolute; left: -3.5rem; bottom: -2.5rem; width: 40%;
  height: 300px; object-fit: cover;
  border: 1px solid var(--navy-line);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
}
.cocktail-list { margin-top: 2.2rem; display: grid; gap: 1.1rem; }
.cocktail { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.cocktail b { font-family: var(--font-display); font-weight: 500; font-size: 1.18rem; }
.cocktail i { flex: 1; border-bottom: 1px dotted var(--navy-line); transform: translateY(-4px); }
.cocktail span { color: var(--gold); }
.cocktail small { display: block; color: var(--cream-dim); font-size: 0.85rem; font-weight: 300; }

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.gallery-grid figure { overflow: hidden; margin: 0; position: relative; }
.gallery-grid img {
  width: 100%; height: 340px; object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.gallery-grid figure:hover img { transform: scale(1.06); }
.gallery-grid .tall img { height: 704px; }
.gallery-grid .tall { grid-row: span 2; }

/* ---------- Visit / info ---------- */

.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); }
.visit-grid > div:nth-child(2) { border-left: 1px solid var(--navy-line); padding-left: clamp(2.5rem, 6vw, 5rem); }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 1.6rem; }
.hours-table td { padding: 0.7rem 0; border-bottom: 1px solid var(--navy-line); font-size: 0.98rem; }
.hours-table td:last-child { text-align: right; color: var(--cream-dim); }
.hours-table tr.today td { color: var(--gold); }
.info-chips { display: flex; flex-wrap: wrap; gap: 0.5rem 1.8rem; margin-top: 1.8rem; max-width: 46ch; }
.chip {
  font-size: 0.76rem; color: var(--cream-dim);
  letter-spacing: 0.16em; text-transform: uppercase; padding: 0.2rem 0;
}
.contact-block { margin-top: 2rem; display: grid; gap: 0.8rem; }
.contact-block a { color: var(--gold); transition: color 0.3s ease; }
.contact-block a:hover { color: var(--gold-soft); }

/* FAQ accordion */
.faq { margin-top: 1.4rem; }
.faq details { border-bottom: 1px solid var(--navy-line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 0;
  font-family: var(--font-display); font-size: 1.18rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; transition: transform 0.3s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.15rem; color: var(--cream-dim); font-size: 0.96rem; max-width: 60ch; }

/* ---------- Reviews ---------- */

.reviews-slider { overflow: hidden; position: relative; }
.reviews-slider::before, .reviews-slider::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.reviews-slider::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.reviews-slider::after { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }
.reviews-track { display: flex; gap: clamp(1.5rem, 3vw, 3rem); width: max-content; }
.reviews-dup { display: contents; }
@media (prefers-reduced-motion: no-preference) {
  .reviews-track { animation: reviewsLoop 45s linear infinite; }
  .reviews-slider:hover .reviews-track,
  .reviews-slider:focus-within .reviews-track { animation-play-state: paused; }
  @keyframes reviewsLoop {
    to { transform: translateX(calc(-50% - clamp(0.75rem, 1.5vw, 1.5rem))); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-slider { overflow-x: auto; scroll-snap-type: x mandatory; }
  .reviews-slider::before, .reviews-slider::after { display: none; }
  .review-card { scroll-snap-align: start; }
  .reviews-dup { display: none; }
}
.review-card {
  border-top: 1px solid var(--navy-line); padding-top: 1.8rem; margin: 0;
  width: clamp(300px, 30vw, 430px); flex-shrink: 0;
  transition: border-color 0.5s ease;
}
.review-card:hover { border-top-color: var(--gold); }
.review-card .stars { color: var(--gold); letter-spacing: 0.2em; font-size: 0.95rem; }
.review-card p {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.18rem; line-height: 1.45; color: var(--cream);
  margin-top: 1rem;
}
.review-card footer { margin-top: 1.3rem; display: flex; flex-direction: column; gap: 0.15rem; }
.review-card footer b { font-weight: 500; color: var(--cream); font-size: 0.95rem; }
.review-card footer span {
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream-dim);
}
.reviews-aggregate {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); display: flex; flex-wrap: wrap;
  gap: 0.7rem 1.1rem; align-items: baseline; color: var(--cream-dim);
}
.reviews-aggregate b { color: var(--cream); font-weight: 500; }
.reviews-aggregate .stars { color: var(--gold); letter-spacing: 0.2em; }
.reviews-aggregate .star-half {
  background: linear-gradient(90deg, var(--gold) 50%, var(--navy-line) 50%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.reviews-aggregate .link-arrow { margin-left: auto; }

/* ---------- Cinematic interlude ---------- */

.cinema {
  position: relative; min-height: 58vh; padding: 0;
  display: flex; align-items: center; justify-content: center;
  isolation: isolate; overflow: hidden;
}
.cinema picture, .cinema img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.cinema-scrim {
  position: absolute; inset: 0; z-index: -1;
  background: rgba(10, 14, 26, 0.62);
}
.cinema-line {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.8rem); color: var(--cream);
  text-align: center; padding: 4rem 1.5rem; max-width: 20ch; line-height: 1.25;
}
.cinema-line em { font-style: italic; color: var(--gold-soft); }

/* ---------- Reserve band ---------- */

.reserve-band {
  background: var(--navy-soft);
  border-block: 1px solid var(--navy-line);
  text-align: center;
}
.reserve-inner { max-width: 720px; }
.reserve-band .kicker::before { display: none; }   /* centered: no leading rule */
.reserve-band .lead { margin-inline: auto; margin-top: 1.2rem; }
.booking-widget { margin-top: 2rem; }
.booking-widget:empty { display: none; }           /* slot hidden until a provider embed lands */
.booking-widget iframe { width: 100%; min-height: 420px; border: 1px solid var(--navy-line); }
.reserve-ctas {
  display: flex; gap: 1.4rem; align-items: center; justify-content: center;
  margin-top: 2rem; flex-wrap: wrap;
}
.reserve-rating {
  margin-top: 2rem; font-size: 0.95rem; color: var(--cream);
  display: flex; gap: 0.7rem; align-items: baseline; justify-content: center;
}
.reserve-rating .stars { color: var(--gold); letter-spacing: 0.2em; font-size: 1.05rem; }
.reserve-rating .star-half {
  background: linear-gradient(90deg, var(--gold) 50%, var(--navy-line) 50%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.reserve-rating a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.reserve-note { margin-top: 1.4rem; font-size: 0.9rem; color: var(--cream-dim); }
.reserve-note a { color: var(--gold); }

/* ---------- Map (framed, inside Visit) ---------- */

.map-frame { margin-top: clamp(2.5rem, 4.5vw, 3.5rem); }
.map-frame iframe {
  display: block; width: 100%; height: 400px; border: 0;
  filter: grayscale(0.85) invert(0.9) hue-rotate(185deg) saturate(0.35) brightness(1.05);
}
.map-bar {
  display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between;
  padding-top: 1.6rem;
}
.map-bar address { font-style: normal; color: var(--cream-dim); }

/* ---------- Footer ---------- */

body > footer { border-top: 1px solid var(--navy-line); padding-block: 2.5rem 1.6rem; background: var(--navy-soft); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.footer-grid h3 { font-size: 1.15rem; margin-bottom: 1rem; color: var(--cream); }
.footer-grid ul { list-style: none; display: grid; gap: 0.55rem; }
.footer-grid a { color: var(--cream-dim); font-size: 0.94rem; transition: color 0.3s ease; }
.footer-grid a:hover { color: var(--gold); }

.footer-brand p { color: var(--cream-dim); font-size: 0.94rem; max-width: 38ch; margin-top: 0.8rem; }
.footer-bottom {
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--navy-line);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: 0.84rem; color: var(--cream-dim);
}
.footer-bottom a { color: inherit; }
.footer-bottom .agniora b { font-weight: 500; color: var(--cream); }

/* ---------- Menu page ---------- */

.menu-hero { padding-top: calc(var(--nav-h) + clamp(3rem, 8vh, 5.5rem)); padding-bottom: 3rem; }
.menu-hero-grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.menu-hero-media img { height: 380px; width: 100%; object-fit: cover; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 2.5rem; margin-bottom: 1.4rem;
}
.section-head .section-note { margin-bottom: 0; }
.section-head img { width: 220px; height: 160px; object-fit: cover; flex-shrink: 0; }
.menu-filters {
  position: sticky; top: var(--nav-h); z-index: 30;
  background: rgba(14, 21, 38, 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-block: 1px solid var(--navy-line); padding-block: 0.9rem;
}
.menu-filters .wrap { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; }
.filter-btn {
  border: 1px solid var(--navy-line); background: transparent; color: var(--cream-dim);
  font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.5rem 1.1rem; cursor: pointer; transition: all 0.3s ease;
}
.filter-btn:hover { border-color: var(--gold); color: var(--cream); }
.filter-btn.active { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.menu-section { padding-block: clamp(2rem, 3.5vw, 3rem); }
.menu-section h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 0.4rem; }
.menu-section .section-note {
  color: var(--cream-dim); font-family: var(--font-display);
  font-style: italic; font-size: 1.1rem; letter-spacing: 0.01em;
}
.dish-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 3rem; }
.dish { padding-block: 1.05rem; border-bottom: 1px solid rgba(44, 58, 94, 0.5); }
.dish.hidden { display: none; }
.dish-line { display: flex; align-items: baseline; gap: 0.8rem; }
.dish-line h3 { font-size: 1.18rem; font-weight: 500; }
.dish-line .dots { flex: 1; border-bottom: 1px dotted var(--navy-line); transform: translateY(-4px); }
.dish-line .price { color: var(--gold); white-space: nowrap; font-variant-numeric: lining-nums; letter-spacing: 0.02em; }
.dish p { color: var(--cream-dim); font-size: 0.9rem; margin-top: 0.3rem; max-width: 52ch; }
.tags { display: inline-flex; gap: 0.35rem; margin-left: 0.6rem; vertical-align: middle; }
.tag {
  font-size: 0.62rem; letter-spacing: 0.1em; padding: 0.14rem 0.45rem;
  border: 1px solid var(--gold); color: var(--gold); text-transform: uppercase;
}
.menu-cta-band {
  text-align: center; border-block: 1px solid var(--navy-line);
  padding-block: clamp(2.5rem, 4.5vw, 3.5rem); background: var(--navy-soft);
}

/* ---------- Utility pages (404 / privacy) ---------- */

.page-plain { min-height: 100dvh; display: flex; flex-direction: column; }
.page-plain main { flex: 1; padding-top: calc(var(--nav-h) + 3rem); padding-bottom: 4rem; }
.prose { max-width: 72ch; }
.prose h2 { margin: 2.2rem 0 0.8rem; font-size: 1.6rem; }
.prose p, .prose li { color: var(--cream-dim); }
.prose ul { padding-left: 1.2rem; margin-top: 0.5rem; }

/* ---------- Mandala motif ---------- */

.mandala {
  position: absolute; pointer-events: none; opacity: 0.05; z-index: 0;
  width: 620px; height: 620px;
}
.mandala.tl { top: -180px; left: -180px; }
.mandala.br { bottom: -200px; right: -160px; }
section > .wrap { position: relative; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .mandala { animation: slowSpin 140s linear infinite; }
  @keyframes slowSpin { to { transform: rotate(360deg); } }
}

/* ---------- Back to top / skip ---------- */

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 0.8rem 1.4rem;
}
.skip-link:focus { left: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px; background: none; border: 0;
    padding: 0.6rem; cursor: pointer;
    min-width: 44px; min-height: 44px; justify-content: center; align-items: center;
  }
  .nav-toggle span { width: 24px; height: 1.5px; background: var(--cream); transition: transform 0.3s ease, opacity 0.3s ease; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .nav-drawer {
    position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 39;
    background: rgba(14, 21, 38, 0.98); border-bottom: 1px solid var(--navy-line);
    display: grid; gap: 0; padding: 0.6rem 0 1.2rem;
    transform: translateY(-110%); transition: transform 0.4s var(--ease-out);
  }
  .nav.open + .nav-drawer, .nav-drawer.open { transform: translateY(0); }
  .nav-drawer a {
    padding: 0.9rem clamp(1.25rem, 4vw, 3rem);
    font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-dim);
  }
  .nav-drawer a:hover { color: var(--gold); }
  .story-grid, .tamasha-grid, .visit-grid, .banquet-grid { grid-template-columns: 1fr; }
  .story-grid > div:first-child { order: 0; }   /* copy back on top when stacked */
  .visit-grid > div:nth-child(2) { border-left: 0; padding-left: 0; }
  .tamasha-pour { display: none; }
  .story-grid .media-col img { height: 420px; }
  .tamasha-media img { height: 440px; }
  .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 200px; }
  .b-1 { grid-column: span 6; grid-row: span 2; }
  .b-2, .b-3 { grid-column: span 3; grid-row: span 1; }
  .b-4, .b-5 { grid-column: span 3; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .tall img { height: 340px; }
  .gallery-grid .tall { grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-inner > div > .btn { display: none; }   /* CTA lives in the drawer + hero on small screens */
  .section-head img { display: none; }
  .menu-hero-grid { grid-template-columns: 1fr; }
  .menu-hero-media { display: none; }
  .dish-grid { grid-template-columns: 1fr; }
  .bento { display: flex; flex-direction: column; }
  .bento-cell { min-height: 260px; }
  .bento-cell img { position: absolute; inset: 0; }
  .bento-text { min-height: 0; }
  .banquet-featured { min-height: 420px; }
  .banquet-card img { width: 96px; height: 96px; }
  .review-card { width: 82vw; }
  .reviews-aggregate .link-arrow { margin-left: 0; }
  .chapter { grid-template-columns: 2.6rem 1fr; padding-right: 0; }
  .chapter .num { font-size: 1.2rem; }
  .chapter .count { grid-column: 2; justify-self: start; margin-top: 0.2rem; }
  .reserve-rating { flex-direction: column; gap: 0.3rem; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1; min-width: 200px; }
  .btn { min-height: 44px; }
  .nav-links { display: none; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero [data-hero] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .reveal .gold-rule { transform: none; }
  .mandala { animation: none !important; }
  .hero-visual img { clip-path: none !important; }
  .bento-cell img, .gallery-grid img { transition: none; }
  .chapter h3, .chapter .count::after { transition: none; }
}
