.menu {
  background: var(--surface);
  padding: var(--spacing-2xl) clamp(1.25rem, 4vw, 4rem);
  position: relative;
  overflow: hidden;
}

.menu-container {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  position: relative;
}

.menu-heading {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 500;
  text-align: center;
  color: var(--ink);
}

/* Centered label above heading */
.menu-kicker {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(3rem, 7vw, 5rem);
}
.menu-kicker .section-label::before {
  display: none;
}
.menu-kicker .section-label::after {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--vermillion);
}

.menu-content {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
}

/* Grid/flex children default to min-width:auto — nowrap item names would
   otherwise blow the columns (and the panels) wider than the viewport */
.menu-content > *,
.menu-section,
.menu-items,
.menu-item,
.menu-item-header {
  min-width: 0;
}

.menu-divider {
  background: linear-gradient(to bottom, transparent, var(--line-strong), transparent);
}

/* Note-paper panel — ruled lines, vermillion margin, resting tilt */
.menu-column {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.25rem);
  background-color: var(--surface);
  background-image:
    repeating-linear-gradient(to bottom, transparent 0 31px, rgba(38, 37, 28, 0.05) 31px 32px),
    linear-gradient(90deg, transparent 22px, rgba(232, 80, 58, 0.25) 22px 23px, transparent 23px);
  border: 1px solid var(--line);
  border-radius: 4px 16px 16px 4px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.6s var(--ease-bounce), box-shadow var(--transition-pop);
}
.menu-column.reveal-element:nth-of-type(1),
.menu-column:first-of-type { --tilt: -0.9deg; }
.menu-column:last-of-type { --tilt: 0.9deg; }

.menu-column:hover {
  transform: rotate(0deg) translateY(-5px);
  box-shadow: var(--shadow-lift);
}

/* Washi tape at the top of each panel */
.menu-column::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  width: 92px;
  height: 24px;
  transform: translateX(-50%) rotate(calc(var(--tilt, 0deg) * -2));
  background: repeating-linear-gradient(45deg, rgba(124, 139, 110, 0.38) 0 6px, rgba(255, 255, 255, 0.55) 6px 12px);
  border-left: 1px dashed rgba(255, 255, 255, 0.6);
  border-right: 1px dashed rgba(255, 255, 255, 0.6);
  box-shadow: 0 3px 8px -3px rgba(38, 37, 28, 0.35);
  pointer-events: none;
}

.menu-section {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  position: relative;
}
.menu-column .menu-section:last-child {
  margin-bottom: 0;
}

/* Centered heading — keep the drawn underline centered too */
.menu-heading.ink-underline::after {
  left: 50%;
  transform: translateX(-50%);
}

.menu-section-title {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--spacing-md);
  padding-bottom: 8px;
  border-bottom: 2px dashed rgba(174, 139, 74, 0.5);
}

.menu-items {
  list-style: none;
}

.menu-item {
  padding: 0.9rem 0.4rem;
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast), transform var(--transition-pop);
}
.menu-item:hover {
  background: rgba(38, 37, 28, 0.04);
  transform: translateX(6px) rotate(-0.4deg);
}

.menu-item-header {
  display: flex;
  align-items: baseline;
  margin-bottom: 2px;
}

.menu-item-name {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink);
}

.menu-item-leader {
  flex: 1;
  border-bottom: 1px dotted rgba(38, 37, 28, 0.35);
  margin: 0 var(--spacing-sm);
  transform: translateY(-4px);
  transition: border-color var(--transition-fast);
}
.menu-item:hover .menu-item-leader {
  border-bottom-style: dashed;
  border-color: var(--vermillion);
}

.menu-item-price {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--vermillion-deep);
  white-space: nowrap;
  transform: rotate(3deg);
  display: inline-block;
}

.menu-item-desc {
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
}

/* Footnote */
.menu-note {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.menu-note em {
  color: var(--vermillion-deep);
  font-style: normal;
}

@media (max-width: 768px) {
  .menu-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  .menu-divider {
    display: none;
  }
  .menu-item:hover {
    transform: none;
  }
  .menu-column:first-of-type { --tilt: -0.6deg; }
  .menu-column:last-of-type { --tilt: 0.6deg; }
}

/* Ultra-narrow screens: let long dish names wrap instead of overflowing */
@media (max-width: 380px) {
  .menu-item-name {
    white-space: normal;
  }
}
