/* Modernist start screen overlay. Everything is scoped to #modern-menu (classes prefixed mm-). */

#modern-menu {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    box-sizing: border-box;
    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 !important;
}

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

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

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

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

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

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

#modern-menu .mm-num {
    flex: 0 0 auto;
    width: 28px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.5;
}

#modern-menu .mm-section:nth-of-type(1) .mm-num {
    color: #e4002b;
}

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

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

#modern-menu .mm-p {
    margin: 6px 0 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-top: 28px;
    height: 64px;
    padding: 0 22px;
    border: 2px solid #111;
    border-radius: 0;
    background: #111;
    color: #f2f0ea;
    font: inherit;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.08s ease, box-shadow 0.08s ease;
    -webkit-tap-highlight-color: transparent;
}

#modern-menu .mm-play svg {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
}

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

#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: 3px;
}
