/* Modernist start overlay. Every rule is scoped to #modern-menu. */

#modern-menu {
  --mm-bg: #f2f0ea;
  --mm-ink: #111;
  --mm-muted: #77746c;
  --mm-red: #e4002b;
  --mm-green: #00a651;
  --mm-yellow: #ffc800;
  --mm-blue: #0057b8;

  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2147483000;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  background: var(--mm-bg);
  color: var(--mm-ink);
  font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

#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: auto;
  padding: 32px 24px 40px;
  display: flex;
  flex-direction: column;
}

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

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

#modern-menu .mm-chips span:nth-child(1) { background: var(--mm-red); }
#modern-menu .mm-chips span:nth-child(2) { background: var(--mm-green); }
#modern-menu .mm-chips span:nth-child(3) { background: var(--mm-yellow); }
#modern-menu .mm-chips span:nth-child(4) { background: var(--mm-blue); }

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

#modern-menu .mm-title span {
  display: block;
}

#modern-menu .mm-tag {
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.4;
  color: var(--mm-muted);
}

#modern-menu .mm-rule {
  height: 2px;
  margin: 24px 0 0;
  border: 0;
  background: var(--mm-ink);
}

#modern-menu .mm-sec {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: start;
  padding: 20px 0;
  border-bottom: 2px solid var(--mm-ink);
}

#modern-menu .mm-num {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding-top: 2px;
}

#modern-menu .mm-num.mm-a { color: var(--mm-red); }
#modern-menu .mm-num.mm-b { color: var(--mm-blue); }

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

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

#modern-menu .mm-play {
  appearance: none;
  -webkit-appearance: none;
  margin: 32px 0 0;
  width: 100%;
  height: 68px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 2px solid var(--mm-ink);
  border-radius: 0;
  background: var(--mm-ink);
  color: #fff;
  font: inherit;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

#modern-menu .mm-play svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

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

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

#modern-menu .mm-play:focus {
  outline: none;
}

#modern-menu .mm-play:focus-visible {
  outline: 3px solid var(--mm-blue);
  outline-offset: 4px;
}
