@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Cinzel:wght@400;600&family=Rye&family=Cinzel+Decorative:wght@400;700&family=Crimson+Text:ital,wght@0,400;0,600;1,400&display=swap');

@font-face {
    font-family: 'ArthursWriting';
    src: url('assets/fonts/arthurs writing.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ChineseRocks';
    src: url('assets/fonts/chinese rocks rg.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: #070101;
    background-image:
        radial-gradient(ellipse at 15% 35%, rgba(140, 0, 0, 0.45) 0%, transparent 52%),
        radial-gradient(ellipse at 85% 65%, rgba(100, 0, 0, 0.35) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 5%,  rgba(120, 0, 0, 0.30) 0%, transparent 42%);
    background-attachment: fixed;
    color: #b89060;
    font-family: 'Crimson Text', Georgia, serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
    line-height: 1.8;
    min-height: 100vh;
}

a {
    color: #a0601a;
    text-decoration: none;
}

a:hover {
    color: #cc8010;
    text-decoration: underline;
}

/* ── NAVBAR ─────────────────────────────── */
.navbar {
    background: rgba(5, 1, 1, 0.96);
    padding: 0 32px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    font-family: 'Cinzel Decorative', serif;
    border-bottom: 1px solid #6b0000;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-brand {
    font-family: 'Cinzel Decorative', serif;
    font-size: 15px;
    color: #ffffff;
    letter-spacing: 4px;
    text-transform: uppercase;
    user-select: none;
    transition: color 0.15s;
}

.navbar-brand:hover { color: #000000; }

.nav-trigger {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
    padding: 4px 6px;
    line-height: 1;
    transition: color 0.15s;
}

.nav-trigger:hover { color: #000000; }

/* ── RDR2 PAUSE MENU OVERLAY ─────────────── */
.rdr-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    visibility: hidden;
    pointer-events: none;
}

.rdr-menu-overlay.is-open {
    visibility: visible;
    pointer-events: all;
}

/* Right side — grayscale dim */
.rdr-menu-dimmer {
    flex: 1;
    background: rgba(0, 0, 0, 0.80);
    backdrop-filter: grayscale(1) brightness(0.28);
    opacity: 0;
    transition: opacity 0.45s;
    cursor: pointer;
}

.rdr-menu-overlay.is-open .rdr-menu-dimmer {
    opacity: 1;
}

.rdr-menu-overlay.is-open.is-closing .rdr-menu-dimmer {
    opacity: 0;
    transition: opacity 0.42s ease-in;
}

/* Fractal-noise filter wrapper — sits as flex item */
.rdr-menu-wrap {
    flex-shrink: 0;
}

.rdr-menu-panel {
    width: 360px;
    height: 100vh;
    background: #0d0b0b;
    box-shadow: inset -18px 0 45px rgba(0,0,0,0.85), inset 0 0 80px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 224px 48px 64px 40px;
    position: relative;
    text-align: center;
    overflow: hidden;

    clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
    transition: clip-path 0.60s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ── Menu blood drips ─────────────────────────────────────── */
.menu-drip {
    position: absolute;
    top: 0;
    width: var(--md-w, 3px);
    background: linear-gradient(180deg, rgba(140,0,0,0.95), #c20000 40%, #e80000 70%, rgba(160,0,0,0.15));
    border-radius: 0 0 60% 60%;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top center;
    will-change: transform, opacity;
    contain: layout;
    animation: menu-drip-fall var(--md-dur, 5s) var(--md-delay, 0s) ease-in infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes menu-drip-fall {
    0%   { transform: scaleY(0);    opacity: 0;    }
    4%   { transform: scaleY(0.03); opacity: 0.92; }
    60%  { transform: scaleY(1);    opacity: 0.88; }
    88%  { transform: scaleY(1);    opacity: 0.55; }
    100% { transform: scaleY(1);    opacity: 0;    }
}

/* ── Menu blood splatter spots ────────────────────────────── */
.menu-splat-spot {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(170,0,0,0.72) 15%, rgba(100,0,0,0.38) 55%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

.rdr-menu-overlay.is-open .rdr-menu-panel {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

/* Drain-down closing animation */
.rdr-menu-overlay.is-open.is-closing .rdr-menu-panel {
    clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
    transition: clip-path 0.44s cubic-bezier(0.7, 0, 0.84, 0);
}

/* Antique image — top of the red panel */
.menu-antique {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 210px;
    object-fit: cover;
    object-position: center top;
    filter: sepia(50%) brightness(0.80) contrast(1.1);
    opacity: 0.92;
    pointer-events: none;
}

/* Menu links */
.rdr-menu-item {
    display: block;
    font-family: 'ArthursWriting', cursive;
    font-size: 52px;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    margin-bottom: 2px;
    -webkit-text-stroke: 0.4px rgba(255,255,255,0.6);
    line-height: 1.45;
    transition: color 0.18s, transform 0.18s, text-shadow 0.18s, letter-spacing 0.18s;
    text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.70);
    width: 100%;
    text-align: center;
}

.rdr-menu-item:hover {
    color: #ffe8a0;
    text-decoration: none;
    transform: translateX(6px) scale(1.06);
    letter-spacing: 5px;
    text-shadow: 0 0 18px rgba(255, 200, 80, 0.65), 1px 2px 8px rgba(0,0,0,0.70);
}

.rdr-menu-item.active {
    color: #ffe8a0;
}

/* Close button */
.rdr-menu-close {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.30);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 2px;
    font-family: 'ArthursWriting', cursive;
    font-size: 22px;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    letter-spacing: 2px;
    padding: 8px 20px;
    white-space: nowrap;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.rdr-menu-close:hover {
    color: #fff;
    background: rgba(0,0,0,0.55);
    border-color: rgba(255,255,255,0.75);
}

/* ── RDR2 CHAPTER HEADER ────────────────── */
.rdr-chapter-header {
    position: relative;
    width: 100%;
    height: 360px;
    overflow: hidden;
    display: block;
    background: #070101;
}

.rdr-chapter-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    z-index: 0;
    filter: sepia(85%) brightness(0.48) contrast(1.15);
}

.rdr-chapter-img--natural {
    filter: none;
}

/* feathered vignette on all edges */
.rdr-chapter-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(0,0,0,0.72) 100%),
        linear-gradient(to right,  #070101 0%, transparent 18%, transparent 82%, #070101 100%),
        linear-gradient(to bottom, rgba(5,1,1,0.4) 0%, transparent 20%, transparent 65%, #070101 100%);
    pointer-events: none;
}

.rdr-chapter-overlay--light {
    background:
        radial-gradient(ellipse at 50% 50%, transparent 35%, rgba(0,0,0,0.55) 100%),
        linear-gradient(to right,  rgba(5,1,1,0.75) 0%, transparent 20%, transparent 80%, rgba(5,1,1,0.75) 100%),
        linear-gradient(to bottom, rgba(5,1,1,0.2) 0%, transparent 25%, transparent 65%, rgba(7,1,1,0.92) 100%);
}

.rdr-chapter-edge { display: none; }

/* chapter label + title sit BELOW the image as a block */
.rdr-chapter-info {
    text-align: center;
    padding: 22px 0 28px;
    background: #070101;
}

.rdr-chapter-num {
    display: block;
    font-family: 'Cinzel', serif;
    font-style: italic;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 9px;
    color: rgba(215, 195, 145, 0.75);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.rdr-chapter-title {
    font-family: 'ArthursWriting', cursive;
    font-size: 92px;
    -webkit-text-stroke: 0.6px rgba(255,255,255,0.55);
    font-weight: 400;
    color: #f5f0e8;
    line-height: 1.0;
    text-shadow: 0 2px 28px rgba(0,0,0,1), 0 0 60px rgba(0,0,0,0.9);
}

/* ── HERO / SITE HEADER ─────────────────── */
.site-header {
    background: transparent;
    text-align: center;
    padding: 48px 20px 44px;
    position: relative;
}

.hero-gif {
    display: block;
    margin: 0 auto;
    max-width: 680px;
    width: 92%;
}

.hero-tagline {
    font-family: 'Crimson Text', serif;
    font-size: 12px;
    letter-spacing: 7px;
    color: rgba(160, 80, 40, 0.65);
    text-transform: uppercase;
    margin-top: 20px;
}

/* Scanline grain overlay */
.site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.22) 2px,
            rgba(0, 0, 0, 0.22) 4px
        );
    pointer-events: none;
    opacity: 0.45;
}

/* Subtle 3301 ghost */
.site-header::after {
    content: '3301';
    position: absolute;
    bottom: 8px;
    right: 24px;
    font-family: 'Cinzel Decorative', serif;
    font-size: 78px;
    color: rgba(180, 0, 0, 0.05);
    pointer-events: none;
    user-select: none;
    line-height: 1;
}

/* ── WANTED POSTER ──────────────────────── */
.wanted-poster {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 36px 64px 40px;
    background: linear-gradient(160deg, #100400 0%, #1c0600 45%, #0c0200 100%);
    border: 3px solid #7a3e10;
    text-align: center;
}

.wanted-poster::before {
    content: '';
    position: absolute;
    inset: 9px;
    border: 1px solid rgba(150, 65, 15, 0.40);
    pointer-events: none;
}

.poster-label {
    font-family: 'Cinzel Decorative', serif;
    font-size: 11px;
    letter-spacing: 14px;
    color: #b8904a;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.poster-status {
    font-family: 'Cinzel Decorative', serif;
    font-size: 10px;
    letter-spacing: 7px;
    color: #8b0000;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.poster-rule {
    height: 1px;
    background: linear-gradient(to right, transparent, #7a3e10 20%, #c8701a 50%, #7a3e10 80%, transparent);
    margin: 8px 0;
}

.poster-name {
    font-family: 'Cinzel Decorative', serif;
    font-size: 86px;
    color: #ffffff;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin: 6px 0;
    line-height: 1;
    animation: blood-pulse 3.5s ease-in-out infinite;
}

.poster-tagline {
    font-family: 'Crimson Text', serif;
    font-size: 11px;
    letter-spacing: 7px;
    color: rgba(190, 130, 60, 0.65);
    text-transform: uppercase;
    margin: 10px 0 6px;
}

.poster-reward {
    font-family: 'Cinzel Decorative', serif;
    font-size: 13px;
    letter-spacing: 5px;
    color: #9a6828;
    margin-top: 10px;
}

@keyframes blood-pulse {
    0%, 100% {
        text-shadow:
            0 0 8px  rgba(220, 0, 0, 0.80),
            0 0 24px rgba(140, 0, 0, 0.50),
            0 2px 12px rgba(0, 0, 0, 0.95);
    }
    50% {
        text-shadow:
            0 0 18px rgba(255, 0, 0, 1.00),
            0 0 50px rgba(200, 0, 0, 0.80),
            0 0 80px rgba(120, 0, 0, 0.40),
            0 2px 12px rgba(0, 0, 0, 0.95);
    }
}

/* ── CONTENT WRAPPER ────────────────────── */
.content {
    text-align: center;
    padding: 20px 24px 48px;
}

/* ── PAGE HEADER ────────────────────────── */
.page-header {
    font-family: 'Cinzel Decorative', serif;
    font-size: 11px;
    font-weight: 700;
    color: #cc0000;
    letter-spacing: 5px;
    text-align: center;
    margin: 32px 0 6px;
    text-transform: uppercase;
}

/* ── PROMO BANNER ───────────────────────── */
.promo-banner {
    display: inline-block;
    background: rgba(139, 0, 0, 0.08);
    color: #a0601a;
    font-size: 15px;
    padding: 10px 24px;
    border: 1px solid rgba(139, 0, 0, 0.35);
    text-decoration: none;
    width: auto;
    margin: 8px 0;
    font-family: 'Crimson Text', serif;
    letter-spacing: 0.05em;
}

.promo-banner:hover {
    background: rgba(139, 0, 0, 0.18);
    border-color: rgba(139, 0, 0, 0.6);
    color: #cc8010;
    text-decoration: none;
}

/* ── ALPHABET NAV ───────────────────────── */
.alpha-nav {
    font-family: 'Crimson Text', serif;
    font-size: 13px;
    color: #3d1a10;
    letter-spacing: 2px;
    margin: 10px 0;
    word-spacing: 4px;
}

.alpha-nav a { color: #5a2818; text-decoration: none; }
.alpha-nav a:hover { color: #cc0000; text-decoration: none; }

/* ── SEARCH ─────────────────────────────── */
.mp3-search { font-size: 14px; margin: 12px 0; color: #5a2818; }
.mp3-search input[type="text"] {
    background: rgba(6, 1, 1, 0.92);
    border: 1px solid #5a0000;
    color: #b89060;
    padding: 5px 10px;
    font-family: 'Crimson Text', serif;
    outline: none;
}
.mp3-search input[type="text"]:focus { border-color: #cc0000; }
.mp3-search input[type="submit"] {
    background: #8b0000;
    border: none;
    color: #c4a882;
    cursor: pointer;
    padding: 5px 14px;
    font-family: 'Cinzel Decorative', serif;
    font-size: 9px;
    letter-spacing: 1px;
    margin-left: 4px;
}
.mp3-search input[type="submit"]:hover { background: #aa0000; }

/* ── TERMS ──────────────────────────────── */
.terms {
    text-align: left;
    max-width: 780px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.9;
    color: #9c7850;
    font-family: 'Crimson Text', serif;
}

.terms ol { padding-left: 22px; }
.terms li { margin-bottom: 6px; }
.terms a { color: #a0601a; }
.terms strong { color: #c4a882; }

/* ── FOOTER ─────────────────────────────── */
.site-footer {
    text-align: center;
    margin-top: 48px;
    padding-bottom: 24px;
    color: #3d1a10;
    font-size: 10px;
    font-family: 'Cinzel Decorative', serif;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ── RDR LETTER DOCUMENT ────────────────── */
.rdr-letter {
    max-width: 780px;
    margin: 40px auto 0;
    padding: 48px 64px 52px;
    position: relative;
    text-align: left;
    overflow: visible;
}

/* torn aged background — filter only on this layer, text stays sharp */
.rdr-letter::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 6, 6, 0.96);
    filter: url(#rdr-torn);
    z-index: 0;
    pointer-events: none;
}

.rdr-letter > * {
    position: relative;
    z-index: 1;
}

/* small spaced label — "CHAPTER II" style */
.chapter-label {
    font-family: 'Cinzel', serif;
    font-size: 10px;
    letter-spacing: 10px;
    color: rgba(200, 175, 125, 0.60);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 2px;
}

/* large script title */
.rdr-letter-title {
    font-family: 'ArthursWriting', cursive;
    font-size: 110px;
    font-weight: 400;
    color: #ffffff;
    text-align: center;
    line-height: 1.1;
    margin: 0 0 32px;
    text-shadow: 0 2px 24px rgba(0,0,0,0.85);
}

.rdr-letter-rule {
    height: 1px;
    background: rgba(220, 210, 195, 0.22);
    margin: 0 0 32px;
}

.rdr-letter-rule--bottom {
    margin: 36px 0 18px;
}

.rdr-letter-footer {
    font-family: 'Crimson Text', serif;
    font-size: 13px;
    color: #4a2810;
    text-align: center;
    margin-top: 10px;
}

.rdr-letter-footer a { color: #6a3818; }

/* ── HOME LETTER ────────────────────────── */
.home-letter {
    margin-top: 32px;
}

.letter-salutation {
    font-family: 'ArthursWriting', cursive;
    font-size: 62px;
    color: #f5f0e8;
    margin: 24px 0 18px;
    line-height: 1.1;
    text-shadow: 0 2px 18px rgba(0,0,0,0.85);
    -webkit-text-stroke: 0.3px rgba(255,255,255,0.25);
}

.letter-body {
    font-family: 'Crimson Text', serif;
    font-size: 17px;
    line-height: 2;
    color: #b89060;
    margin: 0 0 18px;
    text-align: justify;
}

.letter-quote {
    font-family: 'ArthursWriting', cursive;
    font-size: 36px;
    color: rgba(184, 130, 60, 0.75);
    text-align: center;
    margin: 28px 0 4px;
    line-height: 1.3;
}

.letter-quote-attr {
    font-family: 'Cinzel', serif;
    font-size: 10px;
    letter-spacing: 5px;
    color: rgba(140, 90, 40, 0.55);
    text-align: center;
    text-transform: uppercase;
    margin: 0 0 20px;
}

.letter-sign {
    font-family: 'ArthursWriting', cursive;
    font-size: 48px;
    color: rgba(215, 190, 140, 0.80);
    text-align: right;
    margin: 24px 0 20px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.70);
}

/* ── POST LIST ──────────────────────────── */
.post-item {
    padding: 14px 0;
    border-bottom: 1px solid #1e0a04;
    display: flex;
    align-items: baseline;
    gap: 14px;
}

.post-item a {
    color: #ede0c4;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    flex: 1;
    font-family: 'Crimson Text', serif;
    transition: color 0.15s;
}

.post-item a:hover {
    color: #ffffff;
}

.post-date {
    color: #6b3820;
    font-size: 12px;
    white-space: nowrap;
    font-family: 'Cinzel Decorative', serif;
    letter-spacing: 1px;
    font-variant-numeric: tabular-nums;
}

/* ── POST ───────────────────────────────── */
.post {
    font-size: 18px;
    color: #ede0c4;
    line-height: 2.15;
    text-align: left;
    font-family: 'Crimson Text', serif;
}

.post p { margin: 22px 0; }

.post-meta-date {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 6px;
    color: rgba(184, 144, 96, 0.70);
    text-align: center;
    text-transform: uppercase;
    margin: -18px 0 36px;
}

/* ── POST HEADER BLOCK ──────────────────────── */
.post-header-img-wrap {
    position: relative;
    width: 100%;
    max-height: 320px;
    overflow: hidden;
    margin-bottom: 28px;
    border-radius: 2px;
}

.post-header-img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    object-position: center center;
    display: block;
    filter: sepia(60%) brightness(0.65) contrast(1.1);
}

.post-header-img-fade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, transparent 40%, rgba(10,6,6,0.98) 100%),
        linear-gradient(to right, rgba(10,6,6,0.5) 0%, transparent 20%, transparent 80%, rgba(10,6,6,0.5) 100%);
    pointer-events: none;
}

.post-header {
    position: relative;
    margin-bottom: 28px;
}

.post-header-title {
    font-family: 'ArthursWriting', cursive;
    font-size: 86px;
    font-weight: 400;
    color: #f5f0e8;
    line-height: 1.05;
    margin: 0 0 0;
    text-shadow: 0 2px 24px rgba(0,0,0,0.85);
    -webkit-text-stroke: 0.4px rgba(255,255,255,0.3);
}

.post-header-date {
    font-family: 'ArthursWriting', cursive;
    font-size: 28px;
    color: rgba(184, 144, 96, 0.70);
    text-align: right;
    margin: 0 0 16px;
}

.post-header-rule {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(184,144,96,0.30) 40%, rgba(184,144,96,0.30) 60%, transparent);
    margin-bottom: 24px;
}

/* HEADINGS */
.post h1 {
    font-family: 'ArthursWriting', cursive;
    font-size: 90px;
    font-weight: 400;
    color: #ede0c4;
    text-align: center;
    line-height: 1.1;
    margin: 0 0 28px;
    text-shadow: 0 2px 24px rgba(0,0,0,0.85);
}

.post h1::before {
    content: 'E F A U L T';
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 10px;
    color: rgba(200, 175, 125, 0.60);
    margin-bottom: 4px;
    text-shadow: none;
}

.post h2 {
    font-family: 'ArthursWriting', serif;
    font-size: 42px;
    font-weight: 400;
    color: #ede0c4;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding-bottom: 4px;
    margin: 32px 0 12px;
    letter-spacing: 1px;
}

.post h3 {
    font-family: 'ArthursWriting', serif;
    font-size: 32px;
    font-weight: 400;
    color: #ede0c4;
    margin: 22px 0 8px;
}

.post h4, .post h5, .post h6 {
    font-size: 14px;
    font-weight: 600;
    color: rgba(237, 224, 196, 0.75);
    margin: 14px 0 6px;
}

/* LISTS */
.post ul, .post ol { padding-left: 22px; margin: 8px 0; }
.post ul { list-style-type: disc; }
.post li { margin: 4px 0; }

/* INLINE CODE */
.post code {
    background: rgba(5, 0, 0, 0.92);
    padding: 1px 6px;
    border: 1px solid #2a0e08;
    color: #cc0000;
    font-family: 'Courier New', monospace;
    font-size: 12px;
}

/* CODE BLOCK */
.post pre {
    background: rgba(4, 0, 0, 0.94);
    border: 1px solid #2a0e08;
    border-left: 3px solid #8b0000;
    margin: 14px 0;
    padding: 14px 16px;
    overflow-x: auto;
    position: relative;
}

.post pre code {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    font-size: 13px;
}

/* HR */
.post hr { border: none; border-top: 1px solid #2a0e08; margin: 20px 0; }

/* BLOCKQUOTE */
.post blockquote {
    border-left: 3px solid #8b0000;
    margin: 12px 0;
    padding: 4px 14px;
    color: #5a3020;
    font-style: italic;
    background: rgba(4, 0, 0, 0.90);
}

/* BACK LINK */
.post-back {
    font-family: 'Crimson Text', serif;
    font-size: 14px;
    margin-bottom: 20px;
    border-bottom: 1px solid #1a0808;
    padding-bottom: 12px;
}

.post-back a { color: rgba(255,255,255,0.35); text-decoration: none; }
.post-back a:hover { color: rgba(255,255,255,0.70); text-decoration: none; }


/* SWORD BANNER */
.sword-banner { display: none; }

/* ── HIDDEN ELEMENTS ────────────────────── */
.cryptic-bar {
    font-family: monospace;
    font-size: 10px;
    color: rgba(180, 0, 0, 0.1);
    letter-spacing: 7px;
    margin-top: 20px;
    text-align: center;
    user-select: none;
    position: relative;
    z-index: 1;
}

.whale-ghost {
    position: absolute;
    bottom: 10px;
    left: 18px;
    font-family: monospace;
    font-size: 9px;
    line-height: 1.25;
    white-space: pre;
    color: rgba(139, 0, 0, 0.06);
    pointer-events: none;
    user-select: none;
}

.mystery-seal {
    font-family: 'Cinzel Decorative', serif;
    font-size: 9px;
    color: #1a0808;
    letter-spacing: 3px;
    text-align: center;
    margin-top: 6px;
    transition: color 0.5s;
    cursor: default;
    user-select: none;
    text-transform: uppercase;
}

.mystery-seal:hover { color: #5a2818; }

/* EOF */
.eof { color: #2a0e08; margin-top: 24px; font-size: 11px; font-family: monospace; }

/* ── BLOOD DRIPS ────────────────────────── */
.blood-drips-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
    z-index: 998;
    contain: layout paint style;
}

.blood-drip {
    position: absolute;
    top: 0;
    background: linear-gradient(to bottom, #6b0000 0%, #bb0000 55%, #8b0000 100%);
    border-radius: 0 0 50% 50%;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top center;
    will-change: transform, opacity;
    contain: layout;
    animation: drip-grow linear infinite;
}

@keyframes drip-grow {
    0%   { transform: scaleY(0);    opacity: 0;    }
    6%   { transform: scaleY(0.04); opacity: 0.85; }
    65%  { transform: scaleY(1);    opacity: 0.85; }
    82%  { transform: scaleY(1);    opacity: 0.5;  }
    100% { transform: scaleY(0);    opacity: 0;    }
}

/* ── BLOOD SPLATTER ─────────────────────── */
.blood-splat {
    position: fixed;
    transform: translate(-50%, -50%) scale(0) rotate(var(--rot, 0deg));
    border-radius: 50% 38% 62% 28% / 48% 62% 38% 52%;
    background: radial-gradient(ellipse at 38% 38%, #dd0000 0%, #8b0000 55%, #4a0000 85%, transparent 100%);
    pointer-events: none;
    z-index: 9999;
    animation: splat-burst 0.9s ease-out forwards;
}

@keyframes splat-burst {
    0%   { transform: translate(-50%, -50%) scale(0)   rotate(var(--rot, 0deg)); opacity: 1;   }
    25%  { transform: translate(-50%, -50%) scale(1.1) rotate(var(--rot, 0deg)); opacity: 0.95; }
    100% { transform: translate(-50%, -50%) scale(2.2) rotate(var(--rot, 0deg)); opacity: 0;   }
}

/* ── RDR2 DOCUMENT — ABOUT PAGE ─────────── */

.rdr-doc {
    max-width: 620px;
    margin: 36px auto 48px;
    background: #0c0906;
    padding: 0 52px;
    font-family: 'Crimson Text', Georgia, serif;
}

.rdoc-rule {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #6b3a18 20%, #6b3a18 80%, transparent);
    margin: 0;
}

.rdoc-header {
    text-align: center;
    padding: 30px 0 26px;
}

.rdoc-label {
    font-family: 'Cinzel Decorative', serif;
    font-size: 9px;
    color: #4a2a0e;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.rdoc-name {
    font-family: 'Cinzel Decorative', serif;
    font-size: 28px;
    font-weight: 700;
    color: #ede0c4;
    letter-spacing: 4px;
    font-variant: small-caps;
    margin-bottom: 10px;
}

.rdoc-subtitle {
    font-family: 'Crimson Text', serif;
    font-size: 13px;
    color: #7a5030;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-style: italic;
}

.rdoc-body {
    padding: 24px 0 10px;
    text-align: left;
}

.rdoc-body p {
    font-size: 16px;
    line-height: 1.9;
    color: #b89060;
    margin: 0 0 20px;
    text-align: justify;
}

.rdoc-row {
    display: flex;
    align-items: baseline;
    margin-bottom: 9px;
    font-size: 15px;
}

.rdoc-key {
    font-family: 'Cinzel Decorative', serif;
    font-size: 9px;
    font-weight: 700;
    color: #8b5a2b;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
    min-width: 72px;
}

.rdoc-dots {
    flex: 1;
    border-bottom: 1px dotted #2a1806;
    margin: 0 10px 3px;
}

.rdoc-val {
    color: #c4a882;
    font-size: 15px;
    font-family: 'Crimson Text', serif;
}

.rdoc-divider {
    text-align: center;
    color: #4a2a10;
    font-size: 14px;
    letter-spacing: 5px;
    margin: 20px 0;
    font-family: 'Crimson Text', serif;
}

.rdoc-section {
    margin-bottom: 18px;
    text-align: left;
}

.rdoc-section-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 9px;
    font-weight: 700;
    color: #8b5a2b;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.rdoc-inline {
    font-family: 'Crimson Text', serif;
    font-size: 15px;
    color: #9c7850;
    line-height: 1.7;
}

.rdoc-closing {
    text-align: center;
    padding: 20px 0 28px;
    font-family: 'Cinzel Decorative', serif;
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.rdoc-closing a {
    color: #7a5030;
    text-decoration: none;
}

.rdoc-closing a:hover {
    color: #c4a060;
    text-decoration: none;
}

/* ── SADIE PORTRAIT — ABOUT PAGE ────────── */
.sadie-figure {
    max-width: 620px;
    margin: 32px auto 0;
    padding: 0;
    position: relative;
    display: block;
    border: 1px solid #3a1e08;
    border-bottom: none;
    overflow: hidden;
}

.sadie-portrait {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center 20%;
    filter: sepia(90%) contrast(1.25) brightness(0.42) hue-rotate(-8deg);
    margin: 0;
}

/* Bottom fade — melts the portrait into the document below */
.sadie-vignette {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.10) 0%,
        transparent          30%,
        rgba(0, 0, 0, 0.30) 70%,
        rgba(12, 9, 6, 1.00) 100%
    );
    pointer-events: none;
}

/* BASE */
img { max-width: 100%; height: auto; }

/* MOBILE */
/* ── MOBILE PERFORMANCE ─────────────────── */
@media (max-width: 768px) {
    body {
        background-image: none;
        background-attachment: scroll;
    }

    .rdr-menu-dimmer {
        backdrop-filter: none;
        background: rgba(0, 0, 0, 0.88);
    }

    .rdr-letter::before {
        filter: none;
    }

    .blood-splat {
        display: none;
    }

    .rdr-chapter-img {
        will-change: auto;
    }

    .rdr-menu-panel {
        will-change: clip-path;
    }
}

@media (max-width: 600px) {
    .content { padding: 16px 14px 32px; }
    .site-header { padding: 40px 16px 38px; }
    .site-banner { max-width: 240px; }
    .site-title-text { font-size: 46px; }
    .promo-banner { font-size: 14px; width: 100%; padding: 8px 12px; }
    .terms { padding: 0 4px; }
    .news-container { padding: 12px; }
    .sadie-figure { margin: 16px auto 0; }
    .sadie-portrait { height: 200px; }
    .rdr-doc { padding: 0 18px; }
    .rdoc-name { font-size: 20px; letter-spacing: 2px; }
    .rdoc-body p { text-align: left; }
    .post pre { font-size: 11px; }
    .navbar { padding: 0 12px; gap: 2px; }
    .navbar a { padding: 6px 8px; font-size: 9px; }
    .site-title-text { font-size: 44px; letter-spacing: 2px; }
    .rdr-menu-panel { width: 85vw; padding: 220px 32px 80px; height: 100vh; justify-content: flex-start; }
    .rdr-menu-item { font-size: 36px; }
    .rdr-menu-close {
        left: 50%;
        transform: translateX(-50%);
        bottom: 72px;
        font-size: 20px;
        padding: 12px 36px;
        border: 1px solid rgba(139, 0, 0, 0.60);
        background: rgba(20, 0, 0, 0.55);
        color: rgba(240, 220, 190, 0.90);
        letter-spacing: 3px;
        box-shadow: 0 0 18px rgba(100, 0, 0, 0.30), inset 0 0 12px rgba(0,0,0,0.40);
        border-radius: 1px;
    }
    .rdr-letter { padding: 32px 22px 48px; }
    .post-header-title { font-size: 54px; }
    .letter-salutation { font-size: 42px; }
    .letter-sign { font-size: 34px; }
    .letter-quote { font-size: 26px; }

    /* Banner — pull title up to overlap the image bottom */
    .rdr-chapter-header {
        height: 240px;
    }
    .rdr-chapter-info {
        margin-top: -80px;
        padding: 0 0 20px;
        background: transparent;
        position: relative;
        z-index: 2;
    }
    .rdr-chapter-title {
        font-size: 62px;
        text-shadow: 0 2px 28px rgba(0,0,0,1), 0 0 60px rgba(0,0,0,1);
    }
    .rdr-chapter-overlay {
        background:
            radial-gradient(ellipse at 50% 50%, transparent 20%, rgba(0,0,0,0.80) 100%),
            linear-gradient(to right, #070101 0%, transparent 18%, transparent 82%, #070101 100%),
            linear-gradient(to bottom, rgba(5,1,1,0.3) 0%, transparent 25%, transparent 35%, #070101 100%);
    }
}
