:root {
    --rojo: #e00018;
    --blanco: #f5f2ed;
    --gris: #aaa7a3;
    --negro: #000;
}

.pagina-yesterday {
    background: #000;
    color: var(--blanco);
    font-family: Arial, Helvetica, sans-serif;
}

.pagina-yesterday a { color: inherit; }

.barra-historia {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px clamp(20px, 5vw, 72px);
    background: linear-gradient(to bottom, rgba(0,0,0,.82), transparent);
    pointer-events: none;
}

.barra-historia a { pointer-events: auto; text-decoration: none; }

.marca-historia {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -.06em;
}

.marca-historia strong { color: var(--rojo); }

.volver-historia {
    color: rgba(255,255,255,.72) !important;
    font-size: .92rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-yesterday {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: #050505;
}

.hero-foto {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% center;
    filter: grayscale(1) contrast(1.08) brightness(.68);
    transform: scale(1.03);
}

.velo-hero {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.58) 45%, rgba(0,0,0,.1) 78%),
        linear-gradient(to top, #000 0%, transparent 33%, rgba(0,0,0,.25) 100%);
}

.hero-contenido {
    position: relative;
    z-index: 2;
    width: min(1180px, 88%);
    padding-top: 8vh;
}

.serie,
.etiqueta {
    color: #d5d0ca;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .24em;
}

.hero-yesterday h1 {
    margin: .18em 0 0;
    max-width: 800px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(5rem, 15vw, 11rem);
    font-weight: 400;
    line-height: .82;
    letter-spacing: -.07em;
}

.subtitulo-yesterday {
    margin: 24px 0 54px;
    color: #d7d0c8;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-style: italic;
}

.frase-apertura {
    max-width: 660px;
    padding-left: 22px;
    border-left: 2px solid var(--rojo);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.45rem, 3.2vw, 2.45rem);
    line-height: 1.32;
}

.frase-apertura p { margin: 0 0 7px; }
.frase-apertura em { color: #fff; }

.bajar {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-top: 62px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    animation: flotar 2.2s ease-in-out infinite;
}

.relato-yesterday { overflow: hidden; }

.capitulo {
    width: min(720px, 86%);
    margin: 0 auto;
    padding: clamp(80px, 12vw, 150px) 0;
}

.apertura-relato { padding-top: clamp(110px, 15vw, 190px); }

.capitulo p {
    margin: 0 0 1.3em;
    color: #bbb7b2;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.18rem, 2.3vw, 1.48rem);
    line-height: 1.9;
}

.capitulo .inicial {
    color: #fff;
    font-size: clamp(1.8rem, 4.2vw, 3rem);
    line-height: 1.38;
}

.numero {
    margin-bottom: 22px !important;
    color: var(--rojo) !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: .82rem !important;
    font-weight: 700;
    letter-spacing: .22em;
}

.capitulo h2,
.escucha h2,
.poema h2 {
    margin: 0 0 36px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.04em;
}

.destacado {
    margin-top: 52px !important;
    padding: 28px 0 28px 28px;
    border-left: 2px solid var(--rojo);
    color: #fff !important;
    font-size: clamp(1.35rem, 3vw, 2rem) !important;
    line-height: 1.5 !important;
}

.palabra-yesterday {
    margin: 54px 0 !important;
    color: #fff !important;
    font-size: clamp(3.8rem, 12vw, 7.5rem) !important;
    font-style: italic;
    line-height: 1 !important;
    letter-spacing: -.06em;
}

.imagen-cinematica {
    position: relative;
    width: min(1180px, 92%);
    min-height: 62vh;
    margin: 20px auto 60px;
    overflow: hidden;
    background: #111;
}

.imagen-cinematica img {
    width: 100%;
    height: 72vh;
    display: block;
    object-fit: cover;
    object-position: center 32%;
    filter: grayscale(1) contrast(1.08) brightness(.78);
    transition: transform 1.4s ease, filter 1.4s ease;
}

.imagen-cinematica:hover img { transform: scale(1.025); filter: grayscale(.75) contrast(1.05) brightness(.86); }
.imagen-cinematica figcaption { padding: 15px 4px; color: #777; font-size: .82rem; }
.imagen-cinematica.panoramica img { object-position: center center; }

.interludio {
    width: 100%;
    padding: clamp(120px, 18vw, 230px) 8%;
    text-align: center;
    background: radial-gradient(circle at center, #260006 0, #080000 30%, #000 67%);
}

.interludio p {
    margin: .25em 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 5.5vw, 5.2rem);
    line-height: 1.2;
}

.interludio p:last-child { color: #c9c2ba; font-style: italic; }

.escucha {
    width: min(940px, 90%);
    margin: 70px auto 150px;
    padding: clamp(60px, 10vw, 110px);
    border: 1px solid #242424;
    text-align: center;
    background: linear-gradient(145deg, #090909, #020202);
}

.escucha .etiqueta,
.poema .etiqueta { color: var(--rojo); }

.escucha h2 { margin-top: 18px; }

.boton-yesterday {
    display: inline-block;
    margin-top: 15px;
    padding: 17px 28px;
    border: 1px solid var(--rojo);
    border-radius: 999px;
    background: var(--rojo);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 0 35px rgba(224,0,24,.22);
    transition: transform .2s ease, box-shadow .25s ease, background .25s ease;
}

.boton-yesterday:hover { transform: translateY(-3px); background: #f1162d; box-shadow: 0 0 48px rgba(224,0,24,.42); }
.nota-enlace { margin-top: 18px; color: #777; font-size: .82rem; }

.poema {
    width: min(900px, 90%);
    margin: 0 auto;
    padding: clamp(90px, 14vw, 170px) clamp(24px, 7vw, 88px);
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    background: radial-gradient(circle at 20% 10%, #190004, #030303 44%, #000 75%);
}

.poema h2 { margin: 18px 0 8px; }
.dedicatoria { margin: 0 0 62px; color: #8c8782; font-family: Georgia, "Times New Roman", serif; font-style: italic; }

.versos p {
    margin: 0 0 2em;
    color: #ddd7d0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.18rem, 2.6vw, 1.68rem);
    line-height: 1.85;
}

.versos .ultimo-verso { color: #fff; font-size: clamp(1.7rem, 4vw, 2.7rem); font-style: italic; }

.cierre-yesterday {
    width: min(860px, 88%);
    margin: 0 auto;
    padding: clamp(130px, 18vw, 240px) 0;
    text-align: center;
}

.cierre-yesterday p {
    margin: .45em 0;
    color: #aaa5a0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.5rem, 4vw, 3.2rem);
    line-height: 1.45;
}

.cierre-yesterday p:first-child { margin-bottom: 1.2em; color: #fff; font-size: clamp(2.8rem, 7vw, 6rem); }

.fuentes {
    width: min(840px, 88%);
    margin: 0 auto 100px;
    padding-top: 34px;
    border-top: 1px solid #1f1f1f;
}

.fuentes h2 { font-size: 1rem; letter-spacing: .15em; text-transform: uppercase; }
.fuentes p { color: #696969; font-size: .82rem; line-height: 1.75; }
.fuentes a { color: #999; }

.footer-yesterday {
    padding: 64px 20px;
    border-top: 1px solid #171717;
    text-align: center;
}

.marca-final { display: inline-block; margin-bottom: 15px; font-size: 2rem; font-weight: 700; letter-spacing: -.08em; text-decoration: none; }
.marca-final strong { color: var(--rojo); }
.footer-yesterday p { margin: 7px; color: #626262; }

.revelar { opacity: 0; transform: translateY(34px); transition: opacity .9s ease, transform .9s ease; }
.revelar.visible { opacity: 1; transform: none; }

@keyframes flotar { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

@media (max-width: 700px) {
    .barra-historia { padding: 18px 17px; }
    .hero-contenido { width: 90%; padding-top: 12vh; }
    .hero-foto { object-position: 64% center; }
    .velo-hero { background: linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.3)), linear-gradient(to top, #000 0%, transparent 45%); }
    .serie { max-width: 260px; line-height: 1.6; }
    .frase-apertura { padding-left: 16px; }
    .imagen-cinematica { width: 100%; min-height: 0; }
    .imagen-cinematica img { height: 58vh; }
    .imagen-cinematica figcaption { padding-left: 16px; }
    .escucha { width: 92%; padding: 60px 24px; }
    .poema { width: 94%; }
}

@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; }
    .revelar { opacity: 1; transform: none; transition: none; }
    .bajar { animation: none; }
}
