/* Modernist start screen overlay. Everything is scoped to #modern-menu. */

#modern-menu {
    position: fixed;
    inset: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    overflow-y: auto;
    overflow-x: hidden;
    background: #f2f0ea;
    color: #111;
    font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
    touch-action: pan-y;
    -webkit-text-size-adjust: 100%;
}

#modern-menu.mm-hidden {
    display: none;
}

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

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

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

#modern-menu .mm-tag {
    margin: 16px 0 0;
    font-size: 17px;
    line-height: 1.35;
    color: #77746c;
}

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

#modern-menu .mm-sec {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 2px solid #111;
}

#modern-menu .mm-num {
    flex: 0 0 auto;
    min-width: 34px;
    padding-top: 2px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #e4002b;
}

#modern-menu .mm-sec:nth-of-type(2) .mm-num {
    color: #00a651;
}

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

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

#modern-menu .mm-play {
    margin-top: 28px;
    margin-bottom: 28px;
    width: 100%;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    background: #111;
    color: #f2f0ea;
    border: 2px solid #111;
    border-radius: 0;
    font-family: inherit;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.08s linear, box-shadow 0.08s linear;
}

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

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

#modern-menu .mm-play:active {
    transform: translate(1px, 1px);
}

@media (hover: hover) {
    #modern-menu .mm-play:hover {
        transform: translate(-3px, -3px);
        box-shadow: 4px 4px 0 #e4002b;
    }
}

#modern-menu .mm-bar {
    display: flex;
    flex: 0 0 auto;
    height: 10px;
    margin-top: auto;
}

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

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