/* ==========================================================================
   SYNTHAUROS — visual enhancement layer (loaded after styles.css)
   Same identity (black, blood red, Montserrat + JetBrains Mono), more depth.
   Remove the <link> to enhance.css in templates/header.php to roll back.
   ========================================================================== */

:root {
    --ember: #E85650;
    --blood: #971c1a;
    --deep: #4F1414;
    --char: #0b0707;
    --char-2: #120a0a;
    --line: rgba(232, 86, 80, 0.16);
    --line-strong: rgba(232, 86, 80, 0.38);
    --glow: 0 0 0 1px rgba(232, 86, 80, 0.25), 0 18px 50px -12px rgba(151, 28, 26, 0.55);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --cut: 14px;
}

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

body {
    background: var(--synthauros-black);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* Film grain over everything (static image, no animation cost) */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9000;
    opacity: 0.07;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--blood); color: #fff; }

html { scrollbar-color: var(--deep) #050303; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #050303; }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--deep), var(--blood)); border-radius: 10px; border: 2px solid #050303; }

/* Scroll progress (top of the page) */
.scroll-progress {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 2px;
    z-index: 1101;
    pointer-events: none;
}
.scroll-progress span {
    display: block;
    height: 100%;
    width: 100%;
    transform-origin: 0 50%;
    transform: scaleX(var(--progress, 0));
    background: linear-gradient(90deg, var(--deep), var(--blood) 40%, var(--ember));
    box-shadow: 0 0 12px rgba(232, 86, 80, 0.8);
}

/* ---------------------------------------------------------------- Navbar */
.navbar {
    background: linear-gradient(180deg, rgba(1, 1, 1, 0.92), rgba(1, 1, 1, 0.72));
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid transparent;
    transition: padding 0.4s var(--ease-out), background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.navbar.scrolled {
    background: rgba(4, 2, 2, 0.82);
    border-bottom-color: var(--line);
    box-shadow: 0 10px 40px -20px rgba(151, 28, 26, 0.6);
}
.logo-link { gap: 0.75rem; }
.logo-wordmark {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    letter-spacing: 0.42em;
    color: #f2e9e9;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.navbar.scrolled .logo-wordmark,
.page-article .logo-wordmark,
.page-chronicles .logo-wordmark { opacity: 1; transform: none; }
@media (max-width: 1180px) { .logo-wordmark { display: none; } }

.nav-menu { gap: 1.6rem; }
.nav-link { font-size: 0.78rem; letter-spacing: 0.22em; padding: 6px 0; }
.nav-link::after {
    height: 1px;
    bottom: -2px;
    background: linear-gradient(90deg, var(--blood), var(--ember));
    box-shadow: 0 0 10px var(--ember);
}
.nav-link:hover, .nav-link.active { color: #fff; text-shadow: 0 0 18px rgba(232, 86, 80, 0.55); }

.hamburger span { background: #f2e9e9; }

@media (max-width: 768px) {
    .nav-menu {
        top: 0;
        height: 100vh;
        height: 100dvh;
        justify-content: center;
        padding-top: 70px;
        background:
            radial-gradient(ellipse at 50% 30%, rgba(151, 28, 26, 0.28), transparent 60%),
            rgba(2, 1, 1, 0.97);
        z-index: -1;
    }
    .nav-menu .nav-link {
        font-size: 1.15rem;
        letter-spacing: 0.3em;
        border-bottom: 1px solid var(--line);
        padding: 1.1rem 2rem;
    }
    .nav-menu.active li { animation: menuIn 0.5s var(--ease-out) both; }
    .nav-menu.active li:nth-child(2) { animation-delay: 0.04s; }
    .nav-menu.active li:nth-child(3) { animation-delay: 0.08s; }
    .nav-menu.active li:nth-child(4) { animation-delay: 0.12s; }
    .nav-menu.active li:nth-child(5) { animation-delay: 0.16s; }
    .nav-menu.active li:nth-child(6) { animation-delay: 0.2s; }
    .nav-menu.active li:nth-child(7) { animation-delay: 0.24s; }
}
@keyframes menuIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- Section headings */
.section-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin: 0 0 1.1rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.42em;
    color: var(--ember);
    text-transform: uppercase;
}
.eyebrow-num {
    color: #fff;
    opacity: 0.55;
    letter-spacing: 0.1em;
}
.eyebrow-line {
    width: 42px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ember));
}

.section-title {
    font-size: clamp(2.1rem, 5.2vw, 3.9rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1.02;
    margin-bottom: 1.6rem;
    background: linear-gradient(180deg, #ffffff 30%, #c9b4b4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 6px 30px rgba(151, 28, 26, 0.35));
}
.section-title::before {
    width: 84px;
    height: 2px;
    bottom: -14px;
    background: linear-gradient(90deg, transparent, var(--blood) 20%, var(--ember) 50%, var(--blood) 80%, transparent);
    box-shadow: 0 0 14px rgba(232, 86, 80, 0.7);
    transform: translateX(-50%) scaleX(var(--line-scale, 1));
    transition: transform 1.1s var(--ease-out) 0.15s;
}
.js-reveal .section-title:not(.is-visible)::before { --line-scale: 0; }
.section-subtitle {
    margin-top: 1.9rem;
    font-size: 1.02rem;
    line-height: 1.75;
    color: #b9aaaa;
}

/* Generic reveal for headings that are not animated by AOS */
.js-reveal [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }

/* Sections: hairline between blocks */
main > section + section,
main > section + .surge-marquee,
main > .surge-marquee + section { border-top: 1px solid var(--line); }

/* ---------------------------------------------------------------- Buttons */
.btn-primary, .btn-submit, .btn-newsletter, .btn-play-featured {
    clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
    border-radius: 0 !important;
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s, background 0.35s, color 0.35s, filter 0.35s;
}
.btn-secondary, .btn-explore, .btn-chronicle-nav, .btn-share-testimonial { border-radius: 0 !important; }
.btn-primary, .btn-secondary { padding: 15px 38px; font-size: 0.8rem; letter-spacing: 0.26em; }
.btn-share-testimonial { font-family: var(--font-mono); letter-spacing: 0.22em; font-size: 0.72rem; padding: 0.9rem 1.4rem; border-color: var(--line-strong); background: transparent; }
.btn-share-testimonial:hover { background: var(--blood); border-color: var(--blood); color: #fff; }
.btn-primary {
    background: linear-gradient(135deg, #b3231f, var(--blood) 55%, #6d1312);
    position: relative;
    isolation: isolate;
}
.btn-primary::before, .btn-submit::before, .btn-newsletter::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.8s var(--ease-out);
    z-index: 1;
    pointer-events: none;
}
.btn-primary:hover::before, .btn-submit:hover::before, .btn-newsletter:hover::before { transform: translateX(120%); }
.btn-primary:hover { background: linear-gradient(135deg, #c62a25, #a51f1c 55%, #7a1514); filter: drop-shadow(0 10px 24px rgba(151, 28, 26, 0.6)); }
.btn-secondary { border: 1px solid var(--line-strong); background: rgba(0, 0, 0, 0.35); backdrop-filter: blur(6px); }
.btn-secondary:hover { background: rgba(151, 28, 26, 0.85); border-color: var(--ember); }
.btn-primary .btn-glow { display: none; }
.btn-submit, .btn-newsletter { position: relative; overflow: hidden; }

/* ---------------------------------------------------------------- Hero */
.hero-vignette {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 75% 65% at 50% 45%, transparent 40%, rgba(0, 0, 0, 0.75) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 18%, transparent 70%, #010101 100%);
}
.hero-scanlines {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.18;
    background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0 1px, transparent 1px 3px);
    mix-blend-mode: multiply;
}
.hero-title {
    font-weight: 600;
    background: linear-gradient(180deg, #ffffff 0%, #f1dede 45%, #b13a35 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-description { color: #d6c9c9; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9); }

.hero-hud { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hud-corner {
    position: absolute;
    width: 34px;
    height: 34px;
    border-color: rgba(232, 86, 80, 0.55);
    border-style: solid;
    border-width: 0;
}
.hud-tl { top: 96px; left: 28px; border-top-width: 1px; border-left-width: 1px; }
.hud-tr { top: 96px; right: 28px; border-top-width: 1px; border-right-width: 1px; }
.hud-bl { bottom: 28px; left: 28px; border-bottom-width: 1px; border-left-width: 1px; }
.hud-br { bottom: 28px; right: 28px; border-bottom-width: 1px; border-right-width: 1px; }
.hud-label {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.3em;
    color: rgba(242, 233, 233, 0.62);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
}
.hud-label-tl { top: 104px; left: 76px; }
.hud-label-tr { top: 104px; right: 76px; }
.hud-label-bl { bottom: 36px; left: 76px; }
.hud-label-br { bottom: 36px; right: 76px; color: var(--ember); }
.hud-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ember);
    box-shadow: 0 0 10px var(--ember);
    animation: hudPulse 1.6s ease-in-out infinite;
}
@keyframes hudPulse { 50% { opacity: 0.25; } }

.hero-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: rgba(242, 233, 233, 0.7);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.45em;
    padding-left: 0.45em;
}
.cue-line {
    width: 1px;
    height: 44px;
    background: linear-gradient(180deg, var(--ember), transparent);
    position: relative;
    overflow: hidden;
}
.cue-line::after {
    content: '';
    position: absolute;
    left: 0; top: -40%;
    width: 1px; height: 40%;
    background: #fff;
    animation: cueDrop 1.8s var(--ease-out) infinite;
}
@keyframes cueDrop { to { top: 110%; } }
.hero-scroll-cue:hover { color: #fff; }

@media (max-width: 900px) {
    .hud-label-tr, .hud-label-bl { display: none; }
    .hud-label-tl { left: 60px; top: 92px; }
    .hud-label-br { right: 60px; }
    .hud-tl, .hud-tr { top: 84px; }
    .hud-corner { width: 22px; height: 22px; }
    .hud-tl, .hud-bl { left: 16px; }
    .hud-tr, .hud-br { right: 16px; }
}
@media (max-width: 480px) {
    .hud-label-br { display: none; }
    .hero-scroll-cue { display: none; }
}

/* ---------------------------------------------------------------- Marquee */
.surge-marquee {
    position: relative;
    overflow: hidden;
    background: #050202;
    padding: 1.15rem 0 1rem;
    border-bottom: 1px solid var(--line);
    user-select: none;
}
.surge-marquee::before, .surge-marquee::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 12vw;
    z-index: 2;
    pointer-events: none;
}
.surge-marquee::before { left: 0; background: linear-gradient(90deg, #050202, transparent); }
.surge-marquee::after { right: 0; background: linear-gradient(-90deg, #050202, transparent); }
.marquee-track { display: flex; overflow: hidden; }
.marquee-row {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 2.2rem;
    padding-right: 2.2rem;
    white-space: nowrap;
    animation: marquee 48s linear infinite;
    font-family: var(--font-primary);
    font-weight: 900;
    font-size: clamp(1.3rem, 2.6vw, 2.1rem);
    letter-spacing: 0.08em;
    color: #f2e9e9;
}
.marquee-sep { font-style: normal; color: var(--ember); font-size: 0.7em; text-shadow: 0 0 12px var(--ember); }
.marquee-track--ghost .marquee-row {
    animation-direction: reverse;
    animation-duration: 62s;
    color: transparent;
    -webkit-text-stroke: 1px rgba(232, 86, 80, 0.45);
    font-size: clamp(1rem, 2vw, 1.55rem);
    margin-top: 0.35rem;
}
.marquee-track--ghost .marquee-sep { -webkit-text-stroke: 0; color: rgba(232, 86, 80, 0.4); text-shadow: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- Features (domains) */
.features { min-height: 0; padding: 7rem 0 7.5rem; background-attachment: scroll; }
.features::before { background: linear-gradient(180deg, rgba(1, 1, 1, 0.85) 0%, rgba(1, 1, 1, 0.35) 30%, rgba(1, 1, 1, 0.45) 70%, #010101 100%); }
.features-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 1100px) { .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }
.feature-card { height: 440px; }
.card-front, .card-back {
    border-radius: 4px;
    border: 1px solid var(--line-strong);
    padding: 1.6rem;
}
.card-front {
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    background: #0c0606;
    overflow: hidden;
}
.card-front .feature-icon {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    animation: none;
    z-index: 0;
}
.card-front .feature-image {
    border-radius: 0;
    box-shadow: none;
    opacity: 0.78;
    transform: scale(1.04);
    transition: transform 1.2s var(--ease-out), opacity 0.6s;
}
.feature-card:hover .feature-image { transform: scale(1.12); opacity: 0.9; }
.card-front::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(1, 1, 1, 0.05) 20%, rgba(12, 4, 4, 0.75) 62%, rgba(5, 1, 1, 0.97) 100%);
    z-index: 0;
}
.card-front > *:not(.feature-icon) { position: relative; z-index: 1; }
.card-front h3 { font-size: 1.28rem; margin-bottom: 0.4rem; letter-spacing: 0.08em; }
.card-front p { color: #d9cccc; font-size: 0.92rem; }
.feature-index {
    position: absolute !important;
    top: 1.1rem;
    left: 1.3rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    color: #fff;
    opacity: 0.75;
    padding: 4px 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
}
.card-back {
    background:
        radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(151, 28, 26, 0.45), transparent 60%),
        rgba(14, 6, 6, 0.96);
}
.card-back p { color: #ddd0d0; line-height: 1.75; font-size: 0.95rem; }

/* ---------------------------------------------------------------- About */
.about-section {
    padding: 8rem 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(151, 28, 26, 0.16), transparent 70%),
        linear-gradient(180deg, #050303, #0d0707 50%, #050303);
}
.about-container { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4.5rem; }
.image-container {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    border-radius: 2px;
    border: 1px solid var(--line-strong);
    box-shadow: 0 0 70px -18px rgba(151, 28, 26, 0.75);
    overflow: hidden;
}
.image-container .creator-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-image::before, .about-image::after {
    content: '';
    position: absolute;
    width: 46px;
    height: 46px;
    border: 0 solid var(--ember);
    z-index: 2;
    pointer-events: none;
}
.about-image::before { top: -12px; left: -12px; border-top-width: 2px; border-left-width: 2px; }
.about-image::after { bottom: -12px; right: -12px; border-bottom-width: 2px; border-right-width: 2px; }
.bio-text p { font-size: 1.06rem; line-height: 1.9; color: #d2c5c5; }
.bio-text p::first-letter {
    float: left;
    font-family: var(--font-primary);
    font-weight: 900;
    font-size: 3.4rem;
    line-height: 0.78;
    margin: 0.42rem 0.55rem 0 0;
    color: var(--ember);
    text-shadow: 0 0 22px rgba(232, 86, 80, 0.45);
}
.influence-tag { border-radius: 0; border-color: var(--line-strong); background: rgba(151, 28, 26, 0.08); transition: all 0.3s; }
.influence-tag:hover { background: rgba(151, 28, 26, 0.55); color: #fff; box-shadow: 0 0 18px rgba(151, 28, 26, 0.55); }
.creator-stats { gap: 0; margin-top: 2.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.creator-stats .stat-item { flex: 1; padding: 1.4rem 0.5rem; text-align: center; }
.creator-stats .stat-item + .stat-item { border-left: 1px solid var(--line); }
.stat-number { font-family: var(--font-primary); font-weight: 900; font-size: 2.6rem; color: #fff; text-shadow: 0 0 24px rgba(232, 86, 80, 0.55); }
.stat-label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.25em; color: var(--ember); }
@media (max-width: 860px) {
    .about-container { grid-template-columns: 1fr; gap: 3rem; }
    .about-image { max-width: 420px; margin: 0 auto; width: 100%; }
}

/* ---------------------------------------------------------------- Lyrics */
.lyrics-section { min-height: 0; padding: 8rem 0; }
.lyrics-container {
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: 1rem;
}
.lyric-item {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border-radius: 2px;
    border: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(20, 10, 10, 0.88), rgba(8, 4, 4, 0.92));
}
.lyric-item:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--glow); }
.lyric-header { padding: 0; border: 0; min-width: 0; }
.lyric-image { width: 64px; height: 64px; border-radius: 2px; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.6); }
.lyric-info { min-width: 0; }
.lyric-info h3 { font-size: 1.08rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-reference { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.lyric-actions { padding: 0; flex-shrink: 0; }
.btn-lyric-toggle {
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    padding: 0.6rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
}
.btn-lyric-toggle:hover { background: var(--blood); border-color: var(--blood); }
.modal-content { border-radius: 2px; border: 1px solid var(--line-strong); box-shadow: 0 40px 120px -20px rgba(151, 28, 26, 0.6); }

/* ---------------------------------------------------------------- Featured */
.featured-section { background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(151, 28, 26, 0.14), transparent 70%), #010101; padding: 7rem 0; }
.featured-grid { gap: 1.25rem; align-items: stretch; }
.featured-item {
    border-radius: 2px;
    border: 1px solid var(--line);
    background: #0a0505;
    min-height: 360px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s var(--ease-out);
}
.featured-item:hover { border-color: var(--line-strong); box-shadow: var(--glow); transform: translateY(-4px); }
.featured-badge span { border-radius: 0; font-family: var(--font-mono); letter-spacing: 0.2em; font-size: 0.66rem; }
.track-highlight, .video-highlight { height: 100%; }
.track-highlight .featured-image { height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.featured-item:hover .featured-image { transform: scale(1.06); }
.track-overlay { background: linear-gradient(180deg, transparent 0%, rgba(5, 1, 1, 0.65) 45%, rgba(5, 1, 1, 0.96) 100%); }
.featured-video-player { width: 100%; height: 100%; object-fit: cover; background: #000; }
.stats-highlight { height: 100%; display: flex; flex-direction: column; justify-content: center; }
.stats-highlight h3 { font-family: var(--font-mono); letter-spacing: 0.35em; font-size: 0.8rem; margin-top: 2.5rem; }
.btn-stats-refresh, .btn-play-video-track { border-radius: 0; }

/* ---------------------------------------------------------------- Testimonials */
.testimonials-grid { gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.testimonial-item {
    border-radius: 2px;
    border: 1px solid var(--line);
    background: linear-gradient(160deg, rgba(22, 10, 10, 0.92), rgba(6, 3, 3, 0.95));
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.testimonial-item::before {
    content: '\201D';
    position: absolute;
    right: 1.2rem;
    top: 0.4rem;
    font-family: Georgia, serif;
    font-size: 6rem;
    line-height: 1;
    color: rgba(151, 28, 26, 0.22);
    pointer-events: none;
}
.testimonial-item blockquote { font-size: 1.12rem; line-height: 1.7; color: #eadede; }
.testimonial-cta {
    grid-column: 1 / -1;
    flex-direction: row;
    padding: 2.4rem;
    background:
        radial-gradient(ellipse at 0% 50%, rgba(151, 28, 26, 0.35), transparent 60%),
        linear-gradient(135deg, #140808, #070303);
    border-color: var(--line-strong);
}
.testimonial-cta::before { content: none; }
.testimonial-cta .cta-content { display: flex; align-items: center; justify-content: space-between; gap: 2rem; width: 100%; flex-wrap: wrap; text-align: left; }
.testimonial-cta h3 { font-size: 1.5rem; letter-spacing: 0.08em; margin: 0; }
.testimonial-cta p { margin: 0.35rem 0 0; }

/* ---------------------------------------------------------------- Music player */
.music-section {
    padding: 7rem 0;
    background:
        radial-gradient(ellipse 50% 40% at 25% 40%, rgba(151, 28, 26, 0.2), transparent 70%),
        #010101;
}
.music-player {
    max-width: 1100px;
    border-radius: 2px;
    border: 1px solid var(--line-strong);
    background: linear-gradient(145deg, rgba(24, 10, 10, 0.95), rgba(6, 3, 3, 0.98));
    box-shadow: 0 40px 100px -40px rgba(151, 28, 26, 0.65);
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    grid-template-areas:
        "display playlist"
        "controls playlist"
        "progress playlist";
    column-gap: 2.6rem;
    padding: 2.4rem;
    align-items: start;
}
.player-display { grid-area: display; }
.player-controls { grid-area: controls; }
.progress-container { grid-area: progress; }
.playlist { grid-area: playlist; max-height: 560px; overflow-y: auto; margin-top: 0; align-self: stretch; padding-right: 4px; }
.track-image-container { width: 100%; max-width: 360px; margin: 0 auto 1.2rem; position: relative; }
.track-image-container::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent, rgba(232, 86, 80, 0.75), transparent 35%, rgba(151, 28, 26, 0.6), transparent 70%);
    filter: blur(16px);
    opacity: 0;
    transition: opacity 0.6s;
    animation: spinGlow 6s linear infinite;
    z-index: 0;
}
.music-player.is-playing .track-image-container::before { opacity: 0.9; }
@keyframes spinGlow { to { transform: rotate(360deg); } }
.track-image { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 2px; border: 1px solid var(--line-strong); }
.waveform-container { border-radius: 2px; background: rgba(0, 0, 0, 0.45); border: 1px solid var(--line); }
.track-info { text-align: center; }
.track-title { font-size: 1.5rem; }
.track-artist { font-family: var(--font-mono); letter-spacing: 0.35em; font-size: 0.72rem; color: #a99a9a; }
.play-btn { box-shadow: 0 0 0 6px rgba(151, 28, 26, 0.18), 0 12px 40px -6px rgba(151, 28, 26, 0.8); }
.music-player.is-playing .play-btn { animation: beat 1.1s ease-in-out infinite; }
@keyframes beat { 50% { box-shadow: 0 0 0 12px rgba(151, 28, 26, 0.08), 0 12px 50px -4px rgba(232, 86, 80, 0.9); } }
.progress-bar { height: 4px; border-radius: 0; background: rgba(255, 255, 255, 0.08); }
.progress-fill { background: linear-gradient(90deg, var(--blood), var(--ember)); box-shadow: 0 0 12px var(--ember); border-radius: 0; }
.playlist-item { border-radius: 0; border-left: 2px solid transparent; transition: background 0.25s, border-color 0.25s, padding-left 0.25s; }
.playlist-item:hover { background: rgba(151, 28, 26, 0.12); padding-left: 1.4rem; }
.playlist-item.active { border-left-color: var(--ember); background: linear-gradient(90deg, rgba(151, 28, 26, 0.3), transparent); }
.stream-everywhere { max-width: 1100px; margin-left: auto; margin-right: auto; border-radius: 2px; border-color: var(--line); background: #050202; }
.stream-link { border-radius: 0; }
@media (max-width: 900px) {
    .music-player {
        grid-template-columns: 1fr;
        grid-template-areas: "display" "controls" "progress" "playlist";
        padding: 1.4rem;
    }
    .playlist { max-height: none; margin-top: 1.5rem; }
}

/* ---------------------------------------------------------------- Videos */
.videos-section { padding: 7rem 0; }
.videos-hero-image { border-radius: 2px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21 / 8; position: relative; }
.videos-hero-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10, 3, 3, 0.85)); }
.videos-hero-image .hero-section-image { position: absolute; inset: 0; max-height: none; border: 0; border-radius: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transform: scale(1.04); }
.videos-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 460px));
    justify-content: center;
    gap: 1.5rem;
}
.video-item {
    margin: 0;
    border-radius: 2px;
    border: 1px solid var(--line);
    background: #080404;
    overflow: hidden;
    transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s var(--ease-out);
}
.video-item:hover { border-color: var(--line-strong); box-shadow: var(--glow); transform: translateY(-4px); }
.video-frame { position: relative; }
.video-item video { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #000; border-radius: 0; }
.video-index {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
}
.video-item figcaption { padding: 1.1rem 1.3rem 1.3rem; display: flex; flex-direction: column; gap: 0.35rem; text-align: left; }
.video-item-title { font-family: var(--font-primary); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.04em; color: #fff; padding: 0; text-align: left; }
.video-item-description { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ember); padding: 0; }

/* ---------------------------------------------------------------- Gallery */
.gallery-section { padding: 7rem 0; background: linear-gradient(180deg, #010101, #0b0606); }
.gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 240px;
    gap: 0.9rem;
}
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(4n + 4) { grid-column: span 2; }
.gallery-item, .gallery-item-wrapper { height: 100%; }
.gallery-item-wrapper { border-radius: 2px; border: 1px solid var(--line); width: 100%; padding: 0; overflow: hidden; display: block; position: relative; }
.gallery-img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter 0.6s; filter: saturate(0.9); }
.gallery-item-wrapper:hover .gallery-img, .gallery-item-wrapper:focus-visible .gallery-img { transform: scale(1.08); filter: saturate(1.15); }
.gallery-item-overlay {
    opacity: 1;
    background: linear-gradient(180deg, transparent 55%, rgba(5, 1, 1, 0.92));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    padding: 1.1rem 1.2rem;
}
.gallery-item-title { font-size: 0.95rem; letter-spacing: 0.08em; transform: translateY(6px); transition: transform 0.5s var(--ease-out); }
.gallery-item-wrapper:hover .gallery-item-title { transform: none; }
.gallery-item-wrapper::after {
    content: '+';
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    font-family: var(--font-mono);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(151, 28, 26, 0.7);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.4s, transform 0.4s var(--ease-out);
}
.gallery-item-wrapper:hover::after { opacity: 1; transform: none; }
@media (max-width: 900px) {
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
    .gallery-item:nth-child(4n + 4) { grid-column: span 2; }
}
.gallery-lightbox { background: rgba(2, 0, 0, 0.94); backdrop-filter: blur(10px); }

/* ---------------------------------------------------------------- Contact */
.contact-section { padding: 7rem 0; background: radial-gradient(ellipse 60% 60% at 80% 30%, rgba(151, 28, 26, 0.14), transparent 70%), #010101; }
.contact-form, .newsletter-signup {
    border-radius: 2px;
    border: 1px solid var(--line);
    background: linear-gradient(160deg, rgba(20, 9, 9, 0.9), rgba(6, 3, 3, 0.95));
    padding: 2.2rem;
}
.contact-form .form-group { display: flex; flex-direction: column-reverse; margin-bottom: 1.5rem; }
.contact-form .form-group label {
    position: static;
    background: none;
    padding: 0;
    margin-bottom: 0.55rem;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: #a99a9a;
    transform: none !important;
}
.form-group input, .form-group textarea, .newsletter-input-group input {
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 0;
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.form-group input:focus, .form-group textarea:focus, .newsletter-input-group input:focus {
    border-color: var(--ember);
    background: rgba(20, 5, 5, 0.75);
    box-shadow: 0 0 0 3px rgba(232, 86, 80, 0.15), 0 0 24px -6px rgba(232, 86, 80, 0.6);
}
.btn-submit { padding: 16px 32px; letter-spacing: 0.3em; font-size: 0.85rem; background: linear-gradient(135deg, #b3231f, var(--blood) 55%, #6d1312); }
.btn-newsletter { border-radius: 0; background: linear-gradient(135deg, #b3231f, var(--blood) 55%, #6d1312); letter-spacing: 0.22em; }
.social-links h3, .newsletter-signup h3 { letter-spacing: 0.3em; }
.social-grid .social-link { border-radius: 0; border-color: var(--line-strong); }
.social-grid .social-link:hover { background: var(--blood); box-shadow: 0 0 24px rgba(151, 28, 26, 0.7); }

/* ---------------------------------------------------------------- Footer */
.footer {
    position: relative;
    overflow: hidden;
    padding: 6rem 0 2.2rem;
    background: linear-gradient(180deg, #050202, #0c0505);
    border-top: 1px solid var(--line);
}
.footer-wordmark {
    position: absolute;
    left: 50%;
    bottom: -0.18em;
    transform: translateX(-50%);
    font-family: var(--font-primary);
    font-weight: 900;
    font-size: clamp(4rem, 17vw, 15rem);
    letter-spacing: 0.04em;
    line-height: 1;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1px rgba(232, 86, 80, 0.12);
    pointer-events: none;
    user-select: none;
}
.footer .container { position: relative; z-index: 1; }
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    padding-bottom: 3.2rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
}
.footer-brand .footer-logo { margin: 0 0 1.2rem; width: 64px; }
.footer-brand .footer-logo img { width: 64px; height: 64px; }
.footer-quote { font-size: 1.1rem; margin: 0 0 0.5rem; text-align: left; }
.footer-tagline { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.3em; color: #8d7f7f; text-transform: uppercase; }
.footer-heading { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.35em; color: var(--ember); margin: 0 0 1.1rem; text-transform: uppercase; font-weight: 600; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer-col a { color: #cfc2c2; text-decoration: none; font-size: 0.95rem; transition: color 0.25s, padding-left 0.25s; }
.footer-col a:hover { color: #fff; padding-left: 6px; }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding-top: 1.8rem;
}
.footer-bottom .footer-text, .footer-bottom .footer-creator { margin: 0; font-size: 0.78rem; }
.footer-legal-links { margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.footer-legal-links a { font-size: 0.8rem; }
@media (max-width: 760px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------------------------------------------------------------- Chronicles list */
.chronicles-section { padding: 0 0 6rem; background: #010101; }
.chronicles-hero {
    position: relative;
    padding: 10rem 0 4rem;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    margin-bottom: 3.5rem;
}
.chronicles-hero-bg {
    position: absolute;
    inset: 0;
    background: url('/public/images/the_anvil_of_creation.webp') center 35% / cover no-repeat;
    opacity: 0.35;
    transform: scale(1.05);
}
.chronicles-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 40%, rgba(1, 1, 1, 0.35), #010101 85%);
}
.chronicles-hero .container { position: relative; z-index: 1; }
.chronicles-title { font-size: clamp(2.4rem, 7vw, 5rem); }
.btn-back-home { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.3em; display: inline-block; margin-bottom: 2.2rem; }
.filter-buttons { justify-content: center; gap: 0.6rem; }
.filter-btn {
    text-decoration: none;
    border-radius: 0;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    padding: 0.7rem 1rem;
    border: 1px solid var(--line-strong);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    color: #d9cccc;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: none !important;
}
.filter-btn:hover { border-color: var(--ember); color: #fff; }
.filter-btn.active { background: var(--blood); border-color: var(--blood); color: #fff; }
.filter-count { font-size: 0.65rem; opacity: 0.7; }

.chronicles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}
@media (max-width: 1000px) { .chronicles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .chronicles-grid { grid-template-columns: 1fr; } }
.chronicle-card {
    border-radius: 2px;
    border: 1px solid var(--line);
    background: linear-gradient(170deg, #110808, #070404);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.45s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
    position: relative;
}
.chronicle-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--glow); }
.chronicle-card .chronicle-image { display: block; aspect-ratio: 16 / 9; height: auto; overflow: hidden; position: relative; background: #0a0404; }
.chronicle-card .chronicle-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.chronicle-card:hover .chronicle-image img { transform: scale(1.07); }
.chronicle-image-fallback { display: grid; place-items: center; height: 100%; background: radial-gradient(circle, rgba(151, 28, 26, 0.3), transparent 70%); }
.chronicle-image-fallback img { width: 90px !important; height: 90px !important; object-fit: contain !important; opacity: 0.7; }
.chronicle-card .chronicle-content { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; background: none; }
.chronicle-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 1.4rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #9d8f8f;
    margin-bottom: 1rem;
}

.chronicle-category {
    background: none !important;
    border: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    color: var(--ember) !important;
    text-decoration: none;
    font-size: inherit !important;
    letter-spacing: inherit;
}
.chronicle-card .chronicle-title { font-size: 1.22rem; line-height: 1.3; margin: 0 0 0.8rem; text-transform: none; }
.chronicle-card .chronicle-title a { color: #fff; text-decoration: none; background: linear-gradient(var(--ember), var(--ember)) 0 100% / 0 1px no-repeat; transition: background-size 0.5s var(--ease-out); }
.chronicle-card:hover .chronicle-title a { background-size: 100% 1px; }
.chronicle-card .chronicle-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.chronicle-card .chronicle-excerpt { color: #b8abab; font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.4rem; }
.chronicle-read-more { margin-top: auto; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.25em; color: var(--ember); text-decoration: none; }
.chronicle-read-more span { display: inline-block; transition: transform 0.35s var(--ease-out); }
.chronicle-card:hover .chronicle-read-more span { transform: translateX(6px); }
.chronicle-card .chronicle-category { position: relative; z-index: 2; }

.chronicle-card--lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.chronicle-card--lead .chronicle-image { aspect-ratio: auto; min-height: 400px; height: 100%; }
.chronicle-card--lead .chronicle-image img { position: absolute; inset: 0; }
.chronicle-card--lead .chronicle-content { padding: 2.6rem; justify-content: center; }
.chronicle-card--lead .chronicle-title { font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.15; }
.chronicle-card--lead .chronicle-excerpt { font-size: 1.05rem; }
.chronicle-card--lead::before {
    content: 'LATEST';
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    padding: 5px 10px;
    background: var(--blood);
    color: #fff;
}
@media (max-width: 860px) {
    .chronicle-card--lead { grid-template-columns: 1fr; }
    .chronicle-card--lead .chronicle-image { min-height: 0; aspect-ratio: 16 / 9; }
    .chronicle-card--lead .chronicle-content { padding: 1.6rem; }
}
.chronicles-pagination { display: flex; justify-content: center; align-items: center; gap: 2rem; margin-top: 3rem; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.25em; color: #9d8f8f; }
.chronicles-pagination a { color: var(--ember); text-decoration: none; }

/* ---------------------------------------------------------------- Article */
.single-chronicle-section { padding: 0 0 4rem; background: #010101; }
.chronicle-full { max-width: none; }
.article-hero {
    position: relative;
    padding: 10rem 0 3.5rem;
    overflow: hidden;
}
.article-hero-bg {
    position: absolute;
    inset: -40px;
    background-size: cover;
    background-position: center;
    filter: blur(28px) saturate(1.2);
    opacity: 0.42;
    transform: scale(1.1);
}
.article-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(1, 1, 1, 0.55), rgba(1, 1, 1, 0.75) 60%, #010101);
}
.article-hero-inner { position: relative; z-index: 1; max-width: 900px; text-align: center; }
.article-breadcrumb { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6rem; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.25em; text-transform: uppercase; margin-bottom: 1.8rem; }
.article-breadcrumb a { color: #b8abab; text-decoration: none; }
.article-breadcrumb a:last-child { color: var(--ember); }
.article-breadcrumb span { color: rgba(255, 255, 255, 0.25); }
.article-hero .chronicle-title {
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: 0.01em;
    margin: 0 0 1.4rem;
    background: linear-gradient(180deg, #fff 40%, #d4bcbc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.article-hero .chronicle-excerpt { font-size: 1.2rem; line-height: 1.6; color: #d9cccc; font-style: italic; max-width: 720px; margin: 0 auto 2rem; }
.article-hero .chronicle-meta { justify-content: center; margin: 0; }
.chronicle-hero-image { margin: 0 auto 3.5rem; max-width: 1100px; padding: 0 2rem; box-shadow: none; border-radius: 0; overflow: visible; }
.chronicle-hero-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 8;
    object-fit: cover;
    display: block;
    border: 1px solid var(--line);
    box-shadow: 0 50px 120px -50px rgba(151, 28, 26, 0.75);
}
.chronicle-body {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.13rem;
    line-height: 1.9;
    color: #e2d6d6;
}
.chronicle-body p { margin: 0 0 1.5em; }
.chronicle-body > p:first-of-type::first-letter {
    float: left;
    font-weight: 900;
    font-size: 4.4em;
    line-height: 0.8;
    margin: 0.08em 0.12em 0 0;
    color: var(--ember);
    text-shadow: 0 0 30px rgba(232, 86, 80, 0.5);
}
.chronicle-body h2, .chronicle-body h3, .chronicle-body h4 { color: #fff; line-height: 1.25; margin: 2.4em 0 0.8em; font-weight: 800; }
.chronicle-body h2 { font-size: 1.7rem; padding-left: 1rem; border-left: 3px solid var(--ember); }
.chronicle-body h3 { font-size: 1.3rem; color: #f3dada; }
.chronicle-body a { color: var(--ember); text-underline-offset: 3px; }
.chronicle-body a:hover { color: #fff; }
.chronicle-body strong, .chronicle-body b { color: #fff; }
.chronicle-body blockquote {
    margin: 2em 0;
    padding: 1.4rem 1.8rem;
    border-left: 3px solid var(--blood);
    background: linear-gradient(90deg, rgba(151, 28, 26, 0.16), transparent);
    font-size: 1.25rem;
    font-style: italic;
    color: #fff;
}
.chronicle-body blockquote p:last-child { margin-bottom: 0; }
.chronicle-body ul, .chronicle-body ol { margin: 0 0 1.5em 1.3em; padding: 0; }
.chronicle-body li { margin-bottom: 0.5em; }
.chronicle-body ul li::marker { color: var(--ember); }
.chronicle-body ol li::marker { color: var(--ember); font-family: var(--font-mono); }
.chronicle-body img { max-width: 100%; height: auto; display: block; margin: 2em auto; border: 1px solid var(--line); }
.chronicle-body figure { margin: 2em 0; }
.chronicle-body figcaption { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; color: #9d8f8f; text-align: center; margin-top: -1.2em; }
.chronicle-body hr { border: 0; height: 1px; margin: 3em auto; width: 40%; background: linear-gradient(90deg, transparent, var(--ember), transparent); }
.chronicle-body code { font-family: var(--font-mono); font-size: 0.88em; background: rgba(255, 255, 255, 0.06); padding: 0.1em 0.35em; }
.chronicle-body pre { overflow-x: auto; background: #0b0606; border: 1px solid var(--line); padding: 1.2rem; font-size: 0.9rem; }
.chronicle-body table { width: 100%; border-collapse: collapse; margin: 2em 0; font-size: 0.95rem; }
.chronicle-body th, .chronicle-body td { border-bottom: 1px solid var(--line); padding: 0.7rem; text-align: left; }

.chronicle-footer {
    max-width: 720px;
    margin: 3.5rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}
.chronicle-tag { border-radius: 0; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; background: rgba(151, 28, 26, 0.12); border: 1px solid var(--line); }
.chronicle-share { display: flex; align-items: center; gap: 0.6rem; }
.share-label { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.3em; color: #9d8f8f; margin-right: 0.4rem; }
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 40px;
    min-width: 40px;
    justify-content: center;
    padding: 0 0.8rem;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: #e2d6d6;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.2em;
    text-decoration: none;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.share-btn svg { width: 16px; height: 16px; }
.share-btn:hover { background: var(--blood); border-color: var(--blood); color: #fff; }
.share-copy.is-copied { background: #1d3b1d; border-color: #3c7a3c; }

.chronicle-prevnext { max-width: 720px; margin: 3rem auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.prevnext { padding: 1.3rem 1.4rem; border: 1px solid var(--line); text-decoration: none; display: flex; flex-direction: column; gap: 0.4rem; transition: border-color 0.3s, background 0.3s; }
.prevnext:hover { border-color: var(--line-strong); background: rgba(151, 28, 26, 0.08); }
.prevnext--next { text-align: right; grid-column: 2; }
.prevnext-label { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.3em; color: var(--ember); }
.prevnext-title { color: #fff; font-weight: 700; line-height: 1.35; }
@media (max-width: 600px) { .chronicle-prevnext { grid-template-columns: 1fr; } .prevnext--next { grid-column: auto; } }

.chronicle-related { margin-top: 5rem; padding: 4.5rem 0; border-top: 1px solid var(--line); background: linear-gradient(180deg, #070303, #010101); }
.related-title { text-align: center; font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 2.5rem; color: #fff; }
.chronicles-grid--related .chronicle-title { font-size: 1.05rem; }
.chronicle-navigation { text-align: center; margin-top: 3rem; }
.btn-chronicle-nav { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.25em; border-radius: 0; }

.not-found-section { padding: 12rem 0 8rem; text-align: center; }
.not-found-content h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 1rem; }

/* ---------------------------------------------------------------- Pointer glow on cards */
.featured-item::after, .testimonial-item::after, .video-item::after, .lyric-item::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(232, 86, 80, 0.12), transparent 60%);
}
.featured-item:hover::after, .testimonial-item:hover::after, .video-item:hover::after, .lyric-item:hover::after { opacity: 1; }
.video-item, .lyric-item { position: relative; }

/* ---------------------------------------------------------------- Cookie banner */
.cookie-consent { border-top-color: var(--line-strong); }
.cookie-btn { border-radius: 0 !important; font-family: var(--font-mono); letter-spacing: 0.15em; font-size: 0.75rem; }

/* ---------------------------------------------------------------- Legal pages */
.privacy-policy .policy-content section, .policy-section { border-radius: 2px !important; }

/* ---------------------------------------------------------------- Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .marquee-row, .hud-dot, .cue-line::after, .track-image-container::before, .music-player.is-playing .play-btn { animation: none !important; }
    .js-reveal [data-reveal] { opacity: 1; transform: none; }
    .chronicle-card, .featured-item, .video-item, .lyric-item, .feature-image, .gallery-img { transition: none !important; }
}
