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

:root {
  --sky: #dce8d4;
  --paper: #faf7f0;
  --paper-deep: #f3ecdf;
  --bark: #342920;
  --forest: #3a5236;
  --moss: #5c7656;
  --fern: #6d8f62;
  --sage: #8aa67f;
  --muted: #75685a;
  --line: rgba(52, 41, 32, 0.12);
  --shadow: 0 32px 80px rgba(36, 48, 32, 0.14), 0 8px 24px rgba(36, 48, 32, 0.06);
}

html {
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--bark);
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--sky);
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem 2.5rem;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(138, 166, 127, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(93, 118, 86, 0.18), transparent 50%),
    radial-gradient(ellipse 70% 50% at 100% 100%, rgba(93, 118, 86, 0.15), transparent 50%),
    linear-gradient(165deg, #c8dcc0 0%, #dce8d4 40%, #d4decc 100%);
}

.menu {
  width: min(100%, 30rem);
  background: var(--paper);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

.menu__hero {
  position: relative;
  line-height: 0;
}

.menu__hero-art {
  display: block;
  width: 100%;
  height: auto;
}

.menu__hero-fade {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(to top, var(--paper) 8%, rgba(250, 247, 240, 0.92) 45%, transparent);
  pointer-events: none;
}

.menu__title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.1rem;
  margin: 0;
  padding: 0 1.5rem;
  text-align: center;
  display: grid;
  gap: 0.1rem;
}

.menu__title-names {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.7rem, 6.5vw, 2.15rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--bark);
  text-shadow: 0 1px 12px rgba(250, 247, 240, 0.85);
}

.menu__title-cafe {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.25rem, 4.5vw, 1.5rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--forest);
  text-shadow: 0 1px 10px rgba(250, 247, 240, 0.8);
}

.menu__frame {
  position: relative;
  display: grid;
  grid-template-columns: 2.4rem 1fr 2.4rem;
  align-items: stretch;
  padding: 0.5rem 0 0;
}

.menu__vine {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  color: var(--fern);
  opacity: 0.55;
  padding: 0.5rem 0.35rem;
}

.menu__content {
  padding: 0.25rem 0 1.5rem;
}

.menu-section + .menu-section {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.menu-section__title {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  margin: 0 0 1.1rem;
}

.menu-section__ornament {
  width: 7.5rem;
  height: 1rem;
  color: var(--sage);
  opacity: 0.85;
}

.menu-section__title span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.menu-list__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 0.35rem 0.5rem;
}

.menu-list__name {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--bark);
}

.menu-list__leader {
  height: 1px;
  margin-bottom: 0.35rem;
  background: repeating-linear-gradient(
    90deg,
    var(--sage) 0,
    var(--sage) 1px,
    transparent 1px,
    transparent 5px
  );
  opacity: 0.45;
}

.menu-list__item:not(:has(.menu-list__note)) .menu-list__leader {
  display: none;
}

.menu-list__note {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest);
  white-space: nowrap;
  padding-bottom: 0.15rem;
}

.menu__ground {
  line-height: 0;
  color: var(--fern);
  margin-top: -0.25rem;
}

.menu__ground svg {
  display: block;
  width: 100%;
  height: 3.5rem;
}

@media (min-width: 480px) {
  .page {
    padding: 3rem 1.25rem;
  }

  .menu__frame {
    grid-template-columns: 2.75rem 1fr 2.75rem;
  }

  .menu__title {
    bottom: 1.35rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .menu {
    animation: menu-in 0.65s ease-out both;
  }
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
