@font-face {
  font-family: "Serif Display";
  src: local("Georgia");
}

:root {
  color-scheme: dark;
  --ink: #000;
  --panel: #000;
  --wine: #211719;
  --cream: #f5edda;
  --sand: #ded1b8;
  --dim: #a79f91;
  --accent: #4f3932;
  --line: #302a27;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  min-height: 100%;
  background: var(--ink);
  color: var(--cream);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}
button { font: inherit; }
.modal-open { overflow: hidden; }

.offers {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  align-items: end;
  min-height: 100dvh;
  background: #191313;
  transition: opacity .45s ease, visibility .45s ease;
}
.offers.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.offer-photo, .offer-shade { position: absolute; inset: 0; }
.offer-photo {
  background: url("/assets/photo-1546964124-0cce460f38ef.jpg") center/cover no-repeat;
  transform: scale(1.01);
}
.offer-shade {
  background: linear-gradient(180deg, rgba(14,10,9,.15), rgba(14,10,9,.28) 38%, #181313 76%);
}
.offer-content {
  position: relative;
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 34px 24px max(28px, env(safe-area-inset-bottom));
}
.eyebrow, .detail-body > small {
  margin: 0 0 10px;
  color: #d7c7aa;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .22em;
}
.offer-content h1 {
  max-width: 420px;
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(44px, 12vw, 72px);
  font-weight: 400;
  line-height: .94;
}
.offer-copy {
  max-width: 400px;
  margin: 18px 0 22px;
  color: #dacbb7;
  font-size: 15px;
  line-height: 1.6;
}
.offer-code {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px 17px;
  border: 1px solid rgba(231,199,161,.27);
  border-radius: 12px;
  background: rgba(56,31,34,.68);
}
.offer-code span, .served small {
  color: var(--dim);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .18em;
}
.offer-code strong { color: var(--sand); font-size: 13px; letter-spacing: .04em; }
.primary-button {
  width: 100%;
  margin-top: 16px;
  padding: 16px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 750;
  cursor: pointer;
}
.primary-button span { float: right; }
.fine-print { margin: 11px 0 0; text-align: center; color: #756a5e; font-size: 10px; }

.shell {
  width: min(100%, 680px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--panel);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hero {
  position: relative;
  display: flex;
  min-height: clamp(390px, 56svh, 540px);
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
  overflow: hidden;
  padding: 40px 20px 24px;
  isolation: isolate;
  background: #171211;
}
.hero-background, .hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-background {
  z-index: -2;
  display: block;
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}
.hero-background[hidden] { display: none; }
.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(15,10,9,.08) 0%, rgba(15,10,9,.16) 42%, rgba(15,10,9,.9) 100%),
    linear-gradient(90deg, rgba(15,10,9,.22), transparent 45%, rgba(15,10,9,.18));
}
.hero-corner-logo {
  position: absolute;
  z-index: 2;
  top: max(18px, env(safe-area-inset-top));
  left: 18px;
  display: block;
  width: clamp(72px, 20vw, 96px);
  height: auto;
  filter: drop-shadow(0 5px 18px rgba(0,0,0,.55));
}
.brand { position: relative; z-index: 1; text-align: center; }
.brand-orbit {
  width: min(66vw, 250px);
  margin: 0 auto;
}
.brand-orbit img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  object-fit: contain;
  filter: contrast(1.08) drop-shadow(0 8px 24px rgba(0,0,0,.45));
  mix-blend-mode: screen;
}
.period-picker {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 20px 2px;
}
.period-picker label {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
}
.period-picker label > span {
  color: var(--dim);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .18em;
}
.period-picker select {
  width: 100%;
  padding: 11px 38px 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--wine);
  color: var(--cream);
  cursor: pointer;
}
.categories {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 20px;
  background: rgba(0,0,0,.94);
  backdrop-filter: blur(12px);
  scrollbar-width: none;
}
.categories::-webkit-scrollbar { display: none; }
.category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 10px 17px;
  border: 1px solid #4a3835;
  border-radius: 999px;
  background: transparent;
  color: var(--dim);
  cursor: pointer;
}
.category.active { border-color: var(--accent); background: var(--accent); color: white; }
.menu-list { padding: 0 24px max(56px, env(safe-area-inset-bottom)); }
.menu-item {
  position: relative;
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.menu-list.category-enter { animation: category-enter .52s cubic-bezier(.22,.75,.25,1); }
@keyframes category-enter {
  from { opacity: .25; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.click-hint {
  display: block;
  margin-top: 7px;
  pointer-events: none;
  animation: click-hint 1.35s ease-in-out infinite;
}
.click-hint img {
  display: block;
  width: 43px;
  height: 43px;
  margin-left: auto;
  border-radius: 7px;
  object-fit: cover;
  box-shadow: 0 4px 12px #0009;
}
@keyframes click-hint {
  0%, 100% { transform: translate3d(0, 0, 0); }
  45% { transform: translate3d(-3px, -4px, 0); }
}
.menu-item:focus-visible { outline: 2px solid var(--sand); outline-offset: 4px; }
.item-copy { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.item-copy small { color: #cbbda4; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.item-labels, .detail-labels { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.item-labels { margin-top: 3px; }
.menu-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  padding: 3px 7px;
  border: 1px solid #744936;
  border-radius: 999px;
  background: transparent;
  color: var(--sand);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  cursor: pointer;
}
.menu-badge > span { color: #cbbda4; font-size: 12px; }
.menu-badge:hover, .menu-badge.active { border-color: var(--sand); background: #211b18; color: var(--cream); }
.menu-badge.halal { border-color: #477b59; color: #89d59e; }
.menu-badge.halal > span { color: #89d59e; }
.menu-badge.non-halal { border-color: #75483e; color: #e89a87; }
.menu-badge.non-halal > span { color: #e89a87; }
.pig-platter {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 23px;
  color: #d7d9dc;
}
.pig-platter .pig-face {
  position: absolute;
  z-index: 1;
  top: -5px;
  left: 50%;
  font-size: 15px;
  line-height: 1;
  transform: translateX(-50%);
}
.pig-platter svg { position: absolute; right: 0; bottom: 0; width: 28px; height: 13px; }
.pig-platter path { fill: none; stroke: #d7d9dc; stroke-linecap: round; stroke-width: 1.6; }
.badge-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 8px;
  color: var(--dim);
  font-size: 11px;
}
.badge-filter-bar strong { color: var(--cream); }
.badge-filter-bar button {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #151211;
  color: var(--cream);
  cursor: pointer;
}
.item-copy strong { font: 20px/1.2 Georgia, serif; }
.item-copy > span { color: var(--dim); font-size: 12px; line-height: 1.5; }
.price { flex: none; padding-top: 4px; color: var(--sand); font-size: 14px; font-weight: 750; }
.item-price-stack { display: flex; flex: none; align-items: flex-end; flex-direction: column; }
.menu-item.is-sold-out { opacity: .58; }
.menu-item.is-sold-out .price { color: #d17b69; font-size: 10px; letter-spacing: .08em; }
.menu-message { margin: 8px 20px; padding: 10px 12px; border-radius: 9px; background: #4b3026; color: #e6b39d; font-size: 11px; }
.empty-menu { padding: 35px 0; color: var(--dim); text-align: center; font-size: 13px; }

.detail {
  width: min(100%, 680px);
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: var(--panel);
  color: var(--cream);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.detail::-webkit-scrollbar { display: none; }
.detail::backdrop { background: rgba(0,0,0,.72); }
.close-button {
  position: fixed;
  z-index: 3;
  top: max(18px, env(safe-area-inset-top));
  margin-left: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(253,242,222,.3);
  border-radius: 50%;
  background: rgba(21,19,19,.65);
  color: white;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.detail-photo { width: 100%; height: auto; aspect-ratio: 1 / 1; background: var(--wine); }
.detail-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.detail-photo.no-photo { display: grid; place-items: center; font: 70px Georgia,serif; color: var(--sand); }
.detail-body { padding: 24px 24px max(52px, env(safe-area-inset-bottom)); }
.detail-labels { margin-bottom: 12px; }
.detail-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.detail-title h2 { margin: 0; font: 30px/1.05 Georgia,serif; }
.detail-title > strong { flex: none; color: var(--sand); }
.detail-sub { margin: 12px 0; color: var(--dim); font-size: 12px; letter-spacing: .05em; }
.detail-description { color: #dfd2c0; font-size: 15px; line-height: 1.65; }
.served {
  margin: 18px 0;
  padding: 13px 15px;
  border: 1px solid #4a302f;
  border-radius: 14px;
  background: var(--wine);
}
.served p { margin: 6px 0 0; font-size: 13px; }
.option-group { margin-top: 22px; }
.option-group > div:first-child { display: flex; justify-content: space-between; gap: 12px; }
.option-group > div strong { font-size: 10px; letter-spacing: .16em; }
.option-group > div span { color: var(--sand); font-size: 11px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.choices span { padding: 8px 13px; border: 1px solid #4a3835; border-radius: 999px; color: var(--cream); }
.choices span.recommended { border-color: var(--accent); background: var(--accent); color: white; }
.menu-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.menu-tags span { padding: 7px 11px; border: 1px solid #4a3835; border-radius: 999px; color: var(--sand); font-size: 10px; }

@media (min-width: 740px) {
  body { padding: 24px; background: #100e0d; }
  .shell { border-radius: 24px; overflow: clip; box-shadow: 0 30px 90px rgba(0,0,0,.45); }
  .detail { height: calc(100dvh - 48px); margin: 24px auto; border-radius: 24px; }
}
@media (min-width: 900px) {
  body {
    padding: 0;
    overflow-x: hidden;
    background: var(--panel);
  }
  .offers {
    align-items: center;
  }
  .offer-photo {
    background-position: center 45%;
  }
  .offer-shade {
    background:
      linear-gradient(90deg, rgba(14,10,9,.9) 0%, rgba(14,10,9,.7) 38%, rgba(14,10,9,.14) 76%),
      linear-gradient(0deg, rgba(14,10,9,.55), transparent 55%);
  }
  .offer-content {
    width: min(100%, 1440px);
    margin: auto;
    padding: 64px clamp(48px, 7vw, 110px);
  }
  .offer-content h1 {
    max-width: 620px;
    font-size: clamp(64px, 7vw, 104px);
  }
  .offer-copy, .offer-code {
    max-width: 480px;
  }
  .primary-button {
    max-width: 480px;
  }
  .fine-print {
    max-width: 480px;
  }
  .shell {
    width: 100%;
    min-height: 100dvh;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }
  .hero {
    width: 100%;
    min-height: clamp(340px, 42svh, 430px);
    padding: 28px clamp(40px, 6vw, 90px) 22px;
  }
  .hero-corner-logo {
    top: 26px;
    left: clamp(32px, 4vw, 64px);
    width: clamp(88px, 7vw, 112px);
  }
  .brand-orbit {
    width: min(18vw, 220px);
  }
  .period-picker {
    width: min(calc(100% - 80px), 1260px);
    margin: 8px auto 0;
    padding-inline: 0;
  }
  .categories {
    flex-wrap: wrap;
    padding-inline:
      max(40px, calc((100vw - 1260px) / 2));
  }
  .menu-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(36px, 6vw, 88px);
    width: min(calc(100% - 80px), 1260px);
    margin: auto;
    padding-inline: 0;
  }
  .menu-item {
    min-height: 92px;
  }
  .detail {
    width: min(calc(100% - 64px), 1120px);
    height: calc(100dvh - 48px);
    margin: 24px auto;
    overflow-y: auto;
  }
  .detail #detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
    min-height: 100%;
  }
  .detail-photo {
    position: sticky;
    top: 0;
    height: calc(100dvh - 48px);
    aspect-ratio: auto;
  }
  .detail-body {
    align-self: center;
    padding: clamp(40px, 6vw, 76px);
  }
}
@media (min-width: 1500px) {
  .menu-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 60px;
  }
}
@media (max-width: 390px) {
  .hero { padding-inline: 15px; }
  .categories { padding-inline: 15px; }
  .menu-list { padding-inline: 18px; }
  .menu-item { gap: 10px; }
  .item-copy strong { font-size: 18px; }
  .price { font-size: 12px; }
  .detail-title { align-items: flex-start; flex-direction: column; gap: 8px; }
  .detail-title h2 { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
