/* ==========================================================================
   Aroma — "you smell it before you see it."
   One stylesheet for the four pages. Black space, smoke and food.
   Display: Fraunces (SOFT + WONK axes). UI: Inter.
   Spacing scale: 8px. Breakpoints: phone < 760 · desktop >= 1080.
   The page is complete without the smoke: html.fx is only set once the
   WebGL atmosphere is actually running.
   ========================================================================== */

:root {
  --bg: #050403;
  --bg-2: #0d0a07;
  --cream: #F1E6D2;
  --cream-2: #D9CDB7;         /* 13:1 on bg */
  --mute: #A99D89;            /* 7.4:1 on bg */
  --ghee: #E8B04B;
  --turmeric: #D9A21B;
  --ember: #E2622B;
  --cardamom: #9FB07A;
  --line: rgba(241, 230, 210, .14);
  --line-2: rgba(241, 230, 210, .26);
  --glass: rgba(9, 7, 5, .78);

  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --g: 16px;
  --max: 1320px;
  --nav: calc(64px + env(safe-area-inset-top, 0px));
  --bar: calc(64px + env(safe-area-inset-bottom, 0px));
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}
@media (min-width: 760px) { :root { --g: 32px; --nav: calc(72px + env(safe-area-inset-top, 0px)); } }
@media (min-width: 1080px) { :root { --g: 48px; --bar: 0px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); scroll-padding-top: calc(var(--nav) + 16px); }
@media (prefers-reduced-motion: no-preference) { html[data-motion="on"] { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--cream);
  font: 400 16px/1.55 var(--ui);
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  padding-bottom: var(--bar);
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.display, h1, h2 {
  font-family: var(--display);
  font-weight: 340;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  letter-spacing: -0.035em;
  line-height: .92;
}
em { font-style: italic; }
[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* focus: a visible ghee ring on everything that takes focus */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--ghee); outline-offset: 3px; border-radius: 6px; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 200; padding: 12px 18px; background: var(--ghee); color: #140d04; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ==========================================================================
   Atmosphere + haze
   ========================================================================== */
.atmos { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 0; display: block; pointer-events: none; }
main, .foot { position: relative; z-index: 1; }
body[data-atmos="table"]::before, body[data-atmos="dabba"]::before, body[data-atmos="chaat"]::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; transition: opacity 1s;
  background: radial-gradient(60% 45% at 75% 100%, rgba(226, 98, 43, .16), transparent 70%), radial-gradient(50% 40% at 10% 20%, rgba(232, 176, 75, .08), transparent 70%);
}
html.fx body::before { opacity: 0; }

.haze {
  position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: 0;
  background:
    radial-gradient(60% 50% at 30% 70%, rgba(232, 176, 75, .10), transparent 70%),
    radial-gradient(50% 40% at 70% 30%, rgba(241, 230, 210, .07), transparent 70%),
    var(--bg);
}
html[data-motion="on"] .haze { animation: haze-out 1.1s .08s var(--ease) both; }
html[data-motion="on"] .haze.is-in { animation: haze-in .5s var(--ease-io) both; }
@keyframes haze-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes haze-in { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   Buttons, status, motion switch
   ========================================================================== */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px; border-radius: 999px;
  font: 600 15px/1 var(--ui); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; background: none;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
}
.btn--gold { background: var(--ghee); color: #170f04; box-shadow: 0 0 0 0 rgba(232, 176, 75, 0); }
.btn--gold:hover { background: #F2C266; box-shadow: 0 10px 40px -8px rgba(232, 176, 75, .55); transform: translateY(-1px); }
.btn--line { border-color: var(--line-2); color: var(--cream); background: rgba(5, 4, 3, .5); }
.btn--line:hover { border-color: var(--ghee); color: var(--ghee); }
.btn--sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn--xl { --h: 64px; padding: 0 36px; font-size: 17px; }
.btn:active { transform: translateY(1px) scale(.99); }

.status { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--ui); color: var(--cream-2); white-space: nowrap; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mute); box-shadow: 0 0 0 3px rgba(169, 157, 137, .16); flex: none; }
.status.is-open .status__dot { background: var(--cardamom); box-shadow: 0 0 0 3px rgba(159, 176, 122, .2), 0 0 12px rgba(159, 176, 122, .7); }
html[data-motion="on"] .status.is-open .status__dot { animation: ember 2.8s ease-in-out infinite; }
@keyframes ember { 50% { box-shadow: 0 0 0 5px rgba(159, 176, 122, .08), 0 0 18px rgba(159, 176, 122, .9); } }

.motion {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px 0 8px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(5, 4, 3, .6);
  font: 500 12px/1 var(--ui); color: var(--cream-2); cursor: pointer; transition: border-color .3s, color .3s;
}
.motion:hover { border-color: var(--line-2); color: var(--cream); }
.motion__track { position: relative; width: 26px; height: 16px; border-radius: 999px; background: rgba(241, 230, 210, .16); transition: background .3s; }
.motion__track::after { content: ""; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--cream-2); transition: transform .4s var(--ease), background .3s; }
.motion[aria-pressed="true"] .motion__track { background: rgba(232, 176, 75, .4); }
.motion[aria-pressed="true"] .motion__track::after { transform: translateX(10px); background: var(--ghee); }
.motion b { font-weight: 600; color: var(--cream); min-width: 1.7em; }

/* ==========================================================================
   Nav: floating, minimal
   ========================================================================== */
.nav { position: fixed; z-index: 60; left: 0; right: 0; top: 0; height: var(--nav); padding-top: env(safe-area-inset-top, 0px); pointer-events: none; }
.nav__in {
  height: 100%; max-width: calc(var(--max) + 2 * var(--g)); margin: 0 auto; padding: 0 var(--g);
  display: flex; align-items: center; gap: 16px; position: relative;
}
.nav__in > * { pointer-events: auto; }
.nav::before {
  content: ""; position: absolute; inset: 0 0 -36px; pointer-events: none; opacity: 1; transition: opacity .5s;
  /* always on, even at the very top, so the links stay readable over bright photos */
  background: linear-gradient(to bottom, rgba(5, 4, 3, .96), rgba(5, 4, 3, .78) 55%, rgba(5, 4, 3, .32) 80%, transparent);
}
.nav.is-scrolled::before { opacity: 1; }
.brand {
  position: relative; text-decoration: none; margin-right: auto;
  font-family: var(--display); font-size: 30px; font-weight: 400; font-style: italic; letter-spacing: -0.04em; line-height: 1;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 72; color: var(--cream); padding: 6px 2px;
}
.brand::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: 2px; height: 1px; background: var(--ghee); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.brand:hover::after { transform: scaleX(1); }
.nav__links { display: none; flex: none; gap: 4px; align-items: center; font: 600 15px/1 var(--ui); letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; }
.nav__links a, .nav__links .dd { flex: none; white-space: nowrap; }
.nav__links .dd__menu { text-transform: none; letter-spacing: 0; font-size: 15px; }
.nav__links a { position: relative; padding: 10px 12px; text-decoration: none; color: var(--cream); text-shadow: 0 1px 10px rgba(0, 0, 0, .55); border-radius: 999px; transition: color .3s; }
/* smaller laptops: a touch smaller and tighter so every link still fits */
@media (min-width: 1100px) and (max-width: 1365px) { .nav__links { font-size: 13px; letter-spacing: 0.035em; gap: 0; } .nav__links a { padding: 10px 8px; } .nav__links .dd__btn { margin-right: -1px; } }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--cream); }
.nav__links a[aria-current="page"]::after, .nav__links a:hover::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--ghee);
}
.nav__links .sep { color: var(--mute); }
.nav .status { padding: 8px 4px; }
.nav .status [data-status-text] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nav__acts { display: flex; align-items: center; gap: 8px; }
.nav__acts .motion { min-height: 34px; }
@media (min-width: 1100px) {
  .nav__links { display: flex; }
  .mnav { display: none; }
  .brand { margin-right: 0; }
  .nav__links { margin: 0 auto; }
}
@media (min-width: 1080px) { .nav .status { margin-right: 6px; } .nav .status [data-status-text] { position: static; width: auto; height: auto; clip-path: none; } }
@media (max-width: 1099px) { .nav__acts .btn { display: none; } }
/* smaller laptops: the open-hours pill steps aside so Reserve always fits */
@media (min-width: 1100px) and (max-width: 1535px) { .nav__acts .status { display: none; } }
@media (max-width: 380px) { .motion { padding: 0 8px; } .motion > span:not(.motion__track), .motion .ml { display: none; } }

/* phone menu */
.mnav summary {
  list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 999px; background: rgba(5, 4, 3, .6); font: 600 13px/1 var(--ui); cursor: pointer;
}
.mnav summary::-webkit-details-marker { display: none; }
.mnav__ic { width: 14px; height: 8px; position: relative; }
.mnav__ic::before, .mnav__ic::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease); }
.mnav__ic::before { top: 0; } .mnav__ic::after { bottom: 0; }
.mnav[open] .mnav__ic::before { transform: translateY(3.25px) rotate(45deg); }
.mnav[open] .mnav__ic::after { transform: translateY(-3.25px) rotate(-45deg); }
.mnav__sheet {
  position: fixed; inset: 0; z-index: -1; padding: calc(var(--nav) + 24px) var(--g) calc(var(--bar) + 24px);
  background: radial-gradient(80% 50% at 20% 100%, rgba(232, 176, 75, .14), transparent 70%), var(--bg);
  display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
}
.mnav__sheet a.big { font-family: var(--display); font-size: clamp(44px, 14vw, 72px); font-weight: 330; letter-spacing: -0.04em; line-height: 1.05; text-decoration: none; padding: 4px 0; display: flex; align-items: baseline; gap: 14px; font-variation-settings: "SOFT" 100, "WONK" 1; }
.mnav__sheet a.big small { font: 500 12px/1 var(--ui); color: var(--mute); letter-spacing: .08em; }
.mnav__sheet a.big[aria-current="page"] { color: var(--ghee); font-style: italic; }
.mnav__foot { margin-top: auto; padding-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
html[data-motion="on"] .mnav[open] .mnav__sheet a.big { animation: rise .7s var(--ease) both; }
html[data-motion="on"] .mnav[open] .mnav__sheet a.big:nth-child(2) { animation-delay: .05s; }
html[data-motion="on"] .mnav[open] .mnav__sheet a.big:nth-child(3) { animation-delay: .1s; }
html[data-motion="on"] .mnav[open] .mnav__sheet a.big:nth-child(4) { animation-delay: .15s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } }

/* ==========================================================================
   Bottom bar: Call · Directions · Menu · Reserve (phones full width,
   desktop a small floating pill)
   ========================================================================== */
.bar {
  position: fixed; z-index: 55; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 1fr 1fr 1fr 1.25fr; align-items: stretch;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px)); gap: 6px;
  background: linear-gradient(to top, rgba(5, 4, 3, .98) 60%, rgba(5, 4, 3, .9));
  border-top: 1px solid var(--line);
}
.bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 48px;
  font: 500 11.5px/1 var(--ui); letter-spacing: .01em; text-decoration: none; color: var(--cream-2); border-radius: 14px;
  transition: color .3s, background-color .3s;
}
.bar a:hover { color: var(--cream); background: rgba(241, 230, 210, .05); }
.bar svg { width: 20px; height: 20px; }
.bar .bar__cta { background: var(--ghee); color: #170f04; font-size: 14px; font-weight: 600; flex-direction: row; }
.bar .bar__cta:hover { background: #F2C266; color: #170f04; }
.bar .status { display: none; }
@media (min-width: 1080px) {
  .bar {
    left: 50%; right: auto; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
    grid-template-columns: auto auto auto auto auto; padding: 6px; gap: 2px; border: 1px solid var(--line);
    border-radius: 999px; background: var(--glass);
  }
  .bar .status { display: inline-flex; padding: 0 14px 0 12px; }
  .bar a { flex-direction: row; min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 13px; }
  .bar svg { width: 16px; height: 16px; }
}

/* ==========================================================================
   Veils: a photograph under smoke. Without the WebGL smoke the photo shows
   through a still, elegant CSS haze.
   ========================================================================== */
.veil { position: absolute; inset: 0; overflow: hidden; background: var(--bg); }
.veil img { width: 100%; height: 100%; object-fit: cover; transition: opacity .6s; }
.veil::after {
  content: ""; position: absolute; inset: -10%; pointer-events: none;
  background:
    radial-gradient(30% 22% at 12% 96%, rgba(241, 230, 210, .12), transparent 70%),
    radial-gradient(26% 20% at 88% 98%, rgba(241, 230, 210, .1), transparent 70%),
    radial-gradient(140% 100% at 50% 45%, transparent 55%, rgba(5, 4, 3, .5) 100%),
    linear-gradient(to bottom, rgba(5, 4, 3, .45), transparent 22%, transparent 55%, rgba(5, 4, 3, .82));
}
.hero .veil::after { background:
    radial-gradient(46% 40% at 50% 48%, rgba(5, 4, 3, .72), rgba(5, 4, 3, .35) 70%, transparent 100%),
    radial-gradient(40% 30% at 18% 78%, rgba(241, 230, 210, .14), transparent 70%),
    radial-gradient(120% 90% at 50% 50%, transparent 30%, rgba(5, 4, 3, .78) 80%),
    linear-gradient(to bottom, rgba(5, 4, 3, .55), rgba(5, 4, 3, .25) 30%, rgba(5, 4, 3, .3) 60%, rgba(5, 4, 3, .9)); }
html[data-motion="on"]:not(.fx) .veil::after { animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(2%, -3%, 0) scale(1.04); } }
html.fx .veil { background: transparent; }
html.fx .veil.is-gl img { opacity: 0; }
html.fx .veil.is-gl::after { opacity: 0; }

/* text sitting over food always gets a quiet dark backing */
.legible { text-shadow: 0 1px 2px rgba(5, 4, 3, .6), 0 0 34px rgba(5, 4, 3, .75); }
.cap {
  font: 500 11.5px/1.4 var(--ui); letter-spacing: .02em; color: var(--cream-2);
  display: inline-flex; gap: 8px; align-items: center; padding: 7px 12px; border-radius: 999px; background: rgba(5, 4, 3, .66);
}
.cap::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ghee); opacity: .8; }

.kicker { font: 600 12px/1 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--ghee); }
.hint { font: 500 13px/1 var(--ui); color: var(--cream-2); display: none; align-items: center; gap: 10px; }
html.fx .hint { display: inline-flex; }
.hint i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.hint i::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--ghee); }
html[data-motion="on"] .hint i::after { animation: orbit 2.4s var(--ease-io) infinite; }
@keyframes orbit { 0% { transform: translate(-5px, 0); } 50% { transform: translate(5px, -2px); } 100% { transform: translate(-5px, 0); } }

/* ==========================================================================
   INDEX — the opening
   ========================================================================== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav) + 24px) var(--g) calc(var(--bar) + 96px); }
.hero__copy { position: relative; display: grid; justify-items: center; gap: 28px; padding: 24px 12px; }
.hero__title { font-size: clamp(76px, 21vw, 260px); font-weight: 320; letter-spacing: -0.05em; line-height: .86; }
.hero__title .ln { display: block; }
.hero__title .ln:last-child { font-style: italic; color: var(--ghee); padding-right: .04em; }
.hero__line { max-width: 30ch; font: 400 clamp(16px, 1.6vw, 20px)/1.45 var(--ui); color: var(--cream); }
/* small text over a photograph always sits on a quiet dark backing (AA) */
.hero__line, .course__line, .hint { background: rgba(5, 4, 3, .62); padding: 10px 16px; border-radius: 14px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hint { padding: 8px 14px 8px 8px; border-radius: 999px; }
.course__line { justify-self: start; }
.course--right .course__line { justify-self: end; }
.hero__foot { position: absolute; left: var(--g); right: var(--g); bottom: calc(var(--bar) + 20px); display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.cue { font: 500 12px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--cream-2); display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.cue::after { content: ""; width: 1px; height: 32px; background: linear-gradient(var(--ghee), transparent); }
html[data-motion="on"] .cue::after { animation: fall 2.2s var(--ease-io) infinite; transform-origin: top; }
@keyframes fall { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* the opening sequence: the HTML title condenses in while the smoke words hold */
html.fx-pending .hero__title { opacity: 0; filter: blur(18px); }
html.fx-pending .hero:not(.is-formed) .hero__title { animation: failsafe .01s 6s forwards; }
html.fx-pending .hero.is-formed .hero__title { opacity: 1; filter: blur(0); transition: opacity 1.6s var(--ease), filter 1.8s var(--ease); }
html.fx-pending .hero .hero__line, html.fx-pending .hero .hint, html.fx-pending .hero__foot { opacity: 0; transform: translateY(12px); }
html.fx-pending .hero:not(.is-released) .hero__line { animation: failsafe .01s 6.5s forwards; }
html.fx-pending .hero.is-released .hero__line,
html.fx-pending .hero.is-released .hint,
html.fx-pending .hero.is-released .hero__foot { opacity: 1; transform: none; transition: opacity 1.4s var(--ease) .5s, transform 1.4s var(--ease) .5s; }
@keyframes failsafe { to { opacity: 1; filter: none; transform: none; } }
html[data-motion="on"]:not(.fx-pending) .hero__copy > * { animation: rise 1.4s var(--ease) both; }
html[data-motion="on"]:not(.fx-pending) .hero__copy > :nth-child(2) { animation-delay: .15s; }
html[data-motion="on"]:not(.fx-pending) .hero__copy > :nth-child(3) { animation-delay: .3s; }

/* courses */
.course { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: end; padding: calc(var(--nav) + 32px) var(--g) calc(var(--bar) + 40px); }
.course__inner { max-width: var(--max); width: 100%; margin: 0 auto; display: flex; }
.course__text { position: relative; width: fit-content; max-width: 100%; display: grid; gap: 18px; padding-bottom: 8px; }
.course--right .course__inner { justify-content: flex-end; }
.course__no { font: 600 12px/1 var(--ui); letter-spacing: .18em; color: var(--ghee); text-transform: uppercase; display: flex; gap: 14px; align-items: center; }
.course__no::after { content: ""; width: 48px; height: 1px; background: currentColor; opacity: .6; }
.course__word { font-size: clamp(88px, 24vw, 300px); font-weight: 300; letter-spacing: -0.055em; line-height: .82; margin-left: -.04em; }
.course__word em { color: var(--ghee); }
.course__line { max-width: 34ch; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.5; color: var(--cream); }
.course .cap { position: absolute; right: var(--g); top: calc(var(--nav) + 16px); }
.course--right .course__text { justify-items: end; text-align: right; }
.course--right .course__no { flex-direction: row-reverse; }
@media (min-width: 1080px) { .course { padding-bottom: 132px; } }

/* stirring: the word is still smoke until the plate has been stirred */
html.fx[data-motion="on"] [data-stir] .course__word,
html.fx[data-motion="on"] [data-stir] .course__line { transition: opacity 1.6s var(--ease), filter 1.8s var(--ease), transform 1.8s var(--ease), letter-spacing 2s var(--ease); }
html.fx[data-motion="on"] [data-stir]:not(.is-clear) .course__word { opacity: .06; filter: blur(22px); transform: translateY(.06em) scale(1.04); letter-spacing: -0.02em; }
html.fx[data-motion="on"] [data-stir]:not(.is-clear) .course__line { opacity: 0; filter: blur(8px); transform: translateY(10px); }
html.fx[data-motion="on"] [data-stir].is-clear .course__line { transition-delay: .35s; }

/* finale */
.finale { position: relative; min-height: 92vh; min-height: 92svh; display: grid; place-items: center; text-align: center; padding: 120px var(--g); }
.finale__in { display: grid; justify-items: center; gap: 28px; }
.finale__h { font-size: clamp(56px, 11vw, 168px); font-weight: 320; letter-spacing: -0.05em; }
.finale__h em { color: var(--ghee); }
.finale__acts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.finale__fine { font-size: 14px; color: var(--cream-2); max-width: 44ch; }
.second { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 8px; justify-items: center; }
.second p:last-child { font-size: 15px; color: var(--cream-2); }

/* ==========================================================================
   Page heads (dabba, chaat, table)
   ========================================================================== */
.phead { position: relative; padding: calc(var(--nav) + 56px) var(--g) 32px; max-width: calc(var(--max) + 2 * var(--g)); margin: 0 auto; }
.phead h1 { font-size: clamp(64px, 13vw, 184px); font-weight: 320; letter-spacing: -0.05em; }
.phead h1 em { color: var(--ghee); }
.phead p { margin-top: 20px; max-width: 40ch; font-size: clamp(16px, 1.5vw, 19px); color: var(--cream-2); }
.phead .kicker { display: block; margin-bottom: 20px; }
html[data-motion="on"] .phead > * { animation: rise 1.4s var(--ease) both .25s; }
html[data-motion="on"] .phead > :nth-child(2) { animation-delay: .38s; }
html[data-motion="on"] .phead > :nth-child(3) { animation-delay: .5s; }

/* ==========================================================================
   MENU — the masala dabba
   ========================================================================== */
.dabba-wrap { max-width: calc(var(--max) + 2 * var(--g)); margin: 0 auto; padding: 8px var(--g) 96px; display: grid; gap: 48px; }
@media (min-width: 1080px) {
  .dabba-wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 72px; align-items: start; }
  .tins { position: sticky; top: calc(var(--nav) + 16px); }
}
.tins { display: grid; justify-items: center; gap: 28px; }
.phead--tight { padding-bottom: 8px; }
.phead--tight h1 { font-size: clamp(56px, 9vw, 128px); }
@media (min-width: 1080px) { .tins .tin:not(.tin--thai) { --s: min(560px, calc(100vh - var(--nav) - 230px), 40vw); } }
.tins__note { font-size: 13px; color: var(--mute); text-align: center; }

.tin {
  --s: min(92vw, 600px);
  position: relative; display: block; width: var(--s); aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 22%),
    conic-gradient(from 210deg, #2c2f32, #d4d9dd 7%, #5a5f64 16%, #f1f4f6 27%, #6a6f74 38%, #24272a 50%, #a9aeb3 63%, #44484c 74%, #e6eaed 86%, #2c2f32);
  box-shadow:
    0 50px 90px -20px rgba(0, 0, 0, .9),
    0 18px 30px -10px rgba(0, 0, 0, .7),
    inset 0 0 0 1px rgba(255, 255, 255, .25),
    inset 0 2px 1px rgba(255, 255, 255, .5),
    inset 0 -3px 6px rgba(0, 0, 0, .6);
}
.tin::before { /* the floor of the tin: concentric brushing, darker steel */
  content: ""; position: absolute; inset: 4.2%; border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .035) 0 1px, rgba(0, 0, 0, .04) 1px 3px),
    radial-gradient(circle at 36% 30%, rgba(255, 255, 255, .28), transparent 40%),
    conic-gradient(from 30deg, #3d4145, #9aa0a5 12%, #4b4f53 25%, #c3c8cc 40%, #3a3e42 55%, #8d9297 70%, #2f3337 85%, #3d4145);
  box-shadow: inset 0 10px 26px rgba(0, 0, 0, .75), inset 0 -2px 2px rgba(255, 255, 255, .25), 0 0 0 2px rgba(0, 0, 0, .25);
}
.tin::after { /* the warm light of the room on the rim */
  content: ""; position: absolute; inset: -1px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 70% 85%, rgba(232, 176, 75, .18), transparent 30%);
  mix-blend-mode: screen;
}
.tin__list { position: absolute; inset: 0; }

.katori {
  --k: 27%;
  position: absolute; left: calc(var(--x) - var(--k) / 2); top: calc(var(--y) - var(--k) / 2);
  width: var(--k); aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: none;
  transition: transform .6s var(--ease), filter .6s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.katori__bowl {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, .6), transparent 26%),
    conic-gradient(from 160deg, #3b3f43, #e9edf0 10%, #70757a 24%, #f6f8f9 36%, #50555a 52%, #2b2e31 64%, #b9bec2 78%, #474b4f 90%, #3b3f43);
  box-shadow: 0 12px 18px -6px rgba(0, 0, 0, .85), 0 3px 4px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .28);
}
.katori__spice {
  position: absolute; inset: 9%; border-radius: 50%;
  background-color: var(--c);
  background-image:
    radial-gradient(circle at 38% 32%, rgba(255, 255, 255, .34), transparent 46%),
    radial-gradient(circle at 50% 50%, transparent 54%, rgba(0, 0, 0, .5) 100%),
    var(--tex, none);
  background-size: 100% 100%, 100% 100%, var(--ts, 100% 100%);
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, .55), inset 0 -2px 3px rgba(255, 255, 255, .12);
  transition: transform .8s var(--ease);
}
.katori__spice::after { /* a heap: the middle catches the light */
  content: ""; position: absolute; inset: 14%; border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, rgba(255, 255, 255, .22), transparent 60%);
  filter: blur(2px);
}
.katori__label {
  position: absolute; z-index: 3; left: 50%; bottom: -6px; transform: translate(-50%, 50%);
  padding: 5px 10px; border-radius: 999px; background: rgba(5, 4, 3, .9); border: 1px solid var(--line);
  font: 600 11px/1 var(--ui); letter-spacing: .02em; white-space: nowrap; color: var(--cream); pointer-events: none;
  transition: background .3s, color .3s, border-color .3s;
}
.katori:hover { transform: translateY(-3px) scale(1.04); }
.katori:hover .katori__spice { transform: scale(1.04) rotate(8deg); }
.katori[aria-selected="true"] { transform: translateY(-5px) scale(1.07); filter: drop-shadow(0 0 22px rgba(232, 176, 75, .35)); z-index: 2; }
.katori[aria-selected="true"] .katori__label { background: var(--ghee); color: #170f04; border-color: var(--ghee); }
.katori:focus-visible { outline-offset: 4px; border-radius: 50%; }
@media (max-width: 480px) { .katori__label { font-size: 10px; padding: 4px 7px; } }

/* spice textures: seeds drawn as dots, powders as fine grain */
.sp-turmeric   { --c: #D9A21B; --tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .25 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E"); --ts: 60px 60px; }
.sp-chilli     { --c: #B3311F; --tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .25 0 0 0 0 .02 0 0 0 0 0 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E"); --ts: 60px 60px; }
.sp-coriander  { --c: #A88A5C; --tex: radial-gradient(circle at 50% 50%, #CDB487 0 34%, #7A6040 38% 46%, transparent 50%); --ts: 9px 9px; }
.sp-cumin      { --c: #6B4E2E; --tex: radial-gradient(ellipse 22% 48% at 50% 50%, #9A7A4E 0 60%, transparent 70%); --ts: 6px 8px; }
.sp-garam      { --c: #4E3220; --tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .35 0 0 0 0 .2 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E"); --ts: 60px 60px; }
.sp-cardamom   { --c: #8C9E5E; --tex: radial-gradient(ellipse 30% 46% at 50% 50%, #B5C47F 0 45%, #66773D 55% 66%, transparent 72%); --ts: 11px 14px; }
.sp-saffron    { --c: #8E2412; --tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cg stroke-linecap='round' fill='none' stroke-width='1.6'%3E%3Cpath d='M6 12q8 4 14 14M30 6q-2 9 6 16M52 10q7 6 10 16M10 40q9-3 16 6M40 34q5 8 14 9M64 40q-3 9 4 16M14 64q8 1 12 10M44 58q-1 9 8 14M70 66q6-2 8 8' stroke='%23E2622B'/%3E%3Cpath d='M20 22q6 8 2 16M48 22q-6 4-4 12M28 52q6-6 14-4M60 28q4 6 12 4M4 54q4 6 0 14' stroke='%23C2401A'/%3E%3C/g%3E%3C/svg%3E"); --ts: 40px 40px; }
.sp-mustard    { --c: #2E2117; --tex: radial-gradient(circle at 45% 40%, #7A5634 0 22%, #3B2A1C 32% 44%, transparent 50%); --ts: 6px 6px; }
.sp-fennel     { --c: #9E9A5A; --tex: radial-gradient(ellipse 18% 46% at 50% 50%, #C8C27E 0 55%, transparent 68%); --ts: 6px 9px; }
.sp-coconut    { --c: #E7DCC0; --tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.6' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .5 0 0 0 0 .35 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E"); --ts: 60px 60px; }
.sp-soy        { --c: #4A2C17; --tex: repeating-linear-gradient(20deg, transparent 0 5px, rgba(160, 110, 60, .45) 5px 7px, transparent 7px 11px); --ts: auto; }

/* the lid lifts on load (Motion on) */
.lid {
  position: absolute; inset: -1.5%; border-radius: 50%; z-index: 5; pointer-events: none; display: none;
  background:
    radial-gradient(circle at 50% 50%, #cfd4d8 0 5%, #6c7176 5.6% 6.4%, transparent 7%),
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, .6), transparent 32%),
    repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .04) 0 1px, rgba(0, 0, 0, .05) 1px 3px),
    conic-gradient(from 230deg, #34383c, #e3e7ea 9%, #61666b 20%, #f4f6f8 31%, #575c61 44%, #2a2d30 55%, #b4b9bd 68%, #3f4347 80%, #dfe3e6 90%, #34383c);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .8), inset 0 0 0 2px rgba(255, 255, 255, .25), inset 0 -6px 12px rgba(0, 0, 0, .4);
}
html[data-motion="on"] .lid { display: block; animation: lid 2.2s .45s var(--ease-io) both; }
@keyframes lid {
  0% { transform: none; opacity: 1; }
  40% { transform: translate(-2%, -6%) scale(1.04) rotate(-4deg); opacity: 1; }
  100% { transform: translate(-46%, -64%) scale(1.3) rotate(-18deg); opacity: 0; }
}

.tin--thai { --s: min(46vw, 260px); }
.tin--thai .katori { --k: 40%; }
.thai-tab { position: relative; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; display: grid; justify-items: center; gap: 18px; transition: transform .6s var(--ease); }
.thai-tab:hover { transform: translateY(-3px); }
.thai-tab .tin { pointer-events: none; }
.thai-tab .katori { pointer-events: none; }
.thai-tab__label { font: 600 12px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--cream-2); padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); transition: background .3s, color .3s; }
.thai-tab[aria-selected="true"] .thai-tab__label { background: var(--ghee); color: #170f04; border-color: var(--ghee); }
.thai-tab[aria-selected="true"] .tin { filter: drop-shadow(0 0 22px rgba(232, 176, 75, .3)); }

/* chapters */
.chapters { position: relative; min-height: 60vh; }
.chap { display: grid; gap: 24px; padding-top: 8px; }
.chap[hidden] { display: none; }
.chap__spice { display: flex; align-items: center; gap: 12px; font: 600 12px/1 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--cream-2); }
.chap__spice .sw { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px rgba(241, 230, 210, .08), 0 0 16px var(--c); }
.chap__h { font-size: clamp(56px, 8vw, 120px); font-weight: 320; letter-spacing: -0.05em; }
.chap__h em { color: var(--ghee); }
.chap__lede { color: var(--cream-2); max-width: 44ch; font-size: 16px; }
.dishes { border-top: 1px solid var(--line); }
.dishes li { display: grid; grid-template-columns: 2.2em 1fr; gap: 0 12px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.dishes .n { font: 500 12px/1 var(--ui); color: var(--mute); font-variant-numeric: tabular-nums; }
.dishes .nm { font-family: var(--display); font-size: clamp(22px, 2.2vw, 28px); font-weight: 380; letter-spacing: -0.02em; line-height: 1.15; font-variation-settings: "SOFT" 100, "WONK" 0; }
.dishes .sub { grid-column: 2; margin-top: 6px; font-size: 14px; color: var(--mute); }
html[data-motion="on"] .chap.is-in .dishes li { animation: rise .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms + .1s); }
html[data-motion="on"] .chap.is-in .chap__h { animation: rise 1.1s var(--ease) both; }
.band { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; isolation: isolate; }
.band .veil { border-radius: inherit; }
.band .cap { position: absolute; left: 14px; bottom: 14px; z-index: 2; }
.chap__more { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.chap__note { font-size: 14px; color: var(--mute); }
.chap .veg { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--ui); color: var(--cardamom); }

/* JS off: every chapter shows, one after another */
html:not(.js) .chap { padding-bottom: 64px; }

/* ==========================================================================
   CHAAT — the counter
   ========================================================================== */
.counter { position: relative; margin-top: 16px; }
.counter__track {
  position: relative; z-index: 1; display: flex; gap: clamp(16px, 2.4vw, 32px); overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--g); overscroll-behavior-x: contain;
  padding: 56px var(--g) 88px; scrollbar-width: thin; scrollbar-color: rgba(232, 176, 75, .5) transparent;
}
.counter__track:focus-visible { outline-offset: -6px; border-radius: 24px; }
.counter__track::-webkit-scrollbar { height: 6px; }
.counter__track::-webkit-scrollbar-thumb { background: rgba(232, 176, 75, .45); border-radius: 6px; }
.counter__slab { /* the long dark counter, lit from above */
  position: absolute; left: 0; right: 0; bottom: 36px; height: 46%; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(232, 176, 75, .5), rgba(232, 176, 75, 0) 2px),
    linear-gradient(to bottom, #1b140d, #0a0806 40%, #050403);
  box-shadow: 0 -1px 0 rgba(241, 230, 210, .18);
}
.counter__slab::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 60px; background: radial-gradient(50% 100% at 50% 0, rgba(232, 176, 75, .1), transparent); }
.counter__item { position: relative; flex: 0 0 auto; width: clamp(196px, 58vw, 250px); scroll-snap-align: start; }
.counter__item::before { /* a pendant light over each plate */
  content: ""; position: absolute; left: 50%; top: -56px; width: 150%; height: 120%; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(40% 60% at 50% 0, rgba(255, 214, 140, .16), transparent 70%);
}
.plate {
  position: relative; display: grid; gap: 14px; text-decoration: none; color: inherit; border-radius: 24px; padding: 0 0 6px;
}
.plate__ph {
  position: relative; border-radius: 160px 160px 22px 22px; overflow: hidden; aspect-ratio: 479 / 599; background: #120d08;
  box-shadow: 0 30px 60px -24px rgba(232, 176, 75, .45), 0 0 0 1px rgba(241, 230, 210, .1);
  transition: transform .8s var(--ease), box-shadow .8s var(--ease);
}
.plate__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 1.2s var(--ease); filter: saturate(.92) brightness(.9); }
.plate__ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(255, 220, 160, .12), transparent 30%, transparent 70%, rgba(5, 4, 3, .45)); }
.plate:hover .plate__ph, .plate:focus-visible .plate__ph { transform: translateY(-8px); box-shadow: 0 40px 70px -24px rgba(232, 176, 75, .7), 0 0 0 1px rgba(232, 176, 75, .5); }
.plate:hover img, .plate:focus-visible img { transform: scale(1.05); filter: saturate(1.05) brightness(1); }
.plate:focus-visible { outline-offset: 6px; }
.plate__no { font: 600 11px/1 var(--ui); letter-spacing: .16em; color: var(--ghee); }
.plate__nm { font-family: var(--display); font-size: 24px; font-weight: 380; letter-spacing: -0.025em; line-height: 1.08; font-variation-settings: "SOFT" 100, "WONK" 1; }
.plate__sub { font-size: 13px; color: var(--mute); line-height: 1.4; }
.counter__ctrl { display: flex; gap: 8px; justify-content: space-between; align-items: center; padding: 0 var(--g); max-width: calc(var(--max) + 2 * var(--g)); margin: 0 auto; }
.counter__ctrl p { font-size: 13px; color: var(--mute); }
@media (max-width: 759px) { .counter__ctrl { justify-content: flex-end; } .counter__ctrl p { display: none; } }
.round { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(5, 4, 3, .6); display: inline-grid; place-items: center; cursor: pointer; transition: border-color .3s, color .3s, transform .4s var(--ease); }
.round:hover { border-color: var(--ghee); color: var(--ghee); }
.round:active { transform: scale(.94); }
.round[disabled] { opacity: .35; cursor: default; }
.ratios { text-align: center; padding: 72px var(--g) 96px; }
.ratios p { font-family: var(--display); font-style: italic; font-size: clamp(32px, 5vw, 64px); font-weight: 320; letter-spacing: -0.035em; color: var(--cream); font-variation-settings: "SOFT" 100, "WONK" 1; }
.ratios small { display: block; margin-top: 16px; font: 400 14px/1.5 var(--ui); color: var(--mute); }
.veg { display: inline-flex; align-items: center; gap: 6px; color: var(--cardamom); }
.veg__mark { width: 12px; height: 12px; border: 1.5px solid currentColor; border-radius: 2px; display: inline-grid; place-items: center; }
.veg__mark::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* ledger: the full detail of every chaat, as text. With JS it opens in the sheet. */
.ledger { max-width: 860px; margin: 0 auto; padding: 32px var(--g) 64px; display: grid; gap: 56px; }
html.js .ledger { display: none; }
.dish { display: grid; gap: 14px; }
.dish__no { font: 600 12px/1 var(--ui); letter-spacing: .14em; color: var(--ghee); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.dish__no .veg { letter-spacing: .02em; font-weight: 500; }
.dish__name { font-family: var(--display); font-size: clamp(36px, 4.6vw, 56px); font-weight: 340; letter-spacing: -0.04em; line-height: .98; font-variation-settings: "SOFT" 100, "WONK" 1; }
.dish__sub { font-size: 14px; color: var(--mute); }
.dish__story { font-size: 16px; line-height: 1.6; color: var(--cream); max-width: 52ch; }
.dish h4 { font: 600 11px/1 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--cream-2); margin-top: 6px; }
.dish__plate li { position: relative; padding: 6px 0 6px 20px; font-size: 15px; color: var(--cream-2); line-height: 1.5; }
.dish__plate li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 8px; height: 1px; background: var(--ghee); }
.dish__allergens { font-size: 14px; color: var(--cream-2); padding-top: 12px; border-top: 1px solid var(--line); }
.dish__allergens b { font-weight: 600; color: var(--cream); margin-right: 8px; }

/* the detail sheet */
.sheet {
  width: min(980px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--line); border-radius: 28px;
  background: radial-gradient(80% 60% at 20% 0, rgba(232, 176, 75, .1), transparent 70%), #0b0806; color: var(--cream); overflow: auto;
  box-shadow: 0 60px 120px rgba(0, 0, 0, .8);
}
.sheet::backdrop { background: rgba(5, 4, 3, .72); }
html[data-motion="on"] .sheet[open] { animation: sheet-in .7s var(--ease) both; }
html[data-motion="on"] .sheet[open]::backdrop { animation: haze-in .5s ease both; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.sheet__in { display: grid; gap: 28px; padding: 24px; }
@media (min-width: 820px) { .sheet__in { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 44px; padding: 36px; align-items: start; } }
.sheet__ph { position: relative; width: 100%; max-width: 380px; justify-self: center; border-radius: 180px 180px 24px 24px; overflow: hidden; aspect-ratio: 479 / 599; background: #120d08; }
@media (max-width: 819px) { .sheet__ph { max-width: 260px; } }
.sheet__ph img { width: 100%; height: 100%; object-fit: cover; }
.sheet__ph .steam { position: absolute; inset: -20%; pointer-events: none; opacity: 0;
  background:
    radial-gradient(30% 22% at 30% 70%, rgba(241, 230, 210, .9), transparent 70%),
    radial-gradient(34% 26% at 66% 56%, rgba(241, 230, 210, .8), transparent 70%),
    radial-gradient(40% 30% at 50% 30%, rgba(232, 176, 75, .5), transparent 70%),
    radial-gradient(60% 50% at 50% 50%, rgba(241, 230, 210, .6), transparent 75%);
  filter: blur(12px);
}
html[data-motion="on"] .sheet.is-steaming .sheet__ph img { animation: emerge 2s var(--ease) both; }
html[data-motion="on"] .sheet.is-steaming .sheet__ph .steam { animation: steam 2.4s var(--ease) both; }
@keyframes emerge { from { filter: blur(16px) brightness(1.5) saturate(.2) contrast(.7); transform: scale(1.08); } }
@keyframes steam { 0% { opacity: 1; transform: translateY(8%) scale(1); } 100% { opacity: 0; transform: translateY(-24%) scale(1.25); } }
.sheet__close { position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; z-index: 3; width: 44px; height: 44px; }
.sheet .dish__name { font-size: clamp(36px, 4.6vw, 52px); }
.sheet__nav { display: flex; gap: 8px; margin-top: 8px; }
.sheet__nav .btn { --h: 40px; font-size: 13px; padding: 0 16px; }

/* ==========================================================================
   TABLE — come to the table
   ========================================================================== */
.phone-block { max-width: calc(var(--max) + 2 * var(--g)); margin: 0 auto; padding: 8px var(--g) 64px; }
.phone {
  display: inline-block; text-decoration: none; font-family: var(--display); font-weight: 300; line-height: .86;
  font-size: clamp(64px, 12.6vw, 196px); letter-spacing: -0.05em; font-variation-settings: "SOFT" 100, "WONK" 1;
  font-variant-numeric: lining-nums; color: var(--cream); transition: color .4s var(--ease); white-space: nowrap;
}
.phone span { display: inline-block; }
.phone .a { color: var(--ghee); font-style: italic; margin-right: .12em; }
.phone:hover { color: #fff; }
.phone:hover .a { color: #F2C266; }
@media (max-width: 759px) { .phone { font-size: 19.5vw; } .phone span { display: block; } }
.phone-block p { margin-top: 20px; font-size: 15px; color: var(--cream-2); }
.tgrid { max-width: calc(var(--max) + 2 * var(--g)); margin: 0 auto; padding: 0 var(--g) 96px; display: grid; gap: 16px; }
@media (min-width: 900px) { .tgrid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; } }
.tcard {
  position: relative; padding: 28px; border-radius: 24px; border: 1px solid var(--line);
  background: linear-gradient(to bottom, rgba(13, 10, 7, .86), rgba(9, 7, 5, .9));
  display: grid; gap: 16px; align-content: start;
}
.tcard h2 { font-size: clamp(34px, 3.4vw, 48px); font-weight: 340; letter-spacing: -0.04em; line-height: 1; }
.tcard h2 em { color: var(--ghee); }
.tcard p { color: var(--cream-2); font-size: 15px; }
@media (min-width: 900px) {
  .tcard--hours { grid-column: span 5; }
  .tcard--where { grid-column: span 7; }
  .tcard--reserve { grid-column: span 12; }
}
@media (min-width: 900px) { .tcard--reserve { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 32px; padding: 40px; } }
.hours { display: grid; gap: 0; border-top: 1px solid var(--line); }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.hours dt { color: var(--cream-2); }
.hours dd { font-variant-numeric: tabular-nums; color: var(--cream); }
.status--long { font-size: 15px; color: var(--cream); }
.addr { font-family: var(--display); font-size: clamp(26px, 2.6vw, 34px); font-weight: 360; line-height: 1.15; letter-spacing: -0.025em; font-style: normal; font-variation-settings: "SOFT" 100, "WONK" 0; }
.gather { max-width: calc(var(--max) + 2 * var(--g)); margin: 0 auto; padding: 32px var(--g) 64px; }
.gather > h2 { font-size: clamp(48px, 7vw, 104px); font-weight: 320; letter-spacing: -0.05em; margin-bottom: 32px; }
.gather > h2 em { color: var(--ghee); }
.gl { border-top: 1px solid var(--line); }
.gl li { display: grid; gap: 10px 32px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: center; }
@media (min-width: 900px) { .gl li { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) auto; } }
.gl h3 { font-family: var(--display); font-size: clamp(30px, 3.2vw, 44px); font-weight: 340; letter-spacing: -0.035em; line-height: 1; font-variation-settings: "SOFT" 100, "WONK" 1; }
.gl h3 small { display: block; margin-top: 8px; font: 500 12px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--ghee); }
.gl p { color: var(--cream-2); font-size: 15px; max-width: 48ch; }
.gl .btn { justify-self: start; }
.extras { max-width: calc(var(--max) + 2 * var(--g)); margin: 0 auto; padding: 0 var(--g) 120px; display: grid; gap: 16px; }
@media (min-width: 900px) { .extras { grid-template-columns: 1fr 1fr; gap: 20px; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.foot { border-top: 1px solid var(--line); background: linear-gradient(to bottom, rgba(5, 4, 3, .4), var(--bg) 40%); }
.foot__in { max-width: calc(var(--max) + 2 * var(--g)); margin: 0 auto; padding: 56px var(--g) 40px; display: grid; gap: 32px; }
@media (min-width: 900px) { .foot__in { grid-template-columns: 1.2fr 1fr 1fr; padding-bottom: 104px; } }
.foot .foot__brand { font-family: var(--display); font-style: italic; font-size: 44px; font-weight: 340; letter-spacing: -0.04em; line-height: 1; font-variation-settings: "SOFT" 100, "WONK" 1; }
.foot .foot__brand + p { margin-top: 12px; color: var(--cream-2); font-size: 14px; max-width: 34ch; }
.foot h2 { font: 600 11px/1 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 14px; }
.foot p, .foot li, .foot address { font-size: 14px; color: var(--cream-2); font-style: normal; line-height: 1.7; }
.foot a { text-decoration-color: rgba(241, 230, 210, .3); text-underline-offset: 3px; }
.foot a:hover { color: var(--ghee); text-decoration-color: currentColor; }
.foot__base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--line); }
.foot__base p { font-size: 12.5px; color: var(--mute); }

/* ==========================================================================
   Reservation panel (from the flagship, restyled as a warm smoked glass)
   ========================================================================== */
.panel { position: fixed; inset: 0; z-index: 120; display: grid; align-items: end; justify-items: center; }
@media (min-width: 760px) { .panel { align-items: center; } }
.panel[hidden] { display: none; }
.panel__scrim { position: absolute; inset: 0; background: rgba(5, 4, 3, .74); opacity: 0; transition: opacity .42s var(--ease); }
.panel__box {
  position: relative; width: min(560px, 100vw); max-height: calc(100dvh - 16px); overflow: auto;
  padding: 24px var(--g) calc(24px + env(safe-area-inset-bottom, 0px));
  border-radius: 28px 28px 0 0; border: 1px solid var(--line-2);
  background: radial-gradient(90% 60% at 10% 0, rgba(232, 176, 75, .16), transparent 70%), radial-gradient(70% 50% at 100% 100%, rgba(226, 98, 43, .12), transparent 70%), #0d0a07;
  box-shadow: 0 -30px 80px rgba(0, 0, 0, .6);
  transform: translateY(40px); opacity: 0; transition: transform .42s var(--ease), opacity .42s var(--ease);
}
@media (min-width: 760px) { .panel__box { border-radius: 28px; padding: 32px 36px; } }
.panel.is-open .panel__scrim { opacity: 1; }
.panel.is-open .panel__box { transform: none; opacity: 1; }
.panel__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.panel__close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: none; display: grid; place-items: center; cursor: pointer; transition: border-color .3s, color .3s; }
.panel__close:hover { border-color: var(--ghee); color: var(--ghee); }
.panel__h { font-size: clamp(40px, 6vw, 56px); font-weight: 330; letter-spacing: -0.045em; line-height: 1; }
.panel__h em { color: var(--ghee); }
.panel__lede { margin: 10px 0 20px; color: var(--cream-2); font-size: 15px; }
.panel__form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f { display: grid; gap: 6px; }
.f--wide { grid-column: 1 / -1; }
.f label { font: 600 11px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--cream-2); }
.f label span { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--mute); }
.f input, .f select, .f textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(5, 4, 3, .7); color: var(--cream); font: 400 16px/1.3 var(--ui); color-scheme: dark;
  transition: border-color .3s, box-shadow .3s;
}
.f textarea { resize: vertical; min-height: 64px; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--ghee); box-shadow: 0 0 0 3px rgba(232, 176, 75, .2); outline: none; }
.f ::placeholder { color: #8a7f6d; }
.panel__big { grid-column: 1 / -1; padding: 12px 14px; border-radius: 14px; background: rgba(226, 98, 43, .14); color: var(--cream); font-size: 14px; }
.panel__summary { margin: 18px 0 14px; font-family: var(--display); font-size: 21px; line-height: 1.3; letter-spacing: -0.015em; color: var(--cream); min-height: 1.3em; }
.panel__acts { display: grid; gap: 10px; }
.panel__acts .btn--gold { --h: 56px; font-size: 16px; }
.panel__alt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.panel__alt[hidden] { display: none; }
.panel__alt .btn { padding: 0 10px; font-size: 14px; }
.panel__fine { margin-top: 14px; font-size: 12.5px; line-height: 1.5; color: var(--mute); }

/* ==========================================================================
   Motion off: nothing moves, nothing is hidden
   ========================================================================== */
html:not([data-motion="on"]) *, html:not([data-motion="on"]) *::before, html:not([data-motion="on"]) *::after {
  animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; scroll-behavior: auto !important;
}
@media print { .atmos, .haze, .nav, .bar { display: none !important; } }

/* Karva logo in the header (gold lettering, background cut out) */
.brand--logo { display: inline-flex; align-items: center; padding: 4px 0; flex: none; }
.brand--logo img { display: block; height: 44px; width: auto; max-width: none; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .55)); }
.brand--logo::after { display: none; }
.brand--logo:hover img { filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .55)) brightness(1.08); }
@media (min-width: 760px) { .brand--logo img { height: 54px; } }

/* Header menu: two groups open as small dropdowns */
.nav__links .dd { position: relative; display: flex; align-items: center; }
.nav__links .dd__btn { all: unset; box-sizing: border-box; display: grid; place-items: center; width: 22px; height: 30px; margin-left: -10px; margin-right: 6px; border-radius: 8px; color: var(--cream-2); cursor: pointer; }
.nav__links .dd__btn svg { width: 11px; height: 11px; transition: transform .3s var(--ease); }
.nav__links .dd__btn:focus-visible { outline: 2px solid var(--ghee); outline-offset: 1px; }
.nav__links .dd__menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 196px; padding: 8px; display: grid; gap: 2px;
  background: rgba(14, 11, 8, .97); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
  opacity: 0; visibility: hidden; translate: 0 6px; transition: opacity .25s, translate .3s var(--ease), visibility 0s .3s;
}
.nav__links .dd__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav__links .dd:hover .dd__menu, .nav__links .dd:focus-within .dd__menu, .nav__links .dd.is-open .dd__menu { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .25s, translate .3s var(--ease), visibility 0s; }
.nav__links .dd:hover .dd__btn svg, .nav__links .dd.is-open .dd__btn svg { transform: rotate(180deg); }
.nav__links .dd__menu a { padding: 11px 12px; border-radius: 9px; color: var(--cream-2); white-space: nowrap; }
.nav__links .dd__menu a:hover, .nav__links .dd__menu a:focus-visible { background: rgba(232, 176, 75, .1); color: var(--cream); }
.nav__links .dd__menu a::after { display: none !important; }
.nav__links .dd__menu a[aria-current="page"] { color: var(--ghee); }
.nav__links .dd.is-current > .dd__top { color: var(--cream); }
.nav__links .dd.is-current > .dd__top::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--ghee); }

/* phone menu: smaller words so every page fits, sub-pages as a row */
.mnav__sheet a.big { font-size: clamp(34px, 10vw, 56px); }
.mnav__sub { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 12px 30px; }
.mnav__sub a { padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 999px; font: 500 14px/1 var(--ui); color: var(--cream-2); text-decoration: none; }
.mnav__sub a[aria-current="page"] { color: var(--ghee); border-color: var(--ghee); }
html[data-motion="on"] .mnav[open] .mnav__sheet .mnav__sub { animation: rise .7s var(--ease) both .12s; }

/* new info pages */
@media (min-width: 900px) { .tgrid--two > .tcard { grid-column: span 6; } }
.tcard__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.tlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 17px; }
.tlist li::before { content: "◆"; color: var(--ghee); font-size: 10px; margin-right: 10px; vertical-align: 2px; }
.nav__links .dd.is-hushed .dd__menu { opacity: 0 !important; visibility: hidden !important; }
/* phones: smaller logo and a compact Motion switch so "Pages" always fits */
@media (max-width: 759px) { .brand--logo img { height: 38px; } .nav__in { gap: 10px; } }
@media (max-width: 459px) { .nav .motion { padding: 0 8px; } .nav .motion > span:not(.motion__track), .nav .motion .ml, .nav .motion b { display: none; } }
