/* Modernist start screen overlay. Every rule is scoped to #modern-menu. */
#modern-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2147483000;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  background: #f2f0ea;
  color: #111;
  font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
}

#modern-menu[hidden] {
  display: none !important;
}

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

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

#modern-menu .mm-swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 8px;
  margin: 0 0 28px;
}

#modern-menu .mm-swatches span:nth-child(1) { background: #e4002b; }
#modern-menu .mm-swatches span:nth-child(2) { background: #00a651; }
#modern-menu .mm-swatches span:nth-child(3) { background: #ffc800; }
#modern-menu .mm-swatches span:nth-child(4) { background: #0057b8; }

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

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

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

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

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

#modern-menu .mm-num {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding-top: 3px;
  color: #77746c;
}

#modern-menu .mm-section h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

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

#modern-menu .mm-play {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 72px;
  margin: auto 0 0;
  padding: 0 24px;
  margin-top: 32px;
  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;
}

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

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

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

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

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

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