* {
  box-sizing: border-box;
}

:root {
  --black: #0d0b0a;
  --deep: #17110d;
  --paper: #f5eee1;
  --paper-2: #fff8ec;
  --ink: #17110d;
  --muted: #c8bba9;
  --gold: #b08a42;
  --gold-light: #e5c77e;
  --line: rgba(229, 199, 126, 0.28);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
  --radius-lg: 28px;
  --radius-md: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--paper);
  background: var(--black);
}

.texture {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

h1, h2, h3 {
  font-family: 'Cinzel', Georgia, serif;
  letter-spacing: 0.03em;
  margin: 0;
}

p {
  line-height: 1.65;
  color: var(--muted);
}

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 64px 20px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px solid var(--line);
  border-radius: 34px;
}

.hero__inner {
  width: min(760px, 100%);
  position: relative;
  z-index: 1;
}

.brand-logo {
  display: block;
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin: 0 auto 28px;
  filter: drop-shadow(0 0 24px rgba(176, 138, 66, 0.35));
}

.eyebrow {
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.hero h1 {
  font-size: clamp(3rem, 12vw, 7.5rem);
  line-height: 0.94;
  margin-bottom: 22px;
}

.hero-copy {
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.04rem;
}

.primary-button,
.back-link,
.pill {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.primary-button {
  padding: 14px 24px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--black);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.primary-button:hover,
.category-card:hover,
.pill:hover,
.back-link:hover {
  transform: translateY(-2px);
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
  position: relative;
  z-index: 1;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 30px;
}

.section-heading h2 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.category-card {
  color: inherit;
  text-decoration: none;
  background: rgba(245, 238, 225, 0.07);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 100%;
}

.category-card__image-wrap {
  aspect-ratio: 4 / 7;
  background: #ffffff;
  overflow: hidden;
}

.category-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: sepia(0.12) contrast(1.02);
}

.category-card__body {
  padding: 20px;
}

.category-card__body span,
.product-subtitle {
  display: block;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.category-card__body h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.category-card__body p {
  margin: 0;
  font-size: 0.9rem;
}

.menu-header {
  padding: 24px 20px 44px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(176, 138, 66, 0.26), transparent 30rem),
    rgba(0, 0, 0, 0.18);
}

.back-link {
  color: var(--gold-light);
  margin-bottom: 26px;
  font-weight: 800;
}

.menu-header__content {
  width: min(1060px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 28px;
  align-items: center;
}

.menu-header__content img {
  width: 170px;
  aspect-ratio: 4 / 7;
  object-fit: cover;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--gold);
  box-shadow: var(--shadow);
}

.menu-header h1 {
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  line-height: 1;
}

.menu-header p:last-child {
  max-width: 620px;
  margin-bottom: 0;
}

.container--products {
  padding-top: 34px;
}

.category-pills {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 0 20px;
  margin-bottom: 18px;
  scrollbar-width: thin;
}

.pill {
  white-space: nowrap;
  padding: 10px 15px;
  color: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(245, 238, 225, 0.06);
  font-weight: 700;
  font-size: 0.86rem;
}

.pill--active {
  color: var(--black);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: transparent;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(255, 248, 236, 0.96), rgba(245, 238, 225, 0.9));
  color: var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.product-card::before {
  content: '✦';
  position: absolute;
  top: 16px;
  right: 18px;
  color: rgba(176, 138, 66, 0.45);
  font-size: 1.3rem;
}

.product-card__content {
  min-height: 100%;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.product-card h3 {
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.product-card p {
  color: rgba(23, 17, 13, 0.72);
  margin: 0;
  font-size: 0.94rem;
}

.product-subtitle {
  color: var(--gold);
}

.options-list {
  columns: 1;
  margin: 14px 0 0;
  padding-left: 18px;
  color: rgba(23, 17, 13, 0.72);
  font-size: 0.9rem;
  line-height: 1.6;
}

.price {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--gold-light);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.empty-message {
  grid-column: 1 / -1;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(245, 238, 225, 0.07);
}

.site-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 32px 20px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  .hero::before {
    inset: 12px;
    border-radius: 24px;
  }

  .brand-logo {
    width: 150px;
    height: 150px;
  }

  .section-heading {
    display: block;
  }

  .menu-header__content {
    grid-template-columns: 92px 1fr;
    gap: 16px;
  }

  .menu-header__content img {
    width: 92px;
    border-radius: 14px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}
