
.guide-screen {
    position: fixed;
    inset: 0;
    z-index: 2300;
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
    color: #242424;
    opacity: 0;
    visibility: hidden;
    transition: opacity 900ms ease, visibility 900ms ease;
}

.guide-screen.visible {
    opacity: 1;
    visibility: visible;
}

.guide-screen[hidden] {
    display: none;
}

.guide-screen .persistent-bernard-mark {
    position: fixed;
    top: 26px;
    left: 30px;
    z-index: 3;
}

.guide-header {
    position: sticky;
    top: 0;
    z-index: 2;
    min-height: 84px;
    padding: 0 clamp(28px, 5vw, 82px);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    border-bottom: 1px solid rgba(20, 20, 20, .10);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
}

.guide-back-button {
    justify-self: start;
    border: 0;
    background: transparent;
    color: #333;
    font: inherit;
    font-size: 10px;
    letter-spacing: .28em;
    cursor: pointer;
}

.guide-system-title {
    grid-column: 2;
    margin: 0;
    font-size: 11px;
    letter-spacing: .42em;
}

.guide-content {
    width: min(860px, calc(100% - 48px));
    margin: 0 auto;
    padding: clamp(64px, 8vw, 110px) 0 80px;
}

.guide-content h1 {
    margin: 0 0 62px;
    text-align: center;
    font-size: clamp(18px, 2.2vw, 28px);
    font-weight: 400;
    letter-spacing: .20em;
    line-height: 1.5;
}

.guide-section {
    padding: 28px 0;
    border-top: 1px solid rgba(20, 20, 20, .10);
}

.guide-section h2 {
    margin: 0 0 15px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .30em;
}

.guide-section p {
    margin: 0 0 11px;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: .055em;
    line-height: 1.85;
}

.guide-section p:last-child {
    margin-bottom: 0;
}

.guide-section strong {
    font-weight: 500;
    letter-spacing: .16em;
}

.guide-final {
    margin: 56px 0 0;
    text-align: center;
    font-size: 12px;
    letter-spacing: .30em;
    text-transform: uppercase;
}

/* Four main-room destinations. */
#bernard .bernard-navigation {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

@media (max-width: 700px) {
    #bernard .bernard-navigation {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }

    #bernard .main-module-text {
        font-size: 5.6px !important;
        letter-spacing: .75px !important;
    }

    .guide-screen .persistent-bernard-mark {
        top: 20px;
        left: 18px;
    }

    .guide-header {
        min-height: 72px;
        padding: 0 16px;
    }

    .guide-back-button {
        font-size: 8px;
        letter-spacing: .18em;
    }

    .guide-system-title {
        font-size: 9px;
        letter-spacing: .28em;
    }

    .guide-content {
        width: calc(100% - 36px);
        padding: 48px 0 54px;
    }

    .guide-content h1 {
        margin-bottom: 38px;
        font-size: 16px;
        letter-spacing: .13em;
    }

    .guide-section {
        padding: 22px 0;
    }

    .guide-section p {
        font-size: 12px;
        line-height: 1.75;
    }
}
