/* Modernist start overlay. Everything lives under #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;
    display: flex;
    overflow-x: hidden;
    overflow-y: auto;
    background: #f2f0ea;
    color: #111;
    font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
    touch-action: pan-y;
    -webkit-font-smoothing: antialiased;
}

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

#modern-menu .mm-col {
    width: 100%;
    max-width: 480px;
    margin: auto;
    padding: 24px;
}

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

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

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

#modern-menu .mm-section {
    display: grid;
    grid-template-columns: 56px 1fr;
    align-items: start;
    padding: 16px 0;
    border-bottom: 2px solid #111;
}

#modern-menu .mm-num {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

#modern-menu .mm-num--red {
    color: #e4002b;
}

#modern-menu .mm-num--blue {
    color: #0057b8;
}

#modern-menu .mm-h {
    margin: 2px 0 6px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

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

#modern-menu .mm-play {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 32px 0 0;
    padding: 18px 20px;
    border: 2px solid #111;
    border-radius: 0;
    background: #111;
    color: #f2f0ea;
    font: inherit;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    touch-action: manipulation;
    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 {
    outline: none;
}

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

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

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