:root {
  --bg: #050505;
  --bg-elevated: #0e0e0e;
  --gold: #b08d44;
  --gold-soft: #c2a255;
  --cream: #f5f0e6;
  --muted: #a8a29a;
  --line: rgba(176, 141, 68, 0.28);
  --danger: #c45c5c;
  --ok: #6f9e6f;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(5, 5, 5, 0.86);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--gold-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #111;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: var(--gold-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
}

.btn-ghost:hover {
  background: rgba(176, 141, 68, 0.12);
  color: var(--cream);
}

.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) contrast(1.05);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.2) 10%, rgba(5, 5, 5, 0.92) 100%),
    radial-gradient(circle at 20% 20%, rgba(176, 141, 68, 0.18), transparent 40%);
}

.hero-inner {
  padding: 5rem 0 3.5rem;
}

.hero-kicker {
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  line-height: 0.95;
  max-width: 10ch;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-lead {
  margin: 1.25rem 0 1.75rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section {
  padding: 4.5rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 28rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.75rem;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: #111;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery figure:hover img {
  transform: scale(1.04);
}

.gallery figure:nth-child(1) { grid-column: span 7; min-height: 320px; }
.gallery figure:nth-child(2) { grid-column: span 5; min-height: 320px; }
.gallery figure:nth-child(3) { grid-column: span 4; min-height: 240px; }
.gallery figure:nth-child(4) { grid-column: span 4; min-height: 240px; }
.gallery figure:nth-child(5) { grid-column: span 4; min-height: 240px; }
.gallery figure:nth-child(n+6) { grid-column: span 3; min-height: 180px; }

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.chip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
}

.chip.active,
.chip:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.menu-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 170px;
}

.menu-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
}

.menu-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}

.menu-card .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.price {
  color: var(--gold-soft);
  font-weight: 700;
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.qty button {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
}

.panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.4rem;
}

.card h3 {
  margin-top: 0;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
}

label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.field {
  margin-bottom: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #0a0a0a;
  color: var(--cream);
  border-radius: 0.7rem;
  padding: 0.75rem 0.85rem;
  font: inherit;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.cart-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.cart-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0.45rem;
  font-size: 0.92rem;
}

.muted {
  color: var(--muted);
}

.flash {
  margin: 0.75rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  font-size: 0.92rem;
}

.flash.ok {
  background: rgba(111, 158, 111, 0.15);
  color: #cfe8cf;
}

.flash.err {
  background: rgba(196, 92, 92, 0.15);
  color: #f0c7c7;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-card strong {
  display: block;
  color: var(--gold-soft);
  margin-bottom: 0.35rem;
}

.map-embed {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  min-height: 280px;
}

.map-embed iframe {
  width: 100%;
  height: 280px;
  border: 0;
  filter: grayscale(0.4) contrast(1.05);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.menu-card--media {
  padding: 0;
  overflow: hidden;
}

.menu-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: #151515;
}

.menu-thumb--empty {
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
}

.menu-card--media h3,
.menu-card--media p,
.menu-card--media .row {
  padding-left: 1.1rem;
  padding-right: 1.1rem;
}

.menu-card--media h3 {
  margin-top: 0.85rem;
}

.menu-card--media .row {
  padding-bottom: 1.1rem;
}

.order-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.25rem;
  align-items: start;
}

.cart-panel {
  position: sticky;
  top: 5.5rem;
}

.cart-total {
  margin: 0 0 1rem;
}

.w-full {
  width: 100%;
}

.booking-card {
  max-width: 760px;
}

.slot-grid,
.table-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.slot-chip,
.table-chip {
  border: 1px solid var(--line);
  background: #0a0a0a;
  color: var(--cream);
  border-radius: 0.9rem;
  padding: 0.65rem 0.85rem;
  cursor: pointer;
  text-align: left;
}

.slot-chip small,
.table-chip span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 0.15rem;
}

.slot-chip.active,
.table-chip.active {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold);
}

.slot-chip.unavailable {
  opacity: 0.45;
  cursor: not-allowed;
}

.m-0 { margin: 0; }
.mb { margin-bottom: 1rem; }
.narrow { max-width: 720px; }
.row.gap { gap: 0.65rem; flex-wrap: wrap; }
.row.between { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; }

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 60;
}

.cart-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(400px, 92vw);
  background: var(--bg-elevated);
  border-right: 1px solid var(--line);
  z-index: 70;
  transform: translateX(-105%);
  transition: transform 0.28s ease;
  padding: 1.1rem 1.15rem 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.cart-drawer__head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-soft);
}

.cart-drawer__form {
  margin-top: auto;
}

body.cart-open {
  overflow: hidden;
}

.status-pill {
  display: inline-block;
  border: 1px solid var(--line);
  color: var(--gold-soft);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.82rem;
}

.order-summary {
  margin-bottom: 0.85rem;
}

.timeline {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  border-left: 1px solid var(--line);
}

.timeline li {
  position: relative;
  padding: 0 0 1rem 1.15rem;
  color: var(--muted);
}

.timeline .dot {
  position: absolute;
  left: -0.4rem;
  top: 0.35rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: #333;
  border: 1px solid var(--line);
}

.timeline li.is-done {
  color: var(--cream);
}

.timeline li.is-done .dot {
  background: var(--gold);
}

.timeline li.is-current {
  color: var(--gold-soft);
}

.timeline li.is-current .dot {
  box-shadow: 0 0 0 3px rgba(176, 141, 68, 0.25);
}

.timeline small {
  display: block;
  color: var(--muted);
  margin-top: 0.15rem;
}

.account-login {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 860px) {
  .panel,
  .contact-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .gallery figure:nth-child(n) {
    grid-column: span 12;
    min-height: 220px;
  }

  .nav-links {
    display: none;
  }

  .order-layout {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    position: static;
  }
}
