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

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

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

#modern-menu,
#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: 48px 24px 40px;
    display: flex;
    flex-direction: column;
}

#modern-menu .mm-stripes {
    display: flex;
    height: 8px;
    margin-bottom: 40px;
    border: 2px solid #111;
}

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

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

#modern-menu .mm-title span {
    display: block;
}

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

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

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

#modern-menu .mm-num {
    flex: 0 0 auto;
    min-width: 40px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

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

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

#modern-menu .mm-section h2 {
    margin: 0 0 6px;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

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

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

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

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

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