/* Modernist start overlay. Every selector is scoped under #modern-menu. */

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

#modern-menu.mm-hidden {
  display: none;
}

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

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

#modern-menu .mm-chips {
  display: flex;
  gap: 8px;
  margin: 0 0 20px;
}

#modern-menu .mm-chip {
  width: 16px;
  height: 16px;
  display: block;
}

#modern-menu .mm-chip--red { background: #e4002b; }
#modern-menu .mm-chip--green { background: #00a651; }
#modern-menu .mm-chip--yellow { background: #ffc800; }
#modern-menu .mm-chip--blue { background: #0057b8; }

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

#modern-menu .mm-tagline {
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.35;
  color: #77746c;
}

#modern-menu .mm-rule {
  height: 2px;
  background: #111;
  border: 0;
  margin: 24px 0 8px;
}

#modern-menu .mm-sec {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 2px solid #111;
}

#modern-menu .mm-num {
  font-size: 15px;
  font-weight: 700;
  color: #77746c;
  font-variant-numeric: tabular-nums;
}

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

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

#modern-menu .mm-play {
  appearance: none;
  -webkit-appearance: none;
  margin-top: 28px;
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: #111;
  color: #f2f0ea;
  border: 2px solid #111;
  border-radius: 0;
  box-shadow: none;
  font-family: inherit;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

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

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

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

#modern-menu .mm-play:disabled {
  cursor: default;
  background: #77746c;
  border-color: #77746c;
  transform: none;
  box-shadow: none;
}

#modern-menu .mm-play svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: square;
}

#modern-menu .mm-foot {
  margin: 16px 0 0;
  font-size: 13px;
  color: #77746c;
}

@media (max-width: 380px) {
  #modern-menu .mm-sec {
    grid-template-columns: 40px 1fr;
  }
  #modern-menu .mm-play {
    font-size: 18px;
  }
}
