/* =====================================================================
   SPICE OF SOUTH — "Table" theme
   ---------------------------------------------------------------------
   Loaded after styles.css on every page. Re-tunes the design tokens
   (maroon ink, warm cream, temple gold) and adds the homepage pieces:
   preloader, 3D table hero, live order journey, scroll-lit story,
   signatures, menu grid and the giant footer wordmark.
   Everything respects prefers-reduced-motion.
   ===================================================================== */

:root {
  --bg: #1E0805;
  --bg-2: #270C08;
  --card: #2D110C;
  --card-2: #3A1812;
  --ivory: #F5EDE2;
  --text: #EEE3D5;
  --muted: #CDBBA9;
  --muted-2: #9F8A7B;
  --line: rgba(245, 237, 226, .12);
  --line-2: rgba(245, 237, 226, .22);

  --gold: #E4B665;
  --gold-soft: #F1D59D;
  --gold-deep: #B98A3A;
  --maroon: #5B1B12;
  --maroon-2: #7A2618;
  --olive: #23271F;
  --cream: #EFE7DC;
  --cream-2: #E6DCCE;
  --stone: #C8C1B9;

  --display: "Rozha One", "Iowan Old Style", Georgia, serif;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Hind", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --deva: "Tiro Devanagari Hindi", "Hind", serif;

  --nav-h: 84px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

body { font-size: 1.02rem; }
body::before { opacity: .28; }

/* ---------- Type ---------- */
.display, h1 { font-family: var(--display); font-weight: 400; letter-spacing: -.005em; }
h2, h3, h4 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; }
h2 { font-size: clamp(2.3rem, 5vw, 3.7rem); line-height: 1.04; }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.h-display { font-family: var(--display); font-weight: 400; }
em, .accent { font-family: var(--serif); font-style: italic; color: var(--gold); font-weight: 500; }
h1 em, .display em { font-family: var(--display); font-style: normal; color: var(--gold); }
.deva { font-family: var(--deva); font-weight: 400; color: var(--gold); letter-spacing: 0; }
.lead { color: var(--muted); }
.eyebrow { font-family: var(--sans); font-weight: 600; letter-spacing: .24em; font-size: .7rem; }
.eyebrow::before, .eyebrow.center-e::after { background: var(--gold); }
.kicker { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.rule { width: 56px; height: 1px; background: var(--gold); opacity: .7; margin: 26px 0; }

/* ---------- Buttons: temple gold ---------- */
.btn { font-family: var(--sans); font-weight: 600; letter-spacing: .01em; }
.btn-primary { background: var(--gold); color: #2A0D08; box-shadow: 0 10px 30px rgba(228, 182, 101, .28); }
.btn-primary:hover { background: var(--gold-soft); box-shadow: 0 14px 36px rgba(228, 182, 101, .4); }
.btn-ghost { border-color: rgba(245, 237, 226, .35); background: rgba(255, 255, 255, .03); }
.btn-maroon { background: var(--maroon); color: #F7EBDD; }
.btn-maroon:hover { background: var(--maroon-2); }
.btn-line { border: 1px solid currentColor; border-radius: 4px; background: transparent; padding: 14px 22px; }
.add-btn { background: var(--gold); color: #2A0D08; border-color: var(--gold); }
.add-btn:hover { background: var(--gold-soft); border-color: var(--gold-soft); }

/* ---------- Floating pill navigation ---------- */
.nav {
  position: sticky; top: 10px; height: 64px;
  width: min(100% - 20px, 1400px); margin: 10px auto 0;
  border-radius: 999px; border: 1px solid rgba(228, 182, 101, .2);
  background: rgba(36, 11, 7, .78); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .35);
}
.nav-inner { width: 100%; padding: 0 10px 0 12px; }
.brand-mark { width: 46px; height: 46px; object-fit: contain; border-radius: 50%; background: radial-gradient(circle, #3b130c 60%, #2a0d08); border: 1px solid rgba(228, 182, 101, .55); padding: 4px; }
.brand-name { font-family: var(--display); font-weight: 400; font-size: 1.12rem; letter-spacing: .01em; }
.brand-sub { color: var(--muted-2); letter-spacing: .14em; }
.nav-links a { font-size: .86rem; }
.nav-links a.active { background: rgba(228, 182, 101, .14); color: var(--gold-soft); }
.nav-order-btn { background: var(--gold); color: #2A0D08; box-shadow: none; }
@media (max-width: 1160px) {
  .nav-links { top: calc(64px + 10px); border-radius: 22px; }
}

/* ---------- Cream sections: everything re-themes from tokens ---------- */
.section-cream {
  --bg: var(--cream); --bg-2: var(--cream-2);
  --card: #F8F2EA; --card-2: #EDE3D6;
  --ivory: #2A0D08; --text: #3A2520; --muted: #6D584D; --muted-2: #8E796C;
  --line: rgba(42, 13, 8, .12); --line-2: rgba(42, 13, 8, .22);
  --gold: #A9762C;
  background: var(--cream); color: var(--text);
}
.section-cream::before { content: none; }
.section-cream .btn-ghost { color: #2A0D08; border-color: rgba(42, 13, 8, .35); }
.section-cream .btn-ghost:hover { background: rgba(42, 13, 8, .06); border-color: #2A0D08; }
.section-cream .card { background: var(--card); border-color: var(--line); }
.section-cream .chip { color: #3A2520; border-color: rgba(42, 13, 8, .2); background: rgba(255, 255, 255, .5); }
.section-cream .chip.active { background: #2A0D08; color: #F5EDE2; border-color: #2A0D08; }
.section-cream .add-btn { background: var(--maroon); color: #F7EBDD; border-color: var(--maroon); }
.section-cream .add-btn:hover { background: var(--maroon-2); }
.section-cream .qty-stepper { border-color: rgba(42, 13, 8, .25); }
.section-cream .qty-stepper button { color: #2A0D08; }
.section-olive { background: var(--olive); }
.section-ink { background: #170604; }

/* ---------- Inner page header ---------- */
.page-head { padding-top: clamp(56px, 8vw, 96px); }
.page-head h1.display { font-size: clamp(2.6rem, 6.4vw, 4.6rem) !important; }

/* ---------- Cards ---------- */
.card { border-radius: 18px; }
.dish-card { border-radius: 18px; overflow: hidden; }

/* =====================================================================
   PRELOADER (homepage, once per visit)
   ===================================================================== */
.preloader {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; align-content: center; gap: 22px;
  background: #1E0805; transition: opacity .6s ease, visibility .6s ease;
  animation: plAuto 0s linear 3.2s forwards; /* safety: never stuck */
}
.preloader .seal {
  width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: radial-gradient(circle, #4a170e 55%, #2a0d08); border: 2px solid var(--gold);
  box-shadow: 0 0 0 6px rgba(228, 182, 101, .12), 0 20px 60px rgba(0, 0, 0, .5);
}
.preloader .seal img { width: 80px; height: auto; }
.preloader .seal::after {
  content: ""; position: absolute; inset: -12px; border-radius: 50%;
  border: 1px solid transparent; border-top-color: var(--gold); animation: spin 1.1s linear infinite;
}
.preloader p { font-family: var(--deva); color: var(--gold-soft); font-size: 1.15rem; opacity: 0; animation: fadeUp .6s .25s var(--ease) forwards; }
.preloader.done { opacity: 0; visibility: hidden; }
html.no-preload .preloader { display: none; }
@keyframes plAuto { to { opacity: 0; visibility: hidden; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* =====================================================================
   3D TABLE HERO — dishes slide in and "set the table" as you scroll
   ===================================================================== */
.table-hero { position: relative; height: 240vh; margin-top: calc(-1 * var(--nav-h)); }
.th-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; perspective: 1400px; perspective-origin: 50% 30%; }
.th-table {
  position: absolute; inset: -6%; transform-origin: 50% 60%;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(255, 252, 247, .55), transparent 62%),
    radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(60, 30, 20, .45) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E"),
    linear-gradient(160deg, #D3CCC4, #BFB7AE 60%, #ADA49A);
  will-change: transform;
}
.th-dish {
  position: absolute; left: 0; top: 0; width: var(--w); transform-origin: 50% 50%;
  will-change: transform; cursor: pointer; border: 0; padding: 0; background: none;
  filter: drop-shadow(0 18px 18px rgba(40, 20, 10, .28));
  transition: filter .25s ease;
}
.th-dish img { width: 100%; height: auto; display: block; pointer-events: none; user-select: none; }
.th-dish:hover, .th-dish:focus-visible { filter: drop-shadow(0 26px 26px rgba(40, 20, 10, .38)) brightness(1.04); outline: none; }
.th-dish.added::after {
  content: "✓"; position: absolute; top: 8%; right: 8%; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--maroon); color: #fff; font-weight: 700;
  animation: pop .35s var(--ease);
}
@keyframes pop { from { transform: scale(.3); opacity: 0; } }

.th-copy {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; text-align: center;
  padding: 120px 24px 80px; pointer-events: none; z-index: 5;
}
.th-copy > * { pointer-events: auto; }
.th-copy .veil { position: absolute; inset: 14% 12%; background: radial-gradient(ellipse, rgba(30, 10, 6, .62), rgba(30, 10, 6, .28) 50%, transparent 70%); z-index: -1; filter: blur(18px); pointer-events: none; }
.th-copy .deva { font-size: clamp(1.05rem, 2vw, 1.35rem); margin-bottom: 8px; }
.th-copy h1 { font-size: clamp(2.5rem, 6.6vw, 5.4rem); line-height: 1.02; color: #FFF7EC; text-shadow: 0 6px 30px rgba(0, 0, 0, .45); max-width: 14ch; margin-inline: auto; }
.th-copy p.lead { color: #F3E6D6; max-width: 56ch; margin: 18px auto 0; text-shadow: 0 2px 14px rgba(0, 0, 0, .6); font-size: clamp(.98rem, 1.5vw, 1.12rem); }
.th-copy .btn-row { justify-content: center; margin-top: 26px; }
.th-copy .btn-ghost { color: #FFF7EC; border-color: rgba(255, 247, 236, .55); background: rgba(30, 10, 6, .35); backdrop-filter: blur(6px); }
.th-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: center; margin-top: 22px; font-size: .84rem; color: #F3E6D6; }
.th-meta .open-badge { background: rgba(30, 10, 6, .55); }
.th-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 6; text-align: center; font-size: .74rem; color: #3A2520; letter-spacing: .06em; }
.th-hint::after { content: ""; display: block; width: 1px; height: 34px; margin: 8px auto 0; background: linear-gradient(#3A2520, transparent); animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0%, 100% { transform: scaleY(.4); transform-origin: top; opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }
.th-end {
  position: absolute; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 7; opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 22px; border-radius: 999px;
  background: rgba(36, 11, 7, .88); color: #F5EDE2; font-size: .9rem; box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
  transition: opacity .35s ease, transform .35s var(--ease); white-space: nowrap;
}
.th-end.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.th-pop {
  position: absolute; z-index: 20; width: 240px; padding: 14px 16px; border-radius: 16px;
  background: #FBF6EF; color: #2A0D08; box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  transform: translate(-50%, calc(-100% - 14px)); animation: fadeIn .22s ease;
}
@keyframes fadeIn { from { opacity: 0; } }
.th-pop h4 { font-family: var(--serif); font-size: 1.25rem; color: #2A0D08; line-height: 1.15; }
.th-pop p { font-size: .8rem; color: #6D584D; margin: 4px 0 10px; }
.th-pop .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.th-pop .price { font-weight: 700; }
.th-pop .size-chips { margin-bottom: 8px; }
.th-pop .size-chip { color: #2A0D08; border-color: rgba(42, 13, 8, .25); }
.th-pop .size-chip.active { background: #2A0D08; color: #fff; }
.th-pop .x { position: absolute; top: 6px; right: 8px; font-size: 1.1rem; color: #8E796C; background: none; border: 0; cursor: pointer; }

/* =====================================================================
   LIVE ORDER JOURNEY — order → kitchen → cooked fresh → packed → served
   ===================================================================== */
.journey-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
@media (max-width: 900px) { .journey-grid { grid-template-columns: 1fr; } }
.jr-live { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--gold-soft); padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(228, 182, 101, .3); }
.jr-live i { width: 8px; height: 8px; border-radius: 50%; background: #5BE38F; box-shadow: 0 0 0 0 rgba(91, 227, 143, .6); animation: live 1.6s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 10px rgba(91, 227, 143, 0); } 100% { box-shadow: 0 0 0 0 rgba(91, 227, 143, 0); } }
.jr-stage {
  position: relative; aspect-ratio: 4 / 3; border-radius: 26px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 35%, #4A1A10, #2A0D08 70%);
  border: 1px solid rgba(228, 182, 101, .2); box-shadow: 0 30px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.jr-scene { position: absolute; inset: 0; opacity: 0; transform: scale(.96); transition: opacity .6s ease, transform .8s var(--ease); }
.jr-scene.on { opacity: 1; transform: none; }
.jr-scene svg { width: 100%; height: 100%; display: block; }
.jr-caption { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; justify-content: space-between; align-items: end; gap: 12px; z-index: 3; }
.jr-caption b { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: #FFF4E6; display: block; line-height: 1.1; }
.jr-caption span { font-size: .8rem; color: #D9C6B2; }
.jr-caption .t { font-variant-numeric: tabular-nums; font-size: .74rem; color: var(--gold-soft); padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .35); white-space: nowrap; }
.jr-steps { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; position: relative; }
.jr-steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 21px; height: 2px; background: rgba(245, 237, 226, .14); }
.jr-steps::after { content: ""; position: absolute; left: 10%; top: 21px; height: 2px; width: calc(80% * var(--p, 0)); background: linear-gradient(90deg, var(--gold), #F1D59D); transition: width .6s var(--ease); }
.jr-steps li { position: relative; text-align: center; font-size: .76rem; color: var(--muted-2); cursor: pointer; }
.jr-steps li .ic { width: 44px; height: 44px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; background: #2A0D08; border: 1px solid rgba(245, 237, 226, .18); font-size: 1.1rem; position: relative; z-index: 1; transition: .3s; }
.jr-steps li.done .ic { border-color: var(--gold); background: #3A1510; }
.jr-steps li.now .ic { background: var(--gold); color: #2A0D08; border-color: var(--gold); transform: scale(1.12); box-shadow: 0 0 0 6px rgba(228, 182, 101, .18); }
.jr-steps li.now { color: var(--ivory); }
@media (max-width: 520px) { .jr-steps li span { font-size: .66rem; } .jr-steps li .ic { width: 36px; height: 36px; } .jr-steps::before, .jr-steps::after { top: 17px; } }

/* SVG scene animation helpers (transform-box keeps transforms local) */
.jr-scene * { transform-box: fill-box; }
.a-float { animation: aFloat 3s ease-in-out infinite; transform-origin: center; }
.a-ping { animation: aPing 1.8s ease-out infinite; transform-origin: center; }
.a-ping.d2 { animation-delay: .6s; } .a-ping.d3 { animation-delay: 1.2s; }
.a-print { animation: aPrint 2.4s var(--ease) infinite; transform-origin: top; }
.a-slide { animation: aSlide 2.6s var(--ease) infinite; }
.a-ring { animation: aRing 1.2s ease-in-out infinite; transform-origin: 50% 0; }
.a-flame { animation: aFlame .5s ease-in-out infinite alternate; transform-origin: 50% 100%; }
.a-flame.d2 { animation-duration: .65s; }
.a-spread { animation: aSpread 3.6s var(--ease) infinite; transform-origin: center; }
.a-steam { animation: aSteam 2.4s ease-in infinite; opacity: 0; }
.a-steam.d2 { animation-delay: .8s; } .a-steam.d3 { animation-delay: 1.6s; }
.a-ladle { animation: aLadle 3.6s ease-in-out infinite; transform-origin: 90% 10%; }
.a-lid { animation: aLid 3s var(--ease) infinite; transform-origin: 0% 100%; }
.a-seal { animation: aSeal 3s var(--ease) infinite; transform-origin: center; }
.a-ride { animation: aRide 4s linear infinite; }
.a-wheel { animation: spin .5s linear infinite; transform-origin: center; }
.a-road { animation: aRoad .6s linear infinite; }
.a-bob { animation: aBob .4s ease-in-out infinite alternate; }
.a-wave { animation: aWave 1s ease-in-out infinite alternate; transform-origin: 50% 100%; }
@keyframes aFloat { 50% { transform: translateY(-6px); } }
@keyframes aPing { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }
@keyframes aPrint { 0% { transform: scaleY(0); } 45%, 100% { transform: scaleY(1); } }
@keyframes aSlide { 0% { transform: translateX(-120px); opacity: 0; } 30%, 80% { transform: none; opacity: 1; } 100% { transform: translateX(60px); opacity: 0; } }
@keyframes aRing { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(14deg); } 75% { transform: rotate(-14deg); } }
@keyframes aFlame { from { transform: scaleY(.85) scaleX(1.05); } to { transform: scaleY(1.12) scaleX(.95); } }
@keyframes aSpread { 0% { transform: scale(.15); opacity: .6; } 55%, 85% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@keyframes aSteam { 0% { opacity: 0; transform: translateY(8px); } 30% { opacity: .7; } 100% { opacity: 0; transform: translateY(-34px); } }
@keyframes aLadle { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-22deg); } }
@keyframes aLid { 0%, 15% { transform: rotate(-110deg); } 50%, 100% { transform: rotate(0); } }
@keyframes aSeal { 0%, 55% { transform: scale(0); opacity: 0; } 70% { transform: scale(1.2); opacity: 1; } 80%, 100% { transform: scale(1); opacity: 1; } }
@keyframes aRide { from { transform: translateX(-60%); } to { transform: translateX(160%); } }
@keyframes aRoad { to { transform: translateX(-40px); } }
@keyframes aBob { to { transform: translateY(-2px); } }
@keyframes aWave { from { transform: rotate(-12deg); } to { transform: rotate(16deg); } }

/* =====================================================================
   CHEF'S PICKS (cream) — editorial cards
   ===================================================================== */
.picks-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.picks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
@media (max-width: 1000px) { .picks { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }
@media (max-width: 520px) { .picks { grid-auto-flow: column; grid-auto-columns: 72%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; } .picks > * { scroll-snap-align: start; } }
.pick { display: flex; flex-direction: column; }
.pick .ph { aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; background: var(--stone); position: relative; }
.pick .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pick:hover .ph img { transform: scale(1.06); }
.pick .n { position: absolute; top: 10px; left: 12px; font-size: .7rem; color: #fff; letter-spacing: .1em; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.pick .k { margin-top: 14px; }
.pick h3 { font-size: 1.55rem; line-height: 1.08; margin-top: 6px; color: #2A0D08; flex: 1; }
.pick .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(42, 13, 8, .22); font-size: .82rem; color: #3A2520; }
.pick .plus { width: 30px; height: 30px; border: 1px solid #2A0D08; display: grid; place-items: center; background: none; color: #2A0D08; cursor: pointer; transition: .2s; font-size: 1.1rem; }
.pick .plus:hover, .pick .plus.on { background: #2A0D08; color: #F5EDE2; }

/* Olive quote band */
.quote-band { text-align: center; padding: clamp(60px, 9vw, 110px) 0; }
.quote-band h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); color: #F5EDE2; }
.quote-band a { font-size: .82rem; color: var(--gold-soft); border-bottom: 1px solid rgba(241, 213, 157, .4); }

/* =====================================================================
   STORY — words light up as you scroll
   ===================================================================== */
.story-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(30px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; } }
.lit-text { font-family: var(--sans); font-size: clamp(1.45rem, 3vw, 2.25rem); line-height: 1.32; font-weight: 500; color: #F5EDE2; }
.lit-text .w { opacity: .22; transition: opacity .25s linear; }
.lit-text .w.on { opacity: 1; }
.lit-text .hl.on { color: var(--gold-soft); }
.round-photo { aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 1px solid rgba(228, 182, 101, .3); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.round-photo img { width: 100%; height: 100%; object-fit: cover; }
.tagline-deva { font-family: var(--deva); color: var(--gold); font-size: clamp(2rem, 5.6vw, 4.2rem); line-height: 1.25; margin-top: clamp(60px, 9vw, 110px); }
.tagline-en { color: var(--muted); font-size: .92rem; margin-top: 6px; }
.feature-row { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(228, 182, 101, .25); font-size: .86rem; color: var(--muted); }
.feature-row span { display: inline-flex; gap: 8px; align-items: center; }
.feature-row svg { width: 16px; height: 16px; color: var(--gold); }

/* =====================================================================
   SIGNATURES — sticky photo card, scrolling story
   ===================================================================== */
.sig-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); margin-top: 40px; }
.sig-list > article { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 30px 0; }
.sig-list .origin { display: inline-flex; gap: 8px; align-items: center; font-size: .86rem; color: var(--muted); }
.sig-list .origin svg { width: 15px; height: 15px; color: var(--gold); }
.sig-list h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.08; margin: 10px 0 12px; color: #F5EDE2; }
.sig-list p { max-width: 46ch; }
.sig-buy { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.sig-buy .price { font-weight: 700; color: #F5EDE2; display: inline-flex; gap: 8px; align-items: center; }
.sig-buy .veg-dot { width: 13px; height: 13px; }
.sig-card { position: sticky; top: calc(var(--nav-h) + 20px); height: min(76vh, 640px); border-radius: 26px; overflow: hidden; background: #C9C2BA; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.sig-card .bars { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; gap: 6px; z-index: 3; }
.sig-card .bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .35); }
.sig-card .bars i.on { background: #fff; }
.sig-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s ease, transform 1.2s var(--ease); }
.sig-card img.on { opacity: 1; transform: none; }
.sig-map { position: absolute; right: 16px; bottom: 16px; z-index: 3; width: 190px; padding: 14px; border-radius: 16px; background: rgba(36, 11, 7, .82); backdrop-filter: blur(8px); color: #F5EDE2; font-size: .78rem; }
.sig-map svg { width: 92px; height: 101px; display: block; margin: 0 auto 8px; }
.sig-map b { display: block; font-size: .84rem; }
.sig-map span { color: #CDBBA9; }
@media (max-width: 860px) {
  .sig-wrap { grid-template-columns: 1fr; }
  .sig-card { display: none; }
  .sig-list > article { min-height: 0; padding: 0 0 46px; }
  .sig-list .m-photo { display: block !important; border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; margin-bottom: 16px; }
  .sig-list .m-photo img { width: 100%; height: 100%; object-fit: cover; }
}

/* =====================================================================
   POPULAR MENU (cream) — floating filter bar + photo cards
   ===================================================================== */
.menu-float {
  position: sticky; top: calc(var(--nav-h) + 8px); z-index: 30; margin: 30px 0 26px;
  padding: 10px; border-radius: 22px; background: rgba(248, 242, 234, .86); backdrop-filter: blur(14px);
  border: 1px solid rgba(42, 13, 8, .1); box-shadow: 0 14px 40px rgba(42, 13, 8, .12);
  display: grid; gap: 10px;
}
.menu-float .menu-search { background: #fff; border-color: rgba(42, 13, 8, .12); }
.menu-float .menu-search input { color: #2A0D08; }
.menu-float .chips { flex-wrap: nowrap; }
.menu-float .chip sup { font-size: .62rem; opacity: .65; margin-left: 2px; }
.pop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.pop-card { background: #F8F2EA; border-radius: 20px; overflow: hidden; border: 1px solid rgba(42, 13, 8, .08); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.pop-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(42, 13, 8, .14); }
.pop-card .ph { aspect-ratio: 4 / 3; background: var(--stone); }
.pop-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.pop-card .b { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pop-card h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; color: #2A0D08; display: flex; gap: 8px; align-items: center; line-height: 1.3; }
.pop-card .row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; gap: 10px; }
.pop-card .price { font-weight: 700; color: #2A0D08; }
.pop-card .size-chips { gap: 6px; }
.pop-card .size-chip { color: #3A2520; border-color: rgba(42, 13, 8, .22); }
.pop-card .size-chip.active { background: #2A0D08; color: #fff; border-color: #2A0D08; }

/* =====================================================================
   GOOD TO KNOW — two-column FAQ on cream
   ===================================================================== */
.gtk { display: grid; grid-template-columns: minmax(0, .45fr) minmax(0, 1fr); gap: 40px; }
@media (max-width: 860px) { .gtk { grid-template-columns: 1fr; } }
.gtk h2 { font-family: var(--display); font-weight: 400; color: #2A0D08; position: sticky; top: calc(var(--nav-h) + 30px); align-self: start; }
.section-cream .faq-item { border-color: rgba(42, 13, 8, .14); background: transparent; }
.section-cream .faq-q { color: #2A0D08; }

/* =====================================================================
   FOOTER — giant wordmark + credit
   ===================================================================== */
.footer { background: #1A0704; position: relative; overflow: hidden; padding-bottom: 0; }
.footer-word {
  font-family: var(--display); font-size: clamp(4rem, 15vw, 15rem); line-height: .85; white-space: nowrap;
  color: rgba(245, 237, 226, .06); text-align: center; margin: 40px 0 -0.08em; user-select: none; pointer-events: none;
}
.footer-bottom { position: relative; z-index: 1; }
.credit { color: var(--muted-2); }
.credit a { color: var(--gold-soft); }

/* =====================================================================
   Generic motion
   ===================================================================== */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.tilt { transform-style: preserve-3d; transition: transform .25s ease; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .table-hero { height: auto; }
  .th-stage { position: relative; height: auto; min-height: 100vh; }
  .jr-scene *, .a-float, .a-ride, .a-spread { animation: none !important; }
  .lit-text .w { opacity: 1; }
  .preloader { display: none; }
}
body:has(.cart-fab.show) .th-end { bottom: 96px; }
@media (min-width: 1161px) { body:has(.cart-fab.show) .th-end { bottom: 28px; } }
@media (max-width: 1160px) {
  body:has(.cart-fab.show) .th-end { bottom: 150px; }
  .th-end { font-size: .8rem; padding-left: 16px; white-space: normal; width: max-content; max-width: calc(100% - 24px); }
}
@media (max-width: 760px) { .th-end { bottom: 92px; } }

/* =====================================================================
   AI CONCIERGE (chat)
   ===================================================================== */
.bot-fab { background: var(--gold); color: #2A0D08; box-shadow: 0 12px 34px rgba(228, 182, 101, .45); }
.bot-fab:hover { background: var(--gold-soft); }
.bot-fab .ping { border-color: var(--gold); }
.bot-panel { background: #1C0805; border-color: rgba(228, 182, 101, .25); }
.bot-head { background: linear-gradient(180deg, rgba(228, 182, 101, .14), transparent); }
.bot-avatar { background: linear-gradient(135deg, var(--gold), #B98A3A); }
.bot-avatar svg { color: #2A0D08; }
.bot-head-txt h4 { font-family: var(--sans); }
.bot-head-txt span { color: #CDBBA9; }
.msg.user { background: var(--maroon-2); }
.bot-send { background: var(--gold); color: #2A0D08; }
.bot-send:hover { background: var(--gold-soft); }
.bot-quick button:hover { border-color: var(--gold); color: var(--gold-soft); }
.bot-dishes { display: grid; gap: 8px; margin-top: 10px; white-space: normal; }
.bot-dish { display: grid; grid-template-columns: 46px 1fr auto; gap: 10px; align-items: center; padding: 6px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.bot-dish img, .bot-dish .noimg { width: 46px; height: 46px; border-radius: 9px; object-fit: cover; display: grid; place-items: center; background: #2A0D08; }
.bot-dish b { display: block; font-size: .82rem; color: #F5EDE2; font-weight: 600; line-height: 1.25; }
.bot-dish span { font-size: .74rem; color: #CDBBA9; }
.bot-dish button { font-size: .74rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--gold); color: #2A0D08; }
.bot-dish button.on { background: #2E7D5B; color: #fff; }
.bot-cart, .bot-added { margin-top: 8px; font-size: .8rem; white-space: normal; }
.bot-added { color: #6FD9A6; }
.bot-cart a, .bot-cta { color: var(--gold); font-weight: 600; margin-left: 6px; }
.bot-cta { display: inline-block; margin: 8px 0 0; }
.bot-live-cart { padding: 8px 12px; }
.bot-live-cart .bot-cart { margin: 0; }
.bot-nudge {
  position: fixed; right: 20px; bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 939;
  max-width: 250px; padding: 12px 34px 12px 16px; border-radius: 16px 16px 4px 16px; text-align: left;
  background: #FBF6EF; color: #2A0D08; font-size: .86rem; font-weight: 500; box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
  animation: fadeUp .4s var(--ease); cursor: pointer;
}
.bot-nudge span { position: absolute; top: 6px; right: 10px; color: #8E796C; font-size: 1rem; }
@media (max-width: 1160px) { .bot-nudge { bottom: calc(150px + env(safe-area-inset-bottom)); } }

/* =====================================================================
   PHONES — room to see what you're typing
   ===================================================================== */
/* The closed mobile menu must never peek out (it did when the keyboard shrank the screen) */
@media (max-width: 1160px) {
  .nav-links {
    top: calc(var(--nav-h) - 4px); background: #1E0805; border: 1px solid rgba(228, 182, 101, .18);
    margin: 0 8px; border-radius: 22px;
    visibility: hidden; transform: translateY(calc(-100% - var(--nav-h) - 40px));
    transition: transform .3s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .3s;
  }
  .nav-links.open { visibility: visible; transform: none; transition: transform .3s cubic-bezier(.4, 0, .2, 1); }
}

/* Compact bars on phones */
@media (max-width: 760px) {
  :root { --nav-h: 70px; }
  .nav { height: 54px; top: 8px; margin-top: 8px; width: calc(100% - 16px); }
  .brand-mark { width: 38px; height: 38px; padding: 3px; }
  .brand-name { font-size: 1rem; }
  .nav-actions { gap: 6px; }
  .menu-toolbar { padding: 8px 0; }
  .toolbar-row { gap: 8px; }
  .menu-search { padding: 7px 14px; min-width: 0; }
  .chip { padding: 6px 12px; font-size: .8rem; }
  /* 16px stops iPhones from zooming in when a field is tapped */
  input, select, textarea, .menu-search input, .field input, .field select, .field textarea { font-size: 16px !important; }
  .field input, .field select, .field textarea { padding: 11px 13px; }
  /* Order page: the cart bar already sits at the bottom — no Call/WhatsApp/Book bar under it */
  body[data-page="order"] .action-bar, body[data-page="track"] .action-bar { display: none; }
  body[data-page="order"], body[data-page="track"] { padding-bottom: 0; }
  body[data-page="order"] .cart-fab { bottom: calc(14px + env(safe-area-inset-bottom)); }
  body[data-page="order"] .bot-fab, body[data-page="track"] .bot-fab { bottom: calc(14px + env(safe-area-inset-bottom)); }
}

/* While typing on a phone or tablet: hide every floating bar so the field stays visible */
@media (max-width: 1160px) {
  body.kb-open .cart-fab, body.kb-open .bot-fab, body.kb-open .bot-nudge,
  body.kb-open .action-bar, body.kb-open .cart-toast { display: none !important; }
  body.kb-open { padding-bottom: 0 !important; }
  body.kb-open .nav { position: relative; top: 0; }
  body.kb-open .menu-toolbar { position: relative; top: 0; }
  body.kb-open .menu-toolbar:focus-within { position: sticky; top: 0; }
  body.kb-open .menu-float:not(:focus-within) { position: relative; top: 0; }
}
