/* ── Overlay ──────────────────────────────────────── */
.sgn-memorial {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #000;
    display: flex;
    align-items: stretch;
    cursor: pointer;
    transition: opacity 1.1s ease;
}

.sgn-memorial.is-hiding {
    opacity: 0;
    pointer-events: none;
}

/* ── Columna izquierda — foto ─────────────────────── */
.sgn-memorial__photo-col {
    flex: 0 0 48%;
    overflow: hidden;
    opacity: 0;
    animation: sgn-mem-photo 1.8s ease forwards;
    animation-delay: 0.2s;
}

.sgn-memorial__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    filter: grayscale(10%);
}

/* ── Columna derecha — texto ──────────────────────── */
.sgn-memorial__text-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 56px 60px 52px;
    gap: 0;
}

/* ── Elementos de texto ───────────────────────────── */
.sgn-memorial__label {
    margin: 0 0 14px;
    opacity: 0;
    animation: sgn-mem-emerge 0.9s ease forwards;
    animation-delay: 1.2s;
    font-family: 'Roboto Mono', 'Source Code Pro', monospace;
    font-weight: 300;
    font-size: 11px;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.sgn-memorial__name {
    margin: 0 0 6px;
    opacity: 0;
    animation: sgn-mem-emerge 0.9s ease forwards;
    animation-delay: 1.8s;
    font-family: 'Roboto Mono', 'Source Code Pro', monospace;
    font-weight: 300;
    font-size: 42px;
    letter-spacing: 0.04em;
    color: #fff;
    line-height: 1.2;
    text-transform: none;
}

.sgn-memorial__role {
    margin: 0 0 36px;
    opacity: 0;
    animation: sgn-mem-emerge 0.9s ease forwards;
    animation-delay: 2.3s;
    font-family: 'Roboto Mono', 'Source Code Pro', monospace;
    font-weight: 300;
    font-size: 12px;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.70);
}

.sgn-memorial__divider {
    width: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
    margin-bottom: 32px;
    animation: sgn-mem-line 0.8s ease forwards;
    animation-delay: 2.7s;
}

.sgn-memorial__text {
    margin: 0 0 28px;
    opacity: 0;
    animation: sgn-mem-emerge 1s ease forwards;
    animation-delay: 3.2s;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
    max-width: 480px;
}

.sgn-memorial__closing {
    margin: 0;
    opacity: 0;
    animation: sgn-mem-emerge 0.9s ease forwards;
    animation-delay: 4.0s;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 20px;
    font-style: italic;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.95);
}

/* ── Hint ─────────────────────────────────────────── */
.sgn-memorial__hint {
    position: absolute;
    bottom: 28px;
    right: 36px;
    opacity: 0;
    animation: sgn-mem-emerge 0.8s ease forwards;
    animation-delay: 5.0s;
    font-family: 'Roboto Mono', 'Source Code Pro', monospace;
    font-weight: 300;
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.2);
}

/* ── Keyframes ────────────────────────────────────── */
@keyframes sgn-mem-photo {
    from { opacity: 0; transform: scale(1.03); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes sgn-mem-emerge {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes sgn-mem-line {
    from { width: 0; }
    to   { width: 48px; }
}

/* ── Mobile ───────────────────────────────────────── */
@media (max-width: 768px) {
    .sgn-memorial {
        flex-direction: column;
    }

    .sgn-memorial__photo-col {
        flex: 0 0 42%;
    }

    .sgn-memorial__text-col {
        flex: 1;
        padding: 28px 28px 48px;
        overflow-y: auto;
    }

    .sgn-memorial__name {
        font-size: 22px;
    }

    .sgn-memorial__text {
        font-size: 12px;
    }

    .sgn-memorial__hint {
        bottom: 16px;
        right: 20px;
    }
}
