/* Modernist start overlay. Everything lives under #modern-menu and uses mm- class names. */
#modern-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 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;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

#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;
  min-height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

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

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

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

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

#modern-menu .mm-swatches {
  display: flex;
  height: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#modern-menu .mm-swatches li {
  flex: 1 1 0;
}

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

#modern-menu .mm-sections {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 2px solid #111;
}

#modern-menu .mm-sec {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-top: 2px solid #111;
}

#modern-menu .mm-sec:first-child {
  border-top: 0;
}

#modern-menu .mm-num {
  flex: 0 0 auto;
  width: 44px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #77746c;
  padding-top: 4px;
}

#modern-menu .mm-sec h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #111;
}

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

#modern-menu .mm-foot {
  margin-top: auto;
  padding-top: 32px;
  padding-bottom: 24px;
}

#modern-menu .mm-play {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 72px;
  margin: 0;
  padding: 0 24px;
  border: 2px solid #111;
  border-radius: 0;
  background: #111;
  color: #f2f0ea;
  font-family: inherit;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 80ms linear, box-shadow 80ms linear;
  -webkit-tap-highlight-color: transparent;
}

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

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

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

#modern-menu .mm-play:disabled:hover {
  transform: none;
  box-shadow: none;
}

#modern-menu .mm-arrow {
  font-size: 26px;
  line-height: 1;
}

@media (min-width: 600px) {
  #modern-menu .mm-col {
    padding-top: 56px;
  }
}
