:root {
  --wine: #1E060D;
  --wine-2: #2A0A15;
  --kokum: #4A0E24;
  --kokum-2: #6E1A37;
  --gold: #E2B04A;
  --gold-soft: #F1D39A;
  --leaf: #2F6A3A;
  --rice: #FAF6F0;
  --ink: #26121A;
  --muted-d: #C9AFB6;
  --muted-l: #74606A;
  --line-d: rgba(241, 211, 154, .16);
  --line-l: #E9DFD6;
  --veg: #1E8B3C;
  --nonveg: #8B3A0E;

  --display: "Bodoni Moda", "Didot", Georgia, serif;
  --body: "Hind", system-ui, sans-serif;
  --dev: "Tiro Devanagari Marathi", serif;
  --gutter: 20px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--wine); scroll-padding-top: 76px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto !important; } }
body {
  font-family: var(--body); font-size: 16px; line-height: 1.6;
  color: #F3E7E1; background: var(--wine);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; }
a { color: inherit; touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 300; background: var(--rice); color: var(--ink); padding: 10px 14px; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.04; letter-spacing: -0.015em; }
h2 { font-size: clamp(38px, 9vw, 92px); font-variation-settings: "opsz" 96; }

/* ---------- Canvas + grain ---------- */
main, .foot { position: relative; z-index: 1; }
.grain {
  position: fixed; inset: 0; z-index: 90; 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 30px; border: 0; border-radius: 999px;
  font-weight: 500; font-size: 16px; letter-spacing: .01em; text-decoration: none;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--gold); color: var(--wine); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { color: var(--gold-soft); box-shadow: inset 0 0 0 1px rgba(241, 211, 154, .45); }
.btn-ghost:hover { background: rgba(241, 211, 154, .1); }
.wide { width: 100%; }
.text-link { color: var(--gold); font-weight: 500; text-underline-offset: 4px; display: inline-block; padding: 6px 0; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; gap: 14px;
  padding: 14px var(--gutter); padding-top: calc(14px + env(safe-area-inset-top));
  transition: background-color .4s var(--ease);
}
.nav.solid { background: var(--wine); box-shadow: 0 1px 0 var(--line-d); }
.nav-logo { display: flex; align-items: baseline; gap: 10px; text-decoration: none; margin-right: auto; }
.nav-dev { font-family: var(--dev); color: var(--gold); font-size: 20px; line-height: 1; }
.nav-word { font-family: var(--display); font-style: italic; font-size: 24px; color: #F6EADF; line-height: 1; }
.nav-links { display: none; gap: 30px; }
.nav-links a { font-size: 14px; color: var(--muted-d); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--gold-soft); }
.status { display: none; font-size: 13px; color: var(--muted-d); align-items: center; gap: 8px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #8FD19A; }
.status.closed::before { background: #E39A9A; }
.nav-reserve {
  min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px;
  background: var(--gold); color: var(--wine); font-weight: 500; font-size: 15px; text-decoration: none;
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--wine);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.loader-dev { font-family: var(--dev); color: var(--gold); font-size: clamp(44px, 12vw, 96px); line-height: 1; }
.loader-pct { font-family: var(--display); font-style: italic; color: var(--muted-d); font-size: 20px; font-variant-numeric: tabular-nums; }
html:not(.js) .loader { display: none; }

/* ---------- Film hero ---------- */
.film { position: relative; background: radial-gradient(90% 60% at 50% 38%, #3a0a1a 0%, var(--wine) 70%); }
.film-stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
/* The pot is drawn 2.4x larger and scaled down, so it stays sharp when the film zooms in */
.pot {
  --base: min(84vw, 46svh);
  --pot: calc(var(--base) * 2.4);
  position: absolute; left: 50%; top: 38%; width: var(--pot); height: var(--pot);
  margin: calc(var(--pot) / -2) 0 0 calc(var(--pot) / -2);
  transform: scale(.4167);
  will-change: transform;
}
.pot-in, .pot-spin { width: 100%; height: 100%; border-radius: 50%; }
.pot-spin { overflow: hidden; box-shadow: 0 96px 280px rgba(0, 0, 0, .55); }
.pot-spin img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.pot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(30, 6, 13, 0) 58%, rgba(30, 6, 13, .5) 100%);
}
.steam {
  position: absolute; left: 50%; top: 14%; width: 46%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 245, 235, .2), rgba(255, 245, 235, 0));
  opacity: 0; pointer-events: none; transform: translate(-50%, 0);
}
@media (prefers-reduced-motion: no-preference) {
  .pot-spin { animation: spin 80s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .steam { animation: steam 7s var(--ease) infinite; }
  .steam.s2 { animation-delay: 2.3s; left: 40%; }
  .steam.s3 { animation-delay: 4.6s; left: 60%; }
  @keyframes steam {
    0% { opacity: 0; transform: translate(-50%, 20%) scale(.5); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, -70%) scale(1.3); }
  }
}
.film-shade { position: absolute; inset: 0; background: rgba(20, 3, 9, .62); opacity: 0; pointer-events: none; }

.film-title {
  transform-origin: 50% 50%;
  position: absolute; left: 0; right: 0; top: 56%; margin: 0; text-align: center;
  font-style: italic; font-weight: 500; font-variation-settings: "opsz" 96;
  font-size: clamp(100px, 29vw, 300px); line-height: .82; letter-spacing: -0.045em;
  color: #F6EADF; text-shadow: 0 6px 40px rgba(20, 3, 9, .6); white-space: nowrap;
}
.split { display: inline-block; }
.ch { display: inline-block; will-change: transform, opacity; }
.chi { display: inline-block; }
.film-place {
  position: absolute; left: 0; right: 0; top: calc(56% + clamp(96px, 26vw, 270px));
  display: flex; align-items: baseline; justify-content: center; gap: 10px;
  font-size: 15px; color: var(--gold-soft); letter-spacing: .03em;
}
.hero-dev { font-family: var(--dev); color: var(--gold); font-size: 1.3em; }

.film-lines { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.line {
  grid-area: 1 / 1; max-width: 16ch; padding: 0 var(--gutter); text-align: center; opacity: 0;
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(36px, 9vw, 92px); line-height: 1.05; letter-spacing: -0.02em; color: #F6EADF;
  text-shadow: 0 4px 30px rgba(10, 2, 5, .7);
}

.film-end {
  position: absolute; left: 0; right: 0; bottom: calc(40px + env(safe-area-inset-bottom));
  padding: 0 var(--gutter); display: flex; flex-direction: column; align-items: center; text-align: center;
  opacity: 0; visibility: hidden; z-index: 5;
}
.film-lead { max-width: 36ch; font-size: 17px; color: #DCC6CC; }
.hero-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; justify-content: center; width: 100%; max-width: 460px; }
.hero-actions .btn { flex: 1 1 150px; padding: 0 16px; max-width: 220px; white-space: nowrap; font-size: 15px; }

.film-cue { pointer-events: none; position: absolute; left: 0; right: 0; bottom: calc(34px + env(safe-area-inset-bottom)); text-align: center; font-size: 13px; color: var(--muted-d); letter-spacing: .1em; }
.film-progress { pointer-events: none; position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(16px + env(safe-area-inset-bottom)); height: 2px; background: var(--line-d); }
.film-progress span { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }

/* Static (reduced motion or no JS): the finished frame */
.film.static .pot, html:not(.js) .pot { top: 26%; --base: min(58vw, 30svh); }
.film.static .film-end, html:not(.js) .film-end { opacity: 1; visibility: visible; }
.film.static .film-cue, .film.static .film-progress, html:not(.js) .film-cue, html:not(.js) .film-progress { display: none; }
.film.static .film-title, html:not(.js) .film-title { top: 44%; }
.film.static .film-place, html:not(.js) .film-place { display: none; }

/* ---------- Signature dishes ---------- */
.dishes { position: relative; background: var(--wine-2); border-top: 1px solid var(--line-d); }
.dishes-pin { padding: 90px 0 70px; overflow: hidden; }
.dishes-head { padding: 0 var(--gutter); display: grid; gap: 12px; }
.dishes-head h2 { color: #F6EADF; }
.dishes-head p { color: var(--muted-d); max-width: 36ch; }
.dishes-track {
  display: flex; gap: 16px; margin-top: 40px; padding: 0 var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.dishes-track::-webkit-scrollbar { display: none; }
.sig { flex: none; width: 78vw; max-width: 420px; scroll-snap-align: start; }
.sig-img { overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 5; background: var(--kokum); }
.sig-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease); }
.sig:hover .sig-img img { transform: scale(1.02); }
.sig h3 { font-size: 30px; font-style: italic; margin-top: 18px; color: #F6EADF; }
.sig p { color: var(--muted-d); margin-top: 6px; font-size: 15px; max-width: 34ch; }
.sig-price { display: inline-block; margin-top: 10px; color: var(--gold); font-weight: 500; font-variant-numeric: tabular-nums; }

/* ---------- Form fields ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label, .field .label { font-weight: 500; font-size: 15px; }
.field input, .field select {
  width: 100%; min-height: 52px; padding: 10px 14px; font-size: 16px;
  background: #fff; color: var(--ink); border: 1px solid #DCCFC4; border-radius: 10px;
}
.field input:focus, .field select:focus { outline: none; }
.error { color: #B3261E; font-size: 14px; }
.error:empty { display: none; }
.stepper { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; min-height: 40px; border-radius: 999px; }
.stepper button { border: 0; background: none; color: inherit; }
.stepper output { text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Reviews ---------- */
.reviews { background: var(--kokum); padding: 100px var(--gutter); }
.quote blockquote { font-family: var(--display); font-style: italic; font-size: clamp(30px, 7vw, 72px); line-height: 1.1; color: #F6EADF; max-width: 22ch; letter-spacing: -0.015em; }
.quote figcaption { margin-top: 20px; color: var(--gold-soft); font-size: 15px; }
.quote-row { display: grid; gap: 36px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line-d); }
.quote.small blockquote { font-size: clamp(22px, 4.5vw, 32px); max-width: 30ch; }

/* ---------- Reserve ---------- */
.book { background: var(--wine-2); padding: 90px var(--gutter); display: grid; gap: 36px; }
.book-intro h2 { font-style: italic; color: #F6EADF; }
.book-intro p { color: var(--muted-d); margin-top: 16px; max-width: 40ch; font-size: 17px; }
.book-intro .book-hours { color: var(--gold-soft); font-size: 15px; }
.book-form .field label, .book-form .field .label { color: var(--gold-soft); }
.book-form .field input, .book-form .field select {
  background: rgba(241, 211, 154, .06); color: #F6EADF; border-color: rgba(241, 211, 154, .3);
}
.book-form .field input:focus, .book-form .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(226, 176, 74, .2); }
.book-form .field select option { color: var(--ink); }
.book-form .field input::-webkit-calendar-picker-indicator { filter: invert(.85) sepia(.4); }
.book-form .error { color: #FFB4A8; }
.book-form .field [aria-invalid="true"] { border-color: #FF8C7A; }
.stepper.big { grid-template-columns: 52px 1fr 52px; min-height: 52px; max-width: 180px; background: rgba(241, 211, 154, .08); color: #F6EADF; box-shadow: inset 0 0 0 1px rgba(241, 211, 154, .3); }
.stepper.big button { height: 52px; color: var(--gold); font-size: 22px; }

/* ---------- Visit ---------- */
.visit { background: var(--wine); padding: 90px var(--gutter); border-top: 1px solid var(--line-d); }
.visit h2 { font-style: italic; color: #F6EADF; }
.visit-grid { display: grid; gap: 28px; margin-top: 36px; }
.visit h3 { font-family: var(--body); font-weight: 600; font-size: 15px; color: var(--gold-soft); margin-bottom: 8px; letter-spacing: .02em; }
.visit p { color: var(--muted-d); }

/* ---------- Footer ---------- */
.foot { background: var(--wine); overflow: hidden; padding: 40px var(--gutter) calc(96px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-d); }
.foot-word {
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(120px, 36vw, 520px); line-height: .78; letter-spacing: -0.05em;
  color: var(--kokum-2); text-align: center; margin-bottom: 30px;
}
.foot-note { text-align: center; font-size: 14px; color: var(--muted-d); }
.foot-note a { color: var(--gold); }

/* ---------- Toast ---------- */

/* ---------- Tablet ---------- */
@media (min-width: 720px) {
  :root { --gutter: 40px; }
  .status { display: flex; }
  .quote-row { grid-template-columns: 1fr 1fr; gap: 48px; }
  .visit-grid { grid-template-columns: repeat(3, 1fr); }
  .book-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .book-form .wide { grid-column: 1 / -1; }
  .sig { width: 46vw; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  :root { --gutter: 64px; }
  .nav-links { display: flex; }
  .nav-reserve { display: none; }
  .foot { padding-bottom: 40px; }
  .pot { --base: min(38vw, 56vh); top: 37%; }
  .film-title { top: 54%; }
  .film-place { top: calc(54% + 270px); }



  .dishes-pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 72px 0 0; }
  .dishes-head { grid-template-columns: 1fr 1fr; align-items: end; }
  .dishes-head h2 { font-size: clamp(44px, 5vw, 72px); }
  .dishes-track { overflow: visible; scroll-snap-type: none; gap: 40px; margin-top: 36px; will-change: transform; }
  .sig { width: min(24vw, 46vh); max-width: 400px; }
  .sig:nth-child(even) { margin-top: 56px; }
  .sig-img { aspect-ratio: 4 / 5; }


  .reviews { padding: 140px var(--gutter); }
  .book { grid-template-columns: 1fr 1.2fr; gap: 96px; padding: 140px var(--gutter); }
  .visit { padding: 120px var(--gutter); }
}
