/* =================================
   DEL OSCURO SUR — IDENTIDAD WEB
   ================================= */

:root {
    --background: #0b0909;
    --surface: #121010;
    --text: #e8e4e0;
    --muted: #85807d;
    --accent: #a43c35;
    --line: rgba(232, 228, 224, 0.16);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 2000;
    padding: 10px 14px;
    transform: translateY(calc(-100% - 16px));
    background: var(--text);
    color: var(--background);
    font-size: 12px;
}

.skip-link:focus {
    transform: translateY(0);
}

:where(a, button):focus-visible {
    outline: 2px solid var(--text);
    outline-offset: 4px;
}
a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

::selection {
    background: var(--accent);
    color: white;
}

/* NAVEGACIÓN */

.topbar {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 82px;
    padding: 0 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.wordmark,
.footer-logo {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.09em;
}

.wordmark span,
.footer-logo span {
    color: var(--accent);
}

.navigation {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2.1vw, 30px);
}

.navigation a {
    color: #aaa4a0;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.navigation a:hover {
    color: white;
}

.edition {
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 0.15em;
    white-space: nowrap;
}

/* PORTADA PRINCIPAL */

.hero {
    position: relative;
    min-height: 760px;
    min-height: 100svh;
    padding: 150px 9vw 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(
            ellipse at 72% 45%,
            rgba(105, 29, 27, 0.20),
            transparent 38%
        ),
        radial-gradient(
            ellipse at 48% 110%,
            rgba(89, 37, 32, 0.15),
            transparent 42%
        ),
        #0b0909;
}

.hero-photo {
    display: block;
    position: absolute;
    z-index: 1;
    top: 46%;
    right: calc(clamp(0px, calc(390px - 21vw), 6.5vw) + 2vw);
    width: clamp(260px, 22vw, 410px);
    aspect-ratio: 3 / 2;
    transform: translateY(-50%);
    object-fit: cover;
    object-position: center;
    border: 1px solid rgba(214, 205, 201, 0.26);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
    pointer-events: none;
}
/* Textura abstracta creada con CSS */

.hero-texture {
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    background:
        repeating-linear-gradient(
            116deg,
            transparent 0 74px,
            rgba(220, 210, 205, 0.018) 75px,
            transparent 77px 130px
        ),
        radial-gradient(
            ellipse at 74% 48%,
            transparent 0 12%,
            rgba(0, 0, 0, 0.20) 48%,
            rgba(0, 0, 0, 0.50) 100%
        );
}

.hero-texture::before {
    content: "";
    position: absolute;
    width: 55vw;
    height: 55vw;
    max-width: 780px;
    max-height: 780px;
    right: -10%;
    top: 5%;
    border-radius: 50%;
    border: 1px solid rgba(214, 205, 201, 0.10);
    box-shadow:
        0 0 0 35px rgba(214, 205, 201, 0.018),
        0 0 0 80px rgba(214, 205, 201, 0.015),
        0 0 100px rgba(124, 35, 32, 0.09);
    animation: atmosphere 24s ease-in-out infinite alternate;
}

.hero-texture::after {
    content: "";
    position: absolute;
    width: 60%;
    height: 45%;
    right: -5%;
    top: 25%;
    background:
        radial-gradient(
            ellipse,
            rgba(130, 128, 125, 0.09),
            rgba(72, 68, 67, 0.035) 35%,
            transparent 72%
        );
    filter: blur(35px);
    transform: rotate(-25deg);
    animation: smoke 18s ease-in-out infinite alternate;
}

@keyframes atmosphere {
    from {
        transform: rotate(-8deg) scale(0.97);
    }

    to {
        transform: rotate(8deg) scale(1.04);
    }
}

@keyframes smoke {
    from {
        transform: translate(-3%, 2%) rotate(-25deg);
        opacity: 0.5;
    }

    to {
        transform: translate(3%, -3%) rotate(-18deg);
        opacity: 1;
    }
}

.hero-index,
.hero-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 0.16em;
}

.hero-index {
    position: absolute;
    top: 120px;
    left: 5vw;
    right: 5vw;
}

.hero-content {
    position: static;
    width: min(850px, 100%);
    max-width: 850px;
}

.hero-heading,
.hero-support {
    position: relative;
    z-index: 2;
    animation: reveal 1.1s ease both;
}

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.eyebrow {
    color: #b5aaa5;
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.hero-content .eyebrow {
    margin-bottom: 25px;
}

.hero h1 {
    font-size: clamp(58px, 10.5vw, 150px);
    font-weight: 800;
    line-height: 0.83;
    letter-spacing: -0.085em;
}

.hero h1 span {
    color: transparent;
    -webkit-text-stroke: 1px rgba(232, 228, 224, 0.78);
}

.hero-description {
    max-width: 330px;
    margin-top: 35px;
    color: #aaa4a0;
    font-size: 13px;
    line-height: 1.8;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    margin-top: 28px;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--accent);
    font-size: 10px;
    letter-spacing: 0.14em;
    transition:
        color 0.25s ease,
        gap 0.25s ease;
}

.text-link span {
    color: #cf6b60;
}

.text-link:hover {
    gap: 34px;
    color: #d7a49e;
}

.hero-mark {
    position: absolute;
    top: 43%;
    right: 12%;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: rotate(-24deg);
    opacity: 0.55;
}

.hero-mark span {
    display: block;
    width: 2px;
    height: 70px;
    background: #9c3a34;
}

.hero-mark span:nth-child(2) {
    height: 110px;
    background: #b9b0aa;
}

.hero-mark span:nth-child(3) {
    height: 48px;
}

.hero-footer {
    position: absolute;
    right: 5vw;
    bottom: 35px;
    left: 5vw;
}

.scroll-cue {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
}

.scroll-cue span {
    display: block;
    width: 1px;
    height: 12px;
    background: var(--accent);
    animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* SECCIONES */

.content-section {
    padding: 130px 9vw;
    border-top: 1px solid var(--line);
}

.section-heading {
    margin-bottom: 55px;
}

.section-heading h2 {
    margin: 12px 0;
    font-size: clamp(44px, 7vw, 82px);
    line-height: 1;
    letter-spacing: -0.07em;
}

.section-heading h2 span {
    color: var(--accent);
}

.section-heading > p:last-child {
    margin-top: 16px;
    color: var(--muted);
    font-size: 12px;
}

/* MÚSICA */

.music-section {
    background:
        radial-gradient(
            ellipse at 80% 70%,
            rgba(91, 28, 26, 0.10),
            transparent 45%
        ),
        #0d0b0b;
}

.release-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 9%;
}

.release-art {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    background:
        radial-gradient(
            ellipse at 50% 55%,
            rgba(121, 37, 34, 0.30),
            transparent 45%
        ),
        #110d0d;
    border: 1px solid var(--line);
}

.art-circle {
    position: absolute;
    width: min(68%, 310px);
    aspect-ratio: 1;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(220, 211, 205, 0.48);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow:
        0 0 0 12px rgba(220, 211, 205, 0.025),
        0 0 0 35px rgba(220, 211, 205, 0.025),
        0 0 0 70px rgba(220, 211, 205, 0.018);
}

.art-line {
    position: absolute;
    width: 130%;
    height: 1px;
    top: 50%;
    left: -15%;
    background: var(--accent);
    transform: rotate(-35deg);
    box-shadow: 0 0 24px rgba(164, 60, 53, 0.4);
}

.art-code {
    position: absolute;
    right: 20px;
    bottom: 20px;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 0.18em;
}

.release-info h3 {
    margin-top: 14px;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    letter-spacing: -0.04em;
}

.release-info > p:not(.eyebrow) {
    margin-top: 15px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

/* DIARIO */

.journal-section {
    background: #100e0e;
}

.empty-note {
    padding: 28px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.note-number {
    color: var(--accent);
    font-size: 9px;
    letter-spacing: 0.17em;
}

.empty-note p {
    margin-top: 12px;
    color: #aaa4a0;
    font-size: 13px;
}

/* ARCHIVO */

.archive-composition {
    display: grid;
    grid-template-columns: 1.1fr 0.7fr 1fr;
    gap: 12px;
    min-height: 260px;
}

.archive-fragment {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    border: 1px solid var(--line);
    background-color: #151010;
}

.fragment-one {
    background:
        repeating-linear-gradient(
            145deg,
            transparent 0 18px,
            rgba(255, 255, 255, 0.045) 19px,
            transparent 21px 38px
        ),
        radial-gradient(ellipse at 70% 40%, #38201e, #100b0b 65%);
}

.fragment-two {
    background:
        radial-gradient(ellipse at 50% 50%, #383131, #100e0e 70%);
}

.fragment-three {
    background:
        repeating-linear-gradient(
            65deg,
            transparent 0 22px,
            rgba(164, 60, 53, 0.14) 23px,
            transparent 25px 47px
        ),
        #100b0b;
}

/* VIDEO */

.video-section {
    background: #0d0b0b;
}

.video-placeholder {
    position: relative;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border: 1px solid var(--line);
    background:
        radial-gradient(ellipse at center, #251615, transparent 60%),
        #100c0c;
}

.play-symbol {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    padding-left: 3px;
    border: 1px solid rgba(232, 228, 224, 0.45);
    border-radius: 50%;
    color: #e8e4e0;
    font-size: 12px;
    transition:
        background 0.25s ease,
        border-color 0.25s ease;
}

.video-placeholder:hover .play-symbol {
    background: var(--accent);
    border-color: var(--accent);
}

.video-caption {
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 0.16em;
}

/* ACERCA DE */

.about-section {
    padding: 150px 9vw;
    border-top: 1px solid var(--line);
    background: #151010;
}

.about-section h2 {
    margin-top: 25px;
    font-size: clamp(40px, 7vw, 88px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.07em;
}

.about-section h2 span {
    color: #9b817a;
}

.about-copy {
    max-width: 360px;
    margin-top: 25px;
    color: var(--muted);
    font-size: 12px;
}

/* PIE */

.site-footer {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 35px 5vw;
    border-top: 1px solid var(--line);
}

.site-footer > p,
.back-top,
.copyright {
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 0.14em;
}

.site-footer > p {
    text-align: center;
}

.back-top {
    transition: color 0.2s ease;
}

.back-top:hover {
    color: var(--text);
}

.copyright {
    grid-column: 1 / -1;
    padding-top: 15px;
    border-top: 1px solid var(--line);
}

/* ACCESIBILIDAD */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* TABLET Y CELULAR */

@media (max-width: 900px) {
    .topbar {
        flex-wrap: wrap;
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .navigation {
        order: 3;
        width: 100%;
        overflow-x: auto;
        padding: 8px 0 2px;
        -webkit-overflow-scrolling: touch;
    }

    .navigation a {
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        min-height: 44px;
        padding-inline: 4px;
        white-space: nowrap;
    }

    .release-card {
        gap: 35px;
    }
}

@media (max-width: 600px) {
    body {
        padding-bottom: 84px;
    }

    .topbar {
        min-height: 100px;
        gap: 12px;
    }

    .wordmark {
        font-size: 23px;
    }

    .edition {
        font-size: 8px;
    }

    .navigation {
        gap: 19px;
    }

    .navigation a {
        font-size: 9px;
    }

    .hero {
        min-height: 720px;
        min-height: 100svh;
        padding: 160px 7vw 90px;
    }

    .hero-index {
        top: 135px;
        left: 7vw;
        right: 7vw;
        flex-direction: column;
        gap: 5px;
        font-size: 8px;
    }

    .hero h1 {
        font-size: clamp(54px, 13vw, 82px);
    }

    .hero-description {
        max-width: 270px;
        font-size: 12px;
    }

    .hero-mark {
        top: 26%;
        right: 12%;
        opacity: 0.35;
        transform: rotate(-24deg) scale(0.65);
    }

    .hero-footer {
        right: 7vw;
        left: 7vw;
        bottom: 30px;
        font-size: 8px;
    }

    .content-section {
        padding: 85px 7vw;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .release-card {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .release-art {
        min-height: 300px;
    }

    .archive-composition {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .archive-fragment {
        min-height: 160px;
    }

    .fragment-three {
        grid-column: 1 / -1;
    }

    .video-placeholder {
        min-height: 240px;
    }

    .about-section {
        padding: 95px 7vw;
    }

    .site-footer {
        grid-template-columns: 1fr auto;
        gap: 15px;
        padding: 28px 7vw;
    }

    .site-footer > p {
        display: none;
    }

    .copyright {
        font-size: 8px;
    }
    }
    /* Aparición suave de las secciones */

.reveal {
opacity: 0;
transform: translateY(18px);
transition:
opacity 0.8s ease,
transform 0.8s ease;
}

.reveal.is-visible {
opacity: 1;
transform: translateY(0);
}

/* Respetar la preferencia de movimiento reducido */

@media (prefers-reduced-motion: reduce) {
.reveal {
opacity: 1;
transform: none;
transition: none;
}
}
/* ========================================
   DOS — REPRODUCTOR AMBIENTAL
======================================== */

.background-player {
    position: fixed;
    right: 28px;
    bottom: 24px;
    z-index: 1000;
}

#backgroundPlay {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border: 1px solid rgba(232, 228, 224, 0.18);
    background: rgba(11, 9, 9, 0.92);
    color: var(--text);
    font-family: inherit;
    font-size: 10px;
    letter-spacing: 2px;
    cursor: pointer;
    transition:
        border-color 0.35s ease,
        color 0.35s ease,
        background 0.35s ease;
}

#backgroundPlay:hover {
    border-color: rgba(190, 65, 52, 0.65);
    background: rgba(18, 13, 13, 0.96);
}

#backgroundPlay:focus-visible {
    outline: 1px solid var(--accent);
    outline-offset: 4px;
}

#backgroundPlayIcon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 12px;
    font-size: 12px;
}

/* El botón indica que la música está activa */

#backgroundPlay.is-playing {
    border-color: rgba(190, 65, 52, 0.45);
}

#backgroundPlay.is-playing #backgroundPlayIcon {
    color: var(--accent);
}

/* Indicador animado de audio */

.sound-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 15px;
    height: 15px;
}

.sound-indicator span {
    display: block;
    width: 2px;
    height: 4px;
    background: currentColor;
    opacity: 0.45;
    transform-origin: center;
}

#backgroundPlay.is-playing .sound-indicator {
    color: var(--accent);
}

#backgroundPlay.is-playing .sound-indicator span {
    opacity: 1;
    animation: dosSoundWave 0.8s ease-in-out infinite alternate;
}

.background-audio-status {
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    width: max-content;
    max-width: min(82vw, 320px);
    padding: 8px 10px;
    border: 1px solid rgba(232, 228, 224, 0.16);
    background: rgba(11, 9, 9, 0.94);
    color: var(--text);
    font-size: 11px;
    line-height: 1.4;
}

.background-audio-status[data-state="error"] { color: #ffaaa4; }

#backgroundPlay.is-playing .sound-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

#backgroundPlay.is-playing .sound-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dosSoundWave {
    from {
        transform: scaleY(0.6);
    }

    to {
        transform: scaleY(3);
    }
}

/* Movimiento reducido para quien lo prefiera */

@media (prefers-reduced-motion: reduce) {
    #backgroundPlay,
    #backgroundPlay.is-playing .sound-indicator span {
        animation: none;
        transition: none;
    }
}

/* Adaptación para móviles */

@media (max-width: 600px) {
    .background-player {
        right: max(14px, env(safe-area-inset-right));
        bottom: max(14px, env(safe-area-inset-bottom));
    }

    #backgroundPlay {
        gap: 9px;
        padding: 12px;
        font-size: 9px;
        letter-spacing: 1.5px;
    }
}

/* DIARIO — BLOG */

.journal-feed {
    width: 100%;
}

.journal-card {
    display: grid;
    grid-template-columns: minmax(125px, 0.28fr) minmax(0, 1fr);
    gap: 28px;
    padding: 30px 0;
    border-top: 1px solid var(--line);
}

.journal-card:last-child {
    border-bottom: 1px solid var(--line);
}

.journal-card__date {
    padding-top: 6px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.journal-card__title {
    font-family: inherit;
    font-size: clamp(21px, 2.7vw, 32px);
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: -0.025em;
    text-transform: none;
    text-wrap: balance;
}

.journal-card__title a {
    transition: color 0.2s ease;
}

.journal-card__title a:hover {
    color: #d7a49e;
}

.journal-card__summary {
    max-width: 64ch;
    margin-top: 12px;
    color: #aaa4a0;
    font-size: 14px;
    line-height: 1.75;
}

.journal-card__read {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    margin-top: 10px;
    color: var(--text);
    font-size: 9px;
    letter-spacing: 0.14em;
}

.journal-card__read span:last-child {
    color: #cf6b60;
}

.journal-all-link {
    margin-top: 24px;
}

.journal-archive-main {
    min-height: 75vh;
    padding: 155px 9vw 110px;
}

.journal-archive-heading {
    max-width: 980px;
    margin: 0 auto 48px;
}

.journal-archive-heading h1 {
    margin: 12px 0;
    font-size: clamp(48px, 8vw, 88px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.07em;
}

.journal-archive-heading h1 span {
    color: var(--accent);
}

.journal-archive-heading > p:last-child {
    margin-top: 16px;
    color: var(--muted);
    font-size: 14px;
}

.journal-archive-main .journal-feed {
    max-width: 980px;
    margin: 0 auto;
}

.journal-empty-archive {
    padding: 28px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: #aaa4a0;
}

.journal-page-main {
    min-height: 75vh;
    padding: 150px 7vw 110px;
}

.journal-breadcrumb {
    max-width: 72ch;
    margin: 0 auto 42px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.journal-breadcrumb a:hover,
.journal-article-back a:hover {
    color: var(--text);
}

.journal-article {
    max-width: 72ch;
    margin: 0 auto;
}

.journal-article-header {
    margin-bottom: 42px;
}

.journal-article-date {
    display: block;
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.journal-article-title {
    font-family: inherit;
    font-size: clamp(38px, 7vw, 72px);
    font-weight: 400;
    line-height: 1.06;
    letter-spacing: -0.035em;
    text-transform: none;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.journal-article-summary {
    max-width: 60ch;
    margin-top: 20px;
    color: var(--muted);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.65;
}

.journal-prose {
    color: #d0cbc7;
    font-size: clamp(17px, 1.25vw, 19px);
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.journal-prose > * + * {
    margin-top: 1.35em;
}

.journal-prose h2,
.journal-prose h3 {
    margin-top: 2em;
    color: var(--text);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.journal-prose h2 {
    font-size: clamp(25px, 4vw, 36px);
}

.journal-prose h3 {
    font-size: clamp(21px, 3vw, 28px);
}

.journal-prose ul,
.journal-prose ol {
    padding-left: 1.4em;
}

.journal-prose li + li {
    margin-top: 0.55em;
}

.journal-prose blockquote {
    padding-left: 20px;
    border-left: 2px solid var(--accent);
    color: #b8afaa;
}

.journal-prose a {
    color: var(--text);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 4px;
}

.journal-prose img {
    display: block;
    width: 100%;
    height: auto;
}

.journal-prose figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.journal-article-back {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 60px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.journal-page .site-footer {
    margin-top: 0;
}

@media (max-width: 600px) {
    .journal-card {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 24px 0;
    }

    .journal-card__date {
        padding-top: 0;
    }

    .journal-archive-main {
        padding: 140px 7vw 95px;
    }

    .journal-archive-heading {
        margin-bottom: 34px;
    }

    .journal-page-main {
        padding: 135px 7vw 90px;
    }

    .journal-breadcrumb {
        margin-bottom: 32px;
    }

    .journal-article-header {
        margin-bottom: 32px;
    }

    .journal-prose {
        font-size: 17px;
        line-height: 1.78;
    }

    .journal-article-back {
        flex-direction: column;
        gap: 6px;
        margin-top: 44px;
    }
}



/* Composición adaptable de la imagen de portada */
@media (max-width: 900px) and (min-width: 601px) {
    .hero-content {
        max-width: 52vw;
    }

    .hero-photo {
        top: 50%;
        right: 5vw;
        width: min(34vw, 290px);
    }
}

@media (max-width: 600px) {
    .hero-content {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }

    .hero-photo {
        position: relative;
        top: auto;
        right: auto;
        width: min(54vw, 220px);
        transform: none;
        align-self: flex-end;
        margin: 18px 2vw 24px 0;
        opacity: 1;
    }

    .hero-support {
        animation-delay: 0.08s;
    }
}

/* Archivo: carrusel visual */
.archive-carousel {
    position: relative;
}

.archive-viewport {
    overflow: hidden;
    touch-action: pan-y;
}

.archive-composition {
    --visible-slides: 3;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 24px) / 3);
    gap: 12px;
    min-height: 0;
    transition: transform 650ms cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

.archive-fragment {
    position: relative;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #151010;
}

.archive-fragment img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.archive-fragment figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 32px 14px 13px;
    color: #f0ece8;
    background: linear-gradient(transparent, rgba(8, 7, 7, 0.88));
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.archive-carousel-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.12em;
}

.archive-carousel-controls button,
.release-art__controls button {
    min-width: 44px;
    min-height: 44px;
    border: 1px solid var(--line);
    color: var(--text);
    background: rgba(13, 11, 11, 0.82);
    cursor: pointer;
}

.archive-carousel-controls button:hover,
.release-art__controls button:hover,
.release-art__controls button[aria-pressed="true"] {
    border-color: var(--accent);
    color: #fff;
}

.release-art {
    position: relative;
    min-height: 0;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #110d0d;
}

.release-art__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 700ms ease;
}

.release-art__image.is-active {
    opacity: 1;
}

.release-art__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(transparent 55%, rgba(8, 7, 7, 0.72));
}

.release-art__overlay .art-code {
    position: static;
    color: #f1ece7;
}

.release-art__controls {
    display: flex;
    gap: 6px;
}

@media (max-width: 900px) {
    .archive-composition {
        --visible-slides: 2;
        grid-auto-columns: calc((100% - 12px) / 2);
    }

    .release-art {
        min-height: 0;
    }
}

@media (max-width: 600px) {
    .archive-composition {
        --visible-slides: 1;
        grid-auto-columns: 100%;
    }

    .hero-photo {
        align-self: center;
        width: min(62vw, 250px);
        margin: 16px 0 22px;
    }

    .archive-carousel-controls {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .archive-composition,
    .release-art__image {
        transition: none;
    }
}

.archive-composition { grid-template-columns: none; }


/* Créditos finales */
.footer-credits {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 24px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: #d0c9c3;
    font-size: 11px;
    letter-spacing: 0.12em;
}

.footer-credits a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}

.footer-credits a:hover {
    color: var(--text);
}

@media (max-width: 900px) {
    .footer-credits {
        gap: 10px 16px;
        font-size: 10px;
    }
}
/* Carrusel con todas las entradas del Diario en Inicio */
.journal-carousel__viewport {
    overflow: hidden;
    touch-action: pan-y;
}

.journal-carousel__track {
    --visible-slides: 3;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 36px) / 3);
    gap: 18px;
    align-items: stretch;
    transition: transform 650ms cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

.journal-carousel__slide {
    display: flex;
    min-width: 0;
}

.journal-carousel .journal-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 250px;
    padding: 24px;
    border: 1px solid var(--line);
    background: rgba(13, 11, 11, 0.72);
}

.journal-carousel .journal-card:last-child {
    border-bottom: 1px solid var(--line);
}

.journal-carousel .journal-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
}

.journal-carousel .journal-card__title {
    font-size: clamp(20px, 2vw, 27px);
}

.journal-carousel .journal-card__summary {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.journal-carousel .journal-card__read {
    margin-top: auto;
    padding-top: 18px;
}

.journal-carousel-controls {
    justify-content: space-between;
}

.journal-carousel-controls [data-journal-status] {
    flex: 1;
    text-align: center;
    letter-spacing: 0.16em;
}

.journal-carousel-controls [data-journal-pause] {
    min-width: 84px;
}

@media (max-width: 900px) {
    .journal-carousel__track {
        --visible-slides: 2;
        grid-auto-columns: calc((100% - 18px) / 2);
    }
}

@media (max-width: 600px) {
    .journal-carousel__track {
        --visible-slides: 1;
        grid-auto-columns: 100%;
    }

    .journal-carousel .journal-card {
        min-height: 225px;
        padding: 22px;
    }

    .journal-carousel-controls {
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .journal-carousel__track {
        transition: none;
    }
}
/* FORMAS DE ACOMPAÑAR */
.support-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
    align-items: end;
    gap: clamp(28px, 7vw, 110px);
    margin-top: 24px;
}

.support-heading h2 {
    margin-top: 0;
}

.support-lead {
    max-width: 42ch;
    padding-bottom: 8px;
    color: #b3aca7;
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.75;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: clamp(40px, 6vw, 72px);
}

.support-card {
    display: flex;
    min-width: 0;
    min-height: 275px;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid var(--line);
    background:
        radial-gradient(ellipse at 100% 0%, rgba(164, 60, 53, 0.09), transparent 48%),
        rgba(9, 8, 8, 0.4);
}

.support-card__eyebrow {
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 0.15em;
}

.support-card__eyebrow span {
    color: var(--accent);
}

.support-card h3 {
    max-width: 22ch;
    margin-top: 28px;
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.support-card > p:not(.support-card__eyebrow) {
    max-width: 48ch;
    margin-top: 13px;
    color: #aaa4a0;
    font-size: 13px;
    line-height: 1.75;
}

.support-action {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
    color: var(--text);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

a.support-action {
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 7px;
}

a.support-action:hover {
    color: #d7a49e;
}

.support-action--pending {
    border: 0;
    background: transparent;
    color: #827a75;
    font: inherit;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: not-allowed;
}

.support-note {
    max-width: 68ch;
    margin-top: 32px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .support-heading {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .support-lead {
        max-width: 58ch;
    }

    .support-card {
        min-height: 260px;
    }
}

@media (max-width: 600px) {
    .support-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 34px;
    }

    .support-card {
        min-height: 235px;
        padding: 23px;
    }

    .support-card h3 {
        margin-top: 22px;
        font-size: 25px;
    }

    .support-card > p:not(.support-card__eyebrow) {
        font-size: 13px;
    }

    .support-note {
        margin-top: 24px;
    }
}