/* Modernist start screen overlay. Hidden by default so the original menu
   stays usable if this stylesheet or modern-menu.js fails to load. */

#modern-menu {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  background: #f2f0ea;
  color: #111;
  font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-align: left;
}

#modern-menu.mm-open {
  display: block;
}

#modern-menu,
#modern-menu * {
  box-sizing: border-box;
}

#modern-menu .mm-col {
  max-width: 480px;
  min-height: 100%;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

#modern-menu .mm-top {
  padding-top: 40px;
}

#modern-menu .mm-title {
  margin: 0;
  font-size: clamp(52px, 13vw, 80px);
  line-height: 0.92;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  overflow-wrap: break-word;
  color: #111;
}

#modern-menu .mm-tag {
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.4;
  color: #77746c;
}

#modern-menu .mm-rule {
  height: 2px;
  background: #111;
  margin-top: 28px;
}

#modern-menu .mm-list {
  margin: 0;
  padding: 0;
}

#modern-menu .mm-sec {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 2px solid #111;
}

#modern-menu .mm-num {
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

#modern-menu .mm-sec h2 {
  margin: 2px 0 6px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #111;
}

#modern-menu .mm-sec p {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  color: #111;
}

#modern-menu .mm-play-wrap {
  margin-top: auto;
  padding-top: 32px;
  padding-bottom: 8px;
}

#modern-menu .mm-play {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  height: 72px;
  margin: 0;
  padding: 0 16px;
  border: 2px solid #111;
  border-radius: 0;
  background: #111;
  color: #f2f0ea;
  font: inherit;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

#modern-menu .mm-play svg {
  flex: none;
}

#modern-menu .mm-play:focus-visible {
  outline: 3px solid #0057b8;
  outline-offset: 3px;
}

@media (hover: hover) {
  #modern-menu .mm-play:hover {
    transform: translate(-4px, -4px);
    box-shadow: 4px 4px 0 #e4002b;
  }
}

#modern-menu .mm-play:active {
  transform: translate(0, 0);
  box-shadow: none;
}
