/* Modernist start screen overlay. Every selector is scoped under #modern-menu or uses the mm- prefix. */

#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;
    transition: opacity 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}

#modern-menu.mm-leaving {
    opacity: 0;
    pointer-events: none;
}

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

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

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

.mm-swatches {
    display: flex;
    gap: 6px;
    margin: 0 0 18px;
}

.mm-swatch {
    display: block;
    width: 14px;
    height: 14px;
    border: 2px solid #111;
}

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

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

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

.mm-section {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 12px;
    margin: 0;
    padding: 18px 0;
    border-bottom: 2px solid #111;
}

.mm-num {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

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

.mm-h {
    margin: 2px 0 6px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

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

.mm-play {
    width: 100%;
    height: 64px;
    margin: 28px 0 0;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 2px solid #111;
    border-radius: 0;
    background: #111;
    color: #f2f0ea;
    font-family: inherit;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.08s ease, box-shadow 0.08s ease;
    -webkit-appearance: none;
    appearance: none;
}

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

.mm-play:active {
    transform: translate(0, 0);
    box-shadow: none;
}

.mm-play:focus {
    outline: none;
}

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

.mm-arrow {
    width: 30px;
    height: 20px;
    flex: 0 0 auto;
}
