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

:root {
  --bg: #000;
  --text: #fff;
  --max-w: 560px;
  --font-sans: 'Outfit', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html { font-size: 17px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  padding: 3.5rem 1.2rem 4rem;
}

.menu-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.menu-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.menu-hero {
  min-height: 200px;
  background-image: url("/madison/golden-poppy.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 3px;
}

.menu-name {
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
}

.menu-intro {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  max-width: 460px;
  margin: 0.4rem auto 0;
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.menu-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  padding: 1.4rem 1.2rem;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  border-radius: 3px;
  transition: min-height 0.35s ease;
}

.menu-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  transition: background 0.35s ease;
}

.menu-title {
  position: relative;
  z-index: 1;
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  line-height: 1;
}

.menu-detail {
  position: relative;
  z-index: 1;
  margin-top: 0.6rem;
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-align: center;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease, margin-top 0.35s ease;
}

.menu-item:hover,
.menu-item:focus-visible {
  min-height: 180px;
}

.menu-item:hover::before,
.menu-item:focus-visible::before {
  background: rgba(60, 60, 60, 0.72);
}

.menu-item:hover .menu-detail,
.menu-item:focus-visible .menu-detail {
  max-height: 4rem;
  opacity: 1;
}

div.menu-item {
  filter: grayscale(1);
  cursor: default;
}

@media (max-width: 520px) {
  html { font-size: 15px; }
  body { padding: 2.5rem 1rem 3rem; }
  .menu-hero { width: 180px; height: 180px;}
  .menu-title { font-size: 2rem; }
}
