/* Modernist start screen overlay. Everything is scoped to #modern-menu and 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;
    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[hidden] {
    display: none;
}

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

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

#modern-menu .mm-strip span {
    flex: 1 1 0;
    display: block;
}

#modern-menu .mm-strip .r { background: #e4002b; }
#modern-menu .mm-strip .g { background: #00a651; }
#modern-menu .mm-strip .y { background: #ffc800; }
#modern-menu .mm-strip .b { background: #0057b8; }

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

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

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

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

#modern-menu .mm-section {
    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: 36px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

#modern-menu .mm-num.r { color: #e4002b; }
#modern-menu .mm-num.g { color: #00a651; }

#modern-menu .mm-section-body {
    min-width: 0;
}

#modern-menu .mm-section h2 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

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

#modern-menu .mm-play {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 72px;
    margin: 32px 0 0;
    padding: 0 24px;
    border: 2px solid #111;
    border-radius: 0;
    background: #111;
    color: #f2f0ea;
    font: inherit;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.08s ease, box-shadow 0.08s ease;
}

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

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

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