/* 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;
    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.mm-hidden {
    display: none;
}

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

/* Probe class used by modern-menu.js to confirm this sheet applied. */
.mm-sentinel {
    display: none;
}

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

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

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

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

#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;
    border: 0;
}

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

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

#modern-menu .mm-num {
    flex: 0 0 auto;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    padding-top: 2px;
    min-width: 2.2em;
}

#modern-menu .mm-num.mm-c1 { color: #e4002b; }
#modern-menu .mm-num.mm-c2 { color: #00a651; }
#modern-menu .mm-num.mm-c3 { color: #b38a00; }
#modern-menu .mm-num.mm-c4 { color: #0057b8; }

#modern-menu .mm-section h2 {
    margin: 0 0 6px;
    font-size: 18px;
    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-spacer {
    flex: 1 1 auto;
    min-height: 32px;
}

#modern-menu .mm-play {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 22px 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.06em;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    -webkit-tap-highlight-color: transparent;
}

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

#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-foot {
    margin: 14px 0 0;
    font-size: 13px;
    color: #77746c;
    text-align: center;
}

@media (max-width: 380px) {
    #modern-menu .mm-col {
        padding: 24px 16px;
    }
    #modern-menu .mm-play {
        font-size: 19px;
    }
}
