/* Desi Spice & Sweets — digital menu
   Brand: black ground, gold leaf, cream type. Mobile-first: this is read
   one-handed at a table, so every tap target is ≥44px and nothing shifts. */

:root {
  --ink:      #0A0908;
  --ink-2:    #121010;
  --ink-3:    #1A1615;
  --line:     rgba(199, 154, 62, .22);
  --gold-1:   #F3DCA5;
  --gold-2:   #C79A3E;
  --gold-3:   #8C6320;
  --cream:    #F6F1E7;
  --muted:    #A79E92;
  --veg:      #5FB760;
  --nveg:     #C2472F;
  --gold-grad: linear-gradient(135deg, #F3DCA5 0%, #C79A3E 48%, #8C6320 100%);
  --shadow:   0 18px 40px rgba(0,0,0,.55);
  --r:        14px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 16px/1.55 Inter, -apple-system, system-ui, sans-serif;
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--gold-2); color: #1a1205; padding: 10px 14px; border-radius: 8px; }

:where(a, button, input, [tabindex]):focus-visible {
  outline: 2px solid var(--gold-1); outline-offset: 3px; border-radius: 8px;
}

/* ───────────────────────────────────────────── hero */
.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 64px 22px 88px;
  overflow: hidden;
  background: radial-gradient(120% 80% at 50% 0%, #17120C 0%, var(--ink) 62%);
}
.hero-glow {
  position: absolute; inset: -30% -20% auto; height: 80vh;
  background:
    radial-gradient(40% 40% at 30% 40%, rgba(199,154,62,.20), transparent 70%),
    radial-gradient(35% 35% at 72% 28%, rgba(243,220,165,.14), transparent 70%);
  filter: blur(14px);
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(0, 3%, 0) scale(1.08); } }

.hero-inner { position: relative; max-width: 620px; }
.eyebrow {
  margin: 0 0 22px; font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-2);
}
.crest { width: 132px; height: auto; margin: 0 auto 16px; display: block; }
.logo-img { width: min(230px, 62vw); height: auto; margin: 0 auto 6px; display: block; }
.lockup h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.6rem, 11vw, 4.6rem);
  line-height: .98;
  letter-spacing: .01em;
  color: #fff;
}
.lockup .amp { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lockup .sub {
  margin: 12px 0 0; font-size: 11px; letter-spacing: .42em; text-transform: uppercase; color: var(--muted);
}
.tagline {
  margin: 26px auto 0; max-width: 34ch; color: #D9D1C4;
  font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.32rem; font-style: italic;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn-gold { background: var(--gold-grad); color: #1a1205; box-shadow: 0 10px 26px rgba(199,154,62,.26); }
.btn-line { border: 1px solid var(--line); color: var(--gold-1); }
.btn:active { transform: translateY(1px) scale(.99); }
@media (hover: hover) {
  .btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(199,154,62,.34); }
  .btn-line:hover { border-color: var(--gold-2); background: rgba(199,154,62,.08); }
}
.hero-meta { margin-top: 26px; font-size: .9rem; color: var(--muted); }
.hero-meta a { color: var(--gold-1); text-decoration: none; }

.scroll-cue { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; width: 1px; height: 46px; background: linear-gradient(var(--gold-2), transparent); }
.scroll-cue span { position: absolute; top: 0; left: -1.5px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-1); animation: fall 2.4s ease-in-out infinite; }
@keyframes fall { 0% { top: 0; opacity: 0; } 25% { opacity: 1; } 100% { top: 42px; opacity: 0; } }

/* ───────────────────────────────────────────── sticky controls */
.controls {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10,9,8,.92);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  padding: 10px 0 0;
}
/* Phones: search on its own line, then all four chips side by side — no swiping. */
.controls-row { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; padding: 0 14px 10px; }
.search { position: relative; flex: 1 1 100%; min-width: 0; }
.search svg { position: absolute; left: 12px; top: 50%; translate: 0 -50%; width: 17px; height: 17px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; }
.search input {
  width: 100%; height: 44px; padding: 0 38px 0 36px;
  background: var(--ink-3); border: 1px solid var(--line); border-radius: 999px;
  color: var(--cream); font-size: 16px; /* 16px stops iOS zoom-on-focus */
}
.search input::placeholder { color: #7C7469; }
.clear { position: absolute; right: 6px; top: 50%; translate: 0 -50%; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; }
.filters {
  display: flex; gap: 6px; flex: 1 1 100%; min-width: 0;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.filters::-webkit-scrollbar { display: none; }
.chip { scroll-snap-align: start; flex: 0 0 auto; }
.chip {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  flex: 1 1 auto;                 /* share the row evenly, never overflow */
  height: 38px; padding: 0 10px; border-radius: 999px;
  background: transparent; border: 1px solid var(--line); color: #CFC7BA;
  font-size: .82rem; font-weight: 500; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.chip.is-on { background: var(--gold-grad); border-color: transparent; color: #1a1205; font-weight: 700; }
.dot { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }
.dot.veg  { background: var(--veg); box-shadow: 0 0 0 1px var(--veg) inset; }
.dot.nveg { background: var(--nveg); box-shadow: 0 0 0 1px var(--nveg) inset; }

.rail {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding: 0 14px 10px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { display: none; }
.rail a {
  flex: 0 0 auto; scroll-snap-align: start;
  padding: 7px 13px; border-radius: 999px; text-decoration: none;
  font-size: .82rem; color: #BDB5A8; border: 1px solid transparent; white-space: nowrap;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}
.rail a.is-active { color: var(--gold-1); border-color: var(--line); background: rgba(199,154,62,.08); }

/* ───────────────────────────────────────────── sections */
main { padding: 26px 0 108px; }
.sec-head { padding: 0 18px; margin: 0 auto 14px; max-width: 760px; }
.sec-head h2 {
  margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600;
  font-size: clamp(1.6rem, 6.5vw, 2.15rem); color: #fff; letter-spacing: .01em;
}
.sec-head h2::after {
  content: ""; display: block; width: 54px; height: 2px; margin-top: 10px;
  background: var(--gold-grad); border-radius: 2px;
}
.sec-head p { margin: 10px 0 0; color: var(--muted); font-size: .92rem; }

.section { padding: 26px 0 6px; }
.items { max-width: 760px; margin: 14px auto 0; padding: 0 12px; }

.item {
  display: grid; grid-template-columns: 1fr 76px; gap: 14px; align-items: center;
  width: 100%; text-align: left; background: transparent; border: 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 15px 6px; color: inherit; cursor: pointer;
  transition: background-color .18s ease;
}
.item:last-child { border-bottom: 0; }
@media (hover: hover) { .item:hover { background: rgba(199,154,62,.06); } }
.item:active { background: rgba(199,154,62,.1); }
.item-main { min-width: 0; }
.item-top { display: flex; align-items: baseline; gap: 10px; }
.item-name { font-weight: 600; font-size: 1.02rem; color: #fff; }
.item-rule { flex: 1 1 auto; border-bottom: 1px dotted rgba(199,154,62,.35); translate: 0 -4px; }
.item-price { font-weight: 700; color: var(--gold-1); white-space: nowrap; font-variant-numeric: tabular-nums; }
.item-price.ask { font-size: .78rem; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.item-desc {
  margin: 5px 0 0; color: #9E968B; font-size: .88rem; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.item-tags { display: flex; gap: 8px; align-items: center; margin-top: 7px; }
.tag-3d {
  font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
  color: #1a1205; background: var(--gold-grad); padding: 3px 7px; border-radius: 4px;
}
.thumb {
  width: 76px; height: 76px; border-radius: 12px; object-fit: cover;
  background: var(--ink-3); border: 1px solid rgba(255,255,255,.07);
}
.thumb.ph { display: grid; place-items: center; color: var(--gold-3); font-size: 1.4rem; }

/* ───────────────────────────────────────────── chef's picks */
.picks { padding: 6px 0 10px; }
.picks-rail {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 16px 18px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.picks-rail::-webkit-scrollbar { display: none; }
.pick {
  flex: 0 0 76%; max-width: 300px; scroll-snap-align: center;
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  text-align: left; padding: 0; color: inherit; cursor: pointer; box-shadow: var(--shadow);
}
.pick img, .pick .pick-ph { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--ink-3); }
.pick-body { padding: 13px 15px 16px; }
.pick-body h3 { margin: 0; font-size: 1.02rem; color: #fff; font-weight: 600; }
.pick-body p { margin: 5px 0 0; font-size: .82rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pick-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 11px; }

/* ───────────────────────────────────────────── dish sheet */
.sheet {
  width: min(560px, 100%); max-height: 92svh; margin: auto auto 0; padding: 0;
  border: 0; border-radius: 20px 20px 0 0; background: var(--ink-2); color: var(--cream);
  box-shadow: var(--shadow); overflow: hidden;
}
.sheet::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(3px); }
.sheet[open] { animation: rise .26s cubic-bezier(.2,.8,.2,1); }
@keyframes rise { from { transform: translateY(18px); opacity: 0; } }
.sheet-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: rgba(0,0,0,.55); color: #fff; font-size: 22px; line-height: 1; backdrop-filter: blur(6px);
}
.sheet-body { overflow-y: auto; max-height: 92svh; }
.sheet-hero { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--ink-3); }
.sheet-copy { padding: 20px 20px 26px; }
.sheet-copy h3 { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.85rem; font-weight: 600; color: #fff; }
.sheet-price { margin: 8px 0 0; font-size: 1.2rem; font-weight: 700; color: var(--gold-1); }
.sheet-copy p.d { margin: 14px 0 0; color: #CFC7BA; line-height: 1.6; }
.sheet-meta { margin: 16px 0 0; font-size: .8rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
model-viewer { width: 100%; aspect-ratio: 1/1; max-height: 46svh; min-height: 280px; background: radial-gradient(60% 60% at 50% 45%, #1c1713, #0b0a09); --poster-color: transparent; }
.mv-wrap::after {           /* fade so the button never fights the dish */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 96px; pointer-events: none;
  background: linear-gradient(transparent, rgba(10,9,8,.85));
}
.ar-btn {
  position: absolute; bottom: 14px; left: 50%; translate: -50% 0; z-index: 2;
  background: var(--gold-grad); color: #1a1205; border: 0; border-radius: 999px;
  padding: 11px 20px; font-weight: 700; font-size: .88rem; box-shadow: 0 10px 22px rgba(0,0,0,.5);
}
.mv-wrap { position: relative; }

/* ───────────────────────────────────────────── footer + dock */
.empty { text-align: center; color: var(--muted); padding: 50px 20px; }
.empty button { background: none; border: 0; color: var(--gold-1); text-decoration: underline; }

.foot { text-align: center; padding: 44px 20px 130px; border-top: 1px solid var(--line); background: var(--ink-2); }
.foot .rule { width: 200px; height: 8px; margin: 0 auto 18px; fill: none; }
.foot h2 { margin: 0 0 8px; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 1.5rem; color: #fff; }
.foot p { margin: 4px 0; color: var(--muted); font-size: .9rem; }
.foot a { color: var(--gold-1); text-decoration: none; }
.foot .fine { margin-top: 16px; font-size: .76rem; color: #6F6862; }

.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: rgba(10,9,8,.94); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.dock a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 10px 4px 11px; text-decoration: none; color: #CFC7BA; font-size: .72rem; letter-spacing: .04em;
}
.dock svg { width: 21px; height: 21px; fill: none; stroke: var(--gold-2); stroke-width: 1.7; stroke-linejoin: round; }
.dock a:active { background: rgba(199,154,62,.1); }

/* ───────────────────────────────────────────── motion */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal:nth-child(2).in { transition-delay: .06s; }
.reveal:nth-child(3).in { transition-delay: .12s; }
.reveal:nth-child(4).in { transition-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-glow { animation: none; }
}

@media (min-width: 620px) {
  /* Wide enough for search + chips on one line. */
  .controls-row { flex-wrap: nowrap; }
  .filters { flex: 0 0 auto; overflow: visible; }
  .chip { flex: 0 0 auto; padding: 0 13px; }
  .search { flex: 1 1 auto; }
}

@media (min-width: 720px) {
  .items { padding: 0 18px; }
  .item { grid-template-columns: 1fr 96px; padding: 18px 8px; }
  .thumb { width: 96px; height: 96px; }
  .dock { display: none; }
  .foot { padding-bottom: 60px; }
}

/* Desktop: two columns keeps a 300-item menu from becoming a mile-long ribbon. */
@media (min-width: 1024px) {
  .sec-head, .items { max-width: 1060px; }
  .items { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .item { grid-template-columns: 1fr 88px; }
  .picks-rail { max-width: 1060px; margin: 0 auto; padding-inline: 18px; }
  .pick { flex-basis: 300px; }
  .hero { min-height: 88svh; }
  .sheet { border-radius: 20px; margin: auto; }
}

/* ═══════════════════════════════════════════ polish pass ═══════════════════════════════════════ */

/* Hero photo: the dish does the selling. Darkened so type stays AA-legible. */
.hero-photo { position: absolute; inset: 0; overflow: hidden; }
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%;
  opacity: .34; filter: saturate(1.05) contrast(1.02);
  transform: scale(1.06); animation: heroIn 1.6s cubic-bezier(.2,.8,.2,1) both;
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(74% 58% at 50% 42%, transparent 0%, rgba(10,9,8,.72) 62%, var(--ink) 100%),
    linear-gradient(to bottom, rgba(10,9,8,.55) 0%, rgba(10,9,8,.2) 34%, var(--ink) 96%);
}
@keyframes heroIn { from { opacity: 0; transform: scale(1.14); } }

/* Gold sweep across the wordmark — one pass, then it rests. */
.lockup h1 {
  background: linear-gradient(100deg, #fff 0%, #fff 38%, #F7E6BE 48%, #fff 58%, #fff 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sweep 2.6s ease-out .5s 1 both;
}
@keyframes sweep { from { background-position: 180% 0; } to { background-position: 0 0; } }
.lockup .amp { -webkit-text-fill-color: transparent; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; }

/* Film grain — 2% opacity, fixed, never animates. */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Mini header */
.mini {
  position: fixed; top: 0; left: 0; right: 0; z-index: 45;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 16px calc(9px + env(safe-area-inset-top)) 16px;
  background: rgba(10,9,8,.86); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-101%); transition: transform .28s cubic-bezier(.2,.8,.2,1);
}
.mini.show { transform: none; }
.mini-name { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.12rem; color: #fff; text-decoration: none; letter-spacing: .01em; }
.mini-name span { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mini-call { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-1); text-decoration: none; border: 1px solid var(--line); padding: 7px 13px; border-radius: 999px; }
.mini.show ~ .controls { top: var(--mini-h, 54px); }

/* Images fade in instead of snapping */
.thumb, .pick img, .sheet-hero { opacity: 0; transition: opacity .45s ease; }
.thumb.ready, .pick img.ready, .sheet-hero.ready { opacity: 1; }
.thumb.ph { opacity: 1; }

/* Loading skeleton (removed the moment the menu renders) */
.skeleton { max-width: 760px; margin: 20px auto; padding: 0 18px; display: grid; gap: 18px; }
.skeleton span {
  height: 74px; border-radius: 12px;
  background: linear-gradient(100deg, #141110 30%, #1d1917 50%, #141110 70%);
  background-size: 220% 100%; animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { to { background-position: -120% 0; } }

/* Section heads get the same ornament language as the logo */
.sec-head h2::after { width: 46px; }
.section + .section .sec-head { margin-top: 6px; }

/* Rail: count badge reads as a menu index, not a nav bar */
.rail a b { font-weight: 500; opacity: .5; margin-left: 5px; font-size: .74rem; }

/* Rows: gold leader line on press/hover, tighter rhythm */
.item-name { letter-spacing: .005em; }
.item { border-radius: 10px; }
.item:focus-visible { outline-offset: -2px; }

/* Picks: lift + gold edge */
.pick { transition: transform .22s cubic-bezier(.2,.8,.2,1), border-color .22s ease, box-shadow .22s ease; }
@media (hover: hover) { .pick:hover { transform: translateY(-4px); border-color: rgba(199,154,62,.5); box-shadow: 0 22px 46px rgba(0,0,0,.6); } }
.pick:active { transform: translateY(-1px) scale(.995); }

/* Sheet: grip + call CTA */
.sheet-grip { position: absolute; top: 9px; left: 50%; translate: -50% 0; width: 42px; height: 4px; border-radius: 99px; background: rgba(255,255,255,.28); z-index: 3; }
.sheet-cta {
  display: flex; gap: 10px; margin-top: 20px;
}
.sheet-cta a {
  flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .92rem;
}
.sheet-cta .call { background: var(--gold-grad); color: #1a1205; }
.sheet-cta .back { border: 1px solid var(--line); color: var(--gold-1); background: transparent; }

/* Back to top */
.to-top {
  position: fixed; right: 14px; bottom: 76px; z-index: 44;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(10,9,8,.86); color: var(--gold-1); font-size: 1.1rem; backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(8px); transition: opacity .22s ease, transform .22s ease;
}
.to-top.show { opacity: 1; transform: none; }
@media (min-width: 720px) { .to-top { bottom: 24px; } }

@media (prefers-reduced-motion: reduce) {
  .hero-photo img, .lockup h1 { animation: none; }
  .lockup h1 { background-position: 0 0; }
  .skeleton span { animation: none; }
  .thumb, .pick img, .sheet-hero { opacity: 1; }
}

/* ═════════════════════════════════════ art direction pass ═════════════════════════════════════ */

::selection { background: rgba(199,154,62,.35); color: #fff; }

/* Dish names in the serif — it reads as a menu, not a list of products. */
.item-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.22rem; font-weight: 600; letter-spacing: .012em;
}
.item-price { font-size: 1.02rem; }

/* Row cascade — rows are visible by default; the animation is decoration only,
   so a tab that never fires an observer still shows a complete menu. */
.section .items .item.up { animation: rowIn .5s cubic-bezier(.2,.8,.2,1) var(--d, 0ms) both; }
@keyframes rowIn { from { opacity: 0; transform: translateY(10px); } }

/* Sticky section headers: you always know which part of the menu you're in. */
.sec-head {
  position: sticky; top: calc(var(--mini-h, 54px) + 96px); z-index: 12;
  background: var(--ink);
  box-shadow: 0 12px 14px -10px var(--ink);
  padding-block: 12px 14px;
}
.picks .sec-head { position: static; background: none; }

/* Editorial break panels */
.panel {
  position: relative; margin: 46px 0; min-height: 62svh;
  display: grid; align-items: end; overflow: hidden;
  content-visibility: auto; contain-intrinsic-size: 520px;
}
.panel img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .5; transform: scale(1.04);
}
.panel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--ink) 0%, rgba(10,9,8,.15) 32%, rgba(10,9,8,.86) 78%, var(--ink) 100%);
}
.panel-copy { position: relative; z-index: 1; padding: 0 22px 34px; max-width: 700px; margin: 0 auto; }
.panel-kicker {
  margin: 0 0 10px; font-size: 11px; letter-spacing: .34em; text-transform: uppercase;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.panel-line {
  margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500;
  font-size: clamp(1.7rem, 7.4vw, 2.7rem); line-height: 1.12; color: #fff;
}
.panel-note { margin: 12px 0 0; color: #B9B1A4; font-size: .92rem; max-width: 46ch; }

/* Kinetic gold ribbon */
.ribbon {
  overflow: hidden; border-block: 1px solid var(--line); margin: 30px 0 8px;
  background: linear-gradient(90deg, rgba(199,154,62,.06), transparent 50%, rgba(199,154,62,.06));
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ribbon-track {
  display: flex; align-items: center; gap: 26px; padding: 13px 0; width: max-content;
  animation: slide 34s linear infinite;
}
.ribbon-track span {
  font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.28rem; letter-spacing: .04em;
  color: transparent; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
  white-space: nowrap;
}
.ribbon-track i { color: var(--gold-3); font-style: normal; font-size: .7rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Hero elements are transformed by script — keep them on their own layer. */
.hero-photo img, .hero-inner { will-change: transform; }

@media (min-width: 1024px) {
  .panel { min-height: 76svh; }
  .panel-copy { max-width: 1060px; padding-inline: 18px; }
  .sec-head { top: calc(var(--mini-h, 54px) + 92px); }
}

@media (prefers-reduced-motion: reduce) {
  .ribbon-track { animation: none; }
  .section .items .item.up { animation: none; }
  .hero-photo img, .hero-inner { transform: none !important; opacity: 1 !important; }
}

/* Bracketed halves of long dish names become a quiet second line. */
.item-note {
  display: block; margin-top: 2px; font-size: .78rem; color: var(--gold-3);
  letter-spacing: .02em; text-transform: uppercase;
}
.sheet-note { margin: 6px 0 0; color: var(--muted); font-size: .9rem; }

/* Client's own logo in the hero (replaces the drawn ornament). */
.logo-img {
  width: min(300px, 74vw); height: auto; display: block; margin: 0 auto;
  filter: drop-shadow(0 8px 26px rgba(0,0,0,.55));
  animation: heroIn 1.2s cubic-bezier(.2,.8,.2,1) both;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
@media (prefers-reduced-motion: reduce) { .logo-img { animation: none; } }
