:root {
    --bg-dark: #080808;
    --paper-white: #e8e8e8;
    --cognac-accent: #c4a484;
    --charcoal-grey: #1a1a1a;
    --serif-font: 'Cormorant Garamond', serif;
    --body-font: 'Lora', serif;
    --mono-font: 'IBM Plex Mono', monospace;
    --text-dim: #999;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Accessibility */
.skip-nav {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 9999;
    background: var(--cognac-accent);
    color: #000;
    padding: 1rem;
    font-family: var(--mono-font);
}

.skip-nav:focus {
    position: fixed;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--paper-white);
    font-family: var(--body-font);
    line-height: 1.8;
    overflow-x: hidden;
}

/* Scrollbar */
body::-webkit-scrollbar {
    width: 6px;
}

body::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

body::-webkit-scrollbar-thumb {
    background: var(--charcoal-grey);
}

/* --- URGENCY BANNER --- */
.transmission-banner {
    background: var(--cognac-accent);
    color: #000;
    text-align: center;
    padding: 0.6rem 1rem;
    font-family: var(--mono-font);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.prestige-wrapper {
    max-width: 850px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

/* --- NAVIGATION --- */
.site-nav {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--charcoal-grey);
    padding-bottom: 1.5rem;
}

.nav-link {
    color: var(--text-dim);
    text-decoration: none;
    font-family: var(--mono-font);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--cognac-accent);
}

/* --- HEADER --- */
.main-header {
    text-align: center;
    margin-bottom: 3rem;
}

.header-pre-title {
    font-family: var(--mono-font);
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: var(--cognac-accent);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.main-logo {
    font-family: var(--serif-font);
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.header-sub-title {
    font-family: var(--serif-font);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-dim);
    letter-spacing: 1px;
}

/* --- CTA LINE --- */
.cta-line {
    text-align: center;
    font-family: var(--mono-font);
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--cognac-accent);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

/* --- STAGE (PLAYER) --- */
.stage {
    margin-bottom: 2rem;
    background: var(--charcoal-grey);
    padding: 1px;
}

.featured-media {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.platform-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    background: #111;
    padding: 1rem;
    border-top: 1px solid var(--charcoal-grey);
}

.platform-link {
    color: var(--cognac-accent);
    text-decoration: none;
    font-family: var(--serif-font);
    font-style: italic;
    font-weight: 700;
    font-size: 1rem;
    transition: 0.3s;
    border: 1px solid var(--cognac-accent);
    padding: 0.5rem 1.5rem;
}

.platform-link.big {
    font-size: 1.2rem;
    padding: 0.8rem 2rem;
}

.platform-link:hover {
    color: #000;
    background: var(--cognac-accent);
}

/* --- SOCIAL PROOF --- */
.social-proof {
    text-align: center;
    font-family: var(--mono-font);
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--text-dim);
    margin-bottom: 6rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--charcoal-grey);
    text-transform: uppercase;
}

/* --- LORE ARTICLE --- */
.lore-article {
    text-align: left;
    margin-bottom: 4rem;
}

.article-meta {
    font-family: var(--mono-font);
    font-size: 0.6rem;
    color: var(--cognac-accent);
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
    background: rgba(196, 164, 132, 0.05);
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border: 1px solid rgba(196, 164, 132, 0.1);
}

.article-title {
    font-family: var(--serif-font);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--charcoal-grey);
    padding-bottom: 1.5rem;
    color: var(--paper-white);
}

.intro-paragraph {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: #fff;
    font-weight: 300;
}

.article-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin: 3rem 0;
    filter: grayscale(1) contrast(1.2);
    border: 1px solid var(--charcoal-grey);
}

h3 {
    font-family: var(--serif-font);
    font-size: 2rem;
    margin: 3rem 0 1.5rem 0;
    color: var(--cognac-accent);
}

p {
    margin-bottom: 2rem;
}

blockquote {
    font-family: var(--serif-font);
    font-size: 1.8rem;
    font-style: italic;
    border-left: 3px solid var(--cognac-accent);
    padding-left: 2rem;
    margin: 4rem 0;
    color: var(--cognac-accent);
}

/* --- MID-PAGE CTA --- */
.mid-cta {
    text-align: center;
    padding: 4rem 0;
    margin-bottom: 6rem;
    border-top: 1px solid var(--charcoal-grey);
    border-bottom: 1px solid var(--charcoal-grey);
}

.mid-cta-text {
    font-family: var(--mono-font);
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--text-dim);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.mid-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    color: #000;
    background: var(--cognac-accent);
    text-decoration: none;
    font-family: var(--mono-font);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 1rem 2.5rem;
    transition: 0.3s;
    text-transform: uppercase;
}

.cta-button:hover {
    background: var(--paper-white);
    color: #000;
}

/* --- RSS --- */
.rss-manual {
    text-align: center;
    margin-bottom: 6rem;
    border-top: 1px solid var(--charcoal-grey);
    padding-top: 4rem;
}

.section-heading {
    font-family: var(--mono-font);
    font-size: 0.8rem;
    letter-spacing: 3px;
    margin-bottom: 2rem;
}

.rss-box {
    display: inline-flex;
    background: #111;
    border: 1px solid var(--charcoal-grey);
    padding: 0.5rem 1rem;
    align-items: center;
    gap: 1rem;
}

.rss-url {
    font-family: var(--mono-font);
    font-size: 0.75rem;
    color: var(--text-dim);
}

.copy-btn {
    background: var(--cognac-accent);
    border: none;
    color: #000;
    font-family: var(--mono-font);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    cursor: pointer;
    transition: 0.3s;
}

.copy-btn:hover {
    background: var(--paper-white);
}

/* --- TERMINAL --- */
.terminal-module {
    background: #111;
    padding: 2rem;
    border: 1px solid var(--charcoal-grey);
    margin-bottom: 8rem;
    font-family: var(--mono-font);
    font-size: 0.85rem;
}

.terminal-input-bar {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
    color: var(--cognac-accent);
}

#terminalInput {
    background: transparent;
    border: none;
    color: var(--paper-white);
    font-family: var(--mono-font);
    outline: none;
    width: 100%;
}

/* --- FOOTER --- */
.main-footer {
    text-align: center;
    border-top: 1px solid var(--charcoal-grey);
    padding-top: 4rem;
    font-family: var(--mono-font);
    color: var(--text-dim);
}

.footer-contact {
    margin-bottom: 2rem;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.footer-contact a {
    color: var(--paper-white);
    text-decoration: none;
    border-bottom: 1px solid var(--cognac-accent);
}

.footer-legal {
    font-size: 0.6rem;
    letter-spacing: 1px;
}

/* ============================== */
/* BLOG PAGE STYLES               */
/* ============================== */

.blog-header {
    text-align: center;
    margin-bottom: 4rem;
}

.blog-header h1 {
    font-family: var(--serif-font);
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.blog-header p {
    font-family: var(--mono-font);
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.article-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.article-card {
    border-bottom: 1px solid var(--charcoal-grey);
    padding: 3rem 0;
}

.article-card:last-child {
    border-bottom: none;
}

.article-card-meta {
    font-family: var(--mono-font);
    font-size: 0.6rem;
    color: var(--text-dim);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.article-card h2 {
    font-family: var(--serif-font);
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--paper-white);
}

.article-card h2 a {
    color: var(--paper-white);
    text-decoration: none;
    transition: color 0.3s;
}

.article-card h2 a:hover {
    color: var(--cognac-accent);
}

.article-card-excerpt {
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.read-more {
    font-family: var(--mono-font);
    font-size: 0.7rem;
    color: var(--cognac-accent);
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.read-more:hover {
    color: var(--paper-white);
}

.blog-cta {
    text-align: center;
    padding: 5rem 0;
    border-top: 1px solid var(--charcoal-grey);
    margin-top: 2rem;
}

.blog-cta p {
    font-family: var(--mono-font);
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--text-dim);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .main-logo {
        font-size: 3rem;
    }

    .article-title {
        font-size: 2.2rem;
    }

    .platform-bar {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .platform-link {
        display: block;
        width: 100%;
        text-align: center;
        padding: 1rem;
    }

    .mid-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }

    .site-nav {
        gap: 1.5rem;
    }

    .rss-box {
        flex-direction: column;
    }
}

/* =========================================
   TRANSCRIPT TERMINAL STYLES
   ========================================= */
.transcript-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    font-family: 'Courier New', Courier, monospace;
    color: #d4d4d4;
    background-color: #0a0a0a;
    border-left: 1px solid #333;
    border-right: 1px solid #333;
    min-height: 100vh;
}

.log-entry {
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px dashed #333;
}

.log-header {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #333;
    background-color: #111;
}

.log-meta {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.log-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.dialogue-line {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.speaker {
    font-weight: bold;
    color: #888;
    margin-right: 0.5rem;
}

.speaker.vince {
    color: #a0c0ff;
}

.speaker.caller {
    color: #ffaa00;
}

.speaker.entity {
    color: #ff3333;
    text-shadow: 0 0 5px #ff0000;
}

.action {
    color: #444;
    font-style: italic;
}

.redacted {
    background-color: #000;
    color: #000;
    padding: 0 5px;
    cursor: help;
    transition: color 0.3s;
}

.redacted:hover {
    color: #333;
}

.signal-inteference {
    color: #fa0;
    font-size: 0.8rem;
    border: 1px solid #fa0;
    padding: 2px 5px;
    display: inline-block;
    margin: 1rem 0;
    opacity: 0.7;
}

.back-link {
    display: block;
    margin-bottom: 2rem;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
}

.back-link:hover {
    color: #fff;
}

/* === SEO COMPONENTS === */

/* Breadcrumbs */
.breadcrumb {
    font-family: var(--mono-font);
    font-size: 0.7rem;
    color: #888;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border-left: 2px solid var(--cognac-accent);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb a {
    color: var(--cognac-accent);
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid transparent;
}

.breadcrumb a:hover {
    color: var(--paper-white);
    border-bottom-color: var(--cognac-accent);
}

.breadcrumb .separator {
    color: #444;
    font-size: 0.8rem;
}

.breadcrumb span:last-child {
    color: var(--paper-white);
    opacity: 0.8;
}

/* AI Search / Snippet Bait */
.snippet-bait {
    background: rgba(20, 20, 20, 0.6);
    border-left: 3px solid var(--cognac-accent);
    padding: 1.5rem;
    margin: 2rem 0;
    font-family: var(--body-font);
    backdrop-filter: blur(5px);
}

.snippet-bait h3 {
    font-family: var(--mono-font);
    font-size: 0.85rem;
    color: var(--cognac-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.snippet-bait h3::before {
    content: "●";
    margin-right: 0.75rem;
    font-size: 0.6rem;
    color: var(--cognac-accent);
}

.snippet-bait ul {
    margin: 0;
    padding-left: 0;
    list-style-type: none;
}

.snippet-bait li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
    color: #e0e0e0;
    line-height: 1.6;
    font-size: 1.05rem;
}

.snippet-bait li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--cognac-accent);
    font-weight: bold;
    font-family: var(--mono-font);
}

.snippet-bait li:last-child {
    margin-bottom: 0;
}

/* Related Articles */
.related-articles {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.related-articles h3 {
    font-family: var(--mono-font);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 1.5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    justify-content: center;
    width: 100%;
}

.related-card {
    border: 1px solid #222;
    padding: 1.2rem;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.3s, background 0.3s;
    display: block;
}

.related-card:hover {
    border-color: var(--cognac-accent);
    background: rgba(196, 164, 132, 0.03);
}

.related-card .related-category {
    font-family: var(--mono-font);
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 0.5rem;
}

.related-card .related-title {
    font-family: var(--serif-font);
    font-size: 1.1rem;
    line-height: 1.3;
    color: var(--paper-white);
}

/* FAQ Section */
.faq-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.faq-section h3 {
    font-family: var(--mono-font);
    font-size: 1.1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--cognac-accent);
    margin-bottom: 2rem;
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.faq-item {
    border-bottom: 1px solid #222;
    padding: 1.2rem 0;
}

.faq-item h4 {
    font-family: var(--serif-font);
    font-size: 1.1rem;
    color: var(--paper-white);
    margin-bottom: 0.8rem;
    font-weight: 400;
}

.faq-item p {
    color: #bbb;
    line-height: 1.7;
}

/* Author Bio */
.author-bio {
    margin-top: 2rem;
    padding: 1.5rem;
    border: 1px solid #222;
    background: rgba(255, 255, 255, 0.015);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono-font);
    font-size: 1.2rem;
    color: var(--cognac-accent);
    flex-shrink: 0;
}

.author-info .author-name {
    font-family: var(--mono-font);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--paper-white);
    margin-bottom: 0.3rem;
}

.author-info .author-desc {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.5;
}

/* --- ARCHIVE SIGNUP (SIGNAL INTERCEPT) --- */
.archive-signup {
    background: #000;
    border: 1px solid var(--charcoal-grey);
    padding: 4rem 2rem;
    margin: 6rem auto;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.archive-signup::before {
    content: "ACCESS RESTRICTED // VOID SIGNAL";
    position: absolute;
    top: 15px;
    left: 15px;
    font-family: var(--mono-font);
    font-size: 0.55rem;
    color: rgba(196, 164, 132, 0.2);
    letter-spacing: 3px;
}

.signup-title {
    font-family: var(--mono-font);
    font-size: 1.4rem;
    color: var(--cognac-accent);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.signup-desc {
    font-family: var(--serif-font);
    font-style: italic;
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 3rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.signal-form-container {
    margin: 2rem auto;
    max-width: 500px;
    background: rgba(10, 10, 10, 0.8);
    padding: 2.5rem;
    border: 1px solid #222;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.signal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.signal-input {
    background: #000;
    border: 1px solid #333;
    color: var(--paper-white);
    padding: 1rem;
    font-family: var(--mono-font);
    font-size: 0.9rem;
    width: 100%;
    outline: none;
    transition: border-color 0.3s ease;
}

.signal-input:focus {
    border-color: var(--cognac-accent);
}

.signal-button {
    background: transparent;
    border: 1px solid var(--cognac-accent);
    color: var(--cognac-accent);
    padding: 1rem;
    font-family: var(--mono-font);
    font-size: 0.9rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.signal-button:hover {
    background: var(--cognac-accent);
    color: #000;
}

.signal-form-container::after {
    content: "FEED_STATUS: READY";
    position: absolute;
    bottom: -20px;
    right: 0;
    font-family: var(--mono-font);
    font-size: 0.5rem;
    color: #444;
}

.security-note {
    font-family: var(--mono-font);
    font-size: 0.55rem;
    color: #444;
    margin-top: 3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* --- RELATED TRANSMISSIONS (GOD-TIER GRID) --- */
.related-articles {
    margin-top: 8rem;
    border-top: 1px solid var(--charcoal-grey);
    padding-top: 4rem;
}

.related-articles h3 {
    font-family: var(--mono-font);
    font-size: 1.1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--cognac-accent);
    margin-bottom: 3rem;
    text-align: center;
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
    display: block;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    justify-content: center;
    width: 100%;
}

.related-card {
    background: #0f0f0f;
    border: 1px solid #1a1a1a;
    padding: 2.5rem 1.5rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.related-card:hover {
    background: #151515;
    border-color: var(--cognac-accent);
    transform: translateY(-5px);
}

.related-category {
    font-family: var(--mono-font);
    font-size: 0.55rem;
    color: var(--cognac-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.related-title {
    font-family: var(--serif-font);
    font-size: 1.4rem;
    color: var(--paper-white);
    line-height: 1.3;
    font-weight: 400;
}

.related-card:hover .related-title {
    color: var(--cognac-accent);
}

/* Responsive Grid Fix */
@media (max-width: 600px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}