/* Saffron & Smoke — Glassmorphism · Knockout Text · Ghost UI */
:root {
  --bg: #120a07;
  --bg2: #1d0f0a;
  --saffron: #f4a300;
  --saffron-2: #ff7a1a;
  --chili: #d7263d;
  --leaf: #3fae6a;
  --text: #fbf3e8;
  --muted: rgba(251, 243, 232, .65);
  --glass: rgba(255, 255, 255, .07);
  --glass-strong: rgba(255, 255, 255, .12);
  --glass-border: rgba(255, 255, 255, .18);
  --radius: 20px;
  --blur: 18px;
  --shadow: 0 20px 50px rgba(0, 0, 0, .45);
  --knock-img: url('https://images.unsplash.com/photo-1585937421612-70a008356fbe?auto=format&fit=crop&w=1600&q=70');
  --hero-img: url('https://images.unsplash.com/photo-1517244683847-7456b63c5969?auto=format&fit=crop&w=2000&q=70');
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 800px at 10% -10%, #3a1a0b 0%, transparent 60%),
              radial-gradient(1000px 700px at 110% 30%, #3b0d14 0%, transparent 55%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  background-color: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* floating colour orbs behind the glass */
.bg-orbs { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-orbs span { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .45; animation: float 18s ease-in-out infinite; }
.bg-orbs span:nth-child(1) { width: 420px; height: 420px; background: var(--saffron); top: 10%; left: -120px; }
.bg-orbs span:nth-child(2) { width: 360px; height: 360px; background: var(--chili); top: 50%; right: -100px; animation-delay: -6s; }
.bg-orbs span:nth-child(3) { width: 300px; height: 300px; background: #7a2bd1; bottom: -80px; left: 40%; animation-delay: -12s; opacity: .25; }
@keyframes float { 50% { transform: translate(60px, -40px) scale(1.1); } }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(var(--blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
  box-shadow: var(--shadow);
}

/* ---------- Ghost UI ---------- */
.ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  font: inherit; font-weight: 500; color: var(--text);
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  padding: .55em 1.2em;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .15s;
  white-space: nowrap;
}
.ghost:hover, .ghost:focus-visible { background: rgba(255, 255, 255, .12); border-color: var(--saffron); outline: none; }
.ghost:active { transform: scale(.97); }
.ghost-lg { padding: .8em 1.8em; font-size: 1.05rem; }
.ghost-alt { border-color: var(--saffron); color: var(--saffron); }
.ghost-alt:hover { background: var(--saffron); color: #1a0d05; }
.ghost.solid { border-color: var(--saffron); }
.ghost.solid:hover { background: linear-gradient(90deg, var(--saffron), var(--saffron-2)); color: #1a0d05; border-color: transparent; }
.chip { padding: .35em .9em; font-size: .88rem; }
.chip input { accent-color: var(--saffron); }
.chip:has(input:checked) { background: rgba(244, 163, 0, .18); border-color: var(--saffron); }

.ghost-input {
  width: 100%;
  font: inherit; color: var(--text);
  background: rgba(255, 255, 255, .04);
  border: 1.5px solid rgba(255, 255, 255, .25);
  border-radius: 12px;
  padding: .7em 1em;
  transition: border-color .2s, background .2s;
}
.ghost-input::placeholder { color: rgba(251, 243, 232, .4); }
.ghost-input:focus { outline: none; border-color: var(--saffron); background: rgba(255, 255, 255, .08); }
select.ghost-input option { background: #241310; color: var(--text); }
input[type="date"].ghost-input { color-scheme: dark; }
.ghost-input.invalid { border-color: var(--chili); }

/* ---------- Knockout text ---------- */
.knockout {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.02em;
  background: var(--knock-img) center/cover, linear-gradient(120deg, var(--saffron), var(--chili));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: pan 30s linear infinite alternate;
}
@keyframes pan { to { background-position: 100% 60%; } }
.knockout-sm { font-size: clamp(3rem, 11vw, 7rem); text-align: center; }
.knockout-md { font-size: clamp(3.5rem, 14vw, 8rem); text-align: center; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 12px; z-index: 50;
  width: min(1200px, 100% - 24px); margin: 12px auto 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem 1.2rem; border-radius: 999px;
}
.brand { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--saffron); }
.brand span { color: var(--text); margin-left: .25em; font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-links a { font-size: .95rem; opacity: .85; position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: var(--saffron); transition: width .25s; }
.nav-links a:hover::after { width: 100%; }
.nav-toggle { display: none; padding: .3em .8em; font-size: 1.2rem; }
.cart-btn { padding: .35em 1em; }
#cartCount { background: var(--saffron); color: #1a0d05; border-radius: 999px; padding: 0 .5em; font-size: .8rem; font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  min-height: calc(100vh - 80px);
  display: grid; place-items: center; text-align: center;
  padding: 4rem 16px 3rem;
  position: relative;
}
.hero::before {
  content: ''; position: absolute; inset: -90px 0 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18, 10, 7, .55), var(--bg2) 95%), var(--hero-img) center/cover;
}
.eyebrow { letter-spacing: .3em; text-transform: uppercase; font-size: .8rem; color: var(--saffron); margin-bottom: 1rem; }
.hero h1.knockout { font-size: clamp(4rem, 19vw, 15rem); }
.hero-amp { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 5vw, 3rem); font-style: italic; margin-top: -.2em; color: var(--text); }
.hero-sub { font-weight: 300; font-size: clamp(1rem, 2.2vw, 1.3rem); max-width: 640px; margin: 1.2rem auto 2rem; color: var(--muted); }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 1rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.stat { padding: 1rem 1.6rem; min-width: 130px; }
.stat b { display: block; font-size: 1.5rem; color: var(--saffron); }
.stat small { color: var(--muted); }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; margin-top: -1rem; }
.feature { padding: 1.6rem; transition: transform .3s; }
.feature:hover { transform: translateY(-6px); }
.feature span { font-size: 2rem; }
.feature h3 { margin: .4rem 0; font-family: 'Playfair Display', serif; }
.feature p { color: var(--muted); font-size: .95rem; }

/* ---------- Sections ---------- */
.section { padding: 6rem 0 2rem; }
.section-lead { text-align: center; color: var(--muted); margin: .8rem auto 2.4rem; max-width: 560px; }

/* ---------- Menu ---------- */
.menu-controls { display: flex; flex-direction: column; gap: 1rem; align-items: center; margin-bottom: 2rem; }
.tabs { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.tabs .ghost[aria-selected="true"] { background: var(--saffron); color: #1a0d05; border-color: var(--saffron); }
.filters { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; align-items: center; }
.filters .ghost-input { width: 220px; border-radius: 999px; padding: .4em 1em; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; }
.dish {
  padding: 1.3rem; display: flex; flex-direction: column; gap: .5rem;
  transition: transform .25s, border-color .25s; animation: pop .35s ease both;
}
.dish:hover { transform: translateY(-4px); border-color: rgba(244, 163, 0, .55); }
@keyframes pop { from { opacity: 0; transform: translateY(12px); } }
.dish-top { display: flex; justify-content: space-between; align-items: flex-start; gap: .6rem; }
.dish-emoji { font-size: 2.2rem; line-height: 1; }
.dish h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; }
.dish p { color: var(--muted); font-size: .88rem; flex: 1; }
.dish-tags { display: flex; gap: .35rem; flex-wrap: wrap; font-size: .72rem; }
.tag { border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: .05em .6em; }
.tag.veg { border-color: var(--leaf); color: #8be0aa; }
.tag.vegan { border-color: #9be15d; color: #c3f59a; }
.tag.hot { border-color: var(--chili); color: #ff8b98; }
.dish-foot { display: flex; justify-content: space-between; align-items: center; margin-top: .4rem; }
.price { font-weight: 600; color: var(--saffron); font-size: 1.1rem; }
.dish-qty { gap: .45rem; border: 1px solid var(--saffron); border-radius: 999px; padding: .15em .25em; background: rgba(244, 163, 0, .12); }
.qty.dish-qty .ghost { width: 1.9em; height: 1.9em; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.dish-qty b { min-width: 1.2em; text-align: center; color: var(--saffron); }
.more-tile {
  font: inherit; color: inherit; text-align: center; cursor: pointer;
  align-items: center; justify-content: center; border-style: dashed; border-color: rgba(244, 163, 0, .45);
}
.more-tile p { flex: 0; }
.more-tile .more-cta { margin-top: .4rem; border-color: var(--saffron); color: var(--saffron); }
.more-tile:hover .more-cta, .more-tile:focus-visible .more-cta { background: var(--saffron); color: #1a0d05; }
.more-tile:focus-visible { outline: 2px solid var(--saffron); outline-offset: 2px; }
.empty { grid-column: 1/-1; text-align: center; color: var(--muted); padding: 2rem; }

/* ---------- Reservation ---------- */
.reserve-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.4rem; align-items: start; }
.form { padding: 2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.form label { display: flex; flex-direction: column; gap: .35rem; font-size: .85rem; color: var(--muted); }
.form .chip { flex-direction: row; color: var(--text); font-size: .9rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.notify { border: none; display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.notify legend { font-size: .85rem; color: var(--muted); margin-bottom: .4rem; width: 100%; }
.form-error { color: #ff8b98; font-size: .88rem; min-height: 1.2em; }
.my-res { padding: 1.6rem; position: sticky; top: 100px; }
.my-res h3 { font-family: 'Playfair Display', serif; margin-bottom: 1rem; }
.res-list { list-style: none; display: flex; flex-direction: column; gap: .7rem; margin-bottom: .8rem; }
.res-list li { border: 1px dashed rgba(255, 255, 255, .25); border-radius: 14px; padding: .8rem 1rem; font-size: .88rem; display: flex; justify-content: space-between; gap: .6rem; align-items: center; }
.res-list li b { color: var(--saffron); }
.res-list .ghost { padding: .2em .7em; font-size: .78rem; }

/* ---------- Newsletter ---------- */
.newsletter { padding: 3rem 2rem; text-align: center; max-width: 820px; margin: 0 auto; }
.newsletter > p { color: var(--muted); margin: 1rem auto 1.6rem; max-width: 520px; }
.news-form { display: flex; gap: .7rem; max-width: 520px; margin: 0 auto; }
.news-form .ghost-input { border-radius: 999px; }
.consent { display: flex; gap: .5rem; justify-content: center; margin-top: .8rem; align-items: center; }
.consent input { accent-color: var(--saffron); }
.voucher {
  margin: 1.8rem auto 0; max-width: 420px; padding: 1.4rem; border-radius: 18px;
  border: 2px dashed var(--saffron); background: rgba(244, 163, 0, .08); animation: pop .4s ease both;
}
.voucher code { display: block; font-size: 1.8rem; font-weight: 600; letter-spacing: .15em; color: var(--saffron); margin: .4rem 0; }

/* ---------- Footer ---------- */
.footer { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; padding: 5rem 0 2rem; }
.foot-card { padding: 1.6rem; }
.foot-card h3 { font-family: 'Playfair Display', serif; color: var(--saffron); margin-bottom: .5rem; }
.foot-card p { color: var(--muted); margin-bottom: .8rem; }
.copy { grid-column: 1/-1; text-align: center; }

/* ---------- Drawer ---------- */
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); z-index: 90;
  border-radius: var(--radius) 0 0 var(--radius);
  background: rgba(30, 16, 11, .78);
  padding: 1.4rem; display: flex; flex-direction: column; gap: 1rem;
  transform: translateX(105%); transition: transform .35s ease;
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-head h3 { font-family: 'Playfair Display', serif; }
.cart-list { list-style: none; flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: .6rem; }
.cart-list li { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; border: 1px solid rgba(255, 255, 255, .15); border-radius: 12px; font-size: .9rem; }
.cart-list li .nm { flex: 1; }
.qty { display: flex; align-items: center; gap: .3rem; }
.qty .ghost { padding: 0 .6em; font-size: .9rem; }
.voucher-apply { display: flex; gap: .5rem; }
.cart-total { display: flex; flex-direction: column; gap: .3rem; font-size: .95rem; }
.cart-total div { display: flex; justify-content: space-between; }
.cart-total .grand { font-weight: 600; font-size: 1.15rem; color: var(--saffron); border-top: 1px solid rgba(255, 255, 255, .2); padding-top: .4rem; }
.scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.show { opacity: 1; pointer-events: auto; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .55); opacity: 0; pointer-events: none; transition: opacity .25s; }
.modal.show { opacity: 1; pointer-events: auto; }
.modal-card { position: relative; width: min(520px, 100%); padding: 2rem; background: rgba(36, 19, 13, .8); max-height: 90vh; overflow-y: auto; }
.modal-x { position: absolute; top: 12px; right: 12px; padding: .2em .7em; }
.modal-card h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--saffron); margin-bottom: .6rem; }
.modal-card .summary { border: 1px dashed rgba(255, 255, 255, .3); border-radius: 14px; padding: 1rem; margin: 1rem 0; font-size: .92rem; }
.modal-card .actions { display: flex; flex-direction: column; gap: .6rem; }
.modal-card .actions .ghost { white-space: normal; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); z-index: 120;
  background: rgba(36, 19, 13, .9); border: 1px solid var(--saffron); color: var(--text);
  padding: .7rem 1.3rem; border-radius: 999px; backdrop-filter: blur(10px);
  transition: transform .3s; max-width: calc(100% - 32px); text-align: center; font-size: .92rem;
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- Liquid-glass tooltip ([data-tip]) ---------- */
.dish:hover, .dish:focus-within { position: relative; z-index: 2; }
[data-tip] { position: relative; }
[data-tip]::after {
  content: attr(data-tip);
  position: absolute; right: 0; bottom: calc(100% + 10px); z-index: 10;
  width: max-content; max-width: 220px; padding: .6em .9em;
  font-size: .85rem; font-weight: 500; line-height: 1.45; white-space: normal; text-align: left;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 40%),
    rgba(30, 15, 9, .70);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 14px;
  backdrop-filter: blur(14px) saturate(180%) brightness(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(180%) brightness(1.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .55),   /* top specular edge */
    inset 0 -1px 0 rgba(255, 255, 255, .08),
    inset 0 0 18px rgba(255, 255, 255, .06),  /* inner glow */
    0 12px 30px rgba(0, 0, 0, .45);
  opacity: 0; transform: translateY(6px) scale(.96); transform-origin: bottom right;
  pointer-events: none;
}
/* show on hover/focus, then fade away after ~2s */
[data-tip]:hover::after, [data-tip]:focus-visible::after { animation: tip 2.2s ease forwards; }
@keyframes tip {
  0%   { opacity: 0; transform: translateY(6px) scale(.96); }
  9%, 85% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-2px); }
}
@media (hover: none) { [data-tip]::after { display: none; } }

/* ---------- Chef's pick ---------- */
.pick {
  display: grid; grid-template-columns: 1fr 240px; gap: 1.6rem 2rem;
  padding: 1.8rem 2rem; margin-bottom: 2.6rem; border-color: rgba(244, 163, 0, .45);
}
.pick-intro { grid-column: 1 / -1; max-width: 60ch; }
.pick-intro h3 { font-family: 'Playfair Display', serif; font-size: 1.7rem; line-height: 1.2; }
.pick-intro p { color: var(--muted); font-size: .92rem; }
.pick-courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.pick-course {
  display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.1rem;
  border: 1px solid var(--glass-border); border-radius: 14px; background: rgba(255, 255, 255, .04);
}
.pick-label { color: var(--saffron); font-size: .82rem; font-weight: 600; }
.pick-emoji { font-size: 2.4rem; line-height: 1.1; }
.pick-course h4 { font-family: 'Playfair Display', serif; font-size: 1.08rem; line-height: 1.25; }
.pick-course p { color: var(--muted); font-size: .82rem; flex: 1; }
.pick-foot { display: flex; justify-content: space-between; align-items: center; margin-top: .3rem; }
.pick-swap { display: flex; gap: .35rem; }
.pick-swap .ghost { width: 2.1rem; height: 2.1rem; padding: 0; font-size: 1.2rem; }
.pick-total {
  display: flex; flex-direction: column; justify-content: center; gap: .6rem;
  padding-left: 2rem; border-left: 1px solid var(--glass-border);
}
.pick-total-label { color: var(--muted); font-size: .9rem; }
.pick-price { display: block; font-size: clamp(3rem, 6vw, 4.2rem); font-variant-numeric: tabular-nums; }
.pick-total .ghost { white-space: normal; text-align: center; }
@media (max-width: 900px) {
  .pick { grid-template-columns: 1fr; }
  .pick-total { padding: 1.4rem 0 0; border-left: 0; border-top: 1px solid var(--glass-border); }
}
@media (max-width: 760px) {
  .pick { padding: 1.3rem; }
  .pick-courses { grid-template-columns: 1fr; gap: .7rem; }
  .pick-course { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: center; }
  .pick-emoji { grid-column: 1; grid-row: 1 / 3; font-size: 2rem; }
  .pick-course p { display: none; }
  .pick-foot { grid-column: 1 / -1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .reserve-wrap { grid-template-columns: 1fr; }
  .my-res { position: static; }
}
@media (max-width: 760px) {
  .nav { border-radius: 22px; flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; width: 100%; flex-direction: column; align-items: stretch; gap: .2rem; padding-top: .8rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .6rem .4rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-links a::after { display: none; }
  .cart-btn { margin-top: .5rem; }
  .row { grid-template-columns: 1fr; }
  .form { padding: 1.4rem; }
  .news-form { flex-direction: column; }
  .filters .ghost-input { width: 100%; }
  .section { padding-top: 4rem; }
  .drawer { border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-tip]:hover::after, [data-tip]:focus-visible::after { opacity: 1; transform: none; }
}

/* ---------- Pre-order summary in reservation form ---------- */
.preorder { border: 1.5px solid var(--saffron); background: rgba(244, 163, 0, .08); border-radius: 14px; padding: .9rem 1rem; font-size: .9rem; }
.preorder.empty-po { border-style: dashed; border-color: rgba(255, 255, 255, .25); background: transparent; color: var(--muted); }
.preorder .link { color: var(--saffron); text-decoration: underline; }
.po-head { display: flex; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }
.po-total { color: var(--saffron); font-weight: 600; }
.po-total small { color: var(--muted); font-weight: 400; }
.preorder ul { list-style: none; margin: .5rem 0 .7rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .2rem 1rem; }
.po-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.preorder.flash { animation: flash 1.2s ease 2; }
@keyframes flash { 50% { box-shadow: 0 0 0 4px rgba(244, 163, 0, .55); background: rgba(244, 163, 0, .2); } }
.tag.alc { border-color: #b78cff; color: #d4bcff; }
