* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;

    background: #111;

    font-family: Arial, Helvetica, sans-serif;
}

/* =========================
   STAGE (9:16)
========================= */

.scene {
    position: relative;

    width: min(520px, 90vw);
    aspect-ratio: 9 / 16;

    max-height: 88vh;

    background: #000;

    border: 6px solid #1e1305;
    border-radius: 8px;

    overflow: hidden;
}

/* =========================
   WORLD
========================= */

.world {
    position: absolute;
    inset: 0;
}

/* =========================
   LAYERS
========================= */

.layer {
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;

    transform: translateY(-140%);

    transition: transform 6s cubic-bezier(.22,1,.36,1);

    will-change: transform;
}

/* =========================
   NAVIGATION (12 + LIFT)
   4 columns x 3 rows
========================= */

.sigils {
    position: absolute;

    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);

    display: grid;

    grid-template-columns: repeat(4, auto);
    grid-template-rows: repeat(3, auto);

    gap: 14px 22px;

    z-index: 1000;

    user-select: none;

    align-items: center;
    justify-items: center;
}

.sigils div {

    color: #2a2216;

    font-size: 28px;

    cursor: pointer;

    line-height: 1;

    transition:
        color .25s ease,
        transform .25s ease;
}

.sigils div:hover {
    color: #ad8a6e;
    transform: scale(1.2);
}

.sigils div.active {
    color: #5a4630;
}

/* =========================
   MOBILE
========================= */

@media (max-width:768px){

    .scene{
        width:94vw;
        max-height: 85vh;
    }

    .sigils{
        gap:12px 16px;
        bottom:16px;
    }

    .sigils div{
        font-size:18px;
    }
}

/* =========================
   LIFT ALL CENTER FIX
========================= */

.sigils .lift-all {
    grid-column: 1 / -1;  /* span full width of grid */
    justify-self: center; /* center it visually */
    font-size: 32px;
    margin-top: 4px;
}