/* Modernist start screen overlay. Everything is scoped to #modern-menu and uses mm- classes. */

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

#modern-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2147483000;
    background: #f2f0ea;
    color: #111;
    font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

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

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

#modern-menu .mm-kicker {
    margin: 12px 0 0;
    padding: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #77746c;
}

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

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

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

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

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

#modern-menu .mm-num {
    margin: 0;
    padding: 0;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #e4002b;
}

#modern-menu .mm-section:nth-child(2) .mm-num {
    color: #00a651;
}

#modern-menu .mm-section:nth-child(3) .mm-num {
    color: #0057b8;
}

#modern-menu .mm-section-title {
    margin: 2px 0 0;
    padding: 0;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #111;
}

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

#modern-menu .mm-play {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 28px 0 0;
    padding: 0 22px;
    height: 68px;
    border: 2px solid #111;
    border-radius: 0;
    background: #111;
    color: #f2f0ea;
    font-family: inherit;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    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 svg {
    display: block;
    flex: 0 0 auto;
}

#modern-menu .mm-foot {
    margin: auto 0 0;
    padding: 24px 0 0;
    font-size: 13px;
    line-height: 1.4;
    color: #77746c;
}

@media (max-width: 360px) {
    #modern-menu .mm-section {
        grid-template-columns: 44px 1fr;
    }

    #modern-menu .mm-num {
        font-size: 24px;
    }
}
