/* Modernist start screen overlay. Everything is scoped to #modern-menu. */
#modern-menu,
#modern-menu * {
  box-sizing: border-box;
}

#modern-menu {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  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: pan-y;
}

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

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

#modern-menu .mm-accents {
  display: flex;
  height: 10px;
  margin-bottom: 28px;
}

#modern-menu .mm-accents span {
  flex: 1;
}

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

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

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

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

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

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

#modern-menu .mm-num {
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: #e4002b;
  padding-top: 4px;
  min-width: 26px;
}

#modern-menu .mm-section h2 {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  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 {
  margin-top: auto;
  margin-top: 32px;
  width: 100%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border: 2px solid #111;
  border-radius: 0;
  background: #111;
  color: #f2f0ea;
  font: inherit;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

#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;
}

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

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

@media (prefers-reduced-motion: reduce) {
  #modern-menu .mm-play {
    transition: none;
  }
}
