* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  background: #0a0a0a;
  color: #ffffff;
}

.menu {
  padding: 4rem 1rem;
}

.menu__inner {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #39ff14;
}

.heading {
  margin: 0.75rem 0 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.copy {
  margin: 0.75rem 0 0;
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: #a3a3a3;
}

.list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}

.item {
  display: block;
  width: 100%;
  border: none;
  border-left: 2px solid transparent;
  background: none;
  padding: 0.75rem 0 0.75rem 1rem;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition:
    border-color 200ms ease,
    background-color 200ms ease;
}

.item:hover,
.item:focus-visible {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  outline: none;
}

.item.is-active {
  border-color: #39ff14;
  background: rgba(255, 255, 255, 0.05);
}

.item__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.item__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #d4d4d4;
}

.item.is-active .item__name {
  color: #ffffff;
}

.item__price {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.item__desc {
  margin-top: 0.25rem;
  display: block;
  font-size: 0.875rem;
  line-height: 1.625;
  color: #737373;
}

.visual {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 1.5rem;
  background: #171717;
}

.visual__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 500ms ease;
}

.visual__img.is-active {
  opacity: 1;
}

@media (min-width: 640px) {
  .heading {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .menu {
    padding: 6rem 2rem;
  }

  .menu__inner {
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: start;
  }

  .visual {
    position: sticky;
    top: 2rem;
    aspect-ratio: auto;
    height: 560px;
  }
}

/*
 * Menu 03 — "clip-path wipe hero reveal + list slide-in" animation
 * identity. Same canonical keyframes as `Menu03.tailwind.css`. Scoped so
 * this never collides with another Resource's own animation layer.
 * Entirely disabled under reduced motion: the hero and list already
 * render at their final, fully visible state — the hover/focus/click
 * cross-fade above stays active regardless, since it's user-driven
 * rather than autoplaying.
 */
@keyframes al-menu03-wipe {
  from {
    clip-path: inset(0 0 0 100%);
  }
  to {
    clip-path: inset(0 0 0 0%);
  }
}

@keyframes al-menu03-slide {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .al-wipe {
    animation: al-menu03-wipe 800ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .al-slide {
    animation: al-menu03-slide 550ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}
