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

#modern-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2147483000;
    display: none;
    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;
    text-align: left;
}

#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: 40px 24px 32px;
    display: flex;
    flex-direction: column;
}

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

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

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

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

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

#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: 44px;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

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

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

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

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

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