* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  background: #000;
  color: #fff;
}

:root {
  --pdf-controls-offset: 0px;
}

body.is-firefox {
  /* Firefox built-in PDF viewer may still show native controls. */
  --pdf-controls-offset: 56px;
}

body {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.site-header {
  width: 100%;
  text-align: center;
  padding: 1rem 1rem 0.5rem;
}

.site-title {
  margin: 0;
  font-size: clamp(1.6rem, 2.8vw, 3rem);
  font-weight: 700;
}

main {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 1rem 1rem 2rem;
  display: grid;
  gap: 1rem;
}

.menu-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.75rem;
}

.menu-mobile {
  display: grid;
  gap: 1rem;
}

.menu-desktop {
  display: none;
}

.menu-wrapper {
  width: 100%;
  height: min(1400px, 100vh);
  min-height: 480px;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
}

#menuFrame {
  width: 100%;
  height: calc(100% + var(--pdf-controls-offset));
  margin-top: calc(-1 * var(--pdf-controls-offset));
  border: 0;
}

.no-script {
  margin: 0;
  text-align: center;
  color: #cbd5e1;
  font-size: 0.92rem;
}

.site-footer {
  text-align: center;
  padding: 0.75rem 1rem 1.25rem;
  color: #cbd5e1;
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .menu-wrapper {
    height: calc(100vh - 210px);
    min-height: 380px;
  }
}

@media (min-width: 721px) {
  .menu-mobile {
    display: none;
  }

  .menu-desktop {
    display: block;
  }
}
