/* Modernist start screen overlay. Everything is scoped under #modern-menu. */
#modern-menu {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  background: #f2f0ea;
  color: #111;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
  box-sizing: border-box;
}

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

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

#modern-menu .mm-kicker {
  display: flex;
  gap: 6px;
  margin-top: 40px;
}

#modern-menu .mm-kicker span {
  display: block;
  width: 14px;
  height: 14px;
  border: 2px solid #111;
}

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

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

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

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

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

#modern-menu .mm-num {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  color: #111;
}

#modern-menu .mm-section:nth-of-type(1) .mm-num { color: #e4002b; }
#modern-menu .mm-section:nth-of-type(2) .mm-num { color: #0057b8; }

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

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

#modern-menu .mm-spacer {
  flex: 1 1 auto;
  min-height: 32px;
}

#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;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 0.08s linear, box-shadow 0.08s linear;
  -webkit-tap-highlight-color: transparent;
}

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

#modern-menu .mm-play:active {
  transform: translate(0, 0);
  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;
  text-align: center;
}
