/* Carte des boissons — a reference page, not a landing page, so it does
   NOT use shared/css (that's the dark-editorial identity of the marketing
   pages). This follows the printed drink menu's own DA instead: warm
   maroon + cream panels, a bold display face (Gasoek One) for headings
   only, Poppins for everything else, and circular "stamp" price badges.
   Keep any future edit to this page inside this token set — see
   .claude/skills/edit-menu/SKILL.md.

   HEADS UP: this stylesheet (and menu.js) is also loaded by
   /privatisation-menu/, the pre-order card for privatisation bookings.
   Any restyle here changes that page too — check both. */

:root {
  --menu-maroon: #2b1710;
  --menu-maroon-deep: #1f1009;
  --menu-cream: #f4e8d2;
  --menu-cream-deep: #ecdcbd;
  --menu-gold: #d9a441;
  --menu-gold-deep: #b9812a;
  --menu-tan: #e7d3ab;
  --menu-ink: #3a2114;
  --menu-ink-soft: rgb(58 33 20 / 0.68);
  --menu-cream-soft: rgb(244 232 210 / 0.72);

  --menu-font-display: 'Gasoek One', system-ui, sans-serif;
  --menu-font-body: 'Poppins', system-ui, sans-serif;

  --menu-radius: 14px;
  --menu-container: 46rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--menu-cream);
  color: var(--menu-ink);
  font-family: var(--menu-font-body);
  -webkit-font-smoothing: antialiased;
}
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-family: var(--menu-font-display); text-transform: uppercase; letter-spacing: 0.02em; }
p { margin: 0; }
a { color: inherit; }

/* ---------- Top bar ---------- */
.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  background: var(--menu-maroon-deep);
}
.menu-brand { display: flex; align-items: baseline; gap: 0.5rem; text-decoration: none; }
.menu-brand strong { font-family: var(--menu-font-display); font-size: 1.15rem; color: var(--menu-gold); letter-spacing: 0.03em; }
.menu-brand span { font-size: 0.7rem; color: var(--menu-cream-soft); text-transform: uppercase; letter-spacing: 0.08em; }
.menu-back { font-size: 0.8rem; color: var(--menu-tan); text-decoration: none; }
.menu-back:hover { color: var(--menu-gold); }

/* ---------- Hero ---------- */
.menu-hero {
  padding: 3rem 1.5rem 2.25rem;
  text-align: center;
  background: var(--menu-maroon-deep);
  color: var(--menu-cream);
}
.menu-eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--menu-gold);
}
.menu-hero h1 {
  font-size: clamp(2.2rem, 1.7rem + 2vw, 3.1rem);
  line-height: 1.05;
  color: var(--menu-gold);
  text-wrap: balance;
}
.menu-hero-lede { margin-top: 0.9rem; font-size: 1rem; color: var(--menu-cream-soft); }

/* ---------- Category filters ---------- */
.menu-filters {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.85rem 1rem;
  background: var(--menu-maroon-deep);
  box-shadow: 0 8px 20px -12px rgb(0 0 0 / 0.5);
}
@media (min-width: 640px) {
  /* Mobile keeps flex-start so the scrollable row starts flush left (the
     natural affordance for "there's more, swipe"); wider viewports have
     room to show every pill at once, so center them instead. */
  .menu-filters { justify-content: center; }
}
.menu-filter-btn {
  flex: none;
  padding: 0.45rem 1rem;
  border: 1px solid rgb(244 232 210 / 0.25);
  border-radius: var(--menu-radius);
  background: transparent;
  color: var(--menu-cream-soft);
  font-family: var(--menu-font-body);
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
}
.menu-filter-btn:hover { border-color: var(--menu-gold); color: var(--menu-cream); }
.menu-filter-btn:active { transform: scale(0.96); }
.menu-filter-btn.is-active {
  background: var(--menu-gold);
  border-color: var(--menu-gold);
  color: var(--menu-maroon-deep);
}

/* ---------- Panels ---------- */
.menu-panel {
  padding: 3rem 1.5rem;
  transition: opacity 0.3s ease;
}
.menu-panel.is-filtered-out { opacity: 0; }
.menu-panel-dark { background: var(--menu-maroon); color: var(--menu-cream); }
.menu-panel-light { background: var(--menu-cream); color: var(--menu-ink); }

.menu-tagline {
  margin: -0.5rem 0 1.3rem;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--menu-cream-soft);
}
.menu-panel-light .menu-tagline { color: var(--menu-ink-soft); }
.menu-tagline-center { text-align: center; margin-top: -1.3rem; }

.menu-panel-inner {
  max-width: var(--menu-container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.menu-block {
  position: relative;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--menu-ease, ease-out), transform 0.55s var(--menu-ease, ease-out);
}
.menu-block.is-visible { opacity: 1; transform: none; }

.menu-title {
  font-size: clamp(1.6rem, 1.4rem + 1vw, 2.1rem);
  color: var(--menu-gold);
  margin-bottom: 1.1rem;
  /* Gasoek One runs wide — reserve room for the price stamp so a long
     title (Bières pression/bouteille) wraps to a second line instead of
     running under the badge. */
  max-width: calc(100% - 6.5rem);
}
.menu-panel-light .menu-title { color: var(--menu-maroon); }
.menu-title-center { text-align: center; margin-bottom: 2rem; max-width: none; }

.menu-subtitle {
  font-size: 1.1rem;
  color: var(--menu-maroon);
  margin: 1.6rem 0 0.9rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--menu-gold-deep);
}
.menu-subtitle:first-child { margin-top: 0; }

/* ---------- Plain / abv item lists (beers, softs) ---------- */
.menu-list { display: flex; flex-direction: column; gap: 0.55rem; }
.menu-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed rgb(244 232 210 / 0.22);
}
.menu-panel-light .menu-list li { border-bottom-color: rgb(58 33 20 / 0.18); }
.menu-list li:last-child { border-bottom: none; padding-bottom: 0; }

.menu-item-name { font-weight: 700; font-size: 1.02rem; }
.menu-item-abv {
  flex: none;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--menu-gold);
  font-family: var(--menu-font-body);
}
.menu-panel-light .menu-item-abv { color: var(--menu-gold-deep); }

.menu-list-plain li { font-weight: 500; font-size: 1.02rem; border-bottom-color: rgb(58 33 20 / 0.18); }

/* ---------- Detailed lists (cocktails, wines) ---------- */
.menu-list-detailed li,
.menu-wine-list li {
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px dashed rgb(244 232 210 / 0.22);
}
.menu-panel-light .menu-list-detailed li,
.menu-wine-list li { border-bottom-color: rgb(58 33 20 / 0.18); }
.menu-list-detailed li:last-child,
.menu-wine-list li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.menu-item-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
.menu-item-note {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--menu-cream-soft);
}
.menu-panel-light .menu-item-note,
.menu-wine-list .menu-item-note { color: var(--menu-ink-soft); }

.menu-price-inline { flex: none; font-weight: 700; color: var(--menu-gold); font-family: var(--menu-font-body); }
.menu-panel-light .menu-price-inline,
.menu-wine-list .menu-price-inline { color: var(--menu-gold-deep); }

.menu-organic { font-size: 0.8em; margin-left: 0.15em; }

/* ---------- Price stamp badge ---------- */
.menu-price-stamp {
  position: absolute;
  top: -0.6rem;
  right: 0;
  width: 6rem;
  height: 6rem;
  background: var(--menu-gold);
  color: var(--menu-maroon-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  transform: rotate(-9deg) scale(0.3);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  clip-path: polygon(
    50% 0%, 60.87% 9.43%, 75% 6.7%, 79.7% 20.3%, 93.3% 25%, 90.57% 39.13%,
    100% 50%, 90.57% 60.87%, 93.3% 75%, 79.7% 79.7%, 75% 93.3%, 60.87% 90.57%,
    50% 100%, 39.13% 90.57%, 25% 93.3%, 20.3% 79.7%, 6.7% 75%, 9.43% 60.87%,
    0% 50%, 9.43% 39.13%, 6.7% 25%, 20.3% 20.3%, 25% 6.7%, 39.13% 9.43%
  );
  font-family: var(--menu-font-body);
  font-weight: 700;
  font-size: 0.68rem;
  text-align: center;
  line-height: 1.25;
}
.menu-price-stamp-light { background: var(--menu-maroon); color: var(--menu-cream); }
.menu-price-stamp.is-visible { transform: rotate(-9deg) scale(1); opacity: 1; }

/* ---------- Cocktail highlight (Ti-Punch) ---------- */
.menu-highlight-item {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.1rem;
  border-radius: var(--menu-radius);
  background: rgb(217 164 65 / 0.14);
  border: 1px solid rgb(217 164 65 / 0.35);
}
.menu-highlight-item .menu-item-name { font-family: var(--menu-font-body); font-size: 1.1rem; color: var(--menu-gold); }
.menu-highlight-item .menu-price-inline { font-size: 1.1rem; }

/* ---------- Wines ---------- */
.menu-wine-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.menu-legend {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--menu-ink-soft);
}

/* ---------- Footer ---------- */
.menu-footer {
  padding: 2rem 1.5rem 2.5rem;
  text-align: center;
  background: var(--menu-maroon-deep);
  color: var(--menu-cream-soft);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.menu-footer a { color: var(--menu-gold); text-decoration: none; }
.menu-footer a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
  .menu-panel-inner.menu-block-pair,
  .menu-panel-dark .menu-panel-inner { flex-direction: row; }
  .menu-panel-dark .menu-block { flex: 1; }
  .menu-wine-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 480px) {
  .menu-price-stamp { width: 5rem; height: 5rem; font-size: 0.62rem; }
}

@media (prefers-reduced-motion: reduce) {
  .menu-block, .menu-price-stamp, .menu-panel, .menu-filter-btn {
    transition: none !important;
  }
}
